@aidc-toolkit/utility 1.0.47 → 1.0.48

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";var ae=Object.defineProperty;var ze=Object.getOwnPropertyDescriptor;var Ze=Object.getOwnPropertyNames;var Je=Object.prototype.hasOwnProperty;var _e=(s,e)=>{for(var t in e)ae(s,t,{get:e[t],enumerable:!0})},Xe=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of Ze(e))!Je.call(s,n)&&n!==t&&ae(s,n,{get:()=>e[n],enumerable:!(i=ze(e,n))||i.enumerable});return s};var We=s=>Xe(ae({},"__esModule",{value:!0}),s);var yt={};_e(yt,{ALPHABETIC_CREATOR:()=>Ke,ALPHABETIC_VALIDATOR:()=>bt,ALPHANUMERIC_CREATOR:()=>He,ALPHANUMERIC_VALIDATOR:()=>xt,CharacterSetCreator:()=>k,CharacterSetValidator:()=>se,EncryptionTransformer:()=>re,Exclusions:()=>b,HEXADECIMAL_CREATOR:()=>Ue,HEXADECIMAL_VALIDATOR:()=>mt,IdentityTransformer:()=>ie,NUMERIC_CREATOR:()=>De,NUMERIC_VALIDATOR:()=>pt,RecordValidator:()=>xe,RegExpValidator:()=>J,Sequence:()=>Z,Transformer:()=>P,i18nUtilityInit:()=>gt,i18nextUtility:()=>m,mapIterable:()=>U,utilityNS:()=>Be,utilityResourceBundle:()=>je});module.exports=We(yt);var ne=require("@aidc-toolkit/core");var p=s=>typeof s=="string",q=()=>{let s,e,t=new Promise((i,n)=>{s=i,e=n});return t.resolve=s,t.reject=e,t},we=s=>s==null?"":""+s,Ye=(s,e,t)=>{s.forEach(i=>{e[i]&&(t[i]=e[i])})},Qe=/###/g,Te=s=>s&&s.indexOf("###")>-1?s.replace(Qe,"."):s,Ce=s=>!s||p(s),G=(s,e,t)=>{let i=p(e)?e.split("."):e,n=0;for(;n<i.length-1;){if(Ce(s))return{};let r=Te(i[n]);!s[r]&&t&&(s[r]=new t),Object.prototype.hasOwnProperty.call(s,r)?s=s[r]:s={},++n}return Ce(s)?{}:{obj:s,k:Te(i[n])}},Ne=(s,e,t)=>{let{obj:i,k:n}=G(s,e,Object);if(i!==void 0||e.length===1){i[n]=t;return}let r=e[e.length-1],a=e.slice(0,e.length-1),o=G(s,a,Object);for(;o.obj===void 0&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),o=G(s,a,Object),o?.obj&&typeof o.obj[`${o.k}.${r}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${r}`]=t},et=(s,e,t,i)=>{let{obj:n,k:r}=G(s,e,Object);n[r]=n[r]||[],n[r].push(t)},W=(s,e)=>{let{obj:t,k:i}=G(s,e);if(t&&Object.prototype.hasOwnProperty.call(t,i))return t[i]},tt=(s,e,t)=>{let i=W(s,t);return i!==void 0?i:W(e,t)},Pe=(s,e,t)=>{for(let i in e)i!=="__proto__"&&i!=="constructor"&&(i in s?p(s[i])||s[i]instanceof String||p(e[i])||e[i]instanceof String?t&&(s[i]=e[i]):Pe(s[i],e[i],t):s[i]=e[i]);return s},j=s=>s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),nt={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},it=s=>p(s)?s.replace(/[&<>"'\/]/g,e=>nt[e]):s,ce=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}},rt=[" ",",","?","!",";"],st=new ce(20),at=(s,e,t)=>{e=e||"",t=t||"";let i=rt.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(i.length===0)return!0;let n=st.getRegExp(`(${i.map(a=>a==="?"?"\\?":a).join("|")})`),r=!n.test(s);if(!r){let a=s.indexOf(t);a>0&&!n.test(s.substring(0,a))&&(r=!0)}return r},he=(s,e,t=".")=>{if(!s)return;if(s[e])return Object.prototype.hasOwnProperty.call(s,e)?s[e]:void 0;let i=e.split(t),n=s;for(let r=0;r<i.length;){if(!n||typeof n!="object")return;let a,o="";for(let l=r;l<i.length;++l)if(l!==r&&(o+=t),o+=i[l],a=n[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<i.length-1)continue;r+=l-r+1;break}n=a}return n},z=s=>s?.replace("_","-"),ot={type:"logger",log(s){this.output("log",s)},warn(s){this.output("warn",s)},error(s){this.output("error",s)},output(s,e){console?.[s]?.apply?.(console,e)}},de=class s{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,i,n){return n&&!this.debug?null:(p(e[0])&&(e[0]=`${i}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new s(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new s(this.logger,e)}},I=new de,D=class{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);let n=this.observers[i].get(t)||0;this.observers[i].set(t,n+1)}),this}off(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,r])=>{for(let a=0;a<r;a++)n(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let a=0;a<r;a++)n.apply(n,[e,...t])})}},Y=class extends D{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){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i,n={}){let r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,a=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure,o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],i&&(Array.isArray(i)?o.push(...i):p(i)&&r?o.push(...i.split(r)):o.push(i)));let l=W(this.data,o);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=o[0],t=o[1],i=o.slice(2).join(".")),l||!a||!p(i)?l:he(this.data?.[e]?.[t],i,r)}addResource(e,t,i,n,r={silent:!1}){let a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=[e,t];i&&(o=o.concat(a?i.split(a):i)),e.indexOf(".")>-1&&(o=e.split("."),n=t,t=o[1]),this.addNamespaces(t),Ne(this.data,o,n),r.silent||this.emit("added",e,t,i,n)}addResources(e,t,i,n={silent:!1}){for(let r in i)(p(i[r])||Array.isArray(i[r]))&&this.addResource(e,t,r,i[r],{silent:!0});n.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,n,r,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),n=i,i=t,t=o[1]),this.addNamespaces(t);let l=W(this.data,o)||{};a.skipCopy||(i=JSON.parse(JSON.stringify(i))),n?Pe(l,i,r):l={...l,...i},Ne(this.data,o,l),a.silent||this.emit("added",e,t,i)}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){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}},Ve={processors:{},addPostProcessor(s){this.processors[s.name]=s},handle(s,e,t,i,n){return s.forEach(r=>{e=this.processors[r]?.process(e,t,i,n)??e}),e}},Fe=Symbol("i18next/PATH_KEY");function lt(){let s=[],e=Object.create(null),t;return e.get=(i,n)=>(t?.revoke?.(),n===Fe?s:(s.push(n),t=Proxy.revocable(i,e),t.proxy)),Proxy.revocable(Object.create(null),e).proxy}function fe(s,e){let{[Fe]:t}=s(lt());return t.join(e?.keySeparator??".")}var Re={},oe=s=>!p(s)&&typeof s!="boolean"&&typeof s!="number",Q=class s extends D{constructor(e,t={}){super(),Ye(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=I.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let i={...t};if(e==null)return!1;let n=this.resolve(e,i);if(n?.res===void 0)return!1;let r=oe(n.res);return!(i.returnObjects===!1&&r)}extractFromKey(e,t){let i=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");let n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],a=i&&e.indexOf(i)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!at(e,i,n);if(a&&!o){let l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:p(r)?[r]:r};let u=e.split(i);(i!==n||i===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:p(r)?[r]:r}}translate(e,t,i){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=fe(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);let r=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],n),u=l[l.length-1],h=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");let c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return d?r?{res:`${u}${h}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${h}${o}`:r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:o;let f=this.resolve(e,n),g=f?.res,x=f?.usedKey||o,L=f?.exactUsedKey||o,T=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,V=!this.i18nFormat||this.i18nFormat.handleAsObject,w=n.count!==void 0&&!p(n.count),A=s.hasDefaultValue(n),$=w?this.pluralResolver.getSuffix(c,n.count,n):"",B=n.ordinal&&w?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",ye=w&&!n.ordinal&&n.count===0,M=ye&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${$}`]||n[`defaultValue${B}`]||n.defaultValue,N=g;V&&!g&&A&&(N=M);let qe=oe(N),Ge=Object.prototype.toString.apply(N);if(V&&N&&qe&&T.indexOf(Ge)<0&&!(p(y)&&Array.isArray(N))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let R=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,N,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(f.res=R,f.usedParams=this.getUsedParamsDetails(n),f):R}if(a){let R=Array.isArray(N),C=R?[]:{},Se=R?L:x;for(let E in N)if(Object.prototype.hasOwnProperty.call(N,E)){let v=`${Se}${a}${E}`;A&&!g?C[E]=this.translate(v,{...n,defaultValue:oe(M)?M[E]:void 0,joinArrays:!1,ns:l}):C[E]=this.translate(v,{...n,joinArrays:!1,ns:l}),C[E]===v&&(C[E]=N[E])}g=C}}else if(V&&p(y)&&Array.isArray(g))g=g.join(y),g&&(g=this.extendTranslation(g,e,n,i));else{let R=!1,C=!1;!this.isValidLookup(g)&&A&&(R=!0,g=M),this.isValidLookup(g)||(C=!0,g=o);let E=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:g,v=A&&M!==g&&this.options.updateMissing;if(C||R||v){if(this.logger.log(v?"updateKey":"missingKey",c,u,o,v?M:g),a){let O=this.resolve(o,{...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 K=[],_=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&_&&_[0])for(let O=0;O<_.length;O++)K.push(_[O]);else this.options.saveMissingTo==="all"?K=this.languageUtils.toResolveHierarchy(n.lng||this.language):K.push(n.lng||this.language);let Le=(O,F,H)=>{let Oe=A&&H!==g?H:E;this.options.missingKeyHandler?this.options.missingKeyHandler(O,u,F,Oe,v,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(O,u,F,Oe,v,n),this.emit("missingKey",O,u,F,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?K.forEach(O=>{let F=this.pluralResolver.getSuffixes(O,n);ye&&n[`defaultValue${this.options.pluralSeparator}zero`]&&F.indexOf(`${this.options.pluralSeparator}zero`)<0&&F.push(`${this.options.pluralSeparator}zero`),F.forEach(H=>{Le([O],o+H,n[`defaultValue${H}`]||M)})}):Le(K,o,M))}g=this.extendTranslation(g,e,n,f,i),C&&g===o&&this.options.appendNamespaceToMissingKey&&(g=`${u}${h}${o}`),(C||R)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${h}${o}`:o,R?g:void 0,n))}return r?(f.res=g,f.usedParams=this.getUsedParamsDetails(n),f):g}extendTranslation(e,t,i,n,r){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});let l=p(e)&&(i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),u;if(l){let c=e.match(this.interpolator.nestingRegexp);u=c&&c.length}let h=i.replace&&!p(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,i.lng||this.language||n.usedLng,i),l){let c=e.match(this.interpolator.nestingRegexp),d=c&&c.length;u<d&&(i.nest=!1)}!i.lng&&n&&n.res&&(i.lng=this.language||n.usedLng),i.nest!==!1&&(e=this.interpolator.nest(e,(...c)=>r?.[0]===c[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${c[0]} in key: ${t[0]}`),null):this.translate(...c,t),i)),i.interpolation&&this.interpolator.reset()}let a=i.postProcess||this.options.postProcess,o=p(a)?[a]:a;return e!=null&&o?.length&&i.applyPostProcessor!==!1&&(e=Ve.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),e}resolve(e,t={}){let i,n,r,a,o;return p(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(i))return;let u=this.extractFromKey(l,t),h=u.key;n=h;let c=u.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=t.count!==void 0&&!p(t.count),f=d&&!t.ordinal&&t.count===0,g=t.context!==void 0&&(p(t.context)||typeof t.context=="number")&&t.context!=="",x=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(L=>{this.isValidLookup(i)||(o=L,!Re[`${x[0]}-${L}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Re[`${x[0]}-${L}`]=!0,this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),x.forEach(T=>{if(this.isValidLookup(i))return;a=T;let y=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(y,h,T,L,t);else{let w;d&&(w=this.pluralResolver.getSuffix(T,t.count,t));let A=`${this.options.pluralSeparator}zero`,$=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&w.indexOf($)===0&&y.push(h+w.replace($,this.options.pluralSeparator)),y.push(h+w),f&&y.push(h+A)),g){let B=`${h}${this.options.contextSeparator||"_"}${t.context}`;y.push(B),d&&(t.ordinal&&w.indexOf($)===0&&y.push(B+w.replace($,this.options.pluralSeparator)),y.push(B+w),f&&y.push(B+A))}}let V;for(;V=y.pop();)this.isValidLookup(i)||(r=V,i=this.getResource(T,L,V,t))}))})}),{res:i,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,i,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,i,n):this.resourceStore.getResource(e,t,i,n)}getUsedParamsDetails(e={}){let t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=e.replace&&!p(e.replace),n=i?e.replace:e;if(i&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!i){n={...n};for(let r of t)delete n[r]}return n}static hasDefaultValue(e){let t="defaultValue";for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&e[i]!==void 0)return!0;return!1}},ee=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I.create("languageUtils")}getScriptPartFromCode(e){if(e=z(e),!e||e.indexOf("-")<0)return null;let t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=z(e),!e||e.indexOf("-")<0)return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(p(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(i=>{if(t)return;let n=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(i=>{if(t)return;let n=this.getScriptPartFromCode(i);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(i);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(a=>{if(a===r)return a;if(!(a.indexOf("-")<0&&r.indexOf("-")<0)&&(a.indexOf("-")>0&&r.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===r||a.indexOf(r)===0&&r.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)),p(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){let i=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),n=[],r=a=>{a&&(this.isSupportedCode(a)?n.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return p(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):p(e)&&r(this.formatLanguageCode(e)),i.forEach(a=>{n.indexOf(a)<0&&r(this.formatLanguageCode(a))}),n}},Ee={zero:0,one:1,two:2,few:3,many:4,other:5},Ie={select:s=>s===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},ge=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=I.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let i=z(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:i,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];let a;try{a=new Intl.PluralRules(i,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Ie;if(!e.match(/-|_/))return Ie;let l=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(l,t)}return this.pluralRulesCache[r]=a,a}needsPlural(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,i={}){return this.getSuffixes(e,i).map(n=>`${t}${n}`)}getSuffixes(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?i.resolvedOptions().pluralCategories.sort((n,r)=>Ee[n]-Ee[r]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t,i={}){let n=this.getRule(e,i);return n?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,i))}},ve=(s,e,t,i=".",n=!0)=>{let r=tt(s,e,t);return!r&&n&&p(t)&&(r=he(s,t,i),r===void 0&&(r=he(e,t,i))),r},le=s=>s.replace(/\$/g,"$$$$"),te=class{constructor(e={}){this.logger=I.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(t=>t),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:i,useRawValueToEscape:n,prefix:r,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:h,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:g,nestingSuffixEscaped:x,nestingOptionsSeparator:L,maxReplaces:T,alwaysFormat:y}=e.interpolation;this.escape=t!==void 0?t:it,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?j(r):a||"{{",this.suffix=o?j(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=d?j(d):f||j("$t("),this.nestingSuffix=g?j(g):x||j(")"),this.nestingOptionsSeparator=L||",",this.maxReplaces=T||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(t,i)=>t?.source===i?(t.lastIndex=0,t):new RegExp(i,"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,i,n){let r,a,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){let T=ve(t,l,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,i,{...n,...t,interpolationkey:f}):T}let g=f.split(this.formatSeparator),x=g.shift().trim(),L=g.join(this.formatSeparator).trim();return this.format(ve(t,l,x,this.options.keySeparator,this.options.ignoreJSONStructure),L,i,{...n,...t,interpolationkey:x})};this.resetRegExp();let h=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>le(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?le(this.escape(f)):le(f)}].forEach(f=>{for(o=0;r=f.regex.exec(e);){let g=r[1].trim();if(a=u(g),a===void 0)if(typeof h=="function"){let L=h(e,r,n);a=p(L)?L:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))a="";else if(c){a=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),a="";else!p(a)&&!this.useRawValueToEscape&&(a=we(a));let x=f.safeValue(a);if(e=e.replace(r[0],x),c?(f.regex.lastIndex+=a.length,f.regex.lastIndex-=r[0].length):f.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,i={}){let n,r,a,o=(l,u)=>{let h=this.nestingOptionsSeparator;if(l.indexOf(h)<0)return l;let c=l.split(new RegExp(`${h}[ ]*{`)),d=`{${c[1]}`;l=c[0],d=this.interpolate(d,a);let f=d.match(/'/g),g=d.match(/"/g);((f?.length??0)%2===0&&!g||g.length%2!==0)&&(d=d.replace(/'/g,'"'));try{a=JSON.parse(d),u&&(a={...u,...a})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,x),`${l}${h}${d}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;n=this.nestingRegexp.exec(e);){let l=[];a={...i},a=a.replace&&!p(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let u=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(u!==-1&&(l=n[1].slice(u).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),n[1]=n[1].slice(0,u)),r=t(o.call(this,n[1].trim(),a),a),r&&n[0]===e&&!p(r))return r;p(r)||(r=we(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l.length&&(r=l.reduce((h,c)=>this.format(h,c,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}},ut=s=>{let e=s.toLowerCase().trim(),t={};if(s.indexOf("(")>-1){let i=s.split("(");e=i[0].toLowerCase().trim();let n=i[1].substring(0,i[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){let[o,...l]=a.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),h=o.trim();t[h]||(t[h]=u),u==="false"&&(t[h]=!1),u==="true"&&(t[h]=!0),isNaN(u)||(t[h]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},Ae=s=>{let e={};return(t,i,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});let a=i+JSON.stringify(r),o=e[a];return o||(o=s(z(i),n),e[a]=o),o(t)}},ct=s=>(e,t,i)=>s(z(t),i)(e),pe=class{constructor(e={}){this.logger=I.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let i=t.cacheInBuiltFormats?Ae:ct;this.formats={number:i((n,r)=>{let a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:i((n,r)=>{let a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:i((n,r)=>{let a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:i((n,r)=>{let a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:i((n,r)=>{let a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ae(t)}format(e,t,i,n={}){let r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(o=>o.indexOf(")")>-1)){let o=r.findIndex(l=>l.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,o)].join(this.formatSeparator)}return r.reduce((o,l)=>{let{formatName:u,formatOptions:h}=ut(l);if(this.formats[u]){let c=o;try{let d=n?.formatParams?.[n.interpolationkey]||{},f=d.locale||d.lng||n.locale||n.lng||i;c=this.formats[u](o,f,{...h,...n,...d})}catch(d){this.logger.warn(d)}return c}else this.logger.warn(`there was no format function for ${u}`);return o},e)}},ht=(s,e)=>{s.pending[e]!==void 0&&(delete s.pending[e],s.pendingCount--)},me=class extends D{constructor(e,t,i,n={}){super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=n,this.logger=I.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?.(i,n.backend,n)}queueLoad(e,t,i,n){let r={},a={},o={},l={};return e.forEach(u=>{let h=!0;t.forEach(c=>{let d=`${u}|${c}`;!i.reload&&this.store.hasResourceBundle(u,c)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?a[d]===void 0&&(a[d]=!0):(this.state[d]=1,h=!1,a[d]===void 0&&(a[d]=!0),r[d]===void 0&&(r[d]=!0),l[c]===void 0&&(l[c]=!0)))}),h||(o[u]=!0)}),(Object.keys(r).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,i){let n=e.split("|"),r=n[0],a=n[1];t&&this.emit("failedLoading",r,a,t),!t&&i&&this.store.addResourceBundle(r,a,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);let o={};this.queue.forEach(l=>{et(l.loaded,[r],a),ht(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{o[u]||(o[u]={});let h=l.loaded[u];h.length&&h.forEach(c=>{o[u][c]===void 0&&(o[u][c]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,i,n=0,r=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:i,tried:n,wait:r,callback:a});return}this.readingCalls++;let o=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){let c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(u&&h&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,i,n+1,r*2,a)},r);return}a(u,h)},l=this.backend[i].bind(this.backend);if(l.length===2){try{let u=l(e,t);u&&typeof u.then=="function"?u.then(h=>o(null,h)).catch(o):o(null,u)}catch(u){o(u)}return}return l(e,t,o)}prepareLoading(e,t,i={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();p(e)&&(e=this.languageUtils.toResolveHierarchy(e)),p(t)&&(t=[t]);let r=this.queueLoad(e,t,i,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.toLoad.forEach(a=>{this.loadOne(a)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e,t=""){let i=e.split("|"),n=i[0],r=i[1];this.read(n,r,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,a),!a&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,o),this.loaded(e,a,o)})}saveMissing(e,t,i,n,r,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${i}" 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(!(i==null||i==="")){if(this.backend?.create){let l={...a,isUpdate:r},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(e,t,i,n,l):h=u(e,t,i,n),h&&typeof h.then=="function"?h.then(c=>o(null,c)).catch(o):o(null,h)}catch(h){o(h)}else u(e,t,i,n,o,l)}!e||!e[0]||this.store.addResource(e[0],t,i,n)}}},ue=()=>({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:s=>{let e={};if(typeof s[1]=="object"&&(e=s[1]),p(s[1])&&(e.defaultValue=s[1]),p(s[2])&&(e.tDescription=s[2]),typeof s[2]=="object"||typeof s[3]=="object"){let t=s[3]||s[2];Object.keys(t).forEach(i=>{e[i]=t[i]})}return e},interpolation:{escapeValue:!0,format:s=>s,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Me=s=>(p(s.ns)&&(s.ns=[s.ns]),p(s.fallbackLng)&&(s.fallbackLng=[s.fallbackLng]),p(s.fallbackNS)&&(s.fallbackNS=[s.fallbackNS]),s.supportedLngs?.indexOf?.("cimode")<0&&(s.supportedLngs=s.supportedLngs.concat(["cimode"])),typeof s.initImmediate=="boolean"&&(s.initAsync=s.initImmediate),s),X=()=>{},dt=s=>{Object.getOwnPropertyNames(Object.getPrototypeOf(s)).forEach(t=>{typeof s[t]=="function"&&(s[t]=s[t].bind(s))})},ft=s=>!!(s?.modules?.backend?.name?.indexOf("Locize")>0||s?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||s?.options?.backend?.backends&&s.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)),be=class s extends D{constructor(e={},t){if(super(),this.options=Me(e),this.services={},this.logger=I,this.modules={external:[]},dt(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&&(p(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=ue();this.options={...i,...this.options,...Me(e)},this.options.interpolation={...i.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=i.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!ft(this)&&typeof console<"u"&&typeof console.info<"u"&&console.info("\u{1F310} i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}");let n=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?I.init(n(this.modules.logger),this.options):I.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=pe;let h=new ee(this.options);this.store=new Y(this.options.resources,this.options);let c=this.services;c.logger=I,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new ge(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.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"),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=n(u),c.formatter.init&&c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new te(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new me(n(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(f,...g)=>{this.emit(f,...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 Q(this.services,this.options),this.translator.on("*",(f,...g)=>{this.emit(f,...g)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,t||(t=X),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=(...h)=>this.store[u](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...h)=>(this.store[u](...h),this)});let o=q(),l=()=>{let u=(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("initialized",this.options),o.resolve(c),t(h,c)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),o}loadResources(e,t=X){let i=t,n=p(e)?e:this.language;if(typeof e=="function"&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();let r=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(u=>{u!=="cimode"&&r.indexOf(u)<0&&r.push(u)})};n?a(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload?.forEach?.(o=>a(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(o)})}else i(null)}reloadResources(e,t,i){let n=q();return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=X),this.services.backendConnector.reload(e,t,r=>{n.resolve(),i(r)}),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"&&Ve.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++){let i=this.languages[t];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;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;let i=q();this.emit("languageChanging",e);let n=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,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,i.resolve((...u)=>this.t(...u)),t&&t(o,(...u)=>this.t(...u))},a=o=>{!e&&!o&&this.services.languageDetector&&(o=[]);let l=p(o)?o:o&&o[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(p(o)?[o]:o);u&&(this.language||n(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,h=>{r(h,u)})};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),i}getFixedT(e,t,i){let n=(r,a,...o)=>{let l;typeof a!="object"?l=this.options.overloadTranslationOptionHandler([r,a].concat(o)):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||i||n.keyPrefix);let u=this.options.keySeparator||".",h;return l.keyPrefix&&Array.isArray(r)?h=r.map(c=>(typeof c=="function"&&(c=fe(c,{...this.options,...a})),`${l.keyPrefix}${u}${c}`)):(typeof r=="function"&&(r=fe(r,{...this.options,...a})),h=l.keyPrefix?`${l.keyPrefix}${u}${r}`:r),this.t(h,l)};return p(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=i,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;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let i=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;let a=(o,l)=>{let u=this.services.backendConnector.state[`${o}|${l}`];return u===-1||u===0||u===2};if(t.precheck){let o=t.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(i,e)&&(!n||a(r,e)))}loadNamespaces(e,t){let i=q();return this.options.ns?(p(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{i.resolve(),t&&t(n)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){let i=q();p(e)&&(e=[e]);let n=this.options.preload||[],r=e.filter(a=>n.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return r.length?(this.options.preload=n.concat(r),this.loadResources(a=>{i.resolve(),t&&t(a)}),i):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let n=new Intl.Locale(e);if(n&&n.getTextInfo){let r=n.getTextInfo();if(r&&r.direction)return r.direction}}catch{}let 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"],i=this.services?.languageUtils||new ee(ue());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let i=new s(e,t);return i.createInstance=s.createInstance,i}cloneInstance(e={},t=X){let i=e.forkResourceStore;i&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},r=new s(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},i){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((h,c)=>(h[c]={...l[u][c]},h),l[u]),l),{});r.store=new Y(o,n),r.services.resourceStore=r.store}if(e.interpolation){let l={...ue().interpolation,...this.options.interpolation,...e.interpolation},u={...n,interpolation:l};r.services.interpolator=new te(u)}return r.translator=new Q(r.services,n),r.translator.on("*",(o,...l)=>{r.emit(o,...l)}),r.init(n,t),r.translator.options=n,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},S=be.createInstance(),Lt=S.createInstance,Ot=S.dir,wt=S.init,Tt=S.loadResources,Ct=S.reloadResources,Nt=S.use,Rt=S.changeLanguage,Et=S.getFixedT,It=S.t,vt=S.exists,At=S.setDefaultNamespace,Mt=S.hasLoadedNamespace,Pt=S.loadNamespaces,Vt=S.loadLanguages;var ke={Transformer:{domainMustBeGreaterThanZero:"Domain {{domain, number}} must be greater than 0",tweakMustBeGreaterThanOrEqualToZero:"Tweak {{tweak, number}} must be greater than or equal to 0",valueMustBeGreaterThanOrEqualToZero:"Value {{value, number}} must be greater than or equal to 0",valueMustBeLessThan:"Value {{value, number}} must be less than {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"Minimum value {{minimumValue, number}} must be greater than or equal to 0",maximumValueMustBeLessThan:"Maximum value {{maximumValue, number}} must be less than {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"String {{s}} does not match pattern"},CharacterSetValidator:{firstZeroFirstCharacter:"Character set must support zero as first character",allNumericAllNumericCharacters:"Character set must support all numeric characters in sequence",stringMustNotBeAllNumeric:"String must not be all numeric",lengthMustBeGreaterThanOrEqualTo:"Length {{length, number}} must be greater than or equal to {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"Length {{length, number}} must be less than or equal to {{maximumLength, number}}",lengthMustBeEqualTo:"Length {{length, number}} must be equal to {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"Length {{length, number}} of {{component}} must be greater than or equal to {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"Length {{length, number}} of {{component}} must be less than or equal to {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"Length {{length, number}} of {{component}} must be equal to {{exactLength, number}}",invalidCharacterAtPosition:"Invalid character '{{c}}' at position {{position, number}}",invalidCharacterAtPositionOfComponent:"Invalid character '{{c}}' at position {{position, number}} of {{component}}",exclusionNotSupported:"Exclusion value of {{exclusion, number}} is not supported",endSequenceValueMustBeLessThanOrEqualTo:"End sequence value (start sequence value + count - 1) must be less than {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:'{{typeName}} "{{key}}" not found'}};var $e={Transformer:{domainMustBeGreaterThanZero:"Le domaine {{domain, number}} doit \xEAtre sup\xE9rieur \xE0 0",tweakMustBeGreaterThanOrEqualToZero:"Le r\xE9glage {{tweak, number}} doit \xEAtre sup\xE9rieur ou \xE9gal \xE0 0",valueMustBeGreaterThanOrEqualToZero:"La valeur {{value, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",valueMustBeLessThan:"La valeur {{value, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"La valeur minimale {{minimumValue, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",maximumValueMustBeLessThan:"La valeur maximale {{maximumValue, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"La cha\xEEne {{s}} ne correspond pas au mod\xE8le"},CharacterSetValidator:{firstZeroFirstCharacter:"Le jeu de caract\xE8res doit prendre en charge z\xE9ro comme premier caract\xE8re",allNumericAllNumericCharacters:"Le jeu de caract\xE8res doit prendre en charge tous les caract\xE8res num\xE9riques en s\xE9quence",stringMustNotBeAllNumeric:"La cha\xEEne ne doit pas \xEAtre enti\xE8rement num\xE9rique",lengthMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthMustBeEqualTo:"La longueur {{length, number}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",invalidCharacterAtPosition:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}}",invalidCharacterAtPositionOfComponent:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}} de {{component}}",exclusionNotSupported:"La valeur d'exclusion de {{exclusion, number}} n'est pas prise en charge",endSequenceValueMustBeLessThanOrEqualTo:"La valeur de la s\xE9quence de fin (valeur de la s\xE9quence de d\xE9but + nombre - 1) doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:"{{typeName}} \xAB\xA0{{key}}\xA0\xBB introuvable"}};var Be="aidct_utility",je={en:{aidct_utility:ke},fr:{aidct_utility:$e}},m=S.createInstance();async function gt(s,e=!1){return(0,ne.i18nInit)(m,s,e,Be,je,ne.i18nCoreInit)}var Z=class{#t;#e;#r;#i;#n;#s;constructor(e,t){this.#t=BigInt(e),this.#e=this.#t+BigInt(t),this.#r=t,t>=0?(this.#i=1n,this.#n=this.#t,this.#s=this.#e-1n):(this.#i=-1n,this.#n=this.#e+1n,this.#s=this.#t)}get startValue(){return this.#t}get endValue(){return this.#e}get count(){return this.#r}get minimumValue(){return this.#n}get maximumValue(){return this.#s}*[Symbol.iterator](){for(let e=this.#t;e!==this.#e;e+=this.#i)yield e}};function U(s,e){return{*[Symbol.iterator](){let t=0;for(let i of s)yield e(i,t++)}}}var P=class s{static#t=new Map;#e;constructor(e){if(this.#e=BigInt(e),this.#e<=0n)throw new RangeError(m.t("Transformer.domainMustBeGreaterThanZero",{domain:e}))}static get(e,t){let i=BigInt(e),n=s.#t.get(i);n===void 0&&(n=new Map,s.#t.set(i,n));let r=t===void 0?void 0:BigInt(t),a=n.get(r);return a===void 0&&(a=r===void 0?new ie(i):new re(i,r),n.set(r,a)),a}get domain(){return this.#e}#r(e){if(e<0n)throw new RangeError(m.t("Transformer.valueMustBeGreaterThanOrEqualToZero",{value:e}));if(e>=this.domain)throw new RangeError(m.t("Transformer.valueMustBeLessThan",{value:e,domain:this.domain}))}#i(e){let t=BigInt(e);return this.#r(t),this.doForward(t)}#n(e,t,i){return e(this.#i(t),i)}forward(e,t){let i;if(typeof e!="object")i=t===void 0?this.#i(e):this.#n(t,e);else if(e instanceof Z){if(e.minimumValue<0n)throw new RangeError(m.t("Transformer.minimumValueMustBeGreaterThanOrEqualToZero",{minimumValue:e.minimumValue}));if(e.maximumValue>=this.domain)throw new RangeError(m.t("Transformer.maximumValueMustBeLessThan",{maximumValue:e.maximumValue,domain:this.domain}));i=t===void 0?U(e,n=>this.doForward(n)):U(e,(n,r)=>t(this.doForward(n),r))}else i=t===void 0?U(e,n=>this.#i(n)):U(e,(n,r)=>this.#n(t,n,r));return i}reverse(e){let t=BigInt(e);return this.#r(t),this.doReverse(t)}},ie=class extends P{doForward(e){return e}doReverse(e){return e}},re=class s extends P{static#t=603868999n;static#e=new Uint8Array([1,2,4,8,16,32,64,128]);static#r=new Uint8Array([254,253,251,247,239,223,191,127]);#i;#n;#s;#o;#a;constructor(e,t){if(super(e),t<0n)throw new RangeError(m.t("Transformer.tweakMustBeGreaterThanOrEqualToZero",{tweak:t}));let i=0;for(let o=this.domain-1n;o!==0n;o>>=8n)i++;this.#i=i;let n=[],r=[],a=[];for(let o=this.domain*BigInt(t)*s.#t;o!==0n;o>>=8n){n.unshift(Number(BigInt.asUintN(8,o)));let l=Number(BigInt.asUintN(3,o));r.push(s.#e[l]),a.push(s.#r[l])}if(i===1){let o=s.#e.filter(l=>l<e).reduce((l,u)=>l|u,0);this.#n=new Uint8Array([n.reduce((l,u)=>l^u,0)&o]),this.#s=new Uint8Array([s.#e[0]]),this.#o=new Uint8Array([s.#r[0]]),this.#a=1}else this.#n=new Uint8Array(n),this.#s=new Uint8Array(r),this.#o=new Uint8Array(a),this.#a=n.length}#l(e){let t=new Uint8Array(this.#i);for(let i=this.#i-1,n=e;i>=0&&n!==0n;i--,n>>=8n)t[i]=Number(BigInt.asUintN(8,n));return t}static#u(e){return e.reduce((t,i)=>t<<8n|BigInt(i),0n)}#c(e,t,i){let n=e.length,r=new Uint8Array(n),a=[],o=[],l=this.#s[t];e.forEach((c,d)=>{let f=c&l;r[d]=f,(f!==0?a:o).push(d)});let u=this.#o[t],h=new Uint8Array(n);return[...a,...o].forEach((c,d)=>{i?h[d]=e[c]&u|r[d]:h[c]=e[d]&u|r[c]}),h}#h(e,t,i){let n=this.#n[t];return e.map(r=>{let a=r^n;return n=i?a:r,a})}doForward(e){let t=this.#l(e),i;do{for(let n=0;n<this.#a;n++)t=this.#h(this.#c(t,n,!0),n,!0);i=s.#u(t)}while(i>=this.domain);return i}doReverse(e){let t=this.#l(e),i;do{for(let n=this.#a-1;n>=0;n--)t=this.#c(this.#h(t,n,!1),n,!1);i=s.#u(t)}while(i>=this.domain);return i}};var J=class{#t;constructor(e){this.#t=e}get regExp(){return this.#t}createErrorMessage(e){return m.t("RegExpValidator.stringDoesNotMatchPattern",{s:e})}validate(e){if(!this.#t.test(e))throw new RangeError(this.createErrorMessage(e))}};var xe=class{#t;#e;constructor(e,t){this.#t=e,this.#e=t}get typeName(){return this.#t}get record(){return this.#e}validate(e){if(!(e in this.record))throw new RangeError(m.t("RecordValidator.typeNameKeyNotFound",{typeName:this.typeName,key:e}))}};var b={None:0,FirstZero:1,AllNumeric:2};var se=class s{static#t=new class extends J{createErrorMessage(e){return m.t("CharacterSetValidator.stringMustNotBeAllNumeric")}}(/\D/u);#e;#r;#i;constructor(e,...t){this.#e=e;let i=new Map;e.forEach((n,r)=>{i.set(n,r)}),this.#r=i,this.#i=t}get characterSet(){return this.#e}get characterSetSize(){return this.#e.length}get exclusionSupport(){return this.#i}character(e){return this.#e[e]}characterIndex(e){return this.#r.get(e)}characterIndexes(e){return Array.from(e).map(t=>this.#r.get(t))}static#n(e){return typeof e=="function"?e():e}validateExclusion(e){if(e!==void 0&&e!==b.None&&!this.#i.includes(e))throw new RangeError(m.t("CharacterSetValidator.exclusionNotSupported",{exclusion:e}))}validate(e,t){let i=e.length,n=t?.minimumLength,r=t?.maximumLength;if(n!==void 0&&i<n){let o;throw r!==void 0&&r===n?o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeEqualTo":"CharacterSetValidator.lengthOfComponentMustBeEqualTo",{component:s.#n(t?.component),length:i,exactLength:n}):o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeGreaterThanOrEqualTo",{component:s.#n(t?.component),length:i,minimumLength:n}),new RangeError(o)}if(r!==void 0&&i>r)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeLessThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeLessThanOrEqualTo",{component:s.#n(t?.component),length:i,maximumLength:r}));let a=this.characterIndexes(e).findIndex(o=>o===void 0);if(a!==-1)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:s.#n(t?.component),c:e.charAt(a),position:a+(t?.positionOffset??0)+1}));if(t?.exclusion!==void 0)switch(this.validateExclusion(t.exclusion),t.exclusion){case b.None:break;case b.FirstZero:if(e.startsWith("0"))throw new RangeError(m.t(t.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:s.#n(t.component),c:"0",position:(t.positionOffset??0)+1}));break;case b.AllNumeric:s.#t.validate(e);break}}},k=class s extends se{static MAXIMUM_STRING_LENGTH=40;static#t;static#e(e){let t=new Array(this.MAXIMUM_STRING_LENGTH+1),i=BigInt(e);for(let n=0,r=1n;n<=this.MAXIMUM_STRING_LENGTH;n++,r*=i)t[n]=r;return t}static powerOf10(e){return s.#t??=s.#e(10),s.#t[e]}#r;#i;#n;#s;constructor(e,...t){super(e,...t),this.#r=BigInt(this.characterSetSize),this.#i=BigInt(this.characterSetSize-1);let i=[],n=s.#e(this.characterSetSize);if(i[b.None]=n,t.includes(b.FirstZero)){if(e[0]!=="0")throw new RangeError(m.t("CharacterSetValidator.firstZeroFirstCharacter"));let a=new Array(s.MAXIMUM_STRING_LENGTH+1);a[0]=0n;for(let o=1;o<=s.MAXIMUM_STRING_LENGTH;o++)a[o]=this.#i*n[o-1];i[b.FirstZero]=a}if(t.includes(b.AllNumeric)){let o=function(d){let f=d[0];for(let g of d){if(g===void 0||g!==f)throw new RangeError(m.t("CharacterSetValidator.allNumericAllNumericCharacters"));f=g+1}};var r=o;let a=new Array(s.MAXIMUM_STRING_LENGTH+1),l=this.characterIndexes("0123456789");o(l);let u=BigInt(l[0]),h=new Array(s.MAXIMUM_STRING_LENGTH+1),c=0n;for(let d=0;d<=s.MAXIMUM_STRING_LENGTH;d++)a[d]=n[d]-s.powerOf10(d),h[d]=c,c=c*this.#r+u;this.#s=h,i[b.AllNumeric]=a}else this.#s=[];this.#n=i}#o(e){return this.#n[b.None][e]}#a(e,t,i){let n;if(t===0){if(!e&&i<10n)throw new RangeError(m.t("CharacterSetValidator.stringMustNotBeAllNumeric"));n=10n}else{let r=this.#o(t),a=s.powerOf10(t),o=e?r-a:r,l=i/o;l>=10n?n=s.powerOf10(t+1):n=l*a+this.#a(e,t-1,i-l*o)}return n}#l(e){if(e<0)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo",{length:e,minimumLength:0}));if(e>s.MAXIMUM_STRING_LENGTH)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeLessThanOrEqualTo",{length:e,maximumLength:s.MAXIMUM_STRING_LENGTH}))}create(e,t,i,n,r){this.#l(e),this.validateExclusion(i);let a=i===b.AllNumeric?this.#s[e]:0n;return P.get(this.#n[i??b.None][e],n).forward(t,(l,u)=>{let h="";if(e!==0){let c=l;i===b.AllNumeric&&c>=a&&(c+=this.#a(!0,e,c-a));for(let d=e-1;d>0;d--){let f=c/this.#r;h=this.character(Number(c-f*this.#r))+h,c=f}h=this.character(i===b.FirstZero?Number(c%this.#i)+1:Number(c%this.#r))+h}return r===void 0?h:r(h,u)})}valueFor(e,t,i){let n=e.length;this.#l(n),this.validateExclusion(t);let r=BigInt(this.characterSetSize),a=this.characterIndexes(e).reduce((o,l,u)=>{if(l===void 0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:e.charAt(u),position:u+1}));let h;if(u===0&&t===b.FirstZero){if(l===0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:"0",position:1}));h=BigInt(l-1)}else h=o*r+BigInt(l);return h},0n);if(t===b.AllNumeric){let o=this.#s[n];a>=o&&(a-=this.#a(!1,n,a-o))}return P.get(this.#n[t??b.None][n],i).reverse(a)}},De=new k(["0","1","2","3","4","5","6","7","8","9"],b.FirstZero),pt=De,Ue=new k(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],b.FirstZero,b.AllNumeric),mt=Ue,Ke=new k(["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]),bt=Ke,He=new k(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],b.FirstZero,b.AllNumeric),xt=He;0&&(module.exports={ALPHABETIC_CREATOR,ALPHABETIC_VALIDATOR,ALPHANUMERIC_CREATOR,ALPHANUMERIC_VALIDATOR,CharacterSetCreator,CharacterSetValidator,EncryptionTransformer,Exclusions,HEXADECIMAL_CREATOR,HEXADECIMAL_VALIDATOR,IdentityTransformer,NUMERIC_CREATOR,NUMERIC_VALIDATOR,RecordValidator,RegExpValidator,Sequence,Transformer,i18nUtilityInit,i18nextUtility,mapIterable,utilityNS,utilityResourceBundle});
1
+ "use strict";var ae=Object.defineProperty;var Ze=Object.getOwnPropertyDescriptor;var _e=Object.getOwnPropertyNames;var Je=Object.prototype.hasOwnProperty;var Xe=(s,e)=>{for(var t in e)ae(s,t,{get:e[t],enumerable:!0})},We=(s,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of _e(e))!Je.call(s,n)&&n!==t&&ae(s,n,{get:()=>e[n],enumerable:!(i=Ze(e,n))||i.enumerable});return s};var Ye=s=>We(ae({},"__esModule",{value:!0}),s);var Lt={};Xe(Lt,{ALPHABETIC_CREATOR:()=>He,ALPHABETIC_VALIDATOR:()=>St,ALPHANUMERIC_CREATOR:()=>qe,ALPHANUMERIC_VALIDATOR:()=>Ot,CharacterSetCreator:()=>$,CharacterSetValidator:()=>se,EncryptionTransformer:()=>re,Exclusions:()=>b,HEXADECIMAL_CREATOR:()=>Ke,HEXADECIMAL_VALIDATOR:()=>yt,IdentityTransformer:()=>ie,NUMERIC_CREATOR:()=>Ue,NUMERIC_VALIDATOR:()=>xt,RecordValidator:()=>xe,RegExpValidator:()=>_,Sequence:()=>Z,Transformer:()=>P,i18nUtilityInit:()=>bt,i18nextUtility:()=>m,mapIterable:()=>U,utilityNS:()=>je,utilityResourceBundle:()=>De});module.exports=Ye(Lt);var ne=require("@aidc-toolkit/core");var p=s=>typeof s=="string",q=()=>{let s,e,t=new Promise((i,n)=>{s=i,e=n});return t.resolve=s,t.reject=e,t},we=s=>s==null?"":""+s,Qe=(s,e,t)=>{s.forEach(i=>{e[i]&&(t[i]=e[i])})},et=/###/g,Te=s=>s&&s.indexOf("###")>-1?s.replace(et,"."):s,Ne=s=>!s||p(s),G=(s,e,t)=>{let i=p(e)?e.split("."):e,n=0;for(;n<i.length-1;){if(Ne(s))return{};let r=Te(i[n]);!s[r]&&t&&(s[r]=new t),Object.prototype.hasOwnProperty.call(s,r)?s=s[r]:s={},++n}return Ne(s)?{}:{obj:s,k:Te(i[n])}},Ce=(s,e,t)=>{let{obj:i,k:n}=G(s,e,Object);if(i!==void 0||e.length===1){i[n]=t;return}let r=e[e.length-1],a=e.slice(0,e.length-1),o=G(s,a,Object);for(;o.obj===void 0&&a.length;)r=`${a[a.length-1]}.${r}`,a=a.slice(0,a.length-1),o=G(s,a,Object),o?.obj&&typeof o.obj[`${o.k}.${r}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${r}`]=t},tt=(s,e,t,i)=>{let{obj:n,k:r}=G(s,e,Object);n[r]=n[r]||[],n[r].push(t)},W=(s,e)=>{let{obj:t,k:i}=G(s,e);if(t&&Object.prototype.hasOwnProperty.call(t,i))return t[i]},nt=(s,e,t)=>{let i=W(s,t);return i!==void 0?i:W(e,t)},Pe=(s,e,t)=>{for(let i in e)i!=="__proto__"&&i!=="constructor"&&(i in s?p(s[i])||s[i]instanceof String||p(e[i])||e[i]instanceof String?t&&(s[i]=e[i]):Pe(s[i],e[i],t):s[i]=e[i]);return s},F=s=>s.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),it={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},rt=s=>p(s)?s.replace(/[&<>"'\/]/g,e=>it[e]):s,ce=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}},st=[" ",",","?","!",";"],at=new ce(20),ot=(s,e,t)=>{e=e||"",t=t||"";let i=st.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(i.length===0)return!0;let n=at.getRegExp(`(${i.map(a=>a==="?"?"\\?":a).join("|")})`),r=!n.test(s);if(!r){let a=s.indexOf(t);a>0&&!n.test(s.substring(0,a))&&(r=!0)}return r},he=(s,e,t=".")=>{if(!s)return;if(s[e])return Object.prototype.hasOwnProperty.call(s,e)?s[e]:void 0;let i=e.split(t),n=s;for(let r=0;r<i.length;){if(!n||typeof n!="object")return;let a,o="";for(let l=r;l<i.length;++l)if(l!==r&&(o+=t),o+=i[l],a=n[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<i.length-1)continue;r+=l-r+1;break}n=a}return n},z=s=>s?.replace(/_/g,"-"),lt={type:"logger",log(s){this.output("log",s)},warn(s){this.output("warn",s)},error(s){this.output("error",s)},output(s,e){console?.[s]?.apply?.(console,e)}},de=class s{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||lt,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,i,n){return n&&!this.debug?null:(p(e[0])&&(e[0]=`${i}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new s(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new s(this.logger,e)}},I=new de,D=class{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);let n=this.observers[i].get(t)||0;this.observers[i].set(t,n+1)}),this}off(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,r])=>{for(let a=0;a<r;a++)n(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let a=0;a<r;a++)n.apply(n,[e,...t])})}},Y=class extends D{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){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i,n={}){let r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,a=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure,o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],i&&(Array.isArray(i)?o.push(...i):p(i)&&r?o.push(...i.split(r)):o.push(i)));let l=W(this.data,o);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=o[0],t=o[1],i=o.slice(2).join(".")),l||!a||!p(i)?l:he(this.data?.[e]?.[t],i,r)}addResource(e,t,i,n,r={silent:!1}){let a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=[e,t];i&&(o=o.concat(a?i.split(a):i)),e.indexOf(".")>-1&&(o=e.split("."),n=t,t=o[1]),this.addNamespaces(t),Ce(this.data,o,n),r.silent||this.emit("added",e,t,i,n)}addResources(e,t,i,n={silent:!1}){for(let r in i)(p(i[r])||Array.isArray(i[r]))&&this.addResource(e,t,r,i[r],{silent:!0});n.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,n,r,a={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),n=i,i=t,t=o[1]),this.addNamespaces(t);let l=W(this.data,o)||{};a.skipCopy||(i=JSON.parse(JSON.stringify(i))),n?Pe(l,i,r):l={...l,...i},Ce(this.data,o,l),a.silent||this.emit("added",e,t,i)}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){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}},Ve={processors:{},addPostProcessor(s){this.processors[s.name]=s},handle(s,e,t,i,n){return s.forEach(r=>{e=this.processors[r]?.process(e,t,i,n)??e}),e}},ke=Symbol("i18next/PATH_KEY");function ut(){let s=[],e=Object.create(null),t;return e.get=(i,n)=>(t?.revoke?.(),n===ke?s:(s.push(n),t=Proxy.revocable(i,e),t.proxy)),Proxy.revocable(Object.create(null),e).proxy}function fe(s,e){let{[ke]:t}=s(ut());return t.join(e?.keySeparator??".")}var Ee={},oe=s=>!p(s)&&typeof s!="boolean"&&typeof s!="number",Q=class s extends D{constructor(e,t={}){super(),Qe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=I.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let i={...t};if(e==null)return!1;let n=this.resolve(e,i);if(n?.res===void 0)return!1;let r=oe(n.res);return!(i.returnObjects===!1&&r)}extractFromKey(e,t){let i=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");let n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],a=i&&e.indexOf(i)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ot(e,i,n);if(a&&!o){let l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:p(r)?[r]:r};let u=e.split(i);(i!==n||i===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:p(r)?[r]:r}}translate(e,t,i){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=fe(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);let r=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],n),u=l[l.length-1],h=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");let c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return d?r?{res:`${u}${h}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${h}${o}`:r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:o;let f=this.resolve(e,n),g=f?.res,x=f?.usedKey||o,O=f?.exactUsedKey||o,T=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,V=!this.i18nFormat||this.i18nFormat.handleAsObject,w=n.count!==void 0&&!p(n.count),A=s.hasDefaultValue(n),B=w?this.pluralResolver.getSuffix(c,n.count,n):"",j=n.ordinal&&w?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",ye=w&&!n.ordinal&&n.count===0,M=ye&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${B}`]||n[`defaultValue${j}`]||n.defaultValue,C=g;V&&!g&&A&&(C=M);let Ge=oe(C),ze=Object.prototype.toString.apply(C);if(V&&C&&Ge&&T.indexOf(ze)<0&&!(p(y)&&Array.isArray(C))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,C,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(f.res=E,f.usedParams=this.getUsedParamsDetails(n),f):E}if(a){let E=Array.isArray(C),N=E?[]:{},Se=E?O:x;for(let R in C)if(Object.prototype.hasOwnProperty.call(C,R)){let v=`${Se}${a}${R}`;A&&!g?N[R]=this.translate(v,{...n,defaultValue:oe(M)?M[R]:void 0,joinArrays:!1,ns:l}):N[R]=this.translate(v,{...n,joinArrays:!1,ns:l}),N[R]===v&&(N[R]=C[R])}g=N}}else if(V&&p(y)&&Array.isArray(g))g=g.join(y),g&&(g=this.extendTranslation(g,e,n,i));else{let E=!1,N=!1;!this.isValidLookup(g)&&A&&(E=!0,g=M),this.isValidLookup(g)||(N=!0,g=o);let R=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:g,v=A&&M!==g&&this.options.updateMissing;if(N||E||v){if(this.logger.log(v?"updateKey":"missingKey",c,u,o,v?M:g),a){let L=this.resolve(o,{...n,keySeparator:!1});L&&L.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 K=[],J=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&J&&J[0])for(let L=0;L<J.length;L++)K.push(J[L]);else this.options.saveMissingTo==="all"?K=this.languageUtils.toResolveHierarchy(n.lng||this.language):K.push(n.lng||this.language);let Oe=(L,k,H)=>{let Le=A&&H!==g?H:R;this.options.missingKeyHandler?this.options.missingKeyHandler(L,u,k,Le,v,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(L,u,k,Le,v,n),this.emit("missingKey",L,u,k,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?K.forEach(L=>{let k=this.pluralResolver.getSuffixes(L,n);ye&&n[`defaultValue${this.options.pluralSeparator}zero`]&&k.indexOf(`${this.options.pluralSeparator}zero`)<0&&k.push(`${this.options.pluralSeparator}zero`),k.forEach(H=>{Oe([L],o+H,n[`defaultValue${H}`]||M)})}):Oe(K,o,M))}g=this.extendTranslation(g,e,n,f,i),N&&g===o&&this.options.appendNamespaceToMissingKey&&(g=`${u}${h}${o}`),(N||E)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${h}${o}`:o,E?g:void 0,n))}return r?(f.res=g,f.usedParams=this.getUsedParamsDetails(n),f):g}extendTranslation(e,t,i,n,r){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});let l=p(e)&&(i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),u;if(l){let c=e.match(this.interpolator.nestingRegexp);u=c&&c.length}let h=i.replace&&!p(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,i.lng||this.language||n.usedLng,i),l){let c=e.match(this.interpolator.nestingRegexp),d=c&&c.length;u<d&&(i.nest=!1)}!i.lng&&n&&n.res&&(i.lng=this.language||n.usedLng),i.nest!==!1&&(e=this.interpolator.nest(e,(...c)=>r?.[0]===c[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${c[0]} in key: ${t[0]}`),null):this.translate(...c,t),i)),i.interpolation&&this.interpolator.reset()}let a=i.postProcess||this.options.postProcess,o=p(a)?[a]:a;return e!=null&&o?.length&&i.applyPostProcessor!==!1&&(e=Ve.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),e}resolve(e,t={}){let i,n,r,a,o;return p(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(i))return;let u=this.extractFromKey(l,t),h=u.key;n=h;let c=u.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=t.count!==void 0&&!p(t.count),f=d&&!t.ordinal&&t.count===0,g=t.context!==void 0&&(p(t.context)||typeof t.context=="number")&&t.context!=="",x=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(O=>{this.isValidLookup(i)||(o=O,!Ee[`${x[0]}-${O}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Ee[`${x[0]}-${O}`]=!0,this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),x.forEach(T=>{if(this.isValidLookup(i))return;a=T;let y=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(y,h,T,O,t);else{let w;d&&(w=this.pluralResolver.getSuffix(T,t.count,t));let A=`${this.options.pluralSeparator}zero`,B=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&w.indexOf(B)===0&&y.push(h+w.replace(B,this.options.pluralSeparator)),y.push(h+w),f&&y.push(h+A)),g){let j=`${h}${this.options.contextSeparator||"_"}${t.context}`;y.push(j),d&&(t.ordinal&&w.indexOf(B)===0&&y.push(j+w.replace(B,this.options.pluralSeparator)),y.push(j+w),f&&y.push(j+A))}}let V;for(;V=y.pop();)this.isValidLookup(i)||(r=V,i=this.getResource(T,O,V,t))}))})}),{res:i,usedKey:n,exactUsedKey:r,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,i,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,i,n):this.resourceStore.getResource(e,t,i,n)}getUsedParamsDetails(e={}){let t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=e.replace&&!p(e.replace),n=i?e.replace:e;if(i&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!i){n={...n};for(let r of t)delete n[r]}return n}static hasDefaultValue(e){let t="defaultValue";for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&e[i]!==void 0)return!0;return!1}},ee=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I.create("languageUtils")}getScriptPartFromCode(e){if(e=z(e),!e||e.indexOf("-")<0)return null;let t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=z(e),!e||e.indexOf("-")<0)return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(p(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(i=>{if(t)return;let n=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(i=>{if(t)return;let n=this.getScriptPartFromCode(i);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(i);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(a=>{if(a===r)return a;if(!(a.indexOf("-")<0&&r.indexOf("-")<0)&&(a.indexOf("-")>0&&r.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===r||a.indexOf(r)===0&&r.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)),p(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){let i=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),n=[],r=a=>{a&&(this.isSupportedCode(a)?n.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return p(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):p(e)&&r(this.formatLanguageCode(e)),i.forEach(a=>{n.indexOf(a)<0&&r(this.formatLanguageCode(a))}),n}},Re={zero:0,one:1,two:2,few:3,many:4,other:5},Ie={select:s=>s===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},ge=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=I.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let i=z(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:i,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];let a;try{a=new Intl.PluralRules(i,{type:n})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Ie;if(!e.match(/-|_/))return Ie;let l=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(l,t)}return this.pluralRulesCache[r]=a,a}needsPlural(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,i={}){return this.getSuffixes(e,i).map(n=>`${t}${n}`)}getSuffixes(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?i.resolvedOptions().pluralCategories.sort((n,r)=>Re[n]-Re[r]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t,i={}){let n=this.getRule(e,i);return n?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,i))}},ve=(s,e,t,i=".",n=!0)=>{let r=nt(s,e,t);return!r&&n&&p(t)&&(r=he(s,t,i),r===void 0&&(r=he(e,t,i))),r},le=s=>s.replace(/\$/g,"$$$$"),te=class{constructor(e={}){this.logger=I.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(t=>t),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:i,useRawValueToEscape:n,prefix:r,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:h,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:g,nestingSuffixEscaped:x,nestingOptionsSeparator:O,maxReplaces:T,alwaysFormat:y}=e.interpolation;this.escape=t!==void 0?t:rt,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?F(r):a||"{{",this.suffix=o?F(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=d?F(d):f||F("$t("),this.nestingSuffix=g?F(g):x||F(")"),this.nestingOptionsSeparator=O||",",this.maxReplaces=T||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(t,i)=>t?.source===i?(t.lastIndex=0,t):new RegExp(i,"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,i,n){let r,a,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){let T=ve(t,l,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,i,{...n,...t,interpolationkey:f}):T}let g=f.split(this.formatSeparator),x=g.shift().trim(),O=g.join(this.formatSeparator).trim();return this.format(ve(t,l,x,this.options.keySeparator,this.options.ignoreJSONStructure),O,i,{...n,...t,interpolationkey:x})};this.resetRegExp();let h=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>le(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?le(this.escape(f)):le(f)}].forEach(f=>{for(o=0;r=f.regex.exec(e);){let g=r[1].trim();if(a=u(g),a===void 0)if(typeof h=="function"){let O=h(e,r,n);a=p(O)?O:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))a="";else if(c){a=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),a="";else!p(a)&&!this.useRawValueToEscape&&(a=we(a));let x=f.safeValue(a);if(e=e.replace(r[0],x),c?(f.regex.lastIndex+=a.length,f.regex.lastIndex-=r[0].length):f.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,i={}){let n,r,a,o=(l,u)=>{let h=this.nestingOptionsSeparator;if(l.indexOf(h)<0)return l;let c=l.split(new RegExp(`${F(h)}[ ]*{`)),d=`{${c[1]}`;l=c[0],d=this.interpolate(d,a);let f=d.match(/'/g),g=d.match(/"/g);((f?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(d=d.replace(/'/g,'"'));try{a=JSON.parse(d),u&&(a={...u,...a})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,x),`${l}${h}${d}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;n=this.nestingRegexp.exec(e);){let l=[];a={...i},a=a.replace&&!p(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let u=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(u!==-1&&(l=n[1].slice(u).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),n[1]=n[1].slice(0,u)),r=t(o.call(this,n[1].trim(),a),a),r&&n[0]===e&&!p(r))return r;p(r)||(r=we(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l.length&&(r=l.reduce((h,c)=>this.format(h,c,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}},ct=s=>{let e=s.toLowerCase().trim(),t={};if(s.indexOf("(")>-1){let i=s.split("(");e=i[0].toLowerCase().trim();let n=i[1].substring(0,i[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){let[o,...l]=a.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),h=o.trim();t[h]||(t[h]=u),u==="false"&&(t[h]=!1),u==="true"&&(t[h]=!0),isNaN(u)||(t[h]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},Ae=s=>{let e={};return(t,i,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});let a=i+JSON.stringify(r),o=e[a];return o||(o=s(z(i),n),e[a]=o),o(t)}},ht=s=>(e,t,i)=>s(z(t),i)(e),pe=class{constructor(e={}){this.logger=I.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let i=t.cacheInBuiltFormats?Ae:ht;this.formats={number:i((n,r)=>{let a=new Intl.NumberFormat(n,{...r});return o=>a.format(o)}),currency:i((n,r)=>{let a=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>a.format(o)}),datetime:i((n,r)=>{let a=new Intl.DateTimeFormat(n,{...r});return o=>a.format(o)}),relativetime:i((n,r)=>{let a=new Intl.RelativeTimeFormat(n,{...r});return o=>a.format(o,r.range||"day")}),list:i((n,r)=>{let a=new Intl.ListFormat(n,{...r});return o=>a.format(o)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ae(t)}format(e,t,i,n={}){let r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(o=>o.indexOf(")")>-1)){let o=r.findIndex(l=>l.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,o)].join(this.formatSeparator)}return r.reduce((o,l)=>{let{formatName:u,formatOptions:h}=ct(l);if(this.formats[u]){let c=o;try{let d=n?.formatParams?.[n.interpolationkey]||{},f=d.locale||d.lng||n.locale||n.lng||i;c=this.formats[u](o,f,{...h,...n,...d})}catch(d){this.logger.warn(d)}return c}else this.logger.warn(`there was no format function for ${u}`);return o},e)}},dt=(s,e)=>{s.pending[e]!==void 0&&(delete s.pending[e],s.pendingCount--)},me=class extends D{constructor(e,t,i,n={}){super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=n,this.logger=I.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?.(i,n.backend,n)}queueLoad(e,t,i,n){let r={},a={},o={},l={};return e.forEach(u=>{let h=!0;t.forEach(c=>{let d=`${u}|${c}`;!i.reload&&this.store.hasResourceBundle(u,c)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?a[d]===void 0&&(a[d]=!0):(this.state[d]=1,h=!1,a[d]===void 0&&(a[d]=!0),r[d]===void 0&&(r[d]=!0),l[c]===void 0&&(l[c]=!0)))}),h||(o[u]=!0)}),(Object.keys(r).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,i){let n=e.split("|"),r=n[0],a=n[1];t&&this.emit("failedLoading",r,a,t),!t&&i&&this.store.addResourceBundle(r,a,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);let o={};this.queue.forEach(l=>{tt(l.loaded,[r],a),dt(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{o[u]||(o[u]={});let h=l.loaded[u];h.length&&h.forEach(c=>{o[u][c]===void 0&&(o[u][c]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,i,n=0,r=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:i,tried:n,wait:r,callback:a});return}this.readingCalls++;let o=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){let c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(u&&h&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,i,n+1,r*2,a)},r);return}a(u,h)},l=this.backend[i].bind(this.backend);if(l.length===2){try{let u=l(e,t);u&&typeof u.then=="function"?u.then(h=>o(null,h)).catch(o):o(null,u)}catch(u){o(u)}return}return l(e,t,o)}prepareLoading(e,t,i={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();p(e)&&(e=this.languageUtils.toResolveHierarchy(e)),p(t)&&(t=[t]);let r=this.queueLoad(e,t,i,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.toLoad.forEach(a=>{this.loadOne(a)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e,t=""){let i=e.split("|"),n=i[0],r=i[1];this.read(n,r,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,a),!a&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,o),this.loaded(e,a,o)})}saveMissing(e,t,i,n,r,a={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${i}" 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(!(i==null||i==="")){if(this.backend?.create){let l={...a,isUpdate:r},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(e,t,i,n,l):h=u(e,t,i,n),h&&typeof h.then=="function"?h.then(c=>o(null,c)).catch(o):o(null,h)}catch(h){o(h)}else u(e,t,i,n,o,l)}!e||!e[0]||this.store.addResource(e[0],t,i,n)}}},ue=()=>({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:s=>{let e={};if(typeof s[1]=="object"&&(e=s[1]),p(s[1])&&(e.defaultValue=s[1]),p(s[2])&&(e.tDescription=s[2]),typeof s[2]=="object"||typeof s[3]=="object"){let t=s[3]||s[2];Object.keys(t).forEach(i=>{e[i]=t[i]})}return e},interpolation:{escapeValue:!0,format:s=>s,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Me=s=>(p(s.ns)&&(s.ns=[s.ns]),p(s.fallbackLng)&&(s.fallbackLng=[s.fallbackLng]),p(s.fallbackNS)&&(s.fallbackNS=[s.fallbackNS]),s.supportedLngs?.indexOf?.("cimode")<0&&(s.supportedLngs=s.supportedLngs.concat(["cimode"])),typeof s.initImmediate=="boolean"&&(s.initAsync=s.initImmediate),s),X=()=>{},ft=s=>{Object.getOwnPropertyNames(Object.getPrototypeOf(s)).forEach(t=>{typeof s[t]=="function"&&(s[t]=s[t].bind(s))})},Fe="__i18next_supportNoticeShown",gt=()=>typeof globalThis<"u"&&!!globalThis[Fe],pt=()=>{typeof globalThis<"u"&&(globalThis[Fe]=!0)},mt=s=>!!(s?.modules?.backend?.name?.indexOf("Locize")>0||s?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||s?.options?.backend?.backends&&s.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||s?.options?.backend?.projectId||s?.options?.backend?.backendOptions&&s.options.backend.backendOptions.some(e=>e?.projectId)),be=class s extends D{constructor(e={},t){if(super(),this.options=Me(e),this.services={},this.logger=I,this.modules={external:[]},ft(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&&(p(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=ue();this.options={...i,...this.options,...Me(e)},this.options.interpolation={...i.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=i.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!mt(this)&&!gt()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("\u{1F310} i18next is maintained with support from Locize \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}"),pt());let n=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?I.init(n(this.modules.logger),this.options):I.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=pe;let h=new ee(this.options);this.store=new Y(this.options.resources,this.options);let c=this.services;c.logger=I,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new ge(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.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"),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=n(u),c.formatter.init&&c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new te(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new me(n(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(f,...g)=>{this.emit(f,...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 Q(this.services,this.options),this.translator.on("*",(f,...g)=>{this.emit(f,...g)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,t||(t=X),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=(...h)=>this.store[u](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...h)=>(this.store[u](...h),this)});let o=q(),l=()=>{let u=(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("initialized",this.options),o.resolve(c),t(h,c)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),o}loadResources(e,t=X){let i=t,n=p(e)?e:this.language;if(typeof e=="function"&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();let r=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(u=>{u!=="cimode"&&r.indexOf(u)<0&&r.push(u)})};n?a(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload?.forEach?.(o=>a(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(o)})}else i(null)}reloadResources(e,t,i){let n=q();return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=X),this.services.backendConnector.reload(e,t,r=>{n.resolve(),i(r)}),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"&&Ve.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++){let i=this.languages[t];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;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;let i=q();this.emit("languageChanging",e);let n=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,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,i.resolve((...u)=>this.t(...u)),t&&t(o,(...u)=>this.t(...u))},a=o=>{!e&&!o&&this.services.languageDetector&&(o=[]);let l=p(o)?o:o&&o[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(p(o)?[o]:o);u&&(this.language||n(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,h=>{r(h,u)})};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),i}getFixedT(e,t,i){let n=(r,a,...o)=>{let l;typeof a!="object"?l=this.options.overloadTranslationOptionHandler([r,a].concat(o)):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||i||n.keyPrefix);let u=this.options.keySeparator||".",h;return l.keyPrefix&&Array.isArray(r)?h=r.map(c=>(typeof c=="function"&&(c=fe(c,{...this.options,...a})),`${l.keyPrefix}${u}${c}`)):(typeof r=="function"&&(r=fe(r,{...this.options,...a})),h=l.keyPrefix?`${l.keyPrefix}${u}${r}`:r),this.t(h,l)};return p(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=i,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;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let i=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;let a=(o,l)=>{let u=this.services.backendConnector.state[`${o}|${l}`];return u===-1||u===0||u===2};if(t.precheck){let o=t.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(i,e)&&(!n||a(r,e)))}loadNamespaces(e,t){let i=q();return this.options.ns?(p(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{i.resolve(),t&&t(n)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){let i=q();p(e)&&(e=[e]);let n=this.options.preload||[],r=e.filter(a=>n.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return r.length?(this.options.preload=n.concat(r),this.loadResources(a=>{i.resolve(),t&&t(a)}),i):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let n=new Intl.Locale(e);if(n&&n.getTextInfo){let r=n.getTextInfo();if(r&&r.direction)return r.direction}}catch{}let 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"],i=this.services?.languageUtils||new ee(ue());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let i=new s(e,t);return i.createInstance=s.createInstance,i}cloneInstance(e={},t=X){let i=e.forkResourceStore;i&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},r=new s(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},i){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((h,c)=>(h[c]={...l[u][c]},h),l[u]),l),{});r.store=new Y(o,n),r.services.resourceStore=r.store}if(e.interpolation){let l={...ue().interpolation,...this.options.interpolation,...e.interpolation},u={...n,interpolation:l};r.services.interpolator=new te(u)}return r.translator=new Q(r.services,n),r.translator.on("*",(o,...l)=>{r.emit(o,...l)}),r.init(n,t),r.translator.options=n,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},S=be.createInstance(),Tt=S.createInstance,Nt=S.dir,Ct=S.init,Et=S.loadResources,Rt=S.reloadResources,It=S.use,vt=S.changeLanguage,At=S.getFixedT,Mt=S.t,Pt=S.exists,Vt=S.setDefaultNamespace,kt=S.hasLoadedNamespace,Ft=S.loadNamespaces,$t=S.loadLanguages;var $e={Transformer:{domainMustBeGreaterThanZero:"Domain {{domain, number}} must be greater than 0",tweakMustBeGreaterThanOrEqualToZero:"Tweak {{tweak, number}} must be greater than or equal to 0",valueMustBeGreaterThanOrEqualToZero:"Value {{value, number}} must be greater than or equal to 0",valueMustBeLessThan:"Value {{value, number}} must be less than {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"Minimum value {{minimumValue, number}} must be greater than or equal to 0",maximumValueMustBeLessThan:"Maximum value {{maximumValue, number}} must be less than {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"String {{s}} does not match pattern"},CharacterSetValidator:{firstZeroFirstCharacter:"Character set must support zero as first character",allNumericAllNumericCharacters:"Character set must support all numeric characters in sequence",stringMustNotBeAllNumeric:"String must not be all numeric",lengthMustBeGreaterThanOrEqualTo:"Length {{length, number}} must be greater than or equal to {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"Length {{length, number}} must be less than or equal to {{maximumLength, number}}",lengthMustBeEqualTo:"Length {{length, number}} must be equal to {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"Length {{length, number}} of {{component}} must be greater than or equal to {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"Length {{length, number}} of {{component}} must be less than or equal to {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"Length {{length, number}} of {{component}} must be equal to {{exactLength, number}}",invalidCharacterAtPosition:"Invalid character '{{c}}' at position {{position, number}}",invalidCharacterAtPositionOfComponent:"Invalid character '{{c}}' at position {{position, number}} of {{component}}",exclusionNotSupported:"Exclusion value of {{exclusion, number}} is not supported",endSequenceValueMustBeLessThanOrEqualTo:"End sequence value (start sequence value + count - 1) must be less than {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:'{{typeName}} "{{key}}" not found'}};var Be={Transformer:{domainMustBeGreaterThanZero:"Le domaine {{domain, number}} doit \xEAtre sup\xE9rieur \xE0 0",tweakMustBeGreaterThanOrEqualToZero:"Le r\xE9glage {{tweak, number}} doit \xEAtre sup\xE9rieur ou \xE9gal \xE0 0",valueMustBeGreaterThanOrEqualToZero:"La valeur {{value, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",valueMustBeLessThan:"La valeur {{value, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"La valeur minimale {{minimumValue, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",maximumValueMustBeLessThan:"La valeur maximale {{maximumValue, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"La cha\xEEne {{s}} ne correspond pas au mod\xE8le"},CharacterSetValidator:{firstZeroFirstCharacter:"Le jeu de caract\xE8res doit prendre en charge z\xE9ro comme premier caract\xE8re",allNumericAllNumericCharacters:"Le jeu de caract\xE8res doit prendre en charge tous les caract\xE8res num\xE9riques en s\xE9quence",stringMustNotBeAllNumeric:"La cha\xEEne ne doit pas \xEAtre enti\xE8rement num\xE9rique",lengthMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthMustBeEqualTo:"La longueur {{length, number}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",invalidCharacterAtPosition:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}}",invalidCharacterAtPositionOfComponent:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}} de {{component}}",exclusionNotSupported:"La valeur d'exclusion de {{exclusion, number}} n'est pas prise en charge",endSequenceValueMustBeLessThanOrEqualTo:"La valeur de la s\xE9quence de fin (valeur de la s\xE9quence de d\xE9but + nombre - 1) doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:"{{typeName}} \xAB\xA0{{key}}\xA0\xBB introuvable"}};var je="aidct_utility",De={en:{aidct_utility:$e},fr:{aidct_utility:Be}},m=S.createInstance();async function bt(s,e=!1){return(0,ne.i18nInit)(m,s,e,je,De,ne.i18nCoreInit)}var Z=class{#t;#e;#r;#i;#n;#s;constructor(e,t){this.#t=BigInt(e),this.#e=this.#t+BigInt(t),this.#r=t,t>=0?(this.#i=1n,this.#n=this.#t,this.#s=this.#e-1n):(this.#i=-1n,this.#n=this.#e+1n,this.#s=this.#t)}get startValue(){return this.#t}get endValue(){return this.#e}get count(){return this.#r}get minimumValue(){return this.#n}get maximumValue(){return this.#s}*[Symbol.iterator](){for(let e=this.#t;e!==this.#e;e+=this.#i)yield e}};function U(s,e){return{*[Symbol.iterator](){let t=0;for(let i of s)yield e(i,t++)}}}var P=class s{static#t=new Map;#e;constructor(e){if(this.#e=BigInt(e),this.#e<=0n)throw new RangeError(m.t("Transformer.domainMustBeGreaterThanZero",{domain:e}))}static get(e,t){let i=BigInt(e),n=s.#t.get(i);n===void 0&&(n=new Map,s.#t.set(i,n));let r=t===void 0?void 0:BigInt(t),a=n.get(r);return a===void 0&&(a=r===void 0?new ie(i):new re(i,r),n.set(r,a)),a}get domain(){return this.#e}#r(e){if(e<0n)throw new RangeError(m.t("Transformer.valueMustBeGreaterThanOrEqualToZero",{value:e}));if(e>=this.domain)throw new RangeError(m.t("Transformer.valueMustBeLessThan",{value:e,domain:this.domain}))}#i(e){let t=BigInt(e);return this.#r(t),this.doForward(t)}#n(e,t,i){return e(this.#i(t),i)}forward(e,t){let i;if(typeof e!="object")i=t===void 0?this.#i(e):this.#n(t,e);else if(e instanceof Z){if(e.minimumValue<0n)throw new RangeError(m.t("Transformer.minimumValueMustBeGreaterThanOrEqualToZero",{minimumValue:e.minimumValue}));if(e.maximumValue>=this.domain)throw new RangeError(m.t("Transformer.maximumValueMustBeLessThan",{maximumValue:e.maximumValue,domain:this.domain}));i=t===void 0?U(e,n=>this.doForward(n)):U(e,(n,r)=>t(this.doForward(n),r))}else i=t===void 0?U(e,n=>this.#i(n)):U(e,(n,r)=>this.#n(t,n,r));return i}reverse(e){let t=BigInt(e);return this.#r(t),this.doReverse(t)}},ie=class extends P{doForward(e){return e}doReverse(e){return e}},re=class s extends P{static#t=603868999n;static#e=new Uint8Array([1,2,4,8,16,32,64,128]);static#r=new Uint8Array([254,253,251,247,239,223,191,127]);#i;#n;#s;#o;#a;constructor(e,t){if(super(e),t<0n)throw new RangeError(m.t("Transformer.tweakMustBeGreaterThanOrEqualToZero",{tweak:t}));let i=0;for(let o=this.domain-1n;o!==0n;o>>=8n)i++;this.#i=i;let n=[],r=[],a=[];for(let o=this.domain*BigInt(t)*s.#t;o!==0n;o>>=8n){n.unshift(Number(BigInt.asUintN(8,o)));let l=Number(BigInt.asUintN(3,o));r.push(s.#e[l]),a.push(s.#r[l])}if(i===1){let o=s.#e.filter(l=>l<e).reduce((l,u)=>l|u,0);this.#n=new Uint8Array([n.reduce((l,u)=>l^u,0)&o]),this.#s=new Uint8Array([s.#e[0]]),this.#o=new Uint8Array([s.#r[0]]),this.#a=1}else this.#n=new Uint8Array(n),this.#s=new Uint8Array(r),this.#o=new Uint8Array(a),this.#a=n.length}#l(e){let t=new Uint8Array(this.#i);for(let i=this.#i-1,n=e;i>=0&&n!==0n;i--,n>>=8n)t[i]=Number(BigInt.asUintN(8,n));return t}static#u(e){return e.reduce((t,i)=>t<<8n|BigInt(i),0n)}#c(e,t,i){let n=e.length,r=new Uint8Array(n),a=[],o=[],l=this.#s[t];e.forEach((c,d)=>{let f=c&l;r[d]=f,(f!==0?a:o).push(d)});let u=this.#o[t],h=new Uint8Array(n);return[...a,...o].forEach((c,d)=>{i?h[d]=e[c]&u|r[d]:h[c]=e[d]&u|r[c]}),h}#h(e,t,i){let n=this.#n[t];return e.map(r=>{let a=r^n;return n=i?a:r,a})}doForward(e){let t=this.#l(e),i;do{for(let n=0;n<this.#a;n++)t=this.#h(this.#c(t,n,!0),n,!0);i=s.#u(t)}while(i>=this.domain);return i}doReverse(e){let t=this.#l(e),i;do{for(let n=this.#a-1;n>=0;n--)t=this.#c(this.#h(t,n,!1),n,!1);i=s.#u(t)}while(i>=this.domain);return i}};var _=class{#t;constructor(e){this.#t=e}get regExp(){return this.#t}createErrorMessage(e){return m.t("RegExpValidator.stringDoesNotMatchPattern",{s:e})}validate(e){if(!this.#t.test(e))throw new RangeError(this.createErrorMessage(e))}};var xe=class{#t;#e;constructor(e,t){this.#t=e,this.#e=t}get typeName(){return this.#t}get record(){return this.#e}validate(e){if(!(e in this.record))throw new RangeError(m.t("RecordValidator.typeNameKeyNotFound",{typeName:this.typeName,key:e}))}};var b={None:0,FirstZero:1,AllNumeric:2};var se=class s{static#t=new class extends _{createErrorMessage(e){return m.t("CharacterSetValidator.stringMustNotBeAllNumeric")}}(/\D/u);#e;#r;#i;constructor(e,...t){this.#e=e;let i=new Map;e.forEach((n,r)=>{i.set(n,r)}),this.#r=i,this.#i=t}get characterSet(){return this.#e}get characterSetSize(){return this.#e.length}get exclusionSupport(){return this.#i}character(e){return this.#e[e]}characterIndex(e){return this.#r.get(e)}characterIndexes(e){return Array.from(e).map(t=>this.#r.get(t))}static#n(e){return typeof e=="function"?e():e}validateExclusion(e){if(e!==void 0&&e!==b.None&&!this.#i.includes(e))throw new RangeError(m.t("CharacterSetValidator.exclusionNotSupported",{exclusion:e}))}validate(e,t){let i=e.length,n=t?.minimumLength,r=t?.maximumLength;if(n!==void 0&&i<n){let o;throw r!==void 0&&r===n?o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeEqualTo":"CharacterSetValidator.lengthOfComponentMustBeEqualTo",{component:s.#n(t?.component),length:i,exactLength:n}):o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeGreaterThanOrEqualTo",{component:s.#n(t?.component),length:i,minimumLength:n}),new RangeError(o)}if(r!==void 0&&i>r)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeLessThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeLessThanOrEqualTo",{component:s.#n(t?.component),length:i,maximumLength:r}));let a=this.characterIndexes(e).findIndex(o=>o===void 0);if(a!==-1)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:s.#n(t?.component),c:e.charAt(a),position:a+(t?.positionOffset??0)+1}));if(t?.exclusion!==void 0)switch(this.validateExclusion(t.exclusion),t.exclusion){case b.None:break;case b.FirstZero:if(e.startsWith("0"))throw new RangeError(m.t(t.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:s.#n(t.component),c:"0",position:(t.positionOffset??0)+1}));break;case b.AllNumeric:s.#t.validate(e);break}}},$=class s extends se{static MAXIMUM_STRING_LENGTH=40;static#t;static#e(e){let t=new Array(this.MAXIMUM_STRING_LENGTH+1),i=BigInt(e);for(let n=0,r=1n;n<=this.MAXIMUM_STRING_LENGTH;n++,r*=i)t[n]=r;return t}static powerOf10(e){return s.#t??=s.#e(10),s.#t[e]}#r;#i;#n;#s;constructor(e,...t){super(e,...t),this.#r=BigInt(this.characterSetSize),this.#i=BigInt(this.characterSetSize-1);let i=[],n=s.#e(this.characterSetSize);if(i[b.None]=n,t.includes(b.FirstZero)){if(e[0]!=="0")throw new RangeError(m.t("CharacterSetValidator.firstZeroFirstCharacter"));let a=new Array(s.MAXIMUM_STRING_LENGTH+1);a[0]=0n;for(let o=1;o<=s.MAXIMUM_STRING_LENGTH;o++)a[o]=this.#i*n[o-1];i[b.FirstZero]=a}if(t.includes(b.AllNumeric)){let o=function(d){let f=d[0];for(let g of d){if(g===void 0||g!==f)throw new RangeError(m.t("CharacterSetValidator.allNumericAllNumericCharacters"));f=g+1}};var r=o;let a=new Array(s.MAXIMUM_STRING_LENGTH+1),l=this.characterIndexes("0123456789");o(l);let u=BigInt(l[0]),h=new Array(s.MAXIMUM_STRING_LENGTH+1),c=0n;for(let d=0;d<=s.MAXIMUM_STRING_LENGTH;d++)a[d]=n[d]-s.powerOf10(d),h[d]=c,c=c*this.#r+u;this.#s=h,i[b.AllNumeric]=a}else this.#s=[];this.#n=i}#o(e){return this.#n[b.None][e]}#a(e,t,i){let n;if(t===0){if(!e&&i<10n)throw new RangeError(m.t("CharacterSetValidator.stringMustNotBeAllNumeric"));n=10n}else{let r=this.#o(t),a=s.powerOf10(t),o=e?r-a:r,l=i/o;l>=10n?n=s.powerOf10(t+1):n=l*a+this.#a(e,t-1,i-l*o)}return n}#l(e){if(e<0)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo",{length:e,minimumLength:0}));if(e>s.MAXIMUM_STRING_LENGTH)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeLessThanOrEqualTo",{length:e,maximumLength:s.MAXIMUM_STRING_LENGTH}))}create(e,t,i,n,r){this.#l(e),this.validateExclusion(i);let a=i===b.AllNumeric?this.#s[e]:0n;return P.get(this.#n[i??b.None][e],n).forward(t,(l,u)=>{let h="";if(e!==0){let c=l;i===b.AllNumeric&&c>=a&&(c+=this.#a(!0,e,c-a));for(let d=e-1;d>0;d--){let f=c/this.#r;h=this.character(Number(c-f*this.#r))+h,c=f}h=this.character(i===b.FirstZero?Number(c%this.#i)+1:Number(c%this.#r))+h}return r===void 0?h:r(h,u)})}valueFor(e,t,i){let n=e.length;this.#l(n),this.validateExclusion(t);let r=BigInt(this.characterSetSize),a=this.characterIndexes(e).reduce((o,l,u)=>{if(l===void 0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:e.charAt(u),position:u+1}));let h;if(u===0&&t===b.FirstZero){if(l===0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:"0",position:1}));h=BigInt(l-1)}else h=o*r+BigInt(l);return h},0n);if(t===b.AllNumeric){let o=this.#s[n];a>=o&&(a-=this.#a(!1,n,a-o))}return P.get(this.#n[t??b.None][n],i).reverse(a)}},Ue=new $(["0","1","2","3","4","5","6","7","8","9"],b.FirstZero),xt=Ue,Ke=new $(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],b.FirstZero,b.AllNumeric),yt=Ke,He=new $(["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]),St=He,qe=new $(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],b.FirstZero,b.AllNumeric),Ot=qe;0&&(module.exports={ALPHABETIC_CREATOR,ALPHABETIC_VALIDATOR,ALPHANUMERIC_CREATOR,ALPHANUMERIC_VALIDATOR,CharacterSetCreator,CharacterSetValidator,EncryptionTransformer,Exclusions,HEXADECIMAL_CREATOR,HEXADECIMAL_VALIDATOR,IdentityTransformer,NUMERIC_CREATOR,NUMERIC_VALIDATOR,RecordValidator,RegExpValidator,Sequence,Transformer,i18nUtilityInit,i18nextUtility,mapIterable,utilityNS,utilityResourceBundle});
2
2
  /*!
3
3
  * Copyright © 2024-2026 Dolphin Data Development Ltd. and AIDC Toolkit
4
4
  * contributors
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import{i18nCoreInit as et,i18nInit as tt}from"@aidc-toolkit/core";var p=a=>typeof a=="string",H=()=>{let a,e,t=new Promise((i,n)=>{a=i,e=n});return t.resolve=a,t.reject=e,t},Se=a=>a==null?"":""+a,Be=(a,e,t)=>{a.forEach(i=>{e[i]&&(t[i]=e[i])})},je=/###/g,Le=a=>a&&a.indexOf("###")>-1?a.replace(je,"."):a,Oe=a=>!a||p(a),q=(a,e,t)=>{let i=p(e)?e.split("."):e,n=0;for(;n<i.length-1;){if(Oe(a))return{};let r=Le(i[n]);!a[r]&&t&&(a[r]=new t),Object.prototype.hasOwnProperty.call(a,r)?a=a[r]:a={},++n}return Oe(a)?{}:{obj:a,k:Le(i[n])}},we=(a,e,t)=>{let{obj:i,k:n}=q(a,e,Object);if(i!==void 0||e.length===1){i[n]=t;return}let r=e[e.length-1],s=e.slice(0,e.length-1),o=q(a,s,Object);for(;o.obj===void 0&&s.length;)r=`${s[s.length-1]}.${r}`,s=s.slice(0,s.length-1),o=q(a,s,Object),o?.obj&&typeof o.obj[`${o.k}.${r}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${r}`]=t},De=(a,e,t,i)=>{let{obj:n,k:r}=q(a,e,Object);n[r]=n[r]||[],n[r].push(t)},_=(a,e)=>{let{obj:t,k:i}=q(a,e);if(t&&Object.prototype.hasOwnProperty.call(t,i))return t[i]},Ue=(a,e,t)=>{let i=_(a,t);return i!==void 0?i:_(e,t)},ve=(a,e,t)=>{for(let i in e)i!=="__proto__"&&i!=="constructor"&&(i in a?p(a[i])||a[i]instanceof String||p(e[i])||e[i]instanceof String?t&&(a[i]=e[i]):ve(a[i],e[i],t):a[i]=e[i]);return a},B=a=>a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),Ke={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},He=a=>p(a)?a.replace(/[&<>"'\/]/g,e=>Ke[e]):a,se=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}},qe=[" ",",","?","!",";"],Ge=new se(20),ze=(a,e,t)=>{e=e||"",t=t||"";let i=qe.filter(s=>e.indexOf(s)<0&&t.indexOf(s)<0);if(i.length===0)return!0;let n=Ge.getRegExp(`(${i.map(s=>s==="?"?"\\?":s).join("|")})`),r=!n.test(a);if(!r){let s=a.indexOf(t);s>0&&!n.test(a.substring(0,s))&&(r=!0)}return r},ae=(a,e,t=".")=>{if(!a)return;if(a[e])return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0;let i=e.split(t),n=a;for(let r=0;r<i.length;){if(!n||typeof n!="object")return;let s,o="";for(let l=r;l<i.length;++l)if(l!==r&&(o+=t),o+=i[l],s=n[o],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&l<i.length-1)continue;r+=l-r+1;break}n=s}return n},G=a=>a?.replace("_","-"),Ze={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,e){console?.[a]?.apply?.(console,e)}},oe=class a{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||Ze,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,i,n){return n&&!this.debug?null:(p(e[0])&&(e[0]=`${i}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new a(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new a(this.logger,e)}},I=new oe,j=class{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);let n=this.observers[i].get(t)||0;this.observers[i].set(t,n+1)}),this}off(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,r])=>{for(let s=0;s<r;s++)n(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let s=0;s<r;s++)n.apply(n,[e,...t])})}},X=class extends j{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){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i,n={}){let r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,s=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure,o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],i&&(Array.isArray(i)?o.push(...i):p(i)&&r?o.push(...i.split(r)):o.push(i)));let l=_(this.data,o);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=o[0],t=o[1],i=o.slice(2).join(".")),l||!s||!p(i)?l:ae(this.data?.[e]?.[t],i,r)}addResource(e,t,i,n,r={silent:!1}){let s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=[e,t];i&&(o=o.concat(s?i.split(s):i)),e.indexOf(".")>-1&&(o=e.split("."),n=t,t=o[1]),this.addNamespaces(t),we(this.data,o,n),r.silent||this.emit("added",e,t,i,n)}addResources(e,t,i,n={silent:!1}){for(let r in i)(p(i[r])||Array.isArray(i[r]))&&this.addResource(e,t,r,i[r],{silent:!0});n.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,n,r,s={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),n=i,i=t,t=o[1]),this.addNamespaces(t);let l=_(this.data,o)||{};s.skipCopy||(i=JSON.parse(JSON.stringify(i))),n?ve(l,i,r):l={...l,...i},we(this.data,o,l),s.silent||this.emit("added",e,t,i)}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){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}},Ae={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,e,t,i,n){return a.forEach(r=>{e=this.processors[r]?.process(e,t,i,n)??e}),e}},Me=Symbol("i18next/PATH_KEY");function Je(){let a=[],e=Object.create(null),t;return e.get=(i,n)=>(t?.revoke?.(),n===Me?a:(a.push(n),t=Proxy.revocable(i,e),t.proxy)),Proxy.revocable(Object.create(null),e).proxy}function le(a,e){let{[Me]:t}=a(Je());return t.join(e?.keySeparator??".")}var Te={},ne=a=>!p(a)&&typeof a!="boolean"&&typeof a!="number",W=class a extends j{constructor(e,t={}){super(),Be(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=I.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let i={...t};if(e==null)return!1;let n=this.resolve(e,i);if(n?.res===void 0)return!1;let r=ne(n.res);return!(i.returnObjects===!1&&r)}extractFromKey(e,t){let i=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");let n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],s=i&&e.indexOf(i)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ze(e,i,n);if(s&&!o){let l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:p(r)?[r]:r};let u=e.split(i);(i!==n||i===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:p(r)?[r]:r}}translate(e,t,i){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=le(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);let r=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],n),u=l[l.length-1],h=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");let c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return d?r?{res:`${u}${h}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${h}${o}`:r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:o;let f=this.resolve(e,n),g=f?.res,x=f?.usedKey||o,L=f?.exactUsedKey||o,T=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,P=!this.i18nFormat||this.i18nFormat.handleAsObject,w=n.count!==void 0&&!p(n.count),A=a.hasDefaultValue(n),k=w?this.pluralResolver.getSuffix(c,n.count,n):"",$=n.ordinal&&w?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",me=w&&!n.ordinal&&n.count===0,M=me&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${k}`]||n[`defaultValue${$}`]||n.defaultValue,N=g;P&&!g&&A&&(N=M);let ke=ne(N),$e=Object.prototype.toString.apply(N);if(P&&N&&ke&&T.indexOf($e)<0&&!(p(y)&&Array.isArray(N))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let R=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,N,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(f.res=R,f.usedParams=this.getUsedParamsDetails(n),f):R}if(s){let R=Array.isArray(N),C=R?[]:{},be=R?L:x;for(let E in N)if(Object.prototype.hasOwnProperty.call(N,E)){let v=`${be}${s}${E}`;A&&!g?C[E]=this.translate(v,{...n,defaultValue:ne(M)?M[E]:void 0,joinArrays:!1,ns:l}):C[E]=this.translate(v,{...n,joinArrays:!1,ns:l}),C[E]===v&&(C[E]=N[E])}g=C}}else if(P&&p(y)&&Array.isArray(g))g=g.join(y),g&&(g=this.extendTranslation(g,e,n,i));else{let R=!1,C=!1;!this.isValidLookup(g)&&A&&(R=!0,g=M),this.isValidLookup(g)||(C=!0,g=o);let E=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:g,v=A&&M!==g&&this.options.updateMissing;if(C||R||v){if(this.logger.log(v?"updateKey":"missingKey",c,u,o,v?M:g),s){let O=this.resolve(o,{...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 U=[],Z=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Z&&Z[0])for(let O=0;O<Z.length;O++)U.push(Z[O]);else this.options.saveMissingTo==="all"?U=this.languageUtils.toResolveHierarchy(n.lng||this.language):U.push(n.lng||this.language);let xe=(O,V,K)=>{let ye=A&&K!==g?K:E;this.options.missingKeyHandler?this.options.missingKeyHandler(O,u,V,ye,v,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(O,u,V,ye,v,n),this.emit("missingKey",O,u,V,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?U.forEach(O=>{let V=this.pluralResolver.getSuffixes(O,n);me&&n[`defaultValue${this.options.pluralSeparator}zero`]&&V.indexOf(`${this.options.pluralSeparator}zero`)<0&&V.push(`${this.options.pluralSeparator}zero`),V.forEach(K=>{xe([O],o+K,n[`defaultValue${K}`]||M)})}):xe(U,o,M))}g=this.extendTranslation(g,e,n,f,i),C&&g===o&&this.options.appendNamespaceToMissingKey&&(g=`${u}${h}${o}`),(C||R)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${h}${o}`:o,R?g:void 0,n))}return r?(f.res=g,f.usedParams=this.getUsedParamsDetails(n),f):g}extendTranslation(e,t,i,n,r){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});let l=p(e)&&(i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),u;if(l){let c=e.match(this.interpolator.nestingRegexp);u=c&&c.length}let h=i.replace&&!p(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,i.lng||this.language||n.usedLng,i),l){let c=e.match(this.interpolator.nestingRegexp),d=c&&c.length;u<d&&(i.nest=!1)}!i.lng&&n&&n.res&&(i.lng=this.language||n.usedLng),i.nest!==!1&&(e=this.interpolator.nest(e,(...c)=>r?.[0]===c[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${c[0]} in key: ${t[0]}`),null):this.translate(...c,t),i)),i.interpolation&&this.interpolator.reset()}let s=i.postProcess||this.options.postProcess,o=p(s)?[s]:s;return e!=null&&o?.length&&i.applyPostProcessor!==!1&&(e=Ae.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),e}resolve(e,t={}){let i,n,r,s,o;return p(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(i))return;let u=this.extractFromKey(l,t),h=u.key;n=h;let c=u.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=t.count!==void 0&&!p(t.count),f=d&&!t.ordinal&&t.count===0,g=t.context!==void 0&&(p(t.context)||typeof t.context=="number")&&t.context!=="",x=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(L=>{this.isValidLookup(i)||(o=L,!Te[`${x[0]}-${L}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Te[`${x[0]}-${L}`]=!0,this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),x.forEach(T=>{if(this.isValidLookup(i))return;s=T;let y=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(y,h,T,L,t);else{let w;d&&(w=this.pluralResolver.getSuffix(T,t.count,t));let A=`${this.options.pluralSeparator}zero`,k=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&w.indexOf(k)===0&&y.push(h+w.replace(k,this.options.pluralSeparator)),y.push(h+w),f&&y.push(h+A)),g){let $=`${h}${this.options.contextSeparator||"_"}${t.context}`;y.push($),d&&(t.ordinal&&w.indexOf(k)===0&&y.push($+w.replace(k,this.options.pluralSeparator)),y.push($+w),f&&y.push($+A))}}let P;for(;P=y.pop();)this.isValidLookup(i)||(r=P,i=this.getResource(T,L,P,t))}))})}),{res:i,usedKey:n,exactUsedKey:r,usedLng:s,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,i,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,i,n):this.resourceStore.getResource(e,t,i,n)}getUsedParamsDetails(e={}){let t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=e.replace&&!p(e.replace),n=i?e.replace:e;if(i&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!i){n={...n};for(let r of t)delete n[r]}return n}static hasDefaultValue(e){let t="defaultValue";for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&e[i]!==void 0)return!0;return!1}},Y=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I.create("languageUtils")}getScriptPartFromCode(e){if(e=G(e),!e||e.indexOf("-")<0)return null;let t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=G(e),!e||e.indexOf("-")<0)return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(p(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(i=>{if(t)return;let n=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(i=>{if(t)return;let n=this.getScriptPartFromCode(i);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(i);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(s=>{if(s===r)return s;if(!(s.indexOf("-")<0&&r.indexOf("-")<0)&&(s.indexOf("-")>0&&r.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===r||s.indexOf(r)===0&&r.length>1))return s})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),p(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){let i=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),n=[],r=s=>{s&&(this.isSupportedCode(s)?n.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return p(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):p(e)&&r(this.formatLanguageCode(e)),i.forEach(s=>{n.indexOf(s)<0&&r(this.formatLanguageCode(s))}),n}},Ce={zero:0,one:1,two:2,few:3,many:4,other:5},Ne={select:a=>a===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},ue=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=I.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let i=G(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:i,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];let s;try{s=new Intl.PluralRules(i,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Ne;if(!e.match(/-|_/))return Ne;let l=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(l,t)}return this.pluralRulesCache[r]=s,s}needsPlural(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,i={}){return this.getSuffixes(e,i).map(n=>`${t}${n}`)}getSuffixes(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?i.resolvedOptions().pluralCategories.sort((n,r)=>Ce[n]-Ce[r]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t,i={}){let n=this.getRule(e,i);return n?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,i))}},Re=(a,e,t,i=".",n=!0)=>{let r=Ue(a,e,t);return!r&&n&&p(t)&&(r=ae(a,t,i),r===void 0&&(r=ae(e,t,i))),r},ie=a=>a.replace(/\$/g,"$$$$"),Q=class{constructor(e={}){this.logger=I.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(t=>t),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:i,useRawValueToEscape:n,prefix:r,prefixEscaped:s,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:h,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:g,nestingSuffixEscaped:x,nestingOptionsSeparator:L,maxReplaces:T,alwaysFormat:y}=e.interpolation;this.escape=t!==void 0?t:He,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?B(r):s||"{{",this.suffix=o?B(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=d?B(d):f||B("$t("),this.nestingSuffix=g?B(g):x||B(")"),this.nestingOptionsSeparator=L||",",this.maxReplaces=T||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(t,i)=>t?.source===i?(t.lastIndex=0,t):new RegExp(i,"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,i,n){let r,s,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){let T=Re(t,l,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,i,{...n,...t,interpolationkey:f}):T}let g=f.split(this.formatSeparator),x=g.shift().trim(),L=g.join(this.formatSeparator).trim();return this.format(Re(t,l,x,this.options.keySeparator,this.options.ignoreJSONStructure),L,i,{...n,...t,interpolationkey:x})};this.resetRegExp();let h=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>ie(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?ie(this.escape(f)):ie(f)}].forEach(f=>{for(o=0;r=f.regex.exec(e);){let g=r[1].trim();if(s=u(g),s===void 0)if(typeof h=="function"){let L=h(e,r,n);s=p(L)?L:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))s="";else if(c){s=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),s="";else!p(s)&&!this.useRawValueToEscape&&(s=Se(s));let x=f.safeValue(s);if(e=e.replace(r[0],x),c?(f.regex.lastIndex+=s.length,f.regex.lastIndex-=r[0].length):f.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,i={}){let n,r,s,o=(l,u)=>{let h=this.nestingOptionsSeparator;if(l.indexOf(h)<0)return l;let c=l.split(new RegExp(`${h}[ ]*{`)),d=`{${c[1]}`;l=c[0],d=this.interpolate(d,s);let f=d.match(/'/g),g=d.match(/"/g);((f?.length??0)%2===0&&!g||g.length%2!==0)&&(d=d.replace(/'/g,'"'));try{s=JSON.parse(d),u&&(s={...u,...s})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,x),`${l}${h}${d}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,l};for(;n=this.nestingRegexp.exec(e);){let l=[];s={...i},s=s.replace&&!p(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let u=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(u!==-1&&(l=n[1].slice(u).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),n[1]=n[1].slice(0,u)),r=t(o.call(this,n[1].trim(),s),s),r&&n[0]===e&&!p(r))return r;p(r)||(r=Se(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l.length&&(r=l.reduce((h,c)=>this.format(h,c,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}},_e=a=>{let e=a.toLowerCase().trim(),t={};if(a.indexOf("(")>-1){let i=a.split("(");e=i[0].toLowerCase().trim();let n=i[1].substring(0,i[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(s=>{if(s){let[o,...l]=s.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),h=o.trim();t[h]||(t[h]=u),u==="false"&&(t[h]=!1),u==="true"&&(t[h]=!0),isNaN(u)||(t[h]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},Ee=a=>{let e={};return(t,i,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});let s=i+JSON.stringify(r),o=e[s];return o||(o=a(G(i),n),e[s]=o),o(t)}},Xe=a=>(e,t,i)=>a(G(t),i)(e),ce=class{constructor(e={}){this.logger=I.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let i=t.cacheInBuiltFormats?Ee:Xe;this.formats={number:i((n,r)=>{let s=new Intl.NumberFormat(n,{...r});return o=>s.format(o)}),currency:i((n,r)=>{let s=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>s.format(o)}),datetime:i((n,r)=>{let s=new Intl.DateTimeFormat(n,{...r});return o=>s.format(o)}),relativetime:i((n,r)=>{let s=new Intl.RelativeTimeFormat(n,{...r});return o=>s.format(o,r.range||"day")}),list:i((n,r)=>{let s=new Intl.ListFormat(n,{...r});return o=>s.format(o)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ee(t)}format(e,t,i,n={}){let r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(o=>o.indexOf(")")>-1)){let o=r.findIndex(l=>l.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,o)].join(this.formatSeparator)}return r.reduce((o,l)=>{let{formatName:u,formatOptions:h}=_e(l);if(this.formats[u]){let c=o;try{let d=n?.formatParams?.[n.interpolationkey]||{},f=d.locale||d.lng||n.locale||n.lng||i;c=this.formats[u](o,f,{...h,...n,...d})}catch(d){this.logger.warn(d)}return c}else this.logger.warn(`there was no format function for ${u}`);return o},e)}},We=(a,e)=>{a.pending[e]!==void 0&&(delete a.pending[e],a.pendingCount--)},he=class extends j{constructor(e,t,i,n={}){super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=n,this.logger=I.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?.(i,n.backend,n)}queueLoad(e,t,i,n){let r={},s={},o={},l={};return e.forEach(u=>{let h=!0;t.forEach(c=>{let d=`${u}|${c}`;!i.reload&&this.store.hasResourceBundle(u,c)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?s[d]===void 0&&(s[d]=!0):(this.state[d]=1,h=!1,s[d]===void 0&&(s[d]=!0),r[d]===void 0&&(r[d]=!0),l[c]===void 0&&(l[c]=!0)))}),h||(o[u]=!0)}),(Object.keys(r).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(s),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,i){let n=e.split("|"),r=n[0],s=n[1];t&&this.emit("failedLoading",r,s,t),!t&&i&&this.store.addResourceBundle(r,s,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);let o={};this.queue.forEach(l=>{De(l.loaded,[r],s),We(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{o[u]||(o[u]={});let h=l.loaded[u];h.length&&h.forEach(c=>{o[u][c]===void 0&&(o[u][c]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,i,n=0,r=this.retryTimeout,s){if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:i,tried:n,wait:r,callback:s});return}this.readingCalls++;let o=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){let c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(u&&h&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,i,n+1,r*2,s)},r);return}s(u,h)},l=this.backend[i].bind(this.backend);if(l.length===2){try{let u=l(e,t);u&&typeof u.then=="function"?u.then(h=>o(null,h)).catch(o):o(null,u)}catch(u){o(u)}return}return l(e,t,o)}prepareLoading(e,t,i={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();p(e)&&(e=this.languageUtils.toResolveHierarchy(e)),p(t)&&(t=[t]);let r=this.queueLoad(e,t,i,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.toLoad.forEach(s=>{this.loadOne(s)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e,t=""){let i=e.split("|"),n=i[0],r=i[1];this.read(n,r,"read",void 0,void 0,(s,o)=>{s&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,s),!s&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,o),this.loaded(e,s,o)})}saveMissing(e,t,i,n,r,s={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${i}" 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(!(i==null||i==="")){if(this.backend?.create){let l={...s,isUpdate:r},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(e,t,i,n,l):h=u(e,t,i,n),h&&typeof h.then=="function"?h.then(c=>o(null,c)).catch(o):o(null,h)}catch(h){o(h)}else u(e,t,i,n,o,l)}!e||!e[0]||this.store.addResource(e[0],t,i,n)}}},re=()=>({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:a=>{let e={};if(typeof a[1]=="object"&&(e=a[1]),p(a[1])&&(e.defaultValue=a[1]),p(a[2])&&(e.tDescription=a[2]),typeof a[2]=="object"||typeof a[3]=="object"){let t=a[3]||a[2];Object.keys(t).forEach(i=>{e[i]=t[i]})}return e},interpolation:{escapeValue:!0,format:a=>a,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Ie=a=>(p(a.ns)&&(a.ns=[a.ns]),p(a.fallbackLng)&&(a.fallbackLng=[a.fallbackLng]),p(a.fallbackNS)&&(a.fallbackNS=[a.fallbackNS]),a.supportedLngs?.indexOf?.("cimode")<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),typeof a.initImmediate=="boolean"&&(a.initAsync=a.initImmediate),a),J=()=>{},Ye=a=>{Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(t=>{typeof a[t]=="function"&&(a[t]=a[t].bind(a))})},Qe=a=>!!(a?.modules?.backend?.name?.indexOf("Locize")>0||a?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||a?.options?.backend?.backends&&a.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)),de=class a extends j{constructor(e={},t){if(super(),this.options=Ie(e),this.services={},this.logger=I,this.modules={external:[]},Ye(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&&(p(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=re();this.options={...i,...this.options,...Ie(e)},this.options.interpolation={...i.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=i.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!Qe(this)&&typeof console<"u"&&typeof console.info<"u"&&console.info("\u{1F310} i18next is maintained with support from locize.com \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}");let n=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?I.init(n(this.modules.logger),this.options):I.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=ce;let h=new Y(this.options);this.store=new X(this.options.resources,this.options);let c=this.services;c.logger=I,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new ue(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.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"),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=n(u),c.formatter.init&&c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new Q(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new he(n(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(f,...g)=>{this.emit(f,...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 W(this.services,this.options),this.translator.on("*",(f,...g)=>{this.emit(f,...g)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,t||(t=J),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=(...h)=>this.store[u](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...h)=>(this.store[u](...h),this)});let o=H(),l=()=>{let u=(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("initialized",this.options),o.resolve(c),t(h,c)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),o}loadResources(e,t=J){let i=t,n=p(e)?e:this.language;if(typeof e=="function"&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();let r=[],s=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(u=>{u!=="cimode"&&r.indexOf(u)<0&&r.push(u)})};n?s(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>s(l)),this.options.preload?.forEach?.(o=>s(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(o)})}else i(null)}reloadResources(e,t,i){let n=H();return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=J),this.services.backendConnector.reload(e,t,r=>{n.resolve(),i(r)}),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"&&Ae.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++){let i=this.languages[t];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;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;let i=H();this.emit("languageChanging",e);let n=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,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,i.resolve((...u)=>this.t(...u)),t&&t(o,(...u)=>this.t(...u))},s=o=>{!e&&!o&&this.services.languageDetector&&(o=[]);let l=p(o)?o:o&&o[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(p(o)?[o]:o);u&&(this.language||n(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,h=>{r(h,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e),i}getFixedT(e,t,i){let n=(r,s,...o)=>{let l;typeof s!="object"?l=this.options.overloadTranslationOptionHandler([r,s].concat(o)):l={...s},l.lng=l.lng||n.lng,l.lngs=l.lngs||n.lngs,l.ns=l.ns||n.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||i||n.keyPrefix);let u=this.options.keySeparator||".",h;return l.keyPrefix&&Array.isArray(r)?h=r.map(c=>(typeof c=="function"&&(c=le(c,{...this.options,...s})),`${l.keyPrefix}${u}${c}`)):(typeof r=="function"&&(r=le(r,{...this.options,...s})),h=l.keyPrefix?`${l.keyPrefix}${u}${r}`:r),this.t(h,l)};return p(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=i,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;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let i=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;let s=(o,l)=>{let u=this.services.backendConnector.state[`${o}|${l}`];return u===-1||u===0||u===2};if(t.precheck){let o=t.precheck(this,s);if(o!==void 0)return o}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(i,e)&&(!n||s(r,e)))}loadNamespaces(e,t){let i=H();return this.options.ns?(p(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{i.resolve(),t&&t(n)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){let i=H();p(e)&&(e=[e]);let n=this.options.preload||[],r=e.filter(s=>n.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return r.length?(this.options.preload=n.concat(r),this.loadResources(s=>{i.resolve(),t&&t(s)}),i):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let n=new Intl.Locale(e);if(n&&n.getTextInfo){let r=n.getTextInfo();if(r&&r.direction)return r.direction}}catch{}let 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"],i=this.services?.languageUtils||new Y(re());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let i=new a(e,t);return i.createInstance=a.createInstance,i}cloneInstance(e={},t=J){let i=e.forkResourceStore;i&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},r=new a(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},i){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((h,c)=>(h[c]={...l[u][c]},h),l[u]),l),{});r.store=new X(o,n),r.services.resourceStore=r.store}if(e.interpolation){let l={...re().interpolation,...this.options.interpolation,...e.interpolation},u={...n,interpolation:l};r.services.interpolator=new Q(u)}return r.translator=new W(r.services,n),r.translator.on("*",(o,...l)=>{r.emit(o,...l)}),r.init(n,t),r.translator.options=n,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},S=de.createInstance(),lt=S.createInstance,ut=S.dir,ct=S.init,ht=S.loadResources,dt=S.reloadResources,ft=S.use,gt=S.changeLanguage,pt=S.getFixedT,mt=S.t,bt=S.exists,xt=S.setDefaultNamespace,yt=S.hasLoadedNamespace,St=S.loadNamespaces,Lt=S.loadLanguages;var Pe={Transformer:{domainMustBeGreaterThanZero:"Domain {{domain, number}} must be greater than 0",tweakMustBeGreaterThanOrEqualToZero:"Tweak {{tweak, number}} must be greater than or equal to 0",valueMustBeGreaterThanOrEqualToZero:"Value {{value, number}} must be greater than or equal to 0",valueMustBeLessThan:"Value {{value, number}} must be less than {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"Minimum value {{minimumValue, number}} must be greater than or equal to 0",maximumValueMustBeLessThan:"Maximum value {{maximumValue, number}} must be less than {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"String {{s}} does not match pattern"},CharacterSetValidator:{firstZeroFirstCharacter:"Character set must support zero as first character",allNumericAllNumericCharacters:"Character set must support all numeric characters in sequence",stringMustNotBeAllNumeric:"String must not be all numeric",lengthMustBeGreaterThanOrEqualTo:"Length {{length, number}} must be greater than or equal to {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"Length {{length, number}} must be less than or equal to {{maximumLength, number}}",lengthMustBeEqualTo:"Length {{length, number}} must be equal to {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"Length {{length, number}} of {{component}} must be greater than or equal to {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"Length {{length, number}} of {{component}} must be less than or equal to {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"Length {{length, number}} of {{component}} must be equal to {{exactLength, number}}",invalidCharacterAtPosition:"Invalid character '{{c}}' at position {{position, number}}",invalidCharacterAtPositionOfComponent:"Invalid character '{{c}}' at position {{position, number}} of {{component}}",exclusionNotSupported:"Exclusion value of {{exclusion, number}} is not supported",endSequenceValueMustBeLessThanOrEqualTo:"End sequence value (start sequence value + count - 1) must be less than {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:'{{typeName}} "{{key}}" not found'}};var Ve={Transformer:{domainMustBeGreaterThanZero:"Le domaine {{domain, number}} doit \xEAtre sup\xE9rieur \xE0 0",tweakMustBeGreaterThanOrEqualToZero:"Le r\xE9glage {{tweak, number}} doit \xEAtre sup\xE9rieur ou \xE9gal \xE0 0",valueMustBeGreaterThanOrEqualToZero:"La valeur {{value, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",valueMustBeLessThan:"La valeur {{value, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"La valeur minimale {{minimumValue, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",maximumValueMustBeLessThan:"La valeur maximale {{maximumValue, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"La cha\xEEne {{s}} ne correspond pas au mod\xE8le"},CharacterSetValidator:{firstZeroFirstCharacter:"Le jeu de caract\xE8res doit prendre en charge z\xE9ro comme premier caract\xE8re",allNumericAllNumericCharacters:"Le jeu de caract\xE8res doit prendre en charge tous les caract\xE8res num\xE9riques en s\xE9quence",stringMustNotBeAllNumeric:"La cha\xEEne ne doit pas \xEAtre enti\xE8rement num\xE9rique",lengthMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthMustBeEqualTo:"La longueur {{length, number}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",invalidCharacterAtPosition:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}}",invalidCharacterAtPositionOfComponent:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}} de {{component}}",exclusionNotSupported:"La valeur d'exclusion de {{exclusion, number}} n'est pas prise en charge",endSequenceValueMustBeLessThanOrEqualTo:"La valeur de la s\xE9quence de fin (valeur de la s\xE9quence de d\xE9but + nombre - 1) doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:"{{typeName}} \xAB\xA0{{key}}\xA0\xBB introuvable"}};var nt="aidct_utility",it={en:{aidct_utility:Pe},fr:{aidct_utility:Ve}},m=S.createInstance();async function It(a,e=!1){return tt(m,a,e,nt,it,et)}var ee=class{#t;#e;#r;#i;#n;#s;constructor(e,t){this.#t=BigInt(e),this.#e=this.#t+BigInt(t),this.#r=t,t>=0?(this.#i=1n,this.#n=this.#t,this.#s=this.#e-1n):(this.#i=-1n,this.#n=this.#e+1n,this.#s=this.#t)}get startValue(){return this.#t}get endValue(){return this.#e}get count(){return this.#r}get minimumValue(){return this.#n}get maximumValue(){return this.#s}*[Symbol.iterator](){for(let e=this.#t;e!==this.#e;e+=this.#i)yield e}};function z(a,e){return{*[Symbol.iterator](){let t=0;for(let i of a)yield e(i,t++)}}}var F=class a{static#t=new Map;#e;constructor(e){if(this.#e=BigInt(e),this.#e<=0n)throw new RangeError(m.t("Transformer.domainMustBeGreaterThanZero",{domain:e}))}static get(e,t){let i=BigInt(e),n=a.#t.get(i);n===void 0&&(n=new Map,a.#t.set(i,n));let r=t===void 0?void 0:BigInt(t),s=n.get(r);return s===void 0&&(s=r===void 0?new fe(i):new ge(i,r),n.set(r,s)),s}get domain(){return this.#e}#r(e){if(e<0n)throw new RangeError(m.t("Transformer.valueMustBeGreaterThanOrEqualToZero",{value:e}));if(e>=this.domain)throw new RangeError(m.t("Transformer.valueMustBeLessThan",{value:e,domain:this.domain}))}#i(e){let t=BigInt(e);return this.#r(t),this.doForward(t)}#n(e,t,i){return e(this.#i(t),i)}forward(e,t){let i;if(typeof e!="object")i=t===void 0?this.#i(e):this.#n(t,e);else if(e instanceof ee){if(e.minimumValue<0n)throw new RangeError(m.t("Transformer.minimumValueMustBeGreaterThanOrEqualToZero",{minimumValue:e.minimumValue}));if(e.maximumValue>=this.domain)throw new RangeError(m.t("Transformer.maximumValueMustBeLessThan",{maximumValue:e.maximumValue,domain:this.domain}));i=t===void 0?z(e,n=>this.doForward(n)):z(e,(n,r)=>t(this.doForward(n),r))}else i=t===void 0?z(e,n=>this.#i(n)):z(e,(n,r)=>this.#n(t,n,r));return i}reverse(e){let t=BigInt(e);return this.#r(t),this.doReverse(t)}},fe=class extends F{doForward(e){return e}doReverse(e){return e}},ge=class a extends F{static#t=603868999n;static#e=new Uint8Array([1,2,4,8,16,32,64,128]);static#r=new Uint8Array([254,253,251,247,239,223,191,127]);#i;#n;#s;#o;#a;constructor(e,t){if(super(e),t<0n)throw new RangeError(m.t("Transformer.tweakMustBeGreaterThanOrEqualToZero",{tweak:t}));let i=0;for(let o=this.domain-1n;o!==0n;o>>=8n)i++;this.#i=i;let n=[],r=[],s=[];for(let o=this.domain*BigInt(t)*a.#t;o!==0n;o>>=8n){n.unshift(Number(BigInt.asUintN(8,o)));let l=Number(BigInt.asUintN(3,o));r.push(a.#e[l]),s.push(a.#r[l])}if(i===1){let o=a.#e.filter(l=>l<e).reduce((l,u)=>l|u,0);this.#n=new Uint8Array([n.reduce((l,u)=>l^u,0)&o]),this.#s=new Uint8Array([a.#e[0]]),this.#o=new Uint8Array([a.#r[0]]),this.#a=1}else this.#n=new Uint8Array(n),this.#s=new Uint8Array(r),this.#o=new Uint8Array(s),this.#a=n.length}#l(e){let t=new Uint8Array(this.#i);for(let i=this.#i-1,n=e;i>=0&&n!==0n;i--,n>>=8n)t[i]=Number(BigInt.asUintN(8,n));return t}static#u(e){return e.reduce((t,i)=>t<<8n|BigInt(i),0n)}#c(e,t,i){let n=e.length,r=new Uint8Array(n),s=[],o=[],l=this.#s[t];e.forEach((c,d)=>{let f=c&l;r[d]=f,(f!==0?s:o).push(d)});let u=this.#o[t],h=new Uint8Array(n);return[...s,...o].forEach((c,d)=>{i?h[d]=e[c]&u|r[d]:h[c]=e[d]&u|r[c]}),h}#h(e,t,i){let n=this.#n[t];return e.map(r=>{let s=r^n;return n=i?s:r,s})}doForward(e){let t=this.#l(e),i;do{for(let n=0;n<this.#a;n++)t=this.#h(this.#c(t,n,!0),n,!0);i=a.#u(t)}while(i>=this.domain);return i}doReverse(e){let t=this.#l(e),i;do{for(let n=this.#a-1;n>=0;n--)t=this.#c(this.#h(t,n,!1),n,!1);i=a.#u(t)}while(i>=this.domain);return i}};var te=class{#t;constructor(e){this.#t=e}get regExp(){return this.#t}createErrorMessage(e){return m.t("RegExpValidator.stringDoesNotMatchPattern",{s:e})}validate(e){if(!this.#t.test(e))throw new RangeError(this.createErrorMessage(e))}};var Fe=class{#t;#e;constructor(e,t){this.#t=e,this.#e=t}get typeName(){return this.#t}get record(){return this.#e}validate(e){if(!(e in this.record))throw new RangeError(m.t("RecordValidator.typeNameKeyNotFound",{typeName:this.typeName,key:e}))}};var b={None:0,FirstZero:1,AllNumeric:2};var pe=class a{static#t=new class extends te{createErrorMessage(e){return m.t("CharacterSetValidator.stringMustNotBeAllNumeric")}}(/\D/u);#e;#r;#i;constructor(e,...t){this.#e=e;let i=new Map;e.forEach((n,r)=>{i.set(n,r)}),this.#r=i,this.#i=t}get characterSet(){return this.#e}get characterSetSize(){return this.#e.length}get exclusionSupport(){return this.#i}character(e){return this.#e[e]}characterIndex(e){return this.#r.get(e)}characterIndexes(e){return Array.from(e).map(t=>this.#r.get(t))}static#n(e){return typeof e=="function"?e():e}validateExclusion(e){if(e!==void 0&&e!==b.None&&!this.#i.includes(e))throw new RangeError(m.t("CharacterSetValidator.exclusionNotSupported",{exclusion:e}))}validate(e,t){let i=e.length,n=t?.minimumLength,r=t?.maximumLength;if(n!==void 0&&i<n){let o;throw r!==void 0&&r===n?o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeEqualTo":"CharacterSetValidator.lengthOfComponentMustBeEqualTo",{component:a.#n(t?.component),length:i,exactLength:n}):o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeGreaterThanOrEqualTo",{component:a.#n(t?.component),length:i,minimumLength:n}),new RangeError(o)}if(r!==void 0&&i>r)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeLessThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeLessThanOrEqualTo",{component:a.#n(t?.component),length:i,maximumLength:r}));let s=this.characterIndexes(e).findIndex(o=>o===void 0);if(s!==-1)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:a.#n(t?.component),c:e.charAt(s),position:s+(t?.positionOffset??0)+1}));if(t?.exclusion!==void 0)switch(this.validateExclusion(t.exclusion),t.exclusion){case b.None:break;case b.FirstZero:if(e.startsWith("0"))throw new RangeError(m.t(t.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:a.#n(t.component),c:"0",position:(t.positionOffset??0)+1}));break;case b.AllNumeric:a.#t.validate(e);break}}},D=class a extends pe{static MAXIMUM_STRING_LENGTH=40;static#t;static#e(e){let t=new Array(this.MAXIMUM_STRING_LENGTH+1),i=BigInt(e);for(let n=0,r=1n;n<=this.MAXIMUM_STRING_LENGTH;n++,r*=i)t[n]=r;return t}static powerOf10(e){return a.#t??=a.#e(10),a.#t[e]}#r;#i;#n;#s;constructor(e,...t){super(e,...t),this.#r=BigInt(this.characterSetSize),this.#i=BigInt(this.characterSetSize-1);let i=[],n=a.#e(this.characterSetSize);if(i[b.None]=n,t.includes(b.FirstZero)){if(e[0]!=="0")throw new RangeError(m.t("CharacterSetValidator.firstZeroFirstCharacter"));let s=new Array(a.MAXIMUM_STRING_LENGTH+1);s[0]=0n;for(let o=1;o<=a.MAXIMUM_STRING_LENGTH;o++)s[o]=this.#i*n[o-1];i[b.FirstZero]=s}if(t.includes(b.AllNumeric)){let o=function(d){let f=d[0];for(let g of d){if(g===void 0||g!==f)throw new RangeError(m.t("CharacterSetValidator.allNumericAllNumericCharacters"));f=g+1}};var r=o;let s=new Array(a.MAXIMUM_STRING_LENGTH+1),l=this.characterIndexes("0123456789");o(l);let u=BigInt(l[0]),h=new Array(a.MAXIMUM_STRING_LENGTH+1),c=0n;for(let d=0;d<=a.MAXIMUM_STRING_LENGTH;d++)s[d]=n[d]-a.powerOf10(d),h[d]=c,c=c*this.#r+u;this.#s=h,i[b.AllNumeric]=s}else this.#s=[];this.#n=i}#o(e){return this.#n[b.None][e]}#a(e,t,i){let n;if(t===0){if(!e&&i<10n)throw new RangeError(m.t("CharacterSetValidator.stringMustNotBeAllNumeric"));n=10n}else{let r=this.#o(t),s=a.powerOf10(t),o=e?r-s:r,l=i/o;l>=10n?n=a.powerOf10(t+1):n=l*s+this.#a(e,t-1,i-l*o)}return n}#l(e){if(e<0)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo",{length:e,minimumLength:0}));if(e>a.MAXIMUM_STRING_LENGTH)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeLessThanOrEqualTo",{length:e,maximumLength:a.MAXIMUM_STRING_LENGTH}))}create(e,t,i,n,r){this.#l(e),this.validateExclusion(i);let s=i===b.AllNumeric?this.#s[e]:0n;return F.get(this.#n[i??b.None][e],n).forward(t,(l,u)=>{let h="";if(e!==0){let c=l;i===b.AllNumeric&&c>=s&&(c+=this.#a(!0,e,c-s));for(let d=e-1;d>0;d--){let f=c/this.#r;h=this.character(Number(c-f*this.#r))+h,c=f}h=this.character(i===b.FirstZero?Number(c%this.#i)+1:Number(c%this.#r))+h}return r===void 0?h:r(h,u)})}valueFor(e,t,i){let n=e.length;this.#l(n),this.validateExclusion(t);let r=BigInt(this.characterSetSize),s=this.characterIndexes(e).reduce((o,l,u)=>{if(l===void 0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:e.charAt(u),position:u+1}));let h;if(u===0&&t===b.FirstZero){if(l===0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:"0",position:1}));h=BigInt(l-1)}else h=o*r+BigInt(l);return h},0n);if(t===b.AllNumeric){let o=this.#s[n];s>=o&&(s-=this.#a(!1,n,s-o))}return F.get(this.#n[t??b.None][n],i).reverse(s)}},rt=new D(["0","1","2","3","4","5","6","7","8","9"],b.FirstZero),zt=rt,st=new D(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],b.FirstZero,b.AllNumeric),Zt=st,at=new D(["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]),Jt=at,ot=new D(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],b.FirstZero,b.AllNumeric),_t=ot;export{at as ALPHABETIC_CREATOR,Jt as ALPHABETIC_VALIDATOR,ot as ALPHANUMERIC_CREATOR,_t as ALPHANUMERIC_VALIDATOR,D as CharacterSetCreator,pe as CharacterSetValidator,ge as EncryptionTransformer,b as Exclusions,st as HEXADECIMAL_CREATOR,Zt as HEXADECIMAL_VALIDATOR,fe as IdentityTransformer,rt as NUMERIC_CREATOR,zt as NUMERIC_VALIDATOR,Fe as RecordValidator,te as RegExpValidator,ee as Sequence,F as Transformer,It as i18nUtilityInit,m as i18nextUtility,z as mapIterable,nt as utilityNS,it as utilityResourceBundle};
1
+ import{i18nCoreInit as it,i18nInit as rt}from"@aidc-toolkit/core";var p=a=>typeof a=="string",H=()=>{let a,e,t=new Promise((i,n)=>{a=i,e=n});return t.resolve=a,t.reject=e,t},Se=a=>a==null?"":""+a,je=(a,e,t)=>{a.forEach(i=>{e[i]&&(t[i]=e[i])})},De=/###/g,Oe=a=>a&&a.indexOf("###")>-1?a.replace(De,"."):a,Le=a=>!a||p(a),q=(a,e,t)=>{let i=p(e)?e.split("."):e,n=0;for(;n<i.length-1;){if(Le(a))return{};let r=Oe(i[n]);!a[r]&&t&&(a[r]=new t),Object.prototype.hasOwnProperty.call(a,r)?a=a[r]:a={},++n}return Le(a)?{}:{obj:a,k:Oe(i[n])}},we=(a,e,t)=>{let{obj:i,k:n}=q(a,e,Object);if(i!==void 0||e.length===1){i[n]=t;return}let r=e[e.length-1],s=e.slice(0,e.length-1),o=q(a,s,Object);for(;o.obj===void 0&&s.length;)r=`${s[s.length-1]}.${r}`,s=s.slice(0,s.length-1),o=q(a,s,Object),o?.obj&&typeof o.obj[`${o.k}.${r}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${r}`]=t},Ue=(a,e,t,i)=>{let{obj:n,k:r}=q(a,e,Object);n[r]=n[r]||[],n[r].push(t)},J=(a,e)=>{let{obj:t,k:i}=q(a,e);if(t&&Object.prototype.hasOwnProperty.call(t,i))return t[i]},Ke=(a,e,t)=>{let i=J(a,t);return i!==void 0?i:J(e,t)},ve=(a,e,t)=>{for(let i in e)i!=="__proto__"&&i!=="constructor"&&(i in a?p(a[i])||a[i]instanceof String||p(e[i])||e[i]instanceof String?t&&(a[i]=e[i]):ve(a[i],e[i],t):a[i]=e[i]);return a},k=a=>a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),He={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},qe=a=>p(a)?a.replace(/[&<>"'\/]/g,e=>He[e]):a,se=class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(t!==void 0)return t;let i=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,i),this.regExpQueue.push(e),i}},Ge=[" ",",","?","!",";"],ze=new se(20),Ze=(a,e,t)=>{e=e||"",t=t||"";let i=Ge.filter(s=>e.indexOf(s)<0&&t.indexOf(s)<0);if(i.length===0)return!0;let n=ze.getRegExp(`(${i.map(s=>s==="?"?"\\?":s).join("|")})`),r=!n.test(a);if(!r){let s=a.indexOf(t);s>0&&!n.test(a.substring(0,s))&&(r=!0)}return r},ae=(a,e,t=".")=>{if(!a)return;if(a[e])return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0;let i=e.split(t),n=a;for(let r=0;r<i.length;){if(!n||typeof n!="object")return;let s,o="";for(let l=r;l<i.length;++l)if(l!==r&&(o+=t),o+=i[l],s=n[o],s!==void 0){if(["string","number","boolean"].indexOf(typeof s)>-1&&l<i.length-1)continue;r+=l-r+1;break}n=s}return n},G=a=>a?.replace(/_/g,"-"),_e={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,e){console?.[a]?.apply?.(console,e)}},oe=class a{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||_e,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,i,n){return n&&!this.debug?null:(p(e[0])&&(e[0]=`${i}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new a(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new a(this.logger,e)}},I=new oe,j=class{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(i=>{this.observers[i]||(this.observers[i]=new Map);let n=this.observers[i].get(t)||0;this.observers[i].set(t,n+1)}),this}off(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,r])=>{for(let s=0;s<r;s++)n(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let s=0;s<r;s++)n.apply(n,[e,...t])})}},X=class extends j{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){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,i,n={}){let r=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,s=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure,o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],i&&(Array.isArray(i)?o.push(...i):p(i)&&r?o.push(...i.split(r)):o.push(i)));let l=J(this.data,o);return!l&&!t&&!i&&e.indexOf(".")>-1&&(e=o[0],t=o[1],i=o.slice(2).join(".")),l||!s||!p(i)?l:ae(this.data?.[e]?.[t],i,r)}addResource(e,t,i,n,r={silent:!1}){let s=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,o=[e,t];i&&(o=o.concat(s?i.split(s):i)),e.indexOf(".")>-1&&(o=e.split("."),n=t,t=o[1]),this.addNamespaces(t),we(this.data,o,n),r.silent||this.emit("added",e,t,i,n)}addResources(e,t,i,n={silent:!1}){for(let r in i)(p(i[r])||Array.isArray(i[r]))&&this.addResource(e,t,r,i[r],{silent:!0});n.silent||this.emit("added",e,t,i)}addResourceBundle(e,t,i,n,r,s={silent:!1,skipCopy:!1}){let o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),n=i,i=t,t=o[1]),this.addNamespaces(t);let l=J(this.data,o)||{};s.skipCopy||(i=JSON.parse(JSON.stringify(i))),n?ve(l,i,r):l={...l,...i},we(this.data,o,l),s.silent||this.emit("added",e,t,i)}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){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}},Ae={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,e,t,i,n){return a.forEach(r=>{e=this.processors[r]?.process(e,t,i,n)??e}),e}},Me=Symbol("i18next/PATH_KEY");function Je(){let a=[],e=Object.create(null),t;return e.get=(i,n)=>(t?.revoke?.(),n===Me?a:(a.push(n),t=Proxy.revocable(i,e),t.proxy)),Proxy.revocable(Object.create(null),e).proxy}function le(a,e){let{[Me]:t}=a(Je());return t.join(e?.keySeparator??".")}var Te={},ne=a=>!p(a)&&typeof a!="boolean"&&typeof a!="number",W=class a extends j{constructor(e,t={}){super(),je(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=I.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){let i={...t};if(e==null)return!1;let n=this.resolve(e,i);if(n?.res===void 0)return!1;let r=ne(n.res);return!(i.returnObjects===!1&&r)}extractFromKey(e,t){let i=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;i===void 0&&(i=":");let n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,r=t.ns||this.options.defaultNS||[],s=i&&e.indexOf(i)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ze(e,i,n);if(s&&!o){let l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:p(r)?[r]:r};let u=e.split(i);(i!==n||i===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:p(r)?[r]:r}}translate(e,t,i){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=le(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]);let r=n.returnDetails!==void 0?n.returnDetails:this.options.returnDetails,s=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],n),u=l[l.length-1],h=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;h===void 0&&(h=":");let c=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c?.toLowerCase()==="cimode")return d?r?{res:`${u}${h}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:`${u}${h}${o}`:r?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:u,usedParams:this.getUsedParamsDetails(n)}:o;let f=this.resolve(e,n),g=f?.res,x=f?.usedKey||o,O=f?.exactUsedKey||o,T=["[object Number]","[object Function]","[object RegExp]"],y=n.joinArrays!==void 0?n.joinArrays:this.options.joinArrays,P=!this.i18nFormat||this.i18nFormat.handleAsObject,w=n.count!==void 0&&!p(n.count),A=a.hasDefaultValue(n),$=w?this.pluralResolver.getSuffix(c,n.count,n):"",B=n.ordinal&&w?this.pluralResolver.getSuffix(c,n.count,{ordinal:!1}):"",me=w&&!n.ordinal&&n.count===0,M=me&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${$}`]||n[`defaultValue${B}`]||n.defaultValue,C=g;P&&!g&&A&&(C=M);let $e=ne(C),Be=Object.prototype.toString.apply(C);if(P&&C&&$e&&T.indexOf(Be)<0&&!(p(y)&&Array.isArray(C))){if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let E=this.options.returnedObjectHandler?this.options.returnedObjectHandler(x,C,{...n,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return r?(f.res=E,f.usedParams=this.getUsedParamsDetails(n),f):E}if(s){let E=Array.isArray(C),N=E?[]:{},be=E?O:x;for(let R in C)if(Object.prototype.hasOwnProperty.call(C,R)){let v=`${be}${s}${R}`;A&&!g?N[R]=this.translate(v,{...n,defaultValue:ne(M)?M[R]:void 0,joinArrays:!1,ns:l}):N[R]=this.translate(v,{...n,joinArrays:!1,ns:l}),N[R]===v&&(N[R]=C[R])}g=N}}else if(P&&p(y)&&Array.isArray(g))g=g.join(y),g&&(g=this.extendTranslation(g,e,n,i));else{let E=!1,N=!1;!this.isValidLookup(g)&&A&&(E=!0,g=M),this.isValidLookup(g)||(N=!0,g=o);let R=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&N?void 0:g,v=A&&M!==g&&this.options.updateMissing;if(N||E||v){if(this.logger.log(v?"updateKey":"missingKey",c,u,o,v?M:g),s){let L=this.resolve(o,{...n,keySeparator:!1});L&&L.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 U=[],Z=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Z&&Z[0])for(let L=0;L<Z.length;L++)U.push(Z[L]);else this.options.saveMissingTo==="all"?U=this.languageUtils.toResolveHierarchy(n.lng||this.language):U.push(n.lng||this.language);let xe=(L,V,K)=>{let ye=A&&K!==g?K:R;this.options.missingKeyHandler?this.options.missingKeyHandler(L,u,V,ye,v,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(L,u,V,ye,v,n),this.emit("missingKey",L,u,V,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?U.forEach(L=>{let V=this.pluralResolver.getSuffixes(L,n);me&&n[`defaultValue${this.options.pluralSeparator}zero`]&&V.indexOf(`${this.options.pluralSeparator}zero`)<0&&V.push(`${this.options.pluralSeparator}zero`),V.forEach(K=>{xe([L],o+K,n[`defaultValue${K}`]||M)})}):xe(U,o,M))}g=this.extendTranslation(g,e,n,f,i),N&&g===o&&this.options.appendNamespaceToMissingKey&&(g=`${u}${h}${o}`),(N||E)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${h}${o}`:o,E?g:void 0,n))}return r?(f.res=g,f.usedParams=this.getUsedParamsDetails(n),f):g}extendTranslation(e,t,i,n,r){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...i},i.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!i.skipInterpolation){i.interpolation&&this.interpolator.init({...i,interpolation:{...this.options.interpolation,...i.interpolation}});let l=p(e)&&(i?.interpolation?.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),u;if(l){let c=e.match(this.interpolator.nestingRegexp);u=c&&c.length}let h=i.replace&&!p(i.replace)?i.replace:i;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,i.lng||this.language||n.usedLng,i),l){let c=e.match(this.interpolator.nestingRegexp),d=c&&c.length;u<d&&(i.nest=!1)}!i.lng&&n&&n.res&&(i.lng=this.language||n.usedLng),i.nest!==!1&&(e=this.interpolator.nest(e,(...c)=>r?.[0]===c[0]&&!i.context?(this.logger.warn(`It seems you are nesting recursively key: ${c[0]} in key: ${t[0]}`),null):this.translate(...c,t),i)),i.interpolation&&this.interpolator.reset()}let s=i.postProcess||this.options.postProcess,o=p(s)?[s]:s;return e!=null&&o?.length&&i.applyPostProcessor!==!1&&(e=Ae.handle(o,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(i)},...i}:i,this)),e}resolve(e,t={}){let i,n,r,s,o;return p(e)&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(i))return;let u=this.extractFromKey(l,t),h=u.key;n=h;let c=u.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));let d=t.count!==void 0&&!p(t.count),f=d&&!t.ordinal&&t.count===0,g=t.context!==void 0&&(p(t.context)||typeof t.context=="number")&&t.context!=="",x=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(O=>{this.isValidLookup(i)||(o=O,!Te[`${x[0]}-${O}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(o)&&(Te[`${x[0]}-${O}`]=!0,this.logger.warn(`key "${n}" for languages "${x.join(", ")}" won't get resolved as namespace "${o}" 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!!!")),x.forEach(T=>{if(this.isValidLookup(i))return;s=T;let y=[h];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(y,h,T,O,t);else{let w;d&&(w=this.pluralResolver.getSuffix(T,t.count,t));let A=`${this.options.pluralSeparator}zero`,$=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(t.ordinal&&w.indexOf($)===0&&y.push(h+w.replace($,this.options.pluralSeparator)),y.push(h+w),f&&y.push(h+A)),g){let B=`${h}${this.options.contextSeparator||"_"}${t.context}`;y.push(B),d&&(t.ordinal&&w.indexOf($)===0&&y.push(B+w.replace($,this.options.pluralSeparator)),y.push(B+w),f&&y.push(B+A))}}let P;for(;P=y.pop();)this.isValidLookup(i)||(r=P,i=this.getResource(T,O,P,t))}))})}),{res:i,usedKey:n,exactUsedKey:r,usedLng:s,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,i,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,i,n):this.resourceStore.getResource(e,t,i,n)}getUsedParamsDetails(e={}){let t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],i=e.replace&&!p(e.replace),n=i?e.replace:e;if(i&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!i){n={...n};for(let r of t)delete n[r]}return n}static hasDefaultValue(e){let t="defaultValue";for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)&&t===i.substring(0,t.length)&&e[i]!==void 0)return!0;return!1}},Y=class{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=I.create("languageUtils")}getScriptPartFromCode(e){if(e=G(e),!e||e.indexOf("-")<0)return null;let t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=G(e),!e||e.indexOf("-")<0)return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(p(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(i=>{if(t)return;let n=this.formatLanguageCode(i);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(i=>{if(t)return;let n=this.getScriptPartFromCode(i);if(this.isSupportedCode(n))return t=n;let r=this.getLanguagePartFromCode(i);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(s=>{if(s===r)return s;if(!(s.indexOf("-")<0&&r.indexOf("-")<0)&&(s.indexOf("-")>0&&r.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===r||s.indexOf(r)===0&&r.length>1))return s})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),p(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let i=e[t];return i||(i=e[this.getScriptPartFromCode(t)]),i||(i=e[this.formatLanguageCode(t)]),i||(i=e[this.getLanguagePartFromCode(t)]),i||(i=e.default),i||[]}toResolveHierarchy(e,t){let i=this.getFallbackCodes((t===!1?[]:t)||this.options.fallbackLng||[],e),n=[],r=s=>{s&&(this.isSupportedCode(s)?n.push(s):this.logger.warn(`rejecting language code not found in supportedLngs: ${s}`))};return p(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):p(e)&&r(this.formatLanguageCode(e)),i.forEach(s=>{n.indexOf(s)<0&&r(this.formatLanguageCode(s))}),n}},Ne={zero:0,one:1,two:2,few:3,many:4,other:5},Ce={select:a=>a===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},ue=class{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=I.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){let i=G(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:i,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];let s;try{s=new Intl.PluralRules(i,{type:n})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),Ce;if(!e.match(/-|_/))return Ce;let l=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(l,t)}return this.pluralRulesCache[r]=s,s}needsPlural(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,i={}){return this.getSuffixes(e,i).map(n=>`${t}${n}`)}getSuffixes(e,t={}){let i=this.getRule(e,t);return i||(i=this.getRule("dev",t)),i?i.resolvedOptions().pluralCategories.sort((n,r)=>Ne[n]-Ne[r]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t,i={}){let n=this.getRule(e,i);return n?`${this.options.prepend}${i.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,i))}},Ee=(a,e,t,i=".",n=!0)=>{let r=Ke(a,e,t);return!r&&n&&p(t)&&(r=ae(a,t,i),r===void 0&&(r=ae(e,t,i))),r},ie=a=>a.replace(/\$/g,"$$$$"),Q=class{constructor(e={}){this.logger=I.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(t=>t),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:i,useRawValueToEscape:n,prefix:r,prefixEscaped:s,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:h,unescapePrefix:c,nestingPrefix:d,nestingPrefixEscaped:f,nestingSuffix:g,nestingSuffixEscaped:x,nestingOptionsSeparator:O,maxReplaces:T,alwaysFormat:y}=e.interpolation;this.escape=t!==void 0?t:qe,this.escapeValue=i!==void 0?i:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?k(r):s||"{{",this.suffix=o?k(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=h?"":c||"-",this.unescapeSuffix=this.unescapePrefix?"":h||"",this.nestingPrefix=d?k(d):f||k("$t("),this.nestingSuffix=g?k(g):x||k(")"),this.nestingOptionsSeparator=O||",",this.maxReplaces=T||1e3,this.alwaysFormat=y!==void 0?y:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(t,i)=>t?.source===i?(t.lastIndex=0,t):new RegExp(i,"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,i,n){let r,s,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){let T=Ee(t,l,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(T,void 0,i,{...n,...t,interpolationkey:f}):T}let g=f.split(this.formatSeparator),x=g.shift().trim(),O=g.join(this.formatSeparator).trim();return this.format(Ee(t,l,x,this.options.keySeparator,this.options.ignoreJSONStructure),O,i,{...n,...t,interpolationkey:x})};this.resetRegExp();let h=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,c=n?.interpolation?.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>ie(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?ie(this.escape(f)):ie(f)}].forEach(f=>{for(o=0;r=f.regex.exec(e);){let g=r[1].trim();if(s=u(g),s===void 0)if(typeof h=="function"){let O=h(e,r,n);s=p(O)?O:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))s="";else if(c){s=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),s="";else!p(s)&&!this.useRawValueToEscape&&(s=Se(s));let x=f.safeValue(s);if(e=e.replace(r[0],x),c?(f.regex.lastIndex+=s.length,f.regex.lastIndex-=r[0].length):f.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t,i={}){let n,r,s,o=(l,u)=>{let h=this.nestingOptionsSeparator;if(l.indexOf(h)<0)return l;let c=l.split(new RegExp(`${k(h)}[ ]*{`)),d=`{${c[1]}`;l=c[0],d=this.interpolate(d,s);let f=d.match(/'/g),g=d.match(/"/g);((f?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(d=d.replace(/'/g,'"'));try{s=JSON.parse(d),u&&(s={...u,...s})}catch(x){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,x),`${l}${h}${d}`}return s.defaultValue&&s.defaultValue.indexOf(this.prefix)>-1&&delete s.defaultValue,l};for(;n=this.nestingRegexp.exec(e);){let l=[];s={...i},s=s.replace&&!p(s.replace)?s.replace:s,s.applyPostProcessor=!1,delete s.defaultValue;let u=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(u!==-1&&(l=n[1].slice(u).split(this.formatSeparator).map(h=>h.trim()).filter(Boolean),n[1]=n[1].slice(0,u)),r=t(o.call(this,n[1].trim(),s),s),r&&n[0]===e&&!p(r))return r;p(r)||(r=Se(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),l.length&&(r=l.reduce((h,c)=>this.format(h,c,i.lng,{...i,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}},Xe=a=>{let e=a.toLowerCase().trim(),t={};if(a.indexOf("(")>-1){let i=a.split("(");e=i[0].toLowerCase().trim();let n=i[1].substring(0,i[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(s=>{if(s){let[o,...l]=s.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),h=o.trim();t[h]||(t[h]=u),u==="false"&&(t[h]=!1),u==="true"&&(t[h]=!0),isNaN(u)||(t[h]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},Re=a=>{let e={};return(t,i,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});let s=i+JSON.stringify(r),o=e[s];return o||(o=a(G(i),n),e[s]=o),o(t)}},We=a=>(e,t,i)=>a(G(t),i)(e),ce=class{constructor(e={}){this.logger=I.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";let i=t.cacheInBuiltFormats?Re:We;this.formats={number:i((n,r)=>{let s=new Intl.NumberFormat(n,{...r});return o=>s.format(o)}),currency:i((n,r)=>{let s=new Intl.NumberFormat(n,{...r,style:"currency"});return o=>s.format(o)}),datetime:i((n,r)=>{let s=new Intl.DateTimeFormat(n,{...r});return o=>s.format(o)}),relativetime:i((n,r)=>{let s=new Intl.RelativeTimeFormat(n,{...r});return o=>s.format(o,r.range||"day")}),list:i((n,r)=>{let s=new Intl.ListFormat(n,{...r});return o=>s.format(o)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Re(t)}format(e,t,i,n={}){let r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(o=>o.indexOf(")")>-1)){let o=r.findIndex(l=>l.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,o)].join(this.formatSeparator)}return r.reduce((o,l)=>{let{formatName:u,formatOptions:h}=Xe(l);if(this.formats[u]){let c=o;try{let d=n?.formatParams?.[n.interpolationkey]||{},f=d.locale||d.lng||n.locale||n.lng||i;c=this.formats[u](o,f,{...h,...n,...d})}catch(d){this.logger.warn(d)}return c}else this.logger.warn(`there was no format function for ${u}`);return o},e)}},Ye=(a,e)=>{a.pending[e]!==void 0&&(delete a.pending[e],a.pendingCount--)},he=class extends j{constructor(e,t,i,n={}){super(),this.backend=e,this.store=t,this.services=i,this.languageUtils=i.languageUtils,this.options=n,this.logger=I.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?.(i,n.backend,n)}queueLoad(e,t,i,n){let r={},s={},o={},l={};return e.forEach(u=>{let h=!0;t.forEach(c=>{let d=`${u}|${c}`;!i.reload&&this.store.hasResourceBundle(u,c)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?s[d]===void 0&&(s[d]=!0):(this.state[d]=1,h=!1,s[d]===void 0&&(s[d]=!0),r[d]===void 0&&(r[d]=!0),l[c]===void 0&&(l[c]=!0)))}),h||(o[u]=!0)}),(Object.keys(r).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(s),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,i){let n=e.split("|"),r=n[0],s=n[1];t&&this.emit("failedLoading",r,s,t),!t&&i&&this.store.addResourceBundle(r,s,i,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&i&&(this.state[e]=0);let o={};this.queue.forEach(l=>{Ue(l.loaded,[r],s),Ye(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{o[u]||(o[u]={});let h=l.loaded[u];h.length&&h.forEach(c=>{o[u][c]===void 0&&(o[u][c]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,i,n=0,r=this.retryTimeout,s){if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:i,tried:n,wait:r,callback:s});return}this.readingCalls++;let o=(u,h)=>{if(this.readingCalls--,this.waitingReads.length>0){let c=this.waitingReads.shift();this.read(c.lng,c.ns,c.fcName,c.tried,c.wait,c.callback)}if(u&&h&&n<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,i,n+1,r*2,s)},r);return}s(u,h)},l=this.backend[i].bind(this.backend);if(l.length===2){try{let u=l(e,t);u&&typeof u.then=="function"?u.then(h=>o(null,h)).catch(o):o(null,u)}catch(u){o(u)}return}return l(e,t,o)}prepareLoading(e,t,i={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();p(e)&&(e=this.languageUtils.toResolveHierarchy(e)),p(t)&&(t=[t]);let r=this.queueLoad(e,t,i,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.toLoad.forEach(s=>{this.loadOne(s)})}load(e,t,i){this.prepareLoading(e,t,{},i)}reload(e,t,i){this.prepareLoading(e,t,{reload:!0},i)}loadOne(e,t=""){let i=e.split("|"),n=i[0],r=i[1];this.read(n,r,"read",void 0,void 0,(s,o)=>{s&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,s),!s&&o&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,o),this.loaded(e,s,o)})}saveMissing(e,t,i,n,r,s={},o=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${i}" 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(!(i==null||i==="")){if(this.backend?.create){let l={...s,isUpdate:r},u=this.backend.create.bind(this.backend);if(u.length<6)try{let h;u.length===5?h=u(e,t,i,n,l):h=u(e,t,i,n),h&&typeof h.then=="function"?h.then(c=>o(null,c)).catch(o):o(null,h)}catch(h){o(h)}else u(e,t,i,n,o,l)}!e||!e[0]||this.store.addResource(e[0],t,i,n)}}},re=()=>({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:a=>{let e={};if(typeof a[1]=="object"&&(e=a[1]),p(a[1])&&(e.defaultValue=a[1]),p(a[2])&&(e.tDescription=a[2]),typeof a[2]=="object"||typeof a[3]=="object"){let t=a[3]||a[2];Object.keys(t).forEach(i=>{e[i]=t[i]})}return e},interpolation:{escapeValue:!0,format:a=>a,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Ie=a=>(p(a.ns)&&(a.ns=[a.ns]),p(a.fallbackLng)&&(a.fallbackLng=[a.fallbackLng]),p(a.fallbackNS)&&(a.fallbackNS=[a.fallbackNS]),a.supportedLngs?.indexOf?.("cimode")<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),typeof a.initImmediate=="boolean"&&(a.initAsync=a.initImmediate),a),_=()=>{},Qe=a=>{Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(t=>{typeof a[t]=="function"&&(a[t]=a[t].bind(a))})},Pe="__i18next_supportNoticeShown",et=()=>typeof globalThis<"u"&&!!globalThis[Pe],tt=()=>{typeof globalThis<"u"&&(globalThis[Pe]=!0)},nt=a=>!!(a?.modules?.backend?.name?.indexOf("Locize")>0||a?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||a?.options?.backend?.backends&&a.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||a?.options?.backend?.projectId||a?.options?.backend?.backendOptions&&a.options.backend.backendOptions.some(e=>e?.projectId)),de=class a extends j{constructor(e={},t){if(super(),this.options=Ie(e),this.services={},this.logger=I,this.modules={external:[]},Qe(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&&(p(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=re();this.options={...i,...this.options,...Ie(e)},this.options.interpolation={...i.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=i.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!nt(this)&&!et()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("\u{1F310} i18next is maintained with support from Locize \u2014 consider powering your project with managed localization (AI, CDN, integrations): https://locize.com \u{1F499}"),tt());let n=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?I.init(n(this.modules.logger),this.options):I.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=ce;let h=new Y(this.options);this.store=new X(this.options.resources,this.options);let c=this.services;c.logger=I,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new ue(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==i.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"),u&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(c.formatter=n(u),c.formatter.init&&c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new Q(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new he(n(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",(f,...g)=>{this.emit(f,...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 W(this.services,this.options),this.translator.on("*",(f,...g)=>{this.emit(f,...g)}),this.modules.external.forEach(f=>{f.init&&f.init(this)})}if(this.format=this.options.interpolation.format,t||(t=_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=(...h)=>this.store[u](...h)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...h)=>(this.store[u](...h),this)});let o=H(),l=()=>{let u=(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("initialized",this.options),o.resolve(c),t(h,c)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),o}loadResources(e,t=_){let i=t,n=p(e)?e:this.language;if(typeof e=="function"&&(i=e),!this.options.resources||this.options.partialBundledLanguages){if(n?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return i();let r=[],s=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(u=>{u!=="cimode"&&r.indexOf(u)<0&&r.push(u)})};n?s(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>s(l)),this.options.preload?.forEach?.(o=>s(o)),this.services.backendConnector.load(r,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),i(o)})}else i(null)}reloadResources(e,t,i){let n=H();return typeof e=="function"&&(i=e,e=void 0),typeof t=="function"&&(i=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),i||(i=_),this.services.backendConnector.reload(e,t,r=>{n.resolve(),i(r)}),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"&&Ae.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++){let i=this.languages[t];if(!(["cimode","dev"].indexOf(i)>-1)&&this.store.hasLanguageSomeTranslations(i)){this.resolvedLanguage=i;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;let i=H();this.emit("languageChanging",e);let n=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,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,i.resolve((...u)=>this.t(...u)),t&&t(o,(...u)=>this.t(...u))},s=o=>{!e&&!o&&this.services.languageDetector&&(o=[]);let l=p(o)?o:o&&o[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(p(o)?[o]:o);u&&(this.language||n(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,h=>{r(h,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?s(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(s):this.services.languageDetector.detect(s):s(e),i}getFixedT(e,t,i){let n=(r,s,...o)=>{let l;typeof s!="object"?l=this.options.overloadTranslationOptionHandler([r,s].concat(o)):l={...s},l.lng=l.lng||n.lng,l.lngs=l.lngs||n.lngs,l.ns=l.ns||n.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||i||n.keyPrefix);let u=this.options.keySeparator||".",h;return l.keyPrefix&&Array.isArray(r)?h=r.map(c=>(typeof c=="function"&&(c=le(c,{...this.options,...s})),`${l.keyPrefix}${u}${c}`)):(typeof r=="function"&&(r=le(r,{...this.options,...s})),h=l.keyPrefix?`${l.keyPrefix}${u}${r}`:r),this.t(h,l)};return p(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=i,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;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let i=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,r=this.languages[this.languages.length-1];if(i.toLowerCase()==="cimode")return!0;let s=(o,l)=>{let u=this.services.backendConnector.state[`${o}|${l}`];return u===-1||u===0||u===2};if(t.precheck){let o=t.precheck(this,s);if(o!==void 0)return o}return!!(this.hasResourceBundle(i,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||s(i,e)&&(!n||s(r,e)))}loadNamespaces(e,t){let i=H();return this.options.ns?(p(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{i.resolve(),t&&t(n)}),i):(t&&t(),Promise.resolve())}loadLanguages(e,t){let i=H();p(e)&&(e=[e]);let n=this.options.preload||[],r=e.filter(s=>n.indexOf(s)<0&&this.services.languageUtils.isSupportedCode(s));return r.length?(this.options.preload=n.concat(r),this.loadResources(s=>{i.resolve(),t&&t(s)}),i):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{let n=new Intl.Locale(e);if(n&&n.getTextInfo){let r=n.getTextInfo();if(r&&r.direction)return r.direction}}catch{}let 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"],i=this.services?.languageUtils||new Y(re());return e.toLowerCase().indexOf("-latn")>1?"ltr":t.indexOf(i.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){let i=new a(e,t);return i.createInstance=a.createInstance,i}cloneInstance(e={},t=_){let i=e.forkResourceStore;i&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},r=new a(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(o=>{r[o]=this[o]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},i){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((h,c)=>(h[c]={...l[u][c]},h),l[u]),l),{});r.store=new X(o,n),r.services.resourceStore=r.store}if(e.interpolation){let l={...re().interpolation,...this.options.interpolation,...e.interpolation},u={...n,interpolation:l};r.services.interpolator=new Q(u)}return r.translator=new W(r.services,n),r.translator.on("*",(o,...l)=>{r.emit(o,...l)}),r.init(n,t),r.translator.options=n,r.translator.backendConnector.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},r}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},S=de.createInstance(),ht=S.createInstance,dt=S.dir,ft=S.init,gt=S.loadResources,pt=S.reloadResources,mt=S.use,bt=S.changeLanguage,xt=S.getFixedT,yt=S.t,St=S.exists,Ot=S.setDefaultNamespace,Lt=S.hasLoadedNamespace,wt=S.loadNamespaces,Tt=S.loadLanguages;var Ve={Transformer:{domainMustBeGreaterThanZero:"Domain {{domain, number}} must be greater than 0",tweakMustBeGreaterThanOrEqualToZero:"Tweak {{tweak, number}} must be greater than or equal to 0",valueMustBeGreaterThanOrEqualToZero:"Value {{value, number}} must be greater than or equal to 0",valueMustBeLessThan:"Value {{value, number}} must be less than {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"Minimum value {{minimumValue, number}} must be greater than or equal to 0",maximumValueMustBeLessThan:"Maximum value {{maximumValue, number}} must be less than {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"String {{s}} does not match pattern"},CharacterSetValidator:{firstZeroFirstCharacter:"Character set must support zero as first character",allNumericAllNumericCharacters:"Character set must support all numeric characters in sequence",stringMustNotBeAllNumeric:"String must not be all numeric",lengthMustBeGreaterThanOrEqualTo:"Length {{length, number}} must be greater than or equal to {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"Length {{length, number}} must be less than or equal to {{maximumLength, number}}",lengthMustBeEqualTo:"Length {{length, number}} must be equal to {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"Length {{length, number}} of {{component}} must be greater than or equal to {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"Length {{length, number}} of {{component}} must be less than or equal to {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"Length {{length, number}} of {{component}} must be equal to {{exactLength, number}}",invalidCharacterAtPosition:"Invalid character '{{c}}' at position {{position, number}}",invalidCharacterAtPositionOfComponent:"Invalid character '{{c}}' at position {{position, number}} of {{component}}",exclusionNotSupported:"Exclusion value of {{exclusion, number}} is not supported",endSequenceValueMustBeLessThanOrEqualTo:"End sequence value (start sequence value + count - 1) must be less than {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:'{{typeName}} "{{key}}" not found'}};var ke={Transformer:{domainMustBeGreaterThanZero:"Le domaine {{domain, number}} doit \xEAtre sup\xE9rieur \xE0 0",tweakMustBeGreaterThanOrEqualToZero:"Le r\xE9glage {{tweak, number}} doit \xEAtre sup\xE9rieur ou \xE9gal \xE0 0",valueMustBeGreaterThanOrEqualToZero:"La valeur {{value, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",valueMustBeLessThan:"La valeur {{value, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}",minimumValueMustBeGreaterThanOrEqualToZero:"La valeur minimale {{minimumValue, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 0",maximumValueMustBeLessThan:"La valeur maximale {{maximumValue, number}} doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RegExpValidator:{stringDoesNotMatchPattern:"La cha\xEEne {{s}} ne correspond pas au mod\xE8le"},CharacterSetValidator:{firstZeroFirstCharacter:"Le jeu de caract\xE8res doit prendre en charge z\xE9ro comme premier caract\xE8re",allNumericAllNumericCharacters:"Le jeu de caract\xE8res doit prendre en charge tous les caract\xE8res num\xE9riques en s\xE9quence",stringMustNotBeAllNumeric:"La cha\xEEne ne doit pas \xEAtre enti\xE8rement num\xE9rique",lengthMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthMustBeLessThanOrEqualTo:"La longueur {{length, number}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthMustBeEqualTo:"La longueur {{length, number}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",lengthOfComponentMustBeGreaterThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre sup\xE9rieure ou \xE9gale \xE0 {{minimumLength, number}}",lengthOfComponentMustBeLessThanOrEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre inf\xE9rieure ou \xE9gale \xE0 {{maximumLength, number}}",lengthOfComponentMustBeEqualTo:"La longueur {{length, number}} de {{component}} doit \xEAtre \xE9gale \xE0 {{exactLength, number}}",invalidCharacterAtPosition:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}}",invalidCharacterAtPositionOfComponent:"Caract\xE8re non valide '{{c}}' \xE0 la position {{position, number}} de {{component}}",exclusionNotSupported:"La valeur d'exclusion de {{exclusion, number}} n'est pas prise en charge",endSequenceValueMustBeLessThanOrEqualTo:"La valeur de la s\xE9quence de fin (valeur de la s\xE9quence de d\xE9but + nombre - 1) doit \xEAtre inf\xE9rieure \xE0 {{domain, number}}"},RecordValidator:{typeNameKeyNotFound:"{{typeName}} \xAB\xA0{{key}}\xA0\xBB introuvable"}};var st="aidct_utility",at={en:{aidct_utility:Ve},fr:{aidct_utility:ke}},m=S.createInstance();async function Mt(a,e=!1){return rt(m,a,e,st,at,it)}var ee=class{#t;#e;#r;#i;#n;#s;constructor(e,t){this.#t=BigInt(e),this.#e=this.#t+BigInt(t),this.#r=t,t>=0?(this.#i=1n,this.#n=this.#t,this.#s=this.#e-1n):(this.#i=-1n,this.#n=this.#e+1n,this.#s=this.#t)}get startValue(){return this.#t}get endValue(){return this.#e}get count(){return this.#r}get minimumValue(){return this.#n}get maximumValue(){return this.#s}*[Symbol.iterator](){for(let e=this.#t;e!==this.#e;e+=this.#i)yield e}};function z(a,e){return{*[Symbol.iterator](){let t=0;for(let i of a)yield e(i,t++)}}}var F=class a{static#t=new Map;#e;constructor(e){if(this.#e=BigInt(e),this.#e<=0n)throw new RangeError(m.t("Transformer.domainMustBeGreaterThanZero",{domain:e}))}static get(e,t){let i=BigInt(e),n=a.#t.get(i);n===void 0&&(n=new Map,a.#t.set(i,n));let r=t===void 0?void 0:BigInt(t),s=n.get(r);return s===void 0&&(s=r===void 0?new fe(i):new ge(i,r),n.set(r,s)),s}get domain(){return this.#e}#r(e){if(e<0n)throw new RangeError(m.t("Transformer.valueMustBeGreaterThanOrEqualToZero",{value:e}));if(e>=this.domain)throw new RangeError(m.t("Transformer.valueMustBeLessThan",{value:e,domain:this.domain}))}#i(e){let t=BigInt(e);return this.#r(t),this.doForward(t)}#n(e,t,i){return e(this.#i(t),i)}forward(e,t){let i;if(typeof e!="object")i=t===void 0?this.#i(e):this.#n(t,e);else if(e instanceof ee){if(e.minimumValue<0n)throw new RangeError(m.t("Transformer.minimumValueMustBeGreaterThanOrEqualToZero",{minimumValue:e.minimumValue}));if(e.maximumValue>=this.domain)throw new RangeError(m.t("Transformer.maximumValueMustBeLessThan",{maximumValue:e.maximumValue,domain:this.domain}));i=t===void 0?z(e,n=>this.doForward(n)):z(e,(n,r)=>t(this.doForward(n),r))}else i=t===void 0?z(e,n=>this.#i(n)):z(e,(n,r)=>this.#n(t,n,r));return i}reverse(e){let t=BigInt(e);return this.#r(t),this.doReverse(t)}},fe=class extends F{doForward(e){return e}doReverse(e){return e}},ge=class a extends F{static#t=603868999n;static#e=new Uint8Array([1,2,4,8,16,32,64,128]);static#r=new Uint8Array([254,253,251,247,239,223,191,127]);#i;#n;#s;#o;#a;constructor(e,t){if(super(e),t<0n)throw new RangeError(m.t("Transformer.tweakMustBeGreaterThanOrEqualToZero",{tweak:t}));let i=0;for(let o=this.domain-1n;o!==0n;o>>=8n)i++;this.#i=i;let n=[],r=[],s=[];for(let o=this.domain*BigInt(t)*a.#t;o!==0n;o>>=8n){n.unshift(Number(BigInt.asUintN(8,o)));let l=Number(BigInt.asUintN(3,o));r.push(a.#e[l]),s.push(a.#r[l])}if(i===1){let o=a.#e.filter(l=>l<e).reduce((l,u)=>l|u,0);this.#n=new Uint8Array([n.reduce((l,u)=>l^u,0)&o]),this.#s=new Uint8Array([a.#e[0]]),this.#o=new Uint8Array([a.#r[0]]),this.#a=1}else this.#n=new Uint8Array(n),this.#s=new Uint8Array(r),this.#o=new Uint8Array(s),this.#a=n.length}#l(e){let t=new Uint8Array(this.#i);for(let i=this.#i-1,n=e;i>=0&&n!==0n;i--,n>>=8n)t[i]=Number(BigInt.asUintN(8,n));return t}static#u(e){return e.reduce((t,i)=>t<<8n|BigInt(i),0n)}#c(e,t,i){let n=e.length,r=new Uint8Array(n),s=[],o=[],l=this.#s[t];e.forEach((c,d)=>{let f=c&l;r[d]=f,(f!==0?s:o).push(d)});let u=this.#o[t],h=new Uint8Array(n);return[...s,...o].forEach((c,d)=>{i?h[d]=e[c]&u|r[d]:h[c]=e[d]&u|r[c]}),h}#h(e,t,i){let n=this.#n[t];return e.map(r=>{let s=r^n;return n=i?s:r,s})}doForward(e){let t=this.#l(e),i;do{for(let n=0;n<this.#a;n++)t=this.#h(this.#c(t,n,!0),n,!0);i=a.#u(t)}while(i>=this.domain);return i}doReverse(e){let t=this.#l(e),i;do{for(let n=this.#a-1;n>=0;n--)t=this.#c(this.#h(t,n,!1),n,!1);i=a.#u(t)}while(i>=this.domain);return i}};var te=class{#t;constructor(e){this.#t=e}get regExp(){return this.#t}createErrorMessage(e){return m.t("RegExpValidator.stringDoesNotMatchPattern",{s:e})}validate(e){if(!this.#t.test(e))throw new RangeError(this.createErrorMessage(e))}};var Fe=class{#t;#e;constructor(e,t){this.#t=e,this.#e=t}get typeName(){return this.#t}get record(){return this.#e}validate(e){if(!(e in this.record))throw new RangeError(m.t("RecordValidator.typeNameKeyNotFound",{typeName:this.typeName,key:e}))}};var b={None:0,FirstZero:1,AllNumeric:2};var pe=class a{static#t=new class extends te{createErrorMessage(e){return m.t("CharacterSetValidator.stringMustNotBeAllNumeric")}}(/\D/u);#e;#r;#i;constructor(e,...t){this.#e=e;let i=new Map;e.forEach((n,r)=>{i.set(n,r)}),this.#r=i,this.#i=t}get characterSet(){return this.#e}get characterSetSize(){return this.#e.length}get exclusionSupport(){return this.#i}character(e){return this.#e[e]}characterIndex(e){return this.#r.get(e)}characterIndexes(e){return Array.from(e).map(t=>this.#r.get(t))}static#n(e){return typeof e=="function"?e():e}validateExclusion(e){if(e!==void 0&&e!==b.None&&!this.#i.includes(e))throw new RangeError(m.t("CharacterSetValidator.exclusionNotSupported",{exclusion:e}))}validate(e,t){let i=e.length,n=t?.minimumLength,r=t?.maximumLength;if(n!==void 0&&i<n){let o;throw r!==void 0&&r===n?o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeEqualTo":"CharacterSetValidator.lengthOfComponentMustBeEqualTo",{component:a.#n(t?.component),length:i,exactLength:n}):o=m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeGreaterThanOrEqualTo",{component:a.#n(t?.component),length:i,minimumLength:n}),new RangeError(o)}if(r!==void 0&&i>r)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.lengthMustBeLessThanOrEqualTo":"CharacterSetValidator.lengthOfComponentMustBeLessThanOrEqualTo",{component:a.#n(t?.component),length:i,maximumLength:r}));let s=this.characterIndexes(e).findIndex(o=>o===void 0);if(s!==-1)throw new RangeError(m.t(t?.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:a.#n(t?.component),c:e.charAt(s),position:s+(t?.positionOffset??0)+1}));if(t?.exclusion!==void 0)switch(this.validateExclusion(t.exclusion),t.exclusion){case b.None:break;case b.FirstZero:if(e.startsWith("0"))throw new RangeError(m.t(t.component===void 0?"CharacterSetValidator.invalidCharacterAtPosition":"CharacterSetValidator.invalidCharacterAtPositionOfComponent",{component:a.#n(t.component),c:"0",position:(t.positionOffset??0)+1}));break;case b.AllNumeric:a.#t.validate(e);break}}},D=class a extends pe{static MAXIMUM_STRING_LENGTH=40;static#t;static#e(e){let t=new Array(this.MAXIMUM_STRING_LENGTH+1),i=BigInt(e);for(let n=0,r=1n;n<=this.MAXIMUM_STRING_LENGTH;n++,r*=i)t[n]=r;return t}static powerOf10(e){return a.#t??=a.#e(10),a.#t[e]}#r;#i;#n;#s;constructor(e,...t){super(e,...t),this.#r=BigInt(this.characterSetSize),this.#i=BigInt(this.characterSetSize-1);let i=[],n=a.#e(this.characterSetSize);if(i[b.None]=n,t.includes(b.FirstZero)){if(e[0]!=="0")throw new RangeError(m.t("CharacterSetValidator.firstZeroFirstCharacter"));let s=new Array(a.MAXIMUM_STRING_LENGTH+1);s[0]=0n;for(let o=1;o<=a.MAXIMUM_STRING_LENGTH;o++)s[o]=this.#i*n[o-1];i[b.FirstZero]=s}if(t.includes(b.AllNumeric)){let o=function(d){let f=d[0];for(let g of d){if(g===void 0||g!==f)throw new RangeError(m.t("CharacterSetValidator.allNumericAllNumericCharacters"));f=g+1}};var r=o;let s=new Array(a.MAXIMUM_STRING_LENGTH+1),l=this.characterIndexes("0123456789");o(l);let u=BigInt(l[0]),h=new Array(a.MAXIMUM_STRING_LENGTH+1),c=0n;for(let d=0;d<=a.MAXIMUM_STRING_LENGTH;d++)s[d]=n[d]-a.powerOf10(d),h[d]=c,c=c*this.#r+u;this.#s=h,i[b.AllNumeric]=s}else this.#s=[];this.#n=i}#o(e){return this.#n[b.None][e]}#a(e,t,i){let n;if(t===0){if(!e&&i<10n)throw new RangeError(m.t("CharacterSetValidator.stringMustNotBeAllNumeric"));n=10n}else{let r=this.#o(t),s=a.powerOf10(t),o=e?r-s:r,l=i/o;l>=10n?n=a.powerOf10(t+1):n=l*s+this.#a(e,t-1,i-l*o)}return n}#l(e){if(e<0)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeGreaterThanOrEqualTo",{length:e,minimumLength:0}));if(e>a.MAXIMUM_STRING_LENGTH)throw new RangeError(m.t("CharacterSetValidator.lengthMustBeLessThanOrEqualTo",{length:e,maximumLength:a.MAXIMUM_STRING_LENGTH}))}create(e,t,i,n,r){this.#l(e),this.validateExclusion(i);let s=i===b.AllNumeric?this.#s[e]:0n;return F.get(this.#n[i??b.None][e],n).forward(t,(l,u)=>{let h="";if(e!==0){let c=l;i===b.AllNumeric&&c>=s&&(c+=this.#a(!0,e,c-s));for(let d=e-1;d>0;d--){let f=c/this.#r;h=this.character(Number(c-f*this.#r))+h,c=f}h=this.character(i===b.FirstZero?Number(c%this.#i)+1:Number(c%this.#r))+h}return r===void 0?h:r(h,u)})}valueFor(e,t,i){let n=e.length;this.#l(n),this.validateExclusion(t);let r=BigInt(this.characterSetSize),s=this.characterIndexes(e).reduce((o,l,u)=>{if(l===void 0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:e.charAt(u),position:u+1}));let h;if(u===0&&t===b.FirstZero){if(l===0)throw new RangeError(m.t("CharacterSetValidator.invalidCharacterAtPosition",{c:"0",position:1}));h=BigInt(l-1)}else h=o*r+BigInt(l);return h},0n);if(t===b.AllNumeric){let o=this.#s[n];s>=o&&(s-=this.#a(!1,n,s-o))}return F.get(this.#n[t??b.None][n],i).reverse(s)}},ot=new D(["0","1","2","3","4","5","6","7","8","9"],b.FirstZero),Jt=ot,lt=new D(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],b.FirstZero,b.AllNumeric),Xt=lt,ut=new D(["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"]),Wt=ut,ct=new D(["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],b.FirstZero,b.AllNumeric),Yt=ct;export{ut as ALPHABETIC_CREATOR,Wt as ALPHABETIC_VALIDATOR,ct as ALPHANUMERIC_CREATOR,Yt as ALPHANUMERIC_VALIDATOR,D as CharacterSetCreator,pe as CharacterSetValidator,ge as EncryptionTransformer,b as Exclusions,lt as HEXADECIMAL_CREATOR,Xt as HEXADECIMAL_VALIDATOR,fe as IdentityTransformer,ot as NUMERIC_CREATOR,Jt as NUMERIC_VALIDATOR,Fe as RecordValidator,te as RegExpValidator,ee as Sequence,F as Transformer,Mt as i18nUtilityInit,m as i18nextUtility,z as mapIterable,st as utilityNS,at as utilityResourceBundle};
2
2
  /*!
3
3
  * Copyright © 2024-2026 Dolphin Data Development Ltd. and AIDC Toolkit
4
4
  * contributors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aidc-toolkit/utility",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "Foundational utilities for AIDC Toolkit",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -29,10 +29,10 @@
29
29
  "test": "tsc --project tsconfig-test.json --noEmit && vitest run"
30
30
  },
31
31
  "devDependencies": {
32
- "@aidc-toolkit/dev": "^1.0.45",
32
+ "@aidc-toolkit/dev": "^1.0.46",
33
33
  "vitest": "^4.0.18"
34
34
  },
35
35
  "dependencies": {
36
- "@aidc-toolkit/core": "^1.0.46"
36
+ "@aidc-toolkit/core": "^1.0.47"
37
37
  }
38
38
  }
package/src/version.ts CHANGED
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * Repository version, updated automatically during publication.
3
3
  */
4
- export const VERSION = "1.0.47";
4
+ export const VERSION = "1.0.48";
@@ -1 +1 @@
1
- {"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.es2021.d.ts","./node_modules/typescript/lib/lib.es2022.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.es2021.promise.d.ts","./node_modules/typescript/lib/lib.es2021.string.d.ts","./node_modules/typescript/lib/lib.es2021.weakref.d.ts","./node_modules/typescript/lib/lib.es2021.intl.d.ts","./node_modules/typescript/lib/lib.es2022.array.d.ts","./node_modules/typescript/lib/lib.es2022.error.d.ts","./node_modules/typescript/lib/lib.es2022.intl.d.ts","./node_modules/typescript/lib/lib.es2022.object.d.ts","./node_modules/typescript/lib/lib.es2022.string.d.ts","./node_modules/typescript/lib/lib.es2022.regexp.d.ts","./node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/typescript/lib/lib.esnext.float16.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/exclusion.ts","./src/iterable-utility.ts","./node_modules/tslog/types/internal/InspectOptions.interface.d.ts","./node_modules/tslog/types/interfaces.d.ts","./node_modules/tslog/types/BaseLogger.d.ts","./node_modules/tslog/types/index.d.ts","./node_modules/i18next/typescript/helpers.d.ts","./node_modules/i18next/typescript/options.d.ts","./node_modules/i18next/typescript/t.d.ts","./node_modules/i18next/index.d.ts","./node_modules/i18next/index.d.mts","./node_modules/@aidc-toolkit/core/dist/index.d.ts","./src/locale/en/locale-resources.ts","./src/locale/fr/locale-resources.ts","./src/locale/i18n.ts","./src/string.ts","./src/reg-exp.ts","./src/sequence.ts","./src/transformer.ts","./src/character-set.ts","./src/record.ts","./src/index.ts","./src/version.ts","./src/locale/i18next.d.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/assertion-error/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/json5/index.d.ts","./node_modules/@types/node/compatibility/iterators.d.ts","./node_modules/@types/node/globals.typedarray.d.ts","./node_modules/@types/node/buffer.buffer.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/web-globals/abortcontroller.d.ts","./node_modules/@types/node/web-globals/blob.d.ts","./node_modules/@types/node/web-globals/console.d.ts","./node_modules/@types/node/web-globals/crypto.d.ts","./node_modules/@types/node/web-globals/domexception.d.ts","./node_modules/@types/node/web-globals/encoding.d.ts","./node_modules/@types/node/web-globals/events.d.ts","./node_modules/undici-types/utility.d.ts","./node_modules/undici-types/header.d.ts","./node_modules/undici-types/readable.d.ts","./node_modules/undici-types/fetch.d.ts","./node_modules/undici-types/formdata.d.ts","./node_modules/undici-types/connector.d.ts","./node_modules/undici-types/client-stats.d.ts","./node_modules/undici-types/client.d.ts","./node_modules/undici-types/errors.d.ts","./node_modules/undici-types/dispatcher.d.ts","./node_modules/undici-types/global-dispatcher.d.ts","./node_modules/undici-types/global-origin.d.ts","./node_modules/undici-types/pool-stats.d.ts","./node_modules/undici-types/pool.d.ts","./node_modules/undici-types/handlers.d.ts","./node_modules/undici-types/balanced-pool.d.ts","./node_modules/undici-types/h2c-client.d.ts","./node_modules/undici-types/agent.d.ts","./node_modules/undici-types/mock-interceptor.d.ts","./node_modules/undici-types/mock-call-history.d.ts","./node_modules/undici-types/mock-agent.d.ts","./node_modules/undici-types/mock-client.d.ts","./node_modules/undici-types/mock-pool.d.ts","./node_modules/undici-types/snapshot-agent.d.ts","./node_modules/undici-types/mock-errors.d.ts","./node_modules/undici-types/proxy-agent.d.ts","./node_modules/undici-types/env-http-proxy-agent.d.ts","./node_modules/undici-types/retry-handler.d.ts","./node_modules/undici-types/retry-agent.d.ts","./node_modules/undici-types/api.d.ts","./node_modules/undici-types/cache-interceptor.d.ts","./node_modules/undici-types/interceptors.d.ts","./node_modules/undici-types/util.d.ts","./node_modules/undici-types/cookies.d.ts","./node_modules/undici-types/patch.d.ts","./node_modules/undici-types/websocket.d.ts","./node_modules/undici-types/eventsource.d.ts","./node_modules/undici-types/diagnostics-channel.d.ts","./node_modules/undici-types/content-type.d.ts","./node_modules/undici-types/cache.d.ts","./node_modules/undici-types/index.d.ts","./node_modules/@types/node/web-globals/fetch.d.ts","./node_modules/@types/node/web-globals/importmeta.d.ts","./node_modules/@types/node/web-globals/messaging.d.ts","./node_modules/@types/node/web-globals/navigator.d.ts","./node_modules/@types/node/web-globals/performance.d.ts","./node_modules/@types/node/web-globals/storage.d.ts","./node_modules/@types/node/web-globals/streams.d.ts","./node_modules/@types/node/web-globals/timers.d.ts","./node_modules/@types/node/web-globals/url.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/inspector.generated.d.ts","./node_modules/@types/node/inspector/promises.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/path/posix.d.ts","./node_modules/@types/node/path/win32.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/quic.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/sea.d.ts","./node_modules/@types/node/sqlite.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/test/reporters.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/util/types.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/index.d.ts"],"fileIdsList":[[65,70,83,92,154,162,166,169,171,172,173,185],[84,85,92,154,162,166,169,171,172,173,185],[92,154,162,166,169,171,172,173,185],[92,151,152,154,162,166,169,171,172,173,185],[92,153,154,162,166,169,171,172,173,185],[154,162,166,169,171,172,173,185],[92,154,162,166,169,171,172,173,185,193],[92,154,155,160,162,165,166,169,171,172,173,175,185,190,202],[92,154,155,156,162,165,166,169,171,172,173,185],[92,154,157,162,166,169,171,172,173,185,203],[92,154,158,159,162,166,169,171,172,173,176,185],[92,154,159,162,166,169,171,172,173,185,190,199],[92,154,160,162,165,166,169,171,172,173,175,185],[92,153,154,161,162,166,169,171,172,173,185],[92,154,162,163,166,169,171,172,173,185],[92,154,162,164,165,166,169,171,172,173,185],[92,153,154,162,165,166,169,171,172,173,185],[92,154,162,165,166,167,169,171,172,173,185,190,202],[92,154,162,165,166,167,169,171,172,173,185,190,193],[92,141,154,162,165,166,168,169,171,172,173,175,185,190,202],[92,154,162,165,166,168,169,171,172,173,175,185,190,199,202],[92,154,162,166,168,169,170,171,172,173,185,190,199,202],[90,91,92,93,94,95,96,97,98,99,100,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209],[92,154,162,165,166,169,171,172,173,185],[92,154,162,166,169,171,173,185],[92,154,162,166,169,171,172,173,174,185,202],[92,154,162,165,166,169,171,172,173,175,185,190],[92,154,162,166,169,171,172,173,176,185],[92,154,162,166,169,171,172,173,177,185],[92,154,162,165,166,169,171,172,173,180,185],[92,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209],[92,154,162,166,169,171,172,173,182,185],[92,154,162,166,169,171,172,173,183,185],[92,154,159,162,166,169,171,172,173,175,185,193],[92,154,162,165,166,169,171,172,173,185,186],[92,154,162,166,169,171,172,173,185,187,203,206],[92,154,162,165,166,169,171,172,173,185,190,192,193],[92,154,162,166,169,171,172,173,185,191,193],[92,154,162,166,169,171,172,173,185,193,203],[92,154,162,166,169,171,172,173,185,194],[92,151,154,162,166,169,171,172,173,185,190,196],[92,154,162,166,169,171,172,173,185,190,195],[92,154,162,165,166,169,171,172,173,185,197,198],[92,154,162,166,169,171,172,173,185,197,198],[92,154,159,162,166,169,171,172,173,175,185,190,199],[92,154,162,166,169,171,172,173,185,200],[92,154,162,166,169,171,172,173,175,185,201],[92,154,162,166,168,169,171,172,173,183,185,202],[92,154,162,166,169,171,172,173,185,203,204],[92,154,159,162,166,169,171,172,173,185,204],[92,154,162,166,169,171,172,173,185,190,205],[92,154,162,166,169,171,172,173,174,185,206],[92,154,162,166,169,171,172,173,185,207],[92,154,157,162,166,169,171,172,173,185],[92,154,159,162,166,169,171,172,173,185],[92,154,162,166,169,171,172,173,185,203],[92,141,154,162,166,169,171,172,173,185],[92,154,162,166,169,171,172,173,185,202],[92,154,162,166,169,171,172,173,185,208],[92,154,162,166,169,171,172,173,180,185],[92,154,162,166,169,171,172,173,185,198],[92,141,154,162,165,166,167,169,171,172,173,180,185,190,193,202,205,206,208],[92,154,162,166,169,171,172,173,185,190,209],[66,67,68,69,92,154,162,166,169,171,172,173,185],[66,67,68,92,154,162,166,169,171,172,173,185],[66,92,154,162,166,169,171,172,173,185],[66,67,92,154,162,166,169,171,172,173,185],[63,92,154,162,166,169,171,172,173,185],[63,64,92,154,162,166,169,171,172,173,185],[62,92,154,162,166,169,171,172,173,185],[92,107,110,113,114,154,162,166,169,171,172,173,185,202],[92,110,154,162,166,169,171,172,173,185,190,202],[92,110,114,154,162,166,169,171,172,173,185,202],[92,154,162,166,169,171,172,173,185,190],[92,104,154,162,166,169,171,172,173,185],[92,108,154,162,166,169,171,172,173,185],[92,106,107,110,154,162,166,169,171,172,173,185,202],[92,154,162,166,169,171,172,173,175,185,199],[92,154,162,166,169,171,172,173,185,210],[92,104,154,162,166,169,171,172,173,185,210],[92,106,110,154,162,166,169,171,172,173,175,185,202],[92,101,102,103,105,109,154,162,165,166,169,171,172,173,185,190,202],[92,110,118,126,154,162,166,169,171,172,173,185],[92,102,108,154,162,166,169,171,172,173,185],[92,110,135,136,154,162,166,169,171,172,173,185],[92,102,105,110,154,162,166,169,171,172,173,185,193,202,210],[92,110,154,162,166,169,171,172,173,185],[92,106,110,154,162,166,169,171,172,173,185,202],[92,101,154,162,166,169,171,172,173,185],[92,104,105,106,108,109,110,111,112,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,136,137,138,139,140,154,162,166,169,171,172,173,185],[92,110,128,131,154,162,166,169,171,172,173,185],[92,110,118,119,120,154,162,166,169,171,172,173,185],[92,108,110,119,121,154,162,166,169,171,172,173,185],[92,109,154,162,166,169,171,172,173,185],[92,102,104,110,154,162,166,169,171,172,173,185],[92,110,114,119,121,154,162,166,169,171,172,173,185],[92,114,154,162,166,169,171,172,173,185],[92,108,110,113,154,162,166,169,171,172,173,185,202],[92,102,106,110,118,154,162,166,169,171,172,173,185],[92,110,128,154,162,166,169,171,172,173,185],[92,121,154,162,166,169,171,172,173,185],[92,104,110,135,154,162,166,169,171,172,173,185,193,208,210],[60,61,74,75,76,78,92,154,162,166,169,171,172,173,185],[60,61,74,75,76,77,78,79,80,92,154,162,166,169,171,172,173,185],[70,71,72,73,83,92,154,162,166,169,171,172,173,185],[70,71,74,92,154,162,166,169,171,172,173,185],[74,75,92,154,162,166,169,171,172,173,185],[61,74,77,92,154,162,166,169,171,172,173,185]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3311a61c6aef9a62cbef5e7a56e1df939af03f6a843f9af56849a0d2712fc34","impliedFormat":99},{"version":"1f2fa635af19f63232151db9a4fa20d2e367ce79b8fa5ee405eabd9886fd2066","impliedFormat":99},{"version":"a0ea0ebb80cc84ee69c710fb2facb1aaa928bbba76e4cf2d6986d227e201d8da","impliedFormat":99},{"version":"cbd1648336bab35437b9e62253aeb73d651485818fc42235ebe38bd4e2a54e93","impliedFormat":99},{"version":"39bfe11e90de3ae44067734a74de05ca478d9c8aaaf5b035ae3b07f12c15ba66","impliedFormat":99},{"version":"91da497254ee49742e2c2610ba6718b98118652a1c04da086bfd2d0894ea3dff","affectsGlobalScope":true,"impliedFormat":99},{"version":"ebf3f14a8159ec5aa2fbf567e6070c248e86a46d69d9967bda179190094dbd4f","impliedFormat":1},{"version":"507bff60d987582b4bf22129691b2243eda0afdd84f0868b325fdb0658311347","impliedFormat":1},{"version":"39a6362716071ffbf6ccbeea3d79e3c19844854d3fc18bda6ed5c4e45b8ad345","impliedFormat":1},{"version":"bd0e108ac399335fec82e83d91401152cc8e19e54d80af0caec98caf10fced77","impliedFormat":1},{"version":"ecd27f83f4995039b05510a3c51566e88fe7fb1a67057bf02b21b152d8237fb6","impliedFormat":99},{"version":"1c207488a8000cbdd110ecc01638f271be1481c0124e006efd2ff8ca53703779","impliedFormat":99},{"version":"93ff6833e6cee5dab8843d646f0040136eb312a543712f69977301f93914ba03","impliedFormat":99},{"version":"102fbdd29a2b7a6a5bb3b081fd1acc484c011722d7c460c3ba56fd39de69ecbb","impliedFormat":99},{"version":"ac8986806ca37cff93a4731b4fe75475d62b8f48011635897c7751a3011380d8","impliedFormat":99},{"version":"84860bec3d12996232b1fc8430a887cce26006363db104f331cd4099ca20f6c0","impliedFormat":99},{"version":"0ea0c7b119925b2ea220bd6b60ed548245f55e50109b9ed805eb22c7c9a0ae99","impliedFormat":99},{"version":"bed211ed139ec7f06475552a4c47d01cd255f136a2216330dbc5414cc17c33ca","impliedFormat":99},{"version":"218ed0afb8a23472277a62367816b97aa1c1fe3a066bea2e3ac84b4b9cb78f29","impliedFormat":99},{"version":"0826de7f8dfd8889c24429594deb31089f4ea2834156b8a32bbcc32672b3504e","impliedFormat":99},{"version":"f986949a5f9fd95e2a66ea94cfe0a3d9ae92d699fb303669485a830052d81f7e","impliedFormat":99},{"version":"71dc32a134f3f6b177e6269dc7cd187e80e25798088297d597d8105fb68c3198","impliedFormat":99},{"version":"790a1987ef8a9a1be9fd8d20943f9ff0fd0c98cd76ad11c46f7d53a4c29b8982","impliedFormat":99},{"version":"c8d9d74dab491281c1ffe2080f546ea6896efeb539bcd5a66596a13d07e62713","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"487b694c3de27ddf4ad107d4007ad304d29effccf9800c8ae23c2093638d906a","impliedFormat":1},{"version":"3a80bc85f38526ca3b08007ee80712e7bb0601df178b23fbf0bf87036fce40ce","impliedFormat":1},{"version":"ccf4552357ce3c159ef75f0f0114e80401702228f1898bdc9402214c9499e8c0","impliedFormat":1},{"version":"c6fd2c5a395f2432786c9cb8deb870b9b0e8ff7e22c029954fabdd692bff6195","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"2931540c47ee0ff8a62860e61782eb17b155615db61e36986e54645ec67f67c2","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"f6faf5f74e4c4cc309a6c6a6c4da02dbb840be5d3e92905a23dcd7b2b0bd1986","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"33e981bf6376e939f99bd7f89abec757c64897d33c005036b9a10d9587d80187","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"b41767d372275c154c7ea6c9d5449d9a741b8ce080f640155cc88ba1763e35b3","impliedFormat":1},{"version":"3bacf516d686d08682751a3bd2519ea3b8041a164bfb4f1d35728993e70a2426","impliedFormat":1},{"version":"7fb266686238369442bd1719bc0d7edd0199da4fb8540354e1ff7f16669b4323","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"54c3e2371e3d016469ad959697fd257e5621e16296fa67082c2575d0bf8eced0","impliedFormat":1},{"version":"beb8233b2c220cfa0feea31fbe9218d89fa02faa81ef744be8dce5acb89bb1fd","impliedFormat":1},{"version":"c183b931b68ad184bc8e8372bf663f3d33304772fb482f29fb91b3c391031f3e","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"48cc3ec153b50985fb95153258a710782b25975b10dd4ac8a4f3920632d10790","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"e1528ca65ac90f6fa0e4a247eb656b4263c470bb22d9033e466463e13395e599","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"866078923a56d026e39243b4392e282c1c63159723996fa89243140e1388a98d","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"435b3711465425770ed2ee2f1cf00ce071835265e0851a7dc4600ab4b007550e","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"237ba5ac2a95702a114a309e39c53a5bddff5f6333b325db9764df9b34f3502b","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"1d024184fb57c58c5c91823f9d10b4915a4867b7934e89115fd0d861a9df27c8","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"b0b69c61b0f0ec8ca15db4c8c41f6e77f4cacb784d42bca948f42dea33e8757e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"f83fb2b1338afbb3f9d733c7d6e8b135826c41b0518867df0c0ace18ae1aa270","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"757227c8b345c57d76f7f0e3bbad7a91ffca23f1b2547cbed9e10025816c9cb7","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"5d21b58d60383cc6ab9ad3d3e265d7d25af24a2c9b506247e0e50b0a884920be","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"ae6757460f37078884b1571a3de3ebaf724d827d7e1d53626c02b3c2a408ac63","affectsGlobalScope":true,"impliedFormat":1},{"version":"9451a46a89ed209e2e08329e6cac59f89356eae79a7230f916d8cc38725407c7","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"e236b5eba291f51bdf32c231673e6cab81b5410850e61f51a7a524dddadc0f95","impliedFormat":1},{"version":"f7ba0e839daa0702e3ff1a1a871c0d8ea2d586ce684dd8a72c786c36a680b1d9","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"af4ab0aa8908fc9a655bb833d3bc28e117c4f0e1038c5a891546158beb25accb","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"f64deb26664af64dc274637343bde8d82f930c77af05a412c7d310b77207a448","impliedFormat":1},{"version":"ed4f674fc8c0c993cc7e145069ac44129e03519b910c62be206a0cc777bdc60b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"17d06eb5709839c7ce719f0c38ada6f308fb433f2cd6d8c87b35856e07400950","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"2a00d005e3af99cd1cfa75220e60c61b04bfb6be7ca7453bfe2ef6cca37cc03c","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"14d4bd22d1b05824971b98f7e91b2484c90f1a684805c330476641417c3d9735","impliedFormat":1},{"version":"c3877fef8a43cd434f9728f25a97575b0eb73d92f38b5c87c840daccc3e21d97","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"1dbd83860e7634f9c236647f45dbc5d3c4f9eba8827d87209d6e9826fdf4dbd5","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"b37f83e7deea729aa9ce5593f78905afb45b7532fdff63041d374f60059e7852","impliedFormat":1},{"version":"e1cb68f3ef3a8dd7b2a9dfb3de482ed6c0f1586ba0db4e7d73c1d2147b6ffc51","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1}],"root":[60,61,[72,83]],"options":{"composite":true,"declaration":true,"erasableSyntaxOnly":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedSideEffectImports":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"strict":true,"target":9},"referencedMap":[[71,1],[86,2],[84,3],[87,3],[88,3],[89,3],[151,4],[152,4],[153,5],[92,6],[154,7],[155,8],[156,9],[90,3],[157,10],[158,11],[159,12],[160,13],[161,14],[162,15],[163,15],[164,16],[165,17],[166,18],[167,19],[93,3],[91,3],[168,20],[169,21],[170,22],[210,23],[171,24],[172,25],[173,24],[174,26],[175,27],[176,28],[177,29],[178,29],[179,29],[180,30],[181,31],[182,32],[183,33],[184,34],[185,35],[186,35],[187,36],[188,3],[189,3],[190,37],[191,38],[192,37],[193,39],[194,40],[195,41],[196,42],[197,43],[198,44],[199,45],[200,46],[201,47],[202,48],[203,49],[204,50],[205,51],[206,52],[207,53],[94,24],[95,3],[96,54],[97,55],[98,3],[99,56],[100,3],[142,57],[143,58],[144,59],[145,59],[146,60],[147,3],[148,7],[149,61],[150,58],[208,62],[209,63],[85,3],[70,64],[69,65],[66,3],[67,66],[68,67],[64,68],[65,69],[63,70],[62,3],[58,3],[59,3],[11,3],[10,3],[2,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[19,3],[3,3],[20,3],[21,3],[4,3],[22,3],[26,3],[23,3],[24,3],[25,3],[27,3],[28,3],[29,3],[5,3],[30,3],[31,3],[32,3],[33,3],[6,3],[37,3],[34,3],[35,3],[36,3],[38,3],[7,3],[39,3],[44,3],[45,3],[40,3],[41,3],[42,3],[43,3],[8,3],[49,3],[46,3],[47,3],[48,3],[50,3],[9,3],[51,3],[52,3],[53,3],[55,3],[54,3],[1,3],[56,3],[57,3],[118,71],[130,72],[116,73],[131,74],[140,75],[107,76],[108,77],[106,78],[139,79],[134,80],[138,81],[110,82],[127,83],[109,84],[137,85],[104,86],[105,80],[111,87],[112,3],[117,88],[115,87],[102,89],[141,90],[132,91],[121,92],[120,87],[122,93],[125,94],[119,95],[123,96],[135,79],[113,97],[114,98],[126,99],[103,74],[129,100],[128,87],[124,101],[133,3],[101,3],[136,102],[79,103],[60,3],[81,104],[61,3],[72,3],[73,3],[74,105],[83,106],[80,107],[76,107],[77,3],[75,3],[78,108],[82,3]],"affectedFilesPendingEmit":[[79,17],[60,17],[81,17],[61,17],[72,17],[73,17],[74,17],[80,17],[76,17],[77,17],[75,17],[78,17],[82,17]],"emitSignatures":[60,61,72,73,74,75,76,77,78,79,80,81,82],"version":"5.9.3"}
1
+ {"fileNames":["./node_modules/typescript/lib/lib.es5.d.ts","./node_modules/typescript/lib/lib.es2015.d.ts","./node_modules/typescript/lib/lib.es2016.d.ts","./node_modules/typescript/lib/lib.es2017.d.ts","./node_modules/typescript/lib/lib.es2018.d.ts","./node_modules/typescript/lib/lib.es2019.d.ts","./node_modules/typescript/lib/lib.es2020.d.ts","./node_modules/typescript/lib/lib.es2021.d.ts","./node_modules/typescript/lib/lib.es2022.d.ts","./node_modules/typescript/lib/lib.es2015.core.d.ts","./node_modules/typescript/lib/lib.es2015.collection.d.ts","./node_modules/typescript/lib/lib.es2015.generator.d.ts","./node_modules/typescript/lib/lib.es2015.iterable.d.ts","./node_modules/typescript/lib/lib.es2015.promise.d.ts","./node_modules/typescript/lib/lib.es2015.proxy.d.ts","./node_modules/typescript/lib/lib.es2015.reflect.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.d.ts","./node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2016.array.include.d.ts","./node_modules/typescript/lib/lib.es2016.intl.d.ts","./node_modules/typescript/lib/lib.es2017.arraybuffer.d.ts","./node_modules/typescript/lib/lib.es2017.date.d.ts","./node_modules/typescript/lib/lib.es2017.object.d.ts","./node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2017.string.d.ts","./node_modules/typescript/lib/lib.es2017.intl.d.ts","./node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","./node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","./node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","./node_modules/typescript/lib/lib.es2018.intl.d.ts","./node_modules/typescript/lib/lib.es2018.promise.d.ts","./node_modules/typescript/lib/lib.es2018.regexp.d.ts","./node_modules/typescript/lib/lib.es2019.array.d.ts","./node_modules/typescript/lib/lib.es2019.object.d.ts","./node_modules/typescript/lib/lib.es2019.string.d.ts","./node_modules/typescript/lib/lib.es2019.symbol.d.ts","./node_modules/typescript/lib/lib.es2019.intl.d.ts","./node_modules/typescript/lib/lib.es2020.bigint.d.ts","./node_modules/typescript/lib/lib.es2020.date.d.ts","./node_modules/typescript/lib/lib.es2020.promise.d.ts","./node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","./node_modules/typescript/lib/lib.es2020.string.d.ts","./node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","./node_modules/typescript/lib/lib.es2020.intl.d.ts","./node_modules/typescript/lib/lib.es2020.number.d.ts","./node_modules/typescript/lib/lib.es2021.promise.d.ts","./node_modules/typescript/lib/lib.es2021.string.d.ts","./node_modules/typescript/lib/lib.es2021.weakref.d.ts","./node_modules/typescript/lib/lib.es2021.intl.d.ts","./node_modules/typescript/lib/lib.es2022.array.d.ts","./node_modules/typescript/lib/lib.es2022.error.d.ts","./node_modules/typescript/lib/lib.es2022.intl.d.ts","./node_modules/typescript/lib/lib.es2022.object.d.ts","./node_modules/typescript/lib/lib.es2022.string.d.ts","./node_modules/typescript/lib/lib.es2022.regexp.d.ts","./node_modules/typescript/lib/lib.esnext.disposable.d.ts","./node_modules/typescript/lib/lib.esnext.float16.d.ts","./node_modules/typescript/lib/lib.decorators.d.ts","./node_modules/typescript/lib/lib.decorators.legacy.d.ts","./src/exclusion.ts","./src/iterable-utility.ts","./node_modules/tslog/types/internal/InspectOptions.interface.d.ts","./node_modules/tslog/types/interfaces.d.ts","./node_modules/tslog/types/BaseLogger.d.ts","./node_modules/tslog/types/index.d.ts","./node_modules/i18next/typescript/helpers.d.ts","./node_modules/i18next/typescript/options.d.ts","./node_modules/i18next/typescript/t.d.ts","./node_modules/i18next/index.d.ts","./node_modules/i18next/index.d.mts","./node_modules/@aidc-toolkit/core/dist/index.d.ts","./src/locale/en/locale-resources.ts","./src/locale/fr/locale-resources.ts","./src/locale/i18n.ts","./src/string.ts","./src/reg-exp.ts","./src/sequence.ts","./src/transformer.ts","./src/character-set.ts","./src/record.ts","./src/index.ts","./src/version.ts","./src/locale/i18next.d.ts","./node_modules/@types/deep-eql/index.d.ts","./node_modules/assertion-error/index.d.ts","./node_modules/@types/chai/index.d.ts","./node_modules/@types/estree/index.d.ts","./node_modules/@types/json-schema/index.d.ts","./node_modules/@types/json5/index.d.ts","./node_modules/@types/node/compatibility/iterators.d.ts","./node_modules/@types/node/globals.typedarray.d.ts","./node_modules/@types/node/buffer.buffer.d.ts","./node_modules/@types/node/globals.d.ts","./node_modules/@types/node/web-globals/abortcontroller.d.ts","./node_modules/@types/node/web-globals/blob.d.ts","./node_modules/@types/node/web-globals/console.d.ts","./node_modules/@types/node/web-globals/crypto.d.ts","./node_modules/@types/node/web-globals/domexception.d.ts","./node_modules/@types/node/web-globals/encoding.d.ts","./node_modules/@types/node/web-globals/events.d.ts","./node_modules/undici-types/utility.d.ts","./node_modules/undici-types/header.d.ts","./node_modules/undici-types/readable.d.ts","./node_modules/undici-types/fetch.d.ts","./node_modules/undici-types/formdata.d.ts","./node_modules/undici-types/connector.d.ts","./node_modules/undici-types/client-stats.d.ts","./node_modules/undici-types/client.d.ts","./node_modules/undici-types/errors.d.ts","./node_modules/undici-types/dispatcher.d.ts","./node_modules/undici-types/global-dispatcher.d.ts","./node_modules/undici-types/global-origin.d.ts","./node_modules/undici-types/pool-stats.d.ts","./node_modules/undici-types/pool.d.ts","./node_modules/undici-types/handlers.d.ts","./node_modules/undici-types/balanced-pool.d.ts","./node_modules/undici-types/round-robin-pool.d.ts","./node_modules/undici-types/h2c-client.d.ts","./node_modules/undici-types/agent.d.ts","./node_modules/undici-types/mock-interceptor.d.ts","./node_modules/undici-types/mock-call-history.d.ts","./node_modules/undici-types/mock-agent.d.ts","./node_modules/undici-types/mock-client.d.ts","./node_modules/undici-types/mock-pool.d.ts","./node_modules/undici-types/snapshot-agent.d.ts","./node_modules/undici-types/mock-errors.d.ts","./node_modules/undici-types/proxy-agent.d.ts","./node_modules/undici-types/env-http-proxy-agent.d.ts","./node_modules/undici-types/retry-handler.d.ts","./node_modules/undici-types/retry-agent.d.ts","./node_modules/undici-types/api.d.ts","./node_modules/undici-types/cache-interceptor.d.ts","./node_modules/undici-types/interceptors.d.ts","./node_modules/undici-types/util.d.ts","./node_modules/undici-types/cookies.d.ts","./node_modules/undici-types/patch.d.ts","./node_modules/undici-types/websocket.d.ts","./node_modules/undici-types/eventsource.d.ts","./node_modules/undici-types/diagnostics-channel.d.ts","./node_modules/undici-types/content-type.d.ts","./node_modules/undici-types/cache.d.ts","./node_modules/undici-types/index.d.ts","./node_modules/@types/node/web-globals/fetch.d.ts","./node_modules/@types/node/web-globals/importmeta.d.ts","./node_modules/@types/node/web-globals/messaging.d.ts","./node_modules/@types/node/web-globals/navigator.d.ts","./node_modules/@types/node/web-globals/performance.d.ts","./node_modules/@types/node/web-globals/storage.d.ts","./node_modules/@types/node/web-globals/streams.d.ts","./node_modules/@types/node/web-globals/timers.d.ts","./node_modules/@types/node/web-globals/url.d.ts","./node_modules/@types/node/assert.d.ts","./node_modules/@types/node/assert/strict.d.ts","./node_modules/@types/node/async_hooks.d.ts","./node_modules/@types/node/buffer.d.ts","./node_modules/@types/node/child_process.d.ts","./node_modules/@types/node/cluster.d.ts","./node_modules/@types/node/console.d.ts","./node_modules/@types/node/constants.d.ts","./node_modules/@types/node/crypto.d.ts","./node_modules/@types/node/dgram.d.ts","./node_modules/@types/node/diagnostics_channel.d.ts","./node_modules/@types/node/dns.d.ts","./node_modules/@types/node/dns/promises.d.ts","./node_modules/@types/node/domain.d.ts","./node_modules/@types/node/events.d.ts","./node_modules/@types/node/fs.d.ts","./node_modules/@types/node/fs/promises.d.ts","./node_modules/@types/node/http.d.ts","./node_modules/@types/node/http2.d.ts","./node_modules/@types/node/https.d.ts","./node_modules/@types/node/inspector.d.ts","./node_modules/@types/node/inspector.generated.d.ts","./node_modules/@types/node/inspector/promises.d.ts","./node_modules/@types/node/module.d.ts","./node_modules/@types/node/net.d.ts","./node_modules/@types/node/os.d.ts","./node_modules/@types/node/path.d.ts","./node_modules/@types/node/path/posix.d.ts","./node_modules/@types/node/path/win32.d.ts","./node_modules/@types/node/perf_hooks.d.ts","./node_modules/@types/node/process.d.ts","./node_modules/@types/node/punycode.d.ts","./node_modules/@types/node/querystring.d.ts","./node_modules/@types/node/quic.d.ts","./node_modules/@types/node/readline.d.ts","./node_modules/@types/node/readline/promises.d.ts","./node_modules/@types/node/repl.d.ts","./node_modules/@types/node/sea.d.ts","./node_modules/@types/node/sqlite.d.ts","./node_modules/@types/node/stream.d.ts","./node_modules/@types/node/stream/consumers.d.ts","./node_modules/@types/node/stream/promises.d.ts","./node_modules/@types/node/stream/web.d.ts","./node_modules/@types/node/string_decoder.d.ts","./node_modules/@types/node/test.d.ts","./node_modules/@types/node/test/reporters.d.ts","./node_modules/@types/node/timers.d.ts","./node_modules/@types/node/timers/promises.d.ts","./node_modules/@types/node/tls.d.ts","./node_modules/@types/node/trace_events.d.ts","./node_modules/@types/node/tty.d.ts","./node_modules/@types/node/url.d.ts","./node_modules/@types/node/util.d.ts","./node_modules/@types/node/util/types.d.ts","./node_modules/@types/node/v8.d.ts","./node_modules/@types/node/vm.d.ts","./node_modules/@types/node/wasi.d.ts","./node_modules/@types/node/worker_threads.d.ts","./node_modules/@types/node/zlib.d.ts","./node_modules/@types/node/index.d.ts"],"fileIdsList":[[65,70,83,92,155,163,167,170,172,173,174,186],[84,85,92,155,163,167,170,172,173,174,186],[92,155,163,167,170,172,173,174,186],[92,152,153,155,163,167,170,172,173,174,186],[92,154,155,163,167,170,172,173,174,186],[155,163,167,170,172,173,174,186],[92,155,163,167,170,172,173,174,186,194],[92,155,156,161,163,166,167,170,172,173,174,176,186,191,203],[92,155,156,157,163,166,167,170,172,173,174,186],[92,155,158,163,167,170,172,173,174,186,204],[92,155,159,160,163,167,170,172,173,174,177,186],[92,155,160,163,167,170,172,173,174,186,191,200],[92,155,161,163,166,167,170,172,173,174,176,186],[92,154,155,162,163,167,170,172,173,174,186],[92,155,163,164,167,170,172,173,174,186],[92,155,163,165,166,167,170,172,173,174,186],[92,154,155,163,166,167,170,172,173,174,186],[92,155,163,166,167,168,170,172,173,174,186,191,203],[92,155,163,166,167,168,170,172,173,174,186,191,194],[92,142,155,163,166,167,169,170,172,173,174,176,186,191,203],[92,155,163,166,167,169,170,172,173,174,176,186,191,200,203],[92,155,163,167,169,170,171,172,173,174,186,191,200,203],[90,91,92,93,94,95,96,97,98,99,100,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210],[92,155,163,166,167,170,172,173,174,186],[92,155,163,167,170,172,174,186],[92,155,163,167,170,172,173,174,175,186,203],[92,155,163,166,167,170,172,173,174,176,186,191],[92,155,163,167,170,172,173,174,177,186],[92,155,163,167,170,172,173,174,178,186],[92,155,163,166,167,170,172,173,174,181,186],[92,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210],[92,155,163,167,170,172,173,174,183,186],[92,155,163,167,170,172,173,174,184,186],[92,155,160,163,167,170,172,173,174,176,186,194],[92,155,163,166,167,170,172,173,174,186,187],[92,155,163,167,170,172,173,174,186,188,204,207],[92,155,163,166,167,170,172,173,174,186,191,193,194],[92,155,163,167,170,172,173,174,186,192,194],[92,155,163,167,170,172,173,174,186,194,204],[92,155,163,167,170,172,173,174,186,195],[92,152,155,163,167,170,172,173,174,186,191,197,203],[92,155,163,167,170,172,173,174,186,191,196],[92,155,163,166,167,170,172,173,174,186,198,199],[92,155,163,167,170,172,173,174,186,198,199],[92,155,160,163,167,170,172,173,174,176,186,191,200],[92,155,163,167,170,172,173,174,186,201],[92,155,163,167,170,172,173,174,176,186,202],[92,155,163,167,169,170,172,173,174,184,186,203],[92,155,163,167,170,172,173,174,186,204,205],[92,155,160,163,167,170,172,173,174,186,205],[92,155,163,167,170,172,173,174,186,191,206],[92,155,163,167,170,172,173,174,175,186,207],[92,155,163,167,170,172,173,174,186,208],[92,155,158,163,167,170,172,173,174,186],[92,155,160,163,167,170,172,173,174,186],[92,155,163,167,170,172,173,174,186,204],[92,142,155,163,167,170,172,173,174,186],[92,155,163,167,170,172,173,174,186,203],[92,155,163,167,170,172,173,174,186,209],[92,155,163,167,170,172,173,174,181,186],[92,155,163,167,170,172,173,174,186,199],[92,142,155,163,166,167,168,170,172,173,174,181,186,191,194,203,206,207,209],[92,155,163,167,170,172,173,174,186,191,210],[66,67,68,69,92,155,163,167,170,172,173,174,186],[66,67,68,92,155,163,167,170,172,173,174,186],[66,92,155,163,167,170,172,173,174,186],[66,67,92,155,163,167,170,172,173,174,186],[63,92,155,163,167,170,172,173,174,186],[63,64,92,155,163,167,170,172,173,174,186],[62,92,155,163,167,170,172,173,174,186],[92,107,110,113,114,155,163,167,170,172,173,174,186,203],[92,110,155,163,167,170,172,173,174,186,191,203],[92,110,114,155,163,167,170,172,173,174,186,203],[92,155,163,167,170,172,173,174,186,191],[92,104,155,163,167,170,172,173,174,186],[92,108,155,163,167,170,172,173,174,186],[92,106,107,110,155,163,167,170,172,173,174,186,203],[92,155,163,167,170,172,173,174,176,186,200],[92,155,163,167,170,172,173,174,186,211],[92,104,155,163,167,170,172,173,174,186,211],[92,106,110,155,163,167,170,172,173,174,176,186,203],[92,101,102,103,105,109,155,163,166,167,170,172,173,174,186,191,203],[92,110,119,127,155,163,167,170,172,173,174,186],[92,102,108,155,163,167,170,172,173,174,186],[92,110,136,137,155,163,167,170,172,173,174,186],[92,102,105,110,155,163,167,170,172,173,174,186,194,203,211],[92,110,155,163,167,170,172,173,174,186],[92,106,110,155,163,167,170,172,173,174,186,203],[92,101,155,163,167,170,172,173,174,186],[92,104,105,106,108,109,110,111,112,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,137,138,139,140,141,155,163,167,170,172,173,174,186],[92,110,129,132,155,163,167,170,172,173,174,186],[92,110,119,120,121,155,163,167,170,172,173,174,186],[92,108,110,120,122,155,163,167,170,172,173,174,186],[92,109,155,163,167,170,172,173,174,186],[92,102,104,110,155,163,167,170,172,173,174,186],[92,110,114,120,122,155,163,167,170,172,173,174,186],[92,114,155,163,167,170,172,173,174,186],[92,108,110,113,155,163,167,170,172,173,174,186,203],[92,102,106,110,119,155,163,167,170,172,173,174,186],[92,110,129,155,163,167,170,172,173,174,186],[92,122,155,163,167,170,172,173,174,186],[92,104,110,136,155,163,167,170,172,173,174,186,194,209,211],[60,61,74,75,76,78,92,155,163,167,170,172,173,174,186],[60,61,74,75,76,77,78,79,80,92,155,163,167,170,172,173,174,186],[70,71,72,73,83,92,155,163,167,170,172,173,174,186],[70,71,74,92,155,163,167,170,172,173,174,186],[74,75,92,155,163,167,170,172,173,174,186],[61,74,77,92,155,163,167,170,172,173,174,186]],"fileInfos":[{"version":"c430d44666289dae81f30fa7b2edebf186ecc91a2d4c71266ea6ae76388792e1","affectsGlobalScope":true,"impliedFormat":1},{"version":"45b7ab580deca34ae9729e97c13cfd999df04416a79116c3bfb483804f85ded4","impliedFormat":1},{"version":"3facaf05f0c5fc569c5649dd359892c98a85557e3e0c847964caeb67076f4d75","impliedFormat":1},{"version":"e44bb8bbac7f10ecc786703fe0a6a4b952189f908707980ba8f3c8975a760962","impliedFormat":1},{"version":"5e1c4c362065a6b95ff952c0eab010f04dcd2c3494e813b493ecfd4fcb9fc0d8","impliedFormat":1},{"version":"68d73b4a11549f9c0b7d352d10e91e5dca8faa3322bfb77b661839c42b1ddec7","impliedFormat":1},{"version":"5efce4fc3c29ea84e8928f97adec086e3dc876365e0982cc8479a07954a3efd4","impliedFormat":1},{"version":"feecb1be483ed332fad555aff858affd90a48ab19ba7272ee084704eb7167569","impliedFormat":1},{"version":"ee7bad0c15b58988daa84371e0b89d313b762ab83cb5b31b8a2d1162e8eb41c2","impliedFormat":1},{"version":"c57796738e7f83dbc4b8e65132f11a377649c00dd3eee333f672b8f0a6bea671","affectsGlobalScope":true,"impliedFormat":1},{"version":"dc2df20b1bcdc8c2d34af4926e2c3ab15ffe1160a63e58b7e09833f616efff44","affectsGlobalScope":true,"impliedFormat":1},{"version":"515d0b7b9bea2e31ea4ec968e9edd2c39d3eebf4a2d5cbd04e88639819ae3b71","affectsGlobalScope":true,"impliedFormat":1},{"version":"0559b1f683ac7505ae451f9a96ce4c3c92bdc71411651ca6ddb0e88baaaad6a3","affectsGlobalScope":true,"impliedFormat":1},{"version":"0dc1e7ceda9b8b9b455c3a2d67b0412feab00bd2f66656cd8850e8831b08b537","affectsGlobalScope":true,"impliedFormat":1},{"version":"ce691fb9e5c64efb9547083e4a34091bcbe5bdb41027e310ebba8f7d96a98671","affectsGlobalScope":true,"impliedFormat":1},{"version":"8d697a2a929a5fcb38b7a65594020fcef05ec1630804a33748829c5ff53640d0","affectsGlobalScope":true,"impliedFormat":1},{"version":"4ff2a353abf8a80ee399af572debb8faab2d33ad38c4b4474cff7f26e7653b8d","affectsGlobalScope":true,"impliedFormat":1},{"version":"fb0f136d372979348d59b3f5020b4cdb81b5504192b1cacff5d1fbba29378aa1","affectsGlobalScope":true,"impliedFormat":1},{"version":"d15bea3d62cbbdb9797079416b8ac375ae99162a7fba5de2c6c505446486ac0a","affectsGlobalScope":true,"impliedFormat":1},{"version":"68d18b664c9d32a7336a70235958b8997ebc1c3b8505f4f1ae2b7e7753b87618","affectsGlobalScope":true,"impliedFormat":1},{"version":"eb3d66c8327153d8fa7dd03f9c58d351107fe824c79e9b56b462935176cdf12a","affectsGlobalScope":true,"impliedFormat":1},{"version":"38f0219c9e23c915ef9790ab1d680440d95419ad264816fa15009a8851e79119","affectsGlobalScope":true,"impliedFormat":1},{"version":"69ab18c3b76cd9b1be3d188eaf8bba06112ebbe2f47f6c322b5105a6fbc45a2e","affectsGlobalScope":true,"impliedFormat":1},{"version":"a680117f487a4d2f30ea46f1b4b7f58bef1480456e18ba53ee85c2746eeca012","affectsGlobalScope":true,"impliedFormat":1},{"version":"2f11ff796926e0832f9ae148008138ad583bd181899ab7dd768a2666700b1893","affectsGlobalScope":true,"impliedFormat":1},{"version":"4de680d5bb41c17f7f68e0419412ca23c98d5749dcaaea1896172f06435891fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"954296b30da6d508a104a3a0b5d96b76495c709785c1d11610908e63481ee667","affectsGlobalScope":true,"impliedFormat":1},{"version":"ac9538681b19688c8eae65811b329d3744af679e0bdfa5d842d0e32524c73e1c","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a969edff4bd52585473d24995c5ef223f6652d6ef46193309b3921d65dd4376","affectsGlobalScope":true,"impliedFormat":1},{"version":"9e9fbd7030c440b33d021da145d3232984c8bb7916f277e8ffd3dc2e3eae2bdb","affectsGlobalScope":true,"impliedFormat":1},{"version":"811ec78f7fefcabbda4bfa93b3eb67d9ae166ef95f9bff989d964061cbf81a0c","affectsGlobalScope":true,"impliedFormat":1},{"version":"717937616a17072082152a2ef351cb51f98802fb4b2fdabd32399843875974ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"d7e7d9b7b50e5f22c915b525acc5a49a7a6584cf8f62d0569e557c5cfc4b2ac2","affectsGlobalScope":true,"impliedFormat":1},{"version":"71c37f4c9543f31dfced6c7840e068c5a5aacb7b89111a4364b1d5276b852557","affectsGlobalScope":true,"impliedFormat":1},{"version":"576711e016cf4f1804676043e6a0a5414252560eb57de9faceee34d79798c850","affectsGlobalScope":true,"impliedFormat":1},{"version":"89c1b1281ba7b8a96efc676b11b264de7a8374c5ea1e6617f11880a13fc56dc6","affectsGlobalScope":true,"impliedFormat":1},{"version":"74f7fa2d027d5b33eb0471c8e82a6c87216223181ec31247c357a3e8e2fddc5b","affectsGlobalScope":true,"impliedFormat":1},{"version":"d6d7ae4d1f1f3772e2a3cde568ed08991a8ae34a080ff1151af28b7f798e22ca","affectsGlobalScope":true,"impliedFormat":1},{"version":"063600664504610fe3e99b717a1223f8b1900087fab0b4cad1496a114744f8df","affectsGlobalScope":true,"impliedFormat":1},{"version":"934019d7e3c81950f9a8426d093458b65d5aff2c7c1511233c0fd5b941e608ab","affectsGlobalScope":true,"impliedFormat":1},{"version":"52ada8e0b6e0482b728070b7639ee42e83a9b1c22d205992756fe020fd9f4a47","affectsGlobalScope":true,"impliedFormat":1},{"version":"3bdefe1bfd4d6dee0e26f928f93ccc128f1b64d5d501ff4a8cf3c6371200e5e6","affectsGlobalScope":true,"impliedFormat":1},{"version":"59fb2c069260b4ba00b5643b907ef5d5341b167e7d1dbf58dfd895658bda2867","affectsGlobalScope":true,"impliedFormat":1},{"version":"639e512c0dfc3fad96a84caad71b8834d66329a1f28dc95e3946c9b58176c73a","affectsGlobalScope":true,"impliedFormat":1},{"version":"368af93f74c9c932edd84c58883e736c9e3d53cec1fe24c0b0ff451f529ceab1","affectsGlobalScope":true,"impliedFormat":1},{"version":"af3dd424cf267428f30ccfc376f47a2c0114546b55c44d8c0f1d57d841e28d74","affectsGlobalScope":true,"impliedFormat":1},{"version":"995c005ab91a498455ea8dfb63aa9f83fa2ea793c3d8aa344be4a1678d06d399","affectsGlobalScope":true,"impliedFormat":1},{"version":"959d36cddf5e7d572a65045b876f2956c973a586da58e5d26cde519184fd9b8a","affectsGlobalScope":true,"impliedFormat":1},{"version":"965f36eae237dd74e6cca203a43e9ca801ce38824ead814728a2807b1910117d","affectsGlobalScope":true,"impliedFormat":1},{"version":"3925a6c820dcb1a06506c90b1577db1fdbf7705d65b62b99dce4be75c637e26b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0a3d63ef2b853447ec4f749d3f368ce642264246e02911fcb1590d8c161b8005","affectsGlobalScope":true,"impliedFormat":1},{"version":"8cdf8847677ac7d20486e54dd3fcf09eda95812ac8ace44b4418da1bbbab6eb8","affectsGlobalScope":true,"impliedFormat":1},{"version":"8444af78980e3b20b49324f4a16ba35024fef3ee069a0eb67616ea6ca821c47a","affectsGlobalScope":true,"impliedFormat":1},{"version":"3287d9d085fbd618c3971944b65b4be57859f5415f495b33a6adc994edd2f004","affectsGlobalScope":true,"impliedFormat":1},{"version":"b4b67b1a91182421f5df999988c690f14d813b9850b40acd06ed44691f6727ad","affectsGlobalScope":true,"impliedFormat":1},{"version":"51ad4c928303041605b4d7ae32e0c1ee387d43a24cd6f1ebf4a2699e1076d4fa","affectsGlobalScope":true,"impliedFormat":1},{"version":"196cb558a13d4533a5163286f30b0509ce0210e4b316c56c38d4c0fd2fb38405","affectsGlobalScope":true,"impliedFormat":1},{"version":"8e7f8264d0fb4c5339605a15daadb037bf238c10b654bb3eee14208f860a32ea","affectsGlobalScope":true,"impliedFormat":1},{"version":"782dec38049b92d4e85c1585fbea5474a219c6984a35b004963b00beb1aab538","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3311a61c6aef9a62cbef5e7a56e1df939af03f6a843f9af56849a0d2712fc34","impliedFormat":99},{"version":"1f2fa635af19f63232151db9a4fa20d2e367ce79b8fa5ee405eabd9886fd2066","impliedFormat":99},{"version":"a0ea0ebb80cc84ee69c710fb2facb1aaa928bbba76e4cf2d6986d227e201d8da","impliedFormat":99},{"version":"cbd1648336bab35437b9e62253aeb73d651485818fc42235ebe38bd4e2a54e93","impliedFormat":99},{"version":"39bfe11e90de3ae44067734a74de05ca478d9c8aaaf5b035ae3b07f12c15ba66","impliedFormat":99},{"version":"91da497254ee49742e2c2610ba6718b98118652a1c04da086bfd2d0894ea3dff","affectsGlobalScope":true,"impliedFormat":99},{"version":"ebf3f14a8159ec5aa2fbf567e6070c248e86a46d69d9967bda179190094dbd4f","impliedFormat":1},{"version":"22f8145d13bd1f5af2a4874e8932e07cf7f1cf7c5011f2a78bb3c09f0a16eb6c","impliedFormat":1},{"version":"f3cde1d59f8d734cd009b371b6cf4f6fa3b7340c6cd1175547e4c8809824c0a0","impliedFormat":1},{"version":"7ceaf2bfa8d4f816cfb0044f30de9f2d0b8cac171dea3a0dcbcfed22d2c83c6e","impliedFormat":1},{"version":"ecd27f83f4995039b05510a3c51566e88fe7fb1a67057bf02b21b152d8237fb6","impliedFormat":99},{"version":"1c207488a8000cbdd110ecc01638f271be1481c0124e006efd2ff8ca53703779","impliedFormat":99},{"version":"93ff6833e6cee5dab8843d646f0040136eb312a543712f69977301f93914ba03","impliedFormat":99},{"version":"102fbdd29a2b7a6a5bb3b081fd1acc484c011722d7c460c3ba56fd39de69ecbb","impliedFormat":99},{"version":"ac8986806ca37cff93a4731b4fe75475d62b8f48011635897c7751a3011380d8","impliedFormat":99},{"version":"84860bec3d12996232b1fc8430a887cce26006363db104f331cd4099ca20f6c0","impliedFormat":99},{"version":"0ea0c7b119925b2ea220bd6b60ed548245f55e50109b9ed805eb22c7c9a0ae99","impliedFormat":99},{"version":"bed211ed139ec7f06475552a4c47d01cd255f136a2216330dbc5414cc17c33ca","impliedFormat":99},{"version":"218ed0afb8a23472277a62367816b97aa1c1fe3a066bea2e3ac84b4b9cb78f29","impliedFormat":99},{"version":"0826de7f8dfd8889c24429594deb31089f4ea2834156b8a32bbcc32672b3504e","impliedFormat":99},{"version":"f986949a5f9fd95e2a66ea94cfe0a3d9ae92d699fb303669485a830052d81f7e","impliedFormat":99},{"version":"71dc32a134f3f6b177e6269dc7cd187e80e25798088297d597d8105fb68c3198","impliedFormat":99},{"version":"c32a2bb1a878f72612f443befafa6cc8cc3241f948a42ef31f6660a1e34dfebf","impliedFormat":99},{"version":"c8d9d74dab491281c1ffe2080f546ea6896efeb539bcd5a66596a13d07e62713","impliedFormat":99},{"version":"427fe2004642504828c1476d0af4270e6ad4db6de78c0b5da3e4c5ca95052a99","impliedFormat":1},{"version":"2eeffcee5c1661ddca53353929558037b8cf305ffb86a803512982f99bcab50d","impliedFormat":99},{"version":"9afb4cb864d297e4092a79ee2871b5d3143ea14153f62ef0bb04ede25f432030","affectsGlobalScope":true,"impliedFormat":99},{"version":"151ff381ef9ff8da2da9b9663ebf657eac35c4c9a19183420c05728f31a6761d","impliedFormat":1},{"version":"f3d8c757e148ad968f0d98697987db363070abada5f503da3c06aefd9d4248c1","impliedFormat":1},{"version":"96d14f21b7652903852eef49379d04dbda28c16ed36468f8c9fa08f7c14c9538","impliedFormat":1},{"version":"d153a11543fd884b596587ccd97aebbeed950b26933ee000f94009f1ab142848","affectsGlobalScope":true,"impliedFormat":1},{"version":"0ccdaa19852d25ecd84eec365c3bfa16e7859cadecf6e9ca6d0dbbbee439743f","affectsGlobalScope":true,"impliedFormat":1},{"version":"438b41419b1df9f1fbe33b5e1b18f5853432be205991d1b19f5b7f351675541e","affectsGlobalScope":true,"impliedFormat":1},{"version":"096116f8fedc1765d5bd6ef360c257b4a9048e5415054b3bf3c41b07f8951b0b","affectsGlobalScope":true,"impliedFormat":1},{"version":"e5e01375c9e124a83b52ee4b3244ed1a4d214a6cfb54ac73e164a823a4a7860a","affectsGlobalScope":true,"impliedFormat":1},{"version":"f90ae2bbce1505e67f2f6502392e318f5714bae82d2d969185c4a6cecc8af2fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"4b58e207b93a8f1c88bbf2a95ddc686ac83962b13830fe8ad3f404ffc7051fb4","affectsGlobalScope":true,"impliedFormat":1},{"version":"1fefabcb2b06736a66d2904074d56268753654805e829989a46a0161cd8412c5","affectsGlobalScope":true,"impliedFormat":1},{"version":"9798340ffb0d067d69b1ae5b32faa17ab31b82466a3fc00d8f2f2df0c8554aaa","affectsGlobalScope":true,"impliedFormat":1},{"version":"c18a99f01eb788d849ad032b31cafd49de0b19e083fe775370834c5675d7df8e","affectsGlobalScope":true,"impliedFormat":1},{"version":"5247874c2a23b9a62d178ae84f2db6a1d54e6c9a2e7e057e178cc5eea13757fc","affectsGlobalScope":true,"impliedFormat":1},{"version":"cdcf9ea426ad970f96ac930cd176d5c69c6c24eebd9fc580e1572d6c6a88f62c","impliedFormat":1},{"version":"23cd712e2ce083d68afe69224587438e5914b457b8acf87073c22494d706a3d0","impliedFormat":1},{"version":"156a859e21ef3244d13afeeba4e49760a6afa035c149dda52f0c45ea8903b338","impliedFormat":1},{"version":"10ec5e82144dfac6f04fa5d1d6c11763b3e4dbbac6d99101427219ab3e2ae887","impliedFormat":1},{"version":"615754924717c0b1e293e083b83503c0a872717ad5aa60ed7f1a699eb1b4ea5c","impliedFormat":1},{"version":"074de5b2fdead0165a2757e3aaef20f27a6347b1c36adea27d51456795b37682","impliedFormat":1},{"version":"68834d631c8838c715f225509cfc3927913b9cc7a4870460b5b60c8dbdb99baf","impliedFormat":1},{"version":"24371e69a38fc33e268d4a8716dbcda430d6c2c414a99ff9669239c4b8f40dea","impliedFormat":1},{"version":"ccab02f3920fc75c01174c47fcf67882a11daf16baf9e81701d0a94636e94556","impliedFormat":1},{"version":"3e11fce78ad8c0e1d1db4ba5f0652285509be3acdd519529bc8fcef85f7dafd9","impliedFormat":1},{"version":"ea6bc8de8b59f90a7a3960005fd01988f98fd0784e14bc6922dde2e93305ec7d","impliedFormat":1},{"version":"36107995674b29284a115e21a0618c4c2751b32a8766dd4cb3ba740308b16d59","impliedFormat":1},{"version":"914a0ae30d96d71915fc519ccb4efbf2b62c0ddfb3a3fc6129151076bc01dc60","impliedFormat":1},{"version":"9c32412007b5662fd34a8eb04292fb5314ec370d7016d1c2fb8aa193c807fe22","impliedFormat":1},{"version":"7fd1b31fd35876b0aa650811c25ec2c97a3c6387e5473eb18004bed86cdd76b6","impliedFormat":1},{"version":"4d327f7d72ad0918275cea3eee49a6a8dc8114ae1d5b7f3f5d0774de75f7439a","impliedFormat":1},{"version":"6ebe8ebb8659aaa9d1acbf3710d7dae3e923e97610238b9511c25dc39023a166","impliedFormat":1},{"version":"e85d7f8068f6a26710bff0cc8c0fc5e47f71089c3780fbede05857331d2ddec9","impliedFormat":1},{"version":"7befaf0e76b5671be1d47b77fcc65f2b0aad91cc26529df1904f4a7c46d216e9","impliedFormat":1},{"version":"0a60a292b89ca7218b8616f78e5bbd1c96b87e048849469cccb4355e98af959a","impliedFormat":1},{"version":"0b6e25234b4eec6ed96ab138d96eb70b135690d7dd01f3dd8a8ab291c35a683a","impliedFormat":1},{"version":"9666f2f84b985b62400d2e5ab0adae9ff44de9b2a34803c2c5bd3c8325b17dc0","impliedFormat":1},{"version":"40cd35c95e9cf22cfa5bd84e96408b6fcbca55295f4ff822390abb11afbc3dca","impliedFormat":1},{"version":"b1616b8959bf557feb16369c6124a97a0e74ed6f49d1df73bb4b9ddf68acf3f3","impliedFormat":1},{"version":"5b03a034c72146b61573aab280f295b015b9168470f2df05f6080a2122f9b4df","impliedFormat":1},{"version":"40b463c6766ca1b689bfcc46d26b5e295954f32ad43e37ee6953c0a677e4ae2b","impliedFormat":1},{"version":"249b9cab7f5d628b71308c7d9bb0a808b50b091e640ba3ed6e2d0516f4a8d91d","impliedFormat":1},{"version":"80aae6afc67faa5ac0b32b5b8bc8cc9f7fa299cff15cf09cc2e11fd28c6ae29e","impliedFormat":1},{"version":"f473cd2288991ff3221165dcf73cd5d24da30391f87e85b3dd4d0450c787a391","impliedFormat":1},{"version":"499e5b055a5aba1e1998f7311a6c441a369831c70905cc565ceac93c28083d53","impliedFormat":1},{"version":"8aee8b6d4f9f62cf3776cda1305fb18763e2aade7e13cea5bbe699112df85214","impliedFormat":1},{"version":"c63b9ada8c72f95aac5db92aea07e5e87ec810353cdf63b2d78f49a58662cf6c","impliedFormat":1},{"version":"1cc2a09e1a61a5222d4174ab358a9f9de5e906afe79dbf7363d871a7edda3955","impliedFormat":1},{"version":"5d0375ca7310efb77e3ef18d068d53784faf62705e0ad04569597ae0e755c401","impliedFormat":1},{"version":"59af37caec41ecf7b2e76059c9672a49e682c1a2aa6f9d7dc78878f53aa284d6","impliedFormat":1},{"version":"addf417b9eb3f938fddf8d81e96393a165e4be0d4a8b6402292f9c634b1cb00d","impliedFormat":1},{"version":"b64d4d1c5f877f9c666e98e833f0205edb9384acc46e98a1fef344f64d6aba44","impliedFormat":1},{"version":"adf27937dba6af9f08a68c5b1d3fce0ca7d4b960c57e6d6c844e7d1a8e53adae","impliedFormat":1},{"version":"12950411eeab8563b349cb7959543d92d8d02c289ed893d78499a19becb5a8cc","impliedFormat":1},{"version":"2e85db9e6fd73cfa3d7f28e0ab6b55417ea18931423bd47b409a96e4a169e8e6","impliedFormat":1},{"version":"c46e079fe54c76f95c67fb89081b3e399da2c7d109e7dca8e4b58d83e332e605","impliedFormat":1},{"version":"c9381908473a1c92cb8c516b184e75f4d226dad95c3a85a5af35f670064d9a2f","impliedFormat":1},{"version":"c3f5289820990ab66b70c7fb5b63cb674001009ff84b13de40619619a9c8175f","affectsGlobalScope":true,"impliedFormat":1},{"version":"b3275d55fac10b799c9546804126239baf020d220136163f763b55a74e50e750","affectsGlobalScope":true,"impliedFormat":1},{"version":"fa68a0a3b7cb32c00e39ee3cd31f8f15b80cac97dce51b6ee7fc14a1e8deb30b","affectsGlobalScope":true,"impliedFormat":1},{"version":"1cf059eaf468efcc649f8cf6075d3cb98e9a35a0fe9c44419ec3d2f5428d7123","affectsGlobalScope":true,"impliedFormat":1},{"version":"6c36e755bced82df7fb6ce8169265d0a7bb046ab4e2cb6d0da0cb72b22033e89","affectsGlobalScope":true,"impliedFormat":1},{"version":"e7721c4f69f93c91360c26a0a84ee885997d748237ef78ef665b153e622b36c1","affectsGlobalScope":true,"impliedFormat":1},{"version":"7a93de4ff8a63bafe62ba86b89af1df0ccb5e40bb85b0c67d6bbcfdcf96bf3d4","affectsGlobalScope":true,"impliedFormat":1},{"version":"90e85f9bc549dfe2b5749b45fe734144e96cd5d04b38eae244028794e142a77e","affectsGlobalScope":true,"impliedFormat":1},{"version":"e0a5deeb610b2a50a6350bd23df6490036a1773a8a71d70f2f9549ab009e67ee","affectsGlobalScope":true,"impliedFormat":1},{"version":"435b3711465425770ed2ee2f1cf00ce071835265e0851a7dc4600ab4b007550e","impliedFormat":1},{"version":"7e49f52a159435fc8df4de9dc377ef5860732ca2dc9efec1640531d3cf5da7a3","impliedFormat":1},{"version":"dd4bde4bdc2e5394aed6855e98cf135dfdf5dd6468cad842e03116d31bbcc9bc","impliedFormat":1},{"version":"4d4e879009a84a47c05350b8dca823036ba3a29a3038efed1be76c9f81e45edf","affectsGlobalScope":true,"impliedFormat":1},{"version":"237ba5ac2a95702a114a309e39c53a5bddff5f6333b325db9764df9b34f3502b","impliedFormat":1},{"version":"9ba13b47cb450a438e3076c4a3f6afb9dc85e17eae50f26d4b2d72c0688c9251","impliedFormat":1},{"version":"b64cd4401633ea4ecadfd700ddc8323a13b63b106ac7127c1d2726f32424622c","impliedFormat":1},{"version":"37c6e5fe5715814412b43cc9b50b24c67a63c4e04e753e0d1305970d65417a60","impliedFormat":1},{"version":"1d024184fb57c58c5c91823f9d10b4915a4867b7934e89115fd0d861a9df27c8","impliedFormat":1},{"version":"ee0e4946247f842c6dd483cbb60a5e6b484fee07996e3a7bc7343dfb68a04c5d","impliedFormat":1},{"version":"ef051f42b7e0ef5ca04552f54c4552eac84099d64b6c5ad0ef4033574b6035b8","impliedFormat":1},{"version":"853a43154f1d01b0173d9cbd74063507ece57170bad7a3b68f3fa1229ad0a92f","impliedFormat":1},{"version":"56231e3c39a031bfb0afb797690b20ed4537670c93c0318b72d5180833d98b72","impliedFormat":1},{"version":"5cc7c39031bfd8b00ad58f32143d59eb6ffc24f5d41a20931269011dccd36c5e","impliedFormat":1},{"version":"b0b69c61b0f0ec8ca15db4c8c41f6e77f4cacb784d42bca948f42dea33e8757e","affectsGlobalScope":true,"impliedFormat":1},{"version":"f96a48183254c00d24575401f1a761b4ce4927d927407e7862a83e06ce5d6964","impliedFormat":1},{"version":"cc25940cfb27aa538e60d465f98bb5068d4d7d33131861ace43f04fe6947d68f","impliedFormat":1},{"version":"f83fb2b1338afbb3f9d733c7d6e8b135826c41b0518867df0c0ace18ae1aa270","impliedFormat":1},{"version":"01ff95aa1443e3f7248974e5a771f513cb2ac158c8898f470a1792f817bee497","impliedFormat":1},{"version":"757227c8b345c57d76f7f0e3bbad7a91ffca23f1b2547cbed9e10025816c9cb7","impliedFormat":1},{"version":"42a05d8f239f74587d4926aba8cc54792eed8e8a442c7adc9b38b516642aadfe","impliedFormat":1},{"version":"5d21b58d60383cc6ab9ad3d3e265d7d25af24a2c9b506247e0e50b0a884920be","impliedFormat":1},{"version":"101f482fd48cb4c7c0468dcc6d62c843d842977aea6235644b1edd05e81fbf22","impliedFormat":1},{"version":"ae6757460f37078884b1571a3de3ebaf724d827d7e1d53626c02b3c2a408ac63","affectsGlobalScope":true,"impliedFormat":1},{"version":"9451a46a89ed209e2e08329e6cac59f89356eae79a7230f916d8cc38725407c7","impliedFormat":1},{"version":"3ef397f12387eff17f550bc484ea7c27d21d43816bbe609d495107f44b97e933","impliedFormat":1},{"version":"1023282e2ba810bc07905d3668349fbd37a26411f0c8f94a70ef3c05fe523fcf","impliedFormat":1},{"version":"b214ebcf76c51b115453f69729ee8aa7b7f8eccdae2a922b568a45c2d7ff52f7","impliedFormat":1},{"version":"429c9cdfa7d126255779efd7e6d9057ced2d69c81859bbab32073bad52e9ba76","impliedFormat":1},{"version":"e236b5eba291f51bdf32c231673e6cab81b5410850e61f51a7a524dddadc0f95","impliedFormat":1},{"version":"cf9717ebf9dd23f5f1e55e00545df1edc40ac8a671a034974fb4ff5dfbfaacc4","affectsGlobalScope":true,"impliedFormat":1},{"version":"7f2c62938251b45715fd2a9887060ec4fbc8724727029d1cbce373747252bdd7","impliedFormat":1},{"version":"e3ace08b6bbd84655d41e244677b474fd995923ffef7149ddb68af8848b60b05","impliedFormat":1},{"version":"132580b0e86c48fab152bab850fc57a4b74fe915c8958d2ccb052b809a44b61c","impliedFormat":1},{"version":"af4ab0aa8908fc9a655bb833d3bc28e117c4f0e1038c5a891546158beb25accb","impliedFormat":1},{"version":"69c9a5a9392e8564bd81116e1ed93b13205201fb44cb35a7fde8c9f9e21c4b23","impliedFormat":1},{"version":"5f8fc37f8434691ffac1bfd8fc2634647da2c0e84253ab5d2dd19a7718915b35","impliedFormat":1},{"version":"5981c2340fd8b076cae8efbae818d42c11ffc615994cb060b1cd390795f1be2b","impliedFormat":1},{"version":"f64deb26664af64dc274637343bde8d82f930c77af05a412c7d310b77207a448","impliedFormat":1},{"version":"ed4f674fc8c0c993cc7e145069ac44129e03519b910c62be206a0cc777bdc60b","affectsGlobalScope":true,"impliedFormat":1},{"version":"0250da3eb85c99624f974e77ef355cdf86f43980251bc371475c2b397ba55bcd","impliedFormat":1},{"version":"f1c93e046fb3d9b7f8249629f4b63dc068dd839b824dd0aa39a5e68476dc9420","impliedFormat":1},{"version":"3d3a5f27ffbc06c885dd4d5f9ee20de61faf877fe2c3a7051c4825903d9a7fdc","impliedFormat":1},{"version":"12806f9f085598ef930edaf2467a5fa1789a878fba077cd27e85dc5851e11834","impliedFormat":1},{"version":"bce309f4d9b67c18d4eeff5bba6cf3e67b2b0aead9f03f75d6060c553974d7ba","impliedFormat":1},{"version":"a43fe41c33d0a192a0ecaf9b92e87bef3709c9972e6d53c42c49251ccb962d69","impliedFormat":1},{"version":"a177959203c017fad3ecc4f3d96c8757a840957a4959a3ae00dab9d35961ca6c","affectsGlobalScope":true,"impliedFormat":1},{"version":"6fc727ccf9b36e257ff982ea0badeffbfc2c151802f741bddff00c6af3b784cf","impliedFormat":1},{"version":"fde38b23ab057617351c1676047d3317f651b1a6d207084e41c056ed158a77f9","impliedFormat":1},{"version":"4844a4c9b4b1e812b257676ed8a80b3f3be0e29bf05e742cc2ea9c3c6865e6c6","impliedFormat":1},{"version":"064878a60367e0407c42fb7ba02a2ea4d83257357dc20088e549bd4d89433e9c","impliedFormat":1},{"version":"14d4bd22d1b05824971b98f7e91b2484c90f1a684805c330476641417c3d9735","impliedFormat":1},{"version":"c3877fef8a43cd434f9728f25a97575b0eb73d92f38b5c87c840daccc3e21d97","impliedFormat":1},{"version":"b484ec11ba00e3a2235562a41898d55372ccabe607986c6fa4f4aba72093749f","impliedFormat":1},{"version":"b56c1d867ac2570dcfc91f6a8ff1be50d47cc6701fe810b59c47ad4157adc312","impliedFormat":1},{"version":"41ef7992c555671a8fe54db302788adefa191ded810a50329b79d20a6772d14c","impliedFormat":1},{"version":"041a7781b9127ab568d2cdcce62c58fdea7c7407f40b8c50045d7866a2727130","impliedFormat":1},{"version":"b37f83e7deea729aa9ce5593f78905afb45b7532fdff63041d374f60059e7852","impliedFormat":1},{"version":"e1cb68f3ef3a8dd7b2a9dfb3de482ed6c0f1586ba0db4e7d73c1d2147b6ffc51","impliedFormat":1},{"version":"55cdbeebe76a1fa18bbd7e7bf73350a2173926bd3085bb050cf5a5397025ee4e","impliedFormat":1}],"root":[60,61,[72,83]],"options":{"composite":true,"declaration":true,"erasableSyntaxOnly":true,"esModuleInterop":true,"exactOptionalPropertyTypes":true,"module":199,"noFallthroughCasesInSwitch":true,"noImplicitOverride":true,"noPropertyAccessFromIndexSignature":true,"noUncheckedSideEffectImports":true,"outDir":"./dist","rootDir":"./src","skipLibCheck":true,"strict":true,"target":9},"referencedMap":[[71,1],[86,2],[84,3],[87,3],[88,3],[89,3],[152,4],[153,4],[154,5],[92,6],[155,7],[156,8],[157,9],[90,3],[158,10],[159,11],[160,12],[161,13],[162,14],[163,15],[164,15],[165,16],[166,17],[167,18],[168,19],[93,3],[91,3],[169,20],[170,21],[171,22],[211,23],[172,24],[173,25],[174,24],[175,26],[176,27],[177,28],[178,29],[179,29],[180,29],[181,30],[182,31],[183,32],[184,33],[185,34],[186,35],[187,35],[188,36],[189,3],[190,3],[191,37],[192,38],[193,37],[194,39],[195,40],[196,41],[197,42],[198,43],[199,44],[200,45],[201,46],[202,47],[203,48],[204,49],[205,50],[206,51],[207,52],[208,53],[94,24],[95,3],[96,54],[97,55],[98,3],[99,56],[100,3],[143,57],[144,58],[145,59],[146,59],[147,60],[148,3],[149,7],[150,61],[151,58],[209,62],[210,63],[85,3],[70,64],[69,65],[66,3],[67,66],[68,67],[64,68],[65,69],[63,70],[62,3],[58,3],[59,3],[11,3],[10,3],[2,3],[12,3],[13,3],[14,3],[15,3],[16,3],[17,3],[18,3],[19,3],[3,3],[20,3],[21,3],[4,3],[22,3],[26,3],[23,3],[24,3],[25,3],[27,3],[28,3],[29,3],[5,3],[30,3],[31,3],[32,3],[33,3],[6,3],[37,3],[34,3],[35,3],[36,3],[38,3],[7,3],[39,3],[44,3],[45,3],[40,3],[41,3],[42,3],[43,3],[8,3],[49,3],[46,3],[47,3],[48,3],[50,3],[9,3],[51,3],[52,3],[53,3],[55,3],[54,3],[1,3],[56,3],[57,3],[119,71],[131,72],[116,73],[132,74],[141,75],[107,76],[108,77],[106,78],[140,79],[135,80],[139,81],[110,82],[128,83],[109,84],[138,85],[104,86],[105,80],[111,87],[112,3],[118,88],[115,87],[102,89],[142,90],[133,91],[122,92],[121,87],[123,93],[126,94],[120,95],[124,96],[136,79],[113,97],[114,98],[127,99],[103,74],[130,100],[129,87],[117,98],[125,101],[134,3],[101,3],[137,102],[79,103],[60,3],[81,104],[61,3],[72,3],[73,3],[74,105],[83,106],[80,107],[76,107],[77,3],[75,3],[78,108],[82,3]],"affectedFilesPendingEmit":[[79,17],[60,17],[81,17],[61,17],[72,17],[73,17],[74,17],[80,17],[76,17],[77,17],[75,17],[78,17],[82,17]],"emitSignatures":[60,61,72,73,74,75,76,77,78,79,80,81,82],"version":"5.9.3"}