{"version":3,"names":["window","define","_exports","Object","defineProperty","value","default","name","initialize","data","de","show_cards","show_table","en","lang","cursor","I18n","translations","key"],"sourceRoot":"theme-5/","sources":["discourse/pre-initializers/theme-5-translations.js"],"sourcesContent":["if ('define' in window) {\ndefine(\"discourse/theme-5/discourse/pre-initializers/theme-5-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-5-translations\",\n    initialize() {\n      /* Translation data for theme 5 (de)*/\n      const data = {\n        \"de\": {\n          \"show_cards\": \"Als Karten anzeigen\",\n          \"show_table\": \"Als Tabelle anzeigen\"\n        },\n        \"en\": {\n          \"show_cards\": \"Show as cards\",\n          \"show_table\": \"Show as table\"\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[5] = data[lang];\n      }\n    }\n  };\n});\n}\n"],"mappings":"AAAI,WAAYA,QAChBC,OAAO,oEAAqE,CAAC,YAAY,SAAUC,GACjG;AAEAC,OAAOC,eAAeF,EAAU,aAAc,CAC5CG,OAAO,IAETH,EAASI,aAAU;AACJJ,EAASI,QAAU,CAChCC,KAAM,uBACN,UAAAC,GAEE,MAAMC,EAAO,CACXC,GAAM,CACJC,WAAc,sBACdC,WAAc,wBAEhBC,GAAM,CACJF,WAAc,gBACdC,WAAc;AAGlB,IAAK,IAAIE,KAAQL,EAAM,CACrB,IAAIM,EAASC,KAAKC;AAClB,IAAK,IAAIC,IAAO,CAACJ,EAAM,KAAM,sBAC3BC,EAASA,EAAOG,GAAOH,EAAOG,IAAQ,CAAC;AAEzCH,EAAO,GAAKN,EAAKK,EACnB,CACF,EAEJ"}