{"version":3,"names":["window","define","_exports","Object","defineProperty","value","default","name","initialize","data","en","rendering_error","insert_mermaid_sample","lang","cursor","I18n","translations","key"],"sourceRoot":"theme-19/","sources":["discourse/pre-initializers/theme-19-translations.js"],"sourcesContent":["if ('define' in window) {\ndefine(\"discourse/theme-19/discourse/pre-initializers/theme-19-translations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    name: \"theme-19-translations\",\n    initialize() {\n      /* Translation data for theme 19 (en)*/\n      const data = {\n        \"en\": {\n          \"rendering_error\": \"\\u003cb\\u003eError\\u003c/b\\u003e\\u003cp\\u003ePlease ensure your mermaid code is running on \\u003ca href='https://mermaid.live/'\\u003emermaid.live\\u003c/a\\u003e and indented with 4 spaces, eg: \\u003cpre\\u003e\\u003ccode\\u003e    flowchart TB\\n    A --\\u003e B\\u003c/code\\u003e\\u003c/pre\\u003e\\u003c/p\\u003e\",\n          \"insert_mermaid_sample\": \"Mermaid chart\"\n        }\n      };\n      for (let lang in data) {\n        let cursor = I18n.translations;\n        for (let key of [lang, \"js\", \"theme_translations\"]) {\n          cursor = cursor[key] = cursor[key] || {};\n        }\n        cursor[19] = data[lang];\n      }\n    }\n  };\n});\n}\n"],"mappings":"AAAI,WAAYA,QAChBC,OAAO,sEAAuE,CAAC,YAAY,SAAUC,GACnG;AAEAC,OAAOC,eAAeF,EAAU,aAAc,CAC5CG,OAAO,IAETH,EAASI,aAAU;AACJJ,EAASI,QAAU,CAChCC,KAAM,wBACN,UAAAC,GAEE,MAAMC,EAAO,CACXC,GAAM,CACJC,gBAAmB,6MACnBC,sBAAyB;AAG7B,IAAK,IAAIC,KAAQJ,EAAM,CACrB,IAAIK,EAASC,KAAKC;AAClB,IAAK,IAAIC,IAAO,CAACJ,EAAM,KAAM,sBAC3BC,EAASA,EAAOG,GAAOH,EAAOG,IAAQ,CAAC;AAEzCH,EAAO,IAAML,EAAKI,EACpB,CACF,EAEJ"}