text: !function(){"use strict";var e="undefined"==typeof global?self:global;if("function"!=typeof e.require){var t={},n={},r={},i={}.hasOwnProperty,o=/^\.\.?(\/|$)/,a=function(e,t){for(var n,r=[],i=(o.test(t)?e+"/"+t:t).split("/"),a=0,s=i.length;a<s;a++)n=i[a],".."===n?r.pop():"."!==n&&""!==n&&r.push(n);return r.join("/")},s=function(e){return e.split("/").slice(0,-1).join("/")},u=function(t){return function(n){var r=a(s(t),n);return e.require(r,t)}},l=function(e,t){var r=v&&v.createHot(e),i={id:e,exports:{},hot:r};return n[e]=i,t(i.exports,u(e),i),i.exports},c=function(e){var t=r[e];return t&&e!==t?c(t):e},f=function(e,t){return c(a(s(e),t))},p=function(e,r){null==r&&(r="/");var o=c(e);if(i.call(n,o))return n[o].exports;if(i.call(t,o))return l(o,t[o]);throw new Error("Cannot find module '"+e+"' from '"+r+"'")};p.alias=function(e,t){r[t]=e};var h=/\.[^.\/]+$/,d=/\/index(\.[^\/]+)?$/,g=function(e){if(h.test(e)){var t=e.replace(h,"");i.call(r,t)&&r[t].replace(h,"")!==t+"/index"||(r[t]=e)}if(d.test(e)){var n=e.replace(d,"");i.call(r,n)||(r[n]=e)}};p.register=p.define=function(e,r){if(e&&"object"==typeof e)for(var o in e)i.call(e,o)&&p.register(o,e[o]);else t[e]=r,delete n[e],g(e)},p.list=function(){var e=[];for(var n in t)i.call(t,n)&&e.push(n);return e};var v=e._hmr&&new e._hmr(f,p,t,n);p._cache=n,p.hmr=v&&v.wrap,p.brunch=!0,e.require=p}}(),function(){var e,t="undefined"==typeof window?this:window,n=function(e,t,n){var r={},i=function(t,n){var o;try{return o=e(n+"/node_modules/"+t)}catch(a){if(a.toString().indexOf("Cannot find module")===-1)throw a;if(n.indexOf("node_modules")!==-1){var s=n.split("/"),u=s.lastIndexOf("node_modules"),l=s.slice(0,u).join("/");return i(t,l)}}return r};return function(o){if(o in t&&(o=t[o]),o){if("."!==o[0]&&n){var a=i(o,n);if(a!==r)return a}return e(o)}}};require.register("@babel/runtime/helpers/arrayLikeToArray.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}r.exports=e}()}),require.register("@babel/runtime/helpers/arrayWithHoles.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){if(Array.isArray(e))return e}r.exports=e}()}),require.register("@babel/runtime/helpers/arrayWithoutHoles.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){if(Array.isArray(e))return n(e)}var n=t("./arrayLikeToArray");r.exports=e}()}),require.register("@babel/runtime/helpers/assertThisInitialized.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}r.exports=e}()}),require.register("@babel/runtime/helpers/classCallCheck.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}r.exports=e}()}),require.register("@babel/runtime/helpers/createClass.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function t(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}r.exports=t}()}),require.register("@babel/runtime/helpers/defineProperty.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}r.exports=e}()}),require.register("@babel/runtime/helpers/getPrototypeOf.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(t){return r.exports=e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},e(t)}r.exports=e}()}),require.register("@babel/runtime/helpers/inherits.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}var n=t("./setPrototypeOf");r.exports=e}()}),require.register("@babel/runtime/helpers/iterableToArray.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}r.exports=e}()}),require.register("@babel/runtime/helpers/iterableToArrayLimit.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==s["return"]||s["return"]()}finally{if(i)throw o}}return n}}r.exports=e}()}),require.register("@babel/runtime/helpers/nonIterableRest.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.exports=e}()}),require.register("@babel/runtime/helpers/nonIterableSpread.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}r.exports=e}()}),require.register("@babel/runtime/helpers/objectSpread.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?Object(arguments[t]):{},i=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),i.forEach(function(t){n(e,t,r[t])})}return e}var n=t("./defineProperty");r.exports=e}()}),require.register("@babel/runtime/helpers/possibleConstructorReturn.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?i(e):t}var n=t("../helpers/typeof"),i=t("./assertThisInitialized");r.exports=e}()}),require.register("@babel/runtime/helpers/setPrototypeOf.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(t,n){return r.exports=e=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e(t,n)}r.exports=e}()}),require.register("@babel/runtime/helpers/slicedToArray.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){return n(e)||i(e,t)||o(e,t)||a()}var n=t("./arrayWithHoles"),i=t("./iterableToArrayLimit"),o=t("./unsupportedIterableToArray"),a=t("./nonIterableRest");r.exports=e}()}),require.register("@babel/runtime/helpers/toArray.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){return n(e)||i(e)||o(e)||a()}var n=t("./arrayWithHoles"),i=t("./iterableToArray"),o=t("./unsupportedIterableToArray"),a=t("./nonIterableRest");r.exports=e}()}),require.register("@babel/runtime/helpers/toConsumableArray.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e){return n(e)||i(e)||o(e)||a()}var n=t("./arrayWithoutHoles"),i=t("./iterableToArray"),o=t("./unsupportedIterableToArray"),a=t("./nonIterableSpread");r.exports=e}()}),require.register("@babel/runtime/helpers/typeof.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(t){"@babel/helpers - typeof";return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?r.exports=e=function(e){return typeof e}:r.exports=e=function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e(t)}r.exports=e}()}),require.register("@babel/runtime/helpers/unsupportedIterableToArray.js",function(e,t,r){t=n(t,{},"@babel/runtime"),function(){function e(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}}var n=t("./arrayLikeToArray");r.exports=e}()}),require.register("countup.js/dist/countUp.min.js",function(e,t,r){t=n(t,{},"countup.js"),function(){"use strict";var t=this&&this.__assign||function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function e(e,n,r){var i=this;this.target=e,this.endVal=n,this.options=r,this.version="2.0.3",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:""},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.count=function(e){i.startTime||(i.startTime=e);var t=e-i.startTime;i.remaining=i.duration-t,i.useEasing?i.countDown?i.frameVal=i.startVal-i.easingFn(t,0,i.startVal-i.endVal,i.duration):i.frameVal=i.easingFn(t,i.startVal,i.endVal-i.startVal,i.duration):i.countDown?i.frameVal=i.startVal-(i.startVal-i.endVal)*(t/i.duration):i.frameVal=i.startVal+(i.endVal-i.startVal)*(t/i.duration),i.countDown?i.frameVal=i.frameVal<i.endVal?i.endVal:i.frameVal:i.frameVal=i.frameVal>i.endVal?i.endVal:i.frameVal,i.frameVal=Math.round(i.frameVal*i.decimalMult)/i.decimalMult,i.printValue(i.frameVal),t<i.duration?i.rAF=requestAnimationFrame(i.count):null!==i.finalEndVal?i.update(i.finalEndVal):i.callback&&i.callback()},this.formatNumber=function(e){var t,n,r,o,a,s=e<0?"-":"";if(t=Math.abs(e).toFixed(i.options.decimalPlaces),r=(n=(t+="").split("."))[0],o=1<n.length?i.options.decimal+n[1]:"",i.options.useGrouping){a="";for(var u=0,l=r.length;u<l;++u)0!==u&&u%3==0&&(a=i.options.separator+a),a=r[l-u-1]+a;r=a}return i.options.numerals&&i.options.numerals.length&&(r=r.replace(/[0-9]/g,function(e){return i.options.numerals[+e]}),o=o.replace(/[0-9]/g,function(e){return i.options.numerals[+e]})),s+i.options.prefix+r+o+i.options.suffix},this.easeOutExpo=function(e,t,n,r){return n*(1-Math.pow(2,-10*e/r))*1024/1023+t},this.options=t({},this.defaults,r),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(n),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.decimalMult=Math.pow(10,this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el="string"==typeof e?document.getElementById(e):e,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined"}return e.prototype.determineDirectionAndSmartEasing=function(){var e=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>e;var t=e-this.startVal;if(Math.abs(t)>this.options.smartEasingThreshold){this.finalEndVal=e;var n=this.countDown?1:-1;this.endVal=e+n*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=e,this.finalEndVal=null;this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(e){this.error||(this.callback=e,0<this.duration?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(e){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(e),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal||this.resetDuration(),this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(e){var t=this.formattingFn(e);"INPUT"===this.el.tagName?this.el.value=t:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=t:this.el.innerHTML=t},e.prototype.ensureNumber=function(e){return"number"==typeof e&&!isNaN(e)},e.prototype.validateValue=function(e){var t=Number(e);return this.ensureNumber(t)?t:(this.error="[CountUp] invalid start or end value: "+e,null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}();e.CountUp=n}()}),require.register("domurl/url.min.js",function(r,i,o){i=n(i,{},"domurl"),function(){!function(n){"use strict";function r(){return P?c=c||"file://"+(e.platform.match(d)?"/":"")+q("fs").realpathSync("."):"about:srcdoc"===document.location.href?self.parent.document.location.href:document.location.href}function o(e,t,n){var i,o,a;t=t||r(),P?i=q("url").parse(t):(i=document.createElement("a")).href=t;var c,d,x=(d={path:!0,query:!0,hash:!0},(c=t)&&f.test(c)&&(d.protocol=!0,d.host=!0,p.test(c)&&(d.port=!0),h.test(c)&&(d.user=!0,d.pass=!0)),d);for(o in a=t.match(h)||[],A)x[o]?e[o]=i[A[o]]||"":e[o]="";if(e.protocol=e.protocol.replace(g,""),e.query=e.query.replace(v,""),e.hash=s(e.hash.replace(m,"")),e.user=s(a[1]||""),e.pass=s(a[2]||""),e.port=R[e.protocol]==e.port||0==e.port?"":e.port,!x.protocol&&L.test(t.charAt(0))&&(e.path=t.split("?")[0].split("#")[0]),!x.protocol&&n){var k=new l(r().match(y)[0]),j=k.path.split("/"),S=e.path.split("/"),O=["protocol","user","pass","host","port"],C=O.length;for(j.pop(),o=0;o<C;o++)e[O[o]]=k[O[o]];for(;".."===S[0];)j.pop(),S.shift();e.path=("/"!==t.charAt(0)?j.join("/"):"")+"/"+S.join("/")}e.path=e.path.replace(b,"/"),E&&(e.path=e.path.replace(w,"/")),e.paths(e.paths()),e.query=new u(e.query)}function a(e){return encodeURIComponent(e).replace(x,"%27")}function s(e){return(e=(e=(e=e.replace(O," ")).replace(k,function(e,t,n,r){var i=parseInt(t,16)-224,o=parseInt(n,16)-128;if(0==i&&o<32)return e;var a=(i<<12)+(o<<6)+(parseInt(r,16)-128);return 65535<a?e:String.fromCharCode(a)})).replace(j,function(e,t,n){var r=parseInt(t,16)-192;if(r<2)return e;var i=parseInt(n,16)-128;return String.fromCharCode((r<<6)+i)})).replace(S,function(e,t){return String.fromCharCode(parseInt(t,16))})}function u(e){for(var t=e.split("&"),n=0,r=t.length;n<r;n++){var i=t[n].split("="),o=decodeURIComponent(i[0].replace(O," "));if(o){var a=void 0!==i[1]?s(i[1]):null;void 0===this[o]?this[o]=a:(this[o]instanceof Array||(this[o]=[this[o]]),this[o].push(a))}}}function l(e,t){o(this,e,!t)}var c,f=/^[a-z]+:/,p=/[-a-z0-9]+(\.[-a-z0-9])*:\d+/i,h=/\/\/(.*?)(?::(.*?))?@/,d=/^win/i,g=/:$/,v=/^\?/,m=/^#/,y=/(.*\/)/,b=/^\/{2,}/,w=/(^\/?)/,x=/'/g,k=/%([ef][0-9a-f])%([89ab][0-9a-f])%([89ab][0-9a-f])/gi,j=/%([cd][0-9a-f])%([89ab][0-9a-f])/gi,S=/%([0-7][0-9a-f])/gi,O=/\+/g,C=/^\w:$/,L=/[^/#?]/,P="undefined"==typeof window&&"undefined"!=typeof t&&"function"==typeof i,E=!P&&n.navigator&&n.navigator.userAgent&&~n.navigator.userAgent.indexOf("MSIE"),q=P?n.require:null,A={protocol:"protocol",host:"hostname",port:"port",path:"pathname",query:"search",hash:"hash"},R={ftp:21,gopher:70,http:80,https:443,ws:80,wss:443};u.prototype.toString=function(){var e,t,n="",r=a;for(e in this){var i=this[e];if(!(i instanceof Function||void 0===i))if(i instanceof Array){var o=i.length;if(!o){n+=(n?"&":"")+r(e)+"=";continue}for(t=0;t<o;t++){var s=i[t];void 0!==s&&(n+=n?"&":"",n+=r(e)+(null===s?"":"="+r(s)))}}else n+=n?"&":"",n+=r(e)+(null===i?"":"="+r(i))}return n},l.prototype.clearQuery=function(){for(var e in this.query)this.query[e]instanceof Function||delete this.query[e];return this},l.prototype.queryLength=function(){var e=0;for(var t in this.query)this.query[t]instanceof Function||e++;return e},l.prototype.isEmptyQuery=function(){return 0===this.queryLength()},l.prototype.paths=function(e){var t,n="",r=0;if(e&&e.length&&e+""!==e){for(this.isAbsolute()&&(n="/"),t=e.length;r<t;r++)e[r]=!r&&C.test(e[r])?e[r]:a(e[r]);this.path=n+e.join("/")}for(r=0,t=(e=("/"===this.path.charAt(0)?this.path.slice(1):this.path).split("/")).length;r<t;r++)e[r]=s(e[r]);return e},l.prototype.encode=a,l.prototype.decode=s,l.prototype.isAbsolute=function(){return this.protocol||"/"===this.path.charAt(0)},l.prototype.toString=function(){return(this.protocol&&this.protocol+"://")+(this.user&&a(this.user)+(this.pass&&":"+a(this.pass))+"@")+(this.host&&this.host)+(this.port&&":"+this.port)+(this.path&&this.path)+(this.query.toString()&&"?"+this.query)+(this.hash&&"#"+a(this.hash))},n[n.exports?"exports":"Url"]=l}("undefined"!=typeof o&&o.exports?o:window)}()}),require.register("i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js",function(e,t,r){t=n(t,{},"i18next-browser-languagedetector"),function(){"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}function n(e){return l.call(c.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e}function i(){return{order:["querystring","cookie","localStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],checkWhitelist:!0,checkForSimilarInWhitelist:!1}}var o,a=e(t("@babel/runtime/helpers/classCallCheck")),s=e(t("@babel/runtime/helpers/createClass")),u=[],l=u.forEach,c=u.slice,f={create:function(e,t,n,r){var i,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/"};if(n){var a=new Date;a.setTime(a.getTime()+60*n*1e3),i="; expires="+a.toUTCString()}else i="";r=r?"domain="+r+";":"",o=Object.keys(o).reduce(function(e,t){return e+";"+t.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})+"="+o[t]},""),document.cookie=e+"="+encodeURIComponent(t)+i+";"+r+o},read:function(e){for(var t=e+"=",n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},remove:function(e){this.create(e,"",-1)}},p={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=f.read(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&f.create(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},h={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window)for(var n=window.location.search.substring(1),r=n.split("&"),i=0;i<r.length;i++){var o=r[i].indexOf("=");if(o>0){var a=r[i].substring(0,o);a===e.lookupQuerystring&&(t=r[i].substring(o+1))}}return t}};try{o="undefined"!==window&&null!==window.localStorage;var d="i18next.translate.boo";window.localStorage.setItem(d,"foo"),window.localStorage.removeItem(d)}catch(g){o=!1}var v={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&o){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&o&&window.localStorage.setItem(t.lookupLocalStorage,e)}},m={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},y={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},b={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}return t}},w={name:"subdomain",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.href.match(/(?:http[s]*\:\/\/)*(.*?)\.(?=[^\/]*\..{2,5})/gi);n instanceof Array&&(t="number"==typeof e.lookupFromSubdomainIndex?n[e.lookupFromSubdomainIndex].replace("http://","").replace("https://","").replace(".",""):n[0].replace("http://","").replace("https://","").replace(".",""))}return t}},x=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a(this,e),this.type="languageDetector",this.detectors={},this.init(t,n)}return s(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=n(t,this.options||{},i()),this.options.checkForSimilarInWhitelist&&(this.options.checkWhitelist=!0),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(p),this.addDetector(h),this.addDetector(v),this.addDetector(m),this.addDetector(y),this.addDetector(b),this.addDetector(w)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];e.forEach(function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}});var r;if(n.forEach(function(e){if(!r){var n=t.services.languageUtils.formatLanguageCode(e);t.options.checkWhitelist&&!t.services.languageUtils.isWhitelisted(n)||(r=n),!r&&t.options.checkForSimilarInWhitelist&&(r=t.getSimilarInWhitelist(n))}}),!r){var i=this.i18nOptions.fallbackLng;"string"==typeof i&&(i=[i]),i||(i=[]),r="[object Array]"===Object.prototype.toString.apply(i)?i[0]:i[0]||i["default"]&&i["default"][0]}return r}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)}))}},{key:"getSimilarInWhitelist",value:function(e){var t=this;if(this.i18nOptions.whitelist){if(e.includes("-")){var n=e.split("-")[0],r=this.services.languageUtils.formatLanguageCode(n);if(this.services.languageUtils.isWhitelisted(r))return r;e=r}var i=this.i18nOptions.whitelist.find(function(n){var r=t.services.languageUtils.formatLanguageCode(n);if(r.startsWith(e))return r});return i?i:void 0}}}]),e}();x.type="languageDetector",r.exports=x}()}),require.register("i18next-http-backend/cjs/getFetch.js",function(e,r,i){r=n(r,{},"i18next-http-backend"),function(){var n;if("function"==typeof fetch&&("undefined"!=typeof t&&t.fetch?n=t.fetch:"undefined"!=typeof window&&window.fetch&&(n=window.fetch)),"undefined"!=typeof r&&("undefined"==typeof window||"undefined"==typeof window.document)){var o=n||r("node-fetch");o["default"]&&(o=o["default"]),e["default"]=o,i.exports=e["default"]}}()}),require.register("i18next-http-backend/cjs/index.js",function(e,t,r){t=n(t,{},"i18next-http-backend"),function(){"use strict";function n(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var u=t("./utils.js"),l=n(t("./request.js")),c=function(){return{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",allowMultiLoading:!1,parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,n){return s({},t,n||"")},request:l["default"],reloadInterval:"undefined"==typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}},f=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};i(this,e),this.services=t,this.options=n,this.allOptions=r,this.type="backend",this.init(t,n,r)}return a(e,[{key:"init",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=(0,u.defaults)(n,this.options||{},c()),this.allOptions=r,this.options.reloadInterval&&setInterval(function(){return t.reload()},this.options.reloadInterval)}},{key:"readMulti",value:function(e,t,n){var r=this.options.loadPath;"function"==typeof this.options.loadPath&&(r=this.options.loadPath(e,t));var i=this.services.interpolator.interpolate(r,{lng:e.join("+"),ns:t.join("+")});this.loadUrl(i,n,e,t)}},{key:"read",value:function(e,t,n){var r=this.options.loadPath;"function"==typeof this.options.loadPath&&(r=this.options.loadPath([e],[t]));var i=this.services.interpolator.interpolate(r,{lng:e,ns:t});this.loadUrl(i,n,e,t)}},{key:"loadUrl",value:function(e,t,n,r){var i=this;this.options.request(this.options,e,void 0,function(o,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+e,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+e,!1);if(!a&&o&&o.message&&o.message.indexOf("Failed to fetch")>-1)return t("failed loading "+e,!0);if(o)return t(o,!1);var s,u;try{s="string"==typeof a.data?i.options.parse(a.data,n,r):a.data}catch(l){u="failed parsing "+e+" to json"}return u?t(u,!1):void t(null,s)})}},{key:"create",value:function(e,t,n,r){var i=this;if(this.options.addPath){"string"==typeof e&&(e=[e]);var o=this.options.parsePayload(t,n,r);e.forEach(function(e){var n=i.services.interpolator.interpolate(i.options.addPath,{lng:e,ns:t});i.options.request(i.options,n,o,function(e,t){})})}}},{key:"reload",value:function(){var e=this,t=this.services,n=t.backendConnector,r=t.languageUtils,i=t.logger,o=n.language;if(!o||"cimode"!==o.toLowerCase()){var a=[],s=function(e){var t=r.toResolveHierarchy(e);t.forEach(function(e){a.indexOf(e)<0&&a.push(e)})};s(o),this.allOptions.preload&&this.allOptions.preload.forEach(function(e){return s(e)}),a.forEach(function(t){e.allOptions.ns.forEach(function(e){n.read(t,e,"read",null,null,function(r,o){r&&i.warn("loading namespace ".concat(e," for language ").concat(t," failed"),r),!r&&o&&i.log("loaded namespace ".concat(e," for language ").concat(t),o),n.loaded("".concat(t,"|").concat(e),r,o)})})})}}}]),e}();f.type="backend";var p=f;e["default"]=p,r.exports=e["default"]}()}),require.register("i18next-http-backend/cjs/request.js",function(e,r,i){r=n(r,{},"i18next-http-backend"),function(){"use strict";function n(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return n=function(){return e},e}function o(e){if(e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{"default":e};var t=n();if(t&&t.has(e))return t.get(e);var r={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if(Object.prototype.hasOwnProperty.call(e,o)){var s=i?Object.getOwnPropertyDescriptor(e,o):null;s&&(s.get||s.set)?Object.defineProperty(r,o,s):r[o]=e[o]}return r["default"]=e,t&&t.set(e,r),r}function a(e){"@babel/helpers - typeof";return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var s,u=r("./utils.js"),l=o(r("./getFetch.js"));"function"==typeof fetch&&("undefined"!=typeof t&&t.fetch?s=t.fetch:"undefined"!=typeof window&&window.fetch&&(s=window.fetch));var c;"function"==typeof XMLHttpRequest&&("undefined"!=typeof t&&t.XMLHttpRequest?c=t.XMLHttpRequest:"undefined"!=typeof window&&window.XMLHttpRequest&&(c=window.XMLHttpRequest));var f;"function"==typeof ActiveXObject&&("undefined"!=typeof t&&t.ActiveXObject?f=t.ActiveXObject:"undefined"!=typeof window&&window.ActiveXObject&&(f=window.ActiveXObject)),s||!l||c||f||(s=l["default"]||l),"function"!=typeof s&&(s=void 0);var p=function(e,t){if(t&&"object"===a(t)){var n="";for(var r in t)n+="&"+encodeURIComponent(r)+"="+encodeURIComponent(t[r]);if(!n)return e;e=e+(e.indexOf("?")!==-1?"&":"?")+n.slice(1)}return e},h=function(e,t,n,r){e.queryStringParams&&(t=p(t,e.queryStringParams));var i=(0,u.defaults)({},"function"==typeof e.customHeaders?e.customHeaders():e.customHeaders);n&&(i["Content-Type"]="application/json"),s(t,(0,u.defaults)({method:n?"POST":"GET",body:n?e.stringify(n):void 0,headers:i},"function"==typeof e.requestOptions?e.requestOptions(n):e.requestOptions)).then(function(e){return e.ok?void e.text().then(function(t){r(null,{status:e.status,data:t})})["catch"](r):r(e.statusText||"Error",{status:e.status})})["catch"](r)},d=function(e,t,n,r){n&&"object"===a(n)&&(n=p("",n).slice(1)),e.queryStringParams&&(t=p(t,e.queryStringParams));try{var i;i=c?new c:new f("MSXML2.XMLHTTP.3.0"),i.open(n?"POST":"GET",t,1),e.crossDomain||i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.withCredentials=!!e.withCredentials,n&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.overrideMimeType&&i.overrideMimeType("application/json");var o=e.customHeaders;if(o="function"==typeof o?o():o)for(var s in o)i.setRequestHeader(s,o[s]);i.onreadystatechange=function(){i.readyState>3&&r(i.status>=400?i.statusText:null,{status:i.status,data:i.responseText})},i.send(n)}catch(u){console&&console.log(u)}},g=function(e,t,n,r){return"function"==typeof n&&(r=n,n=void 0),r=r||function(){},s?h(e,t,n,r):"function"==typeof XMLHttpRequest||"function"==typeof ActiveXObject?d(e,t,n,r):void 0},v=g;e["default"]=v,i.exports=e["default"]}()}),require.register("i18next-http-backend/cjs/utils.js",function(e,t,r){t=n(t,{},"i18next-http-backend"),function(){"use strict";function t(e){return r.call(i.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e}Object.defineProperty(e,"__esModule",{value:!0}),e.defaults=t;var n=[],r=n.forEach,i=n.slice}()}),require.register("i18next-localstorage-cache/dist/commonjs/index.js",function(e,t,r){t=n(t,{},"i18next-localstorage-cache"),function(){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(){return{enabled:!1,prefix:"i18next_res_",expirationTime:6048e5,versions:{}}}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=t("./utils"),s=n(a),u={setItem:function(e,t){if(window.localStorage)try{window.localStorage.setItem(e,t)}catch(n){}},getItem:function(e,t){if(window.localStorage)try{return window.localStorage.getItem(e,t)}catch(n){}}},l=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r(this,e),this.init(t,n),this.type="cache",this.debouncedStore=s.debounce(this.store,1e4)}return o(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.services=e,this.options=s.defaults(t,this.options||{},i());
  }},{key:"load",value:function(e,t){var n=this,r={},i=(new Date).getTime();if(!window.localStorage||!e.length)return t(null,null);var o=e.length;e.forEach(function(e){var a=u.getItem(n.options.prefix+e);a&&(a=JSON.parse(a),a.i18nStamp&&a.i18nStamp+n.options.expirationTime>i&&n.options.versions[e]===a.i18nVersion&&(delete a.i18nVersion,r[e]=a)),o-=1,0===o&&t(null,r)})}},{key:"store",value:function t(e){var t=e;if(window.localStorage)for(var n in t)t[n].i18nStamp=(new Date).getTime(),this.options.versions[n]&&(t[n].i18nVersion=this.options.versions[n]),u.setItem(this.options.prefix+n,JSON.stringify(t[n]))}},{key:"save",value:function(e){this.debouncedStore(e)}}]),e}();l.type="cache",e["default"]=l}()}),require.register("i18next-localstorage-cache/dist/commonjs/utils.js",function(e,t,r){t=n(t,{},"i18next-localstorage-cache"),function(){"use strict";function t(e){return o.call(a.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e}function n(e){return o.call(a.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e}function r(e,t,n){var r;return function(){var i=this,o=arguments,a=function(){r=null,n||e.apply(i,o)},s=n&&!r;clearTimeout(r),r=setTimeout(a,t),s&&e.apply(i,o)}}Object.defineProperty(e,"__esModule",{value:!0}),e.defaults=t,e.extend=n,e.debounce=r;var i=[],o=i.forEach,a=i.slice}()}),require.register("i18next-localstorage-cache/index.js",function(e,t,r){t=n(t,{},"i18next-localstorage-cache"),function(){r.exports=t("./dist/commonjs/index.js")["default"]}()}),require.register("i18next/dist/cjs/i18next.js",function(e,t,r){t=n(t,{},"i18next"),function(){"use strict";function e(e){return e&&"object"==typeof e&&"default"in e?e["default"]:e}function n(){var e,t,n=new Promise(function(n,r){e=n,t=r});return n.resolve=e,n.reject=t,n}function i(e){return null==e?"":""+e}function o(e,t,n){e.forEach(function(e){t[e]&&(n[e]=t[e])})}function a(e,t,n){function r(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function i(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(i())return{};var a=r(o.shift());!e[a]&&n&&(e[a]=new n),e=e[a]}return i()?{}:{obj:e,k:r(o.shift())}}function s(e,t,n){var r=a(e,t,Object),i=r.obj,o=r.k;i[o]=n}function u(e,t,n,r){var i=a(e,t,Object),o=i.obj,s=i.k;o[s]=o[s]||[],r&&(o[s]=o[s].concat(n)),r||o[s].push(n)}function l(e,t){var n=a(e,t),r=n.obj,i=n.k;if(r)return r[i]}function c(e,t,n){var r=l(e,n);return void 0!==r?r:l(t,n)}function f(e,t,n){for(var r in t)r in e?"string"==typeof e[r]||e[r]instanceof String||"string"==typeof t[r]||t[r]instanceof String?n&&(e[r]=t[r]):f(e[r],t[r],n):e[r]=t[r];return e}function p(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}function h(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return N[e]}):e}function d(e){return e.charAt(0).toUpperCase()+e.slice(1)}function g(){var e={};return H.forEach(function(t){t.lngs.forEach(function(n){e[n]={numbers:t.nr,plurals:W[t.fc]}})}),e}function v(e,t){for(var n=e.indexOf(t);n!==-1;)e.splice(n,1),n=e.indexOf(t)}function m(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,whitelist:!1,nonExplicitWhitelist:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!0,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){var t={};if("object"===w(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===w(e[2])||"object"===w(e[3])){var n=e[3]||e[2];Object.keys(n).forEach(function(e){t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,n,r){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3}}}function y(e){return"string"==typeof e.ns&&(e.ns=[e.ns]),"string"==typeof e.fallbackLng&&(e.fallbackLng=[e.fallbackLng]),"string"==typeof e.fallbackNS&&(e.fallbackNS=[e.fallbackNS]),e.whitelist&&e.whitelist.indexOf("cimode")<0&&(e.whitelist=e.whitelist.concat(["cimode"])),e}function b(){}var w=e(t("@babel/runtime/helpers/typeof")),x=e(t("@babel/runtime/helpers/objectSpread")),k=e(t("@babel/runtime/helpers/classCallCheck")),j=e(t("@babel/runtime/helpers/createClass")),S=e(t("@babel/runtime/helpers/possibleConstructorReturn")),O=e(t("@babel/runtime/helpers/getPrototypeOf")),C=e(t("@babel/runtime/helpers/assertThisInitialized")),L=e(t("@babel/runtime/helpers/inherits")),P=e(t("@babel/runtime/helpers/toConsumableArray")),E=e(t("@babel/runtime/helpers/toArray")),q=e(t("@babel/runtime/helpers/slicedToArray")),A={type:"logger",log:function(e){this.output("log",e)},warn:function(e){this.output("warn",e)},error:function(e){this.output("error",e)},output:function(e,t){var n;console&&console[e]&&(n=console)[e].apply(n,P(t))}},R=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k(this,e),this.init(t,n)}return j(e,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||A,this.options=t,this.debug=t.debug}},{key:"setDebug",value:function(e){this.debug=e}},{key:"log",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,n,r){return r&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(n).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(t){return new e(this.logger,x({},{prefix:"".concat(this.prefix,":").concat(t,":")},this.options))}}]),e}(),V=new R,T=function(){function e(){k(this,e),this.observers={}}return j(e,[{key:"on",value:function(e,t){var n=this;return e.split(" ").forEach(function(e){n.observers[e]=n.observers[e]||[],n.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e])return t?void(this.observers[e]=this.observers[e].filter(function(e){return e!==t})):void delete this.observers[e]}},{key:"emit",value:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(this.observers[e]){var i=[].concat(this.observers[e]);i.forEach(function(e){e.apply(void 0,n)})}if(this.observers["*"]){var o=[].concat(this.observers["*"]);o.forEach(function(t){t.apply(t,[e].concat(n))})}}}]),e}(),N={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},F="undefined"!=typeof window&&window.navigator&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,I=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return k(this,t),n=S(this,O(t).call(this)),F&&T.call(C(n)),n.data=e||{},n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n}return L(t,e),j(t,[{key:"addNamespaces",value:function(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}},{key:"removeNamespaces",value:function(e){var t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,o=[e,t];return n&&"string"!=typeof n&&(o=o.concat(n)),n&&"string"==typeof n&&(o=o.concat(i?n.split(i):n)),e.indexOf(".")>-1&&(o=e.split(".")),l(this.data,o)}},{key:"addResource",value:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},o=this.options.keySeparator;void 0===o&&(o=".");var a=[e,t];n&&(a=a.concat(o?n.split(o):n)),e.indexOf(".")>-1&&(a=e.split("."),r=t,t=a[1]),this.addNamespaces(t),s(this.data,a,r),i.silent||this.emit("added",e,t,n,r)}},{key:"addResources",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in n)"string"!=typeof n[i]&&"[object Array]"!==Object.prototype.toString.apply(n[i])||this.addResource(e,t,i,n[i],{silent:!0});r.silent||this.emit("added",e,t,n)}},{key:"addResourceBundle",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},a=[e,t];e.indexOf(".")>-1&&(a=e.split("."),r=n,n=t,t=a[1]),this.addNamespaces(t);var u=l(this.data,a)||{};r?f(u,n,i):u=x({},u,n),s(this.data,a,u),o.silent||this.emit("added",e,t,n)}},{key:"removeResourceBundle",value:function(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}},{key:"hasResourceBundle",value:function(e,t){return void 0!==this.getResource(e,t)}},{key:"getResourceBundle",value:function(e,t){return t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI?x({},{},this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"toJSON",value:function(){return this.data}}]),t}(T),D={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,n,r,i){var o=this;return e.forEach(function(e){o.processors[e]&&(t=o.processors[e].process(t,n,r,i))}),t}},M={},U=function(e){function t(e){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return k(this,t),n=S(this,O(t).call(this)),F&&T.call(C(n)),o(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,C(n)),n.options=r,void 0===n.options.keySeparator&&(n.options.keySeparator="."),n.logger=V.create("translator"),n}return L(t,e),j(t,[{key:"changeLanguage",value:function(e){e&&(this.language=e)}},{key:"exists",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},n=this.resolve(e,t);return n&&void 0!==n.res}},{key:"extractFromKey",value:function(e,t){var n=t.nsSeparator||this.options.nsSeparator;void 0===n&&(n=":");var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS;if(n&&e.indexOf(n)>-1){var o=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(o[0])>-1)&&(i=o.shift()),e=o.join(r)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t){var n=this;if("object"!==w(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),void 0===e||null===e)return"";Array.isArray(e)||(e=[String(e)]);var r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=this.extractFromKey(e[e.length-1],t),o=i.key,a=i.namespaces,s=a[a.length-1],u=t.lng||this.language,l=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(u&&"cimode"===u.toLowerCase()){if(l){var c=t.nsSeparator||this.options.nsSeparator;return s+c+o}return o}var f=this.resolve(e,t),p=f&&f.res,h=f&&f.usedKey||o,d=f&&f.exactUsedKey||o,g=Object.prototype.toString.apply(p),v=["[object Number]","[object Function]","[object RegExp]"],m=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject,b="string"!=typeof p&&"boolean"!=typeof p&&"number"!=typeof p;if(y&&p&&b&&v.indexOf(g)<0&&("string"!=typeof m||"[object Array]"!==g)){if(!t.returnObjects&&!this.options.returnObjects)return this.logger.warn("accessing an object - but returnObjects options is not enabled!"),this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,p,t):"key '".concat(o," (").concat(this.language,")' returned an object instead of string.");if(r){var k="[object Array]"===g,j=k?[]:{},S=k?d:h;for(var O in p)if(Object.prototype.hasOwnProperty.call(p,O)){var C="".concat(S).concat(r).concat(O);j[O]=this.translate(C,x({},t,{joinArrays:!1,ns:a})),j[O]===C&&(j[O]=p[O])}p=j}}else if(y&&"string"==typeof m&&"[object Array]"===g)p=p.join(m),p&&(p=this.extendTranslation(p,e,t));else{var L=!1,P=!1;if(!this.isValidLookup(p)&&void 0!==t.defaultValue){if(L=!0,void 0!==t.count){var E=this.pluralResolver.getSuffix(u,t.count);p=t["defaultValue".concat(E)]}p||(p=t.defaultValue)}this.isValidLookup(p)||(P=!0,p=o);var q=t.defaultValue&&t.defaultValue!==p&&this.options.updateMissing;if(P||L||q){this.logger.log(q?"updateKey":"missingKey",u,s,o,q?t.defaultValue:p);var A=[],R=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&R&&R[0])for(var V=0;V<R.length;V++)A.push(R[V]);else"all"===this.options.saveMissingTo?A=this.languageUtils.toResolveHierarchy(t.lng||this.language):A.push(t.lng||this.language);var T=function(e,r){n.options.missingKeyHandler?n.options.missingKeyHandler(e,s,r,q?t.defaultValue:p,q,t):n.backendConnector&&n.backendConnector.saveMissing&&n.backendConnector.saveMissing(e,s,r,q?t.defaultValue:p,q,t),n.emit("missingKey",e,s,r,p)};if(this.options.saveMissing){var N=void 0!==t.count&&"string"!=typeof t.count;this.options.saveMissingPlurals&&N?A.forEach(function(e){var t=n.pluralResolver.getPluralFormsOfKey(e,o);t.forEach(function(t){return T([e],t)})}):T(A,o)}}p=this.extendTranslation(p,e,t,f),P&&p===o&&this.options.appendNamespaceToMissingKey&&(p="".concat(s,":").concat(o)),P&&this.options.parseMissingKeyHandler&&(p=this.options.parseMissingKeyHandler(p))}return p}},{key:"extendTranslation",value:function(e,t,n,r){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,n,r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(x({},n,{interpolation:x({},this.options.interpolation,n.interpolation)}));var o=n.replace&&"string"!=typeof n.replace?n.replace:n;this.options.interpolation.defaultVariables&&(o=x({},this.options.interpolation.defaultVariables,o)),e=this.interpolator.interpolate(e,o,n.lng||this.language,n),n.nest!==!1&&(e=this.interpolator.nest(e,function(){return i.translate.apply(i,arguments)},n)),n.interpolation&&this.interpolator.reset()}var a=n.postProcess||this.options.postProcess,s="string"==typeof a?[a]:a;return void 0!==e&&null!==e&&s&&s.length&&n.applyPostProcessor!==!1&&(e=D.handle(s,e,t,this.options&&this.options.postProcessPassResolved?x({i18nResolved:r},n):n,this)),e}},{key:"resolve",value:function(e){var t,n,r,i,o,a=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!a.isValidLookup(t)){var u=a.extractFromKey(e,s),l=u.key;n=l;var c=u.namespaces;a.options.fallbackNS&&(c=c.concat(a.options.fallbackNS));var f=void 0!==s.count&&"string"!=typeof s.count,p=void 0!==s.context&&"string"==typeof s.context&&""!==s.context,h=s.lngs?s.lngs:a.languageUtils.toResolveHierarchy(s.lng||a.language,s.fallbackLng);c.forEach(function(e){a.isValidLookup(t)||(o=e,!M["".concat(h[0],"-").concat(e)]&&a.utils&&a.utils.hasLoadedNamespace&&!a.utils.hasLoadedNamespace(o)&&(M["".concat(h[0],"-").concat(e)]=!0,a.logger.warn('key "'.concat(n,'" for namespace "').concat(o,'" for languages "').concat(h.join(", "),"\" won't get resolved as namespace was not yet loaded"),"This means something IS WRONG in your application setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),h.forEach(function(n){if(!a.isValidLookup(t)){i=n;var o=l,u=[o];if(a.i18nFormat&&a.i18nFormat.addLookupKeys)a.i18nFormat.addLookupKeys(u,l,n,e,s);else{var c;f&&(c=a.pluralResolver.getSuffix(n,s.count)),f&&p&&u.push(o+c),p&&u.push(o+="".concat(a.options.contextSeparator).concat(s.context)),f&&u.push(o+=c)}for(var h;h=u.pop();)a.isValidLookup(t)||(r=h,t=a.getResource(n,e,h,s))}}))})}}),{res:t,usedKey:n,exactUsedKey:r,usedLng:i,usedNS:o}}},{key:"isValidLookup",value:function(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}}]),t}(T),_=function(){function e(t){k(this,e),this.options=t,this.whitelist=this.options.whitelist||!1,this.logger=V.create("languageUtils")}return j(e,[{key:"getScriptPartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return null;var t=e.split("-");return 2===t.length?null:(t.pop(),this.formatLanguageCode(t.join("-")))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||e.indexOf("-")<0)return e;var t=e.split("-");return this.formatLanguageCode(t[0])}},{key:"formatLanguageCode",value:function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return this.options.lowerCaseLng?n=n.map(function(e){return e.toLowerCase()}):2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=d(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=d(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=d(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isWhitelisted",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitWhitelist)&&(e=this.getLanguagePartFromCode(e)),!this.whitelist||!this.whitelist.length||this.whitelist.indexOf(e)>-1}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e["default"]||[];var n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e["default"]),n||[]}},{key:"toResolveHierarchy",value:function(e,t){var n=this,r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],o=function(e){e&&(n.isWhitelisted(e)?i.push(e):n.logger.warn("rejecting non-whitelisted language code: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):"string"==typeof e&&o(this.formatLanguageCode(e)),r.forEach(function(e){i.indexOf(e)<0&&o(n.formatLanguageCode(e))}),i}}]),e}(),H=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","id","ja","jbo","ka","kk","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he"],nr:[1,2,20,21],fc:22}],W={1:function(e){return Number(e>1)},2:function(e){return Number(1!=e)},3:function(e){return 0},4:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},5:function(e){return Number(0===e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5)},6:function(e){return Number(1==e?0:e>=2&&e<=4?1:2)},7:function(e){return Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2)},8:function(e){return Number(1==e?0:2==e?1:8!=e&&11!=e?2:3)},9:function(e){return Number(e>=2)},10:function(e){return Number(1==e?0:2==e?1:e<7?2:e<11?3:4)},11:function(e){return Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3)},12:function(e){return Number(e%10!=1||e%100==11)},13:function(e){return Number(0!==e)},14:function(e){return Number(1==e?0:2==e?1:3==e?2:3)},15:function(e){return Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2)},16:function(e){return Number(e%10==1&&e%100!=11?0:0!==e?1:2)},17:function(e){return Number(1==e||e%10==1?0:1)},18:function(e){return Number(0==e?0:1==e?1:2)},19:function(e){return Number(1==e?0:0===e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3)},20:function(e){return Number(1==e?0:0===e||e%100>0&&e%100<20?1:2)},21:function(e){return Number(e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0)},22:function(e){return Number(1===e?0:2===e?1:(e<0||e>10)&&e%10==0?2:3)}},B=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};k(this,e),this.languageUtils=t,this.options=n,this.logger=V.create("pluralResolver"),this.rules=g()}return j(e,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=this.getRule(e);return t&&t.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var n=this,r=[],i=this.getRule(e);return i?(i.numbers.forEach(function(i){var o=n.getSuffix(e,i);r.push("".concat(t).concat(o))}),r):r}},{key:"getSuffix",value:function(e,t){var n=this,r=this.getRule(e);if(r){var i=r.noAbs?r.plurals(t):r.plurals(Math.abs(t)),o=r.numbers[i];this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]&&(2===o?o="plural":1===o&&(o=""));var a=function(){return n.options.prepend&&o.toString()?n.options.prepend+o.toString():o.toString()};return"v1"===this.options.compatibilityJSON?1===o?"":"number"==typeof o?"_plural_".concat(o.toString()):a():"v2"===this.options.compatibilityJSON?a():this.options.simplifyPluralSuffix&&2===r.numbers.length&&1===r.numbers[0]?a():this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString()}return this.logger.warn("no plural rule found for: ".concat(e)),""}}]),e}(),K=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};k(this,e),this.logger=V.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||function(e){return e},this.init(t)}return j(e,[{key:"init",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});var t=e.interpolation;this.escape=void 0!==t.escape?t.escape:h,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?p(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?p(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?p(t.nestingPrefix):t.nestingPrefixEscaped||p("$t("),this.nestingSuffix=t.nestingSuffix?p(t.nestingSuffix):t.nestingSuffixEscaped||p(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=void 0!==t.alwaysFormat&&t.alwaysFormat,this.resetRegExp()}},{key:"reset",value:function(){this.options&&this.init(this.options)}},{key:"resetRegExp",value:function(){var e="".concat(this.prefix,"(.+?)").concat(this.suffix);this.regexp=new RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=new RegExp(t,"g");var n="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=new RegExp(n,"g")}},{key:"interpolate",value:function(e,t,n,r){function o(e){return e.replace(/\$/g,"$$$$")}var a,s,u,l=this,f=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},p=function(e){if(e.indexOf(l.formatSeparator)<0){var i=c(t,f,e);return l.alwaysFormat?l.format(i,void 0,n):i}var o=e.split(l.formatSeparator),a=o.shift().trim(),s=o.join(l.formatSeparator).trim();return l.format(c(t,f,a),s,n,r)};this.resetRegExp();var h=r&&r.missingInterpolationHandler||this.options.missingInterpolationHandler;for(u=0;a=this.regexpUnescape.exec(e);){if(s=p(a[1].trim()),void 0===s)if("function"==typeof h){var d=h(e,a,r);s="string"==typeof d?d:""}else this.logger.warn("missed to pass in variable ".concat(a[1]," for interpolating ").concat(e)),s="";else"string"==typeof s||this.useRawValueToEscape||(s=i(s));if(e=e.replace(a[0],o(s)),this.regexpUnescape.lastIndex=0,u++,u>=this.maxReplaces)break}for(u=0;a=this.regexp.exec(e);){if(s=p(a[1].trim()),void 0===s)if("function"==typeof h){var g=h(e,a,r);s="string"==typeof g?g:""}else this.logger.warn("missed to pass in variable ".concat(a[1]," for interpolating ").concat(e)),s="";else"string"==typeof s||this.useRawValueToEscape||(s=i(s));if(s=o(this.escapeValue?this.escape(s):s),e=e.replace(a[0],s),this.regexp.lastIndex=0,u++,u>=this.maxReplaces)break}return e}},{key:"nest",value:function(e,t){function n(e,t){var n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;var r=e.split(new RegExp("".concat(n,"[ ]*{"))),i="{".concat(r[1]);e=r[0],i=this.interpolate(i,u),i=i.replace(/'/g,'"');try{u=JSON.parse(i),t&&(u=x({},t,u))}catch(o){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),o),"".concat(e).concat(n).concat(i)}return delete u.defaultValue,e}var r,o,a=this,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},u=x({},s);for(u.applyPostProcessor=!1,delete u.defaultValue;r=this.nestingRegexp.exec(e);){var l=[],c=!1;if(r[0].includes(this.formatSeparator)&&!/{.*}/.test(r[1])){var f=r[1].split(this.formatSeparator).map(function(e){return e.trim()}),p=E(f);r[1]=p[0],l=p.slice(1),c=!0}if(o=t(n.call(this,r[1].trim(),u),u),o&&r[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=i(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(e)),o=""),c&&(o=l.reduce(function(e,t){return a.format(e,t,s.lng,s)},o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}]),e}(),z=function(e){function t(e,n,r){var i,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return k(this,t),i=S(this,O(t).call(this)),F&&T.call(C(i)),i.backend=e,i.store=n,i.services=r,i.languageUtils=r.languageUtils,i.options=o,i.logger=V.create("backendConnector"),i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(r,o.backend,o),i}return L(t,e),j(t,[{key:"queueLoad",value:function(e,t,n,r){var i=this,o=[],a=[],s=[],u=[];return e.forEach(function(e){var r=!0;t.forEach(function(t){var s="".concat(e,"|").concat(t);!n.reload&&i.store.hasResourceBundle(e,t)?i.state[s]=2:i.state[s]<0||(1===i.state[s]?a.indexOf(s)<0&&a.push(s):(i.state[s]=1,r=!1,a.indexOf(s)<0&&a.push(s),o.indexOf(s)<0&&o.push(s),u.indexOf(t)<0&&u.push(t)))}),r||s.push(e)}),(o.length||a.length)&&this.queue.push({pending:a,loaded:{},errors:[],callback:r}),{toLoad:o,pending:a,toLoadLanguages:s,toLoadNamespaces:u}}},{key:"loaded",value:function n(e,t,r){var i=e.split("|"),o=q(i,2),a=o[0],s=o[1];t&&this.emit("failedLoading",a,s,t),r&&this.store.addResourceBundle(a,s,r),this.state[e]=t?-1:2;var n={};this.queue.forEach(function(r){u(r.loaded,[a],s),v(r.pending,e),t&&r.errors.push(t),0!==r.pending.length||r.done||(Object.keys(r.loaded).forEach(function(e){n[e]||(n[e]=[]),r.loaded[e].length&&r.loaded[e].forEach(function(t){n[e].indexOf(t)<0&&n[e].push(t)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",n),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,n){var r=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:350,a=arguments.length>5?arguments[5]:void 0;return e.length?this.backend[n](e,t,function(s,u){return s&&u&&i<5?void setTimeout(function(){r.read.call(r,e,t,n,i+1,2*o,a)},o):void a(s,u)}):a(null,{})}},{key:"prepareLoading",value:function(e,t){var n=this,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();"string"==typeof e&&(e=this.languageUtils.toResolveHierarchy(e)),"string"==typeof t&&(t=[t]);var o=this.queueLoad(e,t,r,i);return o.toLoad.length?void o.toLoad.forEach(function(e){n.loadOne(e)}):(o.pending.length||i(),null)}},{key:"load",value:function(e,t,n){this.prepareLoading(e,t,{},n)}},{key:"reload",value:function(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}},{key:"loadOne",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),i=q(r,2),o=i[0],a=i[1];this.read(o,a,"read",void 0,void 0,function(r,i){r&&t.logger.warn("".concat(n,"loading namespace ").concat(a," for language ").concat(o," failed"),r),!r&&i&&t.logger.log("".concat(n,"loaded namespace ").concat(a," for language ").concat(o),i),t.loaded(e,r,i)})}},{key:"saveMissing",value:function(e,t,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};return this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)?void this.logger.warn('did not save key "'.concat(n,'" for namespace "').concat(t,'" as the namespace was not yet loaded'),"This means something IS WRONG in your application setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!"):void(void 0!==n&&null!==n&&""!==n&&(this.backend&&this.backend.create&&this.backend.create(e,t,n,r,null,x({},o,{isUpdate:i})),e&&e[0]&&this.store.addResource(e[0],t,n,r)))}}]),t}(T),X=function(e){function t(){var e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(k(this,t),e=S(this,O(t).call(this)),F&&T.call(C(e)),e.options=y(n),e.services={},e.logger=V,e.modules={external:[]},r&&!e.isInitialized&&!n.isClone){if(!e.options.initImmediate)return e.init(n,r),S(e,C(e));setTimeout(function(){e.init(n,r)},0)}return e}return L(t,e),j(t,[{key:"init",value:function(){function e(e){return e?"function"==typeof e?new e:e:null}var t=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1?arguments[1]:void 0;if("function"==typeof r&&(i=r,r={}),this.options=x({},m(),this.options,y(r)),this.format=this.options.interpolation.format,i||(i=b),!this.options.isClone){this.modules.logger?V.init(e(this.modules.logger),this.options):V.init(null,this.options);var o=new _(this.options);this.store=new I(this.options.resources,this.options);
  var a=this.services;a.logger=V,a.resourceStore=this.store,a.languageUtils=o,a.pluralResolver=new B(o,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),a.interpolator=new K(this.options),a.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},a.backendConnector=new z(e(this.modules.backend),a.resourceStore,a,this.options),a.backendConnector.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit.apply(t,[e].concat(r))}),this.modules.languageDetector&&(a.languageDetector=e(this.modules.languageDetector),a.languageDetector.init(a,this.options.detection,this.options)),this.modules.i18nFormat&&(a.i18nFormat=e(this.modules.i18nFormat),a.i18nFormat.init&&a.i18nFormat.init(this)),this.translator=new U(this.services,this.options),this.translator.on("*",function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];t.emit.apply(t,[e].concat(r))}),this.modules.external.forEach(function(e){e.init&&e.init(t)})}this.modules.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");var s=["getResource","addResource","addResources","addResourceBundle","removeResourceBundle","hasResourceBundle","getResourceBundle","getDataByLanguage"];s.forEach(function(e){t[e]=function(){var n;return(n=t.store)[e].apply(n,arguments)}});var u=n(),l=function(){t.changeLanguage(t.options.lng,function(e,n){t.isInitialized=!0,t.logger.log("initialized",t.options),t.emit("initialized",t.options),u.resolve(n),i(e,n)})};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),u}},{key:"loadResources",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,r=n,i="string"==typeof e?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return r();var o=[],a=function(e){if(e){var n=t.services.languageUtils.toResolveHierarchy(e);n.forEach(function(e){o.indexOf(e)<0&&o.push(e)})}};if(i)a(i);else{var s=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);s.forEach(function(e){return a(e)})}this.options.preload&&this.options.preload.forEach(function(e){return a(e)}),this.services.backendConnector.load(o,this.options.ns,r)}else r(null)}},{key:"reloadResources",value:function(e,t,r){var i=n();return e||(e=this.languages),t||(t=this.options.ns),r||(r=b),this.services.backendConnector.reload(e,t,function(e){i.resolve(),r(e)}),i}},{key:"use",value:function(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&D.addPostProcessor(e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"changeLanguage",value:function(e,t){var r=this;this.isLanguageChangingTo=e;var i=n();this.emit("languageChanging",e);var o=function(e,n){n?(r.language=n,r.languages=r.services.languageUtils.toResolveHierarchy(n),r.translator.changeLanguage(n),r.isLanguageChangingTo=void 0,r.emit("languageChanged",n),r.logger.log("languageChanged",n)):r.isLanguageChangingTo=void 0,i.resolve(function(){return r.t.apply(r,arguments)}),t&&t(e,function(){return r.t.apply(r,arguments)})},a=function(e){e&&(r.language||(r.language=e,r.languages=r.services.languageUtils.toResolveHierarchy(e)),r.translator.language||r.translator.changeLanguage(e),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage(e)),r.loadResources(e,function(t){o(t,e)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),i}},{key:"getFixedT",value:function(e,t){var n=this,r=function i(e,t){var r;if("object"!==w(t)){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];r=n.options.overloadTranslationOptionHandler([e,t].concat(a))}else r=x({},t);return r.lng=r.lng||i.lng,r.lngs=r.lngs||i.lngs,r.ns=r.ns||i.ns,n.t(e,r)};return"string"==typeof e?r.lng=e:r.lngs=e,r.ns=t,r}},{key:"t",value:function(){var e;return this.translator&&(e=this.translator).translate.apply(e,arguments)}},{key:"exists",value:function(){var e;return this.translator&&(e=this.translator).exists.apply(e,arguments)}},{key:"setDefaultNamespace",value:function(e){this.options.defaultNS=e}},{key:"hasLoadedNamespace",value:function(e){var t=this;if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var n=this.languages[0],r=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;var o=function(e,n){var r=t.services.backendConnector.state["".concat(e,"|").concat(n)];return r===-1||2===r};return!!this.hasResourceBundle(n,e)||(!this.services.backendConnector.backend||!(!o(n,e)||r&&!o(i,e)))}},{key:"loadNamespaces",value:function(e,t){var r=this,i=n();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){r.options.ns.indexOf(e)<0&&r.options.ns.push(e)}),this.loadResources(function(e){i.resolve(),t&&t(e)}),i):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var r=n();"string"==typeof e&&(e=[e]);var i=this.options.preload||[],o=e.filter(function(e){return i.indexOf(e)<0});return o.length?(this.options.preload=i.concat(o),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){if(e||(e=this.languages&&this.languages.length>0?this.languages[0]:this.language),!e)return"rtl";var t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam"];return t.indexOf(this.services.languageUtils.getLanguagePartFromCode(e))>=0?"rtl":"ltr"}},{key:"createInstance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;return new t(e,n)}},{key:"cloneInstance",value:function(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:b,i=x({},this.options,n,{isClone:!0}),o=new t(i),a=["store","services","language"];return a.forEach(function(t){o[t]=e[t]}),o.services=x({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o.translator=new U(o.services,o.options),o.translator.on("*",function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];o.emit.apply(o,[e].concat(n))}),o.init(i,r),o.translator.options=o.options,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}}]),t}(T),$=new X;r.exports=$}()}),require.register("jquery-i18next/dist/commonjs/index.js",function(e,t,r){t=n(t,{},"jquery-i18next"),function(){"use strict";function t(e,t){function i(t,r,i){function o(e,t){return s.parseDefaultValueFromContent?n({},e,{defaultValue:t}):e}if(0!==r.length){var a="text";if(0===r.indexOf("[")){var u=r.split("]");r=u[1],a=u[0].substr(1,u[0].length-1)}if(r.indexOf(";")===r.length-1&&(r=r.substr(0,r.length-2)),"html"===a)t.html(e.t(r,o(i,t.html())));else if("text"===a)t.text(e.t(r,o(i,t.text())));else if("prepend"===a)t.prepend(e.t(r,o(i,t.html())));else if("append"===a)t.append(e.t(r,o(i,t.html())));else if(0===a.indexOf("data-")){var l=a.substr("data-".length),c=e.t(r,o(i,t.data(l)));t.data(l,c),t.attr(a,c)}else t.attr(a,e.t(r,o(i,t.attr(a))))}}function o(e,r){var o=e.attr(s.selectorAttr);if(o||"undefined"==typeof o||o===!1||(o=e.text()||e.val()),o){var a=e,u=e.data(s.targetAttr);if(u&&(a=e.find(u)||e),r||s.useOptionsAttr!==!0||(r=e.data(s.optionsAttr)),r=r||{},o.indexOf(";")>=0){var l=o.split(";");t.each(l,function(e,t){""!==t&&i(a,t.trim(),r)})}else i(a,o,r);if(s.useOptionsAttr===!0){var c={};c=n({clone:c},r),delete c.lng,e.data(s.optionsAttr,c)}}}function a(e){return this.each(function(){o(t(this),e);var n=t(this).find("["+s.selectorAttr+"]");n.each(function(){o(t(this),e)})})}var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};s=n({},r,s),t[s.tName]=e.t.bind(e),t[s.i18nName]=e,t.fn[s.handleName]=a}Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r={tName:"t",i18nName:"i18n",handleName:"localize",selectorAttr:"data-i18n",targetAttr:"i18n-target",optionsAttr:"i18n-options",useOptionsAttr:!1,parseDefaultValueFromContent:!0};e["default"]={init:t}}()}),require.register("jquery-i18next/index.js",function(e,t,r){t=n(t,{},"jquery-i18next"),function(){r.exports=t("./dist/commonjs/index.js")["default"]}()}),require.register("js-cookie/src/js.cookie.js",function(e,t,r){t=n(t,{},"js-cookie"),function(){!function(t){var n;if("function"==typeof define&&define.amd&&(define(t),n=!0),"object"==typeof e&&(r.exports=t(),n=!0),!n){var i=window.Cookies,o=window.Cookies=t();o.noConflict=function(){return window.Cookies=i,o}}}(function(){function e(){for(var e=0,t={};e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}function n(r){function i(){}function o(t,n,o){if("undefined"!=typeof document){o=e({path:"/"},i.defaults,o),"number"==typeof o.expires&&(o.expires=new Date(1*new Date+864e5*o.expires)),o.expires=o.expires?o.expires.toUTCString():"";try{var a=JSON.stringify(n);/^[\{\[]/.test(a)&&(n=a)}catch(s){}n=r.write?r.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var u="";for(var l in o)o[l]&&(u+="; "+l,o[l]!==!0&&(u+="="+o[l].split(";")[0]));return document.cookie=t+"="+n+u}}function a(e,n){if("undefined"!=typeof document){for(var i={},o=document.cookie?document.cookie.split("; "):[],a=0;a<o.length;a++){var s=o[a].split("="),u=s.slice(1).join("=");n||'"'!==u.charAt(0)||(u=u.slice(1,-1));try{var l=t(s[0]);if(u=(r.read||r)(u,l)||t(u),n)try{u=JSON.parse(u)}catch(c){}if(i[l]=u,e===l)break}catch(c){}}return e?i[e]:i}}return i.set=o,i.get=function(e){return a(e,!1)},i.getJSON=function(e){return a(e,!0)},i.remove=function(t,n){o(t,"",e(n,{expires:-1}))},i.defaults={},i.withConverter=n,i}return n(function(){})})}()}),require.register("node-fetch/browser.js",function(e,t,r){t=n(t,{},"node-fetch"),function(){"use strict";var t=function(){if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if("undefined"!=typeof n)return n;throw new Error("unable to locate global object")},n=t();r.exports=e=n.fetch,n.fetch&&(e["default"]=n.fetch.bind(n)),e.Headers=n.Headers,e.Request=n.Request,e.Response=n.Response}()}),require.register("process/browser.js",function(e,t,r){t=n(t,{},"process"),function(){function e(){throw new Error("setTimeout has not been defined")}function t(){throw new Error("clearTimeout has not been defined")}function n(t){if(l===setTimeout)return setTimeout(t,0);if((l===e||!l)&&setTimeout)return l=setTimeout,setTimeout(t,0);try{return l(t,0)}catch(n){try{return l.call(null,t,0)}catch(n){return l.call(this,t,0)}}}function i(e){if(c===clearTimeout)return clearTimeout(e);if((c===t||!c)&&clearTimeout)return c=clearTimeout,clearTimeout(e);try{return c(e)}catch(n){try{return c.call(null,e)}catch(n){return c.call(this,e)}}}function o(){d&&p&&(d=!1,p.length?h=p.concat(h):g=-1,h.length&&a())}function a(){if(!d){var e=n(o);d=!0;for(var t=h.length;t;){for(p=h,h=[];++g<t;)p&&p[g].run();g=-1,t=h.length}p=null,d=!1,i(e)}}function s(e,t){this.fun=e,this.array=t}function u(){}var l,c,f=r.exports={};!function(){try{l="function"==typeof setTimeout?setTimeout:e}catch(n){l=e}try{c="function"==typeof clearTimeout?clearTimeout:t}catch(n){c=t}}();var p,h=[],d=!1,g=-1;f.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];h.push(new s(e,t)),1!==h.length||d||n(a)},s.prototype.run=function(){this.fun.apply(null,this.array)},f.title="browser",f.browser=!0,f.env={},f.argv=[],f.version="",f.versions={},f.on=u,f.addListener=u,f.once=u,f.off=u,f.removeListener=u,f.removeAllListeners=u,f.emit=u,f.prependListener=u,f.prependOnceListener=u,f.listeners=function(e){return[]},f.binding=function(e){throw new Error("process.binding is not supported")},f.cwd=function(){return"/"},f.chdir=function(e){throw new Error("process.chdir is not supported")},f.umask=function(){return 0}}()}),require.alias("countup.js/dist/countUp.min.js","countup.js"),require.alias("domurl/url.min.js","domurl"),require.alias("i18next/dist/cjs/i18next.js","i18next"),require.alias("i18next-browser-languagedetector/dist/cjs/i18nextBrowserLanguageDetector.js","i18next-browser-languagedetector"),require.alias("i18next-http-backend/cjs/index.js","i18next-http-backend"),require.alias("js-cookie/src/js.cookie.js","js-cookie"),require.alias("node-fetch/browser.js","node-fetch"),require.alias("process/browser.js","process"),e=require("process"),require.register("___globals___",function(e,t,n){})}(),require("___globals___");