"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.init=u;var a=t(require("i18next")),b=t(require("i18next-http-backend")),c=t(require("i18next-browser-languagedetector")),d=require("react-i18next"),e=t(require("../nls/cs.json")),f=t(require("../nls/de.json")),g=t(require("../nls/en.json")),h=t(require("../nls/es.json")),i=t(require("../nls/fr.json")),j=t(require("../nls/it.json")),k=t(require("../nls/ja.json")),l=t(require("../nls/ko.json")),m=t(require("../nls/nl.json")),n=t(require("../nls/pl.json")),o=t(require("../nls/pt-br.json")),p=t(require("../nls/ru.json")),q=t(require("../nls/tr.json")),r=t(require("../nls/zh-cn.json")),s=t(require("../nls/zh-tw.json"));function t(a){return a&&a.__esModule?a:{default:a}}function u(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{explorerDir:"/"},u=new c["default"],v={order:["navigator"]};if(t.locale){var w=require("./i18n-locale-option.js");u.addDetector(w["default"]),v={order:["localeOption","navigator"],locale:t.locale}}var x={cs:{common:e["default"]},de:{common:f["default"]},en:{common:g["default"]},es:{common:h["default"]},fr:{common:i["default"]},it:{common:j["default"]},ja:{common:k["default"]},ko:{common:l["default"]},nl:{common:m["default"]},pl:{common:n["default"]},"pt-br":{common:o["default"]},ru:{common:p["default"]},tr:{common:q["default"]},"zh-cn":{common:r["default"]},"zh-tw":{common:s["default"]}},y=a["default"].createInstance();return y.use(b["default"]).use(u).use(d.initReactI18next).init({resources:x,detection:v,fallbackLng:"en",wait:!0,lowerCaseLng:!0,load:"all",ns:["common"],defaultNS:"common",interpolation:{escapeValue:!1,formatSeparator:",",format:function format(a,b){return"uppercase"===b?a.toUpperCase():a}},react:{useSuspense:!1}}),y}