PageSourceSearch

https://canfly.ai/assets/vendor-i18n-BGlGq9Jg.js

js canfly.ai collected 2026-10-05 13:51:51 UTC 57,393 bytes, 1 lines download raw bytes

vendor: 4,801 bytes, line 1
1function Ye(r,e){for(var t=0;t<e.length;t++){const s=e[t];if(typeof s!="string"&&!Array.isArray(s)){for(const n in s)if(n!=="default"&&!(n in r)){const i=Object.getOwnPropertyDescriptor(s,n);i&&Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:()=>s[n]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var Ft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Je(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}function Dt(r){if(Object.prototype.hasOwnProperty.call(r,"__esModule"))return r;var e=r.default;if(typeof e=="function"){var t=function s(){var n=!1;try{n=this instanceof s}catch{}return n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};t.prototype=e.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(r).forEach(function(s){var n=Object.getOwnPropertyDescriptor(r,s);Object.defineProperty(t,s,n.get?n:{enumerable:!0,get:function(){return r[s]}})}),t}var ue={exports:{}},b={};var xe;function We(){if(xe)return b;xe=1;var r=Symbol.for("react.transitional.element"),e=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),n=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),a=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),c=Symbol.for("react.activity"),p=Symbol.iterator;function m(o){return o===null||typeof o!="object"?null:(o=p&&o[p]||o["@@iterator"],typeof o=="function"?o:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},L=Object.assign,N={};function j(o,d,y){this.props=o,this.context=d,this.refs=N,this.updater=y||g}j.prototype.isReactComponent={},j.prototype.setState=function(o,d){if(typeof o!="object"&&typeof o!="function"&&o!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,o,d,"setState")},j.prototype.forceUpdate=function(o){this.updater.enqueueForceUpdate(this,o,"forceUpdate")};function $(){}$.prototype=j.prototype;function k(o,d,y){this.props=o,this.context=d,this.refs=N,this.updater=y||g}var T=k.prototype=new $;T.constructor=k,L(T,j.prototype),T.isPureReactComponent=!0;var F=Array.isArray;function K(){}var O={H:null,A:null,T:null,S:null},Y=Object.prototype.hasOwnProperty;function w(o,d,y){var x=y.ref;return{$$typeof:r,type:o,key:d,ref:x!==void 0?x:null,props:y}}function v(o,d){return w(o.type,d,o.props)}function C(o){return typeof o=="object"&&o!==null&&o.$$typeof===r}function _(o){var d={"=":"=0",":":"=2"};return"$"+o.replace(/[=:]/g,function(y){return d[y]})}var I=/\/+/g;function A(o,d){return typeof o=="object"&&o!==null&&o.key!=null?_(""+o.key):d.toString(36)}function Q(o){switch(o.status){case"fulfilled":return o.value;case"rejected":throw o.reason;default:switch(typeof o.status=="string"?o.then(K,K):(o.status="pending",o.then(function(d){o.status==="pending"&&(o.status="fulfilled",o.value=d)},function(d){o.status==="pending"&&(o.status="rejected",o.reason=d)})),o.status){case"fulfilled":return o.value;case"rejected":throw o.reason}}throw o}function D(o,d,y,x,R){var E=typeof o;(E==="undefined"||E==="boolean")&&(o=null);var P=!1;if(o===null)P=!0;else switch(E){case"bigint":case"string":case"number":P=!0;break;case"object":switch(o.$$typeof){case r:case e:P=!0;break;case h:return P=o._init,D(P(o._payload),d,y,x,R)}}if(P)return R=R(o),P=x===""?"."+A(o,0):x,F(R)?(y="",P!=null&&(y=P.replace(I,"$&/")+"/"),D(R,d,y,"",function(Be){return Be})):R!=null&&(C(R)&&(R=v(R,y+(R.key==null||o&&o.key===R.key?"":(""+R.key).replace(I,"$&/")+"/")+P)),d.push(R)),1;P=0;var z=x===""?".":x+":";if(F(o))for(var U=0;U<o.length;U++)x=o[U],E=z+A(x,U),P+=D(x,d,y,E,R);else if(U=m(o),typeof U=="function")for(o=U.call(o),U=0;!(x=o.next()).done;)x=x.value,E=z+A(x,U++),P+=D(x,d,y,E,R);else if(E==="object"){if(typeof o.then=="function")return D(Q(o),d,y,x,R);throw d=String(o),Error("Objects are not valid as a React child (found: "+(d==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":d)+"). If you meant to render a collection of children, use an array instead.")}return P}function M(o,d,y){if(o==null)return o;var x=[],R=0;return D(o,x,"","",function(E){return d.call(y,E,R++)}),x}function J(o){if(o._status===-1){var d=o._result;d=d(),d.then(function(y){(o._status===0||o._status===-1)&&(o._status=1,o._result=y)},function(y){(o._status===0||o._status===-1)&&(o._status=2,o._result=y)}),o._status===-1&&(o._status=0,o._result=d)}if(o._status===1)return o._result.default;throw o._result}
vendor: 1,293 bytes, line 1
1var W=typeof reportError=="function"?reportError:function(o){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var d=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof o=="object"&&o!==null&&typeof o.message=="string"?String(o.message):String(o),error:o});if(!window.dispatchEvent(d))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",o);return}console.error(o)},ne={map:M,forEach:function(o,d,y){M(o,function(){d.apply(this,arguments)},y)},count:function(o){var d=0;return M(o,function(){d++}),d},toArray:function(o){return M(o,function(d){return d})||[]},only:function(o){if(!C(o))throw Error("React.Children.only expected to receive a single React element child.");return o}};return b.Activity=c,b.Children=ne,b.Component=j,b.Fragment=t,b.Profiler=n,b.PureComponent=k,b.StrictMode=s,b.Suspense=l,b.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=O,b.__COMPILER_RUNTIME={__proto__:null,c:function(o){return O.H.useMemoCache(o)}},b.cache=function(o){return function(){return o.apply(null,arguments)}},b.cacheSignal=function(){return null},b.cloneElement=function(o,d,y){if(o==null)throw Error("The argument must be a React element, but you passed "+o+".");var x=L({},o.props),R=o.key;
1if(d!=null)for(E in d.key!==void 0&&(R=""+d.key),d)!Y.call(d,E)||E==="key"||E==="__self"||E==="__source"||E==="ref"&&d.ref===void 0||(x[E]=d[E]);var E=arguments.length-2;if(E===1)x.children=y;else if(1<E){for(var P=Array(E),z=0;z<E;z++)P[z]=arguments[z+2];x.children=P}return w(o.type,R,x)},b.createContext=function(o){return o={$$typeof:a,_currentValue:o,_currentValue2:o,_threadCount:0,Provider:null,Consumer:null},o.Provider=o,o.Consumer={$$typeof:i,_context:o},o},b.createElement=function(o,d,y){var x,R={},E=null;if(d!=null)for(x in d.key!==void 0&&(E=""+d.key),d)Y.call(d,x)&&x!=="key"&&x!=="__self"&&x!=="__source"&&(R[x]=d[x]);var P=arguments.length-2;if(P===1)R.children=y;else if(1<P){for(var z=Array(P),U=0;U<P;U++)z[U]=arguments[U+2];R.children=z}if(o&&o.defaultProps)for(x in P=o.defaultProps,P)R[x]===void 0&&(R[x]=P[x]);return w(o,E,R)},b.createRef=function(){return{current:null}},b.forwardRef=function(o){return{$$typeof:u,render:o}},b.isValidElement=C,b.lazy=function(o){return{$$typeof:h,_payload:{_status:-1,_result:o},_init:J}},b.memo=function(o,d){return{$$typeof:f,type:o,compare:d===void 0?null:d}},b.startTransition=function(o){var d=O.T,y={};O.T=y;try{var x=o(),R=O.S;R!==null&&R(y,x),typeof x=="object"&&x!==null&&typeof x.then=="function"&&x.then(K,W)}catch(E){W(E)}finally{d!==null&&y.types!==null&&(d.types=y.types),O.T=d}},b.unstable_useCacheRefresh=function(){return O.H.useCacheRefresh()},b.use=function(o){return O.H.use(o)},b.useActionState=function(o,d,y){return O.H.useActionState(o,d,y)},b.useCallback=function(o,d){return O.H.useCallback(o,d)},b.useContext=function(o){return O.H.useContext(o)},b.useDebugValue=function(){},b.useDeferredValue=function(o,d){return O.H.useDeferredValue(o,d)},b.useEffect=function(o,d){return O.H.useEffect(o,d)},b.useEffectEvent=function(o){return O.H.useEffectEvent(o)},b.useId=function(){return O.H.useId()},b.useImperativeHandle=function(o,d,y){return O.H.useImperativeHandle(o,d,y)},b.useInsertionEffect=function(o,d){return O.H.useInsertionEffect(o,d)},b.useLayoutEffect=function(o,d){return O.H.useLayoutEffect(o,d)},b.useMemo=function(o,d){return O.H.useMemo(o,d)},b.useOptimistic=function(o,d){return O.H.useOptimistic(o,d)},b.useReducer=function(o,d,y){return O.H.useReducer(o,d,y)},b.useRef=function(o){return O.H.useRef(o)},b.useState=function(o){return O.H.useState(o)},b.useSyncExternalStore=function(o,d,y){return O.H.useSyncExternalStore(o,d,y)},b.useTransition=function(){return O.H.useTransition()},b.version="19.2.4",b}var Se;function Fe(){return Se||(Se=1,ue.exports=We()),ue.exports}var H=Fe();const qe=Je(H),Ht=Ye({__proto__:null,default:qe},[H]),S=r=>typeof r=="string",Z=()=>{let r,e;const t=new Promise((s,n)=>{r=s,e=n});return t.resolve=r,t.reject=e,t},be=r=>r==null?"":""+r,Ge=(r,e,t)=>{r.forEach(s=>{e[s]&&(t[s]=e[s])})},Qe=/###/g,Oe=r=>r&&r.indexOf("###")>-1?r.replace(Qe,"."):r,ve=r=>!r||S(r),X=(r,e,t)=>{const s=S(e)?e.split("."):e;let n=0;for(;n<s.length-1;){if(ve(r))return{};const i=Oe(s[n]);!r[i]&&t&&(r[i]=new t),Object.prototype.hasOwnProperty.call(r,i)?r=r[i]:r={},++n}return ve(r)?{}:{obj:r,k:Oe(s[n])}},we=(r,e,t)=>{const{obj:s,k:n}=X(r,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let i=e[e.length-1],a=e.slice(0,e.length-1),u=X(r,a,Object);for(;u.obj===void 0&&a.length;)i=`${a[a.length-1]}.${i}`,a=a.slice(0,a.length-1),u=X(r,a,Object),u?.obj&&typeof u.obj[`${u.k}.${i}`]<"u"&&(u.obj=void 0);u.obj[`${u.k}.${i}`]=t},Ze=(r,e,t,s)=>{const{obj:n,k:i}=X(r,e,Object);n[i]=n[i]||[],n[i].push(t)},ie=(r,e)=>{const{obj:t,k:s}=X(r,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},Xe=(r,e,t)=>{const s=ie(r,t);return s!==void 0?s:ie(e,t)},De=(r,e,t)=>{for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in r?S(r[s])||r[s]instanceof String||S(e[s])||e[s]instanceof String?t&&(r[s]=e[s]):De(r[s],e[s],t):r[s]=e[s]);return r},q=r=>r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var et={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"};const tt=r=>S(r)?r.replace(/[&<>"'\/]/g,e=>et[e]):r;class nt{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}const st=[" ",",","?","!",";"],it=new nt(20),rt=(r,e,t)=>{e=e||"",t=t||"";const s=st.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(s.length===0)return!0;const n=it.getRegExp(`(${s.map(a=>a==="?"?"\\?":a).join("|")})`);let i=!n.test(r);if(!i){const a=r.indexOf(t);a>0&&!n.test(r.substring(0,a))&&(i=!0)}return i},pe=(r,e,t=".")=>{if(!r)return;if(r[e])return Object.prototype.hasOwnProperty.call(r,e)?r[e]:void 0;const s=e.split(t);let n=r;for(let i=0;i<s.length;){if(!n||typeof n!="object")return;let a,u="";for(let l=i;l<s.length;++l)if(l!==i&&(u+=t),u+=s[l],a=n[u],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<s.length-1)continue;i+=l-i+1;break}n=a}return n},te=r=>r?.replace(/_/g,"-"),ot={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,e){console?.[r]?.apply?.(console,e)}};class re{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||ot,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,s,n){return n&&!this.debug?null:(S(e[0])&&(e[0]=`${s}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new re(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new re(this.logger,e)}}var B=new re;class ae{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const n=this.observers[s].get(t)||0;this.observers[s].set(t,n+1)}),this}
vendor: 3,083 bytes, line 1
1off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([n,i])=>{for(let a=0;a<i;a++)n(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,i])=>{for(let a=0;a<i;a++)n.apply(n,[e,...t])})}}class Le extends ae{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s,n={}){const i=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,a=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let u;e.indexOf(".")>-1?u=e.split("."):(u=[e,t],s&&(Array.isArray(s)?u.push(...s):S(s)&&i?u.push(...s.split(i)):u.push(s)));const l=ie(this.data,u);return!l&&!t&&!s&&e.indexOf(".")>-1&&(e=u[0],t=u[1],s=u.slice(2).join(".")),l||!a||!S(s)?l:pe(this.data?.[e]?.[t],s,i)}addResource(e,t,s,n,i={silent:!1}){const a=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let u=[e,t];s&&(u=u.concat(a?s.split(a):s)),e.indexOf(".")>-1&&(u=e.split("."),n=t,t=u[1]),this.addNamespaces(t),we(this.data,u,n),i.silent||this.emit("added",e,t,s,n)}addResources(e,t,s,n={silent:!1}){for(const i in s)(S(s[i])||Array.isArray(s[i]))&&this.addResource(e,t,i,s[i],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,i,a={silent:!1,skipCopy:!1}){let u=[e,t];e.indexOf(".")>-1&&(u=e.split("."),n=s,s=t,t=u[1]),this.addNamespaces(t);let l=ie(this.data,u)||{};a.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?De(l,s,i):l={...l,...s},we(this.data,u,l),a.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}}var He={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,e,t,s,n){return r.forEach(i=>{e=this.processors[i]?.process(e,t,s,n)??e}),e}};const Ke=Symbol("i18next/PATH_KEY");function at(){const r=[],e=Object.create(null);let t;return e.get=(s,n)=>(t?.revoke?.(),n===Ke?r:(r.push(n),t=Proxy.revocable(s,e),t.proxy)),Proxy.revocable(Object.create(null),e).proxy}function ge(r,e){const{[Ke]:t}=r(at());return t.join(e?.keySeparator??".")}const Re={},le=r=>!S(r)&&typeof r!="boolean"&&typeof r!="number";class oe extends ae{constructor(e,t={}){super(),Ge(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=B.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const s={...t};if(e==null)return!1;const n=this.resolve(e,s);if(n?.res===void 0)return!1;const i=le(n.res);return!(s.returnObjects===!1&&i)}extractFromKey(e,t){let s=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const a=s&&e.indexOf(s)>-1,u=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!rt(e,s,n);if(a&&!u){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:S(i)?[i]:i};const f=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(f[0])>-1)&&(i=f.shift()),e=f.join(n)}return{key:e,namespaces:S(i)?[i]:i}}translate(e,t,s){let n=typeof t=="object"?{...t}:t;if(typeof n!="object"&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),typeof n=="object"&&(n={...n}),n||(n={}),e==null)return"";typeof e=="function"&&(e=ge(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);const i=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:u,namespaces:l}=this.extractFromKey(e[e.length-1],n),f=l[l.length-1];let h=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");const c=n.lng||this.language,p=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return p?i?{res:`${f}${h}${u}`,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:f,usedParams:this.getUsedParamsDetails(n)}:`${f}${h}${u}`:i?{res:u,usedKey:u,exactUsedKey:u,usedLng:c,usedNS:f,usedParams:this.getUsedParamsDetails(n)}:u;const m=this.resolve(e,n);let g=m?.res;const L=m?.usedKey||u,N=m?.exactUsedKey||u,j=["[object Number]","[object Function]","[object RegExp]"],$=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,T=n.count!==void 0&&!S(n.count),F=oe.hasDefaultValue(n),K=T?this.pluralResolver.getSuffix(c,n.count,n):"",O=n.ordinal&&T?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",Y=T&&!n.ordinal&&n.count===0,w=Y&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${K}`]||n[`defaultValue${O}`]||n.defaultValue;let v=g;k&&!g&&F&&(v=w);const C=le(v),_=Object.prototype.toString.apply(v);if(k&&v&&C&&j.indexOf(_)<0&&!(S($)&&Array.isArray(v))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const I=this.options.returnedObjectHandler?this.options.returnedObjectHandler(L,v,{...n,ns:l}):`key '${u} (${this.language})' returned an object instead of string.`;return i?(m.res=I,m.usedParams=this.getUsedParamsDetails(n),m):I}if(a){const I=Array.isArray(v),A=I?[]:{},Q=I?N:L;for(const D in v)if(Object.prototype.hasOwnProperty.call(v,D)){const M=`${Q}${a}${D}`;F&&!g?A[D]=this.translate(M,{...n,defaultValue:le(w)?w[D]:void 0,joinArrays:!1,ns:l}):A[D]=this.translate(M,{...n,joinArrays:!1,ns:l}),A[D]===M&&(A[D]=v[D])}g=A}}else if(k&&S($)&&Array.isArray(g))g=g.join($),g&&(g=this.extendTranslation(g,e,n,s));else{let I=!1,A=!1;!this.isValidLookup(g)&&F&&(I=!0,g=w),this.isValidLookup(g)||(A=!0,g=u);const D=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&A?void 0:g,M=F&&w!==g&&this.options.updateMissing;if(A||I||M){if(this.logger.log(M?"updateKey":"missingKey",c,f,u,M?w:g),a){const o=this.resolve(u,{...n,keySeparator:!1});o&&o.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.")}let J=[];const W=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&W&&W[0])for(let o=0;o<W.length;
vendor: 20,530 bytes, line 1
1o++)J.push(W[o]);else this.options.saveMissingTo==="all"?J=this.languageUtils.toResolveHierarchy(n.lng||this.language):J.push(n.lng||this.language);const ne=(o,d,y)=>{const x=F&&y!==g?y:D;this.options.missingKeyHandler?this.options.missingKeyHandler(o,f,d,x,M,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(o,f,d,x,M,n),this.emit("missingKey",o,f,d,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&T?J.forEach(o=>{const d=this.pluralResolver.getSuffixes(o,n);Y&&n[`defaultValue${this.options.pluralSeparator}zero`]&&d.indexOf(`${this.options.pluralSeparator}zero`)<0&&d.push(`${this.options.pluralSeparator}zero`),d.forEach(y=>{ne([o],u+y,n[`defaultValue${y}`]||w)})}):ne(J,u,w))}g=this.extendTranslation(g,e,n,m,s),A&&g===u&&this.options.appendNamespaceToMissingKey&&(g=`${f}${h}${u}`),(A||I)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${f}${h}${u}`:u,I?g:void 0,n))}return i?(m.res=g,m.usedParams=this.getUsedParamsDetails(n),m):g}extendTranslation(e,t,s,n,i){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const l=S(e)&&(s?.interpolation?.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let f;if(l){const c=e.match(this.interpolator.nestingRegexp);f=c&&c.length}let h=s.replace&&!S(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,s.lng||this.language||n.usedLng,s),l){const c=e.match(this.interpolator.nestingRegexp),p=c&&c.length;f<p&&(s.nest=!1)}!s.lng&&n&&n.res&&(s.lng=this.language||n.usedLng),s.nest!==!1&&(e=this.interpolator.nest(e,(...c)=>i?.[0]===c[0]&&!s.context?(this.logger.warn(`It seems you are nesting recursively key: ${c[0]} in key: ${t[0]}`),null):this.translate(...c,t),s)),s.interpolation&&this.interpolator.reset()}const a=s.postProcess||this.options.postProcess,u=S(a)?[a]:a;return e!=null&&u?.length&&s.applyPostProcessor!==!1&&(e=He.handle(u,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),e}resolve(e,t={}){let s,n,i,a,u;return S(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(s))return;const f=this.extractFromKey(l,t),h=f.key;n=h;let c=f.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const p=t.count!==void 0&&!S(t.count),m=p&&!t.ordinal&&t.count===0,g=t.context!==void 0&&(S(t.context)||typeof t.context=="number")&&t.context!=="",L=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(N=>{this.isValidLookup(s)||(u=N,!Re[`${L[0]}-${N}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(u)&&(Re[`${L[0]}-${N}`]=!0,this.logger.warn(`key "${n}" for languages "${L.join(", ")}" won't get resolved as namespace "${u}" 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!!!")),L.forEach(j=>{if(this.isValidLookup(s))return;a=j;const $=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys($,h,j,N,t);else{let T;p&&(T=this.pluralResolver.getSuffix(j,t.count,t));const F=`${this.options.pluralSeparator}zero`,K=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(t.ordinal&&T.indexOf(K)===0&&$.push(h+T.replace(K,this.options.pluralSeparator)),$.push(h+T),m&&$.push(h+F)),g){const O=`${h}${this.options.contextSeparator||"_"}${t.context}`;$.push(O),p&&(t.ordinal&&T.indexOf(K)===0&&$.push(O+T.replace(K,this.options.pluralSeparator)),$.push(O+T),m&&$.push(O+F))}}let k;for(;k=$.pop();)this.isValidLookup(s)||(i=k,s=this.getResource(j,N,k,t))}))})}),{res:s,usedKey:n,exactUsedKey:i,usedLng:a,usedNS:u}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=e.replace&&!S(e.replace);let n=s?e.replace:e;if(s&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const i of t)delete n[i]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&e[s]!==void 0)return!0;return!1}}class Ee{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=B.create("languageUtils")}getScriptPartFromCode(e){if(e=te(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=te(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(S(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(s=>{if(t)return;const n=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(s=>{if(t)return;const n=this.getScriptPartFromCode(s);if(this.isSupportedCode(n))return t=n;const i=this.getLanguagePartFromCode(s);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find(a=>{if(a===i)return a;if(!(a.indexOf("-")<0&&i.indexOf("-")<0)&&(a.indexOf("-")>0&&i.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===i||a.indexOf(i)===0&&i.length>1))return a})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),S(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),n=[],i=a=>{a&&(this.isSupportedCode(a)?n.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return S(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(e))):S(e)&&i(this.formatLanguageCode(e)),s.forEach(a=>{n.indexOf(a)<0&&i(this.formatLanguageCode(a))}),n}}const Ce={zero:0,one:1,two:2,few:3,many:4,other:5},Pe={select:r=>r===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class ut{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=B.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const s=te(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:s,type:n});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let a;try{a=new Intl.PluralRules(s,{type:n})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Pe;if(!e.match(/-|_/))return Pe;const l=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(l,t)}return this.pluralRulesCache[i]=a,a}needsPlural(e,t={}){let s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,s={}){return this.getSuffixes(e,s).map(n=>`${t}${n}`)}getSuffixes(e,t={}){let s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?s.resolvedOptions().pluralCategories.sort((n,i)=>Ce[n]-Ce[i]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t,s={}){const n=this.getRule(e,s);return n?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}const Ne=(r,e,t,s=".",n=!0)=>{let i=Xe(r,e,t);return!i&&n&&S(t)&&(i=pe(r,t,s),i===void 0&&(i=pe(e,t,s))),i},fe=r=>r.replace(/\$/g,"$$$$");class $e{constructor(e={}){this.logger=B.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(t=>t),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:s,useRawValueToEscape:n,prefix:i,prefixEscaped:a,suffix:u,suffixEscaped:l,formatSeparator:f,unescapeSuffix:h,unescapePrefix:c,nestingPrefix:p,nestingPrefixEscaped:m,nestingSuffix:g,nestingSuffixEscaped:L,nestingOptionsSeparator:N,maxReplaces:j,alwaysFormat:$}=e.interpolation;this.escape=t!==void 0?t:tt,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=i?q(i):a||"{{",this.suffix=u?q(u):l||"}}",this.formatSeparator=f||",",this.unescapePrefix=h?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=p?q(p):m||q("$t("),this.nestingSuffix=g?q(g):L||q(")"),this.nestingOptionsSeparator=N||",",this.maxReplaces=j||1e3,this.alwaysFormat=$!==void 0?$:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,s)=>t?.source===s?(t.lastIndex=0,t):new RegExp(s,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,s,n){let i,a,u;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},f=m=>{if(m.indexOf(this.formatSeparator)<0){const j=Ne(t,l,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(j,void 0,s,{...n,...t,interpolationkey:m}):j}const g=m.split(this.formatSeparator),L=g.shift().trim(),N=g.join(this.formatSeparator).trim();return this.format(Ne(t,l,L,this.options.keySeparator,this.options.ignoreJSONStructure),N,s,{...n,...t,interpolationkey:L})};this.resetRegExp();const h=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>fe(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?fe(this.escape(m)):fe(m)}].forEach(m=>{for(u=0;i=m.regex.exec(e);){const g=i[1].trim();if(a=f(g),a===void 0)if(typeof h=="function"){const N=h(e,i,n);a=S(N)?N:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))a="";else if(c){a=i[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),a="";else!S(a)&&!this.useRawValueToEscape&&(a=be(a));const L=m.safeValue(a);if(e=e.replace(i[0],L),c?(m.regex.lastIndex+=a.length,m.regex.lastIndex-=i[0].length):m.regex.lastIndex=0,u++,u>=this.maxReplaces)break}}),e}nest(e,t,s={}){let n,i,a;const u=(l,f)=>{const h=this.nestingOptionsSeparator;if(l.indexOf(h)<0)return l;const c=l.split(new RegExp(`${q(h)}[ ]*{`));let p=`{${c[1]}`;l=c[0],p=this.interpolate(p,a);const m=p.match(/'/g),g=p.match(/"/g);((m?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(p=p.replace(/'/g,'"'));try{a=JSON.parse(p),f&&(a={...f,...a})}catch(L){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,L),`${l}${h}${p}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;n=this.nestingRegexp.exec(e);){let l=[];a={...s},a=a.replace&&!S(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;const f=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(f!==-1&&(l=n[1].slice(f).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),n[1]=n[1].slice(0,f)),i=t(u.call(this,n[1].trim(),a),a),i&&n[0]===e&&!S(i))return i;S(i)||(i=be(i)),i||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),i=""),l.length&&(i=l.reduce((h,c)=>this.format(h,c,s.lng,{...s,interpolationkey:n[1].trim()}),i.trim())),e=e.replace(n[0],i),this.regexp.lastIndex=0}return e}}const lt=r=>{let e=r.toLowerCase().trim();const t={};if(r.indexOf("(")>-1){const s=r.split("(");e=s[0].toLowerCase().trim();const n=s[1].substring(0,s[1].length-1);e==="currency"&&n.indexOf(":")<0?t.currency||(t.currency=n.trim()):e==="relativetime"&&n.indexOf(":")<0?t.range||(t.range=n.trim()):n.split(";").forEach(a=>{if(a){const[u,...l]=a.split(":"),f=l.join(":").trim().replace(/^'+|'+$/g,""),h=u.trim();t[h]||(t[h]=f),f==="false"&&(t[h]=!1),f==="true"&&(t[h]=!0),isNaN(f)||(t[h]=parseInt(f,10))}})}return{formatName:e,formatOptions:t}},Te=r=>{const e={};return(t,s,n)=>{let i=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(i={...i,[n.interpolationkey]:void 0});const a=s+JSON.stringify(i);let u=e[a];return u||(u=r(te(s),n),e[a]=u),u(t)}},ft=r=>(e,t,s)=>r(te(t),s)(e);class ct{constructor(e={}){this.logger=B.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const s=t.cacheInBuiltFormats?Te:ft;this.formats={number:s((n,i)=>{const a=new Intl.NumberFormat(n,{...i});return u=>a.format(u)}),currency:s((n,i)=>{const a=new Intl.NumberFormat(n,{...i,style:"currency"});return u=>a.format(u)}),datetime:s((n,i)=>{const a=new Intl.DateTimeFormat(n,{...i});return u=>a.format(u)}),relativetime:s((n,i)=>{const a=new Intl.RelativeTimeFormat(n,{...i});return u=>a.format(u,i.range||"day")}),list:s((n,i)=>{const a=new Intl.ListFormat(n,{...i});return u=>a.format(u)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Te(t)}format(e,t,s,n={}){const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(u=>u.indexOf(")")>-1)){const u=i.findIndex(l=>l.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,u)].join(this.formatSeparator)}return i.reduce((u,l)=>{const{formatName:f,formatOptions:h}=lt(l);if(this.formats[f]){let c=u;try{const p=n?.formatParams?.[n.interpolationkey]||{},m=p.locale||p.lng||n.locale||n.lng||s;c=this.formats[f](u,m,{...h,...n,...p})}catch(p){this.logger.warn(p)}return c}else this.logger.warn(`there was no format function for ${f}`);return u},e)}}const dt=(r,e)=>{r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)};class ht extends ae{constructor(e,t,s,n={}){super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=B.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(s,n.backend,n)}queueLoad(e,t,s,n){const i={},a={},u={},l={};return e.forEach(f=>{let h=!0;t.forEach(c=>{const p=`${f}|${c}`;!s.reload&&this.store.hasResourceBundle(f,c)?this.state[p]=2:this.state[p]<0||(this.state[p]===1?a[p]===void 0&&(a[p]=!0):(this.state[p]=1,h=!1,a[p]===void 0&&(a[p]=!0),i[p]===void 0&&(i[p]=!0),l[c]===void 0&&(l[c]=!0)))}),h||(u[f]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(u),toLoadNamespaces:Object.keys(l)}}loaded(e,t,s){const n=e.split("|"),i=n[0],a=n[1];t&&this.emit("failedLoading",i,a,t),!t&&s&&this.store.addResourceBundle(i,a,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);const u={};this.queue.forEach(l=>{Ze(l.loaded,[i],a),dt(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(f=>{u[f]||(u[f]={});const h=l.loaded[f];h.length&&h.forEach(c=>{u[f][c]===void 0&&(u[f][c]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",u),this.queue=this.queue.filter(l=>!l.done)}read(e,t,s,n=0,i=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:i,callback:a});return}this.readingCalls++;const u=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(f&&h&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,s,n+1,i*2,a)},i);return}a(f,h)},l=this.backend[s].bind(this.backend);if(l.length===2){try{const f=l(e,t);f&&typeof f.then=="function"?f.then(h=>u(null,h)).catch(u):u(null,f)}catch(f){u(f)}return}return l(e,t,u)}prepareLoading(e,t,s={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();S(e)&&(e=this.languageUtils.toResolveHierarchy(e)),S(t)&&(t=[t]);const i=this.queueLoad(e,t,s,n);if(!i.toLoad.length)return i.pending.length||n(),null;i.toLoad.forEach(a=>{this.loadOne(a)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e,t=""){const s=e.split("|"),n=s[0],i=s[1];this.read(n,i,"read",void 0,void 0,(a,u)=>{a&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,a),!a&&u&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,u),this.loaded(e,a,u)})}saveMissing(e,t,s,n,i,a={},u=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${s}" as the namespace "${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(!(s==null||s==="")){if(this.backend?.create){const l={...a,isUpdate:i},f=this.backend.create.bind(this.backend);if(f.length<6)try{let h;f.length===5?h=f(e,t,s,n,l):h=f(e,t,s,n),h&&typeof h.then=="function"?h.then(c=>u(null,c)).catch(u):u(null,h)}catch(h){u(h)}else f(e,t,s,n,u,l)}!e||!e[0]||this.store.addResource(e[0],t,s,n)}}}const ce=()=>({debug:!1,initAsync:!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:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:r=>{let e={};if(typeof r[1]=="object"&&(e=r[1]),S(r[1])&&(e.defaultValue=r[1]),S(r[2])&&(e.tDescription=r[2]),typeof r[2]=="object"||typeof r[3]=="object"){const t=r[3]||r[2];Object.keys(t).forEach(s=>{e[s]=t[s]})}return e},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),_e=r=>(S(r.ns)&&(r.ns=[r.ns]),S(r.fallbackLng)&&(r.fallbackLng=[r.fallbackLng]),S(r.fallbackNS)&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs?.indexOf?.("cimode")<0&&(r.supportedLngs=r.supp
1ortedLngs.concat(["cimode"])),typeof r.initImmediate=="boolean"&&(r.initAsync=r.initImmediate),r),se=()=>{},pt=r=>{Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(t=>{typeof r[t]=="function"&&(r[t]=r[t].bind(r))})},Me="__i18next_supportNoticeShown",gt=()=>typeof globalThis<"u"&&!!globalThis[Me],mt=()=>{typeof globalThis<"u"&&(globalThis[Me]=!0)},yt=r=>!!(r?.modules?.backend?.name?.indexOf("Locize")>0||r?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||r?.options?.backend?.backends&&r.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||r?.options?.backend?.projectId||r?.options?.backend?.backendOptions&&r.options.backend.backendOptions.some(e=>e?.projectId));class ee extends ae{constructor(e={},t){if(super(),this.options=_e(e),this.services={},this.logger=B,this.modules={external:[]},pt(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,typeof e=="function"&&(t=e,e={}),e.defaultNS==null&&e.ns&&(S(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const s=ce();this.options={...s,...this.options,..._e(e)},this.options.interpolation={...s.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=s.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!yt(this)&&!gt()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is maintained with support from Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),mt());const n=f=>f?typeof f=="function"?new f:f:null;if(!this.options.isClone){this.modules.logger?B.init(n(this.modules.logger),this.options):B.init(null,this.options);let f;this.modules.formatter?f=this.modules.formatter:f=ct;const h=new Ee(this.options);this.store=new Le(this.options.resources,this.options);const c=this.services;c.logger=B,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new ut(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==s.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),f&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(c.formatter=n(f),c.formatter.init&&c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new $e(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new ht(n(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(m,...g)=>{this.emit(m,...g)}),this.modules.languageDetector&&(c.languageDetector=n(this.modules.languageDetector),c.languageDetector.init&&c.languageDetector.init(c,this.options.detection,this.options)),this.modules.i18nFormat&&(c.i18nFormat=n(this.modules.i18nFormat),c.i18nFormat.init&&c.i18nFormat.init(this)),this.translator=new oe(this.services,this.options),this.translator.on("*",(m,...g)=>{this.emit(m,...g)}),this.modules.external.forEach(m=>{m.init&&m.init(this)})}if(this.format=this.options.interpolation.format,t||(t=se),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const f=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);f.length>0&&f[0]!=="dev"&&(this.options.lng=f[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(f=>{this[f]=(...h)=>this.store[f](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(f=>{this[f]=(...h)=>(this.store[f](...h),this)});const u=Z(),l=()=>{const f=(h,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit
vendor: 4,329 bytes, line 1
1("initialized",this.options),u.resolve(c),t(h,c)};if(this.languages&&!this.isInitialized)return f(null,this.t.bind(this));this.changeLanguage(this.options.lng,f)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),u}loadResources(e,t=se){let s=t;const n=S(e)?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const i=[],a=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(f=>{f!=="cimode"&&i.indexOf(f)<0&&i.push(f)})};n?a(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload?.forEach?.(u=>a(u)),this.services.backendConnector.load(i,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(u)})}else s(null)}reloadResources(e,t,s){const n=Z();return typeof e=="function"&&(s=e,e=void 0),typeof t=="function"&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=se),this.services.backendConnector.reload(e,t,i=>{n.resolve(),s(i)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&He.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let t=0;t<this.languages.length;t++){const s=this.languages[t];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const s=Z();this.emit("languageChanging",e);const n=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,l)=>{l?this.isLanguageChangingTo===e&&(n(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,s.resolve((...f)=>this.t(...f)),t&&t(u,(...f)=>this.t(...f))},a=u=>{!e&&!u&&this.services.languageDetector&&(u=[]);const l=S(u)?u:u&&u[0],f=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(S(u)?[u]:u);f&&(this.language||n(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector?.cacheUserLanguage?.(f)),this.loadResources(f,h=>{i(h,f)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?a(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e),s}getFixedT(e,t,s){const n=(i,a,...u)=>{let l;typeof a!="object"?l=this.options.overloadTranslationOptionHandler([i,a].concat(u)):l={...a},l.lng=l.lng||n.lng,l.lngs=l.lngs||n.lngs,l.ns=l.ns||n.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||s||n.keyPrefix);const f=this.options.keySeparator||".";let h;return l.keyPrefix&&Array.isArray(i)?h=i.map(c=>(typeof c=="function"&&(c=ge(c,{...this.options,...a})),`${l.keyPrefix}${f}${c}`)):(typeof i=="function"&&(i=ge(i,{...this.options,...a})),h=l.keyPrefix?`${l.keyPrefix}${f}${i}`:i),this.t(h,l)};return S(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=s,n}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){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;const s=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const a=(u,l)=>{const f=this.services.backendConnector.state[`${u}|${l}`];return f===-1||f===0||f===2};if(t.precheck){const u=t.precheck(this,a);if(u!==void 0)return u}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(s,e)&&(!n||a(i,e)))}loadNamespaces(e,t){const s=Z();return this.options.ns?(S(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{s.resolve(),t&&t(n)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=Z();S(e)&&(e=[e]);const n=this.options.preload||[],i=e.filter(a=>n.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return i.length?(this.options.preload=n.concat(i),this.loadResources(a=>{s.resolve(),t&&t(a)}),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const n=new Intl.Locale(e);if(n&&n.getTextInfo){const i=n.getTextInfo();if(i&&i.direction)return i.direction}}catch{}const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services?.languageUtils||new Ee(ce());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(s.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const s=new ee(e,t);return s.createInstance=ee.createInstance,s}cloneInstance(e={},t=se){const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},i=new ee(n);if((e.debug!==void 0||e.prefix!==void 0)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(u=>{i[u]=this[u]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},s){const u=Object.keys(this.store.data).reduce((l,f)=>(l[f]={...this.store.data[f]},l[f]=Object.keys(l[f]).reduce((h,c)=>(h[c]={...l[f][c]},h),l[f]),l),{});i.store=new Le(u,n),i.services.resourceStore=i.store}if(e.interpolation){const l={...ce().interpolation,...this.options.interpolation,...e.interpolation},f={...n,interpolation:l};i.services.interpolator=new $e(f)}return i.translator=new oe(i.services,n),i.translator.on("*",(u,...l)=>{i.emit(u,...l)}),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const V=ee.createInstance();V.createInstance;V.dir;V.init;V.loadResources;V.reloadResources;V.use;V.changeLanguage;V.getFixedT;V.t;V.exists;V.setDefaultNamespace;V.hasLoadedNamespace;V.loadNamespaces;V.loadLanguages;const xt=(r,e,t,s)=>{const n=[t,{code:e,...s||{}}];if(r?.services?.logger?.forward)return r.services.logger.forward(n,"warn","react-i18next::",!0);G(n[0])&&(n[0]=`react-i18next:: ${n[0]}`),r?.services?.logger?.warn?r.services.logger.warn(...n):console?.warn&&console.warn(...n)},je={},Ue=(r,e,t,s)=>{G(t)&&je[t]||(G(t)&&(je[t]=new Date),xt(r,e,t,s))},Ve=(r,e)=>()=>{if(r.isInitialized)e();else{const t=()=>{setTimeout(()=>{r.off("initialized",t)},0),e()};r.on("initialized",t)}},me=(r,e,t)=>{r.loadNamespaces(e,Ve(r,t))},ke=(r,e,t,s)=>{if(G(t)&&(t=[t]),r.options.preload&&r.options.preload.indexOf(e)>-1)return me(r,t,s);t.forEach(n=>{r.options.ns.indexOf(n)<0&&r.options.ns.push(n)}),r.loadLanguages(e,Ve(r,s))},St=(r,e,t={})=>!e.languages||!e.languages.length?(Ue(e,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:e.languages}),!0):e.hasLoadedNamespace(r,{lng:t.lng,precheck:(s,n)=>{if(t.bindI18n&&t.bindI18n.indexOf("languageChanging")>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!n(s.isLanguageChangingTo,r))return!1}}),G=r=>typeof r=="string",bt=r=>typeof r=="object"&&r!==null,Ot=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,vt={"&amp;":"&","&#38;":"&","&lt;":"<","&#60;":"<","&gt;":">","&#62;":">","&apos;":"'","&#39;":"'","&quot;":'"',"&#34;":'"',"&nbsp;":" ","&#160;":" ","&copy;":"©","&#169;":"©","&reg;":"®","&#174;":"®","&hellip;":"…","&#8230;":"…","&#x2F;":"/","&#47;":"/"},wt=r=>vt[r],Lt=r=>r.replace(Ot,wt);let ye={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Lt,transDefaultProps:void 0};const Rt=(r={})=>{ye={...ye,...r}},Et=()=>ye;let ze;const Ct=r=>{ze=r},Pt=()=>ze,Kt={type:"3rdParty",init(r){Rt(r.options.react),Ct(r)}},Nt=H.createContext();class $t{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(t=>{this.usedNamespaces[t]||(this.usedNamespaces[t]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}var de={exports:{}},he={};var Ie;
1function Tt(){if(Ie)return he;Ie=1;var r=Fe();function e(c,p){return c===p&&(c!==0||1/c===1/p)||c!==c&&p!==p}var t=typeof Object.is=="function"?Object.is:e,s=r.useState,n=r.useEffect,i=r.useLayoutEffect,a=r.useDebugValue;function u(c,p){var m=p(),g=s({inst:{value:m,getSnapshot:p}}),L=g[0].inst,N=g[1];return i(function(){L.value=m,L.getSnapshot=p,l(L)&&N({inst:L})},[c,m,p]),n(function(){return l(L)&&N({inst:L}),c(function(){l(L)&&N({inst:L})})},[c]),a(m),m}function l(c){var p=c.getSnapshot;c=c.value;try{var m=p();return!t(c,m)}catch{return!0}}function f(c,p){return p()}var h=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?f:u;return he.useSyncExternalStore=r.useSyncExternalStore!==void 0?r.useSyncExternalStore:h,he}var Ae;function _t(){return Ae||(Ae=1,de.exports=Tt()),de.exports}var jt=_t();const kt=(r,e)=>G(e)?e:bt(e)&&G(e.defaultValue)?e.defaultValue:Array.isArray(r)?r[r.length-1]:r,It={t:kt,ready:!1},At=()=>()=>{},Mt=(r,e={})=>{const{i18n:t}=e,{i18n:s,defaultNS:n}=H.useContext(Nt)||{},i=t||s||Pt();i&&!i.reportNamespaces&&(i.reportNamespaces=new $t),i||Ue(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const a=H.useMemo(()=>({...Et(),...i?.options?.react,...e}),[i,e]),{useSuspense:u,keyPrefix:l}=a,f=n||i?.options?.defaultNS,h=G(f)?[f]:f||["translation"],c=H.useMemo(()=>h,h);i?.reportNamespaces?.addUsedNamespaces?.(c);const p=H.useRef(0),m=H.useCallback(w=>{if(!i)return At;const{bindI18n:v,bindI18nStore:C}=a,_=()=>{p.current+=1,w()};return v&&i.on(v,_),C&&i.store.on(C,_),()=>{v&&v.split(" ").forEach(I=>i.off(I,_)),C&&C.split(" ").forEach(I=>i.store.off(I,_))}},[i,a]),g=H.useRef(),L=H.useCallback(()=>{if(!i)return It;const w=!!(i.isInitialized||i.initializedStoreOnce)&&c.every(Q=>St(Q,i,a)),v=e.lng||i.language,C=p.current,_=g.current;if(_&&_.ready===w&&_.lng===v&&_.keyPrefix===l&&_.revision===C)return _;const A={t:i.getFixedT(v,a.nsMode==="fallback"?c:c[0],l),ready:w,lng:v,keyPrefix:l,revision:C};return g.current=A,A},[i,c,l,a,e.lng]),[N,j]=H.useState(0),{t:$,ready:k}=jt.useSyncExternalStore(m,L,L);H.useEffect(()=>{if(i&&!k&&!u){const w=()=>j(v=>v+1);e.lng?ke(i,e.lng,c,w):me(i,c,w)}},[i,e.lng,c,k,u,N]);const T=i||{},F=H.useRef(null),K=H.useRef(),O=w=>{const v=Object.getOwnPropertyDescriptors(w);v.__original&&delete v.__original;const C=Object.create(Object.getPrototypeOf(w),v);if(!Object.prototype.hasOwnProperty.call(C,"__original"))try{Object.defineProperty(C,"__original",{value:w,writable:!1,enumerable:!1,configurable:!1})}catch{}return C},Y=H.useMemo(()=>{const w=T,v=w?.language;let C=w;w&&(F.current&&F.current.__original===w?K.current!==v?(C=O(w),F.current=C,K.current=v):C=F.current:(C=O(w),F.current=C,K.current=v));const _=[$,C,k];return _.t=$,_.i18n=C,_.ready=k,_},[$,T,k,T.resolvedLanguage,T.language,T.languages]);if(i&&u&&!k)throw new Promise(w=>{const v=()=>w();e.lng?ke(i,e.lng,c,v):me(i,c,v)});return Y};export{H as a,Ht as b,Dt as c,Ft as d,Kt as e,Je as g,V as i,Fe as r,qe as t,Mt as u};

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.