stellate 2.13.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +13 -13
- package/dist/index.d.ts +13 -0
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -108,14 +108,14 @@ Filtered results for: ${this.inputValue?this.inputValue:dp.gray("Enter something
|
|
|
108
108
|
`}renderOption(e,r,i){let s;return r.disabled?s=e===i?dp.gray().underline(r.title):dp.strikethrough().gray(r.title):s=e===i?dp.cyan().underline(r.title):r.title,(r.selected?dp.green(E1.radioOn):E1.radioOff)+" "+s}renderDoneOrInstructions(){if(this.done)return this.value.filter(r=>r.selected).map(r=>r.title).join(", ");let e=[dp.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&e.push(dp.yellow(this.warn)),e.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(aBe.hide),super.render();let e=[Fse.symbol(this.done,this.aborted),dp.bold(this.msg),Fse.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(e+=dp.red(`You must select a minimum of ${this.minSelected} choices.`),this.showMinError=!1),e+=this.renderOptions(this.filteredOptions),this.out.write(this.clear+e),this.clear=Lse(e,this.out.columns)}};Rse.exports=VO});var qse=E((R0r,Use)=>{var Mse=ms(),lBe=pp(),{style:jse,clear:uBe}=iu(),{erase:cBe,cursor:Vse}=gs(),UO=class extends lBe{constructor(e={}){super(e),this.msg=e.message,this.value=e.initial,this.initialValue=!!e.initial,this.yesMsg=e.yes||"yes",this.yesOption=e.yesOption||"(Y/n)",this.noMsg=e.no||"no",this.noOption=e.noOption||"(y/N)",this.render()}reset(){this.value=this.initialValue,this.fire(),this.render()}exit(){this.abort()}abort(){this.done=this.aborted=!0,this.fire(),this.render(),this.out.write(`
|
|
109
109
|
`),this.close()}submit(){this.value=this.value||!1,this.done=!0,this.aborted=!1,this.fire(),this.render(),this.out.write(`
|
|
110
110
|
`),this.close()}_(e,r){return e.toLowerCase()==="y"?(this.value=!0,this.submit()):e.toLowerCase()==="n"?(this.value=!1,this.submit()):this.bell()}render(){this.closed||(this.firstRender?this.out.write(Vse.hide):this.out.write(uBe(this.outputText,this.out.columns)),super.render(),this.outputText=[jse.symbol(this.done,this.aborted),Mse.bold(this.msg),jse.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:Mse.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(cBe.line+Vse.to(0)+this.outputText))}};Use.exports=UO});var Kse=E((B0r,$se)=>{"use strict";$se.exports={TextPrompt:Uie(),SelectPrompt:Wie(),TogglePrompt:Yie(),DatePrompt:Tse(),NumberPrompt:Ase(),MultiselectPrompt:RO(),AutocompletePrompt:kse(),AutocompleteMultiselectPrompt:Bse(),ConfirmPrompt:qse()}});var Gse=E(Wse=>{"use strict";var io=Wse,pBe=Kse(),a3=t=>t;function nc(t,e,r={}){return new Promise((i,s)=>{let n=new pBe[t](e),a=r.onAbort||a3,o=r.onSubmit||a3,l=r.onExit||a3;n.on("state",e.onState||a3),n.on("submit",u=>i(o(u))),n.on("exit",u=>i(l(u))),n.on("abort",u=>s(a(u)))})}io.text=t=>nc("TextPrompt",t);io.password=t=>(t.style="password",io.text(t));io.invisible=t=>(t.style="invisible",io.text(t));io.number=t=>nc("NumberPrompt",t);io.date=t=>nc("DatePrompt",t);io.confirm=t=>nc("ConfirmPrompt",t);io.list=t=>{let e=t.separator||",";return nc("TextPrompt",t,{onSubmit:r=>r.split(e).map(i=>i.trim())})};io.toggle=t=>nc("TogglePrompt",t);io.select=t=>nc("SelectPrompt",t);io.multiselect=t=>{t.choices=[].concat(t.choices||[]);let e=r=>r.filter(i=>i.selected).map(i=>i.value);return nc("MultiselectPrompt",t,{onAbort:e,onSubmit:e})};io.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);let e=r=>r.filter(i=>i.selected).map(i=>i.value);return nc("AutocompleteMultiselectPrompt",t,{onAbort:e,onSubmit:e})};var fBe=(t,e)=>Promise.resolve(e.filter(r=>r.title.slice(0,t.length).toLowerCase()===t.toLowerCase()));io.autocomplete=t=>(t.suggest=t.suggest||fBe,t.choices=[].concat(t.choices||[]),nc("AutocompletePrompt",t))});var Yse=E((j0r,Hse)=>{"use strict";var qO=Gse(),dBe=["suggest","format","onState","validate","onRender","type"],zse=()=>{};async function pd(t=[],{onSubmit:e=zse,onCancel:r=zse}={}){let i={},s=pd._override||{};t=[].concat(t);let n,a,o,l,u,c,p=async(d,f,h=!1)=>{if(!(!h&&d.validate&&d.validate(f)!==!0))return d.format?await d.format(f,i):f};for(a of t)if({name:l,type:u}=a,typeof u=="function"&&(u=await u(n,{...i},a),a.type=u),!!u){for(let d in a){if(dBe.includes(d))continue;let f=a[d];a[d]=typeof f=="function"?await f(n,{...i},c):f}if(c=a,typeof a.message!="string")throw new Error("prompt message is required");if({name:l,type:u}=a,qO[u]===void 0)throw new Error(`prompt type (${u}) is not defined`);if(s[a.name]!==void 0&&(n=await p(a,s[a.name]),n!==void 0)){i[l]=n;continue}try{n=pd._injected?hBe(pd._injected,a.initial):await qO[u](a),i[l]=n=await p(a,n,!0),o=await e(a,n,i)}catch{o=!await r(a,i)}if(o)return i}return i}function hBe(t,e){let r=t.shift();if(r instanceof Error)throw r;return r===void 0?e:r}function mBe(t){pd._injected=(pd._injected||[]).concat(t)}function yBe(t){pd._override=Object.assign({},t)}Hse.exports=Object.assign(pd,{prompt:pd,prompts:qO,inject:mBe,override:yBe})});var Xse=E((V0r,Jse)=>{function gBe(t){t=(Array.isArray(t)?t:t.split(".")).map(Number);let e=0,r=process.versions.node.split(".").map(Number);for(;e<t.length;e++){if(r[e]>t[e])return!1;if(t[e]>r[e])return!0}return!1}Jse.exports=gBe("8.6.0")?Tie():Yse()});var Zse=E((U0r,Qse)=>{var $O=Symbol("arg flag"),so=class extends Error{constructor(e,r){super(e),this.name="ArgError",this.code=r,Object.setPrototypeOf(this,so.prototype)}};function I2(t,{argv:e=process.argv.slice(2),permissive:r=!1,stopAtPositional:i=!1}={}){if(!t)throw new so("argument specification object is required","ARG_CONFIG_NO_SPEC");let s={_:[]},n={},a={};for(let o of Object.keys(t)){if(!o)throw new so("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY");if(o[0]!=="-")throw new so(`argument key must start with '-' but found: '${o}'`,"ARG_CONFIG_NONOPT_KEY");if(o.length===1)throw new so(`argument key must have a name; singular '-' keys are not allowed: ${o}`,"ARG_CONFIG_NONAME_KEY");if(typeof t[o]=="string"){n[o]=t[o];continue}let l=t[o],u=!1;if(Array.isArray(l)&&l.length===1&&typeof l[0]=="function"){let[c]=l;l=(p,d,f=[])=>(f.push(c(p,d,f[f.length-1])),f),u=c===Boolean||c[$O]===!0}else if(typeof l=="function")u=l===Boolean||l[$O]===!0;else throw new so(`type missing or not a function or valid array type: ${o}`,"ARG_CONFIG_VAD_TYPE");if(o[1]!=="-"&&o.length>2)throw new so(`short argument keys (with a single hyphen) must have only one character: ${o}`,"ARG_CONFIG_SHORTOPT_TOOLONG");a[o]=[l,u]}for(let o=0,l=e.length;o<l;o++){let u=e[o];if(i&&s._.length>0){s._=s._.concat(e.slice(o));break}if(u==="--"){s._=s._.concat(e.slice(o+1));break}if(u.length>1&&u[0]==="-"){let c=u[1]==="-"||u.length===2?[u]:u.slice(1).split("").map(p=>`-${p}`);for(let p=0;p<c.length;p++){let d=c[p],[f,h]=d[1]==="-"?d.split(/=(.*)/,2):[d,void 0],m=f;for(;m in n;)m=n[m];if(!(m in a))if(r){s._.push(d);continue}else throw new so(`unknown or unexpected option: ${f}`,"ARG_UNKNOWN_OPTION");let[g,b]=a[m];if(!b&&p+1<c.length)throw new so(`option requires argument (but was followed by another short argument): ${f}`,"ARG_MISSING_REQUIRED_SHORTARG");if(b)s[m]=g(!0,m,s[m]);else if(h===void 0){if(e.length<o+2||e[o+1].length>1&&e[o+1][0]==="-"&&!(e[o+1].match(/^-?\d*(\.(?=\d))?\d*$/)&&(g===Number||typeof BigInt<"u"&&g===BigInt))){let T=f===m?"":` (alias for ${m})`;throw new so(`option requires argument: ${f}${T}`,"ARG_MISSING_REQUIRED_LONGARG")}s[m]=g(e[o+1],m,s[m]),++o}else s[m]=g(h,m,s[m])}}else s._.push(u)}return s}I2.flag=t=>(t[$O]=!0,t);I2.COUNT=I2.flag((t,e,r)=>(r||0)+1);I2.ArgError=so;Qse.exports=I2});var tne=E((q0r,KO)=>{"use strict";var Kr=KO.exports;KO.exports.default=Kr;var Ni="\x1B[",O2="\x1B]",w1="\x07",o3=";",ene=process.env.TERM_PROGRAM==="Apple_Terminal";Kr.cursorTo=(t,e)=>{if(typeof t!="number")throw new TypeError("The `x` argument is required");return typeof e!="number"?Ni+(t+1)+"G":Ni+(e+1)+";"+(t+1)+"H"};Kr.cursorMove=(t,e)=>{if(typeof t!="number")throw new TypeError("The `x` argument is required");let r="";return t<0?r+=Ni+-t+"D":t>0&&(r+=Ni+t+"C"),e<0?r+=Ni+-e+"A":e>0&&(r+=Ni+e+"B"),r};Kr.cursorUp=(t=1)=>Ni+t+"A";Kr.cursorDown=(t=1)=>Ni+t+"B";Kr.cursorForward=(t=1)=>Ni+t+"C";Kr.cursorBackward=(t=1)=>Ni+t+"D";Kr.cursorLeft=Ni+"G";Kr.cursorSavePosition=ene?"\x1B7":Ni+"s";Kr.cursorRestorePosition=ene?"\x1B8":Ni+"u";Kr.cursorGetPosition=Ni+"6n";Kr.cursorNextLine=Ni+"E";Kr.cursorPrevLine=Ni+"F";Kr.cursorHide=Ni+"?25l";Kr.cursorShow=Ni+"?25h";Kr.eraseLines=t=>{let e="";for(let r=0;r<t;r++)e+=Kr.eraseLine+(r<t-1?Kr.cursorUp():"");return t&&(e+=Kr.cursorLeft),e};Kr.eraseEndLine=Ni+"K";Kr.eraseStartLine=Ni+"1K";Kr.eraseLine=Ni+"2K";Kr.eraseDown=Ni+"J";Kr.eraseUp=Ni+"1J";Kr.eraseScreen=Ni+"2J";Kr.scrollUp=Ni+"S";Kr.scrollDown=Ni+"T";Kr.clearScreen="\x1Bc";Kr.clearTerminal=process.platform==="win32"?`${Kr.eraseScreen}${Ni}0f`:`${Kr.eraseScreen}${Ni}3J${Ni}H`;Kr.beep=w1;Kr.link=(t,e)=>[O2,"8",o3,o3,e,w1,t,O2,"8",o3,o3,w1].join("");Kr.image=(t,e={})=>{let r=`${O2}1337;File=inline=1`;return e.width&&(r+=`;width=${e.width}`),e.height&&(r+=`;height=${e.height}`),e.preserveAspectRatio===!1&&(r+=";preserveAspectRatio=0"),r+":"+t.toString("base64")+w1};Kr.iTerm={setCwd:(t=process.cwd())=>`${O2}50;CurrentDir=${t}${w1}`,annotation:(t,e={})=>{let r=`${O2}1337;`,i=typeof e.x<"u",s=typeof e.y<"u";if((i||s)&&!(i&&s&&typeof e.length<"u"))throw new Error("`x`, `y` and `length` must be defined when `x` or `y` is defined");return t=t.replace(/\|/g,""),r+=e.isHidden?"AddHiddenAnnotation=":"AddAnnotation=",e.length>0?r+=(i?[t,e.length,e.x,e.y]:[e.length,t]).join("|"):r+=t,r+w1}}});var sne=E(($0r,ine)=>{"use strict";var bBe=xI(),A1=vI();function rne(t){if(/^\d{3,4}$/.test(t)){let r=/(\d{1,2})(\d{2})/.exec(t);return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let e=(t||"").split(".").map(r=>parseInt(r,10));return{major:e[0],minor:e[1],patch:e[2]}}function WO(t){let{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&parseInt(e.FORCE_HYPERLINK,10)===0);if(A1("no-hyperlink")||A1("no-hyperlinks")||A1("hyperlink=false")||A1("hyperlink=never"))return!1;if(A1("hyperlink=true")||A1("hyperlink=always"))return!0;if(!bBe.supportsColor(t)||t&&!t.isTTY||process.platform==="win32")return!1;if("NETLIFY"in e)return!0;if("CI"in e||"TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){let r=rne(e.TERM_PROGRAM_VERSION);switch(e.TERM_PROGRAM){case"iTerm.app":return r.major===3?r.minor>=1:r.major>3}}if("VTE_VERSION"in e){if(e.VTE_VERSION==="0.50.0")return!1;let r=rne(e.VTE_VERSION);return r.major>0||r.minor>=50}return!1}ine.exports={supportsHyperlink:WO,stdout:WO(process.stdout),stderr:WO(process.stderr)}});var ane=E((K0r,k2)=>{"use strict";var vBe=tne(),GO=sne(),nne=(t,e,{target:r="stdout",...i}={})=>GO[r]?vBe.link(t,e):i.fallback===!1?t:typeof i.fallback=="function"?i.fallback(t,e):`${t} (\u200B${e}\u200B)`;k2.exports=(t,e,r={})=>nne(t,e,r);k2.exports.stderr=(t,e,r={})=>nne(t,e,{target:"stderr",...r});k2.exports.isSupported=GO.stdout;k2.exports.stderr.isSupported=GO.stderr});var zae=E((sS,z1)=>{var Rje=200,fL="__lodash_hash_undefined__",m6=1,wae=2,Aae=9007199254740991,l6="[object Arguments]",nL="[object Array]",Bje="[object AsyncFunction]",Pae="[object Boolean]",_ae="[object Date]",Cae="[object Error]",Dae="[object Function]",Mje="[object GeneratorFunction]",u6="[object Map]",Nae="[object Number]",jje="[object Null]",G1="[object Object]",dae="[object Promise]",Vje="[object Proxy]",Iae="[object RegExp]",c6="[object Set]",Oae="[object String]",Uje="[object Symbol]",qje="[object Undefined]",aL="[object WeakMap]",kae="[object ArrayBuffer]",p6="[object DataView]",$je="[object Float32Array]",Kje="[object Float64Array]",Wje="[object Int8Array]",Gje="[object Int16Array]",zje="[object Int32Array]",Hje="[object Uint8Array]",Yje="[object Uint8ClampedArray]",Jje="[object Uint16Array]",Xje="[object Uint32Array]",Qje=/[\\^$.*+?()[\]{}|]/g,Zje=/^\[object .+?Constructor\]$/,eVe=/^(?:0|[1-9]\d*)$/,es={};es[$je]=es[Kje]=es[Wje]=es[Gje]=es[zje]=es[Hje]=es[Yje]=es[Jje]=es[Xje]=!0;es[l6]=es[nL]=es[kae]=es[Pae]=es[p6]=es[_ae]=es[Cae]=es[Dae]=es[u6]=es[Nae]=es[G1]=es[Iae]=es[c6]=es[Oae]=es[aL]=!1;var Lae=typeof global=="object"&&global&&global.Object===Object&&global,tVe=typeof self=="object"&&self&&self.Object===Object&&self,Tp=Lae||tVe||Function("return this")(),Fae=typeof sS=="object"&&sS&&!sS.nodeType&&sS,hae=Fae&&typeof z1=="object"&&z1&&!z1.nodeType&&z1,Rae=hae&&hae.exports===Fae,rL=Rae&&Lae.process,mae=function(){try{return rL&&rL.binding&&rL.binding("util")}catch{}}(),yae=mae&&mae.isTypedArray;function rVe(t,e){for(var r=-1,i=t==null?0:t.length,s=0,n=[];++r<i;){var a=t[r];e(a,r,t)&&(n[s++]=a)}return n}function iVe(t,e){for(var r=-1,i=e.length,s=t.length;++r<i;)t[s+r]=e[r];return t}function sVe(t,e){for(var r=-1,i=t==null?0:t.length;++r<i;)if(e(t[r],r,t))return!0;return!1}function nVe(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}function aVe(t){return function(e){return t(e)}}function oVe(t,e){return t.has(e)}function lVe(t,e){return t==null?void 0:t[e]}function uVe(t){var e=-1,r=Array(t.size);return t.forEach(function(i,s){r[++e]=[s,i]}),r}function cVe(t,e){return function(r){return t(e(r))}}function pVe(t){var e=-1,r=Array(t.size);return t.forEach(function(i){r[++e]=i}),r}var fVe=Array.prototype,dVe=Function.prototype,y6=Object.prototype,iL=Tp["__core-js_shared__"],Bae=dVe.toString,lc=y6.hasOwnProperty,gae=function(){var t=/[^.]+$/.exec(iL&&iL.keys&&iL.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Mae=y6.toString,hVe=RegExp("^"+Bae.call(lc).replace(Qje,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),bae=Rae?Tp.Buffer:void 0,f6=Tp.Symbol,vae=Tp.Uint8Array,jae=y6.propertyIsEnumerable,mVe=fVe.splice,Om=f6?f6.toStringTag:void 0,Sae=Object.getOwnPropertySymbols,yVe=bae?bae.isBuffer:void 0,gVe=cVe(Object.keys,Object),oL=H1(Tp,"DataView"),nS=H1(Tp,"Map"),lL=H1(Tp,"Promise"),uL=H1(Tp,"Set"),cL=H1(Tp,"WeakMap"),aS=H1(Object,"create"),bVe=Fm(oL),vVe=Fm(nS),SVe=Fm(lL),TVe=Fm(uL),xVe=Fm(cL),Tae=f6?f6.prototype:void 0,sL=Tae?Tae.valueOf:void 0;function km(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function EVe(){this.__data__=aS?aS(null):{},this.size=0}function wVe(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function AVe(t){var e=this.__data__;if(aS){var r=e[t];return r===fL?void 0:r}return lc.call(e,t)?e[t]:void 0}function PVe(t){var e=this.__data__;return aS?e[t]!==void 0:lc.call(e,t)}function _Ve(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=aS&&e===void 0?fL:e,this}km.prototype.clear=EVe;km.prototype.delete=wVe;km.prototype.get=AVe;km.prototype.has=PVe;km.prototype.set=_Ve;function xp(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function CVe(){this.__data__=[],this.size=0}function DVe(t){var e=this.__data__,r=g6(e,t);if(r<0)return!1;var i=e.length-1;return r==i?e.pop():mVe.call(e,r,1),--this.size,!0}function NVe(t){var e=this.__data__,r=g6(e,t);return r<0?void 0:e[r][1]}function IVe(t){return g6(this.__data__,t)>-1}function OVe(t,e){var r=this.__data__,i=g6(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}xp.prototype.clear=CVe;xp.prototype.delete=DVe;xp.prototype.get=NVe;xp.prototype.has=IVe;xp.prototype.set=OVe;function Lm(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e<r;){var i=t[e];this.set(i[0],i[1])}}function kVe(){this.size=0,this.__data__={hash:new km,map:new(nS||xp),string:new km}}function LVe(t){var e=b6(this,t).delete(t);return this.size-=e?1:0,e}function FVe(t){return b6(this,t).get(t)}function RVe(t){return b6(this,t).has(t)}function BVe(t,e){var r=b6(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}Lm.prototype.clear=kVe;Lm.prototype.delete=LVe;Lm.prototype.get=FVe;Lm.prototype.has=RVe;Lm.prototype.set=BVe;function d6(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new Lm;++e<r;)this.add(t[e])}function MVe(t){return this.__data__.set(t,fL),this}function jVe(t){return this.__data__.has(t)}d6.prototype.add=d6.prototype.push=MVe;d6.prototype.has=jVe;function md(t){var e=this.__data__=new xp(t);this.size=e.size}function VVe(){this.__data__=new xp,this.size=0}function UVe(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function qVe(t){return this.__data__.get(t)}function $Ve(t){return this.__data__.has(t)}function KVe(t,e){var r=this.__data__;if(r instanceof xp){var i=r.__data__;if(!nS||i.length<Rje-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new Lm(i)}return r.set(t,e),this.size=r.size,this}md.prototype.clear=VVe;md.prototype.delete=UVe;md.prototype.get=qVe;md.prototype.has=$Ve;md.prototype.set=KVe;function WVe(t,e){var r=h6(t),i=!r&&aUe(t),s=!r&&!i&&pL(t),n=!r&&!i&&!s&&Gae(t),a=r||i||s||n,o=a?nVe(t.length,String):[],l=o.length;for(var u in t)(e||lc.call(t,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||n&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||tUe(u,l)))&&o.push(u);return o}function g6(t,e){for(var r=t.length;r--;)if(qae(t[r][0],e))return r;return-1}function GVe(t,e,r){var i=e(t);return h6(t)?i:iVe(i,r(t))}function lS(t){return t==null?t===void 0?qje:jje:Om&&Om in Object(t)?ZVe(t):nUe(t)}function xae(t){return oS(t)&&lS(t)==l6}function Vae(t,e,r,i,s){return t===e?!0:t==null||e==null||!oS(t)&&!oS(e)?t!==t&&e!==e:zVe(t,e,r,i,Vae,s)}function zVe(t,e,r,i,s,n){var a=h6(t),o=h6(e),l=a?nL:hd(t),u=o?nL:hd(e);l=l==l6?G1:l,u=u==l6?G1:u;var c=l==G1,p=u==G1,d=l==u;if(d&&pL(t)){if(!pL(e))return!1;a=!0,c=!1}if(d&&!c)return n||(n=new md),a||Gae(t)?Uae(t,e,r,i,s,n):XVe(t,e,l,r,i,s,n);if(!(r&m6)){var f=c&&lc.call(t,"__wrapped__"),h=p&&lc.call(e,"__wrapped__");if(f||h){var m=f?t.value():t,g=h?e.value():e;return n||(n=new md),s(m,g,r,i,n)}}return d?(n||(n=new md),QVe(t,e,r,i,s,n)):!1}function HVe(t){if(!Wae(t)||iUe(t))return!1;var e=$ae(t)?hVe:Zje;return e.test(Fm(t))}function YVe(t){return oS(t)&&Kae(t.length)&&!!es[lS(t)]}function JVe(t){if(!sUe(t))return gVe(t);var e=[];for(var r in Object(t))lc.call(t,r)&&r!="constructor"&&e.push(r);return e}function Uae(t,e,r,i,s,n){var a=r&m6,o=t.length,l=e.length;if(o!=l&&!(a&&l>o))return!1;var u=n.get(t);if(u&&n.get(e))return u==e;var c=-1,p=!0,d=r&wae?new d6:void 0;for(n.set(t,e),n.set(e,t);++c<o;){var f=t[c],h=e[c];if(i)var m=a?i(h,f,c,e,t,n):i(f,h,c,t,e,n);if(m!==void 0){if(m)continue;p=!1;break}if(d){if(!sVe(e,function(g,b){if(!oVe(d,b)&&(f===g||s(f,g,r,i,n)))return d.push(b)})){p=!1;break}}else if(!(f===h||s(f,h,r,i,n))){p=!1;break}}return n.delete(t),n.delete(e),p}function XVe(t,e,r,i,s,n,a){switch(r){case p6:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case kae:return!(t.byteLength!=e.byteLength||!n(new vae(t),new vae(e)));case Pae:case _ae:case Nae:return qae(+t,+e);case Cae:return t.name==e.name&&t.message==e.message;case Iae:case Oae:return t==e+"";case u6:var o=uVe;case c6:var l=i&m6;if(o||(o=pVe),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=wae,a.set(t,e);var c=Uae(o(t),o(e),i,s,n,a);return a.delete(t),c;case Uje:if(sL)return sL.call(t)==sL.call(e)}return!1}function QVe(t,e,r,i,s,n){var a=r&m6,o=Eae(t),l=o.length,u=Eae(e),c=u.length;if(l!=c&&!a)return!1;for(var p=l;p--;){var d=o[p];if(!(a?d in e:lc.call(e,d)))return!1}var f=n.get(t);if(f&&n.get(e))return f==e;var h=!0;n.set(t,e),n.set(e,t);for(var m=a;++p<l;){d=o[p];var g=t[d],b=e[d];if(i)var T=a?i(b,g,d,e,t,n):i(g,b,d,t,e,n);if(!(T===void 0?g===b||s(g,b,r,i,n):T)){h=!1;break}m||(m=d=="constructor")}if(h&&!m){var x=t.constructor,v=e.constructor;x!=v&&"constructor"in t&&"constructor"in e&&!(typeof x=="function"&&x instanceof x&&typeof v=="function"&&v instanceof v)&&(h=!1)}return n.delete(t),n.delete(e),h}function Eae(t){return GVe(t,uUe,eUe)}function b6(t,e){var r=t.__data__;return rUe(e)?r[typeof e=="string"?"string":"hash"]:r.map}function H1(t,e){var r=lVe(t,e);return HVe(r)?r:void 0}function ZVe(t){var e=lc.call(t,Om),r=t[Om];try{t[Om]=void 0;var i=!0}catch{}var s=Mae.call(t);return i&&(e?t[Om]=r:delete t[Om]),s}var eUe=Sae?function(t){return t==null?[]:(t=Object(t),rVe(Sae(t),function(e){return jae.call(t,e)}))}:cUe,hd=lS;(oL&&hd(new oL(new ArrayBuffer(1)))!=p6||nS&&hd(new nS)!=u6||lL&&hd(lL.resolve())!=dae||uL&&hd(new uL)!=c6||cL&&hd(new cL)!=aL)&&(hd=function(t){var e=lS(t),r=e==G1?t.constructor:void 0,i=r?Fm(r):"";if(i)switch(i){case bVe:return p6;case vVe:return u6;case SVe:return dae;case TVe:return c6;case xVe:return aL}return e});function tUe(t,e){return e=e==null?Aae:e,!!e&&(typeof t=="number"||eVe.test(t))&&t>-1&&t%1==0&&t<e}function rUe(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function iUe(t){return!!gae&&gae in t}function sUe(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||y6;return t===r}function nUe(t){return Mae.call(t)}function Fm(t){if(t!=null){try{return Bae.call(t)}catch{}try{return t+""}catch{}}return""}function qae(t,e){return t===e||t!==t&&e!==e}var aUe=xae(function(){return arguments}())?xae:function(t){return oS(t)&&lc.call(t,"callee")&&!jae.call(t,"callee")},h6=Array.isArray;function oUe(t){return t!=null&&Kae(t.length)&&!$ae(t)}var pL=yVe||pUe;function lUe(t,e){return Vae(t,e)}function $ae(t){if(!Wae(t))return!1;var e=lS(t);return e==Dae||e==Mje||e==Bje||e==Vje}function Kae(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Aae}function Wae(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function oS(t){return t!=null&&typeof t=="object"}var Gae=yae?aVe(yae):YVe;function uUe(t){return oUe(t)?WVe(t):JVe(t)}function cUe(){return[]}function pUe(){return!1}z1.exports=lUe});var Roe=E((Ewr,Foe)=>{Foe.exports={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"}});var CL=E((C6,Boe)=>{(function(t,e){typeof C6=="object"&&typeof Boe<"u"?e(C6):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.acorn={}))})(C6,function(t){"use strict";var e=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239],r=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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,3104,541,1507,4938,6,4191],i="\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\u0898-\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\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\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",s="\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-\u1C88\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-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\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",n={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"},a="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",o={5:a,"5module":a+" export import",6:a+" const class extends export import super"},l=/^in(stanceof)?$/,u=new RegExp("["+s+"]"),c=new RegExp("["+s+i+"]");function p(y,S){for(var _=65536,I=0;I<S.length;I+=2){if(_+=S[I],_>y)return!1;if(_+=S[I+1],_>=y)return!0}return!1}function d(y,S){return y<65?y===36:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&u.test(String.fromCharCode(y)):S===!1?!1:p(y,r)}function f(y,S){return y<48?y===36:y<58?!0:y<65?!1:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&c.test(String.fromCharCode(y)):S===!1?!1:p(y,r)||p(y,e)}var h=function(S,_){_===void 0&&(_={}),this.label=S,this.keyword=_.keyword,this.beforeExpr=!!_.beforeExpr,this.startsExpr=!!_.startsExpr,this.isLoop=!!_.isLoop,this.isAssign=!!_.isAssign,this.prefix=!!_.prefix,this.postfix=!!_.postfix,this.binop=_.binop||null,this.updateContext=null};function m(y,S){return new h(y,{beforeExpr:!0,binop:S})}var g={beforeExpr:!0},b={startsExpr:!0},T={};function x(y,S){return S===void 0&&(S={}),S.keyword=y,T[y]=new h(y,S)}var v={num:new h("num",b),regexp:new h("regexp",b),string:new h("string",b),name:new h("name",b),privateId:new h("privateId",b),eof:new h("eof"),bracketL:new h("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new h("]"),braceL:new h("{",{beforeExpr:!0,startsExpr:!0}),braceR:new h("}"),parenL:new h("(",{beforeExpr:!0,startsExpr:!0}),parenR:new h(")"),comma:new h(",",g),semi:new h(";",g),colon:new h(":",g),dot:new h("."),question:new h("?",g),questionDot:new h("?."),arrow:new h("=>",g),template:new h("template"),invalidTemplate:new h("invalidTemplate"),ellipsis:new h("...",g),backQuote:new h("`",b),dollarBraceL:new h("${",{beforeExpr:!0,startsExpr:!0}),eq:new h("=",{beforeExpr:!0,isAssign:!0}),assign:new h("_=",{beforeExpr:!0,isAssign:!0}),incDec:new h("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new h("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:m("||",1),logicalAND:m("&&",2),bitwiseOR:m("|",3),bitwiseXOR:m("^",4),bitwiseAND:m("&",5),equality:m("==/!=/===/!==",6),relational:m("</>/<=/>=",7),bitShift:m("<</>>/>>>",8),plusMin:new h("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:m("%",10),star:m("*",10),slash:m("/",10),starstar:new h("**",{beforeExpr:!0}),coalesce:m("??",1),_break:x("break"),_case:x("case",g),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",g),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",g),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",b),_if:x("if"),_return:x("return",g),_switch:x("switch"),_throw:x("throw",g),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",b),_super:x("super",b),_class:x("class",b),_extends:x("extends",g),_export:x("export"),_import:x("import",b),_null:x("null",b),_true:x("true",b),_false:x("false",b),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,A=new RegExp(w.source,"g");function C(y){return y===10||y===13||y===8232||y===8233}function K(y,S,_){_===void 0&&(_=y.length);for(var I=S;I<_;I++){var z=y.charCodeAt(I);if(C(z))return I<_-1&&z===13&&y.charCodeAt(I+1)===10?I+2:I+1}return-1}var F=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Q=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,X=Object.prototype,Te=X.hasOwnProperty,qe=X.toString,Ke=Object.hasOwn||function(y,S){return Te.call(y,S)},ae=Array.isArray||function(y){return qe.call(y)==="[object Array]"};function ne(y){return new RegExp("^(?:"+y.replace(/ /g,"|")+")$")}function Ce(y){return y<=65535?String.fromCharCode(y):(y-=65536,String.fromCharCode((y>>10)+55296,(y&1023)+56320))}var Ue=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Dt=function(S,_){this.line=S,this.column=_};Dt.prototype.offset=function(S){return new Dt(this.line,this.column+S)};var ce=function(S,_,I){this.start=_,this.end=I,S.sourceFile!==null&&(this.source=S.sourceFile)};function Re(y,S){for(var _=1,I=0;;){var z=K(y,I,S);if(z<0)return new Dt(_,S-I);++_,I=z}}var Z={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ee=!1;function xe(y){var S={};for(var _ in Z)S[_]=y&&Ke(y,_)?y[_]:Z[_];if(S.ecmaVersion==="latest"?S.ecmaVersion=1e8:S.ecmaVersion==null?(!Ee&&typeof console=="object"&&console.warn&&(Ee=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
111
|
-
Defaulting to 2020, but this will stop working in the future.`)),S.ecmaVersion=11):S.ecmaVersion>=2015&&(S.ecmaVersion-=2009),S.allowReserved==null&&(S.allowReserved=S.ecmaVersion<5),(!y||y.allowHashBang==null)&&(S.allowHashBang=S.ecmaVersion>=14),ae(S.onToken)){var I=S.onToken;S.onToken=function(z){return I.push(z)}}return ae(S.onComment)&&(S.onComment=we(S,S.onComment)),S}function we(y,S){return function(_,I,z,ye,Se,Ge){var it={type:_?"Block":"Line",value:I,start:z,end:ye};y.locations&&(it.loc=new ce(this,Se,Ge)),y.ranges&&(it.range=[z,ye]),S.push(it)}}var Be=1,me=2,pe=4,le=8,Fe=16,
|
|
112
|
-
`,I-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.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=S.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&&S.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Be),this.regexpState=null,this.privateNameStack=[]},_s={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}};br.prototype.parse=function(){var S=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(S)},_s.inFunction.get=function(){return(this.currentVarScope().flags&me)>0},_s.inGenerator.get=function(){return(this.currentVarScope().flags&le)>0&&!this.currentVarScope().inClassFieldInit},_s.inAsync.get=function(){return(this.currentVarScope().flags&pe)>0&&!this.currentVarScope().inClassFieldInit},_s.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var S=this.scopeStack[y];if(S.inClassFieldInit||S.flags&Ct)return!1;if(S.flags&me)return(S.flags&pe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},_s.allowSuper.get=function(){var y=this.currentThisScope(),S=y.flags,_=y.inClassFieldInit;return(S&_e)>0||_||this.options.allowSuperOutsideMethod},_s.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ze)>0},_s.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},_s.allowNewDotTarget.get=function(){var y=this.currentThisScope(),S=y.flags,_=y.inClassFieldInit;return(S&(me|Ct))>0||_},_s.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Ct)>0},br.extend=function(){for(var S=[],_=arguments.length;_--;)S[_]=arguments[_];for(var I=this,z=0;z<S.length;z++)I=S[z](I);return I},br.parse=function(S,_){return new this(_,S).parse()},br.parseExpressionAt=function(S,_,I){var z=new this(I,S,_);return z.nextToken(),z.parseExpression()},br.tokenizer=function(S,_){return new this(_,S)},Object.defineProperties(br.prototype,_s);var Cs=br.prototype,im=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Cs.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=y,y+=Q.exec(this.input)[0].length;var S=im.exec(this.input.slice(y));if(!S)return!1;if((S[1]||S[2])==="use strict"){Q.lastIndex=y+S[0].length;var _=Q.exec(this.input),I=_.index+_[0].length,z=this.input.charAt(I);return z===";"||z==="}"||w.test(_[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(z)||z==="!"&&this.input.charAt(I+1)==="=")}y+=S[0].length,Q.lastIndex=y,y+=Q.exec(this.input)[0].length,this.input[y]===";"&&y++}},Cs.eat=function(y){return this.type===y?(this.next(),!0):!1},Cs.isContextual=function(y){return this.type===v.name&&this.value===y&&!this.containsEsc},Cs.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},Cs.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},Cs.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},Cs.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Cs.semicolon=function(){!this.eat(v.semi)&&!this.insertSemicolon()&&this.unexpected()},Cs.afterTrailingComma=function(y,S){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),S||this.next(),!0},Cs.expect=function(y){this.eat(y)||this.unexpected()},Cs.unexpected=function(y){this.raise(y!=null?y:this.start,"Unexpected token")};var Zl=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Cs.checkPatternErrors=function(y,S){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var _=S?y.parenthesizedAssign:y.parenthesizedBind;_>-1&&this.raiseRecoverable(_,S?"Assigning to rvalue":"Parenthesized pattern")}},Cs.checkExpressionErrors=function(y,S){if(!y)return!1;var _=y.shorthandAssign,I=y.doubleProto;if(!S)return _>=0||I>=0;_>=0&&this.raise(_,"Shorthand property assignments are valid only in destructuring patterns"),I>=0&&this.raiseRecoverable(I,"Redefinition of __proto__ property")},Cs.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")},Cs.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var Lt=br.prototype;Lt.parseTopLevel=function(y){var S=Object.create(null);for(y.body||(y.body=[]);this.type!==v.eof;){var _=this.parseStatement(null,!0,S);y.body.push(_)}if(this.inModule)for(var I=0,z=Object.keys(this.undefinedExports);I<z.length;I+=1){var ye=z[I];this.raiseRecoverable(this.undefinedExports[ye].start,"Export '"+ye+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Zn={kind:"loop"},Kt={kind:"switch"};Lt.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var S=Q.exec(this.input),_=this.pos+S[0].length,I=this.input.charCodeAt(_);if(I===91||I===92)return!0;if(y)return!1;if(I===123||I>55295&&I<56320)return!0;if(d(I,!0)){for(var z=_+1;f(I=this.input.charCodeAt(z),!0);)++z;if(I===92||I>55295&&I<56320)return!0;var ye=this.input.slice(_,z);if(!l.test(ye))return!0}return!1},Lt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var y=Q.exec(this.input),S=this.pos+y[0].length,_;return!w.test(this.input.slice(this.pos,S))&&this.input.slice(S,S+8)==="function"&&(S+8===this.input.length||!(f(_=this.input.charCodeAt(S+8))||_>55295&&_<56320))},Lt.parseStatement=function(y,S,_){var I=this.type,z=this.startNode(),ye;switch(this.isLet(y)&&(I=v._var,ye="let"),I){case v._break:case v._continue:return this.parseBreakContinueStatement(z,I.keyword);case v._debugger:return this.parseDebuggerStatement(z);case v._do:return this.parseDoStatement(z);case v._for:return this.parseForStatement(z);case v._function:return y&&(this.strict||y!=="if"&&y!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(z,!1,!y);case v._class:return y&&this.unexpected(),this.parseClass(z,!0);case v._if:return this.parseIfStatement(z);case v._return:return this.parseReturnStatement(z);case v._switch:return this.parseSwitchStatement(z);case v._throw:return this.parseThrowStatement(z);case v._try:return this.parseTryStatement(z);case v._const:case v._var:return ye=ye||this.value,y&&ye!=="var"&&this.unexpected(),this.parseVarStatement(z,ye);case v._while:return this.parseWhileStatement(z);case v._with:return this.parseWithStatement(z);case v.braceL:return this.parseBlock(!0,z);case v.semi:return this.parseEmptyStatement(z);case v._export:case v._import:if(this.options.ecmaVersion>10&&I===v._import){Q.lastIndex=this.pos;var Se=Q.exec(this.input),Ge=this.pos+Se[0].length,it=this.input.charCodeAt(Ge);if(it===40||it===46)return this.parseExpressionStatement(z,this.parseExpression())}return this.options.allowImportExportEverywhere||(S||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===v._import?this.parseImport(z):this.parseExport(z,_);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(z,!0,!y);var dr=this.value,Lr=this.parseExpression();return I===v.name&&Lr.type==="Identifier"&&this.eat(v.colon)?this.parseLabeledStatement(z,dr,Lr,y):this.parseExpressionStatement(z,Lr)}},Lt.parseBreakContinueStatement=function(y,S){var _=S==="break";this.next(),this.eat(v.semi)||this.insertSemicolon()?y.label=null:this.type!==v.name?this.unexpected():(y.label=this.parseIdent(),this.semicolon());for(var I=0;I<this.labels.length;++I){var z=this.labels[I];if((y.label==null||z.name===y.label.name)&&(z.kind!=null&&(_||z.kind==="loop")||y.label&&_))break}return I===this.labels.length&&this.raise(y.start,"Unsyntactic "+S),this.finishNode(y,_?"BreakStatement":"ContinueStatement")},Lt.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},Lt.parseDoStatement=function(y){return this.next(),this.labels.push(Zn),y.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),y.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(v.semi):this.semicolon(),this.finishNode(y,"DoWhileStatement")},Lt.parseForStatement=function(y){this.next();var S=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Zn),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return S>-1&&this.unexpected(S),this.parseFor(y,null);var _=this.isLet();if(this.type===v._var||this.type===v._const||_){var I=this.startNode(),z=_?"let":this.value;return this.next(),this.parseVar(I,!0,z),this.finishNode(I,"VariableDeclaration"),(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&I.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===v._in?S>-1&&this.unexpected(S):y.await=S>-1),this.parseForIn(y,I)):(S>-1&&this.unexpected(S),this.parseFor(y,I))}var ye=this.isContextual("let"),Se=!1,Ge=new Zl,it=this.parseExpression(S>-1?"await":!0,Ge);return this.type===v._in||(Se=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===v._in?S>-1&&this.unexpected(S):y.await=S>-1),ye&&Se&&this.raise(it.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(it,!1,Ge),this.checkLValPattern(it),this.parseForIn(y,it)):(this.checkExpressionErrors(Ge,!0),S>-1&&this.unexpected(S),this.parseFor(y,it))},Lt.parseFunctionStatement=function(y,S,_){return this.next(),this.parseFunction(y,$s|(_?0:_n),!1,S)},Lt.parseIfStatement=function(y){return this.next(),y.test=this.parseParenExpression(),y.consequent=this.parseStatement("if"),y.alternate=this.eat(v._else)?this.parseStatement("if"):null,this.finishNode(y,"IfStatement")},Lt.parseReturnStatement=function(y){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(v.semi)||this.insertSemicolon()?y.argument=null:(y.argument=this.parseExpression(),this.semicolon()),this.finishNode(y,"ReturnStatement")},Lt.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(v.braceL),this.labels.push(Kt),this.enterScope(0);for(var S,_=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var I=this.type===v._case;S&&this.finishNode(S,"SwitchCase"),y.cases.push(S=this.startNode()),S.consequent=[],this.next(),I?S.test=this.parseExpression():(_&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),_=!0,S.test=null),this.expect(v.colon)}else S||this.unexpected(),S.consequent.push(this.parseStatement(null));return this.exitScope(),S&&this.finishNode(S,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},Lt.parseThrowStatement=function(y){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),y.argument=this.parseExpression(),this.semicolon(),this.finishNode(y,"ThrowStatement")};var kr=[];Lt.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===v._catch){var S=this.startNode();if(this.next(),this.eat(v.parenL)){S.param=this.parseBindingAtom();var _=S.param.type==="Identifier";this.enterScope(_?be:0),this.checkLValPattern(S.param,_?qs:Si),this.expect(v.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),S.param=null,this.enterScope(0);S.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(S,"CatchClause")}return y.finalizer=this.eat(v._finally)?this.parseBlock():null,!y.handler&&!y.finalizer&&this.raise(y.start,"Missing catch or finally clause"),this.finishNode(y,"TryStatement")},Lt.parseVarStatement=function(y,S){return this.next(),this.parseVar(y,!1,S),this.semicolon(),this.finishNode(y,"VariableDeclaration")},Lt.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Zn),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},Lt.parseWithStatement=function(y){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),y.object=this.parseParenExpression(),y.body=this.parseStatement("with"),this.finishNode(y,"WithStatement")},Lt.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},Lt.parseLabeledStatement=function(y,S,_,I){for(var z=0,ye=this.labels;z<ye.length;z+=1){var Se=ye[z];Se.name===S&&this.raise(_.start,"Label '"+S+"' is already declared")}for(var Ge=this.type.isLoop?"loop":this.type===v._switch?"switch":null,it=this.labels.length-1;it>=0;it--){var dr=this.labels[it];if(dr.statementStart===y.start)dr.statementStart=this.start,dr.kind=Ge;else break}return this.labels.push({name:S,kind:Ge,statementStart:this.start}),y.body=this.parseStatement(I?I.indexOf("label")===-1?I+"label":I:"label"),this.labels.pop(),y.label=_,this.finishNode(y,"LabeledStatement")},Lt.parseExpressionStatement=function(y,S){return y.expression=S,this.semicolon(),this.finishNode(y,"ExpressionStatement")},Lt.parseBlock=function(y,S,_){for(y===void 0&&(y=!0),S===void 0&&(S=this.startNode()),S.body=[],this.expect(v.braceL),y&&this.enterScope(0);this.type!==v.braceR;){var I=this.parseStatement(null);S.body.push(I)}return _&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(S,"BlockStatement")},Lt.parseFor=function(y,S){return y.init=S,this.expect(v.semi),y.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),y.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,"ForStatement")},Lt.parseForIn=function(y,S){var _=this.type===v._in;return this.next(),S.type==="VariableDeclaration"&&S.declarations[0].init!=null&&(!_||this.options.ecmaVersion<8||this.strict||S.kind!=="var"||S.declarations[0].id.type!=="Identifier")&&this.raise(S.start,(_?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=S,y.right=_?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,_?"ForInStatement":"ForOfStatement")},Lt.parseVar=function(y,S,_){for(y.declarations=[],y.kind=_;;){var I=this.startNode();if(this.parseVarId(I,_),this.eat(v.eq)?I.init=this.parseMaybeAssign(S):_==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():I.id.type!=="Identifier"&&!(S&&(this.type===v._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):I.init=null,y.declarations.push(this.finishNode(I,"VariableDeclarator")),!this.eat(v.comma))break}return y},Lt.parseVarId=function(y,S){y.id=this.parseBindingAtom(),this.checkLValPattern(y.id,S==="var"?jr:Si,!1)};var $s=1,_n=2,Hf=4;Lt.parseFunction=function(y,S,_,I,z){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!I)&&(this.type===v.star&&S&_n&&this.unexpected(),y.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(y.async=!!I),S&$s&&(y.id=S&Hf&&this.type!==v.name?null:this.parseIdent(),y.id&&!(S&_n)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?jr:Si:Ps));var ye=this.yieldPos,Se=this.awaitPos,Ge=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nr(y.async,y.generator)),S&$s||(y.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,_,!1,z),this.yieldPos=ye,this.awaitPos=Se,this.awaitIdentPos=Ge,this.finishNode(y,S&$s?"FunctionDeclaration":"FunctionExpression")},Lt.parseFunctionParams=function(y){this.expect(v.parenL),y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Lt.parseClass=function(y,S){this.next();var _=this.strict;this.strict=!0,this.parseClassId(y,S),this.parseClassSuper(y);var I=this.enterClassBody(),z=this.startNode(),ye=!1;for(z.body=[],this.expect(v.braceL);this.type!==v.braceR;){var Se=this.parseClassElement(y.superClass!==null);Se&&(z.body.push(Se),Se.type==="MethodDefinition"&&Se.kind==="constructor"?(ye&&this.raise(Se.start,"Duplicate constructor in the same class"),ye=!0):Se.key&&Se.key.type==="PrivateIdentifier"&&fI(I,Se)&&this.raiseRecoverable(Se.key.start,"Identifier '#"+Se.key.name+"' has already been declared"))}return this.strict=_,this.next(),y.body=this.finishNode(z,"ClassBody"),this.exitClassBody(),this.finishNode(y,S?"ClassDeclaration":"ClassExpression")},Lt.parseClassElement=function(y){if(this.eat(v.semi))return null;var S=this.options.ecmaVersion,_=this.startNode(),I="",z=!1,ye=!1,Se="method",Ge=!1;if(this.eatContextual("static")){if(S>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(_),_;this.isClassElementNameStart()||this.type===v.star?Ge=!0:I="static"}if(_.static=Ge,!I&&S>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?ye=!0:I="async"),!I&&(S>=9||!ye)&&this.eat(v.star)&&(z=!0),!I&&!ye&&!z){var it=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Se=it:I=it)}if(I?(_.computed=!1,_.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),_.key.name=I,this.finishNode(_.key,"Identifier")):this.parseClassElementName(_),S<13||this.type===v.parenL||Se!=="method"||z||ye){var dr=!_.static&&Yy(_,"constructor"),Lr=dr&&y;dr&&Se!=="method"&&this.raise(_.key.start,"Constructor can't have get/set modifier"),_.kind=dr?"constructor":Se,this.parseClassMethod(_,z,ye,Lr)}else this.parseClassField(_);return _},Lt.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},Lt.parseClassElementName=function(y){this.type===v.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),y.computed=!1,y.key=this.parsePrivateIdent()):this.parsePropertyName(y)},Lt.parseClassMethod=function(y,S,_,I){var z=y.key;y.kind==="constructor"?(S&&this.raise(z.start,"Constructor can't be a generator"),_&&this.raise(z.start,"Constructor can't be an async method")):y.static&&Yy(y,"prototype")&&this.raise(z.start,"Classes may not have a static property named prototype");var ye=y.value=this.parseMethod(S,_,I);return y.kind==="get"&&ye.params.length!==0&&this.raiseRecoverable(ye.start,"getter should have no params"),y.kind==="set"&&ye.params.length!==1&&this.raiseRecoverable(ye.start,"setter should have exactly one param"),y.kind==="set"&&ye.params[0].type==="RestElement"&&this.raiseRecoverable(ye.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},Lt.parseClassField=function(y){if(Yy(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&Yy(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)){var S=this.currentThisScope(),_=S.inClassFieldInit;S.inClassFieldInit=!0,y.value=this.parseMaybeAssign(),S.inClassFieldInit=_}else y.value=null;return this.semicolon(),this.finishNode(y,"PropertyDefinition")},Lt.parseClassStaticBlock=function(y){y.body=[];var S=this.labels;for(this.labels=[],this.enterScope(Ct|_e);this.type!==v.braceR;){var _=this.parseStatement(null);y.body.push(_)}return this.next(),this.exitScope(),this.labels=S,this.finishNode(y,"StaticBlock")},Lt.parseClassId=function(y,S){this.type===v.name?(y.id=this.parseIdent(),S&&this.checkLValSimple(y.id,Si,!1)):(S===!0&&this.unexpected(),y.id=null)},Lt.parseClassSuper=function(y){y.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},Lt.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},Lt.exitClassBody=function(){for(var y=this.privateNameStack.pop(),S=y.declared,_=y.used,I=this.privateNameStack.length,z=I===0?null:this.privateNameStack[I-1],ye=0;ye<_.length;++ye){var Se=_[ye];Ke(S,Se.name)||(z?z.used.push(Se):this.raiseRecoverable(Se.start,"Private field '#"+Se.name+"' must be declared in an enclosing class"))}};function fI(y,S){var _=S.key.name,I=y[_],z="true";return S.type==="MethodDefinition"&&(S.kind==="get"||S.kind==="set")&&(z=(S.static?"s":"i")+S.kind),I==="iget"&&z==="iset"||I==="iset"&&z==="iget"||I==="sget"&&z==="sset"||I==="sset"&&z==="sget"?(y[_]="true",!1):I?!0:(y[_]=z,!1)}function Yy(y,S){var _=y.computed,I=y.key;return!_&&(I.type==="Identifier"&&I.name===S||I.type==="Literal"&&I.value===S)}Lt.parseExport=function(y,S){if(this.next(),this.eat(v.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(S,y.exported,this.lastTokStart)):y.exported=null),this.expectContextual("from"),this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom(),this.semicolon(),this.finishNode(y,"ExportAllDeclaration");if(this.eat(v._default)){this.checkExport(S,"default",this.lastTokStart);var _;if(this.type===v._function||(_=this.isAsyncFunction())){var I=this.startNode();this.next(),_&&this.next(),y.declaration=this.parseFunction(I,$s|Hf,!1,_)}else if(this.type===v._class){var z=this.startNode();y.declaration=this.parseClass(z,"nullableID")}else y.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(y,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())y.declaration=this.parseStatement(null),y.declaration.type==="VariableDeclaration"?this.checkVariableExport(S,y.declaration.declarations):this.checkExport(S,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null;else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(S),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom();else{for(var ye=0,Se=y.specifiers;ye<Se.length;ye+=1){var Ge=Se[ye];this.checkUnreserved(Ge.local),this.checkLocalExport(Ge.local),Ge.local.type==="Literal"&&this.raise(Ge.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},Lt.checkExport=function(y,S,_){y&&(typeof S!="string"&&(S=S.type==="Identifier"?S.name:S.value),Ke(y,S)&&this.raiseRecoverable(_,"Duplicate export '"+S+"'"),y[S]=!0)},Lt.checkPatternExport=function(y,S){var _=S.type;if(_==="Identifier")this.checkExport(y,S,S.start);else if(_==="ObjectPattern")for(var I=0,z=S.properties;I<z.length;I+=1){var ye=z[I];this.checkPatternExport(y,ye)}else if(_==="ArrayPattern")for(var Se=0,Ge=S.elements;Se<Ge.length;Se+=1){var it=Ge[Se];it&&this.checkPatternExport(y,it)}else _==="Property"?this.checkPatternExport(y,S.value):_==="AssignmentPattern"?this.checkPatternExport(y,S.left):_==="RestElement"?this.checkPatternExport(y,S.argument):_==="ParenthesizedExpression"&&this.checkPatternExport(y,S.expression)},Lt.checkVariableExport=function(y,S){if(y)for(var _=0,I=S;_<I.length;_+=1){var z=I[_];this.checkPatternExport(y,z.id)}},Lt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Lt.parseExportSpecifiers=function(y){var S=[],_=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(_)_=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var I=this.startNode();I.local=this.parseModuleExportName(),I.exported=this.eatContextual("as")?this.parseModuleExportName():I.local,this.checkExport(y,I.exported,I.exported.start),S.push(this.finishNode(I,"ExportSpecifier"))}return S},Lt.parseImport=function(y){return this.next(),this.type===v.string?(y.specifiers=kr,y.source=this.parseExprAtom()):(y.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),y.source=this.type===v.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(y,"ImportDeclaration")},Lt.parseImportSpecifiers=function(){var y=[],S=!0;if(this.type===v.name){var _=this.startNode();if(_.local=this.parseIdent(),this.checkLValSimple(_.local,Si),y.push(this.finishNode(_,"ImportDefaultSpecifier")),!this.eat(v.comma))return y}if(this.type===v.star){var I=this.startNode();return this.next(),this.expectContextual("as"),I.local=this.parseIdent(),this.checkLValSimple(I.local,Si),y.push(this.finishNode(I,"ImportNamespaceSpecifier")),y}for(this.expect(v.braceL);!this.eat(v.braceR);){if(S)S=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var z=this.startNode();z.imported=this.parseModuleExportName(),this.eatContextual("as")?z.local=this.parseIdent():(this.checkUnreserved(z.imported),z.local=z.imported),this.checkLValSimple(z.local,Si),y.push(this.finishNode(z,"ImportSpecifier"))}return y},Lt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var y=this.parseLiteral(this.value);return Ue.test(y.value)&&this.raise(y.start,"An export name cannot include a lone surrogate."),y}return this.parseIdent(!0)},Lt.adaptDirectivePrologue=function(y){for(var S=0;S<y.length&&this.isDirectiveCandidate(y[S]);++S)y[S].directive=y[S].expression.raw.slice(1,-1)},Lt.isDirectiveCandidate=function(y){return this.options.ecmaVersion>=5&&y.type==="ExpressionStatement"&&y.expression.type==="Literal"&&typeof y.expression.value=="string"&&(this.input[y.start]==='"'||this.input[y.start]==="'")};var Lo=br.prototype;Lo.toAssignable=function(y,S,_){if(this.options.ecmaVersion>=6&&y)switch(y.type){case"Identifier":this.inAsync&&y.name==="await"&&this.raise(y.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":y.type="ObjectPattern",_&&this.checkPatternErrors(_,!0);for(var I=0,z=y.properties;I<z.length;I+=1){var ye=z[I];this.toAssignable(ye,S),ye.type==="RestElement"&&(ye.argument.type==="ArrayPattern"||ye.argument.type==="ObjectPattern")&&this.raise(ye.argument.start,"Unexpected token")}break;case"Property":y.kind!=="init"&&this.raise(y.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(y.value,S);break;case"ArrayExpression":y.type="ArrayPattern",_&&this.checkPatternErrors(_,!0),this.toAssignableList(y.elements,S);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,S),y.argument.type==="AssignmentPattern"&&this.raise(y.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":y.operator!=="="&&this.raise(y.left.end,"Only '=' operator can be used for specifying default value."),y.type="AssignmentPattern",delete y.operator,this.toAssignable(y.left,S);break;case"ParenthesizedExpression":this.toAssignable(y.expression,S,_);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!S)break;default:this.raise(y.start,"Assigning to rvalue")}else _&&this.checkPatternErrors(_,!0);return y},Lo.toAssignableList=function(y,S){for(var _=y.length,I=0;I<_;I++){var z=y[I];z&&this.toAssignable(z,S)}if(_){var ye=y[_-1];this.options.ecmaVersion===6&&S&&ye&&ye.type==="RestElement"&&ye.argument.type!=="Identifier"&&this.unexpected(ye.argument.start)}return y},Lo.parseSpread=function(y){var S=this.startNode();return this.next(),S.argument=this.parseMaybeAssign(!1,y),this.finishNode(S,"SpreadElement")},Lo.parseRestBinding=function(){var y=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==v.name&&this.unexpected(),y.argument=this.parseBindingAtom(),this.finishNode(y,"RestElement")},Lo.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case v.bracketL:var y=this.startNode();return this.next(),y.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(y,"ArrayPattern");case v.braceL:return this.parseObj(!0)}return this.parseIdent()},Lo.parseBindingList=function(y,S,_){for(var I=[],z=!0;!this.eat(y);)if(z?z=!1:this.expect(v.comma),S&&this.type===v.comma)I.push(null);else{if(_&&this.afterTrailingComma(y))break;if(this.type===v.ellipsis){var ye=this.parseRestBinding();this.parseBindingListItem(ye),I.push(ye),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else{var Se=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(Se),I.push(Se)}}return I},Lo.parseBindingListItem=function(y){return y},Lo.parseMaybeDefault=function(y,S,_){if(_=_||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return _;var I=this.startNodeAt(y,S);return I.left=_,I.right=this.parseMaybeAssign(),this.finishNode(I,"AssignmentPattern")},Lo.checkLValSimple=function(y,S,_){S===void 0&&(S=Mr);var I=S!==Mr;switch(y.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(y.name)&&this.raiseRecoverable(y.start,(I?"Binding ":"Assigning to ")+y.name+" in strict mode"),I&&(S===Si&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),_&&(Ke(_,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),_[y.name]=!0),S!==$n&&this.declareName(y.name,S,y.start));break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":I&&this.raiseRecoverable(y.start,"Binding member expression");break;case"ParenthesizedExpression":return I&&this.raiseRecoverable(y.start,"Binding parenthesized expression"),this.checkLValSimple(y.expression,S,_);default:this.raise(y.start,(I?"Binding":"Assigning to")+" rvalue")}},Lo.checkLValPattern=function(y,S,_){switch(S===void 0&&(S=Mr),y.type){case"ObjectPattern":for(var I=0,z=y.properties;I<z.length;I+=1){var ye=z[I];this.checkLValInnerPattern(ye,S,_)}break;case"ArrayPattern":for(var Se=0,Ge=y.elements;Se<Ge.length;Se+=1){var it=Ge[Se];it&&this.checkLValInnerPattern(it,S,_)}break;default:this.checkLValSimple(y,S,_)}},Lo.checkLValInnerPattern=function(y,S,_){switch(S===void 0&&(S=Mr),y.type){case"Property":this.checkLValInnerPattern(y.value,S,_);break;case"AssignmentPattern":this.checkLValPattern(y.left,S,_);break;case"RestElement":this.checkLValPattern(y.argument,S,_);break;default:this.checkLValPattern(y,S,_)}};var eo=function(S,_,I,z,ye){this.token=S,this.isExpr=!!_,this.preserveSpace=!!I,this.override=z,this.generator=!!ye},Mi={b_stat:new eo("{",!1),b_expr:new eo("{",!0),b_tmpl:new eo("${",!1),p_stat:new eo("(",!1),p_expr:new eo("(",!0),q_tmpl:new eo("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new eo("function",!1),f_expr:new eo("function",!0),f_expr_gen:new eo("function",!0,!1,null,!0),f_gen:new eo("function",!1,!1,null,!0)},ge=br.prototype;ge.initialContext=function(){return[Mi.b_stat]},ge.curContext=function(){return this.context[this.context.length-1]},ge.braceIsBlock=function(y){var S=this.curContext();return S===Mi.f_expr||S===Mi.f_stat?!0:y===v.colon&&(S===Mi.b_stat||S===Mi.b_expr)?!S.isExpr:y===v._return||y===v.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):y===v._else||y===v.semi||y===v.eof||y===v.parenR||y===v.arrow?!0:y===v.braceL?S===Mi.b_stat:y===v._var||y===v._const||y===v.name?!1:!this.exprAllowed},ge.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var S=this.context[y];if(S.token==="function")return S.generator}return!1},ge.updateContext=function(y){var S,_=this.type;_.keyword&&y===v.dot?this.exprAllowed=!1:(S=_.updateContext)?S.call(this,y):this.exprAllowed=_.beforeExpr},ge.overrideContext=function(y){this.curContext()!==y&&(this.context[this.context.length-1]=y)},v.parenR.updateContext=v.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var y=this.context.pop();y===Mi.b_stat&&this.curContext().token==="function"&&(y=this.context.pop()),this.exprAllowed=!y.isExpr},v.braceL.updateContext=function(y){this.context.push(this.braceIsBlock(y)?Mi.b_stat:Mi.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(Mi.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(y){var S=y===v._if||y===v._for||y===v._with||y===v._while;this.context.push(S?Mi.p_stat:Mi.p_expr),this.exprAllowed=!0},v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(y){y.beforeExpr&&y!==v._else&&!(y===v.semi&&this.curContext()!==Mi.p_stat)&&!(y===v._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===v.colon||y===v.braceL)&&this.curContext()===Mi.b_stat)?this.context.push(Mi.f_expr):this.context.push(Mi.f_stat),this.exprAllowed=!1},v.backQuote.updateContext=function(){this.curContext()===Mi.q_tmpl?this.context.pop():this.context.push(Mi.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(y){if(y===v._function){var S=this.context.length-1;this.context[S]===Mi.f_expr?this.context[S]=Mi.f_expr_gen:this.context[S]=Mi.f_gen}this.exprAllowed=!0},v.name.updateContext=function(y){var S=!1;this.options.ecmaVersion>=6&&y!==v.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(S=!0),this.exprAllowed=S};var oe=br.prototype;oe.checkPropClash=function(y,S,_){if(!(this.options.ecmaVersion>=9&&y.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(y.computed||y.method||y.shorthand))){var I=y.key,z;switch(I.type){case"Identifier":z=I.name;break;case"Literal":z=String(I.value);break;default:return}var ye=y.kind;if(this.options.ecmaVersion>=6){z==="__proto__"&&ye==="init"&&(S.proto&&(_?_.doubleProto<0&&(_.doubleProto=I.start):this.raiseRecoverable(I.start,"Redefinition of __proto__ property")),S.proto=!0);return}z="$"+z;var Se=S[z];if(Se){var Ge;ye==="init"?Ge=this.strict&&Se.init||Se.get||Se.set:Ge=Se.init||Se[ye],Ge&&this.raiseRecoverable(I.start,"Redefinition of property")}else Se=S[z]={init:!1,get:!1,set:!1};Se[ye]=!0}},oe.parseExpression=function(y,S){var _=this.start,I=this.startLoc,z=this.parseMaybeAssign(y,S);if(this.type===v.comma){var ye=this.startNodeAt(_,I);for(ye.expressions=[z];this.eat(v.comma);)ye.expressions.push(this.parseMaybeAssign(y,S));return this.finishNode(ye,"SequenceExpression")}return z},oe.parseMaybeAssign=function(y,S,_){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var I=!1,z=-1,ye=-1,Se=-1;S?(z=S.parenthesizedAssign,ye=S.trailingComma,Se=S.doubleProto,S.parenthesizedAssign=S.trailingComma=-1):(S=new Zl,I=!0);var Ge=this.start,it=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var dr=this.parseMaybeConditional(y,S);if(_&&(dr=_.call(this,dr,Ge,it)),this.type.isAssign){var Lr=this.startNodeAt(Ge,it);return Lr.operator=this.value,this.type===v.eq&&(dr=this.toAssignable(dr,!1,S)),I||(S.parenthesizedAssign=S.trailingComma=S.doubleProto=-1),S.shorthandAssign>=dr.start&&(S.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(dr):this.checkLValSimple(dr),Lr.left=dr,this.next(),Lr.right=this.parseMaybeAssign(y),Se>-1&&(S.doubleProto=Se),this.finishNode(Lr,"AssignmentExpression")}else I&&this.checkExpressionErrors(S,!0);return z>-1&&(S.parenthesizedAssign=z),ye>-1&&(S.trailingComma=ye),dr},oe.parseMaybeConditional=function(y,S){var _=this.start,I=this.startLoc,z=this.parseExprOps(y,S);if(this.checkExpressionErrors(S))return z;if(this.eat(v.question)){var ye=this.startNodeAt(_,I);return ye.test=z,ye.consequent=this.parseMaybeAssign(),this.expect(v.colon),ye.alternate=this.parseMaybeAssign(y),this.finishNode(ye,"ConditionalExpression")}return z},oe.parseExprOps=function(y,S){var _=this.start,I=this.startLoc,z=this.parseMaybeUnary(S,!1,!1,y);return this.checkExpressionErrors(S)||z.start===_&&z.type==="ArrowFunctionExpression"?z:this.parseExprOp(z,_,I,-1,y)},oe.parseExprOp=function(y,S,_,I,z){var ye=this.type.binop;if(ye!=null&&(!z||this.type!==v._in)&&ye>I){var Se=this.type===v.logicalOR||this.type===v.logicalAND,Ge=this.type===v.coalesce;Ge&&(ye=v.logicalAND.binop);var it=this.value;this.next();var dr=this.start,Lr=this.startLoc,ea=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,z),dr,Lr,ye,z),sm=this.buildBinary(S,_,y,ea,it,Se||Ge);return(Se&&this.type===v.coalesce||Ge&&(this.type===v.logicalOR||this.type===v.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(sm,S,_,I,z)}return y},oe.buildBinary=function(y,S,_,I,z,ye){I.type==="PrivateIdentifier"&&this.raise(I.start,"Private identifier can only be left side of binary expression");var Se=this.startNodeAt(y,S);return Se.left=_,Se.operator=z,Se.right=I,this.finishNode(Se,ye?"LogicalExpression":"BinaryExpression")},oe.parseMaybeUnary=function(y,S,_,I){var z=this.start,ye=this.startLoc,Se;if(this.isContextual("await")&&this.canAwait)Se=this.parseAwait(I),S=!0;else if(this.type.prefix){var Ge=this.startNode(),it=this.type===v.incDec;Ge.operator=this.value,Ge.prefix=!0,this.next(),Ge.argument=this.parseMaybeUnary(null,!0,it,I),this.checkExpressionErrors(y,!0),it?this.checkLValSimple(Ge.argument):this.strict&&Ge.operator==="delete"&&Ge.argument.type==="Identifier"?this.raiseRecoverable(Ge.start,"Deleting local variable in strict mode"):Ge.operator==="delete"&&We(Ge.argument)?this.raiseRecoverable(Ge.start,"Private fields can not be deleted"):S=!0,Se=this.finishNode(Ge,it?"UpdateExpression":"UnaryExpression")}else if(!S&&this.type===v.privateId)(I||this.privateNameStack.length===0)&&this.unexpected(),Se=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();else{if(Se=this.parseExprSubscripts(y,I),this.checkExpressionErrors(y))return Se;for(;this.type.postfix&&!this.canInsertSemicolon();){var dr=this.startNodeAt(z,ye);dr.operator=this.value,dr.prefix=!1,dr.argument=Se,this.checkLValSimple(Se),this.next(),Se=this.finishNode(dr,"UpdateExpression")}}if(!_&&this.eat(v.starstar))if(S)this.unexpected(this.lastTokStart);else return this.buildBinary(z,ye,Se,this.parseMaybeUnary(null,!1,!1,I),"**",!1);else return Se};function We(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&We(y.expression)}oe.parseExprSubscripts=function(y,S){var _=this.start,I=this.startLoc,z=this.parseExprAtom(y,S);if(z.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return z;var ye=this.parseSubscripts(z,_,I,!1,S);return y&&ye.type==="MemberExpression"&&(y.parenthesizedAssign>=ye.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=ye.start&&(y.parenthesizedBind=-1),y.trailingComma>=ye.start&&(y.trailingComma=-1)),ye},oe.parseSubscripts=function(y,S,_,I,z){for(var ye=this.options.ecmaVersion>=8&&y.type==="Identifier"&&y.name==="async"&&this.lastTokEnd===y.end&&!this.canInsertSemicolon()&&y.end-y.start===5&&this.potentialArrowAt===y.start,Se=!1;;){var Ge=this.parseSubscript(y,S,_,I,ye,Se,z);if(Ge.optional&&(Se=!0),Ge===y||Ge.type==="ArrowFunctionExpression"){if(Se){var it=this.startNodeAt(S,_);it.expression=Ge,Ge=this.finishNode(it,"ChainExpression")}return Ge}y=Ge}},oe.parseSubscript=function(y,S,_,I,z,ye,Se){var Ge=this.options.ecmaVersion>=11,it=Ge&&this.eat(v.questionDot);I&&it&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var dr=this.eat(v.bracketL);if(dr||it&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var Lr=this.startNodeAt(S,_);Lr.object=y,dr?(Lr.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&y.type!=="Super"?Lr.property=this.parsePrivateIdent():Lr.property=this.parseIdent(this.options.allowReserved!=="never"),Lr.computed=!!dr,Ge&&(Lr.optional=it),y=this.finishNode(Lr,"MemberExpression")}else if(!I&&this.eat(v.parenL)){var ea=new Zl,sm=this.yieldPos,Jv=this.awaitPos,Jy=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Xw=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,ea);if(z&&!it&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(ea,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=sm,this.awaitPos=Jv,this.awaitIdentPos=Jy,this.parseArrowExpression(this.startNodeAt(S,_),Xw,!0,Se);this.checkExpressionErrors(ea,!0),this.yieldPos=sm||this.yieldPos,this.awaitPos=Jv||this.awaitPos,this.awaitIdentPos=Jy||this.awaitIdentPos;var Xy=this.startNodeAt(S,_);Xy.callee=y,Xy.arguments=Xw,Ge&&(Xy.optional=it),y=this.finishNode(Xy,"CallExpression")}else if(this.type===v.backQuote){(it||ye)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Qy=this.startNodeAt(S,_);Qy.tag=y,Qy.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(Qy,"TaggedTemplateExpression")}return y},oe.parseExprAtom=function(y,S){this.type===v.slash&&this.readRegexp();var _,I=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),_=this.startNode(),this.next(),this.type===v.parenL&&!this.allowDirectSuper&&this.raise(_.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(_,"Super");case v._this:return _=this.startNode(),this.next(),this.finishNode(_,"ThisExpression");case v.name:var z=this.start,ye=this.startLoc,Se=this.containsEsc,Ge=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Se&&Ge.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(Mi.f_expr),this.parseFunction(this.startNodeAt(z,ye),0,!1,!0,S);if(I&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(z,ye),[Ge],!1,S);if(this.options.ecmaVersion>=8&&Ge.name==="async"&&this.type===v.name&&!Se&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ge=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(z,ye),[Ge],!0,S)}return Ge;case v.regexp:var it=this.value;return _=this.parseLiteral(it.value),_.regex={pattern:it.pattern,flags:it.flags},_;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return _=this.startNode(),_.value=this.type===v._null?null:this.type===v._true,_.raw=this.type.keyword,this.next(),this.finishNode(_,"Literal");case v.parenL:var dr=this.start,Lr=this.parseParenAndDistinguishExpression(I,S);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Lr)&&(y.parenthesizedAssign=dr),y.parenthesizedBind<0&&(y.parenthesizedBind=dr)),Lr;case v.bracketL:return _=this.startNode(),this.next(),_.elements=this.parseExprList(v.bracketR,!0,!0,y),this.finishNode(_,"ArrayExpression");case v.braceL:return this.overrideContext(Mi.b_expr),this.parseObj(!1,y);case v._function:return _=this.startNode(),this.next(),this.parseFunction(_,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},oe.parseExprImport=function(){var y=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var S=this.parseIdent(!0);switch(this.type){case v.parenL:return this.parseDynamicImport(y);case v.dot:return y.meta=S,this.parseImportMeta(y);default:this.unexpected()}},oe.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),!this.eat(v.parenR)){var S=this.start;this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(S,"Trailing comma is not allowed in import()"):this.unexpected(S)}return this.finishNode(y,"ImportExpression")},oe.parseImportMeta=function(y){this.next();var S=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="meta"&&this.raiseRecoverable(y.property.start,"The only valid meta property for import is 'import.meta'"),S&&this.raiseRecoverable(y.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(y.start,"Cannot use 'import.meta' outside a module"),this.finishNode(y,"MetaProperty")},oe.parseLiteral=function(y){var S=this.startNode();return S.value=y,S.raw=this.input.slice(this.start,this.end),S.raw.charCodeAt(S.raw.length-1)===110&&(S.bigint=S.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(S,"Literal")},oe.parseParenExpression=function(){this.expect(v.parenL);var y=this.parseExpression();return this.expect(v.parenR),y},oe.parseParenAndDistinguishExpression=function(y,S){var _=this.start,I=this.startLoc,z,ye=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Se=this.start,Ge=this.startLoc,it=[],dr=!0,Lr=!1,ea=new Zl,sm=this.yieldPos,Jv=this.awaitPos,Jy;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;)if(dr?dr=!1:this.expect(v.comma),ye&&this.afterTrailingComma(v.parenR,!0)){Lr=!0;break}else if(this.type===v.ellipsis){Jy=this.start,it.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else it.push(this.parseMaybeAssign(!1,ea,this.parseParenItem));var Xw=this.lastTokEnd,Xy=this.lastTokEndLoc;if(this.expect(v.parenR),y&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(ea,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=sm,this.awaitPos=Jv,this.parseParenArrowList(_,I,it,S);(!it.length||Lr)&&this.unexpected(this.lastTokStart),Jy&&this.unexpected(Jy),this.checkExpressionErrors(ea,!0),this.yieldPos=sm||this.yieldPos,this.awaitPos=Jv||this.awaitPos,it.length>1?(z=this.startNodeAt(Se,Ge),z.expressions=it,this.finishNodeAt(z,"SequenceExpression",Xw,Xy)):z=it[0]}else z=this.parseParenExpression();if(this.options.preserveParens){var Qy=this.startNodeAt(_,I);return Qy.expression=z,this.finishNode(Qy,"ParenthesizedExpression")}else return z},oe.parseParenItem=function(y){return y},oe.parseParenArrowList=function(y,S,_,I){return this.parseArrowExpression(this.startNodeAt(y,S),_,!1,I)};var ur=[];oe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var y=this.startNode(),S=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(v.dot)){y.meta=S;var _=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="target"&&this.raiseRecoverable(y.property.start,"The only valid meta property for new is 'new.target'"),_&&this.raiseRecoverable(y.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(y.start,"'new.target' can only be used in functions and class static block"),this.finishNode(y,"MetaProperty")}var I=this.start,z=this.startLoc,ye=this.type===v._import;return y.callee=this.parseSubscripts(this.parseExprAtom(),I,z,!0,!1),ye&&y.callee.type==="ImportExpression"&&this.raise(I,"Cannot use new with import()"),this.eat(v.parenL)?y.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1):y.arguments=ur,this.finishNode(y,"NewExpression")},oe.parseTemplateElement=function(y){var S=y.isTagged,_=this.startNode();return this.type===v.invalidTemplate?(S||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),_.value={raw:this.value,cooked:null}):_.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
113
|
-
`),cooked:this.value},this.next(),_.tail=this.type===v.backQuote,this.finishNode(_,"TemplateElement")},oe.parseTemplate=function(y){y===void 0&&(y={});var S=y.isTagged;S===void 0&&(S=!1);var _=this.startNode();this.next(),_.expressions=[];var I=this.parseTemplateElement({isTagged:S});for(_.quasis=[I];!I.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),_.expressions.push(this.parseExpression()),this.expect(v.braceR),_.quasis.push(I=this.parseTemplateElement({isTagged:S}));return this.next(),this.finishNode(_,"TemplateLiteral")},oe.isAsyncProp=function(y){return!y.computed&&y.key.type==="Identifier"&&y.key.name==="async"&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===v.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},oe.parseObj=function(y,S){var _=this.startNode(),I=!0,z={};for(_.properties=[],this.next();!this.eat(v.braceR);){if(I)I=!1;else if(this.expect(v.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR))break;var ye=this.parseProperty(y,S);y||this.checkPropClash(ye,z,S),_.properties.push(ye)}return this.finishNode(_,y?"ObjectPattern":"ObjectExpression")},oe.parseProperty=function(y,S){var _=this.startNode(),I,z,ye,Se;if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis))return y?(_.argument=this.parseIdent(!1),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(_,"RestElement")):(_.argument=this.parseMaybeAssign(!1,S),this.type===v.comma&&S&&S.trailingComma<0&&(S.trailingComma=this.start),this.finishNode(_,"SpreadElement"));this.options.ecmaVersion>=6&&(_.method=!1,_.shorthand=!1,(y||S)&&(ye=this.start,Se=this.startLoc),y||(I=this.eat(v.star)));var Ge=this.containsEsc;return this.parsePropertyName(_),!y&&!Ge&&this.options.ecmaVersion>=8&&!I&&this.isAsyncProp(_)?(z=!0,I=this.options.ecmaVersion>=9&&this.eat(v.star),this.parsePropertyName(_)):z=!1,this.parsePropertyValue(_,y,I,z,ye,Se,S,Ge),this.finishNode(_,"Property")},oe.parsePropertyValue=function(y,S,_,I,z,ye,Se,Ge){if((_||I)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon))y.value=S?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Se),y.kind="init";else if(this.options.ecmaVersion>=6&&this.type===v.parenL)S&&this.unexpected(),y.kind="init",y.method=!0,y.value=this.parseMethod(_,I);else if(!S&&!Ge&&this.options.ecmaVersion>=5&&!y.computed&&y.key.type==="Identifier"&&(y.key.name==="get"||y.key.name==="set")&&this.type!==v.comma&&this.type!==v.braceR&&this.type!==v.eq){(_||I)&&this.unexpected(),y.kind=y.key.name,this.parsePropertyName(y),y.value=this.parseMethod(!1);var it=y.kind==="get"?0:1;if(y.value.params.length!==it){var dr=y.value.start;y.kind==="get"?this.raiseRecoverable(dr,"getter should have no params"):this.raiseRecoverable(dr,"setter should have exactly one param")}else y.kind==="set"&&y.value.params[0].type==="RestElement"&&this.raiseRecoverable(y.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!y.computed&&y.key.type==="Identifier"?((_||I)&&this.unexpected(),this.checkUnreserved(y.key),y.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=z),y.kind="init",S?y.value=this.parseMaybeDefault(z,ye,this.copyNode(y.key)):this.type===v.eq&&Se?(Se.shorthandAssign<0&&(Se.shorthandAssign=this.start),y.value=this.parseMaybeDefault(z,ye,this.copyNode(y.key))):y.value=this.copyNode(y.key),y.shorthand=!0):this.unexpected()},oe.parsePropertyName=function(y){if(this.options.ecmaVersion>=6){if(this.eat(v.bracketL))return y.computed=!0,y.key=this.parseMaybeAssign(),this.expect(v.bracketR),y.key;y.computed=!1}return y.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},oe.initFunction=function(y){y.id=null,this.options.ecmaVersion>=6&&(y.generator=y.expression=!1),this.options.ecmaVersion>=8&&(y.async=!1)},oe.parseMethod=function(y,S,_){var I=this.startNode(),z=this.yieldPos,ye=this.awaitPos,Se=this.awaitIdentPos;return this.initFunction(I),this.options.ecmaVersion>=6&&(I.generator=y),this.options.ecmaVersion>=8&&(I.async=!!S),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nr(S,I.generator)|_e|(_?Ze:0)),this.expect(v.parenL),I.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(I,!1,!0,!1),this.yieldPos=z,this.awaitPos=ye,this.awaitIdentPos=Se,this.finishNode(I,"FunctionExpression")},oe.parseArrowExpression=function(y,S,_,I){var z=this.yieldPos,ye=this.awaitPos,Se=this.awaitIdentPos;return this.enterScope(nr(_,!1)|Fe),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!_),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(S,!0),this.parseFunctionBody(y,!0,!1,I),this.yieldPos=z,this.awaitPos=ye,this.awaitIdentPos=Se,this.finishNode(y,"ArrowFunctionExpression")},oe.parseFunctionBody=function(y,S,_,I){var z=S&&this.type!==v.braceL,ye=this.strict,Se=!1;if(z)y.body=this.parseMaybeAssign(I),y.expression=!0,this.checkParams(y,!1);else{var Ge=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!ye||Ge)&&(Se=this.strictDirective(this.end),Se&&Ge&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var it=this.labels;this.labels=[],Se&&(this.strict=!0),this.checkParams(y,!ye&&!Se&&!S&&!_&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,$n),y.body=this.parseBlock(!1,void 0,Se&&!ye),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=it}this.exitScope()},oe.isSimpleParamList=function(y){for(var S=0,_=y;S<_.length;S+=1){var I=_[S];if(I.type!=="Identifier")return!1}return!0},oe.checkParams=function(y,S){for(var _=Object.create(null),I=0,z=y.params;I<z.length;I+=1){var ye=z[I];this.checkLValInnerPattern(ye,jr,S?null:_)}},oe.parseExprList=function(y,S,_,I){for(var z=[],ye=!0;!this.eat(y);){if(ye)ye=!1;else if(this.expect(v.comma),S&&this.afterTrailingComma(y))break;var Se=void 0;_&&this.type===v.comma?Se=null:this.type===v.ellipsis?(Se=this.parseSpread(I),I&&this.type===v.comma&&I.trailingComma<0&&(I.trailingComma=this.start)):Se=this.parseMaybeAssign(!1,I),z.push(Se)}return z},oe.checkUnreserved=function(y){var S=y.start,_=y.end,I=y.name;if(this.inGenerator&&I==="yield"&&this.raiseRecoverable(S,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&I==="await"&&this.raiseRecoverable(S,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&I==="arguments"&&this.raiseRecoverable(S,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(I==="arguments"||I==="await")&&this.raise(S,"Cannot use "+I+" in class static initialization block"),this.keywords.test(I)&&this.raise(S,"Unexpected keyword '"+I+"'"),!(this.options.ecmaVersion<6&&this.input.slice(S,_).indexOf("\\")!==-1)){var z=this.strict?this.reservedWordsStrict:this.reservedWords;z.test(I)&&(!this.inAsync&&I==="await"&&this.raiseRecoverable(S,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(S,"The keyword '"+I+"' is reserved"))}},oe.parseIdent=function(y){var S=this.startNode();return this.type===v.name?S.name=this.value:this.type.keyword?(S.name=this.type.keyword,(S.name==="class"||S.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!y),this.finishNode(S,"Identifier"),y||(this.checkUnreserved(S),S.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=S.start)),S},oe.parsePrivateIdent=function(){var y=this.startNode();return this.type===v.privateId?y.name=this.value:this.unexpected(),this.next(),this.finishNode(y,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(y.start,"Private field '#"+y.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(y),y},oe.parseYield=function(y){this.yieldPos||(this.yieldPos=this.start);var S=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(S.delegate=!1,S.argument=null):(S.delegate=this.eat(v.star),S.argument=this.parseMaybeAssign(y)),this.finishNode(S,"YieldExpression")},oe.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var S=this.startNode();return this.next(),S.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(S,"AwaitExpression")};var Cn=br.prototype;Cn.raise=function(y,S){var _=Re(this.input,y);S+=" ("+_.line+":"+_.column+")";var I=new SyntaxError(S);throw I.pos=y,I.loc=_,I.raisedAt=this.pos,I},Cn.raiseRecoverable=Cn.raise,Cn.curPosition=function(){if(this.options.locations)return new Dt(this.curLine,this.pos-this.lineStart)};var il=br.prototype,dI=function(S){this.flags=S,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};il.enterScope=function(y){this.scopeStack.push(new dI(y))},il.exitScope=function(){this.scopeStack.pop()},il.treatFunctionsAsVarInScope=function(y){return y.flags&me||!this.inModule&&y.flags&Be},il.declareName=function(y,S,_){var I=!1;if(S===Si){var z=this.currentScope();I=z.lexical.indexOf(y)>-1||z.functions.indexOf(y)>-1||z.var.indexOf(y)>-1,z.lexical.push(y),this.inModule&&z.flags&Be&&delete this.undefinedExports[y]}else if(S===qs){var ye=this.currentScope();ye.lexical.push(y)}else if(S===Ps){var Se=this.currentScope();this.treatFunctionsAsVar?I=Se.lexical.indexOf(y)>-1:I=Se.lexical.indexOf(y)>-1||Se.var.indexOf(y)>-1,Se.functions.push(y)}else for(var Ge=this.scopeStack.length-1;Ge>=0;--Ge){var it=this.scopeStack[Ge];if(it.lexical.indexOf(y)>-1&&!(it.flags&be&&it.lexical[0]===y)||!this.treatFunctionsAsVarInScope(it)&&it.functions.indexOf(y)>-1){I=!0;break}if(it.var.push(y),this.inModule&&it.flags&Be&&delete this.undefinedExports[y],it.flags&ht)break}I&&this.raiseRecoverable(_,"Identifier '"+y+"' has already been declared")},il.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},il.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},il.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var S=this.scopeStack[y];if(S.flags&ht)return S}},il.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var S=this.scopeStack[y];if(S.flags&ht&&!(S.flags&Fe))return S}};var Hv=function(S,_,I){this.type="",this.start=_,this.end=0,S.options.locations&&(this.loc=new ce(S,I)),S.options.directSourceFile&&(this.sourceFile=S.options.directSourceFile),S.options.ranges&&(this.range=[_,0])},Yv=br.prototype;Yv.startNode=function(){return new Hv(this,this.start,this.startLoc)},Yv.startNodeAt=function(y,S){return new Hv(this,y,S)};function BX(y,S,_,I){return y.type=S,y.end=_,this.options.locations&&(y.loc.end=I),this.options.ranges&&(y.range[1]=_),y}Yv.finishNode=function(y,S){return BX.call(this,y,S,this.lastTokEnd,this.lastTokEndLoc)},Yv.finishNodeAt=function(y,S,_,I){return BX.call(this,y,S,_,I)},Yv.copyNode=function(y){var S=new Hv(this,y.start,this.startLoc);for(var _ in y)S[_]=y[_];return S};var MX="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",jX=MX+" Extended_Pictographic",VX=jX,UX=VX+" EBase EComp EMod EPres ExtPict",qX=UX,LNe=qX,FNe={9:MX,10:jX,11:VX,12:UX,13:qX,14:LNe},$X="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",KX="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",WX=KX+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",GX=WX+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",zX=GX+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",HX=zX+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",RNe=HX+" Kawi Nag_Mundari Nagm",BNe={9:KX,10:WX,11:GX,12:zX,13:HX,14:RNe},YX={};function MNe(y){var S=YX[y]={binary:ne(FNe[y]+" "+$X),nonBinary:{General_Category:ne($X),Script:ne(BNe[y])}};S.nonBinary.Script_Extensions=S.nonBinary.Script,S.nonBinary.gc=S.nonBinary.General_Category,S.nonBinary.sc=S.nonBinary.Script,S.nonBinary.scx=S.nonBinary.Script_Extensions}for(var hI=0,JX=[9,10,11,12,13,14];hI<JX.length;hI+=1){var jNe=JX[hI];MNe(jNe)}var jt=br.prototype,tp=function(S){this.parser=S,this.validFlags="gim"+(S.options.ecmaVersion>=6?"uy":"")+(S.options.ecmaVersion>=9?"s":"")+(S.options.ecmaVersion>=13?"d":""),this.unicodeProperties=YX[S.options.ecmaVersion>=14?14:S.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};tp.prototype.reset=function(S,_,I){var z=I.indexOf("u")!==-1;this.start=S|0,this.source=_+"",this.flags=I,this.switchU=z&&this.parser.options.ecmaVersion>=6,this.switchN=z&&this.parser.options.ecmaVersion>=9},tp.prototype.raise=function(S){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+S)},tp.prototype.at=function(S,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(S>=z)return-1;var ye=I.charCodeAt(S);if(!(_||this.switchU)||ye<=55295||ye>=57344||S+1>=z)return ye;var Se=I.charCodeAt(S+1);return Se>=56320&&Se<=57343?(ye<<10)+Se-56613888:ye},tp.prototype.nextIndex=function(S,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(S>=z)return z;var ye=I.charCodeAt(S),Se;return!(_||this.switchU)||ye<=55295||ye>=57344||S+1>=z||(Se=I.charCodeAt(S+1))<56320||Se>57343?S+1:S+2},tp.prototype.current=function(S){return S===void 0&&(S=!1),this.at(this.pos,S)},tp.prototype.lookahead=function(S){return S===void 0&&(S=!1),this.at(this.nextIndex(this.pos,S),S)},tp.prototype.advance=function(S){S===void 0&&(S=!1),this.pos=this.nextIndex(this.pos,S)},tp.prototype.eat=function(S,_){return _===void 0&&(_=!1),this.current(_)===S?(this.advance(_),!0):!1},jt.validateRegExpFlags=function(y){for(var S=y.validFlags,_=y.flags,I=0;I<_.length;I++){var z=_.charAt(I);S.indexOf(z)===-1&&this.raise(y.start,"Invalid regular expression flag"),_.indexOf(z,I+1)>-1&&this.raise(y.start,"Duplicate regular expression flag")}},jt.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&y.groupNames.length>0&&(y.switchN=!0,this.regexp_pattern(y))},jt.regexp_pattern=function(y){y.pos=0,y.lastIntValue=0,y.lastStringValue="",y.lastAssertionIsQuantifiable=!1,y.numCapturingParens=0,y.maxBackReference=0,y.groupNames.length=0,y.backReferenceNames.length=0,this.regexp_disjunction(y),y.pos!==y.source.length&&(y.eat(41)&&y.raise("Unmatched ')'"),(y.eat(93)||y.eat(125))&&y.raise("Lone quantifier brackets")),y.maxBackReference>y.numCapturingParens&&y.raise("Invalid escape");for(var S=0,_=y.backReferenceNames;S<_.length;S+=1){var I=_[S];y.groupNames.indexOf(I)===-1&&y.raise("Invalid named capture referenced")}},jt.regexp_disjunction=function(y){for(this.regexp_alternative(y);y.eat(124);)this.regexp_alternative(y);this.regexp_eatQuantifier(y,!0)&&y.raise("Nothing to repeat"),y.eat(123)&&y.raise("Lone quantifier brackets")},jt.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},jt.regexp_eatTerm=function(y){return this.regexp_eatAssertion(y)?(y.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(y)&&y.switchU&&y.raise("Invalid quantifier"),!0):(y.switchU?this.regexp_eatAtom(y):this.regexp_eatExtendedAtom(y))?(this.regexp_eatQuantifier(y),!0):!1},jt.regexp_eatAssertion=function(y){var S=y.pos;if(y.lastAssertionIsQuantifiable=!1,y.eat(94)||y.eat(36))return!0;if(y.eat(92)){if(y.eat(66)||y.eat(98))return!0;y.pos=S}if(y.eat(40)&&y.eat(63)){var _=!1;if(this.options.ecmaVersion>=9&&(_=y.eat(60)),y.eat(61)||y.eat(33))return this.regexp_disjunction(y),y.eat(41)||y.raise("Unterminated group"),y.lastAssertionIsQuantifiable=!_,!0}return y.pos=S,!1},jt.regexp_eatQuantifier=function(y,S){return S===void 0&&(S=!1),this.regexp_eatQuantifierPrefix(y,S)?(y.eat(63),!0):!1},jt.regexp_eatQuantifierPrefix=function(y,S){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,S)},jt.regexp_eatBracedQuantifier=function(y,S){var _=y.pos;if(y.eat(123)){var I=0,z=-1;if(this.regexp_eatDecimalDigits(y)&&(I=y.lastIntValue,y.eat(44)&&this.regexp_eatDecimalDigits(y)&&(z=y.lastIntValue),y.eat(125)))return z!==-1&&z<I&&!S&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!S&&y.raise("Incomplete quantifier"),y.pos=_}return!1},jt.regexp_eatAtom=function(y){return this.regexp_eatPatternCharacters(y)||y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)},jt.regexp_eatReverseSolidusAtomEscape=function(y){var S=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=S}return!1},jt.regexp_eatUncapturingGroup=function(y){var S=y.pos;if(y.eat(40)){if(y.eat(63)&&y.eat(58)){if(this.regexp_disjunction(y),y.eat(41))return!0;y.raise("Unterminated group")}y.pos=S}return!1},jt.regexp_eatCapturingGroup=function(y){if(y.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(y):y.current()===63&&y.raise("Invalid group"),this.regexp_disjunction(y),y.eat(41))return y.numCapturingParens+=1,!0;y.raise("Unterminated group")}return!1},jt.regexp_eatExtendedAtom=function(y){return y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)||this.regexp_eatInvalidBracedQuantifier(y)||this.regexp_eatExtendedPatternCharacter(y)},jt.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},jt.regexp_eatSyntaxCharacter=function(y){var S=y.current();return XX(S)?(y.lastIntValue=S,y.advance(),!0):!1};function XX(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}jt.regexp_eatPatternCharacters=function(y){for(var S=y.pos,_=0;(_=y.current())!==-1&&!XX(_);)y.advance();return y.pos!==S},jt.regexp_eatExtendedPatternCharacter=function(y){var S=y.current();return S!==-1&&S!==36&&!(S>=40&&S<=43)&&S!==46&&S!==63&&S!==91&&S!==94&&S!==124?(y.advance(),!0):!1},jt.regexp_groupSpecifier=function(y){if(y.eat(63)){if(this.regexp_eatGroupName(y)){y.groupNames.indexOf(y.lastStringValue)!==-1&&y.raise("Duplicate capture group name"),y.groupNames.push(y.lastStringValue);return}y.raise("Invalid group")}},jt.regexp_eatGroupName=function(y){if(y.lastStringValue="",y.eat(60)){if(this.regexp_eatRegExpIdentifierName(y)&&y.eat(62))return!0;y.raise("Invalid capture group name")}return!1},jt.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=Ce(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=Ce(y.lastIntValue);return!0}return!1},jt.regexp_eatRegExpIdentifierStart=function(y){var S=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),VNe(I)?(y.lastIntValue=I,!0):(y.pos=S,!1)};function VNe(y){return d(y,!0)||y===36||y===95}jt.regexp_eatRegExpIdentifierPart=function(y){var S=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),UNe(I)?(y.lastIntValue=I,!0):(y.pos=S,!1)};function UNe(y){return f(y,!0)||y===36||y===95||y===8204||y===8205}jt.regexp_eatAtomEscape=function(y){return this.regexp_eatBackReference(y)||this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)||y.switchN&&this.regexp_eatKGroupName(y)?!0:(y.switchU&&(y.current()===99&&y.raise("Invalid unicode escape"),y.raise("Invalid escape")),!1)},jt.regexp_eatBackReference=function(y){var S=y.pos;if(this.regexp_eatDecimalEscape(y)){var _=y.lastIntValue;if(y.switchU)return _>y.maxBackReference&&(y.maxBackReference=_),!0;if(_<=y.numCapturingParens)return!0;y.pos=S}return!1},jt.regexp_eatKGroupName=function(y){if(y.eat(107)){if(this.regexp_eatGroupName(y))return y.backReferenceNames.push(y.lastStringValue),!0;y.raise("Invalid named reference")}return!1},jt.regexp_eatCharacterEscape=function(y){return this.regexp_eatControlEscape(y)||this.regexp_eatCControlLetter(y)||this.regexp_eatZero(y)||this.regexp_eatHexEscapeSequence(y)||this.regexp_eatRegExpUnicodeEscapeSequence(y,!1)||!y.switchU&&this.regexp_eatLegacyOctalEscapeSequence(y)||this.regexp_eatIdentityEscape(y)},jt.regexp_eatCControlLetter=function(y){var S=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=S}return!1},jt.regexp_eatZero=function(y){return y.current()===48&&!Yw(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},jt.regexp_eatControlEscape=function(y){var S=y.current();return S===116?(y.lastIntValue=9,y.advance(),!0):S===110?(y.lastIntValue=10,y.advance(),!0):S===118?(y.lastIntValue=11,y.advance(),!0):S===102?(y.lastIntValue=12,y.advance(),!0):S===114?(y.lastIntValue=13,y.advance(),!0):!1},jt.regexp_eatControlLetter=function(y){var S=y.current();return QX(S)?(y.lastIntValue=S%32,y.advance(),!0):!1};function QX(y){return y>=65&&y<=90||y>=97&&y<=122}jt.regexp_eatRegExpUnicodeEscapeSequence=function(y,S){S===void 0&&(S=!1);var _=y.pos,I=S||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var z=y.lastIntValue;if(I&&z>=55296&&z<=56319){var ye=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var Se=y.lastIntValue;if(Se>=56320&&Se<=57343)return y.lastIntValue=(z-55296)*1024+(Se-56320)+65536,!0}y.pos=ye,y.lastIntValue=z}return!0}if(I&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&qNe(y.lastIntValue))return!0;I&&y.raise("Invalid unicode escape"),y.pos=_}return!1};function qNe(y){return y>=0&&y<=1114111}jt.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var S=y.current();return S!==99&&(!y.switchN||S!==107)?(y.lastIntValue=S,y.advance(),!0):!1},jt.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var S=y.current();if(S>=49&&S<=57){do y.lastIntValue=10*y.lastIntValue+(S-48),y.advance();while((S=y.current())>=48&&S<=57);return!0}return!1},jt.regexp_eatCharacterClassEscape=function(y){var S=y.current();if($Ne(S))return y.lastIntValue=-1,y.advance(),!0;if(y.switchU&&this.options.ecmaVersion>=9&&(S===80||S===112)){if(y.lastIntValue=-1,y.advance(),y.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(y)&&y.eat(125))return!0;y.raise("Invalid property name")}return!1};function $Ne(y){return y===100||y===68||y===115||y===83||y===119||y===87}jt.regexp_eatUnicodePropertyValueExpression=function(y){var S=y.pos;if(this.regexp_eatUnicodePropertyName(y)&&y.eat(61)){var _=y.lastStringValue;if(this.regexp_eatUnicodePropertyValue(y)){var I=y.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(y,_,I),!0}}if(y.pos=S,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var z=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,z),!0}return!1},jt.regexp_validateUnicodePropertyNameAndValue=function(y,S,_){Ke(y.unicodeProperties.nonBinary,S)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[S].test(_)||y.raise("Invalid property value")},jt.regexp_validateUnicodePropertyNameOrValue=function(y,S){y.unicodeProperties.binary.test(S)||y.raise("Invalid property name")},jt.regexp_eatUnicodePropertyName=function(y){var S=0;for(y.lastStringValue="";ZX(S=y.current());)y.lastStringValue+=Ce(S),y.advance();return y.lastStringValue!==""};function ZX(y){return QX(y)||y===95}jt.regexp_eatUnicodePropertyValue=function(y){var S=0;for(y.lastStringValue="";KNe(S=y.current());)y.lastStringValue+=Ce(S),y.advance();return y.lastStringValue!==""};function KNe(y){return ZX(y)||Yw(y)}jt.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},jt.regexp_eatCharacterClass=function(y){if(y.eat(91)){if(y.eat(94),this.regexp_classRanges(y),y.eat(93))return!0;y.raise("Unterminated character class")}return!1},jt.regexp_classRanges=function(y){for(;this.regexp_eatClassAtom(y);){var S=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var _=y.lastIntValue;y.switchU&&(S===-1||_===-1)&&y.raise("Invalid character class"),S!==-1&&_!==-1&&S>_&&y.raise("Range out of order in character class")}}},jt.regexp_eatClassAtom=function(y){var S=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var _=y.current();(_===99||rQ(_))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=S}var I=y.current();return I!==93?(y.lastIntValue=I,y.advance(),!0):!1},jt.regexp_eatClassEscape=function(y){var S=y.pos;if(y.eat(98))return y.lastIntValue=8,!0;if(y.switchU&&y.eat(45))return y.lastIntValue=45,!0;if(!y.switchU&&y.eat(99)){if(this.regexp_eatClassControlLetter(y))return!0;y.pos=S}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},jt.regexp_eatClassControlLetter=function(y){var S=y.current();return Yw(S)||S===95?(y.lastIntValue=S%32,y.advance(),!0):!1},jt.regexp_eatHexEscapeSequence=function(y){var S=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=S}return!1},jt.regexp_eatDecimalDigits=function(y){var S=y.pos,_=0;for(y.lastIntValue=0;Yw(_=y.current());)y.lastIntValue=10*y.lastIntValue+(_-48),y.advance();return y.pos!==S};function Yw(y){return y>=48&&y<=57}jt.regexp_eatHexDigits=function(y){var S=y.pos,_=0;for(y.lastIntValue=0;eQ(_=y.current());)y.lastIntValue=16*y.lastIntValue+tQ(_),y.advance();return y.pos!==S};function eQ(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function tQ(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}jt.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var S=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var _=y.lastIntValue;S<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=S*64+_*8+y.lastIntValue:y.lastIntValue=S*8+_}else y.lastIntValue=S;return!0}return!1},jt.regexp_eatOctalDigit=function(y){var S=y.current();return rQ(S)?(y.lastIntValue=S-48,y.advance(),!0):(y.lastIntValue=0,!1)};function rQ(y){return y>=48&&y<=55}jt.regexp_eatFixedHexDigits=function(y,S){var _=y.pos;y.lastIntValue=0;for(var I=0;I<S;++I){var z=y.current();if(!eQ(z))return y.pos=_,!1;y.lastIntValue=16*y.lastIntValue+tQ(z),y.advance()}return!0};var Jw=function(S){this.type=S.type,this.value=S.value,this.start=S.start,this.end=S.end,S.options.locations&&(this.loc=new ce(S,S.startLoc,S.endLoc)),S.options.ranges&&(this.range=[S.start,S.end])},Vr=br.prototype;Vr.next=function(y){!y&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Jw(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Vr.getToken=function(){return this.next(),new Jw(this)},typeof Symbol<"u"&&(Vr[Symbol.iterator]=function(){var y=this;return{next:function(){var S=y.getToken();return{done:S.type===v.eof,value:S}}}}),Vr.nextToken=function(){var y=this.curContext();if((!y||!y.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(v.eof);if(y.override)return y.override(this);this.readToken(this.fullCharCodeAtPos())},Vr.readToken=function(y){return d(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},Vr.fullCharCodeAtPos=function(){var y=this.input.charCodeAt(this.pos);if(y<=55295||y>=56320)return y;var S=this.input.charCodeAt(this.pos+1);return S<=56319||S>=57344?y:(y<<10)+S-56613888},Vr.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),S=this.pos,_=this.input.indexOf("*/",this.pos+=2);if(_===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=_+2,this.options.locations)for(var I=void 0,z=S;(I=K(this.input,z,this.pos))>-1;)++this.curLine,z=this.lineStart=I;this.options.onComment&&this.options.onComment(!0,this.input.slice(S+2,_),S,this.pos,y,this.curPosition())},Vr.skipLineComment=function(y){for(var S=this.pos,_=this.options.onComment&&this.curPosition(),I=this.input.charCodeAt(this.pos+=y);this.pos<this.input.length&&!C(I);)I=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(S+y,this.pos),S,this.pos,_,this.curPosition())},Vr.skipSpace=function(){e:for(;this.pos<this.input.length;){var y=this.input.charCodeAt(this.pos);switch(y){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(y>8&&y<14||y>=5760&&F.test(String.fromCharCode(y)))++this.pos;else break e}}},Vr.finishToken=function(y,S){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var _=this.type;this.type=y,this.value=S,this.updateContext(_)},Vr.readToken_dot=function(){var y=this.input.charCodeAt(this.pos+1);if(y>=48&&y<=57)return this.readNumber(!0);var S=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&S===46?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot))},Vr.readToken_slash=function(){var y=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):y===61?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},Vr.readToken_mult_modulo_exp=function(y){var S=this.input.charCodeAt(this.pos+1),_=1,I=y===42?v.star:v.modulo;return this.options.ecmaVersion>=7&&y===42&&S===42&&(++_,I=v.starstar,S=this.input.charCodeAt(this.pos+2)),S===61?this.finishOp(v.assign,_+1):this.finishOp(I,_)},Vr.readToken_pipe_amp=function(y){var S=this.input.charCodeAt(this.pos+1);if(S===y){if(this.options.ecmaVersion>=12){var _=this.input.charCodeAt(this.pos+2);if(_===61)return this.finishOp(v.assign,3)}return this.finishOp(y===124?v.logicalOR:v.logicalAND,2)}return S===61?this.finishOp(v.assign,2):this.finishOp(y===124?v.bitwiseOR:v.bitwiseAND,1)},Vr.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},Vr.readToken_plus_min=function(y){var S=this.input.charCodeAt(this.pos+1);return S===y?S===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||w.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(v.incDec,2):S===61?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},Vr.readToken_lt_gt=function(y){var S=this.input.charCodeAt(this.pos+1),_=1;return S===y?(_=y===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+_)===61?this.finishOp(v.assign,_+1):this.finishOp(v.bitShift,_)):S===33&&y===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(S===61&&(_=2),this.finishOp(v.relational,_))},Vr.readToken_eq_excl=function(y){var S=this.input.charCodeAt(this.pos+1);return S===61?this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&S===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(y===61?v.eq:v.prefix,1)},Vr.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var S=this.input.charCodeAt(this.pos+1);if(S===46){var _=this.input.charCodeAt(this.pos+2);if(_<48||_>57)return this.finishOp(v.questionDot,2)}if(S===63){if(y>=12){var I=this.input.charCodeAt(this.pos+2);if(I===61)return this.finishOp(v.assign,3)}return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},Vr.readToken_numberSign=function(){var y=this.options.ecmaVersion,S=35;if(y>=13&&(++this.pos,S=this.fullCharCodeAtPos(),d(S,!0)||S===92))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ce(S)+"'")},Vr.getTokenFromCode=function(y){switch(y){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.backQuote);case 48:var S=this.input.charCodeAt(this.pos+1);if(S===120||S===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(S===111||S===79)return this.readRadixNumber(8);if(S===98||S===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(y);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(y);case 124:case 38:return this.readToken_pipe_amp(y);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(y);case 60:case 62:return this.readToken_lt_gt(y);case 61:case 33:return this.readToken_eq_excl(y);case 63:return this.readToken_question();case 126:return this.finishOp(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Ce(y)+"'")},Vr.finishOp=function(y,S){var _=this.input.slice(this.pos,this.pos+S);return this.pos+=S,this.finishToken(y,_)},Vr.readRegexp=function(){for(var y,S,_=this.pos;;){this.pos>=this.input.length&&this.raise(_,"Unterminated regular expression");var I=this.input.charAt(this.pos);if(w.test(I)&&this.raise(_,"Unterminated regular expression"),y)y=!1;else{if(I==="[")S=!0;else if(I==="]"&&S)S=!1;else if(I==="/"&&!S)break;y=I==="\\"}++this.pos}var z=this.input.slice(_,this.pos);++this.pos;var ye=this.pos,Se=this.readWord1();this.containsEsc&&this.unexpected(ye);var Ge=this.regexpState||(this.regexpState=new tp(this));Ge.reset(_,z,Se),this.validateRegExpFlags(Ge),this.validateRegExpPattern(Ge);var it=null;try{it=new RegExp(z,Se)}catch{}return this.finishToken(v.regexp,{pattern:z,flags:Se,value:it})},Vr.readInt=function(y,S,_){for(var I=this.options.ecmaVersion>=12&&S===void 0,z=_&&this.input.charCodeAt(this.pos)===48,ye=this.pos,Se=0,Ge=0,it=0,dr=S==null?1/0:S;it<dr;++it,++this.pos){var Lr=this.input.charCodeAt(this.pos),ea=void 0;if(I&&Lr===95){z&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Ge===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),it===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ge=Lr;continue}if(Lr>=97?ea=Lr-97+10:Lr>=65?ea=Lr-65+10:Lr>=48&&Lr<=57?ea=Lr-48:ea=1/0,ea>=y)break;Ge=Lr,Se=Se*y+ea}return I&&Ge===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===ye||S!=null&&this.pos-ye!==S?null:Se};function WNe(y,S){return S?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function iQ(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}Vr.readRadixNumber=function(y){var S=this.pos;this.pos+=2;var _=this.readInt(y);return _==null&&this.raise(this.start+2,"Expected number in radix "+y),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(_=iQ(this.input.slice(S,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,_)},Vr.readNumber=function(y){var S=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(S,"Invalid number");var _=this.pos-S>=2&&this.input.charCodeAt(S)===48;_&&this.strict&&this.raise(S,"Invalid number");var I=this.input.charCodeAt(this.pos);if(!_&&!y&&this.options.ecmaVersion>=11&&I===110){var z=iQ(this.input.slice(S,this.pos));return++this.pos,d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,z)}_&&/[89]/.test(this.input.slice(S,this.pos))&&(_=!1),I===46&&!_&&(++this.pos,this.readInt(10),I=this.input.charCodeAt(this.pos)),(I===69||I===101)&&!_&&(I=this.input.charCodeAt(++this.pos),(I===43||I===45)&&++this.pos,this.readInt(10)===null&&this.raise(S,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var ye=WNe(this.input.slice(S,this.pos),_);return this.finishToken(v.num,ye)},Vr.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),S;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var _=++this.pos;S=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,S>1114111&&this.invalidStringToken(_,"Code point out of bounds")}else S=this.readHexChar(4);return S},Vr.readString=function(y){for(var S="",_=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var I=this.input.charCodeAt(this.pos);if(I===y)break;I===92?(S+=this.input.slice(_,this.pos),S+=this.readEscapedChar(!1),_=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)):(C(I)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return S+=this.input.slice(_,this.pos++),this.finishToken(v.string,S)};var sQ={};Vr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===sQ)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},Vr.invalidStringToken=function(y,S){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw sQ;this.raise(y,S)},Vr.readTmplToken=function(){for(var y="",S=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var _=this.input.charCodeAt(this.pos);if(_===96||_===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===v.template||this.type===v.invalidTemplate)?_===36?(this.pos+=2,this.finishToken(v.dollarBraceL)):(++this.pos,this.finishToken(v.backQuote)):(y+=this.input.slice(S,this.pos),this.finishToken(v.template,y));if(_===92)y+=this.input.slice(S,this.pos),y+=this.readEscapedChar(!0),S=this.pos;else if(C(_)){switch(y+=this.input.slice(S,this.pos),++this.pos,_){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:y+=`
|
|
111
|
+
Defaulting to 2020, but this will stop working in the future.`)),S.ecmaVersion=11):S.ecmaVersion>=2015&&(S.ecmaVersion-=2009),S.allowReserved==null&&(S.allowReserved=S.ecmaVersion<5),(!y||y.allowHashBang==null)&&(S.allowHashBang=S.ecmaVersion>=14),ae(S.onToken)){var I=S.onToken;S.onToken=function(z){return I.push(z)}}return ae(S.onComment)&&(S.onComment=we(S,S.onComment)),S}function we(y,S){return function(_,I,z,ye,Se,Ge){var it={type:_?"Block":"Line",value:I,start:z,end:ye};y.locations&&(it.loc=new ce(this,Se,Ge)),y.ranges&&(it.range=[z,ye]),S.push(it)}}var Be=1,me=2,pe=4,le=8,Fe=16,ve=32,_e=64,Ze=128,Ct=256,ht=Be|me|Ct;function nr(y,S){return me|(y?pe:0)|(S?le:0)}var Mr=0,jr=1,Si=2,Ps=3,qs=4,$n=5,br=function(S,_,I){this.options=S=xe(S),this.sourceFile=S.sourceFile,this.keywords=ne(o[S.ecmaVersion>=6?6:S.sourceType==="module"?"5module":5]);var z="";S.allowReserved!==!0&&(z=n[S.ecmaVersion>=6?6:S.ecmaVersion===5?5:3],S.sourceType==="module"&&(z+=" await")),this.reservedWords=ne(z);var ye=(z?z+" ":"")+n.strict;this.reservedWordsStrict=ne(ye),this.reservedWordsStrictBind=ne(ye+" "+n.strictBind),this.input=String(_),this.containsEsc=!1,I?(this.pos=I,this.lineStart=this.input.lastIndexOf(`
|
|
112
|
+
`,I-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=v.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=S.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&&S.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Be),this.regexpState=null,this.privateNameStack=[]},_s={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}};br.prototype.parse=function(){var S=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(S)},_s.inFunction.get=function(){return(this.currentVarScope().flags&me)>0},_s.inGenerator.get=function(){return(this.currentVarScope().flags&le)>0&&!this.currentVarScope().inClassFieldInit},_s.inAsync.get=function(){return(this.currentVarScope().flags&pe)>0&&!this.currentVarScope().inClassFieldInit},_s.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var S=this.scopeStack[y];if(S.inClassFieldInit||S.flags&Ct)return!1;if(S.flags&me)return(S.flags&pe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},_s.allowSuper.get=function(){var y=this.currentThisScope(),S=y.flags,_=y.inClassFieldInit;return(S&_e)>0||_||this.options.allowSuperOutsideMethod},_s.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ze)>0},_s.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},_s.allowNewDotTarget.get=function(){var y=this.currentThisScope(),S=y.flags,_=y.inClassFieldInit;return(S&(me|Ct))>0||_},_s.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Ct)>0},br.extend=function(){for(var S=[],_=arguments.length;_--;)S[_]=arguments[_];for(var I=this,z=0;z<S.length;z++)I=S[z](I);return I},br.parse=function(S,_){return new this(_,S).parse()},br.parseExpressionAt=function(S,_,I){var z=new this(I,S,_);return z.nextToken(),z.parseExpression()},br.tokenizer=function(S,_){return new this(_,S)},Object.defineProperties(br.prototype,_s);var Cs=br.prototype,im=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;Cs.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=y,y+=Q.exec(this.input)[0].length;var S=im.exec(this.input.slice(y));if(!S)return!1;if((S[1]||S[2])==="use strict"){Q.lastIndex=y+S[0].length;var _=Q.exec(this.input),I=_.index+_[0].length,z=this.input.charAt(I);return z===";"||z==="}"||w.test(_[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(z)||z==="!"&&this.input.charAt(I+1)==="=")}y+=S[0].length,Q.lastIndex=y,y+=Q.exec(this.input)[0].length,this.input[y]===";"&&y++}},Cs.eat=function(y){return this.type===y?(this.next(),!0):!1},Cs.isContextual=function(y){return this.type===v.name&&this.value===y&&!this.containsEsc},Cs.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},Cs.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},Cs.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},Cs.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Cs.semicolon=function(){!this.eat(v.semi)&&!this.insertSemicolon()&&this.unexpected()},Cs.afterTrailingComma=function(y,S){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),S||this.next(),!0},Cs.expect=function(y){this.eat(y)||this.unexpected()},Cs.unexpected=function(y){this.raise(y!=null?y:this.start,"Unexpected token")};var Zl=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Cs.checkPatternErrors=function(y,S){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var _=S?y.parenthesizedAssign:y.parenthesizedBind;_>-1&&this.raiseRecoverable(_,S?"Assigning to rvalue":"Parenthesized pattern")}},Cs.checkExpressionErrors=function(y,S){if(!y)return!1;var _=y.shorthandAssign,I=y.doubleProto;if(!S)return _>=0||I>=0;_>=0&&this.raise(_,"Shorthand property assignments are valid only in destructuring patterns"),I>=0&&this.raiseRecoverable(I,"Redefinition of __proto__ property")},Cs.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")},Cs.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var Lt=br.prototype;Lt.parseTopLevel=function(y){var S=Object.create(null);for(y.body||(y.body=[]);this.type!==v.eof;){var _=this.parseStatement(null,!0,S);y.body.push(_)}if(this.inModule)for(var I=0,z=Object.keys(this.undefinedExports);I<z.length;I+=1){var ye=z[I];this.raiseRecoverable(this.undefinedExports[ye].start,"Export '"+ye+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Zn={kind:"loop"},Kt={kind:"switch"};Lt.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var S=Q.exec(this.input),_=this.pos+S[0].length,I=this.input.charCodeAt(_);if(I===91||I===92)return!0;if(y)return!1;if(I===123||I>55295&&I<56320)return!0;if(d(I,!0)){for(var z=_+1;f(I=this.input.charCodeAt(z),!0);)++z;if(I===92||I>55295&&I<56320)return!0;var ye=this.input.slice(_,z);if(!l.test(ye))return!0}return!1},Lt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var y=Q.exec(this.input),S=this.pos+y[0].length,_;return!w.test(this.input.slice(this.pos,S))&&this.input.slice(S,S+8)==="function"&&(S+8===this.input.length||!(f(_=this.input.charCodeAt(S+8))||_>55295&&_<56320))},Lt.parseStatement=function(y,S,_){var I=this.type,z=this.startNode(),ye;switch(this.isLet(y)&&(I=v._var,ye="let"),I){case v._break:case v._continue:return this.parseBreakContinueStatement(z,I.keyword);case v._debugger:return this.parseDebuggerStatement(z);case v._do:return this.parseDoStatement(z);case v._for:return this.parseForStatement(z);case v._function:return y&&(this.strict||y!=="if"&&y!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(z,!1,!y);case v._class:return y&&this.unexpected(),this.parseClass(z,!0);case v._if:return this.parseIfStatement(z);case v._return:return this.parseReturnStatement(z);case v._switch:return this.parseSwitchStatement(z);case v._throw:return this.parseThrowStatement(z);case v._try:return this.parseTryStatement(z);case v._const:case v._var:return ye=ye||this.value,y&&ye!=="var"&&this.unexpected(),this.parseVarStatement(z,ye);case v._while:return this.parseWhileStatement(z);case v._with:return this.parseWithStatement(z);case v.braceL:return this.parseBlock(!0,z);case v.semi:return this.parseEmptyStatement(z);case v._export:case v._import:if(this.options.ecmaVersion>10&&I===v._import){Q.lastIndex=this.pos;var Se=Q.exec(this.input),Ge=this.pos+Se[0].length,it=this.input.charCodeAt(Ge);if(it===40||it===46)return this.parseExpressionStatement(z,this.parseExpression())}return this.options.allowImportExportEverywhere||(S||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===v._import?this.parseImport(z):this.parseExport(z,_);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(z,!0,!y);var dr=this.value,Lr=this.parseExpression();return I===v.name&&Lr.type==="Identifier"&&this.eat(v.colon)?this.parseLabeledStatement(z,dr,Lr,y):this.parseExpressionStatement(z,Lr)}},Lt.parseBreakContinueStatement=function(y,S){var _=S==="break";this.next(),this.eat(v.semi)||this.insertSemicolon()?y.label=null:this.type!==v.name?this.unexpected():(y.label=this.parseIdent(),this.semicolon());for(var I=0;I<this.labels.length;++I){var z=this.labels[I];if((y.label==null||z.name===y.label.name)&&(z.kind!=null&&(_||z.kind==="loop")||y.label&&_))break}return I===this.labels.length&&this.raise(y.start,"Unsyntactic "+S),this.finishNode(y,_?"BreakStatement":"ContinueStatement")},Lt.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},Lt.parseDoStatement=function(y){return this.next(),this.labels.push(Zn),y.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),y.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(v.semi):this.semicolon(),this.finishNode(y,"DoWhileStatement")},Lt.parseForStatement=function(y){this.next();var S=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Zn),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return S>-1&&this.unexpected(S),this.parseFor(y,null);var _=this.isLet();if(this.type===v._var||this.type===v._const||_){var I=this.startNode(),z=_?"let":this.value;return this.next(),this.parseVar(I,!0,z),this.finishNode(I,"VariableDeclaration"),(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&I.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===v._in?S>-1&&this.unexpected(S):y.await=S>-1),this.parseForIn(y,I)):(S>-1&&this.unexpected(S),this.parseFor(y,I))}var ye=this.isContextual("let"),Se=!1,Ge=new Zl,it=this.parseExpression(S>-1?"await":!0,Ge);return this.type===v._in||(Se=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===v._in?S>-1&&this.unexpected(S):y.await=S>-1),ye&&Se&&this.raise(it.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(it,!1,Ge),this.checkLValPattern(it),this.parseForIn(y,it)):(this.checkExpressionErrors(Ge,!0),S>-1&&this.unexpected(S),this.parseFor(y,it))},Lt.parseFunctionStatement=function(y,S,_){return this.next(),this.parseFunction(y,$s|(_?0:_n),!1,S)},Lt.parseIfStatement=function(y){return this.next(),y.test=this.parseParenExpression(),y.consequent=this.parseStatement("if"),y.alternate=this.eat(v._else)?this.parseStatement("if"):null,this.finishNode(y,"IfStatement")},Lt.parseReturnStatement=function(y){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(v.semi)||this.insertSemicolon()?y.argument=null:(y.argument=this.parseExpression(),this.semicolon()),this.finishNode(y,"ReturnStatement")},Lt.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(v.braceL),this.labels.push(Kt),this.enterScope(0);for(var S,_=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var I=this.type===v._case;S&&this.finishNode(S,"SwitchCase"),y.cases.push(S=this.startNode()),S.consequent=[],this.next(),I?S.test=this.parseExpression():(_&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),_=!0,S.test=null),this.expect(v.colon)}else S||this.unexpected(),S.consequent.push(this.parseStatement(null));return this.exitScope(),S&&this.finishNode(S,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},Lt.parseThrowStatement=function(y){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),y.argument=this.parseExpression(),this.semicolon(),this.finishNode(y,"ThrowStatement")};var kr=[];Lt.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===v._catch){var S=this.startNode();if(this.next(),this.eat(v.parenL)){S.param=this.parseBindingAtom();var _=S.param.type==="Identifier";this.enterScope(_?ve:0),this.checkLValPattern(S.param,_?qs:Si),this.expect(v.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),S.param=null,this.enterScope(0);S.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(S,"CatchClause")}return y.finalizer=this.eat(v._finally)?this.parseBlock():null,!y.handler&&!y.finalizer&&this.raise(y.start,"Missing catch or finally clause"),this.finishNode(y,"TryStatement")},Lt.parseVarStatement=function(y,S){return this.next(),this.parseVar(y,!1,S),this.semicolon(),this.finishNode(y,"VariableDeclaration")},Lt.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Zn),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},Lt.parseWithStatement=function(y){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),y.object=this.parseParenExpression(),y.body=this.parseStatement("with"),this.finishNode(y,"WithStatement")},Lt.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},Lt.parseLabeledStatement=function(y,S,_,I){for(var z=0,ye=this.labels;z<ye.length;z+=1){var Se=ye[z];Se.name===S&&this.raise(_.start,"Label '"+S+"' is already declared")}for(var Ge=this.type.isLoop?"loop":this.type===v._switch?"switch":null,it=this.labels.length-1;it>=0;it--){var dr=this.labels[it];if(dr.statementStart===y.start)dr.statementStart=this.start,dr.kind=Ge;else break}return this.labels.push({name:S,kind:Ge,statementStart:this.start}),y.body=this.parseStatement(I?I.indexOf("label")===-1?I+"label":I:"label"),this.labels.pop(),y.label=_,this.finishNode(y,"LabeledStatement")},Lt.parseExpressionStatement=function(y,S){return y.expression=S,this.semicolon(),this.finishNode(y,"ExpressionStatement")},Lt.parseBlock=function(y,S,_){for(y===void 0&&(y=!0),S===void 0&&(S=this.startNode()),S.body=[],this.expect(v.braceL),y&&this.enterScope(0);this.type!==v.braceR;){var I=this.parseStatement(null);S.body.push(I)}return _&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(S,"BlockStatement")},Lt.parseFor=function(y,S){return y.init=S,this.expect(v.semi),y.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),y.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,"ForStatement")},Lt.parseForIn=function(y,S){var _=this.type===v._in;return this.next(),S.type==="VariableDeclaration"&&S.declarations[0].init!=null&&(!_||this.options.ecmaVersion<8||this.strict||S.kind!=="var"||S.declarations[0].id.type!=="Identifier")&&this.raise(S.start,(_?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=S,y.right=_?this.parseExpression():this.parseMaybeAssign(),this.expect(v.parenR),y.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(y,_?"ForInStatement":"ForOfStatement")},Lt.parseVar=function(y,S,_){for(y.declarations=[],y.kind=_;;){var I=this.startNode();if(this.parseVarId(I,_),this.eat(v.eq)?I.init=this.parseMaybeAssign(S):_==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():I.id.type!=="Identifier"&&!(S&&(this.type===v._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):I.init=null,y.declarations.push(this.finishNode(I,"VariableDeclarator")),!this.eat(v.comma))break}return y},Lt.parseVarId=function(y,S){y.id=this.parseBindingAtom(),this.checkLValPattern(y.id,S==="var"?jr:Si,!1)};var $s=1,_n=2,Hf=4;Lt.parseFunction=function(y,S,_,I,z){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!I)&&(this.type===v.star&&S&_n&&this.unexpected(),y.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(y.async=!!I),S&$s&&(y.id=S&Hf&&this.type!==v.name?null:this.parseIdent(),y.id&&!(S&_n)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?jr:Si:Ps));var ye=this.yieldPos,Se=this.awaitPos,Ge=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nr(y.async,y.generator)),S&$s||(y.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,_,!1,z),this.yieldPos=ye,this.awaitPos=Se,this.awaitIdentPos=Ge,this.finishNode(y,S&$s?"FunctionDeclaration":"FunctionExpression")},Lt.parseFunctionParams=function(y){this.expect(v.parenL),y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Lt.parseClass=function(y,S){this.next();var _=this.strict;this.strict=!0,this.parseClassId(y,S),this.parseClassSuper(y);var I=this.enterClassBody(),z=this.startNode(),ye=!1;for(z.body=[],this.expect(v.braceL);this.type!==v.braceR;){var Se=this.parseClassElement(y.superClass!==null);Se&&(z.body.push(Se),Se.type==="MethodDefinition"&&Se.kind==="constructor"?(ye&&this.raise(Se.start,"Duplicate constructor in the same class"),ye=!0):Se.key&&Se.key.type==="PrivateIdentifier"&&fI(I,Se)&&this.raiseRecoverable(Se.key.start,"Identifier '#"+Se.key.name+"' has already been declared"))}return this.strict=_,this.next(),y.body=this.finishNode(z,"ClassBody"),this.exitClassBody(),this.finishNode(y,S?"ClassDeclaration":"ClassExpression")},Lt.parseClassElement=function(y){if(this.eat(v.semi))return null;var S=this.options.ecmaVersion,_=this.startNode(),I="",z=!1,ye=!1,Se="method",Ge=!1;if(this.eatContextual("static")){if(S>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(_),_;this.isClassElementNameStart()||this.type===v.star?Ge=!0:I="static"}if(_.static=Ge,!I&&S>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?ye=!0:I="async"),!I&&(S>=9||!ye)&&this.eat(v.star)&&(z=!0),!I&&!ye&&!z){var it=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Se=it:I=it)}if(I?(_.computed=!1,_.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),_.key.name=I,this.finishNode(_.key,"Identifier")):this.parseClassElementName(_),S<13||this.type===v.parenL||Se!=="method"||z||ye){var dr=!_.static&&Yy(_,"constructor"),Lr=dr&&y;dr&&Se!=="method"&&this.raise(_.key.start,"Constructor can't have get/set modifier"),_.kind=dr?"constructor":Se,this.parseClassMethod(_,z,ye,Lr)}else this.parseClassField(_);return _},Lt.isClassElementNameStart=function(){return this.type===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},Lt.parseClassElementName=function(y){this.type===v.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),y.computed=!1,y.key=this.parsePrivateIdent()):this.parsePropertyName(y)},Lt.parseClassMethod=function(y,S,_,I){var z=y.key;y.kind==="constructor"?(S&&this.raise(z.start,"Constructor can't be a generator"),_&&this.raise(z.start,"Constructor can't be an async method")):y.static&&Yy(y,"prototype")&&this.raise(z.start,"Classes may not have a static property named prototype");var ye=y.value=this.parseMethod(S,_,I);return y.kind==="get"&&ye.params.length!==0&&this.raiseRecoverable(ye.start,"getter should have no params"),y.kind==="set"&&ye.params.length!==1&&this.raiseRecoverable(ye.start,"setter should have exactly one param"),y.kind==="set"&&ye.params[0].type==="RestElement"&&this.raiseRecoverable(ye.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},Lt.parseClassField=function(y){if(Yy(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&Yy(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)){var S=this.currentThisScope(),_=S.inClassFieldInit;S.inClassFieldInit=!0,y.value=this.parseMaybeAssign(),S.inClassFieldInit=_}else y.value=null;return this.semicolon(),this.finishNode(y,"PropertyDefinition")},Lt.parseClassStaticBlock=function(y){y.body=[];var S=this.labels;for(this.labels=[],this.enterScope(Ct|_e);this.type!==v.braceR;){var _=this.parseStatement(null);y.body.push(_)}return this.next(),this.exitScope(),this.labels=S,this.finishNode(y,"StaticBlock")},Lt.parseClassId=function(y,S){this.type===v.name?(y.id=this.parseIdent(),S&&this.checkLValSimple(y.id,Si,!1)):(S===!0&&this.unexpected(),y.id=null)},Lt.parseClassSuper=function(y){y.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},Lt.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},Lt.exitClassBody=function(){for(var y=this.privateNameStack.pop(),S=y.declared,_=y.used,I=this.privateNameStack.length,z=I===0?null:this.privateNameStack[I-1],ye=0;ye<_.length;++ye){var Se=_[ye];Ke(S,Se.name)||(z?z.used.push(Se):this.raiseRecoverable(Se.start,"Private field '#"+Se.name+"' must be declared in an enclosing class"))}};function fI(y,S){var _=S.key.name,I=y[_],z="true";return S.type==="MethodDefinition"&&(S.kind==="get"||S.kind==="set")&&(z=(S.static?"s":"i")+S.kind),I==="iget"&&z==="iset"||I==="iset"&&z==="iget"||I==="sget"&&z==="sset"||I==="sset"&&z==="sget"?(y[_]="true",!1):I?!0:(y[_]=z,!1)}function Yy(y,S){var _=y.computed,I=y.key;return!_&&(I.type==="Identifier"&&I.name===S||I.type==="Literal"&&I.value===S)}Lt.parseExport=function(y,S){if(this.next(),this.eat(v.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(S,y.exported,this.lastTokStart)):y.exported=null),this.expectContextual("from"),this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom(),this.semicolon(),this.finishNode(y,"ExportAllDeclaration");if(this.eat(v._default)){this.checkExport(S,"default",this.lastTokStart);var _;if(this.type===v._function||(_=this.isAsyncFunction())){var I=this.startNode();this.next(),_&&this.next(),y.declaration=this.parseFunction(I,$s|Hf,!1,_)}else if(this.type===v._class){var z=this.startNode();y.declaration=this.parseClass(z,"nullableID")}else y.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(y,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())y.declaration=this.parseStatement(null),y.declaration.type==="VariableDeclaration"?this.checkVariableExport(S,y.declaration.declarations):this.checkExport(S,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null;else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(S),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom();else{for(var ye=0,Se=y.specifiers;ye<Se.length;ye+=1){var Ge=Se[ye];this.checkUnreserved(Ge.local),this.checkLocalExport(Ge.local),Ge.local.type==="Literal"&&this.raise(Ge.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},Lt.checkExport=function(y,S,_){y&&(typeof S!="string"&&(S=S.type==="Identifier"?S.name:S.value),Ke(y,S)&&this.raiseRecoverable(_,"Duplicate export '"+S+"'"),y[S]=!0)},Lt.checkPatternExport=function(y,S){var _=S.type;if(_==="Identifier")this.checkExport(y,S,S.start);else if(_==="ObjectPattern")for(var I=0,z=S.properties;I<z.length;I+=1){var ye=z[I];this.checkPatternExport(y,ye)}else if(_==="ArrayPattern")for(var Se=0,Ge=S.elements;Se<Ge.length;Se+=1){var it=Ge[Se];it&&this.checkPatternExport(y,it)}else _==="Property"?this.checkPatternExport(y,S.value):_==="AssignmentPattern"?this.checkPatternExport(y,S.left):_==="RestElement"?this.checkPatternExport(y,S.argument):_==="ParenthesizedExpression"&&this.checkPatternExport(y,S.expression)},Lt.checkVariableExport=function(y,S){if(y)for(var _=0,I=S;_<I.length;_+=1){var z=I[_];this.checkPatternExport(y,z.id)}},Lt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Lt.parseExportSpecifiers=function(y){var S=[],_=!0;for(this.expect(v.braceL);!this.eat(v.braceR);){if(_)_=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var I=this.startNode();I.local=this.parseModuleExportName(),I.exported=this.eatContextual("as")?this.parseModuleExportName():I.local,this.checkExport(y,I.exported,I.exported.start),S.push(this.finishNode(I,"ExportSpecifier"))}return S},Lt.parseImport=function(y){return this.next(),this.type===v.string?(y.specifiers=kr,y.source=this.parseExprAtom()):(y.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),y.source=this.type===v.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(y,"ImportDeclaration")},Lt.parseImportSpecifiers=function(){var y=[],S=!0;if(this.type===v.name){var _=this.startNode();if(_.local=this.parseIdent(),this.checkLValSimple(_.local,Si),y.push(this.finishNode(_,"ImportDefaultSpecifier")),!this.eat(v.comma))return y}if(this.type===v.star){var I=this.startNode();return this.next(),this.expectContextual("as"),I.local=this.parseIdent(),this.checkLValSimple(I.local,Si),y.push(this.finishNode(I,"ImportNamespaceSpecifier")),y}for(this.expect(v.braceL);!this.eat(v.braceR);){if(S)S=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;var z=this.startNode();z.imported=this.parseModuleExportName(),this.eatContextual("as")?z.local=this.parseIdent():(this.checkUnreserved(z.imported),z.local=z.imported),this.checkLValSimple(z.local,Si),y.push(this.finishNode(z,"ImportSpecifier"))}return y},Lt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===v.string){var y=this.parseLiteral(this.value);return Ue.test(y.value)&&this.raise(y.start,"An export name cannot include a lone surrogate."),y}return this.parseIdent(!0)},Lt.adaptDirectivePrologue=function(y){for(var S=0;S<y.length&&this.isDirectiveCandidate(y[S]);++S)y[S].directive=y[S].expression.raw.slice(1,-1)},Lt.isDirectiveCandidate=function(y){return this.options.ecmaVersion>=5&&y.type==="ExpressionStatement"&&y.expression.type==="Literal"&&typeof y.expression.value=="string"&&(this.input[y.start]==='"'||this.input[y.start]==="'")};var Lo=br.prototype;Lo.toAssignable=function(y,S,_){if(this.options.ecmaVersion>=6&&y)switch(y.type){case"Identifier":this.inAsync&&y.name==="await"&&this.raise(y.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":y.type="ObjectPattern",_&&this.checkPatternErrors(_,!0);for(var I=0,z=y.properties;I<z.length;I+=1){var ye=z[I];this.toAssignable(ye,S),ye.type==="RestElement"&&(ye.argument.type==="ArrayPattern"||ye.argument.type==="ObjectPattern")&&this.raise(ye.argument.start,"Unexpected token")}break;case"Property":y.kind!=="init"&&this.raise(y.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(y.value,S);break;case"ArrayExpression":y.type="ArrayPattern",_&&this.checkPatternErrors(_,!0),this.toAssignableList(y.elements,S);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,S),y.argument.type==="AssignmentPattern"&&this.raise(y.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":y.operator!=="="&&this.raise(y.left.end,"Only '=' operator can be used for specifying default value."),y.type="AssignmentPattern",delete y.operator,this.toAssignable(y.left,S);break;case"ParenthesizedExpression":this.toAssignable(y.expression,S,_);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!S)break;default:this.raise(y.start,"Assigning to rvalue")}else _&&this.checkPatternErrors(_,!0);return y},Lo.toAssignableList=function(y,S){for(var _=y.length,I=0;I<_;I++){var z=y[I];z&&this.toAssignable(z,S)}if(_){var ye=y[_-1];this.options.ecmaVersion===6&&S&&ye&&ye.type==="RestElement"&&ye.argument.type!=="Identifier"&&this.unexpected(ye.argument.start)}return y},Lo.parseSpread=function(y){var S=this.startNode();return this.next(),S.argument=this.parseMaybeAssign(!1,y),this.finishNode(S,"SpreadElement")},Lo.parseRestBinding=function(){var y=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==v.name&&this.unexpected(),y.argument=this.parseBindingAtom(),this.finishNode(y,"RestElement")},Lo.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case v.bracketL:var y=this.startNode();return this.next(),y.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(y,"ArrayPattern");case v.braceL:return this.parseObj(!0)}return this.parseIdent()},Lo.parseBindingList=function(y,S,_){for(var I=[],z=!0;!this.eat(y);)if(z?z=!1:this.expect(v.comma),S&&this.type===v.comma)I.push(null);else{if(_&&this.afterTrailingComma(y))break;if(this.type===v.ellipsis){var ye=this.parseRestBinding();this.parseBindingListItem(ye),I.push(ye),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else{var Se=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(Se),I.push(Se)}}return I},Lo.parseBindingListItem=function(y){return y},Lo.parseMaybeDefault=function(y,S,_){if(_=_||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return _;var I=this.startNodeAt(y,S);return I.left=_,I.right=this.parseMaybeAssign(),this.finishNode(I,"AssignmentPattern")},Lo.checkLValSimple=function(y,S,_){S===void 0&&(S=Mr);var I=S!==Mr;switch(y.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(y.name)&&this.raiseRecoverable(y.start,(I?"Binding ":"Assigning to ")+y.name+" in strict mode"),I&&(S===Si&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),_&&(Ke(_,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),_[y.name]=!0),S!==$n&&this.declareName(y.name,S,y.start));break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":I&&this.raiseRecoverable(y.start,"Binding member expression");break;case"ParenthesizedExpression":return I&&this.raiseRecoverable(y.start,"Binding parenthesized expression"),this.checkLValSimple(y.expression,S,_);default:this.raise(y.start,(I?"Binding":"Assigning to")+" rvalue")}},Lo.checkLValPattern=function(y,S,_){switch(S===void 0&&(S=Mr),y.type){case"ObjectPattern":for(var I=0,z=y.properties;I<z.length;I+=1){var ye=z[I];this.checkLValInnerPattern(ye,S,_)}break;case"ArrayPattern":for(var Se=0,Ge=y.elements;Se<Ge.length;Se+=1){var it=Ge[Se];it&&this.checkLValInnerPattern(it,S,_)}break;default:this.checkLValSimple(y,S,_)}},Lo.checkLValInnerPattern=function(y,S,_){switch(S===void 0&&(S=Mr),y.type){case"Property":this.checkLValInnerPattern(y.value,S,_);break;case"AssignmentPattern":this.checkLValPattern(y.left,S,_);break;case"RestElement":this.checkLValPattern(y.argument,S,_);break;default:this.checkLValPattern(y,S,_)}};var eo=function(S,_,I,z,ye){this.token=S,this.isExpr=!!_,this.preserveSpace=!!I,this.override=z,this.generator=!!ye},Mi={b_stat:new eo("{",!1),b_expr:new eo("{",!0),b_tmpl:new eo("${",!1),p_stat:new eo("(",!1),p_expr:new eo("(",!0),q_tmpl:new eo("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new eo("function",!1),f_expr:new eo("function",!0),f_expr_gen:new eo("function",!0,!1,null,!0),f_gen:new eo("function",!1,!1,null,!0)},ge=br.prototype;ge.initialContext=function(){return[Mi.b_stat]},ge.curContext=function(){return this.context[this.context.length-1]},ge.braceIsBlock=function(y){var S=this.curContext();return S===Mi.f_expr||S===Mi.f_stat?!0:y===v.colon&&(S===Mi.b_stat||S===Mi.b_expr)?!S.isExpr:y===v._return||y===v.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):y===v._else||y===v.semi||y===v.eof||y===v.parenR||y===v.arrow?!0:y===v.braceL?S===Mi.b_stat:y===v._var||y===v._const||y===v.name?!1:!this.exprAllowed},ge.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var S=this.context[y];if(S.token==="function")return S.generator}return!1},ge.updateContext=function(y){var S,_=this.type;_.keyword&&y===v.dot?this.exprAllowed=!1:(S=_.updateContext)?S.call(this,y):this.exprAllowed=_.beforeExpr},ge.overrideContext=function(y){this.curContext()!==y&&(this.context[this.context.length-1]=y)},v.parenR.updateContext=v.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var y=this.context.pop();y===Mi.b_stat&&this.curContext().token==="function"&&(y=this.context.pop()),this.exprAllowed=!y.isExpr},v.braceL.updateContext=function(y){this.context.push(this.braceIsBlock(y)?Mi.b_stat:Mi.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(Mi.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(y){var S=y===v._if||y===v._for||y===v._with||y===v._while;this.context.push(S?Mi.p_stat:Mi.p_expr),this.exprAllowed=!0},v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(y){y.beforeExpr&&y!==v._else&&!(y===v.semi&&this.curContext()!==Mi.p_stat)&&!(y===v._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===v.colon||y===v.braceL)&&this.curContext()===Mi.b_stat)?this.context.push(Mi.f_expr):this.context.push(Mi.f_stat),this.exprAllowed=!1},v.backQuote.updateContext=function(){this.curContext()===Mi.q_tmpl?this.context.pop():this.context.push(Mi.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(y){if(y===v._function){var S=this.context.length-1;this.context[S]===Mi.f_expr?this.context[S]=Mi.f_expr_gen:this.context[S]=Mi.f_gen}this.exprAllowed=!0},v.name.updateContext=function(y){var S=!1;this.options.ecmaVersion>=6&&y!==v.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(S=!0),this.exprAllowed=S};var oe=br.prototype;oe.checkPropClash=function(y,S,_){if(!(this.options.ecmaVersion>=9&&y.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(y.computed||y.method||y.shorthand))){var I=y.key,z;switch(I.type){case"Identifier":z=I.name;break;case"Literal":z=String(I.value);break;default:return}var ye=y.kind;if(this.options.ecmaVersion>=6){z==="__proto__"&&ye==="init"&&(S.proto&&(_?_.doubleProto<0&&(_.doubleProto=I.start):this.raiseRecoverable(I.start,"Redefinition of __proto__ property")),S.proto=!0);return}z="$"+z;var Se=S[z];if(Se){var Ge;ye==="init"?Ge=this.strict&&Se.init||Se.get||Se.set:Ge=Se.init||Se[ye],Ge&&this.raiseRecoverable(I.start,"Redefinition of property")}else Se=S[z]={init:!1,get:!1,set:!1};Se[ye]=!0}},oe.parseExpression=function(y,S){var _=this.start,I=this.startLoc,z=this.parseMaybeAssign(y,S);if(this.type===v.comma){var ye=this.startNodeAt(_,I);for(ye.expressions=[z];this.eat(v.comma);)ye.expressions.push(this.parseMaybeAssign(y,S));return this.finishNode(ye,"SequenceExpression")}return z},oe.parseMaybeAssign=function(y,S,_){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var I=!1,z=-1,ye=-1,Se=-1;S?(z=S.parenthesizedAssign,ye=S.trailingComma,Se=S.doubleProto,S.parenthesizedAssign=S.trailingComma=-1):(S=new Zl,I=!0);var Ge=this.start,it=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var dr=this.parseMaybeConditional(y,S);if(_&&(dr=_.call(this,dr,Ge,it)),this.type.isAssign){var Lr=this.startNodeAt(Ge,it);return Lr.operator=this.value,this.type===v.eq&&(dr=this.toAssignable(dr,!1,S)),I||(S.parenthesizedAssign=S.trailingComma=S.doubleProto=-1),S.shorthandAssign>=dr.start&&(S.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(dr):this.checkLValSimple(dr),Lr.left=dr,this.next(),Lr.right=this.parseMaybeAssign(y),Se>-1&&(S.doubleProto=Se),this.finishNode(Lr,"AssignmentExpression")}else I&&this.checkExpressionErrors(S,!0);return z>-1&&(S.parenthesizedAssign=z),ye>-1&&(S.trailingComma=ye),dr},oe.parseMaybeConditional=function(y,S){var _=this.start,I=this.startLoc,z=this.parseExprOps(y,S);if(this.checkExpressionErrors(S))return z;if(this.eat(v.question)){var ye=this.startNodeAt(_,I);return ye.test=z,ye.consequent=this.parseMaybeAssign(),this.expect(v.colon),ye.alternate=this.parseMaybeAssign(y),this.finishNode(ye,"ConditionalExpression")}return z},oe.parseExprOps=function(y,S){var _=this.start,I=this.startLoc,z=this.parseMaybeUnary(S,!1,!1,y);return this.checkExpressionErrors(S)||z.start===_&&z.type==="ArrowFunctionExpression"?z:this.parseExprOp(z,_,I,-1,y)},oe.parseExprOp=function(y,S,_,I,z){var ye=this.type.binop;if(ye!=null&&(!z||this.type!==v._in)&&ye>I){var Se=this.type===v.logicalOR||this.type===v.logicalAND,Ge=this.type===v.coalesce;Ge&&(ye=v.logicalAND.binop);var it=this.value;this.next();var dr=this.start,Lr=this.startLoc,ea=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,z),dr,Lr,ye,z),sm=this.buildBinary(S,_,y,ea,it,Se||Ge);return(Se&&this.type===v.coalesce||Ge&&(this.type===v.logicalOR||this.type===v.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(sm,S,_,I,z)}return y},oe.buildBinary=function(y,S,_,I,z,ye){I.type==="PrivateIdentifier"&&this.raise(I.start,"Private identifier can only be left side of binary expression");var Se=this.startNodeAt(y,S);return Se.left=_,Se.operator=z,Se.right=I,this.finishNode(Se,ye?"LogicalExpression":"BinaryExpression")},oe.parseMaybeUnary=function(y,S,_,I){var z=this.start,ye=this.startLoc,Se;if(this.isContextual("await")&&this.canAwait)Se=this.parseAwait(I),S=!0;else if(this.type.prefix){var Ge=this.startNode(),it=this.type===v.incDec;Ge.operator=this.value,Ge.prefix=!0,this.next(),Ge.argument=this.parseMaybeUnary(null,!0,it,I),this.checkExpressionErrors(y,!0),it?this.checkLValSimple(Ge.argument):this.strict&&Ge.operator==="delete"&&Ge.argument.type==="Identifier"?this.raiseRecoverable(Ge.start,"Deleting local variable in strict mode"):Ge.operator==="delete"&&We(Ge.argument)?this.raiseRecoverable(Ge.start,"Private fields can not be deleted"):S=!0,Se=this.finishNode(Ge,it?"UpdateExpression":"UnaryExpression")}else if(!S&&this.type===v.privateId)(I||this.privateNameStack.length===0)&&this.unexpected(),Se=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();else{if(Se=this.parseExprSubscripts(y,I),this.checkExpressionErrors(y))return Se;for(;this.type.postfix&&!this.canInsertSemicolon();){var dr=this.startNodeAt(z,ye);dr.operator=this.value,dr.prefix=!1,dr.argument=Se,this.checkLValSimple(Se),this.next(),Se=this.finishNode(dr,"UpdateExpression")}}if(!_&&this.eat(v.starstar))if(S)this.unexpected(this.lastTokStart);else return this.buildBinary(z,ye,Se,this.parseMaybeUnary(null,!1,!1,I),"**",!1);else return Se};function We(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&We(y.expression)}oe.parseExprSubscripts=function(y,S){var _=this.start,I=this.startLoc,z=this.parseExprAtom(y,S);if(z.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return z;var ye=this.parseSubscripts(z,_,I,!1,S);return y&&ye.type==="MemberExpression"&&(y.parenthesizedAssign>=ye.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=ye.start&&(y.parenthesizedBind=-1),y.trailingComma>=ye.start&&(y.trailingComma=-1)),ye},oe.parseSubscripts=function(y,S,_,I,z){for(var ye=this.options.ecmaVersion>=8&&y.type==="Identifier"&&y.name==="async"&&this.lastTokEnd===y.end&&!this.canInsertSemicolon()&&y.end-y.start===5&&this.potentialArrowAt===y.start,Se=!1;;){var Ge=this.parseSubscript(y,S,_,I,ye,Se,z);if(Ge.optional&&(Se=!0),Ge===y||Ge.type==="ArrowFunctionExpression"){if(Se){var it=this.startNodeAt(S,_);it.expression=Ge,Ge=this.finishNode(it,"ChainExpression")}return Ge}y=Ge}},oe.parseSubscript=function(y,S,_,I,z,ye,Se){var Ge=this.options.ecmaVersion>=11,it=Ge&&this.eat(v.questionDot);I&&it&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var dr=this.eat(v.bracketL);if(dr||it&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var Lr=this.startNodeAt(S,_);Lr.object=y,dr?(Lr.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&y.type!=="Super"?Lr.property=this.parsePrivateIdent():Lr.property=this.parseIdent(this.options.allowReserved!=="never"),Lr.computed=!!dr,Ge&&(Lr.optional=it),y=this.finishNode(Lr,"MemberExpression")}else if(!I&&this.eat(v.parenL)){var ea=new Zl,sm=this.yieldPos,Jv=this.awaitPos,Jy=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Xw=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,ea);if(z&&!it&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(ea,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=sm,this.awaitPos=Jv,this.awaitIdentPos=Jy,this.parseArrowExpression(this.startNodeAt(S,_),Xw,!0,Se);this.checkExpressionErrors(ea,!0),this.yieldPos=sm||this.yieldPos,this.awaitPos=Jv||this.awaitPos,this.awaitIdentPos=Jy||this.awaitIdentPos;var Xy=this.startNodeAt(S,_);Xy.callee=y,Xy.arguments=Xw,Ge&&(Xy.optional=it),y=this.finishNode(Xy,"CallExpression")}else if(this.type===v.backQuote){(it||ye)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Qy=this.startNodeAt(S,_);Qy.tag=y,Qy.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(Qy,"TaggedTemplateExpression")}return y},oe.parseExprAtom=function(y,S){this.type===v.slash&&this.readRegexp();var _,I=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),_=this.startNode(),this.next(),this.type===v.parenL&&!this.allowDirectSuper&&this.raise(_.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(_,"Super");case v._this:return _=this.startNode(),this.next(),this.finishNode(_,"ThisExpression");case v.name:var z=this.start,ye=this.startLoc,Se=this.containsEsc,Ge=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Se&&Ge.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(Mi.f_expr),this.parseFunction(this.startNodeAt(z,ye),0,!1,!0,S);if(I&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(z,ye),[Ge],!1,S);if(this.options.ecmaVersion>=8&&Ge.name==="async"&&this.type===v.name&&!Se&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ge=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(z,ye),[Ge],!0,S)}return Ge;case v.regexp:var it=this.value;return _=this.parseLiteral(it.value),_.regex={pattern:it.pattern,flags:it.flags},_;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return _=this.startNode(),_.value=this.type===v._null?null:this.type===v._true,_.raw=this.type.keyword,this.next(),this.finishNode(_,"Literal");case v.parenL:var dr=this.start,Lr=this.parseParenAndDistinguishExpression(I,S);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Lr)&&(y.parenthesizedAssign=dr),y.parenthesizedBind<0&&(y.parenthesizedBind=dr)),Lr;case v.bracketL:return _=this.startNode(),this.next(),_.elements=this.parseExprList(v.bracketR,!0,!0,y),this.finishNode(_,"ArrayExpression");case v.braceL:return this.overrideContext(Mi.b_expr),this.parseObj(!1,y);case v._function:return _=this.startNode(),this.next(),this.parseFunction(_,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},oe.parseExprImport=function(){var y=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var S=this.parseIdent(!0);switch(this.type){case v.parenL:return this.parseDynamicImport(y);case v.dot:return y.meta=S,this.parseImportMeta(y);default:this.unexpected()}},oe.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),!this.eat(v.parenR)){var S=this.start;this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(S,"Trailing comma is not allowed in import()"):this.unexpected(S)}return this.finishNode(y,"ImportExpression")},oe.parseImportMeta=function(y){this.next();var S=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="meta"&&this.raiseRecoverable(y.property.start,"The only valid meta property for import is 'import.meta'"),S&&this.raiseRecoverable(y.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(y.start,"Cannot use 'import.meta' outside a module"),this.finishNode(y,"MetaProperty")},oe.parseLiteral=function(y){var S=this.startNode();return S.value=y,S.raw=this.input.slice(this.start,this.end),S.raw.charCodeAt(S.raw.length-1)===110&&(S.bigint=S.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(S,"Literal")},oe.parseParenExpression=function(){this.expect(v.parenL);var y=this.parseExpression();return this.expect(v.parenR),y},oe.parseParenAndDistinguishExpression=function(y,S){var _=this.start,I=this.startLoc,z,ye=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Se=this.start,Ge=this.startLoc,it=[],dr=!0,Lr=!1,ea=new Zl,sm=this.yieldPos,Jv=this.awaitPos,Jy;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;)if(dr?dr=!1:this.expect(v.comma),ye&&this.afterTrailingComma(v.parenR,!0)){Lr=!0;break}else if(this.type===v.ellipsis){Jy=this.start,it.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else it.push(this.parseMaybeAssign(!1,ea,this.parseParenItem));var Xw=this.lastTokEnd,Xy=this.lastTokEndLoc;if(this.expect(v.parenR),y&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(ea,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=sm,this.awaitPos=Jv,this.parseParenArrowList(_,I,it,S);(!it.length||Lr)&&this.unexpected(this.lastTokStart),Jy&&this.unexpected(Jy),this.checkExpressionErrors(ea,!0),this.yieldPos=sm||this.yieldPos,this.awaitPos=Jv||this.awaitPos,it.length>1?(z=this.startNodeAt(Se,Ge),z.expressions=it,this.finishNodeAt(z,"SequenceExpression",Xw,Xy)):z=it[0]}else z=this.parseParenExpression();if(this.options.preserveParens){var Qy=this.startNodeAt(_,I);return Qy.expression=z,this.finishNode(Qy,"ParenthesizedExpression")}else return z},oe.parseParenItem=function(y){return y},oe.parseParenArrowList=function(y,S,_,I){return this.parseArrowExpression(this.startNodeAt(y,S),_,!1,I)};var ur=[];oe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var y=this.startNode(),S=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(v.dot)){y.meta=S;var _=this.containsEsc;return y.property=this.parseIdent(!0),y.property.name!=="target"&&this.raiseRecoverable(y.property.start,"The only valid meta property for new is 'new.target'"),_&&this.raiseRecoverable(y.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(y.start,"'new.target' can only be used in functions and class static block"),this.finishNode(y,"MetaProperty")}var I=this.start,z=this.startLoc,ye=this.type===v._import;return y.callee=this.parseSubscripts(this.parseExprAtom(),I,z,!0,!1),ye&&y.callee.type==="ImportExpression"&&this.raise(I,"Cannot use new with import()"),this.eat(v.parenL)?y.arguments=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1):y.arguments=ur,this.finishNode(y,"NewExpression")},oe.parseTemplateElement=function(y){var S=y.isTagged,_=this.startNode();return this.type===v.invalidTemplate?(S||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),_.value={raw:this.value,cooked:null}):_.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
113
|
+
`),cooked:this.value},this.next(),_.tail=this.type===v.backQuote,this.finishNode(_,"TemplateElement")},oe.parseTemplate=function(y){y===void 0&&(y={});var S=y.isTagged;S===void 0&&(S=!1);var _=this.startNode();this.next(),_.expressions=[];var I=this.parseTemplateElement({isTagged:S});for(_.quasis=[I];!I.tail;)this.type===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),_.expressions.push(this.parseExpression()),this.expect(v.braceR),_.quasis.push(I=this.parseTemplateElement({isTagged:S}));return this.next(),this.finishNode(_,"TemplateLiteral")},oe.isAsyncProp=function(y){return!y.computed&&y.key.type==="Identifier"&&y.key.name==="async"&&(this.type===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===v.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},oe.parseObj=function(y,S){var _=this.startNode(),I=!0,z={};for(_.properties=[],this.next();!this.eat(v.braceR);){if(I)I=!1;else if(this.expect(v.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(v.braceR))break;var ye=this.parseProperty(y,S);y||this.checkPropClash(ye,z,S),_.properties.push(ye)}return this.finishNode(_,y?"ObjectPattern":"ObjectExpression")},oe.parseProperty=function(y,S){var _=this.startNode(),I,z,ye,Se;if(this.options.ecmaVersion>=9&&this.eat(v.ellipsis))return y?(_.argument=this.parseIdent(!1),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(_,"RestElement")):(_.argument=this.parseMaybeAssign(!1,S),this.type===v.comma&&S&&S.trailingComma<0&&(S.trailingComma=this.start),this.finishNode(_,"SpreadElement"));this.options.ecmaVersion>=6&&(_.method=!1,_.shorthand=!1,(y||S)&&(ye=this.start,Se=this.startLoc),y||(I=this.eat(v.star)));var Ge=this.containsEsc;return this.parsePropertyName(_),!y&&!Ge&&this.options.ecmaVersion>=8&&!I&&this.isAsyncProp(_)?(z=!0,I=this.options.ecmaVersion>=9&&this.eat(v.star),this.parsePropertyName(_)):z=!1,this.parsePropertyValue(_,y,I,z,ye,Se,S,Ge),this.finishNode(_,"Property")},oe.parsePropertyValue=function(y,S,_,I,z,ye,Se,Ge){if((_||I)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon))y.value=S?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Se),y.kind="init";else if(this.options.ecmaVersion>=6&&this.type===v.parenL)S&&this.unexpected(),y.kind="init",y.method=!0,y.value=this.parseMethod(_,I);else if(!S&&!Ge&&this.options.ecmaVersion>=5&&!y.computed&&y.key.type==="Identifier"&&(y.key.name==="get"||y.key.name==="set")&&this.type!==v.comma&&this.type!==v.braceR&&this.type!==v.eq){(_||I)&&this.unexpected(),y.kind=y.key.name,this.parsePropertyName(y),y.value=this.parseMethod(!1);var it=y.kind==="get"?0:1;if(y.value.params.length!==it){var dr=y.value.start;y.kind==="get"?this.raiseRecoverable(dr,"getter should have no params"):this.raiseRecoverable(dr,"setter should have exactly one param")}else y.kind==="set"&&y.value.params[0].type==="RestElement"&&this.raiseRecoverable(y.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!y.computed&&y.key.type==="Identifier"?((_||I)&&this.unexpected(),this.checkUnreserved(y.key),y.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=z),y.kind="init",S?y.value=this.parseMaybeDefault(z,ye,this.copyNode(y.key)):this.type===v.eq&&Se?(Se.shorthandAssign<0&&(Se.shorthandAssign=this.start),y.value=this.parseMaybeDefault(z,ye,this.copyNode(y.key))):y.value=this.copyNode(y.key),y.shorthand=!0):this.unexpected()},oe.parsePropertyName=function(y){if(this.options.ecmaVersion>=6){if(this.eat(v.bracketL))return y.computed=!0,y.key=this.parseMaybeAssign(),this.expect(v.bracketR),y.key;y.computed=!1}return y.key=this.type===v.num||this.type===v.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},oe.initFunction=function(y){y.id=null,this.options.ecmaVersion>=6&&(y.generator=y.expression=!1),this.options.ecmaVersion>=8&&(y.async=!1)},oe.parseMethod=function(y,S,_){var I=this.startNode(),z=this.yieldPos,ye=this.awaitPos,Se=this.awaitIdentPos;return this.initFunction(I),this.options.ecmaVersion>=6&&(I.generator=y),this.options.ecmaVersion>=8&&(I.async=!!S),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nr(S,I.generator)|_e|(_?Ze:0)),this.expect(v.parenL),I.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(I,!1,!0,!1),this.yieldPos=z,this.awaitPos=ye,this.awaitIdentPos=Se,this.finishNode(I,"FunctionExpression")},oe.parseArrowExpression=function(y,S,_,I){var z=this.yieldPos,ye=this.awaitPos,Se=this.awaitIdentPos;return this.enterScope(nr(_,!1)|Fe),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!_),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(S,!0),this.parseFunctionBody(y,!0,!1,I),this.yieldPos=z,this.awaitPos=ye,this.awaitIdentPos=Se,this.finishNode(y,"ArrowFunctionExpression")},oe.parseFunctionBody=function(y,S,_,I){var z=S&&this.type!==v.braceL,ye=this.strict,Se=!1;if(z)y.body=this.parseMaybeAssign(I),y.expression=!0,this.checkParams(y,!1);else{var Ge=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!ye||Ge)&&(Se=this.strictDirective(this.end),Se&&Ge&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var it=this.labels;this.labels=[],Se&&(this.strict=!0),this.checkParams(y,!ye&&!Se&&!S&&!_&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,$n),y.body=this.parseBlock(!1,void 0,Se&&!ye),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=it}this.exitScope()},oe.isSimpleParamList=function(y){for(var S=0,_=y;S<_.length;S+=1){var I=_[S];if(I.type!=="Identifier")return!1}return!0},oe.checkParams=function(y,S){for(var _=Object.create(null),I=0,z=y.params;I<z.length;I+=1){var ye=z[I];this.checkLValInnerPattern(ye,jr,S?null:_)}},oe.parseExprList=function(y,S,_,I){for(var z=[],ye=!0;!this.eat(y);){if(ye)ye=!1;else if(this.expect(v.comma),S&&this.afterTrailingComma(y))break;var Se=void 0;_&&this.type===v.comma?Se=null:this.type===v.ellipsis?(Se=this.parseSpread(I),I&&this.type===v.comma&&I.trailingComma<0&&(I.trailingComma=this.start)):Se=this.parseMaybeAssign(!1,I),z.push(Se)}return z},oe.checkUnreserved=function(y){var S=y.start,_=y.end,I=y.name;if(this.inGenerator&&I==="yield"&&this.raiseRecoverable(S,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&I==="await"&&this.raiseRecoverable(S,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&I==="arguments"&&this.raiseRecoverable(S,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(I==="arguments"||I==="await")&&this.raise(S,"Cannot use "+I+" in class static initialization block"),this.keywords.test(I)&&this.raise(S,"Unexpected keyword '"+I+"'"),!(this.options.ecmaVersion<6&&this.input.slice(S,_).indexOf("\\")!==-1)){var z=this.strict?this.reservedWordsStrict:this.reservedWords;z.test(I)&&(!this.inAsync&&I==="await"&&this.raiseRecoverable(S,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(S,"The keyword '"+I+"' is reserved"))}},oe.parseIdent=function(y){var S=this.startNode();return this.type===v.name?S.name=this.value:this.type.keyword?(S.name=this.type.keyword,(S.name==="class"||S.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!y),this.finishNode(S,"Identifier"),y||(this.checkUnreserved(S),S.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=S.start)),S},oe.parsePrivateIdent=function(){var y=this.startNode();return this.type===v.privateId?y.name=this.value:this.unexpected(),this.next(),this.finishNode(y,"PrivateIdentifier"),this.privateNameStack.length===0?this.raise(y.start,"Private field '#"+y.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(y),y},oe.parseYield=function(y){this.yieldPos||(this.yieldPos=this.start);var S=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(S.delegate=!1,S.argument=null):(S.delegate=this.eat(v.star),S.argument=this.parseMaybeAssign(y)),this.finishNode(S,"YieldExpression")},oe.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var S=this.startNode();return this.next(),S.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(S,"AwaitExpression")};var Cn=br.prototype;Cn.raise=function(y,S){var _=Re(this.input,y);S+=" ("+_.line+":"+_.column+")";var I=new SyntaxError(S);throw I.pos=y,I.loc=_,I.raisedAt=this.pos,I},Cn.raiseRecoverable=Cn.raise,Cn.curPosition=function(){if(this.options.locations)return new Dt(this.curLine,this.pos-this.lineStart)};var il=br.prototype,dI=function(S){this.flags=S,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};il.enterScope=function(y){this.scopeStack.push(new dI(y))},il.exitScope=function(){this.scopeStack.pop()},il.treatFunctionsAsVarInScope=function(y){return y.flags&me||!this.inModule&&y.flags&Be},il.declareName=function(y,S,_){var I=!1;if(S===Si){var z=this.currentScope();I=z.lexical.indexOf(y)>-1||z.functions.indexOf(y)>-1||z.var.indexOf(y)>-1,z.lexical.push(y),this.inModule&&z.flags&Be&&delete this.undefinedExports[y]}else if(S===qs){var ye=this.currentScope();ye.lexical.push(y)}else if(S===Ps){var Se=this.currentScope();this.treatFunctionsAsVar?I=Se.lexical.indexOf(y)>-1:I=Se.lexical.indexOf(y)>-1||Se.var.indexOf(y)>-1,Se.functions.push(y)}else for(var Ge=this.scopeStack.length-1;Ge>=0;--Ge){var it=this.scopeStack[Ge];if(it.lexical.indexOf(y)>-1&&!(it.flags&ve&&it.lexical[0]===y)||!this.treatFunctionsAsVarInScope(it)&&it.functions.indexOf(y)>-1){I=!0;break}if(it.var.push(y),this.inModule&&it.flags&Be&&delete this.undefinedExports[y],it.flags&ht)break}I&&this.raiseRecoverable(_,"Identifier '"+y+"' has already been declared")},il.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},il.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},il.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var S=this.scopeStack[y];if(S.flags&ht)return S}},il.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var S=this.scopeStack[y];if(S.flags&ht&&!(S.flags&Fe))return S}};var Hv=function(S,_,I){this.type="",this.start=_,this.end=0,S.options.locations&&(this.loc=new ce(S,I)),S.options.directSourceFile&&(this.sourceFile=S.options.directSourceFile),S.options.ranges&&(this.range=[_,0])},Yv=br.prototype;Yv.startNode=function(){return new Hv(this,this.start,this.startLoc)},Yv.startNodeAt=function(y,S){return new Hv(this,y,S)};function BX(y,S,_,I){return y.type=S,y.end=_,this.options.locations&&(y.loc.end=I),this.options.ranges&&(y.range[1]=_),y}Yv.finishNode=function(y,S){return BX.call(this,y,S,this.lastTokEnd,this.lastTokEndLoc)},Yv.finishNodeAt=function(y,S,_,I){return BX.call(this,y,S,_,I)},Yv.copyNode=function(y){var S=new Hv(this,y.start,this.startLoc);for(var _ in y)S[_]=y[_];return S};var MX="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",jX=MX+" Extended_Pictographic",VX=jX,UX=VX+" EBase EComp EMod EPres ExtPict",qX=UX,LNe=qX,FNe={9:MX,10:jX,11:VX,12:UX,13:qX,14:LNe},$X="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",KX="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",WX=KX+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",GX=WX+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",zX=GX+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",HX=zX+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",RNe=HX+" Kawi Nag_Mundari Nagm",BNe={9:KX,10:WX,11:GX,12:zX,13:HX,14:RNe},YX={};function MNe(y){var S=YX[y]={binary:ne(FNe[y]+" "+$X),nonBinary:{General_Category:ne($X),Script:ne(BNe[y])}};S.nonBinary.Script_Extensions=S.nonBinary.Script,S.nonBinary.gc=S.nonBinary.General_Category,S.nonBinary.sc=S.nonBinary.Script,S.nonBinary.scx=S.nonBinary.Script_Extensions}for(var hI=0,JX=[9,10,11,12,13,14];hI<JX.length;hI+=1){var jNe=JX[hI];MNe(jNe)}var jt=br.prototype,tp=function(S){this.parser=S,this.validFlags="gim"+(S.options.ecmaVersion>=6?"uy":"")+(S.options.ecmaVersion>=9?"s":"")+(S.options.ecmaVersion>=13?"d":""),this.unicodeProperties=YX[S.options.ecmaVersion>=14?14:S.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};tp.prototype.reset=function(S,_,I){var z=I.indexOf("u")!==-1;this.start=S|0,this.source=_+"",this.flags=I,this.switchU=z&&this.parser.options.ecmaVersion>=6,this.switchN=z&&this.parser.options.ecmaVersion>=9},tp.prototype.raise=function(S){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+S)},tp.prototype.at=function(S,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(S>=z)return-1;var ye=I.charCodeAt(S);if(!(_||this.switchU)||ye<=55295||ye>=57344||S+1>=z)return ye;var Se=I.charCodeAt(S+1);return Se>=56320&&Se<=57343?(ye<<10)+Se-56613888:ye},tp.prototype.nextIndex=function(S,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(S>=z)return z;var ye=I.charCodeAt(S),Se;return!(_||this.switchU)||ye<=55295||ye>=57344||S+1>=z||(Se=I.charCodeAt(S+1))<56320||Se>57343?S+1:S+2},tp.prototype.current=function(S){return S===void 0&&(S=!1),this.at(this.pos,S)},tp.prototype.lookahead=function(S){return S===void 0&&(S=!1),this.at(this.nextIndex(this.pos,S),S)},tp.prototype.advance=function(S){S===void 0&&(S=!1),this.pos=this.nextIndex(this.pos,S)},tp.prototype.eat=function(S,_){return _===void 0&&(_=!1),this.current(_)===S?(this.advance(_),!0):!1},jt.validateRegExpFlags=function(y){for(var S=y.validFlags,_=y.flags,I=0;I<_.length;I++){var z=_.charAt(I);S.indexOf(z)===-1&&this.raise(y.start,"Invalid regular expression flag"),_.indexOf(z,I+1)>-1&&this.raise(y.start,"Duplicate regular expression flag")}},jt.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&y.groupNames.length>0&&(y.switchN=!0,this.regexp_pattern(y))},jt.regexp_pattern=function(y){y.pos=0,y.lastIntValue=0,y.lastStringValue="",y.lastAssertionIsQuantifiable=!1,y.numCapturingParens=0,y.maxBackReference=0,y.groupNames.length=0,y.backReferenceNames.length=0,this.regexp_disjunction(y),y.pos!==y.source.length&&(y.eat(41)&&y.raise("Unmatched ')'"),(y.eat(93)||y.eat(125))&&y.raise("Lone quantifier brackets")),y.maxBackReference>y.numCapturingParens&&y.raise("Invalid escape");for(var S=0,_=y.backReferenceNames;S<_.length;S+=1){var I=_[S];y.groupNames.indexOf(I)===-1&&y.raise("Invalid named capture referenced")}},jt.regexp_disjunction=function(y){for(this.regexp_alternative(y);y.eat(124);)this.regexp_alternative(y);this.regexp_eatQuantifier(y,!0)&&y.raise("Nothing to repeat"),y.eat(123)&&y.raise("Lone quantifier brackets")},jt.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},jt.regexp_eatTerm=function(y){return this.regexp_eatAssertion(y)?(y.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(y)&&y.switchU&&y.raise("Invalid quantifier"),!0):(y.switchU?this.regexp_eatAtom(y):this.regexp_eatExtendedAtom(y))?(this.regexp_eatQuantifier(y),!0):!1},jt.regexp_eatAssertion=function(y){var S=y.pos;if(y.lastAssertionIsQuantifiable=!1,y.eat(94)||y.eat(36))return!0;if(y.eat(92)){if(y.eat(66)||y.eat(98))return!0;y.pos=S}if(y.eat(40)&&y.eat(63)){var _=!1;if(this.options.ecmaVersion>=9&&(_=y.eat(60)),y.eat(61)||y.eat(33))return this.regexp_disjunction(y),y.eat(41)||y.raise("Unterminated group"),y.lastAssertionIsQuantifiable=!_,!0}return y.pos=S,!1},jt.regexp_eatQuantifier=function(y,S){return S===void 0&&(S=!1),this.regexp_eatQuantifierPrefix(y,S)?(y.eat(63),!0):!1},jt.regexp_eatQuantifierPrefix=function(y,S){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,S)},jt.regexp_eatBracedQuantifier=function(y,S){var _=y.pos;if(y.eat(123)){var I=0,z=-1;if(this.regexp_eatDecimalDigits(y)&&(I=y.lastIntValue,y.eat(44)&&this.regexp_eatDecimalDigits(y)&&(z=y.lastIntValue),y.eat(125)))return z!==-1&&z<I&&!S&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!S&&y.raise("Incomplete quantifier"),y.pos=_}return!1},jt.regexp_eatAtom=function(y){return this.regexp_eatPatternCharacters(y)||y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)},jt.regexp_eatReverseSolidusAtomEscape=function(y){var S=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=S}return!1},jt.regexp_eatUncapturingGroup=function(y){var S=y.pos;if(y.eat(40)){if(y.eat(63)&&y.eat(58)){if(this.regexp_disjunction(y),y.eat(41))return!0;y.raise("Unterminated group")}y.pos=S}return!1},jt.regexp_eatCapturingGroup=function(y){if(y.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(y):y.current()===63&&y.raise("Invalid group"),this.regexp_disjunction(y),y.eat(41))return y.numCapturingParens+=1,!0;y.raise("Unterminated group")}return!1},jt.regexp_eatExtendedAtom=function(y){return y.eat(46)||this.regexp_eatReverseSolidusAtomEscape(y)||this.regexp_eatCharacterClass(y)||this.regexp_eatUncapturingGroup(y)||this.regexp_eatCapturingGroup(y)||this.regexp_eatInvalidBracedQuantifier(y)||this.regexp_eatExtendedPatternCharacter(y)},jt.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},jt.regexp_eatSyntaxCharacter=function(y){var S=y.current();return XX(S)?(y.lastIntValue=S,y.advance(),!0):!1};function XX(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}jt.regexp_eatPatternCharacters=function(y){for(var S=y.pos,_=0;(_=y.current())!==-1&&!XX(_);)y.advance();return y.pos!==S},jt.regexp_eatExtendedPatternCharacter=function(y){var S=y.current();return S!==-1&&S!==36&&!(S>=40&&S<=43)&&S!==46&&S!==63&&S!==91&&S!==94&&S!==124?(y.advance(),!0):!1},jt.regexp_groupSpecifier=function(y){if(y.eat(63)){if(this.regexp_eatGroupName(y)){y.groupNames.indexOf(y.lastStringValue)!==-1&&y.raise("Duplicate capture group name"),y.groupNames.push(y.lastStringValue);return}y.raise("Invalid group")}},jt.regexp_eatGroupName=function(y){if(y.lastStringValue="",y.eat(60)){if(this.regexp_eatRegExpIdentifierName(y)&&y.eat(62))return!0;y.raise("Invalid capture group name")}return!1},jt.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=Ce(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=Ce(y.lastIntValue);return!0}return!1},jt.regexp_eatRegExpIdentifierStart=function(y){var S=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),VNe(I)?(y.lastIntValue=I,!0):(y.pos=S,!1)};function VNe(y){return d(y,!0)||y===36||y===95}jt.regexp_eatRegExpIdentifierPart=function(y){var S=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),UNe(I)?(y.lastIntValue=I,!0):(y.pos=S,!1)};function UNe(y){return f(y,!0)||y===36||y===95||y===8204||y===8205}jt.regexp_eatAtomEscape=function(y){return this.regexp_eatBackReference(y)||this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)||y.switchN&&this.regexp_eatKGroupName(y)?!0:(y.switchU&&(y.current()===99&&y.raise("Invalid unicode escape"),y.raise("Invalid escape")),!1)},jt.regexp_eatBackReference=function(y){var S=y.pos;if(this.regexp_eatDecimalEscape(y)){var _=y.lastIntValue;if(y.switchU)return _>y.maxBackReference&&(y.maxBackReference=_),!0;if(_<=y.numCapturingParens)return!0;y.pos=S}return!1},jt.regexp_eatKGroupName=function(y){if(y.eat(107)){if(this.regexp_eatGroupName(y))return y.backReferenceNames.push(y.lastStringValue),!0;y.raise("Invalid named reference")}return!1},jt.regexp_eatCharacterEscape=function(y){return this.regexp_eatControlEscape(y)||this.regexp_eatCControlLetter(y)||this.regexp_eatZero(y)||this.regexp_eatHexEscapeSequence(y)||this.regexp_eatRegExpUnicodeEscapeSequence(y,!1)||!y.switchU&&this.regexp_eatLegacyOctalEscapeSequence(y)||this.regexp_eatIdentityEscape(y)},jt.regexp_eatCControlLetter=function(y){var S=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=S}return!1},jt.regexp_eatZero=function(y){return y.current()===48&&!Yw(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},jt.regexp_eatControlEscape=function(y){var S=y.current();return S===116?(y.lastIntValue=9,y.advance(),!0):S===110?(y.lastIntValue=10,y.advance(),!0):S===118?(y.lastIntValue=11,y.advance(),!0):S===102?(y.lastIntValue=12,y.advance(),!0):S===114?(y.lastIntValue=13,y.advance(),!0):!1},jt.regexp_eatControlLetter=function(y){var S=y.current();return QX(S)?(y.lastIntValue=S%32,y.advance(),!0):!1};function QX(y){return y>=65&&y<=90||y>=97&&y<=122}jt.regexp_eatRegExpUnicodeEscapeSequence=function(y,S){S===void 0&&(S=!1);var _=y.pos,I=S||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var z=y.lastIntValue;if(I&&z>=55296&&z<=56319){var ye=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var Se=y.lastIntValue;if(Se>=56320&&Se<=57343)return y.lastIntValue=(z-55296)*1024+(Se-56320)+65536,!0}y.pos=ye,y.lastIntValue=z}return!0}if(I&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&qNe(y.lastIntValue))return!0;I&&y.raise("Invalid unicode escape"),y.pos=_}return!1};function qNe(y){return y>=0&&y<=1114111}jt.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var S=y.current();return S!==99&&(!y.switchN||S!==107)?(y.lastIntValue=S,y.advance(),!0):!1},jt.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var S=y.current();if(S>=49&&S<=57){do y.lastIntValue=10*y.lastIntValue+(S-48),y.advance();while((S=y.current())>=48&&S<=57);return!0}return!1},jt.regexp_eatCharacterClassEscape=function(y){var S=y.current();if($Ne(S))return y.lastIntValue=-1,y.advance(),!0;if(y.switchU&&this.options.ecmaVersion>=9&&(S===80||S===112)){if(y.lastIntValue=-1,y.advance(),y.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(y)&&y.eat(125))return!0;y.raise("Invalid property name")}return!1};function $Ne(y){return y===100||y===68||y===115||y===83||y===119||y===87}jt.regexp_eatUnicodePropertyValueExpression=function(y){var S=y.pos;if(this.regexp_eatUnicodePropertyName(y)&&y.eat(61)){var _=y.lastStringValue;if(this.regexp_eatUnicodePropertyValue(y)){var I=y.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(y,_,I),!0}}if(y.pos=S,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var z=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,z),!0}return!1},jt.regexp_validateUnicodePropertyNameAndValue=function(y,S,_){Ke(y.unicodeProperties.nonBinary,S)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[S].test(_)||y.raise("Invalid property value")},jt.regexp_validateUnicodePropertyNameOrValue=function(y,S){y.unicodeProperties.binary.test(S)||y.raise("Invalid property name")},jt.regexp_eatUnicodePropertyName=function(y){var S=0;for(y.lastStringValue="";ZX(S=y.current());)y.lastStringValue+=Ce(S),y.advance();return y.lastStringValue!==""};function ZX(y){return QX(y)||y===95}jt.regexp_eatUnicodePropertyValue=function(y){var S=0;for(y.lastStringValue="";KNe(S=y.current());)y.lastStringValue+=Ce(S),y.advance();return y.lastStringValue!==""};function KNe(y){return ZX(y)||Yw(y)}jt.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},jt.regexp_eatCharacterClass=function(y){if(y.eat(91)){if(y.eat(94),this.regexp_classRanges(y),y.eat(93))return!0;y.raise("Unterminated character class")}return!1},jt.regexp_classRanges=function(y){for(;this.regexp_eatClassAtom(y);){var S=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var _=y.lastIntValue;y.switchU&&(S===-1||_===-1)&&y.raise("Invalid character class"),S!==-1&&_!==-1&&S>_&&y.raise("Range out of order in character class")}}},jt.regexp_eatClassAtom=function(y){var S=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var _=y.current();(_===99||rQ(_))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=S}var I=y.current();return I!==93?(y.lastIntValue=I,y.advance(),!0):!1},jt.regexp_eatClassEscape=function(y){var S=y.pos;if(y.eat(98))return y.lastIntValue=8,!0;if(y.switchU&&y.eat(45))return y.lastIntValue=45,!0;if(!y.switchU&&y.eat(99)){if(this.regexp_eatClassControlLetter(y))return!0;y.pos=S}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},jt.regexp_eatClassControlLetter=function(y){var S=y.current();return Yw(S)||S===95?(y.lastIntValue=S%32,y.advance(),!0):!1},jt.regexp_eatHexEscapeSequence=function(y){var S=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=S}return!1},jt.regexp_eatDecimalDigits=function(y){var S=y.pos,_=0;for(y.lastIntValue=0;Yw(_=y.current());)y.lastIntValue=10*y.lastIntValue+(_-48),y.advance();return y.pos!==S};function Yw(y){return y>=48&&y<=57}jt.regexp_eatHexDigits=function(y){var S=y.pos,_=0;for(y.lastIntValue=0;eQ(_=y.current());)y.lastIntValue=16*y.lastIntValue+tQ(_),y.advance();return y.pos!==S};function eQ(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function tQ(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}jt.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var S=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var _=y.lastIntValue;S<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=S*64+_*8+y.lastIntValue:y.lastIntValue=S*8+_}else y.lastIntValue=S;return!0}return!1},jt.regexp_eatOctalDigit=function(y){var S=y.current();return rQ(S)?(y.lastIntValue=S-48,y.advance(),!0):(y.lastIntValue=0,!1)};function rQ(y){return y>=48&&y<=55}jt.regexp_eatFixedHexDigits=function(y,S){var _=y.pos;y.lastIntValue=0;for(var I=0;I<S;++I){var z=y.current();if(!eQ(z))return y.pos=_,!1;y.lastIntValue=16*y.lastIntValue+tQ(z),y.advance()}return!0};var Jw=function(S){this.type=S.type,this.value=S.value,this.start=S.start,this.end=S.end,S.options.locations&&(this.loc=new ce(S,S.startLoc,S.endLoc)),S.options.ranges&&(this.range=[S.start,S.end])},Vr=br.prototype;Vr.next=function(y){!y&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Jw(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Vr.getToken=function(){return this.next(),new Jw(this)},typeof Symbol<"u"&&(Vr[Symbol.iterator]=function(){var y=this;return{next:function(){var S=y.getToken();return{done:S.type===v.eof,value:S}}}}),Vr.nextToken=function(){var y=this.curContext();if((!y||!y.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(v.eof);if(y.override)return y.override(this);this.readToken(this.fullCharCodeAtPos())},Vr.readToken=function(y){return d(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},Vr.fullCharCodeAtPos=function(){var y=this.input.charCodeAt(this.pos);if(y<=55295||y>=56320)return y;var S=this.input.charCodeAt(this.pos+1);return S<=56319||S>=57344?y:(y<<10)+S-56613888},Vr.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),S=this.pos,_=this.input.indexOf("*/",this.pos+=2);if(_===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=_+2,this.options.locations)for(var I=void 0,z=S;(I=K(this.input,z,this.pos))>-1;)++this.curLine,z=this.lineStart=I;this.options.onComment&&this.options.onComment(!0,this.input.slice(S+2,_),S,this.pos,y,this.curPosition())},Vr.skipLineComment=function(y){for(var S=this.pos,_=this.options.onComment&&this.curPosition(),I=this.input.charCodeAt(this.pos+=y);this.pos<this.input.length&&!C(I);)I=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(S+y,this.pos),S,this.pos,_,this.curPosition())},Vr.skipSpace=function(){e:for(;this.pos<this.input.length;){var y=this.input.charCodeAt(this.pos);switch(y){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(y>8&&y<14||y>=5760&&F.test(String.fromCharCode(y)))++this.pos;else break e}}},Vr.finishToken=function(y,S){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var _=this.type;this.type=y,this.value=S,this.updateContext(_)},Vr.readToken_dot=function(){var y=this.input.charCodeAt(this.pos+1);if(y>=48&&y<=57)return this.readNumber(!0);var S=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&S===46?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot))},Vr.readToken_slash=function(){var y=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):y===61?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},Vr.readToken_mult_modulo_exp=function(y){var S=this.input.charCodeAt(this.pos+1),_=1,I=y===42?v.star:v.modulo;return this.options.ecmaVersion>=7&&y===42&&S===42&&(++_,I=v.starstar,S=this.input.charCodeAt(this.pos+2)),S===61?this.finishOp(v.assign,_+1):this.finishOp(I,_)},Vr.readToken_pipe_amp=function(y){var S=this.input.charCodeAt(this.pos+1);if(S===y){if(this.options.ecmaVersion>=12){var _=this.input.charCodeAt(this.pos+2);if(_===61)return this.finishOp(v.assign,3)}return this.finishOp(y===124?v.logicalOR:v.logicalAND,2)}return S===61?this.finishOp(v.assign,2):this.finishOp(y===124?v.bitwiseOR:v.bitwiseAND,1)},Vr.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},Vr.readToken_plus_min=function(y){var S=this.input.charCodeAt(this.pos+1);return S===y?S===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||w.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(v.incDec,2):S===61?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},Vr.readToken_lt_gt=function(y){var S=this.input.charCodeAt(this.pos+1),_=1;return S===y?(_=y===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+_)===61?this.finishOp(v.assign,_+1):this.finishOp(v.bitShift,_)):S===33&&y===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(S===61&&(_=2),this.finishOp(v.relational,_))},Vr.readToken_eq_excl=function(y){var S=this.input.charCodeAt(this.pos+1);return S===61?this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&S===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(y===61?v.eq:v.prefix,1)},Vr.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var S=this.input.charCodeAt(this.pos+1);if(S===46){var _=this.input.charCodeAt(this.pos+2);if(_<48||_>57)return this.finishOp(v.questionDot,2)}if(S===63){if(y>=12){var I=this.input.charCodeAt(this.pos+2);if(I===61)return this.finishOp(v.assign,3)}return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},Vr.readToken_numberSign=function(){var y=this.options.ecmaVersion,S=35;if(y>=13&&(++this.pos,S=this.fullCharCodeAtPos(),d(S,!0)||S===92))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ce(S)+"'")},Vr.getTokenFromCode=function(y){switch(y){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.backQuote);case 48:var S=this.input.charCodeAt(this.pos+1);if(S===120||S===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(S===111||S===79)return this.readRadixNumber(8);if(S===98||S===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(y);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(y);case 124:case 38:return this.readToken_pipe_amp(y);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(y);case 60:case 62:return this.readToken_lt_gt(y);case 61:case 33:return this.readToken_eq_excl(y);case 63:return this.readToken_question();case 126:return this.finishOp(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Ce(y)+"'")},Vr.finishOp=function(y,S){var _=this.input.slice(this.pos,this.pos+S);return this.pos+=S,this.finishToken(y,_)},Vr.readRegexp=function(){for(var y,S,_=this.pos;;){this.pos>=this.input.length&&this.raise(_,"Unterminated regular expression");var I=this.input.charAt(this.pos);if(w.test(I)&&this.raise(_,"Unterminated regular expression"),y)y=!1;else{if(I==="[")S=!0;else if(I==="]"&&S)S=!1;else if(I==="/"&&!S)break;y=I==="\\"}++this.pos}var z=this.input.slice(_,this.pos);++this.pos;var ye=this.pos,Se=this.readWord1();this.containsEsc&&this.unexpected(ye);var Ge=this.regexpState||(this.regexpState=new tp(this));Ge.reset(_,z,Se),this.validateRegExpFlags(Ge),this.validateRegExpPattern(Ge);var it=null;try{it=new RegExp(z,Se)}catch{}return this.finishToken(v.regexp,{pattern:z,flags:Se,value:it})},Vr.readInt=function(y,S,_){for(var I=this.options.ecmaVersion>=12&&S===void 0,z=_&&this.input.charCodeAt(this.pos)===48,ye=this.pos,Se=0,Ge=0,it=0,dr=S==null?1/0:S;it<dr;++it,++this.pos){var Lr=this.input.charCodeAt(this.pos),ea=void 0;if(I&&Lr===95){z&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Ge===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),it===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ge=Lr;continue}if(Lr>=97?ea=Lr-97+10:Lr>=65?ea=Lr-65+10:Lr>=48&&Lr<=57?ea=Lr-48:ea=1/0,ea>=y)break;Ge=Lr,Se=Se*y+ea}return I&&Ge===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===ye||S!=null&&this.pos-ye!==S?null:Se};function WNe(y,S){return S?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function iQ(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}Vr.readRadixNumber=function(y){var S=this.pos;this.pos+=2;var _=this.readInt(y);return _==null&&this.raise(this.start+2,"Expected number in radix "+y),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(_=iQ(this.input.slice(S,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,_)},Vr.readNumber=function(y){var S=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(S,"Invalid number");var _=this.pos-S>=2&&this.input.charCodeAt(S)===48;_&&this.strict&&this.raise(S,"Invalid number");var I=this.input.charCodeAt(this.pos);if(!_&&!y&&this.options.ecmaVersion>=11&&I===110){var z=iQ(this.input.slice(S,this.pos));return++this.pos,d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,z)}_&&/[89]/.test(this.input.slice(S,this.pos))&&(_=!1),I===46&&!_&&(++this.pos,this.readInt(10),I=this.input.charCodeAt(this.pos)),(I===69||I===101)&&!_&&(I=this.input.charCodeAt(++this.pos),(I===43||I===45)&&++this.pos,this.readInt(10)===null&&this.raise(S,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var ye=WNe(this.input.slice(S,this.pos),_);return this.finishToken(v.num,ye)},Vr.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),S;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var _=++this.pos;S=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,S>1114111&&this.invalidStringToken(_,"Code point out of bounds")}else S=this.readHexChar(4);return S},Vr.readString=function(y){for(var S="",_=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var I=this.input.charCodeAt(this.pos);if(I===y)break;I===92?(S+=this.input.slice(_,this.pos),S+=this.readEscapedChar(!1),_=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)):(C(I)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return S+=this.input.slice(_,this.pos++),this.finishToken(v.string,S)};var sQ={};Vr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===sQ)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},Vr.invalidStringToken=function(y,S){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw sQ;this.raise(y,S)},Vr.readTmplToken=function(){for(var y="",S=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var _=this.input.charCodeAt(this.pos);if(_===96||_===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===v.template||this.type===v.invalidTemplate)?_===36?(this.pos+=2,this.finishToken(v.dollarBraceL)):(++this.pos,this.finishToken(v.backQuote)):(y+=this.input.slice(S,this.pos),this.finishToken(v.template,y));if(_===92)y+=this.input.slice(S,this.pos),y+=this.readEscapedChar(!0),S=this.pos;else if(C(_)){switch(y+=this.input.slice(S,this.pos),++this.pos,_){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:y+=`
|
|
114
114
|
`;break;default:y+=String.fromCharCode(_);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),S=this.pos}else++this.pos}},Vr.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(v.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Vr.readEscapedChar=function(y){var S=this.input.charCodeAt(++this.pos);switch(++this.pos,S){case 110:return`
|
|
115
115
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ce(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"),y){var _=this.pos-1;this.invalidStringToken(_,"Invalid escape sequence in template string")}default:if(S>=48&&S<=55){var I=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],z=parseInt(I,8);return z>255&&(I=I.slice(0,-1),z=parseInt(I,8)),this.pos+=I.length-1,S=this.input.charCodeAt(this.pos),(I!=="0"||S===56||S===57)&&(this.strict||y)&&this.invalidStringToken(this.pos-1-I.length,y?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(z)}return C(S)?"":String.fromCharCode(S)}},Vr.readHexChar=function(y){var S=this.pos,_=this.readInt(16,y);return _===null&&this.invalidStringToken(S,"Bad character escape sequence"),_},Vr.readWord1=function(){this.containsEsc=!1;for(var y="",S=!0,_=this.pos,I=this.options.ecmaVersion>=6;this.pos<this.input.length;){var z=this.fullCharCodeAtPos();if(f(z,I))this.pos+=z<=65535?1:2;else if(z===92){this.containsEsc=!0,y+=this.input.slice(_,this.pos);var ye=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Se=this.readCodePoint();(S?d:f)(Se,I)||this.invalidStringToken(ye,"Invalid Unicode escape"),y+=Ce(Se),_=this.pos}else break;S=!1}return y+this.input.slice(_,this.pos)},Vr.readWord=function(){var y=this.readWord1(),S=v.name;return this.keywords.test(y)&&(S=T[y]),this.finishToken(S,y)};var nQ="8.8.2";br.acorn={Parser:br,version:nQ,defaultOptions:Z,Position:Dt,SourceLocation:ce,getLineInfo:Re,Node:Hv,TokenType:h,tokTypes:v,keywordTypes:T,TokContext:eo,tokContexts:Mi,isIdentifierChar:f,isIdentifierStart:d,Token:Jw,isNewLine:C,lineBreak:w,lineBreakG:A,nonASCIIwhitespace:F};function GNe(y,S){return br.parse(y,S)}function zNe(y,S,_){return br.parseExpressionAt(y,S,_)}function HNe(y,S){return br.tokenizer(y,S)}t.Node=Hv,t.Parser=br,t.Position=Dt,t.SourceLocation=ce,t.TokContext=eo,t.Token=Jw,t.TokenType=h,t.defaultOptions=Z,t.getLineInfo=Re,t.isIdentifierChar=f,t.isIdentifierStart=d,t.isNewLine=C,t.keywordTypes=T,t.lineBreak=w,t.lineBreakG=A,t.nonASCIIwhitespace=F,t.parse=GNe,t.parseExpressionAt=zNe,t.tokContexts=Mi,t.tokTypes=v,t.tokenizer=HNe,t.version=nQ})});var Voe=E((wwr,DL)=>{"use strict";var GUe=Roe(),zUe=/^[\da-fA-F]+$/,HUe=/^\d+$/,Moe=new WeakMap;function joe(t){t=t.Parser.acorn||t;let e=Moe.get(t);if(!e){let r=t.tokTypes,i=t.TokContext,s=t.TokenType,n=new i("<tag",!1),a=new i("</tag",!1),o=new i("<tag>...</tag>",!0,!0),l={tc_oTag:n,tc_cTag:a,tc_expr:o},u={jsxName:new s("jsxName"),jsxText:new s("jsxText",{beforeExpr:!0}),jsxTagStart:new s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new s("jsxTagEnd")};u.jsxTagStart.updateContext=function(){this.context.push(o),this.context.push(n),this.exprAllowed=!1},u.jsxTagEnd.updateContext=function(c){let p=this.context.pop();p===n&&c===r.slash||p===a?(this.context.pop(),this.exprAllowed=this.curContext()===o):this.exprAllowed=!0},e={tokContexts:l,tokTypes:u},Moe.set(t,e)}return e}function mS(t){if(!t)return t;if(t.type==="JSXIdentifier")return t.name;if(t.type==="JSXNamespacedName")return t.namespace.name+":"+t.name.name;if(t.type==="JSXMemberExpression")return mS(t.object)+"."+mS(t.property)}DL.exports=function(t){return t=t||{},function(e){return YUe({allowNamespaces:t.allowNamespaces!==!1,allowNamespacedObjects:!!t.allowNamespacedObjects},e)}};Object.defineProperty(DL.exports,"tokTypes",{get:function(){return joe(CL()).tokTypes},configurable:!0,enumerable:!0});function YUe(t,e){let r=e.acorn||CL(),i=joe(r),s=r.tokTypes,n=i.tokTypes,a=r.tokContexts,o=i.tokContexts.tc_oTag,l=i.tokContexts.tc_cTag,u=i.tokContexts.tc_expr,c=r.isNewLine,p=r.isIdentifierStart,d=r.isIdentifierChar;return class extends e{static get acornJsx(){return i}jsx_readToken(){let f="",h=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let m=this.input.charCodeAt(this.pos);switch(m){case 60:case 123:return this.pos===this.start?m===60&&this.exprAllowed?(++this.pos,this.finishToken(n.jsxTagStart)):this.getTokenFromCode(m):(f+=this.input.slice(h,this.pos),this.finishToken(n.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 `"+(m===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:c(m)?(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),m;return++this.pos,h===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,m=f?`
|
|
116
116
|
`:`\r
|
|
117
|
-
`):m=String.fromCharCode(h),this.options.locations&&(++this.curLine,this.lineStart=this.pos),m}jsx_readString(f){let h="",m=++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(m,this.pos),h+=this.jsx_readEntity(),m=this.pos):c(g)?(h+=this.input.slice(m,this.pos),h+=this.jsx_readNewLine(!1),m=this.pos):++this.pos}return h+=this.input.slice(m,this.pos++),this.finishToken(s.string,h)}jsx_readEntity(){let f="",h=0,m,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),zUe.test(f)&&(m=String.fromCharCode(parseInt(f,16)))):(f=f.substr(1),HUe.test(f)&&(m=String.fromCharCode(parseInt(f,10)))):m=GUe[f];break}f+=g}return m||(this.pos=b,"&")}jsx_readWord(){let f,h=this.pos;do f=this.input.charCodeAt(++this.pos);while(d(f)||f===45);return this.finishToken(n.jsxName,this.input.slice(h,this.pos))}jsx_parseIdentifier(){let f=this.startNode();return this.type===n.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,m=this.jsx_parseIdentifier();if(!t.allowNamespaces||!this.eat(s.colon))return m;var g=this.startNodeAt(f,h);return g.namespace=m,g.name=this.jsx_parseIdentifier(),this.finishNode(g,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===n.jsxTagEnd)return"";let f=this.start,h=this.startLoc,m=this.jsx_parseNamespacedName();for(this.type===s.dot&&m.type==="JSXNamespacedName"&&!t.allowNamespacedObjects&&this.unexpected();this.eat(s.dot);){let g=this.startNodeAt(f,h);g.object=m,g.property=this.jsx_parseIdentifier(),m=this.finishNode(g,"JSXMemberExpression")}return m}jsx_parseAttributeValue(){switch(this.type){case s.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 n.jsxTagStart:case s.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===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(f,"JSXExpressionContainer")}jsx_parseAttribute(){let f=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),f.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(f,"JSXSpreadAttribute")):(f.name=this.jsx_parseNamespacedName(),f.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(f,"JSXAttribute"))}jsx_parseOpeningElementAt(f,h){let m=this.startNodeAt(f,h);m.attributes=[];let g=this.jsx_parseElementName();for(g&&(m.name=g);this.type!==s.slash&&this.type!==n.jsxTagEnd;)m.attributes.push(this.jsx_parseAttribute());return m.selfClosing=this.eat(s.slash),this.expect(n.jsxTagEnd),this.finishNode(m,g?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(f,h){let m=this.startNodeAt(f,h),g=this.jsx_parseElementName();return g&&(m.name=g),this.expect(n.jsxTagEnd),this.finishNode(m,g?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(f,h){let m=this.startNodeAt(f,h),g=[],b=this.jsx_parseOpeningElementAt(f,h),T=null;if(!b.selfClosing){e:for(;;)switch(this.type){case n.jsxTagStart:if(f=this.start,h=this.startLoc,this.next(),this.eat(s.slash)){T=this.jsx_parseClosingElementAt(f,h);break e}g.push(this.jsx_parseElementAt(f,h));break;case n.jsxText:g.push(this.parseExprAtom());break;case s.braceL:g.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}mS(T.name)!==mS(b.name)&&this.raise(T.start,"Expected corresponding JSX closing tag for <"+mS(b.name)+">")}let x=b.name?"Element":"Fragment";return m["opening"+x]=b,m["closing"+x]=T,m.children=g,this.type===s.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(m,"JSX"+x)}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)}parseExprAtom(f){return this.type===n.jsxText?this.jsx_parseText():this.type===n.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(f)}readToken(f){let h=this.curContext();if(h===u)return this.jsx_readToken();if(h===o||h===l){if(p(f))return this.jsx_readWord();if(f==62)return++this.pos,this.finishToken(n.jsxTagEnd);if((f===34||f===39)&&h==o)return this.jsx_readString(f)}return f===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(n.jsxTagStart)):super.readToken(f)}updateContext(f){if(this.type==s.braceL){var h=this.curContext();h==o?this.context.push(a.b_expr):h==u?this.context.push(a.b_tmpl):super.updateContext(f),this.exprAllowed=!0}else if(this.type===s.slash&&f===n.jsxTagStart)this.context.length-=2,this.context.push(l),this.exprAllowed=!1;else return super.updateContext(f)}}}});var cc={};nm(cc,{__assign:()=>BL,__asyncDelegator:()=>bqe,__asyncGenerator:()=>gqe,__asyncValues:()=>vqe,__await:()=>yS,__awaiter:()=>pqe,__classPrivateFieldGet:()=>wqe,__classPrivateFieldIn:()=>Pqe,__classPrivateFieldSet:()=>Aqe,__createBinding:()=>jL,__decorate:()=>Pp,__esDecorate:()=>aqe,__exportStar:()=>dqe,__extends:()=>iqe,__generator:()=>fqe,__importDefault:()=>Eqe,__importStar:()=>xqe,__makeTemplateObject:()=>Sqe,__metadata:()=>cqe,__param:()=>nqe,__propKey:()=>lqe,__read:()=>Yoe,__rest:()=>sqe,__runInitializers:()=>oqe,__setFunctionName:()=>uqe,__spread:()=>hqe,__spreadArray:()=>yqe,__spreadArrays:()=>mqe,__values:()=>ML});function iqe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");RL(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function sqe(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(r[i[s]]=t[i[s]]);return r}function Pp(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(s<3?a(n):s>3?a(e,r,n):a(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n}function nqe(t,e){return function(r,i){e(r,i,t)}}function aqe(t,e,r,i,s,n){function a(b){if(b!==void 0&&typeof b!="function")throw new TypeError("Function expected");return b}for(var o=i.kind,l=o==="getter"?"get":o==="setter"?"set":"value",u=!e&&t?i.static?t:t.prototype:null,c=e||(u?Object.getOwnPropertyDescriptor(u,i.name):{}),p,d=!1,f=r.length-1;f>=0;f--){var h={};for(var m in i)h[m]=m==="access"?{}:i[m];for(var m in i.access)h.access[m]=i.access[m];h.addInitializer=function(b){if(d)throw new TypeError("Cannot add initializers after decoration has completed");n.push(a(b||null))};var g=(0,r[f])(o==="accessor"?{get:c.get,set:c.set}:c[l],h);if(o==="accessor"){if(g===void 0)continue;if(g===null||typeof g!="object")throw new TypeError("Object expected");(p=a(g.get))&&(c.get=p),(p=a(g.set))&&(c.set=p),(p=a(g.init))&&s.push(p)}else(p=a(g))&&(o==="field"?s.push(p):c[l]=p)}u&&Object.defineProperty(u,i.name,c),d=!0}function oqe(t,e,r){for(var i=arguments.length>2,s=0;s<e.length;s++)r=i?e[s].call(t,r):e[s].call(t);return i?r:void 0}function lqe(t){return typeof t=="symbol"?t:"".concat(t)}function uqe(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function cqe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function pqe(t,e,r,i){function s(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function o(c){try{u(i.next(c))}catch(p){a(p)}}function l(c){try{u(i.throw(c))}catch(p){a(p)}}function u(c){c.done?n(c.value):s(c.value).then(o,l)}u((i=i.apply(t,e||[])).next())})}function fqe(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,s,n,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(u){return function(c){return l([u,c])}}function l(u){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(r=0)),r;)try{if(i=1,s&&(n=u[0]&2?s.return:u[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;switch(s=0,n&&(u=[u[0]&2,n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,s=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){r.label=u[1];break}if(u[0]===6&&r.label<n[1]){r.label=n[1],n=u;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(u);break}n[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(c){u=[6,c],s=0}finally{i=n=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function dqe(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&jL(e,t,r)}function ML(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yoe(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var i=r.call(t),s,n=[],a;try{for(;(e===void 0||e-- >0)&&!(s=i.next()).done;)n.push(s.value)}catch(o){a={error:o}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return n}function hqe(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Yoe(arguments[e]));return t}function mqe(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var i=Array(t),s=0,e=0;e<r;e++)for(var n=arguments[e],a=0,o=n.length;a<o;a++,s++)i[s]=n[a];return i}function yqe(t,e,r){if(r||arguments.length===2)for(var i=0,s=e.length,n;i<s;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function yS(t){return this instanceof yS?(this.v=t,this):new yS(t)}function gqe(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(t,e||[]),s,n=[];return s={},a("next"),a("throw"),a("return"),s[Symbol.asyncIterator]=function(){return this},s;function a(d){i[d]&&(s[d]=function(f){return new Promise(function(h,m){n.push([d,f,h,m])>1||o(d,f)})})}function o(d,f){try{l(i[d](f))}catch(h){p(n[0][3],h)}}function l(d){d.value instanceof yS?Promise.resolve(d.value.v).then(u,c):p(n[0][2],d)}function u(d){o("next",d)}function c(d){o("throw",d)}function p(d,f){d(f),n.shift(),n.length&&o(n[0][0],n[0][1])}}function bqe(t){var e,r;return e={},i("next"),i("throw",function(s){throw s}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(s,n){e[s]=t[s]?function(a){return(r=!r)?{value:yS(t[s](a)),done:!1}:n?n(a):a}:n}}function vqe(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof ML=="function"?ML(t):t[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=t[n]&&function(a){return new Promise(function(o,l){a=t[n](a),s(o,l,a.done,a.value)})}}function s(n,a,o,l){Promise.resolve(l).then(function(u){n({value:u,done:o})},a)}}function Sqe(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function xqe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&jL(e,t,r);return Tqe(e,t),e}function Eqe(t){return t&&t.__esModule?t:{default:t}}function wqe(t,e,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(t):i?i.value:e.get(t)}function Aqe(t,e,r,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,r):s?s.value=r:e.set(t,r),r}function Pqe(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}var RL,BL,jL,Tqe,yu=ji(()=>{RL=function(t,e){return RL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},RL(t,e)};BL=function(){return BL=Object.assign||function(e){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},BL.apply(this,arguments)};jL=Object.create?function(t,e,r,i){i===void 0&&(i=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,s)}:function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]};Tqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var li={};nm(li,{__addDisposableResource:()=>mle,__assign:()=>I6,__asyncDelegator:()=>ole,__asyncGenerator:()=>ale,__asyncValues:()=>lle,__await:()=>Z1,__awaiter:()=>ele,__classPrivateFieldGet:()=>fle,__classPrivateFieldIn:()=>hle,__classPrivateFieldSet:()=>dle,__createBinding:()=>k6,__decorate:()=>Sr,__disposeResources:()=>yle,__esDecorate:()=>_qe,__exportStar:()=>rle,__extends:()=>Joe,__generator:()=>tle,__importDefault:()=>ple,__importStar:()=>cle,__makeTemplateObject:()=>ule,__metadata:()=>Zoe,__param:()=>Qoe,__propKey:()=>Dqe,__read:()=>UL,__rest:()=>Xoe,__runInitializers:()=>Cqe,__setFunctionName:()=>Nqe,__spread:()=>ile,__spreadArray:()=>nle,__spreadArrays:()=>sle,__values:()=>O6,default:()=>kqe});function Joe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");VL(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Xoe(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(r[i[s]]=t[i[s]]);return r}function Sr(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(s<3?a(n):s>3?a(e,r,n):a(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n}function Qoe(t,e){return function(r,i){e(r,i,t)}}function _qe(t,e,r,i,s,n){function a(b){if(b!==void 0&&typeof b!="function")throw new TypeError("Function expected");return b}for(var o=i.kind,l=o==="getter"?"get":o==="setter"?"set":"value",u=!e&&t?i.static?t:t.prototype:null,c=e||(u?Object.getOwnPropertyDescriptor(u,i.name):{}),p,d=!1,f=r.length-1;f>=0;f--){var h={};for(var m in i)h[m]=m==="access"?{}:i[m];for(var m in i.access)h.access[m]=i.access[m];h.addInitializer=function(b){if(d)throw new TypeError("Cannot add initializers after decoration has completed");n.push(a(b||null))};var g=(0,r[f])(o==="accessor"?{get:c.get,set:c.set}:c[l],h);if(o==="accessor"){if(g===void 0)continue;if(g===null||typeof g!="object")throw new TypeError("Object expected");(p=a(g.get))&&(c.get=p),(p=a(g.set))&&(c.set=p),(p=a(g.init))&&s.unshift(p)}else(p=a(g))&&(o==="field"?s.unshift(p):c[l]=p)}u&&Object.defineProperty(u,i.name,c),d=!0}function Cqe(t,e,r){for(var i=arguments.length>2,s=0;s<e.length;s++)r=i?e[s].call(t,r):e[s].call(t);return i?r:void 0}function Dqe(t){return typeof t=="symbol"?t:"".concat(t)}function Nqe(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function Zoe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function ele(t,e,r,i){function s(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function o(c){try{u(i.next(c))}catch(p){a(p)}}function l(c){try{u(i.throw(c))}catch(p){a(p)}}function u(c){c.done?n(c.value):s(c.value).then(o,l)}u((i=i.apply(t,e||[])).next())})}function tle(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,s,n,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(u){return function(c){return l([u,c])}}function l(u){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(r=0)),r;)try{if(i=1,s&&(n=u[0]&2?s.return:u[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;switch(s=0,n&&(u=[u[0]&2,n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,s=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){r.label=u[1];break}if(u[0]===6&&r.label<n[1]){r.label=n[1],n=u;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(u);break}n[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(c){u=[6,c],s=0}finally{i=n=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function rle(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&k6(e,t,r)}function O6(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function UL(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var i=r.call(t),s,n=[],a;try{for(;(e===void 0||e-- >0)&&!(s=i.next()).done;)n.push(s.value)}catch(o){a={error:o}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return n}function ile(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(UL(arguments[e]));return t}function sle(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var i=Array(t),s=0,e=0;e<r;e++)for(var n=arguments[e],a=0,o=n.length;a<o;a++,s++)i[s]=n[a];return i}function nle(t,e,r){if(r||arguments.length===2)for(var i=0,s=e.length,n;i<s;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function Z1(t){return this instanceof Z1?(this.v=t,this):new Z1(t)}function ale(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(t,e||[]),s,n=[];return s={},a("next"),a("throw"),a("return"),s[Symbol.asyncIterator]=function(){return this},s;function a(d){i[d]&&(s[d]=function(f){return new Promise(function(h,m){n.push([d,f,h,m])>1||o(d,f)})})}function o(d,f){try{l(i[d](f))}catch(h){p(n[0][3],h)}}function l(d){d.value instanceof Z1?Promise.resolve(d.value.v).then(u,c):p(n[0][2],d)}function u(d){o("next",d)}function c(d){o("throw",d)}function p(d,f){d(f),n.shift(),n.length&&o(n[0][0],n[0][1])}}function ole(t){var e,r;return e={},i("next"),i("throw",function(s){throw s}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(s,n){e[s]=t[s]?function(a){return(r=!r)?{value:Z1(t[s](a)),done:!1}:n?n(a):a}:n}}function lle(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof O6=="function"?O6(t):t[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=t[n]&&function(a){return new Promise(function(o,l){a=t[n](a),s(o,l,a.done,a.value)})}}function s(n,a,o,l){Promise.resolve(l).then(function(u){n({value:u,done:o})},a)}}function ule(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function cle(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&k6(e,t,r);return Iqe(e,t),e}function ple(t){return t&&t.__esModule?t:{default:t}}function fle(t,e,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(t):i?i.value:e.get(t)}function dle(t,e,r,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,r):s?s.value=r:e.set(t,r),r}function hle(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function mle(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if(typeof i!="function")throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:r})}else r&&t.stack.push({async:!0});return e}function yle(t){function e(i){t.error=t.hasError?new Oqe(i,t.error,"An error was suppressed during disposal."):i,t.hasError=!0}function r(){for(;t.stack.length;){var i=t.stack.pop();try{var s=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(s).then(r,function(n){return e(n),r()})}catch(n){e(n)}}if(t.hasError)throw t.error}return r()}var VL,I6,k6,Iqe,Oqe,kqe,Zr=ji(()=>{VL=function(t,e){return VL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},VL(t,e)};I6=function(){return I6=Object.assign||function(e){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I6.apply(this,arguments)};k6=Object.create?function(t,e,r,i){i===void 0&&(i=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,s)}:function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]};Iqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Oqe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var i=new Error(r);return i.name="SuppressedError",i.error=t,i.suppressed=e,i};kqe={__extends:Joe,__assign:I6,__rest:Xoe,__decorate:Sr,__param:Qoe,__metadata:Zoe,__awaiter:ele,__generator:tle,__createBinding:k6,__exportStar:rle,__values:O6,__read:UL,__spread:ile,__spreadArrays:sle,__spreadArray:nle,__await:Z1,__asyncGenerator:ale,__asyncDelegator:ole,__asyncValues:lle,__makeTemplateObject:ule,__importStar:cle,__importDefault:ple,__classPrivateFieldGet:fle,__classPrivateFieldSet:dle,__classPrivateFieldIn:hle,__addDisposableResource:mle,__disposeResources:yle}});var vs=E(vS=>{"use strict";Object.defineProperty(vS,"__esModule",{value:!0});vS.Def=void 0;var eg=(Zr(),ar(li)),Tle=Object.prototype,F6=Tle.toString,Sl=Tle.hasOwnProperty,bS=function(){function t(){}return t.prototype.assert=function(e,r){if(!this.check(e,r)){var i=$L(e);throw new Error(i+" does not match type "+this)}return!0},t.prototype.arrayOf=function(){var e=this;return new qL(e)},t}(),qL=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.elemType=r,i.kind="ArrayType",i}return e.prototype.toString=function(){return"["+this.elemType+"]"},e.prototype.check=function(r,i){var s=this;return Array.isArray(r)&&r.every(function(n){return s.elemType.check(n,i)})},e}(bS),gle=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.value=r,i.kind="IdentityType",i}return e.prototype.toString=function(){return String(this.value)},e.prototype.check=function(r,i){var s=r===this.value;return!s&&typeof i=="function"&&i(this,r),s},e}(bS),ble=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.fields=r,i.kind="ObjectType",i}return e.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},e.prototype.check=function(r,i){return F6.call(r)===F6.call({})&&this.fields.every(function(s){return s.type.check(r[s.name],i)})},e}(bS),vle=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.types=r,i.kind="OrType",i}return e.prototype.toString=function(){return this.types.join(" | ")},e.prototype.check=function(r,i){return this.types.some(function(s){return s.check(r,i)})},e}(bS),gS=function(t){(0,eg.__extends)(e,t);function e(r,i){var s=t.call(this)||this;return s.name=r,s.predicate=i,s.kind="PredicateType",s}return e.prototype.toString=function(){return this.name},e.prototype.check=function(r,i){var s=this.predicate(r,i);return!s&&typeof i=="function"&&i(this,r),s},e}(bS),L6=function(){function t(e,r){this.type=e,this.typeName=r,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return t.prototype.isSupertypeOf=function(e){if(e instanceof t){if(this.finalized!==!0||e.finalized!==!0)throw new Error("");return Sl.call(e.allSupertypes,this.typeName)}else throw new Error(e+" is not a Def")},t.prototype.checkAllFields=function(e,r){var i=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function s(n){var a=i[n],o=a.type,l=a.getValue(e);return o.check(l,r)}return e!==null&&typeof e=="object"&&Object.keys(i).every(s)},t.prototype.bases=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=this.baseNames;if(this.finalized){if(e.length!==i.length)throw new Error("");for(var s=0;s<e.length;s++)if(e[s]!==i[s])throw new Error("");return this}return e.forEach(function(n){i.indexOf(n)<0&&i.push(n)}),this},t}();vS.Def=L6;var Sle=function(){function t(e,r,i,s){this.name=e,this.type=r,this.defaultFn=i,this.hidden=!!s}return t.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},t.prototype.getValue=function(e){var r=e[this.name];return typeof r<"u"||typeof this.defaultFn=="function"&&(r=this.defaultFn.call(e)),r},t}();function $L(t){return Array.isArray(t)?"["+t.map($L).join(", ")+"]":t&&typeof t=="object"?"{ "+Object.keys(t).map(function(e){return e+": "+t[e]}).join(", ")+" }":JSON.stringify(t)}function Lqe(t){var e={or:function(){for(var ce=[],Re=0;Re<arguments.length;Re++)ce[Re]=arguments[Re];return new vle(ce.map(function(Z){return e.from(Z)}))},from:function(ce,Re){if(ce instanceof qL||ce instanceof gle||ce instanceof ble||ce instanceof vle||ce instanceof gS)return ce;if(ce instanceof L6)return ce.type;if(o.check(ce)){if(ce.length!==1)throw new Error("only one element type is permitted for typed arrays");return new qL(e.from(ce[0]))}if(l.check(ce))return new ble(Object.keys(ce).map(function(Ee){return new Sle(Ee,e.from(ce[Ee],Ee))}));if(typeof ce=="function"){var Z=r.indexOf(ce);if(Z>=0)return i[Z];if(typeof Re!="string")throw new Error("missing name");return new gS(Re,ce)}return new gle(ce)},def:function(ce){return Sl.call(b,ce)?b[ce]:b[ce]=new x(ce)},hasDef:function(ce){return Sl.call(b,ce)}},r=[],i=[];function s(ce,Re){var Z=F6.call(Re),Ee=new gS(ce,function(xe){return F6.call(xe)===Z});return Re&&typeof Re.constructor=="function"&&(r.push(Re.constructor),i.push(Ee)),Ee}var n=s("string","truthy"),a=s("function",function(){}),o=s("array",[]),l=s("object",{}),u=s("RegExp",/./),c=s("Date",new Date),p=s("number",3),d=s("boolean",!0),f=s("null",null),h=s("undefined",void 0),m=typeof BigInt=="function"?s("BigInt",BigInt(1234)):new gS("BigInt",function(){return!1}),g={string:n,function:a,array:o,object:l,RegExp:u,Date:c,number:p,boolean:d,null:f,undefined:h,BigInt:m},b=Object.create(null);function T(ce){if(ce&&typeof ce=="object"){var Re=ce.type;if(typeof Re=="string"&&Sl.call(b,Re)){var Z=b[Re];if(Z.finalized)return Z}}return null}var x=function(ce){(0,eg.__extends)(Re,ce);function Re(Z){var Ee=ce.call(this,new gS(Z,function(xe,we){return Ee.check(xe,we)}),Z)||this;return Ee}return Re.prototype.check=function(Z,Ee){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(Z===null||typeof Z!="object")return!1;var xe=T(Z);return xe?Ee&&xe===this?this.checkAllFields(Z,Ee):this.isSupertypeOf(xe)?Ee?xe.checkAllFields(Z,Ee)&&this.checkAllFields(Z,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields(Z,Ee):!1},Re.prototype.build=function(){for(var Z=this,Ee=[],xe=0;xe<arguments.length;xe++)Ee[xe]=arguments[xe];if(this.buildParams=Ee,this.buildable)return this;this.field("type",String,function(){return Z.typeName}),this.buildable=!0;var we=function(me,pe,le,Fe){if(!Sl.call(me,pe)){var be=Z.allFields;if(!Sl.call(be,pe))throw new Error(""+pe);var _e=be[pe],Ze=_e.type,Ct;if(Fe)Ct=le;else if(_e.defaultFn)Ct=_e.defaultFn.call(me);else{var ht="no value or default function given for field "+JSON.stringify(pe)+" of "+Z.typeName+"("+Z.buildParams.map(function(nr){return be[nr]}).join(", ")+")";throw new Error(ht)}if(!Ze.check(Ct))throw new Error($L(Ct)+" does not match field "+_e+" of type "+Z.typeName);me[pe]=Ct}},Be=function(){for(var me=[],pe=0;pe<arguments.length;pe++)me[pe]=arguments[pe];var le=me.length;if(!Z.finalized)throw new Error("attempting to instantiate unfinalized type "+Z.typeName);var Fe=Object.create(C);if(Z.buildParams.forEach(function(be,_e){_e<le?we(Fe,be,me[_e],!0):we(Fe,be,null,!1)}),Object.keys(Z.allFields).forEach(function(be){we(Fe,be,null,!1)}),Fe.type!==Z.typeName)throw new Error("");return Fe};return Be.from=function(me){if(!Z.finalized)throw new Error("attempting to instantiate unfinalized type "+Z.typeName);var pe=Object.create(C);if(Object.keys(Z.allFields).forEach(function(le){Sl.call(me,le)?we(pe,le,me[le],!0):we(pe,le,null,!1)}),pe.type!==Z.typeName)throw new Error("");return pe},Object.defineProperty(A,F(this.typeName),{enumerable:!0,value:Be}),this},Re.prototype.field=function(Z,Ee,xe,we){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify(Z)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[Z]=new Sle(Z,e.from(Ee),xe,we),this)},Re.prototype.finalize=function(){var Z=this;if(!this.finalized){var Ee=this.allFields,xe=this.allSupertypes;this.baseNames.forEach(function(Be){var me=b[Be];if(me instanceof L6)me.finalize(),Ue(Ee,me.allFields),Ue(xe,me.allSupertypes);else{var pe="unknown supertype name "+JSON.stringify(Be)+" for subtype "+JSON.stringify(Z.typeName);throw new Error(pe)}}),Ue(Ee,this.ownFields),xe[this.typeName]=this,this.fieldNames.length=0;for(var we in Ee)Sl.call(Ee,we)&&!Ee[we].hidden&&this.fieldNames.push(we);Object.defineProperty(X,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,Ce(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&ne(this.typeName)}},Re}(L6);function v(ce){if(!Sl.call(b,ce))throw new Error("");var Re=b[ce];if(Re.finalized!==!0)throw new Error("");return Re.supertypeList.slice(1)}function w(ce){for(var Re={},Z=Object.keys(b),Ee=Z.length,xe=0;xe<Ee;++xe){var we=Z[xe],Be=b[we];if(Be.finalized!==!0)throw new Error(""+we);for(var me=0;me<Be.supertypeList.length;++me){var pe=Be.supertypeList[me];if(Sl.call(ce,pe)){Re[we]=pe;break}}}return Re}var A=Object.create(null),C={};function K(ce,Re){var Z=C[ce];return h.check(Re)?delete C[ce]:(a.assert(Re),Object.defineProperty(C,ce,{enumerable:!0,configurable:!0,value:Re})),Z}function F(ce){return ce.replace(/^[A-Z]+/,function(Re){var Z=Re.length;switch(Z){case 0:return"";case 1:return Re.toLowerCase();default:return Re.slice(0,Z-1).toLowerCase()+Re.charAt(Z-1)}})}function Q(ce){return ce=F(ce),ce.replace(/(Expression)?$/,"Statement")}var X={};function Te(ce){var Re=T(ce);if(Re)return Re.fieldNames.slice(0);if("type"in ce)throw new Error("did not recognize object of type "+JSON.stringify(ce.type));return Object.keys(ce)}function qe(ce,Re){var Z=T(ce);if(Z){var Ee=Z.allFields[Re];if(Ee)return Ee.getValue(ce)}return ce&&ce[Re]}function Ke(ce,Re,Z){Te(ce).forEach(function(Ee){Re.call(this,Ee,qe(ce,Ee))},Z)}function ae(ce,Re,Z){return Te(ce).some(function(Ee){return Re.call(this,Ee,qe(ce,Ee))},Z)}function ne(ce){var Re=Q(ce);if(!A[Re]){var Z=A[F(ce)];if(Z){var Ee=function(){for(var xe=[],we=0;we<arguments.length;we++)xe[we]=arguments[we];return A.expressionStatement(Z.apply(A,xe))};Ee.from=function(){for(var xe=[],we=0;we<arguments.length;we++)xe[we]=arguments[we];return A.expressionStatement(Z.from.apply(A,xe))},A[Re]=Ee}}}function Ce(ce,Re){Re.length=0,Re.push(ce);for(var Z=Object.create(null),Ee=0;Ee<Re.length;++Ee){ce=Re[Ee];var xe=b[ce];if(xe.finalized!==!0)throw new Error("");Sl.call(Z,ce)&&delete Re[Z[ce]],Z[ce]=Ee,Re.push.apply(Re,xe.baseNames)}for(var we=0,Be=we,me=Re.length;Be<me;++Be)Sl.call(Re,Be)&&(Re[we++]=Re[Be]);Re.length=we}function Ue(ce,Re){return Object.keys(Re).forEach(function(Z){ce[Z]=Re[Z]}),ce}function Dt(){Object.keys(b).forEach(function(ce){b[ce].finalize()})}return{Type:e,builtInTypes:g,getSupertypeNames:v,computeSupertypeLookupTable:w,builders:A,defineMethod:K,getBuilderName:F,getStatementBuilderName:Q,namedTypes:X,getFieldNames:Te,getFieldValue:qe,eachField:Ke,someField:ae,finalize:Dt}}vS.default=Lqe});var KL=E((B6,xle)=>{"use strict";Object.defineProperty(B6,"__esModule",{value:!0});var Fqe=(Zr(),ar(li)),Rqe=(0,Fqe.__importDefault)(vs()),Bqe=Object.prototype,R6=Bqe.hasOwnProperty;function Mqe(t){var e=t.use(Rqe.default),r=e.builtInTypes.array,i=e.builtInTypes.number,s=function p(d,f,h){if(!(this instanceof p))throw new Error("Path constructor cannot be invoked without 'new'");if(f){if(!(f instanceof p))throw new Error("")}else f=null,h=null;this.value=d,this.parentPath=f,this.name=h,this.__childCache=null},n=s.prototype;function a(p){return p.__childCache||(p.__childCache=Object.create(null))}function o(p,d){var f=a(p),h=p.getValueProperty(d),m=f[d];return(!R6.call(f,d)||m.value!==h)&&(m=f[d]=new p.constructor(h,p,d)),m}n.getValueProperty=function(d){return this.value[d]},n.get=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];for(var h=this,m=d.length,g=0;g<m;++g)h=o(h,d[g]);return h},n.each=function(d,f){for(var h=[],m=this.value.length,g=0,g=0;g<m;++g)R6.call(this.value,g)&&(h[g]=this.get(g));for(f=f||this,g=0;g<m;++g)R6.call(h,g)&&d.call(f,h[g])},n.map=function(d,f){var h=[];return this.each(function(m){h.push(d.call(this,m))},f),h},n.filter=function(d,f){var h=[];return this.each(function(m){d.call(this,m)&&h.push(m)},f),h};function l(){}function u(p,d,f,h){if(r.assert(p.value),d===0)return l;var m=p.value.length;if(m<1)return l;var g=arguments.length;g===2?(f=0,h=m):g===3?(f=Math.max(f,0),h=m):(f=Math.max(f,0),h=Math.min(h,m)),i.assert(f),i.assert(h);for(var b=Object.create(null),T=a(p),x=f;x<h;++x)if(R6.call(p.value,x)){var v=p.get(x);if(v.name!==x)throw new Error("");var w=x+d;v.name=w,b[w]=v,delete T[x]}return delete T.length,function(){for(var A in b){var C=b[A];if(C.name!==+A)throw new Error("");T[A]=C,p.value[A]=C.value}}}n.shift=function(){var d=u(this,-1),f=this.value.shift();return d(),f},n.unshift=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];var h=u(this,d.length),m=this.value.unshift.apply(this.value,d);return h(),m},n.push=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];return r.assert(this.value),delete a(this).length,this.value.push.apply(this.value,d)},n.pop=function(){r.assert(this.value);var d=a(this);return delete d[this.value.length-1],delete d.length,this.value.pop()},n.insertAt=function(d){var f=arguments.length,h=u(this,f-1,d);if(h===l&&f<=1)return this;d=Math.max(d,0);for(var m=1;m<f;++m)this.value[d+m-1]=arguments[m];return h(),this},n.insertBefore=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];for(var h=this.parentPath,m=d.length,g=[this.name],b=0;b<m;++b)g.push(d[b]);return h.insertAt.apply(h,g)},n.insertAfter=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];for(var h=this.parentPath,m=d.length,g=[this.name+1],b=0;b<m;++b)g.push(d[b]);return h.insertAt.apply(h,g)};function c(p){if(!(p instanceof s))throw new Error("");var d=p.parentPath;if(!d)return p;var f=d.value,h=a(d);if(f[p.name]===p.value)h[p.name]=p;else if(r.check(f)){var m=f.indexOf(p.value);m>=0&&(h[p.name=m]=p)}else f[p.name]=p.value,h[p.name]=p;if(f[p.name]!==p.value)throw new Error("");if(p.parentPath.get(p.name)!==p)throw new Error("");return p}return n.replace=function(d){var f=[],h=this.parentPath.value,m=a(this.parentPath),g=arguments.length;if(c(this),r.check(h)){for(var b=h.length,T=u(this.parentPath,g-1,this.name+1),x=[this.name,1],v=0;v<g;++v)x.push(arguments[v]);var w=h.splice.apply(h,x);if(w[0]!==this.value)throw new Error("");if(h.length!==b-1+g)throw new Error("");if(T(),g===0)delete this.value,delete m[this.name],this.__childCache=null;else{if(h[this.name]!==d)throw new Error("");for(this.value!==d&&(this.value=d,this.__childCache=null),v=0;v<g;++v)f.push(this.parentPath.get(this.name+v));if(f[0]!==this)throw new Error("")}}else if(g===1)this.value!==d&&(this.__childCache=null),this.value=h[this.name]=d,f.push(this);else if(g===0)delete h[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return f},s}B6.default=Mqe;xle.exports=B6.default});var wle=E((M6,Ele)=>{"use strict";Object.defineProperty(M6,"__esModule",{value:!0});var jqe=(Zr(),ar(li)),Vqe=(0,jqe.__importDefault)(vs()),tg=Object.prototype.hasOwnProperty;function Uqe(t){var e=t.use(Vqe.default),r=e.Type,i=e.namedTypes,s=i.Node,n=i.Expression,a=e.builtInTypes.array,o=e.builders,l=function v(w,A){if(!(this instanceof v))throw new Error("Scope constructor cannot be invoked without 'new'");c.check(w.value)||u.assert(w.value);var C;if(A){if(!(A instanceof v))throw new Error("");C=A.depth+1}else A=null,C=0;Object.defineProperties(this,{path:{value:w},node:{value:w.value},isGlobal:{value:!A,enumerable:!0},depth:{value:C},parent:{value:A},bindings:{value:{}},types:{value:{}}})},u=r.or(i.Program,i.Function,i.CatchClause),c=r.or(i.Function,i.ClassDeclaration,i.ClassExpression,i.InterfaceDeclaration,i.TSInterfaceDeclaration,i.TypeAlias,i.TSTypeAliasDeclaration),p=r.or(i.TypeParameter,i.TSTypeParameter);l.isEstablishedBy=function(v){return u.check(v)||c.check(v)};var d=l.prototype;d.didScan=!1,d.declares=function(v){return this.scan(),tg.call(this.bindings,v)},d.declaresType=function(v){return this.scan(),tg.call(this.types,v)},d.declareTemporary=function(v){if(v){if(!/^[a-z$_]/i.test(v))throw new Error("")}else v="t$";v+=this.depth.toString(36)+"$",this.scan();for(var w=0;this.declares(v+w);)++w;var A=v+w;return this.bindings[A]=e.builders.identifier(A)},d.injectTemporary=function(v,w){v||(v=this.declareTemporary());var A=this.path.get("body");return i.BlockStatement.check(A.value)&&(A=A.get("body")),A.unshift(o.variableDeclaration("var",[o.variableDeclarator(v,w||null)])),v},d.scan=function(v){if(v||!this.didScan){for(var w in this.bindings)delete this.bindings[w];for(var w in this.types)delete this.types[w];f(this.path,this.bindings,this.types),this.didScan=!0}},d.getBindings=function(){return this.scan(),this.bindings},d.getTypes=function(){return this.scan(),this.types};function f(v,w,A){var C=v.value;if(c.check(C)){var K=v.get("typeParameters","params");a.check(K.value)&&K.each(function(F){x(F,A)})}u.check(C)&&(i.CatchClause.check(C)?b(v.get("param"),w):h(v,w,A))}function h(v,w,A){var C=v.value;v.parent&&i.FunctionExpression.check(v.parent.node)&&v.parent.node.id&&b(v.parent.get("id"),w),C&&(a.check(C)?v.each(function(K){g(K,w,A)}):i.Function.check(C)?(v.get("params").each(function(K){b(K,w)}),g(v.get("body"),w,A),h(v.get("typeParameters"),w,A)):i.TypeAlias&&i.TypeAlias.check(C)||i.InterfaceDeclaration&&i.InterfaceDeclaration.check(C)||i.TSTypeAliasDeclaration&&i.TSTypeAliasDeclaration.check(C)||i.TSInterfaceDeclaration&&i.TSInterfaceDeclaration.check(C)?T(v.get("id"),A):i.VariableDeclarator.check(C)?(b(v.get("id"),w),g(v.get("init"),w,A)):C.type==="ImportSpecifier"||C.type==="ImportNamespaceSpecifier"||C.type==="ImportDefaultSpecifier"?b(v.get(C.local?"local":C.name?"name":"id"),w):s.check(C)&&!n.check(C)&&e.eachField(C,function(K,F){var Q=v.get(K);if(!m(Q,F))throw new Error("");g(Q,w,A)}))}function m(v,w){return!!(v.value===w||Array.isArray(v.value)&&v.value.length===0&&Array.isArray(w)&&w.length===0)}function g(v,w,A){var C=v.value;if(!(!C||n.check(C)))if(i.FunctionDeclaration.check(C)&&C.id!==null)b(v.get("id"),w);else if(i.ClassDeclaration&&i.ClassDeclaration.check(C)&&C.id!==null)b(v.get("id"),w),h(v.get("typeParameters"),w,A);else if(i.InterfaceDeclaration&&i.InterfaceDeclaration.check(C)||i.TSInterfaceDeclaration&&i.TSInterfaceDeclaration.check(C))T(v.get("id"),A);else if(u.check(C)){if(i.CatchClause.check(C)&&i.Identifier.check(C.param)){var K=C.param.name,F=tg.call(w,K);h(v.get("body"),w,A),F||delete w[K]}}else h(v,w,A)}function b(v,w){var A=v.value;i.Pattern.assert(A),i.Identifier.check(A)?tg.call(w,A.name)?w[A.name].push(v):w[A.name]=[v]:i.AssignmentPattern&&i.AssignmentPattern.check(A)?b(v.get("left"),w):i.ObjectPattern&&i.ObjectPattern.check(A)?v.get("properties").each(function(C){var K=C.value;i.Pattern.check(K)?b(C,w):i.Property.check(K)||i.ObjectProperty&&i.ObjectProperty.check(K)?b(C.get("value"),w):i.SpreadProperty&&i.SpreadProperty.check(K)&&b(C.get("argument"),w)}):i.ArrayPattern&&i.ArrayPattern.check(A)?v.get("elements").each(function(C){var K=C.value;i.Pattern.check(K)?b(C,w):i.SpreadElement&&i.SpreadElement.check(K)&&b(C.get("argument"),w)}):i.PropertyPattern&&i.PropertyPattern.check(A)?b(v.get("pattern"),w):(i.SpreadElementPattern&&i.SpreadElementPattern.check(A)||i.RestElement&&i.RestElement.check(A)||i.SpreadPropertyPattern&&i.SpreadPropertyPattern.check(A))&&b(v.get("argument"),w)}function T(v,w){var A=v.value;i.Pattern.assert(A),i.Identifier.check(A)&&(tg.call(w,A.name)?w[A.name].push(v):w[A.name]=[v])}function x(v,w){var A=v.value;p.assert(A),tg.call(w,A.name)?w[A.name].push(v):w[A.name]=[v]}return d.lookup=function(v){for(var w=this;w&&!w.declares(v);w=w.parent);return w},d.lookupType=function(v){for(var w=this;w&&!w.declaresType(v);w=w.parent);return w},d.getGlobalScope=function(){for(var v=this;!v.isGlobal;)v=v.parent;return v},l}M6.default=Uqe;Ele.exports=M6.default});var GL=E((j6,Ale)=>{"use strict";Object.defineProperty(j6,"__esModule",{value:!0});var WL=(Zr(),ar(li)),qqe=(0,WL.__importDefault)(vs()),$qe=(0,WL.__importDefault)(KL()),Kqe=(0,WL.__importDefault)(wle());function Wqe(t){var e=t.use(qqe.default),r=e.namedTypes,i=e.builders,s=e.builtInTypes.number,n=e.builtInTypes.array,a=t.use($qe.default),o=t.use(Kqe.default),l=function b(T,x,v){if(!(this instanceof b))throw new Error("NodePath constructor cannot be invoked without 'new'");a.call(this,T,x,v)},u=l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(u,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),u.replace=function(){return delete this.node,delete this.parent,delete this.scope,a.prototype.replace.apply(this,arguments)},u.prune=function(){var b=this.parent;return this.replace(),m(b)},u._computeNode=function(){var b=this.value;if(r.Node.check(b))return b;var T=this.parentPath;return T&&T.node||null},u._computeParent=function(){var b=this.value,T=this.parentPath;if(!r.Node.check(b)){for(;T&&!r.Node.check(T.value);)T=T.parentPath;T&&(T=T.parentPath)}for(;T&&!r.Node.check(T.value);)T=T.parentPath;return T||null},u._computeScope=function(){var b=this.value,T=this.parentPath,x=T&&T.scope;return r.Node.check(b)&&o.isEstablishedBy(b)&&(x=new o(this,x)),x||null},u.getValueProperty=function(b){return e.getFieldValue(this.value,b)},u.needsParens=function(b){var T=this.parentPath;if(!T)return!1;var x=this.value;if(!r.Expression.check(x)||x.type==="Identifier")return!1;for(;!r.Node.check(T.value);)if(T=T.parentPath,!T)return!1;var v=T.value;switch(x.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return v.type==="MemberExpression"&&this.name==="object"&&v.object===x;case"BinaryExpression":case"LogicalExpression":switch(v.type){case"CallExpression":return this.name==="callee"&&v.callee===x;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&v.object===x;case"BinaryExpression":case"LogicalExpression":{var w=x,A=v.operator,C=d[A],K=w.operator,F=d[K];if(C>F)return!0;if(C===F&&this.name==="right"){if(v.right!==w)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(v.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(v.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return v.type==="MemberExpression"&&s.check(x.value)&&this.name==="object"&&v.object===x;case"AssignmentExpression":case"ConditionalExpression":switch(v.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&v.callee===x;case"ConditionalExpression":return this.name==="test"&&v.test===x;case"MemberExpression":return this.name==="object"&&v.object===x;default:return!1}default:if(v.type==="NewExpression"&&this.name==="callee"&&v.callee===x)return f(x)}return!!(b!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function c(b){return r.BinaryExpression.check(b)||r.LogicalExpression.check(b)}function p(b){return r.UnaryExpression.check(b)||r.SpreadElement&&r.SpreadElement.check(b)||r.SpreadProperty&&r.SpreadProperty.check(b)}var d={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(b,T){b.forEach(function(x){d[x]=T})});function f(b){return r.CallExpression.check(b)?!0:n.check(b)?b.some(f):r.Node.check(b)?e.someField(b,function(T,x){return f(x)}):!1}u.canBeFirstInStatement=function(){var b=this.node;return!r.FunctionExpression.check(b)&&!r.ObjectExpression.check(b)},u.firstInStatement=function(){return h(this)};function h(b){for(var T,x;b.parent;b=b.parent){if(T=b.node,x=b.parent.node,r.BlockStatement.check(x)&&b.parent.name==="body"&&b.name===0){if(x.body[0]!==T)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(x)&&b.name==="expression"){if(x.expression!==T)throw new Error("Nodes must be equal");return!0}if(r.SequenceExpression.check(x)&&b.parent.name==="expressions"&&b.name===0){if(x.expressions[0]!==T)throw new Error("Nodes must be equal");continue}if(r.CallExpression.check(x)&&b.name==="callee"){if(x.callee!==T)throw new Error("Nodes must be equal");continue}if(r.MemberExpression.check(x)&&b.name==="object"){if(x.object!==T)throw new Error("Nodes must be equal");continue}if(r.ConditionalExpression.check(x)&&b.name==="test"){if(x.test!==T)throw new Error("Nodes must be equal");continue}if(c(x)&&b.name==="left"){if(x.left!==T)throw new Error("Nodes must be equal");continue}if(r.UnaryExpression.check(x)&&!x.prefix&&b.name==="argument"){if(x.argument!==T)throw new Error("Nodes must be equal");continue}return!1}return!0}function m(b){if(r.VariableDeclaration.check(b.node)){var T=b.get("declarations").value;if(!T||T.length===0)return b.prune()}else if(r.ExpressionStatement.check(b.node)){if(!b.get("expression").value)return b.prune()}else r.IfStatement.check(b.node)&&g(b);return b}function g(b){var T=b.get("test").value,x=b.get("alternate").value,v=b.get("consequent").value;if(!v&&!x){var w=i.expressionStatement(T);b.replace(w)}else if(!v&&x){var A=i.unaryExpression("!",T,!0);r.UnaryExpression.check(T)&&T.operator==="!"&&(A=T.argument),b.get("test").replace(A),b.get("consequent").replace(x),b.get("alternate").replace()}}return l}j6.default=Wqe;Ale.exports=j6.default});var Cle=E((U6,_le)=>{"use strict";Object.defineProperty(U6,"__esModule",{value:!0});var Ple=(Zr(),ar(li)),Gqe=(0,Ple.__importDefault)(vs()),zqe=(0,Ple.__importDefault)(GL()),V6=Object.prototype.hasOwnProperty;function Hqe(t){var e=t.use(Gqe.default),r=t.use(zqe.default),i=e.builtInTypes.array,s=e.builtInTypes.object,n=e.builtInTypes.function,a,o=function h(){if(!(this instanceof h))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=l(this),this._shouldVisitComments=V6.call(this._methodNameTable,"Block")||V6.call(this._methodNameTable,"Line"),this.Context=d(this),this._visiting=!1,this._changeReported=!1};function l(h){var m=Object.create(null);for(var g in h)/^visit[A-Z]/.test(g)&&(m[g.slice(5)]=!0);for(var b=e.computeSupertypeLookupTable(m),T=Object.create(null),x=Object.keys(b),v=x.length,w=0;w<v;++w){var A=x[w];g="visit"+b[A],n.check(h[g])&&(T[A]=g)}return T}o.fromMethodsObject=function(m){if(m instanceof o)return m;if(!s.check(m))return new o;var g=function T(){if(!(this instanceof T))throw new Error("Visitor constructor cannot be invoked without 'new'");o.call(this)},b=g.prototype=Object.create(c);return b.constructor=g,u(b,m),u(g,o),n.assert(g.fromMethodsObject),n.assert(g.visit),new g};function u(h,m){for(var g in m)V6.call(m,g)&&(h[g]=m[g]);return h}o.visit=function(m,g){return o.fromMethodsObject(g).visit(m)};var c=o.prototype;c.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;for(var h=arguments.length,m=new Array(h),g=0;g<h;++g)m[g]=arguments[g];m[0]instanceof r||(m[0]=new r({root:m[0]}).get("root")),this.reset.apply(this,m);var b;try{var T=this.visitWithoutReset(m[0]);b=!0}finally{if(this._visiting=!1,!b&&this._abortRequested)return m[0].value}return T},c.AbortRequest=function(){},c.abort=function(){var h=this;h._abortRequested=!0;var m=new h.AbortRequest;throw m.cancel=function(){h._abortRequested=!1},m},c.reset=function(h){},c.visitWithoutReset=function(h){if(this instanceof this.Context)return this.visitor.visitWithoutReset(h);if(!(h instanceof r))throw new Error("");var m=h.value,g=m&&typeof m=="object"&&typeof m.type=="string"&&this._methodNameTable[m.type];if(g){var b=this.acquireContext(h);try{return b.invokeVisitorMethod(g)}finally{this.releaseContext(b)}}else return p(h,this)};function p(h,m){if(!(h instanceof r))throw new Error("");if(!(m instanceof o))throw new Error("");var g=h.value;if(i.check(g))h.each(m.visitWithoutReset,m);else if(s.check(g)){var b=e.getFieldNames(g);m._shouldVisitComments&&g.comments&&b.indexOf("comments")<0&&b.push("comments");for(var T=b.length,x=[],v=0;v<T;++v){var w=b[v];V6.call(g,w)||(g[w]=e.getFieldValue(g,w)),x.push(h.get(w))}for(var v=0;v<T;++v)m.visitWithoutReset(x[v])}return h.value}c.acquireContext=function(h){return this._reusableContextStack.length===0?new this.Context(h):this._reusableContextStack.pop().reset(h)},c.releaseContext=function(h){if(!(h instanceof this.Context))throw new Error("");this._reusableContextStack.push(h),h.currentPath=null},c.reportChanged=function(){this._changeReported=!0},c.wasChangeReported=function(){return this._changeReported};function d(h){function m(b){if(!(this instanceof m))throw new Error("");if(!(this instanceof o))throw new Error("");if(!(b instanceof r))throw new Error("");Object.defineProperty(this,"visitor",{value:h,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=b,this.needToCallTraverse=!0,Object.seal(this)}if(!(h instanceof o))throw new Error("");var g=m.prototype=Object.create(h);return g.constructor=m,u(g,f),m}var f=Object.create(null);return f.reset=function(m){if(!(this instanceof this.Context))throw new Error("");if(!(m instanceof r))throw new Error("");return this.currentPath=m,this.needToCallTraverse=!0,this},f.invokeVisitorMethod=function(m){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");var g=this.visitor[m].call(this,this.currentPath);if(g===!1?this.needToCallTraverse=!1:g!==a&&(this.currentPath=this.currentPath.replace(g)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+m);var b=this.currentPath;return b&&b.value},f.traverse=function(m,g){if(!(this instanceof this.Context))throw new Error("");if(!(m instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,p(m,o.fromMethodsObject(g||this.visitor))},f.visit=function(m,g){if(!(this instanceof this.Context))throw new Error("");if(!(m instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,o.fromMethodsObject(g||this.visitor).visitWithoutReset(m)},f.reportChanged=function(){this.visitor.reportChanged()},f.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},o}U6.default=Hqe;_le.exports=U6.default});var Nle=E((q6,Dle)=>{"use strict";Object.defineProperty(q6,"__esModule",{value:!0});var Yqe=(Zr(),ar(li)),Jqe=(0,Yqe.__importDefault)(vs());function Xqe(t){var e=t.use(Jqe.default),r=e.getFieldNames,i=e.getFieldValue,s=e.builtInTypes.array,n=e.builtInTypes.object,a=e.builtInTypes.Date,o=e.builtInTypes.RegExp,l=Object.prototype.hasOwnProperty;function u(h,m,g){return s.check(g)?g.length=0:g=null,p(h,m,g)}u.assert=function(h,m){var g=[];if(!u(h,m,g))if(g.length===0){if(h!==m)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+g.map(c).join(""))};function c(h){return/[_$a-z][_$a-z0-9]*/i.test(h)?"."+h:"["+JSON.stringify(h)+"]"}function p(h,m,g){return h===m?!0:s.check(h)?d(h,m,g):n.check(h)?f(h,m,g):a.check(h)?a.check(m)&&+h==+m:o.check(h)?o.check(m)&&h.source===m.source&&h.global===m.global&&h.multiline===m.multiline&&h.ignoreCase===m.ignoreCase:h==m}function d(h,m,g){s.assert(h);var b=h.length;if(!s.check(m)||m.length!==b)return g&&g.push("length"),!1;for(var T=0;T<b;++T){if(g&&g.push(T),T in h!=T in m||!p(h[T],m[T],g))return!1;if(g){var x=g.pop();if(x!==T)throw new Error(""+x)}}return!0}function f(h,m,g){if(n.assert(h),!n.check(m))return!1;if(h.type!==m.type)return g&&g.push("type"),!1;var b=r(h),T=b.length,x=r(m),v=x.length;if(T===v){for(var w=0;w<T;++w){var A=b[w],C=i(h,A),K=i(m,A);if(g&&g.push(A),!p(C,K,g))return!1;if(g){var F=g.pop();if(F!==A)throw new Error(""+F)}}return!0}if(!g)return!1;var Q=Object.create(null);for(w=0;w<T;++w)Q[b[w]]=!0;for(w=0;w<v;++w){if(A=x[w],!l.call(Q,A))return g.push(A),!1;delete Q[A]}for(A in Q){g.push(A);break}return!1}return u}q6.default=Xqe;Dle.exports=q6.default});var Ole=E(($6,Ile)=>{"use strict";Object.defineProperty($6,"__esModule",{value:!0});var SS=(Zr(),ar(li)),Qqe=(0,SS.__importDefault)(vs()),Zqe=(0,SS.__importDefault)(Cle()),e$e=(0,SS.__importDefault)(Nle()),t$e=(0,SS.__importDefault)(KL()),r$e=(0,SS.__importDefault)(GL());function i$e(t){var e=s$e(),r=e.use(Qqe.default);t.forEach(e.use),r.finalize();var i=e.use(Zqe.default);return{Type:r.Type,builtInTypes:r.builtInTypes,namedTypes:r.namedTypes,builders:r.builders,defineMethod:r.defineMethod,getFieldNames:r.getFieldNames,getFieldValue:r.getFieldValue,eachField:r.eachField,someField:r.someField,getSupertypeNames:r.getSupertypeNames,getBuilderName:r.getBuilderName,astNodesAreEquivalent:e.use(e$e.default),finalize:r.finalize,Path:e.use(t$e.default),NodePath:e.use(r$e.default),PathVisitor:i,use:e.use,visit:i.visit}}$6.default=i$e;function s$e(){var t=[],e=[];function r(s){var n=t.indexOf(s);return n===-1&&(n=t.length,t.push(s),e[n]=s(i)),e[n]}var i={use:r};return i}Ile.exports=$6.default});var fo=E((K6,kle)=>{"use strict";Object.defineProperty(K6,"__esModule",{value:!0});var n$e=(Zr(),ar(li)),a$e=(0,n$e.__importDefault)(vs());function o$e(t){var e=t.use(a$e.default),r=e.Type,i=e.builtInTypes,s=i.number;function n(u){return r.from(function(c){return s.check(c)&&c>=u},s+" >= "+u)}var a={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},o=r.or(i.string,i.number,i.boolean,i.null,i.undefined),l=r.from(function(u){if(u===null)return!0;var c=typeof u;return!(c==="object"||c==="function")},o.toString());return{geq:n,defaults:a,isPrimitive:l}}K6.default=o$e;kle.exports=K6.default});var zL=E((W6,Lle)=>{"use strict";Object.defineProperty(W6,"__esModule",{value:!0});function l$e(){return{BinaryOperators:["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],AssignmentOperators:["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],LogicalOperators:["||","&&"]}}W6.default=l$e;Lle.exports=W6.default});var HL=E((G6,Fle)=>{"use strict";Object.defineProperty(G6,"__esModule",{value:!0});var u$e=(Zr(),ar(li)),c$e=(0,u$e.__importDefault)(zL());function p$e(t){var e=t.use(c$e.default);return e.BinaryOperators.indexOf("**")<0&&e.BinaryOperators.push("**"),e.AssignmentOperators.indexOf("**=")<0&&e.AssignmentOperators.push("**="),e}G6.default=p$e;Fle.exports=G6.default});var YL=E((z6,Rle)=>{"use strict";Object.defineProperty(z6,"__esModule",{value:!0});var f$e=(Zr(),ar(li)),d$e=(0,f$e.__importDefault)(HL());function h$e(t){var e=t.use(d$e.default);return e.LogicalOperators.indexOf("??")<0&&e.LogicalOperators.push("??"),e}z6.default=h$e;Rle.exports=z6.default});var Mle=E((H6,Ble)=>{"use strict";Object.defineProperty(H6,"__esModule",{value:!0});var m$e=(Zr(),ar(li)),y$e=(0,m$e.__importDefault)(YL());function g$e(t){var e=t.use(y$e.default);return e.LogicalOperators.forEach(function(r){var i=r+"=";e.AssignmentOperators.indexOf(i)<0&&e.AssignmentOperators.push(i)}),e}H6.default=g$e;Ble.exports=H6.default});var Vle=E((Y6,jle)=>{"use strict";Object.defineProperty(Y6,"__esModule",{value:!0});var JL=(Zr(),ar(li)),b$e=(0,JL.__importDefault)(zL()),v$e=(0,JL.__importDefault)(vs()),S$e=(0,JL.__importDefault)(fo());function T$e(t){var e=t.use(v$e.default),r=e.Type,i=r.def,s=r.or,n=t.use(S$e.default),a=n.defaults,o=n.geq,l=t.use(b$e.default),u=l.BinaryOperators,c=l.AssignmentOperators,p=l.LogicalOperators;i("Printable").field("loc",s(i("SourceLocation"),null),a.null,!0),i("Node").bases("Printable").field("type",String).field("comments",s([i("Comment")],null),a.null,!0),i("SourceLocation").field("start",i("Position")).field("end",i("Position")).field("source",s(String,null),a.null),i("Position").field("line",o(1)).field("column",o(0)),i("File").bases("Node").build("program","name").field("program",i("Program")).field("name",s(String,null),a.null),i("Program").bases("Node").build("body").field("body",[i("Statement")]),i("Function").bases("Node").field("id",s(i("Identifier"),null),a.null).field("params",[i("Pattern")]).field("body",i("BlockStatement")).field("generator",Boolean,a.false).field("async",Boolean,a.false),i("Statement").bases("Node"),i("EmptyStatement").bases("Statement").build(),i("BlockStatement").bases("Statement").build("body").field("body",[i("Statement")]),i("ExpressionStatement").bases("Statement").build("expression").field("expression",i("Expression")),i("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",i("Expression")).field("consequent",i("Statement")).field("alternate",s(i("Statement"),null),a.null),i("LabeledStatement").bases("Statement").build("label","body").field("label",i("Identifier")).field("body",i("Statement")),i("BreakStatement").bases("Statement").build("label").field("label",s(i("Identifier"),null),a.null),i("ContinueStatement").bases("Statement").build("label").field("label",s(i("Identifier"),null),a.null),i("WithStatement").bases("Statement").build("object","body").field("object",i("Expression")).field("body",i("Statement")),i("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",i("Expression")).field("cases",[i("SwitchCase")]).field("lexical",Boolean,a.false),i("ReturnStatement").bases("Statement").build("argument").field("argument",s(i("Expression"),null)),i("ThrowStatement").bases("Statement").build("argument").field("argument",i("Expression")),i("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",i("BlockStatement")).field("handler",s(i("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[i("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[i("CatchClause")],a.emptyArray).field("finalizer",s(i("BlockStatement"),null),a.null),i("CatchClause").bases("Node").build("param","guard","body").field("param",i("Pattern")).field("guard",s(i("Expression"),null),a.null).field("body",i("BlockStatement")),i("WhileStatement").bases("Statement").build("test","body").field("test",i("Expression")).field("body",i("Statement")),i("DoWhileStatement").bases("Statement").build("body","test").field("body",i("Statement")).field("test",i("Expression")),i("ForStatement").bases("Statement").build("init","test","update","body").field("init",s(i("VariableDeclaration"),i("Expression"),null)).field("test",s(i("Expression"),null)).field("update",s(i("Expression"),null)).field("body",i("Statement")),i("ForInStatement").bases("Statement").build("left","right","body").field("left",s(i("VariableDeclaration"),i("Expression"))).field("right",i("Expression")).field("body",i("Statement")),i("DebuggerStatement").bases("Statement").build(),i("Declaration").bases("Statement"),i("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",i("Identifier")),i("FunctionExpression").bases("Function","Expression").build("id","params","body"),i("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",s("var","let","const")).field("declarations",[i("VariableDeclarator")]),i("VariableDeclarator").bases("Node").build("id","init").field("id",i("Pattern")).field("init",s(i("Expression"),null),a.null),i("Expression").bases("Node"),i("ThisExpression").bases("Expression").build(),i("ArrayExpression").bases("Expression").build("elements").field("elements",[s(i("Expression"),null)]),i("ObjectExpression").bases("Expression").build("properties").field("properties",[i("Property")]),i("Property").bases("Node").build("kind","key","value").field("kind",s("init","get","set")).field("key",s(i("Literal"),i("Identifier"))).field("value",i("Expression")),i("SequenceExpression").bases("Expression").build("expressions").field("expressions",[i("Expression")]);var d=s("-","+","!","~","typeof","void","delete");i("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",d).field("argument",i("Expression")).field("prefix",Boolean,a.true);var f=s.apply(void 0,u);i("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",i("Expression")).field("right",i("Expression"));var h=s.apply(void 0,c);i("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",h).field("left",s(i("Pattern"),i("MemberExpression"))).field("right",i("Expression"));var m=s("++","--");i("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",m).field("argument",i("Expression")).field("prefix",Boolean);var g=s.apply(void 0,p);i("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",g).field("left",i("Expression")).field("right",i("Expression")),i("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",i("Expression")).field("consequent",i("Expression")).field("alternate",i("Expression")),i("NewExpression").bases("Expression").build("callee","arguments").field("callee",i("Expression")).field("arguments",[i("Expression")]),i("CallExpression").bases("Expression").build("callee","arguments").field("callee",i("Expression")).field("arguments",[i("Expression")]),i("MemberExpression").bases("Expression").build("object","property","computed").field("object",i("Expression")).field("property",s(i("Identifier"),i("Expression"))).field("computed",Boolean,function(){var b=this.property.type;return b==="Literal"||b==="MemberExpression"||b==="BinaryExpression"}),i("Pattern").bases("Node"),i("SwitchCase").bases("Node").build("test","consequent").field("test",s(i("Expression"),null)).field("consequent",[i("Statement")]),i("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,a.false),i("Literal").bases("Expression").build("value").field("value",s(String,Boolean,null,Number,RegExp,BigInt)),i("Comment").bases("Printable").field("value",String).field("leading",Boolean,a.true).field("trailing",Boolean,a.false)}Y6.default=T$e;jle.exports=Y6.default});var qle=E((J6,Ule)=>{"use strict";Object.defineProperty(J6,"__esModule",{value:!0});var XL=(Zr(),ar(li)),x$e=(0,XL.__importDefault)(Vle()),E$e=(0,XL.__importDefault)(vs()),w$e=(0,XL.__importDefault)(fo());function A$e(t){t.use(x$e.default);var e=t.use(E$e.default),r=e.Type.def,i=e.Type.or,s=t.use(w$e.default).defaults;r("Function").field("generator",Boolean,s.false).field("expression",Boolean,s.false).field("defaults",[i(r("Expression"),null)],s.emptyArray).field("rest",i(r("Identifier"),null),s.null),r("RestElement").bases("Pattern").build("argument").field("argument",r("Pattern")).field("typeAnnotation",i(r("TypeAnnotation"),r("TSTypeAnnotation"),null),s.null),r("SpreadElementPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("FunctionDeclaration").build("id","params","body","generator","expression").field("id",i(r("Identifier"),null)),r("FunctionExpression").build("id","params","body","generator","expression"),r("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,s.null).field("body",i(r("BlockStatement"),r("Expression"))).field("generator",!1,s.false),r("ForOfStatement").bases("Statement").build("left","right","body").field("left",i(r("VariableDeclaration"),r("Pattern"))).field("right",r("Expression")).field("body",r("Statement")),r("YieldExpression").bases("Expression").build("argument","delegate").field("argument",i(r("Expression"),null)).field("delegate",Boolean,s.false),r("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",i(r("Expression"),null)),r("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",i(r("Expression"),null)),r("ComprehensionBlock").bases("Node").build("left","right","each").field("left",r("Pattern")).field("right",r("Expression")).field("each",Boolean),r("Property").field("key",i(r("Literal"),r("Identifier"),r("Expression"))).field("value",i(r("Expression"),r("Pattern"))).field("method",Boolean,s.false).field("shorthand",Boolean,s.false).field("computed",Boolean,s.false),r("ObjectProperty").field("shorthand",Boolean,s.false),r("PropertyPattern").bases("Pattern").build("key","pattern").field("key",i(r("Literal"),r("Identifier"),r("Expression"))).field("pattern",r("Pattern")).field("computed",Boolean,s.false),r("ObjectPattern").bases("Pattern").build("properties").field("properties",[i(r("PropertyPattern"),r("Property"))]),r("ArrayPattern").bases("Pattern").build("elements").field("elements",[i(r("Pattern"),null)]),r("SpreadElement").bases("Node").build("argument").field("argument",r("Expression")),r("ArrayExpression").field("elements",[i(r("Expression"),r("SpreadElement"),r("RestElement"),null)]),r("NewExpression").field("arguments",[i(r("Expression"),r("SpreadElement"))]),r("CallExpression").field("arguments",[i(r("Expression"),r("SpreadElement"))]),r("AssignmentPattern").bases("Pattern").build("left","right").field("left",r("Pattern")).field("right",r("Expression")),r("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",i("constructor","method","get","set")).field("key",r("Expression")).field("value",r("Function")).field("computed",Boolean,s.false).field("static",Boolean,s.false);var n=i(r("MethodDefinition"),r("VariableDeclarator"),r("ClassPropertyDefinition"),r("ClassProperty"));r("ClassProperty").bases("Declaration").build("key").field("key",i(r("Literal"),r("Identifier"),r("Expression"))).field("computed",Boolean,s.false),r("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",n),r("ClassBody").bases("Declaration").build("body").field("body",[n]),r("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",i(r("Identifier"),null)).field("body",r("ClassBody")).field("superClass",i(r("Expression"),null),s.null),r("ClassExpression").bases("Expression").build("id","body","superClass").field("id",i(r("Identifier"),null),s.null).field("body",r("ClassBody")).field("superClass",i(r("Expression"),null),s.null),r("Super").bases("Expression").build(),r("Specifier").bases("Node"),r("ModuleSpecifier").bases("Specifier").field("local",i(r("Identifier"),null),s.null).field("id",i(r("Identifier"),null),s.null).field("name",i(r("Identifier"),null),s.null),r("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",r("Identifier")),r("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),r("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),r("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[i(r("ImportSpecifier"),r("ImportNamespaceSpecifier"),r("ImportDefaultSpecifier"))],s.emptyArray).field("source",r("Literal")).field("importKind",i("value","type"),function(){return"value"}),r("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",i(r("Declaration"),null)).field("specifiers",[r("ExportSpecifier")],s.emptyArray).field("source",i(r("Literal"),null),s.null),r("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",r("Identifier")),r("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",i(r("Declaration"),r("Expression"))),r("ExportAllDeclaration").bases("Declaration").build("source").field("source",r("Literal")),r("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",r("Expression")).field("quasi",r("TemplateLiteral")),r("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[r("TemplateElement")]).field("expressions",[r("Expression")]),r("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),r("MetaProperty").bases("Expression").build("meta","property").field("meta",r("Identifier")).field("property",r("Identifier"))}J6.default=A$e;Ule.exports=J6.default});var Wle=E((X6,Kle)=>{"use strict";Object.defineProperty(X6,"__esModule",{value:!0});var $le=(Zr(),ar(li)),P$e=(0,$le.__importDefault)(HL()),_$e=(0,$le.__importDefault)(qle());function C$e(t){t.use(P$e.default),t.use(_$e.default)}X6.default=C$e;Kle.exports=X6.default});var zle=E((Q6,Gle)=>{"use strict";Object.defineProperty(Q6,"__esModule",{value:!0});var QL=(Zr(),ar(li)),D$e=(0,QL.__importDefault)(Wle()),N$e=(0,QL.__importDefault)(vs()),I$e=(0,QL.__importDefault)(fo());function O$e(t){t.use(D$e.default);var e=t.use(N$e.default),r=e.Type.def,i=t.use(I$e.default).defaults;r("Function").field("async",Boolean,i.false),r("AwaitExpression").bases("Expression").build("argument").field("argument",r("Expression"))}Q6.default=O$e;Gle.exports=Q6.default});var Yle=E((Z6,Hle)=>{"use strict";Object.defineProperty(Z6,"__esModule",{value:!0});var ZL=(Zr(),ar(li)),k$e=(0,ZL.__importDefault)(zle()),L$e=(0,ZL.__importDefault)(vs()),F$e=(0,ZL.__importDefault)(fo());function R$e(t){t.use(k$e.default);var e=t.use(L$e.default),r=e.Type.def,i=e.Type.or,s=t.use(F$e.default).defaults;r("ForOfStatement").field("await",Boolean,s.false),r("SpreadProperty").bases("Node").build("argument").field("argument",r("Expression")),r("ObjectExpression").field("properties",[i(r("Property"),r("SpreadProperty"),r("SpreadElement"))]),r("TemplateElement").field("value",{cooked:i(String,null),raw:String}),r("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("ObjectPattern").field("properties",[i(r("PropertyPattern"),r("Property"),r("RestElement"),r("SpreadPropertyPattern"))])}Z6.default=R$e;Hle.exports=Z6.default});var Xle=E((eP,Jle)=>{"use strict";Object.defineProperty(eP,"__esModule",{value:!0});var eF=(Zr(),ar(li)),B$e=(0,eF.__importDefault)(Yle()),M$e=(0,eF.__importDefault)(vs()),j$e=(0,eF.__importDefault)(fo());function V$e(t){t.use(B$e.default);var e=t.use(M$e.default),r=e.Type.def,i=e.Type.or,s=t.use(j$e.default).defaults;r("CatchClause").field("param",i(r("Pattern"),null),s.null)}eP.default=V$e;Jle.exports=eP.default});var Zle=E((rP,Qle)=>{"use strict";Object.defineProperty(rP,"__esModule",{value:!0});var tP=(Zr(),ar(li)),U$e=(0,tP.__importDefault)(YL()),q$e=(0,tP.__importDefault)(Xle()),$$e=(0,tP.__importDefault)(vs()),K$e=(0,tP.__importDefault)(fo());function W$e(t){t.use(U$e.default),t.use(q$e.default);var e=t.use($$e.default),r=e.Type.def,i=e.Type.or,s=t.use(K$e.default),n=s.defaults;r("ImportExpression").bases("Expression").build("source").field("source",r("Expression")),r("ExportAllDeclaration").build("source","exported").field("source",r("Literal")).field("exported",i(r("Identifier"),null)),r("ChainElement").bases("Node").field("optional",Boolean,n.false),r("CallExpression").bases("Expression","ChainElement"),r("MemberExpression").bases("Expression","ChainElement"),r("ChainExpression").bases("Expression").build("expression").field("expression",r("ChainElement")),r("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,n.true),r("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,n.true)}rP.default=W$e;Qle.exports=rP.default});var rue=E((iP,tue)=>{"use strict";Object.defineProperty(iP,"__esModule",{value:!0});var eue=(Zr(),ar(li)),G$e=(0,eue.__importDefault)(Mle()),z$e=(0,eue.__importDefault)(Zle());function H$e(t){t.use(G$e.default),t.use(z$e.default)}iP.default=H$e;tue.exports=iP.default});var nue=E((sP,sue)=>{"use strict";Object.defineProperty(sP,"__esModule",{value:!0});var iue=(Zr(),ar(li)),Y$e=(0,iue.__importDefault)(rue()),J$e=(0,iue.__importDefault)(vs());function X$e(t){t.use(Y$e.default);var e=t.use(J$e.default),r=e.Type.def;r("StaticBlock").bases("Declaration").build("body").field("body",[r("Statement")])}sP.default=X$e;sue.exports=sP.default});var rg=E((nP,aue)=>{"use strict";Object.defineProperty(nP,"__esModule",{value:!0});var tF=(Zr(),ar(li)),Q$e=(0,tF.__importDefault)(vs()),Z$e=(0,tF.__importDefault)(fo()),eKe=(0,tF.__importDefault)(nue());function tKe(t){t.use(eKe.default);var e=t.use(Q$e.default),r=e.Type,i=e.Type.def,s=r.or,n=t.use(Z$e.default),a=n.defaults;i("AwaitExpression").build("argument","all").field("argument",s(i("Expression"),null)).field("all",Boolean,a.false),i("Decorator").bases("Node").build("expression").field("expression",i("Expression")),i("Property").field("decorators",s([i("Decorator")],null),a.null),i("MethodDefinition").field("decorators",s([i("Decorator")],null),a.null),i("PrivateName").bases("Expression","Pattern").build("id").field("id",i("Identifier")),i("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",i("PrivateName")).field("value",s(i("Expression"),null),a.null),i("ImportAttribute").bases("Node").build("key","value").field("key",s(i("Identifier"),i("Literal"))).field("value",i("Expression")),["ImportDeclaration","ExportAllDeclaration","ExportNamedDeclaration"].forEach(function(o){i(o).field("assertions",[i("ImportAttribute")],a.emptyArray)}),i("RecordExpression").bases("Expression").build("properties").field("properties",[s(i("ObjectProperty"),i("ObjectMethod"),i("SpreadElement"))]),i("TupleExpression").bases("Expression").build("elements").field("elements",[s(i("Expression"),i("SpreadElement"),null)]),i("ModuleExpression").bases("Node").build("body").field("body",i("Program"))}nP.default=tKe;aue.exports=nP.default});var lue=E((aP,oue)=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});var rF=(Zr(),ar(li)),rKe=(0,rF.__importDefault)(rg()),iKe=(0,rF.__importDefault)(vs()),sKe=(0,rF.__importDefault)(fo());function nKe(t){t.use(rKe.default);var e=t.use(iKe.default),r=e.Type.def,i=e.Type.or,s=t.use(sKe.default).defaults;r("JSXAttribute").bases("Node").build("name","value").field("name",i(r("JSXIdentifier"),r("JSXNamespacedName"))).field("value",i(r("Literal"),r("JSXExpressionContainer"),r("JSXElement"),r("JSXFragment"),null),s.null),r("JSXIdentifier").bases("Identifier").build("name").field("name",String),r("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",r("JSXIdentifier")).field("name",r("JSXIdentifier")),r("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",i(r("JSXIdentifier"),r("JSXMemberExpression"))).field("property",r("JSXIdentifier")).field("computed",Boolean,s.false);var n=i(r("JSXIdentifier"),r("JSXNamespacedName"),r("JSXMemberExpression"));r("JSXSpreadAttribute").bases("Node").build("argument").field("argument",r("Expression"));var a=[i(r("JSXAttribute"),r("JSXSpreadAttribute"))];r("JSXExpressionContainer").bases("Expression").build("expression").field("expression",i(r("Expression"),r("JSXEmptyExpression")));var o=[i(r("JSXText"),r("JSXExpressionContainer"),r("JSXSpreadChild"),r("JSXElement"),r("JSXFragment"),r("Literal"))];r("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningElement")).field("closingElement",i(r("JSXClosingElement"),null),s.null).field("children",o,s.emptyArray).field("name",n,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",a,function(){return this.openingElement.attributes},!0),r("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",n).field("attributes",a,s.emptyArray).field("selfClosing",Boolean,s.false),r("JSXClosingElement").bases("Node").build("name").field("name",n),r("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",r("JSXOpeningFragment")).field("closingFragment",r("JSXClosingFragment")).field("children",o,s.emptyArray),r("JSXOpeningFragment").bases("Node").build(),r("JSXClosingFragment").bases("Node").build(),r("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),r("JSXEmptyExpression").bases("Node").build(),r("JSXSpreadChild").bases("Node").build("expression").field("expression",r("Expression"))}aP.default=nKe;oue.exports=aP.default});var iF=E((oP,cue)=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});var uue=(Zr(),ar(li)),aKe=(0,uue.__importDefault)(vs()),oKe=(0,uue.__importDefault)(fo());function lKe(t){var e=t.use(aKe.default),r=e.Type.def,i=e.Type.or,s=t.use(oKe.default).defaults,n=i(r("TypeAnnotation"),r("TSTypeAnnotation"),null),a=i(r("TypeParameterDeclaration"),r("TSTypeParameterDeclaration"),null);r("Identifier").field("typeAnnotation",n,s.null),r("ObjectPattern").field("typeAnnotation",n,s.null),r("Function").field("returnType",n,s.null).field("typeParameters",a,s.null),r("ClassProperty").build("key","value","typeAnnotation","static").field("value",i(r("Expression"),null)).field("static",Boolean,s.false).field("typeAnnotation",n,s.null),["ClassDeclaration","ClassExpression"].forEach(function(o){r(o).field("typeParameters",a,s.null).field("superTypeParameters",i(r("TypeParameterInstantiation"),r("TSTypeParameterInstantiation"),null),s.null).field("implements",i([r("ClassImplements")],[r("TSExpressionWithTypeArguments")]),s.emptyArray)})}oP.default=lKe;cue.exports=oP.default});var sF=E((uP,pue)=>{"use strict";Object.defineProperty(uP,"__esModule",{value:!0});var lP=(Zr(),ar(li)),uKe=(0,lP.__importDefault)(rg()),cKe=(0,lP.__importDefault)(iF()),pKe=(0,lP.__importDefault)(vs()),fKe=(0,lP.__importDefault)(fo());function dKe(t){t.use(uKe.default),t.use(cKe.default);var e=t.use(pKe.default),r=e.Type.def,i=e.Type.or,s=t.use(fKe.default).defaults;r("Flow").bases("Node"),r("FlowType").bases("Flow"),r("AnyTypeAnnotation").bases("FlowType").build(),r("EmptyTypeAnnotation").bases("FlowType").build(),r("MixedTypeAnnotation").bases("FlowType").build(),r("VoidTypeAnnotation").bases("FlowType").build(),r("SymbolTypeAnnotation").bases("FlowType").build(),r("NumberTypeAnnotation").bases("FlowType").build(),r("BigIntTypeAnnotation").bases("FlowType").build(),r("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),r("StringTypeAnnotation").bases("FlowType").build(),r("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),r("BooleanTypeAnnotation").bases("FlowType").build(),r("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),r("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullLiteralTypeAnnotation").bases("FlowType").build(),r("NullTypeAnnotation").bases("FlowType").build(),r("ThisTypeAnnotation").bases("FlowType").build(),r("ExistsTypeAnnotation").bases("FlowType").build(),r("ExistentialTypeParam").bases("FlowType").build(),r("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[r("FunctionTypeParam")]).field("returnType",r("FlowType")).field("rest",i(r("FunctionTypeParam"),null)).field("typeParameters",i(r("TypeParameterDeclaration"),null)),r("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",i(r("Identifier"),null)).field("typeAnnotation",r("FlowType")).field("optional",Boolean),r("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",r("FlowType")),r("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[i(r("ObjectTypeProperty"),r("ObjectTypeSpreadProperty"))]).field("indexers",[r("ObjectTypeIndexer")],s.emptyArray).field("callProperties",[r("ObjectTypeCallProperty")],s.emptyArray).field("inexact",i(Boolean,void 0),s.undefined).field("exact",Boolean,s.false).field("internalSlots",[r("ObjectTypeInternalSlot")],s.emptyArray),r("Variance").bases("Node").build("kind").field("kind",i("plus","minus"));var n=i(r("Variance"),"plus","minus",null);r("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",i(r("Literal"),r("Identifier"))).field("value",r("FlowType")).field("optional",Boolean).field("variance",n,s.null),r("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",r("Identifier")).field("key",r("FlowType")).field("value",r("FlowType")).field("variance",n,s.null).field("static",Boolean,s.false),r("ObjectTypeCallProperty").bases("Node").build("value").field("value",r("FunctionTypeAnnotation")).field("static",Boolean,s.false),r("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",i(r("Identifier"),r("QualifiedTypeIdentifier"))).field("id",r("Identifier")),r("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",i(r("Identifier"),r("QualifiedTypeIdentifier"))).field("typeParameters",i(r("TypeParameterInstantiation"),null)),r("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",r("Identifier")).field("property",i(r("MemberTypeAnnotation"),r("GenericTypeAnnotation"))),r("IndexedAccessType").bases("FlowType").build("objectType","indexType").field("objectType",r("FlowType")).field("indexType",r("FlowType")),r("OptionalIndexedAccessType").bases("FlowType").build("objectType","indexType","optional").field("objectType",r("FlowType")).field("indexType",r("FlowType")).field("optional",Boolean),r("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",r("FlowType")),r("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",r("FlowType")),r("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",r("Identifier")).field("value",r("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),r("TypeParameterDeclaration").bases("Node").build("params").field("params",[r("TypeParameter")]),r("TypeParameterInstantiation").bases("Node").build("params").field("params",[r("FlowType")]),r("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",n,s.null).field("bound",i(r("TypeAnnotation"),null),s.null).field("default",i(r("FlowType"),null),s.null),r("ClassProperty").field("variance",n,s.null),r("ClassImplements").bases("Node").build("id").field("id",r("Identifier")).field("superClass",i(r("Expression"),null),s.null).field("typeParameters",i(r("TypeParameterInstantiation"),null),s.null),r("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",r("ObjectTypeAnnotation")).field("extends",i([r("InterfaceExtends")],null),s.null),r("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterDeclaration"),null),s.null).field("body",r("ObjectTypeAnnotation")).field("extends",[r("InterfaceExtends")]),r("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),r("InterfaceExtends").bases("Node").build("id").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterInstantiation"),null),s.null),r("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterDeclaration"),null)).field("right",r("FlowType")),r("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),r("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterDeclaration"),null)).field("impltype",r("FlowType")).field("supertype",i(r("FlowType"),null)),r("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",i(r("FlowType"),null)),r("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",r("Expression")).field("typeAnnotation",r("TypeAnnotation")),r("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("DeclareVariable").bases("Statement").build("id").field("id",r("Identifier")),r("DeclareFunction").bases("Statement").build("id").field("id",r("Identifier")).field("predicate",i(r("FlowPredicate"),null),s.null),r("DeclareClass").bases("InterfaceDeclaration").build("id"),r("DeclareModule").bases("Statement").build("id","body").field("id",i(r("Identifier"),r("Literal"))).field("body",r("BlockStatement")),r("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",r("TypeAnnotation")),r("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",i(r("DeclareVariable"),r("DeclareFunction"),r("DeclareClass"),r("FlowType"),r("TypeAlias"),r("DeclareOpaqueType"),r("InterfaceDeclaration"),null)).field("specifiers",[i(r("ExportSpecifier"),r("ExportBatchSpecifier"))],s.emptyArray).field("source",i(r("Literal"),null),s.null),r("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",i(r("Literal"),null),s.null),r("ImportDeclaration").field("importKind",i("value","type","typeof"),function(){return"value"}),r("FlowPredicate").bases("Flow"),r("InferredPredicate").bases("FlowPredicate").build(),r("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",r("Expression")),r("Function").field("predicate",i(r("FlowPredicate"),null),s.null),r("CallExpression").field("typeArguments",i(null,r("TypeParameterInstantiation")),s.null),r("NewExpression").field("typeArguments",i(null,r("TypeParameterInstantiation")),s.null),r("EnumDeclaration").bases("Declaration").build("id","body").field("id",r("Identifier")).field("body",i(r("EnumBooleanBody"),r("EnumNumberBody"),r("EnumStringBody"),r("EnumSymbolBody"))),r("EnumBooleanBody").build("members","explicitType").field("members",[r("EnumBooleanMember")]).field("explicitType",Boolean),r("EnumNumberBody").build("members","explicitType").field("members",[r("EnumNumberMember")]).field("explicitType",Boolean),r("EnumStringBody").build("members","explicitType").field("members",i([r("EnumStringMember")],[r("EnumDefaultedMember")])).field("explicitType",Boolean),r("EnumSymbolBody").build("members").field("members",[r("EnumDefaultedMember")]),r("EnumBooleanMember").build("id","init").field("id",r("Identifier")).field("init",i(r("Literal"),Boolean)),r("EnumNumberMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumStringMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumDefaultedMember").build("id").field("id",r("Identifier"))}uP.default=dKe;pue.exports=uP.default});var due=E((cP,fue)=>{"use strict";Object.defineProperty(cP,"__esModule",{value:!0});var nF=(Zr(),ar(li)),hKe=(0,nF.__importDefault)(rg()),mKe=(0,nF.__importDefault)(vs()),yKe=(0,nF.__importDefault)(fo());function gKe(t){t.use(hKe.default);var e=t.use(mKe.default),r=t.use(yKe.default).defaults,i=e.Type.def,s=e.Type.or;i("VariableDeclaration").field("declarations",[s(i("VariableDeclarator"),i("Identifier"))]),i("Property").field("value",s(i("Expression"),i("Pattern"))),i("ArrayPattern").field("elements",[s(i("Pattern"),i("SpreadElement"),null)]),i("ObjectPattern").field("properties",[s(i("Property"),i("PropertyPattern"),i("SpreadPropertyPattern"),i("SpreadProperty"))]),i("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),i("ExportBatchSpecifier").bases("Specifier").build(),i("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",s(i("Declaration"),i("Expression"),null)).field("specifiers",[s(i("ExportSpecifier"),i("ExportBatchSpecifier"))],r.emptyArray).field("source",s(i("Literal"),null),r.null),i("Block").bases("Comment").build("value","leading","trailing"),i("Line").bases("Comment").build("value","leading","trailing")}cP.default=gKe;fue.exports=cP.default});var oF=E((pP,hue)=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});var aF=(Zr(),ar(li)),bKe=(0,aF.__importDefault)(rg()),vKe=(0,aF.__importDefault)(vs()),SKe=(0,aF.__importDefault)(fo());function TKe(t){var e,r,i,s,n;t.use(bKe.default);var a=t.use(vKe.default),o=t.use(SKe.default).defaults,l=a.Type.def,u=a.Type.or,c=a.builtInTypes.undefined;l("Noop").bases("Statement").build(),l("DoExpression").bases("Expression").build("body").field("body",[l("Statement")]),l("BindExpression").bases("Expression").build("object","callee").field("object",u(l("Expression"),null)).field("callee",l("Expression")),l("ParenthesizedExpression").bases("Expression").build("expression").field("expression",l("Expression")),l("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",l("Identifier")),l("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",l("Identifier")),l("CommentBlock").bases("Comment").build("value","leading","trailing"),l("CommentLine").bases("Comment").build("value","leading","trailing"),l("Directive").bases("Node").build("value").field("value",l("DirectiveLiteral")),l("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,o["use strict"]),l("InterpreterDirective").bases("Node").build("value").field("value",String),l("BlockStatement").bases("Statement").build("body").field("body",[l("Statement")]).field("directives",[l("Directive")],o.emptyArray),l("Program").bases("Node").build("body").field("body",[l("Statement")]).field("directives",[l("Directive")],o.emptyArray).field("interpreter",u(l("InterpreterDirective"),null),o.null);function p(m,g){return m===void 0&&(m=String),["extra",{rawValue:m,raw:String},function(){var T=a.getFieldValue(this,"value");return{rawValue:T,raw:g?g(T):String(T)}}]}(e=l("StringLiteral").bases("Literal").build("value").field("value",String)).field.apply(e,p(String,function(m){return JSON.stringify(m)})),(r=l("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",u(String,null),o.null)).field.apply(r,p(Number)),(i=l("BigIntLiteral").bases("Literal").build("value").field("value",u(String,Number))).field.apply(i,p(String,function(m){return m+"n"})),(s=l("DecimalLiteral").bases("Literal").build("value").field("value",String)).field.apply(s,p(String,function(m){return m+"m"})),l("NullLiteral").bases("Literal").build().field("value",null,o.null),l("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),(n=l("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)})).field.apply(n,p(u(RegExp,c),function(m){return"/".concat(m.pattern,"/").concat(m.flags||"")})).field("regex",{pattern:String,flags:String},function(){return{pattern:this.pattern,flags:this.flags}});var d=u(l("Property"),l("ObjectMethod"),l("ObjectProperty"),l("SpreadProperty"),l("SpreadElement"));l("ObjectExpression").bases("Expression").build("properties").field("properties",[d]),l("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",u("method","get","set")).field("key",u(l("Literal"),l("Identifier"),l("Expression"))).field("params",[l("Pattern")]).field("body",l("BlockStatement")).field("computed",Boolean,o.false).field("generator",Boolean,o.false).field("async",Boolean,o.false).field("accessibility",u(l("Literal"),null),o.null).field("decorators",u([l("Decorator")],null),o.null),l("ObjectProperty").bases("Node").build("key","value").field("key",u(l("Literal"),l("Identifier"),l("Expression"))).field("value",u(l("Expression"),l("Pattern"))).field("accessibility",u(l("Literal"),null),o.null).field("computed",Boolean,o.false);var f=u(l("MethodDefinition"),l("VariableDeclarator"),l("ClassPropertyDefinition"),l("ClassProperty"),l("ClassPrivateProperty"),l("ClassMethod"),l("ClassPrivateMethod"));l("ClassBody").bases("Declaration").build("body").field("body",[f]),l("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",u(l("Literal"),l("Identifier"),l("Expression"))),l("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",l("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach(function(m){l(m).field("kind",u("get","set","method","constructor"),function(){return"method"}).field("body",l("BlockStatement")).field("computed",Boolean,o.false).field("static",u(Boolean,null),o.null).field("abstract",u(Boolean,null),o.null).field("access",u("public","private","protected",null),o.null).field("accessibility",u("public","private","protected",null),o.null).field("decorators",u([l("Decorator")],null),o.null).field("optional",u(Boolean,null),o.null)});var h=u(l("Property"),l("PropertyPattern"),l("SpreadPropertyPattern"),l("SpreadProperty"),l("ObjectProperty"),l("RestProperty"));l("ObjectPattern").bases("Pattern").build("properties").field("properties",[h]).field("decorators",u([l("Decorator")],null),o.null),l("SpreadProperty").bases("Node").build("argument").field("argument",l("Expression")),l("RestProperty").bases("Node").build("argument").field("argument",l("Expression")),l("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",u(l("VariableDeclaration"),l("Expression"))).field("right",l("Expression")).field("body",l("Statement")),l("Import").bases("Expression").build()}pP.default=TKe;hue.exports=pP.default});var yue=E((fP,mue)=>{"use strict";Object.defineProperty(fP,"__esModule",{value:!0});var lF=(Zr(),ar(li)),xKe=(0,lF.__importDefault)(vs()),EKe=(0,lF.__importDefault)(oF()),wKe=(0,lF.__importDefault)(sF());function AKe(t){var e=t.use(xKe.default),r=e.Type.def;t.use(EKe.default),t.use(wKe.default),r("V8IntrinsicIdentifier").bases("Expression").build("name").field("name",String),r("TopicReference").bases("Expression").build()}fP.default=AKe;mue.exports=fP.default});var bue=E((hP,gue)=>{"use strict";Object.defineProperty(hP,"__esModule",{value:!0});var dP=(Zr(),ar(li)),PKe=(0,dP.__importDefault)(oF()),_Ke=(0,dP.__importDefault)(iF()),CKe=(0,dP.__importDefault)(vs()),DKe=(0,dP.__importDefault)(fo());function NKe(t){t.use(PKe.default),t.use(_Ke.default);var e=t.use(CKe.default),r=e.namedTypes,i=e.Type.def,s=e.Type.or,n=t.use(DKe.default).defaults,a=e.Type.from(function(c,p){return!!(r.StringLiteral&&r.StringLiteral.check(c,p)||r.Literal&&r.Literal.check(c,p)&&typeof c.value=="string")},"StringLiteral");i("TSType").bases("Node");var o=s(i("Identifier"),i("TSQualifiedName"));i("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",o),i("TSHasOptionalTypeParameterInstantiation").field("typeParameters",s(i("TSTypeParameterInstantiation"),null),n.null),i("TSHasOptionalTypeParameters").field("typeParameters",s(i("TSTypeParameterDeclaration"),null,void 0),n.null),i("TSHasOptionalTypeAnnotation").field("typeAnnotation",s(i("TSTypeAnnotation"),null),n.null),i("TSQualifiedName").bases("Node").build("left","right").field("left",o).field("right",o),i("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",i("Expression")).field("typeAnnotation",i("TSType")).field("extra",s({parenthesized:Boolean},null),n.null),i("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",i("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSIntrinsicKeyword","TSThisType"].forEach(function(c){i(c).bases("TSType").build()}),i("TSArrayType").bases("TSType").build("elementType").field("elementType",i("TSType")),i("TSLiteralType").bases("TSType").build("literal").field("literal",s(i("NumericLiteral"),i("StringLiteral"),i("BooleanLiteral"),i("TemplateLiteral"),i("UnaryExpression"))),i("TemplateLiteral").field("expressions",s([i("Expression")],[i("TSType")])),["TSUnionType","TSIntersectionType"].forEach(function(c){i(c).bases("TSType").build("types").field("types",[i("TSType")])}),i("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",i("TSType")).field("extendsType",i("TSType")).field("trueType",i("TSType")).field("falseType",i("TSType")),i("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",i("TSTypeParameter")),i("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType"));var l=[s(i("Identifier"),i("RestElement"),i("ArrayPattern"),i("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(c){i(c).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",l)}),i("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,n.false).field("async",Boolean,n.false).field("generator",Boolean,n.false).field("id",s(i("Identifier"),null),n.null).field("params",[i("Pattern")]).field("returnType",s(i("TSTypeAnnotation"),i("Noop"),null),n.null),i("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,n.false).field("generator",Boolean,n.false).field("params",[i("Pattern")]).field("abstract",Boolean,n.false).field("accessibility",s("public","private","protected",void 0),n.undefined).field("static",Boolean,n.false).field("computed",Boolean,n.false).field("optional",Boolean,n.false).field("key",s(i("Identifier"),i("StringLiteral"),i("NumericLiteral"),i("Expression"))).field("kind",s("get","set","method","constructor"),function(){return"method"}).field("access",s("public","private","protected",void 0),n.undefined).field("decorators",s([i("Decorator")],null),n.null).field("returnType",s(i("TSTypeAnnotation"),i("Noop"),null),n.null),i("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",s(Boolean,"+","-"),n.false).field("typeParameter",i("TSTypeParameter")).field("optional",s(Boolean,"+","-"),n.false).field("typeAnnotation",s(i("TSType"),null),n.null),i("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[s(i("TSType"),i("TSNamedTupleMember"))]),i("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",i("Identifier")).field("optional",Boolean,n.false).field("elementType",i("TSType")),i("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType")),i("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType")),i("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",i("TSType")).field("indexType",i("TSType")),i("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",i("TSType")),i("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",s(i("TSType"),i("TSTypeAnnotation"))),i("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[i("Identifier")]).field("readonly",Boolean,n.false),i("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",i("Expression")).field("computed",Boolean,n.false).field("readonly",Boolean,n.false).field("optional",Boolean,n.false).field("initializer",s(i("Expression"),null),n.null),i("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",i("Expression")).field("computed",Boolean,n.false).field("optional",Boolean,n.false).field("parameters",l),i("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",s(i("Identifier"),i("TSThisType"))).field("typeAnnotation",s(i("TSTypeAnnotation"),null),n.null).field("asserts",Boolean,n.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(c){i(c).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",l)}),i("TSEnumMember").bases("Node").build("id","initializer").field("id",s(i("Identifier"),a)).field("initializer",s(i("Expression"),null),n.null),i("TSTypeQuery").bases("TSType").build("exprName").field("exprName",s(o,i("TSImportType")));var u=s(i("TSCallSignatureDeclaration"),i("TSConstructSignatureDeclaration"),i("TSIndexSignature"),i("TSMethodSignature"),i("TSPropertySignature"));i("TSTypeLiteral").bases("TSType").build("members").field("members",[u]),i("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",s(i("TSType"),void 0),n.undefined).field("default",s(i("TSType"),void 0),n.undefined),i("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",i("TSType")).field("expression",i("Expression")).field("extra",s({parenthesized:Boolean},null),n.null),i("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[i("TSTypeParameter")]),i("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[i("TSType")]),i("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",i("Identifier")).field("const",Boolean,n.false).field("declare",Boolean,n.false).field("members",[i("TSEnumMember")]).field("initializer",s(i("Expression"),null),n.null),i("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",i("Identifier")).field("declare",Boolean,n.false).field("typeAnnotation",i("TSType")),i("TSModuleBlock").bases("Node").build("body").field("body",[i("Statement")]),i("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",s(a,o)).field("declare",Boolean,n.false).field("global",Boolean,n.false).field("body",s(i("TSModuleBlock"),i("TSModuleDeclaration"),null),n.null),i("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",a).field("qualifier",s(o,void 0),n.undefined),i("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",i("Identifier")).field("isExport",Boolean,n.false).field("moduleReference",s(o,i("TSExternalModuleReference"))),i("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",a),i("TSExportAssignment").bases("Statement").build("expression").field("expression",i("Expression")),i("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",i("Identifier")),i("TSInterfaceBody").bases("Node").build("body").field("body",[u]),i("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",o),i("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",o).field("declare",Boolean,n.false).field("extends",s([i("TSExpressionWithTypeArguments")],null),n.null).field("body",i("TSInterfaceBody")),i("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",s("public","private","protected",void 0),n.undefined).field("readonly",Boolean,n.false).field("parameter",s(i("Identifier"),i("AssignmentPattern"))),i("ClassProperty").field("access",s("public","private","protected",void 0),n.undefined),i("ClassBody").field("body",[s(i("MethodDefinition"),i("VariableDeclarator"),i("ClassPropertyDefinition"),i("ClassProperty"),i("ClassPrivateProperty"),i("ClassMethod"),i("ClassPrivateMethod"),i("TSDeclareMethod"),u)])}hP.default=NKe;gue.exports=hP.default});var vue=E(TS=>{"use strict";Object.defineProperty(TS,"__esModule",{value:!0});TS.namedTypes=void 0;var IKe;(function(t){})(IKe=TS.namedTypes||(TS.namedTypes={}))});var _p=E(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.visit=Nr.use=Nr.Type=Nr.someField=Nr.PathVisitor=Nr.Path=Nr.NodePath=Nr.namedTypes=Nr.getSupertypeNames=Nr.getFieldValue=Nr.getFieldNames=Nr.getBuilderName=Nr.finalize=Nr.eachField=Nr.defineMethod=Nr.builtInTypes=Nr.builders=Nr.astNodesAreEquivalent=void 0;var Vm=(Zr(),ar(li)),OKe=(0,Vm.__importDefault)(Ole()),kKe=(0,Vm.__importDefault)(rg()),LKe=(0,Vm.__importDefault)(lue()),FKe=(0,Vm.__importDefault)(sF()),RKe=(0,Vm.__importDefault)(due()),BKe=(0,Vm.__importDefault)(yue()),MKe=(0,Vm.__importDefault)(bue()),Sue=vue();Object.defineProperty(Nr,"namedTypes",{enumerable:!0,get:function(){return Sue.namedTypes}});var kn=(0,OKe.default)([kKe.default,LKe.default,FKe.default,RKe.default,BKe.default,MKe.default]),jKe=kn.astNodesAreEquivalent,VKe=kn.builders,UKe=kn.builtInTypes,qKe=kn.defineMethod,$Ke=kn.eachField,KKe=kn.finalize,WKe=kn.getBuilderName,GKe=kn.getFieldNames,zKe=kn.getFieldValue,HKe=kn.getSupertypeNames,YKe=kn.namedTypes,JKe=kn.NodePath,XKe=kn.Path,QKe=kn.PathVisitor,ZKe=kn.someField,eWe=kn.Type,tWe=kn.use,rWe=kn.visit;Nr.astNodesAreEquivalent=jKe;Nr.builders=VKe;Nr.builtInTypes=UKe;Nr.defineMethod=qKe;Nr.eachField=$Ke;Nr.finalize=KKe;Nr.getBuilderName=WKe;Nr.getFieldNames=GKe;Nr.getFieldValue=zKe;Nr.getSupertypeNames=HKe;Nr.NodePath=JKe;Nr.Path=XKe;Nr.PathVisitor=QKe;Nr.someField=ZKe;Nr.Type=eWe;Nr.use=tWe;Nr.visit=rWe;Object.assign(Sue.namedTypes,YKe)});var xue=E(uF=>{var Tue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");uF.encode=function(t){if(0<=t&&t<Tue.length)return Tue[t];throw new TypeError("Must be between 0 and 63: "+t)};uF.decode=function(t){var e=65,r=90,i=97,s=122,n=48,a=57,o=43,l=47,u=26,c=52;return e<=t&&t<=r?t-e:i<=t&&t<=s?t-i+u:n<=t&&t<=a?t-n+c:t==o?62:t==l?63:-1}});var fF=E(pF=>{var Eue=xue(),cF=5,wue=1<<cF,Aue=wue-1,Pue=wue;function iWe(t){return t<0?(-t<<1)+1:(t<<1)+0}function sWe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}pF.encode=function(e){var r="",i,s=iWe(e);do i=s&Aue,s>>>=cF,s>0&&(i|=Pue),r+=Eue.encode(i);while(s>0);return r};pF.decode=function(e,r,i){var s=e.length,n=0,a=0,o,l;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Eue.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));o=!!(l&Pue),l&=Aue,n=n+(l<<a),a+=cF}while(o);i.value=sWe(n),i.rest=r}});var ng=E(sa=>{function nWe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}sa.getArg=nWe;var _ue=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,aWe=/^data:.+\,.+$/;function xS(t){var e=t.match(_ue);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}sa.urlParse=xS;function ig(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}sa.urlGenerate=ig;function dF(t){var e=t,r=xS(t);if(r){if(!r.path)return t;e=r.path}for(var i=sa.isAbsolute(e),s=e.split(/\/+/),n,a=0,o=s.length-1;o>=0;o--)n=s[o],n==="."?s.splice(o,1):n===".."?a++:a>0&&(n===""?(s.splice(o+1,a),a=0):(s.splice(o,2),a--));return e=s.join("/"),e===""&&(e=i?"/":"."),r?(r.path=e,ig(r)):e}sa.normalize=dF;function Cue(t,e){t===""&&(t="."),e===""&&(e=".");var r=xS(e),i=xS(t);if(i&&(t=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),ig(r);if(r||e.match(aWe))return e;if(i&&!i.host&&!i.path)return i.host=e,ig(i);var s=e.charAt(0)==="/"?e:dF(t.replace(/\/+$/,"")+"/"+e);return i?(i.path=s,ig(i)):s}sa.join=Cue;sa.isAbsolute=function(t){return t.charAt(0)==="/"||_ue.test(t)};function oWe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var i=t.lastIndexOf("/");if(i<0||(t=t.slice(0,i),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}sa.relative=oWe;var Due=function(){var t=Object.create(null);return!("__proto__"in t)}();function Nue(t){return t}function lWe(t){return Iue(t)?"$"+t:t}sa.toSetString=Due?Nue:lWe;function uWe(t){return Iue(t)?t.slice(1):t}sa.fromSetString=Due?Nue:uWe;function Iue(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function cWe(t,e,r){var i=sg(t.source,e.source);return i!==0||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0||r)||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=t.generatedLine-e.generatedLine,i!==0)?i:sg(t.name,e.name)}sa.compareByOriginalPositions=cWe;function pWe(t,e,r){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0||r)||(i=sg(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:sg(t.name,e.name)}sa.compareByGeneratedPositionsDeflated=pWe;function sg(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function fWe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=sg(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:sg(t.name,e.name)}sa.compareByGeneratedPositionsInflated=fWe;function dWe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}sa.parseSourceMapInput=dWe;function hWe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var i=xS(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var s=i.path.lastIndexOf("/");s>=0&&(i.path=i.path.substring(0,s+1))}e=Cue(ig(i),e)}return dF(e)}sa.computeSourceURL=hWe});var yF=E(Oue=>{var hF=ng(),mF=Object.prototype.hasOwnProperty,Um=typeof Map<"u";function Cp(){this._array=[],this._set=Um?new Map:Object.create(null)}Cp.fromArray=function(e,r){for(var i=new Cp,s=0,n=e.length;s<n;s++)i.add(e[s],r);return i};Cp.prototype.size=function(){return Um?this._set.size:Object.getOwnPropertyNames(this._set).length};Cp.prototype.add=function(e,r){var i=Um?e:hF.toSetString(e),s=Um?this.has(e):mF.call(this._set,i),n=this._array.length;(!s||r)&&this._array.push(e),s||(Um?this._set.set(e,n):this._set[i]=n)};Cp.prototype.has=function(e){if(Um)return this._set.has(e);var r=hF.toSetString(e);return mF.call(this._set,r)};Cp.prototype.indexOf=function(e){if(Um){var r=this._set.get(e);if(r>=0)return r}else{var i=hF.toSetString(e);if(mF.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Cp.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Cp.prototype.toArray=function(){return this._array.slice()};Oue.ArraySet=Cp});var Fue=E(Lue=>{var kue=ng();function mWe(t,e){var r=t.generatedLine,i=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=s||kue.compareByGeneratedPositionsInflated(t,e)<=0}function mP(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}mP.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};mP.prototype.add=function(e){mWe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};mP.prototype.toArray=function(){return this._sorted||(this._array.sort(kue.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Lue.MappingList=mP});var gF=E(Rue=>{var ES=fF(),on=ng(),yP=yF().ArraySet,yWe=Fue().MappingList;function Tl(t){t||(t={}),this._file=on.getArg(t,"file",null),this._sourceRoot=on.getArg(t,"sourceRoot",null),this._skipValidation=on.getArg(t,"skipValidation",!1),this._sources=new yP,this._names=new yP,this._mappings=new yWe,this._sourcesContents=null}Tl.prototype._version=3;Tl.fromSourceMap=function(e){var r=e.sourceRoot,i=new Tl({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,r!=null&&(n.source=on.relative(r,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),i.addMapping(n)}),e.sources.forEach(function(s){var n=s;r!==null&&(n=on.relative(r,s)),i._sources.has(n)||i._sources.add(n);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};Tl.prototype.addMapping=function(e){var r=on.getArg(e,"generated"),i=on.getArg(e,"original",null),s=on.getArg(e,"source",null),n=on.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,i,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:s,name:n})};Tl.prototype.setSourceContent=function(e,r){var i=e;this._sourceRoot!=null&&(i=on.relative(this._sourceRoot,i)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[on.toSetString(i)]=r):this._sourcesContents&&(delete this._sourcesContents[on.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Tl.prototype.applySourceMap=function(e,r,i){var s=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var n=this._sourceRoot;n!=null&&(s=on.relative(n,s));var a=new yP,o=new yP;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,i!=null&&(l.source=on.join(i,l.source)),n!=null&&(l.source=on.relative(n,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var c=l.source;c!=null&&!a.has(c)&&a.add(c);var p=l.name;p!=null&&!o.has(p)&&o.add(p)},this),this._sources=a,this._names=o,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(i!=null&&(l=on.join(i,l)),n!=null&&(l=on.relative(n,l)),this.setSourceContent(l,u))},this)};Tl.prototype._validateMapping=function(e,r,i,s){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!i&&!s)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:r,name:s}))}};Tl.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,s=0,n=0,a=0,o="",l,u,c,p,d=this._mappings.toArray(),f=0,h=d.length;f<h;f++){if(u=d[f],l="",u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=";",r++;else if(f>0){if(!on.compareByGeneratedPositionsInflated(u,d[f-1]))continue;l+=","}l+=ES.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),l+=ES.encode(p-a),a=p,l+=ES.encode(u.originalLine-1-s),s=u.originalLine-1,l+=ES.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=ES.encode(c-n),n=c)),o+=l}return o};Tl.prototype._generateSourcesContent=function(e,r){return e.map(function(i){if(!this._sourcesContents)return null;r!=null&&(i=on.relative(r,i));var s=on.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Tl.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Tl.prototype.toString=function(){return JSON.stringify(this.toJSON())};Rue.SourceMapGenerator=Tl});var Bue=E(qm=>{qm.GREATEST_LOWER_BOUND=1;qm.LEAST_UPPER_BOUND=2;function bF(t,e,r,i,s,n){var a=Math.floor((e-t)/2)+t,o=s(r,i[a],!0);return o===0?a:o>0?e-a>1?bF(a,e,r,i,s,n):n==qm.LEAST_UPPER_BOUND?e<i.length?e:-1:a:a-t>1?bF(t,a,r,i,s,n):n==qm.LEAST_UPPER_BOUND?a:t<0?-1:t}qm.search=function(e,r,i,s){if(r.length===0)return-1;var n=bF(-1,r.length,e,r,i,s||qm.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(r[n],r[n-1],!0)===0;)--n;return n}});var jue=E(Mue=>{function vF(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function gWe(t,e){return Math.round(t+Math.random()*(e-t))}function SF(t,e,r,i){if(r<i){var s=gWe(r,i),n=r-1;vF(t,s,i);for(var a=t[i],o=r;o<i;o++)e(t[o],a)<=0&&(n+=1,vF(t,n,o));vF(t,n+1,o);var l=n+1;SF(t,e,r,l-1),SF(t,e,l+1,i)}}Mue.quickSort=function(t,e){SF(t,e,0,t.length-1)}});var Uue=E(gP=>{var Tt=ng(),TF=Bue(),ag=yF().ArraySet,bWe=fF(),wS=jue().quickSort;function ts(t,e){var r=t;return typeof t=="string"&&(r=Tt.parseSourceMapInput(t)),r.sections!=null?new gu(r,e):new Hn(r,e)}ts.fromSourceMap=function(t,e){return Hn.fromSourceMap(t,e)};ts.prototype._version=3;ts.prototype.__generatedMappings=null;Object.defineProperty(ts.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});ts.prototype.__originalMappings=null;Object.defineProperty(ts.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});ts.prototype._charIsMappingSeparator=function(e,r){var i=e.charAt(r);return i===";"||i===","};ts.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};ts.GENERATED_ORDER=1;ts.ORIGINAL_ORDER=2;ts.GREATEST_LOWER_BOUND=1;ts.LEAST_UPPER_BOUND=2;ts.prototype.eachMapping=function(e,r,i){var s=r||null,n=i||ts.GENERATED_ORDER,a;switch(n){case ts.GENERATED_ORDER:a=this._generatedMappings;break;case ts.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=Tt.computeSourceURL(o,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,s)};ts.prototype.allGeneratedPositionsFor=function(e){var r=Tt.getArg(e,"line"),i={source:Tt.getArg(e,"source"),originalLine:r,originalColumn:Tt.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var s=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Tt.compareByOriginalPositions,TF.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)s.push({line:Tt.getArg(a,"generatedLine",null),column:Tt.getArg(a,"generatedColumn",null),lastColumn:Tt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:Tt.getArg(a,"generatedLine",null),column:Tt.getArg(a,"generatedColumn",null),lastColumn:Tt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};gP.SourceMapConsumer=ts;function Hn(t,e){var r=t;typeof t=="string"&&(r=Tt.parseSourceMapInput(t));var i=Tt.getArg(r,"version"),s=Tt.getArg(r,"sources"),n=Tt.getArg(r,"names",[]),a=Tt.getArg(r,"sourceRoot",null),o=Tt.getArg(r,"sourcesContent",null),l=Tt.getArg(r,"mappings"),u=Tt.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=Tt.normalize(a)),s=s.map(String).map(Tt.normalize).map(function(c){return a&&Tt.isAbsolute(a)&&Tt.isAbsolute(c)?Tt.relative(a,c):c}),this._names=ag.fromArray(n.map(String),!0),this._sources=ag.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return Tt.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=e,this.file=u}Hn.prototype=Object.create(ts.prototype);Hn.prototype.consumer=ts;Hn.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Tt.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};Hn.fromSourceMap=function(e,r){var i=Object.create(Hn.prototype),s=i._names=ag.fromArray(e._names.toArray(),!0),n=i._sources=ag.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(f){return Tt.computeSourceURL(i.sourceRoot,f,r)});for(var a=e._mappings.toArray().slice(),o=i.__generatedMappings=[],l=i.__originalMappings=[],u=0,c=a.length;u<c;u++){var p=a[u],d=new Vue;d.generatedLine=p.generatedLine,d.generatedColumn=p.generatedColumn,p.source&&(d.source=n.indexOf(p.source),d.originalLine=p.originalLine,d.originalColumn=p.originalColumn,p.name&&(d.name=s.indexOf(p.name)),l.push(d)),o.push(d)}return wS(i.__originalMappings,Tt.compareByOriginalPositions),i};Hn.prototype._version=3;Object.defineProperty(Hn.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Vue(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Hn.prototype._parseMappings=function(e,r){for(var i=1,s=0,n=0,a=0,o=0,l=0,u=e.length,c=0,p={},d={},f=[],h=[],m,g,b,T,x;c<u;)if(e.charAt(c)===";")i++,c++,s=0;else if(e.charAt(c)===",")c++;else{for(m=new Vue,m.generatedLine=i,T=c;T<u&&!this._charIsMappingSeparator(e,T);T++);if(g=e.slice(c,T),b=p[g],b)c+=g.length;else{for(b=[];c<T;)bWe.decode(e,c,d),x=d.value,c=d.rest,b.push(x);if(b.length===2)throw new Error("Found a source, but no line and column");if(b.length===3)throw new Error("Found a source and line, but no column");p[g]=b}m.generatedColumn=s+b[0],s=m.generatedColumn,b.length>1&&(m.source=o+b[1],o+=b[1],m.originalLine=n+b[2],n=m.originalLine,m.originalLine+=1,m.originalColumn=a+b[3],a=m.originalColumn,b.length>4&&(m.name=l+b[4],l+=b[4])),h.push(m),typeof m.originalLine=="number"&&f.push(m)}wS(h,Tt.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,wS(f,Tt.compareByOriginalPositions),this.__originalMappings=f};Hn.prototype._findMapping=function(e,r,i,s,n,a){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return TF.search(e,r,n,a)};Hn.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(r.generatedLine===i.generatedLine){r.lastGeneratedColumn=i.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Hn.prototype.originalPositionFor=function(e){var r={generatedLine:Tt.getArg(e,"line"),generatedColumn:Tt.getArg(e,"column")},i=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Tt.compareByGeneratedPositionsDeflated,Tt.getArg(e,"bias",ts.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===r.generatedLine){var n=Tt.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=Tt.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=Tt.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:Tt.getArg(s,"originalLine",null),column:Tt.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};Hn.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Hn.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var s=e;this.sourceRoot!=null&&(s=Tt.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=Tt.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')};Hn.prototype.generatedPositionFor=function(e){var r=Tt.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var i={source:r,originalLine:Tt.getArg(e,"line"),originalColumn:Tt.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Tt.compareByOriginalPositions,Tt.getArg(e,"bias",ts.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:Tt.getArg(n,"generatedLine",null),column:Tt.getArg(n,"generatedColumn",null),lastColumn:Tt.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};gP.BasicSourceMapConsumer=Hn;function gu(t,e){var r=t;typeof t=="string"&&(r=Tt.parseSourceMapInput(t));var i=Tt.getArg(r,"version"),s=Tt.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new ag,this._names=new ag;var n={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=Tt.getArg(a,"offset"),l=Tt.getArg(o,"line"),u=Tt.getArg(o,"column");if(l<n.line||l===n.line&&u<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new ts(Tt.getArg(a,"map"),e)}})}gu.prototype=Object.create(ts.prototype);gu.prototype.constructor=ts;gu.prototype._version=3;Object.defineProperty(gu.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});gu.prototype.originalPositionFor=function(e){var r={generatedLine:Tt.getArg(e,"line"),generatedColumn:Tt.getArg(e,"column")},i=TF.search(r,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[i];return s?s.consumer.originalPositionFor({line:r.generatedLine-(s.generatedOffset.generatedLine-1),column:r.generatedColumn-(s.generatedOffset.generatedLine===r.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};gu.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};gu.prototype.sourceContentFor=function(e,r){for(var i=0;i<this._sections.length;i++){var s=this._sections[i],n=s.consumer.sourceContentFor(e,!0);if(n)return n}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};gu.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var i=this._sections[r];if(i.consumer._findSourceIndex(Tt.getArg(e,"source"))!==-1){var s=i.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(i.generatedOffset.generatedLine-1),column:s.column+(i.generatedOffset.generatedLine===s.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};gu.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var s=this._sections[i],n=s.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],l=s.consumer._sources.at(o.source);l=Tt.computeSourceURL(s.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;o.name&&(u=s.consumer._names.at(o.name),this._names.add(u),u=this._names.indexOf(u));var c={source:l,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:u};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}wS(this.__generatedMappings,Tt.compareByGeneratedPositionsDeflated),wS(this.__originalMappings,Tt.compareByOriginalPositions)};gP.IndexedSourceMapConsumer=gu});var $ue=E(que=>{var vWe=gF().SourceMapGenerator,bP=ng(),SWe=/(\r?\n)/,TWe=10,og="$$$isSourceNode$$$";function qo(t,e,r,i,s){this.children=[],this.sourceContents={},this.line=t==null?null:t,this.column=e==null?null:e,this.source=r==null?null:r,this.name=s==null?null:s,this[og]=!0,i!=null&&this.add(i)}qo.fromStringWithSourceMap=function(e,r,i){var s=new qo,n=e.split(SWe),a=0,o=function(){var d=h(),f=h()||"";return d+f;function h(){return a<n.length?n[a++]:void 0}},l=1,u=0,c=null;return r.eachMapping(function(d){if(c!==null)if(l<d.generatedLine)p(c,o()),l++,u=0;else{var f=n[a]||"",h=f.substr(0,d.generatedColumn-u);n[a]=f.substr(d.generatedColumn-u),u=d.generatedColumn,p(c,h),c=d;return}for(;l<d.generatedLine;)s.add(o()),l++;if(u<d.generatedColumn){var f=n[a]||"";s.add(f.substr(0,d.generatedColumn)),n[a]=f.substr(d.generatedColumn),u=d.generatedColumn}c=d},this),a<n.length&&(c&&p(c,o()),s.add(n.splice(a).join(""))),r.sources.forEach(function(d){var f=r.sourceContentFor(d);f!=null&&(i!=null&&(d=bP.join(i,d)),s.setSourceContent(d,f))}),s;function p(d,f){if(d===null||d.source===void 0)s.add(f);else{var h=i?bP.join(i,d.source):d.source;s.add(new qo(d.originalLine,d.originalColumn,h,f,d.name))}}};qo.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[og]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};qo.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[og]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};qo.prototype.walk=function(e){for(var r,i=0,s=this.children.length;i<s;i++)r=this.children[i],r[og]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};qo.prototype.join=function(e){var r,i,s=this.children.length;if(s>0){for(r=[],i=0;i<s-1;i++)r.push(this.children[i]),r.push(e);r.push(this.children[i]),this.children=r}return this};qo.prototype.replaceRight=function(e,r){var i=this.children[this.children.length-1];return i[og]?i.replaceRight(e,r):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,r):this.children.push("".replace(e,r)),this};qo.prototype.setSourceContent=function(e,r){this.sourceContents[bP.toSetString(e)]=r};qo.prototype.walkSourceContents=function(e){for(var r=0,i=this.children.length;r<i;r++)this.children[r][og]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,i=s.length;r<i;r++)e(bP.fromSetString(s[r]),this.sourceContents[s[r]])};qo.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};qo.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},i=new vWe(e),s=!1,n=null,a=null,o=null,l=null;return this.walk(function(u,c){r.code+=u,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||l!==c.name)&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),n=c.source,a=c.line,o=c.column,l=c.name,s=!0):s&&(i.addMapping({generated:{line:r.line,column:r.column}}),n=null,s=!1);for(var p=0,d=u.length;p<d;p++)u.charCodeAt(p)===TWe?(r.line++,r.column=0,p+1===d?(n=null,s=!1):s&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(u,c){i.setSourceContent(u,c)}),{code:r.code,map:i}};que.SourceNode=qo});var xF=E(vP=>{vP.SourceMapGenerator=gF().SourceMapGenerator;vP.SourceMapConsumer=Uue().SourceMapConsumer;vP.SourceNode=$ue().SourceNode});var Dp=E(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.isTrailingCommaEnabled=Fs.getParentExportDeclaration=Fs.isExportDeclaration=Fs.fixFaultyLocations=Fs.getTrueLoc=Fs.composeSourceMaps=Fs.copyPos=Fs.comparePos=Fs.getUnionOfKeys=Fs.getOption=void 0;var wF=(yu(),ar(cc)),AS=wF.__importDefault(require("assert")),xWe=wF.__importStar(_p()),SP=xWe.namedTypes,Wue=wF.__importDefault(xF()),Kue=Wue.default.SourceMapConsumer,EWe=Wue.default.SourceMapGenerator,Gue=Object.prototype.hasOwnProperty;function wWe(t,e,r){return t&&Gue.call(t,e)?t[e]:r}Fs.getOption=wWe;function AWe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r={},i=t.length,s=0;s<i;++s)for(var n=Object.keys(t[s]),a=n.length,o=0;o<a;++o)r[n[o]]=!0;return r}Fs.getUnionOfKeys=AWe;function pc(t,e){return t.line-e.line||t.column-e.column}Fs.comparePos=pc;function bd(t){return{line:t.line,column:t.column}}Fs.copyPos=bd;function PWe(t,e){if(t){if(!e)return t}else return e||null;var r=new Kue(t),i=new Kue(e),s=new EWe({file:e.file,sourceRoot:e.sourceRoot}),n={};return i.eachMapping(function(a){var o=r.originalPositionFor({line:a.originalLine,column:a.originalColumn}),l=o.source;if(l!==null){s.addMapping({source:l,original:bd(o),generated:{line:a.generatedLine,column:a.generatedColumn},name:a.name});var u=r.sourceContentFor(l);u&&!Gue.call(n,l)&&(n[l]=u,s.setSourceContent(l,u))}}),s.toJSON()}Fs.composeSourceMaps=PWe;function _We(t,e){if(!t.loc)return null;var r={start:t.loc.start,end:t.loc.end};function i(s){EF(r,s.loc)}return t.declaration&&t.declaration.decorators&&TP(t)&&t.declaration.decorators.forEach(i),pc(r.start,r.end)<0&&(r.start=bd(r.start),e.skipSpaces(r.start,!1,!0),pc(r.start,r.end)<0&&(r.end=bd(r.end),e.skipSpaces(r.end,!0,!0))),t.comments&&t.comments.forEach(i),r}Fs.getTrueLoc=_We;function EF(t,e){t&&e&&(pc(e.start,t.start)<0&&(t.start=e.start),pc(t.end,e.end)<0&&(t.end=e.end))}function CWe(t,e){var r=t.loc;if(r&&(r.start.line<1&&(r.start.line=1),r.end.line<1&&(r.end.line=1)),t.type==="File"&&(r.start=e.firstPos(),r.end=e.lastPos()),DWe(t,e),NWe(t,e),r&&t.decorators)t.decorators.forEach(function(a){EF(r,a.loc)});else if(t.declaration&&TP(t)){t.declaration.loc=null;var i=t.declaration.decorators;i&&i.forEach(function(a){EF(r,a.loc)})}else if(SP.MethodDefinition&&SP.MethodDefinition.check(t)||SP.Property.check(t)&&(t.method||t.shorthand))t.value.loc=null,SP.FunctionExpression.check(t.value)&&(t.value.id=null);else if(t.type==="ObjectTypeProperty"){var s=t.loc,n=s&&s.end;n&&(n=bd(n),e.prevPos(n)&&e.charAt(n)===","&&(n=e.skipSpaces(n,!0,!0))&&(s.end=n))}}Fs.fixFaultyLocations=CWe;function DWe(t,e){if(t.type!=="ForStatement")return;function r(i){for(var s=i&&i.loc,n=s&&s.start,a=s&&bd(s.end);n&&a&&pc(n,a)<0&&(e.prevPos(a),e.charAt(a)===";");)s.end.line=a.line,s.end.column=a.column}r(t.init),r(t.test),r(t.update)}function NWe(t,e){if(t.type==="TemplateLiteral"&&t.quasis.length!==0){if(t.loc){var r=bd(t.loc.start);AS.default.strictEqual(e.charAt(r),"`"),AS.default.ok(e.nextPos(r));var i=t.quasis[0];pc(i.loc.start,r)<0&&(i.loc.start=r);var s=bd(t.loc.end);AS.default.ok(e.prevPos(s)),AS.default.strictEqual(e.charAt(s),"`");var n=t.quasis[t.quasis.length-1];pc(s,n.loc.end)<0&&(n.loc.end=s)}t.expressions.forEach(function(a,o){var l=e.skipSpaces(a.loc.start,!0,!1);if(e.prevPos(l)&&e.charAt(l)==="{"&&e.prevPos(l)&&e.charAt(l)==="$"){var u=t.quasis[o];pc(l,u.loc.end)<0&&(u.loc.end=l)}var c=e.skipSpaces(a.loc.end,!1,!1);if(e.charAt(c)==="}"){AS.default.ok(e.nextPos(c));var p=t.quasis[o+1];pc(p.loc.start,c)<0&&(p.loc.start=c)}})}}function TP(t){if(t)switch(t.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}Fs.isExportDeclaration=TP;function IWe(t){var e=t.getParentNode();return t.getName()==="declaration"&&TP(e)?e:null}Fs.getParentExportDeclaration=IWe;function OWe(t,e){var r=t.trailingComma;return typeof r=="object"?!!r[e]:!!r}Fs.isTrailingCommaEnabled=OWe});var PF=E((PS,AF)=>{(function(e,r){typeof PS=="object"&&typeof AF=="object"?AF.exports=r():typeof define=="function"&&define.amd?define([],r):typeof PS=="object"?PS.esprima=r():e.esprima=r()})(PS,function(){return function(t){var e={};function r(i){if(e[i])return e[i].exports;var s=e[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}return r.m=t,r.c=e,r.p="",r(0)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(1),s=r(3),n=r(8),a=r(15);function o(d,f,h){var m=null,g=function(K,F){h&&h(K,F),m&&m.visit(K,F)},b=typeof h=="function"?g:null,T=!1;if(f){T=typeof f.comment=="boolean"&&f.comment;var x=typeof f.attachComment=="boolean"&&f.attachComment;(T||x)&&(m=new i.CommentHandler,m.attach=x,f.comment=!0,b=g)}var v=!1;f&&typeof f.sourceType=="string"&&(v=f.sourceType==="module");var w;f&&typeof f.jsx=="boolean"&&f.jsx?w=new s.JSXParser(d,f,b):w=new n.Parser(d,f,b);var A=v?w.parseModule():w.parseScript(),C=A;return T&&m&&(C.comments=m.comments),w.config.tokens&&(C.tokens=w.tokens),w.config.tolerant&&(C.errors=w.errorHandler.errors),C}e.parse=o;function l(d,f,h){var m=f||{};return m.sourceType="module",o(d,m,h)}e.parseModule=l;function u(d,f,h){var m=f||{};return m.sourceType="script",o(d,m,h)}e.parseScript=u;function c(d,f,h){var m=new a.Tokenizer(d,f),g;g=[];try{for(;;){var b=m.getNextToken();if(!b)break;h&&(b=h(b)),g.push(b)}}catch(T){m.errorHandler.tolerate(T)}return m.errorHandler.tolerant&&(g.errors=m.errors()),g}e.tokenize=c;var p=r(2);e.Syntax=p.Syntax,e.version="4.0.1"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(a,o){if(a.type===i.Syntax.BlockStatement&&a.body.length===0){for(var l=[],u=this.leading.length-1;u>=0;--u){var c=this.leading[u];o.end.offset>=c.start&&(l.unshift(c.comment),this.leading.splice(u,1),this.trailing.splice(u,1))}l.length&&(a.innerComments=l)}},n.prototype.findTrailingComments=function(a){var o=[];if(this.trailing.length>0){for(var l=this.trailing.length-1;l>=0;--l){var u=this.trailing[l];u.start>=a.end.offset&&o.unshift(u.comment)}return this.trailing.length=0,o}var c=this.stack[this.stack.length-1];if(c&&c.node.trailingComments){var p=c.node.trailingComments[0];p&&p.range[0]>=a.end.offset&&(o=c.node.trailingComments,delete c.node.trailingComments)}return o},n.prototype.findLeadingComments=function(a){for(var o=[],l;this.stack.length>0;){var u=this.stack[this.stack.length-1];if(u&&u.start>=a.start.offset)l=u.node,this.stack.pop();else break}if(l){for(var c=l.leadingComments?l.leadingComments.length:0,p=c-1;p>=0;--p){var d=l.leadingComments[p];d.range[1]<=a.start.offset&&(o.unshift(d),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,o}for(var p=this.leading.length-1;p>=0;--p){var u=this.leading[p];u.start<=a.start.offset&&(o.unshift(u.comment),this.leading.splice(p,1))}return o},n.prototype.visitNode=function(a,o){if(!(a.type===i.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,o);var l=this.findTrailingComments(o),u=this.findLeadingComments(o);u.length>0&&(a.leadingComments=u),l.length>0&&(a.trailingComments=l),this.stack.push({node:a,start:o.start.offset})}},n.prototype.visitComment=function(a,o){var l=a.type[0]==="L"?"Line":"Block",u={type:l,value:a.value};if(a.range&&(u.range=a.range),a.loc&&(u.loc=a.loc),this.comments.push(u),this.attach){var c={comment:{type:l,value:a.value,range:[o.start.offset,o.end.offset]},start:o.start.offset};a.loc&&(c.comment.loc=a.loc),a.type=l,this.leading.push(c),this.trailing.push(c)}},n.prototype.visit=function(a,o){a.type==="LineComment"?this.visitComment(a,o):a.type==="BlockComment"?this.visitComment(a,o):this.attach&&this.visitNode(a,o)},n}();e.CommentHandler=s},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(t,e,r){"use strict";var i=this&&this.__extends||function(){var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,m){h.__proto__=m}||function(h,m){for(var g in m)m.hasOwnProperty(g)&&(h[g]=m[g])};return function(h,m){f(h,m);function g(){this.constructor=h}h.prototype=m===null?Object.create(m):(g.prototype=m.prototype,new g)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=r(4),n=r(5),a=r(6),o=r(7),l=r(8),u=r(13),c=r(14);u.TokenName[100]="JSXIdentifier",u.TokenName[101]="JSXText";function p(f){var h;switch(f.type){case a.JSXSyntax.JSXIdentifier:var m=f;h=m.name;break;case a.JSXSyntax.JSXNamespacedName:var g=f;h=p(g.namespace)+":"+p(g.name);break;case a.JSXSyntax.JSXMemberExpression:var b=f;h=p(b.object)+"."+p(b.property);break;default:break}return h}var d=function(f){i(h,f);function h(m,g,b){return f.call(this,m,g,b)||this}return h.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():f.prototype.parsePrimaryExpression.call(this)},h.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},h.prototype.finishJSX=function(){this.nextToken()},h.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},h.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.scanXHTMLEntity=function(m){for(var g="&",b=!0,T=!1,x=!1,v=!1;!this.scanner.eof()&&b&&!T;){var w=this.scanner.source[this.scanner.index];if(w===m)break;if(T=w===";",g+=w,++this.scanner.index,!T)switch(g.length){case 2:x=w==="#";break;case 3:x&&(v=w==="x",b=v||s.Character.isDecimalDigit(w.charCodeAt(0)),x=x&&!v);break;default:b=b&&!(x&&!s.Character.isDecimalDigit(w.charCodeAt(0))),b=b&&!(v&&!s.Character.isHexDigit(w.charCodeAt(0)));break}}if(b&&T&&g.length>2){var A=g.substr(1,g.length-2);x&&A.length>1?g=String.fromCharCode(parseInt(A.substr(1),10)):v&&A.length>2?g=String.fromCharCode(parseInt("0"+A.substr(1),16)):!x&&!v&&c.XHTMLEntities[A]&&(g=c.XHTMLEntities[A])}return g},h.prototype.lexJSX=function(){var m=this.scanner.source.charCodeAt(this.scanner.index);if(m===60||m===62||m===47||m===58||m===61||m===123||m===125){var g=this.scanner.source[this.scanner.index++];return{type:7,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(m===34||m===39){for(var b=this.scanner.index,T=this.scanner.source[this.scanner.index++],x="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index++];if(v===T)break;v==="&"?x+=this.scanXHTMLEntity(T):x+=v}return{type:8,value:x,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(m===46){var w=this.scanner.source.charCodeAt(this.scanner.index+1),A=this.scanner.source.charCodeAt(this.scanner.index+2),g=w===46&&A===46?"...":".",b=this.scanner.index;return this.scanner.index+=g.length,{type:7,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(m===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(s.Character.isIdentifierStart(m)&&m!==92){var b=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var v=this.scanner.source.charCodeAt(this.scanner.index);if(s.Character.isIdentifierPart(v)&&v!==92)++this.scanner.index;else if(v===45)++this.scanner.index;else break}var C=this.scanner.source.slice(b,this.scanner.index);return{type:100,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},h.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var m=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(m)),m},h.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var m=this.scanner.index,g="";!this.scanner.eof();){var b=this.scanner.source[this.scanner.index];if(b==="{"||b==="<")break;++this.scanner.index,g+=b,s.Character.isLineTerminator(b.charCodeAt(0))&&(++this.scanner.lineNumber,b==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
118
|
-
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var T={type:101,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:m,end:this.scanner.index};return g.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(T)),T},h.prototype.peekJSXToken=function(){var m=this.scanner.saveState();this.scanner.scanComments();var g=this.lexJSX();return this.scanner.restoreState(m),g},h.prototype.expectJSX=function(m){var g=this.nextJSXToken();(g.type!==7||g.value!==m)&&this.throwUnexpectedToken(g)},h.prototype.matchJSX=function(m){var g=this.peekJSXToken();return g.type===7&&g.value===m},h.prototype.parseJSXIdentifier=function(){var m=this.createJSXNode(),g=this.nextJSXToken();return g.type!==100&&this.throwUnexpectedToken(g),this.finalize(m,new n.JSXIdentifier(g.value))},h.prototype.parseJSXElementName=function(){var m=this.createJSXNode(),g=this.parseJSXIdentifier();if(this.matchJSX(":")){var b=g;this.expectJSX(":");var T=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(b,T))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var x=g;this.expectJSX(".");var v=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXMemberExpression(x,v))}return g},h.prototype.parseJSXAttributeName=function(){var m=this.createJSXNode(),g,b=this.parseJSXIdentifier();if(this.matchJSX(":")){var T=b;this.expectJSX(":");var x=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(T,x))}else g=b;return g},h.prototype.parseJSXStringLiteralAttribute=function(){var m=this.createJSXNode(),g=this.nextJSXToken();g.type!==8&&this.throwUnexpectedToken(g);var b=this.getTokenRaw(g);return this.finalize(m,new o.Literal(g.value,b))},h.prototype.parseJSXExpressionAttribute=function(){var m=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var g=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(m,new n.JSXExpressionContainer(g))},h.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},h.prototype.parseJSXNameValueAttribute=function(){var m=this.createJSXNode(),g=this.parseJSXAttributeName(),b=null;return this.matchJSX("=")&&(this.expectJSX("="),b=this.parseJSXAttributeValue()),this.finalize(m,new n.JSXAttribute(g,b))},h.prototype.parseJSXSpreadAttribute=function(){var m=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var g=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(m,new n.JSXSpreadAttribute(g))},h.prototype.parseJSXAttributes=function(){for(var m=[];!this.matchJSX("/")&&!this.matchJSX(">");){var g=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();m.push(g)}return m},h.prototype.parseJSXOpeningElement=function(){var m=this.createJSXNode();this.expectJSX("<");var g=this.parseJSXElementName(),b=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(g,T,b))},h.prototype.parseJSXBoundaryElement=function(){var m=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var g=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(m,new n.JSXClosingElement(g))}var b=this.parseJSXElementName(),T=this.parseJSXAttributes(),x=this.matchJSX("/");return x&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(b,x,T))},h.prototype.parseJSXEmptyExpression=function(){var m=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(m,new n.JSXEmptyExpression)},h.prototype.parseJSXExpressionContainer=function(){var m=this.createJSXNode();this.expectJSX("{");var g;return this.matchJSX("}")?(g=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),g=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(m,new n.JSXExpressionContainer(g))},h.prototype.parseJSXChildren=function(){for(var m=[];!this.scanner.eof();){var g=this.createJSXChildNode(),b=this.nextJSXText();if(b.start<b.end){var T=this.getTokenRaw(b),x=this.finalize(g,new n.JSXText(b.value,T));m.push(x)}if(this.scanner.source[this.scanner.index]==="{"){var v=this.parseJSXExpressionContainer();m.push(v)}else break}return m},h.prototype.parseComplexJSXElement=function(m){for(var g=[];!this.scanner.eof();){m.children=m.children.concat(this.parseJSXChildren());var b=this.createJSXChildNode(),T=this.parseJSXBoundaryElement();if(T.type===a.JSXSyntax.JSXOpeningElement){var x=T;if(x.selfClosing){var v=this.finalize(b,new n.JSXElement(x,[],null));m.children.push(v)}else g.push(m),m={node:b,opening:x,closing:null,children:[]}}if(T.type===a.JSXSyntax.JSXClosingElement){m.closing=T;var w=p(m.opening.name),A=p(m.closing.name);if(w!==A&&this.tolerateError("Expected corresponding JSX closing tag for %0",w),g.length>0){var v=this.finalize(m.node,new n.JSXElement(m.opening,m.children,m.closing));m=g[g.length-1],m.children.push(v),g.pop()}else break}}return m},h.prototype.parseJSXElement=function(){var m=this.createJSXNode(),g=this.parseJSXOpeningElement(),b=[],T=null;if(!g.selfClosing){var x=this.parseComplexJSXElement({node:m,opening:g,closing:T,children:b});b=x.children,T=x.closing}return this.finalize(m,new n.JSXElement(g,b,T))},h.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var m=this.parseJSXElement();return this.finishJSX(),m},h.prototype.isStartOfExpression=function(){return f.prototype.isStartOfExpression.call(this)||this.match("<")},h}(l.Parser);e.JSXParser=d},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\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\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\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};e.Character={fromCodePoint:function(i){return i<65536?String.fromCharCode(i):String.fromCharCode(55296+(i-65536>>10))+String.fromCharCode(56320+(i-65536&1023))},isWhiteSpace:function(i){return i===32||i===9||i===11||i===12||i===160||i>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(i)>=0},isLineTerminator:function(i){return i===10||i===13||i===8232||i===8233},isIdentifierStart:function(i){return i===36||i===95||i>=65&&i<=90||i>=97&&i<=122||i===92||i>=128&&r.NonAsciiIdentifierStart.test(e.Character.fromCodePoint(i))},isIdentifierPart:function(i){return i===36||i===95||i>=65&&i<=90||i>=97&&i<=122||i>=48&&i<=57||i===92||i>=128&&r.NonAsciiIdentifierPart.test(e.Character.fromCodePoint(i))},isDecimalDigit:function(i){return i>=48&&i<=57},isHexDigit:function(i){return i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102},isOctalDigit:function(i){return i>=48&&i<=55}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(6),s=function(){function m(g){this.type=i.JSXSyntax.JSXClosingElement,this.name=g}return m}();e.JSXClosingElement=s;var n=function(){function m(g,b,T){this.type=i.JSXSyntax.JSXElement,this.openingElement=g,this.children=b,this.closingElement=T}return m}();e.JSXElement=n;var a=function(){function m(){this.type=i.JSXSyntax.JSXEmptyExpression}return m}();e.JSXEmptyExpression=a;var o=function(){function m(g){this.type=i.JSXSyntax.JSXExpressionContainer,this.expression=g}return m}();e.JSXExpressionContainer=o;var l=function(){function m(g){this.type=i.JSXSyntax.JSXIdentifier,this.name=g}return m}();e.JSXIdentifier=l;var u=function(){function m(g,b){this.type=i.JSXSyntax.JSXMemberExpression,this.object=g,this.property=b}return m}();e.JSXMemberExpression=u;var c=function(){function m(g,b){this.type=i.JSXSyntax.JSXAttribute,this.name=g,this.value=b}return m}();e.JSXAttribute=c;var p=function(){function m(g,b){this.type=i.JSXSyntax.JSXNamespacedName,this.namespace=g,this.name=b}return m}();e.JSXNamespacedName=p;var d=function(){function m(g,b,T){this.type=i.JSXSyntax.JSXOpeningElement,this.name=g,this.selfClosing=b,this.attributes=T}return m}();e.JSXOpeningElement=d;var f=function(){function m(g){this.type=i.JSXSyntax.JSXSpreadAttribute,this.argument=g}return m}();e.JSXSpreadAttribute=f;var h=function(){function m(g,b){this.type=i.JSXSyntax.JSXText,this.value=g,this.raw=b}return m}();e.JSXText=h},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=function(){function ge(oe){this.type=i.Syntax.ArrayExpression,this.elements=oe}return ge}();e.ArrayExpression=s;var n=function(){function ge(oe){this.type=i.Syntax.ArrayPattern,this.elements=oe}return ge}();e.ArrayPattern=n;var a=function(){function ge(oe,We,ur){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=We,this.generator=!1,this.expression=ur,this.async=!1}return ge}();e.ArrowFunctionExpression=a;var o=function(){function ge(oe,We,ur){this.type=i.Syntax.AssignmentExpression,this.operator=oe,this.left=We,this.right=ur}return ge}();e.AssignmentExpression=o;var l=function(){function ge(oe,We){this.type=i.Syntax.AssignmentPattern,this.left=oe,this.right=We}return ge}();e.AssignmentPattern=l;var u=function(){function ge(oe,We,ur){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=We,this.generator=!1,this.expression=ur,this.async=!0}return ge}();e.AsyncArrowFunctionExpression=u;var c=function(){function ge(oe,We,ur){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=We,this.body=ur,this.generator=!1,this.expression=!1,this.async=!0}return ge}();e.AsyncFunctionDeclaration=c;var p=function(){function ge(oe,We,ur){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=We,this.body=ur,this.generator=!1,this.expression=!1,this.async=!0}return ge}();e.AsyncFunctionExpression=p;var d=function(){function ge(oe){this.type=i.Syntax.AwaitExpression,this.argument=oe}return ge}();e.AwaitExpression=d;var f=function(){function ge(oe,We,ur){var Cn=oe==="||"||oe==="&&";this.type=Cn?i.Syntax.LogicalExpression:i.Syntax.BinaryExpression,this.operator=oe,this.left=We,this.right=ur}return ge}();e.BinaryExpression=f;var h=function(){function ge(oe){this.type=i.Syntax.BlockStatement,this.body=oe}return ge}();e.BlockStatement=h;var m=function(){function ge(oe){this.type=i.Syntax.BreakStatement,this.label=oe}return ge}();e.BreakStatement=m;var g=function(){function ge(oe,We){this.type=i.Syntax.CallExpression,this.callee=oe,this.arguments=We}return ge}();e.CallExpression=g;var b=function(){function ge(oe,We){this.type=i.Syntax.CatchClause,this.param=oe,this.body=We}return ge}();e.CatchClause=b;var T=function(){function ge(oe){this.type=i.Syntax.ClassBody,this.body=oe}return ge}();e.ClassBody=T;var x=function(){function ge(oe,We,ur){this.type=i.Syntax.ClassDeclaration,this.id=oe,this.superClass=We,this.body=ur}return ge}();e.ClassDeclaration=x;var v=function(){function ge(oe,We,ur){this.type=i.Syntax.ClassExpression,this.id=oe,this.superClass=We,this.body=ur}return ge}();e.ClassExpression=v;var w=function(){function ge(oe,We){this.type=i.Syntax.MemberExpression,this.computed=!0,this.object=oe,this.property=We}return ge}();e.ComputedMemberExpression=w;var A=function(){function ge(oe,We,ur){this.type=i.Syntax.ConditionalExpression,this.test=oe,this.consequent=We,this.alternate=ur}return ge}();e.ConditionalExpression=A;var C=function(){function ge(oe){this.type=i.Syntax.ContinueStatement,this.label=oe}return ge}();e.ContinueStatement=C;var K=function(){function ge(){this.type=i.Syntax.DebuggerStatement}return ge}();e.DebuggerStatement=K;var F=function(){function ge(oe,We){this.type=i.Syntax.ExpressionStatement,this.expression=oe,this.directive=We}return ge}();e.Directive=F;var Q=function(){function ge(oe,We){this.type=i.Syntax.DoWhileStatement,this.body=oe,this.test=We}return ge}();e.DoWhileStatement=Q;var X=function(){function ge(){this.type=i.Syntax.EmptyStatement}return ge}();e.EmptyStatement=X;var Te=function(){function ge(oe){this.type=i.Syntax.ExportAllDeclaration,this.source=oe}return ge}();e.ExportAllDeclaration=Te;var qe=function(){function ge(oe){this.type=i.Syntax.ExportDefaultDeclaration,this.declaration=oe}return ge}();e.ExportDefaultDeclaration=qe;var Ke=function(){function ge(oe,We,ur){this.type=i.Syntax.ExportNamedDeclaration,this.declaration=oe,this.specifiers=We,this.source=ur}return ge}();e.ExportNamedDeclaration=Ke;var ae=function(){function ge(oe,We){this.type=i.Syntax.ExportSpecifier,this.exported=We,this.local=oe}return ge}();e.ExportSpecifier=ae;var ne=function(){function ge(oe){this.type=i.Syntax.ExpressionStatement,this.expression=oe}return ge}();e.ExpressionStatement=ne;var Ce=function(){function ge(oe,We,ur){this.type=i.Syntax.ForInStatement,this.left=oe,this.right=We,this.body=ur,this.each=!1}return ge}();e.ForInStatement=Ce;var Ue=function(){function ge(oe,We,ur){this.type=i.Syntax.ForOfStatement,this.left=oe,this.right=We,this.body=ur}return ge}();e.ForOfStatement=Ue;var Dt=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.ForStatement,this.init=oe,this.test=We,this.update=ur,this.body=Cn}return ge}();e.ForStatement=Dt;var ce=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=We,this.body=ur,this.generator=Cn,this.expression=!1,this.async=!1}return ge}();e.FunctionDeclaration=ce;var Re=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=We,this.body=ur,this.generator=Cn,this.expression=!1,this.async=!1}return ge}();e.FunctionExpression=Re;var Z=function(){function ge(oe){this.type=i.Syntax.Identifier,this.name=oe}return ge}();e.Identifier=Z;var Ee=function(){function ge(oe,We,ur){this.type=i.Syntax.IfStatement,this.test=oe,this.consequent=We,this.alternate=ur}return ge}();e.IfStatement=Ee;var xe=function(){function ge(oe,We){this.type=i.Syntax.ImportDeclaration,this.specifiers=oe,this.source=We}return ge}();e.ImportDeclaration=xe;var we=function(){function ge(oe){this.type=i.Syntax.ImportDefaultSpecifier,this.local=oe}return ge}();e.ImportDefaultSpecifier=we;var Be=function(){function ge(oe){this.type=i.Syntax.ImportNamespaceSpecifier,this.local=oe}return ge}();e.ImportNamespaceSpecifier=Be;var me=function(){function ge(oe,We){this.type=i.Syntax.ImportSpecifier,this.local=oe,this.imported=We}return ge}();e.ImportSpecifier=me;var pe=function(){function ge(oe,We){this.type=i.Syntax.LabeledStatement,this.label=oe,this.body=We}return ge}();e.LabeledStatement=pe;var le=function(){function ge(oe,We){this.type=i.Syntax.Literal,this.value=oe,this.raw=We}return ge}();e.Literal=le;var Fe=function(){function ge(oe,We){this.type=i.Syntax.MetaProperty,this.meta=oe,this.property=We}return ge}();e.MetaProperty=Fe;var be=function(){function ge(oe,We,ur,Cn,il){this.type=i.Syntax.MethodDefinition,this.key=oe,this.computed=We,this.value=ur,this.kind=Cn,this.static=il}return ge}();e.MethodDefinition=be;var _e=function(){function ge(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="module"}return ge}();e.Module=_e;var Ze=function(){function ge(oe,We){this.type=i.Syntax.NewExpression,this.callee=oe,this.arguments=We}return ge}();e.NewExpression=Ze;var Ct=function(){function ge(oe){this.type=i.Syntax.ObjectExpression,this.properties=oe}return ge}();e.ObjectExpression=Ct;var ht=function(){function ge(oe){this.type=i.Syntax.ObjectPattern,this.properties=oe}return ge}();e.ObjectPattern=ht;var nr=function(){function ge(oe,We,ur,Cn,il,dI){this.type=i.Syntax.Property,this.key=We,this.computed=ur,this.value=Cn,this.kind=oe,this.method=il,this.shorthand=dI}return ge}();e.Property=nr;var Mr=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.Literal,this.value=oe,this.raw=We,this.regex={pattern:ur,flags:Cn}}return ge}();e.RegexLiteral=Mr;var jr=function(){function ge(oe){this.type=i.Syntax.RestElement,this.argument=oe}return ge}();e.RestElement=jr;var Si=function(){function ge(oe){this.type=i.Syntax.ReturnStatement,this.argument=oe}return ge}();e.ReturnStatement=Si;var Ps=function(){function ge(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="script"}return ge}();e.Script=Ps;var qs=function(){function ge(oe){this.type=i.Syntax.SequenceExpression,this.expressions=oe}return ge}();e.SequenceExpression=qs;var $n=function(){function ge(oe){this.type=i.Syntax.SpreadElement,this.argument=oe}return ge}();e.SpreadElement=$n;var br=function(){function ge(oe,We){this.type=i.Syntax.MemberExpression,this.computed=!1,this.object=oe,this.property=We}return ge}();e.StaticMemberExpression=br;var _s=function(){function ge(){this.type=i.Syntax.Super}return ge}();e.Super=_s;var Cs=function(){function ge(oe,We){this.type=i.Syntax.SwitchCase,this.test=oe,this.consequent=We}return ge}();e.SwitchCase=Cs;var im=function(){function ge(oe,We){this.type=i.Syntax.SwitchStatement,this.discriminant=oe,this.cases=We}return ge}();e.SwitchStatement=im;var Zl=function(){function ge(oe,We){this.type=i.Syntax.TaggedTemplateExpression,this.tag=oe,this.quasi=We}return ge}();e.TaggedTemplateExpression=Zl;var Lt=function(){function ge(oe,We){this.type=i.Syntax.TemplateElement,this.value=oe,this.tail=We}return ge}();e.TemplateElement=Lt;var Zn=function(){function ge(oe,We){this.type=i.Syntax.TemplateLiteral,this.quasis=oe,this.expressions=We}return ge}();e.TemplateLiteral=Zn;var Kt=function(){function ge(){this.type=i.Syntax.ThisExpression}return ge}();e.ThisExpression=Kt;var kr=function(){function ge(oe){this.type=i.Syntax.ThrowStatement,this.argument=oe}return ge}();e.ThrowStatement=kr;var $s=function(){function ge(oe,We,ur){this.type=i.Syntax.TryStatement,this.block=oe,this.handler=We,this.finalizer=ur}return ge}();e.TryStatement=$s;var _n=function(){function ge(oe,We){this.type=i.Syntax.UnaryExpression,this.operator=oe,this.argument=We,this.prefix=!0}return ge}();e.UnaryExpression=_n;var Hf=function(){function ge(oe,We,ur){this.type=i.Syntax.UpdateExpression,this.operator=oe,this.argument=We,this.prefix=ur}return ge}();e.UpdateExpression=Hf;var fI=function(){function ge(oe,We){this.type=i.Syntax.VariableDeclaration,this.declarations=oe,this.kind=We}return ge}();e.VariableDeclaration=fI;var Yy=function(){function ge(oe,We){this.type=i.Syntax.VariableDeclarator,this.id=oe,this.init=We}return ge}();e.VariableDeclarator=Yy;var Lo=function(){function ge(oe,We){this.type=i.Syntax.WhileStatement,this.test=oe,this.body=We}return ge}();e.WhileStatement=Lo;var eo=function(){function ge(oe,We){this.type=i.Syntax.WithStatement,this.object=oe,this.body=We}return ge}();e.WithStatement=eo;var Mi=function(){function ge(oe,We){this.type=i.Syntax.YieldExpression,this.argument=oe,this.delegate=We}return ge}();e.YieldExpression=Mi},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(9),s=r(10),n=r(11),a=r(7),o=r(12),l=r(2),u=r(13),c="ArrowParameterPlaceHolder",p=function(){function d(f,h,m){h===void 0&&(h={}),this.config={range:typeof h.range=="boolean"&&h.range,loc:typeof h.loc=="boolean"&&h.loc,source:null,tokens:typeof h.tokens=="boolean"&&h.tokens,comment:typeof h.comment=="boolean"&&h.comment,tolerant:typeof h.tolerant=="boolean"&&h.tolerant},this.config.loc&&h.source&&h.source!==null&&(this.config.source=String(h.source)),this.delegate=m,this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new o.Scanner(f,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return d.prototype.throwError=function(f){for(var h=[],m=1;m<arguments.length;m++)h[m-1]=arguments[m];var g=Array.prototype.slice.call(arguments,1),b=f.replace(/%(\d)/g,function(w,A){return i.assert(A<g.length,"Message reference must be in range"),g[A]}),T=this.lastMarker.index,x=this.lastMarker.line,v=this.lastMarker.column+1;throw this.errorHandler.createError(T,x,v,b)},d.prototype.tolerateError=function(f){for(var h=[],m=1;m<arguments.length;m++)h[m-1]=arguments[m];var g=Array.prototype.slice.call(arguments,1),b=f.replace(/%(\d)/g,function(w,A){return i.assert(A<g.length,"Message reference must be in range"),g[A]}),T=this.lastMarker.index,x=this.scanner.lineNumber,v=this.lastMarker.column+1;this.errorHandler.tolerateError(T,x,v,b)},d.prototype.unexpectedTokenError=function(f,h){var m=h||n.Messages.UnexpectedToken,g;if(f?(h||(m=f.type===2?n.Messages.UnexpectedEOS:f.type===3?n.Messages.UnexpectedIdentifier:f.type===6?n.Messages.UnexpectedNumber:f.type===8?n.Messages.UnexpectedString:f.type===10?n.Messages.UnexpectedTemplate:n.Messages.UnexpectedToken,f.type===4&&(this.scanner.isFutureReservedWord(f.value)?m=n.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(f.value)&&(m=n.Messages.StrictReservedWord))),g=f.value):g="ILLEGAL",m=m.replace("%0",g),f&&typeof f.lineNumber=="number"){var b=f.start,T=f.lineNumber,x=this.lastMarker.index-this.lastMarker.column,v=f.start-x+1;return this.errorHandler.createError(b,T,v,m)}else{var b=this.lastMarker.index,T=this.lastMarker.line,v=this.lastMarker.column+1;return this.errorHandler.createError(b,T,v,m)}},d.prototype.throwUnexpectedToken=function(f,h){throw this.unexpectedTokenError(f,h)},d.prototype.tolerateUnexpectedToken=function(f,h){this.errorHandler.tolerate(this.unexpectedTokenError(f,h))},d.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var f=this.scanner.scanComments();if(f.length>0&&this.delegate)for(var h=0;h<f.length;++h){var m=f[h],g=void 0;g={type:m.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(m.slice[0],m.slice[1])},this.config.range&&(g.range=m.range),this.config.loc&&(g.loc=m.loc);var b={start:{line:m.loc.start.line,column:m.loc.start.column,offset:m.range[0]},end:{line:m.loc.end.line,column:m.loc.end.column,offset:m.range[1]}};this.delegate(g,b)}}},d.prototype.getTokenRaw=function(f){return this.scanner.source.slice(f.start,f.end)},d.prototype.convertToken=function(f){var h={type:u.TokenName[f.type],value:this.getTokenRaw(f)};if(this.config.range&&(h.range=[f.start,f.end]),this.config.loc&&(h.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),f.type===9){var m=f.pattern,g=f.flags;h.regex={pattern:m,flags:g}}return h},d.prototype.nextToken=function(){var f=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var h=this.scanner.lex();return this.hasLineTerminator=f.lineNumber!==h.lineNumber,h&&this.context.strict&&h.type===3&&this.scanner.isStrictModeReservedWord(h.value)&&(h.type=4),this.lookahead=h,this.config.tokens&&h.type!==2&&this.tokens.push(this.convertToken(h)),f},d.prototype.nextRegexToken=function(){this.collectComments();var f=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(f))),this.lookahead=f,this.nextToken(),f},d.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},d.prototype.startNode=function(f,h){h===void 0&&(h=0);var m=f.start-f.lineStart,g=f.lineNumber;return m<0&&(m+=h,g--),{index:f.start,line:g,column:m}},d.prototype.finalize=function(f,h){if(this.config.range&&(h.range=[f.index,this.lastMarker.index]),this.config.loc&&(h.loc={start:{line:f.line,column:f.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(h.loc.source=this.config.source)),this.delegate){var m={start:{line:f.line,column:f.column,offset:f.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(h,m)}return h},d.prototype.expect=function(f){var h=this.nextToken();(h.type!==7||h.value!==f)&&this.throwUnexpectedToken(h)},d.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var f=this.lookahead;f.type===7&&f.value===","?this.nextToken():f.type===7&&f.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(f)):this.tolerateUnexpectedToken(f,n.Messages.UnexpectedToken)}else this.expect(",")},d.prototype.expectKeyword=function(f){var h=this.nextToken();(h.type!==4||h.value!==f)&&this.throwUnexpectedToken(h)},d.prototype.match=function(f){return this.lookahead.type===7&&this.lookahead.value===f},d.prototype.matchKeyword=function(f){return this.lookahead.type===4&&this.lookahead.value===f},d.prototype.matchContextualKeyword=function(f){return this.lookahead.type===3&&this.lookahead.value===f},d.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var f=this.lookahead.value;return f==="="||f==="*="||f==="**="||f==="/="||f==="%="||f==="+="||f==="-="||f==="<<="||f===">>="||f===">>>="||f==="&="||f==="^="||f==="|="},d.prototype.isolateCoverGrammar=function(f){var h=this.context.isBindingElement,m=this.context.isAssignmentTarget,g=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var b=f.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=h,this.context.isAssignmentTarget=m,this.context.firstCoverInitializedNameError=g,b},d.prototype.inheritCoverGrammar=function(f){var h=this.context.isBindingElement,m=this.context.isAssignmentTarget,g=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var b=f.call(this);return this.context.isBindingElement=this.context.isBindingElement&&h,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&m,this.context.firstCoverInitializedNameError=g||this.context.firstCoverInitializedNameError,b},d.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},d.prototype.parsePrimaryExpression=function(){var f=this.createNode(),h,m,g;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),h=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(f,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,m=this.nextToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.Literal(m.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,m=this.nextToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.Literal(m.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,m=this.nextToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.Literal(null,g));break;case 10:h=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,h=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":h=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":h=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,m=this.nextRegexToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.RegexLiteral(m.regex,g,m.pattern,m.flags));break;default:h=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?h=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?h=this.finalize(f,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?h=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),h=this.finalize(f,new a.ThisExpression)):this.matchKeyword("class")?h=this.parseClassExpression():h=this.throwUnexpectedToken(this.nextToken()));break;default:h=this.throwUnexpectedToken(this.nextToken())}return h},d.prototype.parseSpreadElement=function(){var f=this.createNode();this.expect("...");var h=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(f,new a.SpreadElement(h))},d.prototype.parseArrayInitializer=function(){var f=this.createNode(),h=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),h.push(null);else if(this.match("...")){var m=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),h.push(m)}else h.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(f,new a.ArrayExpression(h))},d.prototype.parsePropertyMethod=function(f){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var h=this.context.strict,m=this.context.allowStrictDirective;this.context.allowStrictDirective=f.simple;var g=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&f.firstRestricted&&this.tolerateUnexpectedToken(f.firstRestricted,f.message),this.context.strict&&f.stricted&&this.tolerateUnexpectedToken(f.stricted,f.message),this.context.strict=h,this.context.allowStrictDirective=m,g},d.prototype.parsePropertyMethodFunction=function(){var f=!1,h=this.createNode(),m=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(h,new a.FunctionExpression(null,g.params,b,f))},d.prototype.parsePropertyMethodAsyncFunction=function(){var f=this.createNode(),h=this.context.allowYield,m=this.context.await;this.context.allowYield=!1,this.context.await=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=h,this.context.await=m,this.finalize(f,new a.AsyncFunctionExpression(null,g.params,b))},d.prototype.parseObjectPropertyKey=function(){var f=this.createNode(),h=this.nextToken(),m;switch(h.type){case 8:case 6:this.context.strict&&h.octal&&this.tolerateUnexpectedToken(h,n.Messages.StrictOctalLiteral);var g=this.getTokenRaw(h);m=this.finalize(f,new a.Literal(h.value,g));break;case 3:case 1:case 5:case 4:m=this.finalize(f,new a.Identifier(h.value));break;case 7:h.value==="["?(m=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):m=this.throwUnexpectedToken(h);break;default:m=this.throwUnexpectedToken(h)}return m},d.prototype.isPropertyKey=function(f,h){return f.type===l.Syntax.Identifier&&f.name===h||f.type===l.Syntax.Literal&&f.value===h},d.prototype.parseObjectProperty=function(f){var h=this.createNode(),m=this.lookahead,g,b=null,T=null,x=!1,v=!1,w=!1,A=!1;if(m.type===3){var C=m.value;this.nextToken(),x=this.match("["),A=!this.hasLineTerminator&&C==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),b=A?this.parseObjectPropertyKey():this.finalize(h,new a.Identifier(C))}else this.match("*")?this.nextToken():(x=this.match("["),b=this.parseObjectPropertyKey());var K=this.qualifiedPropertyName(this.lookahead);if(m.type===3&&!A&&m.value==="get"&&K)g="get",x=this.match("["),b=this.parseObjectPropertyKey(),this.context.allowYield=!1,T=this.parseGetterMethod();else if(m.type===3&&!A&&m.value==="set"&&K)g="set",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseSetterMethod();else if(m.type===7&&m.value==="*"&&K)g="init",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseGeneratorMethod(),v=!0;else if(b||this.throwUnexpectedToken(this.lookahead),g="init",this.match(":")&&!A)!x&&this.isPropertyKey(b,"__proto__")&&(f.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),f.value=!0),this.nextToken(),T=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))T=A?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),v=!0;else if(m.type===3){var C=this.finalize(h,new a.Identifier(m.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),w=!0;var F=this.isolateCoverGrammar(this.parseAssignmentExpression);T=this.finalize(h,new a.AssignmentPattern(C,F))}else w=!0,T=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(h,new a.Property(g,b,x,T,v,w))},d.prototype.parseObjectInitializer=function(){var f=this.createNode();this.expect("{");for(var h=[],m={value:!1};!this.match("}");)h.push(this.parseObjectProperty(m)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(f,new a.ObjectExpression(h))},d.prototype.parseTemplateHead=function(){i.assert(this.lookahead.head,"Template literal must start with a template head");var f=this.createNode(),h=this.nextToken(),m=h.value,g=h.cooked;return this.finalize(f,new a.TemplateElement({raw:m,cooked:g},h.tail))},d.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var f=this.createNode(),h=this.nextToken(),m=h.value,g=h.cooked;return this.finalize(f,new a.TemplateElement({raw:m,cooked:g},h.tail))},d.prototype.parseTemplateLiteral=function(){var f=this.createNode(),h=[],m=[],g=this.parseTemplateHead();for(m.push(g);!g.tail;)h.push(this.parseExpression()),g=this.parseTemplateElement(),m.push(g);return this.finalize(f,new a.TemplateLiteral(m,h))},d.prototype.reinterpretExpressionAsPattern=function(f){switch(f.type){case l.Syntax.Identifier:case l.Syntax.MemberExpression:case l.Syntax.RestElement:case l.Syntax.AssignmentPattern:break;case l.Syntax.SpreadElement:f.type=l.Syntax.RestElement,this.reinterpretExpressionAsPattern(f.argument);break;case l.Syntax.ArrayExpression:f.type=l.Syntax.ArrayPattern;for(var h=0;h<f.elements.length;h++)f.elements[h]!==null&&this.reinterpretExpressionAsPattern(f.elements[h]);break;case l.Syntax.ObjectExpression:f.type=l.Syntax.ObjectPattern;for(var h=0;h<f.properties.length;h++)this.reinterpretExpressionAsPattern(f.properties[h].value);break;case l.Syntax.AssignmentExpression:f.type=l.Syntax.AssignmentPattern,delete f.operator,this.reinterpretExpressionAsPattern(f.left);break;default:break}},d.prototype.parseGroupExpression=function(){var f;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),f={type:c,params:[],async:!1};else{var h=this.lookahead,m=[];if(this.match("..."))f=this.parseRestElement(m),this.expect(")"),this.match("=>")||this.expect("=>"),f={type:c,params:[f],async:!1};else{var g=!1;if(this.context.isBindingElement=!0,f=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var b=[];for(this.context.isAssignmentTarget=!1,b.push(f);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var T=0;T<b.length;T++)this.reinterpretExpressionAsPattern(b[T]);g=!0,f={type:c,params:b,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),b.push(this.parseRestElement(m)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var T=0;T<b.length;T++)this.reinterpretExpressionAsPattern(b[T]);g=!0,f={type:c,params:b,async:!1}}else b.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(g)break}g||(f=this.finalize(this.startNode(h),new a.SequenceExpression(b)))}if(!g){if(this.expect(")"),this.match("=>")&&(f.type===l.Syntax.Identifier&&f.name==="yield"&&(g=!0,f={type:c,params:[f],async:!1}),!g)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),f.type===l.Syntax.SequenceExpression)for(var T=0;T<f.expressions.length;T++)this.reinterpretExpressionAsPattern(f.expressions[T]);else this.reinterpretExpressionAsPattern(f);var x=f.type===l.Syntax.SequenceExpression?f.expressions:[f];f={type:c,params:x,async:!1}}this.context.isBindingElement=!1}}}return f},d.prototype.parseArguments=function(){this.expect("(");var f=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(f.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),f},d.prototype.isIdentifierName=function(f){return f.type===3||f.type===4||f.type===1||f.type===5},d.prototype.parseIdentifierName=function(){var f=this.createNode(),h=this.nextToken();return this.isIdentifierName(h)||this.throwUnexpectedToken(h),this.finalize(f,new a.Identifier(h.value))},d.prototype.parseNewExpression=function(){var f=this.createNode(),h=this.parseIdentifierName();i.assert(h.name==="new","New expression must start with `new`");var m;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var g=this.parseIdentifierName();m=new a.MetaProperty(h,g)}else this.throwUnexpectedToken(this.lookahead);else{var b=this.isolateCoverGrammar(this.parseLeftHandSideExpression),T=this.match("(")?this.parseArguments():[];m=new a.NewExpression(b,T),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(f,m)},d.prototype.parseAsyncArgument=function(){var f=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,f},d.prototype.parseAsyncArguments=function(){this.expect("(");var f=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(f.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),f},d.prototype.parseLeftHandSideExpressionAllowCall=function(){var f=this.lookahead,h=this.matchContextualKeyword("async"),m=this.context.allowIn;this.context.allowIn=!0;var g;for(this.matchKeyword("super")&&this.context.inFunctionBody?(g=this.createNode(),this.nextToken(),g=this.finalize(g,new a.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):g=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var b=this.parseIdentifierName();g=this.finalize(this.startNode(f),new a.StaticMemberExpression(g,b))}else if(this.match("(")){var T=h&&f.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var x=T?this.parseAsyncArguments():this.parseArguments();if(g=this.finalize(this.startNode(f),new a.CallExpression(g,x)),T&&this.match("=>")){for(var v=0;v<x.length;++v)this.reinterpretExpressionAsPattern(x[v]);g={type:c,params:x,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var b=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),g=this.finalize(this.startNode(f),new a.ComputedMemberExpression(g,b))}else if(this.lookahead.type===10&&this.lookahead.head){var w=this.parseTemplateLiteral();g=this.finalize(this.startNode(f),new a.TaggedTemplateExpression(g,w))}else break;return this.context.allowIn=m,g},d.prototype.parseSuper=function(){var f=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(f,new a.Super)},d.prototype.parseLeftHandSideExpression=function(){i.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var f=this.startNode(this.lookahead),h=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var m=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),h=this.finalize(f,new a.ComputedMemberExpression(h,m))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var m=this.parseIdentifierName();h=this.finalize(f,new a.StaticMemberExpression(h,m))}else if(this.lookahead.type===10&&this.lookahead.head){var g=this.parseTemplateLiteral();h=this.finalize(f,new a.TaggedTemplateExpression(h,g))}else break;return h},d.prototype.parseUpdateExpression=function(){var f,h=this.lookahead;if(this.match("++")||this.match("--")){var m=this.startNode(h),g=this.nextToken();f=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&f.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(f.name)&&this.tolerateError(n.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment);var b=!0;f=this.finalize(m,new a.UpdateExpression(g.value,f,b)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(f=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&f.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(f.name)&&this.tolerateError(n.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var T=this.nextToken().value,b=!1;f=this.finalize(this.startNode(h),new a.UpdateExpression(T,f,b))}return f},d.prototype.parseAwaitExpression=function(){var f=this.createNode();this.nextToken();var h=this.parseUnaryExpression();return this.finalize(f,new a.AwaitExpression(h))},d.prototype.parseUnaryExpression=function(){var f;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var h=this.startNode(this.lookahead),m=this.nextToken();f=this.inheritCoverGrammar(this.parseUnaryExpression),f=this.finalize(h,new a.UnaryExpression(m.value,f)),this.context.strict&&f.operator==="delete"&&f.argument.type===l.Syntax.Identifier&&this.tolerateError(n.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?f=this.parseAwaitExpression():f=this.parseUpdateExpression();return f},d.prototype.parseExponentiationExpression=function(){var f=this.lookahead,h=this.inheritCoverGrammar(this.parseUnaryExpression);if(h.type!==l.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var m=h,g=this.isolateCoverGrammar(this.parseExponentiationExpression);h=this.finalize(this.startNode(f),new a.BinaryExpression("**",m,g))}return h},d.prototype.binaryPrecedence=function(f){var h=f.value,m;return f.type===7?m=this.operatorPrecedence[h]||0:f.type===4?m=h==="instanceof"||this.context.allowIn&&h==="in"?7:0:m=0,m},d.prototype.parseBinaryExpression=function(){var f=this.lookahead,h=this.inheritCoverGrammar(this.parseExponentiationExpression),m=this.lookahead,g=this.binaryPrecedence(m);if(g>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var b=[f,this.lookahead],T=h,x=this.isolateCoverGrammar(this.parseExponentiationExpression),v=[T,m.value,x],w=[g];g=this.binaryPrecedence(this.lookahead),!(g<=0);){for(;v.length>2&&g<=w[w.length-1];){x=v.pop();var A=v.pop();w.pop(),T=v.pop(),b.pop();var C=this.startNode(b[b.length-1]);v.push(this.finalize(C,new a.BinaryExpression(A,T,x)))}v.push(this.nextToken().value),w.push(g),b.push(this.lookahead),v.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var K=v.length-1;h=v[K];for(var F=b.pop();K>1;){var Q=b.pop(),X=F&&F.lineStart,C=this.startNode(Q,X),A=v[K-1];h=this.finalize(C,new a.BinaryExpression(A,v[K-2],h)),K-=2,F=Q}}return h},d.prototype.parseConditionalExpression=function(){var f=this.lookahead,h=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var m=this.context.allowIn;this.context.allowIn=!0;var g=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=m,this.expect(":");var b=this.isolateCoverGrammar(this.parseAssignmentExpression);h=this.finalize(this.startNode(f),new a.ConditionalExpression(h,g,b)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return h},d.prototype.checkPatternParam=function(f,h){switch(h.type){case l.Syntax.Identifier:this.validateParam(f,h,h.name);break;case l.Syntax.RestElement:this.checkPatternParam(f,h.argument);break;case l.Syntax.AssignmentPattern:this.checkPatternParam(f,h.left);break;case l.Syntax.ArrayPattern:for(var m=0;m<h.elements.length;m++)h.elements[m]!==null&&this.checkPatternParam(f,h.elements[m]);break;case l.Syntax.ObjectPattern:for(var m=0;m<h.properties.length;m++)this.checkPatternParam(f,h.properties[m].value);break;default:break}f.simple=f.simple&&h instanceof a.Identifier},d.prototype.reinterpretAsCoverFormalsList=function(f){var h=[f],m,g=!1;switch(f.type){case l.Syntax.Identifier:break;case c:h=f.params,g=f.async;break;default:return null}m={simple:!0,paramSet:{}};for(var b=0;b<h.length;++b){var T=h[b];T.type===l.Syntax.AssignmentPattern?T.right.type===l.Syntax.YieldExpression&&(T.right.argument&&this.throwUnexpectedToken(this.lookahead),T.right.type=l.Syntax.Identifier,T.right.name="yield",delete T.right.argument,delete T.right.delegate):g&&T.type===l.Syntax.Identifier&&T.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(m,T),h[b]=T}if(this.context.strict||!this.context.allowYield)for(var b=0;b<h.length;++b){var T=h[b];T.type===l.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(m.message===n.Messages.StrictParamDupe){var x=this.context.strict?m.stricted:m.firstRestricted;this.throwUnexpectedToken(x,m.message)}return{simple:m.simple,params:h,stricted:m.stricted,firstRestricted:m.firstRestricted,message:m.message}},d.prototype.parseAssignmentExpression=function(){var f;if(!this.context.allowYield&&this.matchKeyword("yield"))f=this.parseYieldExpression();else{var h=this.lookahead,m=h;if(f=this.parseConditionalExpression(),m.type===3&&m.lineNumber===this.lookahead.lineNumber&&m.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var g=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(g),f={type:c,params:[g],async:!0}}if(f.type===c||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var b=f.async,T=this.reinterpretAsCoverFormalsList(f);if(T){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var x=this.context.strict,v=this.context.allowStrictDirective;this.context.allowStrictDirective=T.simple;var w=this.context.allowYield,A=this.context.await;this.context.allowYield=!0,this.context.await=b;var C=this.startNode(h);this.expect("=>");var K=void 0;if(this.match("{")){var F=this.context.allowIn;this.context.allowIn=!0,K=this.parseFunctionSourceElements(),this.context.allowIn=F}else K=this.isolateCoverGrammar(this.parseAssignmentExpression);var Q=K.type!==l.Syntax.BlockStatement;this.context.strict&&T.firstRestricted&&this.throwUnexpectedToken(T.firstRestricted,T.message),this.context.strict&&T.stricted&&this.tolerateUnexpectedToken(T.stricted,T.message),f=b?this.finalize(C,new a.AsyncArrowFunctionExpression(T.params,K,Q)):this.finalize(C,new a.ArrowFunctionExpression(T.params,K,Q)),this.context.strict=x,this.context.allowStrictDirective=v,this.context.allowYield=w,this.context.await=A}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&f.type===l.Syntax.Identifier){var X=f;this.scanner.isRestrictedWord(X.name)&&this.tolerateUnexpectedToken(m,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(X.name)&&this.tolerateUnexpectedToken(m,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(f):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),m=this.nextToken();var Te=m.value,qe=this.isolateCoverGrammar(this.parseAssignmentExpression);f=this.finalize(this.startNode(h),new a.AssignmentExpression(Te,f,qe)),this.context.firstCoverInitializedNameError=null}}return f},d.prototype.parseExpression=function(){var f=this.lookahead,h=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var m=[];for(m.push(h);this.lookahead.type!==2&&this.match(",");)this.nextToken(),m.push(this.isolateCoverGrammar(this.parseAssignmentExpression));h=this.finalize(this.startNode(f),new a.SequenceExpression(m))}return h},d.prototype.parseStatementListItem=function(){var f;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),f=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),f=this.parseImportDeclaration();break;case"const":f=this.parseLexicalDeclaration({inFor:!1});break;case"function":f=this.parseFunctionDeclaration();break;case"class":f=this.parseClassDeclaration();break;case"let":f=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:f=this.parseStatement();break}else f=this.parseStatement();return f},d.prototype.parseBlock=function(){var f=this.createNode();this.expect("{");for(var h=[];!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.finalize(f,new a.BlockStatement(h))},d.prototype.parseLexicalBinding=function(f,h){var m=this.createNode(),g=[],b=this.parsePattern(g,f);this.context.strict&&b.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(n.Messages.StrictVarName);var T=null;return f==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),T=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!h.inFor&&b.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),T=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(m,new a.VariableDeclarator(b,T))},d.prototype.parseBindingList=function(f,h){for(var m=[this.parseLexicalBinding(f,h)];this.match(",");)this.nextToken(),m.push(this.parseLexicalBinding(f,h));return m},d.prototype.isLexicalDeclaration=function(){var f=this.scanner.saveState();this.scanner.scanComments();var h=this.scanner.lex();return this.scanner.restoreState(f),h.type===3||h.type===7&&h.value==="["||h.type===7&&h.value==="{"||h.type===4&&h.value==="let"||h.type===4&&h.value==="yield"},d.prototype.parseLexicalDeclaration=function(f){var h=this.createNode(),m=this.nextToken().value;i.assert(m==="let"||m==="const","Lexical declaration must be either let or const");var g=this.parseBindingList(m,f);return this.consumeSemicolon(),this.finalize(h,new a.VariableDeclaration(g,m))},d.prototype.parseBindingRestElement=function(f,h){var m=this.createNode();this.expect("...");var g=this.parsePattern(f,h);return this.finalize(m,new a.RestElement(g))},d.prototype.parseArrayPattern=function(f,h){var m=this.createNode();this.expect("[");for(var g=[];!this.match("]");)if(this.match(","))this.nextToken(),g.push(null);else{if(this.match("...")){g.push(this.parseBindingRestElement(f,h));break}else g.push(this.parsePatternWithDefault(f,h));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(m,new a.ArrayPattern(g))},d.prototype.parsePropertyPattern=function(f,h){var m=this.createNode(),g=!1,b=!1,T=!1,x,v;if(this.lookahead.type===3){var w=this.lookahead;x=this.parseVariableIdentifier();var A=this.finalize(m,new a.Identifier(w.value));if(this.match("=")){f.push(w),b=!0,this.nextToken();var C=this.parseAssignmentExpression();v=this.finalize(this.startNode(w),new a.AssignmentPattern(A,C))}else this.match(":")?(this.expect(":"),v=this.parsePatternWithDefault(f,h)):(f.push(w),b=!0,v=A)}else g=this.match("["),x=this.parseObjectPropertyKey(),this.expect(":"),v=this.parsePatternWithDefault(f,h);return this.finalize(m,new a.Property("init",x,g,v,T,b))},d.prototype.parseObjectPattern=function(f,h){var m=this.createNode(),g=[];for(this.expect("{");!this.match("}");)g.push(this.parsePropertyPattern(f,h)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(m,new a.ObjectPattern(g))},d.prototype.parsePattern=function(f,h){var m;return this.match("[")?m=this.parseArrayPattern(f,h):this.match("{")?m=this.parseObjectPattern(f,h):(this.matchKeyword("let")&&(h==="const"||h==="let")&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),f.push(this.lookahead),m=this.parseVariableIdentifier(h)),m},d.prototype.parsePatternWithDefault=function(f,h){var m=this.lookahead,g=this.parsePattern(f,h);if(this.match("=")){this.nextToken();var b=this.context.allowYield;this.context.allowYield=!0;var T=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=b,g=this.finalize(this.startNode(m),new a.AssignmentPattern(g,T))}return g},d.prototype.parseVariableIdentifier=function(f){var h=this.createNode(),m=this.nextToken();return m.type===4&&m.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(m,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(m):m.type!==3?this.context.strict&&m.type===4&&this.scanner.isStrictModeReservedWord(m.value)?this.tolerateUnexpectedToken(m,n.Messages.StrictReservedWord):(this.context.strict||m.value!=="let"||f!=="var")&&this.throwUnexpectedToken(m):(this.context.isModule||this.context.await)&&m.type===3&&m.value==="await"&&this.tolerateUnexpectedToken(m),this.finalize(h,new a.Identifier(m.value))},d.prototype.parseVariableDeclaration=function(f){var h=this.createNode(),m=[],g=this.parsePattern(m,"var");this.context.strict&&g.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type!==l.Syntax.Identifier&&!f.inFor&&this.expect("="),this.finalize(h,new a.VariableDeclarator(g,b))},d.prototype.parseVariableDeclarationList=function(f){var h={inFor:f.inFor},m=[];for(m.push(this.parseVariableDeclaration(h));this.match(",");)this.nextToken(),m.push(this.parseVariableDeclaration(h));return m},d.prototype.parseVariableStatement=function(){var f=this.createNode();this.expectKeyword("var");var h=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(f,new a.VariableDeclaration(h,"var"))},d.prototype.parseEmptyStatement=function(){var f=this.createNode();return this.expect(";"),this.finalize(f,new a.EmptyStatement)},d.prototype.parseExpressionStatement=function(){var f=this.createNode(),h=this.parseExpression();return this.consumeSemicolon(),this.finalize(f,new a.ExpressionStatement(h))},d.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},d.prototype.parseIfStatement=function(){var f=this.createNode(),h,m=null;this.expectKeyword("if"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),h=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),m=this.parseIfClause())),this.finalize(f,new a.IfStatement(g,h,m))},d.prototype.parseDoWhileStatement=function(){var f=this.createNode();this.expectKeyword("do");var h=this.context.inIteration;this.context.inIteration=!0;var m=this.parseStatement();this.context.inIteration=h,this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(f,new a.DoWhileStatement(m,g))},d.prototype.parseWhileStatement=function(){var f=this.createNode(),h;this.expectKeyword("while"),this.expect("(");var m=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var g=this.context.inIteration;this.context.inIteration=!0,h=this.parseStatement(),this.context.inIteration=g}return this.finalize(f,new a.WhileStatement(m,h))},d.prototype.parseForStatement=function(){var f=null,h=null,m=null,g=!0,b,T,x=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){f=this.createNode(),this.nextToken();var v=this.context.allowIn;this.context.allowIn=!1;var w=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=v,w.length===1&&this.matchKeyword("in")){var A=w[0];A.init&&(A.id.type===l.Syntax.ArrayPattern||A.id.type===l.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),f=this.finalize(f,new a.VariableDeclaration(w,"var")),this.nextToken(),b=f,T=this.parseExpression(),f=null}else w.length===1&&w[0].init===null&&this.matchContextualKeyword("of")?(f=this.finalize(f,new a.VariableDeclaration(w,"var")),this.nextToken(),b=f,T=this.parseAssignmentExpression(),f=null,g=!1):(f=this.finalize(f,new a.VariableDeclaration(w,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){f=this.createNode();var C=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")f=this.finalize(f,new a.Identifier(C)),this.nextToken(),b=f,T=this.parseExpression(),f=null;else{var v=this.context.allowIn;this.context.allowIn=!1;var w=this.parseBindingList(C,{inFor:!0});this.context.allowIn=v,w.length===1&&w[0].init===null&&this.matchKeyword("in")?(f=this.finalize(f,new a.VariableDeclaration(w,C)),this.nextToken(),b=f,T=this.parseExpression(),f=null):w.length===1&&w[0].init===null&&this.matchContextualKeyword("of")?(f=this.finalize(f,new a.VariableDeclaration(w,C)),this.nextToken(),b=f,T=this.parseAssignmentExpression(),f=null,g=!1):(this.consumeSemicolon(),f=this.finalize(f,new a.VariableDeclaration(w,C)))}}else{var K=this.lookahead,v=this.context.allowIn;if(this.context.allowIn=!1,f=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=v,this.matchKeyword("in"))(!this.context.isAssignmentTarget||f.type===l.Syntax.AssignmentExpression)&&this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(f),b=f,T=this.parseExpression(),f=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||f.type===l.Syntax.AssignmentExpression)&&this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(f),b=f,T=this.parseAssignmentExpression(),f=null,g=!1;else{if(this.match(",")){for(var F=[f];this.match(",");)this.nextToken(),F.push(this.isolateCoverGrammar(this.parseAssignmentExpression));f=this.finalize(this.startNode(K),new a.SequenceExpression(F))}this.expect(";")}}typeof b>"u"&&(this.match(";")||(h=this.parseExpression()),this.expect(";"),this.match(")")||(m=this.parseExpression()));var Q;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),Q=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var X=this.context.inIteration;this.context.inIteration=!0,Q=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=X}return typeof b>"u"?this.finalize(x,new a.ForStatement(f,h,m,Q)):g?this.finalize(x,new a.ForInStatement(b,T,Q)):this.finalize(x,new a.ForOfStatement(b,T,Q))},d.prototype.parseContinueStatement=function(){var f=this.createNode();this.expectKeyword("continue");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var m=this.parseVariableIdentifier();h=m;var g="$"+m.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)||this.throwError(n.Messages.UnknownLabel,m.name)}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&this.throwError(n.Messages.IllegalContinue),this.finalize(f,new a.ContinueStatement(h))},d.prototype.parseBreakStatement=function(){var f=this.createNode();this.expectKeyword("break");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var m=this.parseVariableIdentifier(),g="$"+m.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)||this.throwError(n.Messages.UnknownLabel,m.name),h=m}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(n.Messages.IllegalBreak),this.finalize(f,new a.BreakStatement(h))},d.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var f=this.createNode();this.expectKeyword("return");var h=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,m=h?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(f,new a.ReturnStatement(m))},d.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var f=this.createNode(),h;this.expectKeyword("with"),this.expect("(");var m=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),h=this.parseStatement()),this.finalize(f,new a.WithStatement(m,h))},d.prototype.parseSwitchCase=function(){var f=this.createNode(),h;this.matchKeyword("default")?(this.nextToken(),h=null):(this.expectKeyword("case"),h=this.parseExpression()),this.expect(":");for(var m=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)m.push(this.parseStatementListItem());return this.finalize(f,new a.SwitchCase(h,m))},d.prototype.parseSwitchStatement=function(){var f=this.createNode();this.expectKeyword("switch"),this.expect("(");var h=this.parseExpression();this.expect(")");var m=this.context.inSwitch;this.context.inSwitch=!0;var g=[],b=!1;for(this.expect("{");!this.match("}");){var T=this.parseSwitchCase();T.test===null&&(b&&this.throwError(n.Messages.MultipleDefaultsInSwitch),b=!0),g.push(T)}return this.expect("}"),this.context.inSwitch=m,this.finalize(f,new a.SwitchStatement(h,g))},d.prototype.parseLabelledStatement=function(){var f=this.createNode(),h=this.parseExpression(),m;if(h.type===l.Syntax.Identifier&&this.match(":")){this.nextToken();var g=h,b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)&&this.throwError(n.Messages.Redeclaration,"Label",g.name),this.context.labelSet[b]=!0;var T=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),T=this.parseClassDeclaration();else if(this.matchKeyword("function")){var x=this.lookahead,v=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(x,n.Messages.StrictFunction):v.generator&&this.tolerateUnexpectedToken(x,n.Messages.GeneratorInLegacyContext),T=v}else T=this.parseStatement();delete this.context.labelSet[b],m=new a.LabeledStatement(g,T)}else this.consumeSemicolon(),m=new a.ExpressionStatement(h);return this.finalize(f,m)},d.prototype.parseThrowStatement=function(){var f=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var h=this.parseExpression();return this.consumeSemicolon(),this.finalize(f,new a.ThrowStatement(h))},d.prototype.parseCatchClause=function(){var f=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var h=[],m=this.parsePattern(h),g={},b=0;b<h.length;b++){var T="$"+h[b].value;Object.prototype.hasOwnProperty.call(g,T)&&this.tolerateError(n.Messages.DuplicateBinding,h[b].value),g[T]=!0}this.context.strict&&m.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(m.name)&&this.tolerateError(n.Messages.StrictCatchVariable),this.expect(")");var x=this.parseBlock();return this.finalize(f,new a.CatchClause(m,x))},d.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},d.prototype.parseTryStatement=function(){var f=this.createNode();this.expectKeyword("try");var h=this.parseBlock(),m=this.matchKeyword("catch")?this.parseCatchClause():null,g=this.matchKeyword("finally")?this.parseFinallyClause():null;return!m&&!g&&this.throwError(n.Messages.NoCatchOrFinally),this.finalize(f,new a.TryStatement(h,m,g))},d.prototype.parseDebuggerStatement=function(){var f=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(f,new a.DebuggerStatement)},d.prototype.parseStatement=function(){var f;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:f=this.parseExpressionStatement();break;case 7:var h=this.lookahead.value;h==="{"?f=this.parseBlock():h==="("?f=this.parseExpressionStatement():h===";"?f=this.parseEmptyStatement():f=this.parseExpressionStatement();break;case 3:f=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":f=this.parseBreakStatement();break;case"continue":f=this.parseContinueStatement();break;case"debugger":f=this.parseDebuggerStatement();break;case"do":f=this.parseDoWhileStatement();break;case"for":f=this.parseForStatement();break;case"function":f=this.parseFunctionDeclaration();break;case"if":f=this.parseIfStatement();break;case"return":f=this.parseReturnStatement();break;case"switch":f=this.parseSwitchStatement();break;case"throw":f=this.parseThrowStatement();break;case"try":f=this.parseTryStatement();break;case"var":f=this.parseVariableStatement();break;case"while":f=this.parseWhileStatement();break;case"with":f=this.parseWithStatement();break;default:f=this.parseExpressionStatement();break}break;default:f=this.throwUnexpectedToken(this.lookahead)}return f},d.prototype.parseFunctionSourceElements=function(){var f=this.createNode();this.expect("{");var h=this.parseDirectivePrologues(),m=this.context.labelSet,g=this.context.inIteration,b=this.context.inSwitch,T=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=m,this.context.inIteration=g,this.context.inSwitch=b,this.context.inFunctionBody=T,this.finalize(f,new a.BlockStatement(h))},d.prototype.validateParam=function(f,h,m){var g="$"+m;this.context.strict?(this.scanner.isRestrictedWord(m)&&(f.stricted=h,f.message=n.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(f.paramSet,g)&&(f.stricted=h,f.message=n.Messages.StrictParamDupe)):f.firstRestricted||(this.scanner.isRestrictedWord(m)?(f.firstRestricted=h,f.message=n.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(m)?(f.firstRestricted=h,f.message=n.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(f.paramSet,g)&&(f.stricted=h,f.message=n.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(f.paramSet,g,{value:!0,enumerable:!0,writable:!0,configurable:!0}):f.paramSet[g]=!0},d.prototype.parseRestElement=function(f){var h=this.createNode();this.expect("...");var m=this.parsePattern(f);return this.match("=")&&this.throwError(n.Messages.DefaultRestParameter),this.match(")")||this.throwError(n.Messages.ParameterAfterRestParameter),this.finalize(h,new a.RestElement(m))},d.prototype.parseFormalParameter=function(f){for(var h=[],m=this.match("...")?this.parseRestElement(h):this.parsePatternWithDefault(h),g=0;g<h.length;g++)this.validateParam(f,h[g],h[g].value);f.simple=f.simple&&m instanceof a.Identifier,f.params.push(m)},d.prototype.parseFormalParameters=function(f){var h;if(h={simple:!0,params:[],firstRestricted:f},this.expect("("),!this.match(")"))for(h.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(h),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:h.simple,params:h.params,stricted:h.stricted,firstRestricted:h.firstRestricted,message:h.message}},d.prototype.matchAsyncFunction=function(){var f=this.matchContextualKeyword("async");if(f){var h=this.scanner.saveState();this.scanner.scanComments();var m=this.scanner.lex();this.scanner.restoreState(h),f=h.lineNumber===m.lineNumber&&m.type===4&&m.value==="function"}return f},d.prototype.parseFunctionDeclaration=function(f){var h=this.createNode(),m=this.matchContextualKeyword("async");m&&this.nextToken(),this.expectKeyword("function");var g=m?!1:this.match("*");g&&this.nextToken();var b,T=null,x=null;if(!f||!this.match("(")){var v=this.lookahead;T=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(v.value)&&this.tolerateUnexpectedToken(v,n.Messages.StrictFunctionName):this.scanner.isRestrictedWord(v.value)?(x=v,b=n.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(v.value)&&(x=v,b=n.Messages.StrictReservedWord)}var w=this.context.await,A=this.context.allowYield;this.context.await=m,this.context.allowYield=!g;var C=this.parseFormalParameters(x),K=C.params,F=C.stricted;x=C.firstRestricted,C.message&&(b=C.message);var Q=this.context.strict,X=this.context.allowStrictDirective;this.context.allowStrictDirective=C.simple;var Te=this.parseFunctionSourceElements();return this.context.strict&&x&&this.throwUnexpectedToken(x,b),this.context.strict&&F&&this.tolerateUnexpectedToken(F,b),this.context.strict=Q,this.context.allowStrictDirective=X,this.context.await=w,this.context.allowYield=A,m?this.finalize(h,new a.AsyncFunctionDeclaration(T,K,Te)):this.finalize(h,new a.FunctionDeclaration(T,K,Te,g))},d.prototype.parseFunctionExpression=function(){var f=this.createNode(),h=this.matchContextualKeyword("async");h&&this.nextToken(),this.expectKeyword("function");var m=h?!1:this.match("*");m&&this.nextToken();var g,b=null,T,x=this.context.await,v=this.context.allowYield;if(this.context.await=h,this.context.allowYield=!m,!this.match("(")){var w=this.lookahead;b=!this.context.strict&&!m&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(w.value)&&this.tolerateUnexpectedToken(w,n.Messages.StrictFunctionName):this.scanner.isRestrictedWord(w.value)?(T=w,g=n.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(T=w,g=n.Messages.StrictReservedWord)}var A=this.parseFormalParameters(T),C=A.params,K=A.stricted;T=A.firstRestricted,A.message&&(g=A.message);var F=this.context.strict,Q=this.context.allowStrictDirective;this.context.allowStrictDirective=A.simple;var X=this.parseFunctionSourceElements();return this.context.strict&&T&&this.throwUnexpectedToken(T,g),this.context.strict&&K&&this.tolerateUnexpectedToken(K,g),this.context.strict=F,this.context.allowStrictDirective=Q,this.context.await=x,this.context.allowYield=v,h?this.finalize(f,new a.AsyncFunctionExpression(b,C,X)):this.finalize(f,new a.FunctionExpression(b,C,X,m))},d.prototype.parseDirective=function(){var f=this.lookahead,h=this.createNode(),m=this.parseExpression(),g=m.type===l.Syntax.Literal?this.getTokenRaw(f).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(h,g?new a.Directive(m,g):new a.ExpressionStatement(m))},d.prototype.parseDirectivePrologues=function(){for(var f=null,h=[];;){var m=this.lookahead;if(m.type!==8)break;var g=this.parseDirective();h.push(g);var b=g.directive;if(typeof b!="string")break;b==="use strict"?(this.context.strict=!0,f&&this.tolerateUnexpectedToken(f,n.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(m,n.Messages.IllegalLanguageModeDirective)):!f&&m.octal&&(f=m)}return h},d.prototype.qualifiedPropertyName=function(f){switch(f.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return f.value==="[";default:break}return!1},d.prototype.parseGetterMethod=function(){var f=this.createNode(),h=!1,m=this.context.allowYield;this.context.allowYield=!h;var g=this.parseFormalParameters();g.params.length>0&&this.tolerateError(n.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(f,new a.FunctionExpression(null,g.params,b,h))},d.prototype.parseSetterMethod=function(){var f=this.createNode(),h=!1,m=this.context.allowYield;this.context.allowYield=!h;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof a.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(f,new a.FunctionExpression(null,g.params,b,h))},d.prototype.parseGeneratorMethod=function(){var f=this.createNode(),h=!0,m=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(f,new a.FunctionExpression(null,g.params,b,h))},d.prototype.isStartOfExpression=function(){var f=!0,h=this.lookahead.value;switch(this.lookahead.type){case 7:f=h==="["||h==="("||h==="{"||h==="+"||h==="-"||h==="!"||h==="~"||h==="++"||h==="--"||h==="/"||h==="/=";break;case 4:f=h==="class"||h==="delete"||h==="function"||h==="let"||h==="new"||h==="super"||h==="this"||h==="typeof"||h==="void"||h==="yield";break;default:break}return f},d.prototype.parseYieldExpression=function(){var f=this.createNode();this.expectKeyword("yield");var h=null,m=!1;if(!this.hasLineTerminator){var g=this.context.allowYield;this.context.allowYield=!1,m=this.match("*"),m?(this.nextToken(),h=this.parseAssignmentExpression()):this.isStartOfExpression()&&(h=this.parseAssignmentExpression()),this.context.allowYield=g}return this.finalize(f,new a.YieldExpression(h,m))},d.prototype.parseClassElement=function(f){var h=this.lookahead,m=this.createNode(),g="",b=null,T=null,x=!1,v=!1,w=!1,A=!1;if(this.match("*"))this.nextToken();else{x=this.match("["),b=this.parseObjectPropertyKey();var C=b;if(C.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(h=this.lookahead,w=!0,x=this.match("["),this.match("*")?this.nextToken():b=this.parseObjectPropertyKey()),h.type===3&&!this.hasLineTerminator&&h.value==="async"){var K=this.lookahead.value;K!==":"&&K!=="("&&K!=="*"&&(A=!0,h=this.lookahead,b=this.parseObjectPropertyKey(),h.type===3&&h.value==="constructor"&&this.tolerateUnexpectedToken(h,n.Messages.ConstructorIsAsync))}}var F=this.qualifiedPropertyName(this.lookahead);return h.type===3?h.value==="get"&&F?(g="get",x=this.match("["),b=this.parseObjectPropertyKey(),this.context.allowYield=!1,T=this.parseGetterMethod()):h.value==="set"&&F&&(g="set",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseSetterMethod()):h.type===7&&h.value==="*"&&F&&(g="init",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseGeneratorMethod(),v=!0),!g&&b&&this.match("(")&&(g="init",T=A?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),v=!0),g||this.throwUnexpectedToken(this.lookahead),g==="init"&&(g="method"),x||(w&&this.isPropertyKey(b,"prototype")&&this.throwUnexpectedToken(h,n.Messages.StaticPrototype),!w&&this.isPropertyKey(b,"constructor")&&((g!=="method"||!v||T&&T.generator)&&this.throwUnexpectedToken(h,n.Messages.ConstructorSpecialMethod),f.value?this.throwUnexpectedToken(h,n.Messages.DuplicateConstructor):f.value=!0,g="constructor")),this.finalize(m,new a.MethodDefinition(b,x,T,g,w))},d.prototype.parseClassElementList=function(){var f=[],h={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():f.push(this.parseClassElement(h));return this.expect("}"),f},d.prototype.parseClassBody=function(){var f=this.createNode(),h=this.parseClassElementList();return this.finalize(f,new a.ClassBody(h))},d.prototype.parseClassDeclaration=function(f){var h=this.createNode(),m=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=f&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var T=this.parseClassBody();return this.context.strict=m,this.finalize(h,new a.ClassDeclaration(g,b,T))},d.prototype.parseClassExpression=function(){var f=this.createNode(),h=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var m=this.lookahead.type===3?this.parseVariableIdentifier():null,g=null;this.matchKeyword("extends")&&(this.nextToken(),g=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=h,this.finalize(f,new a.ClassExpression(m,g,b))},d.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var f=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(f,new a.Module(h))},d.prototype.parseScript=function(){for(var f=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(f,new a.Script(h))},d.prototype.parseModuleSpecifier=function(){var f=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var h=this.nextToken(),m=this.getTokenRaw(h);return this.finalize(f,new a.Literal(h.value,m))},d.prototype.parseImportSpecifier=function(){var f=this.createNode(),h,m;return this.lookahead.type===3?(h=this.parseVariableIdentifier(),m=h,this.matchContextualKeyword("as")&&(this.nextToken(),m=this.parseVariableIdentifier())):(h=this.parseIdentifierName(),m=h,this.matchContextualKeyword("as")?(this.nextToken(),m=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(f,new a.ImportSpecifier(m,h))},d.prototype.parseNamedImports=function(){this.expect("{");for(var f=[];!this.match("}");)f.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),f},d.prototype.parseImportDefaultSpecifier=function(){var f=this.createNode(),h=this.parseIdentifierName();return this.finalize(f,new a.ImportDefaultSpecifier(h))},d.prototype.parseImportNamespaceSpecifier=function(){var f=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var h=this.parseIdentifierName();return this.finalize(f,new a.ImportNamespaceSpecifier(h))},d.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var f=this.createNode();this.expectKeyword("import");var h,m=[];if(this.lookahead.type===8)h=this.parseModuleSpecifier();else{if(this.match("{")?m=m.concat(this.parseNamedImports()):this.match("*")?m.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(m.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?m.push(this.parseImportNamespaceSpecifier()):this.match("{")?m=m.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var g=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}this.nextToken(),h=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(f,new a.ImportDeclaration(m,h))},d.prototype.parseExportSpecifier=function(){var f=this.createNode(),h=this.parseIdentifierName(),m=h;return this.matchContextualKeyword("as")&&(this.nextToken(),m=this.parseIdentifierName()),this.finalize(f,new a.ExportSpecifier(h,m))},d.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var f=this.createNode();this.expectKeyword("export");var h;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var m=this.parseFunctionDeclaration(!0);h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else if(this.matchKeyword("class")){var m=this.parseClassDeclaration(!0);h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else if(this.matchContextualKeyword("async")){var m=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else{this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value);var m=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var g=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}this.nextToken();var b=this.parseModuleSpecifier();this.consumeSemicolon(),h=this.finalize(f,new a.ExportAllDeclaration(b))}else if(this.lookahead.type===4){var m=void 0;switch(this.lookahead.value){case"let":case"const":m=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":m=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}h=this.finalize(f,new a.ExportNamedDeclaration(m,[],null))}else if(this.matchAsyncFunction()){var m=this.parseFunctionDeclaration();h=this.finalize(f,new a.ExportNamedDeclaration(m,[],null))}else{var T=[],x=null,v=!1;for(this.expect("{");!this.match("}");)v=v||this.matchKeyword("default"),T.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),x=this.parseModuleSpecifier(),this.consumeSemicolon();else if(v){var g=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}else this.consumeSemicolon();h=this.finalize(f,new a.ExportNamedDeclaration(null,T,x))}return h},d}();e.Parser=p},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(i,s){if(!i)throw new Error("ASSERT: "+s)}e.assert=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function i(){this.errors=[],this.tolerant=!1}return i.prototype.recordError=function(s){this.errors.push(s)},i.prototype.tolerate=function(s){if(this.tolerant)this.recordError(s);else throw s},i.prototype.constructError=function(s,n){var a=new Error(s);try{throw a}catch(o){Object.create&&Object.defineProperty&&(a=Object.create(o),Object.defineProperty(a,"column",{value:n}))}return a},i.prototype.createError=function(s,n,a,o){var l="Line "+n+": "+o,u=this.constructError(l,a);return u.index=s,u.lineNumber=n,u.description=o,u},i.prototype.throwError=function(s,n,a,o){throw this.createError(s,n,a,o)},i.prototype.tolerateError=function(s,n,a,o){var l=this.createError(s,n,a,o);if(this.tolerant)this.recordError(l);else throw l},i}();e.ErrorHandler=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(9),s=r(4),n=r(11);function a(u){return"0123456789abcdef".indexOf(u.toLowerCase())}function o(u){return"01234567".indexOf(u)}var l=function(){function u(c,p){this.source=c,this.errorHandler=p,this.trackComment=!1,this.isModule=!1,this.length=c.length,this.index=0,this.lineNumber=c.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return u.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},u.prototype.restoreState=function(c){this.index=c.index,this.lineNumber=c.lineNumber,this.lineStart=c.lineStart},u.prototype.eof=function(){return this.index>=this.length},u.prototype.throwUnexpectedToken=function(c){return c===void 0&&(c=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,c)},u.prototype.tolerateUnexpectedToken=function(c){c===void 0&&(c=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,c)},u.prototype.skipSingleLineComment=function(c){var p=[],d,f;for(this.trackComment&&(p=[],d=this.index-c,f={start:{line:this.lineNumber,column:this.index-this.lineStart-c},end:{}});!this.eof();){var h=this.source.charCodeAt(this.index);if(++this.index,s.Character.isLineTerminator(h)){if(this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart-1};var m={multiLine:!1,slice:[d+c,this.index-1],range:[d,this.index-1],loc:f};p.push(m)}return h===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,p}}if(this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var m={multiLine:!1,slice:[d+c,this.index],range:[d,this.index],loc:f};p.push(m)}return p},u.prototype.skipMultiLineComment=function(){var c=[],p,d;for(this.trackComment&&(c=[],p=this.index-2,d={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var f=this.source.charCodeAt(this.index);if(s.Character.isLineTerminator(f))f===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(f===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){d.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[p+2,this.index-2],range:[p,this.index],loc:d};c.push(h)}return c}++this.index}else++this.index}if(this.trackComment){d.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[p+2,this.index],range:[p,this.index],loc:d};c.push(h)}return this.tolerateUnexpectedToken(),c},u.prototype.scanComments=function(){var c;this.trackComment&&(c=[]);for(var p=this.index===0;!this.eof();){var d=this.source.charCodeAt(this.index);if(s.Character.isWhiteSpace(d))++this.index;else if(s.Character.isLineTerminator(d))++this.index,d===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,p=!0;else if(d===47)if(d=this.source.charCodeAt(this.index+1),d===47){this.index+=2;var f=this.skipSingleLineComment(2);this.trackComment&&(c=c.concat(f)),p=!0}else if(d===42){this.index+=2;var f=this.skipMultiLineComment();this.trackComment&&(c=c.concat(f))}else break;else if(p&&d===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var f=this.skipSingleLineComment(3);this.trackComment&&(c=c.concat(f))}else break;else if(d===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var f=this.skipSingleLineComment(4);this.trackComment&&(c=c.concat(f))}else break;else break}return c},u.prototype.isFutureReservedWord=function(c){switch(c){case"enum":case"export":case"import":case"super":return!0;default:return!1}},u.prototype.isStrictModeReservedWord=function(c){switch(c){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},u.prototype.isRestrictedWord=function(c){return c==="eval"||c==="arguments"},u.prototype.isKeyword=function(c){switch(c.length){case 2:return c==="if"||c==="in"||c==="do";case 3:return c==="var"||c==="for"||c==="new"||c==="try"||c==="let";case 4:return c==="this"||c==="else"||c==="case"||c==="void"||c==="with"||c==="enum";case 5:return c==="while"||c==="break"||c==="catch"||c==="throw"||c==="const"||c==="yield"||c==="class"||c==="super";case 6:return c==="return"||c==="typeof"||c==="delete"||c==="switch"||c==="export"||c==="import";case 7:return c==="default"||c==="finally"||c==="extends";case 8:return c==="function"||c==="continue"||c==="debugger";case 10:return c==="instanceof";default:return!1}},u.prototype.codePointAt=function(c){var p=this.source.charCodeAt(c);if(p>=55296&&p<=56319){var d=this.source.charCodeAt(c+1);if(d>=56320&&d<=57343){var f=p;p=(f-55296)*1024+d-56320+65536}}return p},u.prototype.scanHexEscape=function(c){for(var p=c==="u"?4:2,d=0,f=0;f<p;++f)if(!this.eof()&&s.Character.isHexDigit(this.source.charCodeAt(this.index)))d=d*16+a(this.source[this.index++]);else return null;return String.fromCharCode(d)},u.prototype.scanUnicodeCodePointEscape=function(){var c=this.source[this.index],p=0;for(c==="}"&&this.throwUnexpectedToken();!this.eof()&&(c=this.source[this.index++],!!s.Character.isHexDigit(c.charCodeAt(0)));)p=p*16+a(c);return(p>1114111||c!=="}")&&this.throwUnexpectedToken(),s.Character.fromCodePoint(p)},u.prototype.getIdentifier=function(){for(var c=this.index++;!this.eof();){var p=this.source.charCodeAt(this.index);if(p===92)return this.index=c,this.getComplexIdentifier();if(p>=55296&&p<57343)return this.index=c,this.getComplexIdentifier();if(s.Character.isIdentifierPart(p))++this.index;else break}return this.source.slice(c,this.index)},u.prototype.getComplexIdentifier=function(){var c=this.codePointAt(this.index),p=s.Character.fromCodePoint(c);this.index+=p.length;var d;for(c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"),(d===null||d==="\\"||!s.Character.isIdentifierStart(d.charCodeAt(0)))&&this.throwUnexpectedToken()),p=d);!this.eof()&&(c=this.codePointAt(this.index),!!s.Character.isIdentifierPart(c));)d=s.Character.fromCodePoint(c),p+=d,this.index+=d.length,c===92&&(p=p.substr(0,p.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"),(d===null||d==="\\"||!s.Character.isIdentifierPart(d.charCodeAt(0)))&&this.throwUnexpectedToken()),p+=d);return p},u.prototype.octalToDecimal=function(c){var p=c!=="0",d=o(c);return!this.eof()&&s.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(p=!0,d=d*8+o(this.source[this.index++]),"0123".indexOf(c)>=0&&!this.eof()&&s.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(d=d*8+o(this.source[this.index++]))),{code:d,octal:p}},u.prototype.scanIdentifier=function(){var c,p=this.index,d=this.source.charCodeAt(p)===92?this.getComplexIdentifier():this.getIdentifier();if(d.length===1?c=3:this.isKeyword(d)?c=4:d==="null"?c=5:d==="true"||d==="false"?c=1:c=3,c!==3&&p+d.length!==this.index){var f=this.index;this.index=p,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=f}return{type:c,value:d,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},u.prototype.scanPunctuator=function(){var c=this.index,p=this.source[this.index];switch(p){case"(":case"{":p==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,p="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:p=this.source.substr(this.index,4),p===">>>="?this.index+=4:(p=p.substr(0,3),p==="==="||p==="!=="||p===">>>"||p==="<<="||p===">>="||p==="**="?this.index+=3:(p=p.substr(0,2),p==="&&"||p==="||"||p==="=="||p==="!="||p==="+="||p==="-="||p==="*="||p==="/="||p==="++"||p==="--"||p==="<<"||p===">>"||p==="&="||p==="|="||p==="^="||p==="%="||p==="<="||p===">="||p==="=>"||p==="**"?this.index+=2:(p=this.source[this.index],"<>=!+-*%&|^/".indexOf(p)>=0&&++this.index)))}return this.index===c&&this.throwUnexpectedToken(),{type:7,value:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanHexLiteral=function(c){for(var p="";!this.eof()&&s.Character.isHexDigit(this.source.charCodeAt(this.index));)p+=this.source[this.index++];return p.length===0&&this.throwUnexpectedToken(),s.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+p,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanBinaryLiteral=function(c){for(var p="",d;!this.eof()&&(d=this.source[this.index],!(d!=="0"&&d!=="1"));)p+=this.source[this.index++];return p.length===0&&this.throwUnexpectedToken(),this.eof()||(d=this.source.charCodeAt(this.index),(s.Character.isIdentifierStart(d)||s.Character.isDecimalDigit(d))&&this.throwUnexpectedToken()),{type:6,value:parseInt(p,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanOctalLiteral=function(c,p){var d="",f=!1;for(s.Character.isOctalDigit(c.charCodeAt(0))?(f=!0,d="0"+this.source[this.index++]):++this.index;!this.eof()&&s.Character.isOctalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];return!f&&d.length===0&&this.throwUnexpectedToken(),(s.Character.isIdentifierStart(this.source.charCodeAt(this.index))||s.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(d,8),octal:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},u.prototype.isImplicitOctalLiteral=function(){for(var c=this.index+1;c<this.length;++c){var p=this.source[c];if(p==="8"||p==="9")return!1;if(!s.Character.isOctalDigit(p.charCodeAt(0)))return!0}return!0},u.prototype.scanNumericLiteral=function(){var c=this.index,p=this.source[c];i.assert(s.Character.isDecimalDigit(p.charCodeAt(0))||p===".","Numeric literal must start with a decimal digit or a decimal point");var d="";if(p!=="."){if(d=this.source[this.index++],p=this.source[this.index],d==="0"){if(p==="x"||p==="X")return++this.index,this.scanHexLiteral(c);if(p==="b"||p==="B")return++this.index,this.scanBinaryLiteral(c);if(p==="o"||p==="O")return this.scanOctalLiteral(p,c);if(p&&s.Character.isOctalDigit(p.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(p,c)}for(;s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];p=this.source[this.index]}if(p==="."){for(d+=this.source[this.index++];s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];p=this.source[this.index]}if(p==="e"||p==="E")if(d+=this.source[this.index++],p=this.source[this.index],(p==="+"||p==="-")&&(d+=this.source[this.index++]),s.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];else this.throwUnexpectedToken();return s.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(d),lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanStringLiteral=function(){var c=this.index,p=this.source[c];i.assert(p==="'"||p==='"',"String literal must starts with a quote"),++this.index;for(var d=!1,f="";!this.eof();){var h=this.source[this.index++];if(h===p){p="";break}else if(h==="\\")if(h=this.source[this.index++],!h||!s.Character.isLineTerminator(h.charCodeAt(0)))switch(h){case"u":if(this.source[this.index]==="{")++this.index,f+=this.scanUnicodeCodePointEscape();else{var m=this.scanHexEscape(h);m===null&&this.throwUnexpectedToken(),f+=m}break;case"x":var g=this.scanHexEscape(h);g===null&&this.throwUnexpectedToken(n.Messages.InvalidHexEscapeSequence),f+=g;break;case"n":f+=`
|
|
117
|
+
`):m=String.fromCharCode(h),this.options.locations&&(++this.curLine,this.lineStart=this.pos),m}jsx_readString(f){let h="",m=++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(m,this.pos),h+=this.jsx_readEntity(),m=this.pos):c(g)?(h+=this.input.slice(m,this.pos),h+=this.jsx_readNewLine(!1),m=this.pos):++this.pos}return h+=this.input.slice(m,this.pos++),this.finishToken(s.string,h)}jsx_readEntity(){let f="",h=0,m,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),zUe.test(f)&&(m=String.fromCharCode(parseInt(f,16)))):(f=f.substr(1),HUe.test(f)&&(m=String.fromCharCode(parseInt(f,10)))):m=GUe[f];break}f+=g}return m||(this.pos=b,"&")}jsx_readWord(){let f,h=this.pos;do f=this.input.charCodeAt(++this.pos);while(d(f)||f===45);return this.finishToken(n.jsxName,this.input.slice(h,this.pos))}jsx_parseIdentifier(){let f=this.startNode();return this.type===n.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,m=this.jsx_parseIdentifier();if(!t.allowNamespaces||!this.eat(s.colon))return m;var g=this.startNodeAt(f,h);return g.namespace=m,g.name=this.jsx_parseIdentifier(),this.finishNode(g,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===n.jsxTagEnd)return"";let f=this.start,h=this.startLoc,m=this.jsx_parseNamespacedName();for(this.type===s.dot&&m.type==="JSXNamespacedName"&&!t.allowNamespacedObjects&&this.unexpected();this.eat(s.dot);){let g=this.startNodeAt(f,h);g.object=m,g.property=this.jsx_parseIdentifier(),m=this.finishNode(g,"JSXMemberExpression")}return m}jsx_parseAttributeValue(){switch(this.type){case s.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 n.jsxTagStart:case s.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===s.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(s.braceR),this.finishNode(f,"JSXExpressionContainer")}jsx_parseAttribute(){let f=this.startNode();return this.eat(s.braceL)?(this.expect(s.ellipsis),f.argument=this.parseMaybeAssign(),this.expect(s.braceR),this.finishNode(f,"JSXSpreadAttribute")):(f.name=this.jsx_parseNamespacedName(),f.value=this.eat(s.eq)?this.jsx_parseAttributeValue():null,this.finishNode(f,"JSXAttribute"))}jsx_parseOpeningElementAt(f,h){let m=this.startNodeAt(f,h);m.attributes=[];let g=this.jsx_parseElementName();for(g&&(m.name=g);this.type!==s.slash&&this.type!==n.jsxTagEnd;)m.attributes.push(this.jsx_parseAttribute());return m.selfClosing=this.eat(s.slash),this.expect(n.jsxTagEnd),this.finishNode(m,g?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(f,h){let m=this.startNodeAt(f,h),g=this.jsx_parseElementName();return g&&(m.name=g),this.expect(n.jsxTagEnd),this.finishNode(m,g?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(f,h){let m=this.startNodeAt(f,h),g=[],b=this.jsx_parseOpeningElementAt(f,h),T=null;if(!b.selfClosing){e:for(;;)switch(this.type){case n.jsxTagStart:if(f=this.start,h=this.startLoc,this.next(),this.eat(s.slash)){T=this.jsx_parseClosingElementAt(f,h);break e}g.push(this.jsx_parseElementAt(f,h));break;case n.jsxText:g.push(this.parseExprAtom());break;case s.braceL:g.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}mS(T.name)!==mS(b.name)&&this.raise(T.start,"Expected corresponding JSX closing tag for <"+mS(b.name)+">")}let x=b.name?"Element":"Fragment";return m["opening"+x]=b,m["closing"+x]=T,m.children=g,this.type===s.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(m,"JSX"+x)}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)}parseExprAtom(f){return this.type===n.jsxText?this.jsx_parseText():this.type===n.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(f)}readToken(f){let h=this.curContext();if(h===u)return this.jsx_readToken();if(h===o||h===l){if(p(f))return this.jsx_readWord();if(f==62)return++this.pos,this.finishToken(n.jsxTagEnd);if((f===34||f===39)&&h==o)return this.jsx_readString(f)}return f===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(n.jsxTagStart)):super.readToken(f)}updateContext(f){if(this.type==s.braceL){var h=this.curContext();h==o?this.context.push(a.b_expr):h==u?this.context.push(a.b_tmpl):super.updateContext(f),this.exprAllowed=!0}else if(this.type===s.slash&&f===n.jsxTagStart)this.context.length-=2,this.context.push(l),this.exprAllowed=!1;else return super.updateContext(f)}}}});var cc={};nm(cc,{__assign:()=>BL,__asyncDelegator:()=>bqe,__asyncGenerator:()=>gqe,__asyncValues:()=>vqe,__await:()=>yS,__awaiter:()=>pqe,__classPrivateFieldGet:()=>wqe,__classPrivateFieldIn:()=>Pqe,__classPrivateFieldSet:()=>Aqe,__createBinding:()=>jL,__decorate:()=>Pp,__esDecorate:()=>aqe,__exportStar:()=>dqe,__extends:()=>iqe,__generator:()=>fqe,__importDefault:()=>Eqe,__importStar:()=>xqe,__makeTemplateObject:()=>Sqe,__metadata:()=>cqe,__param:()=>nqe,__propKey:()=>lqe,__read:()=>Yoe,__rest:()=>sqe,__runInitializers:()=>oqe,__setFunctionName:()=>uqe,__spread:()=>hqe,__spreadArray:()=>yqe,__spreadArrays:()=>mqe,__values:()=>ML});function iqe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");RL(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function sqe(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(r[i[s]]=t[i[s]]);return r}function Pp(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(s<3?a(n):s>3?a(e,r,n):a(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n}function nqe(t,e){return function(r,i){e(r,i,t)}}function aqe(t,e,r,i,s,n){function a(b){if(b!==void 0&&typeof b!="function")throw new TypeError("Function expected");return b}for(var o=i.kind,l=o==="getter"?"get":o==="setter"?"set":"value",u=!e&&t?i.static?t:t.prototype:null,c=e||(u?Object.getOwnPropertyDescriptor(u,i.name):{}),p,d=!1,f=r.length-1;f>=0;f--){var h={};for(var m in i)h[m]=m==="access"?{}:i[m];for(var m in i.access)h.access[m]=i.access[m];h.addInitializer=function(b){if(d)throw new TypeError("Cannot add initializers after decoration has completed");n.push(a(b||null))};var g=(0,r[f])(o==="accessor"?{get:c.get,set:c.set}:c[l],h);if(o==="accessor"){if(g===void 0)continue;if(g===null||typeof g!="object")throw new TypeError("Object expected");(p=a(g.get))&&(c.get=p),(p=a(g.set))&&(c.set=p),(p=a(g.init))&&s.push(p)}else(p=a(g))&&(o==="field"?s.push(p):c[l]=p)}u&&Object.defineProperty(u,i.name,c),d=!0}function oqe(t,e,r){for(var i=arguments.length>2,s=0;s<e.length;s++)r=i?e[s].call(t,r):e[s].call(t);return i?r:void 0}function lqe(t){return typeof t=="symbol"?t:"".concat(t)}function uqe(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function cqe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function pqe(t,e,r,i){function s(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function o(c){try{u(i.next(c))}catch(p){a(p)}}function l(c){try{u(i.throw(c))}catch(p){a(p)}}function u(c){c.done?n(c.value):s(c.value).then(o,l)}u((i=i.apply(t,e||[])).next())})}function fqe(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,s,n,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(u){return function(c){return l([u,c])}}function l(u){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(r=0)),r;)try{if(i=1,s&&(n=u[0]&2?s.return:u[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;switch(s=0,n&&(u=[u[0]&2,n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,s=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){r.label=u[1];break}if(u[0]===6&&r.label<n[1]){r.label=n[1],n=u;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(u);break}n[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(c){u=[6,c],s=0}finally{i=n=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function dqe(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&jL(e,t,r)}function ML(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function Yoe(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var i=r.call(t),s,n=[],a;try{for(;(e===void 0||e-- >0)&&!(s=i.next()).done;)n.push(s.value)}catch(o){a={error:o}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return n}function hqe(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Yoe(arguments[e]));return t}function mqe(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var i=Array(t),s=0,e=0;e<r;e++)for(var n=arguments[e],a=0,o=n.length;a<o;a++,s++)i[s]=n[a];return i}function yqe(t,e,r){if(r||arguments.length===2)for(var i=0,s=e.length,n;i<s;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function yS(t){return this instanceof yS?(this.v=t,this):new yS(t)}function gqe(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(t,e||[]),s,n=[];return s={},a("next"),a("throw"),a("return"),s[Symbol.asyncIterator]=function(){return this},s;function a(d){i[d]&&(s[d]=function(f){return new Promise(function(h,m){n.push([d,f,h,m])>1||o(d,f)})})}function o(d,f){try{l(i[d](f))}catch(h){p(n[0][3],h)}}function l(d){d.value instanceof yS?Promise.resolve(d.value.v).then(u,c):p(n[0][2],d)}function u(d){o("next",d)}function c(d){o("throw",d)}function p(d,f){d(f),n.shift(),n.length&&o(n[0][0],n[0][1])}}function bqe(t){var e,r;return e={},i("next"),i("throw",function(s){throw s}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(s,n){e[s]=t[s]?function(a){return(r=!r)?{value:yS(t[s](a)),done:!1}:n?n(a):a}:n}}function vqe(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof ML=="function"?ML(t):t[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=t[n]&&function(a){return new Promise(function(o,l){a=t[n](a),s(o,l,a.done,a.value)})}}function s(n,a,o,l){Promise.resolve(l).then(function(u){n({value:u,done:o})},a)}}function Sqe(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function xqe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&jL(e,t,r);return Tqe(e,t),e}function Eqe(t){return t&&t.__esModule?t:{default:t}}function wqe(t,e,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(t):i?i.value:e.get(t)}function Aqe(t,e,r,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,r):s?s.value=r:e.set(t,r),r}function Pqe(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}var RL,BL,jL,Tqe,yu=ji(()=>{RL=function(t,e){return RL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},RL(t,e)};BL=function(){return BL=Object.assign||function(e){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},BL.apply(this,arguments)};jL=Object.create?function(t,e,r,i){i===void 0&&(i=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,s)}:function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]};Tqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var li={};nm(li,{__addDisposableResource:()=>mle,__assign:()=>I6,__asyncDelegator:()=>ole,__asyncGenerator:()=>ale,__asyncValues:()=>lle,__await:()=>Z1,__awaiter:()=>ele,__classPrivateFieldGet:()=>fle,__classPrivateFieldIn:()=>hle,__classPrivateFieldSet:()=>dle,__createBinding:()=>k6,__decorate:()=>Sr,__disposeResources:()=>yle,__esDecorate:()=>_qe,__exportStar:()=>rle,__extends:()=>Joe,__generator:()=>tle,__importDefault:()=>ple,__importStar:()=>cle,__makeTemplateObject:()=>ule,__metadata:()=>Zoe,__param:()=>Qoe,__propKey:()=>Dqe,__read:()=>UL,__rest:()=>Xoe,__runInitializers:()=>Cqe,__setFunctionName:()=>Nqe,__spread:()=>ile,__spreadArray:()=>nle,__spreadArrays:()=>sle,__values:()=>O6,default:()=>kqe});function Joe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");VL(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Xoe(t,e){var r={};for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.indexOf(i)<0&&(r[i]=t[i]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var s=0,i=Object.getOwnPropertySymbols(t);s<i.length;s++)e.indexOf(i[s])<0&&Object.prototype.propertyIsEnumerable.call(t,i[s])&&(r[i[s]]=t[i[s]]);return r}function Sr(t,e,r,i){var s=arguments.length,n=s<3?e:i===null?i=Object.getOwnPropertyDescriptor(e,r):i,a;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(t,e,r,i);else for(var o=t.length-1;o>=0;o--)(a=t[o])&&(n=(s<3?a(n):s>3?a(e,r,n):a(e,r))||n);return s>3&&n&&Object.defineProperty(e,r,n),n}function Qoe(t,e){return function(r,i){e(r,i,t)}}function _qe(t,e,r,i,s,n){function a(b){if(b!==void 0&&typeof b!="function")throw new TypeError("Function expected");return b}for(var o=i.kind,l=o==="getter"?"get":o==="setter"?"set":"value",u=!e&&t?i.static?t:t.prototype:null,c=e||(u?Object.getOwnPropertyDescriptor(u,i.name):{}),p,d=!1,f=r.length-1;f>=0;f--){var h={};for(var m in i)h[m]=m==="access"?{}:i[m];for(var m in i.access)h.access[m]=i.access[m];h.addInitializer=function(b){if(d)throw new TypeError("Cannot add initializers after decoration has completed");n.push(a(b||null))};var g=(0,r[f])(o==="accessor"?{get:c.get,set:c.set}:c[l],h);if(o==="accessor"){if(g===void 0)continue;if(g===null||typeof g!="object")throw new TypeError("Object expected");(p=a(g.get))&&(c.get=p),(p=a(g.set))&&(c.set=p),(p=a(g.init))&&s.unshift(p)}else(p=a(g))&&(o==="field"?s.unshift(p):c[l]=p)}u&&Object.defineProperty(u,i.name,c),d=!0}function Cqe(t,e,r){for(var i=arguments.length>2,s=0;s<e.length;s++)r=i?e[s].call(t,r):e[s].call(t);return i?r:void 0}function Dqe(t){return typeof t=="symbol"?t:"".concat(t)}function Nqe(t,e,r){return typeof e=="symbol"&&(e=e.description?"[".concat(e.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:r?"".concat(r," ",e):e})}function Zoe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function ele(t,e,r,i){function s(n){return n instanceof r?n:new r(function(a){a(n)})}return new(r||(r=Promise))(function(n,a){function o(c){try{u(i.next(c))}catch(p){a(p)}}function l(c){try{u(i.throw(c))}catch(p){a(p)}}function u(c){c.done?n(c.value):s(c.value).then(o,l)}u((i=i.apply(t,e||[])).next())})}function tle(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},i,s,n,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(u){return function(c){return l([u,c])}}function l(u){if(i)throw new TypeError("Generator is already executing.");for(;a&&(a=0,u[0]&&(r=0)),r;)try{if(i=1,s&&(n=u[0]&2?s.return:u[0]?s.throw||((n=s.return)&&n.call(s),0):s.next)&&!(n=n.call(s,u[1])).done)return n;switch(s=0,n&&(u=[u[0]&2,n.value]),u[0]){case 0:case 1:n=u;break;case 4:return r.label++,{value:u[1],done:!1};case 5:r.label++,s=u[1],u=[0];continue;case 7:u=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(u[0]===6||u[0]===2)){r=0;continue}if(u[0]===3&&(!n||u[1]>n[0]&&u[1]<n[3])){r.label=u[1];break}if(u[0]===6&&r.label<n[1]){r.label=n[1],n=u;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(u);break}n[2]&&r.ops.pop(),r.trys.pop();continue}u=e.call(t,r)}catch(c){u=[6,c],s=0}finally{i=n=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}function rle(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&k6(e,t,r)}function O6(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],i=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&i>=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function UL(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var i=r.call(t),s,n=[],a;try{for(;(e===void 0||e-- >0)&&!(s=i.next()).done;)n.push(s.value)}catch(o){a={error:o}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return n}function ile(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(UL(arguments[e]));return t}function sle(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var i=Array(t),s=0,e=0;e<r;e++)for(var n=arguments[e],a=0,o=n.length;a<o;a++,s++)i[s]=n[a];return i}function nle(t,e,r){if(r||arguments.length===2)for(var i=0,s=e.length,n;i<s;i++)(n||!(i in e))&&(n||(n=Array.prototype.slice.call(e,0,i)),n[i]=e[i]);return t.concat(n||Array.prototype.slice.call(e))}function Z1(t){return this instanceof Z1?(this.v=t,this):new Z1(t)}function ale(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var i=r.apply(t,e||[]),s,n=[];return s={},a("next"),a("throw"),a("return"),s[Symbol.asyncIterator]=function(){return this},s;function a(d){i[d]&&(s[d]=function(f){return new Promise(function(h,m){n.push([d,f,h,m])>1||o(d,f)})})}function o(d,f){try{l(i[d](f))}catch(h){p(n[0][3],h)}}function l(d){d.value instanceof Z1?Promise.resolve(d.value.v).then(u,c):p(n[0][2],d)}function u(d){o("next",d)}function c(d){o("throw",d)}function p(d,f){d(f),n.shift(),n.length&&o(n[0][0],n[0][1])}}function ole(t){var e,r;return e={},i("next"),i("throw",function(s){throw s}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(s,n){e[s]=t[s]?function(a){return(r=!r)?{value:Z1(t[s](a)),done:!1}:n?n(a):a}:n}}function lle(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof O6=="function"?O6(t):t[Symbol.iterator](),r={},i("next"),i("throw"),i("return"),r[Symbol.asyncIterator]=function(){return this},r);function i(n){r[n]=t[n]&&function(a){return new Promise(function(o,l){a=t[n](a),s(o,l,a.done,a.value)})}}function s(n,a,o,l){Promise.resolve(l).then(function(u){n({value:u,done:o})},a)}}function ule(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function cle(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&k6(e,t,r);return Iqe(e,t),e}function ple(t){return t&&t.__esModule?t:{default:t}}function fle(t,e,r,i){if(r==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?i:r==="a"?i.call(t):i?i.value:e.get(t)}function dle(t,e,r,i,s){if(i==="m")throw new TypeError("Private method is not writable");if(i==="a"&&!s)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!s:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return i==="a"?s.call(t,r):s?s.value=r:e.set(t,r),r}function hle(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}function mle(t,e,r){if(e!=null){if(typeof e!="object"&&typeof e!="function")throw new TypeError("Object expected.");var i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=e[Symbol.asyncDispose]}if(i===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=e[Symbol.dispose]}if(typeof i!="function")throw new TypeError("Object not disposable.");t.stack.push({value:e,dispose:i,async:r})}else r&&t.stack.push({async:!0});return e}function yle(t){function e(i){t.error=t.hasError?new Oqe(i,t.error,"An error was suppressed during disposal."):i,t.hasError=!0}function r(){for(;t.stack.length;){var i=t.stack.pop();try{var s=i.dispose&&i.dispose.call(i.value);if(i.async)return Promise.resolve(s).then(r,function(n){return e(n),r()})}catch(n){e(n)}}if(t.hasError)throw t.error}return r()}var VL,I6,k6,Iqe,Oqe,kqe,Zr=ji(()=>{VL=function(t,e){return VL=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(r[s]=i[s])},VL(t,e)};I6=function(){return I6=Object.assign||function(e){for(var r,i=1,s=arguments.length;i<s;i++){r=arguments[i];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},I6.apply(this,arguments)};k6=Object.create?function(t,e,r,i){i===void 0&&(i=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,s)}:function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]};Iqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Oqe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var i=new Error(r);return i.name="SuppressedError",i.error=t,i.suppressed=e,i};kqe={__extends:Joe,__assign:I6,__rest:Xoe,__decorate:Sr,__param:Qoe,__metadata:Zoe,__awaiter:ele,__generator:tle,__createBinding:k6,__exportStar:rle,__values:O6,__read:UL,__spread:ile,__spreadArrays:sle,__spreadArray:nle,__await:Z1,__asyncGenerator:ale,__asyncDelegator:ole,__asyncValues:lle,__makeTemplateObject:ule,__importStar:cle,__importDefault:ple,__classPrivateFieldGet:fle,__classPrivateFieldSet:dle,__classPrivateFieldIn:hle,__addDisposableResource:mle,__disposeResources:yle}});var vs=E(vS=>{"use strict";Object.defineProperty(vS,"__esModule",{value:!0});vS.Def=void 0;var eg=(Zr(),ar(li)),Tle=Object.prototype,F6=Tle.toString,Sl=Tle.hasOwnProperty,bS=function(){function t(){}return t.prototype.assert=function(e,r){if(!this.check(e,r)){var i=$L(e);throw new Error(i+" does not match type "+this)}return!0},t.prototype.arrayOf=function(){var e=this;return new qL(e)},t}(),qL=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.elemType=r,i.kind="ArrayType",i}return e.prototype.toString=function(){return"["+this.elemType+"]"},e.prototype.check=function(r,i){var s=this;return Array.isArray(r)&&r.every(function(n){return s.elemType.check(n,i)})},e}(bS),gle=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.value=r,i.kind="IdentityType",i}return e.prototype.toString=function(){return String(this.value)},e.prototype.check=function(r,i){var s=r===this.value;return!s&&typeof i=="function"&&i(this,r),s},e}(bS),ble=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.fields=r,i.kind="ObjectType",i}return e.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},e.prototype.check=function(r,i){return F6.call(r)===F6.call({})&&this.fields.every(function(s){return s.type.check(r[s.name],i)})},e}(bS),vle=function(t){(0,eg.__extends)(e,t);function e(r){var i=t.call(this)||this;return i.types=r,i.kind="OrType",i}return e.prototype.toString=function(){return this.types.join(" | ")},e.prototype.check=function(r,i){return this.types.some(function(s){return s.check(r,i)})},e}(bS),gS=function(t){(0,eg.__extends)(e,t);function e(r,i){var s=t.call(this)||this;return s.name=r,s.predicate=i,s.kind="PredicateType",s}return e.prototype.toString=function(){return this.name},e.prototype.check=function(r,i){var s=this.predicate(r,i);return!s&&typeof i=="function"&&i(this,r),s},e}(bS),L6=function(){function t(e,r){this.type=e,this.typeName=r,this.baseNames=[],this.ownFields=Object.create(null),this.allSupertypes=Object.create(null),this.supertypeList=[],this.allFields=Object.create(null),this.fieldNames=[],this.finalized=!1,this.buildable=!1,this.buildParams=[]}return t.prototype.isSupertypeOf=function(e){if(e instanceof t){if(this.finalized!==!0||e.finalized!==!0)throw new Error("");return Sl.call(e.allSupertypes,this.typeName)}else throw new Error(e+" is not a Def")},t.prototype.checkAllFields=function(e,r){var i=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function s(n){var a=i[n],o=a.type,l=a.getValue(e);return o.check(l,r)}return e!==null&&typeof e=="object"&&Object.keys(i).every(s)},t.prototype.bases=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];var i=this.baseNames;if(this.finalized){if(e.length!==i.length)throw new Error("");for(var s=0;s<e.length;s++)if(e[s]!==i[s])throw new Error("");return this}return e.forEach(function(n){i.indexOf(n)<0&&i.push(n)}),this},t}();vS.Def=L6;var Sle=function(){function t(e,r,i,s){this.name=e,this.type=r,this.defaultFn=i,this.hidden=!!s}return t.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},t.prototype.getValue=function(e){var r=e[this.name];return typeof r<"u"||typeof this.defaultFn=="function"&&(r=this.defaultFn.call(e)),r},t}();function $L(t){return Array.isArray(t)?"["+t.map($L).join(", ")+"]":t&&typeof t=="object"?"{ "+Object.keys(t).map(function(e){return e+": "+t[e]}).join(", ")+" }":JSON.stringify(t)}function Lqe(t){var e={or:function(){for(var ce=[],Re=0;Re<arguments.length;Re++)ce[Re]=arguments[Re];return new vle(ce.map(function(Z){return e.from(Z)}))},from:function(ce,Re){if(ce instanceof qL||ce instanceof gle||ce instanceof ble||ce instanceof vle||ce instanceof gS)return ce;if(ce instanceof L6)return ce.type;if(o.check(ce)){if(ce.length!==1)throw new Error("only one element type is permitted for typed arrays");return new qL(e.from(ce[0]))}if(l.check(ce))return new ble(Object.keys(ce).map(function(Ee){return new Sle(Ee,e.from(ce[Ee],Ee))}));if(typeof ce=="function"){var Z=r.indexOf(ce);if(Z>=0)return i[Z];if(typeof Re!="string")throw new Error("missing name");return new gS(Re,ce)}return new gle(ce)},def:function(ce){return Sl.call(b,ce)?b[ce]:b[ce]=new x(ce)},hasDef:function(ce){return Sl.call(b,ce)}},r=[],i=[];function s(ce,Re){var Z=F6.call(Re),Ee=new gS(ce,function(xe){return F6.call(xe)===Z});return Re&&typeof Re.constructor=="function"&&(r.push(Re.constructor),i.push(Ee)),Ee}var n=s("string","truthy"),a=s("function",function(){}),o=s("array",[]),l=s("object",{}),u=s("RegExp",/./),c=s("Date",new Date),p=s("number",3),d=s("boolean",!0),f=s("null",null),h=s("undefined",void 0),m=typeof BigInt=="function"?s("BigInt",BigInt(1234)):new gS("BigInt",function(){return!1}),g={string:n,function:a,array:o,object:l,RegExp:u,Date:c,number:p,boolean:d,null:f,undefined:h,BigInt:m},b=Object.create(null);function T(ce){if(ce&&typeof ce=="object"){var Re=ce.type;if(typeof Re=="string"&&Sl.call(b,Re)){var Z=b[Re];if(Z.finalized)return Z}}return null}var x=function(ce){(0,eg.__extends)(Re,ce);function Re(Z){var Ee=ce.call(this,new gS(Z,function(xe,we){return Ee.check(xe,we)}),Z)||this;return Ee}return Re.prototype.check=function(Z,Ee){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(Z===null||typeof Z!="object")return!1;var xe=T(Z);return xe?Ee&&xe===this?this.checkAllFields(Z,Ee):this.isSupertypeOf(xe)?Ee?xe.checkAllFields(Z,Ee)&&this.checkAllFields(Z,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields(Z,Ee):!1},Re.prototype.build=function(){for(var Z=this,Ee=[],xe=0;xe<arguments.length;xe++)Ee[xe]=arguments[xe];if(this.buildParams=Ee,this.buildable)return this;this.field("type",String,function(){return Z.typeName}),this.buildable=!0;var we=function(me,pe,le,Fe){if(!Sl.call(me,pe)){var ve=Z.allFields;if(!Sl.call(ve,pe))throw new Error(""+pe);var _e=ve[pe],Ze=_e.type,Ct;if(Fe)Ct=le;else if(_e.defaultFn)Ct=_e.defaultFn.call(me);else{var ht="no value or default function given for field "+JSON.stringify(pe)+" of "+Z.typeName+"("+Z.buildParams.map(function(nr){return ve[nr]}).join(", ")+")";throw new Error(ht)}if(!Ze.check(Ct))throw new Error($L(Ct)+" does not match field "+_e+" of type "+Z.typeName);me[pe]=Ct}},Be=function(){for(var me=[],pe=0;pe<arguments.length;pe++)me[pe]=arguments[pe];var le=me.length;if(!Z.finalized)throw new Error("attempting to instantiate unfinalized type "+Z.typeName);var Fe=Object.create(C);if(Z.buildParams.forEach(function(ve,_e){_e<le?we(Fe,ve,me[_e],!0):we(Fe,ve,null,!1)}),Object.keys(Z.allFields).forEach(function(ve){we(Fe,ve,null,!1)}),Fe.type!==Z.typeName)throw new Error("");return Fe};return Be.from=function(me){if(!Z.finalized)throw new Error("attempting to instantiate unfinalized type "+Z.typeName);var pe=Object.create(C);if(Object.keys(Z.allFields).forEach(function(le){Sl.call(me,le)?we(pe,le,me[le],!0):we(pe,le,null,!1)}),pe.type!==Z.typeName)throw new Error("");return pe},Object.defineProperty(A,F(this.typeName),{enumerable:!0,value:Be}),this},Re.prototype.field=function(Z,Ee,xe,we){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify(Z)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[Z]=new Sle(Z,e.from(Ee),xe,we),this)},Re.prototype.finalize=function(){var Z=this;if(!this.finalized){var Ee=this.allFields,xe=this.allSupertypes;this.baseNames.forEach(function(Be){var me=b[Be];if(me instanceof L6)me.finalize(),Ue(Ee,me.allFields),Ue(xe,me.allSupertypes);else{var pe="unknown supertype name "+JSON.stringify(Be)+" for subtype "+JSON.stringify(Z.typeName);throw new Error(pe)}}),Ue(Ee,this.ownFields),xe[this.typeName]=this,this.fieldNames.length=0;for(var we in Ee)Sl.call(Ee,we)&&!Ee[we].hidden&&this.fieldNames.push(we);Object.defineProperty(X,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,Ce(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&ne(this.typeName)}},Re}(L6);function v(ce){if(!Sl.call(b,ce))throw new Error("");var Re=b[ce];if(Re.finalized!==!0)throw new Error("");return Re.supertypeList.slice(1)}function w(ce){for(var Re={},Z=Object.keys(b),Ee=Z.length,xe=0;xe<Ee;++xe){var we=Z[xe],Be=b[we];if(Be.finalized!==!0)throw new Error(""+we);for(var me=0;me<Be.supertypeList.length;++me){var pe=Be.supertypeList[me];if(Sl.call(ce,pe)){Re[we]=pe;break}}}return Re}var A=Object.create(null),C={};function K(ce,Re){var Z=C[ce];return h.check(Re)?delete C[ce]:(a.assert(Re),Object.defineProperty(C,ce,{enumerable:!0,configurable:!0,value:Re})),Z}function F(ce){return ce.replace(/^[A-Z]+/,function(Re){var Z=Re.length;switch(Z){case 0:return"";case 1:return Re.toLowerCase();default:return Re.slice(0,Z-1).toLowerCase()+Re.charAt(Z-1)}})}function Q(ce){return ce=F(ce),ce.replace(/(Expression)?$/,"Statement")}var X={};function Te(ce){var Re=T(ce);if(Re)return Re.fieldNames.slice(0);if("type"in ce)throw new Error("did not recognize object of type "+JSON.stringify(ce.type));return Object.keys(ce)}function qe(ce,Re){var Z=T(ce);if(Z){var Ee=Z.allFields[Re];if(Ee)return Ee.getValue(ce)}return ce&&ce[Re]}function Ke(ce,Re,Z){Te(ce).forEach(function(Ee){Re.call(this,Ee,qe(ce,Ee))},Z)}function ae(ce,Re,Z){return Te(ce).some(function(Ee){return Re.call(this,Ee,qe(ce,Ee))},Z)}function ne(ce){var Re=Q(ce);if(!A[Re]){var Z=A[F(ce)];if(Z){var Ee=function(){for(var xe=[],we=0;we<arguments.length;we++)xe[we]=arguments[we];return A.expressionStatement(Z.apply(A,xe))};Ee.from=function(){for(var xe=[],we=0;we<arguments.length;we++)xe[we]=arguments[we];return A.expressionStatement(Z.from.apply(A,xe))},A[Re]=Ee}}}function Ce(ce,Re){Re.length=0,Re.push(ce);for(var Z=Object.create(null),Ee=0;Ee<Re.length;++Ee){ce=Re[Ee];var xe=b[ce];if(xe.finalized!==!0)throw new Error("");Sl.call(Z,ce)&&delete Re[Z[ce]],Z[ce]=Ee,Re.push.apply(Re,xe.baseNames)}for(var we=0,Be=we,me=Re.length;Be<me;++Be)Sl.call(Re,Be)&&(Re[we++]=Re[Be]);Re.length=we}function Ue(ce,Re){return Object.keys(Re).forEach(function(Z){ce[Z]=Re[Z]}),ce}function Dt(){Object.keys(b).forEach(function(ce){b[ce].finalize()})}return{Type:e,builtInTypes:g,getSupertypeNames:v,computeSupertypeLookupTable:w,builders:A,defineMethod:K,getBuilderName:F,getStatementBuilderName:Q,namedTypes:X,getFieldNames:Te,getFieldValue:qe,eachField:Ke,someField:ae,finalize:Dt}}vS.default=Lqe});var KL=E((B6,xle)=>{"use strict";Object.defineProperty(B6,"__esModule",{value:!0});var Fqe=(Zr(),ar(li)),Rqe=(0,Fqe.__importDefault)(vs()),Bqe=Object.prototype,R6=Bqe.hasOwnProperty;function Mqe(t){var e=t.use(Rqe.default),r=e.builtInTypes.array,i=e.builtInTypes.number,s=function p(d,f,h){if(!(this instanceof p))throw new Error("Path constructor cannot be invoked without 'new'");if(f){if(!(f instanceof p))throw new Error("")}else f=null,h=null;this.value=d,this.parentPath=f,this.name=h,this.__childCache=null},n=s.prototype;function a(p){return p.__childCache||(p.__childCache=Object.create(null))}function o(p,d){var f=a(p),h=p.getValueProperty(d),m=f[d];return(!R6.call(f,d)||m.value!==h)&&(m=f[d]=new p.constructor(h,p,d)),m}n.getValueProperty=function(d){return this.value[d]},n.get=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];for(var h=this,m=d.length,g=0;g<m;++g)h=o(h,d[g]);return h},n.each=function(d,f){for(var h=[],m=this.value.length,g=0,g=0;g<m;++g)R6.call(this.value,g)&&(h[g]=this.get(g));for(f=f||this,g=0;g<m;++g)R6.call(h,g)&&d.call(f,h[g])},n.map=function(d,f){var h=[];return this.each(function(m){h.push(d.call(this,m))},f),h},n.filter=function(d,f){var h=[];return this.each(function(m){d.call(this,m)&&h.push(m)},f),h};function l(){}function u(p,d,f,h){if(r.assert(p.value),d===0)return l;var m=p.value.length;if(m<1)return l;var g=arguments.length;g===2?(f=0,h=m):g===3?(f=Math.max(f,0),h=m):(f=Math.max(f,0),h=Math.min(h,m)),i.assert(f),i.assert(h);for(var b=Object.create(null),T=a(p),x=f;x<h;++x)if(R6.call(p.value,x)){var v=p.get(x);if(v.name!==x)throw new Error("");var w=x+d;v.name=w,b[w]=v,delete T[x]}return delete T.length,function(){for(var A in b){var C=b[A];if(C.name!==+A)throw new Error("");T[A]=C,p.value[A]=C.value}}}n.shift=function(){var d=u(this,-1),f=this.value.shift();return d(),f},n.unshift=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];var h=u(this,d.length),m=this.value.unshift.apply(this.value,d);return h(),m},n.push=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];return r.assert(this.value),delete a(this).length,this.value.push.apply(this.value,d)},n.pop=function(){r.assert(this.value);var d=a(this);return delete d[this.value.length-1],delete d.length,this.value.pop()},n.insertAt=function(d){var f=arguments.length,h=u(this,f-1,d);if(h===l&&f<=1)return this;d=Math.max(d,0);for(var m=1;m<f;++m)this.value[d+m-1]=arguments[m];return h(),this},n.insertBefore=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];for(var h=this.parentPath,m=d.length,g=[this.name],b=0;b<m;++b)g.push(d[b]);return h.insertAt.apply(h,g)},n.insertAfter=function(){for(var d=[],f=0;f<arguments.length;f++)d[f]=arguments[f];for(var h=this.parentPath,m=d.length,g=[this.name+1],b=0;b<m;++b)g.push(d[b]);return h.insertAt.apply(h,g)};function c(p){if(!(p instanceof s))throw new Error("");var d=p.parentPath;if(!d)return p;var f=d.value,h=a(d);if(f[p.name]===p.value)h[p.name]=p;else if(r.check(f)){var m=f.indexOf(p.value);m>=0&&(h[p.name=m]=p)}else f[p.name]=p.value,h[p.name]=p;if(f[p.name]!==p.value)throw new Error("");if(p.parentPath.get(p.name)!==p)throw new Error("");return p}return n.replace=function(d){var f=[],h=this.parentPath.value,m=a(this.parentPath),g=arguments.length;if(c(this),r.check(h)){for(var b=h.length,T=u(this.parentPath,g-1,this.name+1),x=[this.name,1],v=0;v<g;++v)x.push(arguments[v]);var w=h.splice.apply(h,x);if(w[0]!==this.value)throw new Error("");if(h.length!==b-1+g)throw new Error("");if(T(),g===0)delete this.value,delete m[this.name],this.__childCache=null;else{if(h[this.name]!==d)throw new Error("");for(this.value!==d&&(this.value=d,this.__childCache=null),v=0;v<g;++v)f.push(this.parentPath.get(this.name+v));if(f[0]!==this)throw new Error("")}}else if(g===1)this.value!==d&&(this.__childCache=null),this.value=h[this.name]=d,f.push(this);else if(g===0)delete h[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return f},s}B6.default=Mqe;xle.exports=B6.default});var wle=E((M6,Ele)=>{"use strict";Object.defineProperty(M6,"__esModule",{value:!0});var jqe=(Zr(),ar(li)),Vqe=(0,jqe.__importDefault)(vs()),tg=Object.prototype.hasOwnProperty;function Uqe(t){var e=t.use(Vqe.default),r=e.Type,i=e.namedTypes,s=i.Node,n=i.Expression,a=e.builtInTypes.array,o=e.builders,l=function v(w,A){if(!(this instanceof v))throw new Error("Scope constructor cannot be invoked without 'new'");c.check(w.value)||u.assert(w.value);var C;if(A){if(!(A instanceof v))throw new Error("");C=A.depth+1}else A=null,C=0;Object.defineProperties(this,{path:{value:w},node:{value:w.value},isGlobal:{value:!A,enumerable:!0},depth:{value:C},parent:{value:A},bindings:{value:{}},types:{value:{}}})},u=r.or(i.Program,i.Function,i.CatchClause),c=r.or(i.Function,i.ClassDeclaration,i.ClassExpression,i.InterfaceDeclaration,i.TSInterfaceDeclaration,i.TypeAlias,i.TSTypeAliasDeclaration),p=r.or(i.TypeParameter,i.TSTypeParameter);l.isEstablishedBy=function(v){return u.check(v)||c.check(v)};var d=l.prototype;d.didScan=!1,d.declares=function(v){return this.scan(),tg.call(this.bindings,v)},d.declaresType=function(v){return this.scan(),tg.call(this.types,v)},d.declareTemporary=function(v){if(v){if(!/^[a-z$_]/i.test(v))throw new Error("")}else v="t$";v+=this.depth.toString(36)+"$",this.scan();for(var w=0;this.declares(v+w);)++w;var A=v+w;return this.bindings[A]=e.builders.identifier(A)},d.injectTemporary=function(v,w){v||(v=this.declareTemporary());var A=this.path.get("body");return i.BlockStatement.check(A.value)&&(A=A.get("body")),A.unshift(o.variableDeclaration("var",[o.variableDeclarator(v,w||null)])),v},d.scan=function(v){if(v||!this.didScan){for(var w in this.bindings)delete this.bindings[w];for(var w in this.types)delete this.types[w];f(this.path,this.bindings,this.types),this.didScan=!0}},d.getBindings=function(){return this.scan(),this.bindings},d.getTypes=function(){return this.scan(),this.types};function f(v,w,A){var C=v.value;if(c.check(C)){var K=v.get("typeParameters","params");a.check(K.value)&&K.each(function(F){x(F,A)})}u.check(C)&&(i.CatchClause.check(C)?b(v.get("param"),w):h(v,w,A))}function h(v,w,A){var C=v.value;v.parent&&i.FunctionExpression.check(v.parent.node)&&v.parent.node.id&&b(v.parent.get("id"),w),C&&(a.check(C)?v.each(function(K){g(K,w,A)}):i.Function.check(C)?(v.get("params").each(function(K){b(K,w)}),g(v.get("body"),w,A),h(v.get("typeParameters"),w,A)):i.TypeAlias&&i.TypeAlias.check(C)||i.InterfaceDeclaration&&i.InterfaceDeclaration.check(C)||i.TSTypeAliasDeclaration&&i.TSTypeAliasDeclaration.check(C)||i.TSInterfaceDeclaration&&i.TSInterfaceDeclaration.check(C)?T(v.get("id"),A):i.VariableDeclarator.check(C)?(b(v.get("id"),w),g(v.get("init"),w,A)):C.type==="ImportSpecifier"||C.type==="ImportNamespaceSpecifier"||C.type==="ImportDefaultSpecifier"?b(v.get(C.local?"local":C.name?"name":"id"),w):s.check(C)&&!n.check(C)&&e.eachField(C,function(K,F){var Q=v.get(K);if(!m(Q,F))throw new Error("");g(Q,w,A)}))}function m(v,w){return!!(v.value===w||Array.isArray(v.value)&&v.value.length===0&&Array.isArray(w)&&w.length===0)}function g(v,w,A){var C=v.value;if(!(!C||n.check(C)))if(i.FunctionDeclaration.check(C)&&C.id!==null)b(v.get("id"),w);else if(i.ClassDeclaration&&i.ClassDeclaration.check(C)&&C.id!==null)b(v.get("id"),w),h(v.get("typeParameters"),w,A);else if(i.InterfaceDeclaration&&i.InterfaceDeclaration.check(C)||i.TSInterfaceDeclaration&&i.TSInterfaceDeclaration.check(C))T(v.get("id"),A);else if(u.check(C)){if(i.CatchClause.check(C)&&i.Identifier.check(C.param)){var K=C.param.name,F=tg.call(w,K);h(v.get("body"),w,A),F||delete w[K]}}else h(v,w,A)}function b(v,w){var A=v.value;i.Pattern.assert(A),i.Identifier.check(A)?tg.call(w,A.name)?w[A.name].push(v):w[A.name]=[v]:i.AssignmentPattern&&i.AssignmentPattern.check(A)?b(v.get("left"),w):i.ObjectPattern&&i.ObjectPattern.check(A)?v.get("properties").each(function(C){var K=C.value;i.Pattern.check(K)?b(C,w):i.Property.check(K)||i.ObjectProperty&&i.ObjectProperty.check(K)?b(C.get("value"),w):i.SpreadProperty&&i.SpreadProperty.check(K)&&b(C.get("argument"),w)}):i.ArrayPattern&&i.ArrayPattern.check(A)?v.get("elements").each(function(C){var K=C.value;i.Pattern.check(K)?b(C,w):i.SpreadElement&&i.SpreadElement.check(K)&&b(C.get("argument"),w)}):i.PropertyPattern&&i.PropertyPattern.check(A)?b(v.get("pattern"),w):(i.SpreadElementPattern&&i.SpreadElementPattern.check(A)||i.RestElement&&i.RestElement.check(A)||i.SpreadPropertyPattern&&i.SpreadPropertyPattern.check(A))&&b(v.get("argument"),w)}function T(v,w){var A=v.value;i.Pattern.assert(A),i.Identifier.check(A)&&(tg.call(w,A.name)?w[A.name].push(v):w[A.name]=[v])}function x(v,w){var A=v.value;p.assert(A),tg.call(w,A.name)?w[A.name].push(v):w[A.name]=[v]}return d.lookup=function(v){for(var w=this;w&&!w.declares(v);w=w.parent);return w},d.lookupType=function(v){for(var w=this;w&&!w.declaresType(v);w=w.parent);return w},d.getGlobalScope=function(){for(var v=this;!v.isGlobal;)v=v.parent;return v},l}M6.default=Uqe;Ele.exports=M6.default});var GL=E((j6,Ale)=>{"use strict";Object.defineProperty(j6,"__esModule",{value:!0});var WL=(Zr(),ar(li)),qqe=(0,WL.__importDefault)(vs()),$qe=(0,WL.__importDefault)(KL()),Kqe=(0,WL.__importDefault)(wle());function Wqe(t){var e=t.use(qqe.default),r=e.namedTypes,i=e.builders,s=e.builtInTypes.number,n=e.builtInTypes.array,a=t.use($qe.default),o=t.use(Kqe.default),l=function b(T,x,v){if(!(this instanceof b))throw new Error("NodePath constructor cannot be invoked without 'new'");a.call(this,T,x,v)},u=l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(u,{node:{get:function(){return Object.defineProperty(this,"node",{configurable:!0,value:this._computeNode()}),this.node}},parent:{get:function(){return Object.defineProperty(this,"parent",{configurable:!0,value:this._computeParent()}),this.parent}},scope:{get:function(){return Object.defineProperty(this,"scope",{configurable:!0,value:this._computeScope()}),this.scope}}}),u.replace=function(){return delete this.node,delete this.parent,delete this.scope,a.prototype.replace.apply(this,arguments)},u.prune=function(){var b=this.parent;return this.replace(),m(b)},u._computeNode=function(){var b=this.value;if(r.Node.check(b))return b;var T=this.parentPath;return T&&T.node||null},u._computeParent=function(){var b=this.value,T=this.parentPath;if(!r.Node.check(b)){for(;T&&!r.Node.check(T.value);)T=T.parentPath;T&&(T=T.parentPath)}for(;T&&!r.Node.check(T.value);)T=T.parentPath;return T||null},u._computeScope=function(){var b=this.value,T=this.parentPath,x=T&&T.scope;return r.Node.check(b)&&o.isEstablishedBy(b)&&(x=new o(this,x)),x||null},u.getValueProperty=function(b){return e.getFieldValue(this.value,b)},u.needsParens=function(b){var T=this.parentPath;if(!T)return!1;var x=this.value;if(!r.Expression.check(x)||x.type==="Identifier")return!1;for(;!r.Node.check(T.value);)if(T=T.parentPath,!T)return!1;var v=T.value;switch(x.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return v.type==="MemberExpression"&&this.name==="object"&&v.object===x;case"BinaryExpression":case"LogicalExpression":switch(v.type){case"CallExpression":return this.name==="callee"&&v.callee===x;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&v.object===x;case"BinaryExpression":case"LogicalExpression":{var w=x,A=v.operator,C=d[A],K=w.operator,F=d[K];if(C>F)return!0;if(C===F&&this.name==="right"){if(v.right!==w)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(v.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(v.type){case"BinaryExpression":case"LogicalExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"CallExpression":case"MemberExpression":case"NewExpression":case"ConditionalExpression":case"YieldExpression":return!0;default:return!1}case"Literal":return v.type==="MemberExpression"&&s.check(x.value)&&this.name==="object"&&v.object===x;case"AssignmentExpression":case"ConditionalExpression":switch(v.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&v.callee===x;case"ConditionalExpression":return this.name==="test"&&v.test===x;case"MemberExpression":return this.name==="object"&&v.object===x;default:return!1}default:if(v.type==="NewExpression"&&this.name==="callee"&&v.callee===x)return f(x)}return!!(b!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function c(b){return r.BinaryExpression.check(b)||r.LogicalExpression.check(b)}function p(b){return r.UnaryExpression.check(b)||r.SpreadElement&&r.SpreadElement.check(b)||r.SpreadProperty&&r.SpreadProperty.check(b)}var d={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(b,T){b.forEach(function(x){d[x]=T})});function f(b){return r.CallExpression.check(b)?!0:n.check(b)?b.some(f):r.Node.check(b)?e.someField(b,function(T,x){return f(x)}):!1}u.canBeFirstInStatement=function(){var b=this.node;return!r.FunctionExpression.check(b)&&!r.ObjectExpression.check(b)},u.firstInStatement=function(){return h(this)};function h(b){for(var T,x;b.parent;b=b.parent){if(T=b.node,x=b.parent.node,r.BlockStatement.check(x)&&b.parent.name==="body"&&b.name===0){if(x.body[0]!==T)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(x)&&b.name==="expression"){if(x.expression!==T)throw new Error("Nodes must be equal");return!0}if(r.SequenceExpression.check(x)&&b.parent.name==="expressions"&&b.name===0){if(x.expressions[0]!==T)throw new Error("Nodes must be equal");continue}if(r.CallExpression.check(x)&&b.name==="callee"){if(x.callee!==T)throw new Error("Nodes must be equal");continue}if(r.MemberExpression.check(x)&&b.name==="object"){if(x.object!==T)throw new Error("Nodes must be equal");continue}if(r.ConditionalExpression.check(x)&&b.name==="test"){if(x.test!==T)throw new Error("Nodes must be equal");continue}if(c(x)&&b.name==="left"){if(x.left!==T)throw new Error("Nodes must be equal");continue}if(r.UnaryExpression.check(x)&&!x.prefix&&b.name==="argument"){if(x.argument!==T)throw new Error("Nodes must be equal");continue}return!1}return!0}function m(b){if(r.VariableDeclaration.check(b.node)){var T=b.get("declarations").value;if(!T||T.length===0)return b.prune()}else if(r.ExpressionStatement.check(b.node)){if(!b.get("expression").value)return b.prune()}else r.IfStatement.check(b.node)&&g(b);return b}function g(b){var T=b.get("test").value,x=b.get("alternate").value,v=b.get("consequent").value;if(!v&&!x){var w=i.expressionStatement(T);b.replace(w)}else if(!v&&x){var A=i.unaryExpression("!",T,!0);r.UnaryExpression.check(T)&&T.operator==="!"&&(A=T.argument),b.get("test").replace(A),b.get("consequent").replace(x),b.get("alternate").replace()}}return l}j6.default=Wqe;Ale.exports=j6.default});var Cle=E((U6,_le)=>{"use strict";Object.defineProperty(U6,"__esModule",{value:!0});var Ple=(Zr(),ar(li)),Gqe=(0,Ple.__importDefault)(vs()),zqe=(0,Ple.__importDefault)(GL()),V6=Object.prototype.hasOwnProperty;function Hqe(t){var e=t.use(Gqe.default),r=t.use(zqe.default),i=e.builtInTypes.array,s=e.builtInTypes.object,n=e.builtInTypes.function,a,o=function h(){if(!(this instanceof h))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=l(this),this._shouldVisitComments=V6.call(this._methodNameTable,"Block")||V6.call(this._methodNameTable,"Line"),this.Context=d(this),this._visiting=!1,this._changeReported=!1};function l(h){var m=Object.create(null);for(var g in h)/^visit[A-Z]/.test(g)&&(m[g.slice(5)]=!0);for(var b=e.computeSupertypeLookupTable(m),T=Object.create(null),x=Object.keys(b),v=x.length,w=0;w<v;++w){var A=x[w];g="visit"+b[A],n.check(h[g])&&(T[A]=g)}return T}o.fromMethodsObject=function(m){if(m instanceof o)return m;if(!s.check(m))return new o;var g=function T(){if(!(this instanceof T))throw new Error("Visitor constructor cannot be invoked without 'new'");o.call(this)},b=g.prototype=Object.create(c);return b.constructor=g,u(b,m),u(g,o),n.assert(g.fromMethodsObject),n.assert(g.visit),new g};function u(h,m){for(var g in m)V6.call(m,g)&&(h[g]=m[g]);return h}o.visit=function(m,g){return o.fromMethodsObject(g).visit(m)};var c=o.prototype;c.visit=function(){if(this._visiting)throw new Error("Recursively calling visitor.visit(path) resets visitor state. Try this.visit(path) or this.traverse(path) instead.");this._visiting=!0,this._changeReported=!1,this._abortRequested=!1;for(var h=arguments.length,m=new Array(h),g=0;g<h;++g)m[g]=arguments[g];m[0]instanceof r||(m[0]=new r({root:m[0]}).get("root")),this.reset.apply(this,m);var b;try{var T=this.visitWithoutReset(m[0]);b=!0}finally{if(this._visiting=!1,!b&&this._abortRequested)return m[0].value}return T},c.AbortRequest=function(){},c.abort=function(){var h=this;h._abortRequested=!0;var m=new h.AbortRequest;throw m.cancel=function(){h._abortRequested=!1},m},c.reset=function(h){},c.visitWithoutReset=function(h){if(this instanceof this.Context)return this.visitor.visitWithoutReset(h);if(!(h instanceof r))throw new Error("");var m=h.value,g=m&&typeof m=="object"&&typeof m.type=="string"&&this._methodNameTable[m.type];if(g){var b=this.acquireContext(h);try{return b.invokeVisitorMethod(g)}finally{this.releaseContext(b)}}else return p(h,this)};function p(h,m){if(!(h instanceof r))throw new Error("");if(!(m instanceof o))throw new Error("");var g=h.value;if(i.check(g))h.each(m.visitWithoutReset,m);else if(s.check(g)){var b=e.getFieldNames(g);m._shouldVisitComments&&g.comments&&b.indexOf("comments")<0&&b.push("comments");for(var T=b.length,x=[],v=0;v<T;++v){var w=b[v];V6.call(g,w)||(g[w]=e.getFieldValue(g,w)),x.push(h.get(w))}for(var v=0;v<T;++v)m.visitWithoutReset(x[v])}return h.value}c.acquireContext=function(h){return this._reusableContextStack.length===0?new this.Context(h):this._reusableContextStack.pop().reset(h)},c.releaseContext=function(h){if(!(h instanceof this.Context))throw new Error("");this._reusableContextStack.push(h),h.currentPath=null},c.reportChanged=function(){this._changeReported=!0},c.wasChangeReported=function(){return this._changeReported};function d(h){function m(b){if(!(this instanceof m))throw new Error("");if(!(this instanceof o))throw new Error("");if(!(b instanceof r))throw new Error("");Object.defineProperty(this,"visitor",{value:h,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=b,this.needToCallTraverse=!0,Object.seal(this)}if(!(h instanceof o))throw new Error("");var g=m.prototype=Object.create(h);return g.constructor=m,u(g,f),m}var f=Object.create(null);return f.reset=function(m){if(!(this instanceof this.Context))throw new Error("");if(!(m instanceof r))throw new Error("");return this.currentPath=m,this.needToCallTraverse=!0,this},f.invokeVisitorMethod=function(m){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");var g=this.visitor[m].call(this,this.currentPath);if(g===!1?this.needToCallTraverse=!1:g!==a&&(this.currentPath=this.currentPath.replace(g)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+m);var b=this.currentPath;return b&&b.value},f.traverse=function(m,g){if(!(this instanceof this.Context))throw new Error("");if(!(m instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,p(m,o.fromMethodsObject(g||this.visitor))},f.visit=function(m,g){if(!(this instanceof this.Context))throw new Error("");if(!(m instanceof r))throw new Error("");if(!(this.currentPath instanceof r))throw new Error("");return this.needToCallTraverse=!1,o.fromMethodsObject(g||this.visitor).visitWithoutReset(m)},f.reportChanged=function(){this.visitor.reportChanged()},f.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},o}U6.default=Hqe;_le.exports=U6.default});var Nle=E((q6,Dle)=>{"use strict";Object.defineProperty(q6,"__esModule",{value:!0});var Yqe=(Zr(),ar(li)),Jqe=(0,Yqe.__importDefault)(vs());function Xqe(t){var e=t.use(Jqe.default),r=e.getFieldNames,i=e.getFieldValue,s=e.builtInTypes.array,n=e.builtInTypes.object,a=e.builtInTypes.Date,o=e.builtInTypes.RegExp,l=Object.prototype.hasOwnProperty;function u(h,m,g){return s.check(g)?g.length=0:g=null,p(h,m,g)}u.assert=function(h,m){var g=[];if(!u(h,m,g))if(g.length===0){if(h!==m)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+g.map(c).join(""))};function c(h){return/[_$a-z][_$a-z0-9]*/i.test(h)?"."+h:"["+JSON.stringify(h)+"]"}function p(h,m,g){return h===m?!0:s.check(h)?d(h,m,g):n.check(h)?f(h,m,g):a.check(h)?a.check(m)&&+h==+m:o.check(h)?o.check(m)&&h.source===m.source&&h.global===m.global&&h.multiline===m.multiline&&h.ignoreCase===m.ignoreCase:h==m}function d(h,m,g){s.assert(h);var b=h.length;if(!s.check(m)||m.length!==b)return g&&g.push("length"),!1;for(var T=0;T<b;++T){if(g&&g.push(T),T in h!=T in m||!p(h[T],m[T],g))return!1;if(g){var x=g.pop();if(x!==T)throw new Error(""+x)}}return!0}function f(h,m,g){if(n.assert(h),!n.check(m))return!1;if(h.type!==m.type)return g&&g.push("type"),!1;var b=r(h),T=b.length,x=r(m),v=x.length;if(T===v){for(var w=0;w<T;++w){var A=b[w],C=i(h,A),K=i(m,A);if(g&&g.push(A),!p(C,K,g))return!1;if(g){var F=g.pop();if(F!==A)throw new Error(""+F)}}return!0}if(!g)return!1;var Q=Object.create(null);for(w=0;w<T;++w)Q[b[w]]=!0;for(w=0;w<v;++w){if(A=x[w],!l.call(Q,A))return g.push(A),!1;delete Q[A]}for(A in Q){g.push(A);break}return!1}return u}q6.default=Xqe;Dle.exports=q6.default});var Ole=E(($6,Ile)=>{"use strict";Object.defineProperty($6,"__esModule",{value:!0});var SS=(Zr(),ar(li)),Qqe=(0,SS.__importDefault)(vs()),Zqe=(0,SS.__importDefault)(Cle()),e$e=(0,SS.__importDefault)(Nle()),t$e=(0,SS.__importDefault)(KL()),r$e=(0,SS.__importDefault)(GL());function i$e(t){var e=s$e(),r=e.use(Qqe.default);t.forEach(e.use),r.finalize();var i=e.use(Zqe.default);return{Type:r.Type,builtInTypes:r.builtInTypes,namedTypes:r.namedTypes,builders:r.builders,defineMethod:r.defineMethod,getFieldNames:r.getFieldNames,getFieldValue:r.getFieldValue,eachField:r.eachField,someField:r.someField,getSupertypeNames:r.getSupertypeNames,getBuilderName:r.getBuilderName,astNodesAreEquivalent:e.use(e$e.default),finalize:r.finalize,Path:e.use(t$e.default),NodePath:e.use(r$e.default),PathVisitor:i,use:e.use,visit:i.visit}}$6.default=i$e;function s$e(){var t=[],e=[];function r(s){var n=t.indexOf(s);return n===-1&&(n=t.length,t.push(s),e[n]=s(i)),e[n]}var i={use:r};return i}Ile.exports=$6.default});var fo=E((K6,kle)=>{"use strict";Object.defineProperty(K6,"__esModule",{value:!0});var n$e=(Zr(),ar(li)),a$e=(0,n$e.__importDefault)(vs());function o$e(t){var e=t.use(a$e.default),r=e.Type,i=e.builtInTypes,s=i.number;function n(u){return r.from(function(c){return s.check(c)&&c>=u},s+" >= "+u)}var a={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},o=r.or(i.string,i.number,i.boolean,i.null,i.undefined),l=r.from(function(u){if(u===null)return!0;var c=typeof u;return!(c==="object"||c==="function")},o.toString());return{geq:n,defaults:a,isPrimitive:l}}K6.default=o$e;kle.exports=K6.default});var zL=E((W6,Lle)=>{"use strict";Object.defineProperty(W6,"__esModule",{value:!0});function l$e(){return{BinaryOperators:["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],AssignmentOperators:["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],LogicalOperators:["||","&&"]}}W6.default=l$e;Lle.exports=W6.default});var HL=E((G6,Fle)=>{"use strict";Object.defineProperty(G6,"__esModule",{value:!0});var u$e=(Zr(),ar(li)),c$e=(0,u$e.__importDefault)(zL());function p$e(t){var e=t.use(c$e.default);return e.BinaryOperators.indexOf("**")<0&&e.BinaryOperators.push("**"),e.AssignmentOperators.indexOf("**=")<0&&e.AssignmentOperators.push("**="),e}G6.default=p$e;Fle.exports=G6.default});var YL=E((z6,Rle)=>{"use strict";Object.defineProperty(z6,"__esModule",{value:!0});var f$e=(Zr(),ar(li)),d$e=(0,f$e.__importDefault)(HL());function h$e(t){var e=t.use(d$e.default);return e.LogicalOperators.indexOf("??")<0&&e.LogicalOperators.push("??"),e}z6.default=h$e;Rle.exports=z6.default});var Mle=E((H6,Ble)=>{"use strict";Object.defineProperty(H6,"__esModule",{value:!0});var m$e=(Zr(),ar(li)),y$e=(0,m$e.__importDefault)(YL());function g$e(t){var e=t.use(y$e.default);return e.LogicalOperators.forEach(function(r){var i=r+"=";e.AssignmentOperators.indexOf(i)<0&&e.AssignmentOperators.push(i)}),e}H6.default=g$e;Ble.exports=H6.default});var Vle=E((Y6,jle)=>{"use strict";Object.defineProperty(Y6,"__esModule",{value:!0});var JL=(Zr(),ar(li)),b$e=(0,JL.__importDefault)(zL()),v$e=(0,JL.__importDefault)(vs()),S$e=(0,JL.__importDefault)(fo());function T$e(t){var e=t.use(v$e.default),r=e.Type,i=r.def,s=r.or,n=t.use(S$e.default),a=n.defaults,o=n.geq,l=t.use(b$e.default),u=l.BinaryOperators,c=l.AssignmentOperators,p=l.LogicalOperators;i("Printable").field("loc",s(i("SourceLocation"),null),a.null,!0),i("Node").bases("Printable").field("type",String).field("comments",s([i("Comment")],null),a.null,!0),i("SourceLocation").field("start",i("Position")).field("end",i("Position")).field("source",s(String,null),a.null),i("Position").field("line",o(1)).field("column",o(0)),i("File").bases("Node").build("program","name").field("program",i("Program")).field("name",s(String,null),a.null),i("Program").bases("Node").build("body").field("body",[i("Statement")]),i("Function").bases("Node").field("id",s(i("Identifier"),null),a.null).field("params",[i("Pattern")]).field("body",i("BlockStatement")).field("generator",Boolean,a.false).field("async",Boolean,a.false),i("Statement").bases("Node"),i("EmptyStatement").bases("Statement").build(),i("BlockStatement").bases("Statement").build("body").field("body",[i("Statement")]),i("ExpressionStatement").bases("Statement").build("expression").field("expression",i("Expression")),i("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",i("Expression")).field("consequent",i("Statement")).field("alternate",s(i("Statement"),null),a.null),i("LabeledStatement").bases("Statement").build("label","body").field("label",i("Identifier")).field("body",i("Statement")),i("BreakStatement").bases("Statement").build("label").field("label",s(i("Identifier"),null),a.null),i("ContinueStatement").bases("Statement").build("label").field("label",s(i("Identifier"),null),a.null),i("WithStatement").bases("Statement").build("object","body").field("object",i("Expression")).field("body",i("Statement")),i("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",i("Expression")).field("cases",[i("SwitchCase")]).field("lexical",Boolean,a.false),i("ReturnStatement").bases("Statement").build("argument").field("argument",s(i("Expression"),null)),i("ThrowStatement").bases("Statement").build("argument").field("argument",i("Expression")),i("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",i("BlockStatement")).field("handler",s(i("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[i("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[i("CatchClause")],a.emptyArray).field("finalizer",s(i("BlockStatement"),null),a.null),i("CatchClause").bases("Node").build("param","guard","body").field("param",i("Pattern")).field("guard",s(i("Expression"),null),a.null).field("body",i("BlockStatement")),i("WhileStatement").bases("Statement").build("test","body").field("test",i("Expression")).field("body",i("Statement")),i("DoWhileStatement").bases("Statement").build("body","test").field("body",i("Statement")).field("test",i("Expression")),i("ForStatement").bases("Statement").build("init","test","update","body").field("init",s(i("VariableDeclaration"),i("Expression"),null)).field("test",s(i("Expression"),null)).field("update",s(i("Expression"),null)).field("body",i("Statement")),i("ForInStatement").bases("Statement").build("left","right","body").field("left",s(i("VariableDeclaration"),i("Expression"))).field("right",i("Expression")).field("body",i("Statement")),i("DebuggerStatement").bases("Statement").build(),i("Declaration").bases("Statement"),i("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",i("Identifier")),i("FunctionExpression").bases("Function","Expression").build("id","params","body"),i("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",s("var","let","const")).field("declarations",[i("VariableDeclarator")]),i("VariableDeclarator").bases("Node").build("id","init").field("id",i("Pattern")).field("init",s(i("Expression"),null),a.null),i("Expression").bases("Node"),i("ThisExpression").bases("Expression").build(),i("ArrayExpression").bases("Expression").build("elements").field("elements",[s(i("Expression"),null)]),i("ObjectExpression").bases("Expression").build("properties").field("properties",[i("Property")]),i("Property").bases("Node").build("kind","key","value").field("kind",s("init","get","set")).field("key",s(i("Literal"),i("Identifier"))).field("value",i("Expression")),i("SequenceExpression").bases("Expression").build("expressions").field("expressions",[i("Expression")]);var d=s("-","+","!","~","typeof","void","delete");i("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",d).field("argument",i("Expression")).field("prefix",Boolean,a.true);var f=s.apply(void 0,u);i("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",f).field("left",i("Expression")).field("right",i("Expression"));var h=s.apply(void 0,c);i("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",h).field("left",s(i("Pattern"),i("MemberExpression"))).field("right",i("Expression"));var m=s("++","--");i("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",m).field("argument",i("Expression")).field("prefix",Boolean);var g=s.apply(void 0,p);i("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",g).field("left",i("Expression")).field("right",i("Expression")),i("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",i("Expression")).field("consequent",i("Expression")).field("alternate",i("Expression")),i("NewExpression").bases("Expression").build("callee","arguments").field("callee",i("Expression")).field("arguments",[i("Expression")]),i("CallExpression").bases("Expression").build("callee","arguments").field("callee",i("Expression")).field("arguments",[i("Expression")]),i("MemberExpression").bases("Expression").build("object","property","computed").field("object",i("Expression")).field("property",s(i("Identifier"),i("Expression"))).field("computed",Boolean,function(){var b=this.property.type;return b==="Literal"||b==="MemberExpression"||b==="BinaryExpression"}),i("Pattern").bases("Node"),i("SwitchCase").bases("Node").build("test","consequent").field("test",s(i("Expression"),null)).field("consequent",[i("Statement")]),i("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,a.false),i("Literal").bases("Expression").build("value").field("value",s(String,Boolean,null,Number,RegExp,BigInt)),i("Comment").bases("Printable").field("value",String).field("leading",Boolean,a.true).field("trailing",Boolean,a.false)}Y6.default=T$e;jle.exports=Y6.default});var qle=E((J6,Ule)=>{"use strict";Object.defineProperty(J6,"__esModule",{value:!0});var XL=(Zr(),ar(li)),x$e=(0,XL.__importDefault)(Vle()),E$e=(0,XL.__importDefault)(vs()),w$e=(0,XL.__importDefault)(fo());function A$e(t){t.use(x$e.default);var e=t.use(E$e.default),r=e.Type.def,i=e.Type.or,s=t.use(w$e.default).defaults;r("Function").field("generator",Boolean,s.false).field("expression",Boolean,s.false).field("defaults",[i(r("Expression"),null)],s.emptyArray).field("rest",i(r("Identifier"),null),s.null),r("RestElement").bases("Pattern").build("argument").field("argument",r("Pattern")).field("typeAnnotation",i(r("TypeAnnotation"),r("TSTypeAnnotation"),null),s.null),r("SpreadElementPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("FunctionDeclaration").build("id","params","body","generator","expression").field("id",i(r("Identifier"),null)),r("FunctionExpression").build("id","params","body","generator","expression"),r("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,s.null).field("body",i(r("BlockStatement"),r("Expression"))).field("generator",!1,s.false),r("ForOfStatement").bases("Statement").build("left","right","body").field("left",i(r("VariableDeclaration"),r("Pattern"))).field("right",r("Expression")).field("body",r("Statement")),r("YieldExpression").bases("Expression").build("argument","delegate").field("argument",i(r("Expression"),null)).field("delegate",Boolean,s.false),r("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",i(r("Expression"),null)),r("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",r("Expression")).field("blocks",[r("ComprehensionBlock")]).field("filter",i(r("Expression"),null)),r("ComprehensionBlock").bases("Node").build("left","right","each").field("left",r("Pattern")).field("right",r("Expression")).field("each",Boolean),r("Property").field("key",i(r("Literal"),r("Identifier"),r("Expression"))).field("value",i(r("Expression"),r("Pattern"))).field("method",Boolean,s.false).field("shorthand",Boolean,s.false).field("computed",Boolean,s.false),r("ObjectProperty").field("shorthand",Boolean,s.false),r("PropertyPattern").bases("Pattern").build("key","pattern").field("key",i(r("Literal"),r("Identifier"),r("Expression"))).field("pattern",r("Pattern")).field("computed",Boolean,s.false),r("ObjectPattern").bases("Pattern").build("properties").field("properties",[i(r("PropertyPattern"),r("Property"))]),r("ArrayPattern").bases("Pattern").build("elements").field("elements",[i(r("Pattern"),null)]),r("SpreadElement").bases("Node").build("argument").field("argument",r("Expression")),r("ArrayExpression").field("elements",[i(r("Expression"),r("SpreadElement"),r("RestElement"),null)]),r("NewExpression").field("arguments",[i(r("Expression"),r("SpreadElement"))]),r("CallExpression").field("arguments",[i(r("Expression"),r("SpreadElement"))]),r("AssignmentPattern").bases("Pattern").build("left","right").field("left",r("Pattern")).field("right",r("Expression")),r("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",i("constructor","method","get","set")).field("key",r("Expression")).field("value",r("Function")).field("computed",Boolean,s.false).field("static",Boolean,s.false);var n=i(r("MethodDefinition"),r("VariableDeclarator"),r("ClassPropertyDefinition"),r("ClassProperty"));r("ClassProperty").bases("Declaration").build("key").field("key",i(r("Literal"),r("Identifier"),r("Expression"))).field("computed",Boolean,s.false),r("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",n),r("ClassBody").bases("Declaration").build("body").field("body",[n]),r("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",i(r("Identifier"),null)).field("body",r("ClassBody")).field("superClass",i(r("Expression"),null),s.null),r("ClassExpression").bases("Expression").build("id","body","superClass").field("id",i(r("Identifier"),null),s.null).field("body",r("ClassBody")).field("superClass",i(r("Expression"),null),s.null),r("Super").bases("Expression").build(),r("Specifier").bases("Node"),r("ModuleSpecifier").bases("Specifier").field("local",i(r("Identifier"),null),s.null).field("id",i(r("Identifier"),null),s.null).field("name",i(r("Identifier"),null),s.null),r("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",r("Identifier")),r("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),r("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),r("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[i(r("ImportSpecifier"),r("ImportNamespaceSpecifier"),r("ImportDefaultSpecifier"))],s.emptyArray).field("source",r("Literal")).field("importKind",i("value","type"),function(){return"value"}),r("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",i(r("Declaration"),null)).field("specifiers",[r("ExportSpecifier")],s.emptyArray).field("source",i(r("Literal"),null),s.null),r("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",r("Identifier")),r("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",i(r("Declaration"),r("Expression"))),r("ExportAllDeclaration").bases("Declaration").build("source").field("source",r("Literal")),r("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",r("Expression")).field("quasi",r("TemplateLiteral")),r("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[r("TemplateElement")]).field("expressions",[r("Expression")]),r("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),r("MetaProperty").bases("Expression").build("meta","property").field("meta",r("Identifier")).field("property",r("Identifier"))}J6.default=A$e;Ule.exports=J6.default});var Wle=E((X6,Kle)=>{"use strict";Object.defineProperty(X6,"__esModule",{value:!0});var $le=(Zr(),ar(li)),P$e=(0,$le.__importDefault)(HL()),_$e=(0,$le.__importDefault)(qle());function C$e(t){t.use(P$e.default),t.use(_$e.default)}X6.default=C$e;Kle.exports=X6.default});var zle=E((Q6,Gle)=>{"use strict";Object.defineProperty(Q6,"__esModule",{value:!0});var QL=(Zr(),ar(li)),D$e=(0,QL.__importDefault)(Wle()),N$e=(0,QL.__importDefault)(vs()),I$e=(0,QL.__importDefault)(fo());function O$e(t){t.use(D$e.default);var e=t.use(N$e.default),r=e.Type.def,i=t.use(I$e.default).defaults;r("Function").field("async",Boolean,i.false),r("AwaitExpression").bases("Expression").build("argument").field("argument",r("Expression"))}Q6.default=O$e;Gle.exports=Q6.default});var Yle=E((Z6,Hle)=>{"use strict";Object.defineProperty(Z6,"__esModule",{value:!0});var ZL=(Zr(),ar(li)),k$e=(0,ZL.__importDefault)(zle()),L$e=(0,ZL.__importDefault)(vs()),F$e=(0,ZL.__importDefault)(fo());function R$e(t){t.use(k$e.default);var e=t.use(L$e.default),r=e.Type.def,i=e.Type.or,s=t.use(F$e.default).defaults;r("ForOfStatement").field("await",Boolean,s.false),r("SpreadProperty").bases("Node").build("argument").field("argument",r("Expression")),r("ObjectExpression").field("properties",[i(r("Property"),r("SpreadProperty"),r("SpreadElement"))]),r("TemplateElement").field("value",{cooked:i(String,null),raw:String}),r("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",r("Pattern")),r("ObjectPattern").field("properties",[i(r("PropertyPattern"),r("Property"),r("RestElement"),r("SpreadPropertyPattern"))])}Z6.default=R$e;Hle.exports=Z6.default});var Xle=E((eP,Jle)=>{"use strict";Object.defineProperty(eP,"__esModule",{value:!0});var eF=(Zr(),ar(li)),B$e=(0,eF.__importDefault)(Yle()),M$e=(0,eF.__importDefault)(vs()),j$e=(0,eF.__importDefault)(fo());function V$e(t){t.use(B$e.default);var e=t.use(M$e.default),r=e.Type.def,i=e.Type.or,s=t.use(j$e.default).defaults;r("CatchClause").field("param",i(r("Pattern"),null),s.null)}eP.default=V$e;Jle.exports=eP.default});var Zle=E((rP,Qle)=>{"use strict";Object.defineProperty(rP,"__esModule",{value:!0});var tP=(Zr(),ar(li)),U$e=(0,tP.__importDefault)(YL()),q$e=(0,tP.__importDefault)(Xle()),$$e=(0,tP.__importDefault)(vs()),K$e=(0,tP.__importDefault)(fo());function W$e(t){t.use(U$e.default),t.use(q$e.default);var e=t.use($$e.default),r=e.Type.def,i=e.Type.or,s=t.use(K$e.default),n=s.defaults;r("ImportExpression").bases("Expression").build("source").field("source",r("Expression")),r("ExportAllDeclaration").build("source","exported").field("source",r("Literal")).field("exported",i(r("Identifier"),null)),r("ChainElement").bases("Node").field("optional",Boolean,n.false),r("CallExpression").bases("Expression","ChainElement"),r("MemberExpression").bases("Expression","ChainElement"),r("ChainExpression").bases("Expression").build("expression").field("expression",r("ChainElement")),r("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,n.true),r("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,n.true)}rP.default=W$e;Qle.exports=rP.default});var rue=E((iP,tue)=>{"use strict";Object.defineProperty(iP,"__esModule",{value:!0});var eue=(Zr(),ar(li)),G$e=(0,eue.__importDefault)(Mle()),z$e=(0,eue.__importDefault)(Zle());function H$e(t){t.use(G$e.default),t.use(z$e.default)}iP.default=H$e;tue.exports=iP.default});var nue=E((sP,sue)=>{"use strict";Object.defineProperty(sP,"__esModule",{value:!0});var iue=(Zr(),ar(li)),Y$e=(0,iue.__importDefault)(rue()),J$e=(0,iue.__importDefault)(vs());function X$e(t){t.use(Y$e.default);var e=t.use(J$e.default),r=e.Type.def;r("StaticBlock").bases("Declaration").build("body").field("body",[r("Statement")])}sP.default=X$e;sue.exports=sP.default});var rg=E((nP,aue)=>{"use strict";Object.defineProperty(nP,"__esModule",{value:!0});var tF=(Zr(),ar(li)),Q$e=(0,tF.__importDefault)(vs()),Z$e=(0,tF.__importDefault)(fo()),eKe=(0,tF.__importDefault)(nue());function tKe(t){t.use(eKe.default);var e=t.use(Q$e.default),r=e.Type,i=e.Type.def,s=r.or,n=t.use(Z$e.default),a=n.defaults;i("AwaitExpression").build("argument","all").field("argument",s(i("Expression"),null)).field("all",Boolean,a.false),i("Decorator").bases("Node").build("expression").field("expression",i("Expression")),i("Property").field("decorators",s([i("Decorator")],null),a.null),i("MethodDefinition").field("decorators",s([i("Decorator")],null),a.null),i("PrivateName").bases("Expression","Pattern").build("id").field("id",i("Identifier")),i("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",i("PrivateName")).field("value",s(i("Expression"),null),a.null),i("ImportAttribute").bases("Node").build("key","value").field("key",s(i("Identifier"),i("Literal"))).field("value",i("Expression")),["ImportDeclaration","ExportAllDeclaration","ExportNamedDeclaration"].forEach(function(o){i(o).field("assertions",[i("ImportAttribute")],a.emptyArray)}),i("RecordExpression").bases("Expression").build("properties").field("properties",[s(i("ObjectProperty"),i("ObjectMethod"),i("SpreadElement"))]),i("TupleExpression").bases("Expression").build("elements").field("elements",[s(i("Expression"),i("SpreadElement"),null)]),i("ModuleExpression").bases("Node").build("body").field("body",i("Program"))}nP.default=tKe;aue.exports=nP.default});var lue=E((aP,oue)=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});var rF=(Zr(),ar(li)),rKe=(0,rF.__importDefault)(rg()),iKe=(0,rF.__importDefault)(vs()),sKe=(0,rF.__importDefault)(fo());function nKe(t){t.use(rKe.default);var e=t.use(iKe.default),r=e.Type.def,i=e.Type.or,s=t.use(sKe.default).defaults;r("JSXAttribute").bases("Node").build("name","value").field("name",i(r("JSXIdentifier"),r("JSXNamespacedName"))).field("value",i(r("Literal"),r("JSXExpressionContainer"),r("JSXElement"),r("JSXFragment"),null),s.null),r("JSXIdentifier").bases("Identifier").build("name").field("name",String),r("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",r("JSXIdentifier")).field("name",r("JSXIdentifier")),r("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",i(r("JSXIdentifier"),r("JSXMemberExpression"))).field("property",r("JSXIdentifier")).field("computed",Boolean,s.false);var n=i(r("JSXIdentifier"),r("JSXNamespacedName"),r("JSXMemberExpression"));r("JSXSpreadAttribute").bases("Node").build("argument").field("argument",r("Expression"));var a=[i(r("JSXAttribute"),r("JSXSpreadAttribute"))];r("JSXExpressionContainer").bases("Expression").build("expression").field("expression",i(r("Expression"),r("JSXEmptyExpression")));var o=[i(r("JSXText"),r("JSXExpressionContainer"),r("JSXSpreadChild"),r("JSXElement"),r("JSXFragment"),r("Literal"))];r("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",r("JSXOpeningElement")).field("closingElement",i(r("JSXClosingElement"),null),s.null).field("children",o,s.emptyArray).field("name",n,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",a,function(){return this.openingElement.attributes},!0),r("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",n).field("attributes",a,s.emptyArray).field("selfClosing",Boolean,s.false),r("JSXClosingElement").bases("Node").build("name").field("name",n),r("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",r("JSXOpeningFragment")).field("closingFragment",r("JSXClosingFragment")).field("children",o,s.emptyArray),r("JSXOpeningFragment").bases("Node").build(),r("JSXClosingFragment").bases("Node").build(),r("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),r("JSXEmptyExpression").bases("Node").build(),r("JSXSpreadChild").bases("Node").build("expression").field("expression",r("Expression"))}aP.default=nKe;oue.exports=aP.default});var iF=E((oP,cue)=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});var uue=(Zr(),ar(li)),aKe=(0,uue.__importDefault)(vs()),oKe=(0,uue.__importDefault)(fo());function lKe(t){var e=t.use(aKe.default),r=e.Type.def,i=e.Type.or,s=t.use(oKe.default).defaults,n=i(r("TypeAnnotation"),r("TSTypeAnnotation"),null),a=i(r("TypeParameterDeclaration"),r("TSTypeParameterDeclaration"),null);r("Identifier").field("typeAnnotation",n,s.null),r("ObjectPattern").field("typeAnnotation",n,s.null),r("Function").field("returnType",n,s.null).field("typeParameters",a,s.null),r("ClassProperty").build("key","value","typeAnnotation","static").field("value",i(r("Expression"),null)).field("static",Boolean,s.false).field("typeAnnotation",n,s.null),["ClassDeclaration","ClassExpression"].forEach(function(o){r(o).field("typeParameters",a,s.null).field("superTypeParameters",i(r("TypeParameterInstantiation"),r("TSTypeParameterInstantiation"),null),s.null).field("implements",i([r("ClassImplements")],[r("TSExpressionWithTypeArguments")]),s.emptyArray)})}oP.default=lKe;cue.exports=oP.default});var sF=E((uP,pue)=>{"use strict";Object.defineProperty(uP,"__esModule",{value:!0});var lP=(Zr(),ar(li)),uKe=(0,lP.__importDefault)(rg()),cKe=(0,lP.__importDefault)(iF()),pKe=(0,lP.__importDefault)(vs()),fKe=(0,lP.__importDefault)(fo());function dKe(t){t.use(uKe.default),t.use(cKe.default);var e=t.use(pKe.default),r=e.Type.def,i=e.Type.or,s=t.use(fKe.default).defaults;r("Flow").bases("Node"),r("FlowType").bases("Flow"),r("AnyTypeAnnotation").bases("FlowType").build(),r("EmptyTypeAnnotation").bases("FlowType").build(),r("MixedTypeAnnotation").bases("FlowType").build(),r("VoidTypeAnnotation").bases("FlowType").build(),r("SymbolTypeAnnotation").bases("FlowType").build(),r("NumberTypeAnnotation").bases("FlowType").build(),r("BigIntTypeAnnotation").bases("FlowType").build(),r("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),r("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),r("StringTypeAnnotation").bases("FlowType").build(),r("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),r("BooleanTypeAnnotation").bases("FlowType").build(),r("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),r("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",r("FlowType")),r("NullLiteralTypeAnnotation").bases("FlowType").build(),r("NullTypeAnnotation").bases("FlowType").build(),r("ThisTypeAnnotation").bases("FlowType").build(),r("ExistsTypeAnnotation").bases("FlowType").build(),r("ExistentialTypeParam").bases("FlowType").build(),r("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[r("FunctionTypeParam")]).field("returnType",r("FlowType")).field("rest",i(r("FunctionTypeParam"),null)).field("typeParameters",i(r("TypeParameterDeclaration"),null)),r("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",i(r("Identifier"),null)).field("typeAnnotation",r("FlowType")).field("optional",Boolean),r("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",r("FlowType")),r("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[i(r("ObjectTypeProperty"),r("ObjectTypeSpreadProperty"))]).field("indexers",[r("ObjectTypeIndexer")],s.emptyArray).field("callProperties",[r("ObjectTypeCallProperty")],s.emptyArray).field("inexact",i(Boolean,void 0),s.undefined).field("exact",Boolean,s.false).field("internalSlots",[r("ObjectTypeInternalSlot")],s.emptyArray),r("Variance").bases("Node").build("kind").field("kind",i("plus","minus"));var n=i(r("Variance"),"plus","minus",null);r("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",i(r("Literal"),r("Identifier"))).field("value",r("FlowType")).field("optional",Boolean).field("variance",n,s.null),r("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",r("Identifier")).field("key",r("FlowType")).field("value",r("FlowType")).field("variance",n,s.null).field("static",Boolean,s.false),r("ObjectTypeCallProperty").bases("Node").build("value").field("value",r("FunctionTypeAnnotation")).field("static",Boolean,s.false),r("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",i(r("Identifier"),r("QualifiedTypeIdentifier"))).field("id",r("Identifier")),r("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",i(r("Identifier"),r("QualifiedTypeIdentifier"))).field("typeParameters",i(r("TypeParameterInstantiation"),null)),r("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",r("Identifier")).field("property",i(r("MemberTypeAnnotation"),r("GenericTypeAnnotation"))),r("IndexedAccessType").bases("FlowType").build("objectType","indexType").field("objectType",r("FlowType")).field("indexType",r("FlowType")),r("OptionalIndexedAccessType").bases("FlowType").build("objectType","indexType","optional").field("objectType",r("FlowType")).field("indexType",r("FlowType")).field("optional",Boolean),r("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",r("FlowType")),r("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",r("FlowType")),r("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",r("Identifier")).field("value",r("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),r("TypeParameterDeclaration").bases("Node").build("params").field("params",[r("TypeParameter")]),r("TypeParameterInstantiation").bases("Node").build("params").field("params",[r("FlowType")]),r("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",n,s.null).field("bound",i(r("TypeAnnotation"),null),s.null).field("default",i(r("FlowType"),null),s.null),r("ClassProperty").field("variance",n,s.null),r("ClassImplements").bases("Node").build("id").field("id",r("Identifier")).field("superClass",i(r("Expression"),null),s.null).field("typeParameters",i(r("TypeParameterInstantiation"),null),s.null),r("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",r("ObjectTypeAnnotation")).field("extends",i([r("InterfaceExtends")],null),s.null),r("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterDeclaration"),null),s.null).field("body",r("ObjectTypeAnnotation")).field("extends",[r("InterfaceExtends")]),r("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),r("InterfaceExtends").bases("Node").build("id").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterInstantiation"),null),s.null),r("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterDeclaration"),null)).field("right",r("FlowType")),r("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),r("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",r("Identifier")).field("typeParameters",i(r("TypeParameterDeclaration"),null)).field("impltype",r("FlowType")).field("supertype",i(r("FlowType"),null)),r("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",i(r("FlowType"),null)),r("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",r("Expression")).field("typeAnnotation",r("TypeAnnotation")),r("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[r("FlowType")]),r("DeclareVariable").bases("Statement").build("id").field("id",r("Identifier")),r("DeclareFunction").bases("Statement").build("id").field("id",r("Identifier")).field("predicate",i(r("FlowPredicate"),null),s.null),r("DeclareClass").bases("InterfaceDeclaration").build("id"),r("DeclareModule").bases("Statement").build("id","body").field("id",i(r("Identifier"),r("Literal"))).field("body",r("BlockStatement")),r("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",r("TypeAnnotation")),r("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",i(r("DeclareVariable"),r("DeclareFunction"),r("DeclareClass"),r("FlowType"),r("TypeAlias"),r("DeclareOpaqueType"),r("InterfaceDeclaration"),null)).field("specifiers",[i(r("ExportSpecifier"),r("ExportBatchSpecifier"))],s.emptyArray).field("source",i(r("Literal"),null),s.null),r("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",i(r("Literal"),null),s.null),r("ImportDeclaration").field("importKind",i("value","type","typeof"),function(){return"value"}),r("FlowPredicate").bases("Flow"),r("InferredPredicate").bases("FlowPredicate").build(),r("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",r("Expression")),r("Function").field("predicate",i(r("FlowPredicate"),null),s.null),r("CallExpression").field("typeArguments",i(null,r("TypeParameterInstantiation")),s.null),r("NewExpression").field("typeArguments",i(null,r("TypeParameterInstantiation")),s.null),r("EnumDeclaration").bases("Declaration").build("id","body").field("id",r("Identifier")).field("body",i(r("EnumBooleanBody"),r("EnumNumberBody"),r("EnumStringBody"),r("EnumSymbolBody"))),r("EnumBooleanBody").build("members","explicitType").field("members",[r("EnumBooleanMember")]).field("explicitType",Boolean),r("EnumNumberBody").build("members","explicitType").field("members",[r("EnumNumberMember")]).field("explicitType",Boolean),r("EnumStringBody").build("members","explicitType").field("members",i([r("EnumStringMember")],[r("EnumDefaultedMember")])).field("explicitType",Boolean),r("EnumSymbolBody").build("members").field("members",[r("EnumDefaultedMember")]),r("EnumBooleanMember").build("id","init").field("id",r("Identifier")).field("init",i(r("Literal"),Boolean)),r("EnumNumberMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumStringMember").build("id","init").field("id",r("Identifier")).field("init",r("Literal")),r("EnumDefaultedMember").build("id").field("id",r("Identifier"))}uP.default=dKe;pue.exports=uP.default});var due=E((cP,fue)=>{"use strict";Object.defineProperty(cP,"__esModule",{value:!0});var nF=(Zr(),ar(li)),hKe=(0,nF.__importDefault)(rg()),mKe=(0,nF.__importDefault)(vs()),yKe=(0,nF.__importDefault)(fo());function gKe(t){t.use(hKe.default);var e=t.use(mKe.default),r=t.use(yKe.default).defaults,i=e.Type.def,s=e.Type.or;i("VariableDeclaration").field("declarations",[s(i("VariableDeclarator"),i("Identifier"))]),i("Property").field("value",s(i("Expression"),i("Pattern"))),i("ArrayPattern").field("elements",[s(i("Pattern"),i("SpreadElement"),null)]),i("ObjectPattern").field("properties",[s(i("Property"),i("PropertyPattern"),i("SpreadPropertyPattern"),i("SpreadProperty"))]),i("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),i("ExportBatchSpecifier").bases("Specifier").build(),i("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",s(i("Declaration"),i("Expression"),null)).field("specifiers",[s(i("ExportSpecifier"),i("ExportBatchSpecifier"))],r.emptyArray).field("source",s(i("Literal"),null),r.null),i("Block").bases("Comment").build("value","leading","trailing"),i("Line").bases("Comment").build("value","leading","trailing")}cP.default=gKe;fue.exports=cP.default});var oF=E((pP,hue)=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});var aF=(Zr(),ar(li)),bKe=(0,aF.__importDefault)(rg()),vKe=(0,aF.__importDefault)(vs()),SKe=(0,aF.__importDefault)(fo());function TKe(t){var e,r,i,s,n;t.use(bKe.default);var a=t.use(vKe.default),o=t.use(SKe.default).defaults,l=a.Type.def,u=a.Type.or,c=a.builtInTypes.undefined;l("Noop").bases("Statement").build(),l("DoExpression").bases("Expression").build("body").field("body",[l("Statement")]),l("BindExpression").bases("Expression").build("object","callee").field("object",u(l("Expression"),null)).field("callee",l("Expression")),l("ParenthesizedExpression").bases("Expression").build("expression").field("expression",l("Expression")),l("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",l("Identifier")),l("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",l("Identifier")),l("CommentBlock").bases("Comment").build("value","leading","trailing"),l("CommentLine").bases("Comment").build("value","leading","trailing"),l("Directive").bases("Node").build("value").field("value",l("DirectiveLiteral")),l("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,o["use strict"]),l("InterpreterDirective").bases("Node").build("value").field("value",String),l("BlockStatement").bases("Statement").build("body").field("body",[l("Statement")]).field("directives",[l("Directive")],o.emptyArray),l("Program").bases("Node").build("body").field("body",[l("Statement")]).field("directives",[l("Directive")],o.emptyArray).field("interpreter",u(l("InterpreterDirective"),null),o.null);function p(m,g){return m===void 0&&(m=String),["extra",{rawValue:m,raw:String},function(){var T=a.getFieldValue(this,"value");return{rawValue:T,raw:g?g(T):String(T)}}]}(e=l("StringLiteral").bases("Literal").build("value").field("value",String)).field.apply(e,p(String,function(m){return JSON.stringify(m)})),(r=l("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",u(String,null),o.null)).field.apply(r,p(Number)),(i=l("BigIntLiteral").bases("Literal").build("value").field("value",u(String,Number))).field.apply(i,p(String,function(m){return m+"n"})),(s=l("DecimalLiteral").bases("Literal").build("value").field("value",String)).field.apply(s,p(String,function(m){return m+"m"})),l("NullLiteral").bases("Literal").build().field("value",null,o.null),l("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),(n=l("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)})).field.apply(n,p(u(RegExp,c),function(m){return"/".concat(m.pattern,"/").concat(m.flags||"")})).field("regex",{pattern:String,flags:String},function(){return{pattern:this.pattern,flags:this.flags}});var d=u(l("Property"),l("ObjectMethod"),l("ObjectProperty"),l("SpreadProperty"),l("SpreadElement"));l("ObjectExpression").bases("Expression").build("properties").field("properties",[d]),l("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",u("method","get","set")).field("key",u(l("Literal"),l("Identifier"),l("Expression"))).field("params",[l("Pattern")]).field("body",l("BlockStatement")).field("computed",Boolean,o.false).field("generator",Boolean,o.false).field("async",Boolean,o.false).field("accessibility",u(l("Literal"),null),o.null).field("decorators",u([l("Decorator")],null),o.null),l("ObjectProperty").bases("Node").build("key","value").field("key",u(l("Literal"),l("Identifier"),l("Expression"))).field("value",u(l("Expression"),l("Pattern"))).field("accessibility",u(l("Literal"),null),o.null).field("computed",Boolean,o.false);var f=u(l("MethodDefinition"),l("VariableDeclarator"),l("ClassPropertyDefinition"),l("ClassProperty"),l("ClassPrivateProperty"),l("ClassMethod"),l("ClassPrivateMethod"));l("ClassBody").bases("Declaration").build("body").field("body",[f]),l("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",u(l("Literal"),l("Identifier"),l("Expression"))),l("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",l("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach(function(m){l(m).field("kind",u("get","set","method","constructor"),function(){return"method"}).field("body",l("BlockStatement")).field("computed",Boolean,o.false).field("static",u(Boolean,null),o.null).field("abstract",u(Boolean,null),o.null).field("access",u("public","private","protected",null),o.null).field("accessibility",u("public","private","protected",null),o.null).field("decorators",u([l("Decorator")],null),o.null).field("optional",u(Boolean,null),o.null)});var h=u(l("Property"),l("PropertyPattern"),l("SpreadPropertyPattern"),l("SpreadProperty"),l("ObjectProperty"),l("RestProperty"));l("ObjectPattern").bases("Pattern").build("properties").field("properties",[h]).field("decorators",u([l("Decorator")],null),o.null),l("SpreadProperty").bases("Node").build("argument").field("argument",l("Expression")),l("RestProperty").bases("Node").build("argument").field("argument",l("Expression")),l("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",u(l("VariableDeclaration"),l("Expression"))).field("right",l("Expression")).field("body",l("Statement")),l("Import").bases("Expression").build()}pP.default=TKe;hue.exports=pP.default});var yue=E((fP,mue)=>{"use strict";Object.defineProperty(fP,"__esModule",{value:!0});var lF=(Zr(),ar(li)),xKe=(0,lF.__importDefault)(vs()),EKe=(0,lF.__importDefault)(oF()),wKe=(0,lF.__importDefault)(sF());function AKe(t){var e=t.use(xKe.default),r=e.Type.def;t.use(EKe.default),t.use(wKe.default),r("V8IntrinsicIdentifier").bases("Expression").build("name").field("name",String),r("TopicReference").bases("Expression").build()}fP.default=AKe;mue.exports=fP.default});var bue=E((hP,gue)=>{"use strict";Object.defineProperty(hP,"__esModule",{value:!0});var dP=(Zr(),ar(li)),PKe=(0,dP.__importDefault)(oF()),_Ke=(0,dP.__importDefault)(iF()),CKe=(0,dP.__importDefault)(vs()),DKe=(0,dP.__importDefault)(fo());function NKe(t){t.use(PKe.default),t.use(_Ke.default);var e=t.use(CKe.default),r=e.namedTypes,i=e.Type.def,s=e.Type.or,n=t.use(DKe.default).defaults,a=e.Type.from(function(c,p){return!!(r.StringLiteral&&r.StringLiteral.check(c,p)||r.Literal&&r.Literal.check(c,p)&&typeof c.value=="string")},"StringLiteral");i("TSType").bases("Node");var o=s(i("Identifier"),i("TSQualifiedName"));i("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",o),i("TSHasOptionalTypeParameterInstantiation").field("typeParameters",s(i("TSTypeParameterInstantiation"),null),n.null),i("TSHasOptionalTypeParameters").field("typeParameters",s(i("TSTypeParameterDeclaration"),null,void 0),n.null),i("TSHasOptionalTypeAnnotation").field("typeAnnotation",s(i("TSTypeAnnotation"),null),n.null),i("TSQualifiedName").bases("Node").build("left","right").field("left",o).field("right",o),i("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",i("Expression")).field("typeAnnotation",i("TSType")).field("extra",s({parenthesized:Boolean},null),n.null),i("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",i("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSIntrinsicKeyword","TSThisType"].forEach(function(c){i(c).bases("TSType").build()}),i("TSArrayType").bases("TSType").build("elementType").field("elementType",i("TSType")),i("TSLiteralType").bases("TSType").build("literal").field("literal",s(i("NumericLiteral"),i("StringLiteral"),i("BooleanLiteral"),i("TemplateLiteral"),i("UnaryExpression"))),i("TemplateLiteral").field("expressions",s([i("Expression")],[i("TSType")])),["TSUnionType","TSIntersectionType"].forEach(function(c){i(c).bases("TSType").build("types").field("types",[i("TSType")])}),i("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",i("TSType")).field("extendsType",i("TSType")).field("trueType",i("TSType")).field("falseType",i("TSType")),i("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",i("TSTypeParameter")),i("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType"));var l=[s(i("Identifier"),i("RestElement"),i("ArrayPattern"),i("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(c){i(c).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",l)}),i("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,n.false).field("async",Boolean,n.false).field("generator",Boolean,n.false).field("id",s(i("Identifier"),null),n.null).field("params",[i("Pattern")]).field("returnType",s(i("TSTypeAnnotation"),i("Noop"),null),n.null),i("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,n.false).field("generator",Boolean,n.false).field("params",[i("Pattern")]).field("abstract",Boolean,n.false).field("accessibility",s("public","private","protected",void 0),n.undefined).field("static",Boolean,n.false).field("computed",Boolean,n.false).field("optional",Boolean,n.false).field("key",s(i("Identifier"),i("StringLiteral"),i("NumericLiteral"),i("Expression"))).field("kind",s("get","set","method","constructor"),function(){return"method"}).field("access",s("public","private","protected",void 0),n.undefined).field("decorators",s([i("Decorator")],null),n.null).field("returnType",s(i("TSTypeAnnotation"),i("Noop"),null),n.null),i("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",s(Boolean,"+","-"),n.false).field("typeParameter",i("TSTypeParameter")).field("optional",s(Boolean,"+","-"),n.false).field("typeAnnotation",s(i("TSType"),null),n.null),i("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[s(i("TSType"),i("TSNamedTupleMember"))]),i("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",i("Identifier")).field("optional",Boolean,n.false).field("elementType",i("TSType")),i("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType")),i("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",i("TSType")),i("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",i("TSType")).field("indexType",i("TSType")),i("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",i("TSType")),i("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",s(i("TSType"),i("TSTypeAnnotation"))),i("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[i("Identifier")]).field("readonly",Boolean,n.false),i("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",i("Expression")).field("computed",Boolean,n.false).field("readonly",Boolean,n.false).field("optional",Boolean,n.false).field("initializer",s(i("Expression"),null),n.null),i("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",i("Expression")).field("computed",Boolean,n.false).field("optional",Boolean,n.false).field("parameters",l),i("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",s(i("Identifier"),i("TSThisType"))).field("typeAnnotation",s(i("TSTypeAnnotation"),null),n.null).field("asserts",Boolean,n.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(c){i(c).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",l)}),i("TSEnumMember").bases("Node").build("id","initializer").field("id",s(i("Identifier"),a)).field("initializer",s(i("Expression"),null),n.null),i("TSTypeQuery").bases("TSType").build("exprName").field("exprName",s(o,i("TSImportType")));var u=s(i("TSCallSignatureDeclaration"),i("TSConstructSignatureDeclaration"),i("TSIndexSignature"),i("TSMethodSignature"),i("TSPropertySignature"));i("TSTypeLiteral").bases("TSType").build("members").field("members",[u]),i("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",s(i("TSType"),void 0),n.undefined).field("default",s(i("TSType"),void 0),n.undefined),i("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",i("TSType")).field("expression",i("Expression")).field("extra",s({parenthesized:Boolean},null),n.null),i("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[i("TSTypeParameter")]),i("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[i("TSType")]),i("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",i("Identifier")).field("const",Boolean,n.false).field("declare",Boolean,n.false).field("members",[i("TSEnumMember")]).field("initializer",s(i("Expression"),null),n.null),i("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",i("Identifier")).field("declare",Boolean,n.false).field("typeAnnotation",i("TSType")),i("TSModuleBlock").bases("Node").build("body").field("body",[i("Statement")]),i("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",s(a,o)).field("declare",Boolean,n.false).field("global",Boolean,n.false).field("body",s(i("TSModuleBlock"),i("TSModuleDeclaration"),null),n.null),i("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",a).field("qualifier",s(o,void 0),n.undefined),i("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",i("Identifier")).field("isExport",Boolean,n.false).field("moduleReference",s(o,i("TSExternalModuleReference"))),i("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",a),i("TSExportAssignment").bases("Statement").build("expression").field("expression",i("Expression")),i("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",i("Identifier")),i("TSInterfaceBody").bases("Node").build("body").field("body",[u]),i("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",o),i("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",o).field("declare",Boolean,n.false).field("extends",s([i("TSExpressionWithTypeArguments")],null),n.null).field("body",i("TSInterfaceBody")),i("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",s("public","private","protected",void 0),n.undefined).field("readonly",Boolean,n.false).field("parameter",s(i("Identifier"),i("AssignmentPattern"))),i("ClassProperty").field("access",s("public","private","protected",void 0),n.undefined),i("ClassBody").field("body",[s(i("MethodDefinition"),i("VariableDeclarator"),i("ClassPropertyDefinition"),i("ClassProperty"),i("ClassPrivateProperty"),i("ClassMethod"),i("ClassPrivateMethod"),i("TSDeclareMethod"),u)])}hP.default=NKe;gue.exports=hP.default});var vue=E(TS=>{"use strict";Object.defineProperty(TS,"__esModule",{value:!0});TS.namedTypes=void 0;var IKe;(function(t){})(IKe=TS.namedTypes||(TS.namedTypes={}))});var _p=E(Nr=>{"use strict";Object.defineProperty(Nr,"__esModule",{value:!0});Nr.visit=Nr.use=Nr.Type=Nr.someField=Nr.PathVisitor=Nr.Path=Nr.NodePath=Nr.namedTypes=Nr.getSupertypeNames=Nr.getFieldValue=Nr.getFieldNames=Nr.getBuilderName=Nr.finalize=Nr.eachField=Nr.defineMethod=Nr.builtInTypes=Nr.builders=Nr.astNodesAreEquivalent=void 0;var Vm=(Zr(),ar(li)),OKe=(0,Vm.__importDefault)(Ole()),kKe=(0,Vm.__importDefault)(rg()),LKe=(0,Vm.__importDefault)(lue()),FKe=(0,Vm.__importDefault)(sF()),RKe=(0,Vm.__importDefault)(due()),BKe=(0,Vm.__importDefault)(yue()),MKe=(0,Vm.__importDefault)(bue()),Sue=vue();Object.defineProperty(Nr,"namedTypes",{enumerable:!0,get:function(){return Sue.namedTypes}});var kn=(0,OKe.default)([kKe.default,LKe.default,FKe.default,RKe.default,BKe.default,MKe.default]),jKe=kn.astNodesAreEquivalent,VKe=kn.builders,UKe=kn.builtInTypes,qKe=kn.defineMethod,$Ke=kn.eachField,KKe=kn.finalize,WKe=kn.getBuilderName,GKe=kn.getFieldNames,zKe=kn.getFieldValue,HKe=kn.getSupertypeNames,YKe=kn.namedTypes,JKe=kn.NodePath,XKe=kn.Path,QKe=kn.PathVisitor,ZKe=kn.someField,eWe=kn.Type,tWe=kn.use,rWe=kn.visit;Nr.astNodesAreEquivalent=jKe;Nr.builders=VKe;Nr.builtInTypes=UKe;Nr.defineMethod=qKe;Nr.eachField=$Ke;Nr.finalize=KKe;Nr.getBuilderName=WKe;Nr.getFieldNames=GKe;Nr.getFieldValue=zKe;Nr.getSupertypeNames=HKe;Nr.NodePath=JKe;Nr.Path=XKe;Nr.PathVisitor=QKe;Nr.someField=ZKe;Nr.Type=eWe;Nr.use=tWe;Nr.visit=rWe;Object.assign(Sue.namedTypes,YKe)});var xue=E(uF=>{var Tue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");uF.encode=function(t){if(0<=t&&t<Tue.length)return Tue[t];throw new TypeError("Must be between 0 and 63: "+t)};uF.decode=function(t){var e=65,r=90,i=97,s=122,n=48,a=57,o=43,l=47,u=26,c=52;return e<=t&&t<=r?t-e:i<=t&&t<=s?t-i+u:n<=t&&t<=a?t-n+c:t==o?62:t==l?63:-1}});var fF=E(pF=>{var Eue=xue(),cF=5,wue=1<<cF,Aue=wue-1,Pue=wue;function iWe(t){return t<0?(-t<<1)+1:(t<<1)+0}function sWe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}pF.encode=function(e){var r="",i,s=iWe(e);do i=s&Aue,s>>>=cF,s>0&&(i|=Pue),r+=Eue.encode(i);while(s>0);return r};pF.decode=function(e,r,i){var s=e.length,n=0,a=0,o,l;do{if(r>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=Eue.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));o=!!(l&Pue),l&=Aue,n=n+(l<<a),a+=cF}while(o);i.value=sWe(n),i.rest=r}});var ng=E(sa=>{function nWe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}sa.getArg=nWe;var _ue=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,aWe=/^data:.+\,.+$/;function xS(t){var e=t.match(_ue);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}sa.urlParse=xS;function ig(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}sa.urlGenerate=ig;function dF(t){var e=t,r=xS(t);if(r){if(!r.path)return t;e=r.path}for(var i=sa.isAbsolute(e),s=e.split(/\/+/),n,a=0,o=s.length-1;o>=0;o--)n=s[o],n==="."?s.splice(o,1):n===".."?a++:a>0&&(n===""?(s.splice(o+1,a),a=0):(s.splice(o,2),a--));return e=s.join("/"),e===""&&(e=i?"/":"."),r?(r.path=e,ig(r)):e}sa.normalize=dF;function Cue(t,e){t===""&&(t="."),e===""&&(e=".");var r=xS(e),i=xS(t);if(i&&(t=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),ig(r);if(r||e.match(aWe))return e;if(i&&!i.host&&!i.path)return i.host=e,ig(i);var s=e.charAt(0)==="/"?e:dF(t.replace(/\/+$/,"")+"/"+e);return i?(i.path=s,ig(i)):s}sa.join=Cue;sa.isAbsolute=function(t){return t.charAt(0)==="/"||_ue.test(t)};function oWe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var i=t.lastIndexOf("/");if(i<0||(t=t.slice(0,i),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}sa.relative=oWe;var Due=function(){var t=Object.create(null);return!("__proto__"in t)}();function Nue(t){return t}function lWe(t){return Iue(t)?"$"+t:t}sa.toSetString=Due?Nue:lWe;function uWe(t){return Iue(t)?t.slice(1):t}sa.fromSetString=Due?Nue:uWe;function Iue(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function cWe(t,e,r){var i=sg(t.source,e.source);return i!==0||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0||r)||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=t.generatedLine-e.generatedLine,i!==0)?i:sg(t.name,e.name)}sa.compareByOriginalPositions=cWe;function pWe(t,e,r){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0||r)||(i=sg(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:sg(t.name,e.name)}sa.compareByGeneratedPositionsDeflated=pWe;function sg(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function fWe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=sg(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:sg(t.name,e.name)}sa.compareByGeneratedPositionsInflated=fWe;function dWe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}sa.parseSourceMapInput=dWe;function hWe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var i=xS(r);if(!i)throw new Error("sourceMapURL could not be parsed");if(i.path){var s=i.path.lastIndexOf("/");s>=0&&(i.path=i.path.substring(0,s+1))}e=Cue(ig(i),e)}return dF(e)}sa.computeSourceURL=hWe});var yF=E(Oue=>{var hF=ng(),mF=Object.prototype.hasOwnProperty,Um=typeof Map<"u";function Cp(){this._array=[],this._set=Um?new Map:Object.create(null)}Cp.fromArray=function(e,r){for(var i=new Cp,s=0,n=e.length;s<n;s++)i.add(e[s],r);return i};Cp.prototype.size=function(){return Um?this._set.size:Object.getOwnPropertyNames(this._set).length};Cp.prototype.add=function(e,r){var i=Um?e:hF.toSetString(e),s=Um?this.has(e):mF.call(this._set,i),n=this._array.length;(!s||r)&&this._array.push(e),s||(Um?this._set.set(e,n):this._set[i]=n)};Cp.prototype.has=function(e){if(Um)return this._set.has(e);var r=hF.toSetString(e);return mF.call(this._set,r)};Cp.prototype.indexOf=function(e){if(Um){var r=this._set.get(e);if(r>=0)return r}else{var i=hF.toSetString(e);if(mF.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Cp.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Cp.prototype.toArray=function(){return this._array.slice()};Oue.ArraySet=Cp});var Fue=E(Lue=>{var kue=ng();function mWe(t,e){var r=t.generatedLine,i=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=s||kue.compareByGeneratedPositionsInflated(t,e)<=0}function mP(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}mP.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};mP.prototype.add=function(e){mWe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};mP.prototype.toArray=function(){return this._sorted||(this._array.sort(kue.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Lue.MappingList=mP});var gF=E(Rue=>{var ES=fF(),on=ng(),yP=yF().ArraySet,yWe=Fue().MappingList;function Tl(t){t||(t={}),this._file=on.getArg(t,"file",null),this._sourceRoot=on.getArg(t,"sourceRoot",null),this._skipValidation=on.getArg(t,"skipValidation",!1),this._sources=new yP,this._names=new yP,this._mappings=new yWe,this._sourcesContents=null}Tl.prototype._version=3;Tl.fromSourceMap=function(e){var r=e.sourceRoot,i=new Tl({file:e.file,sourceRoot:r});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,r!=null&&(n.source=on.relative(r,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),i.addMapping(n)}),e.sources.forEach(function(s){var n=s;r!==null&&(n=on.relative(r,s)),i._sources.has(n)||i._sources.add(n);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};Tl.prototype.addMapping=function(e){var r=on.getArg(e,"generated"),i=on.getArg(e,"original",null),s=on.getArg(e,"source",null),n=on.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,i,s,n),s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:i!=null&&i.line,originalColumn:i!=null&&i.column,source:s,name:n})};Tl.prototype.setSourceContent=function(e,r){var i=e;this._sourceRoot!=null&&(i=on.relative(this._sourceRoot,i)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[on.toSetString(i)]=r):this._sourcesContents&&(delete this._sourcesContents[on.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Tl.prototype.applySourceMap=function(e,r,i){var s=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var n=this._sourceRoot;n!=null&&(s=on.relative(n,s));var a=new yP,o=new yP;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,i!=null&&(l.source=on.join(i,l.source)),n!=null&&(l.source=on.relative(n,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var c=l.source;c!=null&&!a.has(c)&&a.add(c);var p=l.name;p!=null&&!o.has(p)&&o.add(p)},this),this._sources=a,this._names=o,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(i!=null&&(l=on.join(i,l)),n!=null&&(l=on.relative(n,l)),this.setSourceContent(l,u))},this)};Tl.prototype._validateMapping=function(e,r,i,s){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!i&&!s)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&i)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:i,original:r,name:s}))}};Tl.prototype._serializeMappings=function(){for(var e=0,r=1,i=0,s=0,n=0,a=0,o="",l,u,c,p,d=this._mappings.toArray(),f=0,h=d.length;f<h;f++){if(u=d[f],l="",u.generatedLine!==r)for(e=0;u.generatedLine!==r;)l+=";",r++;else if(f>0){if(!on.compareByGeneratedPositionsInflated(u,d[f-1]))continue;l+=","}l+=ES.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),l+=ES.encode(p-a),a=p,l+=ES.encode(u.originalLine-1-s),s=u.originalLine-1,l+=ES.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=ES.encode(c-n),n=c)),o+=l}return o};Tl.prototype._generateSourcesContent=function(e,r){return e.map(function(i){if(!this._sourcesContents)return null;r!=null&&(i=on.relative(r,i));var s=on.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Tl.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};Tl.prototype.toString=function(){return JSON.stringify(this.toJSON())};Rue.SourceMapGenerator=Tl});var Bue=E(qm=>{qm.GREATEST_LOWER_BOUND=1;qm.LEAST_UPPER_BOUND=2;function bF(t,e,r,i,s,n){var a=Math.floor((e-t)/2)+t,o=s(r,i[a],!0);return o===0?a:o>0?e-a>1?bF(a,e,r,i,s,n):n==qm.LEAST_UPPER_BOUND?e<i.length?e:-1:a:a-t>1?bF(t,a,r,i,s,n):n==qm.LEAST_UPPER_BOUND?a:t<0?-1:t}qm.search=function(e,r,i,s){if(r.length===0)return-1;var n=bF(-1,r.length,e,r,i,s||qm.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(r[n],r[n-1],!0)===0;)--n;return n}});var jue=E(Mue=>{function vF(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function gWe(t,e){return Math.round(t+Math.random()*(e-t))}function SF(t,e,r,i){if(r<i){var s=gWe(r,i),n=r-1;vF(t,s,i);for(var a=t[i],o=r;o<i;o++)e(t[o],a)<=0&&(n+=1,vF(t,n,o));vF(t,n+1,o);var l=n+1;SF(t,e,r,l-1),SF(t,e,l+1,i)}}Mue.quickSort=function(t,e){SF(t,e,0,t.length-1)}});var Uue=E(gP=>{var Tt=ng(),TF=Bue(),ag=yF().ArraySet,bWe=fF(),wS=jue().quickSort;function ts(t,e){var r=t;return typeof t=="string"&&(r=Tt.parseSourceMapInput(t)),r.sections!=null?new gu(r,e):new Hn(r,e)}ts.fromSourceMap=function(t,e){return Hn.fromSourceMap(t,e)};ts.prototype._version=3;ts.prototype.__generatedMappings=null;Object.defineProperty(ts.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});ts.prototype.__originalMappings=null;Object.defineProperty(ts.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});ts.prototype._charIsMappingSeparator=function(e,r){var i=e.charAt(r);return i===";"||i===","};ts.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};ts.GENERATED_ORDER=1;ts.ORIGINAL_ORDER=2;ts.GREATEST_LOWER_BOUND=1;ts.LEAST_UPPER_BOUND=2;ts.prototype.eachMapping=function(e,r,i){var s=r||null,n=i||ts.GENERATED_ORDER,a;switch(n){case ts.GENERATED_ORDER:a=this._generatedMappings;break;case ts.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;a.map(function(l){var u=l.source===null?null:this._sources.at(l.source);return u=Tt.computeSourceURL(o,u,this._sourceMapURL),{source:u,generatedLine:l.generatedLine,generatedColumn:l.generatedColumn,originalLine:l.originalLine,originalColumn:l.originalColumn,name:l.name===null?null:this._names.at(l.name)}},this).forEach(e,s)};ts.prototype.allGeneratedPositionsFor=function(e){var r=Tt.getArg(e,"line"),i={source:Tt.getArg(e,"source"),originalLine:r,originalColumn:Tt.getArg(e,"column",0)};if(i.source=this._findSourceIndex(i.source),i.source<0)return[];var s=[],n=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Tt.compareByOriginalPositions,TF.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)s.push({line:Tt.getArg(a,"generatedLine",null),column:Tt.getArg(a,"generatedColumn",null),lastColumn:Tt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:Tt.getArg(a,"generatedLine",null),column:Tt.getArg(a,"generatedColumn",null),lastColumn:Tt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};gP.SourceMapConsumer=ts;function Hn(t,e){var r=t;typeof t=="string"&&(r=Tt.parseSourceMapInput(t));var i=Tt.getArg(r,"version"),s=Tt.getArg(r,"sources"),n=Tt.getArg(r,"names",[]),a=Tt.getArg(r,"sourceRoot",null),o=Tt.getArg(r,"sourcesContent",null),l=Tt.getArg(r,"mappings"),u=Tt.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=Tt.normalize(a)),s=s.map(String).map(Tt.normalize).map(function(c){return a&&Tt.isAbsolute(a)&&Tt.isAbsolute(c)?Tt.relative(a,c):c}),this._names=ag.fromArray(n.map(String),!0),this._sources=ag.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return Tt.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=e,this.file=u}Hn.prototype=Object.create(ts.prototype);Hn.prototype.consumer=ts;Hn.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Tt.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};Hn.fromSourceMap=function(e,r){var i=Object.create(Hn.prototype),s=i._names=ag.fromArray(e._names.toArray(),!0),n=i._sources=ag.fromArray(e._sources.toArray(),!0);i.sourceRoot=e._sourceRoot,i.sourcesContent=e._generateSourcesContent(i._sources.toArray(),i.sourceRoot),i.file=e._file,i._sourceMapURL=r,i._absoluteSources=i._sources.toArray().map(function(f){return Tt.computeSourceURL(i.sourceRoot,f,r)});for(var a=e._mappings.toArray().slice(),o=i.__generatedMappings=[],l=i.__originalMappings=[],u=0,c=a.length;u<c;u++){var p=a[u],d=new Vue;d.generatedLine=p.generatedLine,d.generatedColumn=p.generatedColumn,p.source&&(d.source=n.indexOf(p.source),d.originalLine=p.originalLine,d.originalColumn=p.originalColumn,p.name&&(d.name=s.indexOf(p.name)),l.push(d)),o.push(d)}return wS(i.__originalMappings,Tt.compareByOriginalPositions),i};Hn.prototype._version=3;Object.defineProperty(Hn.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Vue(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}Hn.prototype._parseMappings=function(e,r){for(var i=1,s=0,n=0,a=0,o=0,l=0,u=e.length,c=0,p={},d={},f=[],h=[],m,g,b,T,x;c<u;)if(e.charAt(c)===";")i++,c++,s=0;else if(e.charAt(c)===",")c++;else{for(m=new Vue,m.generatedLine=i,T=c;T<u&&!this._charIsMappingSeparator(e,T);T++);if(g=e.slice(c,T),b=p[g],b)c+=g.length;else{for(b=[];c<T;)bWe.decode(e,c,d),x=d.value,c=d.rest,b.push(x);if(b.length===2)throw new Error("Found a source, but no line and column");if(b.length===3)throw new Error("Found a source and line, but no column");p[g]=b}m.generatedColumn=s+b[0],s=m.generatedColumn,b.length>1&&(m.source=o+b[1],o+=b[1],m.originalLine=n+b[2],n=m.originalLine,m.originalLine+=1,m.originalColumn=a+b[3],a=m.originalColumn,b.length>4&&(m.name=l+b[4],l+=b[4])),h.push(m),typeof m.originalLine=="number"&&f.push(m)}wS(h,Tt.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,wS(f,Tt.compareByOriginalPositions),this.__originalMappings=f};Hn.prototype._findMapping=function(e,r,i,s,n,a){if(e[i]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[i]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return TF.search(e,r,n,a)};Hn.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var i=this._generatedMappings[e+1];if(r.generatedLine===i.generatedLine){r.lastGeneratedColumn=i.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Hn.prototype.originalPositionFor=function(e){var r={generatedLine:Tt.getArg(e,"line"),generatedColumn:Tt.getArg(e,"column")},i=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Tt.compareByGeneratedPositionsDeflated,Tt.getArg(e,"bias",ts.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===r.generatedLine){var n=Tt.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=Tt.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=Tt.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:Tt.getArg(s,"originalLine",null),column:Tt.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};Hn.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Hn.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var i=this._findSourceIndex(e);if(i>=0)return this.sourcesContent[i];var s=e;this.sourceRoot!=null&&(s=Tt.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=Tt.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(r)return null;throw new Error('"'+s+'" is not in the SourceMap.')};Hn.prototype.generatedPositionFor=function(e){var r=Tt.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var i={source:r,originalLine:Tt.getArg(e,"line"),originalColumn:Tt.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Tt.compareByOriginalPositions,Tt.getArg(e,"bias",ts.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:Tt.getArg(n,"generatedLine",null),column:Tt.getArg(n,"generatedColumn",null),lastColumn:Tt.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};gP.BasicSourceMapConsumer=Hn;function gu(t,e){var r=t;typeof t=="string"&&(r=Tt.parseSourceMapInput(t));var i=Tt.getArg(r,"version"),s=Tt.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new ag,this._names=new ag;var n={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=Tt.getArg(a,"offset"),l=Tt.getArg(o,"line"),u=Tt.getArg(o,"column");if(l<n.line||l===n.line&&u<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new ts(Tt.getArg(a,"map"),e)}})}gu.prototype=Object.create(ts.prototype);gu.prototype.constructor=ts;gu.prototype._version=3;Object.defineProperty(gu.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});gu.prototype.originalPositionFor=function(e){var r={generatedLine:Tt.getArg(e,"line"),generatedColumn:Tt.getArg(e,"column")},i=TF.search(r,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[i];return s?s.consumer.originalPositionFor({line:r.generatedLine-(s.generatedOffset.generatedLine-1),column:r.generatedColumn-(s.generatedOffset.generatedLine===r.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};gu.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};gu.prototype.sourceContentFor=function(e,r){for(var i=0;i<this._sections.length;i++){var s=this._sections[i],n=s.consumer.sourceContentFor(e,!0);if(n)return n}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};gu.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var i=this._sections[r];if(i.consumer._findSourceIndex(Tt.getArg(e,"source"))!==-1){var s=i.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(i.generatedOffset.generatedLine-1),column:s.column+(i.generatedOffset.generatedLine===s.line?i.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};gu.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var i=0;i<this._sections.length;i++)for(var s=this._sections[i],n=s.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],l=s.consumer._sources.at(o.source);l=Tt.computeSourceURL(s.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;o.name&&(u=s.consumer._names.at(o.name),this._names.add(u),u=this._names.indexOf(u));var c={source:l,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:u};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}wS(this.__generatedMappings,Tt.compareByGeneratedPositionsDeflated),wS(this.__originalMappings,Tt.compareByOriginalPositions)};gP.IndexedSourceMapConsumer=gu});var $ue=E(que=>{var vWe=gF().SourceMapGenerator,bP=ng(),SWe=/(\r?\n)/,TWe=10,og="$$$isSourceNode$$$";function qo(t,e,r,i,s){this.children=[],this.sourceContents={},this.line=t==null?null:t,this.column=e==null?null:e,this.source=r==null?null:r,this.name=s==null?null:s,this[og]=!0,i!=null&&this.add(i)}qo.fromStringWithSourceMap=function(e,r,i){var s=new qo,n=e.split(SWe),a=0,o=function(){var d=h(),f=h()||"";return d+f;function h(){return a<n.length?n[a++]:void 0}},l=1,u=0,c=null;return r.eachMapping(function(d){if(c!==null)if(l<d.generatedLine)p(c,o()),l++,u=0;else{var f=n[a]||"",h=f.substr(0,d.generatedColumn-u);n[a]=f.substr(d.generatedColumn-u),u=d.generatedColumn,p(c,h),c=d;return}for(;l<d.generatedLine;)s.add(o()),l++;if(u<d.generatedColumn){var f=n[a]||"";s.add(f.substr(0,d.generatedColumn)),n[a]=f.substr(d.generatedColumn),u=d.generatedColumn}c=d},this),a<n.length&&(c&&p(c,o()),s.add(n.splice(a).join(""))),r.sources.forEach(function(d){var f=r.sourceContentFor(d);f!=null&&(i!=null&&(d=bP.join(i,d)),s.setSourceContent(d,f))}),s;function p(d,f){if(d===null||d.source===void 0)s.add(f);else{var h=i?bP.join(i,d.source):d.source;s.add(new qo(d.originalLine,d.originalColumn,h,f,d.name))}}};qo.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[og]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};qo.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[og]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};qo.prototype.walk=function(e){for(var r,i=0,s=this.children.length;i<s;i++)r=this.children[i],r[og]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};qo.prototype.join=function(e){var r,i,s=this.children.length;if(s>0){for(r=[],i=0;i<s-1;i++)r.push(this.children[i]),r.push(e);r.push(this.children[i]),this.children=r}return this};qo.prototype.replaceRight=function(e,r){var i=this.children[this.children.length-1];return i[og]?i.replaceRight(e,r):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,r):this.children.push("".replace(e,r)),this};qo.prototype.setSourceContent=function(e,r){this.sourceContents[bP.toSetString(e)]=r};qo.prototype.walkSourceContents=function(e){for(var r=0,i=this.children.length;r<i;r++)this.children[r][og]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,i=s.length;r<i;r++)e(bP.fromSetString(s[r]),this.sourceContents[s[r]])};qo.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};qo.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},i=new vWe(e),s=!1,n=null,a=null,o=null,l=null;return this.walk(function(u,c){r.code+=u,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||l!==c.name)&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),n=c.source,a=c.line,o=c.column,l=c.name,s=!0):s&&(i.addMapping({generated:{line:r.line,column:r.column}}),n=null,s=!1);for(var p=0,d=u.length;p<d;p++)u.charCodeAt(p)===TWe?(r.line++,r.column=0,p+1===d?(n=null,s=!1):s&&i.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(u,c){i.setSourceContent(u,c)}),{code:r.code,map:i}};que.SourceNode=qo});var xF=E(vP=>{vP.SourceMapGenerator=gF().SourceMapGenerator;vP.SourceMapConsumer=Uue().SourceMapConsumer;vP.SourceNode=$ue().SourceNode});var Dp=E(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs.isTrailingCommaEnabled=Fs.getParentExportDeclaration=Fs.isExportDeclaration=Fs.fixFaultyLocations=Fs.getTrueLoc=Fs.composeSourceMaps=Fs.copyPos=Fs.comparePos=Fs.getUnionOfKeys=Fs.getOption=void 0;var wF=(yu(),ar(cc)),AS=wF.__importDefault(require("assert")),xWe=wF.__importStar(_p()),SP=xWe.namedTypes,Wue=wF.__importDefault(xF()),Kue=Wue.default.SourceMapConsumer,EWe=Wue.default.SourceMapGenerator,Gue=Object.prototype.hasOwnProperty;function wWe(t,e,r){return t&&Gue.call(t,e)?t[e]:r}Fs.getOption=wWe;function AWe(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var r={},i=t.length,s=0;s<i;++s)for(var n=Object.keys(t[s]),a=n.length,o=0;o<a;++o)r[n[o]]=!0;return r}Fs.getUnionOfKeys=AWe;function pc(t,e){return t.line-e.line||t.column-e.column}Fs.comparePos=pc;function bd(t){return{line:t.line,column:t.column}}Fs.copyPos=bd;function PWe(t,e){if(t){if(!e)return t}else return e||null;var r=new Kue(t),i=new Kue(e),s=new EWe({file:e.file,sourceRoot:e.sourceRoot}),n={};return i.eachMapping(function(a){var o=r.originalPositionFor({line:a.originalLine,column:a.originalColumn}),l=o.source;if(l!==null){s.addMapping({source:l,original:bd(o),generated:{line:a.generatedLine,column:a.generatedColumn},name:a.name});var u=r.sourceContentFor(l);u&&!Gue.call(n,l)&&(n[l]=u,s.setSourceContent(l,u))}}),s.toJSON()}Fs.composeSourceMaps=PWe;function _We(t,e){if(!t.loc)return null;var r={start:t.loc.start,end:t.loc.end};function i(s){EF(r,s.loc)}return t.declaration&&t.declaration.decorators&&TP(t)&&t.declaration.decorators.forEach(i),pc(r.start,r.end)<0&&(r.start=bd(r.start),e.skipSpaces(r.start,!1,!0),pc(r.start,r.end)<0&&(r.end=bd(r.end),e.skipSpaces(r.end,!0,!0))),t.comments&&t.comments.forEach(i),r}Fs.getTrueLoc=_We;function EF(t,e){t&&e&&(pc(e.start,t.start)<0&&(t.start=e.start),pc(t.end,e.end)<0&&(t.end=e.end))}function CWe(t,e){var r=t.loc;if(r&&(r.start.line<1&&(r.start.line=1),r.end.line<1&&(r.end.line=1)),t.type==="File"&&(r.start=e.firstPos(),r.end=e.lastPos()),DWe(t,e),NWe(t,e),r&&t.decorators)t.decorators.forEach(function(a){EF(r,a.loc)});else if(t.declaration&&TP(t)){t.declaration.loc=null;var i=t.declaration.decorators;i&&i.forEach(function(a){EF(r,a.loc)})}else if(SP.MethodDefinition&&SP.MethodDefinition.check(t)||SP.Property.check(t)&&(t.method||t.shorthand))t.value.loc=null,SP.FunctionExpression.check(t.value)&&(t.value.id=null);else if(t.type==="ObjectTypeProperty"){var s=t.loc,n=s&&s.end;n&&(n=bd(n),e.prevPos(n)&&e.charAt(n)===","&&(n=e.skipSpaces(n,!0,!0))&&(s.end=n))}}Fs.fixFaultyLocations=CWe;function DWe(t,e){if(t.type!=="ForStatement")return;function r(i){for(var s=i&&i.loc,n=s&&s.start,a=s&&bd(s.end);n&&a&&pc(n,a)<0&&(e.prevPos(a),e.charAt(a)===";");)s.end.line=a.line,s.end.column=a.column}r(t.init),r(t.test),r(t.update)}function NWe(t,e){if(t.type==="TemplateLiteral"&&t.quasis.length!==0){if(t.loc){var r=bd(t.loc.start);AS.default.strictEqual(e.charAt(r),"`"),AS.default.ok(e.nextPos(r));var i=t.quasis[0];pc(i.loc.start,r)<0&&(i.loc.start=r);var s=bd(t.loc.end);AS.default.ok(e.prevPos(s)),AS.default.strictEqual(e.charAt(s),"`");var n=t.quasis[t.quasis.length-1];pc(s,n.loc.end)<0&&(n.loc.end=s)}t.expressions.forEach(function(a,o){var l=e.skipSpaces(a.loc.start,!0,!1);if(e.prevPos(l)&&e.charAt(l)==="{"&&e.prevPos(l)&&e.charAt(l)==="$"){var u=t.quasis[o];pc(l,u.loc.end)<0&&(u.loc.end=l)}var c=e.skipSpaces(a.loc.end,!1,!1);if(e.charAt(c)==="}"){AS.default.ok(e.nextPos(c));var p=t.quasis[o+1];pc(p.loc.start,c)<0&&(p.loc.start=c)}})}}function TP(t){if(t)switch(t.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}Fs.isExportDeclaration=TP;function IWe(t){var e=t.getParentNode();return t.getName()==="declaration"&&TP(e)?e:null}Fs.getParentExportDeclaration=IWe;function OWe(t,e){var r=t.trailingComma;return typeof r=="object"?!!r[e]:!!r}Fs.isTrailingCommaEnabled=OWe});var PF=E((PS,AF)=>{(function(e,r){typeof PS=="object"&&typeof AF=="object"?AF.exports=r():typeof define=="function"&&define.amd?define([],r):typeof PS=="object"?PS.esprima=r():e.esprima=r()})(PS,function(){return function(t){var e={};function r(i){if(e[i])return e[i].exports;var s=e[i]={exports:{},id:i,loaded:!1};return t[i].call(s.exports,s,s.exports,r),s.loaded=!0,s.exports}return r.m=t,r.c=e,r.p="",r(0)}([function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(1),s=r(3),n=r(8),a=r(15);function o(d,f,h){var m=null,g=function(K,F){h&&h(K,F),m&&m.visit(K,F)},b=typeof h=="function"?g:null,T=!1;if(f){T=typeof f.comment=="boolean"&&f.comment;var x=typeof f.attachComment=="boolean"&&f.attachComment;(T||x)&&(m=new i.CommentHandler,m.attach=x,f.comment=!0,b=g)}var v=!1;f&&typeof f.sourceType=="string"&&(v=f.sourceType==="module");var w;f&&typeof f.jsx=="boolean"&&f.jsx?w=new s.JSXParser(d,f,b):w=new n.Parser(d,f,b);var A=v?w.parseModule():w.parseScript(),C=A;return T&&m&&(C.comments=m.comments),w.config.tokens&&(C.tokens=w.tokens),w.config.tolerant&&(C.errors=w.errorHandler.errors),C}e.parse=o;function l(d,f,h){var m=f||{};return m.sourceType="module",o(d,m,h)}e.parseModule=l;function u(d,f,h){var m=f||{};return m.sourceType="script",o(d,m,h)}e.parseScript=u;function c(d,f,h){var m=new a.Tokenizer(d,f),g;g=[];try{for(;;){var b=m.getNextToken();if(!b)break;h&&(b=h(b)),g.push(b)}}catch(T){m.errorHandler.tolerate(T)}return m.errorHandler.tolerant&&(g.errors=m.errors()),g}e.tokenize=c;var p=r(2);e.Syntax=p.Syntax,e.version="4.0.1"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=function(){function n(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return n.prototype.insertInnerComments=function(a,o){if(a.type===i.Syntax.BlockStatement&&a.body.length===0){for(var l=[],u=this.leading.length-1;u>=0;--u){var c=this.leading[u];o.end.offset>=c.start&&(l.unshift(c.comment),this.leading.splice(u,1),this.trailing.splice(u,1))}l.length&&(a.innerComments=l)}},n.prototype.findTrailingComments=function(a){var o=[];if(this.trailing.length>0){for(var l=this.trailing.length-1;l>=0;--l){var u=this.trailing[l];u.start>=a.end.offset&&o.unshift(u.comment)}return this.trailing.length=0,o}var c=this.stack[this.stack.length-1];if(c&&c.node.trailingComments){var p=c.node.trailingComments[0];p&&p.range[0]>=a.end.offset&&(o=c.node.trailingComments,delete c.node.trailingComments)}return o},n.prototype.findLeadingComments=function(a){for(var o=[],l;this.stack.length>0;){var u=this.stack[this.stack.length-1];if(u&&u.start>=a.start.offset)l=u.node,this.stack.pop();else break}if(l){for(var c=l.leadingComments?l.leadingComments.length:0,p=c-1;p>=0;--p){var d=l.leadingComments[p];d.range[1]<=a.start.offset&&(o.unshift(d),l.leadingComments.splice(p,1))}return l.leadingComments&&l.leadingComments.length===0&&delete l.leadingComments,o}for(var p=this.leading.length-1;p>=0;--p){var u=this.leading[p];u.start<=a.start.offset&&(o.unshift(u.comment),this.leading.splice(p,1))}return o},n.prototype.visitNode=function(a,o){if(!(a.type===i.Syntax.Program&&a.body.length>0)){this.insertInnerComments(a,o);var l=this.findTrailingComments(o),u=this.findLeadingComments(o);u.length>0&&(a.leadingComments=u),l.length>0&&(a.trailingComments=l),this.stack.push({node:a,start:o.start.offset})}},n.prototype.visitComment=function(a,o){var l=a.type[0]==="L"?"Line":"Block",u={type:l,value:a.value};if(a.range&&(u.range=a.range),a.loc&&(u.loc=a.loc),this.comments.push(u),this.attach){var c={comment:{type:l,value:a.value,range:[o.start.offset,o.end.offset]},start:o.start.offset};a.loc&&(c.comment.loc=a.loc),a.type=l,this.leading.push(c),this.trailing.push(c)}},n.prototype.visit=function(a,o){a.type==="LineComment"?this.visitComment(a,o):a.type==="BlockComment"?this.visitComment(a,o):this.attach&&this.visitNode(a,o)},n}();e.CommentHandler=s},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Syntax={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DoWhileStatement:"DoWhileStatement",DebuggerStatement:"DebuggerStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForOfStatement:"ForOfStatement",ForInStatement:"ForInStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",Program:"Program",Property:"Property",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchCase:"SwitchCase",SwitchStatement:"SwitchStatement",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"}},function(t,e,r){"use strict";var i=this&&this.__extends||function(){var f=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,m){h.__proto__=m}||function(h,m){for(var g in m)m.hasOwnProperty(g)&&(h[g]=m[g])};return function(h,m){f(h,m);function g(){this.constructor=h}h.prototype=m===null?Object.create(m):(g.prototype=m.prototype,new g)}}();Object.defineProperty(e,"__esModule",{value:!0});var s=r(4),n=r(5),a=r(6),o=r(7),l=r(8),u=r(13),c=r(14);u.TokenName[100]="JSXIdentifier",u.TokenName[101]="JSXText";function p(f){var h;switch(f.type){case a.JSXSyntax.JSXIdentifier:var m=f;h=m.name;break;case a.JSXSyntax.JSXNamespacedName:var g=f;h=p(g.namespace)+":"+p(g.name);break;case a.JSXSyntax.JSXMemberExpression:var b=f;h=p(b.object)+"."+p(b.property);break;default:break}return h}var d=function(f){i(h,f);function h(m,g,b){return f.call(this,m,g,b)||this}return h.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():f.prototype.parsePrimaryExpression.call(this)},h.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},h.prototype.finishJSX=function(){this.nextToken()},h.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},h.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},h.prototype.scanXHTMLEntity=function(m){for(var g="&",b=!0,T=!1,x=!1,v=!1;!this.scanner.eof()&&b&&!T;){var w=this.scanner.source[this.scanner.index];if(w===m)break;if(T=w===";",g+=w,++this.scanner.index,!T)switch(g.length){case 2:x=w==="#";break;case 3:x&&(v=w==="x",b=v||s.Character.isDecimalDigit(w.charCodeAt(0)),x=x&&!v);break;default:b=b&&!(x&&!s.Character.isDecimalDigit(w.charCodeAt(0))),b=b&&!(v&&!s.Character.isHexDigit(w.charCodeAt(0)));break}}if(b&&T&&g.length>2){var A=g.substr(1,g.length-2);x&&A.length>1?g=String.fromCharCode(parseInt(A.substr(1),10)):v&&A.length>2?g=String.fromCharCode(parseInt("0"+A.substr(1),16)):!x&&!v&&c.XHTMLEntities[A]&&(g=c.XHTMLEntities[A])}return g},h.prototype.lexJSX=function(){var m=this.scanner.source.charCodeAt(this.scanner.index);if(m===60||m===62||m===47||m===58||m===61||m===123||m===125){var g=this.scanner.source[this.scanner.index++];return{type:7,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(m===34||m===39){for(var b=this.scanner.index,T=this.scanner.source[this.scanner.index++],x="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index++];if(v===T)break;v==="&"?x+=this.scanXHTMLEntity(T):x+=v}return{type:8,value:x,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(m===46){var w=this.scanner.source.charCodeAt(this.scanner.index+1),A=this.scanner.source.charCodeAt(this.scanner.index+2),g=w===46&&A===46?"...":".",b=this.scanner.index;return this.scanner.index+=g.length,{type:7,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}if(m===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(s.Character.isIdentifierStart(m)&&m!==92){var b=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var v=this.scanner.source.charCodeAt(this.scanner.index);if(s.Character.isIdentifierPart(v)&&v!==92)++this.scanner.index;else if(v===45)++this.scanner.index;else break}var C=this.scanner.source.slice(b,this.scanner.index);return{type:100,value:C,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index}}return this.scanner.lex()},h.prototype.nextJSXToken=function(){this.collectComments(),this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;var m=this.lexJSX();return this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.config.tokens&&this.tokens.push(this.convertToken(m)),m},h.prototype.nextJSXText=function(){this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart;for(var m=this.scanner.index,g="";!this.scanner.eof();){var b=this.scanner.source[this.scanner.index];if(b==="{"||b==="<")break;++this.scanner.index,g+=b,s.Character.isLineTerminator(b.charCodeAt(0))&&(++this.scanner.lineNumber,b==="\r"&&this.scanner.source[this.scanner.index]===`
|
|
118
|
+
`&&++this.scanner.index,this.scanner.lineStart=this.scanner.index)}this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart;var T={type:101,value:g,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:m,end:this.scanner.index};return g.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(T)),T},h.prototype.peekJSXToken=function(){var m=this.scanner.saveState();this.scanner.scanComments();var g=this.lexJSX();return this.scanner.restoreState(m),g},h.prototype.expectJSX=function(m){var g=this.nextJSXToken();(g.type!==7||g.value!==m)&&this.throwUnexpectedToken(g)},h.prototype.matchJSX=function(m){var g=this.peekJSXToken();return g.type===7&&g.value===m},h.prototype.parseJSXIdentifier=function(){var m=this.createJSXNode(),g=this.nextJSXToken();return g.type!==100&&this.throwUnexpectedToken(g),this.finalize(m,new n.JSXIdentifier(g.value))},h.prototype.parseJSXElementName=function(){var m=this.createJSXNode(),g=this.parseJSXIdentifier();if(this.matchJSX(":")){var b=g;this.expectJSX(":");var T=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(b,T))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var x=g;this.expectJSX(".");var v=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXMemberExpression(x,v))}return g},h.prototype.parseJSXAttributeName=function(){var m=this.createJSXNode(),g,b=this.parseJSXIdentifier();if(this.matchJSX(":")){var T=b;this.expectJSX(":");var x=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(T,x))}else g=b;return g},h.prototype.parseJSXStringLiteralAttribute=function(){var m=this.createJSXNode(),g=this.nextJSXToken();g.type!==8&&this.throwUnexpectedToken(g);var b=this.getTokenRaw(g);return this.finalize(m,new o.Literal(g.value,b))},h.prototype.parseJSXExpressionAttribute=function(){var m=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var g=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(m,new n.JSXExpressionContainer(g))},h.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},h.prototype.parseJSXNameValueAttribute=function(){var m=this.createJSXNode(),g=this.parseJSXAttributeName(),b=null;return this.matchJSX("=")&&(this.expectJSX("="),b=this.parseJSXAttributeValue()),this.finalize(m,new n.JSXAttribute(g,b))},h.prototype.parseJSXSpreadAttribute=function(){var m=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var g=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(m,new n.JSXSpreadAttribute(g))},h.prototype.parseJSXAttributes=function(){for(var m=[];!this.matchJSX("/")&&!this.matchJSX(">");){var g=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();m.push(g)}return m},h.prototype.parseJSXOpeningElement=function(){var m=this.createJSXNode();this.expectJSX("<");var g=this.parseJSXElementName(),b=this.parseJSXAttributes(),T=this.matchJSX("/");return T&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(g,T,b))},h.prototype.parseJSXBoundaryElement=function(){var m=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var g=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(m,new n.JSXClosingElement(g))}var b=this.parseJSXElementName(),T=this.parseJSXAttributes(),x=this.matchJSX("/");return x&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(b,x,T))},h.prototype.parseJSXEmptyExpression=function(){var m=this.createJSXChildNode();return this.collectComments(),this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.finalize(m,new n.JSXEmptyExpression)},h.prototype.parseJSXExpressionContainer=function(){var m=this.createJSXNode();this.expectJSX("{");var g;return this.matchJSX("}")?(g=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),g=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(m,new n.JSXExpressionContainer(g))},h.prototype.parseJSXChildren=function(){for(var m=[];!this.scanner.eof();){var g=this.createJSXChildNode(),b=this.nextJSXText();if(b.start<b.end){var T=this.getTokenRaw(b),x=this.finalize(g,new n.JSXText(b.value,T));m.push(x)}if(this.scanner.source[this.scanner.index]==="{"){var v=this.parseJSXExpressionContainer();m.push(v)}else break}return m},h.prototype.parseComplexJSXElement=function(m){for(var g=[];!this.scanner.eof();){m.children=m.children.concat(this.parseJSXChildren());var b=this.createJSXChildNode(),T=this.parseJSXBoundaryElement();if(T.type===a.JSXSyntax.JSXOpeningElement){var x=T;if(x.selfClosing){var v=this.finalize(b,new n.JSXElement(x,[],null));m.children.push(v)}else g.push(m),m={node:b,opening:x,closing:null,children:[]}}if(T.type===a.JSXSyntax.JSXClosingElement){m.closing=T;var w=p(m.opening.name),A=p(m.closing.name);if(w!==A&&this.tolerateError("Expected corresponding JSX closing tag for %0",w),g.length>0){var v=this.finalize(m.node,new n.JSXElement(m.opening,m.children,m.closing));m=g[g.length-1],m.children.push(v),g.pop()}else break}}return m},h.prototype.parseJSXElement=function(){var m=this.createJSXNode(),g=this.parseJSXOpeningElement(),b=[],T=null;if(!g.selfClosing){var x=this.parseComplexJSXElement({node:m,opening:g,closing:T,children:b});b=x.children,T=x.closing}return this.finalize(m,new n.JSXElement(g,b,T))},h.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var m=this.parseJSXElement();return this.finishJSX(),m},h.prototype.isStartOfExpression=function(){return f.prototype.isStartOfExpression.call(this)||this.match("<")},h}(l.Parser);e.JSXParser=d},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\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\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\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFC-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AD\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};e.Character={fromCodePoint:function(i){return i<65536?String.fromCharCode(i):String.fromCharCode(55296+(i-65536>>10))+String.fromCharCode(56320+(i-65536&1023))},isWhiteSpace:function(i){return i===32||i===9||i===11||i===12||i===160||i>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(i)>=0},isLineTerminator:function(i){return i===10||i===13||i===8232||i===8233},isIdentifierStart:function(i){return i===36||i===95||i>=65&&i<=90||i>=97&&i<=122||i===92||i>=128&&r.NonAsciiIdentifierStart.test(e.Character.fromCodePoint(i))},isIdentifierPart:function(i){return i===36||i===95||i>=65&&i<=90||i>=97&&i<=122||i>=48&&i<=57||i===92||i>=128&&r.NonAsciiIdentifierPart.test(e.Character.fromCodePoint(i))},isDecimalDigit:function(i){return i>=48&&i<=57},isHexDigit:function(i){return i>=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102},isOctalDigit:function(i){return i>=48&&i<=55}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(6),s=function(){function m(g){this.type=i.JSXSyntax.JSXClosingElement,this.name=g}return m}();e.JSXClosingElement=s;var n=function(){function m(g,b,T){this.type=i.JSXSyntax.JSXElement,this.openingElement=g,this.children=b,this.closingElement=T}return m}();e.JSXElement=n;var a=function(){function m(){this.type=i.JSXSyntax.JSXEmptyExpression}return m}();e.JSXEmptyExpression=a;var o=function(){function m(g){this.type=i.JSXSyntax.JSXExpressionContainer,this.expression=g}return m}();e.JSXExpressionContainer=o;var l=function(){function m(g){this.type=i.JSXSyntax.JSXIdentifier,this.name=g}return m}();e.JSXIdentifier=l;var u=function(){function m(g,b){this.type=i.JSXSyntax.JSXMemberExpression,this.object=g,this.property=b}return m}();e.JSXMemberExpression=u;var c=function(){function m(g,b){this.type=i.JSXSyntax.JSXAttribute,this.name=g,this.value=b}return m}();e.JSXAttribute=c;var p=function(){function m(g,b){this.type=i.JSXSyntax.JSXNamespacedName,this.namespace=g,this.name=b}return m}();e.JSXNamespacedName=p;var d=function(){function m(g,b,T){this.type=i.JSXSyntax.JSXOpeningElement,this.name=g,this.selfClosing=b,this.attributes=T}return m}();e.JSXOpeningElement=d;var f=function(){function m(g){this.type=i.JSXSyntax.JSXSpreadAttribute,this.argument=g}return m}();e.JSXSpreadAttribute=f;var h=function(){function m(g,b){this.type=i.JSXSyntax.JSXText,this.value=g,this.raw=b}return m}();e.JSXText=h},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(2),s=function(){function ge(oe){this.type=i.Syntax.ArrayExpression,this.elements=oe}return ge}();e.ArrayExpression=s;var n=function(){function ge(oe){this.type=i.Syntax.ArrayPattern,this.elements=oe}return ge}();e.ArrayPattern=n;var a=function(){function ge(oe,We,ur){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=We,this.generator=!1,this.expression=ur,this.async=!1}return ge}();e.ArrowFunctionExpression=a;var o=function(){function ge(oe,We,ur){this.type=i.Syntax.AssignmentExpression,this.operator=oe,this.left=We,this.right=ur}return ge}();e.AssignmentExpression=o;var l=function(){function ge(oe,We){this.type=i.Syntax.AssignmentPattern,this.left=oe,this.right=We}return ge}();e.AssignmentPattern=l;var u=function(){function ge(oe,We,ur){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=We,this.generator=!1,this.expression=ur,this.async=!0}return ge}();e.AsyncArrowFunctionExpression=u;var c=function(){function ge(oe,We,ur){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=We,this.body=ur,this.generator=!1,this.expression=!1,this.async=!0}return ge}();e.AsyncFunctionDeclaration=c;var p=function(){function ge(oe,We,ur){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=We,this.body=ur,this.generator=!1,this.expression=!1,this.async=!0}return ge}();e.AsyncFunctionExpression=p;var d=function(){function ge(oe){this.type=i.Syntax.AwaitExpression,this.argument=oe}return ge}();e.AwaitExpression=d;var f=function(){function ge(oe,We,ur){var Cn=oe==="||"||oe==="&&";this.type=Cn?i.Syntax.LogicalExpression:i.Syntax.BinaryExpression,this.operator=oe,this.left=We,this.right=ur}return ge}();e.BinaryExpression=f;var h=function(){function ge(oe){this.type=i.Syntax.BlockStatement,this.body=oe}return ge}();e.BlockStatement=h;var m=function(){function ge(oe){this.type=i.Syntax.BreakStatement,this.label=oe}return ge}();e.BreakStatement=m;var g=function(){function ge(oe,We){this.type=i.Syntax.CallExpression,this.callee=oe,this.arguments=We}return ge}();e.CallExpression=g;var b=function(){function ge(oe,We){this.type=i.Syntax.CatchClause,this.param=oe,this.body=We}return ge}();e.CatchClause=b;var T=function(){function ge(oe){this.type=i.Syntax.ClassBody,this.body=oe}return ge}();e.ClassBody=T;var x=function(){function ge(oe,We,ur){this.type=i.Syntax.ClassDeclaration,this.id=oe,this.superClass=We,this.body=ur}return ge}();e.ClassDeclaration=x;var v=function(){function ge(oe,We,ur){this.type=i.Syntax.ClassExpression,this.id=oe,this.superClass=We,this.body=ur}return ge}();e.ClassExpression=v;var w=function(){function ge(oe,We){this.type=i.Syntax.MemberExpression,this.computed=!0,this.object=oe,this.property=We}return ge}();e.ComputedMemberExpression=w;var A=function(){function ge(oe,We,ur){this.type=i.Syntax.ConditionalExpression,this.test=oe,this.consequent=We,this.alternate=ur}return ge}();e.ConditionalExpression=A;var C=function(){function ge(oe){this.type=i.Syntax.ContinueStatement,this.label=oe}return ge}();e.ContinueStatement=C;var K=function(){function ge(){this.type=i.Syntax.DebuggerStatement}return ge}();e.DebuggerStatement=K;var F=function(){function ge(oe,We){this.type=i.Syntax.ExpressionStatement,this.expression=oe,this.directive=We}return ge}();e.Directive=F;var Q=function(){function ge(oe,We){this.type=i.Syntax.DoWhileStatement,this.body=oe,this.test=We}return ge}();e.DoWhileStatement=Q;var X=function(){function ge(){this.type=i.Syntax.EmptyStatement}return ge}();e.EmptyStatement=X;var Te=function(){function ge(oe){this.type=i.Syntax.ExportAllDeclaration,this.source=oe}return ge}();e.ExportAllDeclaration=Te;var qe=function(){function ge(oe){this.type=i.Syntax.ExportDefaultDeclaration,this.declaration=oe}return ge}();e.ExportDefaultDeclaration=qe;var Ke=function(){function ge(oe,We,ur){this.type=i.Syntax.ExportNamedDeclaration,this.declaration=oe,this.specifiers=We,this.source=ur}return ge}();e.ExportNamedDeclaration=Ke;var ae=function(){function ge(oe,We){this.type=i.Syntax.ExportSpecifier,this.exported=We,this.local=oe}return ge}();e.ExportSpecifier=ae;var ne=function(){function ge(oe){this.type=i.Syntax.ExpressionStatement,this.expression=oe}return ge}();e.ExpressionStatement=ne;var Ce=function(){function ge(oe,We,ur){this.type=i.Syntax.ForInStatement,this.left=oe,this.right=We,this.body=ur,this.each=!1}return ge}();e.ForInStatement=Ce;var Ue=function(){function ge(oe,We,ur){this.type=i.Syntax.ForOfStatement,this.left=oe,this.right=We,this.body=ur}return ge}();e.ForOfStatement=Ue;var Dt=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.ForStatement,this.init=oe,this.test=We,this.update=ur,this.body=Cn}return ge}();e.ForStatement=Dt;var ce=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=We,this.body=ur,this.generator=Cn,this.expression=!1,this.async=!1}return ge}();e.FunctionDeclaration=ce;var Re=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=We,this.body=ur,this.generator=Cn,this.expression=!1,this.async=!1}return ge}();e.FunctionExpression=Re;var Z=function(){function ge(oe){this.type=i.Syntax.Identifier,this.name=oe}return ge}();e.Identifier=Z;var Ee=function(){function ge(oe,We,ur){this.type=i.Syntax.IfStatement,this.test=oe,this.consequent=We,this.alternate=ur}return ge}();e.IfStatement=Ee;var xe=function(){function ge(oe,We){this.type=i.Syntax.ImportDeclaration,this.specifiers=oe,this.source=We}return ge}();e.ImportDeclaration=xe;var we=function(){function ge(oe){this.type=i.Syntax.ImportDefaultSpecifier,this.local=oe}return ge}();e.ImportDefaultSpecifier=we;var Be=function(){function ge(oe){this.type=i.Syntax.ImportNamespaceSpecifier,this.local=oe}return ge}();e.ImportNamespaceSpecifier=Be;var me=function(){function ge(oe,We){this.type=i.Syntax.ImportSpecifier,this.local=oe,this.imported=We}return ge}();e.ImportSpecifier=me;var pe=function(){function ge(oe,We){this.type=i.Syntax.LabeledStatement,this.label=oe,this.body=We}return ge}();e.LabeledStatement=pe;var le=function(){function ge(oe,We){this.type=i.Syntax.Literal,this.value=oe,this.raw=We}return ge}();e.Literal=le;var Fe=function(){function ge(oe,We){this.type=i.Syntax.MetaProperty,this.meta=oe,this.property=We}return ge}();e.MetaProperty=Fe;var ve=function(){function ge(oe,We,ur,Cn,il){this.type=i.Syntax.MethodDefinition,this.key=oe,this.computed=We,this.value=ur,this.kind=Cn,this.static=il}return ge}();e.MethodDefinition=ve;var _e=function(){function ge(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="module"}return ge}();e.Module=_e;var Ze=function(){function ge(oe,We){this.type=i.Syntax.NewExpression,this.callee=oe,this.arguments=We}return ge}();e.NewExpression=Ze;var Ct=function(){function ge(oe){this.type=i.Syntax.ObjectExpression,this.properties=oe}return ge}();e.ObjectExpression=Ct;var ht=function(){function ge(oe){this.type=i.Syntax.ObjectPattern,this.properties=oe}return ge}();e.ObjectPattern=ht;var nr=function(){function ge(oe,We,ur,Cn,il,dI){this.type=i.Syntax.Property,this.key=We,this.computed=ur,this.value=Cn,this.kind=oe,this.method=il,this.shorthand=dI}return ge}();e.Property=nr;var Mr=function(){function ge(oe,We,ur,Cn){this.type=i.Syntax.Literal,this.value=oe,this.raw=We,this.regex={pattern:ur,flags:Cn}}return ge}();e.RegexLiteral=Mr;var jr=function(){function ge(oe){this.type=i.Syntax.RestElement,this.argument=oe}return ge}();e.RestElement=jr;var Si=function(){function ge(oe){this.type=i.Syntax.ReturnStatement,this.argument=oe}return ge}();e.ReturnStatement=Si;var Ps=function(){function ge(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="script"}return ge}();e.Script=Ps;var qs=function(){function ge(oe){this.type=i.Syntax.SequenceExpression,this.expressions=oe}return ge}();e.SequenceExpression=qs;var $n=function(){function ge(oe){this.type=i.Syntax.SpreadElement,this.argument=oe}return ge}();e.SpreadElement=$n;var br=function(){function ge(oe,We){this.type=i.Syntax.MemberExpression,this.computed=!1,this.object=oe,this.property=We}return ge}();e.StaticMemberExpression=br;var _s=function(){function ge(){this.type=i.Syntax.Super}return ge}();e.Super=_s;var Cs=function(){function ge(oe,We){this.type=i.Syntax.SwitchCase,this.test=oe,this.consequent=We}return ge}();e.SwitchCase=Cs;var im=function(){function ge(oe,We){this.type=i.Syntax.SwitchStatement,this.discriminant=oe,this.cases=We}return ge}();e.SwitchStatement=im;var Zl=function(){function ge(oe,We){this.type=i.Syntax.TaggedTemplateExpression,this.tag=oe,this.quasi=We}return ge}();e.TaggedTemplateExpression=Zl;var Lt=function(){function ge(oe,We){this.type=i.Syntax.TemplateElement,this.value=oe,this.tail=We}return ge}();e.TemplateElement=Lt;var Zn=function(){function ge(oe,We){this.type=i.Syntax.TemplateLiteral,this.quasis=oe,this.expressions=We}return ge}();e.TemplateLiteral=Zn;var Kt=function(){function ge(){this.type=i.Syntax.ThisExpression}return ge}();e.ThisExpression=Kt;var kr=function(){function ge(oe){this.type=i.Syntax.ThrowStatement,this.argument=oe}return ge}();e.ThrowStatement=kr;var $s=function(){function ge(oe,We,ur){this.type=i.Syntax.TryStatement,this.block=oe,this.handler=We,this.finalizer=ur}return ge}();e.TryStatement=$s;var _n=function(){function ge(oe,We){this.type=i.Syntax.UnaryExpression,this.operator=oe,this.argument=We,this.prefix=!0}return ge}();e.UnaryExpression=_n;var Hf=function(){function ge(oe,We,ur){this.type=i.Syntax.UpdateExpression,this.operator=oe,this.argument=We,this.prefix=ur}return ge}();e.UpdateExpression=Hf;var fI=function(){function ge(oe,We){this.type=i.Syntax.VariableDeclaration,this.declarations=oe,this.kind=We}return ge}();e.VariableDeclaration=fI;var Yy=function(){function ge(oe,We){this.type=i.Syntax.VariableDeclarator,this.id=oe,this.init=We}return ge}();e.VariableDeclarator=Yy;var Lo=function(){function ge(oe,We){this.type=i.Syntax.WhileStatement,this.test=oe,this.body=We}return ge}();e.WhileStatement=Lo;var eo=function(){function ge(oe,We){this.type=i.Syntax.WithStatement,this.object=oe,this.body=We}return ge}();e.WithStatement=eo;var Mi=function(){function ge(oe,We){this.type=i.Syntax.YieldExpression,this.argument=oe,this.delegate=We}return ge}();e.YieldExpression=Mi},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(9),s=r(10),n=r(11),a=r(7),o=r(12),l=r(2),u=r(13),c="ArrowParameterPlaceHolder",p=function(){function d(f,h,m){h===void 0&&(h={}),this.config={range:typeof h.range=="boolean"&&h.range,loc:typeof h.loc=="boolean"&&h.loc,source:null,tokens:typeof h.tokens=="boolean"&&h.tokens,comment:typeof h.comment=="boolean"&&h.comment,tolerant:typeof h.tolerant=="boolean"&&h.tolerant},this.config.loc&&h.source&&h.source!==null&&(this.config.source=String(h.source)),this.delegate=m,this.errorHandler=new s.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new o.Scanner(f,this.errorHandler),this.scanner.trackComment=this.config.comment,this.operatorPrecedence={")":0,";":0,",":0,"=":0,"]":0,"||":1,"&&":2,"|":3,"^":4,"&":5,"==":6,"!=":6,"===":6,"!==":6,"<":7,">":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":11,"/":11,"%":11},this.lookahead={type:2,value:"",lineNumber:this.scanner.lineNumber,lineStart:0,start:0,end:0},this.hasLineTerminator=!1,this.context={isModule:!1,await:!1,allowIn:!0,allowStrictDirective:!0,allowYield:!0,firstCoverInitializedNameError:null,isAssignmentTarget:!1,isBindingElement:!1,inFunctionBody:!1,inIteration:!1,inSwitch:!1,labelSet:{},strict:!1},this.tokens=[],this.startMarker={index:0,line:this.scanner.lineNumber,column:0},this.lastMarker={index:0,line:this.scanner.lineNumber,column:0},this.nextToken(),this.lastMarker={index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}return d.prototype.throwError=function(f){for(var h=[],m=1;m<arguments.length;m++)h[m-1]=arguments[m];var g=Array.prototype.slice.call(arguments,1),b=f.replace(/%(\d)/g,function(w,A){return i.assert(A<g.length,"Message reference must be in range"),g[A]}),T=this.lastMarker.index,x=this.lastMarker.line,v=this.lastMarker.column+1;throw this.errorHandler.createError(T,x,v,b)},d.prototype.tolerateError=function(f){for(var h=[],m=1;m<arguments.length;m++)h[m-1]=arguments[m];var g=Array.prototype.slice.call(arguments,1),b=f.replace(/%(\d)/g,function(w,A){return i.assert(A<g.length,"Message reference must be in range"),g[A]}),T=this.lastMarker.index,x=this.scanner.lineNumber,v=this.lastMarker.column+1;this.errorHandler.tolerateError(T,x,v,b)},d.prototype.unexpectedTokenError=function(f,h){var m=h||n.Messages.UnexpectedToken,g;if(f?(h||(m=f.type===2?n.Messages.UnexpectedEOS:f.type===3?n.Messages.UnexpectedIdentifier:f.type===6?n.Messages.UnexpectedNumber:f.type===8?n.Messages.UnexpectedString:f.type===10?n.Messages.UnexpectedTemplate:n.Messages.UnexpectedToken,f.type===4&&(this.scanner.isFutureReservedWord(f.value)?m=n.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(f.value)&&(m=n.Messages.StrictReservedWord))),g=f.value):g="ILLEGAL",m=m.replace("%0",g),f&&typeof f.lineNumber=="number"){var b=f.start,T=f.lineNumber,x=this.lastMarker.index-this.lastMarker.column,v=f.start-x+1;return this.errorHandler.createError(b,T,v,m)}else{var b=this.lastMarker.index,T=this.lastMarker.line,v=this.lastMarker.column+1;return this.errorHandler.createError(b,T,v,m)}},d.prototype.throwUnexpectedToken=function(f,h){throw this.unexpectedTokenError(f,h)},d.prototype.tolerateUnexpectedToken=function(f,h){this.errorHandler.tolerate(this.unexpectedTokenError(f,h))},d.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var f=this.scanner.scanComments();if(f.length>0&&this.delegate)for(var h=0;h<f.length;++h){var m=f[h],g=void 0;g={type:m.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(m.slice[0],m.slice[1])},this.config.range&&(g.range=m.range),this.config.loc&&(g.loc=m.loc);var b={start:{line:m.loc.start.line,column:m.loc.start.column,offset:m.range[0]},end:{line:m.loc.end.line,column:m.loc.end.column,offset:m.range[1]}};this.delegate(g,b)}}},d.prototype.getTokenRaw=function(f){return this.scanner.source.slice(f.start,f.end)},d.prototype.convertToken=function(f){var h={type:u.TokenName[f.type],value:this.getTokenRaw(f)};if(this.config.range&&(h.range=[f.start,f.end]),this.config.loc&&(h.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),f.type===9){var m=f.pattern,g=f.flags;h.regex={pattern:m,flags:g}}return h},d.prototype.nextToken=function(){var f=this.lookahead;this.lastMarker.index=this.scanner.index,this.lastMarker.line=this.scanner.lineNumber,this.lastMarker.column=this.scanner.index-this.scanner.lineStart,this.collectComments(),this.scanner.index!==this.startMarker.index&&(this.startMarker.index=this.scanner.index,this.startMarker.line=this.scanner.lineNumber,this.startMarker.column=this.scanner.index-this.scanner.lineStart);var h=this.scanner.lex();return this.hasLineTerminator=f.lineNumber!==h.lineNumber,h&&this.context.strict&&h.type===3&&this.scanner.isStrictModeReservedWord(h.value)&&(h.type=4),this.lookahead=h,this.config.tokens&&h.type!==2&&this.tokens.push(this.convertToken(h)),f},d.prototype.nextRegexToken=function(){this.collectComments();var f=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(f))),this.lookahead=f,this.nextToken(),f},d.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},d.prototype.startNode=function(f,h){h===void 0&&(h=0);var m=f.start-f.lineStart,g=f.lineNumber;return m<0&&(m+=h,g--),{index:f.start,line:g,column:m}},d.prototype.finalize=function(f,h){if(this.config.range&&(h.range=[f.index,this.lastMarker.index]),this.config.loc&&(h.loc={start:{line:f.line,column:f.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(h.loc.source=this.config.source)),this.delegate){var m={start:{line:f.line,column:f.column,offset:f.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(h,m)}return h},d.prototype.expect=function(f){var h=this.nextToken();(h.type!==7||h.value!==f)&&this.throwUnexpectedToken(h)},d.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var f=this.lookahead;f.type===7&&f.value===","?this.nextToken():f.type===7&&f.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(f)):this.tolerateUnexpectedToken(f,n.Messages.UnexpectedToken)}else this.expect(",")},d.prototype.expectKeyword=function(f){var h=this.nextToken();(h.type!==4||h.value!==f)&&this.throwUnexpectedToken(h)},d.prototype.match=function(f){return this.lookahead.type===7&&this.lookahead.value===f},d.prototype.matchKeyword=function(f){return this.lookahead.type===4&&this.lookahead.value===f},d.prototype.matchContextualKeyword=function(f){return this.lookahead.type===3&&this.lookahead.value===f},d.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var f=this.lookahead.value;return f==="="||f==="*="||f==="**="||f==="/="||f==="%="||f==="+="||f==="-="||f==="<<="||f===">>="||f===">>>="||f==="&="||f==="^="||f==="|="},d.prototype.isolateCoverGrammar=function(f){var h=this.context.isBindingElement,m=this.context.isAssignmentTarget,g=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var b=f.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=h,this.context.isAssignmentTarget=m,this.context.firstCoverInitializedNameError=g,b},d.prototype.inheritCoverGrammar=function(f){var h=this.context.isBindingElement,m=this.context.isAssignmentTarget,g=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var b=f.call(this);return this.context.isBindingElement=this.context.isBindingElement&&h,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&m,this.context.firstCoverInitializedNameError=g||this.context.firstCoverInitializedNameError,b},d.prototype.consumeSemicolon=function(){this.match(";")?this.nextToken():this.hasLineTerminator||(this.lookahead.type!==2&&!this.match("}")&&this.throwUnexpectedToken(this.lookahead),this.lastMarker.index=this.startMarker.index,this.lastMarker.line=this.startMarker.line,this.lastMarker.column=this.startMarker.column)},d.prototype.parsePrimaryExpression=function(){var f=this.createNode(),h,m,g;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),h=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(f,new a.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,m=this.nextToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.Literal(m.value,g));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,m=this.nextToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.Literal(m.value==="true",g));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,m=this.nextToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.Literal(null,g));break;case 10:h=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,h=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":h=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":h=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,m=this.nextRegexToken(),g=this.getTokenRaw(m),h=this.finalize(f,new a.RegexLiteral(m.regex,g,m.pattern,m.flags));break;default:h=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?h=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?h=this.finalize(f,new a.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?h=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),h=this.finalize(f,new a.ThisExpression)):this.matchKeyword("class")?h=this.parseClassExpression():h=this.throwUnexpectedToken(this.nextToken()));break;default:h=this.throwUnexpectedToken(this.nextToken())}return h},d.prototype.parseSpreadElement=function(){var f=this.createNode();this.expect("...");var h=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(f,new a.SpreadElement(h))},d.prototype.parseArrayInitializer=function(){var f=this.createNode(),h=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),h.push(null);else if(this.match("...")){var m=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),h.push(m)}else h.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(f,new a.ArrayExpression(h))},d.prototype.parsePropertyMethod=function(f){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var h=this.context.strict,m=this.context.allowStrictDirective;this.context.allowStrictDirective=f.simple;var g=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&f.firstRestricted&&this.tolerateUnexpectedToken(f.firstRestricted,f.message),this.context.strict&&f.stricted&&this.tolerateUnexpectedToken(f.stricted,f.message),this.context.strict=h,this.context.allowStrictDirective=m,g},d.prototype.parsePropertyMethodFunction=function(){var f=!1,h=this.createNode(),m=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(h,new a.FunctionExpression(null,g.params,b,f))},d.prototype.parsePropertyMethodAsyncFunction=function(){var f=this.createNode(),h=this.context.allowYield,m=this.context.await;this.context.allowYield=!1,this.context.await=!0;var g=this.parseFormalParameters(),b=this.parsePropertyMethod(g);return this.context.allowYield=h,this.context.await=m,this.finalize(f,new a.AsyncFunctionExpression(null,g.params,b))},d.prototype.parseObjectPropertyKey=function(){var f=this.createNode(),h=this.nextToken(),m;switch(h.type){case 8:case 6:this.context.strict&&h.octal&&this.tolerateUnexpectedToken(h,n.Messages.StrictOctalLiteral);var g=this.getTokenRaw(h);m=this.finalize(f,new a.Literal(h.value,g));break;case 3:case 1:case 5:case 4:m=this.finalize(f,new a.Identifier(h.value));break;case 7:h.value==="["?(m=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):m=this.throwUnexpectedToken(h);break;default:m=this.throwUnexpectedToken(h)}return m},d.prototype.isPropertyKey=function(f,h){return f.type===l.Syntax.Identifier&&f.name===h||f.type===l.Syntax.Literal&&f.value===h},d.prototype.parseObjectProperty=function(f){var h=this.createNode(),m=this.lookahead,g,b=null,T=null,x=!1,v=!1,w=!1,A=!1;if(m.type===3){var C=m.value;this.nextToken(),x=this.match("["),A=!this.hasLineTerminator&&C==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),b=A?this.parseObjectPropertyKey():this.finalize(h,new a.Identifier(C))}else this.match("*")?this.nextToken():(x=this.match("["),b=this.parseObjectPropertyKey());var K=this.qualifiedPropertyName(this.lookahead);if(m.type===3&&!A&&m.value==="get"&&K)g="get",x=this.match("["),b=this.parseObjectPropertyKey(),this.context.allowYield=!1,T=this.parseGetterMethod();else if(m.type===3&&!A&&m.value==="set"&&K)g="set",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseSetterMethod();else if(m.type===7&&m.value==="*"&&K)g="init",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseGeneratorMethod(),v=!0;else if(b||this.throwUnexpectedToken(this.lookahead),g="init",this.match(":")&&!A)!x&&this.isPropertyKey(b,"__proto__")&&(f.value&&this.tolerateError(n.Messages.DuplicateProtoProperty),f.value=!0),this.nextToken(),T=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))T=A?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),v=!0;else if(m.type===3){var C=this.finalize(h,new a.Identifier(m.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),w=!0;var F=this.isolateCoverGrammar(this.parseAssignmentExpression);T=this.finalize(h,new a.AssignmentPattern(C,F))}else w=!0,T=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(h,new a.Property(g,b,x,T,v,w))},d.prototype.parseObjectInitializer=function(){var f=this.createNode();this.expect("{");for(var h=[],m={value:!1};!this.match("}");)h.push(this.parseObjectProperty(m)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(f,new a.ObjectExpression(h))},d.prototype.parseTemplateHead=function(){i.assert(this.lookahead.head,"Template literal must start with a template head");var f=this.createNode(),h=this.nextToken(),m=h.value,g=h.cooked;return this.finalize(f,new a.TemplateElement({raw:m,cooked:g},h.tail))},d.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var f=this.createNode(),h=this.nextToken(),m=h.value,g=h.cooked;return this.finalize(f,new a.TemplateElement({raw:m,cooked:g},h.tail))},d.prototype.parseTemplateLiteral=function(){var f=this.createNode(),h=[],m=[],g=this.parseTemplateHead();for(m.push(g);!g.tail;)h.push(this.parseExpression()),g=this.parseTemplateElement(),m.push(g);return this.finalize(f,new a.TemplateLiteral(m,h))},d.prototype.reinterpretExpressionAsPattern=function(f){switch(f.type){case l.Syntax.Identifier:case l.Syntax.MemberExpression:case l.Syntax.RestElement:case l.Syntax.AssignmentPattern:break;case l.Syntax.SpreadElement:f.type=l.Syntax.RestElement,this.reinterpretExpressionAsPattern(f.argument);break;case l.Syntax.ArrayExpression:f.type=l.Syntax.ArrayPattern;for(var h=0;h<f.elements.length;h++)f.elements[h]!==null&&this.reinterpretExpressionAsPattern(f.elements[h]);break;case l.Syntax.ObjectExpression:f.type=l.Syntax.ObjectPattern;for(var h=0;h<f.properties.length;h++)this.reinterpretExpressionAsPattern(f.properties[h].value);break;case l.Syntax.AssignmentExpression:f.type=l.Syntax.AssignmentPattern,delete f.operator,this.reinterpretExpressionAsPattern(f.left);break;default:break}},d.prototype.parseGroupExpression=function(){var f;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),f={type:c,params:[],async:!1};else{var h=this.lookahead,m=[];if(this.match("..."))f=this.parseRestElement(m),this.expect(")"),this.match("=>")||this.expect("=>"),f={type:c,params:[f],async:!1};else{var g=!1;if(this.context.isBindingElement=!0,f=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var b=[];for(this.context.isAssignmentTarget=!1,b.push(f);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var T=0;T<b.length;T++)this.reinterpretExpressionAsPattern(b[T]);g=!0,f={type:c,params:b,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),b.push(this.parseRestElement(m)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var T=0;T<b.length;T++)this.reinterpretExpressionAsPattern(b[T]);g=!0,f={type:c,params:b,async:!1}}else b.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(g)break}g||(f=this.finalize(this.startNode(h),new a.SequenceExpression(b)))}if(!g){if(this.expect(")"),this.match("=>")&&(f.type===l.Syntax.Identifier&&f.name==="yield"&&(g=!0,f={type:c,params:[f],async:!1}),!g)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),f.type===l.Syntax.SequenceExpression)for(var T=0;T<f.expressions.length;T++)this.reinterpretExpressionAsPattern(f.expressions[T]);else this.reinterpretExpressionAsPattern(f);var x=f.type===l.Syntax.SequenceExpression?f.expressions:[f];f={type:c,params:x,async:!1}}this.context.isBindingElement=!1}}}return f},d.prototype.parseArguments=function(){this.expect("(");var f=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(f.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),f},d.prototype.isIdentifierName=function(f){return f.type===3||f.type===4||f.type===1||f.type===5},d.prototype.parseIdentifierName=function(){var f=this.createNode(),h=this.nextToken();return this.isIdentifierName(h)||this.throwUnexpectedToken(h),this.finalize(f,new a.Identifier(h.value))},d.prototype.parseNewExpression=function(){var f=this.createNode(),h=this.parseIdentifierName();i.assert(h.name==="new","New expression must start with `new`");var m;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var g=this.parseIdentifierName();m=new a.MetaProperty(h,g)}else this.throwUnexpectedToken(this.lookahead);else{var b=this.isolateCoverGrammar(this.parseLeftHandSideExpression),T=this.match("(")?this.parseArguments():[];m=new a.NewExpression(b,T),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(f,m)},d.prototype.parseAsyncArgument=function(){var f=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,f},d.prototype.parseAsyncArguments=function(){this.expect("(");var f=[];if(!this.match(")"))for(;;){var h=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(f.push(h),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),f},d.prototype.parseLeftHandSideExpressionAllowCall=function(){var f=this.lookahead,h=this.matchContextualKeyword("async"),m=this.context.allowIn;this.context.allowIn=!0;var g;for(this.matchKeyword("super")&&this.context.inFunctionBody?(g=this.createNode(),this.nextToken(),g=this.finalize(g,new a.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):g=this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var b=this.parseIdentifierName();g=this.finalize(this.startNode(f),new a.StaticMemberExpression(g,b))}else if(this.match("(")){var T=h&&f.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var x=T?this.parseAsyncArguments():this.parseArguments();if(g=this.finalize(this.startNode(f),new a.CallExpression(g,x)),T&&this.match("=>")){for(var v=0;v<x.length;++v)this.reinterpretExpressionAsPattern(x[v]);g={type:c,params:x,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var b=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),g=this.finalize(this.startNode(f),new a.ComputedMemberExpression(g,b))}else if(this.lookahead.type===10&&this.lookahead.head){var w=this.parseTemplateLiteral();g=this.finalize(this.startNode(f),new a.TaggedTemplateExpression(g,w))}else break;return this.context.allowIn=m,g},d.prototype.parseSuper=function(){var f=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(f,new a.Super)},d.prototype.parseLeftHandSideExpression=function(){i.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var f=this.startNode(this.lookahead),h=this.matchKeyword("super")&&this.context.inFunctionBody?this.parseSuper():this.inheritCoverGrammar(this.matchKeyword("new")?this.parseNewExpression:this.parsePrimaryExpression);;)if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var m=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),h=this.finalize(f,new a.ComputedMemberExpression(h,m))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var m=this.parseIdentifierName();h=this.finalize(f,new a.StaticMemberExpression(h,m))}else if(this.lookahead.type===10&&this.lookahead.head){var g=this.parseTemplateLiteral();h=this.finalize(f,new a.TaggedTemplateExpression(h,g))}else break;return h},d.prototype.parseUpdateExpression=function(){var f,h=this.lookahead;if(this.match("++")||this.match("--")){var m=this.startNode(h),g=this.nextToken();f=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&f.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(f.name)&&this.tolerateError(n.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment);var b=!0;f=this.finalize(m,new a.UpdateExpression(g.value,f,b)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(f=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&f.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(f.name)&&this.tolerateError(n.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var T=this.nextToken().value,b=!1;f=this.finalize(this.startNode(h),new a.UpdateExpression(T,f,b))}return f},d.prototype.parseAwaitExpression=function(){var f=this.createNode();this.nextToken();var h=this.parseUnaryExpression();return this.finalize(f,new a.AwaitExpression(h))},d.prototype.parseUnaryExpression=function(){var f;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var h=this.startNode(this.lookahead),m=this.nextToken();f=this.inheritCoverGrammar(this.parseUnaryExpression),f=this.finalize(h,new a.UnaryExpression(m.value,f)),this.context.strict&&f.operator==="delete"&&f.argument.type===l.Syntax.Identifier&&this.tolerateError(n.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?f=this.parseAwaitExpression():f=this.parseUpdateExpression();return f},d.prototype.parseExponentiationExpression=function(){var f=this.lookahead,h=this.inheritCoverGrammar(this.parseUnaryExpression);if(h.type!==l.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var m=h,g=this.isolateCoverGrammar(this.parseExponentiationExpression);h=this.finalize(this.startNode(f),new a.BinaryExpression("**",m,g))}return h},d.prototype.binaryPrecedence=function(f){var h=f.value,m;return f.type===7?m=this.operatorPrecedence[h]||0:f.type===4?m=h==="instanceof"||this.context.allowIn&&h==="in"?7:0:m=0,m},d.prototype.parseBinaryExpression=function(){var f=this.lookahead,h=this.inheritCoverGrammar(this.parseExponentiationExpression),m=this.lookahead,g=this.binaryPrecedence(m);if(g>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var b=[f,this.lookahead],T=h,x=this.isolateCoverGrammar(this.parseExponentiationExpression),v=[T,m.value,x],w=[g];g=this.binaryPrecedence(this.lookahead),!(g<=0);){for(;v.length>2&&g<=w[w.length-1];){x=v.pop();var A=v.pop();w.pop(),T=v.pop(),b.pop();var C=this.startNode(b[b.length-1]);v.push(this.finalize(C,new a.BinaryExpression(A,T,x)))}v.push(this.nextToken().value),w.push(g),b.push(this.lookahead),v.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var K=v.length-1;h=v[K];for(var F=b.pop();K>1;){var Q=b.pop(),X=F&&F.lineStart,C=this.startNode(Q,X),A=v[K-1];h=this.finalize(C,new a.BinaryExpression(A,v[K-2],h)),K-=2,F=Q}}return h},d.prototype.parseConditionalExpression=function(){var f=this.lookahead,h=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var m=this.context.allowIn;this.context.allowIn=!0;var g=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=m,this.expect(":");var b=this.isolateCoverGrammar(this.parseAssignmentExpression);h=this.finalize(this.startNode(f),new a.ConditionalExpression(h,g,b)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return h},d.prototype.checkPatternParam=function(f,h){switch(h.type){case l.Syntax.Identifier:this.validateParam(f,h,h.name);break;case l.Syntax.RestElement:this.checkPatternParam(f,h.argument);break;case l.Syntax.AssignmentPattern:this.checkPatternParam(f,h.left);break;case l.Syntax.ArrayPattern:for(var m=0;m<h.elements.length;m++)h.elements[m]!==null&&this.checkPatternParam(f,h.elements[m]);break;case l.Syntax.ObjectPattern:for(var m=0;m<h.properties.length;m++)this.checkPatternParam(f,h.properties[m].value);break;default:break}f.simple=f.simple&&h instanceof a.Identifier},d.prototype.reinterpretAsCoverFormalsList=function(f){var h=[f],m,g=!1;switch(f.type){case l.Syntax.Identifier:break;case c:h=f.params,g=f.async;break;default:return null}m={simple:!0,paramSet:{}};for(var b=0;b<h.length;++b){var T=h[b];T.type===l.Syntax.AssignmentPattern?T.right.type===l.Syntax.YieldExpression&&(T.right.argument&&this.throwUnexpectedToken(this.lookahead),T.right.type=l.Syntax.Identifier,T.right.name="yield",delete T.right.argument,delete T.right.delegate):g&&T.type===l.Syntax.Identifier&&T.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(m,T),h[b]=T}if(this.context.strict||!this.context.allowYield)for(var b=0;b<h.length;++b){var T=h[b];T.type===l.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(m.message===n.Messages.StrictParamDupe){var x=this.context.strict?m.stricted:m.firstRestricted;this.throwUnexpectedToken(x,m.message)}return{simple:m.simple,params:h,stricted:m.stricted,firstRestricted:m.firstRestricted,message:m.message}},d.prototype.parseAssignmentExpression=function(){var f;if(!this.context.allowYield&&this.matchKeyword("yield"))f=this.parseYieldExpression();else{var h=this.lookahead,m=h;if(f=this.parseConditionalExpression(),m.type===3&&m.lineNumber===this.lookahead.lineNumber&&m.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var g=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(g),f={type:c,params:[g],async:!0}}if(f.type===c||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var b=f.async,T=this.reinterpretAsCoverFormalsList(f);if(T){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var x=this.context.strict,v=this.context.allowStrictDirective;this.context.allowStrictDirective=T.simple;var w=this.context.allowYield,A=this.context.await;this.context.allowYield=!0,this.context.await=b;var C=this.startNode(h);this.expect("=>");var K=void 0;if(this.match("{")){var F=this.context.allowIn;this.context.allowIn=!0,K=this.parseFunctionSourceElements(),this.context.allowIn=F}else K=this.isolateCoverGrammar(this.parseAssignmentExpression);var Q=K.type!==l.Syntax.BlockStatement;this.context.strict&&T.firstRestricted&&this.throwUnexpectedToken(T.firstRestricted,T.message),this.context.strict&&T.stricted&&this.tolerateUnexpectedToken(T.stricted,T.message),f=b?this.finalize(C,new a.AsyncArrowFunctionExpression(T.params,K,Q)):this.finalize(C,new a.ArrowFunctionExpression(T.params,K,Q)),this.context.strict=x,this.context.allowStrictDirective=v,this.context.allowYield=w,this.context.await=A}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(n.Messages.InvalidLHSInAssignment),this.context.strict&&f.type===l.Syntax.Identifier){var X=f;this.scanner.isRestrictedWord(X.name)&&this.tolerateUnexpectedToken(m,n.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(X.name)&&this.tolerateUnexpectedToken(m,n.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(f):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),m=this.nextToken();var Te=m.value,qe=this.isolateCoverGrammar(this.parseAssignmentExpression);f=this.finalize(this.startNode(h),new a.AssignmentExpression(Te,f,qe)),this.context.firstCoverInitializedNameError=null}}return f},d.prototype.parseExpression=function(){var f=this.lookahead,h=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var m=[];for(m.push(h);this.lookahead.type!==2&&this.match(",");)this.nextToken(),m.push(this.isolateCoverGrammar(this.parseAssignmentExpression));h=this.finalize(this.startNode(f),new a.SequenceExpression(m))}return h},d.prototype.parseStatementListItem=function(){var f;if(this.context.isAssignmentTarget=!0,this.context.isBindingElement=!0,this.lookahead.type===4)switch(this.lookahead.value){case"export":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalExportDeclaration),f=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,n.Messages.IllegalImportDeclaration),f=this.parseImportDeclaration();break;case"const":f=this.parseLexicalDeclaration({inFor:!1});break;case"function":f=this.parseFunctionDeclaration();break;case"class":f=this.parseClassDeclaration();break;case"let":f=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:f=this.parseStatement();break}else f=this.parseStatement();return f},d.prototype.parseBlock=function(){var f=this.createNode();this.expect("{");for(var h=[];!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.finalize(f,new a.BlockStatement(h))},d.prototype.parseLexicalBinding=function(f,h){var m=this.createNode(),g=[],b=this.parsePattern(g,f);this.context.strict&&b.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(n.Messages.StrictVarName);var T=null;return f==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),T=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!h.inFor&&b.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),T=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(m,new a.VariableDeclarator(b,T))},d.prototype.parseBindingList=function(f,h){for(var m=[this.parseLexicalBinding(f,h)];this.match(",");)this.nextToken(),m.push(this.parseLexicalBinding(f,h));return m},d.prototype.isLexicalDeclaration=function(){var f=this.scanner.saveState();this.scanner.scanComments();var h=this.scanner.lex();return this.scanner.restoreState(f),h.type===3||h.type===7&&h.value==="["||h.type===7&&h.value==="{"||h.type===4&&h.value==="let"||h.type===4&&h.value==="yield"},d.prototype.parseLexicalDeclaration=function(f){var h=this.createNode(),m=this.nextToken().value;i.assert(m==="let"||m==="const","Lexical declaration must be either let or const");var g=this.parseBindingList(m,f);return this.consumeSemicolon(),this.finalize(h,new a.VariableDeclaration(g,m))},d.prototype.parseBindingRestElement=function(f,h){var m=this.createNode();this.expect("...");var g=this.parsePattern(f,h);return this.finalize(m,new a.RestElement(g))},d.prototype.parseArrayPattern=function(f,h){var m=this.createNode();this.expect("[");for(var g=[];!this.match("]");)if(this.match(","))this.nextToken(),g.push(null);else{if(this.match("...")){g.push(this.parseBindingRestElement(f,h));break}else g.push(this.parsePatternWithDefault(f,h));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(m,new a.ArrayPattern(g))},d.prototype.parsePropertyPattern=function(f,h){var m=this.createNode(),g=!1,b=!1,T=!1,x,v;if(this.lookahead.type===3){var w=this.lookahead;x=this.parseVariableIdentifier();var A=this.finalize(m,new a.Identifier(w.value));if(this.match("=")){f.push(w),b=!0,this.nextToken();var C=this.parseAssignmentExpression();v=this.finalize(this.startNode(w),new a.AssignmentPattern(A,C))}else this.match(":")?(this.expect(":"),v=this.parsePatternWithDefault(f,h)):(f.push(w),b=!0,v=A)}else g=this.match("["),x=this.parseObjectPropertyKey(),this.expect(":"),v=this.parsePatternWithDefault(f,h);return this.finalize(m,new a.Property("init",x,g,v,T,b))},d.prototype.parseObjectPattern=function(f,h){var m=this.createNode(),g=[];for(this.expect("{");!this.match("}");)g.push(this.parsePropertyPattern(f,h)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(m,new a.ObjectPattern(g))},d.prototype.parsePattern=function(f,h){var m;return this.match("[")?m=this.parseArrayPattern(f,h):this.match("{")?m=this.parseObjectPattern(f,h):(this.matchKeyword("let")&&(h==="const"||h==="let")&&this.tolerateUnexpectedToken(this.lookahead,n.Messages.LetInLexicalBinding),f.push(this.lookahead),m=this.parseVariableIdentifier(h)),m},d.prototype.parsePatternWithDefault=function(f,h){var m=this.lookahead,g=this.parsePattern(f,h);if(this.match("=")){this.nextToken();var b=this.context.allowYield;this.context.allowYield=!0;var T=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=b,g=this.finalize(this.startNode(m),new a.AssignmentPattern(g,T))}return g},d.prototype.parseVariableIdentifier=function(f){var h=this.createNode(),m=this.nextToken();return m.type===4&&m.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(m,n.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(m):m.type!==3?this.context.strict&&m.type===4&&this.scanner.isStrictModeReservedWord(m.value)?this.tolerateUnexpectedToken(m,n.Messages.StrictReservedWord):(this.context.strict||m.value!=="let"||f!=="var")&&this.throwUnexpectedToken(m):(this.context.isModule||this.context.await)&&m.type===3&&m.value==="await"&&this.tolerateUnexpectedToken(m),this.finalize(h,new a.Identifier(m.value))},d.prototype.parseVariableDeclaration=function(f){var h=this.createNode(),m=[],g=this.parsePattern(m,"var");this.context.strict&&g.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(g.name)&&this.tolerateError(n.Messages.StrictVarName);var b=null;return this.match("=")?(this.nextToken(),b=this.isolateCoverGrammar(this.parseAssignmentExpression)):g.type!==l.Syntax.Identifier&&!f.inFor&&this.expect("="),this.finalize(h,new a.VariableDeclarator(g,b))},d.prototype.parseVariableDeclarationList=function(f){var h={inFor:f.inFor},m=[];for(m.push(this.parseVariableDeclaration(h));this.match(",");)this.nextToken(),m.push(this.parseVariableDeclaration(h));return m},d.prototype.parseVariableStatement=function(){var f=this.createNode();this.expectKeyword("var");var h=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(f,new a.VariableDeclaration(h,"var"))},d.prototype.parseEmptyStatement=function(){var f=this.createNode();return this.expect(";"),this.finalize(f,new a.EmptyStatement)},d.prototype.parseExpressionStatement=function(){var f=this.createNode(),h=this.parseExpression();return this.consumeSemicolon(),this.finalize(f,new a.ExpressionStatement(h))},d.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(n.Messages.StrictFunction),this.parseStatement()},d.prototype.parseIfStatement=function(){var f=this.createNode(),h,m=null;this.expectKeyword("if"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),h=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),m=this.parseIfClause())),this.finalize(f,new a.IfStatement(g,h,m))},d.prototype.parseDoWhileStatement=function(){var f=this.createNode();this.expectKeyword("do");var h=this.context.inIteration;this.context.inIteration=!0;var m=this.parseStatement();this.context.inIteration=h,this.expectKeyword("while"),this.expect("(");var g=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(f,new a.DoWhileStatement(m,g))},d.prototype.parseWhileStatement=function(){var f=this.createNode(),h;this.expectKeyword("while"),this.expect("(");var m=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var g=this.context.inIteration;this.context.inIteration=!0,h=this.parseStatement(),this.context.inIteration=g}return this.finalize(f,new a.WhileStatement(m,h))},d.prototype.parseForStatement=function(){var f=null,h=null,m=null,g=!0,b,T,x=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){f=this.createNode(),this.nextToken();var v=this.context.allowIn;this.context.allowIn=!1;var w=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=v,w.length===1&&this.matchKeyword("in")){var A=w[0];A.init&&(A.id.type===l.Syntax.ArrayPattern||A.id.type===l.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(n.Messages.ForInOfLoopInitializer,"for-in"),f=this.finalize(f,new a.VariableDeclaration(w,"var")),this.nextToken(),b=f,T=this.parseExpression(),f=null}else w.length===1&&w[0].init===null&&this.matchContextualKeyword("of")?(f=this.finalize(f,new a.VariableDeclaration(w,"var")),this.nextToken(),b=f,T=this.parseAssignmentExpression(),f=null,g=!1):(f=this.finalize(f,new a.VariableDeclaration(w,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){f=this.createNode();var C=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")f=this.finalize(f,new a.Identifier(C)),this.nextToken(),b=f,T=this.parseExpression(),f=null;else{var v=this.context.allowIn;this.context.allowIn=!1;var w=this.parseBindingList(C,{inFor:!0});this.context.allowIn=v,w.length===1&&w[0].init===null&&this.matchKeyword("in")?(f=this.finalize(f,new a.VariableDeclaration(w,C)),this.nextToken(),b=f,T=this.parseExpression(),f=null):w.length===1&&w[0].init===null&&this.matchContextualKeyword("of")?(f=this.finalize(f,new a.VariableDeclaration(w,C)),this.nextToken(),b=f,T=this.parseAssignmentExpression(),f=null,g=!1):(this.consumeSemicolon(),f=this.finalize(f,new a.VariableDeclaration(w,C)))}}else{var K=this.lookahead,v=this.context.allowIn;if(this.context.allowIn=!1,f=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=v,this.matchKeyword("in"))(!this.context.isAssignmentTarget||f.type===l.Syntax.AssignmentExpression)&&this.tolerateError(n.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(f),b=f,T=this.parseExpression(),f=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||f.type===l.Syntax.AssignmentExpression)&&this.tolerateError(n.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(f),b=f,T=this.parseAssignmentExpression(),f=null,g=!1;else{if(this.match(",")){for(var F=[f];this.match(",");)this.nextToken(),F.push(this.isolateCoverGrammar(this.parseAssignmentExpression));f=this.finalize(this.startNode(K),new a.SequenceExpression(F))}this.expect(";")}}typeof b>"u"&&(this.match(";")||(h=this.parseExpression()),this.expect(";"),this.match(")")||(m=this.parseExpression()));var Q;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),Q=this.finalize(this.createNode(),new a.EmptyStatement);else{this.expect(")");var X=this.context.inIteration;this.context.inIteration=!0,Q=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=X}return typeof b>"u"?this.finalize(x,new a.ForStatement(f,h,m,Q)):g?this.finalize(x,new a.ForInStatement(b,T,Q)):this.finalize(x,new a.ForOfStatement(b,T,Q))},d.prototype.parseContinueStatement=function(){var f=this.createNode();this.expectKeyword("continue");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var m=this.parseVariableIdentifier();h=m;var g="$"+m.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)||this.throwError(n.Messages.UnknownLabel,m.name)}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&this.throwError(n.Messages.IllegalContinue),this.finalize(f,new a.ContinueStatement(h))},d.prototype.parseBreakStatement=function(){var f=this.createNode();this.expectKeyword("break");var h=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var m=this.parseVariableIdentifier(),g="$"+m.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,g)||this.throwError(n.Messages.UnknownLabel,m.name),h=m}return this.consumeSemicolon(),h===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(n.Messages.IllegalBreak),this.finalize(f,new a.BreakStatement(h))},d.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(n.Messages.IllegalReturn);var f=this.createNode();this.expectKeyword("return");var h=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,m=h?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(f,new a.ReturnStatement(m))},d.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(n.Messages.StrictModeWith);var f=this.createNode(),h;this.expectKeyword("with"),this.expect("(");var m=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),h=this.finalize(this.createNode(),new a.EmptyStatement)):(this.expect(")"),h=this.parseStatement()),this.finalize(f,new a.WithStatement(m,h))},d.prototype.parseSwitchCase=function(){var f=this.createNode(),h;this.matchKeyword("default")?(this.nextToken(),h=null):(this.expectKeyword("case"),h=this.parseExpression()),this.expect(":");for(var m=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)m.push(this.parseStatementListItem());return this.finalize(f,new a.SwitchCase(h,m))},d.prototype.parseSwitchStatement=function(){var f=this.createNode();this.expectKeyword("switch"),this.expect("(");var h=this.parseExpression();this.expect(")");var m=this.context.inSwitch;this.context.inSwitch=!0;var g=[],b=!1;for(this.expect("{");!this.match("}");){var T=this.parseSwitchCase();T.test===null&&(b&&this.throwError(n.Messages.MultipleDefaultsInSwitch),b=!0),g.push(T)}return this.expect("}"),this.context.inSwitch=m,this.finalize(f,new a.SwitchStatement(h,g))},d.prototype.parseLabelledStatement=function(){var f=this.createNode(),h=this.parseExpression(),m;if(h.type===l.Syntax.Identifier&&this.match(":")){this.nextToken();var g=h,b="$"+g.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,b)&&this.throwError(n.Messages.Redeclaration,"Label",g.name),this.context.labelSet[b]=!0;var T=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),T=this.parseClassDeclaration();else if(this.matchKeyword("function")){var x=this.lookahead,v=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(x,n.Messages.StrictFunction):v.generator&&this.tolerateUnexpectedToken(x,n.Messages.GeneratorInLegacyContext),T=v}else T=this.parseStatement();delete this.context.labelSet[b],m=new a.LabeledStatement(g,T)}else this.consumeSemicolon(),m=new a.ExpressionStatement(h);return this.finalize(f,m)},d.prototype.parseThrowStatement=function(){var f=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(n.Messages.NewlineAfterThrow);var h=this.parseExpression();return this.consumeSemicolon(),this.finalize(f,new a.ThrowStatement(h))},d.prototype.parseCatchClause=function(){var f=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var h=[],m=this.parsePattern(h),g={},b=0;b<h.length;b++){var T="$"+h[b].value;Object.prototype.hasOwnProperty.call(g,T)&&this.tolerateError(n.Messages.DuplicateBinding,h[b].value),g[T]=!0}this.context.strict&&m.type===l.Syntax.Identifier&&this.scanner.isRestrictedWord(m.name)&&this.tolerateError(n.Messages.StrictCatchVariable),this.expect(")");var x=this.parseBlock();return this.finalize(f,new a.CatchClause(m,x))},d.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},d.prototype.parseTryStatement=function(){var f=this.createNode();this.expectKeyword("try");var h=this.parseBlock(),m=this.matchKeyword("catch")?this.parseCatchClause():null,g=this.matchKeyword("finally")?this.parseFinallyClause():null;return!m&&!g&&this.throwError(n.Messages.NoCatchOrFinally),this.finalize(f,new a.TryStatement(h,m,g))},d.prototype.parseDebuggerStatement=function(){var f=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(f,new a.DebuggerStatement)},d.prototype.parseStatement=function(){var f;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:f=this.parseExpressionStatement();break;case 7:var h=this.lookahead.value;h==="{"?f=this.parseBlock():h==="("?f=this.parseExpressionStatement():h===";"?f=this.parseEmptyStatement():f=this.parseExpressionStatement();break;case 3:f=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":f=this.parseBreakStatement();break;case"continue":f=this.parseContinueStatement();break;case"debugger":f=this.parseDebuggerStatement();break;case"do":f=this.parseDoWhileStatement();break;case"for":f=this.parseForStatement();break;case"function":f=this.parseFunctionDeclaration();break;case"if":f=this.parseIfStatement();break;case"return":f=this.parseReturnStatement();break;case"switch":f=this.parseSwitchStatement();break;case"throw":f=this.parseThrowStatement();break;case"try":f=this.parseTryStatement();break;case"var":f=this.parseVariableStatement();break;case"while":f=this.parseWhileStatement();break;case"with":f=this.parseWithStatement();break;default:f=this.parseExpressionStatement();break}break;default:f=this.throwUnexpectedToken(this.lookahead)}return f},d.prototype.parseFunctionSourceElements=function(){var f=this.createNode();this.expect("{");var h=this.parseDirectivePrologues(),m=this.context.labelSet,g=this.context.inIteration,b=this.context.inSwitch,T=this.context.inFunctionBody;for(this.context.labelSet={},this.context.inIteration=!1,this.context.inSwitch=!1,this.context.inFunctionBody=!0;this.lookahead.type!==2&&!this.match("}");)h.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=m,this.context.inIteration=g,this.context.inSwitch=b,this.context.inFunctionBody=T,this.finalize(f,new a.BlockStatement(h))},d.prototype.validateParam=function(f,h,m){var g="$"+m;this.context.strict?(this.scanner.isRestrictedWord(m)&&(f.stricted=h,f.message=n.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(f.paramSet,g)&&(f.stricted=h,f.message=n.Messages.StrictParamDupe)):f.firstRestricted||(this.scanner.isRestrictedWord(m)?(f.firstRestricted=h,f.message=n.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(m)?(f.firstRestricted=h,f.message=n.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(f.paramSet,g)&&(f.stricted=h,f.message=n.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(f.paramSet,g,{value:!0,enumerable:!0,writable:!0,configurable:!0}):f.paramSet[g]=!0},d.prototype.parseRestElement=function(f){var h=this.createNode();this.expect("...");var m=this.parsePattern(f);return this.match("=")&&this.throwError(n.Messages.DefaultRestParameter),this.match(")")||this.throwError(n.Messages.ParameterAfterRestParameter),this.finalize(h,new a.RestElement(m))},d.prototype.parseFormalParameter=function(f){for(var h=[],m=this.match("...")?this.parseRestElement(h):this.parsePatternWithDefault(h),g=0;g<h.length;g++)this.validateParam(f,h[g],h[g].value);f.simple=f.simple&&m instanceof a.Identifier,f.params.push(m)},d.prototype.parseFormalParameters=function(f){var h;if(h={simple:!0,params:[],firstRestricted:f},this.expect("("),!this.match(")"))for(h.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(h),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:h.simple,params:h.params,stricted:h.stricted,firstRestricted:h.firstRestricted,message:h.message}},d.prototype.matchAsyncFunction=function(){var f=this.matchContextualKeyword("async");if(f){var h=this.scanner.saveState();this.scanner.scanComments();var m=this.scanner.lex();this.scanner.restoreState(h),f=h.lineNumber===m.lineNumber&&m.type===4&&m.value==="function"}return f},d.prototype.parseFunctionDeclaration=function(f){var h=this.createNode(),m=this.matchContextualKeyword("async");m&&this.nextToken(),this.expectKeyword("function");var g=m?!1:this.match("*");g&&this.nextToken();var b,T=null,x=null;if(!f||!this.match("(")){var v=this.lookahead;T=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(v.value)&&this.tolerateUnexpectedToken(v,n.Messages.StrictFunctionName):this.scanner.isRestrictedWord(v.value)?(x=v,b=n.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(v.value)&&(x=v,b=n.Messages.StrictReservedWord)}var w=this.context.await,A=this.context.allowYield;this.context.await=m,this.context.allowYield=!g;var C=this.parseFormalParameters(x),K=C.params,F=C.stricted;x=C.firstRestricted,C.message&&(b=C.message);var Q=this.context.strict,X=this.context.allowStrictDirective;this.context.allowStrictDirective=C.simple;var Te=this.parseFunctionSourceElements();return this.context.strict&&x&&this.throwUnexpectedToken(x,b),this.context.strict&&F&&this.tolerateUnexpectedToken(F,b),this.context.strict=Q,this.context.allowStrictDirective=X,this.context.await=w,this.context.allowYield=A,m?this.finalize(h,new a.AsyncFunctionDeclaration(T,K,Te)):this.finalize(h,new a.FunctionDeclaration(T,K,Te,g))},d.prototype.parseFunctionExpression=function(){var f=this.createNode(),h=this.matchContextualKeyword("async");h&&this.nextToken(),this.expectKeyword("function");var m=h?!1:this.match("*");m&&this.nextToken();var g,b=null,T,x=this.context.await,v=this.context.allowYield;if(this.context.await=h,this.context.allowYield=!m,!this.match("(")){var w=this.lookahead;b=!this.context.strict&&!m&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(w.value)&&this.tolerateUnexpectedToken(w,n.Messages.StrictFunctionName):this.scanner.isRestrictedWord(w.value)?(T=w,g=n.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(T=w,g=n.Messages.StrictReservedWord)}var A=this.parseFormalParameters(T),C=A.params,K=A.stricted;T=A.firstRestricted,A.message&&(g=A.message);var F=this.context.strict,Q=this.context.allowStrictDirective;this.context.allowStrictDirective=A.simple;var X=this.parseFunctionSourceElements();return this.context.strict&&T&&this.throwUnexpectedToken(T,g),this.context.strict&&K&&this.tolerateUnexpectedToken(K,g),this.context.strict=F,this.context.allowStrictDirective=Q,this.context.await=x,this.context.allowYield=v,h?this.finalize(f,new a.AsyncFunctionExpression(b,C,X)):this.finalize(f,new a.FunctionExpression(b,C,X,m))},d.prototype.parseDirective=function(){var f=this.lookahead,h=this.createNode(),m=this.parseExpression(),g=m.type===l.Syntax.Literal?this.getTokenRaw(f).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(h,g?new a.Directive(m,g):new a.ExpressionStatement(m))},d.prototype.parseDirectivePrologues=function(){for(var f=null,h=[];;){var m=this.lookahead;if(m.type!==8)break;var g=this.parseDirective();h.push(g);var b=g.directive;if(typeof b!="string")break;b==="use strict"?(this.context.strict=!0,f&&this.tolerateUnexpectedToken(f,n.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(m,n.Messages.IllegalLanguageModeDirective)):!f&&m.octal&&(f=m)}return h},d.prototype.qualifiedPropertyName=function(f){switch(f.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return f.value==="[";default:break}return!1},d.prototype.parseGetterMethod=function(){var f=this.createNode(),h=!1,m=this.context.allowYield;this.context.allowYield=!h;var g=this.parseFormalParameters();g.params.length>0&&this.tolerateError(n.Messages.BadGetterArity);var b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(f,new a.FunctionExpression(null,g.params,b,h))},d.prototype.parseSetterMethod=function(){var f=this.createNode(),h=!1,m=this.context.allowYield;this.context.allowYield=!h;var g=this.parseFormalParameters();g.params.length!==1?this.tolerateError(n.Messages.BadSetterArity):g.params[0]instanceof a.RestElement&&this.tolerateError(n.Messages.BadSetterRestParameter);var b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(f,new a.FunctionExpression(null,g.params,b,h))},d.prototype.parseGeneratorMethod=function(){var f=this.createNode(),h=!0,m=this.context.allowYield;this.context.allowYield=!0;var g=this.parseFormalParameters();this.context.allowYield=!1;var b=this.parsePropertyMethod(g);return this.context.allowYield=m,this.finalize(f,new a.FunctionExpression(null,g.params,b,h))},d.prototype.isStartOfExpression=function(){var f=!0,h=this.lookahead.value;switch(this.lookahead.type){case 7:f=h==="["||h==="("||h==="{"||h==="+"||h==="-"||h==="!"||h==="~"||h==="++"||h==="--"||h==="/"||h==="/=";break;case 4:f=h==="class"||h==="delete"||h==="function"||h==="let"||h==="new"||h==="super"||h==="this"||h==="typeof"||h==="void"||h==="yield";break;default:break}return f},d.prototype.parseYieldExpression=function(){var f=this.createNode();this.expectKeyword("yield");var h=null,m=!1;if(!this.hasLineTerminator){var g=this.context.allowYield;this.context.allowYield=!1,m=this.match("*"),m?(this.nextToken(),h=this.parseAssignmentExpression()):this.isStartOfExpression()&&(h=this.parseAssignmentExpression()),this.context.allowYield=g}return this.finalize(f,new a.YieldExpression(h,m))},d.prototype.parseClassElement=function(f){var h=this.lookahead,m=this.createNode(),g="",b=null,T=null,x=!1,v=!1,w=!1,A=!1;if(this.match("*"))this.nextToken();else{x=this.match("["),b=this.parseObjectPropertyKey();var C=b;if(C.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(h=this.lookahead,w=!0,x=this.match("["),this.match("*")?this.nextToken():b=this.parseObjectPropertyKey()),h.type===3&&!this.hasLineTerminator&&h.value==="async"){var K=this.lookahead.value;K!==":"&&K!=="("&&K!=="*"&&(A=!0,h=this.lookahead,b=this.parseObjectPropertyKey(),h.type===3&&h.value==="constructor"&&this.tolerateUnexpectedToken(h,n.Messages.ConstructorIsAsync))}}var F=this.qualifiedPropertyName(this.lookahead);return h.type===3?h.value==="get"&&F?(g="get",x=this.match("["),b=this.parseObjectPropertyKey(),this.context.allowYield=!1,T=this.parseGetterMethod()):h.value==="set"&&F&&(g="set",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseSetterMethod()):h.type===7&&h.value==="*"&&F&&(g="init",x=this.match("["),b=this.parseObjectPropertyKey(),T=this.parseGeneratorMethod(),v=!0),!g&&b&&this.match("(")&&(g="init",T=A?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),v=!0),g||this.throwUnexpectedToken(this.lookahead),g==="init"&&(g="method"),x||(w&&this.isPropertyKey(b,"prototype")&&this.throwUnexpectedToken(h,n.Messages.StaticPrototype),!w&&this.isPropertyKey(b,"constructor")&&((g!=="method"||!v||T&&T.generator)&&this.throwUnexpectedToken(h,n.Messages.ConstructorSpecialMethod),f.value?this.throwUnexpectedToken(h,n.Messages.DuplicateConstructor):f.value=!0,g="constructor")),this.finalize(m,new a.MethodDefinition(b,x,T,g,w))},d.prototype.parseClassElementList=function(){var f=[],h={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():f.push(this.parseClassElement(h));return this.expect("}"),f},d.prototype.parseClassBody=function(){var f=this.createNode(),h=this.parseClassElementList();return this.finalize(f,new a.ClassBody(h))},d.prototype.parseClassDeclaration=function(f){var h=this.createNode(),m=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var g=f&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),b=null;this.matchKeyword("extends")&&(this.nextToken(),b=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var T=this.parseClassBody();return this.context.strict=m,this.finalize(h,new a.ClassDeclaration(g,b,T))},d.prototype.parseClassExpression=function(){var f=this.createNode(),h=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var m=this.lookahead.type===3?this.parseVariableIdentifier():null,g=null;this.matchKeyword("extends")&&(this.nextToken(),g=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var b=this.parseClassBody();return this.context.strict=h,this.finalize(f,new a.ClassExpression(m,g,b))},d.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var f=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(f,new a.Module(h))},d.prototype.parseScript=function(){for(var f=this.createNode(),h=this.parseDirectivePrologues();this.lookahead.type!==2;)h.push(this.parseStatementListItem());return this.finalize(f,new a.Script(h))},d.prototype.parseModuleSpecifier=function(){var f=this.createNode();this.lookahead.type!==8&&this.throwError(n.Messages.InvalidModuleSpecifier);var h=this.nextToken(),m=this.getTokenRaw(h);return this.finalize(f,new a.Literal(h.value,m))},d.prototype.parseImportSpecifier=function(){var f=this.createNode(),h,m;return this.lookahead.type===3?(h=this.parseVariableIdentifier(),m=h,this.matchContextualKeyword("as")&&(this.nextToken(),m=this.parseVariableIdentifier())):(h=this.parseIdentifierName(),m=h,this.matchContextualKeyword("as")?(this.nextToken(),m=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(f,new a.ImportSpecifier(m,h))},d.prototype.parseNamedImports=function(){this.expect("{");for(var f=[];!this.match("}");)f.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),f},d.prototype.parseImportDefaultSpecifier=function(){var f=this.createNode(),h=this.parseIdentifierName();return this.finalize(f,new a.ImportDefaultSpecifier(h))},d.prototype.parseImportNamespaceSpecifier=function(){var f=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(n.Messages.NoAsAfterImportNamespace),this.nextToken();var h=this.parseIdentifierName();return this.finalize(f,new a.ImportNamespaceSpecifier(h))},d.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalImportDeclaration);var f=this.createNode();this.expectKeyword("import");var h,m=[];if(this.lookahead.type===8)h=this.parseModuleSpecifier();else{if(this.match("{")?m=m.concat(this.parseNamedImports()):this.match("*")?m.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(m.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?m.push(this.parseImportNamespaceSpecifier()):this.match("{")?m=m.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var g=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}this.nextToken(),h=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(f,new a.ImportDeclaration(m,h))},d.prototype.parseExportSpecifier=function(){var f=this.createNode(),h=this.parseIdentifierName(),m=h;return this.matchContextualKeyword("as")&&(this.nextToken(),m=this.parseIdentifierName()),this.finalize(f,new a.ExportSpecifier(h,m))},d.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(n.Messages.IllegalExportDeclaration);var f=this.createNode();this.expectKeyword("export");var h;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var m=this.parseFunctionDeclaration(!0);h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else if(this.matchKeyword("class")){var m=this.parseClassDeclaration(!0);h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else if(this.matchContextualKeyword("async")){var m=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else{this.matchContextualKeyword("from")&&this.throwError(n.Messages.UnexpectedToken,this.lookahead.value);var m=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),h=this.finalize(f,new a.ExportDefaultDeclaration(m))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var g=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}this.nextToken();var b=this.parseModuleSpecifier();this.consumeSemicolon(),h=this.finalize(f,new a.ExportAllDeclaration(b))}else if(this.lookahead.type===4){var m=void 0;switch(this.lookahead.value){case"let":case"const":m=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":m=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}h=this.finalize(f,new a.ExportNamedDeclaration(m,[],null))}else if(this.matchAsyncFunction()){var m=this.parseFunctionDeclaration();h=this.finalize(f,new a.ExportNamedDeclaration(m,[],null))}else{var T=[],x=null,v=!1;for(this.expect("{");!this.match("}");)v=v||this.matchKeyword("default"),T.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),x=this.parseModuleSpecifier(),this.consumeSemicolon();else if(v){var g=this.lookahead.value?n.Messages.UnexpectedToken:n.Messages.MissingFromClause;this.throwError(g,this.lookahead.value)}else this.consumeSemicolon();h=this.finalize(f,new a.ExportNamedDeclaration(null,T,x))}return h},d}();e.Parser=p},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(i,s){if(!i)throw new Error("ASSERT: "+s)}e.assert=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function i(){this.errors=[],this.tolerant=!1}return i.prototype.recordError=function(s){this.errors.push(s)},i.prototype.tolerate=function(s){if(this.tolerant)this.recordError(s);else throw s},i.prototype.constructError=function(s,n){var a=new Error(s);try{throw a}catch(o){Object.create&&Object.defineProperty&&(a=Object.create(o),Object.defineProperty(a,"column",{value:n}))}return a},i.prototype.createError=function(s,n,a,o){var l="Line "+n+": "+o,u=this.constructError(l,a);return u.index=s,u.lineNumber=n,u.description=o,u},i.prototype.throwError=function(s,n,a,o){throw this.createError(s,n,a,o)},i.prototype.tolerateError=function(s,n,a,o){var l=this.createError(s,n,a,o);if(this.tolerant)this.recordError(l);else throw l},i}();e.ErrorHandler=r},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Messages={BadGetterArity:"Getter must not have any formal parameters",BadSetterArity:"Setter must have exactly one formal parameter",BadSetterRestParameter:"Setter function argument must not be a rest parameter",ConstructorIsAsync:"Class constructor may not be an async method",ConstructorSpecialMethod:"Class constructor may not be an accessor",DeclarationMissingInitializer:"Missing initializer in %0 declaration",DefaultRestParameter:"Unexpected token =",DuplicateBinding:"Duplicate binding %0",DuplicateConstructor:"A class may only have one constructor",DuplicateProtoProperty:"Duplicate __proto__ fields are not allowed in object literals",ForInOfLoopInitializer:"%0 loop variable declaration may not have an initializer",GeneratorInLegacyContext:"Generator declarations are not allowed in legacy contexts",IllegalBreak:"Illegal break statement",IllegalContinue:"Illegal continue statement",IllegalExportDeclaration:"Unexpected token",IllegalImportDeclaration:"Unexpected token",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list",IllegalReturn:"Illegal return statement",InvalidEscapedReservedWord:"Keyword must not contain escaped characters",InvalidHexEscapeSequence:"Invalid hexadecimal escape sequence",InvalidLHSInAssignment:"Invalid left-hand side in assignment",InvalidLHSInForIn:"Invalid left-hand side in for-in",InvalidLHSInForLoop:"Invalid left-hand side in for-loop",InvalidModuleSpecifier:"Unexpected token",InvalidRegExp:"Invalid regular expression",LetInLexicalBinding:"let is disallowed as a lexically bound name",MissingFromClause:"Unexpected token",MultipleDefaultsInSwitch:"More than one default clause in switch statement",NewlineAfterThrow:"Illegal newline after throw",NoAsAfterImportNamespace:"Unexpected token",NoCatchOrFinally:"Missing catch or finally after try",ParameterAfterRestParameter:"Rest parameter must be last formal parameter",Redeclaration:"%0 '%1' has already been declared",StaticPrototype:"Classes may not have static property named prototype",StrictCatchVariable:"Catch variable may not be eval or arguments in strict mode",StrictDelete:"Delete of an unqualified identifier in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block",StrictFunctionName:"Function name may not be eval or arguments in strict mode",StrictLHSAssignment:"Assignment to eval or arguments is not allowed in strict mode",StrictLHSPostfix:"Postfix increment/decrement may not have eval or arguments operand in strict mode",StrictLHSPrefix:"Prefix increment/decrement may not have eval or arguments operand in strict mode",StrictModeWith:"Strict mode code may not include a with statement",StrictOctalLiteral:"Octal literals are not allowed in strict mode.",StrictParamDupe:"Strict mode function may not have duplicate parameter names",StrictParamName:"Parameter name eval or arguments is not allowed in strict mode",StrictReservedWord:"Use of future reserved word in strict mode",StrictVarName:"Variable name may not be eval or arguments in strict mode",TemplateOctalLiteral:"Octal literals are not allowed in template strings.",UnexpectedEOS:"Unexpected end of input",UnexpectedIdentifier:"Unexpected identifier",UnexpectedNumber:"Unexpected number",UnexpectedReserved:"Unexpected reserved word",UnexpectedString:"Unexpected string",UnexpectedTemplate:"Unexpected quasi %0",UnexpectedToken:"Unexpected token %0",UnexpectedTokenIllegal:"Unexpected token ILLEGAL",UnknownLabel:"Undefined label '%0'",UnterminatedRegExp:"Invalid regular expression: missing /"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var i=r(9),s=r(4),n=r(11);function a(u){return"0123456789abcdef".indexOf(u.toLowerCase())}function o(u){return"01234567".indexOf(u)}var l=function(){function u(c,p){this.source=c,this.errorHandler=p,this.trackComment=!1,this.isModule=!1,this.length=c.length,this.index=0,this.lineNumber=c.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return u.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},u.prototype.restoreState=function(c){this.index=c.index,this.lineNumber=c.lineNumber,this.lineStart=c.lineStart},u.prototype.eof=function(){return this.index>=this.length},u.prototype.throwUnexpectedToken=function(c){return c===void 0&&(c=n.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,c)},u.prototype.tolerateUnexpectedToken=function(c){c===void 0&&(c=n.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,c)},u.prototype.skipSingleLineComment=function(c){var p=[],d,f;for(this.trackComment&&(p=[],d=this.index-c,f={start:{line:this.lineNumber,column:this.index-this.lineStart-c},end:{}});!this.eof();){var h=this.source.charCodeAt(this.index);if(++this.index,s.Character.isLineTerminator(h)){if(this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart-1};var m={multiLine:!1,slice:[d+c,this.index-1],range:[d,this.index-1],loc:f};p.push(m)}return h===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,p}}if(this.trackComment){f.end={line:this.lineNumber,column:this.index-this.lineStart};var m={multiLine:!1,slice:[d+c,this.index],range:[d,this.index],loc:f};p.push(m)}return p},u.prototype.skipMultiLineComment=function(){var c=[],p,d;for(this.trackComment&&(c=[],p=this.index-2,d={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var f=this.source.charCodeAt(this.index);if(s.Character.isLineTerminator(f))f===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(f===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){d.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[p+2,this.index-2],range:[p,this.index],loc:d};c.push(h)}return c}++this.index}else++this.index}if(this.trackComment){d.end={line:this.lineNumber,column:this.index-this.lineStart};var h={multiLine:!0,slice:[p+2,this.index],range:[p,this.index],loc:d};c.push(h)}return this.tolerateUnexpectedToken(),c},u.prototype.scanComments=function(){var c;this.trackComment&&(c=[]);for(var p=this.index===0;!this.eof();){var d=this.source.charCodeAt(this.index);if(s.Character.isWhiteSpace(d))++this.index;else if(s.Character.isLineTerminator(d))++this.index,d===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,p=!0;else if(d===47)if(d=this.source.charCodeAt(this.index+1),d===47){this.index+=2;var f=this.skipSingleLineComment(2);this.trackComment&&(c=c.concat(f)),p=!0}else if(d===42){this.index+=2;var f=this.skipMultiLineComment();this.trackComment&&(c=c.concat(f))}else break;else if(p&&d===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var f=this.skipSingleLineComment(3);this.trackComment&&(c=c.concat(f))}else break;else if(d===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var f=this.skipSingleLineComment(4);this.trackComment&&(c=c.concat(f))}else break;else break}return c},u.prototype.isFutureReservedWord=function(c){switch(c){case"enum":case"export":case"import":case"super":return!0;default:return!1}},u.prototype.isStrictModeReservedWord=function(c){switch(c){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},u.prototype.isRestrictedWord=function(c){return c==="eval"||c==="arguments"},u.prototype.isKeyword=function(c){switch(c.length){case 2:return c==="if"||c==="in"||c==="do";case 3:return c==="var"||c==="for"||c==="new"||c==="try"||c==="let";case 4:return c==="this"||c==="else"||c==="case"||c==="void"||c==="with"||c==="enum";case 5:return c==="while"||c==="break"||c==="catch"||c==="throw"||c==="const"||c==="yield"||c==="class"||c==="super";case 6:return c==="return"||c==="typeof"||c==="delete"||c==="switch"||c==="export"||c==="import";case 7:return c==="default"||c==="finally"||c==="extends";case 8:return c==="function"||c==="continue"||c==="debugger";case 10:return c==="instanceof";default:return!1}},u.prototype.codePointAt=function(c){var p=this.source.charCodeAt(c);if(p>=55296&&p<=56319){var d=this.source.charCodeAt(c+1);if(d>=56320&&d<=57343){var f=p;p=(f-55296)*1024+d-56320+65536}}return p},u.prototype.scanHexEscape=function(c){for(var p=c==="u"?4:2,d=0,f=0;f<p;++f)if(!this.eof()&&s.Character.isHexDigit(this.source.charCodeAt(this.index)))d=d*16+a(this.source[this.index++]);else return null;return String.fromCharCode(d)},u.prototype.scanUnicodeCodePointEscape=function(){var c=this.source[this.index],p=0;for(c==="}"&&this.throwUnexpectedToken();!this.eof()&&(c=this.source[this.index++],!!s.Character.isHexDigit(c.charCodeAt(0)));)p=p*16+a(c);return(p>1114111||c!=="}")&&this.throwUnexpectedToken(),s.Character.fromCodePoint(p)},u.prototype.getIdentifier=function(){for(var c=this.index++;!this.eof();){var p=this.source.charCodeAt(this.index);if(p===92)return this.index=c,this.getComplexIdentifier();if(p>=55296&&p<57343)return this.index=c,this.getComplexIdentifier();if(s.Character.isIdentifierPart(p))++this.index;else break}return this.source.slice(c,this.index)},u.prototype.getComplexIdentifier=function(){var c=this.codePointAt(this.index),p=s.Character.fromCodePoint(c);this.index+=p.length;var d;for(c===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"),(d===null||d==="\\"||!s.Character.isIdentifierStart(d.charCodeAt(0)))&&this.throwUnexpectedToken()),p=d);!this.eof()&&(c=this.codePointAt(this.index),!!s.Character.isIdentifierPart(c));)d=s.Character.fromCodePoint(c),p+=d,this.index+=d.length,c===92&&(p=p.substr(0,p.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,d=this.scanUnicodeCodePointEscape()):(d=this.scanHexEscape("u"),(d===null||d==="\\"||!s.Character.isIdentifierPart(d.charCodeAt(0)))&&this.throwUnexpectedToken()),p+=d);return p},u.prototype.octalToDecimal=function(c){var p=c!=="0",d=o(c);return!this.eof()&&s.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(p=!0,d=d*8+o(this.source[this.index++]),"0123".indexOf(c)>=0&&!this.eof()&&s.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(d=d*8+o(this.source[this.index++]))),{code:d,octal:p}},u.prototype.scanIdentifier=function(){var c,p=this.index,d=this.source.charCodeAt(p)===92?this.getComplexIdentifier():this.getIdentifier();if(d.length===1?c=3:this.isKeyword(d)?c=4:d==="null"?c=5:d==="true"||d==="false"?c=1:c=3,c!==3&&p+d.length!==this.index){var f=this.index;this.index=p,this.tolerateUnexpectedToken(n.Messages.InvalidEscapedReservedWord),this.index=f}return{type:c,value:d,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},u.prototype.scanPunctuator=function(){var c=this.index,p=this.source[this.index];switch(p){case"(":case"{":p==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,p="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:p=this.source.substr(this.index,4),p===">>>="?this.index+=4:(p=p.substr(0,3),p==="==="||p==="!=="||p===">>>"||p==="<<="||p===">>="||p==="**="?this.index+=3:(p=p.substr(0,2),p==="&&"||p==="||"||p==="=="||p==="!="||p==="+="||p==="-="||p==="*="||p==="/="||p==="++"||p==="--"||p==="<<"||p===">>"||p==="&="||p==="|="||p==="^="||p==="%="||p==="<="||p===">="||p==="=>"||p==="**"?this.index+=2:(p=this.source[this.index],"<>=!+-*%&|^/".indexOf(p)>=0&&++this.index)))}return this.index===c&&this.throwUnexpectedToken(),{type:7,value:p,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanHexLiteral=function(c){for(var p="";!this.eof()&&s.Character.isHexDigit(this.source.charCodeAt(this.index));)p+=this.source[this.index++];return p.length===0&&this.throwUnexpectedToken(),s.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+p,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanBinaryLiteral=function(c){for(var p="",d;!this.eof()&&(d=this.source[this.index],!(d!=="0"&&d!=="1"));)p+=this.source[this.index++];return p.length===0&&this.throwUnexpectedToken(),this.eof()||(d=this.source.charCodeAt(this.index),(s.Character.isIdentifierStart(d)||s.Character.isDecimalDigit(d))&&this.throwUnexpectedToken()),{type:6,value:parseInt(p,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanOctalLiteral=function(c,p){var d="",f=!1;for(s.Character.isOctalDigit(c.charCodeAt(0))?(f=!0,d="0"+this.source[this.index++]):++this.index;!this.eof()&&s.Character.isOctalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];return!f&&d.length===0&&this.throwUnexpectedToken(),(s.Character.isIdentifierStart(this.source.charCodeAt(this.index))||s.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(d,8),octal:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:p,end:this.index}},u.prototype.isImplicitOctalLiteral=function(){for(var c=this.index+1;c<this.length;++c){var p=this.source[c];if(p==="8"||p==="9")return!1;if(!s.Character.isOctalDigit(p.charCodeAt(0)))return!0}return!0},u.prototype.scanNumericLiteral=function(){var c=this.index,p=this.source[c];i.assert(s.Character.isDecimalDigit(p.charCodeAt(0))||p===".","Numeric literal must start with a decimal digit or a decimal point");var d="";if(p!=="."){if(d=this.source[this.index++],p=this.source[this.index],d==="0"){if(p==="x"||p==="X")return++this.index,this.scanHexLiteral(c);if(p==="b"||p==="B")return++this.index,this.scanBinaryLiteral(c);if(p==="o"||p==="O")return this.scanOctalLiteral(p,c);if(p&&s.Character.isOctalDigit(p.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(p,c)}for(;s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];p=this.source[this.index]}if(p==="."){for(d+=this.source[this.index++];s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];p=this.source[this.index]}if(p==="e"||p==="E")if(d+=this.source[this.index++],p=this.source[this.index],(p==="+"||p==="-")&&(d+=this.source[this.index++]),s.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;s.Character.isDecimalDigit(this.source.charCodeAt(this.index));)d+=this.source[this.index++];else this.throwUnexpectedToken();return s.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(d),lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanStringLiteral=function(){var c=this.index,p=this.source[c];i.assert(p==="'"||p==='"',"String literal must starts with a quote"),++this.index;for(var d=!1,f="";!this.eof();){var h=this.source[this.index++];if(h===p){p="";break}else if(h==="\\")if(h=this.source[this.index++],!h||!s.Character.isLineTerminator(h.charCodeAt(0)))switch(h){case"u":if(this.source[this.index]==="{")++this.index,f+=this.scanUnicodeCodePointEscape();else{var m=this.scanHexEscape(h);m===null&&this.throwUnexpectedToken(),f+=m}break;case"x":var g=this.scanHexEscape(h);g===null&&this.throwUnexpectedToken(n.Messages.InvalidHexEscapeSequence),f+=g;break;case"n":f+=`
|
|
119
119
|
`;break;case"r":f+="\r";break;case"t":f+=" ";break;case"b":f+="\b";break;case"f":f+="\f";break;case"v":f+="\v";break;case"8":case"9":f+=h,this.tolerateUnexpectedToken();break;default:if(h&&s.Character.isOctalDigit(h.charCodeAt(0))){var b=this.octalToDecimal(h);d=b.octal||d,f+=String.fromCharCode(b.code)}else f+=h;break}else++this.lineNumber,h==="\r"&&this.source[this.index]===`
|
|
120
120
|
`&&++this.index,this.lineStart=this.index;else{if(s.Character.isLineTerminator(h.charCodeAt(0)))break;f+=h}}return p!==""&&(this.index=c,this.throwUnexpectedToken()),{type:8,value:f,octal:d,lineNumber:this.lineNumber,lineStart:this.lineStart,start:c,end:this.index}},u.prototype.scanTemplate=function(){var c="",p=!1,d=this.index,f=this.source[d]==="`",h=!1,m=2;for(++this.index;!this.eof();){var g=this.source[this.index++];if(g==="`"){m=1,h=!0,p=!0;break}else if(g==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,p=!0;break}c+=g}else if(g==="\\")if(g=this.source[this.index++],s.Character.isLineTerminator(g.charCodeAt(0)))++this.lineNumber,g==="\r"&&this.source[this.index]===`
|
|
121
121
|
`&&++this.index,this.lineStart=this.index;else switch(g){case"n":c+=`
|
|
@@ -164,8 +164,8 @@ while`),s.push(" (",t.call(r,"test"),");"),W.concat(s)}case"DoExpression":{var w
|
|
|
164
164
|
`).join(t.map(r,"cases")),`
|
|
165
165
|
}`]);case"SwitchCase":return i.test?s.push("case ",t.call(r,"test"),":"):s.push("default:"),i.consequent.length>0&&s.push(`
|
|
166
166
|
`,t.call(function(Kt){return mg(Kt,e,r)},"consequent").indent(e.tabWidth)),W.concat(s);case"DebuggerStatement":return W.fromString("debugger;");case"JSXAttribute":return s.push(t.call(r,"name")),i.value&&s.push("=",t.call(r,"value")),W.concat(s);case"JSXIdentifier":return W.fromString(i.name,e);case"JSXNamespacedName":return W.fromString(":").join([t.call(r,"namespace"),t.call(r,"name")]);case"JSXMemberExpression":return W.fromString(".").join([t.call(r,"object"),t.call(r,"property")]);case"JSXSpreadAttribute":return W.concat(["{...",t.call(r,"argument"),"}"]);case"JSXSpreadChild":return W.concat(["{...",t.call(r,"expression"),"}"]);case"JSXExpressionContainer":return W.concat(["{",t.call(r,"expression"),"}"]);case"JSXElement":case"JSXFragment":{var Be="opening"+(i.type==="JSXElement"?"Element":"Fragment"),me="closing"+(i.type==="JSXElement"?"Element":"Fragment"),pe=t.call(r,Be);if(i[Be].selfClosing)return bu.default.ok(!i[me],"unexpected "+me+" element in self-closing "+i.type),pe;var le=W.concat(t.map(function(Kt){var kr=Kt.getValue();if(Js.Literal.check(kr)&&typeof kr.value=="string"){if(/\S/.test(kr.value))return kr.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(kr.value))return`
|
|
167
|
-
`}return r(Kt)},"children")).indentTail(e.tabWidth),Fe=t.call(r,me);return W.concat([pe,le,Fe])}case"JSXOpeningElement":{s.push("<",t.call(r,"name"));var
|
|
168
|
-
`)}),_e=W.concat(
|
|
167
|
+
`}return r(Kt)},"children")).indentTail(e.tabWidth),Fe=t.call(r,me);return W.concat([pe,le,Fe])}case"JSXOpeningElement":{s.push("<",t.call(r,"name"));var ve=[];t.each(function(Kt){ve.push(" ",r(Kt))},"attributes");var _e=W.concat(ve),Ze=_e.length>1||_e.getLineLength(1)>e.wrapColumn;return Ze&&(ve.forEach(function(Kt,kr){Kt===" "&&(bu.default.strictEqual(kr%2,0),ve[kr]=`
|
|
168
|
+
`)}),_e=W.concat(ve).indentTail(e.tabWidth)),s.push(_e,i.selfClosing?" />":">"),W.concat(s)}case"JSXClosingElement":return W.concat(["</",t.call(r,"name"),">"]);case"JSXOpeningFragment":return W.fromString("<>");case"JSXClosingFragment":return W.fromString("</>");case"JSXText":return W.fromString(i.value,e);case"JSXEmptyExpression":return W.fromString("");case"TypeAnnotatedIdentifier":return W.concat([t.call(r,"annotation")," ",t.call(r,"identifier")]);case"ClassBody":return i.body.length===0?W.fromString("{}"):W.concat([`{
|
|
169
169
|
`,t.call(function(Kt){return mg(Kt,e,r)},"body").indent(e.tabWidth),`
|
|
170
170
|
}`]);case"ClassPropertyDefinition":return s.push("static ",t.call(r,"definition")),Js.MethodDefinition.check(i.definition)||s.push(";"),W.concat(s);case"ClassProperty":{i.declare&&s.push("declare ");var Ct=i.accessibility||i.access;typeof Ct=="string"&&s.push(Ct," "),i.static&&s.push("static "),i.abstract&&s.push("abstract "),i.readonly&&s.push("readonly ");var C=t.call(r,"key");return i.computed&&(C=W.concat(["[",C,"]"])),i.variance&&(C=W.concat([RS(t,r),C])),s.push(C),i.optional&&s.push("?"),i.definite&&s.push("!"),i.typeAnnotation&&s.push(t.call(r,"typeAnnotation")),i.value&&s.push(" = ",t.call(r,"value")),s.push(";"),W.concat(s)}case"ClassPrivateProperty":return i.static&&s.push("static "),s.push(t.call(r,"key")),i.typeAnnotation&&s.push(t.call(r,"typeAnnotation")),i.value&&s.push(" = ",t.call(r,"value")),s.push(";"),W.concat(s);case"ClassDeclaration":case"ClassExpression":case"DeclareClass":return i.declare&&s.push("declare "),i.abstract&&s.push("abstract "),s.push("class"),i.id&&s.push(" ",t.call(r,"id")),i.typeParameters&&s.push(t.call(r,"typeParameters")),i.superClass&&s.push(" extends ",t.call(r,"superClass"),t.call(r,"superTypeParameters")),i.extends&&i.extends.length>0&&s.push(" extends ",W.fromString(", ").join(t.map(r,"extends"))),i.implements&&i.implements.length>0&&s.push(" implements ",W.fromString(", ").join(t.map(r,"implements"))),s.push(" ",t.call(r,"body")),i.type==="DeclareClass"?FS(t,s):W.concat(s);case"TemplateElement":return W.fromString(i.value.raw,e).lockIndentTail();case"TemplateLiteral":{var ht=t.map(r,"expressions");return s.push("`"),t.each(function(Kt){var kr=Kt.getName();s.push(r(Kt)),kr<ht.length&&s.push("${",ht[kr],"}")},"quasis"),s.push("`"),W.concat(s).lockIndentTail()}case"TaggedTemplateExpression":return W.concat([t.call(r,"tag"),t.call(r,"quasi")]);case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"Flow":case"FlowType":case"FlowPredicate":case"MemberTypeAnnotation":case"Type":case"TSHasOptionalTypeParameterInstantiation":case"TSHasOptionalTypeParameters":case"TSHasOptionalTypeAnnotation":case"ChainElement":throw new Error("unprintable type: "+JSON.stringify(i.type));case"CommentBlock":case"Block":return W.concat(["/*",W.fromString(i.value,e),"*/"]);case"CommentLine":case"Line":return W.concat(["//",W.fromString(i.value,e)]);case"TypeAnnotation":return i.typeAnnotation?(i.typeAnnotation.type!=="FunctionTypeAnnotation"&&s.push(": "),s.push(t.call(r,"typeAnnotation")),W.concat(s)):W.fromString("");case"ExistentialTypeParam":case"ExistsTypeAnnotation":return W.fromString("*",e);case"EmptyTypeAnnotation":return W.fromString("empty",e);case"AnyTypeAnnotation":return W.fromString("any",e);case"MixedTypeAnnotation":return W.fromString("mixed",e);case"ArrayTypeAnnotation":return W.concat([t.call(r,"elementType"),"[]"]);case"TupleTypeAnnotation":{var nr=t.map(r,"types"),X=W.fromString(", ").join(nr),Mr=X.getLineLength(1)<=e.wrapColumn;return Mr?e.arrayBracketSpacing?s.push("[ "):s.push("["):s.push(`[
|
|
171
171
|
`),t.each(function(kr){var $s=kr.getName(),_n=kr.getValue();if(!_n)s.push(",");else{var Hf=nr[$s];Mr?$s>0&&s.push(" "):Hf=Hf.indent(e.tabWidth),s.push(Hf),($s<i.types.length-1||!Mr&&hc.isTrailingCommaEnabled(e,"arrays"))&&s.push(","),Mr||s.push(`
|
|
@@ -378,7 +378,7 @@ ${s}`)}function ggt(t,e){let{stackTraceLimit:r,prepareStackTrace:i}=Error,s;if(E
|
|
|
378
378
|
`);case 114:return o("\r");case 120:{let u;return{code:u,pos:e}=nV(t,e,r,i,2,!1,a,n),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:e}=$0e(t,e,r,i,a,n),o(u===null?null:String.fromCodePoint(u))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:t.charCodeAt(e)===10&&++e;case 10:r=e,++i;case 8232:case 8233:return o("");case 56:case 57:if(s)return o(null);n.strictNumericEscape(e-1,r,i);default:if(l>=48&&l<=55){let u=e-1,p=t.slice(u,e+2).match(/^[0-7]+/)[0],d=parseInt(p,8);d>255&&(p=p.slice(0,-1),d=parseInt(p,8)),e+=p.length-1;let f=t.charCodeAt(e);if(p!=="0"||f===56||f===57){if(s)return o(null);n.strictNumericEscape(u,r,i)}return o(String.fromCharCode(d))}return o(String.fromCharCode(l))}}function nV(t,e,r,i,s,n,a,o){let l=e,u;return{n:u,pos:e}=q0e(t,e,r,i,16,s,n,!1,o,!a),u===null&&(a?o.invalidEscapeSequence(l,r,i):e=l-1),{code:u,pos:e}}function q0e(t,e,r,i,s,n,a,o,l,u){let c=e,p=s===16?U0e.hex:U0e.decBinOct,d=s===16?k_.hex:s===10?k_.dec:s===8?k_.oct:k_.bin,f=!1,h=0;for(let m=0,g=n==null?1/0:n;m<g;++m){let b=t.charCodeAt(e),T;if(b===95&&o!=="bail"){let x=t.charCodeAt(e-1),v=t.charCodeAt(e+1);if(o){if(Number.isNaN(v)||!d(v)||p.has(x)||p.has(v)){if(u)return{n:null,pos:e};l.unexpectedNumericSeparator(e,r,i)}}else{if(u)return{n:null,pos:e};l.numericSeparatorInEscapeSequence(e,r,i)}++e;continue}if(b>=97?T=b-97+10:b>=65?T=b-65+10:fxt(b)?T=b-48:T=1/0,T>=s){if(T<=9&&u)return{n:null,pos:e};if(T<=9&&l.invalidDigit(e,r,i,s))T=0;else if(a)T=0,f=!0;else break}++e,h=h*s+T}return e===c||n!=null&&e-c!==n||f?{n:null,pos:e}:{n:h,pos:e}}function $0e(t,e,r,i,s,n){let a=t.charCodeAt(e),o;if(a===123){if(++e,{code:o,pos:e}=nV(t,e,r,i,t.indexOf("}",e)-e,!0,s,n),++e,o!==null&&o>1114111)if(s)n.invalidCodePoint(e,r,i);else return{code:null,pos:e}}else({code:o,pos:e}=nV(t,e,r,i,4,!1,s,n));return{code:o,pos:e}}});var Kd=E(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.UPDATE_OPERATORS=yr.UNARY_OPERATORS=yr.STRING_UNARY_OPERATORS=yr.STATEMENT_OR_BLOCK_KEYS=yr.NUMBER_UNARY_OPERATORS=yr.NUMBER_BINARY_OPERATORS=yr.NOT_LOCAL_BINDING=yr.LOGICAL_OPERATORS=yr.INHERIT_KEYS=yr.FOR_INIT_KEYS=yr.FLATTENABLE_KEYS=yr.EQUALITY_BINARY_OPERATORS=yr.COMPARISON_BINARY_OPERATORS=yr.COMMENT_KEYS=yr.BOOLEAN_UNARY_OPERATORS=yr.BOOLEAN_NUMBER_BINARY_OPERATORS=yr.BOOLEAN_BINARY_OPERATORS=yr.BLOCK_SCOPED_SYMBOL=yr.BINARY_OPERATORS=yr.ASSIGNMENT_OPERATORS=void 0;var g5r=yr.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],b5r=yr.FLATTENABLE_KEYS=["body","expressions"],v5r=yr.FOR_INIT_KEYS=["left","init"],S5r=yr.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],yxt=yr.LOGICAL_OPERATORS=["||","&&","??"],T5r=yr.UPDATE_OPERATORS=["++","--"],gxt=yr.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],bxt=yr.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],vxt=yr.COMPARISON_BINARY_OPERATORS=[...bxt,"in","instanceof"],Sxt=yr.BOOLEAN_BINARY_OPERATORS=[...vxt,...gxt],W0e=yr.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],x5r=yr.BINARY_OPERATORS=["+",...W0e,...Sxt,"|>"],E5r=yr.ASSIGNMENT_OPERATORS=["=","+=",...W0e.map(t=>t+"="),...yxt.map(t=>t+"=")],Txt=yr.BOOLEAN_UNARY_OPERATORS=["delete","!"],xxt=yr.NUMBER_UNARY_OPERATORS=["+","-","~"],Ext=yr.STRING_UNARY_OPERATORS=["typeof"],w5r=yr.UNARY_OPERATORS=["void","throw",...Txt,...xxt,...Ext],A5r=yr.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},P5r=yr.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),_5r=yr.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var Yp=E(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.VISITOR_KEYS=ii.NODE_PARENT_VALIDATIONS=ii.NODE_FIELDS=ii.FLIPPED_ALIAS_KEYS=ii.DEPRECATED_KEYS=ii.BUILDER_KEYS=ii.ALIAS_KEYS=void 0;ii.arrayOf=z0e;ii.arrayOfType=H0e;ii.assertEach=Y0e;ii.assertNodeOrValueType=Fxt;ii.assertNodeType=oV;ii.assertOneOf=Lxt;ii.assertOptionalChainStart=Bxt;ii.assertShape=Rxt;ii.assertValueType=cV;ii.chain=J0e;ii.default=X0e;ii.defineAliasedType=Vxt;ii.typeIs=R_;ii.validate=uV;ii.validateArrayOfType=kxt;ii.validateOptional=Ixt;ii.validateOptionalType=Oxt;ii.validateType=Nxt;var G0e=tb(),F_=B_(),wxt=ii.VISITOR_KEYS={},Axt=ii.ALIAS_KEYS={},aV=ii.FLIPPED_ALIAS_KEYS={},Pxt=ii.NODE_FIELDS={},_xt=ii.BUILDER_KEYS={},Cxt=ii.DEPRECATED_KEYS={},Dxt=ii.NODE_PARENT_VALIDATIONS={};function L_(t){return Array.isArray(t)?"array":t===null?"null":typeof t}function uV(t){return{validate:t}}function R_(t){return typeof t=="string"?oV(t):oV(...t)}function Nxt(t){return uV(R_(t))}function Ixt(t){return{validate:t,optional:!0}}function Oxt(t){return{validate:R_(t),optional:!0}}function z0e(t){return J0e(cV("array"),Y0e(t))}function H0e(t){return z0e(R_(t))}function kxt(t){return uV(H0e(t))}function Y0e(t){function e(r,i,s){if(Array.isArray(s))for(let n=0;n<s.length;n++){let a=`${i}[${n}]`,o=s[n];t(r,a,o),process.env.BABEL_TYPES_8_BREAKING&&(0,F_.validateChild)(r,a,o)}}return e.each=t,e}function Lxt(...t){function e(r,i,s){if(t.indexOf(s)<0)throw new TypeError(`Property ${i} expected value to be one of ${JSON.stringify(t)} but got ${JSON.stringify(s)}`)}return e.oneOf=t,e}function oV(...t){function e(r,i,s){for(let n of t)if((0,G0e.default)(n,s)){(0,F_.validateChild)(r,i,s);return}throw new TypeError(`Property ${i} of ${r.type} expected node to be of a type ${JSON.stringify(t)} but instead got ${JSON.stringify(s==null?void 0:s.type)}`)}return e.oneOfNodeTypes=t,e}function Fxt(...t){function e(r,i,s){for(let n of t)if(L_(s)===n||(0,G0e.default)(n,s)){(0,F_.validateChild)(r,i,s);return}throw new TypeError(`Property ${i} of ${r.type} expected node to be of a type ${JSON.stringify(t)} but instead got ${JSON.stringify(s==null?void 0:s.type)}`)}return e.oneOfNodeOrValueTypes=t,e}function cV(t){function e(r,i,s){if(!(L_(s)===t))throw new TypeError(`Property ${i} expected type of ${t} but got ${L_(s)}`)}return e.type=t,e}function Rxt(t){function e(r,i,s){let n=[];for(let a of Object.keys(t))try{(0,F_.validateField)(r,a,s[a],t[a])}catch(o){if(o instanceof TypeError){n.push(o.message);continue}throw o}if(n.length)throw new TypeError(`Property ${i} of ${r.type} expected to have the following:
|
|
379
379
|
${n.join(`
|
|
380
380
|
`)}`)}return e.shapeOf=t,e}function Bxt(){function t(e){var r;let i=e;for(;e;){let{type:s}=i;if(s==="OptionalCallExpression"){if(i.optional)return;i=i.callee;continue}if(s==="OptionalMemberExpression"){if(i.optional)return;i=i.object;continue}break}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(r=i)==null?void 0:r.type}`)}return t}function J0e(...t){function e(...r){for(let i of t)i(...r)}if(e.chainOf=t,t.length>=2&&"type"in t[0]&&t[0].type==="array"&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return e}var Mxt=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],jxt=["default","optional","deprecated","validate"],lV={};function Vxt(...t){return(e,r={})=>{let i=r.aliases;if(!i){var s,n;r.inherits&&(i=(s=lV[r.inherits].aliases)==null?void 0:s.slice()),(n=i)!=null||(i=[]),r.aliases=i}let a=t.filter(o=>!i.includes(o));i.unshift(...a),X0e(e,r)}}function X0e(t,e={}){let r=e.inherits&&lV[e.inherits]||{},i=e.fields;if(!i&&(i={},r.fields)){let o=Object.getOwnPropertyNames(r.fields);for(let l of o){let u=r.fields[l],c=u.default;if(Array.isArray(c)?c.length>0:c&&typeof c=="object")throw new Error("field defaults can only be primitives or empty arrays currently");i[l]={default:Array.isArray(c)?[]:c,optional:u.optional,deprecated:u.deprecated,validate:u.validate}}}let s=e.visitor||r.visitor||[],n=e.aliases||r.aliases||[],a=e.builder||r.builder||e.visitor||[];for(let o of Object.keys(e))if(Mxt.indexOf(o)===-1)throw new Error(`Unknown type option "${o}" on ${t}`);e.deprecatedAlias&&(Cxt[e.deprecatedAlias]=t);for(let o of s.concat(a))i[o]=i[o]||{};for(let o of Object.keys(i)){let l=i[o];l.default!==void 0&&a.indexOf(o)===-1&&(l.optional=!0),l.default===void 0?l.default=null:!l.validate&&l.default!=null&&(l.validate=cV(L_(l.default)));for(let u of Object.keys(l))if(jxt.indexOf(u)===-1)throw new Error(`Unknown field key "${u}" on ${t}.${o}`)}wxt[t]=e.visitor=s,_xt[t]=e.builder=a,Pxt[t]=e.fields=i,Axt[t]=e.aliases=n,n.forEach(o=>{aV[o]=aV[o]||[],aV[o].push(t)}),e.validate&&(Dxt[t]=e.validate),lV[t]=e}});var fV=E(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.patternLikeCommon=To.functionTypeAnnotationCommon=To.functionDeclarationCommon=To.functionCommon=To.classMethodOrPropertyCommon=To.classMethodOrDeclareMethodCommon=void 0;var Ma=tb(),Uxt=rb(),Q0e=Md(),qxt=K0e(),$T=Kd(),D=Yp(),ze=(0,D.defineAliasedType)("Standardized");ze("ArrayExpression",{fields:{elements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});ze("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,D.assertValueType)("string");let t=(0,D.assertOneOf)(...$T.ASSIGNMENT_OPERATORS),e=(0,D.assertOneOf)("=");return function(r,i,s){((0,Ma.default)("Pattern",r.left)?e:t)(r,i,s)}}()},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,D.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});ze("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,D.assertOneOf)(...$T.BINARY_OPERATORS)},left:{validate:function(){let t=(0,D.assertNodeType)("Expression"),e=(0,D.assertNodeType)("Expression","PrivateName");return Object.assign(function(i,s,n){(i.operator==="in"?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,D.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});ze("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});ze("Directive",{visitor:["value"],fields:{value:{validate:(0,D.assertNodeType)("DirectiveLiteral")}}});ze("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});ze("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Directive"))),default:[]},body:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]});ze("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});ze("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,D.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,D.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});ze("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});ze("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},consequent:{validate:(0,D.assertNodeType)("Expression")},alternate:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});ze("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});ze("DebuggerStatement",{aliases:["Statement"]});ze("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});ze("EmptyStatement",{aliases:["Statement"]});ze("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});ze("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,D.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertEach)((0,D.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,D.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});ze("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});ze("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,D.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,D.assertNodeType)("Expression"),optional:!0},update:{validate:(0,D.assertNodeType)("Expression"),optional:!0},body:{validate:(0,D.assertNodeType)("Statement")}}});var ib=()=>({params:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});To.functionCommon=ib;var w0=()=>({returnType:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});To.functionTypeAnnotationCommon=w0;var Z0e=()=>Object.assign({},ib(),{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}});To.functionDeclarationCommon=Z0e;ze("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},Z0e(),w0(),{body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return()=>{};let t=(0,D.assertNodeType)("Identifier");return function(e,r,i){(0,Ma.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id)}}()});ze("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ib(),w0(),{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var sb=()=>({typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0}});To.patternLikeCommon=sb;ze("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},sb(),{name:{validate:(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,Uxt.default)(r,!1))throw new TypeError(`"${r}" is not a valid identifier name`)},{type:"string"}))}}),validate(t,e,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i=/\.(\w+)$/.exec(e);if(!i)return;let[,s]=i,n={computed:!1};if(s==="property"){if((0,Ma.default)("MemberExpression",t,n)||(0,Ma.default)("OptionalMemberExpression",t,n))return}else if(s==="key"){if((0,Ma.default)("Property",t,n)||(0,Ma.default)("Method",t,n))return}else if(s==="exported"){if((0,Ma.default)("ExportSpecifier",t))return}else if(s==="imported"){if((0,Ma.default)("ImportSpecifier",t,{imported:r}))return}else if(s==="meta"&&(0,Ma.default)("MetaProperty",t,{meta:r}))return;if(((0,Q0e.isKeyword)(r.name)||(0,Q0e.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}});ze("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},consequent:{validate:(0,D.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,D.assertNodeType)("Statement")}}});ze("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,D.assertNodeType)("Identifier")},body:{validate:(0,D.assertNodeType)("Statement")}}});ze("StringLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ze("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,D.chain)((0,D.assertValueType)("number"),Object.assign(function(t,e,r){if(1/r<0||!Number.isFinite(r)){let i=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});ze("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});ze("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});ze("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,D.assertValueType)("string")},flags:{validate:(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(t,e,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i=/[^gimsuy]/.exec(r);if(i)throw new TypeError(`"${i[0]}" is not a valid RegExp flag`)},{type:"string"})),default:""}}});ze("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,D.assertOneOf)(...$T.LOGICAL_OPERATORS)},left:{validate:(0,D.assertNodeType)("Expression")},right:{validate:(0,D.assertNodeType)("Expression")}}});ze("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,D.assertNodeType)("Expression","Super")},property:{validate:function(){let t=(0,D.assertNodeType)("Identifier","PrivateName"),e=(0,D.assertNodeType)("Expression"),r=function(i,s,n){(i.computed?e:t)(i,s,n)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,D.assertOneOf)(!0,!1),optional:!0}})});ze("NewExpression",{inherits:"CallExpression"});ze("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,D.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,D.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Directive"))),default:[]},body:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]});ze("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});ze("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},ib(),w0(),{kind:Object.assign({validate:(0,D.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let t=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),e=(0,D.assertNodeType)("Expression"),r=function(i,s,n){(i.computed?e:t)(i,s,n)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});ze("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let t=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),e=(0,D.assertNodeType)("Expression");return Object.assign(function(i,s,n){(i.computed?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,D.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&t.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")},{type:"boolean"}),function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!(0,Ma.default)("Identifier",t.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}),default:!1},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){let t=(0,D.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),e=(0,D.assertNodeType)("Expression");return function(r,i,s){if(!process.env.BABEL_TYPES_8_BREAKING)return;((0,Ma.default)("ObjectPattern",r)?t:e)(s,"value",s.value)}}()});ze("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},sb(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,D.assertNodeType)("LVal")}}),validate(t,e){if(!process.env.BABEL_TYPES_8_BREAKING)return;let r=/(\w+)\[(\d+)\]/.exec(e);if(!r)throw new Error("Internal Babel error: malformed key.");let[,i,s]=r;if(t[i].length>+s+1)throw new TypeError(`RestElement must be last element of ${i}`)}});ze("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});ze("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression")))}},aliases:["Expression"]});ze("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}}});ze("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,D.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Statement")))}}});ze("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,D.assertNodeType)("Expression")},cases:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("SwitchCase")))}}});ze("ThisExpression",{aliases:["Expression"]});ze("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});ze("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,D.chain)((0,D.assertNodeType)("BlockStatement"),Object.assign(function(t){if(process.env.BABEL_TYPES_8_BREAKING&&!t.handler&&!t.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,D.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,D.assertNodeType)("BlockStatement")}}});ze("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...$T.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});ze("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.assertNodeType)("Identifier","MemberExpression"):(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...$T.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});ze("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},kind:{validate:(0,D.assertOneOf)("var","let","const","using","await using")},declarations:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("VariableDeclarator")))}},validate(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&(0,Ma.default)("ForXStatement",t,{left:r})&&r.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${t.type}`)}});ze("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,D.assertNodeType)("LVal");let t=(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),e=(0,D.assertNodeType)("Identifier");return function(r,i,s){(r.init?t:e)(r,i,s)}}()},definite:{optional:!0,validate:(0,D.assertValueType)("boolean")},init:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});ze("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});ze("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});ze("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},sb(),{left:{validate:(0,D.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,D.assertNodeType)("Expression")},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0}})});ze("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},sb(),{elements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeOrValueType)("null","PatternLike","LVal")))}})});ze("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ib(),w0(),{expression:{validate:(0,D.assertValueType)("boolean")},body:{validate:(0,D.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});ze("ClassBody",{visitor:["body"],fields:{body:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")))}}});ze("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,D.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,D.assertNodeType)("Expression")},superTypeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,D.assertNodeType)("InterfaceExtends"),optional:!0}}});ze("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,D.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,D.assertNodeType)("Expression")},superTypeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,D.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,D.assertValueType)("boolean"),optional:!0}},validate:function(){let t=(0,D.assertNodeType)("Identifier");return function(e,r,i){process.env.BABEL_TYPES_8_BREAKING&&((0,Ma.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id))}}()});ze("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{source:{validate:(0,D.assertNodeType)("StringLiteral")},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("type","value")),attributes:{optional:!0,validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportAttribute")))}}});ze("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,D.assertNodeType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression")},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("value"))}});ze("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,D.chain)((0,D.assertNodeType)("Declaration"),Object.assign(function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&t.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")},{oneOfNodeTypes:["Declaration"]}),function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&t.source)throw new TypeError("Cannot export a declaration from a source")})},attributes:{optional:!0,validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)(function(){let t=(0,D.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),e=(0,D.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?function(r,i,s){(r.source?t:e)(r,i,s)}:t}()))},source:{validate:(0,D.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,D.validateOptional)((0,D.assertOneOf)("type","value"))}});ze("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")},exported:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,D.assertOneOf)("type","value"),optional:!0}}});ze("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,D.assertNodeType)("VariableDeclaration","LVal");let t=(0,D.assertNodeType)("VariableDeclaration"),e=(0,D.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return function(r,i,s){(0,Ma.default)("VariableDeclaration",s)?t(r,i,s):e(r,i,s)}}()},right:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")},await:{default:!1}}});ze("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:{attributes:{optional:!0,validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportAttribute")))},assertions:{optional:!0,validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportAttribute")))},module:{optional:!0,validate:(0,D.assertValueType)("boolean")},phase:{default:null,validate:(0,D.assertOneOf)("source","defer")},specifiers:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,D.assertNodeType)("StringLiteral")},importKind:{validate:(0,D.assertOneOf)("type","typeof","value"),optional:!0}}});ze("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});ze("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});ze("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")},imported:{validate:(0,D.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,D.assertOneOf)("type","typeof","value"),optional:!0}}});ze("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,D.assertOneOf)("source","defer")},source:{validate:(0,D.assertNodeType)("Expression")},options:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});ze("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,D.chain)((0,D.assertNodeType)("Identifier"),Object.assign(function(t,e,r){if(!process.env.BABEL_TYPES_8_BREAKING)return;let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,Ma.default)("Identifier",t.property,{name:i}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,D.assertNodeType)("Identifier")}}});var M_=()=>({abstract:{validate:(0,D.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,D.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,D.assertValueType)("boolean"),optional:!0},key:{validate:(0,D.chain)(function(){let t=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),e=(0,D.assertNodeType)("Expression");return function(r,i,s){(r.computed?e:t)(r,i,s)}}(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});To.classMethodOrPropertyCommon=M_;var pV=()=>Object.assign({},ib(),M_(),{params:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,D.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,D.chain)((0,D.assertValueType)("string"),(0,D.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0}});To.classMethodOrDeclareMethodCommon=pV;ze("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},pV(),w0(),{body:{validate:(0,D.assertNodeType)("BlockStatement")}})});ze("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},sb(),{properties:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("RestElement","ObjectProperty")))}})});ze("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});ze("Super",{aliases:["Expression"]});ze("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,D.assertNodeType)("Expression")},quasi:{validate:(0,D.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});ze("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,D.chain)((0,D.assertShape)({raw:{validate:(0,D.assertValueType)("string")},cooked:{validate:(0,D.assertValueType)("string"),optional:!0}}),function(e){let r=e.value.raw,i=!1,s=()=>{throw new Error("Internal @babel/types error.")},{str:n,firstInvalidLoc:a}=(0,qxt.readStringContents)("template",r,0,0,0,{unterminated(){i=!0},strictNumericEscape:s,invalidEscapeSequence:s,numericSeparatorInEscapeSequence:s,unexpectedNumericSeparator:s,invalidDigit:s,invalidCodePoint:s});if(!i)throw new Error("Invalid raw");e.value.cooked=a?null:n})},tail:{default:!1}}});ze("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("TemplateElement")))},expressions:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression","TSType")),function(t,e,r){if(t.quasis.length!==r.length+1)throw new TypeError(`Number of ${t.type} quasis should be exactly one more than the number of expressions.
|
|
381
|
-
Expected ${r.length+1} quasis but got ${t.quasis.length}`)})}}});ze("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!t.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});ze("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});ze("Import",{aliases:["Expression"]});ze("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ze("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,D.assertNodeType)("Identifier")}}});ze("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},property:{validate:function(){let t=(0,D.assertNodeType)("Identifier"),e=(0,D.assertNodeType)("Expression");return Object.assign(function(i,s,n){(i.computed?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")}}});ze("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,D.assertNodeType)("Expression")},arguments:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")},typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}});ze("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},M_(),{value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});ze("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},M_(),{key:{validate:(0,D.chain)(function(){let t=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),e=(0,D.assertNodeType)("Expression");return function(r,i,s){(r.computed?e:t)(r,i,s)}}(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});ze("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,D.assertNodeType)("PrivateName")},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,D.assertValueType)("boolean"),default:!1},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}}});ze("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},pV(),w0(),{kind:{validate:(0,D.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,D.assertNodeType)("PrivateName")},body:{validate:(0,D.assertNodeType)("BlockStatement")}})});ze("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,D.assertNodeType)("Identifier")}}});ze("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})});var eye=E(()=>{"use strict";var de=Yp(),Et=(0,de.defineAliasedType)("Flow"),dV=t=>{let e=t==="DeclareClass";Et(t,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...e?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),extends:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends"))},e?{mixins:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends")),implements:(0,de.validateOptional)((0,de.arrayOfType)("ClassImplements"))}:{},{body:(0,de.validateType)("ObjectTypeAnnotation")})})};Et("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,de.validateType)("FlowType")}});Et("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});dV("DeclareClass");Et("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),predicate:(0,de.validateOptionalType)("DeclaredPredicate")}});dV("DeclareInterface");Et("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)(["Identifier","StringLiteral"]),body:(0,de.validateType)("BlockStatement"),kind:(0,de.validateOptional)((0,de.assertOneOf)("CommonJS","ES"))}});Et("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Et("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),right:(0,de.validateType)("FlowType")}});Et("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,de.validateOptionalType)("FlowType"),impltype:(0,de.validateOptionalType)("FlowType")}});Et("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier")}});Et("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,de.validateOptionalType)("Flow"),specifiers:(0,de.validateOptional)((0,de.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,de.validateOptionalType)("StringLiteral"),default:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Et("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,de.validateType)("StringLiteral"),exportKind:(0,de.validateOptional)((0,de.assertOneOf)("type","value"))}});Et("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,de.validateType)("Flow")}});Et("ExistsTypeAnnotation",{aliases:["FlowType"]});Et("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),params:(0,de.validate)((0,de.arrayOfType)("FunctionTypeParam")),rest:(0,de.validateOptionalType)("FunctionTypeParam"),this:(0,de.validateOptionalType)("FunctionTypeParam"),returnType:(0,de.validateType)("FlowType")}});Et("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,de.validateOptionalType)("Identifier"),typeAnnotation:(0,de.validateType)("FlowType"),optional:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Et("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});Et("InferredPredicate",{aliases:["FlowPredicate"]});Et("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});dV("InterfaceDeclaration");Et("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends")),body:(0,de.validateType)("ObjectTypeAnnotation")}});Et("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Et("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("number"))}});Et("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,de.validate)((0,de.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,de.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,de.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,de.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,de.assertValueType)("boolean"),default:!1},inexact:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,de.validateType)("Identifier"),value:(0,de.validateType)("FlowType"),optional:(0,de.validate)((0,de.assertValueType)("boolean")),static:(0,de.validate)((0,de.assertValueType)("boolean")),method:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,de.validateType)("FlowType"),static:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,de.validateOptionalType)("Identifier"),key:(0,de.validateType)("FlowType"),value:(0,de.validateType)("FlowType"),static:(0,de.validate)((0,de.assertValueType)("boolean")),variance:(0,de.validateOptionalType)("Variance")}});Et("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,de.validateType)(["Identifier","StringLiteral"]),value:(0,de.validateType)("FlowType"),kind:(0,de.validate)((0,de.assertOneOf)("init","get","set")),static:(0,de.validate)((0,de.assertValueType)("boolean")),proto:(0,de.validate)((0,de.assertValueType)("boolean")),optional:(0,de.validate)((0,de.assertValueType)("boolean")),variance:(0,de.validateOptionalType)("Variance"),method:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,de.validateType)("FlowType")}});Et("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,de.validateOptionalType)("FlowType"),impltype:(0,de.validateType)("FlowType")}});Et("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,de.validateType)("Identifier"),qualification:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"])}});Et("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("string"))}});Et("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,de.validateType)("FlowType")}});Et("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),right:(0,de.validateType)("FlowType")}});Et("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Et("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,de.validateType)("Expression"),typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Et("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,de.validate)((0,de.assertValueType)("string")),bound:(0,de.validateOptionalType)("TypeAnnotation"),default:(0,de.validateOptionalType)("FlowType"),variance:(0,de.validateOptionalType)("Variance")}});Et("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("TypeParameter"))}});Et("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("Variance",{builder:["kind"],fields:{kind:(0,de.validate)((0,de.assertOneOf)("minus","plus"))}});Et("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,de.validateType)("Identifier"),body:(0,de.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});Et("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,de.validate)((0,de.assertValueType)("boolean")),members:(0,de.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,de.validate)((0,de.assertValueType)("boolean")),members:(0,de.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,de.validate)((0,de.assertValueType)("boolean")),members:(0,de.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,de.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("BooleanLiteral")}});Et("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("NumericLiteral")}});Et("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("StringLiteral")}});Et("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier")}});Et("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,de.validateType)("FlowType"),indexType:(0,de.validateType)("FlowType")}});Et("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,de.validateType)("FlowType"),indexType:(0,de.validateType)("FlowType"),optional:(0,de.validate)((0,de.assertValueType)("boolean"))}})});var tye=E(()=>{"use strict";var mi=Yp(),ja=(0,mi.defineAliasedType)("JSX");ja("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,mi.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,mi.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});ja("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,mi.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});ja("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,mi.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,mi.assertNodeType)("JSXClosingElement")},children:{validate:(0,mi.chain)((0,mi.assertValueType)("array"),(0,mi.assertEach)((0,mi.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,mi.assertValueType)("boolean"),optional:!0}})});ja("JSXEmptyExpression",{});ja("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,mi.assertNodeType)("Expression","JSXEmptyExpression")}}});ja("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,mi.assertNodeType)("Expression")}}});ja("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,mi.assertValueType)("string")}}});ja("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,mi.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,mi.assertNodeType)("JSXIdentifier")}}});ja("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,mi.assertNodeType)("JSXIdentifier")},name:{validate:(0,mi.assertNodeType)("JSXIdentifier")}}});ja("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,mi.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,mi.chain)((0,mi.assertValueType)("array"),(0,mi.assertEach)((0,mi.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,mi.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});ja("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,mi.assertNodeType)("Expression")}}});ja("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,mi.assertValueType)("string")}}});ja("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,mi.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,mi.assertNodeType)("JSXClosingFragment")},children:{validate:(0,mi.chain)((0,mi.assertValueType)("array"),(0,mi.assertEach)((0,mi.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});ja("JSXOpeningFragment",{aliases:["Immutable"]});ja("JSXClosingFragment",{aliases:["Immutable"]})});var yV=E(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.PLACEHOLDERS_FLIPPED_ALIAS=Wd.PLACEHOLDERS_ALIAS=Wd.PLACEHOLDERS=void 0;var $xt=Yp(),Kxt=Wd.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],mV=Wd.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let t of Kxt){let e=$xt.ALIAS_KEYS[t];e!=null&&e.length&&(mV[t]=e)}var hV=Wd.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(mV).forEach(t=>{mV[t].forEach(e=>{Object.hasOwnProperty.call(hV,e)||(hV[e]=[]),hV[e].push(t)})})});var rye=E(()=>{"use strict";var j_=Yp(),Wxt=yV(),gV=(0,j_.defineAliasedType)("Miscellaneous");gV("Noop",{visitor:[]});gV("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,j_.assertNodeType)("Identifier")},expectedNode:{validate:(0,j_.assertOneOf)(...Wxt.PLACEHOLDERS)}}});gV("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,j_.assertValueType)("string")}}})});var iye=E(()=>{"use strict";var si=Yp();(0,si.default)("ArgumentPlaceholder",{});(0,si.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,si.assertNodeType)("Expression")},callee:{validate:(0,si.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,si.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,si.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,si.assertNodeType)("StringLiteral")}}});(0,si.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,si.assertNodeType)("Expression")}}});(0,si.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,si.assertNodeType)("BlockStatement")},async:{validate:(0,si.assertValueType)("boolean"),default:!1}}});(0,si.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,si.assertNodeType)("Identifier")}}});(0,si.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,si.chain)((0,si.assertValueType)("array"),(0,si.assertEach)((0,si.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,si.default)("TupleExpression",{fields:{elements:{validate:(0,si.chain)((0,si.assertValueType)("array"),(0,si.assertEach)((0,si.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,si.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,si.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,si.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,si.assertNodeType)("Program")}},aliases:["Expression"]});(0,si.default)("TopicReference",{aliases:["Expression"]});(0,si.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,si.assertNodeType)("Expression")}},aliases:["Expression"]});(0,si.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,si.assertNodeType)("Expression")}},aliases:["Expression"]});(0,si.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var pye=E(()=>{"use strict";var ke=Yp(),sye=fV(),Gxt=tb(),qt=(0,ke.defineAliasedType)("TypeScript"),xo=(0,ke.assertValueType)("boolean"),nye=()=>({returnType:{validate:(0,ke.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,ke.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});qt("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,ke.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,ke.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,ke.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,ke.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,ke.chain)((0,ke.assertValueType)("array"),(0,ke.assertEach)((0,ke.assertNodeType)("Decorator"))),optional:!0}}});qt("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,sye.functionDeclarationCommon)(),nye())});qt("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,sye.classMethodOrDeclareMethodCommon)(),nye())});qt("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,ke.validateType)("TSEntityName"),right:(0,ke.validateType)("Identifier")}});var V_=()=>({typeParameters:(0,ke.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,ke.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation")}),aye={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:V_()};qt("TSCallSignatureDeclaration",aye);qt("TSConstructSignatureDeclaration",aye);var oye=()=>({key:(0,ke.validateType)("Expression"),computed:{default:!1},optional:(0,ke.validateOptional)(xo)});qt("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},oye(),{readonly:(0,ke.validateOptional)(xo),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,ke.assertOneOf)("get","set")}})});qt("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},V_(),oye(),{kind:{validate:(0,ke.assertOneOf)("method","get","set")}})});qt("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,ke.validateOptional)(xo),static:(0,ke.validateOptional)(xo),parameters:(0,ke.validateArrayOfType)("Identifier"),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation")}});var zxt=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let t of zxt)qt(t,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});qt("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var lye={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};qt("TSFunctionType",Object.assign({},lye,{fields:V_()}));qt("TSConstructorType",Object.assign({},lye,{fields:Object.assign({},V_(),{abstract:(0,ke.validateOptional)(xo)})}));qt("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,ke.validateType)("TSEntityName"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,ke.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation"),asserts:(0,ke.validateOptional)(xo)}});qt("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,ke.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,ke.validateArrayOfType)("TSTypeElement")}});qt("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,ke.validateType)("TSType")}});qt("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,ke.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});qt("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,ke.validateType)("Identifier"),optional:{validate:xo,default:!1},elementType:(0,ke.validateType)("TSType")}});var uye={aliases:["TSType"],visitor:["types"],fields:{types:(0,ke.validateArrayOfType)("TSType")}};qt("TSUnionType",uye);qt("TSIntersectionType",uye);qt("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,ke.validateType)("TSType"),extendsType:(0,ke.validateType)("TSType"),trueType:(0,ke.validateType)("TSType"),falseType:(0,ke.validateType)("TSType")}});qt("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,ke.validateType)("TSTypeParameter")}});qt("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,ke.validate)((0,ke.assertValueType)("string")),typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,ke.validateType)("TSType"),indexType:(0,ke.validateType)("TSType")}});qt("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,ke.validateOptional)((0,ke.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,ke.validateType)("TSTypeParameter"),optional:(0,ke.validateOptional)((0,ke.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,ke.validateOptionalType)("TSType"),nameType:(0,ke.validateOptionalType)("TSType")}});qt("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,ke.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,ke.assertOneOf)("-"),r=(0,ke.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function i(s,n,a){(0,Gxt.default)("UnaryExpression",a)?(e(a,"operator",a.operator),t(a,"argument",a.argument)):r(s,n,a)}return i.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],i}()}}});qt("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,ke.validateType)("TSEntityName"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,ke.validateOptional)(xo),id:(0,ke.validateType)("Identifier"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,ke.validateOptional)((0,ke.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,ke.validateType)("TSInterfaceBody")}});qt("TSInterfaceBody",{visitor:["body"],fields:{body:(0,ke.validateArrayOfType)("TSTypeElement")}});qt("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,ke.validateOptional)(xo),id:(0,ke.validateType)("Identifier"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,ke.validateType)("Expression"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});var cye={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,ke.validateType)("Expression"),typeAnnotation:(0,ke.validateType)("TSType")}};qt("TSAsExpression",cye);qt("TSSatisfiesExpression",cye);qt("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,ke.validateType)("TSType"),expression:(0,ke.validateType)("Expression")}});qt("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,ke.validateOptional)(xo),const:(0,ke.validateOptional)(xo),id:(0,ke.validateType)("Identifier"),members:(0,ke.validateArrayOfType)("TSEnumMember"),initializer:(0,ke.validateOptionalType)("Expression")}});qt("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,ke.validateType)(["Identifier","StringLiteral"]),initializer:(0,ke.validateOptionalType)("Expression")}});qt("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,ke.validateOptional)(xo),global:(0,ke.validateOptional)(xo),id:(0,ke.validateType)(["Identifier","StringLiteral"]),body:(0,ke.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});qt("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,ke.validateArrayOfType)("Statement")}});qt("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,ke.validateType)("StringLiteral"),qualifier:(0,ke.validateOptionalType)("TSEntityName"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,ke.validate)(xo),id:(0,ke.validateType)("Identifier"),moduleReference:(0,ke.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,ke.assertOneOf)("type","value"),optional:!0}}});qt("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,ke.validateType)("StringLiteral")}});qt("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,ke.validateType)("Expression")}});qt("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,ke.validateType)("Expression")}});qt("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,ke.validateType)("Identifier")}});qt("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,ke.assertNodeType)("TSType")}}});qt("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,ke.chain)((0,ke.assertValueType)("array"),(0,ke.assertEach)((0,ke.assertNodeType)("TSType")))}}});qt("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,ke.chain)((0,ke.assertValueType)("array"),(0,ke.assertEach)((0,ke.assertNodeType)("TSTypeParameter")))}}});qt("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,ke.assertValueType)("string")},in:{validate:(0,ke.assertValueType)("boolean"),optional:!0},out:{validate:(0,ke.assertValueType)("boolean"),optional:!0},const:{validate:(0,ke.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,ke.assertNodeType)("TSType"),optional:!0},default:{validate:(0,ke.assertNodeType)("TSType"),optional:!0}}})});var fye=E(U_=>{"use strict";Object.defineProperty(U_,"__esModule",{value:!0});U_.DEPRECATED_ALIASES=void 0;var q5r=U_.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var Rl=E(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Object.defineProperty(Va,"ALIAS_KEYS",{enumerable:!0,get:function(){return Mn.ALIAS_KEYS}});Object.defineProperty(Va,"BUILDER_KEYS",{enumerable:!0,get:function(){return Mn.BUILDER_KEYS}});Object.defineProperty(Va,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return bV.DEPRECATED_ALIASES}});Object.defineProperty(Va,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Mn.DEPRECATED_KEYS}});Object.defineProperty(Va,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Mn.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Va,"NODE_FIELDS",{enumerable:!0,get:function(){return Mn.NODE_FIELDS}});Object.defineProperty(Va,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Mn.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Va,"PLACEHOLDERS",{enumerable:!0,get:function(){return KT.PLACEHOLDERS}});Object.defineProperty(Va,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return KT.PLACEHOLDERS_ALIAS}});Object.defineProperty(Va,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return KT.PLACEHOLDERS_FLIPPED_ALIAS}});Va.TYPES=void 0;Object.defineProperty(Va,"VISITOR_KEYS",{enumerable:!0,get:function(){return Mn.VISITOR_KEYS}});var Gd=eM();fV();eye();tye();rye();iye();pye();var Mn=Yp(),KT=yV(),bV=fye();Object.keys(bV.DEPRECATED_ALIASES).forEach(t=>{Mn.FLIPPED_ALIAS_KEYS[t]=Mn.FLIPPED_ALIAS_KEYS[bV.DEPRECATED_ALIASES[t]]});Gd(Mn.VISITOR_KEYS);Gd(Mn.ALIAS_KEYS);Gd(Mn.FLIPPED_ALIAS_KEYS);Gd(Mn.NODE_FIELDS);Gd(Mn.BUILDER_KEYS);Gd(Mn.DEPRECATED_KEYS);Gd(KT.PLACEHOLDERS_ALIAS);Gd(KT.PLACEHOLDERS_FLIPPED_ALIAS);var K5r=Va.TYPES=[].concat(Object.keys(Mn.VISITOR_KEYS),Object.keys(Mn.FLIPPED_ALIAS_KEYS),Object.keys(Mn.DEPRECATED_KEYS))});var B_=E(WT=>{"use strict";Object.defineProperty(WT,"__esModule",{value:!0});WT.default=Hxt;WT.validateChild=mye;WT.validateField=hye;var dye=Rl();function Hxt(t,e,r){if(!t)return;let i=dye.NODE_FIELDS[t.type];if(!i)return;let s=i[e];hye(t,e,r,s),mye(t,e,r)}function hye(t,e,r,i){i!=null&&i.validate&&(i.optional&&r==null||i.validate(t,e,r))}function mye(t,e,r){if(r==null)return;let i=dye.NODE_PARENT_VALIDATIONS[r.type];i&&i(t,e,r)}});var yye=E(vV=>{"use strict";Object.defineProperty(vV,"__esModule",{value:!0});vV.default=Xxt;var Yxt=B_(),Jxt=gr();function Xxt(t){let e=Jxt.BUILDER_KEYS[t.type];for(let r of e)(0,Yxt.default)(t,r,t[r]);return t}});var Ua=E(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});O.anyTypeAnnotation=Cwt;O.argumentPlaceholder=i3t;O.arrayExpression=Qxt;O.arrayPattern=zEt;O.arrayTypeAnnotation=Dwt;O.arrowFunctionExpression=HEt;O.assignmentExpression=Zxt;O.assignmentPattern=GEt;O.awaitExpression=ywt;O.bigIntLiteral=bwt;O.binaryExpression=eEt;O.bindExpression=s3t;O.blockStatement=sEt;O.booleanLiteral=wEt;O.booleanLiteralTypeAnnotation=Iwt;O.booleanTypeAnnotation=Nwt;O.breakStatement=nEt;O.callExpression=aEt;O.catchClause=oEt;O.classAccessorProperty=Ewt;O.classBody=YEt;O.classDeclaration=XEt;O.classExpression=JEt;O.classImplements=kwt;O.classMethod=uwt;O.classPrivateMethod=Awt;O.classPrivateProperty=wwt;O.classProperty=xwt;O.conditionalExpression=lEt;O.continueStatement=uEt;O.debuggerStatement=cEt;O.decimalLiteral=p3t;O.declareClass=Lwt;O.declareExportAllDeclaration=$wt;O.declareExportDeclaration=qwt;O.declareFunction=Fwt;O.declareInterface=Rwt;O.declareModule=Bwt;O.declareModuleExports=Mwt;O.declareOpaqueType=Vwt;O.declareTypeAlias=jwt;O.declareVariable=Uwt;O.declaredPredicate=Kwt;O.decorator=a3t;O.directive=rEt;O.directiveLiteral=iEt;O.doExpression=o3t;O.doWhileStatement=pEt;O.emptyStatement=fEt;O.emptyTypeAnnotation=tAt;O.enumBooleanBody=DAt;O.enumBooleanMember=kAt;O.enumDeclaration=CAt;O.enumDefaultedMember=RAt;O.enumNumberBody=NAt;O.enumNumberMember=LAt;O.enumStringBody=IAt;O.enumStringMember=FAt;O.enumSymbolBody=OAt;O.existsTypeAnnotation=Wwt;O.exportAllDeclaration=QEt;O.exportDefaultDeclaration=ZEt;O.exportDefaultSpecifier=l3t;O.exportNamedDeclaration=ewt;O.exportNamespaceSpecifier=vwt;O.exportSpecifier=twt;O.expressionStatement=dEt;O.file=hEt;O.forInStatement=mEt;O.forOfStatement=rwt;O.forStatement=yEt;O.functionDeclaration=gEt;O.functionExpression=bEt;O.functionTypeAnnotation=Gwt;O.functionTypeParam=zwt;O.genericTypeAnnotation=Hwt;O.identifier=vEt;O.ifStatement=SEt;O.import=gwt;O.importAttribute=n3t;O.importDeclaration=iwt;O.importDefaultSpecifier=swt;O.importExpression=owt;O.importNamespaceSpecifier=nwt;O.importSpecifier=awt;O.indexedAccessType=BAt;O.inferredPredicate=Ywt;O.interfaceDeclaration=Xwt;O.interfaceExtends=Jwt;O.interfaceTypeAnnotation=Qwt;O.interpreterDirective=tEt;O.intersectionTypeAnnotation=Zwt;O.jSXAttribute=O.jsxAttribute=jAt;O.jSXClosingElement=O.jsxClosingElement=VAt;O.jSXClosingFragment=O.jsxClosingFragment=ZAt;O.jSXElement=O.jsxElement=UAt;O.jSXEmptyExpression=O.jsxEmptyExpression=qAt;O.jSXExpressionContainer=O.jsxExpressionContainer=$At;O.jSXFragment=O.jsxFragment=XAt;O.jSXIdentifier=O.jsxIdentifier=WAt;O.jSXMemberExpression=O.jsxMemberExpression=GAt;O.jSXNamespacedName=O.jsxNamespacedName=zAt;O.jSXOpeningElement=O.jsxOpeningElement=HAt;O.jSXOpeningFragment=O.jsxOpeningFragment=QAt;O.jSXSpreadAttribute=O.jsxSpreadAttribute=YAt;O.jSXSpreadChild=O.jsxSpreadChild=KAt;O.jSXText=O.jsxText=JAt;O.labeledStatement=TEt;O.logicalExpression=AEt;O.memberExpression=PEt;O.metaProperty=lwt;O.mixedTypeAnnotation=eAt;O.moduleExpression=f3t;O.newExpression=_Et;O.noop=e3t;O.nullLiteral=EEt;O.nullLiteralTypeAnnotation=Owt;O.nullableTypeAnnotation=rAt;O.numberLiteral=C6t;O.numberLiteralTypeAnnotation=iAt;O.numberTypeAnnotation=sAt;O.numericLiteral=gye;O.objectExpression=DEt;O.objectMethod=NEt;O.objectPattern=cwt;O.objectProperty=IEt;O.objectTypeAnnotation=nAt;O.objectTypeCallProperty=oAt;O.objectTypeIndexer=lAt;O.objectTypeInternalSlot=aAt;O.objectTypeProperty=uAt;O.objectTypeSpreadProperty=cAt;O.opaqueType=pAt;O.optionalCallExpression=Twt;O.optionalIndexedAccessType=MAt;O.optionalMemberExpression=Swt;O.parenthesizedExpression=LEt;O.pipelineBareFunction=m3t;O.pipelinePrimaryTopicReference=y3t;O.pipelineTopicExpression=h3t;O.placeholder=t3t;O.privateName=Pwt;O.program=CEt;O.qualifiedTypeIdentifier=fAt;O.recordExpression=u3t;O.regExpLiteral=bye;O.regexLiteral=D6t;O.restElement=vye;O.restProperty=N6t;O.returnStatement=OEt;O.sequenceExpression=kEt;O.spreadElement=Sye;O.spreadProperty=I6t;O.staticBlock=_wt;O.stringLiteral=xEt;O.stringLiteralTypeAnnotation=dAt;O.stringTypeAnnotation=hAt;O.super=pwt;O.switchCase=FEt;O.switchStatement=REt;O.symbolTypeAnnotation=mAt;O.taggedTemplateExpression=fwt;O.templateElement=dwt;O.templateLiteral=hwt;O.thisExpression=BEt;O.thisTypeAnnotation=yAt;O.throwStatement=MEt;O.topicReference=d3t;O.tryStatement=jEt;O.tSAnyKeyword=O.tsAnyKeyword=P3t;O.tSArrayType=O.tsArrayType=G3t;O.tSAsExpression=O.tsAsExpression=p6t;O.tSBigIntKeyword=O.tsBigIntKeyword=C3t;O.tSBooleanKeyword=O.tsBooleanKeyword=_3t;O.tSCallSignatureDeclaration=O.tsCallSignatureDeclaration=T3t;O.tSConditionalType=O.tsConditionalType=Z3t;O.tSConstructSignatureDeclaration=O.tsConstructSignatureDeclaration=x3t;O.tSConstructorType=O.tsConstructorType=U3t;O.tSDeclareFunction=O.tsDeclareFunction=b3t;O.tSDeclareMethod=O.tsDeclareMethod=v3t;O.tSEnumDeclaration=O.tsEnumDeclaration=h6t;O.tSEnumMember=O.tsEnumMember=m6t;O.tSExportAssignment=O.tsExportAssignment=x6t;O.tSExpressionWithTypeArguments=O.tsExpressionWithTypeArguments=a6t;O.tSExternalModuleReference=O.tsExternalModuleReference=S6t;O.tSFunctionType=O.tsFunctionType=V3t;O.tSImportEqualsDeclaration=O.tsImportEqualsDeclaration=v6t;O.tSImportType=O.tsImportType=b6t;O.tSIndexSignature=O.tsIndexSignature=A3t;O.tSIndexedAccessType=O.tsIndexedAccessType=i6t;O.tSInferType=O.tsInferType=e6t;O.tSInstantiationExpression=O.tsInstantiationExpression=c6t;O.tSInterfaceBody=O.tsInterfaceBody=l6t;O.tSInterfaceDeclaration=O.tsInterfaceDeclaration=o6t;O.tSIntersectionType=O.tsIntersectionType=Q3t;O.tSIntrinsicKeyword=O.tsIntrinsicKeyword=D3t;O.tSLiteralType=O.tsLiteralType=n6t;O.tSMappedType=O.tsMappedType=s6t;O.tSMethodSignature=O.tsMethodSignature=w3t;O.tSModuleBlock=O.tsModuleBlock=g6t;O.tSModuleDeclaration=O.tsModuleDeclaration=y6t;O.tSNamedTupleMember=O.tsNamedTupleMember=J3t;O.tSNamespaceExportDeclaration=O.tsNamespaceExportDeclaration=E6t;O.tSNeverKeyword=O.tsNeverKeyword=N3t;O.tSNonNullExpression=O.tsNonNullExpression=T6t;O.tSNullKeyword=O.tsNullKeyword=I3t;O.tSNumberKeyword=O.tsNumberKeyword=O3t;O.tSObjectKeyword=O.tsObjectKeyword=k3t;O.tSOptionalType=O.tsOptionalType=H3t;O.tSParameterProperty=O.tsParameterProperty=g3t;O.tSParenthesizedType=O.tsParenthesizedType=t6t;O.tSPropertySignature=O.tsPropertySignature=E3t;O.tSQualifiedName=O.tsQualifiedName=S3t;O.tSRestType=O.tsRestType=Y3t;O.tSSatisfiesExpression=O.tsSatisfiesExpression=f6t;O.tSStringKeyword=O.tsStringKeyword=L3t;O.tSSymbolKeyword=O.tsSymbolKeyword=F3t;O.tSThisType=O.tsThisType=j3t;O.tSTupleType=O.tsTupleType=z3t;O.tSTypeAliasDeclaration=O.tsTypeAliasDeclaration=u6t;O.tSTypeAnnotation=O.tsTypeAnnotation=w6t;O.tSTypeAssertion=O.tsTypeAssertion=d6t;O.tSTypeLiteral=O.tsTypeLiteral=W3t;O.tSTypeOperator=O.tsTypeOperator=r6t;O.tSTypeParameter=O.tsTypeParameter=_6t;O.tSTypeParameterDeclaration=O.tsTypeParameterDeclaration=P6t;O.tSTypeParameterInstantiation=O.tsTypeParameterInstantiation=A6t;O.tSTypePredicate=O.tsTypePredicate=$3t;O.tSTypeQuery=O.tsTypeQuery=K3t;O.tSTypeReference=O.tsTypeReference=q3t;O.tSUndefinedKeyword=O.tsUndefinedKeyword=R3t;O.tSUnionType=O.tsUnionType=X3t;O.tSUnknownKeyword=O.tsUnknownKeyword=B3t;O.tSVoidKeyword=O.tsVoidKeyword=M3t;O.tupleExpression=c3t;O.tupleTypeAnnotation=gAt;O.typeAlias=vAt;O.typeAnnotation=SAt;O.typeCastExpression=TAt;O.typeParameter=xAt;O.typeParameterDeclaration=EAt;O.typeParameterInstantiation=wAt;O.typeofTypeAnnotation=bAt;O.unaryExpression=VEt;O.unionTypeAnnotation=AAt;O.updateExpression=UEt;O.v8IntrinsicIdentifier=r3t;O.variableDeclaration=qEt;O.variableDeclarator=$Et;O.variance=PAt;O.voidTypeAnnotation=_At;O.whileStatement=KEt;O.withStatement=WEt;O.yieldExpression=mwt;var re=yye(),q_=jT();function Qxt(t=[]){return(0,re.default)({type:"ArrayExpression",elements:t})}function Zxt(t,e,r){return(0,re.default)({type:"AssignmentExpression",operator:t,left:e,right:r})}function eEt(t,e,r){return(0,re.default)({type:"BinaryExpression",operator:t,left:e,right:r})}function tEt(t){return(0,re.default)({type:"InterpreterDirective",value:t})}function rEt(t){return(0,re.default)({type:"Directive",value:t})}function iEt(t){return(0,re.default)({type:"DirectiveLiteral",value:t})}function sEt(t,e=[]){return(0,re.default)({type:"BlockStatement",body:t,directives:e})}function nEt(t=null){return(0,re.default)({type:"BreakStatement",label:t})}function aEt(t,e){return(0,re.default)({type:"CallExpression",callee:t,arguments:e})}function oEt(t=null,e){return(0,re.default)({type:"CatchClause",param:t,body:e})}function lEt(t,e,r){return(0,re.default)({type:"ConditionalExpression",test:t,consequent:e,alternate:r})}function uEt(t=null){return(0,re.default)({type:"ContinueStatement",label:t})}function cEt(){return{type:"DebuggerStatement"}}function pEt(t,e){return(0,re.default)({type:"DoWhileStatement",test:t,body:e})}function fEt(){return{type:"EmptyStatement"}}function dEt(t){return(0,re.default)({type:"ExpressionStatement",expression:t})}function hEt(t,e=null,r=null){return(0,re.default)({type:"File",program:t,comments:e,tokens:r})}function mEt(t,e,r){return(0,re.default)({type:"ForInStatement",left:t,right:e,body:r})}function yEt(t=null,e=null,r=null,i){return(0,re.default)({type:"ForStatement",init:t,test:e,update:r,body:i})}function gEt(t=null,e,r,i=!1,s=!1){return(0,re.default)({type:"FunctionDeclaration",id:t,params:e,body:r,generator:i,async:s})}function bEt(t=null,e,r,i=!1,s=!1){return(0,re.default)({type:"FunctionExpression",id:t,params:e,body:r,generator:i,async:s})}function vEt(t){return(0,re.default)({type:"Identifier",name:t})}function SEt(t,e,r=null){return(0,re.default)({type:"IfStatement",test:t,consequent:e,alternate:r})}function TEt(t,e){return(0,re.default)({type:"LabeledStatement",label:t,body:e})}function xEt(t){return(0,re.default)({type:"StringLiteral",value:t})}function gye(t){return(0,re.default)({type:"NumericLiteral",value:t})}function EEt(){return{type:"NullLiteral"}}function wEt(t){return(0,re.default)({type:"BooleanLiteral",value:t})}function bye(t,e=""){return(0,re.default)({type:"RegExpLiteral",pattern:t,flags:e})}function AEt(t,e,r){return(0,re.default)({type:"LogicalExpression",operator:t,left:e,right:r})}function PEt(t,e,r=!1,i=null){return(0,re.default)({type:"MemberExpression",object:t,property:e,computed:r,optional:i})}function _Et(t,e){return(0,re.default)({type:"NewExpression",callee:t,arguments:e})}function CEt(t,e=[],r="script",i=null){return(0,re.default)({type:"Program",body:t,directives:e,sourceType:r,interpreter:i})}function DEt(t){return(0,re.default)({type:"ObjectExpression",properties:t})}function NEt(t="method",e,r,i,s=!1,n=!1,a=!1){return(0,re.default)({type:"ObjectMethod",kind:t,key:e,params:r,body:i,computed:s,generator:n,async:a})}function IEt(t,e,r=!1,i=!1,s=null){return(0,re.default)({type:"ObjectProperty",key:t,value:e,computed:r,shorthand:i,decorators:s})}function vye(t){return(0,re.default)({type:"RestElement",argument:t})}function OEt(t=null){return(0,re.default)({type:"ReturnStatement",argument:t})}function kEt(t){return(0,re.default)({type:"SequenceExpression",expressions:t})}function LEt(t){return(0,re.default)({type:"ParenthesizedExpression",expression:t})}function FEt(t=null,e){return(0,re.default)({type:"SwitchCase",test:t,consequent:e})}function REt(t,e){return(0,re.default)({type:"SwitchStatement",discriminant:t,cases:e})}function BEt(){return{type:"ThisExpression"}}function MEt(t){return(0,re.default)({type:"ThrowStatement",argument:t})}function jEt(t,e=null,r=null){return(0,re.default)({type:"TryStatement",block:t,handler:e,finalizer:r})}function VEt(t,e,r=!0){return(0,re.default)({type:"UnaryExpression",operator:t,argument:e,prefix:r})}function UEt(t,e,r=!1){return(0,re.default)({type:"UpdateExpression",operator:t,argument:e,prefix:r})}function qEt(t,e){return(0,re.default)({type:"VariableDeclaration",kind:t,declarations:e})}function $Et(t,e=null){return(0,re.default)({type:"VariableDeclarator",id:t,init:e})}function KEt(t,e){return(0,re.default)({type:"WhileStatement",test:t,body:e})}function WEt(t,e){return(0,re.default)({type:"WithStatement",object:t,body:e})}function GEt(t,e){return(0,re.default)({type:"AssignmentPattern",left:t,right:e})}function zEt(t){return(0,re.default)({type:"ArrayPattern",elements:t})}function HEt(t,e,r=!1){return(0,re.default)({type:"ArrowFunctionExpression",params:t,body:e,async:r,expression:null})}function YEt(t){return(0,re.default)({type:"ClassBody",body:t})}function JEt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassExpression",id:t,superClass:e,body:r,decorators:i})}function XEt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassDeclaration",id:t,superClass:e,body:r,decorators:i})}function QEt(t){return(0,re.default)({type:"ExportAllDeclaration",source:t})}function ZEt(t){return(0,re.default)({type:"ExportDefaultDeclaration",declaration:t})}function ewt(t=null,e=[],r=null){return(0,re.default)({type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:r})}function twt(t,e){return(0,re.default)({type:"ExportSpecifier",local:t,exported:e})}function rwt(t,e,r,i=!1){return(0,re.default)({type:"ForOfStatement",left:t,right:e,body:r,await:i})}function iwt(t,e){return(0,re.default)({type:"ImportDeclaration",specifiers:t,source:e})}function swt(t){return(0,re.default)({type:"ImportDefaultSpecifier",local:t})}function nwt(t){return(0,re.default)({type:"ImportNamespaceSpecifier",local:t})}function awt(t,e){return(0,re.default)({type:"ImportSpecifier",local:t,imported:e})}function owt(t,e=null){return(0,re.default)({type:"ImportExpression",source:t,options:e})}function lwt(t,e){return(0,re.default)({type:"MetaProperty",meta:t,property:e})}function uwt(t="method",e,r,i,s=!1,n=!1,a=!1,o=!1){return(0,re.default)({type:"ClassMethod",kind:t,key:e,params:r,body:i,computed:s,static:n,generator:a,async:o})}function cwt(t){return(0,re.default)({type:"ObjectPattern",properties:t})}function Sye(t){return(0,re.default)({type:"SpreadElement",argument:t})}function pwt(){return{type:"Super"}}function fwt(t,e){return(0,re.default)({type:"TaggedTemplateExpression",tag:t,quasi:e})}function dwt(t,e=!1){return(0,re.default)({type:"TemplateElement",value:t,tail:e})}function hwt(t,e){return(0,re.default)({type:"TemplateLiteral",quasis:t,expressions:e})}function mwt(t=null,e=!1){return(0,re.default)({type:"YieldExpression",argument:t,delegate:e})}function ywt(t){return(0,re.default)({type:"AwaitExpression",argument:t})}function gwt(){return{type:"Import"}}function bwt(t){return(0,re.default)({type:"BigIntLiteral",value:t})}function vwt(t){return(0,re.default)({type:"ExportNamespaceSpecifier",exported:t})}function Swt(t,e,r=!1,i){return(0,re.default)({type:"OptionalMemberExpression",object:t,property:e,computed:r,optional:i})}function Twt(t,e,r){return(0,re.default)({type:"OptionalCallExpression",callee:t,arguments:e,optional:r})}function xwt(t,e=null,r=null,i=null,s=!1,n=!1){return(0,re.default)({type:"ClassProperty",key:t,value:e,typeAnnotation:r,decorators:i,computed:s,static:n})}function Ewt(t,e=null,r=null,i=null,s=!1,n=!1){return(0,re.default)({type:"ClassAccessorProperty",key:t,value:e,typeAnnotation:r,decorators:i,computed:s,static:n})}function wwt(t,e=null,r=null,i=!1){return(0,re.default)({type:"ClassPrivateProperty",key:t,value:e,decorators:r,static:i})}function Awt(t="method",e,r,i,s=!1){return(0,re.default)({type:"ClassPrivateMethod",kind:t,key:e,params:r,body:i,static:s})}function Pwt(t){return(0,re.default)({type:"PrivateName",id:t})}function _wt(t){return(0,re.default)({type:"StaticBlock",body:t})}function Cwt(){return{type:"AnyTypeAnnotation"}}function Dwt(t){return(0,re.default)({type:"ArrayTypeAnnotation",elementType:t})}function Nwt(){return{type:"BooleanTypeAnnotation"}}function Iwt(t){return(0,re.default)({type:"BooleanLiteralTypeAnnotation",value:t})}function Owt(){return{type:"NullLiteralTypeAnnotation"}}function kwt(t,e=null){return(0,re.default)({type:"ClassImplements",id:t,typeParameters:e})}function Lwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareClass",id:t,typeParameters:e,extends:r,body:i})}function Fwt(t){return(0,re.default)({type:"DeclareFunction",id:t})}function Rwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareInterface",id:t,typeParameters:e,extends:r,body:i})}function Bwt(t,e,r=null){return(0,re.default)({type:"DeclareModule",id:t,body:e,kind:r})}function Mwt(t){return(0,re.default)({type:"DeclareModuleExports",typeAnnotation:t})}function jwt(t,e=null,r){return(0,re.default)({type:"DeclareTypeAlias",id:t,typeParameters:e,right:r})}function Vwt(t,e=null,r=null){return(0,re.default)({type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:r})}function Uwt(t){return(0,re.default)({type:"DeclareVariable",id:t})}function qwt(t=null,e=null,r=null){return(0,re.default)({type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:r})}function $wt(t){return(0,re.default)({type:"DeclareExportAllDeclaration",source:t})}function Kwt(t){return(0,re.default)({type:"DeclaredPredicate",value:t})}function Wwt(){return{type:"ExistsTypeAnnotation"}}function Gwt(t=null,e,r=null,i){return(0,re.default)({type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:r,returnType:i})}function zwt(t=null,e){return(0,re.default)({type:"FunctionTypeParam",name:t,typeAnnotation:e})}function Hwt(t,e=null){return(0,re.default)({type:"GenericTypeAnnotation",id:t,typeParameters:e})}function Ywt(){return{type:"InferredPredicate"}}function Jwt(t,e=null){return(0,re.default)({type:"InterfaceExtends",id:t,typeParameters:e})}function Xwt(t,e=null,r=null,i){return(0,re.default)({type:"InterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function Qwt(t=null,e){return(0,re.default)({type:"InterfaceTypeAnnotation",extends:t,body:e})}function Zwt(t){return(0,re.default)({type:"IntersectionTypeAnnotation",types:t})}function eAt(){return{type:"MixedTypeAnnotation"}}function tAt(){return{type:"EmptyTypeAnnotation"}}function rAt(t){return(0,re.default)({type:"NullableTypeAnnotation",typeAnnotation:t})}function iAt(t){return(0,re.default)({type:"NumberLiteralTypeAnnotation",value:t})}function sAt(){return{type:"NumberTypeAnnotation"}}function nAt(t,e=[],r=[],i=[],s=!1){return(0,re.default)({type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:r,internalSlots:i,exact:s})}function aAt(t,e,r,i,s){return(0,re.default)({type:"ObjectTypeInternalSlot",id:t,value:e,optional:r,static:i,method:s})}function oAt(t){return(0,re.default)({type:"ObjectTypeCallProperty",value:t,static:null})}function lAt(t=null,e,r,i=null){return(0,re.default)({type:"ObjectTypeIndexer",id:t,key:e,value:r,variance:i,static:null})}function uAt(t,e,r=null){return(0,re.default)({type:"ObjectTypeProperty",key:t,value:e,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function cAt(t){return(0,re.default)({type:"ObjectTypeSpreadProperty",argument:t})}function pAt(t,e=null,r=null,i){return(0,re.default)({type:"OpaqueType",id:t,typeParameters:e,supertype:r,impltype:i})}function fAt(t,e){return(0,re.default)({type:"QualifiedTypeIdentifier",id:t,qualification:e})}function dAt(t){return(0,re.default)({type:"StringLiteralTypeAnnotation",value:t})}function hAt(){return{type:"StringTypeAnnotation"}}function mAt(){return{type:"SymbolTypeAnnotation"}}function yAt(){return{type:"ThisTypeAnnotation"}}function gAt(t){return(0,re.default)({type:"TupleTypeAnnotation",types:t})}function bAt(t){return(0,re.default)({type:"TypeofTypeAnnotation",argument:t})}function vAt(t,e=null,r){return(0,re.default)({type:"TypeAlias",id:t,typeParameters:e,right:r})}function SAt(t){return(0,re.default)({type:"TypeAnnotation",typeAnnotation:t})}function TAt(t,e){return(0,re.default)({type:"TypeCastExpression",expression:t,typeAnnotation:e})}function xAt(t=null,e=null,r=null){return(0,re.default)({type:"TypeParameter",bound:t,default:e,variance:r,name:null})}function EAt(t){return(0,re.default)({type:"TypeParameterDeclaration",params:t})}function wAt(t){return(0,re.default)({type:"TypeParameterInstantiation",params:t})}function AAt(t){return(0,re.default)({type:"UnionTypeAnnotation",types:t})}function PAt(t){return(0,re.default)({type:"Variance",kind:t})}function _At(){return{type:"VoidTypeAnnotation"}}function CAt(t,e){return(0,re.default)({type:"EnumDeclaration",id:t,body:e})}function DAt(t){return(0,re.default)({type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null})}function NAt(t){return(0,re.default)({type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null})}function IAt(t){return(0,re.default)({type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null})}function OAt(t){return(0,re.default)({type:"EnumSymbolBody",members:t,hasUnknownMembers:null})}function kAt(t){return(0,re.default)({type:"EnumBooleanMember",id:t,init:null})}function LAt(t,e){return(0,re.default)({type:"EnumNumberMember",id:t,init:e})}function FAt(t,e){return(0,re.default)({type:"EnumStringMember",id:t,init:e})}function RAt(t){return(0,re.default)({type:"EnumDefaultedMember",id:t})}function BAt(t,e){return(0,re.default)({type:"IndexedAccessType",objectType:t,indexType:e})}function MAt(t,e){return(0,re.default)({type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null})}function jAt(t,e=null){return(0,re.default)({type:"JSXAttribute",name:t,value:e})}function VAt(t){return(0,re.default)({type:"JSXClosingElement",name:t})}function UAt(t,e=null,r,i=null){return(0,re.default)({type:"JSXElement",openingElement:t,closingElement:e,children:r,selfClosing:i})}function qAt(){return{type:"JSXEmptyExpression"}}function $At(t){return(0,re.default)({type:"JSXExpressionContainer",expression:t})}function KAt(t){return(0,re.default)({type:"JSXSpreadChild",expression:t})}function WAt(t){return(0,re.default)({type:"JSXIdentifier",name:t})}function GAt(t,e){return(0,re.default)({type:"JSXMemberExpression",object:t,property:e})}function zAt(t,e){return(0,re.default)({type:"JSXNamespacedName",namespace:t,name:e})}function HAt(t,e,r=!1){return(0,re.default)({type:"JSXOpeningElement",name:t,attributes:e,selfClosing:r})}function YAt(t){return(0,re.default)({type:"JSXSpreadAttribute",argument:t})}function JAt(t){return(0,re.default)({type:"JSXText",value:t})}function XAt(t,e,r){return(0,re.default)({type:"JSXFragment",openingFragment:t,closingFragment:e,children:r})}function QAt(){return{type:"JSXOpeningFragment"}}function ZAt(){return{type:"JSXClosingFragment"}}function e3t(){return{type:"Noop"}}function t3t(t,e){return(0,re.default)({type:"Placeholder",expectedNode:t,name:e})}function r3t(t){return(0,re.default)({type:"V8IntrinsicIdentifier",name:t})}function i3t(){return{type:"ArgumentPlaceholder"}}function s3t(t,e){return(0,re.default)({type:"BindExpression",object:t,callee:e})}function n3t(t,e){return(0,re.default)({type:"ImportAttribute",key:t,value:e})}function a3t(t){return(0,re.default)({type:"Decorator",expression:t})}function o3t(t,e=!1){return(0,re.default)({type:"DoExpression",body:t,async:e})}function l3t(t){return(0,re.default)({type:"ExportDefaultSpecifier",exported:t})}function u3t(t){return(0,re.default)({type:"RecordExpression",properties:t})}function c3t(t=[]){return(0,re.default)({type:"TupleExpression",elements:t})}function p3t(t){return(0,re.default)({type:"DecimalLiteral",value:t})}function f3t(t){return(0,re.default)({type:"ModuleExpression",body:t})}function d3t(){return{type:"TopicReference"}}function h3t(t){return(0,re.default)({type:"PipelineTopicExpression",expression:t})}function m3t(t){return(0,re.default)({type:"PipelineBareFunction",callee:t})}function y3t(){return{type:"PipelinePrimaryTopicReference"}}function g3t(t){return(0,re.default)({type:"TSParameterProperty",parameter:t})}function b3t(t=null,e=null,r,i=null){return(0,re.default)({type:"TSDeclareFunction",id:t,typeParameters:e,params:r,returnType:i})}function v3t(t=null,e,r=null,i,s=null){return(0,re.default)({type:"TSDeclareMethod",decorators:t,key:e,typeParameters:r,params:i,returnType:s})}function S3t(t,e){return(0,re.default)({type:"TSQualifiedName",left:t,right:e})}function T3t(t=null,e,r=null){return(0,re.default)({type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function x3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function E3t(t,e=null){return(0,re.default)({type:"TSPropertySignature",key:t,typeAnnotation:e,kind:null})}function w3t(t,e=null,r,i=null){return(0,re.default)({type:"TSMethodSignature",key:t,typeParameters:e,parameters:r,typeAnnotation:i,kind:null})}function A3t(t,e=null){return(0,re.default)({type:"TSIndexSignature",parameters:t,typeAnnotation:e})}function P3t(){return{type:"TSAnyKeyword"}}function _3t(){return{type:"TSBooleanKeyword"}}function C3t(){return{type:"TSBigIntKeyword"}}function D3t(){return{type:"TSIntrinsicKeyword"}}function N3t(){return{type:"TSNeverKeyword"}}function I3t(){return{type:"TSNullKeyword"}}function O3t(){return{type:"TSNumberKeyword"}}function k3t(){return{type:"TSObjectKeyword"}}function L3t(){return{type:"TSStringKeyword"}}function F3t(){return{type:"TSSymbolKeyword"}}function R3t(){return{type:"TSUndefinedKeyword"}}function B3t(){return{type:"TSUnknownKeyword"}}function M3t(){return{type:"TSVoidKeyword"}}function j3t(){return{type:"TSThisType"}}function V3t(t=null,e,r=null){return(0,re.default)({type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:r})}function U3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:r})}function q3t(t,e=null){return(0,re.default)({type:"TSTypeReference",typeName:t,typeParameters:e})}function $3t(t,e=null,r=null){return(0,re.default)({type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:r})}function K3t(t,e=null){return(0,re.default)({type:"TSTypeQuery",exprName:t,typeParameters:e})}function W3t(t){return(0,re.default)({type:"TSTypeLiteral",members:t})}function G3t(t){return(0,re.default)({type:"TSArrayType",elementType:t})}function z3t(t){return(0,re.default)({type:"TSTupleType",elementTypes:t})}function H3t(t){return(0,re.default)({type:"TSOptionalType",typeAnnotation:t})}function Y3t(t){return(0,re.default)({type:"TSRestType",typeAnnotation:t})}function J3t(t,e,r=!1){return(0,re.default)({type:"TSNamedTupleMember",label:t,elementType:e,optional:r})}function X3t(t){return(0,re.default)({type:"TSUnionType",types:t})}function Q3t(t){return(0,re.default)({type:"TSIntersectionType",types:t})}function Z3t(t,e,r,i){return(0,re.default)({type:"TSConditionalType",checkType:t,extendsType:e,trueType:r,falseType:i})}function e6t(t){return(0,re.default)({type:"TSInferType",typeParameter:t})}function t6t(t){return(0,re.default)({type:"TSParenthesizedType",typeAnnotation:t})}function r6t(t){return(0,re.default)({type:"TSTypeOperator",typeAnnotation:t,operator:null})}function i6t(t,e){return(0,re.default)({type:"TSIndexedAccessType",objectType:t,indexType:e})}function s6t(t,e=null,r=null){return(0,re.default)({type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:r})}function n6t(t){return(0,re.default)({type:"TSLiteralType",literal:t})}function a6t(t,e=null){return(0,re.default)({type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e})}function o6t(t,e=null,r=null,i){return(0,re.default)({type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function l6t(t){return(0,re.default)({type:"TSInterfaceBody",body:t})}function u6t(t,e=null,r){return(0,re.default)({type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:r})}function c6t(t,e=null){return(0,re.default)({type:"TSInstantiationExpression",expression:t,typeParameters:e})}function p6t(t,e){return(0,re.default)({type:"TSAsExpression",expression:t,typeAnnotation:e})}function f6t(t,e){return(0,re.default)({type:"TSSatisfiesExpression",expression:t,typeAnnotation:e})}function d6t(t,e){return(0,re.default)({type:"TSTypeAssertion",typeAnnotation:t,expression:e})}function h6t(t,e){return(0,re.default)({type:"TSEnumDeclaration",id:t,members:e})}function m6t(t,e=null){return(0,re.default)({type:"TSEnumMember",id:t,initializer:e})}function y6t(t,e){return(0,re.default)({type:"TSModuleDeclaration",id:t,body:e})}function g6t(t){return(0,re.default)({type:"TSModuleBlock",body:t})}function b6t(t,e=null,r=null){return(0,re.default)({type:"TSImportType",argument:t,qualifier:e,typeParameters:r})}function v6t(t,e){return(0,re.default)({type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null})}function S6t(t){return(0,re.default)({type:"TSExternalModuleReference",expression:t})}function T6t(t){return(0,re.default)({type:"TSNonNullExpression",expression:t})}function x6t(t){return(0,re.default)({type:"TSExportAssignment",expression:t})}function E6t(t){return(0,re.default)({type:"TSNamespaceExportDeclaration",id:t})}function w6t(t){return(0,re.default)({type:"TSTypeAnnotation",typeAnnotation:t})}function A6t(t){return(0,re.default)({type:"TSTypeParameterInstantiation",params:t})}function P6t(t){return(0,re.default)({type:"TSTypeParameterDeclaration",params:t})}function _6t(t=null,e=null,r){return(0,re.default)({type:"TSTypeParameter",constraint:t,default:e,name:r})}function C6t(t){return(0,q_.default)("NumberLiteral","NumericLiteral","The node type "),gye(t)}function D6t(t,e=""){return(0,q_.default)("RegexLiteral","RegExpLiteral","The node type "),bye(t,e)}function N6t(t){return(0,q_.default)("RestProperty","RestElement","The node type "),vye(t)}function I6t(t){return(0,q_.default)("SpreadProperty","SpreadElement","The node type "),Sye(t)}});var Tye=E(SV=>{"use strict";Object.defineProperty(SV,"__esModule",{value:!0});SV.default=L6t;var O6t=Ua(),k6t=gr();function L6t(t,e){let r=t.value.split(/\r\n|\n|\r/),i=0;for(let n=0;n<r.length;n++)r[n].match(/[^ \t]/)&&(i=n);let s="";for(let n=0;n<r.length;n++){let a=r[n],o=n===0,l=n===r.length-1,u=n===i,c=a.replace(/\t/g," ");o||(c=c.replace(/^[ ]+/,"")),l||(c=c.replace(/[ ]+$/,"")),c&&(u||(c+=" "),s+=c)}s&&e.push((0,k6t.inherits)((0,O6t.stringLiteral)(s),t))}});var xye=E(xV=>{"use strict";Object.defineProperty(xV,"__esModule",{value:!0});xV.default=R6t;var TV=Zs(),F6t=Tye();function R6t(t){let e=[];for(let r=0;r<t.children.length;r++){let i=t.children[r];if((0,TV.isJSXText)(i)){(0,F6t.default)(i,e);continue}(0,TV.isJSXExpressionContainer)(i)&&(i=i.expression),!(0,TV.isJSXEmptyExpression)(i)&&e.push(i)}return e}});var wV=E(EV=>{"use strict";Object.defineProperty(EV,"__esModule",{value:!0});EV.default=M6t;var B6t=Rl();function M6t(t){return!!(t&&B6t.VISITOR_KEYS[t.type])}});var Eye=E(AV=>{"use strict";Object.defineProperty(AV,"__esModule",{value:!0});AV.default=V6t;var j6t=wV();function V6t(t){if(!(0,j6t.default)(t)){var e;let r=(e=t==null?void 0:t.type)!=null?e:JSON.stringify(t);throw new TypeError(`Not a valid node of type "${r}"`)}}});var wye=E(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.assertAccessor=r5t;B.assertAnyTypeAnnotation=x4t;B.assertArgumentPlaceholder=X_t;B.assertArrayExpression=q6t;B.assertArrayPattern=VPt;B.assertArrayTypeAnnotation=E4t;B.assertArrowFunctionExpression=UPt;B.assertAssignmentExpression=$6t;B.assertAssignmentPattern=jPt;B.assertAwaitExpression=c4t;B.assertBigIntLiteral=f4t;B.assertBinary=w8t;B.assertBinaryExpression=K6t;B.assertBindExpression=Q_t;B.assertBlock=_8t;B.assertBlockParent=P8t;B.assertBlockStatement=H6t;B.assertBooleanLiteral=mPt;B.assertBooleanLiteralTypeAnnotation=A4t;B.assertBooleanTypeAnnotation=w4t;B.assertBreakStatement=Y6t;B.assertCallExpression=J6t;B.assertCatchClause=X6t;B.assertClass=Q8t;B.assertClassAccessorProperty=g4t;B.assertClassBody=qPt;B.assertClassDeclaration=KPt;B.assertClassExpression=$Pt;B.assertClassImplements=_4t;B.assertClassMethod=r4t;B.assertClassPrivateMethod=v4t;B.assertClassPrivateProperty=b4t;B.assertClassProperty=y4t;B.assertCompletionStatement=N8t;B.assertConditional=I8t;B.assertConditionalExpression=Q6t;B.assertContinueStatement=Z6t;B.assertDebuggerStatement=ePt;B.assertDecimalLiteral=nCt;B.assertDeclaration=V8t;B.assertDeclareClass=C4t;B.assertDeclareExportAllDeclaration=B4t;B.assertDeclareExportDeclaration=R4t;B.assertDeclareFunction=D4t;B.assertDeclareInterface=N4t;B.assertDeclareModule=I4t;B.assertDeclareModuleExports=O4t;B.assertDeclareOpaqueType=L4t;B.assertDeclareTypeAlias=k4t;B.assertDeclareVariable=F4t;B.assertDeclaredPredicate=M4t;B.assertDecorator=eCt;B.assertDirective=G6t;B.assertDirectiveLiteral=z6t;B.assertDoExpression=tCt;B.assertDoWhileStatement=tPt;B.assertEmptyStatement=rPt;B.assertEmptyTypeAnnotation=Y4t;B.assertEnumBody=u5t;B.assertEnumBooleanBody=E_t;B.assertEnumBooleanMember=__t;B.assertEnumDeclaration=x_t;B.assertEnumDefaultedMember=N_t;B.assertEnumMember=c5t;B.assertEnumNumberBody=w_t;B.assertEnumNumberMember=C_t;B.assertEnumStringBody=A_t;B.assertEnumStringMember=D_t;B.assertEnumSymbolBody=P_t;B.assertExistsTypeAnnotation=j4t;B.assertExportAllDeclaration=WPt;B.assertExportDeclaration=e5t;B.assertExportDefaultDeclaration=GPt;B.assertExportDefaultSpecifier=rCt;B.assertExportNamedDeclaration=zPt;B.assertExportNamespaceSpecifier=d4t;B.assertExportSpecifier=HPt;B.assertExpression=E8t;B.assertExpressionStatement=iPt;B.assertExpressionWrapper=L8t;B.assertFile=sPt;B.assertFlow=s5t;B.assertFlowBaseAnnotation=a5t;B.assertFlowDeclaration=o5t;B.assertFlowPredicate=l5t;B.assertFlowType=n5t;B.assertFor=F8t;B.assertForInStatement=nPt;B.assertForOfStatement=YPt;B.assertForStatement=aPt;B.assertForXStatement=R8t;B.assertFunction=B8t;B.assertFunctionDeclaration=oPt;B.assertFunctionExpression=lPt;B.assertFunctionParent=M8t;B.assertFunctionTypeAnnotation=V4t;B.assertFunctionTypeParam=U4t;B.assertGenericTypeAnnotation=q4t;B.assertIdentifier=uPt;B.assertIfStatement=cPt;B.assertImmutable=W8t;B.assertImport=p4t;B.assertImportAttribute=Z_t;B.assertImportDeclaration=JPt;B.assertImportDefaultSpecifier=XPt;B.assertImportExpression=e4t;B.assertImportNamespaceSpecifier=QPt;B.assertImportOrExportDeclaration=Z8t;B.assertImportSpecifier=ZPt;B.assertIndexedAccessType=I_t;B.assertInferredPredicate=$4t;B.assertInterfaceDeclaration=W4t;B.assertInterfaceExtends=K4t;B.assertInterfaceTypeAnnotation=G4t;B.assertInterpreterDirective=W6t;B.assertIntersectionTypeAnnotation=z4t;B.assertJSX=p5t;B.assertJSXAttribute=k_t;B.assertJSXClosingElement=L_t;B.assertJSXClosingFragment=z_t;B.assertJSXElement=F_t;B.assertJSXEmptyExpression=R_t;B.assertJSXExpressionContainer=B_t;B.assertJSXFragment=W_t;B.assertJSXIdentifier=j_t;B.assertJSXMemberExpression=V_t;B.assertJSXNamespacedName=U_t;B.assertJSXOpeningElement=q_t;B.assertJSXOpeningFragment=G_t;B.assertJSXSpreadAttribute=$_t;B.assertJSXSpreadChild=M_t;B.assertJSXText=K_t;B.assertLVal=q8t;B.assertLabeledStatement=pPt;B.assertLiteral=K8t;B.assertLogicalExpression=gPt;B.assertLoop=O8t;B.assertMemberExpression=bPt;B.assertMetaProperty=t4t;B.assertMethod=z8t;B.assertMiscellaneous=f5t;B.assertMixedTypeAnnotation=H4t;B.assertModuleDeclaration=T5t;B.assertModuleExpression=aCt;B.assertModuleSpecifier=t5t;B.assertNewExpression=vPt;B.assertNoop=H_t;B.assertNullLiteral=hPt;B.assertNullLiteralTypeAnnotation=P4t;B.assertNullableTypeAnnotation=J4t;B.assertNumberLiteral=g5t;B.assertNumberLiteralTypeAnnotation=X4t;B.assertNumberTypeAnnotation=Q4t;B.assertNumericLiteral=dPt;B.assertObjectExpression=TPt;B.assertObjectMember=H8t;B.assertObjectMethod=xPt;B.assertObjectPattern=i4t;B.assertObjectProperty=EPt;B.assertObjectTypeAnnotation=Z4t;B.assertObjectTypeCallProperty=t_t;B.assertObjectTypeIndexer=r_t;B.assertObjectTypeInternalSlot=e_t;B.assertObjectTypeProperty=i_t;B.assertObjectTypeSpreadProperty=s_t;B.assertOpaqueType=n_t;B.assertOptionalCallExpression=m4t;B.assertOptionalIndexedAccessType=O_t;B.assertOptionalMemberExpression=h4t;B.assertParenthesizedExpression=_Pt;B.assertPattern=X8t;B.assertPatternLike=U8t;B.assertPipelineBareFunction=uCt;B.assertPipelinePrimaryTopicReference=cCt;B.assertPipelineTopicExpression=lCt;B.assertPlaceholder=Y_t;B.assertPrivate=i5t;B.assertPrivateName=S4t;B.assertProgram=SPt;B.assertProperty=Y8t;B.assertPureish=j8t;B.assertQualifiedTypeIdentifier=a_t;B.assertRecordExpression=iCt;B.assertRegExpLiteral=yPt;B.assertRegexLiteral=b5t;B.assertRestElement=wPt;B.assertRestProperty=v5t;B.assertReturnStatement=APt;B.assertScopable=A8t;B.assertSequenceExpression=PPt;B.assertSpreadElement=s4t;B.assertSpreadProperty=S5t;B.assertStandardized=x8t;B.assertStatement=C8t;B.assertStaticBlock=T4t;B.assertStringLiteral=fPt;B.assertStringLiteralTypeAnnotation=o_t;B.assertStringTypeAnnotation=l_t;B.assertSuper=n4t;B.assertSwitchCase=CPt;B.assertSwitchStatement=DPt;B.assertSymbolTypeAnnotation=u_t;B.assertTSAnyKeyword=SCt;B.assertTSArrayType=VCt;B.assertTSAsExpression=n8t;B.assertTSBaseType=y5t;B.assertTSBigIntKeyword=xCt;B.assertTSBooleanKeyword=TCt;B.assertTSCallSignatureDeclaration=mCt;B.assertTSConditionalType=zCt;B.assertTSConstructSignatureDeclaration=yCt;B.assertTSConstructorType=FCt;B.assertTSDeclareFunction=fCt;B.assertTSDeclareMethod=dCt;B.assertTSEntityName=$8t;B.assertTSEnumDeclaration=l8t;B.assertTSEnumMember=u8t;B.assertTSExportAssignment=y8t;B.assertTSExpressionWithTypeArguments=e8t;B.assertTSExternalModuleReference=h8t;B.assertTSFunctionType=LCt;B.assertTSImportEqualsDeclaration=d8t;B.assertTSImportType=f8t;B.assertTSIndexSignature=vCt;B.assertTSIndexedAccessType=XCt;B.assertTSInferType=HCt;B.assertTSInstantiationExpression=s8t;B.assertTSInterfaceBody=r8t;B.assertTSInterfaceDeclaration=t8t;B.assertTSIntersectionType=GCt;B.assertTSIntrinsicKeyword=ECt;B.assertTSLiteralType=ZCt;B.assertTSMappedType=QCt;B.assertTSMethodSignature=bCt;B.assertTSModuleBlock=p8t;B.assertTSModuleDeclaration=c8t;B.assertTSNamedTupleMember=KCt;B.assertTSNamespaceExportDeclaration=g8t;B.assertTSNeverKeyword=wCt;B.assertTSNonNullExpression=m8t;B.assertTSNullKeyword=ACt;B.assertTSNumberKeyword=PCt;B.assertTSObjectKeyword=_Ct;B.assertTSOptionalType=qCt;B.assertTSParameterProperty=pCt;B.assertTSParenthesizedType=YCt;B.assertTSPropertySignature=gCt;B.assertTSQualifiedName=hCt;B.assertTSRestType=$Ct;B.assertTSSatisfiesExpression=a8t;B.assertTSStringKeyword=CCt;B.assertTSSymbolKeyword=DCt;B.assertTSThisType=kCt;B.assertTSTupleType=UCt;B.assertTSType=m5t;B.assertTSTypeAliasDeclaration=i8t;B.assertTSTypeAnnotation=b8t;B.assertTSTypeAssertion=o8t;B.assertTSTypeElement=h5t;B.assertTSTypeLiteral=jCt;B.assertTSTypeOperator=JCt;B.assertTSTypeParameter=T8t;B.assertTSTypeParameterDeclaration=S8t;B.assertTSTypeParameterInstantiation=v8t;B.assertTSTypePredicate=BCt;B.assertTSTypeQuery=MCt;B.assertTSTypeReference=RCt;B.assertTSUndefinedKeyword=NCt;B.assertTSUnionType=WCt;B.assertTSUnknownKeyword=ICt;B.assertTSVoidKeyword=OCt;B.assertTaggedTemplateExpression=a4t;B.assertTemplateElement=o4t;B.assertTemplateLiteral=l4t;B.assertTerminatorless=D8t;B.assertThisExpression=NPt;B.assertThisTypeAnnotation=c_t;B.assertThrowStatement=IPt;B.assertTopicReference=oCt;B.assertTryStatement=OPt;B.assertTupleExpression=sCt;B.assertTupleTypeAnnotation=p_t;B.assertTypeAlias=d_t;B.assertTypeAnnotation=h_t;B.assertTypeCastExpression=m_t;B.assertTypeParameter=y_t;B.assertTypeParameterDeclaration=g_t;B.assertTypeParameterInstantiation=b_t;B.assertTypeScript=d5t;B.assertTypeofTypeAnnotation=f_t;B.assertUnaryExpression=kPt;B.assertUnaryLike=J8t;B.assertUnionTypeAnnotation=v_t;B.assertUpdateExpression=LPt;B.assertUserWhitespacable=G8t;B.assertV8IntrinsicIdentifier=J_t;B.assertVariableDeclaration=FPt;B.assertVariableDeclarator=RPt;B.assertVariance=S_t;B.assertVoidTypeAnnotation=T_t;B.assertWhile=k8t;B.assertWhileStatement=BPt;B.assertWithStatement=MPt;B.assertYieldExpression=u4t;var U6t=tb(),GT=jT();function V(t,e,r){if(!(0,U6t.default)(t,e,r))throw new Error(`Expected type "${t}" with option ${JSON.stringify(r)}, but instead got "${e.type}".`)}function q6t(t,e){V("ArrayExpression",t,e)}function $6t(t,e){V("AssignmentExpression",t,e)}function K6t(t,e){V("BinaryExpression",t,e)}function W6t(t,e){V("InterpreterDirective",t,e)}function G6t(t,e){V("Directive",t,e)}function z6t(t,e){V("DirectiveLiteral",t,e)}function H6t(t,e){V("BlockStatement",t,e)}function Y6t(t,e){V("BreakStatement",t,e)}function J6t(t,e){V("CallExpression",t,e)}function X6t(t,e){V("CatchClause",t,e)}function Q6t(t,e){V("ConditionalExpression",t,e)}function Z6t(t,e){V("ContinueStatement",t,e)}function ePt(t,e){V("DebuggerStatement",t,e)}function tPt(t,e){V("DoWhileStatement",t,e)}function rPt(t,e){V("EmptyStatement",t,e)}function iPt(t,e){V("ExpressionStatement",t,e)}function sPt(t,e){V("File",t,e)}function nPt(t,e){V("ForInStatement",t,e)}function aPt(t,e){V("ForStatement",t,e)}function oPt(t,e){V("FunctionDeclaration",t,e)}function lPt(t,e){V("FunctionExpression",t,e)}function uPt(t,e){V("Identifier",t,e)}function cPt(t,e){V("IfStatement",t,e)}function pPt(t,e){V("LabeledStatement",t,e)}function fPt(t,e){V("StringLiteral",t,e)}function dPt(t,e){V("NumericLiteral",t,e)}function hPt(t,e){V("NullLiteral",t,e)}function mPt(t,e){V("BooleanLiteral",t,e)}function yPt(t,e){V("RegExpLiteral",t,e)}function gPt(t,e){V("LogicalExpression",t,e)}function bPt(t,e){V("MemberExpression",t,e)}function vPt(t,e){V("NewExpression",t,e)}function SPt(t,e){V("Program",t,e)}function TPt(t,e){V("ObjectExpression",t,e)}function xPt(t,e){V("ObjectMethod",t,e)}function EPt(t,e){V("ObjectProperty",t,e)}function wPt(t,e){V("RestElement",t,e)}function APt(t,e){V("ReturnStatement",t,e)}function PPt(t,e){V("SequenceExpression",t,e)}function _Pt(t,e){V("ParenthesizedExpression",t,e)}function CPt(t,e){V("SwitchCase",t,e)}function DPt(t,e){V("SwitchStatement",t,e)}function NPt(t,e){V("ThisExpression",t,e)}function IPt(t,e){V("ThrowStatement",t,e)}function OPt(t,e){V("TryStatement",t,e)}function kPt(t,e){V("UnaryExpression",t,e)}function LPt(t,e){V("UpdateExpression",t,e)}function FPt(t,e){V("VariableDeclaration",t,e)}function RPt(t,e){V("VariableDeclarator",t,e)}function BPt(t,e){V("WhileStatement",t,e)}function MPt(t,e){V("WithStatement",t,e)}function jPt(t,e){V("AssignmentPattern",t,e)}function VPt(t,e){V("ArrayPattern",t,e)}function UPt(t,e){V("ArrowFunctionExpression",t,e)}function qPt(t,e){V("ClassBody",t,e)}function $Pt(t,e){V("ClassExpression",t,e)}function KPt(t,e){V("ClassDeclaration",t,e)}function WPt(t,e){V("ExportAllDeclaration",t,e)}function GPt(t,e){V("ExportDefaultDeclaration",t,e)}function zPt(t,e){V("ExportNamedDeclaration",t,e)}function HPt(t,e){V("ExportSpecifier",t,e)}function YPt(t,e){V("ForOfStatement",t,e)}function JPt(t,e){V("ImportDeclaration",t,e)}function XPt(t,e){V("ImportDefaultSpecifier",t,e)}function QPt(t,e){V("ImportNamespaceSpecifier",t,e)}function ZPt(t,e){V("ImportSpecifier",t,e)}function e4t(t,e){V("ImportExpression",t,e)}function t4t(t,e){V("MetaProperty",t,e)}function r4t(t,e){V("ClassMethod",t,e)}function i4t(t,e){V("ObjectPattern",t,e)}function s4t(t,e){V("SpreadElement",t,e)}function n4t(t,e){V("Super",t,e)}function a4t(t,e){V("TaggedTemplateExpression",t,e)}function o4t(t,e){V("TemplateElement",t,e)}function l4t(t,e){V("TemplateLiteral",t,e)}function u4t(t,e){V("YieldExpression",t,e)}function c4t(t,e){V("AwaitExpression",t,e)}function p4t(t,e){V("Import",t,e)}function f4t(t,e){V("BigIntLiteral",t,e)}function d4t(t,e){V("ExportNamespaceSpecifier",t,e)}function h4t(t,e){V("OptionalMemberExpression",t,e)}function m4t(t,e){V("OptionalCallExpression",t,e)}function y4t(t,e){V("ClassProperty",t,e)}function g4t(t,e){V("ClassAccessorProperty",t,e)}function b4t(t,e){V("ClassPrivateProperty",t,e)}function v4t(t,e){V("ClassPrivateMethod",t,e)}function S4t(t,e){V("PrivateName",t,e)}function T4t(t,e){V("StaticBlock",t,e)}function x4t(t,e){V("AnyTypeAnnotation",t,e)}function E4t(t,e){V("ArrayTypeAnnotation",t,e)}function w4t(t,e){V("BooleanTypeAnnotation",t,e)}function A4t(t,e){V("BooleanLiteralTypeAnnotation",t,e)}function P4t(t,e){V("NullLiteralTypeAnnotation",t,e)}function _4t(t,e){V("ClassImplements",t,e)}function C4t(t,e){V("DeclareClass",t,e)}function D4t(t,e){V("DeclareFunction",t,e)}function N4t(t,e){V("DeclareInterface",t,e)}function I4t(t,e){V("DeclareModule",t,e)}function O4t(t,e){V("DeclareModuleExports",t,e)}function k4t(t,e){V("DeclareTypeAlias",t,e)}function L4t(t,e){V("DeclareOpaqueType",t,e)}function F4t(t,e){V("DeclareVariable",t,e)}function R4t(t,e){V("DeclareExportDeclaration",t,e)}function B4t(t,e){V("DeclareExportAllDeclaration",t,e)}function M4t(t,e){V("DeclaredPredicate",t,e)}function j4t(t,e){V("ExistsTypeAnnotation",t,e)}function V4t(t,e){V("FunctionTypeAnnotation",t,e)}function U4t(t,e){V("FunctionTypeParam",t,e)}function q4t(t,e){V("GenericTypeAnnotation",t,e)}function $4t(t,e){V("InferredPredicate",t,e)}function K4t(t,e){V("InterfaceExtends",t,e)}function W4t(t,e){V("InterfaceDeclaration",t,e)}function G4t(t,e){V("InterfaceTypeAnnotation",t,e)}function z4t(t,e){V("IntersectionTypeAnnotation",t,e)}function H4t(t,e){V("MixedTypeAnnotation",t,e)}function Y4t(t,e){V("EmptyTypeAnnotation",t,e)}function J4t(t,e){V("NullableTypeAnnotation",t,e)}function X4t(t,e){V("NumberLiteralTypeAnnotation",t,e)}function Q4t(t,e){V("NumberTypeAnnotation",t,e)}function Z4t(t,e){V("ObjectTypeAnnotation",t,e)}function e_t(t,e){V("ObjectTypeInternalSlot",t,e)}function t_t(t,e){V("ObjectTypeCallProperty",t,e)}function r_t(t,e){V("ObjectTypeIndexer",t,e)}function i_t(t,e){V("ObjectTypeProperty",t,e)}function s_t(t,e){V("ObjectTypeSpreadProperty",t,e)}function n_t(t,e){V("OpaqueType",t,e)}function a_t(t,e){V("QualifiedTypeIdentifier",t,e)}function o_t(t,e){V("StringLiteralTypeAnnotation",t,e)}function l_t(t,e){V("StringTypeAnnotation",t,e)}function u_t(t,e){V("SymbolTypeAnnotation",t,e)}function c_t(t,e){V("ThisTypeAnnotation",t,e)}function p_t(t,e){V("TupleTypeAnnotation",t,e)}function f_t(t,e){V("TypeofTypeAnnotation",t,e)}function d_t(t,e){V("TypeAlias",t,e)}function h_t(t,e){V("TypeAnnotation",t,e)}function m_t(t,e){V("TypeCastExpression",t,e)}function y_t(t,e){V("TypeParameter",t,e)}function g_t(t,e){V("TypeParameterDeclaration",t,e)}function b_t(t,e){V("TypeParameterInstantiation",t,e)}function v_t(t,e){V("UnionTypeAnnotation",t,e)}function S_t(t,e){V("Variance",t,e)}function T_t(t,e){V("VoidTypeAnnotation",t,e)}function x_t(t,e){V("EnumDeclaration",t,e)}function E_t(t,e){V("EnumBooleanBody",t,e)}function w_t(t,e){V("EnumNumberBody",t,e)}function A_t(t,e){V("EnumStringBody",t,e)}function P_t(t,e){V("EnumSymbolBody",t,e)}function __t(t,e){V("EnumBooleanMember",t,e)}function C_t(t,e){V("EnumNumberMember",t,e)}function D_t(t,e){V("EnumStringMember",t,e)}function N_t(t,e){V("EnumDefaultedMember",t,e)}function I_t(t,e){V("IndexedAccessType",t,e)}function O_t(t,e){V("OptionalIndexedAccessType",t,e)}function k_t(t,e){V("JSXAttribute",t,e)}function L_t(t,e){V("JSXClosingElement",t,e)}function F_t(t,e){V("JSXElement",t,e)}function R_t(t,e){V("JSXEmptyExpression",t,e)}function B_t(t,e){V("JSXExpressionContainer",t,e)}function M_t(t,e){V("JSXSpreadChild",t,e)}function j_t(t,e){V("JSXIdentifier",t,e)}function V_t(t,e){V("JSXMemberExpression",t,e)}function U_t(t,e){V("JSXNamespacedName",t,e)}function q_t(t,e){V("JSXOpeningElement",t,e)}function $_t(t,e){V("JSXSpreadAttribute",t,e)}function K_t(t,e){V("JSXText",t,e)}function W_t(t,e){V("JSXFragment",t,e)}function G_t(t,e){V("JSXOpeningFragment",t,e)}function z_t(t,e){V("JSXClosingFragment",t,e)}function H_t(t,e){V("Noop",t,e)}function Y_t(t,e){V("Placeholder",t,e)}function J_t(t,e){V("V8IntrinsicIdentifier",t,e)}function X_t(t,e){V("ArgumentPlaceholder",t,e)}function Q_t(t,e){V("BindExpression",t,e)}function Z_t(t,e){V("ImportAttribute",t,e)}function eCt(t,e){V("Decorator",t,e)}function tCt(t,e){V("DoExpression",t,e)}function rCt(t,e){V("ExportDefaultSpecifier",t,e)}function iCt(t,e){V("RecordExpression",t,e)}function sCt(t,e){V("TupleExpression",t,e)}function nCt(t,e){V("DecimalLiteral",t,e)}function aCt(t,e){V("ModuleExpression",t,e)}function oCt(t,e){V("TopicReference",t,e)}function lCt(t,e){V("PipelineTopicExpression",t,e)}function uCt(t,e){V("PipelineBareFunction",t,e)}function cCt(t,e){V("PipelinePrimaryTopicReference",t,e)}function pCt(t,e){V("TSParameterProperty",t,e)}function fCt(t,e){V("TSDeclareFunction",t,e)}function dCt(t,e){V("TSDeclareMethod",t,e)}function hCt(t,e){V("TSQualifiedName",t,e)}function mCt(t,e){V("TSCallSignatureDeclaration",t,e)}function yCt(t,e){V("TSConstructSignatureDeclaration",t,e)}function gCt(t,e){V("TSPropertySignature",t,e)}function bCt(t,e){V("TSMethodSignature",t,e)}function vCt(t,e){V("TSIndexSignature",t,e)}function SCt(t,e){V("TSAnyKeyword",t,e)}function TCt(t,e){V("TSBooleanKeyword",t,e)}function xCt(t,e){V("TSBigIntKeyword",t,e)}function ECt(t,e){V("TSIntrinsicKeyword",t,e)}function wCt(t,e){V("TSNeverKeyword",t,e)}function ACt(t,e){V("TSNullKeyword",t,e)}function PCt(t,e){V("TSNumberKeyword",t,e)}function _Ct(t,e){V("TSObjectKeyword",t,e)}function CCt(t,e){V("TSStringKeyword",t,e)}function DCt(t,e){V("TSSymbolKeyword",t,e)}function NCt(t,e){V("TSUndefinedKeyword",t,e)}function ICt(t,e){V("TSUnknownKeyword",t,e)}function OCt(t,e){V("TSVoidKeyword",t,e)}function kCt(t,e){V("TSThisType",t,e)}function LCt(t,e){V("TSFunctionType",t,e)}function FCt(t,e){V("TSConstructorType",t,e)}function RCt(t,e){V("TSTypeReference",t,e)}function BCt(t,e){V("TSTypePredicate",t,e)}function MCt(t,e){V("TSTypeQuery",t,e)}function jCt(t,e){V("TSTypeLiteral",t,e)}function VCt(t,e){V("TSArrayType",t,e)}function UCt(t,e){V("TSTupleType",t,e)}function qCt(t,e){V("TSOptionalType",t,e)}function $Ct(t,e){V("TSRestType",t,e)}function KCt(t,e){V("TSNamedTupleMember",t,e)}function WCt(t,e){V("TSUnionType",t,e)}function GCt(t,e){V("TSIntersectionType",t,e)}function zCt(t,e){V("TSConditionalType",t,e)}function HCt(t,e){V("TSInferType",t,e)}function YCt(t,e){V("TSParenthesizedType",t,e)}function JCt(t,e){V("TSTypeOperator",t,e)}function XCt(t,e){V("TSIndexedAccessType",t,e)}function QCt(t,e){V("TSMappedType",t,e)}function ZCt(t,e){V("TSLiteralType",t,e)}function e8t(t,e){V("TSExpressionWithTypeArguments",t,e)}function t8t(t,e){V("TSInterfaceDeclaration",t,e)}function r8t(t,e){V("TSInterfaceBody",t,e)}function i8t(t,e){V("TSTypeAliasDeclaration",t,e)}function s8t(t,e){V("TSInstantiationExpression",t,e)}function n8t(t,e){V("TSAsExpression",t,e)}function a8t(t,e){V("TSSatisfiesExpression",t,e)}function o8t(t,e){V("TSTypeAssertion",t,e)}function l8t(t,e){V("TSEnumDeclaration",t,e)}function u8t(t,e){V("TSEnumMember",t,e)}function c8t(t,e){V("TSModuleDeclaration",t,e)}function p8t(t,e){V("TSModuleBlock",t,e)}function f8t(t,e){V("TSImportType",t,e)}function d8t(t,e){V("TSImportEqualsDeclaration",t,e)}function h8t(t,e){V("TSExternalModuleReference",t,e)}function m8t(t,e){V("TSNonNullExpression",t,e)}function y8t(t,e){V("TSExportAssignment",t,e)}function g8t(t,e){V("TSNamespaceExportDeclaration",t,e)}function b8t(t,e){V("TSTypeAnnotation",t,e)}function v8t(t,e){V("TSTypeParameterInstantiation",t,e)}function S8t(t,e){V("TSTypeParameterDeclaration",t,e)}function T8t(t,e){V("TSTypeParameter",t,e)}function x8t(t,e){V("Standardized",t,e)}function E8t(t,e){V("Expression",t,e)}function w8t(t,e){V("Binary",t,e)}function A8t(t,e){V("Scopable",t,e)}function P8t(t,e){V("BlockParent",t,e)}function _8t(t,e){V("Block",t,e)}function C8t(t,e){V("Statement",t,e)}function D8t(t,e){V("Terminatorless",t,e)}function N8t(t,e){V("CompletionStatement",t,e)}function I8t(t,e){V("Conditional",t,e)}function O8t(t,e){V("Loop",t,e)}function k8t(t,e){V("While",t,e)}function L8t(t,e){V("ExpressionWrapper",t,e)}function F8t(t,e){V("For",t,e)}function R8t(t,e){V("ForXStatement",t,e)}function B8t(t,e){V("Function",t,e)}function M8t(t,e){V("FunctionParent",t,e)}function j8t(t,e){V("Pureish",t,e)}function V8t(t,e){V("Declaration",t,e)}function U8t(t,e){V("PatternLike",t,e)}function q8t(t,e){V("LVal",t,e)}function $8t(t,e){V("TSEntityName",t,e)}function K8t(t,e){V("Literal",t,e)}function W8t(t,e){V("Immutable",t,e)}function G8t(t,e){V("UserWhitespacable",t,e)}function z8t(t,e){V("Method",t,e)}function H8t(t,e){V("ObjectMember",t,e)}function Y8t(t,e){V("Property",t,e)}function J8t(t,e){V("UnaryLike",t,e)}function X8t(t,e){V("Pattern",t,e)}function Q8t(t,e){V("Class",t,e)}function Z8t(t,e){V("ImportOrExportDeclaration",t,e)}function e5t(t,e){V("ExportDeclaration",t,e)}function t5t(t,e){V("ModuleSpecifier",t,e)}function r5t(t,e){V("Accessor",t,e)}function i5t(t,e){V("Private",t,e)}function s5t(t,e){V("Flow",t,e)}function n5t(t,e){V("FlowType",t,e)}function a5t(t,e){V("FlowBaseAnnotation",t,e)}function o5t(t,e){V("FlowDeclaration",t,e)}function l5t(t,e){V("FlowPredicate",t,e)}function u5t(t,e){V("EnumBody",t,e)}function c5t(t,e){V("EnumMember",t,e)}function p5t(t,e){V("JSX",t,e)}function f5t(t,e){V("Miscellaneous",t,e)}function d5t(t,e){V("TypeScript",t,e)}function h5t(t,e){V("TSTypeElement",t,e)}function m5t(t,e){V("TSType",t,e)}function y5t(t,e){V("TSBaseType",t,e)}function g5t(t,e){(0,GT.default)("assertNumberLiteral","assertNumericLiteral"),V("NumberLiteral",t,e)}function b5t(t,e){(0,GT.default)("assertRegexLiteral","assertRegExpLiteral"),V("RegexLiteral",t,e)}function v5t(t,e){(0,GT.default)("assertRestProperty","assertRestElement"),V("RestProperty",t,e)}function S5t(t,e){(0,GT.default)("assertSpreadProperty","assertSpreadElement"),V("SpreadProperty",t,e)}function T5t(t,e){(0,GT.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),V("ModuleDeclaration",t,e)}});var Aye=E($_=>{"use strict";Object.defineProperty($_,"__esModule",{value:!0});$_.default=void 0;var Eu=Ua(),e9r=$_.default=x5t;function x5t(t){switch(t){case"string":return(0,Eu.stringTypeAnnotation)();case"number":return(0,Eu.numberTypeAnnotation)();case"undefined":return(0,Eu.voidTypeAnnotation)();case"boolean":return(0,Eu.booleanTypeAnnotation)();case"function":return(0,Eu.genericTypeAnnotation)((0,Eu.identifier)("Function"));case"object":return(0,Eu.genericTypeAnnotation)((0,Eu.identifier)("Object"));case"symbol":return(0,Eu.genericTypeAnnotation)((0,Eu.identifier)("Symbol"));case"bigint":return(0,Eu.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var _V=E(PV=>{"use strict";Object.defineProperty(PV,"__esModule",{value:!0});PV.default=_ye;var zT=Zs();function Pye(t){return(0,zT.isIdentifier)(t)?t.name:`${t.id.name}.${Pye(t.qualification)}`}function _ye(t){let e=Array.from(t),r=new Map,i=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(o&&!(n.indexOf(o)>=0)){if((0,zT.isAnyTypeAnnotation)(o))return[o];if((0,zT.isFlowBaseAnnotation)(o)){i.set(o.type,o);continue}if((0,zT.isUnionTypeAnnotation)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,zT.isGenericTypeAnnotation)(o)){let l=Pye(o.id);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=_ye(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}n.push(o)}}for(let[,a]of i)n.push(a);for(let[,a]of r)n.push(a);return n}});var Cye=E(CV=>{"use strict";Object.defineProperty(CV,"__esModule",{value:!0});CV.default=A5t;var E5t=Ua(),w5t=_V();function A5t(t){let e=(0,w5t.default)(t);return e.length===1?e[0]:(0,E5t.unionTypeAnnotation)(e)}});var Iye=E(DV=>{"use strict";Object.defineProperty(DV,"__esModule",{value:!0});DV.default=Nye;var HT=Zs();function Dye(t){return(0,HT.isIdentifier)(t)?t.name:`${t.right.name}.${Dye(t.left)}`}function Nye(t){let e=Array.from(t),r=new Map,i=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(o&&!(n.indexOf(o)>=0)){if((0,HT.isTSAnyKeyword)(o))return[o];if((0,HT.isTSBaseType)(o)){i.set(o.type,o);continue}if((0,HT.isTSUnionType)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,HT.isTSTypeReference)(o)&&o.typeParameters){let l=Dye(o.typeName);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=Nye(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}n.push(o)}}for(let[,a]of i)n.push(a);for(let[,a]of r)n.push(a);return n}});var Oye=E(NV=>{"use strict";Object.defineProperty(NV,"__esModule",{value:!0});NV.default=D5t;var P5t=Ua(),_5t=Iye(),C5t=Zs();function D5t(t){let e=t.map(i=>(0,C5t.isTSTypeAnnotation)(i)?i.typeAnnotation:i),r=(0,_5t.default)(e);return r.length===1?r[0]:(0,P5t.tsUnionType)(r)}});var kye=E(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});Object.defineProperty(G,"AnyTypeAnnotation",{enumerable:!0,get:function(){return Y.anyTypeAnnotation}});Object.defineProperty(G,"ArgumentPlaceholder",{enumerable:!0,get:function(){return Y.argumentPlaceholder}});Object.defineProperty(G,"ArrayExpression",{enumerable:!0,get:function(){return Y.arrayExpression}});Object.defineProperty(G,"ArrayPattern",{enumerable:!0,get:function(){return Y.arrayPattern}});Object.defineProperty(G,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return Y.arrayTypeAnnotation}});Object.defineProperty(G,"ArrowFunctionExpression",{enumerable:!0,get:function(){return Y.arrowFunctionExpression}});Object.defineProperty(G,"AssignmentExpression",{enumerable:!0,get:function(){return Y.assignmentExpression}});Object.defineProperty(G,"AssignmentPattern",{enumerable:!0,get:function(){return Y.assignmentPattern}});Object.defineProperty(G,"AwaitExpression",{enumerable:!0,get:function(){return Y.awaitExpression}});Object.defineProperty(G,"BigIntLiteral",{enumerable:!0,get:function(){return Y.bigIntLiteral}});Object.defineProperty(G,"BinaryExpression",{enumerable:!0,get:function(){return Y.binaryExpression}});Object.defineProperty(G,"BindExpression",{enumerable:!0,get:function(){return Y.bindExpression}});Object.defineProperty(G,"BlockStatement",{enumerable:!0,get:function(){return Y.blockStatement}});Object.defineProperty(G,"BooleanLiteral",{enumerable:!0,get:function(){return Y.booleanLiteral}});Object.defineProperty(G,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.booleanLiteralTypeAnnotation}});Object.defineProperty(G,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return Y.booleanTypeAnnotation}});Object.defineProperty(G,"BreakStatement",{enumerable:!0,get:function(){return Y.breakStatement}});Object.defineProperty(G,"CallExpression",{enumerable:!0,get:function(){return Y.callExpression}});Object.defineProperty(G,"CatchClause",{enumerable:!0,get:function(){return Y.catchClause}});Object.defineProperty(G,"ClassAccessorProperty",{enumerable:!0,get:function(){return Y.classAccessorProperty}});Object.defineProperty(G,"ClassBody",{enumerable:!0,get:function(){return Y.classBody}});Object.defineProperty(G,"ClassDeclaration",{enumerable:!0,get:function(){return Y.classDeclaration}});Object.defineProperty(G,"ClassExpression",{enumerable:!0,get:function(){return Y.classExpression}});Object.defineProperty(G,"ClassImplements",{enumerable:!0,get:function(){return Y.classImplements}});Object.defineProperty(G,"ClassMethod",{enumerable:!0,get:function(){return Y.classMethod}});Object.defineProperty(G,"ClassPrivateMethod",{enumerable:!0,get:function(){return Y.classPrivateMethod}});Object.defineProperty(G,"ClassPrivateProperty",{enumerable:!0,get:function(){return Y.classPrivateProperty}});Object.defineProperty(G,"ClassProperty",{enumerable:!0,get:function(){return Y.classProperty}});Object.defineProperty(G,"ConditionalExpression",{enumerable:!0,get:function(){return Y.conditionalExpression}});Object.defineProperty(G,"ContinueStatement",{enumerable:!0,get:function(){return Y.continueStatement}});Object.defineProperty(G,"DebuggerStatement",{enumerable:!0,get:function(){return Y.debuggerStatement}});Object.defineProperty(G,"DecimalLiteral",{enumerable:!0,get:function(){return Y.decimalLiteral}});Object.defineProperty(G,"DeclareClass",{enumerable:!0,get:function(){return Y.declareClass}});Object.defineProperty(G,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return Y.declareExportAllDeclaration}});Object.defineProperty(G,"DeclareExportDeclaration",{enumerable:!0,get:function(){return Y.declareExportDeclaration}});Object.defineProperty(G,"DeclareFunction",{enumerable:!0,get:function(){return Y.declareFunction}});Object.defineProperty(G,"DeclareInterface",{enumerable:!0,get:function(){return Y.declareInterface}});Object.defineProperty(G,"DeclareModule",{enumerable:!0,get:function(){return Y.declareModule}});Object.defineProperty(G,"DeclareModuleExports",{enumerable:!0,get:function(){return Y.declareModuleExports}});Object.defineProperty(G,"DeclareOpaqueType",{enumerable:!0,get:function(){return Y.declareOpaqueType}});Object.defineProperty(G,"DeclareTypeAlias",{enumerable:!0,get:function(){return Y.declareTypeAlias}});Object.defineProperty(G,"DeclareVariable",{enumerable:!0,get:function(){return Y.declareVariable}});Object.defineProperty(G,"DeclaredPredicate",{enumerable:!0,get:function(){return Y.declaredPredicate}});Object.defineProperty(G,"Decorator",{enumerable:!0,get:function(){return Y.decorator}});Object.defineProperty(G,"Directive",{enumerable:!0,get:function(){return Y.directive}});Object.defineProperty(G,"DirectiveLiteral",{enumerable:!0,get:function(){return Y.directiveLiteral}});Object.defineProperty(G,"DoExpression",{enumerable:!0,get:function(){return Y.doExpression}});Object.defineProperty(G,"DoWhileStatement",{enumerable:!0,get:function(){return Y.doWhileStatement}});Object.defineProperty(G,"EmptyStatement",{enumerable:!0,get:function(){return Y.emptyStatement}});Object.defineProperty(G,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return Y.emptyTypeAnnotation}});Object.defineProperty(G,"EnumBooleanBody",{enumerable:!0,get:function(){return Y.enumBooleanBody}});Object.defineProperty(G,"EnumBooleanMember",{enumerable:!0,get:function(){return Y.enumBooleanMember}});Object.defineProperty(G,"EnumDeclaration",{enumerable:!0,get:function(){return Y.enumDeclaration}});Object.defineProperty(G,"EnumDefaultedMember",{enumerable:!0,get:function(){return Y.enumDefaultedMember}});Object.defineProperty(G,"EnumNumberBody",{enumerable:!0,get:function(){return Y.enumNumberBody}});Object.defineProperty(G,"EnumNumberMember",{enumerable:!0,get:function(){return Y.enumNumberMember}});Object.defineProperty(G,"EnumStringBody",{enumerable:!0,get:function(){return Y.enumStringBody}});Object.defineProperty(G,"EnumStringMember",{enumerable:!0,get:function(){return Y.enumStringMember}});Object.defineProperty(G,"EnumSymbolBody",{enumerable:!0,get:function(){return Y.enumSymbolBody}});Object.defineProperty(G,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return Y.existsTypeAnnotation}});Object.defineProperty(G,"ExportAllDeclaration",{enumerable:!0,get:function(){return Y.exportAllDeclaration}});Object.defineProperty(G,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return Y.exportDefaultDeclaration}});Object.defineProperty(G,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return Y.exportDefaultSpecifier}});Object.defineProperty(G,"ExportNamedDeclaration",{enumerable:!0,get:function(){return Y.exportNamedDeclaration}});Object.defineProperty(G,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return Y.exportNamespaceSpecifier}});Object.defineProperty(G,"ExportSpecifier",{enumerable:!0,get:function(){return Y.exportSpecifier}});Object.defineProperty(G,"ExpressionStatement",{enumerable:!0,get:function(){return Y.expressionStatement}});Object.defineProperty(G,"File",{enumerable:!0,get:function(){return Y.file}});Object.defineProperty(G,"ForInStatement",{enumerable:!0,get:function(){return Y.forInStatement}});Object.defineProperty(G,"ForOfStatement",{enumerable:!0,get:function(){return Y.forOfStatement}});Object.defineProperty(G,"ForStatement",{enumerable:!0,get:function(){return Y.forStatement}});Object.defineProperty(G,"FunctionDeclaration",{enumerable:!0,get:function(){return Y.functionDeclaration}});Object.defineProperty(G,"FunctionExpression",{enumerable:!0,get:function(){return Y.functionExpression}});Object.defineProperty(G,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return Y.functionTypeAnnotation}});Object.defineProperty(G,"FunctionTypeParam",{enumerable:!0,get:function(){return Y.functionTypeParam}});Object.defineProperty(G,"GenericTypeAnnotation",{enumerable:!0,get:function(){return Y.genericTypeAnnotation}});Object.defineProperty(G,"Identifier",{enumerable:!0,get:function(){return Y.identifier}});Object.defineProperty(G,"IfStatement",{enumerable:!0,get:function(){return Y.ifStatement}});Object.defineProperty(G,"Import",{enumerable:!0,get:function(){return Y.import}});Object.defineProperty(G,"ImportAttribute",{enumerable:!0,get:function(){return Y.importAttribute}});Object.defineProperty(G,"ImportDeclaration",{enumerable:!0,get:function(){return Y.importDeclaration}});Object.defineProperty(G,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return Y.importDefaultSpecifier}});Object.defineProperty(G,"ImportExpression",{enumerable:!0,get:function(){return Y.importExpression}});Object.defineProperty(G,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return Y.importNamespaceSpecifier}});Object.defineProperty(G,"ImportSpecifier",{enumerable:!0,get:function(){return Y.importSpecifier}});Object.defineProperty(G,"IndexedAccessType",{enumerable:!0,get:function(){return Y.indexedAccessType}});Object.defineProperty(G,"InferredPredicate",{enumerable:!0,get:function(){return Y.inferredPredicate}});Object.defineProperty(G,"InterfaceDeclaration",{enumerable:!0,get:function(){return Y.interfaceDeclaration}});Object.defineProperty(G,"InterfaceExtends",{enumerable:!0,get:function(){return Y.interfaceExtends}});Object.defineProperty(G,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return Y.interfaceTypeAnnotation}});Object.defineProperty(G,"InterpreterDirective",{enumerable:!0,get:function(){return Y.interpreterDirective}});Object.defineProperty(G,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return Y.intersectionTypeAnnotation}});Object.defineProperty(G,"JSXAttribute",{enumerable:!0,get:function(){return Y.jsxAttribute}});Object.defineProperty(G,"JSXClosingElement",{enumerable:!0,get:function(){return Y.jsxClosingElement}});Object.defineProperty(G,"JSXClosingFragment",{enumerable:!0,get:function(){return Y.jsxClosingFragment}});Object.defineProperty(G,"JSXElement",{enumerable:!0,get:function(){return Y.jsxElement}});Object.defineProperty(G,"JSXEmptyExpression",{enumerable:!0,get:function(){return Y.jsxEmptyExpression}});Object.defineProperty(G,"JSXExpressionContainer",{enumerable:!0,get:function(){return Y.jsxExpressionContainer}});Object.defineProperty(G,"JSXFragment",{enumerable:!0,get:function(){return Y.jsxFragment}});Object.defineProperty(G,"JSXIdentifier",{enumerable:!0,get:function(){return Y.jsxIdentifier}});Object.defineProperty(G,"JSXMemberExpression",{enumerable:!0,get:function(){return Y.jsxMemberExpression}});Object.defineProperty(G,"JSXNamespacedName",{enumerable:!0,get:function(){return Y.jsxNamespacedName}});Object.defineProperty(G,"JSXOpeningElement",{enumerable:!0,get:function(){return Y.jsxOpeningElement}});Object.defineProperty(G,"JSXOpeningFragment",{enumerable:!0,get:function(){return Y.jsxOpeningFragment}});Object.defineProperty(G,"JSXSpreadAttribute",{enumerable:!0,get:function(){return Y.jsxSpreadAttribute}});Object.defineProperty(G,"JSXSpreadChild",{enumerable:!0,get:function(){return Y.jsxSpreadChild}});Object.defineProperty(G,"JSXText",{enumerable:!0,get:function(){return Y.jsxText}});Object.defineProperty(G,"LabeledStatement",{enumerable:!0,get:function(){return Y.labeledStatement}});Object.defineProperty(G,"LogicalExpression",{enumerable:!0,get:function(){return Y.logicalExpression}});Object.defineProperty(G,"MemberExpression",{enumerable:!0,get:function(){return Y.memberExpression}});Object.defineProperty(G,"MetaProperty",{enumerable:!0,get:function(){return Y.metaProperty}});Object.defineProperty(G,"MixedTypeAnnotation",{enumerable:!0,get:function(){return Y.mixedTypeAnnotation}});Object.defineProperty(G,"ModuleExpression",{enumerable:!0,get:function(){return Y.moduleExpression}});Object.defineProperty(G,"NewExpression",{enumerable:!0,get:function(){return Y.newExpression}});Object.defineProperty(G,"Noop",{enumerable:!0,get:function(){return Y.noop}});Object.defineProperty(G,"NullLiteral",{enumerable:!0,get:function(){return Y.nullLiteral}});Object.defineProperty(G,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.nullLiteralTypeAnnotation}});Object.defineProperty(G,"NullableTypeAnnotation",{enumerable:!0,get:function(){return Y.nullableTypeAnnotation}});Object.defineProperty(G,"NumberLiteral",{enumerable:!0,get:function(){return Y.numberLiteral}});Object.defineProperty(G,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.numberLiteralTypeAnnotation}});Object.defineProperty(G,"NumberTypeAnnotation",{enumerable:!0,get:function(){return Y.numberTypeAnnotation}});Object.defineProperty(G,"NumericLiteral",{enumerable:!0,get:function(){return Y.numericLiteral}});Object.defineProperty(G,"ObjectExpression",{enumerable:!0,get:function(){return Y.objectExpression}});Object.defineProperty(G,"ObjectMethod",{enumerable:!0,get:function(){return Y.objectMethod}});Object.defineProperty(G,"ObjectPattern",{enumerable:!0,get:function(){return Y.objectPattern}});Object.defineProperty(G,"ObjectProperty",{enumerable:!0,get:function(){return Y.objectProperty}});Object.defineProperty(G,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return Y.objectTypeAnnotation}});Object.defineProperty(G,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return Y.objectTypeCallProperty}});Object.defineProperty(G,"ObjectTypeIndexer",{enumerable:!0,get:function(){return Y.objectTypeIndexer}});Object.defineProperty(G,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return Y.objectTypeInternalSlot}});Object.defineProperty(G,"ObjectTypeProperty",{enumerable:!0,get:function(){return Y.objectTypeProperty}});Object.defineProperty(G,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return Y.objectTypeSpreadProperty}});Object.defineProperty(G,"OpaqueType",{enumerable:!0,get:function(){return Y.opaqueType}});Object.defineProperty(G,"OptionalCallExpression",{enumerable:!0,get:function(){return Y.optionalCallExpression}});Object.defineProperty(G,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return Y.optionalIndexedAccessType}});Object.defineProperty(G,"OptionalMemberExpression",{enumerable:!0,get:function(){return Y.optionalMemberExpression}});Object.defineProperty(G,"ParenthesizedExpression",{enumerable:!0,get:function(){return Y.parenthesizedExpression}});Object.defineProperty(G,"PipelineBareFunction",{enumerable:!0,get:function(){return Y.pipelineBareFunction}});Object.defineProperty(G,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return Y.pipelinePrimaryTopicReference}});Object.defineProperty(G,"PipelineTopicExpression",{enumerable:!0,get:function(){return Y.pipelineTopicExpression}});Object.defineProperty(G,"Placeholder",{enumerable:!0,get:function(){return Y.placeholder}});Object.defineProperty(G,"PrivateName",{enumerable:!0,get:function(){return Y.privateName}});Object.defineProperty(G,"Program",{enumerable:!0,get:function(){return Y.program}});Object.defineProperty(G,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return Y.qualifiedTypeIdentifier}});Object.defineProperty(G,"RecordExpression",{enumerable:!0,get:function(){return Y.recordExpression}});Object.defineProperty(G,"RegExpLiteral",{enumerable:!0,get:function(){return Y.regExpLiteral}});Object.defineProperty(G,"RegexLiteral",{enumerable:!0,get:function(){return Y.regexLiteral}});Object.defineProperty(G,"RestElement",{enumerable:!0,get:function(){return Y.restElement}});Object.defineProperty(G,"RestProperty",{enumerable:!0,get:function(){return Y.restProperty}});Object.defineProperty(G,"ReturnStatement",{enumerable:!0,get:function(){return Y.returnStatement}});Object.defineProperty(G,"SequenceExpression",{enumerable:!0,get:function(){return Y.sequenceExpression}});Object.defineProperty(G,"SpreadElement",{enumerable:!0,get:function(){return Y.spreadElement}});Object.defineProperty(G,"SpreadProperty",{enumerable:!0,get:function(){return Y.spreadProperty}});Object.defineProperty(G,"StaticBlock",{enumerable:!0,get:function(){return Y.staticBlock}});Object.defineProperty(G,"StringLiteral",{enumerable:!0,get:function(){return Y.stringLiteral}});Object.defineProperty(G,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.stringLiteralTypeAnnotation}});Object.defineProperty(G,"StringTypeAnnotation",{enumerable:!0,get:function(){return Y.stringTypeAnnotation}});Object.defineProperty(G,"Super",{enumerable:!0,get:function(){return Y.super}});Object.defineProperty(G,"SwitchCase",{enumerable:!0,get:function(){return Y.switchCase}});Object.defineProperty(G,"SwitchStatement",{enumerable:!0,get:function(){return Y.switchStatement}});Object.defineProperty(G,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return Y.symbolTypeAnnotation}});Object.defineProperty(G,"TSAnyKeyword",{enumerable:!0,get:function(){return Y.tsAnyKeyword}});Object.defineProperty(G,"TSArrayType",{enumerable:!0,get:function(){return Y.tsArrayType}});Object.defineProperty(G,"TSAsExpression",{enumerable:!0,get:function(){return Y.tsAsExpression}});Object.defineProperty(G,"TSBigIntKeyword",{enumerable:!0,get:function(){return Y.tsBigIntKeyword}});Object.defineProperty(G,"TSBooleanKeyword",{enumerable:!0,get:function(){return Y.tsBooleanKeyword}});Object.defineProperty(G,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return Y.tsCallSignatureDeclaration}});Object.defineProperty(G,"TSConditionalType",{enumerable:!0,get:function(){return Y.tsConditionalType}});Object.defineProperty(G,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return Y.tsConstructSignatureDeclaration}});Object.defineProperty(G,"TSConstructorType",{enumerable:!0,get:function(){return Y.tsConstructorType}});Object.defineProperty(G,"TSDeclareFunction",{enumerable:!0,get:function(){return Y.tsDeclareFunction}});Object.defineProperty(G,"TSDeclareMethod",{enumerable:!0,get:function(){return Y.tsDeclareMethod}});Object.defineProperty(G,"TSEnumDeclaration",{enumerable:!0,get:function(){return Y.tsEnumDeclaration}});Object.defineProperty(G,"TSEnumMember",{enumerable:!0,get:function(){return Y.tsEnumMember}});Object.defineProperty(G,"TSExportAssignment",{enumerable:!0,get:function(){return Y.tsExportAssignment}});Object.defineProperty(G,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return Y.tsExpressionWithTypeArguments}});Object.defineProperty(G,"TSExternalModuleReference",{enumerable:!0,get:function(){return Y.tsExternalModuleReference}});Object.defineProperty(G,"TSFunctionType",{enumerable:!0,get:function(){return Y.tsFunctionType}});Object.defineProperty(G,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return Y.tsImportEqualsDeclaration}});Object.defineProperty(G,"TSImportType",{enumerable:!0,get:function(){return Y.tsImportType}});Object.defineProperty(G,"TSIndexSignature",{enumerable:!0,get:function(){return Y.tsIndexSignature}});Object.defineProperty(G,"TSIndexedAccessType",{enumerable:!0,get:function(){return Y.tsIndexedAccessType}});Object.defineProperty(G,"TSInferType",{enumerable:!0,get:function(){return Y.tsInferType}});Object.defineProperty(G,"TSInstantiationExpression",{enumerable:!0,get:function(){return Y.tsInstantiationExpression}});Object.defineProperty(G,"TSInterfaceBody",{enumerable:!0,get:function(){return Y.tsInterfaceBody}});Object.defineProperty(G,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return Y.tsInterfaceDeclaration}});Object.defineProperty(G,"TSIntersectionType",{enumerable:!0,get:function(){return Y.tsIntersectionType}});Object.defineProperty(G,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return Y.tsIntrinsicKeyword}});Object.defineProperty(G,"TSLiteralType",{enumerable:!0,get:function(){return Y.tsLiteralType}});Object.defineProperty(G,"TSMappedType",{enumerable:!0,get:function(){return Y.tsMappedType}});Object.defineProperty(G,"TSMethodSignature",{enumerable:!0,get:function(){return Y.tsMethodSignature}});Object.defineProperty(G,"TSModuleBlock",{enumerable:!0,get:function(){return Y.tsModuleBlock}});Object.defineProperty(G,"TSModuleDeclaration",{enumerable:!0,get:function(){return Y.tsModuleDeclaration}});Object.defineProperty(G,"TSNamedTupleMember",{enumerable:!0,get:function(){return Y.tsNamedTupleMember}});Object.defineProperty(G,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return Y.tsNamespaceExportDeclaration}});Object.defineProperty(G,"TSNeverKeyword",{enumerable:!0,get:function(){return Y.tsNeverKeyword}});Object.defineProperty(G,"TSNonNullExpression",{enumerable:!0,get:function(){return Y.tsNonNullExpression}});Object.defineProperty(G,"TSNullKeyword",{enumerable:!0,get:function(){return Y.tsNullKeyword}});Object.defineProperty(G,"TSNumberKeyword",{enumerable:!0,get:function(){return Y.tsNumberKeyword}});Object.defineProperty(G,"TSObjectKeyword",{enumerable:!0,get:function(){return Y.tsObjectKeyword}});Object.defineProperty(G,"TSOptionalType",{enumerable:!0,get:function(){return Y.tsOptionalType}});Object.defineProperty(G,"TSParameterProperty",{enumerable:!0,get:function(){return Y.tsParameterProperty}});Object.defineProperty(G,"TSParenthesizedType",{enumerable:!0,get:function(){return Y.tsParenthesizedType}});Object.defineProperty(G,"TSPropertySignature",{enumerable:!0,get:function(){return Y.tsPropertySignature}});Object.defineProperty(G,"TSQualifiedName",{enumerable:!0,get:function(){return Y.tsQualifiedName}});Object.defineProperty(G,"TSRestType",{enumerable:!0,get:function(){return Y.tsRestType}});Object.defineProperty(G,"TSSatisfiesExpression",{enumerable:!0,get:function(){return Y.tsSatisfiesExpression}});Object.defineProperty(G,"TSStringKeyword",{enumerable:!0,get:function(){return Y.tsStringKeyword}});Object.defineProperty(G,"TSSymbolKeyword",{enumerable:!0,get:function(){return Y.tsSymbolKeyword}});Object.defineProperty(G,"TSThisType",{enumerable:!0,get:function(){return Y.tsThisType}});Object.defineProperty(G,"TSTupleType",{enumerable:!0,get:function(){return Y.tsTupleType}});Object.defineProperty(G,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return Y.tsTypeAliasDeclaration}});Object.defineProperty(G,"TSTypeAnnotation",{enumerable:!0,get:function(){return Y.tsTypeAnnotation}});Object.defineProperty(G,"TSTypeAssertion",{enumerable:!0,get:function(){return Y.tsTypeAssertion}});Object.defineProperty(G,"TSTypeLiteral",{enumerable:!0,get:function(){return Y.tsTypeLiteral}});Object.defineProperty(G,"TSTypeOperator",{enumerable:!0,get:function(){return Y.tsTypeOperator}});Object.defineProperty(G,"TSTypeParameter",{enumerable:!0,get:function(){return Y.tsTypeParameter}});Object.defineProperty(G,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return Y.tsTypeParameterDeclaration}});Object.defineProperty(G,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return Y.tsTypeParameterInstantiation}});Object.defineProperty(G,"TSTypePredicate",{enumerable:!0,get:function(){return Y.tsTypePredicate}});Object.defineProperty(G,"TSTypeQuery",{enumerable:!0,get:function(){return Y.tsTypeQuery}});Object.defineProperty(G,"TSTypeReference",{enumerable:!0,get:function(){return Y.tsTypeReference}});Object.defineProperty(G,"TSUndefinedKeyword",{enumerable:!0,get:function(){return Y.tsUndefinedKeyword}});Object.defineProperty(G,"TSUnionType",{enumerable:!0,get:function(){return Y.tsUnionType}});Object.defineProperty(G,"TSUnknownKeyword",{enumerable:!0,get:function(){return Y.tsUnknownKeyword}});Object.defineProperty(G,"TSVoidKeyword",{enumerable:!0,get:function(){return Y.tsVoidKeyword}});Object.defineProperty(G,"TaggedTemplateExpression",{enumerable:!0,get:function(){return Y.taggedTemplateExpression}});Object.defineProperty(G,"TemplateElement",{enumerable:!0,get:function(){return Y.templateElement}});Object.defineProperty(G,"TemplateLiteral",{enumerable:!0,get:function(){return Y.templateLiteral}});Object.defineProperty(G,"ThisExpression",{enumerable:!0,get:function(){return Y.thisExpression}});Object.defineProperty(G,"ThisTypeAnnotation",{enumerable:!0,get:function(){return Y.thisTypeAnnotation}});Object.defineProperty(G,"ThrowStatement",{enumerable:!0,get:function(){return Y.throwStatement}});Object.defineProperty(G,"TopicReference",{enumerable:!0,get:function(){return Y.topicReference}});Object.defineProperty(G,"TryStatement",{enumerable:!0,get:function(){return Y.tryStatement}});Object.defineProperty(G,"TupleExpression",{enumerable:!0,get:function(){return Y.tupleExpression}});Object.defineProperty(G,"TupleTypeAnnotation",{enumerable:!0,get:function(){return Y.tupleTypeAnnotation}});Object.defineProperty(G,"TypeAlias",{enumerable:!0,get:function(){return Y.typeAlias}});Object.defineProperty(G,"TypeAnnotation",{enumerable:!0,get:function(){return Y.typeAnnotation}});Object.defineProperty(G,"TypeCastExpression",{enumerable:!0,get:function(){return Y.typeCastExpression}});Object.defineProperty(G,"TypeParameter",{enumerable:!0,get:function(){return Y.typeParameter}});Object.defineProperty(G,"TypeParameterDeclaration",{enumerable:!0,get:function(){return Y.typeParameterDeclaration}});Object.defineProperty(G,"TypeParameterInstantiation",{enumerable:!0,get:function(){return Y.typeParameterInstantiation}});Object.defineProperty(G,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return Y.typeofTypeAnnotation}});Object.defineProperty(G,"UnaryExpression",{enumerable:!0,get:function(){return Y.unaryExpression}});Object.defineProperty(G,"UnionTypeAnnotation",{enumerable:!0,get:function(){return Y.unionTypeAnnotation}});Object.defineProperty(G,"UpdateExpression",{enumerable:!0,get:function(){return Y.updateExpression}});Object.defineProperty(G,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return Y.v8IntrinsicIdentifier}});Object.defineProperty(G,"VariableDeclaration",{enumerable:!0,get:function(){return Y.variableDeclaration}});Object.defineProperty(G,"VariableDeclarator",{enumerable:!0,get:function(){return Y.variableDeclarator}});Object.defineProperty(G,"Variance",{enumerable:!0,get:function(){return Y.variance}});Object.defineProperty(G,"VoidTypeAnnotation",{enumerable:!0,get:function(){return Y.voidTypeAnnotation}});Object.defineProperty(G,"WhileStatement",{enumerable:!0,get:function(){return Y.whileStatement}});Object.defineProperty(G,"WithStatement",{enumerable:!0,get:function(){return Y.withStatement}});Object.defineProperty(G,"YieldExpression",{enumerable:!0,get:function(){return Y.yieldExpression}});var Y=Ua()});var Fye=E(IV=>{"use strict";Object.defineProperty(IV,"__esModule",{value:!0});IV.buildUndefinedNode=N5t;var Lye=Ua();function N5t(){return(0,Lye.unaryExpression)("void",(0,Lye.numericLiteral)(0),!0)}});var zd=E(OV=>{"use strict";Object.defineProperty(OV,"__esModule",{value:!0});OV.default=I5t;var Rye=Rl(),Bye=Zs(),Jp=Function.call.bind(Object.prototype.hasOwnProperty);function Mye(t,e,r,i){return t&&typeof t.type=="string"?Vye(t,e,r,i):t}function jye(t,e,r,i){return Array.isArray(t)?t.map(s=>Mye(s,e,r,i)):Mye(t,e,r,i)}function I5t(t,e=!0,r=!1){return Vye(t,e,r,new Map)}function Vye(t,e=!0,r=!1,i){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,Bye.isIdentifier)(t))n.name=t.name,Jp(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),Jp(t,"typeAnnotation")&&(n.typeAnnotation=e?jye(t.typeAnnotation,!0,r,i):t.typeAnnotation);else if(Jp(Rye.NODE_FIELDS,s))for(let a of Object.keys(Rye.NODE_FIELDS[s]))Jp(t,a)&&(e?n[a]=(0,Bye.isFile)(t)&&a==="comments"?K_(t.comments,e,r,i):jye(t[a],!0,r,i):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return Jp(t,"loc")&&(r?n.loc=null:n.loc=t.loc),Jp(t,"leadingComments")&&(n.leadingComments=K_(t.leadingComments,e,r,i)),Jp(t,"innerComments")&&(n.innerComments=K_(t.innerComments,e,r,i)),Jp(t,"trailingComments")&&(n.trailingComments=K_(t.trailingComments,e,r,i)),Jp(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function K_(t,e,r,i){return!t||!e?t:t.map(s=>{let n=i.get(s);if(n)return n;let{type:a,value:o,loc:l}=s,u={type:a,value:o,loc:l};return r&&(u.loc=null),i.set(s,u),u})}});var Uye=E(kV=>{"use strict";Object.defineProperty(kV,"__esModule",{value:!0});kV.default=k5t;var O5t=zd();function k5t(t){return(0,O5t.default)(t,!1)}});var qye=E(LV=>{"use strict";Object.defineProperty(LV,"__esModule",{value:!0});LV.default=F5t;var L5t=zd();function F5t(t){return(0,L5t.default)(t)}});var $ye=E(FV=>{"use strict";Object.defineProperty(FV,"__esModule",{value:!0});FV.default=B5t;var R5t=zd();function B5t(t){return(0,R5t.default)(t,!0,!0)}});var Kye=E(RV=>{"use strict";Object.defineProperty(RV,"__esModule",{value:!0});RV.default=j5t;var M5t=zd();function j5t(t){return(0,M5t.default)(t,!1,!0)}});var MV=E(BV=>{"use strict";Object.defineProperty(BV,"__esModule",{value:!0});BV.default=V5t;function V5t(t,e,r){if(!r||!t)return t;let i=`${e}Comments`;return t[i]?e==="leading"?t[i]=r.concat(t[i]):t[i].push(...r):t[i]=r,t}});var Wye=E(jV=>{"use strict";Object.defineProperty(jV,"__esModule",{value:!0});jV.default=q5t;var U5t=MV();function q5t(t,e,r,i){return(0,U5t.default)(t,e,[{type:i?"CommentLine":"CommentBlock",value:r}])}});var W_=E(VV=>{"use strict";Object.defineProperty(VV,"__esModule",{value:!0});VV.default=$5t;function $5t(t,e,r){e&&r&&(e[t]=Array.from(new Set([].concat(e[t],r[t]).filter(Boolean))))}});var qV=E(UV=>{"use strict";Object.defineProperty(UV,"__esModule",{value:!0});UV.default=W5t;var K5t=W_();function W5t(t,e){(0,K5t.default)("innerComments",t,e)}});var KV=E($V=>{"use strict";Object.defineProperty($V,"__esModule",{value:!0});$V.default=z5t;var G5t=W_();function z5t(t,e){(0,G5t.default)("leadingComments",t,e)}});var GV=E(WV=>{"use strict";Object.defineProperty(WV,"__esModule",{value:!0});WV.default=Y5t;var H5t=W_();function Y5t(t,e){(0,H5t.default)("trailingComments",t,e)}});var HV=E(zV=>{"use strict";Object.defineProperty(zV,"__esModule",{value:!0});zV.default=Z5t;var J5t=GV(),X5t=KV(),Q5t=qV();function Z5t(t,e){return(0,J5t.default)(t,e),(0,X5t.default)(t,e),(0,Q5t.default)(t,e),t}});var Gye=E(YV=>{"use strict";Object.defineProperty(YV,"__esModule",{value:!0});YV.default=t9t;var e9t=Kd();function t9t(t){return e9t.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var zye=E(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.WHILE_TYPES=Ve.USERWHITESPACABLE_TYPES=Ve.UNARYLIKE_TYPES=Ve.TYPESCRIPT_TYPES=Ve.TSTYPE_TYPES=Ve.TSTYPEELEMENT_TYPES=Ve.TSENTITYNAME_TYPES=Ve.TSBASETYPE_TYPES=Ve.TERMINATORLESS_TYPES=Ve.STATEMENT_TYPES=Ve.STANDARDIZED_TYPES=Ve.SCOPABLE_TYPES=Ve.PUREISH_TYPES=Ve.PROPERTY_TYPES=Ve.PRIVATE_TYPES=Ve.PATTERN_TYPES=Ve.PATTERNLIKE_TYPES=Ve.OBJECTMEMBER_TYPES=Ve.MODULESPECIFIER_TYPES=Ve.MODULEDECLARATION_TYPES=Ve.MISCELLANEOUS_TYPES=Ve.METHOD_TYPES=Ve.LVAL_TYPES=Ve.LOOP_TYPES=Ve.LITERAL_TYPES=Ve.JSX_TYPES=Ve.IMPORTOREXPORTDECLARATION_TYPES=Ve.IMMUTABLE_TYPES=Ve.FUNCTION_TYPES=Ve.FUNCTIONPARENT_TYPES=Ve.FOR_TYPES=Ve.FORXSTATEMENT_TYPES=Ve.FLOW_TYPES=Ve.FLOWTYPE_TYPES=Ve.FLOWPREDICATE_TYPES=Ve.FLOWDECLARATION_TYPES=Ve.FLOWBASEANNOTATION_TYPES=Ve.EXPRESSION_TYPES=Ve.EXPRESSIONWRAPPER_TYPES=Ve.EXPORTDECLARATION_TYPES=Ve.ENUMMEMBER_TYPES=Ve.ENUMBODY_TYPES=Ve.DECLARATION_TYPES=Ve.CONDITIONAL_TYPES=Ve.COMPLETIONSTATEMENT_TYPES=Ve.CLASS_TYPES=Ve.BLOCK_TYPES=Ve.BLOCKPARENT_TYPES=Ve.BINARY_TYPES=Ve.ACCESSOR_TYPES=void 0;var Ht=Rl(),T9r=Ve.STANDARDIZED_TYPES=Ht.FLIPPED_ALIAS_KEYS.Standardized,x9r=Ve.EXPRESSION_TYPES=Ht.FLIPPED_ALIAS_KEYS.Expression,E9r=Ve.BINARY_TYPES=Ht.FLIPPED_ALIAS_KEYS.Binary,w9r=Ve.SCOPABLE_TYPES=Ht.FLIPPED_ALIAS_KEYS.Scopable,A9r=Ve.BLOCKPARENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.BlockParent,P9r=Ve.BLOCK_TYPES=Ht.FLIPPED_ALIAS_KEYS.Block,_9r=Ve.STATEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.Statement,C9r=Ve.TERMINATORLESS_TYPES=Ht.FLIPPED_ALIAS_KEYS.Terminatorless,D9r=Ve.COMPLETIONSTATEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.CompletionStatement,N9r=Ve.CONDITIONAL_TYPES=Ht.FLIPPED_ALIAS_KEYS.Conditional,I9r=Ve.LOOP_TYPES=Ht.FLIPPED_ALIAS_KEYS.Loop,O9r=Ve.WHILE_TYPES=Ht.FLIPPED_ALIAS_KEYS.While,k9r=Ve.EXPRESSIONWRAPPER_TYPES=Ht.FLIPPED_ALIAS_KEYS.ExpressionWrapper,L9r=Ve.FOR_TYPES=Ht.FLIPPED_ALIAS_KEYS.For,F9r=Ve.FORXSTATEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.ForXStatement,R9r=Ve.FUNCTION_TYPES=Ht.FLIPPED_ALIAS_KEYS.Function,B9r=Ve.FUNCTIONPARENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.FunctionParent,M9r=Ve.PUREISH_TYPES=Ht.FLIPPED_ALIAS_KEYS.Pureish,j9r=Ve.DECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.Declaration,V9r=Ve.PATTERNLIKE_TYPES=Ht.FLIPPED_ALIAS_KEYS.PatternLike,U9r=Ve.LVAL_TYPES=Ht.FLIPPED_ALIAS_KEYS.LVal,q9r=Ve.TSENTITYNAME_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSEntityName,$9r=Ve.LITERAL_TYPES=Ht.FLIPPED_ALIAS_KEYS.Literal,K9r=Ve.IMMUTABLE_TYPES=Ht.FLIPPED_ALIAS_KEYS.Immutable,W9r=Ve.USERWHITESPACABLE_TYPES=Ht.FLIPPED_ALIAS_KEYS.UserWhitespacable,G9r=Ve.METHOD_TYPES=Ht.FLIPPED_ALIAS_KEYS.Method,z9r=Ve.OBJECTMEMBER_TYPES=Ht.FLIPPED_ALIAS_KEYS.ObjectMember,H9r=Ve.PROPERTY_TYPES=Ht.FLIPPED_ALIAS_KEYS.Property,Y9r=Ve.UNARYLIKE_TYPES=Ht.FLIPPED_ALIAS_KEYS.UnaryLike,J9r=Ve.PATTERN_TYPES=Ht.FLIPPED_ALIAS_KEYS.Pattern,X9r=Ve.CLASS_TYPES=Ht.FLIPPED_ALIAS_KEYS.Class,r9t=Ve.IMPORTOREXPORTDECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,Q9r=Ve.EXPORTDECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.ExportDeclaration,Z9r=Ve.MODULESPECIFIER_TYPES=Ht.FLIPPED_ALIAS_KEYS.ModuleSpecifier,eDr=Ve.ACCESSOR_TYPES=Ht.FLIPPED_ALIAS_KEYS.Accessor,tDr=Ve.PRIVATE_TYPES=Ht.FLIPPED_ALIAS_KEYS.Private,rDr=Ve.FLOW_TYPES=Ht.FLIPPED_ALIAS_KEYS.Flow,iDr=Ve.FLOWTYPE_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowType,sDr=Ve.FLOWBASEANNOTATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,nDr=Ve.FLOWDECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowDeclaration,aDr=Ve.FLOWPREDICATE_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowPredicate,oDr=Ve.ENUMBODY_TYPES=Ht.FLIPPED_ALIAS_KEYS.EnumBody,lDr=Ve.ENUMMEMBER_TYPES=Ht.FLIPPED_ALIAS_KEYS.EnumMember,uDr=Ve.JSX_TYPES=Ht.FLIPPED_ALIAS_KEYS.JSX,cDr=Ve.MISCELLANEOUS_TYPES=Ht.FLIPPED_ALIAS_KEYS.Miscellaneous,pDr=Ve.TYPESCRIPT_TYPES=Ht.FLIPPED_ALIAS_KEYS.TypeScript,fDr=Ve.TSTYPEELEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSTypeElement,dDr=Ve.TSTYPE_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSType,hDr=Ve.TSBASETYPE_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSBaseType,mDr=Ve.MODULEDECLARATION_TYPES=r9t});var QV=E(XV=>{"use strict";Object.defineProperty(XV,"__esModule",{value:!0});XV.default=i9t;var G_=Zs(),JV=Ua();function i9t(t,e){if((0,G_.isBlockStatement)(t))return t;let r=[];return(0,G_.isEmptyStatement)(t)?r=[]:((0,G_.isStatement)(t)||((0,G_.isFunction)(e)?t=(0,JV.returnStatement)(t):t=(0,JV.expressionStatement)(t)),r=[t]),(0,JV.blockStatement)(r)}});var Hye=E(ZV=>{"use strict";Object.defineProperty(ZV,"__esModule",{value:!0});ZV.default=n9t;var s9t=QV();function n9t(t,e="body"){let r=(0,s9t.default)(t[e],t);return t[e]=r,r}});var tU=E(eU=>{"use strict";Object.defineProperty(eU,"__esModule",{value:!0});eU.default=l9t;var a9t=rb(),o9t=Md();function l9t(t){t=t+"";let e="";for(let r of t)e+=(0,o9t.isIdentifierChar)(r.codePointAt(0))?r:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(r,i){return i?i.toUpperCase():""}),(0,a9t.default)(e)||(e=`_${e}`),e||"_"}});var Yye=E(rU=>{"use strict";Object.defineProperty(rU,"__esModule",{value:!0});rU.default=c9t;var u9t=tU();function c9t(t){return t=(0,u9t.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var Jye=E(iU=>{"use strict";Object.defineProperty(iU,"__esModule",{value:!0});iU.default=d9t;var p9t=Zs(),f9t=Ua();function d9t(t,e=t.key||t.property){return!t.computed&&(0,p9t.isIdentifier)(e)&&(e=(0,f9t.stringLiteral)(e.name)),e}});var Xye=E(z_=>{"use strict";Object.defineProperty(z_,"__esModule",{value:!0});z_.default=void 0;var YT=Zs(),xDr=z_.default=h9t;function h9t(t){if((0,YT.isExpressionStatement)(t)&&(t=t.expression),(0,YT.isExpression)(t))return t;if((0,YT.isClass)(t)?t.type="ClassExpression":(0,YT.isFunction)(t)&&(t.type="FunctionExpression"),!(0,YT.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var aU=E(nU=>{"use strict";Object.defineProperty(nU,"__esModule",{value:!0});nU.default=sU;var m9t=Rl();function sU(t,e,r){if(!t)return;let i=m9t.VISITOR_KEYS[t.type];if(i){r=r||{},e(t,r);for(let s of i){let n=t[s];if(Array.isArray(n))for(let a of n)sU(a,e,r);else sU(n,e,r)}}}});var lU=E(oU=>{"use strict";Object.defineProperty(oU,"__esModule",{value:!0});oU.default=b9t;var y9t=Kd(),Qye=["tokens","start","end","loc","raw","rawValue"],g9t=[...y9t.COMMENT_KEYS,"comments",...Qye];function b9t(t,e={}){let r=e.preserveComments?Qye:g9t;for(let s of r)t[s]!=null&&(t[s]=void 0);for(let s of Object.keys(t))s[0]==="_"&&t[s]!=null&&(t[s]=void 0);let i=Object.getOwnPropertySymbols(t);for(let s of i)t[s]=null}});var cU=E(uU=>{"use strict";Object.defineProperty(uU,"__esModule",{value:!0});uU.default=T9t;var v9t=aU(),S9t=lU();function T9t(t,e){return(0,v9t.default)(t,S9t.default,e),t}});var e1e=E(pU=>{"use strict";Object.defineProperty(pU,"__esModule",{value:!0});pU.default=A0;var Zye=Zs(),x9t=zd(),E9t=cU();function A0(t,e=t.key){let r;return t.kind==="method"?A0.increment()+"":((0,Zye.isIdentifier)(e)?r=e.name:(0,Zye.isStringLiteral)(e)?r=JSON.stringify(e.value):r=JSON.stringify((0,E9t.default)((0,x9t.default)(e))),t.computed&&(r=`[${r}]`),t.static&&(r=`static:${r}`),r)}A0.uid=0;A0.increment=function(){return A0.uid>=Number.MAX_SAFE_INTEGER?A0.uid=0:A0.uid++}});var t1e=E(Y_=>{"use strict";Object.defineProperty(Y_,"__esModule",{value:!0});Y_.default=void 0;var H_=Zs(),w9t=Ua(),CDr=Y_.default=A9t;function A9t(t,e){if((0,H_.isStatement)(t))return t;let r=!1,i;if((0,H_.isClass)(t))r=!0,i="ClassDeclaration";else if((0,H_.isFunction)(t))r=!0,i="FunctionDeclaration";else if((0,H_.isAssignmentExpression)(t))return(0,w9t.expressionStatement)(t);if(r&&!t.id&&(i=!1),!i){if(e)return!1;throw new Error(`cannot turn ${t.type} to a statement`)}return t.type=i,t}});var r1e=E(J_=>{"use strict";Object.defineProperty(J_,"__esModule",{value:!0});J_.default=void 0;var P9t=rb(),pa=Ua(),NDr=J_.default=fU,_9t=Function.call.bind(Object.prototype.toString);function C9t(t){return _9t(t)==="[object RegExp]"}function D9t(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function fU(t){if(t===void 0)return(0,pa.identifier)("undefined");if(t===!0||t===!1)return(0,pa.booleanLiteral)(t);if(t===null)return(0,pa.nullLiteral)();if(typeof t=="string")return(0,pa.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,pa.numericLiteral)(Math.abs(t));else{let r;Number.isNaN(t)?r=(0,pa.numericLiteral)(0):r=(0,pa.numericLiteral)(1),e=(0,pa.binaryExpression)("/",r,(0,pa.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,pa.unaryExpression)("-",e)),e}if(C9t(t)){let e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,pa.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,pa.arrayExpression)(t.map(fU));if(D9t(t)){let e=[];for(let r of Object.keys(t)){let i;(0,P9t.default)(r)?i=(0,pa.identifier)(r):i=(0,pa.stringLiteral)(r),e.push((0,pa.objectProperty)(i,fU(t[r])))}return(0,pa.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var i1e=E(dU=>{"use strict";Object.defineProperty(dU,"__esModule",{value:!0});dU.default=I9t;var N9t=Ua();function I9t(t,e,r=!1){return t.object=(0,N9t.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!r,t}});var n1e=E(hU=>{"use strict";Object.defineProperty(hU,"__esModule",{value:!0});hU.default=k9t;var s1e=Kd(),O9t=HV();function k9t(t,e){if(!t||!e)return t;for(let r of s1e.INHERIT_KEYS.optional)t[r]==null&&(t[r]=e[r]);for(let r of Object.keys(e))r[0]==="_"&&r!=="__clone"&&(t[r]=e[r]);for(let r of s1e.INHERIT_KEYS.force)t[r]=e[r];return(0,O9t.default)(t,e),t}});var a1e=E(mU=>{"use strict";Object.defineProperty(mU,"__esModule",{value:!0});mU.default=R9t;var L9t=Ua(),F9t=gr();function R9t(t,e){if((0,F9t.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,L9t.memberExpression)(e,t.object),t}});var JT=E(gU=>{"use strict";Object.defineProperty(gU,"__esModule",{value:!0});gU.default=yU;var Hd=Zs();function yU(t,e,r,i){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||i&&((0,Hd.isAssignmentExpression)(a)||(0,Hd.isUnaryExpression)(a)))continue;let o=yU.keys[a.type];if((0,Hd.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,Hd.isExportDeclaration)(a)&&!(0,Hd.isExportAllDeclaration)(a)){(0,Hd.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,Hd.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Hd.isFunctionExpression)(a))continue}if(o)for(let l=0;l<o.length;l++){let u=o[l],c=a[u];c&&(Array.isArray(c)?s.push(...c):s.push(c))}}return n}yU.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}});var o1e=E(X_=>{"use strict";Object.defineProperty(X_,"__esModule",{value:!0});X_.default=void 0;var B9t=JT(),RDr=X_.default=M9t;function M9t(t,e){return(0,B9t.default)(t,e,!0)}});var l1e=E(vU=>{"use strict";Object.defineProperty(vU,"__esModule",{value:!0});vU.default=V9t;var j9t=Rl();function V9t(t,e,r){typeof e=="function"&&(e={enter:e});let{enter:i,exit:s}=e;bU(t,i,s,r,[])}function bU(t,e,r,i,s){let n=j9t.VISITOR_KEYS[t.type];if(n){e&&e(t,s,i);for(let a of n){let o=t[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(s.push({node:t,key:a,index:l}),bU(u,e,r,i,s),s.pop())}else o&&(s.push({node:t,key:a}),bU(o,e,r,i,s),s.pop())}r&&r(t,s,i)}}});var u1e=E(SU=>{"use strict";Object.defineProperty(SU,"__esModule",{value:!0});SU.default=q9t;var U9t=JT();function q9t(t,e,r){if(r&&t.type==="Identifier"&&e.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let i=U9t.default.keys[e.type];if(i)for(let s=0;s<i.length;s++){let n=i[s],a=e[n];if(Array.isArray(a)){if(a.indexOf(t)>=0)return!0}else if(a===t)return!0}return!1}});var xU=E(TU=>{"use strict";Object.defineProperty(TU,"__esModule",{value:!0});TU.default=W9t;var $9t=Zs(),K9t=Kd();function W9t(t){return(0,$9t.isVariableDeclaration)(t)&&(t.kind!=="var"||t[K9t.BLOCK_SCOPED_SYMBOL])}});var p1e=E(EU=>{"use strict";Object.defineProperty(EU,"__esModule",{value:!0});EU.default=z9t;var c1e=Zs(),G9t=xU();function z9t(t){return(0,c1e.isFunctionDeclaration)(t)||(0,c1e.isClassDeclaration)(t)||(0,G9t.default)(t)}});var f1e=E(wU=>{"use strict";Object.defineProperty(wU,"__esModule",{value:!0});wU.default=J9t;var H9t=O_(),Y9t=Zs();function J9t(t){return(0,H9t.default)(t.type,"Immutable")?!0:(0,Y9t.isIdentifier)(t)?t.name==="undefined":!1}});var h1e=E(PU=>{"use strict";Object.defineProperty(PU,"__esModule",{value:!0});PU.default=AU;var d1e=Rl();function AU(t,e){if(typeof t!="object"||typeof e!="object"||t==null||e==null)return t===e;if(t.type!==e.type)return!1;let r=Object.keys(d1e.NODE_FIELDS[t.type]||t.type),i=d1e.VISITOR_KEYS[t.type];for(let s of r){let n=t[s],a=e[s];if(typeof n!=typeof a)return!1;if(!(n==null&&a==null)){if(n==null||a==null)return!1;if(Array.isArray(n)){if(!Array.isArray(a)||n.length!==a.length)return!1;for(let o=0;o<n.length;o++)if(!AU(n[o],a[o]))return!1;continue}if(typeof n=="object"&&!(i!=null&&i.includes(s))){for(let o of Object.keys(n))if(n[o]!==a[o])return!1;continue}if(!AU(n,a))return!1}}return!0}});var m1e=E(_U=>{"use strict";Object.defineProperty(_U,"__esModule",{value:!0});_U.default=X9t;function X9t(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r!=null&&r.source?!1:e.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}});var y1e=E(CU=>{"use strict";Object.defineProperty(CU,"__esModule",{value:!0});CU.default=Q9t;var P0=Zs();function Q9t(t,e){return(0,P0.isBlockStatement)(t)&&((0,P0.isFunction)(e)||(0,P0.isCatchClause)(e))?!1:(0,P0.isPattern)(t)&&((0,P0.isFunction)(e)||(0,P0.isCatchClause)(e))?!0:(0,P0.isScopable)(t)}});var b1e=E(DU=>{"use strict";Object.defineProperty(DU,"__esModule",{value:!0});DU.default=Z9t;var g1e=Zs();function Z9t(t){return(0,g1e.isImportDefaultSpecifier)(t)||(0,g1e.isIdentifier)(t.imported||t.exported,{name:"default"})}});var v1e=E(NU=>{"use strict";Object.defineProperty(NU,"__esModule",{value:!0});NU.default=rDt;var eDt=rb(),tDt=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function rDt(t){return(0,eDt.default)(t)&&!tDt.has(t)}});var S1e=E(IU=>{"use strict";Object.defineProperty(IU,"__esModule",{value:!0});IU.default=nDt;var iDt=Zs(),sDt=Kd();function nDt(t){return(0,iDt.isVariableDeclaration)(t,{kind:"var"})&&!t[sDt.BLOCK_SCOPED_SYMBOL]}});var T1e=E(kU=>{"use strict";Object.defineProperty(kU,"__esModule",{value:!0});kU.default=Q_;var aDt=JT(),_0=Zs(),OU=Ua(),oDt=zd();function Q_(t,e,r){let i=[],s=!0;for(let n of t)if((0,_0.isEmptyStatement)(n)||(s=!1),(0,_0.isExpression)(n))i.push(n);else if((0,_0.isExpressionStatement)(n))i.push(n.expression);else if((0,_0.isVariableDeclaration)(n)){if(n.kind!=="var")return;for(let a of n.declarations){let o=(0,aDt.default)(a);for(let l of Object.keys(o))r.push({kind:n.kind,id:(0,oDt.default)(o[l])});a.init&&i.push((0,OU.assignmentExpression)("=",a.id,a.init))}s=!0}else if((0,_0.isIfStatement)(n)){let a=n.consequent?Q_([n.consequent],e,r):e.buildUndefinedNode(),o=n.alternate?Q_([n.alternate],e,r):e.buildUndefinedNode();if(!a||!o)return;i.push((0,OU.conditionalExpression)(n.test,a,o))}else if((0,_0.isBlockStatement)(n)){let a=Q_(n.body,e,r);if(!a)return;i.push(a)}else if((0,_0.isEmptyStatement)(n))t.indexOf(n)===0&&(s=!0);else return;return s&&i.push(e.buildUndefinedNode()),i.length===1?i[0]:(0,OU.sequenceExpression)(i)}});var x1e=E(LU=>{"use strict";Object.defineProperty(LU,"__esModule",{value:!0});LU.default=uDt;var lDt=T1e();function uDt(t,e){if(!(t!=null&&t.length))return;let r=[],i=(0,lDt.default)(t,e,r);if(i){for(let s of r)e.push(s);return i}}});var gr=E(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});var Xp={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(He,"__internal__deprecationWarning",{enumerable:!0,get:function(){return pNt.default}});Object.defineProperty(He,"addComment",{enumerable:!0,get:function(){return TDt.default}});Object.defineProperty(He,"addComments",{enumerable:!0,get:function(){return xDt.default}});Object.defineProperty(He,"appendToMemberExpression",{enumerable:!0,get:function(){return BDt.default}});Object.defineProperty(He,"assertNode",{enumerable:!0,get:function(){return dDt.default}});Object.defineProperty(He,"buildMatchMemberExpression",{enumerable:!0,get:function(){return cNt.default}});Object.defineProperty(He,"clone",{enumerable:!0,get:function(){return gDt.default}});Object.defineProperty(He,"cloneDeep",{enumerable:!0,get:function(){return bDt.default}});Object.defineProperty(He,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return vDt.default}});Object.defineProperty(He,"cloneNode",{enumerable:!0,get:function(){return yDt.default}});Object.defineProperty(He,"cloneWithoutLoc",{enumerable:!0,get:function(){return SDt.default}});Object.defineProperty(He,"createFlowUnionType",{enumerable:!0,get:function(){return E1e.default}});Object.defineProperty(He,"createTSUnionType",{enumerable:!0,get:function(){return mDt.default}});Object.defineProperty(He,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return hDt.default}});Object.defineProperty(He,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return E1e.default}});Object.defineProperty(He,"ensureBlock",{enumerable:!0,get:function(){return CDt.default}});Object.defineProperty(He,"getBindingIdentifiers",{enumerable:!0,get:function(){return $Dt.default}});Object.defineProperty(He,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return KDt.default}});Object.defineProperty(He,"inheritInnerComments",{enumerable:!0,get:function(){return EDt.default}});Object.defineProperty(He,"inheritLeadingComments",{enumerable:!0,get:function(){return wDt.default}});Object.defineProperty(He,"inheritTrailingComments",{enumerable:!0,get:function(){return PDt.default}});Object.defineProperty(He,"inherits",{enumerable:!0,get:function(){return MDt.default}});Object.defineProperty(He,"inheritsComments",{enumerable:!0,get:function(){return ADt.default}});Object.defineProperty(He,"is",{enumerable:!0,get:function(){return zDt.default}});Object.defineProperty(He,"isBinding",{enumerable:!0,get:function(){return HDt.default}});Object.defineProperty(He,"isBlockScoped",{enumerable:!0,get:function(){return YDt.default}});Object.defineProperty(He,"isImmutable",{enumerable:!0,get:function(){return JDt.default}});Object.defineProperty(He,"isLet",{enumerable:!0,get:function(){return XDt.default}});Object.defineProperty(He,"isNode",{enumerable:!0,get:function(){return QDt.default}});Object.defineProperty(He,"isNodesEquivalent",{enumerable:!0,get:function(){return ZDt.default}});Object.defineProperty(He,"isPlaceholderType",{enumerable:!0,get:function(){return eNt.default}});Object.defineProperty(He,"isReferenced",{enumerable:!0,get:function(){return tNt.default}});Object.defineProperty(He,"isScope",{enumerable:!0,get:function(){return rNt.default}});Object.defineProperty(He,"isSpecifierDefault",{enumerable:!0,get:function(){return iNt.default}});Object.defineProperty(He,"isType",{enumerable:!0,get:function(){return sNt.default}});Object.defineProperty(He,"isValidES3Identifier",{enumerable:!0,get:function(){return nNt.default}});Object.defineProperty(He,"isValidIdentifier",{enumerable:!0,get:function(){return aNt.default}});Object.defineProperty(He,"isVar",{enumerable:!0,get:function(){return oNt.default}});Object.defineProperty(He,"matchesPattern",{enumerable:!0,get:function(){return lNt.default}});Object.defineProperty(He,"prependToMemberExpression",{enumerable:!0,get:function(){return jDt.default}});He.react=void 0;Object.defineProperty(He,"removeComments",{enumerable:!0,get:function(){return _Dt.default}});Object.defineProperty(He,"removeProperties",{enumerable:!0,get:function(){return VDt.default}});Object.defineProperty(He,"removePropertiesDeep",{enumerable:!0,get:function(){return UDt.default}});Object.defineProperty(He,"removeTypeDuplicates",{enumerable:!0,get:function(){return qDt.default}});Object.defineProperty(He,"shallowEqual",{enumerable:!0,get:function(){return GDt.default}});Object.defineProperty(He,"toBindingIdentifierName",{enumerable:!0,get:function(){return DDt.default}});Object.defineProperty(He,"toBlock",{enumerable:!0,get:function(){return NDt.default}});Object.defineProperty(He,"toComputedKey",{enumerable:!0,get:function(){return IDt.default}});Object.defineProperty(He,"toExpression",{enumerable:!0,get:function(){return ODt.default}});Object.defineProperty(He,"toIdentifier",{enumerable:!0,get:function(){return kDt.default}});Object.defineProperty(He,"toKeyAlias",{enumerable:!0,get:function(){return LDt.default}});Object.defineProperty(He,"toStatement",{enumerable:!0,get:function(){return FDt.default}});Object.defineProperty(He,"traverse",{enumerable:!0,get:function(){return Z_.default}});Object.defineProperty(He,"traverseFast",{enumerable:!0,get:function(){return WDt.default}});Object.defineProperty(He,"validate",{enumerable:!0,get:function(){return uNt.default}});Object.defineProperty(He,"valueToNode",{enumerable:!0,get:function(){return RDt.default}});var cDt=M0e(),pDt=j0e(),fDt=xye(),dDt=Eye(),FU=wye();Object.keys(FU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===FU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return FU[t]}})});var hDt=Aye(),E1e=Cye(),mDt=Oye(),RU=Ua();Object.keys(RU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===RU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return RU[t]}})});var BU=kye();Object.keys(BU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===BU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return BU[t]}})});var MU=Fye();Object.keys(MU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===MU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return MU[t]}})});var yDt=zd(),gDt=Uye(),bDt=qye(),vDt=$ye(),SDt=Kye(),TDt=Wye(),xDt=MV(),EDt=qV(),wDt=KV(),ADt=HV(),PDt=GV(),_Dt=Gye(),jU=zye();Object.keys(jU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===jU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return jU[t]}})});var VU=Kd();Object.keys(VU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===VU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return VU[t]}})});var CDt=Hye(),DDt=Yye(),NDt=QV(),IDt=Jye(),ODt=Xye(),kDt=tU(),LDt=e1e(),FDt=t1e(),RDt=r1e(),UU=Rl();Object.keys(UU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===UU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return UU[t]}})});var BDt=i1e(),MDt=n1e(),jDt=a1e(),VDt=lU(),UDt=cU(),qDt=_V(),$Dt=JT(),KDt=o1e(),Z_=l1e();Object.keys(Z_).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===Z_[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return Z_[t]}})});var WDt=aU(),GDt=N_(),zDt=tb(),HDt=u1e(),YDt=p1e(),JDt=f1e(),XDt=xU(),QDt=wV(),ZDt=h1e(),eNt=tV(),tNt=m1e(),rNt=y1e(),iNt=b1e(),sNt=O_(),nNt=v1e(),aNt=rb(),oNt=S1e(),lNt=Yj(),uNt=B_(),cNt=Xj(),qU=Zs();Object.keys(qU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===qU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return qU[t]}})});var pNt=jT(),XDr=He.react={isReactComponent:cDt.default,isCompatTag:pDt.default,buildChildren:fDt.default};He.toSequenceExpression=x1e().default});var QT=E(nb=>{"use strict";Object.defineProperty(nb,"__esModule",{value:!0});nb.explode=k1e;nb.isExplodedVisitor=O1e;nb.merge=mNt;nb.verify=L1e;var I1e=Wj(),fNt=gr(),{DEPRECATED_KEYS:w1e,DEPRECATED_ALIASES:A1e,FLIPPED_ALIAS_KEYS:P1e,TYPES:dNt,__internal__deprecationWarning:_1e}=fNt;function hNt(t){return t in I1e}function O1e(t){return t==null?void 0:t._exploded}function k1e(t){if(O1e(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(C0(e))continue;let r=e.split("|");if(r.length===1)continue;let i=t[e];delete t[e];for(let s of r)t[s]=i}L1e(t),delete t.__esModule,yNt(t),N1e(t);for(let e of Object.keys(t)){if(C0(e)||!hNt(e))continue;let r=t[e];for(let s of Object.keys(r))r[s]=gNt(e,r[s]);delete t[e];let i=I1e[e];if(i!==null)for(let s of i)t[s]?XT(t[s],r):t[s]=r;else XT(t,r)}for(let e of Object.keys(t)){if(C0(e))continue;let r=P1e[e];if(e in w1e){let s=w1e[e];_1e(e,s,"Visitor "),r=[s]}else if(e in A1e){let s=A1e[e];_1e(e,s,"Visitor "),r=P1e[s]}if(!r)continue;let i=t[e];delete t[e];for(let s of r){let n=t[s];n?XT(n,i):t[s]=Object.assign({},i)}}for(let e of Object.keys(t))C0(e)||N1e(t[e]);return t}function L1e(t){if(!t._verified){if(typeof t=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let e of Object.keys(t)){if((e==="enter"||e==="exit")&&C1e(e,t[e]),C0(e))continue;if(dNt.indexOf(e)<0)throw new Error(`You gave us a visitor for the node type ${e} but it's not a valid type`);let r=t[e];if(typeof r=="object")for(let i of Object.keys(r))if(i==="enter"||i==="exit")C1e(`${e}.${i}`,r[i]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${e} that has the invalid property ${i}`)}t._verified=!0}}function C1e(t,e){let r=[].concat(e);for(let i of r)if(typeof i!="function")throw new TypeError(`Non-function found defined in ${t} with type ${typeof i}`)}function mNt(t,e=[],r){let i={};for(let s=0;s<t.length;s++){let n=k1e(t[s]),a=e[s],o=n;(a||r)&&(o=D1e(o,a,r)),XT(i,o);for(let l of Object.keys(n)){if(C0(l))continue;let u=n[l];(a||r)&&(u=D1e(u,a,r));let c=i[l]||(i[l]={});XT(c,u)}}return i}function D1e(t,e,r){let i={};for(let s of["enter","exit"]){let n=t[s];Array.isArray(n)&&(n=n.map(function(a){let o=a;return e&&(o=function(l){a.call(e,l,e)}),r&&(o=r(e==null?void 0:e.key,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),i[s]=n)}return i}function yNt(t){for(let e of Object.keys(t)){if(C0(e))continue;let r=t[e];typeof r=="function"&&(t[e]={enter:r})}}function N1e(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function gNt(t,e){let r=function(i){if(i[`is${t}`]())return e.apply(this,arguments)};return r.toString=()=>e.toString(),r}function C0(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function XT(t,e){for(let r of["enter","exit"])e[r]&&(t[r]=[].concat(t[r]||[],e[r]))}});var D0=E(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.clear=bNt;Wo.clearPath=R1e;Wo.clearScope=B1e;Wo.getCachedPaths=vNt;Wo.getOrCreateCachedPaths=SNt;Wo.scope=Wo.path=void 0;var ZT=new WeakMap;Wo.path=ZT;var F1e=new WeakMap;Wo.scope=F1e;function bNt(){R1e(),B1e()}function R1e(){Wo.path=ZT=new WeakMap}function B1e(){Wo.scope=F1e=new WeakMap}var $U=Object.freeze({});function vNt(t,e){var r,i;return t=null,(r=ZT.get((i=t)!=null?i:$U))==null?void 0:r.get(e)}function SNt(t,e){var r,i;t=null;let s=ZT.get((r=t)!=null?r:$U);s||ZT.set((i=t)!=null?i:$U,s=new WeakMap);let n=s.get(e);return n||s.set(e,n=new Map),n}});var V1e=E(GU=>{"use strict";Object.defineProperty(GU,"__esModule",{value:!0});GU.default=wNt;var TNt=gr(),{cloneNode:KU,exportNamedDeclaration:M1e,exportSpecifier:j1e,identifier:WU,variableDeclaration:xNt,variableDeclarator:ENt}=TNt;function wNt(t){if(!t.isExportDeclaration()||t.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(t.isExportDefaultDeclaration()){let n=t.get("declaration"),a=n.isFunctionDeclaration()||n.isClassDeclaration(),o=n.isFunctionExpression()||n.isClassExpression(),l=n.isScope()?n.scope.parent:n.scope,u=n.node.id,c=!1;u?o&&l.hasBinding(u.name)&&(c=!0,u=l.generateUidIdentifier(u.name)):(c=!0,u=l.generateUidIdentifier("default"),(a||o)&&(n.node.id=KU(u)));let p=a?n.node:xNt("var",[ENt(KU(u),n.node)]),d=M1e(null,[j1e(KU(u),WU("default"))]);return t.insertAfter(d),t.replaceWith(p),c&&l.registerDeclaration(t),t}else if(t.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let e=t.get("declaration"),r=e.getOuterBindingIdentifiers(),i=Object.keys(r).map(n=>j1e(WU(n),WU(n))),s=M1e(null,i);return t.insertAfter(s),t.replaceWith(e.node),t}});var HU=E(ab=>{"use strict";Object.defineProperty(ab,"__esModule",{value:!0});ab.default=void 0;ab.requeueComputedKeyAndDecorators=zU;ab.skipAllButComputedKey=function(e){e.skip(),e.node.computed&&e.context.maybeQueue(e.get("key"))};function zU(t){let{context:e,node:r}=t;if(r.computed&&e.maybeQueue(t.get("key")),r.decorators)for(let i of t.get("decorators"))e.maybeQueue(i)}var ANt={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&zU(t))},Property(t){t.isObjectProperty()||(t.skip(),zU(t))}},PNt=ANt;ab.default=PNt});var U1e=E(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.default=void 0;var _Nt=V1e(),CNt=gr(),DNt=HU(),NNt=tC(),INt=QT(),ONt={ReferencedIdentifier({node:t},e){t.name===e.oldName&&(t.name=e.newName)},Scope(t,e){t.scope.bindingIdentifierEquals(e.oldName,e.binding.identifier)||(t.skip(),t.isMethod()&&(0,DNt.requeueComputedKeyAndDecorators)(t))},ObjectProperty({node:t,scope:e},r){let{name:i}=t.key;if(t.shorthand&&(i===r.oldName||i===r.newName)&&e.getBindingIdentifier(i)===r.binding.identifier){var s;t.shorthand=!1,(s=t.extra)!=null&&s.shorthand&&(t.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(t,e){if(t.isVariableDeclaration())return;let r=t.getOuterBindingIdentifiers();for(let i in r)i===e.oldName&&(r[i].name=e.newName)}},YU=class{constructor(e,r,i){this.newName=i,this.oldName=r,this.binding=e}maybeConvertFromExportDeclaration(e){let r=e.parentPath;if(r.isExportDeclaration()){if(r.isExportDefaultDeclaration()){let{declaration:i}=r.node;if(CNt.isDeclaration(i)&&!i.id)return}r.isExportAllDeclaration()||(0,_Nt.default)(r)}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:r,newName:i}=this,{scope:s,path:n}=e,a=n.find(l=>l.isDeclaration()||l.isFunctionExpression()||l.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===e.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||s.block;(0,NNt.traverseNode)(o,(0,INt.explode)(ONt),s,this,s.path,{discriminant:!0}),arguments[0]||(s.removeOwnBinding(r),s.bindings[i]=e,this.binding.identifier.name=i),a&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))}};eC.default=YU});var q1e=E(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.default=void 0;var JU=class{constructor({identifier:e,scope:r,path:i,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=r,this.path=i,this.kind=s,(s==="var"||s==="hoisted")&&kNt(i||(()=>{throw new Error("Internal Babel error: unreachable ")})())&&this.reassign(i),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.indexOf(e)===-1&&this.constantViolations.push(e)}reference(e){this.referencePaths.indexOf(e)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}};rC.default=JU;function kNt(t){for(let{parentPath:e,key:r}=t;e;{parentPath:e,key:r}=e){if(e.isFunctionParent())return!1;if(e.isWhile()||e.isForXStatement()||e.isForStatement()&&r==="body")return!0}return!1}});var $1e=E((nNr,LNt)=>{LNt.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var W1e=E((aNr,K1e)=>{"use strict";K1e.exports=$1e()});var eq=E(nC=>{"use strict";Object.defineProperty(nC,"__esModule",{value:!0});nC.default=void 0;var FNt=U1e(),RNt=ex(),BNt=q1e(),MNt=W1e(),tge=gr(),G1e=tge,z1e=D0(),jNt=QT(),{NOT_LOCAL_BINDING:H1e,callExpression:Y1e,cloneNode:J1e,getBindingIdentifiers:VNt,identifier:ob,isArrayExpression:X1e,isBinary:UNt,isClass:qNt,isClassBody:$Nt,isClassDeclaration:KNt,isExportAllDeclaration:rge,isExportDefaultDeclaration:WNt,isExportNamedDeclaration:XU,isFunctionDeclaration:GNt,isIdentifier:iC,isImportDeclaration:QU,isLiteral:zNt,isMethod:HNt,isModuleSpecifier:YNt,isNullLiteral:JNt,isObjectExpression:XNt,isProperty:QNt,isPureish:ZNt,isRegExpLiteral:eIt,isSuper:tIt,isTaggedTemplateExpression:rIt,isTemplateLiteral:ige,isThisExpression:Q1e,isUnaryExpression:iIt,isVariableDeclaration:sIt,matchesPattern:nIt,memberExpression:ZU,numericLiteral:Z1e,toIdentifier:aIt,unaryExpression:oIt,variableDeclaration:lIt,variableDeclarator:uIt,isRecordExpression:cIt,isTupleExpression:pIt,isObjectProperty:fIt,isTopicReference:ege,isMetaProperty:dIt,isPrivateName:hIt,isExportDeclaration:mIt}=tge;function Qi(t,e){switch(t==null?void 0:t.type){default:if(QU(t)||mIt(t)){var r;if((rge(t)||XU(t)||QU(t))&&t.source)Qi(t.source,e);else if((XU(t)||QU(t))&&(r=t.specifiers)!=null&&r.length)for(let i of t.specifiers)Qi(i,e);else(WNt(t)||XU(t))&&t.declaration&&Qi(t.declaration,e)}else YNt(t)?Qi(t.local,e):zNt(t)&&!JNt(t)&&!eIt(t)&&!ige(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Qi(t.object,e),Qi(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Qi(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let i of t.properties)Qi(i,e);break;case"SpreadElement":case"RestElement":Qi(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Qi(t.key,e);break;case"ThisExpression":e.push("this");break;case"Super":e.push("super");break;case"Import":e.push("import");break;case"DoExpression":e.push("do");break;case"YieldExpression":e.push("yield"),Qi(t.argument,e);break;case"AwaitExpression":e.push("await"),Qi(t.argument,e);break;case"AssignmentExpression":Qi(t.left,e);break;case"VariableDeclarator":Qi(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":Qi(t.id,e);break;case"PrivateName":Qi(t.id,e);break;case"ParenthesizedExpression":Qi(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":Qi(t.argument,e);break;case"MetaProperty":Qi(t.meta,e),Qi(t.property,e);break;case"JSXElement":Qi(t.openingElement,e);break;case"JSXOpeningElement":Qi(t.name,e);break;case"JSXFragment":Qi(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":Qi(t.namespace,e),Qi(t.name,e);break}}var sC={ForStatement(t){let e=t.get("init");if(e.isVar()){let{scope:r}=t;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",e)}},Declaration(t){if(t.isBlockScoped()||t.isImportDeclaration()||t.isExportDeclaration())return;(t.scope.getFunctionParent()||t.scope.getProgramParent()).registerDeclaration(t)},ImportDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},ReferencedIdentifier(t,e){e.references.push(t)},ForXStatement(t,e){let r=t.get("left");if(r.isPattern()||r.isIdentifier())e.constantViolations.push(t);else if(r.isVar()){let{scope:i}=t;(i.getFunctionParent()||i.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit(t){let{node:e,scope:r}=t;if(rge(e))return;let i=e.declaration;if(KNt(i)||GNt(i)){let s=i.id;if(!s)return;let n=r.getBinding(s.name);n==null||n.reference(t)}else if(sIt(i))for(let s of i.declarations)for(let n of Object.keys(VNt(s))){let a=r.getBinding(n);a==null||a.reference(t)}}},LabeledStatement(t){t.scope.getBlockParent().registerDeclaration(t)},AssignmentExpression(t,e){e.assignments.push(t)},UpdateExpression(t,e){e.constantViolations.push(t)},UnaryExpression(t,e){t.node.operator==="delete"&&e.constantViolations.push(t)},BlockScoped(t){let e=t.scope;if(e.path===t&&(e=e.parent),e.getBlockParent().registerDeclaration(t),t.isClassDeclaration()&&t.node.id){let s=t.node.id.name;t.scope.bindings[s]=t.scope.parent.getBinding(s)}},CatchClause(t){t.scope.registerBinding("let",t)},Function(t){let e=t.get("params");for(let r of e)t.scope.registerBinding("param",r);t.isFunctionExpression()&&t.has("id")&&!t.get("id").node[H1e]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.has("id")&&!t.get("id").node[H1e]&&t.scope.registerBinding("local",t)}},yIt=0,Yd=class{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:r}=e,i=z1e.scope.get(r);if((i==null?void 0:i.path)===e)return i;z1e.scope.set(r,this),this.uid=yIt++,this.block=r,this.path=e,this.labels=new Map,this.inited=!1}get parent(){var e;let r,i=this.path;do{let s=i.key==="key"||i.listKey==="decorators";i=i.parentPath,s&&i.isMethod()&&(i=i.parentPath),i&&i.isScope()&&(r=i)}while(i&&!r);return(e=r)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,r,i){(0,RNt.default)(e,r,this,i,this.path)}generateDeclaredUidIdentifier(e){let r=this.generateUidIdentifier(e);return this.push({id:r}),J1e(r)}generateUidIdentifier(e){return ob(this.generateUid(e))}generateUid(e="temp"){e=aIt(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let r,i=1;do r=this._generateUid(e,i),i++;while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));let s=this.getProgramParent();return s.references[r]=!0,s.uids[r]=!0,r}_generateUid(e,r){let i=e;return r>1&&(i+=r),`_${i}`}generateUidBasedOnNode(e,r){let i=[];Qi(e,i);let s=i.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,r){return ob(this.generateUidBasedOnNode(e,r))}isStatic(e){if(Q1e(e)||tIt(e)||ege(e))return!0;if(iC(e)){let r=this.getBinding(e.name);return r?r.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,r){if(this.isStatic(e))return null;{let i=this.generateUidIdentifierBasedOnNode(e);return r?i:(this.push({id:i}),J1e(i))}}checkBlockScopedCollisions(e,r,i,s){if(r==="param"||e.kind==="local")return;if(r==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&r==="const")throw this.hub.buildError(s,`Duplicate declaration "${i}"`,TypeError)}rename(e,r){let i=this.getBinding(e);i&&(r||(r=this.generateUidIdentifier(e).name),new FNt.default(i,e,r).rename(arguments[2]))}_renameFromMap(e,r,i,s){e[r]&&(e[i]=s,e[r]=null)}dump(){let e="-".repeat(60);console.log(e);let r=this;do{console.log("#",r.block.type);for(let i of Object.keys(r.bindings)){let s=r.bindings[i];console.log(" -",i,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(r=r.parent);console.log(e)}toArray(e,r,i){if(iC(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(X1e(e))return e;if(iC(e,{name:"arguments"}))return Y1e(ZU(ZU(ZU(ob("Array"),ob("prototype")),ob("slice")),ob("call")),[e]);let s,n=[e];return r===!0?s="toConsumableArray":typeof r=="number"?(n.push(Z1e(r)),s="slicedToArray"):s="toArray",i&&(n.unshift(this.hub.addHelper(s)),s="maybeArrayLike"),Y1e(this.hub.addHelper(s),n)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){let r=e.get("declarations"),{kind:i}=e.node;for(let s of r)this.registerBinding(i==="using"||i==="await using"?"const":i,s)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){let r=e.node.importKind==="type"||e.node.importKind==="typeof",i=e.get("specifiers");for(let s of i){let n=r||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(n?"unknown":"module",s)}}else if(e.isExportDeclaration()){let r=e.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return oIt("void",Z1e(0),!0)}registerConstantViolation(e){let r=e.getBindingIdentifiers();for(let s of Object.keys(r)){var i;(i=this.getBinding(s))==null||i.reassign(e)}}registerBinding(e,r,i=r){if(!e)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){let a=r.get("declarations");for(let o of a)this.registerBinding(e,o);return}let s=this.getProgramParent(),n=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(n)){s.references[a]=!0;for(let o of n[a]){let l=this.getOwnBinding(a);if(l){if(l.identifier===o)continue;this.checkBlockScopedCollisions(l,e,a,o)}l?this.registerConstantViolation(i):this.bindings[a]=new BNt.default({identifier:o,scope:this,path:i,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let r=this;do if(r.uids[e])return!0;while(r=r.parent);return!1}hasGlobal(e){let r=this;do if(r.globals[e])return!0;while(r=r.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,r){if(iC(e)){let a=this.getBinding(e.name);return a?r?a.constant:!0:!1}else{if(Q1e(e)||dIt(e)||ege(e)||hIt(e))return!0;if(qNt(e)){var i;return e.superClass&&!this.isPure(e.superClass,r)||((i=e.decorators)==null?void 0:i.length)>0?!1:this.isPure(e.body,r)}else if($Nt(e)){for(let a of e.body)if(!this.isPure(a,r))return!1;return!0}else{if(UNt(e))return this.isPure(e.left,r)&&this.isPure(e.right,r);if(X1e(e)||pIt(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(XNt(e)||cIt(e)){for(let a of e.properties)if(!this.isPure(a,r))return!1;return!0}else if(HNt(e)){var s;return!(e.computed&&!this.isPure(e.key,r)||((s=e.decorators)==null?void 0:s.length)>0)}else if(QNt(e)){var n;return!(e.computed&&!this.isPure(e.key,r)||((n=e.decorators)==null?void 0:n.length)>0||(fIt(e)||e.static)&&e.value!==null&&!this.isPure(e.value,r))}else{if(iIt(e))return this.isPure(e.argument,r);if(rIt(e))return nIt(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,r);if(ige(e)){for(let a of e.expressions)if(!this.isPure(a,r))return!1;return!0}else return ZNt(e)}}}}setData(e,r){return this.data[e]=r}getData(e){let r=this;do{let i=r.data[e];if(i!=null)return i}while(r=r.parent)}removeData(e){let r=this;do r.data[e]!=null&&(r.data[e]=null);while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let r=this.getProgramParent();if(r.crawling)return;let i={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,e.type!=="Program"&&(0,jNt.isExplodedVisitor)(sC)){for(let n of sC.enter)n.call(i,e,i);let s=sC[e.type];if(s)for(let n of s.enter)n.call(i,e,i)}e.traverse(sC,i),this.crawling=!1;for(let s of i.assignments){let n=s.getBindingIdentifiers();for(let a of Object.keys(n))s.scope.getBinding(a)||r.addGlobal(n[a]);s.scope.registerConstantViolation(s)}for(let s of i.references){let n=s.scope.getBinding(s.node.name);n?n.reference(s):r.addGlobal(s.node)}for(let s of i.constantViolations)s.scope.registerConstantViolation(s)}push(e){let r=this.path;r.isPattern()?r=this.getPatternParent().path:!r.isBlockStatement()&&!r.isProgram()&&(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path);let{init:i,unique:s,kind:n="var",id:a}=e;if(!i&&!s&&(n==="var"||n==="let")&&r.isFunction()&&!r.node.name&&G1e.isCallExpression(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&G1e.isIdentifier(a)){r.pushContainer("params",a),r.scope.registerBinding("param",r.get("params")[r.node.params.length-1]);return}(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));let o=e._blockHoist==null?2:e._blockHoist,l=`declaration:${n}:${o}`,u=!s&&r.getData(l);if(!u){let d=lIt(n,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=uIt(a,i),p=u.node.declarations.push(c);r.scope.registerBinding(n,u.get("declarations")[p-1])}getProgramParent(){let e=this;do if(e.path.isProgram())return e;while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do if(e.path.isFunctionParent())return e;while(e=e.parent);return null}getBlockParent(){let e=this;do if(e.path.isBlockParent())return e;while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do if(!e.path.isPattern())return e.getBlockParent();while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let e=Object.create(null),r=this;do{for(let i of Object.keys(r.bindings))i in e||(e[i]=r.bindings[i]);r=r.parent}while(r);return e}getAllBindingsOfKind(...e){let r=Object.create(null);for(let i of e){let s=this;do{for(let n of Object.keys(s.bindings)){let a=s.bindings[n];a.kind===i&&(r[n]=a)}s=s.parent}while(s)}return r}bindingIdentifierEquals(e,r){return this.getBindingIdentifier(e)===r}getBinding(e){let r=this,i;do{let n=r.getOwnBinding(e);if(n){var s;if(!((s=i)!=null&&s.isPattern()&&n.kind!=="param"&&n.kind!=="local"))return n}else if(!n&&e==="arguments"&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;i=r.path}while(r=r.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var r;return(r=this.getBinding(e))==null?void 0:r.identifier}getOwnBindingIdentifier(e){let r=this.bindings[e];return r==null?void 0:r.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,r){var i,s,n;return e?!!(this.hasOwnBinding(e)||(typeof r=="boolean"&&(r={noGlobals:r}),this.parentHasBinding(e,r))||!((i=r)!=null&&i.noUids)&&this.hasUid(e)||!((s=r)!=null&&s.noGlobals)&&Yd.globals.includes(e)||!((n=r)!=null&&n.noGlobals)&&Yd.contextVariables.includes(e)):!1}parentHasBinding(e,r){var i;return(i=this.parent)==null?void 0:i.hasBinding(e,r)}moveBindingTo(e,r){let i=this.getBinding(e);i&&(i.scope.removeOwnBinding(e),i.scope=r,r.bindings[e]=i)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var r;(r=this.getBinding(e))==null||r.scope.removeOwnBinding(e);let i=this;do i.uids[e]&&(i.uids[e]=!1);while(i=i.parent)}};nC.default=Yd;Yd.globals=Object.keys(MNt.builtin);Yd.contextVariables=["arguments","undefined","Infinity","NaN"]});var nge=E((aC,sge)=>{(function(t,e){typeof aC=="object"&&typeof sge<"u"?e(aC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.setArray={}))})(aC,function(t){"use strict";t.get=void 0,t.put=void 0,t.pop=void 0;class e{constructor(){this._indexes={__proto__:null},this.array=[]}}t.get=(r,i)=>r._indexes[i],t.put=(r,i)=>{let s=t.get(r,i);if(s!==void 0)return s;let{array:n,_indexes:a}=r;return a[i]=n.push(i)-1},t.pop=r=>{let{array:i,_indexes:s}=r;if(i.length===0)return;let n=i.pop();s[n]=void 0},t.SetArray=e,Object.defineProperty(t,"__esModule",{value:!0})})});var oge=E((oC,age)=>{(function(t,e){typeof oC=="object"&&typeof age<"u"?e(oC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(oC,function(t){"use strict";let e=",".charCodeAt(0),r=";".charCodeAt(0),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),n=new Uint8Array(128);for(let m=0;m<i.length;m++){let g=i.charCodeAt(m);s[m]=g,n[g]=m}let a=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(m){return Buffer.from(m.buffer,m.byteOffset,m.byteLength).toString()}}:{decode(m){let g="";for(let b=0;b<m.length;b++)g+=String.fromCharCode(m[b]);return g}};function o(m){let g=new Int32Array(5),b=[],T=0;do{let x=l(m,T),v=[],w=!0,A=0;g[0]=0;for(let C=T;C<x;C++){let K;C=u(m,C,g,0);let F=g[0];F<A&&(w=!1),A=F,c(m,C,x)?(C=u(m,C,g,1),C=u(m,C,g,2),C=u(m,C,g,3),c(m,C,x)?(C=u(m,C,g,4),K=[F,g[1],g[2],g[3],g[4]]):K=[F,g[1],g[2],g[3]]):K=[F],v.push(K)}w||p(v),b.push(v),T=x+1}while(T<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,T){let x=0,v=0,w=0;do{let C=m.charCodeAt(g++);w=n[C],x|=(w&31)<<v,v+=5}while(w&32);let A=x&1;return x>>>=1,A&&(x=-2147483648|-x),b[T]+=x,g}function c(m,g,b){return g>=b?!1:m.charCodeAt(g)!==e}function p(m){m.sort(d)}function d(m,g){return m[0]-g[0]}function f(m){let g=new Int32Array(5),b=1024*16,T=b-36,x=new Uint8Array(b),v=x.subarray(0,T),w=0,A="";for(let C=0;C<m.length;C++){let K=m[C];if(C>0&&(w===b&&(A+=a.decode(x),w=0),x[w++]=r),K.length!==0){g[0]=0;for(let F=0;F<K.length;F++){let Q=K[F];w>T&&(A+=a.decode(v),x.copyWithin(0,T,w),w-=T),F>0&&(x[w++]=e),w=h(x,w,g,Q,0),Q.length!==1&&(w=h(x,w,g,Q,1),w=h(x,w,g,Q,2),w=h(x,w,g,Q,3),Q.length!==4&&(w=h(x,w,g,Q,4)))}}}return A+a.decode(x.subarray(0,w))}function h(m,g,b,T,x){let v=T[x],w=v-b[x];b[x]=v,w=w<0?-w<<1|1:w<<1;do{let A=w&31;w>>>=5,w>0&&(A|=32),m[g++]=s[A]}while(w>0);return g}t.decode=o,t.encode=f,Object.defineProperty(t,"__esModule",{value:!0})})});var uge=E((lC,lge)=>{(function(t,e){typeof lC=="object"&&typeof lge<"u"?e(lC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(lC,function(t){"use strict";let e=",".charCodeAt(0),r=";".charCodeAt(0),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),n=new Uint8Array(128);for(let m=0;m<i.length;m++){let g=i.charCodeAt(m);s[m]=g,n[g]=m}let a=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(m){return Buffer.from(m.buffer,m.byteOffset,m.byteLength).toString()}}:{decode(m){let g="";for(let b=0;b<m.length;b++)g+=String.fromCharCode(m[b]);return g}};function o(m){let g=new Int32Array(5),b=[],T=0;do{let x=l(m,T),v=[],w=!0,A=0;g[0]=0;for(let C=T;C<x;C++){let K;C=u(m,C,g,0);let F=g[0];F<A&&(w=!1),A=F,c(m,C,x)?(C=u(m,C,g,1),C=u(m,C,g,2),C=u(m,C,g,3),c(m,C,x)?(C=u(m,C,g,4),K=[F,g[1],g[2],g[3],g[4]]):K=[F,g[1],g[2],g[3]]):K=[F],v.push(K)}w||p(v),b.push(v),T=x+1}while(T<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,T){let x=0,v=0,w=0;do{let C=m.charCodeAt(g++);w=n[C],x|=(w&31)<<v,v+=5}while(w&32);let A=x&1;return x>>>=1,A&&(x=-2147483648|-x),b[T]+=x,g}function c(m,g,b){return g>=b?!1:m.charCodeAt(g)!==e}function p(m){m.sort(d)}function d(m,g){return m[0]-g[0]}function f(m){let g=new Int32Array(5),b=1024*16,T=b-36,x=new Uint8Array(b),v=x.subarray(0,T),w=0,A="";for(let C=0;C<m.length;C++){let K=m[C];if(C>0&&(w===b&&(A+=a.decode(x),w=0),x[w++]=r),K.length!==0){g[0]=0;for(let F=0;F<K.length;F++){let Q=K[F];w>T&&(A+=a.decode(v),x.copyWithin(0,T,w),w-=T),F>0&&(x[w++]=e),w=h(x,w,g,Q,0),Q.length!==1&&(w=h(x,w,g,Q,1),w=h(x,w,g,Q,2),w=h(x,w,g,Q,3),Q.length!==4&&(w=h(x,w,g,Q,4)))}}}return A+a.decode(x.subarray(0,w))}function h(m,g,b,T,x){let v=T[x],w=v-b[x];b[x]=v,w=w<0?-w<<1|1:w<<1;do{let A=w&31;w>>>=5,w>0&&(A|=32),m[g++]=s[A]}while(w>0);return g}t.decode=o,t.encode=f,Object.defineProperty(t,"__esModule",{value:!0})})});var cge=E((tq,rq)=>{(function(t,e){typeof tq=="object"&&typeof rq<"u"?rq.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(tq,function(){"use strict";let t=/^[\w+.-]+:\/\//,e=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var i;(function(b){b[b.Empty=1]="Empty",b[b.Hash=2]="Hash",b[b.Query=3]="Query",b[b.RelativePath=4]="RelativePath",b[b.AbsolutePath=5]="AbsolutePath",b[b.SchemeRelative=6]="SchemeRelative",b[b.Absolute=7]="Absolute"})(i||(i={}));function s(b){return t.test(b)}function n(b){return b.startsWith("//")}function a(b){return b.startsWith("/")}function o(b){return b.startsWith("file:")}function l(b){return/^[.?#]/.test(b)}function u(b){let T=e.exec(b);return p(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function c(b){let T=r.exec(b),x=T[2];return p("file:","",T[1]||"","",a(x)?x:"/"+x,T[3]||"",T[4]||"")}function p(b,T,x,v,w,A,C){return{scheme:b,user:T,host:x,port:v,path:w,query:A,hash:C,type:i.Absolute}}function d(b){if(n(b)){let x=u("http:"+b);return x.scheme="",x.type=i.SchemeRelative,x}if(a(b)){let x=u("http://foo.com"+b);return x.scheme="",x.host="",x.type=i.AbsolutePath,x}if(o(b))return c(b);if(s(b))return u(b);let T=u("http://foo.com/"+b);return T.scheme="",T.host="",T.type=b?b.startsWith("?")?i.Query:b.startsWith("#")?i.Hash:i.RelativePath:i.Empty,T}function f(b){if(b.endsWith("/.."))return b;let T=b.lastIndexOf("/");return b.slice(0,T+1)}function h(b,T){m(T,T.type),b.path==="/"?b.path=T.path:b.path=f(T.path)+b.path}function m(b,T){let x=T<=i.RelativePath,v=b.path.split("/"),w=1,A=0,C=!1;for(let F=1;F<v.length;F++){let Q=v[F];if(!Q){C=!0;continue}if(C=!1,Q!=="."){if(Q===".."){A?(C=!0,A--,w--):x&&(v[w++]=Q);continue}v[w++]=Q,A++}}let K="";for(let F=1;F<w;F++)K+="/"+v[F];(!K||C&&!K.endsWith("/.."))&&(K+="/"),b.path=K}function g(b,T){if(!b&&!T)return"";let x=d(b),v=x.type;if(T&&v!==i.Absolute){let A=d(T),C=A.type;switch(v){case i.Empty:x.hash=A.hash;case i.Hash:x.query=A.query;case i.Query:case i.RelativePath:h(x,A);case i.AbsolutePath:x.user=A.user,x.host=A.host,x.port=A.port;case i.SchemeRelative:x.scheme=A.scheme}C>v&&(v=C)}m(x,v);let w=x.query+x.hash;switch(v){case i.Hash:case i.Query:return w;case i.RelativePath:{let A=x.path.slice(1);return A?l(T||b)&&!l(A)?"./"+A+w:A+w:w||"."}case i.AbsolutePath:return x.path+w;default:return x.scheme+"//"+x.user+x.host+x.port+x.path+w}}return g})});var iq=E((uC,pge)=>{(function(t,e){typeof uC=="object"&&typeof pge<"u"?e(uC,uge(),cge()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.traceMapping={},t.sourcemapCodec,t.resolveURI))})(uC,function(t,e,r){"use strict";function i(me){return me&&typeof me=="object"&&"default"in me?me:{default:me}}var s=i(r);function n(me,pe){return pe&&!pe.endsWith("/")&&(pe+="/"),s.default(me,pe)}function a(me){if(!me)return"";let pe=me.lastIndexOf("/");return me.slice(0,pe+1)}let o=0,l=1,u=2,c=3,p=4,d=1,f=2;function h(me,pe){let le=m(me,0);if(le===me.length)return me;pe||(me=me.slice());for(let Fe=le;Fe<me.length;Fe=m(me,Fe+1))me[Fe]=b(me[Fe],pe);return me}function m(me,pe){for(let le=pe;le<me.length;le++)if(!g(me[le]))return le;return me.length}function g(me){for(let pe=1;pe<me.length;pe++)if(me[pe][o]<me[pe-1][o])return!1;return!0}function b(me,pe){return pe||(me=me.slice()),me.sort(T)}function T(me,pe){return me[o]-pe[o]}let x=!1;function v(me,pe,le,Fe){for(;le<=Fe;){let be=le+(Fe-le>>1),_e=me[be][o]-pe;if(_e===0)return x=!0,be;_e<0?le=be+1:Fe=be-1}return x=!1,le-1}function w(me,pe,le){for(let Fe=le+1;Fe<me.length&&me[Fe][o]===pe;le=Fe++);return le}function A(me,pe,le){for(let Fe=le-1;Fe>=0&&me[Fe][o]===pe;le=Fe--);return le}function C(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function K(me,pe,le,Fe){let{lastKey:be,lastNeedle:_e,lastIndex:Ze}=le,Ct=0,ht=me.length-1;if(Fe===be){if(pe===_e)return x=Ze!==-1&&me[Ze][o]===pe,Ze;pe>=_e?Ct=Ze===-1?0:Ze:ht=Ze}return le.lastKey=Fe,le.lastNeedle=pe,le.lastIndex=v(me,pe,Ct,ht)}function F(me,pe){let le=pe.map(X);for(let Fe=0;Fe<me.length;Fe++){let be=me[Fe];for(let _e=0;_e<be.length;_e++){let Ze=be[_e];if(Ze.length===1)continue;let Ct=Ze[l],ht=Ze[u],nr=Ze[c],Mr=le[Ct],jr=Mr[ht]||(Mr[ht]=[]),Si=pe[Ct],Ps=w(jr,nr,K(jr,nr,Si,ht));Q(jr,Si.lastIndex=Ps+1,[nr,Fe,Ze[o]])}}return le}function Q(me,pe,le){for(let Fe=me.length;Fe>pe;Fe--)me[Fe]=me[Fe-1];me[pe]=le}function X(){return{__proto__:null}}let Te=function(me,pe){let le=typeof me=="string"?JSON.parse(me):me;if(!("sections"in le))return new Re(le,pe);let Fe=[],be=[],_e=[],Ze=[];qe(le,pe,Fe,be,_e,Ze,0,0,1/0,1/0);let Ct={version:3,file:le.file,names:Ze,sources:be,sourcesContent:_e,mappings:Fe};return t.presortedDecodedMap(Ct)};function qe(me,pe,le,Fe,be,_e,Ze,Ct,ht,nr){let{sections:Mr}=me;for(let jr=0;jr<Mr.length;jr++){let{map:Si,offset:Ps}=Mr[jr],qs=ht,$n=nr;if(jr+1<Mr.length){let br=Mr[jr+1].offset;qs=Math.min(ht,Ze+br.line),qs===ht?$n=Math.min(nr,Ct+br.column):qs<ht&&($n=Ct+br.column)}Ke(Si,pe,le,Fe,be,_e,Ze+Ps.line,Ct+Ps.column,qs,$n)}}function Ke(me,pe,le,Fe,be,_e,Ze,Ct,ht,nr){if("sections"in me)return qe(...arguments);let Mr=new Re(me,pe),jr=Fe.length,Si=_e.length,Ps=t.decodedMappings(Mr),{resolvedSources:qs,sourcesContent:$n}=Mr;if(ae(Fe,qs),ae(_e,Mr.names),$n)ae(be,$n);else for(let br=0;br<qs.length;br++)be.push(null);for(let br=0;br<Ps.length;br++){let _s=Ze+br;if(_s>ht)return;let Cs=ne(le,_s),im=br===0?Ct:0,Zl=Ps[br];for(let Lt=0;Lt<Zl.length;Lt++){let Zn=Zl[Lt],Kt=im+Zn[o];if(_s===ht&&Kt>=nr)return;if(Zn.length===1){Cs.push([Kt]);continue}let kr=jr+Zn[l],$s=Zn[u],_n=Zn[c];Cs.push(Zn.length===4?[Kt,kr,$s,_n]:[Kt,kr,$s,_n,Si+Zn[p]])}}}function ae(me,pe){for(let le=0;le<pe.length;le++)me.push(pe[le])}function ne(me,pe){for(let le=me.length;le<=pe;le++)me[le]=[];return me[pe]}let Ce="`line` must be greater than 0 (lines start at line 1)",Ue="`column` must be greater than or equal to 0 (columns start at column 0)",Dt=-1,ce=1;t.encodedMappings=void 0,t.decodedMappings=void 0,t.traceSegment=void 0,t.originalPositionFor=void 0,t.generatedPositionFor=void 0,t.allGeneratedPositionsFor=void 0,t.eachMapping=void 0,t.sourceContentFor=void 0,t.presortedDecodedMap=void 0,t.decodedMap=void 0,t.encodedMap=void 0;class Re{constructor(pe,le){let Fe=typeof pe=="string";if(!Fe&&pe._decodedMemo)return pe;let be=Fe?JSON.parse(pe):pe,{version:_e,file:Ze,names:Ct,sourceRoot:ht,sources:nr,sourcesContent:Mr}=be;this.version=_e,this.file=Ze,this.names=Ct,this.sourceRoot=ht,this.sources=nr,this.sourcesContent=Mr;let jr=n(ht||"",a(le));this.resolvedSources=nr.map(Ps=>n(Ps||"",jr));let{mappings:Si}=be;typeof Si=="string"?(this._encoded=Si,this._decoded=void 0):(this._encoded=void 0,this._decoded=h(Si,Fe)),this._decodedMemo=C(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{t.encodedMappings=pe=>{var le;return(le=pe._encoded)!==null&&le!==void 0?le:pe._encoded=e.encode(pe._decoded)},t.decodedMappings=pe=>pe._decoded||(pe._decoded=e.decode(pe._encoded)),t.traceSegment=(pe,le,Fe)=>{let be=t.decodedMappings(pe);if(le>=be.length)return null;let _e=be[le],Ze=we(_e,pe._decodedMemo,le,Fe,ce);return Ze===-1?null:_e[Ze]},t.originalPositionFor=(pe,{line:le,column:Fe,bias:be})=>{if(le--,le<0)throw new Error(Ce);if(Fe<0)throw new Error(Ue);let _e=t.decodedMappings(pe);if(le>=_e.length)return Ee(null,null,null,null);let Ze=_e[le],Ct=we(Ze,pe._decodedMemo,le,Fe,be||ce);if(Ct===-1)return Ee(null,null,null,null);let ht=Ze[Ct];if(ht.length===1)return Ee(null,null,null,null);let{names:nr,resolvedSources:Mr}=pe;return Ee(Mr[ht[l]],ht[u]+1,ht[c],ht.length===5?nr[ht[p]]:null)},t.allGeneratedPositionsFor=(pe,{source:le,line:Fe,column:be,bias:_e})=>me(pe,le,Fe,be,_e||Dt,!0),t.generatedPositionFor=(pe,{source:le,line:Fe,column:be,bias:_e})=>me(pe,le,Fe,be,_e||ce,!1),t.eachMapping=(pe,le)=>{let Fe=t.decodedMappings(pe),{names:be,resolvedSources:_e}=pe;for(let Ze=0;Ze<Fe.length;Ze++){let Ct=Fe[Ze];for(let ht=0;ht<Ct.length;ht++){let nr=Ct[ht],Mr=Ze+1,jr=nr[0],Si=null,Ps=null,qs=null,$n=null;nr.length!==1&&(Si=_e[nr[1]],Ps=nr[2]+1,qs=nr[3]),nr.length===5&&($n=be[nr[4]]),le({generatedLine:Mr,generatedColumn:jr,source:Si,originalLine:Ps,originalColumn:qs,name:$n})}}},t.sourceContentFor=(pe,le)=>{let{sources:Fe,resolvedSources:be,sourcesContent:_e}=pe;if(_e==null)return null;let Ze=Fe.indexOf(le);return Ze===-1&&(Ze=be.indexOf(le)),Ze===-1?null:_e[Ze]},t.presortedDecodedMap=(pe,le)=>{let Fe=new Re(Z(pe,[]),le);return Fe._decoded=pe.mappings,Fe},t.decodedMap=pe=>Z(pe,t.decodedMappings(pe)),t.encodedMap=pe=>Z(pe,t.encodedMappings(pe));function me(pe,le,Fe,be,_e,Ze){if(Fe--,Fe<0)throw new Error(Ce);if(be<0)throw new Error(Ue);let{sources:Ct,resolvedSources:ht}=pe,nr=Ct.indexOf(le);if(nr===-1&&(nr=ht.indexOf(le)),nr===-1)return Ze?[]:xe(null,null);let jr=(pe._bySources||(pe._bySources=F(t.decodedMappings(pe),pe._bySourceMemos=Ct.map(C))))[nr][Fe];if(jr==null)return Ze?[]:xe(null,null);let Si=pe._bySourceMemos[nr];if(Ze)return Be(jr,Si,Fe,be,_e);let Ps=we(jr,Si,Fe,be,_e);if(Ps===-1)return xe(null,null);let qs=jr[Ps];return xe(qs[d]+1,qs[f])}})();function Z(me,pe){return{version:me.version,file:me.file,names:me.names,sourceRoot:me.sourceRoot,sources:me.sources,sourcesContent:me.sourcesContent,mappings:pe}}function Ee(me,pe,le,Fe){return{source:me,line:pe,column:le,name:Fe}}function xe(me,pe){return{line:me,column:pe}}function we(me,pe,le,Fe,be){let _e=K(me,Fe,pe,le);return x?_e=(be===Dt?w:A)(me,Fe,_e):be===Dt&&_e++,_e===-1||_e===me.length?-1:_e}function Be(me,pe,le,Fe,be){let _e=we(me,pe,le,Fe,ce);if(!x&&be===Dt&&_e++,_e===-1||_e===me.length)return[];let Ze=x?Fe:me[_e][o];x||(_e=A(me,Ze,_e));let Ct=w(me,Ze,_e),ht=[];for(;_e<=Ct;_e++){let nr=me[_e];ht.push(xe(nr[d]+1,nr[f]))}return ht}t.AnyMap=Te,t.GREATEST_LOWER_BOUND=ce,t.LEAST_UPPER_BOUND=Dt,t.TraceMap=Re,Object.defineProperty(t,"__esModule",{value:!0})})});var dge=E((cC,fge)=>{(function(t,e){typeof cC=="object"&&typeof fge<"u"?e(cC,nge(),oge(),iq()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.genMapping={},t.setArray,t.sourcemapCodec,t.traceMapping))})(cC,function(t,e,r,i){"use strict";t.addSegment=void 0,t.addMapping=void 0,t.maybeAddSegment=void 0,t.maybeAddMapping=void 0,t.setSourceContent=void 0,t.toDecodedMap=void 0,t.toEncodedMap=void 0,t.fromMap=void 0,t.allMappings=void 0;let c;class p{constructor({file:w,sourceRoot:A}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=w,this.sourceRoot=A}}t.addSegment=(v,w,A,C,K,F,Q,X)=>c(!1,v,w,A,C,K,F,Q,X),t.maybeAddSegment=(v,w,A,C,K,F,Q,X)=>c(!0,v,w,A,C,K,F,Q,X),t.addMapping=(v,w)=>x(!1,v,w),t.maybeAddMapping=(v,w)=>x(!0,v,w),t.setSourceContent=(v,w,A)=>{let{_sources:C,_sourcesContent:K}=v;K[e.put(C,w)]=A},t.toDecodedMap=v=>{let{file:w,sourceRoot:A,_mappings:C,_sources:K,_sourcesContent:F,_names:Q}=v;return m(C),{version:3,file:w||void 0,names:Q.array,sourceRoot:A||void 0,sources:K.array,sourcesContent:F,mappings:C}},t.toEncodedMap=v=>{let w=t.toDecodedMap(v);return Object.assign(Object.assign({},w),{mappings:r.encode(w.mappings)})},t.allMappings=v=>{let w=[],{_mappings:A,_sources:C,_names:K}=v;for(let F=0;F<A.length;F++){let Q=A[F];for(let X=0;X<Q.length;X++){let Te=Q[X],qe={line:F+1,column:Te[0]},Ke,ae,ne;Te.length!==1&&(Ke=C.array[Te[1]],ae={line:Te[2]+1,column:Te[3]},Te.length===5&&(ne=K.array[Te[4]])),w.push({generated:qe,source:Ke,original:ae,name:ne})}}return w},t.fromMap=v=>{let w=new i.TraceMap(v),A=new p({file:w.file,sourceRoot:w.sourceRoot});return g(A._names,w.names),g(A._sources,w.sources),A._sourcesContent=w.sourcesContent||w.sources.map(()=>null),A._mappings=i.decodedMappings(w),A},c=(v,w,A,C,K,F,Q,X,Te)=>{let{_mappings:qe,_sources:Ke,_sourcesContent:ae,_names:ne}=w,Ce=d(qe,A),Ue=f(Ce,C);if(!K)return v&&b(Ce,Ue)?void 0:h(Ce,Ue,[C]);let Dt=e.put(Ke,K),ce=X?e.put(ne,X):-1;if(Dt===ae.length&&(ae[Dt]=Te!=null?Te:null),!(v&&T(Ce,Ue,Dt,F,Q,ce)))return h(Ce,Ue,X?[C,Dt,F,Q,ce]:[C,Dt,F,Q])};function d(v,w){for(let A=v.length;A<=w;A++)v[A]=[];return v[w]}function f(v,w){let A=v.length;for(let C=A-1;C>=0;A=C--){let K=v[C];if(w>=K[0])break}return A}function h(v,w,A){for(let C=v.length;C>w;C--)v[C]=v[C-1];v[w]=A}function m(v){let{length:w}=v,A=w;for(let C=A-1;C>=0&&!(v[C].length>0);A=C,C--);A<w&&(v.length=A)}function g(v,w){for(let A=0;A<w.length;A++)e.put(v,w[A])}function b(v,w){return w===0?!0:v[w-1].length===1}function T(v,w,A,C,K,F){if(w===0)return!1;let Q=v[w-1];return Q.length===1?!1:A===Q[1]&&C===Q[2]&&K===Q[3]&&F===(Q.length===5?Q[4]:-1)}function x(v,w,A){let{generated:C,source:K,original:F,name:Q,content:X}=A;if(!K)return c(v,w,C.line-1,C.column,null,null,null,null,null);let Te=K;return c(v,w,C.line-1,C.column,Te,F.line-1,F.column,Q,X)}t.GenMapping=p,Object.defineProperty(t,"__esModule",{value:!0})})});var hge=E(pC=>{"use strict";Object.defineProperty(pC,"__esModule",{value:!0});pC.default=void 0;var Jd=dge(),sq=iq(),nq=class{constructor(e,r){var i;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let s=this._map=new Jd.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=(i=e.sourceFileName)==null?void 0:i.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new sq.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var n;(0,Jd.setSourceContent)(s,a[o],(n=this._inputMap.sourcesContent)==null?void 0:n[o])}}if(typeof r=="string"&&!e.inputSourceMap)(0,Jd.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,Jd.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,Jd.toEncodedMap)(this._map)}getDecoded(){return(0,Jd.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,Jd.allMappings)(this._map))}mark(e,r,i,s,n,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,sq.originalPositionFor)(this._inputMap,{line:r,column:i}),!l.name&&n){let u=(0,sq.originalPositionFor)(this._inputMap,n);u.name&&(s=u.name)}}else l={source:(a==null?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:r,column:i};(0,Jd.maybeAddMapping)(this._map,{name:s,generated:e,source:(o=l)==null?void 0:o.source,original:l})}};pC.default=nq});var mge=E(fC=>{"use strict";Object.defineProperty(fC,"__esModule",{value:!0});fC.default=void 0;var aq=class{constructor(e,r){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=r;for(let i=0;i<64;i++)this._fastIndentations.push(r.repeat(i));this._allocQueue()}_allocQueue(){let e=this._queue;for(let r=0;r<16;r++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,r,i,s,n){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=e,o.repeat=r,o.line=i,o.column=s,o.filename=n,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:e==null?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){let i=e?e.get():null;return r.map=i,i},set map(i){Object.defineProperty(r,"map",{value:i,writable:!0})},get rawMappings(){let i=e==null?void 0:e.getRawMappings();return r.rawMappings=i,i},set rawMappings(i){Object.defineProperty(r,"rawMappings",{value:i,writable:!0})}};return r}append(e,r){this._flush(),this._append(e,this._sourcePosition,r)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10)for(;this._queueCursor!==0;){let i=this._queue[this._queueCursor-1].char;if(i!==32&&i!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(e,1,r.line,r.column,r.filename)}queueIndentation(e){e!==0&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,r=this._queue;for(let i=0;i<e;i++){let s=r[i];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(e,r,i){if(this._last=e,e===-1){let s=this._fastIndentations[r];s!==void 0?this._str+=s:this._str+=r>1?this._indentChar.repeat(r):this._indentChar}else this._str+=r>1?String.fromCharCode(e).repeat(r):String.fromCharCode(e);e!==10?(this._mark(i.line,i.column,i.identifierName,i.identifierNamePos,i.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(i.identifierName=void 0,i.identifierNamePos=void 0)}_append(e,r,i){let s=e.length,n=this._position;if(this._last=e.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!i&&!this._map){n.column+=s;return}let{column:a,identifierName:o,identifierNamePos:l,filename:u}=r,c=r.line;(o!=null||l!=null)&&this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0);let p=e.indexOf(`
|
|
381
|
+
Expected ${r.length+1} quasis but got ${t.quasis.length}`)})}}});ze("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,D.chain)((0,D.assertValueType)("boolean"),Object.assign(function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&r&&!t.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,D.assertNodeType)("Expression")}}});ze("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});ze("Import",{aliases:["Expression"]});ze("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});ze("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,D.assertNodeType)("Identifier")}}});ze("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},property:{validate:function(){let t=(0,D.assertNodeType)("Identifier"),e=(0,D.assertNodeType)("Expression");return Object.assign(function(i,s,n){(i.computed?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")}}});ze("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,D.assertNodeType)("Expression")},arguments:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,D.chain)((0,D.assertValueType)("boolean"),(0,D.assertOptionalChainStart)()):(0,D.assertValueType)("boolean")},typeArguments:{validate:(0,D.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}});ze("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},M_(),{value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});ze("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},M_(),{key:{validate:(0,D.chain)(function(){let t=(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),e=(0,D.assertNodeType)("Expression");return function(r,i,s){(r.computed?e:t)(r,i,s)}}(),(0,D.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}})});ze("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,D.assertNodeType)("PrivateName")},value:{validate:(0,D.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Decorator"))),optional:!0},static:{validate:(0,D.assertValueType)("boolean"),default:!1},readonly:{validate:(0,D.assertValueType)("boolean"),optional:!0},definite:{validate:(0,D.assertValueType)("boolean"),optional:!0},variance:{validate:(0,D.assertNodeType)("Variance"),optional:!0}}});ze("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},pV(),w0(),{kind:{validate:(0,D.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,D.assertNodeType)("PrivateName")},body:{validate:(0,D.assertNodeType)("BlockStatement")}})});ze("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,D.assertNodeType)("Identifier")}}});ze("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})});var eye=E(()=>{"use strict";var de=Yp(),Et=(0,de.defineAliasedType)("Flow"),dV=t=>{let e=t==="DeclareClass";Et(t,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...e?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),extends:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends"))},e?{mixins:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends")),implements:(0,de.validateOptional)((0,de.arrayOfType)("ClassImplements"))}:{},{body:(0,de.validateType)("ObjectTypeAnnotation")})})};Et("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,de.validateType)("FlowType")}});Et("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});dV("DeclareClass");Et("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),predicate:(0,de.validateOptionalType)("DeclaredPredicate")}});dV("DeclareInterface");Et("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)(["Identifier","StringLiteral"]),body:(0,de.validateType)("BlockStatement"),kind:(0,de.validateOptional)((0,de.assertOneOf)("CommonJS","ES"))}});Et("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Et("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),right:(0,de.validateType)("FlowType")}});Et("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,de.validateOptionalType)("FlowType"),impltype:(0,de.validateOptionalType)("FlowType")}});Et("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier")}});Et("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{declaration:(0,de.validateOptionalType)("Flow"),specifiers:(0,de.validateOptional)((0,de.arrayOfType)(["ExportSpecifier","ExportNamespaceSpecifier"])),source:(0,de.validateOptionalType)("StringLiteral"),default:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Et("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,de.validateType)("StringLiteral"),exportKind:(0,de.validateOptional)((0,de.assertOneOf)("type","value"))}});Et("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,de.validateType)("Flow")}});Et("ExistsTypeAnnotation",{aliases:["FlowType"]});Et("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),params:(0,de.validate)((0,de.arrayOfType)("FunctionTypeParam")),rest:(0,de.validateOptionalType)("FunctionTypeParam"),this:(0,de.validateOptionalType)("FunctionTypeParam"),returnType:(0,de.validateType)("FlowType")}});Et("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,de.validateOptionalType)("Identifier"),typeAnnotation:(0,de.validateType)("FlowType"),optional:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Et("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});Et("InferredPredicate",{aliases:["FlowPredicate"]});Et("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});dV("InterfaceDeclaration");Et("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends")),body:(0,de.validateType)("ObjectTypeAnnotation")}});Et("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Et("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("number"))}});Et("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,de.validate)((0,de.arrayOfType)(["ObjectTypeProperty","ObjectTypeSpreadProperty"])),indexers:{validate:(0,de.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,de.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,de.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,de.assertValueType)("boolean"),default:!1},inexact:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,de.validateType)("Identifier"),value:(0,de.validateType)("FlowType"),optional:(0,de.validate)((0,de.assertValueType)("boolean")),static:(0,de.validate)((0,de.assertValueType)("boolean")),method:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,de.validateType)("FlowType"),static:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,de.validateOptionalType)("Identifier"),key:(0,de.validateType)("FlowType"),value:(0,de.validateType)("FlowType"),static:(0,de.validate)((0,de.assertValueType)("boolean")),variance:(0,de.validateOptionalType)("Variance")}});Et("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,de.validateType)(["Identifier","StringLiteral"]),value:(0,de.validateType)("FlowType"),kind:(0,de.validate)((0,de.assertOneOf)("init","get","set")),static:(0,de.validate)((0,de.assertValueType)("boolean")),proto:(0,de.validate)((0,de.assertValueType)("boolean")),optional:(0,de.validate)((0,de.assertValueType)("boolean")),variance:(0,de.validateOptionalType)("Variance"),method:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,de.validateType)("FlowType")}});Et("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,de.validateOptionalType)("FlowType"),impltype:(0,de.validateType)("FlowType")}});Et("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,de.validateType)("Identifier"),qualification:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"])}});Et("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("string"))}});Et("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,de.validateType)("FlowType")}});Et("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterDeclaration"),right:(0,de.validateType)("FlowType")}});Et("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Et("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,de.validateType)("Expression"),typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Et("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,de.validate)((0,de.assertValueType)("string")),bound:(0,de.validateOptionalType)("TypeAnnotation"),default:(0,de.validateOptionalType)("FlowType"),variance:(0,de.validateOptionalType)("Variance")}});Et("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("TypeParameter"))}});Et("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Et("Variance",{builder:["kind"],fields:{kind:(0,de.validate)((0,de.assertOneOf)("minus","plus"))}});Et("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Et("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,de.validateType)("Identifier"),body:(0,de.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});Et("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,de.validate)((0,de.assertValueType)("boolean")),members:(0,de.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,de.validate)((0,de.assertValueType)("boolean")),members:(0,de.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,de.validate)((0,de.assertValueType)("boolean")),members:(0,de.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,de.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Et("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("BooleanLiteral")}});Et("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("NumericLiteral")}});Et("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("StringLiteral")}});Et("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier")}});Et("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,de.validateType)("FlowType"),indexType:(0,de.validateType)("FlowType")}});Et("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,de.validateType)("FlowType"),indexType:(0,de.validateType)("FlowType"),optional:(0,de.validate)((0,de.assertValueType)("boolean"))}})});var tye=E(()=>{"use strict";var mi=Yp(),ja=(0,mi.defineAliasedType)("JSX");ja("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,mi.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,mi.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});ja("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,mi.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});ja("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,mi.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,mi.assertNodeType)("JSXClosingElement")},children:{validate:(0,mi.chain)((0,mi.assertValueType)("array"),(0,mi.assertEach)((0,mi.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,mi.assertValueType)("boolean"),optional:!0}})});ja("JSXEmptyExpression",{});ja("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,mi.assertNodeType)("Expression","JSXEmptyExpression")}}});ja("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,mi.assertNodeType)("Expression")}}});ja("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,mi.assertValueType)("string")}}});ja("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,mi.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,mi.assertNodeType)("JSXIdentifier")}}});ja("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,mi.assertNodeType)("JSXIdentifier")},name:{validate:(0,mi.assertNodeType)("JSXIdentifier")}}});ja("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,mi.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,mi.chain)((0,mi.assertValueType)("array"),(0,mi.assertEach)((0,mi.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,mi.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});ja("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,mi.assertNodeType)("Expression")}}});ja("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,mi.assertValueType)("string")}}});ja("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,mi.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,mi.assertNodeType)("JSXClosingFragment")},children:{validate:(0,mi.chain)((0,mi.assertValueType)("array"),(0,mi.assertEach)((0,mi.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});ja("JSXOpeningFragment",{aliases:["Immutable"]});ja("JSXClosingFragment",{aliases:["Immutable"]})});var yV=E(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.PLACEHOLDERS_FLIPPED_ALIAS=Wd.PLACEHOLDERS_ALIAS=Wd.PLACEHOLDERS=void 0;var $xt=Yp(),Kxt=Wd.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],mV=Wd.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let t of Kxt){let e=$xt.ALIAS_KEYS[t];e!=null&&e.length&&(mV[t]=e)}var hV=Wd.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(mV).forEach(t=>{mV[t].forEach(e=>{Object.hasOwnProperty.call(hV,e)||(hV[e]=[]),hV[e].push(t)})})});var rye=E(()=>{"use strict";var j_=Yp(),Wxt=yV(),gV=(0,j_.defineAliasedType)("Miscellaneous");gV("Noop",{visitor:[]});gV("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,j_.assertNodeType)("Identifier")},expectedNode:{validate:(0,j_.assertOneOf)(...Wxt.PLACEHOLDERS)}}});gV("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,j_.assertValueType)("string")}}})});var iye=E(()=>{"use strict";var si=Yp();(0,si.default)("ArgumentPlaceholder",{});(0,si.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,si.assertNodeType)("Expression")},callee:{validate:(0,si.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,si.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,si.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,si.assertNodeType)("StringLiteral")}}});(0,si.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,si.assertNodeType)("Expression")}}});(0,si.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,si.assertNodeType)("BlockStatement")},async:{validate:(0,si.assertValueType)("boolean"),default:!1}}});(0,si.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,si.assertNodeType)("Identifier")}}});(0,si.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,si.chain)((0,si.assertValueType)("array"),(0,si.assertEach)((0,si.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,si.default)("TupleExpression",{fields:{elements:{validate:(0,si.chain)((0,si.assertValueType)("array"),(0,si.assertEach)((0,si.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,si.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,si.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,si.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,si.assertNodeType)("Program")}},aliases:["Expression"]});(0,si.default)("TopicReference",{aliases:["Expression"]});(0,si.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,si.assertNodeType)("Expression")}},aliases:["Expression"]});(0,si.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,si.assertNodeType)("Expression")}},aliases:["Expression"]});(0,si.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var pye=E(()=>{"use strict";var ke=Yp(),sye=fV(),Gxt=tb(),qt=(0,ke.defineAliasedType)("TypeScript"),xo=(0,ke.assertValueType)("boolean"),nye=()=>({returnType:{validate:(0,ke.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,ke.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});qt("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,ke.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,ke.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,ke.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,ke.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,ke.chain)((0,ke.assertValueType)("array"),(0,ke.assertEach)((0,ke.assertNodeType)("Decorator"))),optional:!0}}});qt("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,sye.functionDeclarationCommon)(),nye())});qt("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,sye.classMethodOrDeclareMethodCommon)(),nye())});qt("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,ke.validateType)("TSEntityName"),right:(0,ke.validateType)("Identifier")}});var V_=()=>({typeParameters:(0,ke.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,ke.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation")}),aye={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:V_()};qt("TSCallSignatureDeclaration",aye);qt("TSConstructSignatureDeclaration",aye);var oye=()=>({key:(0,ke.validateType)("Expression"),computed:{default:!1},optional:(0,ke.validateOptional)(xo)});qt("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},oye(),{readonly:(0,ke.validateOptional)(xo),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,ke.assertOneOf)("get","set")}})});qt("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},V_(),oye(),{kind:{validate:(0,ke.assertOneOf)("method","get","set")}})});qt("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,ke.validateOptional)(xo),static:(0,ke.validateOptional)(xo),parameters:(0,ke.validateArrayOfType)("Identifier"),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation")}});var zxt=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let t of zxt)qt(t,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});qt("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var lye={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};qt("TSFunctionType",Object.assign({},lye,{fields:V_()}));qt("TSConstructorType",Object.assign({},lye,{fields:Object.assign({},V_(),{abstract:(0,ke.validateOptional)(xo)})}));qt("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,ke.validateType)("TSEntityName"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,ke.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,ke.validateOptionalType)("TSTypeAnnotation"),asserts:(0,ke.validateOptional)(xo)}});qt("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,ke.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,ke.validateArrayOfType)("TSTypeElement")}});qt("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,ke.validateType)("TSType")}});qt("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,ke.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});qt("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,ke.validateType)("Identifier"),optional:{validate:xo,default:!1},elementType:(0,ke.validateType)("TSType")}});var uye={aliases:["TSType"],visitor:["types"],fields:{types:(0,ke.validateArrayOfType)("TSType")}};qt("TSUnionType",uye);qt("TSIntersectionType",uye);qt("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,ke.validateType)("TSType"),extendsType:(0,ke.validateType)("TSType"),trueType:(0,ke.validateType)("TSType"),falseType:(0,ke.validateType)("TSType")}});qt("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,ke.validateType)("TSTypeParameter")}});qt("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,ke.validate)((0,ke.assertValueType)("string")),typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,ke.validateType)("TSType"),indexType:(0,ke.validateType)("TSType")}});qt("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,ke.validateOptional)((0,ke.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,ke.validateType)("TSTypeParameter"),optional:(0,ke.validateOptional)((0,ke.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,ke.validateOptionalType)("TSType"),nameType:(0,ke.validateOptionalType)("TSType")}});qt("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,ke.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,ke.assertOneOf)("-"),r=(0,ke.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function i(s,n,a){(0,Gxt.default)("UnaryExpression",a)?(e(a,"operator",a.operator),t(a,"argument",a.argument)):r(s,n,a)}return i.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],i}()}}});qt("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,ke.validateType)("TSEntityName"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,ke.validateOptional)(xo),id:(0,ke.validateType)("Identifier"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,ke.validateOptional)((0,ke.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,ke.validateType)("TSInterfaceBody")}});qt("TSInterfaceBody",{visitor:["body"],fields:{body:(0,ke.validateArrayOfType)("TSTypeElement")}});qt("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,ke.validateOptional)(xo),id:(0,ke.validateType)("Identifier"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,ke.validateType)("TSType")}});qt("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,ke.validateType)("Expression"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});var cye={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,ke.validateType)("Expression"),typeAnnotation:(0,ke.validateType)("TSType")}};qt("TSAsExpression",cye);qt("TSSatisfiesExpression",cye);qt("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,ke.validateType)("TSType"),expression:(0,ke.validateType)("Expression")}});qt("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,ke.validateOptional)(xo),const:(0,ke.validateOptional)(xo),id:(0,ke.validateType)("Identifier"),members:(0,ke.validateArrayOfType)("TSEnumMember"),initializer:(0,ke.validateOptionalType)("Expression")}});qt("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,ke.validateType)(["Identifier","StringLiteral"]),initializer:(0,ke.validateOptionalType)("Expression")}});qt("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,ke.validateOptional)(xo),global:(0,ke.validateOptional)(xo),id:(0,ke.validateType)(["Identifier","StringLiteral"]),body:(0,ke.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});qt("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,ke.validateArrayOfType)("Statement")}});qt("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,ke.validateType)("StringLiteral"),qualifier:(0,ke.validateOptionalType)("TSEntityName"),typeParameters:(0,ke.validateOptionalType)("TSTypeParameterInstantiation")}});qt("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,ke.validate)(xo),id:(0,ke.validateType)("Identifier"),moduleReference:(0,ke.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,ke.assertOneOf)("type","value"),optional:!0}}});qt("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,ke.validateType)("StringLiteral")}});qt("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,ke.validateType)("Expression")}});qt("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,ke.validateType)("Expression")}});qt("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,ke.validateType)("Identifier")}});qt("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,ke.assertNodeType)("TSType")}}});qt("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,ke.chain)((0,ke.assertValueType)("array"),(0,ke.assertEach)((0,ke.assertNodeType)("TSType")))}}});qt("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,ke.chain)((0,ke.assertValueType)("array"),(0,ke.assertEach)((0,ke.assertNodeType)("TSTypeParameter")))}}});qt("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,ke.assertValueType)("string")},in:{validate:(0,ke.assertValueType)("boolean"),optional:!0},out:{validate:(0,ke.assertValueType)("boolean"),optional:!0},const:{validate:(0,ke.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,ke.assertNodeType)("TSType"),optional:!0},default:{validate:(0,ke.assertNodeType)("TSType"),optional:!0}}})});var fye=E(U_=>{"use strict";Object.defineProperty(U_,"__esModule",{value:!0});U_.DEPRECATED_ALIASES=void 0;var q5r=U_.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var Rl=E(Va=>{"use strict";Object.defineProperty(Va,"__esModule",{value:!0});Object.defineProperty(Va,"ALIAS_KEYS",{enumerable:!0,get:function(){return Mn.ALIAS_KEYS}});Object.defineProperty(Va,"BUILDER_KEYS",{enumerable:!0,get:function(){return Mn.BUILDER_KEYS}});Object.defineProperty(Va,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return bV.DEPRECATED_ALIASES}});Object.defineProperty(Va,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Mn.DEPRECATED_KEYS}});Object.defineProperty(Va,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Mn.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Va,"NODE_FIELDS",{enumerable:!0,get:function(){return Mn.NODE_FIELDS}});Object.defineProperty(Va,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Mn.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Va,"PLACEHOLDERS",{enumerable:!0,get:function(){return KT.PLACEHOLDERS}});Object.defineProperty(Va,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return KT.PLACEHOLDERS_ALIAS}});Object.defineProperty(Va,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return KT.PLACEHOLDERS_FLIPPED_ALIAS}});Va.TYPES=void 0;Object.defineProperty(Va,"VISITOR_KEYS",{enumerable:!0,get:function(){return Mn.VISITOR_KEYS}});var Gd=eM();fV();eye();tye();rye();iye();pye();var Mn=Yp(),KT=yV(),bV=fye();Object.keys(bV.DEPRECATED_ALIASES).forEach(t=>{Mn.FLIPPED_ALIAS_KEYS[t]=Mn.FLIPPED_ALIAS_KEYS[bV.DEPRECATED_ALIASES[t]]});Gd(Mn.VISITOR_KEYS);Gd(Mn.ALIAS_KEYS);Gd(Mn.FLIPPED_ALIAS_KEYS);Gd(Mn.NODE_FIELDS);Gd(Mn.BUILDER_KEYS);Gd(Mn.DEPRECATED_KEYS);Gd(KT.PLACEHOLDERS_ALIAS);Gd(KT.PLACEHOLDERS_FLIPPED_ALIAS);var K5r=Va.TYPES=[].concat(Object.keys(Mn.VISITOR_KEYS),Object.keys(Mn.FLIPPED_ALIAS_KEYS),Object.keys(Mn.DEPRECATED_KEYS))});var B_=E(WT=>{"use strict";Object.defineProperty(WT,"__esModule",{value:!0});WT.default=Hxt;WT.validateChild=mye;WT.validateField=hye;var dye=Rl();function Hxt(t,e,r){if(!t)return;let i=dye.NODE_FIELDS[t.type];if(!i)return;let s=i[e];hye(t,e,r,s),mye(t,e,r)}function hye(t,e,r,i){i!=null&&i.validate&&(i.optional&&r==null||i.validate(t,e,r))}function mye(t,e,r){if(r==null)return;let i=dye.NODE_PARENT_VALIDATIONS[r.type];i&&i(t,e,r)}});var yye=E(vV=>{"use strict";Object.defineProperty(vV,"__esModule",{value:!0});vV.default=Xxt;var Yxt=B_(),Jxt=gr();function Xxt(t){let e=Jxt.BUILDER_KEYS[t.type];for(let r of e)(0,Yxt.default)(t,r,t[r]);return t}});var Ua=E(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});O.anyTypeAnnotation=Cwt;O.argumentPlaceholder=i3t;O.arrayExpression=Qxt;O.arrayPattern=zEt;O.arrayTypeAnnotation=Dwt;O.arrowFunctionExpression=HEt;O.assignmentExpression=Zxt;O.assignmentPattern=GEt;O.awaitExpression=ywt;O.bigIntLiteral=bwt;O.binaryExpression=eEt;O.bindExpression=s3t;O.blockStatement=sEt;O.booleanLiteral=wEt;O.booleanLiteralTypeAnnotation=Iwt;O.booleanTypeAnnotation=Nwt;O.breakStatement=nEt;O.callExpression=aEt;O.catchClause=oEt;O.classAccessorProperty=Ewt;O.classBody=YEt;O.classDeclaration=XEt;O.classExpression=JEt;O.classImplements=kwt;O.classMethod=uwt;O.classPrivateMethod=Awt;O.classPrivateProperty=wwt;O.classProperty=xwt;O.conditionalExpression=lEt;O.continueStatement=uEt;O.debuggerStatement=cEt;O.decimalLiteral=p3t;O.declareClass=Lwt;O.declareExportAllDeclaration=$wt;O.declareExportDeclaration=qwt;O.declareFunction=Fwt;O.declareInterface=Rwt;O.declareModule=Bwt;O.declareModuleExports=Mwt;O.declareOpaqueType=Vwt;O.declareTypeAlias=jwt;O.declareVariable=Uwt;O.declaredPredicate=Kwt;O.decorator=a3t;O.directive=rEt;O.directiveLiteral=iEt;O.doExpression=o3t;O.doWhileStatement=pEt;O.emptyStatement=fEt;O.emptyTypeAnnotation=tAt;O.enumBooleanBody=DAt;O.enumBooleanMember=kAt;O.enumDeclaration=CAt;O.enumDefaultedMember=RAt;O.enumNumberBody=NAt;O.enumNumberMember=LAt;O.enumStringBody=IAt;O.enumStringMember=FAt;O.enumSymbolBody=OAt;O.existsTypeAnnotation=Wwt;O.exportAllDeclaration=QEt;O.exportDefaultDeclaration=ZEt;O.exportDefaultSpecifier=l3t;O.exportNamedDeclaration=ewt;O.exportNamespaceSpecifier=vwt;O.exportSpecifier=twt;O.expressionStatement=dEt;O.file=hEt;O.forInStatement=mEt;O.forOfStatement=rwt;O.forStatement=yEt;O.functionDeclaration=gEt;O.functionExpression=bEt;O.functionTypeAnnotation=Gwt;O.functionTypeParam=zwt;O.genericTypeAnnotation=Hwt;O.identifier=vEt;O.ifStatement=SEt;O.import=gwt;O.importAttribute=n3t;O.importDeclaration=iwt;O.importDefaultSpecifier=swt;O.importExpression=owt;O.importNamespaceSpecifier=nwt;O.importSpecifier=awt;O.indexedAccessType=BAt;O.inferredPredicate=Ywt;O.interfaceDeclaration=Xwt;O.interfaceExtends=Jwt;O.interfaceTypeAnnotation=Qwt;O.interpreterDirective=tEt;O.intersectionTypeAnnotation=Zwt;O.jSXAttribute=O.jsxAttribute=jAt;O.jSXClosingElement=O.jsxClosingElement=VAt;O.jSXClosingFragment=O.jsxClosingFragment=ZAt;O.jSXElement=O.jsxElement=UAt;O.jSXEmptyExpression=O.jsxEmptyExpression=qAt;O.jSXExpressionContainer=O.jsxExpressionContainer=$At;O.jSXFragment=O.jsxFragment=XAt;O.jSXIdentifier=O.jsxIdentifier=WAt;O.jSXMemberExpression=O.jsxMemberExpression=GAt;O.jSXNamespacedName=O.jsxNamespacedName=zAt;O.jSXOpeningElement=O.jsxOpeningElement=HAt;O.jSXOpeningFragment=O.jsxOpeningFragment=QAt;O.jSXSpreadAttribute=O.jsxSpreadAttribute=YAt;O.jSXSpreadChild=O.jsxSpreadChild=KAt;O.jSXText=O.jsxText=JAt;O.labeledStatement=TEt;O.logicalExpression=AEt;O.memberExpression=PEt;O.metaProperty=lwt;O.mixedTypeAnnotation=eAt;O.moduleExpression=f3t;O.newExpression=_Et;O.noop=e3t;O.nullLiteral=EEt;O.nullLiteralTypeAnnotation=Owt;O.nullableTypeAnnotation=rAt;O.numberLiteral=C6t;O.numberLiteralTypeAnnotation=iAt;O.numberTypeAnnotation=sAt;O.numericLiteral=gye;O.objectExpression=DEt;O.objectMethod=NEt;O.objectPattern=cwt;O.objectProperty=IEt;O.objectTypeAnnotation=nAt;O.objectTypeCallProperty=oAt;O.objectTypeIndexer=lAt;O.objectTypeInternalSlot=aAt;O.objectTypeProperty=uAt;O.objectTypeSpreadProperty=cAt;O.opaqueType=pAt;O.optionalCallExpression=Twt;O.optionalIndexedAccessType=MAt;O.optionalMemberExpression=Swt;O.parenthesizedExpression=LEt;O.pipelineBareFunction=m3t;O.pipelinePrimaryTopicReference=y3t;O.pipelineTopicExpression=h3t;O.placeholder=t3t;O.privateName=Pwt;O.program=CEt;O.qualifiedTypeIdentifier=fAt;O.recordExpression=u3t;O.regExpLiteral=bye;O.regexLiteral=D6t;O.restElement=vye;O.restProperty=N6t;O.returnStatement=OEt;O.sequenceExpression=kEt;O.spreadElement=Sye;O.spreadProperty=I6t;O.staticBlock=_wt;O.stringLiteral=xEt;O.stringLiteralTypeAnnotation=dAt;O.stringTypeAnnotation=hAt;O.super=pwt;O.switchCase=FEt;O.switchStatement=REt;O.symbolTypeAnnotation=mAt;O.taggedTemplateExpression=fwt;O.templateElement=dwt;O.templateLiteral=hwt;O.thisExpression=BEt;O.thisTypeAnnotation=yAt;O.throwStatement=MEt;O.topicReference=d3t;O.tryStatement=jEt;O.tSAnyKeyword=O.tsAnyKeyword=P3t;O.tSArrayType=O.tsArrayType=G3t;O.tSAsExpression=O.tsAsExpression=p6t;O.tSBigIntKeyword=O.tsBigIntKeyword=C3t;O.tSBooleanKeyword=O.tsBooleanKeyword=_3t;O.tSCallSignatureDeclaration=O.tsCallSignatureDeclaration=T3t;O.tSConditionalType=O.tsConditionalType=Z3t;O.tSConstructSignatureDeclaration=O.tsConstructSignatureDeclaration=x3t;O.tSConstructorType=O.tsConstructorType=U3t;O.tSDeclareFunction=O.tsDeclareFunction=b3t;O.tSDeclareMethod=O.tsDeclareMethod=v3t;O.tSEnumDeclaration=O.tsEnumDeclaration=h6t;O.tSEnumMember=O.tsEnumMember=m6t;O.tSExportAssignment=O.tsExportAssignment=x6t;O.tSExpressionWithTypeArguments=O.tsExpressionWithTypeArguments=a6t;O.tSExternalModuleReference=O.tsExternalModuleReference=S6t;O.tSFunctionType=O.tsFunctionType=V3t;O.tSImportEqualsDeclaration=O.tsImportEqualsDeclaration=v6t;O.tSImportType=O.tsImportType=b6t;O.tSIndexSignature=O.tsIndexSignature=A3t;O.tSIndexedAccessType=O.tsIndexedAccessType=i6t;O.tSInferType=O.tsInferType=e6t;O.tSInstantiationExpression=O.tsInstantiationExpression=c6t;O.tSInterfaceBody=O.tsInterfaceBody=l6t;O.tSInterfaceDeclaration=O.tsInterfaceDeclaration=o6t;O.tSIntersectionType=O.tsIntersectionType=Q3t;O.tSIntrinsicKeyword=O.tsIntrinsicKeyword=D3t;O.tSLiteralType=O.tsLiteralType=n6t;O.tSMappedType=O.tsMappedType=s6t;O.tSMethodSignature=O.tsMethodSignature=w3t;O.tSModuleBlock=O.tsModuleBlock=g6t;O.tSModuleDeclaration=O.tsModuleDeclaration=y6t;O.tSNamedTupleMember=O.tsNamedTupleMember=J3t;O.tSNamespaceExportDeclaration=O.tsNamespaceExportDeclaration=E6t;O.tSNeverKeyword=O.tsNeverKeyword=N3t;O.tSNonNullExpression=O.tsNonNullExpression=T6t;O.tSNullKeyword=O.tsNullKeyword=I3t;O.tSNumberKeyword=O.tsNumberKeyword=O3t;O.tSObjectKeyword=O.tsObjectKeyword=k3t;O.tSOptionalType=O.tsOptionalType=H3t;O.tSParameterProperty=O.tsParameterProperty=g3t;O.tSParenthesizedType=O.tsParenthesizedType=t6t;O.tSPropertySignature=O.tsPropertySignature=E3t;O.tSQualifiedName=O.tsQualifiedName=S3t;O.tSRestType=O.tsRestType=Y3t;O.tSSatisfiesExpression=O.tsSatisfiesExpression=f6t;O.tSStringKeyword=O.tsStringKeyword=L3t;O.tSSymbolKeyword=O.tsSymbolKeyword=F3t;O.tSThisType=O.tsThisType=j3t;O.tSTupleType=O.tsTupleType=z3t;O.tSTypeAliasDeclaration=O.tsTypeAliasDeclaration=u6t;O.tSTypeAnnotation=O.tsTypeAnnotation=w6t;O.tSTypeAssertion=O.tsTypeAssertion=d6t;O.tSTypeLiteral=O.tsTypeLiteral=W3t;O.tSTypeOperator=O.tsTypeOperator=r6t;O.tSTypeParameter=O.tsTypeParameter=_6t;O.tSTypeParameterDeclaration=O.tsTypeParameterDeclaration=P6t;O.tSTypeParameterInstantiation=O.tsTypeParameterInstantiation=A6t;O.tSTypePredicate=O.tsTypePredicate=$3t;O.tSTypeQuery=O.tsTypeQuery=K3t;O.tSTypeReference=O.tsTypeReference=q3t;O.tSUndefinedKeyword=O.tsUndefinedKeyword=R3t;O.tSUnionType=O.tsUnionType=X3t;O.tSUnknownKeyword=O.tsUnknownKeyword=B3t;O.tSVoidKeyword=O.tsVoidKeyword=M3t;O.tupleExpression=c3t;O.tupleTypeAnnotation=gAt;O.typeAlias=vAt;O.typeAnnotation=SAt;O.typeCastExpression=TAt;O.typeParameter=xAt;O.typeParameterDeclaration=EAt;O.typeParameterInstantiation=wAt;O.typeofTypeAnnotation=bAt;O.unaryExpression=VEt;O.unionTypeAnnotation=AAt;O.updateExpression=UEt;O.v8IntrinsicIdentifier=r3t;O.variableDeclaration=qEt;O.variableDeclarator=$Et;O.variance=PAt;O.voidTypeAnnotation=_At;O.whileStatement=KEt;O.withStatement=WEt;O.yieldExpression=mwt;var re=yye(),q_=jT();function Qxt(t=[]){return(0,re.default)({type:"ArrayExpression",elements:t})}function Zxt(t,e,r){return(0,re.default)({type:"AssignmentExpression",operator:t,left:e,right:r})}function eEt(t,e,r){return(0,re.default)({type:"BinaryExpression",operator:t,left:e,right:r})}function tEt(t){return(0,re.default)({type:"InterpreterDirective",value:t})}function rEt(t){return(0,re.default)({type:"Directive",value:t})}function iEt(t){return(0,re.default)({type:"DirectiveLiteral",value:t})}function sEt(t,e=[]){return(0,re.default)({type:"BlockStatement",body:t,directives:e})}function nEt(t=null){return(0,re.default)({type:"BreakStatement",label:t})}function aEt(t,e){return(0,re.default)({type:"CallExpression",callee:t,arguments:e})}function oEt(t=null,e){return(0,re.default)({type:"CatchClause",param:t,body:e})}function lEt(t,e,r){return(0,re.default)({type:"ConditionalExpression",test:t,consequent:e,alternate:r})}function uEt(t=null){return(0,re.default)({type:"ContinueStatement",label:t})}function cEt(){return{type:"DebuggerStatement"}}function pEt(t,e){return(0,re.default)({type:"DoWhileStatement",test:t,body:e})}function fEt(){return{type:"EmptyStatement"}}function dEt(t){return(0,re.default)({type:"ExpressionStatement",expression:t})}function hEt(t,e=null,r=null){return(0,re.default)({type:"File",program:t,comments:e,tokens:r})}function mEt(t,e,r){return(0,re.default)({type:"ForInStatement",left:t,right:e,body:r})}function yEt(t=null,e=null,r=null,i){return(0,re.default)({type:"ForStatement",init:t,test:e,update:r,body:i})}function gEt(t=null,e,r,i=!1,s=!1){return(0,re.default)({type:"FunctionDeclaration",id:t,params:e,body:r,generator:i,async:s})}function bEt(t=null,e,r,i=!1,s=!1){return(0,re.default)({type:"FunctionExpression",id:t,params:e,body:r,generator:i,async:s})}function vEt(t){return(0,re.default)({type:"Identifier",name:t})}function SEt(t,e,r=null){return(0,re.default)({type:"IfStatement",test:t,consequent:e,alternate:r})}function TEt(t,e){return(0,re.default)({type:"LabeledStatement",label:t,body:e})}function xEt(t){return(0,re.default)({type:"StringLiteral",value:t})}function gye(t){return(0,re.default)({type:"NumericLiteral",value:t})}function EEt(){return{type:"NullLiteral"}}function wEt(t){return(0,re.default)({type:"BooleanLiteral",value:t})}function bye(t,e=""){return(0,re.default)({type:"RegExpLiteral",pattern:t,flags:e})}function AEt(t,e,r){return(0,re.default)({type:"LogicalExpression",operator:t,left:e,right:r})}function PEt(t,e,r=!1,i=null){return(0,re.default)({type:"MemberExpression",object:t,property:e,computed:r,optional:i})}function _Et(t,e){return(0,re.default)({type:"NewExpression",callee:t,arguments:e})}function CEt(t,e=[],r="script",i=null){return(0,re.default)({type:"Program",body:t,directives:e,sourceType:r,interpreter:i})}function DEt(t){return(0,re.default)({type:"ObjectExpression",properties:t})}function NEt(t="method",e,r,i,s=!1,n=!1,a=!1){return(0,re.default)({type:"ObjectMethod",kind:t,key:e,params:r,body:i,computed:s,generator:n,async:a})}function IEt(t,e,r=!1,i=!1,s=null){return(0,re.default)({type:"ObjectProperty",key:t,value:e,computed:r,shorthand:i,decorators:s})}function vye(t){return(0,re.default)({type:"RestElement",argument:t})}function OEt(t=null){return(0,re.default)({type:"ReturnStatement",argument:t})}function kEt(t){return(0,re.default)({type:"SequenceExpression",expressions:t})}function LEt(t){return(0,re.default)({type:"ParenthesizedExpression",expression:t})}function FEt(t=null,e){return(0,re.default)({type:"SwitchCase",test:t,consequent:e})}function REt(t,e){return(0,re.default)({type:"SwitchStatement",discriminant:t,cases:e})}function BEt(){return{type:"ThisExpression"}}function MEt(t){return(0,re.default)({type:"ThrowStatement",argument:t})}function jEt(t,e=null,r=null){return(0,re.default)({type:"TryStatement",block:t,handler:e,finalizer:r})}function VEt(t,e,r=!0){return(0,re.default)({type:"UnaryExpression",operator:t,argument:e,prefix:r})}function UEt(t,e,r=!1){return(0,re.default)({type:"UpdateExpression",operator:t,argument:e,prefix:r})}function qEt(t,e){return(0,re.default)({type:"VariableDeclaration",kind:t,declarations:e})}function $Et(t,e=null){return(0,re.default)({type:"VariableDeclarator",id:t,init:e})}function KEt(t,e){return(0,re.default)({type:"WhileStatement",test:t,body:e})}function WEt(t,e){return(0,re.default)({type:"WithStatement",object:t,body:e})}function GEt(t,e){return(0,re.default)({type:"AssignmentPattern",left:t,right:e})}function zEt(t){return(0,re.default)({type:"ArrayPattern",elements:t})}function HEt(t,e,r=!1){return(0,re.default)({type:"ArrowFunctionExpression",params:t,body:e,async:r,expression:null})}function YEt(t){return(0,re.default)({type:"ClassBody",body:t})}function JEt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassExpression",id:t,superClass:e,body:r,decorators:i})}function XEt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassDeclaration",id:t,superClass:e,body:r,decorators:i})}function QEt(t){return(0,re.default)({type:"ExportAllDeclaration",source:t})}function ZEt(t){return(0,re.default)({type:"ExportDefaultDeclaration",declaration:t})}function ewt(t=null,e=[],r=null){return(0,re.default)({type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:r})}function twt(t,e){return(0,re.default)({type:"ExportSpecifier",local:t,exported:e})}function rwt(t,e,r,i=!1){return(0,re.default)({type:"ForOfStatement",left:t,right:e,body:r,await:i})}function iwt(t,e){return(0,re.default)({type:"ImportDeclaration",specifiers:t,source:e})}function swt(t){return(0,re.default)({type:"ImportDefaultSpecifier",local:t})}function nwt(t){return(0,re.default)({type:"ImportNamespaceSpecifier",local:t})}function awt(t,e){return(0,re.default)({type:"ImportSpecifier",local:t,imported:e})}function owt(t,e=null){return(0,re.default)({type:"ImportExpression",source:t,options:e})}function lwt(t,e){return(0,re.default)({type:"MetaProperty",meta:t,property:e})}function uwt(t="method",e,r,i,s=!1,n=!1,a=!1,o=!1){return(0,re.default)({type:"ClassMethod",kind:t,key:e,params:r,body:i,computed:s,static:n,generator:a,async:o})}function cwt(t){return(0,re.default)({type:"ObjectPattern",properties:t})}function Sye(t){return(0,re.default)({type:"SpreadElement",argument:t})}function pwt(){return{type:"Super"}}function fwt(t,e){return(0,re.default)({type:"TaggedTemplateExpression",tag:t,quasi:e})}function dwt(t,e=!1){return(0,re.default)({type:"TemplateElement",value:t,tail:e})}function hwt(t,e){return(0,re.default)({type:"TemplateLiteral",quasis:t,expressions:e})}function mwt(t=null,e=!1){return(0,re.default)({type:"YieldExpression",argument:t,delegate:e})}function ywt(t){return(0,re.default)({type:"AwaitExpression",argument:t})}function gwt(){return{type:"Import"}}function bwt(t){return(0,re.default)({type:"BigIntLiteral",value:t})}function vwt(t){return(0,re.default)({type:"ExportNamespaceSpecifier",exported:t})}function Swt(t,e,r=!1,i){return(0,re.default)({type:"OptionalMemberExpression",object:t,property:e,computed:r,optional:i})}function Twt(t,e,r){return(0,re.default)({type:"OptionalCallExpression",callee:t,arguments:e,optional:r})}function xwt(t,e=null,r=null,i=null,s=!1,n=!1){return(0,re.default)({type:"ClassProperty",key:t,value:e,typeAnnotation:r,decorators:i,computed:s,static:n})}function Ewt(t,e=null,r=null,i=null,s=!1,n=!1){return(0,re.default)({type:"ClassAccessorProperty",key:t,value:e,typeAnnotation:r,decorators:i,computed:s,static:n})}function wwt(t,e=null,r=null,i=!1){return(0,re.default)({type:"ClassPrivateProperty",key:t,value:e,decorators:r,static:i})}function Awt(t="method",e,r,i,s=!1){return(0,re.default)({type:"ClassPrivateMethod",kind:t,key:e,params:r,body:i,static:s})}function Pwt(t){return(0,re.default)({type:"PrivateName",id:t})}function _wt(t){return(0,re.default)({type:"StaticBlock",body:t})}function Cwt(){return{type:"AnyTypeAnnotation"}}function Dwt(t){return(0,re.default)({type:"ArrayTypeAnnotation",elementType:t})}function Nwt(){return{type:"BooleanTypeAnnotation"}}function Iwt(t){return(0,re.default)({type:"BooleanLiteralTypeAnnotation",value:t})}function Owt(){return{type:"NullLiteralTypeAnnotation"}}function kwt(t,e=null){return(0,re.default)({type:"ClassImplements",id:t,typeParameters:e})}function Lwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareClass",id:t,typeParameters:e,extends:r,body:i})}function Fwt(t){return(0,re.default)({type:"DeclareFunction",id:t})}function Rwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareInterface",id:t,typeParameters:e,extends:r,body:i})}function Bwt(t,e,r=null){return(0,re.default)({type:"DeclareModule",id:t,body:e,kind:r})}function Mwt(t){return(0,re.default)({type:"DeclareModuleExports",typeAnnotation:t})}function jwt(t,e=null,r){return(0,re.default)({type:"DeclareTypeAlias",id:t,typeParameters:e,right:r})}function Vwt(t,e=null,r=null){return(0,re.default)({type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:r})}function Uwt(t){return(0,re.default)({type:"DeclareVariable",id:t})}function qwt(t=null,e=null,r=null){return(0,re.default)({type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:r})}function $wt(t){return(0,re.default)({type:"DeclareExportAllDeclaration",source:t})}function Kwt(t){return(0,re.default)({type:"DeclaredPredicate",value:t})}function Wwt(){return{type:"ExistsTypeAnnotation"}}function Gwt(t=null,e,r=null,i){return(0,re.default)({type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:r,returnType:i})}function zwt(t=null,e){return(0,re.default)({type:"FunctionTypeParam",name:t,typeAnnotation:e})}function Hwt(t,e=null){return(0,re.default)({type:"GenericTypeAnnotation",id:t,typeParameters:e})}function Ywt(){return{type:"InferredPredicate"}}function Jwt(t,e=null){return(0,re.default)({type:"InterfaceExtends",id:t,typeParameters:e})}function Xwt(t,e=null,r=null,i){return(0,re.default)({type:"InterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function Qwt(t=null,e){return(0,re.default)({type:"InterfaceTypeAnnotation",extends:t,body:e})}function Zwt(t){return(0,re.default)({type:"IntersectionTypeAnnotation",types:t})}function eAt(){return{type:"MixedTypeAnnotation"}}function tAt(){return{type:"EmptyTypeAnnotation"}}function rAt(t){return(0,re.default)({type:"NullableTypeAnnotation",typeAnnotation:t})}function iAt(t){return(0,re.default)({type:"NumberLiteralTypeAnnotation",value:t})}function sAt(){return{type:"NumberTypeAnnotation"}}function nAt(t,e=[],r=[],i=[],s=!1){return(0,re.default)({type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:r,internalSlots:i,exact:s})}function aAt(t,e,r,i,s){return(0,re.default)({type:"ObjectTypeInternalSlot",id:t,value:e,optional:r,static:i,method:s})}function oAt(t){return(0,re.default)({type:"ObjectTypeCallProperty",value:t,static:null})}function lAt(t=null,e,r,i=null){return(0,re.default)({type:"ObjectTypeIndexer",id:t,key:e,value:r,variance:i,static:null})}function uAt(t,e,r=null){return(0,re.default)({type:"ObjectTypeProperty",key:t,value:e,variance:r,kind:null,method:null,optional:null,proto:null,static:null})}function cAt(t){return(0,re.default)({type:"ObjectTypeSpreadProperty",argument:t})}function pAt(t,e=null,r=null,i){return(0,re.default)({type:"OpaqueType",id:t,typeParameters:e,supertype:r,impltype:i})}function fAt(t,e){return(0,re.default)({type:"QualifiedTypeIdentifier",id:t,qualification:e})}function dAt(t){return(0,re.default)({type:"StringLiteralTypeAnnotation",value:t})}function hAt(){return{type:"StringTypeAnnotation"}}function mAt(){return{type:"SymbolTypeAnnotation"}}function yAt(){return{type:"ThisTypeAnnotation"}}function gAt(t){return(0,re.default)({type:"TupleTypeAnnotation",types:t})}function bAt(t){return(0,re.default)({type:"TypeofTypeAnnotation",argument:t})}function vAt(t,e=null,r){return(0,re.default)({type:"TypeAlias",id:t,typeParameters:e,right:r})}function SAt(t){return(0,re.default)({type:"TypeAnnotation",typeAnnotation:t})}function TAt(t,e){return(0,re.default)({type:"TypeCastExpression",expression:t,typeAnnotation:e})}function xAt(t=null,e=null,r=null){return(0,re.default)({type:"TypeParameter",bound:t,default:e,variance:r,name:null})}function EAt(t){return(0,re.default)({type:"TypeParameterDeclaration",params:t})}function wAt(t){return(0,re.default)({type:"TypeParameterInstantiation",params:t})}function AAt(t){return(0,re.default)({type:"UnionTypeAnnotation",types:t})}function PAt(t){return(0,re.default)({type:"Variance",kind:t})}function _At(){return{type:"VoidTypeAnnotation"}}function CAt(t,e){return(0,re.default)({type:"EnumDeclaration",id:t,body:e})}function DAt(t){return(0,re.default)({type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null})}function NAt(t){return(0,re.default)({type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null})}function IAt(t){return(0,re.default)({type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null})}function OAt(t){return(0,re.default)({type:"EnumSymbolBody",members:t,hasUnknownMembers:null})}function kAt(t){return(0,re.default)({type:"EnumBooleanMember",id:t,init:null})}function LAt(t,e){return(0,re.default)({type:"EnumNumberMember",id:t,init:e})}function FAt(t,e){return(0,re.default)({type:"EnumStringMember",id:t,init:e})}function RAt(t){return(0,re.default)({type:"EnumDefaultedMember",id:t})}function BAt(t,e){return(0,re.default)({type:"IndexedAccessType",objectType:t,indexType:e})}function MAt(t,e){return(0,re.default)({type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null})}function jAt(t,e=null){return(0,re.default)({type:"JSXAttribute",name:t,value:e})}function VAt(t){return(0,re.default)({type:"JSXClosingElement",name:t})}function UAt(t,e=null,r,i=null){return(0,re.default)({type:"JSXElement",openingElement:t,closingElement:e,children:r,selfClosing:i})}function qAt(){return{type:"JSXEmptyExpression"}}function $At(t){return(0,re.default)({type:"JSXExpressionContainer",expression:t})}function KAt(t){return(0,re.default)({type:"JSXSpreadChild",expression:t})}function WAt(t){return(0,re.default)({type:"JSXIdentifier",name:t})}function GAt(t,e){return(0,re.default)({type:"JSXMemberExpression",object:t,property:e})}function zAt(t,e){return(0,re.default)({type:"JSXNamespacedName",namespace:t,name:e})}function HAt(t,e,r=!1){return(0,re.default)({type:"JSXOpeningElement",name:t,attributes:e,selfClosing:r})}function YAt(t){return(0,re.default)({type:"JSXSpreadAttribute",argument:t})}function JAt(t){return(0,re.default)({type:"JSXText",value:t})}function XAt(t,e,r){return(0,re.default)({type:"JSXFragment",openingFragment:t,closingFragment:e,children:r})}function QAt(){return{type:"JSXOpeningFragment"}}function ZAt(){return{type:"JSXClosingFragment"}}function e3t(){return{type:"Noop"}}function t3t(t,e){return(0,re.default)({type:"Placeholder",expectedNode:t,name:e})}function r3t(t){return(0,re.default)({type:"V8IntrinsicIdentifier",name:t})}function i3t(){return{type:"ArgumentPlaceholder"}}function s3t(t,e){return(0,re.default)({type:"BindExpression",object:t,callee:e})}function n3t(t,e){return(0,re.default)({type:"ImportAttribute",key:t,value:e})}function a3t(t){return(0,re.default)({type:"Decorator",expression:t})}function o3t(t,e=!1){return(0,re.default)({type:"DoExpression",body:t,async:e})}function l3t(t){return(0,re.default)({type:"ExportDefaultSpecifier",exported:t})}function u3t(t){return(0,re.default)({type:"RecordExpression",properties:t})}function c3t(t=[]){return(0,re.default)({type:"TupleExpression",elements:t})}function p3t(t){return(0,re.default)({type:"DecimalLiteral",value:t})}function f3t(t){return(0,re.default)({type:"ModuleExpression",body:t})}function d3t(){return{type:"TopicReference"}}function h3t(t){return(0,re.default)({type:"PipelineTopicExpression",expression:t})}function m3t(t){return(0,re.default)({type:"PipelineBareFunction",callee:t})}function y3t(){return{type:"PipelinePrimaryTopicReference"}}function g3t(t){return(0,re.default)({type:"TSParameterProperty",parameter:t})}function b3t(t=null,e=null,r,i=null){return(0,re.default)({type:"TSDeclareFunction",id:t,typeParameters:e,params:r,returnType:i})}function v3t(t=null,e,r=null,i,s=null){return(0,re.default)({type:"TSDeclareMethod",decorators:t,key:e,typeParameters:r,params:i,returnType:s})}function S3t(t,e){return(0,re.default)({type:"TSQualifiedName",left:t,right:e})}function T3t(t=null,e,r=null){return(0,re.default)({type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function x3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function E3t(t,e=null){return(0,re.default)({type:"TSPropertySignature",key:t,typeAnnotation:e,kind:null})}function w3t(t,e=null,r,i=null){return(0,re.default)({type:"TSMethodSignature",key:t,typeParameters:e,parameters:r,typeAnnotation:i,kind:null})}function A3t(t,e=null){return(0,re.default)({type:"TSIndexSignature",parameters:t,typeAnnotation:e})}function P3t(){return{type:"TSAnyKeyword"}}function _3t(){return{type:"TSBooleanKeyword"}}function C3t(){return{type:"TSBigIntKeyword"}}function D3t(){return{type:"TSIntrinsicKeyword"}}function N3t(){return{type:"TSNeverKeyword"}}function I3t(){return{type:"TSNullKeyword"}}function O3t(){return{type:"TSNumberKeyword"}}function k3t(){return{type:"TSObjectKeyword"}}function L3t(){return{type:"TSStringKeyword"}}function F3t(){return{type:"TSSymbolKeyword"}}function R3t(){return{type:"TSUndefinedKeyword"}}function B3t(){return{type:"TSUnknownKeyword"}}function M3t(){return{type:"TSVoidKeyword"}}function j3t(){return{type:"TSThisType"}}function V3t(t=null,e,r=null){return(0,re.default)({type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:r})}function U3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:r})}function q3t(t,e=null){return(0,re.default)({type:"TSTypeReference",typeName:t,typeParameters:e})}function $3t(t,e=null,r=null){return(0,re.default)({type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:r})}function K3t(t,e=null){return(0,re.default)({type:"TSTypeQuery",exprName:t,typeParameters:e})}function W3t(t){return(0,re.default)({type:"TSTypeLiteral",members:t})}function G3t(t){return(0,re.default)({type:"TSArrayType",elementType:t})}function z3t(t){return(0,re.default)({type:"TSTupleType",elementTypes:t})}function H3t(t){return(0,re.default)({type:"TSOptionalType",typeAnnotation:t})}function Y3t(t){return(0,re.default)({type:"TSRestType",typeAnnotation:t})}function J3t(t,e,r=!1){return(0,re.default)({type:"TSNamedTupleMember",label:t,elementType:e,optional:r})}function X3t(t){return(0,re.default)({type:"TSUnionType",types:t})}function Q3t(t){return(0,re.default)({type:"TSIntersectionType",types:t})}function Z3t(t,e,r,i){return(0,re.default)({type:"TSConditionalType",checkType:t,extendsType:e,trueType:r,falseType:i})}function e6t(t){return(0,re.default)({type:"TSInferType",typeParameter:t})}function t6t(t){return(0,re.default)({type:"TSParenthesizedType",typeAnnotation:t})}function r6t(t){return(0,re.default)({type:"TSTypeOperator",typeAnnotation:t,operator:null})}function i6t(t,e){return(0,re.default)({type:"TSIndexedAccessType",objectType:t,indexType:e})}function s6t(t,e=null,r=null){return(0,re.default)({type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:r})}function n6t(t){return(0,re.default)({type:"TSLiteralType",literal:t})}function a6t(t,e=null){return(0,re.default)({type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e})}function o6t(t,e=null,r=null,i){return(0,re.default)({type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function l6t(t){return(0,re.default)({type:"TSInterfaceBody",body:t})}function u6t(t,e=null,r){return(0,re.default)({type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:r})}function c6t(t,e=null){return(0,re.default)({type:"TSInstantiationExpression",expression:t,typeParameters:e})}function p6t(t,e){return(0,re.default)({type:"TSAsExpression",expression:t,typeAnnotation:e})}function f6t(t,e){return(0,re.default)({type:"TSSatisfiesExpression",expression:t,typeAnnotation:e})}function d6t(t,e){return(0,re.default)({type:"TSTypeAssertion",typeAnnotation:t,expression:e})}function h6t(t,e){return(0,re.default)({type:"TSEnumDeclaration",id:t,members:e})}function m6t(t,e=null){return(0,re.default)({type:"TSEnumMember",id:t,initializer:e})}function y6t(t,e){return(0,re.default)({type:"TSModuleDeclaration",id:t,body:e})}function g6t(t){return(0,re.default)({type:"TSModuleBlock",body:t})}function b6t(t,e=null,r=null){return(0,re.default)({type:"TSImportType",argument:t,qualifier:e,typeParameters:r})}function v6t(t,e){return(0,re.default)({type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null})}function S6t(t){return(0,re.default)({type:"TSExternalModuleReference",expression:t})}function T6t(t){return(0,re.default)({type:"TSNonNullExpression",expression:t})}function x6t(t){return(0,re.default)({type:"TSExportAssignment",expression:t})}function E6t(t){return(0,re.default)({type:"TSNamespaceExportDeclaration",id:t})}function w6t(t){return(0,re.default)({type:"TSTypeAnnotation",typeAnnotation:t})}function A6t(t){return(0,re.default)({type:"TSTypeParameterInstantiation",params:t})}function P6t(t){return(0,re.default)({type:"TSTypeParameterDeclaration",params:t})}function _6t(t=null,e=null,r){return(0,re.default)({type:"TSTypeParameter",constraint:t,default:e,name:r})}function C6t(t){return(0,q_.default)("NumberLiteral","NumericLiteral","The node type "),gye(t)}function D6t(t,e=""){return(0,q_.default)("RegexLiteral","RegExpLiteral","The node type "),bye(t,e)}function N6t(t){return(0,q_.default)("RestProperty","RestElement","The node type "),vye(t)}function I6t(t){return(0,q_.default)("SpreadProperty","SpreadElement","The node type "),Sye(t)}});var Tye=E(SV=>{"use strict";Object.defineProperty(SV,"__esModule",{value:!0});SV.default=L6t;var O6t=Ua(),k6t=gr();function L6t(t,e){let r=t.value.split(/\r\n|\n|\r/),i=0;for(let n=0;n<r.length;n++)r[n].match(/[^ \t]/)&&(i=n);let s="";for(let n=0;n<r.length;n++){let a=r[n],o=n===0,l=n===r.length-1,u=n===i,c=a.replace(/\t/g," ");o||(c=c.replace(/^[ ]+/,"")),l||(c=c.replace(/[ ]+$/,"")),c&&(u||(c+=" "),s+=c)}s&&e.push((0,k6t.inherits)((0,O6t.stringLiteral)(s),t))}});var xye=E(xV=>{"use strict";Object.defineProperty(xV,"__esModule",{value:!0});xV.default=R6t;var TV=Zs(),F6t=Tye();function R6t(t){let e=[];for(let r=0;r<t.children.length;r++){let i=t.children[r];if((0,TV.isJSXText)(i)){(0,F6t.default)(i,e);continue}(0,TV.isJSXExpressionContainer)(i)&&(i=i.expression),!(0,TV.isJSXEmptyExpression)(i)&&e.push(i)}return e}});var wV=E(EV=>{"use strict";Object.defineProperty(EV,"__esModule",{value:!0});EV.default=M6t;var B6t=Rl();function M6t(t){return!!(t&&B6t.VISITOR_KEYS[t.type])}});var Eye=E(AV=>{"use strict";Object.defineProperty(AV,"__esModule",{value:!0});AV.default=V6t;var j6t=wV();function V6t(t){if(!(0,j6t.default)(t)){var e;let r=(e=t==null?void 0:t.type)!=null?e:JSON.stringify(t);throw new TypeError(`Not a valid node of type "${r}"`)}}});var wye=E(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.assertAccessor=r5t;B.assertAnyTypeAnnotation=x4t;B.assertArgumentPlaceholder=X_t;B.assertArrayExpression=q6t;B.assertArrayPattern=VPt;B.assertArrayTypeAnnotation=E4t;B.assertArrowFunctionExpression=UPt;B.assertAssignmentExpression=$6t;B.assertAssignmentPattern=jPt;B.assertAwaitExpression=c4t;B.assertBigIntLiteral=f4t;B.assertBinary=w8t;B.assertBinaryExpression=K6t;B.assertBindExpression=Q_t;B.assertBlock=_8t;B.assertBlockParent=P8t;B.assertBlockStatement=H6t;B.assertBooleanLiteral=mPt;B.assertBooleanLiteralTypeAnnotation=A4t;B.assertBooleanTypeAnnotation=w4t;B.assertBreakStatement=Y6t;B.assertCallExpression=J6t;B.assertCatchClause=X6t;B.assertClass=Q8t;B.assertClassAccessorProperty=g4t;B.assertClassBody=qPt;B.assertClassDeclaration=KPt;B.assertClassExpression=$Pt;B.assertClassImplements=_4t;B.assertClassMethod=r4t;B.assertClassPrivateMethod=v4t;B.assertClassPrivateProperty=b4t;B.assertClassProperty=y4t;B.assertCompletionStatement=N8t;B.assertConditional=I8t;B.assertConditionalExpression=Q6t;B.assertContinueStatement=Z6t;B.assertDebuggerStatement=ePt;B.assertDecimalLiteral=nCt;B.assertDeclaration=V8t;B.assertDeclareClass=C4t;B.assertDeclareExportAllDeclaration=B4t;B.assertDeclareExportDeclaration=R4t;B.assertDeclareFunction=D4t;B.assertDeclareInterface=N4t;B.assertDeclareModule=I4t;B.assertDeclareModuleExports=O4t;B.assertDeclareOpaqueType=L4t;B.assertDeclareTypeAlias=k4t;B.assertDeclareVariable=F4t;B.assertDeclaredPredicate=M4t;B.assertDecorator=eCt;B.assertDirective=G6t;B.assertDirectiveLiteral=z6t;B.assertDoExpression=tCt;B.assertDoWhileStatement=tPt;B.assertEmptyStatement=rPt;B.assertEmptyTypeAnnotation=Y4t;B.assertEnumBody=u5t;B.assertEnumBooleanBody=E_t;B.assertEnumBooleanMember=__t;B.assertEnumDeclaration=x_t;B.assertEnumDefaultedMember=N_t;B.assertEnumMember=c5t;B.assertEnumNumberBody=w_t;B.assertEnumNumberMember=C_t;B.assertEnumStringBody=A_t;B.assertEnumStringMember=D_t;B.assertEnumSymbolBody=P_t;B.assertExistsTypeAnnotation=j4t;B.assertExportAllDeclaration=WPt;B.assertExportDeclaration=e5t;B.assertExportDefaultDeclaration=GPt;B.assertExportDefaultSpecifier=rCt;B.assertExportNamedDeclaration=zPt;B.assertExportNamespaceSpecifier=d4t;B.assertExportSpecifier=HPt;B.assertExpression=E8t;B.assertExpressionStatement=iPt;B.assertExpressionWrapper=L8t;B.assertFile=sPt;B.assertFlow=s5t;B.assertFlowBaseAnnotation=a5t;B.assertFlowDeclaration=o5t;B.assertFlowPredicate=l5t;B.assertFlowType=n5t;B.assertFor=F8t;B.assertForInStatement=nPt;B.assertForOfStatement=YPt;B.assertForStatement=aPt;B.assertForXStatement=R8t;B.assertFunction=B8t;B.assertFunctionDeclaration=oPt;B.assertFunctionExpression=lPt;B.assertFunctionParent=M8t;B.assertFunctionTypeAnnotation=V4t;B.assertFunctionTypeParam=U4t;B.assertGenericTypeAnnotation=q4t;B.assertIdentifier=uPt;B.assertIfStatement=cPt;B.assertImmutable=W8t;B.assertImport=p4t;B.assertImportAttribute=Z_t;B.assertImportDeclaration=JPt;B.assertImportDefaultSpecifier=XPt;B.assertImportExpression=e4t;B.assertImportNamespaceSpecifier=QPt;B.assertImportOrExportDeclaration=Z8t;B.assertImportSpecifier=ZPt;B.assertIndexedAccessType=I_t;B.assertInferredPredicate=$4t;B.assertInterfaceDeclaration=W4t;B.assertInterfaceExtends=K4t;B.assertInterfaceTypeAnnotation=G4t;B.assertInterpreterDirective=W6t;B.assertIntersectionTypeAnnotation=z4t;B.assertJSX=p5t;B.assertJSXAttribute=k_t;B.assertJSXClosingElement=L_t;B.assertJSXClosingFragment=z_t;B.assertJSXElement=F_t;B.assertJSXEmptyExpression=R_t;B.assertJSXExpressionContainer=B_t;B.assertJSXFragment=W_t;B.assertJSXIdentifier=j_t;B.assertJSXMemberExpression=V_t;B.assertJSXNamespacedName=U_t;B.assertJSXOpeningElement=q_t;B.assertJSXOpeningFragment=G_t;B.assertJSXSpreadAttribute=$_t;B.assertJSXSpreadChild=M_t;B.assertJSXText=K_t;B.assertLVal=q8t;B.assertLabeledStatement=pPt;B.assertLiteral=K8t;B.assertLogicalExpression=gPt;B.assertLoop=O8t;B.assertMemberExpression=bPt;B.assertMetaProperty=t4t;B.assertMethod=z8t;B.assertMiscellaneous=f5t;B.assertMixedTypeAnnotation=H4t;B.assertModuleDeclaration=T5t;B.assertModuleExpression=aCt;B.assertModuleSpecifier=t5t;B.assertNewExpression=vPt;B.assertNoop=H_t;B.assertNullLiteral=hPt;B.assertNullLiteralTypeAnnotation=P4t;B.assertNullableTypeAnnotation=J4t;B.assertNumberLiteral=g5t;B.assertNumberLiteralTypeAnnotation=X4t;B.assertNumberTypeAnnotation=Q4t;B.assertNumericLiteral=dPt;B.assertObjectExpression=TPt;B.assertObjectMember=H8t;B.assertObjectMethod=xPt;B.assertObjectPattern=i4t;B.assertObjectProperty=EPt;B.assertObjectTypeAnnotation=Z4t;B.assertObjectTypeCallProperty=t_t;B.assertObjectTypeIndexer=r_t;B.assertObjectTypeInternalSlot=e_t;B.assertObjectTypeProperty=i_t;B.assertObjectTypeSpreadProperty=s_t;B.assertOpaqueType=n_t;B.assertOptionalCallExpression=m4t;B.assertOptionalIndexedAccessType=O_t;B.assertOptionalMemberExpression=h4t;B.assertParenthesizedExpression=_Pt;B.assertPattern=X8t;B.assertPatternLike=U8t;B.assertPipelineBareFunction=uCt;B.assertPipelinePrimaryTopicReference=cCt;B.assertPipelineTopicExpression=lCt;B.assertPlaceholder=Y_t;B.assertPrivate=i5t;B.assertPrivateName=S4t;B.assertProgram=SPt;B.assertProperty=Y8t;B.assertPureish=j8t;B.assertQualifiedTypeIdentifier=a_t;B.assertRecordExpression=iCt;B.assertRegExpLiteral=yPt;B.assertRegexLiteral=b5t;B.assertRestElement=wPt;B.assertRestProperty=v5t;B.assertReturnStatement=APt;B.assertScopable=A8t;B.assertSequenceExpression=PPt;B.assertSpreadElement=s4t;B.assertSpreadProperty=S5t;B.assertStandardized=x8t;B.assertStatement=C8t;B.assertStaticBlock=T4t;B.assertStringLiteral=fPt;B.assertStringLiteralTypeAnnotation=o_t;B.assertStringTypeAnnotation=l_t;B.assertSuper=n4t;B.assertSwitchCase=CPt;B.assertSwitchStatement=DPt;B.assertSymbolTypeAnnotation=u_t;B.assertTSAnyKeyword=SCt;B.assertTSArrayType=VCt;B.assertTSAsExpression=n8t;B.assertTSBaseType=y5t;B.assertTSBigIntKeyword=xCt;B.assertTSBooleanKeyword=TCt;B.assertTSCallSignatureDeclaration=mCt;B.assertTSConditionalType=zCt;B.assertTSConstructSignatureDeclaration=yCt;B.assertTSConstructorType=FCt;B.assertTSDeclareFunction=fCt;B.assertTSDeclareMethod=dCt;B.assertTSEntityName=$8t;B.assertTSEnumDeclaration=l8t;B.assertTSEnumMember=u8t;B.assertTSExportAssignment=y8t;B.assertTSExpressionWithTypeArguments=e8t;B.assertTSExternalModuleReference=h8t;B.assertTSFunctionType=LCt;B.assertTSImportEqualsDeclaration=d8t;B.assertTSImportType=f8t;B.assertTSIndexSignature=vCt;B.assertTSIndexedAccessType=XCt;B.assertTSInferType=HCt;B.assertTSInstantiationExpression=s8t;B.assertTSInterfaceBody=r8t;B.assertTSInterfaceDeclaration=t8t;B.assertTSIntersectionType=GCt;B.assertTSIntrinsicKeyword=ECt;B.assertTSLiteralType=ZCt;B.assertTSMappedType=QCt;B.assertTSMethodSignature=bCt;B.assertTSModuleBlock=p8t;B.assertTSModuleDeclaration=c8t;B.assertTSNamedTupleMember=KCt;B.assertTSNamespaceExportDeclaration=g8t;B.assertTSNeverKeyword=wCt;B.assertTSNonNullExpression=m8t;B.assertTSNullKeyword=ACt;B.assertTSNumberKeyword=PCt;B.assertTSObjectKeyword=_Ct;B.assertTSOptionalType=qCt;B.assertTSParameterProperty=pCt;B.assertTSParenthesizedType=YCt;B.assertTSPropertySignature=gCt;B.assertTSQualifiedName=hCt;B.assertTSRestType=$Ct;B.assertTSSatisfiesExpression=a8t;B.assertTSStringKeyword=CCt;B.assertTSSymbolKeyword=DCt;B.assertTSThisType=kCt;B.assertTSTupleType=UCt;B.assertTSType=m5t;B.assertTSTypeAliasDeclaration=i8t;B.assertTSTypeAnnotation=b8t;B.assertTSTypeAssertion=o8t;B.assertTSTypeElement=h5t;B.assertTSTypeLiteral=jCt;B.assertTSTypeOperator=JCt;B.assertTSTypeParameter=T8t;B.assertTSTypeParameterDeclaration=S8t;B.assertTSTypeParameterInstantiation=v8t;B.assertTSTypePredicate=BCt;B.assertTSTypeQuery=MCt;B.assertTSTypeReference=RCt;B.assertTSUndefinedKeyword=NCt;B.assertTSUnionType=WCt;B.assertTSUnknownKeyword=ICt;B.assertTSVoidKeyword=OCt;B.assertTaggedTemplateExpression=a4t;B.assertTemplateElement=o4t;B.assertTemplateLiteral=l4t;B.assertTerminatorless=D8t;B.assertThisExpression=NPt;B.assertThisTypeAnnotation=c_t;B.assertThrowStatement=IPt;B.assertTopicReference=oCt;B.assertTryStatement=OPt;B.assertTupleExpression=sCt;B.assertTupleTypeAnnotation=p_t;B.assertTypeAlias=d_t;B.assertTypeAnnotation=h_t;B.assertTypeCastExpression=m_t;B.assertTypeParameter=y_t;B.assertTypeParameterDeclaration=g_t;B.assertTypeParameterInstantiation=b_t;B.assertTypeScript=d5t;B.assertTypeofTypeAnnotation=f_t;B.assertUnaryExpression=kPt;B.assertUnaryLike=J8t;B.assertUnionTypeAnnotation=v_t;B.assertUpdateExpression=LPt;B.assertUserWhitespacable=G8t;B.assertV8IntrinsicIdentifier=J_t;B.assertVariableDeclaration=FPt;B.assertVariableDeclarator=RPt;B.assertVariance=S_t;B.assertVoidTypeAnnotation=T_t;B.assertWhile=k8t;B.assertWhileStatement=BPt;B.assertWithStatement=MPt;B.assertYieldExpression=u4t;var U6t=tb(),GT=jT();function V(t,e,r){if(!(0,U6t.default)(t,e,r))throw new Error(`Expected type "${t}" with option ${JSON.stringify(r)}, but instead got "${e.type}".`)}function q6t(t,e){V("ArrayExpression",t,e)}function $6t(t,e){V("AssignmentExpression",t,e)}function K6t(t,e){V("BinaryExpression",t,e)}function W6t(t,e){V("InterpreterDirective",t,e)}function G6t(t,e){V("Directive",t,e)}function z6t(t,e){V("DirectiveLiteral",t,e)}function H6t(t,e){V("BlockStatement",t,e)}function Y6t(t,e){V("BreakStatement",t,e)}function J6t(t,e){V("CallExpression",t,e)}function X6t(t,e){V("CatchClause",t,e)}function Q6t(t,e){V("ConditionalExpression",t,e)}function Z6t(t,e){V("ContinueStatement",t,e)}function ePt(t,e){V("DebuggerStatement",t,e)}function tPt(t,e){V("DoWhileStatement",t,e)}function rPt(t,e){V("EmptyStatement",t,e)}function iPt(t,e){V("ExpressionStatement",t,e)}function sPt(t,e){V("File",t,e)}function nPt(t,e){V("ForInStatement",t,e)}function aPt(t,e){V("ForStatement",t,e)}function oPt(t,e){V("FunctionDeclaration",t,e)}function lPt(t,e){V("FunctionExpression",t,e)}function uPt(t,e){V("Identifier",t,e)}function cPt(t,e){V("IfStatement",t,e)}function pPt(t,e){V("LabeledStatement",t,e)}function fPt(t,e){V("StringLiteral",t,e)}function dPt(t,e){V("NumericLiteral",t,e)}function hPt(t,e){V("NullLiteral",t,e)}function mPt(t,e){V("BooleanLiteral",t,e)}function yPt(t,e){V("RegExpLiteral",t,e)}function gPt(t,e){V("LogicalExpression",t,e)}function bPt(t,e){V("MemberExpression",t,e)}function vPt(t,e){V("NewExpression",t,e)}function SPt(t,e){V("Program",t,e)}function TPt(t,e){V("ObjectExpression",t,e)}function xPt(t,e){V("ObjectMethod",t,e)}function EPt(t,e){V("ObjectProperty",t,e)}function wPt(t,e){V("RestElement",t,e)}function APt(t,e){V("ReturnStatement",t,e)}function PPt(t,e){V("SequenceExpression",t,e)}function _Pt(t,e){V("ParenthesizedExpression",t,e)}function CPt(t,e){V("SwitchCase",t,e)}function DPt(t,e){V("SwitchStatement",t,e)}function NPt(t,e){V("ThisExpression",t,e)}function IPt(t,e){V("ThrowStatement",t,e)}function OPt(t,e){V("TryStatement",t,e)}function kPt(t,e){V("UnaryExpression",t,e)}function LPt(t,e){V("UpdateExpression",t,e)}function FPt(t,e){V("VariableDeclaration",t,e)}function RPt(t,e){V("VariableDeclarator",t,e)}function BPt(t,e){V("WhileStatement",t,e)}function MPt(t,e){V("WithStatement",t,e)}function jPt(t,e){V("AssignmentPattern",t,e)}function VPt(t,e){V("ArrayPattern",t,e)}function UPt(t,e){V("ArrowFunctionExpression",t,e)}function qPt(t,e){V("ClassBody",t,e)}function $Pt(t,e){V("ClassExpression",t,e)}function KPt(t,e){V("ClassDeclaration",t,e)}function WPt(t,e){V("ExportAllDeclaration",t,e)}function GPt(t,e){V("ExportDefaultDeclaration",t,e)}function zPt(t,e){V("ExportNamedDeclaration",t,e)}function HPt(t,e){V("ExportSpecifier",t,e)}function YPt(t,e){V("ForOfStatement",t,e)}function JPt(t,e){V("ImportDeclaration",t,e)}function XPt(t,e){V("ImportDefaultSpecifier",t,e)}function QPt(t,e){V("ImportNamespaceSpecifier",t,e)}function ZPt(t,e){V("ImportSpecifier",t,e)}function e4t(t,e){V("ImportExpression",t,e)}function t4t(t,e){V("MetaProperty",t,e)}function r4t(t,e){V("ClassMethod",t,e)}function i4t(t,e){V("ObjectPattern",t,e)}function s4t(t,e){V("SpreadElement",t,e)}function n4t(t,e){V("Super",t,e)}function a4t(t,e){V("TaggedTemplateExpression",t,e)}function o4t(t,e){V("TemplateElement",t,e)}function l4t(t,e){V("TemplateLiteral",t,e)}function u4t(t,e){V("YieldExpression",t,e)}function c4t(t,e){V("AwaitExpression",t,e)}function p4t(t,e){V("Import",t,e)}function f4t(t,e){V("BigIntLiteral",t,e)}function d4t(t,e){V("ExportNamespaceSpecifier",t,e)}function h4t(t,e){V("OptionalMemberExpression",t,e)}function m4t(t,e){V("OptionalCallExpression",t,e)}function y4t(t,e){V("ClassProperty",t,e)}function g4t(t,e){V("ClassAccessorProperty",t,e)}function b4t(t,e){V("ClassPrivateProperty",t,e)}function v4t(t,e){V("ClassPrivateMethod",t,e)}function S4t(t,e){V("PrivateName",t,e)}function T4t(t,e){V("StaticBlock",t,e)}function x4t(t,e){V("AnyTypeAnnotation",t,e)}function E4t(t,e){V("ArrayTypeAnnotation",t,e)}function w4t(t,e){V("BooleanTypeAnnotation",t,e)}function A4t(t,e){V("BooleanLiteralTypeAnnotation",t,e)}function P4t(t,e){V("NullLiteralTypeAnnotation",t,e)}function _4t(t,e){V("ClassImplements",t,e)}function C4t(t,e){V("DeclareClass",t,e)}function D4t(t,e){V("DeclareFunction",t,e)}function N4t(t,e){V("DeclareInterface",t,e)}function I4t(t,e){V("DeclareModule",t,e)}function O4t(t,e){V("DeclareModuleExports",t,e)}function k4t(t,e){V("DeclareTypeAlias",t,e)}function L4t(t,e){V("DeclareOpaqueType",t,e)}function F4t(t,e){V("DeclareVariable",t,e)}function R4t(t,e){V("DeclareExportDeclaration",t,e)}function B4t(t,e){V("DeclareExportAllDeclaration",t,e)}function M4t(t,e){V("DeclaredPredicate",t,e)}function j4t(t,e){V("ExistsTypeAnnotation",t,e)}function V4t(t,e){V("FunctionTypeAnnotation",t,e)}function U4t(t,e){V("FunctionTypeParam",t,e)}function q4t(t,e){V("GenericTypeAnnotation",t,e)}function $4t(t,e){V("InferredPredicate",t,e)}function K4t(t,e){V("InterfaceExtends",t,e)}function W4t(t,e){V("InterfaceDeclaration",t,e)}function G4t(t,e){V("InterfaceTypeAnnotation",t,e)}function z4t(t,e){V("IntersectionTypeAnnotation",t,e)}function H4t(t,e){V("MixedTypeAnnotation",t,e)}function Y4t(t,e){V("EmptyTypeAnnotation",t,e)}function J4t(t,e){V("NullableTypeAnnotation",t,e)}function X4t(t,e){V("NumberLiteralTypeAnnotation",t,e)}function Q4t(t,e){V("NumberTypeAnnotation",t,e)}function Z4t(t,e){V("ObjectTypeAnnotation",t,e)}function e_t(t,e){V("ObjectTypeInternalSlot",t,e)}function t_t(t,e){V("ObjectTypeCallProperty",t,e)}function r_t(t,e){V("ObjectTypeIndexer",t,e)}function i_t(t,e){V("ObjectTypeProperty",t,e)}function s_t(t,e){V("ObjectTypeSpreadProperty",t,e)}function n_t(t,e){V("OpaqueType",t,e)}function a_t(t,e){V("QualifiedTypeIdentifier",t,e)}function o_t(t,e){V("StringLiteralTypeAnnotation",t,e)}function l_t(t,e){V("StringTypeAnnotation",t,e)}function u_t(t,e){V("SymbolTypeAnnotation",t,e)}function c_t(t,e){V("ThisTypeAnnotation",t,e)}function p_t(t,e){V("TupleTypeAnnotation",t,e)}function f_t(t,e){V("TypeofTypeAnnotation",t,e)}function d_t(t,e){V("TypeAlias",t,e)}function h_t(t,e){V("TypeAnnotation",t,e)}function m_t(t,e){V("TypeCastExpression",t,e)}function y_t(t,e){V("TypeParameter",t,e)}function g_t(t,e){V("TypeParameterDeclaration",t,e)}function b_t(t,e){V("TypeParameterInstantiation",t,e)}function v_t(t,e){V("UnionTypeAnnotation",t,e)}function S_t(t,e){V("Variance",t,e)}function T_t(t,e){V("VoidTypeAnnotation",t,e)}function x_t(t,e){V("EnumDeclaration",t,e)}function E_t(t,e){V("EnumBooleanBody",t,e)}function w_t(t,e){V("EnumNumberBody",t,e)}function A_t(t,e){V("EnumStringBody",t,e)}function P_t(t,e){V("EnumSymbolBody",t,e)}function __t(t,e){V("EnumBooleanMember",t,e)}function C_t(t,e){V("EnumNumberMember",t,e)}function D_t(t,e){V("EnumStringMember",t,e)}function N_t(t,e){V("EnumDefaultedMember",t,e)}function I_t(t,e){V("IndexedAccessType",t,e)}function O_t(t,e){V("OptionalIndexedAccessType",t,e)}function k_t(t,e){V("JSXAttribute",t,e)}function L_t(t,e){V("JSXClosingElement",t,e)}function F_t(t,e){V("JSXElement",t,e)}function R_t(t,e){V("JSXEmptyExpression",t,e)}function B_t(t,e){V("JSXExpressionContainer",t,e)}function M_t(t,e){V("JSXSpreadChild",t,e)}function j_t(t,e){V("JSXIdentifier",t,e)}function V_t(t,e){V("JSXMemberExpression",t,e)}function U_t(t,e){V("JSXNamespacedName",t,e)}function q_t(t,e){V("JSXOpeningElement",t,e)}function $_t(t,e){V("JSXSpreadAttribute",t,e)}function K_t(t,e){V("JSXText",t,e)}function W_t(t,e){V("JSXFragment",t,e)}function G_t(t,e){V("JSXOpeningFragment",t,e)}function z_t(t,e){V("JSXClosingFragment",t,e)}function H_t(t,e){V("Noop",t,e)}function Y_t(t,e){V("Placeholder",t,e)}function J_t(t,e){V("V8IntrinsicIdentifier",t,e)}function X_t(t,e){V("ArgumentPlaceholder",t,e)}function Q_t(t,e){V("BindExpression",t,e)}function Z_t(t,e){V("ImportAttribute",t,e)}function eCt(t,e){V("Decorator",t,e)}function tCt(t,e){V("DoExpression",t,e)}function rCt(t,e){V("ExportDefaultSpecifier",t,e)}function iCt(t,e){V("RecordExpression",t,e)}function sCt(t,e){V("TupleExpression",t,e)}function nCt(t,e){V("DecimalLiteral",t,e)}function aCt(t,e){V("ModuleExpression",t,e)}function oCt(t,e){V("TopicReference",t,e)}function lCt(t,e){V("PipelineTopicExpression",t,e)}function uCt(t,e){V("PipelineBareFunction",t,e)}function cCt(t,e){V("PipelinePrimaryTopicReference",t,e)}function pCt(t,e){V("TSParameterProperty",t,e)}function fCt(t,e){V("TSDeclareFunction",t,e)}function dCt(t,e){V("TSDeclareMethod",t,e)}function hCt(t,e){V("TSQualifiedName",t,e)}function mCt(t,e){V("TSCallSignatureDeclaration",t,e)}function yCt(t,e){V("TSConstructSignatureDeclaration",t,e)}function gCt(t,e){V("TSPropertySignature",t,e)}function bCt(t,e){V("TSMethodSignature",t,e)}function vCt(t,e){V("TSIndexSignature",t,e)}function SCt(t,e){V("TSAnyKeyword",t,e)}function TCt(t,e){V("TSBooleanKeyword",t,e)}function xCt(t,e){V("TSBigIntKeyword",t,e)}function ECt(t,e){V("TSIntrinsicKeyword",t,e)}function wCt(t,e){V("TSNeverKeyword",t,e)}function ACt(t,e){V("TSNullKeyword",t,e)}function PCt(t,e){V("TSNumberKeyword",t,e)}function _Ct(t,e){V("TSObjectKeyword",t,e)}function CCt(t,e){V("TSStringKeyword",t,e)}function DCt(t,e){V("TSSymbolKeyword",t,e)}function NCt(t,e){V("TSUndefinedKeyword",t,e)}function ICt(t,e){V("TSUnknownKeyword",t,e)}function OCt(t,e){V("TSVoidKeyword",t,e)}function kCt(t,e){V("TSThisType",t,e)}function LCt(t,e){V("TSFunctionType",t,e)}function FCt(t,e){V("TSConstructorType",t,e)}function RCt(t,e){V("TSTypeReference",t,e)}function BCt(t,e){V("TSTypePredicate",t,e)}function MCt(t,e){V("TSTypeQuery",t,e)}function jCt(t,e){V("TSTypeLiteral",t,e)}function VCt(t,e){V("TSArrayType",t,e)}function UCt(t,e){V("TSTupleType",t,e)}function qCt(t,e){V("TSOptionalType",t,e)}function $Ct(t,e){V("TSRestType",t,e)}function KCt(t,e){V("TSNamedTupleMember",t,e)}function WCt(t,e){V("TSUnionType",t,e)}function GCt(t,e){V("TSIntersectionType",t,e)}function zCt(t,e){V("TSConditionalType",t,e)}function HCt(t,e){V("TSInferType",t,e)}function YCt(t,e){V("TSParenthesizedType",t,e)}function JCt(t,e){V("TSTypeOperator",t,e)}function XCt(t,e){V("TSIndexedAccessType",t,e)}function QCt(t,e){V("TSMappedType",t,e)}function ZCt(t,e){V("TSLiteralType",t,e)}function e8t(t,e){V("TSExpressionWithTypeArguments",t,e)}function t8t(t,e){V("TSInterfaceDeclaration",t,e)}function r8t(t,e){V("TSInterfaceBody",t,e)}function i8t(t,e){V("TSTypeAliasDeclaration",t,e)}function s8t(t,e){V("TSInstantiationExpression",t,e)}function n8t(t,e){V("TSAsExpression",t,e)}function a8t(t,e){V("TSSatisfiesExpression",t,e)}function o8t(t,e){V("TSTypeAssertion",t,e)}function l8t(t,e){V("TSEnumDeclaration",t,e)}function u8t(t,e){V("TSEnumMember",t,e)}function c8t(t,e){V("TSModuleDeclaration",t,e)}function p8t(t,e){V("TSModuleBlock",t,e)}function f8t(t,e){V("TSImportType",t,e)}function d8t(t,e){V("TSImportEqualsDeclaration",t,e)}function h8t(t,e){V("TSExternalModuleReference",t,e)}function m8t(t,e){V("TSNonNullExpression",t,e)}function y8t(t,e){V("TSExportAssignment",t,e)}function g8t(t,e){V("TSNamespaceExportDeclaration",t,e)}function b8t(t,e){V("TSTypeAnnotation",t,e)}function v8t(t,e){V("TSTypeParameterInstantiation",t,e)}function S8t(t,e){V("TSTypeParameterDeclaration",t,e)}function T8t(t,e){V("TSTypeParameter",t,e)}function x8t(t,e){V("Standardized",t,e)}function E8t(t,e){V("Expression",t,e)}function w8t(t,e){V("Binary",t,e)}function A8t(t,e){V("Scopable",t,e)}function P8t(t,e){V("BlockParent",t,e)}function _8t(t,e){V("Block",t,e)}function C8t(t,e){V("Statement",t,e)}function D8t(t,e){V("Terminatorless",t,e)}function N8t(t,e){V("CompletionStatement",t,e)}function I8t(t,e){V("Conditional",t,e)}function O8t(t,e){V("Loop",t,e)}function k8t(t,e){V("While",t,e)}function L8t(t,e){V("ExpressionWrapper",t,e)}function F8t(t,e){V("For",t,e)}function R8t(t,e){V("ForXStatement",t,e)}function B8t(t,e){V("Function",t,e)}function M8t(t,e){V("FunctionParent",t,e)}function j8t(t,e){V("Pureish",t,e)}function V8t(t,e){V("Declaration",t,e)}function U8t(t,e){V("PatternLike",t,e)}function q8t(t,e){V("LVal",t,e)}function $8t(t,e){V("TSEntityName",t,e)}function K8t(t,e){V("Literal",t,e)}function W8t(t,e){V("Immutable",t,e)}function G8t(t,e){V("UserWhitespacable",t,e)}function z8t(t,e){V("Method",t,e)}function H8t(t,e){V("ObjectMember",t,e)}function Y8t(t,e){V("Property",t,e)}function J8t(t,e){V("UnaryLike",t,e)}function X8t(t,e){V("Pattern",t,e)}function Q8t(t,e){V("Class",t,e)}function Z8t(t,e){V("ImportOrExportDeclaration",t,e)}function e5t(t,e){V("ExportDeclaration",t,e)}function t5t(t,e){V("ModuleSpecifier",t,e)}function r5t(t,e){V("Accessor",t,e)}function i5t(t,e){V("Private",t,e)}function s5t(t,e){V("Flow",t,e)}function n5t(t,e){V("FlowType",t,e)}function a5t(t,e){V("FlowBaseAnnotation",t,e)}function o5t(t,e){V("FlowDeclaration",t,e)}function l5t(t,e){V("FlowPredicate",t,e)}function u5t(t,e){V("EnumBody",t,e)}function c5t(t,e){V("EnumMember",t,e)}function p5t(t,e){V("JSX",t,e)}function f5t(t,e){V("Miscellaneous",t,e)}function d5t(t,e){V("TypeScript",t,e)}function h5t(t,e){V("TSTypeElement",t,e)}function m5t(t,e){V("TSType",t,e)}function y5t(t,e){V("TSBaseType",t,e)}function g5t(t,e){(0,GT.default)("assertNumberLiteral","assertNumericLiteral"),V("NumberLiteral",t,e)}function b5t(t,e){(0,GT.default)("assertRegexLiteral","assertRegExpLiteral"),V("RegexLiteral",t,e)}function v5t(t,e){(0,GT.default)("assertRestProperty","assertRestElement"),V("RestProperty",t,e)}function S5t(t,e){(0,GT.default)("assertSpreadProperty","assertSpreadElement"),V("SpreadProperty",t,e)}function T5t(t,e){(0,GT.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),V("ModuleDeclaration",t,e)}});var Aye=E($_=>{"use strict";Object.defineProperty($_,"__esModule",{value:!0});$_.default=void 0;var Eu=Ua(),e9r=$_.default=x5t;function x5t(t){switch(t){case"string":return(0,Eu.stringTypeAnnotation)();case"number":return(0,Eu.numberTypeAnnotation)();case"undefined":return(0,Eu.voidTypeAnnotation)();case"boolean":return(0,Eu.booleanTypeAnnotation)();case"function":return(0,Eu.genericTypeAnnotation)((0,Eu.identifier)("Function"));case"object":return(0,Eu.genericTypeAnnotation)((0,Eu.identifier)("Object"));case"symbol":return(0,Eu.genericTypeAnnotation)((0,Eu.identifier)("Symbol"));case"bigint":return(0,Eu.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var _V=E(PV=>{"use strict";Object.defineProperty(PV,"__esModule",{value:!0});PV.default=_ye;var zT=Zs();function Pye(t){return(0,zT.isIdentifier)(t)?t.name:`${t.id.name}.${Pye(t.qualification)}`}function _ye(t){let e=Array.from(t),r=new Map,i=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(o&&!(n.indexOf(o)>=0)){if((0,zT.isAnyTypeAnnotation)(o))return[o];if((0,zT.isFlowBaseAnnotation)(o)){i.set(o.type,o);continue}if((0,zT.isUnionTypeAnnotation)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,zT.isGenericTypeAnnotation)(o)){let l=Pye(o.id);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=_ye(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}n.push(o)}}for(let[,a]of i)n.push(a);for(let[,a]of r)n.push(a);return n}});var Cye=E(CV=>{"use strict";Object.defineProperty(CV,"__esModule",{value:!0});CV.default=A5t;var E5t=Ua(),w5t=_V();function A5t(t){let e=(0,w5t.default)(t);return e.length===1?e[0]:(0,E5t.unionTypeAnnotation)(e)}});var Iye=E(DV=>{"use strict";Object.defineProperty(DV,"__esModule",{value:!0});DV.default=Nye;var HT=Zs();function Dye(t){return(0,HT.isIdentifier)(t)?t.name:`${t.right.name}.${Dye(t.left)}`}function Nye(t){let e=Array.from(t),r=new Map,i=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(o&&!(n.indexOf(o)>=0)){if((0,HT.isTSAnyKeyword)(o))return[o];if((0,HT.isTSBaseType)(o)){i.set(o.type,o);continue}if((0,HT.isTSUnionType)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,HT.isTSTypeReference)(o)&&o.typeParameters){let l=Dye(o.typeName);if(r.has(l)){let u=r.get(l);u.typeParameters?o.typeParameters&&(u.typeParameters.params.push(...o.typeParameters.params),u.typeParameters.params=Nye(u.typeParameters.params)):u=o.typeParameters}else r.set(l,o);continue}n.push(o)}}for(let[,a]of i)n.push(a);for(let[,a]of r)n.push(a);return n}});var Oye=E(NV=>{"use strict";Object.defineProperty(NV,"__esModule",{value:!0});NV.default=D5t;var P5t=Ua(),_5t=Iye(),C5t=Zs();function D5t(t){let e=t.map(i=>(0,C5t.isTSTypeAnnotation)(i)?i.typeAnnotation:i),r=(0,_5t.default)(e);return r.length===1?r[0]:(0,P5t.tsUnionType)(r)}});var kye=E(G=>{"use strict";Object.defineProperty(G,"__esModule",{value:!0});Object.defineProperty(G,"AnyTypeAnnotation",{enumerable:!0,get:function(){return Y.anyTypeAnnotation}});Object.defineProperty(G,"ArgumentPlaceholder",{enumerable:!0,get:function(){return Y.argumentPlaceholder}});Object.defineProperty(G,"ArrayExpression",{enumerable:!0,get:function(){return Y.arrayExpression}});Object.defineProperty(G,"ArrayPattern",{enumerable:!0,get:function(){return Y.arrayPattern}});Object.defineProperty(G,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return Y.arrayTypeAnnotation}});Object.defineProperty(G,"ArrowFunctionExpression",{enumerable:!0,get:function(){return Y.arrowFunctionExpression}});Object.defineProperty(G,"AssignmentExpression",{enumerable:!0,get:function(){return Y.assignmentExpression}});Object.defineProperty(G,"AssignmentPattern",{enumerable:!0,get:function(){return Y.assignmentPattern}});Object.defineProperty(G,"AwaitExpression",{enumerable:!0,get:function(){return Y.awaitExpression}});Object.defineProperty(G,"BigIntLiteral",{enumerable:!0,get:function(){return Y.bigIntLiteral}});Object.defineProperty(G,"BinaryExpression",{enumerable:!0,get:function(){return Y.binaryExpression}});Object.defineProperty(G,"BindExpression",{enumerable:!0,get:function(){return Y.bindExpression}});Object.defineProperty(G,"BlockStatement",{enumerable:!0,get:function(){return Y.blockStatement}});Object.defineProperty(G,"BooleanLiteral",{enumerable:!0,get:function(){return Y.booleanLiteral}});Object.defineProperty(G,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.booleanLiteralTypeAnnotation}});Object.defineProperty(G,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return Y.booleanTypeAnnotation}});Object.defineProperty(G,"BreakStatement",{enumerable:!0,get:function(){return Y.breakStatement}});Object.defineProperty(G,"CallExpression",{enumerable:!0,get:function(){return Y.callExpression}});Object.defineProperty(G,"CatchClause",{enumerable:!0,get:function(){return Y.catchClause}});Object.defineProperty(G,"ClassAccessorProperty",{enumerable:!0,get:function(){return Y.classAccessorProperty}});Object.defineProperty(G,"ClassBody",{enumerable:!0,get:function(){return Y.classBody}});Object.defineProperty(G,"ClassDeclaration",{enumerable:!0,get:function(){return Y.classDeclaration}});Object.defineProperty(G,"ClassExpression",{enumerable:!0,get:function(){return Y.classExpression}});Object.defineProperty(G,"ClassImplements",{enumerable:!0,get:function(){return Y.classImplements}});Object.defineProperty(G,"ClassMethod",{enumerable:!0,get:function(){return Y.classMethod}});Object.defineProperty(G,"ClassPrivateMethod",{enumerable:!0,get:function(){return Y.classPrivateMethod}});Object.defineProperty(G,"ClassPrivateProperty",{enumerable:!0,get:function(){return Y.classPrivateProperty}});Object.defineProperty(G,"ClassProperty",{enumerable:!0,get:function(){return Y.classProperty}});Object.defineProperty(G,"ConditionalExpression",{enumerable:!0,get:function(){return Y.conditionalExpression}});Object.defineProperty(G,"ContinueStatement",{enumerable:!0,get:function(){return Y.continueStatement}});Object.defineProperty(G,"DebuggerStatement",{enumerable:!0,get:function(){return Y.debuggerStatement}});Object.defineProperty(G,"DecimalLiteral",{enumerable:!0,get:function(){return Y.decimalLiteral}});Object.defineProperty(G,"DeclareClass",{enumerable:!0,get:function(){return Y.declareClass}});Object.defineProperty(G,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return Y.declareExportAllDeclaration}});Object.defineProperty(G,"DeclareExportDeclaration",{enumerable:!0,get:function(){return Y.declareExportDeclaration}});Object.defineProperty(G,"DeclareFunction",{enumerable:!0,get:function(){return Y.declareFunction}});Object.defineProperty(G,"DeclareInterface",{enumerable:!0,get:function(){return Y.declareInterface}});Object.defineProperty(G,"DeclareModule",{enumerable:!0,get:function(){return Y.declareModule}});Object.defineProperty(G,"DeclareModuleExports",{enumerable:!0,get:function(){return Y.declareModuleExports}});Object.defineProperty(G,"DeclareOpaqueType",{enumerable:!0,get:function(){return Y.declareOpaqueType}});Object.defineProperty(G,"DeclareTypeAlias",{enumerable:!0,get:function(){return Y.declareTypeAlias}});Object.defineProperty(G,"DeclareVariable",{enumerable:!0,get:function(){return Y.declareVariable}});Object.defineProperty(G,"DeclaredPredicate",{enumerable:!0,get:function(){return Y.declaredPredicate}});Object.defineProperty(G,"Decorator",{enumerable:!0,get:function(){return Y.decorator}});Object.defineProperty(G,"Directive",{enumerable:!0,get:function(){return Y.directive}});Object.defineProperty(G,"DirectiveLiteral",{enumerable:!0,get:function(){return Y.directiveLiteral}});Object.defineProperty(G,"DoExpression",{enumerable:!0,get:function(){return Y.doExpression}});Object.defineProperty(G,"DoWhileStatement",{enumerable:!0,get:function(){return Y.doWhileStatement}});Object.defineProperty(G,"EmptyStatement",{enumerable:!0,get:function(){return Y.emptyStatement}});Object.defineProperty(G,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return Y.emptyTypeAnnotation}});Object.defineProperty(G,"EnumBooleanBody",{enumerable:!0,get:function(){return Y.enumBooleanBody}});Object.defineProperty(G,"EnumBooleanMember",{enumerable:!0,get:function(){return Y.enumBooleanMember}});Object.defineProperty(G,"EnumDeclaration",{enumerable:!0,get:function(){return Y.enumDeclaration}});Object.defineProperty(G,"EnumDefaultedMember",{enumerable:!0,get:function(){return Y.enumDefaultedMember}});Object.defineProperty(G,"EnumNumberBody",{enumerable:!0,get:function(){return Y.enumNumberBody}});Object.defineProperty(G,"EnumNumberMember",{enumerable:!0,get:function(){return Y.enumNumberMember}});Object.defineProperty(G,"EnumStringBody",{enumerable:!0,get:function(){return Y.enumStringBody}});Object.defineProperty(G,"EnumStringMember",{enumerable:!0,get:function(){return Y.enumStringMember}});Object.defineProperty(G,"EnumSymbolBody",{enumerable:!0,get:function(){return Y.enumSymbolBody}});Object.defineProperty(G,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return Y.existsTypeAnnotation}});Object.defineProperty(G,"ExportAllDeclaration",{enumerable:!0,get:function(){return Y.exportAllDeclaration}});Object.defineProperty(G,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return Y.exportDefaultDeclaration}});Object.defineProperty(G,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return Y.exportDefaultSpecifier}});Object.defineProperty(G,"ExportNamedDeclaration",{enumerable:!0,get:function(){return Y.exportNamedDeclaration}});Object.defineProperty(G,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return Y.exportNamespaceSpecifier}});Object.defineProperty(G,"ExportSpecifier",{enumerable:!0,get:function(){return Y.exportSpecifier}});Object.defineProperty(G,"ExpressionStatement",{enumerable:!0,get:function(){return Y.expressionStatement}});Object.defineProperty(G,"File",{enumerable:!0,get:function(){return Y.file}});Object.defineProperty(G,"ForInStatement",{enumerable:!0,get:function(){return Y.forInStatement}});Object.defineProperty(G,"ForOfStatement",{enumerable:!0,get:function(){return Y.forOfStatement}});Object.defineProperty(G,"ForStatement",{enumerable:!0,get:function(){return Y.forStatement}});Object.defineProperty(G,"FunctionDeclaration",{enumerable:!0,get:function(){return Y.functionDeclaration}});Object.defineProperty(G,"FunctionExpression",{enumerable:!0,get:function(){return Y.functionExpression}});Object.defineProperty(G,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return Y.functionTypeAnnotation}});Object.defineProperty(G,"FunctionTypeParam",{enumerable:!0,get:function(){return Y.functionTypeParam}});Object.defineProperty(G,"GenericTypeAnnotation",{enumerable:!0,get:function(){return Y.genericTypeAnnotation}});Object.defineProperty(G,"Identifier",{enumerable:!0,get:function(){return Y.identifier}});Object.defineProperty(G,"IfStatement",{enumerable:!0,get:function(){return Y.ifStatement}});Object.defineProperty(G,"Import",{enumerable:!0,get:function(){return Y.import}});Object.defineProperty(G,"ImportAttribute",{enumerable:!0,get:function(){return Y.importAttribute}});Object.defineProperty(G,"ImportDeclaration",{enumerable:!0,get:function(){return Y.importDeclaration}});Object.defineProperty(G,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return Y.importDefaultSpecifier}});Object.defineProperty(G,"ImportExpression",{enumerable:!0,get:function(){return Y.importExpression}});Object.defineProperty(G,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return Y.importNamespaceSpecifier}});Object.defineProperty(G,"ImportSpecifier",{enumerable:!0,get:function(){return Y.importSpecifier}});Object.defineProperty(G,"IndexedAccessType",{enumerable:!0,get:function(){return Y.indexedAccessType}});Object.defineProperty(G,"InferredPredicate",{enumerable:!0,get:function(){return Y.inferredPredicate}});Object.defineProperty(G,"InterfaceDeclaration",{enumerable:!0,get:function(){return Y.interfaceDeclaration}});Object.defineProperty(G,"InterfaceExtends",{enumerable:!0,get:function(){return Y.interfaceExtends}});Object.defineProperty(G,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return Y.interfaceTypeAnnotation}});Object.defineProperty(G,"InterpreterDirective",{enumerable:!0,get:function(){return Y.interpreterDirective}});Object.defineProperty(G,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return Y.intersectionTypeAnnotation}});Object.defineProperty(G,"JSXAttribute",{enumerable:!0,get:function(){return Y.jsxAttribute}});Object.defineProperty(G,"JSXClosingElement",{enumerable:!0,get:function(){return Y.jsxClosingElement}});Object.defineProperty(G,"JSXClosingFragment",{enumerable:!0,get:function(){return Y.jsxClosingFragment}});Object.defineProperty(G,"JSXElement",{enumerable:!0,get:function(){return Y.jsxElement}});Object.defineProperty(G,"JSXEmptyExpression",{enumerable:!0,get:function(){return Y.jsxEmptyExpression}});Object.defineProperty(G,"JSXExpressionContainer",{enumerable:!0,get:function(){return Y.jsxExpressionContainer}});Object.defineProperty(G,"JSXFragment",{enumerable:!0,get:function(){return Y.jsxFragment}});Object.defineProperty(G,"JSXIdentifier",{enumerable:!0,get:function(){return Y.jsxIdentifier}});Object.defineProperty(G,"JSXMemberExpression",{enumerable:!0,get:function(){return Y.jsxMemberExpression}});Object.defineProperty(G,"JSXNamespacedName",{enumerable:!0,get:function(){return Y.jsxNamespacedName}});Object.defineProperty(G,"JSXOpeningElement",{enumerable:!0,get:function(){return Y.jsxOpeningElement}});Object.defineProperty(G,"JSXOpeningFragment",{enumerable:!0,get:function(){return Y.jsxOpeningFragment}});Object.defineProperty(G,"JSXSpreadAttribute",{enumerable:!0,get:function(){return Y.jsxSpreadAttribute}});Object.defineProperty(G,"JSXSpreadChild",{enumerable:!0,get:function(){return Y.jsxSpreadChild}});Object.defineProperty(G,"JSXText",{enumerable:!0,get:function(){return Y.jsxText}});Object.defineProperty(G,"LabeledStatement",{enumerable:!0,get:function(){return Y.labeledStatement}});Object.defineProperty(G,"LogicalExpression",{enumerable:!0,get:function(){return Y.logicalExpression}});Object.defineProperty(G,"MemberExpression",{enumerable:!0,get:function(){return Y.memberExpression}});Object.defineProperty(G,"MetaProperty",{enumerable:!0,get:function(){return Y.metaProperty}});Object.defineProperty(G,"MixedTypeAnnotation",{enumerable:!0,get:function(){return Y.mixedTypeAnnotation}});Object.defineProperty(G,"ModuleExpression",{enumerable:!0,get:function(){return Y.moduleExpression}});Object.defineProperty(G,"NewExpression",{enumerable:!0,get:function(){return Y.newExpression}});Object.defineProperty(G,"Noop",{enumerable:!0,get:function(){return Y.noop}});Object.defineProperty(G,"NullLiteral",{enumerable:!0,get:function(){return Y.nullLiteral}});Object.defineProperty(G,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.nullLiteralTypeAnnotation}});Object.defineProperty(G,"NullableTypeAnnotation",{enumerable:!0,get:function(){return Y.nullableTypeAnnotation}});Object.defineProperty(G,"NumberLiteral",{enumerable:!0,get:function(){return Y.numberLiteral}});Object.defineProperty(G,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.numberLiteralTypeAnnotation}});Object.defineProperty(G,"NumberTypeAnnotation",{enumerable:!0,get:function(){return Y.numberTypeAnnotation}});Object.defineProperty(G,"NumericLiteral",{enumerable:!0,get:function(){return Y.numericLiteral}});Object.defineProperty(G,"ObjectExpression",{enumerable:!0,get:function(){return Y.objectExpression}});Object.defineProperty(G,"ObjectMethod",{enumerable:!0,get:function(){return Y.objectMethod}});Object.defineProperty(G,"ObjectPattern",{enumerable:!0,get:function(){return Y.objectPattern}});Object.defineProperty(G,"ObjectProperty",{enumerable:!0,get:function(){return Y.objectProperty}});Object.defineProperty(G,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return Y.objectTypeAnnotation}});Object.defineProperty(G,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return Y.objectTypeCallProperty}});Object.defineProperty(G,"ObjectTypeIndexer",{enumerable:!0,get:function(){return Y.objectTypeIndexer}});Object.defineProperty(G,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return Y.objectTypeInternalSlot}});Object.defineProperty(G,"ObjectTypeProperty",{enumerable:!0,get:function(){return Y.objectTypeProperty}});Object.defineProperty(G,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return Y.objectTypeSpreadProperty}});Object.defineProperty(G,"OpaqueType",{enumerable:!0,get:function(){return Y.opaqueType}});Object.defineProperty(G,"OptionalCallExpression",{enumerable:!0,get:function(){return Y.optionalCallExpression}});Object.defineProperty(G,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return Y.optionalIndexedAccessType}});Object.defineProperty(G,"OptionalMemberExpression",{enumerable:!0,get:function(){return Y.optionalMemberExpression}});Object.defineProperty(G,"ParenthesizedExpression",{enumerable:!0,get:function(){return Y.parenthesizedExpression}});Object.defineProperty(G,"PipelineBareFunction",{enumerable:!0,get:function(){return Y.pipelineBareFunction}});Object.defineProperty(G,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return Y.pipelinePrimaryTopicReference}});Object.defineProperty(G,"PipelineTopicExpression",{enumerable:!0,get:function(){return Y.pipelineTopicExpression}});Object.defineProperty(G,"Placeholder",{enumerable:!0,get:function(){return Y.placeholder}});Object.defineProperty(G,"PrivateName",{enumerable:!0,get:function(){return Y.privateName}});Object.defineProperty(G,"Program",{enumerable:!0,get:function(){return Y.program}});Object.defineProperty(G,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return Y.qualifiedTypeIdentifier}});Object.defineProperty(G,"RecordExpression",{enumerable:!0,get:function(){return Y.recordExpression}});Object.defineProperty(G,"RegExpLiteral",{enumerable:!0,get:function(){return Y.regExpLiteral}});Object.defineProperty(G,"RegexLiteral",{enumerable:!0,get:function(){return Y.regexLiteral}});Object.defineProperty(G,"RestElement",{enumerable:!0,get:function(){return Y.restElement}});Object.defineProperty(G,"RestProperty",{enumerable:!0,get:function(){return Y.restProperty}});Object.defineProperty(G,"ReturnStatement",{enumerable:!0,get:function(){return Y.returnStatement}});Object.defineProperty(G,"SequenceExpression",{enumerable:!0,get:function(){return Y.sequenceExpression}});Object.defineProperty(G,"SpreadElement",{enumerable:!0,get:function(){return Y.spreadElement}});Object.defineProperty(G,"SpreadProperty",{enumerable:!0,get:function(){return Y.spreadProperty}});Object.defineProperty(G,"StaticBlock",{enumerable:!0,get:function(){return Y.staticBlock}});Object.defineProperty(G,"StringLiteral",{enumerable:!0,get:function(){return Y.stringLiteral}});Object.defineProperty(G,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return Y.stringLiteralTypeAnnotation}});Object.defineProperty(G,"StringTypeAnnotation",{enumerable:!0,get:function(){return Y.stringTypeAnnotation}});Object.defineProperty(G,"Super",{enumerable:!0,get:function(){return Y.super}});Object.defineProperty(G,"SwitchCase",{enumerable:!0,get:function(){return Y.switchCase}});Object.defineProperty(G,"SwitchStatement",{enumerable:!0,get:function(){return Y.switchStatement}});Object.defineProperty(G,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return Y.symbolTypeAnnotation}});Object.defineProperty(G,"TSAnyKeyword",{enumerable:!0,get:function(){return Y.tsAnyKeyword}});Object.defineProperty(G,"TSArrayType",{enumerable:!0,get:function(){return Y.tsArrayType}});Object.defineProperty(G,"TSAsExpression",{enumerable:!0,get:function(){return Y.tsAsExpression}});Object.defineProperty(G,"TSBigIntKeyword",{enumerable:!0,get:function(){return Y.tsBigIntKeyword}});Object.defineProperty(G,"TSBooleanKeyword",{enumerable:!0,get:function(){return Y.tsBooleanKeyword}});Object.defineProperty(G,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return Y.tsCallSignatureDeclaration}});Object.defineProperty(G,"TSConditionalType",{enumerable:!0,get:function(){return Y.tsConditionalType}});Object.defineProperty(G,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return Y.tsConstructSignatureDeclaration}});Object.defineProperty(G,"TSConstructorType",{enumerable:!0,get:function(){return Y.tsConstructorType}});Object.defineProperty(G,"TSDeclareFunction",{enumerable:!0,get:function(){return Y.tsDeclareFunction}});Object.defineProperty(G,"TSDeclareMethod",{enumerable:!0,get:function(){return Y.tsDeclareMethod}});Object.defineProperty(G,"TSEnumDeclaration",{enumerable:!0,get:function(){return Y.tsEnumDeclaration}});Object.defineProperty(G,"TSEnumMember",{enumerable:!0,get:function(){return Y.tsEnumMember}});Object.defineProperty(G,"TSExportAssignment",{enumerable:!0,get:function(){return Y.tsExportAssignment}});Object.defineProperty(G,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return Y.tsExpressionWithTypeArguments}});Object.defineProperty(G,"TSExternalModuleReference",{enumerable:!0,get:function(){return Y.tsExternalModuleReference}});Object.defineProperty(G,"TSFunctionType",{enumerable:!0,get:function(){return Y.tsFunctionType}});Object.defineProperty(G,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return Y.tsImportEqualsDeclaration}});Object.defineProperty(G,"TSImportType",{enumerable:!0,get:function(){return Y.tsImportType}});Object.defineProperty(G,"TSIndexSignature",{enumerable:!0,get:function(){return Y.tsIndexSignature}});Object.defineProperty(G,"TSIndexedAccessType",{enumerable:!0,get:function(){return Y.tsIndexedAccessType}});Object.defineProperty(G,"TSInferType",{enumerable:!0,get:function(){return Y.tsInferType}});Object.defineProperty(G,"TSInstantiationExpression",{enumerable:!0,get:function(){return Y.tsInstantiationExpression}});Object.defineProperty(G,"TSInterfaceBody",{enumerable:!0,get:function(){return Y.tsInterfaceBody}});Object.defineProperty(G,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return Y.tsInterfaceDeclaration}});Object.defineProperty(G,"TSIntersectionType",{enumerable:!0,get:function(){return Y.tsIntersectionType}});Object.defineProperty(G,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return Y.tsIntrinsicKeyword}});Object.defineProperty(G,"TSLiteralType",{enumerable:!0,get:function(){return Y.tsLiteralType}});Object.defineProperty(G,"TSMappedType",{enumerable:!0,get:function(){return Y.tsMappedType}});Object.defineProperty(G,"TSMethodSignature",{enumerable:!0,get:function(){return Y.tsMethodSignature}});Object.defineProperty(G,"TSModuleBlock",{enumerable:!0,get:function(){return Y.tsModuleBlock}});Object.defineProperty(G,"TSModuleDeclaration",{enumerable:!0,get:function(){return Y.tsModuleDeclaration}});Object.defineProperty(G,"TSNamedTupleMember",{enumerable:!0,get:function(){return Y.tsNamedTupleMember}});Object.defineProperty(G,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return Y.tsNamespaceExportDeclaration}});Object.defineProperty(G,"TSNeverKeyword",{enumerable:!0,get:function(){return Y.tsNeverKeyword}});Object.defineProperty(G,"TSNonNullExpression",{enumerable:!0,get:function(){return Y.tsNonNullExpression}});Object.defineProperty(G,"TSNullKeyword",{enumerable:!0,get:function(){return Y.tsNullKeyword}});Object.defineProperty(G,"TSNumberKeyword",{enumerable:!0,get:function(){return Y.tsNumberKeyword}});Object.defineProperty(G,"TSObjectKeyword",{enumerable:!0,get:function(){return Y.tsObjectKeyword}});Object.defineProperty(G,"TSOptionalType",{enumerable:!0,get:function(){return Y.tsOptionalType}});Object.defineProperty(G,"TSParameterProperty",{enumerable:!0,get:function(){return Y.tsParameterProperty}});Object.defineProperty(G,"TSParenthesizedType",{enumerable:!0,get:function(){return Y.tsParenthesizedType}});Object.defineProperty(G,"TSPropertySignature",{enumerable:!0,get:function(){return Y.tsPropertySignature}});Object.defineProperty(G,"TSQualifiedName",{enumerable:!0,get:function(){return Y.tsQualifiedName}});Object.defineProperty(G,"TSRestType",{enumerable:!0,get:function(){return Y.tsRestType}});Object.defineProperty(G,"TSSatisfiesExpression",{enumerable:!0,get:function(){return Y.tsSatisfiesExpression}});Object.defineProperty(G,"TSStringKeyword",{enumerable:!0,get:function(){return Y.tsStringKeyword}});Object.defineProperty(G,"TSSymbolKeyword",{enumerable:!0,get:function(){return Y.tsSymbolKeyword}});Object.defineProperty(G,"TSThisType",{enumerable:!0,get:function(){return Y.tsThisType}});Object.defineProperty(G,"TSTupleType",{enumerable:!0,get:function(){return Y.tsTupleType}});Object.defineProperty(G,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return Y.tsTypeAliasDeclaration}});Object.defineProperty(G,"TSTypeAnnotation",{enumerable:!0,get:function(){return Y.tsTypeAnnotation}});Object.defineProperty(G,"TSTypeAssertion",{enumerable:!0,get:function(){return Y.tsTypeAssertion}});Object.defineProperty(G,"TSTypeLiteral",{enumerable:!0,get:function(){return Y.tsTypeLiteral}});Object.defineProperty(G,"TSTypeOperator",{enumerable:!0,get:function(){return Y.tsTypeOperator}});Object.defineProperty(G,"TSTypeParameter",{enumerable:!0,get:function(){return Y.tsTypeParameter}});Object.defineProperty(G,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return Y.tsTypeParameterDeclaration}});Object.defineProperty(G,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return Y.tsTypeParameterInstantiation}});Object.defineProperty(G,"TSTypePredicate",{enumerable:!0,get:function(){return Y.tsTypePredicate}});Object.defineProperty(G,"TSTypeQuery",{enumerable:!0,get:function(){return Y.tsTypeQuery}});Object.defineProperty(G,"TSTypeReference",{enumerable:!0,get:function(){return Y.tsTypeReference}});Object.defineProperty(G,"TSUndefinedKeyword",{enumerable:!0,get:function(){return Y.tsUndefinedKeyword}});Object.defineProperty(G,"TSUnionType",{enumerable:!0,get:function(){return Y.tsUnionType}});Object.defineProperty(G,"TSUnknownKeyword",{enumerable:!0,get:function(){return Y.tsUnknownKeyword}});Object.defineProperty(G,"TSVoidKeyword",{enumerable:!0,get:function(){return Y.tsVoidKeyword}});Object.defineProperty(G,"TaggedTemplateExpression",{enumerable:!0,get:function(){return Y.taggedTemplateExpression}});Object.defineProperty(G,"TemplateElement",{enumerable:!0,get:function(){return Y.templateElement}});Object.defineProperty(G,"TemplateLiteral",{enumerable:!0,get:function(){return Y.templateLiteral}});Object.defineProperty(G,"ThisExpression",{enumerable:!0,get:function(){return Y.thisExpression}});Object.defineProperty(G,"ThisTypeAnnotation",{enumerable:!0,get:function(){return Y.thisTypeAnnotation}});Object.defineProperty(G,"ThrowStatement",{enumerable:!0,get:function(){return Y.throwStatement}});Object.defineProperty(G,"TopicReference",{enumerable:!0,get:function(){return Y.topicReference}});Object.defineProperty(G,"TryStatement",{enumerable:!0,get:function(){return Y.tryStatement}});Object.defineProperty(G,"TupleExpression",{enumerable:!0,get:function(){return Y.tupleExpression}});Object.defineProperty(G,"TupleTypeAnnotation",{enumerable:!0,get:function(){return Y.tupleTypeAnnotation}});Object.defineProperty(G,"TypeAlias",{enumerable:!0,get:function(){return Y.typeAlias}});Object.defineProperty(G,"TypeAnnotation",{enumerable:!0,get:function(){return Y.typeAnnotation}});Object.defineProperty(G,"TypeCastExpression",{enumerable:!0,get:function(){return Y.typeCastExpression}});Object.defineProperty(G,"TypeParameter",{enumerable:!0,get:function(){return Y.typeParameter}});Object.defineProperty(G,"TypeParameterDeclaration",{enumerable:!0,get:function(){return Y.typeParameterDeclaration}});Object.defineProperty(G,"TypeParameterInstantiation",{enumerable:!0,get:function(){return Y.typeParameterInstantiation}});Object.defineProperty(G,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return Y.typeofTypeAnnotation}});Object.defineProperty(G,"UnaryExpression",{enumerable:!0,get:function(){return Y.unaryExpression}});Object.defineProperty(G,"UnionTypeAnnotation",{enumerable:!0,get:function(){return Y.unionTypeAnnotation}});Object.defineProperty(G,"UpdateExpression",{enumerable:!0,get:function(){return Y.updateExpression}});Object.defineProperty(G,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return Y.v8IntrinsicIdentifier}});Object.defineProperty(G,"VariableDeclaration",{enumerable:!0,get:function(){return Y.variableDeclaration}});Object.defineProperty(G,"VariableDeclarator",{enumerable:!0,get:function(){return Y.variableDeclarator}});Object.defineProperty(G,"Variance",{enumerable:!0,get:function(){return Y.variance}});Object.defineProperty(G,"VoidTypeAnnotation",{enumerable:!0,get:function(){return Y.voidTypeAnnotation}});Object.defineProperty(G,"WhileStatement",{enumerable:!0,get:function(){return Y.whileStatement}});Object.defineProperty(G,"WithStatement",{enumerable:!0,get:function(){return Y.withStatement}});Object.defineProperty(G,"YieldExpression",{enumerable:!0,get:function(){return Y.yieldExpression}});var Y=Ua()});var Fye=E(IV=>{"use strict";Object.defineProperty(IV,"__esModule",{value:!0});IV.buildUndefinedNode=N5t;var Lye=Ua();function N5t(){return(0,Lye.unaryExpression)("void",(0,Lye.numericLiteral)(0),!0)}});var zd=E(OV=>{"use strict";Object.defineProperty(OV,"__esModule",{value:!0});OV.default=I5t;var Rye=Rl(),Bye=Zs(),Jp=Function.call.bind(Object.prototype.hasOwnProperty);function Mye(t,e,r,i){return t&&typeof t.type=="string"?Vye(t,e,r,i):t}function jye(t,e,r,i){return Array.isArray(t)?t.map(s=>Mye(s,e,r,i)):Mye(t,e,r,i)}function I5t(t,e=!0,r=!1){return Vye(t,e,r,new Map)}function Vye(t,e=!0,r=!1,i){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,Bye.isIdentifier)(t))n.name=t.name,Jp(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),Jp(t,"typeAnnotation")&&(n.typeAnnotation=e?jye(t.typeAnnotation,!0,r,i):t.typeAnnotation);else if(Jp(Rye.NODE_FIELDS,s))for(let a of Object.keys(Rye.NODE_FIELDS[s]))Jp(t,a)&&(e?n[a]=(0,Bye.isFile)(t)&&a==="comments"?K_(t.comments,e,r,i):jye(t[a],!0,r,i):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return Jp(t,"loc")&&(r?n.loc=null:n.loc=t.loc),Jp(t,"leadingComments")&&(n.leadingComments=K_(t.leadingComments,e,r,i)),Jp(t,"innerComments")&&(n.innerComments=K_(t.innerComments,e,r,i)),Jp(t,"trailingComments")&&(n.trailingComments=K_(t.trailingComments,e,r,i)),Jp(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function K_(t,e,r,i){return!t||!e?t:t.map(s=>{let n=i.get(s);if(n)return n;let{type:a,value:o,loc:l}=s,u={type:a,value:o,loc:l};return r&&(u.loc=null),i.set(s,u),u})}});var Uye=E(kV=>{"use strict";Object.defineProperty(kV,"__esModule",{value:!0});kV.default=k5t;var O5t=zd();function k5t(t){return(0,O5t.default)(t,!1)}});var qye=E(LV=>{"use strict";Object.defineProperty(LV,"__esModule",{value:!0});LV.default=F5t;var L5t=zd();function F5t(t){return(0,L5t.default)(t)}});var $ye=E(FV=>{"use strict";Object.defineProperty(FV,"__esModule",{value:!0});FV.default=B5t;var R5t=zd();function B5t(t){return(0,R5t.default)(t,!0,!0)}});var Kye=E(RV=>{"use strict";Object.defineProperty(RV,"__esModule",{value:!0});RV.default=j5t;var M5t=zd();function j5t(t){return(0,M5t.default)(t,!1,!0)}});var MV=E(BV=>{"use strict";Object.defineProperty(BV,"__esModule",{value:!0});BV.default=V5t;function V5t(t,e,r){if(!r||!t)return t;let i=`${e}Comments`;return t[i]?e==="leading"?t[i]=r.concat(t[i]):t[i].push(...r):t[i]=r,t}});var Wye=E(jV=>{"use strict";Object.defineProperty(jV,"__esModule",{value:!0});jV.default=q5t;var U5t=MV();function q5t(t,e,r,i){return(0,U5t.default)(t,e,[{type:i?"CommentLine":"CommentBlock",value:r}])}});var W_=E(VV=>{"use strict";Object.defineProperty(VV,"__esModule",{value:!0});VV.default=$5t;function $5t(t,e,r){e&&r&&(e[t]=Array.from(new Set([].concat(e[t],r[t]).filter(Boolean))))}});var qV=E(UV=>{"use strict";Object.defineProperty(UV,"__esModule",{value:!0});UV.default=W5t;var K5t=W_();function W5t(t,e){(0,K5t.default)("innerComments",t,e)}});var KV=E($V=>{"use strict";Object.defineProperty($V,"__esModule",{value:!0});$V.default=z5t;var G5t=W_();function z5t(t,e){(0,G5t.default)("leadingComments",t,e)}});var GV=E(WV=>{"use strict";Object.defineProperty(WV,"__esModule",{value:!0});WV.default=Y5t;var H5t=W_();function Y5t(t,e){(0,H5t.default)("trailingComments",t,e)}});var HV=E(zV=>{"use strict";Object.defineProperty(zV,"__esModule",{value:!0});zV.default=Z5t;var J5t=GV(),X5t=KV(),Q5t=qV();function Z5t(t,e){return(0,J5t.default)(t,e),(0,X5t.default)(t,e),(0,Q5t.default)(t,e),t}});var Gye=E(YV=>{"use strict";Object.defineProperty(YV,"__esModule",{value:!0});YV.default=t9t;var e9t=Kd();function t9t(t){return e9t.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var zye=E(Ve=>{"use strict";Object.defineProperty(Ve,"__esModule",{value:!0});Ve.WHILE_TYPES=Ve.USERWHITESPACABLE_TYPES=Ve.UNARYLIKE_TYPES=Ve.TYPESCRIPT_TYPES=Ve.TSTYPE_TYPES=Ve.TSTYPEELEMENT_TYPES=Ve.TSENTITYNAME_TYPES=Ve.TSBASETYPE_TYPES=Ve.TERMINATORLESS_TYPES=Ve.STATEMENT_TYPES=Ve.STANDARDIZED_TYPES=Ve.SCOPABLE_TYPES=Ve.PUREISH_TYPES=Ve.PROPERTY_TYPES=Ve.PRIVATE_TYPES=Ve.PATTERN_TYPES=Ve.PATTERNLIKE_TYPES=Ve.OBJECTMEMBER_TYPES=Ve.MODULESPECIFIER_TYPES=Ve.MODULEDECLARATION_TYPES=Ve.MISCELLANEOUS_TYPES=Ve.METHOD_TYPES=Ve.LVAL_TYPES=Ve.LOOP_TYPES=Ve.LITERAL_TYPES=Ve.JSX_TYPES=Ve.IMPORTOREXPORTDECLARATION_TYPES=Ve.IMMUTABLE_TYPES=Ve.FUNCTION_TYPES=Ve.FUNCTIONPARENT_TYPES=Ve.FOR_TYPES=Ve.FORXSTATEMENT_TYPES=Ve.FLOW_TYPES=Ve.FLOWTYPE_TYPES=Ve.FLOWPREDICATE_TYPES=Ve.FLOWDECLARATION_TYPES=Ve.FLOWBASEANNOTATION_TYPES=Ve.EXPRESSION_TYPES=Ve.EXPRESSIONWRAPPER_TYPES=Ve.EXPORTDECLARATION_TYPES=Ve.ENUMMEMBER_TYPES=Ve.ENUMBODY_TYPES=Ve.DECLARATION_TYPES=Ve.CONDITIONAL_TYPES=Ve.COMPLETIONSTATEMENT_TYPES=Ve.CLASS_TYPES=Ve.BLOCK_TYPES=Ve.BLOCKPARENT_TYPES=Ve.BINARY_TYPES=Ve.ACCESSOR_TYPES=void 0;var Ht=Rl(),T9r=Ve.STANDARDIZED_TYPES=Ht.FLIPPED_ALIAS_KEYS.Standardized,x9r=Ve.EXPRESSION_TYPES=Ht.FLIPPED_ALIAS_KEYS.Expression,E9r=Ve.BINARY_TYPES=Ht.FLIPPED_ALIAS_KEYS.Binary,w9r=Ve.SCOPABLE_TYPES=Ht.FLIPPED_ALIAS_KEYS.Scopable,A9r=Ve.BLOCKPARENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.BlockParent,P9r=Ve.BLOCK_TYPES=Ht.FLIPPED_ALIAS_KEYS.Block,_9r=Ve.STATEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.Statement,C9r=Ve.TERMINATORLESS_TYPES=Ht.FLIPPED_ALIAS_KEYS.Terminatorless,D9r=Ve.COMPLETIONSTATEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.CompletionStatement,N9r=Ve.CONDITIONAL_TYPES=Ht.FLIPPED_ALIAS_KEYS.Conditional,I9r=Ve.LOOP_TYPES=Ht.FLIPPED_ALIAS_KEYS.Loop,O9r=Ve.WHILE_TYPES=Ht.FLIPPED_ALIAS_KEYS.While,k9r=Ve.EXPRESSIONWRAPPER_TYPES=Ht.FLIPPED_ALIAS_KEYS.ExpressionWrapper,L9r=Ve.FOR_TYPES=Ht.FLIPPED_ALIAS_KEYS.For,F9r=Ve.FORXSTATEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.ForXStatement,R9r=Ve.FUNCTION_TYPES=Ht.FLIPPED_ALIAS_KEYS.Function,B9r=Ve.FUNCTIONPARENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.FunctionParent,M9r=Ve.PUREISH_TYPES=Ht.FLIPPED_ALIAS_KEYS.Pureish,j9r=Ve.DECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.Declaration,V9r=Ve.PATTERNLIKE_TYPES=Ht.FLIPPED_ALIAS_KEYS.PatternLike,U9r=Ve.LVAL_TYPES=Ht.FLIPPED_ALIAS_KEYS.LVal,q9r=Ve.TSENTITYNAME_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSEntityName,$9r=Ve.LITERAL_TYPES=Ht.FLIPPED_ALIAS_KEYS.Literal,K9r=Ve.IMMUTABLE_TYPES=Ht.FLIPPED_ALIAS_KEYS.Immutable,W9r=Ve.USERWHITESPACABLE_TYPES=Ht.FLIPPED_ALIAS_KEYS.UserWhitespacable,G9r=Ve.METHOD_TYPES=Ht.FLIPPED_ALIAS_KEYS.Method,z9r=Ve.OBJECTMEMBER_TYPES=Ht.FLIPPED_ALIAS_KEYS.ObjectMember,H9r=Ve.PROPERTY_TYPES=Ht.FLIPPED_ALIAS_KEYS.Property,Y9r=Ve.UNARYLIKE_TYPES=Ht.FLIPPED_ALIAS_KEYS.UnaryLike,J9r=Ve.PATTERN_TYPES=Ht.FLIPPED_ALIAS_KEYS.Pattern,X9r=Ve.CLASS_TYPES=Ht.FLIPPED_ALIAS_KEYS.Class,r9t=Ve.IMPORTOREXPORTDECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,Q9r=Ve.EXPORTDECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.ExportDeclaration,Z9r=Ve.MODULESPECIFIER_TYPES=Ht.FLIPPED_ALIAS_KEYS.ModuleSpecifier,eDr=Ve.ACCESSOR_TYPES=Ht.FLIPPED_ALIAS_KEYS.Accessor,tDr=Ve.PRIVATE_TYPES=Ht.FLIPPED_ALIAS_KEYS.Private,rDr=Ve.FLOW_TYPES=Ht.FLIPPED_ALIAS_KEYS.Flow,iDr=Ve.FLOWTYPE_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowType,sDr=Ve.FLOWBASEANNOTATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,nDr=Ve.FLOWDECLARATION_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowDeclaration,aDr=Ve.FLOWPREDICATE_TYPES=Ht.FLIPPED_ALIAS_KEYS.FlowPredicate,oDr=Ve.ENUMBODY_TYPES=Ht.FLIPPED_ALIAS_KEYS.EnumBody,lDr=Ve.ENUMMEMBER_TYPES=Ht.FLIPPED_ALIAS_KEYS.EnumMember,uDr=Ve.JSX_TYPES=Ht.FLIPPED_ALIAS_KEYS.JSX,cDr=Ve.MISCELLANEOUS_TYPES=Ht.FLIPPED_ALIAS_KEYS.Miscellaneous,pDr=Ve.TYPESCRIPT_TYPES=Ht.FLIPPED_ALIAS_KEYS.TypeScript,fDr=Ve.TSTYPEELEMENT_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSTypeElement,dDr=Ve.TSTYPE_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSType,hDr=Ve.TSBASETYPE_TYPES=Ht.FLIPPED_ALIAS_KEYS.TSBaseType,mDr=Ve.MODULEDECLARATION_TYPES=r9t});var QV=E(XV=>{"use strict";Object.defineProperty(XV,"__esModule",{value:!0});XV.default=i9t;var G_=Zs(),JV=Ua();function i9t(t,e){if((0,G_.isBlockStatement)(t))return t;let r=[];return(0,G_.isEmptyStatement)(t)?r=[]:((0,G_.isStatement)(t)||((0,G_.isFunction)(e)?t=(0,JV.returnStatement)(t):t=(0,JV.expressionStatement)(t)),r=[t]),(0,JV.blockStatement)(r)}});var Hye=E(ZV=>{"use strict";Object.defineProperty(ZV,"__esModule",{value:!0});ZV.default=n9t;var s9t=QV();function n9t(t,e="body"){let r=(0,s9t.default)(t[e],t);return t[e]=r,r}});var tU=E(eU=>{"use strict";Object.defineProperty(eU,"__esModule",{value:!0});eU.default=l9t;var a9t=rb(),o9t=Md();function l9t(t){t=t+"";let e="";for(let r of t)e+=(0,o9t.isIdentifierChar)(r.codePointAt(0))?r:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(r,i){return i?i.toUpperCase():""}),(0,a9t.default)(e)||(e=`_${e}`),e||"_"}});var Yye=E(rU=>{"use strict";Object.defineProperty(rU,"__esModule",{value:!0});rU.default=c9t;var u9t=tU();function c9t(t){return t=(0,u9t.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var Jye=E(iU=>{"use strict";Object.defineProperty(iU,"__esModule",{value:!0});iU.default=d9t;var p9t=Zs(),f9t=Ua();function d9t(t,e=t.key||t.property){return!t.computed&&(0,p9t.isIdentifier)(e)&&(e=(0,f9t.stringLiteral)(e.name)),e}});var Xye=E(z_=>{"use strict";Object.defineProperty(z_,"__esModule",{value:!0});z_.default=void 0;var YT=Zs(),xDr=z_.default=h9t;function h9t(t){if((0,YT.isExpressionStatement)(t)&&(t=t.expression),(0,YT.isExpression)(t))return t;if((0,YT.isClass)(t)?t.type="ClassExpression":(0,YT.isFunction)(t)&&(t.type="FunctionExpression"),!(0,YT.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var aU=E(nU=>{"use strict";Object.defineProperty(nU,"__esModule",{value:!0});nU.default=sU;var m9t=Rl();function sU(t,e,r){if(!t)return;let i=m9t.VISITOR_KEYS[t.type];if(i){r=r||{},e(t,r);for(let s of i){let n=t[s];if(Array.isArray(n))for(let a of n)sU(a,e,r);else sU(n,e,r)}}}});var lU=E(oU=>{"use strict";Object.defineProperty(oU,"__esModule",{value:!0});oU.default=b9t;var y9t=Kd(),Qye=["tokens","start","end","loc","raw","rawValue"],g9t=[...y9t.COMMENT_KEYS,"comments",...Qye];function b9t(t,e={}){let r=e.preserveComments?Qye:g9t;for(let s of r)t[s]!=null&&(t[s]=void 0);for(let s of Object.keys(t))s[0]==="_"&&t[s]!=null&&(t[s]=void 0);let i=Object.getOwnPropertySymbols(t);for(let s of i)t[s]=null}});var cU=E(uU=>{"use strict";Object.defineProperty(uU,"__esModule",{value:!0});uU.default=T9t;var v9t=aU(),S9t=lU();function T9t(t,e){return(0,v9t.default)(t,S9t.default,e),t}});var e1e=E(pU=>{"use strict";Object.defineProperty(pU,"__esModule",{value:!0});pU.default=A0;var Zye=Zs(),x9t=zd(),E9t=cU();function A0(t,e=t.key){let r;return t.kind==="method"?A0.increment()+"":((0,Zye.isIdentifier)(e)?r=e.name:(0,Zye.isStringLiteral)(e)?r=JSON.stringify(e.value):r=JSON.stringify((0,E9t.default)((0,x9t.default)(e))),t.computed&&(r=`[${r}]`),t.static&&(r=`static:${r}`),r)}A0.uid=0;A0.increment=function(){return A0.uid>=Number.MAX_SAFE_INTEGER?A0.uid=0:A0.uid++}});var t1e=E(Y_=>{"use strict";Object.defineProperty(Y_,"__esModule",{value:!0});Y_.default=void 0;var H_=Zs(),w9t=Ua(),CDr=Y_.default=A9t;function A9t(t,e){if((0,H_.isStatement)(t))return t;let r=!1,i;if((0,H_.isClass)(t))r=!0,i="ClassDeclaration";else if((0,H_.isFunction)(t))r=!0,i="FunctionDeclaration";else if((0,H_.isAssignmentExpression)(t))return(0,w9t.expressionStatement)(t);if(r&&!t.id&&(i=!1),!i){if(e)return!1;throw new Error(`cannot turn ${t.type} to a statement`)}return t.type=i,t}});var r1e=E(J_=>{"use strict";Object.defineProperty(J_,"__esModule",{value:!0});J_.default=void 0;var P9t=rb(),pa=Ua(),NDr=J_.default=fU,_9t=Function.call.bind(Object.prototype.toString);function C9t(t){return _9t(t)==="[object RegExp]"}function D9t(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function fU(t){if(t===void 0)return(0,pa.identifier)("undefined");if(t===!0||t===!1)return(0,pa.booleanLiteral)(t);if(t===null)return(0,pa.nullLiteral)();if(typeof t=="string")return(0,pa.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,pa.numericLiteral)(Math.abs(t));else{let r;Number.isNaN(t)?r=(0,pa.numericLiteral)(0):r=(0,pa.numericLiteral)(1),e=(0,pa.binaryExpression)("/",r,(0,pa.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,pa.unaryExpression)("-",e)),e}if(C9t(t)){let e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,pa.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,pa.arrayExpression)(t.map(fU));if(D9t(t)){let e=[];for(let r of Object.keys(t)){let i;(0,P9t.default)(r)?i=(0,pa.identifier)(r):i=(0,pa.stringLiteral)(r),e.push((0,pa.objectProperty)(i,fU(t[r])))}return(0,pa.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var i1e=E(dU=>{"use strict";Object.defineProperty(dU,"__esModule",{value:!0});dU.default=I9t;var N9t=Ua();function I9t(t,e,r=!1){return t.object=(0,N9t.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!r,t}});var n1e=E(hU=>{"use strict";Object.defineProperty(hU,"__esModule",{value:!0});hU.default=k9t;var s1e=Kd(),O9t=HV();function k9t(t,e){if(!t||!e)return t;for(let r of s1e.INHERIT_KEYS.optional)t[r]==null&&(t[r]=e[r]);for(let r of Object.keys(e))r[0]==="_"&&r!=="__clone"&&(t[r]=e[r]);for(let r of s1e.INHERIT_KEYS.force)t[r]=e[r];return(0,O9t.default)(t,e),t}});var a1e=E(mU=>{"use strict";Object.defineProperty(mU,"__esModule",{value:!0});mU.default=R9t;var L9t=Ua(),F9t=gr();function R9t(t,e){if((0,F9t.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,L9t.memberExpression)(e,t.object),t}});var JT=E(gU=>{"use strict";Object.defineProperty(gU,"__esModule",{value:!0});gU.default=yU;var Hd=Zs();function yU(t,e,r,i){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||i&&((0,Hd.isAssignmentExpression)(a)||(0,Hd.isUnaryExpression)(a)))continue;let o=yU.keys[a.type];if((0,Hd.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,Hd.isExportDeclaration)(a)&&!(0,Hd.isExportAllDeclaration)(a)){(0,Hd.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,Hd.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Hd.isFunctionExpression)(a))continue}if(o)for(let l=0;l<o.length;l++){let u=o[l],c=a[u];c&&(Array.isArray(c)?s.push(...c):s.push(c))}}return n}yU.keys={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}});var o1e=E(X_=>{"use strict";Object.defineProperty(X_,"__esModule",{value:!0});X_.default=void 0;var B9t=JT(),RDr=X_.default=M9t;function M9t(t,e){return(0,B9t.default)(t,e,!0)}});var l1e=E(vU=>{"use strict";Object.defineProperty(vU,"__esModule",{value:!0});vU.default=V9t;var j9t=Rl();function V9t(t,e,r){typeof e=="function"&&(e={enter:e});let{enter:i,exit:s}=e;bU(t,i,s,r,[])}function bU(t,e,r,i,s){let n=j9t.VISITOR_KEYS[t.type];if(n){e&&e(t,s,i);for(let a of n){let o=t[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let u=o[l];u&&(s.push({node:t,key:a,index:l}),bU(u,e,r,i,s),s.pop())}else o&&(s.push({node:t,key:a}),bU(o,e,r,i,s),s.pop())}r&&r(t,s,i)}}});var u1e=E(SU=>{"use strict";Object.defineProperty(SU,"__esModule",{value:!0});SU.default=q9t;var U9t=JT();function q9t(t,e,r){if(r&&t.type==="Identifier"&&e.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let i=U9t.default.keys[e.type];if(i)for(let s=0;s<i.length;s++){let n=i[s],a=e[n];if(Array.isArray(a)){if(a.indexOf(t)>=0)return!0}else if(a===t)return!0}return!1}});var xU=E(TU=>{"use strict";Object.defineProperty(TU,"__esModule",{value:!0});TU.default=W9t;var $9t=Zs(),K9t=Kd();function W9t(t){return(0,$9t.isVariableDeclaration)(t)&&(t.kind!=="var"||t[K9t.BLOCK_SCOPED_SYMBOL])}});var p1e=E(EU=>{"use strict";Object.defineProperty(EU,"__esModule",{value:!0});EU.default=z9t;var c1e=Zs(),G9t=xU();function z9t(t){return(0,c1e.isFunctionDeclaration)(t)||(0,c1e.isClassDeclaration)(t)||(0,G9t.default)(t)}});var f1e=E(wU=>{"use strict";Object.defineProperty(wU,"__esModule",{value:!0});wU.default=J9t;var H9t=O_(),Y9t=Zs();function J9t(t){return(0,H9t.default)(t.type,"Immutable")?!0:(0,Y9t.isIdentifier)(t)?t.name==="undefined":!1}});var h1e=E(PU=>{"use strict";Object.defineProperty(PU,"__esModule",{value:!0});PU.default=AU;var d1e=Rl();function AU(t,e){if(typeof t!="object"||typeof e!="object"||t==null||e==null)return t===e;if(t.type!==e.type)return!1;let r=Object.keys(d1e.NODE_FIELDS[t.type]||t.type),i=d1e.VISITOR_KEYS[t.type];for(let s of r){let n=t[s],a=e[s];if(typeof n!=typeof a)return!1;if(!(n==null&&a==null)){if(n==null||a==null)return!1;if(Array.isArray(n)){if(!Array.isArray(a)||n.length!==a.length)return!1;for(let o=0;o<n.length;o++)if(!AU(n[o],a[o]))return!1;continue}if(typeof n=="object"&&!(i!=null&&i.includes(s))){for(let o of Object.keys(n))if(n[o]!==a[o])return!1;continue}if(!AU(n,a))return!1}}return!0}});var m1e=E(_U=>{"use strict";Object.defineProperty(_U,"__esModule",{value:!0});_U.default=X9t;function X9t(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r!=null&&r.source?!1:e.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}});var y1e=E(CU=>{"use strict";Object.defineProperty(CU,"__esModule",{value:!0});CU.default=Q9t;var P0=Zs();function Q9t(t,e){return(0,P0.isBlockStatement)(t)&&((0,P0.isFunction)(e)||(0,P0.isCatchClause)(e))?!1:(0,P0.isPattern)(t)&&((0,P0.isFunction)(e)||(0,P0.isCatchClause)(e))?!0:(0,P0.isScopable)(t)}});var b1e=E(DU=>{"use strict";Object.defineProperty(DU,"__esModule",{value:!0});DU.default=Z9t;var g1e=Zs();function Z9t(t){return(0,g1e.isImportDefaultSpecifier)(t)||(0,g1e.isIdentifier)(t.imported||t.exported,{name:"default"})}});var v1e=E(NU=>{"use strict";Object.defineProperty(NU,"__esModule",{value:!0});NU.default=rDt;var eDt=rb(),tDt=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function rDt(t){return(0,eDt.default)(t)&&!tDt.has(t)}});var S1e=E(IU=>{"use strict";Object.defineProperty(IU,"__esModule",{value:!0});IU.default=nDt;var iDt=Zs(),sDt=Kd();function nDt(t){return(0,iDt.isVariableDeclaration)(t,{kind:"var"})&&!t[sDt.BLOCK_SCOPED_SYMBOL]}});var T1e=E(kU=>{"use strict";Object.defineProperty(kU,"__esModule",{value:!0});kU.default=Q_;var aDt=JT(),_0=Zs(),OU=Ua(),oDt=zd();function Q_(t,e,r){let i=[],s=!0;for(let n of t)if((0,_0.isEmptyStatement)(n)||(s=!1),(0,_0.isExpression)(n))i.push(n);else if((0,_0.isExpressionStatement)(n))i.push(n.expression);else if((0,_0.isVariableDeclaration)(n)){if(n.kind!=="var")return;for(let a of n.declarations){let o=(0,aDt.default)(a);for(let l of Object.keys(o))r.push({kind:n.kind,id:(0,oDt.default)(o[l])});a.init&&i.push((0,OU.assignmentExpression)("=",a.id,a.init))}s=!0}else if((0,_0.isIfStatement)(n)){let a=n.consequent?Q_([n.consequent],e,r):e.buildUndefinedNode(),o=n.alternate?Q_([n.alternate],e,r):e.buildUndefinedNode();if(!a||!o)return;i.push((0,OU.conditionalExpression)(n.test,a,o))}else if((0,_0.isBlockStatement)(n)){let a=Q_(n.body,e,r);if(!a)return;i.push(a)}else if((0,_0.isEmptyStatement)(n))t.indexOf(n)===0&&(s=!0);else return;return s&&i.push(e.buildUndefinedNode()),i.length===1?i[0]:(0,OU.sequenceExpression)(i)}});var x1e=E(LU=>{"use strict";Object.defineProperty(LU,"__esModule",{value:!0});LU.default=uDt;var lDt=T1e();function uDt(t,e){if(!(t!=null&&t.length))return;let r=[],i=(0,lDt.default)(t,e,r);if(i){for(let s of r)e.push(s);return i}}});var gr=E(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});var Xp={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(He,"__internal__deprecationWarning",{enumerable:!0,get:function(){return pNt.default}});Object.defineProperty(He,"addComment",{enumerable:!0,get:function(){return TDt.default}});Object.defineProperty(He,"addComments",{enumerable:!0,get:function(){return xDt.default}});Object.defineProperty(He,"appendToMemberExpression",{enumerable:!0,get:function(){return BDt.default}});Object.defineProperty(He,"assertNode",{enumerable:!0,get:function(){return dDt.default}});Object.defineProperty(He,"buildMatchMemberExpression",{enumerable:!0,get:function(){return cNt.default}});Object.defineProperty(He,"clone",{enumerable:!0,get:function(){return gDt.default}});Object.defineProperty(He,"cloneDeep",{enumerable:!0,get:function(){return bDt.default}});Object.defineProperty(He,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return vDt.default}});Object.defineProperty(He,"cloneNode",{enumerable:!0,get:function(){return yDt.default}});Object.defineProperty(He,"cloneWithoutLoc",{enumerable:!0,get:function(){return SDt.default}});Object.defineProperty(He,"createFlowUnionType",{enumerable:!0,get:function(){return E1e.default}});Object.defineProperty(He,"createTSUnionType",{enumerable:!0,get:function(){return mDt.default}});Object.defineProperty(He,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return hDt.default}});Object.defineProperty(He,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return E1e.default}});Object.defineProperty(He,"ensureBlock",{enumerable:!0,get:function(){return CDt.default}});Object.defineProperty(He,"getBindingIdentifiers",{enumerable:!0,get:function(){return $Dt.default}});Object.defineProperty(He,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return KDt.default}});Object.defineProperty(He,"inheritInnerComments",{enumerable:!0,get:function(){return EDt.default}});Object.defineProperty(He,"inheritLeadingComments",{enumerable:!0,get:function(){return wDt.default}});Object.defineProperty(He,"inheritTrailingComments",{enumerable:!0,get:function(){return PDt.default}});Object.defineProperty(He,"inherits",{enumerable:!0,get:function(){return MDt.default}});Object.defineProperty(He,"inheritsComments",{enumerable:!0,get:function(){return ADt.default}});Object.defineProperty(He,"is",{enumerable:!0,get:function(){return zDt.default}});Object.defineProperty(He,"isBinding",{enumerable:!0,get:function(){return HDt.default}});Object.defineProperty(He,"isBlockScoped",{enumerable:!0,get:function(){return YDt.default}});Object.defineProperty(He,"isImmutable",{enumerable:!0,get:function(){return JDt.default}});Object.defineProperty(He,"isLet",{enumerable:!0,get:function(){return XDt.default}});Object.defineProperty(He,"isNode",{enumerable:!0,get:function(){return QDt.default}});Object.defineProperty(He,"isNodesEquivalent",{enumerable:!0,get:function(){return ZDt.default}});Object.defineProperty(He,"isPlaceholderType",{enumerable:!0,get:function(){return eNt.default}});Object.defineProperty(He,"isReferenced",{enumerable:!0,get:function(){return tNt.default}});Object.defineProperty(He,"isScope",{enumerable:!0,get:function(){return rNt.default}});Object.defineProperty(He,"isSpecifierDefault",{enumerable:!0,get:function(){return iNt.default}});Object.defineProperty(He,"isType",{enumerable:!0,get:function(){return sNt.default}});Object.defineProperty(He,"isValidES3Identifier",{enumerable:!0,get:function(){return nNt.default}});Object.defineProperty(He,"isValidIdentifier",{enumerable:!0,get:function(){return aNt.default}});Object.defineProperty(He,"isVar",{enumerable:!0,get:function(){return oNt.default}});Object.defineProperty(He,"matchesPattern",{enumerable:!0,get:function(){return lNt.default}});Object.defineProperty(He,"prependToMemberExpression",{enumerable:!0,get:function(){return jDt.default}});He.react=void 0;Object.defineProperty(He,"removeComments",{enumerable:!0,get:function(){return _Dt.default}});Object.defineProperty(He,"removeProperties",{enumerable:!0,get:function(){return VDt.default}});Object.defineProperty(He,"removePropertiesDeep",{enumerable:!0,get:function(){return UDt.default}});Object.defineProperty(He,"removeTypeDuplicates",{enumerable:!0,get:function(){return qDt.default}});Object.defineProperty(He,"shallowEqual",{enumerable:!0,get:function(){return GDt.default}});Object.defineProperty(He,"toBindingIdentifierName",{enumerable:!0,get:function(){return DDt.default}});Object.defineProperty(He,"toBlock",{enumerable:!0,get:function(){return NDt.default}});Object.defineProperty(He,"toComputedKey",{enumerable:!0,get:function(){return IDt.default}});Object.defineProperty(He,"toExpression",{enumerable:!0,get:function(){return ODt.default}});Object.defineProperty(He,"toIdentifier",{enumerable:!0,get:function(){return kDt.default}});Object.defineProperty(He,"toKeyAlias",{enumerable:!0,get:function(){return LDt.default}});Object.defineProperty(He,"toStatement",{enumerable:!0,get:function(){return FDt.default}});Object.defineProperty(He,"traverse",{enumerable:!0,get:function(){return Z_.default}});Object.defineProperty(He,"traverseFast",{enumerable:!0,get:function(){return WDt.default}});Object.defineProperty(He,"validate",{enumerable:!0,get:function(){return uNt.default}});Object.defineProperty(He,"valueToNode",{enumerable:!0,get:function(){return RDt.default}});var cDt=M0e(),pDt=j0e(),fDt=xye(),dDt=Eye(),FU=wye();Object.keys(FU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===FU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return FU[t]}})});var hDt=Aye(),E1e=Cye(),mDt=Oye(),RU=Ua();Object.keys(RU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===RU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return RU[t]}})});var BU=kye();Object.keys(BU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===BU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return BU[t]}})});var MU=Fye();Object.keys(MU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===MU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return MU[t]}})});var yDt=zd(),gDt=Uye(),bDt=qye(),vDt=$ye(),SDt=Kye(),TDt=Wye(),xDt=MV(),EDt=qV(),wDt=KV(),ADt=HV(),PDt=GV(),_Dt=Gye(),jU=zye();Object.keys(jU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===jU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return jU[t]}})});var VU=Kd();Object.keys(VU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===VU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return VU[t]}})});var CDt=Hye(),DDt=Yye(),NDt=QV(),IDt=Jye(),ODt=Xye(),kDt=tU(),LDt=e1e(),FDt=t1e(),RDt=r1e(),UU=Rl();Object.keys(UU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===UU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return UU[t]}})});var BDt=i1e(),MDt=n1e(),jDt=a1e(),VDt=lU(),UDt=cU(),qDt=_V(),$Dt=JT(),KDt=o1e(),Z_=l1e();Object.keys(Z_).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===Z_[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return Z_[t]}})});var WDt=aU(),GDt=N_(),zDt=tb(),HDt=u1e(),YDt=p1e(),JDt=f1e(),XDt=xU(),QDt=wV(),ZDt=h1e(),eNt=tV(),tNt=m1e(),rNt=y1e(),iNt=b1e(),sNt=O_(),nNt=v1e(),aNt=rb(),oNt=S1e(),lNt=Yj(),uNt=B_(),cNt=Xj(),qU=Zs();Object.keys(qU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(Xp,t)||t in He&&He[t]===qU[t]||Object.defineProperty(He,t,{enumerable:!0,get:function(){return qU[t]}})});var pNt=jT(),XDr=He.react={isReactComponent:cDt.default,isCompatTag:pDt.default,buildChildren:fDt.default};He.toSequenceExpression=x1e().default});var QT=E(nb=>{"use strict";Object.defineProperty(nb,"__esModule",{value:!0});nb.explode=k1e;nb.isExplodedVisitor=O1e;nb.merge=mNt;nb.verify=L1e;var I1e=Wj(),fNt=gr(),{DEPRECATED_KEYS:w1e,DEPRECATED_ALIASES:A1e,FLIPPED_ALIAS_KEYS:P1e,TYPES:dNt,__internal__deprecationWarning:_1e}=fNt;function hNt(t){return t in I1e}function O1e(t){return t==null?void 0:t._exploded}function k1e(t){if(O1e(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(C0(e))continue;let r=e.split("|");if(r.length===1)continue;let i=t[e];delete t[e];for(let s of r)t[s]=i}L1e(t),delete t.__esModule,yNt(t),N1e(t);for(let e of Object.keys(t)){if(C0(e)||!hNt(e))continue;let r=t[e];for(let s of Object.keys(r))r[s]=gNt(e,r[s]);delete t[e];let i=I1e[e];if(i!==null)for(let s of i)t[s]?XT(t[s],r):t[s]=r;else XT(t,r)}for(let e of Object.keys(t)){if(C0(e))continue;let r=P1e[e];if(e in w1e){let s=w1e[e];_1e(e,s,"Visitor "),r=[s]}else if(e in A1e){let s=A1e[e];_1e(e,s,"Visitor "),r=P1e[s]}if(!r)continue;let i=t[e];delete t[e];for(let s of r){let n=t[s];n?XT(n,i):t[s]=Object.assign({},i)}}for(let e of Object.keys(t))C0(e)||N1e(t[e]);return t}function L1e(t){if(!t._verified){if(typeof t=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let e of Object.keys(t)){if((e==="enter"||e==="exit")&&C1e(e,t[e]),C0(e))continue;if(dNt.indexOf(e)<0)throw new Error(`You gave us a visitor for the node type ${e} but it's not a valid type`);let r=t[e];if(typeof r=="object")for(let i of Object.keys(r))if(i==="enter"||i==="exit")C1e(`${e}.${i}`,r[i]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${e} that has the invalid property ${i}`)}t._verified=!0}}function C1e(t,e){let r=[].concat(e);for(let i of r)if(typeof i!="function")throw new TypeError(`Non-function found defined in ${t} with type ${typeof i}`)}function mNt(t,e=[],r){let i={};for(let s=0;s<t.length;s++){let n=k1e(t[s]),a=e[s],o=n;(a||r)&&(o=D1e(o,a,r)),XT(i,o);for(let l of Object.keys(n)){if(C0(l))continue;let u=n[l];(a||r)&&(u=D1e(u,a,r));let c=i[l]||(i[l]={});XT(c,u)}}return i}function D1e(t,e,r){let i={};for(let s of["enter","exit"]){let n=t[s];Array.isArray(n)&&(n=n.map(function(a){let o=a;return e&&(o=function(l){a.call(e,l,e)}),r&&(o=r(e==null?void 0:e.key,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),i[s]=n)}return i}function yNt(t){for(let e of Object.keys(t)){if(C0(e))continue;let r=t[e];typeof r=="function"&&(t[e]={enter:r})}}function N1e(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function gNt(t,e){let r=function(i){if(i[`is${t}`]())return e.apply(this,arguments)};return r.toString=()=>e.toString(),r}function C0(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function XT(t,e){for(let r of["enter","exit"])e[r]&&(t[r]=[].concat(t[r]||[],e[r]))}});var D0=E(Wo=>{"use strict";Object.defineProperty(Wo,"__esModule",{value:!0});Wo.clear=bNt;Wo.clearPath=R1e;Wo.clearScope=B1e;Wo.getCachedPaths=vNt;Wo.getOrCreateCachedPaths=SNt;Wo.scope=Wo.path=void 0;var ZT=new WeakMap;Wo.path=ZT;var F1e=new WeakMap;Wo.scope=F1e;function bNt(){R1e(),B1e()}function R1e(){Wo.path=ZT=new WeakMap}function B1e(){Wo.scope=F1e=new WeakMap}var $U=Object.freeze({});function vNt(t,e){var r,i;return t=null,(r=ZT.get((i=t)!=null?i:$U))==null?void 0:r.get(e)}function SNt(t,e){var r,i;t=null;let s=ZT.get((r=t)!=null?r:$U);s||ZT.set((i=t)!=null?i:$U,s=new WeakMap);let n=s.get(e);return n||s.set(e,n=new Map),n}});var V1e=E(GU=>{"use strict";Object.defineProperty(GU,"__esModule",{value:!0});GU.default=wNt;var TNt=gr(),{cloneNode:KU,exportNamedDeclaration:M1e,exportSpecifier:j1e,identifier:WU,variableDeclaration:xNt,variableDeclarator:ENt}=TNt;function wNt(t){if(!t.isExportDeclaration()||t.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(t.isExportDefaultDeclaration()){let n=t.get("declaration"),a=n.isFunctionDeclaration()||n.isClassDeclaration(),o=n.isFunctionExpression()||n.isClassExpression(),l=n.isScope()?n.scope.parent:n.scope,u=n.node.id,c=!1;u?o&&l.hasBinding(u.name)&&(c=!0,u=l.generateUidIdentifier(u.name)):(c=!0,u=l.generateUidIdentifier("default"),(a||o)&&(n.node.id=KU(u)));let p=a?n.node:xNt("var",[ENt(KU(u),n.node)]),d=M1e(null,[j1e(KU(u),WU("default"))]);return t.insertAfter(d),t.replaceWith(p),c&&l.registerDeclaration(t),t}else if(t.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let e=t.get("declaration"),r=e.getOuterBindingIdentifiers(),i=Object.keys(r).map(n=>j1e(WU(n),WU(n))),s=M1e(null,i);return t.insertAfter(s),t.replaceWith(e.node),t}});var HU=E(ab=>{"use strict";Object.defineProperty(ab,"__esModule",{value:!0});ab.default=void 0;ab.requeueComputedKeyAndDecorators=zU;ab.skipAllButComputedKey=function(e){e.skip(),e.node.computed&&e.context.maybeQueue(e.get("key"))};function zU(t){let{context:e,node:r}=t;if(r.computed&&e.maybeQueue(t.get("key")),r.decorators)for(let i of t.get("decorators"))e.maybeQueue(i)}var ANt={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&zU(t))},Property(t){t.isObjectProperty()||(t.skip(),zU(t))}},PNt=ANt;ab.default=PNt});var U1e=E(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.default=void 0;var _Nt=V1e(),CNt=gr(),DNt=HU(),NNt=tC(),INt=QT(),ONt={ReferencedIdentifier({node:t},e){t.name===e.oldName&&(t.name=e.newName)},Scope(t,e){t.scope.bindingIdentifierEquals(e.oldName,e.binding.identifier)||(t.skip(),t.isMethod()&&(0,DNt.requeueComputedKeyAndDecorators)(t))},ObjectProperty({node:t,scope:e},r){let{name:i}=t.key;if(t.shorthand&&(i===r.oldName||i===r.newName)&&e.getBindingIdentifier(i)===r.binding.identifier){var s;t.shorthand=!1,(s=t.extra)!=null&&s.shorthand&&(t.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(t,e){if(t.isVariableDeclaration())return;let r=t.getOuterBindingIdentifiers();for(let i in r)i===e.oldName&&(r[i].name=e.newName)}},YU=class{constructor(e,r,i){this.newName=i,this.oldName=r,this.binding=e}maybeConvertFromExportDeclaration(e){let r=e.parentPath;if(r.isExportDeclaration()){if(r.isExportDefaultDeclaration()){let{declaration:i}=r.node;if(CNt.isDeclaration(i)&&!i.id)return}r.isExportAllDeclaration()||(0,_Nt.default)(r)}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:r,newName:i}=this,{scope:s,path:n}=e,a=n.find(l=>l.isDeclaration()||l.isFunctionExpression()||l.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===e.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||s.block;(0,NNt.traverseNode)(o,(0,INt.explode)(ONt),s,this,s.path,{discriminant:!0}),arguments[0]||(s.removeOwnBinding(r),s.bindings[i]=e,this.binding.identifier.name=i),a&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))}};eC.default=YU});var q1e=E(rC=>{"use strict";Object.defineProperty(rC,"__esModule",{value:!0});rC.default=void 0;var JU=class{constructor({identifier:e,scope:r,path:i,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=r,this.path=i,this.kind=s,(s==="var"||s==="hoisted")&&kNt(i||(()=>{throw new Error("Internal Babel error: unreachable ")})())&&this.reassign(i),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,this.constantViolations.indexOf(e)===-1&&this.constantViolations.push(e)}reference(e){this.referencePaths.indexOf(e)===-1&&(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}};rC.default=JU;function kNt(t){for(let{parentPath:e,key:r}=t;e;{parentPath:e,key:r}=e){if(e.isFunctionParent())return!1;if(e.isWhile()||e.isForXStatement()||e.isForStatement()&&r==="body")return!0}return!1}});var $1e=E((nNr,LNt)=>{LNt.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var W1e=E((aNr,K1e)=>{"use strict";K1e.exports=$1e()});var eq=E(nC=>{"use strict";Object.defineProperty(nC,"__esModule",{value:!0});nC.default=void 0;var FNt=U1e(),RNt=ex(),BNt=q1e(),MNt=W1e(),tge=gr(),G1e=tge,z1e=D0(),jNt=QT(),{NOT_LOCAL_BINDING:H1e,callExpression:Y1e,cloneNode:J1e,getBindingIdentifiers:VNt,identifier:ob,isArrayExpression:X1e,isBinary:UNt,isClass:qNt,isClassBody:$Nt,isClassDeclaration:KNt,isExportAllDeclaration:rge,isExportDefaultDeclaration:WNt,isExportNamedDeclaration:XU,isFunctionDeclaration:GNt,isIdentifier:iC,isImportDeclaration:QU,isLiteral:zNt,isMethod:HNt,isModuleSpecifier:YNt,isNullLiteral:JNt,isObjectExpression:XNt,isProperty:QNt,isPureish:ZNt,isRegExpLiteral:eIt,isSuper:tIt,isTaggedTemplateExpression:rIt,isTemplateLiteral:ige,isThisExpression:Q1e,isUnaryExpression:iIt,isVariableDeclaration:sIt,matchesPattern:nIt,memberExpression:ZU,numericLiteral:Z1e,toIdentifier:aIt,unaryExpression:oIt,variableDeclaration:lIt,variableDeclarator:uIt,isRecordExpression:cIt,isTupleExpression:pIt,isObjectProperty:fIt,isTopicReference:ege,isMetaProperty:dIt,isPrivateName:hIt,isExportDeclaration:mIt}=tge;function Qi(t,e){switch(t==null?void 0:t.type){default:if(QU(t)||mIt(t)){var r;if((rge(t)||XU(t)||QU(t))&&t.source)Qi(t.source,e);else if((XU(t)||QU(t))&&(r=t.specifiers)!=null&&r.length)for(let i of t.specifiers)Qi(i,e);else(WNt(t)||XU(t))&&t.declaration&&Qi(t.declaration,e)}else YNt(t)?Qi(t.local,e):zNt(t)&&!JNt(t)&&!eIt(t)&&!ige(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Qi(t.object,e),Qi(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Qi(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let i of t.properties)Qi(i,e);break;case"SpreadElement":case"RestElement":Qi(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Qi(t.key,e);break;case"ThisExpression":e.push("this");break;case"Super":e.push("super");break;case"Import":e.push("import");break;case"DoExpression":e.push("do");break;case"YieldExpression":e.push("yield"),Qi(t.argument,e);break;case"AwaitExpression":e.push("await"),Qi(t.argument,e);break;case"AssignmentExpression":Qi(t.left,e);break;case"VariableDeclarator":Qi(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":Qi(t.id,e);break;case"PrivateName":Qi(t.id,e);break;case"ParenthesizedExpression":Qi(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":Qi(t.argument,e);break;case"MetaProperty":Qi(t.meta,e),Qi(t.property,e);break;case"JSXElement":Qi(t.openingElement,e);break;case"JSXOpeningElement":Qi(t.name,e);break;case"JSXFragment":Qi(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":Qi(t.namespace,e),Qi(t.name,e);break}}var sC={ForStatement(t){let e=t.get("init");if(e.isVar()){let{scope:r}=t;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",e)}},Declaration(t){if(t.isBlockScoped()||t.isImportDeclaration()||t.isExportDeclaration())return;(t.scope.getFunctionParent()||t.scope.getProgramParent()).registerDeclaration(t)},ImportDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},ReferencedIdentifier(t,e){e.references.push(t)},ForXStatement(t,e){let r=t.get("left");if(r.isPattern()||r.isIdentifier())e.constantViolations.push(t);else if(r.isVar()){let{scope:i}=t;(i.getFunctionParent()||i.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit(t){let{node:e,scope:r}=t;if(rge(e))return;let i=e.declaration;if(KNt(i)||GNt(i)){let s=i.id;if(!s)return;let n=r.getBinding(s.name);n==null||n.reference(t)}else if(sIt(i))for(let s of i.declarations)for(let n of Object.keys(VNt(s))){let a=r.getBinding(n);a==null||a.reference(t)}}},LabeledStatement(t){t.scope.getBlockParent().registerDeclaration(t)},AssignmentExpression(t,e){e.assignments.push(t)},UpdateExpression(t,e){e.constantViolations.push(t)},UnaryExpression(t,e){t.node.operator==="delete"&&e.constantViolations.push(t)},BlockScoped(t){let e=t.scope;if(e.path===t&&(e=e.parent),e.getBlockParent().registerDeclaration(t),t.isClassDeclaration()&&t.node.id){let s=t.node.id.name;t.scope.bindings[s]=t.scope.parent.getBinding(s)}},CatchClause(t){t.scope.registerBinding("let",t)},Function(t){let e=t.get("params");for(let r of e)t.scope.registerBinding("param",r);t.isFunctionExpression()&&t.has("id")&&!t.get("id").node[H1e]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.has("id")&&!t.get("id").node[H1e]&&t.scope.registerBinding("local",t)}},yIt=0,Yd=class{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;let{node:r}=e,i=z1e.scope.get(r);if((i==null?void 0:i.path)===e)return i;z1e.scope.set(r,this),this.uid=yIt++,this.block=r,this.path=e,this.labels=new Map,this.inited=!1}get parent(){var e;let r,i=this.path;do{let s=i.key==="key"||i.listKey==="decorators";i=i.parentPath,s&&i.isMethod()&&(i=i.parentPath),i&&i.isScope()&&(r=i)}while(i&&!r);return(e=r)==null?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,r,i){(0,RNt.default)(e,r,this,i,this.path)}generateDeclaredUidIdentifier(e){let r=this.generateUidIdentifier(e);return this.push({id:r}),J1e(r)}generateUidIdentifier(e){return ob(this.generateUid(e))}generateUid(e="temp"){e=aIt(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let r,i=1;do r=this._generateUid(e,i),i++;while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));let s=this.getProgramParent();return s.references[r]=!0,s.uids[r]=!0,r}_generateUid(e,r){let i=e;return r>1&&(i+=r),`_${i}`}generateUidBasedOnNode(e,r){let i=[];Qi(e,i);let s=i.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,r){return ob(this.generateUidBasedOnNode(e,r))}isStatic(e){if(Q1e(e)||tIt(e)||ege(e))return!0;if(iC(e)){let r=this.getBinding(e.name);return r?r.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,r){if(this.isStatic(e))return null;{let i=this.generateUidIdentifierBasedOnNode(e);return r?i:(this.push({id:i}),J1e(i))}}checkBlockScopedCollisions(e,r,i,s){if(r==="param"||e.kind==="local")return;if(r==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&r==="const")throw this.hub.buildError(s,`Duplicate declaration "${i}"`,TypeError)}rename(e,r){let i=this.getBinding(e);i&&(r||(r=this.generateUidIdentifier(e).name),new FNt.default(i,e,r).rename(arguments[2]))}_renameFromMap(e,r,i,s){e[r]&&(e[i]=s,e[r]=null)}dump(){let e="-".repeat(60);console.log(e);let r=this;do{console.log("#",r.block.type);for(let i of Object.keys(r.bindings)){let s=r.bindings[i];console.log(" -",i,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(r=r.parent);console.log(e)}toArray(e,r,i){if(iC(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(X1e(e))return e;if(iC(e,{name:"arguments"}))return Y1e(ZU(ZU(ZU(ob("Array"),ob("prototype")),ob("slice")),ob("call")),[e]);let s,n=[e];return r===!0?s="toConsumableArray":typeof r=="number"?(n.push(Z1e(r)),s="slicedToArray"):s="toArray",i&&(n.unshift(this.hub.addHelper(s)),s="maybeArrayLike"),Y1e(this.hub.addHelper(s),n)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){let r=e.get("declarations"),{kind:i}=e.node;for(let s of r)this.registerBinding(i==="using"||i==="await using"?"const":i,s)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){let r=e.node.importKind==="type"||e.node.importKind==="typeof",i=e.get("specifiers");for(let s of i){let n=r||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(n?"unknown":"module",s)}}else if(e.isExportDeclaration()){let r=e.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return oIt("void",Z1e(0),!0)}registerConstantViolation(e){let r=e.getBindingIdentifiers();for(let s of Object.keys(r)){var i;(i=this.getBinding(s))==null||i.reassign(e)}}registerBinding(e,r,i=r){if(!e)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){let a=r.get("declarations");for(let o of a)this.registerBinding(e,o);return}let s=this.getProgramParent(),n=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(n)){s.references[a]=!0;for(let o of n[a]){let l=this.getOwnBinding(a);if(l){if(l.identifier===o)continue;this.checkBlockScopedCollisions(l,e,a,o)}l?this.registerConstantViolation(i):this.bindings[a]=new BNt.default({identifier:o,scope:this,path:i,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){let r=this;do if(r.uids[e])return!0;while(r=r.parent);return!1}hasGlobal(e){let r=this;do if(r.globals[e])return!0;while(r=r.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,r){if(iC(e)){let a=this.getBinding(e.name);return a?r?a.constant:!0:!1}else{if(Q1e(e)||dIt(e)||ege(e)||hIt(e))return!0;if(qNt(e)){var i;return e.superClass&&!this.isPure(e.superClass,r)||((i=e.decorators)==null?void 0:i.length)>0?!1:this.isPure(e.body,r)}else if($Nt(e)){for(let a of e.body)if(!this.isPure(a,r))return!1;return!0}else{if(UNt(e))return this.isPure(e.left,r)&&this.isPure(e.right,r);if(X1e(e)||pIt(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(XNt(e)||cIt(e)){for(let a of e.properties)if(!this.isPure(a,r))return!1;return!0}else if(HNt(e)){var s;return!(e.computed&&!this.isPure(e.key,r)||((s=e.decorators)==null?void 0:s.length)>0)}else if(QNt(e)){var n;return!(e.computed&&!this.isPure(e.key,r)||((n=e.decorators)==null?void 0:n.length)>0||(fIt(e)||e.static)&&e.value!==null&&!this.isPure(e.value,r))}else{if(iIt(e))return this.isPure(e.argument,r);if(rIt(e))return nIt(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,r);if(ige(e)){for(let a of e.expressions)if(!this.isPure(a,r))return!1;return!0}else return ZNt(e)}}}}setData(e,r){return this.data[e]=r}getData(e){let r=this;do{let i=r.data[e];if(i!=null)return i}while(r=r.parent)}removeData(e){let r=this;do r.data[e]!=null&&(r.data[e]=null);while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);let r=this.getProgramParent();if(r.crawling)return;let i={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,e.type!=="Program"&&(0,jNt.isExplodedVisitor)(sC)){for(let n of sC.enter)n.call(i,e,i);let s=sC[e.type];if(s)for(let n of s.enter)n.call(i,e,i)}e.traverse(sC,i),this.crawling=!1;for(let s of i.assignments){let n=s.getBindingIdentifiers();for(let a of Object.keys(n))s.scope.getBinding(a)||r.addGlobal(n[a]);s.scope.registerConstantViolation(s)}for(let s of i.references){let n=s.scope.getBinding(s.node.name);n?n.reference(s):r.addGlobal(s.node)}for(let s of i.constantViolations)s.scope.registerConstantViolation(s)}push(e){let r=this.path;r.isPattern()?r=this.getPatternParent().path:!r.isBlockStatement()&&!r.isProgram()&&(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path);let{init:i,unique:s,kind:n="var",id:a}=e;if(!i&&!s&&(n==="var"||n==="let")&&r.isFunction()&&!r.node.name&&G1e.isCallExpression(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&G1e.isIdentifier(a)){r.pushContainer("params",a),r.scope.registerBinding("param",r.get("params")[r.node.params.length-1]);return}(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));let o=e._blockHoist==null?2:e._blockHoist,l=`declaration:${n}:${o}`,u=!s&&r.getData(l);if(!u){let d=lIt(n,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=uIt(a,i),p=u.node.declarations.push(c);r.scope.registerBinding(n,u.get("declarations")[p-1])}getProgramParent(){let e=this;do if(e.path.isProgram())return e;while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do if(e.path.isFunctionParent())return e;while(e=e.parent);return null}getBlockParent(){let e=this;do if(e.path.isBlockParent())return e;while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do if(!e.path.isPattern())return e.getBlockParent();while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let e=Object.create(null),r=this;do{for(let i of Object.keys(r.bindings))i in e||(e[i]=r.bindings[i]);r=r.parent}while(r);return e}getAllBindingsOfKind(...e){let r=Object.create(null);for(let i of e){let s=this;do{for(let n of Object.keys(s.bindings)){let a=s.bindings[n];a.kind===i&&(r[n]=a)}s=s.parent}while(s)}return r}bindingIdentifierEquals(e,r){return this.getBindingIdentifier(e)===r}getBinding(e){let r=this,i;do{let n=r.getOwnBinding(e);if(n){var s;if(!((s=i)!=null&&s.isPattern()&&n.kind!=="param"&&n.kind!=="local"))return n}else if(!n&&e==="arguments"&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;i=r.path}while(r=r.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var r;return(r=this.getBinding(e))==null?void 0:r.identifier}getOwnBindingIdentifier(e){let r=this.bindings[e];return r==null?void 0:r.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,r){var i,s,n;return e?!!(this.hasOwnBinding(e)||(typeof r=="boolean"&&(r={noGlobals:r}),this.parentHasBinding(e,r))||!((i=r)!=null&&i.noUids)&&this.hasUid(e)||!((s=r)!=null&&s.noGlobals)&&Yd.globals.includes(e)||!((n=r)!=null&&n.noGlobals)&&Yd.contextVariables.includes(e)):!1}parentHasBinding(e,r){var i;return(i=this.parent)==null?void 0:i.hasBinding(e,r)}moveBindingTo(e,r){let i=this.getBinding(e);i&&(i.scope.removeOwnBinding(e),i.scope=r,r.bindings[e]=i)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var r;(r=this.getBinding(e))==null||r.scope.removeOwnBinding(e);let i=this;do i.uids[e]&&(i.uids[e]=!1);while(i=i.parent)}};nC.default=Yd;Yd.globals=Object.keys(MNt.builtin);Yd.contextVariables=["arguments","undefined","Infinity","NaN"]});var nge=E((aC,sge)=>{(function(t,e){typeof aC=="object"&&typeof sge<"u"?e(aC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.setArray={}))})(aC,function(t){"use strict";t.get=void 0,t.put=void 0,t.pop=void 0;class e{constructor(){this._indexes={__proto__:null},this.array=[]}}t.get=(r,i)=>r._indexes[i],t.put=(r,i)=>{let s=t.get(r,i);if(s!==void 0)return s;let{array:n,_indexes:a}=r;return a[i]=n.push(i)-1},t.pop=r=>{let{array:i,_indexes:s}=r;if(i.length===0)return;let n=i.pop();s[n]=void 0},t.SetArray=e,Object.defineProperty(t,"__esModule",{value:!0})})});var oge=E((oC,age)=>{(function(t,e){typeof oC=="object"&&typeof age<"u"?e(oC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(oC,function(t){"use strict";let e=",".charCodeAt(0),r=";".charCodeAt(0),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),n=new Uint8Array(128);for(let m=0;m<i.length;m++){let g=i.charCodeAt(m);s[m]=g,n[g]=m}let a=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(m){return Buffer.from(m.buffer,m.byteOffset,m.byteLength).toString()}}:{decode(m){let g="";for(let b=0;b<m.length;b++)g+=String.fromCharCode(m[b]);return g}};function o(m){let g=new Int32Array(5),b=[],T=0;do{let x=l(m,T),v=[],w=!0,A=0;g[0]=0;for(let C=T;C<x;C++){let K;C=u(m,C,g,0);let F=g[0];F<A&&(w=!1),A=F,c(m,C,x)?(C=u(m,C,g,1),C=u(m,C,g,2),C=u(m,C,g,3),c(m,C,x)?(C=u(m,C,g,4),K=[F,g[1],g[2],g[3],g[4]]):K=[F,g[1],g[2],g[3]]):K=[F],v.push(K)}w||p(v),b.push(v),T=x+1}while(T<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,T){let x=0,v=0,w=0;do{let C=m.charCodeAt(g++);w=n[C],x|=(w&31)<<v,v+=5}while(w&32);let A=x&1;return x>>>=1,A&&(x=-2147483648|-x),b[T]+=x,g}function c(m,g,b){return g>=b?!1:m.charCodeAt(g)!==e}function p(m){m.sort(d)}function d(m,g){return m[0]-g[0]}function f(m){let g=new Int32Array(5),b=1024*16,T=b-36,x=new Uint8Array(b),v=x.subarray(0,T),w=0,A="";for(let C=0;C<m.length;C++){let K=m[C];if(C>0&&(w===b&&(A+=a.decode(x),w=0),x[w++]=r),K.length!==0){g[0]=0;for(let F=0;F<K.length;F++){let Q=K[F];w>T&&(A+=a.decode(v),x.copyWithin(0,T,w),w-=T),F>0&&(x[w++]=e),w=h(x,w,g,Q,0),Q.length!==1&&(w=h(x,w,g,Q,1),w=h(x,w,g,Q,2),w=h(x,w,g,Q,3),Q.length!==4&&(w=h(x,w,g,Q,4)))}}}return A+a.decode(x.subarray(0,w))}function h(m,g,b,T,x){let v=T[x],w=v-b[x];b[x]=v,w=w<0?-w<<1|1:w<<1;do{let A=w&31;w>>>=5,w>0&&(A|=32),m[g++]=s[A]}while(w>0);return g}t.decode=o,t.encode=f,Object.defineProperty(t,"__esModule",{value:!0})})});var uge=E((lC,lge)=>{(function(t,e){typeof lC=="object"&&typeof lge<"u"?e(lC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(lC,function(t){"use strict";let e=",".charCodeAt(0),r=";".charCodeAt(0),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=new Uint8Array(64),n=new Uint8Array(128);for(let m=0;m<i.length;m++){let g=i.charCodeAt(m);s[m]=g,n[g]=m}let a=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(m){return Buffer.from(m.buffer,m.byteOffset,m.byteLength).toString()}}:{decode(m){let g="";for(let b=0;b<m.length;b++)g+=String.fromCharCode(m[b]);return g}};function o(m){let g=new Int32Array(5),b=[],T=0;do{let x=l(m,T),v=[],w=!0,A=0;g[0]=0;for(let C=T;C<x;C++){let K;C=u(m,C,g,0);let F=g[0];F<A&&(w=!1),A=F,c(m,C,x)?(C=u(m,C,g,1),C=u(m,C,g,2),C=u(m,C,g,3),c(m,C,x)?(C=u(m,C,g,4),K=[F,g[1],g[2],g[3],g[4]]):K=[F,g[1],g[2],g[3]]):K=[F],v.push(K)}w||p(v),b.push(v),T=x+1}while(T<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,T){let x=0,v=0,w=0;do{let C=m.charCodeAt(g++);w=n[C],x|=(w&31)<<v,v+=5}while(w&32);let A=x&1;return x>>>=1,A&&(x=-2147483648|-x),b[T]+=x,g}function c(m,g,b){return g>=b?!1:m.charCodeAt(g)!==e}function p(m){m.sort(d)}function d(m,g){return m[0]-g[0]}function f(m){let g=new Int32Array(5),b=1024*16,T=b-36,x=new Uint8Array(b),v=x.subarray(0,T),w=0,A="";for(let C=0;C<m.length;C++){let K=m[C];if(C>0&&(w===b&&(A+=a.decode(x),w=0),x[w++]=r),K.length!==0){g[0]=0;for(let F=0;F<K.length;F++){let Q=K[F];w>T&&(A+=a.decode(v),x.copyWithin(0,T,w),w-=T),F>0&&(x[w++]=e),w=h(x,w,g,Q,0),Q.length!==1&&(w=h(x,w,g,Q,1),w=h(x,w,g,Q,2),w=h(x,w,g,Q,3),Q.length!==4&&(w=h(x,w,g,Q,4)))}}}return A+a.decode(x.subarray(0,w))}function h(m,g,b,T,x){let v=T[x],w=v-b[x];b[x]=v,w=w<0?-w<<1|1:w<<1;do{let A=w&31;w>>>=5,w>0&&(A|=32),m[g++]=s[A]}while(w>0);return g}t.decode=o,t.encode=f,Object.defineProperty(t,"__esModule",{value:!0})})});var cge=E((tq,rq)=>{(function(t,e){typeof tq=="object"&&typeof rq<"u"?rq.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(tq,function(){"use strict";let t=/^[\w+.-]+:\/\//,e=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var i;(function(b){b[b.Empty=1]="Empty",b[b.Hash=2]="Hash",b[b.Query=3]="Query",b[b.RelativePath=4]="RelativePath",b[b.AbsolutePath=5]="AbsolutePath",b[b.SchemeRelative=6]="SchemeRelative",b[b.Absolute=7]="Absolute"})(i||(i={}));function s(b){return t.test(b)}function n(b){return b.startsWith("//")}function a(b){return b.startsWith("/")}function o(b){return b.startsWith("file:")}function l(b){return/^[.?#]/.test(b)}function u(b){let T=e.exec(b);return p(T[1],T[2]||"",T[3],T[4]||"",T[5]||"/",T[6]||"",T[7]||"")}function c(b){let T=r.exec(b),x=T[2];return p("file:","",T[1]||"","",a(x)?x:"/"+x,T[3]||"",T[4]||"")}function p(b,T,x,v,w,A,C){return{scheme:b,user:T,host:x,port:v,path:w,query:A,hash:C,type:i.Absolute}}function d(b){if(n(b)){let x=u("http:"+b);return x.scheme="",x.type=i.SchemeRelative,x}if(a(b)){let x=u("http://foo.com"+b);return x.scheme="",x.host="",x.type=i.AbsolutePath,x}if(o(b))return c(b);if(s(b))return u(b);let T=u("http://foo.com/"+b);return T.scheme="",T.host="",T.type=b?b.startsWith("?")?i.Query:b.startsWith("#")?i.Hash:i.RelativePath:i.Empty,T}function f(b){if(b.endsWith("/.."))return b;let T=b.lastIndexOf("/");return b.slice(0,T+1)}function h(b,T){m(T,T.type),b.path==="/"?b.path=T.path:b.path=f(T.path)+b.path}function m(b,T){let x=T<=i.RelativePath,v=b.path.split("/"),w=1,A=0,C=!1;for(let F=1;F<v.length;F++){let Q=v[F];if(!Q){C=!0;continue}if(C=!1,Q!=="."){if(Q===".."){A?(C=!0,A--,w--):x&&(v[w++]=Q);continue}v[w++]=Q,A++}}let K="";for(let F=1;F<w;F++)K+="/"+v[F];(!K||C&&!K.endsWith("/.."))&&(K+="/"),b.path=K}function g(b,T){if(!b&&!T)return"";let x=d(b),v=x.type;if(T&&v!==i.Absolute){let A=d(T),C=A.type;switch(v){case i.Empty:x.hash=A.hash;case i.Hash:x.query=A.query;case i.Query:case i.RelativePath:h(x,A);case i.AbsolutePath:x.user=A.user,x.host=A.host,x.port=A.port;case i.SchemeRelative:x.scheme=A.scheme}C>v&&(v=C)}m(x,v);let w=x.query+x.hash;switch(v){case i.Hash:case i.Query:return w;case i.RelativePath:{let A=x.path.slice(1);return A?l(T||b)&&!l(A)?"./"+A+w:A+w:w||"."}case i.AbsolutePath:return x.path+w;default:return x.scheme+"//"+x.user+x.host+x.port+x.path+w}}return g})});var iq=E((uC,pge)=>{(function(t,e){typeof uC=="object"&&typeof pge<"u"?e(uC,uge(),cge()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.traceMapping={},t.sourcemapCodec,t.resolveURI))})(uC,function(t,e,r){"use strict";function i(me){return me&&typeof me=="object"&&"default"in me?me:{default:me}}var s=i(r);function n(me,pe){return pe&&!pe.endsWith("/")&&(pe+="/"),s.default(me,pe)}function a(me){if(!me)return"";let pe=me.lastIndexOf("/");return me.slice(0,pe+1)}let o=0,l=1,u=2,c=3,p=4,d=1,f=2;function h(me,pe){let le=m(me,0);if(le===me.length)return me;pe||(me=me.slice());for(let Fe=le;Fe<me.length;Fe=m(me,Fe+1))me[Fe]=b(me[Fe],pe);return me}function m(me,pe){for(let le=pe;le<me.length;le++)if(!g(me[le]))return le;return me.length}function g(me){for(let pe=1;pe<me.length;pe++)if(me[pe][o]<me[pe-1][o])return!1;return!0}function b(me,pe){return pe||(me=me.slice()),me.sort(T)}function T(me,pe){return me[o]-pe[o]}let x=!1;function v(me,pe,le,Fe){for(;le<=Fe;){let ve=le+(Fe-le>>1),_e=me[ve][o]-pe;if(_e===0)return x=!0,ve;_e<0?le=ve+1:Fe=ve-1}return x=!1,le-1}function w(me,pe,le){for(let Fe=le+1;Fe<me.length&&me[Fe][o]===pe;le=Fe++);return le}function A(me,pe,le){for(let Fe=le-1;Fe>=0&&me[Fe][o]===pe;le=Fe--);return le}function C(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function K(me,pe,le,Fe){let{lastKey:ve,lastNeedle:_e,lastIndex:Ze}=le,Ct=0,ht=me.length-1;if(Fe===ve){if(pe===_e)return x=Ze!==-1&&me[Ze][o]===pe,Ze;pe>=_e?Ct=Ze===-1?0:Ze:ht=Ze}return le.lastKey=Fe,le.lastNeedle=pe,le.lastIndex=v(me,pe,Ct,ht)}function F(me,pe){let le=pe.map(X);for(let Fe=0;Fe<me.length;Fe++){let ve=me[Fe];for(let _e=0;_e<ve.length;_e++){let Ze=ve[_e];if(Ze.length===1)continue;let Ct=Ze[l],ht=Ze[u],nr=Ze[c],Mr=le[Ct],jr=Mr[ht]||(Mr[ht]=[]),Si=pe[Ct],Ps=w(jr,nr,K(jr,nr,Si,ht));Q(jr,Si.lastIndex=Ps+1,[nr,Fe,Ze[o]])}}return le}function Q(me,pe,le){for(let Fe=me.length;Fe>pe;Fe--)me[Fe]=me[Fe-1];me[pe]=le}function X(){return{__proto__:null}}let Te=function(me,pe){let le=typeof me=="string"?JSON.parse(me):me;if(!("sections"in le))return new Re(le,pe);let Fe=[],ve=[],_e=[],Ze=[];qe(le,pe,Fe,ve,_e,Ze,0,0,1/0,1/0);let Ct={version:3,file:le.file,names:Ze,sources:ve,sourcesContent:_e,mappings:Fe};return t.presortedDecodedMap(Ct)};function qe(me,pe,le,Fe,ve,_e,Ze,Ct,ht,nr){let{sections:Mr}=me;for(let jr=0;jr<Mr.length;jr++){let{map:Si,offset:Ps}=Mr[jr],qs=ht,$n=nr;if(jr+1<Mr.length){let br=Mr[jr+1].offset;qs=Math.min(ht,Ze+br.line),qs===ht?$n=Math.min(nr,Ct+br.column):qs<ht&&($n=Ct+br.column)}Ke(Si,pe,le,Fe,ve,_e,Ze+Ps.line,Ct+Ps.column,qs,$n)}}function Ke(me,pe,le,Fe,ve,_e,Ze,Ct,ht,nr){if("sections"in me)return qe(...arguments);let Mr=new Re(me,pe),jr=Fe.length,Si=_e.length,Ps=t.decodedMappings(Mr),{resolvedSources:qs,sourcesContent:$n}=Mr;if(ae(Fe,qs),ae(_e,Mr.names),$n)ae(ve,$n);else for(let br=0;br<qs.length;br++)ve.push(null);for(let br=0;br<Ps.length;br++){let _s=Ze+br;if(_s>ht)return;let Cs=ne(le,_s),im=br===0?Ct:0,Zl=Ps[br];for(let Lt=0;Lt<Zl.length;Lt++){let Zn=Zl[Lt],Kt=im+Zn[o];if(_s===ht&&Kt>=nr)return;if(Zn.length===1){Cs.push([Kt]);continue}let kr=jr+Zn[l],$s=Zn[u],_n=Zn[c];Cs.push(Zn.length===4?[Kt,kr,$s,_n]:[Kt,kr,$s,_n,Si+Zn[p]])}}}function ae(me,pe){for(let le=0;le<pe.length;le++)me.push(pe[le])}function ne(me,pe){for(let le=me.length;le<=pe;le++)me[le]=[];return me[pe]}let Ce="`line` must be greater than 0 (lines start at line 1)",Ue="`column` must be greater than or equal to 0 (columns start at column 0)",Dt=-1,ce=1;t.encodedMappings=void 0,t.decodedMappings=void 0,t.traceSegment=void 0,t.originalPositionFor=void 0,t.generatedPositionFor=void 0,t.allGeneratedPositionsFor=void 0,t.eachMapping=void 0,t.sourceContentFor=void 0,t.presortedDecodedMap=void 0,t.decodedMap=void 0,t.encodedMap=void 0;class Re{constructor(pe,le){let Fe=typeof pe=="string";if(!Fe&&pe._decodedMemo)return pe;let ve=Fe?JSON.parse(pe):pe,{version:_e,file:Ze,names:Ct,sourceRoot:ht,sources:nr,sourcesContent:Mr}=ve;this.version=_e,this.file=Ze,this.names=Ct,this.sourceRoot=ht,this.sources=nr,this.sourcesContent=Mr;let jr=n(ht||"",a(le));this.resolvedSources=nr.map(Ps=>n(Ps||"",jr));let{mappings:Si}=ve;typeof Si=="string"?(this._encoded=Si,this._decoded=void 0):(this._encoded=void 0,this._decoded=h(Si,Fe)),this._decodedMemo=C(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{t.encodedMappings=pe=>{var le;return(le=pe._encoded)!==null&&le!==void 0?le:pe._encoded=e.encode(pe._decoded)},t.decodedMappings=pe=>pe._decoded||(pe._decoded=e.decode(pe._encoded)),t.traceSegment=(pe,le,Fe)=>{let ve=t.decodedMappings(pe);if(le>=ve.length)return null;let _e=ve[le],Ze=we(_e,pe._decodedMemo,le,Fe,ce);return Ze===-1?null:_e[Ze]},t.originalPositionFor=(pe,{line:le,column:Fe,bias:ve})=>{if(le--,le<0)throw new Error(Ce);if(Fe<0)throw new Error(Ue);let _e=t.decodedMappings(pe);if(le>=_e.length)return Ee(null,null,null,null);let Ze=_e[le],Ct=we(Ze,pe._decodedMemo,le,Fe,ve||ce);if(Ct===-1)return Ee(null,null,null,null);let ht=Ze[Ct];if(ht.length===1)return Ee(null,null,null,null);let{names:nr,resolvedSources:Mr}=pe;return Ee(Mr[ht[l]],ht[u]+1,ht[c],ht.length===5?nr[ht[p]]:null)},t.allGeneratedPositionsFor=(pe,{source:le,line:Fe,column:ve,bias:_e})=>me(pe,le,Fe,ve,_e||Dt,!0),t.generatedPositionFor=(pe,{source:le,line:Fe,column:ve,bias:_e})=>me(pe,le,Fe,ve,_e||ce,!1),t.eachMapping=(pe,le)=>{let Fe=t.decodedMappings(pe),{names:ve,resolvedSources:_e}=pe;for(let Ze=0;Ze<Fe.length;Ze++){let Ct=Fe[Ze];for(let ht=0;ht<Ct.length;ht++){let nr=Ct[ht],Mr=Ze+1,jr=nr[0],Si=null,Ps=null,qs=null,$n=null;nr.length!==1&&(Si=_e[nr[1]],Ps=nr[2]+1,qs=nr[3]),nr.length===5&&($n=ve[nr[4]]),le({generatedLine:Mr,generatedColumn:jr,source:Si,originalLine:Ps,originalColumn:qs,name:$n})}}},t.sourceContentFor=(pe,le)=>{let{sources:Fe,resolvedSources:ve,sourcesContent:_e}=pe;if(_e==null)return null;let Ze=Fe.indexOf(le);return Ze===-1&&(Ze=ve.indexOf(le)),Ze===-1?null:_e[Ze]},t.presortedDecodedMap=(pe,le)=>{let Fe=new Re(Z(pe,[]),le);return Fe._decoded=pe.mappings,Fe},t.decodedMap=pe=>Z(pe,t.decodedMappings(pe)),t.encodedMap=pe=>Z(pe,t.encodedMappings(pe));function me(pe,le,Fe,ve,_e,Ze){if(Fe--,Fe<0)throw new Error(Ce);if(ve<0)throw new Error(Ue);let{sources:Ct,resolvedSources:ht}=pe,nr=Ct.indexOf(le);if(nr===-1&&(nr=ht.indexOf(le)),nr===-1)return Ze?[]:xe(null,null);let jr=(pe._bySources||(pe._bySources=F(t.decodedMappings(pe),pe._bySourceMemos=Ct.map(C))))[nr][Fe];if(jr==null)return Ze?[]:xe(null,null);let Si=pe._bySourceMemos[nr];if(Ze)return Be(jr,Si,Fe,ve,_e);let Ps=we(jr,Si,Fe,ve,_e);if(Ps===-1)return xe(null,null);let qs=jr[Ps];return xe(qs[d]+1,qs[f])}})();function Z(me,pe){return{version:me.version,file:me.file,names:me.names,sourceRoot:me.sourceRoot,sources:me.sources,sourcesContent:me.sourcesContent,mappings:pe}}function Ee(me,pe,le,Fe){return{source:me,line:pe,column:le,name:Fe}}function xe(me,pe){return{line:me,column:pe}}function we(me,pe,le,Fe,ve){let _e=K(me,Fe,pe,le);return x?_e=(ve===Dt?w:A)(me,Fe,_e):ve===Dt&&_e++,_e===-1||_e===me.length?-1:_e}function Be(me,pe,le,Fe,ve){let _e=we(me,pe,le,Fe,ce);if(!x&&ve===Dt&&_e++,_e===-1||_e===me.length)return[];let Ze=x?Fe:me[_e][o];x||(_e=A(me,Ze,_e));let Ct=w(me,Ze,_e),ht=[];for(;_e<=Ct;_e++){let nr=me[_e];ht.push(xe(nr[d]+1,nr[f]))}return ht}t.AnyMap=Te,t.GREATEST_LOWER_BOUND=ce,t.LEAST_UPPER_BOUND=Dt,t.TraceMap=Re,Object.defineProperty(t,"__esModule",{value:!0})})});var dge=E((cC,fge)=>{(function(t,e){typeof cC=="object"&&typeof fge<"u"?e(cC,nge(),oge(),iq()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.genMapping={},t.setArray,t.sourcemapCodec,t.traceMapping))})(cC,function(t,e,r,i){"use strict";t.addSegment=void 0,t.addMapping=void 0,t.maybeAddSegment=void 0,t.maybeAddMapping=void 0,t.setSourceContent=void 0,t.toDecodedMap=void 0,t.toEncodedMap=void 0,t.fromMap=void 0,t.allMappings=void 0;let c;class p{constructor({file:w,sourceRoot:A}={}){this._names=new e.SetArray,this._sources=new e.SetArray,this._sourcesContent=[],this._mappings=[],this.file=w,this.sourceRoot=A}}t.addSegment=(v,w,A,C,K,F,Q,X)=>c(!1,v,w,A,C,K,F,Q,X),t.maybeAddSegment=(v,w,A,C,K,F,Q,X)=>c(!0,v,w,A,C,K,F,Q,X),t.addMapping=(v,w)=>x(!1,v,w),t.maybeAddMapping=(v,w)=>x(!0,v,w),t.setSourceContent=(v,w,A)=>{let{_sources:C,_sourcesContent:K}=v;K[e.put(C,w)]=A},t.toDecodedMap=v=>{let{file:w,sourceRoot:A,_mappings:C,_sources:K,_sourcesContent:F,_names:Q}=v;return m(C),{version:3,file:w||void 0,names:Q.array,sourceRoot:A||void 0,sources:K.array,sourcesContent:F,mappings:C}},t.toEncodedMap=v=>{let w=t.toDecodedMap(v);return Object.assign(Object.assign({},w),{mappings:r.encode(w.mappings)})},t.allMappings=v=>{let w=[],{_mappings:A,_sources:C,_names:K}=v;for(let F=0;F<A.length;F++){let Q=A[F];for(let X=0;X<Q.length;X++){let Te=Q[X],qe={line:F+1,column:Te[0]},Ke,ae,ne;Te.length!==1&&(Ke=C.array[Te[1]],ae={line:Te[2]+1,column:Te[3]},Te.length===5&&(ne=K.array[Te[4]])),w.push({generated:qe,source:Ke,original:ae,name:ne})}}return w},t.fromMap=v=>{let w=new i.TraceMap(v),A=new p({file:w.file,sourceRoot:w.sourceRoot});return g(A._names,w.names),g(A._sources,w.sources),A._sourcesContent=w.sourcesContent||w.sources.map(()=>null),A._mappings=i.decodedMappings(w),A},c=(v,w,A,C,K,F,Q,X,Te)=>{let{_mappings:qe,_sources:Ke,_sourcesContent:ae,_names:ne}=w,Ce=d(qe,A),Ue=f(Ce,C);if(!K)return v&&b(Ce,Ue)?void 0:h(Ce,Ue,[C]);let Dt=e.put(Ke,K),ce=X?e.put(ne,X):-1;if(Dt===ae.length&&(ae[Dt]=Te!=null?Te:null),!(v&&T(Ce,Ue,Dt,F,Q,ce)))return h(Ce,Ue,X?[C,Dt,F,Q,ce]:[C,Dt,F,Q])};function d(v,w){for(let A=v.length;A<=w;A++)v[A]=[];return v[w]}function f(v,w){let A=v.length;for(let C=A-1;C>=0;A=C--){let K=v[C];if(w>=K[0])break}return A}function h(v,w,A){for(let C=v.length;C>w;C--)v[C]=v[C-1];v[w]=A}function m(v){let{length:w}=v,A=w;for(let C=A-1;C>=0&&!(v[C].length>0);A=C,C--);A<w&&(v.length=A)}function g(v,w){for(let A=0;A<w.length;A++)e.put(v,w[A])}function b(v,w){return w===0?!0:v[w-1].length===1}function T(v,w,A,C,K,F){if(w===0)return!1;let Q=v[w-1];return Q.length===1?!1:A===Q[1]&&C===Q[2]&&K===Q[3]&&F===(Q.length===5?Q[4]:-1)}function x(v,w,A){let{generated:C,source:K,original:F,name:Q,content:X}=A;if(!K)return c(v,w,C.line-1,C.column,null,null,null,null,null);let Te=K;return c(v,w,C.line-1,C.column,Te,F.line-1,F.column,Q,X)}t.GenMapping=p,Object.defineProperty(t,"__esModule",{value:!0})})});var hge=E(pC=>{"use strict";Object.defineProperty(pC,"__esModule",{value:!0});pC.default=void 0;var Jd=dge(),sq=iq(),nq=class{constructor(e,r){var i;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let s=this._map=new Jd.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=(i=e.sourceFileName)==null?void 0:i.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new sq.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var n;(0,Jd.setSourceContent)(s,a[o],(n=this._inputMap.sourcesContent)==null?void 0:n[o])}}if(typeof r=="string"&&!e.inputSourceMap)(0,Jd.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,Jd.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,Jd.toEncodedMap)(this._map)}getDecoded(){return(0,Jd.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,Jd.allMappings)(this._map))}mark(e,r,i,s,n,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,sq.originalPositionFor)(this._inputMap,{line:r,column:i}),!l.name&&n){let u=(0,sq.originalPositionFor)(this._inputMap,n);u.name&&(s=u.name)}}else l={source:(a==null?void 0:a.replace(/\\/g,"/"))||this._sourceFileName,line:r,column:i};(0,Jd.maybeAddMapping)(this._map,{name:s,generated:e,source:(o=l)==null?void 0:o.source,original:l})}};pC.default=nq});var mge=E(fC=>{"use strict";Object.defineProperty(fC,"__esModule",{value:!0});fC.default=void 0;var aq=class{constructor(e,r){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=r;for(let i=0;i<64;i++)this._fastIndentations.push(r.repeat(i));this._allocQueue()}_allocQueue(){let e=this._queue;for(let r=0;r<16;r++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,r,i,s,n){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=e,o.repeat=r,o.line=i,o.column=s,o.filename=n,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:e==null?void 0:e.getDecoded(),get __mergedMap(){return this.map},get map(){let i=e?e.get():null;return r.map=i,i},set map(i){Object.defineProperty(r,"map",{value:i,writable:!0})},get rawMappings(){let i=e==null?void 0:e.getRawMappings();return r.rawMappings=i,i},set rawMappings(i){Object.defineProperty(r,"rawMappings",{value:i,writable:!0})}};return r}append(e,r){this._flush(),this._append(e,this._sourcePosition,r)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10)for(;this._queueCursor!==0;){let i=this._queue[this._queueCursor-1].char;if(i!==32&&i!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(e,1,r.line,r.column,r.filename)}queueIndentation(e){e!==0&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,r=this._queue;for(let i=0;i<e;i++){let s=r[i];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(e,r,i){if(this._last=e,e===-1){let s=this._fastIndentations[r];s!==void 0?this._str+=s:this._str+=r>1?this._indentChar.repeat(r):this._indentChar}else this._str+=r>1?String.fromCharCode(e).repeat(r):String.fromCharCode(e);e!==10?(this._mark(i.line,i.column,i.identifierName,i.identifierNamePos,i.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(i.identifierName=void 0,i.identifierNamePos=void 0)}_append(e,r,i){let s=e.length,n=this._position;if(this._last=e.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!i&&!this._map){n.column+=s;return}let{column:a,identifierName:o,identifierNamePos:l,filename:u}=r,c=r.line;(o!=null||l!=null)&&this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0);let p=e.indexOf(`
|
|
382
382
|
`),d=0;for(p!==0&&this._mark(c,a,o,l,u);p!==-1;)n.line++,n.column=0,d=p+1,d<s&&c!==void 0&&this._mark(++c,0,null,null,u),p=e.indexOf(`
|
|
383
383
|
`,d);n.column+=s-d}_mark(e,r,i,s,n){var a;(a=this._map)==null||a.mark(this._position,e,r,i,s,n)}removeTrailingNewline(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===10&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===59&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return e!==0?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,r=0;if(e===0)return this._last===10?1:0;for(let i=e-1;i>=0&&this._queue[i].char===10;i--)r++;return r===e&&this._last===10?r+1:r}endsWithCharAndNewline(){let e=this._queue,r=this._queueCursor;if(r!==0)return e[r-1].char!==10?void 0:r>1?e[r-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(e,r){if(!this._map){r();return}this.source("start",e);let i=e.identifierName,s=this._sourcePosition;i&&(this._canMarkIdName=!1,s.identifierName=i),r(),i&&(this._canMarkIdName=!0,s.identifierName=void 0,s.identifierNamePos=void 0),this.source("end",e)}source(e,r){this._map&&this._normalizePosition(e,r,0)}sourceWithOffset(e,r,i){this._map&&this._normalizePosition(e,r,i)}withSource(e,r,i){this._map&&this.source(e,r),i()}_normalizePosition(e,r,i){let s=r[e],n=this._sourcePosition;s&&(n.line=s.line,n.column=Math.max(s.column+i,0),n.filename=r.filename)}getCurrentColumn(){let e=this._queue,r=this._queueCursor,i=-1,s=0;for(let n=0;n<r;n++){let a=e[n];a.char===10&&(i=s),s+=a.repeat}return i===-1?this._position.column+s:s-1-i}getCurrentLine(){let e=0,r=this._queue;for(let i=0;i<this._queueCursor;i++)r[i].char===10&&e++;return this._position.line+e}};fC.default=aq});var Sge=E(hC=>{"use strict";Object.defineProperty(hC,"__esModule",{value:!0});hC.nodes=void 0;var gIt=gr(),{FLIPPED_ALIAS_KEYS:bIt,isArrayExpression:vIt,isAssignmentExpression:gge,isBinary:bge,isBlockStatement:SIt,isCallExpression:vge,isFunction:tx,isIdentifier:dC,isLiteral:TIt,isMemberExpression:oq,isObjectExpression:xIt,isOptionalCallExpression:EIt,isOptionalMemberExpression:wIt,isStringLiteral:AIt}=gIt;function lb(t,e){return t&&(oq(t)||wIt(t)?(lb(t.object,e),t.computed&&lb(t.property,e)):bge(t)||gge(t)?(lb(t.left,e),lb(t.right,e)):vge(t)||EIt(t)?(e.hasCall=!0,lb(t.callee,e)):tx(t)?e.hasFunction=!0:dC(t)&&(e.hasHelper=e.hasHelper||t.callee&&Qp(t.callee))),e}function yge(t){return lb(t,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function Qp(t){return t?oq(t)?Qp(t.object)||Qp(t.property):dC(t)?t.name==="require"||t.name.charCodeAt(0)===95:vge(t)?Qp(t.callee):bge(t)||gge(t)?dC(t.left)&&Qp(t.left)||Qp(t.right):!1:!1}function PIt(t){return TIt(t)||xIt(t)||vIt(t)||dC(t)||oq(t)}var N0=hC.nodes={AssignmentExpression(t){let e=yge(t.right);if(e.hasCall&&e.hasHelper||e.hasFunction)return e.hasFunction?3:2},SwitchCase(t,e){return(t.consequent.length||e.cases[0]===t?1:0)|(!t.consequent.length&&e.cases[e.cases.length-1]===t?2:0)},LogicalExpression(t){if(tx(t.left)||tx(t.right))return 2},Literal(t){if(AIt(t)&&t.value==="use strict")return 2},CallExpression(t){if(tx(t.callee)||Qp(t))return 3},OptionalCallExpression(t){if(tx(t.callee))return 3},VariableDeclaration(t){for(let e=0;e<t.declarations.length;e++){let r=t.declarations[e],i=Qp(r.id)&&!PIt(r.init);if(!i&&r.init){let s=yge(r.init);i=Qp(r.init)&&s.hasCall||s.hasFunction}if(i)return 3}},IfStatement(t){if(SIt(t.consequent))return 3}};N0.ObjectProperty=N0.ObjectTypeProperty=N0.ObjectMethod=function(t,e){if(e.properties[0]===t)return 1};N0.ObjectTypeCallProperty=function(t,e){var r;if(e.callProperties[0]===t&&!((r=e.properties)!=null&&r.length))return 1};N0.ObjectTypeIndexer=function(t,e){var r,i;if(e.indexers[0]===t&&!((r=e.properties)!=null&&r.length)&&!((i=e.callProperties)!=null&&i.length))return 1};N0.ObjectTypeInternalSlot=function(t,e){var r,i,s;if(e.internalSlots[0]===t&&!((r=e.properties)!=null&&r.length)&&!((i=e.callProperties)!=null&&i.length)&&!((s=e.indexers)!=null&&s.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([t,e]){[t].concat(bIt[t]||[]).forEach(function(r){let i=e?3:0;N0[r]=()=>i})})});var Age=E(yi=>{"use strict";Object.defineProperty(yi,"__esModule",{value:!0});yi.ArrowFunctionExpression=t7t;yi.AssignmentExpression=i7t;yi.Binary=$It;yi.BinaryExpression=JIt;yi.ClassExpression=ZIt;yi.ConditionalExpression=lq;yi.DoExpression=qIt;yi.FunctionExpression=e7t;yi.FunctionTypeAnnotation=jIt;yi.Identifier=n7t;yi.LogicalExpression=s7t;yi.NullableTypeAnnotation=MIt;yi.ObjectExpression=UIt;yi.OptionalIndexedAccessType=WIt;yi.OptionalCallExpression=yi.OptionalMemberExpression=r7t;yi.SequenceExpression=XIt;yi.TSTypeAssertion=yi.TSSatisfiesExpression=yi.TSAsExpression=GIt;yi.TSInferType=HIt;yi.TSInstantiationExpression=YIt;yi.TSIntersectionType=yi.TSUnionType=zIt;yi.UnaryLike=wge;yi.IntersectionTypeAnnotation=yi.UnionTypeAnnotation=KIt;yi.UpdateExpression=VIt;yi.AwaitExpression=yi.YieldExpression=QIt;var _It=gr(),{isArrayTypeAnnotation:CIt,isArrowFunctionExpression:DIt,isBinaryExpression:NIt,isCallExpression:IIt,isExportDeclaration:OIt,isForOfStatement:kIt,isIndexedAccessType:LIt,isMemberExpression:xge,isObjectPattern:FIt,isOptionalMemberExpression:RIt,isYieldExpression:BIt}=_It,Tge=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function Ege(t){return t==="TSAsExpression"||t==="TSSatisfiesExpression"||t==="TSTypeAssertion"}var mC=(t,e)=>{let r=e.type;return(r==="ClassDeclaration"||r==="ClassExpression")&&e.superClass===t},rx=(t,e)=>{let r=e.type;return(r==="MemberExpression"||r==="OptionalMemberExpression")&&e.object===t||(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression")&&e.callee===t||r==="TaggedTemplateExpression"&&e.tag===t||r==="TSNonNullExpression"};function MIt(t,e){return CIt(e)}function jIt(t,e,r){if(r.length<3)return;let i=e.type;return i==="UnionTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="ArrayTypeAnnotation"||i==="TypeAnnotation"&&DIt(r[r.length-3])}function VIt(t,e){return rx(t,e)||mC(t,e)}function UIt(t,e,r){return ix(r,3)}function qIt(t,e,r){return!t.async&&ix(r,1)}function $It(t,e){let r=e.type;if(t.operator==="**"&&r==="BinaryExpression"&&e.operator==="**")return e.left===t;if(mC(t,e)||rx(t,e)||r==="UnaryExpression"||r==="SpreadElement"||r==="AwaitExpression")return!0;if(r==="BinaryExpression"||r==="LogicalExpression"){let i=Tge.get(e.operator),s=Tge.get(t.operator);if(i===s&&e.right===t&&r!=="LogicalExpression"||i>s)return!0}}function KIt(t,e){let r=e.type;return r==="ArrayTypeAnnotation"||r==="NullableTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="UnionTypeAnnotation"}function WIt(t,e){return LIt(e)&&e.objectType===t}function GIt(){return!0}function zIt(t,e){let r=e.type;return r==="TSArrayType"||r==="TSOptionalType"||r==="TSIntersectionType"||r==="TSUnionType"||r==="TSRestType"}function HIt(t,e){let r=e.type;return r==="TSArrayType"||r==="TSOptionalType"}function YIt(t,e){let r=e.type;return(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression"||r==="TSInstantiationExpression")&&!!e.typeParameters}function JIt(t,e){if(t.operator==="in"){let r=e.type;return r==="VariableDeclarator"||r==="ForStatement"||r==="ForInStatement"||r==="ForOfStatement"}return!1}function XIt(t,e){let r=e.type;return!(r==="ForStatement"||r==="ThrowStatement"||r==="ReturnStatement"||r==="IfStatement"&&e.test===t||r==="WhileStatement"&&e.test===t||r==="ForInStatement"&&e.right===t||r==="SwitchStatement"&&e.discriminant===t||r==="ExpressionStatement"&&e.expression===t)}function QIt(t,e){let r=e.type;return r==="BinaryExpression"||r==="LogicalExpression"||r==="UnaryExpression"||r==="SpreadElement"||rx(t,e)||r==="AwaitExpression"&&BIt(t)||r==="ConditionalExpression"&&t===e.test||mC(t,e)}function ZIt(t,e,r){return ix(r,5)}function wge(t,e){return rx(t,e)||NIt(e)&&e.operator==="**"&&e.left===t||mC(t,e)}function e7t(t,e,r){return ix(r,5)}function t7t(t,e){return OIt(e)||lq(t,e)}function lq(t,e){let r=e.type;return r==="UnaryExpression"||r==="SpreadElement"||r==="BinaryExpression"||r==="LogicalExpression"||r==="ConditionalExpression"&&e.test===t||r==="AwaitExpression"||Ege(r)?!0:wge(t,e)}function r7t(t,e){return IIt(e)&&e.callee===t||xge(e)&&e.object===t}function i7t(t,e){return FIt(t.left)?!0:lq(t,e)}function s7t(t,e){let r=e.type;if(Ege(r))return!0;if(r!=="LogicalExpression")return!1;switch(t.operator){case"||":return e.operator==="??"||e.operator==="&&";case"&&":return e.operator==="??";case"??":return e.operator!=="??"}}function n7t(t,e,r){var i;let s=e.type;if((i=t.extra)!=null&&i.parenthesized&&s==="AssignmentExpression"&&e.left===t){let n=e.right.type;if((n==="FunctionExpression"||n==="ClassExpression")&&e.right.id==null)return!0}if(t.name==="let"){let n=xge(e,{object:t,computed:!0})||RIt(e,{object:t,computed:!0,optional:!1});return ix(r,n?57:32)}return t.name==="async"&&kIt(e)&&t===e.left}function ix(t,e){let r=e&1,i=e&2,s=e&4,n=e&8,a=e&16,o=e&32,l=t.length-1;if(l<=0)return;let u=t[l];l--;let c=t[l];for(;l>=0;){let p=c.type;if(r&&p==="ExpressionStatement"&&c.expression===u||s&&p==="ExportDefaultDeclaration"&&u===c.declaration||i&&p==="ArrowFunctionExpression"&&c.body===u||n&&p==="ForStatement"&&c.init===u||a&&p==="ForInStatement"&&c.left===u||o&&p==="ForOfStatement"&&c.left===u)return!0;if(l>0&&(rx(u,c)&&p!=="NewExpression"||p==="SequenceExpression"&&c.expressions[0]===u||p==="UpdateExpression"&&!c.prefix||p==="ConditionalExpression"&&c.test===u||(p==="BinaryExpression"||p==="LogicalExpression")&&c.left===u||p==="AssignmentExpression"&&c.left===u))u=c,l--,c=t[l];else return!1}return!1}});var cq=E(ub=>{"use strict";Object.defineProperty(ub,"__esModule",{value:!0});ub.needsParens=b7t;ub.needsWhitespace=uq;ub.needsWhitespaceAfter=g7t;ub.needsWhitespaceBefore=y7t;var a7t=Sge(),o7t=Age(),l7t=gr(),{FLIPPED_ALIAS_KEYS:u7t,isCallExpression:c7t,isExpressionStatement:p7t,isMemberExpression:f7t,isNewExpression:d7t}=l7t;function Pge(t){let e=new Map;function r(i,s){let n=e.get(i);e.set(i,n?function(a,o,l){var u;return(u=n(a,o,l))!=null?u:s(a,o,l)}:s)}for(let i of Object.keys(t)){let s=u7t[i];if(s)for(let n of s)r(n,t[i]);else r(i,t[i])}return e}var h7t=Pge(o7t),m7t=Pge(a7t.nodes);function _ge(t){return c7t(t)?!0:f7t(t)&&_ge(t.object)}function uq(t,e,r){var i;if(!t)return!1;p7t(t)&&(t=t.expression);let s=(i=m7t.get(t.type))==null?void 0:i(t,e);return typeof s=="number"?(s&r)!==0:!1}function y7t(t,e){return uq(t,e,1)}function g7t(t,e){return uq(t,e,2)}function b7t(t,e,r){var i;return e?d7t(e)&&e.callee===t&&_ge(t)?!0:(i=h7t.get(t.type))==null?void 0:i(t,e,r):!1}});var Cge=E(sx=>{"use strict";Object.defineProperty(sx,"__esModule",{value:!0});sx.TaggedTemplateExpression=v7t;sx.TemplateElement=S7t;sx.TemplateLiteral=T7t;function v7t(t){this.print(t.tag,t),this.print(t.typeParameters,t),this.print(t.quasi,t)}function S7t(t,e){let r=e.quasis[0]===t,i=e.quasis[e.quasis.length-1]===t,s=(r?"`":"}")+t.value.raw+(i?"`":"${");this.token(s,!0)}function T7t(t){let e=t.quasis;for(let r=0;r<e.length;r++)this.print(e[r],t),r+1<e.length&&this.print(t.expressions[r],t)}});var Ige=E(Ei=>{"use strict";Object.defineProperty(Ei,"__esModule",{value:!0});Ei.LogicalExpression=Ei.BinaryExpression=Ei.AssignmentExpression=z7t;Ei.AssignmentPattern=G7t;Ei.AwaitExpression=q7t;Ei.BindExpression=H7t;Ei.CallExpression=V7t;Ei.ConditionalExpression=N7t;Ei.Decorator=B7t;Ei.DoExpression=_7t;Ei.EmptyStatement=K7t;Ei.ExpressionStatement=W7t;Ei.Import=U7t;Ei.MemberExpression=Y7t;Ei.MetaProperty=J7t;Ei.ModuleExpression=Z7t;Ei.NewExpression=I7t;Ei.OptionalCallExpression=j7t;Ei.OptionalMemberExpression=M7t;Ei.ParenthesizedExpression=C7t;Ei.PrivateName=X7t;Ei.SequenceExpression=O7t;Ei.Super=L7t;Ei.ThisExpression=k7t;Ei.UnaryExpression=P7t;Ei.UpdateExpression=D7t;Ei.V8IntrinsicIdentifier=Q7t;Ei.YieldExpression=$7t;Ei._shouldPrintDecoratorsBeforeExport=R7t;var x7t=gr(),E7t=cq(),{isCallExpression:w7t,isLiteral:Dge,isMemberExpression:pq,isNewExpression:A7t}=x7t;function P7t(t){let{operator:e}=t;e==="void"||e==="delete"||e==="typeof"||e==="throw"?(this.word(e),this.space()):this.token(e),this.print(t.argument,t)}function _7t(t){t.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(t.body,t)}function C7t(t){this.tokenChar(40),this.print(t.expression,t),this.rightParens(t)}function D7t(t){t.prefix?(this.token(t.operator),this.print(t.argument,t)):(this.printTerminatorless(t.argument,t,!0),this.token(t.operator))}function N7t(t){this.print(t.test,t),this.space(),this.tokenChar(63),this.space(),this.print(t.consequent,t),this.space(),this.tokenChar(58),this.space(),this.print(t.alternate,t)}function I7t(t,e){this.word("new"),this.space(),this.print(t.callee,t),!(this.format.minified&&t.arguments.length===0&&!t.optional&&!w7t(e,{callee:t})&&!pq(e)&&!A7t(e))&&(this.print(t.typeArguments,t),this.print(t.typeParameters,t),t.optional&&this.token("?."),this.tokenChar(40),this.printList(t.arguments,t),this.rightParens(t))}function O7t(t){this.printList(t.expressions,t)}function k7t(){this.word("this")}function L7t(){this.word("super")}function Nge(t){switch(t.type){case"Identifier":return!0;case"MemberExpression":return!t.computed&&t.property.type==="Identifier"&&Nge(t.object);default:return!1}}function F7t(t){return t.type==="ParenthesizedExpression"?!1:!Nge(t.type==="CallExpression"?t.callee:t)}function R7t(t){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof t.start=="number"&&t.start===t.declaration.start}function B7t(t){this.tokenChar(64);let{expression:e}=t;F7t(e)?(this.tokenChar(40),this.print(e,t),this.tokenChar(41)):this.print(e,t),this.newline()}function M7t(t){let{computed:e}=t,{optional:r,property:i}=t;if(this.print(t.object,t),!e&&pq(i))throw new TypeError("Got a MemberExpression for MemberExpression property");Dge(i)&&typeof i.value=="number"&&(e=!0),r&&this.token("?."),e?(this.tokenChar(91),this.print(i,t),this.tokenChar(93)):(r||this.tokenChar(46),this.print(i,t))}function j7t(t){this.print(t.callee,t),this.print(t.typeParameters,t),t.optional&&this.token("?."),this.print(t.typeArguments,t),this.tokenChar(40),this.printList(t.arguments,t),this.rightParens(t)}function V7t(t){this.print(t.callee,t),this.print(t.typeArguments,t),this.print(t.typeParameters,t),this.tokenChar(40),this.printList(t.arguments,t),this.rightParens(t)}function U7t(){this.word("import")}function q7t(t){this.word("await"),t.argument&&(this.space(),this.printTerminatorless(t.argument,t,!1))}function $7t(t){this.word("yield",!0),t.delegate?(this.tokenChar(42),t.argument&&(this.space(),this.print(t.argument,t))):t.argument&&(this.space(),this.printTerminatorless(t.argument,t,!1))}function K7t(){this.semicolon(!0)}function W7t(t){this.print(t.expression,t),this.semicolon()}function G7t(t){this.print(t.left,t),t.left.optional&&this.tokenChar(63),this.print(t.left.typeAnnotation,t),this.space(),this.tokenChar(61),this.space(),this.print(t.right,t)}function z7t(t,e){let r=this.inForStatementInitCounter&&t.operator==="in"&&!E7t.needsParens(t,e);r&&this.tokenChar(40),this.print(t.left,t),this.space(),t.operator==="in"||t.operator==="instanceof"?this.word(t.operator):this.token(t.operator),this.space(),this.print(t.right,t),r&&this.tokenChar(41)}function H7t(t){this.print(t.object,t),this.token("::"),this.print(t.callee,t)}function Y7t(t){if(this.print(t.object,t),!t.computed&&pq(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let e=t.computed;Dge(t.property)&&typeof t.property.value=="number"&&(e=!0),e?(this.tokenChar(91),this.print(t.property,t),this.tokenChar(93)):(this.tokenChar(46),this.print(t.property,t))}function J7t(t){this.print(t.meta,t),this.tokenChar(46),this.print(t.property,t)}function X7t(t){this.tokenChar(35),this.print(t.id,t)}function Q7t(t){this.tokenChar(37),this.word(t.name)}function Z7t(t){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:e}=t;(e.body.length||e.directives.length)&&this.newline(),this.print(e,t),this.dedent(),this.rightBrace(t)}});var Fge=E(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.BreakStatement=uOt;Es.CatchClause=mOt;Es.ContinueStatement=cOt;Es.DebuggerStatement=bOt;Es.DoWhileStatement=lOt;Es.ForOfStatement=Es.ForInStatement=void 0;Es.ForStatement=aOt;Es.IfStatement=nOt;Es.LabeledStatement=dOt;Es.ReturnStatement=pOt;Es.SwitchCase=gOt;Es.SwitchStatement=yOt;Es.ThrowStatement=fOt;Es.TryStatement=hOt;Es.VariableDeclaration=vOt;Es.VariableDeclarator=SOt;Es.WhileStatement=oOt;Es.WithStatement=sOt;var eOt=gr(),{isFor:Oge,isForStatement:tOt,isIfStatement:rOt,isStatement:iOt}=eOt;function sOt(t){this.word("with"),this.space(),this.tokenChar(40),this.print(t.object,t),this.tokenChar(41),this.printBlock(t)}function nOt(t){this.word("if"),this.space(),this.tokenChar(40),this.print(t.test,t),this.tokenChar(41),this.space();let e=t.alternate&&rOt(kge(t.consequent));e&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(t.consequent,t),e&&(this.dedent(),this.newline(),this.tokenChar(125)),t.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(t.alternate,t))}function kge(t){let{body:e}=t;return iOt(e)===!1?t:kge(e)}function aOt(t){this.word("for"),this.space(),this.tokenChar(40),this.inForStatementInitCounter++,this.print(t.init,t),this.inForStatementInitCounter--,this.tokenChar(59),t.test&&(this.space(),this.print(t.test,t)),this.tokenChar(59),t.update&&(this.space(),this.print(t.update,t)),this.tokenChar(41),this.printBlock(t)}function oOt(t){this.word("while"),this.space(),this.tokenChar(40),this.print(t.test,t),this.tokenChar(41),this.printBlock(t)}function Lge(t){this.word("for"),this.space();let e=t.type==="ForOfStatement";e&&t.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40),this.print(t.left,t),this.space(),this.word(e?"of":"in"),this.space(),this.print(t.right,t),this.tokenChar(41),this.printBlock(t)}var mNr=Es.ForInStatement=Lge,yNr=Es.ForOfStatement=Lge;function lOt(t){this.word("do"),this.space(),this.print(t.body,t),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(t.test,t),this.tokenChar(41),this.semicolon()}function yC(t,e,r,i){e&&(t.space(),t.printTerminatorless(e,r,i)),t.semicolon()}function uOt(t){this.word("break"),yC(this,t.label,t,!0)}function cOt(t){this.word("continue"),yC(this,t.label,t,!0)}function pOt(t){this.word("return"),yC(this,t.argument,t,!1)}function fOt(t){this.word("throw"),yC(this,t.argument,t,!1)}function dOt(t){this.print(t.label,t),this.tokenChar(58),this.space(),this.print(t.body,t)}function hOt(t){this.word("try"),this.space(),this.print(t.block,t),this.space(),t.handlers?this.print(t.handlers[0],t):this.print(t.handler,t),t.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(t.finalizer,t))}function mOt(t){this.word("catch"),this.space(),t.param&&(this.tokenChar(40),this.print(t.param,t),this.print(t.param.typeAnnotation,t),this.tokenChar(41),this.space()),this.print(t.body,t)}function yOt(t){this.word("switch"),this.space(),this.tokenChar(40),this.print(t.discriminant,t),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(t.cases,t,{indent:!0,addNewlines(e,r){if(!e&&t.cases[t.cases.length-1]===r)return-1}}),this.rightBrace(t)}function gOt(t){t.test?(this.word("case"),this.space(),this.print(t.test,t),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),t.consequent.length&&(this.newline(),this.printSequence(t.consequent,t,{indent:!0}))}function bOt(){this.word("debugger"),this.semicolon()}function vOt(t,e){t.declare&&(this.word("declare"),this.space());let{kind:r}=t;this.word(r,r==="using"||r==="await using"),this.space();let i=!1;if(!Oge(e))for(let s of t.declarations)s.init&&(i=!0);if(this.printList(t.declarations,t,{separator:i?function(){this.tokenChar(44),this.newline()}:void 0,indent:t.declarations.length>1}),Oge(e)){if(tOt(e)){if(e.init===t)return}else if(e.left===t)return}this.semicolon()}function SOt(t){this.print(t.id,t),t.definite&&this.tokenChar(33),this.print(t.id.typeAnnotation,t),t.init&&(this.space(),this.tokenChar(61),this.space(),this.print(t.init,t))}});var Rge=E(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.ClassAccessorProperty=_Ot;Bl.ClassBody=AOt;Bl.ClassExpression=Bl.ClassDeclaration=wOt;Bl.ClassMethod=DOt;Bl.ClassPrivateMethod=NOt;Bl.ClassPrivateProperty=COt;Bl.ClassProperty=POt;Bl.StaticBlock=OOt;Bl._classMethodHead=IOt;var TOt=gr(),{isExportDefaultDeclaration:xOt,isExportNamedDeclaration:EOt}=TOt;function wOt(t,e){(!(xOt(e)||EOt(e))||!this._shouldPrintDecoratorsBeforeExport(e))&&this.printJoin(t.decorators,t),t.declare&&(this.word("declare"),this.space()),t.abstract&&(this.word("abstract"),this.space()),this.word("class"),t.id&&(this.space(),this.print(t.id,t)),this.print(t.typeParameters,t),t.superClass&&(this.space(),this.word("extends"),this.space(),this.print(t.superClass,t),this.print(t.superTypeParameters,t)),t.implements&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements,t)),this.space(),this.print(t.body,t)}function AOt(t){this.tokenChar(123),t.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(t.body,t,{indent:!0}),this.endsWith(10)||this.newline(),this.rightBrace(t))}function POt(t){var e;this.printJoin(t.decorators,t);let r=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(t),t.computed?(this.tokenChar(91),this.print(t.key,t),this.tokenChar(93)):(this._variance(t),this.print(t.key,t)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation,t),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value,t)),this.semicolon()}function _Ot(t){var e;this.printJoin(t.decorators,t);let r=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(t),this.word("accessor",!0),this.space(),t.computed?(this.tokenChar(91),this.print(t.key,t),this.tokenChar(93)):(this._variance(t),this.print(t.key,t)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation,t),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value,t)),this.semicolon()}function COt(t){this.printJoin(t.decorators,t),t.static&&(this.word("static"),this.space()),this.print(t.key,t),this.print(t.typeAnnotation,t),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value,t)),this.semicolon()}function DOt(t){this._classMethodHead(t),this.space(),this.print(t.body,t)}function NOt(t){this._classMethodHead(t),this.space(),this.print(t.body,t)}function IOt(t){var e;this.printJoin(t.decorators,t);let r=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(t),this._methodHead(t)}function OOt(t){this.word("static"),this.space(),this.tokenChar(123),t.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(t.body,t,{indent:!0}),this.rightBrace(t))}});var Bge=E(wu=>{"use strict";Object.defineProperty(wu,"__esModule",{value:!0});wu.ArrowFunctionExpression=qOt;wu.FunctionDeclaration=wu.FunctionExpression=UOt;wu._functionHead=VOt;wu._methodHead=MOt;wu._param=BOt;wu._parameters=ROt;wu._params=FOt;wu._predicate=jOt;var kOt=gr(),{isIdentifier:LOt}=kOt;function FOt(t,e,r){this.print(t.typeParameters,t);let i=KOt.call(this,e,r);i&&this.sourceIdentifierName(i.name,i.pos),this.tokenChar(40),this._parameters(t.params,t),this.tokenChar(41);let s=t.type==="ArrowFunctionExpression";this.print(t.returnType,t,s),this._noLineTerminator=s}function ROt(t,e){let r=t.length;for(let i=0;i<r;i++)this._param(t[i],e),i<t.length-1&&(this.tokenChar(44),this.space())}function BOt(t,e){this.printJoin(t.decorators,t),this.print(t,e),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation,t)}function MOt(t){let e=t.kind,r=t.key;(e==="get"||e==="set")&&(this.word(e),this.space()),t.async&&(this.word("async",!0),this.space()),(e==="method"||e==="init")&&t.generator&&this.tokenChar(42),t.computed?(this.tokenChar(91),this.print(r,t),this.tokenChar(93)):this.print(r,t),t.optional&&this.tokenChar(63),this._params(t,t.computed&&t.key.type!=="StringLiteral"?void 0:t.key,void 0)}function jOt(t,e){t.predicate&&(t.returnType||this.tokenChar(58),this.space(),this.print(t.predicate,t,e))}function VOt(t,e){t.async&&(this.word("async"),this._endsWithInnerRaw=!1,this.space()),this.word("function"),t.generator&&(this._endsWithInnerRaw=!1,this.tokenChar(42)),this.space(),t.id&&this.print(t.id,t),this._params(t,t.id,e),t.type!=="TSDeclareFunction"&&this._predicate(t)}function UOt(t,e){this._functionHead(t,e),this.space(),this.print(t.body,t)}function qOt(t,e){t.async&&(this.word("async",!0),this.space());let r;!this.format.retainLines&&t.params.length===1&&LOt(r=t.params[0])&&!$Ot(t,r)?this.print(r,t,!0):this._params(t,void 0,e),this._predicate(t,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.print(t.body,t)}function $Ot(t,e){var r,i;return!!(t.typeParameters||t.returnType||t.predicate||e.typeAnnotation||e.optional||(r=e.leadingComments)!=null&&r.length||(i=e.trailingComments)!=null&&i.length)}function KOt(t,e){let r=t;if(!r&&e){let l=e.type;l==="VariableDeclarator"?r=e.id:l==="AssignmentExpression"||l==="AssignmentPattern"?r=e.left:l==="ObjectProperty"||l==="ClassProperty"?(!e.computed||e.key.type==="StringLiteral")&&(r=e.key):(l==="ClassPrivateProperty"||l==="ClassAccessorProperty")&&(r=e.key)}if(!r)return;let i;if(r.type==="Identifier"){var s,n;i={pos:(s=r.loc)==null?void 0:s.start,name:((n=r.loc)==null?void 0:n.identifierName)||r.name}}else if(r.type==="PrivateName"){var a;i={pos:(a=r.loc)==null?void 0:a.start,name:"#"+r.id.name}}else if(r.type==="StringLiteral"){var o;i={pos:(o=r.loc)==null?void 0:o.start,name:r.value}}return i}});var fq=E(qa=>{"use strict";Object.defineProperty(qa,"__esModule",{value:!0});qa.ExportAllDeclaration=ikt;qa.ExportDefaultDeclaration=nkt;qa.ExportDefaultSpecifier=ZOt;qa.ExportNamedDeclaration=skt;qa.ExportNamespaceSpecifier=tkt;qa.ExportSpecifier=ekt;qa.ImportAttribute=okt;qa.ImportDeclaration=akt;qa.ImportDefaultSpecifier=QOt;qa.ImportExpression=ukt;qa.ImportNamespaceSpecifier=lkt;qa.ImportSpecifier=XOt;qa._printAttributes=rkt;var WOt=gr(),{isClassDeclaration:GOt,isExportDefaultSpecifier:zOt,isExportNamespaceSpecifier:HOt,isImportDefaultSpecifier:YOt,isImportNamespaceSpecifier:JOt,isStatement:jge}=WOt;function XOt(t){(t.importKind==="type"||t.importKind==="typeof")&&(this.word(t.importKind),this.space()),this.print(t.imported,t),t.local&&t.local.name!==t.imported.name&&(this.space(),this.word("as"),this.space(),this.print(t.local,t))}function QOt(t){this.print(t.local,t)}function ZOt(t){this.print(t.exported,t)}function ekt(t){t.exportKind==="type"&&(this.word("type"),this.space()),this.print(t.local,t),t.exported&&t.local.name!==t.exported.name&&(this.space(),this.word("as"),this.space(),this.print(t.exported,t))}function tkt(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.exported,t)}var Mge=!1;function rkt(t){let{importAttributesKeyword:e}=this.format,{attributes:r,assertions:i}=t;r&&!e&&!Mge&&(Mge=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let s=e==="assert"||!e&&i;if(this.word(s?"assert":"with"),this.space(),!s&&e!=="with"){this.printList(r||i,t);return}this.tokenChar(123),this.space(),this.printList(r||i,t),this.space(),this.tokenChar(125)}function ikt(t){var e,r;this.word("export"),this.space(),t.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(r=t.assertions)!=null&&r.length?(this.print(t.source,t,!0),this.space(),this._printAttributes(t)):this.print(t.source,t),this.semicolon()}function Vge(t,e){GOt(e.declaration)&&t._shouldPrintDecoratorsBeforeExport(e)&&t.printJoin(e.declaration.decorators,e)}function skt(t){if(Vge(this,t),this.word("export"),this.space(),t.declaration){let i=t.declaration;this.print(i,t),jge(i)||this.semicolon()}else{t.exportKind==="type"&&(this.word("type"),this.space());let i=t.specifiers.slice(0),s=!1;for(;;){let n=i[0];if(zOt(n)||HOt(n))s=!0,this.print(i.shift(),t),i.length&&(this.tokenChar(44),this.space());else break}if((i.length||!i.length&&!s)&&(this.tokenChar(123),i.length&&(this.space(),this.printList(i,t),this.space()),this.tokenChar(125)),t.source){var e,r;this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(r=t.assertions)!=null&&r.length?(this.print(t.source,t,!0),this.space(),this._printAttributes(t)):this.print(t.source,t)}this.semicolon()}}function nkt(t){Vge(this,t),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();let e=t.declaration;this.print(e,t),jge(e)||this.semicolon()}function akt(t){var e,r;this.word("import"),this.space();let i=t.importKind==="type"||t.importKind==="typeof";i?(this.noIndentInnerCommentsHere(),this.word(t.importKind),this.space()):t.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):t.phase&&(this.noIndentInnerCommentsHere(),this.word(t.phase),this.space());let s=t.specifiers.slice(0),n=!!s.length;for(;n;){let a=s[0];if(YOt(a)||JOt(a))this.print(s.shift(),t),s.length&&(this.tokenChar(44),this.space());else break}s.length?(this.tokenChar(123),this.space(),this.printList(s,t),this.space(),this.tokenChar(125)):i&&!n&&(this.tokenChar(123),this.tokenChar(125)),(n||i)&&(this.space(),this.word("from"),this.space()),(e=t.attributes)!=null&&e.length||(r=t.assertions)!=null&&r.length?(this.print(t.source,t,!0),this.space(),this._printAttributes(t)):this.print(t.source,t),this.semicolon()}function okt(t){this.print(t.key),this.tokenChar(58),this.space(),this.print(t.value)}function lkt(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.local,t)}function ukt(t){this.word("import"),t.phase&&(this.tokenChar(46),this.word(t.phase)),this.tokenChar(40),this.print(t.source,t),t.options!=null&&(this.tokenChar(44),this.space(),this.print(t.options,t)),this.tokenChar(41)}});var Kge=E((TNr,$ge)=>{"use strict";var Uge={},ckt=Uge.hasOwnProperty,qge=(t,e)=>{for(let r in t)ckt.call(t,r)&&e(r,t[r])},pkt=(t,e)=>(e&&qge(e,(r,i)=>{t[r]=i}),t),fkt=(t,e)=>{let r=t.length,i=-1;for(;++i<r;)e(t[i])},nx=Uge.toString,dkt=Array.isArray,hkt=Buffer.isBuffer,mkt=t=>nx.call(t)=="[object Object]",ykt=t=>typeof t=="string"||nx.call(t)=="[object String]",gkt=t=>typeof t=="number"||nx.call(t)=="[object Number]",bkt=t=>typeof t=="function",vkt=t=>nx.call(t)=="[object Map]",Skt=t=>nx.call(t)=="[object Set]",Tkt={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},xkt=/["'\\\b\f\n\r\t]/,Ekt=/[0-9]/,wkt=/[ !#-&\(-\[\]-_a-~]/,Xd=(t,e)=>{let r=()=>{u=l,++e.indentLevel,l=e.indent.repeat(e.indentLevel)},i={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},s=e&&e.json;s&&(i.quotes="double",i.wrap=!0),e=pkt(i,e),e.quotes!="single"&&e.quotes!="double"&&e.quotes!="backtick"&&(e.quotes="single");let n=e.quotes=="double"?'"':e.quotes=="backtick"?"`":"'",a=e.compact,o=e.lowercaseHex,l=e.indent.repeat(e.indentLevel),u="",c=e.__inline1__,p=e.__inline2__,d=a?"":`
|
|
384
384
|
`,f,h=!0,m=e.numbers=="binary",g=e.numbers=="octal",b=e.numbers=="decimal",T=e.numbers=="hexadecimal";if(s&&t&&bkt(t.toJSON)&&(t=t.toJSON()),!ykt(t)){if(vkt(t))return t.size==0?"new Map()":(a||(e.__inline1__=!0,e.__inline2__=!1),"new Map("+Xd(Array.from(t),e)+")");if(Skt(t))return t.size==0?"new Set()":"new Set("+Xd(Array.from(t),e)+")";if(hkt(t))return t.length==0?"Buffer.from([])":"Buffer.from("+Xd(Array.from(t),e)+")";if(dkt(t))return f=[],e.wrap=!0,c&&(e.__inline1__=!1,e.__inline2__=!0),p||r(),fkt(t,A=>{h=!1,p&&(e.__inline2__=!1),f.push((a||p?"":l)+Xd(A,e))}),h?"[]":p?"["+f.join(", ")+"]":"["+d+f.join(","+d)+d+(a?"":u)+"]";if(gkt(t)){if(s)return JSON.stringify(t);if(b)return String(t);if(T){let A=t.toString(16);return o||(A=A.toUpperCase()),"0x"+A}if(m)return"0b"+t.toString(2);if(g)return"0o"+t.toString(8)}else return mkt(t)?(f=[],e.wrap=!0,r(),qge(t,(A,C)=>{h=!1,f.push((a?"":l)+Xd(A,e)+":"+(a?"":" ")+Xd(C,e))}),h?"{}":"{"+d+f.join(","+d)+d+(a?"":u)+"}"):s?JSON.stringify(t)||"null":String(t)}let x=t,v=-1,w=x.length;for(f="";++v<w;){let A=x.charAt(v);if(e.es6){let X=x.charCodeAt(v);if(X>=55296&&X<=56319&&w>v+1){let Te=x.charCodeAt(v+1);if(Te>=56320&&Te<=57343){let Ke=((X-55296)*1024+Te-56320+65536).toString(16);o||(Ke=Ke.toUpperCase()),f+="\\u{"+Ke+"}",++v;continue}}}if(!e.escapeEverything){if(wkt.test(A)){f+=A;continue}if(A=='"'){f+=n==A?'\\"':A;continue}if(A=="`"){f+=n==A?"\\`":A;continue}if(A=="'"){f+=n==A?"\\'":A;continue}}if(A=="\0"&&!s&&!Ekt.test(x.charAt(v+1))){f+="\\0";continue}if(xkt.test(A)){f+=Tkt[A];continue}let C=A.charCodeAt(0);if(e.minimal&&C!=8232&&C!=8233){f+=A;continue}let K=C.toString(16);o||(K=K.toUpperCase());let F=K.length>2||s,Q="\\"+(F?"u":"x")+("0000"+K).slice(F?-4:-2);f+=Q}return e.wrap&&(f=n+f+n),n=="`"&&(f=f.replace(/\$\{/g,"\\${")),e.isScriptContext?f.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,s?"\\u003C!--":"\\x3C!--"):f};Xd.version="2.5.2";$ge.exports=Xd});var hq=E(ss=>{"use strict";Object.defineProperty(ss,"__esModule",{value:!0});ss.ArgumentPlaceholder=Ckt;ss.ArrayPattern=ss.ArrayExpression=kkt;ss.BigIntLiteral=Ukt;ss.BooleanLiteral=Bkt;ss.DecimalLiteral=qkt;ss.Identifier=_kt;ss.NullLiteral=Mkt;ss.NumericLiteral=jkt;ss.ObjectPattern=ss.ObjectExpression=Nkt;ss.ObjectMethod=Ikt;ss.ObjectProperty=Okt;ss.PipelineBareFunction=Wkt;ss.PipelinePrimaryTopicReference=Gkt;ss.PipelineTopicExpression=Kkt;ss.RecordExpression=Lkt;ss.RegExpLiteral=Rkt;ss.SpreadElement=ss.RestElement=Dkt;ss.StringLiteral=Vkt;ss.TopicReference=$kt;ss.TupleExpression=Fkt;var Akt=gr(),Gge=Kge(),{isAssignmentPattern:Pkt,isIdentifier:dq}=Akt;function _kt(t){var e;this.sourceIdentifierName(((e=t.loc)==null?void 0:e.identifierName)||t.name),this.word(t.name)}function Ckt(){this.tokenChar(63)}function Dkt(t){this.token("..."),this.print(t.argument,t)}function Nkt(t){let e=t.properties;this.tokenChar(123),e.length&&(this.space(),this.printList(e,t,{indent:!0,statement:!0}),this.space()),this.sourceWithOffset("end",t.loc,-1),this.tokenChar(125)}function Ikt(t){this.printJoin(t.decorators,t),this._methodHead(t),this.space(),this.print(t.body,t)}function Okt(t){if(this.printJoin(t.decorators,t),t.computed)this.tokenChar(91),this.print(t.key,t),this.tokenChar(93);else{if(Pkt(t.value)&&dq(t.key)&&t.key.name===t.value.left.name){this.print(t.value,t);return}if(this.print(t.key,t),t.shorthand&&dq(t.key)&&dq(t.value)&&t.key.name===t.value.name)return}this.tokenChar(58),this.space(),this.print(t.value,t)}function kkt(t){let e=t.elements,r=e.length;this.tokenChar(91);for(let i=0;i<e.length;i++){let s=e[i];s?(i>0&&this.space(),this.print(s,t),i<r-1&&this.tokenChar(44)):this.tokenChar(44)}this.tokenChar(93)}function Lkt(t){let e=t.properties,r,i;if(this.format.recordAndTupleSyntaxType==="bar")r="{|",i="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);r="#{",i="}"}this.token(r),e.length&&(this.space(),this.printList(e,t,{indent:!0,statement:!0}),this.space()),this.token(i)}function Fkt(t){let e=t.elements,r=e.length,i,s;if(this.format.recordAndTupleSyntaxType==="bar")i="[|",s="|]";else if(this.format.recordAndTupleSyntaxType==="hash")i="#[",s="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(i);for(let n=0;n<e.length;n++){let a=e[n];a&&(n>0&&this.space(),this.print(a,t),n<r-1&&this.tokenChar(44))}this.token(s)}function Rkt(t){this.word(`/${t.pattern}/${t.flags}`)}function Bkt(t){this.word(t.value?"true":"false")}function Mkt(){this.word("null")}function jkt(t){let e=this.getPossibleRaw(t),r=this.format.jsescOption,i=t.value,s=i+"";r.numbers?this.number(Gge(i,r),i):e==null?this.number(s,i):this.format.minified?this.number(e.length<s.length?e:s,i):this.number(e,i)}function Vkt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let r=Gge(t.value,this.format.jsescOption);this.token(r)}function Ukt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.word(e);return}this.word(t.value+"n")}function qkt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.word(e);return}this.word(t.value+"m")}var Wge=new Set(["^^","@@","^","%","#"]);function $kt(){let{topicToken:t}=this.format;if(Wge.has(t))this.token(t);else{let e=JSON.stringify(t),r=Array.from(Wge,i=>JSON.stringify(i));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${e} received instead).`)}}function Kkt(t){this.print(t.expression,t)}function Wkt(t){this.print(t.callee,t)}function Gkt(){this.tokenChar(35)}});var Hge=E(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.AnyTypeAnnotation=Jkt;ot.ArrayTypeAnnotation=Xkt;ot.BooleanLiteralTypeAnnotation=Zkt;ot.BooleanTypeAnnotation=Qkt;ot.DeclareClass=tLt;ot.DeclareExportAllDeclaration=fLt;ot.DeclareExportDeclaration=pLt;ot.DeclareFunction=rLt;ot.DeclareInterface=nLt;ot.DeclareModule=aLt;ot.DeclareModuleExports=oLt;ot.DeclareOpaqueType=uLt;ot.DeclareTypeAlias=lLt;ot.DeclareVariable=cLt;ot.DeclaredPredicate=sLt;ot.EmptyTypeAnnotation=LLt;ot.EnumBooleanBody=hLt;ot.EnumBooleanMember=vLt;ot.EnumDeclaration=dLt;ot.EnumDefaultedMember=bLt;ot.EnumNumberBody=mLt;ot.EnumNumberMember=SLt;ot.EnumStringBody=yLt;ot.EnumStringMember=TLt;ot.EnumSymbolBody=gLt;ot.ExistsTypeAnnotation=ELt;ot.FunctionTypeAnnotation=wLt;ot.FunctionTypeParam=ALt;ot.IndexedAccessType=nFt;ot.InferredPredicate=iLt;ot.InterfaceDeclaration=DLt;ot.GenericTypeAnnotation=ot.ClassImplements=ot.InterfaceExtends=PLt;ot.InterfaceTypeAnnotation=ILt;ot.IntersectionTypeAnnotation=OLt;ot.MixedTypeAnnotation=kLt;ot.NullLiteralTypeAnnotation=eLt;ot.NullableTypeAnnotation=FLt;Object.defineProperty(ot,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return zge.NumericLiteral}});ot.NumberTypeAnnotation=RLt;ot.ObjectTypeAnnotation=GLt;ot.ObjectTypeCallProperty=HLt;ot.ObjectTypeIndexer=YLt;ot.ObjectTypeInternalSlot=zLt;ot.ObjectTypeProperty=JLt;ot.ObjectTypeSpreadProperty=XLt;ot.OpaqueType=WLt;ot.OptionalIndexedAccessType=aFt;ot.QualifiedTypeIdentifier=QLt;Object.defineProperty(ot,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return zge.StringLiteral}});ot.StringTypeAnnotation=BLt;ot.SymbolTypeAnnotation=ZLt;ot.ThisTypeAnnotation=MLt;ot.TupleTypeAnnotation=jLt;ot.TypeAlias=ULt;ot.TypeAnnotation=qLt;ot.TypeCastExpression=rFt;ot.TypeParameter=KLt;ot.TypeParameterDeclaration=ot.TypeParameterInstantiation=$Lt;ot.TypeofTypeAnnotation=VLt;ot.UnionTypeAnnotation=tFt;ot.Variance=iFt;ot.VoidTypeAnnotation=sFt;ot._interfaceish=_Lt;ot._variance=CLt;var zkt=gr(),Hkt=fq(),zge=hq(),{isDeclareExportDeclaration:gC,isStatement:Ykt}=zkt;function Jkt(){this.word("any")}function Xkt(t){this.print(t.elementType,t,!0),this.tokenChar(91),this.tokenChar(93)}function Qkt(){this.word("boolean")}function Zkt(t){this.word(t.value?"true":"false")}function eLt(){this.word("null")}function tLt(t,e){gC(e)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(t)}function rLt(t,e){gC(e)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(t.id,t),this.print(t.id.typeAnnotation.typeAnnotation,t),t.predicate&&(this.space(),this.print(t.predicate,t)),this.semicolon()}function iLt(){this.tokenChar(37),this.word("checks")}function sLt(t){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(t.value,t),this.tokenChar(41)}function nLt(t){this.word("declare"),this.space(),this.InterfaceDeclaration(t)}function aLt(t){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(t.id,t),this.space(),this.print(t.body,t)}function oLt(t){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(t.typeAnnotation,t)}function lLt(t){this.word("declare"),this.space(),this.TypeAlias(t)}function uLt(t,e){gC(e)||(this.word("declare"),this.space()),this.OpaqueType(t)}function cLt(t,e){gC(e)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(t.id,t),this.print(t.id.typeAnnotation,t),this.semicolon()}function pLt(t){this.word("declare"),this.space(),this.word("export"),this.space(),t.default&&(this.word("default"),this.space()),xLt.call(this,t)}function fLt(t){this.word("declare"),this.space(),Hkt.ExportAllDeclaration.call(this,t)}function dLt(t){let{id:e,body:r}=t;this.word("enum"),this.space(),this.print(e,t),this.print(r,t)}function bC(t,e,r){r&&(t.space(),t.word("of"),t.space(),t.word(e)),t.space()}function vC(t,e){let{members:r}=e;t.token("{"),t.indent(),t.newline();for(let i of r)t.print(i,e),t.newline();e.hasUnknownMembers&&(t.token("..."),t.newline()),t.dedent(),t.token("}")}function hLt(t){let{explicitType:e}=t;bC(this,"boolean",e),vC(this,t)}function mLt(t){let{explicitType:e}=t;bC(this,"number",e),vC(this,t)}function yLt(t){let{explicitType:e}=t;bC(this,"string",e),vC(this,t)}function gLt(t){bC(this,"symbol",!0),vC(this,t)}function bLt(t){let{id:e}=t;this.print(e,t),this.tokenChar(44)}function mq(t,e){let{id:r,init:i}=e;t.print(r,e),t.space(),t.token("="),t.space(),t.print(i,e),t.token(",")}function vLt(t){mq(this,t)}function SLt(t){mq(this,t)}function TLt(t){mq(this,t)}function xLt(t){if(t.declaration){let e=t.declaration;this.print(e,t),Ykt(e)||this.semicolon()}else this.tokenChar(123),t.specifiers.length&&(this.space(),this.printList(t.specifiers,t),this.space()),this.tokenChar(125),t.source&&(this.space(),this.word("from"),this.space(),this.print(t.source,t)),this.semicolon()}function ELt(){this.tokenChar(42)}function wLt(t,e){this.print(t.typeParameters,t),this.tokenChar(40),t.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(t.this.typeAnnotation,t),(t.params.length||t.rest)&&(this.tokenChar(44),this.space())),this.printList(t.params,t),t.rest&&(t.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(t.rest,t)),this.tokenChar(41);let r=e==null?void 0:e.type;r!=null&&(r==="ObjectTypeCallProperty"||r==="ObjectTypeInternalSlot"||r==="DeclareFunction"||r==="ObjectTypeProperty"&&e.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(t.returnType,t)}function ALt(t){this.print(t.name,t),t.optional&&this.tokenChar(63),t.name&&(this.tokenChar(58),this.space()),this.print(t.typeAnnotation,t)}function PLt(t){this.print(t.id,t),this.print(t.typeParameters,t,!0)}function _Lt(t){var e;if(this.print(t.id,t),this.print(t.typeParameters,t),(e=t.extends)!=null&&e.length&&(this.space(),this.word("extends"),this.space(),this.printList(t.extends,t)),t.type==="DeclareClass"){var r,i;(r=t.mixins)!=null&&r.length&&(this.space(),this.word("mixins"),this.space(),this.printList(t.mixins,t)),(i=t.implements)!=null&&i.length&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements,t))}this.space(),this.print(t.body,t)}function CLt(t){var e;let r=(e=t.variance)==null?void 0:e.kind;r!=null&&(r==="plus"?this.tokenChar(43):r==="minus"&&this.tokenChar(45))}function DLt(t){this.word("interface"),this.space(),this._interfaceish(t)}function NLt(){this.space(),this.tokenChar(38),this.space()}function ILt(t){var e;this.word("interface"),(e=t.extends)!=null&&e.length&&(this.space(),this.word("extends"),this.space(),this.printList(t.extends,t)),this.space(),this.print(t.body,t)}function OLt(t){this.printJoin(t.types,t,{separator:NLt})}function kLt(){this.word("mixed")}function LLt(){this.word("empty")}function FLt(t){this.tokenChar(63),this.print(t.typeAnnotation,t)}function RLt(){this.word("number")}function BLt(){this.word("string")}function MLt(){this.word("this")}function jLt(t){this.tokenChar(91),this.printList(t.types,t),this.tokenChar(93)}function VLt(t){this.word("typeof"),this.space(),this.print(t.argument,t)}function ULt(t){this.word("type"),this.space(),this.print(t.id,t),this.print(t.typeParameters,t),this.space(),this.tokenChar(61),this.space(),this.print(t.right,t),this.semicolon()}function qLt(t){this.tokenChar(58),this.space(),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation,t)}function $Lt(t){this.tokenChar(60),this.printList(t.params,t,{}),this.tokenChar(62)}function KLt(t){this._variance(t),this.word(t.name),t.bound&&this.print(t.bound,t),t.default&&(this.space(),this.tokenChar(61),this.space(),this.print(t.default,t))}function WLt(t){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(t.id,t),this.print(t.typeParameters,t),t.supertype&&(this.tokenChar(58),this.space(),this.print(t.supertype,t)),t.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(t.impltype,t)),this.semicolon()}function GLt(t){t.exact?this.token("{|"):this.tokenChar(123);let e=[...t.properties,...t.callProperties||[],...t.indexers||[],...t.internalSlots||[]];e.length&&(this.newline(),this.space(),this.printJoin(e,t,{addNewlines(r){if(r&&!e[0])return 1},indent:!0,statement:!0,iterator:()=>{(e.length!==1||t.inexact)&&(this.tokenChar(44),this.space())}}),this.space()),t.inexact&&(this.indent(),this.token("..."),e.length&&this.newline(),this.dedent()),t.exact?this.token("|}"):this.tokenChar(125)}function zLt(t){t.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(t.id,t),this.tokenChar(93),this.tokenChar(93),t.optional&&this.tokenChar(63),t.method||(this.tokenChar(58),this.space()),this.print(t.value,t)}function HLt(t){t.static&&(this.word("static"),this.space()),this.print(t.value,t)}function YLt(t){t.static&&(this.word("static"),this.space()),this._variance(t),this.tokenChar(91),t.id&&(this.print(t.id,t),this.tokenChar(58),this.space()),this.print(t.key,t),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(t.value,t)}function JLt(t){t.proto&&(this.word("proto"),this.space()),t.static&&(this.word("static"),this.space()),(t.kind==="get"||t.kind==="set")&&(this.word(t.kind),this.space()),this._variance(t),this.print(t.key,t),t.optional&&this.tokenChar(63),t.method||(this.tokenChar(58),this.space()),this.print(t.value,t)}function XLt(t){this.token("..."),this.print(t.argument,t)}function QLt(t){this.print(t.qualification,t),this.tokenChar(46),this.print(t.id,t)}function ZLt(){this.word("symbol")}function eFt(){this.space(),this.tokenChar(124),this.space()}function tFt(t){this.printJoin(t.types,t,{separator:eFt})}function rFt(t){this.tokenChar(40),this.print(t.expression,t),this.print(t.typeAnnotation,t),this.tokenChar(41)}function iFt(t){t.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function sFt(){this.word("void")}function nFt(t){this.print(t.objectType,t,!0),this.tokenChar(91),this.print(t.indexType,t),this.tokenChar(93)}function aFt(t){this.print(t.objectType,t),t.optional&&this.token("?."),this.tokenChar(91),this.print(t.indexType,t),this.tokenChar(93)}});var Yge=E(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.BlockStatement=uFt;Zp.Directive=cFt;Zp.DirectiveLiteral=dFt;Zp.File=oFt;Zp.InterpreterDirective=hFt;Zp.Placeholder=mFt;Zp.Program=lFt;function oFt(t){t.program&&this.print(t.program.interpreter,t),this.print(t.program,t)}function lFt(t){var e;this.noIndentInnerCommentsHere(),this.printInnerComments();let r=(e=t.directives)==null?void 0:e.length;if(r){var i;let s=t.body.length?2:1;this.printSequence(t.directives,t,{trailingCommentsLineOffset:s}),(i=t.directives[r-1].trailingComments)!=null&&i.length||this.newline(s)}this.printSequence(t.body,t)}function uFt(t){var e;this.tokenChar(123);let r=(e=t.directives)==null?void 0:e.length;if(r){var i;let s=t.body.length?2:1;this.printSequence(t.directives,t,{indent:!0,trailingCommentsLineOffset:s}),(i=t.directives[r-1].trailingComments)!=null&&i.length||this.newline(s)}this.printSequence(t.body,t,{indent:!0}),this.rightBrace(t)}function cFt(t){this.print(t.value,t),this.semicolon()}var pFt=/(?:^|[^\\])(?:\\\\)*'/,fFt=/(?:^|[^\\])(?:\\\\)*"/;function dFt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let{value:r}=t;if(!fFt.test(r))this.token(`"${r}"`);else if(!pFt.test(r))this.token(`'${r}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function hFt(t){this.token(`#!${t.value}`),this.newline(1,!0)}function mFt(t){this.token("%%"),this.print(t.name),this.token("%%"),t.expectedNode==="Statement"&&this.semicolon()}});var Jge=E(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.JSXAttribute=yFt;Jn.JSXClosingElement=_Ft;Jn.JSXClosingFragment=IFt;Jn.JSXElement=wFt;Jn.JSXEmptyExpression=CFt;Jn.JSXExpressionContainer=TFt;Jn.JSXFragment=DFt;Jn.JSXIdentifier=gFt;Jn.JSXMemberExpression=vFt;Jn.JSXNamespacedName=bFt;Jn.JSXOpeningElement=PFt;Jn.JSXOpeningFragment=NFt;Jn.JSXSpreadAttribute=SFt;Jn.JSXSpreadChild=xFt;Jn.JSXText=EFt;function yFt(t){this.print(t.name,t),t.value&&(this.tokenChar(61),this.print(t.value,t))}function gFt(t){this.word(t.name)}function bFt(t){this.print(t.namespace,t),this.tokenChar(58),this.print(t.name,t)}function vFt(t){this.print(t.object,t),this.tokenChar(46),this.print(t.property,t)}function SFt(t){this.tokenChar(123),this.token("..."),this.print(t.argument,t),this.tokenChar(125)}function TFt(t){this.tokenChar(123),this.print(t.expression,t),this.tokenChar(125)}function xFt(t){this.tokenChar(123),this.token("..."),this.print(t.expression,t),this.tokenChar(125)}function EFt(t){let e=this.getPossibleRaw(t);e!==void 0?this.token(e,!0):this.token(t.value,!0)}function wFt(t){let e=t.openingElement;if(this.print(e,t),!e.selfClosing){this.indent();for(let r of t.children)this.print(r,t);this.dedent(),this.print(t.closingElement,t)}}function AFt(){this.space()}function PFt(t){this.tokenChar(60),this.print(t.name,t),this.print(t.typeParameters,t),t.attributes.length>0&&(this.space(),this.printJoin(t.attributes,t,{separator:AFt})),t.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)}function _Ft(t){this.token("</"),this.print(t.name,t),this.tokenChar(62)}function CFt(){this.printInnerComments()}function DFt(t){this.print(t.openingFragment,t),this.indent();for(let e of t.children)this.print(e,t);this.dedent(),this.print(t.closingFragment,t)}function NFt(){this.tokenChar(60),this.tokenChar(62)}function IFt(){this.token("</"),this.tokenChar(62)}});var Zge=E(at=>{"use strict";Object.defineProperty(at,"__esModule",{value:!0});at.TSAnyKeyword=WFt;at.TSArrayType=dRt;at.TSSatisfiesExpression=at.TSAsExpression=IRt;at.TSBigIntKeyword=GFt;at.TSBooleanKeyword=JFt;at.TSCallSignatureDeclaration=jFt;at.TSConditionalType=SRt;at.TSConstructSignatureDeclaration=VFt;at.TSConstructorType=aRt;at.TSDeclareFunction=RFt;at.TSDeclareMethod=BFt;at.TSEnumDeclaration=LRt;at.TSEnumMember=FRt;at.TSExportAssignment=qRt;at.TSExpressionWithTypeArguments=_Rt;at.TSExternalModuleReference=VRt;at.TSFunctionType=nRt;at.TSImportEqualsDeclaration=jRt;at.TSImportType=MRt;at.TSIndexSignature=KFt;at.TSIndexedAccessType=wRt;at.TSInferType=TRt;at.TSInstantiationExpression=kRt;at.TSInterfaceBody=DRt;at.TSInterfaceDeclaration=CRt;at.TSIntersectionType=vRt;at.TSIntrinsicKeyword=iRt;at.TSLiteralType=PRt;at.TSMappedType=ARt;at.TSMethodSignature=$Ft;at.TSModuleBlock=BRt;at.TSModuleDeclaration=RRt;at.TSNamedTupleMember=gRt;at.TSNamespaceExportDeclaration=$Rt;at.TSNeverKeyword=rRt;at.TSNonNullExpression=URt;at.TSNullKeyword=tRt;at.TSNumberKeyword=HFt;at.TSObjectKeyword=YFt;at.TSOptionalType=mRt;at.TSParameterProperty=FFt;at.TSParenthesizedType=xRt;at.TSPropertySignature=UFt;at.TSQualifiedName=MFt;at.TSRestType=yRt;at.TSStringKeyword=XFt;at.TSSymbolKeyword=QFt;at.TSThisType=sRt;at.TSTupleType=hRt;at.TSTypeAliasDeclaration=NRt;at.TSTypeAnnotation=OFt;at.TSTypeAssertion=ORt;at.TSTypeLiteral=pRt;at.TSTypeOperator=ERt;at.TSTypeParameter=LFt;at.TSTypeParameterDeclaration=at.TSTypeParameterInstantiation=kFt;at.TSTypePredicate=uRt;at.TSTypeQuery=cRt;at.TSTypeReference=lRt;at.TSUndefinedKeyword=eRt;at.TSUnionType=bRt;at.TSUnknownKeyword=zFt;at.TSVoidKeyword=ZFt;at.tsPrintClassMemberModifiers=WRt;at.tsPrintFunctionOrConstructorType=oRt;at.tsPrintPropertyOrMethodName=qFt;at.tsPrintSignatureDeclarationBase=KRt;at.tsPrintTypeLiteralOrInterfaceBody=fRt;function OFt(t){this.tokenChar(58),this.space(),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation,t)}function kFt(t,e){this.tokenChar(60),this.printList(t.params,t,{}),e.type==="ArrowFunctionExpression"&&t.params.length===1&&this.tokenChar(44),this.tokenChar(62)}function LFt(t){t.in&&(this.word("in"),this.space()),t.out&&(this.word("out"),this.space()),this.word(t.name),t.constraint&&(this.space(),this.word("extends"),this.space(),this.print(t.constraint,t)),t.default&&(this.space(),this.tokenChar(61),this.space(),this.print(t.default,t))}function FFt(t){t.accessibility&&(this.word(t.accessibility),this.space()),t.readonly&&(this.word("readonly"),this.space()),this._param(t.parameter)}function RFt(t,e){t.declare&&(this.word("declare"),this.space()),this._functionHead(t,e),this.tokenChar(59)}function BFt(t){this._classMethodHead(t),this.tokenChar(59)}function MFt(t){this.print(t.left,t),this.tokenChar(46),this.print(t.right,t)}function jFt(t){this.tsPrintSignatureDeclarationBase(t),this.tokenChar(59)}function VFt(t){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(t),this.tokenChar(59)}function UFt(t){let{readonly:e}=t;e&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(t),this.print(t.typeAnnotation,t),this.tokenChar(59)}function qFt(t){t.computed&&this.tokenChar(91),this.print(t.key,t),t.computed&&this.tokenChar(93),t.optional&&this.tokenChar(63)}function $Ft(t){let{kind:e}=t;(e==="set"||e==="get")&&(this.word(e),this.space()),this.tsPrintPropertyOrMethodName(t),this.tsPrintSignatureDeclarationBase(t),this.tokenChar(59)}function KFt(t){let{readonly:e,static:r}=t;r&&(this.word("static"),this.space()),e&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(t.parameters,t),this.tokenChar(93),this.print(t.typeAnnotation,t),this.tokenChar(59)}function WFt(){this.word("any")}function GFt(){this.word("bigint")}function zFt(){this.word("unknown")}function HFt(){this.word("number")}function YFt(){this.word("object")}function JFt(){this.word("boolean")}function XFt(){this.word("string")}function QFt(){this.word("symbol")}function ZFt(){this.word("void")}function eRt(){this.word("undefined")}function tRt(){this.word("null")}function rRt(){this.word("never")}function iRt(){this.word("intrinsic")}function sRt(){this.word("this")}function nRt(t){this.tsPrintFunctionOrConstructorType(t)}function aRt(t){t.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(t)}function oRt(t){let{typeParameters:e}=t,r=t.parameters;this.print(e,t),this.tokenChar(40),this._parameters(r,t),this.tokenChar(41),this.space(),this.token("=>"),this.space();let i=t.typeAnnotation;this.print(i.typeAnnotation,t)}function lRt(t){this.print(t.typeName,t,!0),this.print(t.typeParameters,t,!0)}function uRt(t){t.asserts&&(this.word("asserts"),this.space()),this.print(t.parameterName),t.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(t.typeAnnotation.typeAnnotation))}function cRt(t){this.word("typeof"),this.space(),this.print(t.exprName),t.typeParameters&&this.print(t.typeParameters,t)}function pRt(t){this.tsPrintTypeLiteralOrInterfaceBody(t.members,t)}function fRt(t,e){yq(this,t,e)}function yq(t,e,r){if(t.token("{"),e.length){t.indent(),t.newline();for(let i of e)t.print(i,r),t.newline();t.dedent()}t.rightBrace(r)}function dRt(t){this.print(t.elementType,t,!0),this.token("[]")}function hRt(t){this.tokenChar(91),this.printList(t.elementTypes,t),this.tokenChar(93)}function mRt(t){this.print(t.typeAnnotation,t),this.tokenChar(63)}function yRt(t){this.token("..."),this.print(t.typeAnnotation,t)}function gRt(t){this.print(t.label,t),t.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(t.elementType,t)}function bRt(t){Qge(this,t,"|")}function vRt(t){Qge(this,t,"&")}function Qge(t,e,r){t.printJoin(e.types,e,{separator(){this.space(),this.token(r),this.space()}})}function SRt(t){this.print(t.checkType),this.space(),this.word("extends"),this.space(),this.print(t.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(t.trueType),this.space(),this.tokenChar(58),this.space(),this.print(t.falseType)}function TRt(t){this.token("infer"),this.space(),this.print(t.typeParameter)}function xRt(t){this.tokenChar(40),this.print(t.typeAnnotation,t),this.tokenChar(41)}function ERt(t){this.word(t.operator),this.space(),this.print(t.typeAnnotation,t)}function wRt(t){this.print(t.objectType,t,!0),this.tokenChar(91),this.print(t.indexType,t),this.tokenChar(93)}function ARt(t){let{nameType:e,optional:r,readonly:i,typeParameter:s}=t;this.tokenChar(123),this.space(),i&&(Xge(this,i),this.word("readonly"),this.space()),this.tokenChar(91),this.word(s.name),this.space(),this.word("in"),this.space(),this.print(s.constraint,s),e&&(this.space(),this.word("as"),this.space(),this.print(e,t)),this.tokenChar(93),r&&(Xge(this,r),this.tokenChar(63)),this.tokenChar(58),this.space(),this.print(t.typeAnnotation,t),this.space(),this.tokenChar(125)}function Xge(t,e){e!==!0&&t.token(e)}function PRt(t){this.print(t.literal,t)}function _Rt(t){this.print(t.expression,t),this.print(t.typeParameters,t)}function CRt(t){let{declare:e,id:r,typeParameters:i,extends:s,body:n}=t;e&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r,t),this.print(i,t),s!=null&&s.length&&(this.space(),this.word("extends"),this.space(),this.printList(s,t)),this.space(),this.print(n,t)}function DRt(t){this.tsPrintTypeLiteralOrInterfaceBody(t.body,t)}function NRt(t){let{declare:e,id:r,typeParameters:i,typeAnnotation:s}=t;e&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r,t),this.print(i,t),this.space(),this.tokenChar(61),this.space(),this.print(s,t),this.tokenChar(59)}function IRt(t){var e;let{type:r,expression:i,typeAnnotation:s}=t,n=!!((e=i.trailingComments)!=null&&e.length);this.print(i,t,!0,void 0,n),this.space(),this.word(r==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(s,t)}function ORt(t){let{typeAnnotation:e,expression:r}=t;this.tokenChar(60),this.print(e,t),this.tokenChar(62),this.space(),this.print(r,t)}function kRt(t){this.print(t.expression,t),this.print(t.typeParameters,t)}function LRt(t){let{declare:e,const:r,id:i,members:s}=t;e&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(i,t),this.space(),yq(this,s,t)}function FRt(t){let{id:e,initializer:r}=t;this.print(e,t),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r,t)),this.tokenChar(44)}function RRt(t){let{declare:e,id:r}=t;if(e&&(this.word("declare"),this.space()),t.global||(this.word(r.type==="Identifier"?"namespace":"module"),this.space()),this.print(r,t),!t.body){this.tokenChar(59);return}let i=t.body;for(;i.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(i.id,i),i=i.body;this.space(),this.print(i,t)}function BRt(t){yq(this,t.body,t)}function MRt(t){let{argument:e,qualifier:r,typeParameters:i}=t;this.word("import"),this.tokenChar(40),this.print(e,t),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r,t)),i&&this.print(i,t)}function jRt(t){let{isExport:e,id:r,moduleReference:i}=t;e&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(r,t),this.space(),this.tokenChar(61),this.space(),this.print(i,t),this.tokenChar(59)}function VRt(t){this.token("require("),this.print(t.expression,t),this.tokenChar(41)}function URt(t){this.print(t.expression,t),this.tokenChar(33)}function qRt(t){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(t.expression,t),this.tokenChar(59)}function $Rt(t){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(t.id,t)}function KRt(t){let{typeParameters:e}=t,r=t.parameters;this.print(e,t),this.tokenChar(40),this._parameters(r,t),this.tokenChar(41);let i=t.typeAnnotation;this.print(i,t)}function WRt(t){let e=t.type==="ClassAccessorProperty"||t.type==="ClassProperty";e&&t.declare&&(this.word("declare"),this.space()),t.accessibility&&(this.word(t.accessibility),this.space()),t.static&&(this.word("static"),this.space()),t.override&&(this.word("override"),this.space()),t.abstract&&(this.word("abstract"),this.space()),e&&t.readonly&&(this.word("readonly"),this.space())}});var ebe=E(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});var gq=Cge();Object.keys(gq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===gq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return gq[t]}})});var bq=Ige();Object.keys(bq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===bq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return bq[t]}})});var vq=Fge();Object.keys(vq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===vq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return vq[t]}})});var Sq=Rge();Object.keys(Sq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===Sq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return Sq[t]}})});var Tq=Bge();Object.keys(Tq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===Tq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return Tq[t]}})});var xq=fq();Object.keys(xq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===xq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return xq[t]}})});var Eq=hq();Object.keys(Eq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===Eq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return Eq[t]}})});var wq=Hge();Object.keys(wq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===wq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return wq[t]}})});var Aq=Yge();Object.keys(Aq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===Aq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return Aq[t]}})});var Pq=Jge();Object.keys(Pq).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===Pq[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return Pq[t]}})});var _q=Zge();Object.keys(_q).forEach(function(t){t==="default"||t==="__esModule"||t in Hr&&Hr[t]===_q[t]||Object.defineProperty(Hr,t,{enumerable:!0,get:function(){return _q[t]}})})});var rbe=E(SC=>{"use strict";Object.defineProperty(SC,"__esModule",{value:!0});SC.default=void 0;var GRt=mge(),zRt=cq(),HRt=gr(),YRt=ebe(),{isFunction:JRt,isStatement:XRt,isClassBody:QRt,isTSInterfaceBody:ZRt,isTSEnumDeclaration:eBt}=HRt,tBt=/e/i,rBt=/\.0+$/,tbe=/[\n\r\u2028\u2029]/,iBt=/[\n\r\u2028\u2029]|\*\//,{needsParens:sBt}=zRt,ax=class{constructor(e,r){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._parenPushNewlineState=null,this._noLineTerminator=!1,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.format=e,this._indentRepeat=e.indent.style.length,this._inputMap=r==null?void 0:r._inputMap,this._buf=new GRt.default(r,e.indent.style[0])}generate(e){return this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){this.format.compact||this.format.concise||this._indent++}dedent(){this.format.compact||this.format.concise||this._indent--}semicolon(e=!1){this._maybeAddAuxComment(),e?this._appendChar(59):this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){if(!this.format.compact){if(e)this._space();else if(this._buf.hasContent()){let r=this.getLastChar();r!==32&&r!==10&&this._space()}}}word(e,r=!1){this._maybePrintInnerComments(),(this._endsWithWord||e.charCodeAt(0)===47&&this.endsWith(47))&&this._space(),this._maybeAddAuxComment(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=r}number(e,r){function i(s){if(s.length>2&&s.charCodeAt(0)===48){let n=s.charCodeAt(1);return n===98||n===111||n===120}return!1}this.word(e),this._endsWithInteger=Number.isInteger(r)&&!i(e)&&!tBt.test(e)&&!rBt.test(e)&&e.charCodeAt(e.length-1)!==46}token(e,r=!1){this._maybePrintInnerComments();let i=this.getLastChar(),s=e.charCodeAt(0);(i===33&&(e==="--"||s===61)||s===43&&i===43||s===45&&i===45||s===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e,r),this._noLineTerminator=!1}tokenChar(e){this._maybePrintInnerComments();let r=this.getLastChar();(e===43&&r===43||e===45&&r===45||e===46&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,r){if(!(e<=0)){if(!r){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let i=0;i<e;i++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,r){if(!e){r();return}this._catchUp("start",e),this._buf.exactSource(e,r)}source(e,r){r&&(this._catchUp(e,r),this._buf.source(e,r))}sourceWithOffset(e,r,i){r&&(this._catchUp(e,r),this._buf.sourceWithOffset(e,r,i))}withSource(e,r,i){if(!r){i();return}this._catchUp(e,r),this._buf.withSource(e,r,i)}sourceIdentifierName(e,r){if(!this._buf._canMarkIdName)return;let i=this._buf._sourcePosition;i.identifierNamePos=r,i.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_append(e,r){this._maybeAddParen(e),this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,r),this._endsWithWord=!1,this._endsWithInteger=!1}_appendChar(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1}_queue(e){this._maybeAddParenChar(e),this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&e!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&e!==10&&this.endsWith(10))return!0}_maybeAddParenChar(e){let r=this._parenPushNewlineState;if(r&&e!==32){if(e!==10){this._parenPushNewlineState=null;return}this.tokenChar(40),this.indent(),r.printed=!0}}_maybeAddParen(e){let r=this._parenPushNewlineState;if(!r)return;let i=e.length,s;for(s=0;s<i&&e.charCodeAt(s)===32;s++);if(s===i)return;let n=e.charCodeAt(s);if(n!==10){if(n!==47||s+1===i){this._parenPushNewlineState=null;return}let a=e.charCodeAt(s+1);if(a===42)return;if(a!==47){this._parenPushNewlineState=null;return}}this.tokenChar(40),this.indent(),r.printed=!0}catchUp(e){if(!this.format.retainLines)return;let r=e-this._buf.getCurrentLine();for(let i=0;i<r;i++)this._newline()}_catchUp(e,r){var i;if(!this.format.retainLines)return;let s=r==null||(i=r[e])==null?void 0:i.line;if(s!=null){let n=s-this._buf.getCurrentLine();for(let a=0;a<n;a++)this._newline()}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e,r,i){if(i)this._noLineTerminator=!0,this.print(e,r);else{let s={printed:!1};this._parenPushNewlineState=s,this.print(e,r),s.printed&&(this.dedent(),this.newline(),this.tokenChar(41))}}print(e,r,i,s,n){var a,o;if(!e)return;this._endsWithInnerRaw=!1;let l=e.type,u=this.format,c=u.concise;e._compact&&(u.concise=!0);let p=this[l];if(p===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(l)} with constructor ${JSON.stringify(e.constructor.name)}`);this._printStack.push(e);let d=this._insideAux;this._insideAux=e.loc==null,this._maybeAddAuxComment(this._insideAux&&!d);let f=(a=e.extra)==null?void 0:a.parenthesized,h=n||f&&u.retainFunctionParens&&l==="FunctionExpression"||sBt(e,r,this._printStack);if(!h&&f&&(o=e.leadingComments)!=null&&o.length&&e.leadingComments[0].type==="CommentBlock")switch(r==null?void 0:r.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(r.callee!==e)break;default:h=!0}h&&(this.tokenChar(40),this._endsWithInnerRaw=!1),this._lastCommentLine=0,this._printLeadingComments(e,r);let m=l==="Program"||l==="File"?null:e.loc;this.exactSource(m,p.bind(this,e,r)),h?(this._printTrailingComments(e,r),this.tokenChar(41),this._noLineTerminator=i):i&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,r)):this._printTrailingComments(e,r,s),this._printStack.pop(),u.concise=c,this._insideAux=d,this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){let r=e.extra;if((r==null?void 0:r.raw)!=null&&r.rawValue!=null&&e.value===r.rawValue)return r.raw}printJoin(e,r,i={}){if(!(e!=null&&e.length))return;let{indent:s}=i;if(s==null&&this.format.retainLines){var n;let p=(n=e[0].loc)==null?void 0:n.start.line;p!=null&&p!==this._buf.getCurrentLine()&&(s=!0)}s&&this.indent();let a={addNewlines:i.addNewlines,nextNodeStartLine:0},o=i.separator?i.separator.bind(this):null,l=e.length;for(let p=0;p<l;p++){let d=e[p];if(d&&(i.statement&&this._printNewline(p===0,a),this.print(d,r,void 0,i.trailingCommentsLineOffset||0),i.iterator==null||i.iterator(d,p),p<l-1&&(o==null||o()),i.statement)){var u;if((u=d.trailingComments)!=null&&u.length||(this._lastCommentLine=0),p+1===l)this.newline(1);else{var c;let f=e[p+1];a.nextNodeStartLine=((c=f.loc)==null?void 0:c.start.line)||0,this._printNewline(!0,a)}}}s&&this.dedent()}printAndIndentOnComments(e,r){let i=e.leadingComments&&e.leadingComments.length>0;i&&this.indent(),this.print(e,r),i&&this.dedent()}printBlock(e){let r=e.body;r.type!=="EmptyStatement"&&this.space(),this.print(r,e)}_printTrailingComments(e,r,i){let{innerComments:s,trailingComments:n}=e;s!=null&&s.length&&this._printComments(2,s,e,r,i),n!=null&&n.length&&this._printComments(2,n,e,r,i)}_printLeadingComments(e,r){let i=e.leadingComments;i!=null&&i.length&&this._printComments(0,i,e,r)}_maybePrintInnerComments(){this._endsWithInnerRaw&&this.printInnerComments(),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(){let e=this._printStack[this._printStack.length-1],r=e.innerComments;if(!(r!=null&&r.length))return;let i=this.endsWith(32),s=this._indentInnerComments,n=this._printedComments.size;s&&this.indent(),this._printComments(1,r,e),i&&n!==this._printedComments.size&&this.space(),s&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,r,i={}){var s;i.statement=!0,(s=i.indent)!=null||(i.indent=!1),this.printJoin(e,r,i)}printList(e,r,i={}){i.separator==null&&(i.separator=nBt),this.printJoin(e,r,i)}_printNewline(e,r){let i=this.format;if(i.retainLines||i.compact)return;if(i.concise){this.space();return}if(!e)return;let s=r.nextNodeStartLine,n=this._lastCommentLine;if(s>0&&n>0){let a=s-n;if(a>=0){this.newline(a||1);return}}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e){return e.ignore||this._printedComments.has(e)?0:this._noLineTerminator&&iBt.test(e.value)?2:(this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0)}_printComment(e,r){let i=this._noLineTerminator,s=e.type==="CommentBlock",n=s&&r!==1&&!this._noLineTerminator;n&&this._buf.hasContent()&&r!==2&&this.newline(1);let a=this.getLastChar();a!==91&&a!==123&&this.space();let o;if(s){let{_parenPushNewlineState:u}=this;if((u==null?void 0:u.printed)===!1&&tbe.test(e.value)&&(this.tokenChar(40),this.indent(),u.printed=!0),o=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var l;let c=(l=e.loc)==null?void 0:l.start.column;if(c){let p=new RegExp("\\n\\s{1,"+c+"}","g");o=o.replace(p,`
|
|
@@ -440,7 +440,7 @@ ${e}`,i}}}});var X2e=E(Eo=>{"use strict";Object.defineProperty(Eo,"__esModule",{
|
|
|
440
440
|
return FUNCTION_ID;
|
|
441
441
|
})(FUNCTION)
|
|
442
442
|
`),Z$t={"ReferencedIdentifier|BindingIdentifier"(t,e){t.node.name!==e.name||t.scope.getBindingIdentifier(e.name)!==e.outerDeclar||(e.selfReference=!0,t.stop())}};function eKt(t){return q$t(t)?"null":W$t(t)?`_${t.pattern}_${t.flags}`:z$t(t)?t.quasis.map(e=>e.value.raw).join(""):t.value!==void 0?t.value+"":""}function tKt(t,e,r,i){if(t.selfReference)if(i.hasBinding(r.name)&&!i.hasGlobal(r.name))i.rename(r.name);else{if(!rSe(e))return;let s=X$t;e.generator&&(s=Q$t);let n=s({FUNCTION:e,FUNCTION_ID:r,FUNCTION_KEY:i.generateUidIdentifier(r.name)}).expression,a=n.callee.body.body[0].params;for(let o=0,l=J$t(e);o<l;o++)a.push(i.generateUidIdentifier("x"));return n}e.id=r,i.getProgramParent().references[r.name]=!0}function rKt(t,e,r){let i={selfAssignment:!1,selfReference:!1,outerDeclar:r.getBindingIdentifier(e),name:e},s=r.getOwnBinding(e);return s?s.kind==="param"&&(i.selfReference=!0):(i.outerDeclar||r.hasGlobal(e))&&r.traverse(t,Z$t,i),i}function iKt({node:t,parent:e,scope:r,id:i},s=!1,n=!1){if(t.id)return;if((K$t(e)||$$t(e,{kind:"method"}))&&(!e.computed||eSe(e.key)))i=e.key;else if(H$t(e)){if(i=e.id,Z2e(i)&&!s){let u=r.parent.getBinding(i.name);if(u&&u.constant&&r.getBinding(i.name)===u){t.id=M$t(i),t.id[Q2e]=!0;return}}}else if(V$t(e,{operator:"="}))i=e.left;else if(!i)return;let a;if(i&&eSe(i)?a=eKt(i):i&&Z2e(i)&&(a=i.name),a===void 0||!n&&rSe(t)&&/[\uD800-\uDFFF]/.test(a))return;a=Y$t(a);let o=j$t(a);o[Q2e]=!0;let l=rKt(t,a,r);return tKt(l,t,o,r)||t}});var lSe=E(j0=>{"use strict";Object.defineProperty(j0,"__esModule",{value:!0});j0.arrowFunctionToExpression=AKt;j0.ensureBlock=xKt;j0.toComputedKey=TKt;j0.unwrapFunctionEnvironment=EKt;var sKt=gr(),TK=HU(),nKt=iSe(),xK=QT(),{arrowFunctionExpression:EK,assignmentExpression:M0,binaryExpression:vK,blockStatement:aKt,callExpression:_b,conditionalExpression:oKt,expressionStatement:sSe,identifier:ns,isIdentifier:lKt,jsxIdentifier:uKt,logicalExpression:cKt,LOGICAL_OPERATORS:pKt,memberExpression:Cu,metaProperty:fKt,numericLiteral:dKt,objectExpression:hKt,restElement:mKt,returnStatement:yKt,sequenceExpression:gKt,spreadElement:bKt,stringLiteral:nSe,super:SK,thisExpression:Bx,toExpression:vKt,unaryExpression:SKt}=sKt;function TKt(){let t;if(this.isMemberExpression())t=this.node.property;else if(this.isProperty()||this.isMethod())t=this.node.key;else throw new ReferenceError("todo");return this.node.computed||lKt(t)&&(t=nSe(t.name)),t}function xKt(){let t=this.get("body"),e=t.node;if(Array.isArray(t))throw new Error("Can't convert array path to a block statement");if(!e)throw new Error("Can't convert node without a body");if(t.isBlockStatement())return e;let r=[],i="body",s,n;t.isStatement()?(n="body",s=0,r.push(t.node)):(i+=".body.0",this.isFunction()?(s="argument",r.push(yKt(t.node))):(s="expression",r.push(sSe(t.node)))),this.node.body=aKt(r);let a=this.get(i);return t.setup(a,n?a.node[n]:a.node,n,s),this.node}j0.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function EKt(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");aSe(this)}function wKt(t,e){t.node.type=e}function AKt({allowInsertArrow:t=!0,allowInsertArrowWithRest:e=t,noNewArrows:r=!(i=>(i=arguments[0])==null?void 0:i.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let{thisBinding:i,fnPath:s}=aSe(this,r,t,e);if(s.ensureBlock(),wKt(s,"FunctionExpression"),!r){let n=i?null:s.scope.generateUidIdentifier("arrowCheckId");return n&&s.parentPath.scope.push({id:n,init:hKt([])}),s.get("body").unshiftContainer("body",sSe(_b(this.hub.addHelper("newArrowCheck"),[Bx(),ns(n?n.name:i)]))),s.replaceWith(_b(Cu((0,nKt.default)(this,!0)||s.node,ns("bind")),[n?ns(n.name):Bx()])),s.get("callee.object")}return s}var PKt=(0,xK.merge)([{CallExpression(t,{allSuperCalls:e}){t.get("callee").isSuper()&&e.push(t)}},TK.default]);function aSe(t,e=!0,r=!0,i=!0){let s,n=t.findParent(f=>{if(f.isArrowFunctionExpression()){var h;return(h=s)!=null||(s=f),!1}return f.isFunction()||f.isProgram()||f.isClassProperty({static:!1})||f.isClassPrivateProperty({static:!1})}),a=n.isClassMethod({kind:"constructor"});if(n.isClassProperty()||n.isClassPrivateProperty())if(s)n=s;else if(r)t.replaceWith(_b(EK([],vKt(t.node)),[])),n=t.get("callee"),t=n.get("body");else throw t.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:o,argumentsPaths:l,newTargetPaths:u,superProps:c,superCalls:p}=LKt(t);if(a&&p.length>0){if(!r)throw p[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!i)throw p[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let f=[];n.traverse(PKt,{allSuperCalls:f});let h=IKt(n);f.forEach(m=>{let g=ns(h);g.loc=m.node.callee.loc,m.get("callee").replaceWith(g)})}if(l.length>0){let f=Mx(n,"arguments",()=>{let h=()=>ns("arguments");return n.scope.path.isProgram()?oKt(vK("===",SKt("typeof",h()),nSe("undefined")),n.scope.buildUndefinedNode(),h()):h()});l.forEach(h=>{let m=ns(f);m.loc=h.node.loc,h.replaceWith(m)})}if(u.length>0){let f=Mx(n,"newtarget",()=>fKt(ns("new"),ns("target")));u.forEach(h=>{let m=ns(f);m.loc=h.node.loc,h.replaceWith(m)})}if(c.length>0){if(!r)throw c[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");c.reduce((h,m)=>h.concat(CKt(m)),[]).forEach(h=>{let m=h.node.computed?"":h.get("property").node.name,g=h.parentPath,b=g.isAssignmentExpression({left:h.node}),T=g.isCallExpression({callee:h.node}),x=g.isTaggedTemplateExpression({tag:h.node}),v=OKt(n,b,m),w=[];if(h.node.computed&&w.push(h.get("property").node),b){let C=g.node.right;w.push(C)}let A=_b(ns(v),w);T?(g.unshiftContainer("arguments",Bx()),h.replaceWith(Cu(A,ns("call"))),o.push(g.get("arguments.0"))):b?g.replaceWith(A):x?(h.replaceWith(_b(Cu(A,ns("bind"),!1),[Bx()])),o.push(h.get("arguments.0"))):h.replaceWith(A)})}let d;return(o.length>0||!e)&&(d=NKt(n,a),(e||a&&oSe(n))&&(o.forEach(f=>{let h=f.isJSX()?uKt(d):ns(d);h.loc=f.node.loc,f.replaceWith(h)}),e||(d=null))),{thisBinding:d,fnPath:t}}function _Kt(t){return pKt.includes(t)}function CKt(t){if(t.parentPath.isAssignmentExpression()&&t.parentPath.node.operator!=="="){let r=t.parentPath,i=r.node.operator.slice(0,-1),s=r.node.right,n=_Kt(i);if(t.node.computed){let a=t.scope.generateDeclaredUidIdentifier("tmp"),o=t.node.object,l=t.node.property;r.get("left").replaceWith(Cu(o,M0("=",a,l),!0)),r.get("right").replaceWith(e(n?"=":i,Cu(o,ns(a.name),!0),s))}else{let a=t.node.object,o=t.node.property;r.get("left").replaceWith(Cu(a,o)),r.get("right").replaceWith(e(n?"=":i,Cu(a,ns(o.name)),s))}return n?r.replaceWith(cKt(i,r.node.left,r.node.right)):r.node.operator="=",[r.get("left"),r.get("right").get("left")]}else if(t.parentPath.isUpdateExpression()){let r=t.parentPath,i=t.scope.generateDeclaredUidIdentifier("tmp"),s=t.node.computed?t.scope.generateDeclaredUidIdentifier("prop"):null,n=[M0("=",i,Cu(t.node.object,s?M0("=",s,t.node.property):t.node.property,t.node.computed)),M0("=",Cu(t.node.object,s?ns(s.name):t.node.property,t.node.computed),vK(t.parentPath.node.operator[0],ns(i.name),dKt(1)))];t.parentPath.node.prefix||n.push(ns(i.name)),r.replaceWith(gKt(n));let a=r.get("expressions.0.right"),o=r.get("expressions.1.left");return[a,o]}return[t];function e(r,i,s){return r==="="?M0("=",i,s):vK(r,i,s)}}function oSe(t){return t.isClassMethod()&&!!t.parentPath.parentPath.node.superClass}var DKt=(0,xK.merge)([{CallExpression(t,{supers:e,thisBinding:r}){t.get("callee").isSuper()&&(e.has(t.node)||(e.add(t.node),t.replaceWithMultiple([t.node,M0("=",ns(r),ns("this"))])))}},TK.default]);function NKt(t,e){return Mx(t,"this",r=>{if(!e||!oSe(t))return Bx();t.traverse(DKt,{supers:new WeakSet,thisBinding:r})})}function IKt(t){return Mx(t,"supercall",()=>{let e=t.scope.generateUidIdentifier("args");return EK([mKt(e)],_b(SK(),[bKt(ns(e.name))]))})}function OKt(t,e,r){return Mx(t,`superprop_${e?"set":"get"}:${r||""}`,()=>{let s=[],n;if(r)n=Cu(SK(),ns(r));else{let a=t.scope.generateUidIdentifier("prop");s.unshift(a),n=Cu(SK(),ns(a.name),!0)}if(e){let a=t.scope.generateUidIdentifier("value");s.push(a),n=M0("=",n,ns(a.name))}return EK(s,n)})}function Mx(t,e,r){let i="binding:"+e,s=t.getData(i);if(!s){let n=t.scope.generateUidIdentifier(e);s=n.name,t.setData(i,s),t.scope.push({id:n,init:r(s)})}return s}var kKt=(0,xK.merge)([{ThisExpression(t,{thisPaths:e}){e.push(t)},JSXIdentifier(t,{thisPaths:e}){t.node.name==="this"&&(!t.parentPath.isJSXMemberExpression({object:t.node})&&!t.parentPath.isJSXOpeningElement({name:t.node})||e.push(t))},CallExpression(t,{superCalls:e}){t.get("callee").isSuper()&&e.push(t)},MemberExpression(t,{superProps:e}){t.get("object").isSuper()&&e.push(t)},Identifier(t,{argumentsPaths:e}){if(!t.isReferencedIdentifier({name:"arguments"}))return;let r=t.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);e.push(t)},MetaProperty(t,{newTargetPaths:e}){t.get("meta").isIdentifier({name:"new"})&&t.get("property").isIdentifier({name:"target"})&&e.push(t)}},TK.default]);function LKt(t){let e=[],r=[],i=[],s=[],n=[];return t.traverse(kKt,{thisPaths:e,argumentsPaths:r,newTargetPaths:i,superProps:s,superCalls:n}),{thisPaths:e,argumentsPaths:r,newTargetPaths:i,superProps:s,superCalls:n}}});var hSe=E(js=>{"use strict";Object.defineProperty(js,"__esModule",{value:!0});js._guessExecutionStatusRelativeTo=sWt;js._resolve=lWt;js.canHaveVariableDeclarationOrExpression=JKt;js.canSwapBetweenExpressionAndStatement=XKt;js.equals=HKt;js.getSource=tWt;js.has=dSe;js.is=void 0;js.isCompletionRecord=QKt;js.isConstantExpression=uWt;js.isInStrictMode=cWt;js.isNodeType=YKt;js.isStatementOrBlock=ZKt;js.isStatic=WKt;js.isnt=zKt;js.matchesPattern=KKt;js.referencesImport=eWt;js.resolve=oWt;js.willIMaybeExecuteBefore=rWt;var FKt=gr(),{STATEMENT_OR_BLOCK_KEYS:RKt,VISITOR_KEYS:BKt,isBlockStatement:fSe,isExpression:MKt,isIdentifier:jKt,isLiteral:VKt,isStringLiteral:UKt,isType:qKt,matchesPattern:$Kt}=FKt;function KKt(t,e){return $Kt(this.node,t,e)}function dSe(t){let e=this.node&&this.node[t];return e&&Array.isArray(e)?!!e.length:!!e}function WKt(){return this.scope.isStatic(this.node)}var GKt=dSe;js.is=GKt;function zKt(t){return!this.has(t)}function HKt(t,e){return this.node[t]===e}function YKt(t){return qKt(this.type,t)}function JKt(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function XKt(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?fSe(t):this.isBlockStatement()?MKt(t):!1}function QKt(t){let e=this,r=!0;do{let{type:i,container:s}=e;if(!r&&(e.isFunction()||i==="StaticBlock"))return!!t;if(r=!1,Array.isArray(s)&&e.key!==s.length-1)return!1}while((e=e.parentPath)&&!e.isProgram()&&!e.isDoExpression());return!0}function ZKt(){return this.parentPath.isLabeledStatement()||fSe(this.container)?!1:RKt.includes(this.key)}function eWt(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?UKt(this.node.property,{value:e}):this.node.property.name===e)){let n=this.get("object");return n.isReferencedIdentifier()&&n.referencesImport(t,"*")}return!1}let r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return!1;let i=r.path,s=i.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===t){if(!e)return!0}else return!1;return!!(i.isImportDefaultSpecifier()&&e==="default"||i.isImportNamespaceSpecifier()&&e==="*"||i.isImportSpecifier()&&jKt(i.node.imported,{name:e}))}function tWt(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function rWt(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function uSe(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function iWt(t,e){switch(t){case"LogicalExpression":return e==="right";case"ConditionalExpression":case"IfStatement":return e==="consequent"||e==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return e==="body";case"ForStatement":return e==="body"||e==="update";case"SwitchStatement":return e==="cases";case"TryStatement":return e==="handler";case"AssignmentPattern":return e==="right";case"OptionalMemberExpression":return e==="property";case"OptionalCallExpression":return e==="arguments";default:return!1}}function cSe(t,e){for(let r=0;r<e;r++){let i=t[r];if(iWt(i.parent.type,i.parentKey))return!0}return!1}var pSe=Symbol();function sWt(t){return wK(this,t,new Map)}function wK(t,e,r){let i={this:uSe(t),target:uSe(e)};if(i.target.node!==i.this.node)return aWt(t,i.target,r);let s={target:e.getAncestry(),this:t.getAncestry()};if(s.target.indexOf(t)>=0)return"after";if(s.this.indexOf(e)>=0)return"before";let n,a={target:0,this:0};for(;!n&&a.this<s.this.length;){let c=s.this[a.this];a.target=s.target.indexOf(c),a.target>=0?n=c:a.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(cSe(s.this,a.this-1)||cSe(s.target,a.target-1))return"unknown";let o={this:s.this[a.this-1],target:s.target[a.target-1]};if(o.target.listKey&&o.this.listKey&&o.target.container===o.this.container)return o.target.key>o.this.key?"before":"after";let l=BKt[n.type],u={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return u.target>u.this?"before":"after"}function nWt(t,e,r){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return wK(t,e,r)==="before"?"before":"unknown";let i=e.scope.getBinding(e.node.id.name);if(!i.references)return"before";let s=i.referencePaths,n;for(let a of s){if(!!a.find(u=>u.node===e.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let l=wK(t,a,r);if(n&&n!==l)return"unknown";n=l}return n}function aWt(t,e,r){let i=r.get(t.node),s;if(!i)r.set(t.node,i=new Map);else if(s=i.get(e.node))return s===pSe?"unknown":s;i.set(e.node,pSe);let n=nWt(t,e,r);return i.set(e.node,n),n}function oWt(t,e){return this._resolve(t,e)||this}function lWt(t,e){if(!(e&&e.indexOf(this)>=0))if(e=e||[],e.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(t,e)}else if(this.isReferencedIdentifier()){let r=this.scope.getBinding(this.node.name);if(!r||!r.constant||r.kind==="module")return;if(r.path!==this){let i=r.path.resolve(t,e);return this.find(s=>s.node===i.node)?void 0:i}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(t,e);if(t&&this.isMemberExpression()){let r=this.toComputedKey();if(!VKt(r))return;let i=r.value,s=this.get("object").resolve(t,e);if(s.isObjectExpression()){let n=s.get("properties");for(let a of n){if(!a.isProperty())continue;let o=a.get("key"),l=a.isnt("computed")&&o.isIdentifier({name:i});if(l=l||o.isLiteral({value:i}),l)return a.get("value").resolve(t,e)}}else if(s.isArrayExpression()&&!isNaN(+i)){let a=s.get("elements")[i];if(a)return a.resolve(t,e)}}}}function uWt(){if(this.isIdentifier()){let t=this.scope.getBinding(this.node.name);return t?t.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(t=>t.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:t}=this.node;return t!=="in"&&t!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return!1}function cWt(){return!!(this.isProgram()?this:this.parentPath).find(r=>{if(r.isProgram({sourceType:"module"})||r.isClass())return!0;if(r.isArrowFunctionExpression()&&!r.get("body").isBlockStatement())return!1;let i;if(r.isFunction())i=r.node.body;else if(r.isProgram())i=r.node;else return!1;for(let s of i.directives)if(s.value.value==="use strict")return!0})}});var gSe=E(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws._call=dWt;ws._getQueueContexts=IWt;ws._resyncKey=EWt;ws._resyncList=wWt;ws._resyncParent=xWt;ws._resyncRemoved=AWt;ws.call=fWt;ws.isBlacklisted=ws.isDenylisted=hWt;ws.popContext=PWt;ws.pushContext=_Wt;ws.requeue=NWt;ws.resync=TWt;ws.setContext=SWt;ws.setKey=DWt;ws.setScope=vWt;ws.setup=CWt;ws.skip=yWt;ws.skipKey=gWt;ws.stop=bWt;ws.visit=mWt;var pWt=tC(),mSe=nh();function fWt(t){let e=this.opts;if(this.debug(t),this.node&&this._call(e[t]))return!0;if(this.node){var r;return this._call((r=e[this.node.type])==null?void 0:r[t])}return!1}function dWt(t){if(!t)return!1;for(let e of t){if(!e)continue;let r=this.node;if(!r)return!0;let i=e.call(this.state,this,this.state);if(i&&typeof i=="object"&&typeof i.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(i)throw new Error(`Unexpected return value from visitor method ${e}`);if(this.node!==r||this._traverseFlags>0)return!0}return!1}function hWt(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e&&e.indexOf(this.node.type)>-1}function ySe(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function mWt(){var t,e;if(!this.node||this.isDenylisted()||(t=(e=this.opts).shouldSkip)!=null&&t.call(e,this))return!1;let r=this.context;return this.shouldSkip||this.call("enter")?(this.debug("Skip..."),this.shouldStop):(ySe(this,r),this.debug("Recursing into..."),this.shouldStop=(0,pWt.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),ySe(this,r),this.call("exit"),this.shouldStop)}function yWt(){this.shouldSkip=!0}function gWt(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function bWt(){this._traverseFlags|=mSe.SHOULD_SKIP|mSe.SHOULD_STOP}function vWt(){var t,e;if((t=this.opts)!=null&&t.noScope)return;let r=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement())&&(r=r.parentPath);let i;for(;r&&!i;){var s;if((s=r.opts)!=null&&s.noScope)return;i=r.scope,r=r.parentPath}this.scope=this.getScope(i),(e=this.scope)==null||e.init()}function SWt(t){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,t&&(this.context=t,this.state=t.state,this.opts=t.opts),this.setScope(),this}function TWt(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function xWt(){this.parentPath&&(this.parent=this.parentPath.node)}function EWt(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let t=0;t<this.container.length;t++)if(this.container[t]===this.node){this.setKey(t);return}}else for(let t of Object.keys(this.container))if(this.container[t]===this.node){this.setKey(t);return}this.key=null}}function wWt(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function AWt(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&this._markRemoved()}function PWt(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function _Wt(t){this.contexts.push(t),this.setContext(t)}function CWt(t,e,r,i){this.listKey=r,this.container=e,this.parentPath=t||this.parentPath,this.setKey(i)}function DWt(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function NWt(t=this){if(t.removed)return;let e=this.contexts;for(let r of e)r.maybeQueue(t)}function IWt(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var bSe=E(r8=>{"use strict";Object.defineProperty(r8,"__esModule",{value:!0});r8.hooks=void 0;var OWt=[function(t,e){if(t.key==="test"&&(e.isWhile()||e.isSwitchCase())||t.key==="declaration"&&e.isExportDeclaration()||t.key==="body"&&e.isLabeledStatement()||t.listKey==="declarations"&&e.isVariableDeclaration()&&e.node.declarations.length===1||t.key==="expression"&&e.isExpressionStatement())return e.remove(),!0},function(t,e){if(e.isSequenceExpression()&&e.node.expressions.length===1)return e.replaceWith(e.node.expressions[0]),!0},function(t,e){if(e.isBinary())return t.key==="left"?e.replaceWith(e.node.right):e.replaceWith(e.node.left),!0},function(t,e){if(e.isIfStatement()&&t.key==="consequent"||t.key==="body"&&(e.isLoop()||e.isArrowFunctionExpression()))return t.replaceWith({type:"BlockStatement",body:[]}),!0}];r8.hooks=OWt});var SSe=E(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});ch._assertUnremoved=VWt;ch._callRemovalHooks=BWt;ch._markRemoved=jWt;ch._remove=MWt;ch._removeFromScope=RWt;ch.remove=FWt;var kWt=bSe(),LWt=D0(),vSe=nh();function FWt(){var t;if(this._assertUnremoved(),this.resync(),(t=this.opts)!=null&&t.noScope||this._removeFromScope(),this._callRemovalHooks()){this._markRemoved();return}this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()}function RWt(){let t=this.getBindingIdentifiers();Object.keys(t).forEach(e=>this.scope.removeBinding(e))}function BWt(){for(let t of kWt.hooks)if(t(this,this.parentPath))return!0}function MWt(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)}function jWt(){this._traverseFlags|=vSe.SHOULD_SKIP|vSe.REMOVED,this.parent&&(0,LWt.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null}function VWt(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var xSe=E(i8=>{"use strict";Object.defineProperty(i8,"__esModule",{value:!0});i8.default=void 0;var TSe=gr(),UWt=TSe,{react:qWt}=TSe,{cloneNode:$Wt,jsxExpressionContainer:KWt,variableDeclaration:WWt,variableDeclarator:GWt}=UWt,zWt={ReferencedIdentifier(t,e){if(t.isJSXIdentifier()&&qWt.isCompatTag(t.node.name)&&!t.parentPath.isJSXMemberExpression())return;if(t.node.name==="this"){let i=t.scope;do if(i.path.isFunction()&&!i.path.isArrowFunctionExpression())break;while(i=i.parent);i&&e.breakOnScopePaths.push(i.path)}let r=t.scope.getBinding(t.node.name);if(r){for(let i of r.constantViolations)if(i.scope!==r.path.scope){e.mutableBinding=!0,t.stop();return}r===e.scope.getBinding(t.node.name)&&(e.bindings[t.node.name]=r)}}},AK=class{constructor(e,r){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=r,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(let r of Object.keys(this.bindings)){let i=this.bindings[r];if(!e.bindingIdentifierEquals(r,i.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e))this.scopes.push(e);else break;if(this.breakOnScopePaths.indexOf(e.path)>=0)break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let r=e.scope;if(r.path===e&&(r=e.scope.parent),r.path.isProgram()||r.path.isFunction())for(let i of Object.keys(this.bindings)){if(!r.hasOwnBinding(i))continue;let s=this.bindings[i];if(s.kind==="param"||s.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(s.path).key>=e.key){this.attachAfter=!0,e=s.path;for(let a of s.constantViolations)this.getAttachmentParentForPath(a).key>e.key&&(e=a)}}return e}_getAttachmentPath(){let r=this.scopes.pop();if(r){if(r.path.isFunction())if(this.hasOwnParamBindings(r)){if(this.scope===r)return;let i=r.path.get("body").get("body");for(let s=0;s<i.length;s++)if(!i[s].node._blockHoist)return i[s]}else return this.getNextScopeAttachmentParent();else if(r.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e;while(e=e.parentPath)}hasOwnParamBindings(e){for(let r of Object.keys(this.bindings)){if(!e.hasOwnBinding(r))continue;let i=this.bindings[r];if(i.kind==="param"&&i.constant)return!0}return!1}run(){if(this.path.traverse(zWt,this),this.mutableBinding)return;this.getCompatibleScopes();let e=this.getAttachmentPath();if(!e||e.getFunctionParent()===this.path.getFunctionParent())return;let r=e.scope.generateUidIdentifier("ref"),i=GWt(r,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[n]=e[s]([e.isVariableDeclarator()?i:WWt("var",[i])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=KWt(r)),this.path.replaceWith($Wt(r)),e.isVariableDeclarator()?n.get("init"):n.get("declarations.0.init")}};i8.default=AK});var _Se=E(Vl=>{"use strict";Object.defineProperty(Vl,"__esModule",{value:!0});Vl._containerInsert=uGt;Vl._containerInsertAfter=pGt;Vl._containerInsertBefore=cGt;Vl._verifyNodeList=mGt;Vl.hoist=bGt;Vl.insertAfter=dGt;Vl.insertBefore=lGt;Vl.pushContainer=gGt;Vl.unshiftContainer=yGt;Vl.updateSiblingKeys=hGt;var HWt=D0(),YWt=xSe(),CK=nh(),JWt=gr(),{arrowFunctionExpression:XWt,assertExpression:QWt,assignmentExpression:ZWt,blockStatement:ESe,callExpression:eGt,cloneNode:PK,expressionStatement:_K,isAssignmentExpression:tGt,isCallExpression:rGt,isExportNamedDeclaration:wSe,isExpression:iGt,isIdentifier:sGt,isSequenceExpression:nGt,isSuper:aGt,thisExpression:oGt}=JWt;function lGt(t){this._assertUnremoved();let e=this._verifyNodeList(t),{parentPath:r,parent:i}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||wSe(i)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(e);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init")return this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);if(Array.isArray(this.container))return this._containerInsertBefore(e);if(this.isStatementOrBlock()){let s=this.node,n=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(ESe(n?[s]:[])),this.unshiftContainer("body",e)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function uGt(t,e){this.updateSiblingKeys(t,e.length);let r=[];this.container.splice(t,0,...e);for(let n=0;n<e.length;n++){var i;let a=t+n,o=this.getSibling(a);r.push(o),(i=this.context)!=null&&i.queue&&o.pushContext(this.context)}let s=this._getQueueContexts();for(let n of r){n.setScope(),n.debug("Inserted.");for(let a of s)a.maybeQueue(n,!0)}return r}function cGt(t){return this._containerInsert(this.key,t)}function pGt(t){return this._containerInsert(this.key+1,t)}var ASe=t=>t[t.length-1];function PSe(t){return nGt(t.parent)&&(ASe(t.parent.expressions)!==t.node||PSe(t.parentPath))}function fGt(t,e){if(!tGt(t)||!sGt(t.left))return!1;let r=e.getBlockParent();return r.hasOwnBinding(t.left.name)&&r.getOwnBinding(t.left.name).constantViolations.length<=1}function dGt(t){if(this._assertUnremoved(),this.isSequenceExpression())return ASe(this.get("expressions")).insertAfter(t);let e=this._verifyNodeList(t),{parentPath:r,parent:i}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||wSe(i)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(e.map(s=>iGt(s)?_K(s):s));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){if(this.node){let s=this.node,{scope:n}=this;if(n.path.isPattern())return QWt(s),this.replaceWith(eGt(XWt([],s),[])),this.get("callee.body").insertAfter(e),[this];if(PSe(this))e.unshift(s);else if(rGt(s)&&aGt(s.callee))e.unshift(s),e.push(oGt());else if(fGt(s,n))e.unshift(s),e.push(PK(s.left));else if(n.isPure(s,!0))e.push(s);else{r.isMethod({computed:!0,key:s})&&(n=n.parent);let a=n.generateDeclaredUidIdentifier();e.unshift(_K(ZWt("=",PK(a),s))),e.push(_K(PK(a)))}}return this.replaceExpressionWithStatements(e)}else{if(Array.isArray(this.container))return this._containerInsertAfter(e);if(this.isStatementOrBlock()){let s=this.node,n=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith(ESe(n?[s]:[])),this.pushContainer("body",e)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}}function hGt(t,e){if(!this.parent)return;let r=(0,HWt.getCachedPaths)(this.hub,this.parent)||[];for(let[,i]of r)typeof i.key=="number"&&i.key>=t&&(i.key+=e)}function mGt(t){if(!t)return[];Array.isArray(t)||(t=[t]);for(let e=0;e<t.length;e++){let r=t[e],i;if(r?typeof r!="object"?i="contains a non-object node":r.type?r instanceof CK.default&&(i="has a NodePath when it expected a raw object"):i="without a type":i="has falsy node",i){let s=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${i} with the index of ${e} and type of ${s}`)}}return t}function yGt(t,e){return this._assertUnremoved(),e=this._verifyNodeList(e),CK.default.get({parentPath:this,parent:this.node,container:this.node[t],listKey:t,key:0}).setContext(this.context)._containerInsertBefore(e)}function gGt(t,e){this._assertUnremoved();let r=this._verifyNodeList(e),i=this.node[t];return CK.default.get({parentPath:this,parent:this.node,container:i,listKey:t,key:i.length}).setContext(this.context).replaceWithMultiple(r)}function bGt(t=this.scope){return new YWt.default(this,t).run()}});var NSe=E(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da._getKey=RGt;da._getPattern=BGt;da.get=FGt;da.getAllNextSiblings=kGt;da.getAllPrevSiblings=LGt;da.getBindingIdentifierPaths=VGt;da.getBindingIdentifiers=MGt;da.getCompletionRecords=DGt;da.getNextSibling=OGt;da.getOpposite=PGt;da.getOuterBindingIdentifierPaths=UGt;da.getOuterBindingIdentifiers=jGt;da.getPrevSibling=IGt;da.getSibling=NGt;var NK=nh(),vGt=gr(),{getBindingIdentifiers:DSe,getOuterBindingIdentifiers:SGt,isDeclaration:TGt,numericLiteral:xGt,unaryExpression:EGt}=vGt,IK=0,jx=1;function wGt(t){return{type:IK,path:t}}function AGt(t){return{type:jx,path:t}}function PGt(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function Cb(t,e,r){return t&&e.push(...Db(t,r)),e}function _Gt(t,e,r){let i=[];for(let s=0;s<t.length;s++){let n=t[s],a=Db(n,r),o=[],l=[];for(let u of a)u.type===IK&&o.push(u),u.type===jx&&l.push(u);o.length&&(i=o),e.push(...l)}return e.push(...i),e}function CGt(t){t.forEach(e=>{e.type=jx})}function DK(t,e){t.forEach(r=>{r.path.isBreakStatement({label:null})&&(e?r.path.replaceWith(EGt("void",xGt(0))):r.path.remove())})}function CSe(t,e){let r=[];if(e.canHaveBreak){let i=[];for(let s=0;s<t.length;s++){let n=t[s],a=Object.assign({},e,{inCaseClause:!1});n.isBlockStatement()&&(e.inCaseClause||e.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let o=Db(n,a);if(o.length>0&&o.every(l=>l.type===jx)){i.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(CGt(i),r.push(...i),i.some(l=>l.path.isDeclaration())&&(r.push(...o),DK(o,!0)),DK(o,!1)):(r.push(...o),e.shouldPopulateBreak||DK(o,!0));break}if(s===t.length-1)r.push(...o);else{i=[];for(let l=0;l<o.length;l++){let u=o[l];u.type===jx&&r.push(u),u.type===IK&&i.push(u)}}}}else if(t.length)for(let i=t.length-1;i>=0;i--){let s=Db(t[i],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}return r}function Db(t,e){let r=[];if(t.isIfStatement())r=Cb(t.get("consequent"),r,e),r=Cb(t.get("alternate"),r,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return Cb(t.get("body"),r,e);if(t.isProgram()||t.isBlockStatement())return CSe(t.get("body"),e);if(t.isFunction())return Db(t.get("body"),e);if(t.isTryStatement())r=Cb(t.get("block"),r,e),r=Cb(t.get("handler"),r,e);else{if(t.isCatchClause())return Cb(t.get("body"),r,e);if(t.isSwitchStatement())return _Gt(t.get("cases"),r,e);if(t.isSwitchCase())return CSe(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});t.isBreakStatement()?r.push(AGt(t)):r.push(wGt(t))}}return r}function DGt(){return Db(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(e=>e.path)}function NGt(t){return NK.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function IGt(){return this.getSibling(this.key-1)}function OGt(){return this.getSibling(this.key+1)}function kGt(){let t=this.key,e=this.getSibling(++t),r=[];for(;e.node;)r.push(e),e=this.getSibling(++t);return r}function LGt(){let t=this.key,e=this.getSibling(--t),r=[];for(;e.node;)r.push(e),e=this.getSibling(--t);return r}function FGt(t,e=!0){e===!0&&(e=this.context);let r=t.split(".");return r.length===1?this._getKey(t,e):this._getPattern(r,e)}function RGt(t,e){let r=this.node,i=r[t];return Array.isArray(i)?i.map((s,n)=>NK.default.get({listKey:t,parentPath:this,parent:r,container:i,key:n}).setContext(e)):NK.default.get({parentPath:this,parent:r,container:r,key:t}).setContext(e)}function BGt(t,e){let r=this;for(let i of t)i==="."?r=r.parentPath:Array.isArray(r)?r=r[i]:r=r.get(i,e);return r}function MGt(t){return DSe(this.node,t)}function jGt(t){return SGt(this.node,t)}function VGt(t=!1,e=!1){let i=[this],s=Object.create(null);for(;i.length;){let n=i.shift();if(!n||!n.node)continue;let a=DSe.keys[n.node.type];if(n.isIdentifier()){t?(s[n.node.name]=s[n.node.name]||[]).push(n):s[n.node.name]=n;continue}if(n.isExportDeclaration()){let o=n.get("declaration");TGt(o)&&i.push(o);continue}if(e){if(n.isFunctionDeclaration()){i.push(n.get("id"));continue}if(n.isFunctionExpression())continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],u=n.get(l);Array.isArray(u)?i.push(...u):u.node&&i.push(u)}}return s}function UGt(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var OSe=E(Vx=>{"use strict";Object.defineProperty(Vx,"__esModule",{value:!0});Vx.addComment=GGt;Vx.addComments=zGt;Vx.shareCommentsWithSiblings=WGt;var qGt=gr(),{addComment:$Gt,addComments:KGt}=qGt;function WGt(){if(typeof this.key=="string")return;let t=this.node;if(!t)return;let e=t.trailingComments,r=t.leadingComments;if(!e&&!r)return;let i=this.getSibling(this.key-1),s=this.getSibling(this.key+1),n=!!i.node,a=!!s.node;n&&(r&&i.addComments("trailing",ISe(r,i.node.trailingComments)),e&&!a&&i.addComments("trailing",e)),a&&(e&&s.addComments("leading",ISe(e,s.node.leadingComments)),r&&!n&&s.addComments("leading",r))}function ISe(t,e){if(!e)return t;let r=-1;return t.filter(i=>{let s=e.indexOf(i,r);if(s===-1)return!0;r=s})}function GGt(t,e,r){$Gt(this.node,t,e,r)}function zGt(t,e){KGt(this.node,t,e)}});var FSe=E(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.isBindingIdentifier=yzt;fn.isBlockScoped=Tzt;fn.isExpression=bzt;fn.isFlow=Pzt;fn.isForAwaitStatement=Dzt;fn.isGenerated=wzt;fn.isPure=Azt;fn.isReferenced=Szt;fn.isReferencedIdentifier=hzt;fn.isReferencedMemberExpression=mzt;fn.isRestProperty=_zt;fn.isScope=vzt;fn.isSpreadProperty=Czt;fn.isStatement=gzt;fn.isUser=Ezt;fn.isVar=xzt;var HGt=gr(),{isBinding:YGt,isBlockScoped:JGt,isExportDeclaration:XGt,isExpression:QGt,isFlow:ZGt,isForStatement:ezt,isForXStatement:tzt,isIdentifier:kSe,isImportDeclaration:rzt,isImportSpecifier:izt,isJSXIdentifier:szt,isJSXMemberExpression:nzt,isMemberExpression:azt,isRestElement:LSe,isReferenced:OK,isScope:ozt,isStatement:lzt,isVar:uzt,isVariableDeclaration:czt,react:pzt,isForOfStatement:fzt}=HGt,{isCompatTag:dzt}=pzt;function hzt(t){let{node:e,parent:r}=this;if(!kSe(e,t)&&!nzt(r,t))if(szt(e,t)){if(dzt(e.name))return!1}else return!1;return OK(e,r,this.parentPath.parent)}function mzt(){let{node:t,parent:e}=this;return azt(t)&&OK(t,e)}function yzt(){let{node:t,parent:e}=this,r=this.parentPath.parent;return kSe(t)&&YGt(t,e,r)}function gzt(){let{node:t,parent:e}=this;return lzt(t)?!(czt(t)&&(tzt(e,{left:t})||ezt(e,{init:t}))):!1}function bzt(){return this.isIdentifier()?this.isReferencedIdentifier():QGt(this.node)}function vzt(){return ozt(this.node,this.parent)}function Szt(){return OK(this.node,this.parent)}function Tzt(){return JGt(this.node)}function xzt(){return uzt(this.node)}function Ezt(){return this.node&&!!this.node.loc}function wzt(){return!this.isUser()}function Azt(t){return this.scope.isPure(this.node,t)}function Pzt(){let{node:t}=this;return ZGt(t)?!0:rzt(t)?t.importKind==="type"||t.importKind==="typeof":XGt(t)?t.exportKind==="type":izt(t)?t.importKind==="type"||t.importKind==="typeof":!1}function _zt(){return LSe(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function Czt(){return LSe(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function Dzt(){return fzt(this.node,{await:!0})}fn.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},fn.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var nh=E(Pc=>{"use strict";Object.defineProperty(Pc,"__esModule",{value:!0});Pc.default=Pc.SHOULD_STOP=Pc.SHOULD_SKIP=Pc.REMOVED=void 0;var Nzt=Wj(),Izt=k7(),Ozt=ex(),kzt=eq(),BSe=gr(),o8=BSe,Lzt=D0(),Fzt=abe(),Rzt=obe(),Bzt=Pbe(),Mzt=e2e(),jzt=s2e(),Vzt=lSe(),MSe=hSe(),Uzt=gSe(),qzt=SSe(),$zt=_Se(),Kzt=NSe(),Wzt=OSe(),Gzt=FSe(),{validate:zzt}=BSe,RSe=Izt("babel"),s8=1<<0;Pc.REMOVED=s8;var n8=1<<1;Pc.SHOULD_STOP=n8;var a8=1<<2;Pc.SHOULD_SKIP=a8;var _c=class{constructor(e,r){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=r,this.hub=e,this.data=null,this.context=null,this.scope=null}static get({hub:e,parentPath:r,parent:i,container:s,listKey:n,key:a}){if(!e&&r&&(e=r.hub),!i)throw new Error("To get a node path the parent needs to exist");let o=s[a],l=Lzt.getOrCreateCachedPaths(e,i),u=l.get(o);return u||(u=new _c(e,i),o&&l.set(o,u)),u.setup(r,s,n,a),u}getScope(e){return this.isScope()?new kzt.default(this):e}setData(e,r){return this.data==null&&(this.data=Object.create(null)),this.data[e]=r}getData(e,r){this.data==null&&(this.data=Object.create(null));let i=this.data[e];return i===void 0&&r!==void 0&&(i=this.data[e]=r),i}hasNode(){return this.node!=null}buildCodeFrameError(e,r=SyntaxError){return this.hub.buildError(this.node,e,r)}traverse(e,r){(0,Ozt.default)(this.node,e,this.scope,r,this)}set(e,r){zzt(this.node,e,r),this.node[e]=r}getPathLocation(){let e=[],r=this;do{let i=r.key;r.inList&&(i=`${r.listKey}[${i}]`),e.unshift(i)}while(r=r.parentPath);return e.join(".")}debug(e){RSe.enabled&&RSe(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,Fzt.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(this._traverseFlags&a8)}set shouldSkip(e){e?this._traverseFlags|=a8:this._traverseFlags&=~a8}get shouldStop(){return!!(this._traverseFlags&n8)}set shouldStop(e){e?this._traverseFlags|=n8:this._traverseFlags&=~n8}get removed(){return!!(this._traverseFlags&s8)}set removed(e){e?this._traverseFlags|=s8:this._traverseFlags&=~s8}};Object.assign(_c.prototype,Rzt,Bzt,Mzt,jzt,Vzt,MSe,Uzt,qzt,$zt,Kzt,Wzt);_c.prototype._guessExecutionStatusRelativeToDifferentFunctions=MSe._guessExecutionStatusRelativeTo;for(let t of o8.TYPES){let e=`is${t}`,r=o8[e];_c.prototype[e]=function(i){return r(this.node,i)},_c.prototype[`assert${t}`]=function(i){if(!r(this.node,i))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(_c.prototype,Gzt);for(let t of Object.keys(Nzt))t[0]!=="_"&&(o8.TYPES.includes(t)||o8.TYPES.push(t));var Hzt=_c;Pc.default=Hzt});var jSe=E(l8=>{"use strict";Object.defineProperty(l8,"__esModule",{value:!0});l8.default=void 0;var Yzt=nh(),Jzt=gr(),{VISITOR_KEYS:Xzt}=Jzt,kK=class{constructor(e,r,i,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=i,this.opts=r}shouldVisit(e){let r=this.opts;if(r.enter||r.exit||r[e.type])return!0;let i=Xzt[e.type];if(!(i!=null&&i.length))return!1;for(let s of i)if(e[s])return!0;return!1}create(e,r,i,s){return Yzt.default.get({parentPath:this.parentPath,parent:e,container:r,key:i,listKey:s})}maybeQueue(e,r){this.queue&&(r?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,r,i){if(e.length===0)return!1;let s=[];for(let n=0;n<e.length;n++){let a=e[n];a&&this.shouldVisit(a)&&s.push(this.create(r,e,n,i))}return this.visitQueue(s)}visitSingle(e,r){return this.shouldVisit(e[r])?this.visitQueue([this.create(e,e,r)]):!1}visitQueue(e){this.queue=e,this.priorityQueue=[];let r=new WeakSet,i=!1;for(let s of e){if(s.resync(),(s.contexts.length===0||s.contexts[s.contexts.length-1]!==this)&&s.pushContext(this),s.key===null)continue;let{node:n}=s;if(!r.has(n)){if(n&&r.add(n),s.visit()){i=!0;break}if(this.priorityQueue.length&&(i=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,i))break}}for(let s of e)s.popContext();return this.queue=null,i}visit(e,r){let i=e[r];return i?Array.isArray(i)?this.visitMultiple(i,e,r):this.visitSingle(e,r):!1}};l8.default=kK});var tC=E(LK=>{"use strict";Object.defineProperty(LK,"__esModule",{value:!0});LK.traverseNode=tHt;var Qzt=jSe(),Zzt=gr(),{VISITOR_KEYS:eHt}=Zzt;function tHt(t,e,r,i,s,n,a){let o=eHt[t.type];if(!o)return!1;let l=new Qzt.default(r,e,i,s);if(a)return n!=null&&n[s.parentKey]?!1:l.visitQueue([s]);for(let u of o)if(!(n!=null&&n[u])&&l.visit(t,u))return!0;return!1}});var VSe=E(u8=>{"use strict";Object.defineProperty(u8,"__esModule",{value:!0});u8.default=void 0;var FK=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,r,i=TypeError){return new i(r)}};u8.default=FK});var ex=E(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});Object.defineProperty(ff,"Hub",{enumerable:!0,get:function(){return aHt.default}});Object.defineProperty(ff,"NodePath",{enumerable:!0,get:function(){return sHt.default}});Object.defineProperty(ff,"Scope",{enumerable:!0,get:function(){return nHt.default}});ff.visitors=ff.default=void 0;var Ux=QT();ff.visitors=Ux;var rHt=gr(),iHt=D0(),USe=tC(),sHt=nh(),nHt=eq(),aHt=VSe(),{VISITOR_KEYS:oHt,removeProperties:lHt,traverseFast:qSe}=rHt;function Ul(t,e={},r,i,s,n){if(t){if(!e.noScope&&!r&&t.type!=="Program"&&t.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);if(!s&&n)throw new Error("visitSelf can only be used when providing a NodePath.");oHt[t.type]&&(Ux.explode(e),(0,USe.traverseNode)(t,e,r,i,s,null,n))}}var uHt=Ul;ff.default=uHt;Ul.visitors=Ux;Ul.verify=Ux.verify;Ul.explode=Ux.explode;Ul.cheap=function(t,e){qSe(t,e)};Ul.node=function(t,e,r,i,s,n){(0,USe.traverseNode)(t,e,r,i,s,n)};Ul.clearNode=function(t,e){lHt(t,e)};Ul.removeProperties=function(t,e){return qSe(t,Ul.clearNode,e),t};function cHt(t,e){t.node.type===e.type&&(e.has=!0,t.stop())}Ul.hasType=function(t,e,r){if(r!=null&&r.includes(t.type))return!1;if(t.type===e)return!0;let i={has:!1,type:e};return Ul(t,{noScope:!0,denylist:r,enter:cHt},null,i),i.has};Ul.cache=iHt});var rTe=E((YIr,tTe)=>{"use strict";tTe.exports=(...t)=>[...new Set([].concat(...t))]});var RK=E((JIr,nTe)=>{"use strict";var gHt=require("stream"),iTe=gHt.PassThrough,bHt=Array.prototype.slice;nTe.exports=vHt;function vHt(){let t=[],e=bHt.call(arguments),r=!1,i=e[e.length-1];i&&!Array.isArray(i)&&i.pipe==null?e.pop():i={};let s=i.end!==!1,n=i.pipeError===!0;i.objectMode==null&&(i.objectMode=!0),i.highWaterMark==null&&(i.highWaterMark=64*1024);let a=iTe(i);function o(){for(let c=0,p=arguments.length;c<p;c++)t.push(sTe(arguments[c],i));return l(),this}function l(){if(r)return;r=!0;let c=t.shift();if(!c){process.nextTick(u);return}Array.isArray(c)||(c=[c]);let p=c.length+1;function d(){--p>0||(r=!1,l())}function f(h){function m(){h.removeListener("merge2UnpipeEnd",m),h.removeListener("end",m),n&&h.removeListener("error",g),d()}function g(b){a.emit("error",b)}if(h._readableState.endEmitted)return d();h.on("merge2UnpipeEnd",m),h.on("end",m),n&&h.on("error",g),h.pipe(a,{end:!1}),h.resume()}for(let h=0;h<c.length;h++)f(c[h]);d()}function u(){r=!1,a.emit("queueDrain"),s&&a.end()}return a.setMaxListeners(0),a.add=o,a.on("unpipe",function(c){c.emit("merge2UnpipeEnd")}),e.length&&o.apply(null,e),a}function sTe(t,e){if(Array.isArray(t))for(let r=0,i=t.length;r<i;r++)t[r]=sTe(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(iTe(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var aTe=E(Nb=>{"use strict";Object.defineProperty(Nb,"__esModule",{value:!0});Nb.splitWhen=Nb.flatten=void 0;function SHt(t){return t.reduce((e,r)=>[].concat(e,r),[])}Nb.flatten=SHt;function THt(t,e){let r=[[]],i=0;for(let s of t)e(s)?(i++,r[i]=[]):r[i].push(s);return r}Nb.splitWhen=THt});var oTe=E(c8=>{"use strict";Object.defineProperty(c8,"__esModule",{value:!0});c8.isEnoentCodeError=void 0;function xHt(t){return t.code==="ENOENT"}c8.isEnoentCodeError=xHt});var lTe=E(p8=>{"use strict";Object.defineProperty(p8,"__esModule",{value:!0});p8.createDirentFromStats=void 0;var BK=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function EHt(t,e){return new BK(t,e)}p8.createDirentFromStats=EHt});var fTe=E(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.convertPosixPathToPattern=dn.convertWindowsPathToPattern=dn.convertPathToPattern=dn.escapePosixPath=dn.escapeWindowsPath=dn.escape=dn.removeLeadingDotSegment=dn.makeAbsolute=dn.unixify=void 0;var wHt=require("os"),AHt=require("path"),uTe=wHt.platform()==="win32",PHt=2,_Ht=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,CHt=/(\\?)([(){}]|^!|[!+@](?=\())/g,DHt=/^\\\\([.?])/,NHt=/\\(?![!()+@{}])/g;function IHt(t){return t.replace(/\\/g,"/")}dn.unixify=IHt;function OHt(t,e){return AHt.resolve(t,e)}dn.makeAbsolute=OHt;function kHt(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(PHt)}return t}dn.removeLeadingDotSegment=kHt;dn.escape=uTe?MK:jK;function MK(t){return t.replace(CHt,"\\$2")}dn.escapeWindowsPath=MK;function jK(t){return t.replace(_Ht,"\\$2")}dn.escapePosixPath=jK;dn.convertPathToPattern=uTe?cTe:pTe;function cTe(t){return MK(t).replace(DHt,"//$1").replace(NHt,"/")}dn.convertWindowsPathToPattern=cTe;function pTe(t){return jK(t)}dn.convertPosixPathToPattern=pTe});var hTe=E((t7r,dTe)=>{dTe.exports=function(e){if(typeof e!="string"||e==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(r[2])return!0;e=e.slice(r.index+r[0].length)}return!1}});var gTe=E((r7r,yTe)=>{var LHt=hTe(),mTe={"{":"}","(":")","[":"]"},FHt=function(t){if(t[0]==="!")return!0;for(var e=0,r=-2,i=-2,s=-2,n=-2,a=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||i!==-1&&t[e]==="["&&t[e+1]!=="]"&&(i<e&&(i=t.indexOf("]",e)),i>e&&(a===-1||a>i||(a=t.indexOf("\\",e),a===-1||a>i)))||s!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(s=t.indexOf("}",e),s>e&&(a=t.indexOf("\\",e),a===-1||a>s))||n!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(n=t.indexOf(")",e),n>e&&(a=t.indexOf("\\",e),a===-1||a>n))||r!==-1&&t[e]==="("&&t[e+1]!=="|"&&(r<e&&(r=t.indexOf("|",e)),r!==-1&&t[r+1]!==")"&&(n=t.indexOf(")",r),n>r&&(a=t.indexOf("\\",r),a===-1||a>n))))return!0;if(t[e]==="\\"){var o=t[e+1];e+=2;var l=mTe[o];if(l){var u=t.indexOf(l,e);u!==-1&&(e=u+1)}if(t[e]==="!")return!0}else e++}return!1},RHt=function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var r=t[e+1];e+=2;var i=mTe[r];if(i){var s=t.indexOf(i,e);s!==-1&&(e=s+1)}if(t[e]==="!")return!0}else e++}return!1};yTe.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(LHt(e))return!0;var i=FHt;return r&&r.strict===!1&&(i=RHt),i(e)}});var vTe=E((i7r,bTe)=>{"use strict";var BHt=gTe(),MHt=require("path").posix.dirname,jHt=require("os").platform()==="win32",VK="/",VHt=/\\/g,UHt=/[\{\[].*[\}\]]$/,qHt=/(^|[^\\])([\{\[]|\([^\)]+$)/,$Ht=/\\([\!\*\?\|\[\]\(\)\{\}])/g;bTe.exports=function(e,r){var i=Object.assign({flipBackslashes:!0},r);i.flipBackslashes&&jHt&&e.indexOf(VK)<0&&(e=e.replace(VHt,VK)),UHt.test(e)&&(e+=VK),e+="a";do e=MHt(e);while(BHt(e)||qHt.test(e));return e.replace($Ht,"$1")}});var f8=E(ql=>{"use strict";ql.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;ql.find=(t,e)=>t.nodes.find(r=>r.type===e);ql.exceedsLimit=(t,e,r=1,i)=>i===!1||!ql.isInteger(t)||!ql.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=i;ql.escapeNode=(t,e=0,r)=>{let i=t.nodes[e];i&&(r&&i.type===r||i.type==="open"||i.type==="close")&&i.escaped!==!0&&(i.value="\\"+i.value,i.escaped=!0)};ql.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);ql.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;ql.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;ql.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);ql.flatten=(...t)=>{let e=[],r=i=>{for(let s=0;s<i.length;s++){let n=i[s];Array.isArray(n)?r(n,e):n!==void 0&&e.push(n)}return e};return r(t),e}});var d8=E((n7r,TTe)=>{"use strict";var STe=f8();TTe.exports=(t,e={})=>{let r=(i,s={})=>{let n=e.escapeInvalid&&STe.isInvalidBrace(s),a=i.invalid===!0&&e.escapeInvalid===!0,o="";if(i.value)return(n||a)&&STe.isOpenOrClose(i)?"\\"+i.value:i.value;if(i.value)return i.value;if(i.nodes)for(let l of i.nodes)o+=r(l);return o};return r(t)}});var ETe=E((a7r,xTe)=>{"use strict";xTe.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var OTe=E((o7r,ITe)=>{"use strict";var wTe=ETe(),V0=(t,e,r)=>{if(wTe(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(wTe(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let i={relaxZeros:!0,...r};typeof i.strictZeros=="boolean"&&(i.relaxZeros=i.strictZeros===!1);let s=String(i.relaxZeros),n=String(i.shorthand),a=String(i.capture),o=String(i.wrap),l=t+":"+e+"="+s+n+a+o;if(V0.cache.hasOwnProperty(l))return V0.cache[l].result;let u=Math.min(t,e),c=Math.max(t,e);if(Math.abs(u-c)===1){let m=t+"|"+e;return i.capture?`(${m})`:i.wrap===!1?m:`(?:${m})`}let p=NTe(t)||NTe(e),d={min:t,max:e,a:u,b:c},f=[],h=[];if(p&&(d.isPadded=p,d.maxLen=String(d.max).length),u<0){let m=c<0?Math.abs(c):1;h=ATe(m,Math.abs(u),d,i),u=d.a=0}return c>=0&&(f=ATe(u,c,d,i)),d.negatives=h,d.positives=f,d.result=KHt(h,f,i),i.capture===!0?d.result=`(${d.result})`:i.wrap!==!1&&f.length+h.length>1&&(d.result=`(?:${d.result})`),V0.cache[l]=d,d.result};function KHt(t,e,r){let i=UK(t,e,"-",!1,r)||[],s=UK(e,t,"",!1,r)||[],n=UK(t,e,"-?",!0,r)||[];return i.concat(n).concat(s).join("|")}function WHt(t,e){let r=1,i=1,s=_Te(t,r),n=new Set([e]);for(;t<=s&&s<=e;)n.add(s),r+=1,s=_Te(t,r);for(s=CTe(e+1,i)-1;t<s&&s<=e;)n.add(s),i+=1,s=CTe(e+1,i)-1;return n=[...n],n.sort(HHt),n}function GHt(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let i=zHt(t,e),s=i.length,n="",a=0;for(let o=0;o<s;o++){let[l,u]=i[o];l===u?n+=l:l!=="0"||u!=="9"?n+=YHt(l,u,r):a++}return a&&(n+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:n,count:[a],digits:s}}function ATe(t,e,r,i){let s=WHt(t,e),n=[],a=t,o;for(let l=0;l<s.length;l++){let u=s[l],c=GHt(String(a),String(u),i),p="";if(!r.isPadded&&o&&o.pattern===c.pattern){o.count.length>1&&o.count.pop(),o.count.push(c.count[0]),o.string=o.pattern+DTe(o.count),a=u+1;continue}r.isPadded&&(p=JHt(u,r,i)),c.string=p+c.pattern+DTe(c.count),n.push(c),a=u+1,o=c}return n}function UK(t,e,r,i,s){let n=[];for(let a of t){let{string:o}=a;!i&&!PTe(e,"string",o)&&n.push(r+o),i&&PTe(e,"string",o)&&n.push(r+o)}return n}function zHt(t,e){let r=[];for(let i=0;i<t.length;i++)r.push([t[i],e[i]]);return r}function HHt(t,e){return t>e?1:e>t?-1:0}function PTe(t,e,r){return t.some(i=>i[e]===r)}function _Te(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function CTe(t,e){return t-t%Math.pow(10,e)}function DTe(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function YHt(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function NTe(t){return/^-?(0+)\d/.test(t)}function JHt(t,e,r){if(!e.isPadded)return t;let i=Math.abs(e.maxLen-String(t).length),s=r.relaxZeros!==!1;switch(i){case 0:return"";case 1:return s?"0?":"0";case 2:return s?"0{0,2}":"00";default:return s?`0{0,${i}}`:`0{${i}}`}}V0.cache={};V0.clearCache=()=>V0.cache={};ITe.exports=V0});var KK=E((l7r,VTe)=>{"use strict";var XHt=require("util"),FTe=OTe(),kTe=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),QHt=t=>e=>t===!0?Number(e):String(e),qK=t=>typeof t=="number"||typeof t=="string"&&t!=="",qx=t=>Number.isInteger(+t),$K=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},ZHt=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,eYt=(t,e,r)=>{if(e>0){let i=t[0]==="-"?"-":"";i&&(t=t.slice(1)),t=i+t.padStart(i?e-1:e,"0")}return r===!1?String(t):t},LTe=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},tYt=(t,e)=>{t.negatives.sort((a,o)=>a<o?-1:a>o?1:0),t.positives.sort((a,o)=>a<o?-1:a>o?1:0);let r=e.capture?"":"?:",i="",s="",n;return t.positives.length&&(i=t.positives.join("|")),t.negatives.length&&(s=`-(${r}${t.negatives.join("|")})`),i&&s?n=`${i}|${s}`:n=i||s,e.wrap?`(${r}${n})`:n},RTe=(t,e,r,i)=>{if(r)return FTe(t,e,{wrap:!1,...i});let s=String.fromCharCode(t);if(t===e)return s;let n=String.fromCharCode(e);return`[${s}-${n}]`},BTe=(t,e,r)=>{if(Array.isArray(t)){let i=r.wrap===!0,s=r.capture?"":"?:";return i?`(${s}${t.join("|")})`:t.join("|")}return FTe(t,e,r)},MTe=(...t)=>new RangeError("Invalid range arguments: "+XHt.inspect(...t)),jTe=(t,e,r)=>{if(r.strictRanges===!0)throw MTe([t,e]);return[]},rYt=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},iYt=(t,e,r=1,i={})=>{let s=Number(t),n=Number(e);if(!Number.isInteger(s)||!Number.isInteger(n)){if(i.strictRanges===!0)throw MTe([t,e]);return[]}s===0&&(s=0),n===0&&(n=0);let a=s>n,o=String(t),l=String(e),u=String(r);r=Math.max(Math.abs(r),1);let c=$K(o)||$K(l)||$K(u),p=c?Math.max(o.length,l.length,u.length):0,d=c===!1&&ZHt(t,e,i)===!1,f=i.transform||QHt(d);if(i.toRegex&&r===1)return RTe(LTe(t,p),LTe(e,p),!0,i);let h={negatives:[],positives:[]},m=T=>h[T<0?"negatives":"positives"].push(Math.abs(T)),g=[],b=0;for(;a?s>=n:s<=n;)i.toRegex===!0&&r>1?m(s):g.push(eYt(f(s,b),p,d)),s=a?s-r:s+r,b++;return i.toRegex===!0?r>1?tYt(h,i):BTe(g,null,{wrap:!1,...i}):g},sYt=(t,e,r=1,i={})=>{if(!qx(t)&&t.length>1||!qx(e)&&e.length>1)return jTe(t,e,i);let s=i.transform||(d=>String.fromCharCode(d)),n=`${t}`.charCodeAt(0),a=`${e}`.charCodeAt(0),o=n>a,l=Math.min(n,a),u=Math.max(n,a);if(i.toRegex&&r===1)return RTe(l,u,!1,i);let c=[],p=0;for(;o?n>=a:n<=a;)c.push(s(n,p)),n=o?n-r:n+r,p++;return i.toRegex===!0?BTe(c,null,{wrap:!1,options:i}):c},h8=(t,e,r,i={})=>{if(e==null&&qK(t))return[t];if(!qK(t)||!qK(e))return jTe(t,e,i);if(typeof r=="function")return h8(t,e,1,{transform:r});if(kTe(r))return h8(t,e,0,r);let s={...i};return s.capture===!0&&(s.wrap=!0),r=r||s.step||1,qx(r)?qx(t)&&qx(e)?iYt(t,e,r,s):sYt(t,e,Math.max(Math.abs(r),1),s):r!=null&&!kTe(r)?rYt(r,s):h8(t,e,1,r)};VTe.exports=h8});var $Te=E((u7r,qTe)=>{"use strict";var nYt=KK(),UTe=f8(),aYt=(t,e={})=>{let r=(i,s={})=>{let n=UTe.isInvalidBrace(s),a=i.invalid===!0&&e.escapeInvalid===!0,o=n===!0||a===!0,l=e.escapeInvalid===!0?"\\":"",u="";if(i.isOpen===!0||i.isClose===!0)return l+i.value;if(i.type==="open")return o?l+i.value:"(";if(i.type==="close")return o?l+i.value:")";if(i.type==="comma")return i.prev.type==="comma"?"":o?i.value:"|";if(i.value)return i.value;if(i.nodes&&i.ranges>0){let c=UTe.reduce(i.nodes),p=nYt(...c,{...e,wrap:!1,toRegex:!0});if(p.length!==0)return c.length>1&&p.length>1?`(${p})`:p}if(i.nodes)for(let c of i.nodes)u+=r(c,i);return u};return r(t)};qTe.exports=aYt});var GTe=E((c7r,WTe)=>{"use strict";var oYt=KK(),KTe=d8(),Ib=f8(),U0=(t="",e="",r=!1)=>{let i=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?Ib.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let n of s)i.push(U0(n,e,r));else for(let n of e)r===!0&&typeof n=="string"&&(n=`{${n}}`),i.push(Array.isArray(n)?U0(s,n,r):s+n);return Ib.flatten(i)},lYt=(t,e={})=>{let r=e.rangeLimit===void 0?1e3:e.rangeLimit,i=(s,n={})=>{s.queue=[];let a=n,o=n.queue;for(;a.type!=="brace"&&a.type!=="root"&&a.parent;)a=a.parent,o=a.queue;if(s.invalid||s.dollar){o.push(U0(o.pop(),KTe(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){o.push(U0(o.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let p=Ib.reduce(s.nodes);if(Ib.exceedsLimit(...p,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let d=oYt(...p,e);d.length===0&&(d=KTe(s,e)),o.push(U0(o.pop(),d)),s.nodes=[];return}let l=Ib.encloseBrace(s),u=s.queue,c=s;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,u=c.queue;for(let p=0;p<s.nodes.length;p++){let d=s.nodes[p];if(d.type==="comma"&&s.type==="brace"){p===1&&u.push(""),u.push("");continue}if(d.type==="close"){o.push(U0(o.pop(),u,l));continue}if(d.value&&d.type!=="open"){u.push(U0(u.pop(),d.value));continue}d.nodes&&i(d,s)}return u};return Ib.flatten(i(t))};WTe.exports=lYt});var HTe=E((p7r,zTe)=>{"use strict";zTe.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
443
|
-
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var ZTe=E((f7r,QTe)=>{"use strict";var uYt=d8(),{MAX_LENGTH:YTe,CHAR_BACKSLASH:WK,CHAR_BACKTICK:cYt,CHAR_COMMA:pYt,CHAR_DOT:fYt,CHAR_LEFT_PARENTHESES:dYt,CHAR_RIGHT_PARENTHESES:hYt,CHAR_LEFT_CURLY_BRACE:mYt,CHAR_RIGHT_CURLY_BRACE:yYt,CHAR_LEFT_SQUARE_BRACKET:JTe,CHAR_RIGHT_SQUARE_BRACKET:XTe,CHAR_DOUBLE_QUOTE:gYt,CHAR_SINGLE_QUOTE:bYt,CHAR_NO_BREAK_SPACE:vYt,CHAR_ZERO_WIDTH_NOBREAK_SPACE:SYt}=HTe(),TYt=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},i=typeof r.maxLength=="number"?Math.min(YTe,r.maxLength):YTe;if(t.length>i)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${i})`);let s={type:"root",input:t,nodes:[]},n=[s],a=s,o=s,l=0,u=t.length,c=0,p=0,d,f={},h=()=>t[c++],m=g=>{if(g.type==="text"&&o.type==="dot"&&(o.type="text"),o&&o.type==="text"&&g.type==="text"){o.value+=g.value;return}return a.nodes.push(g),g.parent=a,g.prev=o,o=g,g};for(m({type:"bos"});c<u;)if(a=n[n.length-1],d=h(),!(d===SYt||d===vYt)){if(d===WK){m({type:"text",value:(e.keepEscaping?d:"")+h()});continue}if(d===XTe){m({type:"text",value:"\\"+d});continue}if(d===JTe){l++;let g=!0,b;for(;c<u&&(b=h());){if(d+=b,b===JTe){l++;continue}if(b===WK){d+=h();continue}if(b===XTe&&(l--,l===0))break}m({type:"text",value:d});continue}if(d===dYt){a=m({type:"paren",nodes:[]}),n.push(a),m({type:"text",value:d});continue}if(d===hYt){if(a.type!=="paren"){m({type:"text",value:d});continue}a=n.pop(),m({type:"text",value:d}),a=n[n.length-1];continue}if(d===gYt||d===bYt||d===cYt){let g=d,b;for(e.keepQuotes!==!0&&(d="");c<u&&(b=h());){if(b===WK){d+=b+h();continue}if(b===g){e.keepQuotes===!0&&(d+=b);break}d+=b}m({type:"text",value:d});continue}if(d===mYt){p++;let b={type:"brace",open:!0,close:!1,dollar:o.value&&o.value.slice(-1)==="$"||a.dollar===!0,depth:p,commas:0,ranges:0,nodes:[]};a=m(b),n.push(a),m({type:"open",value:d});continue}if(d===yYt){if(a.type!=="brace"){m({type:"text",value:d});continue}let g="close";a=n.pop(),a.close=!0,m({type:g,value:d}),p--,a=n[n.length-1];continue}if(d===pYt&&p>0){if(a.ranges>0){a.ranges=0;let g=a.nodes.shift();a.nodes=[g,{type:"text",value:uYt(a)}]}m({type:"comma",value:d}),a.commas++;continue}if(d===fYt&&p>0&&a.commas===0){let g=a.nodes;if(p===0||g.length===0){m({type:"text",value:d});continue}if(o.type==="dot"){if(a.range=[],o.value+=d,o.type="range",a.nodes.length!==3&&a.nodes.length!==5){a.invalid=!0,a.ranges=0,o.type="text";continue}a.ranges++,a.args=[];continue}if(o.type==="range"){g.pop();let b=g[g.length-1];b.value+=o.value+d,o=b,a.ranges--;continue}m({type:"dot",value:d});continue}m({type:"text",value:d})}do if(a=n.pop(),a.type!=="root"){a.nodes.forEach(T=>{T.nodes||(T.type==="open"&&(T.isOpen=!0),T.type==="close"&&(T.isClose=!0),T.nodes||(T.type="text"),T.invalid=!0)});let g=n[n.length-1],b=g.nodes.indexOf(a);g.nodes.splice(b,1,...a.nodes)}while(n.length>0);return m({type:"eos"}),s};QTe.exports=TYt});var rxe=E((d7r,txe)=>{"use strict";var exe=d8(),xYt=$Te(),EYt=GTe(),wYt=ZTe(),Go=(t,e={})=>{let r=[];if(Array.isArray(t))for(let i of t){let s=Go.create(i,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(Go.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};Go.parse=(t,e={})=>wYt(t,e);Go.stringify=(t,e={})=>exe(typeof t=="string"?Go.parse(t,e):t,e);Go.compile=(t,e={})=>(typeof t=="string"&&(t=Go.parse(t,e)),xYt(t,e));Go.expand=(t,e={})=>{typeof t=="string"&&(t=Go.parse(t,e));let r=EYt(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};Go.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?Go.compile(t,e):Go.expand(t,e);txe.exports=Go});var $x=E((h7r,oxe)=>{"use strict";var AYt=require("path"),Cc="\\\\/",ixe=`[^${Cc}]`,df="\\.",PYt="\\+",_Yt="\\?",m8="\\/",CYt="(?=.)",sxe="[^/]",GK=`(?:${m8}|$)`,nxe=`(?:^|${m8})`,zK=`${df}{1,2}${GK}`,DYt=`(?!${df})`,NYt=`(?!${nxe}${zK})`,IYt=`(?!${df}{0,1}${GK})`,OYt=`(?!${zK})`,kYt=`[^.${m8}]`,LYt=`${sxe}*?`,axe={DOT_LITERAL:df,PLUS_LITERAL:PYt,QMARK_LITERAL:_Yt,SLASH_LITERAL:m8,ONE_CHAR:CYt,QMARK:sxe,END_ANCHOR:GK,DOTS_SLASH:zK,NO_DOT:DYt,NO_DOTS:NYt,NO_DOT_SLASH:IYt,NO_DOTS_SLASH:OYt,QMARK_NO_DOT:kYt,STAR:LYt,START_ANCHOR:nxe},FYt={...axe,SLASH_LITERAL:`[${Cc}]`,QMARK:ixe,STAR:`${ixe}*?`,DOTS_SLASH:`${df}{1,2}(?:[${Cc}]|$)`,NO_DOT:`(?!${df})`,NO_DOTS:`(?!(?:^|[${Cc}])${df}{1,2}(?:[${Cc}]|$))`,NO_DOT_SLASH:`(?!${df}{0,1}(?:[${Cc}]|$))`,NO_DOTS_SLASH:`(?!${df}{1,2}(?:[${Cc}]|$))`,QMARK_NO_DOT:`[^.${Cc}]`,START_ANCHOR:`(?:^|[${Cc}])`,END_ANCHOR:`(?:[${Cc}]|$)`},RYt={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};oxe.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:RYt,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:AYt.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?FYt:axe}}});var Kx=E(wo=>{"use strict";var BYt=require("path"),MYt=process.platform==="win32",{REGEX_BACKSLASH:jYt,REGEX_REMOVE_BACKSLASH:VYt,REGEX_SPECIAL_CHARS:UYt,REGEX_SPECIAL_CHARS_GLOBAL:qYt}=$x();wo.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);wo.hasRegexChars=t=>UYt.test(t);wo.isRegexChar=t=>t.length===1&&wo.hasRegexChars(t);wo.escapeRegex=t=>t.replace(qYt,"\\$1");wo.toPosixSlashes=t=>t.replace(jYt,"/");wo.removeBackslashes=t=>t.replace(VYt,e=>e==="\\"?"":e);wo.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};wo.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:MYt===!0||BYt.sep==="\\";wo.escapeLast=(t,e,r)=>{let i=t.lastIndexOf(e,r);return i===-1?t:t[i-1]==="\\"?wo.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};wo.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};wo.wrapOutput=(t,e={},r={})=>{let i=r.contains?"":"^",s=r.contains?"":"$",n=`${i}(?:${t})${s}`;return e.negated===!0&&(n=`(?:^(?!${n}).*$)`),n}});var mxe=E((y7r,hxe)=>{"use strict";var lxe=Kx(),{CHAR_ASTERISK:HK,CHAR_AT:$Yt,CHAR_BACKWARD_SLASH:Wx,CHAR_COMMA:KYt,CHAR_DOT:YK,CHAR_EXCLAMATION_MARK:JK,CHAR_FORWARD_SLASH:dxe,CHAR_LEFT_CURLY_BRACE:XK,CHAR_LEFT_PARENTHESES:QK,CHAR_LEFT_SQUARE_BRACKET:WYt,CHAR_PLUS:GYt,CHAR_QUESTION_MARK:uxe,CHAR_RIGHT_CURLY_BRACE:zYt,CHAR_RIGHT_PARENTHESES:cxe,CHAR_RIGHT_SQUARE_BRACKET:HYt}=$x(),pxe=t=>t===dxe||t===Wx,fxe=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},YYt=(t,e)=>{let r=e||{},i=t.length-1,s=r.parts===!0||r.scanToEnd===!0,n=[],a=[],o=[],l=t,u=-1,c=0,p=0,d=!1,f=!1,h=!1,m=!1,g=!1,b=!1,T=!1,x=!1,v=!1,w=!1,A=0,C,K,F={value:"",depth:0,isGlob:!1},Q=()=>u>=i,X=()=>l.charCodeAt(u+1),Te=()=>(C=K,l.charCodeAt(++u));for(;u<i;){K=Te();let Ce;if(K===Wx){T=F.backslashes=!0,K=Te(),K===XK&&(b=!0);continue}if(b===!0||K===XK){for(A++;Q()!==!0&&(K=Te());){if(K===Wx){T=F.backslashes=!0,Te();continue}if(K===XK){A++;continue}if(b!==!0&&K===YK&&(K=Te())===YK){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(b!==!0&&K===KYt){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===zYt&&(A--,A===0)){b=!1,d=F.isBrace=!0,w=!0;break}}if(s===!0)continue;break}if(K===dxe){if(n.push(u),a.push(F),F={value:"",depth:0,isGlob:!1},w===!0)continue;if(C===YK&&u===c+1){c+=2;continue}p=u+1;continue}if(r.noext!==!0&&(K===GYt||K===$Yt||K===HK||K===uxe||K===JK)===!0&&X()===QK){if(h=F.isGlob=!0,m=F.isExtglob=!0,w=!0,K===JK&&u===c&&(v=!0),s===!0){for(;Q()!==!0&&(K=Te());){if(K===Wx){T=F.backslashes=!0,K=Te();continue}if(K===cxe){h=F.isGlob=!0,w=!0;break}}continue}break}if(K===HK){if(C===HK&&(g=F.isGlobstar=!0),h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===uxe){if(h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===WYt){for(;Q()!==!0&&(Ce=Te());){if(Ce===Wx){T=F.backslashes=!0,Te();continue}if(Ce===HYt){f=F.isBracket=!0,h=F.isGlob=!0,w=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&K===JK&&u===c){x=F.negated=!0,c++;continue}if(r.noparen!==!0&&K===QK){if(h=F.isGlob=!0,s===!0){for(;Q()!==!0&&(K=Te());){if(K===QK){T=F.backslashes=!0,K=Te();continue}if(K===cxe){w=!0;break}}continue}break}if(h===!0){if(w=!0,s===!0)continue;break}}r.noext===!0&&(m=!1,h=!1);let qe=l,Ke="",ae="";c>0&&(Ke=l.slice(0,c),l=l.slice(c),p-=c),qe&&h===!0&&p>0?(qe=l.slice(0,p),ae=l.slice(p)):h===!0?(qe="",ae=l):qe=l,qe&&qe!==""&&qe!=="/"&&qe!==l&&pxe(qe.charCodeAt(qe.length-1))&&(qe=qe.slice(0,-1)),r.unescape===!0&&(ae&&(ae=lxe.removeBackslashes(ae)),qe&&T===!0&&(qe=lxe.removeBackslashes(qe)));let ne={prefix:Ke,input:t,start:c,base:qe,glob:ae,isBrace:d,isBracket:f,isGlob:h,isExtglob:m,isGlobstar:g,negated:x,negatedExtglob:v};if(r.tokens===!0&&(ne.maxDepth=0,pxe(K)||a.push(F),ne.tokens=a),r.parts===!0||r.tokens===!0){let Ce;for(let Ue=0;Ue<n.length;Ue++){let Dt=Ce?Ce+1:c,ce=n[Ue],Re=t.slice(Dt,ce);r.tokens&&(Ue===0&&c!==0?(a[Ue].isPrefix=!0,a[Ue].value=Ke):a[Ue].value=Re,fxe(a[Ue]),ne.maxDepth+=a[Ue].depth),(Ue!==0||Re!=="")&&o.push(Re),Ce=ce}if(Ce&&Ce+1<t.length){let Ue=t.slice(Ce+1);o.push(Ue),r.tokens&&(a[a.length-1].value=Ue,fxe(a[a.length-1]),ne.maxDepth+=a[a.length-1].depth)}ne.slashes=n,ne.parts=o}return ne};hxe.exports=YYt});var bxe=E((g7r,gxe)=>{"use strict";var y8=$x(),zo=Kx(),{MAX_LENGTH:g8,POSIX_REGEX_SOURCE:JYt,REGEX_NON_SPECIAL_CHARS:XYt,REGEX_SPECIAL_CHARS_BACKREF:QYt,REPLACEMENTS:yxe}=y8,ZYt=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(s=>zo.escapeRegex(s)).join("..")}return r},Ob=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,ZK=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=yxe[t]||t;let r={...e},i=typeof r.maxLength=="number"?Math.min(g8,r.maxLength):g8,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);let n={type:"bos",value:"",output:r.prepend||""},a=[n],o=r.capture?"":"?:",l=zo.isWindows(e),u=y8.globChars(l),c=y8.extglobChars(u),{DOT_LITERAL:p,PLUS_LITERAL:d,SLASH_LITERAL:f,ONE_CHAR:h,DOTS_SLASH:m,NO_DOT:g,NO_DOT_SLASH:b,NO_DOTS_SLASH:T,QMARK:x,QMARK_NO_DOT:v,STAR:w,START_ANCHOR:A}=u,C=le=>`(${o}(?:(?!${A}${le.dot?m:p}).)*?)`,K=r.dot?"":g,F=r.dot?x:v,Q=r.bash===!0?C(r):w;r.capture&&(Q=`(${Q})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let X={input:t,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};t=zo.removePrefix(t,X),s=t.length;let Te=[],qe=[],Ke=[],ae=n,ne,Ce=()=>X.index===s-1,Ue=X.peek=(le=1)=>t[X.index+le],Dt=X.advance=()=>t[++X.index]||"",ce=()=>t.slice(X.index+1),Re=(le="",Fe=0)=>{X.consumed+=le,X.index+=Fe},Z=le=>{X.output+=le.output!=null?le.output:le.value,Re(le.value)},Ee=()=>{let le=1;for(;Ue()==="!"&&(Ue(2)!=="("||Ue(3)==="?");)Dt(),X.start++,le++;return le%2===0?!1:(X.negated=!0,X.start++,!0)},xe=le=>{X[le]++,Ke.push(le)},we=le=>{X[le]--,Ke.pop()},Be=le=>{if(ae.type==="globstar"){let Fe=X.braces>0&&(le.type==="comma"||le.type==="brace"),be=le.extglob===!0||Te.length&&(le.type==="pipe"||le.type==="paren");le.type!=="slash"&&le.type!=="paren"&&!Fe&&!be&&(X.output=X.output.slice(0,-ae.output.length),ae.type="star",ae.value="*",ae.output=Q,X.output+=ae.output)}if(Te.length&&le.type!=="paren"&&(Te[Te.length-1].inner+=le.value),(le.value||le.output)&&Z(le),ae&&ae.type==="text"&&le.type==="text"){ae.value+=le.value,ae.output=(ae.output||"")+le.value;return}le.prev=ae,a.push(le),ae=le},me=(le,Fe)=>{let be={...c[Fe],conditions:1,inner:""};be.prev=ae,be.parens=X.parens,be.output=X.output;let _e=(r.capture?"(":"")+be.open;xe("parens"),Be({type:le,value:Fe,output:X.output?"":h}),Be({type:"paren",extglob:!0,value:Dt(),output:_e}),Te.push(be)},pe=le=>{let Fe=le.close+(r.capture?")":""),be;if(le.type==="negate"){let _e=Q;if(le.inner&&le.inner.length>1&&le.inner.includes("/")&&(_e=C(r)),(_e!==Q||Ce()||/^\)+$/.test(ce()))&&(Fe=le.close=`)$))${_e}`),le.inner.includes("*")&&(be=ce())&&/^\.[^\\/.]+$/.test(be)){let Ze=ZK(be,{...e,fastpaths:!1}).output;Fe=le.close=`)${Ze})${_e})`}le.prev.type==="bos"&&(X.negatedExtglob=!0)}Be({type:"paren",extglob:!0,value:ne,output:Fe}),we("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let le=!1,Fe=t.replace(QYt,(be,_e,Ze,Ct,ht,nr)=>Ct==="\\"?(le=!0,be):Ct==="?"?_e?_e+Ct+(ht?x.repeat(ht.length):""):nr===0?F+(ht?x.repeat(ht.length):""):x.repeat(Ze.length):Ct==="."?p.repeat(Ze.length):Ct==="*"?_e?_e+Ct+(ht?Q:""):Q:_e?be:`\\${be}`);return le===!0&&(r.unescape===!0?Fe=Fe.replace(/\\/g,""):Fe=Fe.replace(/\\+/g,be=>be.length%2===0?"\\\\":be?"\\":"")),Fe===t&&r.contains===!0?(X.output=t,X):(X.output=zo.wrapOutput(Fe,X,e),X)}for(;!Ce();){if(ne=Dt(),ne==="\0")continue;if(ne==="\\"){let be=Ue();if(be==="/"&&r.bash!==!0||be==="."||be===";")continue;if(!be){ne+="\\",Be({type:"text",value:ne});continue}let _e=/^\\+/.exec(ce()),Ze=0;if(_e&&_e[0].length>2&&(Ze=_e[0].length,X.index+=Ze,Ze%2!==0&&(ne+="\\")),r.unescape===!0?ne=Dt():ne+=Dt(),X.brackets===0){Be({type:"text",value:ne});continue}}if(X.brackets>0&&(ne!=="]"||ae.value==="["||ae.value==="[^")){if(r.posix!==!1&&ne===":"){let be=ae.value.slice(1);if(be.includes("[")&&(ae.posix=!0,be.includes(":"))){let _e=ae.value.lastIndexOf("["),Ze=ae.value.slice(0,_e),Ct=ae.value.slice(_e+2),ht=JYt[Ct];if(ht){ae.value=Ze+ht,X.backtrack=!0,Dt(),!n.output&&a.indexOf(ae)===1&&(n.output=h);continue}}}(ne==="["&&Ue()!==":"||ne==="-"&&Ue()==="]")&&(ne=`\\${ne}`),ne==="]"&&(ae.value==="["||ae.value==="[^")&&(ne=`\\${ne}`),r.posix===!0&&ne==="!"&&ae.value==="["&&(ne="^"),ae.value+=ne,Z({value:ne});continue}if(X.quotes===1&&ne!=='"'){ne=zo.escapeRegex(ne),ae.value+=ne,Z({value:ne});continue}if(ne==='"'){X.quotes=X.quotes===1?0:1,r.keepQuotes===!0&&Be({type:"text",value:ne});continue}if(ne==="("){xe("parens"),Be({type:"paren",value:ne});continue}if(ne===")"){if(X.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Ob("opening","("));let be=Te[Te.length-1];if(be&&X.parens===be.parens+1){pe(Te.pop());continue}Be({type:"paren",value:ne,output:X.parens?")":"\\)"}),we("parens");continue}if(ne==="["){if(r.nobracket===!0||!ce().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Ob("closing","]"));ne=`\\${ne}`}else xe("brackets");Be({type:"bracket",value:ne});continue}if(ne==="]"){if(r.nobracket===!0||ae&&ae.type==="bracket"&&ae.value.length===1){Be({type:"text",value:ne,output:`\\${ne}`});continue}if(X.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Ob("opening","["));Be({type:"text",value:ne,output:`\\${ne}`});continue}we("brackets");let be=ae.value.slice(1);if(ae.posix!==!0&&be[0]==="^"&&!be.includes("/")&&(ne=`/${ne}`),ae.value+=ne,Z({value:ne}),r.literalBrackets===!1||zo.hasRegexChars(be))continue;let _e=zo.escapeRegex(ae.value);if(X.output=X.output.slice(0,-ae.value.length),r.literalBrackets===!0){X.output+=_e,ae.value=_e;continue}ae.value=`(${o}${_e}|${ae.value})`,X.output+=ae.value;continue}if(ne==="{"&&r.nobrace!==!0){xe("braces");let be={type:"brace",value:ne,output:"(",outputIndex:X.output.length,tokensIndex:X.tokens.length};qe.push(be),Be(be);continue}if(ne==="}"){let be=qe[qe.length-1];if(r.nobrace===!0||!be){Be({type:"text",value:ne,output:ne});continue}let _e=")";if(be.dots===!0){let Ze=a.slice(),Ct=[];for(let ht=Ze.length-1;ht>=0&&(a.pop(),Ze[ht].type!=="brace");ht--)Ze[ht].type!=="dots"&&Ct.unshift(Ze[ht].value);_e=ZYt(Ct,r),X.backtrack=!0}if(be.comma!==!0&&be.dots!==!0){let Ze=X.output.slice(0,be.outputIndex),Ct=X.tokens.slice(be.tokensIndex);be.value=be.output="\\{",ne=_e="\\}",X.output=Ze;for(let ht of Ct)X.output+=ht.output||ht.value}Be({type:"brace",value:ne,output:_e}),we("braces"),qe.pop();continue}if(ne==="|"){Te.length>0&&Te[Te.length-1].conditions++,Be({type:"text",value:ne});continue}if(ne===","){let be=ne,_e=qe[qe.length-1];_e&&Ke[Ke.length-1]==="braces"&&(_e.comma=!0,be="|"),Be({type:"comma",value:ne,output:be});continue}if(ne==="/"){if(ae.type==="dot"&&X.index===X.start+1){X.start=X.index+1,X.consumed="",X.output="",a.pop(),ae=n;continue}Be({type:"slash",value:ne,output:f});continue}if(ne==="."){if(X.braces>0&&ae.type==="dot"){ae.value==="."&&(ae.output=p);let be=qe[qe.length-1];ae.type="dots",ae.output+=ne,ae.value+=ne,be.dots=!0;continue}if(X.braces+X.parens===0&&ae.type!=="bos"&&ae.type!=="slash"){Be({type:"text",value:ne,output:p});continue}Be({type:"dot",value:ne,output:p});continue}if(ne==="?"){if(!(ae&&ae.value==="(")&&r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){me("qmark",ne);continue}if(ae&&ae.type==="paren"){let _e=Ue(),Ze=ne;if(_e==="<"&&!zo.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(ae.value==="("&&!/[!=<:]/.test(_e)||_e==="<"&&!/<([!=]|\w+>)/.test(ce()))&&(Ze=`\\${ne}`),Be({type:"text",value:ne,output:Ze});continue}if(r.dot!==!0&&(ae.type==="slash"||ae.type==="bos")){Be({type:"qmark",value:ne,output:v});continue}Be({type:"qmark",value:ne,output:x});continue}if(ne==="!"){if(r.noextglob!==!0&&Ue()==="("&&(Ue(2)!=="?"||!/[!=<:]/.test(Ue(3)))){me("negate",ne);continue}if(r.nonegate!==!0&&X.index===0){Ee();continue}}if(ne==="+"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){me("plus",ne);continue}if(ae&&ae.value==="("||r.regex===!1){Be({type:"plus",value:ne,output:d});continue}if(ae&&(ae.type==="bracket"||ae.type==="paren"||ae.type==="brace")||X.parens>0){Be({type:"plus",value:ne});continue}Be({type:"plus",value:d});continue}if(ne==="@"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){Be({type:"at",extglob:!0,value:ne,output:""});continue}Be({type:"text",value:ne});continue}if(ne!=="*"){(ne==="$"||ne==="^")&&(ne=`\\${ne}`);let be=XYt.exec(ce());be&&(ne+=be[0],X.index+=be[0].length),Be({type:"text",value:ne});continue}if(ae&&(ae.type==="globstar"||ae.star===!0)){ae.type="star",ae.star=!0,ae.value+=ne,ae.output=Q,X.backtrack=!0,X.globstar=!0,Re(ne);continue}let le=ce();if(r.noextglob!==!0&&/^\([^?]/.test(le)){me("star",ne);continue}if(ae.type==="star"){if(r.noglobstar===!0){Re(ne);continue}let be=ae.prev,_e=be.prev,Ze=be.type==="slash"||be.type==="bos",Ct=_e&&(_e.type==="star"||_e.type==="globstar");if(r.bash===!0&&(!Ze||le[0]&&le[0]!=="/")){Be({type:"star",value:ne,output:""});continue}let ht=X.braces>0&&(be.type==="comma"||be.type==="brace"),nr=Te.length&&(be.type==="pipe"||be.type==="paren");if(!Ze&&be.type!=="paren"&&!ht&&!nr){Be({type:"star",value:ne,output:""});continue}for(;le.slice(0,3)==="/**";){let Mr=t[X.index+4];if(Mr&&Mr!=="/")break;le=le.slice(3),Re("/**",3)}if(be.type==="bos"&&Ce()){ae.type="globstar",ae.value+=ne,ae.output=C(r),X.output=ae.output,X.globstar=!0,Re(ne);continue}if(be.type==="slash"&&be.prev.type!=="bos"&&!Ct&&Ce()){X.output=X.output.slice(0,-(be.output+ae.output).length),be.output=`(?:${be.output}`,ae.type="globstar",ae.output=C(r)+(r.strictSlashes?")":"|$)"),ae.value+=ne,X.globstar=!0,X.output+=be.output+ae.output,Re(ne);continue}if(be.type==="slash"&&be.prev.type!=="bos"&&le[0]==="/"){let Mr=le[1]!==void 0?"|$":"";X.output=X.output.slice(0,-(be.output+ae.output).length),be.output=`(?:${be.output}`,ae.type="globstar",ae.output=`${C(r)}${f}|${f}${Mr})`,ae.value+=ne,X.output+=be.output+ae.output,X.globstar=!0,Re(ne+Dt()),Be({type:"slash",value:"/",output:""});continue}if(be.type==="bos"&&le[0]==="/"){ae.type="globstar",ae.value+=ne,ae.output=`(?:^|${f}|${C(r)}${f})`,X.output=ae.output,X.globstar=!0,Re(ne+Dt()),Be({type:"slash",value:"/",output:""});continue}X.output=X.output.slice(0,-ae.output.length),ae.type="globstar",ae.output=C(r),ae.value+=ne,X.output+=ae.output,X.globstar=!0,Re(ne);continue}let Fe={type:"star",value:ne,output:Q};if(r.bash===!0){Fe.output=".*?",(ae.type==="bos"||ae.type==="slash")&&(Fe.output=K+Fe.output),Be(Fe);continue}if(ae&&(ae.type==="bracket"||ae.type==="paren")&&r.regex===!0){Fe.output=ne,Be(Fe);continue}(X.index===X.start||ae.type==="slash"||ae.type==="dot")&&(ae.type==="dot"?(X.output+=b,ae.output+=b):r.dot===!0?(X.output+=T,ae.output+=T):(X.output+=K,ae.output+=K),Ue()!=="*"&&(X.output+=h,ae.output+=h)),Be(Fe)}for(;X.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ob("closing","]"));X.output=zo.escapeLast(X.output,"["),we("brackets")}for(;X.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ob("closing",")"));X.output=zo.escapeLast(X.output,"("),we("parens")}for(;X.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ob("closing","}"));X.output=zo.escapeLast(X.output,"{"),we("braces")}if(r.strictSlashes!==!0&&(ae.type==="star"||ae.type==="bracket")&&Be({type:"maybe_slash",value:"",output:`${f}?`}),X.backtrack===!0){X.output="";for(let le of X.tokens)X.output+=le.output!=null?le.output:le.value,le.suffix&&(X.output+=le.suffix)}return X};ZK.fastpaths=(t,e)=>{let r={...e},i=typeof r.maxLength=="number"?Math.min(g8,r.maxLength):g8,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=yxe[t]||t;let n=zo.isWindows(e),{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:l,DOTS_SLASH:u,NO_DOT:c,NO_DOTS:p,NO_DOTS_SLASH:d,STAR:f,START_ANCHOR:h}=y8.globChars(n),m=r.dot?p:c,g=r.dot?d:c,b=r.capture?"":"?:",T={negated:!1,prefix:""},x=r.bash===!0?".*?":f;r.capture&&(x=`(${x})`);let v=K=>K.noglobstar===!0?x:`(${b}(?:(?!${h}${K.dot?u:a}).)*?)`,w=K=>{switch(K){case"*":return`${m}${l}${x}`;case".*":return`${a}${l}${x}`;case"*.*":return`${m}${x}${a}${l}${x}`;case"*/*":return`${m}${x}${o}${l}${g}${x}`;case"**":return m+v(r);case"**/*":return`(?:${m}${v(r)}${o})?${g}${l}${x}`;case"**/*.*":return`(?:${m}${v(r)}${o})?${g}${x}${a}${l}${x}`;case"**/.*":return`(?:${m}${v(r)}${o})?${a}${l}${x}`;default:{let F=/^(.*?)\.(\w+)$/.exec(K);if(!F)return;let Q=w(F[1]);return Q?Q+a+F[2]:void 0}}},A=zo.removePrefix(t,T),C=w(A);return C&&r.strictSlashes!==!0&&(C+=`${o}?`),C};gxe.exports=ZK});var Sxe=E((b7r,vxe)=>{"use strict";var eJt=require("path"),tJt=mxe(),eW=bxe(),tW=Kx(),rJt=$x(),iJt=t=>t&&typeof t=="object"&&!Array.isArray(t),en=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(d=>en(d,e,r));return d=>{for(let f of c){let h=f(d);if(h)return h}return!1}}let i=iJt(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},n=tW.isWindows(e),a=i?en.compileRe(t,e):en.makeRe(t,e,!1,!0),o=a.state;delete a.state;let l=()=>!1;if(s.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};l=en(s.ignore,c,r)}let u=(c,p=!1)=>{let{isMatch:d,match:f,output:h}=en.test(c,a,e,{glob:t,posix:n}),m={glob:t,state:o,regex:a,posix:n,input:c,output:h,match:f,isMatch:d};return typeof s.onResult=="function"&&s.onResult(m),d===!1?(m.isMatch=!1,p?m:!1):l(c)?(typeof s.onIgnore=="function"&&s.onIgnore(m),m.isMatch=!1,p?m:!1):(typeof s.onMatch=="function"&&s.onMatch(m),p?m:!0)};return r&&(u.state=o),u};en.test=(t,e,r,{glob:i,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let n=r||{},a=n.format||(s?tW.toPosixSlashes:null),o=t===i,l=o&&a?a(t):t;return o===!1&&(l=a?a(t):t,o=l===i),(o===!1||n.capture===!0)&&(n.matchBase===!0||n.basename===!0?o=en.matchBase(t,e,r,s):o=e.exec(l)),{isMatch:!!o,match:o,output:l}};en.matchBase=(t,e,r,i=tW.isWindows(r))=>(e instanceof RegExp?e:en.makeRe(e,r)).test(eJt.basename(t));en.isMatch=(t,e,r)=>en(e,r)(t);en.parse=(t,e)=>Array.isArray(t)?t.map(r=>en.parse(r,e)):eW(t,{...e,fastpaths:!1});en.scan=(t,e)=>tJt(t,e);en.compileRe=(t,e,r=!1,i=!1)=>{if(r===!0)return t.output;let s=e||{},n=s.contains?"":"^",a=s.contains?"":"$",o=`${n}(?:${t.output})${a}`;t&&t.negated===!0&&(o=`^(?!${o}).*$`);let l=en.toRegex(o,e);return i===!0&&(l.state=t),l};en.makeRe=(t,e={},r=!1,i=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=eW.fastpaths(t,e)),s.output||(s=eW(t,e)),en.compileRe(s,e,r,i)};en.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};en.constants=rJt;vxe.exports=en});var xxe=E((v7r,Txe)=>{"use strict";Txe.exports=Sxe()});var _xe=E((S7r,Pxe)=>{"use strict";var wxe=require("util"),Axe=rxe(),Dc=xxe(),rW=Kx(),Exe=t=>t===""||t==="./",fs=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let i=new Set,s=new Set,n=new Set,a=0,o=c=>{n.add(c.output),r&&r.onResult&&r.onResult(c)};for(let c=0;c<e.length;c++){let p=Dc(String(e[c]),{...r,onResult:o},!0),d=p.state.negated||p.state.negatedExtglob;d&&a++;for(let f of t){let h=p(f,!0);(d?!h.isMatch:h.isMatch)&&(d?i.add(h.output):(i.delete(h.output),s.add(h.output)))}}let u=(a===e.length?[...n]:[...s]).filter(c=>!i.has(c));if(r&&u.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(c=>c.replace(/\\/g,"")):e}return u};fs.match=fs;fs.matcher=(t,e)=>Dc(t,e);fs.isMatch=(t,e,r)=>Dc(e,r)(t);fs.any=fs.isMatch;fs.not=(t,e,r={})=>{e=[].concat(e).map(String);let i=new Set,s=[],n=o=>{r.onResult&&r.onResult(o),s.push(o.output)},a=new Set(fs(t,e,{...r,onResult:n}));for(let o of s)a.has(o)||i.add(o);return[...i]};fs.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${wxe.inspect(t)}"`);if(Array.isArray(e))return e.some(i=>fs.contains(t,i,r));if(typeof e=="string"){if(Exe(t)||Exe(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return fs.isMatch(t,e,{...r,contains:!0})};fs.matchKeys=(t,e,r)=>{if(!rW.isObject(t))throw new TypeError("Expected the first argument to be an object");let i=fs(Object.keys(t),e,r),s={};for(let n of i)s[n]=t[n];return s};fs.some=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Dc(String(s),r);if(i.some(a=>n(a)))return!0}return!1};fs.every=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Dc(String(s),r);if(!i.every(a=>n(a)))return!1}return!0};fs.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${wxe.inspect(t)}"`);return[].concat(e).every(i=>Dc(i,r)(t))};fs.capture=(t,e,r)=>{let i=rW.isWindows(r),n=Dc.makeRe(String(t),{...r,capture:!0}).exec(i?rW.toPosixSlashes(e):e);if(n)return n.slice(1).map(a=>a===void 0?"":a)};fs.makeRe=(...t)=>Dc.makeRe(...t);fs.scan=(...t)=>Dc.scan(...t);fs.parse=(t,e)=>{let r=[];for(let i of[].concat(t||[]))for(let s of Axe(String(i),e))r.push(Dc.parse(s,e));return r};fs.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:Axe(t,e)};fs.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return fs.braces(t,{...e,expand:!0})};Pxe.exports=fs});var Fxe=E(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.removeDuplicateSlashes=sr.matchAny=sr.convertPatternsToRe=sr.makeRe=sr.getPatternParts=sr.expandBraceExpansion=sr.expandPatternsWithBraceExpansion=sr.isAffectDepthOfReadingPattern=sr.endsWithSlashGlobStar=sr.hasGlobStar=sr.getBaseDirectory=sr.isPatternRelatedToParentDirectory=sr.getPatternsOutsideCurrentDirectory=sr.getPatternsInsideCurrentDirectory=sr.getPositivePatterns=sr.getNegativePatterns=sr.isPositivePattern=sr.isNegativePattern=sr.convertToNegativePattern=sr.convertToPositivePattern=sr.isDynamicPattern=sr.isStaticPattern=void 0;var sJt=require("path"),nJt=vTe(),iW=_xe(),Cxe="**",aJt="\\",oJt=/[*?]|^!/,lJt=/\[[^[]*]/,uJt=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,cJt=/[!*+?@]\([^(]*\)/,pJt=/,|\.\./,fJt=/(?!^)\/{2,}/g;function Dxe(t,e={}){return!Nxe(t,e)}sr.isStaticPattern=Dxe;function Nxe(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(aJt)||oJt.test(t)||lJt.test(t)||uJt.test(t)||e.extglob!==!1&&cJt.test(t)||e.braceExpansion!==!1&&dJt(t))}sr.isDynamicPattern=Nxe;function dJt(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let i=t.slice(e,r);return pJt.test(i)}function hJt(t){return b8(t)?t.slice(1):t}sr.convertToPositivePattern=hJt;function mJt(t){return"!"+t}sr.convertToNegativePattern=mJt;function b8(t){return t.startsWith("!")&&t[1]!=="("}sr.isNegativePattern=b8;function Ixe(t){return!b8(t)}sr.isPositivePattern=Ixe;function yJt(t){return t.filter(b8)}sr.getNegativePatterns=yJt;function gJt(t){return t.filter(Ixe)}sr.getPositivePatterns=gJt;function bJt(t){return t.filter(e=>!sW(e))}sr.getPatternsInsideCurrentDirectory=bJt;function vJt(t){return t.filter(sW)}sr.getPatternsOutsideCurrentDirectory=vJt;function sW(t){return t.startsWith("..")||t.startsWith("./..")}sr.isPatternRelatedToParentDirectory=sW;function SJt(t){return nJt(t,{flipBackslashes:!1})}sr.getBaseDirectory=SJt;function TJt(t){return t.includes(Cxe)}sr.hasGlobStar=TJt;function Oxe(t){return t.endsWith("/"+Cxe)}sr.endsWithSlashGlobStar=Oxe;function xJt(t){let e=sJt.basename(t);return Oxe(t)||Dxe(e)}sr.isAffectDepthOfReadingPattern=xJt;function EJt(t){return t.reduce((e,r)=>e.concat(kxe(r)),[])}sr.expandPatternsWithBraceExpansion=EJt;function kxe(t){let e=iW.braces(t,{expand:!0,nodupes:!0});return e.sort((r,i)=>r.length-i.length),e.filter(r=>r!=="")}sr.expandBraceExpansion=kxe;function wJt(t,e){let{parts:r}=iW.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}sr.getPatternParts=wJt;function Lxe(t,e){return iW.makeRe(t,e)}sr.makeRe=Lxe;function AJt(t,e){return t.map(r=>Lxe(r,e))}sr.convertPatternsToRe=AJt;function PJt(t,e){return e.some(r=>r.test(t))}sr.matchAny=PJt;function _Jt(t){return t.replace(fJt,"/")}sr.removeDuplicateSlashes=_Jt});var Bxe=E(v8=>{"use strict";Object.defineProperty(v8,"__esModule",{value:!0});v8.merge=void 0;var CJt=RK();function DJt(t){let e=CJt(t);return t.forEach(r=>{r.once("error",i=>e.emit("error",i))}),e.once("close",()=>Rxe(t)),e.once("end",()=>Rxe(t)),e}v8.merge=DJt;function Rxe(t){t.forEach(e=>e.emit("close"))}});var Mxe=E(kb=>{"use strict";Object.defineProperty(kb,"__esModule",{value:!0});kb.isEmpty=kb.isString=void 0;function NJt(t){return typeof t=="string"}kb.isString=NJt;function IJt(t){return t===""}kb.isEmpty=IJt});var hf=E(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});ha.string=ha.stream=ha.pattern=ha.path=ha.fs=ha.errno=ha.array=void 0;var OJt=aTe();ha.array=OJt;var kJt=oTe();ha.errno=kJt;var LJt=lTe();ha.fs=LJt;var FJt=fTe();ha.path=FJt;var RJt=Fxe();ha.pattern=RJt;var BJt=Bxe();ha.stream=BJt;var MJt=Mxe();ha.string=MJt});var qxe=E(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.convertPatternGroupToTask=ma.convertPatternGroupsToTasks=ma.groupPatternsByBaseDirectory=ma.getNegativePatternsAsPositive=ma.getPositivePatterns=ma.convertPatternsToTasks=ma.generate=void 0;var Du=hf();function jJt(t,e){let r=jxe(t,e),i=jxe(e.ignore,e),s=Vxe(r),n=Uxe(r,i),a=s.filter(c=>Du.pattern.isStaticPattern(c,e)),o=s.filter(c=>Du.pattern.isDynamicPattern(c,e)),l=nW(a,n,!1),u=nW(o,n,!0);return l.concat(u)}ma.generate=jJt;function jxe(t,e){let r=t;return e.braceExpansion&&(r=Du.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(i=>i.includes("/")?i:`**/${i}`)),r.map(i=>Du.pattern.removeDuplicateSlashes(i))}function nW(t,e,r){let i=[],s=Du.pattern.getPatternsOutsideCurrentDirectory(t),n=Du.pattern.getPatternsInsideCurrentDirectory(t),a=aW(s),o=aW(n);return i.push(...oW(a,e,r)),"."in o?i.push(lW(".",n,e,r)):i.push(...oW(o,e,r)),i}ma.convertPatternsToTasks=nW;function Vxe(t){return Du.pattern.getPositivePatterns(t)}ma.getPositivePatterns=Vxe;function Uxe(t,e){return Du.pattern.getNegativePatterns(t).concat(e).map(Du.pattern.convertToPositivePattern)}ma.getNegativePatternsAsPositive=Uxe;function aW(t){let e={};return t.reduce((r,i)=>{let s=Du.pattern.getBaseDirectory(i);return s in r?r[s].push(i):r[s]=[i],r},e)}ma.groupPatternsByBaseDirectory=aW;function oW(t,e,r){return Object.keys(t).map(i=>lW(i,t[i],e,r))}ma.convertPatternGroupsToTasks=oW;function lW(t,e,r,i){return{dynamic:i,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(Du.pattern.convertToNegativePattern))}}ma.convertPatternGroupToTask=lW});var Kxe=E(S8=>{"use strict";Object.defineProperty(S8,"__esModule",{value:!0});S8.read=void 0;function VJt(t,e,r){e.fs.lstat(t,(i,s)=>{if(i!==null){$xe(r,i);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){uW(r,s);return}e.fs.stat(t,(n,a)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){$xe(r,n);return}uW(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),uW(r,a)})})}S8.read=VJt;function $xe(t,e){t(e)}function uW(t,e){t(null,e)}});var Wxe=E(T8=>{"use strict";Object.defineProperty(T8,"__esModule",{value:!0});T8.read=void 0;function UJt(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let i=e.fs.statSync(t);return e.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw i}}T8.read=UJt});var Gxe=E(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.createFileSystemAdapter=ph.FILE_SYSTEM_ADAPTER=void 0;var x8=require("fs");ph.FILE_SYSTEM_ADAPTER={lstat:x8.lstat,stat:x8.stat,lstatSync:x8.lstatSync,statSync:x8.statSync};function qJt(t){return t===void 0?ph.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},ph.FILE_SYSTEM_ADAPTER),t)}ph.createFileSystemAdapter=qJt});var zxe=E(pW=>{"use strict";Object.defineProperty(pW,"__esModule",{value:!0});var $Jt=Gxe(),cW=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=$Jt.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e!=null?e:r}};pW.default=cW});var q0=E(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.statSync=fh.stat=fh.Settings=void 0;var Hxe=Kxe(),KJt=Wxe(),fW=zxe();fh.Settings=fW.default;function WJt(t,e,r){if(typeof e=="function"){Hxe.read(t,dW(),e);return}Hxe.read(t,dW(e),r)}fh.stat=WJt;function GJt(t,e){let r=dW(e);return KJt.read(t,r)}fh.statSync=GJt;function dW(t={}){return t instanceof fW.default?t:new fW.default(t)}});var Xxe=E((I7r,Jxe)=>{var Yxe;Jxe.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Yxe||(Yxe=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Zxe=E((O7r,Qxe)=>{Qxe.exports=HJt;var zJt=Xxe();function HJt(t,e){let r,i,s,n=!0;Array.isArray(t)?(r=[],i=t.length):(s=Object.keys(t),r={},i=s.length);function a(l){function u(){e&&e(l,r),e=null}n?zJt(u):u()}function o(l,u,c){r[l]=c,(--i===0||u)&&a(u)}i?s?s.forEach(function(l){t[l](function(u,c){o(l,u,c)})}):t.forEach(function(l,u){l(function(c,p){o(u,c,p)})}):a(null),n=!1}});var hW=E(w8=>{"use strict";Object.defineProperty(w8,"__esModule",{value:!0});w8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var E8=process.versions.node.split(".");if(E8[0]===void 0||E8[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var eEe=Number.parseInt(E8[0],10),YJt=Number.parseInt(E8[1],10),tEe=10,JJt=10,XJt=eEe>tEe,QJt=eEe===tEe&&YJt>=JJt;w8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=XJt||QJt});var rEe=E(A8=>{"use strict";Object.defineProperty(A8,"__esModule",{value:!0});A8.createDirentFromStats=void 0;var mW=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function ZJt(t,e){return new mW(t,e)}A8.createDirentFromStats=ZJt});var yW=E(P8=>{"use strict";Object.defineProperty(P8,"__esModule",{value:!0});P8.fs=void 0;var eXt=rEe();P8.fs=eXt});var gW=E(_8=>{"use strict";Object.defineProperty(_8,"__esModule",{value:!0});_8.joinPathSegments=void 0;function tXt(t,e,r){return t.endsWith(r)?t+e:t+r+e}_8.joinPathSegments=tXt});var lEe=E(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.readdir=dh.readdirWithFileTypes=dh.read=void 0;var rXt=q0(),iEe=Zxe(),iXt=hW(),sEe=yW(),nEe=gW();function sXt(t,e,r){if(!e.stats&&iXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES){aEe(t,e,r);return}oEe(t,e,r)}dh.read=sXt;function aEe(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(i,s)=>{if(i!==null){C8(r,i);return}let n=s.map(o=>({dirent:o,name:o.name,path:nEe.joinPathSegments(t,o.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){bW(r,n);return}let a=n.map(o=>nXt(o,e));iEe(a,(o,l)=>{if(o!==null){C8(r,o);return}bW(r,l)})})}dh.readdirWithFileTypes=aEe;function nXt(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(i,s)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){r(i);return}r(null,t);return}t.dirent=sEe.fs.createDirentFromStats(t.name,s),r(null,t)})}}function oEe(t,e,r){e.fs.readdir(t,(i,s)=>{if(i!==null){C8(r,i);return}let n=s.map(a=>{let o=nEe.joinPathSegments(t,a,e.pathSegmentSeparator);return l=>{rXt.stat(o,e.fsStatSettings,(u,c)=>{if(u!==null){l(u);return}let p={name:a,path:o,dirent:sEe.fs.createDirentFromStats(a,c)};e.stats&&(p.stats=c),l(null,p)})}});iEe(n,(a,o)=>{if(a!==null){C8(r,a);return}bW(r,o)})})}dh.readdir=oEe;function C8(t,e){t(e)}function bW(t,e){t(null,e)}});var dEe=E(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.readdir=hh.readdirWithFileTypes=hh.read=void 0;var aXt=q0(),oXt=hW(),uEe=yW(),cEe=gW();function lXt(t,e){return!e.stats&&oXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES?pEe(t,e):fEe(t,e)}hh.read=lXt;function pEe(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(i=>{let s={dirent:i,name:i.name,path:cEe.joinPathSegments(t,i.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let n=e.fs.statSync(s.path);s.dirent=uEe.fs.createDirentFromStats(s.name,n)}catch(n){if(e.throwErrorOnBrokenSymbolicLink)throw n}return s})}hh.readdirWithFileTypes=pEe;function fEe(t,e){return e.fs.readdirSync(t).map(i=>{let s=cEe.joinPathSegments(t,i,e.pathSegmentSeparator),n=aXt.statSync(s,e.fsStatSettings),a={name:i,path:s,dirent:uEe.fs.createDirentFromStats(i,n)};return e.stats&&(a.stats=n),a})}hh.readdir=fEe});var hEe=E(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.createFileSystemAdapter=mh.FILE_SYSTEM_ADAPTER=void 0;var Lb=require("fs");mh.FILE_SYSTEM_ADAPTER={lstat:Lb.lstat,stat:Lb.stat,lstatSync:Lb.lstatSync,statSync:Lb.statSync,readdir:Lb.readdir,readdirSync:Lb.readdirSync};function uXt(t){return t===void 0?mh.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},mh.FILE_SYSTEM_ADAPTER),t)}mh.createFileSystemAdapter=uXt});var mEe=E(SW=>{"use strict";Object.defineProperty(SW,"__esModule",{value:!0});var cXt=require("path"),pXt=q0(),fXt=hEe(),vW=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=fXt.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,cXt.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new pXt.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};SW.default=vW});var D8=E(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.Settings=yh.scandirSync=yh.scandir=void 0;var yEe=lEe(),dXt=dEe(),TW=mEe();yh.Settings=TW.default;function hXt(t,e,r){if(typeof e=="function"){yEe.read(t,xW(),e);return}yEe.read(t,xW(e),r)}yh.scandir=hXt;function mXt(t,e){let r=xW(e);return dXt.read(t,r)}yh.scandirSync=mXt;function xW(t={}){return t instanceof TW.default?t:new TW.default(t)}});var bEe=E((q7r,gEe)=>{"use strict";function yXt(t){var e=new t,r=e;function i(){var n=e;return n.next?e=n.next:(e=new t,r=e),n.next=null,n}function s(n){r.next=n,r=n}return{get:i,release:s}}gEe.exports=yXt});var SEe=E(($7r,EW)=>{"use strict";var gXt=bEe();function vEe(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var i=gXt(bXt),s=null,n=null,a=0,o=null,l={push:m,drain:Nc,saturated:Nc,pause:c,paused:!1,concurrency:r,running:u,resume:f,idle:h,length:p,getQueue:d,unshift:g,empty:Nc,kill:T,killAndDrain:x,error:v};return l;function u(){return a}function c(){l.paused=!0}function p(){for(var w=s,A=0;w;)w=w.next,A++;return A}function d(){for(var w=s,A=[];w;)A.push(w.value),w=w.next;return A}function f(){if(l.paused){l.paused=!1;for(var w=0;w<l.concurrency;w++)a++,b()}}function h(){return a===0&&l.length()===0}function m(w,A){var C=i.get();C.context=t,C.release=b,C.value=w,C.callback=A||Nc,C.errorHandler=o,a===l.concurrency||l.paused?n?(n.next=C,n=C):(s=C,n=C,l.saturated()):(a++,e.call(t,C.value,C.worked))}function g(w,A){var C=i.get();C.context=t,C.release=b,C.value=w,C.callback=A||Nc,a===l.concurrency||l.paused?s?(C.next=s,s=C):(s=C,n=C,l.saturated()):(a++,e.call(t,C.value,C.worked))}function b(w){w&&i.release(w);var A=s;A?l.paused?a--:(n===s&&(n=null),s=A.next,A.next=null,e.call(t,A.value,A.worked),n===null&&l.empty()):--a===0&&l.drain()}function T(){s=null,n=null,l.drain=Nc}function x(){s=null,n=null,l.drain(),l.drain=Nc}function v(w){o=w}}function Nc(){}function bXt(){this.value=null,this.callback=Nc,this.next=null,this.release=Nc,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,i){var s=t.callback,n=t.errorHandler,a=t.value;t.value=null,t.callback=Nc,t.errorHandler&&n(r,a),s.call(t.context,r,i),t.release(t)}}function vXt(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function i(u,c){e.call(this,u).then(function(p){c(null,p)},c)}var s=vEe(t,i,r),n=s.push,a=s.unshift;return s.push=o,s.unshift=l,s;function o(u){return new Promise(function(c,p){n(u,function(d,f){if(d){p(d);return}c(f)})})}function l(u){return new Promise(function(c,p){a(u,function(d,f){if(d){p(d);return}c(f)})})}}EW.exports=vEe;EW.exports.promise=vXt});var N8=E(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.joinPathSegments=Ic.replacePathSegmentSeparator=Ic.isAppliedFilter=Ic.isFatalError=void 0;function SXt(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}Ic.isFatalError=SXt;function TXt(t,e){return t===null||t(e)}Ic.isAppliedFilter=TXt;function xXt(t,e){return t.split(/[/\\]/).join(e)}Ic.replacePathSegmentSeparator=xXt;function EXt(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}Ic.joinPathSegments=EXt});var PW=E(AW=>{"use strict";Object.defineProperty(AW,"__esModule",{value:!0});var wXt=N8(),wW=class{constructor(e,r){this._root=e,this._settings=r,this._root=wXt.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};AW.default=wW});var DW=E(CW=>{"use strict";Object.defineProperty(CW,"__esModule",{value:!0});var AXt=require("events"),PXt=D8(),_Xt=SEe(),I8=N8(),CXt=PW(),_W=class extends CXt.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=PXt.scandir,this._emitter=new AXt.EventEmitter,this._queue=_Xt(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let i={directory:e,base:r};this._queue.push(i,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(i,s)=>{if(i!==null){r(i,void 0);return}for(let n of s)this._handleEntry(n,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!I8.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let i=e.path;r!==void 0&&(e.path=I8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),I8.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&I8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};CW.default=_W});var TEe=E(IW=>{"use strict";Object.defineProperty(IW,"__esModule",{value:!0});var DXt=DW(),NW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new DXt.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{NXt(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{IXt(e,this._storage)}),this._reader.read()}};IW.default=NW;function NXt(t,e){t(e)}function IXt(t,e){t(null,e)}});var xEe=E(kW=>{"use strict";Object.defineProperty(kW,"__esModule",{value:!0});var OXt=require("stream"),kXt=DW(),OW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new kXt.default(this._root,this._settings),this._stream=new OXt.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};kW.default=OW});var EEe=E(FW=>{"use strict";Object.defineProperty(FW,"__esModule",{value:!0});var LXt=D8(),O8=N8(),FXt=PW(),LW=class extends FXt.default{constructor(){super(...arguments),this._scandir=LXt.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let i=this._scandir(e,this._settings.fsScandirSettings);for(let s of i)this._handleEntry(s,r)}catch(i){this._handleError(i)}}_handleError(e){if(O8.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let i=e.path;r!==void 0&&(e.path=O8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),O8.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&O8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};FW.default=LW});var wEe=E(BW=>{"use strict";Object.defineProperty(BW,"__esModule",{value:!0});var RXt=EEe(),RW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new RXt.default(this._root,this._settings)}read(){return this._reader.read()}};BW.default=RW});var AEe=E(jW=>{"use strict";Object.defineProperty(jW,"__esModule",{value:!0});var BXt=require("path"),MXt=D8(),MW=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,BXt.sep),this.fsScandirSettings=new MXt.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};jW.default=MW});var L8=E(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.Settings=Oc.walkStream=Oc.walkSync=Oc.walk=void 0;var PEe=TEe(),jXt=xEe(),VXt=wEe(),VW=AEe();Oc.Settings=VW.default;function UXt(t,e,r){if(typeof e=="function"){new PEe.default(t,k8()).read(e);return}new PEe.default(t,k8(e)).read(r)}Oc.walk=UXt;function qXt(t,e){let r=k8(e);return new VXt.default(t,r).read()}Oc.walkSync=qXt;function $Xt(t,e){let r=k8(e);return new jXt.default(t,r).read()}Oc.walkStream=$Xt;function k8(t={}){return t instanceof VW.default?t:new VW.default(t)}});var F8=E(qW=>{"use strict";Object.defineProperty(qW,"__esModule",{value:!0});var KXt=require("path"),WXt=q0(),_Ee=hf(),UW=class{constructor(e){this._settings=e,this._fsStatSettings=new WXt.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return KXt.resolve(this._settings.cwd,e)}_makeEntry(e,r){let i={name:r,path:r,dirent:_Ee.fs.createDirentFromStats(r,e)};return this._settings.stats&&(i.stats=e),i}_isFatalError(e){return!_Ee.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};qW.default=UW});var WW=E(KW=>{"use strict";Object.defineProperty(KW,"__esModule",{value:!0});var GXt=require("stream"),zXt=q0(),HXt=L8(),YXt=F8(),$W=class extends YXt.default{constructor(){super(...arguments),this._walkStream=HXt.walkStream,this._stat=zXt.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let i=e.map(this._getFullEntryPath,this),s=new GXt.PassThrough({objectMode:!0});s._write=(n,a,o)=>this._getEntry(i[n],e[n],r).then(l=>{l!==null&&r.entryFilter(l)&&s.push(l),n===i.length-1&&s.end(),o()}).catch(o);for(let n=0;n<i.length;n++)s.write(n);return s}_getEntry(e,r,i){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(i.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,i)=>{this._stat(e,this._fsStatSettings,(s,n)=>s===null?r(n):i(s))})}};KW.default=$W});var CEe=E(zW=>{"use strict";Object.defineProperty(zW,"__esModule",{value:!0});var JXt=L8(),XXt=F8(),QXt=WW(),GW=class extends XXt.default{constructor(){super(...arguments),this._walkAsync=JXt.walk,this._readerStream=new QXt.default(this._settings)}dynamic(e,r){return new Promise((i,s)=>{this._walkAsync(e,r,(n,a)=>{n===null?i(a):s(n)})})}async static(e,r){let i=[],s=this._readerStream.static(e,r);return new Promise((n,a)=>{s.once("error",a),s.on("data",o=>i.push(o)),s.once("end",()=>n(i))})}};zW.default=GW});var DEe=E(YW=>{"use strict";Object.defineProperty(YW,"__esModule",{value:!0});var Gx=hf(),HW=class{constructor(e,r,i){this._patterns=e,this._settings=r,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let r=this._getPatternSegments(e),i=this._splitSegmentsIntoSections(r);this._storage.push({complete:i.length<=1,pattern:e,segments:r,sections:i})}}_getPatternSegments(e){return Gx.pattern.getPatternParts(e,this._micromatchOptions).map(i=>Gx.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:Gx.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(e){return Gx.array.splitWhen(e,r=>r.dynamic&&Gx.pattern.hasGlobStar(r.pattern))}};YW.default=HW});var NEe=E(XW=>{"use strict";Object.defineProperty(XW,"__esModule",{value:!0});var ZXt=DEe(),JW=class extends ZXt.default{match(e){let r=e.split("/"),i=r.length,s=this._storage.filter(n=>!n.complete||n.segments.length>i);for(let n of s){let a=n.sections[0];if(!n.complete&&i>a.length||r.every((l,u)=>{let c=n.segments[u];return!!(c.dynamic&&c.patternRe.test(l)||!c.dynamic&&c.pattern===l)}))return!0}return!1}};XW.default=JW});var IEe=E(ZW=>{"use strict";Object.defineProperty(ZW,"__esModule",{value:!0});var R8=hf(),eQt=NEe(),QW=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,i){let s=this._getMatcher(r),n=this._getNegativePatternsRe(i);return a=>this._filter(e,a,s,n)}_getMatcher(e){return new eQt.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(R8.pattern.isAffectDepthOfReadingPattern);return R8.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,i,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let n=R8.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(n,i)?!1:this._isSkippedByNegativePatterns(n,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let i=r.split("/").length;if(e==="")return i;let s=e.split("/").length;return i-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!R8.pattern.matchAny(e,r)}};ZW.default=QW});var OEe=E(tG=>{"use strict";Object.defineProperty(tG,"__esModule",{value:!0});var $0=hf(),eG=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let i=$0.pattern.convertPatternsToRe(e,this._micromatchOptions),s=$0.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return n=>this._filter(n,i,s)}_filter(e,r,i){let s=$0.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(s)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(s,i))return!1;let n=e.dirent.isDirectory(),a=this._isMatchToPatterns(s,r,n)&&!this._isMatchToPatterns(s,i,n);return this._settings.unique&&a&&this._createIndexRecord(s),a}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,r){if(!this._settings.absolute)return!1;let i=$0.path.makeAbsolute(this._settings.cwd,e);return $0.pattern.matchAny(i,r)}_isMatchToPatterns(e,r,i){let s=$0.pattern.matchAny(e,r);return!s&&i?$0.pattern.matchAny(e+"/",r):s}};tG.default=eG});var kEe=E(iG=>{"use strict";Object.defineProperty(iG,"__esModule",{value:!0});var tQt=hf(),rG=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return tQt.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};iG.default=rG});var FEe=E(nG=>{"use strict";Object.defineProperty(nG,"__esModule",{value:!0});var LEe=hf(),sG=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=LEe.path.makeAbsolute(this._settings.cwd,r),r=LEe.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};nG.default=sG});var B8=E(oG=>{"use strict";Object.defineProperty(oG,"__esModule",{value:!0});var rQt=require("path"),iQt=IEe(),sQt=OEe(),nQt=kEe(),aQt=FEe(),aG=class{constructor(e){this._settings=e,this.errorFilter=new nQt.default(this._settings),this.entryFilter=new sQt.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new iQt.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new aQt.default(this._settings)}_getRootDirectory(e){return rQt.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};oG.default=aG});var REe=E(uG=>{"use strict";Object.defineProperty(uG,"__esModule",{value:!0});var oQt=CEe(),lQt=B8(),lG=class extends lQt.default{constructor(){super(...arguments),this._reader=new oQt.default(this._settings)}async read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return(await this.api(r,e,i)).map(n=>i.transform(n))}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};uG.default=lG});var BEe=E(pG=>{"use strict";Object.defineProperty(pG,"__esModule",{value:!0});var uQt=require("stream"),cQt=WW(),pQt=B8(),cG=class extends pQt.default{constructor(){super(...arguments),this._reader=new cQt.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e),s=this.api(r,e,i),n=new uQt.Readable({objectMode:!0,read:()=>{}});return s.once("error",a=>n.emit("error",a)).on("data",a=>n.emit("data",i.transform(a))).once("end",()=>n.emit("end")),n.once("close",()=>s.destroy()),n}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};pG.default=cG});var MEe=E(dG=>{"use strict";Object.defineProperty(dG,"__esModule",{value:!0});var fQt=q0(),dQt=L8(),hQt=F8(),fG=class extends hQt.default{constructor(){super(...arguments),this._walkSync=dQt.walkSync,this._statSync=fQt.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let i=[];for(let s of e){let n=this._getFullEntryPath(s),a=this._getEntry(n,s,r);a===null||!r.entryFilter(a)||i.push(a)}return i}_getEntry(e,r,i){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(i.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};dG.default=fG});var jEe=E(mG=>{"use strict";Object.defineProperty(mG,"__esModule",{value:!0});var mQt=MEe(),yQt=B8(),hG=class extends yQt.default{constructor(){super(...arguments),this._reader=new mQt.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return this.api(r,e,i).map(i.transform)}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};mG.default=hG});var VEe=E(Rb=>{"use strict";Object.defineProperty(Rb,"__esModule",{value:!0});Rb.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Fb=require("fs"),gQt=require("os"),bQt=Math.max(gQt.cpus().length,1);Rb.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Fb.lstat,lstatSync:Fb.lstatSync,stat:Fb.stat,statSync:Fb.statSync,readdir:Fb.readdir,readdirSync:Fb.readdirSync};var yG=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,bQt),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},Rb.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};Rb.default=yG});var SG=E((hOr,qEe)=>{"use strict";var UEe=qxe(),vQt=REe(),SQt=BEe(),TQt=jEe(),gG=VEe(),$l=hf();async function bG(t,e){Nu(t);let r=vG(t,vQt.default,e),i=await Promise.all(r);return $l.array.flatten(i)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(u,c){Nu(u);let p=vG(u,TQt.default,c);return $l.array.flatten(p)}t.sync=e;function r(u,c){Nu(u);let p=vG(u,SQt.default,c);return $l.stream.merge(p)}t.stream=r;function i(u,c){Nu(u);let p=[].concat(u),d=new gG.default(c);return UEe.generate(p,d)}t.generateTasks=i;function s(u,c){Nu(u);let p=new gG.default(c);return $l.pattern.isDynamicPattern(u,p)}t.isDynamicPattern=s;function n(u){return Nu(u),$l.path.escape(u)}t.escapePath=n;function a(u){return Nu(u),$l.path.convertPathToPattern(u)}t.convertPathToPattern=a;let o;(function(u){function c(d){return Nu(d),$l.path.escapePosixPath(d)}u.escapePath=c;function p(d){return Nu(d),$l.path.convertPosixPathToPattern(d)}u.convertPathToPattern=p})(o=t.posix||(t.posix={}));let l;(function(u){function c(d){return Nu(d),$l.path.escapeWindowsPath(d)}u.escapePath=c;function p(d){return Nu(d),$l.path.convertWindowsPathToPattern(d)}u.convertPathToPattern=p})(l=t.win32||(t.win32={}))})(bG||(bG={}));function vG(t,e,r){let i=[].concat(t),s=new gG.default(r),n=UEe.generate(i,s),a=new e(s);return n.map(a.read,a)}function Nu(t){if(![].concat(t).every(i=>$l.string.isString(i)&&!$l.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}qEe.exports=bG});var KEe=E(K0=>{"use strict";var{promisify:xQt}=require("util"),$Ee=require("fs");async function TG(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await xQt($Ee[t])(r))[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}function xG(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return $Ee[t](r)[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}K0.isFile=TG.bind(null,"stat","isFile");K0.isDirectory=TG.bind(null,"stat","isDirectory");K0.isSymlink=TG.bind(null,"lstat","isSymbolicLink");K0.isFileSync=xG.bind(null,"statSync","isFile");K0.isDirectorySync=xG.bind(null,"statSync","isDirectory");K0.isSymlinkSync=xG.bind(null,"lstatSync","isSymbolicLink")});var YEe=E((yOr,EG)=>{"use strict";var W0=require("path"),WEe=KEe(),GEe=t=>t.length>1?`{${t.join(",")}}`:t[0],zEe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return W0.isAbsolute(r)?r:W0.join(e,r)},EQt=(t,e)=>W0.extname(t)?`**/${t}`:`**/${t}.${GEe(e)}`,HEe=(t,e)=>{if(e.files&&!Array.isArray(e.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof e.files}\``);if(e.extensions&&!Array.isArray(e.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof e.extensions}\``);return e.files&&e.extensions?e.files.map(r=>W0.posix.join(t,EQt(r,e.extensions))):e.files?e.files.map(r=>W0.posix.join(t,`**/${r}`)):e.extensions?[W0.posix.join(t,`**/*.${GEe(e.extensions)}`)]:[W0.posix.join(t,"**")]};EG.exports=async(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=await Promise.all([].concat(t).map(async i=>await WEe.isDirectory(zEe(i,e.cwd))?HEe(i,e):i));return[].concat.apply([],r)};EG.exports.sync=(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=[].concat(t).map(i=>WEe.isDirectorySync(zEe(i,e.cwd))?HEe(i,e):i);return[].concat.apply([],r)}});var nwe=E((gOr,swe)=>{function JEe(t){return Array.isArray(t)?t:[t]}var ewe="",XEe=" ",wG="\\",wQt=/^\s+$/,AQt=/(?:[^\\]|^)\\$/,PQt=/^\\!/,_Qt=/^\\#/,CQt=/\r?\n/g,DQt=/^\.*\/|^\.+$/,AG="/",twe="node-ignore";typeof Symbol<"u"&&(twe=Symbol.for("node-ignore"));var QEe=twe,NQt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),IQt=/([0-z])-([0-z])/g,rwe=()=>!1,OQt=t=>t.replace(IQt,(e,r,i)=>r.charCodeAt(0)<=i.charCodeAt(0)?e:ewe),kQt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},LQt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?XEe:ewe],[/\\\s/g,()=>XEe],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,r)=>e+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t,e,r)=>{let i=r.replace(/\\\*/g,"[^\\/]*");return e+i}],[/\\\\\\(?=[$.|*+(){^])/g,()=>wG],[/\\\\/g,()=>wG],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,i,s)=>e===wG?`\\[${r}${kQt(i)}${s}`:s==="]"&&i.length%2===0?`[${OQt(r)}${i}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],ZEe=Object.create(null),FQt=(t,e)=>{let r=ZEe[t];return r||(r=LQt.reduce((i,s)=>i.replace(s[0],s[1].bind(t)),t),ZEe[t]=r),e?new RegExp(r,"i"):new RegExp(r)},CG=t=>typeof t=="string",RQt=t=>t&&CG(t)&&!wQt.test(t)&&!AQt.test(t)&&t.indexOf("#")!==0,BQt=t=>t.split(CQt),PG=class{constructor(e,r,i,s){this.origin=e,this.pattern=r,this.negative=i,this.regex=s}},MQt=(t,e)=>{let r=t,i=!1;t.indexOf("!")===0&&(i=!0,t=t.substr(1)),t=t.replace(PQt,"!").replace(_Qt,"#");let s=FQt(t,e);return new PG(r,t,i,s)},jQt=(t,e)=>{throw new e(t)},mf=(t,e,r)=>CG(t)?t?mf.isNotRelative(t)?r(`path should be a \`path.relative()\`d string, but got "${e}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${e}\``,TypeError),iwe=t=>DQt.test(t);mf.isNotRelative=iwe;mf.convert=t=>t;var _G=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:i=!1}={}){NQt(this,QEe,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[QEe]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(RQt(e)){let r=MQt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,JEe(CG(e)?BQt(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,r){let i=!1,s=!1;return this._rules.forEach(n=>{let{negative:a}=n;if(s===a&&i!==s||a&&!i&&!s&&!r)return;n.regex.test(e)&&(i=!a,s=a)}),{ignored:i,unignored:s}}_test(e,r,i,s){let n=e&&mf.convert(e);return mf(n,e,this._allowRelativePaths?rwe:jQt),this._t(n,r,i,s)}_t(e,r,i,s){if(e in r)return r[e];if(s||(s=e.split(AG)),s.pop(),!s.length)return r[e]=this._testOne(e,i);let n=this._t(s.join(AG)+AG,r,i,s);return r[e]=n.ignored?n:this._testOne(e,i)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return JEe(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},M8=t=>new _G(t),VQt=t=>mf(t&&mf.convert(t),t,rwe);M8.isPathValid=VQt;M8.default=M8;swe.exports=M8;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let t=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");mf.convert=t;let e=/^[a-z]:\//i;mf.isNotRelative=r=>e.test(r)||iwe(r)}});var owe=E((bOr,awe)=>{"use strict";awe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var hwe=E((vOr,DG)=>{"use strict";var{promisify:UQt}=require("util"),lwe=require("fs"),yf=require("path"),uwe=SG(),qQt=nwe(),zx=owe(),cwe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],$Qt=UQt(lwe.readFile),KQt=t=>e=>e.startsWith("!")?"!"+yf.posix.join(t,e.slice(1)):yf.posix.join(t,e),WQt=(t,e)=>{let r=zx(yf.relative(e.cwd,yf.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(i=>!i.startsWith("#")).map(KQt(r))},pwe=t=>{let e=qQt();for(let r of t)e.add(WQt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},GQt=(t,e)=>{if(t=zx(t),yf.isAbsolute(e)){if(zx(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return yf.join(t,e)},fwe=(t,e)=>r=>t.ignores(zx(yf.relative(e,GQt(e,r.path||r)))),zQt=async(t,e)=>{let r=yf.join(e,t),i=await $Qt(r,"utf8");return{cwd:e,filePath:r,content:i}},HQt=(t,e)=>{let r=yf.join(e,t),i=lwe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:i}},dwe=({ignore:t=[],cwd:e=zx(process.cwd())}={})=>({ignore:t,cwd:e});DG.exports=async t=>{t=dwe(t);let e=await uwe("**/.gitignore",{ignore:cwe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(s=>zQt(s,t.cwd))),i=pwe(r);return fwe(i,t.cwd)};DG.exports.sync=t=>{t=dwe(t);let r=uwe.sync("**/.gitignore",{ignore:cwe.concat(t.ignore),cwd:t.cwd}).map(s=>HQt(s,t.cwd)),i=pwe(r);return fwe(i,t.cwd)}});var ywe=E((SOr,mwe)=>{"use strict";var{Transform:YQt}=require("stream"),j8=class extends YQt{constructor(){super({objectMode:!0})}},NG=class extends j8{constructor(e){super(),this._filter=e}_transform(e,r,i){this._filter(e)&&this.push(e),i()}},IG=class extends j8{constructor(){super(),this._pushed=new Set}_transform(e,r,i){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),i()}};mwe.exports={FilterStream:NG,UniqueStream:IG}});var K8=E((TOr,G0)=>{"use strict";var bwe=require("fs"),V8=rTe(),JQt=RK(),U8=SG(),q8=YEe(),OG=hwe(),{FilterStream:XQt,UniqueStream:QQt}=ywe(),vwe=()=>!1,gwe=t=>t[0]==="!",ZQt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},eZt=(t={})=>{if(!t.cwd)return;let e;try{e=bwe.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},tZt=t=>t.stats instanceof bwe.Stats?t.path:t,$8=(t,e)=>{t=V8([].concat(t)),ZQt(t),eZt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[i,s]of t.entries()){if(gwe(s))continue;let n=t.slice(i).filter(o=>gwe(o)).map(o=>o.slice(1)),a={...e,ignore:e.ignore.concat(n)};r.push({pattern:s,options:a})}return r},rZt=(t,e)=>{let r={};return t.options.cwd&&(r.cwd=t.options.cwd),Array.isArray(t.options.expandDirectories)?r={...r,files:t.options.expandDirectories}:typeof t.options.expandDirectories=="object"&&(r={...r,...t.options.expandDirectories}),e(t.pattern,r)},kG=(t,e)=>t.options.expandDirectories?rZt(t,e):[t.pattern],Swe=t=>t&&t.gitignore?OG.sync({cwd:t.cwd,ignore:t.ignore}):vwe,LG=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=q8.sync(r.ignore)),{pattern:e,options:r}};G0.exports=async(t,e)=>{let r=$8(t,e),i=async()=>e&&e.gitignore?OG({cwd:e.cwd,ignore:e.ignore}):vwe,s=async()=>{let l=await Promise.all(r.map(async u=>{let c=await kG(u,q8);return Promise.all(c.map(LG(u)))}));return V8(...l)},[n,a]=await Promise.all([i(),s()]),o=await Promise.all(a.map(l=>U8(l.pattern,l.options)));return V8(...o).filter(l=>!n(tZt(l)))};G0.exports.sync=(t,e)=>{let r=$8(t,e),i=[];for(let a of r){let o=kG(a,q8.sync).map(LG(a));i.push(...o)}let s=Swe(e),n=[];for(let a of i)n=V8(n,U8.sync(a.pattern,a.options));return n.filter(a=>!s(a))};G0.exports.stream=(t,e)=>{let r=$8(t,e),i=[];for(let o of r){let l=kG(o,q8.sync).map(LG(o));i.push(...l)}let s=Swe(e),n=new XQt(o=>!s(o)),a=new QQt;return JQt(i.map(o=>U8.stream(o.pattern,o.options))).pipe(n).pipe(a)};G0.exports.generateGlobTasks=$8;G0.exports.hasMagic=(t,e)=>[].concat(t).some(r=>U8.isDynamicPattern(r,e));G0.exports.gitignore=OG});var xwe=E((xOr,Twe)=>{var iZt=process.platform==="win32";Twe.exports=function(t){var e=t.length-1;if(e<2)return t;for(;sZt(t,e);)e--;return t.substr(0,e+1)};function sZt(t,e){var r=t[e];return e>0&&(r==="/"||iZt&&r==="\\")}});var wwe=E((EOr,Ewe)=>{var nZt=xwe();Ewe.exports=function(e,r){if(typeof e!="string")throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),r!==!1&&(e=nZt(e)),e}});var W8=E((wOr,Awe)=>{"use strict";var aZt=wwe();Awe.exports=function(e,r){return e=aZt(e,r),e.replace(/^([a-zA-Z]+:|\.\/)/,"")}});var Gwe=E((MOr,MG)=>{"use strict";var $we=require("path"),Kwe=require("module"),fZt=require("fs"),Wwe=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof e!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof e}\``);try{t=fZt.realpathSync(t)}catch(n){if(n.code==="ENOENT")t=$we.resolve(t);else{if(r)return;throw n}}let i=$we.join(t,"noop.js"),s=()=>Kwe._resolveFilename(e,{id:i,filename:i,paths:Kwe._nodeModulePaths(t)});if(r)try{return s()}catch{return}return s()};MG.exports=(t,e)=>Wwe(t,e);MG.exports.silent=(t,e)=>Wwe(t,e,!0)});var mAe=E((Fkr,hAe)=>{"use strict";var Ter=function(){function t(r,i){if(typeof r!="function")throw new TypeError("DataLoader must be constructed with a function which accepts "+("Array<key> and returns Promise<Array<value>>, but got: "+r+"."));this._batchLoadFn=r,this._maxBatchSize=Aer(i),this._batchScheduleFn=Per(i),this._cacheKeyFn=_er(i),this._cacheMap=Cer(i),this._batch=null,this.name=Der(i)}var e=t.prototype;return e.load=function(i){if(i==null)throw new TypeError("The loader.load() function must be called with a value, "+("but got: "+String(i)+"."));var s=Eer(this),n=this._cacheMap,a=this._cacheKeyFn(i);if(n){var o=n.get(a);if(o){var l=s.cacheHits||(s.cacheHits=[]);return new Promise(function(c){l.push(function(){c(o)})})}}s.keys.push(i);var u=new Promise(function(c,p){s.callbacks.push({resolve:c,reject:p})});return n&&n.set(a,u),u},e.loadMany=function(i){if(!dAe(i))throw new TypeError("The loader.loadMany() function must be called with Array<key> "+("but got: "+i+"."));for(var s=[],n=0;n<i.length;n++)s.push(this.load(i[n]).catch(function(a){return a}));return Promise.all(s)},e.clear=function(i){var s=this._cacheMap;if(s){var n=this._cacheKeyFn(i);s.delete(n)}return this},e.clearAll=function(){var i=this._cacheMap;return i&&i.clear(),this},e.prime=function(i,s){var n=this._cacheMap;if(n){var a=this._cacheKeyFn(i);if(n.get(a)===void 0){var o;s instanceof Error?(o=Promise.reject(s),o.catch(function(){})):o=Promise.resolve(s),n.set(a,o)}}return this},t}(),xer=typeof process=="object"&&typeof process.nextTick=="function"?function(t){$G||($G=Promise.resolve()),$G.then(function(){process.nextTick(t)})}:typeof setImmediate=="function"?function(t){setImmediate(t)}:function(t){setTimeout(t)},$G;function Eer(t){var e=t._batch;if(e!==null&&!e.hasDispatched&&e.keys.length<t._maxBatchSize)return e;var r={hasDispatched:!1,keys:[],callbacks:[]};return t._batch=r,t._batchScheduleFn(function(){wer(t,r)}),r}function wer(t,e){if(e.hasDispatched=!0,e.keys.length===0){WG(e);return}var r;try{r=t._batchLoadFn(e.keys)}catch(i){return KG(t,e,new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function "+("errored synchronously: "+String(i)+".")))}if(!r||typeof r.then!="function")return KG(t,e,new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did "+("not return a Promise: "+String(r)+".")));r.then(function(i){if(!dAe(i))throw new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did "+("not return a Promise of an Array: "+String(i)+"."));if(i.length!==e.keys.length)throw new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys."+(`
|
|
443
|
+
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var ZTe=E((f7r,QTe)=>{"use strict";var uYt=d8(),{MAX_LENGTH:YTe,CHAR_BACKSLASH:WK,CHAR_BACKTICK:cYt,CHAR_COMMA:pYt,CHAR_DOT:fYt,CHAR_LEFT_PARENTHESES:dYt,CHAR_RIGHT_PARENTHESES:hYt,CHAR_LEFT_CURLY_BRACE:mYt,CHAR_RIGHT_CURLY_BRACE:yYt,CHAR_LEFT_SQUARE_BRACKET:JTe,CHAR_RIGHT_SQUARE_BRACKET:XTe,CHAR_DOUBLE_QUOTE:gYt,CHAR_SINGLE_QUOTE:bYt,CHAR_NO_BREAK_SPACE:vYt,CHAR_ZERO_WIDTH_NOBREAK_SPACE:SYt}=HTe(),TYt=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},i=typeof r.maxLength=="number"?Math.min(YTe,r.maxLength):YTe;if(t.length>i)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${i})`);let s={type:"root",input:t,nodes:[]},n=[s],a=s,o=s,l=0,u=t.length,c=0,p=0,d,f={},h=()=>t[c++],m=g=>{if(g.type==="text"&&o.type==="dot"&&(o.type="text"),o&&o.type==="text"&&g.type==="text"){o.value+=g.value;return}return a.nodes.push(g),g.parent=a,g.prev=o,o=g,g};for(m({type:"bos"});c<u;)if(a=n[n.length-1],d=h(),!(d===SYt||d===vYt)){if(d===WK){m({type:"text",value:(e.keepEscaping?d:"")+h()});continue}if(d===XTe){m({type:"text",value:"\\"+d});continue}if(d===JTe){l++;let g=!0,b;for(;c<u&&(b=h());){if(d+=b,b===JTe){l++;continue}if(b===WK){d+=h();continue}if(b===XTe&&(l--,l===0))break}m({type:"text",value:d});continue}if(d===dYt){a=m({type:"paren",nodes:[]}),n.push(a),m({type:"text",value:d});continue}if(d===hYt){if(a.type!=="paren"){m({type:"text",value:d});continue}a=n.pop(),m({type:"text",value:d}),a=n[n.length-1];continue}if(d===gYt||d===bYt||d===cYt){let g=d,b;for(e.keepQuotes!==!0&&(d="");c<u&&(b=h());){if(b===WK){d+=b+h();continue}if(b===g){e.keepQuotes===!0&&(d+=b);break}d+=b}m({type:"text",value:d});continue}if(d===mYt){p++;let b={type:"brace",open:!0,close:!1,dollar:o.value&&o.value.slice(-1)==="$"||a.dollar===!0,depth:p,commas:0,ranges:0,nodes:[]};a=m(b),n.push(a),m({type:"open",value:d});continue}if(d===yYt){if(a.type!=="brace"){m({type:"text",value:d});continue}let g="close";a=n.pop(),a.close=!0,m({type:g,value:d}),p--,a=n[n.length-1];continue}if(d===pYt&&p>0){if(a.ranges>0){a.ranges=0;let g=a.nodes.shift();a.nodes=[g,{type:"text",value:uYt(a)}]}m({type:"comma",value:d}),a.commas++;continue}if(d===fYt&&p>0&&a.commas===0){let g=a.nodes;if(p===0||g.length===0){m({type:"text",value:d});continue}if(o.type==="dot"){if(a.range=[],o.value+=d,o.type="range",a.nodes.length!==3&&a.nodes.length!==5){a.invalid=!0,a.ranges=0,o.type="text";continue}a.ranges++,a.args=[];continue}if(o.type==="range"){g.pop();let b=g[g.length-1];b.value+=o.value+d,o=b,a.ranges--;continue}m({type:"dot",value:d});continue}m({type:"text",value:d})}do if(a=n.pop(),a.type!=="root"){a.nodes.forEach(T=>{T.nodes||(T.type==="open"&&(T.isOpen=!0),T.type==="close"&&(T.isClose=!0),T.nodes||(T.type="text"),T.invalid=!0)});let g=n[n.length-1],b=g.nodes.indexOf(a);g.nodes.splice(b,1,...a.nodes)}while(n.length>0);return m({type:"eos"}),s};QTe.exports=TYt});var rxe=E((d7r,txe)=>{"use strict";var exe=d8(),xYt=$Te(),EYt=GTe(),wYt=ZTe(),Go=(t,e={})=>{let r=[];if(Array.isArray(t))for(let i of t){let s=Go.create(i,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(Go.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};Go.parse=(t,e={})=>wYt(t,e);Go.stringify=(t,e={})=>exe(typeof t=="string"?Go.parse(t,e):t,e);Go.compile=(t,e={})=>(typeof t=="string"&&(t=Go.parse(t,e)),xYt(t,e));Go.expand=(t,e={})=>{typeof t=="string"&&(t=Go.parse(t,e));let r=EYt(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};Go.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?Go.compile(t,e):Go.expand(t,e);txe.exports=Go});var $x=E((h7r,oxe)=>{"use strict";var AYt=require("path"),Cc="\\\\/",ixe=`[^${Cc}]`,df="\\.",PYt="\\+",_Yt="\\?",m8="\\/",CYt="(?=.)",sxe="[^/]",GK=`(?:${m8}|$)`,nxe=`(?:^|${m8})`,zK=`${df}{1,2}${GK}`,DYt=`(?!${df})`,NYt=`(?!${nxe}${zK})`,IYt=`(?!${df}{0,1}${GK})`,OYt=`(?!${zK})`,kYt=`[^.${m8}]`,LYt=`${sxe}*?`,axe={DOT_LITERAL:df,PLUS_LITERAL:PYt,QMARK_LITERAL:_Yt,SLASH_LITERAL:m8,ONE_CHAR:CYt,QMARK:sxe,END_ANCHOR:GK,DOTS_SLASH:zK,NO_DOT:DYt,NO_DOTS:NYt,NO_DOT_SLASH:IYt,NO_DOTS_SLASH:OYt,QMARK_NO_DOT:kYt,STAR:LYt,START_ANCHOR:nxe},FYt={...axe,SLASH_LITERAL:`[${Cc}]`,QMARK:ixe,STAR:`${ixe}*?`,DOTS_SLASH:`${df}{1,2}(?:[${Cc}]|$)`,NO_DOT:`(?!${df})`,NO_DOTS:`(?!(?:^|[${Cc}])${df}{1,2}(?:[${Cc}]|$))`,NO_DOT_SLASH:`(?!${df}{0,1}(?:[${Cc}]|$))`,NO_DOTS_SLASH:`(?!${df}{1,2}(?:[${Cc}]|$))`,QMARK_NO_DOT:`[^.${Cc}]`,START_ANCHOR:`(?:^|[${Cc}])`,END_ANCHOR:`(?:[${Cc}]|$)`},RYt={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};oxe.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:RYt,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:AYt.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?FYt:axe}}});var Kx=E(wo=>{"use strict";var BYt=require("path"),MYt=process.platform==="win32",{REGEX_BACKSLASH:jYt,REGEX_REMOVE_BACKSLASH:VYt,REGEX_SPECIAL_CHARS:UYt,REGEX_SPECIAL_CHARS_GLOBAL:qYt}=$x();wo.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);wo.hasRegexChars=t=>UYt.test(t);wo.isRegexChar=t=>t.length===1&&wo.hasRegexChars(t);wo.escapeRegex=t=>t.replace(qYt,"\\$1");wo.toPosixSlashes=t=>t.replace(jYt,"/");wo.removeBackslashes=t=>t.replace(VYt,e=>e==="\\"?"":e);wo.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};wo.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:MYt===!0||BYt.sep==="\\";wo.escapeLast=(t,e,r)=>{let i=t.lastIndexOf(e,r);return i===-1?t:t[i-1]==="\\"?wo.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};wo.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};wo.wrapOutput=(t,e={},r={})=>{let i=r.contains?"":"^",s=r.contains?"":"$",n=`${i}(?:${t})${s}`;return e.negated===!0&&(n=`(?:^(?!${n}).*$)`),n}});var mxe=E((y7r,hxe)=>{"use strict";var lxe=Kx(),{CHAR_ASTERISK:HK,CHAR_AT:$Yt,CHAR_BACKWARD_SLASH:Wx,CHAR_COMMA:KYt,CHAR_DOT:YK,CHAR_EXCLAMATION_MARK:JK,CHAR_FORWARD_SLASH:dxe,CHAR_LEFT_CURLY_BRACE:XK,CHAR_LEFT_PARENTHESES:QK,CHAR_LEFT_SQUARE_BRACKET:WYt,CHAR_PLUS:GYt,CHAR_QUESTION_MARK:uxe,CHAR_RIGHT_CURLY_BRACE:zYt,CHAR_RIGHT_PARENTHESES:cxe,CHAR_RIGHT_SQUARE_BRACKET:HYt}=$x(),pxe=t=>t===dxe||t===Wx,fxe=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},YYt=(t,e)=>{let r=e||{},i=t.length-1,s=r.parts===!0||r.scanToEnd===!0,n=[],a=[],o=[],l=t,u=-1,c=0,p=0,d=!1,f=!1,h=!1,m=!1,g=!1,b=!1,T=!1,x=!1,v=!1,w=!1,A=0,C,K,F={value:"",depth:0,isGlob:!1},Q=()=>u>=i,X=()=>l.charCodeAt(u+1),Te=()=>(C=K,l.charCodeAt(++u));for(;u<i;){K=Te();let Ce;if(K===Wx){T=F.backslashes=!0,K=Te(),K===XK&&(b=!0);continue}if(b===!0||K===XK){for(A++;Q()!==!0&&(K=Te());){if(K===Wx){T=F.backslashes=!0,Te();continue}if(K===XK){A++;continue}if(b!==!0&&K===YK&&(K=Te())===YK){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(b!==!0&&K===KYt){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===zYt&&(A--,A===0)){b=!1,d=F.isBrace=!0,w=!0;break}}if(s===!0)continue;break}if(K===dxe){if(n.push(u),a.push(F),F={value:"",depth:0,isGlob:!1},w===!0)continue;if(C===YK&&u===c+1){c+=2;continue}p=u+1;continue}if(r.noext!==!0&&(K===GYt||K===$Yt||K===HK||K===uxe||K===JK)===!0&&X()===QK){if(h=F.isGlob=!0,m=F.isExtglob=!0,w=!0,K===JK&&u===c&&(v=!0),s===!0){for(;Q()!==!0&&(K=Te());){if(K===Wx){T=F.backslashes=!0,K=Te();continue}if(K===cxe){h=F.isGlob=!0,w=!0;break}}continue}break}if(K===HK){if(C===HK&&(g=F.isGlobstar=!0),h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===uxe){if(h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===WYt){for(;Q()!==!0&&(Ce=Te());){if(Ce===Wx){T=F.backslashes=!0,Te();continue}if(Ce===HYt){f=F.isBracket=!0,h=F.isGlob=!0,w=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&K===JK&&u===c){x=F.negated=!0,c++;continue}if(r.noparen!==!0&&K===QK){if(h=F.isGlob=!0,s===!0){for(;Q()!==!0&&(K=Te());){if(K===QK){T=F.backslashes=!0,K=Te();continue}if(K===cxe){w=!0;break}}continue}break}if(h===!0){if(w=!0,s===!0)continue;break}}r.noext===!0&&(m=!1,h=!1);let qe=l,Ke="",ae="";c>0&&(Ke=l.slice(0,c),l=l.slice(c),p-=c),qe&&h===!0&&p>0?(qe=l.slice(0,p),ae=l.slice(p)):h===!0?(qe="",ae=l):qe=l,qe&&qe!==""&&qe!=="/"&&qe!==l&&pxe(qe.charCodeAt(qe.length-1))&&(qe=qe.slice(0,-1)),r.unescape===!0&&(ae&&(ae=lxe.removeBackslashes(ae)),qe&&T===!0&&(qe=lxe.removeBackslashes(qe)));let ne={prefix:Ke,input:t,start:c,base:qe,glob:ae,isBrace:d,isBracket:f,isGlob:h,isExtglob:m,isGlobstar:g,negated:x,negatedExtglob:v};if(r.tokens===!0&&(ne.maxDepth=0,pxe(K)||a.push(F),ne.tokens=a),r.parts===!0||r.tokens===!0){let Ce;for(let Ue=0;Ue<n.length;Ue++){let Dt=Ce?Ce+1:c,ce=n[Ue],Re=t.slice(Dt,ce);r.tokens&&(Ue===0&&c!==0?(a[Ue].isPrefix=!0,a[Ue].value=Ke):a[Ue].value=Re,fxe(a[Ue]),ne.maxDepth+=a[Ue].depth),(Ue!==0||Re!=="")&&o.push(Re),Ce=ce}if(Ce&&Ce+1<t.length){let Ue=t.slice(Ce+1);o.push(Ue),r.tokens&&(a[a.length-1].value=Ue,fxe(a[a.length-1]),ne.maxDepth+=a[a.length-1].depth)}ne.slashes=n,ne.parts=o}return ne};hxe.exports=YYt});var bxe=E((g7r,gxe)=>{"use strict";var y8=$x(),zo=Kx(),{MAX_LENGTH:g8,POSIX_REGEX_SOURCE:JYt,REGEX_NON_SPECIAL_CHARS:XYt,REGEX_SPECIAL_CHARS_BACKREF:QYt,REPLACEMENTS:yxe}=y8,ZYt=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(s=>zo.escapeRegex(s)).join("..")}return r},Ob=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,ZK=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=yxe[t]||t;let r={...e},i=typeof r.maxLength=="number"?Math.min(g8,r.maxLength):g8,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);let n={type:"bos",value:"",output:r.prepend||""},a=[n],o=r.capture?"":"?:",l=zo.isWindows(e),u=y8.globChars(l),c=y8.extglobChars(u),{DOT_LITERAL:p,PLUS_LITERAL:d,SLASH_LITERAL:f,ONE_CHAR:h,DOTS_SLASH:m,NO_DOT:g,NO_DOT_SLASH:b,NO_DOTS_SLASH:T,QMARK:x,QMARK_NO_DOT:v,STAR:w,START_ANCHOR:A}=u,C=le=>`(${o}(?:(?!${A}${le.dot?m:p}).)*?)`,K=r.dot?"":g,F=r.dot?x:v,Q=r.bash===!0?C(r):w;r.capture&&(Q=`(${Q})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let X={input:t,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};t=zo.removePrefix(t,X),s=t.length;let Te=[],qe=[],Ke=[],ae=n,ne,Ce=()=>X.index===s-1,Ue=X.peek=(le=1)=>t[X.index+le],Dt=X.advance=()=>t[++X.index]||"",ce=()=>t.slice(X.index+1),Re=(le="",Fe=0)=>{X.consumed+=le,X.index+=Fe},Z=le=>{X.output+=le.output!=null?le.output:le.value,Re(le.value)},Ee=()=>{let le=1;for(;Ue()==="!"&&(Ue(2)!=="("||Ue(3)==="?");)Dt(),X.start++,le++;return le%2===0?!1:(X.negated=!0,X.start++,!0)},xe=le=>{X[le]++,Ke.push(le)},we=le=>{X[le]--,Ke.pop()},Be=le=>{if(ae.type==="globstar"){let Fe=X.braces>0&&(le.type==="comma"||le.type==="brace"),ve=le.extglob===!0||Te.length&&(le.type==="pipe"||le.type==="paren");le.type!=="slash"&&le.type!=="paren"&&!Fe&&!ve&&(X.output=X.output.slice(0,-ae.output.length),ae.type="star",ae.value="*",ae.output=Q,X.output+=ae.output)}if(Te.length&&le.type!=="paren"&&(Te[Te.length-1].inner+=le.value),(le.value||le.output)&&Z(le),ae&&ae.type==="text"&&le.type==="text"){ae.value+=le.value,ae.output=(ae.output||"")+le.value;return}le.prev=ae,a.push(le),ae=le},me=(le,Fe)=>{let ve={...c[Fe],conditions:1,inner:""};ve.prev=ae,ve.parens=X.parens,ve.output=X.output;let _e=(r.capture?"(":"")+ve.open;xe("parens"),Be({type:le,value:Fe,output:X.output?"":h}),Be({type:"paren",extglob:!0,value:Dt(),output:_e}),Te.push(ve)},pe=le=>{let Fe=le.close+(r.capture?")":""),ve;if(le.type==="negate"){let _e=Q;if(le.inner&&le.inner.length>1&&le.inner.includes("/")&&(_e=C(r)),(_e!==Q||Ce()||/^\)+$/.test(ce()))&&(Fe=le.close=`)$))${_e}`),le.inner.includes("*")&&(ve=ce())&&/^\.[^\\/.]+$/.test(ve)){let Ze=ZK(ve,{...e,fastpaths:!1}).output;Fe=le.close=`)${Ze})${_e})`}le.prev.type==="bos"&&(X.negatedExtglob=!0)}Be({type:"paren",extglob:!0,value:ne,output:Fe}),we("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let le=!1,Fe=t.replace(QYt,(ve,_e,Ze,Ct,ht,nr)=>Ct==="\\"?(le=!0,ve):Ct==="?"?_e?_e+Ct+(ht?x.repeat(ht.length):""):nr===0?F+(ht?x.repeat(ht.length):""):x.repeat(Ze.length):Ct==="."?p.repeat(Ze.length):Ct==="*"?_e?_e+Ct+(ht?Q:""):Q:_e?ve:`\\${ve}`);return le===!0&&(r.unescape===!0?Fe=Fe.replace(/\\/g,""):Fe=Fe.replace(/\\+/g,ve=>ve.length%2===0?"\\\\":ve?"\\":"")),Fe===t&&r.contains===!0?(X.output=t,X):(X.output=zo.wrapOutput(Fe,X,e),X)}for(;!Ce();){if(ne=Dt(),ne==="\0")continue;if(ne==="\\"){let ve=Ue();if(ve==="/"&&r.bash!==!0||ve==="."||ve===";")continue;if(!ve){ne+="\\",Be({type:"text",value:ne});continue}let _e=/^\\+/.exec(ce()),Ze=0;if(_e&&_e[0].length>2&&(Ze=_e[0].length,X.index+=Ze,Ze%2!==0&&(ne+="\\")),r.unescape===!0?ne=Dt():ne+=Dt(),X.brackets===0){Be({type:"text",value:ne});continue}}if(X.brackets>0&&(ne!=="]"||ae.value==="["||ae.value==="[^")){if(r.posix!==!1&&ne===":"){let ve=ae.value.slice(1);if(ve.includes("[")&&(ae.posix=!0,ve.includes(":"))){let _e=ae.value.lastIndexOf("["),Ze=ae.value.slice(0,_e),Ct=ae.value.slice(_e+2),ht=JYt[Ct];if(ht){ae.value=Ze+ht,X.backtrack=!0,Dt(),!n.output&&a.indexOf(ae)===1&&(n.output=h);continue}}}(ne==="["&&Ue()!==":"||ne==="-"&&Ue()==="]")&&(ne=`\\${ne}`),ne==="]"&&(ae.value==="["||ae.value==="[^")&&(ne=`\\${ne}`),r.posix===!0&&ne==="!"&&ae.value==="["&&(ne="^"),ae.value+=ne,Z({value:ne});continue}if(X.quotes===1&&ne!=='"'){ne=zo.escapeRegex(ne),ae.value+=ne,Z({value:ne});continue}if(ne==='"'){X.quotes=X.quotes===1?0:1,r.keepQuotes===!0&&Be({type:"text",value:ne});continue}if(ne==="("){xe("parens"),Be({type:"paren",value:ne});continue}if(ne===")"){if(X.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Ob("opening","("));let ve=Te[Te.length-1];if(ve&&X.parens===ve.parens+1){pe(Te.pop());continue}Be({type:"paren",value:ne,output:X.parens?")":"\\)"}),we("parens");continue}if(ne==="["){if(r.nobracket===!0||!ce().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Ob("closing","]"));ne=`\\${ne}`}else xe("brackets");Be({type:"bracket",value:ne});continue}if(ne==="]"){if(r.nobracket===!0||ae&&ae.type==="bracket"&&ae.value.length===1){Be({type:"text",value:ne,output:`\\${ne}`});continue}if(X.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Ob("opening","["));Be({type:"text",value:ne,output:`\\${ne}`});continue}we("brackets");let ve=ae.value.slice(1);if(ae.posix!==!0&&ve[0]==="^"&&!ve.includes("/")&&(ne=`/${ne}`),ae.value+=ne,Z({value:ne}),r.literalBrackets===!1||zo.hasRegexChars(ve))continue;let _e=zo.escapeRegex(ae.value);if(X.output=X.output.slice(0,-ae.value.length),r.literalBrackets===!0){X.output+=_e,ae.value=_e;continue}ae.value=`(${o}${_e}|${ae.value})`,X.output+=ae.value;continue}if(ne==="{"&&r.nobrace!==!0){xe("braces");let ve={type:"brace",value:ne,output:"(",outputIndex:X.output.length,tokensIndex:X.tokens.length};qe.push(ve),Be(ve);continue}if(ne==="}"){let ve=qe[qe.length-1];if(r.nobrace===!0||!ve){Be({type:"text",value:ne,output:ne});continue}let _e=")";if(ve.dots===!0){let Ze=a.slice(),Ct=[];for(let ht=Ze.length-1;ht>=0&&(a.pop(),Ze[ht].type!=="brace");ht--)Ze[ht].type!=="dots"&&Ct.unshift(Ze[ht].value);_e=ZYt(Ct,r),X.backtrack=!0}if(ve.comma!==!0&&ve.dots!==!0){let Ze=X.output.slice(0,ve.outputIndex),Ct=X.tokens.slice(ve.tokensIndex);ve.value=ve.output="\\{",ne=_e="\\}",X.output=Ze;for(let ht of Ct)X.output+=ht.output||ht.value}Be({type:"brace",value:ne,output:_e}),we("braces"),qe.pop();continue}if(ne==="|"){Te.length>0&&Te[Te.length-1].conditions++,Be({type:"text",value:ne});continue}if(ne===","){let ve=ne,_e=qe[qe.length-1];_e&&Ke[Ke.length-1]==="braces"&&(_e.comma=!0,ve="|"),Be({type:"comma",value:ne,output:ve});continue}if(ne==="/"){if(ae.type==="dot"&&X.index===X.start+1){X.start=X.index+1,X.consumed="",X.output="",a.pop(),ae=n;continue}Be({type:"slash",value:ne,output:f});continue}if(ne==="."){if(X.braces>0&&ae.type==="dot"){ae.value==="."&&(ae.output=p);let ve=qe[qe.length-1];ae.type="dots",ae.output+=ne,ae.value+=ne,ve.dots=!0;continue}if(X.braces+X.parens===0&&ae.type!=="bos"&&ae.type!=="slash"){Be({type:"text",value:ne,output:p});continue}Be({type:"dot",value:ne,output:p});continue}if(ne==="?"){if(!(ae&&ae.value==="(")&&r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){me("qmark",ne);continue}if(ae&&ae.type==="paren"){let _e=Ue(),Ze=ne;if(_e==="<"&&!zo.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(ae.value==="("&&!/[!=<:]/.test(_e)||_e==="<"&&!/<([!=]|\w+>)/.test(ce()))&&(Ze=`\\${ne}`),Be({type:"text",value:ne,output:Ze});continue}if(r.dot!==!0&&(ae.type==="slash"||ae.type==="bos")){Be({type:"qmark",value:ne,output:v});continue}Be({type:"qmark",value:ne,output:x});continue}if(ne==="!"){if(r.noextglob!==!0&&Ue()==="("&&(Ue(2)!=="?"||!/[!=<:]/.test(Ue(3)))){me("negate",ne);continue}if(r.nonegate!==!0&&X.index===0){Ee();continue}}if(ne==="+"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){me("plus",ne);continue}if(ae&&ae.value==="("||r.regex===!1){Be({type:"plus",value:ne,output:d});continue}if(ae&&(ae.type==="bracket"||ae.type==="paren"||ae.type==="brace")||X.parens>0){Be({type:"plus",value:ne});continue}Be({type:"plus",value:d});continue}if(ne==="@"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){Be({type:"at",extglob:!0,value:ne,output:""});continue}Be({type:"text",value:ne});continue}if(ne!=="*"){(ne==="$"||ne==="^")&&(ne=`\\${ne}`);let ve=XYt.exec(ce());ve&&(ne+=ve[0],X.index+=ve[0].length),Be({type:"text",value:ne});continue}if(ae&&(ae.type==="globstar"||ae.star===!0)){ae.type="star",ae.star=!0,ae.value+=ne,ae.output=Q,X.backtrack=!0,X.globstar=!0,Re(ne);continue}let le=ce();if(r.noextglob!==!0&&/^\([^?]/.test(le)){me("star",ne);continue}if(ae.type==="star"){if(r.noglobstar===!0){Re(ne);continue}let ve=ae.prev,_e=ve.prev,Ze=ve.type==="slash"||ve.type==="bos",Ct=_e&&(_e.type==="star"||_e.type==="globstar");if(r.bash===!0&&(!Ze||le[0]&&le[0]!=="/")){Be({type:"star",value:ne,output:""});continue}let ht=X.braces>0&&(ve.type==="comma"||ve.type==="brace"),nr=Te.length&&(ve.type==="pipe"||ve.type==="paren");if(!Ze&&ve.type!=="paren"&&!ht&&!nr){Be({type:"star",value:ne,output:""});continue}for(;le.slice(0,3)==="/**";){let Mr=t[X.index+4];if(Mr&&Mr!=="/")break;le=le.slice(3),Re("/**",3)}if(ve.type==="bos"&&Ce()){ae.type="globstar",ae.value+=ne,ae.output=C(r),X.output=ae.output,X.globstar=!0,Re(ne);continue}if(ve.type==="slash"&&ve.prev.type!=="bos"&&!Ct&&Ce()){X.output=X.output.slice(0,-(ve.output+ae.output).length),ve.output=`(?:${ve.output}`,ae.type="globstar",ae.output=C(r)+(r.strictSlashes?")":"|$)"),ae.value+=ne,X.globstar=!0,X.output+=ve.output+ae.output,Re(ne);continue}if(ve.type==="slash"&&ve.prev.type!=="bos"&&le[0]==="/"){let Mr=le[1]!==void 0?"|$":"";X.output=X.output.slice(0,-(ve.output+ae.output).length),ve.output=`(?:${ve.output}`,ae.type="globstar",ae.output=`${C(r)}${f}|${f}${Mr})`,ae.value+=ne,X.output+=ve.output+ae.output,X.globstar=!0,Re(ne+Dt()),Be({type:"slash",value:"/",output:""});continue}if(ve.type==="bos"&&le[0]==="/"){ae.type="globstar",ae.value+=ne,ae.output=`(?:^|${f}|${C(r)}${f})`,X.output=ae.output,X.globstar=!0,Re(ne+Dt()),Be({type:"slash",value:"/",output:""});continue}X.output=X.output.slice(0,-ae.output.length),ae.type="globstar",ae.output=C(r),ae.value+=ne,X.output+=ae.output,X.globstar=!0,Re(ne);continue}let Fe={type:"star",value:ne,output:Q};if(r.bash===!0){Fe.output=".*?",(ae.type==="bos"||ae.type==="slash")&&(Fe.output=K+Fe.output),Be(Fe);continue}if(ae&&(ae.type==="bracket"||ae.type==="paren")&&r.regex===!0){Fe.output=ne,Be(Fe);continue}(X.index===X.start||ae.type==="slash"||ae.type==="dot")&&(ae.type==="dot"?(X.output+=b,ae.output+=b):r.dot===!0?(X.output+=T,ae.output+=T):(X.output+=K,ae.output+=K),Ue()!=="*"&&(X.output+=h,ae.output+=h)),Be(Fe)}for(;X.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ob("closing","]"));X.output=zo.escapeLast(X.output,"["),we("brackets")}for(;X.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ob("closing",")"));X.output=zo.escapeLast(X.output,"("),we("parens")}for(;X.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Ob("closing","}"));X.output=zo.escapeLast(X.output,"{"),we("braces")}if(r.strictSlashes!==!0&&(ae.type==="star"||ae.type==="bracket")&&Be({type:"maybe_slash",value:"",output:`${f}?`}),X.backtrack===!0){X.output="";for(let le of X.tokens)X.output+=le.output!=null?le.output:le.value,le.suffix&&(X.output+=le.suffix)}return X};ZK.fastpaths=(t,e)=>{let r={...e},i=typeof r.maxLength=="number"?Math.min(g8,r.maxLength):g8,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=yxe[t]||t;let n=zo.isWindows(e),{DOT_LITERAL:a,SLASH_LITERAL:o,ONE_CHAR:l,DOTS_SLASH:u,NO_DOT:c,NO_DOTS:p,NO_DOTS_SLASH:d,STAR:f,START_ANCHOR:h}=y8.globChars(n),m=r.dot?p:c,g=r.dot?d:c,b=r.capture?"":"?:",T={negated:!1,prefix:""},x=r.bash===!0?".*?":f;r.capture&&(x=`(${x})`);let v=K=>K.noglobstar===!0?x:`(${b}(?:(?!${h}${K.dot?u:a}).)*?)`,w=K=>{switch(K){case"*":return`${m}${l}${x}`;case".*":return`${a}${l}${x}`;case"*.*":return`${m}${x}${a}${l}${x}`;case"*/*":return`${m}${x}${o}${l}${g}${x}`;case"**":return m+v(r);case"**/*":return`(?:${m}${v(r)}${o})?${g}${l}${x}`;case"**/*.*":return`(?:${m}${v(r)}${o})?${g}${x}${a}${l}${x}`;case"**/.*":return`(?:${m}${v(r)}${o})?${a}${l}${x}`;default:{let F=/^(.*?)\.(\w+)$/.exec(K);if(!F)return;let Q=w(F[1]);return Q?Q+a+F[2]:void 0}}},A=zo.removePrefix(t,T),C=w(A);return C&&r.strictSlashes!==!0&&(C+=`${o}?`),C};gxe.exports=ZK});var Sxe=E((b7r,vxe)=>{"use strict";var eJt=require("path"),tJt=mxe(),eW=bxe(),tW=Kx(),rJt=$x(),iJt=t=>t&&typeof t=="object"&&!Array.isArray(t),en=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(d=>en(d,e,r));return d=>{for(let f of c){let h=f(d);if(h)return h}return!1}}let i=iJt(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!i)throw new TypeError("Expected pattern to be a non-empty string");let s=e||{},n=tW.isWindows(e),a=i?en.compileRe(t,e):en.makeRe(t,e,!1,!0),o=a.state;delete a.state;let l=()=>!1;if(s.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};l=en(s.ignore,c,r)}let u=(c,p=!1)=>{let{isMatch:d,match:f,output:h}=en.test(c,a,e,{glob:t,posix:n}),m={glob:t,state:o,regex:a,posix:n,input:c,output:h,match:f,isMatch:d};return typeof s.onResult=="function"&&s.onResult(m),d===!1?(m.isMatch=!1,p?m:!1):l(c)?(typeof s.onIgnore=="function"&&s.onIgnore(m),m.isMatch=!1,p?m:!1):(typeof s.onMatch=="function"&&s.onMatch(m),p?m:!0)};return r&&(u.state=o),u};en.test=(t,e,r,{glob:i,posix:s}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let n=r||{},a=n.format||(s?tW.toPosixSlashes:null),o=t===i,l=o&&a?a(t):t;return o===!1&&(l=a?a(t):t,o=l===i),(o===!1||n.capture===!0)&&(n.matchBase===!0||n.basename===!0?o=en.matchBase(t,e,r,s):o=e.exec(l)),{isMatch:!!o,match:o,output:l}};en.matchBase=(t,e,r,i=tW.isWindows(r))=>(e instanceof RegExp?e:en.makeRe(e,r)).test(eJt.basename(t));en.isMatch=(t,e,r)=>en(e,r)(t);en.parse=(t,e)=>Array.isArray(t)?t.map(r=>en.parse(r,e)):eW(t,{...e,fastpaths:!1});en.scan=(t,e)=>tJt(t,e);en.compileRe=(t,e,r=!1,i=!1)=>{if(r===!0)return t.output;let s=e||{},n=s.contains?"":"^",a=s.contains?"":"$",o=`${n}(?:${t.output})${a}`;t&&t.negated===!0&&(o=`^(?!${o}).*$`);let l=en.toRegex(o,e);return i===!0&&(l.state=t),l};en.makeRe=(t,e={},r=!1,i=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let s={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(s.output=eW.fastpaths(t,e)),s.output||(s=eW(t,e)),en.compileRe(s,e,r,i)};en.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};en.constants=rJt;vxe.exports=en});var xxe=E((v7r,Txe)=>{"use strict";Txe.exports=Sxe()});var _xe=E((S7r,Pxe)=>{"use strict";var wxe=require("util"),Axe=rxe(),Dc=xxe(),rW=Kx(),Exe=t=>t===""||t==="./",fs=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let i=new Set,s=new Set,n=new Set,a=0,o=c=>{n.add(c.output),r&&r.onResult&&r.onResult(c)};for(let c=0;c<e.length;c++){let p=Dc(String(e[c]),{...r,onResult:o},!0),d=p.state.negated||p.state.negatedExtglob;d&&a++;for(let f of t){let h=p(f,!0);(d?!h.isMatch:h.isMatch)&&(d?i.add(h.output):(i.delete(h.output),s.add(h.output)))}}let u=(a===e.length?[...n]:[...s]).filter(c=>!i.has(c));if(r&&u.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(c=>c.replace(/\\/g,"")):e}return u};fs.match=fs;fs.matcher=(t,e)=>Dc(t,e);fs.isMatch=(t,e,r)=>Dc(e,r)(t);fs.any=fs.isMatch;fs.not=(t,e,r={})=>{e=[].concat(e).map(String);let i=new Set,s=[],n=o=>{r.onResult&&r.onResult(o),s.push(o.output)},a=new Set(fs(t,e,{...r,onResult:n}));for(let o of s)a.has(o)||i.add(o);return[...i]};fs.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${wxe.inspect(t)}"`);if(Array.isArray(e))return e.some(i=>fs.contains(t,i,r));if(typeof e=="string"){if(Exe(t)||Exe(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return fs.isMatch(t,e,{...r,contains:!0})};fs.matchKeys=(t,e,r)=>{if(!rW.isObject(t))throw new TypeError("Expected the first argument to be an object");let i=fs(Object.keys(t),e,r),s={};for(let n of i)s[n]=t[n];return s};fs.some=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Dc(String(s),r);if(i.some(a=>n(a)))return!0}return!1};fs.every=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Dc(String(s),r);if(!i.every(a=>n(a)))return!1}return!0};fs.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${wxe.inspect(t)}"`);return[].concat(e).every(i=>Dc(i,r)(t))};fs.capture=(t,e,r)=>{let i=rW.isWindows(r),n=Dc.makeRe(String(t),{...r,capture:!0}).exec(i?rW.toPosixSlashes(e):e);if(n)return n.slice(1).map(a=>a===void 0?"":a)};fs.makeRe=(...t)=>Dc.makeRe(...t);fs.scan=(...t)=>Dc.scan(...t);fs.parse=(t,e)=>{let r=[];for(let i of[].concat(t||[]))for(let s of Axe(String(i),e))r.push(Dc.parse(s,e));return r};fs.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:Axe(t,e)};fs.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return fs.braces(t,{...e,expand:!0})};Pxe.exports=fs});var Fxe=E(sr=>{"use strict";Object.defineProperty(sr,"__esModule",{value:!0});sr.removeDuplicateSlashes=sr.matchAny=sr.convertPatternsToRe=sr.makeRe=sr.getPatternParts=sr.expandBraceExpansion=sr.expandPatternsWithBraceExpansion=sr.isAffectDepthOfReadingPattern=sr.endsWithSlashGlobStar=sr.hasGlobStar=sr.getBaseDirectory=sr.isPatternRelatedToParentDirectory=sr.getPatternsOutsideCurrentDirectory=sr.getPatternsInsideCurrentDirectory=sr.getPositivePatterns=sr.getNegativePatterns=sr.isPositivePattern=sr.isNegativePattern=sr.convertToNegativePattern=sr.convertToPositivePattern=sr.isDynamicPattern=sr.isStaticPattern=void 0;var sJt=require("path"),nJt=vTe(),iW=_xe(),Cxe="**",aJt="\\",oJt=/[*?]|^!/,lJt=/\[[^[]*]/,uJt=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,cJt=/[!*+?@]\([^(]*\)/,pJt=/,|\.\./,fJt=/(?!^)\/{2,}/g;function Dxe(t,e={}){return!Nxe(t,e)}sr.isStaticPattern=Dxe;function Nxe(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(aJt)||oJt.test(t)||lJt.test(t)||uJt.test(t)||e.extglob!==!1&&cJt.test(t)||e.braceExpansion!==!1&&dJt(t))}sr.isDynamicPattern=Nxe;function dJt(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let i=t.slice(e,r);return pJt.test(i)}function hJt(t){return b8(t)?t.slice(1):t}sr.convertToPositivePattern=hJt;function mJt(t){return"!"+t}sr.convertToNegativePattern=mJt;function b8(t){return t.startsWith("!")&&t[1]!=="("}sr.isNegativePattern=b8;function Ixe(t){return!b8(t)}sr.isPositivePattern=Ixe;function yJt(t){return t.filter(b8)}sr.getNegativePatterns=yJt;function gJt(t){return t.filter(Ixe)}sr.getPositivePatterns=gJt;function bJt(t){return t.filter(e=>!sW(e))}sr.getPatternsInsideCurrentDirectory=bJt;function vJt(t){return t.filter(sW)}sr.getPatternsOutsideCurrentDirectory=vJt;function sW(t){return t.startsWith("..")||t.startsWith("./..")}sr.isPatternRelatedToParentDirectory=sW;function SJt(t){return nJt(t,{flipBackslashes:!1})}sr.getBaseDirectory=SJt;function TJt(t){return t.includes(Cxe)}sr.hasGlobStar=TJt;function Oxe(t){return t.endsWith("/"+Cxe)}sr.endsWithSlashGlobStar=Oxe;function xJt(t){let e=sJt.basename(t);return Oxe(t)||Dxe(e)}sr.isAffectDepthOfReadingPattern=xJt;function EJt(t){return t.reduce((e,r)=>e.concat(kxe(r)),[])}sr.expandPatternsWithBraceExpansion=EJt;function kxe(t){let e=iW.braces(t,{expand:!0,nodupes:!0});return e.sort((r,i)=>r.length-i.length),e.filter(r=>r!=="")}sr.expandBraceExpansion=kxe;function wJt(t,e){let{parts:r}=iW.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}sr.getPatternParts=wJt;function Lxe(t,e){return iW.makeRe(t,e)}sr.makeRe=Lxe;function AJt(t,e){return t.map(r=>Lxe(r,e))}sr.convertPatternsToRe=AJt;function PJt(t,e){return e.some(r=>r.test(t))}sr.matchAny=PJt;function _Jt(t){return t.replace(fJt,"/")}sr.removeDuplicateSlashes=_Jt});var Bxe=E(v8=>{"use strict";Object.defineProperty(v8,"__esModule",{value:!0});v8.merge=void 0;var CJt=RK();function DJt(t){let e=CJt(t);return t.forEach(r=>{r.once("error",i=>e.emit("error",i))}),e.once("close",()=>Rxe(t)),e.once("end",()=>Rxe(t)),e}v8.merge=DJt;function Rxe(t){t.forEach(e=>e.emit("close"))}});var Mxe=E(kb=>{"use strict";Object.defineProperty(kb,"__esModule",{value:!0});kb.isEmpty=kb.isString=void 0;function NJt(t){return typeof t=="string"}kb.isString=NJt;function IJt(t){return t===""}kb.isEmpty=IJt});var hf=E(ha=>{"use strict";Object.defineProperty(ha,"__esModule",{value:!0});ha.string=ha.stream=ha.pattern=ha.path=ha.fs=ha.errno=ha.array=void 0;var OJt=aTe();ha.array=OJt;var kJt=oTe();ha.errno=kJt;var LJt=lTe();ha.fs=LJt;var FJt=fTe();ha.path=FJt;var RJt=Fxe();ha.pattern=RJt;var BJt=Bxe();ha.stream=BJt;var MJt=Mxe();ha.string=MJt});var qxe=E(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.convertPatternGroupToTask=ma.convertPatternGroupsToTasks=ma.groupPatternsByBaseDirectory=ma.getNegativePatternsAsPositive=ma.getPositivePatterns=ma.convertPatternsToTasks=ma.generate=void 0;var Du=hf();function jJt(t,e){let r=jxe(t,e),i=jxe(e.ignore,e),s=Vxe(r),n=Uxe(r,i),a=s.filter(c=>Du.pattern.isStaticPattern(c,e)),o=s.filter(c=>Du.pattern.isDynamicPattern(c,e)),l=nW(a,n,!1),u=nW(o,n,!0);return l.concat(u)}ma.generate=jJt;function jxe(t,e){let r=t;return e.braceExpansion&&(r=Du.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(i=>i.includes("/")?i:`**/${i}`)),r.map(i=>Du.pattern.removeDuplicateSlashes(i))}function nW(t,e,r){let i=[],s=Du.pattern.getPatternsOutsideCurrentDirectory(t),n=Du.pattern.getPatternsInsideCurrentDirectory(t),a=aW(s),o=aW(n);return i.push(...oW(a,e,r)),"."in o?i.push(lW(".",n,e,r)):i.push(...oW(o,e,r)),i}ma.convertPatternsToTasks=nW;function Vxe(t){return Du.pattern.getPositivePatterns(t)}ma.getPositivePatterns=Vxe;function Uxe(t,e){return Du.pattern.getNegativePatterns(t).concat(e).map(Du.pattern.convertToPositivePattern)}ma.getNegativePatternsAsPositive=Uxe;function aW(t){let e={};return t.reduce((r,i)=>{let s=Du.pattern.getBaseDirectory(i);return s in r?r[s].push(i):r[s]=[i],r},e)}ma.groupPatternsByBaseDirectory=aW;function oW(t,e,r){return Object.keys(t).map(i=>lW(i,t[i],e,r))}ma.convertPatternGroupsToTasks=oW;function lW(t,e,r,i){return{dynamic:i,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(Du.pattern.convertToNegativePattern))}}ma.convertPatternGroupToTask=lW});var Kxe=E(S8=>{"use strict";Object.defineProperty(S8,"__esModule",{value:!0});S8.read=void 0;function VJt(t,e,r){e.fs.lstat(t,(i,s)=>{if(i!==null){$xe(r,i);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){uW(r,s);return}e.fs.stat(t,(n,a)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){$xe(r,n);return}uW(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),uW(r,a)})})}S8.read=VJt;function $xe(t,e){t(e)}function uW(t,e){t(null,e)}});var Wxe=E(T8=>{"use strict";Object.defineProperty(T8,"__esModule",{value:!0});T8.read=void 0;function UJt(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let i=e.fs.statSync(t);return e.markSymbolicLink&&(i.isSymbolicLink=()=>!0),i}catch(i){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw i}}T8.read=UJt});var Gxe=E(ph=>{"use strict";Object.defineProperty(ph,"__esModule",{value:!0});ph.createFileSystemAdapter=ph.FILE_SYSTEM_ADAPTER=void 0;var x8=require("fs");ph.FILE_SYSTEM_ADAPTER={lstat:x8.lstat,stat:x8.stat,lstatSync:x8.lstatSync,statSync:x8.statSync};function qJt(t){return t===void 0?ph.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},ph.FILE_SYSTEM_ADAPTER),t)}ph.createFileSystemAdapter=qJt});var zxe=E(pW=>{"use strict";Object.defineProperty(pW,"__esModule",{value:!0});var $Jt=Gxe(),cW=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=$Jt.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e!=null?e:r}};pW.default=cW});var q0=E(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});fh.statSync=fh.stat=fh.Settings=void 0;var Hxe=Kxe(),KJt=Wxe(),fW=zxe();fh.Settings=fW.default;function WJt(t,e,r){if(typeof e=="function"){Hxe.read(t,dW(),e);return}Hxe.read(t,dW(e),r)}fh.stat=WJt;function GJt(t,e){let r=dW(e);return KJt.read(t,r)}fh.statSync=GJt;function dW(t={}){return t instanceof fW.default?t:new fW.default(t)}});var Xxe=E((I7r,Jxe)=>{var Yxe;Jxe.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Yxe||(Yxe=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var Zxe=E((O7r,Qxe)=>{Qxe.exports=HJt;var zJt=Xxe();function HJt(t,e){let r,i,s,n=!0;Array.isArray(t)?(r=[],i=t.length):(s=Object.keys(t),r={},i=s.length);function a(l){function u(){e&&e(l,r),e=null}n?zJt(u):u()}function o(l,u,c){r[l]=c,(--i===0||u)&&a(u)}i?s?s.forEach(function(l){t[l](function(u,c){o(l,u,c)})}):t.forEach(function(l,u){l(function(c,p){o(u,c,p)})}):a(null),n=!1}});var hW=E(w8=>{"use strict";Object.defineProperty(w8,"__esModule",{value:!0});w8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var E8=process.versions.node.split(".");if(E8[0]===void 0||E8[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var eEe=Number.parseInt(E8[0],10),YJt=Number.parseInt(E8[1],10),tEe=10,JJt=10,XJt=eEe>tEe,QJt=eEe===tEe&&YJt>=JJt;w8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=XJt||QJt});var rEe=E(A8=>{"use strict";Object.defineProperty(A8,"__esModule",{value:!0});A8.createDirentFromStats=void 0;var mW=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function ZJt(t,e){return new mW(t,e)}A8.createDirentFromStats=ZJt});var yW=E(P8=>{"use strict";Object.defineProperty(P8,"__esModule",{value:!0});P8.fs=void 0;var eXt=rEe();P8.fs=eXt});var gW=E(_8=>{"use strict";Object.defineProperty(_8,"__esModule",{value:!0});_8.joinPathSegments=void 0;function tXt(t,e,r){return t.endsWith(r)?t+e:t+r+e}_8.joinPathSegments=tXt});var lEe=E(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});dh.readdir=dh.readdirWithFileTypes=dh.read=void 0;var rXt=q0(),iEe=Zxe(),iXt=hW(),sEe=yW(),nEe=gW();function sXt(t,e,r){if(!e.stats&&iXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES){aEe(t,e,r);return}oEe(t,e,r)}dh.read=sXt;function aEe(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(i,s)=>{if(i!==null){C8(r,i);return}let n=s.map(o=>({dirent:o,name:o.name,path:nEe.joinPathSegments(t,o.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){bW(r,n);return}let a=n.map(o=>nXt(o,e));iEe(a,(o,l)=>{if(o!==null){C8(r,o);return}bW(r,l)})})}dh.readdirWithFileTypes=aEe;function nXt(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(i,s)=>{if(i!==null){if(e.throwErrorOnBrokenSymbolicLink){r(i);return}r(null,t);return}t.dirent=sEe.fs.createDirentFromStats(t.name,s),r(null,t)})}}function oEe(t,e,r){e.fs.readdir(t,(i,s)=>{if(i!==null){C8(r,i);return}let n=s.map(a=>{let o=nEe.joinPathSegments(t,a,e.pathSegmentSeparator);return l=>{rXt.stat(o,e.fsStatSettings,(u,c)=>{if(u!==null){l(u);return}let p={name:a,path:o,dirent:sEe.fs.createDirentFromStats(a,c)};e.stats&&(p.stats=c),l(null,p)})}});iEe(n,(a,o)=>{if(a!==null){C8(r,a);return}bW(r,o)})})}dh.readdir=oEe;function C8(t,e){t(e)}function bW(t,e){t(null,e)}});var dEe=E(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});hh.readdir=hh.readdirWithFileTypes=hh.read=void 0;var aXt=q0(),oXt=hW(),uEe=yW(),cEe=gW();function lXt(t,e){return!e.stats&&oXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES?pEe(t,e):fEe(t,e)}hh.read=lXt;function pEe(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(i=>{let s={dirent:i,name:i.name,path:cEe.joinPathSegments(t,i.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let n=e.fs.statSync(s.path);s.dirent=uEe.fs.createDirentFromStats(s.name,n)}catch(n){if(e.throwErrorOnBrokenSymbolicLink)throw n}return s})}hh.readdirWithFileTypes=pEe;function fEe(t,e){return e.fs.readdirSync(t).map(i=>{let s=cEe.joinPathSegments(t,i,e.pathSegmentSeparator),n=aXt.statSync(s,e.fsStatSettings),a={name:i,path:s,dirent:uEe.fs.createDirentFromStats(i,n)};return e.stats&&(a.stats=n),a})}hh.readdir=fEe});var hEe=E(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});mh.createFileSystemAdapter=mh.FILE_SYSTEM_ADAPTER=void 0;var Lb=require("fs");mh.FILE_SYSTEM_ADAPTER={lstat:Lb.lstat,stat:Lb.stat,lstatSync:Lb.lstatSync,statSync:Lb.statSync,readdir:Lb.readdir,readdirSync:Lb.readdirSync};function uXt(t){return t===void 0?mh.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},mh.FILE_SYSTEM_ADAPTER),t)}mh.createFileSystemAdapter=uXt});var mEe=E(SW=>{"use strict";Object.defineProperty(SW,"__esModule",{value:!0});var cXt=require("path"),pXt=q0(),fXt=hEe(),vW=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=fXt.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,cXt.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new pXt.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};SW.default=vW});var D8=E(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh.Settings=yh.scandirSync=yh.scandir=void 0;var yEe=lEe(),dXt=dEe(),TW=mEe();yh.Settings=TW.default;function hXt(t,e,r){if(typeof e=="function"){yEe.read(t,xW(),e);return}yEe.read(t,xW(e),r)}yh.scandir=hXt;function mXt(t,e){let r=xW(e);return dXt.read(t,r)}yh.scandirSync=mXt;function xW(t={}){return t instanceof TW.default?t:new TW.default(t)}});var bEe=E((q7r,gEe)=>{"use strict";function yXt(t){var e=new t,r=e;function i(){var n=e;return n.next?e=n.next:(e=new t,r=e),n.next=null,n}function s(n){r.next=n,r=n}return{get:i,release:s}}gEe.exports=yXt});var SEe=E(($7r,EW)=>{"use strict";var gXt=bEe();function vEe(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var i=gXt(bXt),s=null,n=null,a=0,o=null,l={push:m,drain:Nc,saturated:Nc,pause:c,paused:!1,concurrency:r,running:u,resume:f,idle:h,length:p,getQueue:d,unshift:g,empty:Nc,kill:T,killAndDrain:x,error:v};return l;function u(){return a}function c(){l.paused=!0}function p(){for(var w=s,A=0;w;)w=w.next,A++;return A}function d(){for(var w=s,A=[];w;)A.push(w.value),w=w.next;return A}function f(){if(l.paused){l.paused=!1;for(var w=0;w<l.concurrency;w++)a++,b()}}function h(){return a===0&&l.length()===0}function m(w,A){var C=i.get();C.context=t,C.release=b,C.value=w,C.callback=A||Nc,C.errorHandler=o,a===l.concurrency||l.paused?n?(n.next=C,n=C):(s=C,n=C,l.saturated()):(a++,e.call(t,C.value,C.worked))}function g(w,A){var C=i.get();C.context=t,C.release=b,C.value=w,C.callback=A||Nc,a===l.concurrency||l.paused?s?(C.next=s,s=C):(s=C,n=C,l.saturated()):(a++,e.call(t,C.value,C.worked))}function b(w){w&&i.release(w);var A=s;A?l.paused?a--:(n===s&&(n=null),s=A.next,A.next=null,e.call(t,A.value,A.worked),n===null&&l.empty()):--a===0&&l.drain()}function T(){s=null,n=null,l.drain=Nc}function x(){s=null,n=null,l.drain(),l.drain=Nc}function v(w){o=w}}function Nc(){}function bXt(){this.value=null,this.callback=Nc,this.next=null,this.release=Nc,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,i){var s=t.callback,n=t.errorHandler,a=t.value;t.value=null,t.callback=Nc,t.errorHandler&&n(r,a),s.call(t.context,r,i),t.release(t)}}function vXt(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function i(u,c){e.call(this,u).then(function(p){c(null,p)},c)}var s=vEe(t,i,r),n=s.push,a=s.unshift;return s.push=o,s.unshift=l,s;function o(u){return new Promise(function(c,p){n(u,function(d,f){if(d){p(d);return}c(f)})})}function l(u){return new Promise(function(c,p){a(u,function(d,f){if(d){p(d);return}c(f)})})}}EW.exports=vEe;EW.exports.promise=vXt});var N8=E(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.joinPathSegments=Ic.replacePathSegmentSeparator=Ic.isAppliedFilter=Ic.isFatalError=void 0;function SXt(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}Ic.isFatalError=SXt;function TXt(t,e){return t===null||t(e)}Ic.isAppliedFilter=TXt;function xXt(t,e){return t.split(/[/\\]/).join(e)}Ic.replacePathSegmentSeparator=xXt;function EXt(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}Ic.joinPathSegments=EXt});var PW=E(AW=>{"use strict";Object.defineProperty(AW,"__esModule",{value:!0});var wXt=N8(),wW=class{constructor(e,r){this._root=e,this._settings=r,this._root=wXt.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};AW.default=wW});var DW=E(CW=>{"use strict";Object.defineProperty(CW,"__esModule",{value:!0});var AXt=require("events"),PXt=D8(),_Xt=SEe(),I8=N8(),CXt=PW(),_W=class extends CXt.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=PXt.scandir,this._emitter=new AXt.EventEmitter,this._queue=_Xt(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let i={directory:e,base:r};this._queue.push(i,s=>{s!==null&&this._handleError(s)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(i,s)=>{if(i!==null){r(i,void 0);return}for(let n of s)this._handleEntry(n,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!I8.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let i=e.path;r!==void 0&&(e.path=I8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),I8.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&I8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};CW.default=_W});var TEe=E(IW=>{"use strict";Object.defineProperty(IW,"__esModule",{value:!0});var DXt=DW(),NW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new DXt.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{NXt(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{IXt(e,this._storage)}),this._reader.read()}};IW.default=NW;function NXt(t,e){t(e)}function IXt(t,e){t(null,e)}});var xEe=E(kW=>{"use strict";Object.defineProperty(kW,"__esModule",{value:!0});var OXt=require("stream"),kXt=DW(),OW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new kXt.default(this._root,this._settings),this._stream=new OXt.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};kW.default=OW});var EEe=E(FW=>{"use strict";Object.defineProperty(FW,"__esModule",{value:!0});var LXt=D8(),O8=N8(),FXt=PW(),LW=class extends FXt.default{constructor(){super(...arguments),this._scandir=LXt.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let i=this._scandir(e,this._settings.fsScandirSettings);for(let s of i)this._handleEntry(s,r)}catch(i){this._handleError(i)}}_handleError(e){if(O8.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let i=e.path;r!==void 0&&(e.path=O8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),O8.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&O8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};FW.default=LW});var wEe=E(BW=>{"use strict";Object.defineProperty(BW,"__esModule",{value:!0});var RXt=EEe(),RW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new RXt.default(this._root,this._settings)}read(){return this._reader.read()}};BW.default=RW});var AEe=E(jW=>{"use strict";Object.defineProperty(jW,"__esModule",{value:!0});var BXt=require("path"),MXt=D8(),MW=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,BXt.sep),this.fsScandirSettings=new MXt.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};jW.default=MW});var L8=E(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.Settings=Oc.walkStream=Oc.walkSync=Oc.walk=void 0;var PEe=TEe(),jXt=xEe(),VXt=wEe(),VW=AEe();Oc.Settings=VW.default;function UXt(t,e,r){if(typeof e=="function"){new PEe.default(t,k8()).read(e);return}new PEe.default(t,k8(e)).read(r)}Oc.walk=UXt;function qXt(t,e){let r=k8(e);return new VXt.default(t,r).read()}Oc.walkSync=qXt;function $Xt(t,e){let r=k8(e);return new jXt.default(t,r).read()}Oc.walkStream=$Xt;function k8(t={}){return t instanceof VW.default?t:new VW.default(t)}});var F8=E(qW=>{"use strict";Object.defineProperty(qW,"__esModule",{value:!0});var KXt=require("path"),WXt=q0(),_Ee=hf(),UW=class{constructor(e){this._settings=e,this._fsStatSettings=new WXt.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return KXt.resolve(this._settings.cwd,e)}_makeEntry(e,r){let i={name:r,path:r,dirent:_Ee.fs.createDirentFromStats(r,e)};return this._settings.stats&&(i.stats=e),i}_isFatalError(e){return!_Ee.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};qW.default=UW});var WW=E(KW=>{"use strict";Object.defineProperty(KW,"__esModule",{value:!0});var GXt=require("stream"),zXt=q0(),HXt=L8(),YXt=F8(),$W=class extends YXt.default{constructor(){super(...arguments),this._walkStream=HXt.walkStream,this._stat=zXt.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let i=e.map(this._getFullEntryPath,this),s=new GXt.PassThrough({objectMode:!0});s._write=(n,a,o)=>this._getEntry(i[n],e[n],r).then(l=>{l!==null&&r.entryFilter(l)&&s.push(l),n===i.length-1&&s.end(),o()}).catch(o);for(let n=0;n<i.length;n++)s.write(n);return s}_getEntry(e,r,i){return this._getStat(e).then(s=>this._makeEntry(s,r)).catch(s=>{if(i.errorFilter(s))return null;throw s})}_getStat(e){return new Promise((r,i)=>{this._stat(e,this._fsStatSettings,(s,n)=>s===null?r(n):i(s))})}};KW.default=$W});var CEe=E(zW=>{"use strict";Object.defineProperty(zW,"__esModule",{value:!0});var JXt=L8(),XXt=F8(),QXt=WW(),GW=class extends XXt.default{constructor(){super(...arguments),this._walkAsync=JXt.walk,this._readerStream=new QXt.default(this._settings)}dynamic(e,r){return new Promise((i,s)=>{this._walkAsync(e,r,(n,a)=>{n===null?i(a):s(n)})})}async static(e,r){let i=[],s=this._readerStream.static(e,r);return new Promise((n,a)=>{s.once("error",a),s.on("data",o=>i.push(o)),s.once("end",()=>n(i))})}};zW.default=GW});var DEe=E(YW=>{"use strict";Object.defineProperty(YW,"__esModule",{value:!0});var Gx=hf(),HW=class{constructor(e,r,i){this._patterns=e,this._settings=r,this._micromatchOptions=i,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let r=this._getPatternSegments(e),i=this._splitSegmentsIntoSections(r);this._storage.push({complete:i.length<=1,pattern:e,segments:r,sections:i})}}_getPatternSegments(e){return Gx.pattern.getPatternParts(e,this._micromatchOptions).map(i=>Gx.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:Gx.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(e){return Gx.array.splitWhen(e,r=>r.dynamic&&Gx.pattern.hasGlobStar(r.pattern))}};YW.default=HW});var NEe=E(XW=>{"use strict";Object.defineProperty(XW,"__esModule",{value:!0});var ZXt=DEe(),JW=class extends ZXt.default{match(e){let r=e.split("/"),i=r.length,s=this._storage.filter(n=>!n.complete||n.segments.length>i);for(let n of s){let a=n.sections[0];if(!n.complete&&i>a.length||r.every((l,u)=>{let c=n.segments[u];return!!(c.dynamic&&c.patternRe.test(l)||!c.dynamic&&c.pattern===l)}))return!0}return!1}};XW.default=JW});var IEe=E(ZW=>{"use strict";Object.defineProperty(ZW,"__esModule",{value:!0});var R8=hf(),eQt=NEe(),QW=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,i){let s=this._getMatcher(r),n=this._getNegativePatternsRe(i);return a=>this._filter(e,a,s,n)}_getMatcher(e){return new eQt.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(R8.pattern.isAffectDepthOfReadingPattern);return R8.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,i,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let n=R8.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(n,i)?!1:this._isSkippedByNegativePatterns(n,s)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let i=r.split("/").length;if(e==="")return i;let s=e.split("/").length;return i-s}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!R8.pattern.matchAny(e,r)}};ZW.default=QW});var OEe=E(tG=>{"use strict";Object.defineProperty(tG,"__esModule",{value:!0});var $0=hf(),eG=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let i=$0.pattern.convertPatternsToRe(e,this._micromatchOptions),s=$0.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return n=>this._filter(n,i,s)}_filter(e,r,i){let s=$0.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(s)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(s,i))return!1;let n=e.dirent.isDirectory(),a=this._isMatchToPatterns(s,r,n)&&!this._isMatchToPatterns(s,i,n);return this._settings.unique&&a&&this._createIndexRecord(s),a}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,r){if(!this._settings.absolute)return!1;let i=$0.path.makeAbsolute(this._settings.cwd,e);return $0.pattern.matchAny(i,r)}_isMatchToPatterns(e,r,i){let s=$0.pattern.matchAny(e,r);return!s&&i?$0.pattern.matchAny(e+"/",r):s}};tG.default=eG});var kEe=E(iG=>{"use strict";Object.defineProperty(iG,"__esModule",{value:!0});var tQt=hf(),rG=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return tQt.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};iG.default=rG});var FEe=E(nG=>{"use strict";Object.defineProperty(nG,"__esModule",{value:!0});var LEe=hf(),sG=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=LEe.path.makeAbsolute(this._settings.cwd,r),r=LEe.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};nG.default=sG});var B8=E(oG=>{"use strict";Object.defineProperty(oG,"__esModule",{value:!0});var rQt=require("path"),iQt=IEe(),sQt=OEe(),nQt=kEe(),aQt=FEe(),aG=class{constructor(e){this._settings=e,this.errorFilter=new nQt.default(this._settings),this.entryFilter=new sQt.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new iQt.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new aQt.default(this._settings)}_getRootDirectory(e){return rQt.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};oG.default=aG});var REe=E(uG=>{"use strict";Object.defineProperty(uG,"__esModule",{value:!0});var oQt=CEe(),lQt=B8(),lG=class extends lQt.default{constructor(){super(...arguments),this._reader=new oQt.default(this._settings)}async read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return(await this.api(r,e,i)).map(n=>i.transform(n))}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};uG.default=lG});var BEe=E(pG=>{"use strict";Object.defineProperty(pG,"__esModule",{value:!0});var uQt=require("stream"),cQt=WW(),pQt=B8(),cG=class extends pQt.default{constructor(){super(...arguments),this._reader=new cQt.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e),s=this.api(r,e,i),n=new uQt.Readable({objectMode:!0,read:()=>{}});return s.once("error",a=>n.emit("error",a)).on("data",a=>n.emit("data",i.transform(a))).once("end",()=>n.emit("end")),n.once("close",()=>s.destroy()),n}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};pG.default=cG});var MEe=E(dG=>{"use strict";Object.defineProperty(dG,"__esModule",{value:!0});var fQt=q0(),dQt=L8(),hQt=F8(),fG=class extends hQt.default{constructor(){super(...arguments),this._walkSync=dQt.walkSync,this._statSync=fQt.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let i=[];for(let s of e){let n=this._getFullEntryPath(s),a=this._getEntry(n,s,r);a===null||!r.entryFilter(a)||i.push(a)}return i}_getEntry(e,r,i){try{let s=this._getStat(e);return this._makeEntry(s,r)}catch(s){if(i.errorFilter(s))return null;throw s}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};dG.default=fG});var jEe=E(mG=>{"use strict";Object.defineProperty(mG,"__esModule",{value:!0});var mQt=MEe(),yQt=B8(),hG=class extends yQt.default{constructor(){super(...arguments),this._reader=new mQt.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e);return this.api(r,e,i).map(i.transform)}api(e,r,i){return r.dynamic?this._reader.dynamic(e,i):this._reader.static(r.patterns,i)}};mG.default=hG});var VEe=E(Rb=>{"use strict";Object.defineProperty(Rb,"__esModule",{value:!0});Rb.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var Fb=require("fs"),gQt=require("os"),bQt=Math.max(gQt.cpus().length,1);Rb.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:Fb.lstat,lstatSync:Fb.lstatSync,stat:Fb.stat,statSync:Fb.statSync,readdir:Fb.readdir,readdirSync:Fb.readdirSync};var yG=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,bQt),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},Rb.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};Rb.default=yG});var SG=E((hOr,qEe)=>{"use strict";var UEe=qxe(),vQt=REe(),SQt=BEe(),TQt=jEe(),gG=VEe(),$l=hf();async function bG(t,e){Nu(t);let r=vG(t,vQt.default,e),i=await Promise.all(r);return $l.array.flatten(i)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(u,c){Nu(u);let p=vG(u,TQt.default,c);return $l.array.flatten(p)}t.sync=e;function r(u,c){Nu(u);let p=vG(u,SQt.default,c);return $l.stream.merge(p)}t.stream=r;function i(u,c){Nu(u);let p=[].concat(u),d=new gG.default(c);return UEe.generate(p,d)}t.generateTasks=i;function s(u,c){Nu(u);let p=new gG.default(c);return $l.pattern.isDynamicPattern(u,p)}t.isDynamicPattern=s;function n(u){return Nu(u),$l.path.escape(u)}t.escapePath=n;function a(u){return Nu(u),$l.path.convertPathToPattern(u)}t.convertPathToPattern=a;let o;(function(u){function c(d){return Nu(d),$l.path.escapePosixPath(d)}u.escapePath=c;function p(d){return Nu(d),$l.path.convertPosixPathToPattern(d)}u.convertPathToPattern=p})(o=t.posix||(t.posix={}));let l;(function(u){function c(d){return Nu(d),$l.path.escapeWindowsPath(d)}u.escapePath=c;function p(d){return Nu(d),$l.path.convertWindowsPathToPattern(d)}u.convertPathToPattern=p})(l=t.win32||(t.win32={}))})(bG||(bG={}));function vG(t,e,r){let i=[].concat(t),s=new gG.default(r),n=UEe.generate(i,s),a=new e(s);return n.map(a.read,a)}function Nu(t){if(![].concat(t).every(i=>$l.string.isString(i)&&!$l.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}qEe.exports=bG});var KEe=E(K0=>{"use strict";var{promisify:xQt}=require("util"),$Ee=require("fs");async function TG(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await xQt($Ee[t])(r))[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}function xG(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return $Ee[t](r)[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}K0.isFile=TG.bind(null,"stat","isFile");K0.isDirectory=TG.bind(null,"stat","isDirectory");K0.isSymlink=TG.bind(null,"lstat","isSymbolicLink");K0.isFileSync=xG.bind(null,"statSync","isFile");K0.isDirectorySync=xG.bind(null,"statSync","isDirectory");K0.isSymlinkSync=xG.bind(null,"lstatSync","isSymbolicLink")});var YEe=E((yOr,EG)=>{"use strict";var W0=require("path"),WEe=KEe(),GEe=t=>t.length>1?`{${t.join(",")}}`:t[0],zEe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return W0.isAbsolute(r)?r:W0.join(e,r)},EQt=(t,e)=>W0.extname(t)?`**/${t}`:`**/${t}.${GEe(e)}`,HEe=(t,e)=>{if(e.files&&!Array.isArray(e.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof e.files}\``);if(e.extensions&&!Array.isArray(e.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof e.extensions}\``);return e.files&&e.extensions?e.files.map(r=>W0.posix.join(t,EQt(r,e.extensions))):e.files?e.files.map(r=>W0.posix.join(t,`**/${r}`)):e.extensions?[W0.posix.join(t,`**/*.${GEe(e.extensions)}`)]:[W0.posix.join(t,"**")]};EG.exports=async(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=await Promise.all([].concat(t).map(async i=>await WEe.isDirectory(zEe(i,e.cwd))?HEe(i,e):i));return[].concat.apply([],r)};EG.exports.sync=(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=[].concat(t).map(i=>WEe.isDirectorySync(zEe(i,e.cwd))?HEe(i,e):i);return[].concat.apply([],r)}});var nwe=E((gOr,swe)=>{function JEe(t){return Array.isArray(t)?t:[t]}var ewe="",XEe=" ",wG="\\",wQt=/^\s+$/,AQt=/(?:[^\\]|^)\\$/,PQt=/^\\!/,_Qt=/^\\#/,CQt=/\r?\n/g,DQt=/^\.*\/|^\.+$/,AG="/",twe="node-ignore";typeof Symbol<"u"&&(twe=Symbol.for("node-ignore"));var QEe=twe,NQt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),IQt=/([0-z])-([0-z])/g,rwe=()=>!1,OQt=t=>t.replace(IQt,(e,r,i)=>r.charCodeAt(0)<=i.charCodeAt(0)?e:ewe),kQt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},LQt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?XEe:ewe],[/\\\s/g,()=>XEe],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,r)=>e+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t,e,r)=>{let i=r.replace(/\\\*/g,"[^\\/]*");return e+i}],[/\\\\\\(?=[$.|*+(){^])/g,()=>wG],[/\\\\/g,()=>wG],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,i,s)=>e===wG?`\\[${r}${kQt(i)}${s}`:s==="]"&&i.length%2===0?`[${OQt(r)}${i}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],ZEe=Object.create(null),FQt=(t,e)=>{let r=ZEe[t];return r||(r=LQt.reduce((i,s)=>i.replace(s[0],s[1].bind(t)),t),ZEe[t]=r),e?new RegExp(r,"i"):new RegExp(r)},CG=t=>typeof t=="string",RQt=t=>t&&CG(t)&&!wQt.test(t)&&!AQt.test(t)&&t.indexOf("#")!==0,BQt=t=>t.split(CQt),PG=class{constructor(e,r,i,s){this.origin=e,this.pattern=r,this.negative=i,this.regex=s}},MQt=(t,e)=>{let r=t,i=!1;t.indexOf("!")===0&&(i=!0,t=t.substr(1)),t=t.replace(PQt,"!").replace(_Qt,"#");let s=FQt(t,e);return new PG(r,t,i,s)},jQt=(t,e)=>{throw new e(t)},mf=(t,e,r)=>CG(t)?t?mf.isNotRelative(t)?r(`path should be a \`path.relative()\`d string, but got "${e}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${e}\``,TypeError),iwe=t=>DQt.test(t);mf.isNotRelative=iwe;mf.convert=t=>t;var _G=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:i=!1}={}){NQt(this,QEe,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=i,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[QEe]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(RQt(e)){let r=MQt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,JEe(CG(e)?BQt(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,r){let i=!1,s=!1;return this._rules.forEach(n=>{let{negative:a}=n;if(s===a&&i!==s||a&&!i&&!s&&!r)return;n.regex.test(e)&&(i=!a,s=a)}),{ignored:i,unignored:s}}_test(e,r,i,s){let n=e&&mf.convert(e);return mf(n,e,this._allowRelativePaths?rwe:jQt),this._t(n,r,i,s)}_t(e,r,i,s){if(e in r)return r[e];if(s||(s=e.split(AG)),s.pop(),!s.length)return r[e]=this._testOne(e,i);let n=this._t(s.join(AG)+AG,r,i,s);return r[e]=n.ignored?n:this._testOne(e,i)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return JEe(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},M8=t=>new _G(t),VQt=t=>mf(t&&mf.convert(t),t,rwe);M8.isPathValid=VQt;M8.default=M8;swe.exports=M8;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let t=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");mf.convert=t;let e=/^[a-z]:\//i;mf.isNotRelative=r=>e.test(r)||iwe(r)}});var owe=E((bOr,awe)=>{"use strict";awe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var hwe=E((vOr,DG)=>{"use strict";var{promisify:UQt}=require("util"),lwe=require("fs"),yf=require("path"),uwe=SG(),qQt=nwe(),zx=owe(),cwe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],$Qt=UQt(lwe.readFile),KQt=t=>e=>e.startsWith("!")?"!"+yf.posix.join(t,e.slice(1)):yf.posix.join(t,e),WQt=(t,e)=>{let r=zx(yf.relative(e.cwd,yf.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(i=>!i.startsWith("#")).map(KQt(r))},pwe=t=>{let e=qQt();for(let r of t)e.add(WQt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},GQt=(t,e)=>{if(t=zx(t),yf.isAbsolute(e)){if(zx(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return yf.join(t,e)},fwe=(t,e)=>r=>t.ignores(zx(yf.relative(e,GQt(e,r.path||r)))),zQt=async(t,e)=>{let r=yf.join(e,t),i=await $Qt(r,"utf8");return{cwd:e,filePath:r,content:i}},HQt=(t,e)=>{let r=yf.join(e,t),i=lwe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:i}},dwe=({ignore:t=[],cwd:e=zx(process.cwd())}={})=>({ignore:t,cwd:e});DG.exports=async t=>{t=dwe(t);let e=await uwe("**/.gitignore",{ignore:cwe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(s=>zQt(s,t.cwd))),i=pwe(r);return fwe(i,t.cwd)};DG.exports.sync=t=>{t=dwe(t);let r=uwe.sync("**/.gitignore",{ignore:cwe.concat(t.ignore),cwd:t.cwd}).map(s=>HQt(s,t.cwd)),i=pwe(r);return fwe(i,t.cwd)}});var ywe=E((SOr,mwe)=>{"use strict";var{Transform:YQt}=require("stream"),j8=class extends YQt{constructor(){super({objectMode:!0})}},NG=class extends j8{constructor(e){super(),this._filter=e}_transform(e,r,i){this._filter(e)&&this.push(e),i()}},IG=class extends j8{constructor(){super(),this._pushed=new Set}_transform(e,r,i){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),i()}};mwe.exports={FilterStream:NG,UniqueStream:IG}});var K8=E((TOr,G0)=>{"use strict";var bwe=require("fs"),V8=rTe(),JQt=RK(),U8=SG(),q8=YEe(),OG=hwe(),{FilterStream:XQt,UniqueStream:QQt}=ywe(),vwe=()=>!1,gwe=t=>t[0]==="!",ZQt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},eZt=(t={})=>{if(!t.cwd)return;let e;try{e=bwe.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},tZt=t=>t.stats instanceof bwe.Stats?t.path:t,$8=(t,e)=>{t=V8([].concat(t)),ZQt(t),eZt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[i,s]of t.entries()){if(gwe(s))continue;let n=t.slice(i).filter(o=>gwe(o)).map(o=>o.slice(1)),a={...e,ignore:e.ignore.concat(n)};r.push({pattern:s,options:a})}return r},rZt=(t,e)=>{let r={};return t.options.cwd&&(r.cwd=t.options.cwd),Array.isArray(t.options.expandDirectories)?r={...r,files:t.options.expandDirectories}:typeof t.options.expandDirectories=="object"&&(r={...r,...t.options.expandDirectories}),e(t.pattern,r)},kG=(t,e)=>t.options.expandDirectories?rZt(t,e):[t.pattern],Swe=t=>t&&t.gitignore?OG.sync({cwd:t.cwd,ignore:t.ignore}):vwe,LG=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=q8.sync(r.ignore)),{pattern:e,options:r}};G0.exports=async(t,e)=>{let r=$8(t,e),i=async()=>e&&e.gitignore?OG({cwd:e.cwd,ignore:e.ignore}):vwe,s=async()=>{let l=await Promise.all(r.map(async u=>{let c=await kG(u,q8);return Promise.all(c.map(LG(u)))}));return V8(...l)},[n,a]=await Promise.all([i(),s()]),o=await Promise.all(a.map(l=>U8(l.pattern,l.options)));return V8(...o).filter(l=>!n(tZt(l)))};G0.exports.sync=(t,e)=>{let r=$8(t,e),i=[];for(let a of r){let o=kG(a,q8.sync).map(LG(a));i.push(...o)}let s=Swe(e),n=[];for(let a of i)n=V8(n,U8.sync(a.pattern,a.options));return n.filter(a=>!s(a))};G0.exports.stream=(t,e)=>{let r=$8(t,e),i=[];for(let o of r){let l=kG(o,q8.sync).map(LG(o));i.push(...l)}let s=Swe(e),n=new XQt(o=>!s(o)),a=new QQt;return JQt(i.map(o=>U8.stream(o.pattern,o.options))).pipe(n).pipe(a)};G0.exports.generateGlobTasks=$8;G0.exports.hasMagic=(t,e)=>[].concat(t).some(r=>U8.isDynamicPattern(r,e));G0.exports.gitignore=OG});var xwe=E((xOr,Twe)=>{var iZt=process.platform==="win32";Twe.exports=function(t){var e=t.length-1;if(e<2)return t;for(;sZt(t,e);)e--;return t.substr(0,e+1)};function sZt(t,e){var r=t[e];return e>0&&(r==="/"||iZt&&r==="\\")}});var wwe=E((EOr,Ewe)=>{var nZt=xwe();Ewe.exports=function(e,r){if(typeof e!="string")throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),r!==!1&&(e=nZt(e)),e}});var W8=E((wOr,Awe)=>{"use strict";var aZt=wwe();Awe.exports=function(e,r){return e=aZt(e,r),e.replace(/^([a-zA-Z]+:|\.\/)/,"")}});var Gwe=E((MOr,MG)=>{"use strict";var $we=require("path"),Kwe=require("module"),fZt=require("fs"),Wwe=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof e!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof e}\``);try{t=fZt.realpathSync(t)}catch(n){if(n.code==="ENOENT")t=$we.resolve(t);else{if(r)return;throw n}}let i=$we.join(t,"noop.js"),s=()=>Kwe._resolveFilename(e,{id:i,filename:i,paths:Kwe._nodeModulePaths(t)});if(r)try{return s()}catch{return}return s()};MG.exports=(t,e)=>Wwe(t,e);MG.exports.silent=(t,e)=>Wwe(t,e,!0)});var mAe=E((Fkr,hAe)=>{"use strict";var Ter=function(){function t(r,i){if(typeof r!="function")throw new TypeError("DataLoader must be constructed with a function which accepts "+("Array<key> and returns Promise<Array<value>>, but got: "+r+"."));this._batchLoadFn=r,this._maxBatchSize=Aer(i),this._batchScheduleFn=Per(i),this._cacheKeyFn=_er(i),this._cacheMap=Cer(i),this._batch=null,this.name=Der(i)}var e=t.prototype;return e.load=function(i){if(i==null)throw new TypeError("The loader.load() function must be called with a value, "+("but got: "+String(i)+"."));var s=Eer(this),n=this._cacheMap,a=this._cacheKeyFn(i);if(n){var o=n.get(a);if(o){var l=s.cacheHits||(s.cacheHits=[]);return new Promise(function(c){l.push(function(){c(o)})})}}s.keys.push(i);var u=new Promise(function(c,p){s.callbacks.push({resolve:c,reject:p})});return n&&n.set(a,u),u},e.loadMany=function(i){if(!dAe(i))throw new TypeError("The loader.loadMany() function must be called with Array<key> "+("but got: "+i+"."));for(var s=[],n=0;n<i.length;n++)s.push(this.load(i[n]).catch(function(a){return a}));return Promise.all(s)},e.clear=function(i){var s=this._cacheMap;if(s){var n=this._cacheKeyFn(i);s.delete(n)}return this},e.clearAll=function(){var i=this._cacheMap;return i&&i.clear(),this},e.prime=function(i,s){var n=this._cacheMap;if(n){var a=this._cacheKeyFn(i);if(n.get(a)===void 0){var o;s instanceof Error?(o=Promise.reject(s),o.catch(function(){})):o=Promise.resolve(s),n.set(a,o)}}return this},t}(),xer=typeof process=="object"&&typeof process.nextTick=="function"?function(t){$G||($G=Promise.resolve()),$G.then(function(){process.nextTick(t)})}:typeof setImmediate=="function"?function(t){setImmediate(t)}:function(t){setTimeout(t)},$G;function Eer(t){var e=t._batch;if(e!==null&&!e.hasDispatched&&e.keys.length<t._maxBatchSize)return e;var r={hasDispatched:!1,keys:[],callbacks:[]};return t._batch=r,t._batchScheduleFn(function(){wer(t,r)}),r}function wer(t,e){if(e.hasDispatched=!0,e.keys.length===0){WG(e);return}var r;try{r=t._batchLoadFn(e.keys)}catch(i){return KG(t,e,new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function "+("errored synchronously: "+String(i)+".")))}if(!r||typeof r.then!="function")return KG(t,e,new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did "+("not return a Promise: "+String(r)+".")));r.then(function(i){if(!dAe(i))throw new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did "+("not return a Promise of an Array: "+String(i)+"."));if(i.length!==e.keys.length)throw new TypeError("DataLoader must be constructed with a function which accepts Array<key> and returns Promise<Array<value>>, but the function did not return a Promise of an Array of the same length as the Array of keys."+(`
|
|
444
444
|
|
|
445
445
|
Keys:
|
|
446
446
|
`+String(e.keys))+(`
|
|
@@ -519,7 +519,7 @@ ${r.data.toString("base64")}
|
|
|
519
519
|
${e.message}
|
|
520
520
|
|
|
521
521
|
Please try to use any of the available CLI options to provide this information.`)}return(0,pne.default)({...t[0],onState:e=>{e.aborted&&process.nextTick(()=>{process.exit(0)})}},{...t[1],onSubmit:()=>{console.log()}})};function P1(){return Gn(`${pl}/app/settings/access-tokens`)}function hp(t,e,r="overview"){return Gn(`${pl}/app/org/${t}/services/${e}/${r}`)}var l3=(0,dne.default)("stellate:client");var hne=process.env.STELLATE_ENDPOINT==="local",mne=process.env.STELLATE_ENDPOINT==="staging",pl=hne?"http://localhost:3000":mne?"https://dev.stellate.co":"https://stellate.co";l3({baseUrl:pl});var yne=hne?"http://localhost:3001/api":mne?"https://api-dev.stellate.co/api":"https://api.stellate.co/api";l3({apiUrl:yne});var os=class{constructor(e){this.token=e}async query(e,r){let i={"Content-Type":"application/json"};this.token&&(i["stellate-token"]=this.token);let s=JSON.stringify({query:e,variables:r}),n=await v2(yne,{method:"POST",body:s,headers:i}),a=await n.text();l3(a);let o;try{o=JSON.parse(a)}catch{throw new Error(a)}if(!n.ok)throw o.message==="Request Entity Too Large"||n.status===413?new Error("Payload too large, your GraphQL schema might be too large"):new Error(a);if(o.errors)throw new Error(SBe(o.errors[0].message));return l3(o),o.data||{}}};function SBe(t){return t.toLowerCase().includes("not authorized")?`Invalid api token. Please make sure that the env var STELLATE_TOKEN is valid or run "stellate login".
|
|
522
|
-
You can get a new api token at ${P1()}`:t}var
|
|
522
|
+
You can get a new api token at ${P1()}`:t}var be=Ne(require("zod"));var mt=Ne(require("zod")),TBe=mt.string().refine(t=>t.match(/^[1-9][0-9]*(s|m|h)$/)),xBe=mt.object({value:mt.number().int().min(1),unit:mt.enum(["seconds","minutes","hours"])}).strict(),gne=mt.union([TBe,xBe]),zO=mt.object({type:mt.literal("QueryComplexity"),budget:mt.number().int().min(1),warning:mt.number().int().min(1).optional(),window:gne}).strict(),HO=mt.object({type:mt.literal("RequestCount"),budget:mt.number().int().min(1),warning:mt.number().int().min(1).optional(),window:gne}).strict(),L2=mt.union([mt.function(),mt.string()]),YO=["enabled","disabled","dryRun"],_1=mt.object({name:mt.string(),description:mt.string().optional(),state:mt.enum(YO).optional(),groupBy:mt.union([mt.literal("ip"),mt.object({header:mt.string()}),mt.object({cookie:mt.string()}),mt.object({jwt:mt.string()}),mt.object({consumerIdentifier:mt.string()})]),allowList:mt.array(mt.string()).optional(),limit:mt.union([zO,HO])}).strict(),Q0r=mt.array(_1),Z0r=mt.array(mt.union([_1,mt.object({name:mt.string(),description:mt.string().optional(),state:mt.enum(YO).optional(),group:mt.string(),allowList:mt.array(mt.string()).optional(),limit:mt.union([zO,HO])})])),u3=mt.object({name:mt.string(),description:mt.string().optional(),state:mt.enum(YO).optional(),consumerIdentifier:mt.string().optional(),allowList:mt.array(mt.string()).optional(),limit:mt.union([zO,HO])}).strict(),c3=mt.object({listSizeArguments:mt.array(mt.string()).optional(),maxComplexity:mt.number().int().min(1).optional()}).strict();var EBe=be.object({types:be.record(be.boolean().or(be.record(be.boolean())).or(be.array(be.string()))).or(be.array(be.string())).optional().nullable(),operationHashes:be.array(be.string()).optional().nullable(),maxAge:be.number().min(0).optional().nullable(),swr:be.number().min(0).optional().nullable(),scope:be.string().nonempty().optional().nullable(),description:be.string().optional().nullable()}),wBe=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES256k","EdDSA","PS256","PS384","PS512"],F2=be.object({claim:be.string().optional().nullable(),algorithm:be.enum(wBe).optional().nullable(),secret:be.string().optional().nullable()}).optional().nullable(),Tne=be.function().args(be.object({headers:be.record(be.string().or(be.array(be.string()))),cookies:be.record(be.string())})).returns(be.string().nullable()),ABe=be.object({definition:be.union([be.string(),Tne]).optional().nullable(),jwt:F2}),PBe=be.object({autoAdd:be.boolean().optional().nullable(),defaults:be.array(be.string()).optional().nullable(),types:be.record(be.array(be.string())).nullable()}),_Be=be.object({query:be.string().optional().nullable(),mutation:be.string().optional().nullable(),subscription:be.string().optional().nullable()}),bne=be.object({isEnabled:be.boolean().optional().nullable(),whenGraphQLResponse:be.boolean().optional().nullable()}),CBe=be.object({networkErrors:bne.optional().nullable(),serverErrors:bne.optional().nullable()}),vne=5,DBe=be.record(be.union([be.object({header:be.string(),jwt:F2}),be.object({cookie:be.string(),jwt:F2})])).refine(t=>Object.keys(t).length<=vne,{message:`You can't define more than ${vne} custom attributes`}),NBe=be.union([be.object({header:be.string(),jwt:F2}),be.object({cookie:be.string(),jwt:F2})]),IBe=be.object({secret:be.string().optional().nullable()}),OBe=be.object({name:be.string()}),kBe=be.object({apq:be.boolean().nullable().optional(),sendHashToOrigin:be.boolean().nullable().optional(),rejectInvalidHashes:be.boolean().nullable().optional()}),JO=be.object({enabled:be.boolean(),title:be.string().optional(),readme:be.string().optional(),description:be.string().optional(),urls:be.object({privacy:be.string().url().optional(),terms:be.string().url().optional(),website:be.string().url().optional(),logo:be.string().url().optional(),favicon:be.string().url().optional(),support:be.string().url().or(be.string().refine(t=>{if(!t.startsWith("mailto:"))return!1;let e=t.slice(7);return be.string().email().safeParse(e).success})).optional()}).optional(),brandColor:be.string().optional(),auth:be.boolean().optional()}),XO=be.object({enabled:be.boolean()}),LBe=be.object({enabled:be.boolean()}),FBe=be.object({enabled:be.boolean(),title:be.string().optional()}),Sne=be.string().max(60).regex(/^(?!-)[a-z0-9-]*[a-z0-9]$/i).transform(t=>t.toLowerCase()),RBe=be.object({requestSize:be.object({maxBytes:be.number(),enabled:be.boolean()}).nullable().optional(),directives:be.object({max:be.number(),enabled:be.boolean()}).nullable().optional(),depth:be.object({max:be.number(),enabled:be.boolean()}).nullable().optional(),aliases:be.object({max:be.number(),enabled:be.boolean()}).nullable().optional(),suggestionsInErrors:be.object({mode:be.enum(["mask"]),enabled:be.boolean()}).nullable().optional()}),BBe=be.object({app:Sne.optional(),name:Sne.optional(),originUrl:be.string().url().optional(),httpVersion:be.enum(["1.1","2","3"]).optional().nullable(),schema:be.string().optional().nullable(),schemaPolling:LBe.optional().nullable(),cacheIntrospection:be.boolean().optional().nullable(),injectHeaders:be.boolean().optional().nullable(),devPortal:JO.optional().nullable(),partialQueryCaching:XO.optional().nullable(),ignoreOriginCacheControl:be.boolean().optional().nullable(),queryDepthLimit:be.number().int().min(0).max(1e3).optional().nullable(),passThroughOnly:be.boolean().optional().nullable(),mutationPolicy:be.enum(["Type","List","Entity"]).optional().nullable(),bypassCacheHeaders:be.array(OBe).optional().nullable(),enablePlayground:be.boolean().optional().nullable(),headers:be.record(be.string().nonempty()).optional().nullable(),scopes:be.record(be.string().or(Tne).or(ABe)).optional().nullable(),rootTypeNames:_Be.optional().nullable(),keyFields:PBe.optional().nullable(),rules:be.array(EBe).optional().nullable(),nonCacheable:be.array(be.string()).optional().nullable(),retries:CBe.optional().nullable(),customAttributes:DBe.optional().nullable(),userId:NBe.optional().nullable(),graphiql:FBe.optional().nullable(),persistedOperations:kBe.optional().nullable(),requestSigning:IBe.optional().nullable(),getConsumerIdentifiers:L2.optional().nullable(),rateLimit:u3.optional().nullable(),rateLimits:be.union([be.array(_1),L2]).optional().nullable(),complexity:c3.optional().nullable(),schemaView:be.object({include:be.array(be.string()),exclude:be.array(be.string())}).optional().nullable(),security:RBe.optional().nullable(),removeCookies:be.array(be.string()).optional().nullable(),variableLogging:be.object({enabled:be.boolean()}).optional().nullable()}),xne={schema:null,bypassCacheHeaders:null,injectHeaders:null,enablePlayground:null,ignoreOriginCacheControl:null,queryDepthLimit:null,passThroughOnly:null,mutationPolicy:null,headers:null,scopes:null,rootTypeNames:null,keyFields:null,rules:null,nonCacheable:null,retries:null,schemaView:null,removeCookies:null},C1=t=>{try{return BBe.parse(t)}catch(e){throw e instanceof be.ZodError?new Error(e.errors.map(r=>`${r.path.length>0?`${r.path.join(".")}: `:""}${r.message}`).join(`
|
|
523
523
|
- `),{cause:e}):e}};var bm=Object.freeze({major:16,minor:6,patch:0,preReleaseTag:null});function tr(t,e){if(!!!t)throw new Error(e)}function no(t){return typeof(t==null?void 0:t.then)=="function"}function ks(t){return typeof t=="object"&&t!==null}function Ii(t,e){if(!!!t)throw new Error(e!=null?e:"Unexpected invariant triggered.")}var MBe=/\r\n|[\n\r]/g;function D1(t,e){let r=0,i=1;for(let s of t.body.matchAll(MBe)){if(typeof s.index=="number"||Ii(!1),s.index>=e)break;r=s.index+s[0].length,i+=1}return{line:i,column:e+1-r}}function QO(t){return p3(t.source,D1(t.source,t.start))}function p3(t,e){let r=t.locationOffset.column-1,i="".padStart(r)+t.body,s=e.line-1,n=t.locationOffset.line-1,a=e.line+n,o=e.line===1?r:0,l=e.column+o,u=`${t.name}:${a}:${l}
|
|
524
524
|
`,c=i.split(/\r\n|[\n\r]/g),p=c[s];if(p.length>120){let d=Math.floor(l/80),f=l%80,h=[];for(let m=0;m<p.length;m+=80)h.push(p.slice(m,m+80));return u+Ene([[`${a} |`,h[0]],...h.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(f)],["|",h[d+1]]])}return u+Ene([[`${a-1} |`,c[s-1]],[`${a} |`,p],["|","^".padStart(l)],[`${a+1} |`,c[s+1]]])}function Ene(t){let e=t.filter(([i,s])=>s!==void 0),r=Math.max(...e.map(([i])=>i.length));return e.map(([i,s])=>i.padStart(r)+(s?" "+s:"")).join(`
|
|
525
525
|
`)}function jBe(t){let e=t[0];return e==null||"kind"in e||"length"in e?{nodes:e,source:t[1],positions:t[2],path:t[3],originalError:t[4],extensions:t[5]}:e}var ue=class extends Error{constructor(e,...r){var i,s,n;let{nodes:a,source:o,positions:l,path:u,originalError:c,extensions:p}=jBe(r);super(e),this.name="GraphQLError",this.path=u!=null?u:void 0,this.originalError=c!=null?c:void 0,this.nodes=wne(Array.isArray(a)?a:a?[a]:void 0);let d=wne((i=this.nodes)===null||i===void 0?void 0:i.map(h=>h.loc).filter(h=>h!=null));this.source=o!=null?o:d==null||(s=d[0])===null||s===void 0?void 0:s.source,this.positions=l!=null?l:d==null?void 0:d.map(h=>h.start),this.locations=l&&o?l.map(h=>D1(o,h)):d==null?void 0:d.map(h=>D1(h.source,h.start));let f=ks(c==null?void 0:c.extensions)?c==null?void 0:c.extensions:void 0;this.extensions=(n=p!=null?p:f)!==null&&n!==void 0?n:Object.create(null),Object.defineProperties(this,{message:{writable:!0,enumerable:!0},name:{enumerable:!1},nodes:{enumerable:!1},source:{enumerable:!1},positions:{enumerable:!1},originalError:{enumerable:!1}}),c!=null&&c.stack?Object.defineProperty(this,"stack",{value:c.stack,writable:!0,configurable:!0}):Error.captureStackTrace?Error.captureStackTrace(this,ue):Object.defineProperty(this,"stack",{value:Error().stack,writable:!0,configurable:!0})}get[Symbol.toStringTag](){return"GraphQLError"}toString(){let e=this.message;if(this.nodes)for(let r of this.nodes)r.loc&&(e+=`
|
|
@@ -660,7 +660,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
|
|
|
660
660
|
}
|
|
661
661
|
}
|
|
662
662
|
}
|
|
663
|
-
`}function W1(t,e){let r=null;for(let s of t.definitions)if(s.kind===P.OPERATION_DEFINITION){var i;if(e==null){if(r)return null;r=s}else if(((i=s.name)===null||i===void 0?void 0:i.value)===e)return s}return r}function s6(t,e){let r={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...e},i=us(K1(r)),s=i6({schema:t,document:i});return!s.errors&&s.data||Ii(!1),s.data}function Sp(t,e){ks(t)&&ks(t.__schema)||tr(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${Pe(t)}.`);let r=t.__schema,i=fl(r.types,F=>F.name,F=>d(F));for(let F of[...jo,...vp])i[F.name]&&(i[F.name]=F);let s=r.queryType?c(r.queryType):null,n=r.mutationType?c(r.mutationType):null,a=r.subscriptionType?c(r.subscriptionType):null,o=r.directives?r.directives.map(K):[];return new ia({description:r.description,query:s,mutation:n,subscription:a,types:Object.values(i),directives:o,assumeValid:e==null?void 0:e.assumeValid});function l(F){if(F.kind===_i.LIST){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");return new Cr(l(Q))}if(F.kind===_i.NON_NULL){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");let X=l(Q);return new ft(C3(X))}return u(F)}function u(F){let Q=F.name;if(!Q)throw new Error(`Unknown type reference: ${Pe(F)}.`);let X=i[Q];if(!X)throw new Error(`Invalid or incomplete schema, unknown type: ${Q}. Ensure that a full introspection query is used in order to build a client schema.`);return X}function c(F){return A3(u(F))}function p(F){return P3(u(F))}function d(F){if(F!=null&&F.name!=null&&F.kind!=null)switch(F.kind){case _i.SCALAR:return f(F);case _i.OBJECT:return m(F);case _i.INTERFACE:return g(F);case _i.UNION:return b(F);case _i.ENUM:return T(F);case _i.INPUT_OBJECT:return x(F)}let Q=Pe(F);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${Q}.`)}function f(F){return new Zi({name:F.name,description:F.description,specifiedByURL:F.specifiedByURL})}function h(F){if(F.interfaces===null&&F.kind===_i.INTERFACE)return[];if(!F.interfaces){let Q=Pe(F);throw new Error(`Introspection result missing interfaces: ${Q}.`)}return F.interfaces.map(p)}function m(F){return new Dr({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function g(F){return new Pi({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function b(F){if(!F.possibleTypes){let Q=Pe(F);throw new Error(`Introspection result missing possibleTypes: ${Q}.`)}return new nn({name:F.name,description:F.description,types:()=>F.possibleTypes.map(c)})}function T(F){if(!F.enumValues){let Q=Pe(F);throw new Error(`Introspection result missing enumValues: ${Q}.`)}return new Oi({name:F.name,description:F.description,values:fl(F.enumValues,Q=>Q.name,Q=>({description:Q.description,deprecationReason:Q.deprecationReason}))})}function x(F){if(!F.inputFields){let Q=Pe(F);throw new Error(`Introspection result missing inputFields: ${Q}.`)}return new Ui({name:F.name,description:F.description,fields:()=>A(F.inputFields)})}function v(F){if(!F.fields)throw new Error(`Introspection result missing fields: ${Pe(F)}.`);return fl(F.fields,Q=>Q.name,w)}function w(F){let Q=l(F.type);if(!au(Q)){let X=Pe(Q);throw new Error(`Introspection must provide output type for fields, but received: ${X}.`)}if(!F.args){let X=Pe(F);throw new Error(`Introspection result missing field args: ${X}.`)}return{description:F.description,deprecationReason:F.deprecationReason,type:Q,args:A(F.args)}}function A(F){return fl(F,Q=>Q.name,C)}function C(F){let Q=l(F.type);if(!zs(Q)){let Te=Pe(Q);throw new Error(`Introspection must provide input type for arguments, but received: ${Te}.`)}let X=F.defaultValue!=null?an(T3(F.defaultValue),Q):void 0;return{description:F.description,type:Q,defaultValue:X,deprecationReason:F.deprecationReason}}function K(F){if(!F.args){let Q=Pe(F);throw new Error(`Introspection result missing directive args: ${Q}.`)}if(!F.locations){let Q=Pe(F);throw new Error(`Introspection result missing directive locations: ${Q}.`)}return new bs({name:F.name,description:F.description,isRepeatable:F.isRepeatable,locations:F.locations.slice(),args:A(F.args)})}}function lae(t,e,r){var i,s,n,a;let o=[],l=Object.create(null),u=[],c,p=[];for(let Z of e.definitions)if(Z.kind===P.SCHEMA_DEFINITION)c=Z;else if(Z.kind===P.SCHEMA_EXTENSION)p.push(Z);else if(du(Z))o.push(Z);else if(Cm(Z)){let Ee=Z.name.value,xe=l[Ee];l[Ee]=xe?xe.concat([Z]):[Z]}else Z.kind===P.DIRECTIVE_DEFINITION&&u.push(Z);if(Object.keys(l).length===0&&o.length===0&&u.length===0&&p.length===0&&c==null)return t;let d=Object.create(null);for(let Z of t.types)d[Z.name]=T(Z);for(let Z of o){var f;let Ee=Z.name.value;d[Ee]=(f=aae[Ee])!==null&&f!==void 0?f:Re(Z)}let h={query:t.query&&g(t.query),mutation:t.mutation&&g(t.mutation),subscription:t.subscription&&g(t.subscription),...c&&X([c]),...X(p)};return{description:(i=c)===null||i===void 0||(s=i.description)===null||s===void 0?void 0:s.value,...h,types:Object.values(d),directives:[...t.directives.map(b),...u.map(Ke)],extensions:Object.create(null),astNode:(n=c)!==null&&n!==void 0?n:t.astNode,extensionASTNodes:t.extensionASTNodes.concat(p),assumeValid:(a=r==null?void 0:r.assumeValid)!==null&&a!==void 0?a:!1};function m(Z){return $t(Z)?new Cr(m(Z.ofType)):rt(Z)?new ft(m(Z.ofType)):g(Z)}function g(Z){return d[Z.name]}function b(Z){let Ee=Z.toConfig();return new bs({...Ee,args:su(Ee.args,Q)})}function T(Z){if(hl(Z)||vn(Z))return Z;if(Rr(Z))return w(Z);if($e(Z))return A(Z);if(Xe(Z))return C(Z);if(Qt(Z))return K(Z);if(Zt(Z))return v(Z);if(Pt(Z))return x(Z);Ii(!1,"Unexpected type: "+Pe(Z))}function x(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new Ui({...xe,fields:()=>({...su(xe.fields,Be=>({...Be,type:m(Be.type)})),...Ce(we)}),extensionASTNodes:xe.extensionASTNodes.concat(we)})}function v(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[Z.name])!==null&&Ee!==void 0?Ee:[];return new Oi({...xe,values:{...xe.values,...Ue(we)},extensionASTNodes:xe.extensionASTNodes.concat(we)})}function w(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[],Be=xe.specifiedByURL;for(let pe of we){var me;Be=(me=oae(pe))!==null&&me!==void 0?me:Be}return new Zi({...xe,specifiedByURL:Be,extensionASTNodes:xe.extensionASTNodes.concat(we)})}function A(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new Dr({...xe,interfaces:()=>[...Z.getInterfaces().map(g),...Dt(we)],fields:()=>({...su(xe.fields,F),...ae(we)}),extensionASTNodes:xe.extensionASTNodes.concat(we)})}function C(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new Pi({...xe,interfaces:()=>[...Z.getInterfaces().map(g),...Dt(we)],fields:()=>({...su(xe.fields,F),...ae(we)}),extensionASTNodes:xe.extensionASTNodes.concat(we)})}function K(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new nn({...xe,types:()=>[...Z.getTypes().map(g),...ce(we)],extensionASTNodes:xe.extensionASTNodes.concat(we)})}function F(Z){return{...Z,type:m(Z.type),args:Z.args&&su(Z.args,Q)}}function Q(Z){return{...Z,type:m(Z.type)}}function X(Z){let Ee={};for(let we of Z){var xe;let Be=(xe=we.operationTypes)!==null&&xe!==void 0?xe:[];for(let me of Be)Ee[me.operation]=Te(me.type)}return Ee}function Te(Z){var Ee;let xe=Z.name.value,we=(Ee=aae[xe])!==null&&Ee!==void 0?Ee:d[xe];if(we===void 0)throw new Error(`Unknown type: "${xe}".`);return we}function qe(Z){return Z.kind===P.LIST_TYPE?new Cr(qe(Z.type)):Z.kind===P.NON_NULL_TYPE?new ft(qe(Z.type)):Te(Z)}function Ke(Z){var Ee;return new bs({name:Z.name.value,description:(Ee=Z.description)===null||Ee===void 0?void 0:Ee.value,locations:Z.locations.map(({value:xe})=>xe),isRepeatable:Z.repeatable,args:ne(Z.arguments),astNode:Z})}function ae(Z){let Ee=Object.create(null);for(let Be of Z){var xe;let me=(xe=Be.fields)!==null&&xe!==void 0?xe:[];for(let pe of me){var we;Ee[pe.name.value]={type:qe(pe.type),description:(we=pe.description)===null||we===void 0?void 0:we.value,args:ne(pe.arguments),deprecationReason:n6(pe),astNode:pe}}}return Ee}function ne(Z){let Ee=Z!=null?Z:[],xe=Object.create(null);for(let Be of Ee){var we;let me=qe(Be.type);xe[Be.name.value]={type:me,description:(we=Be.description)===null||we===void 0?void 0:we.value,defaultValue:an(Be.defaultValue,me),deprecationReason:n6(Be),astNode:Be}}return xe}function Ce(Z){let Ee=Object.create(null);for(let Be of Z){var xe;let me=(xe=Be.fields)!==null&&xe!==void 0?xe:[];for(let pe of me){var we;let le=qe(pe.type);Ee[pe.name.value]={type:le,description:(we=pe.description)===null||we===void 0?void 0:we.value,defaultValue:an(pe.defaultValue,le),deprecationReason:n6(pe),astNode:pe}}}return Ee}function Ue(Z){let Ee=Object.create(null);for(let Be of Z){var xe;let me=(xe=Be.values)!==null&&xe!==void 0?xe:[];for(let pe of me){var we;Ee[pe.name.value]={description:(we=pe.description)===null||we===void 0?void 0:we.value,deprecationReason:n6(pe),astNode:pe}}}return Ee}function Dt(Z){return Z.flatMap(Ee=>{var xe,we;return(xe=(we=Ee.interfaces)===null||we===void 0?void 0:we.map(Te))!==null&&xe!==void 0?xe:[]})}function ce(Z){return Z.flatMap(Ee=>{var xe,we;return(xe=(we=Ee.types)===null||we===void 0?void 0:we.map(Te))!==null&&xe!==void 0?xe:[]})}function Re(Z){var Ee;let xe=Z.name.value,we=(Ee=l[xe])!==null&&Ee!==void 0?Ee:[];switch(Z.kind){case P.OBJECT_TYPE_DEFINITION:{var Be;let _e=[Z,...we];return new Dr({name:xe,description:(Be=Z.description)===null||Be===void 0?void 0:Be.value,interfaces:()=>Dt(_e),fields:()=>ae(_e),astNode:Z,extensionASTNodes:we})}case P.INTERFACE_TYPE_DEFINITION:{var me;let _e=[Z,...we];return new Pi({name:xe,description:(me=Z.description)===null||me===void 0?void 0:me.value,interfaces:()=>Dt(_e),fields:()=>ae(_e),astNode:Z,extensionASTNodes:we})}case P.ENUM_TYPE_DEFINITION:{var pe;let _e=[Z,...we];return new Oi({name:xe,description:(pe=Z.description)===null||pe===void 0?void 0:pe.value,values:Ue(_e),astNode:Z,extensionASTNodes:we})}case P.UNION_TYPE_DEFINITION:{var le;let _e=[Z,...we];return new nn({name:xe,description:(le=Z.description)===null||le===void 0?void 0:le.value,types:()=>ce(_e),astNode:Z,extensionASTNodes:we})}case P.SCALAR_TYPE_DEFINITION:{var Fe;return new Zi({name:xe,description:(Fe=Z.description)===null||Fe===void 0?void 0:Fe.value,specifiedByURL:oae(Z),astNode:Z,extensionASTNodes:we})}case P.INPUT_OBJECT_TYPE_DEFINITION:{var be;let _e=[Z,...we];return new Ui({name:xe,description:(be=Z.description)===null||be===void 0?void 0:be.value,fields:()=>Ce(_e),astNode:Z,extensionASTNodes:we})}}}}var aae=Mo([...jo,...vp],t=>t.name);function n6(t){let e=co(bp,t);return e==null?void 0:e.reason}function oae(t){let e=co(z2,t);return e==null?void 0:e.url}function dd(t,e){t!=null&&t.kind===P.DOCUMENT||tr(!1,"Must provide valid Document AST."),(e==null?void 0:e.assumeValid)!==!0&&(e==null?void 0:e.assumeValidSDL)!==!0&&Qne(t);let i=lae({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},t,e);if(i.astNode==null)for(let n of i.types)switch(n.name){case"Query":i.query=n;break;case"Mutation":i.mutation=n;break;case"Subscription":i.subscription=n;break}let s=[...i.directives,...Aa.filter(n=>i.directives.every(a=>a.name!==n.name))];return new ia({...i,directives:s})}function Im(t,e){let r=us(t,{noLocation:e==null?void 0:e.noLocation,allowLegacyFragmentVariables:e==null?void 0:e.allowLegacyFragmentVariables});return dd(r,{assumeValidSDL:e==null?void 0:e.assumeValidSDL,assumeValid:e==null?void 0:e.assumeValid})}function rS(t){let e=t.toConfig(),r=fl(Xk(e.types),d=>d.name,p);return new ia({...e,types:Object.values(r),directives:Xk(e.directives).map(a),query:n(e.query),mutation:n(e.mutation),subscription:n(e.subscription)});function i(d){return $t(d)?new Cr(i(d.ofType)):rt(d)?new ft(i(d.ofType)):s(d)}function s(d){return r[d.name]}function n(d){return d&&s(d)}function a(d){let f=d.toConfig();return new bs({...f,locations:uae(f.locations,h=>h),args:o(f.args)})}function o(d){return a6(d,f=>({...f,type:i(f.type)}))}function l(d){return a6(d,f=>({...f,type:i(f.type),args:f.args&&o(f.args)}))}function u(d){return a6(d,f=>({...f,type:i(f.type)}))}function c(d){return Xk(d).map(s)}function p(d){if(Rr(d)||hl(d))return d;if($e(d)){let f=d.toConfig();return new Dr({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(Xe(d)){let f=d.toConfig();return new Pi({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(Qt(d)){let f=d.toConfig();return new nn({...f,types:()=>c(f.types)})}if(Zt(d)){let f=d.toConfig();return new Oi({...f,values:a6(f.values,h=>h)})}if(Pt(d)){let f=d.toConfig();return new Ui({...f,fields:()=>u(f.fields)})}Ii(!1,"Unexpected type: "+Pe(d))}}function a6(t,e){let r=Object.create(null);for(let i of Object.keys(t).sort(mp))r[i]=e(t[i]);return r}function Xk(t){return uae(t,e=>e.name)}function uae(t,e){return t.slice().sort((r,i)=>{let s=e(r),n=e(i);return mp(s,n)})}function iS(t){return wje(t,e=>!oc(e),Eje)}function Eje(t){return!vn(t)&&!hl(t)}function wje(t,e,r){let i=t.getDirectives().filter(e),s=Object.values(t.getTypeMap()).filter(r);return[Aje(t),...i.map(n=>kje(n)),...s.map(n=>Zk(n))].filter(Boolean).join(`
|
|
663
|
+
`}function W1(t,e){let r=null;for(let s of t.definitions)if(s.kind===P.OPERATION_DEFINITION){var i;if(e==null){if(r)return null;r=s}else if(((i=s.name)===null||i===void 0?void 0:i.value)===e)return s}return r}function s6(t,e){let r={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...e},i=us(K1(r)),s=i6({schema:t,document:i});return!s.errors&&s.data||Ii(!1),s.data}function Sp(t,e){ks(t)&&ks(t.__schema)||tr(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${Pe(t)}.`);let r=t.__schema,i=fl(r.types,F=>F.name,F=>d(F));for(let F of[...jo,...vp])i[F.name]&&(i[F.name]=F);let s=r.queryType?c(r.queryType):null,n=r.mutationType?c(r.mutationType):null,a=r.subscriptionType?c(r.subscriptionType):null,o=r.directives?r.directives.map(K):[];return new ia({description:r.description,query:s,mutation:n,subscription:a,types:Object.values(i),directives:o,assumeValid:e==null?void 0:e.assumeValid});function l(F){if(F.kind===_i.LIST){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");return new Cr(l(Q))}if(F.kind===_i.NON_NULL){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");let X=l(Q);return new ft(C3(X))}return u(F)}function u(F){let Q=F.name;if(!Q)throw new Error(`Unknown type reference: ${Pe(F)}.`);let X=i[Q];if(!X)throw new Error(`Invalid or incomplete schema, unknown type: ${Q}. Ensure that a full introspection query is used in order to build a client schema.`);return X}function c(F){return A3(u(F))}function p(F){return P3(u(F))}function d(F){if(F!=null&&F.name!=null&&F.kind!=null)switch(F.kind){case _i.SCALAR:return f(F);case _i.OBJECT:return m(F);case _i.INTERFACE:return g(F);case _i.UNION:return b(F);case _i.ENUM:return T(F);case _i.INPUT_OBJECT:return x(F)}let Q=Pe(F);throw new Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${Q}.`)}function f(F){return new Zi({name:F.name,description:F.description,specifiedByURL:F.specifiedByURL})}function h(F){if(F.interfaces===null&&F.kind===_i.INTERFACE)return[];if(!F.interfaces){let Q=Pe(F);throw new Error(`Introspection result missing interfaces: ${Q}.`)}return F.interfaces.map(p)}function m(F){return new Dr({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function g(F){return new Pi({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function b(F){if(!F.possibleTypes){let Q=Pe(F);throw new Error(`Introspection result missing possibleTypes: ${Q}.`)}return new nn({name:F.name,description:F.description,types:()=>F.possibleTypes.map(c)})}function T(F){if(!F.enumValues){let Q=Pe(F);throw new Error(`Introspection result missing enumValues: ${Q}.`)}return new Oi({name:F.name,description:F.description,values:fl(F.enumValues,Q=>Q.name,Q=>({description:Q.description,deprecationReason:Q.deprecationReason}))})}function x(F){if(!F.inputFields){let Q=Pe(F);throw new Error(`Introspection result missing inputFields: ${Q}.`)}return new Ui({name:F.name,description:F.description,fields:()=>A(F.inputFields)})}function v(F){if(!F.fields)throw new Error(`Introspection result missing fields: ${Pe(F)}.`);return fl(F.fields,Q=>Q.name,w)}function w(F){let Q=l(F.type);if(!au(Q)){let X=Pe(Q);throw new Error(`Introspection must provide output type for fields, but received: ${X}.`)}if(!F.args){let X=Pe(F);throw new Error(`Introspection result missing field args: ${X}.`)}return{description:F.description,deprecationReason:F.deprecationReason,type:Q,args:A(F.args)}}function A(F){return fl(F,Q=>Q.name,C)}function C(F){let Q=l(F.type);if(!zs(Q)){let Te=Pe(Q);throw new Error(`Introspection must provide input type for arguments, but received: ${Te}.`)}let X=F.defaultValue!=null?an(T3(F.defaultValue),Q):void 0;return{description:F.description,type:Q,defaultValue:X,deprecationReason:F.deprecationReason}}function K(F){if(!F.args){let Q=Pe(F);throw new Error(`Introspection result missing directive args: ${Q}.`)}if(!F.locations){let Q=Pe(F);throw new Error(`Introspection result missing directive locations: ${Q}.`)}return new bs({name:F.name,description:F.description,isRepeatable:F.isRepeatable,locations:F.locations.slice(),args:A(F.args)})}}function lae(t,e,r){var i,s,n,a;let o=[],l=Object.create(null),u=[],c,p=[];for(let Z of e.definitions)if(Z.kind===P.SCHEMA_DEFINITION)c=Z;else if(Z.kind===P.SCHEMA_EXTENSION)p.push(Z);else if(du(Z))o.push(Z);else if(Cm(Z)){let Ee=Z.name.value,xe=l[Ee];l[Ee]=xe?xe.concat([Z]):[Z]}else Z.kind===P.DIRECTIVE_DEFINITION&&u.push(Z);if(Object.keys(l).length===0&&o.length===0&&u.length===0&&p.length===0&&c==null)return t;let d=Object.create(null);for(let Z of t.types)d[Z.name]=T(Z);for(let Z of o){var f;let Ee=Z.name.value;d[Ee]=(f=aae[Ee])!==null&&f!==void 0?f:Re(Z)}let h={query:t.query&&g(t.query),mutation:t.mutation&&g(t.mutation),subscription:t.subscription&&g(t.subscription),...c&&X([c]),...X(p)};return{description:(i=c)===null||i===void 0||(s=i.description)===null||s===void 0?void 0:s.value,...h,types:Object.values(d),directives:[...t.directives.map(b),...u.map(Ke)],extensions:Object.create(null),astNode:(n=c)!==null&&n!==void 0?n:t.astNode,extensionASTNodes:t.extensionASTNodes.concat(p),assumeValid:(a=r==null?void 0:r.assumeValid)!==null&&a!==void 0?a:!1};function m(Z){return $t(Z)?new Cr(m(Z.ofType)):rt(Z)?new ft(m(Z.ofType)):g(Z)}function g(Z){return d[Z.name]}function b(Z){let Ee=Z.toConfig();return new bs({...Ee,args:su(Ee.args,Q)})}function T(Z){if(hl(Z)||vn(Z))return Z;if(Rr(Z))return w(Z);if($e(Z))return A(Z);if(Xe(Z))return C(Z);if(Qt(Z))return K(Z);if(Zt(Z))return v(Z);if(Pt(Z))return x(Z);Ii(!1,"Unexpected type: "+Pe(Z))}function x(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new Ui({...xe,fields:()=>({...su(xe.fields,Be=>({...Be,type:m(Be.type)})),...Ce(we)}),extensionASTNodes:xe.extensionASTNodes.concat(we)})}function v(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[Z.name])!==null&&Ee!==void 0?Ee:[];return new Oi({...xe,values:{...xe.values,...Ue(we)},extensionASTNodes:xe.extensionASTNodes.concat(we)})}function w(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[],Be=xe.specifiedByURL;for(let pe of we){var me;Be=(me=oae(pe))!==null&&me!==void 0?me:Be}return new Zi({...xe,specifiedByURL:Be,extensionASTNodes:xe.extensionASTNodes.concat(we)})}function A(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new Dr({...xe,interfaces:()=>[...Z.getInterfaces().map(g),...Dt(we)],fields:()=>({...su(xe.fields,F),...ae(we)}),extensionASTNodes:xe.extensionASTNodes.concat(we)})}function C(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new Pi({...xe,interfaces:()=>[...Z.getInterfaces().map(g),...Dt(we)],fields:()=>({...su(xe.fields,F),...ae(we)}),extensionASTNodes:xe.extensionASTNodes.concat(we)})}function K(Z){var Ee;let xe=Z.toConfig(),we=(Ee=l[xe.name])!==null&&Ee!==void 0?Ee:[];return new nn({...xe,types:()=>[...Z.getTypes().map(g),...ce(we)],extensionASTNodes:xe.extensionASTNodes.concat(we)})}function F(Z){return{...Z,type:m(Z.type),args:Z.args&&su(Z.args,Q)}}function Q(Z){return{...Z,type:m(Z.type)}}function X(Z){let Ee={};for(let we of Z){var xe;let Be=(xe=we.operationTypes)!==null&&xe!==void 0?xe:[];for(let me of Be)Ee[me.operation]=Te(me.type)}return Ee}function Te(Z){var Ee;let xe=Z.name.value,we=(Ee=aae[xe])!==null&&Ee!==void 0?Ee:d[xe];if(we===void 0)throw new Error(`Unknown type: "${xe}".`);return we}function qe(Z){return Z.kind===P.LIST_TYPE?new Cr(qe(Z.type)):Z.kind===P.NON_NULL_TYPE?new ft(qe(Z.type)):Te(Z)}function Ke(Z){var Ee;return new bs({name:Z.name.value,description:(Ee=Z.description)===null||Ee===void 0?void 0:Ee.value,locations:Z.locations.map(({value:xe})=>xe),isRepeatable:Z.repeatable,args:ne(Z.arguments),astNode:Z})}function ae(Z){let Ee=Object.create(null);for(let Be of Z){var xe;let me=(xe=Be.fields)!==null&&xe!==void 0?xe:[];for(let pe of me){var we;Ee[pe.name.value]={type:qe(pe.type),description:(we=pe.description)===null||we===void 0?void 0:we.value,args:ne(pe.arguments),deprecationReason:n6(pe),astNode:pe}}}return Ee}function ne(Z){let Ee=Z!=null?Z:[],xe=Object.create(null);for(let Be of Ee){var we;let me=qe(Be.type);xe[Be.name.value]={type:me,description:(we=Be.description)===null||we===void 0?void 0:we.value,defaultValue:an(Be.defaultValue,me),deprecationReason:n6(Be),astNode:Be}}return xe}function Ce(Z){let Ee=Object.create(null);for(let Be of Z){var xe;let me=(xe=Be.fields)!==null&&xe!==void 0?xe:[];for(let pe of me){var we;let le=qe(pe.type);Ee[pe.name.value]={type:le,description:(we=pe.description)===null||we===void 0?void 0:we.value,defaultValue:an(pe.defaultValue,le),deprecationReason:n6(pe),astNode:pe}}}return Ee}function Ue(Z){let Ee=Object.create(null);for(let Be of Z){var xe;let me=(xe=Be.values)!==null&&xe!==void 0?xe:[];for(let pe of me){var we;Ee[pe.name.value]={description:(we=pe.description)===null||we===void 0?void 0:we.value,deprecationReason:n6(pe),astNode:pe}}}return Ee}function Dt(Z){return Z.flatMap(Ee=>{var xe,we;return(xe=(we=Ee.interfaces)===null||we===void 0?void 0:we.map(Te))!==null&&xe!==void 0?xe:[]})}function ce(Z){return Z.flatMap(Ee=>{var xe,we;return(xe=(we=Ee.types)===null||we===void 0?void 0:we.map(Te))!==null&&xe!==void 0?xe:[]})}function Re(Z){var Ee;let xe=Z.name.value,we=(Ee=l[xe])!==null&&Ee!==void 0?Ee:[];switch(Z.kind){case P.OBJECT_TYPE_DEFINITION:{var Be;let _e=[Z,...we];return new Dr({name:xe,description:(Be=Z.description)===null||Be===void 0?void 0:Be.value,interfaces:()=>Dt(_e),fields:()=>ae(_e),astNode:Z,extensionASTNodes:we})}case P.INTERFACE_TYPE_DEFINITION:{var me;let _e=[Z,...we];return new Pi({name:xe,description:(me=Z.description)===null||me===void 0?void 0:me.value,interfaces:()=>Dt(_e),fields:()=>ae(_e),astNode:Z,extensionASTNodes:we})}case P.ENUM_TYPE_DEFINITION:{var pe;let _e=[Z,...we];return new Oi({name:xe,description:(pe=Z.description)===null||pe===void 0?void 0:pe.value,values:Ue(_e),astNode:Z,extensionASTNodes:we})}case P.UNION_TYPE_DEFINITION:{var le;let _e=[Z,...we];return new nn({name:xe,description:(le=Z.description)===null||le===void 0?void 0:le.value,types:()=>ce(_e),astNode:Z,extensionASTNodes:we})}case P.SCALAR_TYPE_DEFINITION:{var Fe;return new Zi({name:xe,description:(Fe=Z.description)===null||Fe===void 0?void 0:Fe.value,specifiedByURL:oae(Z),astNode:Z,extensionASTNodes:we})}case P.INPUT_OBJECT_TYPE_DEFINITION:{var ve;let _e=[Z,...we];return new Ui({name:xe,description:(ve=Z.description)===null||ve===void 0?void 0:ve.value,fields:()=>Ce(_e),astNode:Z,extensionASTNodes:we})}}}}var aae=Mo([...jo,...vp],t=>t.name);function n6(t){let e=co(bp,t);return e==null?void 0:e.reason}function oae(t){let e=co(z2,t);return e==null?void 0:e.url}function dd(t,e){t!=null&&t.kind===P.DOCUMENT||tr(!1,"Must provide valid Document AST."),(e==null?void 0:e.assumeValid)!==!0&&(e==null?void 0:e.assumeValidSDL)!==!0&&Qne(t);let i=lae({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},t,e);if(i.astNode==null)for(let n of i.types)switch(n.name){case"Query":i.query=n;break;case"Mutation":i.mutation=n;break;case"Subscription":i.subscription=n;break}let s=[...i.directives,...Aa.filter(n=>i.directives.every(a=>a.name!==n.name))];return new ia({...i,directives:s})}function Im(t,e){let r=us(t,{noLocation:e==null?void 0:e.noLocation,allowLegacyFragmentVariables:e==null?void 0:e.allowLegacyFragmentVariables});return dd(r,{assumeValidSDL:e==null?void 0:e.assumeValidSDL,assumeValid:e==null?void 0:e.assumeValid})}function rS(t){let e=t.toConfig(),r=fl(Xk(e.types),d=>d.name,p);return new ia({...e,types:Object.values(r),directives:Xk(e.directives).map(a),query:n(e.query),mutation:n(e.mutation),subscription:n(e.subscription)});function i(d){return $t(d)?new Cr(i(d.ofType)):rt(d)?new ft(i(d.ofType)):s(d)}function s(d){return r[d.name]}function n(d){return d&&s(d)}function a(d){let f=d.toConfig();return new bs({...f,locations:uae(f.locations,h=>h),args:o(f.args)})}function o(d){return a6(d,f=>({...f,type:i(f.type)}))}function l(d){return a6(d,f=>({...f,type:i(f.type),args:f.args&&o(f.args)}))}function u(d){return a6(d,f=>({...f,type:i(f.type)}))}function c(d){return Xk(d).map(s)}function p(d){if(Rr(d)||hl(d))return d;if($e(d)){let f=d.toConfig();return new Dr({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(Xe(d)){let f=d.toConfig();return new Pi({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(Qt(d)){let f=d.toConfig();return new nn({...f,types:()=>c(f.types)})}if(Zt(d)){let f=d.toConfig();return new Oi({...f,values:a6(f.values,h=>h)})}if(Pt(d)){let f=d.toConfig();return new Ui({...f,fields:()=>u(f.fields)})}Ii(!1,"Unexpected type: "+Pe(d))}}function a6(t,e){let r=Object.create(null);for(let i of Object.keys(t).sort(mp))r[i]=e(t[i]);return r}function Xk(t){return uae(t,e=>e.name)}function uae(t,e){return t.slice().sort((r,i)=>{let s=e(r),n=e(i);return mp(s,n)})}function iS(t){return wje(t,e=>!oc(e),Eje)}function Eje(t){return!vn(t)&&!hl(t)}function wje(t,e,r){let i=t.getDirectives().filter(e),s=Object.values(t.getTypeMap()).filter(r);return[Aje(t),...i.map(n=>kje(n)),...s.map(n=>Zk(n))].filter(Boolean).join(`
|
|
664
664
|
|
|
665
665
|
`)}function Aje(t){if(t.description==null&&Pje(t))return;let e=[],r=t.getQueryType();r&&e.push(` query: ${r.name}`);let i=t.getMutationType();i&&e.push(` mutation: ${i.name}`);let s=t.getSubscriptionType();return s&&e.push(` subscription: ${s.name}`),ml(t)+`schema {
|
|
666
666
|
${e.join(`
|
|
@@ -1104,7 +1104,7 @@ Try running "stellate pull" first if your service has been created already.`);le
|
|
|
1104
1104
|
|
|
1105
1105
|
-s, --service Name of the service
|
|
1106
1106
|
-b, --browser Automatically open the preview UI with the default browser
|
|
1107
|
-
`);var An=Ne(hs());var kv=Ne(hs());var lN=class{async parse(e){return Yi(e,{"--help":Boolean,"-h":"--help","--version":Boolean,"-v":"--version","--json":Boolean})["--help"]?this.help():"stellate@2.
|
|
1107
|
+
`);var An=Ne(hs());var kv=Ne(hs());var lN=class{async parse(e){return Yi(e,{"--help":Boolean,"-h":"--help","--version":Boolean,"-v":"--version","--json":Boolean})["--help"]?this.help():"stellate@2.14.0"}help(e){if(e)throw new Ss(`
|
|
1108
1108
|
${kv.default.bold.red("!")} ${e}
|
|
1109
1109
|
${lN.help}`);return lN.help}},Uy=lN;Uy.help=Hi(`
|
|
1110
1110
|
Print current version of Stellate
|
|
@@ -1402,7 +1402,7 @@ Try running "stellate pull" first if your service has been created already.`);le
|
|
|
1402
1402
|
value
|
|
1403
1403
|
}
|
|
1404
1404
|
}
|
|
1405
|
-
`,u=await Bs();a=(await new os(u).query(l,{name:"serve-token-"+Date.now(),appName:e})).createAdminApiToken.value,this.writePurgeToken(e,a)}let o=(0,LX.default)();o.use("/",(0,kX.createProxyMiddleware)({target:n,changeOrigin:!0,logLevel:"silent",onProxyReq:l=>{l.path.endsWith("/")&&(l.path=l.path.slice(0,-1)),l.setHeader("stellate-cli-serve-port",r),l.setHeader("stellate-token",a)}})),o.listen(r)}setupApiProxy(e,r){let i=`https://${e}.stellate.${process.env.STELLATE_ENDPOINT==="staging"||process.env.STELLATE_ENDPOINT==="local"?"dev":"sh"}`,s=(0,LX.default)();s.use("/",(0,kX.createProxyMiddleware)({target:i,changeOrigin:!0,headers:{"stellate-cli-serve-port":""+r},logLevel:"silent"})),s.listen(r)}ensureConfig(){rm.default.existsSync(gc)||rm.default.mkdirSync(gc)}getCache(){try{this.ensureConfig();let e=rm.default.readFileSync(ZS,"utf-8");return JSON.parse(e)}catch{return{}}}getCacheEntry(e){try{this.ensureConfig();let r=rm.default.readFileSync(ZS,"utf-8"),i=JSON.parse(r);if(!e)throw new Error('You need a service-name in your "stellate" config or as the "--service" argument.');return i[e]||{checksum:"",envName:""}}catch{return{checksum:"",envName:""}}}getChecksum(e){return yhr(JSON.stringify(e)+"2.
|
|
1405
|
+
`,u=await Bs();a=(await new os(u).query(l,{name:"serve-token-"+Date.now(),appName:e})).createAdminApiToken.value,this.writePurgeToken(e,a)}let o=(0,LX.default)();o.use("/",(0,kX.createProxyMiddleware)({target:n,changeOrigin:!0,logLevel:"silent",onProxyReq:l=>{l.path.endsWith("/")&&(l.path=l.path.slice(0,-1)),l.setHeader("stellate-cli-serve-port",r),l.setHeader("stellate-token",a)}})),o.listen(r)}setupApiProxy(e,r){let i=`https://${e}.stellate.${process.env.STELLATE_ENDPOINT==="staging"||process.env.STELLATE_ENDPOINT==="local"?"dev":"sh"}`,s=(0,LX.default)();s.use("/",(0,kX.createProxyMiddleware)({target:i,changeOrigin:!0,headers:{"stellate-cli-serve-port":""+r},logLevel:"silent"})),s.listen(r)}ensureConfig(){rm.default.existsSync(gc)||rm.default.mkdirSync(gc)}getCache(){try{this.ensureConfig();let e=rm.default.readFileSync(ZS,"utf-8");return JSON.parse(e)}catch{return{}}}getCacheEntry(e){try{this.ensureConfig();let r=rm.default.readFileSync(ZS,"utf-8"),i=JSON.parse(r);if(!e)throw new Error('You need a service-name in your "stellate" config or as the "--service" argument.');return i[e]||{checksum:"",envName:""}}catch{return{checksum:"",envName:""}}}getChecksum(e){return yhr(JSON.stringify(e)+"2.14.0")}writePurgeToken(e,r){let i=this.getCache();i[e]={...i[e],purgeToken:r},rm.default.writeFileSync(ZS,JSON.stringify(i))}writeCache(e,r,i){let s=this.getCache();if(!e)throw new Error('You need a service-name in your "stellate" config or as the "--service" argument.');return s[e]={checksum:this.getChecksum(r),envName:i},rm.default.writeFileSync(ZS,JSON.stringify(s)),s[e]}},Ww=FX;Ww.help=Hi(`
|
|
1406
1406
|
(BETA) - Use a local backend with Stellate\u2019s GraphQL Edge Cache.
|
|
1407
1407
|
|
|
1408
1408
|
${zv.default.bold("Usage")}
|