UNPKG

shadcn-svelte

Version:
397 lines 1.14 MB
#!/usr/bin/env node
var Vj=Object.create;var Db=Object.defineProperty;var Hj=Object.getOwnPropertyDescriptor;var Zj=Object.getOwnPropertyNames;var Wj=Object.getPrototypeOf,Gj=Object.prototype.hasOwnProperty;var x=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),An=(e,t)=>{for(var r in t)Db(e,r,{get:t[r],enumerable:!0})},Kj=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Zj(t))!Gj.call(e,n)&&n!==r&&Db(e,n,{get:()=>t[n],enumerable:!(i=Hj(t,n))||i.enumerable});return e};var it=(e,t,r)=>(r=e!=null?Vj(Wj(e)):{},Kj(t||!e||!e.__esModule?Db(r,"default",{value:e,enumerable:!0}):r,e));var vr=x((she,Cb)=>{"use strict";var fu=process||{},aC=fu.argv||[],du=fu.env||{},Xj=!(du.NO_COLOR||aC.includes("--no-color"))&&(!!du.FORCE_COLOR||aC.includes("--color")||fu.platform==="win32"||(fu.stdout||{}).isTTY&&du.TERM!=="dumb"||!!du.CI),Jj=(e,t,r=e)=>i=>{let n=""+i,s=n.indexOf(t,e.length);return~s?e+Yj(n,t,r,s)+t:e+n+t},Yj=(e,t,r,i)=>{let n="",s=0;do n+=e.substring(s,i)+r,s=i+t.length,i=e.indexOf(t,s);while(~i);return n+e.substring(s)},oC=(e=Xj)=>{let t=e?Jj:()=>String;return{isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};Cb.exports=oC();Cb.exports.createColors=oC});var f0=x((E_e,s$)=>{"use strict";var p0="\x1B",_t=`${p0}[`,W7="\x07",d0={to(e,t){return t?`${_t}${t+1};${e+1}H`:`${_t}${e+1}G`},move(e,t){let r="";return e<0?r+=`${_t}${-e}D`:e>0&&(r+=`${_t}${e}C`),t<0?r+=`${_t}${-t}A`:t>0&&(r+=`${_t}${t}B`),r},up:(e=1)=>`${_t}${e}A`,down:(e=1)=>`${_t}${e}B`,forward:(e=1)=>`${_t}${e}C`,backward:(e=1)=>`${_t}${e}D`,nextLine:(e=1)=>`${_t}E`.repeat(e),prevLine:(e=1)=>`${_t}F`.repeat(e),left:`${_t}G`,hide:`${_t}?25l`,show:`${_t}?25h`,save:`${p0}7`,restore:`${p0}8`},G7={up:(e=1)=>`${_t}S`.repeat(e),down:(e=1)=>`${_t}T`.repeat(e)},K7={screen:`${_t}2J`,up:(e=1)=>`${_t}1J`.repeat(e),down:(e=1)=>`${_t}J`.repeat(e),line:`${_t}2K`,lineEnd:`${_t}K`,lineStart:`${_t}1K`,lines(e){let t="";for(let r=0;r<e;r++)t+=this.line+(r<e-1?d0.up():"");return e&&(t+=d0.left),t}};s$.exports={cursor:d0,scroll:G7,erase:K7,beep:W7}});var nk=x((mbe,jT)=>{"use strict";var jz=function(t){return qz(t)&&!Mz(t)};function qz(e){return!!e&&typeof e=="object"}function Mz(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Uz(e)}var Bz=typeof Symbol=="function"&&Symbol.for,zz=Bz?Symbol.for("react.element"):60103;function Uz(e){return e.$$typeof===zz}function Vz(e){return Array.isArray(e)?[]:{}}function Ro(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Bs(Vz(e),e,t):e}function Hz(e,t,r){return e.concat(t).map(function(i){return Ro(i,r)})}function Zz(e,t){if(!t.customMerge)return Bs;var r=t.customMerge(e);return typeof r=="function"?r:Bs}function Wz(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function LT(e){return Object.keys(e).concat(Wz(e))}function FT(e,t){try{return t in e}catch{return!1}}function Gz(e,t){return FT(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Kz(e,t,r){var i={};return r.isMergeableObject(e)&&LT(e).forEach(function(n){i[n]=Ro(e[n],r)}),LT(t).forEach(function(n){Gz(e,n)||(FT(e,n)&&r.isMergeableObject(t[n])?i[n]=Zz(n,r)(e[n],t[n],r):i[n]=Ro(t[n],r))}),i}function Bs(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||Hz,r.isMergeableObject=r.isMergeableObject||jz,r.cloneUnlessOtherwiseSpecified=Ro;var i=Array.isArray(t),n=Array.isArray(e),s=i===n;return s?i?r.arrayMerge(e,t,r):Kz(e,t,r):Ro(t,r)}Bs.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(i,n){return Bs(i,n,r)},{})};var Xz=Bs;jT.exports=Xz});var cp=x(fn=>{"use strict";var nV=fn&&fn.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s])},e(t,r)};return function(t,r){e(t,r);function i(){this.constructor=t}t.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(fn,"__esModule",{value:!0});fn.DetailContext=fn.NoopContext=fn.VError=void 0;var kI=function(e){nV(t,e);function t(r,i){var n=e.call(this,i)||this;return n.path=r,Object.setPrototypeOf(n,t.prototype),n}return t}(Error);fn.VError=kI;var iV=function(){function e(){}return e.prototype.fail=function(t,r,i){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(t){},e}();fn.NoopContext=iV;var wI=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(t,r,i){return this._propNames.push(t),this._messages.push(r),this._score+=i,!1},e.prototype.unionResolver=function(){return new sV},e.prototype.resolveUnion=function(t){for(var r,i,n=t,s=null,a=0,l=n.contexts;a<l.length;a++){var u=l[a];(!s||u._score>=s._score)&&(s=u)}s&&s._score>0&&((r=this._propNames).push.apply(r,s._propNames),(i=this._messages).push.apply(i,s._messages))},e.prototype.getError=function(t){for(var r=[],i=this._propNames.length-1;i>=0;i--){var n=this._propNames[i];t+=typeof n=="number"?"["+n+"]":n?"."+n:"";var s=this._messages[i];s&&r.push(t+" "+s)}return new kI(t,r.join("; "))},e.prototype.getErrorDetail=function(t){for(var r=[],i=this._propNames.length-1;i>=0;i--){var n=this._propNames[i];t+=typeof n=="number"?"["+n+"]":n?"."+n:"";var s=this._messages[i];s&&r.push({path:t,message:s})}for(var a=null,i=r.length-1;i>=0;i--)a&&(r[i].nested=[a]),a=r[i];return a},e}();fn.DetailContext=wI;var sV=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var t=new wI;return this.contexts.push(t),t},e}()});var Rk=x(le=>{"use strict";var Dr=le&&le.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,n){i.__proto__=n}||function(i,n){for(var s in n)n.hasOwnProperty(s)&&(i[s]=n[s])},e(t,r)};return function(t,r){e(t,r);function i(){this.constructor=t}t.prototype=r===null?Object.create(r):(i.prototype=r.prototype,new i)}}();Object.defineProperty(le,"__esModule",{value:!0});le.basicTypes=le.BasicType=le.TParamList=le.TParam=le.param=le.TFunc=le.func=le.TProp=le.TOptional=le.opt=le.TIface=le.iface=le.TEnumLiteral=le.enumlit=le.TEnumType=le.enumtype=le.TIntersection=le.intersection=le.TUnion=le.union=le.TTuple=le.tuple=le.TArray=le.array=le.TLiteral=le.lit=le.TName=le.name=le.TType=void 0;var CI=cp(),pr=function(){function e(){}return e}();le.TType=pr;function ki(e){return typeof e=="string"?SI(e):e}function $k(e,t){var r=e[t];if(!r)throw new Error("Unknown type "+t);return r}function SI(e){return new Tk(e)}le.name=SI;var Tk=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.name=r,i._failMsg="is not a "+r,i}return t.prototype.getChecker=function(r,i,n){var s=this,a=$k(r,this.name),l=a.getChecker(r,i,n);return a instanceof qt||a instanceof t?l:function(u,p){return l(u,p)?!0:p.fail(null,s._failMsg,0)}},t}(pr);le.TName=Tk;function aV(e){return new Ik(e)}le.lit=aV;var Ik=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.value=r,i.name=JSON.stringify(r),i._failMsg="is not "+i.name,i}return t.prototype.getChecker=function(r,i){var n=this;return function(s,a){return s===n.value?!0:a.fail(null,n._failMsg,-1)}},t}(pr);le.TLiteral=Ik;function oV(e){return new $I(ki(e))}le.array=oV;var $I=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.ttype=r,i}return t.prototype.getChecker=function(r,i){var n=this.ttype.getChecker(r,i);return function(s,a){if(!Array.isArray(s))return a.fail(null,"is not an array",0);for(var l=0;l<s.length;l++){var u=n(s[l],a);if(!u)return a.fail(l,null,1)}return!0}},t}(pr);le.TArray=$I;function lV(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new TI(e.map(function(r){return ki(r)}))}le.tuple=lV;var TI=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.ttypes=r,i}return t.prototype.getChecker=function(r,i){var n=this.ttypes.map(function(a){return a.getChecker(r,i)}),s=function(a,l){if(!Array.isArray(a))return l.fail(null,"is not an array",0);for(var u=0;u<n.length;u++){var p=n[u](a[u],l);if(!p)return l.fail(u,null,1)}return!0};return i?function(a,l){return s(a,l)?a.length<=n.length?!0:l.fail(n.length,"is extraneous",2):!1}:s},t}(pr);le.TTuple=TI;function uV(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new II(e.map(function(r){return ki(r)}))}le.union=uV;var II=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;i.ttypes=r;var n=r.map(function(a){return a instanceof Tk||a instanceof Ik?a.name:null}).filter(function(a){return a}),s=r.length-n.length;return n.length?(s>0&&n.push(s+" more"),i._failMsg="is none of "+n.join(", ")):i._failMsg="is none of "+s+" types",i}return t.prototype.getChecker=function(r,i){var n=this,s=this.ttypes.map(function(a){return a.getChecker(r,i)});return function(a,l){for(var u=l.unionResolver(),p=0;p<s.length;p++){var f=s[p](a,u.createContext());if(f)return!0}return l.resolveUnion(u),l.fail(null,n._failMsg,0)}},t}(pr);le.TUnion=II;function cV(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new AI(e.map(function(r){return ki(r)}))}le.intersection=cV;var AI=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.ttypes=r,i}return t.prototype.getChecker=function(r,i){var n=new Set,s=this.ttypes.map(function(a){return a.getChecker(r,i,n)});return function(a,l){var u=s.every(function(p){return p(a,l)});return u?!0:l.fail(null,null,0)}},t}(pr);le.TIntersection=AI;function pV(e){return new Ak(e)}le.enumtype=pV;var Ak=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.members=r,i.validValues=new Set,i._failMsg="is not a valid enum value",i.validValues=new Set(Object.keys(r).map(function(n){return r[n]})),i}return t.prototype.getChecker=function(r,i){var n=this;return function(s,a){return n.validValues.has(s)?!0:a.fail(null,n._failMsg,0)}},t}(pr);le.TEnumType=Ak;function dV(e,t){return new PI(e,t)}le.enumlit=dV;var PI=function(e){Dr(t,e);function t(r,i){var n=e.call(this)||this;return n.enumName=r,n.prop=i,n._failMsg="is not "+r+"."+i,n}return t.prototype.getChecker=function(r,i){var n=this,s=$k(r,this.enumName);if(!(s instanceof Ak))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var a=s.members[this.prop];if(!s.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(l,u){return l===a?!0:u.fail(null,n._failMsg,-1)}},t}(pr);le.TEnumLiteral=PI;function fV(e){return Object.keys(e).map(function(t){return mV(t,e[t])})}function mV(e,t){return t instanceof Pk?new Sk(e,t.ttype,!0):new Sk(e,ki(t),!1)}function hV(e,t){return new RI(e,fV(t))}le.iface=hV;var RI=function(e){Dr(t,e);function t(r,i){var n=e.call(this)||this;return n.bases=r,n.props=i,n.propSet=new Set(i.map(function(s){return s.name})),n}return t.prototype.getChecker=function(r,i,n){var s=this,a=this.bases.map(function(_){return $k(r,_).getChecker(r,i)}),l=this.props.map(function(_){return _.ttype.getChecker(r,i)}),u=new CI.NoopContext,p=this.props.map(function(_,g){return!_.isOpt&&!l[g](void 0,u)}),f=function(_,g){if(typeof _!="object"||_===null)return g.fail(null,"is not an object",0);for(var b=0;b<a.length;b++)if(!a[b](_,g))return!1;for(var b=0;b<l.length;b++){var E=s.props[b].name,C=_[E];if(C===void 0){if(p[b])return g.fail(E,"is missing",1)}else{var T=l[b](C,g);if(!T)return g.fail(E,null,1)}}return!0};if(!i)return f;var h=this.propSet;return n&&(this.propSet.forEach(function(_){return n.add(_)}),h=n),function(_,g){if(!f(_,g))return!1;for(var b in _)if(!h.has(b))return g.fail(b,"is extraneous",2);return!0}},t}(pr);le.TIface=RI;function _V(e){return new Pk(ki(e))}le.opt=_V;var Pk=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.ttype=r,i}return t.prototype.getChecker=function(r,i){var n=this.ttype.getChecker(r,i);return function(s,a){return s===void 0||n(s,a)}},t}(pr);le.TOptional=Pk;var Sk=function(){function e(t,r,i){this.name=t,this.ttype=r,this.isOpt=i}return e}();le.TProp=Sk;function gV(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new NI(new LI(t),ki(e))}le.func=gV;var NI=function(e){Dr(t,e);function t(r,i){var n=e.call(this)||this;return n.paramList=r,n.result=i,n}return t.prototype.getChecker=function(r,i){return function(n,s){return typeof n=="function"?!0:s.fail(null,"is not a function",0)}},t}(pr);le.TFunc=NI;function bV(e,t,r){return new OI(e,ki(t),!!r)}le.param=bV;var OI=function(){function e(t,r,i){this.name=t,this.ttype=r,this.isOpt=i}return e}();le.TParam=OI;var LI=function(e){Dr(t,e);function t(r){var i=e.call(this)||this;return i.params=r,i}return t.prototype.getChecker=function(r,i){var n=this,s=this.params.map(function(p){return p.ttype.getChecker(r,i)}),a=new CI.NoopContext,l=this.params.map(function(p,f){return!p.isOpt&&!s[f](void 0,a)}),u=function(p,f){if(!Array.isArray(p))return f.fail(null,"is not an array",0);for(var h=0;h<s.length;h++){var _=n.params[h];if(p[h]===void 0){if(l[h])return f.fail(_.name,"is missing",1)}else{var g=s[h](p[h],f);if(!g)return f.fail(_.name,null,1)}}return!0};return i?function(p,f){return u(p,f)?p.length<=s.length?!0:f.fail(s.length,"is extraneous",2):!1}:u},t}(pr);le.TParamList=LI;var qt=function(e){Dr(t,e);function t(r,i){var n=e.call(this)||this;return n.validator=r,n.message=i,n}return t.prototype.getChecker=function(r,i){var n=this;return function(s,a){return n.validator(s)?!0:a.fail(null,n.message,0)}},t}(pr);le.BasicType=qt;le.basicTypes={any:new qt(function(e){return!0},"is invalid"),number:new qt(function(e){return typeof e=="number"},"is not a number"),object:new qt(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new qt(function(e){return typeof e=="boolean"},"is not a boolean"),string:new qt(function(e){return typeof e=="string"},"is not a string"),symbol:new qt(function(e){return typeof e=="symbol"},"is not a symbol"),void:new qt(function(e){return e==null},"is not void"),undefined:new qt(function(e){return e===void 0},"is not undefined"),null:new qt(function(e){return e===null},"is not null"),never:new qt(function(e){return!1},"is unexpected"),Date:new qt(EI("[object Date]"),"is not a Date"),RegExp:new qt(EI("[object RegExp]"),"is not a RegExp")};var vV=Object.prototype.toString;function EI(e){return function(t){return typeof t=="object"&&t&&vV.call(t)===e}}typeof Buffer<"u"&&(le.basicTypes.Buffer=new qt(function(e){return Buffer.isBuffer(e)},"is not a Buffer"));var yV=function(e){le.basicTypes[e.name]=new qt(function(t){return t instanceof e},"is not a "+e.name)};for(pp=0,Ck=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];pp<Ck.length;pp++)DI=Ck[pp],yV(DI);var DI,pp,Ck});var Nk=x(Le=>{"use strict";var xV=Le&&Le.__spreadArrays||function(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var i=Array(e),n=0,t=0;t<r;t++)for(var s=arguments[t],a=0,l=s.length;a<l;a++,n++)i[n]=s[a];return i};Object.defineProperty(Le,"__esModule",{value:!0});Le.Checker=Le.createCheckers=void 0;var zo=Rk(),Xs=cp(),Je=Rk();Object.defineProperty(Le,"TArray",{enumerable:!0,get:function(){return Je.TArray}});Object.defineProperty(Le,"TEnumType",{enumerable:!0,get:function(){return Je.TEnumType}});Object.defineProperty(Le,"TEnumLiteral",{enumerable:!0,get:function(){return Je.TEnumLiteral}});Object.defineProperty(Le,"TFunc",{enumerable:!0,get:function(){return Je.TFunc}});Object.defineProperty(Le,"TIface",{enumerable:!0,get:function(){return Je.TIface}});Object.defineProperty(Le,"TLiteral",{enumerable:!0,get:function(){return Je.TLiteral}});Object.defineProperty(Le,"TName",{enumerable:!0,get:function(){return Je.TName}});Object.defineProperty(Le,"TOptional",{enumerable:!0,get:function(){return Je.TOptional}});Object.defineProperty(Le,"TParam",{enumerable:!0,get:function(){return Je.TParam}});Object.defineProperty(Le,"TParamList",{enumerable:!0,get:function(){return Je.TParamList}});Object.defineProperty(Le,"TProp",{enumerable:!0,get:function(){return Je.TProp}});Object.defineProperty(Le,"TTuple",{enumerable:!0,get:function(){return Je.TTuple}});Object.defineProperty(Le,"TType",{enumerable:!0,get:function(){return Je.TType}});Object.defineProperty(Le,"TUnion",{enumerable:!0,get:function(){return Je.TUnion}});Object.defineProperty(Le,"TIntersection",{enumerable:!0,get:function(){return Je.TIntersection}});Object.defineProperty(Le,"array",{enumerable:!0,get:function(){return Je.array}});Object.defineProperty(Le,"enumlit",{enumerable:!0,get:function(){return Je.enumlit}});Object.defineProperty(Le,"enumtype",{enumerable:!0,get:function(){return Je.enumtype}});Object.defineProperty(Le,"func",{enumerable:!0,get:function(){return Je.func}});Object.defineProperty(Le,"iface",{enumerable:!0,get:function(){return Je.iface}});Object.defineProperty(Le,"lit",{enumerable:!0,get:function(){return Je.lit}});Object.defineProperty(Le,"name",{enumerable:!0,get:function(){return Je.name}});Object.defineProperty(Le,"opt",{enumerable:!0,get:function(){return Je.opt}});Object.defineProperty(Le,"param",{enumerable:!0,get:function(){return Je.param}});Object.defineProperty(Le,"tuple",{enumerable:!0,get:function(){return Je.tuple}});Object.defineProperty(Le,"union",{enumerable:!0,get:function(){return Je.union}});Object.defineProperty(Le,"intersection",{enumerable:!0,get:function(){return Je.intersection}});Object.defineProperty(Le,"BasicType",{enumerable:!0,get:function(){return Je.BasicType}});var kV=cp();Object.defineProperty(Le,"VError",{enumerable:!0,get:function(){return kV.VError}});function wV(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=Object.assign.apply(Object,xV([{},zo.basicTypes],e)),i={},n=0,s=e;n<s.length;n++)for(var a=s[n],l=0,u=Object.keys(a);l<u.length;l++){var p=u[l];i[p]=new FI(r,a[p])}return i}Le.createCheckers=wV;var FI=function(){function e(t,r,i){if(i===void 0&&(i="value"),this.suite=t,this.ttype=r,this._path=i,this.props=new Map,r instanceof zo.TIface)for(var n=0,s=r.props;n<s.length;n++){var a=s[n];this.props.set(a.name,a.ttype)}this.checkerPlain=this.ttype.getChecker(t,!1),this.checkerStrict=this.ttype.getChecker(t,!0)}return e.prototype.setReportedPath=function(t){this._path=t},e.prototype.check=function(t){return this._doCheck(this.checkerPlain,t)},e.prototype.test=function(t){return this.checkerPlain(t,new Xs.NoopContext)},e.prototype.validate=function(t){return this._doValidate(this.checkerPlain,t)},e.prototype.strictCheck=function(t){return this._doCheck(this.checkerStrict,t)},e.prototype.strictTest=function(t){return this.checkerStrict(t,new Xs.NoopContext)},e.prototype.strictValidate=function(t){return this._doValidate(this.checkerStrict,t)},e.prototype.getProp=function(t){var r=this.props.get(t);if(!r)throw new Error("Type has no property "+t);return new e(this.suite,r,this._path+"."+t)},e.prototype.methodArgs=function(t){var r=this._getMethod(t);return new e(this.suite,r.paramList)},e.prototype.methodResult=function(t){var r=this._getMethod(t);return new e(this.suite,r.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof zo.TFunc))throw new Error("getArgs() applied to non-function");return new e(this.suite,this.ttype.paramList)},e.prototype.getResult=function(){if(!(this.ttype instanceof zo.TFunc))throw new Error("getResult() applied to non-function");return new e(this.suite,this.ttype.result)},e.prototype.getType=function(){return this.ttype},e.prototype._doCheck=function(t,r){var i=new Xs.NoopContext;if(!t(r,i)){var n=new Xs.DetailContext;throw t(r,n),n.getError(this._path)}},e.prototype._doValidate=function(t,r){var i=new Xs.NoopContext;if(t(r,i))return null;var n=new Xs.DetailContext;return t(r,n),n.getErrorDetail(this._path)},e.prototype._getMethod=function(t){var r=this.props.get(t);if(!r)throw new Error("Type has no property "+t);if(!(r instanceof zo.TFunc))throw new Error("Property "+t+" is not a method");return r},e}();Le.Checker=FI});var x2=x(gl=>{"use strict";gl.__esModule=!0;gl.LinesAndColumns=void 0;var Lp=`
`,v2="\r",y2=function(){function e(t){this.string=t;for(var r=[0],i=0;i<t.length;)switch(t[i]){case Lp:i+=Lp.length,r.push(i);break;case v2:i+=v2.length,t[i]===Lp&&(i+=Lp.length),r.push(i);break;default:i++;break}this.offsets=r}return e.prototype.locationForIndex=function(t){if(t<0||t>this.string.length)return null;for(var r=0,i=this.offsets;i[r+1]<=t;)r++;var n=t-i[r];return{line:r,column:n}},e.prototype.indexForLocation=function(t){var r=t.line,i=t.column;return r<0||r>=this.offsets.length||i<0||i>this.lengthOfLine(r)?null:this.offsets[r]+i},e.prototype.lengthOfLine=function(t){var r=this.offsets[t],i=t===this.offsets.length-1?this.string.length:this.offsets[t+1];return i-r},e}();gl.LinesAndColumns=y2;gl.default=y2});var x8=x(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.default=void 0;function WK(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var n=e[t];return t=t+1,{done:!1,value:n}}else return{done:!0}}};return r}var lTe=gd.default=WK});var va=x(OE=>{"use strict";Object.defineProperty(OE,"__esModule",{value:!0});OE.default=XK;var GK=KK(x8());function KK(e){return e&&e.__esModule?e:{default:e}}function NE(e){"@babel/helpers - typeof";return NE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},NE(e)}function XK(e,t){return typeof Symbol=="function"&&NE(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:GK.default.bind(t)}),e}});var w8=x(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=void 0;var JK=YK(va());function YK(e){return e&&e.__esModule?e:{default:e}}function LE(e,t){return rX(e)||tX(e,t)||eX(e,t)||QK()}function QK(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eX(e,t){if(e){if(typeof e=="string")return k8(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?k8(e,t):void 0}}function k8(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function tX(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,n,s,a,l=[],u=!0,p=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(i=s.call(r)).done)&&(l.push(i.value),l.length!==t);u=!0);}catch(f){p=!0,n=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(p)throw n}}return l}}function rX(e){if(Array.isArray(e))return e}var ya=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],FE={entries:function(){return ya},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=ya;i<n.length;i++){var s=LE(n[i],2),a=s[0],l=s[1];t.call(r,l,a,ya)}},get:function(t){var r=ya.filter(function(i){return i[0]===t})[0];return r&&r[1]},has:function(t){return!!FE.get(t)},keys:function(){return ya.map(function(t){var r=LE(t,1),i=r[0];return i})},values:function(){return ya.map(function(t){var r=LE(t,2),i=r[1];return i})}},pTe=bd.default=(0,JK.default)(FE,FE.entries())});var D8=x(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.default=void 0;var nX=iX(va());function iX(e){return e&&e.__esModule?e:{default:e}}function jE(e,t){return lX(e)||oX(e,t)||aX(e,t)||sX()}function sX(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function aX(e,t){if(e){if(typeof e=="string")return E8(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?E8(e,t):void 0}}function E8(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function oX(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,n,s,a,l=[],u=!0,p=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(i=s.call(r)).done)&&(l.push(i.value),l.length!==t);u=!0);}catch(f){p=!0,n=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(p)throw n}}return l}}function lX(e){if(Array.isArray(e))return e}var xa=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],qE={entries:function(){return xa},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=xa;i<n.length;i++){var s=jE(n[i],2),a=s[0],l=s[1];t.call(r,l,a,xa)}},get:function(t){var r=xa.filter(function(i){return i[0]===t})[0];return r&&r[1]},has:function(t){return!!qE.get(t)},keys:function(){return xa.map(function(t){var r=jE(t,1),i=r[0];return i})},values:function(){return xa.map(function(t){var r=jE(t,2),i=r[1];return i})}},fTe=vd.default=(0,nX.default)(qE,qE.entries())});var C8=x(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.default=void 0;var uX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},hTe=yd.default=uX});var S8=x(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.default=void 0;var cX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},gTe=xd.default=cX});var $8=x(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.default=void 0;var pX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},vTe=kd.default=pX});var T8=x(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.default=void 0;var dX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xTe=wd.default=dX});var I8=x(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.default=void 0;var fX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},wTe=Ed.default=fX});var A8=x(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.default=void 0;var mX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},DTe=Dd.default=mX});var P8=x(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.default=void 0;var hX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},STe=Cd.default=hX});var R8=x(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.default=void 0;var _X={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},TTe=Sd.default=_X});var N8=x($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.default=void 0;var gX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},ATe=$d.default=gX});var O8=x(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.default=void 0;var bX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},RTe=Td.default=bX});var L8=x(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.default=void 0;var vX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},OTe=Id.default=vX});var F8=x(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.default=void 0;var yX={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},FTe=Ad.default=yX});var j8=x(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=void 0;var xX=Hr(C8()),kX=Hr(S8()),wX=Hr($8()),EX=Hr(T8()),DX=Hr(I8()),CX=Hr(A8()),SX=Hr(P8()),$X=Hr(R8()),TX=Hr(N8()),IX=Hr(O8()),AX=Hr(L8()),PX=Hr(F8());function Hr(e){return e&&e.__esModule?e:{default:e}}var RX=[["command",xX.default],["composite",kX.default],["input",wX.default],["landmark",EX.default],["range",DX.default],["roletype",CX.default],["section",SX.default],["sectionhead",$X.default],["select",TX.default],["structure",IX.default],["widget",AX.default],["window",PX.default]],qTe=Pd.default=RX});var q8=x(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.default=void 0;var NX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BTe=Rd.default=NX});var M8=x(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=void 0;var OX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},UTe=Nd.default=OX});var B8=x(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.default=void 0;var LX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},HTe=Od.default=LX});var z8=x(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.default=void 0;var FX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},WTe=Ld.default=FX});var U8=x(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=void 0;var jX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},KTe=Fd.default=jX});var V8=x(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.default=void 0;var qX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},JTe=jd.default=qX});var H8=x(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.default=void 0;var MX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},QTe=qd.default=MX});var Z8=x(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.default=void 0;var BX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tIe=Md.default=BX});var W8=x(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=void 0;var zX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nIe=Bd.default=zX});var G8=x(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=void 0;var UX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},sIe=zd.default=UX});var K8=x(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.default=void 0;var VX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},oIe=Ud.default=VX});var X8=x(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=void 0;var HX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},uIe=Vd.default=HX});var J8=x(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.default=void 0;var ZX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},pIe=Hd.default=ZX});var Y8=x(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.default=void 0;var WX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fIe=Zd.default=WX});var Q8=x(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=void 0;var GX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hIe=Wd.default=GX});var e6=x(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=void 0;var KX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gIe=Gd.default=KX});var t6=x(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=void 0;var XX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},vIe=Kd.default=XX});var r6=x(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=void 0;var JX={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},xIe=Xd.default=JX});var n6=x(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=void 0;var YX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},wIe=Jd.default=YX});var i6=x(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.default=void 0;var QX={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},DIe=Yd.default=QX});var s6=x(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=void 0;var eJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SIe=Qd.default=eJ});var a6=x(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.default=void 0;var tJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},TIe=ef.default=tJ});var o6=x(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});tf.default=void 0;var rJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},AIe=tf.default=rJ});var l6=x(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.default=void 0;var nJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},RIe=rf.default=nJ});var u6=x(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.default=void 0;var iJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},OIe=nf.default=iJ});var c6=x(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});sf.default=void 0;var sJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},FIe=sf.default=sJ});var p6=x(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.default=void 0;var aJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},qIe=af.default=aJ});var d6=x(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.default=void 0;var oJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},BIe=of.default=oJ});var f6=x(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.default=void 0;var lJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},UIe=lf.default=lJ});var m6=x(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.default=void 0;var uJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},HIe=uf.default=uJ});var h6=x(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.default=void 0;var cJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},WIe=cf.default=cJ});var _6=x(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.default=void 0;var pJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},KIe=pf.default=pJ});var g6=x(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.default=void 0;var dJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},JIe=df.default=dJ});var b6=x(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.default=void 0;var fJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},QIe=ff.default=fJ});var v6=x(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.default=void 0;var mJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tAe=mf.default=mJ});var y6=x(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.default=void 0;var hJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nAe=hf.default=hJ});var x6=x(_f=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});_f.default=void 0;var _J={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sAe=_f.default=_J});var k6=x(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.default=void 0;var gJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},oAe=gf.default=gJ});var w6=x(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.default=void 0;var bJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},uAe=bf.default=bJ});var E6=x(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.default=void 0;var vJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pAe=vf.default=vJ});var D6=x(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.default=void 0;var yJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},fAe=yf.default=yJ});var C6=x(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.default=void 0;var xJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},hAe=xf.default=xJ});var S6=x(kf=>{"use strict";Object.defineProperty(kf,"__esModule",{value:!0});kf.default=void 0;var kJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},gAe=kf.default=kJ});var $6=x(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.default=void 0;var wJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},vAe=wf.default=wJ});var T6=x(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.default=void 0;var EJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},xAe=Ef.default=EJ});var I6=x(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.default=void 0;var DJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},wAe=Df.default=DJ});var A6=x(Cf=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});Cf.default=void 0;var CJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DAe=Cf.default=CJ});var P6=x(Sf=>{"use strict";Object.defineProperty(Sf,"__esModule",{value:!0});Sf.default=void 0;var SJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},SAe=Sf.default=SJ});var R6=x($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});$f.default=void 0;var $J={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},TAe=$f.default=$J});var N6=x(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.default=void 0;var TJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},AAe=Tf.default=TJ});var O6=x(If=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});If.default=void 0;var IJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RAe=If.default=IJ});var L6=x(Af=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});Af.default=void 0;var AJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},OAe=Af.default=AJ});var F6=x(Pf=>{"use strict";Object.defineProperty(Pf,"__esModule",{value:!0});Pf.default=void 0;var PJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},FAe=Pf.default=PJ});var j6=x(Rf=>{"use strict";Object.defineProperty(Rf,"__esModule",{value:!0});Rf.default=void 0;var RJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},qAe=Rf.default=RJ});var q6=x(Nf=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});Nf.default=void 0;var NJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},BAe=Nf.default=NJ});var M6=x(Of=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});Of.default=void 0;var OJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},UAe=Of.default=OJ});var B6=x(Lf=>{"use strict";Object.defineProperty(Lf,"__esModule",{value:!0});Lf.default=void 0;var LJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},HAe=Lf.default=LJ});var z6=x(Ff=>{"use strict";Object.defineProperty(Ff,"__esModule",{value:!0});Ff.default=void 0;var FJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},WAe=Ff.default=FJ});var U6=x(jf=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});jf.default=void 0;var jJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},KAe=jf.default=jJ});var V6=x(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.default=void 0;var qJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},JAe=qf.default=qJ});var H6=x(Mf=>{"use strict";Object.defineProperty(Mf,"__esModule",{value:!0});Mf.default=void 0;var MJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},QAe=Mf.default=MJ});var Z6=x(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});Bf.default=void 0;var BJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},t2e=Bf.default=BJ});var W6=x(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});zf.default=void 0;var zJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},n2e=zf.default=zJ});var G6=x(Uf=>{"use strict";Object.defineProperty(Uf,"__esModule",{value:!0});Uf.default=void 0;var UJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},s2e=Uf.default=UJ});var K6=x(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.default=void 0;var VJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},o2e=Vf.default=VJ});var X6=x(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});Hf.default=void 0;var HJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},u2e=Hf.default=HJ});var J6=x(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});Zf.default=void 0;var ZJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},p2e=Zf.default=ZJ});var Y6=x(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.default=void 0;var WJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},f2e=Wf.default=WJ});var Q6=x(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.default=void 0;var GJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},h2e=Gf.default=GJ});var eN=x(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.default=void 0;var KJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},g2e=Kf.default=KJ});var tN=x(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});Xf.default=void 0;var XJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},v2e=Xf.default=XJ});var rN=x(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.default=void 0;var JJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},x2e=Jf.default=JJ});var nN=x(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.default=void 0;var YJ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},w2e=Yf.default=YJ});var iN=x(Qf=>{"use strict";Object.defineProperty(Qf,"__esModule",{value:!0});Qf.default=void 0;var QJ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},D2e=Qf.default=QJ});var sN=x(em=>{"use strict";Object.defineProperty(em,"__esModule",{value:!0});em.default=void 0;var eY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},S2e=em.default=eY});var aN=x(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});tm.default=void 0;var tY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},T2e=tm.default=tY});var oN=x(rm=>{"use strict";Object.defineProperty(rm,"__esModule",{value:!0});rm.default=void 0;var rY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},A2e=rm.default=rY});var lN=x(nm=>{"use strict";Object.defineProperty(nm,"__esModule",{value:!0});nm.default=void 0;var nY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},R2e=nm.default=nY});var uN=x(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});im.default=void 0;var iY={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},O2e=im.default=iY});var cN=x(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.default=void 0;var sY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},F2e=sm.default=sY});var pN=x(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});am.default=void 0;var aY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},q2e=am.default=aY});var dN=x(om=>{"use strict";Object.defineProperty(om,"__esModule",{value:!0});om.default=void 0;var oY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},B2e=om.default=oY});var fN=x(lm=>{"use strict";Object.defineProperty(lm,"__esModule",{value:!0});lm.default=void 0;var lY={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},U2e=lm.default=lY});var mN=x(um=>{"use strict";Object.defineProperty(um,"__esModule",{value:!0});um.default=void 0;var uY=X(q8()),cY=X(M8()),pY=X(B8()),dY=X(z8()),fY=X(U8()),mY=X(V8()),hY=X(H8()),_Y=X(Z8()),gY=X(W8()),bY=X(G8()),vY=X(K8()),yY=X(X8()),xY=X(J8()),kY=X(Y8()),wY=X(Q8()),EY=X(e6()),DY=X(t6()),CY=X(r6()),SY=X(n6()),$Y=X(i6()),TY=X(s6()),IY=X(a6()),AY=X(o6()),PY=X(l6()),RY=X(u6()),NY=X(c6()),OY=X(p6()),LY=X(d6()),FY=X(f6()),jY=X(m6()),qY=X(h6()),MY=X(_6()),BY=X(g6()),zY=X(b6()),UY=X(v6()),VY=X(y6()),HY=X(x6()),ZY=X(k6()),WY=X(w6()),GY=X(E6()),KY=X(D6()),XY=X(C6()),JY=X(S6()),YY=X($6()),QY=X(T6()),eQ=X(I6()),tQ=X(A6()),rQ=X(P6()),nQ=X(R6()),iQ=X(N6()),sQ=X(O6()),aQ=X(L6()),oQ=X(F6()),lQ=X(j6()),uQ=X(q6()),cQ=X(M6()),pQ=X(B6()),dQ=X(z6()),fQ=X(U6()),mQ=X(V6()),hQ=X(H6()),_Q=X(Z6()),gQ=X(W6()),bQ=X(G6()),vQ=X(K6()),yQ=X(X6()),xQ=X(J6()),kQ=X(Y6()),wQ=X(Q6()),EQ=X(eN()),DQ=X(tN()),CQ=X(rN()),SQ=X(nN()),$Q=X(iN()),TQ=X(sN()),IQ=X(aN()),AQ=X(oN()),PQ=X(lN()),RQ=X(uN()),NQ=X(cN()),OQ=X(pN()),LQ=X(dN()),FQ=X(fN());function X(e){return e&&e.__esModule?e:{default:e}}var jQ=[["alert",uY.default],["alertdialog",cY.default],["application",pY.default],["article",dY.default],["banner",fY.default],["blockquote",mY.default],["button",hY.default],["caption",_Y.default],["cell",gY.default],["checkbox",bY.default],["code",vY.default],["columnheader",yY.default],["combobox",xY.default],["complementary",kY.default],["contentinfo",wY.default],["definition",EY.default],["deletion",DY.default],["dialog",CY.default],["directory",SY.default],["document",$Y.default],["emphasis",TY.default],["feed",IY.default],["figure",AY.default],["form",PY.default],["generic",RY.default],["grid",NY.default],["gridcell",OY.default],["group",LY.default],["heading",FY.default],["img",jY.default],["insertion",qY.default],["link",MY.default],["list",BY.default],["listbox",zY.default],["listitem",UY.default],["log",VY.default],["main",HY.default],["mark",ZY.default],["marquee",WY.default],["math",GY.default],["menu",KY.default],["menubar",XY.default],["menuitem",JY.default],["menuitemcheckbox",YY.default],["menuitemradio",QY.default],["meter",eQ.default],["navigation",tQ.default],["none",rQ.default],["note",nQ.default],["option",iQ.default],["paragraph",sQ.default],["presentation",aQ.default],["progressbar",oQ.default],["radio",lQ.default],["radiogroup",uQ.default],["region",cQ.default],["row",pQ.default],["rowgroup",dQ.default],["rowheader",fQ.default],["scrollbar",mQ.default],["search",hQ.default],["searchbox",_Q.default],["separator",gQ.default],["slider",bQ.default],["spinbutton",vQ.default],["status",yQ.default],["strong",xQ.default],["subscript",kQ.default],["superscript",wQ.default],["switch",EQ.default],["tab",DQ.default],["table",CQ.default],["tablist",SQ.default],["tabpanel",$Q.default],["term",TQ.default],["textbox",IQ.default],["time",AQ.default],["timer",PQ.default],["toolbar",RQ.default],["tooltip",NQ.default],["tree",OQ.default],["treegrid",LQ.default],["treeitem",FQ.default]],H2e=um.default=jQ});var hN=x(cm=>{"use strict";Object.defineProperty(cm,"__esModule",{value:!0});cm.default=void 0;var qQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},W2e=cm.default=qQ});var _N=x(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});pm.default=void 0;var MQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},K2e=pm.default=MQ});var gN=x(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});dm.default=void 0;var BQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},J2e=dm.default=BQ});var bN=x(fm=>{"use strict";Object.defineProperty(fm,"__esModule",{value:!0});fm.default=void 0;var zQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Q2e=fm.default=zQ});var vN=x(mm=>{"use strict";Object.defineProperty(mm,"__esModule",{value:!0});mm.default=void 0;var UQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},tPe=mm.default=UQ});var yN=x(hm=>{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});hm.default=void 0;var VQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},nPe=hm.default=VQ});var xN=x(_m=>{"use strict";Object.defineProperty(_m,"__esModule",{value:!0});_m.default=void 0;var HQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sPe=_m.default=HQ});var kN=x(gm=>{"use strict";Object.defineProperty(gm,"__esModule",{value:!0});gm.default=void 0;var ZQ={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},oPe=gm.default=ZQ});var wN=x(bm=>{"use strict";Object.defineProperty(bm,"__esModule",{value:!0});bm.default=void 0;var WQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},uPe=bm.default=WQ});var EN=x(vm=>{"use strict";Object.defineProperty(vm,"__esModule",{value:!0});vm.default=void 0;var GQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},pPe=vm.default=GQ});var DN=x(ym=>{"use strict";Object.defineProperty(ym,"__esModule",{value:!0});ym.default=void 0;var KQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fPe=ym.default=KQ});var CN=x(xm=>{"use strict";Object.defineProperty(xm,"__esModule",{value:!0});xm.default=void 0;var XQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},hPe=xm.default=XQ});var SN=x(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});km.default=void 0;var JQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},gPe=km.default=JQ});var $N=x(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});wm.default=void 0;var YQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vPe=wm.default=YQ});var TN=x(Em=>{"use strict";Object.defineProperty(Em,"__esModule",{value:!0});Em.default=void 0;var QQ={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xPe=Em.default=QQ});var IN=x(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});Dm.default=void 0;var eee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},wPe=Dm.default=eee});var AN=x(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});Cm.default=void 0;var tee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},DPe=Cm.default=tee});var PN=x(Sm=>{"use strict";Object.defineProperty(Sm,"__esModule",{value:!0});Sm.default=void 0;var ree={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},SPe=Sm.default=ree});var RN=x($m=>{"use strict";Object.defineProperty($m,"__esModule",{value:!0});$m.default=void 0;var nee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},TPe=$m.default=nee});var NN=x(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});Tm.default=void 0;var iee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},APe=Tm.default=iee});var ON=x(Im=>{"use strict";Object.defineProperty(Im,"__esModule",{value:!0});Im.default=void 0;var see={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},RPe=Im.default=see});var LN=x(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});Am.default=void 0;var aee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},OPe=Am.default=aee});var FN=x(Pm=>{"use strict";Object.defineProperty(Pm,"__esModule",{value:!0});Pm.default=void 0;var oee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},FPe=Pm.default=oee});var jN=x(Rm=>{"use strict";Object.defineProperty(Rm,"__esModule",{value:!0});Rm.default=void 0;var lee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},qPe=Rm.default=lee});var qN=x(Nm=>{"use strict";Object.defineProperty(Nm,"__esModule",{value:!0});Nm.default=void 0;var uee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},BPe=Nm.default=uee});var MN=x(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});Om.default=void 0;var cee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},UPe=Om.default=cee});var BN=x(Lm=>{"use strict";Object.defineProperty(Lm,"__esModule",{value:!0});Lm.default=void 0;var pee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},HPe=Lm.default=pee});var zN=x(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.default=void 0;var dee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},WPe=Fm.default=dee});var UN=x(jm=>{"use strict";Object.defineProperty(jm,"__esModule",{value:!0});jm.default=void 0;var fee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},KPe=jm.default=fee});var VN=x(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});qm.default=void 0;var mee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},JPe=qm.default=mee});var HN=x(Mm=>{"use strict";Object.defineProperty(Mm,"__esModule",{value:!0});Mm.default=void 0;var hee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},QPe=Mm.default=hee});var ZN=x(Bm=>{"use strict";Object.defineProperty(Bm,"__esModule",{value:!0});Bm.default=void 0;var _ee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tRe=Bm.default=_ee});var WN=x(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});zm.default=void 0;var gee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},nRe=zm.default=gee});var GN=x(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});Um.default=void 0;var bee={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sRe=Um.default=bee});var KN=x(Vm=>{"use strict";Object.defineProperty(Vm,"__esModule",{value:!0});Vm.default=void 0;var vee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},oRe=Vm.default=vee});var XN=x(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});Hm.default=void 0;var yee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},uRe=Hm.default=yee});var JN=x(Zm=>{"use strict";Object.defineProperty(Zm,"__esModule",{value:!0});Zm.default=void 0;var xee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},pRe=Zm.default=xee});var YN=x(Wm=>{"use strict";Object.defineProperty(Wm,"__esModule",{value:!0});Wm.default=void 0;var kee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fRe=Wm.default=kee});var QN=x(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.default=void 0;var wee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},hRe=Gm.default=wee});var eO=x(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});Km.default=void 0;var Eee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},gRe=Km.default=Eee});var tO=x(Xm=>{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});Xm.default=void 0;var Dee={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},vRe=Xm.default=Dee});var rO=x(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});Jm.default=void 0;var Cee=Ae(hN()),See=Ae(_N()),$ee=Ae(gN()),Tee=Ae(bN()),Iee=Ae(vN()),Aee=Ae(yN()),Pee=Ae(xN()),Ree=Ae(kN()),Nee=Ae(wN()),Oee=Ae(EN()),Lee=Ae(DN()),Fee=Ae(CN()),jee=Ae(SN()),qee=Ae($N()),Mee=Ae(TN()),Bee=Ae(IN()),zee=Ae(AN()),Uee=Ae(PN()),Vee=Ae(RN()),Hee=Ae(NN()),Zee=Ae(ON()),Wee=Ae(LN()),Gee=Ae(FN()),Kee=Ae(jN()),Xee=Ae(qN()),Jee=Ae(MN()),Yee=Ae(BN()),Qee=Ae(zN()),ete=Ae(UN()),tte=Ae(VN()),rte=Ae(HN()),nte=Ae(ZN()),ite=Ae(WN()),ste=Ae(GN()),ate=Ae(KN()),ote=Ae(XN()),lte=Ae(JN()),ute=Ae(YN()),cte=Ae(QN()),pte=Ae(eO()),dte=Ae(tO());function Ae(e){return e&&e.__esModule?e:{default:e}}var fte=[["doc-abstract",Cee.default],["doc-acknowledgments",See.default],["doc-afterword",$ee.default],["doc-appendix",Tee.default],["doc-backlink",Iee.default],["doc-biblioentry",Aee.default],["doc-bibliography",Pee.default],["doc-biblioref",Ree.default],["doc-chapter",Nee.default],["doc-colophon",Oee.default],["doc-conclusion",Lee.default],["doc-cover",Fee.default],["doc-credit",jee.default],["doc-credits",qee.default],["doc-dedication",Mee.default],["doc-endnote",Bee.default],["doc-endnotes",zee.default],["doc-epigraph",Uee.default],["doc-epilogue",Vee.default],["doc-errata",Hee.default],["doc-example",Zee.default],["doc-footnote",Wee.default],["doc-foreword",Gee.default],["doc-glossary",Kee.default],["doc-glossref",Xee.default],["doc-index",Jee.default],["doc-introduction",Yee.default],["doc-noteref",Qee.default],["doc-notice",ete.default],["doc-pagebreak",tte.default],["doc-pagefooter",rte.default],["doc-pageheader",nte.default],["doc-pagelist",ite.default],["doc-part",ste.default],["doc-preface",ate.default],["doc-prologue",ote.default],["doc-pullquote",lte.default],["doc-qna",ute.default],["doc-subtitle",cte.default],["doc-tip",pte.default],["doc-toc",dte.default]],xRe=Jm.default=fte});var nO=x(Ym=>{"use strict";Object.defineProperty(Ym,"__esModule",{value:!0});Ym.default=void 0;var mte={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},wRe=Ym.default=mte});var iO=x(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.default=void 0;var hte={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},DRe=Qm.default=hte});var sO=x(eh=>{"use strict";Object.defineProperty(eh,"__esModule",{value:!0});eh.default=void 0;var _te={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},SRe=eh.default=_te});var aO=x(th=>{"use strict";Object.defineProperty(th,"__esModule",{value:!0});th.default=void 0;var gte=ME(nO()),bte=ME(iO()),vte=ME(sO());function ME(e){return e&&e.__esModule?e:{default:e}}var yte=[["graphics-document",gte.default],["graphics-object",bte.default],["graphics-symbol",vte.default]],TRe=th.default=yte});var nh=x(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});rh.default=void 0;var xte=Vl(j8()),kte=Vl(mN()),wte=Vl(rO()),Ete=Vl(aO()),Dte=Vl(va());function Vl(e){return e&&e.__esModule?e:{default:e}}function BE(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=lO(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(p){throw p},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var p=r.next();return a=p.done,p},e:function(p){l=!0,s=p},f:function(){try{a||r.return==null||r.return()}finally{if(l)throw s}}}}function Ul(e,t){return $te(e)||Ste(e,t)||lO(e,t)||Cte()}function Cte(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lO(e,t){if(e){if(typeof e=="string")return oO(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?oO(e,t):void 0}}function oO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function Ste(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,n,s,a,l=[],u=!0,p=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(i=s.call(r)).done)&&(l.push(i.value),l.length!==t);u=!0);}catch(f){p=!0,n=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(p)throw n}}return l}}function $te(e){if(Array.isArray(e))return e}var Ri=[].concat(xte.default,kte.default,wte.default,Ete.default);Ri.forEach(function(e){var t=Ul(e,2),r=t[1],i=BE(r.superClass),n;try{for(i.s();!(n=i.n()).done;){var s=n.value,a=BE(s),l;try{var u=function(){var f=l.value,h=Ri.filter(function(C){var T=Ul(C,1),N=T[0];return N===f})[0];if(h)for(var _=h[1],g=0,b=Object.keys(_.props);g<b.length;g++){var E=b[g];Object.prototype.hasOwnProperty.call(r.props,E)||(r.props[E]=_.props[E])}};for(a.s();!(l=a.n()).done;)u()}catch(p){a.e(p)}finally{a.f()}}}catch(p){i.e(p)}finally{i.f()}});var zE={entries:function(){return Ri},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=BE(Ri),n;try{for(i.s();!(n=i.n()).done;){var s=Ul(n.value,2),a=s[0],l=s[1];t.call(r,l,a,Ri)}}catch(u){i.e(u)}finally{i.f()}},get:function(t){var r=Ri.filter(function(i){return i[0]===t})[0];return r&&r[1]},has:function(t){return!!zE.get(t)},keys:function(){return Ri.map(function(t){var r=Ul(t,1),i=r[0];return i})},values:function(){return Ri.map(function(t){var r=Ul(t,2),i=r[1];return i})}},ARe=rh.default=(0,Dte.default)(zE,zE.entries())});var hO=x(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});lh.default=void 0;var Tte=fO(va()),dO=fO(nh());function fO(e){return e&&e.__esModule?e:{default:e}}function UE(e,t){return Rte(e)||Pte(e,t)||Ate(e,t)||Ite()}function Ite(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ate(e,t){if(e){if(typeof e=="string")return uO(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?uO(e,t):void 0}}function uO(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function Pte(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,n,s,a,l=[],u=!0,p=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(i=s.call(r)).done)&&(l.push(i.value),l.length!==t);u=!0);}catch(f){p=!0,n=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(p)throw n}}return l}}function Rte(e){if(Array.isArray(e))return e}var Ni=[],cO=dO.default.keys();for(ih=0;ih<cO.length;ih++)if(sh=cO[ih],ah=dO.default.get(sh),ah)for(VE=[].concat(ah.baseConcepts,ah.relatedConcepts),pO=function(){var t=VE[oh];if(t.module==="HTML"){var r=t.concept;if(r){var i=Ni.filter(function(l){return Nte(l[0],r)})[0],n;i?n=i[1]:n=[];for(var s=!0,a=0;a<n.length;a++)if(n[a]===sh){s=!1;break}s&&n.push(sh),i||Ni.push([r,n])}}},oh=0;oh<VE.length;oh++)pO();var sh,ah,VE,pO,oh,ih,HE={entries:function(){return Ni},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=Ni;i<n.length;i++){var s=UE(n[i],2),a=s[0],l=s[1];t.call(r,l,a,Ni)}},get:function(t){var r=Ni.filter(function(i){return t.name===i[0].name&&mO(t.attributes,i[0].attributes)})[0];return r&&r[1]},has:function(t){return!!HE.get(t)},keys:function(){return Ni.map(function(t){var r=UE(t,1),i=r[0];return i})},values:function(){return Ni.map(function(t){var r=UE(t,2),i=r[1];return i})}};function Nte(e,t){return e.name===t.name&&Ote(e.constraints,t.constraints)&&mO(e.attributes,t.attributes)}function Ote(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(e[r]!==t[r])return!1}return!0}function mO(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++){if(e[r].name!==t[r].name||e[r].value!==t[r].value||e[r].constraints===void 0&&t[r].constraints!==void 0||e[r].constraints!==void 0&&t[r].constraints===void 0)return!1;if(e[r].constraints!==void 0&&t[r].constraints!==void 0){if(e[r].constraints.length!==t[r].constraints.length)return!1;for(var i=0;i<e[r].constraints.length;i++)if(e[r].constraints[i]!==t[r].constraints[i])return!1}}}return!0}var RRe=lh.default=(0,Tte.default)(HE,HE.entries())});var yO=x(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.default=void 0;var Lte=vO(va()),bO=vO(nh());function vO(e){return e&&e.__esModule?e:{default:e}}function ZE(e,t){return Mte(e)||qte(e,t)||jte(e,t)||Fte()}function Fte(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jte(e,t){if(e){if(typeof e=="string")return _O(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_O(e,t):void 0}}function _O(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=Array(t);r<t;r++)i[r]=e[r];return i}function qte(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i,n,s,a,l=[],u=!0,p=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;u=!1}else for(;!(u=(i=s.call(r)).done)&&(l.push(i.value),l.length!==t);u=!0);}catch(f){p=!0,n=f}finally{try{if(!u&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(p)throw n}}return l}}function Mte(e){if(Array.isArray(e))return e}var ds=[],gO=bO.default.keys();for(uh=0;uh<gO.length;uh++)if(WE=gO[uh],ch=bO.default.get(WE),ph=[],ch){for(GE=[].concat(ch.baseConcepts,ch.relatedConcepts),dh=0;dh<GE.length;dh++)KE=GE[dh],KE.module==="HTML"&&(XE=KE.concept,XE!=null&&ph.push(XE));ph.length>0&&ds.push([WE,ph])}var WE,ch,ph,GE,KE,XE,dh,uh,JE={entries:function(){return ds},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=ds;i<n.length;i++){var s=ZE(n[i],2),a=s[0],l=s[1];t.call(r,l,a,ds)}},get:function(t){var r=ds.filter(function(i){return i[0]===t})[0];return r&&r[1]},has:function(t){return!!JE.get(t)},keys:function(){return ds.map(function(t){var r=ZE(t,1),i=r[0];return i})},values:function(){return ds.map(function(t){var r=ZE(t,2),i=r[1];return i})}},ORe=fh.default=(0,Lte.default)(JE,JE.entries())});var xO=x(Zr=>{"use strict";Object.defineProperty(Zr,"__esModule",{value:!0});Zr.roles=Zr.roleElements=Zr.elementRoles=Zr.dom=Zr.aria=void 0;var Bte=Hl(w8()),zte=Hl(D8()),Ute=Hl(nh()),Vte=Hl(hO()),Hte=Hl(yO());function Hl(e){return e&&e.__esModule?e:{default:e}}var FRe=Zr.aria=Bte.default,jRe=Zr.dom=zte.default,qRe=Zr.roles=Ute.default,MRe=Zr.elementRoles=Vte.default,BRe=Zr.roleElements=Hte.default});var kO=x(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.default=void 0;function Zte(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var n=e[t];return t=t+1,{done:!1,value:n}}else return{done:!0}}};return r}var Wte=Zte;mh.default=Wte});var Zl=x(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});QE.default=Xte;var Gte=Kte(kO());function Kte(e){return e&&e.__esModule?e:{default:e}}function YE(e){"@babel/helpers - typeof";return YE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},YE(e)}function Xte(e,t){return typeof Symbol=="function"&&YE(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Gte.default.bind(t)}),e}});var wO=x(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.default=void 0;var Jte={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"},Yte=Jte;hh.default=Yte});var EO=x(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});_h.default=void 0;var Qte={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"},ere=Qte;_h.default=ere});var DO=x(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.default=void 0;var tre={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"},rre=tre;gh.default=rre});var CO=x(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.default=void 0;var nre={relatedConcepts:[],type:"structure"},ire=nre;bh.default=ire});var SO=x(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.default=void 0;var sre={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"},are=sre;vh.default=are});var $O=x(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.default=void 0;var ore={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"},lre=ore;yh.default=lre});var TO=x(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.default=void 0;var ure={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"},cre=ure;xh.default=cre});var IO=x(kh=>{"use strict";Object.defineProperty(kh,"__esModule",{value:!0});kh.default=void 0;var pre={relatedConcepts:[{module:"ARIA",concept:{name:"banner"}}],type:"structure"},dre=pre;kh.default=dre});var AO=x(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});wh.default=void 0;var fre={relatedConcepts:[{module:"HTML",concept:{name:"blockquote"}}],type:"structure"},mre=fre;wh.default=mre});var PO=x(Eh=>{"use strict";Object.defineProperty(Eh,"__esModule",{value:!0});Eh.default=void 0;var hre={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-busy",value:"true"}]}}],type:"widget"},_re=hre;Eh.default=_re});var RO=x(Dh=>{"use strict";Object.defineProperty(Dh,"__esModule",{value:!0});Dh.default=void 0;var gre={relatedConcepts:[{module:"ARIA",concept:{name:"button"}},{module:"HTML",concept:{name:"button"}}],type:"widget"},bre=gre;Dh.default=bre});var NO=x(Ch=>{"use strict";Object.defineProperty(Ch,"__esModule",{value:!0});Ch.default=void 0;var vre={relatedConcepts:[{module:"HTML",concept:{name:"canvas"}}],type:"widget"},yre=vre;Ch.default=yre});var OO=x(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.default=void 0;var xre={relatedConcepts:[{module:"HTML",concept:{name:"caption"}}],type:"structure"},kre=xre;Sh.default=kre});var LO=x($h=>{"use strict";Object.defineProperty($h,"__esModule",{value:!0});$h.default=void 0;var wre={relatedConcepts:[{module:"ARIA",concept:{name:"cell"}},{module:"ARIA",concept:{name:"gridcell"}},{module:"HTML",concept:{name:"td"}}],type:"widget"},Ere=wre;$h.default=Ere});var FO=x(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.default=void 0;var Dre={relatedConcepts:[{module:"ARIA",concept:{name:"checkbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},Cre=Dre;Th.default=Cre});var jO=x(Ih=>{"use strict";Object.defineProperty(Ih,"__esModule",{value:!0});Ih.default=void 0;var Sre={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"color"}]}}],type:"widget"},$re=Sre;Ih.default=$re});var qO=x(Ah=>{"use strict";Object.defineProperty(Ah,"__esModule",{value:!0});Ah.default=void 0;var Tre={relatedConcepts:[{module:"ARIA",concept:{name:"columnheader"}},{module:"HTML",concept:{name:"th"}}],type:"widget"},Ire=Tre;Ah.default=Ire});var MO=x(Ph=>{"use strict";Object.defineProperty(Ph,"__esModule",{value:!0});Ph.default=void 0;var Are={relatedConcepts:[],type:"structure"},Pre=Are;Ph.default=Pre});var BO=x(Rh=>{"use strict";Object.defineProperty(Rh,"__esModule",{value:!0});Rh.default=void 0;var Rre={relatedConcepts:[{module:"ARIA",concept:{name:"combobox"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},Nre=Rre;Rh.default=Nre});var zO=x(Nh=>{"use strict";Object.defineProperty(Nh,"__esModule",{value:!0});Nh.default=void 0;var Ore={relatedConcepts:[{module:"ARIA",concept:{name:"complementary"}}],type:"structure"},Lre=Ore;Nh.default=Lre});var UO=x(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});Oh.default=void 0;var Fre={relatedConcepts:[{module:"ARIA",concept:{name:"structureinfo"}}],type:"structure"},jre=Fre;Oh.default=jre});var VO=x(Lh=>{"use strict";Object.defineProperty(Lh,"__esModule",{value:!0});Lh.default=void 0;var qre={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"date"}]}}],type:"widget"},Mre=qre;Lh.default=Mre});var HO=x(Fh=>{"use strict";Object.defineProperty(Fh,"__esModule",{value:!0});Fh.default=void 0;var Bre={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"datetime"}]}}],type:"widget"},zre=Bre;Fh.default=zre});var ZO=x(jh=>{"use strict";Object.defineProperty(jh,"__esModule",{value:!0});jh.default=void 0;var Ure={relatedConcepts:[{module:"HTML",concept:{name:"dfn"}}],type:"structure"},Vre=Ure;jh.default=Vre});var WO=x(qh=>{"use strict";Object.defineProperty(qh,"__esModule",{value:!0});qh.default=void 0;var Hre={relatedConcepts:[{module:"HTML",concept:{name:"dd"}}],type:"structure"},Zre=Hre;qh.default=Zre});var GO=x(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});Mh.default=void 0;var Wre={relatedConcepts:[{module:"HTML",concept:{name:"dl"}}],type:"structure"},Gre=Wre;Mh.default=Gre});var KO=x(Bh=>{"use strict";Object.defineProperty(Bh,"__esModule",{value:!0});Bh.default=void 0;var Kre={relatedConcepts:[{module:"HTML",concept:{name:"dt"}}],type:"structure"},Xre=Kre;Bh.default=Xre});var XO=x(zh=>{"use strict";Object.defineProperty(zh,"__esModule",{value:!0});zh.default=void 0;var Jre={relatedConcepts:[{module:"HTML",concept:{name:"details"}}],type:"structure"},Yre=Jre;zh.default=Yre});var JO=x(Uh=>{"use strict";Object.defineProperty(Uh,"__esModule",{value:!0});Uh.default=void 0;var Qre={relatedConcepts:[{module:"ARIA",concept:{name:"dialog"}},{module:"HTML",concept:{name:"dialog"}}],type:"window"},ene=Qre;Uh.default=ene});var YO=x(Vh=>{"use strict";Object.defineProperty(Vh,"__esModule",{value:!0});Vh.default=void 0;var tne={relatedConcepts:[{module:"ARIA",concept:{name:"directory"}},{module:"HTML",concept:{name:"dir"}}],type:"structure"},rne=tne;Vh.default=rne});var QO=x(Hh=>{"use strict";Object.defineProperty(Hh,"__esModule",{value:!0});Hh.default=void 0;var nne={relatedConcepts:[{module:"HTML",concept:{constraints:["scoped to a details element"],name:"summary"}}],type:"widget"},ine=nne;Hh.default=ine});var e3=x(Zh=>{"use strict";Object.defineProperty(Zh,"__esModule",{value:!0});Zh.default=void 0;var sne={relatedConcepts:[{module:"HTML",concept:{name:"div"}}],type:"generic"},ane=sne;Zh.default=ane});var t3=x(Wh=>{"use strict";Object.defineProperty(Wh,"__esModule",{value:!0});Wh.default=void 0;var one={relatedConcepts:[{module:"ARIA",concept:{name:"document"}}],type:"structure"},lne=one;Wh.default=lne});var r3=x(Gh=>{"use strict";Object.defineProperty(Gh,"__esModule",{value:!0});Gh.default=void 0;var une={relatedConcepts:[{module:"HTML",concept:{name:"embed"}}],type:"widget"},cne=une;Gh.default=cne});var n3=x(Kh=>{"use strict";Object.defineProperty(Kh,"__esModule",{value:!0});Kh.default=void 0;var pne={relatedConcepts:[{module:"ARIA",concept:{name:"feed"}}],type:"structure"},dne=pne;Kh.default=dne});var i3=x(Xh=>{"use strict";Object.defineProperty(Xh,"__esModule",{value:!0});Xh.default=void 0;var fne={relatedConcepts:[{module:"HTML",concept:{name:"figcaption"}}],type:"structure"},mne=fne;Xh.default=mne});var s3=x(Jh=>{"use strict";Object.defineProperty(Jh,"__esModule",{value:!0});Jh.default=void 0;var hne={relatedConcepts:[{module:"ARIA",concept:{name:"figure"}},{module:"HTML",concept:{name:"figure"}}],type:"structure"},_ne=hne;Jh.default=_ne});var a3=x(Yh=>{"use strict";Object.defineProperty(Yh,"__esModule",{value:!0});Yh.default=void 0;var gne={relatedConcepts:[{module:"HTML",concept:{name:"footer"}}],type:"structure"},bne=gne;Yh.default=bne});var o3=x(Qh=>{"use strict";Object.defineProperty(Qh,"__esModule",{value:!0});Qh.default=void 0;var vne={relatedConcepts:[{module:"ARIA",concept:{name:"form"}},{module:"HTML",concept:{name:"form"}}],type:"structure"},yne=vne;Qh.default=yne});var l3=x(e1=>{"use strict";Object.defineProperty(e1,"__esModule",{value:!0});e1.default=void 0;var xne={relatedConcepts:[{module:"ARIA",concept:{name:"grid"}}],type:"widget"},kne=xne;e1.default=kne});var u3=x(t1=>{"use strict";Object.defineProperty(t1,"__esModule",{value:!0});t1.default=void 0;var wne={relatedConcepts:[{module:"ARIA",concept:{name:"group"}}],type:"structure"},Ene=wne;t1.default=Ene});var c3=x(r1=>{"use strict";Object.defineProperty(r1,"__esModule",{value:!0});r1.default=void 0;var Dne={relatedConcepts:[{module:"ARIA",concept:{name:"heading"}},{module:"HTML",concept:{name:"h1"}},{module:"HTML",concept:{name:"h2"}},{module:"HTML",concept:{name:"h3"}},{module:"HTML",concept:{name:"h4"}},{module:"HTML",concept:{name:"h5"}},{module:"HTML",concept:{name:"h6"}}],type:"structure"},Cne=Dne;r1.default=Cne});var p3=x(n1=>{"use strict";Object.defineProperty(n1,"__esModule",{value:!0});n1.default=void 0;var Sne={relatedConcepts:[],type:"window"},$ne=Sne;n1.default=$ne});var d3=x(i1=>{"use strict";Object.defineProperty(i1,"__esModule",{value:!0});i1.default=void 0;var Tne={relatedConcepts:[{module:"HTML",concept:{name:"iframe"}}],type:"window"},Ine=Tne;i1.default=Ine});var f3=x(s1=>{"use strict";Object.defineProperty(s1,"__esModule",{value:!0});s1.default=void 0;var Ane={relatedConcepts:[],type:"structure"},Pne=Ane;s1.default=Pne});var m3=x(a1=>{"use strict";Object.defineProperty(a1,"__esModule",{value:!0});a1.default=void 0;var Rne={relatedConcepts:[],type:"widget"},Nne=Rne;a1.default=Nne});var h3=x(o1=>{"use strict";Object.defineProperty(o1,"__esModule",{value:!0});o1.default=void 0;var One={relatedConcepts:[{module:"HTML",concept:{name:"img",attributes:[{name:"usemap"}]}}],type:"structure"},Lne=One;o1.default=Lne});var _3=x(l1=>{"use strict";Object.defineProperty(l1,"__esModule",{value:!0});l1.default=void 0;var Fne={relatedConcepts:[{module:"ARIA",concept:{name:"img"}},{module:"HTML",concept:{name:"img"}}],type:"structure"},jne=Fne;l1.default=jne});var g3=x(u1=>{"use strict";Object.defineProperty(u1,"__esModule",{value:!0});u1.default=void 0;var qne={relatedConcepts:[{module:"HTML",concept:{name:"input"}}],type:"widget"},Mne=qne;u1.default=Mne});var b3=x(c1=>{"use strict";Object.defineProperty(c1,"__esModule",{value:!0});c1.default=void 0;var Bne={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"time"}]}}],type:"widget"},zne=Bne;c1.default=zne});var v3=x(p1=>{"use strict";Object.defineProperty(p1,"__esModule",{value:!0});p1.default=void 0;var Une={relatedConcepts:[{module:"HTML",concept:{name:"label"}}],type:"structure"},Vne=Une;p1.default=Vne});var y3=x(d1=>{"use strict";Object.defineProperty(d1,"__esModule",{value:!0});d1.default=void 0;var Hne={relatedConcepts:[{module:"HTML",concept:{name:"legend"}}],type:"structure"},Zne=Hne;d1.default=Zne});var x3=x(f1=>{"use strict";Object.defineProperty(f1,"__esModule",{value:!0});f1.default=void 0;var Wne={relatedConcepts:[{module:"HTML",concept:{name:"br"}}],type:"structure"},Gne=Wne;f1.default=Gne});var k3=x(m1=>{"use strict";Object.defineProperty(m1,"__esModule",{value:!0});m1.default=void 0;var Kne={relatedConcepts:[{module:"ARIA",concept:{name:"link"}},{module:"HTML",concept:{name:"a",attributes:[{name:"href"}]}}],type:"widget"},Xne=Kne;m1.default=Xne});var w3=x(h1=>{"use strict";Object.defineProperty(h1,"__esModule",{value:!0});h1.default=void 0;var Jne={relatedConcepts:[{module:"ARIA",concept:{name:"option"}},{module:"HTML",concept:{name:"option"}}],type:"widget"},Yne=Jne;h1.default=Yne});var E3=x(_1=>{"use strict";Object.defineProperty(_1,"__esModule",{value:!0});_1.default=void 0;var Qne={relatedConcepts:[{module:"ARIA",concept:{name:"listbox"}},{module:"HTML",concept:{name:"datalist"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},eie=Qne;_1.default=eie});var D3=x(g1=>{"use strict";Object.defineProperty(g1,"__esModule",{value:!0});g1.default=void 0;var tie={relatedConcepts:[{module:"ARIA",concept:{name:"listitem"}},{module:"HTML",concept:{name:"li"}}],type:"structure"},rie=tie;g1.default=rie});var C3=x(b1=>{"use strict";Object.defineProperty(b1,"__esModule",{value:!0});b1.default=void 0;var nie={relatedConcepts:[],type:"structure"},iie=nie;b1.default=iie});var S3=x(v1=>{"use strict";Object.defineProperty(v1,"__esModule",{value:!0});v1.default=void 0;var sie={relatedConcepts:[{module:"ARIA",concept:{name:"list"}},{module:"HTML",concept:{name:"ul"}},{module:"HTML",concept:{name:"ol"}}],type:"structure"},aie=sie;v1.default=aie});var $3=x(y1=>{"use strict";Object.defineProperty(y1,"__esModule",{value:!0});y1.default=void 0;var oie={relatedConcepts:[{module:"ARIA",concept:{name:"log"}}],type:"structure"},lie=oie;y1.default=lie});var T3=x(x1=>{"use strict";Object.defineProperty(x1,"__esModule",{value:!0});x1.default=void 0;var uie={relatedConcepts:[{module:"ARIA",concept:{name:"main"}},{module:"HTML",concept:{name:"main"}}],type:"structure"},cie=uie;x1.default=cie});var I3=x(k1=>{"use strict";Object.defineProperty(k1,"__esModule",{value:!0});k1.default=void 0;var pie={relatedConcepts:[{module:"HTML",concept:{name:"mark"}}],type:"structure"},die=pie;k1.default=die});var A3=x(w1=>{"use strict";Object.defineProperty(w1,"__esModule",{value:!0});w1.default=void 0;var fie={relatedConcepts:[{module:"ARIA",concept:{name:"marquee"}},{module:"HTML",concept:{name:"marquee"}}],type:"structure"},mie=fie;w1.default=mie});var P3=x(E1=>{"use strict";Object.defineProperty(E1,"__esModule",{value:!0});E1.default=void 0;var hie={relatedConcepts:[{module:"ARIA",concept:{name:"math"}}],type:"structure"},_ie=hie;E1.default=_ie});var R3=x(D1=>{"use strict";Object.defineProperty(D1,"__esModule",{value:!0});D1.default=void 0;var gie={relatedConcepts:[{module:"ARIA",concept:{name:"menubar"}}],type:"structure"},bie=gie;D1.default=bie});var N3=x(C1=>{"use strict";Object.defineProperty(C1,"__esModule",{value:!0});C1.default=void 0;var vie={relatedConcepts:[],type:"widget"},yie=vie;C1.default=yie});var O3=x(S1=>{"use strict";Object.defineProperty(S1,"__esModule",{value:!0});S1.default=void 0;var xie={relatedConcepts:[{module:"ARIA",concept:{name:"menuitem"}},{module:"HTML",concept:{name:"menuitem"}}],type:"widget"},kie=xie;S1.default=kie});var L3=x($1=>{"use strict";Object.defineProperty($1,"__esModule",{value:!0});$1.default=void 0;var wie={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemcheckbox"}}],type:"widget"},Eie=wie;$1.default=Eie});var F3=x(T1=>{"use strict";Object.defineProperty(T1,"__esModule",{value:!0});T1.default=void 0;var Die={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemradio"}}],type:"widget"},Cie=Die;T1.default=Cie});var j3=x(I1=>{"use strict";Object.defineProperty(I1,"__esModule",{value:!0});I1.default=void 0;var Sie={relatedConcepts:[],type:"widget"},$ie=Sie;I1.default=$ie});var q3=x(A1=>{"use strict";Object.defineProperty(A1,"__esModule",{value:!0});A1.default=void 0;var Tie={relatedConcepts:[],type:"widget"},Iie=Tie;A1.default=Iie});var M3=x(P1=>{"use strict";Object.defineProperty(P1,"__esModule",{value:!0});P1.default=void 0;var Aie={relatedConcepts:[{module:"ARIA",concept:{name:"menu"}},{module:"HTML",concept:{name:"menu"}}],type:"structure"},Pie=Aie;P1.default=Pie});var B3=x(R1=>{"use strict";Object.defineProperty(R1,"__esModule",{value:!0});R1.default=void 0;var Rie={relatedConcepts:[{module:"HTML",concept:{name:"meter"}}],type:"structure"},Nie=Rie;R1.default=Nie});var z3=x(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});N1.default=void 0;var Oie={relatedConcepts:[{module:"ARIA",concept:{name:"navigation"}},{module:"HTML",concept:{name:"nav"}}],type:"structure"},Lie=Oie;N1.default=Lie});var U3=x(O1=>{"use strict";Object.defineProperty(O1,"__esModule",{value:!0});O1.default=void 0;var Fie={relatedConcepts:[{module:"ARIA",concept:{name:"none"}}],type:"structure"},jie=Fie;O1.default=jie});var V3=x(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});L1.default=void 0;var qie={relatedConcepts:[{module:"ARIA",concept:{name:"note"}}],type:"structure"},Mie=qie;L1.default=Mie});var H3=x(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});F1.default=void 0;var Bie={relatedConcepts:[],type:"structure"},zie=Bie;F1.default=zie});var Z3=x(j1=>{"use strict";Object.defineProperty(j1,"__esModule",{value:!0});j1.default=void 0;var Uie={relatedConcepts:[{module:"HTML",concept:{name:"p"}}],type:"structure"},Vie=Uie;j1.default=Vie});var W3=x(q1=>{"use strict";Object.defineProperty(q1,"__esModule",{value:!0});q1.default=void 0;var Hie={relatedConcepts:[],type:"widget"},Zie=Hie;q1.default=Zie});var G3=x(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.default=void 0;var Wie={relatedConcepts:[{module:"HTML",concept:{name:"pre"}}],type:"structure"},Gie=Wie;M1.default=Gie});var K3=x(B1=>{"use strict";Object.defineProperty(B1,"__esModule",{value:!0});B1.default=void 0;var Kie={relatedConcepts:[{module:"ARIA",concept:{name:"presentation"}}],type:"structure"},Xie=Kie;B1.default=Xie});var X3=x(z1=>{"use strict";Object.defineProperty(z1,"__esModule",{value:!0});z1.default=void 0;var Jie={relatedConcepts:[{module:"ARIA",concept:{name:"progressbar"}},{module:"HTML",concept:{name:"progress"}}],type:"structure"},Yie=Jie;z1.default=Yie});var J3=x(U1=>{"use strict";Object.defineProperty(U1,"__esModule",{value:!0});U1.default=void 0;var Qie={relatedConcepts:[{module:"ARIA",concept:{name:"radio"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"radio"}]}}],type:"widget"},ese=Qie;U1.default=ese});var Y3=x(V1=>{"use strict";Object.defineProperty(V1,"__esModule",{value:!0});V1.default=void 0;var tse={relatedConcepts:[{module:"ARIA",concept:{name:"radiogroup"}}],type:"structure"},rse=tse;V1.default=rse});var Q3=x(H1=>{"use strict";Object.defineProperty(H1,"__esModule",{value:!0});H1.default=void 0;var nse={relatedConcepts:[{module:"ARIA",concept:{name:"region"}}],type:"structure"},ise=nse;H1.default=ise});var e4=x(Z1=>{"use strict";Object.defineProperty(Z1,"__esModule",{value:!0});Z1.default=void 0;var sse={relatedConcepts:[],type:"structure"},ase=sse;Z1.default=ase});var t4=x(W1=>{"use strict";Object.defineProperty(W1,"__esModule",{value:!0});W1.default=void 0;var ose={relatedConcepts:[{module:"ARIA",concept:{name:"rowheader"}},{module:"HTML",concept:{name:"th",attributes:[{name:"scope",value:"row"}]}}],type:"widget"},lse=ose;W1.default=lse});var r4=x(G1=>{"use strict";Object.defineProperty(G1,"__esModule",{value:!0});G1.default=void 0;var use={relatedConcepts:[{module:"ARIA",concept:{name:"row"}},{module:"HTML",concept:{name:"tr"}}],type:"structure"},cse=use;G1.default=cse});var n4=x(K1=>{"use strict";Object.defineProperty(K1,"__esModule",{value:!0});K1.default=void 0;var pse={relatedConcepts:[{module:"HTML",concept:{name:"ruby"}}],type:"structure"},dse=pse;K1.default=dse});var i4=x(X1=>{"use strict";Object.defineProperty(X1,"__esModule",{value:!0});X1.default=void 0;var fse={relatedConcepts:[],type:"structure"},mse=fse;X1.default=mse});var s4=x(J1=>{"use strict";Object.defineProperty(J1,"__esModule",{value:!0});J1.default=void 0;var hse={relatedConcepts:[],type:"structure"},_se=hse;J1.default=_se});var a4=x(Y1=>{"use strict";Object.defineProperty(Y1,"__esModule",{value:!0});Y1.default=void 0;var gse={relatedConcepts:[{module:"ARIA",concept:{name:"scrollbar"}}],type:"widget"},bse=gse;Y1.default=bse});var o4=x(Q1=>{"use strict";Object.defineProperty(Q1,"__esModule",{value:!0});Q1.default=void 0;var vse={relatedConcepts:[],type:"structure"},yse=vse;Q1.default=yse});var l4=x(e_=>{"use strict";Object.defineProperty(e_,"__esModule",{value:!0});e_.default=void 0;var xse={relatedConcepts:[{module:"ARIA",concept:{name:"search"}}],type:"structure"},kse=xse;e_.default=kse});var u4=x(t_=>{"use strict";Object.defineProperty(t_,"__esModule",{value:!0});t_.default=void 0;var wse={relatedConcepts:[{module:"ARIA",concept:{name:"searchbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"search"}]}}],type:"widget"},Ese=wse;t_.default=Ese});var c4=x(r_=>{"use strict";Object.defineProperty(r_,"__esModule",{value:!0});r_.default=void 0;var Dse={relatedConcepts:[{module:"ARIA",concept:{name:"slider"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"range"}]}}],type:"widget"},Cse=Dse;r_.default=Cse});var p4=x(n_=>{"use strict";Object.defineProperty(n_,"__esModule",{value:!0});n_.default=void 0;var Sse={relatedConcepts:[],type:"structure"},$se=Sse;n_.default=$se});var d4=x(i_=>{"use strict";Object.defineProperty(i_,"__esModule",{value:!0});i_.default=void 0;var Tse={relatedConcepts:[{module:"ARIA",concept:{name:"spinbutton"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"number"}]}}],type:"widget"},Ise=Tse;i_.default=Ise});var f4=x(s_=>{"use strict";Object.defineProperty(s_,"__esModule",{value:!0});s_.default=void 0;var Ase={relatedConcepts:[],type:"structure"},Pse=Ase;s_.default=Pse});var m4=x(a_=>{"use strict";Object.defineProperty(a_,"__esModule",{value:!0});a_.default=void 0;var Rse={relatedConcepts:[{module:"ARIA",concept:{name:"separator"}}],type:"widget"},Nse=Rse;a_.default=Nse});var h4=x(o_=>{"use strict";Object.defineProperty(o_,"__esModule",{value:!0});o_.default=void 0;var Ose={relatedConcepts:[],type:"structure"},Lse=Ose;o_.default=Lse});var _4=x(l_=>{"use strict";Object.defineProperty(l_,"__esModule",{value:!0});l_.default=void 0;var Fse={relatedConcepts:[{module:"ARIA",concept:{name:"status"}}],type:"structure"},jse=Fse;l_.default=jse});var g4=x(u_=>{"use strict";Object.defineProperty(u_,"__esModule",{value:!0});u_.default=void 0;var qse={relatedConcepts:[],type:"structure"},Mse=qse;u_.default=Mse});var b4=x(c_=>{"use strict";Object.defineProperty(c_,"__esModule",{value:!0});c_.default=void 0;var Bse={relatedConcepts:[{module:"ARIA",concept:{name:"switch"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},zse=Bse;c_.default=zse});var v4=x(p_=>{"use strict";Object.defineProperty(p_,"__esModule",{value:!0});p_.default=void 0;var Use={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},Vse=Use;p_.default=Vse});var y4=x(d_=>{"use strict";Object.defineProperty(d_,"__esModule",{value:!0});d_.default=void 0;var Hse={relatedConcepts:[{module:"ARIA",concept:{name:"tab"}}],type:"widget"},Zse=Hse;d_.default=Zse});var x4=x(f_=>{"use strict";Object.defineProperty(f_,"__esModule",{value:!0});f_.default=void 0;var Wse={relatedConcepts:[],type:"structure"},Gse=Wse;f_.default=Gse});var k4=x(m_=>{"use strict";Object.defineProperty(m_,"__esModule",{value:!0});m_.default=void 0;var Kse={relatedConcepts:[{module:"ARIA",concept:{name:"table"}},{module:"HTML",concept:{name:"table"}}],type:"structure"},Xse=Kse;m_.default=Xse});var w4=x(h_=>{"use strict";Object.defineProperty(h_,"__esModule",{value:!0});h_.default=void 0;var Jse={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},Yse=Jse;h_.default=Yse});var E4=x(__=>{"use strict";Object.defineProperty(__,"__esModule",{value:!0});__.default=void 0;var Qse={relatedConcepts:[{module:"ARIA",concept:{name:"tabpanel"}}],type:"structure"},eae=Qse;__.default=eae});var D4=x(g_=>{"use strict";Object.defineProperty(g_,"__esModule",{value:!0});g_.default=void 0;var tae={relatedConcepts:[{module:"ARIA",concept:{name:"term"}}],type:"structure"},rae=tae;g_.default=rae});var C4=x(b_=>{"use strict";Object.defineProperty(b_,"__esModule",{value:!0});b_.default=void 0;var nae={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-multiline",value:"true"}],name:"textbox"}},{module:"HTML",concept:{name:"textarea"}}],type:"widget"},iae=nae;b_.default=iae});var S4=x(v_=>{"use strict";Object.defineProperty(v_,"__esModule",{value:!0});v_.default=void 0;var sae={relatedConcepts:[{module:"ARIA",concept:{name:"textbox"}},{module:"HTML",concept:{name:"input"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"text"}]}}],type:"widget"},aae=sae;v_.default=aae});var $4=x(y_=>{"use strict";Object.defineProperty(y_,"__esModule",{value:!0});y_.default=void 0;var oae={relatedConcepts:[{module:"HTML",concept:{name:"time"}}],type:"structure"},lae=oae;y_.default=lae});var T4=x(x_=>{"use strict";Object.defineProperty(x_,"__esModule",{value:!0});x_.default=void 0;var uae={relatedConcepts:[{module:"ARIA",concept:{name:"timer"}}],type:"structure"},cae=uae;x_.default=cae});var I4=x(k_=>{"use strict";Object.defineProperty(k_,"__esModule",{value:!0});k_.default=void 0;var pae={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-pressed"}]}}],type:"widget"},dae=pae;k_.default=dae});var A4=x(w_=>{"use strict";Object.defineProperty(w_,"__esModule",{value:!0});w_.default=void 0;var fae={relatedConcepts:[{module:"ARIA",concept:{name:"toolbar"}}],type:"structure"},mae=fae;w_.default=mae});var P4=x(E_=>{"use strict";Object.defineProperty(E_,"__esModule",{value:!0});E_.default=void 0;var hae={relatedConcepts:[{module:"ARIA",concept:{name:"tree"}}],type:"widget"},_ae=hae;E_.default=_ae});var R4=x(D_=>{"use strict";Object.defineProperty(D_,"__esModule",{value:!0});D_.default=void 0;var gae={relatedConcepts:[{module:"ARIA",concept:{name:"treegrid"}}],type:"widget"},bae=gae;D_.default=bae});var N4=x(C_=>{"use strict";Object.defineProperty(C_,"__esModule",{value:!0});C_.default=void 0;var vae={relatedConcepts:[{module:"ARIA",concept:{name:"treeitem"}}],type:"widget"},yae=vae;C_.default=yae});var O4=x(S_=>{"use strict";Object.defineProperty(S_,"__esModule",{value:!0});S_.default=void 0;var xae={relatedConcepts:[{module:"ARIA",concept:{name:"tooltip"}}],type:"structure"},kae=xae;S_.default=kae});var L4=x($_=>{"use strict";Object.defineProperty($_,"__esModule",{value:!0});$_.default=void 0;var wae={relatedConcepts:[{module:"HTML",concept:{name:"video"}}],type:"widget"},Eae=wae;$_.default=Eae});var F4=x(T_=>{"use strict";Object.defineProperty(T_,"__esModule",{value:!0});T_.default=void 0;var Dae={relatedConcepts:[],type:"structure"},Cae=Dae;T_.default=Cae});var j4=x(I_=>{"use strict";Object.defineProperty(I_,"__esModule",{value:!0});I_.default=void 0;var Sae={relatedConcepts:[],type:"window"},$ae=Sae;I_.default=$ae});var Wl=x(A_=>{"use strict";Object.defineProperty(A_,"__esModule",{value:!0});A_.default=void 0;var Tae=M(Zl()),Iae=M(wO()),Aae=M(EO()),Pae=M(DO()),Rae=M(CO()),Nae=M(SO()),Oae=M($O()),Lae=M(TO()),Fae=M(IO()),jae=M(AO()),qae=M(PO()),Mae=M(RO()),Bae=M(NO()),zae=M(OO()),Uae=M(LO()),Vae=M(FO()),Hae=M(jO()),Zae=M(qO()),Wae=M(MO()),Gae=M(BO()),Kae=M(zO()),Xae=M(UO()),Jae=M(VO()),Yae=M(HO()),Qae=M(ZO()),eoe=M(WO()),toe=M(GO()),roe=M(KO()),noe=M(XO()),ioe=M(JO()),soe=M(YO()),aoe=M(QO()),ooe=M(e3()),loe=M(t3()),uoe=M(r3()),coe=M(n3()),poe=M(i3()),doe=M(s3()),foe=M(a3()),moe=M(o3()),hoe=M(l3()),_oe=M(u3()),goe=M(c3()),boe=M(p3()),voe=M(d3()),yoe=M(f3()),xoe=M(m3()),koe=M(h3()),woe=M(_3()),Eoe=M(g3()),Doe=M(b3()),Coe=M(v3()),Soe=M(y3()),$oe=M(x3()),Toe=M(k3()),Ioe=M(w3()),Aoe=M(E3()),Poe=M(D3()),Roe=M(C3()),Noe=M(S3()),Ooe=M($3()),Loe=M(T3()),Foe=M(I3()),joe=M(A3()),qoe=M(P3()),Moe=M(R3()),Boe=M(N3()),zoe=M(O3()),Uoe=M(L3()),Voe=M(F3()),Hoe=M(j3()),Zoe=M(q3()),Woe=M(M3()),Goe=M(B3()),Koe=M(z3()),Xoe=M(U3()),Joe=M(V3()),Yoe=M(H3()),Qoe=M(Z3()),ele=M(W3()),tle=M(G3()),rle=M(K3()),nle=M(X3()),ile=M(J3()),sle=M(Y3()),ale=M(Q3()),ole=M(e4()),lle=M(t4()),ule=M(r4()),cle=M(n4()),ple=M(i4()),dle=M(s4()),fle=M(a4()),mle=M(o4()),hle=M(l4()),_le=M(u4()),gle=M(c4()),ble=M(p4()),vle=M(d4()),yle=M(f4()),xle=M(m4()),kle=M(h4()),wle=M(_4()),Ele=M(g4()),Dle=M(b4()),Cle=M(v4()),Sle=M(y4()),$le=M(x4()),Tle=M(k4()),Ile=M(w4()),Ale=M(E4()),Ple=M(D4()),Rle=M(C4()),Nle=M(S4()),Ole=M($4()),Lle=M(T4()),Fle=M(I4()),jle=M(A4()),qle=M(P4()),Mle=M(R4()),Ble=M(N4()),zle=M(O4()),Ule=M(L4()),Vle=M(F4()),Hle=M(j4());function M(e){return e&&e.__esModule?e:{default:e}}function eD(e,t){return Kle(e)||Gle(e,t)||Wle(e,t)||Zle()}function Zle(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Wle(e,t){if(e){if(typeof e=="string")return q4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return q4(e,t)}}function q4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}function Gle(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],n=!0,s=!1,a,l;try{for(r=r.call(e);!(n=(a=r.next()).done)&&(i.push(a.value),!(t&&i.length===t));n=!0);}catch(u){s=!0,l=u}finally{try{!n&&r.return!=null&&r.return()}finally{if(s)throw l}}return i}}function Kle(e){if(Array.isArray(e))return e}var ka=[["AbbrRole",Iae.default],["AlertDialogRole",Aae.default],["AlertRole",Pae.default],["AnnotationRole",Rae.default],["ApplicationRole",Nae.default],["ArticleRole",Oae.default],["AudioRole",Lae.default],["BannerRole",Fae.default],["BlockquoteRole",jae.default],["BusyIndicatorRole",qae.default],["ButtonRole",Mae.default],["CanvasRole",Bae.default],["CaptionRole",zae.default],["CellRole",Uae.default],["CheckBoxRole",Vae.default],["ColorWellRole",Hae.default],["ColumnHeaderRole",Zae.default],["ColumnRole",Wae.default],["ComboBoxRole",Gae.default],["ComplementaryRole",Kae.default],["ContentInfoRole",Xae.default],["DateRole",Jae.default],["DateTimeRole",Yae.default],["DefinitionRole",Qae.default],["DescriptionListDetailRole",eoe.default],["DescriptionListRole",toe.default],["DescriptionListTermRole",roe.default],["DetailsRole",noe.default],["DialogRole",ioe.default],["DirectoryRole",soe.default],["DisclosureTriangleRole",aoe.default],["DivRole",ooe.default],["DocumentRole",loe.default],["EmbeddedObjectRole",uoe.default],["FeedRole",coe.default],["FigcaptionRole",poe.default],["FigureRole",doe.default],["FooterRole",foe.default],["FormRole",moe.default],["GridRole",hoe.default],["GroupRole",_oe.default],["HeadingRole",goe.default],["IframePresentationalRole",boe.default],["IframeRole",voe.default],["IgnoredRole",yoe.default],["ImageMapLinkRole",xoe.default],["ImageMapRole",koe.default],["ImageRole",woe.default],["InlineTextBoxRole",Eoe.default],["InputTimeRole",Doe.default],["LabelRole",Coe.default],["LegendRole",Soe.default],["LineBreakRole",$oe.default],["LinkRole",Toe.default],["ListBoxOptionRole",Ioe.default],["ListBoxRole",Aoe.default],["ListItemRole",Poe.default],["ListMarkerRole",Roe.default],["ListRole",Noe.default],["LogRole",Ooe.default],["MainRole",Loe.default],["MarkRole",Foe.default],["MarqueeRole",joe.default],["MathRole",qoe.default],["MenuBarRole",Moe.default],["MenuButtonRole",Boe.default],["MenuItemRole",zoe.default],["MenuItemCheckBoxRole",Uoe.default],["MenuItemRadioRole",Voe.default],["MenuListOptionRole",Hoe.default],["MenuListPopupRole",Zoe.default],["MenuRole",Woe.default],["MeterRole",Goe.default],["NavigationRole",Koe.default],["NoneRole",Xoe.default],["NoteRole",Joe.default],["OutlineRole",Yoe.default],["ParagraphRole",Qoe.default],["PopUpButtonRole",ele.default],["PreRole",tle.default],["PresentationalRole",rle.default],["ProgressIndicatorRole",nle.default],["RadioButtonRole",ile.default],["RadioGroupRole",sle.default],["RegionRole",ale.default],["RootWebAreaRole",ole.default],["RowHeaderRole",lle.default],["RowRole",ule.default],["RubyRole",cle.default],["RulerRole",ple.default],["ScrollAreaRole",dle.default],["ScrollBarRole",fle.default],["SeamlessWebAreaRole",mle.default],["SearchRole",hle.default],["SearchBoxRole",_le.default],["SliderRole",gle.default],["SliderThumbRole",ble.default],["SpinButtonRole",vle.default],["SpinButtonPartRole",yle.default],["SplitterRole",xle.default],["StaticTextRole",kle.default],["StatusRole",wle.default],["SVGRootRole",Ele.default],["SwitchRole",Dle.default],["TabGroupRole",Cle.default],["TabRole",Sle.default],["TableHeaderContainerRole",$le.default],["TableRole",Tle.default],["TabListRole",Ile.default],["TabPanelRole",Ale.default],["TermRole",Ple.default],["TextAreaRole",Rle.default],["TextFieldRole",Nle.default],["TimeRole",Ole.default],["TimerRole",Lle.default],["ToggleButtonRole",Fle.default],["ToolbarRole",jle.default],["TreeRole",qle.default],["TreeGridRole",Mle.default],["TreeItemRole",Ble.default],["UserInterfaceTooltipRole",zle.default],["VideoRole",Ule.default],["WebAreaRole",Vle.default],["WindowRole",Hle.default]],tD={entries:function(){return ka},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=ka;i<n.length;i++){var s=eD(n[i],2),a=s[0],l=s[1];t.call(r,l,a,ka)}},get:function(t){var r=ka.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!tD.get(t)},keys:function(){return ka.map(function(t){var r=eD(t,1),i=r[0];return i})},values:function(){return ka.map(function(t){var r=eD(t,2),i=r[1];return i})}},Xle=(0,Tae.default)(tD,tD.entries());A_.default=Xle});var H4=x(R_=>{"use strict";Object.defineProperty(R_,"__esModule",{value:!0});R_.default=void 0;var Jle=U4(Zl()),Yle=U4(Wl());function U4(e){return e&&e.__esModule?e:{default:e}}function Gl(e,t){return tue(e)||eue(e,t)||V4(e,t)||Qle()}function Qle(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function eue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],n=!0,s=!1,a,l;try{for(r=r.call(e);!(n=(a=r.next()).done)&&(i.push(a.value),!(t&&i.length===t));n=!0);}catch(u){s=!0,l=u}finally{try{!n&&r.return!=null&&r.return()}finally{if(s)throw l}}return i}}function tue(e){if(Array.isArray(e))return e}function rue(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=V4(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(p){throw p},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,l;return{s:function(){r=r.call(e)},n:function(){var p=r.next();return s=p.done,p},e:function(p){a=!0,l=p},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw l}}}}function V4(e,t){if(e){if(typeof e=="string")return M4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return M4(e,t)}}function M4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var yn=[],P_=rue(Yle.default.entries()),B4;try{for(z4=function(){var t=Gl(B4.value,2),r=t[0],i=t[1],n=i.relatedConcepts;Array.isArray(n)&&n.forEach(function(s){if(s.module==="HTML"){var a=s.concept;if(a){var l=yn.findIndex(function(u){var p=Gl(u,1),f=p[0];return f===r});l===-1&&(yn.push([r,[]]),l=yn.length-1),yn[l][1].push(a)}}})},P_.s();!(B4=P_.n()).done;)z4()}catch(e){P_.e(e)}finally{P_.f()}var z4,rD={entries:function(){return yn},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=yn;i<n.length;i++){var s=Gl(n[i],2),a=s[0],l=s[1];t.call(r,l,a,yn)}},get:function(t){var r=yn.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!rD.get(t)},keys:function(){return yn.map(function(t){var r=Gl(t,1),i=r[0];return i})},values:function(){return yn.map(function(t){var r=Gl(t,2),i=r[1];return i})}},nue=(0,Jle.default)(rD,rD.entries());R_.default=nue});var J4=x(O_=>{"use strict";Object.defineProperty(O_,"__esModule",{value:!0});O_.default=void 0;var iue=K4(Zl()),sue=K4(Wl());function K4(e){return e&&e.__esModule?e:{default:e}}function Kl(e,t){return lue(e)||oue(e,t)||X4(e,t)||aue()}function aue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],n=!0,s=!1,a,l;try{for(r=r.call(e);!(n=(a=r.next()).done)&&(i.push(a.value),!(t&&i.length===t));n=!0);}catch(u){s=!0,l=u}finally{try{!n&&r.return!=null&&r.return()}finally{if(s)throw l}}return i}}function lue(e){if(Array.isArray(e))return e}function uue(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=X4(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(p){throw p},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,l;return{s:function(){r=r.call(e)},n:function(){var p=r.next();return s=p.done,p},e:function(p){a=!0,l=p},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw l}}}}function X4(e,t){if(e){if(typeof e=="string")return Z4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Z4(e,t)}}function Z4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var xn=[],N_=uue(sue.default.entries()),W4;try{for(G4=function(){var t=Kl(W4.value,2),r=t[0],i=t[1],n=i.relatedConcepts;Array.isArray(n)&&n.forEach(function(s){if(s.module==="ARIA"){var a=s.concept;if(a){var l=xn.findIndex(function(u){var p=Kl(u,1),f=p[0];return f===r});l===-1&&(xn.push([r,[]]),l=xn.length-1),xn[l][1].push(a)}}})},N_.s();!(W4=N_.n()).done;)G4()}catch(e){N_.e(e)}finally{N_.f()}var G4,nD={entries:function(){return xn},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=xn;i<n.length;i++){var s=Kl(n[i],2),a=s[0],l=s[1];t.call(r,l,a,xn)}},get:function(t){var r=xn.find(function(i){return i[0]===t});return r&&r[1]},has:function(t){return!!nD.get(t)},keys:function(){return xn.map(function(t){var r=Kl(t,1),i=r[0];return i})},values:function(){return xn.map(function(t){var r=Kl(t,2),i=r[1];return i})}},cue=(0,iue.default)(nD,nD.entries());O_.default=cue});var nL=x(j_=>{"use strict";Object.defineProperty(j_,"__esModule",{value:!0});j_.default=void 0;var pue=tL(Wl()),due=tL(Zl());function tL(e){return e&&e.__esModule?e:{default:e}}function F_(e,t){return hue(e)||mue(e,t)||rL(e,t)||fue()}function fue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function mue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var i=[],n=!0,s=!1,a,l;try{for(r=r.call(e);!(n=(a=r.next()).done)&&(i.push(a.value),!(t&&i.length===t));n=!0);}catch(u){s=!0,l=u}finally{try{!n&&r.return!=null&&r.return()}finally{if(s)throw l}}return i}}function hue(e){if(Array.isArray(e))return e}function _ue(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=rL(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var i=0,n=function(){};return{s:n,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(p){throw p},f:n}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,l;return{s:function(){r=r.call(e)},n:function(){var p=r.next();return s=p.done,p},e:function(p){a=!0,l=p},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw l}}}}function rL(e,t){if(e){if(typeof e=="string")return Y4(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Y4(e,t)}}function Y4(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,i=new Array(t);r<t;r++)i[r]=e[r];return i}var Wr=[],L_=_ue(pue.default.entries()),Q4;try{for(eL=function(){var t=F_(Q4.value,2),r=t[0],i=t[1],n=i.relatedConcepts;Array.isArray(n)&&n.forEach(function(s){if(s.module==="HTML"){var a=s.concept;if(a!=null){for(var l=JSON.stringify(a),u,p=0;p<Wr.length;p++){var f=Wr[p][0];if(JSON.stringify(f)===l){u=Wr[p][1];break}}Array.isArray(u)||(u=[]);var h=u.findIndex(function(_){return _===r});h===-1&&u.push(r),p<Wr.length?Wr.splice(p,1,[a,u]):Wr.push([a,u])}}})},L_.s();!(Q4=L_.n()).done;)eL()}catch(e){L_.e(e)}finally{L_.f()}var eL;function gue(e,t){if(e===void 0&&t!==void 0||e!==void 0&&t===void 0)return!1;if(e!==void 0&&t!==void 0){if(e.length!=t.length)return!1;for(var r=0;r<e.length;r++)if(t[r].name!==e[r].name||t[r].value!==e[r].value)return!1}return!0}var iD={entries:function(){return Wr},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,i=0,n=Wr;i<n.length;i++){var s=F_(n[i],2),a=s[0],l=s[1];t.call(r,l,a,Wr)}},get:function(t){var r=Wr.find(function(i){return t.name===i[0].name&&gue(t.attributes,i[0].attributes)});return r&&r[1]},has:function(t){return!!iD.get(t)},keys:function(){return Wr.map(function(t){var r=F_(t,1),i=r[0];return i})},values:function(){return Wr.map(function(t){var r=F_(t,2),i=r[1];return i})}},bue=(0,due.default)(iD,iD.entries());j_.default=bue});var iL=x(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.elementAXObjects=kn.AXObjects=kn.AXObjectRoles=kn.AXObjectElements=void 0;var vue=q_(H4()),yue=q_(J4()),xue=q_(Wl()),kue=q_(nL());function q_(e){return e&&e.__esModule?e:{default:e}}var wue=vue.default;kn.AXObjectElements=wue;var Eue=yue.default;kn.AXObjectRoles=Eue;var Due=xue.default;kn.AXObjects=Due;var Cue=kue.default;kn.elementAXObjects=Cue});var ru=x((EZe,sF)=>{"use strict";var rpe="2.0.0",npe=Number.MAX_SAFE_INTEGER||9007199254740991,ipe=16,spe=250,ape=["major","premajor","minor","preminor","patch","prepatch","prerelease"];sF.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:ipe,MAX_SAFE_BUILD_LENGTH:spe,MAX_SAFE_INTEGER:npe,RELEASE_TYPES:ape,SEMVER_SPEC_VERSION:rpe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var nu=x((DZe,aF)=>{"use strict";var ope=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};aF.exports=ope});var Sa=x((Tn,oF)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:$D,MAX_SAFE_BUILD_LENGTH:lpe,MAX_LENGTH:upe}=ru(),cpe=nu();Tn=oF.exports={};var ppe=Tn.re=[],dpe=Tn.safeRe=[],ne=Tn.src=[],fpe=Tn.safeSrc=[],ie=Tn.t={},mpe=0,TD="[a-zA-Z0-9-]",hpe=[["\\s",1],["\\d",upe],[TD,lpe]],_pe=e=>{for(let[t,r]of hpe)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},$e=(e,t,r)=>{let i=_pe(t),n=mpe++;cpe(e,n,t),ie[e]=n,ne[n]=t,fpe[n]=i,ppe[n]=new RegExp(t,r?"g":void 0),dpe[n]=new RegExp(i,r?"g":void 0)};$e("NUMERICIDENTIFIER","0|[1-9]\\d*");$e("NUMERICIDENTIFIERLOOSE","\\d+");$e("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${TD}*`);$e("MAINVERSION",`(${ne[ie.NUMERICIDENTIFIER]})\\.(${ne[ie.NUMERICIDENTIFIER]})\\.(${ne[ie.NUMERICIDENTIFIER]})`);$e("MAINVERSIONLOOSE",`(${ne[ie.NUMERICIDENTIFIERLOOSE]})\\.(${ne[ie.NUMERICIDENTIFIERLOOSE]})\\.(${ne[ie.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASEIDENTIFIER",`(?:${ne[ie.NONNUMERICIDENTIFIER]}|${ne[ie.NUMERICIDENTIFIER]})`);$e("PRERELEASEIDENTIFIERLOOSE",`(?:${ne[ie.NONNUMERICIDENTIFIER]}|${ne[ie.NUMERICIDENTIFIERLOOSE]})`);$e("PRERELEASE",`(?:-(${ne[ie.PRERELEASEIDENTIFIER]}(?:\\.${ne[ie.PRERELEASEIDENTIFIER]})*))`);$e("PRERELEASELOOSE",`(?:-?(${ne[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ne[ie.PRERELEASEIDENTIFIERLOOSE]})*))`);$e("BUILDIDENTIFIER",`${TD}+`);$e("BUILD",`(?:\\+(${ne[ie.BUILDIDENTIFIER]}(?:\\.${ne[ie.BUILDIDENTIFIER]})*))`);$e("FULLPLAIN",`v?${ne[ie.MAINVERSION]}${ne[ie.PRERELEASE]}?${ne[ie.BUILD]}?`);$e("FULL",`^${ne[ie.FULLPLAIN]}$`);$e("LOOSEPLAIN",`[v=\\s]*${ne[ie.MAINVERSIONLOOSE]}${ne[ie.PRERELEASELOOSE]}?${ne[ie.BUILD]}?`);$e("LOOSE",`^${ne[ie.LOOSEPLAIN]}$`);$e("GTLT","((?:<|>)?=?)");$e("XRANGEIDENTIFIERLOOSE",`${ne[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);$e("XRANGEIDENTIFIER",`${ne[ie.NUMERICIDENTIFIER]}|x|X|\\*`);$e("XRANGEPLAIN",`[v=\\s]*(${ne[ie.XRANGEIDENTIFIER]})(?:\\.(${ne[ie.XRANGEIDENTIFIER]})(?:\\.(${ne[ie.XRANGEIDENTIFIER]})(?:${ne[ie.PRERELEASE]})?${ne[ie.BUILD]}?)?)?`);$e("XRANGEPLAINLOOSE",`[v=\\s]*(${ne[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ne[ie.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ne[ie.XRANGEIDENTIFIERLOOSE]})(?:${ne[ie.PRERELEASELOOSE]})?${ne[ie.BUILD]}?)?)?`);$e("XRANGE",`^${ne[ie.GTLT]}\\s*${ne[ie.XRANGEPLAIN]}$`);$e("XRANGELOOSE",`^${ne[ie.GTLT]}\\s*${ne[ie.XRANGEPLAINLOOSE]}$`);$e("COERCEPLAIN",`(^|[^\\d])(\\d{1,${$D}})(?:\\.(\\d{1,${$D}}))?(?:\\.(\\d{1,${$D}}))?`);$e("COERCE",`${ne[ie.COERCEPLAIN]}(?:$|[^\\d])`);$e("COERCEFULL",ne[ie.COERCEPLAIN]+`(?:${ne[ie.PRERELEASE]})?(?:${ne[ie.BUILD]})?(?:$|[^\\d])`);$e("COERCERTL",ne[ie.COERCE],!0);$e("COERCERTLFULL",ne[ie.COERCEFULL],!0);$e("LONETILDE","(?:~>?)");$e("TILDETRIM",`(\\s*)${ne[ie.LONETILDE]}\\s+`,!0);Tn.tildeTrimReplace="$1~";$e("TILDE",`^${ne[ie.LONETILDE]}${ne[ie.XRANGEPLAIN]}$`);$e("TILDELOOSE",`^${ne[ie.LONETILDE]}${ne[ie.XRANGEPLAINLOOSE]}$`);$e("LONECARET","(?:\\^)");$e("CARETTRIM",`(\\s*)${ne[ie.LONECARET]}\\s+`,!0);Tn.caretTrimReplace="$1^";$e("CARET",`^${ne[ie.LONECARET]}${ne[ie.XRANGEPLAIN]}$`);$e("CARETLOOSE",`^${ne[ie.LONECARET]}${ne[ie.XRANGEPLAINLOOSE]}$`);$e("COMPARATORLOOSE",`^${ne[ie.GTLT]}\\s*(${ne[ie.LOOSEPLAIN]})$|^$`);$e("COMPARATOR",`^${ne[ie.GTLT]}\\s*(${ne[ie.FULLPLAIN]})$|^$`);$e("COMPARATORTRIM",`(\\s*)${ne[ie.GTLT]}\\s*(${ne[ie.LOOSEPLAIN]}|${ne[ie.XRANGEPLAIN]})`,!0);Tn.comparatorTrimReplace="$1$2$3";$e("HYPHENRANGE",`^\\s*(${ne[ie.XRANGEPLAIN]})\\s+-\\s+(${ne[ie.XRANGEPLAIN]})\\s*$`);$e("HYPHENRANGELOOSE",`^\\s*(${ne[ie.XRANGEPLAINLOOSE]})\\s+-\\s+(${ne[ie.XRANGEPLAINLOOSE]})\\s*$`);$e("STAR","(<|>)?=?\\s*\\*");$e("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");$e("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var rg=x((CZe,lF)=>{"use strict";var gpe=Object.freeze({loose:!0}),bpe=Object.freeze({}),vpe=e=>e?typeof e!="object"?gpe:e:bpe;lF.exports=vpe});var ID=x((SZe,pF)=>{"use strict";var uF=/^[0-9]+$/,cF=(e,t)=>{let r=uF.test(e),i=uF.test(t);return r&&i&&(e=+e,t=+t),e===t?0:r&&!i?-1:i&&!r?1:e<t?-1:1},ype=(e,t)=>cF(t,e);pF.exports={compareIdentifiers:cF,rcompareIdentifiers:ype}});var Zt=x(($Ze,fF)=>{"use strict";var ng=nu(),{MAX_LENGTH:dF,MAX_SAFE_INTEGER:ig}=ru(),{safeRe:sg,t:ag}=Sa(),xpe=rg(),{compareIdentifiers:$a}=ID(),AD=class e{constructor(t,r){if(r=xpe(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>dF)throw new TypeError(`version is longer than ${dF} characters`);ng("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let i=t.trim().match(r.loose?sg[ag.LOOSE]:sg[ag.FULL]);if(!i)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>ig||this.major<0)throw new TypeError("Invalid major version");if(this.minor>ig||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>ig||this.patch<0)throw new TypeError("Invalid patch version");i[4]?this.prerelease=i[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let s=+n;if(s>=0&&s<ig)return s}return n}):this.prerelease=[],this.build=i[5]?i[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(ng("SemVer.compare",this.version,this.options,t),!(t instanceof e)){if(typeof t=="string"&&t===this.version)return 0;t=new e(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof e||(t=new e(t,this.options)),$a(this.major,t.major)||$a(this.minor,t.minor)||$a(this.patch,t.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let i=this.prerelease[r],n=t.prerelease[r];if(ng("prerelease compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return $a(i,n)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let i=this.build[r],n=t.build[r];if(ng("build compare",r,i,n),i===void 0&&n===void 0)return 0;if(n===void 0)return 1;if(i===void 0)return-1;if(i===n)continue;return $a(i,n)}while(++r)}inc(t,r,i){if(t.startsWith("pre")){if(!r&&i===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let n=`-${r}`.match(this.options.loose?sg[ag.PRERELEASELOOSE]:sg[ag.PRERELEASE]);if(!n||n[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,i);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,i);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,i),this.inc("pre",r,i);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,i),this.inc("pre",r,i);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let n=Number(i)?1:0;if(this.prerelease.length===0)this.prerelease=[n];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&i===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(r){let s=[r,n];i===!1&&(s=[r]),$a(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};fF.exports=AD});var _s=x((TZe,hF)=>{"use strict";var mF=Zt(),kpe=(e,t,r=!1)=>{if(e instanceof mF)return e;try{return new mF(e,t)}catch(i){if(!r)return null;throw i}};hF.exports=kpe});var gF=x((IZe,_F)=>{"use strict";var wpe=_s(),Epe=(e,t)=>{let r=wpe(e,t);return r?r.version:null};_F.exports=Epe});var vF=x((AZe,bF)=>{"use strict";var Dpe=_s(),Cpe=(e,t)=>{let r=Dpe(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};bF.exports=Cpe});var kF=x((PZe,xF)=>{"use strict";var yF=Zt(),Spe=(e,t,r,i,n)=>{typeof r=="string"&&(n=i,i=r,r=void 0);try{return new yF(e instanceof yF?e.version:e,r).inc(t,i,n).version}catch{return null}};xF.exports=Spe});var DF=x((RZe,EF)=>{"use strict";var wF=_s(),$pe=(e,t)=>{let r=wF(e,null,!0),i=wF(t,null,!0),n=r.compare(i);if(n===0)return null;let s=n>0,a=s?r:i,l=s?i:r,u=!!a.prerelease.length;if(!!l.prerelease.length&&!u){if(!l.patch&&!l.minor)return"major";if(l.compareMain(a)===0)return l.minor&&!l.patch?"minor":"patch"}let f=u?"pre":"";return r.major!==i.major?f+"major":r.minor!==i.minor?f+"minor":r.patch!==i.patch?f+"patch":"prerelease"};EF.exports=$pe});var SF=x((NZe,CF)=>{"use strict";var Tpe=Zt(),Ipe=(e,t)=>new Tpe(e,t).major;CF.exports=Ipe});var TF=x((OZe,$F)=>{"use strict";var Ape=Zt(),Ppe=(e,t)=>new Ape(e,t).minor;$F.exports=Ppe});var AF=x((LZe,IF)=>{"use strict";var Rpe=Zt(),Npe=(e,t)=>new Rpe(e,t).patch;IF.exports=Npe});var RF=x((FZe,PF)=>{"use strict";var Ope=_s(),Lpe=(e,t)=>{let r=Ope(e,t);return r&&r.prerelease.length?r.prerelease:null};PF.exports=Lpe});var Gr=x((jZe,OF)=>{"use strict";var NF=Zt(),Fpe=(e,t,r)=>new NF(e,r).compare(new NF(t,r));OF.exports=Fpe});var FF=x((qZe,LF)=>{"use strict";var jpe=Gr(),qpe=(e,t,r)=>jpe(t,e,r);LF.exports=qpe});var qF=x((MZe,jF)=>{"use strict";var Mpe=Gr(),Bpe=(e,t)=>Mpe(e,t,!0);jF.exports=Bpe});var og=x((BZe,BF)=>{"use strict";var MF=Zt(),zpe=(e,t,r)=>{let i=new MF(e,r),n=new MF(t,r);return i.compare(n)||i.compareBuild(n)};BF.exports=zpe});var UF=x((zZe,zF)=>{"use strict";var Upe=og(),Vpe=(e,t)=>e.sort((r,i)=>Upe(r,i,t));zF.exports=Vpe});var HF=x((UZe,VF)=>{"use strict";var Hpe=og(),Zpe=(e,t)=>e.sort((r,i)=>Hpe(i,r,t));VF.exports=Zpe});var iu=x((VZe,ZF)=>{"use strict";var Wpe=Gr(),Gpe=(e,t,r)=>Wpe(e,t,r)>0;ZF.exports=Gpe});var lg=x((HZe,WF)=>{"use strict";var Kpe=Gr(),Xpe=(e,t,r)=>Kpe(e,t,r)<0;WF.exports=Xpe});var PD=x((ZZe,GF)=>{"use strict";var Jpe=Gr(),Ype=(e,t,r)=>Jpe(e,t,r)===0;GF.exports=Ype});var RD=x((WZe,KF)=>{"use strict";var Qpe=Gr(),ede=(e,t,r)=>Qpe(e,t,r)!==0;KF.exports=ede});var ug=x((GZe,XF)=>{"use strict";var tde=Gr(),rde=(e,t,r)=>tde(e,t,r)>=0;XF.exports=rde});var cg=x((KZe,JF)=>{"use strict";var nde=Gr(),ide=(e,t,r)=>nde(e,t,r)<=0;JF.exports=ide});var ND=x((XZe,YF)=>{"use strict";var sde=PD(),ade=RD(),ode=iu(),lde=ug(),ude=lg(),cde=cg(),pde=(e,t,r,i)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return sde(e,r,i);case"!=":return ade(e,r,i);case">":return ode(e,r,i);case">=":return lde(e,r,i);case"<":return ude(e,r,i);case"<=":return cde(e,r,i);default:throw new TypeError(`Invalid operator: ${t}`)}};YF.exports=pde});var e9=x((JZe,QF)=>{"use strict";var dde=Zt(),fde=_s(),{safeRe:pg,t:dg}=Sa(),mde=(e,t)=>{if(e instanceof dde)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?pg[dg.COERCEFULL]:pg[dg.COERCE]);else{let u=t.includePrerelease?pg[dg.COERCERTLFULL]:pg[dg.COERCERTL],p;for(;(p=u.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||p.index+p[0].length!==r.index+r[0].length)&&(r=p),u.lastIndex=p.index+p[1].length+p[2].length;u.lastIndex=-1}if(r===null)return null;let i=r[2],n=r[3]||"0",s=r[4]||"0",a=t.includePrerelease&&r[5]?`-${r[5]}`:"",l=t.includePrerelease&&r[6]?`+${r[6]}`:"";return fde(`${i}.${n}.${s}${a}${l}`,t)};QF.exports=mde});var r9=x((YZe,t9)=>{"use strict";var OD=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(t,r)}return this}};t9.exports=OD});var Kr=x((QZe,a9)=>{"use strict";var hde=/\s+/g,LD=class e{constructor(t,r){if(r=gde(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof FD)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(hde," "),this.set=this.raw.split("||").map(i=>this.parseRange(i.trim())).filter(i=>i.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let i=this.set[0];if(this.set=this.set.filter(n=>!i9(n[0])),this.set.length===0)this.set=[i];else if(this.set.length>1){for(let n of this.set)if(n.length===1&&Ede(n[0])){this.set=[n];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t<this.set.length;t++){t>0&&(this.formatted+="||");let r=this.set[t];for(let i=0;i<r.length;i++)i>0&&(this.formatted+=" "),this.formatted+=r[i].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let i=((this.options.includePrerelease&&kde)|(this.options.loose&&wde))+":"+t,n=n9.get(i);if(n)return n;let s=this.options.loose,a=s?gr[rr.HYPHENRANGELOOSE]:gr[rr.HYPHENRANGE];t=t.replace(a,Nde(this.options.includePrerelease)),ct("hyphen replace",t),t=t.replace(gr[rr.COMPARATORTRIM],vde),ct("comparator trim",t),t=t.replace(gr[rr.TILDETRIM],yde),ct("tilde trim",t),t=t.replace(gr[rr.CARETTRIM],xde),ct("caret trim",t);let l=t.split(" ").map(h=>Dde(h,this.options)).join(" ").split(/\s+/).map(h=>Rde(h,this.options));s&&(l=l.filter(h=>(ct("loose invalid filter",h,this.options),!!h.match(gr[rr.COMPARATORLOOSE])))),ct("range list",l);let u=new Map,p=l.map(h=>new FD(h,this.options));for(let h of p){if(i9(h))return[h];u.set(h.value,h)}u.size>1&&u.has("")&&u.delete("");let f=[...u.values()];return n9.set(i,f),f}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(i=>s9(i,r)&&t.set.some(n=>s9(n,r)&&i.every(s=>n.every(a=>s.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new bde(t,this.options)}catch{return!1}for(let r=0;r<this.set.length;r++)if(Ode(this.set[r],t,this.options))return!0;return!1}};a9.exports=LD;var _de=r9(),n9=new _de,gde=rg(),FD=su(),ct=nu(),bde=Zt(),{safeRe:gr,t:rr,comparatorTrimReplace:vde,tildeTrimReplace:yde,caretTrimReplace:xde}=Sa(),{FLAG_INCLUDE_PRERELEASE:kde,FLAG_LOOSE:wde}=ru(),i9=e=>e.value==="<0.0.0-0",Ede=e=>e.value==="",s9=(e,t)=>{let r=!0,i=e.slice(),n=i.pop();for(;r&&i.length;)r=i.every(s=>n.intersects(s,t)),n=i.pop();return r},Dde=(e,t)=>(ct("comp",e,t),e=$de(e,t),ct("caret",e),e=Cde(e,t),ct("tildes",e),e=Ide(e,t),ct("xrange",e),e=Pde(e,t),ct("stars",e),e),nr=e=>!e||e.toLowerCase()==="x"||e==="*",Cde=(e,t)=>e.trim().split(/\s+/).map(r=>Sde(r,t)).join(" "),Sde=(e,t)=>{let r=t.loose?gr[rr.TILDELOOSE]:gr[rr.TILDE];return e.replace(r,(i,n,s,a,l)=>{ct("tilde",e,i,n,s,a,l);let u;return nr(n)?u="":nr(s)?u=`>=${n}.0.0 <${+n+1}.0.0-0`:nr(a)?u=`>=${n}.${s}.0 <${n}.${+s+1}.0-0`:l?(ct("replaceTilde pr",l),u=`>=${n}.${s}.${a}-${l} <${n}.${+s+1}.0-0`):u=`>=${n}.${s}.${a} <${n}.${+s+1}.0-0`,ct("tilde return",u),u})},$de=(e,t)=>e.trim().split(/\s+/).map(r=>Tde(r,t)).join(" "),Tde=(e,t)=>{ct("caret",e,t);let r=t.loose?gr[rr.CARETLOOSE]:gr[rr.CARET],i=t.includePrerelease?"-0":"";return e.replace(r,(n,s,a,l,u)=>{ct("caret",e,n,s,a,l,u);let p;return nr(s)?p="":nr(a)?p=`>=${s}.0.0${i} <${+s+1}.0.0-0`:nr(l)?s==="0"?p=`>=${s}.${a}.0${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.0${i} <${+s+1}.0.0-0`:u?(ct("replaceCaret pr",u),s==="0"?a==="0"?p=`>=${s}.${a}.${l}-${u} <${s}.${a}.${+l+1}-0`:p=`>=${s}.${a}.${l}-${u} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${l}-${u} <${+s+1}.0.0-0`):(ct("no pr"),s==="0"?a==="0"?p=`>=${s}.${a}.${l}${i} <${s}.${a}.${+l+1}-0`:p=`>=${s}.${a}.${l}${i} <${s}.${+a+1}.0-0`:p=`>=${s}.${a}.${l} <${+s+1}.0.0-0`),ct("caret return",p),p})},Ide=(e,t)=>(ct("replaceXRanges",e,t),e.split(/\s+/).map(r=>Ade(r,t)).join(" ")),Ade=(e,t)=>{e=e.trim();let r=t.loose?gr[rr.XRANGELOOSE]:gr[rr.XRANGE];return e.replace(r,(i,n,s,a,l,u)=>{ct("xRange",e,i,n,s,a,l,u);let p=nr(s),f=p||nr(a),h=f||nr(l),_=h;return n==="="&&_&&(n=""),u=t.includePrerelease?"-0":"",p?n===">"||n==="<"?i="<0.0.0-0":i="*":n&&_?(f&&(a=0),l=0,n===">"?(n=">=",f?(s=+s+1,a=0,l=0):(a=+a+1,l=0)):n==="<="&&(n="<",f?s=+s+1:a=+a+1),n==="<"&&(u="-0"),i=`${n+s}.${a}.${l}${u}`):f?i=`>=${s}.0.0${u} <${+s+1}.0.0-0`:h&&(i=`>=${s}.${a}.0${u} <${s}.${+a+1}.0-0`),ct("xRange return",i),i})},Pde=(e,t)=>(ct("replaceStars",e,t),e.trim().replace(gr[rr.STAR],"")),Rde=(e,t)=>(ct("replaceGTE0",e,t),e.trim().replace(gr[t.includePrerelease?rr.GTE0PRE:rr.GTE0],"")),Nde=e=>(t,r,i,n,s,a,l,u,p,f,h,_)=>(nr(i)?r="":nr(n)?r=`>=${i}.0.0${e?"-0":""}`:nr(s)?r=`>=${i}.${n}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,nr(p)?u="":nr(f)?u=`<${+p+1}.0.0-0`:nr(h)?u=`<${p}.${+f+1}.0-0`:_?u=`<=${p}.${f}.${h}-${_}`:e?u=`<${p}.${f}.${+h+1}-0`:u=`<=${u}`,`${r} ${u}`.trim()),Ode=(e,t,r)=>{for(let i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let i=0;i<e.length;i++)if(ct(e[i].semver),e[i].semver!==FD.ANY&&e[i].semver.prerelease.length>0){let n=e[i].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}});var su=x((eWe,d9)=>{"use strict";var au=Symbol("SemVer ANY"),MD=class e{static get ANY(){return au}constructor(t,r){if(r=o9(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),qD("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===au?this.value="":this.value=this.operator+this.semver.version,qD("comp",this)}parse(t){let r=this.options.loose?l9[u9.COMPARATORLOOSE]:l9[u9.COMPARATOR],i=t.match(r);if(!i)throw new TypeError(`Invalid comparator: ${t}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new c9(i[2],this.options.loose):this.semver=au}toString(){return this.value}test(t){if(qD("Comparator.test",t,this.options.loose),this.semver===au||t===au)return!0;if(typeof t=="string")try{t=new c9(t,this.options)}catch{return!1}return jD(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new p9(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new p9(this.value,r).test(t.semver):(r=o9(r),r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||jD(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||jD(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};d9.exports=MD;var o9=rg(),{safeRe:l9,t:u9}=Sa(),jD=ND(),qD=nu(),c9=Zt(),p9=Kr()});var ou=x((tWe,f9)=>{"use strict";var Lde=Kr(),Fde=(e,t,r)=>{try{t=new Lde(t,r)}catch{return!1}return t.test(e)};f9.exports=Fde});var h9=x((rWe,m9)=>{"use strict";var jde=Kr(),qde=(e,t)=>new jde(e,t).set.map(r=>r.map(i=>i.value).join(" ").trim().split(" "));m9.exports=qde});var g9=x((nWe,_9)=>{"use strict";var Mde=Zt(),Bde=Kr(),zde=(e,t,r)=>{let i=null,n=null,s=null;try{s=new Bde(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===-1)&&(i=a,n=new Mde(i,r))}),i};_9.exports=zde});var v9=x((iWe,b9)=>{"use strict";var Ude=Zt(),Vde=Kr(),Hde=(e,t,r)=>{let i=null,n=null,s=null;try{s=new Vde(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!i||n.compare(a)===1)&&(i=a,n=new Ude(i,r))}),i};b9.exports=Hde});var k9=x((sWe,x9)=>{"use strict";var BD=Zt(),Zde=Kr(),y9=iu(),Wde=(e,t)=>{e=new Zde(e,t);let r=new BD("0.0.0");if(e.test(r)||(r=new BD("0.0.0-0"),e.test(r)))return r;r=null;for(let i=0;i<e.set.length;++i){let n=e.set[i],s=null;n.forEach(a=>{let l=new BD(a.semver.version);switch(a.operator){case">":l.prerelease.length===0?l.patch++:l.prerelease.push(0),l.raw=l.format();case"":case">=":(!s||y9(l,s))&&(s=l);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||y9(r,s))&&(r=s)}return r&&e.test(r)?r:null};x9.exports=Wde});var E9=x((aWe,w9)=>{"use strict";var Gde=Kr(),Kde=(e,t)=>{try{return new Gde(e,t).range||"*"}catch{return null}};w9.exports=Kde});var fg=x((oWe,$9)=>{"use strict";var Xde=Zt(),S9=su(),{ANY:Jde}=S9,Yde=Kr(),Qde=ou(),D9=iu(),C9=lg(),efe=cg(),tfe=ug(),rfe=(e,t,r,i)=>{e=new Xde(e,i),t=new Yde(t,i);let n,s,a,l,u;switch(r){case">":n=D9,s=efe,a=C9,l=">",u=">=";break;case"<":n=C9,s=tfe,a=D9,l="<",u="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(Qde(e,t,i))return!1;for(let p=0;p<t.set.length;++p){let f=t.set[p],h=null,_=null;if(f.forEach(g=>{g.semver===Jde&&(g=new S9(">=0.0.0")),h=h||g,_=_||g,n(g.semver,h.semver,i)?h=g:a(g.semver,_.semver,i)&&(_=g)}),h.operator===l||h.operator===u||(!_.operator||_.operator===l)&&s(e,_.semver))return!1;if(_.operator===u&&a(e,_.semver))return!1}return!0};$9.exports=rfe});var I9=x((lWe,T9)=>{"use strict";var nfe=fg(),ife=(e,t,r)=>nfe(e,t,">",r);T9.exports=ife});var P9=x((uWe,A9)=>{"use strict";var sfe=fg(),afe=(e,t,r)=>sfe(e,t,"<",r);A9.exports=afe});var O9=x((cWe,N9)=>{"use strict";var R9=Kr(),ofe=(e,t,r)=>(e=new R9(e,r),t=new R9(t,r),e.intersects(t,r));N9.exports=ofe});var F9=x((pWe,L9)=>{"use strict";var lfe=ou(),ufe=Gr();L9.exports=(e,t,r)=>{let i=[],n=null,s=null,a=e.sort((f,h)=>ufe(f,h,r));for(let f of a)lfe(f,t,r)?(s=f,n||(n=f)):(s&&i.push([n,s]),s=null,n=null);n&&i.push([n,null]);let l=[];for(let[f,h]of i)f===h?l.push(f):!h&&f===a[0]?l.push("*"):h?f===a[0]?l.push(`<=${h}`):l.push(`${f} - ${h}`):l.push(`>=${f}`);let u=l.join(" || "),p=typeof t.raw=="string"?t.raw:String(t);return u.length<p.length?u:t}});var U9=x((dWe,z9)=>{"use strict";var j9=Kr(),UD=su(),{ANY:zD}=UD,lu=ou(),VD=Gr(),cfe=(e,t,r={})=>{if(e===t)return!0;e=new j9(e,r),t=new j9(t,r);let i=!1;e:for(let n of e.set){for(let s of t.set){let a=dfe(n,s,r);if(i=i||a!==null,a)continue e}if(i)return!1}return!0},pfe=[new UD(">=0.0.0-0")],q9=[new UD(">=0.0.0")],dfe=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===zD){if(t.length===1&&t[0].semver===zD)return!0;r.includePrerelease?e=pfe:e=q9}if(t.length===1&&t[0].semver===zD){if(r.includePrerelease)return!0;t=q9}let i=new Set,n,s;for(let g of e)g.operator===">"||g.operator===">="?n=M9(n,g,r):g.operator==="<"||g.operator==="<="?s=B9(s,g,r):i.add(g.semver);if(i.size>1)return null;let a;if(n&&s){if(a=VD(n.semver,s.semver,r),a>0)return null;if(a===0&&(n.operator!==">="||s.operator!=="<="))return null}for(let g of i){if(n&&!lu(g,String(n),r)||s&&!lu(g,String(s),r))return null;for(let b of t)if(!lu(g,String(b),r))return!1;return!0}let l,u,p,f,h=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,_=n&&!r.includePrerelease&&n.semver.prerelease.length?n.semver:!1;h&&h.prerelease.length===1&&s.operator==="<"&&h.prerelease[0]===0&&(h=!1);for(let g of t){if(f=f||g.operator===">"||g.operator===">=",p=p||g.operator==="<"||g.operator==="<=",n){if(_&&g.semver.prerelease&&g.semver.prerelease.length&&g.semver.major===_.major&&g.semver.minor===_.minor&&g.semver.patch===_.patch&&(_=!1),g.operator===">"||g.operator===">="){if(l=M9(n,g,r),l===g&&l!==n)return!1}else if(n.operator===">="&&!lu(n.semver,String(g),r))return!1}if(s){if(h&&g.semver.prerelease&&g.semver.prerelease.length&&g.semver.major===h.major&&g.semver.minor===h.minor&&g.semver.patch===h.patch&&(h=!1),g.operator==="<"||g.operator==="<="){if(u=B9(s,g,r),u===g&&u!==s)return!1}else if(s.operator==="<="&&!lu(s.semver,String(g),r))return!1}if(!g.operator&&(s||n)&&a!==0)return!1}return!(n&&p&&!s&&a!==0||s&&f&&!n&&a!==0||_||h)},M9=(e,t,r)=>{if(!e)return t;let i=VD(e.semver,t.semver,r);return i>0?e:i<0||t.operator===">"&&e.operator===">="?t:e},B9=(e,t,r)=>{if(!e)return t;let i=VD(e.semver,t.semver,r);return i<0?e:i>0||t.operator==="<"&&e.operator==="<="?t:e};z9.exports=cfe});var mg=x((fWe,Z9)=>{"use strict";var HD=Sa(),V9=ru(),ffe=Zt(),H9=ID(),mfe=_s(),hfe=gF(),_fe=vF(),gfe=kF(),bfe=DF(),vfe=SF(),yfe=TF(),xfe=AF(),kfe=RF(),wfe=Gr(),Efe=FF(),Dfe=qF(),Cfe=og(),Sfe=UF(),$fe=HF(),Tfe=iu(),Ife=lg(),Afe=PD(),Pfe=RD(),Rfe=ug(),Nfe=cg(),Ofe=ND(),Lfe=e9(),Ffe=su(),jfe=Kr(),qfe=ou(),Mfe=h9(),Bfe=g9(),zfe=v9(),Ufe=k9(),Vfe=E9(),Hfe=fg(),Zfe=I9(),Wfe=P9(),Gfe=O9(),Kfe=F9(),Xfe=U9();Z9.exports={parse:mfe,valid:hfe,clean:_fe,inc:gfe,diff:bfe,major:vfe,minor:yfe,patch:xfe,prerelease:kfe,compare:wfe,rcompare:Efe,compareLoose:Dfe,compareBuild:Cfe,sort:Sfe,rsort:$fe,gt:Tfe,lt:Ife,eq:Afe,neq:Pfe,gte:Rfe,lte:Nfe,cmp:Ofe,coerce:Lfe,Comparator:Ffe,Range:jfe,satisfies:qfe,toComparators:Mfe,maxSatisfying:Bfe,minSatisfying:zfe,minVersion:Ufe,validRange:Vfe,outside:Hfe,gtr:Zfe,ltr:Wfe,intersects:Gfe,simplifyRange:Kfe,subset:Xfe,SemVer:ffe,re:HD.re,src:HD.src,tokens:HD.t,SEMVER_SPEC_VERSION:V9.SEMVER_SPEC_VERSION,RELEASE_TYPES:V9.RELEASE_TYPES,compareIdentifiers:H9.compareIdentifiers,rcompareIdentifiers:H9.rcompareIdentifiers}});var nj=x((DWe,gg)=>{"use strict";function J9(e){return Array.isArray(e)?e:[e]}var ime=void 0,GD="",K9=" ",WD="\\",sme=/^\s+$/,ame=/(?:[^\\]|^)\\$/,ome=/^\\!/,lme=/^\\#/,ume=/\r?\n/g,cme=/^\.{0,2}\/|^\.{1,2}$/,pme=/\/$/,Ta="/",Y9="node-ignore";typeof Symbol<"u"&&(Y9=Symbol.for("node-ignore"));var Q9=Y9,Ia=(e,t,r)=>(Object.defineProperty(e,t,{value:r}),r),dme=/([0-z])-([0-z])/g,ej=()=>!1,fme=e=>e.replace(dme,(t,r,i)=>r.charCodeAt(0)<=i.charCodeAt(0)?t:GD),mme=e=>{let{length:t}=e;return e.slice(0,t-t%2)},hme=[[/^\uFEFF/,()=>GD],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(r.indexOf("\\")===0?K9:GD)],[/(\\+?)\s/g,(e,t)=>{let{length:r}=t;return t.slice(0,r-r%2)+K9}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(e,t,r)=>{let i=r.replace(/\\\*/g,"[^\\/]*");return t+i}],[/\\\\\\(?=[$.|*+(){^])/g,()=>WD],[/\\\\/g,()=>WD],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,i,n)=>t===WD?`\\[${r}${mme(i)}${n}`:n==="]"&&i.length%2===0?`[${fme(r)}${i}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`]],_me=/(^|\\\/)?\\\*$/,uu="regex",hg="checkRegex",X9="_",gme={[uu](e,t){return`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`},[hg](e,t){return`${t?`${t}[^/]*`:"[^/]*"}(?=$|\\/$)`}},bme=e=>hme.reduce((t,[r,i])=>t.replace(r,i.bind(e)),e),_g=e=>typeof e=="string",vme=e=>e&&_g(e)&&!sme.test(e)&&!ame.test(e)&&e.indexOf("#")!==0,yme=e=>e.split(ume).filter(Boolean),KD=class{constructor(t,r,i,n,s,a){this.pattern=t,this.mark=r,this.negative=s,Ia(this,"body",i),Ia(this,"ignoreCase",n),Ia(this,"regexPrefix",a)}get regex(){let t=X9+uu;return this[t]?this[t]:this._make(uu,t)}get checkRegex(){let t=X9+hg;return this[t]?this[t]:this._make(hg,t)}_make(t,r){let i=this.regexPrefix.replace(_me,gme[t]),n=this.ignoreCase?new RegExp(i,"i"):new RegExp(i);return Ia(this,r,n)}},xme=({pattern:e,mark:t},r)=>{let i=!1,n=e;n.indexOf("!")===0&&(i=!0,n=n.substr(1)),n=n.replace(ome,"!").replace(lme,"#");let s=bme(n);return new KD(e,t,n,r,i,s)},XD=class{constructor(t){this._ignoreCase=t,this._rules=[]}_add(t){if(t&&t[Q9]){this._rules=this._rules.concat(t._rules._rules),this._added=!0;return}if(_g(t)&&(t={pattern:t}),vme(t.pattern)){let r=xme(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,J9(_g(t)?yme(t):t).forEach(this._add,this),this._added}test(t,r,i){let n=!1,s=!1,a;this._rules.forEach(u=>{let{negative:p}=u;s===p&&n!==s||p&&!n&&!s&&!r||!u[i].test(t)||(n=!p,s=p,a=p?ime:u)});let l={ignored:n,unignored:s};return a&&(l.rule=a),l}},kme=(e,t)=>{throw new t(e)},ti=(e,t,r)=>_g(e)?e?ti.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),tj=e=>cme.test(e);ti.isNotRelative=tj;ti.convert=e=>e;var JD=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:i=!1}={}){Ia(this,Q9,!0),this._rules=new XD(r),this._strictPathCheck=!i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}add(t){return this._rules.add(t)&&this._initCache(),this}addPattern(t){return this.add(t)}_test(t,r,i,n){let s=t&&ti.convert(t);return ti(s,t,this._strictPathCheck?kme:ej),this._t(s,r,i,n)}checkIgnore(t){if(!pme.test(t))return this.test(t);let r=t.split(Ta).filter(Boolean);if(r.pop(),r.length){let i=this._t(r.join(Ta)+Ta,this._testCache,!0,r);if(i.ignored)return i}return this._rules.test(t,!1,hg)}_t(t,r,i,n){if(t in r)return r[t];if(n||(n=t.split(Ta).filter(Boolean)),n.pop(),!n.length)return r[t]=this._rules.test(t,i,uu);let s=this._t(n.join(Ta)+Ta,r,i,n);return r[t]=s.ignored?s:this._rules.test(t,i,uu)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return J9(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},YD=e=>new JD(e),wme=e=>ti(e&&ti.convert(e),e,ej),rj=()=>{let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");ti.convert=e;let t=/^[a-z]:\//i;ti.isNotRelative=r=>t.test(r)||tj(r)};typeof process<"u"&&process.platform==="win32"&&rj();gg.exports=YD;YD.default=YD;gg.exports.isPathValid=wme;Ia(gg.exports,Symbol.for("setupWindows"),rj)});import Oa from"process";import{Command as the}from"commander";var sC={};An(sC,{add:()=>lj,init:()=>dj,registry:()=>Dj,update:()=>_j});var ri=it(vr(),1);import Ime from"path";import oj from"process";import{existsSync as Ame}from"fs";var O={};An(O,{$brand:()=>mu,$input:()=>qy,$output:()=>jy,NEVER:()=>q7,TimePrecision:()=>zy,ZodAny:()=>ES,ZodArray:()=>$S,ZodBase64:()=>Jx,ZodBase64URL:()=>Yx,ZodBigInt:()=>yo,ZodBigIntFormat:()=>t0,ZodBoolean:()=>vo,ZodCIDRv4:()=>Kx,ZodCIDRv6:()=>Xx,ZodCUID:()=>zx,ZodCUID2:()=>Ux,ZodCatch:()=>WS,ZodCustom:()=>hc,ZodDate:()=>dc,ZodDefault:()=>BS,ZodDiscriminatedUnion:()=>TS,ZodE164:()=>Qx,ZodEmail:()=>jx,ZodEmoji:()=>Mx,ZodEnum:()=>_o,ZodError:()=>NM,ZodFile:()=>qS,ZodGUID:()=>ac,ZodIPv4:()=>Wx,ZodIPv6:()=>Gx,ZodISODate:()=>rc,ZodISODateTime:()=>tc,ZodISODuration:()=>ic,ZodISOTime:()=>nc,ZodIntersection:()=>IS,ZodIssueCode:()=>F7,ZodJWT:()=>e0,ZodKSUID:()=>Zx,ZodLazy:()=>QS,ZodLiteral:()=>FS,ZodMap:()=>NS,ZodNaN:()=>KS,ZodNanoID:()=>Bx,ZodNever:()=>CS,ZodNonOptional:()=>l0,ZodNull:()=>kS,ZodNullable:()=>MS,ZodNumber:()=>bo,ZodNumberFormat:()=>Ts,ZodObject:()=>fc,ZodOptional:()=>o0,ZodPipe:()=>u0,ZodPrefault:()=>US,ZodPromise:()=>t$,ZodReadonly:()=>XS,ZodRealError:()=>$s,ZodRecord:()=>i0,ZodSet:()=>OS,ZodString:()=>go,ZodStringFormat:()=>st,ZodSuccess:()=>ZS,ZodSymbol:()=>yS,ZodTemplateLiteral:()=>YS,ZodTransform:()=>s0,ZodTuple:()=>PS,ZodType:()=>Pe,ZodULID:()=>Vx,ZodURL:()=>qx,ZodUUID:()=>Fn,ZodUndefined:()=>xS,ZodUnion:()=>n0,ZodUnknown:()=>DS,ZodVoid:()=>SS,ZodXID:()=>Hx,_ZodString:()=>Fx,_default:()=>zS,any:()=>f7,array:()=>r0,base64:()=>e7,base64url:()=>t7,bigint:()=>l7,boolean:()=>vS,catch:()=>GS,check:()=>r$,cidrv4:()=>YM,cidrv6:()=>QM,clone:()=>yr,coerce:()=>c0,config:()=>xt,core:()=>Ln,cuid:()=>HM,cuid2:()=>ZM,custom:()=>P7,date:()=>h7,discriminatedUnion:()=>y7,e164:()=>r7,email:()=>LM,emoji:()=>UM,endsWith:()=>oo,enum:()=>LS,file:()=>C7,flattenError:()=>Za,float32:()=>i7,float64:()=>s7,formatError:()=>Wa,function:()=>Dx,getErrorMap:()=>B7,globalRegistry:()=>ln,gt:()=>Nn,gte:()=>or,guid:()=>FM,includes:()=>so,instanceof:()=>R7,int:()=>Lx,int32:()=>a7,int64:()=>u7,intersection:()=>AS,ipv4:()=>XM,ipv6:()=>JM,iso:()=>sc,json:()=>O7,jwt:()=>n7,keyof:()=>_7,ksuid:()=>KM,lazy:()=>e$,length:()=>Ss,literal:()=>jS,locales:()=>Qa,looseObject:()=>v7,lowercase:()=>no,lt:()=>Rn,lte:()=>Pr,map:()=>w7,maxLength:()=>Cs,maxSize:()=>Ds,mime:()=>lo,minLength:()=>si,minSize:()=>Zi,multipleOf:()=>Hi,nan:()=>T7,nanoid:()=>VM,nativeEnum:()=>D7,negative:()=>_x,never:()=>pc,nonnegative:()=>bx,nonoptional:()=>HS,nonpositive:()=>gx,normalize:()=>uo,null:()=>wS,nullable:()=>uc,nullish:()=>S7,number:()=>bS,object:()=>g7,optional:()=>lc,overwrite:()=>On,parse:()=>Ax,parseAsync:()=>Px,partialRecord:()=>k7,pipe:()=>cc,positive:()=>hx,prefault:()=>VS,preprocess:()=>L7,prettifyError:()=>qb,promise:()=>A7,property:()=>vx,readonly:()=>JS,record:()=>RS,refine:()=>n$,regex:()=>ro,regexes:()=>zi,registry:()=>Pu,safeParse:()=>Rx,safeParseAsync:()=>Nx,set:()=>E7,setErrorMap:()=>M7,size:()=>to,startsWith:()=>ao,strictObject:()=>b7,string:()=>Ox,stringbool:()=>N7,success:()=>$7,superRefine:()=>i$,symbol:()=>p7,templateLiteral:()=>I7,toJSONSchema:()=>Cx,toLowerCase:()=>po,toUpperCase:()=>fo,transform:()=>a0,treeifyError:()=>jb,trim:()=>co,tuple:()=>x7,uint32:()=>o7,uint64:()=>c7,ulid:()=>WM,undefined:()=>d7,union:()=>mc,unknown:()=>oc,uppercase:()=>io,url:()=>zM,uuid:()=>jM,uuidv4:()=>qM,uuidv6:()=>MM,uuidv7:()=>BM,void:()=>m7,xid:()=>GM});var Ln={};An(Ln,{$ZodAny:()=>dy,$ZodArray:()=>Xa,$ZodAsyncError:()=>on,$ZodBase64:()=>ny,$ZodBase64URL:()=>iy,$ZodBigInt:()=>Tu,$ZodBigIntFormat:()=>ly,$ZodBoolean:()=>Ka,$ZodCIDRv4:()=>ey,$ZodCIDRv6:()=>ty,$ZodCUID:()=>Uv,$ZodCUID2:()=>Vv,$ZodCatch:()=>Ay,$ZodCheck:()=>ht,$ZodCheckBigIntFormat:()=>vv,$ZodCheckEndsWith:()=>Av,$ZodCheckGreaterThan:()=>Du,$ZodCheckIncludes:()=>Tv,$ZodCheckLengthEquals:()=>Dv,$ZodCheckLessThan:()=>Eu,$ZodCheckLowerCase:()=>Sv,$ZodCheckMaxLength:()=>wv,$ZodCheckMaxSize:()=>yv,$ZodCheckMimeType:()=>Rv,$ZodCheckMinLength:()=>Ev,$ZodCheckMinSize:()=>xv,$ZodCheckMultipleOf:()=>gv,$ZodCheckNumberFormat:()=>bv,$ZodCheckOverwrite:()=>Nv,$ZodCheckProperty:()=>Pv,$ZodCheckRegex:()=>Cv,$ZodCheckSizeEquals:()=>kv,$ZodCheckStartsWith:()=>Iv,$ZodCheckStringFormat:()=>xs,$ZodCheckUpperCase:()=>$v,$ZodCustom:()=>Fy,$ZodDate:()=>hy,$ZodDefault:()=>Sy,$ZodDiscriminatedUnion:()=>gy,$ZodE164:()=>sy,$ZodEmail:()=>qv,$ZodEmoji:()=>Bv,$ZodEnum:()=>ky,$ZodError:()=>Ha,$ZodFile:()=>Ey,$ZodFunction:()=>ec,$ZodGUID:()=>Fv,$ZodIPv4:()=>Yv,$ZodIPv6:()=>Qv,$ZodISODate:()=>Kv,$ZodISODateTime:()=>Gv,$ZodISODuration:()=>Jv,$ZodISOTime:()=>Xv,$ZodIntersection:()=>by,$ZodJWT:()=>ay,$ZodKSUID:()=>Wv,$ZodLazy:()=>Ly,$ZodLiteral:()=>wy,$ZodMap:()=>yy,$ZodNaN:()=>Py,$ZodNanoID:()=>zv,$ZodNever:()=>fy,$ZodNonOptional:()=>Ty,$ZodNull:()=>py,$ZodNullable:()=>Cy,$ZodNumber:()=>$u,$ZodNumberFormat:()=>oy,$ZodObject:()=>_y,$ZodOptional:()=>Dy,$ZodPipe:()=>Ya,$ZodPrefault:()=>$y,$ZodPromise:()=>Oy,$ZodReadonly:()=>Ry,$ZodRealError:()=>ys,$ZodRecord:()=>vy,$ZodRegistry:()=>ws,$ZodSet:()=>xy,$ZodString:()=>Ui,$ZodStringFormat:()=>tt,$ZodSuccess:()=>Iy,$ZodSymbol:()=>uy,$ZodTemplateLiteral:()=>Ny,$ZodTransform:()=>Ja,$ZodTuple:()=>Vi,$ZodType:()=>we,$ZodULID:()=>Hv,$ZodURL:()=>Mv,$ZodUUID:()=>jv,$ZodUndefined:()=>cy,$ZodUnion:()=>Iu,$ZodUnknown:()=>ks,$ZodVoid:()=>my,$ZodXID:()=>Zv,$brand:()=>mu,$constructor:()=>A,$input:()=>qy,$output:()=>jy,Doc:()=>Ga,JSONSchema:()=>hS,JSONSchemaGenerator:()=>ho,TimePrecision:()=>zy,_any:()=>ux,_array:()=>mo,_base64:()=>Xu,_base64url:()=>Ju,_bigint:()=>rx,_boolean:()=>ex,_catch:()=>SM,_cidrv4:()=>Gu,_cidrv6:()=>Ku,_coercedBigint:()=>nx,_coercedBoolean:()=>tx,_coercedDate:()=>fx,_coercedNumber:()=>Gy,_coercedString:()=>By,_cuid:()=>Bu,_cuid2:()=>zu,_custom:()=>kx,_date:()=>dx,_default:()=>EM,_discriminatedUnion:()=>fM,_e164:()=>Yu,_email:()=>Ru,_emoji:()=>qu,_endsWith:()=>oo,_enum:()=>bM,_file:()=>xx,_float32:()=>Xy,_float64:()=>Jy,_gt:()=>Nn,_gte:()=>or,_guid:()=>eo,_includes:()=>so,_int:()=>Ky,_int32:()=>Yy,_int64:()=>ix,_intersection:()=>mM,_ipv4:()=>Zu,_ipv6:()=>Wu,_isoDate:()=>Vy,_isoDateTime:()=>Uy,_isoDuration:()=>Zy,_isoTime:()=>Hy,_jwt:()=>Qu,_ksuid:()=>Hu,_lazy:()=>AM,_length:()=>Ss,_literal:()=>yM,_lowercase:()=>no,_lt:()=>Rn,_lte:()=>Pr,_map:()=>_M,_max:()=>Pr,_maxLength:()=>Cs,_maxSize:()=>Ds,_mime:()=>lo,_min:()=>or,_minLength:()=>si,_minSize:()=>Zi,_multipleOf:()=>Hi,_nan:()=>mx,_nanoid:()=>Mu,_nativeEnum:()=>vM,_negative:()=>_x,_never:()=>cx,_nonnegative:()=>bx,_nonoptional:()=>DM,_nonpositive:()=>gx,_normalize:()=>uo,_null:()=>lx,_nullable:()=>wM,_number:()=>Wy,_optional:()=>kM,_overwrite:()=>On,_parse:()=>gu,_parseAsync:()=>vu,_pipe:()=>$M,_positive:()=>hx,_promise:()=>PM,_property:()=>vx,_readonly:()=>TM,_record:()=>hM,_refine:()=>wx,_regex:()=>ro,_safeParse:()=>xu,_safeParseAsync:()=>ku,_set:()=>gM,_size:()=>to,_startsWith:()=>ao,_string:()=>My,_stringbool:()=>Ex,_success:()=>CM,_symbol:()=>ax,_templateLiteral:()=>IM,_toLowerCase:()=>po,_toUpperCase:()=>fo,_transform:()=>xM,_trim:()=>co,_tuple:()=>yx,_uint32:()=>Qy,_uint64:()=>sx,_ulid:()=>Uu,_undefined:()=>ox,_union:()=>dM,_unknown:()=>Es,_uppercase:()=>io,_url:()=>ju,_uuid:()=>Nu,_uuidv4:()=>Ou,_uuidv6:()=>Lu,_uuidv7:()=>Fu,_void:()=>px,_xid:()=>Vu,clone:()=>yr,config:()=>xt,flattenError:()=>Za,formatError:()=>Wa,function:()=>Dx,globalConfig:()=>La,globalRegistry:()=>ln,isValidBase64:()=>ry,isValidBase64URL:()=>SC,isValidJWT:()=>$C,locales:()=>Qa,parse:()=>bu,parseAsync:()=>yu,prettifyError:()=>qb,regexes:()=>zi,registry:()=>Pu,safeParse:()=>Mb,safeParseAsync:()=>Bb,toDotPath:()=>uC,toJSONSchema:()=>Cx,treeifyError:()=>jb,util:()=>Y,version:()=>Ov});function A(e,t,r){function i(l,u){var p;Object.defineProperty(l,"_zod",{value:l._zod??{},enumerable:!1}),(p=l._zod).traits??(p.traits=new Set),l._zod.traits.add(e),t(l,u);for(let f in a.prototype)f in l||Object.defineProperty(l,f,{value:a.prototype[f].bind(l)});l._zod.constr=a,l._zod.def=u}let n=r?.Parent??Object;class s extends n{}Object.defineProperty(s,"name",{value:e});function a(l){var u;let p=r?.Parent?new s:this;i(p,l),(u=p._zod).deferred??(u.deferred=[]);for(let f of p._zod.deferred)f();return p}return Object.defineProperty(a,"init",{value:i}),Object.defineProperty(a,Symbol.hasInstance,{value:l=>r?.Parent&&l instanceof r.Parent?!0:l?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}var mu=Symbol("zod_brand"),on=class extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}},La={};function xt(e){return e&&Object.assign(La,e),La}var Y={};An(Y,{BIGINT_FORMAT_RANGES:()=>Lb,Class:()=>$b,NUMBER_FORMAT_RANGES:()=>Ob,aborted:()=>Mi,allowsEval:()=>Pb,assert:()=>nq,assertEqual:()=>Qj,assertIs:()=>tq,assertNever:()=>rq,assertNotEqual:()=>eq,assignProp:()=>Ab,cached:()=>qa,captureStackTrace:()=>_u,cleanEnum:()=>hq,cleanRegex:()=>Ma,clone:()=>yr,createTransparentProxy:()=>lq,defineLazy:()=>We,esc:()=>qi,escapeRegex:()=>Pn,extend:()=>pq,finalizeIssue:()=>xr,floatSafeRemainder:()=>Ib,getElementAtPath:()=>iq,getEnumValues:()=>ja,getLengthableOrigin:()=>Va,getParsedType:()=>oq,getSizableOrigin:()=>Ua,isObject:()=>vs,isPlainObject:()=>Ba,issue:()=>Fb,joinValues:()=>z,jsonStringifyReplacer:()=>Tb,merge:()=>dq,normalizeParams:()=>G,nullish:()=>ii,numKeys:()=>aq,omit:()=>cq,optionalKeys:()=>Nb,partial:()=>fq,pick:()=>uq,prefixIssues:()=>ar,primitiveTypes:()=>Rb,promiseAllObject:()=>sq,propertyKeyTypes:()=>za,randomString:()=>hu,required:()=>mq,stringifyPrimitive:()=>Q,unwrapMessage:()=>Fa});function Qj(e){return e}function eq(e){return e}function tq(e){}function rq(e){throw new Error}function nq(e){}function ja(e){let t=Object.values(e).filter(i=>typeof i=="number");return Object.entries(e).filter(([i,n])=>t.indexOf(+i)===-1).map(([i,n])=>n)}function z(e,t="|"){return e.map(r=>Q(r)).join(t)}function Tb(e,t){return typeof t=="bigint"?t.toString():t}function qa(e){return{get value(){{let r=e();return Object.defineProperty(this,"value",{value:r}),r}throw new Error("cached value already set")}}}function ii(e){return e==null}function Ma(e){let t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}function Ib(e,t){let r=(e.toString().split(".")[1]||"").length,i=(t.toString().split(".")[1]||"").length,n=r>i?r:i,s=Number.parseInt(e.toFixed(n).replace(".","")),a=Number.parseInt(t.toFixed(n).replace(".",""));return s%a/10**n}function We(e,t,r){Object.defineProperty(e,t,{get(){{let n=r();return e[t]=n,n}throw new Error("cached value already set")},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Ab(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function iq(e,t){return t?t.reduce((r,i)=>r?.[i],e):e}function sq(e){let t=Object.keys(e),r=t.map(i=>e[i]);return Promise.all(r).then(i=>{let n={};for(let s=0;s<t.length;s++)n[t[s]]=i[s];return n})}function hu(e=10){let t="abcdefghijklmnopqrstuvwxyz",r="";for(let i=0;i<e;i++)r+=t[Math.floor(Math.random()*t.length)];return r}function qi(e){return JSON.stringify(e)}var _u=Error.captureStackTrace?Error.captureStackTrace:(...e)=>{};function vs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}var Pb=qa(()=>{if(typeof navigator<"u"&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{let e=Function;return new e(""),!0}catch{return!1}});function Ba(e){if(vs(e)===!1)return!1;let t=e.constructor;if(t===void 0)return!0;let r=t.prototype;return!(vs(r)===!1||Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")===!1)}function aq(e){let t=0;for(let r in e)Object.prototype.hasOwnProperty.call(e,r)&&t++;return t}var oq=e=>{let t=typeof e;switch(t){case"undefined":return"undefined";case"string":return"string";case"number":return Number.isNaN(e)?"nan":"number";case"boolean":return"boolean";case"function":return"function";case"bigint":return"bigint";case"symbol":return"symbol";case"object":return Array.isArray(e)?"array":e===null?"null":e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?"promise":typeof Map<"u"&&e instanceof Map?"map":typeof Set<"u"&&e instanceof Set?"set":typeof Date<"u"&&e instanceof Date?"date":typeof File<"u"&&e instanceof File?"file":"object";default:throw new Error(`Unknown data type: ${t}`)}},za=new Set(["string","number","symbol"]),Rb=new Set(["string","number","bigint","boolean","symbol","undefined"]);function Pn(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function yr(e,t,r){let i=new e._zod.constr(t??e._zod.def);return(!t||r?.parent)&&(i._zod.parent=e),i}function G(e){let t=e;if(!t)return{};if(typeof t=="string")return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error=="string"?{...t,error:()=>t.error}:t}function lq(e){let t;return new Proxy({},{get(r,i,n){return t??(t=e()),Reflect.get(t,i,n)},set(r,i,n,s){return t??(t=e()),Reflect.set(t,i,n,s)},has(r,i){return t??(t=e()),Reflect.has(t,i)},deleteProperty(r,i){return t??(t=e()),Reflect.deleteProperty(t,i)},ownKeys(r){return t??(t=e()),Reflect.ownKeys(t)},getOwnPropertyDescriptor(r,i){return t??(t=e()),Reflect.getOwnPropertyDescriptor(t,i)},defineProperty(r,i,n){return t??(t=e()),Reflect.defineProperty(t,i,n)}})}function Q(e){return typeof e=="bigint"?e.toString()+"n":typeof e=="string"?`"${e}"`:`${e}`}function Nb(e){return Object.keys(e).filter(t=>e[t]._zod.optin==="optional"&&e[t]._zod.optout==="optional")}var Ob={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]},Lb={int64:[BigInt("-9223372036854775808"),BigInt("9223372036854775807")],uint64:[BigInt(0),BigInt("18446744073709551615")]};function uq(e,t){let r={},i=e._zod.def;for(let n in t){if(!(n in i.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(r[n]=i.shape[n])}return yr(e,{...e._zod.def,shape:r,checks:[]})}function cq(e,t){let r={...e._zod.def.shape},i=e._zod.def;for(let n in t){if(!(n in i.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&delete r[n]}return yr(e,{...e._zod.def,shape:r,checks:[]})}function pq(e,t){let r={...e._zod.def,get shape(){let i={...e._zod.def.shape,...t};return Ab(this,"shape",i),i},checks:[]};return yr(e,r)}function dq(e,t){return yr(e,{...e._zod.def,get shape(){let r={...e._zod.def.shape,...t._zod.def.shape};return Ab(this,"shape",r),r},catchall:t._zod.def.catchall,checks:[]})}function fq(e,t,r){let i=t._zod.def.shape,n={...i};if(r)for(let s in r){if(!(s in i))throw new Error(`Unrecognized key: "${s}"`);r[s]&&(n[s]=e?new e({type:"optional",innerType:i[s]}):i[s])}else for(let s in i)n[s]=e?new e({type:"optional",innerType:i[s]}):i[s];return yr(t,{...t._zod.def,shape:n,checks:[]})}function mq(e,t,r){let i=t._zod.def.shape,n={...i};if(r)for(let s in r){if(!(s in n))throw new Error(`Unrecognized key: "${s}"`);r[s]&&(n[s]=new e({type:"nonoptional",innerType:i[s]}))}else for(let s in i)n[s]=new e({type:"nonoptional",innerType:i[s]});return yr(t,{...t._zod.def,shape:n,checks:[]})}function Mi(e,t=0){for(let r=t;r<e.issues.length;r++)if(e.issues[r].continue!==!0)return!0;return!1}function ar(e,t){return t.map(r=>{var i;return(i=r).path??(i.path=[]),r.path.unshift(e),r})}function Fa(e){return typeof e=="string"?e:e?.message}function xr(e,t,r){let i={...e,path:e.path??[]};if(!e.message){let n=Fa(e.inst?._zod.def?.error?.(e))??Fa(t?.error?.(e))??Fa(r.customError?.(e))??Fa(r.localeError?.(e))??"Invalid input";i.message=n}return delete i.inst,delete i.continue,t?.reportInput||delete i.input,i}function Ua(e){return e instanceof Set?"set":e instanceof Map?"map":e instanceof File?"file":"unknown"}function Va(e){return Array.isArray(e)?"array":typeof e=="string"?"string":"unknown"}function Fb(...e){let[t,r,i]=e;return typeof t=="string"?{message:t,code:"custom",input:r,inst:i}:{...t}}function hq(e){return Object.entries(e).filter(([t,r])=>Number.isNaN(Number.parseInt(t,10))).map(t=>t[1])}var $b=class{constructor(...t){}};var lC=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),Object.defineProperty(e,"message",{get(){return JSON.stringify(t,Tb,2)},enumerable:!0})},Ha=A("$ZodError",lC),ys=A("$ZodError",lC,{Parent:Error});function Za(e,t=r=>r.message){let r={},i=[];for(let n of e.issues)n.path.length>0?(r[n.path[0]]=r[n.path[0]]||[],r[n.path[0]].push(t(n))):i.push(t(n));return{formErrors:i,fieldErrors:r}}function Wa(e,t){let r=t||function(s){return s.message},i={_errors:[]},n=s=>{for(let a of s.issues)if(a.code==="invalid_union"&&a.errors.length)a.errors.map(l=>n({issues:l}));else if(a.code==="invalid_key")n({issues:a.issues});else if(a.code==="invalid_element")n({issues:a.issues});else if(a.path.length===0)i._errors.push(r(a));else{let l=i,u=0;for(;u<a.path.length;){let p=a.path[u];u===a.path.length-1?(l[p]=l[p]||{_errors:[]},l[p]._errors.push(r(a))):l[p]=l[p]||{_errors:[]},l=l[p],u++}}};return n(e),i}function jb(e,t){let r=t||function(s){return s.message},i={errors:[]},n=(s,a=[])=>{var l,u;for(let p of s.issues)if(p.code==="invalid_union"&&p.errors.length)p.errors.map(f=>n({issues:f},p.path));else if(p.code==="invalid_key")n({issues:p.issues},p.path);else if(p.code==="invalid_element")n({issues:p.issues},p.path);else{let f=[...a,...p.path];if(f.length===0){i.errors.push(r(p));continue}let h=i,_=0;for(;_<f.length;){let g=f[_],b=_===f.length-1;typeof g=="string"?(h.properties??(h.properties={}),(l=h.properties)[g]??(l[g]={errors:[]}),h=h.properties[g]):(h.items??(h.items=[]),(u=h.items)[g]??(u[g]={errors:[]}),h=h.items[g]),b&&h.errors.push(r(p)),_++}}};return n(e),i}function uC(e){let t=[];for(let r of e)typeof r=="number"?t.push(`[${r}]`):typeof r=="symbol"?t.push(`[${JSON.stringify(String(r))}]`):/[^\w$]/.test(r)?t.push(`[${JSON.stringify(r)}]`):(t.length&&t.push("."),t.push(r));return t.join("")}function qb(e){let t=[],r=[...e.issues].sort((i,n)=>i.path.length-n.path.length);for(let i of r)t.push(`\u2716 ${i.message}`),i.path?.length&&t.push(`  \u2192 at ${uC(i.path)}`);return t.join(`
`)}var gu=e=>(t,r,i,n)=>{let s=i?Object.assign(i,{async:!1}):{async:!1},a=t._zod.run({value:r,issues:[]},s);if(a instanceof Promise)throw new on;if(a.issues.length){let l=new(n?.Err??e)(a.issues.map(u=>xr(u,s,xt())));throw _u(l,n?.callee),l}return a.value},bu=gu(ys),vu=e=>async(t,r,i,n)=>{let s=i?Object.assign(i,{async:!0}):{async:!0},a=t._zod.run({value:r,issues:[]},s);if(a instanceof Promise&&(a=await a),a.issues.length){let l=new(n?.Err??e)(a.issues.map(u=>xr(u,s,xt())));throw _u(l,n?.callee),l}return a.value},yu=vu(ys),xu=e=>(t,r,i)=>{let n=i?{...i,async:!1}:{async:!1},s=t._zod.run({value:r,issues:[]},n);if(s instanceof Promise)throw new on;return s.issues.length?{success:!1,error:new(e??Ha)(s.issues.map(a=>xr(a,n,xt())))}:{success:!0,data:s.value}},Mb=xu(ys),ku=e=>async(t,r,i)=>{let n=i?Object.assign(i,{async:!0}):{async:!0},s=t._zod.run({value:r,issues:[]},n);return s instanceof Promise&&(s=await s),s.issues.length?{success:!1,error:new e(s.issues.map(a=>xr(a,n,xt())))}:{success:!0,data:s.value}},Bb=ku(ys);var zi={};An(zi,{_emoji:()=>cC,base64:()=>rv,base64url:()=>wu,bigint:()=>uv,boolean:()=>dv,browserEmail:()=>Eq,cidrv4:()=>ev,cidrv6:()=>tv,cuid:()=>zb,cuid2:()=>Ub,date:()=>sv,datetime:()=>ov,domain:()=>Dq,duration:()=>Gb,e164:()=>iv,email:()=>Xb,emoji:()=>Jb,extendedDuration:()=>gq,guid:()=>Kb,hostname:()=>nv,html5Email:()=>xq,integer:()=>cv,ipv4:()=>Yb,ipv6:()=>Qb,ksuid:()=>Zb,lowercase:()=>hv,nanoid:()=>Wb,null:()=>fv,number:()=>pv,rfc5322Email:()=>kq,string:()=>lv,time:()=>av,ulid:()=>Vb,undefined:()=>mv,unicodeEmail:()=>wq,uppercase:()=>_v,uuid:()=>Bi,uuid4:()=>bq,uuid6:()=>vq,uuid7:()=>yq,xid:()=>Hb});var zb=/^[cC][^\s-]{8,}$/,Ub=/^[0-9a-z]+$/,Vb=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,Hb=/^[0-9a-vA-V]{20}$/,Zb=/^[A-Za-z0-9]{27}$/,Wb=/^[a-zA-Z0-9_-]{21}$/,Gb=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,gq=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Kb=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Bi=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$/,bq=Bi(4),vq=Bi(6),yq=Bi(7),Xb=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,xq=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,kq=/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,wq=/^[^\s@"]{1,64}@[^\s@]{1,255}$/u,Eq=/^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,cC="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";function Jb(){return new RegExp(cC,"u")}var Yb=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Qb=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,ev=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,tv=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,rv=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,wu=/^[A-Za-z0-9_-]*$/,nv=/^([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+$/,Dq=/^([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/,iv=/^\+(?:[0-9]){6,14}[0-9]$/,pC="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",sv=new RegExp(`^${pC}$`);function dC(e){let t="(?:[01]\\d|2[0-3]):[0-5]\\d";return typeof e.precision=="number"?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function av(e){return new RegExp(`^${dC(e)}$`)}function ov(e){let t=dC({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-]\\d{2}:\\d{2})");let i=`${t}(?:${r.join("|")})`;return new RegExp(`^${pC}T(?:${i})$`)}var lv=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??""}}`:"[\\s\\S]*";return new RegExp(`^${t}$`)},uv=/^\d+n?$/,cv=/^\d+$/,pv=/^-?\d+(?:\.\d+)?/i,dv=/true|false/i,fv=/null/i;var mv=/undefined/i;var hv=/^[^A-Z]*$/,_v=/^[^a-z]*$/;var ht=A("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),mC={number:"number",bigint:"bigint",object:"date"},Eu=A("$ZodCheckLessThan",(e,t)=>{ht.init(e,t);let r=mC[typeof t.value];e._zod.onattach.push(i=>{let n=i._zod.bag,s=(t.inclusive?n.maximum:n.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<s&&(t.inclusive?n.maximum=t.value:n.exclusiveMaximum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value<=t.value:i.value<t.value)||i.issues.push({origin:r,code:"too_big",maximum:t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),Du=A("$ZodCheckGreaterThan",(e,t)=>{ht.init(e,t);let r=mC[typeof t.value];e._zod.onattach.push(i=>{let n=i._zod.bag,s=(t.inclusive?n.minimum:n.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>s&&(t.inclusive?n.minimum=t.value:n.exclusiveMinimum=t.value)}),e._zod.check=i=>{(t.inclusive?i.value>=t.value:i.value>t.value)||i.issues.push({origin:r,code:"too_small",minimum:t.value,input:i.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),gv=A("$ZodCheckMultipleOf",(e,t)=>{ht.init(e,t),e._zod.onattach.push(r=>{var i;(i=r._zod.bag).multipleOf??(i.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");(typeof r.value=="bigint"?r.value%t.value===BigInt(0):Ib(r.value,t.value)===0)||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),bv=A("$ZodCheckNumberFormat",(e,t)=>{ht.init(e,t),t.format=t.format||"float64";let r=t.format?.includes("int"),i=r?"int":"number",[n,s]=Ob[t.format];e._zod.onattach.push(a=>{let l=a._zod.bag;l.format=t.format,l.minimum=n,l.maximum=s,r&&(l.pattern=cv)}),e._zod.check=a=>{let l=a.value;if(r){if(!Number.isInteger(l)){a.issues.push({expected:i,format:t.format,code:"invalid_type",input:l,inst:e});return}if(!Number.isSafeInteger(l)){l>0?a.issues.push({input:l,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,continue:!t.abort}):a.issues.push({input:l,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:i,continue:!t.abort});return}}l<n&&a.issues.push({origin:"number",input:l,code:"too_small",minimum:n,inclusive:!0,inst:e,continue:!t.abort}),l>s&&a.issues.push({origin:"number",input:l,code:"too_big",maximum:s,inst:e})}}),vv=A("$ZodCheckBigIntFormat",(e,t)=>{ht.init(e,t);let[r,i]=Lb[t.format];e._zod.onattach.push(n=>{let s=n._zod.bag;s.format=t.format,s.minimum=r,s.maximum=i}),e._zod.check=n=>{let s=n.value;s<r&&n.issues.push({origin:"bigint",input:s,code:"too_small",minimum:r,inclusive:!0,inst:e,continue:!t.abort}),s>i&&n.issues.push({origin:"bigint",input:s,code:"too_big",maximum:i,inst:e})}}),yv=A("$ZodCheckMaxSize",(e,t)=>{ht.init(e,t),e._zod.when=r=>{let i=r.value;return!ii(i)&&i.size!==void 0},e._zod.onattach.push(r=>{let i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let i=r.value;i.size<=t.maximum||r.issues.push({origin:Ua(i),code:"too_big",maximum:t.maximum,input:i,inst:e,continue:!t.abort})}}),xv=A("$ZodCheckMinSize",(e,t)=>{ht.init(e,t),e._zod.when=r=>{let i=r.value;return!ii(i)&&i.size!==void 0},e._zod.onattach.push(r=>{let i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let i=r.value;i.size>=t.minimum||r.issues.push({origin:Ua(i),code:"too_small",minimum:t.minimum,input:i,inst:e,continue:!t.abort})}}),kv=A("$ZodCheckSizeEquals",(e,t)=>{ht.init(e,t),e._zod.when=r=>{let i=r.value;return!ii(i)&&i.size!==void 0},e._zod.onattach.push(r=>{let i=r._zod.bag;i.minimum=t.size,i.maximum=t.size,i.size=t.size}),e._zod.check=r=>{let i=r.value,n=i.size;if(n===t.size)return;let s=n>t.size;r.issues.push({origin:Ua(i),...s?{code:"too_big",maximum:t.size}:{code:"too_small",minimum:t.size},input:r.value,inst:e,continue:!t.abort})}}),wv=A("$ZodCheckMaxLength",(e,t)=>{ht.init(e,t),e._zod.when=r=>{let i=r.value;return!ii(i)&&i.length!==void 0},e._zod.onattach.push(r=>{let i=r._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<i&&(r._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{let i=r.value;if(i.length<=t.maximum)return;let s=Va(i);r.issues.push({origin:s,code:"too_big",maximum:t.maximum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),Ev=A("$ZodCheckMinLength",(e,t)=>{ht.init(e,t),e._zod.when=r=>{let i=r.value;return!ii(i)&&i.length!==void 0},e._zod.onattach.push(r=>{let i=r._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>i&&(r._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{let i=r.value;if(i.length>=t.minimum)return;let s=Va(i);r.issues.push({origin:s,code:"too_small",minimum:t.minimum,inclusive:!0,input:i,inst:e,continue:!t.abort})}}),Dv=A("$ZodCheckLengthEquals",(e,t)=>{ht.init(e,t),e._zod.when=r=>{let i=r.value;return!ii(i)&&i.length!==void 0},e._zod.onattach.push(r=>{let i=r._zod.bag;i.minimum=t.length,i.maximum=t.length,i.length=t.length}),e._zod.check=r=>{let i=r.value,n=i.length;if(n===t.length)return;let s=Va(i),a=n>t.length;r.issues.push({origin:s,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},input:r.value,inst:e,continue:!t.abort})}}),xs=A("$ZodCheckStringFormat",(e,t)=>{var r;ht.init(e,t),e._zod.onattach.push(i=>{let n=i._zod.bag;n.format=t.format,t.pattern&&(n.patterns??(n.patterns=new Set),n.patterns.add(t.pattern))}),(r=e._zod).check??(r.check=i=>{if(!t.pattern)throw new Error("Not implemented.");t.pattern.lastIndex=0,!t.pattern.test(i.value)&&i.issues.push({origin:"string",code:"invalid_format",format:t.format,input:i.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})})}),Cv=A("$ZodCheckRegex",(e,t)=>{xs.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,!t.pattern.test(r.value)&&r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Sv=A("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=hv),xs.init(e,t)}),$v=A("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=_v),xs.init(e,t)}),Tv=A("$ZodCheckIncludes",(e,t)=>{ht.init(e,t);let r=Pn(t.includes),i=new RegExp(typeof t.position=="number"?`^.{${t.position}}${r}`:r);t.pattern=i,e._zod.onattach.push(n=>{let s=n._zod.bag;s.patterns??(s.patterns=new Set),s.patterns.add(i)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Iv=A("$ZodCheckStartsWith",(e,t)=>{ht.init(e,t);let r=new RegExp(`^${Pn(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{let n=i._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(r)}),e._zod.check=i=>{i.value.startsWith(t.prefix)||i.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:i.value,inst:e,continue:!t.abort})}}),Av=A("$ZodCheckEndsWith",(e,t)=>{ht.init(e,t);let r=new RegExp(`.*${Pn(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(i=>{let n=i._zod.bag;n.patterns??(n.patterns=new Set),n.patterns.add(r)}),e._zod.check=i=>{i.value.endsWith(t.suffix)||i.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:i.value,inst:e,continue:!t.abort})}});function fC(e,t,r){e.issues.length&&t.issues.push(...ar(r,e.issues))}var Pv=A("$ZodCheckProperty",(e,t)=>{ht.init(e,t),e._zod.check=r=>{let i=t.schema._zod.run({value:r.value[t.property],issues:[]},{});if(i instanceof Promise)return i.then(n=>fC(n,r,t.property));fC(i,r,t.property)}}),Rv=A("$ZodCheckMimeType",(e,t)=>{ht.init(e,t);let r=new Set(t.mime);e._zod.onattach.push(i=>{i._zod.bag.mime=t.mime}),e._zod.check=i=>{r.has(i.value.type)||i.issues.push({code:"invalid_value",values:t.mime,input:i.value.type,inst:e})}}),Nv=A("$ZodCheckOverwrite",(e,t)=>{ht.init(e,t),e._zod.check=r=>{r.value=t.tx(r.value)}});var Ga=class{constructor(t=[]){this.content=[],this.indent=0,this&&(this.args=t)}indented(t){this.indent+=1,t(this),this.indent-=1}write(t){if(typeof t=="function"){t(this,{execution:"sync"}),t(this,{execution:"async"});return}let i=t.split(`
`).filter(a=>a),n=Math.min(...i.map(a=>a.length-a.trimStart().length)),s=i.map(a=>a.slice(n)).map(a=>" ".repeat(this.indent*2)+a);for(let a of s)this.content.push(a)}compile(){let t=Function,r=this?.args,n=[...(this?.content??[""]).map(s=>`  ${s}`)];return new t(...r,n.join(`
`))}};var Ov={major:4,minor:0,patch:0};var we=A("$ZodType",(e,t)=>{var r;e??(e={}),We(e._zod,"id",()=>t.type+"_"+hu(10)),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=Ov;let i=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&i.unshift(e);for(let n of i)for(let s of n._zod.onattach)s(e);if(i.length===0)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let n=(s,a,l)=>{let u=Mi(s),p;for(let f of a){if(f._zod.when){if(!f._zod.when(s))continue}else if(u)continue;let h=s.issues.length,_=f._zod.check(s);if(_ instanceof Promise&&l?.async===!1)throw new on;if(p||_ instanceof Promise)p=(p??Promise.resolve()).then(async()=>{await _,s.issues.length!==h&&(u||(u=Mi(s,h)))});else{if(s.issues.length===h)continue;u||(u=Mi(s,h))}}return p?p.then(()=>s):s};e._zod.run=(s,a)=>{let l=e._zod.parse(s,a);if(l instanceof Promise){if(a.async===!1)throw new on;return l.then(u=>n(u,i,a))}return n(l,i,a)}}e["~standard"]={validate:n=>{try{let s=Mb(e,n);return s.success?{value:s.data}:{issues:s.error?.issues}}catch{return Bb(e,n).then(a=>a.success?{value:a.data}:{issues:a.error?.issues})}},vendor:"zod",version:1}}),Ui=A("$ZodString",(e,t)=>{we.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??lv(e._zod.bag),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=String(r.value)}catch{}return typeof r.value=="string"||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),tt=A("$ZodStringFormat",(e,t)=>{xs.init(e,t),Ui.init(e,t)}),Fv=A("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=Kb),tt.init(e,t)}),jv=A("$ZodUUID",(e,t)=>{if(t.version){let i={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(i===void 0)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=Bi(i))}else t.pattern??(t.pattern=Bi());tt.init(e,t)}),qv=A("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=Xb),tt.init(e,t)}),Mv=A("$ZodURL",(e,t)=>{tt.init(e,t),e._zod.check=r=>{try{let i=new URL(r.value);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:nv.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(":")?i.protocol.slice(0,-1):i.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort}));return}catch{r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),Bv=A("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=Jb()),tt.init(e,t)}),zv=A("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=Wb),tt.init(e,t)}),Uv=A("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=zb),tt.init(e,t)}),Vv=A("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=Ub),tt.init(e,t)}),Hv=A("$ZodULID",(e,t)=>{t.pattern??(t.pattern=Vb),tt.init(e,t)}),Zv=A("$ZodXID",(e,t)=>{t.pattern??(t.pattern=Hb),tt.init(e,t)}),Wv=A("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=Zb),tt.init(e,t)}),Gv=A("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=ov(t)),tt.init(e,t);let r=e._zod.check}),Kv=A("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=sv),tt.init(e,t)}),Xv=A("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=av(t)),tt.init(e,t);let r=e._zod.check}),Jv=A("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=Gb),tt.init(e,t)}),Yv=A("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=Yb),tt.init(e,t),e._zod.onattach.push(r=>{let i=r._zod.bag;i.format="ipv4"})}),Qv=A("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=Qb),tt.init(e,t),e._zod.onattach.push(r=>{let i=r._zod.bag;i.format="ipv6"}),e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),ey=A("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=ev),tt.init(e,t)}),ty=A("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=tv),tt.init(e,t),e._zod.check=r=>{let[i,n]=r.value.split("/");try{if(!n)throw new Error;let s=Number(n);if(`${s}`!==n)throw new Error;if(s<0||s>128)throw new Error;new URL(`http://[${i}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function ry(e){if(e==="")return!0;if(e.length%4!==0)return!1;try{return atob(e),!0}catch{return!1}}var ny=A("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=rv),tt.init(e,t),e._zod.onattach.push(r=>{r._zod.bag.contentEncoding="base64"}),e._zod.check=r=>{ry(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}});function SC(e){if(!wu.test(e))return!1;let t=e.replace(/[-_]/g,i=>i==="-"?"+":"/"),r=t.padEnd(Math.ceil(t.length/4)*4,"=");return ry(r)}var iy=A("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=wu),tt.init(e,t),e._zod.onattach.push(r=>{r._zod.bag.contentEncoding="base64url"}),e._zod.check=r=>{SC(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),sy=A("$ZodE164",(e,t)=>{t.pattern??(t.pattern=iv),tt.init(e,t)});function $C(e,t=null){try{let r=e.split(".");if(r.length!==3)return!1;let[i]=r,n=JSON.parse(atob(i));return!("typ"in n&&n?.typ!=="JWT"||!n.alg||t&&(!("alg"in n)||n.alg!==t))}catch{return!1}}var ay=A("$ZodJWT",(e,t)=>{tt.init(e,t),e._zod.check=r=>{$C(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),$u=A("$ZodNumber",(e,t)=>{we.init(e,t),e._zod.pattern=e._zod.bag.pattern??pv,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=Number(r.value)}catch{}let n=r.value;if(typeof n=="number"&&!Number.isNaN(n)&&Number.isFinite(n))return r;let s=typeof n=="number"?Number.isNaN(n)?"NaN":Number.isFinite(n)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:n,inst:e,...s?{received:s}:{}}),r}}),oy=A("$ZodNumber",(e,t)=>{bv.init(e,t),$u.init(e,t)}),Ka=A("$ZodBoolean",(e,t)=>{we.init(e,t),e._zod.pattern=dv,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=!!r.value}catch{}let n=r.value;return typeof n=="boolean"||r.issues.push({expected:"boolean",code:"invalid_type",input:n,inst:e}),r}}),Tu=A("$ZodBigInt",(e,t)=>{we.init(e,t),e._zod.pattern=uv,e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=BigInt(r.value)}catch{}let{value:n}=r;return typeof n=="bigint"||r.issues.push({expected:"bigint",code:"invalid_type",input:n,inst:e}),r}}),ly=A("$ZodBigInt",(e,t)=>{vv.init(e,t),Tu.init(e,t)}),uy=A("$ZodSymbol",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let{value:n}=r;return typeof n=="symbol"||r.issues.push({expected:"symbol",code:"invalid_type",input:n,inst:e}),r}}),cy=A("$ZodUndefined",(e,t)=>{we.init(e,t),e._zod.pattern=mv,e._zod.values=new Set([void 0]),e._zod.parse=(r,i)=>{let{value:n}=r;return typeof n>"u"||r.issues.push({expected:"undefined",code:"invalid_type",input:n,inst:e}),r}}),py=A("$ZodNull",(e,t)=>{we.init(e,t),e._zod.pattern=fv,e._zod.values=new Set([null]),e._zod.parse=(r,i)=>{let{value:n}=r;return n===null||r.issues.push({expected:"null",code:"invalid_type",input:n,inst:e}),r}}),dy=A("$ZodAny",(e,t)=>{we.init(e,t),e._zod.parse=r=>r}),ks=A("$ZodUnknown",(e,t)=>{we.init(e,t),e._zod.parse=r=>r}),fy=A("$ZodNever",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>(r.issues.push({expected:"never",code:"invalid_type",input:r.value,inst:e}),r)}),my=A("$ZodVoid",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let{value:n}=r;return typeof n>"u"||r.issues.push({expected:"void",code:"invalid_type",input:n,inst:e}),r}}),hy=A("$ZodDate",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{if(t.coerce)try{r.value=new Date(r.value)}catch{}let n=r.value,s=n instanceof Date;return s&&!Number.isNaN(n.getTime())||r.issues.push({expected:"date",code:"invalid_type",input:n,...s?{received:"Invalid Date"}:{},inst:e}),r}});function _C(e,t,r){e.issues.length&&t.issues.push(...ar(r,e.issues)),t.value[r]=e.value}var Xa=A("$ZodArray",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!Array.isArray(n))return r.issues.push({expected:"array",code:"invalid_type",input:n,inst:e}),r;r.value=Array(n.length);let s=[];for(let a=0;a<n.length;a++){let l=n[a],u=t.element._zod.run({value:l,issues:[]},i);u instanceof Promise?s.push(u.then(p=>_C(p,r,a))):_C(u,r,a)}return s.length?Promise.all(s).then(()=>r):r}});function Cu(e,t,r){e.issues.length&&t.issues.push(...ar(r,e.issues)),t.value[r]=e.value}function gC(e,t,r,i){e.issues.length?i[r]===void 0?r in i?t.value[r]=void 0:t.value[r]=e.value:t.issues.push(...ar(r,e.issues)):e.value===void 0?r in i&&(t.value[r]=void 0):t.value[r]=e.value}var _y=A("$ZodObject",(e,t)=>{we.init(e,t);let r=qa(()=>{let h=Object.keys(t.shape);for(let g of h)if(!(t.shape[g]instanceof we))throw new Error(`Invalid element at key "${g}": expected a Zod schema`);let _=Nb(t.shape);return{shape:t.shape,keys:h,keySet:new Set(h),numKeys:h.length,optionalKeys:new Set(_)}});We(e._zod,"propValues",()=>{let h=t.shape,_={};for(let g in h){let b=h[g]._zod;if(b.values){_[g]??(_[g]=new Set);for(let E of b.values)_[g].add(E)}}return _});let i=h=>{let _=new Ga(["shape","payload","ctx"]),{keys:g,optionalKeys:b}=r.value,E=N=>{let I=qi(N);return`shape[${I}]._zod.run({ value: input[${I}], issues: [] }, ctx)`};_.write("const input = payload.value;");let C=Object.create(null);for(let N of g)C[N]=hu(15);_.write("const newResult = {}");for(let N of g)if(b.has(N)){let I=C[N];_.write(`const ${I} = ${E(N)};`);let V=qi(N);_.write(`
        if (${I}.issues.length) {
          if (input[${V}] === undefined) {
            if (${V} in input) {
              newResult[${V}] = undefined;
            }
          } else {
            payload.issues = payload.issues.concat(
              ${I}.issues.map((iss) => ({
                ...iss,
                path: iss.path ? [${V}, ...iss.path] : [${V}],
              }))
            );
          }
        } else if (${I}.value === undefined) {
          if (${V} in input) newResult[${V}] = undefined;
        } else {
          newResult[${V}] = ${I}.value;
        }
        `)}else{let I=C[N];_.write(`const ${I} = ${E(N)};`),_.write(`
          if (${I}.issues.length) payload.issues = payload.issues.concat(${I}.issues.map(iss => ({
            ...iss,
            path: iss.path ? [${qi(N)}, ...iss.path] : [${qi(N)}]
          })));`),_.write(`newResult[${qi(N)}] = ${I}.value`)}_.write("payload.value = newResult;"),_.write("return payload;");let T=_.compile();return(N,I)=>T(h,N,I)},n,s=vs,a=!La.jitless,u=a&&Pb.value,{catchall:p}=t,f;e._zod.parse=(h,_)=>{f??(f=r.value);let g=h.value;if(!s(g))return h.issues.push({expected:"object",code:"invalid_type",input:g,inst:e}),h;let b=[];if(a&&u&&_?.async===!1&&_.jitless!==!0)n||(n=i(t.shape)),h=n(h,_);else{h.value={};let I=f.shape;for(let V of f.keys){let K=I[V],te=K._zod.run({value:g[V],issues:[]},_),ke=K._zod.optin==="optional"&&K._zod.optout==="optional";te instanceof Promise?b.push(te.then(W=>ke?gC(W,h,V,g):Cu(W,h,V))):ke?gC(te,h,V,g):Cu(te,h,V)}}if(!p)return b.length?Promise.all(b).then(()=>h):h;let E=[],C=f.keySet,T=p._zod,N=T.def.type;for(let I of Object.keys(g)){if(C.has(I))continue;if(N==="never"){E.push(I);continue}let V=T.run({value:g[I],issues:[]},_);V instanceof Promise?b.push(V.then(K=>Cu(K,h,I))):Cu(V,h,I)}return E.length&&h.issues.push({code:"unrecognized_keys",keys:E,input:g,inst:e}),b.length?Promise.all(b).then(()=>h):h}});function bC(e,t,r,i){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;return t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(n=>n.issues.map(s=>xr(s,i,xt())))}),t}var Iu=A("$ZodUnion",(e,t)=>{we.init(e,t),We(e._zod,"values",()=>{if(t.options.every(r=>r._zod.values))return new Set(t.options.flatMap(r=>Array.from(r._zod.values)))}),We(e._zod,"pattern",()=>{if(t.options.every(r=>r._zod.pattern)){let r=t.options.map(i=>i._zod.pattern);return new RegExp(`^(${r.map(i=>Ma(i.source)).join("|")})$`)}}),e._zod.parse=(r,i)=>{let n=!1,s=[];for(let a of t.options){let l=a._zod.run({value:r.value,issues:[]},i);if(l instanceof Promise)s.push(l),n=!0;else{if(l.issues.length===0)return l;s.push(l)}}return n?Promise.all(s).then(a=>bC(a,r,e,i)):bC(s,r,e,i)}}),gy=A("$ZodDiscriminatedUnion",(e,t)=>{Iu.init(e,t);let r=e._zod.parse;We(e._zod,"propValues",()=>{let n={};for(let s of t.options){let a=s._zod.propValues;if(!a||Object.keys(a).length===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(s)}"`);for(let[l,u]of Object.entries(a)){n[l]||(n[l]=new Set);for(let p of u)n[l].add(p)}}return n});let i=qa(()=>{let n=t.options,s=new Map;for(let a of n){let l=a._zod.propValues[t.discriminator];if(!l||l.size===0)throw new Error(`Invalid discriminated union option at index "${t.options.indexOf(a)}"`);for(let u of l){if(s.has(u))throw new Error(`Duplicate discriminator value "${String(u)}"`);s.set(u,a)}}return s});e._zod.parse=(n,s)=>{let a=n.value;if(!vs(a))return n.issues.push({code:"invalid_type",expected:"object",input:a,inst:e}),n;let l=i.value.get(a?.[t.discriminator]);return l?l._zod.run(n,s):t.unionFallback?r(n,s):(n.issues.push({code:"invalid_union",errors:[],note:"No matching discriminator",input:a,path:[t.discriminator],inst:e}),n)}}),by=A("$ZodIntersection",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let{value:n}=r,s=t.left._zod.run({value:n,issues:[]},i),a=t.right._zod.run({value:n,issues:[]},i);return s instanceof Promise||a instanceof Promise?Promise.all([s,a]).then(([u,p])=>vC(r,u,p)):vC(r,s,a)}});function Lv(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ba(e)&&Ba(t)){let r=Object.keys(t),i=Object.keys(e).filter(s=>r.indexOf(s)!==-1),n={...e,...t};for(let s of i){let a=Lv(e[s],t[s]);if(!a.valid)return{valid:!1,mergeErrorPath:[s,...a.mergeErrorPath]};n[s]=a.data}return{valid:!0,data:n}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let r=[];for(let i=0;i<e.length;i++){let n=e[i],s=t[i],a=Lv(n,s);if(!a.valid)return{valid:!1,mergeErrorPath:[i,...a.mergeErrorPath]};r.push(a.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function vC(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),Mi(e))return e;let i=Lv(t.value,r.value);if(!i.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(i.mergeErrorPath)}`);return e.value=i.data,e}var Vi=A("$ZodTuple",(e,t)=>{we.init(e,t);let r=t.items,i=r.length-[...r].reverse().findIndex(n=>n._zod.optin!=="optional");e._zod.parse=(n,s)=>{let a=n.value;if(!Array.isArray(a))return n.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),n;n.value=[];let l=[];if(!t.rest){let p=a.length>r.length,f=a.length<i-1;if(p||f)return n.issues.push({input:a,inst:e,origin:"array",...p?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length}}),n}let u=-1;for(let p of r){if(u++,u>=a.length&&u>=i)continue;let f=p._zod.run({value:a[u],issues:[]},s);f instanceof Promise?l.push(f.then(h=>Su(h,n,u))):Su(f,n,u)}if(t.rest){let p=a.slice(r.length);for(let f of p){u++;let h=t.rest._zod.run({value:f,issues:[]},s);h instanceof Promise?l.push(h.then(_=>Su(_,n,u))):Su(h,n,u)}}return l.length?Promise.all(l).then(()=>n):n}});function Su(e,t,r){e.issues.length&&t.issues.push(...ar(r,e.issues)),t.value[r]=e.value}var vy=A("$ZodRecord",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!Ba(n))return r.issues.push({expected:"record",code:"invalid_type",input:n,inst:e}),r;let s=[];if(t.keyType._zod.values){let a=t.keyType._zod.values;r.value={};for(let u of a)if(typeof u=="string"||typeof u=="number"||typeof u=="symbol"){let p=t.valueType._zod.run({value:n[u],issues:[]},i);p instanceof Promise?s.push(p.then(f=>{f.issues.length&&r.issues.push(...ar(u,f.issues)),r.value[u]=f.value})):(p.issues.length&&r.issues.push(...ar(u,p.issues)),r.value[u]=p.value)}let l;for(let u in n)a.has(u)||(l=l??[],l.push(u));l&&l.length>0&&r.issues.push({code:"unrecognized_keys",input:n,inst:e,keys:l})}else{r.value={};for(let a of Reflect.ownKeys(n)){if(a==="__proto__")continue;let l=t.keyType._zod.run({value:a,issues:[]},i);if(l instanceof Promise)throw new Error("Async schemas not supported in object keys currently");if(l.issues.length){r.issues.push({origin:"record",code:"invalid_key",issues:l.issues.map(p=>xr(p,i,xt())),input:a,path:[a],inst:e}),r.value[l.value]=l.value;continue}let u=t.valueType._zod.run({value:n[a],issues:[]},i);u instanceof Promise?s.push(u.then(p=>{p.issues.length&&r.issues.push(...ar(a,p.issues)),r.value[l.value]=p.value})):(u.issues.length&&r.issues.push(...ar(a,u.issues)),r.value[l.value]=u.value)}}return s.length?Promise.all(s).then(()=>r):r}}),yy=A("$ZodMap",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!(n instanceof Map))return r.issues.push({expected:"map",code:"invalid_type",input:n,inst:e}),r;let s=[];r.value=new Map;for(let[a,l]of n){let u=t.keyType._zod.run({value:a,issues:[]},i),p=t.valueType._zod.run({value:l,issues:[]},i);u instanceof Promise||p instanceof Promise?s.push(Promise.all([u,p]).then(([f,h])=>{yC(f,h,r,a,n,e,i)})):yC(u,p,r,a,n,e,i)}return s.length?Promise.all(s).then(()=>r):r}});function yC(e,t,r,i,n,s,a){e.issues.length&&(za.has(typeof i)?r.issues.push(...ar(i,e.issues)):r.issues.push({origin:"map",code:"invalid_key",input:n,inst:s,issues:e.issues.map(l=>xr(l,a,xt()))})),t.issues.length&&(za.has(typeof i)?r.issues.push(...ar(i,t.issues)):r.issues.push({origin:"map",code:"invalid_element",input:n,inst:s,key:i,issues:t.issues.map(l=>xr(l,a,xt()))})),r.value.set(e.value,t.value)}var xy=A("$ZodSet",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;if(!(n instanceof Set))return r.issues.push({input:n,inst:e,expected:"set",code:"invalid_type"}),r;let s=[];r.value=new Set;for(let a of n){let l=t.valueType._zod.run({value:a,issues:[]},i);l instanceof Promise?s.push(l.then(u=>xC(u,r))):xC(l,r)}return s.length?Promise.all(s).then(()=>r):r}});function xC(e,t){e.issues.length&&t.issues.push(...e.issues),t.value.add(e.value)}var ky=A("$ZodEnum",(e,t)=>{we.init(e,t);let r=ja(t.entries);e._zod.values=new Set(r),e._zod.pattern=new RegExp(`^(${r.filter(i=>za.has(typeof i)).map(i=>typeof i=="string"?Pn(i):i.toString()).join("|")})$`),e._zod.parse=(i,n)=>{let s=i.value;return e._zod.values.has(s)||i.issues.push({code:"invalid_value",values:r,input:s,inst:e}),i}}),wy=A("$ZodLiteral",(e,t)=>{we.init(e,t),e._zod.values=new Set(t.values),e._zod.pattern=new RegExp(`^(${t.values.map(r=>typeof r=="string"?Pn(r):r?r.toString():String(r)).join("|")})$`),e._zod.parse=(r,i)=>{let n=r.value;return e._zod.values.has(n)||r.issues.push({code:"invalid_value",values:t.values,input:n,inst:e}),r}}),Ey=A("$ZodFile",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=r.value;return n instanceof File||r.issues.push({expected:"file",code:"invalid_type",input:n,inst:e}),r}}),Ja=A("$ZodTransform",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=t.transform(r.value,r);if(i.async)return(n instanceof Promise?n:Promise.resolve(n)).then(a=>(r.value=a,r));if(n instanceof Promise)throw new on;return r.value=n,r}}),Dy=A("$ZodOptional",(e,t)=>{we.init(e,t),e._zod.optin="optional",e._zod.optout="optional",We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),We(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${Ma(r.source)})?$`):void 0}),e._zod.parse=(r,i)=>r.value===void 0?r:t.innerType._zod.run(r,i)}),Cy=A("$ZodNullable",(e,t)=>{we.init(e,t),We(e._zod,"optin",()=>t.innerType._zod.optin),We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"pattern",()=>{let r=t.innerType._zod.pattern;return r?new RegExp(`^(${Ma(r.source)}|null)$`):void 0}),We(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(r,i)=>r.value===null?r:t.innerType._zod.run(r,i)}),Sy=A("$ZodDefault",(e,t)=>{we.init(e,t),e._zod.optin="optional",We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{if(r.value===void 0)return r.value=t.defaultValue,r;let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>kC(s,t)):kC(n,t)}});function kC(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}var $y=A("$ZodPrefault",(e,t)=>{we.init(e,t),e._zod.optin="optional",We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>(r.value===void 0&&(r.value=t.defaultValue),t.innerType._zod.run(r,i))}),Ty=A("$ZodNonOptional",(e,t)=>{we.init(e,t),We(e._zod,"values",()=>{let r=t.innerType._zod.values;return r?new Set([...r].filter(i=>i!==void 0)):void 0}),e._zod.parse=(r,i)=>{let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>wC(s,e)):wC(n,e)}});function wC(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}var Iy=A("$ZodSuccess",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>{let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>(r.value=s.issues.length===0,r)):(r.value=n.issues.length===0,r)}}),Ay=A("$ZodCatch",(e,t)=>{we.init(e,t),We(e._zod,"optin",()=>t.innerType._zod.optin),We(e._zod,"optout",()=>t.innerType._zod.optout),We(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(r,i)=>{let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(s=>(r.value=s.value,s.issues.length&&(r.value=t.catchValue({...r,error:{issues:s.issues.map(a=>xr(a,i,xt()))},input:r.value}),r.issues=[]),r)):(r.value=n.value,n.issues.length&&(r.value=t.catchValue({...r,error:{issues:n.issues.map(s=>xr(s,i,xt()))},input:r.value}),r.issues=[]),r)}}),Py=A("$ZodNaN",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>((typeof r.value!="number"||!Number.isNaN(r.value))&&r.issues.push({input:r.value,inst:e,expected:"nan",code:"invalid_type"}),r)}),Ya=A("$ZodPipe",(e,t)=>{we.init(e,t),We(e._zod,"values",()=>t.in._zod.values),We(e._zod,"optin",()=>t.in._zod.optin),We(e._zod,"optout",()=>t.out._zod.optout),e._zod.parse=(r,i)=>{let n=t.in._zod.run(r,i);return n instanceof Promise?n.then(s=>EC(s,t,i)):EC(n,t,i)}});function EC(e,t,r){return Mi(e)?e:t.out._zod.run({value:e.value,issues:e.issues},r)}var Ry=A("$ZodReadonly",(e,t)=>{we.init(e,t),We(e._zod,"propValues",()=>t.innerType._zod.propValues),We(e._zod,"optin",()=>t.innerType._zod.optin),We(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(r,i)=>{let n=t.innerType._zod.run(r,i);return n instanceof Promise?n.then(DC):DC(n)}});function DC(e){return e.value=Object.freeze(e.value),e}var Ny=A("$ZodTemplateLiteral",(e,t)=>{we.init(e,t);let r=[];for(let i of t.parts)if(i instanceof we){if(!i._zod.pattern)throw new Error(`Invalid template literal part, no pattern found: ${[...i._zod.traits].shift()}`);let n=i._zod.pattern instanceof RegExp?i._zod.pattern.source:i._zod.pattern;if(!n)throw new Error(`Invalid template literal part: ${i._zod.traits}`);let s=n.startsWith("^")?1:0,a=n.endsWith("$")?n.length-1:n.length;r.push(n.slice(s,a))}else if(i===null||Rb.has(typeof i))r.push(Pn(`${i}`));else throw new Error(`Invalid template literal part: ${i}`);e._zod.pattern=new RegExp(`^${r.join("")}$`),e._zod.parse=(i,n)=>typeof i.value!="string"?(i.issues.push({input:i.value,inst:e,expected:"template_literal",code:"invalid_type"}),i):(e._zod.pattern.lastIndex=0,e._zod.pattern.test(i.value)||i.issues.push({input:i.value,inst:e,code:"invalid_format",format:"template_literal",pattern:e._zod.pattern.source}),i)}),Oy=A("$ZodPromise",(e,t)=>{we.init(e,t),e._zod.parse=(r,i)=>Promise.resolve(r.value).then(n=>t.innerType._zod.run({value:n,issues:[]},i))}),Ly=A("$ZodLazy",(e,t)=>{we.init(e,t),We(e._zod,"innerType",()=>t.getter()),We(e._zod,"pattern",()=>e._zod.innerType._zod.pattern),We(e._zod,"propValues",()=>e._zod.innerType._zod.propValues),We(e._zod,"optin",()=>e._zod.innerType._zod.optin),We(e._zod,"optout",()=>e._zod.innerType._zod.optout),e._zod.parse=(r,i)=>e._zod.innerType._zod.run(r,i)}),Fy=A("$ZodCustom",(e,t)=>{ht.init(e,t),we.init(e,t),e._zod.parse=(r,i)=>r,e._zod.check=r=>{let i=r.value,n=t.fn(i);if(n instanceof Promise)return n.then(s=>CC(s,r,i,e));CC(n,r,i,e)}});function CC(e,t,r,i){if(!e){let n={code:"custom",input:r,inst:i,path:[...i._zod.def.path??[]],continue:!i._zod.def.abort};i._zod.def.params&&(n.params=i._zod.def.params),t.issues.push(Fb(n))}}var Qa={};An(Qa,{ar:()=>IC,az:()=>AC,be:()=>RC,ca:()=>NC,cs:()=>OC,de:()=>LC,en:()=>Au,es:()=>FC,fa:()=>jC,fi:()=>qC,fr:()=>MC,frCA:()=>BC,he:()=>zC,hu:()=>UC,id:()=>VC,it:()=>HC,ja:()=>ZC,kh:()=>WC,ko:()=>GC,mk:()=>KC,ms:()=>XC,nl:()=>JC,no:()=>YC,ota:()=>QC,pl:()=>tS,ps:()=>eS,pt:()=>rS,ru:()=>iS,sl:()=>sS,sv:()=>aS,ta:()=>oS,th:()=>lS,tr:()=>uS,ua:()=>cS,ur:()=>pS,vi:()=>dS,zhCN:()=>fS,zhTW:()=>mS});var Cq=()=>{let e={string:{unit:"\u062D\u0631\u0641",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},file:{unit:"\u0628\u0627\u064A\u062A",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},array:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"},set:{unit:"\u0639\u0646\u0635\u0631",verb:"\u0623\u0646 \u064A\u062D\u0648\u064A"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0645\u062F\u062E\u0644",email:"\u0628\u0631\u064A\u062F \u0625\u0644\u0643\u062A\u0631\u0648\u0646\u064A",url:"\u0631\u0627\u0628\u0637",emoji:"\u0625\u064A\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u064A\u062E \u0648\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",date:"\u062A\u0627\u0631\u064A\u062E \u0628\u0645\u0639\u064A\u0627\u0631 ISO",time:"\u0648\u0642\u062A \u0628\u0645\u0639\u064A\u0627\u0631 ISO",duration:"\u0645\u062F\u0629 \u0628\u0645\u0639\u064A\u0627\u0631 ISO",ipv4:"\u0639\u0646\u0648\u0627\u0646 IPv4",ipv6:"\u0639\u0646\u0648\u0627\u0646 IPv6",cidrv4:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv4",cidrv6:"\u0645\u062F\u0649 \u0639\u0646\u0627\u0648\u064A\u0646 \u0628\u0635\u064A\u063A\u0629 IPv6",base64:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64-encoded",base64url:"\u0646\u064E\u0635 \u0628\u062A\u0631\u0645\u064A\u0632 base64url-encoded",json_string:"\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",e164:"\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",jwt:"JWT",template_literal:"\u0645\u062F\u062E\u0644"};return n=>{switch(n.code){case"invalid_type":return`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${n.expected}\u060C \u0648\u0644\u0643\u0646 \u062A\u0645 \u0625\u062F\u062E\u0627\u0644 ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u0645\u062F\u062E\u0644\u0627\u062A \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644\u0629: \u064A\u0641\u062A\u0631\u0636 \u0625\u062F\u062E\u0627\u0644 ${Q(n.values[0])}`:`\u0627\u062E\u062A\u064A\u0627\u0631 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062A\u0648\u0642\u0639 \u0627\u0646\u062A\u0642\u0627\u0621 \u0623\u062D\u062F \u0647\u0630\u0647 \u0627\u0644\u062E\u064A\u0627\u0631\u0627\u062A: ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?` \u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${n.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${s} ${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"}`:`\u0623\u0643\u0628\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0623\u0646 \u062A\u0643\u0648\u0646 ${n.origin??"\u0627\u0644\u0642\u064A\u0645\u0629"} ${s} ${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${n.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${s} ${n.minimum.toString()} ${a.unit}`:`\u0623\u0635\u063A\u0631 \u0645\u0646 \u0627\u0644\u0644\u0627\u0632\u0645: \u064A\u0641\u062A\u0631\u0636 \u0644\u0640 ${n.origin} \u0623\u0646 \u064A\u0643\u0648\u0646 ${s} ${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0628\u062F\u0623 \u0628\u0640 "${n.prefix}"`:s.format==="ends_with"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0646\u062A\u0647\u064A \u0628\u0640 "${s.suffix}"`:s.format==="includes"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u062A\u0636\u0645\u0651\u064E\u0646 "${s.includes}"`:s.format==="regex"?`\u0646\u064E\u0635 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0637\u0627\u0628\u0642 \u0627\u0644\u0646\u0645\u0637 ${s.pattern}`:`${i[s.format]??n.format} \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644`}case"not_multiple_of":return`\u0631\u0642\u0645 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644: \u064A\u062C\u0628 \u0623\u0646 \u064A\u0643\u0648\u0646 \u0645\u0646 \u0645\u0636\u0627\u0639\u0641\u0627\u062A ${n.divisor}`;case"unrecognized_keys":return`\u0645\u0639\u0631\u0641${n.keys.length>1?"\u0627\u062A":""} \u063A\u0631\u064A\u0628${n.keys.length>1?"\u0629":""}: ${z(n.keys,"\u060C ")}`;case"invalid_key":return`\u0645\u0639\u0631\u0641 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${n.origin}`;case"invalid_union":return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644";case"invalid_element":return`\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644 \u0641\u064A ${n.origin}`;default:return"\u0645\u062F\u062E\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628\u0648\u0644"}}};function IC(){return{localeError:Cq()}}var Sq=()=>{let e={string:{unit:"simvol",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"element",verb:"olmal\u0131d\u0131r"},set:{unit:"element",verb:"olmal\u0131d\u0131r"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${n.expected}, daxil olan ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Yanl\u0131\u015F d\u0259y\u0259r: g\xF6zl\u0259nil\u0259n ${Q(n.values[0])}`:`Yanl\u0131\u015F se\xE7im: a\u015Fa\u011F\u0131dak\u0131lardan biri olmal\u0131d\u0131r: ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${n.origin??"d\u0259y\u0259r"} ${s}${n.maximum.toString()} ${a.unit??"element"}`:`\xC7ox b\xF6y\xFCk: g\xF6zl\u0259nil\u0259n ${n.origin??"d\u0259y\u0259r"} ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${n.origin} ${s}${n.minimum.toString()} ${a.unit}`:`\xC7ox ki\xE7ik: g\xF6zl\u0259nil\u0259n ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Yanl\u0131\u015F m\u0259tn: "${s.prefix}" il\u0259 ba\u015Flamal\u0131d\u0131r`:s.format==="ends_with"?`Yanl\u0131\u015F m\u0259tn: "${s.suffix}" il\u0259 bitm\u0259lidir`:s.format==="includes"?`Yanl\u0131\u015F m\u0259tn: "${s.includes}" daxil olmal\u0131d\u0131r`:s.format==="regex"?`Yanl\u0131\u015F m\u0259tn: ${s.pattern} \u015Fablonuna uy\u011Fun olmal\u0131d\u0131r`:`Yanl\u0131\u015F ${i[s.format]??n.format}`}case"not_multiple_of":return`Yanl\u0131\u015F \u0259d\u0259d: ${n.divisor} il\u0259 b\xF6l\xFCn\u0259 bil\u0259n olmal\u0131d\u0131r`;case"unrecognized_keys":return`Tan\u0131nmayan a\xE7ar${n.keys.length>1?"lar":""}: ${z(n.keys,", ")}`;case"invalid_key":return`${n.origin} daxilind\u0259 yanl\u0131\u015F a\xE7ar`;case"invalid_union":return"Yanl\u0131\u015F d\u0259y\u0259r";case"invalid_element":return`${n.origin} daxilind\u0259 yanl\u0131\u015F d\u0259y\u0259r`;default:return"Yanl\u0131\u015F d\u0259y\u0259r"}}};function AC(){return{localeError:Sq()}}function PC(e,t,r,i){let n=Math.abs(e),s=n%10,a=n%100;return a>=11&&a<=19?i:s===1?t:s>=2&&s<=4?r:i}var $q=()=>{let e={string:{unit:{one:"\u0441\u0456\u043C\u0432\u0430\u043B",few:"\u0441\u0456\u043C\u0432\u0430\u043B\u044B",many:"\u0441\u0456\u043C\u0432\u0430\u043B\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u044B",many:"\u0431\u0430\u0439\u0442\u0430\u045E"},verb:"\u043C\u0435\u0446\u044C"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u043B\u0456\u043A";case"object":{if(Array.isArray(n))return"\u043C\u0430\u0441\u0456\u045E";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0443\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0430\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0456 \u0447\u0430\u0441",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0447\u0430\u0441",duration:"ISO \u043F\u0440\u0430\u0446\u044F\u0433\u043B\u0430\u0441\u0446\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0430\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0430\u0441",cidrv4:"IPv4 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u044B\u044F\u043F\u0430\u0437\u043E\u043D",base64:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64",base64url:"\u0440\u0430\u0434\u043E\u043A \u0443 \u0444\u0430\u0440\u043C\u0430\u0446\u0435 base64url",json_string:"JSON \u0440\u0430\u0434\u043E\u043A",e164:"\u043D\u0443\u043C\u0430\u0440 E.164",jwt:"JWT",template_literal:"\u0443\u0432\u043E\u0434"};return n=>{switch(n.code){case"invalid_type":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u045E\u0441\u044F ${n.expected}, \u0430\u0442\u0440\u044B\u043C\u0430\u043D\u0430 ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F ${Q(n.values[0])}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0432\u0430\u0440\u044B\u044F\u043D\u0442: \u0447\u0430\u043A\u0430\u045E\u0441\u044F \u0430\u0434\u0437\u0456\u043D \u0437 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);if(a){let l=Number(n.maximum),u=PC(l,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${s}${n.maximum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u0432\u044F\u043B\u0456\u043A\u0456: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435"} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);if(a){let l=Number(n.minimum),u=PC(l,a.unit.one,a.unit.few,a.unit.many);return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 ${a.verb} ${s}${n.minimum.toString()} ${u}`}return`\u0417\u0430\u043D\u0430\u0434\u0442\u0430 \u043C\u0430\u043B\u044B: \u0447\u0430\u043A\u0430\u043B\u0430\u0441\u044F, \u0448\u0442\u043E ${n.origin} \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u043F\u0430\u0447\u044B\u043D\u0430\u0446\u0446\u0430 \u0437 "${s.prefix}"`:s.format==="ends_with"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u0430\u043A\u0430\u043D\u0447\u0432\u0430\u0446\u0446\u0430 \u043D\u0430 "${s.suffix}"`:s.format==="includes"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0437\u043C\u044F\u0448\u0447\u0430\u0446\u044C "${s.includes}"`:s.format==="regex"?`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u0440\u0430\u0434\u043E\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0446\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${s.pattern}`:`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B ${i[s.format]??n.format}`}case"not_multiple_of":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043B\u0456\u043A: \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u044B ${n.keys.length>1?"\u043A\u043B\u044E\u0447\u044B":"\u043A\u043B\u044E\u0447"}: ${z(n.keys,", ")}`;case"invalid_key":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u043A\u043B\u044E\u0447 \u0443 ${n.origin}`;case"invalid_union":return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434";case"invalid_element":return`\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430\u0435 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0435 \u045E ${n.origin}`;default:return"\u041D\u044F\u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B \u045E\u0432\u043E\u0434"}}};function RC(){return{localeError:$q()}}var Tq=()=>{let e={string:{unit:"car\xE0cters",verb:"contenir"},file:{unit:"bytes",verb:"contenir"},array:{unit:"elements",verb:"contenir"},set:{unit:"elements",verb:"contenir"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"entrada",email:"adre\xE7a electr\xF2nica",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i hora ISO",date:"data ISO",time:"hora ISO",duration:"durada ISO",ipv4:"adre\xE7a IPv4",ipv6:"adre\xE7a IPv6",cidrv4:"rang IPv4",cidrv6:"rang IPv6",base64:"cadena codificada en base64",base64url:"cadena codificada en base64url",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return n=>{switch(n.code){case"invalid_type":return`Tipus inv\xE0lid: s'esperava ${n.expected}, s'ha rebut ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Valor inv\xE0lid: s'esperava ${Q(n.values[0])}`:`Opci\xF3 inv\xE0lida: s'esperava una de ${z(n.values," o ")}`;case"too_big":{let s=n.inclusive?"com a m\xE0xim":"menys de",a=t(n.origin);return a?`Massa gran: s'esperava que ${n.origin??"el valor"} contingu\xE9s ${s} ${n.maximum.toString()} ${a.unit??"elements"}`:`Massa gran: s'esperava que ${n.origin??"el valor"} fos ${s} ${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?"com a m\xEDnim":"m\xE9s de",a=t(n.origin);return a?`Massa petit: s'esperava que ${n.origin} contingu\xE9s ${s} ${n.minimum.toString()} ${a.unit}`:`Massa petit: s'esperava que ${n.origin} fos ${s} ${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Format inv\xE0lid: ha de comen\xE7ar amb "${s.prefix}"`:s.format==="ends_with"?`Format inv\xE0lid: ha d'acabar amb "${s.suffix}"`:s.format==="includes"?`Format inv\xE0lid: ha d'incloure "${s.includes}"`:s.format==="regex"?`Format inv\xE0lid: ha de coincidir amb el patr\xF3 ${s.pattern}`:`Format inv\xE0lid per a ${i[s.format]??n.format}`}case"not_multiple_of":return`N\xFAmero inv\xE0lid: ha de ser m\xFAltiple de ${n.divisor}`;case"unrecognized_keys":return`Clau${n.keys.length>1?"s":""} no reconeguda${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`Clau inv\xE0lida a ${n.origin}`;case"invalid_union":return"Entrada inv\xE0lida";case"invalid_element":return`Element inv\xE0lid a ${n.origin}`;default:return"Entrada inv\xE0lida"}}};function NC(){return{localeError:Tq()}}var Iq=()=>{let e={string:{unit:"znak\u016F",verb:"m\xEDt"},file:{unit:"bajt\u016F",verb:"m\xEDt"},array:{unit:"prvk\u016F",verb:"m\xEDt"},set:{unit:"prvk\u016F",verb:"m\xEDt"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u010D\xEDslo";case"string":return"\u0159et\u011Bzec";case"boolean":return"boolean";case"bigint":return"bigint";case"function":return"funkce";case"symbol":return"symbol";case"undefined":return"undefined";case"object":{if(Array.isArray(n))return"pole";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"regul\xE1rn\xED v\xFDraz",email:"e-mailov\xE1 adresa",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"datum a \u010Das ve form\xE1tu ISO",date:"datum ve form\xE1tu ISO",time:"\u010Das ve form\xE1tu ISO",duration:"doba trv\xE1n\xED ISO",ipv4:"IPv4 adresa",ipv6:"IPv6 adresa",cidrv4:"rozsah IPv4",cidrv6:"rozsah IPv6",base64:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64",base64url:"\u0159et\u011Bzec zak\xF3dovan\xFD ve form\xE1tu base64url",json_string:"\u0159et\u011Bzec ve form\xE1tu JSON",e164:"\u010D\xEDslo E.164",jwt:"JWT",template_literal:"vstup"};return n=>{switch(n.code){case"invalid_type":return`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${n.expected}, obdr\u017Eeno ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Neplatn\xFD vstup: o\u010Dek\xE1v\xE1no ${Q(n.values[0])}`:`Neplatn\xE1 mo\u017Enost: o\u010Dek\xE1v\xE1na jedna z hodnot ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${n.origin??"hodnota"} mus\xED m\xEDt ${s}${n.maximum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 velk\xE1: ${n.origin??"hodnota"} mus\xED b\xFDt ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${n.origin??"hodnota"} mus\xED m\xEDt ${s}${n.minimum.toString()} ${a.unit??"prvk\u016F"}`:`Hodnota je p\u0159\xEDli\u0161 mal\xE1: ${n.origin??"hodnota"} mus\xED b\xFDt ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED za\u010D\xEDnat na "${s.prefix}"`:s.format==="ends_with"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED kon\u010Dit na "${s.suffix}"`:s.format==="includes"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED obsahovat "${s.includes}"`:s.format==="regex"?`Neplatn\xFD \u0159et\u011Bzec: mus\xED odpov\xEDdat vzoru ${s.pattern}`:`Neplatn\xFD form\xE1t ${i[s.format]??n.format}`}case"not_multiple_of":return`Neplatn\xE9 \u010D\xEDslo: mus\xED b\xFDt n\xE1sobkem ${n.divisor}`;case"unrecognized_keys":return`Nezn\xE1m\xE9 kl\xED\u010De: ${z(n.keys,", ")}`;case"invalid_key":return`Neplatn\xFD kl\xED\u010D v ${n.origin}`;case"invalid_union":return"Neplatn\xFD vstup";case"invalid_element":return`Neplatn\xE1 hodnota v ${n.origin}`;default:return"Neplatn\xFD vstup"}}};function OC(){return{localeError:Iq()}}var Aq=()=>{let e={string:{unit:"Zeichen",verb:"zu haben"},file:{unit:"Bytes",verb:"zu haben"},array:{unit:"Elemente",verb:"zu haben"},set:{unit:"Elemente",verb:"zu haben"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"Zahl";case"object":{if(Array.isArray(n))return"Array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"Eingabe",email:"E-Mail-Adresse",url:"URL",emoji:"Emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-Datum und -Uhrzeit",date:"ISO-Datum",time:"ISO-Uhrzeit",duration:"ISO-Dauer",ipv4:"IPv4-Adresse",ipv6:"IPv6-Adresse",cidrv4:"IPv4-Bereich",cidrv6:"IPv6-Bereich",base64:"Base64-codierter String",base64url:"Base64-URL-codierter String",json_string:"JSON-String",e164:"E.164-Nummer",jwt:"JWT",template_literal:"Eingabe"};return n=>{switch(n.code){case"invalid_type":return`Ung\xFCltige Eingabe: erwartet ${n.expected}, erhalten ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Ung\xFCltige Eingabe: erwartet ${Q(n.values[0])}`:`Ung\xFCltige Option: erwartet eine von ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Zu gro\xDF: erwartet, dass ${n.origin??"Wert"} ${s}${n.maximum.toString()} ${a.unit??"Elemente"} hat`:`Zu gro\xDF: erwartet, dass ${n.origin??"Wert"} ${s}${n.maximum.toString()} ist`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Zu klein: erwartet, dass ${n.origin} ${s}${n.minimum.toString()} ${a.unit} hat`:`Zu klein: erwartet, dass ${n.origin} ${s}${n.minimum.toString()} ist`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Ung\xFCltiger String: muss mit "${s.prefix}" beginnen`:s.format==="ends_with"?`Ung\xFCltiger String: muss mit "${s.suffix}" enden`:s.format==="includes"?`Ung\xFCltiger String: muss "${s.includes}" enthalten`:s.format==="regex"?`Ung\xFCltiger String: muss dem Muster ${s.pattern} entsprechen`:`Ung\xFCltig: ${i[s.format]??n.format}`}case"not_multiple_of":return`Ung\xFCltige Zahl: muss ein Vielfaches von ${n.divisor} sein`;case"unrecognized_keys":return`${n.keys.length>1?"Unbekannte Schl\xFCssel":"Unbekannter Schl\xFCssel"}: ${z(n.keys,", ")}`;case"invalid_key":return`Ung\xFCltiger Schl\xFCssel in ${n.origin}`;case"invalid_union":return"Ung\xFCltige Eingabe";case"invalid_element":return`Ung\xFCltiger Wert in ${n.origin}`;default:return"Ung\xFCltige Eingabe"}}};function LC(){return{localeError:Aq()}}var Pq=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},Rq=()=>{let e={string:{unit:"characters",verb:"to have"},file:{unit:"bytes",verb:"to have"},array:{unit:"items",verb:"to have"},set:{unit:"items",verb:"to have"}};function t(i){return e[i]??null}let r={regex:"input",email:"email address",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datetime",date:"ISO date",time:"ISO time",duration:"ISO duration",ipv4:"IPv4 address",ipv6:"IPv6 address",cidrv4:"IPv4 range",cidrv6:"IPv6 range",base64:"base64-encoded string",base64url:"base64url-encoded string",json_string:"JSON string",e164:"E.164 number",jwt:"JWT",template_literal:"input"};return i=>{switch(i.code){case"invalid_type":return`Invalid input: expected ${i.expected}, received ${Pq(i.input)}`;case"invalid_value":return i.values.length===1?`Invalid input: expected ${Q(i.values[0])}`:`Invalid option: expected one of ${z(i.values,"|")}`;case"too_big":{let n=i.inclusive?"<=":"<",s=t(i.origin);return s?`Too big: expected ${i.origin??"value"} to have ${n}${i.maximum.toString()} ${s.unit??"elements"}`:`Too big: expected ${i.origin??"value"} to be ${n}${i.maximum.toString()}`}case"too_small":{let n=i.inclusive?">=":">",s=t(i.origin);return s?`Too small: expected ${i.origin} to have ${n}${i.minimum.toString()} ${s.unit}`:`Too small: expected ${i.origin} to be ${n}${i.minimum.toString()}`}case"invalid_format":{let n=i;return n.format==="starts_with"?`Invalid string: must start with "${n.prefix}"`:n.format==="ends_with"?`Invalid string: must end with "${n.suffix}"`:n.format==="includes"?`Invalid string: must include "${n.includes}"`:n.format==="regex"?`Invalid string: must match pattern ${n.pattern}`:`Invalid ${r[n.format]??i.format}`}case"not_multiple_of":return`Invalid number: must be a multiple of ${i.divisor}`;case"unrecognized_keys":return`Unrecognized key${i.keys.length>1?"s":""}: ${z(i.keys,", ")}`;case"invalid_key":return`Invalid key in ${i.origin}`;case"invalid_union":return"Invalid input";case"invalid_element":return`Invalid value in ${i.origin}`;default:return"Invalid input"}}};function Au(){return{localeError:Rq()}}var Nq=()=>{let e={string:{unit:"caracteres",verb:"tener"},file:{unit:"bytes",verb:"tener"},array:{unit:"elementos",verb:"tener"},set:{unit:"elementos",verb:"tener"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(n))return"arreglo";if(n===null)return"nulo";if(Object.getPrototypeOf(n)!==Object.prototype)return n.constructor.name}}return s},i={regex:"entrada",email:"direcci\xF3n de correo electr\xF3nico",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"fecha y hora ISO",date:"fecha ISO",time:"hora ISO",duration:"duraci\xF3n ISO",ipv4:"direcci\xF3n IPv4",ipv6:"direcci\xF3n IPv6",cidrv4:"rango IPv4",cidrv6:"rango IPv6",base64:"cadena codificada en base64",base64url:"URL codificada en base64",json_string:"cadena JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return n=>{switch(n.code){case"invalid_type":return`Entrada inv\xE1lida: se esperaba ${n.expected}, recibido ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Entrada inv\xE1lida: se esperaba ${Q(n.values[0])}`:`Opci\xF3n inv\xE1lida: se esperaba una de ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Demasiado grande: se esperaba que ${n.origin??"valor"} tuviera ${s}${n.maximum.toString()} ${a.unit??"elementos"}`:`Demasiado grande: se esperaba que ${n.origin??"valor"} fuera ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Demasiado peque\xF1o: se esperaba que ${n.origin} tuviera ${s}${n.minimum.toString()} ${a.unit}`:`Demasiado peque\xF1o: se esperaba que ${n.origin} fuera ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Cadena inv\xE1lida: debe comenzar con "${s.prefix}"`:s.format==="ends_with"?`Cadena inv\xE1lida: debe terminar en "${s.suffix}"`:s.format==="includes"?`Cadena inv\xE1lida: debe incluir "${s.includes}"`:s.format==="regex"?`Cadena inv\xE1lida: debe coincidir con el patr\xF3n ${s.pattern}`:`Inv\xE1lido ${i[s.format]??n.format}`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: debe ser m\xFAltiplo de ${n.divisor}`;case"unrecognized_keys":return`Llave${n.keys.length>1?"s":""} desconocida${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`Llave inv\xE1lida en ${n.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido en ${n.origin}`;default:return"Entrada inv\xE1lida"}}};function FC(){return{localeError:Nq()}}var Oq=()=>{let e={string:{unit:"\u06A9\u0627\u0631\u0627\u06A9\u062A\u0631",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},file:{unit:"\u0628\u0627\u06CC\u062A",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},array:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"},set:{unit:"\u0622\u06CC\u062A\u0645",verb:"\u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(n))return"\u0622\u0631\u0627\u06CC\u0647";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0648\u0631\u0648\u062F\u06CC",email:"\u0622\u062F\u0631\u0633 \u0627\u06CC\u0645\u06CC\u0644",url:"URL",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u062A\u0627\u0631\u06CC\u062E \u0648 \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",date:"\u062A\u0627\u0631\u06CC\u062E \u0627\u06CC\u0632\u0648",time:"\u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",duration:"\u0645\u062F\u062A \u0632\u0645\u0627\u0646 \u0627\u06CC\u0632\u0648",ipv4:"IPv4 \u0622\u062F\u0631\u0633",ipv6:"IPv6 \u0622\u062F\u0631\u0633",cidrv4:"IPv4 \u062F\u0627\u0645\u0646\u0647",cidrv6:"IPv6 \u062F\u0627\u0645\u0646\u0647",base64:"base64-encoded \u0631\u0634\u062A\u0647",base64url:"base64url-encoded \u0631\u0634\u062A\u0647",json_string:"JSON \u0631\u0634\u062A\u0647",e164:"E.164 \u0639\u062F\u062F",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u06CC"};return n=>{switch(n.code){case"invalid_type":return`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${n.expected} \u0645\u06CC\u200C\u0628\u0648\u062F\u060C ${r(n.input)} \u062F\u0631\u06CC\u0627\u0641\u062A \u0634\u062F`;case"invalid_value":return n.values.length===1?`\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A ${Q(n.values[0])} \u0645\u06CC\u200C\u0628\u0648\u062F`:`\u06AF\u0632\u06CC\u0646\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0645\u06CC\u200C\u0628\u0627\u06CC\u0633\u062A \u06CC\u06A9\u06CC \u0627\u0632 ${z(n.values,"|")} \u0645\u06CC\u200C\u0628\u0648\u062F`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${n.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${s}${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631"} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u0628\u0632\u0631\u06AF: ${n.origin??"\u0645\u0642\u062F\u0627\u0631"} \u0628\u0627\u06CC\u062F ${s}${n.maximum.toString()} \u0628\u0627\u0634\u062F`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${n.origin} \u0628\u0627\u06CC\u062F ${s}${n.minimum.toString()} ${a.unit} \u0628\u0627\u0634\u062F`:`\u062E\u06CC\u0644\u06CC \u06A9\u0648\u0686\u06A9: ${n.origin} \u0628\u0627\u06CC\u062F ${s}${n.minimum.toString()} \u0628\u0627\u0634\u062F`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${s.prefix}" \u0634\u0631\u0648\u0639 \u0634\u0648\u062F`:s.format==="ends_with"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 "${s.suffix}" \u062A\u0645\u0627\u0645 \u0634\u0648\u062F`:s.format==="includes"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0634\u0627\u0645\u0644 "${s.includes}" \u0628\u0627\u0634\u062F`:s.format==="regex"?`\u0631\u0634\u062A\u0647 \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0628\u0627 \u0627\u0644\u06AF\u0648\u06CC ${s.pattern} \u0645\u0637\u0627\u0628\u0642\u062A \u062F\u0627\u0634\u062A\u0647 \u0628\u0627\u0634\u062F`:`${i[s.format]??n.format} \u0646\u0627\u0645\u0639\u062A\u0628\u0631`}case"not_multiple_of":return`\u0639\u062F\u062F \u0646\u0627\u0645\u0639\u062A\u0628\u0631: \u0628\u0627\u06CC\u062F \u0645\u0636\u0631\u0628 ${n.divisor} \u0628\u0627\u0634\u062F`;case"unrecognized_keys":return`\u06A9\u0644\u06CC\u062F${n.keys.length>1?"\u0647\u0627\u06CC":""} \u0646\u0627\u0634\u0646\u0627\u0633: ${z(n.keys,", ")}`;case"invalid_key":return`\u06A9\u0644\u06CC\u062F \u0646\u0627\u0634\u0646\u0627\u0633 \u062F\u0631 ${n.origin}`;case"invalid_union":return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631";case"invalid_element":return`\u0645\u0642\u062F\u0627\u0631 \u0646\u0627\u0645\u0639\u062A\u0628\u0631 \u062F\u0631 ${n.origin}`;default:return"\u0648\u0631\u0648\u062F\u06CC \u0646\u0627\u0645\u0639\u062A\u0628\u0631"}}};function jC(){return{localeError:Oq()}}var Lq=()=>{let e={string:{unit:"merkki\xE4",subject:"merkkijonon"},file:{unit:"tavua",subject:"tiedoston"},array:{unit:"alkiota",subject:"listan"},set:{unit:"alkiota",subject:"joukon"},number:{unit:"",subject:"luvun"},bigint:{unit:"",subject:"suuren kokonaisluvun"},int:{unit:"",subject:"kokonaisluvun"},date:{unit:"",subject:"p\xE4iv\xE4m\xE4\xE4r\xE4n"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"s\xE4\xE4nn\xF6llinen lauseke",email:"s\xE4hk\xF6postiosoite",url:"URL-osoite",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-aikaleima",date:"ISO-p\xE4iv\xE4m\xE4\xE4r\xE4",time:"ISO-aika",duration:"ISO-kesto",ipv4:"IPv4-osoite",ipv6:"IPv6-osoite",cidrv4:"IPv4-alue",cidrv6:"IPv6-alue",base64:"base64-koodattu merkkijono",base64url:"base64url-koodattu merkkijono",json_string:"JSON-merkkijono",e164:"E.164-luku",jwt:"JWT",template_literal:"templaattimerkkijono"};return n=>{switch(n.code){case"invalid_type":return`Virheellinen tyyppi: odotettiin ${n.expected}, oli ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Virheellinen sy\xF6te: t\xE4ytyy olla ${Q(n.values[0])}`:`Virheellinen valinta: t\xE4ytyy olla yksi seuraavista: ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Liian suuri: ${a.subject} t\xE4ytyy olla ${s}${n.maximum.toString()} ${a.unit}`.trim():`Liian suuri: arvon t\xE4ytyy olla ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Liian pieni: ${a.subject} t\xE4ytyy olla ${s}${n.minimum.toString()} ${a.unit}`.trim():`Liian pieni: arvon t\xE4ytyy olla ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Virheellinen sy\xF6te: t\xE4ytyy alkaa "${s.prefix}"`:s.format==="ends_with"?`Virheellinen sy\xF6te: t\xE4ytyy loppua "${s.suffix}"`:s.format==="includes"?`Virheellinen sy\xF6te: t\xE4ytyy sis\xE4lt\xE4\xE4 "${s.includes}"`:s.format==="regex"?`Virheellinen sy\xF6te: t\xE4ytyy vastata s\xE4\xE4nn\xF6llist\xE4 lauseketta ${s.pattern}`:`Virheellinen ${i[s.format]??n.format}`}case"not_multiple_of":return`Virheellinen luku: t\xE4ytyy olla luvun ${n.divisor} monikerta`;case"unrecognized_keys":return`${n.keys.length>1?"Tuntemattomat avaimet":"Tuntematon avain"}: ${z(n.keys,", ")}`;case"invalid_key":return"Virheellinen avain tietueessa";case"invalid_union":return"Virheellinen unioni";case"invalid_element":return"Virheellinen arvo joukossa";default:return"Virheellinen sy\xF6te"}}};function qC(){return{localeError:Lq()}}var Fq=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"nombre";case"object":{if(Array.isArray(n))return"tableau";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"entr\xE9e",email:"adresse e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date et heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"};return n=>{switch(n.code){case"invalid_type":return`Entr\xE9e invalide : ${n.expected} attendu, ${r(n.input)} re\xE7u`;case"invalid_value":return n.values.length===1?`Entr\xE9e invalide : ${Q(n.values[0])} attendu`:`Option invalide : une valeur parmi ${z(n.values,"|")} attendue`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Trop grand : ${n.origin??"valeur"} doit ${a.verb} ${s}${n.maximum.toString()} ${a.unit??"\xE9l\xE9ment(s)"}`:`Trop grand : ${n.origin??"valeur"} doit \xEAtre ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Trop petit : ${n.origin} doit ${a.verb} ${s}${n.minimum.toString()} ${a.unit}`:`Trop petit : ${n.origin} doit \xEAtre ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${s.prefix}"`:s.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${s.suffix}"`:s.format==="includes"?`Cha\xEEne invalide : doit inclure "${s.includes}"`:s.format==="regex"?`Cha\xEEne invalide : doit correspondre au mod\xE8le ${s.pattern}`:`${i[s.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${n.divisor}`;case"unrecognized_keys":return`Cl\xE9${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${z(n.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${n.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entr\xE9e invalide"}}};function MC(){return{localeError:Fq()}}var jq=()=>{let e={string:{unit:"caract\xE8res",verb:"avoir"},file:{unit:"octets",verb:"avoir"},array:{unit:"\xE9l\xE9ments",verb:"avoir"},set:{unit:"\xE9l\xE9ments",verb:"avoir"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"entr\xE9e",email:"adresse courriel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"date-heure ISO",date:"date ISO",time:"heure ISO",duration:"dur\xE9e ISO",ipv4:"adresse IPv4",ipv6:"adresse IPv6",cidrv4:"plage IPv4",cidrv6:"plage IPv6",base64:"cha\xEEne encod\xE9e en base64",base64url:"cha\xEEne encod\xE9e en base64url",json_string:"cha\xEEne JSON",e164:"num\xE9ro E.164",jwt:"JWT",template_literal:"entr\xE9e"};return n=>{switch(n.code){case"invalid_type":return`Entr\xE9e invalide : attendu ${n.expected}, re\xE7u ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Entr\xE9e invalide : attendu ${Q(n.values[0])}`:`Option invalide : attendu l'une des valeurs suivantes ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"\u2264":"<",a=t(n.origin);return a?`Trop grand : attendu que ${n.origin??"la valeur"} ait ${s}${n.maximum.toString()} ${a.unit}`:`Trop grand : attendu que ${n.origin??"la valeur"} soit ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?"\u2265":">",a=t(n.origin);return a?`Trop petit : attendu que ${n.origin} ait ${s}${n.minimum.toString()} ${a.unit}`:`Trop petit : attendu que ${n.origin} soit ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Cha\xEEne invalide : doit commencer par "${s.prefix}"`:s.format==="ends_with"?`Cha\xEEne invalide : doit se terminer par "${s.suffix}"`:s.format==="includes"?`Cha\xEEne invalide : doit inclure "${s.includes}"`:s.format==="regex"?`Cha\xEEne invalide : doit correspondre au motif ${s.pattern}`:`${i[s.format]??n.format} invalide`}case"not_multiple_of":return`Nombre invalide : doit \xEAtre un multiple de ${n.divisor}`;case"unrecognized_keys":return`Cl\xE9${n.keys.length>1?"s":""} non reconnue${n.keys.length>1?"s":""} : ${z(n.keys,", ")}`;case"invalid_key":return`Cl\xE9 invalide dans ${n.origin}`;case"invalid_union":return"Entr\xE9e invalide";case"invalid_element":return`Valeur invalide dans ${n.origin}`;default:return"Entr\xE9e invalide"}}};function BC(){return{localeError:jq()}}var qq=()=>{let e={string:{unit:"\u05D0\u05D5\u05EA\u05D9\u05D5\u05EA",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},file:{unit:"\u05D1\u05D9\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},array:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"},set:{unit:"\u05E4\u05E8\u05D9\u05D8\u05D9\u05DD",verb:"\u05DC\u05DB\u05DC\u05D5\u05DC"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u05E7\u05DC\u05D8",email:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05D0\u05D9\u05DE\u05D9\u05D9\u05DC",url:"\u05DB\u05EA\u05D5\u05D1\u05EA \u05E8\u05E9\u05EA",emoji:"\u05D0\u05D9\u05DE\u05D5\u05D2'\u05D9",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u05EA\u05D0\u05E8\u05D9\u05DA \u05D5\u05D6\u05DE\u05DF ISO",date:"\u05EA\u05D0\u05E8\u05D9\u05DA ISO",time:"\u05D6\u05DE\u05DF ISO",duration:"\u05DE\u05E9\u05DA \u05D6\u05DE\u05DF ISO",ipv4:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv4",ipv6:"\u05DB\u05EA\u05D5\u05D1\u05EA IPv6",cidrv4:"\u05D8\u05D5\u05D5\u05D7 IPv4",cidrv6:"\u05D8\u05D5\u05D5\u05D7 IPv6",base64:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64",base64url:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05D1\u05D1\u05E1\u05D9\u05E1 64 \u05DC\u05DB\u05EA\u05D5\u05D1\u05D5\u05EA \u05E8\u05E9\u05EA",json_string:"\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON",e164:"\u05DE\u05E1\u05E4\u05E8 E.164",jwt:"JWT",template_literal:"\u05E7\u05DC\u05D8"};return n=>{switch(n.code){case"invalid_type":return`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${n.expected}, \u05D4\u05EA\u05E7\u05D1\u05DC ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA ${Q(n.values[0])}`:`\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05E6\u05E8\u05D9\u05DA \u05D0\u05D7\u05EA \u05DE\u05D4\u05D0\u05E4\u05E9\u05E8\u05D5\u05D9\u05D5\u05EA  ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${n.origin??"value"} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${s}${n.maximum.toString()} ${a.unit??"elements"}`:`\u05D2\u05D3\u05D5\u05DC \u05DE\u05D3\u05D9: ${n.origin??"value"} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${n.origin} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${s}${n.minimum.toString()} ${a.unit}`:`\u05E7\u05D8\u05DF \u05DE\u05D3\u05D9: ${n.origin} \u05E6\u05E8\u05D9\u05DA \u05DC\u05D4\u05D9\u05D5\u05EA ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D7\u05D9\u05DC \u05D1"${s.prefix}"`:s.format==="ends_with"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05E1\u05EA\u05D9\u05D9\u05DD \u05D1 "${s.suffix}"`:s.format==="includes"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05DB\u05DC\u05D5\u05DC "${s.includes}"`:s.format==="regex"?`\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05E0\u05D4: \u05D7\u05D9\u05D9\u05D1\u05EA \u05DC\u05D4\u05EA\u05D0\u05D9\u05DD \u05DC\u05EA\u05D1\u05E0\u05D9\u05EA ${s.pattern}`:`${i[s.format]??n.format} \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF`}case"not_multiple_of":return`\u05DE\u05E1\u05E4\u05E8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF: \u05D7\u05D9\u05D9\u05D1 \u05DC\u05D4\u05D9\u05D5\u05EA \u05DE\u05DB\u05E4\u05DC\u05D4 \u05E9\u05DC ${n.divisor}`;case"unrecognized_keys":return`\u05DE\u05E4\u05EA\u05D7${n.keys.length>1?"\u05D5\u05EA":""} \u05DC\u05D0 \u05DE\u05D6\u05D5\u05D4${n.keys.length>1?"\u05D9\u05DD":"\u05D4"}: ${z(n.keys,", ")}`;case"invalid_key":return`\u05DE\u05E4\u05EA\u05D7 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${n.origin}`;case"invalid_union":return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF";case"invalid_element":return`\u05E2\u05E8\u05DA \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF \u05D1${n.origin}`;default:return"\u05E7\u05DC\u05D8 \u05DC\u05D0 \u05EA\u05E7\u05D9\u05DF"}}};function zC(){return{localeError:qq()}}var Mq=()=>{let e={string:{unit:"karakter",verb:"legyen"},file:{unit:"byte",verb:"legyen"},array:{unit:"elem",verb:"legyen"},set:{unit:"elem",verb:"legyen"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"sz\xE1m";case"object":{if(Array.isArray(n))return"t\xF6mb";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"bemenet",email:"email c\xEDm",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO id\u0151b\xE9lyeg",date:"ISO d\xE1tum",time:"ISO id\u0151",duration:"ISO id\u0151intervallum",ipv4:"IPv4 c\xEDm",ipv6:"IPv6 c\xEDm",cidrv4:"IPv4 tartom\xE1ny",cidrv6:"IPv6 tartom\xE1ny",base64:"base64-k\xF3dolt string",base64url:"base64url-k\xF3dolt string",json_string:"JSON string",e164:"E.164 sz\xE1m",jwt:"JWT",template_literal:"bemenet"};return n=>{switch(n.code){case"invalid_type":return`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${n.expected}, a kapott \xE9rt\xE9k ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\xC9rv\xE9nytelen bemenet: a v\xE1rt \xE9rt\xE9k ${Q(n.values[0])}`:`\xC9rv\xE9nytelen opci\xF3: valamelyik \xE9rt\xE9k v\xE1rt ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`T\xFAl nagy: ${n.origin??"\xE9rt\xE9k"} m\xE9rete t\xFAl nagy ${s}${n.maximum.toString()} ${a.unit??"elem"}`:`T\xFAl nagy: a bemeneti \xE9rt\xE9k ${n.origin??"\xE9rt\xE9k"} t\xFAl nagy: ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${n.origin} m\xE9rete t\xFAl kicsi ${s}${n.minimum.toString()} ${a.unit}`:`T\xFAl kicsi: a bemeneti \xE9rt\xE9k ${n.origin} t\xFAl kicsi ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\xC9rv\xE9nytelen string: "${s.prefix}" \xE9rt\xE9kkel kell kezd\u0151dnie`:s.format==="ends_with"?`\xC9rv\xE9nytelen string: "${s.suffix}" \xE9rt\xE9kkel kell v\xE9gz\u0151dnie`:s.format==="includes"?`\xC9rv\xE9nytelen string: "${s.includes}" \xE9rt\xE9ket kell tartalmaznia`:s.format==="regex"?`\xC9rv\xE9nytelen string: ${s.pattern} mint\xE1nak kell megfelelnie`:`\xC9rv\xE9nytelen ${i[s.format]??n.format}`}case"not_multiple_of":return`\xC9rv\xE9nytelen sz\xE1m: ${n.divisor} t\xF6bbsz\xF6r\xF6s\xE9nek kell lennie`;case"unrecognized_keys":return`Ismeretlen kulcs${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`\xC9rv\xE9nytelen kulcs ${n.origin}`;case"invalid_union":return"\xC9rv\xE9nytelen bemenet";case"invalid_element":return`\xC9rv\xE9nytelen \xE9rt\xE9k: ${n.origin}`;default:return"\xC9rv\xE9nytelen bemenet"}}};function UC(){return{localeError:Mq()}}var Bq=()=>{let e={string:{unit:"karakter",verb:"memiliki"},file:{unit:"byte",verb:"memiliki"},array:{unit:"item",verb:"memiliki"},set:{unit:"item",verb:"memiliki"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"input",email:"alamat email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tanggal dan waktu format ISO",date:"tanggal format ISO",time:"jam format ISO",duration:"durasi format ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"rentang alamat IPv4",cidrv6:"rentang alamat IPv6",base64:"string dengan enkode base64",base64url:"string dengan enkode base64url",json_string:"string JSON",e164:"angka E.164",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Input tidak valid: diharapkan ${n.expected}, diterima ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Input tidak valid: diharapkan ${Q(n.values[0])}`:`Pilihan tidak valid: diharapkan salah satu dari ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Terlalu besar: diharapkan ${n.origin??"value"} memiliki ${s}${n.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: diharapkan ${n.origin??"value"} menjadi ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Terlalu kecil: diharapkan ${n.origin} memiliki ${s}${n.minimum.toString()} ${a.unit}`:`Terlalu kecil: diharapkan ${n.origin} menjadi ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`String tidak valid: harus dimulai dengan "${s.prefix}"`:s.format==="ends_with"?`String tidak valid: harus berakhir dengan "${s.suffix}"`:s.format==="includes"?`String tidak valid: harus menyertakan "${s.includes}"`:s.format==="regex"?`String tidak valid: harus sesuai pola ${s.pattern}`:`${i[s.format]??n.format} tidak valid`}case"not_multiple_of":return`Angka tidak valid: harus kelipatan dari ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali ${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`Kunci tidak valid di ${n.origin}`;case"invalid_union":return"Input tidak valid";case"invalid_element":return`Nilai tidak valid di ${n.origin}`;default:return"Input tidak valid"}}};function VC(){return{localeError:Bq()}}var zq=()=>{let e={string:{unit:"caratteri",verb:"avere"},file:{unit:"byte",verb:"avere"},array:{unit:"elementi",verb:"avere"},set:{unit:"elementi",verb:"avere"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"numero";case"object":{if(Array.isArray(n))return"vettore";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"input",email:"indirizzo email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e ora ISO",date:"data ISO",time:"ora ISO",duration:"durata ISO",ipv4:"indirizzo IPv4",ipv6:"indirizzo IPv6",cidrv4:"intervallo IPv4",cidrv6:"intervallo IPv6",base64:"stringa codificata in base64",base64url:"URL codificata in base64",json_string:"stringa JSON",e164:"numero E.164",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Input non valido: atteso ${n.expected}, ricevuto ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Input non valido: atteso ${Q(n.values[0])}`:`Opzione non valida: atteso uno tra ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Troppo grande: ${n.origin??"valore"} deve avere ${s}${n.maximum.toString()} ${a.unit??"elementi"}`:`Troppo grande: ${n.origin??"valore"} deve essere ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Troppo piccolo: ${n.origin} deve avere ${s}${n.minimum.toString()} ${a.unit}`:`Troppo piccolo: ${n.origin} deve essere ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Stringa non valida: deve iniziare con "${s.prefix}"`:s.format==="ends_with"?`Stringa non valida: deve terminare con "${s.suffix}"`:s.format==="includes"?`Stringa non valida: deve includere "${s.includes}"`:s.format==="regex"?`Stringa non valida: deve corrispondere al pattern ${s.pattern}`:`Invalid ${i[s.format]??n.format}`}case"not_multiple_of":return`Numero non valido: deve essere un multiplo di ${n.divisor}`;case"unrecognized_keys":return`Chiav${n.keys.length>1?"i":"e"} non riconosciut${n.keys.length>1?"e":"a"}: ${z(n.keys,", ")}`;case"invalid_key":return`Chiave non valida in ${n.origin}`;case"invalid_union":return"Input non valido";case"invalid_element":return`Valore non valido in ${n.origin}`;default:return"Input non valido"}}};function HC(){return{localeError:zq()}}var Uq=()=>{let e={string:{unit:"\u6587\u5B57",verb:"\u3067\u3042\u308B"},file:{unit:"\u30D0\u30A4\u30C8",verb:"\u3067\u3042\u308B"},array:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"},set:{unit:"\u8981\u7D20",verb:"\u3067\u3042\u308B"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u6570\u5024";case"object":{if(Array.isArray(n))return"\u914D\u5217";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u5165\u529B\u5024",email:"\u30E1\u30FC\u30EB\u30A2\u30C9\u30EC\u30B9",url:"URL",emoji:"\u7D75\u6587\u5B57",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u6642",date:"ISO\u65E5\u4ED8",time:"ISO\u6642\u523B",duration:"ISO\u671F\u9593",ipv4:"IPv4\u30A2\u30C9\u30EC\u30B9",ipv6:"IPv6\u30A2\u30C9\u30EC\u30B9",cidrv4:"IPv4\u7BC4\u56F2",cidrv6:"IPv6\u7BC4\u56F2",base64:"base64\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",base64url:"base64url\u30A8\u30F3\u30B3\u30FC\u30C9\u6587\u5B57\u5217",json_string:"JSON\u6587\u5B57\u5217",e164:"E.164\u756A\u53F7",jwt:"JWT",template_literal:"\u5165\u529B\u5024"};return n=>{switch(n.code){case"invalid_type":return`\u7121\u52B9\u306A\u5165\u529B: ${n.expected}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F\u304C\u3001${r(n.input)}\u304C\u5165\u529B\u3055\u308C\u307E\u3057\u305F`;case"invalid_value":return n.values.length===1?`\u7121\u52B9\u306A\u5165\u529B: ${Q(n.values[0])}\u304C\u671F\u5F85\u3055\u308C\u307E\u3057\u305F`:`\u7121\u52B9\u306A\u9078\u629E: ${z(n.values,"\u3001")}\u306E\u3044\u305A\u308C\u304B\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"too_big":{let s=n.inclusive?"\u4EE5\u4E0B\u3067\u3042\u308B":"\u3088\u308A\u5C0F\u3055\u3044",a=t(n.origin);return a?`\u5927\u304D\u3059\u304E\u308B\u5024: ${n.origin??"\u5024"}\u306F${n.maximum.toString()}${a.unit??"\u8981\u7D20"}${s}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5927\u304D\u3059\u304E\u308B\u5024: ${n.origin??"\u5024"}\u306F${n.maximum.toString()}${s}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"too_small":{let s=n.inclusive?"\u4EE5\u4E0A\u3067\u3042\u308B":"\u3088\u308A\u5927\u304D\u3044",a=t(n.origin);return a?`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${n.origin}\u306F${n.minimum.toString()}${a.unit}${s}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u5C0F\u3055\u3059\u304E\u308B\u5024: ${n.origin}\u306F${n.minimum.toString()}${s}\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${s.prefix}"\u3067\u59CB\u307E\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:s.format==="ends_with"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${s.suffix}"\u3067\u7D42\u308F\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:s.format==="includes"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: "${s.includes}"\u3092\u542B\u3080\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:s.format==="regex"?`\u7121\u52B9\u306A\u6587\u5B57\u5217: \u30D1\u30BF\u30FC\u30F3${s.pattern}\u306B\u4E00\u81F4\u3059\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`:`\u7121\u52B9\u306A${i[s.format]??n.format}`}case"not_multiple_of":return`\u7121\u52B9\u306A\u6570\u5024: ${n.divisor}\u306E\u500D\u6570\u3067\u3042\u308B\u5FC5\u8981\u304C\u3042\u308A\u307E\u3059`;case"unrecognized_keys":return`\u8A8D\u8B58\u3055\u308C\u3066\u3044\u306A\u3044\u30AD\u30FC${n.keys.length>1?"\u7FA4":""}: ${z(n.keys,"\u3001")}`;case"invalid_key":return`${n.origin}\u5185\u306E\u7121\u52B9\u306A\u30AD\u30FC`;case"invalid_union":return"\u7121\u52B9\u306A\u5165\u529B";case"invalid_element":return`${n.origin}\u5185\u306E\u7121\u52B9\u306A\u5024`;default:return"\u7121\u52B9\u306A\u5165\u529B"}}};function ZC(){return{localeError:Uq()}}var Vq=()=>{let e={string:{unit:"\u178F\u17BD\u17A2\u1780\u17D2\u179F\u179A",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},file:{unit:"\u1794\u17C3",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},array:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"},set:{unit:"\u1792\u17B6\u178F\u17BB",verb:"\u1782\u17BD\u179A\u1798\u17B6\u1793"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"\u1798\u17B7\u1793\u1798\u17C2\u1793\u1787\u17B6\u179B\u17C1\u1781 (NaN)":"\u179B\u17C1\u1781";case"object":{if(Array.isArray(n))return"\u17A2\u17B6\u179A\u17C1 (Array)";if(n===null)return"\u1782\u17D2\u1798\u17B6\u1793\u178F\u1798\u17D2\u179B\u17C3 (null)";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B",email:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793\u17A2\u17CA\u17B8\u1798\u17C2\u179B",url:"URL",emoji:"\u179F\u1789\u17D2\u1789\u17B6\u17A2\u17B6\u179A\u1798\u17D2\u1798\u178E\u17CD",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 \u1793\u17B7\u1784\u1798\u17C9\u17C4\u1784 ISO",date:"\u1780\u17B6\u179B\u1794\u179A\u17B7\u1785\u17D2\u1786\u17C1\u1791 ISO",time:"\u1798\u17C9\u17C4\u1784 ISO",duration:"\u179A\u1799\u17C8\u1796\u17C1\u179B ISO",ipv4:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",ipv6:"\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",cidrv4:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv4",cidrv6:"\u178A\u17C2\u1793\u17A2\u17B6\u179F\u1799\u178A\u17D2\u178B\u17B6\u1793 IPv6",base64:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64",base64url:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u17A2\u17CA\u17B7\u1780\u17BC\u178A base64url",json_string:"\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",e164:"\u179B\u17C1\u1781 E.164",jwt:"JWT",template_literal:"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"};return n=>{switch(n.code){case"invalid_type":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.expected} \u1794\u17C9\u17BB\u1793\u17D2\u178F\u17C2\u1791\u1791\u17BD\u179B\u1794\u17B6\u1793 ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${Q(n.values[0])}`:`\u1787\u1798\u17D2\u179A\u17BE\u179F\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1787\u17B6\u1798\u17BD\u1799\u1780\u17D2\u1793\u17BB\u1784\u1785\u17C6\u178E\u17C4\u1798 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${s} ${n.maximum.toString()} ${a.unit??"\u1792\u17B6\u178F\u17BB"}`:`\u1792\u17C6\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin??"\u178F\u1798\u17D2\u179B\u17C3"} ${s} ${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin} ${s} ${n.minimum.toString()} ${a.unit}`:`\u178F\u17BC\u1785\u1796\u17C1\u1780\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1780\u17B6\u179A ${n.origin} ${s} ${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1785\u17B6\u1794\u17CB\u1795\u17D2\u178F\u17BE\u1798\u178A\u17C4\u1799 "${s.prefix}"`:s.format==="ends_with"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1794\u1789\u17D2\u1785\u1794\u17CB\u178A\u17C4\u1799 "${s.suffix}"`:s.format==="includes"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u1798\u17B6\u1793 "${s.includes}"`:s.format==="regex"?`\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1795\u17D2\u1782\u17BC\u1795\u17D2\u1782\u1784\u1793\u17B9\u1784\u1791\u1798\u17D2\u179A\u1784\u17CB\u178A\u17C2\u179B\u1794\u17B6\u1793\u1780\u17C6\u178E\u178F\u17CB ${s.pattern}`:`\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 ${i[s.format]??n.format}`}case"not_multiple_of":return`\u179B\u17C1\u1781\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u17D6 \u178F\u17D2\u179A\u17BC\u179C\u178F\u17C2\u1787\u17B6\u1796\u17A0\u17BB\u1782\u17BB\u178E\u1793\u17C3 ${n.divisor}`;case"unrecognized_keys":return`\u179A\u1780\u1783\u17BE\u1789\u179F\u17C4\u1798\u17B7\u1793\u179F\u17D2\u1782\u17B6\u179B\u17CB\u17D6 ${z(n.keys,", ")}`;case"invalid_key":return`\u179F\u17C4\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${n.origin}`;case"invalid_union":return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C";case"invalid_element":return`\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C\u1793\u17C5\u1780\u17D2\u1793\u17BB\u1784 ${n.origin}`;default:return"\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1798\u17B7\u1793\u178F\u17D2\u179A\u17B9\u1798\u178F\u17D2\u179A\u17BC\u179C"}}};function WC(){return{localeError:Vq()}}var Hq=()=>{let e={string:{unit:"\uBB38\uC790",verb:"to have"},file:{unit:"\uBC14\uC774\uD2B8",verb:"to have"},array:{unit:"\uAC1C",verb:"to have"},set:{unit:"\uAC1C",verb:"to have"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\uC785\uB825",email:"\uC774\uBA54\uC77C \uC8FC\uC18C",url:"URL",emoji:"\uC774\uBAA8\uC9C0",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \uB0A0\uC9DC\uC2DC\uAC04",date:"ISO \uB0A0\uC9DC",time:"ISO \uC2DC\uAC04",duration:"ISO \uAE30\uAC04",ipv4:"IPv4 \uC8FC\uC18C",ipv6:"IPv6 \uC8FC\uC18C",cidrv4:"IPv4 \uBC94\uC704",cidrv6:"IPv6 \uBC94\uC704",base64:"base64 \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",base64url:"base64url \uC778\uCF54\uB529 \uBB38\uC790\uC5F4",json_string:"JSON \uBB38\uC790\uC5F4",e164:"E.164 \uBC88\uD638",jwt:"JWT",template_literal:"\uC785\uB825"};return n=>{switch(n.code){case"invalid_type":return`\uC798\uBABB\uB41C \uC785\uB825: \uC608\uC0C1 \uD0C0\uC785\uC740 ${n.expected}, \uBC1B\uC740 \uD0C0\uC785\uC740 ${r(n.input)}\uC785\uB2C8\uB2E4`;case"invalid_value":return n.values.length===1?`\uC798\uBABB\uB41C \uC785\uB825: \uAC12\uC740 ${Q(n.values[0])} \uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C \uC635\uC158: ${z(n.values,"\uB610\uB294 ")} \uC911 \uD558\uB098\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"too_big":{let s=n.inclusive?"\uC774\uD558":"\uBBF8\uB9CC",a=s==="\uBBF8\uB9CC"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=t(n.origin),u=l?.unit??"\uC694\uC18C";return l?`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${n.maximum.toString()}${u} ${s}${a}`:`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uD07D\uB2C8\uB2E4: ${n.maximum.toString()} ${s}${a}`}case"too_small":{let s=n.inclusive?"\uC774\uC0C1":"\uCD08\uACFC",a=s==="\uC774\uC0C1"?"\uC774\uC5B4\uC57C \uD569\uB2C8\uB2E4":"\uC5EC\uC57C \uD569\uB2C8\uB2E4",l=t(n.origin),u=l?.unit??"\uC694\uC18C";return l?`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${n.minimum.toString()}${u} ${s}${a}`:`${n.origin??"\uAC12"}\uC774 \uB108\uBB34 \uC791\uC2B5\uB2C8\uB2E4: ${n.minimum.toString()} ${s}${a}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${s.prefix}"(\uC73C)\uB85C \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4`:s.format==="ends_with"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${s.suffix}"(\uC73C)\uB85C \uB05D\uB098\uC57C \uD569\uB2C8\uB2E4`:s.format==="includes"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: "${s.includes}"\uC744(\uB97C) \uD3EC\uD568\uD574\uC57C \uD569\uB2C8\uB2E4`:s.format==="regex"?`\uC798\uBABB\uB41C \uBB38\uC790\uC5F4: \uC815\uADDC\uC2DD ${s.pattern} \uD328\uD134\uACFC \uC77C\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4`:`\uC798\uBABB\uB41C ${i[s.format]??n.format}`}case"not_multiple_of":return`\uC798\uBABB\uB41C \uC22B\uC790: ${n.divisor}\uC758 \uBC30\uC218\uC5EC\uC57C \uD569\uB2C8\uB2E4`;case"unrecognized_keys":return`\uC778\uC2DD\uD560 \uC218 \uC5C6\uB294 \uD0A4: ${z(n.keys,", ")}`;case"invalid_key":return`\uC798\uBABB\uB41C \uD0A4: ${n.origin}`;case"invalid_union":return"\uC798\uBABB\uB41C \uC785\uB825";case"invalid_element":return`\uC798\uBABB\uB41C \uAC12: ${n.origin}`;default:return"\uC798\uBABB\uB41C \uC785\uB825"}}};function GC(){return{localeError:Hq()}}var Zq=()=>{let e={string:{unit:"\u0437\u043D\u0430\u0446\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},file:{unit:"\u0431\u0430\u0458\u0442\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},array:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"},set:{unit:"\u0441\u0442\u0430\u0432\u043A\u0438",verb:"\u0434\u0430 \u0438\u043C\u0430\u0430\u0442"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0431\u0440\u043E\u0458";case"object":{if(Array.isArray(n))return"\u043D\u0438\u0437\u0430";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0432\u043D\u0435\u0441",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u043D\u0430 \u0435-\u043F\u043E\u0448\u0442\u0430",url:"URL",emoji:"\u0435\u043C\u043E\u045F\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0443\u043C \u0438 \u0432\u0440\u0435\u043C\u0435",date:"ISO \u0434\u0430\u0442\u0443\u043C",time:"ISO \u0432\u0440\u0435\u043C\u0435",duration:"ISO \u0432\u0440\u0435\u043C\u0435\u0442\u0440\u0430\u0435\u045A\u0435",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441\u0430",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441\u0430",cidrv4:"IPv4 \u043E\u043F\u0441\u0435\u0433",cidrv6:"IPv6 \u043E\u043F\u0441\u0435\u0433",base64:"base64-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",base64url:"base64url-\u0435\u043D\u043A\u043E\u0434\u0438\u0440\u0430\u043D\u0430 \u043D\u0438\u0437\u0430",json_string:"JSON \u043D\u0438\u0437\u0430",e164:"E.164 \u0431\u0440\u043E\u0458",jwt:"JWT",template_literal:"\u0432\u043D\u0435\u0441"};return n=>{switch(n.code){case"invalid_type":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.expected}, \u043F\u0440\u0438\u043C\u0435\u043D\u043E ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Invalid input: expected ${Q(n.values[0])}`:`\u0413\u0440\u0435\u0448\u0430\u043D\u0430 \u043E\u043F\u0446\u0438\u0458\u0430: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 \u0435\u0434\u043D\u0430 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0438\u043C\u0430 ${s}${n.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438"}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u0433\u043E\u043B\u0435\u043C: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin??"\u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442\u0430"} \u0434\u0430 \u0431\u0438\u0434\u0435 ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin} \u0434\u0430 \u0438\u043C\u0430 ${s}${n.minimum.toString()} ${a.unit}`:`\u041F\u0440\u0435\u043C\u043D\u043E\u0433\u0443 \u043C\u0430\u043B: \u0441\u0435 \u043E\u0447\u0435\u043A\u0443\u0432\u0430 ${n.origin} \u0434\u0430 \u0431\u0438\u0434\u0435 ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u043F\u043E\u0447\u043D\u0443\u0432\u0430 \u0441\u043E "${s.prefix}"`:s.format==="ends_with"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0437\u0430\u0432\u0440\u0448\u0443\u0432\u0430 \u0441\u043E "${s.suffix}"`:s.format==="includes"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0432\u043A\u043B\u0443\u0447\u0443\u0432\u0430 "${s.includes}"`:s.format==="regex"?`\u041D\u0435\u0432\u0430\u0436\u0435\u0447\u043A\u0430 \u043D\u0438\u0437\u0430: \u043C\u043E\u0440\u0430 \u0434\u0430 \u043E\u0434\u0433\u043E\u0430\u0440\u0430 \u043D\u0430 \u043F\u0430\u0442\u0435\u0440\u043D\u043E\u0442 ${s.pattern}`:`Invalid ${i[s.format]??n.format}`}case"not_multiple_of":return`\u0413\u0440\u0435\u0448\u0435\u043D \u0431\u0440\u043E\u0458: \u043C\u043E\u0440\u0430 \u0434\u0430 \u0431\u0438\u0434\u0435 \u0434\u0435\u043B\u0438\u0432 \u0441\u043E ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D\u0438 \u043A\u043B\u0443\u0447\u0435\u0432\u0438":"\u041D\u0435\u043F\u0440\u0435\u043F\u043E\u0437\u043D\u0430\u0435\u043D \u043A\u043B\u0443\u0447"}: ${z(n.keys,", ")}`;case"invalid_key":return`\u0413\u0440\u0435\u0448\u0435\u043D \u043A\u043B\u0443\u0447 \u0432\u043E ${n.origin}`;case"invalid_union":return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441";case"invalid_element":return`\u0413\u0440\u0435\u0448\u043D\u0430 \u0432\u0440\u0435\u0434\u043D\u043E\u0441\u0442 \u0432\u043E ${n.origin}`;default:return"\u0413\u0440\u0435\u0448\u0435\u043D \u0432\u043D\u0435\u0441"}}};function KC(){return{localeError:Zq()}}var Wq=()=>{let e={string:{unit:"aksara",verb:"mempunyai"},file:{unit:"bait",verb:"mempunyai"},array:{unit:"elemen",verb:"mempunyai"},set:{unit:"elemen",verb:"mempunyai"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"nombor";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"input",email:"alamat e-mel",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"tarikh masa ISO",date:"tarikh ISO",time:"masa ISO",duration:"tempoh ISO",ipv4:"alamat IPv4",ipv6:"alamat IPv6",cidrv4:"julat IPv4",cidrv6:"julat IPv6",base64:"string dikodkan base64",base64url:"string dikodkan base64url",json_string:"string JSON",e164:"nombor E.164",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Input tidak sah: dijangka ${n.expected}, diterima ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Input tidak sah: dijangka ${Q(n.values[0])}`:`Pilihan tidak sah: dijangka salah satu daripada ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Terlalu besar: dijangka ${n.origin??"nilai"} ${a.verb} ${s}${n.maximum.toString()} ${a.unit??"elemen"}`:`Terlalu besar: dijangka ${n.origin??"nilai"} adalah ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Terlalu kecil: dijangka ${n.origin} ${a.verb} ${s}${n.minimum.toString()} ${a.unit}`:`Terlalu kecil: dijangka ${n.origin} adalah ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`String tidak sah: mesti bermula dengan "${s.prefix}"`:s.format==="ends_with"?`String tidak sah: mesti berakhir dengan "${s.suffix}"`:s.format==="includes"?`String tidak sah: mesti mengandungi "${s.includes}"`:s.format==="regex"?`String tidak sah: mesti sepadan dengan corak ${s.pattern}`:`${i[s.format]??n.format} tidak sah`}case"not_multiple_of":return`Nombor tidak sah: perlu gandaan ${n.divisor}`;case"unrecognized_keys":return`Kunci tidak dikenali: ${z(n.keys,", ")}`;case"invalid_key":return`Kunci tidak sah dalam ${n.origin}`;case"invalid_union":return"Input tidak sah";case"invalid_element":return`Nilai tidak sah dalam ${n.origin}`;default:return"Input tidak sah"}}};function XC(){return{localeError:Wq()}}var Gq=()=>{let e={string:{unit:"tekens"},file:{unit:"bytes"},array:{unit:"elementen"},set:{unit:"elementen"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"getal";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"invoer",email:"emailadres",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum en tijd",date:"ISO datum",time:"ISO tijd",duration:"ISO duur",ipv4:"IPv4-adres",ipv6:"IPv6-adres",cidrv4:"IPv4-bereik",cidrv6:"IPv6-bereik",base64:"base64-gecodeerde tekst",base64url:"base64 URL-gecodeerde tekst",json_string:"JSON string",e164:"E.164-nummer",jwt:"JWT",template_literal:"invoer"};return n=>{switch(n.code){case"invalid_type":return`Ongeldige invoer: verwacht ${n.expected}, ontving ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Ongeldige invoer: verwacht ${Q(n.values[0])}`:`Ongeldige optie: verwacht \xE9\xE9n van ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Te lang: verwacht dat ${n.origin??"waarde"} ${s}${n.maximum.toString()} ${a.unit??"elementen"} bevat`:`Te lang: verwacht dat ${n.origin??"waarde"} ${s}${n.maximum.toString()} is`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Te kort: verwacht dat ${n.origin} ${s}${n.minimum.toString()} ${a.unit} bevat`:`Te kort: verwacht dat ${n.origin} ${s}${n.minimum.toString()} is`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Ongeldige tekst: moet met "${s.prefix}" beginnen`:s.format==="ends_with"?`Ongeldige tekst: moet op "${s.suffix}" eindigen`:s.format==="includes"?`Ongeldige tekst: moet "${s.includes}" bevatten`:s.format==="regex"?`Ongeldige tekst: moet overeenkomen met patroon ${s.pattern}`:`Ongeldig: ${i[s.format]??n.format}`}case"not_multiple_of":return`Ongeldig getal: moet een veelvoud van ${n.divisor} zijn`;case"unrecognized_keys":return`Onbekende key${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`Ongeldige key in ${n.origin}`;case"invalid_union":return"Ongeldige invoer";case"invalid_element":return`Ongeldige waarde in ${n.origin}`;default:return"Ongeldige invoer"}}};function JC(){return{localeError:Gq()}}var Kq=()=>{let e={string:{unit:"tegn",verb:"\xE5 ha"},file:{unit:"bytes",verb:"\xE5 ha"},array:{unit:"elementer",verb:"\xE5 inneholde"},set:{unit:"elementer",verb:"\xE5 inneholde"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"tall";case"object":{if(Array.isArray(n))return"liste";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"input",email:"e-postadresse",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO dato- og klokkeslett",date:"ISO-dato",time:"ISO-klokkeslett",duration:"ISO-varighet",ipv4:"IPv4-omr\xE5de",ipv6:"IPv6-omr\xE5de",cidrv4:"IPv4-spekter",cidrv6:"IPv6-spekter",base64:"base64-enkodet streng",base64url:"base64url-enkodet streng",json_string:"JSON-streng",e164:"E.164-nummer",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`Ugyldig input: forventet ${n.expected}, fikk ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Ugyldig verdi: forventet ${Q(n.values[0])}`:`Ugyldig valg: forventet en av ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`For stor(t): forventet ${n.origin??"value"} til \xE5 ha ${s}${n.maximum.toString()} ${a.unit??"elementer"}`:`For stor(t): forventet ${n.origin??"value"} til \xE5 ha ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`For lite(n): forventet ${n.origin} til \xE5 ha ${s}${n.minimum.toString()} ${a.unit}`:`For lite(n): forventet ${n.origin} til \xE5 ha ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Ugyldig streng: m\xE5 starte med "${s.prefix}"`:s.format==="ends_with"?`Ugyldig streng: m\xE5 ende med "${s.suffix}"`:s.format==="includes"?`Ugyldig streng: m\xE5 inneholde "${s.includes}"`:s.format==="regex"?`Ugyldig streng: m\xE5 matche m\xF8nsteret ${s.pattern}`:`Ugyldig ${i[s.format]??n.format}`}case"not_multiple_of":return`Ugyldig tall: m\xE5 v\xE6re et multiplum av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ukjente n\xF8kler":"Ukjent n\xF8kkel"}: ${z(n.keys,", ")}`;case"invalid_key":return`Ugyldig n\xF8kkel i ${n.origin}`;case"invalid_union":return"Ugyldig input";case"invalid_element":return`Ugyldig verdi i ${n.origin}`;default:return"Ugyldig input"}}};function YC(){return{localeError:Kq()}}var Xq=()=>{let e={string:{unit:"harf",verb:"olmal\u0131d\u0131r"},file:{unit:"bayt",verb:"olmal\u0131d\u0131r"},array:{unit:"unsur",verb:"olmal\u0131d\u0131r"},set:{unit:"unsur",verb:"olmal\u0131d\u0131r"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"numara";case"object":{if(Array.isArray(n))return"saf";if(n===null)return"gayb";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"giren",email:"epostag\xE2h",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO heng\xE2m\u0131",date:"ISO tarihi",time:"ISO zaman\u0131",duration:"ISO m\xFCddeti",ipv4:"IPv4 ni\u015F\xE2n\u0131",ipv6:"IPv6 ni\u015F\xE2n\u0131",cidrv4:"IPv4 menzili",cidrv6:"IPv6 menzili",base64:"base64-\u015Fifreli metin",base64url:"base64url-\u015Fifreli metin",json_string:"JSON metin",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"giren"};return n=>{switch(n.code){case"invalid_type":return`F\xE2sit giren: umulan ${n.expected}, al\u0131nan ${r(n.input)}`;case"invalid_value":return n.values.length===1?`F\xE2sit giren: umulan ${Q(n.values[0])}`:`F\xE2sit tercih: m\xFBteberler ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Fazla b\xFCy\xFCk: ${n.origin??"value"}, ${s}${n.maximum.toString()} ${a.unit??"elements"} sahip olmal\u0131yd\u0131.`:`Fazla b\xFCy\xFCk: ${n.origin??"value"}, ${s}${n.maximum.toString()} olmal\u0131yd\u0131.`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Fazla k\xFC\xE7\xFCk: ${n.origin}, ${s}${n.minimum.toString()} ${a.unit} sahip olmal\u0131yd\u0131.`:`Fazla k\xFC\xE7\xFCk: ${n.origin}, ${s}${n.minimum.toString()} olmal\u0131yd\u0131.`}case"invalid_format":{let s=n;return s.format==="starts_with"?`F\xE2sit metin: "${s.prefix}" ile ba\u015Flamal\u0131.`:s.format==="ends_with"?`F\xE2sit metin: "${s.suffix}" ile bitmeli.`:s.format==="includes"?`F\xE2sit metin: "${s.includes}" ihtiv\xE2 etmeli.`:s.format==="regex"?`F\xE2sit metin: ${s.pattern} nak\u015F\u0131na uymal\u0131.`:`F\xE2sit ${i[s.format]??n.format}`}case"not_multiple_of":return`F\xE2sit say\u0131: ${n.divisor} kat\u0131 olmal\u0131yd\u0131.`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar ${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`${n.origin} i\xE7in tan\u0131nmayan anahtar var.`;case"invalid_union":return"Giren tan\u0131namad\u0131.";case"invalid_element":return`${n.origin} i\xE7in tan\u0131nmayan k\u0131ymet var.`;default:return"K\u0131ymet tan\u0131namad\u0131."}}};function QC(){return{localeError:Xq()}}var Jq=()=>{let e={string:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},file:{unit:"\u0628\u0627\u06CC\u067C\u0633",verb:"\u0648\u0644\u0631\u064A"},array:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"},set:{unit:"\u062A\u0648\u06A9\u064A",verb:"\u0648\u0644\u0631\u064A"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0639\u062F\u062F";case"object":{if(Array.isArray(n))return"\u0627\u0631\u06D0";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0648\u0631\u0648\u062F\u064A",email:"\u0628\u0631\u06CC\u069A\u0646\u0627\u0644\u06CC\u06A9",url:"\u06CC\u0648 \u0622\u0631 \u0627\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u064A",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0646\u06CC\u067C\u0647 \u0627\u0648 \u0648\u062E\u062A",date:"\u0646\u06D0\u067C\u0647",time:"\u0648\u062E\u062A",duration:"\u0645\u0648\u062F\u0647",ipv4:"\u062F IPv4 \u067E\u062A\u0647",ipv6:"\u062F IPv6 \u067E\u062A\u0647",cidrv4:"\u062F IPv4 \u0633\u0627\u062D\u0647",cidrv6:"\u062F IPv6 \u0633\u0627\u062D\u0647",base64:"base64-encoded \u0645\u062A\u0646",base64url:"base64url-encoded \u0645\u062A\u0646",json_string:"JSON \u0645\u062A\u0646",e164:"\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",jwt:"JWT",template_literal:"\u0648\u0631\u0648\u062F\u064A"};return n=>{switch(n.code){case"invalid_type":return`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${n.expected} \u0648\u0627\u06CC, \u0645\u06AB\u0631 ${r(n.input)} \u062A\u0631\u0644\u0627\u0633\u0647 \u0634\u0648`;case"invalid_value":return n.values.length===1?`\u0646\u0627\u0633\u0645 \u0648\u0631\u0648\u062F\u064A: \u0628\u0627\u06CC\u062F ${Q(n.values[0])} \u0648\u0627\u06CC`:`\u0646\u0627\u0633\u0645 \u0627\u0646\u062A\u062E\u0627\u0628: \u0628\u0627\u06CC\u062F \u06CC\u0648 \u0644\u0647 ${z(n.values,"|")} \u0685\u062E\u0647 \u0648\u0627\u06CC`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${n.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${s}${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0635\u0631\u0648\u0646\u0647"} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u0644\u0648\u06CC: ${n.origin??"\u0627\u0631\u0632\u069A\u062A"} \u0628\u0627\u06CC\u062F ${s}${n.maximum.toString()} \u0648\u064A`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${n.origin} \u0628\u0627\u06CC\u062F ${s}${n.minimum.toString()} ${a.unit} \u0648\u0644\u0631\u064A`:`\u0689\u06CC\u0631 \u06A9\u0648\u0686\u0646\u06CC: ${n.origin} \u0628\u0627\u06CC\u062F ${s}${n.minimum.toString()} \u0648\u064A`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${s.prefix}" \u0633\u0631\u0647 \u067E\u06CC\u0644 \u0634\u064A`:s.format==="ends_with"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F "${s.suffix}" \u0633\u0631\u0647 \u067E\u0627\u06CC \u062A\u0647 \u0648\u0631\u0633\u064A\u0696\u064A`:s.format==="includes"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F "${s.includes}" \u0648\u0644\u0631\u064A`:s.format==="regex"?`\u0646\u0627\u0633\u0645 \u0645\u062A\u0646: \u0628\u0627\u06CC\u062F \u062F ${s.pattern} \u0633\u0631\u0647 \u0645\u0637\u0627\u0628\u0642\u062A \u0648\u0644\u0631\u064A`:`${i[s.format]??n.format} \u0646\u0627\u0633\u0645 \u062F\u06CC`}case"not_multiple_of":return`\u0646\u0627\u0633\u0645 \u0639\u062F\u062F: \u0628\u0627\u06CC\u062F \u062F ${n.divisor} \u0645\u0636\u0631\u0628 \u0648\u064A`;case"unrecognized_keys":return`\u0646\u0627\u0633\u0645 ${n.keys.length>1?"\u06A9\u0644\u06CC\u0689\u0648\u0646\u0647":"\u06A9\u0644\u06CC\u0689"}: ${z(n.keys,", ")}`;case"invalid_key":return`\u0646\u0627\u0633\u0645 \u06A9\u0644\u06CC\u0689 \u067E\u0647 ${n.origin} \u06A9\u06D0`;case"invalid_union":return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A";case"invalid_element":return`\u0646\u0627\u0633\u0645 \u0639\u0646\u0635\u0631 \u067E\u0647 ${n.origin} \u06A9\u06D0`;default:return"\u0646\u0627\u0633\u0645\u0647 \u0648\u0631\u0648\u062F\u064A"}}};function eS(){return{localeError:Jq()}}var Yq=()=>{let e={string:{unit:"znak\xF3w",verb:"mie\u0107"},file:{unit:"bajt\xF3w",verb:"mie\u0107"},array:{unit:"element\xF3w",verb:"mie\u0107"},set:{unit:"element\xF3w",verb:"mie\u0107"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"liczba";case"object":{if(Array.isArray(n))return"tablica";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"wyra\u017Cenie",email:"adres email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data i godzina w formacie ISO",date:"data w formacie ISO",time:"godzina w formacie ISO",duration:"czas trwania ISO",ipv4:"adres IPv4",ipv6:"adres IPv6",cidrv4:"zakres IPv4",cidrv6:"zakres IPv6",base64:"ci\u0105g znak\xF3w zakodowany w formacie base64",base64url:"ci\u0105g znak\xF3w zakodowany w formacie base64url",json_string:"ci\u0105g znak\xF3w w formacie JSON",e164:"liczba E.164",jwt:"JWT",template_literal:"wej\u015Bcie"};return n=>{switch(n.code){case"invalid_type":return`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${n.expected}, otrzymano ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Nieprawid\u0142owe dane wej\u015Bciowe: oczekiwano ${Q(n.values[0])}`:`Nieprawid\u0142owa opcja: oczekiwano jednej z warto\u015Bci ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Za du\u017Ca warto\u015B\u0107: oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${s}${n.maximum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt du\u017C(y/a/e): oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Za ma\u0142a warto\u015B\u0107: oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie mie\u0107 ${s}${n.minimum.toString()} ${a.unit??"element\xF3w"}`:`Zbyt ma\u0142(y/a/e): oczekiwano, \u017Ce ${n.origin??"warto\u015B\u0107"} b\u0119dzie wynosi\u0107 ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zaczyna\u0107 si\u0119 od "${s.prefix}"`:s.format==="ends_with"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi ko\u0144czy\u0107 si\u0119 na "${s.suffix}"`:s.format==="includes"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi zawiera\u0107 "${s.includes}"`:s.format==="regex"?`Nieprawid\u0142owy ci\u0105g znak\xF3w: musi odpowiada\u0107 wzorcowi ${s.pattern}`:`Nieprawid\u0142ow(y/a/e) ${i[s.format]??n.format}`}case"not_multiple_of":return`Nieprawid\u0142owa liczba: musi by\u0107 wielokrotno\u015Bci\u0105 ${n.divisor}`;case"unrecognized_keys":return`Nierozpoznane klucze${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`Nieprawid\u0142owy klucz w ${n.origin}`;case"invalid_union":return"Nieprawid\u0142owe dane wej\u015Bciowe";case"invalid_element":return`Nieprawid\u0142owa warto\u015B\u0107 w ${n.origin}`;default:return"Nieprawid\u0142owe dane wej\u015Bciowe"}}};function tS(){return{localeError:Yq()}}var Qq=()=>{let e={string:{unit:"caracteres",verb:"ter"},file:{unit:"bytes",verb:"ter"},array:{unit:"itens",verb:"ter"},set:{unit:"itens",verb:"ter"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"n\xFAmero";case"object":{if(Array.isArray(n))return"array";if(n===null)return"nulo";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"padr\xE3o",email:"endere\xE7o de e-mail",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"data e hora ISO",date:"data ISO",time:"hora ISO",duration:"dura\xE7\xE3o ISO",ipv4:"endere\xE7o IPv4",ipv6:"endere\xE7o IPv6",cidrv4:"faixa de IPv4",cidrv6:"faixa de IPv6",base64:"texto codificado em base64",base64url:"URL codificada em base64",json_string:"texto JSON",e164:"n\xFAmero E.164",jwt:"JWT",template_literal:"entrada"};return n=>{switch(n.code){case"invalid_type":return`Tipo inv\xE1lido: esperado ${n.expected}, recebido ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Entrada inv\xE1lida: esperado ${Q(n.values[0])}`:`Op\xE7\xE3o inv\xE1lida: esperada uma das ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Muito grande: esperado que ${n.origin??"valor"} tivesse ${s}${n.maximum.toString()} ${a.unit??"elementos"}`:`Muito grande: esperado que ${n.origin??"valor"} fosse ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Muito pequeno: esperado que ${n.origin} tivesse ${s}${n.minimum.toString()} ${a.unit}`:`Muito pequeno: esperado que ${n.origin} fosse ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Texto inv\xE1lido: deve come\xE7ar com "${s.prefix}"`:s.format==="ends_with"?`Texto inv\xE1lido: deve terminar com "${s.suffix}"`:s.format==="includes"?`Texto inv\xE1lido: deve incluir "${s.includes}"`:s.format==="regex"?`Texto inv\xE1lido: deve corresponder ao padr\xE3o ${s.pattern}`:`${i[s.format]??n.format} inv\xE1lido`}case"not_multiple_of":return`N\xFAmero inv\xE1lido: deve ser m\xFAltiplo de ${n.divisor}`;case"unrecognized_keys":return`Chave${n.keys.length>1?"s":""} desconhecida${n.keys.length>1?"s":""}: ${z(n.keys,", ")}`;case"invalid_key":return`Chave inv\xE1lida em ${n.origin}`;case"invalid_union":return"Entrada inv\xE1lida";case"invalid_element":return`Valor inv\xE1lido em ${n.origin}`;default:return"Campo inv\xE1lido"}}};function rS(){return{localeError:Qq()}}function nS(e,t,r,i){let n=Math.abs(e),s=n%10,a=n%100;return a>=11&&a<=19?i:s===1?t:s>=2&&s<=4?r:i}var eM=()=>{let e={string:{unit:{one:"\u0441\u0438\u043C\u0432\u043E\u043B",few:"\u0441\u0438\u043C\u0432\u043E\u043B\u0430",many:"\u0441\u0438\u043C\u0432\u043E\u043B\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},file:{unit:{one:"\u0431\u0430\u0439\u0442",few:"\u0431\u0430\u0439\u0442\u0430",many:"\u0431\u0430\u0439\u0442"},verb:"\u0438\u043C\u0435\u0442\u044C"},array:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"},set:{unit:{one:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442",few:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430",many:"\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432"},verb:"\u0438\u043C\u0435\u0442\u044C"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(n))return"\u043C\u0430\u0441\u0441\u0438\u0432";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0432\u0432\u043E\u0434",email:"email \u0430\u0434\u0440\u0435\u0441",url:"URL",emoji:"\u044D\u043C\u043E\u0434\u0437\u0438",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0434\u0430\u0442\u0430 \u0438 \u0432\u0440\u0435\u043C\u044F",date:"ISO \u0434\u0430\u0442\u0430",time:"ISO \u0432\u0440\u0435\u043C\u044F",duration:"ISO \u0434\u043B\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0441\u0442\u044C",ipv4:"IPv4 \u0430\u0434\u0440\u0435\u0441",ipv6:"IPv6 \u0430\u0434\u0440\u0435\u0441",cidrv4:"IPv4 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",cidrv6:"IPv6 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D",base64:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64",base64url:"\u0441\u0442\u0440\u043E\u043A\u0430 \u0432 \u0444\u043E\u0440\u043C\u0430\u0442\u0435 base64url",json_string:"JSON \u0441\u0442\u0440\u043E\u043A\u0430",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0432\u043E\u0434"};return n=>{switch(n.code){case"invalid_type":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${n.expected}, \u043F\u043E\u043B\u0443\u0447\u0435\u043D\u043E ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0432\u043E\u0434: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C ${Q(n.values[0])}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u0432\u0430\u0440\u0438\u0430\u043D\u0442: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C \u043E\u0434\u043D\u043E \u0438\u0437 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);if(a){let l=Number(n.maximum),u=nS(l,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${s}${n.maximum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u0431\u043E\u043B\u044C\u0448\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435"} \u0431\u0443\u0434\u0435\u0442 ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);if(a){let l=Number(n.minimum),u=nS(l,a.unit.one,a.unit.few,a.unit.many);return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin} \u0431\u0443\u0434\u0435\u0442 \u0438\u043C\u0435\u0442\u044C ${s}${n.minimum.toString()} ${u}`}return`\u0421\u043B\u0438\u0448\u043A\u043E\u043C \u043C\u0430\u043B\u0435\u043D\u044C\u043A\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435: \u043E\u0436\u0438\u0434\u0430\u043B\u043E\u0441\u044C, \u0447\u0442\u043E ${n.origin} \u0431\u0443\u0434\u0435\u0442 ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u043D\u0430\u0447\u0438\u043D\u0430\u0442\u044C\u0441\u044F \u0441 "${s.prefix}"`:s.format==="ends_with"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0437\u0430\u043A\u0430\u043D\u0447\u0438\u0432\u0430\u0442\u044C\u0441\u044F \u043D\u0430 "${s.suffix}"`:s.format==="includes"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0442\u044C "${s.includes}"`:s.format==="regex"?`\u041D\u0435\u0432\u0435\u0440\u043D\u0430\u044F \u0441\u0442\u0440\u043E\u043A\u0430: \u0434\u043E\u043B\u0436\u043D\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u0442\u044C \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${s.pattern}`:`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 ${i[s.format]??n.format}`}case"not_multiple_of":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0447\u0438\u0441\u043B\u043E: \u0434\u043E\u043B\u0436\u043D\u043E \u0431\u044B\u0442\u044C \u043A\u0440\u0430\u0442\u043D\u044B\u043C ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D${n.keys.length>1?"\u044B\u0435":"\u044B\u0439"} \u043A\u043B\u044E\u0447${n.keys.length>1?"\u0438":""}: ${z(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0439 \u043A\u043B\u044E\u0447 \u0432 ${n.origin}`;case"invalid_union":return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435";case"invalid_element":return`\u041D\u0435\u0432\u0435\u0440\u043D\u043E\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 \u0432 ${n.origin}`;default:return"\u041D\u0435\u0432\u0435\u0440\u043D\u044B\u0435 \u0432\u0445\u043E\u0434\u043D\u044B\u0435 \u0434\u0430\u043D\u043D\u044B\u0435"}}};function iS(){return{localeError:eM()}}var tM=()=>{let e={string:{unit:"znakov",verb:"imeti"},file:{unit:"bajtov",verb:"imeti"},array:{unit:"elementov",verb:"imeti"},set:{unit:"elementov",verb:"imeti"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0161tevilo";case"object":{if(Array.isArray(n))return"tabela";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"vnos",email:"e-po\u0161tni naslov",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO datum in \u010Das",date:"ISO datum",time:"ISO \u010Das",duration:"ISO trajanje",ipv4:"IPv4 naslov",ipv6:"IPv6 naslov",cidrv4:"obseg IPv4",cidrv6:"obseg IPv6",base64:"base64 kodiran niz",base64url:"base64url kodiran niz",json_string:"JSON niz",e164:"E.164 \u0161tevilka",jwt:"JWT",template_literal:"vnos"};return n=>{switch(n.code){case"invalid_type":return`Neveljaven vnos: pri\u010Dakovano ${n.expected}, prejeto ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Neveljaven vnos: pri\u010Dakovano ${Q(n.values[0])}`:`Neveljavna mo\u017Enost: pri\u010Dakovano eno izmed ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Preveliko: pri\u010Dakovano, da bo ${n.origin??"vrednost"} imelo ${s}${n.maximum.toString()} ${a.unit??"elementov"}`:`Preveliko: pri\u010Dakovano, da bo ${n.origin??"vrednost"} ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Premajhno: pri\u010Dakovano, da bo ${n.origin} imelo ${s}${n.minimum.toString()} ${a.unit}`:`Premajhno: pri\u010Dakovano, da bo ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Neveljaven niz: mora se za\u010Deti z "${s.prefix}"`:s.format==="ends_with"?`Neveljaven niz: mora se kon\u010Dati z "${s.suffix}"`:s.format==="includes"?`Neveljaven niz: mora vsebovati "${s.includes}"`:s.format==="regex"?`Neveljaven niz: mora ustrezati vzorcu ${s.pattern}`:`Neveljaven ${i[s.format]??n.format}`}case"not_multiple_of":return`Neveljavno \u0161tevilo: mora biti ve\u010Dkratnik ${n.divisor}`;case"unrecognized_keys":return`Neprepoznan${n.keys.length>1?"i klju\u010Di":" klju\u010D"}: ${z(n.keys,", ")}`;case"invalid_key":return`Neveljaven klju\u010D v ${n.origin}`;case"invalid_union":return"Neveljaven vnos";case"invalid_element":return`Neveljavna vrednost v ${n.origin}`;default:return"Neveljaven vnos"}}};function sS(){return{localeError:tM()}}var rM=()=>{let e={string:{unit:"tecken",verb:"att ha"},file:{unit:"bytes",verb:"att ha"},array:{unit:"objekt",verb:"att inneh\xE5lla"},set:{unit:"objekt",verb:"att inneh\xE5lla"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"antal";case"object":{if(Array.isArray(n))return"lista";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"regulj\xE4rt uttryck",email:"e-postadress",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO-datum och tid",date:"ISO-datum",time:"ISO-tid",duration:"ISO-varaktighet",ipv4:"IPv4-intervall",ipv6:"IPv6-intervall",cidrv4:"IPv4-spektrum",cidrv6:"IPv6-spektrum",base64:"base64-kodad str\xE4ng",base64url:"base64url-kodad str\xE4ng",json_string:"JSON-str\xE4ng",e164:"E.164-nummer",jwt:"JWT",template_literal:"mall-literal"};return n=>{switch(n.code){case"invalid_type":return`Ogiltig inmatning: f\xF6rv\xE4ntat ${n.expected}, fick ${r(n.input)}`;case"invalid_value":return n.values.length===1?`Ogiltig inmatning: f\xF6rv\xE4ntat ${Q(n.values[0])}`:`Ogiltigt val: f\xF6rv\xE4ntade en av ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`F\xF6r stor(t): f\xF6rv\xE4ntade ${n.origin??"v\xE4rdet"} att ha ${s}${n.maximum.toString()} ${a.unit??"element"}`:`F\xF6r stor(t): f\xF6rv\xE4ntat ${n.origin??"v\xE4rdet"} att ha ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`F\xF6r lite(t): f\xF6rv\xE4ntade ${n.origin??"v\xE4rdet"} att ha ${s}${n.minimum.toString()} ${a.unit}`:`F\xF6r lite(t): f\xF6rv\xE4ntade ${n.origin??"v\xE4rdet"} att ha ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Ogiltig str\xE4ng: m\xE5ste b\xF6rja med "${s.prefix}"`:s.format==="ends_with"?`Ogiltig str\xE4ng: m\xE5ste sluta med "${s.suffix}"`:s.format==="includes"?`Ogiltig str\xE4ng: m\xE5ste inneh\xE5lla "${s.includes}"`:s.format==="regex"?`Ogiltig str\xE4ng: m\xE5ste matcha m\xF6nstret "${s.pattern}"`:`Ogiltig(t) ${i[s.format]??n.format}`}case"not_multiple_of":return`Ogiltigt tal: m\xE5ste vara en multipel av ${n.divisor}`;case"unrecognized_keys":return`${n.keys.length>1?"Ok\xE4nda nycklar":"Ok\xE4nd nyckel"}: ${z(n.keys,", ")}`;case"invalid_key":return`Ogiltig nyckel i ${n.origin??"v\xE4rdet"}`;case"invalid_union":return"Ogiltig input";case"invalid_element":return`Ogiltigt v\xE4rde i ${n.origin??"v\xE4rdet"}`;default:return"Ogiltig input"}}};function aS(){return{localeError:rM()}}var nM=()=>{let e={string:{unit:"\u0B8E\u0BB4\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},file:{unit:"\u0BAA\u0BC8\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},array:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"},set:{unit:"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD",verb:"\u0B95\u0BCA\u0BA3\u0BCD\u0B9F\u0BBF\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"\u0B8E\u0BA3\u0BCD \u0B85\u0BB2\u0BCD\u0BB2\u0BBE\u0BA4\u0BA4\u0BC1":"\u0B8E\u0BA3\u0BCD";case"object":{if(Array.isArray(n))return"\u0B85\u0BA3\u0BBF";if(n===null)return"\u0BB5\u0BC6\u0BB1\u0BC1\u0BAE\u0BC8";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1",email:"\u0BAE\u0BBF\u0BA9\u0BCD\u0BA9\u0B9E\u0BCD\u0B9A\u0BB2\u0BCD \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u0BA4\u0BC7\u0BA4\u0BBF \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",date:"ISO \u0BA4\u0BC7\u0BA4\u0BBF",time:"ISO \u0BA8\u0BC7\u0BB0\u0BAE\u0BCD",duration:"ISO \u0B95\u0BBE\u0BB2 \u0B85\u0BB3\u0BB5\u0BC1",ipv4:"IPv4 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",ipv6:"IPv6 \u0BAE\u0BC1\u0B95\u0BB5\u0BB0\u0BBF",cidrv4:"IPv4 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",cidrv6:"IPv6 \u0BB5\u0BB0\u0BAE\u0BCD\u0BAA\u0BC1",base64:"base64-encoded \u0B9A\u0BB0\u0BAE\u0BCD",base64url:"base64url-encoded \u0B9A\u0BB0\u0BAE\u0BCD",json_string:"JSON \u0B9A\u0BB0\u0BAE\u0BCD",e164:"E.164 \u0B8E\u0BA3\u0BCD",jwt:"JWT",template_literal:"input"};return n=>{switch(n.code){case"invalid_type":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.expected}, \u0BAA\u0BC6\u0BB1\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${Q(n.values[0])}`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0BB0\u0BC1\u0BAA\u0BCD\u0BAA\u0BAE\u0BCD: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${z(n.values,"|")} \u0B87\u0BB2\u0BCD \u0B92\u0BA9\u0BCD\u0BB1\u0BC1`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${s}${n.maximum.toString()} ${a.unit??"\u0B89\u0BB1\u0BC1\u0BAA\u0BCD\u0BAA\u0BC1\u0B95\u0BB3\u0BCD"} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95 \u0BAA\u0BC6\u0BB0\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin??"\u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1"} ${s}${n.maximum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin} ${s}${n.minimum.toString()} ${a.unit} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BAE\u0BBF\u0B95\u0B9A\u0BCD \u0B9A\u0BBF\u0BB1\u0BBF\u0BAF\u0BA4\u0BC1: \u0B8E\u0BA4\u0BBF\u0BB0\u0BCD\u0BAA\u0BBE\u0BB0\u0BCD\u0B95\u0BCD\u0B95\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1 ${n.origin} ${s}${n.minimum.toString()} \u0B86\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${s.prefix}" \u0B87\u0BB2\u0BCD \u0BA4\u0BCA\u0B9F\u0B99\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:s.format==="ends_with"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${s.suffix}" \u0B87\u0BB2\u0BCD \u0BAE\u0BC1\u0B9F\u0BBF\u0BB5\u0B9F\u0BC8\u0BAF \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:s.format==="includes"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: "${s.includes}" \u0B90 \u0B89\u0BB3\u0BCD\u0BB3\u0B9F\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:s.format==="regex"?`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B9A\u0BB0\u0BAE\u0BCD: ${s.pattern} \u0BAE\u0BC1\u0BB1\u0BC8\u0BAA\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B9F\u0BA9\u0BCD \u0BAA\u0BCA\u0BB0\u0BC1\u0BA8\u0BCD\u0BA4 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`:`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 ${i[s.format]??n.format}`}case"not_multiple_of":return`\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B8E\u0BA3\u0BCD: ${n.divisor} \u0B87\u0BA9\u0BCD \u0BAA\u0BB2\u0BAE\u0BBE\u0B95 \u0B87\u0BB0\u0BC1\u0B95\u0BCD\u0B95 \u0BB5\u0BC7\u0BA3\u0BCD\u0B9F\u0BC1\u0BAE\u0BCD`;case"unrecognized_keys":return`\u0B85\u0B9F\u0BC8\u0BAF\u0BBE\u0BB3\u0BAE\u0BCD \u0BA4\u0BC6\u0BB0\u0BBF\u0BAF\u0BBE\u0BA4 \u0BB5\u0BBF\u0B9A\u0BC8${n.keys.length>1?"\u0B95\u0BB3\u0BCD":""}: ${z(n.keys,", ")}`;case"invalid_key":return`${n.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BB5\u0BBF\u0B9A\u0BC8`;case"invalid_union":return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1";case"invalid_element":return`${n.origin} \u0B87\u0BB2\u0BCD \u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0BAE\u0BA4\u0BBF\u0BAA\u0BCD\u0BAA\u0BC1`;default:return"\u0BA4\u0BB5\u0BB1\u0BBE\u0BA9 \u0B89\u0BB3\u0BCD\u0BB3\u0BC0\u0B9F\u0BC1"}}};function oS(){return{localeError:nM()}}var iM=()=>{let e={string:{unit:"\u0E15\u0E31\u0E27\u0E2D\u0E31\u0E01\u0E29\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},file:{unit:"\u0E44\u0E1A\u0E15\u0E4C",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},array:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"},set:{unit:"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23",verb:"\u0E04\u0E27\u0E23\u0E21\u0E35"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"\u0E44\u0E21\u0E48\u0E43\u0E0A\u0E48\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02 (NaN)":"\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02";case"object":{if(Array.isArray(n))return"\u0E2D\u0E32\u0E23\u0E4C\u0E40\u0E23\u0E22\u0E4C (Array)";if(n===null)return"\u0E44\u0E21\u0E48\u0E21\u0E35\u0E04\u0E48\u0E32 (null)";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19",email:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E2D\u0E35\u0E40\u0E21\u0E25",url:"URL",emoji:"\u0E2D\u0E34\u0E42\u0E21\u0E08\u0E34",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",date:"\u0E27\u0E31\u0E19\u0E17\u0E35\u0E48\u0E41\u0E1A\u0E1A ISO",time:"\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",duration:"\u0E0A\u0E48\u0E27\u0E07\u0E40\u0E27\u0E25\u0E32\u0E41\u0E1A\u0E1A ISO",ipv4:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv4",ipv6:"\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48 IPv6",cidrv4:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv4",cidrv6:"\u0E0A\u0E48\u0E27\u0E07 IP \u0E41\u0E1A\u0E1A IPv6",base64:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64",base64url:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A Base64 \u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A URL",json_string:"\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",e164:"\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",jwt:"\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",template_literal:"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"};return n=>{switch(n.code){case"invalid_type":return`\u0E1B\u0E23\u0E30\u0E40\u0E20\u0E17\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${n.expected} \u0E41\u0E15\u0E48\u0E44\u0E14\u0E49\u0E23\u0E31\u0E1A ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u0E04\u0E48\u0E32\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19 ${Q(n.values[0])}`:`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E37\u0E2D\u0E01\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E04\u0E27\u0E23\u0E40\u0E1B\u0E47\u0E19\u0E2B\u0E19\u0E36\u0E48\u0E07\u0E43\u0E19 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"\u0E44\u0E21\u0E48\u0E40\u0E01\u0E34\u0E19":"\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32",a=t(n.origin);return a?`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${s} ${n.maximum.toString()} ${a.unit??"\u0E23\u0E32\u0E22\u0E01\u0E32\u0E23"}`:`\u0E40\u0E01\u0E34\u0E19\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin??"\u0E04\u0E48\u0E32"} \u0E04\u0E27\u0E23\u0E21\u0E35${s} ${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?"\u0E2D\u0E22\u0E48\u0E32\u0E07\u0E19\u0E49\u0E2D\u0E22":"\u0E21\u0E32\u0E01\u0E01\u0E27\u0E48\u0E32",a=t(n.origin);return a?`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${s} ${n.minimum.toString()} ${a.unit}`:`\u0E19\u0E49\u0E2D\u0E22\u0E01\u0E27\u0E48\u0E32\u0E01\u0E33\u0E2B\u0E19\u0E14: ${n.origin} \u0E04\u0E27\u0E23\u0E21\u0E35${s} ${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E02\u0E36\u0E49\u0E19\u0E15\u0E49\u0E19\u0E14\u0E49\u0E27\u0E22 "${s.prefix}"`:s.format==="ends_with"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E25\u0E07\u0E17\u0E49\u0E32\u0E22\u0E14\u0E49\u0E27\u0E22 "${s.suffix}"`:s.format==="includes"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E15\u0E49\u0E2D\u0E07\u0E21\u0E35 "${s.includes}" \u0E2D\u0E22\u0E39\u0E48\u0E43\u0E19\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21`:s.format==="regex"?`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14 ${s.pattern}`:`\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: ${i[s.format]??n.format}`}case"not_multiple_of":return`\u0E15\u0E31\u0E27\u0E40\u0E25\u0E02\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E15\u0E49\u0E2D\u0E07\u0E40\u0E1B\u0E47\u0E19\u0E08\u0E33\u0E19\u0E27\u0E19\u0E17\u0E35\u0E48\u0E2B\u0E32\u0E23\u0E14\u0E49\u0E27\u0E22 ${n.divisor} \u0E44\u0E14\u0E49\u0E25\u0E07\u0E15\u0E31\u0E27`;case"unrecognized_keys":return`\u0E1E\u0E1A\u0E04\u0E35\u0E22\u0E4C\u0E17\u0E35\u0E48\u0E44\u0E21\u0E48\u0E23\u0E39\u0E49\u0E08\u0E31\u0E01: ${z(n.keys,", ")}`;case"invalid_key":return`\u0E04\u0E35\u0E22\u0E4C\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${n.origin}`;case"invalid_union":return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07: \u0E44\u0E21\u0E48\u0E15\u0E23\u0E07\u0E01\u0E31\u0E1A\u0E23\u0E39\u0E1B\u0E41\u0E1A\u0E1A\u0E22\u0E39\u0E40\u0E19\u0E35\u0E22\u0E19\u0E17\u0E35\u0E48\u0E01\u0E33\u0E2B\u0E19\u0E14\u0E44\u0E27\u0E49";case"invalid_element":return`\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07\u0E43\u0E19 ${n.origin}`;default:return"\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E44\u0E21\u0E48\u0E16\u0E39\u0E01\u0E15\u0E49\u0E2D\u0E07"}}};function lS(){return{localeError:iM()}}var sM=e=>{let t=typeof e;switch(t){case"number":return Number.isNaN(e)?"NaN":"number";case"object":{if(Array.isArray(e))return"array";if(e===null)return"null";if(Object.getPrototypeOf(e)!==Object.prototype&&e.constructor)return e.constructor.name}}return t},aM=()=>{let e={string:{unit:"karakter",verb:"olmal\u0131"},file:{unit:"bayt",verb:"olmal\u0131"},array:{unit:"\xF6\u011Fe",verb:"olmal\u0131"},set:{unit:"\xF6\u011Fe",verb:"olmal\u0131"}};function t(i){return e[i]??null}let r={regex:"girdi",email:"e-posta adresi",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO tarih ve saat",date:"ISO tarih",time:"ISO saat",duration:"ISO s\xFCre",ipv4:"IPv4 adresi",ipv6:"IPv6 adresi",cidrv4:"IPv4 aral\u0131\u011F\u0131",cidrv6:"IPv6 aral\u0131\u011F\u0131",base64:"base64 ile \u015Fifrelenmi\u015F metin",base64url:"base64url ile \u015Fifrelenmi\u015F metin",json_string:"JSON dizesi",e164:"E.164 say\u0131s\u0131",jwt:"JWT",template_literal:"\u015Eablon dizesi"};return i=>{switch(i.code){case"invalid_type":return`Ge\xE7ersiz de\u011Fer: beklenen ${i.expected}, al\u0131nan ${sM(i.input)}`;case"invalid_value":return i.values.length===1?`Ge\xE7ersiz de\u011Fer: beklenen ${Q(i.values[0])}`:`Ge\xE7ersiz se\xE7enek: a\u015Fa\u011F\u0131dakilerden biri olmal\u0131: ${z(i.values,"|")}`;case"too_big":{let n=i.inclusive?"<=":"<",s=t(i.origin);return s?`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${n}${i.maximum.toString()} ${s.unit??"\xF6\u011Fe"}`:`\xC7ok b\xFCy\xFCk: beklenen ${i.origin??"de\u011Fer"} ${n}${i.maximum.toString()}`}case"too_small":{let n=i.inclusive?">=":">",s=t(i.origin);return s?`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${n}${i.minimum.toString()} ${s.unit}`:`\xC7ok k\xFC\xE7\xFCk: beklenen ${i.origin} ${n}${i.minimum.toString()}`}case"invalid_format":{let n=i;return n.format==="starts_with"?`Ge\xE7ersiz metin: "${n.prefix}" ile ba\u015Flamal\u0131`:n.format==="ends_with"?`Ge\xE7ersiz metin: "${n.suffix}" ile bitmeli`:n.format==="includes"?`Ge\xE7ersiz metin: "${n.includes}" i\xE7ermeli`:n.format==="regex"?`Ge\xE7ersiz metin: ${n.pattern} desenine uymal\u0131`:`Ge\xE7ersiz ${r[n.format]??i.format}`}case"not_multiple_of":return`Ge\xE7ersiz say\u0131: ${i.divisor} ile tam b\xF6l\xFCnebilmeli`;case"unrecognized_keys":return`Tan\u0131nmayan anahtar${i.keys.length>1?"lar":""}: ${z(i.keys,", ")}`;case"invalid_key":return`${i.origin} i\xE7inde ge\xE7ersiz anahtar`;case"invalid_union":return"Ge\xE7ersiz de\u011Fer";case"invalid_element":return`${i.origin} i\xE7inde ge\xE7ersiz de\u011Fer`;default:return"Ge\xE7ersiz de\u011Fer"}}};function uS(){return{localeError:aM()}}var oM=()=>{let e={string:{unit:"\u0441\u0438\u043C\u0432\u043E\u043B\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},file:{unit:"\u0431\u0430\u0439\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},array:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"},set:{unit:"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432",verb:"\u043C\u0430\u0442\u0438\u043C\u0435"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0447\u0438\u0441\u043B\u043E";case"object":{if(Array.isArray(n))return"\u043C\u0430\u0441\u0438\u0432";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456",email:"\u0430\u0434\u0440\u0435\u0441\u0430 \u0435\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u043E\u0457 \u043F\u043E\u0448\u0442\u0438",url:"URL",emoji:"\u0435\u043C\u043E\u0434\u0437\u0456",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"\u0434\u0430\u0442\u0430 \u0442\u0430 \u0447\u0430\u0441 ISO",date:"\u0434\u0430\u0442\u0430 ISO",time:"\u0447\u0430\u0441 ISO",duration:"\u0442\u0440\u0438\u0432\u0430\u043B\u0456\u0441\u0442\u044C ISO",ipv4:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv4",ipv6:"\u0430\u0434\u0440\u0435\u0441\u0430 IPv6",cidrv4:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv4",cidrv6:"\u0434\u0456\u0430\u043F\u0430\u0437\u043E\u043D IPv6",base64:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64",base64url:"\u0440\u044F\u0434\u043E\u043A \u0443 \u043A\u043E\u0434\u0443\u0432\u0430\u043D\u043D\u0456 base64url",json_string:"\u0440\u044F\u0434\u043E\u043A JSON",e164:"\u043D\u043E\u043C\u0435\u0440 E.164",jwt:"JWT",template_literal:"\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"};return n=>{switch(n.code){case"invalid_type":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${n.expected}, \u043E\u0442\u0440\u0438\u043C\u0430\u043D\u043E ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F ${Q(n.values[0])}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0430 \u043E\u043F\u0446\u0456\u044F: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F \u043E\u0434\u043D\u0435 \u0437 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} ${a.verb} ${s}${n.maximum.toString()} ${a.unit??"\u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432"}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u0432\u0435\u043B\u0438\u043A\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin??"\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F"} \u0431\u0443\u0434\u0435 ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin} ${a.verb} ${s}${n.minimum.toString()} ${a.unit}`:`\u0417\u0430\u043D\u0430\u0434\u0442\u043E \u043C\u0430\u043B\u0435: \u043E\u0447\u0456\u043A\u0443\u0454\u0442\u044C\u0441\u044F, \u0449\u043E ${n.origin} \u0431\u0443\u0434\u0435 ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043F\u043E\u0447\u0438\u043D\u0430\u0442\u0438\u0441\u044F \u0437 "${s.prefix}"`:s.format==="ends_with"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0437\u0430\u043A\u0456\u043D\u0447\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430 "${s.suffix}"`:s.format==="includes"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u043C\u0456\u0441\u0442\u0438\u0442\u0438 "${s.includes}"`:s.format==="regex"?`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A: \u043F\u043E\u0432\u0438\u043D\u0435\u043D \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u0442\u0438 \u0448\u0430\u0431\u043B\u043E\u043D\u0443 ${s.pattern}`:`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 ${i[s.format]??n.format}`}case"not_multiple_of":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0447\u0438\u0441\u043B\u043E: \u043F\u043E\u0432\u0438\u043D\u043D\u043E \u0431\u0443\u0442\u0438 \u043A\u0440\u0430\u0442\u043D\u0438\u043C ${n.divisor}`;case"unrecognized_keys":return`\u041D\u0435\u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u0438\u0439 \u043A\u043B\u044E\u0447${n.keys.length>1?"\u0456":""}: ${z(n.keys,", ")}`;case"invalid_key":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u0439 \u043A\u043B\u044E\u0447 \u0443 ${n.origin}`;case"invalid_union":return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456";case"invalid_element":return`\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0443 ${n.origin}`;default:return"\u041D\u0435\u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0456 \u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"}}};function cS(){return{localeError:oM()}}var lM=()=>{let e={string:{unit:"\u062D\u0631\u0648\u0641",verb:"\u06C1\u0648\u0646\u0627"},file:{unit:"\u0628\u0627\u0626\u0679\u0633",verb:"\u06C1\u0648\u0646\u0627"},array:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"},set:{unit:"\u0622\u0626\u0679\u0645\u0632",verb:"\u06C1\u0648\u0646\u0627"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"\u0646\u0645\u0628\u0631";case"object":{if(Array.isArray(n))return"\u0622\u0631\u06D2";if(n===null)return"\u0646\u0644";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0627\u0646 \u067E\u0679",email:"\u0627\u06CC \u0645\u06CC\u0644 \u0627\u06CC\u0688\u0631\u06CC\u0633",url:"\u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644",emoji:"\u0627\u06CC\u0645\u0648\u062C\u06CC",uuid:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",uuidv4:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 4",uuidv6:"\u06CC\u0648 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC \u0648\u06CC 6",nanoid:"\u0646\u06CC\u0646\u0648 \u0622\u0626\u06CC \u0688\u06CC",guid:"\u062C\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",cuid2:"\u0633\u06CC \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC 2",ulid:"\u06CC\u0648 \u0627\u06CC\u0644 \u0622\u0626\u06CC \u0688\u06CC",xid:"\u0627\u06CC\u06A9\u0633 \u0622\u0626\u06CC \u0688\u06CC",ksuid:"\u06A9\u06D2 \u0627\u06CC\u0633 \u06CC\u0648 \u0622\u0626\u06CC \u0688\u06CC",datetime:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0688\u06CC\u0679 \u0679\u0627\u0626\u0645",date:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u062A\u0627\u0631\u06CC\u062E",time:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0648\u0642\u062A",duration:"\u0622\u0626\u06CC \u0627\u06CC\u0633 \u0627\u0648 \u0645\u062F\u062A",ipv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0627\u06CC\u0688\u0631\u06CC\u0633",ipv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0627\u06CC\u0688\u0631\u06CC\u0633",cidrv4:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 4 \u0631\u06CC\u0646\u062C",cidrv6:"\u0622\u0626\u06CC \u067E\u06CC \u0648\u06CC 6 \u0631\u06CC\u0646\u062C",base64:"\u0628\u06CC\u0633 64 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",base64url:"\u0628\u06CC\u0633 64 \u06CC\u0648 \u0622\u0631 \u0627\u06CC\u0644 \u0627\u0646 \u06A9\u0648\u0688\u0688 \u0633\u0679\u0631\u0646\u06AF",json_string:"\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",e164:"\u0627\u06CC 164 \u0646\u0645\u0628\u0631",jwt:"\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",template_literal:"\u0627\u0646 \u067E\u0679"};return n=>{switch(n.code){case"invalid_type":return`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${n.expected} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627\u060C ${r(n.input)} \u0645\u0648\u0635\u0648\u0644 \u06C1\u0648\u0627`;case"invalid_value":return n.values.length===1?`\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679: ${Q(n.values[0])} \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`:`\u063A\u0644\u0637 \u0622\u067E\u0634\u0646: ${z(n.values,"|")} \u0645\u06CC\u06BA \u0633\u06D2 \u0627\u06CC\u06A9 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u0628\u06C1\u062A \u0628\u0691\u0627: ${n.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u06D2 ${s}${n.maximum.toString()} ${a.unit??"\u0639\u0646\u0627\u0635\u0631"} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0628\u0691\u0627: ${n.origin??"\u0648\u06CC\u0644\u06CC\u0648"} \u06A9\u0627 ${s}${n.maximum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${n.origin} \u06A9\u06D2 ${s}${n.minimum.toString()} ${a.unit} \u06C1\u0648\u0646\u06D2 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u06D2`:`\u0628\u06C1\u062A \u0686\u06BE\u0648\u0679\u0627: ${n.origin} \u06A9\u0627 ${s}${n.minimum.toString()} \u06C1\u0648\u0646\u0627 \u0645\u062A\u0648\u0642\u0639 \u062A\u06BE\u0627`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${s.prefix}" \u0633\u06D2 \u0634\u0631\u0648\u0639 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:s.format==="ends_with"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${s.suffix}" \u067E\u0631 \u062E\u062A\u0645 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:s.format==="includes"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: "${s.includes}" \u0634\u0627\u0645\u0644 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:s.format==="regex"?`\u063A\u0644\u0637 \u0633\u0679\u0631\u0646\u06AF: \u067E\u06CC\u0679\u0631\u0646 ${s.pattern} \u0633\u06D2 \u0645\u06CC\u0686 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`:`\u063A\u0644\u0637 ${i[s.format]??n.format}`}case"not_multiple_of":return`\u063A\u0644\u0637 \u0646\u0645\u0628\u0631: ${n.divisor} \u06A9\u0627 \u0645\u0636\u0627\u0639\u0641 \u06C1\u0648\u0646\u0627 \u0686\u0627\u06C1\u06CC\u06D2`;case"unrecognized_keys":return`\u063A\u06CC\u0631 \u062A\u0633\u0644\u06CC\u0645 \u0634\u062F\u06C1 \u06A9\u06CC${n.keys.length>1?"\u0632":""}: ${z(n.keys,"\u060C ")}`;case"invalid_key":return`${n.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u06A9\u06CC`;case"invalid_union":return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679";case"invalid_element":return`${n.origin} \u0645\u06CC\u06BA \u063A\u0644\u0637 \u0648\u06CC\u0644\u06CC\u0648`;default:return"\u063A\u0644\u0637 \u0627\u0646 \u067E\u0679"}}};function pS(){return{localeError:lM()}}var uM=()=>{let e={string:{unit:"k\xFD t\u1EF1",verb:"c\xF3"},file:{unit:"byte",verb:"c\xF3"},array:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"},set:{unit:"ph\u1EA7n t\u1EED",verb:"c\xF3"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"s\u1ED1";case"object":{if(Array.isArray(n))return"m\u1EA3ng";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u0111\u1EA7u v\xE0o",email:"\u0111\u1ECBa ch\u1EC9 email",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ng\xE0y gi\u1EDD ISO",date:"ng\xE0y ISO",time:"gi\u1EDD ISO",duration:"kho\u1EA3ng th\u1EDDi gian ISO",ipv4:"\u0111\u1ECBa ch\u1EC9 IPv4",ipv6:"\u0111\u1ECBa ch\u1EC9 IPv6",cidrv4:"d\u1EA3i IPv4",cidrv6:"d\u1EA3i IPv6",base64:"chu\u1ED7i m\xE3 h\xF3a base64",base64url:"chu\u1ED7i m\xE3 h\xF3a base64url",json_string:"chu\u1ED7i JSON",e164:"s\u1ED1 E.164",jwt:"JWT",template_literal:"\u0111\u1EA7u v\xE0o"};return n=>{switch(n.code){case"invalid_type":return`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${n.expected}, nh\u1EADn \u0111\u01B0\u1EE3c ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i ${Q(n.values[0])}`:`T\xF9y ch\u1ECDn kh\xF4ng h\u1EE3p l\u1EC7: mong \u0111\u1EE3i m\u1ED9t trong c\xE1c gi\xE1 tr\u1ECB ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${n.origin??"gi\xE1 tr\u1ECB"} ${a.verb} ${s}${n.maximum.toString()} ${a.unit??"ph\u1EA7n t\u1EED"}`:`Qu\xE1 l\u1EDBn: mong \u0111\u1EE3i ${n.origin??"gi\xE1 tr\u1ECB"} ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${n.origin} ${a.verb} ${s}${n.minimum.toString()} ${a.unit}`:`Qu\xE1 nh\u1ECF: mong \u0111\u1EE3i ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i b\u1EAFt \u0111\u1EA7u b\u1EB1ng "${s.prefix}"`:s.format==="ends_with"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i k\u1EBFt th\xFAc b\u1EB1ng "${s.suffix}"`:s.format==="includes"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i bao g\u1ED3m "${s.includes}"`:s.format==="regex"?`Chu\u1ED7i kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i kh\u1EDBp v\u1EDBi m\u1EABu ${s.pattern}`:`${i[s.format]??n.format} kh\xF4ng h\u1EE3p l\u1EC7`}case"not_multiple_of":return`S\u1ED1 kh\xF4ng h\u1EE3p l\u1EC7: ph\u1EA3i l\xE0 b\u1ED9i s\u1ED1 c\u1EE7a ${n.divisor}`;case"unrecognized_keys":return`Kh\xF3a kh\xF4ng \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng: ${z(n.keys,", ")}`;case"invalid_key":return`Kh\xF3a kh\xF4ng h\u1EE3p l\u1EC7 trong ${n.origin}`;case"invalid_union":return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7";case"invalid_element":return`Gi\xE1 tr\u1ECB kh\xF4ng h\u1EE3p l\u1EC7 trong ${n.origin}`;default:return"\u0110\u1EA7u v\xE0o kh\xF4ng h\u1EE3p l\u1EC7"}}};function dS(){return{localeError:uM()}}var cM=()=>{let e={string:{unit:"\u5B57\u7B26",verb:"\u5305\u542B"},file:{unit:"\u5B57\u8282",verb:"\u5305\u542B"},array:{unit:"\u9879",verb:"\u5305\u542B"},set:{unit:"\u9879",verb:"\u5305\u542B"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"\u975E\u6570\u5B57(NaN)":"\u6570\u5B57";case"object":{if(Array.isArray(n))return"\u6570\u7EC4";if(n===null)return"\u7A7A\u503C(null)";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u8F93\u5165",email:"\u7535\u5B50\u90AE\u4EF6",url:"URL",emoji:"\u8868\u60C5\u7B26\u53F7",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO\u65E5\u671F\u65F6\u95F4",date:"ISO\u65E5\u671F",time:"ISO\u65F6\u95F4",duration:"ISO\u65F6\u957F",ipv4:"IPv4\u5730\u5740",ipv6:"IPv6\u5730\u5740",cidrv4:"IPv4\u7F51\u6BB5",cidrv6:"IPv6\u7F51\u6BB5",base64:"base64\u7F16\u7801\u5B57\u7B26\u4E32",base64url:"base64url\u7F16\u7801\u5B57\u7B26\u4E32",json_string:"JSON\u5B57\u7B26\u4E32",e164:"E.164\u53F7\u7801",jwt:"JWT",template_literal:"\u8F93\u5165"};return n=>{switch(n.code){case"invalid_type":return`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${n.expected}\uFF0C\u5B9E\u9645\u63A5\u6536 ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u65E0\u6548\u8F93\u5165\uFF1A\u671F\u671B ${Q(n.values[0])}`:`\u65E0\u6548\u9009\u9879\uFF1A\u671F\u671B\u4EE5\u4E0B\u4E4B\u4E00 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${n.origin??"\u503C"} ${s}${n.maximum.toString()} ${a.unit??"\u4E2A\u5143\u7D20"}`:`\u6570\u503C\u8FC7\u5927\uFF1A\u671F\u671B ${n.origin??"\u503C"} ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${n.origin} ${s}${n.minimum.toString()} ${a.unit}`:`\u6570\u503C\u8FC7\u5C0F\uFF1A\u671F\u671B ${n.origin} ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${s.prefix}" \u5F00\u5934`:s.format==="ends_with"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u4EE5 "${s.suffix}" \u7ED3\u5C3E`:s.format==="includes"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u5305\u542B "${s.includes}"`:s.format==="regex"?`\u65E0\u6548\u5B57\u7B26\u4E32\uFF1A\u5FC5\u987B\u6EE1\u8DB3\u6B63\u5219\u8868\u8FBE\u5F0F ${s.pattern}`:`\u65E0\u6548${i[s.format]??n.format}`}case"not_multiple_of":return`\u65E0\u6548\u6570\u5B57\uFF1A\u5FC5\u987B\u662F ${n.divisor} \u7684\u500D\u6570`;case"unrecognized_keys":return`\u51FA\u73B0\u672A\u77E5\u7684\u952E(key): ${z(n.keys,", ")}`;case"invalid_key":return`${n.origin} \u4E2D\u7684\u952E(key)\u65E0\u6548`;case"invalid_union":return"\u65E0\u6548\u8F93\u5165";case"invalid_element":return`${n.origin} \u4E2D\u5305\u542B\u65E0\u6548\u503C(value)`;default:return"\u65E0\u6548\u8F93\u5165"}}};function fS(){return{localeError:cM()}}var pM=()=>{let e={string:{unit:"\u5B57\u5143",verb:"\u64C1\u6709"},file:{unit:"\u4F4D\u5143\u7D44",verb:"\u64C1\u6709"},array:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"},set:{unit:"\u9805\u76EE",verb:"\u64C1\u6709"}};function t(n){return e[n]??null}let r=n=>{let s=typeof n;switch(s){case"number":return Number.isNaN(n)?"NaN":"number";case"object":{if(Array.isArray(n))return"array";if(n===null)return"null";if(Object.getPrototypeOf(n)!==Object.prototype&&n.constructor)return n.constructor.name}}return s},i={regex:"\u8F38\u5165",email:"\u90F5\u4EF6\u5730\u5740",url:"URL",emoji:"emoji",uuid:"UUID",uuidv4:"UUIDv4",uuidv6:"UUIDv6",nanoid:"nanoid",guid:"GUID",cuid:"cuid",cuid2:"cuid2",ulid:"ULID",xid:"XID",ksuid:"KSUID",datetime:"ISO \u65E5\u671F\u6642\u9593",date:"ISO \u65E5\u671F",time:"ISO \u6642\u9593",duration:"ISO \u671F\u9593",ipv4:"IPv4 \u4F4D\u5740",ipv6:"IPv6 \u4F4D\u5740",cidrv4:"IPv4 \u7BC4\u570D",cidrv6:"IPv6 \u7BC4\u570D",base64:"base64 \u7DE8\u78BC\u5B57\u4E32",base64url:"base64url \u7DE8\u78BC\u5B57\u4E32",json_string:"JSON \u5B57\u4E32",e164:"E.164 \u6578\u503C",jwt:"JWT",template_literal:"\u8F38\u5165"};return n=>{switch(n.code){case"invalid_type":return`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${n.expected}\uFF0C\u4F46\u6536\u5230 ${r(n.input)}`;case"invalid_value":return n.values.length===1?`\u7121\u6548\u7684\u8F38\u5165\u503C\uFF1A\u9810\u671F\u70BA ${Q(n.values[0])}`:`\u7121\u6548\u7684\u9078\u9805\uFF1A\u9810\u671F\u70BA\u4EE5\u4E0B\u5176\u4E2D\u4E4B\u4E00 ${z(n.values,"|")}`;case"too_big":{let s=n.inclusive?"<=":"<",a=t(n.origin);return a?`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${n.origin??"\u503C"} \u61C9\u70BA ${s}${n.maximum.toString()} ${a.unit??"\u500B\u5143\u7D20"}`:`\u6578\u503C\u904E\u5927\uFF1A\u9810\u671F ${n.origin??"\u503C"} \u61C9\u70BA ${s}${n.maximum.toString()}`}case"too_small":{let s=n.inclusive?">=":">",a=t(n.origin);return a?`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${n.origin} \u61C9\u70BA ${s}${n.minimum.toString()} ${a.unit}`:`\u6578\u503C\u904E\u5C0F\uFF1A\u9810\u671F ${n.origin} \u61C9\u70BA ${s}${n.minimum.toString()}`}case"invalid_format":{let s=n;return s.format==="starts_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${s.prefix}" \u958B\u982D`:s.format==="ends_with"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u4EE5 "${s.suffix}" \u7D50\u5C3E`:s.format==="includes"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u5305\u542B "${s.includes}"`:s.format==="regex"?`\u7121\u6548\u7684\u5B57\u4E32\uFF1A\u5FC5\u9808\u7B26\u5408\u683C\u5F0F ${s.pattern}`:`\u7121\u6548\u7684 ${i[s.format]??n.format}`}case"not_multiple_of":return`\u7121\u6548\u7684\u6578\u5B57\uFF1A\u5FC5\u9808\u70BA ${n.divisor} \u7684\u500D\u6578`;case"unrecognized_keys":return`\u7121\u6CD5\u8B58\u5225\u7684\u9375\u503C${n.keys.length>1?"\u5011":""}\uFF1A${z(n.keys,"\u3001")}`;case"invalid_key":return`${n.origin} \u4E2D\u6709\u7121\u6548\u7684\u9375\u503C`;case"invalid_union":return"\u7121\u6548\u7684\u8F38\u5165\u503C";case"invalid_element":return`${n.origin} \u4E2D\u6709\u7121\u6548\u7684\u503C`;default:return"\u7121\u6548\u7684\u8F38\u5165\u503C"}}};function mS(){return{localeError:pM()}}var jy=Symbol("ZodOutput"),qy=Symbol("ZodInput"),ws=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(t,...r){let i=r[0];if(this._map.set(t,i),i&&typeof i=="object"&&"id"in i){if(this._idmap.has(i.id))throw new Error(`ID ${i.id} already exists in the registry`);this._idmap.set(i.id,t)}return this}remove(t){return this._map.delete(t),this}get(t){let r=t._zod.parent;if(r){let i={...this.get(r)??{}};return delete i.id,{...i,...this._map.get(t)}}return this._map.get(t)}has(t){return this._map.has(t)}};function Pu(){return new ws}var ln=Pu();function My(e,t){return new e({type:"string",...G(t)})}function By(e,t){return new e({type:"string",coerce:!0,...G(t)})}function Ru(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...G(t)})}function eo(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...G(t)})}function Nu(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...G(t)})}function Ou(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...G(t)})}function Lu(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...G(t)})}function Fu(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...G(t)})}function ju(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...G(t)})}function qu(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...G(t)})}function Mu(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...G(t)})}function Bu(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...G(t)})}function zu(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...G(t)})}function Uu(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...G(t)})}function Vu(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...G(t)})}function Hu(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...G(t)})}function Zu(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...G(t)})}function Wu(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...G(t)})}function Gu(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...G(t)})}function Ku(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...G(t)})}function Xu(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...G(t)})}function Ju(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...G(t)})}function Yu(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...G(t)})}function Qu(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...G(t)})}var zy={Any:null,Minute:-1,Second:0,Millisecond:3,Microsecond:6};function Uy(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...G(t)})}function Vy(e,t){return new e({type:"string",format:"date",check:"string_format",...G(t)})}function Hy(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...G(t)})}function Zy(e,t){return new e({type:"string",format:"duration",check:"string_format",...G(t)})}function Wy(e,t){return new e({type:"number",checks:[],...G(t)})}function Gy(e,t){return new e({type:"number",coerce:!0,checks:[],...G(t)})}function Ky(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...G(t)})}function Xy(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float32",...G(t)})}function Jy(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"float64",...G(t)})}function Yy(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"int32",...G(t)})}function Qy(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"uint32",...G(t)})}function ex(e,t){return new e({type:"boolean",...G(t)})}function tx(e,t){return new e({type:"boolean",coerce:!0,...G(t)})}function rx(e,t){return new e({type:"bigint",...G(t)})}function nx(e,t){return new e({type:"bigint",coerce:!0,...G(t)})}function ix(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"int64",...G(t)})}function sx(e,t){return new e({type:"bigint",check:"bigint_format",abort:!1,format:"uint64",...G(t)})}function ax(e,t){return new e({type:"symbol",...G(t)})}function ox(e,t){return new e({type:"undefined",...G(t)})}function lx(e,t){return new e({type:"null",...G(t)})}function ux(e){return new e({type:"any"})}function Es(e){return new e({type:"unknown"})}function cx(e,t){return new e({type:"never",...G(t)})}function px(e,t){return new e({type:"void",...G(t)})}function dx(e,t){return new e({type:"date",...G(t)})}function fx(e,t){return new e({type:"date",coerce:!0,...G(t)})}function mx(e,t){return new e({type:"nan",...G(t)})}function Rn(e,t){return new Eu({check:"less_than",...G(t),value:e,inclusive:!1})}function Pr(e,t){return new Eu({check:"less_than",...G(t),value:e,inclusive:!0})}function Nn(e,t){return new Du({check:"greater_than",...G(t),value:e,inclusive:!1})}function or(e,t){return new Du({check:"greater_than",...G(t),value:e,inclusive:!0})}function hx(e){return Nn(0,e)}function _x(e){return Rn(0,e)}function gx(e){return Pr(0,e)}function bx(e){return or(0,e)}function Hi(e,t){return new gv({check:"multiple_of",...G(t),value:e})}function Ds(e,t){return new yv({check:"max_size",...G(t),maximum:e})}function Zi(e,t){return new xv({check:"min_size",...G(t),minimum:e})}function to(e,t){return new kv({check:"size_equals",...G(t),size:e})}function Cs(e,t){return new wv({check:"max_length",...G(t),maximum:e})}function si(e,t){return new Ev({check:"min_length",...G(t),minimum:e})}function Ss(e,t){return new Dv({check:"length_equals",...G(t),length:e})}function ro(e,t){return new Cv({check:"string_format",format:"regex",...G(t),pattern:e})}function no(e){return new Sv({check:"string_format",format:"lowercase",...G(e)})}function io(e){return new $v({check:"string_format",format:"uppercase",...G(e)})}function so(e,t){return new Tv({check:"string_format",format:"includes",...G(t),includes:e})}function ao(e,t){return new Iv({check:"string_format",format:"starts_with",...G(t),prefix:e})}function oo(e,t){return new Av({check:"string_format",format:"ends_with",...G(t),suffix:e})}function vx(e,t,r){return new Pv({check:"property",property:e,schema:t,...G(r)})}function lo(e,t){return new Rv({check:"mime_type",mime:e,...G(t)})}function On(e){return new Nv({check:"overwrite",tx:e})}function uo(e){return On(t=>t.normalize(e))}function co(){return On(e=>e.trim())}function po(){return On(e=>e.toLowerCase())}function fo(){return On(e=>e.toUpperCase())}function mo(e,t,r){return new e({type:"array",element:t,...G(r)})}function dM(e,t,r){return new e({type:"union",options:t,...G(r)})}function fM(e,t,r,i){return new e({type:"union",options:r,discriminator:t,...G(i)})}function mM(e,t,r){return new e({type:"intersection",left:t,right:r})}function yx(e,t,r,i){let n=r instanceof we,s=n?i:r,a=n?r:null;return new e({type:"tuple",items:t,rest:a,...G(s)})}function hM(e,t,r,i){return new e({type:"record",keyType:t,valueType:r,...G(i)})}function _M(e,t,r,i){return new e({type:"map",keyType:t,valueType:r,...G(i)})}function gM(e,t,r){return new e({type:"set",valueType:t,...G(r)})}function bM(e,t,r){let i=Array.isArray(t)?Object.fromEntries(t.map(n=>[n,n])):t;return new e({type:"enum",entries:i,...G(r)})}function vM(e,t,r){return new e({type:"enum",entries:t,...G(r)})}function yM(e,t,r){return new e({type:"literal",values:Array.isArray(t)?t:[t],...G(r)})}function xx(e,t){return new e({type:"file",...G(t)})}function xM(e,t){return new e({type:"transform",transform:t})}function kM(e,t){return new e({type:"optional",innerType:t})}function wM(e,t){return new e({type:"nullable",innerType:t})}function EM(e,t,r){return new e({type:"default",innerType:t,get defaultValue(){return typeof r=="function"?r():r}})}function DM(e,t,r){return new e({type:"nonoptional",innerType:t,...G(r)})}function CM(e,t){return new e({type:"success",innerType:t})}function SM(e,t,r){return new e({type:"catch",innerType:t,catchValue:typeof r=="function"?r:()=>r})}function $M(e,t,r){return new e({type:"pipe",in:t,out:r})}function TM(e,t){return new e({type:"readonly",innerType:t})}function IM(e,t,r){return new e({type:"template_literal",parts:t,...G(r)})}function AM(e,t){return new e({type:"lazy",getter:t})}function PM(e,t){return new e({type:"promise",innerType:t})}function kx(e,t,r){let i=G(r);return i.abort??(i.abort=!0),new e({type:"custom",check:"custom",fn:t,...i})}function wx(e,t,r){return new e({type:"custom",check:"custom",fn:t,...G(r)})}function Ex(e,t){let{case:r,error:i,truthy:n,falsy:s}=G(t),a=n??["true","1","yes","on","y","enabled"],l=s??["false","0","no","off","n","disabled"];r!=="sensitive"&&(a=a.map(T=>typeof T=="string"?T.toLowerCase():T),l=l.map(T=>typeof T=="string"?T.toLowerCase():T));let u=new Set(a),p=new Set(l),f=e.Pipe??Ya,h=e.Boolean??Ka,_=e.String??Ui,g=e.Transform??Ja,b=new g({type:"transform",transform:(T,N)=>{let I=T;return r!=="sensitive"&&(I=I.toLowerCase()),u.has(I)?!0:p.has(I)?!1:(N.issues.push({code:"invalid_value",expected:"stringbool",values:[...u,...p],input:N.value,inst:b}),{})},error:i}),E=new f({type:"pipe",in:new _({type:"string",error:i}),out:b,error:i});return new f({type:"pipe",in:E,out:new h({type:"boolean",error:i}),error:i})}var ec=class{constructor(t){this._def=t,this.def=t}implement(t){if(typeof t!="function")throw new Error("implement() must be called with a function");let r=(...i)=>{let n=this._def.input?bu(this._def.input,i,void 0,{callee:r}):i;if(!Array.isArray(n))throw new Error("Invalid arguments schema: not an array or tuple schema.");let s=t(...n);return this._def.output?bu(this._def.output,s,void 0,{callee:r}):s};return r}implementAsync(t){if(typeof t!="function")throw new Error("implement() must be called with a function");let r=async(...i)=>{let n=this._def.input?await yu(this._def.input,i,void 0,{callee:r}):i;if(!Array.isArray(n))throw new Error("Invalid arguments schema: not an array or tuple schema.");let s=await t(...n);return this._def.output?yu(this._def.output,s,void 0,{callee:r}):s};return r}input(...t){let r=this.constructor;return Array.isArray(t[0])?new r({type:"function",input:new Vi({type:"tuple",items:t[0],rest:t[1]}),output:this._def.output}):new r({type:"function",input:t[0],output:this._def.output})}output(t){let r=this.constructor;return new r({type:"function",input:this._def.input,output:t})}};function Dx(e){return new ec({type:"function",input:Array.isArray(e?.input)?yx(Vi,e?.input):e?.input??mo(Xa,Es(ks)),output:e?.output??Es(ks)})}var ho=class{constructor(t){this.counter=0,this.metadataRegistry=t?.metadata??ln,this.target=t?.target??"draft-2020-12",this.unrepresentable=t?.unrepresentable??"throw",this.override=t?.override??(()=>{}),this.io=t?.io??"output",this.seen=new Map}process(t,r={path:[],schemaPath:[]}){var i;let n=t._zod.def,s={guid:"uuid",url:"uri",datetime:"date-time",json_string:"json-string",regex:""},a=this.seen.get(t);if(a)return a.count++,r.schemaPath.includes(t)&&(a.cycle=r.path),a.schema;let l={schema:{},count:1,cycle:void 0};this.seen.set(t,l);let u=t._zod.toJSONSchema?.();if(u)l.schema=u;else{let h={...r,schemaPath:[...r.schemaPath,t],path:r.path},_=t._zod.parent;if(_)l.ref=_,this.process(_,h),this.seen.get(_).isParent=!0;else{let g=l.schema;switch(n.type){case"string":{let b=g;b.type="string";let{minimum:E,maximum:C,format:T,patterns:N,contentEncoding:I}=t._zod.bag;if(typeof E=="number"&&(b.minLength=E),typeof C=="number"&&(b.maxLength=C),T&&(b.format=s[T]??T,b.format===""&&delete b.format),I&&(b.contentEncoding=I),N&&N.size>0){let V=[...N];V.length===1?b.pattern=V[0].source:V.length>1&&(l.schema.allOf=[...V.map(K=>({...this.target==="draft-7"?{type:"string"}:{},pattern:K.source}))])}break}case"number":{let b=g,{minimum:E,maximum:C,format:T,multipleOf:N,exclusiveMaximum:I,exclusiveMinimum:V}=t._zod.bag;typeof T=="string"&&T.includes("int")?b.type="integer":b.type="number",typeof V=="number"&&(b.exclusiveMinimum=V),typeof E=="number"&&(b.minimum=E,typeof V=="number"&&(V>=E?delete b.minimum:delete b.exclusiveMinimum)),typeof I=="number"&&(b.exclusiveMaximum=I),typeof C=="number"&&(b.maximum=C,typeof I=="number"&&(I<=C?delete b.maximum:delete b.exclusiveMaximum)),typeof N=="number"&&(b.multipleOf=N);break}case"boolean":{let b=g;b.type="boolean";break}case"bigint":{if(this.unrepresentable==="throw")throw new Error("BigInt cannot be represented in JSON Schema");break}case"symbol":{if(this.unrepresentable==="throw")throw new Error("Symbols cannot be represented in JSON Schema");break}case"undefined":{let b=g;b.type="null";break}case"null":{g.type="null";break}case"any":break;case"unknown":break;case"never":{g.not={};break}case"void":{if(this.unrepresentable==="throw")throw new Error("Void cannot be represented in JSON Schema");break}case"date":{if(this.unrepresentable==="throw")throw new Error("Date cannot be represented in JSON Schema");break}case"array":{let b=g,{minimum:E,maximum:C}=t._zod.bag;typeof E=="number"&&(b.minItems=E),typeof C=="number"&&(b.maxItems=C),b.type="array",b.items=this.process(n.element,{...h,path:[...h.path,"items"]});break}case"object":{let b=g;b.type="object",b.properties={};let E=n.shape;for(let N in E)b.properties[N]=this.process(E[N],{...h,path:[...h.path,"properties",N]});let C=new Set(Object.keys(E)),T=new Set([...C].filter(N=>{let I=n.shape[N]._zod;return this.io==="input"?I.optin===void 0:I.optout===void 0}));T.size>0&&(b.required=Array.from(T)),n.catchall?._zod.def.type==="never"?b.additionalProperties=!1:n.catchall?n.catchall&&(b.additionalProperties=this.process(n.catchall,{...h,path:[...h.path,"additionalProperties"]})):this.io==="output"&&(b.additionalProperties=!1);break}case"union":{let b=g;b.anyOf=n.options.map((E,C)=>this.process(E,{...h,path:[...h.path,"anyOf",C]}));break}case"intersection":{let b=g,E=this.process(n.left,{...h,path:[...h.path,"allOf",0]}),C=this.process(n.right,{...h,path:[...h.path,"allOf",1]}),T=I=>"allOf"in I&&Object.keys(I).length===1,N=[...T(E)?E.allOf:[E],...T(C)?C.allOf:[C]];b.allOf=N;break}case"tuple":{let b=g;b.type="array";let E=n.items.map((N,I)=>this.process(N,{...h,path:[...h.path,"prefixItems",I]}));if(this.target==="draft-2020-12"?b.prefixItems=E:b.items=E,n.rest){let N=this.process(n.rest,{...h,path:[...h.path,"items"]});this.target==="draft-2020-12"?b.items=N:b.additionalItems=N}n.rest&&(b.items=this.process(n.rest,{...h,path:[...h.path,"items"]}));let{minimum:C,maximum:T}=t._zod.bag;typeof C=="number"&&(b.minItems=C),typeof T=="number"&&(b.maxItems=T);break}case"record":{let b=g;b.type="object",b.propertyNames=this.process(n.keyType,{...h,path:[...h.path,"propertyNames"]}),b.additionalProperties=this.process(n.valueType,{...h,path:[...h.path,"additionalProperties"]});break}case"map":{if(this.unrepresentable==="throw")throw new Error("Map cannot be represented in JSON Schema");break}case"set":{if(this.unrepresentable==="throw")throw new Error("Set cannot be represented in JSON Schema");break}case"enum":{let b=g,E=ja(n.entries);E.every(C=>typeof C=="number")&&(b.type="number"),E.every(C=>typeof C=="string")&&(b.type="string"),b.enum=E;break}case"literal":{let b=g,E=[];for(let C of n.values)if(C===void 0){if(this.unrepresentable==="throw")throw new Error("Literal `undefined` cannot be represented in JSON Schema")}else if(typeof C=="bigint"){if(this.unrepresentable==="throw")throw new Error("BigInt literals cannot be represented in JSON Schema");E.push(Number(C))}else E.push(C);if(E.length!==0)if(E.length===1){let C=E[0];b.type=C===null?"null":typeof C,b.const=C}else E.every(C=>typeof C=="number")&&(b.type="number"),E.every(C=>typeof C=="string")&&(b.type="string"),E.every(C=>typeof C=="boolean")&&(b.type="string"),E.every(C=>C===null)&&(b.type="null"),b.enum=E;break}case"file":{let b=g,E={type:"string",format:"binary",contentEncoding:"binary"},{minimum:C,maximum:T,mime:N}=t._zod.bag;C!==void 0&&(E.minLength=C),T!==void 0&&(E.maxLength=T),N?N.length===1?(E.contentMediaType=N[0],Object.assign(b,E)):b.anyOf=N.map(I=>({...E,contentMediaType:I})):Object.assign(b,E);break}case"transform":{if(this.unrepresentable==="throw")throw new Error("Transforms cannot be represented in JSON Schema");break}case"nullable":{let b=this.process(n.innerType,h);g.anyOf=[b,{type:"null"}];break}case"nonoptional":{this.process(n.innerType,h),l.ref=n.innerType;break}case"success":{let b=g;b.type="boolean";break}case"default":{this.process(n.innerType,h),l.ref=n.innerType,g.default=JSON.parse(JSON.stringify(n.defaultValue));break}case"prefault":{this.process(n.innerType,h),l.ref=n.innerType,this.io==="input"&&(g._prefault=JSON.parse(JSON.stringify(n.defaultValue)));break}case"catch":{this.process(n.innerType,h),l.ref=n.innerType;let b;try{b=n.catchValue(void 0)}catch{throw new Error("Dynamic catch values are not supported in JSON Schema")}g.default=b;break}case"nan":{if(this.unrepresentable==="throw")throw new Error("NaN cannot be represented in JSON Schema");break}case"template_literal":{let b=g,E=t._zod.pattern;if(!E)throw new Error("Pattern not found in template literal");b.type="string",b.pattern=E.source;break}case"pipe":{let b=this.io==="input"?n.in._zod.def.type==="transform"?n.out:n.in:n.out;this.process(b,h),l.ref=b;break}case"readonly":{this.process(n.innerType,h),l.ref=n.innerType,g.readOnly=!0;break}case"promise":{this.process(n.innerType,h),l.ref=n.innerType;break}case"optional":{this.process(n.innerType,h),l.ref=n.innerType;break}case"lazy":{let b=t._zod.innerType;this.process(b,h),l.ref=b;break}case"custom":{if(this.unrepresentable==="throw")throw new Error("Custom types cannot be represented in JSON Schema");break}default:}}}let p=this.metadataRegistry.get(t);return p&&Object.assign(l.schema,p),this.io==="input"&&Ct(t)&&(delete l.schema.examples,delete l.schema.default),this.io==="input"&&l.schema._prefault&&((i=l.schema).default??(i.default=l.schema._prefault)),delete l.schema._prefault,this.seen.get(t).schema}emit(t,r){let i={cycles:r?.cycles??"ref",reused:r?.reused??"inline",external:r?.external??void 0},n=this.seen.get(t);if(!n)throw new Error("Unprocessed schema. This is a bug in Zod.");let s=f=>{let h=this.target==="draft-2020-12"?"$defs":"definitions";if(i.external){let E=i.external.registry.get(f[0])?.id;if(E)return{ref:i.external.uri(E)};let C=f[1].defId??f[1].schema.id??`schema${this.counter++}`;return f[1].defId=C,{defId:C,ref:`${i.external.uri("__shared")}#/${h}/${C}`}}if(f[1]===n)return{ref:"#"};let g=`#/${h}/`,b=f[1].schema.id??`__schema${this.counter++}`;return{defId:b,ref:g+b}},a=f=>{if(f[1].schema.$ref)return;let h=f[1],{ref:_,defId:g}=s(f);h.def={...h.schema},g&&(h.defId=g);let b=h.schema;for(let E in b)delete b[E];b.$ref=_};for(let f of this.seen.entries()){let h=f[1];if(t===f[0]){a(f);continue}if(i.external){let g=i.external.registry.get(f[0])?.id;if(t!==f[0]&&g){a(f);continue}}if(this.metadataRegistry.get(f[0])?.id){a(f);continue}if(h.cycle){if(i.cycles==="throw")throw new Error(`Cycle detected: #/${h.cycle?.join("/")}/<root>

Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`);i.cycles==="ref"&&a(f);continue}if(h.count>1&&i.reused==="ref"){a(f);continue}}let l=(f,h)=>{let _=this.seen.get(f),g=_.def??_.schema,b={...g};if(_.ref===null)return;let E=_.ref;if(_.ref=null,E){l(E,h);let C=this.seen.get(E).schema;C.$ref&&h.target==="draft-7"?(g.allOf=g.allOf??[],g.allOf.push(C)):(Object.assign(g,C),Object.assign(g,b))}_.isParent||this.override({zodSchema:f,jsonSchema:g})};for(let f of[...this.seen.entries()].reverse())l(f[0],{target:this.target});let u={};this.target==="draft-2020-12"?u.$schema="https://json-schema.org/draft/2020-12/schema":this.target==="draft-7"?u.$schema="http://json-schema.org/draft-07/schema#":console.warn(`Invalid target: ${this.target}`),Object.assign(u,n.def);let p=i.external?.defs??{};for(let f of this.seen.entries()){let h=f[1];h.def&&h.defId&&(p[h.defId]=h.def)}!i.external&&Object.keys(p).length>0&&(this.target==="draft-2020-12"?u.$defs=p:u.definitions=p);try{return JSON.parse(JSON.stringify(u))}catch{throw new Error("Error converting schema to JSON.")}}};function Cx(e,t){if(e instanceof ws){let i=new ho(t),n={};for(let l of e._idmap.entries()){let[u,p]=l;i.process(p)}let s={},a={registry:e,uri:t?.uri||(l=>l),defs:n};for(let l of e._idmap.entries()){let[u,p]=l;s[u]=i.emit(p,{...t,external:a})}if(Object.keys(n).length>0){let l=i.target==="draft-2020-12"?"$defs":"definitions";s.__shared={[l]:n}}return{schemas:s}}let r=new ho(t);return r.process(e),r.emit(e,t)}function Ct(e,t){let r=t??{seen:new Set};if(r.seen.has(e))return!1;r.seen.add(e);let n=e._zod.def;switch(n.type){case"string":case"number":case"bigint":case"boolean":case"date":case"symbol":case"undefined":case"null":case"any":case"unknown":case"never":case"void":case"literal":case"enum":case"nan":case"file":case"template_literal":return!1;case"array":return Ct(n.element,r);case"object":{for(let s in n.shape)if(Ct(n.shape[s],r))return!0;return!1}case"union":{for(let s of n.options)if(Ct(s,r))return!0;return!1}case"intersection":return Ct(n.left,r)||Ct(n.right,r);case"tuple":{for(let s of n.items)if(Ct(s,r))return!0;return!!(n.rest&&Ct(n.rest,r))}case"record":return Ct(n.keyType,r)||Ct(n.valueType,r);case"map":return Ct(n.keyType,r)||Ct(n.valueType,r);case"set":return Ct(n.valueType,r);case"promise":case"optional":case"nonoptional":case"nullable":case"readonly":return Ct(n.innerType,r);case"lazy":return Ct(n.getter(),r);case"default":return Ct(n.innerType,r);case"prefault":return Ct(n.innerType,r);case"custom":return!1;case"transform":return!0;case"pipe":return Ct(n.in,r)||Ct(n.out,r);case"success":return!1;case"catch":return!1;default:}throw new Error(`Unknown schema type: ${n.type}`)}var hS={};var sc={};An(sc,{ZodISODate:()=>rc,ZodISODateTime:()=>tc,ZodISODuration:()=>ic,ZodISOTime:()=>nc,date:()=>$x,datetime:()=>Sx,duration:()=>Ix,time:()=>Tx});var tc=A("ZodISODateTime",(e,t)=>{Gv.init(e,t),st.init(e,t)});function Sx(e){return Uy(tc,e)}var rc=A("ZodISODate",(e,t)=>{Kv.init(e,t),st.init(e,t)});function $x(e){return Vy(rc,e)}var nc=A("ZodISOTime",(e,t)=>{Xv.init(e,t),st.init(e,t)});function Tx(e){return Hy(nc,e)}var ic=A("ZodISODuration",(e,t)=>{Jv.init(e,t),st.init(e,t)});function Ix(e){return Zy(ic,e)}var gS=(e,t)=>{Ha.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:r=>Wa(e,r)},flatten:{value:r=>Za(e,r)},addIssue:{value:r=>e.issues.push(r)},addIssues:{value:r=>e.issues.push(...r)},isEmpty:{get(){return e.issues.length===0}}})},NM=A("ZodError",gS),$s=A("ZodError",gS,{Parent:Error});var Ax=gu($s),Px=vu($s),Rx=xu($s),Nx=ku($s);var Pe=A("ZodType",(e,t)=>(we.init(e,t),e.def=t,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(i=>typeof i=="function"?{_zod:{check:i,def:{check:"custom"},onattach:[]}}:i)]}),e.clone=(r,i)=>yr(e,r,i),e.brand=()=>e,e.register=(r,i)=>(r.add(e,i),e),e.parse=(r,i)=>Ax(e,r,i,{callee:e.parse}),e.safeParse=(r,i)=>Rx(e,r,i),e.parseAsync=async(r,i)=>Px(e,r,i,{callee:e.parseAsync}),e.safeParseAsync=async(r,i)=>Nx(e,r,i),e.spa=e.safeParseAsync,e.refine=(r,i)=>e.check(n$(r,i)),e.superRefine=r=>e.check(i$(r)),e.overwrite=r=>e.check(On(r)),e.optional=()=>lc(e),e.nullable=()=>uc(e),e.nullish=()=>lc(uc(e)),e.nonoptional=r=>HS(e,r),e.array=()=>r0(e),e.or=r=>mc([e,r]),e.and=r=>AS(e,r),e.transform=r=>cc(e,a0(r)),e.default=r=>zS(e,r),e.prefault=r=>VS(e,r),e.catch=r=>GS(e,r),e.pipe=r=>cc(e,r),e.readonly=()=>JS(e),e.describe=r=>{let i=e.clone();return ln.add(i,{description:r}),i},Object.defineProperty(e,"description",{get(){return ln.get(e)?.description},configurable:!0}),e.meta=(...r)=>{if(r.length===0)return ln.get(e);let i=e.clone();return ln.add(i,r[0]),i},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),Fx=A("_ZodString",(e,t)=>{Ui.init(e,t),Pe.init(e,t);let r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...i)=>e.check(ro(...i)),e.includes=(...i)=>e.check(so(...i)),e.startsWith=(...i)=>e.check(ao(...i)),e.endsWith=(...i)=>e.check(oo(...i)),e.min=(...i)=>e.check(si(...i)),e.max=(...i)=>e.check(Cs(...i)),e.length=(...i)=>e.check(Ss(...i)),e.nonempty=(...i)=>e.check(si(1,...i)),e.lowercase=i=>e.check(no(i)),e.uppercase=i=>e.check(io(i)),e.trim=()=>e.check(co()),e.normalize=(...i)=>e.check(uo(...i)),e.toLowerCase=()=>e.check(po()),e.toUpperCase=()=>e.check(fo())}),go=A("ZodString",(e,t)=>{Ui.init(e,t),Fx.init(e,t),e.email=r=>e.check(Ru(jx,r)),e.url=r=>e.check(ju(qx,r)),e.jwt=r=>e.check(Qu(e0,r)),e.emoji=r=>e.check(qu(Mx,r)),e.guid=r=>e.check(eo(ac,r)),e.uuid=r=>e.check(Nu(Fn,r)),e.uuidv4=r=>e.check(Ou(Fn,r)),e.uuidv6=r=>e.check(Lu(Fn,r)),e.uuidv7=r=>e.check(Fu(Fn,r)),e.nanoid=r=>e.check(Mu(Bx,r)),e.guid=r=>e.check(eo(ac,r)),e.cuid=r=>e.check(Bu(zx,r)),e.cuid2=r=>e.check(zu(Ux,r)),e.ulid=r=>e.check(Uu(Vx,r)),e.base64=r=>e.check(Xu(Jx,r)),e.base64url=r=>e.check(Ju(Yx,r)),e.xid=r=>e.check(Vu(Hx,r)),e.ksuid=r=>e.check(Hu(Zx,r)),e.ipv4=r=>e.check(Zu(Wx,r)),e.ipv6=r=>e.check(Wu(Gx,r)),e.cidrv4=r=>e.check(Gu(Kx,r)),e.cidrv6=r=>e.check(Ku(Xx,r)),e.e164=r=>e.check(Yu(Qx,r)),e.datetime=r=>e.check(Sx(r)),e.date=r=>e.check($x(r)),e.time=r=>e.check(Tx(r)),e.duration=r=>e.check(Ix(r))});function Ox(e){return My(go,e)}var st=A("ZodStringFormat",(e,t)=>{tt.init(e,t),Fx.init(e,t)}),jx=A("ZodEmail",(e,t)=>{qv.init(e,t),st.init(e,t)});function LM(e){return Ru(jx,e)}var ac=A("ZodGUID",(e,t)=>{Fv.init(e,t),st.init(e,t)});function FM(e){return eo(ac,e)}var Fn=A("ZodUUID",(e,t)=>{jv.init(e,t),st.init(e,t)});function jM(e){return Nu(Fn,e)}function qM(e){return Ou(Fn,e)}function MM(e){return Lu(Fn,e)}function BM(e){return Fu(Fn,e)}var qx=A("ZodURL",(e,t)=>{Mv.init(e,t),st.init(e,t)});function zM(e){return ju(qx,e)}var Mx=A("ZodEmoji",(e,t)=>{Bv.init(e,t),st.init(e,t)});function UM(e){return qu(Mx,e)}var Bx=A("ZodNanoID",(e,t)=>{zv.init(e,t),st.init(e,t)});function VM(e){return Mu(Bx,e)}var zx=A("ZodCUID",(e,t)=>{Uv.init(e,t),st.init(e,t)});function HM(e){return Bu(zx,e)}var Ux=A("ZodCUID2",(e,t)=>{Vv.init(e,t),st.init(e,t)});function ZM(e){return zu(Ux,e)}var Vx=A("ZodULID",(e,t)=>{Hv.init(e,t),st.init(e,t)});function WM(e){return Uu(Vx,e)}var Hx=A("ZodXID",(e,t)=>{Zv.init(e,t),st.init(e,t)});function GM(e){return Vu(Hx,e)}var Zx=A("ZodKSUID",(e,t)=>{Wv.init(e,t),st.init(e,t)});function KM(e){return Hu(Zx,e)}var Wx=A("ZodIPv4",(e,t)=>{Yv.init(e,t),st.init(e,t)});function XM(e){return Zu(Wx,e)}var Gx=A("ZodIPv6",(e,t)=>{Qv.init(e,t),st.init(e,t)});function JM(e){return Wu(Gx,e)}var Kx=A("ZodCIDRv4",(e,t)=>{ey.init(e,t),st.init(e,t)});function YM(e){return Gu(Kx,e)}var Xx=A("ZodCIDRv6",(e,t)=>{ty.init(e,t),st.init(e,t)});function QM(e){return Ku(Xx,e)}var Jx=A("ZodBase64",(e,t)=>{ny.init(e,t),st.init(e,t)});function e7(e){return Xu(Jx,e)}var Yx=A("ZodBase64URL",(e,t)=>{iy.init(e,t),st.init(e,t)});function t7(e){return Ju(Yx,e)}var Qx=A("ZodE164",(e,t)=>{sy.init(e,t),st.init(e,t)});function r7(e){return Yu(Qx,e)}var e0=A("ZodJWT",(e,t)=>{ay.init(e,t),st.init(e,t)});function n7(e){return Qu(e0,e)}var bo=A("ZodNumber",(e,t)=>{$u.init(e,t),Pe.init(e,t),e.gt=(i,n)=>e.check(Nn(i,n)),e.gte=(i,n)=>e.check(or(i,n)),e.min=(i,n)=>e.check(or(i,n)),e.lt=(i,n)=>e.check(Rn(i,n)),e.lte=(i,n)=>e.check(Pr(i,n)),e.max=(i,n)=>e.check(Pr(i,n)),e.int=i=>e.check(Lx(i)),e.safe=i=>e.check(Lx(i)),e.positive=i=>e.check(Nn(0,i)),e.nonnegative=i=>e.check(or(0,i)),e.negative=i=>e.check(Rn(0,i)),e.nonpositive=i=>e.check(Pr(0,i)),e.multipleOf=(i,n)=>e.check(Hi(i,n)),e.step=(i,n)=>e.check(Hi(i,n)),e.finite=()=>e;let r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function bS(e){return Wy(bo,e)}var Ts=A("ZodNumberFormat",(e,t)=>{oy.init(e,t),bo.init(e,t)});function Lx(e){return Ky(Ts,e)}function i7(e){return Xy(Ts,e)}function s7(e){return Jy(Ts,e)}function a7(e){return Yy(Ts,e)}function o7(e){return Qy(Ts,e)}var vo=A("ZodBoolean",(e,t)=>{Ka.init(e,t),Pe.init(e,t)});function vS(e){return ex(vo,e)}var yo=A("ZodBigInt",(e,t)=>{Tu.init(e,t),Pe.init(e,t),e.gte=(i,n)=>e.check(or(i,n)),e.min=(i,n)=>e.check(or(i,n)),e.gt=(i,n)=>e.check(Nn(i,n)),e.gte=(i,n)=>e.check(or(i,n)),e.min=(i,n)=>e.check(or(i,n)),e.lt=(i,n)=>e.check(Rn(i,n)),e.lte=(i,n)=>e.check(Pr(i,n)),e.max=(i,n)=>e.check(Pr(i,n)),e.positive=i=>e.check(Nn(BigInt(0),i)),e.negative=i=>e.check(Rn(BigInt(0),i)),e.nonpositive=i=>e.check(Pr(BigInt(0),i)),e.nonnegative=i=>e.check(or(BigInt(0),i)),e.multipleOf=(i,n)=>e.check(Hi(i,n));let r=e._zod.bag;e.minValue=r.minimum??null,e.maxValue=r.maximum??null,e.format=r.format??null});function l7(e){return rx(yo,e)}var t0=A("ZodBigIntFormat",(e,t)=>{ly.init(e,t),yo.init(e,t)});function u7(e){return ix(t0,e)}function c7(e){return sx(t0,e)}var yS=A("ZodSymbol",(e,t)=>{uy.init(e,t),Pe.init(e,t)});function p7(e){return ax(yS,e)}var xS=A("ZodUndefined",(e,t)=>{cy.init(e,t),Pe.init(e,t)});function d7(e){return ox(xS,e)}var kS=A("ZodNull",(e,t)=>{py.init(e,t),Pe.init(e,t)});function wS(e){return lx(kS,e)}var ES=A("ZodAny",(e,t)=>{dy.init(e,t),Pe.init(e,t)});function f7(){return ux(ES)}var DS=A("ZodUnknown",(e,t)=>{ks.init(e,t),Pe.init(e,t)});function oc(){return Es(DS)}var CS=A("ZodNever",(e,t)=>{fy.init(e,t),Pe.init(e,t)});function pc(e){return cx(CS,e)}var SS=A("ZodVoid",(e,t)=>{my.init(e,t),Pe.init(e,t)});function m7(e){return px(SS,e)}var dc=A("ZodDate",(e,t)=>{hy.init(e,t),Pe.init(e,t),e.min=(i,n)=>e.check(or(i,n)),e.max=(i,n)=>e.check(Pr(i,n));let r=e._zod.bag;e.minDate=r.minimum?new Date(r.minimum):null,e.maxDate=r.maximum?new Date(r.maximum):null});function h7(e){return dx(dc,e)}var $S=A("ZodArray",(e,t)=>{Xa.init(e,t),Pe.init(e,t),e.element=t.element,e.min=(r,i)=>e.check(si(r,i)),e.nonempty=r=>e.check(si(1,r)),e.max=(r,i)=>e.check(Cs(r,i)),e.length=(r,i)=>e.check(Ss(r,i)),e.unwrap=()=>e.element});function r0(e,t){return mo($S,e,t)}function _7(e){let t=e._zod.def.shape;return jS(Object.keys(t))}var fc=A("ZodObject",(e,t)=>{_y.init(e,t),Pe.init(e,t),Y.defineLazy(e,"shape",()=>Object.fromEntries(Object.entries(e._zod.def.shape))),e.keyof=()=>LS(Object.keys(e._zod.def.shape)),e.catchall=r=>e.clone({...e._zod.def,catchall:r}),e.passthrough=()=>e.clone({...e._zod.def,catchall:oc()}),e.loose=()=>e.clone({...e._zod.def,catchall:oc()}),e.strict=()=>e.clone({...e._zod.def,catchall:pc()}),e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=r=>Y.extend(e,r),e.merge=r=>Y.merge(e,r),e.pick=r=>Y.pick(e,r),e.omit=r=>Y.omit(e,r),e.partial=(...r)=>Y.partial(o0,e,r[0]),e.required=(...r)=>Y.required(l0,e,r[0])});function g7(e,t){let r={type:"object",get shape(){return Y.assignProp(this,"shape",{...e}),this.shape},...Y.normalizeParams(t)};return new fc(r)}function b7(e,t){return new fc({type:"object",get shape(){return Y.assignProp(this,"shape",{...e}),this.shape},catchall:pc(),...Y.normalizeParams(t)})}function v7(e,t){return new fc({type:"object",get shape(){return Y.assignProp(this,"shape",{...e}),this.shape},catchall:oc(),...Y.normalizeParams(t)})}var n0=A("ZodUnion",(e,t)=>{Iu.init(e,t),Pe.init(e,t),e.options=t.options});function mc(e,t){return new n0({type:"union",options:e,...Y.normalizeParams(t)})}var TS=A("ZodDiscriminatedUnion",(e,t)=>{n0.init(e,t),gy.init(e,t)});function y7(e,t,r){return new TS({type:"union",options:t,discriminator:e,...Y.normalizeParams(r)})}var IS=A("ZodIntersection",(e,t)=>{by.init(e,t),Pe.init(e,t)});function AS(e,t){return new IS({type:"intersection",left:e,right:t})}var PS=A("ZodTuple",(e,t)=>{Vi.init(e,t),Pe.init(e,t),e.rest=r=>e.clone({...e._zod.def,rest:r})});function x7(e,t,r){let i=t instanceof we,n=i?r:t,s=i?t:null;return new PS({type:"tuple",items:e,rest:s,...Y.normalizeParams(n)})}var i0=A("ZodRecord",(e,t)=>{vy.init(e,t),Pe.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function RS(e,t,r){return new i0({type:"record",keyType:e,valueType:t,...Y.normalizeParams(r)})}function k7(e,t,r){return new i0({type:"record",keyType:mc([e,pc()]),valueType:t,...Y.normalizeParams(r)})}var NS=A("ZodMap",(e,t)=>{yy.init(e,t),Pe.init(e,t),e.keyType=t.keyType,e.valueType=t.valueType});function w7(e,t,r){return new NS({type:"map",keyType:e,valueType:t,...Y.normalizeParams(r)})}var OS=A("ZodSet",(e,t)=>{xy.init(e,t),Pe.init(e,t),e.min=(...r)=>e.check(Zi(...r)),e.nonempty=r=>e.check(Zi(1,r)),e.max=(...r)=>e.check(Ds(...r)),e.size=(...r)=>e.check(to(...r))});function E7(e,t){return new OS({type:"set",valueType:e,...Y.normalizeParams(t)})}var _o=A("ZodEnum",(e,t)=>{ky.init(e,t),Pe.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);let r=new Set(Object.keys(t.entries));e.extract=(i,n)=>{let s={};for(let a of i)if(r.has(a))s[a]=t.entries[a];else throw new Error(`Key ${a} not found in enum`);return new _o({...t,checks:[],...Y.normalizeParams(n),entries:s})},e.exclude=(i,n)=>{let s={...t.entries};for(let a of i)if(r.has(a))delete s[a];else throw new Error(`Key ${a} not found in enum`);return new _o({...t,checks:[],...Y.normalizeParams(n),entries:s})}});function LS(e,t){let r=Array.isArray(e)?Object.fromEntries(e.map(i=>[i,i])):e;return new _o({type:"enum",entries:r,...Y.normalizeParams(t)})}function D7(e,t){return new _o({type:"enum",entries:e,...Y.normalizeParams(t)})}var FS=A("ZodLiteral",(e,t)=>{wy.init(e,t),Pe.init(e,t),e.values=new Set(t.values),Object.defineProperty(e,"value",{get(){if(t.values.length>1)throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");return t.values[0]}})});function jS(e,t){return new FS({type:"literal",values:Array.isArray(e)?e:[e],...Y.normalizeParams(t)})}var qS=A("ZodFile",(e,t)=>{Ey.init(e,t),Pe.init(e,t),e.min=(r,i)=>e.check(Zi(r,i)),e.max=(r,i)=>e.check(Ds(r,i)),e.mime=(r,i)=>e.check(lo(Array.isArray(r)?r:[r],i))});function C7(e){return xx(qS,e)}var s0=A("ZodTransform",(e,t)=>{Ja.init(e,t),Pe.init(e,t),e._zod.parse=(r,i)=>{r.addIssue=s=>{if(typeof s=="string")r.issues.push(Y.issue(s,r.value,t));else{let a=s;a.fatal&&(a.continue=!1),a.code??(a.code="custom"),a.input??(a.input=r.value),a.inst??(a.inst=e),a.continue??(a.continue=!0),r.issues.push(Y.issue(a))}};let n=t.transform(r.value,r);return n instanceof Promise?n.then(s=>(r.value=s,r)):(r.value=n,r)}});function a0(e){return new s0({type:"transform",transform:e})}var o0=A("ZodOptional",(e,t)=>{Dy.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType});function lc(e){return new o0({type:"optional",innerType:e})}var MS=A("ZodNullable",(e,t)=>{Cy.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType});function uc(e){return new MS({type:"nullable",innerType:e})}function S7(e){return lc(uc(e))}var BS=A("ZodDefault",(e,t)=>{Sy.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function zS(e,t){return new BS({type:"default",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var US=A("ZodPrefault",(e,t)=>{$y.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType});function VS(e,t){return new US({type:"prefault",innerType:e,get defaultValue(){return typeof t=="function"?t():t}})}var l0=A("ZodNonOptional",(e,t)=>{Ty.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType});function HS(e,t){return new l0({type:"nonoptional",innerType:e,...Y.normalizeParams(t)})}var ZS=A("ZodSuccess",(e,t)=>{Iy.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType});function $7(e){return new ZS({type:"success",innerType:e})}var WS=A("ZodCatch",(e,t)=>{Ay.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function GS(e,t){return new WS({type:"catch",innerType:e,catchValue:typeof t=="function"?t:()=>t})}var KS=A("ZodNaN",(e,t)=>{Py.init(e,t),Pe.init(e,t)});function T7(e){return mx(KS,e)}var u0=A("ZodPipe",(e,t)=>{Ya.init(e,t),Pe.init(e,t),e.in=t.in,e.out=t.out});function cc(e,t){return new u0({type:"pipe",in:e,out:t})}var XS=A("ZodReadonly",(e,t)=>{Ry.init(e,t),Pe.init(e,t)});function JS(e){return new XS({type:"readonly",innerType:e})}var YS=A("ZodTemplateLiteral",(e,t)=>{Ny.init(e,t),Pe.init(e,t)});function I7(e,t){return new YS({type:"template_literal",parts:e,...Y.normalizeParams(t)})}var QS=A("ZodLazy",(e,t)=>{Ly.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.getter()});function e$(e){return new QS({type:"lazy",getter:e})}var t$=A("ZodPromise",(e,t)=>{Oy.init(e,t),Pe.init(e,t),e.unwrap=()=>e._zod.def.innerType});function A7(e){return new t$({type:"promise",innerType:e})}var hc=A("ZodCustom",(e,t)=>{Fy.init(e,t),Pe.init(e,t)});function r$(e,t){let r=new ht({check:"custom",...Y.normalizeParams(t)});return r._zod.check=e,r}function P7(e,t){return kx(hc,e??(()=>!0),t)}function n$(e,t={}){return wx(hc,e,t)}function i$(e,t){let r=r$(i=>(i.addIssue=n=>{if(typeof n=="string")i.issues.push(Y.issue(n,i.value,r._zod.def));else{let s=n;s.fatal&&(s.continue=!1),s.code??(s.code="custom"),s.input??(s.input=i.value),s.inst??(s.inst=r),s.continue??(s.continue=!r._zod.def.abort),i.issues.push(Y.issue(s))}},e(i.value,i)),t);return r}function R7(e,t={error:`Input not instance of ${e.name}`}){let r=new hc({type:"custom",check:"custom",fn:i=>i instanceof e,abort:!0,...Y.normalizeParams(t)});return r._zod.bag.Class=e,r}var N7=(...e)=>Ex({Pipe:u0,Boolean:vo,String:go,Transform:s0},...e);function O7(e){let t=e$(()=>mc([Ox(e),bS(),vS(),wS(),r0(t),RS(Ox(),t)]));return t}function L7(e,t){return cc(a0(e),t)}var F7={invalid_type:"invalid_type",too_big:"too_big",too_small:"too_small",invalid_format:"invalid_format",not_multiple_of:"not_multiple_of",unrecognized_keys:"unrecognized_keys",invalid_union:"invalid_union",invalid_key:"invalid_key",invalid_element:"invalid_element",invalid_value:"invalid_value",custom:"custom"},j7=Object.freeze({status:"aborted"}),q7=j7;function M7(e){xt({customError:e})}function B7(){return xt().customError}var c0={};An(c0,{bigint:()=>H7,boolean:()=>V7,date:()=>Z7,number:()=>U7,string:()=>z7});function z7(e){return By(go,e)}function U7(e){return Gy(bo,e)}function V7(e){return tx(vo,e)}function H7(e){return nx(yo,e)}function Z7(e){return fx(dc,e)}xt(Au());import{Command as Pme}from"commander";import wc from"process";var jt=it(f0(),1),b$=it(vr(),1);import{stdin as _$,stdout as g$}from"process";import*as oi from"readline";import X7 from"readline";import{ReadStream as a$,WriteStream as J7}from"tty";function Y7({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?(?:\\u0007|\\u001B\\u005C|\\u009C))","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}var Q7=Y7();function v$(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Q7,"")}function y$(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var x$={exports:{}};(function(e){var t={};e.exports=t,t.eastAsianWidth=function(i){var n=i.charCodeAt(0),s=i.length==2?i.charCodeAt(1):0,a=n;return 55296<=n&&n<=56319&&56320<=s&&s<=57343&&(n&=1023,s&=1023,a=n<<10|s,a+=65536),a==12288||65281<=a&&a<=65376||65504<=a&&a<=65510?"F":a==8361||65377<=a&&a<=65470||65474<=a&&a<=65479||65482<=a&&a<=65487||65490<=a&&a<=65495||65498<=a&&a<=65500||65512<=a&&a<=65518?"H":4352<=a&&a<=4447||4515<=a&&a<=4519||4602<=a&&a<=4607||9001<=a&&a<=9002||11904<=a&&a<=11929||11931<=a&&a<=12019||12032<=a&&a<=12245||12272<=a&&a<=12283||12289<=a&&a<=12350||12353<=a&&a<=12438||12441<=a&&a<=12543||12549<=a&&a<=12589||12593<=a&&a<=12686||12688<=a&&a<=12730||12736<=a&&a<=12771||12784<=a&&a<=12830||12832<=a&&a<=12871||12880<=a&&a<=13054||13056<=a&&a<=19903||19968<=a&&a<=42124||42128<=a&&a<=42182||43360<=a&&a<=43388||44032<=a&&a<=55203||55216<=a&&a<=55238||55243<=a&&a<=55291||63744<=a&&a<=64255||65040<=a&&a<=65049||65072<=a&&a<=65106||65108<=a&&a<=65126||65128<=a&&a<=65131||110592<=a&&a<=110593||127488<=a&&a<=127490||127504<=a&&a<=127546||127552<=a&&a<=127560||127568<=a&&a<=127569||131072<=a&&a<=194367||177984<=a&&a<=196605||196608<=a&&a<=262141?"W":32<=a&&a<=126||162<=a&&a<=163||165<=a&&a<=166||a==172||a==175||10214<=a&&a<=10221||10629<=a&&a<=10630?"Na":a==161||a==164||167<=a&&a<=168||a==170||173<=a&&a<=174||176<=a&&a<=180||182<=a&&a<=186||188<=a&&a<=191||a==198||a==208||215<=a&&a<=216||222<=a&&a<=225||a==230||232<=a&&a<=234||236<=a&&a<=237||a==240||242<=a&&a<=243||247<=a&&a<=250||a==252||a==254||a==257||a==273||a==275||a==283||294<=a&&a<=295||a==299||305<=a&&a<=307||a==312||319<=a&&a<=322||a==324||328<=a&&a<=331||a==333||338<=a&&a<=339||358<=a&&a<=359||a==363||a==462||a==464||a==466||a==468||a==470||a==472||a==474||a==476||a==593||a==609||a==708||a==711||713<=a&&a<=715||a==717||a==720||728<=a&&a<=731||a==733||a==735||768<=a&&a<=879||913<=a&&a<=929||931<=a&&a<=937||945<=a&&a<=961||963<=a&&a<=969||a==1025||1040<=a&&a<=1103||a==1105||a==8208||8211<=a&&a<=8214||8216<=a&&a<=8217||8220<=a&&a<=8221||8224<=a&&a<=8226||8228<=a&&a<=8231||a==8240||8242<=a&&a<=8243||a==8245||a==8251||a==8254||a==8308||a==8319||8321<=a&&a<=8324||a==8364||a==8451||a==8453||a==8457||a==8467||a==8470||8481<=a&&a<=8482||a==8486||a==8491||8531<=a&&a<=8532||8539<=a&&a<=8542||8544<=a&&a<=8555||8560<=a&&a<=8569||a==8585||8592<=a&&a<=8601||8632<=a&&a<=8633||a==8658||a==8660||a==8679||a==8704||8706<=a&&a<=8707||8711<=a&&a<=8712||a==8715||a==8719||a==8721||a==8725||a==8730||8733<=a&&a<=8736||a==8739||a==8741||8743<=a&&a<=8748||a==8750||8756<=a&&a<=8759||8764<=a&&a<=8765||a==8776||a==8780||a==8786||8800<=a&&a<=8801||8804<=a&&a<=8807||8810<=a&&a<=8811||8814<=a&&a<=8815||8834<=a&&a<=8835||8838<=a&&a<=8839||a==8853||a==8857||a==8869||a==8895||a==8978||9312<=a&&a<=9449||9451<=a&&a<=9547||9552<=a&&a<=9587||9600<=a&&a<=9615||9618<=a&&a<=9621||9632<=a&&a<=9633||9635<=a&&a<=9641||9650<=a&&a<=9651||9654<=a&&a<=9655||9660<=a&&a<=9661||9664<=a&&a<=9665||9670<=a&&a<=9672||a==9675||9678<=a&&a<=9681||9698<=a&&a<=9701||a==9711||9733<=a&&a<=9734||a==9737||9742<=a&&a<=9743||9748<=a&&a<=9749||a==9756||a==9758||a==9792||a==9794||9824<=a&&a<=9825||9827<=a&&a<=9829||9831<=a&&a<=9834||9836<=a&&a<=9837||a==9839||9886<=a&&a<=9887||9918<=a&&a<=9919||9924<=a&&a<=9933||9935<=a&&a<=9953||a==9955||9960<=a&&a<=9983||a==10045||a==10071||10102<=a&&a<=10111||11093<=a&&a<=11097||12872<=a&&a<=12879||57344<=a&&a<=63743||65024<=a&&a<=65039||a==65533||127232<=a&&a<=127242||127248<=a&&a<=127277||127280<=a&&a<=127337||127344<=a&&a<=127386||917760<=a&&a<=917999||983040<=a&&a<=1048573||1048576<=a&&a<=1114109?"A":"N"},t.characterLength=function(i){var n=this.eastAsianWidth(i);return n=="F"||n=="W"||n=="A"?2:1};function r(i){return i.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]|[^\uD800-\uDFFF]/g)||[]}t.length=function(i){for(var n=r(i),s=0,a=0;a<n.length;a++)s=s+this.characterLength(n[a]);return s},t.slice=function(i,n,s){textLen=t.length(i),n=n||0,s=s||1,n<0&&(n=textLen+n),s<0&&(s=textLen+s);for(var a="",l=0,u=r(i),p=0;p<u.length;p++){var f=u[p],h=t.length(f);if(l>=n-(h==2?1:0))if(l+h<=s)a+=f;else break;l+=h}return a}})(x$);var e5=x$.exports,t5=y$(e5),r5=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g},n5=y$(r5);function ko(e,t={}){if(typeof e!="string"||e.length===0||(t={ambiguousIsNarrow:!0,...t},e=v$(e),e.length===0))return 0;e=e.replace(n5(),"  ");let r=t.ambiguousIsNarrow?1:2,i=0;for(let n of e){let s=n.codePointAt(0);if(!(s<=31||s>=127&&s<=159||s>=768&&s<=879))switch(t5.eastAsianWidth(n)){case"F":case"W":i+=2;break;case"A":i+=r;break;default:i+=1}}return i}var m0=10,o$=(e=0)=>t=>`\x1B[${t+e}m`,l$=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,u$=(e=0)=>(t,r,i)=>`\x1B[${38+e};2;${t};${r};${i}m`,pt={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};Object.keys(pt.modifier);var i5=Object.keys(pt.color),s5=Object.keys(pt.bgColor);[...i5,...s5];function a5(){let e=new Map;for(let[t,r]of Object.entries(pt)){for(let[i,n]of Object.entries(r))pt[i]={open:`\x1B[${n[0]}m`,close:`\x1B[${n[1]}m`},r[i]=pt[i],e.set(n[0],n[1]);Object.defineProperty(pt,t,{value:r,enumerable:!1})}return Object.defineProperty(pt,"codes",{value:e,enumerable:!1}),pt.color.close="\x1B[39m",pt.bgColor.close="\x1B[49m",pt.color.ansi=o$(),pt.color.ansi256=l$(),pt.color.ansi16m=u$(),pt.bgColor.ansi=o$(m0),pt.bgColor.ansi256=l$(m0),pt.bgColor.ansi16m=u$(m0),Object.defineProperties(pt,{rgbToAnsi256:{value:(t,r,i)=>t===r&&r===i?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(i/255*5),enumerable:!1},hexToRgb:{value:t=>{let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(t.toString(16));if(!r)return[0,0,0];let[i]=r;i.length===3&&(i=[...i].map(s=>s+s).join(""));let n=Number.parseInt(i,16);return[n>>16&255,n>>8&255,n&255]},enumerable:!1},hexToAnsi256:{value:t=>pt.rgbToAnsi256(...pt.hexToRgb(t)),enumerable:!1},ansi256ToAnsi:{value:t=>{if(t<8)return 30+t;if(t<16)return 90+(t-8);let r,i,n;if(t>=232)r=((t-232)*10+8)/255,i=r,n=r;else{t-=16;let l=t%36;r=Math.floor(t/36)/5,i=Math.floor(l/6)/5,n=l%6/5}let s=Math.max(r,i,n)*2;if(s===0)return 30;let a=30+(Math.round(n)<<2|Math.round(i)<<1|Math.round(r));return s===2&&(a+=60),a},enumerable:!1},rgbToAnsi:{value:(t,r,i)=>pt.ansi256ToAnsi(pt.rgbToAnsi256(t,r,i)),enumerable:!1},hexToAnsi:{value:t=>pt.ansi256ToAnsi(pt.hexToAnsi256(t)),enumerable:!1}}),pt}var o5=a5(),bc=new Set(["\x1B","\x9B"]),l5=39,v0="\x07",k$="[",u5="]",w$="m",y0=`${u5}8;;`,c$=e=>`${bc.values().next().value}${k$}${e}${w$}`,p$=e=>`${bc.values().next().value}${y0}${e}${v0}`,c5=e=>e.split(" ").map(t=>ko(t)),h0=(e,t,r)=>{let i=[...t],n=!1,s=!1,a=ko(v$(e[e.length-1]));for(let[l,u]of i.entries()){let p=ko(u);if(a+p<=r?e[e.length-1]+=u:(e.push(u),a=0),bc.has(u)&&(n=!0,s=i.slice(l+1).join("").startsWith(y0)),n){s?u===v0&&(n=!1,s=!1):u===w$&&(n=!1);continue}a+=p,a===r&&l<i.length-1&&(e.push(""),a=0)}!a&&e[e.length-1].length>0&&e.length>1&&(e[e.length-2]+=e.pop())},p5=e=>{let t=e.split(" "),r=t.length;for(;r>0&&!(ko(t[r-1])>0);)r--;return r===t.length?e:t.slice(0,r).join(" ")+t.slice(r).join("")},d5=(e,t,r={})=>{if(r.trim!==!1&&e.trim()==="")return"";let i="",n,s,a=c5(e),l=[""];for(let[p,f]of e.split(" ").entries()){r.trim!==!1&&(l[l.length-1]=l[l.length-1].trimStart());let h=ko(l[l.length-1]);if(p!==0&&(h>=t&&(r.wordWrap===!1||r.trim===!1)&&(l.push(""),h=0),(h>0||r.trim===!1)&&(l[l.length-1]+=" ",h++)),r.hard&&a[p]>t){let _=t-h,g=1+Math.floor((a[p]-_-1)/t);Math.floor((a[p]-1)/t)<g&&l.push(""),h0(l,f,t);continue}if(h+a[p]>t&&h>0&&a[p]>0){if(r.wordWrap===!1&&h<t){h0(l,f,t);continue}l.push("")}if(h+a[p]>t&&r.wordWrap===!1){h0(l,f,t);continue}l[l.length-1]+=f}r.trim!==!1&&(l=l.map(p=>p5(p)));let u=[...l.join(`
`)];for(let[p,f]of u.entries()){if(i+=f,bc.has(f)){let{groups:_}=new RegExp(`(?:\\${k$}(?<code>\\d+)m|\\${y0}(?<uri>.*)${v0})`).exec(u.slice(p).join(""))||{groups:{}};if(_.code!==void 0){let g=Number.parseFloat(_.code);n=g===l5?void 0:g}else _.uri!==void 0&&(s=_.uri.length===0?void 0:_.uri)}let h=o5.codes.get(Number(n));u[p+1]===`
`?(s&&(i+=p$("")),n&&h&&(i+=c$(h))):f===`
`&&(n&&h&&(i+=c$(n)),s&&(i+=p$(s)))}return i};function d$(e,t,r){return String(e).normalize().replace(/\r\n/g,`
`).split(`
`).map(i=>d5(i,t,r)).join(`
`)}var f5=["up","down","left","right","space","enter","cancel"],ai={actions:new Set(f5),aliases:new Map([["k","up"],["j","down"],["h","left"],["l","right"],["","cancel"],["escape","cancel"]]),messages:{cancel:"Canceled",error:"Something went wrong"}};function x0(e,t){if(typeof e=="string")return ai.aliases.get(e)===t;for(let r of e)if(r!==void 0&&x0(r,t))return!0;return!1}function m5(e,t){if(e===t)return;let r=e.split(`
`),i=t.split(`
`),n=[];for(let s=0;s<Math.max(r.length,i.length);s++)r[s]!==i[s]&&n.push(s);return n}var h5=globalThis.process.platform.startsWith("win"),b0=Symbol("clack:cancel");function St(e){return e===b0}function _c(e,t){let r=e;r.isTTY&&r.setRawMode(t)}function E$({input:e=_$,output:t=g$,overwrite:r=!0,hideCursor:i=!0}={}){let n=oi.createInterface({input:e,output:t,prompt:"",tabSize:1});oi.emitKeypressEvents(e,n),e instanceof a$&&e.isTTY&&e.setRawMode(!0);let s=(a,{name:l,sequence:u})=>{let p=String(a);if(x0([p,l,u],"cancel")){i&&t.write(jt.cursor.show),process.exit(0);return}if(!r)return;oi.moveCursor(t,l==="return"?0:-1,l==="return"?-1:0,()=>{oi.clearLine(t,1,()=>{e.once("keypress",s)})})};return i&&t.write(jt.cursor.hide),e.once("keypress",s),()=>{e.off("keypress",s),i&&t.write(jt.cursor.show),e instanceof a$&&e.isTTY&&!h5&&e.setRawMode(!1),n.terminal=!1,n.close()}}var D$=e=>e instanceof J7&&e.columns?e.columns:80,_5=Object.defineProperty,g5=(e,t,r)=>t in e?_5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,lr=(e,t,r)=>(g5(e,typeof t!="symbol"?t+"":t,r),r),As=class{constructor(t,r=!0){lr(this,"input"),lr(this,"output"),lr(this,"_abortSignal"),lr(this,"rl"),lr(this,"opts"),lr(this,"_render"),lr(this,"_track",!1),lr(this,"_prevFrame",""),lr(this,"_subscribers",new Map),lr(this,"_cursor",0),lr(this,"_usePlaceholderAsValue",!0),lr(this,"state","initial"),lr(this,"error",""),lr(this,"value");let{input:i=_$,output:n=g$,render:s,signal:a,...l}=t;this.opts=l,this.onKeypress=this.onKeypress.bind(this),this.close=this.close.bind(this),this.render=this.render.bind(this),this._render=s.bind(this),this._track=r,this._abortSignal=a,this.input=i,this.output=n}unsubscribe(){this._subscribers.clear()}setSubscriber(t,r){let i=this._subscribers.get(t)??[];i.push(r),this._subscribers.set(t,i)}on(t,r){this.setSubscriber(t,{cb:r})}once(t,r){this.setSubscriber(t,{cb:r,once:!0})}emit(t,...r){let i=this._subscribers.get(t)??[],n=[];for(let s of i)s.cb(...r),s.once&&n.push(()=>i.splice(i.indexOf(s),1));for(let s of n)s()}prompt(){return new Promise((t,r)=>{if(this._abortSignal){if(this._abortSignal.aborted)return this.state="cancel",this.close(),t(b0);this._abortSignal.addEventListener("abort",()=>{this.state="cancel",this.close()},{once:!0})}this.rl=X7.createInterface({input:this.input,tabSize:2,prompt:"",escapeCodeTimeout:50,terminal:!0}),this.rl.prompt(),this.opts.initialValue!==void 0&&(this._track&&this.rl.write(this.opts.initialValue),this._setValue(this.opts.initialValue)),this.input.on("keypress",this.onKeypress),_c(this.input,!0),this.output.on("resize",this.render),this.render(),this.once("submit",()=>{this.output.write(jt.cursor.show),this.output.off("resize",this.render),_c(this.input,!1),t(this.value)}),this.once("cancel",()=>{this.output.write(jt.cursor.show),this.output.off("resize",this.render),_c(this.input,!1),t(b0)})})}_isActionKey(t,r){return t==="	"}_setValue(t){this.value=t,this.emit("value",this.value)}onKeypress(t,r){if(this._track&&r.name!=="return"&&(r.name&&this._isActionKey(t,r)&&this.rl?.write(null,{ctrl:!0,name:"h"}),this._cursor=this.rl?.cursor??0,this._setValue(this.rl?.line)),this.state==="error"&&(this.state="active"),r?.name&&(!this._track&&ai.aliases.has(r.name)&&this.emit("cursor",ai.aliases.get(r.name)),ai.actions.has(r.name)&&this.emit("cursor",r.name)),t&&(t.toLowerCase()==="y"||t.toLowerCase()==="n")&&this.emit("confirm",t.toLowerCase()==="y"),this._usePlaceholderAsValue&&t==="	"&&this.opts.placeholder&&(this.value||(this.rl?.write(this.opts.placeholder),this._setValue(this.opts.placeholder))),this.emit("key",t?.toLowerCase(),r),r?.name==="return"){if(!this.value&&this.opts.placeholder&&(this.rl?.write(this.opts.placeholder),this._setValue(this.opts.placeholder)),this.opts.validate){let i=this.opts.validate(this.value);i&&(this.error=i instanceof Error?i.message:i,this.state="error",this.rl?.write(this.value))}this.state!=="error"&&(this.state="submit")}x0([t,r?.name,r?.sequence],"cancel")&&(this.state="cancel"),(this.state==="submit"||this.state==="cancel")&&this.emit("finalize"),this.render(),(this.state==="submit"||this.state==="cancel")&&this.close()}close(){this.input.unpipe(),this.input.removeListener("keypress",this.onKeypress),this.output.write(`
`),_c(this.input,!1),this.rl?.close(),this.rl=void 0,this.emit(`${this.state}`,this.value),this.unsubscribe()}restoreCursor(){let t=d$(this._prevFrame,process.stdout.columns,{hard:!0}).split(`
`).length-1;this.output.write(jt.cursor.move(-999,t*-1))}render(){let t=d$(this._render(this)??"",process.stdout.columns,{hard:!0});if(t!==this._prevFrame){if(this.state==="initial")this.output.write(jt.cursor.hide);else{let r=m5(this._prevFrame,t);if(this.restoreCursor(),r&&r?.length===1){let i=r[0];this.output.write(jt.cursor.move(0,i)),this.output.write(jt.erase.lines(1));let n=t.split(`
`);this.output.write(n[i]),this._prevFrame=t,this.output.write(jt.cursor.move(0,n.length-i-1));return}if(r&&r?.length>1){let i=r[0];this.output.write(jt.cursor.move(0,i)),this.output.write(jt.erase.down());let n=t.split(`
`).slice(i);this.output.write(n.join(`
`)),this._prevFrame=t;return}this.output.write(jt.erase.down())}this.output.write(t),this.state==="initial"&&(this.state="active"),this._prevFrame=t}}},gc=class extends As{get cursor(){return this.value?0:1}get _value(){return this.cursor===0}constructor(t){super(t,!1),this.value=!!t.initialValue,this.on("value",()=>{this.value=this._value}),this.on("confirm",r=>{this.output.write(jt.cursor.move(0,-1)),this.value=r,this.state="submit",this.close()}),this.on("cursor",()=>{this.value=!this.value})}};var b5;b5=new WeakMap;var v5=Object.defineProperty,y5=(e,t,r)=>t in e?v5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f$=(e,t,r)=>(y5(e,typeof t!="symbol"?t+"":t,r),r),C$=class extends As{constructor(e){super(e,!1),f$(this,"options"),f$(this,"cursor",0),this.options=e.options,this.value=[...e.initialValues??[]],this.cursor=Math.max(this.options.findIndex(({value:t})=>t===e.cursorAt),0),this.on("key",t=>{t==="a"&&this.toggleAll()}),this.on("cursor",t=>{switch(t){case"left":case"up":this.cursor=this.cursor===0?this.options.length-1:this.cursor-1;break;case"down":case"right":this.cursor=this.cursor===this.options.length-1?0:this.cursor+1;break;case"space":this.toggleValue();break}})}get _value(){return this.options[this.cursor].value}toggleAll(){let e=this.value.length===this.options.length;this.value=e?[]:this.options.map(t=>t.value)}toggleValue(){let e=this.value.includes(this._value);this.value=e?this.value.filter(t=>t!==this._value):[...this.value,this._value]}};var x5=Object.defineProperty,k5=(e,t,r)=>t in e?x5(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m$=(e,t,r)=>(k5(e,typeof t!="symbol"?t+"":t,r),r),S$=class extends As{constructor(e){super(e,!1),m$(this,"options"),m$(this,"cursor",0),this.options=e.options,this.cursor=this.options.findIndex(({value:t})=>t===e.initialValue),this.cursor===-1&&(this.cursor=0),this.changeValue(),this.on("cursor",t=>{switch(t){case"left":case"up":this.cursor=this.cursor===0?this.options.length-1:this.cursor-1;break;case"down":case"right":this.cursor=this.cursor===this.options.length-1?0:this.cursor+1;break}this.changeValue()})}get _value(){return this.options[this.cursor]}changeValue(){this.value=this._value.value}};var $$=class extends As{get valueWithCursor(){if(this.state==="submit")return this.value;let e=this.value??"";if(this.cursor>=e.length)return`${this.value}\u2588`;let t=e.slice(0,this.cursor),[r,...i]=e.slice(this.cursor);return`${t}${b$.default.inverse(r)}${i.join("")}`}get cursor(){return this._cursor}constructor(e){super(e),this.on("finalize",()=>{this.value||(this.value=e.defaultValue)})}};var T$=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},xo=(e,t,r)=>(T$(e,t,"read from private field"),r?r.call(e):t.get(e));var _0=(e,t,r,i)=>(T$(e,t,"write to private field"),i?i.call(e,r):t.set(e,r),r);var Is,g0,h$,w5,E5,D5,C5;function S5(e,t){if(e===void 0||t.length===0)return 0;let r=t.findIndex(i=>i.value===e);return r!==-1?r:0}Is=new WeakMap,g0=new WeakMap,h$=new WeakMap,w5=new WeakSet,E5=function(e,t){let r=t.name==="up",i=t.name==="down";r||i?(_0(this,Is,Math.max(0,Math.min(xo(this,Is)+(r?-1:1),this.filteredOptions.length-1))),this.focusedValue=this.filteredOptions[xo(this,Is)]?.value,this.multiple||(this.selectedValues=[this.focusedValue]),this.isNavigating=!0):this.multiple&&this.focusedValue!==void 0&&(t.name==="tab"||this.isNavigating&&t.name==="space")?this.toggleSelected(this.focusedValue):this.isNavigating=!1},D5=new WeakSet,C5=function(e){e!==xo(this,g0)&&(_0(this,g0,e),e?this.filteredOptions=this.options.filter(t=>xo(this,h$).call(this,e,t)):this.filteredOptions=[...this.options],_0(this,Is,S5(this.focusedValue,this.filteredOptions)),this.focusedValue=this.filteredOptions[xo(this,Is)]?.value)};var Ps=it(vr(),1),U=it(vr(),1),wo=it(f0(),1);import Xr from"process";import{WriteStream as $5}from"tty";import{stripVTControlCharacters as k0}from"util";function T5(){return Xr.platform!=="win32"?Xr.env.TERM!=="linux":!!Xr.env.CI||!!Xr.env.WT_SESSION||!!Xr.env.TERMINUS_SUBLIME||Xr.env.ConEmuTask==="{cmd::Cmder}"||Xr.env.TERM_PROGRAM==="Terminus-Sublime"||Xr.env.TERM_PROGRAM==="vscode"||Xr.env.TERM==="xterm-256color"||Xr.env.TERM==="alacritty"||Xr.env.TERMINAL_EMULATOR==="JetBrains-JediTerm"}var w0=T5(),P$=()=>process.env.CI==="true",dt=(e,t)=>w0?e:t,I5=dt("\u25C6","*"),R$=dt("\u25A0","x"),N$=dt("\u25B2","x"),Eo=dt("\u25C7","o"),A5=dt("\u250C","T"),ze=dt("\u2502","|"),li=dt("\u2514","\u2014"),E0=dt("\u25CF",">"),D0=dt("\u25CB"," "),P5=dt("\u25FB","[\u2022]"),I$=dt("\u25FC","[+]"),R5=dt("\u25FB","[ ]"),B_e=dt("\u25AA","\u2022"),A$=dt("\u2500","-"),N5=dt("\u256E","+"),O5=dt("\u251C","+"),L5=dt("\u256F","+"),F5=dt("\u25CF","\u2022"),j5=dt("\u25C6","*"),q5=dt("\u25B2","!"),M5=dt("\u25A0","x"),vc=e=>{switch(e){case"initial":case"active":return U.default.cyan(I5);case"cancel":return U.default.red(R$);case"error":return U.default.yellow(N$);case"submit":return U.default.green(Eo)}},C0=e=>{let{cursor:t,options:r,style:i}=e,n=e.output??process.stdout,s=n instanceof $5&&n.rows!==void 0?n.rows:10,a=U.default.dim("..."),l=e.maxItems??Number.POSITIVE_INFINITY,u=Math.max(s-4,0),p=Math.min(u,Math.max(l,5)),f=0;t>=f+p-3?f=Math.max(Math.min(t-p+3,r.length-p),0):t<f+2&&(f=Math.max(t-2,0));let h=p<r.length&&f>0,_=p<r.length&&f+p<r.length;return r.slice(f,f+p).map((g,b,E)=>{let C=b===0&&h,T=b===E.length-1&&_;return C||T?a:i(g,b+f===t)})};var ui=e=>{let t=e.active??"Yes",r=e.inactive??"No";return new gc({active:t,inactive:r,input:e.input,output:e.output,initialValue:e.initialValue??!0,render(){let i=`${U.default.gray(ze)}
${vc(this.state)}  ${e.message}
`,n=this.value?t:r;switch(this.state){case"submit":return`${i}${U.default.gray(ze)}  ${U.default.dim(n)}`;case"cancel":return`${i}${U.default.gray(ze)}  ${U.default.strikethrough(U.default.dim(n))}
${U.default.gray(ze)}`;default:return`${i}${U.default.cyan(ze)}  ${this.value?`${U.default.green(E0)} ${t}`:`${U.default.dim(D0)} ${U.default.dim(t)}`} ${U.default.dim("/")} ${this.value?`${U.default.dim(D0)} ${U.default.dim(r)}`:`${U.default.green(E0)} ${r}`}
${U.default.cyan(li)}
`}}}).prompt()};var He={message:(e=[],{symbol:t=U.default.gray(ze),secondarySymbol:r=U.default.gray(ze),output:i=process.stdout,spacing:n=1}={})=>{let s=[];for(let l=0;l<n;l++)s.push(`${r}`);let a=Array.isArray(e)?e:e.split(`
`);if(a.length>0){let[l,...u]=a;l.length>0?s.push(`${t}  ${l}`):s.push(t);for(let p of u)p.length>0?s.push(`${r}  ${p}`):s.push(r)}i.write(`${s.join(`
`)}
`)},info:(e,t)=>{He.message(e,{...t,symbol:U.default.blue(F5)})},success:(e,t)=>{He.message(e,{...t,symbol:U.default.green(j5)})},step:(e,t)=>{He.message(e,{...t,symbol:U.default.green(Eo)})},warn:(e,t)=>{He.message(e,{...t,symbol:U.default.yellow(q5)})},warning:(e,t)=>{He.warn(e,t)},error:(e,t)=>{He.message(e,{...t,symbol:U.default.red(M5)})}},jn=(e="",t)=>{(t?.output??process.stdout).write(`${U.default.gray(li)}  ${U.default.red(e)}

`)},O$=(e="",t)=>{(t?.output??process.stdout).write(`${U.default.gray(A5)}  ${e}
`)},ci=(e="",t)=>{(t?.output??process.stdout).write(`${U.default.gray(ze)}
${U.default.gray(li)}  ${e}

`)},yc=e=>{let t=(r,i)=>{let n=r.label??String(r.value);return i==="active"?`${U.default.cyan(P5)} ${n} ${r.hint?U.default.dim(`(${r.hint})`):""}`:i==="selected"?`${U.default.green(I$)} ${U.default.dim(n)} ${r.hint?U.default.dim(`(${r.hint})`):""}`:i==="cancelled"?`${U.default.strikethrough(U.default.dim(n))}`:i==="active-selected"?`${U.default.green(I$)} ${n} ${r.hint?U.default.dim(`(${r.hint})`):""}`:i==="submitted"?`${U.default.dim(n)}`:`${U.default.dim(R5)} ${U.default.dim(n)}`};return new C$({options:e.options,input:e.input,output:e.output,initialValues:e.initialValues,required:e.required??!0,cursorAt:e.cursorAt,validate(r){if(this.required&&r.length===0)return`Please select at least one option.
${U.default.reset(U.default.dim(`Press ${U.default.gray(U.default.bgWhite(U.default.inverse(" space ")))} to select, ${U.default.gray(U.default.bgWhite(U.default.inverse(" enter ")))} to submit`))}`},render(){let r=`${U.default.gray(ze)}
${vc(this.state)}  ${e.message}
`,i=(n,s)=>{let a=this.value.includes(n.value);return s&&a?t(n,"active-selected"):a?t(n,"selected"):t(n,s?"active":"inactive")};switch(this.state){case"submit":return`${r}${U.default.gray(ze)}  ${this.options.filter(({value:n})=>this.value.includes(n)).map(n=>t(n,"submitted")).join(U.default.dim(", "))||U.default.dim("none")}`;case"cancel":{let n=this.options.filter(({value:s})=>this.value.includes(s)).map(s=>t(s,"cancelled")).join(U.default.dim(", "));return`${r}${U.default.gray(ze)}  ${n.trim()?`${n}
${U.default.gray(ze)}`:""}`}case"error":{let n=this.error.split(`
`).map((s,a)=>a===0?`${U.default.yellow(li)}  ${U.default.yellow(s)}`:`   ${s}`).join(`
`);return`${r+U.default.yellow(ze)}  ${C0({output:e.output,options:this.options,cursor:this.cursor,maxItems:e.maxItems,style:i}).join(`
${U.default.yellow(ze)}  `)}
${n}
`}default:return`${r}${U.default.cyan(ze)}  ${C0({output:e.output,options:this.options,cursor:this.cursor,maxItems:e.maxItems,style:i}).join(`
${U.default.cyan(ze)}  `)}
${U.default.cyan(li)}
`}}}).prompt()},B5=e=>U.default.dim(e),L$=(e="",t="",r)=>{let i=r?.format??B5,n=["",...e.split(`
`).map(i),""],s=k0(t).length,a=r?.output??process.stdout,l=Math.max(n.reduce((p,f)=>{let h=k0(f);return h.length>p?h.length:p},0),s)+2,u=n.map(p=>`${U.default.gray(ze)}  ${p}${" ".repeat(l-k0(p).length)}${U.default.gray(ze)}`).join(`
`);a.write(`${U.default.gray(ze)}
${U.default.green(Eo)}  ${U.default.reset(t)} ${U.default.gray(A$.repeat(Math.max(l-s-1,1))+N5)}
${u}
${U.default.gray(O5+A$.repeat(l+2)+L5)}
`)};var S0=({indicator:e="dots",onCancel:t,output:r=process.stdout,cancelMessage:i,errorMessage:n,frames:s=w0?["\u25D2","\u25D0","\u25D3","\u25D1"]:["\u2022","o","O","0"],delay:a=w0?80:120}={})=>{let l=P$(),u,p,f=!1,h=!1,_="",g,b=performance.now(),E=c=>{let m=c>1?n??ai.messages.error:i??ai.messages.cancel;h=c===1,f&&(W(m,c),h&&typeof t=="function"&&t())},C=()=>E(2),T=()=>E(1),N=()=>{process.on("uncaughtExceptionMonitor",C),process.on("unhandledRejection",C),process.on("SIGINT",T),process.on("SIGTERM",T),process.on("exit",E)},I=()=>{process.removeListener("uncaughtExceptionMonitor",C),process.removeListener("unhandledRejection",C),process.removeListener("SIGINT",T),process.removeListener("SIGTERM",T),process.removeListener("exit",E)},V=()=>{if(g===void 0)return;l&&r.write(`
`);let c=g.split(`
`);r.write(wo.cursor.move(-999,c.length-1)),r.write(wo.erase.down(c.length))},K=c=>c.replace(/\.+$/,""),te=c=>{let m=(performance.now()-c)/1e3,v=Math.floor(m/60),w=Math.floor(m%60);return v>0?`[${v}m ${w}s]`:`[${w}s]`},ke=(c="")=>{f=!0,u=E$({output:r}),_=K(c),b=performance.now(),r.write(`${U.default.gray(ze)}
`);let m=0,v=0;N(),p=setInterval(()=>{if(l&&_===g)return;V(),g=_;let w=U.default.magenta(s[m]);if(l)r.write(`${w}  ${_}...`);else if(e==="timer")r.write(`${w}  ${_} ${te(b)}`);else{let $=".".repeat(Math.floor(v)).slice(0,3);r.write(`${w}  ${_}${$}`)}m=m+1<s.length?m+1:0,v=v<4?v+.125:0},a)},W=(c="",m=0)=>{f=!1,clearInterval(p),V();let v=m===0?U.default.green(Eo):m===1?U.default.red(R$):U.default.red(N$);_=c??_,e==="timer"?r.write(`${v}  ${_} ${te(b)}
`):r.write(`${v}  ${_}
`),I(),u()};return{start:ke,stop:W,message:(c="")=>{_=K(c??_)},get isCancelled(){return h}}},z_e={light:dt("\u2500","-"),heavy:dt("\u2501","="),block:dt("\u2588","#")};var xc=e=>{let t=(r,i)=>{let n=r.label??String(r.value);switch(i){case"selected":return`${U.default.dim(n)}`;case"active":return`${U.default.green(E0)} ${n} ${r.hint?U.default.dim(`(${r.hint})`):""}`;case"cancelled":return`${U.default.strikethrough(U.default.dim(n))}`;default:return`${U.default.dim(D0)} ${U.default.dim(n)}`}};return new S$({options:e.options,input:e.input,output:e.output,initialValue:e.initialValue,render(){let r=`${U.default.gray(ze)}
${vc(this.state)}  ${e.message}
`;switch(this.state){case"submit":return`${r}${U.default.gray(ze)}  ${t(this.options[this.cursor],"selected")}`;case"cancel":return`${r}${U.default.gray(ze)}  ${t(this.options[this.cursor],"cancelled")}
${U.default.gray(ze)}`;default:return`${r}${U.default.cyan(ze)}  ${C0({output:e.output,cursor:this.cursor,options:this.options,maxItems:e.maxItems,style:(i,n)=>t(i,n?"active":"inactive")}).join(`
${U.default.cyan(ze)}  `)}
${U.default.cyan(li)}
`}}}).prompt()},U_e=`${U.default.gray(ze)}  `;var un=async(e,t)=>{for(let r of e){if(r.enabled===!1)continue;let i=S0(t);i.start(r.title);let n=await r.task(i.message);i.stop(n||r.title)}},F$=e=>{let t=e.output??process.stdout,r=D$(t),i=Ps.gray(ze),n=e.spacing??1,s=3,a=e.retainLog===!0,l=P$();t.write(`${i}
`),t.write(`${Ps.green(Eo)}  ${e.title}
`);for(let b=0;b<n;b++)t.write(`${i}
`);let u="",p="",f=!1,h=b=>{if(u.length===0)return;let E=u.split(`
`).reduce((C,T)=>T===""?C+1:C+Math.ceil((T.length+s)/r),0)+1+(b?n+2:0);t.write(wo.erase.lines(E))},_=(b,E)=>{He.message(b.split(`
`).map(Ps.dim),{output:t,secondarySymbol:i,symbol:i,spacing:E??n})},g=()=>{a===!0&&p.length>0?_(`${p}
${u}`):_(u)};return{message(b,E){if(h(!1),(E?.raw!==!0||!f)&&u!==""&&(u+=`
`),u+=b,f=E?.raw===!0,e.limit!==void 0){let C=u.split(`
`),T=C.length-e.limit;if(T>0){let N=C.splice(0,T);a&&(p+=(p===""?"":`
`)+N.join(`
`))}u=C.join(`
`)}l||_(u,0)},error(b,E){h(!0),He.error(b,{output:t,secondarySymbol:i,spacing:1}),E?.showLog!==!1&&g(),u=p=""},success(b,E){h(!0),He.success(b,{output:t,secondarySymbol:i,spacing:1}),E?.showLog===!0&&g(),u=p=""}}},kc=e=>new $$({validate:e.validate,placeholder:e.placeholder,defaultValue:e.defaultValue,initialValue:e.initialValue,output:e.output,input:e.input,render(){let t=`${U.default.gray(ze)}
${vc(this.state)}  ${e.message}
`,r=e.placeholder?U.default.inverse(e.placeholder[0])+U.default.dim(e.placeholder.slice(1)):U.default.inverse(U.default.hidden("_")),i=this.value?this.valueWithCursor:r;switch(this.state){case"error":return`${t.trim()}
${U.default.yellow(ze)}  ${i}
${U.default.yellow(li)}  ${U.default.yellow(this.error)}
`;case"submit":return`${t}${U.default.gray(ze)}  ${U.default.dim(this.value||e.placeholder)}`;case"cancel":return`${t}${U.default.gray(ze)}  ${U.default.strikethrough(U.default.dim(this.value??""))}${this.value?.trim()?`
${U.default.gray(ze)}`:""}`;default:return`${t}${U.default.cyan(ze)}  ${i}
${U.default.cyan(li)}
`}}}).prompt();function fi(e){He.message(),typeof e=="string"&&(jn(e),wc.exit(1)),(e instanceof pi||e instanceof di)&&(jn(`[${e.name}]: ${e.message}`),wc.exit(1)),e instanceof Error&&(jn(e.stack),wc.exit(1)),jn("Something went wrong. Please try again."),wc.exit(1)}function Oe(e){return new pi(e)}var pi=class extends Error{name="CLI Error"},di=class extends Error{name="Config Error"};var Nr=it(vr(),1);import je from"path";import z$ from"fs";import J5 from"module";var j$=e=>e!==null&&typeof e=="object",Rs=(e,t)=>Object.assign(new Error(`[${e}]: ${t}`),{code:e}),q$="ERR_INVALID_PACKAGE_CONFIG",$0="ERR_INVALID_PACKAGE_TARGET",z5="ERR_PACKAGE_PATH_NOT_EXPORTED";var U5=/^\d+$/,V5=/^(\.{1,2}|node_modules)$/i,H5=/\/|\\/,M$=(e=>(e.Export="exports",e.Import="imports",e))(M$||{}),T0=(e,t,r,i,n)=>{if(t==null)return[];if(typeof t=="string"){let[s,...a]=t.split(H5);if(s===".."||a.some(l=>V5.test(l)))throw Rs($0,`Invalid "${e}" target "${t}" defined in the package config`);return[n?t.replace(/\*/g,n):t]}if(Array.isArray(t))return t.flatMap(s=>T0(e,s,r,i,n));if(j$(t)){for(let s of Object.keys(t)){if(U5.test(s))throw Rs(q$,"Cannot contain numeric property keys");if(s==="default"||i.includes(s))return T0(e,t[s],r,i,n)}return[]}throw Rs($0,`Invalid "${e}" target "${t}"`)},Do="*",Z5=(e,t)=>{let r=e.indexOf(Do),i=t.indexOf(Do);return r===i?t.length>e.length:i>r};function W5(e,t){if(!t.includes(Do)&&e.hasOwnProperty(t))return[t];let r,i;for(let n of Object.keys(e))if(n.includes(Do)){let[s,a,l]=n.split(Do);if(l===void 0&&t.startsWith(s)&&t.endsWith(a)){let u=t.slice(s.length,-a.length||void 0);u&&(!r||Z5(r,n))&&(r=n,i=u)}}return[r,i]}var G5=e=>Object.keys(e).reduce((t,r)=>{let i=r===""||r[0]!==".";if(t===void 0||t===i)return i;throw Rs(q$,'"exports" cannot contain some keys starting with "." and some not')},void 0),K5=/^\w+:/,B$=(e,t,r)=>{if(!e)throw new Error('"exports" is required');t=t===""?".":`./${t}`,(typeof e=="string"||Array.isArray(e)||j$(e)&&G5(e))&&(e={".":e});let[i,n]=W5(e,t),s=T0(M$.Export,e[i],t,r,n);if(s.length===0)throw Rs(z5,t==="."?'No "exports" main defined':`Package subpath '${t}' is not defined by "exports"`);for(let a of s)if(!a.startsWith("./")&&!K5.test(a))throw Rs($0,`Invalid "exports" target "${a}" defined in the package config`);return s};import Y5 from"fs";var X5=Object.defineProperty,re=(e,t)=>X5(e,"name",{value:t,configurable:!0});function ur(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}re(ur,"slash");var q0=re(e=>{let t=z$[e];return(r,...i)=>{let n=`${e}:${i.join(":")}`,s=r?.get(n);return s===void 0&&(s=Reflect.apply(t,z$,i),r?.set(n,s)),s}},"cacheFs"),Jr=q0("existsSync"),Q5=q0("readFileSync"),Ec=q0("statSync"),Y$=re((e,t,r)=>{for(;;){let i=je.posix.join(e,t);if(Jr(r,i))return i;let n=je.dirname(e);if(n===e)return;e=n}},"findUp"),M0=/^\.{1,2}(\/.*)?$/,L0=re(e=>{let t=ur(e);return M0.test(t)?t:`./${t}`},"normalizeRelativePath");function Q$(e,t=!1){let r=e.length,i=0,n="",s=0,a=16,l=0,u=0,p=0,f=0,h=0;function _(I,V){let K=0,te=0;for(;K<I;){let ke=e.charCodeAt(i);if(ke>=48&&ke<=57)te=te*16+ke-48;else if(ke>=65&&ke<=70)te=te*16+ke-65+10;else if(ke>=97&&ke<=102)te=te*16+ke-97+10;else break;i++,K++}return K<I&&(te=-1),te}re(_,"scanHexDigits");function g(I){i=I,n="",s=0,a=16,h=0}re(g,"setPosition");function b(){let I=i;if(e.charCodeAt(i)===48)i++;else for(i++;i<e.length&&Wi(e.charCodeAt(i));)i++;if(i<e.length&&e.charCodeAt(i)===46)if(i++,i<e.length&&Wi(e.charCodeAt(i)))for(i++;i<e.length&&Wi(e.charCodeAt(i));)i++;else return h=3,e.substring(I,i);let V=i;if(i<e.length&&(e.charCodeAt(i)===69||e.charCodeAt(i)===101))if(i++,(i<e.length&&e.charCodeAt(i)===43||e.charCodeAt(i)===45)&&i++,i<e.length&&Wi(e.charCodeAt(i))){for(i++;i<e.length&&Wi(e.charCodeAt(i));)i++;V=i}else h=3;return e.substring(I,V)}re(b,"scanNumber");function E(){let I="",V=i;for(;;){if(i>=r){I+=e.substring(V,i),h=2;break}let K=e.charCodeAt(i);if(K===34){I+=e.substring(V,i),i++;break}if(K===92){if(I+=e.substring(V,i),i++,i>=r){h=2;break}switch(e.charCodeAt(i++)){case 34:I+='"';break;case 92:I+="\\";break;case 47:I+="/";break;case 98:I+="\b";break;case 102:I+="\f";break;case 110:I+=`
`;break;case 114:I+="\r";break;case 116:I+="	";break;case 117:let te=_(4);te>=0?I+=String.fromCharCode(te):h=4;break;default:h=5}V=i;continue}if(K>=0&&K<=31)if(Os(K)){I+=e.substring(V,i),h=2;break}else h=6;i++}return I}re(E,"scanString");function C(){if(n="",h=0,s=i,u=l,f=p,i>=r)return s=r,a=17;let I=e.charCodeAt(i);if($c(I)){do i++,n+=String.fromCharCode(I),I=e.charCodeAt(i);while($c(I));return a=15}if(Os(I))return i++,n+=String.fromCharCode(I),I===13&&e.charCodeAt(i)===10&&(i++,n+=`
`),l++,p=i,a=14;switch(I){case 123:return i++,a=1;case 125:return i++,a=2;case 91:return i++,a=3;case 93:return i++,a=4;case 58:return i++,a=6;case 44:return i++,a=5;case 34:return i++,n=E(),a=10;case 47:let V=i-1;if(e.charCodeAt(i+1)===47){for(i+=2;i<r&&!Os(e.charCodeAt(i));)i++;return n=e.substring(V,i),a=12}if(e.charCodeAt(i+1)===42){i+=2;let K=r-1,te=!1;for(;i<K;){let ke=e.charCodeAt(i);if(ke===42&&e.charCodeAt(i+1)===47){i+=2,te=!0;break}i++,Os(ke)&&(ke===13&&e.charCodeAt(i)===10&&i++,l++,p=i)}return te||(i++,h=1),n=e.substring(V,i),a=13}return n+=String.fromCharCode(I),i++,a=16;case 45:if(n+=String.fromCharCode(I),i++,i===r||!Wi(e.charCodeAt(i)))return a=16;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return n+=b(),a=11;default:for(;i<r&&T(I);)i++,I=e.charCodeAt(i);if(s!==i){switch(n=e.substring(s,i),n){case"true":return a=8;case"false":return a=9;case"null":return a=7}return a=16}return n+=String.fromCharCode(I),i++,a=16}}re(C,"scanNext");function T(I){if($c(I)||Os(I))return!1;switch(I){case 125:case 93:case 123:case 91:case 34:case 58:case 44:case 47:return!1}return!0}re(T,"isUnknownContentCharacter");function N(){let I;do I=C();while(I>=12&&I<=15);return I}return re(N,"scanNextNonTrivia"),{setPosition:g,getPosition:re(()=>i,"getPosition"),scan:t?N:C,getToken:re(()=>a,"getToken"),getTokenValue:re(()=>n,"getTokenValue"),getTokenOffset:re(()=>s,"getTokenOffset"),getTokenLength:re(()=>i-s,"getTokenLength"),getTokenStartLine:re(()=>u,"getTokenStartLine"),getTokenStartCharacter:re(()=>s-f,"getTokenStartCharacter"),getTokenError:re(()=>h,"getTokenError")}}re(Q$,"createScanner");function $c(e){return e===32||e===9}re($c,"isWhiteSpace");function Os(e){return e===10||e===13}re(Os,"isLineBreak");function Wi(e){return e>=48&&e<=57}re(Wi,"isDigit");var U$;(function(e){e[e.lineFeed=10]="lineFeed",e[e.carriageReturn=13]="carriageReturn",e[e.space=32]="space",e[e._0=48]="_0",e[e._1=49]="_1",e[e._2=50]="_2",e[e._3=51]="_3",e[e._4=52]="_4",e[e._5=53]="_5",e[e._6=54]="_6",e[e._7=55]="_7",e[e._8=56]="_8",e[e._9=57]="_9",e[e.a=97]="a",e[e.b=98]="b",e[e.c=99]="c",e[e.d=100]="d",e[e.e=101]="e",e[e.f=102]="f",e[e.g=103]="g",e[e.h=104]="h",e[e.i=105]="i",e[e.j=106]="j",e[e.k=107]="k",e[e.l=108]="l",e[e.m=109]="m",e[e.n=110]="n",e[e.o=111]="o",e[e.p=112]="p",e[e.q=113]="q",e[e.r=114]="r",e[e.s=115]="s",e[e.t=116]="t",e[e.u=117]="u",e[e.v=118]="v",e[e.w=119]="w",e[e.x=120]="x",e[e.y=121]="y",e[e.z=122]="z",e[e.A=65]="A",e[e.B=66]="B",e[e.C=67]="C",e[e.D=68]="D",e[e.E=69]="E",e[e.F=70]="F",e[e.G=71]="G",e[e.H=72]="H",e[e.I=73]="I",e[e.J=74]="J",e[e.K=75]="K",e[e.L=76]="L",e[e.M=77]="M",e[e.N=78]="N",e[e.O=79]="O",e[e.P=80]="P",e[e.Q=81]="Q",e[e.R=82]="R",e[e.S=83]="S",e[e.T=84]="T",e[e.U=85]="U",e[e.V=86]="V",e[e.W=87]="W",e[e.X=88]="X",e[e.Y=89]="Y",e[e.Z=90]="Z",e[e.asterisk=42]="asterisk",e[e.backslash=92]="backslash",e[e.closeBrace=125]="closeBrace",e[e.closeBracket=93]="closeBracket",e[e.colon=58]="colon",e[e.comma=44]="comma",e[e.dot=46]="dot",e[e.doubleQuote=34]="doubleQuote",e[e.minus=45]="minus",e[e.openBrace=123]="openBrace",e[e.openBracket=91]="openBracket",e[e.plus=43]="plus",e[e.slash=47]="slash",e[e.formFeed=12]="formFeed",e[e.tab=9]="tab"})(U$||(U$={})),new Array(20).fill(0).map((e,t)=>" ".repeat(t));var Ns=200;new Array(Ns).fill(0).map((e,t)=>`
`+" ".repeat(t)),new Array(Ns).fill(0).map((e,t)=>"\r"+" ".repeat(t)),new Array(Ns).fill(0).map((e,t)=>`\r
`+" ".repeat(t)),new Array(Ns).fill(0).map((e,t)=>`
`+"	".repeat(t)),new Array(Ns).fill(0).map((e,t)=>"\r"+"	".repeat(t)),new Array(Ns).fill(0).map((e,t)=>`\r
`+"	".repeat(t));var Tc;(function(e){e.DEFAULT={allowTrailingComma:!1}})(Tc||(Tc={}));function eT(e,t=[],r=Tc.DEFAULT){let i=null,n=[],s=[];function a(l){Array.isArray(n)?n.push(l):i!==null&&(n[i]=l)}return re(a,"onValue"),tT(e,{onObjectBegin:re(()=>{let l={};a(l),s.push(n),n=l,i=null},"onObjectBegin"),onObjectProperty:re(l=>{i=l},"onObjectProperty"),onObjectEnd:re(()=>{n=s.pop()},"onObjectEnd"),onArrayBegin:re(()=>{let l=[];a(l),s.push(n),n=l,i=null},"onArrayBegin"),onArrayEnd:re(()=>{n=s.pop()},"onArrayEnd"),onLiteralValue:a,onError:re((l,u,p)=>{t.push({error:l,offset:u,length:p})},"onError")},r),n[0]}re(eT,"parse$1");function tT(e,t,r=Tc.DEFAULT){let i=Q$(e,!1),n=[];function s(w){return w?()=>w(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter()):()=>!0}re(s,"toNoArgVisit");function a(w){return w?()=>w(i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter(),()=>n.slice()):()=>!0}re(a,"toNoArgVisitWithPath");function l(w){return w?$=>w($,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter()):()=>!0}re(l,"toOneArgVisit");function u(w){return w?$=>w($,i.getTokenOffset(),i.getTokenLength(),i.getTokenStartLine(),i.getTokenStartCharacter(),()=>n.slice()):()=>!0}re(u,"toOneArgVisitWithPath");let p=a(t.onObjectBegin),f=u(t.onObjectProperty),h=s(t.onObjectEnd),_=a(t.onArrayBegin),g=s(t.onArrayEnd),b=u(t.onLiteralValue),E=l(t.onSeparator),C=s(t.onComment),T=l(t.onError),N=r&&r.disallowComments,I=r&&r.allowTrailingComma;function V(){for(;;){let w=i.scan();switch(i.getTokenError()){case 4:K(14);break;case 5:K(15);break;case 3:K(13);break;case 1:N||K(11);break;case 2:K(12);break;case 6:K(16);break}switch(w){case 12:case 13:N?K(10):C();break;case 16:K(1);break;case 15:case 14:break;default:return w}}}re(V,"scanNext");function K(w,$=[],R=[]){if(T(w),$.length+R.length>0){let j=i.getToken();for(;j!==17;){if($.indexOf(j)!==-1){V();break}else if(R.indexOf(j)!==-1)break;j=V()}}}re(K,"handleError");function te(w){let $=i.getTokenValue();return w?b($):(f($),n.push($)),V(),!0}re(te,"parseString");function ke(){switch(i.getToken()){case 11:let w=i.getTokenValue(),$=Number(w);isNaN($)&&(K(2),$=0),b($);break;case 7:b(null);break;case 8:b(!0);break;case 9:b(!1);break;default:return!1}return V(),!0}re(ke,"parseLiteral");function W(){return i.getToken()!==10?(K(3,[],[2,5]),!1):(te(!1),i.getToken()===6?(E(":"),V(),v()||K(4,[],[2,5])):K(5,[],[2,5]),n.pop(),!0)}re(W,"parseProperty");function c(){p(),V();let w=!1;for(;i.getToken()!==2&&i.getToken()!==17;){if(i.getToken()===5){if(w||K(4,[],[]),E(","),V(),i.getToken()===2&&I)break}else w&&K(6,[],[]);W()||K(4,[],[2,5]),w=!0}return h(),i.getToken()!==2?K(7,[2],[]):V(),!0}re(c,"parseObject");function m(){_(),V();let w=!0,$=!1;for(;i.getToken()!==4&&i.getToken()!==17;){if(i.getToken()===5){if($||K(4,[],[]),E(","),V(),i.getToken()===4&&I)break}else $&&K(6,[],[]);w?(n.push(0),w=!1):n[n.length-1]++,v()||K(4,[],[4,5]),$=!0}return g(),w||n.pop(),i.getToken()!==4?K(8,[4],[]):V(),!0}re(m,"parseArray");function v(){switch(i.getToken()){case 3:return m();case 1:return c();case 10:return te(!0);default:return ke()}}return re(v,"parseValue"),V(),i.getToken()===17?r.allowEmptyContent?!0:(K(4,[],[]),!1):v()?(i.getToken()!==17&&K(9,[],[]),!0):(K(4,[],[]),!1)}re(tT,"visit");var V$;(function(e){e[e.None=0]="None",e[e.UnexpectedEndOfComment=1]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=2]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=3]="UnexpectedEndOfNumber",e[e.InvalidUnicode=4]="InvalidUnicode",e[e.InvalidEscapeCharacter=5]="InvalidEscapeCharacter",e[e.InvalidCharacter=6]="InvalidCharacter"})(V$||(V$={}));var H$;(function(e){e[e.OpenBraceToken=1]="OpenBraceToken",e[e.CloseBraceToken=2]="CloseBraceToken",e[e.OpenBracketToken=3]="OpenBracketToken",e[e.CloseBracketToken=4]="CloseBracketToken",e[e.CommaToken=5]="CommaToken",e[e.ColonToken=6]="ColonToken",e[e.NullKeyword=7]="NullKeyword",e[e.TrueKeyword=8]="TrueKeyword",e[e.FalseKeyword=9]="FalseKeyword",e[e.StringLiteral=10]="StringLiteral",e[e.NumericLiteral=11]="NumericLiteral",e[e.LineCommentTrivia=12]="LineCommentTrivia",e[e.BlockCommentTrivia=13]="BlockCommentTrivia",e[e.LineBreakTrivia=14]="LineBreakTrivia",e[e.Trivia=15]="Trivia",e[e.Unknown=16]="Unknown",e[e.EOF=17]="EOF"})(H$||(H$={}));var eB=eT,Z$;(function(e){e[e.InvalidSymbol=1]="InvalidSymbol",e[e.InvalidNumberFormat=2]="InvalidNumberFormat",e[e.PropertyNameExpected=3]="PropertyNameExpected",e[e.ValueExpected=4]="ValueExpected",e[e.ColonExpected=5]="ColonExpected",e[e.CommaExpected=6]="CommaExpected",e[e.CloseBraceExpected=7]="CloseBraceExpected",e[e.CloseBracketExpected=8]="CloseBracketExpected",e[e.EndOfFileExpected=9]="EndOfFileExpected",e[e.InvalidCommentToken=10]="InvalidCommentToken",e[e.UnexpectedEndOfComment=11]="UnexpectedEndOfComment",e[e.UnexpectedEndOfString=12]="UnexpectedEndOfString",e[e.UnexpectedEndOfNumber=13]="UnexpectedEndOfNumber",e[e.InvalidUnicode=14]="InvalidUnicode",e[e.InvalidEscapeCharacter=15]="InvalidEscapeCharacter",e[e.InvalidCharacter=16]="InvalidCharacter"})(Z$||(Z$={}));var rT=re((e,t)=>eB(Q5(t,e,"utf8")),"readJsonc"),F0=Symbol("implicitBaseUrl"),mi="${configDir}",tB=re(()=>{let{findPnpApi:e}=J5;return e&&e(process.cwd())},"getPnpApi"),I0=re((e,t,r,i)=>{let n=`resolveFromPackageJsonPath:${e}:${t}:${r}`;if(i!=null&&i.has(n))return i.get(n);let s=rT(e,i);if(!s)return;let a=t||"tsconfig.json";if(!r&&s.exports)try{let[l]=B$(s.exports,t,["require","types"]);a=l}catch{return!1}else!t&&s.tsconfig&&(a=s.tsconfig);return a=je.join(e,"..",a),i?.set(n,a),a},"resolveFromPackageJsonPath"),A0="package.json",P0="tsconfig.json",rB=re((e,t,r)=>{let i=e;if(e===".."&&(i=je.join(i,P0)),e[0]==="."&&(i=je.resolve(t,i)),je.isAbsolute(i)){if(Jr(r,i)){if(Ec(r,i).isFile())return i}else if(!i.endsWith(".json")){let g=`${i}.json`;if(Jr(r,g))return g}return}let[n,...s]=e.split("/"),a=n[0]==="@"?`${n}/${s.shift()}`:n,l=s.join("/"),u=tB();if(u){let{resolveRequest:g}=u;try{if(a===e){let b=g(je.join(a,A0),t);if(b){let E=I0(b,l,!1,r);if(E&&Jr(r,E))return E}}else{let b;try{b=g(e,t,{extensions:[".json"]})}catch{b=g(je.join(e,P0),t)}if(b)return b}}catch{}}let p=Y$(je.resolve(t),je.join("node_modules",a),r);if(!p||!Ec(r,p).isDirectory())return;let f=je.join(p,A0);if(Jr(r,f)){let g=I0(f,l,!1,r);if(g===!1)return;if(g&&Jr(r,g)&&Ec(r,g).isFile())return g}let h=je.join(p,l),_=h.endsWith(".json");if(!_){let g=`${h}.json`;if(Jr(r,g))return g}if(Jr(r,h)){if(Ec(r,h).isDirectory()){let g=je.join(h,A0);if(Jr(r,g)){let E=I0(g,"",!0,r);if(E&&Jr(r,E))return E}let b=je.join(h,P0);if(Jr(r,b))return b}else if(_)return h}},"resolveExtendsPath"),j0=re((e,t)=>L0(je.relative(e,t)),"pathRelative"),nT=["files","include","exclude"],nB=re((e,t,r,i)=>{let n=rB(e,t,i);if(!n)throw new Error(`File '${e}' not found.`);if(r.has(n))throw new Error(`Circularity detected while resolving configuration: ${n}`);r.add(n);let s=je.dirname(n),a=iT(n,i,r);delete a.references;let{compilerOptions:l}=a;if(l){let{baseUrl:u}=l;u&&!u.startsWith(mi)&&(l.baseUrl=ur(je.relative(t,je.join(s,u)))||"./");let{outDir:p}=l;p&&(p.startsWith(mi)||(p=je.relative(t,je.join(s,p))),l.outDir=ur(p)||"./")}for(let u of nT){let p=a[u];p&&(a[u]=p.map(f=>f.startsWith(mi)?f:ur(je.relative(t,je.join(s,f)))))}return a},"resolveExtends"),iB=["outDir","declarationDir"],iT=re((e,t,r=new Set)=>{let i;try{i=rT(e,t)||{}}catch{throw new Error(`Cannot resolve tsconfig at path: ${e}`)}if(typeof i!="object")throw new SyntaxError(`Failed to parse tsconfig at: ${e}`);let n=je.dirname(e);if(i.compilerOptions){let{compilerOptions:s}=i;s.paths&&!s.baseUrl&&(s[F0]=n)}if(i.extends){let s=Array.isArray(i.extends)?i.extends:[i.extends];delete i.extends;for(let a of s.reverse()){let l=nB(a,n,new Set(r),t),u={...l,...i,compilerOptions:{...l.compilerOptions,...i.compilerOptions}};l.watchOptions&&(u.watchOptions={...l.watchOptions,...i.watchOptions}),i=u}}if(i.compilerOptions){let{compilerOptions:s}=i,a=["baseUrl","rootDir"];for(let l of a){let u=s[l];if(u&&!u.startsWith(mi)){let p=je.resolve(n,u),f=j0(n,p);s[l]=f}}for(let l of iB){let u=s[l];u&&(Array.isArray(i.exclude)||(i.exclude=[]),i.exclude.includes(u)||i.exclude.push(u),u.startsWith(mi)||(u=L0(u)),s[l]=u)}}else i.compilerOptions={};if(i.include?(i.include=i.include.map(ur),i.files&&delete i.files):i.files&&(i.files=i.files.map(s=>s.startsWith(mi)?s:L0(s))),i.watchOptions){let{watchOptions:s}=i;s.excludeDirectories&&(s.excludeDirectories=s.excludeDirectories.map(a=>ur(je.resolve(n,a))))}return i},"_parseTsconfig"),Dc=re((e,t)=>{if(e.startsWith(mi))return ur(je.join(t,e.slice(mi.length)))},"interpolateConfigDir"),sB=["outDir","declarationDir","outFile","rootDir","baseUrl","tsBuildInfoFile"],aB=re(e=>{var t,r,i,n,s,a,l,u,p,f,h,_,g,b,E,C,T,N,I,V,K,te,ke;if(e.strict){let W=["noImplicitAny","noImplicitThis","strictNullChecks","strictFunctionTypes","strictBindCallApply","strictPropertyInitialization","strictBuiltinIteratorReturn","alwaysStrict","useUnknownInCatchVariables"];for(let c of W)e[c]===void 0&&(e[c]=!0)}if(e.target){let W=e.target.toLowerCase();W==="es2015"&&(W="es6"),e.target=W,W==="esnext"&&((t=e.module)!=null||(e.module="es6"),(r=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0)),(W==="es6"||W==="es2016"||W==="es2017"||W==="es2018"||W==="es2019"||W==="es2020"||W==="es2021"||W==="es2022"||W==="es2023"||W==="es2024")&&((i=e.module)!=null||(e.module="es6")),(W==="es2022"||W==="es2023"||W==="es2024")&&((n=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0))}if(e.module){let W=e.module.toLowerCase();W==="es2015"&&(W="es6"),e.module=W,(W==="es6"||W==="es2020"||W==="es2022"||W==="esnext"||W==="none"||W==="system"||W==="umd"||W==="amd")&&((s=e.moduleResolution)!=null||(e.moduleResolution="classic")),W==="system"&&((a=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),(W==="node16"||W==="nodenext"||W==="preserve")&&((l=e.esModuleInterop)!=null||(e.esModuleInterop=!0),(u=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),(W==="node16"||W==="nodenext")&&((p=e.moduleDetection)!=null||(e.moduleDetection="force"),(f=e.useDefineForClassFields)!=null||(e.useDefineForClassFields=!0)),W==="node16"&&((h=e.target)!=null||(e.target="es2022"),(_=e.moduleResolution)!=null||(e.moduleResolution="node16")),W==="nodenext"&&((g=e.target)!=null||(e.target="esnext"),(b=e.moduleResolution)!=null||(e.moduleResolution="nodenext")),W==="preserve"&&((E=e.moduleResolution)!=null||(e.moduleResolution="bundler"))}if(e.moduleResolution){let W=e.moduleResolution.toLowerCase();W==="node"&&(W="node10"),e.moduleResolution=W,(W==="node16"||W==="nodenext"||W==="bundler")&&((C=e.resolvePackageJsonExports)!=null||(e.resolvePackageJsonExports=!0),(T=e.resolvePackageJsonImports)!=null||(e.resolvePackageJsonImports=!0)),W==="bundler"&&((N=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0),(I=e.resolveJsonModule)!=null||(e.resolveJsonModule=!0))}e.esModuleInterop&&((V=e.allowSyntheticDefaultImports)!=null||(e.allowSyntheticDefaultImports=!0)),e.verbatimModuleSyntax&&((K=e.isolatedModules)!=null||(e.isolatedModules=!0),(te=e.preserveConstEnums)!=null||(e.preserveConstEnums=!0)),e.isolatedModules&&((ke=e.preserveConstEnums)!=null||(e.preserveConstEnums=!0))},"normalizeCompilerOptions"),oB=re((e,t=new Map)=>{let r=je.resolve(e),i=iT(r,t),n=je.dirname(r),{compilerOptions:s}=i;if(s){for(let l of sB){let u=s[l];if(u){let p=Dc(u,n);s[l]=p?j0(n,p):u}}for(let l of["rootDirs","typeRoots"]){let u=s[l];u&&(s[l]=u.map(p=>{let f=Dc(p,n);return f?j0(n,f):p}))}let{paths:a}=s;if(a)for(let l of Object.keys(a))a[l]=a[l].map(u=>{var p;return(p=Dc(u,n))!=null?p:u});aB(s)}for(let a of nT){let l=i[a];l&&(i[a]=l.map(u=>{var p;return(p=Dc(u,n))!=null?p:u}))}return i},"parseTsconfig"),B0=re((e=process.cwd(),t="tsconfig.json",r=new Map)=>{let i=Y$(ur(e),t,r);if(!i)return null;let n=oB(i,r);return{path:i,config:n}},"getTsconfig"),lB=/\*/g,W$=re((e,t)=>{let r=e.match(lB);if(r&&r.length>1)throw new Error(t)},"assertStarCount"),uB=re(e=>{if(e.includes("*")){let[t,r]=e.split("*");return{prefix:t,suffix:r}}return e},"parsePattern"),cB=re(({prefix:e,suffix:t},r)=>r.startsWith(e)&&r.endsWith(t),"isPatternMatch"),pB=re((e,t,r)=>Object.entries(e).map(([i,n])=>(W$(i,`Pattern '${i}' can have at most one '*' character.`),{pattern:uB(i),substitutions:n.map(s=>{if(W$(s,`Substitution '${s}' in pattern '${i}' can have at most one '*' character.`),!t&&!M0.test(s))throw new Error("Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?");return je.resolve(r,s)})})),"parsePaths"),sT=re(e=>{let{compilerOptions:t}=e.config;if(!t)return null;let{baseUrl:r,paths:i}=t;if(!r&&!i)return null;let n=F0 in t&&t[F0],s=je.resolve(je.dirname(e.path),r||n||"."),a=i?pB(i,r,s):[];return l=>{if(M0.test(l))return[];let u=[];for(let _ of a){if(_.pattern===l)return _.substitutions.map(ur);typeof _.pattern!="string"&&u.push(_)}let p,f=-1;for(let _ of u)cB(_.pattern,l)&&_.pattern.prefix.length>f&&(f=_.pattern.prefix.length,p=_);if(!p)return r?[ur(je.join(s,l))]:[];let h=l.slice(p.pattern.prefix.length,l.length-p.pattern.suffix.length);return p.substitutions.map(_=>ur(_.replace("*",h)))}},"createPathsMatcher"),G$=re(e=>{let t="";for(let r=0;r<e.length;r+=1){let i=e[r],n=i.toUpperCase();t+=i===n?i.toLowerCase():n}return t},"s"),dB=65,fB=97,mB=re(()=>Math.floor(Math.random()*26),"m"),hB=re(e=>Array.from({length:e},()=>String.fromCodePoint(mB()+(Math.random()>.5?dB:fB))).join(""),"S"),_B=re((e=Y5)=>{let t=process.execPath;if(e.existsSync(t))return!e.existsSync(G$(t));let r=`/${hB(10)}`;e.writeFileSync(r,"");let i=!e.existsSync(G$(r));return e.unlinkSync(r),i},"l"),{join:Cc}=je.posix,R0={ts:[".ts",".tsx",".d.ts"],cts:[".cts",".d.cts"],mts:[".mts",".d.mts"]},gB=re(e=>{let t=[...R0.ts],r=[...R0.cts],i=[...R0.mts];return e!=null&&e.allowJs&&(t.push(".js",".jsx"),r.push(".cjs"),i.push(".mjs")),[...t,...r,...i]},"getSupportedExtensions"),bB=re(e=>{let t=[];if(!e)return t;let{outDir:r,declarationDir:i}=e;return r&&t.push(r),i&&t.push(i),t},"getDefaultExcludeSpec"),K$=re(e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),"escapeForRegexp"),vB=["node_modules","bower_components","jspm_packages"],N0=`(?!(${vB.join("|")})(/|$))`,yB=/(?:^|\/)[^.*?]+$/,X$="**/*",Sc="[^/]",O0="[^./]",J$=process.platform==="win32",Q_e=re(({config:e,path:t},r=_B())=>{if("extends"in e)throw new Error("tsconfig#extends must be resolved. Use getTsconfig or parseTsconfig to resolve it.");if(!je.isAbsolute(t))throw new Error("The tsconfig path must be absolute");J$&&(t=ur(t));let i=je.dirname(t),{files:n,include:s,exclude:a,compilerOptions:l}=e,u=n?.map(b=>Cc(i,b)),p=gB(l),f=r?"":"i",h=(a||bB(l)).map(b=>{let E=Cc(i,b),C=K$(E).replaceAll(String.raw`\*\*/`,"(.+/)?").replaceAll(String.raw`\*`,`${Sc}*`).replaceAll(String.raw`\?`,Sc);return new RegExp(`^${C}($|/)`,f)}),_=n||s?s:[X$],g=_?_.map(b=>{let E=Cc(i,b);yB.test(E)&&(E=Cc(E,X$));let C=K$(E).replaceAll(String.raw`/\*\*`,`(/${N0}${O0}${Sc}*)*?`).replaceAll(/(\/)?\\\*/g,(T,N)=>{let I=`(${O0}|(\\.(?!min\\.js$))?)*`;return N?`/${N0}${O0}${I}`:I}).replaceAll(/(\/)?\\\?/g,(T,N)=>{let I=Sc;return N?`/${N0}${I}`:I});return new RegExp(`^${C}$`,f)}):void 0;return b=>{if(!je.isAbsolute(b))throw new Error("filePath must be absolute");if(J$&&(b=ur(b)),u!=null&&u.includes(b)||!(!p.some(E=>b.endsWith(E))||h.some(E=>E.test(b)))&&g&&g.some(E=>E.test(b)))return e}},"createFilesMatcher");import K0 from"fs";import gi from"path";var z0=it(vr(),1);function aT(e){return O.url().safeParse(e).success}var ye=e=>z0.default.bold(z0.default.cyan(e)),Ic=e=>e.endsWith("/")?e.slice(0,-1):e;function xB(e){return e instanceof URL||(e=new URL(e)),e.pathname.endsWith("/")||(e=new URL(e),e.pathname=e.pathname+"/"),e}function Ac(e,t){let r=xB(e);return new URL(t,r)}function Pc(e){let t=e,r="latest";if(e.startsWith("@")?e.includes("@",1)&&([,t,r]=e.split(/(.*)(?:@)(.*)/)):e.includes("@",1)&&([t,r]=e.split("@")),!t||!r)throw Oe(`Failed to parse dependency: ${e}`);return{name:t,version:r}}function Gi(e){if(e.size>0)return Array.from(e)}var Gt="https://shadcn-svelte.com",Rc="https://tw3.shadcn-svelte.com",Co=["components","ui","hooks","utils","lib"],Nc=Co.reduce((e,t)=>(e[t]={placeholder:`$${t.toUpperCase()}$`,defaultPath:t==="utils"?"$lib/utils":`$lib/registry/${t}`},e),{});import $B from"path";import{fileURLToPath as TB,pathToFileURL as IB}from"url";function oT(e,t,r){throw new Error(r?`No known conditions for "${t}" specifier in "${e}" package`:`Missing "${t}" specifier in "${e}" package`)}function lT(e,t,r,i){let n,s,a=uT(e,r),l=function(p){let f=new Set(["default",...p.conditions||[]]);return p.unsafe||f.add(p.require?"require":"import"),p.unsafe||f.add(p.browser?"browser":"node"),f}(i||{}),u=t[a];if(u===void 0){let p,f,h,_;for(_ in t)f&&_.length<f.length||(_[_.length-1]==="/"&&a.startsWith(_)?(s=a.substring(_.length),f=_):_.length>1&&(h=_.indexOf("*",1),~h&&(p=RegExp("^"+_.substring(0,h)+"(.*)"+_.substring(1+h)+"$").exec(a),p&&p[1]&&(s=p[1],f=_))));u=t[f]}return u||oT(e,a),n=U0(u,l),n||oT(e,a,1),s&&function(p,f){let h,_=0,g=p.length,b=/[*]/g,E=/[/]$/;for(;_<g;_++)p[_]=b.test(h=p[_])?h.replace(b,f):E.test(h)?h+f:h}(n,s),n}function uT(e,t,r){if(e===t||t===".")return".";let i=e+"/",n=i.length,s=t.slice(0,n)===i,a=s?t.slice(n):t;return a[0]==="#"?a:s||!r?a.slice(0,2)==="./"?a:"./"+a:a}function U0(e,t,r){if(e){if(typeof e=="string")return r&&r.add(e),[e];let i,n;if(Array.isArray(e)){for(n=r||new Set,i=0;i<e.length;i++)U0(e[i],t,n);if(!r&&n.size)return[...n]}else for(i in e)if(t.has(i))return U0(e[i],t,r)}}function kB(e,t,r){let i,n=e.exports;if(n){if(typeof n=="string")n={".":n};else for(i in n){i[0]!=="."&&(n={".":n});break}return lT(e.name,n,t||".",r)}}function wB(e,t,r){if(e.imports)return lT(e.name,e.imports,t,r)}function cT(e,t,r){return(t=uT(e.name,t||"."))[0]==="#"?wB(e,t,r):kB(e,t,r)}import Oc from"path";import V0 from"fs";import{fileURLToPath as DB}from"url";import{createRequire as CB}from"module";function Lc(){let e=SB("../package.json");return pT(e)}function SB(e){let t=DB(new URL(".",import.meta.url));return Oc.resolve(t,e)}function Rr(e){let t=Oc.resolve(e,"package.json");return pT(t)}function pT(e){let t=V0.readFileSync(e,{encoding:"utf8"});return JSON.parse(t)}function cn(e,t){let i=CB(Oc.resolve(e,"noop.js")).resolve.paths(t);if(!i)return;let n;for(let a of i){let l=Oc.join(a,t,"package.json");if(V0.existsSync(l)){n=l;break}}if(!n)return;let s=V0.readFileSync(n,"utf8");return{pkg:JSON.parse(s),path:n}}var dT="/noop.js";function Fc(e){let r=sT(e.tsconfig)?.(e.importPath)?.[0];if(r)return r;let i=Rr(e.cwd);if(e.importPath.startsWith("#")){let s=$B.resolve(e.cwd,"package.json"),a=fT(i,s,e.importPath);if(a)return a}let n=Object.keys({...i.dependencies,...i.devDependencies});for(let s of n){if(!e.importPath.startsWith(s))continue;let a=cn(e.cwd,s);if(!a)continue;let l=fT(a.pkg,a.path,e.importPath);if(l)return l}}function fT(e,t,r){try{let i=cT(e,r+dT)?.[0];if(i){let n=IB(t),s=new URL(i.slice(0,-dT.length),n).href;return TB(s)}}catch{return}}import Cz from"fs";import Sz from"path";import{createRequire as AB}from"module";import{spawn as YB}from"child_process";import{normalize as QB}from"path";import{cwd as ez}from"process";import{delimiter as mT,resolve as tz,dirname as rz}from"path";import{PassThrough as oz}from"stream";import cz from"readline";var Ls=AB(import.meta.url),PB=Object.create,gT=Object.defineProperty,RB=Object.getOwnPropertyDescriptor,NB=Object.getOwnPropertyNames,OB=Object.getPrototypeOf,LB=Object.prototype.hasOwnProperty,hi=(e=>typeof Ls<"u"?Ls:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof Ls<"u"?Ls:t)[r]}):e)(function(e){if(typeof Ls<"u")return Ls.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),kr=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),FB=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of NB(t))!LB.call(e,n)&&n!==r&&gT(e,n,{get:()=>t[n],enumerable:!(i=RB(t,n))||i.enumerable});return e},jB=(e,t,r)=>(r=e!=null?PB(OB(e)):{},FB(t||!e||!e.__esModule?gT(r,"default",{value:e,enumerable:!0}):r,e)),qB=kr((e,t)=>{"use strict";t.exports=s,s.sync=a;var r=hi("fs");function i(l,u){var p=u.pathExt!==void 0?u.pathExt:process.env.PATHEXT;if(!p||(p=p.split(";"),p.indexOf("")!==-1))return!0;for(var f=0;f<p.length;f++){var h=p[f].toLowerCase();if(h&&l.substr(-h.length).toLowerCase()===h)return!0}return!1}function n(l,u,p){return!l.isSymbolicLink()&&!l.isFile()?!1:i(u,p)}function s(l,u,p){r.stat(l,function(f,h){p(f,f?!1:n(h,l,u))})}function a(l,u){return n(r.statSync(l),l,u)}}),MB=kr((e,t)=>{"use strict";t.exports=i,i.sync=n;var r=hi("fs");function i(l,u,p){r.stat(l,function(f,h){p(f,f?!1:s(h,u))})}function n(l,u){return s(r.statSync(l),u)}function s(l,u){return l.isFile()&&a(l,u)}function a(l,u){var p=l.mode,f=l.uid,h=l.gid,_=u.uid!==void 0?u.uid:process.getuid&&process.getuid(),g=u.gid!==void 0?u.gid:process.getgid&&process.getgid(),b=parseInt("100",8),E=parseInt("010",8),C=parseInt("001",8),T=b|E,N=p&C||p&E&&h===g||p&b&&f===_||p&T&&_===0;return N}}),BB=kr((e,t)=>{"use strict";var r=hi("fs"),i;process.platform==="win32"||global.TESTING_WINDOWS?i=qB():i=MB(),t.exports=n,n.sync=s;function n(a,l,u){if(typeof l=="function"&&(u=l,l={}),!u){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(p,f){n(a,l||{},function(h,_){h?f(h):p(_)})})}i(a,l||{},function(p,f){p&&(p.code==="EACCES"||l&&l.ignoreErrors)&&(p=null,f=!1),u(p,f)})}function s(a,l){try{return i.sync(a,l||{})}catch(u){if(l&&l.ignoreErrors||u.code==="EACCES")return!1;throw u}}}),zB=kr((e,t)=>{"use strict";var r=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",i=hi("path"),n=r?";":":",s=BB(),a=f=>Object.assign(new Error(`not found: ${f}`),{code:"ENOENT"}),l=(f,h)=>{let _=h.colon||n,g=f.match(/\//)||r&&f.match(/\\/)?[""]:[...r?[process.cwd()]:[],...(h.path||process.env.PATH||"").split(_)],b=r?h.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",E=r?b.split(_):[""];return r&&f.indexOf(".")!==-1&&E[0]!==""&&E.unshift(""),{pathEnv:g,pathExt:E,pathExtExe:b}},u=(f,h,_)=>{typeof h=="function"&&(_=h,h={}),h||(h={});let{pathEnv:g,pathExt:b,pathExtExe:E}=l(f,h),C=[],T=I=>new Promise((V,K)=>{if(I===g.length)return h.all&&C.length?V(C):K(a(f));let te=g[I],ke=/^".*"$/.test(te)?te.slice(1,-1):te,W=i.join(ke,f),c=!ke&&/^\.[\\\/]/.test(f)?f.slice(0,2)+W:W;V(N(c,I,0))}),N=(I,V,K)=>new Promise((te,ke)=>{if(K===b.length)return te(T(V+1));let W=b[K];s(I+W,{pathExt:E},(c,m)=>{if(!c&&m)if(h.all)C.push(I+W);else return te(I+W);return te(N(I,V,K+1))})});return _?T(0).then(I=>_(null,I),_):T(0)},p=(f,h)=>{h=h||{};let{pathEnv:_,pathExt:g,pathExtExe:b}=l(f,h),E=[];for(let C=0;C<_.length;C++){let T=_[C],N=/^".*"$/.test(T)?T.slice(1,-1):T,I=i.join(N,f),V=!N&&/^\.[\\\/]/.test(f)?f.slice(0,2)+I:I;for(let K=0;K<g.length;K++){let te=V+g[K];try{if(s.sync(te,{pathExt:b}))if(h.all)E.push(te);else return te}catch{}}}if(h.all&&E.length)return E;if(h.nothrow)return null;throw a(f)};t.exports=u,u.sync=p}),UB=kr((e,t)=>{"use strict";var r=(i={})=>{let n=i.env||process.env;return(i.platform||process.platform)!=="win32"?"PATH":Object.keys(n).reverse().find(s=>s.toUpperCase()==="PATH")||"Path"};t.exports=r,t.exports.default=r}),VB=kr((e,t)=>{"use strict";var r=hi("path"),i=zB(),n=UB();function s(l,u){let p=l.options.env||process.env,f=process.cwd(),h=l.options.cwd!=null,_=h&&process.chdir!==void 0&&!process.chdir.disabled;if(_)try{process.chdir(l.options.cwd)}catch{}let g;try{g=i.sync(l.command,{path:p[n({env:p})],pathExt:u?r.delimiter:void 0})}catch{}finally{_&&process.chdir(f)}return g&&(g=r.resolve(h?l.options.cwd:"",g)),g}function a(l){return s(l)||s(l,!0)}t.exports=a}),HB=kr((e,t)=>{"use strict";var r=/([()\][%!^"`<>&|;, *?])/g;function i(s){return s=s.replace(r,"^$1"),s}function n(s,a){return s=`${s}`,s=s.replace(/(\\*)"/g,'$1$1\\"'),s=s.replace(/(\\*)$/,"$1$1"),s=`"${s}"`,s=s.replace(r,"^$1"),a&&(s=s.replace(r,"^$1")),s}t.exports.command=i,t.exports.argument=n}),ZB=kr((e,t)=>{"use strict";t.exports=/^#!(.*)/}),WB=kr((e,t)=>{"use strict";var r=ZB();t.exports=(i="")=>{let n=i.match(r);if(!n)return null;let[s,a]=n[0].replace(/#! ?/,"").split(" "),l=s.split("/").pop();return l==="env"?a:a?`${l} ${a}`:l}}),GB=kr((e,t)=>{"use strict";var r=hi("fs"),i=WB();function n(s){let a=Buffer.alloc(150),l;try{l=r.openSync(s,"r"),r.readSync(l,a,0,150,0),r.closeSync(l)}catch{}return i(a.toString())}t.exports=n}),KB=kr((e,t)=>{"use strict";var r=hi("path"),i=VB(),n=HB(),s=GB(),a=process.platform==="win32",l=/\.(?:com|exe)$/i,u=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;function p(_){_.file=i(_);let g=_.file&&s(_.file);return g?(_.args.unshift(_.file),_.command=g,i(_)):_.file}function f(_){if(!a)return _;let g=p(_),b=!l.test(g);if(_.options.forceShell||b){let E=u.test(g);_.command=r.normalize(_.command),_.command=n.command(_.command),_.args=_.args.map(T=>n.argument(T,E));let C=[_.command].concat(_.args).join(" ");_.args=["/d","/s","/c",`"${C}"`],_.command=process.env.comspec||"cmd.exe",_.options.windowsVerbatimArguments=!0}return _}function h(_,g,b){g&&!Array.isArray(g)&&(b=g,g=null),g=g?g.slice(0):[],b=Object.assign({},b);let E={command:_,args:g,options:b,file:void 0,original:{command:_,args:g}};return b.shell?E:f(E)}t.exports=h}),XB=kr((e,t)=>{"use strict";var r=process.platform==="win32";function i(l,u){return Object.assign(new Error(`${u} ${l.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${u} ${l.command}`,path:l.command,spawnargs:l.args})}function n(l,u){if(!r)return;let p=l.emit;l.emit=function(f,h){if(f==="exit"){let _=s(h,u,"spawn");if(_)return p.call(l,"error",_)}return p.apply(l,arguments)}}function s(l,u){return r&&l===1&&!u.file?i(u.original,"spawn"):null}function a(l,u){return r&&l===1&&!u.file?i(u.original,"spawnSync"):null}t.exports={hookChildProcess:n,verifyENOENT:s,verifyENOENTSync:a,notFoundError:i}}),JB=kr((e,t)=>{"use strict";var r=hi("child_process"),i=KB(),n=XB();function s(l,u,p){let f=i(l,u,p),h=r.spawn(f.command,f.args,f.options);return n.hookChildProcess(h,f),h}function a(l,u,p){let f=i(l,u,p),h=r.spawnSync(f.command,f.args,f.options);return h.error=h.error||n.verifyENOENTSync(h.status,f),h}t.exports=s,t.exports.spawn=s,t.exports.sync=a,t.exports._parse=i,t.exports._enoent=n}),nz=/^path$/i,hT={key:"PATH",value:""};function iz(e){for(let t in e){if(!Object.prototype.hasOwnProperty.call(e,t)||!nz.test(t))continue;let r=e[t];return r?{key:t,value:r}:hT}return hT}function sz(e,t){let r=t.value.split(mT),i=e,n;do r.push(tz(i,"node_modules",".bin")),n=i,i=rz(i);while(i!==n);return{key:t.key,value:r.join(mT)}}function az(e,t){let r={...process.env,...t},i=sz(e,iz(r));return r[i.key]=i.value,r}var lz=e=>{let t=e.length,r=new oz,i=()=>{--t===0&&r.emit("end")};for(let n of e)n.pipe(r,{end:!1}),n.on("end",i);return r},uz=jB(JB(),1),_T=class extends Error{result;output;get exitCode(){if(this.result.exitCode!==null)return this.result.exitCode}constructor(e,t){super(`Process exited with non-zero status (${e.exitCode})`),this.result=e,this.output=t}},pz={timeout:void 0,persist:!1},dz={windowsHide:!0};function fz(e,t){return{command:QB(e),args:t??[]}}function mz(e){let t=new AbortController;for(let r of e){if(r.aborted)return t.abort(),r;let i=()=>{t.abort(r.reason)};r.addEventListener("abort",i,{signal:t.signal})}return t.signal}var hz=class{_process;_aborted=!1;_options;_command;_args;_resolveClose;_processClosed;_thrownError;get process(){return this._process}get pid(){return this._process?.pid}get exitCode(){if(this._process&&this._process.exitCode!==null)return this._process.exitCode}constructor(e,t,r){this._options={...pz,...r},this._command=e,this._args=t??[],this._processClosed=new Promise(i=>{this._resolveClose=i})}kill(e){return this._process?.kill(e)===!0}get aborted(){return this._aborted}get killed(){return this._process?.killed===!0}pipe(e,t,r){return So(e,t,{...r,stdin:this})}async*[Symbol.asyncIterator](){let e=this._process;if(!e)return;let t=[];this._streamErr&&t.push(this._streamErr),this._streamOut&&t.push(this._streamOut);let r=lz(t),i=cz.createInterface({input:r});for await(let n of i)yield n.toString();if(await this._processClosed,e.removeAllListeners(),this._thrownError)throw this._thrownError;if(this._options?.throwOnError&&this.exitCode!==0&&this.exitCode!==void 0)throw new _T(this)}async _waitForOutput(){let e=this._process;if(!e)throw new Error("No process was started");let t="",r="";if(this._streamOut)for await(let n of this._streamOut)r+=n.toString();if(this._streamErr)for await(let n of this._streamErr)t+=n.toString();if(await this._processClosed,this._options?.stdin&&await this._options.stdin,e.removeAllListeners(),this._thrownError)throw this._thrownError;let i={stderr:t,stdout:r,exitCode:this.exitCode};if(this._options.throwOnError&&this.exitCode!==0&&this.exitCode!==void 0)throw new _T(this,i);return i}then(e,t){return this._waitForOutput().then(e,t)}_streamOut;_streamErr;spawn(){let e=ez(),t=this._options,r={...dz,...t.nodeOptions},i=[];this._resetState(),t.timeout!==void 0&&i.push(AbortSignal.timeout(t.timeout)),t.signal!==void 0&&i.push(t.signal),t.persist===!0&&(r.detached=!0),i.length>0&&(r.signal=mz(i)),r.env=az(e,r.env);let{command:n,args:s}=fz(this._command,this._args),a=(0,uz._parse)(n,s,r),l=YB(a.command,a.args,a.options);if(l.stderr&&(this._streamErr=l.stderr),l.stdout&&(this._streamOut=l.stdout),this._process=l,l.once("error",this._onError),l.once("close",this._onClose),t.stdin!==void 0&&l.stdin&&t.stdin.process){let{stdout:u}=t.stdin.process;u&&u.pipe(l.stdin)}}_resetState(){this._aborted=!1,this._processClosed=new Promise(e=>{this._resolveClose=e}),this._thrownError=void 0}_onError=e=>{if(e.name==="AbortError"&&(!(e.cause instanceof Error)||e.cause.name!=="TimeoutError")){this._aborted=!0;return}this._thrownError=e};_onClose=()=>{this._resolveClose&&this._resolveClose()}},_z=(e,t,r)=>{let i=new hz(e,t,r);return i.spawn(),i},So=_z;function H0(e,t){return r=>r.length>1?[e,t,r[0],"--",...r.slice(1)]:[e,t,r[0]]}function gz(){return e=>["deno","run",`npm:${e[0]}`,...e.slice(1)]}var bz={agent:["npm",0],run:H0("npm","run"),install:["npm","i",0],frozen:["npm","ci",0],global:["npm","i","-g",0],add:["npm","i",0],upgrade:["npm","update",0],"upgrade-interactive":null,execute:["npx",0],"execute-local":["npx",0],uninstall:["npm","uninstall",0],global_uninstall:["npm","uninstall","-g",0]},vT={agent:["yarn",0],run:["yarn","run",0],install:["yarn","install",0],frozen:["yarn","install","--frozen-lockfile",0],global:["yarn","global","add",0],add:["yarn","add",0],upgrade:["yarn","upgrade",0],"upgrade-interactive":["yarn","upgrade-interactive",0],execute:["npx",0],"execute-local":H0("yarn","exec"),uninstall:["yarn","remove",0],global_uninstall:["yarn","global","remove",0]},vz={...vT,frozen:["yarn","install","--immutable",0],upgrade:["yarn","up",0],"upgrade-interactive":["yarn","up","-i",0],execute:["yarn","dlx",0],"execute-local":["yarn","exec",0],global:["npm","i","-g",0],global_uninstall:["npm","uninstall","-g",0]},bT={agent:["pnpm",0],run:["pnpm","run",0],install:["pnpm","i",0],frozen:["pnpm","i","--frozen-lockfile",0],global:["pnpm","add","-g",0],add:["pnpm","add",0],upgrade:["pnpm","update",0],"upgrade-interactive":["pnpm","update","-i",0],execute:["pnpm","dlx",0],"execute-local":["pnpm","exec",0],uninstall:["pnpm","remove",0],global_uninstall:["pnpm","remove","--global",0]},yz={agent:["bun",0],run:["bun","run",0],install:["bun","install",0],frozen:["bun","install","--frozen-lockfile",0],global:["bun","add","-g",0],add:["bun","add",0],upgrade:["bun","update",0],"upgrade-interactive":["bun","update",0],execute:["bun","x",0],"execute-local":["bun","x",0],uninstall:["bun","remove",0],global_uninstall:["bun","remove","-g",0]},xz={agent:["deno",0],run:["deno","task",0],install:["deno","install",0],frozen:["deno","install","--frozen",0],global:["deno","install","-g",0],add:["deno","add",0],upgrade:["deno","outdated","--update",0],"upgrade-interactive":["deno","outdated","--update",0],execute:gz(),"execute-local":["deno","task","--eval",0],uninstall:["deno","remove",0],global_uninstall:["deno","uninstall","-g",0]},yT={npm:bz,yarn:vT,"yarn@berry":vz,pnpm:bT,"pnpm@6":{...bT,run:H0("pnpm","run")},bun:yz,deno:xz};function Fs(e,t,r){let i=yT[e][t];return xT(i,r)}function xT(e,t){if(e==null)return null;let r=typeof e=="function"?e(t):e.flatMap(i=>typeof i=="number"?t:[i]);return{command:r[0],args:r.slice(1)}}var js=["npm","yarn","yarn@berry","pnpm","pnpm@6","bun","deno"],jc={"bun.lock":"bun","bun.lockb":"bun","deno.lock":"deno","pnpm-lock.yaml":"pnpm","pnpm-workspace.yaml":"pnpm","yarn.lock":"yarn","package-lock.json":"npm","npm-shrinkwrap.json":"npm"},qc={"node_modules/.deno/":"deno","node_modules/.pnpm/":"pnpm","node_modules/.yarn-state.yml":"yarn","node_modules/.yarn_integrity":"yarn","node_modules/.package-lock.json":"npm",".pnp.cjs":"yarn",".pnp.js":"yarn","bun.lock":"bun","bun.lockb":"bun"};import wT from"fs/promises";import _i from"path";import ET from"process";async function Z0(e,t){try{let r=await wT.stat(e);return t==="file"?r.isFile():r.isDirectory()}catch{return!1}}function W0(){let e=ET.env.npm_config_user_agent;if(!e)return null;let t=e.split("/")[0];return js.includes(t)?t:null}function*kz(e=ET.cwd()){let t=_i.resolve(e),{root:r}=_i.parse(t);for(;t&&t!==r;)yield t,t=_i.dirname(t)}async function kT(e,t){return!e||!Z0(e,"file")?null:await Ez(e,t)}async function $o(e={}){let{cwd:t,strategies:r=["lockfile","packageManager-field","devEngines-field"],onUnknown:i}=e,n;if(typeof e.stopDir=="string"){let s=_i.resolve(e.stopDir);n=a=>a===s}else n=e.stopDir;for(let s of kz(t)){for(let a of r)switch(a){case"lockfile":{for(let l of Object.keys(jc))if(await Z0(_i.join(s,l),"file")){let u=jc[l],p=await kT(_i.join(s,"package.json"),i);return p||{name:u,agent:u}}break}case"packageManager-field":case"devEngines-field":{let l=await kT(_i.join(s,"package.json"),i);if(l)return l;break}case"install-metadata":{for(let l of Object.keys(qc)){let u=l.endsWith("/")?"dir":"file";if(await Z0(_i.join(s,l),u)){let p=qc[l],f=p==="yarn"?Dz(l)?"yarn":"yarn@berry":p;return{name:p,agent:f}}}break}}if(n?.(s))break}return null}function wz(e){let t=r=>r?.match(/\d+(\.\d+){0,2}/)?.[0]??r;if(typeof e.packageManager=="string"){let[r,i]=e.packageManager.replace(/^\^/,"").split("@");return{name:r,ver:t(i)}}if(typeof e.devEngines?.packageManager?.name=="string")return{name:e.devEngines.packageManager.name,ver:t(e.devEngines.packageManager.version)}}async function Ez(e,t){try{let r=JSON.parse(await wT.readFile(e,"utf8")),i,n=wz(r);if(n){let s=n.name,a=n.ver,l=a;return s==="yarn"&&a&&Number.parseInt(a)>1?(i="yarn@berry",l="berry",{name:s,agent:i,version:l}):s==="pnpm"&&a&&Number.parseInt(a)<7?(i="pnpm@6",{name:s,agent:i,version:l}):js.includes(s)?(i=s,{name:s,agent:i,version:l}):t?.(r.packageManager)??null}}catch{}return null}function Dz(e){return e.endsWith(".yarn_integrity")}import"fs/promises";import"path";import"process";async function Mc(e){if(G0(e)){if(Cz.existsSync(Sz.join(e,".svelte-kit")))return;let r=(await $o({cwd:e}))?.agent??"npm",i=Fs(r,"execute-local",["svelte-kit","sync"]);await So(i.command,i.args,{throwOnError:!0,nodeOptions:{cwd:e}})}}function G0(e){let t=Rr(e);return{...t.devDependencies,...t.dependencies}["@sveltejs/kit"]!==void 0}var wr={$schema:`${Gt}/schema.json`,aliases:{lib:"$lib",utils:"$lib/utils",hooks:"$lib/hooks",components:"$lib/components",ui:"$lib/components/ui"},tailwind:{baseColor:"slate",css:"src/app.css"},typescript:!0,registry:`${Gt}/registry`},To=e=>O.string(`Missing aliases.${Nr.default.bold(`${e}`)} alias`).transform(t=>t.replace(/[\u{0080}-\u{FFFF}]/gu,"")).transform(t=>Ic(t)),X0=O.object({$schema:O.string().optional(),tailwind:O.object({css:O.string(`Missing tailwind.${Nr.default.bold("css")} path`),baseColor:O.string(`Missing tailwind.${Nr.default.bold("baseColor")} field`)},`Missing ${Nr.default.bold("tailwind")} object`),aliases:O.object({components:To("components"),utils:To("utils")},`Missing ${Nr.default.bold("aliases")} object`),typescript:O.union([O.boolean(),O.object({config:O.string()})],`Invalid ${Nr.default.bold("typescript")} field. Must either be 'true', 'false', or '{ "config": "path/to/tsconfig.json" }'`).default(wr.typescript)}),DT=X0.extend({style:O.string().optional()}),J0=X0.extend({aliases:X0.shape.aliases.extend({ui:To("ui").default(wr.aliases.ui),hooks:To("hooks").default(wr.aliases.hooks),lib:To("lib").default(wr.aliases.lib)}),registry:O.string().default(wr.registry)}),Bc=O.object({...DT.shape,...J0.shape,aliases:O.object({...DT.shape.aliases.shape,...J0.shape.aliases.shape})}),$z=Bc.extend({sveltekit:O.boolean(),resolvedPaths:O.object({cwd:O.string(),tailwindCss:O.string(),utils:O.string(),components:O.string(),hooks:O.string(),ui:O.string(),lib:O.string()})});async function zc(e){let t=Q0(e);if(t)return await Y0(e,t)}async function Y0(e,t){await Mc(e);let r=Uc(e,t),i=gi.basename(r.path);if(!r.config.compilerOptions?.paths)throw Oe(`Missing ${ye("paths")} field in your ${ye(i)} for path aliases. See: ${Nr.default.underline(`${Gt}/docs/installation/manual#configure-path-aliases`)}`);let n=(l,u)=>new di(`Invalid import alias found: (${ye(`"${l}": "${u}"`)}) in ${ye("components.json")}.
   - Import aliases ${Nr.default.underline("must use")} existing path aliases defined in your ${ye(i)} (e.g. "${l}": "$lib/${l}").
   - See: ${Nr.default.underline(`${Gt}/docs/installation/manual#configure-path-aliases`)}.`),s={cwd:e,tailwindCss:gi.resolve(e,t.tailwind.css)};for(let[l,u]of Object.entries(t.aliases)){let p=Fc({cwd:e,importPath:u,tsconfig:r});if(!p)throw n(l,u);s[l]=gi.normalize(p)}let a=G0(e);return $z.parse({...t,sveltekit:a,resolvedPaths:s})}function Q0(e){let t=gi.resolve(e,"components.json");if(K0.existsSync(t))try{let r=K0.readFileSync(t,{encoding:"utf8"}),i=JSON.parse(r);return Bc.parse(i)}catch(r){if(!(r instanceof O.ZodError))throw r;let i=O.prettifyError(r);throw new di(`Invalid configuration found in ${ye(t)}.

${i}`)}}function Io(e,t){let r=gi.resolve(e,"components.json"),i=J0.parse(t,{jitless:!0});K0.writeFileSync(r,JSON.stringify(i,null,"	")+`
`,"utf8")}function Uc(e,t){let r,i;if(typeof t.typescript=="object"){let n=gi.resolve(e,t.typescript.config);i=gi.basename(n),r=B0(n,i)}else i=t.typescript?"tsconfig.json":"jsconfig.json",r=B0(gi.resolve(e,"package.json"),i);if(!r){let n=`Failed to find a ${ye(i)} file. `;throw t.typescript?n+=`See: ${Nr.default.underline(`${Gt}/docs/components-json#typescript`)}`:n+=`See: ${Nr.default.underline(`${Gt}/docs/installation#opt-out-of-typescript`)}`,Oe(n)}return r}import Tz from"process";function bi(){let{env:e}=Tz;return e.HTTP_PROXY||e.http_proxy||e.HTTPS_PROXY||e.https_proxy||e.npm_config_proxy||e.npm_config_https_proxy}var ek=it(vr(),1);import Iz from"process";var Az=e=>`\x1B[48;2;255;85;0m${e}\x1B[0m`;function vi(){let e=Lc(),t=Az(ek.default.black(" shadcn-svelte ")),r=ek.default.gray(` v${e.version} `);O$(t+r),(typeof Bun<"u"||typeof Deno<"u")&&He.warn("You are currently using an unsupported runtime. Only Node.js v22 or higher is officially supported. Continue at your own risk.")}function $t(e="Operation cancelled."){jn(e),Iz.exit(0)}function Mn(e,t=9){return e.reduce((r,i,n)=>n%t===0?`${r},
${i}`:`${r}, ${i}`)}import Zc from"path";import{fetch as Lz}from"node-fetch-native";import{createProxy as Fz}from"node-fetch-native/proxy";var CT=["registry:file","registry:page","registry:ui","registry:component","registry:lib","registry:hook","registry:theme","registry:style"],Pz=["registry:block"],Rz=["registry:example","registry:internal"],Nz=O.enum([...CT,...Pz,...Rz]).describe("The type of the item. Used to determine the type and target path of the item when resolved for a project."),ST=O.enum(CT).describe("The type of the file. Used to resolve the file's path for a project."),$T=O.object({content:O.string().describe("The content of the file."),type:ST,target:O.string().describe("The target path of the file. This is where the file will be installed.")}).describe("The main payload of the registry item. This is an array of files that are part of the registry item. Each file is an object with a target, type, and content."),TT=O.string().array().describe("An array of registry items that this item depends on. Use the name of the item to reference shadcn/ui components and urls to reference other registries."),tk=O.object({name:O.string().describe("The name of the item. Used to identify the item in the registry. It should be unique for your registry."),title:O.string().optional().describe("The human-readable title for your registry item. Keep it short and descriptive."),type:Nz,author:O.string().min(2,"Author name must be at least 2 characters").optional().describe("The author of the item. Recommended format: username <url>"),description:O.string().optional().describe("The description of the item. Used to provide a brief overview of the item."),dependencies:O.string().array().optional().describe("An array of NPM dependencies required by the registry item."),devDependencies:O.string().array().optional().describe("An array of NPM dev dependencies required by the registry item."),registryDependencies:O.optional(TT),meta:O.record(O.string(),O.any()).optional().describe("Additional metadata for the registry item. This is an object with any key value pairs.")}),Oz=tk.extend({relativeUrl:O.string()}),Hc=O.array(Oz),Ki=O.record(O.string(),O.string()),IT=O.object({inlineColors:O.object({light:Ki,dark:Ki}),cssVars:O.object({light:Ki,dark:Ki}),inlineColorsTemplate:O.string(),cssVarsTemplate:O.string()}),AT=O.object({theme:O.optional(Ki).describe("CSS variables for the @theme directive. For Tailwind v4 projects only. Use tailwind for older projects."),light:O.optional(Ki).describe("CSS variables for the light theme."),dark:O.optional(Ki).describe("CSS variables for the dark theme.")}).describe("The css variables for the registry item. This will be merged with the project's css variables."),rk=O.record(O.string().describe("Direct CSS string (e.g., 'font-family: sans-serif; line-height: 1.5;')"),O.lazy(()=>O.union([O.string().describe("CSS property value (e.g., 'blue', 'var(--color-primary)')"),rk.describe("CSS property value for nested rule")])).describe("CSS properties or nested selectors")).describe("CSS definitions to be added to the project's CSS file. Supports at-rules, selectors, nested rules, utilities, layers, and more."),Ao=O.object({$schema:O.string().optional(),...tk.shape,docs:O.string().optional().describe("The documentation for the registry item. This is a markdown string."),categories:O.string().array().optional().describe("The categories of the registry item. This is an array of strings."),css:O.optional(rk),cssVars:O.optional(AT),files:O.array($T).default([])}),PT=O.object({$schema:O.string().optional(),name:O.string().describe("The name of the registry."),homepage:O.string().describe("The homepage of the registry."),overrideDependencies:O.string().array().optional().describe("An array of NPM dependencies that should have their versions overridden during registry `build`."),aliases:O.object({lib:O.string().optional(),ui:O.string().optional(),components:O.string().optional(),utils:O.string().optional(),hooks:O.string().optional()}).optional().describe("Defines which internal import paths should be transformed during registry `build`."),items:tk.extend({files:$T.partial().extend({path:O.string().describe("The path to the file relative to the registry root."),type:ST}).array().describe("An array of files that instructs the `build` command on how to locate and parse the registry files."),registryDependencies:TT,cssVars:O.optional(AT),css:O.optional(rk)}).array().describe("Defines a custom component registry.")}),obe=O.object({$schema:O.string().optional(),style:O.string().optional().describe("DEPRECATED IN TAILWIND v4! The style for your components. This cannot be changed after initialization."),tailwind:O.object({css:O.string().describe("Path to the CSS file that imports Tailwind CSS into your project."),baseColor:O.string().describe("Used to generate the default color palette for your components. This cannot be changed after initialization."),config:O.string().optional().describe("DEPRECATED IN TAILWIND v4! The path to your `tailwind.config.[js|ts]` file.")}),aliases:O.object({components:O.string().describe("Import alias for your components."),utils:O.string().describe("Import alias for your utility functions."),ui:O.string().optional().describe("Import alias for your UI components. Defaults to `$lib/components/ui`."),hooks:O.string().optional().describe("Import alias for your hooks. Defaults to `$lib/hooks`."),lib:O.string().optional().describe("Import alias for your library, which is typically where you store your components, utils, hooks, etc. Defaults to `$lib`.")}).describe("The CLI uses these values and the `alias` config from your `svelte.config.js` file to place generated components in the correct location."),registry:O.string().optional().describe("The registry URL tells the CLI where to fetch the shadcn-svelte components/registry from. You can pin this to a specific preview release or your own fork of the registry."),typescript:O.union([O.boolean(),O.object({config:O.string().describe("Path to the tsconfig/jsconfig file.")})]).optional().describe("Used to determine if Typescript is used for this project. When set to `false`, `.js` files will be installed instead. Defaults to `true`.")});function yi(e){return process.env.COMPONENTS_REGISTRY_URL??e.registry}async function qs(e){try{let t=Ac(e,"index.json"),[r]=await Gc([t]);return Hc.parse(r)}catch(t){throw t instanceof pi?t:Oe("Failed to fetch components from registry.")}}function NT(){return[{name:"slate",label:"Slate"},{name:"gray",label:"Gray"},{name:"zinc",label:"Zinc"},{name:"neutral",label:"Neutral"},{name:"stone",label:"Stone"}]}async function OT(e,t){try{let r=Ac(e,`colors/${t}.json`),[i]=await Gc([r]);return IT.parse(i)}catch(r){throw Oe(`Failed to fetch base color from registry. ${r instanceof Error?r.message:r}`)}}async function Po({registryIndex:e,items:t,parentUrl:r}){let i=[];for(let n of t){let s,a=e.find(l=>l.name===n);if(!a){let l=n.startsWith("./")||n.startsWith("../");if(aT(n)||r&&l){s=new URL(n,r);let[u]=await Gc([s]);a=Ao.parse(u)}else throw Oe(`Registry item '${n}' does not exist in the registry, nor is it a valid URL or a relative path to a registry dependency.`)}if(i.push(a),a.registryDependencies?.length){let l=await Po({registryIndex:e,items:a.registryDependencies,parentUrl:s});i.push(...l)}}return i.filter((n,s,a)=>a.findIndex(l=>l.name===n.name)===s)}async function Wc({baseUrl:e,items:t}){let r=t.filter(n=>!("relativeUrl"in n)),i=t.filter(n=>"relativeUrl"in n);try{let n=i.map(a=>Ac(e,a.relativeUrl)),s=(await Gc(n)).concat(r);return Ao.array().parse(s)}catch(n){throw n instanceof pi?n:Oe("Failed to fetch tree from registry.")}}async function Gc(e){let t=bi(),r=t?Fz({url:t}):{},i=e.map(async n=>{let s=await Lz(n,{...r});if(!s.ok)throw Oe(`Failed to fetch registry from ${n}: ${s.status} ${s.statusText}`);try{return await s.json()}catch(a){throw Oe(`Error parsing json response from ${n}: Error ${a}`)}});try{return await Promise.all(i)}catch(n){throw n instanceof pi?n:Oe(`Failed to fetch registry. ${n instanceof Error?`Error: ${n.message}`:n}`)}}function Xi(e,t){if(t==="registry:ui")return e.resolvedPaths.ui;if(t==="registry:lib")return e.resolvedPaths.lib;if(t==="registry:hook")return e.resolvedPaths.hooks;if(t==="registry:file")return e.resolvedPaths.cwd;if(t==="registry:style"||t==="registry:theme")return Zc.basename(e.resolvedPaths.tailwindCss);if(t==="registry:block"||t==="registry:component")return e.resolvedPaths.components;if(t==="registry:page")return e.sveltekit?Zc.resolve(e.resolvedPaths.cwd,"src","routes"):e.resolvedPaths.components;throw new Error(`TODO: unhandled item type ${t}`)}function Ms(e,t,r){if(r.target.startsWith("~/"))return Zc.resolve(e.resolvedPaths.cwd,r.target.replace("~/",""));if(t.name==="utils"){let n=e.resolvedPaths.utils;return n.match(/.*\.(ts|js)$/)?n:`${n}.ts`}let i;return r.type==="registry:file"?i=Xi(e,t.type):i=Xi(e,r.type),Zc.resolve(i,r.target)}var _r=it(vr(),1),SD=it(nk(),1);import hs from"path";import{existsSync as CD,promises as tu}from"fs";import{parse as Yce}from"postcss";var D;(function(e){e[e.NONE=0]="NONE";let r=1;e[e._abstract=r]="_abstract";let i=r+1;e[e._accessor=i]="_accessor";let n=i+1;e[e._as=n]="_as";let s=n+1;e[e._assert=s]="_assert";let a=s+1;e[e._asserts=a]="_asserts";let l=a+1;e[e._async=l]="_async";let u=l+1;e[e._await=u]="_await";let p=u+1;e[e._checks=p]="_checks";let f=p+1;e[e._constructor=f]="_constructor";let h=f+1;e[e._declare=h]="_declare";let _=h+1;e[e._enum=_]="_enum";let g=_+1;e[e._exports=g]="_exports";let b=g+1;e[e._from=b]="_from";let E=b+1;e[e._get=E]="_get";let C=E+1;e[e._global=C]="_global";let T=C+1;e[e._implements=T]="_implements";let N=T+1;e[e._infer=N]="_infer";let I=N+1;e[e._interface=I]="_interface";let V=I+1;e[e._is=V]="_is";let K=V+1;e[e._keyof=K]="_keyof";let te=K+1;e[e._mixins=te]="_mixins";let ke=te+1;e[e._module=ke]="_module";let W=ke+1;e[e._namespace=W]="_namespace";let c=W+1;e[e._of=c]="_of";let m=c+1;e[e._opaque=m]="_opaque";let v=m+1;e[e._out=v]="_out";let w=v+1;e[e._override=w]="_override";let $=w+1;e[e._private=$]="_private";let R=$+1;e[e._protected=R]="_protected";let j=R+1;e[e._proto=j]="_proto";let ee=j+1;e[e._public=ee]="_public";let J=ee+1;e[e._readonly=J]="_readonly";let B=J+1;e[e._require=B]="_require";let xe=B+1;e[e._satisfies=xe]="_satisfies";let Ze=xe+1;e[e._set=Ze]="_set";let Me=Ze+1;e[e._static=Me]="_static";let Pt=Me+1;e[e._symbol=Pt]="_symbol";let Rt=Pt+1;e[e._type=Rt]="_type";let Nt=Rt+1;e[e._unique=Nt]="_unique";let sr=Nt+1;e[e._using=sr]="_using"})(D||(D={}));var o;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let r=16;e[e.IS_KEYWORD=r]="IS_KEYWORD";let i=32;e[e.IS_ASSIGN=i]="IS_ASSIGN";let n=64;e[e.IS_RIGHT_ASSOCIATIVE=n]="IS_RIGHT_ASSOCIATIVE";let s=128;e[e.IS_PREFIX=s]="IS_PREFIX";let a=256;e[e.IS_POSTFIX=a]="IS_POSTFIX";let l=512;e[e.IS_EXPRESSION_START=l]="IS_EXPRESSION_START";let u=512;e[e.num=u]="num";let p=1536;e[e.bigint=p]="bigint";let f=2560;e[e.decimal=f]="decimal";let h=3584;e[e.regexp=h]="regexp";let _=4608;e[e.string=_]="string";let g=5632;e[e.name=g]="name";let b=6144;e[e.eof=b]="eof";let E=7680;e[e.bracketL=E]="bracketL";let C=8192;e[e.bracketR=C]="bracketR";let T=9728;e[e.braceL=T]="braceL";let N=10752;e[e.braceBarL=N]="braceBarL";let I=11264;e[e.braceR=I]="braceR";let V=12288;e[e.braceBarR=V]="braceBarR";let K=13824;e[e.parenL=K]="parenL";let te=14336;e[e.parenR=te]="parenR";let ke=15360;e[e.comma=ke]="comma";let W=16384;e[e.semi=W]="semi";let c=17408;e[e.colon=c]="colon";let m=18432;e[e.doubleColon=m]="doubleColon";let v=19456;e[e.dot=v]="dot";let w=20480;e[e.question=w]="question";let $=21504;e[e.questionDot=$]="questionDot";let R=22528;e[e.arrow=R]="arrow";let j=23552;e[e.template=j]="template";let ee=24576;e[e.ellipsis=ee]="ellipsis";let J=25600;e[e.backQuote=J]="backQuote";let B=27136;e[e.dollarBraceL=B]="dollarBraceL";let xe=27648;e[e.at=xe]="at";let Ze=29184;e[e.hash=Ze]="hash";let Me=29728;e[e.eq=Me]="eq";let Pt=30752;e[e.assign=Pt]="assign";let Rt=32640;e[e.preIncDec=Rt]="preIncDec";let Nt=33664;e[e.postIncDec=Nt]="postIncDec";let sr=34432;e[e.bang=sr]="bang";let Ot=35456;e[e.tilde=Ot]="tilde";let Wt=35841;e[e.pipeline=Wt]="pipeline";let bg=36866;e[e.nullishCoalescing=bg]="nullishCoalescing";let vg=37890;e[e.logicalOR=vg]="logicalOR";let yg=38915;e[e.logicalAND=yg]="logicalAND";let xg=39940;e[e.bitwiseOR=xg]="bitwiseOR";let kg=40965;e[e.bitwiseXOR=kg]="bitwiseXOR";let wg=41990;e[e.bitwiseAND=wg]="bitwiseAND";let Eg=43015;e[e.equality=Eg]="equality";let Dg=44040;e[e.lessThan=Dg]="lessThan";let Cg=45064;e[e.greaterThan=Cg]="greaterThan";let Sg=46088;e[e.relationalOrEqual=Sg]="relationalOrEqual";let $g=47113;e[e.bitShiftL=$g]="bitShiftL";let Tg=48137;e[e.bitShiftR=Tg]="bitShiftR";let Ig=49802;e[e.plus=Ig]="plus";let Ag=50826;e[e.minus=Ag]="minus";let Pg=51723;e[e.modulo=Pg]="modulo";let Rg=52235;e[e.star=Rg]="star";let Ng=53259;e[e.slash=Ng]="slash";let Og=54348;e[e.exponent=Og]="exponent";let Lg=55296;e[e.jsxName=Lg]="jsxName";let Fg=56320;e[e.jsxText=Fg]="jsxText";let jg=57344;e[e.jsxEmptyText=jg]="jsxEmptyText";let qg=58880;e[e.jsxTagStart=qg]="jsxTagStart";let Mg=59392;e[e.jsxTagEnd=Mg]="jsxTagEnd";let Bg=60928;e[e.typeParameterStart=Bg]="typeParameterStart";let zg=61440;e[e.nonNullAssertion=zg]="nonNullAssertion";let Ug=62480;e[e._break=Ug]="_break";let Vg=63504;e[e._case=Vg]="_case";let Hg=64528;e[e._catch=Hg]="_catch";let Zg=65552;e[e._continue=Zg]="_continue";let Wg=66576;e[e._debugger=Wg]="_debugger";let Gg=67600;e[e._default=Gg]="_default";let Kg=68624;e[e._do=Kg]="_do";let Xg=69648;e[e._else=Xg]="_else";let Jg=70672;e[e._finally=Jg]="_finally";let Yg=71696;e[e._for=Yg]="_for";let Qg=73232;e[e._function=Qg]="_function";let eb=73744;e[e._if=eb]="_if";let tb=74768;e[e._return=tb]="_return";let rb=75792;e[e._switch=rb]="_switch";let nb=77456;e[e._throw=nb]="_throw";let ib=77840;e[e._try=ib]="_try";let sb=78864;e[e._var=sb]="_var";let ab=79888;e[e._let=ab]="_let";let ob=80912;e[e._const=ob]="_const";let lb=81936;e[e._while=lb]="_while";let ub=82960;e[e._with=ub]="_with";let cb=84496;e[e._new=cb]="_new";let pb=85520;e[e._this=pb]="_this";let db=86544;e[e._super=db]="_super";let fb=87568;e[e._class=fb]="_class";let mb=88080;e[e._extends=mb]="_extends";let hb=89104;e[e._export=hb]="_export";let _b=90640;e[e._import=_b]="_import";let gb=91664;e[e._yield=gb]="_yield";let bb=92688;e[e._null=bb]="_null";let vb=93712;e[e._true=vb]="_true";let yb=94736;e[e._false=yb]="_false";let xb=95256;e[e._in=xb]="_in";let kb=96280;e[e._instanceof=kb]="_instanceof";let wb=97936;e[e._typeof=wb]="_typeof";let Eb=98960;e[e._void=Eb]="_void";let $j=99984;e[e._delete=$j]="_delete";let Tj=100880;e[e._async=Tj]="_async";let Ij=101904;e[e._get=Ij]="_get";let Aj=102928;e[e._set=Aj]="_set";let Pj=103952;e[e._declare=Pj]="_declare";let Rj=104976;e[e._readonly=Rj]="_readonly";let Nj=106e3;e[e._abstract=Nj]="_abstract";let Oj=107024;e[e._static=Oj]="_static";let Lj=107536;e[e._public=Lj]="_public";let Fj=108560;e[e._private=Fj]="_private";let jj=109584;e[e._protected=jj]="_protected";let qj=110608;e[e._override=qj]="_override";let Mj=112144;e[e._as=Mj]="_as";let Bj=113168;e[e._enum=Bj]="_enum";let zj=114192;e[e._type=zj]="_type";let Uj=115216;e[e._implements=Uj]="_implements"})(o||(o={}));function ik(e){switch(e){case o.num:return"num";case o.bigint:return"bigint";case o.decimal:return"decimal";case o.regexp:return"regexp";case o.string:return"string";case o.name:return"name";case o.eof:return"eof";case o.bracketL:return"[";case o.bracketR:return"]";case o.braceL:return"{";case o.braceBarL:return"{|";case o.braceR:return"}";case o.braceBarR:return"|}";case o.parenL:return"(";case o.parenR:return")";case o.comma:return",";case o.semi:return";";case o.colon:return":";case o.doubleColon:return"::";case o.dot:return".";case o.question:return"?";case o.questionDot:return"?.";case o.arrow:return"=>";case o.template:return"template";case o.ellipsis:return"...";case o.backQuote:return"`";case o.dollarBraceL:return"${";case o.at:return"@";case o.hash:return"#";case o.eq:return"=";case o.assign:return"_=";case o.preIncDec:return"++/--";case o.postIncDec:return"++/--";case o.bang:return"!";case o.tilde:return"~";case o.pipeline:return"|>";case o.nullishCoalescing:return"??";case o.logicalOR:return"||";case o.logicalAND:return"&&";case o.bitwiseOR:return"|";case o.bitwiseXOR:return"^";case o.bitwiseAND:return"&";case o.equality:return"==/!=";case o.lessThan:return"<";case o.greaterThan:return">";case o.relationalOrEqual:return"<=/>=";case o.bitShiftL:return"<<";case o.bitShiftR:return">>/>>>";case o.plus:return"+";case o.minus:return"-";case o.modulo:return"%";case o.star:return"*";case o.slash:return"/";case o.exponent:return"**";case o.jsxName:return"jsxName";case o.jsxText:return"jsxText";case o.jsxEmptyText:return"jsxEmptyText";case o.jsxTagStart:return"jsxTagStart";case o.jsxTagEnd:return"jsxTagEnd";case o.typeParameterStart:return"typeParameterStart";case o.nonNullAssertion:return"nonNullAssertion";case o._break:return"break";case o._case:return"case";case o._catch:return"catch";case o._continue:return"continue";case o._debugger:return"debugger";case o._default:return"default";case o._do:return"do";case o._else:return"else";case o._finally:return"finally";case o._for:return"for";case o._function:return"function";case o._if:return"if";case o._return:return"return";case o._switch:return"switch";case o._throw:return"throw";case o._try:return"try";case o._var:return"var";case o._let:return"let";case o._const:return"const";case o._while:return"while";case o._with:return"with";case o._new:return"new";case o._this:return"this";case o._super:return"super";case o._class:return"class";case o._extends:return"extends";case o._export:return"export";case o._import:return"import";case o._yield:return"yield";case o._null:return"null";case o._true:return"true";case o._false:return"false";case o._in:return"in";case o._instanceof:return"instanceof";case o._typeof:return"typeof";case o._void:return"void";case o._delete:return"delete";case o._async:return"async";case o._get:return"get";case o._set:return"set";case o._declare:return"declare";case o._readonly:return"readonly";case o._abstract:return"abstract";case o._static:return"static";case o._public:return"public";case o._private:return"private";case o._protected:return"protected";case o._override:return"override";case o._as:return"as";case o._enum:return"enum";case o._type:return"type";case o._implements:return"implements";default:return""}}var cr=class{constructor(t,r,i){this.startTokenIndex=t,this.endTokenIndex=r,this.isFunctionScope=i}},sk=class{constructor(t,r,i,n,s,a,l,u,p,f,h,_,g){this.potentialArrowAt=t,this.noAnonFunctionType=r,this.inDisallowConditionalTypesContext=i,this.tokensLength=n,this.scopesLength=s,this.pos=a,this.type=l,this.contextualKeyword=u,this.start=p,this.end=f,this.isType=h,this.scopeDepth=_,this.error=g}},No=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=o.eof}__init8(){this.contextualKeyword=D.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new sk(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(t){this.potentialArrowAt=t.potentialArrowAt,this.noAnonFunctionType=t.noAnonFunctionType,this.inDisallowConditionalTypesContext=t.inDisallowConditionalTypesContext,this.tokens.length=t.tokensLength,this.scopes.length=t.scopesLength,this.pos=t.pos,this.type=t.type,this.contextualKeyword=t.contextualKeyword,this.start=t.start,this.end=t.end,this.isType=t.isType,this.scopeDepth=t.scopeDepth,this.error=t.error}};var S;(function(e){e[e.backSpace=8]="backSpace";let r=10;e[e.lineFeed=r]="lineFeed";let i=9;e[e.tab=i]="tab";let n=13;e[e.carriageReturn=n]="carriageReturn";let s=14;e[e.shiftOut=s]="shiftOut";let a=32;e[e.space=a]="space";let l=33;e[e.exclamationMark=l]="exclamationMark";let u=34;e[e.quotationMark=u]="quotationMark";let p=35;e[e.numberSign=p]="numberSign";let f=36;e[e.dollarSign=f]="dollarSign";let h=37;e[e.percentSign=h]="percentSign";let _=38;e[e.ampersand=_]="ampersand";let g=39;e[e.apostrophe=g]="apostrophe";let b=40;e[e.leftParenthesis=b]="leftParenthesis";let E=41;e[e.rightParenthesis=E]="rightParenthesis";let C=42;e[e.asterisk=C]="asterisk";let T=43;e[e.plusSign=T]="plusSign";let N=44;e[e.comma=N]="comma";let I=45;e[e.dash=I]="dash";let V=46;e[e.dot=V]="dot";let K=47;e[e.slash=K]="slash";let te=48;e[e.digit0=te]="digit0";let ke=49;e[e.digit1=ke]="digit1";let W=50;e[e.digit2=W]="digit2";let c=51;e[e.digit3=c]="digit3";let m=52;e[e.digit4=m]="digit4";let v=53;e[e.digit5=v]="digit5";let w=54;e[e.digit6=w]="digit6";let $=55;e[e.digit7=$]="digit7";let R=56;e[e.digit8=R]="digit8";let j=57;e[e.digit9=j]="digit9";let ee=58;e[e.colon=ee]="colon";let J=59;e[e.semicolon=J]="semicolon";let B=60;e[e.lessThan=B]="lessThan";let xe=61;e[e.equalsTo=xe]="equalsTo";let Ze=62;e[e.greaterThan=Ze]="greaterThan";let Me=63;e[e.questionMark=Me]="questionMark";let Pt=64;e[e.atSign=Pt]="atSign";let Rt=65;e[e.uppercaseA=Rt]="uppercaseA";let Nt=66;e[e.uppercaseB=Nt]="uppercaseB";let sr=67;e[e.uppercaseC=sr]="uppercaseC";let Ot=68;e[e.uppercaseD=Ot]="uppercaseD";let Wt=69;e[e.uppercaseE=Wt]="uppercaseE";let bg=70;e[e.uppercaseF=bg]="uppercaseF";let vg=71;e[e.uppercaseG=vg]="uppercaseG";let yg=72;e[e.uppercaseH=yg]="uppercaseH";let xg=73;e[e.uppercaseI=xg]="uppercaseI";let kg=74;e[e.uppercaseJ=kg]="uppercaseJ";let wg=75;e[e.uppercaseK=wg]="uppercaseK";let Eg=76;e[e.uppercaseL=Eg]="uppercaseL";let Dg=77;e[e.uppercaseM=Dg]="uppercaseM";let Cg=78;e[e.uppercaseN=Cg]="uppercaseN";let Sg=79;e[e.uppercaseO=Sg]="uppercaseO";let $g=80;e[e.uppercaseP=$g]="uppercaseP";let Tg=81;e[e.uppercaseQ=Tg]="uppercaseQ";let Ig=82;e[e.uppercaseR=Ig]="uppercaseR";let Ag=83;e[e.uppercaseS=Ag]="uppercaseS";let Pg=84;e[e.uppercaseT=Pg]="uppercaseT";let Rg=85;e[e.uppercaseU=Rg]="uppercaseU";let Ng=86;e[e.uppercaseV=Ng]="uppercaseV";let Og=87;e[e.uppercaseW=Og]="uppercaseW";let Lg=88;e[e.uppercaseX=Lg]="uppercaseX";let Fg=89;e[e.uppercaseY=Fg]="uppercaseY";let jg=90;e[e.uppercaseZ=jg]="uppercaseZ";let qg=91;e[e.leftSquareBracket=qg]="leftSquareBracket";let Mg=92;e[e.backslash=Mg]="backslash";let Bg=93;e[e.rightSquareBracket=Bg]="rightSquareBracket";let zg=94;e[e.caret=zg]="caret";let Ug=95;e[e.underscore=Ug]="underscore";let Vg=96;e[e.graveAccent=Vg]="graveAccent";let Hg=97;e[e.lowercaseA=Hg]="lowercaseA";let Zg=98;e[e.lowercaseB=Zg]="lowercaseB";let Wg=99;e[e.lowercaseC=Wg]="lowercaseC";let Gg=100;e[e.lowercaseD=Gg]="lowercaseD";let Kg=101;e[e.lowercaseE=Kg]="lowercaseE";let Xg=102;e[e.lowercaseF=Xg]="lowercaseF";let Jg=103;e[e.lowercaseG=Jg]="lowercaseG";let Yg=104;e[e.lowercaseH=Yg]="lowercaseH";let Qg=105;e[e.lowercaseI=Qg]="lowercaseI";let eb=106;e[e.lowercaseJ=eb]="lowercaseJ";let tb=107;e[e.lowercaseK=tb]="lowercaseK";let rb=108;e[e.lowercaseL=rb]="lowercaseL";let nb=109;e[e.lowercaseM=nb]="lowercaseM";let ib=110;e[e.lowercaseN=ib]="lowercaseN";let sb=111;e[e.lowercaseO=sb]="lowercaseO";let ab=112;e[e.lowercaseP=ab]="lowercaseP";let ob=113;e[e.lowercaseQ=ob]="lowercaseQ";let lb=114;e[e.lowercaseR=lb]="lowercaseR";let ub=115;e[e.lowercaseS=ub]="lowercaseS";let cb=116;e[e.lowercaseT=cb]="lowercaseT";let pb=117;e[e.lowercaseU=pb]="lowercaseU";let db=118;e[e.lowercaseV=db]="lowercaseV";let fb=119;e[e.lowercaseW=fb]="lowercaseW";let mb=120;e[e.lowercaseX=mb]="lowercaseX";let hb=121;e[e.lowercaseY=hb]="lowercaseY";let _b=122;e[e.lowercaseZ=_b]="lowercaseZ";let gb=123;e[e.leftCurlyBrace=gb]="leftCurlyBrace";let bb=124;e[e.verticalBar=bb]="verticalBar";let vb=125;e[e.rightCurlyBrace=vb]="rightCurlyBrace";let yb=126;e[e.tilde=yb]="tilde";let xb=160;e[e.nonBreakingSpace=xb]="nonBreakingSpace";let kb=5760;e[e.oghamSpaceMark=kb]="oghamSpaceMark";let wb=8232;e[e.lineSeparator=wb]="lineSeparator";let Eb=8233;e[e.paragraphSeparator=Eb]="paragraphSeparator"})(S||(S={}));var zs,Te,Re,d,H,qT;function Ji(){return qT++}function MT(e){if("pos"in e){let t=Jz(e.pos);e.message+=` (${t.line}:${t.column})`,e.loc=t}return e}var ak=class{constructor(t,r){this.line=t,this.column=r}};function Jz(e){let t=1,r=1;for(let i=0;i<e;i++)H.charCodeAt(i)===S.lineFeed?(t++,r=1):r++;return new ak(t,r)}function BT(e,t,r,i){H=e,d=new No,qT=1,zs=t,Te=r,Re=i}function se(e){return d.contextualKeyword===e}function Us(e){let t=Bn();return t.type===o.name&&t.contextualKeyword===e}function ft(e){return d.contextualKeyword===e&&P(o.name)}function rt(e){ft(e)||he()}function Lt(){return k(o.eof)||k(o.braceR)||Tt()}function Tt(){let e=d.tokens[d.tokens.length-1],t=e?e.end:0;for(let r=t;r<d.start;r++){let i=H.charCodeAt(r);if(i===S.lineFeed||i===S.carriageReturn||i===8232||i===8233)return!0}return!1}function Xc(){let e=Oo();for(let t=d.end;t<e;t++){let r=H.charCodeAt(t);if(r===S.lineFeed||r===S.carriageReturn||r===8232||r===8233)return!0}return!1}function Or(){return P(o.semi)||Lt()}function Ge(){Or()||he('Unexpected token, expected ";"')}function F(e){P(e)||he(`Unexpected token, expected "${ik(e)}"`)}function he(e="Unexpected token",t=d.start){if(d.error)return;let r=new SyntaxError(e);r.pos=t,d.error=r,d.pos=H.length,_e(o.eof)}var ok=[9,11,12,S.space,S.nonBreakingSpace,S.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],lk=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,uk=new Uint8Array(65536);for(let e of ok)uk[e]=1;function Yz(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var Kt=new Uint8Array(65536);for(let e=0;e<128;e++)Kt[e]=Yz(e)?1:0;for(let e=128;e<65536;e++)Kt[e]=1;for(let e of ok)Kt[e]=0;Kt[8232]=0;Kt[8233]=0;var zn=Kt.slice();for(let e=S.digit0;e<=S.digit9;e++)zn[e]=0;var ck=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,189,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,216,-1,-1,-1,-1,-1,-1,D._abstract<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,270,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,297,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,324,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,351,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,378,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,405,-1,-1,-1,-1,-1,-1,-1,-1,D._accessor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._as<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,459,-1,-1,-1,-1,-1,594,-1,-1,-1,-1,-1,-1,486,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,513,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,540,-1,-1,-1,-1,-1,-1,D._assert<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,567,-1,-1,-1,-1,-1,-1,-1,D._asserts<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,621,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,648,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._async<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,702,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,729,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,756,-1,-1,-1,-1,-1,-1,D._await<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,810,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,837,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,864,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,891,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._break<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,945,-1,-1,-1,-1,-1,-1,1107,-1,-1,-1,1242,-1,-1,1350,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,972,1026,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,999,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._case<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1053,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1080,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._catch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1134,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1161,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1188,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1215,-1,-1,-1,-1,-1,-1,-1,D._checks<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1269,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1296,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1323,-1,-1,-1,-1,-1,-1,-1,(o._class<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1377,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1404,1620,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1431,-1,-1,-1,-1,-1,-1,(o._const<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1458,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1485,-1,-1,-1,-1,-1,-1,-1,-1,1512,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1539,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1566,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1593,-1,-1,-1,-1,-1,-1,-1,-1,D._constructor<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1647,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1674,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1701,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1728,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._continue<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1782,-1,-1,-1,-1,-1,-1,-1,-1,-1,2349,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1809,1971,-1,-1,2106,-1,-1,-1,-1,-1,2241,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1836,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1863,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1890,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1917,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1944,-1,-1,-1,-1,-1,-1,-1,-1,(o._debugger<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1998,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2025,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2052,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2079,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._declare<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2133,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2160,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2187,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2214,-1,-1,-1,-1,-1,-1,(o._default<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2268,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2295,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2322,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._delete<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._do<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2403,-1,2484,-1,-1,-1,-1,-1,-1,-1,-1,-1,2565,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2430,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2457,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._else<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2511,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2538,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._enum<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2592,-1,-1,-1,2727,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2619,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2646,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2673,-1,-1,-1,-1,-1,-1,(o._export<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2700,-1,-1,-1,-1,-1,-1,-1,D._exports<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2754,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2781,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2808,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2835,-1,-1,-1,-1,-1,-1,-1,(o._extends<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2889,-1,-1,-1,-1,-1,-1,-1,2997,-1,-1,-1,-1,-1,3159,-1,-1,3213,-1,-1,3294,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2916,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2943,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2970,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._false<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3024,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3051,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3078,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3105,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3132,-1,(o._finally<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3186,-1,-1,-1,-1,-1,-1,-1,-1,(o._for<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3240,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3267,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._from<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3321,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3348,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3375,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3402,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3429,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3456,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._function<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3510,-1,-1,-1,-1,-1,-1,3564,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3537,-1,-1,-1,-1,-1,-1,D._get<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3591,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3618,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3645,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3672,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._global<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3726,-1,-1,-1,-1,-1,-1,3753,4077,-1,-1,-1,-1,4590,-1,-1,-1,-1,-1,-1,-1,(o._if<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3780,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3807,-1,-1,3996,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3834,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3861,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3888,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3915,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3942,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3969,-1,-1,-1,-1,-1,-1,-1,D._implements<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4023,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4050,-1,-1,-1,-1,-1,-1,(o._import<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._in<<1)+1,-1,-1,-1,-1,-1,4104,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4185,4401,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4131,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4158,-1,-1,-1,-1,-1,-1,-1,-1,D._infer<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4212,-1,-1,-1,-1,-1,-1,-1,4239,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4266,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4293,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4320,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4347,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4374,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._instanceof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4428,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4455,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4482,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4509,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4536,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4563,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._interface<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._is<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4644,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4671,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4698,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4725,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._keyof<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4779,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4806,-1,-1,-1,-1,-1,-1,(o._let<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4860,-1,-1,-1,-1,-1,4995,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4887,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4914,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4941,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4968,-1,-1,-1,-1,-1,-1,-1,D._mixins<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5022,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5049,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5076,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5103,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._module<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5157,-1,-1,-1,5373,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5427,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5211,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5238,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5265,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5292,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5319,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5346,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._namespace<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5400,-1,-1,-1,(o._new<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5454,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5481,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._null<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5535,-1,-1,-1,-1,-1,-1,-1,-1,-1,5562,-1,-1,-1,-1,5697,5751,-1,-1,-1,-1,D._of<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5589,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5616,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5643,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5670,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._opaque<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5724,-1,-1,-1,-1,-1,-1,D._out<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5778,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5805,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5832,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5859,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5886,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5913,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._override<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5967,-1,-1,6345,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5994,-1,-1,-1,-1,-1,6129,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6021,-1,-1,-1,-1,-1,6048,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6075,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6102,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._private<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6156,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6183,-1,-1,-1,-1,-1,-1,-1,-1,-1,6318,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6210,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6237,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6264,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6291,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._protected<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._proto<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6372,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6399,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6426,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6453,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._public<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6507,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6534,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6696,-1,-1,6831,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6561,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6588,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6615,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6642,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6669,-1,D._readonly<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6723,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6750,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6777,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6804,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._require<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6858,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6885,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6912,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._return<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6966,-1,-1,-1,7182,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7236,7371,-1,7479,-1,7614,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,6993,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7020,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7047,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7074,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7101,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7128,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7155,-1,-1,-1,-1,-1,-1,-1,D._satisfies<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7209,-1,-1,-1,-1,-1,-1,D._set<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7263,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7290,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7317,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7344,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._static<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7398,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7425,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7452,-1,-1,-1,-1,-1,-1,-1,-1,(o._super<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7506,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7533,-1,-1,-1,-1,-1,-1,-1,-1,-1,7560,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7587,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._switch<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7641,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7668,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7695,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7722,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._symbol<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7776,-1,-1,-1,-1,-1,-1,-1,-1,-1,7938,-1,-1,-1,-1,-1,-1,8046,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7803,-1,-1,-1,-1,-1,-1,-1,-1,7857,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7830,-1,-1,-1,-1,-1,-1,-1,(o._this<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7884,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7911,-1,-1,-1,(o._throw<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7965,-1,-1,-1,8019,-1,-1,-1,-1,-1,-1,7992,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._true<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._try<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8073,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8100,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._type<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8127,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8154,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._typeof<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8208,-1,-1,-1,-1,8343,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8235,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8262,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8289,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8316,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._unique<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8370,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8397,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8424,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,D._using<<1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8478,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8532,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8505,-1,-1,-1,-1,-1,-1,-1,-1,(o._var<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8559,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8586,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._void<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8640,8748,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8667,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8694,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8721,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._while<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8775,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8802,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._with<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8856,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(o._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function pk(){let e=0,t=0,r=d.pos;for(;r<H.length&&(t=H.charCodeAt(r),!(t<S.lowercaseA||t>S.lowercaseZ));){let n=ck[e+(t-S.lowercaseA)+1];if(n===-1)break;e=n,r++}let i=ck[e];if(i>-1&&!Kt[t]){d.pos=r,i&1?_e(i>>>1):_e(o.name,i>>>1);return}for(;r<H.length;){let n=H.charCodeAt(r);if(Kt[n])r++;else if(n===S.backslash){if(r+=2,H.charCodeAt(r)===S.leftCurlyBrace){for(;r<H.length&&H.charCodeAt(r)!==S.rightCurlyBrace;)r++;r++}}else if(n===S.atSign&&H.charCodeAt(r+1)===S.atSign)r+=2;else break}d.pos=r,_e(o.name)}var ae;(function(e){e[e.Access=0]="Access";let r=1;e[e.ExportAccess=r]="ExportAccess";let i=r+1;e[e.TopLevelDeclaration=i]="TopLevelDeclaration";let n=i+1;e[e.FunctionScopedDeclaration=n]="FunctionScopedDeclaration";let s=n+1;e[e.BlockScopedDeclaration=s]="BlockScopedDeclaration";let a=s+1;e[e.ObjectShorthandTopLevelDeclaration=a]="ObjectShorthandTopLevelDeclaration";let l=a+1;e[e.ObjectShorthandFunctionScopedDeclaration=l]="ObjectShorthandFunctionScopedDeclaration";let u=l+1;e[e.ObjectShorthandBlockScopedDeclaration=u]="ObjectShorthandBlockScopedDeclaration";let p=u+1;e[e.ObjectShorthand=p]="ObjectShorthand";let f=p+1;e[e.ImportDeclaration=f]="ImportDeclaration";let h=f+1;e[e.ObjectKey=h]="ObjectKey";let _=h+1;e[e.ImportAccess=_]="ImportAccess"})(ae||(ae={}));var Er;(function(e){e[e.NoChildren=0]="NoChildren";let r=1;e[e.OneChild=r]="OneChild";let i=r+1;e[e.StaticChildren=i]="StaticChildren";let n=i+1;e[e.KeyAfterPropSpread=n]="KeyAfterPropSpread"})(Er||(Er={}));function Jc(e){let t=e.identifierRole;return t===ae.TopLevelDeclaration||t===ae.FunctionScopedDeclaration||t===ae.BlockScopedDeclaration||t===ae.ObjectShorthandTopLevelDeclaration||t===ae.ObjectShorthandFunctionScopedDeclaration||t===ae.ObjectShorthandBlockScopedDeclaration}function zT(e){let t=e.identifierRole;return t===ae.FunctionScopedDeclaration||t===ae.BlockScopedDeclaration||t===ae.ObjectShorthandFunctionScopedDeclaration||t===ae.ObjectShorthandBlockScopedDeclaration}function Yc(e){let t=e.identifierRole;return t===ae.TopLevelDeclaration||t===ae.ObjectShorthandTopLevelDeclaration||t===ae.ImportDeclaration}function UT(e){let t=e.identifierRole;return t===ae.TopLevelDeclaration||t===ae.BlockScopedDeclaration||t===ae.ObjectShorthandTopLevelDeclaration||t===ae.ObjectShorthandBlockScopedDeclaration}function VT(e){let t=e.identifierRole;return t===ae.FunctionScopedDeclaration||t===ae.ObjectShorthandFunctionScopedDeclaration}function HT(e){return e.identifierRole===ae.ObjectShorthandTopLevelDeclaration||e.identifierRole===ae.ObjectShorthandBlockScopedDeclaration||e.identifierRole===ae.ObjectShorthandFunctionScopedDeclaration}var Yi=class{constructor(){this.type=d.type,this.contextualKeyword=d.contextualKeyword,this.start=d.start,this.end=d.end,this.scopeDepth=d.scopeDepth,this.isType=d.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};function q(){d.tokens.push(new Yi),_k()}function pn(){d.tokens.push(new Yi),d.start=d.pos,fU()}function ZT(){d.type===o.assign&&--d.pos,cU()}function ve(e){for(let r=d.tokens.length-e;r<d.tokens.length;r++)d.tokens[r].isType=!0;let t=d.isType;return d.isType=!0,t}function ge(e){d.isType=e}function P(e){return k(e)?(q(),!0):!1}function Qc(e){let t=d.isType;d.isType=!0,P(e),d.isType=t}function k(e){return d.type===e}function Ke(){let e=d.snapshot();q();let t=d.type;return d.restoreFromSnapshot(e),t}var fk=class{constructor(t,r){this.type=t,this.contextualKeyword=r}};function Bn(){let e=d.snapshot();q();let t=d.type,r=d.contextualKeyword;return d.restoreFromSnapshot(e),new fk(t,r)}function Oo(){return mk(d.pos)}function mk(e){lk.lastIndex=e;let t=lk.exec(H);return e+t[0].length}function hk(){return H.charCodeAt(Oo())}function _k(){if(bk(),d.start=d.pos,d.pos>=H.length){let e=d.tokens;e.length>=2&&e[e.length-1].start>=H.length&&e[e.length-2].start>=H.length&&he("Unexpectedly reached the end of input."),_e(o.eof);return}Qz(H.charCodeAt(d.pos))}function Qz(e){zn[e]||e===S.backslash||e===S.atSign&&H.charCodeAt(d.pos+1)===S.atSign?pk():vk(e)}function eU(){for(;H.charCodeAt(d.pos)!==S.asterisk||H.charCodeAt(d.pos+1)!==S.slash;)if(d.pos++,d.pos>H.length){he("Unterminated comment",d.pos-2);return}d.pos+=2}function gk(e){let t=H.charCodeAt(d.pos+=e);if(d.pos<H.length)for(;t!==S.lineFeed&&t!==S.carriageReturn&&t!==S.lineSeparator&&t!==S.paragraphSeparator&&++d.pos<H.length;)t=H.charCodeAt(d.pos)}function bk(){for(;d.pos<H.length;){let e=H.charCodeAt(d.pos);switch(e){case S.carriageReturn:H.charCodeAt(d.pos+1)===S.lineFeed&&++d.pos;case S.lineFeed:case S.lineSeparator:case S.paragraphSeparator:++d.pos;break;case S.slash:switch(H.charCodeAt(d.pos+1)){case S.asterisk:d.pos+=2,eU();break;case S.slash:gk(2);break;default:return}break;default:if(uk[e])++d.pos;else return}}}function _e(e,t=D.NONE){d.end=d.pos,d.type=e,d.contextualKeyword=t}function tU(){let e=H.charCodeAt(d.pos+1);if(e>=S.digit0&&e<=S.digit9){GT(!0);return}e===S.dot&&H.charCodeAt(d.pos+2)===S.dot?(d.pos+=3,_e(o.ellipsis)):(++d.pos,_e(o.dot))}function rU(){H.charCodeAt(d.pos+1)===S.equalsTo?Ue(o.assign,2):Ue(o.slash,1)}function nU(e){let t=e===S.asterisk?o.star:o.modulo,r=1,i=H.charCodeAt(d.pos+1);e===S.asterisk&&i===S.asterisk&&(r++,i=H.charCodeAt(d.pos+2),t=o.exponent),i===S.equalsTo&&H.charCodeAt(d.pos+2)!==S.greaterThan&&(r++,t=o.assign),Ue(t,r)}function iU(e){let t=H.charCodeAt(d.pos+1);if(t===e){H.charCodeAt(d.pos+2)===S.equalsTo?Ue(o.assign,3):Ue(e===S.verticalBar?o.logicalOR:o.logicalAND,2);return}if(e===S.verticalBar){if(t===S.greaterThan){Ue(o.pipeline,2);return}else if(t===S.rightCurlyBrace&&Re){Ue(o.braceBarR,2);return}}if(t===S.equalsTo){Ue(o.assign,2);return}Ue(e===S.verticalBar?o.bitwiseOR:o.bitwiseAND,1)}function sU(){H.charCodeAt(d.pos+1)===S.equalsTo?Ue(o.assign,2):Ue(o.bitwiseXOR,1)}function aU(e){let t=H.charCodeAt(d.pos+1);if(t===e){Ue(o.preIncDec,2);return}t===S.equalsTo?Ue(o.assign,2):e===S.plusSign?Ue(o.plus,1):Ue(o.minus,1)}function oU(){let e=H.charCodeAt(d.pos+1);if(e===S.lessThan){if(H.charCodeAt(d.pos+2)===S.equalsTo){Ue(o.assign,3);return}d.isType?Ue(o.lessThan,1):Ue(o.bitShiftL,2);return}e===S.equalsTo?Ue(o.relationalOrEqual,2):Ue(o.lessThan,1)}function WT(){if(d.isType){Ue(o.greaterThan,1);return}let e=H.charCodeAt(d.pos+1);if(e===S.greaterThan){let t=H.charCodeAt(d.pos+2)===S.greaterThan?3:2;if(H.charCodeAt(d.pos+t)===S.equalsTo){Ue(o.assign,t+1);return}Ue(o.bitShiftR,t);return}e===S.equalsTo?Ue(o.relationalOrEqual,2):Ue(o.greaterThan,1)}function ep(){d.type===o.greaterThan&&(d.pos-=1,WT())}function lU(e){let t=H.charCodeAt(d.pos+1);if(t===S.equalsTo){Ue(o.equality,H.charCodeAt(d.pos+2)===S.equalsTo?3:2);return}if(e===S.equalsTo&&t===S.greaterThan){d.pos+=2,_e(o.arrow);return}Ue(e===S.equalsTo?o.eq:o.bang,1)}function uU(){let e=H.charCodeAt(d.pos+1),t=H.charCodeAt(d.pos+2);e===S.questionMark&&!(Re&&d.isType)?t===S.equalsTo?Ue(o.assign,3):Ue(o.nullishCoalescing,2):e===S.dot&&!(t>=S.digit0&&t<=S.digit9)?(d.pos+=2,_e(o.questionDot)):(++d.pos,_e(o.question))}function vk(e){switch(e){case S.numberSign:++d.pos,_e(o.hash);return;case S.dot:tU();return;case S.leftParenthesis:++d.pos,_e(o.parenL);return;case S.rightParenthesis:++d.pos,_e(o.parenR);return;case S.semicolon:++d.pos,_e(o.semi);return;case S.comma:++d.pos,_e(o.comma);return;case S.leftSquareBracket:++d.pos,_e(o.bracketL);return;case S.rightSquareBracket:++d.pos,_e(o.bracketR);return;case S.leftCurlyBrace:Re&&H.charCodeAt(d.pos+1)===S.verticalBar?Ue(o.braceBarL,2):(++d.pos,_e(o.braceL));return;case S.rightCurlyBrace:++d.pos,_e(o.braceR);return;case S.colon:H.charCodeAt(d.pos+1)===S.colon?Ue(o.doubleColon,2):(++d.pos,_e(o.colon));return;case S.questionMark:uU();return;case S.atSign:++d.pos,_e(o.at);return;case S.graveAccent:++d.pos,_e(o.backQuote);return;case S.digit0:{let t=H.charCodeAt(d.pos+1);if(t===S.lowercaseX||t===S.uppercaseX||t===S.lowercaseO||t===S.uppercaseO||t===S.lowercaseB||t===S.uppercaseB){pU();return}}case S.digit1:case S.digit2:case S.digit3:case S.digit4:case S.digit5:case S.digit6:case S.digit7:case S.digit8:case S.digit9:GT(!1);return;case S.quotationMark:case S.apostrophe:dU(e);return;case S.slash:rU();return;case S.percentSign:case S.asterisk:nU(e);return;case S.verticalBar:case S.ampersand:iU(e);return;case S.caret:sU();return;case S.plusSign:case S.dash:aU(e);return;case S.lessThan:oU();return;case S.greaterThan:WT();return;case S.equalsTo:case S.exclamationMark:lU(e);return;case S.tilde:Ue(o.tilde,1);return;default:break}he(`Unexpected character '${String.fromCharCode(e)}'`,d.pos)}function Ue(e,t){d.pos+=t,_e(e)}function cU(){let e=d.pos,t=!1,r=!1;for(;;){if(d.pos>=H.length){he("Unterminated regular expression",e);return}let i=H.charCodeAt(d.pos);if(t)t=!1;else{if(i===S.leftSquareBracket)r=!0;else if(i===S.rightSquareBracket&&r)r=!1;else if(i===S.slash&&!r)break;t=i===S.backslash}++d.pos}++d.pos,mU(),_e(o.regexp)}function dk(){for(;;){let e=H.charCodeAt(d.pos);if(e>=S.digit0&&e<=S.digit9||e===S.underscore)d.pos++;else break}}function pU(){for(d.pos+=2;;){let t=H.charCodeAt(d.pos);if(t>=S.digit0&&t<=S.digit9||t>=S.lowercaseA&&t<=S.lowercaseF||t>=S.uppercaseA&&t<=S.uppercaseF||t===S.underscore)d.pos++;else break}H.charCodeAt(d.pos)===S.lowercaseN?(++d.pos,_e(o.bigint)):_e(o.num)}function GT(e){let t=!1,r=!1;e||dk();let i=H.charCodeAt(d.pos);if(i===S.dot&&(++d.pos,dk(),i=H.charCodeAt(d.pos)),(i===S.uppercaseE||i===S.lowercaseE)&&(i=H.charCodeAt(++d.pos),(i===S.plusSign||i===S.dash)&&++d.pos,dk(),i=H.charCodeAt(d.pos)),i===S.lowercaseN?(++d.pos,t=!0):i===S.lowercaseM&&(++d.pos,r=!0),t){_e(o.bigint);return}if(r){_e(o.decimal);return}_e(o.num)}function dU(e){for(d.pos++;;){if(d.pos>=H.length){he("Unterminated string constant");return}let t=H.charCodeAt(d.pos);if(t===S.backslash)d.pos++;else if(t===e)break;d.pos++}d.pos++,_e(o.string)}function fU(){for(;;){if(d.pos>=H.length){he("Unterminated template");return}let e=H.charCodeAt(d.pos);if(e===S.graveAccent||e===S.dollarSign&&H.charCodeAt(d.pos+1)===S.leftCurlyBrace){if(d.pos===d.start&&k(o.template))if(e===S.dollarSign){d.pos+=2,_e(o.dollarBraceL);return}else{++d.pos,_e(o.backQuote);return}_e(o.template);return}e===S.backslash&&d.pos++,d.pos++}}function mU(){for(;d.pos<H.length;){let e=H.charCodeAt(d.pos);if(Kt[e])d.pos++;else if(e===S.backslash){if(d.pos+=2,H.charCodeAt(d.pos)===S.leftCurlyBrace){for(;d.pos<H.length&&H.charCodeAt(d.pos)!==S.rightCurlyBrace;)d.pos++;d.pos++}}else break}}function dn(e,t=e.currentIndex()){let r=t+1;if(tp(e,r)){let i=e.identifierNameAtIndex(t);return{isType:!1,leftName:i,rightName:i,endIndex:r}}if(r++,tp(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};if(r++,tp(e,r))return{isType:!1,leftName:e.identifierNameAtIndex(t),rightName:e.identifierNameAtIndex(t+2),endIndex:r};if(r++,tp(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};throw new Error(`Unexpected import/export specifier at ${t}`)}function tp(e,t){let r=e.tokens[t];return r.type===o.braceR||r.type===o.comma}var KT=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function Lo(e){let[t,r]=XT(e.jsxPragma||"React.createElement"),[i,n]=XT(e.jsxFragmentPragma||"React.Fragment");return{base:t,suffix:r,fragmentBase:i,fragmentSuffix:n}}function XT(e){let t=e.indexOf(".");return t===-1&&(t=e.length),[e.slice(0,t),e.slice(t)]}var at=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};var Fo=class e extends at{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(t,r,i,n,s){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=i,this.nameManager=n,this.options=s,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=Lo(s),this.isAutomaticRuntime=s.jsxRuntime==="automatic",this.jsxImportSource=s.jsxImportSource||"react"}process(){return this.tokens.matches1(o.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let t="";if(this.filenameVarName&&(t+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[r,i]of Object.entries(this.cjsAutomaticModuleNameResolutions))t+=`var ${i} = require("${r}");`;else{let{createElement:r,...i}=this.esmAutomaticImportNameResolutions;r&&(t+=`import {createElement as ${r}} from "${this.jsxImportSource}";`);let n=Object.entries(i).map(([s,a])=>`${s} as ${a}`).join(", ");if(n){let s=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");t+=`import {${n}} from "${s}";`}}return t}processJSXTag(){let{jsxRole:t,start:r}=this.tokens.currentToken(),i=this.options.production?null:this.getElementLocationCode(r);this.isAutomaticRuntime&&t!==Er.KeyAfterPropSpread?this.transformTagToJSXFunc(i,t):this.transformTagToCreateElement(i)}getElementLocationCode(t){return`lineNumber: ${this.getLineNumberForIndex(t)}`}getLineNumberForIndex(t){let r=this.tokens.code;for(;this.lastIndex<t&&this.lastIndex<r.length;)r[this.lastIndex]===`
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(t,r){let i=r===Er.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(i));let n=null;if(this.tokens.matches1(o.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(r);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),n=this.processProps(!0),this.tokens.matches2(o.slash,o.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(o.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(r);else throw new Error("Expected either /> or > at the end of the tag.");n&&this.tokens.appendCode(`, ${n}`)}for(this.options.production||(n===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${i}, ${this.getDevSource(t)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(o.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(t){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(o.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(t),!this.tokens.matches2(o.slash,o.jsxTagEnd))if(this.tokens.matches1(o.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(o.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(t){return this.options.production?t?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:t}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.base)||t.base}${t.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:t}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(t.fragmentBase)||t.fragmentBase)+t.fragmentSuffix}}claimAutoImportedFuncInvocation(t,r){let i=this.claimAutoImportedName(t,r);return this.importProcessor?`${i}.call(void 0, `:`${i}(`}claimAutoImportedName(t,r){if(this.importProcessor){let i=this.jsxImportSource+r;return this.cjsAutomaticModuleNameResolutions[i]||(this.cjsAutomaticModuleNameResolutions[i]=this.importProcessor.getFreeIdentifierForPath(i)),`${this.cjsAutomaticModuleNameResolutions[i]}.${t}`}else return this.esmAutomaticImportNameResolutions[t]||(this.esmAutomaticImportNameResolutions[t]=this.nameManager.claimFreeName(`_${t}`)),this.esmAutomaticImportNameResolutions[t]}processTagIntro(){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType||!this.tokens.matches2AtIndex(t-1,o.jsxName,o.jsxName)&&!this.tokens.matches2AtIndex(t-1,o.greaterThan,o.jsxName)&&!this.tokens.matches1AtIndex(t,o.braceL)&&!this.tokens.matches1AtIndex(t,o.jsxTagEnd)&&!this.tokens.matches2AtIndex(t,o.slash,o.jsxTagEnd);)t++;if(t===this.tokens.currentIndex()+1){let r=this.tokens.identifierName();yk(r)&&this.tokens.replaceToken(`'${r}'`)}for(;this.tokens.currentIndex()<t;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(t){let r=this.options.production?"":`__self: this, __source: ${this.getDevSource(t)}`;if(!this.tokens.matches1(o.jsxName)&&!this.tokens.matches1(o.braceL)){r?this.tokens.appendCode(`, {${r}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),r?this.tokens.appendCode(` ${r}}`):this.tokens.appendCode("}")}processProps(t){let r=null;for(;;){if(this.tokens.matches2(o.jsxName,o.eq)){let i=this.tokens.identifierName();if(t&&i==="key"){r!==null&&this.tokens.appendCode(r.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let n=this.tokens.snapshot();this.processPropValue(),r=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(n);continue}else this.processPropName(i),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(o.jsxName)){let i=this.tokens.identifierName();this.processPropName(i),this.tokens.appendCode(": true")}else if(this.tokens.matches1(o.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return r}processPropName(t){t.includes("-")?this.tokens.replaceToken(`'${t}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(o.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(o.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let t=this.tokens.currentToken(),r=this.tokens.code.slice(t.start+1,t.end-1),i=JT(r),n=_U(r);this.tokens.replaceToken(n+i)}processAutomaticChildrenAndEndProps(t){t===Er.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(t===Er.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(t){let r=t;for(;;){if(this.tokens.matches2(o.jsxTagStart,o.slash))return;let i=!1;if(this.tokens.matches1(o.braceL))this.tokens.matches2(o.braceL,o.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(r?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),i=!0);else if(this.tokens.matches1(o.jsxTagStart))this.tokens.appendCode(r?", ":""),this.processJSXTag(),i=!0;else if(this.tokens.matches1(o.jsxText)||this.tokens.matches1(o.jsxEmptyText))i=this.processChildTextElement(r);else throw new Error("Unexpected token when processing JSX children.");i&&(r=!0)}}processChildTextElement(t){let r=this.tokens.currentToken(),i=this.tokens.code.slice(r.start,r.end),n=JT(i),s=hU(i);return s==='""'?(this.tokens.replaceToken(n),!1):(this.tokens.replaceToken(`${t?", ":""}${s}${n}`),!0)}getDevSource(t){return`{fileName: ${this.getFilenameVarName()}, ${t}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};function yk(e){let t=e.charCodeAt(0);return t>=S.lowercaseA&&t<=S.lowercaseZ}function hU(e){let t="",r="",i=!1,n=!1;for(let s=0;s<e.length;s++){let a=e[s];if(a===" "||a==="	"||a==="\r")i||(r+=a);else if(a===`
`)r="",i=!0;else{if(n&&i&&(t+=" "),t+=r,r="",a==="&"){let{entity:l,newI:u}=YT(e,s+1);s=u-1,t+=l}else t+=a;n=!0,i=!1}}return i||(t+=r),JSON.stringify(t)}function JT(e){let t=0,r=0;for(let i of e)i===`
`?(t++,r=0):i===" "&&r++;return`
`.repeat(t)+" ".repeat(r)}function _U(e){let t="";for(let r=0;r<e.length;r++){let i=e[r];if(i===`
`)if(/\s/.test(e[r+1]))for(t+=" ";r<e.length&&/\s/.test(e[r+1]);)r++;else t+=`
`;else if(i==="&"){let{entity:n,newI:s}=YT(e,r+1);t+=n,r=s-1}else t+=i}return JSON.stringify(t)}function YT(e,t){let r="",i=0,n,s=t;if(e[s]==="#"){let a=10;s++;let l;if(e[s]==="x")for(a=16,s++,l=s;s<e.length&&bU(e.charCodeAt(s));)s++;else for(l=s;s<e.length&&gU(e.charCodeAt(s));)s++;if(e[s]===";"){let u=e.slice(l,s);u&&(s++,n=String.fromCodePoint(parseInt(u,a)))}}else for(;s<e.length&&i++<10;){let a=e[s];if(s++,a===";"){n=KT.get(r);break}r+=a}return n?{entity:n,newI:s}:{entity:"&",newI:t}}function gU(e){return e>=S.digit0&&e<=S.digit9}function bU(e){return e>=S.digit0&&e<=S.digit9||e>=S.lowercaseA&&e<=S.lowercaseF||e>=S.uppercaseA&&e<=S.uppercaseF}function rp(e,t){let r=Lo(t),i=new Set;for(let n=0;n<e.tokens.length;n++){let s=e.tokens[n];if(s.type===o.name&&!s.isType&&(s.identifierRole===ae.Access||s.identifierRole===ae.ObjectShorthand||s.identifierRole===ae.ExportAccess)&&!s.shadowsGlobal&&i.add(e.identifierNameForToken(s)),s.type===o.jsxTagStart&&i.add(r.base),s.type===o.jsxTagStart&&n+1<e.tokens.length&&e.tokens[n+1].type===o.jsxTagEnd&&(i.add(r.base),i.add(r.fragmentBase)),s.type===o.jsxName&&s.identifierRole===ae.Access){let a=e.identifierNameForToken(s);(!yk(a)||e.tokens[n+1].type===o.dot)&&i.add(e.identifierNameForToken(s))}}return i}var jo=class e{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(t,r,i,n,s,a,l){this.nameManager=t,this.tokens=r,this.enableLegacyTypeScriptModuleInterop=i,this.options=n,this.isTypeScriptTransformEnabled=s,this.keepUnusedImports=a,this.helperManager=l,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this)}preprocessTokens(){for(let t=0;t<this.tokens.tokens.length;t++)this.tokens.matches1AtIndex(t,o._import)&&!this.tokens.matches3AtIndex(t,o._import,o.name,o.eq)&&this.preprocessImportAtIndex(t),this.tokens.matches1AtIndex(t,o._export)&&!this.tokens.matches2AtIndex(t,o._export,o.eq)&&this.preprocessExportAtIndex(t);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=rp(this.tokens,this.options);for(let[t,r]of this.importInfoByPath.entries()){if(r.hasBareImport||r.hasStarExport||r.exportStarNames.length>0||r.namedExports.length>0)continue;[...r.defaultNames,...r.wildcardNames,...r.namedImports.map(({localName:n})=>n)].every(n=>this.shouldAutomaticallyElideImportedName(n))&&this.importsToReplace.set(t,"")}}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}generateImportReplacements(){for(let[t,r]of this.importInfoByPath.entries()){let{defaultNames:i,wildcardNames:n,namedImports:s,namedExports:a,exportStarNames:l,hasStarExport:u}=r;if(i.length===0&&n.length===0&&s.length===0&&a.length===0&&l.length===0&&!u){this.importsToReplace.set(t,`require('${t}');`);continue}let p=this.getFreeIdentifierForPath(t),f;this.enableLegacyTypeScriptModuleInterop?f=p:f=n.length>0?n[0]:this.getFreeIdentifierForPath(t);let h=`var ${p} = require('${t}');`;if(n.length>0)for(let _ of n){let g=this.enableLegacyTypeScriptModuleInterop?p:`${this.helperManager.getHelperName("interopRequireWildcard")}(${p})`;h+=` var ${_} = ${g};`}else l.length>0&&f!==p?h+=` var ${f} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${p});`:i.length>0&&f!==p&&(h+=` var ${f} = ${this.helperManager.getHelperName("interopRequireDefault")}(${p});`);for(let{importedName:_,localName:g}of a)h+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${p}, '${g}', '${_}');`;for(let _ of l)h+=` exports.${_} = ${f};`;u&&(h+=` ${this.helperManager.getHelperName("createStarExport")}(${p});`),this.importsToReplace.set(t,h);for(let _ of i)this.identifierReplacements.set(_,`${f}.default`);for(let{importedName:_,localName:g}of s)this.identifierReplacements.set(g,`${p}.${_}`)}}getFreeIdentifierForPath(t){let r=t.split("/"),n=r[r.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${n}`)}preprocessImportAtIndex(t){let r=[],i=[],n=[];if(t++,(this.tokens.matchesContextualAtIndex(t,D._type)||this.tokens.matches1AtIndex(t,o._typeof))&&!this.tokens.matches1AtIndex(t+1,o.comma)&&!this.tokens.matchesContextualAtIndex(t+1,D._from)||this.tokens.matches1AtIndex(t,o.parenL))return;if(this.tokens.matches1AtIndex(t,o.name)&&(r.push(this.tokens.identifierNameAtIndex(t)),t++,this.tokens.matches1AtIndex(t,o.comma)&&t++),this.tokens.matches1AtIndex(t,o.star)&&(t+=2,i.push(this.tokens.identifierNameAtIndex(t)),t++),this.tokens.matches1AtIndex(t,o.braceL)){let l=this.getNamedImports(t+1);t=l.newIndex;for(let u of l.namedImports)u.importedName==="default"?r.push(u.localName):n.push(u)}if(this.tokens.matchesContextualAtIndex(t,D._from)&&t++,!this.tokens.matches1AtIndex(t,o.string))throw new Error("Expected string token at the end of import statement.");let s=this.tokens.stringValueAtIndex(t),a=this.getImportInfo(s);a.defaultNames.push(...r),a.wildcardNames.push(...i),a.namedImports.push(...n),r.length===0&&i.length===0&&n.length===0&&(a.hasBareImport=!0)}preprocessExportAtIndex(t){if(this.tokens.matches2AtIndex(t,o._export,o._var)||this.tokens.matches2AtIndex(t,o._export,o._let)||this.tokens.matches2AtIndex(t,o._export,o._const))this.preprocessVarExportAtIndex(t);else if(this.tokens.matches2AtIndex(t,o._export,o._function)||this.tokens.matches2AtIndex(t,o._export,o._class)){let r=this.tokens.identifierNameAtIndex(t+2);this.addExportBinding(r,r)}else if(this.tokens.matches3AtIndex(t,o._export,o.name,o._function)){let r=this.tokens.identifierNameAtIndex(t+3);this.addExportBinding(r,r)}else this.tokens.matches2AtIndex(t,o._export,o.braceL)?this.preprocessNamedExportAtIndex(t):this.tokens.matches2AtIndex(t,o._export,o.star)&&this.preprocessExportStarAtIndex(t)}preprocessVarExportAtIndex(t){let r=0;for(let i=t+2;;i++)if(this.tokens.matches1AtIndex(i,o.braceL)||this.tokens.matches1AtIndex(i,o.dollarBraceL)||this.tokens.matches1AtIndex(i,o.bracketL))r++;else if(this.tokens.matches1AtIndex(i,o.braceR)||this.tokens.matches1AtIndex(i,o.bracketR))r--;else{if(r===0&&!this.tokens.matches1AtIndex(i,o.name))break;if(this.tokens.matches1AtIndex(1,o.eq)){let n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected = token with an end index.");i=n-1}else{let n=this.tokens.tokens[i];if(Jc(n)){let s=this.tokens.identifierNameAtIndex(i);this.identifierReplacements.set(s,`exports.${s}`)}}}}preprocessNamedExportAtIndex(t){t+=2;let{newIndex:r,namedImports:i}=this.getNamedImports(t);if(t=r,this.tokens.matchesContextualAtIndex(t,D._from))t++;else{for(let{importedName:a,localName:l}of i)this.addExportBinding(a,l);return}if(!this.tokens.matches1AtIndex(t,o.string))throw new Error("Expected string token at the end of import statement.");let n=this.tokens.stringValueAtIndex(t);this.getImportInfo(n).namedExports.push(...i)}preprocessExportStarAtIndex(t){let r=null;if(this.tokens.matches3AtIndex(t,o._export,o.star,o._as)?(t+=3,r=this.tokens.identifierNameAtIndex(t),t+=2):t+=3,!this.tokens.matches1AtIndex(t,o.string))throw new Error("Expected string token at the end of star export statement.");let i=this.tokens.stringValueAtIndex(t),n=this.getImportInfo(i);r!==null?n.exportStarNames.push(r):n.hasStarExport=!0}getNamedImports(t){let r=[];for(;;){if(this.tokens.matches1AtIndex(t,o.braceR)){t++;break}let i=dn(this.tokens,t);if(t=i.endIndex,i.isType||r.push({importedName:i.leftName,localName:i.rightName}),this.tokens.matches2AtIndex(t,o.comma,o.braceR)){t+=2;break}else if(this.tokens.matches1AtIndex(t,o.braceR)){t++;break}else if(this.tokens.matches1AtIndex(t,o.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[t])}`)}return{newIndex:t,namedImports:r}}getImportInfo(t){let r=this.importInfoByPath.get(t);if(r)return r;let i={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(t,i),i}addExportBinding(t,r){this.exportBindingsByLocalName.has(t)||this.exportBindingsByLocalName.set(t,[]),this.exportBindingsByLocalName.get(t).push(r)}claimImportCode(t){let r=this.importsToReplace.get(t);return this.importsToReplace.set(t,""),r||""}getIdentifierReplacement(t){return this.identifierReplacements.get(t)||null}resolveExportBinding(t){let r=this.exportBindingsByLocalName.get(t);return!r||r.length===0?null:r.map(i=>`exports.${i}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};var Vs=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function QT(e,t){return e._indexes[t]}function Hs(e,t){let r=QT(e,t);if(r!==void 0)return r;let{array:i,_indexes:n}=e,s=i.push(t);return n[t]=s-1}function eI(e,t){let r=QT(e,t);if(r===void 0)return;let{array:i,_indexes:n}=e;for(let s=r+1;s<i.length;s++){let a=i[s];i[s-1]=a,n[a]--}n[t]=void 0,i.pop()}var tI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",sI=new Uint8Array(64),aI=new Uint8Array(128);for(let e=0;e<tI.length;e++){let t=tI.charCodeAt(e);sI[e]=t,aI[t]=e}function qo(e,t){let r=0,i=0,n=0;do{let a=e.next();n=aI[a],r|=(n&31)<<i,i+=5}while(n&32);let s=r&1;return r>>>=1,s&&(r=-2147483648|-r),t+r}function Mo(e,t,r){let i=t-r;i=i<0?-i<<1|1:i<<1;do{let n=i&31;i>>>=5,i>0&&(n|=32),e.write(sI[n])}while(i>0);return t}function rI(e,t){return e.pos>=t?!1:e.peek()!==44}var nI=1024*16,iI=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(e){return Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString()}}:{decode(e){let t="";for(let r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t}},xk=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(nI)}write(t){let{buffer:r}=this;r[this.pos++]=t,this.pos===nI&&(this.out+=iI.decode(r),this.pos=0)}flush(){let{buffer:t,out:r,pos:i}=this;return i>0?r+iI.decode(t.subarray(0,i)):r}},kk=class{constructor(t){this.pos=0,this.buffer=t}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(t){let{buffer:r,pos:i}=this,n=r.indexOf(t,i);return n===-1?r.length:n}};function np(e){let{length:t}=e,r=new kk(e),i=[],n=0,s=0,a=0,l=0,u=0;do{let p=r.indexOf(";"),f=[],h=!0,_=0;for(n=0;r.pos<p;){let g;n=qo(r,n),n<_&&(h=!1),_=n,rI(r,p)?(s=qo(r,s),a=qo(r,a),l=qo(r,l),rI(r,p)?(u=qo(r,u),g=[n,s,a,l,u]):g=[n,s,a,l]):g=[n],f.push(g),r.pos++}h||vU(f),i.push(f),r.pos=p+1}while(r.pos<=t);return i}function vU(e){e.sort(yU)}function yU(e,t){return e[0]-t[0]}function Zs(e){let t=new xk,r=0,i=0,n=0,s=0;for(let a=0;a<e.length;a++){let l=e[a];if(a>0&&t.write(59),l.length===0)continue;let u=0;for(let p=0;p<l.length;p++){let f=l[p];p>0&&t.write(44),u=Mo(t,f[0],u),f.length!==1&&(r=Mo(t,f[1],r),i=Mo(t,f[2],i),n=Mo(t,f[3],n),f.length!==4&&(s=Mo(t,f[4],s)))}}return t.flush()}var xU=/^[\w+.-]+:\/\//,kU=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,wU=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function EU(e){return xU.test(e)}function DU(e){return e.startsWith("//")}function uI(e){return e.startsWith("/")}function CU(e){return e.startsWith("file:")}function oI(e){return/^[.?#]/.test(e)}function ip(e){let t=kU.exec(e);return cI(t[1],t[2]||"",t[3],t[4]||"",t[5]||"/",t[6]||"",t[7]||"")}function SU(e){let t=wU.exec(e),r=t[2];return cI("file:","",t[1]||"","",uI(r)?r:"/"+r,t[3]||"",t[4]||"")}function cI(e,t,r,i,n,s,a){return{scheme:e,user:t,host:r,port:i,path:n,query:s,hash:a,type:7}}function lI(e){if(DU(e)){let r=ip("http:"+e);return r.scheme="",r.type=6,r}if(uI(e)){let r=ip("http://foo.com"+e);return r.scheme="",r.host="",r.type=5,r}if(CU(e))return SU(e);if(EU(e))return ip(e);let t=ip("http://foo.com/"+e);return t.scheme="",t.host="",t.type=e?e.startsWith("?")?3:e.startsWith("#")?2:4:1,t}function $U(e){if(e.endsWith("/.."))return e;let t=e.lastIndexOf("/");return e.slice(0,t+1)}function TU(e,t){pI(t,t.type),e.path==="/"?e.path=t.path:e.path=$U(t.path)+e.path}function pI(e,t){let r=t<=4,i=e.path.split("/"),n=1,s=0,a=!1;for(let u=1;u<i.length;u++){let p=i[u];if(!p){a=!0;continue}if(a=!1,p!=="."){if(p===".."){s?(a=!0,s--,n--):r&&(i[n++]=p);continue}i[n++]=p,s++}}let l="";for(let u=1;u<n;u++)l+="/"+i[u];(!l||a&&!l.endsWith("/.."))&&(l+="/"),e.path=l}function dI(e,t){if(!e&&!t)return"";let r=lI(e),i=r.type;if(t&&i!==7){let s=lI(t),a=s.type;switch(i){case 1:r.hash=s.hash;case 2:r.query=s.query;case 3:case 4:TU(r,s);case 5:r.user=s.user,r.host=s.host,r.port=s.port;case 6:r.scheme=s.scheme}a>i&&(i=a)}pI(r,i);let n=r.query+r.hash;switch(i){case 2:case 3:return n;case 4:{let s=r.path.slice(1);return s?oI(t||e)&&!oI(s)?"./"+s+n:s+n:n||"."}case 5:return r.path+n;default:return r.scheme+"//"+r.user+r.host+r.port+r.path+n}}function fI(e,t){return t&&!t.endsWith("/")&&(t+="/"),dI(e,t)}function IU(e){if(!e)return"";let t=e.lastIndexOf("/");return e.slice(0,t+1)}var xi=0;function AU(e,t){let r=mI(e,0);if(r===e.length)return e;t||(e=e.slice());for(let i=r;i<e.length;i=mI(e,i+1))e[i]=RU(e[i],t);return e}function mI(e,t){for(let r=t;r<e.length;r++)if(!PU(e[r]))return r;return e.length}function PU(e){for(let t=1;t<e.length;t++)if(e[t][xi]<e[t-1][xi])return!1;return!0}function RU(e,t){return t||(e=e.slice()),e.sort(NU)}function NU(e,t){return e[xi]-t[xi]}var sp=!1;function OU(e,t,r,i){for(;r<=i;){let n=r+(i-r>>1),s=e[n][xi]-t;if(s===0)return sp=!0,n;s<0?r=n+1:i=n-1}return sp=!1,r-1}function LU(e,t,r){for(let i=r+1;i<e.length&&e[i][xi]===t;r=i++);return r}function FU(e,t,r){for(let i=r-1;i>=0&&e[i][xi]===t;r=i--);return r}function jU(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function qU(e,t,r,i){let{lastKey:n,lastNeedle:s,lastIndex:a}=r,l=0,u=e.length-1;if(i===n){if(t===s)return sp=a!==-1&&e[a][xi]===t,a;t>=s?l=a===-1?0:a:u=a}return r.lastKey=i,r.lastNeedle=t,r.lastIndex=OU(e,t,l,u)}var hI=-1,MU=1,Ws=class{constructor(t,r){let i=typeof t=="string";if(!i&&t._decodedMemo)return t;let n=i?JSON.parse(t):t,{version:s,file:a,names:l,sourceRoot:u,sources:p,sourcesContent:f}=n;this.version=s,this.file=a,this.names=l||[],this.sourceRoot=u,this.sources=p,this.sourcesContent=f,this.ignoreList=n.ignoreList||n.x_google_ignoreList||void 0;let h=fI(u||"",IU(r));this.resolvedSources=p.map(g=>fI(g||"",h));let{mappings:_}=n;typeof _=="string"?(this._encoded=_,this._decoded=void 0):(this._encoded=void 0,this._decoded=AU(_,i)),this._decodedMemo=jU(),this._bySources=void 0,this._bySourceMemos=void 0}};function ap(e){var t;return(t=e)._decoded||(t._decoded=np(e._encoded))}function _I(e,t,r){let i=ap(e);if(t>=i.length)return null;let n=i[t],s=BU(n,e._decodedMemo,t,r,MU);return s===-1?null:n[s]}function BU(e,t,r,i,n){let s=qU(e,i,t,r);return sp?s=(n===hI?LU:FU)(e,i,s):n===hI&&s++,s===-1||s===e.length?-1:s}var zU=0,UU=1,VU=2,HU=3,ZU=4,bI=-1,Gs=class{constructor({file:t,sourceRoot:r}={}){this._names=new Vs,this._sources=new Vs,this._sourcesContent=[],this._mappings=[],this.file=t,this.sourceRoot=r,this._ignoreList=new Vs}};var Ks=(e,t,r,i,n,s,a,l)=>WU(!0,e,t,r,i,n,s,a,l);function vI(e,t,r){let{_sources:i,_sourcesContent:n}=e,s=Hs(i,t);n[s]=r}function yI(e,t,r=!0){let{_sources:i,_sourcesContent:n,_ignoreList:s}=e,a=Hs(i,t);a===n.length&&(n[a]=null),r?Hs(s,a):eI(s,a)}function wk(e){let{_mappings:t,_sources:r,_sourcesContent:i,_names:n,_ignoreList:s}=e;return XU(t),{version:3,file:e.file||void 0,names:n.array,sourceRoot:e.sourceRoot||void 0,sources:r.array,sourcesContent:i,mappings:t,ignoreList:s.array}}function op(e){let t=wk(e);return Object.assign(Object.assign({},t),{mappings:Zs(t.mappings)})}function WU(e,t,r,i,n,s,a,l,u){let{_mappings:p,_sources:f,_sourcesContent:h,_names:_}=t,g=GU(p,r),b=KU(g,i);if(!n)return e&&JU(g,b)?void 0:gI(g,b,[i]);let E=Hs(f,n),C=l?Hs(_,l):bI;if(E===h.length&&(h[E]=u??null),!(e&&YU(g,b,E,s,a,C)))return gI(g,b,l?[i,E,s,a,C]:[i,E,s,a])}function GU(e,t){for(let r=e.length;r<=t;r++)e[r]=[];return e[t]}function KU(e,t){let r=e.length;for(let i=r-1;i>=0;r=i--){let n=e[i];if(t>=n[zU])break}return r}function gI(e,t,r){for(let i=e.length;i>t;i--)e[i]=e[i-1];e[t]=r}function XU(e){let{length:t}=e,r=t;for(let i=r-1;i>=0&&!(e[i].length>0);r=i,i--);r<t&&(e.length=r)}function JU(e,t){return t===0?!0:e[t-1].length===1}function YU(e,t,r,i,n,s){if(t===0)return!1;let a=e[t-1];return a.length===1?!1:r===a[UU]&&i===a[VU]&&n===a[HU]&&s===(a.length===5?a[ZU]:bI)}function Ek({code:e,mappings:t},r,i,n,s){let a=QU(n,s),l=new Gs({file:i.compiledFilename}),u=0,p=t[0];for(;p===void 0&&u<t.length-1;)u++,p=t[u];let f=0,h=0;p!==h&&Ks(l,f,0,r,f,0);for(let E=0;E<e.length;E++){if(E===p){let C=p-h,T=a[u];for(Ks(l,f,C,r,f,T);(p===E||p===void 0)&&u<t.length-1;)u++,p=t[u]}e.charCodeAt(E)===S.lineFeed&&(f++,h=E+1,p!==h&&Ks(l,f,0,r,f,0))}let{sourceRoot:_,sourcesContent:g,...b}=op(l);return b}function QU(e,t){let r=new Array(t.length),i=0,n=t[i].start,s=0;for(let a=0;a<e.length;a++)a===n&&(r[i]=n-s,i++,n=t[i].start),e.charCodeAt(a)===S.lineFeed&&(s=a+1);return r}var eV={require:`
    import {createRequire as CREATE_REQUIRE_NAME} from "module";
    const require = CREATE_REQUIRE_NAME(import.meta.url);
  `,interopRequireWildcard:`
    function interopRequireWildcard(obj) {
      if (obj && obj.__esModule) {
        return obj;
      } else {
        var newObj = {};
        if (obj != null) {
          for (var key in obj) {
            if (Object.prototype.hasOwnProperty.call(obj, key)) {
              newObj[key] = obj[key];
            }
          }
        }
        newObj.default = obj;
        return newObj;
      }
    }
  `,interopRequireDefault:`
    function interopRequireDefault(obj) {
      return obj && obj.__esModule ? obj : { default: obj };
    }
  `,createNamedExportFrom:`
    function createNamedExportFrom(obj, localName, importedName) {
      Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
    }
  `,createStarExport:`
    function createStarExport(obj) {
      Object.keys(obj)
        .filter((key) => key !== "default" && key !== "__esModule")
        .forEach((key) => {
          if (exports.hasOwnProperty(key)) {
            return;
          }
          Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
        });
    }
  `,nullishCoalesce:`
    function nullishCoalesce(lhs, rhsFn) {
      if (lhs != null) {
        return lhs;
      } else {
        return rhsFn();
      }
    }
  `,asyncNullishCoalesce:`
    async function asyncNullishCoalesce(lhs, rhsFn) {
      if (lhs != null) {
        return lhs;
      } else {
        return await rhsFn();
      }
    }
  `,optionalChain:`
    function optionalChain(ops) {
      let lastAccessLHS = undefined;
      let value = ops[0];
      let i = 1;
      while (i < ops.length) {
        const op = ops[i];
        const fn = ops[i + 1];
        i += 2;
        if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
          return undefined;
        }
        if (op === 'access' || op === 'optionalAccess') {
          lastAccessLHS = value;
          value = fn(value);
        } else if (op === 'call' || op === 'optionalCall') {
          value = fn((...args) => value.call(lastAccessLHS, ...args));
          lastAccessLHS = undefined;
        }
      }
      return value;
    }
  `,asyncOptionalChain:`
    async function asyncOptionalChain(ops) {
      let lastAccessLHS = undefined;
      let value = ops[0];
      let i = 1;
      while (i < ops.length) {
        const op = ops[i];
        const fn = ops[i + 1];
        i += 2;
        if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
          return undefined;
        }
        if (op === 'access' || op === 'optionalAccess') {
          lastAccessLHS = value;
          value = await fn(value);
        } else if (op === 'call' || op === 'optionalCall') {
          value = await fn((...args) => value.call(lastAccessLHS, ...args));
          lastAccessLHS = undefined;
        }
      }
      return value;
    }
  `,optionalChainDelete:`
    function optionalChainDelete(ops) {
      const result = OPTIONAL_CHAIN_NAME(ops);
      return result == null ? true : result;
    }
  `,asyncOptionalChainDelete:`
    async function asyncOptionalChainDelete(ops) {
      const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
      return result == null ? true : result;
    }
  `},lp=class e{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(t){this.nameManager=t,e.prototype.__init.call(this),e.prototype.__init2.call(this)}getHelperName(t){let r=this.helperNames[t];return r||(r=this.nameManager.claimFreeName(`_${t}`),this.helperNames[t]=r,r)}emitHelpers(){let t="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[r,i]of Object.entries(eV)){let n=this.helperNames[r],s=i;r==="optionalChainDelete"?s=s.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):r==="asyncOptionalChainDelete"?s=s.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):r==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),s=s.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),n&&(t+=" ",t+=s.replace(r,n).replace(/\s+/g," ").trim())}return t}};function up(e,t,r){tV(e,r)&&rV(e,t,r)}function tV(e,t){for(let r of e.tokens)if(r.type===o.name&&!r.isType&&zT(r)&&t.has(e.identifierNameForToken(r)))return!0;return!1}function rV(e,t,r){let i=[],n=t.length-1;for(let s=e.tokens.length-1;;s--){for(;i.length>0&&i[i.length-1].startTokenIndex===s+1;)i.pop();for(;n>=0&&t[n].endTokenIndex===s+1;)i.push(t[n]),n--;if(s<0)break;let a=e.tokens[s],l=e.identifierNameForToken(a);if(i.length>1&&!a.isType&&a.type===o.name&&r.has(l)){if(UT(a))xI(i[i.length-1],e,l);else if(VT(a)){let u=i.length-1;for(;u>0&&!i[u].isFunctionScope;)u--;if(u<0)throw new Error("Did not find parent function scope.");xI(i[u],e,l)}}}if(i.length>0)throw new Error("Expected empty scope stack after processing file.")}function xI(e,t,r){for(let i=e.startTokenIndex;i<e.endTokenIndex;i++){let n=t.tokens[i];(n.type===o.name||n.type===o.jsxName)&&t.identifierNameForToken(n)===r&&(n.shadowsGlobal=!0)}}function Dk(e,t){let r=[];for(let i of t)i.type===o.name&&r.push(e.slice(i.start,i.end));return r}var Bo=class e{__init(){this.usedNames=new Set}constructor(t,r){e.prototype.__init.call(this),this.usedNames=new Set(Dk(t,r))}claimFreeName(t){let r=this.findFreeName(t);return this.usedNames.add(r),r}findFreeName(t){if(!this.usedNames.has(t))return t;let r=2;for(;this.usedNames.has(t+String(r));)r++;return t+String(r)}};var qI=it(Nk());var Ve=it(Nk()),EV=Ve.union(Ve.lit("jsx"),Ve.lit("typescript"),Ve.lit("flow"),Ve.lit("imports"),Ve.lit("react-hot-loader"),Ve.lit("jest")),DV=Ve.iface([],{compiledFilename:"string"}),CV=Ve.iface([],{transforms:Ve.array("Transform"),disableESTransforms:Ve.opt("boolean"),jsxRuntime:Ve.opt(Ve.union(Ve.lit("classic"),Ve.lit("automatic"),Ve.lit("preserve"))),production:Ve.opt("boolean"),jsxImportSource:Ve.opt("string"),jsxPragma:Ve.opt("string"),jsxFragmentPragma:Ve.opt("string"),keepUnusedImports:Ve.opt("boolean"),preserveDynamicImport:Ve.opt("boolean"),injectCreateRequireForImportRequire:Ve.opt("boolean"),enableLegacyTypeScriptModuleInterop:Ve.opt("boolean"),enableLegacyBabel5ModuleInterop:Ve.opt("boolean"),sourceMapOptions:Ve.opt("SourceMapOptions"),filePath:Ve.opt("string")}),SV={Transform:EV,SourceMapOptions:DV,Options:CV},jI=SV;var{Options:$V}=(0,qI.createCheckers)(jI);function MI(e){$V.strictCheck(e)}function Ok(){q(),gt(!1)}function Lk(e){q(),Vo(e)}function Yr(e){fe(),dp(e)}function Js(){fe(),d.tokens[d.tokens.length-1].identifierRole=ae.ImportDeclaration}function dp(e){let t;d.scopeDepth===0?t=ae.TopLevelDeclaration:e?t=ae.BlockScopedDeclaration:t=ae.FunctionScopedDeclaration,d.tokens[d.tokens.length-1].identifierRole=t}function Vo(e){switch(d.type){case o._this:{let t=ve(0);q(),ge(t);return}case o._yield:case o.name:{d.type=o.name,Yr(e);return}case o.bracketL:{q(),Ho(o.bracketR,e,!0);return}case o.braceL:Wo(!0,e);return;default:he()}}function Ho(e,t,r=!1,i=!1,n=0){let s=!0,a=!1,l=d.tokens.length;for(;!P(e)&&!d.error;)if(s?s=!1:(F(o.comma),d.tokens[d.tokens.length-1].contextId=n,!a&&d.tokens[l].isType&&(d.tokens[d.tokens.length-1].isType=!0,a=!0)),!(r&&k(o.comma))){if(P(e))break;if(k(o.ellipsis)){Lk(t),BI(),P(o.comma),F(e);break}else TV(i,t)}}function TV(e,t){e&&Zo([D._public,D._protected,D._private,D._readonly,D._override]),Uo(t),BI(),Uo(t,!0)}function BI(){Re?UI():Te&&zI()}function Uo(e,t=!1){if(t||Vo(e),!P(o.eq))return;let r=d.tokens.length-1;gt(),d.tokens[r].rhsEndIndex=d.tokens.length}function jk(){return k(o.name)}function IV(){return k(o.name)||!!(d.type&o.IS_KEYWORD)||k(o.string)||k(o.num)||k(o.bigint)||k(o.decimal)}function KI(){let e=d.snapshot();return q(),(k(o.bracketL)||k(o.braceL)||k(o.star)||k(o.ellipsis)||k(o.hash)||IV())&&!Tt()?!0:(d.restoreFromSnapshot(e),!1)}function Zo(e){for(;XI(e)!==null;);}function XI(e){if(!k(o.name))return null;let t=d.contextualKeyword;if(e.indexOf(t)!==-1&&KI()){switch(t){case D._readonly:d.tokens[d.tokens.length-1].type=o._readonly;break;case D._abstract:d.tokens[d.tokens.length-1].type=o._abstract;break;case D._static:d.tokens[d.tokens.length-1].type=o._static;break;case D._public:d.tokens[d.tokens.length-1].type=o._public;break;case D._private:d.tokens[d.tokens.length-1].type=o._private;break;case D._protected:d.tokens[d.tokens.length-1].type=o._protected;break;case D._override:d.tokens[d.tokens.length-1].type=o._override;break;case D._declare:d.tokens[d.tokens.length-1].type=o._declare;break;default:break}return t}return null}function Ko(){for(fe();P(o.dot);)fe()}function AV(){Ko(),!Tt()&&k(o.lessThan)&&ea()}function PV(){q(),Qs()}function RV(){q()}function NV(){F(o._typeof),k(o._import)?JI():Ko(),!Tt()&&k(o.lessThan)&&ea()}function JI(){F(o._import),F(o.parenL),F(o.string),F(o.parenR),P(o.dot)&&Ko(),k(o.lessThan)&&ea()}function OV(){P(o._const);let e=P(o._in),t=ft(D._out);P(o._const),(e||t)&&!k(o.name)?d.tokens[d.tokens.length-1].type=o.name:fe(),P(o._extends)&&ot(),P(o.eq)&&ot()}function Di(){k(o.lessThan)&&mp()}function mp(){let e=ve(0);for(k(o.lessThan)||k(o.typeParameterStart)?q():he();!P(o.greaterThan)&&!d.error;)OV(),P(o.comma);ge(e)}function Bk(e){let t=e===o.arrow;Di(),F(o.parenL),d.scopeDepth++,LV(!1),d.scopeDepth--,(t||k(e))&&Go(e)}function LV(e){Ho(o.parenR,e)}function fp(){P(o.comma)||Ge()}function VI(){Bk(o.colon),fp()}function FV(){let e=d.snapshot();q();let t=P(o.name)&&k(o.colon);return d.restoreFromSnapshot(e),t}function YI(){if(!(k(o.bracketL)&&FV()))return!1;let e=ve(0);return F(o.bracketL),fe(),Qs(),F(o.bracketR),Qi(),fp(),ge(e),!0}function HI(e){P(o.question),!e&&(k(o.parenL)||k(o.lessThan))?(Bk(o.colon),fp()):(Qi(),fp())}function jV(){if(k(o.parenL)||k(o.lessThan)){VI();return}if(k(o._new)){q(),k(o.parenL)||k(o.lessThan)?VI():HI(!1);return}let e=!!XI([D._readonly]);YI()||((se(D._get)||se(D._set))&&KI(),es(-1),HI(e))}function qV(){QI()}function QI(){for(F(o.braceL);!P(o.braceR)&&!d.error;)jV()}function MV(){let e=d.snapshot(),t=BV();return d.restoreFromSnapshot(e),t}function BV(){return q(),P(o.plus)||P(o.minus)?se(D._readonly):(se(D._readonly)&&q(),!k(o.bracketL)||(q(),!jk())?!1:(q(),k(o._in)))}function zV(){fe(),F(o._in),ot()}function UV(){F(o.braceL),k(o.plus)||k(o.minus)?(q(),rt(D._readonly)):ft(D._readonly),F(o.bracketL),zV(),ft(D._as)&&ot(),F(o.bracketR),k(o.plus)||k(o.minus)?(q(),F(o.question)):P(o.question),nH(),Ge(),F(o.braceR)}function VV(){for(F(o.bracketL);!P(o.bracketR)&&!d.error;)HV(),P(o.comma)}function HV(){P(o.ellipsis)?ot():(ot(),P(o.question)),P(o.colon)&&ot()}function ZV(){F(o.parenL),ot(),F(o.parenR)}function WV(){for(pn(),pn();!k(o.backQuote)&&!d.error;)F(o.dollarBraceL),ot(),pn(),pn();q()}var wi;(function(e){e[e.TSFunctionType=0]="TSFunctionType";let r=1;e[e.TSConstructorType=r]="TSConstructorType";let i=r+1;e[e.TSAbstractConstructorType=i]="TSAbstractConstructorType"})(wi||(wi={}));function Fk(e){e===wi.TSAbstractConstructorType&&rt(D._abstract),(e===wi.TSConstructorType||e===wi.TSAbstractConstructorType)&&F(o._new);let t=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!1,Bk(o.arrow),d.inDisallowConditionalTypesContext=t}function GV(){switch(d.type){case o.name:AV();return;case o._void:case o._null:q();return;case o.string:case o.num:case o.bigint:case o.decimal:case o._true:case o._false:Ei();return;case o.minus:q(),Ei();return;case o._this:{RV(),se(D._is)&&!Tt()&&PV();return}case o._typeof:NV();return;case o._import:JI();return;case o.braceL:MV()?UV():qV();return;case o.bracketL:VV();return;case o.parenL:ZV();return;case o.backQuote:WV();return;default:if(d.type&o.IS_KEYWORD){q(),d.tokens[d.tokens.length-1].type=o.name;return}break}he()}function KV(){for(GV();!Tt()&&P(o.bracketL);)P(o.bracketR)||(ot(),F(o.bracketR))}function XV(){if(rt(D._infer),fe(),k(o._extends)){let e=d.snapshot();F(o._extends);let t=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!0,ot(),d.inDisallowConditionalTypesContext=t,(d.error||!d.inDisallowConditionalTypesContext&&k(o.question))&&d.restoreFromSnapshot(e)}}function qk(){if(se(D._keyof)||se(D._unique)||se(D._readonly))q(),qk();else if(se(D._infer))XV();else{let e=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!1,KV(),d.inDisallowConditionalTypesContext=e}}function ZI(){if(P(o.bitwiseAND),qk(),k(o.bitwiseAND))for(;P(o.bitwiseAND);)qk()}function JV(){if(P(o.bitwiseOR),ZI(),k(o.bitwiseOR))for(;P(o.bitwiseOR);)ZI()}function YV(){return k(o.lessThan)?!0:k(o.parenL)&&eH()}function QV(){if(k(o.name)||k(o._this))return q(),!0;if(k(o.braceL)||k(o.bracketL)){let e=1;for(q();e>0&&!d.error;)k(o.braceL)||k(o.bracketL)?e++:(k(o.braceR)||k(o.bracketR))&&e--,q();return!0}return!1}function eH(){let e=d.snapshot(),t=tH();return d.restoreFromSnapshot(e),t}function tH(){return q(),!!(k(o.parenR)||k(o.ellipsis)||QV()&&(k(o.colon)||k(o.comma)||k(o.question)||k(o.eq)||k(o.parenR)&&(q(),k(o.arrow))))}function Go(e){let t=ve(0);F(e),iH()||ot(),ge(t)}function rH(){k(o.colon)&&Go(o.colon)}function Qi(){k(o.colon)&&Qs()}function nH(){P(o.colon)&&ot()}function iH(){let e=d.snapshot();return se(D._asserts)?(q(),ft(D._is)?(ot(),!0):jk()||k(o._this)?(q(),ft(D._is)&&ot(),!0):(d.restoreFromSnapshot(e),!1)):jk()||k(o._this)?(q(),se(D._is)&&!Tt()?(q(),ot(),!0):(d.restoreFromSnapshot(e),!1)):!1}function Qs(){let e=ve(0);F(o.colon),ot(),ge(e)}function ot(){if(WI(),d.inDisallowConditionalTypesContext||Tt()||!P(o._extends))return;let e=d.inDisallowConditionalTypesContext;d.inDisallowConditionalTypesContext=!0,WI(),d.inDisallowConditionalTypesContext=e,F(o.question),ot(),F(o.colon),ot()}function sH(){return se(D._abstract)&&Ke()===o._new}function WI(){if(YV()){Fk(wi.TSFunctionType);return}if(k(o._new)){Fk(wi.TSConstructorType);return}else if(sH()){Fk(wi.TSAbstractConstructorType);return}JV()}function eA(){let e=ve(1);ot(),F(o.greaterThan),ge(e),ta()}function tA(){if(P(o.jsxTagStart)){d.tokens[d.tokens.length-1].type=o.typeParameterStart;let e=ve(1);for(;!k(o.greaterThan)&&!d.error;)ot(),P(o.comma);Cr(),ge(e)}}function rA(){for(;!k(o.braceL)&&!d.error;)aH(),P(o.comma)}function aH(){Ko(),k(o.lessThan)&&ea()}function oH(){Yr(!1),Di(),P(o._extends)&&rA(),QI()}function lH(){Yr(!1),Di(),F(o.eq),ot(),Ge()}function uH(){if(k(o.string)?Ei():fe(),P(o.eq)){let e=d.tokens.length-1;gt(),d.tokens[e].rhsEndIndex=d.tokens.length}}function zk(){for(Yr(!1),F(o.braceL);!P(o.braceR)&&!d.error;)uH(),P(o.comma)}function Uk(){F(o.braceL),ra(o.braceR)}function Mk(){Yr(!1),P(o.dot)?Mk():Uk()}function nA(){se(D._global)?fe():k(o.string)?Fr():he(),k(o.braceL)?Uk():Ge()}function hp(){Js(),F(o.eq),pH(),Ge()}function cH(){return se(D._require)&&Ke()===o.parenL}function pH(){cH()?dH():Ko()}function dH(){rt(D._require),F(o.parenL),k(o.string)||he(),Ei(),F(o.parenR)}function fH(){if(Or())return!1;switch(d.type){case o._function:{let e=ve(1);q();let t=d.start;return Un(t,!0),ge(e),!0}case o._class:{let e=ve(1);return Hn(!0,!1),ge(e),!0}case o._const:if(k(o._const)&&Us(D._enum)){let e=ve(1);return F(o._const),rt(D._enum),d.tokens[d.tokens.length-1].type=o._enum,zk(),ge(e),!0}case o._var:case o._let:{let e=ve(1);return Jo(d.type!==o._var),ge(e),!0}case o.name:{let e=ve(1),t=d.contextualKeyword,r=!1;return t===D._global?(nA(),r=!0):r=_p(t,!0),ge(e),r}default:return!1}}function GI(){return _p(d.contextualKeyword,!0)}function mH(e){switch(e){case D._declare:{let t=d.tokens.length-1;if(fH())return d.tokens[t].type=o._declare,!0;break}case D._global:if(k(o.braceL))return Uk(),!0;break;default:return _p(e,!1)}return!1}function _p(e,t){switch(e){case D._abstract:if(Ys(t)&&k(o._class))return d.tokens[d.tokens.length-1].type=o._abstract,Hn(!0,!1),!0;break;case D._enum:if(Ys(t)&&k(o.name))return d.tokens[d.tokens.length-1].type=o._enum,zk(),!0;break;case D._interface:if(Ys(t)&&k(o.name)){let r=ve(t?2:1);return oH(),ge(r),!0}break;case D._module:if(Ys(t)){if(k(o.string)){let r=ve(t?2:1);return nA(),ge(r),!0}else if(k(o.name)){let r=ve(t?2:1);return Mk(),ge(r),!0}}break;case D._namespace:if(Ys(t)&&k(o.name)){let r=ve(t?2:1);return Mk(),ge(r),!0}break;case D._type:if(Ys(t)&&k(o.name)){let r=ve(t?2:1);return lH(),ge(r),!0}break;default:break}return!1}function Ys(e){return e?(q(),!0):!Or()}function hH(){let e=d.snapshot();return mp(),Vn(),rH(),F(o.arrow),d.error?(d.restoreFromSnapshot(e),!1):(ts(!0),!0)}function Vk(){d.type===o.bitShiftL&&(d.pos-=1,_e(o.lessThan)),ea()}function ea(){let e=ve(0);for(F(o.lessThan);!k(o.greaterThan)&&!d.error;)ot(),P(o.comma);e?(F(o.greaterThan),ge(e)):(ge(e),ep(),F(o.greaterThan),d.tokens[d.tokens.length-1].isType=!0)}function Hk(){if(k(o.name))switch(d.contextualKeyword){case D._abstract:case D._declare:case D._enum:case D._interface:case D._module:case D._namespace:case D._type:return!0;default:break}return!1}function iA(e,t){if(k(o.colon)&&Go(o.colon),!k(o.braceL)&&Or()){let r=d.tokens.length-1;for(;r>=0&&(d.tokens[r].start>=e||d.tokens[r].type===o._default||d.tokens[r].type===o._export);)d.tokens[r].isType=!0,r--;return}ts(!1,t)}function sA(e,t,r){if(!Tt()&&P(o.bang)){d.tokens[d.tokens.length-1].type=o.nonNullAssertion;return}if(k(o.lessThan)||k(o.bitShiftL)){let i=d.snapshot();if(!t&&Zk()&&hH())return;if(Vk(),!t&&P(o.parenL)?(d.tokens[d.tokens.length-1].subscriptStartIndex=e,Qr()):k(o.backQuote)?gp():(d.type===o.greaterThan||d.type!==o.parenL&&d.type&o.IS_EXPRESSION_START&&!Tt())&&he(),d.error)d.restoreFromSnapshot(i);else return}else!t&&k(o.questionDot)&&Ke()===o.lessThan&&(q(),d.tokens[e].isOptionalChainStart=!0,d.tokens[d.tokens.length-1].subscriptStartIndex=e,ea(),F(o.parenL),Qr());Xo(e,t,r)}function aA(){if(P(o._import))return se(D._type)&&Ke()!==o.eq&&rt(D._type),hp(),!0;if(P(o.eq))return bt(),Ge(),!0;if(ft(D._as))return rt(D._namespace),fe(),Ge(),!0;if(se(D._type)){let e=Ke();(e===o.braceL||e===o.star)&&q()}return!1}function oA(){if(fe(),k(o.comma)||k(o.braceR)){d.tokens[d.tokens.length-1].identifierRole=ae.ImportDeclaration;return}if(fe(),k(o.comma)||k(o.braceR)){d.tokens[d.tokens.length-1].identifierRole=ae.ImportDeclaration,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0;return}if(fe(),k(o.comma)||k(o.braceR)){d.tokens[d.tokens.length-3].identifierRole=ae.ImportAccess,d.tokens[d.tokens.length-1].identifierRole=ae.ImportDeclaration;return}fe(),d.tokens[d.tokens.length-3].identifierRole=ae.ImportAccess,d.tokens[d.tokens.length-1].identifierRole=ae.ImportDeclaration,d.tokens[d.tokens.length-4].isType=!0,d.tokens[d.tokens.length-3].isType=!0,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0}function lA(){if(fe(),k(o.comma)||k(o.braceR)){d.tokens[d.tokens.length-1].identifierRole=ae.ExportAccess;return}if(fe(),k(o.comma)||k(o.braceR)){d.tokens[d.tokens.length-1].identifierRole=ae.ExportAccess,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0;return}if(fe(),k(o.comma)||k(o.braceR)){d.tokens[d.tokens.length-3].identifierRole=ae.ExportAccess;return}fe(),d.tokens[d.tokens.length-3].identifierRole=ae.ExportAccess,d.tokens[d.tokens.length-4].isType=!0,d.tokens[d.tokens.length-3].isType=!0,d.tokens[d.tokens.length-2].isType=!0,d.tokens[d.tokens.length-1].isType=!0}function uA(){if(se(D._abstract)&&Ke()===o._class)return d.type=o._abstract,q(),Hn(!0,!0),!0;if(se(D._interface)){let e=ve(2);return _p(D._interface,!0),ge(e),!0}return!1}function cA(){if(d.type===o._const){let e=Bn();if(e.type===o.name&&e.contextualKeyword===D._enum)return F(o._const),rt(D._enum),d.tokens[d.tokens.length-1].type=o._enum,zk(),!0}return!1}function pA(e){let t=d.tokens.length;Zo([D._abstract,D._readonly,D._declare,D._static,D._override]);let r=d.tokens.length;if(YI()){let n=e?t-1:t;for(let s=n;s<r;s++)d.tokens[s].isType=!0;return!0}return!1}function dA(e){mH(e)||Ge()}function fA(){let e=ft(D._declare);e&&(d.tokens[d.tokens.length-1].type=o._declare);let t=!1;if(k(o.name))if(e){let r=ve(2);t=GI(),ge(r)}else t=GI();if(!t)if(e){let r=ve(2);Xt(!0),ge(r)}else Xt(!0)}function mA(e){if(e&&(k(o.lessThan)||k(o.bitShiftL))&&Vk(),ft(D._implements)){d.tokens[d.tokens.length-1].type=o._implements;let t=ve(1);rA(),ge(t)}}function hA(){Di()}function _A(){Di()}function gA(){let e=ve(0);Tt()||P(o.bang),Qi(),ge(e)}function bA(){k(o.colon)&&Qs()}function vA(e,t){return zs?_H(e,t):gH(e,t)}function _H(e,t){if(!k(o.lessThan))return Lr(e,t);let r=d.snapshot(),i=Lr(e,t);if(d.error)d.restoreFromSnapshot(r);else return i;return d.type=o.typeParameterStart,mp(),i=Lr(e,t),i||he(),i}function gH(e,t){if(!k(o.lessThan))return Lr(e,t);let r=d.snapshot();mp();let i=Lr(e,t);if(i||he(),d.error)d.restoreFromSnapshot(r);else return i;return Lr(e,t)}function yA(){if(k(o.colon)){let e=d.snapshot();Go(o.colon),Lt()&&he(),k(o.arrow)||he(),d.error&&d.restoreFromSnapshot(e)}return P(o.arrow)}function zI(){let e=ve(0);P(o.question),Qi(),ge(e)}function xA(){(k(o.lessThan)||k(o.bitShiftL))&&Vk(),Wk()}function bH(){let e=!1,t=!1;for(;;){if(d.pos>=H.length){he("Unterminated JSX contents");return}let r=H.charCodeAt(d.pos);if(r===S.lessThan||r===S.leftCurlyBrace){if(d.pos===d.start){if(r===S.lessThan){d.pos++,_e(o.jsxTagStart);return}vk(r);return}e&&!t?_e(o.jsxEmptyText):_e(o.jsxText);return}r===S.lineFeed?e=!0:r!==S.space&&r!==S.carriageReturn&&r!==S.tab&&(t=!0),d.pos++}}function vH(e){for(d.pos++;;){if(d.pos>=H.length){he("Unterminated string constant");return}if(H.charCodeAt(d.pos)===e){d.pos++;break}d.pos++}_e(o.string)}function yH(){let e;do{if(d.pos>H.length){he("Unexpectedly reached the end of input.");return}e=H.charCodeAt(++d.pos)}while(Kt[e]||e===S.dash);_e(o.jsxName)}function Gk(){Cr()}function kA(e){if(Gk(),!P(o.colon)){d.tokens[d.tokens.length-1].identifierRole=e;return}Gk()}function wA(){let e=d.tokens.length;kA(ae.Access);let t=!1;for(;k(o.dot);)t=!0,Cr(),Gk();if(!t){let r=d.tokens[e],i=H.charCodeAt(r.start);i>=S.lowercaseA&&i<=S.lowercaseZ&&(r.identifierRole=null)}}function xH(){switch(d.type){case o.braceL:q(),bt(),Cr();return;case o.jsxTagStart:Kk(),Cr();return;case o.string:Cr();return;default:he("JSX value should be either an expression or a quoted JSX text")}}function kH(){F(o.ellipsis),bt()}function wH(e){if(k(o.jsxTagEnd))return!1;wA(),Te&&tA();let t=!1;for(;!k(o.slash)&&!k(o.jsxTagEnd)&&!d.error;){if(P(o.braceL)){t=!0,F(o.ellipsis),gt(),Cr();continue}t&&d.end-d.start===3&&H.charCodeAt(d.start)===S.lowercaseK&&H.charCodeAt(d.start+1)===S.lowercaseE&&H.charCodeAt(d.start+2)===S.lowercaseY&&(d.tokens[e].jsxRole=Er.KeyAfterPropSpread),kA(ae.ObjectKey),k(o.eq)&&(Cr(),xH())}let r=k(o.slash);return r&&Cr(),r}function EH(){k(o.jsxTagEnd)||wA()}function EA(){let e=d.tokens.length-1;d.tokens[e].jsxRole=Er.NoChildren;let t=0;if(!wH(e))for(na();;)switch(d.type){case o.jsxTagStart:if(Cr(),k(o.slash)){Cr(),EH(),d.tokens[e].jsxRole!==Er.KeyAfterPropSpread&&(t===1?d.tokens[e].jsxRole=Er.OneChild:t>1&&(d.tokens[e].jsxRole=Er.StaticChildren));return}t++,EA(),na();break;case o.jsxText:t++,na();break;case o.jsxEmptyText:na();break;case o.braceL:q(),k(o.ellipsis)?(kH(),na(),t+=2):(k(o.braceR)||(t++,bt()),na());break;default:he();return}}function Kk(){Cr(),EA()}function Cr(){d.tokens.push(new Yi),bk(),d.start=d.pos;let e=H.charCodeAt(d.pos);if(zn[e])yH();else if(e===S.quotationMark||e===S.apostrophe)vH(e);else switch(++d.pos,e){case S.greaterThan:_e(o.jsxTagEnd);break;case S.lessThan:_e(o.jsxTagStart);break;case S.slash:_e(o.slash);break;case S.equalsTo:_e(o.eq);break;case S.leftCurlyBrace:_e(o.braceL);break;case S.dot:_e(o.dot);break;case S.colon:_e(o.colon);break;default:he()}}function na(){d.tokens.push(new Yi),d.start=d.pos,bH()}function DA(e){if(k(o.question)){let t=Ke();if(t===o.colon||t===o.comma||t===o.parenR)return}Xk(e)}function CA(){Qc(o.question),k(o.colon)&&(Te?Qs():Re&&Zn())}var Jk=class{constructor(t){this.stop=t}};function bt(e=!1){if(gt(e),k(o.comma))for(;P(o.comma);)gt(e)}function gt(e=!1,t=!1){return Te?vA(e,t):Re?OA(e,t):Lr(e,t)}function Lr(e,t){if(k(o._yield))return MH(),!1;(k(o.parenL)||k(o.name)||k(o._yield))&&(d.potentialArrowAt=d.start);let r=DH(e);return t&&rw(),d.type&o.IS_ASSIGN?(q(),gt(e),!1):r}function DH(e){return SH(e)?!0:(CH(e),!1)}function CH(e){Te||Re?DA(e):Xk(e)}function Xk(e){P(o.question)&&(gt(),F(o.colon),gt(e))}function SH(e){let t=d.tokens.length;return ta()?!0:(bp(t,-1,e),!1)}function bp(e,t,r){if(Te&&(o._in&o.PRECEDENCE_MASK)>t&&!Tt()&&(ft(D._as)||ft(D._satisfies))){let n=ve(1);ot(),ge(n),ep(),bp(e,t,r);return}let i=d.type&o.PRECEDENCE_MASK;if(i>0&&(!r||!k(o._in))&&i>t){let n=d.type;q(),n===o.nullishCoalescing&&(d.tokens[d.tokens.length-1].nullishStartIndex=e);let s=d.tokens.length;ta(),bp(s,n&o.IS_RIGHT_ASSOCIATIVE?i-1:i,r),n===o.nullishCoalescing&&(d.tokens[e].numNullishCoalesceStarts++,d.tokens[d.tokens.length-1].numNullishCoalesceEnds++),bp(e,t,r)}}function ta(){if(Te&&!zs&&P(o.lessThan))return eA(),!1;if(se(D._module)&&hk()===S.leftCurlyBrace&&!Xc())return BH(),!1;if(d.type&o.IS_PREFIX)return q(),ta(),!1;if(Yk())return!0;for(;d.type&o.IS_POSTFIX&&!Lt();)d.type===o.preIncDec&&(d.type=o.postIncDec),q();return!1}function Yk(){let e=d.tokens.length;return Fr()?!0:(Qk(e),d.tokens.length>e&&d.tokens[e].isOptionalChainStart&&(d.tokens[d.tokens.length-1].isOptionalChainEnd=!0),!1)}function Qk(e,t=!1){Re?FA(e,t):ew(e,t)}function ew(e,t=!1){let r=new Jk(!1);do $H(e,t,r);while(!r.stop&&!d.error)}function $H(e,t,r){Te?sA(e,t,r):Re?AA(e,t,r):Xo(e,t,r)}function Xo(e,t,r){if(!t&&P(o.doubleColon))tw(),r.stop=!0,Qk(e,t);else if(k(o.questionDot)){if(d.tokens[e].isOptionalChainStart=!0,t&&Ke()===o.parenL){r.stop=!0;return}q(),d.tokens[d.tokens.length-1].subscriptStartIndex=e,P(o.bracketL)?(bt(),F(o.bracketR)):P(o.parenL)?Qr():vp()}else if(P(o.dot))d.tokens[d.tokens.length-1].subscriptStartIndex=e,vp();else if(P(o.bracketL))d.tokens[d.tokens.length-1].subscriptStartIndex=e,bt(),F(o.bracketR);else if(!t&&k(o.parenL))if(Zk()){let i=d.snapshot(),n=d.tokens.length;q(),d.tokens[d.tokens.length-1].subscriptStartIndex=e;let s=Ji();d.tokens[d.tokens.length-1].contextId=s,Qr(),d.tokens[d.tokens.length-1].contextId=s,TH()&&(d.restoreFromSnapshot(i),r.stop=!0,d.scopeDepth++,Vn(),IH(n))}else{q(),d.tokens[d.tokens.length-1].subscriptStartIndex=e;let i=Ji();d.tokens[d.tokens.length-1].contextId=i,Qr(),d.tokens[d.tokens.length-1].contextId=i}else k(o.backQuote)?gp():r.stop=!0}function Zk(){return d.tokens[d.tokens.length-1].contextualKeyword===D._async&&!Lt()}function Qr(){let e=!0;for(;!P(o.parenR)&&!d.error;){if(e)e=!1;else if(F(o.comma),P(o.parenR))break;TA(!1)}}function TH(){return k(o.colon)||k(o.arrow)}function IH(e){Te?bA():Re&&NA(),F(o.arrow),ia(e)}function tw(){let e=d.tokens.length;Fr(),Qk(e,!0)}function Fr(){if(P(o.modulo))return fe(),!1;if(k(o.jsxText)||k(o.jsxEmptyText))return Ei(),!1;if(k(o.lessThan)&&zs)return d.type=o.jsxTagStart,Kk(),q(),!1;let e=d.potentialArrowAt===d.start;switch(d.type){case o.slash:case o.assign:ZT();case o._super:case o._this:case o.regexp:case o.num:case o.bigint:case o.decimal:case o.string:case o._null:case o._true:case o._false:return q(),!1;case o._import:return q(),k(o.dot)&&(d.tokens[d.tokens.length-1].type=o.name,q(),fe()),!1;case o.name:{let t=d.tokens.length,r=d.start,i=d.contextualKeyword;return fe(),i===D._await?(qH(),!1):i===D._async&&k(o._function)&&!Lt()?(q(),Un(r,!1),!1):e&&i===D._async&&!Lt()&&k(o.name)?(d.scopeDepth++,Yr(!1),F(o.arrow),ia(t),!0):k(o._do)&&!Lt()?(q(),Wn(),!1):e&&!Lt()&&k(o.arrow)?(d.scopeDepth++,dp(!1),F(o.arrow),ia(t),!0):(d.tokens[d.tokens.length-1].identifierRole=ae.Access,!1)}case o._do:return q(),Wn(),!1;case o.parenL:return SA(e);case o.bracketL:return q(),$A(o.bracketR,!0),!1;case o.braceL:return Wo(!1,!1),!1;case o._function:return AH(),!1;case o.at:wp();case o._class:return Hn(!1),!1;case o._new:return RH(),!1;case o.backQuote:return gp(),!1;case o.doubleColon:return q(),tw(),!1;case o.hash:{let t=hk();return zn[t]||t===S.backslash?vp():q(),!1}default:return he(),!1}}function vp(){P(o.hash),fe()}function AH(){let e=d.start;fe(),P(o.dot)&&fe(),Un(e,!1)}function Ei(){q()}function Yo(){F(o.parenL),bt(),F(o.parenR)}function SA(e){let t=d.snapshot(),r=d.tokens.length;F(o.parenL);let i=!0;for(;!k(o.parenR)&&!d.error;){if(i)i=!1;else if(F(o.comma),k(o.parenR))break;if(k(o.ellipsis)){Lk(!1),rw();break}else gt(!1,!0)}return F(o.parenR),e&&PH()&&yp()?(d.restoreFromSnapshot(t),d.scopeDepth++,Vn(),yp(),ia(r),d.error?(d.restoreFromSnapshot(t),SA(!1),!1):!0):!1}function PH(){return k(o.colon)||!Lt()}function yp(){return Te?yA():Re?LA():P(o.arrow)}function rw(){(Te||Re)&&CA()}function RH(){if(F(o._new),P(o.dot)){fe();return}NH(),Re&&PA(),P(o.parenL)&&$A(o.parenR)}function NH(){tw(),P(o.questionDot)}function gp(){for(pn(),pn();!k(o.backQuote)&&!d.error;)F(o.dollarBraceL),bt(),pn(),pn();q()}function Wo(e,t){let r=Ji(),i=!0;for(q(),d.tokens[d.tokens.length-1].contextId=r;!P(o.braceR)&&!d.error;){if(i)i=!1;else if(F(o.comma),P(o.braceR))break;let n=!1;if(k(o.ellipsis)){let s=d.tokens.length;if(Ok(),e&&(d.tokens.length===s+2&&dp(t),P(o.braceR)))break;continue}e||(n=P(o.star)),!e&&se(D._async)?(n&&he(),fe(),k(o.colon)||k(o.parenL)||k(o.braceR)||k(o.eq)||k(o.comma)||(k(o.star)&&(q(),n=!0),es(r))):es(r),jH(e,t,r)}d.tokens[d.tokens.length-1].contextId=r}function OH(e){return!e&&(k(o.string)||k(o.num)||k(o.bracketL)||k(o.name)||!!(d.type&o.IS_KEYWORD))}function LH(e,t){let r=d.start;return k(o.parenL)?(e&&he(),xp(r,!1),!0):OH(e)?(es(t),xp(r,!1),!0):!1}function FH(e,t){if(P(o.colon)){e?Uo(t):gt(!1);return}let r;e?d.scopeDepth===0?r=ae.ObjectShorthandTopLevelDeclaration:t?r=ae.ObjectShorthandBlockScopedDeclaration:r=ae.ObjectShorthandFunctionScopedDeclaration:r=ae.ObjectShorthand,d.tokens[d.tokens.length-1].identifierRole=r,Uo(t,!0)}function jH(e,t,r){Te?hA():Re&&RA(),LH(e,r)||FH(e,t)}function es(e){Re&&kp(),P(o.bracketL)?(d.tokens[d.tokens.length-1].contextId=e,gt(),F(o.bracketR),d.tokens[d.tokens.length-1].contextId=e):(k(o.num)||k(o.string)||k(o.bigint)||k(o.decimal)?Fr():vp(),d.tokens[d.tokens.length-1].identifierRole=ae.ObjectKey,d.tokens[d.tokens.length-1].contextId=e)}function xp(e,t){let r=Ji();d.scopeDepth++;let i=d.tokens.length;Vn(t,r),nw(e,r);let s=d.tokens.length;d.scopes.push(new cr(i,s,!0)),d.scopeDepth--}function ia(e){ts(!0);let t=d.tokens.length;d.scopes.push(new cr(e,t,!0)),d.scopeDepth--}function nw(e,t=0){Te?iA(e,t):Re?IA(t):ts(!1,t)}function ts(e,t=0){e&&!k(o.braceL)?gt():Wn(!0,t)}function $A(e,t=!1){let r=!0;for(;!P(e)&&!d.error;){if(r)r=!1;else if(F(o.comma),P(e))break;TA(t)}}function TA(e){e&&k(o.comma)||(k(o.ellipsis)?(Ok(),rw()):k(o.question)?q():gt(!1,!0))}function fe(){q(),d.tokens[d.tokens.length-1].type=o.name}function qH(){ta()}function MH(){q(),!k(o.semi)&&!Lt()&&(P(o.star),gt())}function BH(){rt(D._module),F(o.braceL),ra(o.braceR)}function zH(e){return(e.type===o.name||!!(e.type&o.IS_KEYWORD))&&e.contextualKeyword!==D._from}function mn(e){let t=ve(0);F(e||o.colon),dr(),ge(t)}function jA(){F(o.modulo),rt(D._checks),P(o.parenL)&&(bt(),F(o.parenR))}function aw(){let e=ve(0);F(o.colon),k(o.modulo)?jA():(dr(),k(o.modulo)&&jA()),ge(e)}function UH(){q(),ow(!0)}function VH(){q(),fe(),k(o.lessThan)&&jr(),F(o.parenL),sw(),F(o.parenR),aw(),Ge()}function iw(){k(o._class)?UH():k(o._function)?VH():k(o._var)?HH():ft(D._module)?P(o.dot)?GH():ZH():se(D._type)?KH():se(D._opaque)?XH():se(D._interface)?JH():k(o._export)?WH():he()}function HH(){q(),VA(),Ge()}function ZH(){for(k(o.string)?Fr():fe(),F(o.braceL);!k(o.braceR)&&!d.error;)k(o._import)?(q(),mw()):he();F(o.braceR)}function WH(){F(o._export),P(o._default)?k(o._function)||k(o._class)?iw():(dr(),Ge()):k(o._var)||k(o._function)||k(o._class)||se(D._opaque)?iw():k(o.star)||k(o.braceL)||se(D._interface)||se(D._type)||se(D._opaque)?fw():he()}function GH(){rt(D._exports),Zn(),Ge()}function KH(){q(),uw()}function XH(){q(),cw(!0)}function JH(){q(),ow()}function ow(e=!1){if($p(),k(o.lessThan)&&jr(),P(o._extends))do Ep();while(!e&&P(o.comma));if(se(D._mixins)){q();do Ep();while(P(o.comma))}if(se(D._implements)){q();do Ep();while(P(o.comma))}Dp(e,!1,e)}function Ep(){BA(!1),k(o.lessThan)&&rs()}function lw(){ow()}function $p(){fe()}function uw(){$p(),k(o.lessThan)&&jr(),mn(o.eq),Ge()}function cw(e){rt(D._type),$p(),k(o.lessThan)&&jr(),k(o.colon)&&mn(o.colon),e||mn(o.eq),Ge()}function YH(){kp(),VA(),P(o.eq)&&dr()}function jr(){let e=ve(0);k(o.lessThan)||k(o.typeParameterStart)?q():he();do YH(),k(o.greaterThan)||F(o.comma);while(!k(o.greaterThan)&&!d.error);F(o.greaterThan),ge(e)}function rs(){let e=ve(0);for(F(o.lessThan);!k(o.greaterThan)&&!d.error;)dr(),k(o.greaterThan)||F(o.comma);F(o.greaterThan),ge(e)}function QH(){if(rt(D._interface),P(o._extends))do Ep();while(P(o.comma));Dp(!1,!1,!1)}function pw(){k(o.num)||k(o.string)?Fr():fe()}function eZ(){Ke()===o.colon?(pw(),mn()):dr(),F(o.bracketR),mn()}function tZ(){pw(),F(o.bracketR),F(o.bracketR),k(o.lessThan)||k(o.parenL)?dw():(P(o.question),mn())}function dw(){for(k(o.lessThan)&&jr(),F(o.parenL);!k(o.parenR)&&!k(o.ellipsis)&&!d.error;)Cp(),k(o.parenR)||F(o.comma);P(o.ellipsis)&&Cp(),F(o.parenR),mn()}function rZ(){dw()}function Dp(e,t,r){let i;for(t&&k(o.braceBarL)?(F(o.braceBarL),i=o.braceBarR):(F(o.braceL),i=o.braceR);!k(i)&&!d.error;){if(r&&se(D._proto)){let n=Ke();n!==o.colon&&n!==o.question&&(q(),e=!1)}if(e&&se(D._static)){let n=Ke();n!==o.colon&&n!==o.question&&q()}if(kp(),P(o.bracketL))P(o.bracketL)?tZ():eZ();else if(k(o.parenL)||k(o.lessThan))rZ();else{if(se(D._get)||se(D._set)){let n=Ke();(n===o.name||n===o.string||n===o.num)&&q()}nZ()}iZ()}F(i)}function nZ(){if(k(o.ellipsis)){if(F(o.ellipsis),P(o.comma)||P(o.semi),k(o.braceR))return;dr()}else pw(),k(o.lessThan)||k(o.parenL)?dw():(P(o.question),mn())}function iZ(){!P(o.semi)&&!P(o.comma)&&!k(o.braceR)&&!k(o.braceBarR)&&he()}function BA(e){for(e||fe();P(o.dot);)fe()}function sZ(){BA(!0),k(o.lessThan)&&rs()}function aZ(){F(o._typeof),zA()}function oZ(){for(F(o.bracketL);d.pos<H.length&&!k(o.bracketR)&&(dr(),!k(o.bracketR));)F(o.comma);F(o.bracketR)}function Cp(){let e=Ke();e===o.colon||e===o.question?(fe(),P(o.question),mn()):dr()}function sw(){for(;!k(o.parenR)&&!k(o.ellipsis)&&!d.error;)Cp(),k(o.parenR)||F(o.comma);P(o.ellipsis)&&Cp()}function zA(){let e=!1,t=d.noAnonFunctionType;switch(d.type){case o.name:{if(se(D._interface)){QH();return}fe(),sZ();return}case o.braceL:Dp(!1,!1,!1);return;case o.braceBarL:Dp(!1,!0,!1);return;case o.bracketL:oZ();return;case o.lessThan:jr(),F(o.parenL),sw(),F(o.parenR),F(o.arrow),dr();return;case o.parenL:if(q(),!k(o.parenR)&&!k(o.ellipsis))if(k(o.name)){let r=Ke();e=r!==o.question&&r!==o.colon}else e=!0;if(e)if(d.noAnonFunctionType=!1,dr(),d.noAnonFunctionType=t,d.noAnonFunctionType||!(k(o.comma)||k(o.parenR)&&Ke()===o.arrow)){F(o.parenR);return}else P(o.comma);sw(),F(o.parenR),F(o.arrow),dr();return;case o.minus:q(),Ei();return;case o.string:case o.num:case o._true:case o._false:case o._null:case o._this:case o._void:case o.star:q();return;default:if(d.type===o._typeof){aZ();return}else if(d.type&o.IS_KEYWORD){q(),d.tokens[d.tokens.length-1].type=o.name;return}}he()}function lZ(){for(zA();!Lt()&&(k(o.bracketL)||k(o.questionDot));)P(o.questionDot),F(o.bracketL),P(o.bracketR)||(dr(),F(o.bracketR))}function UA(){P(o.question)?UA():lZ()}function qA(){UA(),!d.noAnonFunctionType&&P(o.arrow)&&dr()}function MA(){for(P(o.bitwiseAND),qA();P(o.bitwiseAND);)qA()}function uZ(){for(P(o.bitwiseOR),MA();P(o.bitwiseOR);)MA()}function dr(){uZ()}function Zn(){mn()}function VA(){fe(),k(o.colon)&&Zn()}function kp(){(k(o.plus)||k(o.minus))&&(q(),d.tokens[d.tokens.length-1].isType=!0)}function IA(e){k(o.colon)&&aw(),ts(!1,e)}function AA(e,t,r){if(k(o.questionDot)&&Ke()===o.lessThan){if(t){r.stop=!0;return}q(),rs(),F(o.parenL),Qr();return}else if(!t&&k(o.lessThan)){let i=d.snapshot();if(rs(),F(o.parenL),Qr(),d.error)d.restoreFromSnapshot(i);else return}Xo(e,t,r)}function PA(){if(k(o.lessThan)){let e=d.snapshot();rs(),d.error&&d.restoreFromSnapshot(e)}}function HA(){if(k(o.name)&&d.contextualKeyword===D._interface){let e=ve(0);return q(),lw(),ge(e),!0}else if(se(D._enum))return i2(),!0;return!1}function ZA(){return se(D._enum)?(i2(),!0):!1}function WA(e){if(e===D._declare){if(k(o._class)||k(o.name)||k(o._function)||k(o._var)||k(o._export)){let t=ve(1);iw(),ge(t)}}else if(k(o.name)){if(e===D._interface){let t=ve(1);lw(),ge(t)}else if(e===D._type){let t=ve(1);uw(),ge(t)}else if(e===D._opaque){let t=ve(1);cw(!1),ge(t)}}Ge()}function GA(){return se(D._type)||se(D._interface)||se(D._opaque)||se(D._enum)}function KA(){return k(o.name)&&(d.contextualKeyword===D._type||d.contextualKeyword===D._interface||d.contextualKeyword===D._opaque||d.contextualKeyword===D._enum)}function XA(){if(se(D._type)){let e=ve(1);q(),k(o.braceL)?(Tp(),sa()):uw(),ge(e)}else if(se(D._opaque)){let e=ve(1);q(),cw(!1),ge(e)}else if(se(D._interface)){let e=ve(1);q(),lw(),ge(e)}else Xt(!0)}function JA(){return k(o.star)||se(D._type)&&Ke()===o.star}function YA(){if(ft(D._type)){let e=ve(2);Sp(),ge(e)}else Sp()}function QA(e){if(e&&k(o.lessThan)&&rs(),se(D._implements)){let t=ve(0);q(),d.tokens[d.tokens.length-1].type=o._implements;do $p(),k(o.lessThan)&&rs();while(P(o.comma));ge(t)}}function RA(){k(o.lessThan)&&(jr(),k(o.parenL)||he())}function UI(){let e=ve(0);P(o.question),k(o.colon)&&Zn(),ge(e)}function e2(){if(k(o._typeof)||se(D._type)){let e=Bn();(zH(e)||e.type===o.braceL||e.type===o.star)&&q()}}function t2(){let e=d.contextualKeyword===D._type||d.type===o._typeof;e?q():fe(),se(D._as)&&!Us(D._as)?(fe(),e&&!k(o.name)&&!(d.type&o.IS_KEYWORD)||fe()):(e&&(k(o.name)||d.type&o.IS_KEYWORD)&&fe(),ft(D._as)&&fe())}function r2(){if(k(o.lessThan)){let e=ve(0);jr(),ge(e)}}function n2(){k(o.colon)&&Zn()}function NA(){if(k(o.colon)){let e=d.noAnonFunctionType;d.noAnonFunctionType=!0,Zn(),d.noAnonFunctionType=e}}function OA(e,t){if(k(o.lessThan)){let r=d.snapshot(),i=Lr(e,t);if(d.error)d.restoreFromSnapshot(r),d.type=o.typeParameterStart;else return i;let n=ve(0);if(jr(),ge(n),i=Lr(e,t),i)return!0;he()}return Lr(e,t)}function LA(){if(k(o.colon)){let e=ve(0),t=d.snapshot(),r=d.noAnonFunctionType;d.noAnonFunctionType=!0,aw(),d.noAnonFunctionType=r,Lt()&&he(),k(o.arrow)||he(),d.error&&d.restoreFromSnapshot(t),ge(e)}return P(o.arrow)}function FA(e,t=!1){if(d.tokens[d.tokens.length-1].contextualKeyword===D._async&&k(o.lessThan)){let r=d.snapshot();if(cZ()&&!d.error)return;d.restoreFromSnapshot(r)}ew(e,t)}function cZ(){d.scopeDepth++;let e=d.tokens.length;return Vn(),yp()?(ia(e),!0):!1}function i2(){rt(D._enum),d.tokens[d.tokens.length-1].type=o._enum,fe(),pZ()}function pZ(){ft(D._of)&&q(),F(o.braceL),dZ(),F(o.braceR)}function dZ(){for(;!k(o.braceR)&&!d.error&&!P(o.ellipsis);)fZ(),k(o.braceR)||F(o.comma)}function fZ(){fe(),P(o.eq)&&q()}function l2(){if(ra(o.eof),d.scopes.push(new cr(0,d.tokens.length,!0)),d.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${d.scopeDepth}`);return new Ap(d.tokens,d.scopes)}function Xt(e){Re&&HA()||(k(o.at)&&wp(),mZ(e))}function mZ(e){if(Te&&cA())return;let t=d.type;switch(t){case o._break:case o._continue:_Z();return;case o._debugger:gZ();return;case o._do:bZ();return;case o._for:vZ();return;case o._function:if(Ke()===o.dot)break;e||he(),kZ();return;case o._class:e||he(),Hn(!0);return;case o._if:wZ();return;case o._return:EZ();return;case o._switch:DZ();return;case o._throw:CZ();return;case o._try:$Z();return;case o._let:case o._const:e||he();case o._var:Jo(t!==o._var);return;case o._while:TZ();return;case o.braceL:Wn();return;case o.semi:IZ();return;case o._export:case o._import:{let n=Ke();if(n===o.parenL||n===o.dot)break;q(),t===o._import?mw():fw();return}case o.name:if(d.contextualKeyword===D._async){let n=d.start,s=d.snapshot();if(q(),k(o._function)&&!Lt()){F(o._function),Un(n,!0);return}else d.restoreFromSnapshot(s)}else if(d.contextualKeyword===D._using&&!Xc()&&Ke()===o.name){Jo(!0);return}else if(u2()){rt(D._await),Jo(!0);return}default:break}let r=d.tokens.length;bt();let i=null;if(d.tokens.length===r+1){let n=d.tokens[d.tokens.length-1];n.type===o.name&&(i=n.contextualKeyword)}if(i==null){Ge();return}P(o.colon)?AZ():PZ(i)}function u2(){if(!se(D._await))return!1;let e=d.snapshot();return q(),!se(D._using)||Tt()?(d.restoreFromSnapshot(e),!1):(q(),!k(o.name)||Tt()?(d.restoreFromSnapshot(e),!1):(d.restoreFromSnapshot(e),!0))}function wp(){for(;k(o.at);)c2()}function c2(){if(q(),P(o.parenL))bt(),F(o.parenR);else{for(fe();P(o.dot);)fe();hZ()}}function hZ(){Te?xA():Wk()}function Wk(){P(o.parenL)&&Qr()}function _Z(){q(),Or()||(fe(),Ge())}function gZ(){q(),Ge()}function bZ(){q(),Xt(!1),F(o._while),Yo(),P(o.semi)}function vZ(){d.scopeDepth++;let e=d.tokens.length;xZ();let t=d.tokens.length;d.scopes.push(new cr(e,t,!1)),d.scopeDepth--}function yZ(){return!(!se(D._using)||Us(D._of))}function xZ(){q();let e=!1;if(se(D._await)&&(e=!0,q()),F(o.parenL),k(o.semi)){e&&he(),hw();return}let t=u2();if(t||k(o._var)||k(o._let)||k(o._const)||yZ()){if(t&&rt(D._await),q(),p2(!0,d.type!==o._var),k(o._in)||se(D._of)){s2(e);return}hw();return}if(bt(!0),k(o._in)||se(D._of)){s2(e);return}e&&he(),hw()}function kZ(){let e=d.start;q(),Un(e,!0)}function wZ(){q(),Yo(),Xt(!1),P(o._else)&&Xt(!1)}function EZ(){q(),Or()||(bt(),Ge())}function DZ(){q(),Yo(),d.scopeDepth++;let e=d.tokens.length;for(F(o.braceL);!k(o.braceR)&&!d.error;)if(k(o._case)||k(o._default)){let r=k(o._case);q(),r&&bt(),F(o.colon)}else Xt(!0);q();let t=d.tokens.length;d.scopes.push(new cr(e,t,!1)),d.scopeDepth--}function CZ(){q(),bt(),Ge()}function SZ(){Vo(!0),Te&&Qi()}function $Z(){if(q(),Wn(),k(o._catch)){q();let e=null;if(k(o.parenL)&&(d.scopeDepth++,e=d.tokens.length,F(o.parenL),SZ(),F(o.parenR)),Wn(),e!=null){let t=d.tokens.length;d.scopes.push(new cr(e,t,!1)),d.scopeDepth--}}P(o._finally)&&Wn()}function Jo(e){q(),p2(!1,e),Ge()}function TZ(){q(),Yo(),Xt(!1)}function IZ(){q()}function AZ(){Xt(!0)}function PZ(e){Te?dA(e):Re?WA(e):Ge()}function Wn(e=!1,t=0){let r=d.tokens.length;d.scopeDepth++,F(o.braceL),t&&(d.tokens[d.tokens.length-1].contextId=t),ra(o.braceR),t&&(d.tokens[d.tokens.length-1].contextId=t);let i=d.tokens.length;d.scopes.push(new cr(r,i,e)),d.scopeDepth--}function ra(e){for(;!P(e)&&!d.error;)Xt(!0)}function hw(){F(o.semi),k(o.semi)||bt(),F(o.semi),k(o.parenR)||bt(),F(o.parenR),Xt(!1)}function s2(e){e?ft(D._of):q(),bt(),F(o.parenR),Xt(!1)}function p2(e,t){for(;;){if(RZ(t),P(o.eq)){let r=d.tokens.length-1;gt(e),d.tokens[r].rhsEndIndex=d.tokens.length}if(!P(o.comma))break}}function RZ(e){Vo(e),Te?gA():Re&&n2()}function Un(e,t,r=!1){k(o.star)&&q(),t&&!r&&!k(o.name)&&!k(o._yield)&&he();let i=null;k(o.name)&&(t||(i=d.tokens.length,d.scopeDepth++),Yr(!1));let n=d.tokens.length;d.scopeDepth++,Vn(),nw(e);let s=d.tokens.length;d.scopes.push(new cr(n,s,!0)),d.scopeDepth--,i!==null&&(d.scopes.push(new cr(i,s,!0)),d.scopeDepth--)}function Vn(e=!1,t=0){Te?_A():Re&&r2(),F(o.parenL),t&&(d.tokens[d.tokens.length-1].contextId=t),Ho(o.parenR,!1,!1,e,t),t&&(d.tokens[d.tokens.length-1].contextId=t)}function Hn(e,t=!1){let r=Ji();q(),d.tokens[d.tokens.length-1].contextId=r,d.tokens[d.tokens.length-1].isExpression=!e;let i=null;e||(i=d.tokens.length,d.scopeDepth++),FZ(e,t),jZ();let n=d.tokens.length;if(NZ(r),!d.error&&(d.tokens[n].contextId=r,d.tokens[d.tokens.length-1].contextId=r,i!==null)){let s=d.tokens.length;d.scopes.push(new cr(i,s,!1)),d.scopeDepth--}}function d2(){return k(o.eq)||k(o.semi)||k(o.braceR)||k(o.bang)||k(o.colon)}function f2(){return k(o.parenL)||k(o.lessThan)}function NZ(e){for(F(o.braceL);!P(o.braceR)&&!d.error;){if(P(o.semi))continue;if(k(o.at)){c2();continue}let t=d.start;OZ(t,e)}}function OZ(e,t){Te&&Zo([D._declare,D._public,D._protected,D._private,D._override]);let r=!1;if(k(o.name)&&d.contextualKeyword===D._static){if(fe(),f2()){el(e,!1);return}else if(d2()){Ip();return}if(d.tokens[d.tokens.length-1].type=o._static,r=!0,k(o.braceL)){d.tokens[d.tokens.length-1].contextId=t,Wn();return}}LZ(e,r,t)}function LZ(e,t,r){if(Te&&pA(t))return;if(P(o.star)){Qo(r),el(e,!1);return}Qo(r);let i=!1,n=d.tokens[d.tokens.length-1];n.contextualKeyword===D._constructor&&(i=!0),a2(),f2()?el(e,i):d2()?Ip():n.contextualKeyword===D._async&&!Or()?(d.tokens[d.tokens.length-1].type=o._async,k(o.star)&&q(),Qo(r),a2(),el(e,!1)):(n.contextualKeyword===D._get||n.contextualKeyword===D._set)&&!(Or()&&k(o.star))?(n.contextualKeyword===D._get?d.tokens[d.tokens.length-1].type=o._get:d.tokens[d.tokens.length-1].type=o._set,Qo(r),el(e,!1)):n.contextualKeyword===D._accessor&&!Or()?(Qo(r),Ip()):Or()?Ip():he()}function el(e,t){Te?Di():Re&&k(o.lessThan)&&jr(),xp(e,t)}function Qo(e){es(e)}function a2(){if(Te){let e=ve(0);P(o.question),ge(e)}}function Ip(){if(Te?(Qc(o.bang),Qi()):Re&&k(o.colon)&&Zn(),k(o.eq)){let e=d.tokens.length;q(),gt(),d.tokens[e].rhsEndIndex=d.tokens.length}Ge()}function FZ(e,t=!1){Te&&(!e||t)&&se(D._implements)||(k(o.name)&&Yr(!0),Te?Di():Re&&k(o.lessThan)&&jr())}function jZ(){let e=!1;P(o._extends)?(Yk(),e=!0):e=!1,Te?mA(e):Re&&QA(e)}function fw(){let e=d.tokens.length-1;Te&&aA()||(zZ()?UZ():BZ()?(fe(),k(o.comma)&&Ke()===o.star?(F(o.comma),F(o.star),rt(D._as),fe()):m2(),sa()):P(o._default)?qZ():HZ()?MZ():(Tp(),sa()),d.tokens[e].rhsEndIndex=d.tokens.length)}function qZ(){if(Te&&uA()||Re&&ZA())return;let e=d.start;P(o._function)?Un(e,!0,!0):se(D._async)&&Ke()===o._function?(ft(D._async),P(o._function),Un(e,!0,!0)):k(o._class)?Hn(!0,!0):k(o.at)?(wp(),Hn(!0,!0)):(gt(),Ge())}function MZ(){Te?fA():Re?XA():Xt(!0)}function BZ(){if(Te&&Hk())return!1;if(Re&&KA())return!1;if(k(o.name))return d.contextualKeyword!==D._async;if(!k(o._default))return!1;let e=Oo(),t=Bn(),r=t.type===o.name&&t.contextualKeyword===D._from;if(t.type===o.comma)return!0;if(r){let i=H.charCodeAt(mk(e+4));return i===S.quotationMark||i===S.apostrophe}return!1}function m2(){P(o.comma)&&Tp()}function sa(){ft(D._from)&&(Fr(),h2()),Ge()}function zZ(){return Re?JA():k(o.star)}function UZ(){Re?YA():Sp()}function Sp(){F(o.star),se(D._as)?VZ():sa()}function VZ(){q(),d.tokens[d.tokens.length-1].type=o._as,fe(),m2(),sa()}function HZ(){return Te&&Hk()||Re&&GA()||d.type===o._var||d.type===o._const||d.type===o._let||d.type===o._function||d.type===o._class||se(D._async)||k(o.at)}function Tp(){let e=!0;for(F(o.braceL);!P(o.braceR)&&!d.error;){if(e)e=!1;else if(F(o.comma),P(o.braceR))break;ZZ()}}function ZZ(){if(Te){lA();return}fe(),d.tokens[d.tokens.length-1].identifierRole=ae.ExportAccess,ft(D._as)&&fe()}function WZ(){let e=d.snapshot();return rt(D._module),ft(D._from)?se(D._from)?(d.restoreFromSnapshot(e),!0):(d.restoreFromSnapshot(e),!1):k(o.comma)?(d.restoreFromSnapshot(e),!1):(d.restoreFromSnapshot(e),!0)}function GZ(){se(D._module)&&WZ()&&q()}function mw(){if(Te&&k(o.name)&&Ke()===o.eq){hp();return}if(Te&&se(D._type)){let e=Bn();if(e.type===o.name&&e.contextualKeyword!==D._from){if(rt(D._type),Ke()===o.eq){hp();return}}else(e.type===o.star||e.type===o.braceL)&&rt(D._type)}k(o.string)?Fr():(GZ(),XZ(),rt(D._from),Fr()),h2(),Ge()}function KZ(){return k(o.name)}function o2(){Js()}function XZ(){Re&&e2();let e=!0;if(!(KZ()&&(o2(),!P(o.comma)))){if(k(o.star)){q(),rt(D._as),o2();return}for(F(o.braceL);!P(o.braceR)&&!d.error;){if(e)e=!1;else if(P(o.colon)&&he("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),F(o.comma),P(o.braceR))break;JZ()}}}function JZ(){if(Te){oA();return}if(Re){t2();return}Js(),se(D._as)&&(d.tokens[d.tokens.length-1].identifierRole=ae.ImportAccess,q(),Js())}function h2(){(k(o._with)||se(D._assert)&&!Tt())&&(q(),Wo(!1,!1))}function _2(){return d.pos===0&&H.charCodeAt(0)===S.numberSign&&H.charCodeAt(1)===S.exclamationMark&&gk(2),_k(),l2()}var Ap=class{constructor(t,r){this.tokens=t,this.scopes=r}};function g2(e,t,r,i){if(i&&r)throw new Error("Cannot combine flow and typescript plugins.");BT(e,t,r,i);let n=_2();if(d.error)throw MT(d.error);return n}function _w(e){let t=e.currentIndex(),r=0,i=e.currentToken();do{let n=e.tokens[t];if(n.isOptionalChainStart&&r++,n.isOptionalChainEnd&&r--,r+=n.numNullishCoalesceStarts,r-=n.numNullishCoalesceEnds,n.contextualKeyword===D._await&&n.identifierRole==null&&n.scopeDepth===i.scopeDepth)return!0;t+=1}while(r>0&&t<e.tokens.length);return!1}var tl=class e{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(t,r,i,n,s){this.code=t,this.tokens=r,this.isFlowEnabled=i,this.disableESTransforms=n,this.helperManager=s,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(t){this.resultCode=t.resultCode,this.tokenIndex=t.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(t){let r=this.resultCode.slice(t.resultCode.length);return this.resultCode=t.resultCode,r}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(t,r){return this.matches1AtIndex(t,o.name)&&this.tokens[t].contextualKeyword===r}identifierNameAtIndex(t){return this.identifierNameForToken(this.tokens[t])}identifierNameAtRelativeIndex(t){return this.identifierNameForToken(this.tokenAtRelativeIndex(t))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(t){return this.code.slice(t.start,t.end)}rawCodeForToken(t){return this.code.slice(t.start,t.end)}stringValueAtIndex(t){return this.stringValueForToken(this.tokens[t])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(t){return this.code.slice(t.start+1,t.end-1)}matches1AtIndex(t,r){return this.tokens[t].type===r}matches2AtIndex(t,r,i){return this.tokens[t].type===r&&this.tokens[t+1].type===i}matches3AtIndex(t,r,i,n){return this.tokens[t].type===r&&this.tokens[t+1].type===i&&this.tokens[t+2].type===n}matches1(t){return this.tokens[this.tokenIndex].type===t}matches2(t,r){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r}matches3(t,r,i){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===i}matches4(t,r,i,n){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===n}matches5(t,r,i,n,s){return this.tokens[this.tokenIndex].type===t&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===i&&this.tokens[this.tokenIndex+3].type===n&&this.tokens[this.tokenIndex+4].type===s}matchesContextual(t){return this.matchesContextualAtIndex(this.tokenIndex,t)}matchesContextIdAndLabel(t,r){return this.matches1(t)&&this.currentToken().contextId===r}previousWhitespaceAndComments(){let t=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(t=t.replace(/@flow/g,"")),t}replaceToken(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(t){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=t,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let t=0;for(;!this.isAtEnd();){if(this.matches1(o.braceL))t++;else if(this.matches1(o.braceR)){if(t===0)return;t--}this.removeToken()}}copyExpectedToken(t){if(this.tokens[this.tokenIndex].type!==t)throw new Error(`Expected token ${t}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(t){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=t,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let t=this.currentToken();if((t.numNullishCoalesceStarts||t.isOptionalChainStart)&&(t.isAsyncOperation=_w(this)),!this.disableESTransforms){if(t.numNullishCoalesceStarts)for(let r=0;r<t.numNullishCoalesceStarts;r++)t.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";t.isOptionalChainStart&&(t.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===o._delete?t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):t.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let t=this.currentToken();if(t.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),t.numNullishCoalesceEnds&&!this.disableESTransforms)for(let r=0;r<t.numNullishCoalesceEnds;r++)this.resultCode+="))"}appendCode(t){this.resultCode+=t}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let t=this.currentToken();return this.code.slice(t.start,t.end)}tokenAtRelativeIndex(t){return this.tokens[this.tokenIndex+t]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}};function bw(e,t,r,i){let n=t.snapshot(),s=YZ(t),a=[],l=[],u=[],p=null,f=[],h=[],_=t.currentToken().contextId;if(_==null)throw new Error("Expected non-null class context ID on class open-brace.");for(t.nextToken();!t.matchesContextIdAndLabel(o.braceR,_);)if(t.matchesContextual(D._constructor)&&!t.currentToken().isType)({constructorInitializerStatements:a,constructorInsertPos:p}=b2(t));else if(t.matches1(o.semi))i||h.push({start:t.currentIndex(),end:t.currentIndex()+1}),t.nextToken();else if(t.currentToken().isType)t.nextToken();else{let g=t.currentIndex(),b=!1,E=!1,C=!1;for(;Pp(t.currentToken());)t.matches1(o._static)&&(b=!0),t.matches1(o.hash)&&(E=!0),(t.matches1(o._declare)||t.matches1(o._abstract))&&(C=!0),t.nextToken();if(b&&t.matches1(o.braceL)){gw(t,_);continue}if(E){gw(t,_);continue}if(t.matchesContextual(D._constructor)&&!t.currentToken().isType){({constructorInitializerStatements:a,constructorInsertPos:p}=b2(t));continue}let T=t.currentIndex();if(QZ(t),t.matches1(o.lessThan)||t.matches1(o.parenL)){gw(t,_);continue}for(;t.currentToken().isType;)t.nextToken();if(t.matches1(o.eq)){let N=t.currentIndex(),I=t.currentToken().rhsEndIndex;if(I==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(t.nextToken();t.currentIndex()<I;)e.processToken();let V;b?(V=r.claimFreeName("__initStatic"),u.push(V)):(V=r.claimFreeName("__init"),l.push(V)),f.push({initializerName:V,equalsIndex:N,start:T,end:t.currentIndex()})}else(!i||C)&&h.push({start:g,end:t.currentIndex()})}return t.restoreToSnapshot(n),i?{headerInfo:s,constructorInitializerStatements:a,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:p,fields:[],rangesToRemove:h}:{headerInfo:s,constructorInitializerStatements:a,instanceInitializerNames:l,staticInitializerNames:u,constructorInsertPos:p,fields:f,rangesToRemove:h}}function gw(e,t){for(e.nextToken();e.currentToken().contextId!==t;)e.nextToken();for(;Pp(e.tokenAtRelativeIndex(-1));)e.previousToken()}function YZ(e){let t=e.currentToken(),r=t.contextId;if(r==null)throw new Error("Expected context ID on class token.");let i=t.isExpression;if(i==null)throw new Error("Expected isExpression on class token.");let n=null,s=!1;for(e.nextToken(),e.matches1(o.name)&&(n=e.identifierName());!e.matchesContextIdAndLabel(o.braceL,r);)e.matches1(o._extends)&&!e.currentToken().isType&&(s=!0),e.nextToken();return{isExpression:i,className:n,hasSuperclass:s}}function b2(e){let t=[];e.nextToken();let r=e.currentToken().contextId;if(r==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(o.parenR,r);)if(e.currentToken().contextId===r){if(e.nextToken(),Pp(e.currentToken())){for(e.nextToken();Pp(e.currentToken());)e.nextToken();let s=e.currentToken();if(s.type!==o.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let a=e.identifierNameForToken(s);t.push(`this.${a} = ${a}`)}}else e.nextToken();for(e.nextToken();e.currentToken().isType;)e.nextToken();let i=e.currentIndex(),n=!1;for(;!e.matchesContextIdAndLabel(o.braceR,r);){if(!n&&e.matches2(o._super,o.parenL)){e.nextToken();let s=e.currentToken().contextId;if(s==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(o.parenR,s);)e.nextToken();i=e.currentIndex(),n=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:t,constructorInsertPos:i}}function Pp(e){return[o._async,o._get,o._set,o.plus,o.minus,o._readonly,o._static,o._public,o._private,o._protected,o._override,o._abstract,o.star,o._declare,o.hash].includes(e.type)}function QZ(e){if(e.matches1(o.bracketL)){let r=e.currentToken().contextId;if(r==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(o.bracketR,r);)e.nextToken();e.nextToken()}else e.nextToken()}function rl(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(o.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(o.dot);)e.removeToken(),e.removeToken()}var Rp={typeDeclarations:new Set,valueDeclarations:new Set};function nl(e){let t=new Set,r=new Set;for(let i=0;i<e.tokens.length;i++){let n=e.tokens[i];n.type===o.name&&Yc(n)&&(n.isType?t.add(e.identifierNameForToken(n)):r.add(e.identifierNameForToken(n)))}return{typeDeclarations:t,valueDeclarations:r}}function il(e){let t=e.currentIndex();for(;!e.matches1AtIndex(t,o.braceR);)t++;return e.matchesContextualAtIndex(t+1,D._from)&&e.matches1AtIndex(t+2,o.string)}function Gn(e){(e.matches2(o._with,o.braceL)||e.matches2(o.name,o.braceL)&&e.matchesContextual(D._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function sl(e,t,r,i){if(!e||t)return!1;let n=r.currentToken();if(n.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let s=n.rhsEndIndex-r.currentIndex();if(s!==3&&!(s===4&&r.matches1AtIndex(n.rhsEndIndex-1,o.semi)))return!1;let a=r.tokenAtRelativeIndex(2);if(a.type!==o.name)return!1;let l=r.identifierNameForToken(a);return i.typeDeclarations.has(l)&&!i.valueDeclarations.has(l)}var al=class e extends at{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(t,r,i,n,s,a,l,u,p,f,h,_){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=i,this.nameManager=n,this.helperManager=s,this.reactHotLoaderTransformer=a,this.enableLegacyBabel5ModuleInterop=l,this.enableLegacyTypeScriptModuleInterop=u,this.isTypeScriptTransformEnabled=p,this.isFlowTransformEnabled=f,this.preserveDynamicImport=h,this.keepUnusedImports=_,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),this.declarationInfo=p?nl(r):Rp}getPrefixCode(){let t="";return this.hadExport&&(t+='Object.defineProperty(exports, "__esModule", {value: true});'),t}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
module.exports = exports.default;
`:""}process(){return this.tokens.matches3(o._import,o.name,o.eq)?this.processImportEquals():this.tokens.matches1(o._import)?(this.processImport(),!0):this.tokens.matches2(o._export,o.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(o._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(o.name,o.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(o.name)||this.tokens.matches1(o.jsxName)?this.processIdentifier():this.tokens.matches1(o.eq)?this.processAssignment():this.tokens.matches1(o.assign)?this.processComplexAssignment():this.tokens.matches1(o.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(t)?rl(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(o._import,o.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let r=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${r}require`);let i=this.tokens.currentToken().contextId;if(i==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(o.parenR,i);)this.rootTransformer.processToken();this.tokens.replaceToken(r?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),this.tokens.appendCode(this.importProcessor.claimImportCode(r))}Gn(this.tokens),this.tokens.matches1(o.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(D._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,o.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,D._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(o.name)||this.tokens.matches1(o.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(o.string))return!1;let t=!1,r=!1;for(;!this.tokens.matches1(o.string);)(!t&&this.tokens.matches1(o.braceL)||this.tokens.matches1(o.comma))&&(this.tokens.removeToken(),this.tokens.matches1(o.braceR)||(r=!0),(this.tokens.matches2(o.name,o.comma)||this.tokens.matches2(o.name,o.braceR)||this.tokens.matches4(o.name,o.name,o.name,o.comma)||this.tokens.matches4(o.name,o.name,o.name,o.braceR))&&(t=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?r&&!t:!1}removeRemainingImport(){for(;!this.tokens.matches1(o.string);)this.tokens.removeToken()}processIdentifier(){let t=this.tokens.currentToken();if(t.shadowsGlobal)return!1;if(t.identifierRole===ae.ObjectShorthand)return this.processObjectShorthand();if(t.identifierRole!==ae.Access)return!1;let r=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(t));if(!r)return!1;let i=this.tokens.currentIndex()+1;for(;i<this.tokens.tokens.length&&this.tokens.tokens[i].type===o.parenR;)i++;return this.tokens.tokens[i].type===o.parenL?this.tokens.tokenAtRelativeIndex(1).type===o.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==o._new?(this.tokens.replaceToken(`${r}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.parenR)):this.tokens.replaceToken(`(0, ${r})`):this.tokens.replaceToken(r),!0}processObjectShorthand(){let t=this.tokens.identifierName(),r=this.importProcessor.getIdentifierReplacement(t);return r?(this.tokens.replaceToken(`${t}: ${r}`),!0):!1}processExport(){if(this.tokens.matches2(o._export,o._enum)||this.tokens.matches3(o._export,o._const,o._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(o._export,o._default))return this.tokens.matches3(o._export,o._default,o._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(o._export,o.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(o._export,o.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,D._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(o.braceL)){for(;!this.tokens.matches1(o.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(o._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(D._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,o.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Gn(this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(o._export,o._var)||this.tokens.matches2(o._export,o._let)||this.tokens.matches2(o._export,o._const))return this.processExportVar(),!0;if(this.tokens.matches2(o._export,o._function)||this.tokens.matches3(o._export,o.name,o._function))return this.processExportFunction(),!0;if(this.tokens.matches2(o._export,o._class)||this.tokens.matches3(o._export,o._abstract,o._class)||this.tokens.matches2(o._export,o.at))return this.processExportClass(),!0;if(this.tokens.matches2(o._export,o.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){let t=this.tokens.currentIndex(),r=this.tokens.tokens[t-1];if(r.isType||r.type!==o.name||r.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,o.dot)||t>=2&&[o._var,o._let,o._const].includes(this.tokens.tokens[t-2].type))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return i?(this.tokens.copyToken(),this.tokens.appendCode(` ${i} =`),!0):!1}processComplexAssignment(){let t=this.tokens.currentIndex(),r=this.tokens.tokens[t-1];if(r.type!==o.name||r.shadowsGlobal||t>=2&&this.tokens.matches1AtIndex(t-2,o.dot))return!1;let i=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return i?(this.tokens.appendCode(` = ${i}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let t=this.tokens.currentIndex(),r=this.tokens.tokens[t+1];if(r.type!==o.name||r.shadowsGlobal||t+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(t+2,o.dot)||this.tokens.matches1AtIndex(t+2,o.bracketL)||this.tokens.matches1AtIndex(t+2,o.parenL)))return!1;let i=this.tokens.identifierNameForToken(r),n=this.importProcessor.resolveExportBinding(i);return n?(this.tokens.appendCode(`${n} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let t=this.tokens.currentIndex(),r=this.tokens.tokens[t],i=this.tokens.tokens[t+1];if(r.type!==o.name||r.shadowsGlobal||t>=1&&this.tokens.matches1AtIndex(t-1,o.dot))return!1;let n=this.tokens.identifierNameForToken(r),s=this.importProcessor.resolveExportBinding(n);if(!s)return!1;let a=this.tokens.rawCodeForToken(i),l=this.importProcessor.getIdentifierReplacement(n)||n;if(a==="++")this.tokens.replaceToken(`(${l} = ${s} = ${l} + 1, ${l} - 1)`);else if(a==="--")this.tokens.replaceToken(`(${l} = ${s} = ${l} - 1, ${l} + 1)`);else throw new Error(`Unexpected operator: ${a}`);return this.tokens.removeToken(),!0}processExportDefault(){let t=!0;if(this.tokens.matches4(o._export,o._default,o._function,o.name)||this.tokens.matches5(o._export,o._default,o.name,o._function,o.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,D._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let r=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${r};`)}else if(this.tokens.matches4(o._export,o._default,o._class,o.name)||this.tokens.matches5(o._export,o._default,o._abstract,o._class,o.name)||this.tokens.matches3(o._export,o._default,o.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(o._abstract)&&this.tokens.removeToken();let r=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${r};`)}else if(sl(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))t=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let r=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${r}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");t&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(o.at);)if(this.tokens.copyToken(),this.tokens.matches1(o.parenL))this.tokens.copyExpectedToken(o.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.parenR);else{for(this.tokens.copyExpectedToken(o.name);this.tokens.matches1(o.dot);)this.tokens.copyExpectedToken(o.dot),this.tokens.copyExpectedToken(o.name);this.tokens.matches1(o.parenL)&&(this.tokens.copyExpectedToken(o.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let t=this.tokens.currentIndex();if(t++,t++,!this.tokens.matches1AtIndex(t,o.name))return!1;for(t++;t<this.tokens.tokens.length&&this.tokens.tokens[t].isType;)t++;return!!this.tokens.matches1AtIndex(t,o.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let t=this.tokens.identifierName();for(;!this.tokens.matches1(o.eq);)this.rootTransformer.processToken();let r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${t} = ${t}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.matches1(o.braceL);t&&this.tokens.appendCode("(");let r=0;for(;;)if(this.tokens.matches1(o.braceL)||this.tokens.matches1(o.dollarBraceL)||this.tokens.matches1(o.bracketL))r++,this.tokens.copyToken();else if(this.tokens.matches1(o.braceR)||this.tokens.matches1(o.bracketR))r--,this.tokens.copyToken();else{if(r===0&&!this.tokens.matches1(o.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(o.eq)){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken()}else{let i=this.tokens.currentToken();if(Jc(i)){let n=this.tokens.identifierName(),s=this.importProcessor.getIdentifierReplacement(n);if(s===null)throw new Error(`Expected a replacement for ${n} in \`export var\` syntax.`);HT(i)&&(s=`${n}: ${s}`),this.tokens.replaceToken(s)}else this.rootTransformer.processToken()}}if(t){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let t=this.processNamedFunction();this.tokens.appendCode(` exports.${t} = ${t};`)}processNamedFunction(){if(this.tokens.matches1(o._function))this.tokens.copyToken();else if(this.tokens.matches2(o.name,o._function)){if(!this.tokens.matchesContextual(D._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(o.star)&&this.tokens.copyToken(),!this.tokens.matches1(o.name))throw new Error("Expected identifier for exported function name.");let t=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(o.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(o.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.braceR),t}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(o._abstract)&&this.tokens.removeToken();let t=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${t} = ${t};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=il(this.tokens),r=[];for(;;){if(this.tokens.matches1(o.braceR)){this.tokens.removeToken();break}let i=dn(this.tokens);for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();if(!(i.isType||!t&&this.shouldElideExportedIdentifier(i.leftName))){let s=i.rightName;s==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;let a=i.leftName,l=this.importProcessor.getIdentifierReplacement(a);r.push(`exports.${s} = ${l||a};`)}if(this.tokens.matches1(o.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(o.comma,o.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(o.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(D._from)){this.tokens.removeToken();let i=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(i)),Gn(this.tokens)}else this.tokens.appendCode(r.join(" "));this.tokens.matches1(o.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(o.string);)this.tokens.removeToken();let t=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(t)),Gn(this.tokens),this.tokens.matches1(o.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(t)}};var ol=class extends at{constructor(t,r,i,n,s,a,l,u){super(),this.tokens=t,this.nameManager=r,this.helperManager=i,this.reactHotLoaderTransformer=n,this.isTypeScriptTransformEnabled=s,this.isFlowTransformEnabled=a,this.keepUnusedImports=l,this.nonTypeIdentifiers=s&&!l?rp(t,u):new Set,this.declarationInfo=s&&!l?nl(t):Rp,this.injectCreateRequireForImportRequire=!!u.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(o._import,o.name,o.eq))return this.processImportEquals();if(this.tokens.matches4(o._import,o.name,o.name,o.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,D._type)){this.tokens.removeInitialToken();for(let t=0;t<7;t++)this.tokens.removeToken();return!0}if(this.tokens.matches2(o._export,o.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(o._export,o._import,o.name,o.name,o.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,D._type)){this.tokens.removeInitialToken();for(let t=0;t<8;t++)this.tokens.removeToken();return!0}if(this.tokens.matches1(o._import))return this.processImport();if(this.tokens.matches2(o._export,o._default))return this.processExportDefault();if(this.tokens.matches2(o._export,o.braceL))return this.processNamedExports();if(this.tokens.matches2(o._export,o.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,D._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(o.braceL)){for(;!this.tokens.matches1(o.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(o._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(D._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,o.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Gn(this.tokens)),!0}return!1}processImportEquals(){let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(t)?rl(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(o._import,o.parenL))return!1;let t=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(t);!this.tokens.matches1(o.string);)this.tokens.removeToken();this.tokens.removeToken(),Gn(this.tokens),this.tokens.matches1(o.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(o._import),this.tokens.matchesContextual(D._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,o.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,D._from))return!0;if(this.tokens.matches1(o.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(D._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,D._from)&&this.tokens.copyToken();let t=!1,r=!1,i=!1;if(this.tokens.matches1(o.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(o.comma)&&this.tokens.removeToken()):(t=!0,this.tokens.copyToken(),this.tokens.matches1(o.comma)&&(i=!0,this.tokens.removeToken()))),this.tokens.matches1(o.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(i&&this.tokens.appendCode(","),t=!0,this.tokens.copyExpectedToken(o.star),this.tokens.copyExpectedToken(o.name),this.tokens.copyExpectedToken(o.name));else if(this.tokens.matches1(o.braceL)){for(i&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(o.braceR);){r=!0;let n=dn(this.tokens);if(n.isType||this.shouldAutomaticallyElideImportedName(n.rightName)){for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();this.tokens.matches1(o.comma)&&this.tokens.removeToken()}else{for(t=!0;this.tokens.currentIndex()<n.endIndex;)this.tokens.copyToken();this.tokens.matches1(o.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(o.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!t:this.isFlowTransformEnabled?r&&!t:!1}shouldAutomaticallyElideImportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(t)}processExportDefault(){if(sl(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(o._export,o._default,o._function,o.name)||this.tokens.matches5(o._export,o._default,o.name,o._function,o.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,D._async)||this.tokens.matches4(o._export,o._default,o._class,o.name)||this.tokens.matches5(o._export,o._default,o._abstract,o._class,o.name))&&this.reactHotLoaderTransformer){let r=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${r}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(o._export),this.tokens.copyExpectedToken(o.braceL);let t=il(this.tokens),r=!1;for(;!this.tokens.matches1(o.braceR);){let i=dn(this.tokens);if(i.isType||!t&&this.shouldElideExportedName(i.leftName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(o.comma)&&this.tokens.removeToken()}else{for(r=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(o.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(o.braceR),!this.keepUnusedImports&&t&&!r&&(this.tokens.removeToken(),this.tokens.removeToken(),Gn(this.tokens)),!0}shouldElideExportedName(t){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(t)&&!this.declarationInfo.valueDeclarations.has(t)}};var ll=class extends at{constructor(t,r,i){super(),this.rootTransformer=t,this.tokens=r,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(o._enum)?(this.processEnum(),!0):this.tokens.matches2(o._export,o._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(o._export,o._default,o._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${t} = ${t};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let t=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${t};`):this.tokens.appendCode(` export default ${t};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(o.name);let t=!1;this.tokens.matchesContextual(D._of)&&(this.tokens.removeToken(),t=this.tokens.matchesContextual(D._symbol),this.tokens.removeToken());let r=this.tokens.matches3(o.braceL,o.name,o.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let i=!t&&!r;for(this.tokens.replaceTokenTrimmingLeftWhitespace(i?".Mirrored([":"({");!this.tokens.matches1(o.braceR);){if(this.tokens.matches1(o.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(t,r),this.tokens.matches1(o.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(i?"]);":"});")}processEnumElement(t,r){if(t){let i=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${i}")`)}else r?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};function eW(e){let t,r=e[0],i=1;for(;i<e.length;){let n=e[i],s=e[i+1];if(i+=2,(n==="optionalAccess"||n==="optionalCall")&&r==null)return;n==="access"||n==="optionalAccess"?(t=r,r=s(r)):(n==="call"||n==="optionalCall")&&(r=s((...a)=>r.call(t,...a)),t=void 0)}return r}var Np="jest",tW=["mock","unmock","enableAutomock","disableAutomock"],ul=class e extends at{__init(){this.hoistedFunctionNames=[]}constructor(t,r,i,n){super(),this.rootTransformer=t,this.tokens=r,this.nameManager=i,this.importProcessor=n,e.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(o.name,o.dot,o.name,o.parenL)&&this.tokens.identifierName()===Np?eW([this,"access",t=>t.importProcessor,"optionalAccess",t=>t.getGlobalNames,"call",t=>t(),"optionalAccess",t=>t.has,"call",t=>t(Np)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(t=>`${t}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let t=!1;for(;this.tokens.matches3(o.dot,o.name,o.parenL);){let r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(tW.includes(r)){let n=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(n),this.tokens.replaceToken(`function ${n}(){${Np}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.parenR),this.tokens.appendCode(";}"),t=!1}else t?this.tokens.copyToken():this.tokens.replaceToken(`${Np}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.parenR),t=!0}return!0}};var cl=class extends at{constructor(t){super(),this.tokens=t}process(){if(this.tokens.matches1(o.num)){let t=this.tokens.currentTokenCode();if(t.includes("_"))return this.tokens.replaceToken(t.replace(/_/g,"")),!0}return!1}};var pl=class extends at{constructor(t,r){super(),this.tokens=t,this.nameManager=r}process(){return this.tokens.matches2(o._catch,o.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};var dl=class extends at{constructor(t,r){super(),this.tokens=t,this.nameManager=r}process(){if(this.tokens.matches1(o.nullishCoalescing)){let i=this.tokens.currentToken();return this.tokens.tokens[i.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(o._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let r=this.tokens.currentToken().subscriptStartIndex;if(r!=null&&this.tokens.tokens[r].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==o._super){let i=this.nameManager.claimFreeName("_"),n;if(r>0&&this.tokens.matches1AtIndex(r-1,o._delete)&&this.isLastSubscriptInChain()?n=`${i} => delete ${i}`:n=`${i} => ${i}`,this.tokens.tokens[r].isAsyncOperation&&(n=`async ${n}`),this.tokens.matches2(o.questionDot,o.parenL)||this.tokens.matches2(o.questionDot,o.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${n}`);else if(this.tokens.matches2(o.questionDot,o.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}`);else if(this.tokens.matches1(o.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${n}.`);else if(this.tokens.matches1(o.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}.`);else if(this.tokens.matches1(o.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${n}[`);else if(this.tokens.matches1(o.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${n}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let t=0;for(let r=this.tokens.currentIndex()+1;;r++){if(r>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?t++:this.tokens.tokens[r].isOptionalChainEnd&&t--,t<0)return!0;if(t===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let t=0,r=this.tokens.currentIndex()-1;for(;;){if(r<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?t--:this.tokens.tokens[r].isOptionalChainEnd&&t++,t<0)return!1;if(t===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return this.tokens.tokens[r-1].type===o._super;r--}}};var fl=class extends at{constructor(t,r,i,n){super(),this.rootTransformer=t,this.tokens=r,this.importProcessor=i,this.options=n}process(){let t=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return r?this.tokens.replaceToken(`(0, ${r})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(t),!0}if(this.tokens.matches3(o.name,o.dot,o.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return r?(this.tokens.replaceToken(r),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(t),!0}return!1}tryProcessCreateClassCall(t){let r=this.findDisplayName(t);r&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(o.parenL),this.tokens.copyExpectedToken(o.braceL),this.tokens.appendCode(`displayName: '${r}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(o.braceR),this.tokens.copyExpectedToken(o.parenR))}findDisplayName(t){return t<2?null:this.tokens.matches2AtIndex(t-2,o.name,o.eq)?this.tokens.identifierNameAtIndex(t-2):t>=2&&this.tokens.tokens[t-2].identifierRole===ae.ObjectKey?this.tokens.identifierNameAtIndex(t-2):this.tokens.matches2AtIndex(t-2,o._export,o._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let r=(this.options.filePath||"unknown").split("/"),i=r[r.length-1],n=i.lastIndexOf("."),s=n===-1?i:i.slice(0,n);return s==="index"&&r[r.length-2]?r[r.length-2]:s}classNeedsDisplayName(){let t=this.tokens.currentIndex();if(!this.tokens.matches2(o.parenL,o.braceL))return!1;let r=t+1,i=this.tokens.tokens[r].contextId;if(i==null)throw new Error("Expected non-null context ID on object open-brace.");for(;t<this.tokens.tokens.length;t++){let n=this.tokens.tokens[t];if(n.type===o.braceR&&n.contextId===i){t++;break}if(this.tokens.identifierNameAtIndex(t)==="displayName"&&this.tokens.tokens[t].identifierRole===ae.ObjectKey&&n.contextId===i)return!1}if(t===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(t,o.parenR)||this.tokens.matches2AtIndex(t,o.comma,o.parenR)}};var ml=class e extends at{__init(){this.extractedDefaultExportName=null}constructor(t,r){super(),this.tokens=t,this.filePath=r,e.prototype.__init.call(this)}setExtractedDefaultExportName(t){this.extractedDefaultExportName=t}getPrefixCode(){return`
      (function () {
        var enterModule = require('react-hot-loader').enterModule;
        enterModule && enterModule(module);
      })();`.replace(/\s+/g," ").trim()}getSuffixCode(){let t=new Set;for(let i of this.tokens.tokens)!i.isType&&Yc(i)&&i.identifierRole!==ae.ImportDeclaration&&t.add(this.tokens.identifierNameForToken(i));let r=Array.from(t).map(i=>({variableName:i,uniqueLocalName:i}));return this.extractedDefaultExportName&&r.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
;(function () {
  var reactHotLoader = require('react-hot-loader').default;
  var leaveModule = require('react-hot-loader').leaveModule;
  if (!reactHotLoader) {
    return;
  }
${r.map(({variableName:i,uniqueLocalName:n})=>`  reactHotLoader.register(${i}, "${n}", ${JSON.stringify(this.filePath||"")});`).join(`
`)}
  leaveModule(module);
})();`}process(){return!1}};var rW=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function Op(e){if(e.length===0||!zn[e.charCodeAt(0)])return!1;for(let t=1;t<e.length;t++)if(!Kt[e.charCodeAt(t)])return!1;return!rW.has(e)}var hl=class extends at{constructor(t,r,i){super(),this.rootTransformer=t,this.tokens=r,this.isImportsTransformEnabled=i}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(o._public)||this.tokens.matches1(o._protected)||this.tokens.matches1(o._private)||this.tokens.matches1(o._abstract)||this.tokens.matches1(o._readonly)||this.tokens.matches1(o._override)||this.tokens.matches1(o.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(o._enum)||this.tokens.matches2(o._const,o._enum)?(this.processEnum(),!0):this.tokens.matches2(o._export,o._enum)||this.tokens.matches3(o._export,o._const,o._enum)?(this.processEnum(!0),!0):!1}processEnum(t=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(o._const)||this.tokens.matches1(o._enum);)this.tokens.removeToken();let r=this.tokens.identifierName();this.tokens.removeToken(),t&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${r}; (function (${r})`),this.tokens.copyExpectedToken(o.braceL),this.processEnumBody(r),this.tokens.copyExpectedToken(o.braceR),t&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${r} || (exports.${r} = ${r} = {}));`):this.tokens.appendCode(`)(${r} || (${r} = {}));`)}processEnumBody(t){let r=null;for(;!this.tokens.matches1(o.braceR);){let{nameStringCode:i,variableName:n}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(o.eq,o.string,o.comma)||this.tokens.matches3(o.eq,o.string,o.braceR)?this.processStringLiteralEnumMember(t,i,n):this.tokens.matches1(o.eq)?this.processExplicitValueEnumMember(t,i,n):this.processImplicitValueEnumMember(t,i,n,r),this.tokens.matches1(o.comma)&&this.tokens.removeToken(),n!=null?r=n:r=`${t}[${i}]`}}extractEnumKeyInfo(t){if(t.type===o.name){let r=this.tokens.identifierNameForToken(t);return{nameStringCode:`"${r}"`,variableName:Op(r)?r:null}}else if(t.type===o.string){let r=this.tokens.stringValueForToken(t);return{nameStringCode:this.tokens.code.slice(t.start,t.end),variableName:Op(r)?r:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(t,r,i){i!=null?(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${t}[${r}] = ${i};`)):(this.tokens.appendCode(`${t}[${r}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(t,r,i){let n=this.tokens.currentToken().rhsEndIndex;if(n==null)throw new Error("Expected rhsEndIndex on enum assign.");if(i!=null){for(this.tokens.appendCode(`const ${i}`),this.tokens.copyToken();this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${t}[${t}[${r}] = ${i}] = ${r};`)}else{for(this.tokens.appendCode(`${t}[${t}[${r}]`),this.tokens.copyToken();this.tokens.currentIndex()<n;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${r};`)}}processImplicitValueEnumMember(t,r,i,n){let s=n!=null?`${n} + 1`:"0";i!=null&&(this.tokens.appendCode(`const ${i} = ${s}; `),s=i),this.tokens.appendCode(`${t}[${t}[${r}] = ${s}] = ${r};`)}};var _l=class e{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(t,r,i,n){e.prototype.__init.call(this),e.prototype.__init2.call(this),this.nameManager=t.nameManager,this.helperManager=t.helperManager;let{tokenProcessor:s,importProcessor:a}=t;this.tokens=s,this.isImportsTransformEnabled=r.includes("imports"),this.isReactHotLoaderTransformEnabled=r.includes("react-hot-loader"),this.disableESTransforms=!!n.disableESTransforms,n.disableESTransforms||(this.transformers.push(new dl(s,this.nameManager)),this.transformers.push(new cl(s)),this.transformers.push(new pl(s,this.nameManager))),r.includes("jsx")&&(n.jsxRuntime!=="preserve"&&this.transformers.push(new Fo(this,s,a,this.nameManager,n)),this.transformers.push(new fl(this,s,a,n)));let l=null;if(r.includes("react-hot-loader")){if(!n.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");l=new ml(s,n.filePath),this.transformers.push(l)}if(r.includes("imports")){if(a===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new al(this,s,a,this.nameManager,this.helperManager,l,i,!!n.enableLegacyTypeScriptModuleInterop,r.includes("typescript"),r.includes("flow"),!!n.preserveDynamicImport,!!n.keepUnusedImports))}else this.transformers.push(new ol(s,this.nameManager,this.helperManager,l,r.includes("typescript"),r.includes("flow"),!!n.keepUnusedImports,n));r.includes("flow")&&this.transformers.push(new ll(this,s,r.includes("imports"))),r.includes("typescript")&&this.transformers.push(new hl(this,s,r.includes("imports"))),r.includes("jest")&&this.transformers.push(new ul(this,s,this.nameManager,a))}transform(){this.tokens.reset(),this.processBalancedCode();let r=this.isImportsTransformEnabled?'"use strict";':"";for(let a of this.transformers)r+=a.getPrefixCode();r+=this.helperManager.emitHelpers(),r+=this.generatedVariables.map(a=>` var ${a};`).join("");for(let a of this.transformers)r+=a.getHoistedCode();let i="";for(let a of this.transformers)i+=a.getSuffixCode();let n=this.tokens.finish(),{code:s}=n;if(s.startsWith("#!")){let a=s.indexOf(`
`);return a===-1&&(a=s.length,s+=`
`),{code:s.slice(0,a+1)+r+s.slice(a+1)+i,mappings:this.shiftMappings(n.mappings,r.length)}}else return{code:r+s+i,mappings:this.shiftMappings(n.mappings,r.length)}}processBalancedCode(){let t=0,r=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(o.braceL)||this.tokens.matches1(o.dollarBraceL))t++;else if(this.tokens.matches1(o.braceR)){if(t===0)return;t--}if(this.tokens.matches1(o.parenL))r++;else if(this.tokens.matches1(o.parenR)){if(r===0)return;r--}this.processToken()}}processToken(){if(this.tokens.matches1(o._class)){this.processClass();return}for(let t of this.transformers)if(t.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(o._class,o.name))throw new Error("Expected identifier for exported class name.");let t=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),t}processClass(){let t=bw(this,this.tokens,this.nameManager,this.disableESTransforms),r=(t.headerInfo.isExpression||!t.headerInfo.className)&&t.staticInitializerNames.length+t.instanceInitializerNames.length>0,i=t.headerInfo.className;r&&(i=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(i),this.tokens.appendCode(` (${i} =`));let s=this.tokens.currentToken().contextId;if(s==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(o._class);!this.tokens.matchesContextIdAndLabel(o.braceL,s);)this.processToken();this.processClassBody(t,i);let a=t.staticInitializerNames.map(l=>`${i}.${l}()`);r?this.tokens.appendCode(`, ${a.map(l=>`${l}, `).join("")}${i})`):t.staticInitializerNames.length>0&&this.tokens.appendCode(` ${a.map(l=>`${l};`).join(" ")}`)}processClassBody(t,r){let{headerInfo:i,constructorInsertPos:n,constructorInitializerStatements:s,fields:a,instanceInitializerNames:l,rangesToRemove:u}=t,p=0,f=0,h=this.tokens.currentToken().contextId;if(h==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(o.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let _=s.length+l.length>0;if(n===null&&_){let g=this.makeConstructorInitCode(s,l,r);if(i.hasSuperclass){let b=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${b}) { super(...${b}); ${g}; }`)}else this.tokens.appendCode(`constructor() { ${g}; }`)}for(;!this.tokens.matchesContextIdAndLabel(o.braceR,h);)if(p<a.length&&this.tokens.currentIndex()===a[p].start){let g=!1;for(this.tokens.matches1(o.bracketL)?this.tokens.copyTokenWithPrefix(`${a[p].initializerName}() {this`):this.tokens.matches1(o.string)||this.tokens.matches1(o.num)?(this.tokens.copyTokenWithPrefix(`${a[p].initializerName}() {this[`),g=!0):this.tokens.copyTokenWithPrefix(`${a[p].initializerName}() {this.`);this.tokens.currentIndex()<a[p].end;)g&&this.tokens.currentIndex()===a[p].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),p++}else if(f<u.length&&this.tokens.currentIndex()>=u[f].start){for(this.tokens.currentIndex()<u[f].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<u[f].end;)this.tokens.removeToken();f++}else this.tokens.currentIndex()===n?(this.tokens.copyToken(),_&&this.tokens.appendCode(`;${this.makeConstructorInitCode(s,l,r)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(o.braceR)}makeConstructorInitCode(t,r,i){return[...t,...r.map(n=>`${i}.prototype.${n}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(o.parenR,o.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let t=this.tokens.currentIndex()+1;for(;this.tokens.tokens[t].isType;)t++;if(this.tokens.matches1AtIndex(t,o.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<t;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(D._async)&&!this.tokens.matches1(o._async))return!1;let t=this.tokens.tokenAtRelativeIndex(1);if(t.type!==o.lessThan||!t.isType)return!1;let r=this.tokens.currentIndex()+1;for(;this.tokens.tokens[r].isType;)r++;if(this.tokens.matches1AtIndex(r,o.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<r;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(t,r){for(let i=0;i<t.length;i++){let n=t[i];n!==void 0&&(t[i]=n+r)}return t}};var nW=it(x2());function vw(e){let t=new Set;for(let r=0;r<e.tokens.length;r++)e.matches1AtIndex(r,o._import)&&!e.matches3AtIndex(r,o._import,o.name,o.eq)&&iW(e,r,t);return t}function iW(e,t,r){t++,!e.matches1AtIndex(t,o.parenL)&&(e.matches1AtIndex(t,o.name)&&(r.add(e.identifierNameAtIndex(t)),t++,e.matches1AtIndex(t,o.comma)&&t++),e.matches1AtIndex(t,o.star)&&(t+=2,r.add(e.identifierNameAtIndex(t)),t++),e.matches1AtIndex(t,o.braceL)&&(t++,sW(e,t,r)))}function sW(e,t,r){for(;;){if(e.matches1AtIndex(t,o.braceR))return;let i=dn(e,t);if(t=i.endIndex,i.isType||r.add(i.rightName),e.matches2AtIndex(t,o.comma,o.braceR))return;if(e.matches1AtIndex(t,o.braceR))return;if(e.matches1AtIndex(t,o.comma))t++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[t])}`)}}function k2(e,t){MI(t);try{let r=aW(e,t),n=new _l(r,t.transforms,!!t.enableLegacyBabel5ModuleInterop,t).transform(),s={code:n.code};if(t.sourceMapOptions){if(!t.filePath)throw new Error("filePath must be specified when generating a source map.");s={...s,sourceMap:Ek(n,t.filePath,t.sourceMapOptions,e,r.tokenProcessor.tokens)}}return s}catch(r){throw t.filePath&&(r.message=`Error transforming ${t.filePath}: ${r.message}`),r}}function aW(e,t){let r=t.transforms.includes("jsx"),i=t.transforms.includes("typescript"),n=t.transforms.includes("flow"),s=t.disableESTransforms===!0,a=g2(e,r,i,n),l=a.tokens,u=a.scopes,p=new Bo(e,l),f=new lp(p),h=new tl(e,l,n,s,f),_=!!t.enableLegacyTypeScriptModuleInterop,g=null;return t.transforms.includes("imports")?(g=new jo(p,h,_,t,t.transforms.includes("typescript"),!!t.keepUnusedImports,f),g.preprocessTokens(),up(h,u,g.getGlobalNames()),t.transforms.includes("typescript")&&!t.keepUnusedImports&&g.pruneTypeOnlyImports()):t.transforms.includes("typescript")&&!t.keepUnusedImports&&up(h,u,vw(h)),{tokenProcessor:h,scopes:u,nameManager:p,importProcessor:g,helperManager:f}}var bl=class{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:t=>this.replacement=t}}replace(t,r,i,n){t&&r&&(i!=null?t[r][i]=n:t[r]=n)}remove(t,r,i){t&&r&&(i!=null?t[r].splice(i,1):delete t[r])}};var Fp=class extends bl{constructor(t,r){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:i=>this.replacement=i},this.enter=t,this.leave=r}visit(t,r,i,n){if(t){if(this.enter){let a=this.should_skip,l=this.should_remove,u=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,t,r,i,n),this.replacement&&(t=this.replacement,this.replace(r,i,n,t)),this.should_remove&&this.remove(r,i,n);let p=this.should_skip,f=this.should_remove;if(this.should_skip=a,this.should_remove=l,this.replacement=u,p)return t;if(f)return null}let s;for(s in t){let a=t[s];if(a&&typeof a=="object")if(Array.isArray(a)){let l=a;for(let u=0;u<l.length;u+=1){let p=l[u];w2(p)&&(this.visit(p,t,s,u)||u--)}}else w2(a)&&this.visit(a,t,s,null)}if(this.leave){let a=this.replacement,l=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,t,r,i,n),this.replacement&&(t=this.replacement,this.replace(r,i,n,t)),this.should_remove&&this.remove(r,i,n);let u=this.should_remove;if(this.replacement=a,this.should_remove=l,u)return null}}return t}};function w2(e){return e!==null&&typeof e=="object"&&"type"in e&&typeof e.type=="string"}function ns(e,{enter:t,leave:r}){return new Fp(t,r).visit(e,null)}var jp=class e{constructor(t){this.bits=t instanceof e?t.bits.slice():[]}add(t){this.bits[t>>5]|=1<<(t&31)}has(t){return!!(this.bits[t>>5]&1<<(t&31))}},qp=class e{constructor(t,r,i){this.start=t,this.end=r,this.original=i,this.intro="",this.outro="",this.content=i,this.storeName=!1,this.edited=!1,this.previous=null,this.next=null}appendLeft(t){this.outro+=t}appendRight(t){this.intro=this.intro+t}clone(){let t=new e(this.start,this.end,this.original);return t.intro=this.intro,t.outro=this.outro,t.content=this.content,t.storeName=this.storeName,t.edited=this.edited,t}contains(t){return this.start<t&&t<this.end}eachNext(t){let r=this;for(;r;)t(r),r=r.next}eachPrevious(t){let r=this;for(;r;)t(r),r=r.previous}edit(t,r,i){return this.content=t,i||(this.intro="",this.outro=""),this.storeName=r,this.edited=!0,this}prependLeft(t){this.outro=t+this.outro}prependRight(t){this.intro=t+this.intro}reset(){this.intro="",this.outro="",this.edited&&(this.content=this.original,this.storeName=!1,this.edited=!1)}split(t){let r=t-this.start,i=this.original.slice(0,r),n=this.original.slice(r);this.original=i;let s=new e(t,this.end,n);return s.outro=this.outro,this.outro="",this.end=t,this.edited?(s.edit("",!1),this.content=""):this.content=i,s.next=this.next,s.next&&(s.next.previous=s),s.previous=this,this.next=s,s}toString(){return this.intro+this.content+this.outro}trimEnd(t){if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;let r=this.content.replace(t,"");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(t,""),this.intro.length)return!0}trimStart(t){if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;let r=this.content.replace(t,"");if(r.length){if(r!==this.content){let i=this.split(this.end-r.length);this.edited&&i.edit(r,this.storeName,!0),this.edit("",void 0,!0)}return!0}else if(this.edit("",void 0,!0),this.outro=this.outro.replace(t,""),this.outro.length)return!0}};function oW(){return typeof globalThis<"u"&&typeof globalThis.btoa=="function"?e=>globalThis.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"?e=>Buffer.from(e,"utf-8").toString("base64"):()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")}}var lW=oW(),yw=class{constructor(t){this.version=3,this.file=t.file,this.sources=t.sources,this.sourcesContent=t.sourcesContent,this.names=t.names,this.mappings=Zs(t.mappings),typeof t.x_google_ignoreList<"u"&&(this.x_google_ignoreList=t.x_google_ignoreList),typeof t.debugId<"u"&&(this.debugId=t.debugId)}toString(){return JSON.stringify(this)}toUrl(){return"data:application/json;charset=utf-8;base64,"+lW(this.toString())}};function uW(e){let t=e.split(`
`),r=t.filter(s=>/^\t+/.test(s)),i=t.filter(s=>/^ {2,}/.test(s));if(r.length===0&&i.length===0)return null;if(r.length>=i.length)return"	";let n=i.reduce((s,a)=>{let l=/^ +/.exec(a)[0].length;return Math.min(l,s)},1/0);return new Array(n+1).join(" ")}function cW(e,t){let r=e.split(/[/\\]/),i=t.split(/[/\\]/);for(r.pop();r[0]===i[0];)r.shift(),i.shift();if(r.length){let n=r.length;for(;n--;)r[n]=".."}return r.concat(i).join("/")}var pW=Object.prototype.toString;function dW(e){return pW.call(e)==="[object Object]"}function E2(e){let t=e.split(`
`),r=[];for(let i=0,n=0;i<t.length;i++)r.push(n),n+=t[i].length+1;return function(n){let s=0,a=r.length;for(;s<a;){let p=s+a>>1;n<r[p]?a=p:s=p+1}let l=s-1,u=n-r[l];return{line:l,column:u}}}var fW=/\w/,xw=class{constructor(t){this.hires=t,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null}addEdit(t,r,i,n){if(r.length){let s=r.length-1,a=r.indexOf(`
`,0),l=-1;for(;a>=0&&s>a;){let p=[this.generatedCodeColumn,t,i.line,i.column];n>=0&&p.push(n),this.rawSegments.push(p),this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=a,a=r.indexOf(`
`,a+1)}let u=[this.generatedCodeColumn,t,i.line,i.column];n>=0&&u.push(n),this.rawSegments.push(u),this.advance(r.slice(l+1))}else this.pending&&(this.rawSegments.push(this.pending),this.advance(r));this.pending=null}addUneditedChunk(t,r,i,n,s){let a=r.start,l=!0,u=!1;for(;a<r.end;){if(i[a]===`
`)n.line+=1,n.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,l=!0,u=!1;else{if(this.hires||l||s.has(a)){let p=[this.generatedCodeColumn,t,n.line,n.column];this.hires==="boundary"?fW.test(i[a])?u||(this.rawSegments.push(p),u=!0):(this.rawSegments.push(p),u=!1):this.rawSegments.push(p)}n.column+=1,this.generatedCodeColumn+=1,l=!1}a+=1}this.pending=null}advance(t){if(!t)return;let r=t.split(`
`);if(r.length>1){for(let i=0;i<r.length-1;i++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=r[r.length-1].length}},vl=`
`,aa={insertLeft:!1,insertRight:!1,storeName:!1},Mp=class e{constructor(t,r={}){let i=new qp(0,t.length,t);Object.defineProperties(this,{original:{writable:!0,value:t},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:i},lastChunk:{writable:!0,value:i},lastSearchedChunk:{writable:!0,value:i},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:r.filename},indentExclusionRanges:{writable:!0,value:r.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new jp},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:r.ignoreList},offset:{writable:!0,value:r.offset||0}}),this.byStart[0]=i,this.byEnd[t.length]=i}addSourcemapLocation(t){this.sourcemapLocations.add(t)}append(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.outro+=t,this}appendLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byEnd[t];return i?i.appendLeft(r):this.intro+=r,this}appendRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byStart[t];return i?i.appendRight(r):this.outro+=r,this}clone(){let t=new e(this.original,{filename:this.filename,offset:this.offset}),r=this.firstChunk,i=t.firstChunk=t.lastSearchedChunk=r.clone();for(;r;){t.byStart[i.start]=i,t.byEnd[i.end]=i;let n=r.next,s=n&&n.clone();s&&(i.next=s,s.previous=i,i=s),r=n}return t.lastChunk=i,this.indentExclusionRanges&&(t.indentExclusionRanges=this.indentExclusionRanges.slice()),t.sourcemapLocations=new jp(this.sourcemapLocations),t.intro=this.intro,t.outro=this.outro,t}generateDecodedMap(t){t=t||{};let r=0,i=Object.keys(this.storedNames),n=new xw(t.hires),s=E2(this.original);return this.intro&&n.advance(this.intro),this.firstChunk.eachNext(a=>{let l=s(a.start);a.intro.length&&n.advance(a.intro),a.edited?n.addEdit(r,a.content,l,a.storeName?i.indexOf(a.original):-1):n.addUneditedChunk(r,a,this.original,l,this.sourcemapLocations),a.outro.length&&n.advance(a.outro)}),{file:t.file?t.file.split(/[/\\]/).pop():void 0,sources:[t.source?cW(t.file||"",t.source):t.file||""],sourcesContent:t.includeContent?[this.original]:void 0,names:i,mappings:n.raw,x_google_ignoreList:this.ignoreList?[r]:void 0}}generateMap(t){return new yw(this.generateDecodedMap(t))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=uW(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?"	":this.indentStr}indent(t,r){let i=/^[^\r\n]/gm;if(dW(t)&&(r=t,t=void 0),t===void 0&&(this._ensureindentStr(),t=this.indentStr||"	"),t==="")return this;r=r||{};let n={};r.exclude&&(typeof r.exclude[0]=="number"?[r.exclude]:r.exclude).forEach(f=>{for(let h=f[0];h<f[1];h+=1)n[h]=!0});let s=r.indentStart!==!1,a=p=>s?`${t}${p}`:(s=!0,p);this.intro=this.intro.replace(i,a);let l=0,u=this.firstChunk;for(;u;){let p=u.end;if(u.edited)n[l]||(u.content=u.content.replace(i,a),u.content.length&&(s=u.content[u.content.length-1]===`
`));else for(l=u.start;l<p;){if(!n[l]){let f=this.original[l];f===`
`?s=!0:f!=="\r"&&s&&(s=!1,l===u.start||(this._splitChunk(u,l),u=u.next),u.prependRight(t))}l+=1}l=u.end,u=u.next}return this.outro=this.outro.replace(i,a),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(t,r){return aa.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),aa.insertLeft=!0),this.appendLeft(t,r)}insertRight(t,r){return aa.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),aa.insertRight=!0),this.prependRight(t,r)}move(t,r,i){if(t=t+this.offset,r=r+this.offset,i=i+this.offset,i>=t&&i<=r)throw new Error("Cannot move a selection inside itself");this._split(t),this._split(r),this._split(i);let n=this.byStart[t],s=this.byEnd[r],a=n.previous,l=s.next,u=this.byStart[i];if(!u&&s===this.lastChunk)return this;let p=u?u.previous:this.lastChunk;return a&&(a.next=l),l&&(l.previous=a),p&&(p.next=n),u&&(u.previous=s),n.previous||(this.firstChunk=s.next),s.next||(this.lastChunk=n.previous,this.lastChunk.next=null),n.previous=p,s.next=u||null,p||(this.firstChunk=n),u||(this.lastChunk=s),this}overwrite(t,r,i,n){return n=n||{},this.update(t,r,i,{...n,overwrite:!n.contentOnly})}update(t,r,i,n){if(t=t+this.offset,r=r+this.offset,typeof i!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(r>this.original.length)throw new Error("end is out of bounds");if(t===r)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(t),this._split(r),n===!0&&(aa.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),aa.storeName=!0),n={storeName:!0});let s=n!==void 0?n.storeName:!1,a=n!==void 0?n.overwrite:!1;if(s){let p=this.original.slice(t,r);Object.defineProperty(this.storedNames,p,{writable:!0,value:!0,enumerable:!0})}let l=this.byStart[t],u=this.byEnd[r];if(l){let p=l;for(;p!==u;){if(p.next!==this.byStart[p.end])throw new Error("Cannot overwrite across a split point");p=p.next,p.edit("",!1)}l.edit(i,s,!a)}else{let p=new qp(t,r,"").edit(i,s);u.next=p,p.previous=u}return this}prepend(t){if(typeof t!="string")throw new TypeError("outro content must be a string");return this.intro=t+this.intro,this}prependLeft(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byEnd[t];return i?i.prependLeft(r):this.intro=r+this.intro,this}prependRight(t,r){if(t=t+this.offset,typeof r!="string")throw new TypeError("inserted content must be a string");this._split(t);let i=this.byStart[t];return i?i.prependRight(r):this.outro=r+this.outro,this}remove(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let i=this.byStart[t];for(;i;)i.intro="",i.outro="",i.edit(""),i=r>i.end?this.byStart[i.end]:null;return this}reset(t,r){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}if(t===r)return this;if(t<0||r>this.original.length)throw new Error("Character is out of bounds");if(t>r)throw new Error("end must be greater than start");this._split(t),this._split(r);let i=this.byStart[t];for(;i;)i.reset(),i=r>i.end?this.byStart[i.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let t=this.lastChunk;do{if(t.outro.length)return t.outro[t.outro.length-1];if(t.content.length)return t.content[t.content.length-1];if(t.intro.length)return t.intro[t.intro.length-1]}while(t=t.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let t=this.outro.lastIndexOf(vl);if(t!==-1)return this.outro.substr(t+1);let r=this.outro,i=this.lastChunk;do{if(i.outro.length>0){if(t=i.outro.lastIndexOf(vl),t!==-1)return i.outro.substr(t+1)+r;r=i.outro+r}if(i.content.length>0){if(t=i.content.lastIndexOf(vl),t!==-1)return i.content.substr(t+1)+r;r=i.content+r}if(i.intro.length>0){if(t=i.intro.lastIndexOf(vl),t!==-1)return i.intro.substr(t+1)+r;r=i.intro+r}}while(i=i.previous);return t=this.intro.lastIndexOf(vl),t!==-1?this.intro.substr(t+1)+r:this.intro+r}slice(t=0,r=this.original.length-this.offset){if(t=t+this.offset,r=r+this.offset,this.original.length!==0){for(;t<0;)t+=this.original.length;for(;r<0;)r+=this.original.length}let i="",n=this.firstChunk;for(;n&&(n.start>t||n.end<=t);){if(n.start<r&&n.end>=r)return i;n=n.next}if(n&&n.edited&&n.start!==t)throw new Error(`Cannot use replaced character ${t} as slice start anchor.`);let s=n;for(;n;){n.intro&&(s!==n||n.start===t)&&(i+=n.intro);let a=n.start<r&&n.end>=r;if(a&&n.edited&&n.end!==r)throw new Error(`Cannot use replaced character ${r} as slice end anchor.`);let l=s===n?t-n.start:0,u=a?n.content.length+r-n.end:n.content.length;if(i+=n.content.slice(l,u),n.outro&&(!a||n.end===r)&&(i+=n.outro),a)break;n=n.next}return i}snip(t,r){let i=this.clone();return i.remove(0,t),i.remove(r,i.original.length),i}_split(t){if(this.byStart[t]||this.byEnd[t])return;let r=this.lastSearchedChunk,i=t>r.end;for(;r;){if(r.contains(t))return this._splitChunk(r,t);r=i?this.byStart[r.end]:this.byEnd[r.start]}}_splitChunk(t,r){if(t.edited&&t.content.length){let n=E2(this.original)(r);throw new Error(`Cannot split a chunk that has already been edited (${n.line}:${n.column} \u2013 "${t.original}")`)}let i=t.split(r);return this.byEnd[r]=t,this.byStart[r]=i,this.byEnd[i.end]=i,t===this.lastChunk&&(this.lastChunk=i),this.lastSearchedChunk=t,!0}toString(){let t=this.intro,r=this.firstChunk;for(;r;)t+=r.toString(),r=r.next;return t+this.outro}isEmpty(){let t=this.firstChunk;do if(t.intro.length&&t.intro.trim()||t.content.length&&t.content.trim()||t.outro.length&&t.outro.trim())return!1;while(t=t.next);return!0}length(){let t=this.firstChunk,r=0;do r+=t.intro.length+t.content.length+t.outro.length;while(t=t.next);return r}trimLines(){return this.trim("[\\r\\n]")}trim(t){return this.trimStart(t).trimEnd(t)}trimEndAborted(t){let r=new RegExp((t||"\\s")+"+$");if(this.outro=this.outro.replace(r,""),this.outro.length)return!0;let i=this.lastChunk;do{let n=i.end,s=i.trimEnd(r);if(i.end!==n&&(this.lastChunk===i&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),s)return!0;i=i.previous}while(i);return!1}trimEnd(t){return this.trimEndAborted(t),this}trimStartAborted(t){let r=new RegExp("^"+(t||"\\s")+"+");if(this.intro=this.intro.replace(r,""),this.intro.length)return!0;let i=this.firstChunk;do{let n=i.end,s=i.trimStart(r);if(i.end!==n&&(i===this.lastChunk&&(this.lastChunk=i.next),this.byEnd[i.end]=i,this.byStart[i.next.start]=i.next,this.byEnd[i.next.end]=i.next),s)return!0;i=i.next}while(i);return!1}trimStart(t){return this.trimStartAborted(t),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(t,r){function i(s,a){return typeof r=="string"?r.replace(/\$(\$|&|\d+)/g,(l,u)=>u==="$"?"$":u==="&"?s[0]:+u<s.length?s[+u]:`$${u}`):r(...s,s.index,a,s.groups)}function n(s,a){let l,u=[];for(;l=s.exec(a);)u.push(l);return u}if(t.global)n(t,this.original).forEach(a=>{if(a.index!=null){let l=i(a,this.original);l!==a[0]&&this.overwrite(a.index,a.index+a[0].length,l)}});else{let s=this.original.match(t);if(s&&s.index!=null){let a=i(s,this.original);a!==s[0]&&this.overwrite(s.index,s.index+s[0].length,a)}}return this}_replaceString(t,r){let{original:i}=this,n=i.indexOf(t);return n!==-1&&this.overwrite(n,n+t.length,r),this}replace(t,r){return typeof t=="string"?this._replaceString(t,r):this._replaceRegexp(t,r)}_replaceAllString(t,r){let{original:i}=this,n=t.length;for(let s=i.indexOf(t);s!==-1;s=i.indexOf(t,s+n))i.slice(s,s+n)!==r&&this.overwrite(s,s+n,r);return this}replaceAll(t,r){if(typeof t=="string")return this._replaceAllString(t,r);if(!t.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(t,r)}};function mt(e,t,r){let i=r._,n=!1;function s(l,{next:u,state:p}){u(p)}function a(l,u,p){if(n||!l.type)return;let f,h={},_={path:u,state:p,next:(b=p)=>{u.push(l);for(let E in l){if(E==="type")continue;let C=l[E];if(C&&typeof C=="object")if(Array.isArray(C)){let T={};C.forEach((N,I)=>{if(N&&typeof N=="object"){let V=a(N,u,b);V&&(T[I]=V)}}),Object.keys(T).length>0&&(h[E]=C.map((N,I)=>T[I]??N))}else{let T=a(C,u,b);T&&(h[E]=T)}}if(u.pop(),Object.keys(h).length>0)return D2(l,h)},stop:()=>{n=!0},visit:(b,E=p)=>{u.push(l);let C=a(b,u,E)??b;return u.pop(),C}},g=r[l.type]??s;if(i){let b;f=i(l,{..._,next:(E=p)=>(p=E,b=g(l,{..._,state:E}),b)}),!f&&b&&(f=b)}else f=g(l,_);if(f||Object.keys(h).length>0&&(f=D2(l,h)),f)return f}return a(e,[],t)??e}function D2(e,t){let r={},i=Object.getOwnPropertyDescriptors(e);for(let n in i)Object.defineProperty(r,n,i[n]);for(let n in t)r[n]=t[n];return r}var Kn=/\s/;var kw=/^[ \t\r\n]+/;var ww=/[ \t\r\n]+$/,oa=/[^ \t\r\n]/;var Bp=/[^\n]/g;var C2="[",S2="[!",$2="]";var Ake=Symbol(),Pke=Symbol("filename"),Rke=Symbol("hmr");var Ew="http://www.w3.org/2000/svg",Dw="http://www.w3.org/1998/Math/MathML",T2=["state_snapshot_uncloneable","binding_property_non_reactive","hydration_attribute_changed","hydration_html_changed","ownership_invalid_binding","ownership_invalid_mutation"];function yl(e,t){if(t.length===0)return null;let i=new $w(t).get(e);return i&&i[0][0]>.7?i[0][1]:null}var Cw=2,Sw=3;function mW(e,t){if(e===null&&t===null)throw"Trying to compare two null values";return e===null||t===null?0:(e=String(e),t=String(t),1-hW(e,t)/Math.max(e.length,t.length))}function hW(e,t){let r=[],i=0,n=0;for(let s=0;s<=t.length;s++)for(let a=0;a<=e.length;a++)s&&a?e.charAt(a-1)===t.charAt(s-1)?n=i:n=Math.min(r[a],r[a-1],i)+1:n=s+a,i=r[a],r[a]=n;return r.pop()}var _W=/[^\w, ]+/;function gW(e,t=2){let r="-"+e.toLowerCase().replace(_W,"")+"-",i=t-r.length,n=[];if(i>0)for(let s=0;s<i;++s)e+="-";for(let s=0;s<r.length-t+1;++s)n.push(r.slice(s,s+t));return n}function I2(e,t=2){let r={},i=gW(e,t),n=0;for(n;n<i.length;++n)i[n]in r?r[i[n]]+=1:r[i[n]]=1;return r}function A2(e,t){return t[0]-e[0]}var $w=class{exact_set={};match_dict={};items={};constructor(t){for(let r=Cw;r<Sw+1;++r)this.items[r]=[];for(let r=0;r<t.length;++r)this.add(t[r])}add(t){if(t.toLowerCase()in this.exact_set)return!1;let i=Cw;for(i;i<Sw+1;++i)this._add(t,i)}_add(t,r){let i=t.toLowerCase(),n=this.items[r]||[],s=n.length;n.push(0);let a=I2(i,r),l=0,u,p;for(u in a)p=a[u],l+=Math.pow(p,2),u in this.match_dict?this.match_dict[u].push([s,p]):this.match_dict[u]=[[s,p]];let f=Math.sqrt(l);n[s]=[f,i],this.items[r]=n,this.exact_set[i]=t}get(t){let r=t.toLowerCase(),i=this.exact_set[r];if(i)return[[1,i]];for(let n=Sw;n>=Cw;--n){let s=this.__get(t,n);if(s.length>0)return s}return null}__get(t,r){let i=t.toLowerCase(),n={},s=I2(i,r),a=this.items[r],l=0,u,p,f,h,_;for(u in s)if(p=s[u],l+=Math.pow(p,2),u in this.match_dict)for(f=0;f<this.match_dict[u].length;++f)h=this.match_dict[u][f][0],_=this.match_dict[u][f][1],h in n?n[h]+=p*_:n[h]=p*_;let g=Math.sqrt(l),b=[],E;for(let N in n)E=n[N],b.push([E/(g*a[N][0]),a[N][1]]);b.sort(A2);let C=[],T=Math.min(50,b.length);for(let N=0;N<T;++N)C.push([mW(b[N][1],i),b[N][1]]);b=C,b.sort(A2),C=[];for(let N=0;N<b.length;++N)b[N][0]===b[0][0]&&C.push([b[N][0],this.exact_set[b[N][1]]]);return C}};function bW(e,t){return e.start<=t&&t<e.end}function xl(e,t={}){let{offsetLine:r=0,offsetColumn:i=0}=t,n=0,s=e.split(`
`).map((u,p)=>{let f=n+u.length+1,h={start:n,end:f,line:p};return n=f,h}),a=0;function l(u,p){if(typeof u=="string"&&(u=e.indexOf(u,p??0)),u===-1)return;let f=s[a],h=u>=f.end?1:-1;for(;f;){if(bW(f,u))return{line:r+f.line,column:i+u-f.start,character:u};a+=h,f=s[a]}}return l}var vW=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function is(e){return vW.includes(e)||e.toLowerCase()==="!doctype"}var yW=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"];function zp(e){return yW.includes(e)}var xW=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory","defer","disablepictureinpicture","disableremoteplayback"];var Fke=[...xW,"formNoValidate","isMap","noModule","playsInline","readOnly","value","volume","defaultValue","defaultChecked","srcObject","noValidate","allowFullscreen","disablePictureInPicture","disableRemotePlayback"];var kW=["$state","$state.raw","$derived","$derived.by"],jke=[...kW,"$state.snapshot","$props","$props.id","$bindable","$effect","$effect.pre","$effect.tracking","$effect.root","$inspect","$inspect().with","$inspect.trace","$host"];var Up=[],hn,kl,nt,Sr=xl("",{offsetLine:1});var Tw,wl=[],Vp=new Map;function Iw(e=()=>!0){Tw=e}function Aw(e,t){kl=e;let r=t.rootDir?.replace(/\\/g,"/");hn=t.filename.replace(/\\/g,"/"),nt=!!t.dev,typeof r=="string"&&hn.startsWith(r)&&(hn=hn.replace(r,"").replace(/^[/\\]/,"")),Sr=xl(kl,{offsetLine:1}),Up=[],wl=[],Vp.clear()}var wW=/^\t+/;function Rw(e){return e.replace(wW,t=>t.split("	").join("  "))}function EW(e,t,r){let i=e.split(`
`),n=Math.max(0,t-2),s=Math.min(t+3,i.length),a=String(s+1).length;return i.slice(n,s).map((l,u)=>{let p=n+u===t,f=String(u+n+1).padStart(a," ");if(p){let h=" ".repeat(a+2+Rw(l.slice(0,r)).length)+"^";return`${f}: ${Rw(l)}
${h}`}return`${f}: ${Rw(l)}`}).join(`
`)}var la=class{name="CompileDiagnostic";constructor(t,r,i){this.code=t,this.message=r,hn&&(this.filename=hn),i&&(this.position=i,this.start=Sr(i[0]),this.end=Sr(i[1]),this.start&&this.end&&(this.frame=EW(kl,this.start.line-1,this.end.column)))}toString(){let t=`${this.code}: ${this.message}`;return this.filename&&(t+=`
${this.filename}`,this.start&&(t+=`:${this.start.line}:${this.start.column}`)),this.frame&&(t+=`
${this.frame}`),t}toJSON(){return{code:this.code,message:this.message,filename:this.filename,start:this.start,end:this.end,position:this.position,frame:this.frame}}};var Nw=class extends la{name="CompileWarning";constructor(t,r,i){super(t,r,i)}};function en(e,t,r){let i=wl;if(e&&(i=Vp.get(e)??wl),i&&i.at(-1)?.has(t))return;let n=new Nw(t,r,e&&e.start!==void 0?[e.start,e.end??e.start]:void 0);Tw(n)&&Up.push(n)}var P2=["a11y_accesskey","a11y_aria_activedescendant_has_tabindex","a11y_aria_attributes","a11y_autocomplete_valid","a11y_autofocus","a11y_click_events_have_key_events","a11y_consider_explicit_label","a11y_distracting_elements","a11y_figcaption_index","a11y_figcaption_parent","a11y_hidden","a11y_img_redundant_alt","a11y_incorrect_aria_attribute_type","a11y_incorrect_aria_attribute_type_boolean","a11y_incorrect_aria_attribute_type_id","a11y_incorrect_aria_attribute_type_idlist","a11y_incorrect_aria_attribute_type_integer","a11y_incorrect_aria_attribute_type_token","a11y_incorrect_aria_attribute_type_tokenlist","a11y_incorrect_aria_attribute_type_tristate","a11y_interactive_supports_focus","a11y_invalid_attribute","a11y_label_has_associated_control","a11y_media_has_caption","a11y_misplaced_role","a11y_misplaced_scope","a11y_missing_attribute","a11y_missing_content","a11y_mouse_events_have_key_events","a11y_no_abstract_role","a11y_no_interactive_element_to_noninteractive_role","a11y_no_noninteractive_element_interactions","a11y_no_noninteractive_element_to_interactive_role","a11y_no_noninteractive_tabindex","a11y_no_redundant_roles","a11y_no_static_element_interactions","a11y_positive_tabindex","a11y_role_has_required_aria_props","a11y_role_supports_aria_props","a11y_role_supports_aria_props_implicit","a11y_unknown_aria_attribute","a11y_unknown_role","bidirectional_control_characters","legacy_code","unknown_code","options_deprecated_accessors","options_deprecated_immutable","options_missing_custom_element","options_removed_enable_sourcemap","options_removed_hydratable","options_removed_loop_guard_timeout","options_renamed_ssr_dom","custom_element_props_identifier","export_let_unused","legacy_component_creation","non_reactive_update","perf_avoid_inline_class","perf_avoid_nested_class","reactive_declaration_invalid_placement","reactive_declaration_module_script_dependency","state_referenced_locally","store_rune_conflict","css_unused_selector","attribute_avoid_is","attribute_global_event_reference","attribute_illegal_colon","attribute_invalid_property_name","attribute_quoted","bind_invalid_each_rest","block_empty","component_name_lowercase","element_implicitly_closed","element_invalid_self_closing_tag","event_directive_deprecated","node_invalid_placement_ssr","script_context_deprecated","script_unknown_attribute","slot_element_deprecated","svelte_component_deprecated","svelte_element_invalid_this","svelte_self_deprecated"];function R2(e,t,r){en(e,"legacy_code",`\`${t}\` is no longer valid \u2014 please use \`${r}\` instead
https://svelte.dev/e/legacy_code`)}function N2(e,t,r){en(e,"unknown_code",`${r?`\`${t}\` is not a recognised code (did you mean \`${r}\`?)`:`\`${t}\` is not a recognised code`}
https://svelte.dev/e/unknown_code`)}function Ow(e){en(e,"options_deprecated_accessors","The `accessors` option has been deprecated. It will have no effect in runes mode\nhttps://svelte.dev/e/options_deprecated_accessors")}function Lw(e){en(e,"options_deprecated_immutable","The `immutable` option has been deprecated. It will have no effect in runes mode\nhttps://svelte.dev/e/options_deprecated_immutable")}function O2(e){en(e,"options_removed_enable_sourcemap","The `enableSourcemap` option has been removed. Source maps are always generated now, and tooling can choose to ignore them\nhttps://svelte.dev/e/options_removed_enable_sourcemap")}function L2(e){en(e,"options_removed_hydratable","The `hydratable` option has been removed. Svelte components are always hydratable now\nhttps://svelte.dev/e/options_removed_hydratable")}function F2(e){en(e,"options_removed_loop_guard_timeout","The `loopGuardTimeout` option has been removed\nhttps://svelte.dev/e/options_removed_loop_guard_timeout")}function j2(e){en(e,"options_renamed_ssr_dom",'`generate: "dom"` and `generate: "ssr"` options have been renamed to "client" and "server" respectively\nhttps://svelte.dev/e/options_renamed_ssr_dom')}function Fw(e,t,r){en(e,"element_implicitly_closed",`This element is implicitly closed by the following \`${t}\`, which can cause an unexpected DOM structure. Add an explicit \`${r}\` to avoid surprises.
https://svelte.dev/e/element_implicitly_closed`)}function q2(e){en(e,"script_unknown_attribute","Unrecognized attribute \u2014 should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it\nhttps://svelte.dev/e/script_unknown_attribute")}function M2(e){en(e,"svelte_element_invalid_this","`this` should be an `{expression}`. Using a string attribute value will cause an error in future versions of Svelte\nhttps://svelte.dev/e/svelte_element_invalid_this")}var DW=/^\s*svelte-ignore\s/,B2={"non-top-level-reactive-declaration":"reactive_declaration_invalid_placement","module-script-reactive-declaration":"reactive_declaration_module_script","empty-block":"block_empty","avoid-is":"attribute_avoid_is","invalid-html-attribute":"attribute_invalid_property_name","a11y-structure":"a11y_figcaption_parent","illegal-attribute-character":"attribute_illegal_colon","invalid-rest-eachblock-binding":"bind_invalid_each_rest","unused-export-let":"export_let_unused"},El=P2.concat(T2);function Hp(e,t,r){let i=DW.exec(t);if(!i)return[];let n=i[0].length;e+=n;let s=[];if(r)for(let a of t.slice(n).matchAll(/([\w$-]+)(,)?/gm)){let l=a[1];if(El.includes(l))s.push(l);else{let u=B2[l]??l.replace(/-/g,"_"),p=e+a.index,f=p+l.length;if(El.includes(u))R2({start:p,end:f},l,u);else{let h=yl(l,El);N2({start:p,end:f},l,h)}}if(!a[2])break}else for(let a of t.slice(n).matchAll(/[\w$-]+/gm)){let l=a[0];if(s.push(l),!El.includes(l)){let u=B2[l]??l.replace(/-/g,"_");El.includes(u)&&s.push(u)}}return s}function ss(e){let t=e.at(0),r=e.at(-1);t?.type==="Text"&&(oa.test(t.data)?t.data=t.data.replace(kw,""):e.shift()),r?.type==="Text"&&(oa.test(r.data)?r.data=r.data.replace(ww,""):e.pop())}function z2(e,t){return mt(t,null,{_(i,{next:n}){delete i.metadata,n()},Root(i,{visit:n}){let{instance:s,module:a,options:l}=i;if(l?.__raw__){let f=i.fragment.nodes.findIndex(h=>l.end<=h.start);f===-1&&(f=i.fragment.nodes.length),i.fragment.nodes.splice(f,0,l.__raw__)}let u=null,p=null;if(i.fragment.nodes.length>0){let f=i.fragment.nodes.at(0),h=i.fragment.nodes.at(-1);for(u=f.start,p=h.end;/\s/.test(e[u]);)u+=1;for(;/\s/.test(e[p-1]);)p-=1}return s&&delete s.attributes,a&&delete a.attributes,{html:{type:"Fragment",start:u,end:p,children:i.fragment.nodes.map(f=>n(f))},instance:s,module:a,css:t.css?n(t.css):void 0}},AnimateDirective(i){return{...i,type:"Animation"}},AwaitBlock(i,{visit:n}){let s={type:"PendingBlock",start:null,end:null,children:i.pending?.nodes.map(u=>n(u))??[],skip:!0},a={type:"ThenBlock",start:null,end:null,children:i.then?.nodes.map(u=>n(u))??[],skip:!0},l={type:"CatchBlock",start:null,end:null,children:i.catch?.nodes.map(u=>n(u))??[],skip:!0};if(i.pending){let u=i.pending.nodes.at(0),p=i.pending.nodes.at(-1);s.start=u?.start??e.indexOf("}",i.expression.end)+1,s.end=p?.end??s.start,s.skip=!1}if(i.then){let u=i.then.nodes.at(0),p=i.then.nodes.at(-1);a.start=s.end??u?.start??e.indexOf("}",i.expression.end)+1,a.end=p?.end??e.lastIndexOf("}",s.end??i.expression.end)+1,a.skip=!1}if(i.catch){let u=i.catch.nodes.at(0),p=i.catch.nodes.at(-1);l.start=a.end??s.end??u?.start??e.indexOf("}",i.expression.end)+1,l.end=p?.end??e.lastIndexOf("}",a.end??s.end??i.expression.end)+1,l.skip=!1}return{type:"AwaitBlock",start:i.start,end:i.end,expression:i.expression,value:i.value,error:i.error,pending:s,then:a,catch:l}},BindDirective(i){return{...i,type:"Binding"}},ClassDirective(i){return{...i,type:"Class"}},Comment(i){return{...i,ignores:Hp(i.start,i.data,!1)}},ComplexSelector(i,{next:n}){n();let s=[];for(let a of i.children)a.combinator&&s.push(a.combinator),s.push(...a.selectors);return{type:"Selector",start:i.start,end:i.end,children:s}},Component(i,{visit:n}){return{type:"InlineComponent",start:i.start,end:i.end,name:i.name,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},ConstTag(i){if(i.expression!==void 0)return i;let n=i,{id:s}={...n.declaration.declarations[0]};return delete s.typeAnnotation,{type:"ConstTag",start:n.start,end:i.end,expression:{type:"AssignmentExpression",start:(n.declaration.start??0)+6,end:n.declaration.end??0,operator:"=",left:s,right:n.declaration.declarations[0].init}}},KeyBlock(i,{visit:n}){return ss(i.fragment.nodes),{type:"KeyBlock",start:i.start,end:i.end,expression:i.expression,children:i.fragment.nodes.map(s=>n(s))}},EachBlock(i,{visit:n}){let s;if(i.fallback){let a=i.fallback.nodes.at(0),l=e.lastIndexOf("{",i.end-1),u=a?.start??l;ss(i.fallback.nodes),s={type:"ElseBlock",start:u,end:l,children:i.fallback.nodes.map(p=>n(p))}}return ss(i.body.nodes),{type:"EachBlock",start:i.start,end:i.end,children:i.body.nodes.map(a=>n(a)),context:i.context,expression:i.expression,index:i.index,key:i.key,else:s}},ExpressionTag(i,{path:n}){let s=n.at(-1);return s?.type==="Attribute"&&e[s.start]==="{"?{type:"AttributeShorthand",start:i.start,end:i.end,expression:i.expression}:{type:"MustacheTag",start:i.start,end:i.end,expression:i.expression}},HtmlTag(i){return{...i,type:"RawMustacheTag"}},IfBlock(i,{visit:n}){let s;if(i.alternate){let l=i.alternate.nodes;l.length===1&&l[0].type==="IfBlock"&&l[0].elseif&&(l=l[0].consequent.nodes);let u=e.lastIndexOf("{",i.end-1),p=l.at(0)?.start??u;ss(i.alternate.nodes),s={type:"ElseBlock",start:p,end:u,children:i.alternate.nodes.map(f=>n(f))}}let a=i.elseif?i.consequent.nodes[0]?.start??e.lastIndexOf("{",i.end-1):i.start;return ss(i.consequent.nodes),{type:"IfBlock",start:a,end:i.end,expression:i.test,children:i.consequent.nodes.map(l=>n(l)),else:s,elseif:i.elseif?!0:void 0}},OnDirective(i){return{...i,type:"EventHandler"}},SnippetBlock(i,{visit:n}){return ss(i.body.nodes),{type:"SnippetBlock",start:i.start,end:i.end,expression:i.expression,parameters:i.parameters,children:i.body.nodes.map(s=>n(s)),typeParams:i.typeParams}},SvelteBoundary(i,{visit:n}){return ss(i.fragment.nodes),{type:"SvelteBoundary",name:"svelte:boundary",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},RegularElement(i,{visit:n}){return{type:"Element",start:i.start,end:i.end,name:i.name,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SlotElement(i,{visit:n}){return{type:"Slot",start:i.start,end:i.end,name:i.name,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},Attribute(i,{visit:n,next:s,path:a}){if(i.value!==!0&&!Array.isArray(i.value)){a.push(i);let l=[n(i.value)];return a.pop(),{...i,value:l}}else return s()},StyleDirective(i,{visit:n,next:s,path:a}){if(i.value!==!0&&!Array.isArray(i.value)){a.push(i);let l=[n(i.value)];return a.pop(),{...i,value:l}}else return s()},SpreadAttribute(i){return{...i,type:"Spread"}},StyleSheet(i,n){return{...i,...n.next(),type:"Style"}},SvelteBody(i,{visit:n}){return{type:"Body",name:"svelte:body",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SvelteComponent(i,{visit:n}){return{type:"InlineComponent",name:"svelte:component",start:i.start,end:i.end,expression:i.expression,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SvelteDocument(i,{visit:n}){return{type:"Document",name:"svelte:document",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SvelteElement(i,{visit:n}){let s=i.tag;return s.type==="Literal"&&typeof s.value=="string"&&e[i.tag.start-1]!=="{"&&(s=s.value),{type:"Element",name:"svelte:element",start:i.start,end:i.end,tag:s,attributes:i.attributes.map(a=>n(a)),children:i.fragment.nodes.map(a=>n(a))}},SvelteFragment(i,{visit:n}){return{type:"SlotTemplate",name:"svelte:fragment",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SvelteHead(i,{visit:n}){return{type:"Head",name:"svelte:head",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SvelteOptions(i,{visit:n}){return{type:"Options",name:"svelte:options",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s))}},SvelteSelf(i,{visit:n}){return{type:"InlineComponent",name:"svelte:self",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},SvelteWindow(i,{visit:n}){return{type:"Window",name:"svelte:window",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},Text(i,{path:n}){let s=n.at(-1);if(s?.type==="RegularElement"&&s.name==="style")return{type:"Text",start:i.start,end:i.end,data:i.data}},TitleElement(i,{visit:n}){return{type:"Title",name:"title",start:i.start,end:i.end,attributes:i.attributes.map(s=>n(s)),children:i.fragment.nodes.map(s=>n(s))}},TransitionDirective(i){return{...i,type:"Transition"}},UseDirective(i){return{...i,type:"Action"}},LetDirective(i){return{...i,type:"Let"}}})}var Al={};An(Al,{Node:()=>Tl,Parser:()=>Ye,Position:()=>ua,SourceLocation:()=>Sl,TokContext:()=>Mt,Token:()=>rd,TokenType:()=>Ie,defaultOptions:()=>Wp,getLineInfo:()=>Hw,isIdentifierChar:()=>tn,isIdentifierStart:()=>$r,isNewLine:()=>os,keywordTypes:()=>as,lineBreak:()=>Jt,lineBreakG:()=>X2,nonASCIIwhitespace:()=>Vw,parse:()=>lG,parseExpressionAt:()=>uG,tokContexts:()=>ut,tokTypes:()=>y,tokenizer:()=>cG,version:()=>$P});var CW=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],G2=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],SW="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",K2="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",jw={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},qw="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",$W={5:qw,"5module":qw+" export import",6:qw+" const class extends export import super"},TW=/^in(stanceof)?$/,IW=new RegExp("["+K2+"]"),AW=new RegExp("["+K2+SW+"]");function Bw(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function $r(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&IW.test(String.fromCharCode(e)):t===!1?!1:Bw(e,G2)}function tn(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&AW.test(String.fromCharCode(e)):t===!1?!1:Bw(e,G2)||Bw(e,CW)}var Ie=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function qr(e,t){return new Ie(e,{beforeExpr:!0,binop:t})}var Mr={beforeExpr:!0},fr={startsExpr:!0},as={};function Be(e,t){return t===void 0&&(t={}),t.keyword=e,as[e]=new Ie(e,t)}var y={num:new Ie("num",fr),regexp:new Ie("regexp",fr),string:new Ie("string",fr),name:new Ie("name",fr),privateId:new Ie("privateId",fr),eof:new Ie("eof"),bracketL:new Ie("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Ie("]"),braceL:new Ie("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Ie("}"),parenL:new Ie("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Ie(")"),comma:new Ie(",",Mr),semi:new Ie(";",Mr),colon:new Ie(":",Mr),dot:new Ie("."),question:new Ie("?",Mr),questionDot:new Ie("?."),arrow:new Ie("=>",Mr),template:new Ie("template"),invalidTemplate:new Ie("invalidTemplate"),ellipsis:new Ie("...",Mr),backQuote:new Ie("`",fr),dollarBraceL:new Ie("${",{beforeExpr:!0,startsExpr:!0}),eq:new Ie("=",{beforeExpr:!0,isAssign:!0}),assign:new Ie("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Ie("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Ie("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:qr("||",1),logicalAND:qr("&&",2),bitwiseOR:qr("|",3),bitwiseXOR:qr("^",4),bitwiseAND:qr("&",5),equality:qr("==/!=/===/!==",6),relational:qr("</>/<=/>=",7),bitShift:qr("<</>>/>>>",8),plusMin:new Ie("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:qr("%",10),star:qr("*",10),slash:qr("/",10),starstar:new Ie("**",{beforeExpr:!0}),coalesce:qr("??",1),_break:Be("break"),_case:Be("case",Mr),_catch:Be("catch"),_continue:Be("continue"),_debugger:Be("debugger"),_default:Be("default",Mr),_do:Be("do",{isLoop:!0,beforeExpr:!0}),_else:Be("else",Mr),_finally:Be("finally"),_for:Be("for",{isLoop:!0}),_function:Be("function",fr),_if:Be("if"),_return:Be("return",Mr),_switch:Be("switch"),_throw:Be("throw",Mr),_try:Be("try"),_var:Be("var"),_const:Be("const"),_while:Be("while",{isLoop:!0}),_with:Be("with"),_new:Be("new",{beforeExpr:!0,startsExpr:!0}),_this:Be("this",fr),_super:Be("super",fr),_class:Be("class",fr),_extends:Be("extends",Mr),_export:Be("export"),_import:Be("import",fr),_null:Be("null",fr),_true:Be("true",fr),_false:Be("false",fr),_in:Be("in",{beforeExpr:!0,binop:7}),_instanceof:Be("instanceof",{beforeExpr:!0,binop:7}),_typeof:Be("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Be("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Be("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Jt=/\r\n?|\n|\u2028|\u2029/,X2=new RegExp(Jt.source,"g");function os(e){return e===10||e===13||e===8232||e===8233}function J2(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var n=e.charCodeAt(i);if(os(n))return i<r-1&&n===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var Vw=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Bt=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Y2=Object.prototype,PW=Y2.hasOwnProperty,RW=Y2.toString,ca=Object.hasOwn||function(e,t){return PW.call(e,t)},U2=Array.isArray||function(e){return RW.call(e)==="[object Array]"},V2=Object.create(null);function Ci(e){return V2[e]||(V2[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function Xn(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var NW=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,ua=function(t,r){this.line=t,this.column=r};ua.prototype.offset=function(t){return new ua(this.line,this.column+t)};var Sl=function(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function Hw(e,t){for(var r=1,i=0;;){var n=J2(e,i,t);if(n<0)return new ua(r,t-i);++r,i=n}}var Wp={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},H2=!1;function OW(e){var t={};for(var r in Wp)t[r]=e&&ca(e,r)?e[r]:Wp[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!H2&&typeof console=="object"&&console.warn&&(H2=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),U2(t.onToken)){var i=t.onToken;t.onToken=function(n){return i.push(n)}}return U2(t.onComment)&&(t.onComment=LW(t,t.onComment)),t}function LW(e,t){return function(r,i,n,s,a,l){var u={type:r?"Block":"Line",value:i,start:n,end:s};e.locations&&(u.loc=new Sl(this,a,l)),e.ranges&&(u.range=[n,s]),t.push(u)}}var Cl=1,pa=2,Zw=4,Q2=8,Ww=16,eP=32,Yp=64,tP=128,ls=256,$l=512,Qp=Cl|pa|ls;function Gw(e,t){return pa|(e?Zw:0)|(t?Q2:0)}var Gp=0,Kw=1,Yn=2,rP=3,nP=4,iP=5,Ye=function(t,r,i){this.options=t=OW(t),this.sourceFile=t.sourceFile,this.keywords=Ci($W[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var n="";t.allowReserved!==!0&&(n=jw[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(n+=" await")),this.reservedWords=Ci(n);var s=(n?n+" ":"")+jw.strict;this.reservedWordsStrict=Ci(s),this.reservedWordsStrictBind=Ci(s+" "+jw.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf(`
`,i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Jt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Cl),this.regexpState=null,this.privateNameStack=[]},_n={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Ye.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};_n.inFunction.get=function(){return(this.currentVarScope().flags&pa)>0};_n.inGenerator.get=function(){return(this.currentVarScope().flags&Q2)>0};_n.inAsync.get=function(){return(this.currentVarScope().flags&Zw)>0};_n.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(ls|$l))return!1;if(r&pa)return(r&Zw)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};_n.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Yp)>0||this.options.allowSuperOutsideMethod};_n.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tP)>0};_n.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};_n.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(ls|$l)||r&pa&&!(r&Ww))return!0}return!1};_n.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&ls)>0};Ye.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,n=0;n<t.length;n++)i=t[n](i);return i};Ye.parse=function(t,r){return new this(r,t).parse()};Ye.parseExpressionAt=function(t,r,i){var n=new this(i,t,r);return n.nextToken(),n.parseExpression()};Ye.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(Ye.prototype,_n);var Yt=Ye.prototype,FW=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Yt.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Bt.lastIndex=e,e+=Bt.exec(this.input)[0].length;var t=FW.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Bt.lastIndex=e+t[0].length;var r=Bt.exec(this.input),i=r.index+r[0].length,n=this.input.charAt(i);return n===";"||n==="}"||Jt.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(n)||n==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Bt.lastIndex=e,e+=Bt.exec(this.input)[0].length,this.input[e]===";"&&e++}};Yt.eat=function(e){return this.type===e?(this.next(),!0):!1};Yt.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc};Yt.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};Yt.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};Yt.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||Jt.test(this.input.slice(this.lastTokEnd,this.start))};Yt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};Yt.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()};Yt.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};Yt.expect=function(e){this.eat(e)||this.unexpected()};Yt.unexpected=function(e){this.raise(e??this.start,"Unexpected token")};var ed=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Yt.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}};Yt.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")};Yt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")};Yt.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var pe=Ye.prototype;pe.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==y.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var s=n[i];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Xw={kind:"loop"},jW={kind:"switch"};pe.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Bt.lastIndex=this.pos;var t=Bt.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123||i>55295&&i<56320)return!0;if($r(i,!0)){for(var n=r+1;tn(i=this.input.charCodeAt(n),!0);)++n;if(i===92||i>55295&&i<56320)return!0;var s=this.input.slice(r,n);if(!TW.test(s))return!0}return!1};pe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Bt.lastIndex=this.pos;var e=Bt.exec(this.input),t=this.pos+e[0].length,r;return!Jt.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(tn(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};pe.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;Bt.lastIndex=this.pos;var r=Bt.exec(this.input),i=this.pos+r[0].length;if(Jt.test(this.input.slice(this.pos,i)))return!1;if(e){var n=i+5,s;if(this.input.slice(i,n)!=="using"||n===this.input.length||tn(s=this.input.charCodeAt(n))||s>55295&&s<56320)return!1;Bt.lastIndex=n;var a=Bt.exec(this.input);if(a&&Jt.test(this.input.slice(n,n+a[0].length)))return!1}if(t){var l=i+2,u;if(this.input.slice(i,l)==="of"&&(l===this.input.length||!tn(u=this.input.charCodeAt(l))&&!(u>55295&&u<56320)))return!1}var p=this.input.charCodeAt(i);return $r(p,!0)||p===92};pe.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};pe.isUsing=function(e){return this.isUsingKeyword(!1,e)};pe.parseStatement=function(e,t,r){var i=this.type,n=this.startNode(),s;switch(this.isLet(e)&&(i=y._var,s="let"),i){case y._break:case y._continue:return this.parseBreakContinueStatement(n,i.keyword);case y._debugger:return this.parseDebuggerStatement(n);case y._do:return this.parseDoStatement(n);case y._for:return this.parseForStatement(n);case y._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(n,!1,!e);case y._class:return e&&this.unexpected(),this.parseClass(n,!0);case y._if:return this.parseIfStatement(n);case y._return:return this.parseReturnStatement(n);case y._switch:return this.parseSwitchStatement(n);case y._throw:return this.parseThrowStatement(n);case y._try:return this.parseTryStatement(n);case y._const:case y._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(n,s);case y._while:return this.parseWhileStatement(n);case y._with:return this.parseWithStatement(n);case y.braceL:return this.parseBlock(!0,n);case y.semi:return this.parseEmptyStatement(n);case y._export:case y._import:if(this.options.ecmaVersion>10&&i===y._import){Bt.lastIndex=this.pos;var a=Bt.exec(this.input),l=this.pos+a[0].length,u=this.input.charCodeAt(l);if(u===40||u===46)return this.parseExpressionStatement(n,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===y._import?this.parseImport(n):this.parseExport(n,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(n,!0,!e);var p=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(p)return t&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),p==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(n,!1,p),this.semicolon(),this.finishNode(n,"VariableDeclaration");var f=this.value,h=this.parseExpression();return i===y.name&&h.type==="Identifier"&&this.eat(y.colon)?this.parseLabeledStatement(n,f,h,e):this.parseExpressionStatement(n,h)}};pe.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type!==y.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if((e.label==null||n.name===e.label.name)&&(n.kind!=null&&(r||n.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};pe.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};pe.parseDoStatement=function(e){return this.next(),this.labels.push(Xw),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};pe.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Xw),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===y._var||this.type===y._const||r){var i=this.startNode(),n=r?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),this.parseForAfterInit(e,i,t)}var s=this.isContextual("let"),a=!1,l=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(l){var u=this.startNode();return this.next(),l==="await using"&&this.next(),this.parseVar(u,!0,l),this.finishNode(u,"VariableDeclaration"),this.parseForAfterInit(e,u,t)}var p=this.containsEsc,f=new ed,h=this.start,_=t>-1?this.parseExprSubscripts(f,"await"):this.parseExpression(!0,f);return this.type===y._in||(a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===y._in&&this.unexpected(t),e.await=!0):a&&this.options.ecmaVersion>=8&&(_.start===h&&!p&&_.type==="Identifier"&&_.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),s&&a&&this.raise(_.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(_,!1,f),this.checkLValPattern(_),this.parseForIn(e,_)):(this.checkExpressionErrors(f,!0),t>-1&&this.unexpected(t),this.parseFor(e,_))};pe.parseForAfterInit=function(e,t,r){return(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&t.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?r>-1&&this.unexpected(r):e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))};pe.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Dl|(r?0:zw),!1,t)};pe.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};pe.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};pe.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(jW),this.enterScope(0);for(var t,r=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var i=this.type===y._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};pe.parseThrowStatement=function(e){return this.next(),Jt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var qW=[];pe.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?eP:0),this.checkLValPattern(e,t?nP:Yn),this.expect(y.parenR),e};pe.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();this.next(),this.eat(y.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};pe.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};pe.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Xw),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};pe.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};pe.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};pe.parseLabeledStatement=function(e,t,r,i){for(var n=0,s=this.labels;n<s.length;n+=1){var a=s[n];a.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var l=this.type.isLoop?"loop":this.type===y._switch?"switch":null,u=this.labels.length-1;u>=0;u--){var p=this.labels[u];if(p.statementStart===e.start)p.statementStart=this.start,p.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};pe.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};pe.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(y.braceL),e&&this.enterScope(0);this.type!==y.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};pe.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};pe.parseForIn=function(e,t){var r=this.type===y._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};pe.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(y.eq)?n.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&(r==="using"||r==="await using")&&this.options.ecmaVersion>=17&&this.type!==y._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):!i&&n.id.type!=="Identifier"&&!(t&&(this.type===y._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(y.comma))break}return e};pe.parseVarId=function(e,t){e.id=t==="using"||t==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Kw:Yn,!1)};var Dl=1,zw=2,sP=4;pe.parseFunction=function(e,t,r,i,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===y.star&&t&zw&&this.unexpected(),e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Dl&&(e.id=t&sP&&this.type!==y.name?null:this.parseIdent(),e.id&&!(t&zw)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Kw:Yn:rP));var s=this.yieldPos,a=this.awaitPos,l=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Gw(e.async,e.generator)),t&Dl||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,n),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=l,this.finishNode(e,t&Dl?"FunctionDeclaration":"FunctionExpression")};pe.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};pe.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),n=this.startNode(),s=!1;for(n.body=[],this.expect(y.braceL);this.type!==y.braceR;){var a=this.parseClassElement(e.superClass!==null);a&&(n.body.push(a),a.type==="MethodDefinition"&&a.kind==="constructor"?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&a.key.type==="PrivateIdentifier"&&MW(i,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};pe.parseClassElement=function(e){if(this.eat(y.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",n=!1,s=!1,a="method",l=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===y.star?l=!0:i="static"}if(r.static=l,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?s=!0:i="async"),!i&&(t>=9||!s)&&this.eat(y.star)&&(n=!0),!i&&!s&&!n){var u=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=u:i=u)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===y.parenL||a!=="method"||n||s){var p=!r.static&&Kp(r,"constructor"),f=p&&e;p&&a!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=p?"constructor":a,this.parseClassMethod(r,n,s,f)}else this.parseClassField(r);return r};pe.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword};pe.parseClassElementName=function(e){this.type===y.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};pe.parseClassMethod=function(e,t,r,i){var n=e.key;e.kind==="constructor"?(t&&this.raise(n.start,"Constructor can't be a generator"),r&&this.raise(n.start,"Constructor can't be an async method")):e.static&&Kp(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),e.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),e.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};pe.parseClassField=function(e){return Kp(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Kp(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)?(this.enterScope($l|Yp),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};pe.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(ls|Yp);this.type!==y.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};pe.parseClassId=function(e,t){this.type===y.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Yn,!1)):(t===!0&&this.unexpected(),e.id=null)};pe.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts(null,!1):null};pe.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};pe.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,n=i===0?null:this.privateNameStack[i-1],s=0;s<r.length;++s){var a=r[s];ca(t,a.name)||(n?n.used.push(a):this.raiseRecoverable(a.start,"Private field '#"+a.name+"' must be declared in an enclosing class"))}};function MW(e,t){var r=t.key.name,i=e[r],n="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(n=(t.static?"s":"i")+t.kind),i==="iget"&&n==="iset"||i==="iset"&&n==="iget"||i==="sget"&&n==="sset"||i==="sset"&&n==="sget"?(e[r]="true",!1):i?!0:(e[r]=n,!1)}function Kp(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}pe.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};pe.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.parseExportAllDeclaration(e,t);if(this.eat(y._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var n=i[r];this.checkUnreserved(n.local),this.checkLocalExport(n.local),n.local.type==="Literal"&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};pe.parseExportDeclaration=function(e){return this.parseStatement(null)};pe.parseExportDefaultDeclaration=function(){var e;if(this.type===y._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Dl|sP,!1,e)}else if(this.type===y._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}};pe.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),ca(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};pe.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,n=t.properties;i<n.length;i+=1){var s=n[i];this.checkPatternExport(e,s)}else if(r==="ArrayPattern")for(var a=0,l=t.elements;a<l.length;a+=1){var u=l[a];u&&this.checkPatternExport(e,u)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};pe.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var n=i[r];this.checkPatternExport(e,n.id)}};pe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};pe.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};pe.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;t.push(this.parseExportSpecifier(e))}return t};pe.parseImport=function(e){return this.next(),this.type===y.string?(e.specifiers=qW,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};pe.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Yn),this.finishNode(e,"ImportSpecifier")};pe.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Yn),this.finishNode(e,"ImportDefaultSpecifier")};pe.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,Yn),this.finishNode(e,"ImportNamespaceSpecifier")};pe.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===y.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(y.comma)))return e;if(this.type===y.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(y.braceL);!this.eat(y.braceR);){if(t)t=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;e.push(this.parseImportSpecifier())}return e};pe.parseWithClause=function(){var e=[];if(!this.eat(y._with))return e;this.expect(y.braceL);for(var t={},r=!0;!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var i=this.parseImportAttribute(),n=i.key.type==="Identifier"?i.key.name:i.key.value;ca(t,n)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+n+"'"),t[n]=!0,e.push(i)}return e};pe.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(y.colon),this.type!==y.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};pe.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var e=this.parseLiteral(this.value);return NW.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};pe.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)};pe.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var zr=Ye.prototype;zr.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};zr.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var n=e[i];n&&this.toAssignable(n,t)}if(r){var s=e[r-1];this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"&&this.unexpected(s.argument.start)}return e};zr.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};zr.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==y.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};zr.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case y.braceL:return this.parseObj(!0)}return this.parseIdent()};zr.parseBindingList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(y.comma),t&&this.type===y.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===y.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else n.push(this.parseAssignableListItem(i))}return n};zr.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};zr.parseBindingListItem=function(e){return e};zr.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")};zr.checkLValSimple=function(e,t,r){t===void 0&&(t=Gp);var i=t!==Gp;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===Yn&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(ca(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==iP&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}};zr.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=Gp),e.type){case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var a=0,l=e.elements;a<l.length;a+=1){var u=l[a];u&&this.checkLValInnerPattern(u,t,r)}break;default:this.checkLValSimple(e,t,r)}};zr.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=Gp),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Mt=function(t,r,i,n,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=n,this.generator=!!s},ut={b_stat:new Mt("{",!1),b_expr:new Mt("{",!0),b_tmpl:new Mt("${",!1),p_stat:new Mt("(",!1),p_expr:new Mt("(",!0),q_tmpl:new Mt("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Mt("function",!1),f_expr:new Mt("function",!0),f_expr_gen:new Mt("function",!0,!1,null,!0),f_gen:new Mt("function",!1,!1,null,!0)},da=Ye.prototype;da.initialContext=function(){return[ut.b_stat]};da.curContext=function(){return this.context[this.context.length-1]};da.braceIsBlock=function(e){var t=this.curContext();return t===ut.f_expr||t===ut.f_stat?!0:e===y.colon&&(t===ut.b_stat||t===ut.b_expr)?!t.isExpr:e===y._return||e===y.name&&this.exprAllowed?Jt.test(this.input.slice(this.lastTokEnd,this.start)):e===y._else||e===y.semi||e===y.eof||e===y.parenR||e===y.arrow?!0:e===y.braceL?t===ut.b_stat:e===y._var||e===y._const||e===y.name?!1:!this.exprAllowed};da.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};da.updateContext=function(e){var t,r=this.type;r.keyword&&e===y.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};da.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ut.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ut.b_stat:ut.b_expr),this.exprAllowed=!0};y.dollarBraceL.updateContext=function(){this.context.push(ut.b_tmpl),this.exprAllowed=!0};y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?ut.p_stat:ut.p_expr),this.exprAllowed=!0};y.incDec.updateContext=function(){};y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y._else&&!(e===y.semi&&this.curContext()!==ut.p_stat)&&!(e===y._return&&Jt.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===y.colon||e===y.braceL)&&this.curContext()===ut.b_stat)?this.context.push(ut.f_expr):this.context.push(ut.f_stat),this.exprAllowed=!1};y.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};y.backQuote.updateContext=function(){this.curContext()===ut.q_tmpl?this.context.pop():this.context.push(ut.q_tmpl),this.exprAllowed=!1};y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===ut.f_expr?this.context[t]=ut.f_expr_gen:this.context[t]=ut.f_gen}this.exprAllowed=!0};y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var Ee=Ye.prototype;Ee.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,n;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){n==="__proto__"&&s==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var a=t[n];if(a){var l;s==="init"?l=this.strict&&a.init||a.get||a.set:l=a.init||a[s],l&&this.raiseRecoverable(i.start,"Redefinition of property")}else a=t[n]={init:!1,get:!1,set:!1};a[s]=!0}};Ee.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===y.comma){var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(y.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return n};Ee.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,n=-1,s=-1,a=-1;t?(n=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new ed,i=!0);var l=this.start,u=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var p=this.parseMaybeConditional(e,t);if(r&&(p=r.call(this,p,l,u)),this.type.isAssign){var f=this.startNodeAt(l,u);return f.operator=this.value,this.type===y.eq&&(p=this.toAssignable(p,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=p.start&&(t.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(p):this.checkLValSimple(p),f.left=p,this.next(),f.right=this.parseMaybeAssign(e),a>-1&&(t.doubleProto=a),this.finishNode(f,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return n>-1&&(t.parenthesizedAssign=n),s>-1&&(t.trailingComma=s),p};Ee.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(y.question)){var s=this.startNodeAt(r,i);return s.test=n,s.consequent=this.parseMaybeAssign(),this.expect(y.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return n};Ee.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||n.start===r&&n.type==="ArrowFunctionExpression"?n:this.parseExprOp(n,r,i,-1,e)};Ee.parseExprOp=function(e,t,r,i,n){var s=this.type.binop;if(s!=null&&(!n||this.type!==y._in)&&s>i){var a=this.type===y.logicalOR||this.type===y.logicalAND,l=this.type===y.coalesce;l&&(s=y.logicalAND.binop);var u=this.value;this.next();var p=this.start,f=this.startLoc,h=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),p,f,s,n),_=this.buildBinary(t,r,e,h,u,a||l);return(a&&this.type===y.coalesce||l&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(_,t,r,i,n)}return e};Ee.buildBinary=function(e,t,r,i,n,s){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var a=this.startNodeAt(e,t);return a.left=r,a.operator=n,a.right=i,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")};Ee.parseMaybeUnary=function(e,t,r,i){var n=this.start,s=this.startLoc,a;if(this.isContextual("await")&&this.canAwait)a=this.parseAwait(i),t=!0;else if(this.type.prefix){var l=this.startNode(),u=this.type===y.incDec;l.operator=this.value,l.prefix=!0,this.next(),l.argument=this.parseMaybeUnary(null,!0,u,i),this.checkExpressionErrors(e,!0),u?this.checkLValSimple(l.argument):this.strict&&l.operator==="delete"&&aP(l.argument)?this.raiseRecoverable(l.start,"Deleting local variable in strict mode"):l.operator==="delete"&&Uw(l.argument)?this.raiseRecoverable(l.start,"Private fields can not be deleted"):t=!0,a=this.finishNode(l,u?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===y.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),a=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();else{if(a=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return a;for(;this.type.postfix&&!this.canInsertSemicolon();){var p=this.startNodeAt(n,s);p.operator=this.value,p.prefix=!1,p.argument=a,this.checkLValSimple(a),this.next(),a=this.finishNode(p,"UpdateExpression")}}if(!r&&this.eat(y.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(n,s,a,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return a};function aP(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&aP(e.expression)}function Uw(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&Uw(e.expression)||e.type==="ParenthesizedExpression"&&Uw(e.expression)}Ee.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprAtom(e,t);if(n.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return n;var s=this.parseSubscripts(n,r,i,!1,t);return e&&s.type==="MemberExpression"&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s};Ee.parseSubscripts=function(e,t,r,i,n){for(var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,a=!1;;){var l=this.parseSubscript(e,t,r,i,s,a,n);if(l.optional&&(a=!0),l===e||l.type==="ArrowFunctionExpression"){if(a){var u=this.startNodeAt(t,r);u.expression=l,l=this.finishNode(u,"ChainExpression")}return l}e=l}};Ee.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(y.arrow)};Ee.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)};Ee.parseSubscript=function(e,t,r,i,n,s,a){var l=this.options.ecmaVersion>=11,u=l&&this.eat(y.questionDot);i&&u&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var p=this.eat(y.bracketL);if(p||u&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var f=this.startNodeAt(t,r);f.object=e,p?(f.property=this.parseExpression(),this.expect(y.bracketR)):this.type===y.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!p,l&&(f.optional=u),e=this.finishNode(f,"MemberExpression")}else if(!i&&this.eat(y.parenL)){var h=new ed,_=this.yieldPos,g=this.awaitPos,b=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var E=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,h);if(n&&!u&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=_,this.awaitPos=g,this.awaitIdentPos=b,this.parseSubscriptAsyncArrow(t,r,E,a);this.checkExpressionErrors(h,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=g||this.awaitPos,this.awaitIdentPos=b||this.awaitIdentPos;var C=this.startNodeAt(t,r);C.callee=e,C.arguments=E,l&&(C.optional=u),e=this.finishNode(C,"CallExpression")}else if(this.type===y.backQuote){(u||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var T=this.startNodeAt(t,r);T.tag=e,T.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(T,"TaggedTemplateExpression")}return e};Ee.parseExprAtom=function(e,t,r){this.type===y.slash&&this.readRegexp();var i,n=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(i,"Super");case y._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case y.name:var s=this.start,a=this.startLoc,l=this.containsEsc,u=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!l&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(ut.f_expr),this.parseFunction(this.startNodeAt(s,a),0,!1,!0,t);if(n&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(s,a),[u],!1,t);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===y.name&&!l&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,a),[u],!0,t)}return u;case y.regexp:var p=this.value;return i=this.parseLiteral(p.value),i.regex={pattern:p.pattern,flags:p.flags},i;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return i=this.startNode(),i.value=this.type===y._null?null:this.type===y._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case y.parenL:var f=this.start,h=this.parseParenAndDistinguishExpression(n,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),h;case y.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case y.braceL:return this.overrideContext(ut.b_expr),this.parseObj(!1,e);case y._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};Ee.parseExprAtomDefault=function(){this.unexpected()};Ee.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===y.parenL&&!e)return this.parseDynamicImport(t);if(this.type===y.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};Ee.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(y.parenR)?e.options=null:(this.expect(y.comma),this.afterTrailingComma(y.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(y.parenR)||(this.expect(y.comma),this.afterTrailingComma(y.parenR)||this.unexpected())));else if(!this.eat(y.parenR)){var t=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};Ee.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};Ee.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.value!=null?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};Ee.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e};Ee.shouldParseArrow=function(e){return!this.canInsertSemicolon()};Ee.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a=this.start,l=this.startLoc,u=[],p=!0,f=!1,h=new ed,_=this.yieldPos,g=this.awaitPos,b;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;)if(p?p=!1:this.expect(y.comma),s&&this.afterTrailingComma(y.parenR,!0)){f=!0;break}else if(this.type===y.ellipsis){b=this.start,u.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else u.push(this.parseMaybeAssign(!1,h,this.parseParenItem));var E=this.lastTokEnd,C=this.lastTokEndLoc;if(this.expect(y.parenR),e&&this.shouldParseArrow(u)&&this.eat(y.arrow))return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=_,this.awaitPos=g,this.parseParenArrowList(r,i,u,t);(!u.length||f)&&this.unexpected(this.lastTokStart),b&&this.unexpected(b),this.checkExpressionErrors(h,!0),this.yieldPos=_||this.yieldPos,this.awaitPos=g||this.awaitPos,u.length>1?(n=this.startNodeAt(a,l),n.expressions=u,this.finishNodeAt(n,"SequenceExpression",E,C)):n=u[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var T=this.startNodeAt(r,i);return T.expression=n,this.finishNode(T,"ParenthesizedExpression")}else return n};Ee.parseParenItem=function(e){return e};Ee.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var BW=[];Ee.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===y.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,n,!0,!1),this.eat(y.parenL)?e.arguments=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):e.arguments=BW,this.finishNode(e,"NewExpression")};Ee.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,`
`),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
`),cooked:this.value},this.next(),r.tail=this.type===y.backQuote,this.finishNode(r,"TemplateElement")};Ee.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===y.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(y.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(y.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};Ee.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!Jt.test(this.input.slice(this.lastTokEnd,this.start))};Ee.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(y.braceR);){if(i)i=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,n,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};Ee.parseProperty=function(e,t){var r=this.startNode(),i,n,s,a;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===y.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,a=this.startLoc),e||(i=this.eat(y.star)));var l=this.containsEsc;return this.parsePropertyName(r),!e&&!l&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(n=!0,i=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(r)):n=!1,this.parsePropertyValue(r,e,i,n,s,a,t,l),this.finishNode(r,"Property")};Ee.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};Ee.parsePropertyValue=function(e,t,r,i,n,s,a,l){(r||i)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):this.options.ecmaVersion>=6&&this.type===y.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=n),t?e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key)):this.type===y.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};Ee.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};Ee.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};Ee.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Gw(t,i.generator)|Yp|(r?tP:0)),this.expect(y.parenL),i.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")};Ee.parseArrowExpression=function(e,t,r,i){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(Gw(r,!1)|Ww),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")};Ee.parseFunctionBody=function(e,t,r,i){var n=t&&this.type!==y.braceL,s=this.strict,a=!1;if(n)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var l=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||l)&&(a=this.strictDirective(this.end),a&&l&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var u=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,iP),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=u}this.exitScope()};Ee.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0};Ee.checkParams=function(e,t){for(var r=Object.create(null),i=0,n=e.params;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,Kw,t?null:r)}};Ee.parseExprList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(y.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===y.comma?a=null:this.type===y.ellipsis?(a=this.parseSpread(i),i&&this.type===y.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),n.push(a)}return n};Ee.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Qp)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var n=this.strict?this.reservedWordsStrict:this.reservedWords;n.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}};Ee.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};Ee.parseIdentNode=function(){var e=this.startNode();return this.type===y.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=y.name):this.unexpected(),e};Ee.parsePrivateIdent=function(){var e=this.startNode();return this.type===y.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};Ee.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(y.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};Ee.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Xp=Ye.prototype;Xp.raise=function(e,t){var r=Hw(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i};Xp.raiseRecoverable=Xp.raise;Xp.curPosition=function(){if(this.options.locations)return new ua(this.curLine,this.pos-this.lineStart)};var Si=Ye.prototype,zW=function(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};Si.enterScope=function(e){this.scopeStack.push(new zW(e))};Si.exitScope=function(){this.scopeStack.pop()};Si.treatFunctionsAsVarInScope=function(e){return e.flags&pa||!this.inModule&&e.flags&Cl};Si.declareName=function(e,t,r){var i=!1;if(t===Yn){var n=this.currentScope();i=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&n.flags&Cl&&delete this.undefinedExports[e]}else if(t===nP){var s=this.currentScope();s.lexical.push(e)}else if(t===rP){var a=this.currentScope();this.treatFunctionsAsVar?i=a.lexical.indexOf(e)>-1:i=a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var u=this.scopeStack[l];if(u.lexical.indexOf(e)>-1&&!(u.flags&eP&&u.lexical[0]===e)||!this.treatFunctionsAsVarInScope(u)&&u.functions.indexOf(e)>-1){i=!0;break}if(u.var.push(e),this.inModule&&u.flags&Cl&&delete this.undefinedExports[e],u.flags&Qp)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};Si.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};Si.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Si.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Qp|$l|ls))return t}};Si.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Qp|$l|ls)&&!(t.flags&Ww))return t}};var Tl=function(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Sl(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Il=Ye.prototype;Il.startNode=function(){return new Tl(this,this.start,this.startLoc)};Il.startNodeAt=function(e,t){return new Tl(this,e,t)};function oP(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}Il.finishNode=function(e,t){return oP.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Il.finishNodeAt=function(e,t,r,i){return oP.call(this,e,t,r,i)};Il.copyNode=function(e){var t=new Tl(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var UW="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",lP="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",uP=lP+" Extended_Pictographic",cP=uP,pP=cP+" EBase EComp EMod EPres ExtPict",dP=pP,VW=dP,HW={9:lP,10:uP,11:cP,12:pP,13:dP,14:VW},ZW="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",WW={9:"",10:"",11:"",12:"",13:"",14:ZW},Z2="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",fP="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",mP=fP+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",hP=mP+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",_P=hP+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",gP=_P+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",GW=gP+" "+UW,KW={9:fP,10:mP,11:hP,12:_P,13:gP,14:GW},bP={};function XW(e){var t=bP[e]={binary:Ci(HW[e]+" "+Z2),binaryOfStrings:Ci(WW[e]),nonBinary:{General_Category:Ci(Z2),Script:Ci(KW[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Zp=0,Mw=[9,10,11,12,13,14];Zp<Mw.length;Zp+=1)W2=Mw[Zp],XW(W2);var W2,Zp,Mw,ue=Ye.prototype,Jp=function(t,r){this.parent=t,this.base=r||this};Jp.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1};Jp.prototype.sibling=function(){return new Jp(this.parent,this.base)};var gn=function(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=bP[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};gn.prototype.reset=function(t,r,i){var n=i.indexOf("v")!==-1,s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)};gn.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};gn.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,n=i.length;if(t>=n)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=n)return s;var a=i.charCodeAt(t+1);return a>=56320&&a<=57343?(s<<10)+a-56613888:s};gn.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,n=i.length;if(t>=n)return n;var s=i.charCodeAt(t),a;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=n||(a=i.charCodeAt(t+1))<56320||a>57343?t+1:t+2};gn.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};gn.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};gn.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};gn.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};gn.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,n=0,s=t;n<s.length;n+=1){var a=s[n],l=this.at(i,r);if(l===-1||l!==a)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0};ue.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,n=!1,s=0;s<r.length;s++){var a=r.charAt(s);t.indexOf(a)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(a,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),a==="u"&&(i=!0),a==="v"&&(n=!0)}this.options.ecmaVersion>=15&&i&&n&&this.raise(e.start,"Invalid regular expression flag")};function JW(e){for(var t in e)return!0;return!1}ue.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&JW(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};ue.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}};ue.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Jp(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};ue.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};ue.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1};ue.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1};ue.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};ue.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};ue.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return n!==-1&&n<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};ue.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)};ue.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};ue.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var n=0;n<r.length;n++){var s=r.charAt(n);r.indexOf(s,n+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var a=this.regexp_eatModifiers(e);!r&&!a&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var l=0;l<a.length;l++){var u=a.charAt(l);(a.indexOf(u,l+1)>-1||r.indexOf(u)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};ue.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};ue.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&YW(r);)t+=Xn(r),e.advance();return t};function YW(e){return e===105||e===109||e===115}ue.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)};ue.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};ue.regexp_eatSyntaxCharacter=function(e){var t=e.current();return vP(t)?(e.lastIntValue=t,e.advance(),!0):!1};function vP(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}ue.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!vP(r);)e.advance();return e.pos!==t};ue.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};ue.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,n=r;i<n.length;i+=1){var s=n[i];s.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};ue.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1};ue.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Xn(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Xn(e.lastIntValue);return!0}return!1};ue.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),QW(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function QW(e){return $r(e,!0)||e===36||e===95}ue.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),eG(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function eG(e){return tn(e,!0)||e===36||e===95||e===8204||e===8205}ue.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};ue.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1};ue.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1};ue.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};ue.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};ue.regexp_eatZero=function(e){return e.current()===48&&!td(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};ue.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};ue.regexp_eatControlLetter=function(e){var t=e.current();return yP(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function yP(e){return e>=65&&e<=90||e>=97&&e<=122}ue.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(i&&n>=55296&&n<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(a>=56320&&a<=57343)return e.lastIntValue=(n-55296)*1024+(a-56320)+65536,!0}e.pos=s,e.lastIntValue=n}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&tG(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function tG(e){return e>=0&&e<=1114111}ue.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};ue.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var xP=0,Jn=1,Br=2;ue.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(rG(t))return e.lastIntValue=-1,e.advance(),Jn;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===Br&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return xP};function rG(e){return e===100||e===68||e===115||e===83||e===119||e===87}ue.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),Jn}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,n)}return xP};ue.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){ca(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};ue.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Jn;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Br;e.raise("Invalid property name")};ue.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";kP(t=e.current());)e.lastStringValue+=Xn(t),e.advance();return e.lastStringValue!==""};function kP(e){return yP(e)||e===95}ue.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";nG(t=e.current());)e.lastStringValue+=Xn(t),e.advance();return e.lastStringValue!==""};function nG(e){return kP(e)||td(e)}ue.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};ue.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===Br&&e.raise("Negated character class may contain strings"),!0}return!1};ue.regexp_classContents=function(e){return e.current()===93?Jn:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Jn)};ue.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};ue.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||DP(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};ue.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)};ue.regexp_classSetExpression=function(e){var t=Jn,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===Br&&(t=Br);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==Br&&(t=Jn);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===Br&&(t=Br)}};ue.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};ue.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Jn:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};ue.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===Br&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var n=this.regexp_eatCharacterClassEscape(e);if(n)return n;e.pos=t}return null};ue.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};ue.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Br&&(t=Br);return t};ue.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Jn:Br};ue.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&iG(r)||sG(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function iG(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function sG(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}ue.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return aG(t)?(e.lastIntValue=t,e.advance(),!0):!1};function aG(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}ue.regexp_eatClassControlLetter=function(e){var t=e.current();return td(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};ue.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1};ue.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;td(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function td(e){return e>=48&&e<=57}ue.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;wP(r=e.current());)e.lastIntValue=16*e.lastIntValue+EP(r),e.advance();return e.pos!==t};function wP(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function EP(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}ue.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};ue.regexp_eatOctalDigit=function(e){var t=e.current();return DP(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function DP(e){return e>=48&&e<=55}ue.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var n=e.current();if(!wP(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+EP(n),e.advance()}return!0};var rd=function(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Sl(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},qe=Ye.prototype;qe.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new rd(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};qe.getToken=function(){return this.next(),new rd(this)};typeof Symbol<"u"&&(qe[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}});qe.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(y.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};qe.readToken=function(e){return $r(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};qe.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888};qe.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,n=t;(i=J2(this.input,n,this.pos))>-1;)++this.curLine,n=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};qe.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!os(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())};qe.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Vw.test(String.fromCharCode(e)))++this.pos;else break e}}};qe.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)};qe.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))};qe.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(y.assign,2):this.finishOp(y.slash,1)};qe.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?y.star:y.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=y.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(y.assign,r+1):this.finishOp(i,r)};qe.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(y.assign,3)}return this.finishOp(e===124?y.logicalOR:y.logicalAND,2)}return t===61?this.finishOp(y.assign,2):this.finishOp(e===124?y.bitwiseOR:y.bitwiseAND,1)};qe.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)};qe.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Jt.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2):t===61?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)};qe.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(y.assign,r+1):this.finishOp(y.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(y.relational,r))};qe.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(e===61?y.eq:y.prefix,1)};qe.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(y.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(y.assign,3)}return this.finishOp(y.coalesce,2)}}return this.finishOp(y.question,1)};qe.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),$r(t,!0)||t===92))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Xn(t)+"'")};qe.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Xn(e)+"'")};qe.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};qe.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(Jt.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var l=this.regexpState||(this.regexpState=new gn(this));l.reset(r,n,a),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var u=null;try{u=new RegExp(n,a)}catch{}return this.finishToken(y.regexp,{pattern:n,flags:a,value:u})};qe.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,n=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,a=0,l=0,u=0,p=t??1/0;u<p;++u,++this.pos){var f=this.input.charCodeAt(this.pos),h=void 0;if(i&&f===95){n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),l===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),u===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),l=f;continue}if(f>=97?h=f-97+10:f>=65?h=f-65+10:f>=48&&f<=57?h=f-48:h=1/0,h>=e)break;l=f,a=a*e+h}return i&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:a};function oG(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function CP(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}qe.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=CP(this.input.slice(t,this.pos)),++this.pos):$r(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,r)};qe.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var n=CP(this.input.slice(t,this.pos));return++this.pos,$r(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(y.num,n)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),$r(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=oG(this.input.slice(t,this.pos),r);return this.finishToken(y.num,s)};qe.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};qe.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(os(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(y.string,t)};var SP={};qe.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===SP)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};qe.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw SP;this.raise(e,t)};qe.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(os(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};qe.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(y.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
`&&++this.pos;case`
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};qe.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Xn(this.readCodePoint());case 116:return"	";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(i,8);return n>255&&(i=i.slice(0,-1),n=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return os(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};qe.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};qe.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(tn(n,i))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?$r:tn)(a,i)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=Xn(a),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};qe.readWord=function(){var e=this.readWord1(),t=y.name;return this.keywords.test(e)&&(t=as[e]),this.finishToken(t,e)};var $P="8.15.0";Ye.acorn={Parser:Ye,version:$P,defaultOptions:Wp,Position:ua,SourceLocation:Sl,getLineInfo:Hw,Node:Tl,TokenType:Ie,tokTypes:y,keywordTypes:as,TokContext:Mt,tokContexts:ut,isIdentifierChar:tn,isIdentifierStart:$r,Token:rd,isNewLine:os,lineBreak:Jt,lineBreakG:X2,nonASCIIwhitespace:Vw};function lG(e,t){return Ye.parse(e,t)}function uG(e,t,r){return Ye.parseExpressionAt(e,t,r)}function cG(e,t){return Ye.tokenizer(e,t)}var Tr=!0;function Ir(e,t={}){return new Ie("name",t)}var pG=new WeakMap;function dG(e){let t=e.Parser.acorn||e,r=pG.get(t);if(!r){let i=function(g){return[y.name,y.string,y.num,...Object.values(as),...Object.values(p)].includes(g)},n=function(g){return[y.name,...Object.values(as),...Object.values(p)].includes(g)},s=function(g){return[...Object.values(p),y.name].includes(g)},a=function(g){return[p.abstract,p.declare,p.enum,p.module,p.namespace,p.interface,p.type].includes(g)},l=function(g){return[p.keyof,p.readonly,p.unique].includes(g)},u=function(g){return g===y.invalidTemplate},p=hG(),f=mG(),h=fG(),_=new RegExp(`^(?:${Object.keys(p).join("|")})$`);f.jsxTagStart.updateContext=function(){this.context.push(h.tc_expr),this.context.push(h.tc_oTag),this.exprAllowed=!1},f.jsxTagEnd.updateContext=function(g){let b=this.context.pop();b===h.tc_oTag&&g===y.slash||b===h.tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===h.tc_expr):this.exprAllowed=!0},r={tokTypes:{...p,...f},tokContexts:{...h},keywordsRegExp:_,tokenIsLiteralPropertyName:i,tokenIsKeywordOrIdentifier:n,tokenIsIdentifier:s,tokenIsTSDeclarationStart:a,tokenIsTSTypeOperator:l,tokenIsTemplate:u}}return r}function fG(){return{tc_oTag:new Mt("<tag",!1,!1),tc_cTag:new Mt("</tag",!1,!1),tc_expr:new Mt("<tag>...</tag>",!0,!0)}}function mG(){return{at:new Ie("@"),jsxName:new Ie("jsxName"),jsxText:new Ie("jsxText",{beforeExpr:!0}),jsxTagStart:new Ie("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new Ie("jsxTagEnd")}}function hG(){return{assert:Ir("assert",{startsExpr:Tr}),asserts:Ir("asserts",{startsExpr:Tr}),global:Ir("global",{startsExpr:Tr}),keyof:Ir("keyof",{startsExpr:Tr}),readonly:Ir("readonly",{startsExpr:Tr}),unique:Ir("unique",{startsExpr:Tr}),abstract:Ir("abstract",{startsExpr:Tr}),declare:Ir("declare",{startsExpr:Tr}),enum:Ir("enum",{startsExpr:Tr}),module:Ir("module",{startsExpr:Tr}),namespace:Ir("namespace",{startsExpr:Tr}),interface:Ir("interface",{startsExpr:Tr}),type:Ir("type",{startsExpr:Tr})}}var _G=512,Pl=1024,fa=1,sd=2,gG=4,Qw=8,bG=16,NP=64,OP=128,vG=256,yG=512,LP=1024,ewe=fa|sd|Qw|OP,twe=fa|0|Qw|0,rwe=fa|0|gG|0,nwe=fa|0|bG|0,iwe=0|sd|0|OP,swe=0|sd|0|0,xG=fa|sd|Qw|vG,awe=0|LP,owe=0|NP,lwe=fa|0|0|NP,uwe=xG|yG,cwe=0|LP,FP=4,jP=2,qP=1,pwe=jP|qP,dwe=jP|FP,fwe=qP|FP,kG=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y,TP=new RegExp("(?=("+kG.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y"),Rl=class{constructor(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}};function wG(e,t){let r=t.key.name,i=e[r],n="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(n=(t.static?"s":"i")+t.kind),i==="iget"&&n==="iset"||i==="iset"&&n==="iget"||i==="sget"&&n==="sset"||i==="sset"&&n==="sget"?(e[r]="true",!1):i?!0:(e[r]=n,!1)}function IP(e,t){let{computed:r,key:i}=e;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}var ce={AbstractMethodHasImplementation:({methodName:e})=>`Method '${e}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:e})=>`Property '${e}' cannot have an initializer because it is marked abstract.`,AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",CannotFindName:({name:e})=>`Cannot find name '${e}'.`,ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:e})=>`'declare' is not allowed in ${e}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:()=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:e})=>`Duplicate modifier: '${e}'.`,EmptyHeritageClauseType:({token:e})=>`'${e}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:({modifiers:e})=>`'${e[0]}' modifier cannot be used with '${e[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:e})=>`Index signatures cannot have an accessibility modifier ('${e}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:e})=>`'${e}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:e})=>`'${e}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:e})=>`'${e}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:e})=>`'${e[0]}' modifier must precede '${e[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:e})=>`Private elements cannot have an accessibility modifier ('${e}').`,PrivateMethodsHasAccessibility:({modifier:e})=>`Private methods cannot have an accessibility modifier ('${e}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:e})=>`Single type parameter ${e} should have a trailing comma. Example usage: <${e},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",GenericsEndWithComma:"Trailing comma is not allowed at the end of generics.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:e})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${e}.`,LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},id={UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",TrailingDecorator:"Decorators must be attached to a class element.",SpreadElementDecorator:"Decorators can't be used with SpreadElement"};function EG(e,t,r){let{tokTypes:i}=r,{tokTypes:n}=t;return class extends e{takeDecorators(a){let l=this.decoratorStack[this.decoratorStack.length-1];l.length&&(a.decorators=l,this.resetStartLocationFromNode(a,l[0]),this.decoratorStack[this.decoratorStack.length-1]=[])}parseDecorators(a){let l=this.decoratorStack[this.decoratorStack.length-1];for(;this.match(n.at);){let u=this.parseDecorator();l.push(u)}this.match(i._export)?a||this.unexpected():this.canHaveLeadingDecorator()||this.raise(this.start,id.UnexpectedLeadingDecorator)}parseDecorator(){let a=this.startNode();this.next(),this.decoratorStack.push([]);let l=this.start,u=this.startLoc,p;if(this.match(i.parenL)){let f=this.start,h=this.startLoc;if(this.next(),p=this.parseExpression(),this.expect(i.parenR),this.options.preserveParens){let _=this.startNodeAt(f,h);_.expression=p,p=this.finishNode(_,"ParenthesizedExpression")}}else for(p=this.parseIdent(!1);this.eat(i.dot);){let f=this.startNodeAt(l,u);f.object=p,f.property=this.parseIdent(!0),f.computed=!1,p=this.finishNode(f,"MemberExpression")}return a.expression=this.parseMaybeDecoratorArguments(p),this.decoratorStack.pop(),this.finishNode(a,"Decorator")}parseMaybeDecoratorArguments(a){if(this.eat(i.parenL)){let l=this.startNodeAtNode(a);return l.callee=a,l.arguments=this.parseExprList(i.parenR,!1),this.finishNode(l,"CallExpression")}return a}}}var DG={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},CG=/^[\da-fA-F]+$/,SG=/^\d+$/;function Nl(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return Nl(e.object)+"."+Nl(e.property)}function $G(e,t,r,i){let n=e.tokTypes,s=t.tokTypes,a=e.isNewLine,l=e.isIdentifierChar,u=Object.assign({allowNamespaces:!0,allowNamespacedObjects:!0},i||{});return class extends r{jsx_readToken(){let f="",h=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let _=this.input.charCodeAt(this.pos);switch(_){case 60:case 123:return this.pos===this.start?_===60&&this.exprAllowed?(++this.pos,this.finishToken(s.jsxTagStart)):this.getTokenFromCode(_):(f+=this.input.slice(h,this.pos),this.finishToken(s.jsxText,f));case 38:f+=this.input.slice(h,this.pos),f+=this.jsx_readEntity(),h=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(_===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:a(_)?(f+=this.input.slice(h,this.pos),f+=this.jsx_readNewLine(!0),h=this.pos):++this.pos}}}jsx_readNewLine(f){let h=this.input.charCodeAt(this.pos),_;return++this.pos,h===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,_=f?`
`:`\r
`):_=String.fromCharCode(h),this.options.locations&&(++this.curLine,this.lineStart=this.pos),_}jsx_readString(f){let h="",_=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let g=this.input.charCodeAt(this.pos);if(g===f)break;g===38?(h+=this.input.slice(_,this.pos),h+=this.jsx_readEntity(),_=this.pos):a(g)?(h+=this.input.slice(_,this.pos),h+=this.jsx_readNewLine(!1),_=this.pos):++this.pos}return h+=this.input.slice(_,this.pos++),this.finishToken(n.string,h)}jsx_readEntity(){let f="",h=0,_,g=this.input[this.pos];g!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let b=++this.pos;for(;this.pos<this.input.length&&h++<10;){if(g=this.input[this.pos++],g===";"){f[0]==="#"?f[1]==="x"?(f=f.substr(2),CG.test(f)&&(_=String.fromCharCode(parseInt(f,16)))):(f=f.substr(1),SG.test(f)&&(_=String.fromCharCode(parseInt(f,10)))):_=DG[f];break}f+=g}return _||(this.pos=b,"&")}jsx_readWord(){let f,h=this.pos;do f=this.input.charCodeAt(++this.pos);while(l(f)||f===45);return this.finishToken(s.jsxName,this.input.slice(h,this.pos))}jsx_parseIdentifier(){let f=this.startNode();return this.type===s.jsxName?f.name=this.value:this.type.keyword?f.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(f,"JSXIdentifier")}jsx_parseNamespacedName(){let f=this.start,h=this.startLoc,_=this.jsx_parseIdentifier();if(!u.allowNamespaces||!this.eat(n.colon))return _;var g=this.startNodeAt(f,h);return g.namespace=_,g.name=this.jsx_parseIdentifier(),this.finishNode(g,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===s.jsxTagEnd)return"";let f=this.start,h=this.startLoc,_=this.jsx_parseNamespacedName();for(this.type===n.dot&&_.type==="JSXNamespacedName"&&!u.allowNamespacedObjects&&this.unexpected();this.eat(n.dot);){let g=this.startNodeAt(f,h);g.object=_,g.property=this.jsx_parseIdentifier(),_=this.finishNode(g,"JSXMemberExpression")}return _}jsx_parseAttributeValue(){switch(this.type){case n.braceL:let f=this.jsx_parseExpressionContainer();return f.expression.type==="JSXEmptyExpression"&&this.raise(f.start,"JSX attributes must only be assigned a non-empty expression"),f;case s.jsxTagStart:case n.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let f=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(f,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let f=this.startNode();return this.next(),f.expression=this.type===n.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(n.braceR),this.finishNode(f,"JSXExpressionContainer")}jsx_parseAttribute(){let f=this.startNode();return this.eat(n.braceL)?(this.expect(n.ellipsis),f.argument=this.parseMaybeAssign(),this.expect(n.braceR),this.finishNode(f,"JSXSpreadAttribute")):(f.name=this.jsx_parseNamespacedName(),f.value=this.eat(n.eq)?this.jsx_parseAttributeValue():null,this.finishNode(f,"JSXAttribute"))}jsx_parseOpeningElementAt(f,h){let _=this.startNodeAt(f,h);_.attributes=[];let g=this.jsx_parseElementName();for(g&&(_.name=g);this.type!==n.slash&&this.type!==s.jsxTagEnd;)_.attributes.push(this.jsx_parseAttribute());return _.selfClosing=this.eat(n.slash),this.expect(s.jsxTagEnd),this.finishNode(_,g?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(f,h){let _=this.startNodeAt(f,h),g=this.jsx_parseElementName();return g&&(_.name=g),this.expect(s.jsxTagEnd),this.finishNode(_,g?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(f,h){let _=this.startNodeAt(f,h),g=[],b=this.jsx_parseOpeningElementAt(f,h),E=null;if(!b.selfClosing){e:for(;;)switch(this.type){case s.jsxTagStart:if(f=this.start,h=this.startLoc,this.next(),this.eat(n.slash)){E=this.jsx_parseClosingElementAt(f,h);break e}g.push(this.jsx_parseElementAt(f,h));break;case s.jsxText:g.push(this.parseExprAtom());break;case n.braceL:g.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}Nl(E.name)!==Nl(b.name)&&this.raise(E.start,"Expected corresponding JSX closing tag for <"+Nl(b.name)+">")}let C=b.name?"Element":"Fragment";return _["opening"+C]=b,_["closing"+C]=E,_.children=g,this.type===n.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(_,"JSX"+C)}jsx_parseText(){let f=this.parseLiteral(this.value);return f.type="JSXText",f}jsx_parseElement(){let f=this.start,h=this.startLoc;return this.next(),this.jsx_parseElementAt(f,h)}}}function TG(e,t,r){let{tokTypes:i}=t,{tokTypes:n}=r;return class extends e{parseMaybeImportAttributes(a){if(this.type===n._with||this.type===i.assert){this.next();let l=this.parseImportAttributes();l&&(a.attributes=l)}}parseImportAttributes(){this.expect(n.braceL);let a=this.parseWithEntries();return this.expect(n.braceR),a}parseWithEntries(){let a=[],l=new Set;do{if(this.type===n.braceR)break;let u=this.startNode(),p;this.type===n.string?p=this.parseLiteral(this.value):p=this.parseIdent(!0),this.next(),u.key=p,l.has(u.key.name)&&this.raise(this.pos,"Duplicated key in attributes"),l.add(u.key.name),this.type!==n.string&&this.raise(this.pos,"Only string is supported as an attribute value"),u.value=this.parseLiteral(this.value),a.push(this.finishNode(u,"ImportAttribute"))}while(this.eat(n.comma));return a}}}var Jw=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function AP(e){if(!e)throw new Error("Assert fail")}function IG(e){return e==="accessor"}function AG(e){return e==="in"||e==="out"}var nd=1,PP=2,PG=4,Xe={SCOPE_TOP:1,SCOPE_FUNCTION:2,SCOPE_ASYNC:4,SCOPE_GENERATOR:8,SCOPE_ARROW:16,SCOPE_SIMPLE_CATCH:32,SCOPE_SUPER:64,SCOPE_DIRECT_SUPER:128,SCOPE_CLASS_STATIC_BLOCK:256,SCOPE_VAR:256,BIND_NONE:0,BIND_VAR:1,BIND_LEXICAL:2,BIND_FUNCTION:3,BIND_SIMPLE_CATCH:4,BIND_OUTSIDE:5,BIND_TS_TYPE:6,BIND_TS_INTERFACE:7,BIND_TS_NAMESPACE:8,BIND_FLAGS_TS_EXPORT_ONLY:1024,BIND_FLAGS_TS_IMPORT:4096,BIND_FLAGS_TS_ENUM:256,BIND_FLAGS_TS_CONST_ENUM:512,BIND_FLAGS_CLASS:128};function Yw(e,t){return Xe.SCOPE_FUNCTION|(e?Xe.SCOPE_ASYNC:0)|(t?Xe.SCOPE_GENERATOR:0)}function RG(e){if(e.type!=="MemberExpression")return!1;let{computed:t,property:r}=e;return t&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:MP(e.object)}function MP(e){return e.type==="Identifier"?!0:e.type!=="MemberExpression"||e.computed?!1:MP(e.object)}function RP(e){return e==="private"||e==="public"||e==="protected"}function NG(e){return!!e.startsExpr}function OG(e){if(e==null)throw new Error(`Unexpected ${e} value.`);return e}function LG(e){switch(e){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function ad(e){let{dts:t=!1}=e||{},r=!!e?.jsx;return function(i){let n=i.acorn||Al,s=dG(n),a=n.tokTypes,l=n.keywordTypes,u=n.isIdentifierStart,p=n.lineBreak,f=n.isNewLine,h=n.tokContexts,_=n.isIdentifierChar,{tokTypes:g,tokContexts:b,keywordsRegExp:E,tokenIsLiteralPropertyName:C,tokenIsTemplate:T,tokenIsTSDeclarationStart:N,tokenIsIdentifier:I,tokenIsKeywordOrIdentifier:V,tokenIsTSTypeOperator:K}=s;function te(W,c,m=W.length){for(let v=c;v<m;v++){let w=W.charCodeAt(v);if(f(w))return v<m-1&&w===13&&W.charCodeAt(v+1)===10?v+2:v+1}return-1}i=EG(i,s,n),e?.jsx&&(i=$G(n,s,i,typeof e.jsx=="boolean"?{}:e.jsx)),i=TG(i,s,n);class ke extends i{constructor(c,m,v){super(c,m,v),this.preValue=null,this.preToken=null,this.isLookahead=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.inType=!1,this.inDisallowConditionalTypesContext=!1,this.maybeInArrowParameters=!1,this.shouldParseArrowReturnType=void 0,this.shouldParseAsyncArrowReturnType=void 0,this.decoratorStack=[[]],this.importsStack=[[]],this.importOrExportOuterKind=void 0,this.tsParseConstModifier=w=>{this.tsParseModifiers({modified:w,allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:ce.InvalidModifierOnTypeParameterPositions})},this.ecmaVersion=this.options.ecmaVersion}static get acornTypeScript(){return s}get acornTypeScript(){return s}getTokenFromCodeInType(c){return c===62?this.finishOp(a.relational,1):c===60?this.finishOp(a.relational,1):super.getTokenFromCode(c)}readToken(c){if(!this.inType){let m=this.curContext();if(m===b.tc_expr)return this.jsx_readToken();if(m===b.tc_oTag||m===b.tc_cTag){if(u(c))return this.jsx_readWord();if(c==62)return++this.pos,this.finishToken(g.jsxTagEnd);if((c===34||c===39)&&m==b.tc_oTag)return this.jsx_readString(c)}if(c===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33)return++this.pos,e?.jsx?this.finishToken(g.jsxTagStart):this.finishToken(a.relational,"<")}return super.readToken(c)}getTokenFromCode(c){return this.inType?this.getTokenFromCodeInType(c):c===64?(++this.pos,this.finishToken(g.at)):super.getTokenFromCode(c)}isAbstractClass(){return this.ts_isContextual(g.abstract)&&this.lookahead().type===a._class}finishNode(c,m){return c.type!==""&&c.end!==0?c:super.finishNode(c,m)}tryParse(c,m=this.cloneCurLookaheadState()){let v={node:null};try{return{node:c(($=null)=>{throw v.node=$,v}),error:null,thrown:!1,aborted:!1,failState:null}}catch(w){let $=this.getCurLookaheadState();if(this.setLookaheadState(m),w instanceof SyntaxError)return{node:null,error:w,thrown:!0,aborted:!1,failState:$};if(w===v)return{node:v.node,error:null,thrown:!1,aborted:!0,failState:$};throw w}}setOptionalParametersError(c,m){c.optionalParametersLoc=m?.loc??this.startLoc}reScan_lt_gt(){this.type===a.relational&&(this.pos-=1,this.readToken_lt_gt(this.fullCharCodeAtPos()))}reScan_lt(){let{type:c}=this;return c===a.bitShift?(this.pos-=2,this.finishOp(a.relational,1),a.relational):c}resetEndLocation(c,m=this.lastTokEnd,v=this.lastTokEndLoc){c.end=m,c.loc.end=v,this.options.ranges&&(c.range[1]=m)}startNodeAtNode(c){return super.startNodeAt(c.start,c.loc.start)}nextTokenStart(){return this.nextTokenStartSince(this.pos)}tsHasSomeModifiers(c,m){return m.some(v=>RP(v)?c.accessibility===v:!!c[v])}tsIsStartOfStaticBlocks(){return this.isContextual("static")&&this.lookaheadCharCode()===123}tsCheckForInvalidTypeCasts(c){c.forEach(m=>{m?.type==="TSTypeCastExpression"&&this.raise(m.typeAnnotation.start,ce.UnexpectedTypeAnnotation)})}atPossibleAsyncArrow(c){return c.type==="Identifier"&&c.name==="async"&&this.lastTokEndLoc.column===c.end&&!this.canInsertSemicolon()&&c.end-c.start===5&&c.start===this.potentialArrowAt}tsIsIdentifier(){return I(this.type)}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(a.colon)?this.tsParseTypeOrTypePredicateAnnotation(a.colon):void 0}tsTryParseGenericAsyncArrowFunction(c,m,v){if(!this.tsMatchLeftRelational())return;let w=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;let $=this.tsTryParseAndCatch(()=>{let R=this.startNodeAt(c,m);return R.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(R),R.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(a.arrow),R});if(this.maybeInArrowParameters=w,!!$)return super.parseArrowExpression($,null,!0,v)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===a.relational)return this.tsParseTypeArguments()}tsInNoContext(c){let m=this.context;this.context=[m[0]];try{return c()}finally{this.context=m}}tsTryParseTypeAnnotation(){return this.match(a.colon)?this.tsParseTypeAnnotation():void 0}isUnparsedContextual(c,m){let v=c+m.length;if(this.input.slice(c,v)===m){let w=this.input.charCodeAt(v);return!(_(w)||(w&64512)===55296)}return!1}isAbstractConstructorSignature(){return this.ts_isContextual(g.abstract)&&this.lookahead().type===a._new}nextTokenStartSince(c){return Jw.lastIndex=c,Jw.test(this.input)?Jw.lastIndex:c}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}compareLookaheadState(c,m){for(let v of Object.keys(c))if(c[v]!==m[v])return!1;return!0}createLookaheadState(){this.value=null,this.context=[this.curContext()]}getCurLookaheadState(){return{endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context,startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}}cloneCurLookaheadState(){return{pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context&&this.context.slice(),startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}}setLookaheadState(c){this.pos=c.pos,this.value=c.value,this.endLoc=c.endLoc,this.lastTokEnd=c.lastTokEnd,this.lastTokStart=c.lastTokStart,this.lastTokStartLoc=c.lastTokStartLoc,this.type=c.type,this.start=c.start,this.end=c.end,this.context=c.context,this.startLoc=c.startLoc,this.lastTokEndLoc=c.lastTokEndLoc,this.curLine=c.curLine,this.lineStart=c.lineStart,this.curPosition=c.curPosition,this.containsEsc=c.containsEsc}tsLookAhead(c){let m=this.getCurLookaheadState(),v=c();return this.setLookaheadState(m),v}lookahead(c){let m=this.getCurLookaheadState();if(this.createLookaheadState(),this.isLookahead=!0,c!==void 0)for(let w=0;w<c;w++)this.nextToken();else this.nextToken();this.isLookahead=!1;let v=this.getCurLookaheadState();return this.setLookaheadState(m),v}readWord(){let c=this.readWord1(),m=a.name;return this.keywords.test(c)?m=l[c]:new RegExp(E).test(c)&&(m=g[c]),this.finishToken(m,c)}skipBlockComment(){let c;this.isLookahead||(c=this.options.onComment&&this.curPosition());let m=this.pos,v=this.input.indexOf("*/",this.pos+=2);if(v===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=v+2,this.options.locations)for(let w,$=m;(w=te(this.input,$,this.pos))>-1;)++this.curLine,$=this.lineStart=w;this.isLookahead||this.options.onComment&&this.options.onComment(!0,this.input.slice(m+2,v),m,this.pos,c,this.curPosition())}skipLineComment(c){let m=this.pos,v;this.isLookahead||(v=this.options.onComment&&this.curPosition());let w=this.input.charCodeAt(this.pos+=c);for(;this.pos<this.input.length&&!f(w);)w=this.input.charCodeAt(++this.pos);this.isLookahead||this.options.onComment&&this.options.onComment(!1,this.input.slice(m+c,this.pos),m,this.pos,v,this.curPosition())}finishToken(c,m){this.preValue=this.value,this.preToken=this.type,this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());let v=this.type;this.type=c,this.value=m,this.isLookahead||this.updateContext(v)}resetStartLocation(c,m,v){c.start=m,c.loc.start=v,this.options.ranges&&(c.range[0]=m)}isLineTerminator(){return this.eat(a.semi)||super.canInsertSemicolon()}hasFollowingLineBreak(){return TP.lastIndex=this.end,TP.test(this.input)}addExtra(c,m,v,w=!0){if(!c)return;let $=c.extra=c.extra||{};w?$[m]=v:Object.defineProperty($,m,{enumerable:w,value:v})}isLiteralPropertyName(){return C(this.type)}hasPrecedingLineBreak(){return p.test(this.input.slice(this.lastTokEnd,this.start))}createIdentifier(c,m){return c.name=m,this.finishNode(c,"Identifier")}resetStartLocationFromNode(c,m){this.resetStartLocation(c,m.start,m.loc.start)}isThisParam(c){return c.type==="Identifier"&&c.name==="this"}isLookaheadContextual(c){let m=this.nextTokenStart();return this.isUnparsedContextual(m,c)}ts_type_isContextual(c,m){return c===m&&!this.containsEsc}ts_isContextual(c){return this.type===c&&!this.containsEsc}ts_isContextualWithState(c,m){return c.type===m&&!c.containsEsc}isContextualWithState(c,m){return m.type===a.name&&m.value===c&&!m.containsEsc}tsIsStartOfMappedType(){return this.next(),this.eat(a.plusMin)?this.ts_isContextual(g.readonly):(this.ts_isContextual(g.readonly)&&this.next(),!this.match(a.bracketL)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(a._in)))}tsInDisallowConditionalTypesContext(c){let m=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!0;try{return c()}finally{this.inDisallowConditionalTypesContext=m}}tsTryParseType(){return this.tsEatThenParseType(a.colon)}match(c){return this.type===c}matchJsx(c){return this.type===s.tokTypes[c]}ts_eatWithState(c,m,v){let w=v.type;if(c===w){for(let $=0;$<m;$++)this.next();return!0}else return!1}ts_eatContextualWithState(c,m,v){if(E.test(c)){if(this.ts_isContextualWithState(v,g[c])){for(let w=0;w<m;w++)this.next();return!0}return!1}else{if(!this.isContextualWithState(c,v))return!1;for(let w=0;w<m;w++)this.next();return!0}}canHaveLeadingDecorator(){return this.match(a._class)}eatContextual(c){return E.test(c)?this.ts_isContextual(g[c])?(this.next(),!0):!1:super.eatContextual(c)}tsIsExternalModuleReference(){return this.isContextual("require")&&this.lookaheadCharCode()===40}tsParseExternalModuleReference(){let c=this.startNode();return this.expectContextual("require"),this.expect(a.parenL),this.match(a.string)||this.unexpected(),c.expression=this.parseExprAtom(),this.expect(a.parenR),this.finishNode(c,"TSExternalModuleReference")}tsParseEntityName(c=!0){let m=this.parseIdent(c);for(;this.eat(a.dot);){let v=this.startNodeAtNode(m);v.left=m,v.right=this.parseIdent(c),m=this.finishNode(v,"TSQualifiedName")}return m}tsParseEnumMember(){let c=this.startNode();return c.id=this.match(a.string)?this.parseLiteral(this.value):this.parseIdent(!0),this.eat(a.eq)&&(c.initializer=this.parseMaybeAssign()),this.finishNode(c,"TSEnumMember")}tsParseEnumDeclaration(c,m={}){return m.const&&(c.const=!0),m.declare&&(c.declare=!0),this.expectContextual("enum"),c.id=this.parseIdent(),this.checkLValSimple(c.id),this.expect(a.braceL),c.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(a.braceR),this.finishNode(c,"TSEnumDeclaration")}tsParseModuleBlock(){let c=this.startNode();for(this.enterScope(_G),this.expect(a.braceL),c.body=[];this.type!==a.braceR;){let m=this.parseStatement(null,!0);c.body.push(m)}return this.next(),super.exitScope(),this.finishNode(c,"TSModuleBlock")}tsParseAmbientExternalModuleDeclaration(c){return this.ts_isContextual(g.global)?(c.global=!0,c.id=this.parseIdent()):this.match(a.string)?c.id=this.parseLiteral(this.value):this.unexpected(),this.match(a.braceL)?(this.enterScope(Pl),c.body=this.tsParseModuleBlock(),super.exitScope()):super.semicolon(),this.finishNode(c,"TSModuleDeclaration")}tsTryParseDeclare(c){if(this.isLineTerminator())return;let m=this.type,v;return this.isContextual("let")&&(m=a._var,v="let"),this.tsInAmbientContext(()=>{if(m===a._function)return c.declare=!0,this.parseFunctionStatement(c,!1,!0);if(m===a._class)return c.declare=!0,this.parseClass(c,!0);if(m===g.enum)return this.tsParseEnumDeclaration(c,{declare:!0});if(m===g.global)return this.tsParseAmbientExternalModuleDeclaration(c);if(m===a._const||m===a._var)return!this.match(a._const)||!this.isLookaheadContextual("enum")?(c.declare=!0,this.parseVarStatement(c,v||this.value,!0)):(this.expect(a._const),this.tsParseEnumDeclaration(c,{const:!0,declare:!0}));if(m===g.interface){let w=this.tsParseInterfaceDeclaration(c,{declare:!0});if(w)return w}if(I(m))return this.tsParseDeclaration(c,this.value,!0)})}tsIsListTerminator(c){switch(c){case"EnumMembers":case"TypeMembers":return this.match(a.braceR);case"HeritageClauseElement":return this.match(a.braceL);case"TupleElementTypes":return this.match(a.bracketR);case"TypeParametersOrArguments":return this.tsMatchRightRelational()}}tsParseDelimitedListWorker(c,m,v,w){let $=[],R=-1;for(;!this.tsIsListTerminator(c);){R=-1;let j=m();if(j==null)return;if($.push(j),this.eat(a.comma)){R=this.lastTokStart;continue}if(this.tsIsListTerminator(c))break;v&&this.expect(a.comma);return}return w&&(w.value=R),$}tsParseDelimitedList(c,m,v){return OG(this.tsParseDelimitedListWorker(c,m,!0,v))}tsParseBracketedList(c,m,v,w,$){w||(v?this.expect(a.bracketL):this.expect(a.relational));let R=this.tsParseDelimitedList(c,m,$);return v?this.expect(a.bracketR):this.expect(a.relational),R}tsParseTypeParameterName(){return this.parseIdent().name}tsEatThenParseType(c){return this.match(c)?this.tsNextThenParseType():void 0}tsExpectThenParseType(c){return this.tsDoThenParseType(()=>this.expect(c))}tsNextThenParseType(){return this.tsDoThenParseType(()=>this.next())}tsDoThenParseType(c){return this.tsInType(()=>(c(),this.tsParseType()))}tsSkipParameterStart(){if(I(this.type)||this.match(a._this))return this.next(),!0;if(this.match(a.braceL))try{return this.parseObj(!0),!0}catch{return!1}if(this.match(a.bracketL)){this.next();try{return this.parseBindingList(a.bracketR,!0,!0),!0}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(a.parenR)||this.match(a.ellipsis)||this.tsSkipParameterStart()&&(this.match(a.colon)||this.match(a.comma)||this.match(a.question)||this.match(a.eq)||this.match(a.parenR)&&(this.next(),this.match(a.arrow))))}tsIsStartOfFunctionType(){return this.tsMatchLeftRelational()?!0:this.match(a.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsInAllowConditionalTypesContext(c){let m=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!1;try{return c()}finally{this.inDisallowConditionalTypesContext=m}}tsParseBindingListForSignature(){return super.parseBindingList(a.parenR,!0,!0).map(c=>(c.type!=="Identifier"&&c.type!=="RestElement"&&c.type!=="ObjectPattern"&&c.type!=="ArrayPattern"&&this.raise(c.start,ce.UnsupportedSignatureParameterKind(c.type)),c))}tsParseTypePredicateAsserts(){if(this.type!==g.asserts)return!1;let c=this.containsEsc;return this.next(),!I(this.type)&&!this.match(a._this)?!1:(c&&this.raise(this.lastTokStart,"Escape sequence in keyword asserts"),!0)}tsParseThisTypeNode(){let c=this.startNode();return this.next(),this.finishNode(c,"TSThisType")}tsParseTypeAnnotation(c=!0,m=this.startNode()){return this.tsInType(()=>{c&&this.expect(a.colon),m.typeAnnotation=this.tsParseType()}),this.finishNode(m,"TSTypeAnnotation")}tsParseThisTypePredicate(c){this.next();let m=this.startNodeAtNode(c);return m.parameterName=c,m.typeAnnotation=this.tsParseTypeAnnotation(!1),m.asserts=!1,this.finishNode(m,"TSTypePredicate")}tsParseThisTypeOrThisTypePredicate(){let c=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(c):c}tsParseTypePredicatePrefix(){let c=this.parseIdent();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),c}tsParseTypeOrTypePredicateAnnotation(c){return this.tsInType(()=>{let m=this.startNode();this.expect(c);let v=this.startNode(),w=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(w&&this.match(a._this)){let j=this.tsParseThisTypeOrThisTypePredicate();return j.type==="TSThisType"?(v.parameterName=j,v.asserts=!0,v.typeAnnotation=null,j=this.finishNode(v,"TSTypePredicate")):(this.resetStartLocationFromNode(j,v),j.asserts=!0),m.typeAnnotation=j,this.finishNode(m,"TSTypeAnnotation")}let $=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!$)return w?(v.parameterName=this.parseIdent(),v.asserts=w,v.typeAnnotation=null,m.typeAnnotation=this.finishNode(v,"TSTypePredicate"),this.finishNode(m,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,m);let R=this.tsParseTypeAnnotation(!1);return v.parameterName=$,v.typeAnnotation=R,v.asserts=w,m.typeAnnotation=this.finishNode(v,"TSTypePredicate"),this.finishNode(m,"TSTypeAnnotation")})}tsFillSignature(c,m){let v=c===a.arrow,w="parameters",$="typeAnnotation";m.typeParameters=this.tsTryParseTypeParameters(),this.expect(a.parenL),m[w]=this.tsParseBindingListForSignature(),v?m[$]=this.tsParseTypeOrTypePredicateAnnotation(c):this.match(c)&&(m[$]=this.tsParseTypeOrTypePredicateAnnotation(c))}tsTryNextParseConstantContext(){if(this.lookahead().type!==a._const)return null;this.next();let c=this.tsParseTypeReference();return(c.typeParameters||c.typeArguments)&&this.raise(c.typeName.start,ce.CannotFindName({name:"const"})),c}tsParseFunctionOrConstructorType(c,m){let v=this.startNode();return c==="TSConstructorType"&&(v.abstract=!!m,m&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(a.arrow,v)),this.finishNode(v,c)}tsParseUnionOrIntersectionType(c,m,v){let w=this.startNode(),$=this.eat(v),R=[];do R.push(m());while(this.eat(v));return R.length===1&&!$?R[0]:(w.types=R,this.finishNode(w,c))}tsCheckTypeAnnotationForReadOnly(c){switch(c.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(c.start,ce.UnexpectedReadonly)}}tsParseTypeOperator(){let c=this.startNode(),m=this.value;return this.next(),c.operator=m,c.typeAnnotation=this.tsParseTypeOperatorOrHigher(),m==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(c),this.finishNode(c,"TSTypeOperator")}tsParseConstraintForInferType(){if(this.eat(a._extends)){let c=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.inDisallowConditionalTypesContext||!this.match(a.question))return c}}tsParseInferType(){let c=this.startNode();this.expectContextual("infer");let m=this.startNode();return m.name=this.tsParseTypeParameterName(),m.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),c.typeParameter=this.finishNode(m,"TSTypeParameter"),this.finishNode(c,"TSInferType")}tsParseLiteralTypeNode(){let c=this.startNode();return c.literal=(()=>{switch(this.type){case a.num:case a.string:case a._true:case a._false:return this.parseExprAtom();default:this.unexpected()}})(),this.finishNode(c,"TSLiteralType")}tsParseImportType(){let c=this.startNode();return this.expect(a._import),this.expect(a.parenL),this.match(a.string)||this.raise(this.start,ce.UnsupportedImportTypeArgument),c.argument=this.parseExprAtom(),this.expect(a.parenR),this.eat(a.dot)&&(c.qualifier=this.tsParseEntityName()),this.tsMatchLeftRelational()&&(c.typeArguments=this.tsParseTypeArguments()),this.finishNode(c,"TSImportType")}tsParseTypeQuery(){let c=this.startNode();return this.expect(a._typeof),this.match(a._import)?c.exprName=this.tsParseImportType():c.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(c.typeArguments=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeQuery")}tsParseMappedTypeParameter(){let c=this.startNode();return c.name=this.tsParseTypeParameterName(),c.constraint=this.tsExpectThenParseType(a._in),this.finishNode(c,"TSTypeParameter")}tsParseMappedType(){let c=this.startNode();return this.expect(a.braceL),this.match(a.plusMin)?(c.readonly=this.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(c.readonly=!0),this.expect(a.bracketL),c.typeParameter=this.tsParseMappedTypeParameter(),c.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(a.bracketR),this.match(a.plusMin)?(c.optional=this.value,this.next(),this.expect(a.question)):this.eat(a.question)&&(c.optional=!0),c.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(a.braceR),this.finishNode(c,"TSMappedType")}tsParseTypeLiteral(){let c=this.startNode();return c.members=this.tsParseObjectTypeMembers(),this.finishNode(c,"TSTypeLiteral")}tsParseTupleElementType(){let c=this.startLoc,m=this.start,v=this.eat(a.ellipsis),w=this.tsParseType(),$=this.eat(a.question);if(this.eat(a.colon)){let j=this.startNodeAtNode(w);j.optional=$,w.type==="TSTypeReference"&&!w.typeArguments&&w.typeName.type==="Identifier"?j.label=w.typeName:(this.raise(w.start,ce.InvalidTupleMemberLabel),j.label=w),j.elementType=this.tsParseType(),w=this.finishNode(j,"TSNamedTupleMember")}else if($){let j=this.startNodeAtNode(w);j.typeAnnotation=w,w=this.finishNode(j,"TSOptionalType")}if(v){let j=this.startNodeAt(m,c);j.typeAnnotation=w,w=this.finishNode(j,"TSRestType")}return w}tsParseTupleType(){let c=this.startNode();c.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let m=!1,v=null;return c.elementTypes.forEach(w=>{let{type:$}=w;m&&$!=="TSRestType"&&$!=="TSOptionalType"&&!($==="TSNamedTupleMember"&&w.optional)&&this.raise(w.start,ce.OptionalTypeBeforeRequired),m||=$==="TSNamedTupleMember"&&w.optional||$==="TSOptionalType";let R=$;$==="TSRestType"&&(w=w.typeAnnotation,R=w.type);let j=R==="TSNamedTupleMember";v??=j,v!==j&&this.raise(w.start,ce.MixedLabeledAndUnlabeledElements)}),this.finishNode(c,"TSTupleType")}tsParseTemplateLiteralType(){let c=this.startNode();return c.literal=this.parseTemplate({isTagged:!1}),this.finishNode(c,"TSLiteralType")}tsParseTypeReference(){let c=this.startNode();return c.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(c.typeArguments=this.tsParseTypeArguments()),this.finishNode(c,"TSTypeReference")}tsMatchLeftRelational(){return this.match(a.relational)&&this.value==="<"}tsMatchRightRelational(){return this.match(a.relational)&&this.value===">"}tsParseParenthesizedType(){let c=this.startNode();return this.expect(a.parenL),c.typeAnnotation=this.tsParseType(),this.expect(a.parenR),this.finishNode(c,"TSParenthesizedType")}tsParseNonArrayType(){switch(this.type){case a.string:case a.num:case a._true:case a._false:return this.tsParseLiteralTypeNode();case a.plusMin:if(this.value==="-"){let c=this.startNode();return this.lookahead().type!==a.num&&this.unexpected(),c.literal=this.parseMaybeUnary(),this.finishNode(c,"TSLiteralType")}break;case a._this:return this.tsParseThisTypeOrThisTypePredicate();case a._typeof:return this.tsParseTypeQuery();case a._import:return this.tsParseImportType();case a.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case a.bracketL:return this.tsParseTupleType();case a.parenL:return this.tsParseParenthesizedType();case a.backQuote:case a.dollarBraceL:return this.tsParseTemplateLiteralType();default:{let{type:c}=this;if(I(c)||c===a._void||c===a._null){let m=c===a._void?"TSVoidKeyword":c===a._null?"TSNullKeyword":LG(this.value);if(m!==void 0&&this.lookaheadCharCode()!==46){let v=this.startNode();return this.next(),this.finishNode(v,m)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let c=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(a.bracketL);)if(this.match(a.bracketR)){let m=this.startNodeAtNode(c);m.elementType=c,this.expect(a.bracketR),c=this.finishNode(m,"TSArrayType")}else{let m=this.startNodeAtNode(c);m.objectType=c,m.indexType=this.tsParseType(),this.expect(a.bracketR),c=this.finishNode(m,"TSIndexedAccessType")}return c}tsParseTypeOperatorOrHigher(){return K(this.type)&&!this.containsEsc?this.tsParseTypeOperator():this.isContextual("infer")?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),a.bitwiseAND)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),a.bitwiseOR)}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(a._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseType(){AP(this.inType);let c=this.tsParseNonConditionalType();if(this.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(a._extends))return c;let m=this.startNodeAtNode(c);return m.checkType=c,m.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(a.question),m.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(a.colon),m.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(m,"TSConditionalType")}tsIsUnambiguouslyIndexSignature(){return this.next(),I(this.type)?(this.next(),this.match(a.colon)):!1}tsInType(c){let m=this.inType;this.inType=!0;try{return c()}finally{this.inType=m}}tsTryParseIndexSignature(c){if(!(this.match(a.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(a.bracketL);let m=this.parseIdent();m.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(m),this.expect(a.bracketR),c.parameters=[m];let v=this.tsTryParseTypeAnnotation();return v&&(c.typeAnnotation=v),this.tsParseTypeMemberSemicolon(),this.finishNode(c,"TSIndexSignature")}tsParseNoneModifiers(c){this.tsParseModifiers({modified:c,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:ce.InvalidModifierOnTypeParameterPositions})}tsParseTypeParameter(c=this.tsParseNoneModifiers.bind(this)){let m=this.startNode();return c(m),m.name=this.tsParseTypeParameterName(),m.constraint=this.tsEatThenParseType(a._extends),m.default=this.tsEatThenParseType(a.eq),this.finishNode(m,"TSTypeParameter")}tsParseTypeParameters(c){let m=this.startNode();this.tsMatchLeftRelational()||this.matchJsx("jsxTagStart")?this.next():this.unexpected();let v={value:-1};return m.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,c),!1,!0,v),m.params.length===0&&this.raise(this.start,ce.EmptyTypeParameters),v.value!==-1&&this.addExtra(m,"trailingComma",v.value),this.finishNode(m,"TSTypeParameterDeclaration")}tsTryParseTypeParameters(c){if(this.tsMatchLeftRelational())return this.tsParseTypeParameters(c)}tsTryParse(c){let m=this.getCurLookaheadState(),v=c();if(v!==void 0&&v!==!1)return v;this.setLookaheadState(m)}tsTokenCanFollowModifier(){return(this.match(a.bracketL)||this.match(a.braceL)||this.match(a.star)||this.match(a.ellipsis)||this.match(a.privateId)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(!0),this.tsTokenCanFollowModifier()}tsParseModifier(c,m){let v=this.value;if(c.indexOf(v)!==-1&&!this.containsEsc){if(m&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return v}}tsParseModifiersByMap({modified:c,map:m}){for(let v of Object.keys(m))c[v]=m[v]}tsParseModifiers({modified:c,allowedModifiers:m,disallowedModifiers:v,stopOnStartOfClassStaticBlock:w,errorTemplate:$=ce.InvalidModifierOnTypeMember}){let R={},j=(J,B,xe,Ze)=>{B===xe&&c[Ze]&&this.raise(J.column,ce.InvalidModifiersOrder({orderedModifiers:[xe,Ze]}))},ee=(J,B,xe,Ze)=>{(c[xe]&&B===Ze||c[Ze]&&B===xe)&&this.raise(J.column,ce.IncompatibleModifiers({modifiers:[xe,Ze]}))};for(;;){let J=this.startLoc,B=this.tsParseModifier(m.concat(v??[]),w);if(!B)break;RP(B)?c.accessibility?this.raise(this.start,ce.DuplicateAccessibilityModifier()):(j(J,B,B,"override"),j(J,B,B,"static"),j(J,B,B,"readonly"),j(J,B,B,"accessor"),R.accessibility=B,c.accessibility=B):AG(B)?c[B]?this.raise(this.start,ce.DuplicateModifier({modifier:B})):(j(J,B,"in","out"),R[B]=B,c[B]=!0):IG(B)?c[B]?this.raise(this.start,ce.DuplicateModifier({modifier:B})):(ee(J,B,"accessor","readonly"),ee(J,B,"accessor","static"),ee(J,B,"accessor","override"),R[B]=B,c[B]=!0):B==="const"?c[B]?this.raise(this.start,ce.DuplicateModifier({modifier:B})):(R[B]=B,c[B]=!0):Object.hasOwnProperty.call(c,B)?this.raise(this.start,ce.DuplicateModifier({modifier:B})):(j(J,B,"static","readonly"),j(J,B,"static","override"),j(J,B,"override","readonly"),j(J,B,"abstract","override"),ee(J,B,"declare","override"),ee(J,B,"static","abstract"),R[B]=B,c[B]=!0),v?.includes(B)&&this.raise(this.start,$)}return R}tsParseInOutModifiers(c){this.tsParseModifiers({modified:c,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:ce.InvalidModifierOnTypeParameter})}parseMaybeUnary(c,m,v,w){return!e?.jsx&&this.tsMatchLeftRelational()?this.tsParseTypeAssertion():super.parseMaybeUnary(c,m,v,w)}tsParseTypeAssertion(){r&&this.raise(this.start,ce.ReservedTypeAssertion);let c=this.tryParse(()=>{let m=this.startNode(),v=this.tsTryNextParseConstantContext();return m.typeAnnotation=v||this.tsNextThenParseType(),this.expect(a.relational),m.expression=this.parseMaybeUnary(),this.finishNode(m,"TSTypeAssertion")});return c.error?this.tsParseTypeParameters(this.tsParseConstModifier):c.node}tsParseTypeArguments(){let c=this.startNode();return c.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(a.relational),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),c.params.length===0&&this.raise(this.start,ce.EmptyTypeArguments),this.exprAllowed=!1,this.expect(a.relational),this.finishNode(c,"TSTypeParameterInstantiation")}tsParseHeritageClause(c){let m=this.start,v=this.tsParseDelimitedList("HeritageClauseElement",()=>{let w=this.startNode();return w.expression=this.tsParseEntityName(),this.tsMatchLeftRelational()&&(w.typeParameters=this.tsParseTypeArguments()),this.finishNode(w,"TSExpressionWithTypeArguments")});return v.length||this.raise(m,ce.EmptyHeritageClauseType({token:c})),v}tsParseTypeMemberSemicolon(){!this.eat(a.comma)&&!this.isLineTerminator()&&this.expect(a.semi)}tsTryParseAndCatch(c){let m=this.tryParse(v=>c()||v());if(!(m.aborted||!m.node))return m.error&&this.setLookaheadState(m.failState),m.node}tsParseSignatureMember(c,m){return this.tsFillSignature(a.colon,m),this.tsParseTypeMemberSemicolon(),this.finishNode(m,c)}tsParsePropertyOrMethodSignature(c,m){this.eat(a.question)&&(c.optional=!0);let v=c;if(this.match(a.parenL)||this.tsMatchLeftRelational()){m&&this.raise(c.start,ce.ReadonlyForMethodSignature);let w=v;w.kind&&this.tsMatchLeftRelational()&&this.raise(this.start,ce.AccesorCannotHaveTypeParameters),this.tsFillSignature(a.colon,w),this.tsParseTypeMemberSemicolon();let $="parameters",R="typeAnnotation";if(w.kind==="get")w[$].length>0&&(this.raise(this.start,"A 'get' accesor must not have any formal parameters."),this.isThisParam(w[$][0])&&this.raise(this.start,ce.AccesorCannotDeclareThisParameter));else if(w.kind==="set"){if(w[$].length!==1)this.raise(this.start,"A 'get' accesor must not have any formal parameters.");else{let j=w[$][0];this.isThisParam(j)&&this.raise(this.start,ce.AccesorCannotDeclareThisParameter),j.type==="Identifier"&&j.optional&&this.raise(this.start,ce.SetAccesorCannotHaveOptionalParameter),j.type==="RestElement"&&this.raise(this.start,ce.SetAccesorCannotHaveRestParameter)}w[R]&&this.raise(w[R].start,ce.SetAccesorCannotHaveReturnType)}else w.kind="method";return this.finishNode(w,"TSMethodSignature")}else{let w=v;m&&(w.readonly=!0);let $=this.tsTryParseTypeAnnotation();return $&&(w.typeAnnotation=$),this.tsParseTypeMemberSemicolon(),this.finishNode(w,"TSPropertySignature")}}tsParseTypeMember(){let c=this.startNode();if(this.match(a.parenL)||this.tsMatchLeftRelational())return this.tsParseSignatureMember("TSCallSignatureDeclaration",c);if(this.match(a._new)){let v=this.startNode();return this.next(),this.match(a.parenL)||this.tsMatchLeftRelational()?this.tsParseSignatureMember("TSConstructSignatureDeclaration",c):(c.key=this.createIdentifier(v,"new"),this.tsParsePropertyOrMethodSignature(c,!1))}this.tsParseModifiers({modified:c,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]});let m=this.tsTryParseIndexSignature(c);return m||(this.parsePropertyName(c),!c.computed&&c.key.type==="Identifier"&&(c.key.name==="get"||c.key.name==="set")&&this.tsTokenCanFollowModifier()&&(c.kind=c.key.name,this.parsePropertyName(c)),this.tsParsePropertyOrMethodSignature(c,!!c.readonly))}tsParseList(c,m){let v=[];for(;!this.tsIsListTerminator(c);)v.push(m());return v}tsParseObjectTypeMembers(){this.expect(a.braceL);let c=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(a.braceR),c}tsParseInterfaceDeclaration(c,m={}){if(this.hasFollowingLineBreak())return null;this.expectContextual("interface"),m.declare&&(c.declare=!0),I(this.type)?(c.id=this.parseIdent(),this.checkLValSimple(c.id,Xe.BIND_TS_INTERFACE)):(c.id=null,this.raise(this.start,ce.MissingInterfaceName)),c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(a._extends)&&(c.extends=this.tsParseHeritageClause("extends"));let v=this.startNode();return v.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),c.body=this.finishNode(v,"TSInterfaceBody"),this.finishNode(c,"TSInterfaceDeclaration")}tsParseAbstractDeclaration(c){if(this.match(a._class))return c.abstract=!0,this.parseClass(c,!0);if(this.ts_isContextual(g.interface)){if(!this.hasFollowingLineBreak())return c.abstract=!0,this.tsParseInterfaceDeclaration(c)}else this.unexpected(c.start)}tsIsDeclarationStart(){return N(this.type)}tsParseExpressionStatement(c,m){switch(m.name){case"declare":{let v=this.tsTryParseDeclare(c);if(v)return v.declare=!0,v;break}case"global":if(this.match(a.braceL)){this.enterScope(Pl);let v=c;return v.global=!0,v.id=m,v.body=this.tsParseModuleBlock(),super.exitScope(),this.finishNode(v,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(c,m.name,!1)}}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsIsExportDefaultSpecifier(){let{type:c}=this,m=this.isAsyncFunction(),v=this.isLet();if(I(c)){if(m&&!this.containsEsc||v)return!1;if((c===g.type||c===g.interface)&&!this.containsEsc){let R=this.lookahead();if(I(R.type)&&!this.isContextualWithState("from",R)||R.type===a.braceL)return!1}}else if(!this.match(a._default))return!1;let w=this.nextTokenStart(),$=this.isUnparsedContextual(w,"from");if(this.input.charCodeAt(w)===44||I(this.type)&&$)return!0;if(this.match(a._default)&&$){let R=this.input.charCodeAt(this.nextTokenStartSince(w+4));return R===34||R===39}return!1}tsInAmbientContext(c){let m=this.isAmbientContext;this.isAmbientContext=!0;try{return c()}finally{this.isAmbientContext=m}}tsCheckLineTerminator(c){return c?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsParseModuleOrNamespaceDeclaration(c,m=!1){if(c.id=this.parseIdent(),m||this.checkLValSimple(c.id,Xe.BIND_TS_NAMESPACE),this.eat(a.dot)){let v=this.startNode();this.tsParseModuleOrNamespaceDeclaration(v,!0),c.body=v}else this.enterScope(Pl),c.body=this.tsParseModuleBlock(),super.exitScope();return this.finishNode(c,"TSModuleDeclaration")}checkLValSimple(c,m=Xe.BIND_NONE,v){return(c.type==="TSNonNullExpression"||c.type==="TSAsExpression")&&(c=c.expression),super.checkLValSimple(c,m,v)}tsParseTypeAliasDeclaration(c){return c.id=this.parseIdent(),this.checkLValSimple(c.id,Xe.BIND_TS_TYPE),c.typeAnnotation=this.tsInType(()=>{if(c.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.expect(a.eq),this.ts_isContextual(g.interface)&&this.lookahead().type!==a.dot){let m=this.startNode();return this.next(),this.finishNode(m,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(c,"TSTypeAliasDeclaration")}tsParseDeclaration(c,m,v){switch(m){case"abstract":if(this.tsCheckLineTerminator(v)&&(this.match(a._class)||I(this.type)))return this.tsParseAbstractDeclaration(c);break;case"module":if(this.tsCheckLineTerminator(v)){if(this.match(a.string))return this.tsParseAmbientExternalModuleDeclaration(c);if(I(this.type))return this.tsParseModuleOrNamespaceDeclaration(c)}break;case"namespace":if(this.tsCheckLineTerminator(v)&&I(this.type))return this.tsParseModuleOrNamespaceDeclaration(c);break;case"type":if(this.tsCheckLineTerminator(v)&&I(this.type))return this.tsParseTypeAliasDeclaration(c);break}}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.value,!0)}tsParseImportEqualsDeclaration(c,m){c.isExport=m||!1,c.id=this.parseIdent(),this.checkLValSimple(c.id,Xe.BIND_LEXICAL),super.expect(a.eq);let v=this.tsParseModuleReference();return c.importKind==="type"&&v.type!=="TSExternalModuleReference"&&this.raise(v.start,ce.ImportAliasHasImportType),c.moduleReference=v,super.semicolon(),this.finishNode(c,"TSImportEqualsDeclaration")}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;let{type:c}=this;if(I(c)){if(this.isContextual("async")||this.isContextual("let"))return!1;if((c===g.type||c===g.interface)&&!this.containsEsc){let w=this.lookahead();if(I(w.type)&&!this.isContextualWithState("from",w)||w.type===a.braceL)return!1}}else if(!this.match(a._default))return!1;let m=this.nextTokenStart(),v=this.isUnparsedContextual(m,"from");if(this.input.charCodeAt(m)===44||I(this.type)&&v)return!0;if(this.match(a._default)&&v){let w=this.input.charCodeAt(this.nextTokenStartSince(m+4));return w===34||w===39}return!1}parseTemplate({isTagged:c=!1}={}){let m=this.startNode();this.next(),m.expressions=[];let v=this.parseTemplateElement({isTagged:c});for(m.quasis=[v];!v.tail;)this.type===a.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(a.dollarBraceL),m.expressions.push(this.inType?this.tsParseType():this.parseExpression()),this.expect(a.braceR),m.quasis.push(v=this.parseTemplateElement({isTagged:c}));return this.next(),this.finishNode(m,"TemplateLiteral")}parseFunction(c,m,v,w,$){this.initFunction(c),(this.ecmaVersion>=9||this.ecmaVersion>=6&&!w)&&(this.type===a.star&&m&PP&&this.unexpected(),c.generator=this.eat(a.star)),this.ecmaVersion>=8&&(c.async=!!w),m&nd&&(c.id=m&PG&&this.type!==a.name?null:this.parseIdent());let R=this.yieldPos,j=this.awaitPos,ee=this.awaitIdentPos,J=this.maybeInArrowParameters;this.maybeInArrowParameters=!1,this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yw(c.async,c.generator)),m&nd||(c.id=this.type===a.name?this.parseIdent():null),this.parseFunctionParams(c);let B=m&nd;return this.parseFunctionBody(c,v,!1,$,{isFunctionDeclaration:B}),this.yieldPos=R,this.awaitPos=j,this.awaitIdentPos=ee,m&nd&&c.id&&!(m&PP)&&(c.body?this.checkLValSimple(c.id,this.strict||c.generator||c.async?this.treatFunctionsAsVar?Xe.BIND_VAR:Xe.BIND_LEXICAL:Xe.BIND_FUNCTION):this.checkLValSimple(c.id,Xe.BIND_NONE)),this.maybeInArrowParameters=J,this.finishNode(c,B?"FunctionDeclaration":"FunctionExpression")}parseFunctionBody(c,m=!1,v=!1,w=!1,$){this.match(a.colon)&&(c.returnType=this.tsParseTypeOrTypePredicateAnnotation(a.colon));let R=$?.isFunctionDeclaration?"TSDeclareFunction":$?.isClassMethod?"TSDeclareMethod":void 0;return R&&!this.match(a.braceL)&&this.isLineTerminator()?this.finishNode(c,R):R==="TSDeclareFunction"&&this.isAmbientContext&&(this.raise(c.start,ce.DeclareFunctionHasImplementation),c.declare)?(super.parseFunctionBody(c,m,v,!1),this.finishNode(c,R)):(super.parseFunctionBody(c,m,v,w),c)}parseNew(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");let c=this.startNode(),m=this.parseIdent(!0);if(this.ecmaVersion>=6&&this.eat(a.dot)){c.meta=m;let j=this.containsEsc;return c.property=this.parseIdent(!0),c.property.name!=="target"&&this.raiseRecoverable(c.property.start,"The only valid meta property for new is 'new.target'"),j&&this.raiseRecoverable(c.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(c.start,"'new.target' can only be used in functions and class static block"),this.finishNode(c,"MetaProperty")}let v=this.start,w=this.startLoc,$=this.type===a._import;c.callee=this.parseSubscripts(this.parseExprAtom(),v,w,!0,!1),$&&c.callee.type==="ImportExpression"&&this.raise(v,"Cannot use new with import()");let{callee:R}=c;return R.type==="TSInstantiationExpression"&&!R.extra?.parenthesized&&(c.typeArguments=R.typeArguments,c.callee=R.expression),this.eat(a.parenL)?c.arguments=this.parseExprList(a.parenR,this.ecmaVersion>=8,!1):c.arguments=[],this.finishNode(c,"NewExpression")}parseExprOp(c,m,v,w,$){if(a._in.binop>w&&!this.hasPrecedingLineBreak()){let R;if(this.isContextual("as")&&(R="TSAsExpression"),this.isContextual("satisfies")&&(R="TSSatisfiesExpression"),R){let j=this.startNodeAt(m,v);j.expression=c;let ee=this.tsTryNextParseConstantContext();return ee?j.typeAnnotation=ee:j.typeAnnotation=this.tsNextThenParseType(),this.finishNode(j,R),this.reScan_lt_gt(),this.parseExprOp(j,m,v,w,$)}}return super.parseExprOp(c,m,v,w,$)}parseImportSpecifiers(){let c=[],m=!0;if(s.tokenIsIdentifier(this.type)&&(c.push(this.parseImportDefaultSpecifier()),!this.eat(a.comma)))return c;if(this.type===a.star)return c.push(this.parseImportNamespaceSpecifier()),c;for(this.expect(a.braceL);!this.eat(a.braceR);){if(m)m=!1;else if(this.expect(a.comma),this.afterTrailingComma(a.braceR))break;c.push(this.parseImportSpecifier())}return c}parseImport(c){let m=this.lookahead();if(c.importKind="value",this.importOrExportOuterKind="value",I(m.type)||this.match(a.star)||this.match(a.braceL)){let v=this.lookahead(2);if(v.type!==a.comma&&!this.isContextualWithState("from",v)&&v.type!==a.eq&&this.ts_eatContextualWithState("type",1,m)&&(this.importOrExportOuterKind="type",c.importKind="type",m=this.lookahead(),v=this.lookahead(2)),I(m.type)&&v.type===a.eq){this.next();let w=this.tsParseImportEqualsDeclaration(c);return this.importOrExportOuterKind="value",w}}return this.next(),this.type===a.string?(c.specifiers=[],c.source=this.parseExprAtom()):(c.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),c.source=this.type===a.string?this.parseExprAtom():this.unexpected()),this.parseMaybeImportAttributes(c),this.semicolon(),this.finishNode(c,"ImportDeclaration"),this.importOrExportOuterKind="value",c.importKind==="type"&&c.specifiers.length>1&&c.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(c.start,ce.TypeImportCannotSpecifyDefaultAndNamed),c}parseExportDefaultDeclaration(){if(this.isAbstractClass()){let c=this.startNode();return this.next(),c.abstract=!0,this.parseClass(c,!0)}if(this.match(g.interface)){let c=this.tsParseInterfaceDeclaration(this.startNode());if(c)return c}return super.parseExportDefaultDeclaration()}parseExportAllDeclaration(c,m){return this.ecmaVersion>=11&&(this.eatContextual("as")?(c.exported=this.parseModuleExportName(),this.checkExport(m,c.exported,this.lastTokStart)):c.exported=null),this.expectContextual("from"),this.type!==a.string&&this.unexpected(),c.source=this.parseExprAtom(),this.parseMaybeImportAttributes(c),this.semicolon(),this.finishNode(c,"ExportAllDeclaration")}parseDynamicImport(c){if(this.next(),c.source=this.parseMaybeAssign(),this.eat(a.comma)){let m=this.parseExpression();c.arguments=[m]}if(!this.eat(a.parenR)){let m=this.start;this.eat(a.comma)&&this.eat(a.parenR)?this.raiseRecoverable(m,"Trailing comma is not allowed in import()"):this.unexpected(m)}return this.finishNode(c,"ImportExpression")}parseExport(c,m){let v=this.lookahead();if(this.ts_eatWithState(a._import,2,v)){this.ts_isContextual(g.type)&&this.lookaheadCharCode()!==61?(c.importKind="type",this.importOrExportOuterKind="type",this.next()):(c.importKind="value",this.importOrExportOuterKind="value");let w=this.tsParseImportEqualsDeclaration(c,!0);return this.importOrExportOuterKind=void 0,w}else if(this.ts_eatWithState(a.eq,2,v)){let w=c;return w.expression=this.parseExpression(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(w,"TSExportAssignment")}else if(this.ts_eatContextualWithState("as",2,v)){let w=c;return this.expectContextual("namespace"),w.id=this.parseIdent(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(w,"TSNamespaceExportDeclaration")}else{if(this.ts_isContextualWithState(v,g.type)&&this.lookahead(2).type===a.braceL?(this.next(),this.importOrExportOuterKind="type",c.exportKind="type"):(this.importOrExportOuterKind="value",c.exportKind="value"),this.next(),this.eat(a.star))return this.parseExportAllDeclaration(c,m);if(this.eat(a._default))return this.checkExport(m,"default",this.lastTokStart),c.declaration=this.parseExportDefaultDeclaration(),this.finishNode(c,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())c.declaration=this.parseExportDeclaration(c),c.declaration.type==="VariableDeclaration"?this.checkVariableExport(m,c.declaration.declarations):this.checkExport(m,c.declaration.id,c.declaration.id.start),c.specifiers=[],c.source=null;else{if(c.declaration=null,c.specifiers=this.parseExportSpecifiers(m),this.eatContextual("from"))this.type!==a.string&&this.unexpected(),c.source=this.parseExprAtom(),this.parseMaybeImportAttributes(c);else{for(let w of c.specifiers)this.checkUnreserved(w.local),this.checkLocalExport(w.local),w.local.type==="Literal"&&this.raise(w.local.start,"A string literal cannot be used as an exported binding without `from`.");c.source=null}this.semicolon()}return this.finishNode(c,"ExportNamedDeclaration")}}checkExport(c,m,v){c&&(typeof m!="string"&&(m=m.type==="Identifier"?m.name:m.value),c[m]=!0)}parseMaybeDefault(c,m,v){let w=super.parseMaybeDefault(c,m,v);return w.type==="AssignmentPattern"&&w.typeAnnotation&&w.right.start<w.typeAnnotation.start&&this.raise(w.typeAnnotation.start,ce.TypeAnnotationAfterAssign),w}typeCastToParameter(c){return c.expression.typeAnnotation=c.typeAnnotation,this.resetEndLocation(c.expression,c.typeAnnotation.end,c.typeAnnotation.loc?.end),c.expression}toAssignableList(c,m){for(let v=0;v<c.length;v++){let w=c[v];w?.type==="TSTypeCastExpression"&&(c[v]=this.typeCastToParameter(w))}return super.toAssignableList(c,m)}reportReservedArrowTypeParam(c){c.params.length===1&&!c.extra?.trailingComma&&r&&this.raise(c.start,ce.ReservedArrowTypeParam)}parseExprAtom(c,m,v){if(this.type===g.jsxText)return this.jsx_parseText();if(this.type===g.jsxTagStart)return this.jsx_parseElement();if(this.type===g.at)return this.parseDecorators(),this.parseExprAtom();if(I(this.type)){let w=this.potentialArrowAt===this.start,$=this.start,R=this.startLoc,j=this.containsEsc,ee=this.parseIdent(!1);if(this.ecmaVersion>=8&&!j&&ee.name==="async"&&!this.canInsertSemicolon()&&this.eat(a._function))return this.overrideContext(h.f_expr),this.parseFunction(this.startNodeAt($,R),0,!1,!0,m);if(w&&!this.canInsertSemicolon()){if(this.eat(a.arrow))return this.parseArrowExpression(this.startNodeAt($,R),[ee],!1,m);if(this.ecmaVersion>=8&&ee.name==="async"&&this.type===a.name&&!j&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return ee=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(a.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt($,R),[ee],!0,m)}return ee}else return super.parseExprAtom(c,m,v)}parseExprAtomDefault(){if(I(this.type)){let c=this.potentialArrowAt===this.start,m=this.containsEsc,v=this.parseIdent();if(!m&&v.name==="async"&&!this.canInsertSemicolon()){let{type:w}=this;if(w===a._function)return this.next(),this.parseFunction(this.startNodeAtNode(v),void 0,!0,!0);if(I(w))if(this.lookaheadCharCode()===61){let $=this.parseIdent(!1);return(this.canInsertSemicolon()||!this.eat(a.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAtNode(v),[$],!0)}else return v}return c&&this.match(a.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(v),[v],!1)):v}else this.unexpected()}parseIdentNode(){let c=this.startNode();if(V(this.type)&&!((this.type.keyword==="class"||this.type.keyword==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)))c.name=this.value;else return super.parseIdentNode();return c}parseVarStatement(c,m,v=!1){let{isAmbientContext:w}=this;this.next(),super.parseVar(c,!1,m,v||w),this.semicolon();let $=this.finishNode(c,"VariableDeclaration");if(!w)return $;for(let{id:R,init:j}of $.declarations)j&&(m!=="const"||R.typeAnnotation?this.raise(j.start,ce.InitializerNotAllowedInAmbientContext):j.type!=="StringLiteral"&&j.type!=="BooleanLiteral"&&j.type!=="NumericLiteral"&&j.type!=="BigIntLiteral"&&(j.type!=="TemplateLiteral"||j.expressions.length>0)&&!RG(j)&&this.raise(j.start,ce.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));return $}parseStatement(c,m,v){if(this.match(g.at)&&this.parseDecorators(!0),this.match(a._const)&&this.isLookaheadContextual("enum")){let w=this.startNode();return this.expect(a._const),this.tsParseEnumDeclaration(w,{const:!0})}if(this.ts_isContextual(g.enum))return this.tsParseEnumDeclaration(this.startNode());if(this.ts_isContextual(g.interface)){let w=this.tsParseInterfaceDeclaration(this.startNode());if(w)return w}return super.parseStatement(c,m,v)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}parsePostMemberNameModifiers(c){this.eat(a.question)&&(c.optional=!0),c.readonly&&this.match(a.parenL)&&this.raise(c.start,ce.ClassMethodHasReadonly),c.declare&&this.match(a.parenL)&&this.raise(c.start,ce.ClassMethodHasDeclare)}parseExpressionStatement(c,m){return(m.type==="Identifier"?this.tsParseExpressionStatement(c,m):void 0)||super.parseExpressionStatement(c,m)}shouldParseExportStatement(){return this.tsIsDeclarationStart()||this.match(g.at)?!0:super.shouldParseExportStatement()}parseConditional(c,m,v,w,$){if(this.eat(a.question)){let R=this.startNodeAt(m,v);return R.test=c,R.consequent=this.parseMaybeAssign(),this.expect(a.colon),R.alternate=this.parseMaybeAssign(w),this.finishNode(R,"ConditionalExpression")}return c}parseMaybeConditional(c,m){let v=this.start,w=this.startLoc,$=this.parseExprOps(c,m);if(this.checkExpressionErrors(m))return $;if(!this.maybeInArrowParameters||!this.match(a.question))return this.parseConditional($,v,w,c,m);let R=this.tryParse(()=>this.parseConditional($,v,w,c,m));return R.node?(R.error&&this.setLookaheadState(R.failState),R.node):(R.error&&this.setOptionalParametersError(m,R.error),$)}parseParenItem(c){let m=this.start,v=this.startLoc;if(c=super.parseParenItem(c),this.eat(a.question)&&(c.optional=!0,this.resetEndLocation(c)),this.match(a.colon)){let w=this.startNodeAt(m,v);return w.expression=c,w.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(w,"TSTypeCastExpression")}return c}parseExportDeclaration(c){if(!this.isAmbientContext&&this.ts_isContextual(g.declare))return this.tsInAmbientContext(()=>this.parseExportDeclaration(c));let m=this.start,v=this.startLoc,w=this.eatContextual("declare");w&&(this.ts_isContextual(g.declare)||!this.shouldParseExportStatement())&&this.raise(this.start,ce.ExpectedAmbientAfterExportDeclare);let R=I(this.type)&&this.tsTryParseExportDeclaration()||this.parseStatement(null);return R?((R.type==="TSInterfaceDeclaration"||R.type==="TSTypeAliasDeclaration"||w)&&(c.exportKind="type"),w&&(this.resetStartLocation(R,m,v),R.declare=!0),R):null}parseClassId(c,m){if(!m&&this.isContextual("implements"))return;super.parseClassId(c,m);let v=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));v&&(c.typeParameters=v)}parseClassPropertyAnnotation(c){c.optional||(this.value==="!"&&this.eat(a.prefix)?c.definite=!0:this.eat(a.question)&&(c.optional=!0));let m=this.tsTryParseTypeAnnotation();m&&(c.typeAnnotation=m)}parseClassField(c){if(c.key.type==="PrivateIdentifier")c.abstract&&this.raise(c.start,ce.PrivateElementHasAbstract),c.accessibility&&this.raise(c.start,ce.PrivateElementHasAccessibility({modifier:c.accessibility})),this.parseClassPropertyAnnotation(c);else if(this.parseClassPropertyAnnotation(c),this.isAmbientContext&&!(c.readonly&&!c.typeAnnotation)&&this.match(a.eq)&&this.raise(this.start,ce.DeclareClassFieldHasInitializer),c.abstract&&this.match(a.eq)){let{key:v}=c;this.raise(this.start,ce.AbstractPropertyHasInitializer({propertyName:v.type==="Identifier"&&!c.computed?v.name:`[${this.input.slice(v.start,v.end)}]`}))}return super.parseClassField(c)}parseClassMethod(c,m,v,w){let $=c.kind==="constructor",R=c.key.type==="PrivateIdentifier",j=this.tsTryParseTypeParameters(this.tsParseConstModifier);R?(j&&(c.typeParameters=j),c.accessibility&&this.raise(c.start,ce.PrivateMethodsHasAccessibility({modifier:c.accessibility}))):j&&$&&this.raise(j.start,ce.ConstructorHasTypeParameters);let{declare:ee=!1,kind:J}=c;ee&&(J==="get"||J==="set")&&this.raise(c.start,ce.DeclareAccessor({kind:J})),j&&(c.typeParameters=j);let B=c.key;c.kind==="constructor"?(m&&this.raise(B.start,"Constructor can't be a generator"),v&&this.raise(B.start,"Constructor can't be an async method")):c.static&&IP(c,"prototype")&&this.raise(B.start,"Classes may not have a static property named prototype");let xe=c.value=this.parseMethod(m,v,w,!0,c);return c.kind==="get"&&xe.params.length!==0&&this.raiseRecoverable(xe.start,"getter should have no params"),c.kind==="set"&&xe.params.length!==1&&this.raiseRecoverable(xe.start,"setter should have exactly one param"),c.kind==="set"&&xe.params[0].type==="RestElement"&&this.raiseRecoverable(xe.params[0].start,"Setter cannot use rest params"),this.finishNode(c,"MethodDefinition")}isClassMethod(){return this.match(a.relational)}parseClassElement(c){if(this.eat(a.semi))return null;let m=this.startNode(),v="",w=!1,$=!1,R="method",j=!1,ee=["declare","private","public","protected","accessor","override","abstract","readonly","static"];j=!!this.tsParseModifiers({modified:m,allowedModifiers:ee,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:ce.InvalidModifierOnTypeParameterPositions}).static;let B=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(m,ee)&&this.raise(this.start,ce.StaticBlockCannotHaveModifier),this.ecmaVersion>=13)return super.parseClassStaticBlock(m),m}else{let xe=this.tsTryParseIndexSignature(m);if(xe)return m.abstract&&this.raise(m.start,ce.IndexSignatureHasAbstract),m.accessibility&&this.raise(m.start,ce.IndexSignatureHasAccessibility({modifier:m.accessibility})),m.declare&&this.raise(m.start,ce.IndexSignatureHasDeclare),m.override&&this.raise(m.start,ce.IndexSignatureHasOverride),xe;if(!this.inAbstractClass&&m.abstract&&this.raise(m.start,ce.NonAbstractClassHasAbstractMethod),m.override&&(c||this.raise(m.start,ce.OverrideNotInSubClass)),m.static=j,j&&(this.isClassElementNameStart()||this.type===a.star||(v="static")),!v&&this.ecmaVersion>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===a.star)&&!this.canInsertSemicolon()?$=!0:v="async"),!v&&(this.ecmaVersion>=9||!$)&&this.eat(a.star)&&(w=!0),!v&&!$&&!w){let Ze=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?R=Ze:v=Ze)}if(v?(m.computed=!1,m.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),m.key.name=v,this.finishNode(m.key,"Identifier")):this.parseClassElementName(m),this.parsePostMemberNameModifiers(m),this.isClassMethod()||this.ecmaVersion<13||this.type===a.parenL||R!=="method"||w||$){let Ze=!m.static&&IP(m,"constructor"),Me=Ze&&c;Ze&&R!=="method"&&this.raise(m.key.start,"Constructor can't have get/set modifier"),m.kind=Ze?"constructor":R,this.parseClassMethod(m,w,$,Me)}else this.parseClassField(m);return m}};return m.declare?this.tsInAmbientContext(B):B(),m}isClassElementNameStart(){return this.tsIsIdentifier()?!0:super.isClassElementNameStart()}parseClassSuper(c){super.parseClassSuper(c),c.superClass&&(this.tsMatchLeftRelational()||this.match(a.bitShift))&&(c.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual("implements")&&(c.implements=this.tsParseHeritageClause("implements"))}parseFunctionParams(c){let m=this.tsTryParseTypeParameters(this.tsParseConstModifier);m&&(c.typeParameters=m),super.parseFunctionParams(c)}parseVarId(c,m){super.parseVarId(c,m),c.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.value==="!"&&this.eat(a.prefix)&&(c.definite=!0);let v=this.tsTryParseTypeAnnotation();v&&(c.id.typeAnnotation=v,this.resetEndLocation(c.id))}parseArrowExpression(c,m,v,w){this.match(a.colon)&&(c.returnType=this.tsParseTypeAnnotation());let $=this.yieldPos,R=this.awaitPos,j=this.awaitIdentPos;this.enterScope(Yw(v,!1)|Xe.SCOPE_ARROW),this.initFunction(c);let ee=this.maybeInArrowParameters;return this.ecmaVersion>=8&&(c.async=!!v),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.maybeInArrowParameters=!0,c.params=this.toAssignableList(m,!0),this.maybeInArrowParameters=!1,this.parseFunctionBody(c,!0,!1,w),this.yieldPos=$,this.awaitPos=R,this.awaitIdentPos=j,this.maybeInArrowParameters=ee,this.finishNode(c,"ArrowFunctionExpression")}parseMaybeAssignOrigin(c,m,v){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(c);this.exprAllowed=!1}let w=!1,$=-1,R=-1,j=-1;m?($=m.parenthesizedAssign,R=m.trailingComma,j=m.doubleProto,m.parenthesizedAssign=m.trailingComma=-1):(m=new Rl,w=!0);let ee=this.start,J=this.startLoc;(this.type===a.parenL||I(this.type))&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=c==="await");let B=this.parseMaybeConditional(c,m);if(v&&(B=v.call(this,B,ee,J)),this.type.isAssign){let xe=this.startNodeAt(ee,J);return xe.operator=this.value,this.type===a.eq&&(B=this.toAssignable(B,!0,m)),w||(m.parenthesizedAssign=m.trailingComma=m.doubleProto=-1),m.shorthandAssign>=B.start&&(m.shorthandAssign=-1),this.maybeInArrowParameters||(this.type===a.eq?this.checkLValPattern(B):this.checkLValSimple(B)),xe.left=B,this.next(),xe.right=this.parseMaybeAssign(c),j>-1&&(m.doubleProto=j),this.finishNode(xe,"AssignmentExpression")}else w&&this.checkExpressionErrors(m,!0);return $>-1&&(m.parenthesizedAssign=$),R>-1&&(m.trailingComma=R),B}parseMaybeAssign(c,m,v){let w,$,R;if(e?.jsx&&(this.matchJsx("jsxTagStart")||this.tsMatchLeftRelational())){if(w=this.cloneCurLookaheadState(),$=this.tryParse(()=>this.parseMaybeAssignOrigin(c,m,v),w),!$.error)return $.node;let J=this.context,B=J[J.length-1],xe=J[J.length-2];B===s.tokContexts.tc_oTag&&xe===s.tokContexts.tc_expr?(J.pop(),J.pop()):(B===s.tokContexts.tc_oTag||B===s.tokContexts.tc_expr)&&J.pop()}if(!$?.error&&!this.tsMatchLeftRelational())return this.parseMaybeAssignOrigin(c,m,v);(!w||this.compareLookaheadState(w,this.getCurLookaheadState()))&&(w=this.cloneCurLookaheadState());let j,ee=this.tryParse(J=>{j=this.tsParseTypeParameters(this.tsParseConstModifier);let B=this.parseMaybeAssignOrigin(c,m,v);return(B.type!=="ArrowFunctionExpression"||B.extra?.parenthesized)&&J(),j?.params.length!==0&&this.resetStartLocationFromNode(B,j),B.typeParameters=j,B},w);if(!ee.error&&!ee.aborted)return j&&this.reportReservedArrowTypeParam(j),ee.node;if(!$&&(AP(!0),R=this.tryParse(()=>this.parseMaybeAssignOrigin(c,m,v),w),!R.error))return R.node;if($?.node)return this.setLookaheadState($.failState),$.node;if(ee.node)return this.setLookaheadState(ee.failState),j&&this.reportReservedArrowTypeParam(j),ee.node;if(R?.node)return this.setLookaheadState(R.failState),R.node;throw $?.thrown?$.error:ee.thrown?ee.error:R?.thrown?R.error:$?.error||ee.error||R?.error}parseAssignableListItem(c){let m=[];for(;this.match(g.at);)m.push(this.parseDecorator());let v=this.start,w=this.startLoc,$,R=!1,j=!1;if(c!==void 0){let B={};this.tsParseModifiers({modified:B,allowedModifiers:["public","private","protected","override","readonly"]}),$=B.accessibility,j=B.override,R=B.readonly,c===!1&&($||R||j)&&this.raise(w.start,ce.UnexpectedParameterModifier)}let ee=this.parseMaybeDefault(v,w);this.parseBindingListItem(ee);let J=this.parseMaybeDefault(ee.start,ee.loc,ee);if(m.length&&(J.decorators=m),$||R||j){let B=this.startNodeAt(v,w);return $&&(B.accessibility=$),R&&(B.readonly=R),j&&(B.override=j),J.type!=="Identifier"&&J.type!=="AssignmentPattern"&&this.raise(B.start,ce.UnsupportedParameterPropertyKind),B.parameter=J,this.finishNode(B,"TSParameterProperty")}return J}checkLValInnerPattern(c,m=Xe.BIND_NONE,v){switch(c.type){case"TSParameterProperty":this.checkLValInnerPattern(c.parameter,m,v);break;default:{super.checkLValInnerPattern(c,m,v);break}}}parseBindingListItem(c){this.eat(a.question)&&(c.type!=="Identifier"&&!this.isAmbientContext&&!this.inType&&this.raise(c.start,ce.PatternIsOptional),c.optional=!0);let m=this.tsTryParseTypeAnnotation();return m&&(c.typeAnnotation=m),this.resetEndLocation(c),c}isAssignable(c,m){switch(c.type){case"TSTypeCastExpression":return this.isAssignable(c.expression,m);case"TSParameterProperty":return!0;case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let v=c.properties.length-1;return c.properties.every((w,$)=>w.type!=="ObjectMethod"&&($===v||w.type!=="SpreadElement")&&this.isAssignable(w))}case"Property":case"ObjectProperty":return this.isAssignable(c.value);case"SpreadElement":return this.isAssignable(c.argument);case"ArrayExpression":return c.elements.every(v=>v===null||this.isAssignable(v));case"AssignmentExpression":return c.operator==="=";case"ParenthesizedExpression":return this.isAssignable(c.expression);case"MemberExpression":case"OptionalMemberExpression":return!m;default:return!1}}toAssignable(c,m=!1,v=new Rl){switch(c.type){case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(c,m,v);case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":return m||this.raise(c.start,ce.UnexpectedTypeCastInParameter),this.toAssignable(c.expression,m,v);case"MemberExpression":break;case"AssignmentExpression":return!m&&c.left.type==="TSTypeCastExpression"&&(c.left=this.typeCastToParameter(c.left)),super.toAssignable(c,m,v);case"TSTypeCastExpression":return this.typeCastToParameter(c);default:return super.toAssignable(c,m,v)}return c}toAssignableParenthesizedExpression(c,m,v){switch(c.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return this.toAssignable(c.expression,m,v);default:return super.toAssignable(c,m,v)}}parseBindingAtom(){switch(this.type){case a._this:return this.parseIdent(!0);default:return super.parseBindingAtom()}}shouldParseArrow(c){let m;if(this.match(a.colon)?m=c.every(v=>this.isAssignable(v,!0)):m=!this.canInsertSemicolon(),m){if(this.match(a.colon)){let v=this.tryParse(w=>{let $=this.tsParseTypeOrTypePredicateAnnotation(a.colon);return(this.canInsertSemicolon()||!this.match(a.arrow))&&w(),$});if(v.aborted)return this.shouldParseArrowReturnType=void 0,!1;v.thrown||(v.error&&this.setLookaheadState(v.failState),this.shouldParseArrowReturnType=v.node)}return this.match(a.arrow)?!0:(this.shouldParseArrowReturnType=void 0,!1)}return this.shouldParseArrowReturnType=void 0,m}parseParenArrowList(c,m,v,w){let $=this.startNodeAt(c,m);return $.returnType=this.shouldParseArrowReturnType,this.shouldParseArrowReturnType=void 0,this.parseArrowExpression($,v,!1,w)}parseParenAndDistinguishExpression(c,m){let v=this.start,w=this.startLoc,$,R=this.ecmaVersion>=8;if(this.ecmaVersion>=6){let j=this.maybeInArrowParameters;this.maybeInArrowParameters=!0,this.next();let ee=this.start,J=this.startLoc,B=[],xe=!0,Ze=!1,Me=new Rl,Pt=this.yieldPos,Rt=this.awaitPos,Nt;for(this.yieldPos=0,this.awaitPos=0;this.type!==a.parenR;)if(xe?xe=!1:this.expect(a.comma),R&&this.afterTrailingComma(a.parenR,!0)){Ze=!0;break}else if(this.type===a.ellipsis){Nt=this.start,B.push(this.parseParenItem(this.parseRestBinding())),this.type===a.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else B.push(this.parseMaybeAssign(m,Me,this.parseParenItem));let sr=this.lastTokEnd,Ot=this.lastTokEndLoc;if(this.expect(a.parenR),this.maybeInArrowParameters=j,c&&this.shouldParseArrow(B)&&this.eat(a.arrow))return this.checkPatternErrors(Me,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Pt,this.awaitPos=Rt,this.parseParenArrowList(v,w,B,m);(!B.length||Ze)&&this.unexpected(this.lastTokStart),Nt&&this.unexpected(Nt),this.checkExpressionErrors(Me,!0),this.yieldPos=Pt||this.yieldPos,this.awaitPos=Rt||this.awaitPos,B.length>1?($=this.startNodeAt(ee,J),$.expressions=B,this.finishNodeAt($,"SequenceExpression",sr,Ot)):$=B[0]}else $=this.parseParenExpression();if(this.options.preserveParens){let j=this.startNodeAt(v,w);return j.expression=$,this.finishNode(j,"ParenthesizedExpression")}else return $}parseTaggedTemplateExpression(c,m,v,w){let $=this.startNodeAt(m,v);return $.tag=c,$.quasi=this.parseTemplate({isTagged:!0}),w&&this.raise(m,"Tagged Template Literals are not allowed in optionalChain."),this.finishNode($,"TaggedTemplateExpression")}shouldParseAsyncArrow(){if(this.match(a.colon)){let c=this.tryParse(m=>{let v=this.tsParseTypeOrTypePredicateAnnotation(a.colon);return(this.canInsertSemicolon()||!this.match(a.arrow))&&m(),v});if(c.aborted)return this.shouldParseAsyncArrowReturnType=void 0,!1;if(!c.thrown)return c.error&&this.setLookaheadState(c.failState),this.shouldParseAsyncArrowReturnType=c.node,!this.canInsertSemicolon()&&this.eat(a.arrow)}else return!this.canInsertSemicolon()&&this.eat(a.arrow)}parseSubscriptAsyncArrow(c,m,v,w){let $=this.startNodeAt(c,m);return $.returnType=this.shouldParseAsyncArrowReturnType,this.shouldParseAsyncArrowReturnType=void 0,this.parseArrowExpression($,v,!0,w)}parseExprList(c,m,v,w){let $=[],R=!0;for(;!this.eat(c);){if(R)R=!1;else if(this.expect(a.comma),m&&this.afterTrailingComma(c))break;let j;v&&this.type===a.comma?j=null:this.type===a.ellipsis?(j=this.parseSpread(w),this.maybeInArrowParameters&&this.match(a.colon)&&(j.typeAnnotation=this.tsParseTypeAnnotation()),w&&this.type===a.comma&&w.trailingComma<0&&(w.trailingComma=this.start)):j=this.parseMaybeAssign(!1,w,this.parseParenItem),$.push(j)}return $}parseSubscript(c,m,v,w,$,R,j){let ee=R;if(!this.hasPrecedingLineBreak()&&this.value==="!"&&this.match(a.prefix)){this.exprAllowed=!1,this.next();let Me=this.startNodeAt(m,v);return Me.expression=c,c=this.finishNode(Me,"TSNonNullExpression"),c}let J=!1;if(this.match(a.questionDot)&&this.lookaheadCharCode()===60){if(w)return c;c.optional=!0,ee=J=!0,this.next()}if(this.tsMatchLeftRelational()||this.match(a.bitShift)){let Me,Pt=this.tsTryParseAndCatch(()=>{if(!w&&this.atPossibleAsyncArrow(c)){let Ot=this.tsTryParseGenericAsyncArrowFunction(m,v,j);if(Ot)return c=Ot,c}let Rt=this.tsParseTypeArgumentsInExpression();if(!Rt)return c;if(J&&!this.match(a.parenL))return Me=this.curPosition(),c;if(T(this.type)||this.type===a.backQuote){let Ot=this.parseTaggedTemplateExpression(c,m,v,ee);return Ot.typeArguments=Rt,Ot}if(!w&&this.eat(a.parenL)){let Ot=new Rl,Wt=this.startNodeAt(m,v);return Wt.callee=c,Wt.arguments=this.parseExprList(a.parenR,this.ecmaVersion>=8,!1,Ot),this.tsCheckForInvalidTypeCasts(Wt.arguments),Wt.typeArguments=Rt,ee&&(Wt.optional=J),this.checkExpressionErrors(Ot,!0),c=this.finishNode(Wt,"CallExpression"),c}let Nt=this.type;if(this.tsMatchRightRelational()||Nt===a.bitShift||Nt!==a.parenL&&NG(Nt)&&!this.hasPrecedingLineBreak())return;let sr=this.startNodeAt(m,v);return sr.expression=c,sr.typeArguments=Rt,this.finishNode(sr,"TSInstantiationExpression")});if(Me&&this.unexpected(Me),Pt)return Pt.type==="TSInstantiationExpression"&&(this.match(a.dot)||this.match(a.questionDot)&&this.lookaheadCharCode()!==40)&&this.raise(this.start,ce.InvalidPropertyAccessAfterInstantiationExpression),c=Pt,c}let B=this.ecmaVersion>=11,xe=B&&this.eat(a.questionDot);w&&xe&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");let Ze=this.eat(a.bracketL);if(Ze||xe&&this.type!==a.parenL&&this.type!==a.backQuote||this.eat(a.dot)){let Me=this.startNodeAt(m,v);Me.object=c,Ze?(Me.property=this.parseExpression(),this.expect(a.bracketR)):this.type===a.privateId&&c.type!=="Super"?Me.property=this.parsePrivateIdent():Me.property=this.parseIdent(this.options.allowReserved!=="never"),Me.computed=!!Ze,B&&(Me.optional=xe),c=this.finishNode(Me,"MemberExpression")}else if(!w&&this.eat(a.parenL)){let Me=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;let Pt=new Rl,Rt=this.yieldPos,Nt=this.awaitPos,sr=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;let Ot=this.parseExprList(a.parenR,this.ecmaVersion>=8,!1,Pt);if($&&!xe&&this.shouldParseAsyncArrow())this.checkPatternErrors(Pt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Rt,this.awaitPos=Nt,this.awaitIdentPos=sr,c=this.parseSubscriptAsyncArrow(m,v,Ot,j);else{this.checkExpressionErrors(Pt,!0),this.yieldPos=Rt||this.yieldPos,this.awaitPos=Nt||this.awaitPos,this.awaitIdentPos=sr||this.awaitIdentPos;let Wt=this.startNodeAt(m,v);Wt.callee=c,Wt.arguments=Ot,B&&(Wt.optional=xe),c=this.finishNode(Wt,"CallExpression")}this.maybeInArrowParameters=Me}else if(this.type===a.backQuote){(xe||ee)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");let Me=this.startNodeAt(m,v);Me.tag=c,Me.quasi=this.parseTemplate({isTagged:!0}),c=this.finishNode(Me,"TaggedTemplateExpression")}return c}parseGetterSetter(c){c.kind=c.key.name,this.parsePropertyName(c),c.value=this.parseMethod(!1);let m=c.kind==="get"?0:1,v=c.value.params[0];if(m=v&&this.isThisParam(v)?m+1:m,c.value.params.length!==m){let $=c.value.start;c.kind==="get"?this.raiseRecoverable($,"getter should have no params"):this.raiseRecoverable($,"setter should have exactly one param")}else c.kind==="set"&&c.value.params[0].type==="RestElement"&&this.raiseRecoverable(c.value.params[0].start,"Setter cannot use rest params")}parseProperty(c,m){if(!c){let v=[];if(this.match(g.at))for(;this.match(g.at);)v.push(this.parseDecorator());let w=super.parseProperty(c,m);return w.type==="SpreadElement"&&v.length&&this.raise(w.start,id.SpreadElementDecorator),v.length&&(w.decorators=v,v=[]),w}return super.parseProperty(c,m)}parseCatchClauseParam(){let c=this.parseBindingAtom(),m=c.type==="Identifier";this.enterScope(m?Xe.SCOPE_SIMPLE_CATCH:0),this.checkLValPattern(c,m?Xe.BIND_SIMPLE_CATCH:Xe.BIND_LEXICAL);let v=this.tsTryParseTypeAnnotation();return v&&(c.typeAnnotation=v,this.resetEndLocation(c)),this.expect(a.parenR),c}parseClass(c,m){let v=this.inAbstractClass;this.inAbstractClass=!!c.abstract;try{this.next(),this.takeDecorators(c);let w=this.strict;this.strict=!0,this.parseClassId(c,m),this.parseClassSuper(c);let $=this.enterClassBody(),R=this.startNode(),j=!1;R.body=[];let ee=[];for(this.expect(a.braceL);this.type!==a.braceR;){if(this.match(g.at)){ee.push(this.parseDecorator());continue}let J=this.parseClassElement(c.superClass!==null);ee.length&&(J.decorators=ee,this.resetStartLocationFromNode(J,ee[0]),ee=[]),J&&(R.body.push(J),J.type==="MethodDefinition"&&J.kind==="constructor"&&J.value.type==="FunctionExpression"?(j&&this.raiseRecoverable(J.start,"Duplicate constructor in the same class"),j=!0,J.decorators&&J.decorators.length>0&&this.raise(J.start,id.DecoratorConstructor)):J.key&&J.key.type==="PrivateIdentifier"&&wG($,J)&&this.raiseRecoverable(J.key.start,`Identifier '#${J.key.name}' has already been declared`))}return this.strict=w,this.next(),ee.length&&this.raise(this.start,id.TrailingDecorator),c.body=this.finishNode(R,"ClassBody"),this.exitClassBody(),this.finishNode(c,m?"ClassDeclaration":"ClassExpression")}finally{this.inAbstractClass=v}}parseClassFunctionParams(){let c=this.tsTryParseTypeParameters(),m=this.parseBindingList(a.parenR,!1,this.ecmaVersion>=8,!0);return c&&(m.typeParameters=c),m}parseMethod(c,m,v,w,$){let R=this.startNode(),j=this.yieldPos,ee=this.awaitPos,J=this.awaitIdentPos;if(this.initFunction(R),this.ecmaVersion>=6&&(R.generator=c),this.ecmaVersion>=8&&(R.async=!!m),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yw(m,R.generator)|Xe.SCOPE_SUPER|(v?Xe.SCOPE_DIRECT_SUPER:0)),this.expect(a.parenL),R.params=this.parseClassFunctionParams(),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(R,!1,!0,!1,{isClassMethod:w}),this.yieldPos=j,this.awaitPos=ee,this.awaitIdentPos=J,$&&$.abstract&&!!R.body){let{key:xe}=$;this.raise($.start,ce.AbstractMethodHasImplementation({methodName:xe.type==="Identifier"&&!$.computed?xe.name:`[${this.input.slice(xe.start,xe.end)}]`}))}return this.finishNode(R,"FunctionExpression")}static parse(c,m){if(m.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");m.locations=!0;let v=new this(m,c);return t&&(v.isAmbientContext=!0),v.parse()}static parseExpressionAt(c,m,v){if(v.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");v.locations=!0;let w=new this(v,c,m);return t&&(w.isAmbientContext=!0),w.nextToken(),w.parseExpression()}parseImportSpecifier(){if(this.ts_isContextual(g.type)){let m=this.startNode();return m.imported=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(m,!0,this.importOrExportOuterKind==="type"),this.finishNode(m,"ImportSpecifier")}else{let m=super.parseImportSpecifier();return m.importKind="value",m}}parseExportSpecifier(c){let m=this.ts_isContextual(g.type);if(!this.match(a.string)&&m){let w=this.startNode();return w.local=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(w,!1,this.importOrExportOuterKind==="type"),this.finishNode(w,"ExportSpecifier"),this.checkExport(c,w.exported,w.exported.start),w}else{let w=super.parseExportSpecifier(c);return w.exportKind="value",w}}parseTypeOnlyImportExportSpecifier(c,m,v){let w=m?"imported":"local",$=m?"local":"exported",R=c[w],j,ee=!1,J=!0,B=R.start;if(this.isContextual("as")){let Ze=this.parseIdent();if(this.isContextual("as")){let Me=this.parseIdent();V(this.type)?(ee=!0,R=Ze,j=m?this.parseIdent():this.parseModuleExportName(),J=!1):(j=Me,J=!1)}else V(this.type)?(J=!1,j=m?this.parseIdent():this.parseModuleExportName()):(ee=!0,R=Ze)}else V(this.type)&&(ee=!0,m?(R=super.parseIdent(!0),this.isContextual("as")||this.checkUnreserved(R)):R=this.parseModuleExportName());ee&&v&&this.raise(B,m?ce.TypeModifierIsUsedInTypeImports:ce.TypeModifierIsUsedInTypeExports),c[w]=R,c[$]=j;let xe=m?"importKind":"exportKind";c[xe]=ee?"type":"value",J&&this.eatContextual("as")&&(c[$]=m?this.parseIdent():this.parseModuleExportName()),c[$]||(c[$]=this.copyNode(c[w])),m&&this.checkLValSimple(c[$],Xe.BIND_LEXICAL)}raiseCommonCheck(c,m,v){switch(m){case"Comma is not permitted after the rest element":if(this.isAmbientContext&&this.match(a.comma)&&this.lookaheadCharCode()===41){this.next();return}else return super.raise(c,m)}return v?super.raiseRecoverable(c,m):super.raise(c,m)}raiseRecoverable(c,m){return this.raiseCommonCheck(c,m,!0)}raise(c,m){return this.raiseCommonCheck(c,m,!0)}updateContext(c){let{type:m}=this;if(m==a.braceL){var v=this.curContext();v==b.tc_oTag?this.context.push(h.b_expr):v==b.tc_expr?this.context.push(h.b_tmpl):super.updateContext(c),this.exprAllowed=!0}else if(m===a.slash&&c===g.jsxTagStart)this.context.length-=2,this.context.push(b.tc_cTag),this.exprAllowed=!1;else return super.updateContext(c)}jsx_parseOpeningElementAt(c,m){let v=this.startNodeAt(c,m),w=this.jsx_parseElementName();if(w&&(v.name=w),this.match(a.relational)||this.match(a.bitShift)){let $=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());$&&(v.typeArguments=$)}for(v.attributes=[];this.type!==a.slash&&this.type!==g.jsxTagEnd;)v.attributes.push(this.jsx_parseAttribute());return v.selfClosing=this.eat(a.slash),this.expect(g.jsxTagEnd),this.finishNode(v,w?"JSXOpeningElement":"JSXOpeningFragment")}enterScope(c){c===Pl&&this.importsStack.push([]),super.enterScope(c);let m=super.currentScope();m.types=[],m.enums=[],m.constEnums=[],m.classes=[],m.exportOnlyBindings=[]}exitScope(){super.currentScope().flags===Pl&&this.importsStack.pop(),super.exitScope()}hasImport(c,m){let v=this.importsStack.length;if(this.importsStack[v-1].indexOf(c)>-1)return!0;if(!m&&v>1){for(let w=0;w<v-1;w++)if(this.importsStack[w].indexOf(c)>-1)return!0}return!1}maybeExportDefined(c,m){this.inModule&&c.flags&Xe.SCOPE_TOP&&this.undefinedExports.delete(m)}declareName(c,m,v){if(m&Xe.BIND_FLAGS_TS_IMPORT){this.hasImport(c,!0)&&this.raise(v,`Identifier '${c}' has already been declared.`),this.importsStack[this.importsStack.length-1].push(c);return}let w=this.currentScope();if(m&Xe.BIND_FLAGS_TS_EXPORT_ONLY){this.maybeExportDefined(w,c),w.exportOnlyBindings.push(c);return}m===Xe.BIND_TS_TYPE||m===Xe.BIND_TS_INTERFACE?(m===Xe.BIND_TS_TYPE&&w.types.includes(c)&&this.raise(v,`type '${c}' has already been declared.`),w.types.push(c)):super.declareName(c,m,v),m&Xe.BIND_FLAGS_TS_ENUM&&w.enums.push(c),m&Xe.BIND_FLAGS_TS_CONST_ENUM&&w.constEnums.push(c),m&Xe.BIND_FLAGS_CLASS&&w.classes.push(c)}checkLocalExport(c){let{name:m}=c;if(this.hasImport(m))return;let v=this.scopeStack.length;for(let w=v-1;w>=0;w--){let $=this.scopeStack[w];if($.types.indexOf(m)>-1||$.exportOnlyBindings.indexOf(m)>-1)return}super.checkLocalExport(c)}}return ke}}var BP=Ye.extend(ad());function eE(e,t,r){let i=t?BP:Ye,{onComment:n,add_comments:s}=zP(e),a=i.prototype.parseStatement;r&&(i.prototype.parseStatement=function(...u){let p=a.call(this,...u);return this.undefinedExports={},p});let l;try{l=i.parse(e,{onComment:n,sourceType:"module",ecmaVersion:16,locations:!0})}finally{r&&(i.prototype.parseStatement=a)}return s(l),l}function $i(e,t,r){let i=t?BP:Ye,{onComment:n,add_comments:s}=zP(e),a=i.parseExpressionAt(e,r,{onComment:n,sourceType:"module",ecmaVersion:16,locations:!0});return s(a),a}function zP(e){let t=[];return{onComment:(r,i,n,s)=>{if(r&&/\n/.test(i)){let a=n;for(;a>0&&e[a-1]!==`
`;)a-=1;let l=a;for(;/[ \t]/.test(e[l]);)l+=1;let u=e.slice(a,l);i=i.replace(new RegExp(`^${u}`,"gm"),"")}t.push({type:r?"Block":"Line",value:i,start:n,end:s})},add_comments(r){t.length!==0&&(mt(r,null,{_(i,{next:n,path:s}){let a;for(;t[0]&&t[0].start<i.start;)a=t.shift(),(i.leadingComments||=[]).push(a);if(n(),t[0]){let l=s.at(-1);if(l===void 0||i.end!==l.end){let u=e.slice(i.end,t[0].start);if((l?.type==="BlockStatement"||l?.type==="Program")&&l.body.indexOf(i)===l.body.length-1||l?.type==="ArrayExpression"&&l.elements.indexOf(i)===l.elements.length-1||l?.type==="ObjectExpression"&&l.properties.indexOf(i)===l.properties.length-1){let f=i.end;for(;t.length;){let h=t[0];if(l&&h.start>=l.end)break;(i.trailingComments||=[]).push(h),t.shift(),f=h.end}}else i.end<=t[0].start&&/^[,) \t]*$/.test(u)&&(i.trailingComments=[t.shift()])}}}}),t.length>0&&(t[0].start>=r.end||r.type==="Program")&&(r.trailingComments||=[]).push(...t.splice(0)))}}}var tE=class extends Error{message="";#e;constructor(t,r,i){super(r),this.stack="",this.#e=new la(t,r,i),Object.assign(this,this.#e),this.name="CompileError"}toString(){return this.#e.toString()}toJSON(){return this.#e.toJSON()}};function me(e,t,r){let i=typeof e=="number"?e:e?.start,n=typeof e=="number"?e:e?.end;throw new tE(t,r,i!==void 0?[i,n??i]:void 0)}function UP(e,t){me(e,"options_invalid_value",`Invalid compiler option: ${t}
https://svelte.dev/e/options_invalid_value`)}function VP(e,t){me(e,"options_removed",`Invalid compiler option: ${t}
https://svelte.dev/e/options_removed`)}function HP(e,t){me(e,"options_unrecognised",`Unrecognised compiler option ${t}
https://svelte.dev/e/options_unrecognised`)}function ZP(e){me(e,"css_empty_declaration",`Declaration cannot be empty
https://svelte.dev/e/css_empty_declaration`)}function rE(e){me(e,"css_expected_identifier",`Expected a valid CSS identifier
https://svelte.dev/e/css_expected_identifier`)}function nE(e){me(e,"css_selector_invalid",`Invalid selector
https://svelte.dev/e/css_selector_invalid`)}function WP(e){me(e,"attribute_duplicate",`Attributes need to be unique
https://svelte.dev/e/attribute_duplicate`)}function GP(e){me(e,"attribute_empty_shorthand",`Attribute shorthand cannot be empty
https://svelte.dev/e/attribute_empty_shorthand`)}function iE(e,t){me(e,"block_duplicate_clause",`${t} cannot appear more than once within a block
https://svelte.dev/e/block_duplicate_clause`)}function KP(e){me(e,"block_invalid_continuation_placement",`{:...} block is invalid at this position (did you forget to close the preceding element or block?)
https://svelte.dev/e/block_invalid_continuation_placement`)}function XP(e){me(e,"block_invalid_elseif",`'elseif' should be 'else if'
https://svelte.dev/e/block_invalid_elseif`)}function JP(e,t,r){me(e,"block_invalid_placement",`{#${t} ...} block cannot be ${r}
https://svelte.dev/e/block_invalid_placement`)}function YP(e){me(e,"block_unclosed",`Block was left open
https://svelte.dev/e/block_unclosed`)}function sE(e){me(e,"block_unexpected_close",`Unexpected block closing tag
https://svelte.dev/e/block_unexpected_close`)}function QP(e){me(e,"const_tag_invalid_expression",`{@const ...} must consist of a single variable declaration
https://svelte.dev/e/const_tag_invalid_expression`)}function eR(e){me(e,"debug_tag_invalid_arguments",`{@debug ...} arguments must be identifiers, not arbitrary expressions
https://svelte.dev/e/debug_tag_invalid_arguments`)}function tR(e){me(e,"directive_invalid_value",`Directive value must be a JavaScript expression enclosed in curly braces
https://svelte.dev/e/directive_invalid_value`)}function rR(e,t){me(e,"directive_missing_name",`\`${t}\` name cannot be empty
https://svelte.dev/e/directive_missing_name`)}function nR(e,t){me(e,"element_invalid_closing_tag",`\`</${t}>\` attempted to close an element that was not open
https://svelte.dev/e/element_invalid_closing_tag`)}function iR(e,t,r){me(e,"element_invalid_closing_tag_autoclosed",`\`</${t}>\` attempted to close element that was already automatically closed by \`<${r}>\` (cannot nest \`<${r}>\` inside \`<${t}>\`)
https://svelte.dev/e/element_invalid_closing_tag_autoclosed`)}function od(e,t){me(e,"element_unclosed",`\`<${t}>\` was left open
https://svelte.dev/e/element_unclosed`)}function aE(e){me(e,"expected_attribute_value",`Expected attribute value
https://svelte.dev/e/expected_attribute_value`)}function sR(e){me(e,"expected_block_type",`Expected 'if', 'each', 'await', 'key' or 'snippet'
https://svelte.dev/e/expected_block_type`)}function oE(e){me(e,"expected_identifier",`Expected an identifier
https://svelte.dev/e/expected_identifier`)}function aR(e){me(e,"expected_pattern",`Expected identifier or destructure pattern
https://svelte.dev/e/expected_pattern`)}function zt(e,t){me(e,"expected_token",`Expected token ${t}
https://svelte.dev/e/expected_token`)}function oR(e){me(e,"expected_whitespace",`Expected whitespace
https://svelte.dev/e/expected_whitespace`)}function lR(e,t){me(e,"js_parse_error",`${t}
https://svelte.dev/e/js_parse_error`)}function uR(e){me(e,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions\nhttps://svelte.dev/e/render_tag_invalid_expression")}function lE(e){me(e,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element\nhttps://svelte.dev/e/script_duplicate")}function cR(e,t){me(e,"script_invalid_attribute_value",`If the \`${t}\` attribute is supplied, it must be a boolean attribute
https://svelte.dev/e/script_invalid_attribute_value`)}function uE(e){me(e,"script_invalid_context",`If the context attribute is supplied, its value must be "module"
https://svelte.dev/e/script_invalid_context`)}function pR(e,t){me(e,"script_reserved_attribute",`The \`${t}\` attribute is reserved and cannot be used
https://svelte.dev/e/script_reserved_attribute`)}function dR(e){me(e,"style_duplicate","A component can have a single top-level `<style>` element\nhttps://svelte.dev/e/style_duplicate")}function fR(e){me(e,"svelte_component_invalid_this","Invalid component definition \u2014 must be an `{expression}`\nhttps://svelte.dev/e/svelte_component_invalid_this")}function mR(e){me(e,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute\nhttps://svelte.dev/e/svelte_component_missing_this")}function cE(e){me(e,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value\nhttps://svelte.dev/e/svelte_element_missing_this")}function hR(e,t){me(e,"svelte_meta_duplicate",`A component can only have one \`<${t}>\` element
https://svelte.dev/e/svelte_meta_duplicate`)}function _R(e,t){me(e,"svelte_meta_invalid_content",`<${t}> cannot have children
https://svelte.dev/e/svelte_meta_invalid_content`)}function gR(e,t){me(e,"svelte_meta_invalid_placement",`\`<${t}>\` tags cannot be inside elements or blocks
https://svelte.dev/e/svelte_meta_invalid_placement`)}function bR(e,t){me(e,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${t}
https://svelte.dev/e/svelte_meta_invalid_tag`)}function vR(e){me(e,"svelte_options_deprecated_tag",`"tag" option is deprecated \u2014 use "customElement" instead
https://svelte.dev/e/svelte_options_deprecated_tag`)}function yR(e){me(e,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes\nhttps://svelte.dev/e/svelte_options_invalid_attribute")}function ld(e,t){me(e,"svelte_options_invalid_attribute_value",`Value must be ${t}, if specified
https://svelte.dev/e/svelte_options_invalid_attribute_value`)}function ud(e){me(e,"svelte_options_invalid_customelement",`"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }
https://svelte.dev/e/svelte_options_invalid_customelement`)}function Ti(e){me(e,"svelte_options_invalid_customelement_props",`"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"
https://svelte.dev/e/svelte_options_invalid_customelement_props`)}function xR(e){me(e,"svelte_options_invalid_customelement_shadow",`"shadow" must be either "open" or "none"
https://svelte.dev/e/svelte_options_invalid_customelement_shadow`)}function pE(e){me(e,"svelte_options_invalid_tagname",`Tag name must be lowercase and hyphenated
https://svelte.dev/e/svelte_options_invalid_tagname`)}function kR(e){me(e,"svelte_options_reserved_tagname",`Tag name is reserved
https://svelte.dev/e/svelte_options_reserved_tagname`)}function wR(e,t){me(e,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${t}'
https://svelte.dev/e/svelte_options_unknown_attribute`)}function ER(e){me(e,"tag_invalid_name",`Expected a valid element or component name. Components must have a valid variable name or dot notation expression
https://svelte.dev/e/tag_invalid_name`)}function DR(e,t,r){me(e,"tag_invalid_placement",`{@${t} ...} tag cannot be ${r}
https://svelte.dev/e/tag_invalid_placement`)}function Ur(e){me(e,"unexpected_eof",`Unexpected end of input
https://svelte.dev/e/unexpected_eof`)}function CR(e,t){me(e,"unexpected_reserved_word",`'${t}' is a reserved word in JavaScript and cannot be used here
https://svelte.dev/e/unexpected_reserved_word`)}function SR(e){me(e,"unterminated_string_constant",`Unterminated string constant
https://svelte.dev/e/unterminated_string_constant`)}function $R(e){me(e,"void_element_invalid_content",`Void elements cannot have children or closing tags
https://svelte.dev/e/void_element_invalid_content`)}function dE(e){return e<0?1/0:e}function jG(e,t,r){let i;return r==="`"?i=e:i=e.slice(0,dE(e.indexOf(`
`,t))),TR(i,t,r)}function qG(e,t){return TR(e,t,"/")}function TR(e,t,r){let i=t;for(;;){let n=e.indexOf(r,i);if(n===-1)return 1/0;if(MG(e,n-1)%2===0)return n;i=n+1}}function MG(e,t){let r=t,i=0;for(;e[r]==="\\";)i++,r--;return i}function IR(e,t,r){let i=AR[r],n=1,s=t;for(;n>0&&s<e.length;){let a=e[s];switch(a){case"'":case'"':case"`":s=jG(e,s+1,a)+1;continue;case"/":{let l=e[s+1];if(!l)continue;if(l==="/"){s=dE(e.indexOf(`
`,s+1))+1;continue}if(l==="*"){s=dE(e.indexOf("*/",s+1))+2;continue}s=qG(e,s+1)+1;continue}default:{let l=e[s];if(l===r?n++:l===i&&n--,n===0)return s;s++}}}}var AR={"{":"}","(":")","[":"]"};function Ol(e,t,r=AR){let i=Object.values(r),n=[],s=t;for(;s<e.template.length;){let a=e.template[s++];if(a==="'"||a==='"'||a==="`"){s=BG(e,s,a);continue}if(a in r)n.push(a);else if(i.includes(a)){let l=n.pop(),u=r[l];if(a!==u&&zt(s-1,u),n.length===0)return s}}Ur(e.template.length)}function BG(e,t,r){let i=!1,n=t;for(;n<e.template.length;){let s=e.template[n++];if(i){i=!1;continue}if(s===r)return n;s==="\\"&&(i=!0),r==="`"&&s==="$"&&e.template[n]==="{"&&(n=Ol(e,n))}SR(t)}function fE(e,t){let r=IR(e.template,e.index,t??"{");if(r){let i=e.index;return e.index=r,{type:"Identifier",start:i,end:r,name:""}}}function Ft(e,t,r){try{let i=$i(e.template,e.ts,e.index),n=0;i.leadingComments!==void 0&&i.leadingComments.length>0&&(e.index=i.leadingComments.at(-1).end);for(let a=e.index;a<i.start;a+=1)e.template[a]==="("&&(n+=1);let s=i.end;for(i.trailingComments!==void 0&&i.trailingComments.length>0&&(s=i.trailingComments.at(-1).end);n>0;){let a=e.template[s];a===")"?n-=1:Kn.test(a)||zt(s,")"),s+=1}return e.index=s,i}catch(i){if(e.loose&&!r){let n=fE(e,t);if(n)return n}e.acorn_error(i)}}function RR(e,t){return{type:"UnaryExpression",argument:t,operator:e,prefix:!0}}var ma=RR("void",De(0));function De(e){return{type:"Literal",value:e}}var kt=De(!0),Ll=De(!1),Ii=De(null);function Qt(e){return Array.isArray(e.value)&&e.value.length===1&&e.value[0].type==="Text"}function Fl(e){return e.value!==!0&&!Array.isArray(e.value)||Array.isArray(e.value)&&e.value.length===1&&e.value[0].type==="ExpressionTag"}function us(e){return Array.isArray(e.value)?e.value[0].expression:e.value.expression}var zG=/<\/script\s*>/,UG=/^<\/script\s*>/,VG=["server","client","worker","test","default"],HG=["context","generics","lang","module"];function OR(e,t,r){let i=e.index,n=e.read_until(zG);e.index>=e.template.length&&od(e.template.length,"script");let s=e.template.slice(0,i).replace(Bp," ")+n;e.read(UG);let a;try{a=eE(s,e.ts,!0)}catch(u){e.acorn_error(u)}a.start=i;let l="default";for(let u of r)VG.includes(u.name)&&pR(u,u.name),HG.includes(u.name)||q2(u),u.name==="module"&&(u.value!==!0&&cR(u,u.name),l="module"),u.name==="context"&&((u.value===!0||!Qt(u))&&uE(u),u.value[0].data!=="module"&&uE(u),l="module");return{type:"Script",start:t,end:e.index,context:l,content:a,attributes:r}}var ZG=/^[~^$*|]?=/,WG=/[\s\]]/,GG=/^[a-zA-Z]+/,jR=/^(\+|~|>|\|\|)/,LR=/^\d+(\.\d+)?%/,FR=/^(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of\s+)/,KG=/[\s:]/,XG=/-?\d/,JG=/[a-zA-Z0-9_-]/,YG=/^\\[0-9a-fA-F]{1,6}(\r\n|\s)?/,QG=/\*\//,eK=/-->/;function _E(e,t,r){let i=e.index,n=tK(e,"</style"),s=e.index;return e.read(/^<\/style\s*>/),{type:"StyleSheet",start:t,end:e.index,attributes:r,children:n,content:{start:i,end:s,styles:e.template.slice(i,s),comment:null}}}function tK(e,t){let r=[];for(;e.index<e.template.length;){if(ha(e),e.match(t))return r;e.match("@")?r.push(qR(e)):r.push(MR(e))}zt(e.template.length,t)}function qR(e){let t=e.index;e.eat("@",!0);let r=Qn(e),i=gE(e),n=null;return e.match("{")?n=BR(e):e.eat(";",!0),{type:"Atrule",start:t,end:e.index,name:r,prelude:i,block:n}}function MR(e){let t=e.index;return{type:"Rule",prelude:hE(e),block:BR(e),start:t,end:e.index,metadata:{parent_rule:null,has_local_selectors:!1,has_global_selectors:!1,is_global_block:!1}}}function hE(e,t=!1){let r=[];ha(e);let i=e.index;for(;e.index<e.template.length;){r.push(rK(e,t));let n=e.index;if(ha(e),t?e.match(")"):e.match("{"))return{type:"SelectorList",start:i,end:n,children:r};e.eat(",",!0),ha(e)}Ur(e.template.length)}function rK(e,t=!1){let r=e.index,i=[];function n(a,l){return{type:"RelativeSelector",combinator:a,selectors:[],start:l,end:-1,metadata:{is_global:!1,is_global_like:!1,scoped:!1}}}let s=n(null,e.index);for(;e.index<e.template.length;){let a=e.index;if(e.eat("&"))s.selectors.push({type:"NestingSelector",name:"&",start:a,end:e.index});else if(e.eat("*")){let p="*";e.eat("|")&&(p=Qn(e)),s.selectors.push({type:"TypeSelector",name:p,start:a,end:e.index})}else if(e.eat("#"))s.selectors.push({type:"IdSelector",name:Qn(e),start:a,end:e.index});else if(e.eat("."))s.selectors.push({type:"ClassSelector",name:Qn(e),start:a,end:e.index});else if(e.eat("::"))s.selectors.push({type:"PseudoElementSelector",name:Qn(e),start:a,end:e.index}),e.eat("(")&&(hE(e,!0),e.eat(")",!0));else if(e.eat(":")){let p=Qn(e),f=null;e.eat("(")&&(f=hE(e,!0),e.eat(")",!0)),s.selectors.push({type:"PseudoClassSelector",name:p,args:f,start:a,end:e.index})}else if(e.eat("[")){e.allow_whitespace();let p=Qn(e);e.allow_whitespace();let f=null,h=e.read(ZG);h&&(e.allow_whitespace(),f=aK(e)),e.allow_whitespace();let _=e.read(GG);e.allow_whitespace(),e.eat("]",!0),s.selectors.push({type:"AttributeSelector",start:a,end:e.index,name:p,matcher:h,value:f,flags:_})}else if(t&&e.match_regex(FR))s.selectors.push({type:"Nth",value:e.read(FR),start:a,end:e.index});else if(e.match_regex(LR))s.selectors.push({type:"Percentage",value:e.read(LR),start:a,end:e.index});else if(!e.match_regex(jR)){let p=Qn(e);e.eat("|")&&(p=Qn(e)),s.selectors.push({type:"TypeSelector",name:p,start:a,end:e.index})}let l=e.index;if(ha(e),e.match(",")||(t?e.match(")"):e.match("{")))return e.index=l,s.end=l,i.push(s),{type:"ComplexSelector",start:r,end:l,children:i,metadata:{rule:null,is_global:!1,used:!1}};e.index=l;let u=nK(e);u&&(s.selectors.length>0&&(s.end=l,i.push(s)),s=n(u,u.start),e.allow_whitespace(),(e.match(",")||(t?e.match(")"):e.match("{")))&&nE(e.index))}Ur(e.template.length)}function nK(e){let t=e.index;e.allow_whitespace();let r=e.index,i=e.read(jR);if(i){let n=e.index;return e.allow_whitespace(),{type:"Combinator",name:i,start:r,end:n}}return e.index!==t?{type:"Combinator",name:" ",start:t,end:e.index}:null}function BR(e){let t=e.index;e.eat("{",!0);let r=[];for(;e.index<e.template.length&&(ha(e),!e.match("}"));)r.push(iK(e));return e.eat("}",!0),{type:"Block",start:t,end:e.index,children:r}}function iK(e){if(e.match("@"))return qR(e);let t=e.index;gE(e);let r=e.template[e.index];return e.index=t,r==="{"?MR(e):sK(e)}function sK(e){let t=e.index,r=e.read_until(KG);e.allow_whitespace(),e.eat(":");let i=e.index;e.allow_whitespace();let n=gE(e);!n&&!r.startsWith("--")&&ZP({start:t,end:i});let s=e.index;return e.match("}")||e.eat(";",!0),{type:"Declaration",start:t,end:s,property:r,value:n}}function gE(e){let t="",r=!1,i=!1,n=null;for(;e.index<e.template.length;){let s=e.template[e.index];if(r)t+="\\"+s,r=!1;else if(s==="\\")r=!0;else if(s===n)n=null;else if(s===")")i=!1;else if(n===null&&(s==='"'||s==="'"))n=s;else if(s==="("&&t.slice(-3)==="url")i=!0;else if((s===";"||s==="{"||s==="}")&&!i&&!n)return t.trim();t+=s,e.index++}Ur(e.template.length)}function aK(e){let t="",r=!1,i=e.eat('"')?'"':e.eat("'")?"'":null;for(;e.index<e.template.length;){let n=e.template[e.index];if(r)t+="\\"+n,r=!1;else if(n==="\\")r=!0;else{if(i?n===i:WG.test(n))return i&&e.eat(i,!0),t.trim();t+=n}e.index++}Ur(e.template.length)}function Qn(e){let t=e.index,r="";for(e.match_regex(XG)&&rE(t);e.index<e.template.length;){let i=e.template[e.index];if(i==="\\"){let n=e.match_regex(YG);n?(r+=String.fromCodePoint(parseInt(n.slice(1),16)),e.index+=n.length):(r+="\\"+e.template[e.index+1],e.index+=2)}else if(i.codePointAt(0)>=160||JG.test(i))r+=i,e.index++;else break}return r===""&&rE(t),r}function ha(e){for(e.allow_whitespace();e.match("/*")||e.match("<!--");)e.eat("/*")&&(e.read_until(QG),e.eat("*/",!0)),e.eat("<!--")&&(e.read_until(eK),e.eat("-->",!0)),e.allow_whitespace()}var bE={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};var oK=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function lK(e,t){return t&&!e.endsWith(";")?`${e}\\b(?!=)`:e}function UR(e){let t="#(?:x[a-fA-F\\d]+|\\d+)(?:;)?",r=Object.keys(bE).map(n=>lK(n,e));return new RegExp(`&(${t}|${r.join("|")})`,"g")}var uK=UR(!1),cK=UR(!0);function jl(e,t){let r=t?cK:uK;return e.replace(r,(i,n)=>{let s;return n[0]!=="#"?s=bE[n]:n[1]==="x"?s=parseInt(n.substring(2),16):s=parseInt(n.substring(1),10),s?String.fromCodePoint(pK(s)):i})}var zR=0;function pK(e){return e===10?32:e<128?e:e<=159?oK[e-128]:e<55296?e:e<=57343?zR:e<=65535||e>=65536&&e<=131071||e>=131072&&e<=196607||e>=917504&&e<=917631||e>=917760&&e<=917999?e:zR}function It(e=!1){return{type:"Fragment",nodes:[],metadata:{transparent:e,dynamic:!1}}}var dK=["SvelteElement","RegularElement","SvelteFragment","Component","SvelteComponent","SvelteSelf","SlotElement"];function dd(e){return dK.includes(e.type)}function cs(e,t,r,i){return{type:"Attribute",start:t,end:r,name:e,value:i,metadata:{delegated:null,needs_clsx:!1}}}function Vr(){return{dependencies:new Set,has_state:!1,has_call:!1}}var VR={li:{direct:["li"]},dt:{descendant:["dt","dd"],reset_by:["dl"]},dd:{descendant:["dt","dd"],reset_by:["dl"]},p:{descendant:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]},rt:{descendant:["rt","rp"]},rp:{descendant:["rt","rp"]},optgroup:{descendant:["optgroup"]},option:{descendant:["option","optgroup"]},thead:{direct:["tbody","tfoot"]},tbody:{direct:["tbody","tfoot"]},tfoot:{direct:["tbody"]},tr:{direct:["tr","tbody"]},td:{direct:["td","th","tr"]},th:{direct:["td","th","tr"]}};function HR(e,t){let r=VR[e];return!!(r&&(!t||("direct"in r?r.direct:r.descendant).includes(t)))}var Bwe={...VR,optgroup:{only:["option","#text"]},option:{only:["#text"]},form:{descendant:["form"]},a:{descendant:["a"]},button:{descendant:["button"]},h1:{descendant:["h1","h2","h3","h4","h5","h6"]},h2:{descendant:["h1","h2","h3","h4","h5","h6"]},h3:{descendant:["h1","h2","h3","h4","h5","h6"]},h4:{descendant:["h1","h2","h3","h4","h5","h6"]},h5:{descendant:["h1","h2","h3","h4","h5","h6"]},h6:{descendant:["h1","h2","h3","h4","h5","h6"]},select:{only:["option","optgroup","#text","hr","script","template"]},tr:{only:["th","td","style","script","template"]},tbody:{only:["tr","style","script","template"]},thead:{only:["tr","style","script","template"]},tfoot:{only:["tr","style","script","template"]},colgroup:{only:["col","template"]},table:{only:["caption","colgroup","tbody","thead","tfoot","style","script","template"]},head:{only:["base","basefont","bgsound","link","meta","title","noscript","noframes","style","script","template"]},html:{only:["head","body","frameset"]},frameset:{only:["frame"]},"#document":{only:["html"]}};function vE(e,t="or"){return e.length===1?e[0]:e.length===2?`${e[0]} ${t} ${e[1]}`:`${e.slice(0,-1).join(", ")} ${t} ${e[e.length-1]}`}var fK=/^(\/>|[\s"'=<>`])/,ZR=/^<\/textarea(\s[^>]*)?>/i,mK=/-->/,hK=/(\s|\/|>)/,WR=/[\s=/>"']/,GR=/^["']/,_K=/^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/,gK=/^(?:![a-zA-Z]+|[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9])$/,yE=/^(?:\p{Lu}[$\u200c\u200d\p{ID_Continue}.]*|\p{ID_Start}[$\u200c\u200d\p{ID_Continue}]*(?:\.[$\u200c\u200d\p{ID_Continue}]+)+)$/u,KR=new Map([["svelte:head","SvelteHead"],["svelte:options","SvelteOptions"],["svelte:window","SvelteWindow"],["svelte:document","SvelteDocument"],["svelte:body","SvelteBody"]]),fd=new Map([...KR,["svelte:element","SvelteElement"],["svelte:component","SvelteComponent"],["svelte:self","SvelteSelf"],["svelte:fragment","SvelteFragment"],["svelte:boundary","SvelteBoundary"]]);function xE(e){let t=e.index++,r=e.current();if(e.eat("!--")){let b=e.read_until(mK);e.eat("-->",!0),e.append({type:"Comment",start:t,end:e.index,data:b});return}let i=e.eat("/"),n=e.read_until(hK);if(i){for(e.allow_whitespace(),e.eat(">",!0),is(n)&&$R(t);r.name!==n;){if(e.loose&&dd(r)){let b=r.attributes.at(-1);if(b?.type==="Attribute"&&b.name===`<${n}`){e.index=b.start,r.attributes.pop();break}}if(r.type==="RegularElement"){if(!e.last_auto_closed_tag||e.last_auto_closed_tag.tag!==n){let b=r.fragment.nodes[0]?.start??t;Fw({start:r.start,end:b},`</${n}>`,`</${r.name}>`)}}else e.loose||(e.last_auto_closed_tag&&e.last_auto_closed_tag.tag===n?iR(t,n,e.last_auto_closed_tag.reason):nR(t,n));r.end=t,e.pop(),r=e.current()}r.end=e.index,e.pop(),e.last_auto_closed_tag&&e.stack.length<e.last_auto_closed_tag.depth&&(e.last_auto_closed_tag=void 0);return}if(n.startsWith("svelte:")&&!fd.has(n)){let b={start:t+1,end:t+1+n.length};bR(b,vE(Array.from(fd.keys())))}if(!gK.test(n)&&!yE.test(n)&&(!e.loose||!n.endsWith("."))){let b={start:t+1,end:t+1+n.length};ER(b)}KR.has(n)&&(n in e.meta_tags&&hR(t,n),r.type!=="Root"&&gR(t,n),e.meta_tags[n]=!0);let s=fd.has(n)?fd.get(n):yE.test(n)||e.loose&&n.endsWith(".")?"Component":n==="title"&&bK(e.stack)?"TitleElement":n==="slot"&&!vK(e.stack)?"SlotElement":"RegularElement",a=s==="RegularElement"?{type:s,start:t,end:-1,name:n,attributes:[],fragment:It(!0),metadata:{svg:!1,mathml:!1,scoped:!1,has_spread:!1,path:[]}}:{type:s,start:t,end:-1,name:n,attributes:[],fragment:It(!0),metadata:{}};if(e.allow_whitespace(),r.type==="RegularElement"&&HR(r.name,n)){let b=r.fragment.nodes[0]?.start??t;Fw({start:r.start,end:b},`<${n}>`,`</${r.name}>`),r.end=t,e.pop(),e.last_auto_closed_tag={tag:r.name,reason:n,depth:e.stack.length}}let l=[],u=e.current(),p=(n==="script"||n==="style")&&u.type==="Root",f=p?yK:xK,h;for(;h=f(e);){if(h.type==="Attribute"||h.type==="BindDirective"||h.type==="StyleDirective"||h.type==="ClassDirective"){let b=h.type==="BindDirective"?"Attribute":h.type;l.includes(b+h.name)?WP(h):h.name!=="this"&&l.push(b+h.name)}a.attributes.push(h),e.allow_whitespace()}if(a.type==="SvelteComponent"){let b=a.attributes.findIndex(C=>C.type==="Attribute"&&C.name==="this");b===-1&&mR(t);let E=a.attributes.splice(b,1)[0];Fl(E)||fR(E.start),a.expression=us(E)}if(a.type==="SvelteElement"){let b=a.attributes.findIndex(C=>C.type==="Attribute"&&C.name==="this");b===-1&&cE(t);let E=a.attributes.splice(b,1)[0];if(E.value===!0&&cE(E),Fl(E))a.tag=us(E);else{M2(E);let C=E.value[0];a.tag=C.type==="Text"?{type:"Literal",value:C.data,raw:`'${C.raw}'`,start:C.start,end:C.end}:C.expression}}if(p){e.eat(">",!0);let b=null;for(let E=u.fragment.nodes.length-1;E>=0;E--){let C=u.fragment.nodes[E];if(E===u.fragment.nodes.length-1&&C.end!==t)break;if(C.type==="Comment"){b=C;break}else if(C.type!=="Text"||C.data.trim())break}if(n==="script"){let E=OR(e,t,a.attributes);b&&(E.content.leadingComments=[{type:"Line",value:b.data}]),E.context==="module"?(u.module&&lE(t),u.module=E):(u.instance&&lE(t),u.instance=E)}else{let E=_E(e,t,a.attributes);E.content.comment=b,u.css&&dR(t),u.css=E}return}e.append(a);let _=e.eat("/")||is(n),g=e.eat(">",!0,!1);if(!g){let b=a.attributes.at(-1);if(b?.type==="Attribute"&&b.name==="<")e.index=b.start,a.attributes.pop();else{let E=e.template[e.index-1],C=e.template[e.index-2],T=e.template[e.index];if(C==="{"&&E==="/")e.index-=2;else if(E==="{"&&(T==="#"||T==="@"||T===":"))e.index-=1;else if(e.allow_whitespace(),e.index===e.template.length)for(;e.index<e.template_untrimmed.length&&Kn.test(e.template_untrimmed[e.index]);)e.index++}}if(_||!g)a.end=e.index;else if(n==="textarea")a.fragment.nodes=XR(e,()=>ZR.test(e.template.slice(e.index)),"inside <textarea>"),e.read(ZR),a.end=e.index;else if(n==="script"||n==="style"){let b=e.index,E=e.read_until(new RegExp(`</${n}>`)),C=e.index,T={start:b,end:C,type:"Text",data:E,raw:E};a.fragment.nodes.push(T),e.eat(`</${n}>`,!0),a.end=e.index}else e.stack.push(a),e.fragments.push(a.fragment)}function bK(e){let t=e.length;for(;t--;){let{type:r}=e[t];if(r==="SvelteHead")return!0;if(r==="RegularElement"||r==="Component")return!1}return!1}function vK(e){let t=e.length;for(;t--;)if(e[t].type==="RegularElement"&&e[t].attributes.some(r=>r.type==="Attribute"&&r.name==="shadowrootmode"))return!0;return!1}function yK(e){let t=e.index,r=e.read_until(WR);if(!r)return null;let i=!0;if(e.eat("=")){e.allow_whitespace();let n=e.match_regex(_K);n||aE(e.index),e.index+=n.length;let s=n[0]==='"'||n[0]==="'";s&&(n=n.slice(1,-1)),i=[{start:e.index-n.length-(s?1:0),end:s?e.index-1:e.index,type:"Text",raw:n,data:jl(n,!0)}]}return e.match_regex(GR)&&zt(e.index,"="),cs(r,t,e.index,i)}function xK(e){let t=e.index;if(e.eat("{")){if(e.allow_whitespace(),e.eat("@attach")){e.require_whitespace();let l=Ft(e);return e.allow_whitespace(),e.eat("}",!0),{type:"AttachTag",start:t,end:e.index,expression:l,metadata:{expression:Vr()}}}if(e.eat("...")){let l=Ft(e);return e.allow_whitespace(),e.eat("}",!0),{type:"SpreadAttribute",start:t,end:e.index,expression:l,metadata:{expression:Vr()}}}else{let l=e.index,u=e.read_identifier();if(u===null){if(e.loose&&(e.match("#")||e.match("/")||e.match("@")||e.match(":")))return null;e.loose&&e.match("}")?u="":GP(t)}e.allow_whitespace(),e.eat("}",!0);let p={type:"ExpressionTag",start:l,end:l+u.length,expression:{start:l,end:l+u.length,type:"Identifier",name:u},metadata:{expression:Vr()}};return cs(u,t,e.index,p)}}let r=e.read_until(WR);if(!r)return null;let i=e.index;e.allow_whitespace();let n=r.indexOf(":"),s=n!==-1&&kK(r.slice(0,n)),a=!0;if(e.eat("="))if(e.allow_whitespace(),e.template[e.index]==="/"&&e.template[e.index+1]===">"){let l=e.index;e.index++,a=[{start:l,end:l+1,type:"Text",raw:"/",data:"/"}],i=e.index}else a=wK(e),i=e.index;else e.match_regex(GR)&&zt(e.index,"=");if(s){let[l,...u]=r.slice(n+1).split("|");if(l===""&&rR({start:t,end:t+n+1},r),s==="StyleDirective")return{start:t,end:i,type:s,name:l,modifiers:u,value:a,metadata:{expression:Vr()}};let p=a===!0?void 0:Array.isArray(a)?a[0]:a,f=null;p&&(a.length>1||p.type==="Text"?tR(p.start):f=p.expression);let h={start:t,end:i,type:s,name:l,expression:f,metadata:{expression:Vr()}};if(h.modifiers=u,h.type==="TransitionDirective"){let _=r.slice(0,n);h.intro=_==="in"||_==="transition",h.outro=_==="out"||_==="transition"}return(h.type==="BindDirective"||h.type==="ClassDirective")&&!h.expression&&(h.expression={start:t+n+1,end:i,type:"Identifier",name:h.name}),h}return cs(r,t,i,a)}function kK(e){return e==="use"?"UseDirective":e==="animate"?"AnimateDirective":e==="bind"?"BindDirective":e==="class"?"ClassDirective":e==="style"?"StyleDirective":e==="on"?"OnDirective":e==="let"?"LetDirective":e==="in"||e==="out"||e==="transition"?"TransitionDirective":!1}function wK(e){let t=e.eat("'")?"'":e.eat('"')?'"':null;if(t&&e.eat(t))return[{start:e.index-1,end:e.index-1,type:"Text",raw:"",data:""}];let r;try{r=XR(e,()=>t?e.match(t):!!e.match_regex(fK),"in attribute value")}catch(i){if(i.code==="js_parse_error"){let n=i.position?.[0];n!==void 0&&e.template.slice(n-1,n+1)==="/>"&&(e.index=n,zt(n,t||"}"))}throw i}return r.length===0&&!t&&aE(e.index),t&&(e.index+=1),t||r.length>1||r[0].type==="Text"?r:r[0]}function XR(e,t,r){let i={start:e.index,end:-1,type:"Text",raw:"",data:""},n=[];function s(a){i.raw&&(i.data=jl(i.raw,!0),i.end=a,n.push(i))}for(;e.index<e.template.length;){let a=e.index;if(t())return s(e.index),n;if(e.eat("{")){if(e.match("#")){let p=e.index-1;e.eat("#");let f=e.read_until(/[^a-z]/);JP(p,f,r)}else if(e.match("@")){let p=e.index-1;e.eat("@");let f=e.read_until(/[^a-z]/);DR(p,f,r)}s(e.index-1),e.allow_whitespace();let l=Ft(e);e.allow_whitespace(),e.eat("}",!0);let u={type:"ExpressionTag",start:a,end:e.index,expression:l,metadata:{expression:Vr()}};n.push(u),i={start:e.index,end:-1,type:"Text",raw:"",data:""}}else i.raw+=e.template[e.index++]}if(e.loose)return n;Ur(e.template.length)}function rn(e){let t=e.index,r=e.index,i=e.read_identifier();if(i!==null){let a=JR(e);return{type:"Identifier",name:i,start:t,loc:{start:Sr(t),end:Sr(e.index)},end:e.index,typeAnnotation:a}}let n=e.template[r];n!=="{"&&n!=="["&&aR(r),r=Ol(e,t),e.index=r;let s=e.template.slice(t,r);try{let a=e.template.slice(0,t).replace(Bp," "),l=a.indexOf(" ");a=a.slice(0,l)+a.slice(l+1);let u=$i(`${a}(${s} = 1)`,e.ts,t-1).left;return u.typeAnnotation=JR(e),u.typeAnnotation&&(u.end=u.typeAnnotation.end),u}catch(a){e.acorn_error(a)}}function JR(e){let t=e.index;if(e.allow_whitespace(),!e.eat(":")){e.index=t;return}let r="_ as ",i=e.index-r.length,n=e.template.slice(0,i).replace(/[^\n]/g," ")+r+e.template.slice(e.index).replace(/\?\s*:/g,":"),s=$i(n,e.ts,i);if(s.type==="AssignmentExpression"){let a=s.right.start;for(;n[a]!=="=";)a-=1;s=$i(n.slice(0,a),e.ts,i)}return s.type==="SequenceExpression"&&(s=s.expressions[0]),e.index=s.end,{type:"TSTypeAnnotation",start:t,end:e.index,typeAnnotation:s.typeAnnotation}}var kE=/^\s*}/,EK={"<":">"};function EE(e){let t=e.index;if(e.index+=1,e.allow_whitespace(),e.eat("#"))return DK(e);if(e.eat(":"))return CK(e);if(e.eat("@"))return SK(e);if(e.match("/")&&!e.match("/*")&&!e.match("//"))return e.eat("/"),wE(e);let r=Ft(e);e.allow_whitespace(),e.eat("}",!0),e.append({type:"ExpressionTag",start:t,end:e.index,expression:r,metadata:{expression:Vr()}})}function DK(e){let t=e.index-2;for(;e.template[t]!=="{";)t-=1;if(e.eat("if")){e.require_whitespace();let r=e.append({type:"IfBlock",elseif:!1,start:t,end:-1,test:Ft(e),consequent:It(),alternate:null});e.allow_whitespace(),e.eat("}",!0),e.stack.push(r),e.fragments.push(r.consequent);return}if(e.eat("each")){e.require_whitespace();let r=e.template,i=e.template.length,n;for(;!n;)try{n=Ft(e,void 0,!0)}catch(f){for(i=f.position[0]-2;i>t&&e.template.slice(i,i+2)!=="as";)i-=1;if(i<=t){if(e.loose&&(n=fE(e),n))break;throw f}e.template=r.slice(0,i)}if(e.template=r,e.allow_whitespace(),!e.match("as")){n.type==="SequenceExpression"&&(n=n.expressions[0]);let f=null,h=n.end;if(n=mt(n,null,{TSAsExpression(_,g){if(_.end===n.end)return f=_,h=_.expression.end,_.expression;g.next()}}),n.end=h,f){let _=f.typeAnnotation.start-2;for(;e.template.slice(_,_+2)!=="as";)_-=1;e.index=_}}let s=null,a,l;if(e.eat("as")?(e.require_whitespace(),s=rn(e)):e.index=n.end,e.allow_whitespace(),e.eat(",")&&(e.allow_whitespace(),a=e.read_identifier(),a||oE(e.index),e.allow_whitespace()),e.eat("(")&&(e.allow_whitespace(),l=Ft(e,"("),e.allow_whitespace(),e.eat(")",!0),e.allow_whitespace()),!e.eat("}",!0,!1))if(e.template.slice(e.index-4,e.index)===" as "){let f=e.index;s=rn(e),e.eat("}",!0),n={type:"Identifier",name:"",start:n.start,end:f-4}}else e.eat("}",!0);let p=e.append({type:"EachBlock",start:t,end:-1,expression:n,body:It(),context:s,index:a,key:l,metadata:null});e.stack.push(p),e.fragments.push(p.body);return}if(e.eat("await")){e.require_whitespace();let r=Ft(e);e.allow_whitespace();let i=e.append({type:"AwaitBlock",start:t,end:-1,expression:r,value:null,error:null,pending:null,then:null,catch:null});if(e.eat("then")?(e.match_regex(kE)||(e.require_whitespace(),i.value=rn(e)),e.allow_whitespace(),i.then=It(),e.fragments.push(i.then)):e.eat("catch")?(e.match_regex(kE)||(e.require_whitespace(),i.error=rn(e)),e.allow_whitespace(),i.catch=It(),e.fragments.push(i.catch)):(i.pending=It(),e.fragments.push(i.pending)),!e.eat("}",!0,!1))if(e.template.slice(e.index-6,e.index)===" then "){let s=e.index;i.value=rn(e),e.eat("}",!0),i.expression={type:"Identifier",name:"",start:r.start,end:s-6},i.then=i.pending,i.pending=null}else if(e.template.slice(e.index-7,e.index)===" catch "){let s=e.index;i.error=rn(e),e.eat("}",!0),i.expression={type:"Identifier",name:"",start:r.start,end:s-7},i.catch=i.pending,i.pending=null}else e.eat("}",!0);e.stack.push(i);return}if(e.eat("key")){e.require_whitespace();let r=Ft(e);e.allow_whitespace(),e.eat("}",!0);let i=e.append({type:"KeyBlock",start:t,end:-1,expression:r,fragment:It()});e.stack.push(i),e.fragments.push(i.fragment);return}if(e.eat("snippet")){e.require_whitespace();let r=e.index,i=e.read_identifier(),n=e.index;i===null&&(e.loose?i="":oE(e.index)),e.allow_whitespace();let s=e.index,a;if(e.ts&&e.match("<")){let _=e.index,g=Ol(e,_,EK);a=e.template.slice(_+1,g-1),e.index=g}e.allow_whitespace();let l=e.eat("(",!0,!1);if(l){let _=1;for(;e.index<e.template.length&&(!e.match(")")||_!==1);)e.match("(")&&_++,e.match(")")&&_--,e.index+=1;e.eat(")",!0)}let u=e.template.slice(0,s).replace(/\S/g," "),p=e.template.slice(s,e.index),f=l?$i(u+`${p} => {}`,e.ts,s):{params:[]};e.allow_whitespace(),e.eat("}",!0);let h=e.append({type:"SnippetBlock",start:t,end:-1,expression:{type:"Identifier",start:r,end:n,name:i},typeParams:a,parameters:f.params,body:It(),metadata:{can_hoist:!1,sites:new Set}});e.stack.push(h),e.fragments.push(h.body);return}sR(e.index)}function CK(e){let t=e.index-1,r=e.current();if(r.type==="IfBlock"){if(e.eat("else")||zt(t,"{:else} or {:else if}"),e.eat("if")&&XP(t),e.allow_whitespace(),e.fragments.pop(),r.alternate=It(),e.fragments.push(r.alternate),e.eat("if")){e.require_whitespace();let i=Ft(e);e.allow_whitespace(),e.eat("}",!0);let n=t-1;for(;e.template[n]!=="{";)n-=1;let s=e.append({start:n,end:-1,type:"IfBlock",elseif:!0,test:i,consequent:It(),alternate:null});e.stack.push(s),e.fragments.pop(),e.fragments.push(s.consequent)}else e.allow_whitespace(),e.eat("}",!0);return}if(r.type==="EachBlock"){e.eat("else")||zt(t,"{:else}"),e.allow_whitespace(),e.eat("}",!0),r.fallback=It(),e.fragments.pop(),e.fragments.push(r.fallback);return}if(r.type==="AwaitBlock"){if(e.eat("then")){r.then&&iE(t,"{:then}"),e.eat("}")||(e.require_whitespace(),r.value=rn(e),e.allow_whitespace(),e.eat("}",!0)),r.then=It(),e.fragments.pop(),e.fragments.push(r.then);return}if(e.eat("catch")){r.catch&&iE(t,"{:catch}"),e.eat("}")||(e.require_whitespace(),r.error=rn(e),e.allow_whitespace(),e.eat("}",!0)),r.catch=It(),e.fragments.pop(),e.fragments.push(r.catch);return}zt(t,"{:then ...} or {:catch ...}")}KP(t)}function wE(e){let t=e.index-1,r=e.current(),i;switch(r.type){case"IfBlock":if(i=e.eat("if",!0,!1),!i){r.end=t-1,e.pop(),wE(e);return}for(e.allow_whitespace(),e.eat("}",!0);r.elseif;)r.end=e.index,e.stack.pop(),r=e.current();r.end=e.index,e.pop();return;case"EachBlock":i=e.eat("each",!0,!1);break;case"KeyBlock":i=e.eat("key",!0,!1);break;case"AwaitBlock":i=e.eat("await",!0,!1);break;case"SnippetBlock":i=e.eat("snippet",!0,!1);break;case"RegularElement":e.loose?i=!1:sE(t);break;default:sE(t)}if(!i){r.end=t-1,e.pop(),wE(e);return}e.allow_whitespace(),e.eat("}",!0),r.end=e.index,e.pop()}function SK(e){let t=e.index;for(;e.template[t]!=="{";)t-=1;if(e.eat("html")){e.require_whitespace();let r=Ft(e);e.allow_whitespace(),e.eat("}",!0),e.append({type:"HtmlTag",start:t,end:e.index,expression:r});return}if(e.eat("debug")){let r;if(e.read(kE))r=[];else{let i=Ft(e);r=i.type==="SequenceExpression"?i.expressions:[i],r.forEach(n=>{n.type!=="Identifier"&&eR(n.start)}),e.allow_whitespace(),e.eat("}",!0)}e.append({type:"DebugTag",start:t,end:e.index,identifiers:r});return}if(e.eat("const")){e.require_whitespace();let r=rn(e);e.allow_whitespace(),e.eat("=",!0),e.allow_whitespace();let i=e.index,n=Ft(e);n.type==="SequenceExpression"&&!e.template.substring(i,n.start).includes("(")&&QP(n),e.allow_whitespace(),e.eat("}",!0),e.append({type:"ConstTag",start:t,end:e.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:r,init:n,start:r.start,end:n.end}],start:t+2,end:e.index-1}})}if(e.eat("render")){e.require_whitespace();let r=Ft(e);r.type!=="CallExpression"&&(r.type!=="ChainExpression"||r.expression.type!=="CallExpression")&&uR(r),e.allow_whitespace(),e.eat("}",!0),e.append({type:"RenderTag",start:t,end:e.index,expression:r,metadata:{dynamic:!1,arguments:[],path:[],snippets:new Set}})}}function DE(e){let t=e.index,r="";for(;e.index<e.template.length&&!e.match("<")&&!e.match("{");)r+=e.template[e.index++];e.append({type:"Text",start:t,end:e.index,raw:r,data:jl(r,!1)})}function ql(e){return e.match("<")?xE:e.match("{")?EE:DE}function CE(e){let t={start:e.start,end:e.end,attributes:e.attributes};if(!e)return t;for(let r of e.attributes){r.type!=="Attribute"&&yR(r);let{name:i}=r;switch(i){case"runes":{t.runes=md(r);break}case"tag":{vR(r);break}case"customElement":{let n={},{value:s}=r,a=s===!0||Array.isArray(s)?s:[s];if(a===!0)ud(r);else if(a[0].type==="Text"){let _=hd(r);QR(r,_),n.tag=_,t.customElement=n;break}else if(a[0].expression.type!=="ObjectExpression"){if(a[0].expression.type==="Literal"&&a[0].expression.value===null)break;ud(r)}let l=[];for(let _ of a[0].expression.properties)(_.type!=="Property"||_.computed||_.key.type!=="Identifier")&&ud(r),l.push([_.key.name,_.value]);let u=l.find(([_])=>_==="tag");if(u){let _=u[1]?.value;QR(u,_),n.tag=_}let p=l.find(([_])=>_==="props")?.[1];if(p){p.type!=="ObjectExpression"&&Ti(r),n.props={};for(let _ of p.properties){(_.type!=="Property"||_.computed||_.key.type!=="Identifier"||_.value.type!=="ObjectExpression")&&Ti(r),n.props[_.key.name]={};for(let g of _.value.properties)(g.type!=="Property"||g.computed||g.key.type!=="Identifier"||g.value.type!=="Literal")&&Ti(r),g.key.name==="type"?(["String","Number","Boolean","Array","Object"].indexOf(g.value.value)===-1&&Ti(r),n.props[_.key.name].type=g.value.value):g.key.name==="reflect"?(typeof g.value.value!="boolean"&&Ti(r),n.props[_.key.name].reflect=g.value.value):g.key.name==="attribute"?(typeof g.value.value!="string"&&Ti(r),n.props[_.key.name].attribute=g.value.value):Ti(r)}}let f=l.find(([_])=>_==="shadow")?.[1];if(f){let _=f?.value;_!=="open"&&_!=="none"&&xR(f),n.shadow=_}let h=l.find(([_])=>_==="extend")?.[1];h&&(n.extend=h),t.customElement=n;break}case"namespace":{let n=hd(r);n===Ew?t.namespace="svg":n===Dw?t.namespace="mathml":n==="html"||n==="mathml"||n==="svg"?t.namespace=n:ld(r,'"html", "mathml" or "svg"');break}case"css":{let n=hd(r);n==="injected"?t.css=n:ld(r,'"injected"');break}case"immutable":{t.immutable=md(r);break}case"preserveWhitespace":{t.preserveWhitespace=md(r);break}case"accessors":{t.accessors=md(r);break}default:wR(r,i)}}return t}function hd(e){let{value:t}=e;if(t===!0)return!0;let r=Array.isArray(t)?t[0]:t;return r?t.length>1?null:r.type==="Text"?r.data:r.expression.type!=="Literal"?null:r.expression.value:!0}function md(e){let t=hd(e);return typeof t!="boolean"&&ld(e,"true or false"),t}var YR="[a-z0-9_.\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}-]",$K=new RegExp(`^[a-z]${YR}*-${YR}*$`,"u"),TK=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"];function QR(e,t){typeof t!="string"&&pE(e),t&&($K.test(t)?TK.includes(t)&&kR(e):pE(e))}function Ml(e){let{nodes:t}=e.fragment;if(t.length>0){let r=t[0],i=t[t.length-1];_R({start:r.start,end:i.end},e.name)}}var IK=/ \(\d+:\d+\)$/,e8=/<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/g,SE=class{template;template_untrimmed;loose;index=0;ts=!1;stack=[];fragments=[];root;meta_tags={};last_auto_closed_tag;constructor(t,r){if(typeof t!="string")throw new TypeError("Template must be a string");this.loose=r,this.template_untrimmed=t,this.template=t.trimEnd();let i;do i=e8.exec(t);while(i&&i[0][1]!=="s");e8.lastIndex=0,this.ts=i?.[2]==="ts",this.root={css:null,js:[],start:null,end:null,type:"Root",fragment:It(),options:null,metadata:{ts:this.ts}},this.stack.push(this.root),this.fragments.push(this.root.fragment);let n=ql;for(;this.index<this.template.length;)n=n(this)||ql;if(this.stack.length>1){let a=this.current();this.loose?a.end=this.template.length:a.type==="RegularElement"?(a.end=a.start+1,od(a,a.name)):(a.end=a.start+1,YP(a))}if(n!==ql&&Ur(this.index),this.root.fragment.nodes.length){let a=this.root.fragment.nodes[0].start;for(;Kn.test(t[a]);)a+=1;let l=this.root.fragment.nodes[this.root.fragment.nodes.length-1].end;for(;Kn.test(t[l-1]);)l-=1;this.root.start=a,this.root.end=l}else this.root.start=this.root.end=null;let s=this.root.fragment.nodes.findIndex(a=>a.type==="SvelteOptions");if(s!==-1){let a=this.root.fragment.nodes[s];this.root.fragment.nodes.splice(s,1),this.root.options=CE(a),Ml(a),Object.defineProperty(this.root.options,"__raw__",{value:a,enumerable:!1})}}current(){return this.stack[this.stack.length-1]}acorn_error(t){lR(t.pos,t.message.replace(IK,""))}eat(t,r=!1,i=!0){return this.match(t)?(this.index+=t.length,!0):(r&&(!this.loose||i)&&zt(this.index,t),!1)}match(t){let r=t.length;return r===1?this.template[this.index]===t:this.template.slice(this.index,this.index+r)===t}match_regex(t){let r=t.exec(this.template.slice(this.index));return!r||r.index!==0?null:r[0]}allow_whitespace(){for(;this.index<this.template.length&&Kn.test(this.template[this.index]);)this.index++}read(t){let r=this.match_regex(t);return r&&(this.index+=r.length),r}read_identifier(t=!1){let r=this.index,i=this.index,n=this.template.codePointAt(i);if(!$r(n,!0))return null;for(i+=n<=65535?1:2;i<this.template.length;){let a=this.template.codePointAt(i);if(!tn(a,!0))break;i+=a<=65535?1:2}let s=this.template.slice(this.index,this.index=i);return!t&&zp(s)&&CR(r,s),s}read_until(t){if(this.index>=this.template.length){if(this.loose)return"";Ur(this.template.length)}let r=this.index,i=t.exec(this.template.slice(r));return i?(this.index=r+i.index,this.template.slice(r,this.index)):(this.index=this.template.length,this.template.slice(r))}require_whitespace(){Kn.test(this.template[this.index])||oR(this.index),this.allow_whitespace()}pop(){return this.fragments.pop(),this.stack.pop()}append(t){return this.fragments.at(-1)?.nodes.push(t),t}};function $E(e,t=!1){return new SE(e,t).root}var oDe=Symbol("unknown"),Se=Symbol("number"),TE=Symbol("string"),lDe=Symbol("string"),uDe={BigInt:[Se],"Math.min":[Se,Math.min],"Math.max":[Se,Math.max],"Math.random":[Se],"Math.floor":[Se,Math.floor],"Math.f16round":[Se,Math.f16round],"Math.round":[Se,Math.round],"Math.abs":[Se,Math.abs],"Math.acos":[Se,Math.acos],"Math.asin":[Se,Math.asin],"Math.atan":[Se,Math.atan],"Math.atan2":[Se,Math.atan2],"Math.ceil":[Se,Math.ceil],"Math.cos":[Se,Math.cos],"Math.sin":[Se,Math.sin],"Math.tan":[Se,Math.tan],"Math.exp":[Se,Math.exp],"Math.log":[Se,Math.log],"Math.pow":[Se,Math.pow],"Math.sqrt":[Se,Math.sqrt],"Math.clz32":[Se,Math.clz32],"Math.imul":[Se,Math.imul],"Math.sign":[Se,Math.sign],"Math.log10":[Se,Math.log10],"Math.log2":[Se,Math.log2],"Math.log1p":[Se,Math.log1p],"Math.expm1":[Se,Math.expm1],"Math.cosh":[Se,Math.cosh],"Math.sinh":[Se,Math.sinh],"Math.tanh":[Se,Math.tanh],"Math.acosh":[Se,Math.acosh],"Math.asinh":[Se,Math.asinh],"Math.atanh":[Se,Math.atanh],"Math.trunc":[Se,Math.trunc],"Math.fround":[Se,Math.fround],"Math.cbrt":[Se,Math.cbrt],Number:[Se,Number],"Number.isInteger":[Se,Number.isInteger],"Number.isFinite":[Se,Number.isFinite],"Number.isNaN":[Se,Number.isNaN],"Number.isSafeInteger":[Se,Number.isSafeInteger],"Number.parseFloat":[Se,Number.parseFloat],"Number.parseInt":[Se,Number.parseInt],String:[TE,String],"String.fromCharCode":[TE,String.fromCharCode],"String.fromCodePoint":[TE,String.fromCodePoint]};var Oi=it(xO(),1),ei=it(iL(),1);var sL=Oi.roles.keys(),Sue=sL.filter(e=>Oi.roles.get(e)?.abstract),aL=sL.filter(e=>!Sue.includes(e)),oL=aL.filter(e=>{let t=Oi.roles.get(e);return!["toolbar","tabpanel","generic","cell"].includes(e)&&!t?.superClass.some(r=>r.includes("widget")||r.includes("window"))}).concat("progressbar"),$ue=aL.filter(e=>!oL.includes(e)&&e!=="generic");var Tue=[];Oi.elementRoles.entries().forEach(([e,t])=>{[...t].every(r=>r!=="generic"&&oL.includes(r))&&Tue.push(e)});var Iue=[];Oi.elementRoles.entries().forEach(([e,t])=>{[...t].every(r=>$ue.includes(r))&&Iue.push(e)});var Aue=[...ei.AXObjects.keys()].filter(e=>ei.AXObjects.get(e).type==="widget"),Pue=[...ei.AXObjects.keys()].filter(e=>["windows","structure"].includes(ei.AXObjects.get(e).type)),Rue=[];ei.elementAXObjects.entries().forEach(([e,t])=>{[...t].every(r=>Aue.includes(r))&&Rue.push(e)});var Nue=[];ei.elementAXObjects.entries().forEach(([e,t])=>{[...t].every(r=>Pue.includes(r))&&Nue.push(e)});var lOe="activedescendant atomic autocomplete busy checked colcount colindex colspan controls current describedby description details disabled dropeffect errormessage expanded flowto grabbed haspopup hidden invalid keyshortcuts label labelledby level live modal multiline multiselectable orientation owns placeholder posinset pressed readonly relevant required roledescription rowcount rowindex rowspan selected setsize sort valuemax valuemin valuenow valuetext".split(" ");var et={type:"Newline"},wn={type:"Indent"},En={type:"Dedent"};function sn(){return[]}function aD(e,t,r=e.length){let i=0;for(let n=t;n<r;n+=1){let s=e[n];typeof s=="string"?i+=s.length:Array.isArray(s)&&(i+=s.length===0?2:aD(s,0))}return i}function L(e,t){let r=e,i=Uue[e.type];if(!i)throw new Error(`Not implemented ${e.type}`);r.leadingComments&&fL(r.leadingComments,t,!1),i(e,t),r.trailingComments&&t.comments.push(r.trailingComments[0])}function wa(e,t){return{type:"Location",line:e,column:t}}function Li(e,t){return t.loc?[wa(t.loc.start.line,t.loc.start.column),e,wa(t.loc.end.line,t.loc.end.column)]:e}function fL(e,t,r){for(let i of e)t.commands.push({type:"Comment",comment:i}),r||i.type==="Line"||/\n/.test(i.value)?t.commands.push(et):t.commands.push(" ")}function Bue(e,t){let r=t;for(let i of e)i==="\\"?r+="\\\\":i===t?r+="\\"+i:i===`
`?r+="\\n":i==="\r"?r+="\\r":r+=i;return r+t}var M_={"||":2,"&&":3,"??":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},Ht={JSXFragment:20,JSXElement:20,ArrayPattern:20,ObjectPattern:20,ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,MetaProperty:19,CallExpression:19,ChainExpression:19,ImportExpression:19,NewExpression:19,Literal:18,TSSatisfiesExpression:18,TSInstantiationExpression:18,TSNonNullExpression:18,TSTypeAssertion:18,AwaitExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,TSAsExpression:16,UpdateExpression:16,UnaryExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,ArrowFunctionExpression:3,AssignmentExpression:3,YieldExpression:2,RestElement:1};function pL(e,t,r){if(e.type==="PrivateIdentifier")return!1;if(e.type==="LogicalExpression"&&t.type==="LogicalExpression"&&(t.operator==="??"&&e.operator!=="??"||t.operator!=="??"&&e.operator==="??"))return!0;let i=Ht[e.type],n=Ht[t.type];return i!==n?!r&&i===15&&n===14&&t.operator==="**"||i<n:i!==13&&i!==14?!1:e.operator==="**"&&t.operator==="**"?!r:r?M_[e.operator]<=M_[t.operator]:M_[e.operator]<M_[t.operator]}function zue(e){for(;e;){if(e.type==="CallExpression")return!0;if(e.type==="MemberExpression")e=e.object;else return!1}}var dL=["ImportDeclaration","VariableDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration"],B_=(e,t)=>{let r={type:"EmptyStatement"},i=!0,n=!1;for(let s of e){if(s.type==="EmptyStatement")continue;let a=sn();i||t.commands.push(a,et),i=!1;let l=s,u=l.leadingComments;delete l.leadingComments,u&&u.length>0&&fL(u,t,!0);let p={...t,multiline:!1};L(s,p),(p.multiline||n||(dL.includes(s.type)||dL.includes(r.type))&&r.type!==s.type)&&a.push(`
`);let f=!1;for(;t.comments.length;){let h=t.comments.shift();t.commands.push(f?et:" ",{type:"Comment",comment:h}),f=h.type==="Line"}n=p.multiline,r=s}},sD=(e,t)=>{let r=t.commands.length,i=sn(),n=sn(),s={...t,multiline:!1};t.commands.push(`${e.kind} `,i);let a=!0;for(let u of e.declarations)a||t.commands.push(n),a=!1,L(u,s);s.multiline||e.declarations.length>1&&aD(t.commands,r)>50?(t.multiline=!0,e.declarations.length>1&&i.push(wn),n.push(",",et),e.declarations.length>1&&t.commands.push(En)):n.push(", ")};function wt(e,t,r,i,n=","){if(e.length===0)return;let s=t.commands.length,a=sn(),l=sn(),u=sn();t.commands.push(a);let p={...t,multiline:!1},f;for(let _=0;_<e.length;_+=1){let g=e[_],b=_===0,E=_===e.length-1;if(g)if(!b&&!f&&t.commands.push(l),i(g,p),E||t.commands.push(n),t.comments.length>0){for(t.commands.push(" ");t.comments.length;){let C=t.comments.shift();t.commands.push({type:"Comment",comment:C}),E||t.commands.push(l)}p.multiline=!0}else E||t.commands.push(l);else t.commands.push(n);f=g}t.commands.push(u),p.multiline||aD(t.commands,s)>50?(t.multiline=!0,a.push(wn,et),l.push(et),u.push(En,et)):(r&&a.push(" "),l.push(" "),r&&u.push(" "))}function Ne(e,t){switch(e.type){case"TSNumberKeyword":t.commands.push("number");break;case"TSStringKeyword":t.commands.push("string");break;case"TSBooleanKeyword":t.commands.push("boolean");break;case"TSAnyKeyword":t.commands.push("any");break;case"TSVoidKeyword":t.commands.push("void");break;case"TSUnknownKeyword":t.commands.push("unknown");break;case"TSNeverKeyword":t.commands.push("never");break;case"TSSymbolKeyword":t.commands.push("symbol");break;case"TSNullKeyword":t.commands.push("null");break;case"TSUndefinedKeyword":t.commands.push("undefined");break;case"TSArrayType":Ne(e.elementType,t),t.commands.push("[]");break;case"TSTypeAnnotation":t.commands.push(": "),Ne(e.typeAnnotation,t);break;case"TSTypeLiteral":t.commands.push("{ "),wt(e.members,t,!1,Ne,";"),t.commands.push(" }");break;case"TSPropertySignature":L(e.key,t),e.optional&&t.commands.push("?"),e.typeAnnotation&&Ne(e.typeAnnotation,t);break;case"TSTypeReference":L(e.typeName,t),e.typeArguments&&Ne(e.typeArguments,t);break;case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":t.commands.push("<");for(let s=0;s<e.params.length;s++)Ne(e.params[s],t),s!=e.params.length-1&&t.commands.push(", ");t.commands.push(">");break;case"TSTypeParameter":t.commands.push(e.name),e.constraint&&(t.commands.push(" extends "),Ne(e.constraint,t));break;case"TSTypeQuery":t.commands.push("typeof "),L(e.exprName,t);break;case"TSEnumMember":L(e.id,t),e.initializer&&(t.commands.push(" = "),L(e.initializer,t));break;case"TSFunctionType":e.typeParameters&&Ne(e.typeParameters,t);let r=e.parameters;t.commands.push("("),wt(r,t,!1,L),t.commands.push(") => "),Ne(e.typeAnnotation.typeAnnotation,t);break;case"TSIndexSignature":let i=e.parameters;t.commands.push("["),wt(i,t,!1,L),t.commands.push("]"),Ne(e.typeAnnotation,t);break;case"TSMethodSignature":L(e.key,t);let n=e.parameters;t.commands.push("("),wt(n,t,!1,L),t.commands.push(")"),Ne(e.typeAnnotation,t);break;case"TSExpressionWithTypeArguments":L(e.expression,t);break;case"TSTupleType":t.commands.push("["),wt(e.elementTypes,t,!1,Ne),t.commands.push("]");break;case"TSNamedTupleMember":L(e.label,t),t.commands.push(": "),Ne(e.elementType,t);break;case"TSUnionType":wt(e.types,t,!1,Ne," |");break;case"TSIntersectionType":wt(e.types,t,!1,Ne," &");break;case"TSLiteralType":L(e.literal,t);break;case"TSConditionalType":Ne(e.checkType,t),t.commands.push(" extends "),Ne(e.extendsType,t),t.commands.push(" ? "),Ne(e.trueType,t),t.commands.push(" : "),Ne(e.falseType,t);break;case"TSIndexedAccessType":Ne(e.objectType,t),t.commands.push("["),Ne(e.indexType,t),t.commands.push("]");break;case"TSImportType":t.commands.push("import("),L(e.argument,t),t.commands.push(")"),e.qualifier&&(t.commands.push("."),L(e.qualifier,t));break;default:throw new Error(`Not implemented type annotation ${e.type}`)}}var Vt={"ArrayExpression|ArrayPattern":(e,t)=>{t.commands.push("["),wt(e.elements,t,!1,L),t.commands.push("]")},"BinaryExpression|LogicalExpression":(e,t)=>{pL(e.left,e,!1)?(t.commands.push("("),L(e.left,t),t.commands.push(")")):L(e.left,t),t.commands.push(` ${e.operator} `),pL(e.right,e,!0)?(t.commands.push("("),L(e.right,t),t.commands.push(")")):L(e.right,t)},"BlockStatement|ClassBody":(e,t)=>{if(e.loc){let{line:r,column:i}=e.loc.start;t.commands.push(wa(r,i),"{",wa(r,i+1))}else t.commands.push("{");if(e.body.length>0&&(t.multiline=!0,t.commands.push(wn,et),B_(e.body,t),t.commands.push(En,et)),e.loc){let{line:r,column:i}=e.loc.end;t.commands.push(wa(r,i-1),"}",wa(r,i))}else t.commands.push("}")},"CallExpression|NewExpression":(e,t)=>{e.type==="NewExpression"&&t.commands.push("new "),Ht[e.callee.type]<Ht.CallExpression||e.type==="NewExpression"&&zue(e.callee)?(t.commands.push("("),L(e.callee,t),t.commands.push(")")):L(e.callee,t),e.optional&&t.commands.push("?."),e.typeArguments&&Ne(e.typeArguments,t);let i=sn(),n=sn(),s=sn();t.commands.push("(",i);let a={...t,multiline:!1},l={...t,multiline:!1};for(let p=0;p<e.arguments.length;p+=1){if(p>0)if(t.comments.length>0)for(t.commands.push(", ");t.comments.length;){let h=t.comments.shift();t.commands.push({type:"Comment",comment:h}),h.type==="Line"?(a.multiline=!0,t.commands.push(et)):t.commands.push(" ")}else t.commands.push(n);let f=e.arguments[p];L(f,p===e.arguments.length-1?l:a)}t.commands.push(s,")");let u=a.multiline;(u||l.multiline)&&(t.multiline=!0),u?(i.push(wn,et),n.push(",",et),s.push(En,et)):n.push(", ")},"ClassDeclaration|ClassExpression":(e,t)=>{t.commands.push("class "),e.id&&(L(e.id,t),t.commands.push(" ")),e.superClass&&(t.commands.push("extends "),L(e.superClass,t),t.commands.push(" ")),e.implements&&(t.commands.push("implements "),wt(e.implements,t,!1,Ne)),L(e.body,t)},"ForInStatement|ForOfStatement":(e,t)=>{t.commands.push("for "),e.type==="ForOfStatement"&&e.await&&t.commands.push("await "),t.commands.push("("),e.left.type==="VariableDeclaration"?sD(e.left,t):L(e.left,t),t.commands.push(e.type==="ForInStatement"?" in ":" of "),L(e.right,t),t.commands.push(") "),L(e.body,t)},"FunctionDeclaration|FunctionExpression":(e,t)=>{e.async&&t.commands.push("async "),t.commands.push(e.generator?"function* ":"function "),e.id&&L(e.id,t),e.typeParameters&&Ne(e.typeParameters,t),t.commands.push("("),wt(e.params,t,!1,L),t.commands.push(")"),e.returnType&&Ne(e.returnType,t),t.commands.push(" "),L(e.body,t)},"RestElement|SpreadElement":(e,t)=>{t.commands.push("..."),L(e.argument,t),e.typeAnnotation&&Ne(e.typeAnnotation,t)}},Uue={ArrayExpression:Vt["ArrayExpression|ArrayPattern"],ArrayPattern:Vt["ArrayExpression|ArrayPattern"],ArrowFunctionExpression:(e,t)=>{e.async&&t.commands.push("async "),t.commands.push("("),wt(e.params,t,!1,L),t.commands.push(") => "),e.body.type==="ObjectExpression"||e.body.type==="AssignmentExpression"&&e.body.left.type==="ObjectPattern"||e.body.type==="LogicalExpression"&&e.body.left.type==="ObjectExpression"||e.body.type==="ConditionalExpression"&&e.body.test.type==="ObjectExpression"?(t.commands.push("("),L(e.body,t),t.commands.push(")")):L(e.body,t)},AssignmentExpression(e,t){L(e.left,t),t.commands.push(` ${e.operator} `),L(e.right,t)},AssignmentPattern(e,t){L(e.left,t),t.commands.push(" = "),L(e.right,t)},AwaitExpression(e,t){if(e.argument){let r=Ht[e.argument.type];r&&r<Ht.AwaitExpression?(t.commands.push("await ("),L(e.argument,t),t.commands.push(")")):(t.commands.push("await "),L(e.argument,t))}else t.commands.push("await")},BinaryExpression:Vt["BinaryExpression|LogicalExpression"],BlockStatement:Vt["BlockStatement|ClassBody"],BreakStatement(e,t){e.label?(t.commands.push("break "),L(e.label,t),t.commands.push(";")):t.commands.push("break;")},CallExpression:Vt["CallExpression|NewExpression"],ChainExpression(e,t){L(e.expression,t)},ClassBody:Vt["BlockStatement|ClassBody"],ClassDeclaration:Vt["ClassDeclaration|ClassExpression"],ClassExpression:Vt["ClassDeclaration|ClassExpression"],ConditionalExpression(e,t){Ht[e.test.type]>Ht.ConditionalExpression?L(e.test,t):(t.commands.push("("),L(e.test,t),t.commands.push(")"));let r=sn(),i=sn(),n={...t,multiline:!1};t.commands.push(r),L(e.consequent,n),t.commands.push(i),L(e.alternate,n),n.multiline?(r.push(wn,et,"? "),i.push(et,": "),t.commands.push(En)):(r.push(" ? "),i.push(" : "))},ContinueStatement(e,t){e.label?(t.commands.push("continue "),L(e.label,t),t.commands.push(";")):t.commands.push("continue;")},DebuggerStatement(e,t){t.commands.push(Li("debugger",e),";")},Decorator(e,t){t.commands.push("@"),L(e.expression,t),t.commands.push(et)},DoWhileStatement(e,t){t.commands.push("do "),L(e.body,t),t.commands.push(" while ("),L(e.test,t),t.commands.push(");")},EmptyStatement(e,t){t.commands.push(";")},ExportAllDeclaration(e,t){t.commands.push("export * "),e.exported&&(t.commands.push("as "),L(e.exported,t)),t.commands.push(" from "),L(e.source,t),t.commands.push(";")},ExportDefaultDeclaration(e,t){t.commands.push("export default "),L(e.declaration,t),e.declaration.type!=="FunctionDeclaration"&&t.commands.push(";")},ExportNamedDeclaration(e,t){if(t.commands.push("export "),e.declaration){L(e.declaration,t);return}t.commands.push("{"),wt(e.specifiers,t,!0,(r,i)=>{L(r.local,i),r.local.name!==r.exported.name&&(i.commands.push(" as "),L(r.exported,i))}),t.commands.push("}"),e.source&&(t.commands.push(" from "),L(e.source,t)),t.commands.push(";")},ExpressionStatement(e,t){if(e.expression.type==="ObjectExpression"||e.expression.type==="AssignmentExpression"&&e.expression.left.type==="ObjectPattern"||e.expression.type==="FunctionExpression"){t.commands.push("("),L(e.expression,t),t.commands.push(");");return}L(e.expression,t),t.commands.push(";")},ForStatement:(e,t)=>{t.commands.push("for ("),e.init&&(e.init.type==="VariableDeclaration"?sD(e.init,t):L(e.init,t)),t.commands.push("; "),e.test&&L(e.test,t),t.commands.push("; "),e.update&&L(e.update,t),t.commands.push(") "),L(e.body,t)},ForInStatement:Vt["ForInStatement|ForOfStatement"],ForOfStatement:Vt["ForInStatement|ForOfStatement"],FunctionDeclaration:Vt["FunctionDeclaration|FunctionExpression"],FunctionExpression:Vt["FunctionDeclaration|FunctionExpression"],Identifier(e,t){let r=e.name;t.commands.push(Li(r,e)),e.typeAnnotation&&Ne(e.typeAnnotation,t)},IfStatement(e,t){t.commands.push("if ("),L(e.test,t),t.commands.push(") "),L(e.consequent,t),e.alternate&&(t.commands.push(" else "),L(e.alternate,t))},ImportDeclaration(e,t){if(e.specifiers.length===0){t.commands.push("import "),L(e.source,t),t.commands.push(";");return}let r=null,i=null,n=[];for(let s of e.specifiers)s.type==="ImportNamespaceSpecifier"?r=s:s.type==="ImportDefaultSpecifier"?i=s:n.push(s);if(t.commands.push("import "),e.importKind=="type"&&t.commands.push("type "),i&&(t.commands.push(Li(i.local.name,i)),(r||n.length>0)&&t.commands.push(", ")),r&&t.commands.push(Li("* as "+r.local.name,r)),n.length>0&&(t.commands.push("{"),wt(n,t,!0,(s,a)=>{s.local.name!==s.imported.name&&(L(s.imported,a),a.commands.push(" as ")),s.importKind=="type"&&a.commands.push("type "),L(s.local,a)}),t.commands.push("}")),t.commands.push(" from "),L(e.source,t),e.attributes&&e.attributes.length>0){t.commands.push(" with { ");for(let s=0;s<e.attributes.length;s++){let{key:a,value:l}=e.attributes[s];L(a,t),t.commands.push(": "),L(l,t),s+1!==e.attributes.length&&t.commands.push(", ")}t.commands.push(" }")}t.commands.push(";")},ImportExpression(e,t){if(t.commands.push("import("),L(e.source,t),e.arguments)for(let r=0;r<e.arguments.length;r++)t.commands.push(", "),L(e.arguments[r],t);t.commands.push(")")},LabeledStatement(e,t){L(e.label,t),t.commands.push(": "),L(e.body,t)},Literal(e,t){let r=e.raw||(typeof e.value=="string"?Bue(e.value,t.quote):String(e.value));t.commands.push(Li(r,e))},LogicalExpression:Vt["BinaryExpression|LogicalExpression"],MemberExpression(e,t){Ht[e.object.type]<Ht.MemberExpression?(t.commands.push("("),L(e.object,t),t.commands.push(")")):L(e.object,t),e.computed?(e.optional&&t.commands.push("?."),t.commands.push("["),L(e.property,t),t.commands.push("]")):(t.commands.push(e.optional?"?.":"."),L(e.property,t))},MetaProperty(e,t){L(e.meta,t),t.commands.push("."),L(e.property,t)},MethodDefinition(e,t){if(e.decorators)for(let r of e.decorators)L(r,t);e.static&&t.commands.push("static "),(e.kind==="get"||e.kind==="set")&&t.commands.push(e.kind+" "),e.value.async&&t.commands.push("async "),e.value.generator&&t.commands.push("*"),e.computed&&t.commands.push("["),L(e.key,t),e.computed&&t.commands.push("]"),t.commands.push("("),wt(e.value.params,t,!1,L),t.commands.push(")"),e.value.returnType&&Ne(e.value.returnType,t),t.commands.push(" "),e.value.body&&L(e.value.body,t)},NewExpression:Vt["CallExpression|NewExpression"],ObjectExpression(e,t){t.commands.push("{"),wt(e.properties,t,!0,(r,i)=>{if(r.type==="Property"&&r.value.type==="FunctionExpression"){let n=r.value;r.kind==="get"||r.kind==="set"?i.commands.push(r.kind+" "):(n.async&&i.commands.push("async "),n.generator&&i.commands.push("*")),r.computed&&i.commands.push("["),L(r.key,i),r.computed&&i.commands.push("]"),i.commands.push("("),wt(n.params,i,!1,L),i.commands.push(") "),L(n.body,i)}else L(r,i)}),t.commands.push("}")},ObjectPattern(e,t){t.commands.push("{"),wt(e.properties,t,!0,L),t.commands.push("}"),e.typeAnnotation&&Ne(e.typeAnnotation,t)},ParenthesizedExpression(e,t){return L(e.expression,t)},PrivateIdentifier(e,t){t.commands.push("#",Li(e.name,e))},Program(e,t){B_(e.body,t)},Property(e,t){let r=e.value.type==="AssignmentPattern"?e.value.left:e.value;if(!e.computed&&e.kind==="init"&&e.key.type==="Identifier"&&r.type==="Identifier"&&e.key.name===r.name){L(e.value,t);return}e.computed&&t.commands.push("["),L(e.key,t),t.commands.push(e.computed?"]: ":": "),L(e.value,t)},PropertyDefinition(e,t){if(e.decorators)for(let r of e.decorators)L(r,t);e.accessibility&&t.commands.push(e.accessibility," "),e.static&&t.commands.push("static "),e.computed?(t.commands.push("["),L(e.key,t),t.commands.push("]")):L(e.key,t),e.typeAnnotation&&(t.commands.push(": "),Ne(e.typeAnnotation.typeAnnotation,t)),e.value&&(t.commands.push(" = "),L(e.value,t)),t.commands.push(";")},RestElement:Vt["RestElement|SpreadElement"],ReturnStatement(e,t){if(e.argument){let r=e.argument,i=r.leadingComments&&r.leadingComments.some(n=>n.type==="Line");t.commands.push(i?"return (":"return "),L(e.argument,t),t.commands.push(i?");":";")}else t.commands.push("return;")},SequenceExpression(e,t){t.commands.push("("),wt(e.expressions,t,!1,L),t.commands.push(")")},SpreadElement:Vt["RestElement|SpreadElement"],StaticBlock(e,t){t.commands.push(wn,"static {",et),B_(e.body,t),t.commands.push(En,et,"}")},Super(e,t){t.commands.push(Li("super",e))},SwitchStatement(e,t){t.commands.push("switch ("),L(e.discriminant,t),t.commands.push(") {",wn);let r=!0;for(let i of e.cases){r||t.commands.push(`
`),r=!1,i.test?(t.commands.push(et,"case "),L(i.test,t),t.commands.push(":")):t.commands.push(et,"default:"),t.commands.push(wn);for(let n of i.consequent)t.commands.push(et),L(n,t);t.commands.push(En)}t.commands.push(En,et,"}")},TaggedTemplateExpression(e,t){L(e.tag,t),L(e.quasi,t)},TemplateLiteral(e,t){t.commands.push("`");let{quasis:r,expressions:i}=e;for(let s=0;s<i.length;s++){let a=r[s].value.raw;t.commands.push(a,"${"),L(i[s],t),t.commands.push("}"),/\n/.test(a)&&(t.multiline=!0)}let n=r[r.length-1].value.raw;t.commands.push(n,"`"),/\n/.test(n)&&(t.multiline=!0)},ThisExpression(e,t){t.commands.push(Li("this",e))},ThrowStatement(e,t){t.commands.push("throw "),e.argument&&L(e.argument,t),t.commands.push(";")},TryStatement(e,t){t.commands.push("try "),L(e.block,t),e.handler&&(e.handler.param?(t.commands.push(" catch("),L(e.handler.param,t),t.commands.push(") ")):t.commands.push(" catch "),L(e.handler.body,t)),e.finalizer&&(t.commands.push(" finally "),L(e.finalizer,t))},TSAsExpression(e,t){e.expression&&(Ht[e.expression.type]<Ht.TSAsExpression?(t.commands.push("("),L(e.expression,t),t.commands.push(")")):L(e.expression,t)),t.commands.push(" as "),Ne(e.typeAnnotation,t)},TSEnumDeclaration(e,t){t.commands.push("enum "),L(e.id,t),t.commands.push(" {",wn,et),wt(e.members,t,!1,Ne),t.commands.push(En,et,"}",et)},TSModuleBlock(e,t){t.commands.push(" {",wn,et),B_(e.body,t),t.commands.push(En,et,"}")},TSModuleDeclaration(e,t){e.declare?t.commands.push("declare "):t.commands.push("namespace "),L(e.id,t),e.body&&L(e.body,t)},TSNonNullExpression(e,t){L(e.expression,t),t.commands.push("!")},TSInterfaceBody(e,t){wt(e.body,t,!0,Ne,";")},TSInterfaceDeclaration(e,t){t.commands.push("interface "),L(e.id,t),e.typeParameters&&Ne(e.typeParameters,t),e.extends&&(t.commands.push(" extends "),wt(e.extends,t,!1,Ne)),t.commands.push(" {"),L(e.body,t),t.commands.push("}")},TSSatisfiesExpression(e,t){e.expression&&(Ht[e.expression.type]<Ht.TSSatisfiesExpression?(t.commands.push("("),L(e.expression,t),t.commands.push(")")):L(e.expression,t)),t.commands.push(" satisfies "),Ne(e.typeAnnotation,t)},TSTypeAliasDeclaration(e,t){t.commands.push("type "),L(e.id,t),e.typeParameters&&Ne(e.typeParameters,t),t.commands.push(" = "),Ne(e.typeAnnotation,t),t.commands.push(";")},TSQualifiedName(e,t){L(e.left,t),t.commands.push("."),L(e.right,t)},UnaryExpression(e,t){t.commands.push(e.operator),e.operator.length>1&&t.commands.push(" "),Ht[e.argument.type]<Ht.UnaryExpression?(t.commands.push("("),L(e.argument,t),t.commands.push(")")):L(e.argument,t)},UpdateExpression(e,t){e.prefix?(t.commands.push(e.operator),L(e.argument,t)):(L(e.argument,t),t.commands.push(e.operator))},VariableDeclaration(e,t){sD(e,t),t.commands.push(";")},VariableDeclarator(e,t){L(e.id,t),e.init&&(t.commands.push(" = "),L(e.init,t))},WhileStatement(e,t){t.commands.push("while ("),L(e.test,t),t.commands.push(") "),L(e.body,t)},WithStatement(e,t){t.commands.push("with ("),L(e.object,t),t.commands.push(") "),L(e.body,t)},YieldExpression(e,t){e.argument?(t.commands.push(e.delegate?"yield* ":"yield "),L(e.argument,t)):t.commands.push(e.delegate?"yield*":"yield")}};var mL=()=>{throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?mL=e=>window.btoa(unescape(encodeURIComponent(e))):typeof Buffer=="function"&&(mL=e=>Buffer.from(e,"utf-8").toString("base64"));var hL=_L("",-1,-1,"",null,!1),Vue=[];function _L(e,t,r,i,n,s){return{source:e,line:t,column:r,name:i,content:n,ignore:s}}function gL(e,t,r,i,n){return{map:e,sources:t,source:r,content:i,ignore:n}}function bL(e,t){return gL(e,t,"",null,!1)}function Hue(e,t,r){return gL(null,Vue,e,t,r)}function Zue(e){let t=new Gs({file:e.map.file}),{sources:r,map:i}=e,n=i.names,s=ap(i);for(let a=0;a<s.length;a++){let l=s[a];for(let u=0;u<l.length;u++){let p=l[u],f=p[0],h=hL;if(p.length!==1){let N=r[p[1]];if(h=vL(N,p[2],p[3],p.length===5?n[p[4]]:""),h==null)continue}let{column:_,line:g,name:b,content:E,source:C,ignore:T}=h;Ks(t,a,f,C,g,_,b),C&&E!=null&&vI(t,C,E),T&&yI(t,C,!0)}}return t}function vL(e,t,r,i){if(!e.map)return _L(e.source,t,r,i,e.content,e.ignore);let n=_I(e.map,t,r);return n==null?null:n.length===1?hL:vL(e.sources[n[1]],n[2],n[3],n.length===5?e.map.names[n[4]]:i)}function Wue(e){return Array.isArray(e)?e:[e]}function Gue(e,t){let r=Wue(e).map(s=>new Ws(s,"")),i=r.pop();for(let s=0;s<r.length;s++)if(r[s].sources.length>1)throw new Error(`Transformation map ${s} must have exactly one source file.
Did you specify these with the most recent transformation maps first?`);let n=yL(i,t,"",0);for(let s=r.length-1;s>=0;s--)n=bL(r[s],[n]);return n}function yL(e,t,r,i){let{resolvedSources:n,sourcesContent:s,ignoreList:a}=e,l=i+1,u=n.map((p,f)=>{let h={importer:r,depth:l,source:p||"",content:void 0,ignore:void 0},_=t(h.source,h),{source:g,content:b,ignore:E}=h;if(_)return yL(new Ws(_,g),t,g,l);let C=b!==void 0?b:s?s[f]:null,T=E!==void 0?E:a?a.includes(f):!1;return Hue(g,C,T)});return bL(e,u)}var oD=class{constructor(t,r){let i=r.decodedMappings?wk(t):op(t);this.version=i.version,this.file=i.file,this.mappings=i.mappings,this.names=i.names,this.ignoreList=i.ignoreList,this.sourceRoot=i.sourceRoot,this.sources=i.sources,r.excludeContent||(this.sourcesContent=i.sourcesContent)}toString(){return JSON.stringify(this)}};function lD(e,t,r){let i=typeof r=="object"?r:{excludeContent:!!r,decodedMappings:!1},n=Gue(e,t);return new oD(Zue(n),i)}function uD(e,t){for(let r=0;r<t.length;r++)e.push(t[r])}function Kue(e){return e.length-e.lastIndexOf(`
`)-1}function cD(e,t,r){if(e.mappings.length!=0)for(let i=0;i<e.mappings.length;i++){let n=e.mappings[i];for(let s=0;s<n.length;s++){let a=n[s];a[1]===r&&(a[2]===0&&(a[3]+=t.column),a[2]+=t.line)}}}function xL(e,t){let r=e.slice(),i=[];t=t||[];let n=!1;for(let[a,l]of t.entries()){let u=e.indexOf(l);if(u>=0)i[a]=u;else{let p=r.length;r[p]=l,i[a]=p,n=!0}}let s=n;return n&&i.find((a,l)=>a!=l)===void 0&&(s=!1),[r,i,n,s]}var Xue=/([^\w\s]|\s+)/g,an=class e{string=void 0;map=void 0;constructor(t="",r=null){this.string=t,r?this.map=r:this.map={version:3,mappings:[],sources:[],names:[]}}concat(t){if(t.string=="")return this;if(this.string=="")return this.string=t.string,this.map=t.map,this;let r=Kue(this.string);this.string+=t.string;let i=this.map,n=t.map;if(n.mappings.length==0)return this;let[s,a,l,u]=xL(i.sources,n.sources),[p,f,h,_]=xL(i.names,n.names);if(l&&(i.sources=s),h&&(i.names=p),u&&_)for(let g=0;g<n.mappings.length;g++){let b=n.mappings[g];for(let E=0;E<b.length;E++){let C=b[E];C[1]>=0&&(C[1]=a[C[1]]),C[4]>=0&&(C[4]=f[C[4]])}}else if(u)for(let g=0;g<n.mappings.length;g++){let b=n.mappings[g];for(let E=0;E<b.length;E++){let C=b[E];C[1]>=0&&(C[1]=a[C[1]])}}else if(_)for(let g=0;g<n.mappings.length;g++){let b=n.mappings[g];for(let E=0;E<b.length;E++){let C=b[E];C[4]>=0&&(C[4]=f[C[4]])}}if(n.mappings.length>0&&r>0){let g=n.mappings[0];for(let b=0;b<g.length;b++)g[b][0]+=r}return uD(i.mappings[i.mappings.length-1],n.mappings.shift()),uD(i.mappings,n.mappings),this}static from_processed(t,r){let i=t.split(`
`).length;if(r){let n=i-r.mappings.length;for(let s=0;s<n;s++)r.mappings.push([]);return new e(t,r)}if(t=="")return new e;r={version:3,names:[],sources:[],mappings:[]};for(let n=0;n<i;n++)r.mappings.push([]);return new e(t,r)}static from_source({source:t,file_basename:r,get_location:i}){let n=i(0);n||(n={line:0,column:0});let s={version:3,names:[],sources:[r],mappings:[]};if(t=="")return new e(t,s);let a=t.split(`
`);for(let u=0;u<a.length;u++){s.mappings.push([]);let p=a[u].split(Xue);for(let f=0,h=0;f<p.length;f++)p[f]!=""&&(s.mappings[u].push([h,0,n.line+u,h]),h+=p[f].length)}let l=s.mappings[0];for(let u=0;u<l.length;u++)l[u][3]+=n.column;return new e(t,s)}};var Jue=typeof window<"u"&&typeof atob=="function"?atob:e=>Buffer.from(e,"base64").toString();function kL(e,t){if(t.length==0)return null;let r=1,i=t.slice(0,-1).find(n=>n.sources.length!==1)===void 0?lD(t,()=>null,!0):lD(t[0],n=>n===e&&t[r]?t[r++]:null,!0);return i.file||delete i.file,i.sources.length||(i.sources=[e]),i}var Yue=/data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(\S*)/;function wL(e,t){let r="[#@]\\s*sourceMappingURL\\s*=\\s*(\\S*)",i=t=="script"?new RegExp("(?://"+r+")|(?:/\\*"+r+"\\s*\\*/)$"):new RegExp("/\\*"+r+"\\s*\\*/$");function n(s){let a=e.code.length<100?e.code:e.code.slice(0,100)+" [...]";console.warn(`warning: ${s}. processed.code = ${JSON.stringify(a)}`)}e.code=e.code.replace(i,(s,a,l)=>{let u=t=="script"?a||l:a,p=(u.match(Yue)||[])[1];return p?e.map?(n("Not implemented. Found sourcemap in both processed.code and processed.map. Please update your preprocessor to return only one sourcemap."),""):(e.map=Jue(p),""):(e.map||n(`Found sourcemap path ${JSON.stringify(u)} in processed.code, but no sourcemap data. Please update your preprocessor to return sourcemap data directly.`),"")})}function EL(e){return e.split(/[/\\]/).pop()}var pD=`<!--${C2}-->`,CL=`<!--${S2}-->`,dD=`<!--${$2}-->`,SL="<!---->";var $L=De(pD),mD=De(dD),Jl=De(SL);var Tce="accent-height accumulate additive alignment-baseline allowReorder alphabetic amplitude arabic-form ascent attributeName attributeType autoReverse azimuth baseFrequency baseline-shift baseProfile bbox begin bias by calcMode cap-height class clip clipPathUnits clip-path clip-rule color color-interpolation color-interpolation-filters color-profile color-rendering contentScriptType contentStyleType cursor cx cy d decelerate descent diffuseConstant direction display divisor dominant-baseline dur dx dy edgeMode elevation enable-background end exponent externalResourcesRequired fill fill-opacity fill-rule filter filterRes filterUnits flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight format from fr fx fy g1 g2 glyph-name glyph-orientation-horizontal glyph-orientation-vertical glyphRef gradientTransform gradientUnits hanging height href horiz-adv-x horiz-origin-x id ideographic image-rendering in in2 intercept k k1 k2 k3 k4 kernelMatrix kernelUnitLength kerning keyPoints keySplines keyTimes lang lengthAdjust letter-spacing lighting-color limitingConeAngle local marker-end marker-mid marker-start markerHeight markerUnits markerWidth mask maskContentUnits maskUnits mathematical max media method min mode name numOctaves offset onabort onactivate onbegin onclick onend onerror onfocusin onfocusout onload onmousedown onmousemove onmouseout onmouseover onmouseup onrepeat onresize onscroll onunload opacity operator order orient orientation origin overflow overline-position overline-thickness panose-1 paint-order pathLength patternContentUnits patternTransform patternUnits pointer-events points pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits r radius refX refY rendering-intent repeatCount repeatDur requiredExtensions requiredFeatures restart result rotate rx ry scale seed shape-rendering slope spacing specularConstant specularExponent speed spreadMethod startOffset stdDeviation stemh stemv stitchTiles stop-color stop-opacity strikethrough-position strikethrough-thickness string stroke stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width style surfaceScale systemLanguage tabindex tableValues target targetX targetY text-anchor text-decoration text-rendering textLength to transform type u1 u2 underline-position underline-thickness unicode unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical values version vert-adv-y vert-origin-x vert-origin-y viewBox viewTarget visibility width widths word-spacing writing-mode x x-height x1 x2 xChannelSelector xlink:actuate xlink:arcrole xlink:href xlink:role xlink:show xlink:title xlink:type xml:base xml:lang xml:space y y1 y2 yChannelSelector z zoomAndPan".split(" "),Ice=new Map;Tce.forEach(e=>{Ice.set(e.toLowerCase(),e)});var VL={filename:Ql("(unknown)"),rootDir:Ql(typeof process<"u"?process.cwd?.():typeof Deno<"u"?Deno.cwd():void 0),dev:Sn(!1),generate:fs("client",(e,t)=>e==="dom"||e==="ssr"?(wD(j2),e==="dom"?"client":"server"):(e!=="client"&&e!=="server"&&e!==!1&&$n(`${t} must be "client", "server" or false`),e)),warningFilter:ZL(()=>!0)},Rce=kD({...VL}),HL=kD({...VL,accessors:UL(Ow,Sn(!1)),css:fs("external",e=>((e===!0||e===!1)&&$n('The boolean options have been removed from the css option. Use "external" instead of false and "injected" instead of true'),e==="none"&&$n('css: "none" is no longer a valid option. If this was crucial for you, please open an issue on GitHub with your use case.'),e!=="external"&&e!=="injected"&&$n('css should be either "external" (default, recommended) or "injected"'),e)),cssHash:ZL(({css:e,hash:t})=>`svelte-${t(e)}`),cssOutputFilename:Ql(void 0),customElement:Sn(!1),discloseVersion:Sn(!0),immutable:UL(Lw,Sn(!1)),legacy:Ea("The legacy option has been removed. If you are using this because of legacy.componentApi, use compatibility.componentApi instead"),compatibility:kD({componentApi:xD([4,5],5)}),loopGuardTimeout:yD(F2),name:Ql(void 0),namespace:xD(["html","mathml","svg"]),modernAst:Sn(!1),outputFilename:Ql(void 0),preserveComments:Sn(!1),fragments:xD(["html","tree"]),preserveWhitespace:Sn(!1),runes:Sn(void 0),hmr:Sn(!1),sourcemap:fs(void 0,e=>e),enableSourcemap:yD(O2),hydratable:yD(L2),format:Ea('The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)'),tag:Ea('The tag option has been removed in Svelte 5. Use `<svelte:options customElement="tag-name" />` inside the component instead. If that does not solve your use case, please open an issue on GitHub with details.'),sveltePath:Ea("The sveltePath option has been removed in Svelte 5. If this option was crucial for you, please open an issue on GitHub with your use case."),errorMode:Ea("The errorMode option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead"),varsReport:Ea("The vars option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead")});function Ea(e){return t=>{t!==void 0&&VP(null,e)}}var zL=new Set;function wD(e){zL.has(e)||(zL.add(e),e(null))}function yD(e){return t=>{t!==void 0&&wD(e)}}function UL(e,t){return(r,i)=>(r!==void 0&&wD(e),t(r,i))}function kD(e,t=!1){return(r,i)=>{let n={};(r&&typeof r!="object"||Array.isArray(r))&&$n(`${i} should be an object`);for(let s in r)s in e||(t?n[s]=r[s]:HP(null,`${i?`${i}.${s}`:s}`));for(let s in e){let a=e[s];n[s]=a(r&&r[s],i?`${i}.${s}`:s)}return n}}function fs(e,t){return(r,i)=>r===void 0?e:t(r,i)}function Ql(e,t=!0){return fs(e,(r,i)=>(typeof r!="string"&&$n(`${i} should be a string, if specified`),!t&&r===""&&$n(`${i} cannot be empty`),r))}function Sn(e){return fs(e,(t,r)=>(typeof t!="boolean"&&$n(`${r} should be true or false, if specified`),t))}function xD(e,t=e[0]){return fs(t,(r,i)=>{if(!e.includes(r)){let n=e.length>2?`${i} should be one of ${e.slice(0,-1).map(s=>`"${s}"`).join(", ")} or "${e[e.length-1]}"`:`${i} should be either "${e[0]}" or "${e[1]}"`;$n(n)}return r})}function ZL(e){return fs(e,(t,r)=>(typeof t!="function"&&$n(`${r} should be a function, if specified`),t))}function $n(e){UP(null,e)}function Nce(e){let t=1,r=[[]],i=r[0],n,s,a=e._sources.toArray().reduce((f,h,_)=>(f[h]=_,f),{}),l=e._names.toArray().reduce((f,h,_)=>(f[h]=_,f),{}),u=e._mappings.toArray();for(let f=0,h=u.length;f<h;f++){if(s=u[f],s.generatedLine>t){for(;s.generatedLine>t;)r.push([]),t++;i=r[s.generatedLine-1]}else if(f>0){let _=u[f-1];if(s.generatedColumn===_.generatedColumn&&s.originalColumn===_.originalColumn&&s.name===_.name&&s.generatedLine===_.generatedLine&&s.originalLine===_.originalLine&&s.source===_.source)continue}i.push([s.generatedColumn]),n=i[i.length-1],s.source!=null&&(n.push(a[s.source],s.originalLine-1,s.originalColumn),s.name!=null&&n.push(l[s.name]))}let p={version:e._version,sources:e._sources.toArray(),names:e._names.toArray(),mappings:r};return e._file!=null&&(p.file=e._file),p}function WL(e){let t=typeof e.map=="string"?JSON.parse(e.map):e.map;return typeof t.mappings=="string"&&(t.mappings=np(t.mappings)),t._mappings&&t.constructor.name==="SourceMapGenerator"&&(t=Nce(t)),t}function Da(e,t,{file_basename:r,filename:i,get_location:n}){return{source:e,get_location:s=>n(s+t),file_basename:r,filename:i}}function Oce(e,t,r){let i=[];return r.replace(e,(...n)=>(i.push(t(...n).then(s=>{let a=n[0];return{offset:n[n.length-2],length:a.length,replacement:s}})),"")),Promise.all(i)}function Lce(e,t){let r=new an,i=0;for(let{offset:s,length:a,replacement:l}of e){let u=an.from_source(Da(t.source.slice(i,s),i,t));r.concat(u).concat(l),i=s+a}let n=an.from_source(Da(t.source.slice(i),i,t));return r.concat(n)}async function GL(e,t,r){let i=await Oce(e,t,r.source);return Lce(i,r)}var ED=class{source;filename;sourcemap_list=[];dependencies=[];file_basename=void 0;get_location=void 0;constructor(t,r){this.source=t,this.filename=r,this.update_source({string:t}),this.file_basename=r==null?null:EL(r)}update_source({string:t,map:r,dependencies:i}){t!=null&&(this.source=t,this.get_location=xl(t)),r&&this.sourcemap_list.unshift(r),i&&this.dependencies.push(...i)}to_processed(){let t=kL(this.file_basename,this.sourcemap_list);return{code:this.source,dependencies:[...new Set(this.dependencies)],map:t,toString:()=>this.source}}};function Fce(e,t,r){let i;if(e.map&&(i=WL(e),i?.sources)){let n=i.sources.indexOf(r);n!==-1&&cD(i,t,n)}return an.from_processed(e.code,i)}function jce(e,t,r,i,n){let{file_basename:s,get_location:a}=n,l=(b,E)=>an.from_source(Da(b,E,n)),u=`<${t}${r}>`,p=`<${t}${i}>`,f;if(u.length!==p.length){let b=[[[0,0,0,0],[`<${t}`.length,0,0,`<${t}`.length]]],E=p.split(`
`).length-1,C=p.length-(E===0?0:p.lastIndexOf(`
`))-1;for(;b.length<=E;)b.push([[0,0,0,`<${t}`.length]]);b[E].push([C,0,u.split(`
`).length-1,u.length-u.lastIndexOf(`
`)-1]);let T={version:3,names:[],sources:[s],mappings:b};cD(T,a(0),0),f=an.from_processed(p,T)}else f=l(p,0);let h=`</${t}>`,_=l(h,u.length+n.source.length);wL(e,t);let g=Fce(e,a(u.length),s);return f.concat(g).concat(_)}var qce=/([\w-$]+\b)(?:=(?:"([^"]*)"|'([^']*)'|(\S+)))?/g;function Mce(e){let t={},r;for(;(r=qce.exec(e))!==null;){let i=r[1],n=r[2]||r[3]||r[4];t[i]=!n||n}return t}function Bce(e){if(!e)return;let t=Object.entries(e).map(([r,i])=>i===!0?r:`${r}="${i}"`).join(" ");return t&&(t=" "+t),t}var zce=/<!--[^]*?-->|<style((?:\s+[^=>'"/\s]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"/\s]+)*\s*)(?:\/>|>([\S\s]*?)<\/style>)/g,Uce=/<!--[^]*?-->|<script((?:\s+[^=>'"/\s]+=(?:"[^"]*"|'[^']*'|[^>\s]+)|\s+[^=>'"/\s]+)*\s*)(?:\/>|>([\S\s]*?)<\/script>)/g;async function KL(e,t,r){let{filename:i,source:n}=r,s=e==="style"?zce:Uce,a=[];async function l(f,h="",_="",g){let b=()=>an.from_source(Da(f,g,r));if(!h&&!_)return b();let E=await t({content:_||"",attributes:Mce(h||""),markup:n,filename:i});return!E||(E.dependencies&&a.push(...E.dependencies),!E.map&&E.code===_)?b():jce(E,e,h,Bce(E.attributes)??h,Da(_,g,r))}let{string:u,map:p}=await GL(s,l,r);return{string:u,map:p,dependencies:a}}async function Vce(e,t){let r=await e({content:t.source,filename:t.filename});return r?{string:r.code,map:r.map?typeof r.map=="string"?JSON.parse(r.map):r.map:void 0,dependencies:r.dependencies}:{}}async function J_(e,t,r){let i=r&&r.filename||t.filename,n=t?Array.isArray(t)?t:[t]:[],s=new ED(e,i);for(let a of n)a.markup&&s.update_source(await Vce(a.markup,s)),a.script&&s.update_source(await KL("script",a.script,s)),a.style&&s.update_source(await KL("style",a.style,s));return s.to_processed()}function Y_(e,{filename:t,rootDir:r,modern:i,loose:n}={}){e=Wce(e),Iw(()=>!1),Aw(e,{filename:t??"(unknown)",rootDir:r});let s=$E(e,n);return Zce(e,s,i)}function Zce(e,t,r){if(r){let i=n=>{delete n.metadata};return t.options?.attributes.forEach(n=>{i(n),i(n.value),Array.isArray(n.value)&&n.value.forEach(i)}),mt(t,null,{_(n,{next:s}){i(n),s()}})}return z2(e,t)}function Wce(e){return e.charCodeAt(0)===65279?e.slice(1):e}var Kce=new RegExp(/<script\b[^>]*>\s*<\/script>/gi);function XL(e,{filename:t=void 0,format:r=!0,removeEmptyScripts:i=!0}={}){let n=Y_(e,{filename:t}),s=new Mp(e),a=(u,p)=>{if(u.type==="Script"){let b=s.original.slice(u.start,u.content.start).search(/ lang=["|']ts["|']/g);b!==-1&&s.update(u.start+b,u.start+b+10,"");let C=new RegExp(/ generics=["'][\s\S]+["']/g).exec(s.original.slice(u.start,u.content.start));C!==null&&s.update(u.start+C.index,u.start+C.index+C[0].length,"")}if(u.type==="Identifier"&&"optional"in u&&u.optional){let g=u.start+u.name.length;s.update(g,g+1,"")}if(["TSTypeParameterInstantiation","TSTypeAnnotation","TSTypeAliasDeclaration","TSInterfaceDeclaration"].includes(u.type)){if(["TSTypeAliasDeclaration","TSInterfaceDeclaration"].includes(u.type)){let g=u.start;p.type==="ExportNamedDeclaration"&&(g=p.start),eu(s,g,u.end,r);return}s.update(u.start,u.end,"");return}if(u.type==="ImportDeclaration"){if(u.importKind==="type"){eu(s,u.start,u.end,r);return}let g=u.specifiers.filter(E=>E.importKind!=="type");if(g.length===u.specifiers.length)return;if(g.length===0){eu(s,u.start,u.end,r);return}let b=g.map(E=>s.slice(E.start,E.end)).join(", ");s.update(u.start,u.end,`import { ${b} } from ${u.source.raw};`);return}if(u.type==="ExportNamedDeclaration"){if(u.exportKind==="type"){eu(s,u.start,u.end,r);return}let g=u.specifiers.filter(E=>E.exportKind!=="type");if(g.length===u.specifiers.length)return;if(g.length===0){eu(s,u.start,u.end,r);return}let b=g.map(E=>s.slice(E.start,E.end)).join(", ");s.update(u.start,u.end,`export { ${b} };`);return}if(u.type==="PropertyDefinition"&&u.accessibility!==void 0&&s.update(u.start,u.start+u.accessibility.length+1,""),["TSAsExpression","TSNonNullExpression","TSTypeAssertion"].includes(u.type)){s.update(u.start,u.end,s.slice(u.expression.start,u.expression.end));return}if(["TSEnumDeclaration","TSParameterProperty"].includes(u.type))throw new Error(`Unsupported syntax! ${u.type} is not allowed!`)};ns(n.instance,{enter:a}),ns(n.module,{enter:a}),ns(n.html,{enter:a});let l=s.toString();return i&&(l=l.replaceAll(Kce,"")),r?l.trim():l}function eu(e,t,r,i){let n=t,s=r;if(i){let a=!1;for(let l=r;l<e.original.length;l++){if(/\S/.test(e.original[l])){e.original[l]==="<"&&e.original.slice(l).startsWith("</script")&&(a=!0,s-=1);break}e.original[l]===`
`&&(s=l+1)}n=0;for(let l=t-1;l>-1;l--){let u;if(a?u=new RegExp(/\S/):u=new RegExp(/\S|\n/),u.test(e.original[l])){n=l+1;break}}}e.update(n,s,"")}import{Declaration as JL,AtRule as Xce}from"postcss";var YL=".dark",QL=":root";function eF(e,t){(t.light||t.dark)&&e.walkRules(r=>{if(!r.selectors.includes(QL)&&!r.selectors.includes(YL))return;let i,n;t.light&&r.selectors.includes(QL)&&(i=DD(r,t.light)),t.dark&&r.selectors.includes(YL)&&(n=DD(r,t.dark));for(let[s,a]of Object.entries(n??i??{})){let l=new JL({prop:`--${s}`,value:a});r.append(l)}}),t.theme&&e.walkAtRules(r=>{if(r.name!=="theme")return;let i=DD(r,t.theme);for(let[n,s]of Object.entries(i)){let a=new JL({prop:`--${n}`,value:s});r.append(a)}})}function tF(e,t){let r=[],i,n;e.walkAtRules(s=>{if(s.name==="import"&&(i=s),s.name!=="plugin")return;let a=s.params.trim();n=s,t.includes(a.replace(/['"]/g,""))&&r.push(a.replace(/['"]/g,""))});for(let s of t)if(!r.includes(s)){let a=new Xce({name:"plugin",params:`"${s}"`});n?n.after(a):i?i.after(a):e.prepend(a)}}function DD(e,t){let r=structuredClone(t);return e.walkDecls(i=>{if(!i.variable)return;let n=i.prop.slice(2),s=r[n];s&&(i.value=s,delete r[n])}),r}import hr from"postcss";function rF(e,t){for(let[r,i]of Object.entries(t))if(r.startsWith("@")){let n=r.match(/@([a-zA-Z-]+)\s*(.*)/);if(!n)continue;let[,s,a]=n;if(!s||!a)throw Oe(`Error parsing at-rule: ${n}`);if(s==="keyframes"){let l=e.nodes?.find(p=>p.type==="atrule"&&p.name==="theme"&&p.params==="inline");l||(l=hr.atRule({name:"theme",params:"inline",raws:{semicolon:!0,between:" "}}),e.append(l),e.insertBefore(l,hr.comment({text:"---break---"})));let u=hr.atRule({name:"keyframes",params:a,raws:{semicolon:!0,between:" ",before:ms(l.raws.before)}});if(l.append(u),typeof i=="object")for(let[p,f]of Object.entries(i))Ca(u,p,f)}else if(s==="utility"){let l=e.nodes?.find(u=>u.type==="atrule"&&u.name===s&&u.params===a);if(l){if(typeof i=="object")for(let[u,p]of Object.entries(i))if(typeof p=="string"){let f=l.nodes?.find(_=>_.type==="decl"&&_.prop===u),h=hr.decl({prop:u,value:p,raws:{semicolon:!0}});f?f.replaceWith(h):l.append(h)}else typeof p=="object"&&Ca(l,u,p)}else{let u=hr.atRule({name:s,params:a,raws:{semicolon:!0,between:" "}});if(e.append(u),e.insertBefore(u,hr.comment({text:"---break---"})),typeof i=="object")for(let[p,f]of Object.entries(i))if(typeof f=="string"){let h=hr.decl({prop:p,value:f,raws:{semicolon:!0,before:ms(u.raws.before)}});u.append(h)}else typeof f=="object"&&Ca(u,p,f)}}else nF(e,s,a,i)}else Ca(e,r,i)}function nF(e,t,r,i){let n=e.nodes?.find(s=>s.type==="atrule"&&s.name===t&&s.params===r);if(n||(n=hr.atRule({name:t,params:r,raws:{semicolon:!0,between:" ",before:ms(e.raws.before)}}),e.append(n),e.insertBefore(n,hr.comment({text:"---break---"}))),typeof i=="object")for(let[s,a]of Object.entries(i))if(s.startsWith("@")){let l=s.match(/@([a-zA-Z-]+)\s*(.*)/);if(l){let[,u,p]=l;if(!u||!p)throw Oe(`Error parsing at-rule children: ${l}`);nF(n,u,p,a)}}else Ca(n,s,a);else if(typeof i=="string")try{let a=hr.parse(`.temp{${i}}`).first;if(a&&a.nodes){let l=hr.rule({selector:"temp",raws:{semicolon:!0,between:" ",before:ms(e.raws.before)}});a.nodes.forEach(u=>{if(u.type==="decl"){let p=u.clone();l.append(p)}}),l.nodes?.length&&n.append(l)}}catch(s){throw console.error("Error parsing at-rule content:",i,s),s}}function Ca(e,t,r){let i=e.nodes?.find(n=>n.type==="rule"&&n.selector===t);if(!i){let n=ms(e.raws.before);i=hr.rule({selector:t,raws:{semicolon:!0,between:" ",before:n}}),e.append(i)}if(typeof r=="object"){for(let[n,s]of Object.entries(r))if(typeof s=="string"){let a=hr.decl({prop:n,value:s,raws:{semicolon:!0,before:ms(i.raws.before)}}),l=i.nodes?.find(u=>u.type==="decl"&&u.prop===n);l?l.replaceWith(a):i.append(a)}else if(typeof s=="object"){let a=n.startsWith("&")?t.replace(/^([^:]+)/,`$1${n.substring(1)}`):n;Ca(e,a,s)}}else if(typeof r=="string")try{let s=hr.parse(`.temp{${r}}`).first;s&&s.nodes&&s.nodes.forEach(a=>{if(a.type==="decl"){let l=a.clone();l.raws.before=ms(i.raws.before),i.append(l)}})}catch(n){throw console.error("Error parsing rule content:",t,r,n),n}}var Jce="	";function ms(e){return`
`+(e?.replaceAll(`
`,"")??"")+Jce}var Qce=new RegExp(/^\s\s*\n+/gm);async function Q_(e,t,r){return e=epe(e,r),r.typescript||(e=await tpe(e,t)),e}function epe(e,t){for(let r of Co)e=e.replaceAll(Nc[r].placeholder,t.aliases[r]);return e}async function tpe(e,t){return t.endsWith(".svelte")?e=XL(e,{filename:t}):e=k2(e,{transforms:["typescript"],disableESTransforms:!0}).code.trim(),e.replaceAll(Qce,`
`)}function eg(e,t){let r=e.endsWith(`
`),i={plugins:[],...t};if(!i.cssVars&&!i.css&&!i.plugins.length)return e;let n=Yce(e);i.plugins.length&&tF(n,i.plugins),i.cssVars&&eF(n,i.cssVars),i.css&&rF(n,i.css);let s=n.toString();return s=s.replace(/\/\* ---break--- \*\//g,""),s=s.replace(/(\n\s*\n)+/g,`

`),s=s.trimEnd(),r&&!s.endsWith(`
`)&&(s+=`
`),s}var iF=["registry:style","registry:theme"];async function tg(e){let t=new Set,r=new Set,i=new Set,n=new Set(e.selectedItems),s=[],a=e.config.resolvedPaths.cwd,l=yi(e.config),u={},p={},f=await qs(l),h=await Po({items:Array.from(n),registryIndex:f}),_=await Wc({baseUrl:l,items:h});_.length===0&&$t("Selected items not found.");let g=[];for(let b of _){if(n.has(b.name)===!1)continue;for(let C of b.registryDependencies??[])n.add(C);b.files.some(C=>{let T=Ms(e.config,b,C);return CD(T)})&&g.push(b.name)}if(e.overwrite===!1&&g.length>0){let b=Mn(g);He.warn(`The following items ${_r.default.bold(_r.default.yellow("already exist"))}:
${_r.default.gray(b)}`);let E=await ui({message:`Would you like to ${_r.default.bold(_r.default.red("overwrite"))} all existing files?`,active:"Yes, overwrite everything",inactive:"No, let me decide individually",initialValue:!1});St(E)&&$t(),e.overwrite=E}for(let b of _){if(!iF.includes(b.type)){let E=Xi(e.config,b.type);CD(E)||await tu.mkdir(E,{recursive:!0});let C=hs.relative(a,hs.resolve(E,b.name));if(!e.overwrite&&g.includes(b.name)&&n.has(b.name)){He.warn(`Item ${ye(b.name)} already exists at ${_r.default.gray(C)}`);let T=await ui({message:`Would you like to ${_r.default.bold(_r.default.red("overwrite"))} your existing ${ye(b.name)} ${b.type}?`});if(St(T)&&$t(),T===!1)continue}}e.deps?(b.dependencies?.forEach(E=>t.add(E)),b.devDependencies?.forEach(E=>r.add(E))):(b.dependencies?.forEach(E=>i.add(E)),b.devDependencies?.forEach(E=>r.add(E))),s.push({title:b.name==="init"?"Setting up shadcn-svelte base configuration":`Adding ${ye(b.name)}`,async task(){for(let E of b.files){let C=Ms(e.config,b,E),T=await Q_(E.content,C,e.config),N=hs.parse(C).dir;CD(N)||await tu.mkdir(N,{recursive:!0}),!e.config.typescript&&C.endsWith(".ts")&&(C=C.replace(".ts",".js")),await tu.writeFile(C,T,"utf8")}if(b.cssVars&&(u=(0,SD.default)(u,b.cssVars)),b.css&&(p=(0,SD.default)(p,b.css)),b.name!=="init"){if(iF.includes(b.type)){let T=hs.relative(a,e.config.resolvedPaths.tailwindCss);return`${ye(b.name)} installed at ${_r.default.gray(T)}`}let E=Xi(e.config,b.type),C=hs.relative(a,hs.resolve(E,b.name));return`${ye(b.name)} installed at ${_r.default.gray(C)}`}}})}if(await un(s),Object.keys(u).length||Object.keys(p).length){let b=e.config.resolvedPaths.tailwindCss,E=hs.relative(a,b);if(!e.overwrite){let C=await ui({message:`A new ${ye("style")} is ready to be installed. Existing CSS variables may be ${_r.default.bold(_r.default.red("overwritten"))} in ${ye(E)}. Continue?`,initialValue:!1});St(C)&&$t(),e.overwrite=C}await un([{title:"Updating stylesheet",enabled:e.overwrite,async task(){let C=await tu.readFile(b,"utf8"),T=eg(C,{css:p,cssVars:u});return await tu.writeFile(b,T,"utf8"),`${ye("Stylesheet")} updated at ${_r.default.dim(E)}`}}])}return{skippedDeps:i,dependencies:t,devDependencies:r}}var tC=it(mg(),1);import QD from"fs";import Aa from"path";import{join as tme}from"path";import{existsSync as rme}from"fs";import{dirname as Qfe}from"path";import{createRequire as hWe}from"module";import{isAbsolute as Jfe,join as gWe,resolve as Yfe}from"path";import{fileURLToPath as vWe}from"url";function ZD(e,t){return Jfe(e)?e:Yfe(t||".",e)}function W9(e,t){let{stop:r,cwd:i}=t||{},n=ZD(e,i),s=!r,a,l=[];for(r&&(r=ZD(r,i));(s||n!==r)&&(l.push(n),n=Qfe(a=n),n!==a););return l}function G9(e,t){let r,i,n=t&&t.cwd||"";for(r of W9(n,t))if(i=tme(r,e),rme(i))return i}var eC=it(nj(),1);var Eme=["app.css","main.css","globals.css","global.css"],Dme=["node_modules",".git",".svelte-kit"];function ij(e,t){let r,i=Cme(e);for(let a of i){let l=Aa.basename(a);if(Eme.includes(l)){r=t?.relative?Aa.relative(e,a):a;break}}let n=Sme(e),s=n&&t?.relative?Aa.relative(e,n):n;return{cssPath:r,tsconfigPath:s}}function Cme(e){return sj(e,[])}function sj(e,t){let r=[],i=QD.readdirSync(e,{withFileTypes:!0}),n=Aa.join(e,".gitignore");if(QD.existsSync(n)){let s=QD.readFileSync(n,{encoding:"utf8"}),a=(0,eC.default)().add(s);t.push({dirPath:e,ig:a})}for(let s of i){let a=Aa.join(e,s.name);Dme.some(u=>e.includes(u))||t.some(u=>{let p=Aa.relative(u.dirPath,a);return eC.default.isPathValid(p)===!1?!1:u.ig.ignores(p)})||(s.isFile()&&r.push(a),s.isDirectory()&&r.push(...sj(a,t)))}return r}function Sme(e){for(let t of["tsconfig.json","jsconfig.json"]){let r=G9(t,{cwd:e});if(r)return r}}var $me=js.filter(e=>!e.includes("@"));async function aj(e,t){let r=(await $o({cwd:e}))?.agent;if(!r&&t){let i=$me.map(a=>({value:a,label:a}));i.unshift({label:"None",value:void 0});let n=W0()??void 0,s=await xc({options:i,initialValue:n,message:"Which package manager do you want to use?"});return St(s)&&$t(),s}return r}async function Pa({cwd:e,prompt:t,dependencies:r,devDependencies:i}){let n=await aj(e,t);if(!n)return;let s=n==="deno"?"npm:":"",a=Rr(e),l={...a.dependencies,...a.devDependencies},u=E=>{let{name:C,version:T}=Pc(E),N=tC.default.coerce(l[C]);if(!(N&&tC.default.satisfies(N,T,{loose:!0})))return`${s}${C}@${T}`},p=i.map(u).filter(E=>E!==void 0),f=Fs(n,"add",["-D",...p]),h=r.map(u).filter(E=>E!==void 0),_=Fs(n,"add",h);if(!f||!_)throw Oe(`Could not detect a package manager in ${e}.`);let g=F$({title:`Installing dependencies with ${n}...`,limit:Math.ceil(process.stdout.rows/2),spacing:0,retainLog:!0}),b=(E,C)=>{let T=So(E,C,{throwOnError:!0,nodeOptions:{cwd:e}});return T.process?.stdout?.on("data",N=>g.message(N.toString(),{raw:!0})),T.process?.stderr?.on("data",N=>g.message(N.toString(),{raw:!0})),T};try{h.length>0&&await b(_.command,_.args),p.length>0&&await b(f.command,f.args),g.success("Successfully installed dependencies")}catch{g.error("Failed to install dependencies"),jn("Operation failed."),process.exit(2)}}var Fi=it(mg(),1);function Ra({cwd:e,config:t}){let r=cn(e,"svelte")?.pkg,i=cn(e,"tailwindcss")?.pkg,n=Rr(e),s={...n.dependencies,...n.devDependencies},a=r?.version??s.svelte,l=i?.version??s.tailwindcss;return Tme({svelte:a,tailwindcss:l},e,t)}function Tme(e,t,r){if(!e.tailwindcss||!e.svelte)throw Oe(`This CLI requires Tailwind CSS and Svelte to be installed.
`);let i=Fi.satisfies(Fi.coerce(e.tailwindcss)??"","^3.0.0"),n=Fi.satisfies(Fi.coerce(e.tailwindcss)??"","^4.0.0"),s=Fi.satisfies(Fi.coerce(e.svelte)??"","^5.0.0");if(n&&s)return r&&(new URL(r.registry).host==="next.shadcn-svelte.com"&&(r.$schema=wr.$schema,r.registry=wr.registry,Io(t,r),He.step(`Config file ${ye("components.json")} updated`)),r);if(i&&s)return!r||!r.style||(r.registry=`${Rc}/registry/${r.style}`,Io(t,r),He.step(`Config file ${ye("components.json")} updated`)),r;throw Oe(`This CLI version requires Tailwind CSS (v3 or v4) and Svelte v5.

If you are on Svelte v4, use ${ye("shadcn-svelte@0.14 add")} instead, or consider migrating to Svelte 5: ${Gt}/docs/migration/svelte-5`)}var Rme=O.object({components:O.string().array().optional(),yes:O.boolean(),all:O.boolean(),overwrite:O.boolean(),cwd:O.string(),deps:O.boolean(),proxy:O.string().optional()}),lj=new Pme().command("add").description("add components to your project").argument("[components...]","the components to add or a url to the component").option("-c, --cwd <path>","the working directory",oj.cwd()).option("--no-deps","skips adding & installing package dependencies").option("-a, --all","install all components to your project",!1).option("-y, --yes","skip confirmation prompt",!1).option("-o, --overwrite","overwrite existing files",!1).option("--proxy <proxy>","fetch components from registry using a proxy",bi()).action(async(e,t)=>{try{vi();let r=Rme.parse({components:e,...t}),i=Ime.resolve(r.cwd);if(!Ame(i))throw Oe(`The path ${ri.default.cyan(i)} does not exist. Please try again.`);let n=await zc(i);if(!n)throw new di(`Configuration file is missing. Please run ${ri.default.green("init")} to create a ${ye("components.json")} file.`);let s=Ra({config:n,cwd:i});await Nme(i,s,r),ci(`${ri.default.green("Success!")} Components added.`)}catch(r){fi(r)}});async function Nme(e,t,r){r.proxy!==void 0&&(oj.env.HTTP_PROXY=r.proxy,He.info(`You are using the provided proxy: ${ri.default.green(r.proxy)}`));let i=yi(t),s=(await qs(i)).filter(u=>u.type==="registry:ui"),a=new Set(r.all?s.map(({name:u})=>u):r.components);if(a.size===0){let u=await yc({message:`Which ${ye("components")} would you like to add?`,maxItems:10,options:s.map(p=>{let f=[...p.registryDependencies??[]];return r.deps&&(f=f.concat(p.dependencies??[]).concat(p.devDependencies??[])),{label:p.name,value:p.name,hint:f.length?`also adds: ${f.join(", ")}`:void 0}})});St(u)&&$t(),a=new Set(u)}else{let u=Mn(Array.from(a));He.step(`Components to install:
${ri.default.gray(u)}`)}if(r.yes===!1){let u=await ui({message:`Ready to install ${ye("components")}${r.deps?` and ${ye("dependencies")}?`:"?"}`,initialValue:!0});(St(u)||u===!1)&&$t()}let l=await tg({config:t,deps:r.deps,overwrite:r.overwrite,selectedItems:Array.from(a)});if(r.deps)await Pa({cwd:e,prompt:r.deps,dependencies:Array.from(l.dependencies),devDependencies:Array.from(l.devDependencies)});else if(l.skippedDeps.size){let u=Mn([...l.skippedDeps],7);He.warn(`Components have been installed ${ri.default.bold(ri.default.red("without"))} the following ${ye("dependencies")}:
${ri.default.gray(u)}`)}}var ir=it(vr(),1);import{Command as Lme,Option as Fme}from"commander";import{existsSync as cu,promises as cj}from"fs";import ji from"path";import pj from"process";var rC=it(vr(),1),In=it(mg(),1);function uj(e){let t=cn(e,"svelte")?.pkg,r=cn(e,"tailwindcss")?.pkg,i=Rr(e),n={...i.dependencies,...i.devDependencies},s=t?.version??n.svelte,a=r?.version??n.tailwindcss;Ome({svelte:s,tailwindcss:a})}function Ome(e){if(!e.tailwindcss||!e.svelte)throw Oe(`This CLI version requires Tailwind CSS v4 and Svelte v5 to initialize a project.
`);let t=In.satisfies(In.coerce(e.tailwindcss)||"","^3.0.0"),r=In.satisfies(In.coerce(e.tailwindcss)||"","^4.0.0"),i=In.satisfies(In.coerce(e.svelte)||"","^4.0.0"),n=In.satisfies(In.coerce(e.svelte)||"","^5.0.0");if(t&&n)throw Oe(`Initializing a project with Tailwind v3 is not supported.

This CLI version requires Tailwind v4 and Svelte v5 for the ${ye("init")} command.

You have two options:
1. Update Tailwind CSS to v4 and try again.
2. Use ${ye("shadcn-svelte@1.0.0-next.10")} that supports initializing projects with Tailwind v3.

References:
Tailwind v4 Guide: ${rC.default.underline(`${Gt}/docs/migration/tailwind-v4`)}
Legacy Tailwind v3 Docs: ${rC.default.underline(`${Rc}/docs`)}

`);if(t&&i)throw Oe(`Initializing a project with Tailwind v3 and Svelte v4 is not supported.

This CLI version requires Tailwind v4 and Svelte v5 for the ${ye("init")} command.

Please use ${ye("shadcn-svelte@0.14")} that supports Tailwind v3 + Svelte v4.

`);if(!r||!n)throw Oe(`This CLI version requires Tailwind CSS v4 and Svelte v5 to initialize a project.
`)}var nC=NT(),jme=O.object({cwd:O.string(),baseColor:O.string().optional(),css:O.string().optional(),componentsAlias:O.string().optional(),utilsAlias:O.string().optional(),libAlias:O.string().optional(),hooksAlias:O.string().optional(),uiAlias:O.string().optional(),deps:O.boolean(),overwrite:O.boolean(),proxy:O.string().optional()}),dj=new Lme().command("init").description("initialize your project and install dependencies").option("-c, --cwd <path>","the working directory",pj.cwd()).option("-o, --overwrite","overwrite existing files",!1).option("--no-deps","disable adding & installing dependencies").addOption(new Fme("--base-color <name>","the base color for the components").choices(nC.map(e=>e.name))).option("--css <path>","path to the global CSS file").option("--components-alias <path>","import alias for components").option("--lib-alias <path>","import alias for lib").option("--utils-alias <path>","import alias for utils").option("--hooks-alias <path>","import alias for hooks").option("--ui-alias <path>","import alias for ui").option("--proxy <proxy>","fetch items from registry using a proxy",bi()).action(async e=>{vi();let t=jme.parse(e),r=ji.resolve(t.cwd);try{if(!cu(r))throw Oe(`The path ${ir.default.cyan(r)} does not exist. Please try again.`);uj(r);let i=Q0(r);i&&(i=Ra({cwd:r,config:i}));let n=await Mme(r,i,t);await Bme(r,n,t),ci(`${ir.default.green("Success!")} Project initialization completed.`)}catch(i){fi(i)}});function qme(e,t,r){if(t.css&&!cu(ji.resolve(e,t.css)))throw Oe(`The provided global CSS file path ${ir.default.cyan(t.css)} does not exist. Please enter a valid path.`);for(let[i,n]of Object.entries(t)){if(!i.endsWith("Alias"))continue;let a=fj({cwd:e,importPath:n,tsconfig:r});if(a)throw Oe(a)}}async function Mme(e,t,r){let i=t??structuredClone(wr);await Mc(e);let{cssPath:n,tsconfigPath:s}=ij(e,{relative:!0}),a;if(t)a=Uc(e,t);else{if(s)i.typescript=s.includes("tsconfig");else{let T=await kc({message:`Where is your ${ye("tsconfig/jsconfig")} file?`,placeholder:"tsconfig.json",validate:N=>{let I=ji.resolve(e,N);if(!(N&&cu(I)))return`"${ir.default.bold(N)}" does not exist. Please enter a valid path.`}});St(T)&&$t(),i.typescript={config:T}}a=Uc(e,i)}qme(e,r,a);let l=nC.find(T=>T.name===r.baseColor)?.name;if(l===void 0){let T=await xc({message:`Which ${ye("base color")} would you like to use?`,initialValue:t?.tailwind.baseColor??wr.tailwind.baseColor,options:nC.map(N=>({label:N.label,value:N.name}))});St(T)&&$t(),l=T}let u=r.css;if(u===void 0){let T=wr.tailwind.css,N=await kc({message:`Where is your ${ye("global CSS")} file? ${ir.default.gray("(this file will be overwritten)")}`,initialValue:t?.tailwind.css??n??T,placeholder:n??T,validate:I=>{if(!(I&&cu(ji.resolve(e,I))))return`"${ir.default.bold(I)}" does not exist. Please enter a valid path.`}});St(N)&&$t(),u=N}let p=async(T,N)=>{let I=r[`${T}Alias`];if(I===void 0){let V=await kc({message:`Configure the import alias for ${ye(T)}:`,initialValue:t?.aliases[T]??N,placeholder:wr.aliases[T],validate:K=>fj({cwd:e,tsconfig:a,importPath:K})});St(V)&&$t(),I=Ic(V)}return I},f=await p("lib","$lib"),h=await p("components",`${f}/components`),_=await p("ui",`${h}/ui`),g=await p("utils",`${f}/utils`),b=await p("hooks",`${f}/hooks`),E=Bc.parse({...i,tailwind:{css:u,baseColor:l},aliases:{utils:g,lib:f,components:h,hooks:b,ui:_}});return await Y0(e,E)}function fj(e){if(Fc(e)===void 0)return`"${ir.default.bold(e.importPath)}" does not use an existing path alias defined in your ${ir.default.bold(ji.basename(e.tsconfig.path))}. See: ${ir.default.underline(`${Gt}/docs/installation/manual#configure-path-aliases`)}`}async function Bme(e,t,r){r.proxy!==void 0&&(pj.env.HTTP_PROXY=r.proxy,He.info(`You are using the provided proxy: ${ir.default.green(r.proxy)}`));let i=yi(t),n=[];n.push({title:"Creating config file",async task(){return Io(e,t),`Config file ${ye("components.json")} created`}}),n.push({title:"Validating alias paths",async task(){for(let[a,l]of Object.entries(t.resolvedPaths)){let u=ji.extname(l)?ji.dirname(l):l;a==="utils"&&l.endsWith("/utils")&&(u=u.replace(/\/utils$/,"")),!cu(u)&&a!=="utils"&&await cj.mkdir(u,{recursive:!0})}return"Alias paths validated"}}),await un(n);let s=await tg({selectedItems:["init"],config:t,deps:r.deps,overwrite:r.overwrite});if(await un([{title:"Updating stylesheet",async task(){let a=await OT(i,t.tailwind.baseColor),l=ji.relative(e,t.resolvedPaths.tailwindCss);return await cj.writeFile(t.resolvedPaths.tailwindCss,a.cssVarsTemplate,"utf8"),`${ye("Stylesheet")} updated at ${ir.default.dim(l)}`}}]),r.deps)await Pa({cwd:e,prompt:r.deps,dependencies:Array.from(s.dependencies),devDependencies:Array.from(s.devDependencies)});else if(s.skippedDeps.size){let a=Mn([...s.skippedDeps],7);He.warn(`shadcn-svelte has been initialized ${ir.default.bold(ir.default.red("without"))} the following ${ye("dependencies")}:
${ir.default.gray(a)}`)}}var br=it(vr(),1);import gs from"path";import mj from"process";import{existsSync as iC,promises as Na}from"fs";var hj=it(nk(),1);import{Command as zme}from"commander";var Ume=O.object({all:O.boolean(),components:O.string().array().optional(),cwd:O.string(),proxy:O.string().optional(),yes:O.boolean()}),_j=new zme().command("update",{hidden:!0}).description("update components in your project").argument("[components...]","name of components").option("-c, --cwd <path>","the working directory",mj.cwd()).option("-a, --all","update all existing components",!1).option("-y, --yes","skip confirmation prompt",!1).option("--proxy <proxy>","fetch components from registry using a proxy",bi()).action(async(e,t)=>{vi();try{let r=Ume.parse({components:e,...t}),i=gs.resolve(r.cwd);if(!iC(i))throw Oe(`The path ${br.default.cyan(i)} does not exist. Please try again.`);let n=await zc(i);if(!n)throw Oe(`Configuration file is missing. Please run ${br.default.green("init")} to create a ${ye("components.json")} file.`);let s=Ra({config:n,cwd:i});await Vme(i,s,r),L$(`This action ${br.default.underline("does not")} update your ${ye("dependencies")} to their ${br.default.bold("latest")} versions.

Consider updating them as well.`),ci(`${br.default.green("Success!")} Component update completed.`)}catch(r){fi(r)}});async function Vme(e,t,r){r.proxy!==void 0&&(mj.env.HTTP_PROXY=r.proxy,He.info(`You are using the provided proxy: ${br.default.green(r.proxy)}`));let i=r.components,n=yi(t),s=await qs(n),a={ui:t.resolvedPaths.ui,components:t.resolvedPaths.components,hooks:t.resolvedPaths.hooks},l=[];for(let T of Object.values(a)){if(!iC(T))continue;let N=await Na.readdir(T,{withFileTypes:!0});for(let I of N)if(I.isDirectory()){let V=s.find(K=>K.name===I.name);V&&l.push(V)}}let u=s.find(T=>T.name==="utils");u&&l.push(u);let p=r.all?l:[];if(p.length===0&&i!==void 0&&(p=l.filter(T=>i.includes(T.name))),p.length===0){let T=await yc({message:"Which components would you like to update?",maxItems:10,options:l.map(N=>({label:N.name,value:N,hint:N.registryDependencies?.length?`also updates: ${N.registryDependencies.join(", ")}`:void 0}))});St(T)&&$t(),p=T}else{let T=Mn(p.map(({name:N})=>N));He.step(`Components to update:
${br.default.gray(T)}`)}if(r.yes===!1){let T=await ui({message:`Ready to update ${ye("components")}? ${br.default.gray("(Make sure you have committed your changes before proceeding!)")}`,initialValue:!0});(St(T)||T===!1)&&$t()}let f=[],h=await Po({registryIndex:s,items:p.map(T=>T.name)}),_=await Wc({baseUrl:n,items:h});_.sort((T,N)=>T.name.localeCompare(N.name));let g={},b=new Set,E=new Set,C={};for(let T of _){let N=Xi(t,T.type);T.dependencies?.forEach(I=>b.add(I)),T.devDependencies?.forEach(I=>E.add(I)),f.push({title:`Updating ${ye(T.name)}`,async task(){for(let K of T.files){let te=Ms(t,T,K),ke=await Q_(K.content,te,t),W=gs.parse(te).dir;iC(W)||await Na.mkdir(W,{recursive:!0}),!t.typescript&&te.endsWith(".ts")&&(te=te.replace(".ts",".js")),await Na.writeFile(te,ke,"utf8")}T.cssVars&&(C=(0,hj.default)(C,T.cssVars));let I=gs.resolve(N,T.name);if(T.files.length>1){let K=T.files.map(W=>{let c=Ms(t,T,W);return!t.typescript&&c.endsWith(".ts")?c.replace(".ts",".js"):c}),ke=(await Na.readdir(I,{withFileTypes:!0})).map(W=>gs.resolve(W.parentPath,W.name)).filter(W=>!K.includes(W));ke.length>0&&(g[T.name]=ke)}let V=gs.relative(r.cwd,I);return`${ye(T.name)} updated at ${br.default.gray(V)}`}})}Object.keys(C).length>0&&f.push({title:"Updating stylesheet",async task(){let T=t.resolvedPaths.tailwindCss,N=await Na.readFile(T,"utf8"),I=eg(N,C);await Na.writeFile(T,I,"utf8");let V=gs.relative(e,T);return`${ye("Stylesheet")} updated at ${br.default.dim(V)}`}}),await un(f),await Pa({cwd:e,dependencies:Array.from(b),devDependencies:Array.from(E),prompt:!0});for(let[T,N]of Object.entries(g))He.warn(`The ${ye(T)} component does not use the following files:
${N.map(I=>br.default.white(`- ${br.default.gray(gs.relative(e,I))}`)).join(`
`)}`);Object.keys(g).length>0&&He.message(br.default.bold("You may want to delete them."))}import{Command as ehe}from"commander";var bs=it(vr(),1);import ni from"path";import Gme from"process";import{existsSync as wj,promises as pu}from"fs";import{Command as Kme}from"commander";var Hme=Ye.extend(ad());function vj(e){let t=Rr(e),r=gj(t.dependencies,e),i=gj(t.devDependencies,e),n=Zme({dependencies:r,devDependencies:i});return n=Wme(n),n}function Zme(e){for(let t of Object.values(e))for(let[r,i]of Object.entries(t.versions)){let n=t.deps[i],s=`@types/${r.replace(/^@(.*)\/(.*)/,"$1__$2")}`;(e.dependencies.versions[s]??e.devDependencies.versions[s])&&n.push(s)}return e}function Wme(e){for(let t of Object.values(e))for(let[r,i]of Object.entries(t.deps))t.deps[r]=i.map(n=>e.dependencies.versions[n]||e.devDependencies.versions[n]).filter(n=>n!==void 0);return e}var yj=["svelte","@sveltejs/kit","tailwindcss","vite"];function gj(e,t){let r={},i={};for(let[n,s]of Object.entries(e??{})){let a=s?`${n}@${s}`:n,l=r[a]??=[];i[n]=a;let u=cn(t,n)?.pkg;if(!u)continue;let{peerDependencies:p={},peerDependenciesMeta:f={}}=u;for(let[h]of Object.entries(p))yj.includes(h)||f[h]?.optional||l.push(h)}return{deps:r,versions:i}}async function xj(e){let{filename:t,source:r}=e,i,n;if(t.endsWith(".svelte")){let{code:u}=await J_(r,[],{filename:t}),p=Y_(u,{filename:t});i=p.instance,p.module&&(n=p.module)}else if(t.endsWith(".ts")||t.endsWith(".js"))i=Hme.parse(r,{ecmaVersion:"latest",sourceType:"module"});else return{};let s=new Set,a=new Set,l=u=>{if(u.type!=="ImportDeclaration")return;let p=u.source.value;bj(p,e.dependencies).forEach(_=>s.add(_)),bj(p,e.devDependencies).forEach(_=>a.add(_))};return ns(i,{enter:l}),n&&ns(n,{enter:l}),{dependencies:Gi(s),devDependencies:Gi(a)}}function bj(e,t){let r=[],n=(t.versions[e]?e:void 0)??Object.keys(t.versions).find(s=>e.startsWith(s));if(n&&!yj.includes(n)){let s=t.versions[n],a=t.deps[s];r.push(s),a?.forEach(l=>r.push(l))}return r}var kj="	",Xme=O.object({registry:O.string(),cwd:O.string(),output:O.string()}),Ej=new Kme().command("build").description("build components for a shadcn-svelte registry").argument("[registry]","path to registry.json file","./registry.json").option("-c, --cwd <path>","the working directory",Gme.cwd()).option("-o, --output <path>","destination directory for json files","./static/r").action(async(e,t)=>{try{vi();let r=Xme.parse({registry:e,...t}),i=ni.resolve(r.cwd),n=ni.resolve(r.cwd,r.output),s=ni.resolve(r.cwd,r.registry);for(let[a,l]of Object.entries({cwd:i,registry:s}))if(!wj(l))throw Oe(`The '${a}' path ${bs.default.cyan(l)} does not exist.`);await Jme({cwd:i,output:n,registry:s}),ci(`${bs.default.green("Success!")} Registry build completed.`)}catch(r){fi(r)}});async function Jme(e){let t=S0();t.start("Parsing registry schema");let r=await pu.readFile(e.registry,"utf8"),i=PT.parse(JSON.parse(r));t.stop(`Parsed registry schema at ${bs.default.dim(ni.relative(e.cwd,e.registry))}`);let n=i.items.map(a=>({...a,relativeUrl:`${a.name}.json`}));wj(e.output)||await pu.mkdir(e.output,{recursive:!0});let s=[];s.push({title:"Building registry index",async task(){let a=ni.resolve(e.output,"index.json"),l=Hc.parse(n);await pu.writeFile(a,JSON.stringify(l,null,kj),"utf8");let u=ni.relative(e.cwd,a);return`Registry index written to ${bs.default.dim(u)}`}}),s.push({title:"Building registry items",async task(a){let l=vj(e.cwd);if(i.overrideDependencies){let p=(f,h)=>{let{name:_}=Pc(f),g=h.versions[_];if(g){let b=h.deps[g];delete h.deps[g],h.versions[_]=f,h.deps[f]=b??[]}};for(let f of i.overrideDependencies)p(f,l.dependencies),p(f,l.devDependencies)}for(let p of i.items){a(`Building item ${bs.default.cyan(p.name)}`);let f=p.files.length===1,h=["registry:page","registry:ui","registry:file"],_=p.files.map(async V=>{let K=await pu.readFile(V.path,"utf8");K=Qme(i.aliases??={},K);let te=ni.basename(V.path),ke;return f?ke=te:h.includes(V.type)?ke=`${p.name}/${te}`:ke=te,{content:K,name:te,target:ke,...V}}),g=await Promise.all(_),b=new Set(p.dependencies),E=new Set(p.devDependencies),C=new Set(p.registryDependencies.map(Yme));if(!(b.size>0&&E.size>0))for(let V of g){let K=await xj({...l,filename:V.name,source:V.content});p.dependencies||K.dependencies?.forEach(te=>{te.startsWith("@types/")?E.add(te):b.add(te)}),p.devDependencies||K.devDependencies?.forEach(te=>E.add(te))}let N=Ao.parse({...p,$schema:`${Gt}/schema/registry-item.json`,registryDependencies:Gi(C),dependencies:Gi(b),devDependencies:Gi(E),files:g},{jitless:!0}),I=ni.resolve(e.output,`${p.name}.json`);await pu.writeFile(I,JSON.stringify(N,null,kj),"utf8")}let u=ni.relative(e.cwd,e.output);return`Registry items written to ${bs.default.dim(u)}`}}),await un(s)}function Yme(e){if(e.startsWith("local:")){let t=/^local:(.*)/;return e.replace(t,"./$1.json")}return e}function Qme(e,t){for(let r of Co){let i=Nc[r],n=e[r]??=i.defaultPath;t=t.replaceAll(n,i.placeholder)}return t}var Dj=new ehe().command("registry").addCommand(Ej);Oa.on("SIGINT",()=>Oa.exit(0));Oa.on("SIGTERM",()=>Oa.exit(0));var Cj=20,Sj=Oa.versions.node,rhe=Number.parseInt(Sj.split(".").at(0));rhe<Cj&&(console.error(`Node.js v${Sj} is out of date and unsupported!`),console.error(`Please use Node.js v${Cj} or higher.`),Oa.exit(1));async function nhe(){let e=Lc(),t=new the().name("shadcn-svelte").description("Add shadcn-svelte components to your project").version(e.version||"0.0.0","-v, --version","display the version number");for(let r of Object.values(sC))t.addCommand(r);t.parse()}nhe();