PageSourceSearch

https://chatfuel.com/_next/static/chunks/pages/_app-d81b23c2922b1af3.js

js chatfuel.com collected 2026-09-24 08:26:31 UTC 104,567 bytes, 8 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{8679:function(e,t,r){"use strict";var o=r(59864),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},s={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function getStatics(e){return o.isMemo(e)?c:l[e.$$typeof]||i}l[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[o.Memo]=c;var u=Object.defineProperty,p=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,h=Object.prototype;e.exports=function hoistNonReactStatics(e,t,r){if("string"!=typeof t){if(h){var o=g(t);o&&o!==h&&hoistNonReactStatics(e,o,r)}var i=p(t);f&&(i=i.concat(f(t)));for(var c=getStatics(e),l=getStatics(t),y=0;y<i.length;++y){var v=i[y];if(!s[v]&&!(r&&r[v])&&!(l&&l[v])&&!(c&&c[v])){var m=d(t,v);try{u(e,v,m)}catch(e){}}}}return e}},40013:function(e,t,r){"use strict";var o=r(56690),i=r(89728);function _interopDefaultLegacy(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=_interopDefaultLegacy(o),c=_interopDefaultLegacy(i),l=[],u=l.forEach,p=l.slice,f=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,serializeCookie=function(e,t,r){var o=r||{};o.path=o.path||"/";var i=encodeURIComponent(t),s="".concat(e,"=").concat(i);if(o.maxAge>0){var c=o.maxAge-0;if(Number.isNaN(c))throw Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(c))}if(o.domain){if(!f.test(o.domain))throw TypeError("option domain is invalid");s+="; Domain=".concat(o.domain)}if(o.path){if(!f.test(o.path))throw TypeError("option path is invalid");s+="; Path=".concat(o.path)}if(o.expires){if("function"!=typeof o.expires.toUTCString)throw TypeError("option expires is invali
1d");s+="; Expires=".concat(o.expires.toUTCString())}if(o.httpOnly&&(s+="; HttpOnly"),o.secure&&(s+="; Secure"),o.sameSite)switch("string"==typeof o.sameSite?o.sameSite.toLowerCase():o.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s},d={create:function(e,t,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+6e4*r)),o&&(i.domain=o),document.cookie=serializeCookie(e,encodeURIComponent(t),i)},read:function(e){for(var t="".concat(e,"="),r=document.cookie.split(";"),o=0;o<r.length;o++){for(var i=r[o];" "===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)}},g={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var r=d.read(e.lookupCookie);r&&(t=r)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&d.create(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},h={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var r=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(r=window.location.hash.substring(window.location.hash.indexOf("?")));for(var o=r.substring(1).split("&"),i=0;i<o.length;i++){var s=o[i].indexOf("=");s>0&&o[i].substring(0,s)===e.lookupQuerystring&&(t=o[i].substring(s+1))}}return t}},y=null,localStorageAvailable=function(){if(null!==y)return y;try{y="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){y=!1}return y},v={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&localStorageAvailable()){var r=window.localStorage.getItem(e.lookupLocalStorage);r&&(t=r)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&localStorageAvailable()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},m=null,sessionStorageAvailable=function(){if(null!==m)return m;try{m="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){m=!1}return m},b={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&sessionStorageAvailable()){var r=window.sessionStorage.getItem(e.lookupSessionStorage);r&&(t=r)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&sessionStorageAvailable()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},O={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var r=0;r<navigator.languages.length;r++)t.push(navigator.languages[r]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},S={name:"htmlTag",lookup:function(e){var t,r=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return r&&"function"==typeof r.getAttribute&&(t=r.getAttribute("lang")),t}},k={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(r instanceof Array){if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof r[e.lookupFromPathIndex])return;t=r[e.lookupFromPathIndex].replace("/","")}else t=r[0].replace("/","")}}return t}},x={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,r="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(r)return r[t]}},w=function(){function Browser(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};s.default(this,Browser),this.type="languageDetector",this.detectors={},this.init(e,t)}return c.default(Browser,[{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=function(e){return u.call(p.call(arguments,1
1),function(t){if(t)for(var r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"]}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(g),this.addDetector(h),this.addDetector(v),this.addDetector(b),this.addDetector(O),this.addDetector(S),this.addDetector(k),this.addDetector(x)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var r=[];return(e.forEach(function(e){if(t.detectors[e]){var o=t.detectors[e].lookup(t.options);o&&"string"==typeof o&&(o=[o]),o&&(r=r.concat(o))}}),this.services.languageUtils.getBestMatchFromCodes)?r:r.length>0?r[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var r=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(function(t){r.detectors[t]&&r.detectors[t].cacheUserLanguage(e,r.options)}))}}]),Browser}();w.type="languageDetector",e.exports=w},91296:function(e,t,r){var o=0/0,i=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,p="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=p||f||Function("return this")(),g=Object.prototype.toString,h=Math.max,y=Math.min,now=function(){return d.Date.now()};function isObject(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function toNumber(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==g.call(t))return o;if(isObject(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=isObject(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var p=c.test(e);return p||l.test(e)?u(e.slice(2),p?2:8):s.test(e)?o:+e}e.exports=function(e,t,r){var o,i,s,c,l,u,p=0,f=!1,d=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function invokeFunc(t){var r=o,s=i;return o=i=void 0,p=t,c=e.apply(s,r)}function shouldInvoke(e){var r=e-u,o=e-p;return void 0===u||r>=t||r<0||d&&o>=s}function timerExpired(){var e,r,o,i=now();if(shouldInvoke(i))return trailingEdge(i);l=setTimeout(timerExpired,(e=i-u,r=i-p,o=t-e,d?y(o,s-r):o))}function trailingEdge(e){return(l=void 0,g&&o)?invokeFunc(e):(o=i=void 0,c)}function debounced(){var e,r=now(),s=shouldInvoke(r);if(o=arguments,i=this,u=r,s){if(void 0===l)return p=e=u,l=setTimeout(timerExpired,t),f?invokeFunc(e):c;if(d)return l=setTimeout(timerExpired,t),invokeFunc(u)}return void 0===l&&(l=setTimeout(timerExpired,t)),c}return t=toNumber(t)||0,isObject(r)&&(f=!!r.leading,s=(d="maxWait"in r)?h(toNumber(r.maxWait)||0,t):s,g="trailing"in r?!!r.trailing:g),debounced.cancel=function(){void 0!==l&&clearTimeout(l),p=0,o=u=i=l=void 0},debounced.flush=function(){return void 0===l?c:trailingEdge(now())},debounced}},27561:function(e,t,r){"use strict";function typeof_typeof(e){return(typeof_typeof="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)}function _toPropertyKey(e){var t=function(e,t){if("object"!==typeof_typeof(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var o=r.call(e,t||"default");if("object"!==typeof_typeof(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===typeof_typeof(t)?t:String(t)}function defineProperty_defineProperty(e,t,r){return(t=_toPropertyKey(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function objectWithoutProperties_objectWithoutProperties(e,t){if(null==e)return{};var r,o,i=function(e,t){if(null==e)return{};var r,o,i={},s=Object.keys(e);for(o=0;o<s.length;o++)r=s[o],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}r.d(t,{cC:function(){return Trans_Trans},Jc:function(){return appWithTranslation},$G:function(){return useTranslation_useTranslation}});var o,i=r(67294),s=r(71739),c=r.n(s),l=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function n(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(c()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var o=e.indexOf("-->");return{type:"comment",comment:-1!==o?e.slice(4,o):""}}for(var i=new RegExp(l),s=null;null!==(s=i.exec(e));)if(s[0].trim()){if(s[1]){var u=s[1].trim(),p=[u,""];u.indexOf("=")>-1&&(p=u.split("=")),t.attrs[p[0]]=p[1],i.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1))}return t}var u=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,p=/^\s*$/,f=Object.create(null),d={parse:function(e,t){t||(t={}),t.components||(t.components=f);var r,o=[],i=[],s=-1,c=!1;if(0!==e.indexOf("<")){var l=e.indexOf("<");o.push({type:"text",content:-1===l?e:e.substring(0,l)})}return e.replace(u,function(l,u){if(c){if(l!=="</"+r.name+">")return;c=!1}var f,d="/"!==l.charAt(1),g=l.startsWith("<!--"),h=u+l.length,y=e.charAt(h);if(g){var v=n(l);return s<0?o.push(v):(f=i[s]).children.push(v),o}if(d&&(s++,"tag"===(r=n(l)).type&&t.components[r.name]&&(r.type="component",c=!0),r.voidElement||c||!y||"<"===y||r.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===s&&o.push(r),(f=i[s-1])&&f.children.push(r),i[s]=r),(!d||r.voidElement)&&(s>-1&&(r.voidElement||r.name===l.slice(2,-1))&&(r=-1==--s?o:i[s]),!c&&"<"!==y&&y)){f=-1===s?o:i[s].children;var m=e.indexOf("<",h),b=e.slice(h,-1===m?void 0:m);p.test(b)&&(b=" "),(m>-1&&s+f.length>=0||" "!==b)&&f.push({type:"text",content:b})}}),o},stringify:function(e){return e.reduce(function(e,t){return e+function a(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var r in e)t.push(r+'="'+e[r]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(a,"")+"</"+t.name+">";
1case"comment":return e+"<!--"+t.comment+"-->"}}("",t)},"")}};function warn(){if(console&&console.warn){for(var e,t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];"string"==typeof r[0]&&(r[0]="react-i18next:: ".concat(r[0])),(e=console).warn.apply(e,r)}}var g={};function warnOnce(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];"string"==typeof t[0]&&g[t[0]]||("string"==typeof t[0]&&(g[t[0]]=new Date),warn.apply(void 0,t))}function loadNamespaces(e,t,r){e.loadNamespaces(t,function(){e.isInitialized?r():e.on("initialized",function initialized(){setTimeout(function(){e.off("initialized",initialized)},0),r()})})}var h=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,y={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"\xa9","&#169;":"\xa9","&reg;":"\xae","&#174;":"\xae","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},unescapeHtmlEntity=function(e){return y[e]},v={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:function(e){return e.replace(h,unescapeHtmlEntity)}},m=["format"],b=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function TransWithoutContext_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function TransWithoutContext_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?TransWithoutContext_ownKeys(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TransWithoutContext_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function hasChildren(e,t){if(!e)return!1;var r=e.props?e.props.children:e.children;return t?r.length>0:!!r}function getChildren(e){return e?e.props?e.props.children:e.children:[]}function getAsArray(e){return Array.isArray(e)?e:[e]}function _classCallCheck(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,_toPropertyKey(o.key),o)}}function _createClass(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}var O=(0,i.createContext)(),S=function(){function ReportNamespaces(){_classCallCheck(this,ReportNamespaces),this.usedNamespaces={}}return _createClass(ReportNamespaces,[{key:"addUsedNamespaces",value:function(e){var t=this;e.forEach(function(e){t.usedNamespaces[e]||(t.usedNamespaces[e]=!0)})}},{key:"getUsedNamespaces",value:function(){return Object.keys(this.usedNamespaces)}}]),ReportNamespaces}(),k=["children","count","parent","i18nKey","context","tOptions","values","defaults","components","ns","i18n","t","shouldUnescape"];function Trans_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function Trans_Trans(e){var t=e.children,r=e.count,s=e.parent,c=e.i18nKey,l=e.context,u=e.tOptions,p=e.values,f=e.defaults,g=e.components,h=e.ns,y=e.i18n,S=e.t,x=e.shouldUnescape,w=objectWithoutProperties_objectWithoutProperties(e,k),j=(0,i.useContext)(O)||{},P=j.i18n,_=j.defaultNS,C=y||P||o,L=S||C&&C.t.bind(C);return function(e){var t=e.children,r=e.count,s=e.parent,c=e.i18nKey,l=e.context,u=e.tOptions,p=void 0===u?{}:u,f=e.values,g=e.defaults,h=e.components,y=e.ns,O=e.i18n,S=e.t,k=e.shouldUne
1scape,x=objectWithoutProperties_objectWithoutProperties(e,b),w=O||o;if(!w)return warnOnce("You will need to pass in an i18next instance by using i18nextReactModule"),t;var j=S||w.t.bind(w)||function(e){return e};l&&(p.context=l);var P=TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},v),w.options&&w.options.react),_=y||j.ns||w.options&&w.options.defaultNS;_="string"==typeof _?[_]:_||["translation"];var C=g||function nodesToString(e,t){if(!e)return"";var r="",o=getAsArray(e),s=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return o.forEach(function(e,o){if("string"==typeof e)r+="".concat(e);else if((0,i.isValidElement)(e)){var c=Object.keys(e.props).length,l=s.indexOf(e.type)>-1,u=e.props.children;if(!u&&l&&0===c)r+="<".concat(e.type,"/>");else if(u||l&&0===c){if(e.props.i18nIsDynamicList)r+="<".concat(o,"></").concat(o,">");else if(l&&1===c&&"string"==typeof u)r+="<".concat(e.type,">").concat(u,"</").concat(e.type,">");else{var p=nodesToString(u,t);r+="<".concat(o,">").concat(p,"</").concat(o,">")}}else r+="<".concat(o,"></").concat(o,">")}else if(null===e)warn("Trans: the passed in value is invalid - seems you passed in a null child.");else if("object"===typeof_typeof(e)){var f=e.format,d=Object.keys(objectWithoutProperties_objectWithoutProperties(e,m));if(1===d.length){var g=f?"".concat(d[0],", ").concat(f):d[0];r+="{{".concat(g,"}}")}else warn("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else warn("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)}),r}(t,P)||P.transEmptyNodeValue||c,L=P.hashTransKey,T=c||(L?L(C):C),E=f?p.interpolation:{interpolation:TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},p.interpolation),{},{prefix:"#$?",suffix:"?$#"})},N=TransWithoutContext_objectSpread(TransWithoutContext_objectSpread(TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},p),{},{count:r},f),E),{},{defaultValue:C,ns:_}),R=function(e,t,r,o,s,c){if(""===t)return[];var l=o.transKeepBasicHtmlNodesFor||[],u=t&&new RegExp(l.join("|")).test(t);if(!e&&!u)return[t];var p={};!function getData(e){getAsArray(e).forEach(function(e){"string"==typeof e||(hasChildren(e)?getData(getChildren(e)):"object"!==typeof_typeof(e)||(0,i.isValidElement)(e)||Object.assign(p,e))})}(e);var f=d.parse("<0>".concat(t,"</0>")),g=TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},p),s);function renderInner(e,t,r){var o=getChildren(e),s=mapAST(o,t.children,r);return"[object Array]"===Object.prototype.toString.call(o)&&o.every(function(e){return(0,i.isValidElement)(e)})&&0===s.length?o:s}function pushTranslatedJSX(e,t,r,o,s){e.dummy&&(e.children=t),r.push((0,i.cloneElement)(e,TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},e.props),{},{key:o}),s?void 0:t))}function mapAST(t,s,p){var f=getAsArray(t);return getAsArray(s).reduce(function(t,s,d){var h=s.children&&s.children[0]&&s.children[0].content&&r.services.interpolator.interpolate(s.children[0].content,g,r.language);if("tag"===s.type){var y,v,m,b=f[parseInt(s.name,10)];!b&&1===p.length&&p[0][s.name]&&(b=p[0][s.name]),b||(b={});var O=0!==Object.keys(s.attrs).length?(y={props:s.attrs},(m=TransWithoutContext_objectSpread({},v=b)).props=Object.assign(y.props,v.props),m):b,S=(0,i.isValidElement)(O),k=S&&hasChildren(s,!0)&&!s.voidElement,x=u&&"object"===typeof_typeof(O)&&O.dummy&&!S,w="object"===typeof_typeof(e)&&null!==e&&Object.hasOwnProperty.call(e,s.name);if("string"==typeof O){var j=r.services.interpolator.interpolate(O,g,r.language);t.push(j)}else if(hasChildren(O)||k){var P=renderInner(O,s,p);pushTranslatedJSX(O,P,t,d)}else if(x){var _=mapAST(f,s.children,p);t.push((0,i.cloneElement)(O,TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},O.props),{},{key:d}),_))}
1else if(Number.isNaN(parseFloat(s.name))){if(w){var C=renderInner(O,s,p);pushTranslatedJSX(O,C,t,d,s.voidElement)}else if(o.transSupportBasicHtmlNodes&&l.indexOf(s.name)>-1){if(s.voidElement)t.push((0,i.createElement)(s.name,{key:"".concat(s.name,"-").concat(d)}));else{var L=mapAST(f,s.children,p);t.push((0,i.createElement)(s.name,{key:"".concat(s.name,"-").concat(d)},L))}}else if(s.voidElement)t.push("<".concat(s.name," />"));else{var T=mapAST(f,s.children,p);t.push("<".concat(s.name,">").concat(T,"</").concat(s.name,">"))}}else if("object"!==typeof_typeof(O)||S)1===s.children.length&&h?t.push((0,i.cloneElement)(O,TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},O.props),{},{key:d}),h)):t.push((0,i.cloneElement)(O,TransWithoutContext_objectSpread(TransWithoutContext_objectSpread({},O.props),{},{key:d})));else{var E=s.children[0]?h:null;E&&t.push(E)}}else if("text"===s.type){var N=o.transWrapTextNodes,R=c?o.unescape(r.services.interpolator.interpolate(s.content,g,r.language)):r.services.interpolator.interpolate(s.content,g,r.language);N?t.push((0,i.createElement)(N,{key:"".concat(s.name,"-").concat(d)},R)):t.push(R)}return t},[])}return getChildren(mapAST([{dummy:!0,children:e||[]}],f,getAsArray(e||[]))[0])}(h||t,T?j(T,N):C,w,P,N,k),I=void 0!==s?s:P.defaultTransParent;return I?(0,i.createElement)(I,x,R):R}(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Trans_ownKeys(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Trans_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({children:t,count:r,parent:s,i18nKey:c,context:l,tOptions:void 0===u?{}:u,values:p,defaults:f,components:g,ns:h||L&&L.ns||_||C&&C.options&&C.options.defaultNS,i18n:C,t:S,shouldUnescape:x},w))}function _arrayWithHoles(e){if(Array.isArray(e))return e}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _arrayLikeToArray(e,t)}}function _nonIterableRest(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function slicedToArray_slicedToArray(e,t){return _arrayWithHoles(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,i,s,c,l=[],u=!0,p=!1;try{if(s=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(o=s.call(r)).done)&&(l.push(o.value),l.length!==t);u=!0);}catch(e){p=!0,i=e}finally{try{if(!u&&null!=r.return&&(c=r.return(),Object(c)!==c))return}finally{if(p)throw i}}return l}}(e,t)||_unsupportedIterableToArray(e,t)||_nonIterableRest()}function useTranslation_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function useTranslation_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?useTranslation_ownKeys(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):useTranslation_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var usePrevious=function(e,t){var r=(0,i.useRef)();return(0,i.useEffect)(function(){r.current=t?r.current:e},[e,t]),r.current};function useTranslation_useTranslation(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.i18n,s=(0,i.useContext)(O)||{},c=s.i18n,l=s.defaultNS,u=r||c||o;if(u&&!u.reportNamespaces&&(u.reportNamespaces=new S),!u){warnOnce("You will need to pass in an i18next instance by using initReactI18next");var notReadyT=function(e,t){return"string"==typeof t?t:t&&"object"===typeof_typeof(t)&&"string"==typeof t.defaultValue?t.defaultValue:Array.isArray(e)?e[e.length-1]:e},p=[notReadyT,{},!1];return p.t=notReadyT,p.i18n={},p.ready=!1,p}u.options.react&&void 0!==u.options.react.wait&&warnOnce("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");var f=useTranslation_objectSpread(useTranslation_objectSpread(useTranslation_objectSpread({}
1,v),u.options.react),t),d=f.useSuspense,g=f.keyPrefix,h=e||l||u.options&&u.options.defaultNS;h="string"==typeof h?[h]:h||["translation"],u.reportNamespaces.addUsedNamespaces&&u.reportNamespaces.addUsedNamespaces(h);var y=(u.isInitialized||u.initializedStoreOnce)&&h.every(function(e){return function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0!==t.options.ignoreJSONStructure?t.hasLoadedNamespace(e,{precheck:function(t,o){if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!o(t.isLanguageChangingTo,e))return!1}}):function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=t.languages[0],i=!!t.options&&t.options.fallbackLng,s=t.languages[t.languages.length-1];if("cimode"===o.toLowerCase())return!0;var loadNotPending=function(e,r){var o=t.services.backendConnector.state["".concat(e,"|").concat(r)];return -1===o||2===o};return(!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!loadNotPending(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(o,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||loadNotPending(o,e)&&(!i||loadNotPending(s,e)))}(e,t,r):(warnOnce("i18n.languages were undefined or empty",t.languages),!0)}(e,u,f)});function getT(){return u.getFixedT(null,"fallback"===f.nsMode?h:h[0],g)}var m=slicedToArray_slicedToArray((0,i.useState)(getT),2),b=m[0],k=m[1],x=h.join(),w=usePrevious(x),j=(0,i.useRef)(!0);(0,i.useEffect)(function(){var e=f.bindI18n,t=f.bindI18nStore;function boundReset(){j.current&&k(getT)}return j.current=!0,y||d||loadNamespaces(u,h,function(){j.current&&k(getT)}),y&&w&&w!==x&&j.current&&k(getT),e&&u&&u.on(e,boundReset),t&&u&&u.store.on(t,boundReset),function(){j.current=!1,e&&u&&e.split(" ").forEach(function(e){return u.off(e,boundReset)}),t&&u&&t.split(" ").forEach(function(e){return u.store.off(e,boundReset)})}},[u,x]);var P=(0,i.useRef)(!0);(0,i.useEffect)(function(){j.current&&!P.current&&k(getT),P.current=!1},[u,g]);var _=[b,u,y];if(_.t=b,_.i18n=u,_.ready=y,y||!y&&!d)return _;throw new Promise(function(e){loadNamespaces(u,h,function(){e()})})}function I18nextProvider(e){var t=e.i18n,r=e.defaultNS,o=e.children,s=(0,i.useMemo)(function(){return{i18n:t,defaultNS:r}},[t,r]);return(0,i.createElement)(O.Provider,{value:s},o)}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e}).apply(this,arguments)}var x=r(8679),w=r.n(x);function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var j={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!=typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,use:[]},P=["i18n"],_=["i18n"];function createConfig_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function createConfig_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?createConfig_ownKeys(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):createConfig_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var C=["backend","detection"],createConfig=function(e){if("string"!=typeof(null==e?void 0:e.lng))throw Error("config.lng was not passed into createConfig");var t,r,o,i=e.i18n,s=objectWithoutProperties_objectWithoutProperties(e,P),c=j.i18n,l=createConfig_objectSpread(createConfig_objectSpread(createConfig_objectSpread(createConfig_objectSpread({},objectWithoutProperties_objectWithoutProperties(j,_)),s),c),i),u=l.defaultNS,p=l.lng,f=l.localeExtension,d=l.localePath,g=l.nonExplicitSupportedLngs,h=l.locales.filter(function(e){return"default"!==e});if("cimode"===p)return l;if(void 0===l.fallbackLng&&(l.fallbackLng=l.defaultLocale,"default"===l.fallbackLng)){var y=slicedToArray_slicedToArray(h,1);l.fallbackLng=y[0]}var v=null==e?void 0:null===(t=e.interpolation)||void 0===t?void 0:t.prefix,m=null==e?void 0:null===(r=e.interpolation)||void 0===r?void 0:r.suffix,b=null!=v?v:"{{",O=null!=m?m:"}}";"string"!=typeof(null==e?void 0:e.localeStructure)&&(v||m)&&(l.localeStructure="".concat(b,"lng").concat(O,"/").concat(b,"ns").concat(O));var S=l.fallbackLng,k=l.localeStructure;if(g){var createFallbackObject=function(e,t){var r=slicedToArray_slicedToArray(t.split("-"),1)[0];return e[t]=[r],e};if("string"==typeof S)l.fallbackLng=l.locales.filter(function(e){return e.includes("-")}).reduce(createFallbackObject,{default:[S]});else if(Array.isArray(S))l.fallbackLng=l.locales.filter(function(e){return e.includes("-")}).reduce(createFallbackObject,{default:S});else if("object"===typeof_typeof(S))l.fallbackLng=Object.entries(l.fallbackLng).reduce(function(e,t){var r,o=slicedToArray_slicedToArray(t,2),i=o[0],s=o[1];return e[i]=i.includes("-")?(r=[i.split("-")[0]].concat(function(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(s)||_iterableToArray(s)||_unsupportedIterableToArray(s)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),Array.from(new Set(r))):s,e},S);else if("function"==typeof S)throw Error("If nonExplicitSupportedLngs is true, no functions are allowed for fallbackLng")}return(null==e?void 0:null===(o=e.use)||void 0===o?void 0:o.some(function(e){return"backend"===e.type}))||("string"==typeof d?l.backend={addPath:"".concat(d,"/").concat(k,".missing.").concat(f),loadPath:"".concat(d,"/").concat(k,".").concat(f)}:"function"!=typeof d||(l.backend={addPath:function(e,t){return d(e,t,!0)},loadPath:function(e,t){return d(e,t,!1)}})),"string"==typeof l.ns||Array.isArray(l.ns)||(l.ns=[u]),C.forEac
1h(function(t){e[t]&&(l[t]=createConfig_objectSpread(createConfig_objectSpread({},l[t]),e[t]))}),l};function _assertThisInitialized(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_setPrototypeOf(e,t)}function _possibleConstructorReturn(e,t){if(t&&("object"===typeof_typeof(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(e)}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ownKeys$6(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread$6(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$6(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$6(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var L={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){console&&console[e]&&console[e].apply(console,t)}},T=new(function(){function Logger(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,Logger),this.init(e,t)}return _createClass(Logger,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||L,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=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}},{key:"warn",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}},{key:"error",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}},{key:"deprecate",value:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}},{key:"forward",value:function(e,t,r,o){return o&&!this.debug?null:("string"==typeof e[0]&&(e[0]="".concat(r).concat(this.prefix," ").concat(e[0])),this.logger[t](e))}},{key:"create",value:function(e){return new Logger(this.logger,_objectSpread$6(_objectSpread$6({},{prefix:"".concat(this.prefix,":").concat(e,":")}),this.options))}},{key:"clone",value:function(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new Logger(this.logger,e)}}]),Logger}()),E=function(){function EventEmitter(){_classCallCheck(this,EventEmitter),this.observers={}}return _createClass(EventEmitter,[{key:"on",value:function(e,t){var r=this;return e.split(" ").forEach(function(e){r.observers[e]=r.observers[e]||[],r.observers[e].push(t)}),this}},{key:"off",value:function(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e]=this.observers[e].filter(function(e){return e!==t})}}},{key:"emit",value:function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];this.observers[e]&&[].concat(this.observers[e]).forEach(function(e){e.apply(void 0,r)}),this.observers["*"]&&[].concat(this.observers["*"]).forEach(function(t){t.apply(t,[e].concat(r))})}}]),EventEmitter}();function defer(){var e,t,r=new Promise(function(r,o){e=r,t=o});return r.resolve=e,r.reject=t,r}function makeString(e){return null==e?"":""+e}function getLastOfPath(e,t,r){function cleanKey(e){return e&&e.indexOf("###")>-1?e.replace(/###/g,"."):e}function canNotTraverseDeeper(){return!e||"string"==typeof e}for(var o="string"!=typeof t?[].concat(t):t.split(".");o.length>1;){if(canNotTraverseDeeper())return{};var i=cleanKey(o.shift());!e[i]&&r&&(e[i]=new r),e=Object.prototype.hasOwnProperty.call(e,i)?e[i]:{}}
1return canNotTraverseDeeper()?{}:{obj:e,k:cleanKey(o.shift())}}function setPath(e,t,r){var o=getLastOfPath(e,t,Object);o.obj[o.k]=r}function getPath(e,t){var r=getLastOfPath(e,t),o=r.obj,i=r.k;if(o)return o[i]}function getPathWithDefaults(e,t,r){var o=getPath(e,r);return void 0!==o?o:getPath(t,r)}function regexEscape(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var N={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};function i18next_escape(e){return"string"==typeof e?e.replace(/[&<>"'\/]/g,function(e){return N[e]}):e}var R="undefined"!=typeof window&&window.navigator&&void 0===window.navigator.userAgentData&&window.navigator.userAgent&&window.navigator.userAgent.indexOf("MSIE")>-1,I=[" ",",","?","!",";"];function ownKeys$5(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread$5(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$5(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$5(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var D=function(e){_inherits(ResourceStore,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=_getPrototypeOf(ResourceStore);if(t){var o=_getPrototypeOf(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return _possibleConstructorReturn(this,e)});function ResourceStore(e){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};return _classCallCheck(this,ResourceStore),t=r.call(this),R&&E.call(_assertThisInitialized(t)),t.data=e||{},t.options=o,void 0===t.options.keySeparator&&(t.options.keySeparator="."),void 0===t.options.ignoreJSONStructure&&(t.options.ignoreJSONStructure=!0),t}return _createClass(ResourceStore,[{key:"addNamespaces",value:function(e){0>this.options.ns.indexOf(e)&&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,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,s=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure,c=[e,t];r&&"string"!=typeof r&&(c=c.concat(r)),r&&"string"==typeof r&&(c=c.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(c=e.split("."));var l=getPath(this.data,c);return l||!s||"string"!=typeof r?l:function deepFind(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(e){if(e[t])return e[t];for(var o=t.split(r),i=e,s=0;s<o.length;++s){if(!i||"string"==typeof i[o[s]]&&s+1<o.length)return;if(void 0===i[o[s]]){for(var c=2,l=o.slice(s,s+c).join(r),u=i[l];void 0===u&&o.length>s+c;)c++,u=i[l=o.slice(s,s+c).join(r)];if(void 0===u)return;if(null===u)return null;if(t.endsWith(l)){if("string"==typeof u)return u;if(l&&"string"==typeof u[l])return u[l]}var p=o.slice(s+c).join(r);if(p)return deepFind(u,p,r);return}i=i[o[s]]}return i}}(this.data&&this.data[e]&&this.data[e][t],r,i)}},{key:"addResource",value:function(e,t,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},s=this.options.keySeparator;void 0===s&&(s=".");var c=[e,t];r&&(c=c.concat(s?r.split(s):r)),e.indexOf(".")>-1&&(c=e.split("."),o=t,t=c[1]),this.addNamespaces(t),setPath(this.data,c,o),i.silent||this.emit("added",e,t,r,o)}},{key:"addResources",value:function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(var i in r)("string"==typeof r[i]||"[object Array]"===Object.prototype.toString.apply(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});
1o.silent||this.emit("added",e,t,r)}},{key:"addResourceBundle",value:function(e,t,r,o,i){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1},c=[e,t];e.indexOf(".")>-1&&(c=e.split("."),o=r,r=t,t=c[1]),this.addNamespaces(t);var l=getPath(this.data,c)||{};o?function deepExtend(e,t,r){for(var o in t)"__proto__"!==o&&"constructor"!==o&&(o in e?"string"==typeof e[o]||e[o]instanceof String||"string"==typeof t[o]||t[o]instanceof String?r&&(e[o]=t[o]):deepExtend(e[o],t[o],r):e[o]=t[o]);return e}(l,r,i):l=_objectSpread$5(_objectSpread$5({},l),r),setPath(this.data,c,l),s.silent||this.emit("added",e,t,r)}},{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)?_objectSpread$5(_objectSpread$5({},{}),this.getResource(e,t)):this.getResource(e,t)}},{key:"getDataByLanguage",value:function(e){return this.data[e]}},{key:"hasLanguageSomeTranslations",value:function(e){var t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(function(e){return t[e]&&Object.keys(t[e]).length>0})}},{key:"toJSON",value:function(){return this.data}}]),ResourceStore}(E),$={processors:{},addPostProcessor:function(e){this.processors[e.name]=e},handle:function(e,t,r,o,i){var s=this;return e.forEach(function(e){s.processors[e]&&(t=s.processors[e].process(t,r,o,i))}),t}};function ownKeys$4(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread$4(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$4(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$4(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var F={},K=function(e){_inherits(Translator,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=_getPrototypeOf(Translator);if(t){var o=_getPrototypeOf(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return _possibleConstructorReturn(this,e)});function Translator(e){var t,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return _classCallCheck(this,Translator),t=r.call(this),R&&E.call(_assertThisInitialized(t)),!function(e,t,r){e.forEach(function(e){t[e]&&(r[e]=t[e])})}(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,_assertThisInitialized(t)),t.options=o,void 0===t.options.keySeparator&&(t.options.keySeparator="."),t.logger=T.create("translator"),t}return _createClass(Translator,[{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:{}};if(null==e)return!1;var r=this.resolve(e,t);return r&&void 0!==r.res}},{key:"extractFromKey",value:function(e,t){var r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");var o=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,i=t.ns||this.options.defaultNS||[],s=r&&e.indexOf(r)>-1,c=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!function(e,t,r){t=t||"",r=r||"";var o=I.filter(function(e){return 0>t.indexOf(e)&&0>r.indexOf(e)});if(0===o.length)return!0;var i=new RegExp("(".concat(o.map(function(e){return"?"===e?"\\?":e}).join("|"),")")),s=!i.test(e);if(!s){var c=e.indexOf(r);c>0&&!i.test(e.substring(0,c))&&(s=!0)}return s}(e,r,o);if(s&&!c){var l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:i};var u=e.split(r);(r!==o||r===o&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),e=u.join(o)}return"string"==typeof i&&(i=[i]),{key:e,namespaces:i}}},{key:"translate",value:function(e,t,r){var o=this;if("object"!==typeof_typeof(t)&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);var i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,s=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,c=this.extractFromKey(e[e.length-1],t),l=c.key,u=c.namespaces,p=u[u.length-1],f=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&"cimode"===f.toLowerCase()){if(d){var g=t.nsSeparator||this.options.nsSeparator;return i?{res:"".concat(p).concat(g).concat(l),usedKey:l,exactUsedKey:l,usedLng:f,usedNS:p}:"".concat(p).concat(g).concat(l)}return i?{res:l,usedKey:l,exactUsedKey:l,usedLng:f,usedNS:p}:l}var h=this.resolve(e,t),y=h&&h.res,v=h&&h.usedKey||l,m=h&&h.exactUsedKey||l,b=Object.prototype.toString.apply(y),O=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,k="string"!=typeof y&&"boolean"!=typeof y&&"number"!=typeof y;if(S&&y&&k&&0>["[object Number]","[object Function]","[object RegExp]"].indexOf(b)&&!("string"==typeof O&&"[object Array]"===b)){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");var x=this.options.returnedObjectHandler?this.options.returnedObjectHandler(v,y,_objectSpread$4(_objectSpread$4({},t),{},{ns:u})):"key '".concat(l," (").concat(this.language,")' returned an object instead of string.");return i?(h.res=x,h):x}if(s){var w="[object Array]"===b,j=w?[]:{},P=w?m:v;for(var _ in y)if(Object.prototype.hasOwnProperty.call(y,_)){var C="".concat(P).concat(s).concat(_);j[_]=this.translate(C,_objectSpread$4(_objectSpread$4({},t),{joinArrays:!1,ns:u})),j[_]===C&&(j[_]=y[_])}y=j}}else if(S&&"string"==typeof O&&"[object Array]"===b)(y=y.join(O))&&(y=this.extendTranslation(y,e,t,r));else{var L=!1,T=!1,E=void 0!==t.count&&"string"!=typeof t.count,N=Translator.hasDefaultValue(t),R=E?this.pluralResolver.getSuffix(f,t.count,t):"",I=t["defaultValue".concat(R)]||t.defaultValue;!this.isValidLookup(y)&&N&&(L=!0,y=I),this.isValidLookup(y)||(T=!0,y=l);var D=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&T?void 0:y,$=N&&I!==y&&this.options.updateMissing;if(T||L||$){if(this.logger.log($?"updateKey":"missingKey",f,p,l,$?I:y),s){var F=this.resolve(l,_objectSpread$4(_objectSpread$4({},t),{},{keySeparator:!1}));F&&F.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}var K=[],U=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&U&&U[0])for(var W=0;W<U.length;W++)K.push(U[W]);else"all"===this.options.saveMissingTo?K=this.languageUtils.toResolveHierarchy(t.lng||this.language):K.push(t.lng||this.language);var send=function(e,r,i){var s=N&&i!==y?i:D;o.options.missingKeyHandler?o.options.missingKeyHandler(e,p,r,s,$,t):o.backendConnector&&o.backendConnector.saveMissing&&o.backendConnector.saveMissing(e,p,r,s,$,t),o.emit("missingKey",e,p,r,y)};this.options.saveMissing&&(this.options.saveMissingPlurals&&E?K.forEac
1h(function(e){o.pluralResolver.getSuffixes(e,t).forEach(function(r){send([e],l+r,t["defaultValue".concat(r)]||I)})}):send(K,l,I))}y=this.extendTranslation(y,e,t,h,r),T&&y===l&&this.options.appendNamespaceToMissingKey&&(y="".concat(p,":").concat(l)),(T||L)&&this.options.parseMissingKeyHandler&&(y="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(p,":").concat(l):l,L?y:void 0):this.options.parseMissingKeyHandler(y))}return i?(h.res=y,h):y}},{key:"extendTranslation",value:function(e,t,r,o,i){var s=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,_objectSpread$4(_objectSpread$4({},this.options.interpolation.defaultVariables),r),o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(_objectSpread$4(_objectSpread$4({},r),{interpolation:_objectSpread$4(_objectSpread$4({},this.options.interpolation),r.interpolation)}));var c,l="string"==typeof e&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){var u=e.match(this.interpolator.nestingRegexp);c=u&&u.length}var p=r.replace&&"string"!=typeof r.replace?r.replace:r;if(this.options.interpolation.defaultVariables&&(p=_objectSpread$4(_objectSpread$4({},this.options.interpolation.defaultVariables),p)),e=this.interpolator.interpolate(e,p,r.lng||this.language,r),l){var f=e.match(this.interpolator.nestingRegexp);c<(f&&f.length)&&(r.nest=!1)}!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,o=Array(e),c=0;c<e;c++)o[c]=arguments[c];return i&&i[0]===o[0]&&!r.context?(s.logger.warn("It seems you are nesting recursively key: ".concat(o[0]," in key: ").concat(t[0])),null):s.translate.apply(s,o.concat([t]))},r)),r.interpolation&&this.interpolator.reset()}var d=r.postProcess||this.options.postProcess,g="string"==typeof d?[d]:d;return null!=e&&g&&g.length&&!1!==r.applyPostProcessor&&(e=$.handle(g,e,t,this.options&&this.options.postProcessPassResolved?_objectSpread$4({i18nResolved:o},r):r,this)),e}},{key:"resolve",value:function(e){var t,r,o,i,s,c=this,l=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=[e]),e.forEach(function(e){if(!c.isValidLookup(t)){var u=c.extractFromKey(e,l),p=u.key;r=p;var f=u.namespaces;c.options.fallbackNS&&(f=f.concat(c.options.fallbackNS));var d=void 0!==l.count&&"string"!=typeof l.count,g=d&&!l.ordinal&&0===l.count&&c.pluralResolver.shouldUseIntlApi(),h=void 0!==l.context&&("string"==typeof l.context||"number"==typeof l.context)&&""!==l.context,y=l.lngs?l.lngs:c.languageUtils.toResolveHierarchy(l.lng||c.language,l.fallbackLng);f.forEach(function(e){c.isValidLookup(t)||(s=e,!F["".concat(y[0],"-").concat(e)]&&c.utils&&c.utils.hasLoadedNamespace&&!c.utils.hasLoadedNamespace(s)&&(F["".concat(y[0],"-").concat(e)]=!0,c.logger.warn('key "'.concat(r,'" for languages "').concat(y.join(", "),'" won\'t get resolved as namespace "').concat(s,'" was not yet loaded'),"This means something IS WRONG in your 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!!!")),y.forEach(function(r){if(!c.isValidLookup(t)){i=r;var s,u=[p];if(c.i18nFormat&&c.i18nFormat.addLookupKeys)c.i18nFormat.addLookupKeys(u,p,r,e,l);else{d&&(f=c.pluralResolver.getSuffix(r,l.count,l));var f,y="".concat(c.options.pluralSeparator,"zero");if(d&&(u.push(p+f),g&&u.push(p+y)),h){var v="".concat(p).concat(c.options.contextSeparator).concat(l.context);u.push(v),d&&(u.push(v+f),g&&u.push(v+y))}}for(;s=u.pop();)c.isValidLookup(t)||(o=s,t=c.getResource(r,e,s,l))}}))})}}),{res:t,usedKey:r,exactUsedKey:o,usedLng:i,usedNS:s}}},{key:"isValidLookup",value:function(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}},{key:"getResource",value:function(e,t,r){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,o):this.resourceStore.getResource(e,t,r,o)}}],[{key:"hasDefaultValue",value:function(e){var t="defaultValue";for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}]),Translator}(E);function capitalize(e){return e.charAt(0).toUpperCase()+e.slice(1)}var U=function(){function LanguageUtil(e){_classCallCheck(this,LanguageUtil),this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=T.create("languageUtils")}return _createClass(LanguageUtil,[{key:"getScriptPartFromCode",value:function(e){if(!e||0>e.indexOf("-"))return null;var t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}},{key:"getLanguagePartFromCode",value:function(e){if(!e||0>e.indexOf("-"))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"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(function(e){return e.toLowerCase()}):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=capitalize(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=capitalize(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=capitalize(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}},{key:"isSupportedCode",value:function(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}},{key:"getBestMatchFromCodes",value:function(e){var t,r=this;return e?(e.forEach(function(e){if(!t){var o=r.formatLanguageCode(e);(!r.options.supportedLngs||r.isSupportedCode(o))&&(t=o)}}),!t&&this.options.supportedLngs&&e.forEach(function(e){if(!t){var o=r.getLanguagePartFromCode(e);if(r.isSupportedCode(o))return t=o;t=r.options.supportedLngs.find(function(e){if(0===e.indexOf(o))return e})}}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}},{key:"getFallbackCodes",value:function(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),"string"==typeof e&&(e=[e]),"[object Array]"===Object.prototype.toString.apply(e))return e;if(!t)return e.default||[];var r=e[t];
vendor: 4,128 bytes, line 1
1return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}},{key:"toResolveHierarchy",value:function(e,t){var r=this,o=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],addCode=function(e){e&&(r.isSupportedCode(e)?i.push(e):r.logger.warn("rejecting language code not found in supportedLngs: ".concat(e)))};return"string"==typeof e&&e.indexOf("-")>-1?("languageOnly"!==this.options.load&&addCode(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&addCode(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&addCode(this.getLanguagePartFromCode(e))):"string"==typeof e&&addCode(this.formatLanguageCode(e)),o.forEach(function(e){0>i.indexOf(e)&&addCode(r.formatLanguageCode(e))}),i}}]),LanguageUtil}(),W=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","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","kk","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","ht","id","ja","jbo","ka","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","iw"],nr:[1,2,20,21],fc:22}],M={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&&e%100!=11?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)}},V=["v1","v2","v3"],B={zero:0,one:1,two:2,few:3,many:4,other:5},H=function(){function PluralResolver(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};_classCallCheck(this,PluralResolver),this.languageUtils=e,this.options=r,this.logger=T.create("pluralResolver"),this.options.compatibilityJSON&&"v4"!==this.options.compatibilityJSON||"undefined"!=typeof Intl&&Intl.PluralRules||(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=(t={}
1,W.forEach(function(e){e.lngs.forEach(function(r){t[r]={numbers:e.nr,plurals:M[e.fc]}})}),t)}return _createClass(PluralResolver,[{key:"addRule",value:function(e,t){this.rules[e]=t}},{key:"getRule",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(e,{type:t.ordinal?"ordinal":"cardinal"})}catch(e){return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}},{key:"needsPlural",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}},{key:"getPluralFormsOfKey",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(function(e){return"".concat(t).concat(e)})}},{key:"getSuffixes",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=this.getRule(e,r);return o?this.shouldUseIntlApi()?o.resolvedOptions().pluralCategories.sort(function(e,t){return B[e]-B[t]}).map(function(e){return"".concat(t.options.prepend).concat(e)}):o.numbers.map(function(o){return t.getSuffix(e,o,r)}):[]}},{key:"getSuffix",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=this.getRule(e,r);return o?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(o.select(t)):this.getSuffixRetroCompatible(o,t):(this.logger.warn("no plural rule found for: ".concat(e)),"")}},{key:"getSuffixRetroCompatible",value:function(e,t){var r=this,o=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),i=e.numbers[o];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===i?i="plural":1===i&&(i=""));var returnSuffix=function(){return r.options.prepend&&i.toString()?r.options.prepend+i.toString():i.toString()};return"v1"===this.options.compatibilityJSON?1===i?"":"number"==typeof i?"_plural_".concat(i.toString()):returnSuffix():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?returnSuffix():this.options.prepend&&o.toString()?this.options.prepend+o.toString():o.toString()}},{key:"shouldUseIntlApi",value:function(){return!V.includes(this.options.compatibilityJSON)}}]),PluralResolver}();function ownKeys$3(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread$3(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$3(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$3(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var J=function(){function Interpolator(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,Interpolator),this.logger=T.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||function(e){return e},this.init(e)}return _createClass(Interpolator,[{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:i18next_escape,this.escapeValue=void 0===t.escapeValue||t.escapeValue,this.useRawValueToEscape=void 0!==t.useRawValueToEscape&&t.useRawValueToEscape,this.prefix=t.prefix?regexEscape(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?regexEscape(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?regexEscape(t.nestingPrefix):t.nestingPrefixEscaped||regexEscape("$t("),this.nestingSuffix=t.nestingSuffix?regexEscape(t.nestingSuffix
1):t.nestingSuffixEscaped||regexEscape(")"),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=RegExp(e,"g");var t="".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix);this.regexpUnescape=RegExp(t,"g");var r="".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix);this.nestingRegexp=RegExp(r,"g")}},{key:"interpolate",value:function(e,t,r,o){var i,s,c,l=this,u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function regexSafe(e){return e.replace(/\$/g,"$$$$")}var handleFormat=function(e){if(0>e.indexOf(l.formatSeparator)){var i=getPathWithDefaults(t,u,e);return l.alwaysFormat?l.format(i,void 0,r,_objectSpread$3(_objectSpread$3(_objectSpread$3({},o),t),{},{interpolationkey:e})):i}var s=e.split(l.formatSeparator),c=s.shift().trim(),p=s.join(l.formatSeparator).trim();return l.format(getPathWithDefaults(t,u,c),p,r,_objectSpread$3(_objectSpread$3(_objectSpread$3({},o),t),{},{interpolationkey:c}))};this.resetRegExp();var p=o&&o.missingInterpolationHandler||this.options.missingInterpolationHandler,f=o&&o.interpolation&&void 0!==o.interpolation.skipOnVariables?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:function(e){return regexSafe(e)}},{regex:this.regexp,safeValue:function(e){return l.escapeValue?regexSafe(l.escape(e)):regexSafe(e)}}].forEach(function(t){for(c=0;i=t.regex.exec(e);){var r=i[1].trim();if(void 0===(s=handleFormat(r))){if("function"==typeof p){var u=p(e,i,o);s="string"==typeof u?u:""}else if(o&&Object.prototype.hasOwnProperty.call(o,r))s="";else if(f){s=i[0];continue}else l.logger.warn("missed to pass in variable ".concat(r," for interpolating ").concat(e)),s=""}else"string"==typeof s||l.useRawValueToEscape||(s=makeString(s));var d=t.safeValue(s);if(e=e.replace(i[0],d),f?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=i[0].length):t.regex.lastIndex=0,++c>=l.maxReplaces)break}}),e}},{key:"nest",value:function(e,t){var r,o,i,s=this,c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};function handleHasOptions(e,t){var r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;var o=e.split(new RegExp("".concat(r,"[ ]*{"))),s="{".concat(o[1]);e=o[0];var c=(s=this.interpolate(s,i)).match(/'/g),l=s.match(/"/g);(c&&c.length%2==0&&!l||l.length%2!=0)&&(s=s.replace(/'/g,'"'));try{i=JSON.parse(s),t&&(i=_objectSpread$3(_objectSpread$3({},t),i))}catch(t){return this.logger.warn("failed parsing options string in nesting for key ".concat(e),t),"".concat(e).concat(r).concat(s)}return delete i.defaultValue,e}for(;r=this.nestingRegexp.exec(e);){var l=[];(i=(i=_objectSpread$3({},c)).replace&&"string"!=typeof i.replace?i.replace:i).applyPostProcessor=!1,delete i.defaultValue;var u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){var p=r[1].split(this.formatSeparator).map(function(e){return e.trim()});r[1]=p.shift(),l=p,u=!0}if((o=t(handleHasOptions.call(this,r[1].trim(),i),i))&&r[0]===e&&"string"!=typeof o)return o;"string"!=typeof o&&(o=makeString(o)),o||(this.logger.warn("missed to resolve ".concat(r[1]," for nesting ").concat(e)),o=""),u&&(o=l.reduce(function(e,t){return s.format(e,t,c.lng,_objectSpread$3(_objectSpread$3({},c),{},{interpolationkey:r[1].trim()}))},o.trim())),e=e.replace(r[0],o),this.regexp.lastIndex=0}return e}}]),Interpolator}();function ownKeys$2(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread$2(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?ownKeys$2(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$2(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function createCachedFormatter(e){var t={};return function(r,o,i){var s=o+JSON.stringify(i),c=t[s];return c||(c=e(o,i),t[s]=c),c(r)}}var q=function(){function Formatter(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};_classCallCheck(this,Formatter),this.logger=T.create("formatter"),this.options=e,this.formats={number:createCachedFormatter(function(e,t){var r=new Intl.NumberFormat(e,_objectSpread$2({},t));return function(e){return r.format(e)}}),currency:createCachedFormatter(function(e,t){var r=new Intl.NumberFormat(e,_objectSpread$2(_objectSpread$2({},t),{},{style:"currency"}));return function(e){return r.format(e)}}),datetime:createCachedFormatter(function(e,t){var r=new Intl.DateTimeFormat(e,_objectSpread$2({},t));return function(e){return r.format(e)}}),relativetime:createCachedFormatter(function(e,t){var r=new Intl.RelativeTimeFormat(e,_objectSpread$2({},t));return function(e){return r.format(e,t.range||"day")}}),list:createCachedFormatter(function(e,t){var r=new Intl.ListFormat(e,_objectSpread$2({},t));return function(e){return r.format(e)}})},this.init(e)}return _createClass(Formatter,[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}},r=t.interpolation;this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||","}},{key:"add",value:function(e,t){this.formats[e.toLowerCase().trim()]=t}},{key:"addCached",value:function(e,t){this.formats[e.toLowerCase().trim()]=createCachedFormatter(t)}},{key:"format",value:function(e,t,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return t.split(this.formatSeparator).reduce(function(e,t){var s=function(e){var t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){var o=e.split("(");t=o[0].toLowerCase().trim();var i=o[1].substring(0,o[1].length-1);"currency"===t&&0>i.indexOf(":")?r.currency||(r.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?r.range||(r.range=i.trim()):i.split(";").forEach(function(e){if(e){var t,o=_arrayWithHoles(t=e.split(":"))||_iterableToArray(t)||_unsupportedIterableToArray(t)||_nonIterableRest(),i=o[0],s=o.slice(1).join(":").trim().replace(/^'+|'+$/g,"");r[i.trim()]||(r[i.trim()]=s),"false"===s&&(r[i.trim()]=!1),"true"===s&&(r[i.trim()]=!0),isNaN(s)||(r[i.trim()]=parseInt(s,10))}})}return{formatName:t,formatOptions:r}}(t),c=s.formatName,l=s.formatOptions;if(o.formats[c]){var u=e;try{var p=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},f=p.locale||p.lng||i.locale||i.lng||r;u=o.formats[c](e,f,_objectSpread$2(_objectSpread$2(_objectSpread$2({},l),i),p))}catch(e){o.logger.warn(e)}return u}return o.logger.warn("there was no format function for ".concat(c)),e},e)}}]),Formatter}();function ownKeys$1(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function _objectSpread$1(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys$1(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys$1(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Y=function(e){_inherits(Connector,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=_getPrototypeOf(Connector);if(t){var o=_getPrototypeOf(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return _possibleConstructorReturn(this,e)});function Connector(e,t,o){var i,s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return _classCallCheck(this,Connector),i=r.call(this),R&&E.call(_assertThisInitialized(i)),i.backend=e,i.store=t,i.services=o,i.languageUtils=o.languageUtils,i.options=s,i.logger=T.create("backendConnector"),i.waitingReads=[],i.maxParallelReads=s.maxParallelReads||10,i.readingCalls=0,i.maxRetries=s.maxRetries>=0?s.maxRetries:5,i.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,i.state={},i.queue=[],i.backend&&i.backend.init&&i.backend.init(o,s.backend,s),i}return _createClass(Connector,[{key:"queueLoad",value:function(e,t,r,o){var i=this,s={},c={},l={},u={};return e.forEach(function(e){var o=!0;t.forEach(function(t){var l="".concat(e,"|").concat(t);!r.reload&&i.store.hasResourceBundle(e,t)?i.state[l]=2:i.state[l]<0||(1===i.state[l]?void 0===c[l]&&(c[l]=!0):(i.state[l]=1,o=!1,void 0===c[l]&&(c[l]=!0),void 0===s[l]&&(s[l]=!0),void 0===u[t]&&(u[t]=!0)))}),o||(l[e]=!0)}),(Object.keys(s).length||Object.keys(c).length)&&this.queue.push({pending:c,pendingCount:Object.keys(c).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(s),pending:Object.keys(c),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(u)}}},{key:"loaded",value:function(e,t,r){var o=e.split("|"),i=o[0],s=o[1];
1t&&this.emit("failedLoading",i,s,t),r&&this.store.addResourceBundle(i,s,r),this.state[e]=t?-1:2;var c={};this.queue.forEach(function(r){var o,l,u,p;(u=(l=getLastOfPath(r.loaded,[i],Object)).obj)[p=l.k]=u[p]||[],o&&(u[p]=u[p].concat(s)),o||u[p].push(s),void 0!==r.pending[e]&&(delete r.pending[e],r.pendingCount--),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(function(e){c[e]||(c[e]={});var t=r.loaded[e];t.length&&t.forEach(function(t){void 0===c[e][t]&&(c[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(function(e){return!e.done})}},{key:"read",value:function(e,t,r){var o=this,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,c=arguments.length>5?arguments[5]:void 0;if(!e.length)return c(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:r,tried:i,wait:s,callback:c});return}this.readingCalls++;var resolver=function(l,u){if(o.readingCalls--,o.waitingReads.length>0){var p=o.waitingReads.shift();o.read(p.lng,p.ns,p.fcName,p.tried,p.wait,p.callback)}if(l&&u&&i<o.maxRetries){setTimeout(function(){o.read.call(o,e,t,r,i+1,2*s,c)},s);return}c(l,u)},l=this.backend[r].bind(this.backend);if(2===l.length){try{var u=l(e,t);u&&"function"==typeof u.then?u.then(function(e){return resolver(null,e)}).catch(resolver):resolver(null,u)}catch(e){resolver(e)}return}return l(e,t,resolver)}},{key:"prepareLoading",value:function(e,t){var r=this,o=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 s=this.queueLoad(e,t,o,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(function(e){r.loadOne(e)})}},{key:"load",value:function(e,t,r){this.prepareLoading(e,t,{},r)}},{key:"reload",value:function(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}},{key:"loadOne",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e.split("|"),i=o[0],s=o[1];this.read(i,s,"read",void 0,void 0,function(o,c){o&&t.logger.warn("".concat(r,"loading namespace ").concat(s," for language ").concat(i," failed"),o),!o&&c&&t.logger.log("".concat(r,"loaded namespace ").concat(s," for language ").concat(i),c),t.loaded(e,o,c)})}},{key:"saveMissing",value:function(e,t,r,o,i){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:function(){};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn('did not save key "'.concat(r,'" as the namespace "').concat(t,'" was not yet loaded'),"This means something IS WRONG in your 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!!!");return}if(null!=r&&""!==r){if(this.backend&&this.backend.create){var l,u=_objectSpread$1(_objectSpread$1({},s),{},{isUpdate:i}),p=this.backend.create.bind(this.backend);if(p.length<6)try{(l=5===p.length?p(e,t,r,o,u):p(e,t,r,o))&&"function"==typeof l.then?l.then(function(e){return c(null,e)}).catch(c):c(null,l)}catch(e){c(e)}else p(e,t,r,o,c,u)}e&&e[0]&&this.store.addResource(e[0],t,r,o)}}}]),Connector}(E);function get(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!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"===typeof_typeof(e[1])&&(t=e[1]),"string"==typeof e[1]&&(t.defaultValue=e[1]),"string"==typeof e[2]&&(t.tDescription=e[2]),"object"===typeof_typeof(e[2])||"object"===typeof_typeof(e[3])){var r=e[3]||e[2];Object.keys(r).forEach(function(e){t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:function(e,t,r,o){return e},prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function transformOptions(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.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function i18next_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function i18next_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?i18next_ownKeys(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i18next_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function noop(){}var Z=function(e){_inherits(I18n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r=_getPrototypeOf(I18n);if(t){var o=_getPrototypeOf(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return _possibleConstructorReturn(this,e)});function I18n(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1?arguments[1]:void 0;if(_classCallCheck(this,I18n),e=r.call(this),R&&E.call(_assertThisInitialized(e)),e.options=transformOptions(t),e.services={},e.logger=T,e.modules={external:[]},!function(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(function(t){"function"==typeof e[t]&&(e[t]=e[t].bind(e))})}(_assertThisInitialized(e)),o&&!e.isInitialized&&!t.isClone){if(!e.options.initImmediate)return e.init(t,o),_possibleConstructorReturn(e,_assertThisInitialized(e));setTimeout(function(){e.init(t,o)},0)}return e}return _createClass(I18n,[{key:"init",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&("string"==typeof t.ns?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));var o=get();function createClassOnDemand(e){return e?"function"==typeof e?new e:e:null}if(this.options=i18next_objectSpread(i18next_objectSpread(i18next_objectSpread({},o),this.options),transformOptions(t)),"v1"!==this.options.compatibilityAPI&&(this.options.interpolation=i18next_objectSpread(i18next_objectSpread({},o.interpolation),this.options.interpolation)),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator),!this.options.isClone){this.modules.logger?T.init(createClassOnDemand(this.modules.logger),this.options):T.init(null,this.options),this.modules.formatter?i=this.modules.formatter:"undefined"!=typeof Intl&&(i=q);var i,s=new U(this.options);this.store=new D(this.options.resources,this.options);var c=this.services;c.logger=T,c.resourceStore=this.store,c.languageUtils=s,c.pluralResolver=new H(s,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),i&&(!this.options.interpolation.format||this.options.interpolation.format===o.interpolation.format)&&(c.formatter=createClassOnDemand(i),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new J(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new Y(createClassOnDemand(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];e.emit.apply(e,[t].concat(o))}),this.modules.languageDetector&&(c.languageDetector=createClassOnDemand(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=createClassOnDemand(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new K(this.services,this.options),this.translator.on("*",function(t){for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];e.emit.apply(e,[t].concat(o))}),this.modules.external.forEach(function(t){t.init&&t.init(e)})}if(this.format=this.options.interpolation.format,r||(r=noop),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){var l=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);l.length>0&&"dev"!==l[0]&&(this.options.lng=l[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(function(t){e[t]=function(){var r;return(r=e.store)[t].apply(r,arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(function(t){e[t]=function(){var r;return(r=e.store)[t].apply(r,arguments),e}});var u=defer(),load=function(){var finish=function(t,o){e.isInitialized&&!e.initializedStoreOnce&&e.logger.warn("init: i18next is already initialized. You should call init just once!"),e.isInitialized=!0,e.options.isClone||e.logger.log("initialized",e.options),e.emit("initialized",e.options),u.resolve(o),r(t,o)};if(e.languages&&"v1"!==e.options.compatibilityAPI&&!e.isInitialized)return finish(null,e.t.bind(e));e.changeLanguage(e.options.lng,finish)};return this.options.resources||!this.options.initImmediate?load():setTimeout(load,0),u}},{key:"loadResources",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:noop,o=r,i="string"==typeof e?e:this.language;if("function"==typeof e&&(o=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase())return o();var s=[],append=function(e){e&&t.services.languageUtils.toResolveHierarchy(e).forEach(function(e){0>s.indexOf(e)&&s.push(e)})};i?append(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(function(e){return append(e)}
1),this.options.preload&&this.options.preload.forEach(function(e){return append(e)}),this.services.backendConnector.load(s,this.options.ns,function(e){e||t.resolvedLanguage||!t.language||t.setResolvedLanguage(t.language),o(e)})}else o(null)}},{key:"reloadResources",value:function(e,t,r){var o=defer();return e||(e=this.languages),t||(t=this.options.ns),r||(r=noop),this.services.backendConnector.reload(e,t,function(e){o.resolve(),r(e)}),o}},{key:"use",value:function(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw 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&&$.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}},{key:"setResolvedLanguage",value:function(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(var t=0;t<this.languages.length;t++){var r=this.languages[t];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}},{key:"changeLanguage",value:function(e,t){var r=this;this.isLanguageChangingTo=e;var o=defer();this.emit("languageChanging",e);var setLngProps=function(e){r.language=e,r.languages=r.services.languageUtils.toResolveHierarchy(e),r.resolvedLanguage=void 0,r.setResolvedLanguage(e)},done=function(e,i){i?(setLngProps(i),r.translator.changeLanguage(i),r.isLanguageChangingTo=void 0,r.emit("languageChanged",i),r.logger.log("languageChanged",i)):r.isLanguageChangingTo=void 0,o.resolve(function(){return r.t.apply(r,arguments)}),t&&t(e,function(){return r.t.apply(r,arguments)})},setLng=function(t){e||t||!r.services.languageDetector||(t=[]);var o="string"==typeof t?t:r.services.languageUtils.getBestMatchFromCodes(t);o&&(r.language||setLngProps(o),r.translator.language||r.translator.changeLanguage(o),r.services.languageDetector&&r.services.languageDetector.cacheUserLanguage&&r.services.languageDetector.cacheUserLanguage(o)),r.loadResources(o,function(e){done(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(setLng):this.services.languageDetector.detect(setLng):setLng(e):setLng(this.services.languageDetector.detect()),o}},{key:"getFixedT",value:function(e,t,r){var o=this,fixedT=function fixedT(e,t){if("object"!==typeof_typeof(t)){for(var i,s,c=arguments.length,l=Array(c>2?c-2:0),u=2;u<c;u++)l[u-2]=arguments[u];i=o.options.overloadTranslationOptionHandler([e,t].concat(l))}else i=i18next_objectSpread({},t);i.lng=i.lng||fixedT.lng,i.lngs=i.lngs||fixedT.lngs,i.ns=i.ns||fixedT.ns,i.keyPrefix=i.keyPrefix||r||fixedT.keyPrefix;var p=o.options.keySeparator||".";return s=i.keyPrefix&&Array.isArray(e)?e.map(function(e){return"".concat(i.keyPrefix).concat(p).concat(e)}):i.keyPrefix?"".concat(i.keyPrefix).concat(p).concat(e):e,o.t(s,i)};return"string"==typeof e?fixedT.lng=e:fixedT.lngs=e,fixedT.ns=t,fixedT.keyPrefix=r,fixedT}},{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,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;
1if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;var o=this.resolvedLanguage||this.languages[0],i=!!this.options&&this.options.fallbackLng,s=this.languages[this.languages.length-1];if("cimode"===o.toLowerCase())return!0;var loadNotPending=function(e,r){var o=t.services.backendConnector.state["".concat(e,"|").concat(r)];return -1===o||2===o};if(r.precheck){var c=r.precheck(this,loadNotPending);if(void 0!==c)return c}return!!(this.hasResourceBundle(o,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||loadNotPending(o,e)&&(!i||loadNotPending(s,e)))}},{key:"loadNamespaces",value:function(e,t){var r=this,o=defer();return this.options.ns?("string"==typeof e&&(e=[e]),e.forEach(function(e){0>r.options.ns.indexOf(e)&&r.options.ns.push(e)}),this.loadResources(function(e){o.resolve(),t&&t(e)}),o):(t&&t(),Promise.resolve())}},{key:"loadLanguages",value:function(e,t){var r=defer();"string"==typeof e&&(e=[e]);var o=this.options.preload||[],i=e.filter(function(e){return 0>o.indexOf(e)});return i.length?(this.options.preload=o.concat(i),this.loadResources(function(e){r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}},{key:"dir",value:function(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["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","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new U(get())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}},{key:"cloneInstance",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:noop,o=i18next_objectSpread(i18next_objectSpread(i18next_objectSpread({},this.options),t),{isClone:!0}),i=new I18n(o);return(void 0!==t.debug||void 0!==t.prefix)&&(i.logger=i.logger.clone(t)),["store","services","language"].forEach(function(t){i[t]=e[t]}),i.services=i18next_objectSpread({},this.services),i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i.translator=new K(i.services,i.options),i.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];i.emit.apply(i,[e].concat(r))}),i.init(o,r),i.translator.options=i.options,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}},{key:"toJSON",value:function(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}]),I18n}(E);defineProperty_defineProperty(Z,"createInstance",function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new Z(e,t)});var X=Z.createInstance();X.createInstance=Z.createInstance,X.createInstance,X.dir,X.init,X.loadResources,X.reloadResources,X.use,X.changeLanguage,X.getFixedT,X.t,X.exists,X.setDefaultNamespace,X.hasLoadedNamespace,X.loadNamespaces,X.loadLanguages;var browser=function(e){void 0===e.ns&&(e.ns=[]);var t,r,o=X.createInstance(e);return o.isInitialized?t=Promise.resolve(X.t):(null==e||null===(r=e.use)||void 0===r||r.forEach(function(e){return o.use(e)}),"function"==typeof e.onPreInitI18next&&e.onPreInitI18next(o),t=o.init(e)),{i18n:o,initPromise:t}},G=i.createElement;function appWithTranslation_ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,o)}return r}function appWithTranslation_objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?appWithTranslation_ownKeys(Object(r),!0).forEach(function(t){defineProperty_defineProperty(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):appWithTranslation_ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var appWithTranslation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return w()(function(r){var o,s,c=(r.pageProps||{})._nextI18Next,l=null!==(o=null==c?void 0:c.initialLocale)&&void 0!==o?o:null==r?void 0:null===(s=r.router)||void 0===s?void 0:s.locale,u=null==c?void 0:c.ns,p=(0,i.useMemo)(function(){if(!c&&!t)return null;var e,r=null!=t?t:null==c?void 0:c.userConfig;if(!r)throw Error("appWithTranslation was called without a next-i18next config");if(!(null!=r&&r.i18n))throw Error("appWithTranslation was called without config.i18n");if(!(null!=r&&null!==(e=r.i18n)&&void 0!==e&&e.defaultLocale))throw Error("config.i18n does not include a defaultLocale property");var o=(c||{}).initialI18nStore,i=null!=t&&t.resources?t.resources:o;return l||(l=r.i18n.defaultLocale),browser(appWithTranslation_objectSpread(appWithTranslation_objectSpread({},createConfig(appWithTranslation_objectSpread(appWithTranslation_objectSpread({},r),{},{lng:l}))),{},{lng:l,ns:u,resources:i})).i18n},[c,l,t,u]);return null!==p?G(I18nextProvider,{i18n:p},G(e,r)):G(e,_extends({key:l},r))},e)}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(7764)}])},39615:function(e,t,r){"use strict";r.d(t,{i:function(){return sendAwesomeEvent},l:function(){return initAwesomeAnalyticsDomTracking}});let o=!1,sendAwesomeEvent=(e,t)=>{var r,o;null===(o=window.__cf_awesome_analytics)||void 0===o||null===(r=o.sendEvent)||void 0===r||r.call(o,e,t)},getClickTargets=e=>{let t={actionElement:null,link:null,button:null};return e.composedPath().forEach(e=>{e instanceof Element&&(!t.actionElement&&e instanceof HTMLElement&&e.hasAttribute("data-action")&&(t.actionElement=e),!t.link&&e instanceof HTMLAnchorElement&&!e.hasAttribute("data-action")&&e.href&&(t.link=e),!t.button&&e instanceof HTMLButtonElement&&!e.hasAttribute("data-action")&&(t.button=e))}),t},getDataEvent=e=>{let t=Object.values(e.attributes).reduce((e,t)=>{if(!t.name.startsWith("data-"))return e;if(t.name.startsWith("data-category-"))return e.category=t.name.replace("data-category-",""),e;if(t.name.startsWith("data-bag-")){let r=t.name.replace("data-bag-","");return e.propertyBag={...e.propertyBag,[r]:t.value},e}return"data-action"===t.name&&(e.action=t.value),e},{category:"landing page",action:"",propertyBag:{}});return t.action?t:null},initAwesomeAnalyticsDomTracking=()=>{o||(o=!0,document.addEventListener("click",e=>{let{actionElement:t,link:r,button:o}=getClickTargets(e),i=t?getDataEvent(t):null;i&&sendAwesomeEvent(i),r&&sendAwesomeEvent({category:"lp-link-click",action:"click chatfuel link",propertyBag:{link:r.href,label:r.innerText}}),o&&sendAwesomeEvent({category:"lp-button-click",action:"click chatfuel button",propertyBag:{label:o.innerText}})},!0))}},51175:function(e,t,r){"use strict";let o=r(40013),i=o.default||o;e.exports={serializeConfig:!1,use:[i],detection:{caches:["cookie"],order:["cookie"],excludeCacheFor:[],cookieMinutes:10080},i18n:{defaultLocale:"en",locales:["en","es","pt"]},fallbackLng:{default:["en"]},reactStrictMode:!0,debug:!1,reloadOnPrerender:!1}},7764:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return b}});var o=r(85893),i=r(11163),s=r(67294),c=r(27561),l=r(51175),u=r.n(l);r(89140),r(52028);var p=r(13446),f=r(31955);let d="utm_",normalizeKey=e=>e.trim().toLowerCase(),normalizeValue=e=>e.trim(),normalizeLandingUtmParams=e=>e?Object.fromEntries(Object.entries(e).filter(e=>"string"==typeof e[1]).map(e=>{let[t,r]=e;return[normalizeKey(t),normalizeValue(r)]}).filter(e=>{let[t,r]=e;return t.startsWith(d)&&!!r}).sort((e,t)=>{let[r]=e,[o]=t;return r.localeCompare(o)})):{},serializeLandingUtmParams=e=>{let t=normalizeLandingUtmParams(e);return 0===Object.keys(t).length?null:JSON.stringify(t)},getLandingUtmParamsFromSearch=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,t=new URLSearchParams(e);return normalizeLandingUtmParams(Object.fromEntries(Array.from(t.entries()).filter(e=>{let[t]=e;return normalizeKey(t).startsWith(d)})))},collectLandingUtmParams=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,t=getLandingUtmParamsFromSearch(e),r=serializeLandingUtmParams(t);return r?(f.Z.set("landing_utm_params",r,{expires:30,domain:".chatfuel.com"}),t):null};var g=r(91296),h=r.n(g),y=r(39615);let v=["aibookingflow","cf_bookingplatform_latamspain_quiz_reg_ugc_151225","cf_bookingplatform_latamspain_landing_reg_topcreo_251225"],m=h()(e=>{var t,r,o,i,s;null===(r=window.__cf_awesome_analytics)||void 0===r||null===(t=r.sendVisitEvent)||void 0===t||t.call(r),collectLandingUtmParams();let c=null!==(s=null===(i=e.query)||void 0===i?void 0:null===(o=i.utm_campaign)||void 0===o?void 0:o.toLowerCase())&&void 0!==s?s:"";v.some(e=>c.includes(e))&&(0,p.P)(),Array.from(document.querySelectorAll("a")).filter(e=>
1e.href.includes("https://panel.chatfuel.com")).forEach(e=>e.addEventListener("click",()=>{window.fbq&&window.fbq("track","ViewContent")})),window.fbq&&window.fbq("track","PageView")},300);var b=(0,c.Jc)(function(e){let{Component:t,pageProps:r}=e,c=(0,i.useRouter)();return(0,s.useEffect)(()=>{m(c)},[c]),(0,s.useEffect)(()=>{var e,t,r,o,i;(0,y.l)(),null===(t=window.__cf_awesome_analytics)||void 0===t||null===(e=t.posthog)||void 0===e||e.init(),null===(i=window.__cf_awesome_analytics)||void 0===i||null===(o=i.posthog)||void 0===o||null===(r=o.stopSessionRecording)||void 0===r||r.call(o)},[]),(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(t,{...r})})},u())},13446:function(e,t,r){"use strict";r.d(t,{A:function(){return setLocaleCookie},P:function(){return setAiBookingFlowByAdsCookie}});var o=r(31955);let setLocaleCookie=e=>{o.Z.set("i18next",e,{expires:30})},setAiBookingFlowByAdsCookie=()=>{o.Z.set("preselected_aibookingflow","true",{expires:30,domain:".chatfuel.com"})}},89140:function(){},52028:function(){},11163:function(e,t,r){e.exports=r(59974)},69921:function(e,t){"use strict";/** @license React v16.13.1
2 * react-is.production.min.js
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,s=r?Symbol.for("react.fragment"):60107,c=r?Symbol.for("react.strict_mode"):60108,l=r?Symbol.for("react.profiler"):60114,u=r?Symbol.for("react.provider"):60109,p=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,g=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,y=r?Symbol.for("react.suspense_list"):60120,v=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,O=r?Symbol.for("react.fundamental"):60117,S=r?Symbol.for("react.responder"):60118,k=r?Symbol.for("react.scope"):60119;function z(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case d:case s:case l:case c:case h:return e;default:switch(e=e&&e.$$typeof){case p:case g:case m:case v:case u:return e;default:return t}}case i:return t}}}function A(e){return z(e)===d}t.AsyncMode=f,t.ConcurrentMode=d,t.ContextConsumer=p,t.ContextProvider=u,t.Element=o,t.ForwardRef=g,t.Fragment=s,t.Lazy=m,t.Memo=v,t.Portal=i,t.Profiler=l,t.StrictMode=c,t.Suspense=h,t.isAsyncMode=function(e){return A(e)||z(e)===f},t.isConcurrentMode=A,t.isContextConsumer=function(e){return z(e)===p},t.isContextProvider=function(e){return z(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return z(e)===g},t.isFragment=function(e){return z(e)===s},t.isLazy=function(e){return z(e)===m},t.isMemo=function(e){return z(e)===v},t.isPortal=function(e){return z(e)===i},t.isProfiler=function(e){return z(e)===l},t.isStrictMode=function(e){return z(e)===c},t.isSuspense=function(e){return z(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===s||e===d||e===l||e===c||e===h||e===y||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===v||e.$$typeof===u||e.$$typeof===p||e.$$typeof===g||e.$$typeof===O||e.$$typeof===S||e.$$typeof===k||e.$$typeof===b)},t.typeOf=z},59864:function(e,t,r){"use strict";e.exports=r(69921)},71739:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},56690:function(e){e.exports=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},89728:function(e,t,r){var o=r(64062);function _defineProperties(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,o(i.key),i)}}e.exports=function(e,t,r){return t&&_defineProperties(e.prototype,t),r&&_defineProperties(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},95036:function(e,t,r){var o=r(18698).default;e.exports=function(e,t){if("object"!==o(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,t||"default");if("object"!==o(i))return i;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},64062:function(e,t,r){var o=r(18698).default,i=r(95036);e.exports=function(e){var t=i(e,"string");return"symbol"===o(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},18698:function(e){function _typeof(t){return e.exports=_typeof="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.exports.__esModule=!0,e.exports.default=e.exports,_typeof(t)}e.exports=_typeof,e.exports.__esModule=!0,e.exports.default=e.exports},31955:function(e,t){"use strict";/*! js-cookie v3.0.1 | MIT */function assign(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)e[o]=r[o]}return e}
8var r=function init(e,t){function set(r,o,i){if("undefined"!=typeof document){"number"==typeof(i=assign({},t,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var c in i)i[c]&&(s+="; "+c,!0!==i[c]&&(s+="="+i[c].split(";")[0]));return document.cookie=r+"="+e.write(o,r)+s}}return Object.create({set:set,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],o={},i=0;i<r.length;i++){var s=r[i].split("="),c=s.slice(1).join("=");try{var l=decodeURIComponent(s[0]);if(o[l]=e.read(c,l),t===l)break}catch(e){}}return t?o[t]:o}},remove:function(e,t){set(e,"",assign({},t,{expires:-1}))},withAttributes:function(e){return init(this.converter,assign({},this.attributes,e))},withConverter:function(e){return init(assign({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=r}},function(e){var __webpack_exec__=function(t){return e(e.s=t)};e.O(0,[9774,179],function(){return __webpack_exec__(6840),__webpack_exec__(59974)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.