import{ta as xr}from"./chunk-PTVZJWK2.js";import{A as W,B as Rt,i as $r,l as Qe,s as Te,v as Ar,y as te,z as Tr}from"./chunk-IDPARP5L.js";import{c as gr,d as dr}from"./chunk-YFDEXFWF.js";import{d as mr,i as hr}from"./chunk-LOEUAB6Y.js";import{b as yr,c as vr,d as bt,e as br,f as wr,g as Rr,h as Sr,i as kr,j as Nr,l as se,o as wt,p as Er,q as Lr}from"./chunk-77WC5AND.js";import{E as sr,Ea as Ve,Fb as ur,K as or,Pc as fr,Wc as pr,a as Ie,b as rr,c as nr,d as ts,da as Z,e as rs,ea as ir,ga as ae,ia as q,ja as ne,oa as ar,qa as cr,ra as ce,rb as lr,u as Je}from"./chunk-2YTQLZTR.js";var jr=ts((Lt,At)=>{"use strict";(function(f,l){typeof Lt=="object"&&typeof At<"u"?At.exports=l():typeof define=="function"&&define.amd?define(l):(f=typeof globalThis<"u"?globalThis:f||self,f.MessageFormat=l())})(Lt,function(){"use strict";var f=function(){return f=Object.assign||function(t){for(var r,n=1,s=arguments.length;n<s;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},f.apply(this,arguments)};function l(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function m(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),s,o=[],i;try{for(;(t===void 0||t-- >0)&&!(s=n.next()).done;)o.push(s.value)}catch(a){i={error:a}}finally{try{s&&!s.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o}function w(e,t,r){if(r||arguments.length===2)for(var n=0,s=t.length,o;n<s;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}typeof SuppressedError=="function"&&SuppressedError;class D extends Error{constructor(t,r,n){super(t),this.token=r,this.type=n||"error"}}let Q=e=>e<4?"short":e===4?"long":"narrow",K=e=>e%2===0?"2-digit":"numeric";function Re(e,t){switch(e.char){case"y":return{year:K(e.width)};case"r":return{calendar:"gregory",year:"numeric"};case"u":case"U":case"Y":default:return t(`${e.desc} is not supported; falling back to year:numeric`,D.WARNING),{year:"numeric"}}}function xe(e,t){switch(e.width){case 1:return"numeric";case 2:return"2-digit";case 3:return"short";case 4:return"long";case 5:return"narrow";default:t(`${e.desc} is not supported with width ${e.width}`);return}}function Ge(e,t){let{char:r,desc:n,width:s}=e;if(r==="d")return K(s);t(`${n} is not supported`)}function Wr(e,t){let{char:r,desc:n,width:s}=e;if((r==="c"||r==="e")&&s<3){let o=`Numeric value is not supported for ${n}; falling back to weekday:short`;t(o,D.WARNING)}return Q(s)}function Yr(e){let t=K(e.width),r;switch(e.char){case"h":r="h12";break;case"H":r="h23";break;case"k":r="h24";break;case"K":r="h11";break}return r?{hour:t,hourCycle:r}:{hour:t}}function Jr(e,t){let{char:r,desc:n,width:s}=e;switch(r){case"v":case"z":return s===4?"long":"short";case"V":if(s===4)return"long";t(`${n} is not supported with width ${s}`);return;case"X":t(`${n} is not supported`);return}return"short"}function Vr(e,t){switch(e.field){case"era":return{era:Q(e.width)};case"year":return Re(e,t);case"month":return{month:xe(e,t)};case"day":return{day:Ge(e,t)};case"weekday":return{weekday:Wr(e,t)};case"period":return;case"hour":return Yr(e);case"min":return{minute:K(e.width)};case"sec":return{second:K(e.width)};case"tz":return{timeZoneName:Jr(e,t)};case"quarter":case"week":case"sec-frac":case"ms":t(`${e.desc} is not supported`)}}function xt(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:o=>{throw o},n={timeZone:t},s=[];for(let o of e){let{error:i,field:a,str:c}=o;if(i){let S=new D(i.message,o);S.stack=i.stack,r(S)}if(c){let S=`Ignoring string part: ${c}`;r(new D(S,o,D.WARNING))}a&&(s.indexOf(a)===-1?s.push(a):r(new D(`Duplicate ${a} token`,o)));let g=Vr(o,(S,N)=>r(new D(S,o,N)));g&&Object.assign(n,g)}return n}let Qr={G:{field:"era",desc:"Era"},y:{field:"year",desc:"Year"},Y:{field:"year",desc:'Year of "Week of Year"'},u:{field:"year",desc:"Extended year"},U:{field:"year",desc:"Cyclic year name"},r:{field:"year",desc:"Related Gregorian year"},Q:{field:"quarter",desc:"Quarter"},q:{field:"quarter",desc:"Stand-alone quarter"},M:{field:"month",desc:"Month in year"},L:{field:"month",desc:"Stand-alone month in year"},w:{field:"week",desc:"Week of year"},W:{field:"week",desc:"Week of month"},d:{field:"day",desc:"Day in month"},D:{field:"day",desc:"Day of year"},F:{field:"day",desc:"Day of week in month"},g:{field:"day",desc:"Modified julian day"},E:{field:"weekday",desc:"Day of week"},e:{field:"weekday",desc:"Local day of week"},c:{field:"weekday",desc:"Stand-alone local day of week"},a:{field:"period",desc:"AM/PM marker"},b:{field:"period",desc:"AM/PM/noon/midnight marker"},B:{field:"period",desc:"Flexible day period"},h:{field:"hour",desc:"Hour in AM/PM (1~12)"},H:{field:"hour",desc:"Hour in day (0~23)"},k:{field:"hour",desc:"Hour in day (1~24)"},K:{field:"hour",desc:"Hour in AM/PM (0~11)"},j:{field:"hour",desc:"Hour in preferred cycle"},J:{field:"hour",desc:"Hour in preferred cycle without marker"},C:{field:"hour",desc:"Hour in preferred cycle with flexible marker"},m:{field:"min",desc:"Minute in hour"},s:{field:"sec",desc:"Second in minute"},S:{field:"sec-frac",desc:"Fractional second"},A:{field:"ms",desc:"Milliseconds in day"},z:{field:"tz",desc:"Time Zone: specific non-location"},Z:{field:"tz",desc:"Time Zone"},O:{field:"tz",desc:"Time Zone: localized"},v:{field:"tz",desc:"Time Zone: generic non-location"},V:{field:"tz",desc:"Time Zone: ID"},X:{field:"tz",desc:"Time Zone: ISO8601 with Z"},x:{field:"tz",desc:"Time Zone: ISO8601"}},Ut=e=>e>="A"&&e<="Z"||e>="a"&&e<="z";function Xr(e,t){let r=e[t],n=1;for(;e[++t]===r;)++n;let s=Qr[r];if(!s){let o=`The letter ${r} is not a valid field identifier`;return{char:r,error:new Error(o),width:n}}return{char:r,field:s.field,desc:s.desc,width:n}}function en(e,t){let r=e[++t],n=2;if(r==="'")return{char:"'",str:r,width:n};for(;;){let s=e[++t];if(++n,s===void 0){let o=`Unterminated quoted literal in pattern: ${r||e}`;return{char:"'",error:new Error(o),str:r,width:n}}else if(s==="'"){if(e[++t]!=="'")return{char:"'",str:r,width:n};++n}r+=s}}function tn(e,t){let r=e[t];if(!r)return null;if(Ut(r))return Xr(e,t);if(r==="'")return en(e,t);let n=r,s=1;for(;;){let o=e[++t];if(!o||Ut(o)||o==="'")return{char:r,str:n,width:s};n+=o,s+=1}}function Dt(e){let t=[],r=0;for(;;){let n=tn(e,r);if(!n)return t;t.push(n),r+=n.width}}function rn(e,t,r,n){typeof t=="string"&&(t=Dt(t)),typeof r=="function"&&(n=r,r=void 0);let s=xt(t,r,n),o=new Intl.DateTimeFormat(e,s);return i=>o.format(i)}function nn(e,t,r,n){typeof t=="string"&&(t=Dt(t)),typeof r=="function"&&(n=r,r=void 0);let s=xt(t,r,n);return["(function() {",`var opt = ${JSON.stringify(s)};`,`var dtf = new Intl.DateTimeFormat(${JSON.stringify(e)}, opt);`,"return function(value) { return dtf.format(value); }"].join(`
  `)+`
})()`}class Se extends Error{constructor(t,r){super(r),this.code=t}}class ze extends Se{constructor(t,r){super("BAD_OPTION",`Unknown ${t} option: ${r}`),this.stem=t,this.option=r}}class sn extends Se{constructor(t){super("BAD_STEM",`Unknown stem: ${t}`),this.stem=t}}class ft extends Se{constructor(t,r){super("MASKED_VALUE",`Value for ${t} is set multiple times`),this.type=t,this.prev=r}}class on extends Se{constructor(t){super("MISSING_OPTION",`Required option missing for ${t}`),this.stem=t}}class ke extends Se{constructor(t,r){super("BAD_PATTERN",r),this.char=t}}class Ct extends Se{constructor(t,r,n){let s=n>1?`${n} options`:"one option";super("TOO_MANY_OPTIONS",`Token ${t} only supports ${s} (got ${r.length})`),this.stem=t,this.options=r}}class an extends Se{constructor(t,r){super("UNSUPPORTED",`The stem ${t} is not supported`),this.stem=t,r&&(this.message+=` with value ${r}`,this.source=r)}}function It(e,t){let{numberingSystem:r}=t;return Array.isArray(e)||(e=[e]),r?e.map(n=>{let s=n.indexOf("-u-")===-1?"u-nu":"nu";return`${n}-${s}-${r}`}).concat(e):e}function cn(e,t){let r=+e+t/2;return r-r%+t}function Ot(e){let{scale:t,unit:r}=e,n=typeof t=="number"&&t>=0?t:1;return r&&r.style==="percent"&&(n*=.01),n}function ln(e){let t=Ot(e),{precision:r}=e;return r&&r.style==="precision-increment"?n=>cn(n,r.increment)*t:n=>n*t}function un(e){let t=Ot(e),{precision:r}=e;if(r&&r.style==="precision-increment"){let n=`+n + ${r.increment/2}`,s=`x - (x % +${r.increment})`;return t!==1&&(s=`(${s}) * ${t}`),`function(n) { var x = ${n}; return ${s}; }`}return t!==1?`function(n) { return n * ${t}; }`:null}function Ft(e,t){let{decimal:r,group:n,integerWidth:s,notation:o,precision:i,roundingMode:a,sign:c,unit:g,unitPer:S,unitWidth:N}=e,L=(P,B)=>{t&&t(new an(P,B))},b={};if(g)switch(g.style){case"base-unit":b.style="decimal";break;case"currency":b.style="currency",b.currency=g.currency;break;case"measure-unit":b.style="unit",b.unit=g.unit.replace(/.*-/,""),S&&(b.unit+="-per-"+S.replace(/.*-/,""));break;case"percent":b.style="percent";break;case"permille":L("permille");break}switch(N){case"unit-width-full-name":b.currencyDisplay="name",b.unitDisplay="long";break;case"unit-width-hidden":L(N);break;case"unit-width-iso-code":b.currencyDisplay="code";break;case"unit-width-narrow":b.currencyDisplay="narrowSymbol",b.unitDisplay="narrow";break;case"unit-width-short":b.currencyDisplay="symbol",b.unitDisplay="short";break}switch(n){case"group-off":b.useGrouping=!1;break;case"group-auto":b.useGrouping=!0;break;case"group-min2":case"group-on-aligned":case"group-thousands":L(n),b.useGrouping=!0;break}if(i)switch(i.style){case"precision-fraction":{let{minFraction:P,maxFraction:B,minSignificant:H,maxSignificant:V,source:ee}=i;typeof P=="number"&&(b.minimumFractionDigits=P,typeof H=="number"&&L("precision-fraction",ee)),typeof B=="number"&&(b.maximumFractionDigits=B),typeof H=="number"&&(b.minimumSignificantDigits=H),typeof V=="number"&&(b.maximumSignificantDigits=V);break}case"precision-integer":b.maximumFractionDigits=0;break;case"precision-unlimited":b.maximumFractionDigits=20;break;case"precision-increment":break;case"precision-currency-standard":b.trailingZeroDisplay=i.trailingZero;break;case"precision-currency-cash":L(i.style);break}if(o)switch(o.style){case"compact-short":b.notation="compact",b.compactDisplay="short";break;case"compact-long":b.notation="compact",b.compactDisplay="long";break;case"notation-simple":b.notation="standard";break;case"scientific":case"engineering":{let{expDigits:P,expSign:B,source:H,style:V}=o;b.notation=V,(P&&P>1||B&&B!=="sign-auto")&&L(V,H);break}}if(s){let{min:P,max:B,source:H}=s;if(P>0&&(b.minimumIntegerDigits=P),Number(B)>0){let V=b.notation==="engineering"||b.notation==="scientific";B===3&&V?b.notation="engineering":L("integer-width",H)}}switch(c){case"sign-auto":b.signDisplay="auto";break;case"sign-always":b.signDisplay="always";break;case"sign-except-zero":b.signDisplay="exceptZero";break;case"sign-never":b.signDisplay="never";break;case"sign-accounting":b.currencySign="accounting";break;case"sign-accounting-always":b.currencySign="accounting",b.signDisplay="always";break;case"sign-accounting-except-zero":b.currencySign="accounting",b.signDisplay="exceptZero";break}return r==="decimal-always"&&L(r),a&&L(a),b}function Mt(e,t,r){let n=e[t];switch(n){case"%":return{char:"%",style:"percent",width:1};case"\u2030":return{char:"%",style:"permille",width:1};case"\xA4":{let s=1;for(;e[++t]==="\xA4";)++s;switch(s){case 1:return{char:n,currency:"default",width:s};case 2:return{char:n,currency:"iso-code",width:s};case 3:return{char:n,currency:"full-name",width:s};case 5:return{char:n,currency:"narrow",width:s};default:{let o=`Invalid number (${s}) of \xA4 chars in pattern`;return r(new ke("\xA4",o)),null}}}case"*":{let s=e[t+1];if(s)return{char:n,pad:s,width:2};break}case"+":case"-":return{char:n,width:1};case"'":{let s=e[++t],o=2;if(s==="'")return{char:n,str:s,width:o};for(;;){let i=e[++t];if(++o,i===void 0){let a=`Unterminated quoted literal in pattern: ${s}`;return r(new ke("'",a)),{char:n,str:s,width:o}}else if(i==="'"){if(e[++t]!=="'")return{char:n,str:s,width:o};++o}s+=i}}}return null}let Pt=e=>e>="0"&&e<="9";function jt(e,t){let r=e[t];if(Pt(r)){let n=r;for(;;){let s=e[++t];if(Pt(s))n+=s;else return{char:"0",digits:n,width:n.length}}}switch(r){case"#":{let n=1;for(;e[++t]==="#";)++n;return{char:r,width:n}}case"@":{let n=1;for(;e[++t]==="@";)++n;let s=n;for(t-=1;e[++t]==="#";)++s;return{char:r,min:n,width:s}}case"E":{let n=e[t+1]==="+";n&&++t;let s=0;for(;e[++t]==="0";)++s;let o=(n?2:1)+s;if(s)return{char:r,expDigits:s,plus:n,width:o};break}case".":case",":return{char:r,width:1}}return null}function Bt(e,t,r){let n;(function(g){g[g.Prefix=0]="Prefix",g[g.Number=1]="Number",g[g.Suffix=2]="Suffix"})(n||(n={}));let s=[],o=[],i=[],a=n.Prefix,c="";for(;t<e.length;){let g=e[t];if(g===";"){t+=1;break}switch(a){case n.Prefix:{let S=Mt(e,t,r);if(S)c&&(s.push({char:"'",str:c,width:c.length}),c=""),s.push(S),t+=S.width;else{let N=jt(e,t);N?(c&&(s.push({char:"'",str:c,width:c.length}),c=""),a=n.Number,o.push(N),t+=N.width):(c+=g,t+=1)}break}case n.Number:{let S=jt(e,t);S?(o.push(S),t+=S.width):a=n.Suffix;break}case n.Suffix:{let S=Mt(e,t,r);S?(c&&(i.push({char:"'",str:c,width:c.length}),c=""),i.push(S),t+=S.width):(c+=g,t+=1);break}}}return c&&i.push({char:"'",str:c,width:c.length}),{pattern:{prefix:s,number:o,suffix:i},pos:t}}function fn(e,t){let{pattern:r,pos:n}=Bt(e,0,t);if(n<e.length){let{pattern:s}=Bt(e,n,t);return{tokens:r,negative:s}}return{tokens:r}}function pn(e,t){let r={},n=!1,s=!1,o=0,i="",a=-1,c="",g=0;for(let N=0;N<e.length;++N){let L=e[N];switch(L.char){case"#":{if(a===-1){if(i){let b="Pattern has # after integer digits";t(new ke("#",b))}o+=L.width}else g+=L.width;break}case"0":{if(a===-1)i+=L.digits;else{if(g){let b="Pattern has digits after # in fraction";t(new ke("0",b))}c+=L.digits}break}case"@":{r.precision&&t(new ft("precision",r.precision)),r.precision={style:"precision-fraction",minSignificant:L.min,maxSignificant:L.width};break}case",":n=!0;break;case".":if(a===1){let b="Pattern has more than one decimal separator";t(new ke(".",b))}a=N;break;case"E":{if(s&&t(new ft("exponent",r.notation)),n){let b="Exponential patterns may not contain grouping separators";t(new ke("E",b))}r.notation={style:"scientific"},L.expDigits>1&&(r.notation.expDigits=L.expDigits),L.plus&&(r.notation.expSign="sign-always"),s=!0}}}n?r.group="group-auto":o+i.length>3&&(r.group="group-off");let S=+`${i||"0"}.${c}`;if(S&&(r.precision={style:"precision-increment",increment:S}),!s)i.length>1&&(r.integerWidth={min:i.length}),!r.precision&&(c.length||g)&&(r.precision={style:"precision-fraction",minFraction:c.length,maxFraction:c.length+g});else if((!r.precision||S)&&(r.integerWidth=o?{min:1,max:o+i.length}:{min:Math.max(1,i.length)}),r.precision)S||(r.integerWidth={min:1,max:1});else{let N=i.length+c.length;a===-1?N>0&&(r.precision={style:"precision-fraction",maxSignificant:N}):(r.precision={style:"precision-fraction",maxSignificant:Math.max(1,N)+g},N>1&&(r.precision.minSignificant=N))}return r}function Gt(e,t,r,n,s){let o=!1,i="";for(let a of e)switch(a.char){case"%":t.unit={style:a.style},s?o=!0:i="";break;case"\xA4":if(!r){let c="The \xA4 pattern requires a currency";n(new ke("\xA4",c));break}switch(t.unit={style:"currency",currency:r},a.currency){case"iso-code":t.unitWidth="unit-width-iso-code";break;case"full-name":t.unitWidth="unit-width-full-name";break;case"narrow":t.unitWidth="unit-width-narrow";break}s?o=!0:i="";break;case"*":break;case"+":o||(i+="+");break;case"'":o||(i+=a.str);break}return i}function zt(e,t){let r=!1,n="";for(let s of e)switch(s.char){case"%":case"\xA4":t?r=!0:n="";break;case"-":r||(n+="-");break;case"'":r||(n+=s.str);break}return n}function Ht(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:c=>{throw c},{tokens:n,negative:s}=fn(e,r),o=pn(n.number,r),i=Gt(n.prefix,o,t,r,!0),a=Gt(n.suffix,o,t,r,!1);if(s){let c=zt(s.prefix,!0),g=zt(s.suffix,!1);o.affix={pos:[i,a],neg:[c,g]},o.sign="sign-never"}else(i||a)&&(o.affix={pos:[i,a]});return o}function mn(e){return["arab","arabext","bali","beng","deva","fullwide","gujr","guru","hanidec","khmr","knda","laoo","latn","limb","mlym","mong","mymr","orya","tamldec","telu","thai","tibt"].indexOf(e)!==-1}function Kt(e){let t=["acceleration","angle","area","concentr","consumption","digital","duration","electric","energy","force","frequency","graphics","length","light","mass","power","pressure","speed","temperature","torque","volume"],[r]=e.split("-",1);return t.indexOf(r)!==-1}let _t={"compact-short":0,"compact-long":0,"notation-simple":0,scientific:2,engineering:2,percent:0,permille:0,"base-unit":0,currency:1,"measure-unit":1,"per-measure-unit":1,"unit-width-narrow":0,"unit-width-short":0,"unit-width-full-name":0,"unit-width-iso-code":0,"unit-width-hidden":0,"precision-integer":0,"precision-unlimited":0,"precision-currency-standard":1,"precision-currency-cash":0,"precision-increment":1,"rounding-mode-ceiling":0,"rounding-mode-floor":0,"rounding-mode-down":0,"rounding-mode-up":0,"rounding-mode-half-even":0,"rounding-mode-half-down":0,"rounding-mode-half-up":0,"rounding-mode-unnecessary":0,"integer-width":1,scale:1,"group-off":0,"group-min2":0,"group-auto":0,"group-on-aligned":0,"group-thousands":0,latin:0,"numbering-system":1,"sign-auto":0,"sign-always":0,"sign-never":0,"sign-accounting":0,"sign-accounting-always":0,"sign-except-zero":0,"sign-accounting-except-zero":0,"decimal-auto":0,"decimal-always":0},Zt={currency:1,"integer-width":1,"measure-unit":1,"numbering-system":1,"per-measure-unit":1,"precision-increment":1,scale:1};function hn(e){return e in _t}function gn(e){return e in Zt}function dn(e,t,r){if(hn(e)){let n=_t[e];if(t.length>n){if(n===0)for(let s of t)r(new ze(e,s));else r(new Ct(e,t,n));return!1}else if(gn(e)&&t.length<Zt[e])return r(new on(e)),!1}return!0}function pt(e,t){let r=t==="fraction"?/^\.(0*)(\+|#*)$/:/^(@+)(\+|#*)$/,n=e&&e.match(r);if(n){let s=n[1].length;switch(n[2].charAt(0)){case"":return{min:s,max:s};case"+":return{min:s,max:null};case"#":return{min:s,max:s+n[2].length}}}return null}function $n(e,t,r){let n=pt(e,"fraction");if(n){t.length>1&&r(new Ct(e,t,1));let o={style:"precision-fraction",source:e,minFraction:n.min};n.max!=null&&(o.maxFraction=n.max);let i=t[0],a=pt(i,"significant");return a?(o.source=`${e}/${i}`,o.minSignificant=a.min,a.max!=null&&(o.maxSignificant=a.max)):i&&r(new ze(e,i)),o}let s=pt(e,"significant");if(s){for(let i of t)r(new ze(e,i));let o={style:"precision-fraction",source:e,minSignificant:s.min};return s.max!=null&&(o.maxSignificant=s.max),o}return null}class yn{constructor(t){this.skeleton={},this.onError=t}badOption(t,r){this.onError(new ze(t,r))}assertEmpty(t){let r=this.skeleton[t];r&&this.onError(new ft(t,r))}parseToken(t,r){if(!dn(t,r,this.onError))return;let n=r[0],s=this.skeleton;switch(t){case"compact-short":case"compact-long":case"notation-simple":this.assertEmpty("notation"),s.notation={style:t};break;case"scientific":case"engineering":{let o=null,i;for(let c of r)switch(c){case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":i=c;break;default:/^\+e+$/.test(c)?o=c.length-1:this.badOption(t,c)}this.assertEmpty("notation");let a=r.join("/");s.notation=o&&i?{style:t,source:a,expDigits:o,expSign:i}:o?{style:t,source:a,expDigits:o}:i?{style:t,source:a,expSign:i}:{style:t,source:a};break}case"percent":case"permille":case"base-unit":this.assertEmpty("unit"),s.unit={style:t};break;case"currency":/^[A-Z]{3}$/.test(n)?(this.assertEmpty("unit"),s.unit={style:t,currency:n}):this.badOption(t,n);break;case"measure-unit":{Kt(n)?(this.assertEmpty("unit"),s.unit={style:t,unit:n}):this.badOption(t,n);break}case"per-measure-unit":{Kt(n)?(this.assertEmpty("unitPer"),s.unitPer=n):this.badOption(t,n);break}case"unit-width-narrow":case"unit-width-short":case"unit-width-full-name":case"unit-width-iso-code":case"unit-width-hidden":this.assertEmpty("unitWidth"),s.unitWidth=t;break;case"precision-integer":case"precision-unlimited":case"precision-currency-cash":this.assertEmpty("precision"),s.precision={style:t};break;case"precision-currency-standard":this.assertEmpty("precision"),n==="w"?s.precision={style:t,trailingZero:"stripIfInteger"}:s.precision={style:t};break;case"precision-increment":{let o=Number(n);o>0?(this.assertEmpty("precision"),s.precision={style:t,increment:o}):this.badOption(t,n);break}case"rounding-mode-ceiling":case"rounding-mode-floor":case"rounding-mode-down":case"rounding-mode-up":case"rounding-mode-half-even":case"rounding-mode-half-odd":case"rounding-mode-half-ceiling":case"rounding-mode-half-floor":case"rounding-mode-half-down":case"rounding-mode-half-up":case"rounding-mode-unnecessary":this.assertEmpty("roundingMode"),s.roundingMode=t;break;case"integer-width":{if(/^\+0*$/.test(n))this.assertEmpty("integerWidth"),s.integerWidth={source:n,min:n.length-1};else{let o=n.match(/^#*(0*)$/);o?(this.assertEmpty("integerWidth"),s.integerWidth={source:n,min:o[1].length,max:o[0].length}):this.badOption(t,n)}break}case"scale":{let o=Number(n);o>0?(this.assertEmpty("scale"),s.scale=o):this.badOption(t,n);break}case"group-off":case"group-min2":case"group-auto":case"group-on-aligned":case"group-thousands":this.assertEmpty("group"),s.group=t;break;case"latin":this.assertEmpty("numberingSystem"),s.numberingSystem="latn";break;case"numbering-system":{mn(n)?(this.assertEmpty("numberingSystem"),s.numberingSystem=n):this.badOption(t,n);break}case"sign-auto":case"sign-always":case"sign-never":case"sign-accounting":case"sign-accounting-always":case"sign-except-zero":case"sign-accounting-except-zero":this.assertEmpty("sign"),s.sign=t;break;case"decimal-auto":case"decimal-always":this.assertEmpty("decimal"),s.decimal=t;break;default:{let o=$n(t,r,this.onError);o?(this.assertEmpty("precision"),s.precision=o):this.onError(new sn(t))}}}}function qt(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s=>{throw s},r=[];for(let s of e.split(" "))if(s){let o=s.split("/"),i=o.shift()||"";r.push({stem:i,options:o})}let n=new yn(t);for(let{stem:s,options:o}of r)n.parseToken(s,o);return n.skeleton}function vn(e,t,r,n){typeof t=="string"&&(t=t.indexOf("::")===0?qt(t.slice(2),n):Ht(t,r,n));let s=It(e,t),o=Ft(t,n),i=ln(t),a=new Intl.NumberFormat(s,o);if(t.affix){let[c,g]=t.affix.pos,[S,N]=t.affix.neg||["",""];return L=>{let b=a.format(i(L));return L<0?`${S}${b}${N}`:`${c}${b}${g}`}}return c=>a.format(i(c))}function bn(e,t,r,n){typeof t=="string"&&(t=t.indexOf("::")===0?qt(t.slice(2),n):Ht(t,r,n));let s=It(e,t),o=Ft(t,n),i=un(t),a=["(function() {",`var opt = ${JSON.stringify(o)};`,`var nf = new Intl.NumberFormat(${JSON.stringify(s)}, opt);`],c="nf.format(value)";if(i&&(a.push(`var mod = ${i};`),c="nf.format(mod(value))"),t.affix){let[g,S]=t.affix.pos.map(N=>JSON.stringify(N));if(t.affix.neg){let[N,L]=t.affix.neg.map(b=>JSON.stringify(b));c=`value < 0 ? ${N} + ${c} + ${L} : ${g} + ${c} + ${S}`}else c=`${g} + ${c} + ${S}`}return a.push(`return function(value) { return ${c}; }`),a.join(`
  `)+`
})()`}var mt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Fe={},Wt={},Yt={exports:{}};(function(e){(function(t,r){e.exports?e.exports=r():t.moo=r()})(mt,function(){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=typeof new RegExp().sticky=="boolean";function s(u){return u&&r.call(u)==="[object RegExp]"}function o(u){return u&&typeof u=="object"&&!s(u)&&!Array.isArray(u)}function i(u){return u.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function a(u){var $=new RegExp("|"+u);return $.exec("").length-1}function c(u){return"("+u+")"}function g(u){if(!u.length)return"(?!)";var $=u.map(function(R){return"(?:"+R+")"}).join("|");return"(?:"+$+")"}function S(u){if(typeof u=="string")return"(?:"+i(u)+")";if(s(u)){if(u.ignoreCase)throw new Error("RegExp /i flag not allowed");if(u.global)throw new Error("RegExp /g flag is implied");if(u.sticky)throw new Error("RegExp /y flag is implied");if(u.multiline)throw new Error("RegExp /m flag is implied");return u.source}else throw new Error("Not a pattern: "+u)}function N(u,$){return u.length>$?u:Array($-u.length+1).join(" ")+u}function L(u,$){for(var R=u.length,k=0;;){var x=u.lastIndexOf(`
`,R-1);if(x===-1||(k++,R=x,k===$)||R===0)break}var E=k<$?0:R+1;return u.substring(E).split(`
`)}function b(u){for(var $=Object.getOwnPropertyNames(u),R=[],k=0;k<$.length;k++){var x=$[k],E=u[x],C=[].concat(E);if(x==="include"){for(var G=0;G<C.length;G++)R.push({include:C[G]});continue}var O=[];C.forEach(function(A){o(A)?(O.length&&R.push(B(x,O)),R.push(B(x,A)),O=[]):O.push(A)}),O.length&&R.push(B(x,O))}return R}function P(u){for(var $=[],R=0;R<u.length;R++){var k=u[R];if(k.include){for(var x=[].concat(k.include),E=0;E<x.length;E++)$.push({include:x[E]});continue}if(!k.type)throw new Error("Rule has no type: "+JSON.stringify(k));$.push(B(k.type,k))}return $}function B(u,$){if(o($)||($={match:$}),$.include)throw new Error("Matching rules cannot also include states");var R={defaultType:u,lineBreaks:!!$.error||!!$.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var k in $)t.call($,k)&&(R[k]=$[k]);if(typeof R.type=="string"&&u!==R.type)throw new Error("Type transform cannot be a string (type '"+R.type+"' for token '"+u+"')");var x=R.match;return R.match=Array.isArray(x)?x:x?[x]:[],R.match.sort(function(E,C){return s(E)&&s(C)?0:s(C)?-1:s(E)?1:C.length-E.length}),R}function H(u){return Array.isArray(u)?P(u):b(u)}var V=B("error",{lineBreaks:!0,shouldThrow:!0});function ee(u,$){for(var R=null,k=Object.create(null),x=!0,E=null,C=[],G=[],O=0;O<u.length;O++)u[O].fallback&&(x=!1);for(var O=0;O<u.length;O++){var A=u[O];if(A.include)throw new Error("Inheritance is not allowed in stateless lexers");if(A.error||A.fallback){if(R)throw!A.fallback==!R.fallback?new Error("Multiple "+(A.fallback?"fallback":"error")+" rules not allowed (for token '"+A.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+A.defaultType+"')");R=A}var J=A.match.slice();if(x)for(;J.length&&typeof J[0]=="string"&&J[0].length===1;){var Ee=J.shift();k[Ee.charCodeAt(0)]=A}if(A.pop||A.push||A.next){if(!$)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+A.defaultType+"')");if(A.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+A.defaultType+"')")}if(J.length!==0){x=!1,C.push(A);for(var Le=0;Le<J.length;Le++){var Ae=J[Le];if(s(Ae)){if(E===null)E=Ae.unicode;else if(E!==Ae.unicode&&A.fallback===!1)throw new Error("If one rule is /u then all must be")}}var De=g(J.map(S)),re=new RegExp(De);if(re.test(""))throw new Error("RegExp matches empty string: "+re);var Pe=a(De);if(Pe>0)throw new Error("RegExp has capture groups: "+re+`
Use (?: \u2026 ) instead`);if(!A.lineBreaks&&re.test(`
`))throw new Error("Rule should declare lineBreaks: "+re);G.push(c(De))}}var Ce=R&&R.fallback,je=n&&!Ce?"ym":"gm",Ye=n||Ce?"":"|";E===!0&&(je+="u");var es=new RegExp(g(G)+Ye,je);return{regexp:es,groups:C,fast:k,error:R||V}}function be(u){var $=ee(H(u));return new z({start:$},"start")}function ge(u,$,R){var k=u&&(u.push||u.next);if(k&&!R[k])throw new Error("Missing state '"+k+"' (in token '"+u.defaultType+"' of state '"+$+"')");if(u&&u.pop&&+u.pop!=1)throw new Error("pop must be 1 (in token '"+u.defaultType+"' of state '"+$+"')")}function de(u,$){var R=u.$all?H(u.$all):[];delete u.$all;var k=Object.getOwnPropertyNames(u);$||($=k[0]);for(var x=Object.create(null),E=0;E<k.length;E++){var C=k[E];x[C]=H(u[C]).concat(R)}for(var E=0;E<k.length;E++)for(var C=k[E],G=x[C],O=Object.create(null),A=0;A<G.length;A++){var J=G[A];if(J.include){var Ee=[A,1];if(J.include!==C&&!O[J.include]){O[J.include]=!0;var Le=x[J.include];if(!Le)throw new Error("Cannot include nonexistent state '"+J.include+"' (in state '"+C+"')");for(var Ae=0;Ae<Le.length;Ae++){var De=Le[Ae];G.indexOf(De)===-1&&Ee.push(De)}}G.splice.apply(G,Ee),A--}}for(var re=Object.create(null),E=0;E<k.length;E++){var C=k[E];re[C]=ee(x[C],!0)}for(var E=0;E<k.length;E++){for(var Pe=k[E],Ce=re[Pe],je=Ce.groups,A=0;A<je.length;A++)ge(je[A],Pe,re);for(var Ye=Object.getOwnPropertyNames(Ce.fast),A=0;A<Ye.length;A++)ge(Ce.fast[Ye[A]],Pe,re)}return new z(re,$)}function $e(u){for(var $=typeof Map<"u",R=$?new Map:Object.create(null),k=Object.getOwnPropertyNames(u),x=0;x<k.length;x++){var E=k[x],C=u[E],G=Array.isArray(C)?C:[C];G.forEach(function(O){if(typeof O!="string")throw new Error("keyword must be string (in keyword '"+E+"')");$?R.set(O,E):R[O]=E})}return function(O){return $?R.get(O):R[O]}}var z=function(u,$){this.startState=$,this.states=u,this.buffer="",this.stack=[],this.reset()};z.prototype.reset=function(u,$){return this.buffer=u||"",this.index=0,this.line=$?$.line:1,this.col=$?$.col:1,this.queuedToken=$?$.queuedToken:null,this.queuedText=$?$.queuedText:"",this.queuedThrow=$?$.queuedThrow:null,this.setState($?$.state:this.startState),this.stack=$&&$.stack?$.stack.slice():[],this},z.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},z.prototype.setState=function(u){if(!(!u||this.state===u)){this.state=u;var $=this.states[u];this.groups=$.groups,this.error=$.error,this.re=$.regexp,this.fast=$.fast}},z.prototype.popState=function(){this.setState(this.stack.pop())},z.prototype.pushState=function(u){this.stack.push(this.state),this.setState(u)};var qe=n?function(u,$){return u.exec($)}:function(u,$){var R=u.exec($);return R[0].length===0?null:R};z.prototype._getGroup=function(u){for(var $=this.groups.length,R=0;R<$;R++)if(u[R+1]!==void 0)return this.groups[R];throw new Error("Cannot find token type for matched text")};function We(){return this.value}if(z.prototype.next=function(){var u=this.index;if(this.queuedGroup){var $=this._token(this.queuedGroup,this.queuedText,u);return this.queuedGroup=null,this.queuedText="",$}var R=this.buffer;if(u!==R.length){var C=this.fast[R.charCodeAt(u)];if(C)return this._token(C,R.charAt(u),u);var k=this.re;k.lastIndex=u;var x=qe(k,R),E=this.error;if(x==null)return this._token(E,R.slice(u,R.length),u);var C=this._getGroup(x),G=x[0];return E.fallback&&x.index!==u?(this.queuedGroup=C,this.queuedText=G,this._token(E,R.slice(u,x.index),u)):this._token(C,G,u)}},z.prototype._token=function(u,$,R){var k=0;if(u.lineBreaks){var x=/\n/g,E=1;if($===`
`)k=1;else for(;x.exec($);)k++,E=x.lastIndex}var C={type:typeof u.type=="function"&&u.type($)||u.defaultType,value:typeof u.value=="function"?u.value($):$,text:$,toString:We,offset:R,lineBreaks:k,line:this.line,col:this.col},G=$.length;if(this.index+=G,this.line+=k,k!==0?this.col=G-E+1:this.col+=G,u.shouldThrow){var O=new Error(this.formatError(C,"invalid syntax"));throw O}return u.pop?this.popState():u.push?this.pushState(u.push):u.next&&this.setState(u.next),C},typeof Symbol<"u"&&Symbol.iterator){var ye=function(u){this.lexer=u};ye.prototype.next=function(){var u=this.lexer.next();return{value:u,done:!u}},ye.prototype[Symbol.iterator]=function(){return this},z.prototype[Symbol.iterator]=function(){return new ye(this)}}return z.prototype.formatError=function(u,$){if(u==null)var R=this.buffer.slice(this.index),u={text:R,offset:this.index,lineBreaks:R.indexOf(`
`)===-1?0:1,line:this.line,col:this.col};var k=2,x=Math.max(u.line-k,1),E=u.line+k,C=String(E).length,G=L(this.buffer,this.line-u.line+k+1).slice(0,5),O=[];O.push($+" at line "+u.line+" col "+u.col+":"),O.push("");for(var A=0;A<G.length;A++){var J=G[A],Ee=x+A;O.push(N(String(Ee),C)+"  "+J),Ee===u.line&&O.push(N("",C+u.col+1)+"^")}return O.join(`
`)},z.prototype.clone=function(){return new z(this.states,this.state)},z.prototype.has=function(u){return!0},{compile:be,states:de,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:$e}})})(Yt);var Rn=Yt.exports;(function(e){var t=mt&&mt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(e,"__esModule",{value:!0}),e.lexer=e.states=void 0;let r=t(Rn);e.states={body:{doubleapos:{match:"''",value:()=>"'"},quoted:{lineBreaks:!0,match:/'[{}#](?:[^]*?[^'])?'(?!')/u,value:n=>n.slice(1,-1).replace(/''/g,"'")},argument:{lineBreaks:!0,match:/\{\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,push:"arg",value:n=>n.substring(1).trim()},octothorpe:"#",end:{match:"}",pop:1},content:{lineBreaks:!0,match:/[^][^{}#']*/u}},arg:{select:{lineBreaks:!0,match:/,\s*(?:plural|select|selectordinal)\s*,\s*/u,next:"select",value:n=>n.split(",")[1].trim()},"func-args":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*,/u,next:"body",value:n=>n.split(",")[1].trim()},"func-simple":{lineBreaks:!0,match:/,\s*[^\p{Pat_Syn}\p{Pat_WS}]+\s*/u,value:n=>n.substring(1).trim()},end:{match:"}",pop:1}},select:{offset:{lineBreaks:!0,match:/\s*offset\s*:\s*\d+\s*/u,value:n=>n.split(":")[1].trim()},case:{lineBreaks:!0,match:/\s*(?:=\d+|[^\p{Pat_Syn}\p{Pat_WS}]+)\s*\{/u,push:"body",value:n=>n.substring(0,n.indexOf("{")).trim()},end:{match:/\s*\}/u,pop:1}}},e.lexer=r.default.states(e.states)})(Wt),Object.defineProperty(Fe,"__esModule",{value:!0});var Jt=Fe.parse=Fe.ParseError=void 0;let Vt=Wt,He=e=>({offset:e.offset,line:e.line,col:e.col,text:e.text,lineBreaks:e.lineBreaks}),ht=e=>e==="plural"||e==="select"||e==="selectordinal";function Sn(e,t){let r="",n="";for(let o of t){let i=o.ctx.text;switch(n+=i,o.type){case"content":r+=o.value;break;case"argument":case"function":case"octothorpe":r+=i;break;default:throw new _(e,`Unsupported part in strict mode function arg style: ${i}`)}}return[{type:"content",value:r.trim(),ctx:Object.assign({},t[0].ctx,{text:n})}]}let kn=["number","date","time","spellout","ordinal","duration"],Qt=["zero","one","two","few","many","other"];class _ extends Error{constructor(t,r){super(Vt.lexer.formatError(t,r))}}Fe.ParseError=_;class Nn{constructor(t,r){var n,s,o,i;this.lexer=Vt.lexer.reset(t),this.cardinalKeys=(n=r?.cardinal)!==null&&n!==void 0?n:Qt,this.ordinalKeys=(s=r?.ordinal)!==null&&s!==void 0?s:Qt,this.strict=(o=r?.strict)!==null&&o!==void 0?o:!1,this.strictPluralKeys=(i=r?.strictPluralKeys)!==null&&i!==void 0?i:!0}parse(){return this.parseBody(!1,!0)}checkSelectKey(t,r,n){if(n[0]==="="){if(r==="select")throw new _(t,`The case ${n} is not valid with select`)}else if(r!=="select"){let s=r==="plural"?this.cardinalKeys:this.ordinalKeys;if(this.strictPluralKeys&&s.length>0&&!s.includes(n)){let o=`The ${r} case ${n} is not valid in this locale`;throw new _(t,o)}}}parseSelect(t,r,n,s){let{value:o}=t,i={type:s,arg:o,cases:[],ctx:n};s==="plural"||s==="selectordinal"?r=!0:this.strict&&(r=!1);for(let a of this.lexer)switch(a.type){case"offset":if(s==="select")throw new _(a,"Unexpected plural offset for select");if(i.cases.length>0)throw new _(a,"Plural offset must be set before cases");i.pluralOffset=Number(a.value),n.text+=a.text,n.lineBreaks+=a.lineBreaks;break;case"case":{this.checkSelectKey(a,s,a.value),i.cases.push({key:a.value,tokens:this.parseBody(r),ctx:He(a)});break}case"end":return i;default:throw new _(a,`Unexpected lexer token: ${a.type}`)}throw new _(null,"Unexpected message end")}parseArgToken(t,r){let n=He(t),s=this.lexer.next();if(!s)throw new _(null,"Unexpected message end");if(n.text+=s.text,n.lineBreaks+=s.lineBreaks,this.strict&&(s.type==="func-simple"||s.type==="func-args")&&!kn.includes(s.value)){let o=`Invalid strict mode function arg type: ${s.value}`;throw new _(t,o)}switch(s.type){case"end":return{type:"argument",arg:t.value,ctx:n};case"func-simple":{let o=this.lexer.next();if(!o)throw new _(null,"Unexpected message end");if(o.type!=="end")throw new _(o,`Unexpected lexer token: ${o.type}`);if(n.text+=o.text,ht(s.value.toLowerCase()))throw new _(s,`Invalid type identifier: ${s.value}`);return{type:"function",arg:t.value,key:s.value,ctx:n}}case"func-args":{if(ht(s.value.toLowerCase())){let i=`Invalid type identifier: ${s.value}`;throw new _(s,i)}let o=this.parseBody(this.strict?!1:r);return this.strict&&o.length>0&&(o=Sn(t,o)),{type:"function",arg:t.value,key:s.value,param:o,ctx:n}}case"select":if(ht(s.value))return this.parseSelect(t,r,n,s.value);throw new _(s,`Unexpected select type ${s.value}`);default:throw new _(s,`Unexpected lexer token: ${s.type}`)}}parseBody(t,r){let n=[],s=null;for(let o of this.lexer)if(o.type==="argument")s&&(s=null),n.push(this.parseArgToken(o,t));else if(o.type==="octothorpe"&&t)s&&(s=null),n.push({type:"octothorpe",ctx:He(o)});else{if(o.type==="end"&&!r)return n;{let i=o.value;if(!t&&o.type==="quoted"&&i[0]==="#"){if(i.includes("{")){let a=`Unsupported escape pattern: ${i}`;throw new _(o,a)}i=o.text}s?(s.value+=i,s.ctx.text+=o.text,s.ctx.lineBreaks+=o.lineBreaks):(s={type:"content",value:i,ctx:He(o)},n.push(s))}}if(r)return n;throw new _(null,"Unexpected message end")}}function En(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Nn(e,t).parse()}Jt=Fe.parse=En;function Me(e){return Me[e]||(Me[e]=new Intl.NumberFormat(e))}function Ln(e,t,r){return Me(e).format(t-r)}function An(e,t,r,n){var s=t-r;if(isNaN(s))throw new Error("`"+n+"` or its offset is not a number");return Me(e).format(s)}function Tn(e,t,r,n,s){if({}.hasOwnProperty.call(n,e))return n[e];t&&(e-=t);var o=r(e,s);return o in n?n[o]:n.other}function xn(e,t){return{}.hasOwnProperty.call(t,e)?t[e]:t.other}function Un(e,t){for(var r=0;r<e.length;++r)if(!t||t[e[r]]===void 0)throw new Error("Message requires argument '".concat(e[r],"'"))}var Dn=Object.freeze({__proto__:null,_nf:Me,number:Ln,plural:Tn,reqArgs:Un,select:xn,strictNumber:An});function Cn(e,t,r){var n={day:"numeric",month:"short",year:"numeric"};switch(r){case"full":n.weekday="long";case"long":n.month="long";break;case"short":n.month="numeric"}return new Date(e).toLocaleDateString(t,n)}function In(e){if(typeof e!="number"&&(e=Number(e)),!isFinite(e))return String(e);var t="";e<0?(t="-",e=Math.abs(e)):e=Number(e);var r=e%60,n=[Math.round(r)===r?r:r.toFixed(3)];e<60?n.unshift(0):(e=Math.round((e-Number(n[0]))/60),n.unshift(e%60),e>=60&&(e=Math.round((e-Number(n[0]))/60),n.unshift(e)));var s=n.shift();return t+s+":"+n.map(function(o){return Number(o)<10?"0"+String(o):String(o)}).join(":")}var gt={};function Ke(e,t){var r=String(e)+JSON.stringify(t);return gt[r]||(gt[r]=new Intl.NumberFormat(e,t)),gt[r]}function On(e,t,r,n){var s=r&&r.split(":")||[],o=s[0],i=s[1],a={integer:{maximumFractionDigits:0},percent:{style:"percent"},currency:{style:"currency",currency:i&&i.trim()||n,minimumFractionDigits:2,maximumFractionDigits:2}};return Ke(t,a[o]||{}).format(e)}var Fn=function(e,t,r){return Ke(t,{style:"currency",currency:r,minimumFractionDigits:2,maximumFractionDigits:2}).format(e)},Mn=function(e,t){return Ke(t,{maximumFractionDigits:0}).format(e)},Pn=function(e,t){return Ke(t,{style:"percent"}).format(e)};function jn(e,t,r){var n={second:"numeric",minute:"numeric",hour:"numeric"};switch(r){case"full":case"long":n.timeZoneName="short";break;case"short":delete n.second}return new Date(e).toLocaleTimeString(t,n)}var dt=Object.freeze({__proto__:null,date:Cn,duration:In,numberCurrency:Fn,numberFmt:On,numberInteger:Mn,numberPercent:Pn,time:jn}),Bn={ES3:{break:!0,continue:!0,delete:!0,else:!0,for:!0,function:!0,if:!0,in:!0,new:!0,return:!0,this:!0,typeof:!0,var:!0,void:!0,while:!0,with:!0,case:!0,catch:!0,default:!0,do:!0,finally:!0,instanceof:!0,switch:!0,throw:!0,try:!0},ESnext:{await:!0,debugger:!0,class:!0,enum:!0,extends:!0,super:!0,const:!0,export:!0,import:!0,null:!0,true:!0,false:!0,implements:!0,let:!0,private:!0,public:!0,yield:!0,interface:!0,package:!0,protected:!0,static:!0}},$t=wn(Bn);function Gn(e){let t=0;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);t=(t<<5)-t+n,t|=0}return t}function ve(e,t){t&&(e+=" "+Gn(e).toString(36));let r=e.trim().replace(/\W+/g,"_");return $t.ES3[r]||$t.ESnext[r]||/^\d/.test(r)?"_"+r:r}function yt(e,t){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(t)&&!$t.ES3[t])return e?e+"."+t:t;{let r=JSON.stringify(t);return e?e+"["+r+"]":r}}var zn=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"],Hn=new RegExp("^"+zn.join("|^"));function Kn(e,t){var r=Hn.test(t),n=JSON.stringify(r?"\u200F":"\u200E");return"".concat(n," + ").concat(e," + ").concat(n)}var _n="@messageformat/runtime",Zn="@messageformat/runtime/lib/cardinals",Xt="@messageformat/runtime/lib/plurals",qn="@messageformat/runtime/lib/formatters",Wn=function(){function e(t){this.arguments=[],this.runtime={},this.options=t}return e.prototype.compile=function(t,r,n){var s,o,i=this,a=this.options,c=a.localeCodeFromKey,g=a.requireAllArguments,S=a.strict,N=a.strictPluralKeys;if(typeof t=="object"){var L={};try{for(var b=l(Object.keys(t)),P=b.next();!P.done;P=b.next()){var B=P.value,H=c?c(B):B,V=n&&H&&n[H]||r;L[B]=this.compile(t[B],V,n)}}catch(z){s={error:z}}finally{try{P&&!P.done&&(o=b.return)&&o.call(b)}finally{if(s)throw s.error}}return L}this.plural=r;var ee={cardinal:r.cardinals,ordinal:r.ordinals,strict:S,strictPluralKeys:N};this.arguments=[];var be=Jt(t,ee).map(function(z){return i.token(z,null)}),ge=this.arguments.length>0,de=this.concatenate(be,!0);if(g&&ge){this.setRuntimeFn("reqArgs");var $e=JSON.stringify(this.arguments);return"(d) => { reqArgs(".concat($e,", d); return ").concat(de,"; }")}return"(".concat(ge?"d":"",") => ").concat(de)},e.prototype.cases=function(t,r){var n=this,s=!0,o=t.cases.map(function(S){var N=S.key,L=S.tokens;N==="other"&&(s=!1);var b=L.map(function(P){return n.token(P,r)});return"".concat(yt(null,N.replace(/^=/,"")),": ").concat(n.concatenate(b,!1))});if(s){var i=t.type,a=this.plural,c=a.cardinals,g=a.ordinals;if(i==="select"||i==="plural"&&c.includes("other")||i==="selectordinal"&&g.includes("other"))throw new Error("No 'other' form found in ".concat(JSON.stringify(t)))}return"{ ".concat(o.join(", ")," }")},e.prototype.concatenate=function(t,r){var n=this.options.returnType==="values";return n&&(r||t.length>1)?"["+t.join(", ")+"]":t.join(" + ")||'""'},e.prototype.token=function(t,r){if(t.type==="content")return JSON.stringify(t.value);var n=this.plural,s=n.id,o=n.lc,i,a;switch("arg"in t?(this.arguments.push(t.arg),i=[yt("d",t.arg)]):i=[],t.type){case"argument":return this.options.biDiSupport?Kn(String(i[0]),o):String(i[0]);case"select":a="select",r&&this.options.strict&&(r=null),i.push(this.cases(t,r)),this.setRuntimeFn("select");break;case"selectordinal":a="plural",i.push(t.pluralOffset||0,s,this.cases(t,t),1),this.setLocale(s,!0),this.setRuntimeFn("plural");break;case"plural":a="plural",i.push(t.pluralOffset||0,s,this.cases(t,t)),this.setLocale(s,!1),this.setRuntimeFn("plural");break;case"function":{var c=this.options.customFormatters[t.key],g=c&&"module"in c&&typeof c.module=="function";if(!c){if(t.key==="date"){a=this.setDateFormatter(t,i,r);break}else if(t.key==="number"){a=this.setNumberFormatter(t,i,r);break}}if(i.push(JSON.stringify(this.plural.locale)),t.param){r&&this.options.strict&&(r=null);var S=this.getFormatterArg(t,r);S&&i.push(S)}a=g?ve("".concat(t.key,"__").concat(this.plural.locale)):t.key,this.setFormatter(a,t.key);break}case"octothorpe":if(!r)return'"#"';i=[JSON.stringify(this.plural.locale),yt("d",r.arg),r.pluralOffset||0],this.options.strict?(a="strictNumber",i.push(JSON.stringify(r.arg)),this.setRuntimeFn("strictNumber")):(a="number",this.setRuntimeFn("number"));break}if(!a)throw new Error("Parser error for token "+JSON.stringify(t));return"".concat(a,"(").concat(i.join(", "),")")},e.prototype.runtimeIncludes=function(t,r){if(ve(t)!==t)throw new SyntaxError("Reserved word used as ".concat(r," identifier: ").concat(t));var n=this.runtime[t];if(!n||n.type===r)return n;throw new TypeError("Cannot override ".concat(n.type," runtime function as ").concat(r,": ").concat(t))},e.prototype.setLocale=function(t,r){var n=this.runtimeIncludes(t,"locale"),s=this.plural,o=s.getCardinal,i=s.getPlural,a=s.isDefault,c,g,S;if(!r&&a&&o){if(n)return;c=function(N){return o(N)},g=Zn,S=function(){return String(o)}}else{if(n&&(!a||n.module===Xt))return;c=function(N,L){return i(N,L)},g=a?Xt:i.module||null,S=function(){return String(i)}}this.runtime[t]=Object.assign(c,{id:t,module:g,toString:S,type:"locale"})},e.prototype.setRuntimeFn=function(t){this.runtimeIncludes(t,"runtime")||(this.runtime[t]=Object.assign(Dn[t],{id:t,module:_n,type:"runtime"}))},e.prototype.getFormatterArg=function(t,r){var n,s,o,i,a=this,c=t.key,g=t.param,S=this.options.customFormatters[c]||er(c)&&dt[c];if(!S||!g)return null;var N="arg"in S&&S.arg||"string";if(N==="options"){var L="";try{for(var b=l(g),P=b.next();!P.done;P=b.next()){var B=P.value;if(B.type==="content")L+=B.value;else throw new SyntaxError("Expected literal options for ".concat(c," formatter"))}}catch(ye){n={error:ye}}finally{try{P&&!P.done&&(s=b.return)&&s.call(b)}finally{if(n)throw n.error}}var H={};try{for(var V=l(L.split(",")),ee=V.next();!ee.done;ee=V.next()){var be=ee.value,ge=be.indexOf(":");if(ge===-1)H[be.trim()]=null;else{var de=be.substring(0,ge).trim(),$e=be.substring(ge+1).trim();if($e==="true")H[de]=!0;else if($e==="false")H[de]=!1;else if($e==="null")H[de]=null;else{var z=Number($e);H[de]=Number.isFinite(z)?z:$e}}}}catch(ye){o={error:ye}}finally{try{ee&&!ee.done&&(i=V.return)&&i.call(V)}finally{if(o)throw o.error}}return JSON.stringify(H)}else{var qe=g.map(function(ye){return a.token(ye,r)});if(N==="raw")return"[".concat(qe.join(", "),"]");var We=qe.join(" + ");return We?"(".concat(We,").trim()"):'""'}},e.prototype.setFormatter=function(t,r){if(!this.runtimeIncludes(t,"formatter")){var n=this.options.customFormatters[r||t];if(n){var s=typeof n=="function"?{formatter:n}:n;this.runtime[t]=Object.assign(s.formatter.bind({}),f(f({},s.formatter.prototype),{toString:function(){return String(s.formatter)}}),{type:"formatter"},"module"in n&&n.module&&n.id?{id:ve(n.id),module:typeof n.module=="function"?n.module(this.plural.locale):n.module}:{id:null,module:null})}else if(er(t))this.runtime[t]=Object.assign(dt[t],{type:"formatter"},{id:t,module:qn});else throw new Error("Formatting function not found: ".concat(t))}},e.prototype.setDateFormatter=function(t,r,n){var s=this,o=t.param,i=this.plural.locale,a=o&&o.length===1&&o[0];if(a&&a.type==="content"&&/^\s*::/.test(a.value)){var c=a.value.trim().substr(2),g=ve("date_".concat(i,"_").concat(c),!0);if(!this.runtimeIncludes(g,"formatter")){var S=rn(i,c,this.options.timeZone);this.runtime[g]=Object.assign(S,{id:g,module:null,toString:function(){return nn(i,c,s.options.timeZone)},type:"formatter"})}return g}if(r.push(JSON.stringify(i)),o&&o.length>0){n&&this.options.strict&&(n=null);var N=o.map(function(L){return s.token(L,n)});r.push("("+(N.join(" + ")||'""')+").trim()")}return this.setFormatter("date"),"date"},e.prototype.setNumberFormatter=function(t,r,n){var s=this,o=t.param,i=this.plural.locale;if(!o||o.length===0)return r.unshift(JSON.stringify(i)),r.push("0"),this.setRuntimeFn("number"),"number";if(r.push(JSON.stringify(i)),o.length===1&&o[0].type==="content"){var a=o[0].value.trim();switch(a){case"currency":return r.push(JSON.stringify(this.options.currency)),this.setFormatter("numberCurrency"),"numberCurrency";case"integer":return this.setFormatter("numberInteger"),"numberInteger";case"percent":return this.setFormatter("numberPercent"),"numberPercent"}var c=a.match(/^currency:([A-Z]+)$/);if(c)return r.push(JSON.stringify(c[1])),this.setFormatter("numberCurrency"),"numberCurrency";var g=ve("number_".concat(i,"_").concat(a),!0);if(!this.runtimeIncludes(g,"formatter")){var S=this.options.currency,N=vn(i,a,S);this.runtime[g]=Object.assign(N,{id:null,module:null,toString:function(){return bn(i,a,S)},type:"formatter"})}return g}n&&this.options.strict&&(n=null);var L=o.map(function(b){return s.token(b,n)});return r.push("("+(L.join(" + ")||'""')+").trim()"),r.push(JSON.stringify(this.options.currency)),this.setFormatter("numberFmt"),"numberFmt"},e}();function er(e){return e in dt}let d=e=>e==1?"one":"other",ue=e=>e==0||e==1?"one":"other",oe=e=>e>=0&&e<=1?"one":"other",Y=e=>{let t=String(e).split("."),r=!t[1];return e==1&&r?"one":"other"},I=e=>"other",fe=e=>e==1?"one":e==2?"two":"other";var Yn=Object.freeze({__proto__:null,af:d,ak:ue,am:oe,an:d,ar:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2);return e==0?"zero":e==1?"one":e==2?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},ars:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2);return e==0?"zero":e==1?"one":e==2?"two":n>=3&&n<=10?"few":n>=11&&n<=99?"many":"other"},as:oe,asa:d,ast:Y,az:d,bal:d,be:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),s=r&&t[0].slice(-2);return n==1&&s!=11?"one":n>=2&&n<=4&&(s<12||s>14)?"few":r&&n==0||n>=5&&n<=9||s>=11&&s<=14?"many":"other"},bem:d,bez:d,bg:d,bho:ue,bm:I,bn:oe,bo:I,br:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-1),s=r&&t[0].slice(-2),o=r&&t[0].slice(-6);return n==1&&s!=11&&s!=71&&s!=91?"one":n==2&&s!=12&&s!=72&&s!=92?"two":(n==3||n==4||n==9)&&(s<10||s>19)&&(s<70||s>79)&&(s<90||s>99)?"few":e!=0&&r&&o==0?"many":"other"},brx:d,bs:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return s&&o==1&&i!=11||a==1&&c!=11?"one":s&&o>=2&&o<=4&&(i<12||i>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},ca:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return e==1&&n?"one":r!=0&&s==0&&n?"many":"other"},ce:d,ceb:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=n.slice(-1);return s&&(r==1||r==2||r==3)||s&&o!=4&&o!=6&&o!=9||!s&&i!=4&&i!=6&&i!=9?"one":"other"},cgg:d,chr:d,ckb:d,cs:e=>{let t=String(e).split("."),r=t[0],n=!t[1];return e==1&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},cy:e=>e==0?"zero":e==1?"one":e==2?"two":e==3?"few":e==6?"many":"other",da:e=>{let t=String(e).split("."),r=t[0],n=Number(t[0])==e;return e==1||!n&&(r==0||r==1)?"one":"other"},de:Y,doi:oe,dsb:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-2),i=n.slice(-2);return s&&o==1||i==1?"one":s&&o==2||i==2?"two":s&&(o==3||o==4)||i==3||i==4?"few":"other"},dv:d,dz:I,ee:d,el:d,en:Y,eo:d,es:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return e==1?"one":r!=0&&s==0&&n?"many":"other"},et:Y,eu:d,fa:oe,ff:e=>e>=0&&e<2?"one":"other",fi:Y,fil:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=n.slice(-1);return s&&(r==1||r==2||r==3)||s&&o!=4&&o!=6&&o!=9||!s&&i!=4&&i!=6&&i!=9?"one":"other"},fo:d,fr:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return e>=0&&e<2?"one":r!=0&&s==0&&n?"many":"other"},fur:d,fy:Y,ga:e=>{let t=String(e).split("."),r=Number(t[0])==e;return e==1?"one":e==2?"two":r&&e>=3&&e<=6?"few":r&&e>=7&&e<=10?"many":"other"},gd:e=>{let t=String(e).split("."),r=Number(t[0])==e;return e==1||e==11?"one":e==2||e==12?"two":r&&e>=3&&e<=10||r&&e>=13&&e<=19?"few":"other"},gl:Y,gsw:d,gu:oe,guw:ue,gv:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-1),o=r.slice(-2);return n&&s==1?"one":n&&s==2?"two":n&&(o==0||o==20||o==40||o==60||o==80)?"few":n?"other":"many"},ha:d,haw:d,he:e=>{let t=String(e).split("."),r=t[0],n=!t[1];return r==1&&n||r==0&&!n?"one":r==2&&n?"two":"other"},hi:oe,hnj:I,hr:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return s&&o==1&&i!=11||a==1&&c!=11?"one":s&&o>=2&&o<=4&&(i<12||i>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},hsb:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-2),i=n.slice(-2);return s&&o==1||i==1?"one":s&&o==2||i==2?"two":s&&(o==3||o==4)||i==3||i==4?"few":"other"},hu:d,hy:e=>e>=0&&e<2?"one":"other",ia:Y,id:I,ig:I,ii:I,io:Y,is:e=>{let t=String(e).split("."),r=t[0],n=(t[1]||"").replace(/0+$/,""),s=Number(t[0])==e,o=r.slice(-1),i=r.slice(-2);return s&&o==1&&i!=11||n%10==1&&n%100!=11?"one":"other"},it:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return e==1&&n?"one":r!=0&&s==0&&n?"many":"other"},iu:fe,ja:I,jbo:I,jgo:d,jmc:d,jv:I,jw:I,ka:d,kab:e=>e>=0&&e<2?"one":"other",kaj:d,kcg:d,kde:I,kea:I,kk:d,kkj:d,kl:d,km:I,kn:oe,ko:I,ks:d,ksb:d,ksh:e=>e==0?"zero":e==1?"one":"other",ku:d,kw:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2),s=r&&t[0].slice(-3),o=r&&t[0].slice(-5),i=r&&t[0].slice(-6);return e==0?"zero":e==1?"one":n==2||n==22||n==42||n==62||n==82||r&&s==0&&(o>=1e3&&o<=2e4||o==4e4||o==6e4||o==8e4)||e!=0&&i==1e5?"two":n==3||n==23||n==43||n==63||n==83?"few":e!=1&&(n==1||n==21||n==41||n==61||n==81)?"many":"other"},ky:d,lag:e=>{let t=String(e).split("."),r=t[0];return e==0?"zero":(r==0||r==1)&&e!=0?"one":"other"},lb:d,lg:d,lij:Y,lkt:I,ln:ue,lo:I,lt:e=>{let t=String(e).split("."),r=t[1]||"",n=Number(t[0])==e,s=n&&t[0].slice(-1),o=n&&t[0].slice(-2);return s==1&&(o<11||o>19)?"one":s>=2&&s<=9&&(o<11||o>19)?"few":r!=0?"many":"other"},lv:e=>{let t=String(e).split("."),r=t[1]||"",n=r.length,s=Number(t[0])==e,o=s&&t[0].slice(-1),i=s&&t[0].slice(-2),a=r.slice(-2),c=r.slice(-1);return s&&o==0||i>=11&&i<=19||n==2&&a>=11&&a<=19?"zero":o==1&&i!=11||n==2&&c==1&&a!=11||n!=2&&c==1?"one":"other"},mas:d,mg:ue,mgo:d,mk:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return s&&o==1&&i!=11||a==1&&c!=11?"one":"other"},ml:d,mn:d,mo:e=>{let t=String(e).split("."),r=!t[1],n=Number(t[0])==e,s=n&&t[0].slice(-2);return e==1&&r?"one":!r||e==0||e!=1&&s>=1&&s<=19?"few":"other"},mr:d,ms:I,mt:e=>{let t=String(e).split("."),r=Number(t[0])==e,n=r&&t[0].slice(-2);return e==1?"one":e==2?"two":e==0||n>=3&&n<=10?"few":n>=11&&n<=19?"many":"other"},my:I,nah:d,naq:fe,nb:d,nd:d,ne:d,nl:Y,nn:d,nnh:d,no:d,nqo:I,nr:d,nso:ue,ny:d,nyn:d,om:d,or:d,os:d,osa:I,pa:ue,pap:d,pcm:oe,pl:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-1),o=r.slice(-2);return e==1&&n?"one":n&&s>=2&&s<=4&&(o<12||o>14)?"few":n&&r!=1&&(s==0||s==1)||n&&s>=5&&s<=9||n&&o>=12&&o<=14?"many":"other"},prg:e=>{let t=String(e).split("."),r=t[1]||"",n=r.length,s=Number(t[0])==e,o=s&&t[0].slice(-1),i=s&&t[0].slice(-2),a=r.slice(-2),c=r.slice(-1);return s&&o==0||i>=11&&i<=19||n==2&&a>=11&&a<=19?"zero":o==1&&i!=11||n==2&&c==1&&a!=11||n!=2&&c==1?"one":"other"},ps:d,pt:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return r==0||r==1?"one":r!=0&&s==0&&n?"many":"other"},pt_PT:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return e==1&&n?"one":r!=0&&s==0&&n?"many":"other"},rm:d,ro:e=>{let t=String(e).split("."),r=!t[1],n=Number(t[0])==e,s=n&&t[0].slice(-2);return e==1&&r?"one":!r||e==0||e!=1&&s>=1&&s<=19?"few":"other"},rof:d,ru:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-1),o=r.slice(-2);return n&&s==1&&o!=11?"one":n&&s>=2&&s<=4&&(o<12||o>14)?"few":n&&s==0||n&&s>=5&&s<=9||n&&o>=11&&o<=14?"many":"other"},rwk:d,sah:I,saq:d,sat:fe,sc:Y,scn:Y,sd:d,sdh:d,se:fe,seh:d,ses:I,sg:I,sh:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return s&&o==1&&i!=11||a==1&&c!=11?"one":s&&o>=2&&o<=4&&(i<12||i>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},shi:e=>{let t=String(e).split("."),r=Number(t[0])==e;return e>=0&&e<=1?"one":r&&e>=2&&e<=10?"few":"other"},si:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"";return e==0||e==1||r==0&&n==1?"one":"other"},sk:e=>{let t=String(e).split("."),r=t[0],n=!t[1];return e==1&&n?"one":r>=2&&r<=4&&n?"few":n?"other":"many"},sl:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-2);return n&&s==1?"one":n&&s==2?"two":n&&(s==3||s==4)||!n?"few":"other"},sma:fe,smi:fe,smj:fe,smn:fe,sms:fe,sn:d,so:d,sq:d,sr:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=r.slice(-2),a=n.slice(-1),c=n.slice(-2);return s&&o==1&&i!=11||a==1&&c!=11?"one":s&&o>=2&&o<=4&&(i<12||i>14)||a>=2&&a<=4&&(c<12||c>14)?"few":"other"},ss:d,ssy:d,st:d,su:I,sv:Y,sw:Y,syr:d,ta:d,te:d,teo:d,th:I,ti:ue,tig:d,tk:d,tl:e=>{let t=String(e).split("."),r=t[0],n=t[1]||"",s=!t[1],o=r.slice(-1),i=n.slice(-1);return s&&(r==1||r==2||r==3)||s&&o!=4&&o!=6&&o!=9||!s&&i!=4&&i!=6&&i!=9?"one":"other"},tn:d,to:I,tpi:I,tr:d,ts:d,tzm:e=>{let t=String(e).split("."),r=Number(t[0])==e;return e==0||e==1||r&&e>=11&&e<=99?"one":"other"},ug:d,uk:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-1),o=r.slice(-2);return n&&s==1&&o!=11?"one":n&&s>=2&&s<=4&&(o<12||o>14)?"few":n&&s==0||n&&s>=5&&s<=9||n&&o>=11&&o<=14?"many":"other"},und:I,ur:Y,uz:d,ve:d,vec:e=>{let t=String(e).split("."),r=t[0],n=!t[1],s=r.slice(-6);return e==1&&n?"one":r!=0&&s==0&&n?"many":"other"},vi:I,vo:d,vun:d,wa:ue,wae:d,wo:I,xh:d,xog:d,yi:Y,yo:I,yue:I,zh:I,zu:oe});let pe="zero",y="one",j="two",T="few",U="many",p="other",h={cardinal:[y,p],ordinal:[p]},Ne={cardinal:[y,p],ordinal:[y,p]},F={cardinal:[p],ordinal:[p]},ie={cardinal:[y,j,p],ordinal:[p]};var tr=Object.freeze({__proto__:null,af:h,ak:h,am:h,an:h,ar:{cardinal:[pe,y,j,T,U,p],ordinal:[p]},ars:{cardinal:[pe,y,j,T,U,p],ordinal:[p]},as:{cardinal:[y,p],ordinal:[y,j,T,U,p]},asa:h,ast:h,az:{cardinal:[y,p],ordinal:[y,T,U,p]},bal:Ne,be:{cardinal:[y,T,U,p],ordinal:[T,p]},bem:h,bez:h,bg:h,bho:h,bm:F,bn:{cardinal:[y,p],ordinal:[y,j,T,U,p]},bo:F,br:{cardinal:[y,j,T,U,p],ordinal:[p]},brx:h,bs:{cardinal:[y,T,p],ordinal:[p]},ca:{cardinal:[y,U,p],ordinal:[y,j,T,p]},ce:h,ceb:h,cgg:h,chr:h,ckb:h,cs:{cardinal:[y,T,U,p],ordinal:[p]},cy:{cardinal:[pe,y,j,T,U,p],ordinal:[pe,y,j,T,U,p]},da:h,de:h,doi:h,dsb:{cardinal:[y,j,T,p],ordinal:[p]},dv:h,dz:F,ee:h,el:h,en:{cardinal:[y,p],ordinal:[y,j,T,p]},eo:h,es:{cardinal:[y,U,p],ordinal:[p]},et:h,eu:h,fa:h,ff:h,fi:h,fil:Ne,fo:h,fr:{cardinal:[y,U,p],ordinal:[y,p]},fur:h,fy:h,ga:{cardinal:[y,j,T,U,p],ordinal:[y,p]},gd:{cardinal:[y,j,T,p],ordinal:[y,j,T,p]},gl:h,gsw:h,gu:{cardinal:[y,p],ordinal:[y,j,T,U,p]},guw:h,gv:{cardinal:[y,j,T,U,p],ordinal:[p]},ha:h,haw:h,he:ie,hi:{cardinal:[y,p],ordinal:[y,j,T,U,p]},hnj:F,hr:{cardinal:[y,T,p],ordinal:[p]},hsb:{cardinal:[y,j,T,p],ordinal:[p]},hu:Ne,hy:Ne,ia:h,id:F,ig:F,ii:F,io:h,is:h,it:{cardinal:[y,U,p],ordinal:[U,p]},iu:ie,ja:F,jbo:F,jgo:h,jmc:h,jv:F,jw:F,ka:{cardinal:[y,p],ordinal:[y,U,p]},kab:h,kaj:h,kcg:h,kde:F,kea:F,kk:{cardinal:[y,p],ordinal:[U,p]},kkj:h,kl:h,km:F,kn:h,ko:F,ks:h,ksb:h,ksh:{cardinal:[pe,y,p],ordinal:[p]},ku:h,kw:{cardinal:[pe,y,j,T,U,p],ordinal:[y,U,p]},ky:h,lag:{cardinal:[pe,y,p],ordinal:[p]},lb:h,lg:h,lij:{cardinal:[y,p],ordinal:[U,p]},lkt:F,ln:h,lo:{cardinal:[p],ordinal:[y,p]},lt:{cardinal:[y,T,U,p],ordinal:[p]},lv:{cardinal:[pe,y,p],ordinal:[p]},mas:h,mg:h,mgo:h,mk:{cardinal:[y,p],ordinal:[y,j,U,p]},ml:h,mn:h,mo:{cardinal:[y,T,p],ordinal:[y,p]},mr:{cardinal:[y,p],ordinal:[y,j,T,p]},ms:{cardinal:[p],ordinal:[y,p]},mt:{cardinal:[y,j,T,U,p],ordinal:[p]},my:F,nah:h,naq:ie,nb:h,nd:h,ne:Ne,nl:h,nn:h,nnh:h,no:h,nqo:F,nr:h,nso:h,ny:h,nyn:h,om:h,or:{cardinal:[y,p],ordinal:[y,j,T,U,p]},os:h,osa:F,pa:h,pap:h,pcm:h,pl:{cardinal:[y,T,U,p],ordinal:[p]},prg:{cardinal:[pe,y,p],ordinal:[p]},ps:h,pt:{cardinal:[y,U,p],ordinal:[p]},pt_PT:{cardinal:[y,U,p],ordinal:[p]},rm:h,ro:{cardinal:[y,T,p],ordinal:[y,p]},rof:h,ru:{cardinal:[y,T,U,p],ordinal:[p]},rwk:h,sah:F,saq:h,sat:ie,sc:{cardinal:[y,p],ordinal:[U,p]},scn:{cardinal:[y,p],ordinal:[U,p]},sd:h,sdh:h,se:ie,seh:h,ses:F,sg:F,sh:{cardinal:[y,T,p],ordinal:[p]},shi:{cardinal:[y,T,p],ordinal:[p]},si:h,sk:{cardinal:[y,T,U,p],ordinal:[p]},sl:{cardinal:[y,j,T,p],ordinal:[p]},sma:ie,smi:ie,smj:ie,smn:ie,sms:ie,sn:h,so:h,sq:{cardinal:[y,p],ordinal:[y,U,p]},sr:{cardinal:[y,T,p],ordinal:[p]},ss:h,ssy:h,st:h,su:F,sv:Ne,sw:h,syr:h,ta:h,te:h,teo:h,th:F,ti:h,tig:h,tk:{cardinal:[y,p],ordinal:[T,p]},tl:Ne,tn:h,to:F,tpi:F,tr:h,ts:h,tzm:h,ug:h,uk:{cardinal:[y,T,U,p],ordinal:[T,p]},und:F,ur:h,uz:h,ve:h,vec:{cardinal:[y,U,p],ordinal:[U,p]},vi:{cardinal:[p],ordinal:[y,p]},vo:h,vun:h,wa:h,wae:h,wo:F,xh:h,xog:h,yi:h,yo:F,yue:F,zh:F,zu:h});let v=(e,t)=>t?"other":e==1?"one":"other",me=(e,t)=>t?"other":e==0||e==1?"one":"other",Ue=(e,t)=>t?"other":e>=0&&e<=1?"one":"other",X=(e,t)=>{let r=String(e).split("."),n=!r[1];return t?"other":e==1&&n?"one":"other"},M=(e,t)=>"other",he=(e,t)=>t?"other":e==1?"one":e==2?"two":"other";var _e=Object.freeze({__proto__:null,af:v,ak:me,am:Ue,an:v,ar:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-2);return t?"other":e==0?"zero":e==1?"one":e==2?"two":s>=3&&s<=10?"few":s>=11&&s<=99?"many":"other"},ars:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-2);return t?"other":e==0?"zero":e==1?"one":e==2?"two":s>=3&&s<=10?"few":s>=11&&s<=99?"many":"other"},as:(e,t)=>t?e==1||e==5||e==7||e==8||e==9||e==10?"one":e==2||e==3?"two":e==4?"few":e==6?"many":"other":e>=0&&e<=1?"one":"other",asa:v,ast:X,az:(e,t)=>{let r=String(e).split("."),n=r[0],s=n.slice(-1),o=n.slice(-2),i=n.slice(-3);return t?s==1||s==2||s==5||s==7||s==8||o==20||o==50||o==70||o==80?"one":s==3||s==4||i==100||i==200||i==300||i==400||i==500||i==600||i==700||i==800||i==900?"few":n==0||s==6||o==40||o==60||o==90?"many":"other":e==1?"one":"other"},bal:(e,t)=>e==1?"one":"other",be:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?(s==2||s==3)&&o!=12&&o!=13?"few":"other":s==1&&o!=11?"one":s>=2&&s<=4&&(o<12||o>14)?"few":n&&s==0||s>=5&&s<=9||o>=11&&o<=14?"many":"other"},bem:v,bez:v,bg:v,bho:me,bm:M,bn:(e,t)=>t?e==1||e==5||e==7||e==8||e==9||e==10?"one":e==2||e==3?"two":e==4?"few":e==6?"many":"other":e>=0&&e<=1?"one":"other",bo:M,br:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-1),o=n&&r[0].slice(-2),i=n&&r[0].slice(-6);return t?"other":s==1&&o!=11&&o!=71&&o!=91?"one":s==2&&o!=12&&o!=72&&o!=92?"two":(s==3||s==4||s==9)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":e!=0&&n&&i==0?"many":"other"},brx:v,bs:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=n.slice(-2),c=s.slice(-1),g=s.slice(-2);return t?"other":o&&i==1&&a!=11||c==1&&g!=11?"one":o&&i>=2&&i<=4&&(a<12||a>14)||c>=2&&c<=4&&(g<12||g>14)?"few":"other"},ca:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?e==1||e==3?"one":e==2?"two":e==4?"few":"other":e==1&&s?"one":n!=0&&o==0&&s?"many":"other"},ce:v,ceb:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=s.slice(-1);return t?"other":o&&(n==1||n==2||n==3)||o&&i!=4&&i!=6&&i!=9||!o&&a!=4&&a!=6&&a!=9?"one":"other"},cgg:v,chr:v,ckb:v,cs:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1];return t?"other":e==1&&s?"one":n>=2&&n<=4&&s?"few":s?"other":"many"},cy:(e,t)=>t?e==0||e==7||e==8||e==9?"zero":e==1?"one":e==2?"two":e==3||e==4?"few":e==5||e==6?"many":"other":e==0?"zero":e==1?"one":e==2?"two":e==3?"few":e==6?"many":"other",da:(e,t)=>{let r=String(e).split("."),n=r[0],s=Number(r[0])==e;return t?"other":e==1||!s&&(n==0||n==1)?"one":"other"},de:X,doi:Ue,dsb:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-2),a=s.slice(-2);return t?"other":o&&i==1||a==1?"one":o&&i==2||a==2?"two":o&&(i==3||i==4)||a==3||a==4?"few":"other"},dv:v,dz:M,ee:v,el:v,en:(e,t)=>{let r=String(e).split("."),n=!r[1],s=Number(r[0])==e,o=s&&r[0].slice(-1),i=s&&r[0].slice(-2);return t?o==1&&i!=11?"one":o==2&&i!=12?"two":o==3&&i!=13?"few":"other":e==1&&n?"one":"other"},eo:v,es:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?"other":e==1?"one":n!=0&&o==0&&s?"many":"other"},et:X,eu:v,fa:Ue,ff:(e,t)=>t?"other":e>=0&&e<2?"one":"other",fi:X,fil:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=s.slice(-1);return t?e==1?"one":"other":o&&(n==1||n==2||n==3)||o&&i!=4&&i!=6&&i!=9||!o&&a!=4&&a!=6&&a!=9?"one":"other"},fo:v,fr:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?e==1?"one":"other":e>=0&&e<2?"one":n!=0&&o==0&&s?"many":"other"},fur:v,fy:X,ga:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?e==1?"one":"other":e==1?"one":e==2?"two":n&&e>=3&&e<=6?"few":n&&e>=7&&e<=10?"many":"other"},gd:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?e==1||e==11?"one":e==2||e==12?"two":e==3||e==13?"few":"other":e==1||e==11?"one":e==2||e==12?"two":n&&e>=3&&e<=10||n&&e>=13&&e<=19?"few":"other"},gl:X,gsw:v,gu:(e,t)=>t?e==1?"one":e==2||e==3?"two":e==4?"few":e==6?"many":"other":e>=0&&e<=1?"one":"other",guw:me,gv:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-1),i=n.slice(-2);return t?"other":s&&o==1?"one":s&&o==2?"two":s&&(i==0||i==20||i==40||i==60||i==80)?"few":s?"other":"many"},ha:v,haw:v,he:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1];return t?"other":n==1&&s||n==0&&!s?"one":n==2&&s?"two":"other"},hi:(e,t)=>t?e==1?"one":e==2||e==3?"two":e==4?"few":e==6?"many":"other":e>=0&&e<=1?"one":"other",hnj:M,hr:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=n.slice(-2),c=s.slice(-1),g=s.slice(-2);return t?"other":o&&i==1&&a!=11||c==1&&g!=11?"one":o&&i>=2&&i<=4&&(a<12||a>14)||c>=2&&c<=4&&(g<12||g>14)?"few":"other"},hsb:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-2),a=s.slice(-2);return t?"other":o&&i==1||a==1?"one":o&&i==2||a==2?"two":o&&(i==3||i==4)||a==3||a==4?"few":"other"},hu:(e,t)=>t?e==1||e==5?"one":"other":e==1?"one":"other",hy:(e,t)=>t?e==1?"one":"other":e>=0&&e<2?"one":"other",ia:X,id:M,ig:M,ii:M,io:X,is:(e,t)=>{let r=String(e).split("."),n=r[0],s=(r[1]||"").replace(/0+$/,""),o=Number(r[0])==e,i=n.slice(-1),a=n.slice(-2);return t?"other":o&&i==1&&a!=11||s%10==1&&s%100!=11?"one":"other"},it:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?e==11||e==8||e==80||e==800?"many":"other":e==1&&s?"one":n!=0&&o==0&&s?"many":"other"},iu:he,ja:M,jbo:M,jgo:v,jmc:v,jv:M,jw:M,ka:(e,t)=>{let r=String(e).split("."),n=r[0],s=n.slice(-2);return t?n==1?"one":n==0||s>=2&&s<=20||s==40||s==60||s==80?"many":"other":e==1?"one":"other"},kab:(e,t)=>t?"other":e>=0&&e<2?"one":"other",kaj:v,kcg:v,kde:M,kea:M,kk:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-1);return t?s==6||s==9||n&&s==0&&e!=0?"many":"other":e==1?"one":"other"},kkj:v,kl:v,km:M,kn:Ue,ko:M,ks:v,ksb:v,ksh:(e,t)=>t?"other":e==0?"zero":e==1?"one":"other",ku:v,kw:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-2),o=n&&r[0].slice(-3),i=n&&r[0].slice(-5),a=n&&r[0].slice(-6);return t?n&&e>=1&&e<=4||s>=1&&s<=4||s>=21&&s<=24||s>=41&&s<=44||s>=61&&s<=64||s>=81&&s<=84?"one":e==5||s==5?"many":"other":e==0?"zero":e==1?"one":s==2||s==22||s==42||s==62||s==82||n&&o==0&&(i>=1e3&&i<=2e4||i==4e4||i==6e4||i==8e4)||e!=0&&a==1e5?"two":s==3||s==23||s==43||s==63||s==83?"few":e!=1&&(s==1||s==21||s==41||s==61||s==81)?"many":"other"},ky:v,lag:(e,t)=>{let r=String(e).split("."),n=r[0];return t?"other":e==0?"zero":(n==0||n==1)&&e!=0?"one":"other"},lb:v,lg:v,lij:(e,t)=>{let r=String(e).split("."),n=!r[1],s=Number(r[0])==e;return t?e==11||e==8||s&&e>=80&&e<=89||s&&e>=800&&e<=899?"many":"other":e==1&&n?"one":"other"},lkt:M,ln:me,lo:(e,t)=>t&&e==1?"one":"other",lt:(e,t)=>{let r=String(e).split("."),n=r[1]||"",s=Number(r[0])==e,o=s&&r[0].slice(-1),i=s&&r[0].slice(-2);return t?"other":o==1&&(i<11||i>19)?"one":o>=2&&o<=9&&(i<11||i>19)?"few":n!=0?"many":"other"},lv:(e,t)=>{let r=String(e).split("."),n=r[1]||"",s=n.length,o=Number(r[0])==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2),c=n.slice(-2),g=n.slice(-1);return t?"other":o&&i==0||a>=11&&a<=19||s==2&&c>=11&&c<=19?"zero":i==1&&a!=11||s==2&&g==1&&c!=11||s!=2&&g==1?"one":"other"},mas:v,mg:me,mgo:v,mk:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=n.slice(-2),c=s.slice(-1),g=s.slice(-2);return t?i==1&&a!=11?"one":i==2&&a!=12?"two":(i==7||i==8)&&a!=17&&a!=18?"many":"other":o&&i==1&&a!=11||c==1&&g!=11?"one":"other"},ml:v,mn:v,mo:(e,t)=>{let r=String(e).split("."),n=!r[1],s=Number(r[0])==e,o=s&&r[0].slice(-2);return t?e==1?"one":"other":e==1&&n?"one":!n||e==0||e!=1&&o>=1&&o<=19?"few":"other"},mr:(e,t)=>t?e==1?"one":e==2||e==3?"two":e==4?"few":"other":e==1?"one":"other",ms:(e,t)=>t&&e==1?"one":"other",mt:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-2);return t?"other":e==1?"one":e==2?"two":e==0||s>=3&&s<=10?"few":s>=11&&s<=19?"many":"other"},my:M,nah:v,naq:he,nb:v,nd:v,ne:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?n&&e>=1&&e<=4?"one":"other":e==1?"one":"other"},nl:X,nn:v,nnh:v,no:v,nqo:M,nr:v,nso:me,ny:v,nyn:v,om:v,or:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?e==1||e==5||n&&e>=7&&e<=9?"one":e==2||e==3?"two":e==4?"few":e==6?"many":"other":e==1?"one":"other"},os:v,osa:M,pa:me,pap:v,pcm:Ue,pl:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-1),i=n.slice(-2);return t?"other":e==1&&s?"one":s&&o>=2&&o<=4&&(i<12||i>14)?"few":s&&n!=1&&(o==0||o==1)||s&&o>=5&&o<=9||s&&i>=12&&i<=14?"many":"other"},prg:(e,t)=>{let r=String(e).split("."),n=r[1]||"",s=n.length,o=Number(r[0])==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2),c=n.slice(-2),g=n.slice(-1);return t?"other":o&&i==0||a>=11&&a<=19||s==2&&c>=11&&c<=19?"zero":i==1&&a!=11||s==2&&g==1&&c!=11||s!=2&&g==1?"one":"other"},ps:v,pt:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?"other":n==0||n==1?"one":n!=0&&o==0&&s?"many":"other"},pt_PT:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?"other":e==1&&s?"one":n!=0&&o==0&&s?"many":"other"},rm:v,ro:(e,t)=>{let r=String(e).split("."),n=!r[1],s=Number(r[0])==e,o=s&&r[0].slice(-2);return t?e==1?"one":"other":e==1&&n?"one":!n||e==0||e!=1&&o>=1&&o<=19?"few":"other"},rof:v,ru:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-1),i=n.slice(-2);return t?"other":s&&o==1&&i!=11?"one":s&&o>=2&&o<=4&&(i<12||i>14)?"few":s&&o==0||s&&o>=5&&o<=9||s&&i>=11&&i<=14?"many":"other"},rwk:v,sah:M,saq:v,sat:he,sc:(e,t)=>{let r=String(e).split("."),n=!r[1];return t?e==11||e==8||e==80||e==800?"many":"other":e==1&&n?"one":"other"},scn:(e,t)=>{let r=String(e).split("."),n=!r[1];return t?e==11||e==8||e==80||e==800?"many":"other":e==1&&n?"one":"other"},sd:v,sdh:v,se:he,seh:v,ses:M,sg:M,sh:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=n.slice(-2),c=s.slice(-1),g=s.slice(-2);return t?"other":o&&i==1&&a!=11||c==1&&g!=11?"one":o&&i>=2&&i<=4&&(a<12||a>14)||c>=2&&c<=4&&(g<12||g>14)?"few":"other"},shi:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?"other":e>=0&&e<=1?"one":n&&e>=2&&e<=10?"few":"other"},si:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"";return t?"other":e==0||e==1||n==0&&s==1?"one":"other"},sk:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1];return t?"other":e==1&&s?"one":n>=2&&n<=4&&s?"few":s?"other":"many"},sl:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-2);return t?"other":s&&o==1?"one":s&&o==2?"two":s&&(o==3||o==4)||!s?"few":"other"},sma:he,smi:he,smj:he,smn:he,sms:he,sn:v,so:v,sq:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return t?e==1?"one":s==4&&o!=14?"many":"other":e==1?"one":"other"},sr:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=n.slice(-2),c=s.slice(-1),g=s.slice(-2);return t?"other":o&&i==1&&a!=11||c==1&&g!=11?"one":o&&i>=2&&i<=4&&(a<12||a>14)||c>=2&&c<=4&&(g<12||g>14)?"few":"other"},ss:v,ssy:v,st:v,su:M,sv:(e,t)=>{let r=String(e).split("."),n=!r[1],s=Number(r[0])==e,o=s&&r[0].slice(-1),i=s&&r[0].slice(-2);return t?(o==1||o==2)&&i!=11&&i!=12?"one":"other":e==1&&n?"one":"other"},sw:X,syr:v,ta:v,te:v,teo:v,th:M,ti:me,tig:v,tk:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e,s=n&&r[0].slice(-1);return t?s==6||s==9||e==10?"few":"other":e==1?"one":"other"},tl:(e,t)=>{let r=String(e).split("."),n=r[0],s=r[1]||"",o=!r[1],i=n.slice(-1),a=s.slice(-1);return t?e==1?"one":"other":o&&(n==1||n==2||n==3)||o&&i!=4&&i!=6&&i!=9||!o&&a!=4&&a!=6&&a!=9?"one":"other"},tn:v,to:M,tpi:M,tr:v,ts:v,tzm:(e,t)=>{let r=String(e).split("."),n=Number(r[0])==e;return t?"other":e==0||e==1||n&&e>=11&&e<=99?"one":"other"},ug:v,uk:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=Number(r[0])==e,i=o&&r[0].slice(-1),a=o&&r[0].slice(-2),c=n.slice(-1),g=n.slice(-2);return t?i==3&&a!=13?"few":"other":s&&c==1&&g!=11?"one":s&&c>=2&&c<=4&&(g<12||g>14)?"few":s&&c==0||s&&c>=5&&c<=9||s&&g>=11&&g<=14?"many":"other"},und:M,ur:X,uz:v,ve:v,vec:(e,t)=>{let r=String(e).split("."),n=r[0],s=!r[1],o=n.slice(-6);return t?e==11||e==8||e==80||e==800?"many":"other":e==1&&s?"one":n!=0&&o==0&&s?"many":"other"},vi:(e,t)=>t&&e==1?"one":"other",vo:v,vun:v,wa:me,wae:v,wo:M,xh:v,xog:v,yi:X,yo:M,yue:M,zh:M,zu:Ue});function vt(e){if(typeof e!="string"||e.length<2)throw new RangeError("Invalid language tag: ".concat(e));if(e.startsWith("pt-PT"))return"pt-PT";var t=e.match(/.+?(?=[-_])/);return t?t[0]:e}function Ze(e){if(typeof e=="function"){var t=vt(e.name);return{isDefault:!1,id:ve(t),lc:t,locale:e.name,getPlural:e,cardinals:e.cardinals||[],ordinals:e.ordinals||[]}}var r=vt(e),n=ve(r);return Qn(n)?{isDefault:!0,id:n,lc:r,locale:e,getCardinal:Yn[n],getPlural:_e[n],cardinals:tr[n].cardinal,ordinals:tr[n].ordinal}:null}function Jn(e){var t=Object.keys(_e).filter(function(r){return r!==e});return t.unshift(e),t.map(Ze)}function Vn(e){var t=vt(e);return ve(t)in _e}function Qn(e){return e in _e}var Xn=function(){function e(t,r){if(this.plurals=[],this.options=Object.assign({biDiSupport:!1,currency:"USD",customFormatters:{},localeCodeFromKey:null,requireAllArguments:!1,returnType:"string",strict:r&&r.strictNumberSign||!1,strictPluralKeys:!0},r),t==="*")this.plurals=Jn(e.defaultLocale);else if(Array.isArray(t))this.plurals=t.map(Ze).filter(Boolean);else if(t){var n=Ze(t);n&&(this.plurals=[n])}if(this.plurals.length===0){var n=Ze(e.defaultLocale);this.plurals=[n]}}return e.escape=function(t,r){var n=r?/[#{}]/g:/[{}]/g;return String(t).replace(n,"'$&'")},e.supportedLocalesOf=function(t){var r=Array.isArray(t)?t:[t];return r.filter(Vn)},e.prototype.resolvedOptions=function(){return f(f({},this.options),{locale:this.plurals[0].locale,plurals:this.plurals})},e.prototype.compile=function(t){var r,n,s=new Wn(this.options),o="return "+s.compile(t,this.plurals[0]),i=[],a=[];try{for(var c=l(Object.entries(s.runtime)),g=c.next();!g.done;g=c.next()){var S=m(g.value,2),N=S[0],L=S[1];i.push(N),a.push(L)}}catch(P){r={error:P}}finally{try{g&&!g.done&&(n=c.return)&&n.call(c)}finally{if(r)throw r.error}}var b=new(Function.bind.apply(Function,w(w([void 0],m(i),!1),[o],!1)));return b.apply(void 0,w([],m(a),!1))},e.defaultLocale="en",e}();return Xn})});function Ur(f,l=W){let m=kt(f).filter(D=>D.length>0)[0],w=St(m);return w||l}function Dr(f){let l=kt(ss(f)).find(w=>w.length>0);return!!St(l??null)}function St(f){return f===W?W:Object.keys(te).find(l=>te[l].urlCode===f)}function Cr(f,l){let m=te[l],w=f.split("?"),D=w.length>1?"?"+w[1]:"";return l===W?f:`/${m.urlCode}${ns(f)}${D}`}function ns(f){let m=f.split("?")[0];return m==="/"?"":m[0]==="/"?m:"/"+m}function Ir(f){return`/${kt(f).filter(l=>{let m=St(l);return l.length>0&&!te[m??""]}).join("/")}`}function kt(f){return os(f).split("/").filter(l=>l.length>0)}function Or(){return Object.keys(te)}function Fr(f=[]){return Object.keys(te).map(m=>te[m].urlCode).filter(m=>f.includes(m===""?W:m))}function ss(f){return f.split("#")[0].split("?")[0]}function os(f){return f.replace(/^.*\/\/[^/]+/,"")}function Xe(f){return f||"/"}var et=class{localize(l,m){return Cr(l,m)}};var tt=class{localize(l){return l.includes("https")||l.includes("http")?l:null}};var rt=class{localize(l){return Dr(l)?l:null}};var nt=class{localize(l,m){return l.length===1&&l==="/"?"/"+te[m].urlCode:null}};var st=class{localize(l){return l.length===1&&l==="."?".":null}};var ot=class{localize(l,m){return l?!(l.length>1&&l[0]!=="/")||m===W?null:".":null}};function ad(f,l=[]){let m=Fr(l).map(w=>({path:w,children:f}));return l.includes(W)&&m.push({path:W,children:f}),m}function it(f,l){let m=Array.isArray(f)?`${f.join("/")}`:f;return is(m,l)}function is(f,l){let w=[new tt,new ot,new st,new nt,new rt,new et].map(D=>D.localize(f,l)).find(D=>D!==null);return w||f}var Mr=class f{constructor(){this.transloco=ne(se)}transform(l){return this.transloco.langChanges$.pipe(Je(m=>it(Xe(l),m)))}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275pipe=cr({name:"routeTranslate",type:f,pure:!0,standalone:!0})}};function as(f,l,m){let w=Rr(f);return w!==null?new Intl.NumberFormat(l,m).format(w):""}function cs(f,l,m){return ls(f)?new Intl.DateTimeFormat(l,m).format(f):""}function ls(f){return f instanceof Date&&!isNaN(f)}var us={"aa-DJ":"DJF","aa-ER":"ERN","aa-ET":"ETB","ab-GE":"ETB","ab-TR":"ETB","af-BW":"ETB","af-NA":"ETB","af-ZA":"ZAR","ak-GH":"ZAR","am-ET":"ETB","am-IL":"ETB","ar-AE":"AED","ar-AR":"AED","ar-BH":"BHD","ar-CM":"BHD","ar-CY":"BHD","ar-DJ":"BHD","ar-DZ":"DZD","ar-EG":"EGP","ar-EH":"EGP","ar-ER":"EGP","ar-IL":"EGP","ar-IQ":"IQD","ar-IR":"IQD","ar-JO":"JOD","ar-KE":"JOD","ar-KM":"JOD","ar-KW":"KWD","ar-LB":"LBP","ar-LY":"LYD","ar-MA":"MAD","ar-ML":"MAD","ar-MR":"MAD","ar-NE":"MAD","ar-NG":"MAD","ar-OM":"OMR","ar-PS":"OMR","ar-QA":"QAR","ar-SA":"SAR","ar-SD":"SDD","ar-SS":"SDD","ar-SY":"SYP","ar-TD":"SYP","ar-TJ":"SYP","ar-TN":"TND","ar-TR":"TND","ar-YE":"YER","as-IN":"INR","av-RU":"INR","ay-BO":"INR","ay-PE":"INR","az-AZ":"AZM","ba-RU":"AZM","be-BY":"BYR","be-PL":"BYR","be-UA":"BYR","bg-BG":"BGN","bg-GR":"BGN","bg-MD":"BGN","bg-RO":"BGN","bg-TR":"BGN","bg-UA":"BGN","bi-VU":"BGN","bm-ML":"BGN","bn-BD":"BDT","bn-GB":"BDT","bn-IN":"INR","bn-NP":"INR","bo-CN":"CNY","bo-IN":"INR","bo-NP":"INR","br-FR":"EUR","bs-BA":"BAM","ca-AD":"EUR","ca-ES":"EUR","ca-FR":"EUR","ca-IT":"EUR","ce-RU":"EUR","ch-GU":"EUR","ch-MP":"EUR","co-FR":"EUR","cs-CZ":"CZK","cv-RU":"RUB","cy-AR":"RUB","cy-GB":"GBP","da-DE":"GBP","da-DK":"DKK","da-GL":"DKK","da-IS":"DKK","de-AT":"EUR","de-BE":"EUR","de-BR":"EUR","de-CA":"EUR","de-CH":"CHF","de-CZ":"CHF","de-DE":"EUR","de-DK":"EUR","de-HU":"EUR","de-IT":"EUR","de-KZ":"EUR","de-LI":"EUR","de-LU":"EUR","de-NA":"EUR","de-PL":"EUR","de-PY":"EUR","de-RO":"EUR","de-SK":"EUR","de-US":"EUR","dv-IN":"EUR","dv-MV":"MVR","dz-BT":"BTN","dz-IN":"BTN","ee-GH":"BTN","ee-TG":"BTN","el-AL":"BTN","el-CY":"EUR","el-DE":"EUR","el-EG":"EUR","el-GB":"EUR","el-GR":"EUR","el-IT":"EUR","el-RO":"EUR","el-TR":"EUR","el-UA":"EUR","en-AC":"EUR","en-AG":"XCD","en-AI":"XCD","en-AS":"XCD","en-AU":"AUD","en-AW":"AUD","en-BB":"AUD","en-BE":"AUD","en-BM":"AUD","en-BN":"AUD","en-BS":"AUD","en-BW":"BWP","en-BZ":"BWP","en-CA":"CAD","en-CC":"CAD","en-CK":"CAD","en-CM":"CAD","en-CN":"CAD","en-CX":"CAD","en-DE":"CAD","en-DG":"CAD","en-DM":"CAD","en-DO":"CAD","en-ES":"CAD","en-ET":"CAD","en-FI":"CAD","en-FJ":"CAD","en-FK":"CAD","en-FM":"CAD","en-FR":"CAD","en-GB":"GBP","en-GD":"GBP","en-GG":"GBP","en-GH":"GBP","en-GI":"GBP","en-GM":"GBP","en-GU":"GBP","en-GY":"GBP","en-HK":"HKD","en-HN":"HKD","en-IE":"EUR","en-IL":"EUR","en-IM":"EUR","en-IN":"INR","en-IO":"INR","en-IT":"INR","en-JE":"INR","en-JM":"INR","en-KE":"INR","en-KI":"INR","en-KN":"INR","en-KY":"INR","en-LB":"INR","en-LC":"INR","en-LK":"INR","en-LR":"INR","en-LS":"INR","en-MG":"INR","en-MH":"INR","en-MP":"INR","en-MS":"INR","en-MT":"INR","en-MU":"INR","en-MW":"INR","en-MY":"INR","en-NA":"INR","en-NF":"INR","en-NG":"NGN","en-NL":"NGN","en-NR":"NGN","en-NU":"NGN","en-NZ":"NZD","en-PA":"NZD","en-PG":"NZD","en-PH":"PHP","en-PI":"PHP","en-PK":"PHP","en-PM":"PHP","en-PN":"PHP","en-PR":"PHP","en-PW":"PHP","en-RW":"PHP","en-SB":"PHP","en-SC":"PHP","en-SG":"SGD","en-SH":"SGD","en-SL":"SGD","en-SS":"SGD","en-SZ":"SGD","en-TA":"SGD","en-TC":"SGD","en-TK":"SGD","en-TO":"SGD","en-TT":"SGD","en-TV":"SGD","en-TZ":"SGD","en-UD":"SGD","en-UG":"SGD","en-UM":"SGD","en-US":"USD","en-VC":"USD","en-VG":"USD","en-VI":"USD","en-VU":"USD","en-WS":"USD","en-ZA":"ZAR","en-ZM":"ZAR","en-ZW":"ZWD","eo-EO":"ZWD","eo-SM":"ZWD","es-AD":"ZWD","es-AR":"ARS","es-BO":"BOB","es-BZ":"BOB","es-CL":"CLP","es-CO":"COP","es-CR":"CRC","es-CU":"CRC","es-DE":"CRC","es-DO":"DOP","es-EA":"DOP","es-EC":"USD","es-ES":"EUR","es-GQ":"EUR","es-GT":"GTQ","es-HN":"HNL","es-IC":"HNL","es-LA":"HNL","es-MA":"HNL","es-MX":"MXN","es-NI":"NIO","es-PA":"PAB","es-PE":"PEN","es-PH":"PEN","es-PR":"USD","es-PY":"PYG","es-SV":"SVC","es-TT":"SVC","es-US":"USD","es-UY":"UYU","es-VE":"VEB","et-EE":"EEK","et-FI":"EEK","eu-ES":"EUR","eu-FR":"EUR","fa-AE":"EUR","fa-AF":"EUR","fa-IQ":"EUR","fa-IR":"IRR","fa-OM":"IRR","fa-PK":"IRR","fa-QA":"IRR","fa-TJ":"IRR","fb-LT":"IRR","ff-GN":"IRR","ff-MR":"IRR","ff-SN":"IRR","fi-FI":"EUR","fi-RU":"EUR","fi-SE":"EUR","fj-FJ":"EUR","fo-FO":"DKK","fr-AD":"DKK","fr-BE":"EUR","fr-BF":"EUR","fr-BI":"EUR","fr-BJ":"EUR","fr-BL":"EUR","fr-CA":"CAD","fr-CD":"CAD","fr-CF":"CAD","fr-CG":"CAD","fr-CH":"CHF","fr-CI":"CHF","fr-CM":"CHF","fr-CP":"CHF","fr-DJ":"CHF","fr-DZ":"CHF","fr-FR":"EUR","fr-GA":"EUR","fr-GB":"EUR","fr-GF":"EUR","fr-GN":"EUR","fr-GP":"EUR","fr-GQ":"EUR","fr-HT":"EUR","fr-IT":"EUR","fr-KM":"EUR","fr-LB":"EUR","fr-LU":"EUR","fr-MA":"EUR","fr-MC":"EUR","fr-MF":"EUR","fr-MG":"EUR","fr-ML":"EUR","fr-MQ":"EUR","fr-MR":"EUR","fr-MU":"EUR","fr-NC":"EUR","fr-NE":"EUR","fr-PF":"EUR","fr-PM":"EUR","fr-RE":"EUR","fr-RW":"EUR","fr-SC":"EUR","fr-SN":"EUR","fr-SY":"EUR","fr-TD":"EUR","fr-TF":"EUR","fr-TG":"EUR","fr-TN":"EUR","fr-US":"EUR","fr-VU":"EUR","fr-WF":"EUR","fr-YT":"EUR","fy-NL":"EUR","ga-GB":"EUR","ga-IE":"EUR","gd-GB":"GBP","gl-ES":"EUR","gl-PT":"EUR","gn-AR":"EUR","gn-BO":"EUR","gn-PY":"EUR","gu-IN":"INR","gu-KE":"INR","gv-IM":"INR","he-IL":"ILS","hi-FJ":"ILS","hi-IN":"INR","hi-NP":"INR","hi-UG":"INR","hi-ZA":"INR","ho-PG":"INR","hr-AT":"INR","hr-BA":"INR","hr-DE":"INR","hr-HR":"HRK","hr-HU":"HRK","hr-IT":"HRK","ht-HT":"HTG","hu-AT":"HTG","hu-HU":"HUF","hu-IL":"HUF","hu-RO":"HUF","hu-RS":"HUF","hu-SI":"HUF","hu-SK":"HUF","hu-UA":"HUF","hy-AM":"AMD","hy-CY":"AMD","hy-GE":"AMD","hy-IR":"AMD","hy-LB":"AMD","hy-SY":"AMD","hy-TR":"AMD","ia-SE":"AMD","id-ID":"IDR","id-NL":"IDR","ig-NG":"NGN","ii-CN":"NGN","ik-US":"NGN","is-IS":"ISK","it-AU":"ISK","it-BR":"ISK","it-CA":"ISK","it-CH":"CHF","it-DE":"CHF","it-FR":"CHF","it-GB":"CHF","it-HR":"CHF","it-IT":"EUR","it-SI":"EUR","it-SM":"EUR","it-US":"EUR","it-VA":"EUR","iu-GL":"EUR","ja-BR":"EUR","ja-JP":"JPY","jv-ID":"JPY","jv-MY":"JPY","ka-GE":"GEL","ka-IR":"GEL","ka-TR":"GEL","kg-CD":"GEL","ki-KE":"GEL","kj-NA":"GEL","kl-DK":"GEL","kl-GL":"DKK","km-KH":"KHR","kn-IN":"INR","ko-BR":"INR","ko-CN":"INR","ko-JP":"INR","ko-KP":"INR","ko-KR":"KRW","ko-US":"KRW","ks-GB":"KRW","ks-IN":"INR","ks-PK":"INR","ku-TR":"TRY","kw-GB":"GBP","la-VA":"GBP","lb-LU":"GBP","lg-UG":"UGX","li-NL":"EUR","ln-CD":"EUR","ln-CG":"EUR","lo-LA":"LAK","lt-LT":"LTL","lu-CD":"LTL","lv-LV":"LVL","mg-MG":"MGA","mh-MH":"MGA","mi-NZ":"NZD","mk-AL":"NZD","mk-GR":"NZD","mk-MK":"MKD","ml-AE":"MKD","ml-BH":"MKD","ml-GB":"MKD","ml-IL":"MKD","ml-IN":"INR","ml-MY":"INR","ml-QA":"INR","ml-SG":"INR","mr-IN":"INR","ms-BN":"INR","ms-CC":"INR","ms-ID":"INR","ms-MY":"MYR","ms-SG":"MYR","mt-MT":"EUR","my-BD":"EUR","my-MM":"MMK","na-NR":"MMK","nb-NO":"NOK","nb-SJ":"NOK","nd-ZW":"NOK","ne-BT":"NOK","ne-IN":"NOK","ne-NP":"INR","ng-NA":"INR","nl-AW":"AWG","nl-BE":"EUR","nl-DE":"EUR","nl-FR":"EUR","nl-NL":"EUR","nl-SR":"EUR","nn-NO":"NOK","nr-ZA":"ZAR","nv-US":"ZAR","ny-MW":"ZAR","ny-MZ":"ZAR","ny-ZM":"ZAR","ny-ZW":"ZAR","oc-FR":"EUR","om-ET":"ETB","om-KE":"KES","om-SO":"KES","or-IN":"INR","os-GE":"INR","pa-IN":"INR","pl-CZ":"INR","pl-DE":"INR","pl-IL":"INR","pl-PL":"PLN","pl-RO":"PLN","pl-SK":"PLN","pl-UA":"PLN","ps-AE":"PLN","ps-AF":"AFN","ps-IR":"AFN","ps-PK":"AFN","pt-AG":"AFN","pt-AO":"AFN","pt-BR":"BRL","pt-CV":"BRL","pt-FR":"BRL","pt-GW":"BRL","pt-MO":"BRL","pt-MZ":"BRL","pt-PT":"EUR","pt-ST":"EUR","pt-TL":"EUR","qu-BO":"EUR","qu-PE":"EUR","rm-CH":"EUR","rn-BI":"EUR","ro-HU":"EUR","ro-IL":"EUR","ro-MD":"EUR","ro-RO":"RON","ro-RS":"RON","ro-UA":"RON","ru-BY":"RON","ru-CN":"RON","ru-DE":"RON","ru-EE":"RON","ru-FI":"RON","ru-GE":"RON","ru-IL":"RON","ru-KG":"RON","ru-KZ":"RON","ru-LT":"RON","ru-LV":"RON","ru-MD":"RON","ru-MN":"RON","ru-RU":"RUB","ru-SJ":"RUB","ru-TM":"RUB","ru-UA":"UAH","ru-US":"UAH","ru-UZ":"UAH","rw-CD":"UAH","rw-RW":"RWF","rw-UG":"RWF","sa-IN":"INR","se-FI":"INR","se-NO":"NOK","se-SE":"NOK","sg-CF":"NOK","si-LK":"LKR","sk-HU":"LKR","sk-RS":"LKR","sk-SK":"EUR","sl-AT":"EUR","sl-HU":"EUR","sl-IT":"EUR","sl-SI":"EUR","sm-AS":"EUR","sm-WS":"EUR","sn-ZW":"EUR","so-DJ":"DJF","so-ET":"ETB","so-KE":"ETB","so-SO":"SOS","sq-AL":"ALL","sq-GR":"ALL","sq-ME":"ALL","sq-MK":"MKD","sq-RS":"MKD","sq-TR":"MKD","sr-RS":"RSD","ss-LS":"RSD","ss-SZ":"RSD","ss-ZA":"ZAR","st-LS":"ZAR","st-ZA":"ZAR","su-ID":"ZAR","sv-AX":"ZAR","sv-FI":"EUR","sv-SE":"SEK","sw-BI":"SEK","sw-CD":"SEK","sw-KE":"SEK","sw-MZ":"SEK","sw-SO":"SEK","sw-TZ":"SEK","sw-UG":"SEK","sw-YT":"SEK","sw-ZA":"SEK","ta-IN":"INR","ta-LK":"INR","ta-MU":"INR","ta-MY":"INR","ta-RE":"INR","ta-SG":"INR","te-IN":"INR","th-TH":"THB","ti-ER":"ERN","ti-ET":"ETB","ti-IL":"ETB","tk-AF":"ETB","tk-IR":"ETB","tk-TM":"TMM","tl-PH":"PHP","tl-US":"PHP","tn-BW":"PHP","tn-NA":"PHP","tn-ZA":"ZAR","tn-ZW":"ZAR","to-TO":"ZAR","tr-BG":"ZAR","tr-CY":"TRY","tr-DE":"TRY","tr-GR":"TRY","tr-MK":"TRY","tr-NL":"TRY","tr-RO":"TRY","tr-TR":"TRY","tr-UA":"TRY","tr-UZ":"TRY","ts-MZ":"TRY","ts-SZ":"TRY","ts-ZA":"ZAR","tt-RU":"RUB","ty-PF":"RUB","uk-PL":"RUB","uk-SK":"RUB","uk-UA":"UAH","ur-IN":"UAH","ur-MU":"UAH","ur-PK":"PKR","ve-ZA":"ZAR","ve-ZW":"ZAR","vi-CN":"ZAR","vi-US":"ZAR","vi-VN":"VND","wa-BE":"EUR","xh-LS":"EUR","xh-ZA":"ZAR","yi-UA":"ZAR","yo-BJ":"ZAR","yo-NG":"NGN","za-CN":"NGN","zh-CN":"CNY","zh-HK":"HKD","zh-TW":"TWD","zu-LS":"TWD","zu-MW":"TWD","zu-MZ":"TWD","zu-SZ":"TWD","zu-ZA":"ZAR"},fs={localeConfig:{global:{},localeBased:{}},defaultLocale:"en-US",defaultCurrency:"USD",localeToCurrencyMapping:us,langToLocaleMapping:{}},ps=new ae("TRANSLOCO_LOCALE_DEFAULT_LOCALE"),ms=new ae("TRANSLOCO_LOCALE_DEFAULT_CURRENCY"),hs=new ae("TRANSLOCO_LOCALE_LANG_MAPPING"),gs=new ae("TRANSLOCO_LOCALE_CONFIG"),ds=new ae("TRANSLOCO_LOCALE_CURRENCY_MAPPING"),$s=new ae("TRANSLOCO_DATE_TRANSFORMER"),ys=new ae("TRANSLOCO_NUMBER_TRANSFORMER"),Nt=class{transform(l,m,w){return cs(l,m,w)}},Et=class{transform(l,m,w,D){return as(l,w,rr(Ie({},D),{style:m}))}};function Pr(f){let l=Ie(Ie({},fs),f);return[vs(l.localeConfig),Rs(l.defaultLocale),Ss(l.defaultCurrency),bs(l.langToLocaleMapping),ws(l.localeToCurrencyMapping),ks(Nt),Ns(Et)]}function vs(f){return ce([{provide:gs,useValue:f}])}function bs(f){return ce([{provide:hs,useValue:f}])}function ws(f){return ce([{provide:ds,useValue:f}])}function Rs(f){return ce([{provide:ps,useValue:f}])}function Ss(f){return ce([{provide:ms,useValue:f}])}function ks(f){return ce([{provide:$s,useClass:f}])}function Ns(f){return ce([{provide:ys,useClass:f}])}var Tt=rs(jr(),1);var Br=new ae("TRANSLOCO_MESSAGE_FORMAT_CONFIG");function Gr(f,l){return new Tt.default(f,l)}function Es(f,l){let m=Gr(f,l),w=m.compile,D=new Map,Q=`__${f?.toString()||Tt.default.defaultLocale}__`;return m.compile=function(K){let Re=`${Q}${K}`,xe=D.get(Re);if(xe)return xe;let Ge=w.call(this,K);return D.set(Re,Ge),Ge},m}var Ls=(()=>{class f extends kr{messageFormat;messageConfig;mfFactory;constructor(m){super();let K=Ie({locales:null},m),{locales:w,enableCache:D=!0}=K,Q=nr(K,["locales","enableCache"]);this.messageConfig=Q,this.mfFactory=D?Es:Gr,this.messageFormat=this.mfFactory(w,Q)}transpile({value:m,params:w={},translation:D,key:Q}){if(!m)return m;if(wr(m)&&w)Object.keys(w).forEach(K=>{let Re=super.transpile({value:bt(m,K),params:bt(w,K),translation:D,key:Q}),xe=this.messageFormat.compile(Re);m=br(m,K,xe(w[K]))});else if(!Array.isArray(m)){let K=super.transpile({value:m,params:w,translation:D,key:Q});return this.messageFormat.compile(K)(w)}return m}onLangChanged(m){this.setLocale(m)}setLocale(m){this.messageFormat=this.mfFactory(m,this.messageConfig)}static \u0275fac=function(w){return new(w||f)(q(Br,8))};static \u0275prov=Z({token:f,factory:f.\u0275fac})}return f})();function zr(f){return ce([{provide:Br,useValue:f},{provide:Sr,useClass:Ls}])}var we=class f{constructor(l){this.cookieStorageService=l}set(l){this.cookieStorageService.set(Rt,l)}get(){let l=this.cookieStorageService.get(Rt);return l||null}static{this.\u0275fac=function(m){return new(m||f)(q(xr))}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var Oe=class f{constructor(l){this.translateStorageService=l}getInitialLanguage(l){let m=Ur(l),w=this.translateStorageService.get(),D=this.validateLanguageCode(w)?w:null,Q=this.getBrowserLanguage();return m||D||Q||W}getBrowserLanguage(){let l=Lr();return this.validateLanguageCode(l??null)?l:null}validateLanguageCode(l){return l?Or().includes(l):!1}static{this.\u0275fac=function(m){return new(m||f)(q(we))}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var Hr=["aboutUs","affiliateProgram","auth","careers","exchangeHeaderOnboarding","filters","flows","friendsMakingPromo","gameLanding","giveawayLandings","history","home","homepage","standWithUkraine","storefront","subscriptions","termsAndPolicy","topNFTtxn","trustSocials","trustWorldwide","userSettings"],at=class f{handle(l,m){let w=l.split(".")[0];return!Hr.includes(w)&&pr()&&console.warn("Missing translation",{key:l,config:m,keyScope:w}),Hr.includes(w)?l.replace(w+".",""):l}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var ct=class f{constructor(l){this.transloco=l}intercept(l,m){let w=l.clone({headers:l.headers.set("Language",this.transloco.getActiveLang().toUpperCase())});return m.handle(w)}static{this.\u0275fac=function(m){return new(m||f)(q(se))}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac})}};function Kr(f,l,m,w){let D=m.getInitialLanguage(l.path());return f.setActiveLang(D),w.set(D),()=>{}}var Be=class f{constructor(l){this.http=l}getTranslation(l){let m=Te.i18nUrl;return this.http.get(`${m}/${l||W}.json`,{params:Ar()})}static{this.\u0275fac=function(m){return new(m||f)(q(gr))}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var _r={providers:[Er({config:{availableLangs:Object.keys(te),defaultLang:W,fallbackLang:[W],missingHandler:{allowEmpty:Te.production,useFallbackTranslation:!0,logMissingKey:!Te.production},flatten:{aot:Te.production},reRenderOnLangChange:!0,prodMode:Te.production},loader:Be}),{provide:vr,useClass:Be},{provide:Nr,useClass:at},{provide:dr,useClass:ct,multi:!0},{provide:fr,useFactory:Kr,deps:[se,hr,Oe,we],multi:!0},Pr({langToLocaleMapping:Tr}),zr({enableCache:!0})]};var lt=class f{constructor(l,m){this.router=l;this.translocoService=m}navigate(l,m){this.router.navigate([this.processUrl(l)],m)}navigateByUrl(l,m){this.router.navigateByUrl(this.processUrl(l),m)}processUrl(l){return it(Xe(l),this.translocoService.getActiveLang())}static{this.\u0275fac=function(m){return new(m||f)(q(Qe),q(se))}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var ut=class f{constructor(l,m){this.document=l;this.rendererFactory=m}setHtmlClass(l){let{htmlTag:m,renderer:w}=this.prepareHtmlElement();m&&w.addClass(m,l)}removeHtmlClass(l){let{htmlTag:m,renderer:w}=this.prepareHtmlElement();m&&w.removeClass(m,l)}setHtmlAttribs(l,m="ltr"){let{htmlTag:w,renderer:D}=this.prepareHtmlElement();w&&(D.setAttribute(w,"lang",l),D.setAttribute(w,"dir",m))}prepareHtmlElement(){let l=this.getHtmlElement(),m=this.rendererFactory.createRenderer(null,null);return{htmlTag:l,renderer:m}}getHtmlElement(){let l=this.document.documentElement;return l.tagName!=="HTML"?null:l}static{this.\u0275fac=function(m){return new(m||f)(q(mr),q(lr))}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var Zr=class f{constructor(){this.router=ne(Qe);this.injector=ne(Ve);this.translateStorageService=ne(we);this.htmlLangAttributeService=ne(ut);this.preferredLanguageService=ne(Oe);this.translocoService=ne(se);this.translocoNavigate=ne(lt);this.selectedLanguage=yr(this.translocoService.langChanges$,{initialValue:this.translocoService.getActiveLang()})}get currLang(){return this.translocoService.getActiveLang()}setLanguage(l){this.htmlLangAttributeService.setHtmlAttribs(l),this.useLang(l)}initLanguageFromUrl(){ur(()=>{this.router.events.pipe(sr(l=>l instanceof $r),or(1),Je(l=>l.url)).subscribe(()=>this.setLanguage(this.chooseInitialLanguage()))},{injector:this.injector})}chooseInitialLanguage(){return this.preferredLanguageService.getInitialLanguage(this.router.url)}useLang(l){this.translateStorageService.set(l),this.translocoService.setActiveLang(l);let m=this.router.url,w=this.router.parseUrl(m)?.fragment??void 0;w&&(m=m.replace(`#${w}`,""));let D=Ir(m);this.translocoNavigate.navigate(D,{fragment:w})}static{this.\u0275fac=function(m){return new(m||f)}}static{this.\u0275prov=Z({token:f,factory:f.\u0275fac,providedIn:"root"})}};var qr=class f{constructor(l){f.injector=l}static{this.\u0275fac=function(m){return new(m||f)(q(Ve))}}static{this.\u0275mod=ar({type:f})}static{this.\u0275inj=ir({providers:[..._r.providers],imports:[wt,wt]})}};export{ad as a,Zr as b,Mr as c,_r as d};
