@trustme24/flext 1.7.1 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/dist/index.cjs +251 -251
- package/dist/index.js +3 -3
- package/dist/lib.d.ts +1 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -21,7 +21,7 @@ Expecting `+it.join(", ")+", got '"+(this.terminals_[$]||$)+"'":xr="Parse error
|
|
|
21
21
|
return undefined
|
|
22
22
|
}
|
|
23
23
|
`.trim()},blockValue:function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var i=this.popStack();n.splice(1,0,i),this.push(this.source.functionCall(r,"call",n))},ambiguousBlockValue:function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},appendContent:function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},append:function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},appendEscaped:function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},getContext:function(e){this.lastContext=e},pushContext:function(){this.pushStackLiteral(this.contextName(this.lastContext))},lookupOnContext:function(e,r,n,i){var o=0;!i&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[o++])):this.pushContext(),this.resolvePath("context",e,o,r,n)},lookupBlockParam:function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},lookupData:function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},resolvePath:function(e,r,n,i,o){var s=this;if(this.options.strict||this.options.assumeObjects){this.push(rk(this.options.strict&&o,this,r,n,e));return}for(var a=r.length;n<a;n++)this.replaceStack(function(l){var c=s.nameLookup(l,r[n],e);return i?[" && ",c]:[" != null ? ",c," : ",l]})},resolvePossibleLambda:function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},pushStringParam:function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},emptyHash:function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},pushHash:function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},popHash:function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},pushString:function(e){this.pushStackLiteral(this.quotedString(e))},pushLiteral:function(e){this.pushStackLiteral(e)},pushProgram:function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},registerDecorator:function(e,r){var n=this.nameLookup("decorators",r,"decorator"),i=this.setupHelperArgs(r,e);this.decorators.push(["fn = ",this.decorators.functionCall(n,"",["fn","props","container",i])," || fn;"])},invokeHelper:function(e,r,n){var i=this.popStack(),o=this.setupHelper(e,r),s=[];n&&s.push(o.name),s.push(i),this.options.strict||s.push(this.aliasable("container.hooks.helperMissing"));var a=["(",this.itemsSeparatedBy(s,"||"),")"],l=this.source.functionCall(a,"call",o.callParams);this.push(l)},itemsSeparatedBy:function(e,r){var n=[];n.push(e[0]);for(var i=1;i<e.length;i++)n.push(r,e[i]);return n},invokeKnownHelper:function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},invokeAmbiguous:function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var i=this.setupHelper(0,e,r),o=this.lastHelper=this.nameLookup("helpers",e,"helper"),s=["(","(helper = ",o," || ",n,")"];this.options.strict||(s[0]="(helper = ",s.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",s,i.paramsInit?["),(",i.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("helper","call",i.callParams)," : helper))"])},invokePartial:function(e,r,n){var i=[],o=this.setupParams(r,1,i);e&&(r=this.popStack(),delete o.name),n&&(o.indent=JSON.stringify(n)),o.helpers="helpers",o.partials="partials",o.decorators="container.decorators",e?i.unshift(r):i.unshift(this.nameLookup("partials",r,"partial")),this.options.compat&&(o.depths="depths"),o=this.objectLiteral(o),i.push(o),this.push(this.source.functionCall("container.invokePartial","",i))},assignToHash:function(e){var r=this.popStack(),n=void 0,i=void 0,o=void 0;this.trackIds&&(o=this.popStack()),this.stringParams&&(i=this.popStack(),n=this.popStack());var s=this.hash;n&&(s.contexts[e]=n),i&&(s.types[e]=i),o&&(s.ids[e]=o),s.values[e]=r},pushId:function(e,r,n){e==="BlockParam"?this.pushStackLiteral("blockParams["+r[0]+"].path["+r[1]+"]"+(n?" + "+JSON.stringify("."+n):"")):e==="PathExpression"?this.pushString(r):e==="SubExpression"?this.pushStackLiteral("true"):this.pushStackLiteral("null")},compiler:vr,compileChildren:function(e,r){for(var n=e.children,i=void 0,o=void 0,s=0,a=n.length;s<a;s++){i=n[s],o=new this.compiler;var l=this.matchExistingProgram(i);if(l==null){this.context.programs.push("");var c=this.context.programs.length;i.index=c,i.name="program"+c,this.context.programs[c]=o.compile(i,r,this.context,!this.precompile),this.context.decorators[c]=o.decorators,this.context.environments[c]=i,this.useDepths=this.useDepths||o.useDepths,this.useBlockParams=this.useBlockParams||o.useBlockParams,i.useDepths=this.useDepths,i.useBlockParams=this.useBlockParams}else i.index=l.index,i.name="program"+l.index,this.useDepths=this.useDepths||l.useDepths,this.useBlockParams=this.useBlockParams||l.useBlockParams}},matchExistingProgram:function(e){for(var r=0,n=this.context.environments.length;r<n;r++){var i=this.context.environments[r];if(i&&i.equals(e))return i}},programExpression:function(e){var r=this.environment.children[e],n=[r.index,"data",r.blockParams];return(this.useBlockParams||this.useDepths)&&n.push("blockParams"),this.useDepths&&n.push("depths"),"container.program("+n.join(", ")+")"},useRegister:function(e){this.registers[e]||(this.registers[e]=!0,this.registers.list.push(e))},push:function(e){return e instanceof yr||(e=this.source.wrap(e)),this.inlineStack.push(e),e},pushStackLiteral:function(e){this.push(new yr(e))},pushSource:function(e){this.pendingContent&&(this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent),this.pendingLocation)),this.pendingContent=void 0),e&&this.source.push(e)},replaceStack:function(e){var r=["("],n=void 0,i=void 0,o=void 0;if(!this.isInline())throw new Gs.default("replaceStack on non-inline");var s=this.popStack(!0);if(s instanceof yr)n=[s.value],r=["(",n],o=!0;else{i=!0;var a=this.incrStack();r=["((",this.push(a)," = ",s,")"],n=this.topStack()}var l=e.call(this,n);o||this.popStack(),i&&this.stackSlot--,this.push(r.concat(l,")"))},incrStack:function(){return this.stackSlot++,this.stackSlot>this.stackVars.length&&this.stackVars.push("stack"+this.stackSlot),this.topStackName()},topStackName:function(){return"stack"+this.stackSlot},flushInline:function(){var e=this.inlineStack;this.inlineStack=[];for(var r=0,n=e.length;r<n;r++){var i=e[r];if(i instanceof yr)this.compileStack.push(i);else{var o=this.incrStack();this.pushSource([o," = ",i,";"]),this.compileStack.push(o)}}},isInline:function(){return this.inlineStack.length},popStack:function(e){var r=this.isInline(),n=(r?this.inlineStack:this.compileStack).pop();if(!e&&n instanceof yr)return n.value;if(!r){if(!this.stackSlot)throw new Gs.default("Invalid stack pop");this.stackSlot--}return n},topStack:function(){var e=this.isInline()?this.inlineStack:this.compileStack,r=e[e.length-1];return r instanceof yr?r.value:r},contextName:function(e){return this.useDepths&&e?"depths["+e+"]":"depth"+e},quotedString:function(e){return this.source.quotedString(e)},objectLiteral:function(e){return this.source.objectLiteral(e)},aliasable:function(e){var r=this.aliases[e];return r?(r.referenceCount++,r):(r=this.aliases[e]=this.source.wrap(e),r.aliasable=!0,r.referenceCount=1,r)},setupHelper:function(e,r,n){var i=[],o=this.setupHelperArgs(r,e,i,n),s=this.nameLookup("helpers",r,"helper"),a=this.aliasable(this.contextName(0)+" != null ? "+this.contextName(0)+" : (container.nullContext || {})");return{params:i,paramsInit:o,name:s,callParams:[a].concat(i)}},setupParams:function(e,r,n){var i={},o=[],s=[],a=[],l=!n,c=void 0;l&&(n=[]),i.name=this.quotedString(e),i.hash=this.popStack(),this.trackIds&&(i.hashIds=this.popStack()),this.stringParams&&(i.hashTypes=this.popStack(),i.hashContexts=this.popStack());var f=this.popStack(),u=this.popStack();(u||f)&&(i.fn=u||"container.noop",i.inverse=f||"container.noop");for(var p=r;p--;)c=this.popStack(),n[p]=c,this.trackIds&&(a[p]=this.popStack()),this.stringParams&&(s[p]=this.popStack(),o[p]=this.popStack());return l&&(i.args=this.source.generateArray(n)),this.trackIds&&(i.ids=this.source.generateArray(a)),this.stringParams&&(i.types=this.source.generateArray(s),i.contexts=this.source.generateArray(o)),this.options.data&&(i.data="data"),this.useBlockParams&&(i.blockParams="blockParams"),i},setupHelperArgs:function(e,r,n,i){var o=this.setupParams(e,r,n);return o.loc=JSON.stringify(this.source.currentLocation),o=this.objectLiteral(o),i?(this.useRegister("options"),n.push("options"),["options=",o]):n?(n.push(o),""):o}};(function(){for(var t="break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "),e=vr.RESERVED_WORDS={},r=0,n=t.length;r<n;r++)e[t[r]]=!0})();vr.isValidJavaScriptVariableName=function(t){return!vr.RESERVED_WORDS[t]&&/^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(t)};function rk(t,e,r,n,i){var o=e.popStack(),s=r.length;for(t&&s--;n<s;n++)o=e.nameLookup(o,r[n],i);return t?[e.aliasable("container.strict"),"(",o,", ",e.quotedString(r[n]),", ",JSON.stringify(e.source.currentLocation)," )"]:o}Ci.default=vr;dd.exports=Ci.default});var gd=_((Oi,md)=>{"use strict";Oi.__esModule=!0;function on(t){return t&&t.__esModule?t:{default:t}}var nk=bf(),ik=on(nk),ok=$s(),sk=on(ok),Zs=Tf(),Ys=Nf(),ak=hd(),lk=on(ak),ck=yi(),uk=on(ck),fk=ks(),dk=on(fk),hk=ik.default.create;function pd(){var t=hk();return t.compile=function(e,r){return Ys.compile(e,r,t)},t.precompile=function(e,r){return Ys.precompile(e,r,t)},t.AST=sk.default,t.Compiler=Ys.Compiler,t.JavaScriptCompiler=lk.default,t.Parser=Zs.parser,t.parse=Zs.parse,t.parseWithoutProcessing=Zs.parseWithoutProcessing,t}var kr=pd();kr.create=pd;dk.default(kr);kr.Visitor=uk.default;kr.default=kr;Oi.default=kr;md.exports=Oi.default});var bd=_(Mi=>{"use strict";Mi.__esModule=!0;Mi.print=bk;Mi.PrintVisitor=Z;function pk(t){return t&&t.__esModule?t:{default:t}}var mk=yi(),gk=pk(mk);function bk(t){return new Z().accept(t)}function Z(){this.padding=0}Z.prototype=new gk.default;Z.prototype.pad=function(t){for(var e="",r=0,n=this.padding;r<n;r++)e+=" ";return e+=t+`
|
|
24
|
-
`,e};Z.prototype.Program=function(t){var e="",r=t.body,n=void 0,i=void 0;if(t.blockParams){var o="BLOCK PARAMS: [";for(n=0,i=t.blockParams.length;n<i;n++)o+=" "+t.blockParams[n];o+=" ]",e+=this.pad(o)}for(n=0,i=r.length;n<i;n++)e+=this.accept(r[n]);return this.padding--,e};Z.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};Z.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};Z.prototype.BlockStatement=Z.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};Z.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};Z.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};Z.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Z.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Z.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,o=e.length;i<o;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};Z.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};Z.prototype.StringLiteral=function(t){return'"'+t.value+'"'};Z.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};Z.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};Z.prototype.UndefinedLiteral=function(){return"UNDEFINED"};Z.prototype.NullLiteral=function(){return"NULL"};Z.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};Z.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var Js=_((H4,kd)=>{var Ti=gd().default,vd=bd();Ti.PrintVisitor=vd.PrintVisitor;Ti.print=vd.print;kd.exports=Ti;function yd(t,e){var r=qt("fs"),n=r.readFileSync(e,"utf8");t.exports=Ti.compile(n)}typeof qt<"u"&&qt.extensions&&(qt.extensions[".handlebars"]=yd,qt.extensions[".hbs"]=yd)});var Ud=_(Bd=>{"use strict";function e3(t,e){t==null&&(t={});for(var r={},n=Object.keys(e),i=0,o=n.length;i<o;i++){var s=n[i];r[s]=t[s]||e[s]}return r}Bd.defaults=e3});var Hd=_((wx,t3)=>{t3.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{"0":"zero","1":"one","2":"two","3":"three","4":"four","5":"five","6":"six","7":"seven","8":"eight","9":"nine","10":"ten","11":"eleven","12":"twelve","13":"thirteen","14":"fourteen","15":"fifteen","16":"sixteen","17":"seventeen","18":"eighteen","19":"nineteen","20":"twenty","30":"thirty","40":"forty","50":"fifty","60":"sixty","70":"seventy","80":"eighty","90":"ninety"},units:["hundred","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quattuordecillion","quindecillion"],unitExceptions:[]}});var Gd=_((Sx,r3)=>{r3.exports={useLongScale:!0,baseSeparator:" y ",unitSeparator:"",base:{"0":"cero","1":"uno","2":"dos","3":"tres","4":"cuatro","5":"cinco","6":"seis","7":"siete","8":"ocho","9":"nueve","10":"diez","11":"once","12":"doce","13":"trece","14":"catorce","15":"quince","16":"diecis\xE9is","17":"diecisiete","18":"dieciocho","19":"diecinueve","20":"veinte","21":"veintiuno","22":"veintid\xF3s","23":"veintitr\xE9s","24":"veinticuatro","25":"veinticinco","26":"veintis\xE9is","27":"veintisiete","28":"veintiocho","29":"veintinueve","30":"treinta","40":"cuarenta","50":"cincuenta","60":"sesenta","70":"setenta","80":"ochenta","90":"noventa","100":"cien","200":"doscientos","300":"trescientos","400":"cuatrocientos","500":"quinientos","600":"seiscientos","700":"setecientos","800":"ochocientos","900":"novecientos","1000":"mil"},unitExceptions:{"1000000":"un mill\xF3n","1000000000000":"un bill\xF3n","1000000000000000000":"un trill\xF3n","1000000000000000000000000":"un cuatrillones","1000000000000000000000000000000":"un quintill\xF3n","1000000000000000000000000000000000000":"un sextill\xF3n","1000000000000000000000000000000000000000000":"un septill\xF3n","1000000000000000000000000000000000000000000000000":"un octill\xF3n","1000000000000000000000000000000000000000000000000000000":"un nonill\xF3n","1000000000000000000000000000000000000000000000000000000000000":"un decill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000":"un undecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000":"un duodecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000":"un tredecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un cuatordecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un quindecill\xF3n"},units:[{singular:"ciento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0},{singular:"mil",avoidPrefixException:[1]},{singular:"mill\xF3n",plural:"millones"},{singular:"bill\xF3n",plural:"billones"},{singular:"trill\xF3n",plural:"trillones"},{singular:"cuatrill\xF3n",plural:"cuatrillones"},{singular:"quintill\xF3n",plural:"quintillones"},{singular:"sextill\xF3n",plural:"sextillones"},{singular:"septill\xF3n",plural:"septillones"},{singular:"octill\xF3n",plural:"octillones"},{singular:"nonill\xF3n",plural:"nonillones"},{singular:"decill\xF3n",plural:"decillones"},{singular:"undecill\xF3n",plural:"undecillones"},{singular:"duodecill\xF3n",plural:"duodecillones"},{singular:"tredecill\xF3n",plural:"tredecillones"},{singular:"cuatrodecill\xF3n",plural:"cuatrodecillones"},{singular:"quindecill\xF3n",plural:"quindecillones"}]}});var Zd=_(($x,n3)=>{n3.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",allSeparator:"\u0648",base:{"0":"\u0635\u0641\u0631","1":"\u0648\u0627\u062D\u062F","2":"\u0627\u062B\u0646\u0627\u0646","3":"\u062B\u0644\u0627\u062B\u0629","4":"\u0623\u0631\u0628\u0639\u0629","5":"\u062E\u0645\u0633\u0629","6":"\u0633\u062A\u0629","7":"\u0633\u0628\u0639\u0629","8":"\u062B\u0645\u0627\u0646\u064A\u0629","9":"\u062A\u0633\u0639\u0629","10":"\u0639\u0634\u0631\u0629","11":"\u0623\u062D\u062F \u0639\u0634\u0631","12":"\u0625\u062B\u0646\u0627 \u0639\u0634\u0631","13":"\u062B\u0644\u0627\u062B\u0629 \u0639\u0634\u0631","14":"\u0623\u0631\u0628\u0639\u0629 \u0639\u0634\u0631","15":"\u062E\u0645\u0633\u0629 \u0639\u0634\u0631","16":"\u0633\u062A\u0629 \u0639\u0634\u0631","17":"\u0633\u0628\u0639\u0629 \u0639\u0634\u0631","18":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0639\u0634\u0631","19":"\u062A\u0633\u0639\u0629 \u0639\u0634\u0631","20":"\u0639\u0634\u0631\u0648\u0646","21":"\u0648\u0627\u062D\u062F \u0648\u0639\u0634\u0631\u0648\u0646","22":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0639\u0634\u0631\u0648\u0646","23":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","24":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","25":"\u062E\u0645\u0633\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","26":"\u0633\u062A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","27":"\u0633\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","28":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","29":"\u062A\u0633\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","30":"\u062B\u0644\u0627\u062B\u0648\u0646","31":"\u0648\u0627\u062D\u062F \u0648\u062B\u0644\u0627\u062B\u0648\u0646","32":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","33":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","34":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","35":"\u062E\u0645\u0633\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","36":"\u0633\u062A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","37":"\u0633\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","38":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","39":"\u062A\u0633\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","40":"\u0623\u0631\u0628\u0639\u0648\u0646","41":"\u0648\u0627\u062D\u062F \u0648\u0623\u0631\u0628\u0639\u0648\u0646","42":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","43":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","44":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","45":"\u062E\u0645\u0633\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","46":"\u0633\u062A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","47":"\u0633\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","48":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","49":"\u062A\u0633\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","50":"\u062E\u0645\u0633\u0648\u0646","51":"\u0648\u0627\u062D\u062F \u0648\u062E\u0645\u0633\u0648\u0646","52":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062E\u0645\u0633\u0648\u0646","53":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","54":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","55":"\u062E\u0645\u0633\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","56":"\u0633\u062A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","57":"\u0633\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","58":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","59":"\u062A\u0633\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","60":"\u0633\u062A\u0648\u0646","61":"\u0648\u0627\u062D\u062F \u0648\u0633\u062A\u0648\u0646","62":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u062A\u0648\u0646","63":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u062A\u0648\u0646","64":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646","65":"\u062E\u0645\u0633\u0629 \u0648\u0633\u062A\u0648\u0646","66":"\u0633\u062A\u0629 \u0648\u0633\u062A\u0648\u0646","67":"\u0633\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646","68":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u062A\u0648\u0646","69":"\u062A\u0633\u0639\u0629 \u0648\u0633\u062A\u0648\u0646","70":"\u0633\u0628\u0639\u0648\u0646","71":"\u0648\u0627\u062D\u062F \u0648\u0633\u0628\u0639\u0648\u0646","72":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u0628\u0639\u0648\u0646","73":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","74":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","75":"\u062E\u0645\u0633\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","76":"\u0633\u062A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","77":"\u0633\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","78":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","79":"\u062A\u0633\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","80":"\u062B\u0645\u0627\u0646\u0648\u0646","81":"\u0648\u0627\u062D\u062F \u0648\u062B\u0645\u0627\u0646\u0648\u0646","82":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","83":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","84":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","85":"\u062E\u0645\u0633\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","86":"\u0633\u062A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","87":"\u0633\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","88":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","89":"\u062A\u0633\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","90":"\u062A\u0633\u0639\u0648\u0646","91":"\u0648\u0627\u062D\u062F \u0648\u062A\u0633\u0639\u0648\u0646","92":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062A\u0633\u0639\u0648\u0646","93":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","94":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","95":"\u062E\u0645\u0633\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","96":"\u0633\u062A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","97":"\u0633\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","98":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","99":"\u062A\u0633\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","200":"\u0645\u0627\u0626\u062A\u0627\u0646","300":"\u062B\u0644\u0627\u062B\u0645\u0627\u0626\u0629","400":"\u0623\u0631\u0628\u0639\u0645\u0627\u0626\u0629","500":"\u062E\u0645\u0633\u0645\u0627\u0626\u0629","600":"\u0633\u062A\u0645\u0627\u0626\u0629","700":"\u0633\u0628\u0639\u0645\u0627\u0626\u0629","800":"\u062B\u0645\u0627\u0646\u0645\u0627\u0626\u0629","900":"\u062A\u0633\u0639\u0645\u0627\u0626\u0629"},units:[{singular:"\u0645\u0627\u0626\u0629",useBaseInstead:!0,useBaseException:[1]},{singular:"\u0623\u0644\u0641",dual:"\u0623\u0644\u0641\u0627\u0646",plural:"\u0622\u0644\u0627\u0641",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0648\u0646",dual:"\u0645\u0644\u064A\u0648\u0646\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0646",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0627\u0631",dual:"\u0645\u0644\u064A\u0627\u0631\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0631",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u062A\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062F\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0643\u0633\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0628\u062A\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0643\u062A\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0646\u0648\u0646\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0646\u062F\u0634\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0648\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062A\u0631\u064A\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062A\u0648\u0631\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]}],unitExceptions:{}}});var Yd=_((Ex,i3)=>{i3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"s\u0131f\u0131r","1":"bir","2":"iki","3":"\xFC\xE7","4":"d\xF6rd","5":"be\u015F","6":"alt\u0131","7":"yeddi","8":"s\u0259kkiz","9":"doqquz","10":"on","20":"iyirmi","30":"otuz","40":"q\u0131rx","50":"\u0259lli","60":"altm\u0131\u015F","70":"yetmi\u015F","80":"s\u0259ks\u0259n","90":"doxsan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"min",avoidPrefixException:[1]},"milyon","milyard","trilyon","kvadrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}});var Jd=_((_x,o3)=>{o3.exports={useLongScale:!1,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{"0":"zero","1":"um","2":"dois","3":"tr\xEAs","4":"quatro","5":"cinco","6":"seis","7":"sete","8":"oito","9":"nove","10":"dez","11":"onze","12":"doze","13":"treze","14":"catorze","15":"quinze","16":"dezesseis","17":"dezessete","18":"dezoito","19":"dezenove","20":"vinte","30":"trinta","40":"quarenta","50":"cinquenta","60":"sessenta","70":"setenta","80":"oitenta","90":"noventa","100":"cem","200":"duzentos","300":"trezentos","400":"quatrocentos","500":"quinhentos","600":"seiscentos","700":"setecentos","800":"oitocentos","900":"novecentos","1000":"mil"},unitExceptions:{"1":"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bilh\xE3o",plural:"bilh\xF5es"},{singular:"trilh\xE3o",plural:"trilh\xF5es"},{singular:"quadrilh\xE3o",plural:"quadrilh\xE3o"},{singular:"quintilh\xE3o",plural:"quintilh\xF5es"},{singular:"sextilh\xE3o",plural:"sextilh\xF5es"},{singular:"septilh\xE3o",plural:"septilh\xF5es"},{singular:"octilh\xE3o",plural:"octilh\xF5es"},{singular:"nonilh\xE3o",plural:"nonilh\xF5es"},{singular:"decilh\xE3o",plural:"decilh\xF5es"},{singular:"undecilh\xE3o",plural:"undecilh\xF5es"},{singular:"doudecilh\xE3o",plural:"doudecilh\xF5es"},{singular:"tredecilh\xE3o",plural:"tredecilh\xF5es"}]}});var Kd=_((Cx,s3)=>{s3.exports={useLongScale:!0,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{"0":"zero","1":"um","2":"dois","3":"tr\xEAs","4":"quatro","5":"cinco","6":"seis","7":"sete","8":"oito","9":"nove","10":"dez","11":"onze","12":"doze","13":"treze","14":"catorze","15":"quinze","16":"dezasseis","17":"dezassete","18":"dezoito","19":"dezanove","20":"vinte","30":"trinta","40":"quarenta","50":"cinquenta","60":"sessenta","70":"setenta","80":"oitenta","90":"noventa","100":"cem","200":"duzentos","300":"trezentos","400":"quatrocentos","500":"quinhentos","600":"seiscentos","700":"setecentos","800":"oitocentos","900":"novecentos","1000":"mil"},unitExceptions:{"1":"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bili\xE3o",plural:"bili\xF5es"},{singular:"trili\xE3o",plural:"trili\xF5es"},{singular:"quadrili\xE3o",plural:"quadrili\xF5es"},{singular:"quintili\xE3o",plural:"quintili\xF5es"},{singular:"sextili\xE3o",plural:"sextili\xF5es"},{singular:"septili\xE3o",plural:"septili\xF5es"},{singular:"octili\xE3o",plural:"octili\xF5es"},{singular:"nonili\xE3o",plural:"nonili\xF5es"},{singular:"decili\xE3o",plural:"decili\xF5es"}]}});var Xd=_((Ox,a3)=>{a3.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"",base:{"0":"z\xE9ro","1":"un","2":"deux","3":"trois","4":"quatre","5":"cinq","6":"six","7":"sept","8":"huit","9":"neuf","10":"dix","11":"onze","12":"douze","13":"treize","14":"quatorze","15":"quinze","16":"seize","17":"dix-sept","18":"dix-huit","19":"dix-neuf","20":"vingt","30":"trente","40":"quarante","50":"cinquante","60":"soixante","70":"soixante-dix","80":"quatre-vingt","90":"quatre-vingt-dix"},units:[{singular:"cent",plural:"cents",avoidInNumberPlural:!0,avoidPrefixException:[1]},{singular:"mille",avoidPrefixException:[1]},{singular:"million",plural:"millions"},{singular:"milliard",plural:"milliards"},{singular:"billion",plural:"billions"},{singular:"billiard",plural:"billiards"},{singular:"trillion",plural:"trillions"},{singular:"trilliard",plural:"trilliards"},{singular:"quadrillion",plural:"quadrillions"},{singular:"quadrilliard",plural:"quadrilliards"},{singular:"quintillion",plural:"quintillions"},{singular:"quintilliard",plural:"quintilliards"},{singular:"sextillion",plural:"sextillions"},{singular:"sextilliard",plural:"sextilliards"},{singular:"septillion",plural:"septillions"},{singular:"septilliard",plural:"septilliards"},{singular:"octillion",plural:"octillions"}],unitExceptions:{"21":"vingt et un","31":"trente et un","41":"quarante et un","51":"cinquante et un","61":"soixante et un","71":"soixante et onze","72":"soixante-douze","73":"soixante-treize","74":"soixante-quatorze","75":"soixante-quinze","76":"soixante-seize","77":"soixante-dix-sept","78":"soixante-dix-huit","79":"soixante-dix-neuf","80":"quatre-vingts","91":"quatre-vingt-onze","92":"quatre-vingt-douze","93":"quatre-vingt-treize","94":"quatre-vingt-quatorze","95":"quatre-vingt-quinze","96":"quatre-vingt-seize","97":"quatre-vingt-dix-sept","98":"quatre-vingt-dix-huit","99":"quatre-vingt-dix-neuf"}}});var Qd=_((Mx,l3)=>{l3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"nulo","1":"unu","2":"du","3":"tri","4":"kvar","5":"kvin","6":"ses","7":"sep","8":"ok","9":"na\u016D","10":"dek","20":"dudek","30":"tridek","40":"kvardek","50":"kvindek","60":"sesdek","70":"sepdek","80":"okdek","90":"na\u016Ddek","100":"cent","200":"ducent","300":"tricent","400":"kvarcent","500":"kvincent","600":"sescent","700":"sepcent","800":"okcent","900":"na\u016Dcent"},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"mil",avoidPrefixException:[1]},{singular:"miliono",plural:"milionoj",avoidPrefixException:[1]},{singular:"miliardo",plural:"miliardoj",avoidPrefixException:[1]},{singular:"biliono",plural:"bilionoj",avoidPrefixException:[1]}],unitExceptions:[]}});var eh=_((Tx,c3)=>{c3.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",generalSeparator:"",wordSeparator:"",base:{"0":"zero","1":"uno","2":"due","3":"tre","4":"quattro","5":"cinque","6":"sei","7":"sette","8":"otto","9":"nove","10":"dieci","11":"undici","12":"dodici","13":"tredici","14":"quattordici","15":"quindici","16":"sedici","17":"diciassette","18":"diciotto","19":"diciannove","20":"venti","21":"ventuno","23":"ventitr\xE9","28":"ventotto","30":"trenta","31":"trentuno","33":"trentatr\xE9","38":"trentotto","40":"quaranta","41":"quarantuno","43":"quaranta\xADtr\xE9","48":"quarantotto","50":"cinquanta","51":"cinquantuno","53":"cinquantatr\xE9","58":"cinquantotto","60":"sessanta","61":"sessantuno","63":"sessanta\xADtr\xE9","68":"sessantotto","70":"settanta","71":"settantuno","73":"settantatr\xE9","78":"settantotto","80":"ottanta","81":"ottantuno","83":"ottantatr\xE9","88":"ottantotto","90":"novanta","91":"novantuno","93":"novantatr\xE9","98":"novantotto","100":"cento","101":"centuno","108":"centootto","180":"centottanta","201":"duecentuno","301":"tre\xADcent\xADuno","401":"quattro\xADcent\xADuno","501":"cinque\xADcent\xADuno","601":"sei\xADcent\xADuno","701":"sette\xADcent\xADuno","801":"otto\xADcent\xADuno","901":"nove\xADcent\xADuno"},unitExceptions:{"1":"un"},units:[{singular:"cento",avoidPrefixException:[1]},{singular:"mille",plural:"mila",avoidPrefixException:[1]},{singular:"milione",plural:"milioni"},{singular:"miliardo",plural:"miliardi"},{singular:"bilione",plural:"bilioni"},{singular:"biliardo",plural:"biliardi"},{singular:"trilione",plural:"trilioni"},{singular:"triliardo",plural:"triliardi"},{singular:"quadrilione",plural:"quadrilioni"},{singular:"quadriliardo",plural:"quadriliardi"}]}});var th=_((Px,u3)=>{u3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"v\xE0 ",base:{"0":"kh\xF4ng","1":"m\u1ED9t","2":"hai","3":"ba","4":"b\u1ED1n","5":"n\u0103m","6":"s\xE1u","7":"b\u1EA3y","8":"t\xE1m","9":"ch\xEDn","10":"m\u01B0\u1EDDi","15":"m\u01B0\u1EDDi l\u0103m","20":"hai m\u01B0\u01A1i","21":"hai m\u01B0\u01A1i m\u1ED1t","25":"hai m\u01B0\u01A1i l\u0103m","30":"ba m\u01B0\u01A1i","31":"ba m\u01B0\u01A1i m\u1ED1t","40":"b\u1ED1n m\u01B0\u01A1i","41":"b\u1ED1n m\u01B0\u01A1i m\u1ED1t","45":"b\u1ED1n m\u01B0\u01A1i l\u0103m","50":"n\u0103m m\u01B0\u01A1i","51":"n\u0103m m\u01B0\u01A1i m\u1ED1t","55":"n\u0103m m\u01B0\u01A1i l\u0103m","60":"s\xE1u m\u01B0\u01A1i","61":"s\xE1u m\u01B0\u01A1i m\u1ED1t","65":"s\xE1u m\u01B0\u01A1i l\u0103m","70":"b\u1EA3y m\u01B0\u01A1i","71":"b\u1EA3y m\u01B0\u01A1i m\u1ED1t","75":"b\u1EA3y m\u01B0\u01A1i l\u0103m","80":"t\xE1m m\u01B0\u01A1i","81":"t\xE1m m\u01B0\u01A1i m\u1ED1t","85":"t\xE1m m\u01B0\u01A1i l\u0103m","90":"ch\xEDn m\u01B0\u01A1i","91":"ch\xEDn m\u01B0\u01A1i m\u1ED1t","95":"ch\xEDn m\u01B0\u01A1i l\u0103m"},units:["tr\u0103m","ng\xE0n","tri\u1EC7u","t\u1EF7","ngh\xECn t\u1EF7"],unitExceptions:[]}});var rh=_((Ax,f3)=>{f3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"s\u0131f\u0131r","1":"bir","2":"iki","3":"\xFC\xE7","4":"d\xF6rt","5":"be\u015F","6":"alt\u0131","7":"yedi","8":"sekiz","9":"dokuz","10":"on","20":"yirmi","30":"otuz","40":"k\u0131rk","50":"elli","60":"altm\u0131\u015F","70":"yetmi\u015F","80":"seksen","90":"doksan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"bin",avoidPrefixException:[1]},"milyon","milyar","trilyon","katrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}});var nh=_((Lx,d3)=>{d3.exports={useLongScale:!0,baseSeparator:"",unitSeparator:"\xE9s ",base:{"0":"nulla","1":"egy","2":"kett\u0151","3":"h\xE1rom","4":"n\xE9gy","5":"\xF6t","6":"hat","7":"h\xE9t","8":"nyolc","9":"kilenc","10":"t\xEDz","11":"tizenegy","12":"tizenkett\u0151","13":"tizenh\xE1rom","14":"tizenn\xE9gy","15":"tizen\xF6t","16":"tizenhat","17":"tizenh\xE9t","18":"tizennyolc","19":"tizenkilenc","20":"h\xFAsz","21":"huszonegy","22":"huszonkett\u0151","23":"huszonh\xE1rom","24":"huszonn\xE9gy","25":"huszon\xF6t","26":"huszonhat","27":"huszonh\xE9t","28":"huszonnyolc","29":"huszonkilenc","30":"harminc","40":"negyven","50":"\xF6tven","60":"hatvan","70":"hetven","80":"nyolcvan","90":"kilencven","100":"sz\xE1z","200":"k\xE9tsz\xE1z","300":"h\xE1romsz\xE1z","400":"n\xE9gysz\xE1z","500":"\xF6tsz\xE1z","600":"hatsz\xE1z","700":"h\xE9tsz\xE1z","800":"nyolcsz\xE1z","900":"kilencsz\xE1z","1000":"ezer"},unitExceptions:{"1":"egy"},units:[{singular:"sz\xE1z",useBaseInstead:!0,useBaseException:[1]},{singular:"ezer",avoidPrefixException:[1]},{singular:"milli\xF3",avoidPrefixException:[1]},{singular:"milli\xE1rd",avoidPrefixException:[1]},{singular:"-billi\xF3",avoidPrefixException:[1]},{singular:"billi\xE1rd",avoidPrefixException:[1]},{singular:"trilli\xF3",avoidPrefixException:[1]},{singular:"trilli\xE1rd",avoidPrefixException:[1]},{singular:"kvadrilli\xF3",avoidPrefixException:[1]},{singular:"kvadrilli\xE1rd",avoidPrefixException:[1]},{singular:"kvintilli\xF3",avoidPrefixException:[1]},{singular:"kvintilli\xE1rd",avoidPrefixException:[1]},{singular:"szextilli\xF3",avoidPrefixException:[1]},{singular:"szeptilli\xF3",avoidPrefixException:[1]},{singular:"oktilli\xF3",avoidPrefixException:[1]},{singular:"nonilli\xF3",avoidPrefixException:[1]}]}});var ih=_((Nx,h3)=>{h3.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{"0":"zero","1":"one","2":"two","3":"three","4":"four","5":"five","6":"six","7":"seven","8":"eight","9":"nine","10":"ten","11":"eleven","12":"twelve","13":"thirteen","14":"fourteen","15":"fifteen","16":"sixteen","17":"seventeen","18":"eighteen","19":"nineteen","20":"twenty","30":"thirty","40":"forty","50":"fifty","60":"sixty","70":"seventy","80":"eighty","90":"ninety"},units:{"2":"hundred","3":"thousand","5":"lakh","7":"crore"},unitExceptions:[]}});var oh=_((zx,p3)=>{p3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"\u043D\u0443\u043B\u044C","1":"\u043E\u0434\u0438\u043D","2":"\u0434\u0432\u0430","3":"\u0442\u0440\u0438","4":"\u0447\u043E\u0442\u0438\u0440\u0438","5":"\u043F\u2019\u044F\u0442\u044C","6":"\u0448\u0456\u0441\u0442\u044C","7":"\u0441\u0456\u043C","8":"\u0432\u0456\u0441\u0456\u043C","9":"\u0434\u0435\u0432\u2019\u044F\u0442\u044C","10":"\u0434\u0435\u0441\u044F\u0442\u044C","11":"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C","12":"\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u044C","13":"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C","14":"\u0447\u043E\u0442\u0438\u0440\u043D\u0430\u0434\u0446\u044F\u0442\u044C","15":"\u043F\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C","16":"\u0448\u0456\u0441\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C","17":"\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C","18":"\u0432\u0456\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C","19":"\u0434\u0435\u0432\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C","20":"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C","30":"\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u044C","40":"\u0441\u043E\u0440\u043E\u043A","50":"\u043F\u2019\u044F\u0442\u0434\u0435\u0441\u044F\u0442","60":"\u0448\u0456\u0441\u0442\u0434\u0435\u0441\u044F\u0442","70":"\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442","80":"\u0432\u0456\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442","90":"\u0434\u0435\u0432\u2019\u044F\u043D\u043E\u0441\u0442\u043E","100":"\u0441\u0442\u043E","200":"\u0434\u0432\u0456\u0441\u0442\u0456","300":"\u0442\u0440\u0438\u0441\u0442\u0430","400":"\u0447\u043E\u0442\u0438\u0440\u0438\u0441\u0442\u0430","500":"\u043F\u2019\u044F\u0442\u0441\u043E\u0442","600":"\u0448\u0456\u0441\u0442\u0441\u043E\u0442","700":"\u0441\u0456\u043C\u0441\u043E\u0442","800":"\u0432\u0456\u0441\u0456\u043C\u0441\u043E\u0442","900":"\u0434\u0435\u0432\u2019\u044F\u0442\u0441\u043E\u0442"},alternativeBase:{feminine:{"1":"\u043E\u0434\u043D\u0430","2":"\u0434\u0432\u0456"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u0438\u0441\u044F\u0447\u0430",few:"\u0442\u0438\u0441\u044F\u0447\u0456",plural:"\u0442\u0438\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D",few:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434",few:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0438",plural:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}});var sh=_((Dx,m3)=>{m3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"\u043D\u043E\u043B\u044C","1":"\u043E\u0434\u0438\u043D","2":"\u0434\u0432\u0430","3":"\u0442\u0440\u0438","4":"\u0447\u0435\u0442\u044B\u0440\u0435","5":"\u043F\u044F\u0442\u044C","6":"\u0448\u0435\u0441\u0442\u044C","7":"\u0441\u0435\u043C\u044C","8":"\u0432\u043E\u0441\u0435\u043C\u044C","9":"\u0434\u0435\u0432\u044F\u0442\u044C","10":"\u0434\u0435\u0441\u044F\u0442\u044C","11":"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C","12":"\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C","13":"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C","14":"\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u044C","15":"\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C","16":"\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C","17":"\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C","18":"\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C","19":"\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C","20":"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C","30":"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C","40":"\u0441\u043E\u0440\u043E\u043A","50":"\u043F\u044F\u0442\u044C\u0434\u0435\u0441\u044F\u0442","60":"\u0448\u0435\u0441\u0442\u044C\u0434\u0435\u0441\u044F\u0442","70":"\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442","80":"\u0432\u043E\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442","90":"\u0434\u0435\u0432\u044F\u043D\u043E\u0441\u0442\u043E","100":"\u0441\u0442\u043E","200":"\u0434\u0432\u0435\u0441\u0442\u0438","300":"\u0442\u0440\u0438\u0441\u0442\u0430","400":"\u0447\u0435\u0442\u044B\u0440\u0435\u0441\u0442\u0430","500":"\u043F\u044F\u0442\u044C\u0441\u043E\u0442","600":"\u0448\u0435\u0441\u0442\u044C\u0441\u043E\u0442","700":"\u0441\u0435\u043C\u044C\u0441\u043E\u0442","800":"\u0432\u043E\u0441\u0435\u043C\u044C\u0441\u043E\u0442","900":"\u0434\u0435\u0432\u044F\u0442\u044C\u0441\u043E\u0442"},alternativeBase:{feminine:{"1":"\u043E\u0434\u043D\u0430","2":"\u0434\u0432\u0435"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u044B\u0441\u044F\u0447\u0430",few:"\u0442\u044B\u0441\u044F\u0447\u0438",plural:"\u0442\u044B\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434",few:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043E\u043D",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u044C\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u043E\u043D\u0430",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}});var ah=_((Ix,g3)=>{g3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"nol","1":"satu","2":"dua","3":"tiga","4":"empat","5":"lima","6":"enam","7":"tujuh","8":"delapan","9":"sembilan","10":"sepuluh","11":"sebelas","12":"dua belas","13":"tiga belas","14":"empat belas","15":"lima belas","16":"enam belas","17":"tujuh belas","18":"delapan belas","19":"sembilan belas","20":"dua puluh","30":"tiga puluh","40":"empat puluh","50":"lima puluh","60":"enam puluh","70":"tujuh puluh","80":"delapan puluh","90":"sembilan puluh"},units:[{singular:"seratus",plural:"ratus",avoidPrefixException:[1]},{singular:"seribu",plural:"ribu",avoidPrefixException:[1]},"juta","miliar","triliun","kuadiliun"],unitExceptions:[]}});var dh=_((ua,fh)=>{"use strict";ua=fh.exports=Je;var lh=Ud(),b3=["en","es","ar","az","pt","fr","eo","it","vi","tr","uk","ru","id"],ca={en:Hd(),es:Gd(),ar:Zd(),az:Yd(),pt:Jd(),ptPT:Kd(),fr:Xd(),eo:Qd(),it:eh(),vi:th(),tr:rh(),hu:nh(),enIndian:ih(),uk:oh(),ru:sh(),id:ah()};ua.i18n=ca;var ch=[100];for(bt=1;bt<=16;bt++)ch.push(Math.pow(10,bt*3));var bt,uh=[100,1e3];for(bt=1;bt<=15;bt++)uh.push(Math.pow(10,bt*6));Je.defaults={noAnd:!1,alternativeBase:null,lang:"en"};function Je(t,e){if(e=e||{},e=lh.defaults(e,Je.defaults),t<0)return"";t=Math.round(+t);var r=typeof e.lang=="string"?ca[e.lang]:e.lang;r||(b3.indexOf(Je.defaults.lang)<0&&(Je.defaults.lang="en"),r=ca[Je.defaults.lang]);var n=r.useLongScale?uh:ch,i=r.units,o;if(!(i instanceof Array)){var s=i;i=[],n=Object.keys(s);for(var a in n)i.push(s[n[a]]),n[a]=Math.pow(10,parseInt(n[a]))}var l=r.base,c=e.alternativeBase?r.alternativeBase[e.alternativeBase]:{};if(r.unitExceptions[t])return r.unitExceptions[t];if(c[t])return c[t];if(l[t])return l[t];if(t<100)return y3(t,r,o,l,c,e);var f=t%100,u=[];f&&(e.noAnd&&!(r.andException&&r.andException[10])?u.push(Je(f,e)):u.push(r.unitSeparator+Je(f,e)));for(var p,a=0,h=i.length;a<h;a++){var g=Math.floor(t/n[a]),b;if(a===h-1?b=1e6:b=n[a+1]/n[a],g%=b,o=i[a],!!g){if(p=n[a],o.useBaseInstead){var x=o.useBaseException.indexOf(g)>-1&&(o.useBaseExceptionWhenNoTrailingNumbers?a===0&&u.length:!0);x?u.push(g>1&&o.plural?o.plural:o.singular):u.push(c[g*n[a]]||l[g*n[a]]);continue}var y;if(typeof o=="string"?y=o:g===1||o.useSingularEnding&&g%10===1&&(!o.avoidEndingRules||o.avoidEndingRules.indexOf(g)<0)?y=o.singular:o.few&&(g>1&&g<5||o.useFewEnding&&g%10>1&&g%10<5&&(!o.avoidEndingRules||o.avoidEndingRules.indexOf(g)<0))?y=o.few:(y=o.plural&&(!o.avoidInNumberPlural||!f)?o.plural:o.singular,y=g===2&&o.dual?o.dual:y,y=g>10&&o.restrictedPlural?o.singular:y),o.avoidPrefixException&&o.avoidPrefixException.indexOf(g)>-1){u.push(y);continue}var v=r.unitExceptions[g],S=v||Je(g,lh.defaults({noAnd:!(r.andException&&r.andException[g]||o.andException)&&!0,alternativeBase:o.useAlternativeBase},e));t-=g*n[a],u.push(S+" "+y)}}var $=p*Math.floor(t/p),k=t-$;if(r.andWhenTrailing&&p&&0<k&&u[0].indexOf(r.unitSeparator)!==0&&(u=[u[0],r.unitSeparator.replace(/\s+$/,"")].concat(u.slice(1))),r.allSeparator)for(var M=0;M<u.length-1;M++)u[M]=r.allSeparator+u[M];var E=u.reverse().join(" ");return E}function y3(t,e,r,n,i,o){var s=Math.floor(t/10)*10;return r=t-s,r?i[s]||n[s]+e.baseSeparator+Je(r,o):i[s]||n[s]}});var fn=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},ke=class extends fn{name="BaseError"},st=class extends fn{name="BaseWarning"},yt=class extends ke{name="PotentialLoopError"},wr=class extends ke{name="TemplateError"},Ae=class extends wr{name="TemplateSyntaxError"};var Xe=class extends Error{},Gi=class extends Xe{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Zi=class extends Xe{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},Yi=class extends Xe{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},ct=class extends Xe{},vn=class extends Xe{constructor(e){super(`Invalid unit ${e}`)}},re=class extends Xe{},je=class extends Xe{constructor(){super("Zone is an abstract class")}},w="numeric",ze="short",me="long",kn={year:w,month:w,day:w},Ya={year:w,month:ze,day:w},$h={year:w,month:ze,day:w,weekday:ze},Ja={year:w,month:me,day:w},Ka={year:w,month:me,day:w,weekday:me},Xa={hour:w,minute:w},Qa={hour:w,minute:w,second:w},el={hour:w,minute:w,second:w,timeZoneName:ze},tl={hour:w,minute:w,second:w,timeZoneName:me},rl={hour:w,minute:w,hourCycle:"h23"},nl={hour:w,minute:w,second:w,hourCycle:"h23"},il={hour:w,minute:w,second:w,hourCycle:"h23",timeZoneName:ze},ol={hour:w,minute:w,second:w,hourCycle:"h23",timeZoneName:me},sl={year:w,month:w,day:w,hour:w,minute:w},al={year:w,month:w,day:w,hour:w,minute:w,second:w},ll={year:w,month:ze,day:w,hour:w,minute:w},cl={year:w,month:ze,day:w,hour:w,minute:w,second:w},Eh={year:w,month:ze,day:w,weekday:ze,hour:w,minute:w},ul={year:w,month:me,day:w,hour:w,minute:w,timeZoneName:ze},fl={year:w,month:me,day:w,hour:w,minute:w,second:w,timeZoneName:ze},dl={year:w,month:me,day:w,weekday:me,hour:w,minute:w,timeZoneName:me},hl={year:w,month:me,day:w,weekday:me,hour:w,minute:w,second:w,timeZoneName:me},wt=class{get type(){throw new je}get name(){throw new je}get ianaName(){return this.name}get isUniversal(){throw new je}offsetName(e,r){throw new je}formatOffset(e,r){throw new je}offset(e){throw new je}equals(e){throw new je}get isValid(){throw new je}},Ri=null,xn=class t extends wt{static get instance(){return Ri===null&&(Ri=new t),Ri}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return $l(e,r,n)}formatOffset(e,r){return Cr(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},Ji=new Map;function _h(t){let e=Ji.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ji.set(t,e)),e}var Ch={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Oh(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,o,s,a,l,c,f]=n;return[s,i,o,a,l,c,f]}function Mh(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:o,value:s}=r[i],a=Ch[o];o==="era"?n[a]=s:P(a)||(n[a]=parseInt(s,10))}return n}var Fi=new Map,ft=class t extends wt{static create(e){let r=Fi.get(e);return r===void 0&&Fi.set(e,r=new t(e)),r}static resetCache(){Fi.clear(),Ji.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return $l(e,r,n,this.name)}formatOffset(e,r){return Cr(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=_h(this.name),[i,o,s,a,l,c,f]=n.formatToParts?Mh(n,r):Oh(n,r);a==="BC"&&(i=-Math.abs(i)+1);let p=Cn({year:i,month:o,day:s,hour:l===24?0:l,minute:c,second:f,millisecond:0}),h=+r,g=h%1e3;return h-=g>=0?g:1e3+g,(p-h)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},va={};function Th(t,e={}){let r=JSON.stringify([t,e]),n=va[r];return n||(n=new Intl.ListFormat(t,e),va[r]=n),n}var Ki=new Map;function Xi(t,e={}){let r=JSON.stringify([t,e]),n=Ki.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),Ki.set(r,n)),n}var Qi=new Map;function Ph(t,e={}){let r=JSON.stringify([t,e]),n=Qi.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Qi.set(r,n)),n}var eo=new Map;function Ah(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),o=eo.get(i);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,e),eo.set(i,o)),o}var $r=null;function Lh(){return $r||($r=new Intl.DateTimeFormat().resolvedOptions().locale,$r)}var to=new Map;function pl(t){let e=to.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),to.set(t,e)),e}var ro=new Map;function Nh(t){let e=ro.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...ml,...e}),ro.set(t,e)}return e}function zh(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=Xi(t).resolvedOptions(),i=t}catch{let l=t.substring(0,r);n=Xi(l).resolvedOptions(),i=l}let{numberingSystem:o,calendar:s}=n;return[i,o,s]}}function Dh(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function Ih(t){let e=[];for(let r=1;r<=12;r++){let n=R.utc(2009,r,1);e.push(t(n))}return e}function Rh(t){let e=[];for(let r=1;r<=7;r++){let n=R.utc(2016,11,13+r);e.push(t(n))}return e}function dn(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function Fh(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||pl(t.locale).numberingSystem==="latn"}var no=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:i,floor:o,...s}=n;if(!r||Object.keys(s).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=Ph(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):go(e,3);return K(r,this.padTo)}}},io=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let s=-1*(e.offset/60),a=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&ft.create(a).valid?(i=a,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||i,this.dtf=Xi(r,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},oo=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&wl()&&(this.rtf=Ah(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):sp(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},ml={firstDay:1,minimalDays:4,weekend:[6,7]},q=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,o=!1){let s=e||W.defaultLocale,a=s||(o?"en-US":Lh()),l=r||W.defaultNumberingSystem,c=n||W.defaultOutputCalendar,f=lo(i)||W.defaultWeekSettings;return new t(a,l,c,f,s)}static resetCache(){$r=null,Ki.clear(),Qi.clear(),eo.clear(),to.clear(),ro.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return t.create(e,r,n,i)}constructor(e,r,n,i,o){let[s,a,l]=zh(e);this.locale=s,this.numberingSystem=r||a||null,this.outputCalendar=n||l||null,this.weekSettings=i,this.intl=Dh(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Fh(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,lo(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return dn(this,e,Cl,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";if(!this.monthsCache[o][e]){let s=n?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[o][e]=Ih(s)}return this.monthsCache[o][e]})}weekdays(e,r=!1){return dn(this,e,Tl,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=Rh(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return dn(this,void 0,()=>Pl,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[R.utc(2016,11,13,9),R.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return dn(this,e,Al,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[R.utc(-40,1,1),R.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),o=i.formatToParts(),s=o.find(a=>a.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new no(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new io(e,this.intl,r)}relFormatter(e={}){return new oo(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Th(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||pl(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Sl()?Nh(this.locale):ml}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},qi=null,$e=class t extends wt{static get utcInstance(){return qi===null&&(qi=new t(0)),qi}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(On(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Cr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Cr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Cr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},so=class extends wt{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function lt(t,e){if(P(t)||t===null)return e;if(t instanceof wt)return t;if(Uh(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?xn.instance:r==="utc"||r==="gmt"?$e.utcInstance:$e.parseSpecifier(r)||ft.create(t)}else return ut(t)?$e.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new so(t)}var fo={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},ka={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},qh=fo.hanidec.replace(/[\[|\]]/g,"").split("");function Vh(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(fo.hanidec)!==-1)e+=qh.indexOf(t[r]);else for(let i in ka){let[o,s]=ka[i];n>=o&&n<=s&&(e+=n-o)}}return parseInt(e,10)}else return e}var ao=new Map;function jh(){ao.clear()}function Le({numberingSystem:t},e=""){let r=t||"latn",n=ao.get(r);n===void 0&&(n=new Map,ao.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${fo[r]}${e}`),n.set(e,i)),i}var xa=()=>Date.now(),wa="system",Sa=null,$a=null,Ea=null,_a=60,Ca,Oa=null,W=class{static get now(){return xa}static set now(e){xa=e}static set defaultZone(e){wa=e}static get defaultZone(){return lt(wa,xn.instance)}static get defaultLocale(){return Sa}static set defaultLocale(e){Sa=e}static get defaultNumberingSystem(){return $a}static set defaultNumberingSystem(e){$a=e}static get defaultOutputCalendar(){return Ea}static set defaultOutputCalendar(e){Ea=e}static get defaultWeekSettings(){return Oa}static set defaultWeekSettings(e){Oa=lo(e)}static get twoDigitCutoffYear(){return _a}static set twoDigitCutoffYear(e){_a=e%100}static get throwOnInvalid(){return Ca}static set throwOnInvalid(e){Ca=e}static resetCaches(){q.resetCache(),ft.resetCache(),R.resetCache(),jh()}},pe=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},gl=[0,31,59,90,120,151,181,212,243,273,304,334],bl=[0,31,60,91,121,152,182,213,244,274,305,335];function we(t,e){return new pe("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ho(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function yl(t,e,r){return r+(Mr(t)?bl:gl)[e-1]}function vl(t,e){let r=Mr(t)?bl:gl,n=r.findIndex(o=>o<e),i=e-r[n];return{month:n+1,day:i}}function po(t,e){return(t-e+7)%7+1}function wn(t,e=4,r=1){let{year:n,month:i,day:o}=t,s=yl(n,i,o),a=po(ho(n,i,o),r),l=Math.floor((s-a+14-e)/7),c;return l<1?(c=n-1,l=Or(c,e,r)):l>Or(n,e,r)?(c=n+1,l=1):c=n,{weekYear:c,weekNumber:l,weekday:a,...Mn(t)}}function Ma(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=t,s=po(ho(n,1,e),r),a=Ut(n),l=i*7+o-s-7+e,c;l<1?(c=n-1,l+=Ut(c)):l>a?(c=n+1,l-=Ut(n)):c=n;let{month:f,day:u}=vl(c,l);return{year:c,month:f,day:u,...Mn(t)}}function Vi(t){let{year:e,month:r,day:n}=t,i=yl(e,r,n);return{year:e,ordinal:i,...Mn(t)}}function Ta(t){let{year:e,ordinal:r}=t,{month:n,day:i}=vl(e,r);return{year:e,month:n,day:i,...Mn(t)}}function Pa(t,e){if(!P(t.localWeekday)||!P(t.localWeekNumber)||!P(t.localWeekYear)){if(!P(t.weekday)||!P(t.weekNumber)||!P(t.weekYear))throw new ct("Cannot mix locale-based week fields with ISO-based week fields");return P(t.localWeekday)||(t.weekday=t.localWeekday),P(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),P(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Wh(t,e=4,r=1){let n=_n(t.weekYear),i=Se(t.weekNumber,1,Or(t.weekYear,e,r)),o=Se(t.weekday,1,7);return n?i?o?!1:we("weekday",t.weekday):we("week",t.weekNumber):we("weekYear",t.weekYear)}function Bh(t){let e=_n(t.year),r=Se(t.ordinal,1,Ut(t.year));return e?r?!1:we("ordinal",t.ordinal):we("year",t.year)}function kl(t){let e=_n(t.year),r=Se(t.month,1,12),n=Se(t.day,1,Sn(t.year,t.month));return e?r?n?!1:we("day",t.day):we("month",t.month):we("year",t.year)}function xl(t){let{hour:e,minute:r,second:n,millisecond:i}=t,o=Se(e,0,23)||e===24&&r===0&&n===0&&i===0,s=Se(r,0,59),a=Se(n,0,59),l=Se(i,0,999);return o?s?a?l?!1:we("millisecond",i):we("second",n):we("minute",r):we("hour",e)}function P(t){return typeof t>"u"}function ut(t){return typeof t=="number"}function _n(t){return typeof t=="number"&&t%1===0}function Uh(t){return typeof t=="string"}function Hh(t){return Object.prototype.toString.call(t)==="[object Date]"}function wl(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Sl(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Gh(t){return Array.isArray(t)?t:[t]}function Aa(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let o=[e(i),i];return n&&r(n[0],o[0])===n[0]?n:o},null)[1]}function Zh(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Zt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function lo(t){if(t==null)return null;if(typeof t!="object")throw new re("Week settings must be an object");if(!Se(t.firstDay,1,7)||!Se(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Se(e,1,7)))throw new re("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Se(t,e,r){return _n(t)&&t>=e&&t<=r}function Yh(t,e){return t-e*Math.floor(t/e)}function K(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function at(t){if(!(P(t)||t===null||t===""))return parseInt(t,10)}function vt(t){if(!(P(t)||t===null||t===""))return parseFloat(t)}function mo(t){if(!(P(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function go(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Mr(t){return t%4===0&&(t%100!==0||t%400===0)}function Ut(t){return Mr(t)?366:365}function Sn(t,e){let r=Yh(e-1,12)+1,n=t+(e-r)/12;return r===2?Mr(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Cn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function La(t,e,r){return-po(ho(t,1,e),r)+e-1}function Or(t,e=4,r=1){let n=La(t,e,r),i=La(t+1,e,r);return(Ut(t)-n+i)/7}function co(t){return t>99?t:t>W.twoDigitCutoffYear?1900+t:2e3+t}function $l(t,e,r,n=null){let i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let s={timeZoneName:e,...o},a=new Intl.DateTimeFormat(r,s).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function On(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function El(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new re(`Invalid unit value ${t}`);return e}function $n(t,e){let r={};for(let n in t)if(Zt(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=El(i)}return r}function Cr(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${K(r,2)}:${K(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${K(r,2)}${K(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Mn(t){return Zh(t,["hour","minute","second","millisecond"])}var Jh=["January","February","March","April","May","June","July","August","September","October","November","December"],_l=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Kh=["J","F","M","A","M","J","J","A","S","O","N","D"];function Cl(t){switch(t){case"narrow":return[...Kh];case"short":return[..._l];case"long":return[...Jh];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ol=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ml=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Xh=["M","T","W","T","F","S","S"];function Tl(t){switch(t){case"narrow":return[...Xh];case"short":return[...Ml];case"long":return[...Ol];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Pl=["AM","PM"],Qh=["Before Christ","Anno Domini"],ep=["BC","AD"],tp=["B","A"];function Al(t){switch(t){case"narrow":return[...tp];case"short":return[...ep];case"long":return[...Qh];default:return null}}function rp(t){return Pl[t.hour<12?0:1]}function np(t,e){return Tl(e)[t.weekday-1]}function ip(t,e){return Cl(e)[t.month-1]}function op(t,e){return Al(e)[t.year<0?0:1]}function sp(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){let u=t==="days";switch(e){case 1:return u?"tomorrow":`next ${i[t][0]}`;case-1:return u?"yesterday":`last ${i[t][0]}`;case 0:return u?"today":`this ${i[t][0]}`}}let s=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,c=i[t],f=n?l?c[1]:c[2]||c[1]:l?i[t][0]:t;return s?`${a} ${f} ago`:`in ${a} ${f}`}function Na(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var ap={D:kn,DD:Ya,DDD:Ja,DDDD:Ka,t:Xa,tt:Qa,ttt:el,tttt:tl,T:rl,TT:nl,TTT:il,TTTT:ol,f:sl,ff:ll,fff:ul,ffff:dl,F:al,FF:cl,FFF:fl,FFFF:hl},he=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",i=!1,o=[];for(let s=0;s<e.length;s++){let a=e.charAt(s);a==="'"?((n.length>0||i)&&o.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||a===r?n+=a:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return ap[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return K(e,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(h,g)=>this.loc.extract(e,h,g),s=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",a=()=>n?rp(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,g)=>n?ip(e,h):o(g?{month:h}:{month:h,day:"numeric"},"month"),c=(h,g)=>n?np(e,h):o(g?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),f=h=>{let g=t.macroTokenToFormatOpts(h);return g?this.formatWithSystemDefault(e,g):h},u=h=>n?op(e,h):o({era:h},"era"),p=h=>{switch(h){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return i?o({day:"numeric"},"day"):this.num(e.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(e.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(e.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return f(h)}};return Na(t.parseFormat(r),p)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=f=>{switch(f[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(f,u)=>p=>{let h=i(p);if(h){let g=u.isNegativeDuration&&h!==u.largestUnit?n:1,b;return this.opts.signMode==="negativeLargestOnly"&&h!==u.largestUnit?b="never":this.opts.signMode==="all"?b="always":b="auto",this.num(f.get(h)*g,p.length,b)}else return p},s=t.parseFormat(r),a=s.reduce((f,{literal:u,val:p})=>u?f:f.concat(p),[]),l=e.shiftTo(...a.map(i).filter(f=>f)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Na(s,o(l,c))}},Ll=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Yt(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Jt(...t){return e=>t.reduce(([r,n,i],o)=>{let[s,a,l]=o(e,i);return[{...r,...s},a||n,l]},[{},null,1]).slice(0,2)}function Kt(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function Nl(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=at(e[r+i]);return[n,null,r+i]}}var zl=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,lp=`(?:${zl.source}?(?:\\[(${Ll.source})\\])?)?`,bo=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Dl=RegExp(`${bo.source}${lp}`),yo=RegExp(`(?:[Tt]${Dl.source})?`),cp=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,up=/(\d{4})-?W(\d\d)(?:-?(\d))?/,fp=/(\d{4})-?(\d{3})/,dp=Nl("weekYear","weekNumber","weekDay"),hp=Nl("year","ordinal"),pp=/(\d{4})-(\d\d)-(\d\d)/,Il=RegExp(`${bo.source} ?(?:${zl.source}|(${Ll.source}))?`),mp=RegExp(`(?: ${Il.source})?`);function Ht(t,e,r){let n=t[e];return P(n)?r:at(n)}function gp(t,e){return[{year:Ht(t,e),month:Ht(t,e+1,1),day:Ht(t,e+2,1)},null,e+3]}function Xt(t,e){return[{hours:Ht(t,e,0),minutes:Ht(t,e+1,0),seconds:Ht(t,e+2,0),milliseconds:mo(t[e+3])},null,e+4]}function Tr(t,e){let r=!t[e]&&!t[e+1],n=On(t[e+1],t[e+2]),i=r?null:$e.instance(n);return[{},i,e+3]}function Pr(t,e){let r=t[e]?ft.create(t[e]):null;return[{},r,e+1]}var bp=RegExp(`^T?${bo.source}$`),yp=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function vp(t){let[e,r,n,i,o,s,a,l,c]=t,f=e[0]==="-",u=l&&l[0]==="-",p=(h,g=!1)=>h!==void 0&&(g||h&&f)?-h:h;return[{years:p(vt(r)),months:p(vt(n)),weeks:p(vt(i)),days:p(vt(o)),hours:p(vt(s)),minutes:p(vt(a)),seconds:p(vt(l),l==="-0"),milliseconds:p(mo(c),u)}]}var kp={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vo(t,e,r,n,i,o,s){let a={year:e.length===2?co(at(e)):at(e),month:_l.indexOf(r)+1,day:at(n),hour:at(i),minute:at(o)};return s&&(a.second=at(s)),t&&(a.weekday=t.length>3?Ol.indexOf(t)+1:Ml.indexOf(t)+1),a}var xp=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function wp(t){let[,e,r,n,i,o,s,a,l,c,f,u]=t,p=vo(e,i,n,r,o,s,a),h;return l?h=kp[l]:c?h=0:h=On(f,u),[p,new $e(h)]}function Sp(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var $p=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ep=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,_p=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function za(t){let[,e,r,n,i,o,s,a]=t;return[vo(e,i,n,r,o,s,a),$e.utcInstance]}function Cp(t){let[,e,r,n,i,o,s,a]=t;return[vo(e,a,r,n,i,o,s),$e.utcInstance]}var Op=Yt(cp,yo),Mp=Yt(up,yo),Tp=Yt(fp,yo),Pp=Yt(Dl),Rl=Jt(gp,Xt,Tr,Pr),Ap=Jt(dp,Xt,Tr,Pr),Lp=Jt(hp,Xt,Tr,Pr),Np=Jt(Xt,Tr,Pr);function zp(t){return Kt(t,[Op,Rl],[Mp,Ap],[Tp,Lp],[Pp,Np])}function Dp(t){return Kt(Sp(t),[xp,wp])}function Ip(t){return Kt(t,[$p,za],[Ep,za],[_p,Cp])}function Rp(t){return Kt(t,[yp,vp])}var Fp=Jt(Xt);function qp(t){return Kt(t,[bp,Fp])}var Vp=Yt(pp,mp),jp=Yt(Il),Wp=Jt(Xt,Tr,Pr);function Bp(t){return Kt(t,[Vp,Rl],[jp,Wp])}var Da="Invalid Duration",Fl={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Up={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Fl},xe=146097/400,Vt=146097/4800,Hp={years:{quarters:4,months:12,weeks:xe/7,days:xe,hours:xe*24,minutes:xe*24*60,seconds:xe*24*60*60,milliseconds:xe*24*60*60*1e3},quarters:{months:3,weeks:xe/28,days:xe/4,hours:xe*24/4,minutes:xe*24*60/4,seconds:xe*24*60*60/4,milliseconds:xe*24*60*60*1e3/4},months:{weeks:Vt/7,days:Vt,hours:Vt*24,minutes:Vt*24*60,seconds:Vt*24*60*60,milliseconds:Vt*24*60*60*1e3},...Fl},xt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Gp=xt.slice(0).reverse();function Ke(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ne(n)}function ql(t,e){let r=e.milliseconds??0;for(let n of Gp.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function Ia(t,e){let r=ql(t,e)<0?-1:1;xt.reduceRight((n,i)=>{if(P(e[i]))return n;if(n){let o=e[n]*r,s=t[i][n],a=Math.floor(o/s);e[i]+=a*r,e[n]-=a*s*r}return i},null),xt.reduce((n,i)=>{if(P(e[i]))return n;if(n){let o=e[n]%1;e[n]-=o,e[i]+=o*t[n][i]}return i},null)}function Ra(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var ne=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?Hp:Up;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||q.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new re(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:$n(e,t.normalizeUnit),loc:q.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(ut(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new re(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Rp(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=qp(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new re("need to specify a reason the Duration is invalid");let n=e instanceof pe?e:new pe(e,r);if(W.throwOnInvalid)throw new Yi(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new vn(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?he.create(this.loc,n).formatDurationFromString(this,e):Da}toHuman(e={}){if(!this.isValid)return Da;let r=e.showZeros!==!1,n=xt.map(i=>{let o=this.values[i];return P(o)||o===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=go(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},R.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ql(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let i of xt)(Zt(r.values,i)||Zt(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ke(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=El(e(this.values[n],n));return Ke(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...$n(e,t.normalizeUnit)};return Ke(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ke(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Ia(this.matrix,e),Ke(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Ra(this.normalize().shiftToAll().toObject());return Ke(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>t.normalizeUnit(s));let r={},n={},i=this.toObject(),o;for(let s of xt)if(e.indexOf(s)>=0){o=s;let a=0;for(let c in n)a+=this.matrix[c][s]*n[c],n[c]=0;ut(i[s])&&(a+=i[s]);let l=Math.trunc(a);r[s]=l,n[s]=(a*1e3-l*1e3)/1e3}else ut(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[o]+=s===o?n[s]:n[s]/this.matrix[o][s]);return Ia(this.matrix,r),Ke(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Ke(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Ra(this.values);return Ke(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of xt)if(!r(this.values[n],e.values[n]))return!1;return!0}},jt="Invalid Interval";function Zp(t,e){return!t||!t.isValid?Gt.invalid("missing or invalid start"):!e||!e.isValid?Gt.invalid("missing or invalid end"):e<t?Gt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Gt=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new re("need to specify a reason the Interval is invalid");let n=e instanceof pe?e:new pe(e,r);if(W.throwOnInvalid)throw new Zi(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=Sr(e),i=Sr(r),o=Zp(n,i);return o??new t({start:n,end:i})}static after(e,r){let n=ne.fromDurationLike(r),i=Sr(e);return t.fromDateTimes(i,i.plus(n))}static before(e,r){let n=ne.fromDurationLike(r),i=Sr(e);return t.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let o,s;try{o=R.fromISO(n,r),s=o.isValid}catch{s=!1}let a,l;try{a=R.fromISO(i,r),l=a.isValid}catch{l=!1}if(s&&l)return t.fromDateTimes(o,a);if(s){let c=ne.fromISO(i,r);if(c.isValid)return t.after(o,c)}else if(l){let c=ne.fromISO(n,r);if(c.isValid)return t.before(a,c)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(Sr).filter(s=>this.contains(s)).sort((s,a)=>s.toMillis()-a.toMillis()),n=[],{s:i}=this,o=0;for(;i<this.e;){let s=r[o]||this.e,a=+s>+this.e?this.e:s;n.push(t.fromDateTimes(i,a)),i=a,o+=1}return n}splitBy(e){let r=ne.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,o,s=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(l=>l*i));o=+a>+this.e?this.e:a,s.push(t.fromDateTimes(n,o)),n=o,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,o)=>i.s-o.s).reduce(([i,o],s)=>o?o.overlaps(s)||o.abutsStart(s)?[i,o.union(s)]:[i.concat([o]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],o=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...o),a=s.sort((l,c)=>l.time-c.time);for(let l of a)n+=l.type==="s"?1:-1,n===1?r=l.time:(r&&+r!=+l.time&&i.push(t.fromDateTimes(r,l.time)),r=null);return t.merge(i)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:jt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=kn,r={}){return this.isValid?he.create(this.s.loc.clone(r),e).formatInterval(this):jt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:jt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:jt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:jt}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:jt}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):ne.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},Bt=class{static hasDST(e=W.defaultZone){let r=R.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return ft.isValidZone(e)}static normalizeZone(e){return lt(e,W.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||q.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||q.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||q.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||q.create(r,n,o)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||q.create(r,n,o)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||q.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||q.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return q.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return q.create(r,null,"gregory").eras(e)}static features(){return{relative:wl(),localeWeek:Sl()}}};function Fa(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(ne.fromMillis(n).as("days"))}function Yp(t,e,r){let n=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let f=Fa(l,c);return(f-f%7)/7}],["days",Fa]],i={},o=t,s,a;for(let[l,c]of n)r.indexOf(l)>=0&&(s=l,i[l]=c(t,e),a=o.plus(i),a>e?(i[l]--,t=o.plus(i),t>e&&(a=t,i[l]--,t=o.plus(i))):t=a);return[t,i,a,s]}function Jp(t,e,r,n){let[i,o,s,a]=Yp(t,e,r),l=e-i,c=r.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);c.length===0&&(s<e&&(s=i.plus({[a]:1})),s!==i&&(o[a]=(o[a]||0)+l/(s-i)));let f=ne.fromObject(o,n);return c.length>0?ne.fromMillis(l,n).shiftTo(...c).plus(f):f}var Kp="missing Intl.DateTimeFormat.formatToParts support";function D(t,e=r=>r){return{regex:t,deser:([r])=>e(Vh(r))}}var Xp="\xA0",Vl=`[ ${Xp}]`,jl=new RegExp(Vl,"g");function Qp(t){return t.replace(/\./g,"\\.?").replace(jl,Vl)}function qa(t){return t.replace(/\./g,"").replace(jl," ").toLowerCase()}function Ne(t,e){return t===null?null:{regex:RegExp(t.map(Qp).join("|")),deser:([r])=>t.findIndex(n=>qa(r)===qa(n))+e}}function Va(t,e){return{regex:t,deser:([,r,n])=>On(r,n),groups:e}}function hn(t){return{regex:t,deser:([e])=>e}}function em(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function tm(t,e){let r=Le(e),n=Le(e,"{2}"),i=Le(e,"{3}"),o=Le(e,"{4}"),s=Le(e,"{6}"),a=Le(e,"{1,2}"),l=Le(e,"{1,3}"),c=Le(e,"{1,6}"),f=Le(e,"{1,9}"),u=Le(e,"{2,4}"),p=Le(e,"{4,6}"),h=x=>({regex:RegExp(em(x.val)),deser:([y])=>y,literal:!0}),b=(x=>{if(t.literal)return h(x);switch(x.val){case"G":return Ne(e.eras("short"),0);case"GG":return Ne(e.eras("long"),0);case"y":return D(c);case"yy":return D(u,co);case"yyyy":return D(o);case"yyyyy":return D(p);case"yyyyyy":return D(s);case"M":return D(a);case"MM":return D(n);case"MMM":return Ne(e.months("short",!0),1);case"MMMM":return Ne(e.months("long",!0),1);case"L":return D(a);case"LL":return D(n);case"LLL":return Ne(e.months("short",!1),1);case"LLLL":return Ne(e.months("long",!1),1);case"d":return D(a);case"dd":return D(n);case"o":return D(l);case"ooo":return D(i);case"HH":return D(n);case"H":return D(a);case"hh":return D(n);case"h":return D(a);case"mm":return D(n);case"m":return D(a);case"q":return D(a);case"qq":return D(n);case"s":return D(a);case"ss":return D(n);case"S":return D(l);case"SSS":return D(i);case"u":return hn(f);case"uu":return hn(a);case"uuu":return D(r);case"a":return Ne(e.meridiems(),0);case"kkkk":return D(o);case"kk":return D(u,co);case"W":return D(a);case"WW":return D(n);case"E":case"c":return D(r);case"EEE":return Ne(e.weekdays("short",!1),1);case"EEEE":return Ne(e.weekdays("long",!1),1);case"ccc":return Ne(e.weekdays("short",!0),1);case"cccc":return Ne(e.weekdays("long",!0),1);case"Z":case"ZZ":return Va(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Va(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return hn(/[a-z_+-/]{1,256}?/i);case" ":return hn(/[^\S\n\r]/);default:return h(x)}})(t)||{invalidReason:Kp};return b.token=t,b}var rm={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function nm(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}let o=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let a=rm[s];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function im(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function om(t,e,r){let n=t.match(e);if(n){let i={},o=1;for(let s in r)if(Zt(r,s)){let a=r[s],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(n.slice(o,o+l))),o+=l}return[n,i]}else return[n,{}]}function sm(t){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return P(t.z)||(r=ft.create(t.z)),P(t.Z)||(r||(r=new $e(t.Z)),n=t.Z),P(t.q)||(t.M=(t.q-1)*3+1),P(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),P(t.u)||(t.S=mo(t.u)),[Object.keys(t).reduce((o,s)=>{let a=e(s);return a&&(o[a]=t[s]),o},{}),r,n]}var ji=null;function am(){return ji||(ji=R.fromMillis(1555555555555)),ji}function lm(t,e){if(t.literal)return t;let r=he.macroTokenToFormatOpts(t.val),n=Ul(r,e);return n==null||n.includes(void 0)?t:n}function Wl(t,e){return Array.prototype.concat(...t.map(r=>lm(r,e)))}var En=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Wl(he.parseFormat(r),e),this.units=this.tokens.map(n=>tm(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,i]=im(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){let[r,n]=om(e,this.regex,this.handlers),[i,o,s]=n?sm(n):[null,null,void 0];if(Zt(n,"a")&&Zt(n,"H"))throw new ct("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:o,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Bl(t,e,r){return new En(t,r).explainFromTokens(e)}function cm(t,e,r){let{result:n,zone:i,specificOffset:o,invalidReason:s}=Bl(t,e,r);return[n,i,o,s]}function Ul(t,e){if(!t)return null;let n=he.create(e,t).dtFormatter(am()),i=n.formatToParts(),o=n.resolvedOptions();return i.map(s=>nm(s,t,o))}var Wi="Invalid DateTime",ja=864e13;function Er(t){return new pe("unsupported zone",`the zone "${t.name}" is not supported`)}function Bi(t){return t.weekData===null&&(t.weekData=wn(t.c)),t.weekData}function Ui(t){return t.localWeekData===null&&(t.localWeekData=wn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function kt(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new R({...r,...e,old:r})}function Hl(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let o=r.offset(n);return i===o?[n,i]:[t-Math.min(i,o)*60*1e3,Math.max(i,o)]}function pn(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function gn(t,e,r){return Hl(Cn(t),e,r)}function Wa(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:n,month:i,day:Math.min(t.c.day,Sn(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=ne.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Cn(o),[l,c]=Hl(a,r,t.zone);return s!==0&&(l+=s,c=t.zone.offset(l)),{ts:l,o:c}}function Wt(t,e,r,n,i,o){let{setZone:s,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let l=e||a,c=R.fromObject(t,{...r,zone:l,specificOffset:o});return s?c:c.setZone(a)}else return R.invalid(new pe("unparsable",`the input "${i}" can't be parsed as ${n}`))}function mn(t,e,r=!0){return t.isValid?he.create(q.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Hi(t,e,r){let n=t.c.year>9999||t.c.year<0,i="";if(n&&t.c.year>=0&&(i+="+"),i+=K(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=K(t.c.month),r==="month")return i;i+="-"}else if(i+=K(t.c.month),r==="month")return i;return i+=K(t.c.day),i}function Ba(t,e,r,n,i,o,s){let a=!r||t.c.millisecond!==0||t.c.second!==0,l="";switch(s){case"day":case"month":case"year":break;default:if(l+=K(t.c.hour),s==="hour")break;if(e){if(l+=":",l+=K(t.c.minute),s==="minute")break;a&&(l+=":",l+=K(t.c.second))}else{if(l+=K(t.c.minute),s==="minute")break;a&&(l+=K(t.c.second))}if(s==="second")break;a&&(!n||t.c.millisecond!==0)&&(l+=".",l+=K(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!o?l+="Z":t.o<0?(l+="-",l+=K(Math.trunc(-t.o/60)),l+=":",l+=K(Math.trunc(-t.o%60))):(l+="+",l+=K(Math.trunc(t.o/60)),l+=":",l+=K(Math.trunc(t.o%60)))),o&&(l+="["+t.zone.ianaName+"]"),l}var Gl={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},um={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},fm={ordinal:1,hour:0,minute:0,second:0,millisecond:0},bn=["year","month","day","hour","minute","second","millisecond"],dm=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],hm=["year","ordinal","hour","minute","second","millisecond"];function yn(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new vn(t);return e}function Ua(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return yn(t)}}function pm(t){if(_r===void 0&&(_r=W.now()),t.type!=="iana")return t.offset(_r);let e=t.name,r=uo.get(e);return r===void 0&&(r=t.offset(_r),uo.set(e,r)),r}function Ha(t,e){let r=lt(e.zone,W.defaultZone);if(!r.isValid)return R.invalid(Er(r));let n=q.fromObject(e),i,o;if(P(t.year))i=W.now();else{for(let l of bn)P(t[l])&&(t[l]=Gl[l]);let s=kl(t)||xl(t);if(s)return R.invalid(s);let a=pm(r);[i,o]=gn(t,a,r)}return new R({ts:i,zone:r,loc:n,o})}function Ga(t,e,r){let n=P(r.round)?!0:r.round,i=P(r.rounding)?"trunc":r.rounding,o=(a,l)=>(a=go(a,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(a,l)),s=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return o(s(r.unit),r.unit);for(let a of r.units){let l=s(a);if(Math.abs(l)>=1)return o(l,a)}return o(t>e?-0:0,r.units[r.units.length-1])}function Za(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var _r,uo=new Map,R=class t{constructor(e){let r=e.zone||W.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new pe("invalid input"):null)||(r.isValid?null:Er(r));this.ts=P(e.ts)?W.now():e.ts;let i=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,o]=[e.old.c,e.old.o];else{let a=ut(e.o)&&!e.old?e.o:r.offset(this.ts);i=pn(this.ts,a),n=Number.isNaN(i.year)?new pe("invalid input"):null,i=n?null:i,o=n?null:a}this._zone=r,this.loc=e.loc||q.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Za(arguments),[n,i,o,s,a,l,c]=r;return Ha({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static utc(){let[e,r]=Za(arguments),[n,i,o,s,a,l,c]=r;return e.zone=$e.utcInstance,Ha({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,r={}){let n=Hh(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let i=lt(r.zone,W.defaultZone);return i.isValid?new t({ts:n,zone:i,loc:q.fromObject(r)}):t.invalid(Er(i))}static fromMillis(e,r={}){if(ut(e))return e<-ja||e>ja?t.invalid("Timestamp out of range"):new t({ts:e,zone:lt(r.zone,W.defaultZone),loc:q.fromObject(r)});throw new re(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(ut(e))return new t({ts:e*1e3,zone:lt(r.zone,W.defaultZone),loc:q.fromObject(r)});throw new re("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=lt(r.zone,W.defaultZone);if(!n.isValid)return t.invalid(Er(n));let i=q.fromObject(r),o=$n(e,Ua),{minDaysInFirstWeek:s,startOfWeek:a}=Pa(o,i),l=W.now(),c=P(r.specificOffset)?n.offset(l):r.specificOffset,f=!P(o.ordinal),u=!P(o.year),p=!P(o.month)||!P(o.day),h=u||p,g=o.weekYear||o.weekNumber;if((h||f)&&g)throw new ct("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&f)throw new ct("Can't mix ordinal dates with month/day");let b=g||o.weekday&&!h,x,y,v=pn(l,c);b?(x=dm,y=um,v=wn(v,s,a)):f?(x=hm,y=fm,v=Vi(v)):(x=bn,y=Gl);let S=!1;for(let I of x){let Q=o[I];P(Q)?S?o[I]=y[I]:o[I]=v[I]:S=!0}let $=b?Wh(o,s,a):f?Bh(o):kl(o),k=$||xl(o);if(k)return t.invalid(k);let M=b?Ma(o,s,a):f?Ta(o):o,[E,T]=gn(M,c,n),L=new t({ts:E,zone:n,o:T,loc:i});return o.weekday&&h&&e.weekday!==L.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${L.toISO()}`):L.isValid?L:t.invalid(L.invalid)}static fromISO(e,r={}){let[n,i]=zp(e);return Wt(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=Dp(e);return Wt(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=Ip(e);return Wt(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(P(e)||P(r))throw new re("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:o=null}=n,s=q.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),[a,l,c,f]=cm(s,e,r);return f?t.invalid(f):Wt(a,l,n,`format ${r}`,e,c)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=Bp(e);return Wt(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new re("need to specify a reason the DateTime is invalid");let n=e instanceof pe?e:new pe(e,r);if(W.throwOnInvalid)throw new Gi(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Ul(e,q.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return Wl(he.parseFormat(e),q.fromObject(r)).map(i=>i.val).join("")}static resetCache(){_r=void 0,uo.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Bi(this).weekYear:NaN}get weekNumber(){return this.isValid?Bi(this).weekNumber:NaN}get weekday(){return this.isValid?Bi(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ui(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ui(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ui(this).weekYear:NaN}get ordinal(){return this.isValid?Vi(this.c).ordinal:NaN}get monthShort(){return this.isValid?Bt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Bt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Bt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Bt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=Cn(this.c),i=this.zone.offset(n-e),o=this.zone.offset(n+e),s=this.zone.offset(n-i*r),a=this.zone.offset(n-o*r);if(s===a)return[this];let l=n-s*r,c=n-a*r,f=pn(l,s),u=pn(c,a);return f.hour===u.hour&&f.minute===u.minute&&f.second===u.second&&f.millisecond===u.millisecond?[kt(this,{ts:l}),kt(this,{ts:c})]:[this]}get isInLeapYear(){return Mr(this.year)}get daysInMonth(){return Sn(this.year,this.month)}get daysInYear(){return this.isValid?Ut(this.year):NaN}get weeksInWeekYear(){return this.isValid?Or(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Or(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=he.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone($e.instance(e),r)}toLocal(){return this.setZone(W.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=lt(e,W.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let o=e.offset(this.ts),s=this.toObject();[i]=gn(s,o,e)}return kt(this,{ts:i,zone:e})}else return t.invalid(Er(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return kt(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=$n(e,Ua),{minDaysInFirstWeek:n,startOfWeek:i}=Pa(r,this.loc),o=!P(r.weekYear)||!P(r.weekNumber)||!P(r.weekday),s=!P(r.ordinal),a=!P(r.year),l=!P(r.month)||!P(r.day),c=a||l,f=r.weekYear||r.weekNumber;if((c||s)&&f)throw new ct("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new ct("Can't mix ordinal dates with month/day");let u;o?u=Ma({...wn(this.c,n,i),...r},n,i):P(r.ordinal)?(u={...this.toObject(),...r},P(r.day)&&(u.day=Math.min(Sn(u.year,u.month),u.day))):u=Ta({...Vi(this.c),...r});let[p,h]=gn(u,this.o,this.zone);return kt(this,{ts:p,o:h})}plus(e){if(!this.isValid)return this;let r=ne.fromDurationLike(e);return kt(this,Wa(this,r))}minus(e){if(!this.isValid)return this;let r=ne.fromDurationLike(e).negate();return kt(this,Wa(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=ne.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){let o=this.loc.getStartOfWeek(),{weekday:s}=this;s<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(i==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?he.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Wi}toLocaleString(e=kn,r={}){return this.isValid?he.create(this.loc.clone(r),e).formatDateTime(this):Wi}toLocaleParts(e={}){return this.isValid?he.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:o=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=yn(s);let a=e==="extended",l=Hi(this,a,s);return bn.indexOf(s)>=3&&(l+="T"),l+=Ba(this,a,r,n,i,o,s),l}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?Hi(this,e==="extended",yn(r)):null}toISOWeekDate(){return mn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:o=!1,format:s="extended",precision:a="milliseconds"}={}){return this.isValid?(a=yn(a),(i&&bn.indexOf(a)>=3?"T":"")+Ba(this,s==="extended",r,e,n,o,a)):null}toRFC2822(){return mn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return mn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Hi(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),mn(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Wi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return ne.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=Gh(r).map(ne.normalizeUnit),s=e.valueOf()>this.valueOf(),a=s?this:e,l=s?e:this,c=Jp(a,l,o,i);return s?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?Gt.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r,n)<=i&&i<=o.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(i=e.unit,o=void 0),Ga(r,this.plus(n),{...e,numeric:"always",units:i,unit:o})}toRelativeCalendar(e={}){return this.isValid?Ga(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new re("min requires all arguments be DateTimes");return Aa(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new re("max requires all arguments be DateTimes");return Aa(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:o=null}=n,s=q.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});return Bl(s,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,o=q.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new En(o,e)}static fromFormatParser(e,r,n={}){if(P(e)||P(r))throw new re("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:o=null}=n,s=q.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});if(!s.equals(r.locale))throw new re(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:a,zone:l,specificOffset:c,invalidReason:f}=r.explainFromTokens(e);return f?t.invalid(f):Wt(a,l,n,`format ${r.format}`,e,c)}static get DATE_SHORT(){return kn}static get DATE_MED(){return Ya}static get DATE_MED_WITH_WEEKDAY(){return $h}static get DATE_FULL(){return Ja}static get DATE_HUGE(){return Ka}static get TIME_SIMPLE(){return Xa}static get TIME_WITH_SECONDS(){return Qa}static get TIME_WITH_SHORT_OFFSET(){return el}static get TIME_WITH_LONG_OFFSET(){return tl}static get TIME_24_SIMPLE(){return rl}static get TIME_24_WITH_SECONDS(){return nl}static get TIME_24_WITH_SHORT_OFFSET(){return il}static get TIME_24_WITH_LONG_OFFSET(){return ol}static get DATETIME_SHORT(){return sl}static get DATETIME_SHORT_WITH_SECONDS(){return al}static get DATETIME_MED(){return ll}static get DATETIME_MED_WITH_SECONDS(){return cl}static get DATETIME_MED_WITH_WEEKDAY(){return Eh}static get DATETIME_FULL(){return ul}static get DATETIME_FULL_WITH_SECONDS(){return fl}static get DATETIME_HUGE(){return dl}static get DATETIME_HUGE_WITH_SECONDS(){return hl}};function Sr(t){if(R.isDateTime(t))return t;if(t&&t.valueOf&&ut(t.valueOf()))return R.fromJSDate(t);if(t&&typeof t=="object")return R.fromObject(t);throw new re(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var An="default",So="preflights",mm="shortcuts",gm="imports",bm={[gm]:-200,[So]:-100,[mm]:-10,[An]:0},Co=/[\\:]?[\s'"`;{}]+/g;function ym(t){return t.split(Co)}var vm={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return ym(t)}};function F(t=[]){return Array.isArray(t)?t:[t]}function De(t){return Array.from(new Set(t))}function Zl(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function H(t){return typeof t=="string"}var Ln=class extends Set{_map=new Map;constructor(e){if(super(),e)for(let r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}};function ko(t){return t instanceof Ln}function er(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ue(t){let e=t.length,r=-1,n,i="",o=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){i+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(r);continue}i+=`\\${t.charAt(r)}`}return i}var xo=ue;function km(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var xm=/[\w\u00A0-\uFFFF%-?]/;function tc(t=""){return xm.test(t)}function wm(t){return typeof t=="function"?{match:t}:t}function Yl(t){return t.length===3}function Ar(t){return t!=null}function Sm(){}var $o=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.has(r)||i.set(r,n),i.get(r)}set(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([i,o])=>e(o,r,i)))}},Eo=class extends Map{getFallback(e,r){let n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){let r=[];return this.forEach((n,i)=>{r.push(e(n,i))}),r}flatMap(e){let r=[];return this.forEach((n,i)=>{r.push(...e(n,i))}),r}};function Nn(t){return H(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function $m(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Nn(e)):[t]:[Nn(t)]}function Em(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(t[i][0]===e&&t[i][1]===r)return!1;return!0})}var rc="__virtual_key__";function wo(t){return t==null?"":Em(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==rc?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function Tn(t){return t&&typeof t=="object"&&!Array.isArray(t)}function tr(t,e,r=!1){let n=t,i=e;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let o={...n};return Tn(n)&&Tn(i)&&Object.keys(i).forEach(s=>{Tn(n[s])&&Tn(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?o[s]=tr(n[s],i[s],r):Object.assign(o,{[s]:i[s]})}),o}function Qt(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?Qt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:Qt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?Qt(n):n;return r}return t}function _m(t){return H(t[0])}function Cm(t){return H(t[0])}var Pn={};function Om(t=["-",":"]){let e=t.join("|");return Pn[e]||(Pn[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Pn[e].lastIndex=0,Pn[e]}function Mm(t,e=["-",":"],r=5){let n=Om(e),i,o=t.toString(),s=new Set,a=new Map;do i=!1,o=o.replace(n,(c,f,u,p,h)=>{if(!e.includes(u))return c;i=!0,s.add(f+u);let g=h+f.length+u.length+1,b={length:c.length,items:[]};a.set(h,b);for(let x of[...p.matchAll(/\S+/g)]){let y=g+x.index,v=a.get(y)?.items;v?a.delete(y):v=[{offset:y,length:x[0].length,className:x[0]}];for(let S of v)S.className=S.className==="~"?f:S.className.replace(/^(!?)(.*)/,`$1${f}${u}$2`),b.items.push(S)}return"$".repeat(c.length)}),r-=1;while(i&&r);let l;if(typeof t=="string"){l="";let c=0;for(let[f,u]of a)l+=t.slice(c,f),l+=u.items.map(p=>p.className).join(" "),c=f+u.length;l+=t.slice(c)}else{l=t;for(let[c,f]of a)l.overwrite(c,c+f.length,f.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(s),hasChanged:i,groupsByOffset:a,get expanded(){return l.toString()}}}function Tm(t,e=["-",":"],r=5){let n=Mm(t,e,r);return typeof t=="string"?n.expanded:t}var Jl=new Set;function Pm(t){Jl.has(t)||(console.warn("[unocss]",t),Jl.add(t))}function nc(t){return F(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Kl="_uno_resolved";async function Am(t){let e=typeof t=="function"?await t():await t;if(Kl in e)return e;e={...e},Object.defineProperty(e,Kl,{value:!0,enumerable:!1});let r=e.shortcuts?nc(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=i=>{i[2]||(i[2]={});let o=i[2];o.prefix==null&&e.prefix&&(o.prefix=F(e.prefix)),o.layer==null&&e.layer&&(o.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function ic(t){let e=await Am(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(F).flatMap(ic))).flat();return[e,...r]}function Lm(t){if(t.length===0)return{};let e=[],r=[],n=!1,i=[],o=[];for(let a of t){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&e.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&i.push(a.filesystem),a.inline&&o.push(a.inline)}let s={pipeline:n?!1:{include:De(Ql(...e)),exclude:De(Ql(...r))}};return i.length&&(s.filesystem=De(i.flat())),o.length&&(s.inline=De(o.flat())),s}async function Xl(t={},e={}){let r=Object.assign({},e,t),n=Zl((await Promise.all((r.presets||[]).flatMap(F).flatMap(ic))).flat(),(k,M)=>k.name===M.name),i=[...n.filter(k=>k.enforce==="pre"),...n.filter(k=>!k.enforce),...n.filter(k=>k.enforce==="post")],o=[...i,r],s=[...o].reverse(),a=Object.assign({},bm,...o.map(k=>k.layers));function l(k){return De(o.flatMap(M=>F(M[k]||[])))}let c=l("extractors"),f=s.find(k=>k.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=vm),f&&!c.includes(f)&&c.unshift(f),c.sort((k,M)=>(k.order||0)-(M.order||0));let u=l("rules"),p=u.length,h={},g=[];for(let[k,M]of u.entries()){let E=M[2]??(M[2]={});E.__index=k,_m(M)?F(E.prefix??"").forEach(L=>{h[L+M[0]]=M}):g.unshift(M)}let b={templates:De(o.flatMap(k=>F(k.autocomplete?.templates))),extractors:o.flatMap(k=>F(k.autocomplete?.extractors)).sort((k,M)=>(k.order||0)-(M.order||0)),shorthands:zm(o.map(k=>k.autocomplete?.shorthands||{}))},x=l("separators");x.length||(x=[":","-"]);let y=l("content"),v=Lm(y),S={mergeSelectors:!0,warn:!0,sortLayers:k=>k,...r,blocklist:l("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:Nm(o.map(k=>k.theme)),rules:u,rulesSize:p,rulesDynamic:g,rulesStaticMap:h,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:b,variants:l("variants").map(wm).sort((k,M)=>(k.order||0)-(M.order||0)),shortcuts:nc(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:x,details:r.details??r.envMode==="dev",content:v,transformers:Zl(l("transformers"),(k,M)=>k.name===M.name)},$=l("extendTheme");for(let k of $)S.theme=k(S.theme,S)||S.theme;for(let k of o)k?.configResolved?.(S);return S}function Nm(t){return t.map(e=>e?Qt(e):{}).reduce((e,r)=>tr(e,r),{})}function zm(t){return t.reduce((e,r)=>{let n={};for(let i in r){let o=r[i];Array.isArray(o)?n[i]=`(${o.join("|")})`:n[i]=o}return{...e,...n}},{})}function Ql(...t){return t.flatMap(Dm)}function Dm(t){return Array.isArray(t)?t:t?[t]:[]}var Im="66.5.9",J={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},_o=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=Im;events=km();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){let n=new t(e,r);return n.config=await Xl(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Xl(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let i={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let o of this.config.extractors){let s=await o.extract?.(i);if(s)if(ko(s)&&ko(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:J,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let i=this.config.preprocess.reduce((l,c)=>c(l)??l,e);if(this.isBlocked(i)){this.blocked.add(e),this.cache.set(n,null);return}let o=await this.matchVariants(e,i);if(o.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async l=>{let c=this.makeContext(e,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);let f=await this.expandShortcut(c.currentSelector,c);return f?await this.stringifyShortcuts(c.variantMatch,c,f[0],f[1]):(await this.parseUtil(c.variantMatch,c))?.map(p=>this.stringifyUtil(p,c)).filter(Ar)},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:i,preflights:o=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=r,c=H(e)?await this.applyExtractors(e,n,l?new Ln:new Set):Array.isArray(e)?new Set(e):e;if(s){let E={generator:this,theme:this.config.theme};this.config.safelist.flatMap(T=>typeof T=="function"?T(E):T).forEach(T=>{let L=T.trim();L&&!c.has(L)&&c.add(L)})}let f=a?"":`
|
|
24
|
+
`,e};Z.prototype.Program=function(t){var e="",r=t.body,n=void 0,i=void 0;if(t.blockParams){var o="BLOCK PARAMS: [";for(n=0,i=t.blockParams.length;n<i;n++)o+=" "+t.blockParams[n];o+=" ]",e+=this.pad(o)}for(n=0,i=r.length;n<i;n++)e+=this.accept(r[n]);return this.padding--,e};Z.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};Z.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};Z.prototype.BlockStatement=Z.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};Z.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};Z.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};Z.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};Z.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};Z.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,i=0,o=e.length;i<o;i++)r.push(this.accept(e[i]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};Z.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};Z.prototype.StringLiteral=function(t){return'"'+t.value+'"'};Z.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};Z.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};Z.prototype.UndefinedLiteral=function(){return"UNDEFINED"};Z.prototype.NullLiteral=function(){return"NULL"};Z.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};Z.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var Js=_((G4,kd)=>{var Ti=gd().default,vd=bd();Ti.PrintVisitor=vd.PrintVisitor;Ti.print=vd.print;kd.exports=Ti;function yd(t,e){var r=qt("fs"),n=r.readFileSync(e,"utf8");t.exports=Ti.compile(n)}typeof qt<"u"&&qt.extensions&&(qt.extensions[".handlebars"]=yd,qt.extensions[".hbs"]=yd)});var Ud=_(Bd=>{"use strict";function t3(t,e){t==null&&(t={});for(var r={},n=Object.keys(e),i=0,o=n.length;i<o;i++){var s=n[i];r[s]=t[s]||e[s]}return r}Bd.defaults=t3});var Hd=_((Sx,r3)=>{r3.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{"0":"zero","1":"one","2":"two","3":"three","4":"four","5":"five","6":"six","7":"seven","8":"eight","9":"nine","10":"ten","11":"eleven","12":"twelve","13":"thirteen","14":"fourteen","15":"fifteen","16":"sixteen","17":"seventeen","18":"eighteen","19":"nineteen","20":"twenty","30":"thirty","40":"forty","50":"fifty","60":"sixty","70":"seventy","80":"eighty","90":"ninety"},units:["hundred","thousand","million","billion","trillion","quadrillion","quintillion","sextillion","septillion","octillion","nonillion","decillion","undecillion","duodecillion","tredecillion","quattuordecillion","quindecillion"],unitExceptions:[]}});var Gd=_(($x,n3)=>{n3.exports={useLongScale:!0,baseSeparator:" y ",unitSeparator:"",base:{"0":"cero","1":"uno","2":"dos","3":"tres","4":"cuatro","5":"cinco","6":"seis","7":"siete","8":"ocho","9":"nueve","10":"diez","11":"once","12":"doce","13":"trece","14":"catorce","15":"quince","16":"diecis\xE9is","17":"diecisiete","18":"dieciocho","19":"diecinueve","20":"veinte","21":"veintiuno","22":"veintid\xF3s","23":"veintitr\xE9s","24":"veinticuatro","25":"veinticinco","26":"veintis\xE9is","27":"veintisiete","28":"veintiocho","29":"veintinueve","30":"treinta","40":"cuarenta","50":"cincuenta","60":"sesenta","70":"setenta","80":"ochenta","90":"noventa","100":"cien","200":"doscientos","300":"trescientos","400":"cuatrocientos","500":"quinientos","600":"seiscientos","700":"setecientos","800":"ochocientos","900":"novecientos","1000":"mil"},unitExceptions:{"1000000":"un mill\xF3n","1000000000000":"un bill\xF3n","1000000000000000000":"un trill\xF3n","1000000000000000000000000":"un cuatrillones","1000000000000000000000000000000":"un quintill\xF3n","1000000000000000000000000000000000000":"un sextill\xF3n","1000000000000000000000000000000000000000000":"un septill\xF3n","1000000000000000000000000000000000000000000000000":"un octill\xF3n","1000000000000000000000000000000000000000000000000000000":"un nonill\xF3n","1000000000000000000000000000000000000000000000000000000000000":"un decill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000":"un undecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000":"un duodecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000":"un tredecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un cuatordecill\xF3n","1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000":"un quindecill\xF3n"},units:[{singular:"ciento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0},{singular:"mil",avoidPrefixException:[1]},{singular:"mill\xF3n",plural:"millones"},{singular:"bill\xF3n",plural:"billones"},{singular:"trill\xF3n",plural:"trillones"},{singular:"cuatrill\xF3n",plural:"cuatrillones"},{singular:"quintill\xF3n",plural:"quintillones"},{singular:"sextill\xF3n",plural:"sextillones"},{singular:"septill\xF3n",plural:"septillones"},{singular:"octill\xF3n",plural:"octillones"},{singular:"nonill\xF3n",plural:"nonillones"},{singular:"decill\xF3n",plural:"decillones"},{singular:"undecill\xF3n",plural:"undecillones"},{singular:"duodecill\xF3n",plural:"duodecillones"},{singular:"tredecill\xF3n",plural:"tredecillones"},{singular:"cuatrodecill\xF3n",plural:"cuatrodecillones"},{singular:"quindecill\xF3n",plural:"quindecillones"}]}});var Zd=_((Ex,i3)=>{i3.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",allSeparator:"\u0648",base:{"0":"\u0635\u0641\u0631","1":"\u0648\u0627\u062D\u062F","2":"\u0627\u062B\u0646\u0627\u0646","3":"\u062B\u0644\u0627\u062B\u0629","4":"\u0623\u0631\u0628\u0639\u0629","5":"\u062E\u0645\u0633\u0629","6":"\u0633\u062A\u0629","7":"\u0633\u0628\u0639\u0629","8":"\u062B\u0645\u0627\u0646\u064A\u0629","9":"\u062A\u0633\u0639\u0629","10":"\u0639\u0634\u0631\u0629","11":"\u0623\u062D\u062F \u0639\u0634\u0631","12":"\u0625\u062B\u0646\u0627 \u0639\u0634\u0631","13":"\u062B\u0644\u0627\u062B\u0629 \u0639\u0634\u0631","14":"\u0623\u0631\u0628\u0639\u0629 \u0639\u0634\u0631","15":"\u062E\u0645\u0633\u0629 \u0639\u0634\u0631","16":"\u0633\u062A\u0629 \u0639\u0634\u0631","17":"\u0633\u0628\u0639\u0629 \u0639\u0634\u0631","18":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0639\u0634\u0631","19":"\u062A\u0633\u0639\u0629 \u0639\u0634\u0631","20":"\u0639\u0634\u0631\u0648\u0646","21":"\u0648\u0627\u062D\u062F \u0648\u0639\u0634\u0631\u0648\u0646","22":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0639\u0634\u0631\u0648\u0646","23":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","24":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","25":"\u062E\u0645\u0633\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","26":"\u0633\u062A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","27":"\u0633\u0628\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","28":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","29":"\u062A\u0633\u0639\u0629 \u0648\u0639\u0634\u0631\u0648\u0646","30":"\u062B\u0644\u0627\u062B\u0648\u0646","31":"\u0648\u0627\u062D\u062F \u0648\u062B\u0644\u0627\u062B\u0648\u0646","32":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","33":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","34":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","35":"\u062E\u0645\u0633\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","36":"\u0633\u062A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","37":"\u0633\u0628\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","38":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","39":"\u062A\u0633\u0639\u0629 \u0648\u062B\u0644\u0627\u062B\u0648\u0646","40":"\u0623\u0631\u0628\u0639\u0648\u0646","41":"\u0648\u0627\u062D\u062F \u0648\u0623\u0631\u0628\u0639\u0648\u0646","42":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","43":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","44":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","45":"\u062E\u0645\u0633\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","46":"\u0633\u062A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","47":"\u0633\u0628\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","48":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","49":"\u062A\u0633\u0639\u0629 \u0648\u0623\u0631\u0628\u0639\u0648\u0646","50":"\u062E\u0645\u0633\u0648\u0646","51":"\u0648\u0627\u062D\u062F \u0648\u062E\u0645\u0633\u0648\u0646","52":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062E\u0645\u0633\u0648\u0646","53":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","54":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","55":"\u062E\u0645\u0633\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","56":"\u0633\u062A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","57":"\u0633\u0628\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","58":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","59":"\u062A\u0633\u0639\u0629 \u0648\u062E\u0645\u0633\u0648\u0646","60":"\u0633\u062A\u0648\u0646","61":"\u0648\u0627\u062D\u062F \u0648\u0633\u062A\u0648\u0646","62":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u062A\u0648\u0646","63":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u062A\u0648\u0646","64":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646","65":"\u062E\u0645\u0633\u0629 \u0648\u0633\u062A\u0648\u0646","66":"\u0633\u062A\u0629 \u0648\u0633\u062A\u0648\u0646","67":"\u0633\u0628\u0639\u0629 \u0648\u0633\u062A\u0648\u0646","68":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u062A\u0648\u0646","69":"\u062A\u0633\u0639\u0629 \u0648\u0633\u062A\u0648\u0646","70":"\u0633\u0628\u0639\u0648\u0646","71":"\u0648\u0627\u062D\u062F \u0648\u0633\u0628\u0639\u0648\u0646","72":"\u0627\u062B\u0646\u0627\u0646 \u0648\u0633\u0628\u0639\u0648\u0646","73":"\u062B\u0644\u0627\u062B\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","74":"\u0623\u0631\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","75":"\u062E\u0645\u0633\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","76":"\u0633\u062A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","77":"\u0633\u0628\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","78":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","79":"\u062A\u0633\u0639\u0629 \u0648\u0633\u0628\u0639\u0648\u0646","80":"\u062B\u0645\u0627\u0646\u0648\u0646","81":"\u0648\u0627\u062D\u062F \u0648\u062B\u0645\u0627\u0646\u0648\u0646","82":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","83":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","84":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","85":"\u062E\u0645\u0633\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","86":"\u0633\u062A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","87":"\u0633\u0628\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","88":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","89":"\u062A\u0633\u0639\u0629 \u0648\u062B\u0645\u0627\u0646\u0648\u0646","90":"\u062A\u0633\u0639\u0648\u0646","91":"\u0648\u0627\u062D\u062F \u0648\u062A\u0633\u0639\u0648\u0646","92":"\u0627\u062B\u0646\u0627\u0646 \u0648\u062A\u0633\u0639\u0648\u0646","93":"\u062B\u0644\u0627\u062B\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","94":"\u0623\u0631\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","95":"\u062E\u0645\u0633\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","96":"\u0633\u062A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","97":"\u0633\u0628\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","98":"\u062B\u0645\u0627\u0646\u064A\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","99":"\u062A\u0633\u0639\u0629 \u0648\u062A\u0633\u0639\u0648\u0646","200":"\u0645\u0627\u0626\u062A\u0627\u0646","300":"\u062B\u0644\u0627\u062B\u0645\u0627\u0626\u0629","400":"\u0623\u0631\u0628\u0639\u0645\u0627\u0626\u0629","500":"\u062E\u0645\u0633\u0645\u0627\u0626\u0629","600":"\u0633\u062A\u0645\u0627\u0626\u0629","700":"\u0633\u0628\u0639\u0645\u0627\u0626\u0629","800":"\u062B\u0645\u0627\u0646\u0645\u0627\u0626\u0629","900":"\u062A\u0633\u0639\u0645\u0627\u0626\u0629"},units:[{singular:"\u0645\u0627\u0626\u0629",useBaseInstead:!0,useBaseException:[1]},{singular:"\u0623\u0644\u0641",dual:"\u0623\u0644\u0641\u0627\u0646",plural:"\u0622\u0644\u0627\u0641",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0648\u0646",dual:"\u0645\u0644\u064A\u0648\u0646\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0646",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u0645\u0644\u064A\u0627\u0631",dual:"\u0645\u0644\u064A\u0627\u0631\u0627\u0646",plural:"\u0645\u0644\u0627\u064A\u064A\u0631",restrictedPlural:!0,avoidPrefixException:[1,2]},{singular:"\u062A\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062F\u0631\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0643\u0633\u062A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0633\u0628\u062A\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0643\u062A\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0646\u0648\u0646\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0623\u0648\u0646\u062F\u0634\u064A\u0644\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062F\u0648\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u062A\u0631\u064A\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u0627\u062A\u0648\u0631\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]},{singular:"\u0643\u0648\u064A\u0646\u062F\u0634\u064A\u0644\u064A\u0648\u0646",avoidPrefixException:[1]}],unitExceptions:{}}});var Yd=_((_x,o3)=>{o3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"s\u0131f\u0131r","1":"bir","2":"iki","3":"\xFC\xE7","4":"d\xF6rd","5":"be\u015F","6":"alt\u0131","7":"yeddi","8":"s\u0259kkiz","9":"doqquz","10":"on","20":"iyirmi","30":"otuz","40":"q\u0131rx","50":"\u0259lli","60":"altm\u0131\u015F","70":"yetmi\u015F","80":"s\u0259ks\u0259n","90":"doxsan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"min",avoidPrefixException:[1]},"milyon","milyard","trilyon","kvadrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}});var Jd=_((Cx,s3)=>{s3.exports={useLongScale:!1,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{"0":"zero","1":"um","2":"dois","3":"tr\xEAs","4":"quatro","5":"cinco","6":"seis","7":"sete","8":"oito","9":"nove","10":"dez","11":"onze","12":"doze","13":"treze","14":"catorze","15":"quinze","16":"dezesseis","17":"dezessete","18":"dezoito","19":"dezenove","20":"vinte","30":"trinta","40":"quarenta","50":"cinquenta","60":"sessenta","70":"setenta","80":"oitenta","90":"noventa","100":"cem","200":"duzentos","300":"trezentos","400":"quatrocentos","500":"quinhentos","600":"seiscentos","700":"setecentos","800":"oitocentos","900":"novecentos","1000":"mil"},unitExceptions:{"1":"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bilh\xE3o",plural:"bilh\xF5es"},{singular:"trilh\xE3o",plural:"trilh\xF5es"},{singular:"quadrilh\xE3o",plural:"quadrilh\xE3o"},{singular:"quintilh\xE3o",plural:"quintilh\xF5es"},{singular:"sextilh\xE3o",plural:"sextilh\xF5es"},{singular:"septilh\xE3o",plural:"septilh\xF5es"},{singular:"octilh\xE3o",plural:"octilh\xF5es"},{singular:"nonilh\xE3o",plural:"nonilh\xF5es"},{singular:"decilh\xE3o",plural:"decilh\xF5es"},{singular:"undecilh\xE3o",plural:"undecilh\xF5es"},{singular:"doudecilh\xE3o",plural:"doudecilh\xF5es"},{singular:"tredecilh\xE3o",plural:"tredecilh\xF5es"}]}});var Kd=_((Ox,a3)=>{a3.exports={useLongScale:!0,baseSeparator:" e ",unitSeparator:"e ",andWhenTrailing:!0,base:{"0":"zero","1":"um","2":"dois","3":"tr\xEAs","4":"quatro","5":"cinco","6":"seis","7":"sete","8":"oito","9":"nove","10":"dez","11":"onze","12":"doze","13":"treze","14":"catorze","15":"quinze","16":"dezasseis","17":"dezassete","18":"dezoito","19":"dezanove","20":"vinte","30":"trinta","40":"quarenta","50":"cinquenta","60":"sessenta","70":"setenta","80":"oitenta","90":"noventa","100":"cem","200":"duzentos","300":"trezentos","400":"quatrocentos","500":"quinhentos","600":"seiscentos","700":"setecentos","800":"oitocentos","900":"novecentos","1000":"mil"},unitExceptions:{"1":"um"},units:[{singular:"cento",useBaseInstead:!0,useBaseException:[1],useBaseExceptionWhenNoTrailingNumbers:!0,andException:!0},{singular:"mil",avoidPrefixException:[1],andException:!0},{singular:"milh\xE3o",plural:"milh\xF5es"},{singular:"bili\xE3o",plural:"bili\xF5es"},{singular:"trili\xE3o",plural:"trili\xF5es"},{singular:"quadrili\xE3o",plural:"quadrili\xF5es"},{singular:"quintili\xE3o",plural:"quintili\xF5es"},{singular:"sextili\xE3o",plural:"sextili\xF5es"},{singular:"septili\xE3o",plural:"septili\xF5es"},{singular:"octili\xE3o",plural:"octili\xF5es"},{singular:"nonili\xE3o",plural:"nonili\xF5es"},{singular:"decili\xE3o",plural:"decili\xF5es"}]}});var Xd=_((Mx,l3)=>{l3.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"",base:{"0":"z\xE9ro","1":"un","2":"deux","3":"trois","4":"quatre","5":"cinq","6":"six","7":"sept","8":"huit","9":"neuf","10":"dix","11":"onze","12":"douze","13":"treize","14":"quatorze","15":"quinze","16":"seize","17":"dix-sept","18":"dix-huit","19":"dix-neuf","20":"vingt","30":"trente","40":"quarante","50":"cinquante","60":"soixante","70":"soixante-dix","80":"quatre-vingt","90":"quatre-vingt-dix"},units:[{singular:"cent",plural:"cents",avoidInNumberPlural:!0,avoidPrefixException:[1]},{singular:"mille",avoidPrefixException:[1]},{singular:"million",plural:"millions"},{singular:"milliard",plural:"milliards"},{singular:"billion",plural:"billions"},{singular:"billiard",plural:"billiards"},{singular:"trillion",plural:"trillions"},{singular:"trilliard",plural:"trilliards"},{singular:"quadrillion",plural:"quadrillions"},{singular:"quadrilliard",plural:"quadrilliards"},{singular:"quintillion",plural:"quintillions"},{singular:"quintilliard",plural:"quintilliards"},{singular:"sextillion",plural:"sextillions"},{singular:"sextilliard",plural:"sextilliards"},{singular:"septillion",plural:"septillions"},{singular:"septilliard",plural:"septilliards"},{singular:"octillion",plural:"octillions"}],unitExceptions:{"21":"vingt et un","31":"trente et un","41":"quarante et un","51":"cinquante et un","61":"soixante et un","71":"soixante et onze","72":"soixante-douze","73":"soixante-treize","74":"soixante-quatorze","75":"soixante-quinze","76":"soixante-seize","77":"soixante-dix-sept","78":"soixante-dix-huit","79":"soixante-dix-neuf","80":"quatre-vingts","91":"quatre-vingt-onze","92":"quatre-vingt-douze","93":"quatre-vingt-treize","94":"quatre-vingt-quatorze","95":"quatre-vingt-quinze","96":"quatre-vingt-seize","97":"quatre-vingt-dix-sept","98":"quatre-vingt-dix-huit","99":"quatre-vingt-dix-neuf"}}});var Qd=_((Tx,c3)=>{c3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"nulo","1":"unu","2":"du","3":"tri","4":"kvar","5":"kvin","6":"ses","7":"sep","8":"ok","9":"na\u016D","10":"dek","20":"dudek","30":"tridek","40":"kvardek","50":"kvindek","60":"sesdek","70":"sepdek","80":"okdek","90":"na\u016Ddek","100":"cent","200":"ducent","300":"tricent","400":"kvarcent","500":"kvincent","600":"sescent","700":"sepcent","800":"okcent","900":"na\u016Dcent"},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"mil",avoidPrefixException:[1]},{singular:"miliono",plural:"milionoj",avoidPrefixException:[1]},{singular:"miliardo",plural:"miliardoj",avoidPrefixException:[1]},{singular:"biliono",plural:"bilionoj",avoidPrefixException:[1]}],unitExceptions:[]}});var eh=_((Px,u3)=>{u3.exports={useLongScale:!1,baseSeparator:"",unitSeparator:"",generalSeparator:"",wordSeparator:"",base:{"0":"zero","1":"uno","2":"due","3":"tre","4":"quattro","5":"cinque","6":"sei","7":"sette","8":"otto","9":"nove","10":"dieci","11":"undici","12":"dodici","13":"tredici","14":"quattordici","15":"quindici","16":"sedici","17":"diciassette","18":"diciotto","19":"diciannove","20":"venti","21":"ventuno","23":"ventitr\xE9","28":"ventotto","30":"trenta","31":"trentuno","33":"trentatr\xE9","38":"trentotto","40":"quaranta","41":"quarantuno","43":"quaranta\xADtr\xE9","48":"quarantotto","50":"cinquanta","51":"cinquantuno","53":"cinquantatr\xE9","58":"cinquantotto","60":"sessanta","61":"sessantuno","63":"sessanta\xADtr\xE9","68":"sessantotto","70":"settanta","71":"settantuno","73":"settantatr\xE9","78":"settantotto","80":"ottanta","81":"ottantuno","83":"ottantatr\xE9","88":"ottantotto","90":"novanta","91":"novantuno","93":"novantatr\xE9","98":"novantotto","100":"cento","101":"centuno","108":"centootto","180":"centottanta","201":"duecentuno","301":"tre\xADcent\xADuno","401":"quattro\xADcent\xADuno","501":"cinque\xADcent\xADuno","601":"sei\xADcent\xADuno","701":"sette\xADcent\xADuno","801":"otto\xADcent\xADuno","901":"nove\xADcent\xADuno"},unitExceptions:{"1":"un"},units:[{singular:"cento",avoidPrefixException:[1]},{singular:"mille",plural:"mila",avoidPrefixException:[1]},{singular:"milione",plural:"milioni"},{singular:"miliardo",plural:"miliardi"},{singular:"bilione",plural:"bilioni"},{singular:"biliardo",plural:"biliardi"},{singular:"trilione",plural:"trilioni"},{singular:"triliardo",plural:"triliardi"},{singular:"quadrilione",plural:"quadrilioni"},{singular:"quadriliardo",plural:"quadriliardi"}]}});var th=_((Ax,f3)=>{f3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"v\xE0 ",base:{"0":"kh\xF4ng","1":"m\u1ED9t","2":"hai","3":"ba","4":"b\u1ED1n","5":"n\u0103m","6":"s\xE1u","7":"b\u1EA3y","8":"t\xE1m","9":"ch\xEDn","10":"m\u01B0\u1EDDi","15":"m\u01B0\u1EDDi l\u0103m","20":"hai m\u01B0\u01A1i","21":"hai m\u01B0\u01A1i m\u1ED1t","25":"hai m\u01B0\u01A1i l\u0103m","30":"ba m\u01B0\u01A1i","31":"ba m\u01B0\u01A1i m\u1ED1t","40":"b\u1ED1n m\u01B0\u01A1i","41":"b\u1ED1n m\u01B0\u01A1i m\u1ED1t","45":"b\u1ED1n m\u01B0\u01A1i l\u0103m","50":"n\u0103m m\u01B0\u01A1i","51":"n\u0103m m\u01B0\u01A1i m\u1ED1t","55":"n\u0103m m\u01B0\u01A1i l\u0103m","60":"s\xE1u m\u01B0\u01A1i","61":"s\xE1u m\u01B0\u01A1i m\u1ED1t","65":"s\xE1u m\u01B0\u01A1i l\u0103m","70":"b\u1EA3y m\u01B0\u01A1i","71":"b\u1EA3y m\u01B0\u01A1i m\u1ED1t","75":"b\u1EA3y m\u01B0\u01A1i l\u0103m","80":"t\xE1m m\u01B0\u01A1i","81":"t\xE1m m\u01B0\u01A1i m\u1ED1t","85":"t\xE1m m\u01B0\u01A1i l\u0103m","90":"ch\xEDn m\u01B0\u01A1i","91":"ch\xEDn m\u01B0\u01A1i m\u1ED1t","95":"ch\xEDn m\u01B0\u01A1i l\u0103m"},units:["tr\u0103m","ng\xE0n","tri\u1EC7u","t\u1EF7","ngh\xECn t\u1EF7"],unitExceptions:[]}});var rh=_((Lx,d3)=>{d3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"s\u0131f\u0131r","1":"bir","2":"iki","3":"\xFC\xE7","4":"d\xF6rt","5":"be\u015F","6":"alt\u0131","7":"yedi","8":"sekiz","9":"dokuz","10":"on","20":"yirmi","30":"otuz","40":"k\u0131rk","50":"elli","60":"altm\u0131\u015F","70":"yetmi\u015F","80":"seksen","90":"doksan"},units:[{singular:"y\xFCz",avoidPrefixException:[1]},{singular:"bin",avoidPrefixException:[1]},"milyon","milyar","trilyon","katrilyon","kentilyon","sekstilyon","septilyon","oktilyon","nonilyon","desilyon","andesilyon","dodesilyon","tredesilyon","katordesilyon","kendesilyon"],unitExceptions:[]}});var nh=_((Nx,h3)=>{h3.exports={useLongScale:!0,baseSeparator:"",unitSeparator:"\xE9s ",base:{"0":"nulla","1":"egy","2":"kett\u0151","3":"h\xE1rom","4":"n\xE9gy","5":"\xF6t","6":"hat","7":"h\xE9t","8":"nyolc","9":"kilenc","10":"t\xEDz","11":"tizenegy","12":"tizenkett\u0151","13":"tizenh\xE1rom","14":"tizenn\xE9gy","15":"tizen\xF6t","16":"tizenhat","17":"tizenh\xE9t","18":"tizennyolc","19":"tizenkilenc","20":"h\xFAsz","21":"huszonegy","22":"huszonkett\u0151","23":"huszonh\xE1rom","24":"huszonn\xE9gy","25":"huszon\xF6t","26":"huszonhat","27":"huszonh\xE9t","28":"huszonnyolc","29":"huszonkilenc","30":"harminc","40":"negyven","50":"\xF6tven","60":"hatvan","70":"hetven","80":"nyolcvan","90":"kilencven","100":"sz\xE1z","200":"k\xE9tsz\xE1z","300":"h\xE1romsz\xE1z","400":"n\xE9gysz\xE1z","500":"\xF6tsz\xE1z","600":"hatsz\xE1z","700":"h\xE9tsz\xE1z","800":"nyolcsz\xE1z","900":"kilencsz\xE1z","1000":"ezer"},unitExceptions:{"1":"egy"},units:[{singular:"sz\xE1z",useBaseInstead:!0,useBaseException:[1]},{singular:"ezer",avoidPrefixException:[1]},{singular:"milli\xF3",avoidPrefixException:[1]},{singular:"milli\xE1rd",avoidPrefixException:[1]},{singular:"-billi\xF3",avoidPrefixException:[1]},{singular:"billi\xE1rd",avoidPrefixException:[1]},{singular:"trilli\xF3",avoidPrefixException:[1]},{singular:"trilli\xE1rd",avoidPrefixException:[1]},{singular:"kvadrilli\xF3",avoidPrefixException:[1]},{singular:"kvadrilli\xE1rd",avoidPrefixException:[1]},{singular:"kvintilli\xF3",avoidPrefixException:[1]},{singular:"kvintilli\xE1rd",avoidPrefixException:[1]},{singular:"szextilli\xF3",avoidPrefixException:[1]},{singular:"szeptilli\xF3",avoidPrefixException:[1]},{singular:"oktilli\xF3",avoidPrefixException:[1]},{singular:"nonilli\xF3",avoidPrefixException:[1]}]}});var ih=_((zx,p3)=>{p3.exports={useLongScale:!1,baseSeparator:"-",unitSeparator:"and ",base:{"0":"zero","1":"one","2":"two","3":"three","4":"four","5":"five","6":"six","7":"seven","8":"eight","9":"nine","10":"ten","11":"eleven","12":"twelve","13":"thirteen","14":"fourteen","15":"fifteen","16":"sixteen","17":"seventeen","18":"eighteen","19":"nineteen","20":"twenty","30":"thirty","40":"forty","50":"fifty","60":"sixty","70":"seventy","80":"eighty","90":"ninety"},units:{"2":"hundred","3":"thousand","5":"lakh","7":"crore"},unitExceptions:[]}});var oh=_((Dx,m3)=>{m3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"\u043D\u0443\u043B\u044C","1":"\u043E\u0434\u0438\u043D","2":"\u0434\u0432\u0430","3":"\u0442\u0440\u0438","4":"\u0447\u043E\u0442\u0438\u0440\u0438","5":"\u043F\u2019\u044F\u0442\u044C","6":"\u0448\u0456\u0441\u0442\u044C","7":"\u0441\u0456\u043C","8":"\u0432\u0456\u0441\u0456\u043C","9":"\u0434\u0435\u0432\u2019\u044F\u0442\u044C","10":"\u0434\u0435\u0441\u044F\u0442\u044C","11":"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C","12":"\u0434\u0432\u0430\u043D\u0430\u0434\u0446\u044F\u0442\u044C","13":"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u044F\u0442\u044C","14":"\u0447\u043E\u0442\u0438\u0440\u043D\u0430\u0434\u0446\u044F\u0442\u044C","15":"\u043F\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C","16":"\u0448\u0456\u0441\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C","17":"\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C","18":"\u0432\u0456\u0441\u0456\u043C\u043D\u0430\u0434\u0446\u044F\u0442\u044C","19":"\u0434\u0435\u0432\u2019\u044F\u0442\u043D\u0430\u0434\u0446\u044F\u0442\u044C","20":"\u0434\u0432\u0430\u0434\u0446\u044F\u0442\u044C","30":"\u0442\u0440\u0438\u0434\u0446\u044F\u0442\u044C","40":"\u0441\u043E\u0440\u043E\u043A","50":"\u043F\u2019\u044F\u0442\u0434\u0435\u0441\u044F\u0442","60":"\u0448\u0456\u0441\u0442\u0434\u0435\u0441\u044F\u0442","70":"\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442","80":"\u0432\u0456\u0441\u0456\u043C\u0434\u0435\u0441\u044F\u0442","90":"\u0434\u0435\u0432\u2019\u044F\u043D\u043E\u0441\u0442\u043E","100":"\u0441\u0442\u043E","200":"\u0434\u0432\u0456\u0441\u0442\u0456","300":"\u0442\u0440\u0438\u0441\u0442\u0430","400":"\u0447\u043E\u0442\u0438\u0440\u0438\u0441\u0442\u0430","500":"\u043F\u2019\u044F\u0442\u0441\u043E\u0442","600":"\u0448\u0456\u0441\u0442\u0441\u043E\u0442","700":"\u0441\u0456\u043C\u0441\u043E\u0442","800":"\u0432\u0456\u0441\u0456\u043C\u0441\u043E\u0442","900":"\u0434\u0435\u0432\u2019\u044F\u0442\u0441\u043E\u0442"},alternativeBase:{feminine:{"1":"\u043E\u0434\u043D\u0430","2":"\u0434\u0432\u0456"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u0438\u0441\u044F\u0447\u0430",few:"\u0442\u0438\u0441\u044F\u0447\u0456",plural:"\u0442\u0438\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D",few:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043C\u0456\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434",few:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0438",plural:"\u043C\u0456\u043B\u044C\u044F\u0440\u0434\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0442\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0438",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u0439\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0441\u0435\u043F\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043E\u043A\u0442\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043D\u043E\u043D\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0443\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D",few:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0438",plural:"\u043A\u0432\u0456\u043D\u0434\u0435\u0446\u0456\u043B\u043B\u0456\u043E\u043D\u0456\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}});var sh=_((Ix,g3)=>{g3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"\u043D\u043E\u043B\u044C","1":"\u043E\u0434\u0438\u043D","2":"\u0434\u0432\u0430","3":"\u0442\u0440\u0438","4":"\u0447\u0435\u0442\u044B\u0440\u0435","5":"\u043F\u044F\u0442\u044C","6":"\u0448\u0435\u0441\u0442\u044C","7":"\u0441\u0435\u043C\u044C","8":"\u0432\u043E\u0441\u0435\u043C\u044C","9":"\u0434\u0435\u0432\u044F\u0442\u044C","10":"\u0434\u0435\u0441\u044F\u0442\u044C","11":"\u043E\u0434\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C","12":"\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C","13":"\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u044C","14":"\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u044C","15":"\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C","16":"\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C","17":"\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C","18":"\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u044C","19":"\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u044C","20":"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C","30":"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C","40":"\u0441\u043E\u0440\u043E\u043A","50":"\u043F\u044F\u0442\u044C\u0434\u0435\u0441\u044F\u0442","60":"\u0448\u0435\u0441\u0442\u044C\u0434\u0435\u0441\u044F\u0442","70":"\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442","80":"\u0432\u043E\u0441\u0435\u043C\u044C\u0434\u0435\u0441\u044F\u0442","90":"\u0434\u0435\u0432\u044F\u043D\u043E\u0441\u0442\u043E","100":"\u0441\u0442\u043E","200":"\u0434\u0432\u0435\u0441\u0442\u0438","300":"\u0442\u0440\u0438\u0441\u0442\u0430","400":"\u0447\u0435\u0442\u044B\u0440\u0435\u0441\u0442\u0430","500":"\u043F\u044F\u0442\u044C\u0441\u043E\u0442","600":"\u0448\u0435\u0441\u0442\u044C\u0441\u043E\u0442","700":"\u0441\u0435\u043C\u044C\u0441\u043E\u0442","800":"\u0432\u043E\u0441\u0435\u043C\u044C\u0441\u043E\u0442","900":"\u0434\u0435\u0432\u044F\u0442\u044C\u0441\u043E\u0442"},alternativeBase:{feminine:{"1":"\u043E\u0434\u043D\u0430","2":"\u0434\u0432\u0435"}},units:[{useBaseInstead:!0,useBaseException:[]},{singular:"\u0442\u044B\u0441\u044F\u0447\u0430",few:"\u0442\u044B\u0441\u044F\u0447\u0438",plural:"\u0442\u044B\u0441\u044F\u0447",useAlternativeBase:"feminine",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434",few:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u0430",plural:"\u043C\u0438\u043B\u043B\u0438\u0430\u0440\u0434\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u044C\u043E\u043D",few:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043B\u0438\u043E\u043D",plural:"\u043A\u0432\u0430\u0434\u0440\u0438\u043B\u043E\u043D",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0442\u0438\u043B\u044C\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",few:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u044C\u043E\u043D\u0430",plural:"\u0441\u0435\u043A\u0441\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0441\u0435\u043F\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043E\u043A\u0442\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043D\u043E\u043D\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u043E\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0443\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0434\u0443\u043E\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u0442\u0440\u0435\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0430\u0442\u0443\u043E\u0440\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]},{singular:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D",few:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0430",plural:"\u043A\u0432\u0438\u043D\u0434\u0435\u0446\u0438\u043B\u043B\u0438\u043E\u043D\u0438\u0432",useSingularEnding:!0,useFewEnding:!0,avoidEndingRules:[11,12,13,14,111,112,113,114,211,212,213,214,311,312,313,314,411,412,413,414,511,512,513,514,611,612,613,614,711,712,713,714,811,812,813,814,911,912,913,914]}],unitExceptions:[]}});var ah=_((Rx,b3)=>{b3.exports={useLongScale:!1,baseSeparator:" ",unitSeparator:"",base:{"0":"nol","1":"satu","2":"dua","3":"tiga","4":"empat","5":"lima","6":"enam","7":"tujuh","8":"delapan","9":"sembilan","10":"sepuluh","11":"sebelas","12":"dua belas","13":"tiga belas","14":"empat belas","15":"lima belas","16":"enam belas","17":"tujuh belas","18":"delapan belas","19":"sembilan belas","20":"dua puluh","30":"tiga puluh","40":"empat puluh","50":"lima puluh","60":"enam puluh","70":"tujuh puluh","80":"delapan puluh","90":"sembilan puluh"},units:[{singular:"seratus",plural:"ratus",avoidPrefixException:[1]},{singular:"seribu",plural:"ribu",avoidPrefixException:[1]},"juta","miliar","triliun","kuadiliun"],unitExceptions:[]}});var dh=_((ua,fh)=>{"use strict";ua=fh.exports=Je;var lh=Ud(),y3=["en","es","ar","az","pt","fr","eo","it","vi","tr","uk","ru","id"],ca={en:Hd(),es:Gd(),ar:Zd(),az:Yd(),pt:Jd(),ptPT:Kd(),fr:Xd(),eo:Qd(),it:eh(),vi:th(),tr:rh(),hu:nh(),enIndian:ih(),uk:oh(),ru:sh(),id:ah()};ua.i18n=ca;var ch=[100];for(bt=1;bt<=16;bt++)ch.push(Math.pow(10,bt*3));var bt,uh=[100,1e3];for(bt=1;bt<=15;bt++)uh.push(Math.pow(10,bt*6));Je.defaults={noAnd:!1,alternativeBase:null,lang:"en"};function Je(t,e){if(e=e||{},e=lh.defaults(e,Je.defaults),t<0)return"";t=Math.round(+t);var r=typeof e.lang=="string"?ca[e.lang]:e.lang;r||(y3.indexOf(Je.defaults.lang)<0&&(Je.defaults.lang="en"),r=ca[Je.defaults.lang]);var n=r.useLongScale?uh:ch,i=r.units,o;if(!(i instanceof Array)){var s=i;i=[],n=Object.keys(s);for(var a in n)i.push(s[n[a]]),n[a]=Math.pow(10,parseInt(n[a]))}var l=r.base,c=e.alternativeBase?r.alternativeBase[e.alternativeBase]:{};if(r.unitExceptions[t])return r.unitExceptions[t];if(c[t])return c[t];if(l[t])return l[t];if(t<100)return v3(t,r,o,l,c,e);var f=t%100,u=[];f&&(e.noAnd&&!(r.andException&&r.andException[10])?u.push(Je(f,e)):u.push(r.unitSeparator+Je(f,e)));for(var p,a=0,h=i.length;a<h;a++){var g=Math.floor(t/n[a]),b;if(a===h-1?b=1e6:b=n[a+1]/n[a],g%=b,o=i[a],!!g){if(p=n[a],o.useBaseInstead){var x=o.useBaseException.indexOf(g)>-1&&(o.useBaseExceptionWhenNoTrailingNumbers?a===0&&u.length:!0);x?u.push(g>1&&o.plural?o.plural:o.singular):u.push(c[g*n[a]]||l[g*n[a]]);continue}var y;if(typeof o=="string"?y=o:g===1||o.useSingularEnding&&g%10===1&&(!o.avoidEndingRules||o.avoidEndingRules.indexOf(g)<0)?y=o.singular:o.few&&(g>1&&g<5||o.useFewEnding&&g%10>1&&g%10<5&&(!o.avoidEndingRules||o.avoidEndingRules.indexOf(g)<0))?y=o.few:(y=o.plural&&(!o.avoidInNumberPlural||!f)?o.plural:o.singular,y=g===2&&o.dual?o.dual:y,y=g>10&&o.restrictedPlural?o.singular:y),o.avoidPrefixException&&o.avoidPrefixException.indexOf(g)>-1){u.push(y);continue}var v=r.unitExceptions[g],S=v||Je(g,lh.defaults({noAnd:!(r.andException&&r.andException[g]||o.andException)&&!0,alternativeBase:o.useAlternativeBase},e));t-=g*n[a],u.push(S+" "+y)}}var $=p*Math.floor(t/p),k=t-$;if(r.andWhenTrailing&&p&&0<k&&u[0].indexOf(r.unitSeparator)!==0&&(u=[u[0],r.unitSeparator.replace(/\s+$/,"")].concat(u.slice(1))),r.allSeparator)for(var M=0;M<u.length-1;M++)u[M]=r.allSeparator+u[M];var E=u.reverse().join(" ");return E}function v3(t,e,r,n,i,o){var s=Math.floor(t/10)*10;return r=t-s,r?i[s]||n[s]+e.baseSeparator+Je(r,o):i[s]||n[s]}});var fn=class extends Error{name="BaseThrowable";constructor(e,r=null){super(e),r&&(this.stack=r)}},ke=class extends fn{name="BaseError"},st=class extends fn{name="BaseWarning"},yt=class extends ke{name="PotentialLoopError"},wr=class extends ke{name="TemplateError"},Ae=class extends wr{name="TemplateSyntaxError"};var Xe=class extends Error{},Gi=class extends Xe{constructor(e){super(`Invalid DateTime: ${e.toMessage()}`)}},Zi=class extends Xe{constructor(e){super(`Invalid Interval: ${e.toMessage()}`)}},Yi=class extends Xe{constructor(e){super(`Invalid Duration: ${e.toMessage()}`)}},ct=class extends Xe{},vn=class extends Xe{constructor(e){super(`Invalid unit ${e}`)}},re=class extends Xe{},je=class extends Xe{constructor(){super("Zone is an abstract class")}},w="numeric",ze="short",me="long",kn={year:w,month:w,day:w},Ya={year:w,month:ze,day:w},$h={year:w,month:ze,day:w,weekday:ze},Ja={year:w,month:me,day:w},Ka={year:w,month:me,day:w,weekday:me},Xa={hour:w,minute:w},Qa={hour:w,minute:w,second:w},el={hour:w,minute:w,second:w,timeZoneName:ze},tl={hour:w,minute:w,second:w,timeZoneName:me},rl={hour:w,minute:w,hourCycle:"h23"},nl={hour:w,minute:w,second:w,hourCycle:"h23"},il={hour:w,minute:w,second:w,hourCycle:"h23",timeZoneName:ze},ol={hour:w,minute:w,second:w,hourCycle:"h23",timeZoneName:me},sl={year:w,month:w,day:w,hour:w,minute:w},al={year:w,month:w,day:w,hour:w,minute:w,second:w},ll={year:w,month:ze,day:w,hour:w,minute:w},cl={year:w,month:ze,day:w,hour:w,minute:w,second:w},Eh={year:w,month:ze,day:w,weekday:ze,hour:w,minute:w},ul={year:w,month:me,day:w,hour:w,minute:w,timeZoneName:ze},fl={year:w,month:me,day:w,hour:w,minute:w,second:w,timeZoneName:ze},dl={year:w,month:me,day:w,weekday:me,hour:w,minute:w,timeZoneName:me},hl={year:w,month:me,day:w,weekday:me,hour:w,minute:w,second:w,timeZoneName:me},wt=class{get type(){throw new je}get name(){throw new je}get ianaName(){return this.name}get isUniversal(){throw new je}offsetName(e,r){throw new je}formatOffset(e,r){throw new je}offset(e){throw new je}equals(e){throw new je}get isValid(){throw new je}},Ri=null,xn=class t extends wt{static get instance(){return Ri===null&&(Ri=new t),Ri}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return $l(e,r,n)}formatOffset(e,r){return Cr(this.offset(e),r)}offset(e){return-new Date(e).getTimezoneOffset()}equals(e){return e.type==="system"}get isValid(){return!0}},Ji=new Map;function _h(t){let e=Ji.get(t);return e===void 0&&(e=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:t,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"}),Ji.set(t,e)),e}var Ch={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Oh(t,e){let r=t.format(e).replace(/\u200E/g,""),n=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r),[,i,o,s,a,l,c,f]=n;return[s,i,o,a,l,c,f]}function Mh(t,e){let r=t.formatToParts(e),n=[];for(let i=0;i<r.length;i++){let{type:o,value:s}=r[i],a=Ch[o];o==="era"?n[a]=s:P(a)||(n[a]=parseInt(s,10))}return n}var Fi=new Map,ft=class t extends wt{static create(e){let r=Fi.get(e);return r===void 0&&Fi.set(e,r=new t(e)),r}static resetCache(){Fi.clear(),Ji.clear()}static isValidSpecifier(e){return this.isValidZone(e)}static isValidZone(e){if(!e)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:e}).format(),!0}catch{return!1}}constructor(e){super(),this.zoneName=e,this.valid=t.isValidZone(e)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(e,{format:r,locale:n}){return $l(e,r,n,this.name)}formatOffset(e,r){return Cr(this.offset(e),r)}offset(e){if(!this.valid)return NaN;let r=new Date(e);if(isNaN(r))return NaN;let n=_h(this.name),[i,o,s,a,l,c,f]=n.formatToParts?Mh(n,r):Oh(n,r);a==="BC"&&(i=-Math.abs(i)+1);let p=Cn({year:i,month:o,day:s,hour:l===24?0:l,minute:c,second:f,millisecond:0}),h=+r,g=h%1e3;return h-=g>=0?g:1e3+g,(p-h)/(60*1e3)}equals(e){return e.type==="iana"&&e.name===this.name}get isValid(){return this.valid}},va={};function Th(t,e={}){let r=JSON.stringify([t,e]),n=va[r];return n||(n=new Intl.ListFormat(t,e),va[r]=n),n}var Ki=new Map;function Xi(t,e={}){let r=JSON.stringify([t,e]),n=Ki.get(r);return n===void 0&&(n=new Intl.DateTimeFormat(t,e),Ki.set(r,n)),n}var Qi=new Map;function Ph(t,e={}){let r=JSON.stringify([t,e]),n=Qi.get(r);return n===void 0&&(n=new Intl.NumberFormat(t,e),Qi.set(r,n)),n}var eo=new Map;function Ah(t,e={}){let{base:r,...n}=e,i=JSON.stringify([t,n]),o=eo.get(i);return o===void 0&&(o=new Intl.RelativeTimeFormat(t,e),eo.set(i,o)),o}var $r=null;function Lh(){return $r||($r=new Intl.DateTimeFormat().resolvedOptions().locale,$r)}var to=new Map;function pl(t){let e=to.get(t);return e===void 0&&(e=new Intl.DateTimeFormat(t).resolvedOptions(),to.set(t,e)),e}var ro=new Map;function Nh(t){let e=ro.get(t);if(!e){let r=new Intl.Locale(t);e="getWeekInfo"in r?r.getWeekInfo():r.weekInfo,"minimalDays"in e||(e={...ml,...e}),ro.set(t,e)}return e}function zh(t){let e=t.indexOf("-x-");e!==-1&&(t=t.substring(0,e));let r=t.indexOf("-u-");if(r===-1)return[t];{let n,i;try{n=Xi(t).resolvedOptions(),i=t}catch{let l=t.substring(0,r);n=Xi(l).resolvedOptions(),i=l}let{numberingSystem:o,calendar:s}=n;return[i,o,s]}}function Dh(t,e,r){return(r||e)&&(t.includes("-u-")||(t+="-u"),r&&(t+=`-ca-${r}`),e&&(t+=`-nu-${e}`)),t}function Ih(t){let e=[];for(let r=1;r<=12;r++){let n=R.utc(2009,r,1);e.push(t(n))}return e}function Rh(t){let e=[];for(let r=1;r<=7;r++){let n=R.utc(2016,11,13+r);e.push(t(n))}return e}function dn(t,e,r,n){let i=t.listingMode();return i==="error"?null:i==="en"?r(e):n(e)}function Fh(t){return t.numberingSystem&&t.numberingSystem!=="latn"?!1:t.numberingSystem==="latn"||!t.locale||t.locale.startsWith("en")||pl(t.locale).numberingSystem==="latn"}var no=class{constructor(e,r,n){this.padTo=n.padTo||0,this.floor=n.floor||!1;let{padTo:i,floor:o,...s}=n;if(!r||Object.keys(s).length>0){let a={useGrouping:!1,...n};n.padTo>0&&(a.minimumIntegerDigits=n.padTo),this.inf=Ph(e,a)}}format(e){if(this.inf){let r=this.floor?Math.floor(e):e;return this.inf.format(r)}else{let r=this.floor?Math.floor(e):go(e,3);return K(r,this.padTo)}}},io=class{constructor(e,r,n){this.opts=n,this.originalZone=void 0;let i;if(this.opts.timeZone)this.dt=e;else if(e.zone.type==="fixed"){let s=-1*(e.offset/60),a=s>=0?`Etc/GMT+${s}`:`Etc/GMT${s}`;e.offset!==0&&ft.create(a).valid?(i=a,this.dt=e):(i="UTC",this.dt=e.offset===0?e:e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone)}else e.zone.type==="system"?this.dt=e:e.zone.type==="iana"?(this.dt=e,i=e.zone.name):(i="UTC",this.dt=e.setZone("UTC").plus({minutes:e.offset}),this.originalZone=e.zone);let o={...this.opts};o.timeZone=o.timeZone||i,this.dtf=Xi(r,o)}format(){return this.originalZone?this.formatToParts().map(({value:e})=>e).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){let e=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?e.map(r=>{if(r.type==="timeZoneName"){let n=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...r,value:n}}else return r}):e}resolvedOptions(){return this.dtf.resolvedOptions()}},oo=class{constructor(e,r,n){this.opts={style:"long",...n},!r&&wl()&&(this.rtf=Ah(e,n))}format(e,r){return this.rtf?this.rtf.format(e,r):sp(r,e,this.opts.numeric,this.opts.style!=="long")}formatToParts(e,r){return this.rtf?this.rtf.formatToParts(e,r):[]}},ml={firstDay:1,minimalDays:4,weekend:[6,7]},q=class t{static fromOpts(e){return t.create(e.locale,e.numberingSystem,e.outputCalendar,e.weekSettings,e.defaultToEN)}static create(e,r,n,i,o=!1){let s=e||W.defaultLocale,a=s||(o?"en-US":Lh()),l=r||W.defaultNumberingSystem,c=n||W.defaultOutputCalendar,f=lo(i)||W.defaultWeekSettings;return new t(a,l,c,f,s)}static resetCache(){$r=null,Ki.clear(),Qi.clear(),eo.clear(),to.clear(),ro.clear()}static fromObject({locale:e,numberingSystem:r,outputCalendar:n,weekSettings:i}={}){return t.create(e,r,n,i)}constructor(e,r,n,i,o){let[s,a,l]=zh(e);this.locale=s,this.numberingSystem=r||a||null,this.outputCalendar=n||l||null,this.weekSettings=i,this.intl=Dh(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Fh(this)),this.fastNumbersCached}listingMode(){let e=this.isEnglish(),r=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return e&&r?"en":"intl"}clone(e){return!e||Object.getOwnPropertyNames(e).length===0?this:t.create(e.locale||this.specifiedLocale,e.numberingSystem||this.numberingSystem,e.outputCalendar||this.outputCalendar,lo(e.weekSettings)||this.weekSettings,e.defaultToEN||!1)}redefaultToEN(e={}){return this.clone({...e,defaultToEN:!0})}redefaultToSystem(e={}){return this.clone({...e,defaultToEN:!1})}months(e,r=!1){return dn(this,e,Cl,()=>{let n=this.intl==="ja"||this.intl.startsWith("ja-");r&=!n;let i=r?{month:e,day:"numeric"}:{month:e},o=r?"format":"standalone";if(!this.monthsCache[o][e]){let s=n?a=>this.dtFormatter(a,i).format():a=>this.extract(a,i,"month");this.monthsCache[o][e]=Ih(s)}return this.monthsCache[o][e]})}weekdays(e,r=!1){return dn(this,e,Tl,()=>{let n=r?{weekday:e,year:"numeric",month:"long",day:"numeric"}:{weekday:e},i=r?"format":"standalone";return this.weekdaysCache[i][e]||(this.weekdaysCache[i][e]=Rh(o=>this.extract(o,n,"weekday"))),this.weekdaysCache[i][e]})}meridiems(){return dn(this,void 0,()=>Pl,()=>{if(!this.meridiemCache){let e={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[R.utc(2016,11,13,9),R.utc(2016,11,13,19)].map(r=>this.extract(r,e,"dayperiod"))}return this.meridiemCache})}eras(e){return dn(this,e,Al,()=>{let r={era:e};return this.eraCache[e]||(this.eraCache[e]=[R.utc(-40,1,1),R.utc(2017,1,1)].map(n=>this.extract(n,r,"era"))),this.eraCache[e]})}extract(e,r,n){let i=this.dtFormatter(e,r),o=i.formatToParts(),s=o.find(a=>a.type.toLowerCase()===n);return s?s.value:null}numberFormatter(e={}){return new no(this.intl,e.forceSimple||this.fastNumbers,e)}dtFormatter(e,r={}){return new io(e,this.intl,r)}relFormatter(e={}){return new oo(this.intl,this.isEnglish(),e)}listFormatter(e={}){return Th(this.intl,e)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||pl(this.intl).locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:Sl()?Nh(this.locale):ml}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(e){return this.locale===e.locale&&this.numberingSystem===e.numberingSystem&&this.outputCalendar===e.outputCalendar}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}},qi=null,$e=class t extends wt{static get utcInstance(){return qi===null&&(qi=new t(0)),qi}static instance(e){return e===0?t.utcInstance:new t(e)}static parseSpecifier(e){if(e){let r=e.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(r)return new t(On(r[1],r[2]))}return null}constructor(e){super(),this.fixed=e}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Cr(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Cr(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(e,r){return Cr(this.fixed,r)}get isUniversal(){return!0}offset(){return this.fixed}equals(e){return e.type==="fixed"&&e.fixed===this.fixed}get isValid(){return!0}},so=class extends wt{constructor(e){super(),this.zoneName=e}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}};function lt(t,e){if(P(t)||t===null)return e;if(t instanceof wt)return t;if(Uh(t)){let r=t.toLowerCase();return r==="default"?e:r==="local"||r==="system"?xn.instance:r==="utc"||r==="gmt"?$e.utcInstance:$e.parseSpecifier(r)||ft.create(t)}else return ut(t)?$e.instance(t):typeof t=="object"&&"offset"in t&&typeof t.offset=="function"?t:new so(t)}var fo={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},ka={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},qh=fo.hanidec.replace(/[\[|\]]/g,"").split("");function Vh(t){let e=parseInt(t,10);if(isNaN(e)){e="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if(t[r].search(fo.hanidec)!==-1)e+=qh.indexOf(t[r]);else for(let i in ka){let[o,s]=ka[i];n>=o&&n<=s&&(e+=n-o)}}return parseInt(e,10)}else return e}var ao=new Map;function jh(){ao.clear()}function Le({numberingSystem:t},e=""){let r=t||"latn",n=ao.get(r);n===void 0&&(n=new Map,ao.set(r,n));let i=n.get(e);return i===void 0&&(i=new RegExp(`${fo[r]}${e}`),n.set(e,i)),i}var xa=()=>Date.now(),wa="system",Sa=null,$a=null,Ea=null,_a=60,Ca,Oa=null,W=class{static get now(){return xa}static set now(e){xa=e}static set defaultZone(e){wa=e}static get defaultZone(){return lt(wa,xn.instance)}static get defaultLocale(){return Sa}static set defaultLocale(e){Sa=e}static get defaultNumberingSystem(){return $a}static set defaultNumberingSystem(e){$a=e}static get defaultOutputCalendar(){return Ea}static set defaultOutputCalendar(e){Ea=e}static get defaultWeekSettings(){return Oa}static set defaultWeekSettings(e){Oa=lo(e)}static get twoDigitCutoffYear(){return _a}static set twoDigitCutoffYear(e){_a=e%100}static get throwOnInvalid(){return Ca}static set throwOnInvalid(e){Ca=e}static resetCaches(){q.resetCache(),ft.resetCache(),R.resetCache(),jh()}},pe=class{constructor(e,r){this.reason=e,this.explanation=r}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}},gl=[0,31,59,90,120,151,181,212,243,273,304,334],bl=[0,31,60,91,121,152,182,213,244,274,305,335];function we(t,e){return new pe("unit out of range",`you specified ${e} (of type ${typeof e}) as a ${t}, which is invalid`)}function ho(t,e,r){let n=new Date(Date.UTC(t,e-1,r));t<100&&t>=0&&n.setUTCFullYear(n.getUTCFullYear()-1900);let i=n.getUTCDay();return i===0?7:i}function yl(t,e,r){return r+(Mr(t)?bl:gl)[e-1]}function vl(t,e){let r=Mr(t)?bl:gl,n=r.findIndex(o=>o<e),i=e-r[n];return{month:n+1,day:i}}function po(t,e){return(t-e+7)%7+1}function wn(t,e=4,r=1){let{year:n,month:i,day:o}=t,s=yl(n,i,o),a=po(ho(n,i,o),r),l=Math.floor((s-a+14-e)/7),c;return l<1?(c=n-1,l=Or(c,e,r)):l>Or(n,e,r)?(c=n+1,l=1):c=n,{weekYear:c,weekNumber:l,weekday:a,...Mn(t)}}function Ma(t,e=4,r=1){let{weekYear:n,weekNumber:i,weekday:o}=t,s=po(ho(n,1,e),r),a=Ut(n),l=i*7+o-s-7+e,c;l<1?(c=n-1,l+=Ut(c)):l>a?(c=n+1,l-=Ut(n)):c=n;let{month:f,day:u}=vl(c,l);return{year:c,month:f,day:u,...Mn(t)}}function Vi(t){let{year:e,month:r,day:n}=t,i=yl(e,r,n);return{year:e,ordinal:i,...Mn(t)}}function Ta(t){let{year:e,ordinal:r}=t,{month:n,day:i}=vl(e,r);return{year:e,month:n,day:i,...Mn(t)}}function Pa(t,e){if(!P(t.localWeekday)||!P(t.localWeekNumber)||!P(t.localWeekYear)){if(!P(t.weekday)||!P(t.weekNumber)||!P(t.weekYear))throw new ct("Cannot mix locale-based week fields with ISO-based week fields");return P(t.localWeekday)||(t.weekday=t.localWeekday),P(t.localWeekNumber)||(t.weekNumber=t.localWeekNumber),P(t.localWeekYear)||(t.weekYear=t.localWeekYear),delete t.localWeekday,delete t.localWeekNumber,delete t.localWeekYear,{minDaysInFirstWeek:e.getMinDaysInFirstWeek(),startOfWeek:e.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function Wh(t,e=4,r=1){let n=_n(t.weekYear),i=Se(t.weekNumber,1,Or(t.weekYear,e,r)),o=Se(t.weekday,1,7);return n?i?o?!1:we("weekday",t.weekday):we("week",t.weekNumber):we("weekYear",t.weekYear)}function Bh(t){let e=_n(t.year),r=Se(t.ordinal,1,Ut(t.year));return e?r?!1:we("ordinal",t.ordinal):we("year",t.year)}function kl(t){let e=_n(t.year),r=Se(t.month,1,12),n=Se(t.day,1,Sn(t.year,t.month));return e?r?n?!1:we("day",t.day):we("month",t.month):we("year",t.year)}function xl(t){let{hour:e,minute:r,second:n,millisecond:i}=t,o=Se(e,0,23)||e===24&&r===0&&n===0&&i===0,s=Se(r,0,59),a=Se(n,0,59),l=Se(i,0,999);return o?s?a?l?!1:we("millisecond",i):we("second",n):we("minute",r):we("hour",e)}function P(t){return typeof t>"u"}function ut(t){return typeof t=="number"}function _n(t){return typeof t=="number"&&t%1===0}function Uh(t){return typeof t=="string"}function Hh(t){return Object.prototype.toString.call(t)==="[object Date]"}function wl(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Sl(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function Gh(t){return Array.isArray(t)?t:[t]}function Aa(t,e,r){if(t.length!==0)return t.reduce((n,i)=>{let o=[e(i),i];return n&&r(n[0],o[0])===n[0]?n:o},null)[1]}function Zh(t,e){return e.reduce((r,n)=>(r[n]=t[n],r),{})}function Zt(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function lo(t){if(t==null)return null;if(typeof t!="object")throw new re("Week settings must be an object");if(!Se(t.firstDay,1,7)||!Se(t.minimalDays,1,7)||!Array.isArray(t.weekend)||t.weekend.some(e=>!Se(e,1,7)))throw new re("Invalid week settings");return{firstDay:t.firstDay,minimalDays:t.minimalDays,weekend:Array.from(t.weekend)}}function Se(t,e,r){return _n(t)&&t>=e&&t<=r}function Yh(t,e){return t-e*Math.floor(t/e)}function K(t,e=2){let r=t<0,n;return r?n="-"+(""+-t).padStart(e,"0"):n=(""+t).padStart(e,"0"),n}function at(t){if(!(P(t)||t===null||t===""))return parseInt(t,10)}function vt(t){if(!(P(t)||t===null||t===""))return parseFloat(t)}function mo(t){if(!(P(t)||t===null||t==="")){let e=parseFloat("0."+t)*1e3;return Math.floor(e)}}function go(t,e,r="round"){let n=10**e;switch(r){case"expand":return t>0?Math.ceil(t*n)/n:Math.floor(t*n)/n;case"trunc":return Math.trunc(t*n)/n;case"round":return Math.round(t*n)/n;case"floor":return Math.floor(t*n)/n;case"ceil":return Math.ceil(t*n)/n;default:throw new RangeError(`Value rounding ${r} is out of range`)}}function Mr(t){return t%4===0&&(t%100!==0||t%400===0)}function Ut(t){return Mr(t)?366:365}function Sn(t,e){let r=Yh(e-1,12)+1,n=t+(e-r)/12;return r===2?Mr(n)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][r-1]}function Cn(t){let e=Date.UTC(t.year,t.month-1,t.day,t.hour,t.minute,t.second,t.millisecond);return t.year<100&&t.year>=0&&(e=new Date(e),e.setUTCFullYear(t.year,t.month-1,t.day)),+e}function La(t,e,r){return-po(ho(t,1,e),r)+e-1}function Or(t,e=4,r=1){let n=La(t,e,r),i=La(t+1,e,r);return(Ut(t)-n+i)/7}function co(t){return t>99?t:t>W.twoDigitCutoffYear?1900+t:2e3+t}function $l(t,e,r,n=null){let i=new Date(t),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};n&&(o.timeZone=n);let s={timeZoneName:e,...o},a=new Intl.DateTimeFormat(r,s).formatToParts(i).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function On(t,e){let r=parseInt(t,10);Number.isNaN(r)&&(r=0);let n=parseInt(e,10)||0,i=r<0||Object.is(r,-0)?-n:n;return r*60+i}function El(t){let e=Number(t);if(typeof t=="boolean"||t===""||!Number.isFinite(e))throw new re(`Invalid unit value ${t}`);return e}function $n(t,e){let r={};for(let n in t)if(Zt(t,n)){let i=t[n];if(i==null)continue;r[e(n)]=El(i)}return r}function Cr(t,e){let r=Math.trunc(Math.abs(t/60)),n=Math.trunc(Math.abs(t%60)),i=t>=0?"+":"-";switch(e){case"short":return`${i}${K(r,2)}:${K(n,2)}`;case"narrow":return`${i}${r}${n>0?`:${n}`:""}`;case"techie":return`${i}${K(r,2)}${K(n,2)}`;default:throw new RangeError(`Value format ${e} is out of range for property format`)}}function Mn(t){return Zh(t,["hour","minute","second","millisecond"])}var Jh=["January","February","March","April","May","June","July","August","September","October","November","December"],_l=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Kh=["J","F","M","A","M","J","J","A","S","O","N","D"];function Cl(t){switch(t){case"narrow":return[...Kh];case"short":return[..._l];case"long":return[...Jh];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}var Ol=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],Ml=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Xh=["M","T","W","T","F","S","S"];function Tl(t){switch(t){case"narrow":return[...Xh];case"short":return[...Ml];case"long":return[...Ol];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}var Pl=["AM","PM"],Qh=["Before Christ","Anno Domini"],ep=["BC","AD"],tp=["B","A"];function Al(t){switch(t){case"narrow":return[...tp];case"short":return[...ep];case"long":return[...Qh];default:return null}}function rp(t){return Pl[t.hour<12?0:1]}function np(t,e){return Tl(e)[t.weekday-1]}function ip(t,e){return Cl(e)[t.month-1]}function op(t,e){return Al(e)[t.year<0?0:1]}function sp(t,e,r="always",n=!1){let i={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(t)===-1;if(r==="auto"&&o){let u=t==="days";switch(e){case 1:return u?"tomorrow":`next ${i[t][0]}`;case-1:return u?"yesterday":`last ${i[t][0]}`;case 0:return u?"today":`this ${i[t][0]}`}}let s=Object.is(e,-0)||e<0,a=Math.abs(e),l=a===1,c=i[t],f=n?l?c[1]:c[2]||c[1]:l?i[t][0]:t;return s?`${a} ${f} ago`:`in ${a} ${f}`}function Na(t,e){let r="";for(let n of t)n.literal?r+=n.val:r+=e(n.val);return r}var ap={D:kn,DD:Ya,DDD:Ja,DDDD:Ka,t:Xa,tt:Qa,ttt:el,tttt:tl,T:rl,TT:nl,TTT:il,TTTT:ol,f:sl,ff:ll,fff:ul,ffff:dl,F:al,FF:cl,FFF:fl,FFFF:hl},he=class t{static create(e,r={}){return new t(e,r)}static parseFormat(e){let r=null,n="",i=!1,o=[];for(let s=0;s<e.length;s++){let a=e.charAt(s);a==="'"?((n.length>0||i)&&o.push({literal:i||/^\s+$/.test(n),val:n===""?"'":n}),r=null,n="",i=!i):i||a===r?n+=a:(n.length>0&&o.push({literal:/^\s+$/.test(n),val:n}),n=a,r=a)}return n.length>0&&o.push({literal:i||/^\s+$/.test(n),val:n}),o}static macroTokenToFormatOpts(e){return ap[e]}constructor(e,r){this.opts=r,this.loc=e,this.systemLoc=null}formatWithSystemDefault(e,r){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(e,{...this.opts,...r}).format()}dtFormatter(e,r={}){return this.loc.dtFormatter(e,{...this.opts,...r})}formatDateTime(e,r){return this.dtFormatter(e,r).format()}formatDateTimeParts(e,r){return this.dtFormatter(e,r).formatToParts()}formatInterval(e,r){return this.dtFormatter(e.start,r).dtf.formatRange(e.start.toJSDate(),e.end.toJSDate())}resolvedOptions(e,r){return this.dtFormatter(e,r).resolvedOptions()}num(e,r=0,n=void 0){if(this.opts.forceSimple)return K(e,r);let i={...this.opts};return r>0&&(i.padTo=r),n&&(i.signDisplay=n),this.loc.numberFormatter(i).format(e)}formatDateTimeFromString(e,r){let n=this.loc.listingMode()==="en",i=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(h,g)=>this.loc.extract(e,h,g),s=h=>e.isOffsetFixed&&e.offset===0&&h.allowZ?"Z":e.isValid?e.zone.formatOffset(e.ts,h.format):"",a=()=>n?rp(e):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(h,g)=>n?ip(e,h):o(g?{month:h}:{month:h,day:"numeric"},"month"),c=(h,g)=>n?np(e,h):o(g?{weekday:h}:{weekday:h,month:"long",day:"numeric"},"weekday"),f=h=>{let g=t.macroTokenToFormatOpts(h);return g?this.formatWithSystemDefault(e,g):h},u=h=>n?op(e,h):o({era:h},"era"),p=h=>{switch(h){case"S":return this.num(e.millisecond);case"u":case"SSS":return this.num(e.millisecond,3);case"s":return this.num(e.second);case"ss":return this.num(e.second,2);case"uu":return this.num(Math.floor(e.millisecond/10),2);case"uuu":return this.num(Math.floor(e.millisecond/100));case"m":return this.num(e.minute);case"mm":return this.num(e.minute,2);case"h":return this.num(e.hour%12===0?12:e.hour%12);case"hh":return this.num(e.hour%12===0?12:e.hour%12,2);case"H":return this.num(e.hour);case"HH":return this.num(e.hour,2);case"Z":return s({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return s({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return s({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return e.zone.offsetName(e.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return e.zone.offsetName(e.ts,{format:"long",locale:this.loc.locale});case"z":return e.zoneName;case"a":return a();case"d":return i?o({day:"numeric"},"day"):this.num(e.day);case"dd":return i?o({day:"2-digit"},"day"):this.num(e.day,2);case"c":return this.num(e.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(e.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return i?o({month:"numeric",day:"numeric"},"month"):this.num(e.month);case"LL":return i?o({month:"2-digit",day:"numeric"},"month"):this.num(e.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return i?o({month:"numeric"},"month"):this.num(e.month);case"MM":return i?o({month:"2-digit"},"month"):this.num(e.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return i?o({year:"numeric"},"year"):this.num(e.year);case"yy":return i?o({year:"2-digit"},"year"):this.num(e.year.toString().slice(-2),2);case"yyyy":return i?o({year:"numeric"},"year"):this.num(e.year,4);case"yyyyyy":return i?o({year:"numeric"},"year"):this.num(e.year,6);case"G":return u("short");case"GG":return u("long");case"GGGGG":return u("narrow");case"kk":return this.num(e.weekYear.toString().slice(-2),2);case"kkkk":return this.num(e.weekYear,4);case"W":return this.num(e.weekNumber);case"WW":return this.num(e.weekNumber,2);case"n":return this.num(e.localWeekNumber);case"nn":return this.num(e.localWeekNumber,2);case"ii":return this.num(e.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(e.localWeekYear,4);case"o":return this.num(e.ordinal);case"ooo":return this.num(e.ordinal,3);case"q":return this.num(e.quarter);case"qq":return this.num(e.quarter,2);case"X":return this.num(Math.floor(e.ts/1e3));case"x":return this.num(e.ts);default:return f(h)}};return Na(t.parseFormat(r),p)}formatDurationFromString(e,r){let n=this.opts.signMode==="negativeLargestOnly"?-1:1,i=f=>{switch(f[0]){case"S":return"milliseconds";case"s":return"seconds";case"m":return"minutes";case"h":return"hours";case"d":return"days";case"w":return"weeks";case"M":return"months";case"y":return"years";default:return null}},o=(f,u)=>p=>{let h=i(p);if(h){let g=u.isNegativeDuration&&h!==u.largestUnit?n:1,b;return this.opts.signMode==="negativeLargestOnly"&&h!==u.largestUnit?b="never":this.opts.signMode==="all"?b="always":b="auto",this.num(f.get(h)*g,p.length,b)}else return p},s=t.parseFormat(r),a=s.reduce((f,{literal:u,val:p})=>u?f:f.concat(p),[]),l=e.shiftTo(...a.map(i).filter(f=>f)),c={isNegativeDuration:l<0,largestUnit:Object.keys(l.values)[0]};return Na(s,o(l,c))}},Ll=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Yt(...t){let e=t.reduce((r,n)=>r+n.source,"");return RegExp(`^${e}$`)}function Jt(...t){return e=>t.reduce(([r,n,i],o)=>{let[s,a,l]=o(e,i);return[{...r,...s},a||n,l]},[{},null,1]).slice(0,2)}function Kt(t,...e){if(t==null)return[null,null];for(let[r,n]of e){let i=r.exec(t);if(i)return n(i)}return[null,null]}function Nl(...t){return(e,r)=>{let n={},i;for(i=0;i<t.length;i++)n[t[i]]=at(e[r+i]);return[n,null,r+i]}}var zl=/(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/,lp=`(?:${zl.source}?(?:\\[(${Ll.source})\\])?)?`,bo=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Dl=RegExp(`${bo.source}${lp}`),yo=RegExp(`(?:[Tt]${Dl.source})?`),cp=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,up=/(\d{4})-?W(\d\d)(?:-?(\d))?/,fp=/(\d{4})-?(\d{3})/,dp=Nl("weekYear","weekNumber","weekDay"),hp=Nl("year","ordinal"),pp=/(\d{4})-(\d\d)-(\d\d)/,Il=RegExp(`${bo.source} ?(?:${zl.source}|(${Ll.source}))?`),mp=RegExp(`(?: ${Il.source})?`);function Ht(t,e,r){let n=t[e];return P(n)?r:at(n)}function gp(t,e){return[{year:Ht(t,e),month:Ht(t,e+1,1),day:Ht(t,e+2,1)},null,e+3]}function Xt(t,e){return[{hours:Ht(t,e,0),minutes:Ht(t,e+1,0),seconds:Ht(t,e+2,0),milliseconds:mo(t[e+3])},null,e+4]}function Tr(t,e){let r=!t[e]&&!t[e+1],n=On(t[e+1],t[e+2]),i=r?null:$e.instance(n);return[{},i,e+3]}function Pr(t,e){let r=t[e]?ft.create(t[e]):null;return[{},r,e+1]}var bp=RegExp(`^T?${bo.source}$`),yp=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function vp(t){let[e,r,n,i,o,s,a,l,c]=t,f=e[0]==="-",u=l&&l[0]==="-",p=(h,g=!1)=>h!==void 0&&(g||h&&f)?-h:h;return[{years:p(vt(r)),months:p(vt(n)),weeks:p(vt(i)),days:p(vt(o)),hours:p(vt(s)),minutes:p(vt(a)),seconds:p(vt(l),l==="-0"),milliseconds:p(mo(c),u)}]}var kp={GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function vo(t,e,r,n,i,o,s){let a={year:e.length===2?co(at(e)):at(e),month:_l.indexOf(r)+1,day:at(n),hour:at(i),minute:at(o)};return s&&(a.second=at(s)),t&&(a.weekday=t.length>3?Ol.indexOf(t)+1:Ml.indexOf(t)+1),a}var xp=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function wp(t){let[,e,r,n,i,o,s,a,l,c,f,u]=t,p=vo(e,i,n,r,o,s,a),h;return l?h=kp[l]:c?h=0:h=On(f,u),[p,new $e(h)]}function Sp(t){return t.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}var $p=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,Ep=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,_p=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function za(t){let[,e,r,n,i,o,s,a]=t;return[vo(e,i,n,r,o,s,a),$e.utcInstance]}function Cp(t){let[,e,r,n,i,o,s,a]=t;return[vo(e,a,r,n,i,o,s),$e.utcInstance]}var Op=Yt(cp,yo),Mp=Yt(up,yo),Tp=Yt(fp,yo),Pp=Yt(Dl),Rl=Jt(gp,Xt,Tr,Pr),Ap=Jt(dp,Xt,Tr,Pr),Lp=Jt(hp,Xt,Tr,Pr),Np=Jt(Xt,Tr,Pr);function zp(t){return Kt(t,[Op,Rl],[Mp,Ap],[Tp,Lp],[Pp,Np])}function Dp(t){return Kt(Sp(t),[xp,wp])}function Ip(t){return Kt(t,[$p,za],[Ep,za],[_p,Cp])}function Rp(t){return Kt(t,[yp,vp])}var Fp=Jt(Xt);function qp(t){return Kt(t,[bp,Fp])}var Vp=Yt(pp,mp),jp=Yt(Il),Wp=Jt(Xt,Tr,Pr);function Bp(t){return Kt(t,[Vp,Rl],[jp,Wp])}var Da="Invalid Duration",Fl={weeks:{days:7,hours:168,minutes:10080,seconds:10080*60,milliseconds:10080*60*1e3},days:{hours:24,minutes:1440,seconds:1440*60,milliseconds:1440*60*1e3},hours:{minutes:60,seconds:3600,milliseconds:3600*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},Up={years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:2184,minutes:2184*60,seconds:2184*60*60,milliseconds:2184*60*60*1e3},months:{weeks:4,days:30,hours:720,minutes:720*60,seconds:720*60*60,milliseconds:720*60*60*1e3},...Fl},xe=146097/400,Vt=146097/4800,Hp={years:{quarters:4,months:12,weeks:xe/7,days:xe,hours:xe*24,minutes:xe*24*60,seconds:xe*24*60*60,milliseconds:xe*24*60*60*1e3},quarters:{months:3,weeks:xe/28,days:xe/4,hours:xe*24/4,minutes:xe*24*60/4,seconds:xe*24*60*60/4,milliseconds:xe*24*60*60*1e3/4},months:{weeks:Vt/7,days:Vt,hours:Vt*24,minutes:Vt*24*60,seconds:Vt*24*60*60,milliseconds:Vt*24*60*60*1e3},...Fl},xt=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],Gp=xt.slice(0).reverse();function Ke(t,e,r=!1){let n={values:r?e.values:{...t.values,...e.values||{}},loc:t.loc.clone(e.loc),conversionAccuracy:e.conversionAccuracy||t.conversionAccuracy,matrix:e.matrix||t.matrix};return new ne(n)}function ql(t,e){let r=e.milliseconds??0;for(let n of Gp.slice(1))e[n]&&(r+=e[n]*t[n].milliseconds);return r}function Ia(t,e){let r=ql(t,e)<0?-1:1;xt.reduceRight((n,i)=>{if(P(e[i]))return n;if(n){let o=e[n]*r,s=t[i][n],a=Math.floor(o/s);e[i]+=a*r,e[n]-=a*s*r}return i},null),xt.reduce((n,i)=>{if(P(e[i]))return n;if(n){let o=e[n]%1;e[n]-=o,e[i]+=o*t[n][i]}return i},null)}function Ra(t){let e={};for(let[r,n]of Object.entries(t))n!==0&&(e[r]=n);return e}var ne=class t{constructor(e){let r=e.conversionAccuracy==="longterm"||!1,n=r?Hp:Up;e.matrix&&(n=e.matrix),this.values=e.values,this.loc=e.loc||q.create(),this.conversionAccuracy=r?"longterm":"casual",this.invalid=e.invalid||null,this.matrix=n,this.isLuxonDuration=!0}static fromMillis(e,r){return t.fromObject({milliseconds:e},r)}static fromObject(e,r={}){if(e==null||typeof e!="object")throw new re(`Duration.fromObject: argument expected to be an object, got ${e===null?"null":typeof e}`);return new t({values:$n(e,t.normalizeUnit),loc:q.fromObject(r),conversionAccuracy:r.conversionAccuracy,matrix:r.matrix})}static fromDurationLike(e){if(ut(e))return t.fromMillis(e);if(t.isDuration(e))return e;if(typeof e=="object")return t.fromObject(e);throw new re(`Unknown duration argument ${e} of type ${typeof e}`)}static fromISO(e,r){let[n]=Rp(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static fromISOTime(e,r){let[n]=qp(e);return n?t.fromObject(n,r):t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static invalid(e,r=null){if(!e)throw new re("need to specify a reason the Duration is invalid");let n=e instanceof pe?e:new pe(e,r);if(W.throwOnInvalid)throw new Yi(n);return new t({invalid:n})}static normalizeUnit(e){let r={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[e&&e.toLowerCase()];if(!r)throw new vn(e);return r}static isDuration(e){return e&&e.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(e,r={}){let n={...r,floor:r.round!==!1&&r.floor!==!1};return this.isValid?he.create(this.loc,n).formatDurationFromString(this,e):Da}toHuman(e={}){if(!this.isValid)return Da;let r=e.showZeros!==!1,n=xt.map(i=>{let o=this.values[i];return P(o)||o===0&&!r?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...e,unit:i.slice(0,-1)}).format(o)}).filter(i=>i);return this.loc.listFormatter({type:"conjunction",style:e.listStyle||"narrow",...e}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let e="P";return this.years!==0&&(e+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(e+=this.months+this.quarters*3+"M"),this.weeks!==0&&(e+=this.weeks+"W"),this.days!==0&&(e+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(e+="T"),this.hours!==0&&(e+=this.hours+"H"),this.minutes!==0&&(e+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(e+=go(this.seconds+this.milliseconds/1e3,3)+"S"),e==="P"&&(e+="T0S"),e}toISOTime(e={}){if(!this.isValid)return null;let r=this.toMillis();return r<0||r>=864e5?null:(e={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...e,includeOffset:!1},R.fromMillis(r,{zone:"UTC"}).toISOTime(e))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?ql(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e),n={};for(let i of xt)(Zt(r.values,i)||Zt(this.values,i))&&(n[i]=r.get(i)+this.get(i));return Ke(this,{values:n},!0)}minus(e){if(!this.isValid)return this;let r=t.fromDurationLike(e);return this.plus(r.negate())}mapUnits(e){if(!this.isValid)return this;let r={};for(let n of Object.keys(this.values))r[n]=El(e(this.values[n],n));return Ke(this,{values:r},!0)}get(e){return this[t.normalizeUnit(e)]}set(e){if(!this.isValid)return this;let r={...this.values,...$n(e,t.normalizeUnit)};return Ke(this,{values:r})}reconfigure({locale:e,numberingSystem:r,conversionAccuracy:n,matrix:i}={}){let s={loc:this.loc.clone({locale:e,numberingSystem:r}),matrix:i,conversionAccuracy:n};return Ke(this,s)}as(e){return this.isValid?this.shiftTo(e).get(e):NaN}normalize(){if(!this.isValid)return this;let e=this.toObject();return Ia(this.matrix,e),Ke(this,{values:e},!0)}rescale(){if(!this.isValid)return this;let e=Ra(this.normalize().shiftToAll().toObject());return Ke(this,{values:e},!0)}shiftTo(...e){if(!this.isValid)return this;if(e.length===0)return this;e=e.map(s=>t.normalizeUnit(s));let r={},n={},i=this.toObject(),o;for(let s of xt)if(e.indexOf(s)>=0){o=s;let a=0;for(let c in n)a+=this.matrix[c][s]*n[c],n[c]=0;ut(i[s])&&(a+=i[s]);let l=Math.trunc(a);r[s]=l,n[s]=(a*1e3-l*1e3)/1e3}else ut(i[s])&&(n[s]=i[s]);for(let s in n)n[s]!==0&&(r[o]+=s===o?n[s]:n[s]/this.matrix[o][s]);return Ia(this.matrix,r),Ke(this,{values:r},!0)}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}negate(){if(!this.isValid)return this;let e={};for(let r of Object.keys(this.values))e[r]=this.values[r]===0?0:-this.values[r];return Ke(this,{values:e},!0)}removeZeros(){if(!this.isValid)return this;let e=Ra(this.values);return Ke(this,{values:e},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(e){if(!this.isValid||!e.isValid||!this.loc.equals(e.loc))return!1;function r(n,i){return n===void 0||n===0?i===void 0||i===0:n===i}for(let n of xt)if(!r(this.values[n],e.values[n]))return!1;return!0}},jt="Invalid Interval";function Zp(t,e){return!t||!t.isValid?Gt.invalid("missing or invalid start"):!e||!e.isValid?Gt.invalid("missing or invalid end"):e<t?Gt.invalid("end before start",`The end of an interval must be after its start, but you had start=${t.toISO()} and end=${e.toISO()}`):null}var Gt=class t{constructor(e){this.s=e.start,this.e=e.end,this.invalid=e.invalid||null,this.isLuxonInterval=!0}static invalid(e,r=null){if(!e)throw new re("need to specify a reason the Interval is invalid");let n=e instanceof pe?e:new pe(e,r);if(W.throwOnInvalid)throw new Zi(n);return new t({invalid:n})}static fromDateTimes(e,r){let n=Sr(e),i=Sr(r),o=Zp(n,i);return o??new t({start:n,end:i})}static after(e,r){let n=ne.fromDurationLike(r),i=Sr(e);return t.fromDateTimes(i,i.plus(n))}static before(e,r){let n=ne.fromDurationLike(r),i=Sr(e);return t.fromDateTimes(i.minus(n),i)}static fromISO(e,r){let[n,i]=(e||"").split("/",2);if(n&&i){let o,s;try{o=R.fromISO(n,r),s=o.isValid}catch{s=!1}let a,l;try{a=R.fromISO(i,r),l=a.isValid}catch{l=!1}if(s&&l)return t.fromDateTimes(o,a);if(s){let c=ne.fromISO(i,r);if(c.isValid)return t.after(o,c)}else if(l){let c=ne.fromISO(n,r);if(c.isValid)return t.before(a,c)}}return t.invalid("unparsable",`the input "${e}" can't be parsed as ISO 8601`)}static isInterval(e){return e&&e.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get lastDateTime(){return this.isValid&&this.e?this.e.minus(1):null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(e="milliseconds"){return this.isValid?this.toDuration(e).get(e):NaN}count(e="milliseconds",r){if(!this.isValid)return NaN;let n=this.start.startOf(e,r),i;return r?.useLocaleWeeks?i=this.end.reconfigure({locale:n.locale}):i=this.end,i=i.startOf(e,r),Math.floor(i.diff(n,e).get(e))+(i.valueOf()!==this.end.valueOf())}hasSame(e){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,e):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(e){return this.isValid?this.s>e:!1}isBefore(e){return this.isValid?this.e<=e:!1}contains(e){return this.isValid?this.s<=e&&this.e>e:!1}set({start:e,end:r}={}){return this.isValid?t.fromDateTimes(e||this.s,r||this.e):this}splitAt(...e){if(!this.isValid)return[];let r=e.map(Sr).filter(s=>this.contains(s)).sort((s,a)=>s.toMillis()-a.toMillis()),n=[],{s:i}=this,o=0;for(;i<this.e;){let s=r[o]||this.e,a=+s>+this.e?this.e:s;n.push(t.fromDateTimes(i,a)),i=a,o+=1}return n}splitBy(e){let r=ne.fromDurationLike(e);if(!this.isValid||!r.isValid||r.as("milliseconds")===0)return[];let{s:n}=this,i=1,o,s=[];for(;n<this.e;){let a=this.start.plus(r.mapUnits(l=>l*i));o=+a>+this.e?this.e:a,s.push(t.fromDateTimes(n,o)),n=o,i+=1}return s}divideEqually(e){return this.isValid?this.splitBy(this.length()/e).slice(0,e):[]}overlaps(e){return this.e>e.s&&this.s<e.e}abutsStart(e){return this.isValid?+this.e==+e.s:!1}abutsEnd(e){return this.isValid?+e.e==+this.s:!1}engulfs(e){return this.isValid?this.s<=e.s&&this.e>=e.e:!1}equals(e){return!this.isValid||!e.isValid?!1:this.s.equals(e.s)&&this.e.equals(e.e)}intersection(e){if(!this.isValid)return this;let r=this.s>e.s?this.s:e.s,n=this.e<e.e?this.e:e.e;return r>=n?null:t.fromDateTimes(r,n)}union(e){if(!this.isValid)return this;let r=this.s<e.s?this.s:e.s,n=this.e>e.e?this.e:e.e;return t.fromDateTimes(r,n)}static merge(e){let[r,n]=e.sort((i,o)=>i.s-o.s).reduce(([i,o],s)=>o?o.overlaps(s)||o.abutsStart(s)?[i,o.union(s)]:[i.concat([o]),s]:[i,s],[[],null]);return n&&r.push(n),r}static xor(e){let r=null,n=0,i=[],o=e.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),s=Array.prototype.concat(...o),a=s.sort((l,c)=>l.time-c.time);for(let l of a)n+=l.type==="s"?1:-1,n===1?r=l.time:(r&&+r!=+l.time&&i.push(t.fromDateTimes(r,l.time)),r=null);return t.merge(i)}difference(...e){return t.xor([this].concat(e)).map(r=>this.intersection(r)).filter(r=>r&&!r.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:jt}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(e=kn,r={}){return this.isValid?he.create(this.s.loc.clone(r),e).formatInterval(this):jt}toISO(e){return this.isValid?`${this.s.toISO(e)}/${this.e.toISO(e)}`:jt}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:jt}toISOTime(e){return this.isValid?`${this.s.toISOTime(e)}/${this.e.toISOTime(e)}`:jt}toFormat(e,{separator:r=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(e)}${r}${this.e.toFormat(e)}`:jt}toDuration(e,r){return this.isValid?this.e.diff(this.s,e,r):ne.invalid(this.invalidReason)}mapEndpoints(e){return t.fromDateTimes(e(this.s),e(this.e))}},Bt=class{static hasDST(e=W.defaultZone){let r=R.now().setZone(e).set({month:12});return!e.isUniversal&&r.offset!==r.set({month:6}).offset}static isValidIANAZone(e){return ft.isValidZone(e)}static normalizeZone(e){return lt(e,W.defaultZone)}static getStartOfWeek({locale:e=null,locObj:r=null}={}){return(r||q.create(e)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:e=null,locObj:r=null}={}){return(r||q.create(e)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:e=null,locObj:r=null}={}){return(r||q.create(e)).getWeekendDays().slice()}static months(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||q.create(r,n,o)).months(e)}static monthsFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null,outputCalendar:o="gregory"}={}){return(i||q.create(r,n,o)).months(e,!0)}static weekdays(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||q.create(r,n,null)).weekdays(e)}static weekdaysFormat(e="long",{locale:r=null,numberingSystem:n=null,locObj:i=null}={}){return(i||q.create(r,n,null)).weekdays(e,!0)}static meridiems({locale:e=null}={}){return q.create(e).meridiems()}static eras(e="short",{locale:r=null}={}){return q.create(r,null,"gregory").eras(e)}static features(){return{relative:wl(),localeWeek:Sl()}}};function Fa(t,e){let r=i=>i.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),n=r(e)-r(t);return Math.floor(ne.fromMillis(n).as("days"))}function Yp(t,e,r){let n=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{let f=Fa(l,c);return(f-f%7)/7}],["days",Fa]],i={},o=t,s,a;for(let[l,c]of n)r.indexOf(l)>=0&&(s=l,i[l]=c(t,e),a=o.plus(i),a>e?(i[l]--,t=o.plus(i),t>e&&(a=t,i[l]--,t=o.plus(i))):t=a);return[t,i,a,s]}function Jp(t,e,r,n){let[i,o,s,a]=Yp(t,e,r),l=e-i,c=r.filter(u=>["hours","minutes","seconds","milliseconds"].indexOf(u)>=0);c.length===0&&(s<e&&(s=i.plus({[a]:1})),s!==i&&(o[a]=(o[a]||0)+l/(s-i)));let f=ne.fromObject(o,n);return c.length>0?ne.fromMillis(l,n).shiftTo(...c).plus(f):f}var Kp="missing Intl.DateTimeFormat.formatToParts support";function D(t,e=r=>r){return{regex:t,deser:([r])=>e(Vh(r))}}var Xp="\xA0",Vl=`[ ${Xp}]`,jl=new RegExp(Vl,"g");function Qp(t){return t.replace(/\./g,"\\.?").replace(jl,Vl)}function qa(t){return t.replace(/\./g,"").replace(jl," ").toLowerCase()}function Ne(t,e){return t===null?null:{regex:RegExp(t.map(Qp).join("|")),deser:([r])=>t.findIndex(n=>qa(r)===qa(n))+e}}function Va(t,e){return{regex:t,deser:([,r,n])=>On(r,n),groups:e}}function hn(t){return{regex:t,deser:([e])=>e}}function em(t){return t.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function tm(t,e){let r=Le(e),n=Le(e,"{2}"),i=Le(e,"{3}"),o=Le(e,"{4}"),s=Le(e,"{6}"),a=Le(e,"{1,2}"),l=Le(e,"{1,3}"),c=Le(e,"{1,6}"),f=Le(e,"{1,9}"),u=Le(e,"{2,4}"),p=Le(e,"{4,6}"),h=x=>({regex:RegExp(em(x.val)),deser:([y])=>y,literal:!0}),b=(x=>{if(t.literal)return h(x);switch(x.val){case"G":return Ne(e.eras("short"),0);case"GG":return Ne(e.eras("long"),0);case"y":return D(c);case"yy":return D(u,co);case"yyyy":return D(o);case"yyyyy":return D(p);case"yyyyyy":return D(s);case"M":return D(a);case"MM":return D(n);case"MMM":return Ne(e.months("short",!0),1);case"MMMM":return Ne(e.months("long",!0),1);case"L":return D(a);case"LL":return D(n);case"LLL":return Ne(e.months("short",!1),1);case"LLLL":return Ne(e.months("long",!1),1);case"d":return D(a);case"dd":return D(n);case"o":return D(l);case"ooo":return D(i);case"HH":return D(n);case"H":return D(a);case"hh":return D(n);case"h":return D(a);case"mm":return D(n);case"m":return D(a);case"q":return D(a);case"qq":return D(n);case"s":return D(a);case"ss":return D(n);case"S":return D(l);case"SSS":return D(i);case"u":return hn(f);case"uu":return hn(a);case"uuu":return D(r);case"a":return Ne(e.meridiems(),0);case"kkkk":return D(o);case"kk":return D(u,co);case"W":return D(a);case"WW":return D(n);case"E":case"c":return D(r);case"EEE":return Ne(e.weekdays("short",!1),1);case"EEEE":return Ne(e.weekdays("long",!1),1);case"ccc":return Ne(e.weekdays("short",!0),1);case"cccc":return Ne(e.weekdays("long",!0),1);case"Z":case"ZZ":return Va(new RegExp(`([+-]${a.source})(?::(${n.source}))?`),2);case"ZZZ":return Va(new RegExp(`([+-]${a.source})(${n.source})?`),2);case"z":return hn(/[a-z_+-/]{1,256}?/i);case" ":return hn(/[^\S\n\r]/);default:return h(x)}})(t)||{invalidReason:Kp};return b.token=t,b}var rm={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function nm(t,e,r){let{type:n,value:i}=t;if(n==="literal"){let l=/^\s+$/.test(i);return{literal:!l,val:l?" ":i}}let o=e[n],s=n;n==="hour"&&(e.hour12!=null?s=e.hour12?"hour12":"hour24":e.hourCycle!=null?e.hourCycle==="h11"||e.hourCycle==="h12"?s="hour12":s="hour24":s=r.hour12?"hour12":"hour24");let a=rm[s];if(typeof a=="object"&&(a=a[o]),a)return{literal:!1,val:a}}function im(t){return[`^${t.map(r=>r.regex).reduce((r,n)=>`${r}(${n.source})`,"")}$`,t]}function om(t,e,r){let n=t.match(e);if(n){let i={},o=1;for(let s in r)if(Zt(r,s)){let a=r[s],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(i[a.token.val[0]]=a.deser(n.slice(o,o+l))),o+=l}return[n,i]}else return[n,{}]}function sm(t){let e=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}},r=null,n;return P(t.z)||(r=ft.create(t.z)),P(t.Z)||(r||(r=new $e(t.Z)),n=t.Z),P(t.q)||(t.M=(t.q-1)*3+1),P(t.h)||(t.h<12&&t.a===1?t.h+=12:t.h===12&&t.a===0&&(t.h=0)),t.G===0&&t.y&&(t.y=-t.y),P(t.u)||(t.S=mo(t.u)),[Object.keys(t).reduce((o,s)=>{let a=e(s);return a&&(o[a]=t[s]),o},{}),r,n]}var ji=null;function am(){return ji||(ji=R.fromMillis(1555555555555)),ji}function lm(t,e){if(t.literal)return t;let r=he.macroTokenToFormatOpts(t.val),n=Ul(r,e);return n==null||n.includes(void 0)?t:n}function Wl(t,e){return Array.prototype.concat(...t.map(r=>lm(r,e)))}var En=class{constructor(e,r){if(this.locale=e,this.format=r,this.tokens=Wl(he.parseFormat(r),e),this.units=this.tokens.map(n=>tm(n,e)),this.disqualifyingUnit=this.units.find(n=>n.invalidReason),!this.disqualifyingUnit){let[n,i]=im(this.units);this.regex=RegExp(n,"i"),this.handlers=i}}explainFromTokens(e){if(this.isValid){let[r,n]=om(e,this.regex,this.handlers),[i,o,s]=n?sm(n):[null,null,void 0];if(Zt(n,"a")&&Zt(n,"H"))throw new ct("Can't include meridiem when specifying 24-hour format");return{input:e,tokens:this.tokens,regex:this.regex,rawMatches:r,matches:n,result:i,zone:o,specificOffset:s}}else return{input:e,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}};function Bl(t,e,r){return new En(t,r).explainFromTokens(e)}function cm(t,e,r){let{result:n,zone:i,specificOffset:o,invalidReason:s}=Bl(t,e,r);return[n,i,o,s]}function Ul(t,e){if(!t)return null;let n=he.create(e,t).dtFormatter(am()),i=n.formatToParts(),o=n.resolvedOptions();return i.map(s=>nm(s,t,o))}var Wi="Invalid DateTime",ja=864e13;function Er(t){return new pe("unsupported zone",`the zone "${t.name}" is not supported`)}function Bi(t){return t.weekData===null&&(t.weekData=wn(t.c)),t.weekData}function Ui(t){return t.localWeekData===null&&(t.localWeekData=wn(t.c,t.loc.getMinDaysInFirstWeek(),t.loc.getStartOfWeek())),t.localWeekData}function kt(t,e){let r={ts:t.ts,zone:t.zone,c:t.c,o:t.o,loc:t.loc,invalid:t.invalid};return new R({...r,...e,old:r})}function Hl(t,e,r){let n=t-e*60*1e3,i=r.offset(n);if(e===i)return[n,e];n-=(i-e)*60*1e3;let o=r.offset(n);return i===o?[n,i]:[t-Math.min(i,o)*60*1e3,Math.max(i,o)]}function pn(t,e){t+=e*60*1e3;let r=new Date(t);return{year:r.getUTCFullYear(),month:r.getUTCMonth()+1,day:r.getUTCDate(),hour:r.getUTCHours(),minute:r.getUTCMinutes(),second:r.getUTCSeconds(),millisecond:r.getUTCMilliseconds()}}function gn(t,e,r){return Hl(Cn(t),e,r)}function Wa(t,e){let r=t.o,n=t.c.year+Math.trunc(e.years),i=t.c.month+Math.trunc(e.months)+Math.trunc(e.quarters)*3,o={...t.c,year:n,month:i,day:Math.min(t.c.day,Sn(n,i))+Math.trunc(e.days)+Math.trunc(e.weeks)*7},s=ne.fromObject({years:e.years-Math.trunc(e.years),quarters:e.quarters-Math.trunc(e.quarters),months:e.months-Math.trunc(e.months),weeks:e.weeks-Math.trunc(e.weeks),days:e.days-Math.trunc(e.days),hours:e.hours,minutes:e.minutes,seconds:e.seconds,milliseconds:e.milliseconds}).as("milliseconds"),a=Cn(o),[l,c]=Hl(a,r,t.zone);return s!==0&&(l+=s,c=t.zone.offset(l)),{ts:l,o:c}}function Wt(t,e,r,n,i,o){let{setZone:s,zone:a}=r;if(t&&Object.keys(t).length!==0||e){let l=e||a,c=R.fromObject(t,{...r,zone:l,specificOffset:o});return s?c:c.setZone(a)}else return R.invalid(new pe("unparsable",`the input "${i}" can't be parsed as ${n}`))}function mn(t,e,r=!0){return t.isValid?he.create(q.create("en-US"),{allowZ:r,forceSimple:!0}).formatDateTimeFromString(t,e):null}function Hi(t,e,r){let n=t.c.year>9999||t.c.year<0,i="";if(n&&t.c.year>=0&&(i+="+"),i+=K(t.c.year,n?6:4),r==="year")return i;if(e){if(i+="-",i+=K(t.c.month),r==="month")return i;i+="-"}else if(i+=K(t.c.month),r==="month")return i;return i+=K(t.c.day),i}function Ba(t,e,r,n,i,o,s){let a=!r||t.c.millisecond!==0||t.c.second!==0,l="";switch(s){case"day":case"month":case"year":break;default:if(l+=K(t.c.hour),s==="hour")break;if(e){if(l+=":",l+=K(t.c.minute),s==="minute")break;a&&(l+=":",l+=K(t.c.second))}else{if(l+=K(t.c.minute),s==="minute")break;a&&(l+=K(t.c.second))}if(s==="second")break;a&&(!n||t.c.millisecond!==0)&&(l+=".",l+=K(t.c.millisecond,3))}return i&&(t.isOffsetFixed&&t.offset===0&&!o?l+="Z":t.o<0?(l+="-",l+=K(Math.trunc(-t.o/60)),l+=":",l+=K(Math.trunc(-t.o%60))):(l+="+",l+=K(Math.trunc(t.o/60)),l+=":",l+=K(Math.trunc(t.o%60)))),o&&(l+="["+t.zone.ianaName+"]"),l}var Gl={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},um={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},fm={ordinal:1,hour:0,minute:0,second:0,millisecond:0},bn=["year","month","day","hour","minute","second","millisecond"],dm=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],hm=["year","ordinal","hour","minute","second","millisecond"];function yn(t){let e={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[t.toLowerCase()];if(!e)throw new vn(t);return e}function Ua(t){switch(t.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return yn(t)}}function pm(t){if(_r===void 0&&(_r=W.now()),t.type!=="iana")return t.offset(_r);let e=t.name,r=uo.get(e);return r===void 0&&(r=t.offset(_r),uo.set(e,r)),r}function Ha(t,e){let r=lt(e.zone,W.defaultZone);if(!r.isValid)return R.invalid(Er(r));let n=q.fromObject(e),i,o;if(P(t.year))i=W.now();else{for(let l of bn)P(t[l])&&(t[l]=Gl[l]);let s=kl(t)||xl(t);if(s)return R.invalid(s);let a=pm(r);[i,o]=gn(t,a,r)}return new R({ts:i,zone:r,loc:n,o})}function Ga(t,e,r){let n=P(r.round)?!0:r.round,i=P(r.rounding)?"trunc":r.rounding,o=(a,l)=>(a=go(a,n||r.calendary?0:2,r.calendary?"round":i),e.loc.clone(r).relFormatter(r).format(a,l)),s=a=>r.calendary?e.hasSame(t,a)?0:e.startOf(a).diff(t.startOf(a),a).get(a):e.diff(t,a).get(a);if(r.unit)return o(s(r.unit),r.unit);for(let a of r.units){let l=s(a);if(Math.abs(l)>=1)return o(l,a)}return o(t>e?-0:0,r.units[r.units.length-1])}function Za(t){let e={},r;return t.length>0&&typeof t[t.length-1]=="object"?(e=t[t.length-1],r=Array.from(t).slice(0,t.length-1)):r=Array.from(t),[e,r]}var _r,uo=new Map,R=class t{constructor(e){let r=e.zone||W.defaultZone,n=e.invalid||(Number.isNaN(e.ts)?new pe("invalid input"):null)||(r.isValid?null:Er(r));this.ts=P(e.ts)?W.now():e.ts;let i=null,o=null;if(!n)if(e.old&&e.old.ts===this.ts&&e.old.zone.equals(r))[i,o]=[e.old.c,e.old.o];else{let a=ut(e.o)&&!e.old?e.o:r.offset(this.ts);i=pn(this.ts,a),n=Number.isNaN(i.year)?new pe("invalid input"):null,i=n?null:i,o=n?null:a}this._zone=r,this.loc=e.loc||q.create(),this.invalid=n,this.weekData=null,this.localWeekData=null,this.c=i,this.o=o,this.isLuxonDateTime=!0}static now(){return new t({})}static local(){let[e,r]=Za(arguments),[n,i,o,s,a,l,c]=r;return Ha({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static utc(){let[e,r]=Za(arguments),[n,i,o,s,a,l,c]=r;return e.zone=$e.utcInstance,Ha({year:n,month:i,day:o,hour:s,minute:a,second:l,millisecond:c},e)}static fromJSDate(e,r={}){let n=Hh(e)?e.valueOf():NaN;if(Number.isNaN(n))return t.invalid("invalid input");let i=lt(r.zone,W.defaultZone);return i.isValid?new t({ts:n,zone:i,loc:q.fromObject(r)}):t.invalid(Er(i))}static fromMillis(e,r={}){if(ut(e))return e<-ja||e>ja?t.invalid("Timestamp out of range"):new t({ts:e,zone:lt(r.zone,W.defaultZone),loc:q.fromObject(r)});throw new re(`fromMillis requires a numerical input, but received a ${typeof e} with value ${e}`)}static fromSeconds(e,r={}){if(ut(e))return new t({ts:e*1e3,zone:lt(r.zone,W.defaultZone),loc:q.fromObject(r)});throw new re("fromSeconds requires a numerical input")}static fromObject(e,r={}){e=e||{};let n=lt(r.zone,W.defaultZone);if(!n.isValid)return t.invalid(Er(n));let i=q.fromObject(r),o=$n(e,Ua),{minDaysInFirstWeek:s,startOfWeek:a}=Pa(o,i),l=W.now(),c=P(r.specificOffset)?n.offset(l):r.specificOffset,f=!P(o.ordinal),u=!P(o.year),p=!P(o.month)||!P(o.day),h=u||p,g=o.weekYear||o.weekNumber;if((h||f)&&g)throw new ct("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(p&&f)throw new ct("Can't mix ordinal dates with month/day");let b=g||o.weekday&&!h,x,y,v=pn(l,c);b?(x=dm,y=um,v=wn(v,s,a)):f?(x=hm,y=fm,v=Vi(v)):(x=bn,y=Gl);let S=!1;for(let I of x){let Q=o[I];P(Q)?S?o[I]=y[I]:o[I]=v[I]:S=!0}let $=b?Wh(o,s,a):f?Bh(o):kl(o),k=$||xl(o);if(k)return t.invalid(k);let M=b?Ma(o,s,a):f?Ta(o):o,[E,T]=gn(M,c,n),L=new t({ts:E,zone:n,o:T,loc:i});return o.weekday&&h&&e.weekday!==L.weekday?t.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${L.toISO()}`):L.isValid?L:t.invalid(L.invalid)}static fromISO(e,r={}){let[n,i]=zp(e);return Wt(n,i,r,"ISO 8601",e)}static fromRFC2822(e,r={}){let[n,i]=Dp(e);return Wt(n,i,r,"RFC 2822",e)}static fromHTTP(e,r={}){let[n,i]=Ip(e);return Wt(n,i,r,"HTTP",r)}static fromFormat(e,r,n={}){if(P(e)||P(r))throw new re("fromFormat requires an input string and a format");let{locale:i=null,numberingSystem:o=null}=n,s=q.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0}),[a,l,c,f]=cm(s,e,r);return f?t.invalid(f):Wt(a,l,n,`format ${r}`,e,c)}static fromString(e,r,n={}){return t.fromFormat(e,r,n)}static fromSQL(e,r={}){let[n,i]=Bp(e);return Wt(n,i,r,"SQL",e)}static invalid(e,r=null){if(!e)throw new re("need to specify a reason the DateTime is invalid");let n=e instanceof pe?e:new pe(e,r);if(W.throwOnInvalid)throw new Gi(n);return new t({invalid:n})}static isDateTime(e){return e&&e.isLuxonDateTime||!1}static parseFormatForOpts(e,r={}){let n=Ul(e,q.fromObject(r));return n?n.map(i=>i?i.val:null).join(""):null}static expandFormat(e,r={}){return Wl(he.parseFormat(e),q.fromObject(r)).map(i=>i.val).join("")}static resetCache(){_r=void 0,uo.clear()}get(e){return this[e]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Bi(this).weekYear:NaN}get weekNumber(){return this.isValid?Bi(this).weekNumber:NaN}get weekday(){return this.isValid?Bi(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ui(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ui(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ui(this).weekYear:NaN}get ordinal(){return this.isValid?Vi(this.c).ordinal:NaN}get monthShort(){return this.isValid?Bt.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Bt.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Bt.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Bt.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];let e=864e5,r=6e4,n=Cn(this.c),i=this.zone.offset(n-e),o=this.zone.offset(n+e),s=this.zone.offset(n-i*r),a=this.zone.offset(n-o*r);if(s===a)return[this];let l=n-s*r,c=n-a*r,f=pn(l,s),u=pn(c,a);return f.hour===u.hour&&f.minute===u.minute&&f.second===u.second&&f.millisecond===u.millisecond?[kt(this,{ts:l}),kt(this,{ts:c})]:[this]}get isInLeapYear(){return Mr(this.year)}get daysInMonth(){return Sn(this.year,this.month)}get daysInYear(){return this.isValid?Ut(this.year):NaN}get weeksInWeekYear(){return this.isValid?Or(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Or(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(e={}){let{locale:r,numberingSystem:n,calendar:i}=he.create(this.loc.clone(e),e).resolvedOptions(this);return{locale:r,numberingSystem:n,outputCalendar:i}}toUTC(e=0,r={}){return this.setZone($e.instance(e),r)}toLocal(){return this.setZone(W.defaultZone)}setZone(e,{keepLocalTime:r=!1,keepCalendarTime:n=!1}={}){if(e=lt(e,W.defaultZone),e.equals(this.zone))return this;if(e.isValid){let i=this.ts;if(r||n){let o=e.offset(this.ts),s=this.toObject();[i]=gn(s,o,e)}return kt(this,{ts:i,zone:e})}else return t.invalid(Er(e))}reconfigure({locale:e,numberingSystem:r,outputCalendar:n}={}){let i=this.loc.clone({locale:e,numberingSystem:r,outputCalendar:n});return kt(this,{loc:i})}setLocale(e){return this.reconfigure({locale:e})}set(e){if(!this.isValid)return this;let r=$n(e,Ua),{minDaysInFirstWeek:n,startOfWeek:i}=Pa(r,this.loc),o=!P(r.weekYear)||!P(r.weekNumber)||!P(r.weekday),s=!P(r.ordinal),a=!P(r.year),l=!P(r.month)||!P(r.day),c=a||l,f=r.weekYear||r.weekNumber;if((c||s)&&f)throw new ct("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&s)throw new ct("Can't mix ordinal dates with month/day");let u;o?u=Ma({...wn(this.c,n,i),...r},n,i):P(r.ordinal)?(u={...this.toObject(),...r},P(r.day)&&(u.day=Math.min(Sn(u.year,u.month),u.day))):u=Ta({...Vi(this.c),...r});let[p,h]=gn(u,this.o,this.zone);return kt(this,{ts:p,o:h})}plus(e){if(!this.isValid)return this;let r=ne.fromDurationLike(e);return kt(this,Wa(this,r))}minus(e){if(!this.isValid)return this;let r=ne.fromDurationLike(e).negate();return kt(this,Wa(this,r))}startOf(e,{useLocaleWeeks:r=!1}={}){if(!this.isValid)return this;let n={},i=ne.normalizeUnit(e);switch(i){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(i==="weeks")if(r){let o=this.loc.getStartOfWeek(),{weekday:s}=this;s<o&&(n.weekNumber=this.weekNumber-1),n.weekday=o}else n.weekday=1;if(i==="quarters"){let o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(e,r){return this.isValid?this.plus({[e]:1}).startOf(e,r).minus(1):this}toFormat(e,r={}){return this.isValid?he.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this,e):Wi}toLocaleString(e=kn,r={}){return this.isValid?he.create(this.loc.clone(r),e).formatDateTime(this):Wi}toLocaleParts(e={}){return this.isValid?he.create(this.loc.clone(e),e).formatDateTimeParts(this):[]}toISO({format:e="extended",suppressSeconds:r=!1,suppressMilliseconds:n=!1,includeOffset:i=!0,extendedZone:o=!1,precision:s="milliseconds"}={}){if(!this.isValid)return null;s=yn(s);let a=e==="extended",l=Hi(this,a,s);return bn.indexOf(s)>=3&&(l+="T"),l+=Ba(this,a,r,n,i,o,s),l}toISODate({format:e="extended",precision:r="day"}={}){return this.isValid?Hi(this,e==="extended",yn(r)):null}toISOWeekDate(){return mn(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:e=!1,suppressSeconds:r=!1,includeOffset:n=!0,includePrefix:i=!1,extendedZone:o=!1,format:s="extended",precision:a="milliseconds"}={}){return this.isValid?(a=yn(a),(i&&bn.indexOf(a)>=3?"T":"")+Ba(this,s==="extended",r,e,n,o,a)):null}toRFC2822(){return mn(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return mn(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Hi(this,!0):null}toSQLTime({includeOffset:e=!0,includeZone:r=!1,includeOffsetSpace:n=!0}={}){let i="HH:mm:ss.SSS";return(r||e)&&(n&&(i+=" "),r?i+="z":e&&(i+="ZZ")),mn(this,i,!0)}toSQL(e={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(e)}`:null}toString(){return this.isValid?this.toISO():Wi}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(e={}){if(!this.isValid)return{};let r={...this.c};return e.includeConfig&&(r.outputCalendar=this.outputCalendar,r.numberingSystem=this.loc.numberingSystem,r.locale=this.loc.locale),r}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(e,r="milliseconds",n={}){if(!this.isValid||!e.isValid)return ne.invalid("created by diffing an invalid DateTime");let i={locale:this.locale,numberingSystem:this.numberingSystem,...n},o=Gh(r).map(ne.normalizeUnit),s=e.valueOf()>this.valueOf(),a=s?this:e,l=s?e:this,c=Jp(a,l,o,i);return s?c.negate():c}diffNow(e="milliseconds",r={}){return this.diff(t.now(),e,r)}until(e){return this.isValid?Gt.fromDateTimes(this,e):this}hasSame(e,r,n){if(!this.isValid)return!1;let i=e.valueOf(),o=this.setZone(e.zone,{keepLocalTime:!0});return o.startOf(r,n)<=i&&i<=o.endOf(r,n)}equals(e){return this.isValid&&e.isValid&&this.valueOf()===e.valueOf()&&this.zone.equals(e.zone)&&this.loc.equals(e.loc)}toRelative(e={}){if(!this.isValid)return null;let r=e.base||t.fromObject({},{zone:this.zone}),n=e.padding?this<r?-e.padding:e.padding:0,i=["years","months","days","hours","minutes","seconds"],o=e.unit;return Array.isArray(e.unit)&&(i=e.unit,o=void 0),Ga(r,this.plus(n),{...e,numeric:"always",units:i,unit:o})}toRelativeCalendar(e={}){return this.isValid?Ga(e.base||t.fromObject({},{zone:this.zone}),this,{...e,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...e){if(!e.every(t.isDateTime))throw new re("min requires all arguments be DateTimes");return Aa(e,r=>r.valueOf(),Math.min)}static max(...e){if(!e.every(t.isDateTime))throw new re("max requires all arguments be DateTimes");return Aa(e,r=>r.valueOf(),Math.max)}static fromFormatExplain(e,r,n={}){let{locale:i=null,numberingSystem:o=null}=n,s=q.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});return Bl(s,e,r)}static fromStringExplain(e,r,n={}){return t.fromFormatExplain(e,r,n)}static buildFormatParser(e,r={}){let{locale:n=null,numberingSystem:i=null}=r,o=q.fromOpts({locale:n,numberingSystem:i,defaultToEN:!0});return new En(o,e)}static fromFormatParser(e,r,n={}){if(P(e)||P(r))throw new re("fromFormatParser requires an input string and a format parser");let{locale:i=null,numberingSystem:o=null}=n,s=q.fromOpts({locale:i,numberingSystem:o,defaultToEN:!0});if(!s.equals(r.locale))throw new re(`fromFormatParser called with a locale of ${s}, but the format parser was created for ${r.locale}`);let{result:a,zone:l,specificOffset:c,invalidReason:f}=r.explainFromTokens(e);return f?t.invalid(f):Wt(a,l,n,`format ${r.format}`,e,c)}static get DATE_SHORT(){return kn}static get DATE_MED(){return Ya}static get DATE_MED_WITH_WEEKDAY(){return $h}static get DATE_FULL(){return Ja}static get DATE_HUGE(){return Ka}static get TIME_SIMPLE(){return Xa}static get TIME_WITH_SECONDS(){return Qa}static get TIME_WITH_SHORT_OFFSET(){return el}static get TIME_WITH_LONG_OFFSET(){return tl}static get TIME_24_SIMPLE(){return rl}static get TIME_24_WITH_SECONDS(){return nl}static get TIME_24_WITH_SHORT_OFFSET(){return il}static get TIME_24_WITH_LONG_OFFSET(){return ol}static get DATETIME_SHORT(){return sl}static get DATETIME_SHORT_WITH_SECONDS(){return al}static get DATETIME_MED(){return ll}static get DATETIME_MED_WITH_SECONDS(){return cl}static get DATETIME_MED_WITH_WEEKDAY(){return Eh}static get DATETIME_FULL(){return ul}static get DATETIME_FULL_WITH_SECONDS(){return fl}static get DATETIME_HUGE(){return dl}static get DATETIME_HUGE_WITH_SECONDS(){return hl}};function Sr(t){if(R.isDateTime(t))return t;if(t&&t.valueOf&&ut(t.valueOf()))return R.fromJSDate(t);if(t&&typeof t=="object")return R.fromObject(t);throw new re(`Unknown datetime argument: ${t}, of type ${typeof t}`)}var An="default",So="preflights",mm="shortcuts",gm="imports",bm={[gm]:-200,[So]:-100,[mm]:-10,[An]:0},Co=/[\\:]?[\s'"`;{}]+/g;function ym(t){return t.split(Co)}var vm={name:"@unocss/core/extractor-split",order:0,extract({code:t}){return ym(t)}};function F(t=[]){return Array.isArray(t)?t:[t]}function De(t){return Array.from(new Set(t))}function Zl(t,e){return t.reduce((r,n)=>(r.findIndex(o=>e(n,o))===-1&&r.push(n),r),[])}function H(t){return typeof t=="string"}var Ln=class extends Set{_map=new Map;constructor(e){if(super(),e)for(let r of e)this.add(r)}add(e){return this._map.set(e,(this._map.get(e)??0)+1),super.add(e)}delete(e){return this._map.has(e)?(this._map.delete(e),super.delete(e)):!1}clear(){this._map.clear(),super.clear()}getCount(e){return this._map.get(e)??0}setCount(e,r){return this._map.set(e,r),super.add(e)}};function ko(t){return t instanceof Ln}function er(t){return t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function ue(t){let e=t.length,r=-1,n,i="",o=t.charCodeAt(0);for(;++r<e;){if(n=t.charCodeAt(r),n===0){i+="\uFFFD";continue}if(n===37){i+="\\%";continue}if(n===44){i+="\\,";continue}if(n>=1&&n<=31||n===127||r===0&&n>=48&&n<=57||r===1&&n>=48&&n<=57&&o===45){i+=`\\${n.toString(16)} `;continue}if(r===0&&e===1&&n===45){i+=`\\${t.charAt(r)}`;continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){i+=t.charAt(r);continue}i+=`\\${t.charAt(r)}`}return i}var xo=ue;function km(){return{events:{},emit(t,...e){(this.events[t]||[]).forEach(r=>r(...e))},on(t,e){return(this.events[t]=this.events[t]||[]).push(e),()=>this.events[t]=(this.events[t]||[]).filter(r=>r!==e)}}}var xm=/[\w\u00A0-\uFFFF%-?]/;function tc(t=""){return xm.test(t)}function wm(t){return typeof t=="function"?{match:t}:t}function Yl(t){return t.length===3}function Ar(t){return t!=null}function Sm(){}var $o=class{_map=new Map;get(e,r){let n=this._map.get(e);if(n)return n.get(r)}getFallback(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.has(r)||i.set(r,n),i.get(r)}set(e,r,n){let i=this._map.get(e);return i||(i=new Map,this._map.set(e,i)),i.set(r,n),this}has(e,r){return this._map.get(e)?.has(r)}delete(e,r){return this._map.get(e)?.delete(r)||!1}deleteTop(e){return this._map.delete(e)}map(e){return Array.from(this._map.entries()).flatMap(([r,n])=>Array.from(n.entries()).map(([i,o])=>e(o,r,i)))}},Eo=class extends Map{getFallback(e,r){let n=this.get(e);return n===void 0?(this.set(e,r),r):n}map(e){let r=[];return this.forEach((n,i)=>{r.push(e(n,i))}),r}flatMap(e){let r=[];return this.forEach((n,i)=>{r.push(...e(n,i))}),r}};function Nn(t){return H(t)?t:(Array.isArray(t)?t:Object.entries(t)).filter(e=>e[1]!=null)}function $m(t){return Array.isArray(t)?t.find(e=>!Array.isArray(e)||Array.isArray(e[0]))?t.map(e=>Nn(e)):[t]:[Nn(t)]}function Em(t){return t.filter(([e,r],n)=>{if(e.startsWith("$$"))return!1;for(let i=n-1;i>=0;i--)if(t[i][0]===e&&t[i][1]===r)return!1;return!0})}var rc="__virtual_key__";function wo(t){return t==null?"":Em(t).map(([e,r])=>r!=null&&typeof r!="function"?e!==rc?`${e}:${r};`:r:void 0).filter(Boolean).join("")}function Tn(t){return t&&typeof t=="object"&&!Array.isArray(t)}function tr(t,e,r=!1){let n=t,i=e;if(Array.isArray(i))return r&&Array.isArray(i)?[...n,...i]:[...i];let o={...n};return Tn(n)&&Tn(i)&&Object.keys(i).forEach(s=>{Tn(n[s])&&Tn(i[s])||Array.isArray(n[s])&&Array.isArray(i[s])?o[s]=tr(n[s],i[s],r):Object.assign(o,{[s]:i[s]})}),o}function Qt(t){let e,r,n;if(Array.isArray(t)){for(r=Array.from({length:e=t.length});e--;)r[e]=(n=t[e])&&typeof n=="object"?Qt(n):n;return r}if(Object.prototype.toString.call(t)==="[object Object]"){r={};for(e in t)e==="__proto__"?Object.defineProperty(r,e,{value:Qt(t[e]),configurable:!0,enumerable:!0,writable:!0}):r[e]=(n=t[e])&&typeof n=="object"?Qt(n):n;return r}return t}function _m(t){return H(t[0])}function Cm(t){return H(t[0])}var Pn={};function Om(t=["-",":"]){let e=t.join("|");return Pn[e]||(Pn[e]=new RegExp(`((?:[!@<~\\w+:_-]|\\[&?>?:?\\S*\\])+?)(${e})\\(((?:[~!<>\\w\\s:/\\\\,%#.$?-]|\\[[^\\]]*?\\])+?)\\)(?!\\s*?=>)`,"gm")),Pn[e].lastIndex=0,Pn[e]}function Mm(t,e=["-",":"],r=5){let n=Om(e),i,o=t.toString(),s=new Set,a=new Map;do i=!1,o=o.replace(n,(c,f,u,p,h)=>{if(!e.includes(u))return c;i=!0,s.add(f+u);let g=h+f.length+u.length+1,b={length:c.length,items:[]};a.set(h,b);for(let x of[...p.matchAll(/\S+/g)]){let y=g+x.index,v=a.get(y)?.items;v?a.delete(y):v=[{offset:y,length:x[0].length,className:x[0]}];for(let S of v)S.className=S.className==="~"?f:S.className.replace(/^(!?)(.*)/,`$1${f}${u}$2`),b.items.push(S)}return"$".repeat(c.length)}),r-=1;while(i&&r);let l;if(typeof t=="string"){l="";let c=0;for(let[f,u]of a)l+=t.slice(c,f),l+=u.items.map(p=>p.className).join(" "),c=f+u.length;l+=t.slice(c)}else{l=t;for(let[c,f]of a)l.overwrite(c,c+f.length,f.items.map(u=>u.className).join(" "))}return{prefixes:Array.from(s),hasChanged:i,groupsByOffset:a,get expanded(){return l.toString()}}}function Tm(t,e=["-",":"],r=5){let n=Mm(t,e,r);return typeof t=="string"?n.expanded:t}var Jl=new Set;function Pm(t){Jl.has(t)||(console.warn("[unocss]",t),Jl.add(t))}function nc(t){return F(t).flatMap(e=>Array.isArray(e)?[e]:Object.entries(e))}var Kl="_uno_resolved";async function Am(t){let e=typeof t=="function"?await t():await t;if(Kl in e)return e;e={...e},Object.defineProperty(e,Kl,{value:!0,enumerable:!1});let r=e.shortcuts?nc(e.shortcuts):void 0;if(e.shortcuts=r,e.prefix||e.layer){let n=i=>{i[2]||(i[2]={});let o=i[2];o.prefix==null&&e.prefix&&(o.prefix=F(e.prefix)),o.layer==null&&e.layer&&(o.layer=e.layer)};r?.forEach(n),e.rules?.forEach(n)}return e}async function ic(t){let e=await Am(t);if(!e.presets)return[e];let r=(await Promise.all((e.presets||[]).flatMap(F).flatMap(ic))).flat();return[e,...r]}function Lm(t){if(t.length===0)return{};let e=[],r=[],n=!1,i=[],o=[];for(let a of t){if(a.pipeline===!1){n=!0;break}else a.pipeline?.include&&e.push(a.pipeline.include),a.pipeline?.exclude&&r.push(a.pipeline.exclude);a.filesystem&&i.push(a.filesystem),a.inline&&o.push(a.inline)}let s={pipeline:n?!1:{include:De(Ql(...e)),exclude:De(Ql(...r))}};return i.length&&(s.filesystem=De(i.flat())),o.length&&(s.inline=De(o.flat())),s}async function Xl(t={},e={}){let r=Object.assign({},e,t),n=Zl((await Promise.all((r.presets||[]).flatMap(F).flatMap(ic))).flat(),(k,M)=>k.name===M.name),i=[...n.filter(k=>k.enforce==="pre"),...n.filter(k=>!k.enforce),...n.filter(k=>k.enforce==="post")],o=[...i,r],s=[...o].reverse(),a=Object.assign({},bm,...o.map(k=>k.layers));function l(k){return De(o.flatMap(M=>F(M[k]||[])))}let c=l("extractors"),f=s.find(k=>k.extractorDefault!==void 0)?.extractorDefault;f===void 0&&(f=vm),f&&!c.includes(f)&&c.unshift(f),c.sort((k,M)=>(k.order||0)-(M.order||0));let u=l("rules"),p=u.length,h={},g=[];for(let[k,M]of u.entries()){let E=M[2]??(M[2]={});E.__index=k,_m(M)?F(E.prefix??"").forEach(L=>{h[L+M[0]]=M}):g.unshift(M)}let b={templates:De(o.flatMap(k=>F(k.autocomplete?.templates))),extractors:o.flatMap(k=>F(k.autocomplete?.extractors)).sort((k,M)=>(k.order||0)-(M.order||0)),shorthands:zm(o.map(k=>k.autocomplete?.shorthands||{}))},x=l("separators");x.length||(x=[":","-"]);let y=l("content"),v=Lm(y),S={mergeSelectors:!0,warn:!0,sortLayers:k=>k,...r,blocklist:l("blocklist"),presets:i,envMode:r.envMode||"build",shortcutsLayer:r.shortcutsLayer||"shortcuts",layers:a,theme:Nm(o.map(k=>k.theme)),rules:u,rulesSize:p,rulesDynamic:g,rulesStaticMap:h,preprocess:l("preprocess"),postprocess:l("postprocess"),preflights:l("preflights"),autocomplete:b,variants:l("variants").map(wm).sort((k,M)=>(k.order||0)-(M.order||0)),shortcuts:nc(l("shortcuts")).reverse(),extractors:c,safelist:l("safelist"),separators:x,details:r.details??r.envMode==="dev",content:v,transformers:Zl(l("transformers"),(k,M)=>k.name===M.name)},$=l("extendTheme");for(let k of $)S.theme=k(S.theme,S)||S.theme;for(let k of o)k?.configResolved?.(S);return S}function Nm(t){return t.map(e=>e?Qt(e):{}).reduce((e,r)=>tr(e,r),{})}function zm(t){return t.reduce((e,r)=>{let n={};for(let i in r){let o=r[i];Array.isArray(o)?n[i]=`(${o.join("|")})`:n[i]=o}return{...e,...n}},{})}function Ql(...t){return t.flatMap(Dm)}function Dm(t){return Array.isArray(t)?t:t?[t]:[]}var Im="66.5.9",J={shortcutsNoMerge:"$$symbol-shortcut-no-merge",noMerge:"$$symbol-no-merge",variants:"$$symbol-variants",parent:"$$symbol-parent",selector:"$$symbol-selector",layer:"$$symbol-layer",sort:"$$symbol-sort",body:"$$symbol-body"},_o=class t{constructor(e={},r={}){this.userConfig=e,this.defaults=r}version=Im;events=km();config=void 0;cache=new Map;blocked=new Set;parentOrders=new Map;activatedRules=new Set;static async create(e={},r={}){let n=new t(e,r);return n.config=await Xl(n.userConfig,n.defaults),n.events.emit("config",n.config),n}async setConfig(e,r){e&&(r&&(this.defaults=r),this.userConfig=e,this.blocked.clear(),this.parentOrders.clear(),this.activatedRules.clear(),this.cache.clear(),this.config=await Xl(e,this.defaults),this.events.emit("config",this.config))}async applyExtractors(e,r,n=new Set){let i={original:e,code:e,id:r,extracted:n,envMode:this.config.envMode};for(let o of this.config.extractors){let s=await o.extract?.(i);if(s)if(ko(s)&&ko(n))for(let a of s)n.setCount(a,n.getCount(a)+s.getCount(a));else for(let a of s)n.add(a)}return n}makeContext(e,r){let n={rawSelector:e,currentSelector:r[1],theme:this.config.theme,generator:this,symbols:J,variantHandlers:r[2],constructCSS:(...i)=>this.constructCustomCSS(n,...i),variantMatch:r};return n}async parseToken(e,r){if(this.blocked.has(e))return;let n=`${e}${r?` ${r}`:""}`;if(this.cache.has(n))return this.cache.get(n);let i=this.config.preprocess.reduce((l,c)=>c(l)??l,e);if(this.isBlocked(i)){this.blocked.add(e),this.cache.set(n,null);return}let o=await this.matchVariants(e,i);if(o.every(l=>!l||this.isBlocked(l[1]))){this.blocked.add(e),this.cache.set(n,null);return}let s=async l=>{let c=this.makeContext(e,[r||l[0],l[1],l[2],l[3]]);this.config.details&&(c.variants=[...l[3]]);let f=await this.expandShortcut(c.currentSelector,c);return f?await this.stringifyShortcuts(c.variantMatch,c,f[0],f[1]):(await this.parseUtil(c.variantMatch,c))?.map(p=>this.stringifyUtil(p,c)).filter(Ar)},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a?.length)return this.cache.set(n,a),a;this.cache.set(n,null)}async generate(e,r={}){let{id:n,scope:i,preflights:o=!0,safelist:s=!0,minify:a=!1,extendedInfo:l=!1}=r,c=H(e)?await this.applyExtractors(e,n,l?new Ln:new Set):Array.isArray(e)?new Set(e):e;if(s){let E={generator:this,theme:this.config.theme};this.config.safelist.flatMap(T=>typeof T=="function"?T(E):T).forEach(T=>{let L=T.trim();L&&!c.has(L)&&c.add(L)})}let f=a?"":`
|
|
25
25
|
`,u=new Set([An]),p=l?new Map:new Set,h=new Map,g={},b=Array.from(c).map(async E=>{if(p.has(E))return;let T=await this.parseToken(E);if(T!=null){p instanceof Map?p.set(E,{data:T,count:ko(c)?c.getCount(E):-1}):p.add(E);for(let L of T){let I=L[3]||"",Q=L[4]?.layer;h.has(I)||h.set(I,[]),h.get(I).push(L),Q&&u.add(Q)}}});await Promise.all(b),await(async()=>{if(!o)return;let E={generator:this,theme:this.config.theme},T=new Set([]);this.config.preflights.forEach(({layer:L=So})=>{u.add(L),T.add(L)}),g=Object.fromEntries(await Promise.all(Array.from(T).map(async L=>{let Q=(await Promise.all(this.config.preflights.filter(Y=>(Y.layer||So)===L).map(async Y=>await Y.getCSS(E)))).filter(Boolean).join(f);return[L,Q]})))})();let x=this.config.sortLayers(Array.from(u).sort((E,T)=>(this.config.layers[E]??0)-(this.config.layers[T]??0)||E.localeCompare(T))),y={},v=this.config.outputToCssLayers,S=E=>{let T=E;return typeof v=="object"&&(T=v.cssLayerName?.(E)),T===null?null:T??E},$=(E=An)=>{if(y[E])return y[E];let T=Array.from(h).sort((Q,Y)=>(this.parentOrders.get(Q[0])??0)-(this.parentOrders.get(Y[0])??0)||Q[0]?.localeCompare(Y[0]||"")||0).map(([Q,Y])=>{let ln=Y.length,it=Y.filter(te=>(te[4]?.layer||An)===E).sort((te,Pe)=>te[0]-Pe[0]||(te[4]?.sort||0)-(Pe[4]?.sort||0)||te[5]?.currentSelector?.localeCompare(Pe[5]?.currentSelector??"")||te[1]?.localeCompare(Pe[1]||"")||te[2]?.localeCompare(Pe[2]||"")||0).map(([,te,Pe,,cn,,zi])=>[[[(te&&Fm(te,i))??"",cn?.sort??0]],Pe,!!(zi??cn?.noMerge)]);if(!it.length)return;let xr=it.reverse().map(([te,Pe,cn],zi)=>{if(!cn&&this.config.mergeSelectors)for(let ot=zi+1;ot<ln;ot++){let Ve=it[ot];if(Ve&&!Ve[2]&&(te&&Ve[0]||te==null&&Ve[0]==null)&&Ve[1]===Pe)return te&&Ve[0]&&Ve[0].push(...te),null}let Di=te?De(te.sort((ot,Ve)=>ot[1]-Ve[1]||ot[0]?.localeCompare(Ve[0]||"")||0).map(ot=>ot[0]).filter(Boolean)):[];return Di.length?`${Di.join(`,${f}`)}{${Pe}}`:Pe}).filter(Boolean),de=Array.from(new Set(xr)).reverse().join(f);if(!Q)return de;let ya=Q.split(" $$ ");return`${ya.join("{")}{${f}${de}${f}${"}".repeat(ya.length)}`}).filter(Boolean).join(f);o&&(T=[g[E],T].filter(Boolean).join(f));let L;v&&T&&(L=S(E),L!==null&&(T=`@layer ${L}{${f}${T}${f}}`));let I=a?"":`/* layer: ${E}${L&&L!==E?`, alias: ${L}`:""} */${f}`;return y[E]=T?I+T:""},k=(E=x,T)=>{let L=E.filter(I=>!T?.includes(I));return[v&&L.length>0?`@layer ${L.map(S).filter(Ar).join(", ")};`:void 0,...L.map(I=>$(I)||"")].filter(Boolean).join(f)};return{get css(){return k()},layers:x,matched:p,getLayers:k,getLayer:$,setLayer:async(E,T)=>{let L=await T($(E));return y[E]=L,L}}}async matchVariants(e,r){let n={rawSelector:e,theme:this.config.theme,generator:this},i=async o=>{let s=!0,[,,a,l]=o;for(;s;){s=!1;let c=o[1];for(let f of this.config.variants){if(!f.multiPass&&l.has(f))continue;let u=await f.match(c,n);if(u){if(H(u)){if(u===c)continue;u={matcher:u}}if(Array.isArray(u)){if(!u.length)continue;if(u.length===1)u=u[0];else{if(f.multiPass)throw new Error("multiPass can not be used together with array return variants");let p=u.map(h=>{let g=h.matcher??c,b=[h,...a],x=new Set(l);return x.add(f),[o[0],g,b,x]});return(await Promise.all(p.map(h=>i(h)))).flat()}}o[1]=u.matcher??c,a.unshift(u),l.add(f),s=!0;break}}if(!s)break;if(a.length>500)throw new Error(`Too many variants applied to "${e}"`)}return[o]};return await i([e,r||e,[],new Set])}applyVariants(e,r=e[4],n=e[1]){let o=r.slice().sort((c,f)=>(c.order||0)-(f.order||0)).reduceRight((c,f)=>u=>{let p=f.body?.(u.entries)||u.entries,h=Array.isArray(f.parent)?f.parent:[f.parent,void 0],g=f.selector?.(u.selector,p);return(f.handle??Vm)({...u,entries:p,selector:g||u.selector,parent:h[0]||u.parent,parentOrder:h[1]||u.parentOrder,layer:f.layer||u.layer,sort:f.sort||u.sort},c)},c=>c)({prefix:"",selector:qm(n),pseudo:"",entries:e[2]}),{parent:s,parentOrder:a}=o;s!=null&&a!=null&&this.parentOrders.set(s,a);let l={selector:[o.prefix,o.selector,o.pseudo].join(""),entries:o.entries,parent:s,layer:o.layer,sort:o.sort,noMerge:o.noMerge};for(let c of this.config.postprocess)c(l);return l}constructCustomCSS(e,r,n){let i=Nn(r);if(H(i))return i;let{selector:o,entries:s,parent:a}=this.applyVariants([0,n||e.rawSelector,i,void 0,e.variantHandlers]),l=`${o}{${wo(s)}}`;return a?`${a}{${l}}`:l}async parseUtil(e,r,n=!1,i){let o=H(e)?await this.matchVariants(e):[e],s=async([l,c,f])=>{this.config.details&&(r.rules=r.rules??[]);let u={...r,variantHandlers:f},p=this.config.rulesStaticMap[c];if(p&&p[1]&&(n||!p[2]?.internal))return this.resolveCSSResult(l,p[1],p,u);for(let h of this.config.rulesDynamic){let[g,b,x]=h;if(x?.internal&&!n)continue;let y=c;if(x?.prefix){let k=F(x.prefix);if(i){let M=F(i);if(!k.some(E=>M.includes(E)))continue}else{let M=k.find(E=>c.startsWith(E));if(M==null)continue;y=c.slice(M.length)}}let v=y.match(g);if(!v)continue;let S=await b(v,u);if(!S)continue;if(typeof S!="string")if(Symbol.asyncIterator in S){let k=[];for await(let M of S)M&&k.push(M);S=k}else Symbol.iterator in S&&!Array.isArray(S)&&(S=Array.from(S).filter(Ar));let $=this.resolveCSSResult(l,S,h,u);if($)return $}},a=(await Promise.all(o.map(l=>s(l)))).flat().filter(l=>!!l);if(a.length)return a}resolveCSSResult=(e,r,n,i)=>{let o=$m(r).filter(s=>s.length);if(o.length){this.config.details&&i.rules.push(n),i.generator.activatedRules.add(n);let s=n[2];return o.map(a=>{if(H(a))return[s.__index,a,s];let l=i.variantHandlers,c=s;for(let f of a)f[0]===J.variants?typeof f[1]=="function"?l=f[1](l)||l:l=[...F(f[1]),...l]:f[0]===J.parent?l=[{parent:f[1]},...l]:f[0]===J.selector?l=[{selector:f[1]},...l]:f[0]===J.layer?l=[{layer:f[1]},...l]:f[0]===J.sort?c={...c,sort:f[1]}:f[0]===J.noMerge?c={...c,noMerge:f[1]}:f[0]===J.body&&(f[0]=rc);return[s.__index,e,a,c,l]})}};stringifyUtil(e,r){if(!e)return;if(Yl(e))return[e[0],void 0,e[1],void 0,e[2],this.config.details?r:void 0,void 0];let{selector:n,entries:i,parent:o,layer:s,sort:a,noMerge:l}=this.applyVariants(e),c=wo(i);if(!c)return;let{layer:f,sort:u,...p}=e[3]??{},h={...p,layer:s??f,sort:a??u};return[e[0],n,c,o,h,this.config.details?r:void 0,l]}async expandShortcut(e,r,n=5){if(n===0)return;let i=this.config.details?c=>{r.shortcuts=r.shortcuts??[],r.shortcuts.push(c)}:Sm,o,s,a,l;for(let c of this.config.shortcuts){let f=e;if(c[2]?.prefix){let p=F(c[2].prefix).find(h=>e.startsWith(h));if(p==null)continue;f=e.slice(p.length)}if(Cm(c)){if(c[0]===f){o=o||c[2],s=c[1],i(c);break}}else{let u=f.match(c[0]);if(u&&(s=c[1](u,r)),s){o=o||c[2],i(c);break}}}if(s&&(a=De(F(s).filter(H).map(c=>Tm(c.trim()).split(/\s+/g)).flat()),l=F(s).filter(c=>!H(c)).map(c=>({handles:[],value:c}))),!s){let c=H(e)?await this.matchVariants(e):[e];for(let f of c){let[u,p,h]=f;if(u!==p){let g=await this.expandShortcut(p,r,n-1);g&&(a=g[0].filter(H).map(b=>u.replace(p,b)),l=g[0].filter(b=>!H(b)).map(b=>({handles:[...b.handles,...h],value:b.value})))}}}if(!(!a?.length&&!l?.length))return[[await Promise.all(F(a).map(async c=>(await this.expandShortcut(c,r,n-1))?.[0]||[c])),l].flat(2).filter(c=>!!c),o]}async stringifyShortcuts(e,r,n,i={layer:this.config.shortcutsLayer}){let o=new Eo,s=(await Promise.all(De(n).map(async f=>{let u=H(f)?await this.parseUtil(f,r,!0,i.prefix):[[Number.POSITIVE_INFINITY,"{inline}",Nn(f.value),void 0,f.handles]];return!u&&this.config.warn&&Pm(`unmatched utility "${f}" in shortcut "${e[1]}"`),u||[]}))).flat(1).filter(Boolean).sort((f,u)=>f[0]-u[0]),[a,,l]=e,c=[];for(let f of s){if(Yl(f)){c.push([f[0],void 0,f[1],void 0,f[2],r,void 0]);continue}let u=Object.fromEntries(f[2])[J.shortcutsNoMerge],p=[...f[4],...u?[]:l],{selector:h,entries:g,parent:b,sort:x,noMerge:y,layer:v}=this.applyVariants(f,p,a);o.getFallback(v??i.layer,new $o).getFallback(h,b,[[],f[0]])[0].push([g,!!(y??f[3]?.noMerge),x??0])}return c.concat(o.flatMap((f,u)=>f.map(([p,h],g,b)=>{let x=(v,S,$)=>{let k=Math.max(...$.map(E=>E[1])),M=$.map(E=>E[0]);return(v?[M.flat(1)]:M).map(E=>{let T=wo(E);if(T)return[h,g,T,b,{...i,noMerge:S,sort:k,layer:u},r,void 0]})};return[[p.filter(([,v])=>v).map(([v,,S])=>[v,S]),!0],[p.filter(([,v])=>!v).map(([v,,S])=>[v,S]),!1]].map(([v,S])=>[...x(!1,S,v.filter(([$])=>$.some(k=>k[0]===J.shortcutsNoMerge))),...x(!0,S,v.filter(([$])=>$.every(k=>k[0]!==J.shortcutsNoMerge)))])}).flat(2).filter(Boolean)))}isBlocked(e){return!e||this.config.blocklist.map(r=>Array.isArray(r)?r[0]:r).some(r=>typeof r=="function"?r(e):H(r)?r===e:r.test(e))}getBlocked(e){let r=this.config.blocklist.find(n=>{let i=Array.isArray(n)?n[0]:n;return typeof i=="function"?i(e):H(i)?i===e:i.test(e)});return r?Array.isArray(r)?r:[r,void 0]:void 0}};async function oc(t,e){return await _o.create(t,e)}var sc=/\s\$\$\s+/g;function Rm(t){return sc.test(t)}function Fm(t,e){return Rm(t)?t.replace(sc,e?` ${e} `:" "):e?`${e} ${t}`:t}var ec=/^\[(.+?)(~?=)"(.*)"\]$/;function qm(t){return ec.test(t)?t.replace(ec,(e,r,n,i)=>`[${xo(r)}${n}"${xo(i)}"]`):`.${xo(t)}`}function Vm(t,e){return e(t)}function jm(t){let e,r,n=2166136261;for(e=0,r=t.length;e<r;e++)n^=t.charCodeAt(e),n+=(n<<1)+(n<<4)+(n<<7)+(n<<8)+(n<<24);return`00000${(n>>>0).toString(36)}`.slice(-6)}function Wm(t,e,r,n){for(let i of Array.from(t.matchAll(r)))if(i!=null){let o=i[0],s=`${n}${jm(o)}`;e.set(s,o),t=t.replace(o,s)}return t}function Bm(t,e){for(let[r,n]of e.entries())t=t.replaceAll(r,n);return t}var Um=/\/\/#\s*sourceMappingURL=.*\n?/g;function Hm(t){return t.includes("sourceMappingURL=")?t.replace(Um,""):t}var Gm=/(?:[\w&:[\]-]|\[\S{1,64}=\S{1,64}\]){1,64}\[\\?['"]?\S{1,64}?['"]\]\]?[\w:-]{0,64}/g,Zm=/\[(\\\W|[\w-]){1,64}:[^\s:]{0,64}?("\S{1,64}?"|'\S{1,64}?'|`\S{1,64}?`|[^\s:]{1,64}?)[^\s:]{0,64}?\)?\]/g,Ym=/^\[(?:\\\W|[\w-]){1,64}:['"]?\S{1,64}?['"]?\]$/;function Jm(t){let e=[];for(let i of t.matchAll(Zm))i.index!==0&&!/^[\s'"`]/.test(t[i.index-1]??"")||e.push(i[0]);for(let i of t.matchAll(Gm))e.push(i[0]);let r=new Map,n="@unocss-skip-arbitrary-brackets";return t=Wm(t,r,/-\[(?!&.+?;)[^\]]*\]/g,n),t&&t.split(Co).forEach(i=>{i.includes(n)&&(i=Bm(i,r)),tc(i)&&!Ym.test(i)&&e.push(i)}),e}function ac(){return{name:"@unocss/extractor-arbitrary-variants",order:0,extract({code:t}){return Jm(Hm(t))}}}var Km=44,Xm=59,lc="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",fc=new Uint8Array(64),Qm=new Uint8Array(128);for(let t=0;t<lc.length;t++){let e=lc.charCodeAt(t);fc[t]=e,Qm[e]=t}function Lr(t,e,r){let n=e-r;n=n<0?-n<<1|1:n<<1;do{let i=n&31;n>>>=5,n>0&&(i|=32),t.write(fc[i])}while(n>0);return e}var cc=1024*16,uc=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(t){return Buffer.from(t.buffer,t.byteOffset,t.byteLength).toString()}}:{decode(t){let e="";for(let r=0;r<t.length;r++)e+=String.fromCharCode(t[r]);return e}},e0=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(cc)}write(t){let{buffer:e}=this;e[this.pos++]=t,this.pos===cc&&(this.out+=uc.decode(e),this.pos=0)}flush(){let{buffer:t,out:e,pos:r}=this;return r>0?e+uc.decode(t.subarray(0,r)):e}};function dc(t){let e=new e0,r=0,n=0,i=0,o=0;for(let s=0;s<t.length;s++){let a=t[s];if(s>0&&e.write(Xm),a.length===0)continue;let l=0;for(let c=0;c<a.length;c++){let f=a[c];c>0&&e.write(Km),l=Lr(e,f[0],l),f.length!==1&&(r=Lr(e,f[1],r),n=Lr(e,f[2],n),i=Lr(e,f[3],i),f.length!==4&&(o=Lr(e,f[4],o)))}}return e.flush()}var zn=class t{constructor(e){this.bits=e instanceof t?e.bits.slice():[]}add(e){this.bits[e>>5]|=1<<(e&31)}has(e){return!!(this.bits[e>>5]&1<<(e&31))}},Dn=class t{constructor(e,r,n){this.start=e,this.end=r,this.original=n,this.intro="",this.outro="",this.content=n,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(e){this.outro+=e}appendRight(e){this.intro=this.intro+e}clone(){let e=new t(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e}contains(e){return this.start<e&&e<this.end}eachNext(e){let r=this;for(;r;)e(r),r=r.next}eachPrevious(e){let r=this;for(;r;)e(r),r=r.previous}edit(e,r,n){return this.content=e,n||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(e){this.outro=e+this.outro}prependRight(e){this.intro=e+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(e){let r=e-this.start,n=this.original.slice(0,r),i=this.original.slice(r);this.original=n;let o=new t(e,this.end,i);return o.outro=this.outro,this.outro="",this.end=e,this.edited?(o.edit("",!1),this.content=""):this.content=n,o.next=this.next,o.next&&(o.next.previous=o),o.previous=this,this.next=o,o}toString(){return this.intro+this.content+this.outro}trimEnd(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;let r=this.content.replace(e,"");if(r.length)return r!==this.content&&(this.split(this.start+r.length).edit("",void 0,!0),this.edited&&this.edit(r,this.storeName,!0)),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0}trimStart(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;let r=this.content.replace(e,"");if(r.length){if(r!==this.content){let n=this.split(this.end-r.length);this.edited&&n.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0}};function t0(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?t=>globalThis.btoa(unescape(encodeURIComponent(t))):typeof Buffer=="function"?t=>Buffer.from(t,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var r0=t0(),Oo=class{constructor(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=dc(e.mappings),typeof e.x_google_ignoreList<"u"&&(this.x_google_ignoreList=e.x_google_ignoreList),typeof e.debugId<"u"&&(this.debugId=e.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+r0(this.toString())}};function n0(t){let e=t.split(`
|
|
26
26
|
`),r=e.filter(o=>/^\t+/.test(o)),n=e.filter(o=>/^ {2,}/.test(o));if(r.length===0&&n.length===0)return null;if(r.length>=n.length)return" ";let i=n.reduce((o,s)=>{let a=/^ +/.exec(s)[0].length;return Math.min(a,o)},1/0);return new Array(i+1).join(" ")}function i0(t,e){let r=t.split(/[/\\]/),n=e.split(/[/\\]/);for(r.pop();r[0]===n[0];)r.shift(),n.shift();if(r.length){let i=r.length;for(;i--;)r[i]=".."}return r.concat(n).join("/")}var o0=Object.prototype.toString;function s0(t){return o0.call(t)==="[object Object]"}function hc(t){let e=t.split(`
|
|
27
27
|
`),r=[];for(let n=0,i=0;n<e.length;n++)r.push(i),i+=e[n].length+1;return function(i){let o=0,s=r.length;for(;o<s;){let c=o+s>>1;i<r[c]?s=c:o=c+1}let a=o-1,l=i-r[a];return{line:a,column:l}}}var a0=/\w/,Mo=class{constructor(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(e,r,n,i){if(r.length){let o=r.length-1,s=r.indexOf(`
|
|
@@ -429,5 +429,5 @@ input:where([type='button'], [type='reset'], [type='submit']),
|
|
|
429
429
|
`);return Wo(`
|
|
430
430
|
:root, :host {
|
|
431
431
|
${p}
|
|
432
|
-
}`,i.config.envMode==="dev")};if(s==="on-demand"){if(Ot.size===0)return;l=Array.from(Ot).map(f=>{let[u,p]=f.split(":"),h=sr(n,u,p.split("-"));if(typeof h=="string")return[`--${u}${`${u==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,h]}).filter(Boolean)}else{let f=Object.keys(n).filter(u=>!wb.includes(u));l=Array.from(Sb(n,f))}return c(l)}}}var Eb=t=>[xb(t),$b(t),vb(t)].filter(Boolean),_b={position:["relative","absolute","fixed","sticky","static"],globalKeyword:B},Cu=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:Nc,rules:_u,shortcuts:Xc,theme:Zc,layers:{properties:-200,theme:-150,base:-100},preflights:Eb(t),variants:Hc(t),prefix:t.prefix,postprocess:jc(t),extractorDefault:t.arbitraryVariants===!1?void 0:ac(),autocomplete:{shorthands:_b},options:t,configResolved(){Ot.clear(),Mt.clear()},meta:{themeDeps:Ot,propertyDeps:Mt}});var wd=un(Mu(),1),Ai=un(Js(),1),yk=oc({presets:[Cu(),Ro()],preflights:[{getCSS:()=>":host, :root { --un-text-opacity: 100%; }"}],theme:{}}),Ks=10,vk=wd.default,sn=class extends Ai.default.Visitor{data=[];match=()=>!0;constructor(e){super(),e&&this.setMatchHandler(e)}onCollect(e){this.match(e)&&this.data.push(e)}setMatchHandler(e){return this.match=e,this}setAst(e){return this.accept(e),this}collect(e){return this.data=[],this.setAst(e),this.data}},Xs=class extends sn{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Qs=class extends sn{ContentStatement(e){return this.onCollect(e.value),super.ContentStatement(e)}},ea=class extends sn{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},ta=class extends Xs{match=Pi.macro},ra=class extends Qs{match=Pi.htmlH1Somewhere};function ia(t){return!isNaN(Number(t))}function kk(t){return typeof t=="object"&&t!==null}function oa(t,e){return t.hasOwnProperty(e)}function Li(t,...e){return e.includes(t)}function ee(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function fe(t={}){return{helpers:t?.helpers??null}}function xk(t){return[...new Set(t)]}function Sd(t){return Ai.default.parse(t)}function sa(t){return Ai.default.compile(t)}function aa(t,e={},r={}){return t(e,{helpers:r})}async function $d(t,e={},r={}){let n=r?.helpers??{},i=!!(r?.doGenerateGlobalStyles??!0),o=await yk,s=aa(t,e,n),{css:a}=await o.generate(s,{preflights:i});return a}function wk(t){let e=new ea().collect(t);return xk(e)}function na(t,e=Ks){if(e<=0)throw new yt("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[na(n
|
|
433
|
-
`," "),r(/\s{2,}/mg," "),r(/[^\p{L}\d\s]/mgu),e.trim()}function xd(t,e){return!!String(e).trim().match(t)}var qe=class{static dbDateStr=/^\d+-\d+-\d+$/;static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/;static htmlH1Somewhere=/\<h1.*?\>(?<value>.*)\<\/h1.*?\>/gs},Pi=class{static macro(e){return xd(qe.macro,e)}static htmlH1Somewhere(e){return xd(qe.htmlH1Somewhere,e)}};var pa={};wh(pa,{cond:()=>Pd,date:()=>Nd,match:()=>Dd,math:()=>Vd,media:()=>Wd,number:()=>ph,put:()=>Ld});function Ze(t){let e=t?.args??[],r=t?.namedArgs??{},[n,i,o,...s]=e,{soft:a}=r;if(n==="not")return!i;if(a)switch(i){case"equal":return n==o;case"notEqual":return n!=o;default:throw new Ae("Condition: Unknown operation: "+ee(i))}let l=(...f)=>f.reduce((u,p)=>u&&p),c=(...f)=>f.reduce((u,p)=>u||p);switch(i){case"equal":return n===o;case"notEqual":return n!==o;case"and":return l(n,o,...s);case"or":return c(n,o,...s);case"greater":return Number(n)>Number(o);case"less":return Number(n)<Number(o);default:throw new Ae("Condition: Unknown operation: "+ee(i))}}function _k(t){let e=t?.args??[],[r]=e;return Ze({...t,args:["not",r]})}function Ck(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"equal",n]})}function Ok(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"notEqual",n]})}function Mk(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"and",...n]})}function Tk(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"or",...n]})}function Pk(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"greater",n]})}function Ak(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"less",n]})}var Pd=fe({helpers:{op:Ze,not:_k,equal:Ck,notEqual:Ok,and:Mk,or:Tk,greater:Pk,less:Ak,noColor:Ze,__default:Ze}});var la=un(Js(),1);var Lk="text-blue-500";function Ad(t){let e=t?.args??[],[r,n]=e;return r??n??""}function Ft(t){let r=(t?.namedArgs??{})?.color??Lk;return r?new la.SafeString(`<span class="${r}">${Ad(t)}</span>`):new la.SafeString(t)}var Ld=fe({helpers:{noColor:Ad,__default:Ft}});function an(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,o]=r,{padding:s,genitive:a,timeZone:l,lang:c}=n;if(!i)return null;let f=R.local();i!=="now"&&(f=R.fromJSDate(Md(i))),(l||e?.timeZone)&&(f=f.setZone(l??e?.timeZone)),(c||e?.lang)&&(f=f.setLocale(c??e?.lang));let u=(p,h=2)=>String(p||"").padStart(Number(h),"0");if(!Li(s,null,void 0))switch(o){case"seconds":return u(f.second,s);case"minutes":return u(f.minute,s);case"hours":return u(f.hour,s);case"day":return u(f.day,s);case"month":return u(f.month,s);case"year":return u(f.year,4);default:throw new Ae(`Date: Operation ${ee(o)} is not compatible with argument 'padding'`)}if(a)switch(o){case"monthText":return f.toLocaleString({day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();default:throw new Ae(`Date: Operation ${ee(o)} is not compatible with argument 'genitive'`)}switch(o){case"seconds":return f.second;case"minutes":return f.minute;case"hours":return f.hour;case"day":return f.day;case"month":return f.month;case"monthText":return f.toLocaleString({month:"long"}).toLowerCase();case"year":return f.year;case"text":return f.toLocaleString();case"unix":return f.toMillis();case"iso":return f.toISOTime();default:return f}}function Ye(t){let r=(t?.namedArgs??{})?.fallback??"",n=an(t)??r;return Ft({...t,args:[n]})}function Nk(t){return an({...t,args:["now"]})}function zk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"seconds"],namedArgs:{...i,padding:o,fallback:n}})}function Dk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"minutes"],namedArgs:{...i,padding:o,fallback:n}})}function Ik(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"hours"],namedArgs:{...i,padding:o,fallback:n}})}function Rk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"day"],namedArgs:{...i,padding:o,fallback:n}})}function Fk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"month"],namedArgs:{...i,padding:o,fallback:n}})}function qk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=!i?.nominative;return Ye({...t,args:[r,"monthText"],namedArgs:{...i,genitive:o,fallback:n}})}function Vk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"year"],namedArgs:{...i,padding:o,fallback:n}})}function jk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{};return Ye({...t,args:[r,"text"],namedArgs:{...i,fallback:n}})}function Wk(t){let e=t?.args??[],[r]=e;return an({...t,args:[r,"unix"]})}function Bk(t){let e=t?.args??[],[r]=e;return an({...t,args:[r,"iso"]})}var Nd=fe({helpers:{op:Ye,now:Nk,seconds:zk,minutes:Dk,hours:Ik,day:Rk,month:Fk,monthText:qk,year:Vk,text:jk,unix:Wk,iso:Bk,noColor:an,__default:Ye}});function Uk(t){let e=t?.args??[],[r]=e,n=t?.self??null,i=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isCompleted=!1,i()}function zd(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,i=t?.getContent??null;if(!r.__flext_match_isCompleted){for(let o of e)if(n===o)return r.__flext_match_isCompleted=!0,i()}return""}function Hk(t){let r=(t?.self??null).__flext_match_value??null;return zd({...t,args:[r]})}var Dd=fe({helpers:{case:zd,fallback:Hk,__default:Uk}});function qd(t){let e=t?.args??[],[r,n,i]=e,o=(...s)=>{let[a,...l]=s,c=Math[a]??null;if(c)return c(...l);throw new Ae("Math: Unknown operation: "+ee(a))};switch(n){case"plus":return Number(r)+Number(i);case"minus":return Number(r)-Number(i);case"multiply":return Number(r)*Number(i);case"divide":return Number(r)/Number(i);case"intDivide":return Number(r)%Number(i);case"power":return Number(r)**Number(i);default:return o(...e)}}function Te(t){let e=qd(t);return Ft({...t,args:[e]})}function Gk(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"plus",n]})}function Zk(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"minus",n]})}function Id(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"multiply",n]})}function Rd(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"divide",n]})}function Yk(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"intDivide",n]})}function Fd(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"power",n]})}function Jk(t){let e=t?.args??[],[r,n]=e,i=(o,s)=>Te({...t,args:[o,s]});if(!n)return i("round",r);switch(n){case"floor":return i("floor",r);case"ceil":return i("ceil",r);case"trunc":return i("trunc",r);default:throw new Ae("Math: Unknown operation: "+ee(n))}}function Kk(t){let e=t?.args??[],[r]=e;return Te({...t,args:["sqrt",r]})}function Xk(t){let e=t?.args??[],[r]=e;return Te({...t,args:["cbrt",r]})}function Qk(t){let e=t?.args??[],[r]=e;return Te({...t,args:["abs",r]})}var Vd=fe({helpers:{op:Te,plus:Gk,minus:Zk,mul:Id,multiply:Id,div:Rd,divide:Rd,intDivide:Yk,pow:Fd,power:Fd,round:Jk,sqrt:Kk,cbrt:Xk,abs:Qk,noColor:qd,__default:Te}});function jd(t){let e=t?.flext??{},r=t?.args??[],[n]=r,o=(e?.assets??{})[n]??null;if(o)return URL.createObjectURL(o);throw new wr(`Media: Unable to get the asset: Asset '${n}' does not exist`)}var Wd=fe({helpers:{url:jd,__default:jd}});var hh=un(dh(),1);var fa={"ar-EG":"ar","az-AZ":"az","en-IN":"enIndian","en-GB":"uk","en-US":"en",eo:"eo","es-ES":"es","fr-FR":"fr","id-ID":"id","pt-BR":"pt","pt-PT":"ptPT","ru-RU":"ru","tr-TR":"tr","vi-VN":"vi"};var k3="en";function ha(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,o]=r,{lang:s,strict:a}=n,l=fa[s]??fa[e?.lang]??k3;switch(o){case"text":return(0,hh.default)(Number(i),{lang:l});case"check":return a?typeof i=="number":ia(i);default:return Number(i)}}function da(t){let r=(t?.namedArgs??{})?.fallback??"",n=ha(t)||r;return Ft({...t,args:[n]})}function x3(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{};return da({...t,args:[r,"text"],namedArgs:{...i,fallback:n}})}function w3(t){let e=t?.args??[],[r]=e;return ha({...t,args:[r,"check"]})}var ph=fe({helpers:{op:da,text:x3,check:w3,noColor:ha,__default:da}});var S3="__default",ba="string",Ni=10,ma=class{constructor(e=null,r={},n={}){e&&this.setTemplate(e),this.setData({...this.data,...r}),this.setHelpers({...this.helpers,...n})}setTemplate(e){return this.data={},this.helpers={},this.ast=Sd(e),this}setData(e){return this.data=e,this}setHelpers(e){return this.helpers=e,this}addHelper(e,r){return this.helpers[e]=r,this}getHtml(e={},r={}){let n=sa(this.ast);if(!n)throw new ke("Flext: Unable to get HTML: No template");return aa(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=sa(this.ast),i=r?.helpers??{},o={...this.helpers,...i};if(!n)throw new ke("Flext: Unable to get CSS: No template");return await $d(n,{...this.data,...e},{...r,helpers:o})}get html(){return this.getHtml()}},ga=class extends ma{useModule(...e){for(let r of e)this.addModule(r,pa[r]);return this}setTemplate(e){super.setTemplate(e);let[r]=Cd(this.ast),n=_d(this.ast),i=$=>n?.filter(k=>k?.name===$)??null,o=$=>{let[k]=i($),[M]=k?.params??[];return M?.value??null},s=$=>({...$,type:"object"}),a=o("v"),l=o("lang"),c=o("title"),f=o("timeZone"),u=i("use"),p=o("lineHeight"),h=i("group"),g=i("field"),b=i("option"),x=h?.map(mh)?.map(s)??[],y=g?.map(mh)??[],v=b?.map(E3)??null;_3(v,y),a&&this.setVersion(a),l&&this.setLang(l),(c||r)&&this.setTitle(c??Td(r)),f&&this.setTimeZone(f),p&&this.setLineHeight(Number(p)),(x?.length||y?.length)&&this.setFields([...x,...y]);let S=u.map($3).flat();return this.useModule(...S),this}setVersion(e){return this.version=e,this}setLang(e){return this.lang=e,this}setTitle(e){return this.title=e,this}setTimeZone(e){return this.timeZone=e,this}setLineHeight(e){return this.lineHeight=e,this}setAssets(e){return this.assets=e,this}addAsset(e,r){return this.assets[e]=r,this}setFields(e){return this.fields=e,this}addModule(e,r){let n=r?.helpers??{};for(let i in n){if(!oa(n,i))continue;let o=n[i],s=i===S3,a=this,l=function(...c){let f=c?.slice(0,-1)??[],u=c[c.length-1]??{},p=u?.hash??{},h=this;return o({flext:a,args:f,options:u,namedArgs:p,self:h,getContent:()=>u?.fn(h)??null})};s?this.addHelper(e,l):this.addHelper(e+":"+i,l)}return this}getDataModel(e=Ni){let r=(s,a={},l=Ni)=>{if(l<=0)throw new yt("Flext: Unable to get data model: The data model is too deep");let c=a?.fieldName??null,f=this.fields?.find(v=>v?.name===c)??null,u=s?.name??null,p=f?.label??null,h=f?.type??ba,g=f?.options??null,b=!!f?.isRequired,x=s?.$??[],y=[];for(let v of x){let S=v?.name??null;y.push(r(v,{fieldName:c+"."+S},l-1))}return{name:u,label:p,type:h,options:g,isRequired:b,$:y}},n=s=>{for(let a in this.helpers)if(oa(this.helpers,a)&&s?.name===a)return!0;return!1};return(Ed(this.ast)?.$??[]).filter(s=>!n(s)).map(s=>r(s,{fieldName:s?.name??null},e))}getIsValid(e={},r=Ni){let n=(i,o,s=Ni)=>{if(s<=0)throw new yt("Flext: Unable to verify the data: The data model is too deep");for(let a of o){let l=i[a.name]??null;if(Li(l,"",null,void 0)&&a?.isRequired||!n(l??{},a.$,s-1))return!1}return!0};return n({...this.data,...e},this.model,r)}get model(){return this.getDataModel()}get isValid(){return this.getIsValid()}};function gh(t){if(typeof t!="string")try{return JSON.parse(t)}catch{return t??null}else return t??null}function $3(t){return(t?.params??[]).map(r=>r?.value??null)}function mh(t){let e=t?.params??[],[r,...n]=e,i=p=>{let h=n?.find(g=>g?.name===p)??null;return h&&h?.value?h?.value??null:h&&h?.name?!0:null},o=i("type")??ba,s=r?.value??null,a=i("label")??null,l=i("descr")??null,c=i("hint")??null,f=gh(i("value")),u=!!i("required");if(!s)throw new ke("Unable to get field: The 'name' param is not set: "+ee(s));return{type:o,name:s,label:a,descr:l,hint:c,value:f,isRequired:u}}function E3(t){let e=t?.params??[],[r,...n]=e,i=p=>{let h=n?.find(g=>g?.name===p)??null;return h&&h?.value?h?.value??null:h&&h?.name?!0:null},o=Od(i("type")??ba),s=r?.value??null,a=i("for")??null,l=i("label")??null,c=i("descr")??null,f=gh(i("value")),u=!!i("disabled");if(!s)throw new ke("Unable to get field option: The 'name' param is not set: "+ee(s));if(!a)throw new ke(`Unable to get field option '${s}': The 'for' param is not set: `+ee(s));return{type:o,name:s,fieldName:a,label:l,descr:c,value:f,isDisabled:u}}function _3(t,e){let r=n=>t?.filter(i=>i?.fieldName===n)??[];for(let n of e)r(n.name)?.length&&(n.options=r(n.name))}var Qx=ga;export{ba as DEFAULT_FIELD_TYPE,S3 as DEFAULT_HELPER_NAME,Ni as DEFAULT_MODEL_DEPTH,ga as Flext,ma as SimpleFlext,_3 as applyValueOptionsToFields,Qx as default,gh as ensureFieldValue,mh as macroToField,E3 as macroToFieldValueOption,$3 as macroToModuleNames};
|
|
432
|
+
}`,i.config.envMode==="dev")};if(s==="on-demand"){if(Ot.size===0)return;l=Array.from(Ot).map(f=>{let[u,p]=f.split(":"),h=sr(n,u,p.split("-"));if(typeof h=="string")return[`--${u}${`${u==="spacing"&&p==="DEFAULT"?"":`-${p}`}`}`,h]}).filter(Boolean)}else{let f=Object.keys(n).filter(u=>!wb.includes(u));l=Array.from(Sb(n,f))}return c(l)}}}var Eb=t=>[xb(t),$b(t),vb(t)].filter(Boolean),_b={position:["relative","absolute","fixed","sticky","static"],globalKeyword:B},Cu=(t={})=>(t.dark=t.dark??"class",t.attributifyPseudo=t.attributifyPseudo??!1,t.variablePrefix=t.variablePrefix??"un-",t.important=t.important??!1,{name:Nc,rules:_u,shortcuts:Xc,theme:Zc,layers:{properties:-200,theme:-150,base:-100},preflights:Eb(t),variants:Hc(t),prefix:t.prefix,postprocess:jc(t),extractorDefault:t.arbitraryVariants===!1?void 0:ac(),autocomplete:{shorthands:_b},options:t,configResolved(){Ot.clear(),Mt.clear()},meta:{themeDeps:Ot,propertyDeps:Mt}});var wd=un(Mu(),1),Ai=un(Js(),1),yk=oc({presets:[Cu(),Ro()],preflights:[{getCSS:()=>":host, :root { --un-text-opacity: 100%; }"}],theme:{}}),Ks=10,vk=wd.default,sn=class extends Ai.default.Visitor{data=[];match=()=>!0;constructor(e){super(),e&&this.setMatchHandler(e)}onCollect(e){this.match(e)&&this.data.push(e)}setMatchHandler(e){return this.match=e,this}setAst(e){return this.accept(e),this}collect(e){return this.data=[],this.setAst(e),this.data}},Xs=class extends sn{CommentStatement(e){return this.onCollect(e.value),super.CommentStatement(e)}},Qs=class extends sn{ContentStatement(e){return this.onCollect(e.value),super.ContentStatement(e)}},ea=class extends sn{PathExpression(e){return this.onCollect(e.original),super.PathExpression(e)}},ta=class extends Xs{match=Pi.macro},ra=class extends Qs{match=Pi.htmlH1Somewhere};function ia(t){return!isNaN(Number(t))}function kk(t){return typeof t=="object"&&t!==null}function oa(t,e){return t.hasOwnProperty(e)}function Li(t,...e){return e.includes(t)}function ee(t){switch(typeof t){case"string":return`'${t}'`;case"object":return JSON.stringify(t);default:return String(t)}}function fe(t={}){return{helpers:t?.helpers??null}}function xk(t){return[...new Set(t)]}function Sd(t){return Ai.default.parse(t)}function sa(t){return Ai.default.compile(t)}function aa(t,e={},r={}){return t(e,{helpers:r})}async function $d(t,e={},r={}){let n=r?.helpers??{},i=!!(r?.doGenerateGlobalStyles??!0),o=await yk,s=aa(t,e,n),{css:a}=await o.generate(s,{preflights:i});return a}function wk(t){let e=new ea().collect(t);return xk(e)}function na(t,e=Ks){if(e<=0)throw new yt("Flext: Unable to get the model: The model is too deep");let[r,...n]=t?.split(".")??[],i={name:r};return n?.length>0&&(i.$=[na(n.map(_k).join("."),e-1)]),i}function Sk(t,e=Ks){let n={name:"root",$:[na(t,e)]};return n.addPath=(i,o=Ks)=>{let s=na(i,o),a=n,l=s;for(let c=0;c<99;c++){if(!l)return;let f=a?.$??[],u=null;for(let h of f)l?.name===h?.name&&(u=h);if(!u){a.$=[...f,l];return}let[p]=l.$??[];a=u,l=p??null}},n}function Ed(t){let[e,...r]=wk(t),n=Sk(e);for(let i of r)n.addPath(i);return n}function $k(t){let e=s=>t?.match(s)??null,r=s=>{let a=s?.groups?.value??null;return{name:s?.groups?.name??a,value:a}},n=e(qe.macroParam),i=e(qe.macroNamedParam),o=e(qe.macroSimpleParam);return n?r(n):i?r(i):o?r(o):null}function Ek(t,e=!0){let r=t?.match(qe.macroParams)??[],n=[];for(let i of r){let o=$k(i);if(o)n.push(o);else if(e)throw new st("Flext: Unable to parse the macros: Bad token: "+ee(i))}return n}function _d(t,e=!0){let r=new ta().collect(t),n=[];for(let i of r){let o=i?.trim()?.match(qe.macro)??null;if(!o){if(e)throw new st("Flext: Unable to parse the macros: Bad macro: "+ee(i));return null}let s=o?.groups?.name??null,a=o?.groups?.params??null,l=Ek(a,e);n.push({name:s,params:l})}return n}function Cd(t,e=!0){let r=new ra().collect(t),n=[];for(let i of r){let o=i?.trim()?.match(qe.htmlH1Somewhere)??null;if(!o){if(e)throw new st("Flext: Unable to parse H1: Bad HTML: "+ee(i));return null}for(let s of o)n.push(String(s))}return n}function Od(t){return String(t??"")}function Md(t){let e=kk(t)&&t instanceof Date,r=typeof t=="string"&&qe.dbDateStr.test(t),n=s=>{let a=new Date(s);if(isNaN(a.getTime()))throw new st("Flext: Unable to get date: The date is invalid: "+ee(s));return a},i=s=>{let[a,l,c]=s?.split("-")?.map(Number)??[];if(a&&l&&c)return R.fromObject({year:a,month:l,day:c}).toJSDate();throw new ke("Unable to get date: The date is invalid: "+ee(s))},o=s=>{let a=R.fromISO(s);if(a.isValid)return a.toJSDate();throw new st("Flext: Unable to get date: The date is invalid: "+ee(s))};return e?t:ia(t)?n(t):r?i(t):o(t)}function Td(t){let e=vk(String(t)).trim(),r=(n,i="")=>e=e.replace(n,i);return r(`
|
|
433
|
+
`," "),r(/\s{2,}/mg," "),r(/[^\p{L}\d\s]/mgu),e.trim()}function _k(t){let e=t,r=(n,i="")=>e=e.replace(n,i);return r("["),r("]"),e.trim()}function xd(t,e){return!!String(e).trim().match(t)}var qe=class{static dbDateStr=/^\d+-\d+-\d+$/;static macro=/^@(?<name>.+?) (?<params>.+)$/;static macroParams=/(?<param>".+?")|(?<namedParam>[a-zA-Z0-9]+=".+?")|(?<simplaeParam>[a-zA-Z0-9]+)/gm;static macroParam=/^"(?<value>.+)"$/;static macroNamedParam=/^(?<name>.+)="(?<value>.+)"$/;static macroSimpleParam=/^(?<name>[a-zA-Z]+)$/;static htmlH1Somewhere=/\<h1.*?\>(?<value>.*)\<\/h1.*?\>/gs},Pi=class{static macro(e){return xd(qe.macro,e)}static htmlH1Somewhere(e){return xd(qe.htmlH1Somewhere,e)}};var pa={};wh(pa,{cond:()=>Pd,date:()=>Nd,match:()=>Dd,math:()=>Vd,media:()=>Wd,number:()=>ph,put:()=>Ld});function Ze(t){let e=t?.args??[],r=t?.namedArgs??{},[n,i,o,...s]=e,{soft:a}=r;if(n==="not")return!i;if(a)switch(i){case"equal":return n==o;case"notEqual":return n!=o;default:throw new Ae("Condition: Unknown operation: "+ee(i))}let l=(...f)=>f.reduce((u,p)=>u&&p),c=(...f)=>f.reduce((u,p)=>u||p);switch(i){case"equal":return n===o;case"notEqual":return n!==o;case"and":return l(n,o,...s);case"or":return c(n,o,...s);case"greater":return Number(n)>Number(o);case"less":return Number(n)<Number(o);default:throw new Ae("Condition: Unknown operation: "+ee(i))}}function Ck(t){let e=t?.args??[],[r]=e;return Ze({...t,args:["not",r]})}function Ok(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"equal",n]})}function Mk(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"notEqual",n]})}function Tk(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"and",...n]})}function Pk(t){let e=t?.args??[],[r,...n]=e;return Ze({...t,args:[r,"or",...n]})}function Ak(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"greater",n]})}function Lk(t){let e=t?.args??[],[r,n]=e;return Ze({...t,args:[r,"less",n]})}var Pd=fe({helpers:{op:Ze,not:Ck,equal:Ok,notEqual:Mk,and:Tk,or:Pk,greater:Ak,less:Lk,noColor:Ze,__default:Ze}});var la=un(Js(),1);var Nk="text-blue-500";function Ad(t){let e=t?.args??[],[r,n]=e;return r??n??""}function Ft(t){let r=(t?.namedArgs??{})?.color??Nk;return r?new la.SafeString(`<span class="${r}">${Ad(t)}</span>`):new la.SafeString(t)}var Ld=fe({helpers:{noColor:Ad,__default:Ft}});function an(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,o]=r,{padding:s,genitive:a,timeZone:l,lang:c}=n;if(!i)return null;let f=R.local();i!=="now"&&(f=R.fromJSDate(Md(i))),(l||e?.timeZone)&&(f=f.setZone(l??e?.timeZone)),(c||e?.lang)&&(f=f.setLocale(c??e?.lang));let u=(p,h=2)=>String(p||"").padStart(Number(h),"0");if(!Li(s,null,void 0))switch(o){case"seconds":return u(f.second,s);case"minutes":return u(f.minute,s);case"hours":return u(f.hour,s);case"day":return u(f.day,s);case"month":return u(f.month,s);case"year":return u(f.year,4);default:throw new Ae(`Date: Operation ${ee(o)} is not compatible with argument 'padding'`)}if(a)switch(o){case"monthText":return f.toLocaleString({day:"numeric",month:"long"}).replace(/[^\p{L}]/gu,"").toLowerCase();default:throw new Ae(`Date: Operation ${ee(o)} is not compatible with argument 'genitive'`)}switch(o){case"seconds":return f.second;case"minutes":return f.minute;case"hours":return f.hour;case"day":return f.day;case"month":return f.month;case"monthText":return f.toLocaleString({month:"long"}).toLowerCase();case"year":return f.year;case"text":return f.toLocaleString();case"unix":return f.toMillis();case"iso":return f.toISOTime();default:return f}}function Ye(t){let r=(t?.namedArgs??{})?.fallback??"",n=an(t)??r;return Ft({...t,args:[n]})}function zk(t){return an({...t,args:["now"]})}function Dk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"seconds"],namedArgs:{...i,padding:o,fallback:n}})}function Ik(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"minutes"],namedArgs:{...i,padding:o,fallback:n}})}function Rk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"hours"],namedArgs:{...i,padding:o,fallback:n}})}function Fk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"day"],namedArgs:{...i,padding:o,fallback:n}})}function qk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"month"],namedArgs:{...i,padding:o,fallback:n}})}function Vk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=!i?.nominative;return Ye({...t,args:[r,"monthText"],namedArgs:{...i,genitive:o,fallback:n}})}function jk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{},o=i?.padding??2;return Ye({...t,args:[r,"year"],namedArgs:{...i,padding:o,fallback:n}})}function Wk(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{};return Ye({...t,args:[r,"text"],namedArgs:{...i,fallback:n}})}function Bk(t){let e=t?.args??[],[r]=e;return an({...t,args:[r,"unix"]})}function Uk(t){let e=t?.args??[],[r]=e;return an({...t,args:[r,"iso"]})}var Nd=fe({helpers:{op:Ye,now:zk,seconds:Dk,minutes:Ik,hours:Rk,day:Fk,month:qk,monthText:Vk,year:jk,text:Wk,unix:Bk,iso:Uk,noColor:an,__default:Ye}});function Hk(t){let e=t?.args??[],[r]=e,n=t?.self??null,i=t?.getContent??null;return n.__flext_match_value=r,n.__flext_match_isCompleted=!1,i()}function zd(t){let e=t?.args??[],r=t?.self??null,n=r.__flext_match_value??null,i=t?.getContent??null;if(!r.__flext_match_isCompleted){for(let o of e)if(n===o)return r.__flext_match_isCompleted=!0,i()}return""}function Gk(t){let r=(t?.self??null).__flext_match_value??null;return zd({...t,args:[r]})}var Dd=fe({helpers:{case:zd,fallback:Gk,__default:Hk}});function qd(t){let e=t?.args??[],[r,n,i]=e,o=(...s)=>{let[a,...l]=s,c=Math[a]??null;if(c)return c(...l);throw new Ae("Math: Unknown operation: "+ee(a))};switch(n){case"plus":return Number(r)+Number(i);case"minus":return Number(r)-Number(i);case"multiply":return Number(r)*Number(i);case"divide":return Number(r)/Number(i);case"intDivide":return Number(r)%Number(i);case"power":return Number(r)**Number(i);default:return o(...e)}}function Te(t){let e=qd(t);return Ft({...t,args:[e]})}function Zk(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"plus",n]})}function Yk(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"minus",n]})}function Id(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"multiply",n]})}function Rd(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"divide",n]})}function Jk(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"intDivide",n]})}function Fd(t){let e=t?.args??[],[r,n]=e;return Te({...t,args:[r,"power",n]})}function Kk(t){let e=t?.args??[],[r,n]=e,i=(o,s)=>Te({...t,args:[o,s]});if(!n)return i("round",r);switch(n){case"floor":return i("floor",r);case"ceil":return i("ceil",r);case"trunc":return i("trunc",r);default:throw new Ae("Math: Unknown operation: "+ee(n))}}function Xk(t){let e=t?.args??[],[r]=e;return Te({...t,args:["sqrt",r]})}function Qk(t){let e=t?.args??[],[r]=e;return Te({...t,args:["cbrt",r]})}function e3(t){let e=t?.args??[],[r]=e;return Te({...t,args:["abs",r]})}var Vd=fe({helpers:{op:Te,plus:Zk,minus:Yk,mul:Id,multiply:Id,div:Rd,divide:Rd,intDivide:Jk,pow:Fd,power:Fd,round:Kk,sqrt:Xk,cbrt:Qk,abs:e3,noColor:qd,__default:Te}});function jd(t){let e=t?.flext??{},r=t?.args??[],[n]=r,o=(e?.assets??{})[n]??null;if(o)return URL.createObjectURL(o);throw new wr(`Media: Unable to get the asset: Asset '${n}' does not exist`)}var Wd=fe({helpers:{url:jd,__default:jd}});var hh=un(dh(),1);var fa={"ar-EG":"ar","az-AZ":"az","en-IN":"enIndian","en-GB":"uk","en-US":"en",eo:"eo","es-ES":"es","fr-FR":"fr","id-ID":"id","pt-BR":"pt","pt-PT":"ptPT","ru-RU":"ru","tr-TR":"tr","vi-VN":"vi"};var x3="en";function ha(t){let e=t?.flext??{},r=t?.args??[],n=t?.namedArgs??{},[i,o]=r,{lang:s,strict:a}=n,l=fa[s]??fa[e?.lang]??x3;switch(o){case"text":return(0,hh.default)(Number(i),{lang:l});case"check":return a?typeof i=="number":ia(i);default:return Number(i)}}function da(t){let r=(t?.namedArgs??{})?.fallback??"",n=ha(t)||r;return Ft({...t,args:[n]})}function w3(t){let e=t?.args??[],[r,n]=e,i=t?.namedArgs??{};return da({...t,args:[r,"text"],namedArgs:{...i,fallback:n}})}function S3(t){let e=t?.args??[],[r]=e;return ha({...t,args:[r,"check"]})}var ph=fe({helpers:{op:da,text:w3,check:S3,noColor:ha,__default:da}});var $3="__default",ba="string",Ni=10,ma=class{constructor(e=null,r={},n={}){e&&this.setTemplate(e),this.setData({...this.data,...r}),this.setHelpers({...this.helpers,...n})}setTemplate(e){return this.data={},this.helpers={},this.ast=Sd(e),this}setData(e){return this.data=e,this}setHelpers(e){return this.helpers=e,this}addHelper(e,r){return this.helpers[e]=r,this}getHtml(e={},r={}){let n=sa(this.ast);if(!n)throw new ke("Flext: Unable to get HTML: No template");return aa(n,{...this.data,...e},{...this.helpers,...r})}async getCss(e={},r={}){let n=sa(this.ast),i=r?.helpers??{},o={...this.helpers,...i};if(!n)throw new ke("Flext: Unable to get CSS: No template");return await $d(n,{...this.data,...e},{...r,helpers:o})}get html(){return this.getHtml()}},ga=class extends ma{useModule(...e){for(let r of e)this.addModule(r,pa[r]);return this}setTemplate(e){super.setTemplate(e);let[r]=Cd(this.ast),n=_d(this.ast),i=$=>n?.filter(k=>k?.name===$)??null,o=$=>{let[k]=i($),[M]=k?.params??[];return M?.value??null},s=$=>({...$,type:"object"}),a=o("v"),l=o("lang"),c=o("title"),f=o("timeZone"),u=i("use"),p=o("lineHeight"),h=i("group"),g=i("field"),b=i("option"),x=h?.map(mh)?.map(s)??[],y=g?.map(mh)??[],v=b?.map(_3)??null;C3(v,y),a&&this.setVersion(a),l&&this.setLang(l),(c||r)&&this.setTitle(c??Td(r)),f&&this.setTimeZone(f),p&&this.setLineHeight(Number(p)),(x?.length||y?.length)&&this.setFields([...x,...y]);let S=u.map(E3).flat();return this.useModule(...S),this}setVersion(e){return this.version=e,this}setLang(e){return this.lang=e,this}setTitle(e){return this.title=e,this}setTimeZone(e){return this.timeZone=e,this}setLineHeight(e){return this.lineHeight=e,this}setAssets(e){return this.assets=e,this}addAsset(e,r){return this.assets[e]=r,this}setFields(e){return this.fields=e,this}addModule(e,r){let n=r?.helpers??{};for(let i in n){if(!oa(n,i))continue;let o=n[i],s=i===$3,a=this,l=function(...c){let f=c?.slice(0,-1)??[],u=c[c.length-1]??{},p=u?.hash??{},h=this;return o({flext:a,args:f,options:u,namedArgs:p,self:h,getContent:()=>u?.fn(h)??null})};s?this.addHelper(e,l):this.addHelper(e+":"+i,l)}return this}getDataModel(e=Ni){let r=(s,a={},l=Ni)=>{if(l<=0)throw new yt("Flext: Unable to get data model: The data model is too deep");let c=a?.fieldName??null,f=this.fields?.find(S=>S?.name===c)??null,u=f?.type??ba,p=s?.name??null,h=f?.label??null,g=f?.hint??null,b=f?.options??null,x=!!f?.isRequired,y=s?.$??[],v=[];for(let S of y){let $=S?.name??null;v.push(r(S,{fieldName:c+"."+$},l-1))}return{type:u,name:p,label:h,hint:g,options:b,isRequired:x,$:v}},n=s=>{for(let a in this.helpers)if(oa(this.helpers,a)&&s?.name===a)return!0;return!1};return(Ed(this.ast)?.$??[]).filter(s=>!n(s)).map(s=>r(s,{fieldName:s?.name??null},e))}getIsValid(e={},r=Ni){let n=(i,o,s=Ni)=>{if(s<=0)throw new yt("Flext: Unable to verify the data: The data model is too deep");for(let a of o){let l=i[a.name]??null;if(Li(l,"",null,void 0)&&a?.isRequired||!n(l??{},a.$,s-1))return!1}return!0};return n({...this.data,...e},this.model,r)}get model(){return this.getDataModel()}get isValid(){return this.getIsValid()}};function gh(t){if(typeof t!="string")try{return JSON.parse(t)}catch{return t??null}else return t??null}function E3(t){return(t?.params??[]).map(r=>r?.value??null)}function mh(t){let e=t?.params??[],[r,...n]=e,i=p=>{let h=n?.find(g=>g?.name===p)??null;return h&&h?.value?h?.value??null:h&&h?.name?!0:null},o=i("type")??ba,s=r?.value??null,a=i("label")??null,l=i("descr")??null,c=i("hint")??null,f=gh(i("value")),u=!!i("required");if(!s)throw new ke("Unable to get field: The 'name' param is not set: "+ee(s));return{type:o,name:s,label:a,descr:l,hint:c,value:f,isRequired:u}}function _3(t){let e=t?.params??[],[r,...n]=e,i=p=>{let h=n?.find(g=>g?.name===p)??null;return h&&h?.value?h?.value??null:h&&h?.name?!0:null},o=Od(i("type")??ba),s=r?.value??null,a=i("for")??null,l=i("label")??null,c=i("descr")??null,f=gh(i("value")),u=!!i("disabled");if(!s)throw new ke("Unable to get field option: The 'name' param is not set: "+ee(s));if(!a)throw new ke(`Unable to get field option '${s}': The 'for' param is not set: `+ee(s));return{type:o,name:s,fieldName:a,label:l,descr:c,value:f,isDisabled:u}}function C3(t,e){let r=n=>t?.filter(i=>i?.fieldName===n)??[];for(let n of e)r(n.name)?.length&&(n.options=r(n.name))}var ew=ga;export{ba as DEFAULT_FIELD_TYPE,$3 as DEFAULT_HELPER_NAME,Ni as DEFAULT_MODEL_DEPTH,ga as Flext,ma as SimpleFlext,C3 as applyValueOptionsToFields,ew as default,gh as ensureFieldValue,mh as macroToField,_3 as macroToFieldValueOption,E3 as macroToModuleNames};
|