@sableclient/sable-call-embedded 1.0.2 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +0,0 @@
1
- function Ce(e){return Intl.getCanonicalLocales(e)}var X=9e15,J=1e9,be="0123456789abcdef",ce="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",fe="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Me={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-X,maxE:X,crypto:!1},qe,Z,p=!0,me="[DecimalError] ",x=me+"Invalid argument: ",Ue=me+"Precision limit exceeded",Ke=me+"crypto unavailable",ze="[object Decimal]",I=Math.floor,k=Math.pow,rn=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,sn=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,un=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,Ze=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,F=1e7,y=7,on=9007199254740991,ln=ce.length-1,Le=fe.length-1,_={toStringTag:ze};_.absoluteValue=_.abs=function(){var e=new this.constructor(this);return e.s<0&&(e.s=1),h(e)};_.ceil=function(){return h(new this.constructor(this),this.e+1,2)};_.clampedTo=_.clamp=function(e,n){var t,a=this,i=a.constructor;if(e=new i(e),n=new i(n),!e.s||!n.s)return new i(NaN);if(e.gt(n))throw Error(x+n);return t=a.cmp(e),t<0?e:a.cmp(n)>0?n:new i(a)};_.comparedTo=_.cmp=function(e){var n,t,a,i,r=this,s=r.d,u=(e=new r.constructor(e)).d,l=r.s,o=e.s;if(!s||!u)return!l||!o?NaN:l!==o?l:s===u?0:!s^l<0?1:-1;if(!s[0]||!u[0])return s[0]?l:u[0]?-o:0;if(l!==o)return l;if(r.e!==e.e)return r.e>e.e^l<0?1:-1;for(a=s.length,i=u.length,n=0,t=a<i?a:i;n<t;++n)if(s[n]!==u[n])return s[n]>u[n]^l<0?1:-1;return a===i?0:a>i^l<0?1:-1};_.cosine=_.cos=function(){var e,n,t=this,a=t.constructor;return t.d?t.d[0]?(e=a.precision,n=a.rounding,a.precision=e+Math.max(t.e,t.sd())+y,a.rounding=1,t=dn(a,xe(a,t)),a.precision=e,a.rounding=n,h(Z==2||Z==3?t.neg():t,e,n,!0)):new a(1):new a(NaN)};_.cubeRoot=_.cbrt=function(){var e,n,t,a,i,r,s,u,l,o,d=this,c=d.constructor;if(!d.isFinite()||d.isZero())return new c(d);for(p=!1,r=d.s*k(d.s*d,1/3),!r||Math.abs(r)==1/0?(t=D(d.d),e=d.e,(r=(e-t.length+1)%3)&&(t+=r==1||r==-2?"0":"00"),r=k(t,1/3),e=I((e+1)/3)-(e%3==(e<0?-1:2)),r==1/0?t="5e"+e:(t=r.toExponential(),t=t.slice(0,t.indexOf("e")+1)+e),a=new c(t),a.s=d.s):a=new c(r.toString()),s=(e=c.precision)+3;;)if(u=a,l=u.times(u).times(u),o=l.plus(d),a=E(o.plus(d).times(u),o.plus(l),s+2,1),D(u.d).slice(0,s)===(t=D(a.d)).slice(0,s))if(t=t.slice(s-3,s+1),t=="9999"||!i&&t=="4999"){if(!i&&(h(u,e+1,0),u.times(u).times(u).eq(d))){a=u;break}s+=4,i=1}else{(!+t||!+t.slice(1)&&t.charAt(0)=="5")&&(h(a,e+1,1),n=!a.times(a).times(a).eq(d));break}return p=!0,h(a,e,c.rounding,n)};_.decimalPlaces=_.dp=function(){var e,n=this.d,t=NaN;if(n){if(e=n.length-1,t=(e-I(this.e/y))*y,e=n[e],e)for(;e%10==0;e/=10)t--;t<0&&(t=0)}return t};_.dividedBy=_.div=function(e){return E(this,new this.constructor(e))};_.dividedToIntegerBy=_.divToInt=function(e){var n=this,t=n.constructor;return h(E(n,new t(e),0,1,1),t.precision,t.rounding)};_.equals=_.eq=function(e){return this.cmp(e)===0};_.floor=function(){return h(new this.constructor(this),this.e+1,3)};_.greaterThan=_.gt=function(e){return this.cmp(e)>0};_.greaterThanOrEqualTo=_.gte=function(e){var n=this.cmp(e);return n==1||n===0};_.hyperbolicCosine=_.cosh=function(){var e,n,t,a,i,r=this,s=r.constructor,u=new s(1);if(!r.isFinite())return new s(r.s?1/0:NaN);if(r.isZero())return u;t=s.precision,a=s.rounding,s.precision=t+Math.max(r.e,r.sd())+4,s.rounding=1,i=r.d.length,i<32?(e=Math.ceil(i/3),n=(1/he(4,e)).toString()):(e=16,n="2.3283064365386962890625e-10"),r=ne(s,1,r.times(n),new s(1),!0);for(var l,o=e,d=new s(8);o--;)l=r.times(r),r=u.minus(l.times(d.minus(l.times(d))));return h(r,s.precision=t,s.rounding=a,!0)};_.hyperbolicSine=_.sinh=function(){var e,n,t,a,i=this,r=i.constructor;if(!i.isFinite()||i.isZero())return new r(i);if(n=r.precision,t=r.rounding,r.precision=n+Math.max(i.e,i.sd())+4,r.rounding=1,a=i.d.length,a<3)i=ne(r,2,i,i,!0);else{e=1.4*Math.sqrt(a),e=e>16?16:e|0,i=i.times(1/he(5,e)),i=ne(r,2,i,i,!0);for(var s,u=new r(5),l=new r(16),o=new r(20);e--;)s=i.times(i),i=i.times(u.plus(s.times(l.times(s).plus(o))))}return r.precision=n,r.rounding=t,h(i,n,t,!0)};_.hyperbolicTangent=_.tanh=function(){var e,n,t=this,a=t.constructor;return t.isFinite()?t.isZero()?new a(t):(e=a.precision,n=a.rounding,a.precision=e+7,a.rounding=1,E(t.sinh(),t.cosh(),a.precision=e,a.rounding=n)):new a(t.s)};_.inverseCosine=_.acos=function(){var e=this,n=e.constructor,t=e.abs().cmp(1),a=n.precision,i=n.rounding;return t!==-1?t===0?e.isNeg()?K(n,a,i):new n(0):new n(NaN):e.isZero()?K(n,a+4,i).times(.5):(n.precision=a+6,n.rounding=1,e=new n(1).minus(e).div(e.plus(1)).sqrt().atan(),n.precision=a,n.rounding=i,e.times(2))};_.inverseHyperbolicCosine=_.acosh=function(){var e,n,t=this,a=t.constructor;return t.lte(1)?new a(t.eq(1)?0:NaN):t.isFinite()?(e=a.precision,n=a.rounding,a.precision=e+Math.max(Math.abs(t.e),t.sd())+4,a.rounding=1,p=!1,t=t.times(t).minus(1).sqrt().plus(t),p=!0,a.precision=e,a.rounding=n,t.ln()):new a(t)};_.inverseHyperbolicSine=_.asinh=function(){var e,n,t=this,a=t.constructor;return!t.isFinite()||t.isZero()?new a(t):(e=a.precision,n=a.rounding,a.precision=e+2*Math.max(Math.abs(t.e),t.sd())+6,a.rounding=1,p=!1,t=t.times(t).plus(1).sqrt().plus(t),p=!0,a.precision=e,a.rounding=n,t.ln())};_.inverseHyperbolicTangent=_.atanh=function(){var e,n,t,a,i=this,r=i.constructor;return i.isFinite()?i.e>=0?new r(i.abs().eq(1)?i.s/0:i.isZero()?i:NaN):(e=r.precision,n=r.rounding,a=i.sd(),Math.max(a,e)<2*-i.e-1?h(new r(i),e,n,!0):(r.precision=t=a-i.e,i=E(i.plus(1),new r(1).minus(i),t+e,1),r.precision=e+4,r.rounding=1,i=i.ln(),r.precision=e,r.rounding=n,i.times(.5))):new r(NaN)};_.inverseSine=_.asin=function(){var e,n,t,a,i=this,r=i.constructor;return i.isZero()?new r(i):(n=i.abs().cmp(1),t=r.precision,a=r.rounding,n!==-1?n===0?(e=K(r,t+4,a).times(.5),e.s=i.s,e):new r(NaN):(r.precision=t+6,r.rounding=1,i=i.div(new r(1).minus(i.times(i)).sqrt().plus(1)).atan(),r.precision=t,r.rounding=a,i.times(2)))};_.inverseTangent=_.atan=function(){var e,n,t,a,i,r,s,u,l,o=this,d=o.constructor,c=d.precision,f=d.rounding;if(o.isFinite()){if(o.isZero())return new d(o);if(o.abs().eq(1)&&c+4<=Le)return s=K(d,c+4,f).times(.25),s.s=o.s,s}else{if(!o.s)return new d(NaN);if(c+4<=Le)return s=K(d,c+4,f).times(.5),s.s=o.s,s}for(d.precision=u=c+10,d.rounding=1,t=Math.min(28,u/y+2|0),e=t;e;--e)o=o.div(o.times(o).plus(1).sqrt().plus(1));for(p=!1,n=Math.ceil(u/y),a=1,l=o.times(o),s=new d(o),i=o;e!==-1;)if(i=i.times(l),r=s.minus(i.div(a+=2)),i=i.times(l),s=r.plus(i.div(a+=2)),s.d[n]!==void 0)for(e=n;s.d[e]===r.d[e]&&e--;);return t&&(s=s.times(2<<t-1)),p=!0,h(s,d.precision=c,d.rounding=f,!0)};_.isFinite=function(){return!!this.d};_.isInteger=_.isInt=function(){return!!this.d&&I(this.e/y)>this.d.length-2};_.isNaN=function(){return!this.s};_.isNegative=_.isNeg=function(){return this.s<0};_.isPositive=_.isPos=function(){return this.s>0};_.isZero=function(){return!!this.d&&this.d[0]===0};_.lessThan=_.lt=function(e){return this.cmp(e)<0};_.lessThanOrEqualTo=_.lte=function(e){return this.cmp(e)<1};_.logarithm=_.log=function(e){var n,t,a,i,r,s,u,l,o=this,d=o.constructor,c=d.precision,f=d.rounding,m=5;if(e==null)e=new d(10),n=!0;else{if(e=new d(e),t=e.d,e.s<0||!t||!t[0]||e.eq(1))return new d(NaN);n=e.eq(10)}if(t=o.d,o.s<0||!t||!t[0]||o.eq(1))return new d(t&&!t[0]?-1/0:o.s!=1?NaN:t?0:1/0);if(n)if(t.length>1)r=!0;else{for(i=t[0];i%10===0;)i/=10;r=i!==1}if(p=!1,u=c+m,s=Y(o,u),a=n?_e(d,u+10):Y(e,u),l=E(s,a,u,1),re(l.d,i=c,f))do if(u+=10,s=Y(o,u),a=n?_e(d,u+10):Y(e,u),l=E(s,a,u,1),!r){+D(l.d).slice(i+1,i+15)+1==1e14&&(l=h(l,c+1,0));break}while(re(l.d,i+=10,f));return p=!0,h(l,c,f)};_.minus=_.sub=function(e){var n,t,a,i,r,s,u,l,o,d,c,f,m=this,S=m.constructor;if(e=new S(e),!m.d||!e.d)return!m.s||!e.s?e=new S(NaN):m.d?e.s=-e.s:e=new S(e.d||m.s!==e.s?m:NaN),e;if(m.s!=e.s)return e.s=-e.s,m.plus(e);if(o=m.d,f=e.d,u=S.precision,l=S.rounding,!o[0]||!f[0]){if(f[0])e.s=-e.s;else if(o[0])e=new S(m);else return new S(l===3?-0:0);return p?h(e,u,l):e}if(t=I(e.e/y),d=I(m.e/y),o=o.slice(),r=d-t,r){for(c=r<0,c?(n=o,r=-r,s=f.length):(n=f,t=d,s=o.length),a=Math.max(Math.ceil(u/y),s)+2,r>a&&(r=a,n.length=1),n.reverse(),a=r;a--;)n.push(0);n.reverse()}else{for(a=o.length,s=f.length,c=a<s,c&&(s=a),a=0;a<s;a++)if(o[a]!=f[a]){c=o[a]<f[a];break}r=0}for(c&&(n=o,o=f,f=n,e.s=-e.s),s=o.length,a=f.length-s;a>0;--a)o[s++]=0;for(a=f.length;a>r;){if(o[--a]<f[a]){for(i=a;i&&o[--i]===0;)o[i]=F-1;--o[i],o[a]+=F}o[a]-=f[a]}for(;o[--s]===0;)o.pop();for(;o[0]===0;o.shift())--t;return o[0]?(e.d=o,e.e=we(o,t),p?h(e,u,l):e):new S(l===3?-0:0)};_.modulo=_.mod=function(e){var n,t=this,a=t.constructor;return e=new a(e),!t.d||!e.s||e.d&&!e.d[0]?new a(NaN):!e.d||t.d&&!t.d[0]?h(new a(t),a.precision,a.rounding):(p=!1,a.modulo==9?(n=E(t,e.abs(),0,3,1),n.s*=e.s):n=E(t,e,0,a.modulo,1),n=n.times(e),p=!0,t.minus(n))};_.naturalExponential=_.exp=function(){return Ee(this)};_.naturalLogarithm=_.ln=function(){return Y(this)};_.negated=_.neg=function(){var e=new this.constructor(this);return e.s=-e.s,h(e)};_.plus=_.add=function(e){var n,t,a,i,r,s,u,l,o,d,c=this,f=c.constructor;if(e=new f(e),!c.d||!e.d)return!c.s||!e.s?e=new f(NaN):c.d||(e=new f(e.d||c.s===e.s?c:NaN)),e;if(c.s!=e.s)return e.s=-e.s,c.minus(e);if(o=c.d,d=e.d,u=f.precision,l=f.rounding,!o[0]||!d[0])return d[0]||(e=new f(c)),p?h(e,u,l):e;if(r=I(c.e/y),a=I(e.e/y),o=o.slice(),i=r-a,i){for(i<0?(t=o,i=-i,s=d.length):(t=d,a=r,s=o.length),r=Math.ceil(u/y),s=r>s?r+1:s+1,i>s&&(i=s,t.length=1),t.reverse();i--;)t.push(0);t.reverse()}for(s=o.length,i=d.length,s-i<0&&(i=s,t=d,d=o,o=t),n=0;i;)n=(o[--i]=o[i]+d[i]+n)/F|0,o[i]%=F;for(n&&(o.unshift(n),++a),s=o.length;o[--s]==0;)o.pop();return e.d=o,e.e=we(o,a),p?h(e,u,l):e};_.precision=_.sd=function(e){var n,t=this;if(e!==void 0&&e!==!!e&&e!==1&&e!==0)throw Error(x+e);return t.d?(n=Ve(t.d),e&&t.e+1>n&&(n=t.e+1)):n=NaN,n};_.round=function(){var e=this,n=e.constructor;return h(new n(e),e.e+1,n.rounding)};_.sine=_.sin=function(){var e,n,t=this,a=t.constructor;return t.isFinite()?t.isZero()?new a(t):(e=a.precision,n=a.rounding,a.precision=e+Math.max(t.e,t.sd())+y,a.rounding=1,t=fn(a,xe(a,t)),a.precision=e,a.rounding=n,h(Z>2?t.neg():t,e,n,!0)):new a(NaN)};_.squareRoot=_.sqrt=function(){var e,n,t,a,i,r,s=this,u=s.d,l=s.e,o=s.s,d=s.constructor;if(o!==1||!u||!u[0])return new d(!o||o<0&&(!u||u[0])?NaN:u?s:1/0);for(p=!1,o=Math.sqrt(+s),o==0||o==1/0?(n=D(u),(n.length+l)%2==0&&(n+="0"),o=Math.sqrt(n),l=I((l+1)/2)-(l<0||l%2),o==1/0?n="5e"+l:(n=o.toExponential(),n=n.slice(0,n.indexOf("e")+1)+l),a=new d(n)):a=new d(o.toString()),t=(l=d.precision)+3;;)if(r=a,a=r.plus(E(s,r,t+2,1)).times(.5),D(r.d).slice(0,t)===(n=D(a.d)).slice(0,t))if(n=n.slice(t-3,t+1),n=="9999"||!i&&n=="4999"){if(!i&&(h(r,l+1,0),r.times(r).eq(s))){a=r;break}t+=4,i=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(h(a,l+1,1),e=!a.times(a).eq(s));break}return p=!0,h(a,l,d.rounding,e)};_.tangent=_.tan=function(){var e,n,t=this,a=t.constructor;return t.isFinite()?t.isZero()?new a(t):(e=a.precision,n=a.rounding,a.precision=e+10,a.rounding=1,t=t.sin(),t.s=1,t=E(t,new a(1).minus(t.times(t)).sqrt(),e+10,0),a.precision=e,a.rounding=n,h(Z==2||Z==4?t.neg():t,e,n,!0)):new a(NaN)};_.times=_.mul=function(e){var n,t,a,i,r,s,u,l,o,d=this,c=d.constructor,f=d.d,m=(e=new c(e)).d;if(e.s*=d.s,!f||!f[0]||!m||!m[0])return new c(!e.s||f&&!f[0]&&!m||m&&!m[0]&&!f?NaN:!f||!m?e.s/0:e.s*0);for(t=I(d.e/y)+I(e.e/y),l=f.length,o=m.length,l<o&&(r=f,f=m,m=r,s=l,l=o,o=s),r=[],s=l+o,a=s;a--;)r.push(0);for(a=o;--a>=0;){for(n=0,i=l+a;i>a;)u=r[i]+m[a]*f[i-a-1]+n,r[i--]=u%F|0,n=u/F|0;r[i]=(r[i]+n)%F|0}for(;!r[--s];)r.pop();return n?++t:r.shift(),e.d=r,e.e=we(r,t),p?h(e,c.precision,c.rounding):e};_.toBinary=function(e,n){return Ne(this,2,e,n)};_.toDecimalPlaces=_.toDP=function(e,n){var t=this,a=t.constructor;return t=new a(t),e===void 0?t:(R(e,0,J),n===void 0?n=a.rounding:R(n,0,8),h(t,e+t.e+1,n))};_.toExponential=function(e,n){var t,a=this,i=a.constructor;return e===void 0?t=z(a,!0):(R(e,0,J),n===void 0?n=i.rounding:R(n,0,8),a=h(new i(a),e+1,n),t=z(a,!0,e+1)),a.isNeg()&&!a.isZero()?"-"+t:t};_.toFixed=function(e,n){var t,a,i=this,r=i.constructor;return e===void 0?t=z(i):(R(e,0,J),n===void 0?n=r.rounding:R(n,0,8),a=h(new r(i),e+i.e+1,n),t=z(a,!1,e+a.e+1)),i.isNeg()&&!i.isZero()?"-"+t:t};_.toFraction=function(e){var n,t,a,i,r,s,u,l,o,d,c,f,m=this,S=m.d,w=m.constructor;if(!S)return new w(m);if(o=t=new w(1),a=l=new w(0),n=new w(a),r=n.e=Ve(S)-m.e-1,s=r%y,n.d[0]=k(10,s<0?y+s:s),e==null)e=r>0?n:o;else{if(u=new w(e),!u.isInt()||u.lt(o))throw Error(x+u);e=u.gt(n)?r>0?n:o:u}for(p=!1,u=new w(D(S)),d=w.precision,w.precision=r=S.length*y*2;c=E(u,n,0,1,1),i=t.plus(c.times(a)),i.cmp(e)!=1;)t=a,a=i,i=o,o=l.plus(c.times(i)),l=i,i=n,n=u.minus(c.times(i)),u=i;return i=E(e.minus(t),a,0,1,1),l=l.plus(i.times(o)),t=t.plus(i.times(a)),l.s=o.s=m.s,f=E(o,a,r,1).minus(m).abs().cmp(E(l,t,r,1).minus(m).abs())<1?[o,a]:[l,t],w.precision=d,p=!0,f};_.toHexadecimal=_.toHex=function(e,n){return Ne(this,16,e,n)};_.toNearest=function(e,n){var t=this,a=t.constructor;if(t=new a(t),e==null){if(!t.d)return t;e=new a(1),n=a.rounding}else{if(e=new a(e),n===void 0?n=a.rounding:R(n,0,8),!t.d)return e.s?t:e;if(!e.d)return e.s&&(e.s=t.s),e}return e.d[0]?(p=!1,t=E(t,e,0,n,1).times(e),p=!0,h(t)):(e.s=t.s,t=e),t};_.toNumber=function(){return+this};_.toOctal=function(e,n){return Ne(this,8,e,n)};_.toPower=_.pow=function(e){var n,t,a,i,r,s,u=this,l=u.constructor,o=+(e=new l(e));if(!u.d||!e.d||!u.d[0]||!e.d[0])return new l(k(+u,o));if(u=new l(u),u.eq(1))return u;if(a=l.precision,r=l.rounding,e.eq(1))return h(u,a,r);if(n=I(e.e/y),n>=e.d.length-1&&(t=o<0?-o:o)<=on)return i=je(l,u,t,a),e.s<0?new l(1).div(i):h(i,a,r);if(s=u.s,s<0){if(n<e.d.length-1)return new l(NaN);if((e.d[n]&1)==0&&(s=1),u.e==0&&u.d[0]==1&&u.d.length==1)return u.s=s,u}return t=k(+u,o),n=t==0||!isFinite(t)?I(o*(Math.log("0."+D(u.d))/Math.LN10+u.e+1)):new l(t+"").e,n>l.maxE+1||n<l.minE-1?new l(n>0?s/0:0):(p=!1,l.rounding=u.s=1,t=Math.min(12,(n+"").length),i=Ee(e.times(Y(u,a+t)),a),i.d&&(i=h(i,a+5,1),re(i.d,a,r)&&(n=a+10,i=h(Ee(e.times(Y(u,n+t)),n),n+5,1),+D(i.d).slice(a+1,a+15)+1==1e14&&(i=h(i,a+1,0)))),i.s=s,p=!0,l.rounding=r,h(i,a,r))};_.toPrecision=function(e,n){var t,a=this,i=a.constructor;return e===void 0?t=z(a,a.e<=i.toExpNeg||a.e>=i.toExpPos):(R(e,1,J),n===void 0?n=i.rounding:R(n,0,8),a=h(new i(a),e,n),t=z(a,e<=a.e||a.e<=i.toExpNeg,e)),a.isNeg()&&!a.isZero()?"-"+t:t};_.toSignificantDigits=_.toSD=function(e,n){var t=this,a=t.constructor;return e===void 0?(e=a.precision,n=a.rounding):(R(e,1,J),n===void 0?n=a.rounding:R(n,0,8)),h(new a(t),e,n)};_.toString=function(){var e=this,n=e.constructor,t=z(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()&&!e.isZero()?"-"+t:t};_.truncated=_.trunc=function(){return h(new this.constructor(this),this.e+1,1)};_.valueOf=_.toJSON=function(){var e=this,n=e.constructor,t=z(e,e.e<=n.toExpNeg||e.e>=n.toExpPos);return e.isNeg()?"-"+t:t};function D(e){var n,t,a,i=e.length-1,r="",s=e[0];if(i>0){for(r+=s,n=1;n<i;n++)a=e[n]+"",t=y-a.length,t&&(r+=W(t)),r+=a;s=e[n],a=s+"",t=y-a.length,t&&(r+=W(t))}else if(s===0)return"0";for(;s%10===0;)s/=10;return r+s}function R(e,n,t){if(e!==~~e||e<n||e>t)throw Error(x+e)}function re(e,n,t,a){var i,r,s,u;for(r=e[0];r>=10;r/=10)--n;return--n<0?(n+=y,i=0):(i=Math.ceil((n+1)/y),n%=y),r=k(10,y-n),u=e[i]%r|0,a==null?n<3?(n==0?u=u/100|0:n==1&&(u=u/10|0),s=t<4&&u==99999||t>3&&u==49999||u==5e4||u==0):s=(t<4&&u+1==r||t>3&&u+1==r/2)&&(e[i+1]/r/100|0)==k(10,n-2)-1||(u==r/2||u==0)&&(e[i+1]/r/100|0)==0:n<4?(n==0?u=u/1e3|0:n==1?u=u/100|0:n==2&&(u=u/10|0),s=(a||t<4)&&u==9999||!a&&t>3&&u==4999):s=((a||t<4)&&u+1==r||!a&&t>3&&u+1==r/2)&&(e[i+1]/r/1e3|0)==k(10,n-3)-1,s}function le(e,n,t){for(var a,i=[0],r,s=0,u=e.length;s<u;){for(r=i.length;r--;)i[r]*=n;for(i[0]+=be.indexOf(e.charAt(s++)),a=0;a<i.length;a++)i[a]>t-1&&(i[a+1]===void 0&&(i[a+1]=0),i[a+1]+=i[a]/t|0,i[a]%=t)}return i.reverse()}function dn(e,n){var t,a,i;if(n.isZero())return n;a=n.d.length,a<32?(t=Math.ceil(a/3),i=(1/he(4,t)).toString()):(t=16,i="2.3283064365386962890625e-10"),e.precision+=t,n=ne(e,1,n.times(i),new e(1));for(var r=t;r--;){var s=n.times(n);n=s.times(s).minus(s).times(8).plus(1)}return e.precision-=t,n}var E=(function(){function e(a,i,r){var s,u=0,l=a.length;for(a=a.slice();l--;)s=a[l]*i+u,a[l]=s%r|0,u=s/r|0;return u&&a.unshift(u),a}function n(a,i,r,s){var u,l;if(r!=s)l=r>s?1:-1;else for(u=l=0;u<r;u++)if(a[u]!=i[u]){l=a[u]>i[u]?1:-1;break}return l}function t(a,i,r,s){for(var u=0;r--;)a[r]-=u,u=a[r]<i[r]?1:0,a[r]=u*s+a[r]-i[r];for(;!a[0]&&a.length>1;)a.shift()}return function(a,i,r,s,u,l){var o,d,c,f,m,S,w,v,b,L,g,M,C,B,P,$,A,H,T,te,Q=a.constructor,ae=a.s==i.s?1:-1,G=a.d,N=i.d;if(!G||!G[0]||!N||!N[0])return new Q(!a.s||!i.s||(G?N&&G[0]==N[0]:!N)?NaN:G&&G[0]==0||!N?ae*0:ae/0);for(l?(m=1,d=a.e-i.e):(l=F,m=y,d=I(a.e/m)-I(i.e/m)),T=N.length,A=G.length,b=new Q(ae),L=b.d=[],c=0;N[c]==(G[c]||0);c++);if(N[c]>(G[c]||0)&&d--,r==null?(B=r=Q.precision,s=Q.rounding):u?B=r+(a.e-i.e)+1:B=r,B<0)L.push(1),S=!0;else{if(B=B/m+2|0,c=0,T==1){for(f=0,N=N[0],B++;(c<A||f)&&B--;c++)P=f*l+(G[c]||0),L[c]=P/N|0,f=P%N|0;S=f||c<A}else{for(f=l/(N[0]+1)|0,f>1&&(N=e(N,f,l),G=e(G,f,l),T=N.length,A=G.length),$=T,g=G.slice(0,T),M=g.length;M<T;)g[M++]=0;te=N.slice(),te.unshift(0),H=N[0],N[1]>=l/2&&++H;do f=0,o=n(N,g,T,M),o<0?(C=g[0],T!=M&&(C=C*l+(g[1]||0)),f=C/H|0,f>1?(f>=l&&(f=l-1),w=e(N,f,l),v=w.length,M=g.length,o=n(w,g,v,M),o==1&&(f--,t(w,T<v?te:N,v,l))):(f==0&&(o=f=1),w=N.slice()),v=w.length,v<M&&w.unshift(0),t(g,w,M,l),o==-1&&(M=g.length,o=n(N,g,T,M),o<1&&(f++,t(g,T<M?te:N,M,l))),M=g.length):o===0&&(f++,g=[0]),L[c++]=f,o&&g[0]?g[M++]=G[$]||0:(g=[G[$]],M=1);while(($++<A||g[0]!==void 0)&&B--);S=g[0]!==void 0}L[0]||L.shift()}if(m==1)b.e=d,qe=S;else{for(c=1,f=L[0];f>=10;f/=10)c++;b.e=c+d*m-1,h(b,u?r+b.e+1:r,s,S)}return b}})();function h(e,n,t,a){var i,r,s,u,l,o,d,c,f,m=e.constructor;e:if(n!=null){if(c=e.d,!c)return e;for(i=1,u=c[0];u>=10;u/=10)i++;if(r=n-i,r<0)r+=y,s=n,d=c[f=0],l=d/k(10,i-s-1)%10|0;else if(f=Math.ceil((r+1)/y),u=c.length,f>=u)if(a){for(;u++<=f;)c.push(0);d=l=0,i=1,r%=y,s=r-y+1}else break e;else{for(d=u=c[f],i=1;u>=10;u/=10)i++;r%=y,s=r-y+i,l=s<0?0:d/k(10,i-s-1)%10|0}if(a=a||n<0||c[f+1]!==void 0||(s<0?d:d%k(10,i-s-1)),o=t<4?(l||a)&&(t==0||t==(e.s<0?3:2)):l>5||l==5&&(t==4||a||t==6&&(r>0?s>0?d/k(10,i-s):0:c[f-1])%10&1||t==(e.s<0?8:7)),n<1||!c[0])return c.length=0,o?(n-=e.e+1,c[0]=k(10,(y-n%y)%y),e.e=-n||0):c[0]=e.e=0,e;if(r==0?(c.length=f,u=1,f--):(c.length=f+1,u=k(10,y-r),c[f]=s>0?(d/k(10,i-s)%k(10,s)|0)*u:0),o)for(;;)if(f==0){for(r=1,s=c[0];s>=10;s/=10)r++;for(s=c[0]+=u,u=1;s>=10;s/=10)u++;r!=u&&(e.e++,c[0]==F&&(c[0]=1));break}else{if(c[f]+=u,c[f]!=F)break;c[f--]=0,u=1}for(r=c.length;c[--r]===0;)c.pop()}return p&&(e.e>m.maxE?(e.d=null,e.e=NaN):e.e<m.minE&&(e.e=0,e.d=[0])),e}function z(e,n,t){if(!e.isFinite())return Ye(e);var a,i=e.e,r=D(e.d),s=r.length;return n?(t&&(a=t-s)>0?r=r.charAt(0)+"."+r.slice(1)+W(a):s>1&&(r=r.charAt(0)+"."+r.slice(1)),r=r+(e.e<0?"e":"e+")+e.e):i<0?(r="0."+W(-i-1)+r,t&&(a=t-s)>0&&(r+=W(a))):i>=s?(r+=W(i+1-s),t&&(a=t-i-1)>0&&(r=r+"."+W(a))):((a=i+1)<s&&(r=r.slice(0,a)+"."+r.slice(a)),t&&(a=t-s)>0&&(i+1===s&&(r+="."),r+=W(a))),r}function we(e,n){var t=e[0];for(n*=y;t>=10;t/=10)n++;return n}function _e(e,n,t){if(n>ln)throw p=!0,t&&(e.precision=t),Error(Ue);return h(new e(ce),n,1,!0)}function K(e,n,t){if(n>Le)throw Error(Ue);return h(new e(fe),n,t,!0)}function Ve(e){var n=e.length-1,t=n*y+1;if(n=e[n],n){for(;n%10==0;n/=10)t--;for(n=e[0];n>=10;n/=10)t++}return t}function W(e){for(var n="";e--;)n+="0";return n}function je(e,n,t,a){var i,r=new e(1),s=Math.ceil(a/y+4);for(p=!1;;){if(t%2&&(r=r.times(n),Ae(r.d,s)&&(i=!0)),t=I(t/2),t===0){t=r.d.length-1,i&&r.d[t]===0&&++r.d[t];break}n=n.times(n),Ae(n.d,s)}return p=!0,r}function ke(e){return e.d[e.d.length-1]&1}function We(e,n,t){for(var a,i,r=new e(n[0]),s=0;++s<n.length;){if(i=new e(n[s]),!i.s){r=i;break}a=r.cmp(i),(a===t||a===0&&r.s===t)&&(r=i)}return r}function Ee(e,n){var t,a,i,r,s,u,l,o=0,d=0,c=0,f=e.constructor,m=f.rounding,S=f.precision;if(!e.d||!e.d[0]||e.e>17)return new f(e.d?e.d[0]?e.s<0?0:1/0:1:e.s?e.s<0?0:e:NaN);for(n==null?(p=!1,l=S):l=n,u=new f(.03125);e.e>-2;)e=e.times(u),c+=5;for(a=Math.log(k(2,c))/Math.LN10*2+5|0,l+=a,t=r=s=new f(1),f.precision=l;;){if(r=h(r.times(e),l,1),t=t.times(++d),u=s.plus(E(r,t,l,1)),D(u.d).slice(0,l)===D(s.d).slice(0,l)){for(i=c;i--;)s=h(s.times(s),l,1);if(n==null)if(o<3&&re(s.d,l-a,m,o))f.precision=l+=10,t=r=u=new f(1),d=0,o++;else return h(s,f.precision=S,m,p=!0);else return f.precision=S,s}s=u}}function Y(e,n){var t,a,i,r,s,u,l,o,d,c,f,m=1,S=10,w=e,v=w.d,b=w.constructor,L=b.rounding,g=b.precision;if(w.s<0||!v||!v[0]||!w.e&&v[0]==1&&v.length==1)return new b(v&&!v[0]?-1/0:w.s!=1?NaN:v?0:w);if(n==null?(p=!1,d=g):d=n,b.precision=d+=S,t=D(v),a=t.charAt(0),Math.abs(r=w.e)<15e14){for(;a<7&&a!=1||a==1&&t.charAt(1)>3;)w=w.times(e),t=D(w.d),a=t.charAt(0),m++;r=w.e,a>1?(w=new b("0."+t),r++):w=new b(a+"."+t.slice(1))}else return o=_e(b,d+2,g).times(r+""),w=Y(new b(a+"."+t.slice(1)),d-S).plus(o),b.precision=g,n==null?h(w,g,L,p=!0):w;for(c=w,l=s=w=E(w.minus(1),w.plus(1),d,1),f=h(w.times(w),d,1),i=3;;){if(s=h(s.times(f),d,1),o=l.plus(E(s,new b(i),d,1)),D(o.d).slice(0,d)===D(l.d).slice(0,d))if(l=l.times(2),r!==0&&(l=l.plus(_e(b,d+2,g).times(r+""))),l=E(l,new b(m),d,1),n==null)if(re(l.d,d-S,L,u))b.precision=d+=S,o=s=w=E(c.minus(1),c.plus(1),d,1),f=h(w.times(w),d,1),i=u=1;else return h(l,b.precision=g,L,p=!0);else return b.precision=g,l;l=o,i+=2}}function Ye(e){return String(e.s*e.s/0)}function de(e,n){var t,a,i;for((t=n.indexOf("."))>-1&&(n=n.replace(".","")),(a=n.search(/e/i))>0?(t<0&&(t=a),t+=+n.slice(a+1),n=n.substring(0,a)):t<0&&(t=n.length),a=0;n.charCodeAt(a)===48;a++);for(i=n.length;n.charCodeAt(i-1)===48;--i);if(n=n.slice(a,i),n){if(i-=a,e.e=t=t-a-1,e.d=[],a=(t+1)%y,t<0&&(a+=y),a<i){for(a&&e.d.push(+n.slice(0,a)),i-=y;a<i;)e.d.push(+n.slice(a,a+=y));n=n.slice(a),a=y-n.length}else a-=i;for(;a--;)n+="0";e.d.push(+n),p&&(e.e>e.constructor.maxE?(e.d=null,e.e=NaN):e.e<e.constructor.minE&&(e.e=0,e.d=[0]))}else e.e=0,e.d=[0];return e}function cn(e,n){var t,a,i,r,s,u,l,o,d;if(n.indexOf("_")>-1){if(n=n.replace(/(\d)_(?=\d)/g,"$1"),Ze.test(n))return de(e,n)}else if(n==="Infinity"||n==="NaN")return+n||(e.s=NaN),e.e=NaN,e.d=null,e;if(sn.test(n))t=16,n=n.toLowerCase();else if(rn.test(n))t=2;else if(un.test(n))t=8;else throw Error(x+n);for(r=n.search(/p/i),r>0?(l=+n.slice(r+1),n=n.substring(2,r)):n=n.slice(2),r=n.indexOf("."),s=r>=0,a=e.constructor,s&&(n=n.replace(".",""),u=n.length,r=u-r,i=je(a,new a(t),r,r*2)),o=le(n,t,F),d=o.length-1,r=d;o[r]===0;--r)o.pop();return r<0?new a(e.s*0):(e.e=we(o,d),e.d=o,p=!1,s&&(e=E(e,i,u*4)),l&&(e=e.times(Math.abs(l)<54?k(2,l):O.pow(2,l))),p=!0,e)}function fn(e,n){var t,a=n.d.length;if(a<3)return n.isZero()?n:ne(e,2,n,n);t=1.4*Math.sqrt(a),t=t>16?16:t|0,n=n.times(1/he(5,t)),n=ne(e,2,n,n);for(var i,r=new e(5),s=new e(16),u=new e(20);t--;)i=n.times(n),n=n.times(r.plus(i.times(s.times(i).minus(u))));return n}function ne(e,n,t,a,i){var r,s,u,l,o=e.precision,d=Math.ceil(o/y);for(p=!1,l=t.times(t),u=new e(a);;){if(s=E(u.times(l),new e(n++*n++),o,1),u=i?a.plus(s):a.minus(s),a=E(s.times(l),new e(n++*n++),o,1),s=u.plus(a),s.d[d]!==void 0){for(r=d;s.d[r]===u.d[r]&&r--;);if(r==-1)break}r=u,u=a,a=s,s=r}return p=!0,s.d.length=d+1,s}function he(e,n){for(var t=e;--n;)t*=e;return t}function xe(e,n){var t,a=n.s<0,i=K(e,e.precision,1),r=i.times(.5);if(n=n.abs(),n.lte(r))return Z=a?4:1,n;if(t=n.divToInt(i),t.isZero())Z=a?3:2;else{if(n=n.minus(t.times(i)),n.lte(r))return Z=ke(t)?a?2:3:a?4:1,n;Z=ke(t)?a?1:4:a?3:2}return n.minus(i).abs()}function Ne(e,n,t,a){var i,r,s,u,l,o,d,c,f,m=e.constructor,S=t!==void 0;if(S?(R(t,1,J),a===void 0?a=m.rounding:R(a,0,8)):(t=m.precision,a=m.rounding),!e.isFinite())d=Ye(e);else{for(d=z(e),s=d.indexOf("."),S?(i=2,n==16?t=t*4-3:n==8&&(t=t*3-2)):i=n,s>=0&&(d=d.replace(".",""),f=new m(1),f.e=d.length-s,f.d=le(z(f),10,i),f.e=f.d.length),c=le(d,10,i),r=l=c.length;c[--l]==0;)c.pop();if(!c[0])d=S?"0p+0":"0";else{if(s<0?r--:(e=new m(e),e.d=c,e.e=r,e=E(e,f,t,a,0,i),c=e.d,r=e.e,o=qe),s=c[t],u=i/2,o=o||c[t+1]!==void 0,o=a<4?(s!==void 0||o)&&(a===0||a===(e.s<0?3:2)):s>u||s===u&&(a===4||o||a===6&&c[t-1]&1||a===(e.s<0?8:7)),c.length=t,o)for(;++c[--t]>i-1;)c[t]=0,t||(++r,c.unshift(1));for(l=c.length;!c[l-1];--l);for(s=0,d="";s<l;s++)d+=be.charAt(c[s]);if(S){if(l>1)if(n==16||n==8){for(s=n==16?4:3,--l;l%s;l++)d+="0";for(c=le(d,i,n),l=c.length;!c[l-1];--l);for(s=1,d="1.";s<l;s++)d+=be.charAt(c[s])}else d=d.charAt(0)+"."+d.slice(1);d=d+(r<0?"p":"p+")+r}else if(r<0){for(;++r;)d="0"+d;d="0."+d}else if(++r>l)for(r-=l;r--;)d+="0";else r<l&&(d=d.slice(0,r)+"."+d.slice(r))}d=(n==16?"0x":n==2?"0b":n==8?"0o":"")+d}return e.s<0?"-"+d:d}function Ae(e,n){if(e.length>n)return e.length=n,!0}function _n(e){return new this(e).abs()}function mn(e){return new this(e).acos()}function wn(e){return new this(e).acosh()}function hn(e,n){return new this(e).plus(n)}function yn(e){return new this(e).asin()}function gn(e){return new this(e).asinh()}function pn(e){return new this(e).atan()}function Sn(e){return new this(e).atanh()}function bn(e,n){e=new this(e),n=new this(n);var t,a=this.precision,i=this.rounding,r=a+4;return!e.s||!n.s?t=new this(NaN):!e.d&&!n.d?(t=K(this,r,1).times(n.s>0?.25:.75),t.s=e.s):!n.d||e.isZero()?(t=n.s<0?K(this,a,i):new this(0),t.s=e.s):!e.d||n.isZero()?(t=K(this,r,1).times(.5),t.s=e.s):n.s<0?(this.precision=r,this.rounding=1,t=this.atan(E(e,n,r,1)),n=K(this,r,1),this.precision=a,this.rounding=i,t=e.s<0?t.minus(n):t.plus(n)):t=this.atan(E(e,n,r,1)),t}function Mn(e){return new this(e).cbrt()}function Ln(e){return h(e=new this(e),e.e+1,2)}function En(e,n,t){return new this(e).clamp(n,t)}function Nn(e){if(!e||typeof e!="object")throw Error(me+"Object expected");var n,t,a,i=e.defaults===!0,r=["precision",1,J,"rounding",0,8,"toExpNeg",-X,0,"toExpPos",0,X,"maxE",0,X,"minE",-X,0,"modulo",0,9];for(n=0;n<r.length;n+=3)if(t=r[n],i&&(this[t]=Me[t]),(a=e[t])!==void 0)if(I(a)===a&&a>=r[n+1]&&a<=r[n+2])this[t]=a;else throw Error(x+t+": "+a);if(t="crypto",i&&(this[t]=Me[t]),(a=e[t])!==void 0)if(a===!0||a===!1||a===0||a===1)if(a)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[t]=!0;else throw Error(Ke);else this[t]=!1;else throw Error(x+t+": "+a);return this}function vn(e){return new this(e).cos()}function Cn(e){return new this(e).cosh()}function Je(e){var n,t,a;function i(r){var s,u,l,o=this;if(!(o instanceof i))return new i(r);if(o.constructor=i,Te(r)){o.s=r.s,p?!r.d||r.e>i.maxE?(o.e=NaN,o.d=null):r.e<i.minE?(o.e=0,o.d=[0]):(o.e=r.e,o.d=r.d.slice()):(o.e=r.e,o.d=r.d?r.d.slice():r.d);return}if(l=typeof r,l==="number"){if(r===0){o.s=1/r<0?-1:1,o.e=0,o.d=[0];return}if(r<0?(r=-r,o.s=-1):o.s=1,r===~~r&&r<1e7){for(s=0,u=r;u>=10;u/=10)s++;p?s>i.maxE?(o.e=NaN,o.d=null):s<i.minE?(o.e=0,o.d=[0]):(o.e=s,o.d=[r]):(o.e=s,o.d=[r]);return}if(r*0!==0){r||(o.s=NaN),o.e=NaN,o.d=null;return}return de(o,r.toString())}if(l==="string")return(u=r.charCodeAt(0))===45?(r=r.slice(1),o.s=-1):(u===43&&(r=r.slice(1)),o.s=1),Ze.test(r)?de(o,r):cn(o,r);if(l==="bigint")return r<0?(r=-r,o.s=-1):o.s=1,de(o,r.toString());throw Error(x+r)}if(i.prototype=_,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.EUCLID=9,i.config=i.set=Nn,i.clone=Je,i.isDecimal=Te,i.abs=_n,i.acos=mn,i.acosh=wn,i.add=hn,i.asin=yn,i.asinh=gn,i.atan=pn,i.atanh=Sn,i.atan2=bn,i.cbrt=Mn,i.ceil=Ln,i.clamp=En,i.cos=vn,i.cosh=Cn,i.div=kn,i.exp=An,i.floor=Tn,i.hypot=Dn,i.ln=Gn,i.log=In,i.log10=Rn,i.log2=Bn,i.max=On,i.min=Pn,i.mod=Fn,i.mul=Hn,i.pow=qn,i.random=Un,i.round=Kn,i.sign=zn,i.sin=Zn,i.sinh=Vn,i.sqrt=jn,i.sub=Wn,i.sum=Yn,i.tan=xn,i.tanh=Jn,i.trunc=$n,e===void 0&&(e={}),e&&e.defaults!==!0)for(a=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],n=0;n<a.length;)e.hasOwnProperty(t=a[n++])||(e[t]=this[t]);return i.config(e),i}function kn(e,n){return new this(e).div(n)}function An(e){return new this(e).exp()}function Tn(e){return h(e=new this(e),e.e+1,3)}function Dn(){var e,n,t=new this(0);for(p=!1,e=0;e<arguments.length;)if(n=new this(arguments[e++]),n.d)t.d&&(t=t.plus(n.times(n)));else{if(n.s)return p=!0,new this(1/0);t=n}return p=!0,t.sqrt()}function Te(e){return e instanceof O||e&&e.toStringTag===ze||!1}function Gn(e){return new this(e).ln()}function In(e,n){return new this(e).log(n)}function Bn(e){return new this(e).log(2)}function Rn(e){return new this(e).log(10)}function On(){return We(this,arguments,-1)}function Pn(){return We(this,arguments,1)}function Fn(e,n){return new this(e).mod(n)}function Hn(e,n){return new this(e).mul(n)}function qn(e,n){return new this(e).pow(n)}function Un(e){var n,t,a,i,r=0,s=new this(1),u=[];if(e===void 0?e=this.precision:R(e,1,J),a=Math.ceil(e/y),this.crypto)if(crypto.getRandomValues)for(n=crypto.getRandomValues(new Uint32Array(a));r<a;)i=n[r],i>=429e7?n[r]=crypto.getRandomValues(new Uint32Array(1))[0]:u[r++]=i%1e7;else if(crypto.randomBytes){for(n=crypto.randomBytes(a*=4);r<a;)i=n[r]+(n[r+1]<<8)+(n[r+2]<<16)+((n[r+3]&127)<<24),i>=214e7?crypto.randomBytes(4).copy(n,r):(u.push(i%1e7),r+=4);r=a/4}else throw Error(Ke);else for(;r<a;)u[r++]=Math.random()*1e7|0;for(a=u[--r],e%=y,a&&e&&(i=k(10,y-e),u[r]=(a/i|0)*i);u[r]===0;r--)u.pop();if(r<0)t=0,u=[0];else{for(t=-1;u[0]===0;t-=y)u.shift();for(a=1,i=u[0];i>=10;i/=10)a++;a<y&&(t-=y-a)}return s.e=t,s.d=u,s}function Kn(e){return h(e=new this(e),e.e+1,this.rounding)}function zn(e){return e=new this(e),e.d?e.d[0]?e.s:0*e.s:e.s||NaN}function Zn(e){return new this(e).sin()}function Vn(e){return new this(e).sinh()}function jn(e){return new this(e).sqrt()}function Wn(e,n){return new this(e).sub(n)}function Yn(){var e=0,n=arguments,t=new this(n[e]);for(p=!1;t.s&&++e<n.length;)t=t.plus(n[e]);return p=!0,h(t,this.precision,this.rounding)}function xn(e){return new this(e).tan()}function Jn(e){return new this(e).tanh()}function $n(e){return h(e=new this(e),e.e+1,1)}_[Symbol.for("nodejs.util.inspect.custom")]=_.toString;_[Symbol.toStringTag]="Decimal";var O=_.constructor=Je(Me);ce=new O(ce);fe=new O(fe);new O(10);const Qn=new O(0);new O(-0);function se(e,n){const t=n&&n.cache?n.cache:rt,a=n&&n.serializer?n.serializer:at;return(n&&n.strategy?n.strategy:nt)(e,{cache:t,serializer:a})}function Xn(e){return e==null||typeof e=="number"||typeof e=="boolean"}function et(e,n,t,a){const i=Xn(a)?a:t(a);let r=n.get(i);return typeof r>"u"&&(r=e.call(this,a),n.set(i,r)),r}function $e(e,n,t){const a=Array.prototype.slice.call(arguments,3),i=t(a);let r=n.get(i);return typeof r>"u"&&(r=e.apply(this,a),n.set(i,r)),r}function Qe(e,n,t,a,i){return t.bind(n,e,a,i)}function nt(e,n){const t=e.length===1?et:$e;return Qe(e,this,t,n.cache.create(),n.serializer)}function tt(e,n){return Qe(e,this,$e,n.cache.create(),n.serializer)}const at=function(){return JSON.stringify(arguments)};class it{cache;constructor(){this.cache=Object.create(null)}get(n){return this.cache[n]}set(n,t){this.cache[n]=t}}const rt={create:function(){return new it}},ye={variadic:tt};function j(e,n,t=Error){if(!e)throw new t(n)}const st=se((...e)=>new Intl.NumberFormat(...e),{strategy:ye.variadic});se((...e)=>new Intl.PluralRules(...e),{strategy:ye.variadic});se((...e)=>new Intl.Locale(...e),{strategy:ye.variadic});const ut=se((...e)=>new Intl.ListFormat(...e),{strategy:ye.variadic});function ot(e){if(typeof e=="symbol")throw TypeError("Cannot convert a Symbol value to a string");return String(e)}function Xe(e){if(typeof e=="number")return new O(e);if(typeof e=="bigint")return new O(e.toString());if(j(typeof e!="symbol","Symbol is not supported",TypeError),e===void 0)return new O(NaN);if(e===null||e===0)return Qn;if(e===!0)return new O(1);if(typeof e=="string")try{return new O(e)}catch{return new O(NaN)}j(typeof e=="object","object expected",TypeError);let n=ct(e,"number");return j(typeof n!="object","object expected",TypeError),Xe(n)}function en(e){if(e==null)throw new TypeError("undefined/null cannot be converted to object");return Object(e)}function nn(e){return typeof e=="function"}function lt(e,n,t){if(!nn(e)||typeof n!="object")return!1;let a=e.prototype;if(typeof a!="object")throw new TypeError("OrdinaryHasInstance called on an object with an invalid prototype property.");return Object.prototype.isPrototypeOf.call(a,n)}function dt(e,n){let t;t=["valueOf","toString"];for(const a of t){const i=e[a];if(nn(i)){let r=i.call(e);if(typeof r!="object")return r}}throw new TypeError("Cannot convert object to primitive value")}function ct(e,n){if(typeof e=="object"&&e!=null){const t=Symbol.toPrimitive in e?e[Symbol.toPrimitive]:void 0;let a;if(t!==void 0){j(n==="number",'preferredType must be "string" or "number"'),a="number";let i=t.call(e,a);if(typeof i!="object")return i;throw new TypeError("Cannot convert exotic object to primitive.")}return dt(e)}return e}function ft(e,n,t,a){if(e===void 0)return a;const i=Number(e);if(isNaN(i)||i<n||i>t)throw new RangeError(`${i} is outside of range [${n}, ${t}]`);return Math.floor(i)}function _t(e,n,t,a,i){const r=e[n];return ft(r,t,a,i)}function ee(e,n,t,a,i){if(typeof e!="object")throw new TypeError("Options must be an object");let r=e[n];if(r!==void 0){if(r=ot(r),a!==void 0&&!a.filter(s=>s==r).length)throw new RangeError(`${r} is not within ${a.join(", ")}`);return r}return i}const ge={supplemental:{languageMatching:{"written-new":[{paradigmLocales:{_locales:"en en_GB es es_419 pt_BR pt_PT"}},{$enUS:{_value:"AS+CA+GU+MH+MP+PH+PR+UM+US+VI"}},{$cnsar:{_value:"HK+MO"}},{$americas:{_value:"019"}},{$maghreb:{_value:"MA+DZ+TN+LY+MR+EH"}},{no:{_desired:"nb",_distance:"1"}},{bs:{_desired:"hr",_distance:"4"}},{bs:{_desired:"sh",_distance:"4"}},{hr:{_desired:"sh",_distance:"4"}},{sr:{_desired:"sh",_distance:"4"}},{aa:{_desired:"ssy",_distance:"4"}},{de:{_desired:"gsw",_distance:"4",_oneway:"true"}},{de:{_desired:"lb",_distance:"4",_oneway:"true"}},{no:{_desired:"da",_distance:"8"}},{nb:{_desired:"da",_distance:"8"}},{ru:{_desired:"ab",_distance:"30",_oneway:"true"}},{en:{_desired:"ach",_distance:"30",_oneway:"true"}},{nl:{_desired:"af",_distance:"20",_oneway:"true"}},{en:{_desired:"ak",_distance:"30",_oneway:"true"}},{en:{_desired:"am",_distance:"30",_oneway:"true"}},{es:{_desired:"ay",_distance:"20",_oneway:"true"}},{ru:{_desired:"az",_distance:"30",_oneway:"true"}},{ur:{_desired:"bal",_distance:"20",_oneway:"true"}},{ru:{_desired:"be",_distance:"20",_oneway:"true"}},{en:{_desired:"bem",_distance:"30",_oneway:"true"}},{hi:{_desired:"bh",_distance:"30",_oneway:"true"}},{en:{_desired:"bn",_distance:"30",_oneway:"true"}},{zh:{_desired:"bo",_distance:"20",_oneway:"true"}},{fr:{_desired:"br",_distance:"20",_oneway:"true"}},{es:{_desired:"ca",_distance:"20",_oneway:"true"}},{fil:{_desired:"ceb",_distance:"30",_oneway:"true"}},{en:{_desired:"chr",_distance:"20",_oneway:"true"}},{ar:{_desired:"ckb",_distance:"30",_oneway:"true"}},{fr:{_desired:"co",_distance:"20",_oneway:"true"}},{fr:{_desired:"crs",_distance:"20",_oneway:"true"}},{sk:{_desired:"cs",_distance:"20"}},{en:{_desired:"cy",_distance:"20",_oneway:"true"}},{en:{_desired:"ee",_distance:"30",_oneway:"true"}},{en:{_desired:"eo",_distance:"30",_oneway:"true"}},{es:{_desired:"eu",_distance:"20",_oneway:"true"}},{da:{_desired:"fo",_distance:"20",_oneway:"true"}},{nl:{_desired:"fy",_distance:"20",_oneway:"true"}},{en:{_desired:"ga",_distance:"20",_oneway:"true"}},{en:{_desired:"gaa",_distance:"30",_oneway:"true"}},{en:{_desired:"gd",_distance:"20",_oneway:"true"}},{es:{_desired:"gl",_distance:"20",_oneway:"true"}},{es:{_desired:"gn",_distance:"20",_oneway:"true"}},{hi:{_desired:"gu",_distance:"30",_oneway:"true"}},{en:{_desired:"ha",_distance:"30",_oneway:"true"}},{en:{_desired:"haw",_distance:"20",_oneway:"true"}},{fr:{_desired:"ht",_distance:"20",_oneway:"true"}},{ru:{_desired:"hy",_distance:"30",_oneway:"true"}},{en:{_desired:"ia",_distance:"30",_oneway:"true"}},{en:{_desired:"ig",_distance:"30",_oneway:"true"}},{en:{_desired:"is",_distance:"20",_oneway:"true"}},{id:{_desired:"jv",_distance:"20",_oneway:"true"}},{en:{_desired:"ka",_distance:"30",_oneway:"true"}},{fr:{_desired:"kg",_distance:"30",_oneway:"true"}},{ru:{_desired:"kk",_distance:"30",_oneway:"true"}},{en:{_desired:"km",_distance:"30",_oneway:"true"}},{en:{_desired:"kn",_distance:"30",_oneway:"true"}},{en:{_desired:"kri",_distance:"30",_oneway:"true"}},{tr:{_desired:"ku",_distance:"30",_oneway:"true"}},{ru:{_desired:"ky",_distance:"30",_oneway:"true"}},{it:{_desired:"la",_distance:"20",_oneway:"true"}},{en:{_desired:"lg",_distance:"30",_oneway:"true"}},{fr:{_desired:"ln",_distance:"30",_oneway:"true"}},{en:{_desired:"lo",_distance:"30",_oneway:"true"}},{en:{_desired:"loz",_distance:"30",_oneway:"true"}},{fr:{_desired:"lua",_distance:"30",_oneway:"true"}},{hi:{_desired:"mai",_distance:"20",_oneway:"true"}},{en:{_desired:"mfe",_distance:"30",_oneway:"true"}},{fr:{_desired:"mg",_distance:"30",_oneway:"true"}},{en:{_desired:"mi",_distance:"20",_oneway:"true"}},{en:{_desired:"ml",_distance:"30",_oneway:"true"}},{ru:{_desired:"mn",_distance:"30",_oneway:"true"}},{hi:{_desired:"mr",_distance:"30",_oneway:"true"}},{id:{_desired:"ms",_distance:"30",_oneway:"true"}},{en:{_desired:"mt",_distance:"30",_oneway:"true"}},{en:{_desired:"my",_distance:"30",_oneway:"true"}},{en:{_desired:"ne",_distance:"30",_oneway:"true"}},{nb:{_desired:"nn",_distance:"20"}},{no:{_desired:"nn",_distance:"20"}},{en:{_desired:"nso",_distance:"30",_oneway:"true"}},{en:{_desired:"ny",_distance:"30",_oneway:"true"}},{en:{_desired:"nyn",_distance:"30",_oneway:"true"}},{fr:{_desired:"oc",_distance:"20",_oneway:"true"}},{en:{_desired:"om",_distance:"30",_oneway:"true"}},{en:{_desired:"or",_distance:"30",_oneway:"true"}},{en:{_desired:"pa",_distance:"30",_oneway:"true"}},{en:{_desired:"pcm",_distance:"20",_oneway:"true"}},{en:{_desired:"ps",_distance:"30",_oneway:"true"}},{es:{_desired:"qu",_distance:"30",_oneway:"true"}},{de:{_desired:"rm",_distance:"20",_oneway:"true"}},{en:{_desired:"rn",_distance:"30",_oneway:"true"}},{fr:{_desired:"rw",_distance:"30",_oneway:"true"}},{hi:{_desired:"sa",_distance:"30",_oneway:"true"}},{en:{_desired:"sd",_distance:"30",_oneway:"true"}},{en:{_desired:"si",_distance:"30",_oneway:"true"}},{en:{_desired:"sn",_distance:"30",_oneway:"true"}},{en:{_desired:"so",_distance:"30",_oneway:"true"}},{en:{_desired:"sq",_distance:"30",_oneway:"true"}},{en:{_desired:"st",_distance:"30",_oneway:"true"}},{id:{_desired:"su",_distance:"20",_oneway:"true"}},{en:{_desired:"sw",_distance:"30",_oneway:"true"}},{en:{_desired:"ta",_distance:"30",_oneway:"true"}},{en:{_desired:"te",_distance:"30",_oneway:"true"}},{ru:{_desired:"tg",_distance:"30",_oneway:"true"}},{en:{_desired:"ti",_distance:"30",_oneway:"true"}},{ru:{_desired:"tk",_distance:"30",_oneway:"true"}},{en:{_desired:"tlh",_distance:"30",_oneway:"true"}},{en:{_desired:"tn",_distance:"30",_oneway:"true"}},{en:{_desired:"to",_distance:"30",_oneway:"true"}},{ru:{_desired:"tt",_distance:"30",_oneway:"true"}},{en:{_desired:"tum",_distance:"30",_oneway:"true"}},{zh:{_desired:"ug",_distance:"20",_oneway:"true"}},{ru:{_desired:"uk",_distance:"20",_oneway:"true"}},{en:{_desired:"ur",_distance:"30",_oneway:"true"}},{ru:{_desired:"uz",_distance:"30",_oneway:"true"}},{fr:{_desired:"wo",_distance:"30",_oneway:"true"}},{en:{_desired:"xh",_distance:"30",_oneway:"true"}},{en:{_desired:"yi",_distance:"30",_oneway:"true"}},{en:{_desired:"yo",_distance:"30",_oneway:"true"}},{zh:{_desired:"za",_distance:"20",_oneway:"true"}},{en:{_desired:"zu",_distance:"30",_oneway:"true"}},{ar:{_desired:"aao",_distance:"10",_oneway:"true"}},{ar:{_desired:"abh",_distance:"10",_oneway:"true"}},{ar:{_desired:"abv",_distance:"10",_oneway:"true"}},{ar:{_desired:"acm",_distance:"10",_oneway:"true"}},{ar:{_desired:"acq",_distance:"10",_oneway:"true"}},{ar:{_desired:"acw",_distance:"10",_oneway:"true"}},{ar:{_desired:"acx",_distance:"10",_oneway:"true"}},{ar:{_desired:"acy",_distance:"10",_oneway:"true"}},{ar:{_desired:"adf",_distance:"10",_oneway:"true"}},{ar:{_desired:"aeb",_distance:"10",_oneway:"true"}},{ar:{_desired:"aec",_distance:"10",_oneway:"true"}},{ar:{_desired:"afb",_distance:"10",_oneway:"true"}},{ar:{_desired:"ajp",_distance:"10",_oneway:"true"}},{ar:{_desired:"apc",_distance:"10",_oneway:"true"}},{ar:{_desired:"apd",_distance:"10",_oneway:"true"}},{ar:{_desired:"arq",_distance:"10",_oneway:"true"}},{ar:{_desired:"ars",_distance:"10",_oneway:"true"}},{ar:{_desired:"ary",_distance:"10",_oneway:"true"}},{ar:{_desired:"arz",_distance:"10",_oneway:"true"}},{ar:{_desired:"auz",_distance:"10",_oneway:"true"}},{ar:{_desired:"avl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayh",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayl",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayn",_distance:"10",_oneway:"true"}},{ar:{_desired:"ayp",_distance:"10",_oneway:"true"}},{ar:{_desired:"bbz",_distance:"10",_oneway:"true"}},{ar:{_desired:"pga",_distance:"10",_oneway:"true"}},{ar:{_desired:"shu",_distance:"10",_oneway:"true"}},{ar:{_desired:"ssh",_distance:"10",_oneway:"true"}},{az:{_desired:"azb",_distance:"10",_oneway:"true"}},{et:{_desired:"vro",_distance:"10",_oneway:"true"}},{ff:{_desired:"ffm",_distance:"10",_oneway:"true"}},{ff:{_desired:"fub",_distance:"10",_oneway:"true"}},{ff:{_desired:"fue",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuf",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuh",_distance:"10",_oneway:"true"}},{ff:{_desired:"fui",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuq",_distance:"10",_oneway:"true"}},{ff:{_desired:"fuv",_distance:"10",_oneway:"true"}},{gn:{_desired:"gnw",_distance:"10",_oneway:"true"}},{gn:{_desired:"gui",_distance:"10",_oneway:"true"}},{gn:{_desired:"gun",_distance:"10",_oneway:"true"}},{gn:{_desired:"nhd",_distance:"10",_oneway:"true"}},{iu:{_desired:"ikt",_distance:"10",_oneway:"true"}},{kln:{_desired:"enb",_distance:"10",_oneway:"true"}},{kln:{_desired:"eyo",_distance:"10",_oneway:"true"}},{kln:{_desired:"niq",_distance:"10",_oneway:"true"}},{kln:{_desired:"oki",_distance:"10",_oneway:"true"}},{kln:{_desired:"pko",_distance:"10",_oneway:"true"}},{kln:{_desired:"sgc",_distance:"10",_oneway:"true"}},{kln:{_desired:"tec",_distance:"10",_oneway:"true"}},{kln:{_desired:"tuy",_distance:"10",_oneway:"true"}},{kok:{_desired:"gom",_distance:"10",_oneway:"true"}},{kpe:{_desired:"gkp",_distance:"10",_oneway:"true"}},{luy:{_desired:"ida",_distance:"10",_oneway:"true"}},{luy:{_desired:"lkb",_distance:"10",_oneway:"true"}},{luy:{_desired:"lko",_distance:"10",_oneway:"true"}},{luy:{_desired:"lks",_distance:"10",_oneway:"true"}},{luy:{_desired:"lri",_distance:"10",_oneway:"true"}},{luy:{_desired:"lrm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lsm",_distance:"10",_oneway:"true"}},{luy:{_desired:"lto",_distance:"10",_oneway:"true"}},{luy:{_desired:"lts",_distance:"10",_oneway:"true"}},{luy:{_desired:"lwg",_distance:"10",_oneway:"true"}},{luy:{_desired:"nle",_distance:"10",_oneway:"true"}},{luy:{_desired:"nyd",_distance:"10",_oneway:"true"}},{luy:{_desired:"rag",_distance:"10",_oneway:"true"}},{lv:{_desired:"ltg",_distance:"10",_oneway:"true"}},{mg:{_desired:"bhr",_distance:"10",_oneway:"true"}},{mg:{_desired:"bjq",_distance:"10",_oneway:"true"}},{mg:{_desired:"bmm",_distance:"10",_oneway:"true"}},{mg:{_desired:"bzc",_distance:"10",_oneway:"true"}},{mg:{_desired:"msh",_distance:"10",_oneway:"true"}},{mg:{_desired:"skg",_distance:"10",_oneway:"true"}},{mg:{_desired:"tdx",_distance:"10",_oneway:"true"}},{mg:{_desired:"tkg",_distance:"10",_oneway:"true"}},{mg:{_desired:"txy",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmv",_distance:"10",_oneway:"true"}},{mg:{_desired:"xmw",_distance:"10",_oneway:"true"}},{mn:{_desired:"mvf",_distance:"10",_oneway:"true"}},{ms:{_desired:"bjn",_distance:"10",_oneway:"true"}},{ms:{_desired:"btj",_distance:"10",_oneway:"true"}},{ms:{_desired:"bve",_distance:"10",_oneway:"true"}},{ms:{_desired:"bvu",_distance:"10",_oneway:"true"}},{ms:{_desired:"coa",_distance:"10",_oneway:"true"}},{ms:{_desired:"dup",_distance:"10",_oneway:"true"}},{ms:{_desired:"hji",_distance:"10",_oneway:"true"}},{ms:{_desired:"id",_distance:"10",_oneway:"true"}},{ms:{_desired:"jak",_distance:"10",_oneway:"true"}},{ms:{_desired:"jax",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvb",_distance:"10",_oneway:"true"}},{ms:{_desired:"kvr",_distance:"10",_oneway:"true"}},{ms:{_desired:"kxd",_distance:"10",_oneway:"true"}},{ms:{_desired:"lce",_distance:"10",_oneway:"true"}},{ms:{_desired:"lcf",_distance:"10",_oneway:"true"}},{ms:{_desired:"liw",_distance:"10",_oneway:"true"}},{ms:{_desired:"max",_distance:"10",_oneway:"true"}},{ms:{_desired:"meo",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfa",_distance:"10",_oneway:"true"}},{ms:{_desired:"mfb",_distance:"10",_oneway:"true"}},{ms:{_desired:"min",_distance:"10",_oneway:"true"}},{ms:{_desired:"mqg",_distance:"10",_oneway:"true"}},{ms:{_desired:"msi",_distance:"10",_oneway:"true"}},{ms:{_desired:"mui",_distance:"10",_oneway:"true"}},{ms:{_desired:"orn",_distance:"10",_oneway:"true"}},{ms:{_desired:"ors",_distance:"10",_oneway:"true"}},{ms:{_desired:"pel",_distance:"10",_oneway:"true"}},{ms:{_desired:"pse",_distance:"10",_oneway:"true"}},{ms:{_desired:"tmw",_distance:"10",_oneway:"true"}},{ms:{_desired:"urk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkk",_distance:"10",_oneway:"true"}},{ms:{_desired:"vkt",_distance:"10",_oneway:"true"}},{ms:{_desired:"xmm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zlm",_distance:"10",_oneway:"true"}},{ms:{_desired:"zmi",_distance:"10",_oneway:"true"}},{ne:{_desired:"dty",_distance:"10",_oneway:"true"}},{om:{_desired:"gax",_distance:"10",_oneway:"true"}},{om:{_desired:"hae",_distance:"10",_oneway:"true"}},{om:{_desired:"orc",_distance:"10",_oneway:"true"}},{or:{_desired:"spv",_distance:"10",_oneway:"true"}},{ps:{_desired:"pbt",_distance:"10",_oneway:"true"}},{ps:{_desired:"pst",_distance:"10",_oneway:"true"}},{qu:{_desired:"qub",_distance:"10",_oneway:"true"}},{qu:{_desired:"qud",_distance:"10",_oneway:"true"}},{qu:{_desired:"quf",_distance:"10",_oneway:"true"}},{qu:{_desired:"qug",_distance:"10",_oneway:"true"}},{qu:{_desired:"quh",_distance:"10",_oneway:"true"}},{qu:{_desired:"quk",_distance:"10",_oneway:"true"}},{qu:{_desired:"qul",_distance:"10",_oneway:"true"}},{qu:{_desired:"qup",_distance:"10",_oneway:"true"}},{qu:{_desired:"qur",_distance:"10",_oneway:"true"}},{qu:{_desired:"qus",_distance:"10",_oneway:"true"}},{qu:{_desired:"quw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qux",_distance:"10",_oneway:"true"}},{qu:{_desired:"quy",_distance:"10",_oneway:"true"}},{qu:{_desired:"qva",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qve",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvi",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvj",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvm",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvs",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvw",_distance:"10",_oneway:"true"}},{qu:{_desired:"qvz",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qwh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qws",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxa",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxc",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxh",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxl",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxn",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxo",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxp",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxr",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxt",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxu",_distance:"10",_oneway:"true"}},{qu:{_desired:"qxw",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdc",_distance:"10",_oneway:"true"}},{sc:{_desired:"sdn",_distance:"10",_oneway:"true"}},{sc:{_desired:"sro",_distance:"10",_oneway:"true"}},{sq:{_desired:"aae",_distance:"10",_oneway:"true"}},{sq:{_desired:"aat",_distance:"10",_oneway:"true"}},{sq:{_desired:"aln",_distance:"10",_oneway:"true"}},{syr:{_desired:"aii",_distance:"10",_oneway:"true"}},{uz:{_desired:"uzs",_distance:"10",_oneway:"true"}},{yi:{_desired:"yih",_distance:"10",_oneway:"true"}},{zh:{_desired:"cdo",_distance:"10",_oneway:"true"}},{zh:{_desired:"cjy",_distance:"10",_oneway:"true"}},{zh:{_desired:"cpx",_distance:"10",_oneway:"true"}},{zh:{_desired:"czh",_distance:"10",_oneway:"true"}},{zh:{_desired:"czo",_distance:"10",_oneway:"true"}},{zh:{_desired:"gan",_distance:"10",_oneway:"true"}},{zh:{_desired:"hak",_distance:"10",_oneway:"true"}},{zh:{_desired:"hsn",_distance:"10",_oneway:"true"}},{zh:{_desired:"lzh",_distance:"10",_oneway:"true"}},{zh:{_desired:"mnp",_distance:"10",_oneway:"true"}},{zh:{_desired:"nan",_distance:"10",_oneway:"true"}},{zh:{_desired:"wuu",_distance:"10",_oneway:"true"}},{zh:{_desired:"yue",_distance:"10",_oneway:"true"}},{"*":{_desired:"*",_distance:"80"}},{"en-Latn":{_desired:"am-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"az-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"bn-Beng",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"bo-Tibt",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"hy-Armn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ka-Geor",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"km-Khmr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"kn-Knda",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"lo-Laoo",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ml-Mlym",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"my-Mymr",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ne-Deva",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"or-Orya",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"pa-Guru",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ps-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"sd-Arab",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"si-Sinh",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ta-Taml",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"te-Telu",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ti-Ethi",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"tk-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"ur-Arab",_distance:"10",_oneway:"true"}},{"ru-Cyrl":{_desired:"uz-Latn",_distance:"10",_oneway:"true"}},{"en-Latn":{_desired:"yi-Hebr",_distance:"10",_oneway:"true"}},{"sr-Cyrl":{_desired:"sr-Latn",_distance:"5"}},{"zh-Hans":{_desired:"za-Latn",_distance:"10",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"zh-Hant":{_desired:"zh-Hani",_distance:"20",_oneway:"true"}},{"ar-Arab":{_desired:"ar-Latn",_distance:"20",_oneway:"true"}},{"bn-Beng":{_desired:"bn-Latn",_distance:"20",_oneway:"true"}},{"gu-Gujr":{_desired:"gu-Latn",_distance:"20",_oneway:"true"}},{"hi-Deva":{_desired:"hi-Latn",_distance:"20",_oneway:"true"}},{"kn-Knda":{_desired:"kn-Latn",_distance:"20",_oneway:"true"}},{"ml-Mlym":{_desired:"ml-Latn",_distance:"20",_oneway:"true"}},{"mr-Deva":{_desired:"mr-Latn",_distance:"20",_oneway:"true"}},{"ta-Taml":{_desired:"ta-Latn",_distance:"20",_oneway:"true"}},{"te-Telu":{_desired:"te-Latn",_distance:"20",_oneway:"true"}},{"zh-Hans":{_desired:"zh-Latn",_distance:"20",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Latn",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hani",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ja-Jpan":{_desired:"ja-Hrkt",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Hira",_distance:"5",_oneway:"true"}},{"ja-Hrkt":{_desired:"ja-Kana",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hani",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Hang",_distance:"5",_oneway:"true"}},{"ko-Kore":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"ko-Hang":{_desired:"ko-Jamo",_distance:"5",_oneway:"true"}},{"*-*":{_desired:"*-*",_distance:"50"}},{"ar-*-$maghreb":{_desired:"ar-*-$maghreb",_distance:"4"}},{"ar-*-$!maghreb":{_desired:"ar-*-$!maghreb",_distance:"4"}},{"ar-*-*":{_desired:"ar-*-*",_distance:"5"}},{"en-*-$enUS":{_desired:"en-*-$enUS",_distance:"4"}},{"en-*-GB":{_desired:"en-*-$!enUS",_distance:"3"}},{"en-*-$!enUS":{_desired:"en-*-$!enUS",_distance:"4"}},{"en-*-*":{_desired:"en-*-*",_distance:"5"}},{"es-*-$americas":{_desired:"es-*-$americas",_distance:"4"}},{"es-*-$!americas":{_desired:"es-*-$!americas",_distance:"4"}},{"es-*-*":{_desired:"es-*-*",_distance:"5"}},{"pt-*-$americas":{_desired:"pt-*-$americas",_distance:"4"}},{"pt-*-$!americas":{_desired:"pt-*-$!americas",_distance:"4"}},{"pt-*-*":{_desired:"pt-*-*",_distance:"5"}},{"zh-Hant-$cnsar":{_desired:"zh-Hant-$cnsar",_distance:"4"}},{"zh-Hant-$!cnsar":{_desired:"zh-Hant-$!cnsar",_distance:"4"}},{"zh-Hant-*":{_desired:"zh-Hant-*",_distance:"5"}},{"*-*-*":{_desired:"*-*-*",_distance:"4"}}]}}},mt={"001":["001","001-status-grouping","002","005","009","011","013","014","015","017","018","019","021","029","030","034","035","039","053","054","057","061","142","143","145","150","151","154","155","AC","AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CP","CQ","CR","CU","CV","CW","CX","CY","CZ","DE","DG","DJ","DK","DM","DO","DZ","EA","EC","EE","EG","EH","ER","ES","ET","EU","EZ","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","IC","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","QO","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TA","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","UN","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","XK","YE","YT","ZA","ZM","ZW"],"002":["002","002-status-grouping","011","014","015","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","DZ","EA","EG","EH","ER","ET","GA","GH","GM","GN","GQ","GW","IC","IO","KE","KM","LR","LS","LY","MA","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SD","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TN","TZ","UG","YT","ZA","ZM","ZW"],"003":["003","013","021","029","AG","AI","AW","BB","BL","BM","BQ","BS","BZ","CA","CR","CU","CW","DM","DO","GD","GL","GP","GT","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PM","PR","SV","SX","TC","TT","US","VC","VG","VI"],"005":["005","AR","BO","BR","BV","CL","CO","EC","FK","GF","GS","GY","PE","PY","SR","UY","VE"],"009":["009","053","054","057","061","AC","AQ","AS","AU","CC","CK","CP","CX","DG","FJ","FM","GU","HM","KI","MH","MP","NC","NF","NR","NU","NZ","PF","PG","PN","PW","QO","SB","TA","TK","TO","TV","UM","VU","WF","WS"],"011":["011","BF","BJ","CI","CV","GH","GM","GN","GW","LR","ML","MR","NE","NG","SH","SL","SN","TG"],"013":["013","BZ","CR","GT","HN","MX","NI","PA","SV"],"014":["014","BI","DJ","ER","ET","IO","KE","KM","MG","MU","MW","MZ","RE","RW","SC","SO","SS","TF","TZ","UG","YT","ZM","ZW"],"015":["015","DZ","EA","EG","EH","IC","LY","MA","SD","TN"],"017":["017","AO","CD","CF","CG","CM","GA","GQ","ST","TD"],"018":["018","BW","LS","NA","SZ","ZA"],"019":["003","005","013","019","019-status-grouping","021","029","419","AG","AI","AR","AW","BB","BL","BM","BO","BQ","BR","BS","BV","BZ","CA","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GL","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PM","PR","PY","SR","SV","SX","TC","TT","US","UY","VC","VE","VG","VI"],"021":["021","BM","CA","GL","PM","US"],"029":["029","AG","AI","AW","BB","BL","BQ","BS","CU","CW","DM","DO","GD","GP","HT","JM","KN","KY","LC","MF","MQ","MS","PR","SX","TC","TT","VC","VG","VI"],"030":["030","CN","HK","JP","KP","KR","MN","MO","TW"],"034":["034","AF","BD","BT","IN","IR","LK","MV","NP","PK"],"035":["035","BN","ID","KH","LA","MM","MY","PH","SG","TH","TL","VN"],"039":["039","AD","AL","BA","ES","GI","GR","HR","IT","ME","MK","MT","PT","RS","SI","SM","VA","XK"],"053":["053","AU","CC","CX","HM","NF","NZ"],"054":["054","FJ","NC","PG","SB","VU"],"057":["057","FM","GU","KI","MH","MP","NR","PW","UM"],"061":["061","AS","CK","NU","PF","PN","TK","TO","TV","WF","WS"],142:["030","034","035","142","143","145","AE","AF","AM","AZ","BD","BH","BN","BT","CN","CY","GE","HK","ID","IL","IN","IQ","IR","JO","JP","KG","KH","KP","KR","KW","KZ","LA","LB","LK","MM","MN","MO","MV","MY","NP","OM","PH","PK","PS","QA","SA","SG","SY","TH","TJ","TL","TM","TR","TW","UZ","VN","YE"],143:["143","KG","KZ","TJ","TM","UZ"],145:["145","AE","AM","AZ","BH","CY","GE","IL","IQ","JO","KW","LB","OM","PS","QA","SA","SY","TR","YE"],150:["039","150","151","154","155","AD","AL","AT","AX","BA","BE","BG","BY","CH","CQ","CZ","DE","DK","EE","ES","FI","FO","FR","GB","GG","GI","GR","HR","HU","IE","IM","IS","IT","JE","LI","LT","LU","LV","MC","MD","ME","MK","MT","NL","NO","PL","PT","RO","RS","RU","SE","SI","SJ","SK","SM","UA","VA","XK"],151:["151","BG","BY","CZ","HU","MD","PL","RO","RU","SK","UA"],154:["154","AX","CQ","DK","EE","FI","FO","GB","GG","IE","IM","IS","JE","LT","LV","NO","SE","SJ"],155:["155","AT","BE","CH","DE","FR","LI","LU","MC","NL"],202:["011","014","017","018","202","AO","BF","BI","BJ","BW","CD","CF","CG","CI","CM","CV","DJ","ER","ET","GA","GH","GM","GN","GQ","GW","IO","KE","KM","LR","LS","MG","ML","MR","MU","MW","MZ","NA","NE","NG","RE","RW","SC","SH","SL","SN","SO","SS","ST","SZ","TD","TF","TG","TZ","UG","YT","ZA","ZM","ZW"],419:["005","013","029","419","AG","AI","AR","AW","BB","BL","BO","BQ","BR","BS","BV","BZ","CL","CO","CR","CU","CW","DM","DO","EC","FK","GD","GF","GP","GS","GT","GY","HN","HT","JM","KN","KY","LC","MF","MQ","MS","MX","NI","PA","PE","PR","PY","SR","SV","SX","TC","TT","UY","VC","VE","VG","VI"],EU:["AT","BE","BG","CY","CZ","DE","DK","EE","ES","EU","FI","FR","GR","HR","HU","IE","IT","LT","LU","LV","MT","NL","PL","PT","RO","SE","SI","SK"],EZ:["AT","BE","CY","DE","EE","ES","EZ","FI","FR","GR","IE","IT","LT","LU","LV","MT","NL","PT","SI","SK"],QO:["AC","AQ","CP","DG","QO","TA"],UN:["AD","AE","AF","AG","AL","AM","AO","AR","AT","AU","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BN","BO","BR","BS","BT","BW","BY","BZ","CA","CD","CF","CG","CH","CI","CL","CM","CN","CO","CR","CU","CV","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","ER","ES","ET","FI","FJ","FM","FR","GA","GB","GD","GE","GH","GM","GN","GQ","GR","GT","GW","GY","HN","HR","HT","HU","ID","IE","IL","IN","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MG","MH","MK","ML","MM","MN","MR","MT","MU","MV","MW","MX","MY","MZ","NA","NE","NG","NI","NL","NO","NP","NR","NZ","OM","PA","PE","PG","PH","PK","PL","PT","PW","PY","QA","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SI","SK","SL","SM","SN","SO","SR","SS","ST","SV","SY","SZ","TD","TG","TH","TJ","TL","TM","TN","TO","TR","TT","TV","TZ","UA","UG","UN","US","UY","UZ","VC","VE","VN","VU","WS","YE","ZA","ZM","ZW"]},ve=/-u(?:-[0-9a-z]{2,8})+/gi;function V(e,n,t=Error){if(!e)throw new t(n)}const wt=838;let pe;function ht(){if(!pe){const e=ge.supplemental.languageMatching["written-new"][0]?.paradigmLocales?._locales.split(" "),n=ge.supplemental.languageMatching["written-new"].slice(1,5);pe={matches:ge.supplemental.languageMatching["written-new"].slice(5).map(i=>{const r=Object.keys(i)[0],s=i[r];return{supported:r,desired:s._desired,distance:+s._distance,oneway:s.oneway==="true"}},{}),matchVariables:n.reduce((i,r)=>{const s=Object.keys(r)[0],u=r[s];return i[s.slice(1)]=u._value.split("+"),i},{}),paradigmLocales:[...e,...e.map(i=>new Intl.Locale(i.replace(/_/g,"-")).maximize().toString())]}}return pe}function ue(e,n,t){const[a,i,r]=n.split("-");let s=!0;if(r&&r[0]==="$"){const u=r[1]!=="!",o=(u?t[r.slice(1)]:t[r.slice(2)]).map(d=>mt[d]||[d]).reduce((d,c)=>[...d,...c],[]);s&&=o.indexOf(e.region||"")>-1==u}else s&&=e.region?r==="*"||r===e.region:!0;return s&&=e.script?i==="*"||i===e.script:!0,s&&=e.language?a==="*"||a===e.language:!0,s}function De(e){return[e.language,e.script,e.region].filter(Boolean).join("-")}function Se(e,n,t){for(const a of t.matches){let i=ue(e,a.desired,t.matchVariables)&&ue(n,a.supported,t.matchVariables);if(!a.oneway&&!i&&(i=ue(e,a.supported,t.matchVariables)&&ue(n,a.desired,t.matchVariables)),i){const r=a.distance*10;return t.paradigmLocales.indexOf(De(e))>-1!=t.paradigmLocales.indexOf(De(n))>-1?r-1:r}}throw new Error("No matching distance found")}function yt(e,n){const t=new Intl.Locale(e).maximize(),a=new Intl.Locale(n).maximize(),i={language:t.language,script:t.script||"",region:t.region||""},r={language:a.language,script:a.script||"",region:a.region||""};let s=0;const u=ht();return i.language!==r.language&&(s+=Se({language:t.language,script:"",region:""},{language:a.language,script:"",region:""},u)),i.script!==r.script&&(s+=Se({language:t.language,script:i.script,region:""},{language:a.language,script:r.script,region:""},u)),i.region!==r.region&&(s+=Se(i,r,u)),s}const gt=se(yt,{serializer:e=>`${e[0]}|${e[1]}`});function pt(e){const n=[];let t=e;for(;t;){n.push(t);const a=t.lastIndexOf("-");if(a===-1)break;t=t.substring(0,a)}return n}const Ge=new WeakMap;function St(e,n,t=wt){let a=1/0,i={matchedDesiredLocale:"",distances:{}},r=Ge.get(n);r||(r=n.map(u=>{try{return Intl.getCanonicalLocales([u])[0]||u}catch{return u}}),Ge.set(n,r));const s=new Set(r);for(let u=0;u<e.length;u++){const l=e[u];if(s.has(l)){const o=0+u*40;if(i.distances[l]={[l]:o},o<a&&(a=o,i.matchedDesiredLocale=l,i.matchedSupportedLocale=l),u===0)return i}}for(let u=0;u<e.length;u++){const l=e[u];try{const o=new Intl.Locale(l).maximize().toString();if(o!==l){const d=pt(o);for(let c=0;c<d.length;c++){const f=d[c];if(f!==l&&s.has(f)){let m;try{m=new Intl.Locale(f).maximize().toString()===o?0+u*40:c*10+u*40}catch{m=c*10+u*40}i.distances[l]||(i.distances[l]={}),i.distances[l][f]=m,m<a&&(a=m,i.matchedDesiredLocale=l,i.matchedSupportedLocale=f);break}}}}catch{}}return i.matchedSupportedLocale&&a===0||(e.forEach((u,l)=>{i.distances[u]||(i.distances[u]={}),r.forEach((o,d)=>{const c=n[d],m=gt(u,o)+0+l*40;i.distances[u][c]=m,m<a&&(a=m,i.matchedDesiredLocale=u,i.matchedSupportedLocale=c)})}),a>=t&&(i.matchedDesiredLocale=void 0,i.matchedSupportedLocale=void 0)),i}function bt(e,n,t){let a,i;const r=[],s=n.reduce((l,o)=>{const d=o.replace(ve,"");return r.push(d),l[d]=o,l},{}),u=St(r,e);return u.matchedSupportedLocale&&u.matchedDesiredLocale&&(a=u.matchedSupportedLocale,i=s[u.matchedDesiredLocale].slice(u.matchedDesiredLocale.length)||void 0),a?{locale:a,extension:i}:{locale:t()}}function Mt(e,n){let t=n.toLowerCase();return V(e!==void 0,"ukey must be defined"),t}function Ie(e){return Intl.getCanonicalLocales(e)[0]}function Lt(e,n,t){V(e.indexOf("-u-")===-1,"Expected locale to not have a Unicode locale extension");let a="-u";for(const s of n)a+=`-${s}`;for(const s of t){const{key:u,value:l}=s;a+=`-${u}`,l!==""&&(a+=`-${l}`)}if(a==="-u")return Ie(e);let i=e.indexOf("-x-"),r;if(i===-1)r=e+a;else{let s=e.slice(0,i),u=e.slice(i);r=s+a+u}return Ie(r)}const Be=new WeakMap;function tn(e,n){let t=Be.get(e);t||(t=new Set(e),Be.set(e,t));let a=n;for(;;){if(t.has(a))return a;let i=a.lastIndexOf("-");if(!~i)return;i>=2&&a[i-2]==="-"&&(i-=2),a=a.slice(0,i)}}function Et(e,n,t){const a={locale:""};for(const i of n){const r=i.replace(ve,""),s=tn(e,r);if(s)return a.locale=s,i!==r&&(a.extension=i.slice(r.length,i.length)),a}return a.locale=t(),a}function Nt(e){V(e===e.toLowerCase(),"Expected extension to be lowercase"),V(e.slice(0,3)==="-u-","Expected extension to be a Unicode locale extension");const n=[],t=[];let a,i=e.length,r=3;for(;r<i;){let s=e.indexOf("-",r),u;s===-1?u=i-r:u=s-r;let l=e.slice(r,r+u);V(u>=2,"Expected a subtag to have at least 2 characters"),a===void 0&&u!=2?n.indexOf(l)===-1&&n.push(l):u===2?(a={key:l,value:""},t.find(o=>o.key===a?.key)===void 0&&t.push(a)):a?.value===""?a.value=l:(V(a!==void 0,"Expected keyword to be defined"),a.value+="-"+l),r+=u+1}return{attributes:n,keywords:t}}function vt(e,n,t,a,i,r){const s=t.localeMatcher;let u;s==="lookup"?u=Et(Array.from(e),n,r):u=bt(Array.from(e),n,r),u==null&&(u={locale:r(),extension:""});let l=u.locale,o=i[l];const d={locale:"en",dataLocale:l};let c,f;u.extension?(c=Nt(u.extension),f=c.keywords):f=[];let m=[];for(const w of a){let v=o?.[w]??[];V(Array.isArray(v),`keyLocaleData for ${w} must be an array`);let b=v[0];V(b===void 0||typeof b=="string","value must be a string or undefined");let L,g=f.find(C=>C.key===w);if(g){let C=g.value;C!==""?v.indexOf(C)>-1&&(b=C,L={key:w,value:b}):v.indexOf("true")>-1&&(b="true",L={key:w,value:b})}let M=t[w];if(V(M==null||typeof M=="string","optionsValue must be a string or undefined"),typeof M=="string"){let C=w.toLowerCase();M=Mt(C,M),M===""&&(M="true")}M!==b&&v.indexOf(M)>-1&&(b=M,L=void 0),L&&m.push(L),d[w]=b}let S=[];return m.length>0&&(S=[],l=Lt(l,S,m)),d.locale=l,d}function Re(e,n){const t=[];for(const a of n){const i=a.replace(ve,""),r=tn(e,i);r&&t.push(r)}return t}function Ct(e,n,t){let a="best fit";return t!==void 0&&(t=en(t),a=ee(t,"localeMatcher","string",["lookup","best fit"],"best fit")),Re(Array.from(e),n)}function kt(e,n,t,a,i,r){let s=ee(n,e,"string",a,void 0),u="always";s===void 0&&(t==="digital"?(e!=="hours"&&e!=="minutes"&&e!=="seconds"&&(u="auto"),s=i):(u="auto",r==="numeric"||r==="2-digit"?s="numeric":s=t));let l=`${e}Display`,o=ee(n,l,"string",["always","auto"],u);if(r==="numeric"||r==="2-digit"){if(s!=="numeric"&&s!=="2-digit")throw new RangeError("Can't mix numeric and non-numeric styles");if((e==="minutes"||e==="seconds")&&(s="2-digit"),s==="numeric"&&o==="always"&&(e==="milliseconds"||e==="microseconds"||e==="nanoseconds"))throw new RangeError("Can't display milliseconds, microseconds, or nanoseconds in numeric format")}return{style:s,display:o}}const an=["years","months","weeks","days","hours","minutes","seconds","milliseconds","microseconds","nanoseconds"],Oe=[{valueField:"years",styleSlot:"years",displaySlot:"yearsDisplay",unit:"years",numberFormatUnit:"year"},{valueField:"months",styleSlot:"months",displaySlot:"monthsDisplay",unit:"months",numberFormatUnit:"month"},{valueField:"weeks",styleSlot:"weeks",displaySlot:"weeksDisplay",unit:"weeks",numberFormatUnit:"week"},{valueField:"days",styleSlot:"days",displaySlot:"daysDisplay",unit:"days",numberFormatUnit:"day"},{valueField:"hours",styleSlot:"hours",displaySlot:"hoursDisplay",unit:"hours",numberFormatUnit:"hour"},{valueField:"minutes",styleSlot:"minutes",displaySlot:"minutesDisplay",unit:"minutes",numberFormatUnit:"minute"},{valueField:"seconds",styleSlot:"seconds",displaySlot:"secondsDisplay",unit:"seconds",numberFormatUnit:"second"},{valueField:"milliseconds",styleSlot:"milliseconds",displaySlot:"millisecondsDisplay",unit:"milliseconds",numberFormatUnit:"millisecond"},{valueField:"microseconds",styleSlot:"microseconds",displaySlot:"microsecondsDisplay",unit:"microseconds",numberFormatUnit:"microsecond"},{valueField:"nanoseconds",styleSlot:"nanoseconds",displaySlot:"nanosecondsDisplay",unit:"nanoseconds",numberFormatUnit:"nanosecond"}],Pe=new WeakMap;function ie(e){let n=Pe.get(e);return n||(n=Object.create(null),Pe.set(e,n)),n}function Fe(e,n){const t=[];let a=!1,i=!1;const r=ie(e);let s=r.dataLocale;const u=U.localeData[s];if(!u)throw new TypeError("Invalid locale");const l=r.numberingSystem,o=u.digitalFormat[l];for(let L=0;L<Oe.length&&!a;L++){const g=Oe[L];let M=n[g.valueField];const C=r[g.styleSlot],B=r[g.displaySlot],{unit:P,numberFormatUnit:$}=g,A=Object.create(null);if(P==="seconds"||P==="milliseconds"||P==="microseconds"){let H;P==="seconds"?H=r.milliseconds:P==="milliseconds"?H=r.microseconds:H=r.nanoseconds,H==="numeric"&&(P==="seconds"?M+=n.milliseconds/1e3+n.microseconds/1e6+n.nanoseconds/1e9:P==="milliseconds"?M+=n.microseconds/1e3+n.nanoseconds/1e6:M+=n.nanoseconds/1e3,r.fractionalDigits===void 0?(A.maximumFractionDigits=9,A.minimumFractionDigits=0):(A.maximumFractionDigits=r.fractionalDigits,A.minimumFractionDigits=r.fractionalDigits),A.roundingMode="trunc",a=!0)}if(M!==0||B!=="auto"){A.numberingSystem=r.numberingSystem,C==="2-digit"&&(A.minimumIntegerDigits=2),C!=="2-digit"&&C!=="numeric"&&(A.style="unit",A.unit=$,A.unitDisplay=C);const H=st(r.locale,A);let T;i?(T=t[t.length-1],T.push({type:"literal",value:o})):T=[],H.formatToParts(M).forEach(({type:Q,value:ae})=>{T.push({type:Q,value:ae,unit:$})}),i||((C==="2-digit"||C==="numeric")&&(i=!0),t.push(T))}else i=!1}const d=Object.create(null);d.type="unit";let c=r.style;c==="digital"&&(c="short"),d.style=c;const f=ut(r.locale,d),m=[];for(const L of t){let g="";for(const{value:M}of L)g+=M;m.push(g)}let S=f.formatToParts(m),w=0,v=t.length,b=[];for(const{type:L,value:g}of S)if(L==="element"){j(w<v,"Index out of bounds");let M=t[w];for(const C of M)b.push(C);w++}else j(L==="literal","Type must be literal"),b.push({type:"literal",value:g});return b}function At(e){for(const n of an){if(e[n]<0)return-1;if(e[n]>0)return 1}return 0}function Tt(e){const n=At(e);for(const t of an){const a=e[t];if(j(isFinite(Number(a)),`${t} is not finite`),a<0&&n>0||a>0&&n<0)return!1}return!0}function q(e){const n=Xe(e);return j(n.isInteger(),`${e} is not an integer`),n.toNumber()}function He(e){if(typeof e!="object")throw typeof e=="string"?new RangeError("Invalid duration format"):new TypeError("Invalid duration");const n={years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0,milliseconds:0,microseconds:0,nanoseconds:0};if(e.days!==void 0&&(n.days=q(e.days)),e.hours!==void 0&&(n.hours=q(e.hours)),e.microseconds!==void 0&&(n.microseconds=q(e.microseconds)),e.milliseconds!==void 0&&(n.milliseconds=q(e.milliseconds)),e.minutes!==void 0&&(n.minutes=q(e.minutes)),e.months!==void 0&&(n.months=q(e.months)),e.nanoseconds!==void 0&&(n.nanoseconds=q(e.nanoseconds)),e.seconds!==void 0&&(n.seconds=q(e.seconds)),e.weeks!==void 0&&(n.weeks=q(e.weeks)),e.years!==void 0&&(n.years=q(e.years)),e.years===void 0&&e.months===void 0&&e.weeks===void 0&&e.days===void 0&&e.hours===void 0&&e.minutes===void 0&&e.seconds===void 0&&e.milliseconds===void 0&&e.microseconds===void 0&&e.nanoseconds===void 0)throw new TypeError("Invalid duration format");if(!Tt(n))throw new RangeError("Invalid duration format");return n}const Dt=["adlm","ahom","arab","arabext","armn","armnlow","bali","beng","bhks","brah","cakm","cham","cyrl","deva","diak","ethi","fullwide","gara","geor","gong","gonm","grek","greklow","gujr","gukh","guru","hanidays","hanidec","hans","hansfin","hant","hantfin","hebr","hmng","hmnp","java","jpan","jpanfin","jpanyear","kali","kawi","khmr","knda","krai","lana","lanatham","laoo","latn","lepc","limb","mathbold","mathdbl","mathmono","mathsanb","mathsans","mlym","modi","mong","mroo","mtei","mymr","mymrepka","mymrpao","mymrshan","mymrtlng","nagm","newa","nkoo","olck","onao","orya","osma","outlined","rohg","roman","romanlow","saur","segment","shrd","sind","sinh","sora","sund","sunu","takr","talu","taml","tamldec","telu","thai","tibt","tirh","tnsa","tols","vaii","wara","wcho"],oe={default:":",localeData:{aa:{nu:["latn"]},"aa-DJ":{nu:["latn"]},"aa-ER":{nu:["latn"]},ab:{nu:["latn"]},af:{nu:["latn"]},"af-NA":{nu:["latn"]},agq:{nu:["latn"]},ak:{nu:["latn"]},am:{nu:["latn"]},an:{nu:["latn"]},ann:{nu:["latn"]},apc:{nu:["latn"]},ar:{nu:["latn","latn"]},"ar-AE":{nu:["latn","latn"]},"ar-BH":{nu:["arab","latn"]},"ar-DJ":{nu:["arab","latn"]},"ar-DZ":{nu:["latn","latn"]},"ar-EG":{nu:["arab","latn"]},"ar-EH":{nu:["latn","latn"]},"ar-ER":{nu:["arab","latn"]},"ar-IL":{nu:["arab","latn"]},"ar-IQ":{nu:["arab","latn"]},"ar-JO":{nu:["arab","latn"]},"ar-KM":{nu:["arab","latn"]},"ar-KW":{nu:["arab","latn"]},"ar-LB":{nu:["arab","latn"]},"ar-LY":{nu:["latn","latn"]},"ar-MA":{nu:["latn","latn"]},"ar-MR":{nu:["arab","latn"]},"ar-OM":{nu:["arab","latn"]},"ar-PS":{nu:["arab","latn"]},"ar-QA":{nu:["arab","latn"]},"ar-SA":{nu:["arab","latn"]},"ar-SD":{nu:["arab","latn"]},"ar-SO":{nu:["arab","latn"]},"ar-SS":{nu:["arab","latn"]},"ar-SY":{nu:["arab","latn"]},"ar-TD":{nu:["arab","latn"]},"ar-TN":{nu:["latn","latn"]},"ar-YE":{nu:["arab","latn"]},arn:{nu:["latn"]},as:{nu:["beng"]},asa:{nu:["latn"]},ast:{nu:["latn"]},az:{nu:["latn"]},"az-Arab":{nu:["arabext"]},"az-Arab-IQ":{nu:["arabext"]},"az-Arab-TR":{nu:["arabext"]},"az-Cyrl":{nu:["latn"]},"az-Latn":{nu:["latn"]},ba:{nu:["latn"]},bal:{nu:["latn"]},"bal-Arab":{nu:["latn"]},"bal-Latn":{nu:["latn"]},bas:{nu:["latn"]},be:{nu:["latn"]},"be-tarask":{nu:["latn"]},bem:{nu:["latn"]},bew:{nu:["latn"]},bez:{nu:["latn"]},bg:{nu:["latn"]},bgc:{nu:["deva"]},bgn:{nu:["arabext"]},"bgn-AE":{nu:["arabext"]},"bgn-AF":{nu:["arabext"]},"bgn-IR":{nu:["arabext"]},"bgn-OM":{nu:["arabext"]},bho:{nu:["deva"]},blo:{nu:["latn"]},blt:{nu:["latn"]},bm:{nu:["latn"]},"bm-Nkoo":{nu:["latn"]},bn:{nu:["beng"]},"bn-IN":{nu:["beng"]},bo:{nu:["latn"]},"bo-IN":{nu:["latn"]},bqi:{nu:["latn"]},br:{nu:["latn"]},brx:{nu:["latn"]},bs:{nu:["latn"]},"bs-Cyrl":{nu:["latn"]},"bs-Latn":{nu:["latn"]},bss:{nu:["latn"]},bua:{nu:["latn"]},byn:{nu:["latn"]},ca:{nu:["latn"]},"ca-AD":{nu:["latn"]},"ca-ES-valencia":{nu:["latn"]},"ca-FR":{nu:["latn"]},"ca-IT":{nu:["latn"]},cad:{nu:["latn"]},cch:{nu:["latn"]},ccp:{nu:["cakm"]},"ccp-IN":{nu:["cakm"]},ce:{nu:["latn"]},ceb:{nu:["latn"]},cgg:{nu:["latn"]},cho:{nu:["latn"]},chr:{nu:["latn"]},cic:{nu:["latn"]},ckb:{nu:["arab"]},"ckb-IR":{nu:["arab"]},co:{nu:["latn"]},cop:{nu:["latn"]},cs:{nu:["latn"]},csw:{nu:["latn"]},cu:{nu:["latn"]},cv:{nu:["latn"]},cy:{nu:["latn"]},da:{nu:["latn"],separator:{latn:"."}},"da-GL":{nu:["latn"],separator:{latn:"."}},dav:{nu:["latn"]},de:{nu:["latn"]},"de-AT":{nu:["latn"]},"de-BE":{nu:["latn"]},"de-CH":{nu:["latn"]},"de-IT":{nu:["latn"]},"de-LI":{nu:["latn"]},"de-LU":{nu:["latn"]},dje:{nu:["latn"]},doi:{nu:["latn"]},dsb:{nu:["latn"]},dua:{nu:["latn"]},dv:{nu:["latn"]},dyo:{nu:["latn"]},dz:{nu:["tibt"]},ebu:{nu:["latn"]},ee:{nu:["latn"]},"ee-TG":{nu:["latn"]},el:{nu:["latn"]},"el-CY":{nu:["latn"]},"el-polyton":{nu:["latn"]},en:{nu:["latn"]},"en-001":{nu:["latn"]},"en-150":{nu:["latn"]},"en-AE":{nu:["latn"]},"en-AG":{nu:["latn"]},"en-AI":{nu:["latn"]},"en-AS":{nu:["latn"]},"en-AT":{nu:["latn"]},"en-AU":{nu:["latn"]},"en-BB":{nu:["latn"]},"en-BE":{nu:["latn"]},"en-BI":{nu:["latn"]},"en-BM":{nu:["latn"]},"en-BS":{nu:["latn"]},"en-BW":{nu:["latn"]},"en-BZ":{nu:["latn"]},"en-CA":{nu:["latn"]},"en-CC":{nu:["latn"]},"en-CH":{nu:["latn"]},"en-CK":{nu:["latn"]},"en-CM":{nu:["latn"]},"en-CX":{nu:["latn"]},"en-CY":{nu:["latn"]},"en-CZ":{nu:["latn"]},"en-DE":{nu:["latn"]},"en-DG":{nu:["latn"]},"en-DK":{nu:["latn"],separator:{latn:"."}},"en-DM":{nu:["latn"]},"en-Dsrt":{nu:["latn"]},"en-EE":{nu:["latn"]},"en-ER":{nu:["latn"]},"en-ES":{nu:["latn"]},"en-FI":{nu:["latn"],separator:{latn:"."}},"en-FJ":{nu:["latn"]},"en-FK":{nu:["latn"]},"en-FM":{nu:["latn"]},"en-FR":{nu:["latn"]},"en-GB":{nu:["latn"]},"en-GD":{nu:["latn"]},"en-GE":{nu:["latn"]},"en-GG":{nu:["latn"]},"en-GH":{nu:["latn"]},"en-GI":{nu:["latn"]},"en-GM":{nu:["latn"]},"en-GS":{nu:["latn"]},"en-GU":{nu:["latn"]},"en-GY":{nu:["latn"]},"en-HK":{nu:["latn"]},"en-HU":{nu:["latn"]},"en-ID":{nu:["latn"]},"en-IE":{nu:["latn"]},"en-IL":{nu:["latn"]},"en-IM":{nu:["latn"]},"en-IN":{nu:["latn"]},"en-IO":{nu:["latn"]},"en-IT":{nu:["latn"]},"en-JE":{nu:["latn"]},"en-JM":{nu:["latn"]},"en-JP":{nu:["latn"]},"en-KE":{nu:["latn"]},"en-KI":{nu:["latn"]},"en-KN":{nu:["latn"]},"en-KY":{nu:["latn"]},"en-LC":{nu:["latn"]},"en-LR":{nu:["latn"]},"en-LS":{nu:["latn"]},"en-LT":{nu:["latn"]},"en-LV":{nu:["latn"]},"en-MG":{nu:["latn"]},"en-MH":{nu:["latn"]},"en-MO":{nu:["latn"]},"en-MP":{nu:["latn"]},"en-MS":{nu:["latn"]},"en-MT":{nu:["latn"]},"en-MU":{nu:["latn"]},"en-MV":{nu:["latn"]},"en-MW":{nu:["latn"]},"en-MY":{nu:["latn"]},"en-NA":{nu:["latn"]},"en-NF":{nu:["latn"]},"en-NG":{nu:["latn"]},"en-NL":{nu:["latn"]},"en-NO":{nu:["latn"]},"en-NR":{nu:["latn"]},"en-NU":{nu:["latn"]},"en-NZ":{nu:["latn"]},"en-PG":{nu:["latn"]},"en-PH":{nu:["latn"]},"en-PK":{nu:["latn"]},"en-PL":{nu:["latn"]},"en-PN":{nu:["latn"]},"en-PR":{nu:["latn"]},"en-PT":{nu:["latn"]},"en-PW":{nu:["latn"]},"en-RO":{nu:["latn"]},"en-RW":{nu:["latn"]},"en-SB":{nu:["latn"]},"en-SC":{nu:["latn"]},"en-SD":{nu:["latn"]},"en-SE":{nu:["latn"]},"en-SG":{nu:["latn"]},"en-SH":{nu:["latn"]},"en-SI":{nu:["latn"]},"en-SK":{nu:["latn"]},"en-SL":{nu:["latn"]},"en-SS":{nu:["latn"]},"en-SX":{nu:["latn"]},"en-SZ":{nu:["latn"]},"en-Shaw":{nu:["latn"]},"en-TC":{nu:["latn"]},"en-TK":{nu:["latn"]},"en-TO":{nu:["latn"]},"en-TT":{nu:["latn"]},"en-TV":{nu:["latn"]},"en-TZ":{nu:["latn"]},"en-UA":{nu:["latn"]},"en-UG":{nu:["latn"]},"en-UM":{nu:["latn"]},"en-VC":{nu:["latn"]},"en-VG":{nu:["latn"]},"en-VI":{nu:["latn"]},"en-VU":{nu:["latn"]},"en-WS":{nu:["latn"]},"en-ZA":{nu:["latn"]},"en-ZM":{nu:["latn"]},"en-ZW":{nu:["latn"]},eo:{nu:["latn"]},es:{nu:["latn"]},"es-419":{nu:["latn"]},"es-AR":{nu:["latn"]},"es-BO":{nu:["latn"]},"es-BR":{nu:["latn"]},"es-BZ":{nu:["latn"]},"es-CL":{nu:["latn"]},"es-CO":{nu:["latn"]},"es-CR":{nu:["latn"]},"es-CU":{nu:["latn"]},"es-DO":{nu:["latn"]},"es-EA":{nu:["latn"]},"es-EC":{nu:["latn"]},"es-GQ":{nu:["latn"]},"es-GT":{nu:["latn"]},"es-HN":{nu:["latn"]},"es-IC":{nu:["latn"]},"es-MX":{nu:["latn"]},"es-NI":{nu:["latn"]},"es-PA":{nu:["latn"]},"es-PE":{nu:["latn"]},"es-PH":{nu:["latn"]},"es-PR":{nu:["latn"]},"es-PY":{nu:["latn"]},"es-SV":{nu:["latn"]},"es-US":{nu:["latn"]},"es-UY":{nu:["latn"]},"es-VE":{nu:["latn"]},et:{nu:["latn"]},eu:{nu:["latn"]},ewo:{nu:["latn"]},fa:{nu:["arabext"]},"fa-AF":{nu:["arabext"]},ff:{nu:["latn"]},"ff-Adlm":{nu:["adlm"]},"ff-Adlm-BF":{nu:["adlm"]},"ff-Adlm-CM":{nu:["adlm"]},"ff-Adlm-GH":{nu:["adlm"]},"ff-Adlm-GM":{nu:["adlm"]},"ff-Adlm-GW":{nu:["adlm"]},"ff-Adlm-LR":{nu:["adlm"]},"ff-Adlm-MR":{nu:["adlm"]},"ff-Adlm-NE":{nu:["adlm"]},"ff-Adlm-NG":{nu:["adlm"]},"ff-Adlm-SL":{nu:["adlm"]},"ff-Adlm-SN":{nu:["adlm"]},"ff-Latn":{nu:["latn"]},"ff-Latn-BF":{nu:["latn"]},"ff-Latn-CM":{nu:["latn"]},"ff-Latn-GH":{nu:["latn"]},"ff-Latn-GM":{nu:["latn"]},"ff-Latn-GN":{nu:["latn"]},"ff-Latn-GW":{nu:["latn"]},"ff-Latn-LR":{nu:["latn"]},"ff-Latn-MR":{nu:["latn"]},"ff-Latn-NE":{nu:["latn"]},"ff-Latn-NG":{nu:["latn"]},"ff-Latn-SL":{nu:["latn"]},fi:{nu:["latn"],separator:{latn:"."}},fil:{nu:["latn"]},fo:{nu:["latn"]},"fo-DK":{nu:["latn"]},fr:{nu:["latn"]},"fr-BE":{nu:["latn"]},"fr-BF":{nu:["latn"]},"fr-BI":{nu:["latn"]},"fr-BJ":{nu:["latn"]},"fr-BL":{nu:["latn"]},"fr-CA":{nu:["latn"]},"fr-CD":{nu:["latn"]},"fr-CF":{nu:["latn"]},"fr-CG":{nu:["latn"]},"fr-CH":{nu:["latn"]},"fr-CI":{nu:["latn"]},"fr-CM":{nu:["latn"]},"fr-DJ":{nu:["latn"]},"fr-DZ":{nu:["latn"]},"fr-GA":{nu:["latn"]},"fr-GF":{nu:["latn"]},"fr-GN":{nu:["latn"]},"fr-GP":{nu:["latn"]},"fr-GQ":{nu:["latn"]},"fr-HT":{nu:["latn"]},"fr-KM":{nu:["latn"]},"fr-LU":{nu:["latn"]},"fr-MA":{nu:["latn"]},"fr-MC":{nu:["latn"]},"fr-MF":{nu:["latn"]},"fr-MG":{nu:["latn"]},"fr-ML":{nu:["latn"]},"fr-MQ":{nu:["latn"]},"fr-MR":{nu:["latn"]},"fr-MU":{nu:["latn"]},"fr-NC":{nu:["latn"]},"fr-NE":{nu:["latn"]},"fr-PF":{nu:["latn"]},"fr-PM":{nu:["latn"]},"fr-RE":{nu:["latn"]},"fr-RW":{nu:["latn"]},"fr-SC":{nu:["latn"]},"fr-SN":{nu:["latn"]},"fr-SY":{nu:["latn"]},"fr-TD":{nu:["latn"]},"fr-TG":{nu:["latn"]},"fr-TN":{nu:["latn"]},"fr-VU":{nu:["latn"]},"fr-WF":{nu:["latn"]},"fr-YT":{nu:["latn"]},frr:{nu:["latn"]},fur:{nu:["latn"]},fy:{nu:["latn"]},ga:{nu:["latn"]},"ga-GB":{nu:["latn"]},gaa:{nu:["latn"]},gd:{nu:["latn"]},gez:{nu:["latn"]},"gez-ER":{nu:["latn"]},gl:{nu:["latn"]},gn:{nu:["latn"]},gsw:{nu:["latn"]},"gsw-FR":{nu:["latn"]},"gsw-LI":{nu:["latn"]},gu:{nu:["latn"]},guz:{nu:["latn"]},gv:{nu:["latn"]},ha:{nu:["latn"]},"ha-Arab":{nu:["latn"]},"ha-Arab-SD":{nu:["latn"]},"ha-GH":{nu:["latn"]},"ha-NE":{nu:["latn"]},haw:{nu:["latn"]},he:{nu:["latn"]},hi:{nu:["latn"]},"hi-Latn":{nu:["latn"]},hnj:{nu:["hmnp","latn"]},"hnj-Hmnp":{nu:["hmnp","latn"]},hr:{nu:["latn"]},"hr-BA":{nu:["latn"]},hsb:{nu:["latn"]},ht:{nu:["latn"]},hu:{nu:["latn"]},hy:{nu:["latn"]},ia:{nu:["latn"]},id:{nu:["latn"],separator:{latn:"."}},ie:{nu:["latn"]},ig:{nu:["latn"]},ii:{nu:["latn"]},io:{nu:["latn"]},is:{nu:["latn"]},it:{nu:["latn"]},"it-CH":{nu:["latn"]},"it-SM":{nu:["latn"]},"it-VA":{nu:["latn"]},iu:{nu:["latn"]},"iu-Latn":{nu:["latn"]},ja:{nu:["latn"]},jbo:{nu:["latn"]},jgo:{nu:["latn"]},jmc:{nu:["latn"]},jv:{nu:["latn"]},ka:{nu:["latn"]},kaa:{nu:["latn"]},"kaa-Cyrl":{nu:["latn"]},"kaa-Latn":{nu:["latn"]},kab:{nu:["latn"]},kaj:{nu:["latn"]},kam:{nu:["latn"]},kcg:{nu:["latn"]},kde:{nu:["latn"]},kea:{nu:["latn"]},kek:{nu:["latn"]},ken:{nu:["latn"]},kgp:{nu:["latn"]},khq:{nu:["latn"]},ki:{nu:["latn"]},kk:{nu:["latn"]},"kk-Arab":{nu:["latn"]},"kk-Cyrl":{nu:["latn"]},"kk-KZ":{nu:["latn"]},kkj:{nu:["latn"]},kl:{nu:["latn"]},kln:{nu:["latn"]},km:{nu:["latn"]},kn:{nu:["latn"]},ko:{nu:["latn"]},"ko-CN":{nu:["latn"]},"ko-KP":{nu:["latn"]},kok:{nu:["latn"]},"kok-Deva":{nu:["latn"]},"kok-Latn":{nu:["latn"]},kpe:{nu:["latn"]},"kpe-GN":{nu:["latn"]},ks:{nu:["arabext"]},"ks-Arab":{nu:["arabext"]},"ks-Deva":{nu:["latn"]},ksb:{nu:["latn"]},ksf:{nu:["latn"]},ksh:{nu:["latn"]},ku:{nu:["latn"]},"ku-Arab":{nu:["latn"]},"ku-Arab-IR":{nu:["latn"]},"ku-Latn":{nu:["latn"]},"ku-Latn-IQ":{nu:["latn"]},"ku-Latn-SY":{nu:["latn"]},"ku-TR":{nu:["latn"]},kw:{nu:["latn"]},kxv:{nu:["latn"]},"kxv-Deva":{nu:["latn"]},"kxv-Latn":{nu:["latn"]},"kxv-Orya":{nu:["latn"]},"kxv-Telu":{nu:["latn"]},ky:{nu:["latn"]},la:{nu:["latn"]},lag:{nu:["latn"]},lb:{nu:["latn"]},lg:{nu:["latn"]},lij:{nu:["latn"]},lkt:{nu:["latn"]},lld:{nu:["latn"]},lmo:{nu:["latn"]},ln:{nu:["latn"]},"ln-AO":{nu:["latn"]},"ln-CF":{nu:["latn"]},"ln-CG":{nu:["latn"]},lo:{nu:["latn"]},lrc:{nu:["arabext"]},"lrc-IQ":{nu:["arabext"]},lt:{nu:["latn"]},ltg:{nu:["latn"]},lu:{nu:["latn"]},luo:{nu:["latn"]},luy:{nu:["latn"]},lv:{nu:["latn"]},lzz:{nu:["latn"]},mai:{nu:["latn"]},mas:{nu:["latn"]},"mas-TZ":{nu:["latn"]},mdf:{nu:["latn"]},mer:{nu:["latn"]},mfe:{nu:["latn"]},mg:{nu:["latn"]},mgh:{nu:["latn"]},mgo:{nu:["latn"]},mhn:{nu:["latn"]},mi:{nu:["latn"]},mic:{nu:["latn"]},mk:{nu:["latn"]},ml:{nu:["latn"]},mn:{nu:["latn"]},"mn-Mong":{nu:["latn"]},"mn-Mong-MN":{nu:["latn"]},mni:{nu:["beng"]},"mni-Beng":{nu:["beng"]},"mni-Mtei":{nu:["mtei"]},moh:{nu:["latn"]},mr:{nu:["deva"]},ms:{nu:["latn"]},"ms-Arab":{nu:["latn"]},"ms-Arab-BN":{nu:["latn"]},"ms-BN":{nu:["latn"]},"ms-ID":{nu:["latn"],separator:{latn:"."}},"ms-SG":{nu:["latn"]},mt:{nu:["latn"]},mua:{nu:["latn"]},mus:{nu:["latn"]},mww:{nu:["hmnp","latn"]},"mww-Hmnp":{nu:["hmnp","latn"]},my:{nu:["mymr"]},myv:{nu:["latn"]},mzn:{nu:["arabext"]},naq:{nu:["latn"]},nb:{nu:["latn"]},"nb-SJ":{nu:["latn"]},nd:{nu:["latn"]},nds:{nu:["latn"]},"nds-NL":{nu:["latn"]},ne:{nu:["deva"]},"ne-IN":{nu:["deva"]},nl:{nu:["latn"]},"nl-AW":{nu:["latn"]},"nl-BE":{nu:["latn"]},"nl-BQ":{nu:["latn"]},"nl-CW":{nu:["latn"]},"nl-SR":{nu:["latn"]},"nl-SX":{nu:["latn"]},nmg:{nu:["latn"]},nn:{nu:["latn"]},nnh:{nu:["latn"]},no:{nu:["latn"]},nqo:{nu:["nkoo"]},nr:{nu:["latn"]},nso:{nu:["latn"]},nus:{nu:["latn"]},nv:{nu:["latn"]},ny:{nu:["latn"]},nyn:{nu:["latn"]},oc:{nu:["latn"]},"oc-ES":{nu:["latn"]},oka:{nu:["latn"]},"oka-US":{nu:["latn"]},om:{nu:["latn"]},"om-KE":{nu:["latn"]},or:{nu:["latn"]},os:{nu:["latn"]},"os-RU":{nu:["latn"]},osa:{nu:["latn"]},pa:{nu:["latn"]},"pa-Arab":{nu:["arabext"]},"pa-Guru":{nu:["latn"]},pap:{nu:["latn"]},"pap-AW":{nu:["latn"]},pcm:{nu:["latn"]},pi:{nu:["latn"]},"pi-Latn":{nu:["latn"]},pis:{nu:["latn"]},pl:{nu:["latn"]},pms:{nu:["latn"]},prg:{nu:["latn"]},ps:{nu:["arabext"]},"ps-PK":{nu:["arabext"]},pt:{nu:["latn"]},"pt-AO":{nu:["latn"]},"pt-CH":{nu:["latn"]},"pt-CV":{nu:["latn"]},"pt-GQ":{nu:["latn"]},"pt-GW":{nu:["latn"]},"pt-LU":{nu:["latn"]},"pt-MO":{nu:["latn"]},"pt-MZ":{nu:["latn"]},"pt-PT":{nu:["latn"]},"pt-ST":{nu:["latn"]},"pt-TL":{nu:["latn"]},qu:{nu:["latn"]},"qu-BO":{nu:["latn"]},"qu-EC":{nu:["latn"]},quc:{nu:["latn"]},raj:{nu:["deva"]},rhg:{nu:["latn"]},"rhg-Rohg":{nu:["latn"]},"rhg-Rohg-BD":{nu:["latn"]},rif:{nu:["latn"]},rm:{nu:["latn"]},rn:{nu:["latn"]},ro:{nu:["latn"]},"ro-MD":{nu:["latn"]},rof:{nu:["latn"]},ru:{nu:["latn"]},"ru-BY":{nu:["latn"]},"ru-KG":{nu:["latn"]},"ru-KZ":{nu:["latn"]},"ru-MD":{nu:["latn"]},"ru-UA":{nu:["latn"]},rw:{nu:["latn"]},rwk:{nu:["latn"]},sa:{nu:["deva"]},sah:{nu:["latn"]},saq:{nu:["latn"]},sat:{nu:["olck"]},"sat-Deva":{nu:["deva"]},"sat-Olck":{nu:["olck"]},sbp:{nu:["latn"]},sc:{nu:["latn"]},scn:{nu:["latn"]},sd:{nu:["arab"]},"sd-Arab":{nu:["arab"]},"sd-Deva":{nu:["latn"]},sdh:{nu:["arab"]},"sdh-IQ":{nu:["arab"]},se:{nu:["latn"]},"se-FI":{nu:["latn"]},"se-SE":{nu:["latn"]},seh:{nu:["latn"]},ses:{nu:["latn"]},sg:{nu:["latn"]},sgs:{nu:["latn"]},shi:{nu:["latn"]},"shi-Latn":{nu:["latn"]},"shi-Tfng":{nu:["latn"]},shn:{nu:["latn"]},"shn-TH":{nu:["latn"]},si:{nu:["latn"],separator:{latn:"."}},sid:{nu:["latn"]},sk:{nu:["latn"]},skr:{nu:["latn"]},sl:{nu:["latn"]},sma:{nu:["latn"]},"sma-NO":{nu:["latn"]},smj:{nu:["latn"]},"smj-NO":{nu:["latn"]},smn:{nu:["latn"],separator:{latn:"."}},sms:{nu:["latn"]},sn:{nu:["latn"]},so:{nu:["latn"]},"so-DJ":{nu:["latn"]},"so-ET":{nu:["latn"]},"so-KE":{nu:["latn"]},sq:{nu:["latn"]},"sq-MK":{nu:["latn"]},"sq-XK":{nu:["latn"]},sr:{nu:["latn"]},"sr-Cyrl":{nu:["latn"]},"sr-Cyrl-BA":{nu:["latn"]},"sr-Cyrl-ME":{nu:["latn"]},"sr-Cyrl-XK":{nu:["latn"]},"sr-Latn":{nu:["latn"]},"sr-Latn-BA":{nu:["latn"]},"sr-Latn-ME":{nu:["latn"]},"sr-Latn-XK":{nu:["latn"]},ss:{nu:["latn"]},"ss-SZ":{nu:["latn"]},ssy:{nu:["latn"]},st:{nu:["latn"]},"st-LS":{nu:["latn"]},su:{nu:["latn"],separator:{latn:"."}},"su-Latn":{nu:["latn"],separator:{latn:"."}},suz:{nu:["latn"]},"suz-Deva":{nu:["latn"]},"suz-Sunu":{nu:["latn"]},sv:{nu:["latn"]},"sv-AX":{nu:["latn"]},"sv-FI":{nu:["latn"],separator:{latn:"."}},sw:{nu:["latn"]},"sw-CD":{nu:["latn"]},"sw-KE":{nu:["latn"]},"sw-UG":{nu:["latn"]},syr:{nu:["latn"]},"syr-SY":{nu:["latn"]},szl:{nu:["latn"]},ta:{nu:["latn"]},"ta-LK":{nu:["latn"]},"ta-MY":{nu:["latn"]},"ta-SG":{nu:["latn"]},te:{nu:["latn"]},teo:{nu:["latn"]},"teo-KE":{nu:["latn"]},tg:{nu:["latn"]},th:{nu:["latn"]},ti:{nu:["latn"]},"ti-ER":{nu:["latn"]},tig:{nu:["latn"]},tk:{nu:["latn"]},tn:{nu:["latn"]},"tn-BW":{nu:["latn"]},to:{nu:["latn"]},tok:{nu:["latn"]},tpi:{nu:["latn"]},tr:{nu:["latn"]},"tr-CY":{nu:["latn"]},trv:{nu:["latn"]},trw:{nu:["latn"]},ts:{nu:["latn"]},tt:{nu:["latn"]},twq:{nu:["latn"]},tyv:{nu:["latn"]},tzm:{nu:["latn"]},ug:{nu:["latn"]},uk:{nu:["latn"]},und:{nu:["latn"]},ur:{nu:["latn"]},"ur-IN":{nu:["arabext"],separator:{arabext:"٫"}},uz:{nu:["latn"]},"uz-Arab":{nu:["arabext"]},"uz-Cyrl":{nu:["latn"]},"uz-Latn":{nu:["latn"]},vai:{nu:["latn"]},"vai-Latn":{nu:["latn"]},"vai-Vaii":{nu:["latn"]},ve:{nu:["latn"]},vec:{nu:["latn"]},vi:{nu:["latn"]},vmw:{nu:["latn"]},vo:{nu:["latn"]},vun:{nu:["latn"]},wa:{nu:["latn"]},wae:{nu:["latn"]},wal:{nu:["latn"]},wbp:{nu:["latn"]},wo:{nu:["latn"]},xh:{nu:["latn"]},xnr:{nu:["latn"]},xog:{nu:["latn"]},yav:{nu:["latn"]},yi:{nu:["latn"]},yo:{nu:["latn"]},"yo-BJ":{nu:["latn"]},yrl:{nu:["latn"]},"yrl-CO":{nu:["latn"]},"yrl-VE":{nu:["latn"]},yue:{nu:["latn"]},"yue-Hans":{nu:["latn"]},"yue-Hant":{nu:["latn"]},"yue-Hant-CN":{nu:["latn"]},"yue-Hant-MO":{nu:["latn"]},za:{nu:["latn"]},zgh:{nu:["latn"]},zh:{nu:["latn"]},"zh-Hans":{nu:["latn"]},"zh-Hans-HK":{nu:["latn"]},"zh-Hans-MO":{nu:["latn"]},"zh-Hans-MY":{nu:["latn"]},"zh-Hans-SG":{nu:["latn"]},"zh-Hant":{nu:["latn"]},"zh-Hant-HK":{nu:["latn"]},"zh-Hant-MO":{nu:["latn"]},"zh-Hant-MY":{nu:["latn"]},"zh-Latn":{nu:["latn"]},zu:{nu:["latn"]}}},Gt=["locale","style","years","yearsDisplay","months","monthsDisplay","weeks","weeksDisplay","days","daysDisplay","hours","hoursDisplay","minutes","minutesDisplay","seconds","secondsDisplay","milliseconds","millisecondsDisplay","microseconds","microsecondsDisplay","nanoseconds","nanosecondsDisplay","numberingSystem","fractionalDigits"],It=[{styleSlot:"years",displaySlot:"yearsDisplay",unit:"years",values:["long","short","narrow"],digitalDefault:"short"},{styleSlot:"months",displaySlot:"monthsDisplay",unit:"months",values:["long","short","narrow"],digitalDefault:"short"},{styleSlot:"weeks",displaySlot:"weeksDisplay",unit:"weeks",values:["long","short","narrow"],digitalDefault:"short"},{styleSlot:"days",displaySlot:"daysDisplay",unit:"days",values:["long","short","narrow"],digitalDefault:"short"},{styleSlot:"hours",displaySlot:"hoursDisplay",unit:"hours",values:["long","short","narrow","numeric","2-digit"],digitalDefault:"numeric"},{styleSlot:"minutes",displaySlot:"minutesDisplay",unit:"minutes",values:["long","short","narrow","numeric","2-digit"],digitalDefault:"numeric"},{styleSlot:"seconds",displaySlot:"secondsDisplay",unit:"seconds",values:["long","short","narrow","numeric","2-digit"],digitalDefault:"numeric"},{styleSlot:"milliseconds",displaySlot:"millisecondsDisplay",unit:"milliseconds",values:["long","short","narrow","numeric"],digitalDefault:"numeric"},{styleSlot:"microseconds",displaySlot:"microsecondsDisplay",unit:"microseconds",values:["long","short","narrow","numeric"],digitalDefault:"numeric"},{styleSlot:"nanoseconds",displaySlot:"nanosecondsDisplay",unit:"nanoseconds",values:["long","short","narrow","numeric"],digitalDefault:"numeric"}];class U{constructor(n,t){if(!(this&&this instanceof U?this.constructor:void 0))throw new TypeError("Intl.DurationFormat must be called with 'new'");const i=Ce(n),r=Object.create(null),s=t===void 0?Object.create(null):en(t),u=ee(s,"localeMatcher","string",["best fit","lookup"],"best fit"),l=ee(s,"numberingSystem","string",void 0,void 0);if(l!==void 0&&Dt.indexOf(l)<0)throw RangeError(`Invalid numberingSystems: ${l}`);r.nu=l,r.localeMatcher=u;const{localeData:o,availableLocales:d}=U,c=vt(d,i,r,["nu"],o,U.getDefaultLocale),f=c.locale,m=ie(this);m.initializedDurationFormat=!0,m.locale=f,m.numberingSystem=c.nu;const S=ee(s,"style","string",["long","short","narrow","digital"],"short");m.style=S,m.dataLocale=c.dataLocale;let w="";It.forEach(v=>{const{styleSlot:b,displaySlot:L,unit:g,values:M,digitalDefault:C}=v,B=kt(g,s,S,M,C,w);m[b]=B.style,m[L]=B.display,(g==="hours"||g==="minutes"||g==="seconds"||g==="milliseconds"||g==="microseconds")&&(w=B.style)}),m.fractionalDigits=_t(s,"fractionalDigits",0,9,void 0)}resolvedOptions(){if(typeof this!="object"||!lt(U,this))throw TypeError("Method Intl.DurationFormat.prototype.resolvedOptions called on incompatible receiver");const n=ie(this),t={};for(const a of Gt){let i=n[a];a==="fractionalDigits"?i!==void 0&&(i=Number(i)):j(i!==void 0,`Missing internal slot ${a}`),t[a]=i}return t}formatToParts(n){if(ie(this).initializedDurationFormat===void 0)throw new TypeError("Error uninitialized locale");const a=He(n),i=Fe(this,a),r=[];for(const{type:s,unit:u,value:l}of i){const o={type:s,value:l};u&&(o.unit=u),r.push(o)}return r}format(n){if(ie(this).initializedDurationFormat===void 0)throw new TypeError("Error uninitialized locale");const a=He(n),i=Fe(this,a);let r="";for(const{value:s}of i)r+=s;return r}static supportedLocalesOf(n,t){return Ct(U.availableLocales,Ce(n),t)}static __defaultLocale="en";static availableLocales=new Set;static localeData=Object.keys(oe.localeData).reduce((n,t)=>{U.availableLocales.add(t);const a=oe.localeData[t].nu;return n[t]={nu:a,digitalFormat:oe.localeData[t].separator||a.reduce((i,r)=>(i[r]=oe.default,i),{})},n},{});static getDefaultLocale=()=>U.__defaultLocale;static polyfilled=!0}typeof Intl>"u"&&(typeof window<"u"?Object.defineProperty(window,"Intl",{value:{}}):typeof global<"u"&&Object.defineProperty(global,"Intl",{value:{}}));Object.defineProperty(Intl,"DurationFormat",{value:U});
2
- //# sourceMappingURL=polyfill-force-DSyAwg73.js.map