stellate 2.15.1 → 2.16.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 CHANGED
@@ -108,14 +108,14 @@ Filtered results for: ${this.inputValue?this.inputValue:vp.gray("Enter something
108
108
  `}renderOption(e,r,i){let s;return r.disabled?s=e===i?vp.gray().underline(r.title):vp.strikethrough().gray(r.title):s=e===i?vp.cyan().underline(r.title):r.title,(r.selected?vp.green(_1.radioOn):_1.radioOff)+" "+s}renderDoneOrInstructions(){if(this.done)return this.value.filter(r=>r.selected).map(r=>r.title).join(", ");let e=[vp.gray(this.hint),this.renderInstructions(),this.renderCurrentInput()];return this.filteredOptions.length&&this.filteredOptions[this.cursor].disabled&&e.push(vp.yellow(this.warn)),e.join(" ")}render(){if(this.closed)return;this.firstRender&&this.out.write(uBe.hide),super.render();let e=[Mse.symbol(this.done,this.aborted),vp.bold(this.msg),Mse.delimiter(!1),this.renderDoneOrInstructions()].join(" ");this.showMinError&&(e+=vp.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=Bse(e,this.out.columns)}};jse.exports=$O});var Wse=E((V0r,Kse)=>{var Use=Ps(),pBe=gp(),{style:qse,clear:fBe}=lu(),{erase:dBe,cursor:$se}=Cs(),KO=class extends pBe{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($se.hide):this.out.write(fBe(this.outputText,this.out.columns)),super.render(),this.outputText=[qse.symbol(this.done,this.aborted),Use.bold(this.msg),qse.delimiter(this.done),this.done?this.value?this.yesMsg:this.noMsg:Use.gray(this.initialValue?this.yesOption:this.noOption)].join(" "),this.out.write(dBe.line+$se.to(0)+this.outputText))}};Kse.exports=KO});var zse=E((U0r,Gse)=>{"use strict";Gse.exports={TextPrompt:Kie(),SelectPrompt:Hie(),TogglePrompt:Qie(),DatePrompt:wse(),NumberPrompt:Cse(),MultiselectPrompt:jO(),AutocompletePrompt:Rse(),AutocompleteMultiselectPrompt:Vse(),ConfirmPrompt:Wse()}});var Yse=E(Hse=>{"use strict";var co=Hse,hBe=zse(),c3=t=>t;function pc(t,e,r={}){return new Promise((i,s)=>{let n=new hBe[t](e),a=r.onAbort||c3,o=r.onSubmit||c3,l=r.onExit||c3;n.on("state",e.onState||c3),n.on("submit",u=>i(o(u))),n.on("exit",u=>i(l(u))),n.on("abort",u=>s(a(u)))})}co.text=t=>pc("TextPrompt",t);co.password=t=>(t.style="password",co.text(t));co.invisible=t=>(t.style="invisible",co.text(t));co.number=t=>pc("NumberPrompt",t);co.date=t=>pc("DatePrompt",t);co.confirm=t=>pc("ConfirmPrompt",t);co.list=t=>{let e=t.separator||",";return pc("TextPrompt",t,{onSubmit:r=>r.split(e).map(i=>i.trim())})};co.toggle=t=>pc("TogglePrompt",t);co.select=t=>pc("SelectPrompt",t);co.multiselect=t=>{t.choices=[].concat(t.choices||[]);let e=r=>r.filter(i=>i.selected).map(i=>i.value);return pc("MultiselectPrompt",t,{onAbort:e,onSubmit:e})};co.autocompleteMultiselect=t=>{t.choices=[].concat(t.choices||[]);let e=r=>r.filter(i=>i.selected).map(i=>i.value);return pc("AutocompleteMultiselectPrompt",t,{onAbort:e,onSubmit:e})};var mBe=(t,e)=>Promise.resolve(e.filter(r=>r.title.slice(0,t.length).toLowerCase()===t.toLowerCase()));co.autocomplete=t=>(t.suggest=t.suggest||mBe,t.choices=[].concat(t.choices||[]),pc("AutocompletePrompt",t))});var Qse=E(($0r,Xse)=>{"use strict";var WO=Yse(),yBe=["suggest","format","onState","validate","onRender","type"],Jse=()=>{};async function gd(t=[],{onSubmit:e=Jse,onCancel:r=Jse}={}){let i={},s=gd._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(yBe.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,WO[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=gd._injected?gBe(gd._injected,a.initial):await WO[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 gBe(t,e){let r=t.shift();if(r instanceof Error)throw r;return r===void 0?e:r}function bBe(t){gd._injected=(gd._injected||[]).concat(t)}function vBe(t){gd._override=Object.assign({},t)}Xse.exports=Object.assign(gd,{prompt:gd,prompts:WO,inject:bBe,override:vBe})});var ene=E((K0r,Zse)=>{function SBe(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}Zse.exports=SBe("8.6.0")?wie():Qse()});var rne=E((W0r,tne)=>{var GO=Symbol("arg flag"),po=class extends Error{constructor(e,r){super(e),this.name="ArgError",this.code=r,Object.setPrototypeOf(this,po.prototype)}};function F2(t,{argv:e=process.argv.slice(2),permissive:r=!1,stopAtPositional:i=!1}={}){if(!t)throw new po("argument specification object is required","ARG_CONFIG_NO_SPEC");let s={_:[]},n={},a={};for(let o of Object.keys(t)){if(!o)throw new po("argument key cannot be an empty string","ARG_CONFIG_EMPTY_KEY");if(o[0]!=="-")throw new po(`argument key must start with '-' but found: '${o}'`,"ARG_CONFIG_NONOPT_KEY");if(o.length===1)throw new po(`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[GO]===!0}else if(typeof l=="function")u=l===Boolean||l[GO]===!0;else throw new po(`type missing or not a function or valid array type: ${o}`,"ARG_CONFIG_VAD_TYPE");if(o[1]!=="-"&&o.length>2)throw new po(`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 po(`unknown or unexpected option: ${f}`,"ARG_UNKNOWN_OPTION");let[g,b]=a[m];if(!b&&p+1<c.length)throw new po(`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 S=f===m?"":` (alias for ${m})`;throw new po(`option requires argument: ${f}${S}`,"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}F2.flag=t=>(t[GO]=!0,t);F2.COUNT=F2.flag((t,e,r)=>(r||0)+1);F2.ArgError=po;tne.exports=F2});var sne=E((G0r,zO)=>{"use strict";var Zr=zO.exports;zO.exports.default=Zr;var Vi="\x1B[",R2="\x1B]",C1="\x07",p3=";",ine=process.env.TERM_PROGRAM==="Apple_Terminal";Zr.cursorTo=(t,e)=>{if(typeof t!="number")throw new TypeError("The `x` argument is required");return typeof e!="number"?Vi+(t+1)+"G":Vi+(e+1)+";"+(t+1)+"H"};Zr.cursorMove=(t,e)=>{if(typeof t!="number")throw new TypeError("The `x` argument is required");let r="";return t<0?r+=Vi+-t+"D":t>0&&(r+=Vi+t+"C"),e<0?r+=Vi+-e+"A":e>0&&(r+=Vi+e+"B"),r};Zr.cursorUp=(t=1)=>Vi+t+"A";Zr.cursorDown=(t=1)=>Vi+t+"B";Zr.cursorForward=(t=1)=>Vi+t+"C";Zr.cursorBackward=(t=1)=>Vi+t+"D";Zr.cursorLeft=Vi+"G";Zr.cursorSavePosition=ine?"\x1B7":Vi+"s";Zr.cursorRestorePosition=ine?"\x1B8":Vi+"u";Zr.cursorGetPosition=Vi+"6n";Zr.cursorNextLine=Vi+"E";Zr.cursorPrevLine=Vi+"F";Zr.cursorHide=Vi+"?25l";Zr.cursorShow=Vi+"?25h";Zr.eraseLines=t=>{let e="";for(let r=0;r<t;r++)e+=Zr.eraseLine+(r<t-1?Zr.cursorUp():"");return t&&(e+=Zr.cursorLeft),e};Zr.eraseEndLine=Vi+"K";Zr.eraseStartLine=Vi+"1K";Zr.eraseLine=Vi+"2K";Zr.eraseDown=Vi+"J";Zr.eraseUp=Vi+"1J";Zr.eraseScreen=Vi+"2J";Zr.scrollUp=Vi+"S";Zr.scrollDown=Vi+"T";Zr.clearScreen="\x1Bc";Zr.clearTerminal=process.platform==="win32"?`${Zr.eraseScreen}${Vi}0f`:`${Zr.eraseScreen}${Vi}3J${Vi}H`;Zr.beep=C1;Zr.link=(t,e)=>[R2,"8",p3,p3,e,C1,t,R2,"8",p3,p3,C1].join("");Zr.image=(t,e={})=>{let r=`${R2}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")+C1};Zr.iTerm={setCwd:(t=process.cwd())=>`${R2}50;CurrentDir=${t}${C1}`,annotation:(t,e={})=>{let r=`${R2}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+C1}}});var one=E((z0r,ane)=>{"use strict";var TBe=AI(),D1=xI();function nne(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 HO(t){let{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&parseInt(e.FORCE_HYPERLINK,10)===0);if(D1("no-hyperlink")||D1("no-hyperlinks")||D1("hyperlink=false")||D1("hyperlink=never"))return!1;if(D1("hyperlink=true")||D1("hyperlink=always"))return!0;if(!TBe.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=nne(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=nne(e.VTE_VERSION);return r.major>0||r.minor>=50}return!1}ane.exports={supportsHyperlink:HO,stdout:HO(process.stdout),stderr:HO(process.stderr)}});var une=E((H0r,B2)=>{"use strict";var xBe=sne(),YO=one(),lne=(t,e,{target:r="stdout",...i}={})=>YO[r]?xBe.link(t,e):i.fallback===!1?t:typeof i.fallback=="function"?i.fallback(t,e):`${t} (\u200B${e}\u200B)`;B2.exports=(t,e,r={})=>lne(t,e,r);B2.exports.stderr=(t,e,r={})=>lne(t,e,{target:"stderr",...r});B2.exports.isSupported=YO.stdout;B2.exports.stderr.isSupported=YO.stderr});var Yae=E((lS,X1)=>{var Vje=200,yL="__lodash_hash_undefined__",v6=1,Pae=2,_ae=9007199254740991,f6="[object Arguments]",uL="[object Array]",Uje="[object AsyncFunction]",Cae="[object Boolean]",Dae="[object Date]",Nae="[object Error]",Iae="[object Function]",qje="[object GeneratorFunction]",d6="[object Map]",Oae="[object Number]",$je="[object Null]",J1="[object Object]",mae="[object Promise]",Kje="[object Proxy]",kae="[object RegExp]",h6="[object Set]",Lae="[object String]",Wje="[object Symbol]",Gje="[object Undefined]",cL="[object WeakMap]",Fae="[object ArrayBuffer]",m6="[object DataView]",zje="[object Float32Array]",Hje="[object Float64Array]",Yje="[object Int8Array]",Jje="[object Int16Array]",Xje="[object Int32Array]",Qje="[object Uint8Array]",Zje="[object Uint8ClampedArray]",eVe="[object Uint16Array]",tVe="[object Uint32Array]",rVe=/[\\^$.*+?()[\]{}|]/g,iVe=/^\[object .+?Constructor\]$/,sVe=/^(?:0|[1-9]\d*)$/,cs={};cs[zje]=cs[Hje]=cs[Yje]=cs[Jje]=cs[Xje]=cs[Qje]=cs[Zje]=cs[eVe]=cs[tVe]=!0;cs[f6]=cs[uL]=cs[Fae]=cs[Cae]=cs[m6]=cs[Dae]=cs[Nae]=cs[Iae]=cs[d6]=cs[Oae]=cs[J1]=cs[kae]=cs[h6]=cs[Lae]=cs[cL]=!1;var Rae=typeof global=="object"&&global&&global.Object===Object&&global,nVe=typeof self=="object"&&self&&self.Object===Object&&self,_p=Rae||nVe||Function("return this")(),Bae=typeof lS=="object"&&lS&&!lS.nodeType&&lS,yae=Bae&&typeof X1=="object"&&X1&&!X1.nodeType&&X1,Mae=yae&&yae.exports===Bae,aL=Mae&&Rae.process,gae=function(){try{return aL&&aL.binding&&aL.binding("util")}catch{}}(),bae=gae&&gae.isTypedArray;function aVe(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 oVe(t,e){for(var r=-1,i=e.length,s=t.length;++r<i;)t[s+r]=e[r];return t}function lVe(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 uVe(t,e){for(var r=-1,i=Array(t);++r<t;)i[r]=e(r);return i}function cVe(t){return function(e){return t(e)}}function pVe(t,e){return t.has(e)}function fVe(t,e){return t==null?void 0:t[e]}function dVe(t){var e=-1,r=Array(t.size);return t.forEach(function(i,s){r[++e]=[s,i]}),r}function hVe(t,e){return function(r){return t(e(r))}}function mVe(t){var e=-1,r=Array(t.size);return t.forEach(function(i){r[++e]=i}),r}var yVe=Array.prototype,gVe=Function.prototype,S6=Object.prototype,oL=_p["__core-js_shared__"],jae=gVe.toString,hc=S6.hasOwnProperty,vae=function(){var t=/[^.]+$/.exec(oL&&oL.keys&&oL.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Vae=S6.toString,bVe=RegExp("^"+jae.call(hc).replace(rVe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Sae=Mae?_p.Buffer:void 0,y6=_p.Symbol,Tae=_p.Uint8Array,Uae=S6.propertyIsEnumerable,vVe=yVe.splice,Bm=y6?y6.toStringTag:void 0,xae=Object.getOwnPropertySymbols,SVe=Sae?Sae.isBuffer:void 0,TVe=hVe(Object.keys,Object),pL=Q1(_p,"DataView"),uS=Q1(_p,"Map"),fL=Q1(_p,"Promise"),dL=Q1(_p,"Set"),hL=Q1(_p,"WeakMap"),cS=Q1(Object,"create"),xVe=Vm(pL),EVe=Vm(uS),wVe=Vm(fL),AVe=Vm(dL),PVe=Vm(hL),Eae=y6?y6.prototype:void 0,lL=Eae?Eae.valueOf:void 0;function Mm(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 _Ve(){this.__data__=cS?cS(null):{},this.size=0}function CVe(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}function DVe(t){var e=this.__data__;if(cS){var r=e[t];return r===yL?void 0:r}return hc.call(e,t)?e[t]:void 0}function NVe(t){var e=this.__data__;return cS?e[t]!==void 0:hc.call(e,t)}function IVe(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=cS&&e===void 0?yL:e,this}Mm.prototype.clear=_Ve;Mm.prototype.delete=CVe;Mm.prototype.get=DVe;Mm.prototype.has=NVe;Mm.prototype.set=IVe;function Cp(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 OVe(){this.__data__=[],this.size=0}function kVe(t){var e=this.__data__,r=T6(e,t);if(r<0)return!1;var i=e.length-1;return r==i?e.pop():vVe.call(e,r,1),--this.size,!0}function LVe(t){var e=this.__data__,r=T6(e,t);return r<0?void 0:e[r][1]}function FVe(t){return T6(this.__data__,t)>-1}function RVe(t,e){var r=this.__data__,i=T6(r,t);return i<0?(++this.size,r.push([t,e])):r[i][1]=e,this}Cp.prototype.clear=OVe;Cp.prototype.delete=kVe;Cp.prototype.get=LVe;Cp.prototype.has=FVe;Cp.prototype.set=RVe;function jm(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 BVe(){this.size=0,this.__data__={hash:new Mm,map:new(uS||Cp),string:new Mm}}function MVe(t){var e=x6(this,t).delete(t);return this.size-=e?1:0,e}function jVe(t){return x6(this,t).get(t)}function VVe(t){return x6(this,t).has(t)}function UVe(t,e){var r=x6(this,t),i=r.size;return r.set(t,e),this.size+=r.size==i?0:1,this}jm.prototype.clear=BVe;jm.prototype.delete=MVe;jm.prototype.get=jVe;jm.prototype.has=VVe;jm.prototype.set=UVe;function g6(t){var e=-1,r=t==null?0:t.length;for(this.__data__=new jm;++e<r;)this.add(t[e])}function qVe(t){return this.__data__.set(t,yL),this}function $Ve(t){return this.__data__.has(t)}g6.prototype.add=g6.prototype.push=qVe;g6.prototype.has=$Ve;function Td(t){var e=this.__data__=new Cp(t);this.size=e.size}function KVe(){this.__data__=new Cp,this.size=0}function WVe(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}function GVe(t){return this.__data__.get(t)}function zVe(t){return this.__data__.has(t)}function HVe(t,e){var r=this.__data__;if(r instanceof Cp){var i=r.__data__;if(!uS||i.length<Vje-1)return i.push([t,e]),this.size=++r.size,this;r=this.__data__=new jm(i)}return r.set(t,e),this.size=r.size,this}Td.prototype.clear=KVe;Td.prototype.delete=WVe;Td.prototype.get=GVe;Td.prototype.has=zVe;Td.prototype.set=HVe;function YVe(t,e){var r=b6(t),i=!r&&cUe(t),s=!r&&!i&&mL(t),n=!r&&!i&&!s&&Hae(t),a=r||i||s||n,o=a?uVe(t.length,String):[],l=o.length;for(var u in t)(e||hc.call(t,u))&&!(a&&(u=="length"||s&&(u=="offset"||u=="parent")||n&&(u=="buffer"||u=="byteLength"||u=="byteOffset")||nUe(u,l)))&&o.push(u);return o}function T6(t,e){for(var r=t.length;r--;)if(Kae(t[r][0],e))return r;return-1}function JVe(t,e,r){var i=e(t);return b6(t)?i:oVe(i,r(t))}function fS(t){return t==null?t===void 0?Gje:$je:Bm&&Bm in Object(t)?iUe(t):uUe(t)}function wae(t){return pS(t)&&fS(t)==f6}function qae(t,e,r,i,s){return t===e?!0:t==null||e==null||!pS(t)&&!pS(e)?t!==t&&e!==e:XVe(t,e,r,i,qae,s)}function XVe(t,e,r,i,s,n){var a=b6(t),o=b6(e),l=a?uL:Sd(t),u=o?uL:Sd(e);l=l==f6?J1:l,u=u==f6?J1:u;var c=l==J1,p=u==J1,d=l==u;if(d&&mL(t)){if(!mL(e))return!1;a=!0,c=!1}if(d&&!c)return n||(n=new Td),a||Hae(t)?$ae(t,e,r,i,s,n):tUe(t,e,l,r,i,s,n);if(!(r&v6)){var f=c&&hc.call(t,"__wrapped__"),h=p&&hc.call(e,"__wrapped__");if(f||h){var m=f?t.value():t,g=h?e.value():e;return n||(n=new Td),s(m,g,r,i,n)}}return d?(n||(n=new Td),rUe(t,e,r,i,s,n)):!1}function QVe(t){if(!zae(t)||oUe(t))return!1;var e=Wae(t)?bVe:iVe;return e.test(Vm(t))}function ZVe(t){return pS(t)&&Gae(t.length)&&!!cs[fS(t)]}function eUe(t){if(!lUe(t))return TVe(t);var e=[];for(var r in Object(t))hc.call(t,r)&&r!="constructor"&&e.push(r);return e}function $ae(t,e,r,i,s,n){var a=r&v6,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&Pae?new g6: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(!lVe(e,function(g,b){if(!pVe(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 tUe(t,e,r,i,s,n,a){switch(r){case m6:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case Fae:return!(t.byteLength!=e.byteLength||!n(new Tae(t),new Tae(e)));case Cae:case Dae:case Oae:return Kae(+t,+e);case Nae:return t.name==e.name&&t.message==e.message;case kae:case Lae:return t==e+"";case d6:var o=dVe;case h6:var l=i&v6;if(o||(o=mVe),t.size!=e.size&&!l)return!1;var u=a.get(t);if(u)return u==e;i|=Pae,a.set(t,e);var c=$ae(o(t),o(e),i,s,n,a);return a.delete(t),c;case Wje:if(lL)return lL.call(t)==lL.call(e)}return!1}function rUe(t,e,r,i,s,n){var a=r&v6,o=Aae(t),l=o.length,u=Aae(e),c=u.length;if(l!=c&&!a)return!1;for(var p=l;p--;){var d=o[p];if(!(a?d in e:hc.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 S=a?i(b,g,d,e,t,n):i(g,b,d,t,e,n);if(!(S===void 0?g===b||s(g,b,r,i,n):S)){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 Aae(t){return JVe(t,dUe,sUe)}function x6(t,e){var r=t.__data__;return aUe(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Q1(t,e){var r=fVe(t,e);return QVe(r)?r:void 0}function iUe(t){var e=hc.call(t,Bm),r=t[Bm];try{t[Bm]=void 0;var i=!0}catch{}var s=Vae.call(t);return i&&(e?t[Bm]=r:delete t[Bm]),s}var sUe=xae?function(t){return t==null?[]:(t=Object(t),aVe(xae(t),function(e){return Uae.call(t,e)}))}:hUe,Sd=fS;(pL&&Sd(new pL(new ArrayBuffer(1)))!=m6||uS&&Sd(new uS)!=d6||fL&&Sd(fL.resolve())!=mae||dL&&Sd(new dL)!=h6||hL&&Sd(new hL)!=cL)&&(Sd=function(t){var e=fS(t),r=e==J1?t.constructor:void 0,i=r?Vm(r):"";if(i)switch(i){case xVe:return m6;case EVe:return d6;case wVe:return mae;case AVe:return h6;case PVe:return cL}return e});function nUe(t,e){return e=e==null?_ae:e,!!e&&(typeof t=="number"||sVe.test(t))&&t>-1&&t%1==0&&t<e}function aUe(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function oUe(t){return!!vae&&vae in t}function lUe(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||S6;return t===r}function uUe(t){return Vae.call(t)}function Vm(t){if(t!=null){try{return jae.call(t)}catch{}try{return t+""}catch{}}return""}function Kae(t,e){return t===e||t!==t&&e!==e}var cUe=wae(function(){return arguments}())?wae:function(t){return pS(t)&&hc.call(t,"callee")&&!Uae.call(t,"callee")},b6=Array.isArray;function pUe(t){return t!=null&&Gae(t.length)&&!Wae(t)}var mL=SVe||mUe;function fUe(t,e){return qae(t,e)}function Wae(t){if(!zae(t))return!1;var e=fS(t);return e==Iae||e==qje||e==Uje||e==Kje}function Gae(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=_ae}function zae(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}function pS(t){return t!=null&&typeof t=="object"}var Hae=bae?cVe(bae):ZVe;function dUe(t){return pUe(t)?YVe(t):eUe(t)}function hUe(){return[]}function mUe(){return!1}X1.exports=fUe});var Moe=E((Cwr,Boe)=>{Boe.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 OL=E((O6,joe)=>{(function(t,e){typeof O6=="object"&&typeof joe<"u"?e(O6):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.acorn={}))})(O6,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,T){for(var _=65536,I=0;I<T.length;I+=2){if(_+=T[I],_>y)return!1;if(_+=T[I+1],_>=y)return!0}return!1}function d(y,T){return y<65?y===36:y<91?!0:y<97?y===95:y<123?!0:y<=65535?y>=170&&u.test(String.fromCharCode(y)):T===!1?!1:p(y,r)}function f(y,T){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)):T===!1?!1:p(y,r)||p(y,e)}var h=function(T,_){_===void 0&&(_={}),this.label=T,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,T){return new h(y,{beforeExpr:!0,binop:T})}var g={beforeExpr:!0},b={startsExpr:!0},S={};function x(y,T){return T===void 0&&(T={}),T.keyword=y,S[y]=new h(y,T)}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,T,_){_===void 0&&(_=y.length);for(var I=T;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,xe=X.hasOwnProperty,We=X.toString,ze=Object.hasOwn||function(y,T){return xe.call(y,T)},ae=Array.isArray||function(y){return We.call(y)==="[object Array]"};function ne(y){return new RegExp("^(?:"+y.replace(/ /g,"|")+")$")}function Ne(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])/,xt=function(T,_){this.line=T,this.column=_};xt.prototype.offset=function(T){return new xt(this.line,this.column+T)};var ue=function(T,_,I){this.start=_,this.end=I,T.sourceFile!==null&&(this.source=T.sourceFile)};function Me(y,T){for(var _=1,I=0;;){var z=K(y,I,T);if(z<0)return new xt(_,T-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},Te=!1;function we(y){var T={};for(var _ in Z)T[_]=y&&ze(y,_)?y[_]:Z[_];if(T.ecmaVersion==="latest"?T.ecmaVersion=1e8:T.ecmaVersion==null?(!Te&&typeof console=="object"&&console.warn&&(Te=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
111
- Defaulting to 2020, but this will stop working in the future.`)),T.ecmaVersion=11):T.ecmaVersion>=2015&&(T.ecmaVersion-=2009),T.allowReserved==null&&(T.allowReserved=T.ecmaVersion<5),(!y||y.allowHashBang==null)&&(T.allowHashBang=T.ecmaVersion>=14),ae(T.onToken)){var I=T.onToken;T.onToken=function(z){return I.push(z)}}return ae(T.onComment)&&(T.onComment=Ae(T,T.onComment)),T}function Ae(y,T){return function(_,I,z,be,Ee,Je){var ut={type:_?"Block":"Line",value:I,start:z,end:be};y.locations&&(ut.loc=new ue(this,Ee,Je)),y.ranges&&(ut.range=[z,be]),T.push(ut)}}var Ve=1,ye=2,pe=4,le=8,Be=16,ve=32,De=64,st=128,Lt=256,mt=Ve|ye|Lt;function er(y,T){return ye|(y?pe:0)|(T?le:0)}var Er=0,Cr=1,mi=2,ls=3,ge=4,je=5,Pe=function(T,_,I){this.options=T=we(T),this.sourceFile=T.sourceFile,this.keywords=ne(o[T.ecmaVersion>=6?6:T.sourceType==="module"?"5module":5]);var z="";T.allowReserved!==!0&&(z=n[T.ecmaVersion>=6?6:T.ecmaVersion===5?5:3],T.sourceType==="module"&&(z+=" await")),this.reservedWords=ne(z);var be=(z?z+" ":"")+n.strict;this.reservedWordsStrict=ne(be),this.reservedWordsStrictBind=ne(be+" "+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=T.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&T.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ve),this.regexpState=null,this.privateNameStack=[]},He={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}};Pe.prototype.parse=function(){var T=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(T)},He.inFunction.get=function(){return(this.currentVarScope().flags&ye)>0},He.inGenerator.get=function(){return(this.currentVarScope().flags&le)>0&&!this.currentVarScope().inClassFieldInit},He.inAsync.get=function(){return(this.currentVarScope().flags&pe)>0&&!this.currentVarScope().inClassFieldInit},He.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var T=this.scopeStack[y];if(T.inClassFieldInit||T.flags&Lt)return!1;if(T.flags&ye)return(T.flags&pe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},He.allowSuper.get=function(){var y=this.currentThisScope(),T=y.flags,_=y.inClassFieldInit;return(T&De)>0||_||this.options.allowSuperOutsideMethod},He.allowDirectSuper.get=function(){return(this.currentThisScope().flags&st)>0},He.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},He.allowNewDotTarget.get=function(){var y=this.currentThisScope(),T=y.flags,_=y.inClassFieldInit;return(T&(ye|Lt))>0||_},He.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Lt)>0},Pe.extend=function(){for(var T=[],_=arguments.length;_--;)T[_]=arguments[_];for(var I=this,z=0;z<T.length;z++)I=T[z](I);return I},Pe.parse=function(T,_){return new this(_,T).parse()},Pe.parseExpressionAt=function(T,_,I){var z=new this(I,T,_);return z.nextToken(),z.parseExpression()},Pe.tokenizer=function(T,_){return new this(_,T)},Object.defineProperties(Pe.prototype,He);var yt=Pe.prototype,Et=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;yt.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=y,y+=Q.exec(this.input)[0].length;var T=Et.exec(this.input.slice(y));if(!T)return!1;if((T[1]||T[2])==="use strict"){Q.lastIndex=y+T[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+=T[0].length,Q.lastIndex=y,y+=Q.exec(this.input)[0].length,this.input[y]===";"&&y++}},yt.eat=function(y){return this.type===y?(this.next(),!0):!1},yt.isContextual=function(y){return this.type===v.name&&this.value===y&&!this.containsEsc},yt.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},yt.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},yt.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},yt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},yt.semicolon=function(){!this.eat(v.semi)&&!this.insertSemicolon()&&this.unexpected()},yt.afterTrailingComma=function(y,T){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),T||this.next(),!0},yt.expect=function(y){this.eat(y)||this.unexpected()},yt.unexpected=function(y){this.raise(y!=null?y:this.start,"Unexpected token")};var hr=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};yt.checkPatternErrors=function(y,T){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var _=T?y.parenthesizedAssign:y.parenthesizedBind;_>-1&&this.raiseRecoverable(_,T?"Assigning to rvalue":"Parenthesized pattern")}},yt.checkExpressionErrors=function(y,T){if(!y)return!1;var _=y.shorthandAssign,I=y.doubleProto;if(!T)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")},yt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},yt.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var et=Pe.prototype;et.parseTopLevel=function(y){var T=Object.create(null);for(y.body||(y.body=[]);this.type!==v.eof;){var _=this.parseStatement(null,!0,T);y.body.push(_)}if(this.inModule)for(var I=0,z=Object.keys(this.undefinedExports);I<z.length;I+=1){var be=z[I];this.raiseRecoverable(this.undefinedExports[be].start,"Export '"+be+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Wt={kind:"loop"},nt={kind:"switch"};et.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var T=Q.exec(this.input),_=this.pos+T[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 be=this.input.slice(_,z);if(!l.test(be))return!0}return!1},et.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var y=Q.exec(this.input),T=this.pos+y[0].length,_;return!w.test(this.input.slice(this.pos,T))&&this.input.slice(T,T+8)==="function"&&(T+8===this.input.length||!(f(_=this.input.charCodeAt(T+8))||_>55295&&_<56320))},et.parseStatement=function(y,T,_){var I=this.type,z=this.startNode(),be;switch(this.isLet(y)&&(I=v._var,be="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 be=be||this.value,y&&be!=="var"&&this.unexpected(),this.parseVarStatement(z,be);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 Ee=Q.exec(this.input),Je=this.pos+Ee[0].length,ut=this.input.charCodeAt(Je);if(ut===40||ut===46)return this.parseExpressionStatement(z,this.parseExpression())}return this.options.allowImportExportEverywhere||(T||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),I===v._import?this.parseImport(z):this.parseExport(z,_);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(z,!0,!y);var wr=this.value,Wr=this.parseExpression();return I===v.name&&Wr.type==="Identifier"&&this.eat(v.colon)?this.parseLabeledStatement(z,wr,Wr,y):this.parseExpressionStatement(z,Wr)}},et.parseBreakContinueStatement=function(y,T){var _=T==="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 "+T),this.finishNode(y,_?"BreakStatement":"ContinueStatement")},et.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},et.parseDoStatement=function(y){return this.next(),this.labels.push(Wt),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")},et.parseForStatement=function(y){this.next();var T=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Wt),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return T>-1&&this.unexpected(T),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?T>-1&&this.unexpected(T):y.await=T>-1),this.parseForIn(y,I)):(T>-1&&this.unexpected(T),this.parseFor(y,I))}var be=this.isContextual("let"),Ee=!1,Je=new hr,ut=this.parseExpression(T>-1?"await":!0,Je);return this.type===v._in||(Ee=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===v._in?T>-1&&this.unexpected(T):y.await=T>-1),be&&Ee&&this.raise(ut.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(ut,!1,Je),this.checkLValPattern(ut),this.parseForIn(y,ut)):(this.checkExpressionErrors(Je,!0),T>-1&&this.unexpected(T),this.parseFor(y,ut))},et.parseFunctionStatement=function(y,T,_){return this.next(),this.parseFunction(y,vr|(_?0:Dr),!1,T)},et.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")},et.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")},et.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(v.braceL),this.labels.push(nt),this.enterScope(0);for(var T,_=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var I=this.type===v._case;T&&this.finishNode(T,"SwitchCase"),y.cases.push(T=this.startNode()),T.consequent=[],this.next(),I?T.test=this.parseExpression():(_&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),_=!0,T.test=null),this.expect(v.colon)}else T||this.unexpected(),T.consequent.push(this.parseStatement(null));return this.exitScope(),T&&this.finishNode(T,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},et.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 Xt=[];et.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===v._catch){var T=this.startNode();if(this.next(),this.eat(v.parenL)){T.param=this.parseBindingAtom();var _=T.param.type==="Identifier";this.enterScope(_?ve:0),this.checkLValPattern(T.param,_?ge:mi),this.expect(v.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),T.param=null,this.enterScope(0);T.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(T,"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")},et.parseVarStatement=function(y,T){return this.next(),this.parseVar(y,!1,T),this.semicolon(),this.finishNode(y,"VariableDeclaration")},et.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Wt),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},et.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")},et.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},et.parseLabeledStatement=function(y,T,_,I){for(var z=0,be=this.labels;z<be.length;z+=1){var Ee=be[z];Ee.name===T&&this.raise(_.start,"Label '"+T+"' is already declared")}for(var Je=this.type.isLoop?"loop":this.type===v._switch?"switch":null,ut=this.labels.length-1;ut>=0;ut--){var wr=this.labels[ut];if(wr.statementStart===y.start)wr.statementStart=this.start,wr.kind=Je;else break}return this.labels.push({name:T,kind:Je,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")},et.parseExpressionStatement=function(y,T){return y.expression=T,this.semicolon(),this.finishNode(y,"ExpressionStatement")},et.parseBlock=function(y,T,_){for(y===void 0&&(y=!0),T===void 0&&(T=this.startNode()),T.body=[],this.expect(v.braceL),y&&this.enterScope(0);this.type!==v.braceR;){var I=this.parseStatement(null);T.body.push(I)}return _&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(T,"BlockStatement")},et.parseFor=function(y,T){return y.init=T,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")},et.parseForIn=function(y,T){var _=this.type===v._in;return this.next(),T.type==="VariableDeclaration"&&T.declarations[0].init!=null&&(!_||this.options.ecmaVersion<8||this.strict||T.kind!=="var"||T.declarations[0].id.type!=="Identifier")&&this.raise(T.start,(_?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=T,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")},et.parseVar=function(y,T,_){for(y.declarations=[],y.kind=_;;){var I=this.startNode();if(this.parseVarId(I,_),this.eat(v.eq)?I.init=this.parseMaybeAssign(T):_==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():I.id.type!=="Identifier"&&!(T&&(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},et.parseVarId=function(y,T){y.id=this.parseBindingAtom(),this.checkLValPattern(y.id,T==="var"?Cr:mi,!1)};var vr=1,Dr=2,ys=4;et.parseFunction=function(y,T,_,I,z){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!I)&&(this.type===v.star&&T&Dr&&this.unexpected(),y.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(y.async=!!I),T&vr&&(y.id=T&ys&&this.type!==v.name?null:this.parseIdent(),y.id&&!(T&Dr)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?Cr:mi:ls));var be=this.yieldPos,Ee=this.awaitPos,Je=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(er(y.async,y.generator)),T&vr||(y.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,_,!1,z),this.yieldPos=be,this.awaitPos=Ee,this.awaitIdentPos=Je,this.finishNode(y,T&vr?"FunctionDeclaration":"FunctionExpression")},et.parseFunctionParams=function(y){this.expect(v.parenL),y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},et.parseClass=function(y,T){this.next();var _=this.strict;this.strict=!0,this.parseClassId(y,T),this.parseClassSuper(y);var I=this.enterClassBody(),z=this.startNode(),be=!1;for(z.body=[],this.expect(v.braceL);this.type!==v.braceR;){var Ee=this.parseClassElement(y.superClass!==null);Ee&&(z.body.push(Ee),Ee.type==="MethodDefinition"&&Ee.kind==="constructor"?(be&&this.raise(Ee.start,"Duplicate constructor in the same class"),be=!0):Ee.key&&Ee.key.type==="PrivateIdentifier"&&ao(I,Ee)&&this.raiseRecoverable(Ee.key.start,"Identifier '#"+Ee.key.name+"' has already been declared"))}return this.strict=_,this.next(),y.body=this.finishNode(z,"ClassBody"),this.exitClassBody(),this.finishNode(y,T?"ClassDeclaration":"ClassExpression")},et.parseClassElement=function(y){if(this.eat(v.semi))return null;var T=this.options.ecmaVersion,_=this.startNode(),I="",z=!1,be=!1,Ee="method",Je=!1;if(this.eatContextual("static")){if(T>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(_),_;this.isClassElementNameStart()||this.type===v.star?Je=!0:I="static"}if(_.static=Je,!I&&T>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?be=!0:I="async"),!I&&(T>=9||!be)&&this.eat(v.star)&&(z=!0),!I&&!be&&!z){var ut=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Ee=ut:I=ut)}if(I?(_.computed=!1,_.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),_.key.name=I,this.finishNode(_.key,"Identifier")):this.parseClassElementName(_),T<13||this.type===v.parenL||Ee!=="method"||z||be){var wr=!_.static&&oo(_,"constructor"),Wr=wr&&y;wr&&Ee!=="method"&&this.raise(_.key.start,"Constructor can't have get/set modifier"),_.kind=wr?"constructor":Ee,this.parseClassMethod(_,z,be,Wr)}else this.parseClassField(_);return _},et.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},et.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)},et.parseClassMethod=function(y,T,_,I){var z=y.key;y.kind==="constructor"?(T&&this.raise(z.start,"Constructor can't be a generator"),_&&this.raise(z.start,"Constructor can't be an async method")):y.static&&oo(y,"prototype")&&this.raise(z.start,"Classes may not have a static property named prototype");var be=y.value=this.parseMethod(T,_,I);return y.kind==="get"&&be.params.length!==0&&this.raiseRecoverable(be.start,"getter should have no params"),y.kind==="set"&&be.params.length!==1&&this.raiseRecoverable(be.start,"setter should have exactly one param"),y.kind==="set"&&be.params[0].type==="RestElement"&&this.raiseRecoverable(be.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},et.parseClassField=function(y){if(oo(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&oo(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)){var T=this.currentThisScope(),_=T.inClassFieldInit;T.inClassFieldInit=!0,y.value=this.parseMaybeAssign(),T.inClassFieldInit=_}else y.value=null;return this.semicolon(),this.finishNode(y,"PropertyDefinition")},et.parseClassStaticBlock=function(y){y.body=[];var T=this.labels;for(this.labels=[],this.enterScope(Lt|De);this.type!==v.braceR;){var _=this.parseStatement(null);y.body.push(_)}return this.next(),this.exitScope(),this.labels=T,this.finishNode(y,"StaticBlock")},et.parseClassId=function(y,T){this.type===v.name?(y.id=this.parseIdent(),T&&this.checkLValSimple(y.id,mi,!1)):(T===!0&&this.unexpected(),y.id=null)},et.parseClassSuper=function(y){y.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},et.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},et.exitClassBody=function(){for(var y=this.privateNameStack.pop(),T=y.declared,_=y.used,I=this.privateNameStack.length,z=I===0?null:this.privateNameStack[I-1],be=0;be<_.length;++be){var Ee=_[be];ze(T,Ee.name)||(z?z.used.push(Ee):this.raiseRecoverable(Ee.start,"Private field '#"+Ee.name+"' must be declared in an enclosing class"))}};function ao(y,T){var _=T.key.name,I=y[_],z="true";return T.type==="MethodDefinition"&&(T.kind==="get"||T.kind==="set")&&(z=(T.static?"s":"i")+T.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 oo(y,T){var _=y.computed,I=y.key;return!_&&(I.type==="Identifier"&&I.name===T||I.type==="Literal"&&I.value===T)}et.parseExport=function(y,T){if(this.next(),this.eat(v.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(T,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(T,"default",this.lastTokStart);var _;if(this.type===v._function||(_=this.isAsyncFunction())){var I=this.startNode();this.next(),_&&this.next(),y.declaration=this.parseFunction(I,vr|ys,!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(T,y.declaration.declarations):this.checkExport(T,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null;else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(T),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom();else{for(var be=0,Ee=y.specifiers;be<Ee.length;be+=1){var Je=Ee[be];this.checkUnreserved(Je.local),this.checkLocalExport(Je.local),Je.local.type==="Literal"&&this.raise(Je.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},et.checkExport=function(y,T,_){y&&(typeof T!="string"&&(T=T.type==="Identifier"?T.name:T.value),ze(y,T)&&this.raiseRecoverable(_,"Duplicate export '"+T+"'"),y[T]=!0)},et.checkPatternExport=function(y,T){var _=T.type;if(_==="Identifier")this.checkExport(y,T,T.start);else if(_==="ObjectPattern")for(var I=0,z=T.properties;I<z.length;I+=1){var be=z[I];this.checkPatternExport(y,be)}else if(_==="ArrayPattern")for(var Ee=0,Je=T.elements;Ee<Je.length;Ee+=1){var ut=Je[Ee];ut&&this.checkPatternExport(y,ut)}else _==="Property"?this.checkPatternExport(y,T.value):_==="AssignmentPattern"?this.checkPatternExport(y,T.left):_==="RestElement"?this.checkPatternExport(y,T.argument):_==="ParenthesizedExpression"&&this.checkPatternExport(y,T.expression)},et.checkVariableExport=function(y,T){if(y)for(var _=0,I=T;_<I.length;_+=1){var z=I[_];this.checkPatternExport(y,z.id)}},et.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},et.parseExportSpecifiers=function(y){var T=[],_=!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),T.push(this.finishNode(I,"ExportSpecifier"))}return T},et.parseImport=function(y){return this.next(),this.type===v.string?(y.specifiers=Xt,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")},et.parseImportSpecifiers=function(){var y=[],T=!0;if(this.type===v.name){var _=this.startNode();if(_.local=this.parseIdent(),this.checkLValSimple(_.local,mi),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,mi),y.push(this.finishNode(I,"ImportNamespaceSpecifier")),y}for(this.expect(v.braceL);!this.eat(v.braceR);){if(T)T=!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,mi),y.push(this.finishNode(z,"ImportSpecifier"))}return y},et.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)},et.adaptDirectivePrologue=function(y){for(var T=0;T<y.length&&this.isDirectiveCandidate(y[T]);++T)y[T].directive=y[T].expression.raw.slice(1,-1)},et.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 pn=Pe.prototype;pn.toAssignable=function(y,T,_){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 be=z[I];this.toAssignable(be,T),be.type==="RestElement"&&(be.argument.type==="ArrayPattern"||be.argument.type==="ObjectPattern")&&this.raise(be.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,T);break;case"ArrayExpression":y.type="ArrayPattern",_&&this.checkPatternErrors(_,!0),this.toAssignableList(y.elements,T);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,T),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,T);break;case"ParenthesizedExpression":this.toAssignable(y.expression,T,_);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!T)break;default:this.raise(y.start,"Assigning to rvalue")}else _&&this.checkPatternErrors(_,!0);return y},pn.toAssignableList=function(y,T){for(var _=y.length,I=0;I<_;I++){var z=y[I];z&&this.toAssignable(z,T)}if(_){var be=y[_-1];this.options.ecmaVersion===6&&T&&be&&be.type==="RestElement"&&be.argument.type!=="Identifier"&&this.unexpected(be.argument.start)}return y},pn.parseSpread=function(y){var T=this.startNode();return this.next(),T.argument=this.parseMaybeAssign(!1,y),this.finishNode(T,"SpreadElement")},pn.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")},pn.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()},pn.parseBindingList=function(y,T,_){for(var I=[],z=!0;!this.eat(y);)if(z?z=!1:this.expect(v.comma),T&&this.type===v.comma)I.push(null);else{if(_&&this.afterTrailingComma(y))break;if(this.type===v.ellipsis){var be=this.parseRestBinding();this.parseBindingListItem(be),I.push(be),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else{var Ee=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(Ee),I.push(Ee)}}return I},pn.parseBindingListItem=function(y){return y},pn.parseMaybeDefault=function(y,T,_){if(_=_||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return _;var I=this.startNodeAt(y,T);return I.left=_,I.right=this.parseMaybeAssign(),this.finishNode(I,"AssignmentPattern")},pn.checkLValSimple=function(y,T,_){T===void 0&&(T=Er);var I=T!==Er;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&&(T===mi&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),_&&(ze(_,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),_[y.name]=!0),T!==je&&this.declareName(y.name,T,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,T,_);default:this.raise(y.start,(I?"Binding":"Assigning to")+" rvalue")}},pn.checkLValPattern=function(y,T,_){switch(T===void 0&&(T=Er),y.type){case"ObjectPattern":for(var I=0,z=y.properties;I<z.length;I+=1){var be=z[I];this.checkLValInnerPattern(be,T,_)}break;case"ArrayPattern":for(var Ee=0,Je=y.elements;Ee<Je.length;Ee+=1){var ut=Je[Ee];ut&&this.checkLValInnerPattern(ut,T,_)}break;default:this.checkLValSimple(y,T,_)}},pn.checkLValInnerPattern=function(y,T,_){switch(T===void 0&&(T=Er),y.type){case"Property":this.checkLValInnerPattern(y.value,T,_);break;case"AssignmentPattern":this.checkLValPattern(y.left,T,_);break;case"RestElement":this.checkLValPattern(y.argument,T,_);break;default:this.checkLValPattern(y,T,_)}};var Js=function(T,_,I,z,be){this.token=T,this.isExpr=!!_,this.preserveSpace=!!I,this.override=z,this.generator=!!be},Ni={b_stat:new Js("{",!1),b_expr:new Js("{",!0),b_tmpl:new Js("${",!1),p_stat:new Js("(",!1),p_expr:new Js("(",!0),q_tmpl:new Js("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new Js("function",!1),f_expr:new Js("function",!0),f_expr_gen:new Js("function",!0,!1,null,!0),f_gen:new Js("function",!1,!1,null,!0)},he=Pe.prototype;he.initialContext=function(){return[Ni.b_stat]},he.curContext=function(){return this.context[this.context.length-1]},he.braceIsBlock=function(y){var T=this.curContext();return T===Ni.f_expr||T===Ni.f_stat?!0:y===v.colon&&(T===Ni.b_stat||T===Ni.b_expr)?!T.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?T===Ni.b_stat:y===v._var||y===v._const||y===v.name?!1:!this.exprAllowed},he.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var T=this.context[y];if(T.token==="function")return T.generator}return!1},he.updateContext=function(y){var T,_=this.type;_.keyword&&y===v.dot?this.exprAllowed=!1:(T=_.updateContext)?T.call(this,y):this.exprAllowed=_.beforeExpr},he.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===Ni.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)?Ni.b_stat:Ni.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(Ni.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(y){var T=y===v._if||y===v._for||y===v._with||y===v._while;this.context.push(T?Ni.p_stat:Ni.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()!==Ni.p_stat)&&!(y===v._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===v.colon||y===v.braceL)&&this.curContext()===Ni.b_stat)?this.context.push(Ni.f_expr):this.context.push(Ni.f_stat),this.exprAllowed=!1},v.backQuote.updateContext=function(){this.curContext()===Ni.q_tmpl?this.context.pop():this.context.push(Ni.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(y){if(y===v._function){var T=this.context.length-1;this.context[T]===Ni.f_expr?this.context[T]=Ni.f_expr_gen:this.context[T]=Ni.f_gen}this.exprAllowed=!0},v.name.updateContext=function(y){var T=!1;this.options.ecmaVersion>=6&&y!==v.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(T=!0),this.exprAllowed=T};var oe=Pe.prototype;oe.checkPropClash=function(y,T,_){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 be=y.kind;if(this.options.ecmaVersion>=6){z==="__proto__"&&be==="init"&&(T.proto&&(_?_.doubleProto<0&&(_.doubleProto=I.start):this.raiseRecoverable(I.start,"Redefinition of __proto__ property")),T.proto=!0);return}z="$"+z;var Ee=T[z];if(Ee){var Je;be==="init"?Je=this.strict&&Ee.init||Ee.get||Ee.set:Je=Ee.init||Ee[be],Je&&this.raiseRecoverable(I.start,"Redefinition of property")}else Ee=T[z]={init:!1,get:!1,set:!1};Ee[be]=!0}},oe.parseExpression=function(y,T){var _=this.start,I=this.startLoc,z=this.parseMaybeAssign(y,T);if(this.type===v.comma){var be=this.startNodeAt(_,I);for(be.expressions=[z];this.eat(v.comma);)be.expressions.push(this.parseMaybeAssign(y,T));return this.finishNode(be,"SequenceExpression")}return z},oe.parseMaybeAssign=function(y,T,_){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var I=!1,z=-1,be=-1,Ee=-1;T?(z=T.parenthesizedAssign,be=T.trailingComma,Ee=T.doubleProto,T.parenthesizedAssign=T.trailingComma=-1):(T=new hr,I=!0);var Je=this.start,ut=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var wr=this.parseMaybeConditional(y,T);if(_&&(wr=_.call(this,wr,Je,ut)),this.type.isAssign){var Wr=this.startNodeAt(Je,ut);return Wr.operator=this.value,this.type===v.eq&&(wr=this.toAssignable(wr,!1,T)),I||(T.parenthesizedAssign=T.trailingComma=T.doubleProto=-1),T.shorthandAssign>=wr.start&&(T.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(wr):this.checkLValSimple(wr),Wr.left=wr,this.next(),Wr.right=this.parseMaybeAssign(y),Ee>-1&&(T.doubleProto=Ee),this.finishNode(Wr,"AssignmentExpression")}else I&&this.checkExpressionErrors(T,!0);return z>-1&&(T.parenthesizedAssign=z),be>-1&&(T.trailingComma=be),wr},oe.parseMaybeConditional=function(y,T){var _=this.start,I=this.startLoc,z=this.parseExprOps(y,T);if(this.checkExpressionErrors(T))return z;if(this.eat(v.question)){var be=this.startNodeAt(_,I);return be.test=z,be.consequent=this.parseMaybeAssign(),this.expect(v.colon),be.alternate=this.parseMaybeAssign(y),this.finishNode(be,"ConditionalExpression")}return z},oe.parseExprOps=function(y,T){var _=this.start,I=this.startLoc,z=this.parseMaybeUnary(T,!1,!1,y);return this.checkExpressionErrors(T)||z.start===_&&z.type==="ArrowFunctionExpression"?z:this.parseExprOp(z,_,I,-1,y)},oe.parseExprOp=function(y,T,_,I,z){var be=this.type.binop;if(be!=null&&(!z||this.type!==v._in)&&be>I){var Ee=this.type===v.logicalOR||this.type===v.logicalAND,Je=this.type===v.coalesce;Je&&(be=v.logicalAND.binop);var ut=this.value;this.next();var wr=this.start,Wr=this.startLoc,aa=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,z),wr,Wr,be,z),um=this.buildBinary(T,_,y,aa,ut,Ee||Je);return(Ee&&this.type===v.coalesce||Je&&(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(um,T,_,I,z)}return y},oe.buildBinary=function(y,T,_,I,z,be){I.type==="PrivateIdentifier"&&this.raise(I.start,"Private identifier can only be left side of binary expression");var Ee=this.startNodeAt(y,T);return Ee.left=_,Ee.operator=z,Ee.right=I,this.finishNode(Ee,be?"LogicalExpression":"BinaryExpression")},oe.parseMaybeUnary=function(y,T,_,I){var z=this.start,be=this.startLoc,Ee;if(this.isContextual("await")&&this.canAwait)Ee=this.parseAwait(I),T=!0;else if(this.type.prefix){var Je=this.startNode(),ut=this.type===v.incDec;Je.operator=this.value,Je.prefix=!0,this.next(),Je.argument=this.parseMaybeUnary(null,!0,ut,I),this.checkExpressionErrors(y,!0),ut?this.checkLValSimple(Je.argument):this.strict&&Je.operator==="delete"&&Je.argument.type==="Identifier"?this.raiseRecoverable(Je.start,"Deleting local variable in strict mode"):Je.operator==="delete"&&Ye(Je.argument)?this.raiseRecoverable(Je.start,"Private fields can not be deleted"):T=!0,Ee=this.finishNode(Je,ut?"UpdateExpression":"UnaryExpression")}else if(!T&&this.type===v.privateId)(I||this.privateNameStack.length===0)&&this.unexpected(),Ee=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();else{if(Ee=this.parseExprSubscripts(y,I),this.checkExpressionErrors(y))return Ee;for(;this.type.postfix&&!this.canInsertSemicolon();){var wr=this.startNodeAt(z,be);wr.operator=this.value,wr.prefix=!1,wr.argument=Ee,this.checkLValSimple(Ee),this.next(),Ee=this.finishNode(wr,"UpdateExpression")}}if(!_&&this.eat(v.starstar))if(T)this.unexpected(this.lastTokStart);else return this.buildBinary(z,be,Ee,this.parseMaybeUnary(null,!1,!1,I),"**",!1);else return Ee};function Ye(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&Ye(y.expression)}oe.parseExprSubscripts=function(y,T){var _=this.start,I=this.startLoc,z=this.parseExprAtom(y,T);if(z.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return z;var be=this.parseSubscripts(z,_,I,!1,T);return y&&be.type==="MemberExpression"&&(y.parenthesizedAssign>=be.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=be.start&&(y.parenthesizedBind=-1),y.trailingComma>=be.start&&(y.trailingComma=-1)),be},oe.parseSubscripts=function(y,T,_,I,z){for(var be=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,Ee=!1;;){var Je=this.parseSubscript(y,T,_,I,be,Ee,z);if(Je.optional&&(Ee=!0),Je===y||Je.type==="ArrowFunctionExpression"){if(Ee){var ut=this.startNodeAt(T,_);ut.expression=Je,Je=this.finishNode(ut,"ChainExpression")}return Je}y=Je}},oe.parseSubscript=function(y,T,_,I,z,be,Ee){var Je=this.options.ecmaVersion>=11,ut=Je&&this.eat(v.questionDot);I&&ut&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var wr=this.eat(v.bracketL);if(wr||ut&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var Wr=this.startNodeAt(T,_);Wr.object=y,wr?(Wr.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&y.type!=="Super"?Wr.property=this.parsePrivateIdent():Wr.property=this.parseIdent(this.options.allowReserved!=="never"),Wr.computed=!!wr,Je&&(Wr.optional=ut),y=this.finishNode(Wr,"MemberExpression")}else if(!I&&this.eat(v.parenL)){var aa=new hr,um=this.yieldPos,e2=this.awaitPos,e1=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var tA=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,aa);if(z&&!ut&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(aa,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=um,this.awaitPos=e2,this.awaitIdentPos=e1,this.parseArrowExpression(this.startNodeAt(T,_),tA,!0,Ee);this.checkExpressionErrors(aa,!0),this.yieldPos=um||this.yieldPos,this.awaitPos=e2||this.awaitPos,this.awaitIdentPos=e1||this.awaitIdentPos;var t1=this.startNodeAt(T,_);t1.callee=y,t1.arguments=tA,Je&&(t1.optional=ut),y=this.finishNode(t1,"CallExpression")}else if(this.type===v.backQuote){(ut||be)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var r1=this.startNodeAt(T,_);r1.tag=y,r1.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(r1,"TaggedTemplateExpression")}return y},oe.parseExprAtom=function(y,T){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,be=this.startLoc,Ee=this.containsEsc,Je=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ee&&Je.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(Ni.f_expr),this.parseFunction(this.startNodeAt(z,be),0,!1,!0,T);if(I&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(z,be),[Je],!1,T);if(this.options.ecmaVersion>=8&&Je.name==="async"&&this.type===v.name&&!Ee&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Je=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(z,be),[Je],!0,T)}return Je;case v.regexp:var ut=this.value;return _=this.parseLiteral(ut.value),_.regex={pattern:ut.pattern,flags:ut.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 wr=this.start,Wr=this.parseParenAndDistinguishExpression(I,T);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Wr)&&(y.parenthesizedAssign=wr),y.parenthesizedBind<0&&(y.parenthesizedBind=wr)),Wr;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(Ni.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 T=this.parseIdent(!0);switch(this.type){case v.parenL:return this.parseDynamicImport(y);case v.dot:return y.meta=T,this.parseImportMeta(y);default:this.unexpected()}},oe.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),!this.eat(v.parenR)){var T=this.start;this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(T,"Trailing comma is not allowed in import()"):this.unexpected(T)}return this.finishNode(y,"ImportExpression")},oe.parseImportMeta=function(y){this.next();var T=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'"),T&&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 T=this.startNode();return T.value=y,T.raw=this.input.slice(this.start,this.end),T.raw.charCodeAt(T.raw.length-1)===110&&(T.bigint=T.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(T,"Literal")},oe.parseParenExpression=function(){this.expect(v.parenL);var y=this.parseExpression();return this.expect(v.parenR),y},oe.parseParenAndDistinguishExpression=function(y,T){var _=this.start,I=this.startLoc,z,be=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Ee=this.start,Je=this.startLoc,ut=[],wr=!0,Wr=!1,aa=new hr,um=this.yieldPos,e2=this.awaitPos,e1;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;)if(wr?wr=!1:this.expect(v.comma),be&&this.afterTrailingComma(v.parenR,!0)){Wr=!0;break}else if(this.type===v.ellipsis){e1=this.start,ut.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else ut.push(this.parseMaybeAssign(!1,aa,this.parseParenItem));var tA=this.lastTokEnd,t1=this.lastTokEndLoc;if(this.expect(v.parenR),y&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(aa,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=um,this.awaitPos=e2,this.parseParenArrowList(_,I,ut,T);(!ut.length||Wr)&&this.unexpected(this.lastTokStart),e1&&this.unexpected(e1),this.checkExpressionErrors(aa,!0),this.yieldPos=um||this.yieldPos,this.awaitPos=e2||this.awaitPos,ut.length>1?(z=this.startNodeAt(Ee,Je),z.expressions=ut,this.finishNodeAt(z,"SequenceExpression",tA,t1)):z=ut[0]}else z=this.parseParenExpression();if(this.options.preserveParens){var r1=this.startNodeAt(_,I);return r1.expression=z,this.finishNode(r1,"ParenthesizedExpression")}else return z},oe.parseParenItem=function(y){return y},oe.parseParenArrowList=function(y,T,_,I){return this.parseArrowExpression(this.startNodeAt(y,T),_,!1,I)};var mr=[];oe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var y=this.startNode(),T=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(v.dot)){y.meta=T;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,be=this.type===v._import;return y.callee=this.parseSubscripts(this.parseExprAtom(),I,z,!0,!1),be&&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=mr,this.finishNode(y,"NewExpression")},oe.parseTemplateElement=function(y){var T=y.isTagged,_=this.startNode();return this.type===v.invalidTemplate?(T||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 T=y.isTagged;T===void 0&&(T=!1);var _=this.startNode();this.next(),_.expressions=[];var I=this.parseTemplateElement({isTagged:T});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:T}));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,T){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 be=this.parseProperty(y,T);y||this.checkPropClash(be,z,T),_.properties.push(be)}return this.finishNode(_,y?"ObjectPattern":"ObjectExpression")},oe.parseProperty=function(y,T){var _=this.startNode(),I,z,be,Ee;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,T),this.type===v.comma&&T&&T.trailingComma<0&&(T.trailingComma=this.start),this.finishNode(_,"SpreadElement"));this.options.ecmaVersion>=6&&(_.method=!1,_.shorthand=!1,(y||T)&&(be=this.start,Ee=this.startLoc),y||(I=this.eat(v.star)));var Je=this.containsEsc;return this.parsePropertyName(_),!y&&!Je&&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,be,Ee,T,Je),this.finishNode(_,"Property")},oe.parsePropertyValue=function(y,T,_,I,z,be,Ee,Je){if((_||I)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon))y.value=T?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Ee),y.kind="init";else if(this.options.ecmaVersion>=6&&this.type===v.parenL)T&&this.unexpected(),y.kind="init",y.method=!0,y.value=this.parseMethod(_,I);else if(!T&&!Je&&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 ut=y.kind==="get"?0:1;if(y.value.params.length!==ut){var wr=y.value.start;y.kind==="get"?this.raiseRecoverable(wr,"getter should have no params"):this.raiseRecoverable(wr,"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",T?y.value=this.parseMaybeDefault(z,be,this.copyNode(y.key)):this.type===v.eq&&Ee?(Ee.shorthandAssign<0&&(Ee.shorthandAssign=this.start),y.value=this.parseMaybeDefault(z,be,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,T,_){var I=this.startNode(),z=this.yieldPos,be=this.awaitPos,Ee=this.awaitIdentPos;return this.initFunction(I),this.options.ecmaVersion>=6&&(I.generator=y),this.options.ecmaVersion>=8&&(I.async=!!T),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(er(T,I.generator)|De|(_?st: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=be,this.awaitIdentPos=Ee,this.finishNode(I,"FunctionExpression")},oe.parseArrowExpression=function(y,T,_,I){var z=this.yieldPos,be=this.awaitPos,Ee=this.awaitIdentPos;return this.enterScope(er(_,!1)|Be),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!_),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(T,!0),this.parseFunctionBody(y,!0,!1,I),this.yieldPos=z,this.awaitPos=be,this.awaitIdentPos=Ee,this.finishNode(y,"ArrowFunctionExpression")},oe.parseFunctionBody=function(y,T,_,I){var z=T&&this.type!==v.braceL,be=this.strict,Ee=!1;if(z)y.body=this.parseMaybeAssign(I),y.expression=!0,this.checkParams(y,!1);else{var Je=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!be||Je)&&(Ee=this.strictDirective(this.end),Ee&&Je&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var ut=this.labels;this.labels=[],Ee&&(this.strict=!0),this.checkParams(y,!be&&!Ee&&!T&&!_&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,je),y.body=this.parseBlock(!1,void 0,Ee&&!be),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=ut}this.exitScope()},oe.isSimpleParamList=function(y){for(var T=0,_=y;T<_.length;T+=1){var I=_[T];if(I.type!=="Identifier")return!1}return!0},oe.checkParams=function(y,T){for(var _=Object.create(null),I=0,z=y.params;I<z.length;I+=1){var be=z[I];this.checkLValInnerPattern(be,Cr,T?null:_)}},oe.parseExprList=function(y,T,_,I){for(var z=[],be=!0;!this.eat(y);){if(be)be=!1;else if(this.expect(v.comma),T&&this.afterTrailingComma(y))break;var Ee=void 0;_&&this.type===v.comma?Ee=null:this.type===v.ellipsis?(Ee=this.parseSpread(I),I&&this.type===v.comma&&I.trailingComma<0&&(I.trailingComma=this.start)):Ee=this.parseMaybeAssign(!1,I),z.push(Ee)}return z},oe.checkUnreserved=function(y){var T=y.start,_=y.end,I=y.name;if(this.inGenerator&&I==="yield"&&this.raiseRecoverable(T,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&I==="await"&&this.raiseRecoverable(T,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&I==="arguments"&&this.raiseRecoverable(T,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(I==="arguments"||I==="await")&&this.raise(T,"Cannot use "+I+" in class static initialization block"),this.keywords.test(I)&&this.raise(T,"Unexpected keyword '"+I+"'"),!(this.options.ecmaVersion<6&&this.input.slice(T,_).indexOf("\\")!==-1)){var z=this.strict?this.reservedWordsStrict:this.reservedWords;z.test(I)&&(!this.inAsync&&I==="await"&&this.raiseRecoverable(T,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(T,"The keyword '"+I+"' is reserved"))}},oe.parseIdent=function(y){var T=this.startNode();return this.type===v.name?T.name=this.value:this.type.keyword?(T.name=this.type.keyword,(T.name==="class"||T.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!y),this.finishNode(T,"Identifier"),y||(this.checkUnreserved(T),T.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=T.start)),T},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 T=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(T.delegate=!1,T.argument=null):(T.delegate=this.eat(v.star),T.argument=this.parseMaybeAssign(y)),this.finishNode(T,"YieldExpression")},oe.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var T=this.startNode();return this.next(),T.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(T,"AwaitExpression")};var Xs=Pe.prototype;Xs.raise=function(y,T){var _=Me(this.input,y);T+=" ("+_.line+":"+_.column+")";var I=new SyntaxError(T);throw I.pos=y,I.loc=_,I.raisedAt=this.pos,I},Xs.raiseRecoverable=Xs.raise,Xs.curPosition=function(){if(this.options.locations)return new xt(this.curLine,this.pos-this.lineStart)};var na=Pe.prototype,su=function(T){this.flags=T,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};na.enterScope=function(y){this.scopeStack.push(new su(y))},na.exitScope=function(){this.scopeStack.pop()},na.treatFunctionsAsVarInScope=function(y){return y.flags&ye||!this.inModule&&y.flags&Ve},na.declareName=function(y,T,_){var I=!1;if(T===mi){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&Ve&&delete this.undefinedExports[y]}else if(T===ge){var be=this.currentScope();be.lexical.push(y)}else if(T===ls){var Ee=this.currentScope();this.treatFunctionsAsVar?I=Ee.lexical.indexOf(y)>-1:I=Ee.lexical.indexOf(y)>-1||Ee.var.indexOf(y)>-1,Ee.functions.push(y)}else for(var Je=this.scopeStack.length-1;Je>=0;--Je){var ut=this.scopeStack[Je];if(ut.lexical.indexOf(y)>-1&&!(ut.flags&ve&&ut.lexical[0]===y)||!this.treatFunctionsAsVarInScope(ut)&&ut.functions.indexOf(y)>-1){I=!0;break}if(ut.var.push(y),this.inModule&&ut.flags&Ve&&delete this.undefinedExports[y],ut.flags&mt)break}I&&this.raiseRecoverable(_,"Identifier '"+y+"' has already been declared")},na.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},na.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},na.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var T=this.scopeStack[y];if(T.flags&mt)return T}},na.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var T=this.scopeStack[y];if(T.flags&mt&&!(T.flags&Be))return T}};var ec=function(T,_,I){this.type="",this.start=_,this.end=0,T.options.locations&&(this.loc=new ue(T,I)),T.options.directSourceFile&&(this.sourceFile=T.options.directSourceFile),T.options.ranges&&(this.range=[_,0])},ed=Pe.prototype;ed.startNode=function(){return new ec(this,this.start,this.startLoc)},ed.startNodeAt=function(y,T){return new ec(this,y,T)};function Qv(y,T,_,I){return y.type=T,y.end=_,this.options.locations&&(y.loc.end=I),this.options.ranges&&(y.range[1]=_),y}ed.finishNode=function(y,T){return Qv.call(this,y,T,this.lastTokEnd,this.lastTokEndLoc)},ed.finishNodeAt=function(y,T,_,I){return Qv.call(this,y,T,_,I)},ed.copyNode=function(y){var T=new ec(this,y.start,this.startLoc);for(var _ in y)T[_]=y[_];return T};var Zv="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",qX=Zv+" Extended_Pictographic",$X=qX,KX=$X+" EBase EComp EMod EPres ExtPict",WX=KX,BNe=WX,MNe={9:Zv,10:qX,11:$X,12:KX,13:WX,14:BNe},GX="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",zX="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",HX=zX+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",YX=HX+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",JX=YX+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",XX=JX+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",jNe=XX+" Kawi Nag_Mundari Nagm",VNe={9:zX,10:HX,11:YX,12:JX,13:XX,14:jNe},QX={};function UNe(y){var T=QX[y]={binary:ne(MNe[y]+" "+GX),nonBinary:{General_Category:ne(GX),Script:ne(VNe[y])}};T.nonBinary.Script_Extensions=T.nonBinary.Script,T.nonBinary.gc=T.nonBinary.General_Category,T.nonBinary.sc=T.nonBinary.Script,T.nonBinary.scx=T.nonBinary.Script_Extensions}for(var gI=0,ZX=[9,10,11,12,13,14];gI<ZX.length;gI+=1){var qNe=ZX[gI];UNe(qNe)}var zt=Pe.prototype,op=function(T){this.parser=T,this.validFlags="gim"+(T.options.ecmaVersion>=6?"uy":"")+(T.options.ecmaVersion>=9?"s":"")+(T.options.ecmaVersion>=13?"d":""),this.unicodeProperties=QX[T.options.ecmaVersion>=14?14:T.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=[]};op.prototype.reset=function(T,_,I){var z=I.indexOf("u")!==-1;this.start=T|0,this.source=_+"",this.flags=I,this.switchU=z&&this.parser.options.ecmaVersion>=6,this.switchN=z&&this.parser.options.ecmaVersion>=9},op.prototype.raise=function(T){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+T)},op.prototype.at=function(T,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(T>=z)return-1;var be=I.charCodeAt(T);if(!(_||this.switchU)||be<=55295||be>=57344||T+1>=z)return be;var Ee=I.charCodeAt(T+1);return Ee>=56320&&Ee<=57343?(be<<10)+Ee-56613888:be},op.prototype.nextIndex=function(T,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(T>=z)return z;var be=I.charCodeAt(T),Ee;return!(_||this.switchU)||be<=55295||be>=57344||T+1>=z||(Ee=I.charCodeAt(T+1))<56320||Ee>57343?T+1:T+2},op.prototype.current=function(T){return T===void 0&&(T=!1),this.at(this.pos,T)},op.prototype.lookahead=function(T){return T===void 0&&(T=!1),this.at(this.nextIndex(this.pos,T),T)},op.prototype.advance=function(T){T===void 0&&(T=!1),this.pos=this.nextIndex(this.pos,T)},op.prototype.eat=function(T,_){return _===void 0&&(_=!1),this.current(_)===T?(this.advance(_),!0):!1},zt.validateRegExpFlags=function(y){for(var T=y.validFlags,_=y.flags,I=0;I<_.length;I++){var z=_.charAt(I);T.indexOf(z)===-1&&this.raise(y.start,"Invalid regular expression flag"),_.indexOf(z,I+1)>-1&&this.raise(y.start,"Duplicate regular expression flag")}},zt.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&y.groupNames.length>0&&(y.switchN=!0,this.regexp_pattern(y))},zt.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 T=0,_=y.backReferenceNames;T<_.length;T+=1){var I=_[T];y.groupNames.indexOf(I)===-1&&y.raise("Invalid named capture referenced")}},zt.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")},zt.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},zt.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},zt.regexp_eatAssertion=function(y){var T=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=T}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=T,!1},zt.regexp_eatQuantifier=function(y,T){return T===void 0&&(T=!1),this.regexp_eatQuantifierPrefix(y,T)?(y.eat(63),!0):!1},zt.regexp_eatQuantifierPrefix=function(y,T){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,T)},zt.regexp_eatBracedQuantifier=function(y,T){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&&!T&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!T&&y.raise("Incomplete quantifier"),y.pos=_}return!1},zt.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)},zt.regexp_eatReverseSolidusAtomEscape=function(y){var T=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=T}return!1},zt.regexp_eatUncapturingGroup=function(y){var T=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=T}return!1},zt.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},zt.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)},zt.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},zt.regexp_eatSyntaxCharacter=function(y){var T=y.current();return eQ(T)?(y.lastIntValue=T,y.advance(),!0):!1};function eQ(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}zt.regexp_eatPatternCharacters=function(y){for(var T=y.pos,_=0;(_=y.current())!==-1&&!eQ(_);)y.advance();return y.pos!==T},zt.regexp_eatExtendedPatternCharacter=function(y){var T=y.current();return T!==-1&&T!==36&&!(T>=40&&T<=43)&&T!==46&&T!==63&&T!==91&&T!==94&&T!==124?(y.advance(),!0):!1},zt.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")}},zt.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},zt.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=Ne(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=Ne(y.lastIntValue);return!0}return!1},zt.regexp_eatRegExpIdentifierStart=function(y){var T=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),$Ne(I)?(y.lastIntValue=I,!0):(y.pos=T,!1)};function $Ne(y){return d(y,!0)||y===36||y===95}zt.regexp_eatRegExpIdentifierPart=function(y){var T=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),KNe(I)?(y.lastIntValue=I,!0):(y.pos=T,!1)};function KNe(y){return f(y,!0)||y===36||y===95||y===8204||y===8205}zt.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)},zt.regexp_eatBackReference=function(y){var T=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=T}return!1},zt.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},zt.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)},zt.regexp_eatCControlLetter=function(y){var T=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=T}return!1},zt.regexp_eatZero=function(y){return y.current()===48&&!Zw(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},zt.regexp_eatControlEscape=function(y){var T=y.current();return T===116?(y.lastIntValue=9,y.advance(),!0):T===110?(y.lastIntValue=10,y.advance(),!0):T===118?(y.lastIntValue=11,y.advance(),!0):T===102?(y.lastIntValue=12,y.advance(),!0):T===114?(y.lastIntValue=13,y.advance(),!0):!1},zt.regexp_eatControlLetter=function(y){var T=y.current();return tQ(T)?(y.lastIntValue=T%32,y.advance(),!0):!1};function tQ(y){return y>=65&&y<=90||y>=97&&y<=122}zt.regexp_eatRegExpUnicodeEscapeSequence=function(y,T){T===void 0&&(T=!1);var _=y.pos,I=T||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var z=y.lastIntValue;if(I&&z>=55296&&z<=56319){var be=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var Ee=y.lastIntValue;if(Ee>=56320&&Ee<=57343)return y.lastIntValue=(z-55296)*1024+(Ee-56320)+65536,!0}y.pos=be,y.lastIntValue=z}return!0}if(I&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&WNe(y.lastIntValue))return!0;I&&y.raise("Invalid unicode escape"),y.pos=_}return!1};function WNe(y){return y>=0&&y<=1114111}zt.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var T=y.current();return T!==99&&(!y.switchN||T!==107)?(y.lastIntValue=T,y.advance(),!0):!1},zt.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var T=y.current();if(T>=49&&T<=57){do y.lastIntValue=10*y.lastIntValue+(T-48),y.advance();while((T=y.current())>=48&&T<=57);return!0}return!1},zt.regexp_eatCharacterClassEscape=function(y){var T=y.current();if(GNe(T))return y.lastIntValue=-1,y.advance(),!0;if(y.switchU&&this.options.ecmaVersion>=9&&(T===80||T===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 GNe(y){return y===100||y===68||y===115||y===83||y===119||y===87}zt.regexp_eatUnicodePropertyValueExpression=function(y){var T=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=T,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var z=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,z),!0}return!1},zt.regexp_validateUnicodePropertyNameAndValue=function(y,T,_){ze(y.unicodeProperties.nonBinary,T)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[T].test(_)||y.raise("Invalid property value")},zt.regexp_validateUnicodePropertyNameOrValue=function(y,T){y.unicodeProperties.binary.test(T)||y.raise("Invalid property name")},zt.regexp_eatUnicodePropertyName=function(y){var T=0;for(y.lastStringValue="";rQ(T=y.current());)y.lastStringValue+=Ne(T),y.advance();return y.lastStringValue!==""};function rQ(y){return tQ(y)||y===95}zt.regexp_eatUnicodePropertyValue=function(y){var T=0;for(y.lastStringValue="";zNe(T=y.current());)y.lastStringValue+=Ne(T),y.advance();return y.lastStringValue!==""};function zNe(y){return rQ(y)||Zw(y)}zt.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},zt.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},zt.regexp_classRanges=function(y){for(;this.regexp_eatClassAtom(y);){var T=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var _=y.lastIntValue;y.switchU&&(T===-1||_===-1)&&y.raise("Invalid character class"),T!==-1&&_!==-1&&T>_&&y.raise("Range out of order in character class")}}},zt.regexp_eatClassAtom=function(y){var T=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var _=y.current();(_===99||nQ(_))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=T}var I=y.current();return I!==93?(y.lastIntValue=I,y.advance(),!0):!1},zt.regexp_eatClassEscape=function(y){var T=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=T}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},zt.regexp_eatClassControlLetter=function(y){var T=y.current();return Zw(T)||T===95?(y.lastIntValue=T%32,y.advance(),!0):!1},zt.regexp_eatHexEscapeSequence=function(y){var T=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=T}return!1},zt.regexp_eatDecimalDigits=function(y){var T=y.pos,_=0;for(y.lastIntValue=0;Zw(_=y.current());)y.lastIntValue=10*y.lastIntValue+(_-48),y.advance();return y.pos!==T};function Zw(y){return y>=48&&y<=57}zt.regexp_eatHexDigits=function(y){var T=y.pos,_=0;for(y.lastIntValue=0;iQ(_=y.current());)y.lastIntValue=16*y.lastIntValue+sQ(_),y.advance();return y.pos!==T};function iQ(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function sQ(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}zt.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var T=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var _=y.lastIntValue;T<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=T*64+_*8+y.lastIntValue:y.lastIntValue=T*8+_}else y.lastIntValue=T;return!0}return!1},zt.regexp_eatOctalDigit=function(y){var T=y.current();return nQ(T)?(y.lastIntValue=T-48,y.advance(),!0):(y.lastIntValue=0,!1)};function nQ(y){return y>=48&&y<=55}zt.regexp_eatFixedHexDigits=function(y,T){var _=y.pos;y.lastIntValue=0;for(var I=0;I<T;++I){var z=y.current();if(!iQ(z))return y.pos=_,!1;y.lastIntValue=16*y.lastIntValue+sQ(z),y.advance()}return!0};var eA=function(T){this.type=T.type,this.value=T.value,this.start=T.start,this.end=T.end,T.options.locations&&(this.loc=new ue(T,T.startLoc,T.endLoc)),T.options.ranges&&(this.range=[T.start,T.end])},Yr=Pe.prototype;Yr.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 eA(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Yr.getToken=function(){return this.next(),new eA(this)},typeof Symbol<"u"&&(Yr[Symbol.iterator]=function(){var y=this;return{next:function(){var T=y.getToken();return{done:T.type===v.eof,value:T}}}}),Yr.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())},Yr.readToken=function(y){return d(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},Yr.fullCharCodeAtPos=function(){var y=this.input.charCodeAt(this.pos);if(y<=55295||y>=56320)return y;var T=this.input.charCodeAt(this.pos+1);return T<=56319||T>=57344?y:(y<<10)+T-56613888},Yr.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),T=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=T;(I=K(this.input,z,this.pos))>-1;)++this.curLine,z=this.lineStart=I;this.options.onComment&&this.options.onComment(!0,this.input.slice(T+2,_),T,this.pos,y,this.curPosition())},Yr.skipLineComment=function(y){for(var T=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(T+y,this.pos),T,this.pos,_,this.curPosition())},Yr.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}}},Yr.finishToken=function(y,T){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var _=this.type;this.type=y,this.value=T,this.updateContext(_)},Yr.readToken_dot=function(){var y=this.input.charCodeAt(this.pos+1);if(y>=48&&y<=57)return this.readNumber(!0);var T=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&T===46?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot))},Yr.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)},Yr.readToken_mult_modulo_exp=function(y){var T=this.input.charCodeAt(this.pos+1),_=1,I=y===42?v.star:v.modulo;return this.options.ecmaVersion>=7&&y===42&&T===42&&(++_,I=v.starstar,T=this.input.charCodeAt(this.pos+2)),T===61?this.finishOp(v.assign,_+1):this.finishOp(I,_)},Yr.readToken_pipe_amp=function(y){var T=this.input.charCodeAt(this.pos+1);if(T===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 T===61?this.finishOp(v.assign,2):this.finishOp(y===124?v.bitwiseOR:v.bitwiseAND,1)},Yr.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},Yr.readToken_plus_min=function(y){var T=this.input.charCodeAt(this.pos+1);return T===y?T===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):T===61?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},Yr.readToken_lt_gt=function(y){var T=this.input.charCodeAt(this.pos+1),_=1;return T===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,_)):T===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()):(T===61&&(_=2),this.finishOp(v.relational,_))},Yr.readToken_eq_excl=function(y){var T=this.input.charCodeAt(this.pos+1);return T===61?this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&T===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(y===61?v.eq:v.prefix,1)},Yr.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var T=this.input.charCodeAt(this.pos+1);if(T===46){var _=this.input.charCodeAt(this.pos+2);if(_<48||_>57)return this.finishOp(v.questionDot,2)}if(T===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)},Yr.readToken_numberSign=function(){var y=this.options.ecmaVersion,T=35;if(y>=13&&(++this.pos,T=this.fullCharCodeAtPos(),d(T,!0)||T===92))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ne(T)+"'")},Yr.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 T=this.input.charCodeAt(this.pos+1);if(T===120||T===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(T===111||T===79)return this.readRadixNumber(8);if(T===98||T===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(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 '"+Ne(y)+"'")},Yr.finishOp=function(y,T){var _=this.input.slice(this.pos,this.pos+T);return this.pos+=T,this.finishToken(y,_)},Yr.readRegexp=function(){for(var y,T,_=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==="[")T=!0;else if(I==="]"&&T)T=!1;else if(I==="/"&&!T)break;y=I==="\\"}++this.pos}var z=this.input.slice(_,this.pos);++this.pos;var be=this.pos,Ee=this.readWord1();this.containsEsc&&this.unexpected(be);var Je=this.regexpState||(this.regexpState=new op(this));Je.reset(_,z,Ee),this.validateRegExpFlags(Je),this.validateRegExpPattern(Je);var ut=null;try{ut=new RegExp(z,Ee)}catch{}return this.finishToken(v.regexp,{pattern:z,flags:Ee,value:ut})},Yr.readInt=function(y,T,_){for(var I=this.options.ecmaVersion>=12&&T===void 0,z=_&&this.input.charCodeAt(this.pos)===48,be=this.pos,Ee=0,Je=0,ut=0,wr=T==null?1/0:T;ut<wr;++ut,++this.pos){var Wr=this.input.charCodeAt(this.pos),aa=void 0;if(I&&Wr===95){z&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Je===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),ut===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Je=Wr;continue}if(Wr>=97?aa=Wr-97+10:Wr>=65?aa=Wr-65+10:Wr>=48&&Wr<=57?aa=Wr-48:aa=1/0,aa>=y)break;Je=Wr,Ee=Ee*y+aa}return I&&Je===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===be||T!=null&&this.pos-be!==T?null:Ee};function HNe(y,T){return T?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function aQ(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}Yr.readRadixNumber=function(y){var T=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?(_=aQ(this.input.slice(T,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,_)},Yr.readNumber=function(y){var T=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(T,"Invalid number");var _=this.pos-T>=2&&this.input.charCodeAt(T)===48;_&&this.strict&&this.raise(T,"Invalid number");var I=this.input.charCodeAt(this.pos);if(!_&&!y&&this.options.ecmaVersion>=11&&I===110){var z=aQ(this.input.slice(T,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(T,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(T,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var be=HNe(this.input.slice(T,this.pos),_);return this.finishToken(v.num,be)},Yr.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),T;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var _=++this.pos;T=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,T>1114111&&this.invalidStringToken(_,"Code point out of bounds")}else T=this.readHexChar(4);return T},Yr.readString=function(y){for(var T="",_=++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?(T+=this.input.slice(_,this.pos),T+=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 T+=this.input.slice(_,this.pos++),this.finishToken(v.string,T)};var oQ={};Yr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===oQ)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},Yr.invalidStringToken=function(y,T){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw oQ;this.raise(y,T)},Yr.readTmplToken=function(){for(var y="",T=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(T,this.pos),this.finishToken(v.template,y));if(_===92)y+=this.input.slice(T,this.pos),y+=this.readEscapedChar(!0),T=this.pos;else if(C(_)){switch(y+=this.input.slice(T,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.`)),T.ecmaVersion=11):T.ecmaVersion>=2015&&(T.ecmaVersion-=2009),T.allowReserved==null&&(T.allowReserved=T.ecmaVersion<5),(!y||y.allowHashBang==null)&&(T.allowHashBang=T.ecmaVersion>=14),ae(T.onToken)){var I=T.onToken;T.onToken=function(z){return I.push(z)}}return ae(T.onComment)&&(T.onComment=Ae(T,T.onComment)),T}function Ae(y,T){return function(_,I,z,be,Ee,Je){var ut={type:_?"Block":"Line",value:I,start:z,end:be};y.locations&&(ut.loc=new ue(this,Ee,Je)),y.ranges&&(ut.range=[z,be]),T.push(ut)}}var Ve=1,ye=2,pe=4,le=8,Be=16,Se=32,De=64,st=128,Lt=256,mt=Ve|ye|Lt;function er(y,T){return ye|(y?pe:0)|(T?le:0)}var Er=0,Cr=1,mi=2,ls=3,ge=4,je=5,Pe=function(T,_,I){this.options=T=we(T),this.sourceFile=T.sourceFile,this.keywords=ne(o[T.ecmaVersion>=6?6:T.sourceType==="module"?"5module":5]);var z="";T.allowReserved!==!0&&(z=n[T.ecmaVersion>=6?6:T.ecmaVersion===5?5:3],T.sourceType==="module"&&(z+=" await")),this.reservedWords=ne(z);var be=(z?z+" ":"")+n.strict;this.reservedWordsStrict=ne(be),this.reservedWordsStrictBind=ne(be+" "+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=T.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&T.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ve),this.regexpState=null,this.privateNameStack=[]},He={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}};Pe.prototype.parse=function(){var T=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(T)},He.inFunction.get=function(){return(this.currentVarScope().flags&ye)>0},He.inGenerator.get=function(){return(this.currentVarScope().flags&le)>0&&!this.currentVarScope().inClassFieldInit},He.inAsync.get=function(){return(this.currentVarScope().flags&pe)>0&&!this.currentVarScope().inClassFieldInit},He.canAwait.get=function(){for(var y=this.scopeStack.length-1;y>=0;y--){var T=this.scopeStack[y];if(T.inClassFieldInit||T.flags&Lt)return!1;if(T.flags&ye)return(T.flags&pe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},He.allowSuper.get=function(){var y=this.currentThisScope(),T=y.flags,_=y.inClassFieldInit;return(T&De)>0||_||this.options.allowSuperOutsideMethod},He.allowDirectSuper.get=function(){return(this.currentThisScope().flags&st)>0},He.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},He.allowNewDotTarget.get=function(){var y=this.currentThisScope(),T=y.flags,_=y.inClassFieldInit;return(T&(ye|Lt))>0||_},He.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Lt)>0},Pe.extend=function(){for(var T=[],_=arguments.length;_--;)T[_]=arguments[_];for(var I=this,z=0;z<T.length;z++)I=T[z](I);return I},Pe.parse=function(T,_){return new this(_,T).parse()},Pe.parseExpressionAt=function(T,_,I){var z=new this(I,T,_);return z.nextToken(),z.parseExpression()},Pe.tokenizer=function(T,_){return new this(_,T)},Object.defineProperties(Pe.prototype,He);var yt=Pe.prototype,Et=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;yt.strictDirective=function(y){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=y,y+=Q.exec(this.input)[0].length;var T=Et.exec(this.input.slice(y));if(!T)return!1;if((T[1]||T[2])==="use strict"){Q.lastIndex=y+T[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+=T[0].length,Q.lastIndex=y,y+=Q.exec(this.input)[0].length,this.input[y]===";"&&y++}},yt.eat=function(y){return this.type===y?(this.next(),!0):!1},yt.isContextual=function(y){return this.type===v.name&&this.value===y&&!this.containsEsc},yt.eatContextual=function(y){return this.isContextual(y)?(this.next(),!0):!1},yt.expectContextual=function(y){this.eatContextual(y)||this.unexpected()},yt.canInsertSemicolon=function(){return this.type===v.eof||this.type===v.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},yt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},yt.semicolon=function(){!this.eat(v.semi)&&!this.insertSemicolon()&&this.unexpected()},yt.afterTrailingComma=function(y,T){if(this.type===y)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),T||this.next(),!0},yt.expect=function(y){this.eat(y)||this.unexpected()},yt.unexpected=function(y){this.raise(y!=null?y:this.start,"Unexpected token")};var hr=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};yt.checkPatternErrors=function(y,T){if(y){y.trailingComma>-1&&this.raiseRecoverable(y.trailingComma,"Comma is not permitted after the rest element");var _=T?y.parenthesizedAssign:y.parenthesizedBind;_>-1&&this.raiseRecoverable(_,T?"Assigning to rvalue":"Parenthesized pattern")}},yt.checkExpressionErrors=function(y,T){if(!y)return!1;var _=y.shorthandAssign,I=y.doubleProto;if(!T)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")},yt.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},yt.isSimpleAssignTarget=function(y){return y.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(y.expression):y.type==="Identifier"||y.type==="MemberExpression"};var et=Pe.prototype;et.parseTopLevel=function(y){var T=Object.create(null);for(y.body||(y.body=[]);this.type!==v.eof;){var _=this.parseStatement(null,!0,T);y.body.push(_)}if(this.inModule)for(var I=0,z=Object.keys(this.undefinedExports);I<z.length;I+=1){var be=z[I];this.raiseRecoverable(this.undefinedExports[be].start,"Export '"+be+"' is not defined")}return this.adaptDirectivePrologue(y.body),this.next(),y.sourceType=this.options.sourceType,this.finishNode(y,"Program")};var Wt={kind:"loop"},nt={kind:"switch"};et.isLet=function(y){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var T=Q.exec(this.input),_=this.pos+T[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 be=this.input.slice(_,z);if(!l.test(be))return!0}return!1},et.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var y=Q.exec(this.input),T=this.pos+y[0].length,_;return!w.test(this.input.slice(this.pos,T))&&this.input.slice(T,T+8)==="function"&&(T+8===this.input.length||!(f(_=this.input.charCodeAt(T+8))||_>55295&&_<56320))},et.parseStatement=function(y,T,_){var I=this.type,z=this.startNode(),be;switch(this.isLet(y)&&(I=v._var,be="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 be=be||this.value,y&&be!=="var"&&this.unexpected(),this.parseVarStatement(z,be);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 Ee=Q.exec(this.input),Je=this.pos+Ee[0].length,ut=this.input.charCodeAt(Je);if(ut===40||ut===46)return this.parseExpressionStatement(z,this.parseExpression())}return this.options.allowImportExportEverywhere||(T||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),I===v._import?this.parseImport(z):this.parseExport(z,_);default:if(this.isAsyncFunction())return y&&this.unexpected(),this.next(),this.parseFunctionStatement(z,!0,!y);var wr=this.value,Wr=this.parseExpression();return I===v.name&&Wr.type==="Identifier"&&this.eat(v.colon)?this.parseLabeledStatement(z,wr,Wr,y):this.parseExpressionStatement(z,Wr)}},et.parseBreakContinueStatement=function(y,T){var _=T==="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 "+T),this.finishNode(y,_?"BreakStatement":"ContinueStatement")},et.parseDebuggerStatement=function(y){return this.next(),this.semicolon(),this.finishNode(y,"DebuggerStatement")},et.parseDoStatement=function(y){return this.next(),this.labels.push(Wt),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")},et.parseForStatement=function(y){this.next();var T=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Wt),this.enterScope(0),this.expect(v.parenL),this.type===v.semi)return T>-1&&this.unexpected(T),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?T>-1&&this.unexpected(T):y.await=T>-1),this.parseForIn(y,I)):(T>-1&&this.unexpected(T),this.parseFor(y,I))}var be=this.isContextual("let"),Ee=!1,Je=new hr,ut=this.parseExpression(T>-1?"await":!0,Je);return this.type===v._in||(Ee=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===v._in?T>-1&&this.unexpected(T):y.await=T>-1),be&&Ee&&this.raise(ut.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(ut,!1,Je),this.checkLValPattern(ut),this.parseForIn(y,ut)):(this.checkExpressionErrors(Je,!0),T>-1&&this.unexpected(T),this.parseFor(y,ut))},et.parseFunctionStatement=function(y,T,_){return this.next(),this.parseFunction(y,vr|(_?0:Dr),!1,T)},et.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")},et.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")},et.parseSwitchStatement=function(y){this.next(),y.discriminant=this.parseParenExpression(),y.cases=[],this.expect(v.braceL),this.labels.push(nt),this.enterScope(0);for(var T,_=!1;this.type!==v.braceR;)if(this.type===v._case||this.type===v._default){var I=this.type===v._case;T&&this.finishNode(T,"SwitchCase"),y.cases.push(T=this.startNode()),T.consequent=[],this.next(),I?T.test=this.parseExpression():(_&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),_=!0,T.test=null),this.expect(v.colon)}else T||this.unexpected(),T.consequent.push(this.parseStatement(null));return this.exitScope(),T&&this.finishNode(T,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(y,"SwitchStatement")},et.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 Xt=[];et.parseTryStatement=function(y){if(this.next(),y.block=this.parseBlock(),y.handler=null,this.type===v._catch){var T=this.startNode();if(this.next(),this.eat(v.parenL)){T.param=this.parseBindingAtom();var _=T.param.type==="Identifier";this.enterScope(_?Se:0),this.checkLValPattern(T.param,_?ge:mi),this.expect(v.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),T.param=null,this.enterScope(0);T.body=this.parseBlock(!1),this.exitScope(),y.handler=this.finishNode(T,"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")},et.parseVarStatement=function(y,T){return this.next(),this.parseVar(y,!1,T),this.semicolon(),this.finishNode(y,"VariableDeclaration")},et.parseWhileStatement=function(y){return this.next(),y.test=this.parseParenExpression(),this.labels.push(Wt),y.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(y,"WhileStatement")},et.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")},et.parseEmptyStatement=function(y){return this.next(),this.finishNode(y,"EmptyStatement")},et.parseLabeledStatement=function(y,T,_,I){for(var z=0,be=this.labels;z<be.length;z+=1){var Ee=be[z];Ee.name===T&&this.raise(_.start,"Label '"+T+"' is already declared")}for(var Je=this.type.isLoop?"loop":this.type===v._switch?"switch":null,ut=this.labels.length-1;ut>=0;ut--){var wr=this.labels[ut];if(wr.statementStart===y.start)wr.statementStart=this.start,wr.kind=Je;else break}return this.labels.push({name:T,kind:Je,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")},et.parseExpressionStatement=function(y,T){return y.expression=T,this.semicolon(),this.finishNode(y,"ExpressionStatement")},et.parseBlock=function(y,T,_){for(y===void 0&&(y=!0),T===void 0&&(T=this.startNode()),T.body=[],this.expect(v.braceL),y&&this.enterScope(0);this.type!==v.braceR;){var I=this.parseStatement(null);T.body.push(I)}return _&&(this.strict=!1),this.next(),y&&this.exitScope(),this.finishNode(T,"BlockStatement")},et.parseFor=function(y,T){return y.init=T,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")},et.parseForIn=function(y,T){var _=this.type===v._in;return this.next(),T.type==="VariableDeclaration"&&T.declarations[0].init!=null&&(!_||this.options.ecmaVersion<8||this.strict||T.kind!=="var"||T.declarations[0].id.type!=="Identifier")&&this.raise(T.start,(_?"for-in":"for-of")+" loop variable declaration may not have an initializer"),y.left=T,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")},et.parseVar=function(y,T,_){for(y.declarations=[],y.kind=_;;){var I=this.startNode();if(this.parseVarId(I,_),this.eat(v.eq)?I.init=this.parseMaybeAssign(T):_==="const"&&!(this.type===v._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():I.id.type!=="Identifier"&&!(T&&(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},et.parseVarId=function(y,T){y.id=this.parseBindingAtom(),this.checkLValPattern(y.id,T==="var"?Cr:mi,!1)};var vr=1,Dr=2,ys=4;et.parseFunction=function(y,T,_,I,z){this.initFunction(y),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!I)&&(this.type===v.star&&T&Dr&&this.unexpected(),y.generator=this.eat(v.star)),this.options.ecmaVersion>=8&&(y.async=!!I),T&vr&&(y.id=T&ys&&this.type!==v.name?null:this.parseIdent(),y.id&&!(T&Dr)&&this.checkLValSimple(y.id,this.strict||y.generator||y.async?this.treatFunctionsAsVar?Cr:mi:ls));var be=this.yieldPos,Ee=this.awaitPos,Je=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(er(y.async,y.generator)),T&vr||(y.id=this.type===v.name?this.parseIdent():null),this.parseFunctionParams(y),this.parseFunctionBody(y,_,!1,z),this.yieldPos=be,this.awaitPos=Ee,this.awaitIdentPos=Je,this.finishNode(y,T&vr?"FunctionDeclaration":"FunctionExpression")},et.parseFunctionParams=function(y){this.expect(v.parenL),y.params=this.parseBindingList(v.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},et.parseClass=function(y,T){this.next();var _=this.strict;this.strict=!0,this.parseClassId(y,T),this.parseClassSuper(y);var I=this.enterClassBody(),z=this.startNode(),be=!1;for(z.body=[],this.expect(v.braceL);this.type!==v.braceR;){var Ee=this.parseClassElement(y.superClass!==null);Ee&&(z.body.push(Ee),Ee.type==="MethodDefinition"&&Ee.kind==="constructor"?(be&&this.raise(Ee.start,"Duplicate constructor in the same class"),be=!0):Ee.key&&Ee.key.type==="PrivateIdentifier"&&ao(I,Ee)&&this.raiseRecoverable(Ee.key.start,"Identifier '#"+Ee.key.name+"' has already been declared"))}return this.strict=_,this.next(),y.body=this.finishNode(z,"ClassBody"),this.exitClassBody(),this.finishNode(y,T?"ClassDeclaration":"ClassExpression")},et.parseClassElement=function(y){if(this.eat(v.semi))return null;var T=this.options.ecmaVersion,_=this.startNode(),I="",z=!1,be=!1,Ee="method",Je=!1;if(this.eatContextual("static")){if(T>=13&&this.eat(v.braceL))return this.parseClassStaticBlock(_),_;this.isClassElementNameStart()||this.type===v.star?Je=!0:I="static"}if(_.static=Je,!I&&T>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===v.star)&&!this.canInsertSemicolon()?be=!0:I="async"),!I&&(T>=9||!be)&&this.eat(v.star)&&(z=!0),!I&&!be&&!z){var ut=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Ee=ut:I=ut)}if(I?(_.computed=!1,_.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),_.key.name=I,this.finishNode(_.key,"Identifier")):this.parseClassElementName(_),T<13||this.type===v.parenL||Ee!=="method"||z||be){var wr=!_.static&&oo(_,"constructor"),Wr=wr&&y;wr&&Ee!=="method"&&this.raise(_.key.start,"Constructor can't have get/set modifier"),_.kind=wr?"constructor":Ee,this.parseClassMethod(_,z,be,Wr)}else this.parseClassField(_);return _},et.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},et.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)},et.parseClassMethod=function(y,T,_,I){var z=y.key;y.kind==="constructor"?(T&&this.raise(z.start,"Constructor can't be a generator"),_&&this.raise(z.start,"Constructor can't be an async method")):y.static&&oo(y,"prototype")&&this.raise(z.start,"Classes may not have a static property named prototype");var be=y.value=this.parseMethod(T,_,I);return y.kind==="get"&&be.params.length!==0&&this.raiseRecoverable(be.start,"getter should have no params"),y.kind==="set"&&be.params.length!==1&&this.raiseRecoverable(be.start,"setter should have exactly one param"),y.kind==="set"&&be.params[0].type==="RestElement"&&this.raiseRecoverable(be.params[0].start,"Setter cannot use rest params"),this.finishNode(y,"MethodDefinition")},et.parseClassField=function(y){if(oo(y,"constructor")?this.raise(y.key.start,"Classes can't have a field named 'constructor'"):y.static&&oo(y,"prototype")&&this.raise(y.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.eq)){var T=this.currentThisScope(),_=T.inClassFieldInit;T.inClassFieldInit=!0,y.value=this.parseMaybeAssign(),T.inClassFieldInit=_}else y.value=null;return this.semicolon(),this.finishNode(y,"PropertyDefinition")},et.parseClassStaticBlock=function(y){y.body=[];var T=this.labels;for(this.labels=[],this.enterScope(Lt|De);this.type!==v.braceR;){var _=this.parseStatement(null);y.body.push(_)}return this.next(),this.exitScope(),this.labels=T,this.finishNode(y,"StaticBlock")},et.parseClassId=function(y,T){this.type===v.name?(y.id=this.parseIdent(),T&&this.checkLValSimple(y.id,mi,!1)):(T===!0&&this.unexpected(),y.id=null)},et.parseClassSuper=function(y){y.superClass=this.eat(v._extends)?this.parseExprSubscripts(null,!1):null},et.enterClassBody=function(){var y={declared:Object.create(null),used:[]};return this.privateNameStack.push(y),y.declared},et.exitClassBody=function(){for(var y=this.privateNameStack.pop(),T=y.declared,_=y.used,I=this.privateNameStack.length,z=I===0?null:this.privateNameStack[I-1],be=0;be<_.length;++be){var Ee=_[be];ze(T,Ee.name)||(z?z.used.push(Ee):this.raiseRecoverable(Ee.start,"Private field '#"+Ee.name+"' must be declared in an enclosing class"))}};function ao(y,T){var _=T.key.name,I=y[_],z="true";return T.type==="MethodDefinition"&&(T.kind==="get"||T.kind==="set")&&(z=(T.static?"s":"i")+T.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 oo(y,T){var _=y.computed,I=y.key;return!_&&(I.type==="Identifier"&&I.name===T||I.type==="Literal"&&I.value===T)}et.parseExport=function(y,T){if(this.next(),this.eat(v.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(y.exported=this.parseModuleExportName(),this.checkExport(T,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(T,"default",this.lastTokStart);var _;if(this.type===v._function||(_=this.isAsyncFunction())){var I=this.startNode();this.next(),_&&this.next(),y.declaration=this.parseFunction(I,vr|ys,!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(T,y.declaration.declarations):this.checkExport(T,y.declaration.id,y.declaration.id.start),y.specifiers=[],y.source=null;else{if(y.declaration=null,y.specifiers=this.parseExportSpecifiers(T),this.eatContextual("from"))this.type!==v.string&&this.unexpected(),y.source=this.parseExprAtom();else{for(var be=0,Ee=y.specifiers;be<Ee.length;be+=1){var Je=Ee[be];this.checkUnreserved(Je.local),this.checkLocalExport(Je.local),Je.local.type==="Literal"&&this.raise(Je.local.start,"A string literal cannot be used as an exported binding without `from`.")}y.source=null}this.semicolon()}return this.finishNode(y,"ExportNamedDeclaration")},et.checkExport=function(y,T,_){y&&(typeof T!="string"&&(T=T.type==="Identifier"?T.name:T.value),ze(y,T)&&this.raiseRecoverable(_,"Duplicate export '"+T+"'"),y[T]=!0)},et.checkPatternExport=function(y,T){var _=T.type;if(_==="Identifier")this.checkExport(y,T,T.start);else if(_==="ObjectPattern")for(var I=0,z=T.properties;I<z.length;I+=1){var be=z[I];this.checkPatternExport(y,be)}else if(_==="ArrayPattern")for(var Ee=0,Je=T.elements;Ee<Je.length;Ee+=1){var ut=Je[Ee];ut&&this.checkPatternExport(y,ut)}else _==="Property"?this.checkPatternExport(y,T.value):_==="AssignmentPattern"?this.checkPatternExport(y,T.left):_==="RestElement"?this.checkPatternExport(y,T.argument):_==="ParenthesizedExpression"&&this.checkPatternExport(y,T.expression)},et.checkVariableExport=function(y,T){if(y)for(var _=0,I=T;_<I.length;_+=1){var z=I[_];this.checkPatternExport(y,z.id)}},et.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},et.parseExportSpecifiers=function(y){var T=[],_=!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),T.push(this.finishNode(I,"ExportSpecifier"))}return T},et.parseImport=function(y){return this.next(),this.type===v.string?(y.specifiers=Xt,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")},et.parseImportSpecifiers=function(){var y=[],T=!0;if(this.type===v.name){var _=this.startNode();if(_.local=this.parseIdent(),this.checkLValSimple(_.local,mi),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,mi),y.push(this.finishNode(I,"ImportNamespaceSpecifier")),y}for(this.expect(v.braceL);!this.eat(v.braceR);){if(T)T=!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,mi),y.push(this.finishNode(z,"ImportSpecifier"))}return y},et.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)},et.adaptDirectivePrologue=function(y){for(var T=0;T<y.length&&this.isDirectiveCandidate(y[T]);++T)y[T].directive=y[T].expression.raw.slice(1,-1)},et.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 pn=Pe.prototype;pn.toAssignable=function(y,T,_){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 be=z[I];this.toAssignable(be,T),be.type==="RestElement"&&(be.argument.type==="ArrayPattern"||be.argument.type==="ObjectPattern")&&this.raise(be.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,T);break;case"ArrayExpression":y.type="ArrayPattern",_&&this.checkPatternErrors(_,!0),this.toAssignableList(y.elements,T);break;case"SpreadElement":y.type="RestElement",this.toAssignable(y.argument,T),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,T);break;case"ParenthesizedExpression":this.toAssignable(y.expression,T,_);break;case"ChainExpression":this.raiseRecoverable(y.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!T)break;default:this.raise(y.start,"Assigning to rvalue")}else _&&this.checkPatternErrors(_,!0);return y},pn.toAssignableList=function(y,T){for(var _=y.length,I=0;I<_;I++){var z=y[I];z&&this.toAssignable(z,T)}if(_){var be=y[_-1];this.options.ecmaVersion===6&&T&&be&&be.type==="RestElement"&&be.argument.type!=="Identifier"&&this.unexpected(be.argument.start)}return y},pn.parseSpread=function(y){var T=this.startNode();return this.next(),T.argument=this.parseMaybeAssign(!1,y),this.finishNode(T,"SpreadElement")},pn.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")},pn.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()},pn.parseBindingList=function(y,T,_){for(var I=[],z=!0;!this.eat(y);)if(z?z=!1:this.expect(v.comma),T&&this.type===v.comma)I.push(null);else{if(_&&this.afterTrailingComma(y))break;if(this.type===v.ellipsis){var be=this.parseRestBinding();this.parseBindingListItem(be),I.push(be),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(y);break}else{var Ee=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(Ee),I.push(Ee)}}return I},pn.parseBindingListItem=function(y){return y},pn.parseMaybeDefault=function(y,T,_){if(_=_||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(v.eq))return _;var I=this.startNodeAt(y,T);return I.left=_,I.right=this.parseMaybeAssign(),this.finishNode(I,"AssignmentPattern")},pn.checkLValSimple=function(y,T,_){T===void 0&&(T=Er);var I=T!==Er;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&&(T===mi&&y.name==="let"&&this.raiseRecoverable(y.start,"let is disallowed as a lexically bound name"),_&&(ze(_,y.name)&&this.raiseRecoverable(y.start,"Argument name clash"),_[y.name]=!0),T!==je&&this.declareName(y.name,T,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,T,_);default:this.raise(y.start,(I?"Binding":"Assigning to")+" rvalue")}},pn.checkLValPattern=function(y,T,_){switch(T===void 0&&(T=Er),y.type){case"ObjectPattern":for(var I=0,z=y.properties;I<z.length;I+=1){var be=z[I];this.checkLValInnerPattern(be,T,_)}break;case"ArrayPattern":for(var Ee=0,Je=y.elements;Ee<Je.length;Ee+=1){var ut=Je[Ee];ut&&this.checkLValInnerPattern(ut,T,_)}break;default:this.checkLValSimple(y,T,_)}},pn.checkLValInnerPattern=function(y,T,_){switch(T===void 0&&(T=Er),y.type){case"Property":this.checkLValInnerPattern(y.value,T,_);break;case"AssignmentPattern":this.checkLValPattern(y.left,T,_);break;case"RestElement":this.checkLValPattern(y.argument,T,_);break;default:this.checkLValPattern(y,T,_)}};var Js=function(T,_,I,z,be){this.token=T,this.isExpr=!!_,this.preserveSpace=!!I,this.override=z,this.generator=!!be},Ni={b_stat:new Js("{",!1),b_expr:new Js("{",!0),b_tmpl:new Js("${",!1),p_stat:new Js("(",!1),p_expr:new Js("(",!0),q_tmpl:new Js("`",!0,!0,function(y){return y.tryReadTemplateToken()}),f_stat:new Js("function",!1),f_expr:new Js("function",!0),f_expr_gen:new Js("function",!0,!1,null,!0),f_gen:new Js("function",!1,!1,null,!0)},he=Pe.prototype;he.initialContext=function(){return[Ni.b_stat]},he.curContext=function(){return this.context[this.context.length-1]},he.braceIsBlock=function(y){var T=this.curContext();return T===Ni.f_expr||T===Ni.f_stat?!0:y===v.colon&&(T===Ni.b_stat||T===Ni.b_expr)?!T.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?T===Ni.b_stat:y===v._var||y===v._const||y===v.name?!1:!this.exprAllowed},he.inGeneratorContext=function(){for(var y=this.context.length-1;y>=1;y--){var T=this.context[y];if(T.token==="function")return T.generator}return!1},he.updateContext=function(y){var T,_=this.type;_.keyword&&y===v.dot?this.exprAllowed=!1:(T=_.updateContext)?T.call(this,y):this.exprAllowed=_.beforeExpr},he.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===Ni.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)?Ni.b_stat:Ni.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(Ni.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(y){var T=y===v._if||y===v._for||y===v._with||y===v._while;this.context.push(T?Ni.p_stat:Ni.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()!==Ni.p_stat)&&!(y===v._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((y===v.colon||y===v.braceL)&&this.curContext()===Ni.b_stat)?this.context.push(Ni.f_expr):this.context.push(Ni.f_stat),this.exprAllowed=!1},v.backQuote.updateContext=function(){this.curContext()===Ni.q_tmpl?this.context.pop():this.context.push(Ni.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(y){if(y===v._function){var T=this.context.length-1;this.context[T]===Ni.f_expr?this.context[T]=Ni.f_expr_gen:this.context[T]=Ni.f_gen}this.exprAllowed=!0},v.name.updateContext=function(y){var T=!1;this.options.ecmaVersion>=6&&y!==v.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(T=!0),this.exprAllowed=T};var oe=Pe.prototype;oe.checkPropClash=function(y,T,_){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 be=y.kind;if(this.options.ecmaVersion>=6){z==="__proto__"&&be==="init"&&(T.proto&&(_?_.doubleProto<0&&(_.doubleProto=I.start):this.raiseRecoverable(I.start,"Redefinition of __proto__ property")),T.proto=!0);return}z="$"+z;var Ee=T[z];if(Ee){var Je;be==="init"?Je=this.strict&&Ee.init||Ee.get||Ee.set:Je=Ee.init||Ee[be],Je&&this.raiseRecoverable(I.start,"Redefinition of property")}else Ee=T[z]={init:!1,get:!1,set:!1};Ee[be]=!0}},oe.parseExpression=function(y,T){var _=this.start,I=this.startLoc,z=this.parseMaybeAssign(y,T);if(this.type===v.comma){var be=this.startNodeAt(_,I);for(be.expressions=[z];this.eat(v.comma);)be.expressions.push(this.parseMaybeAssign(y,T));return this.finishNode(be,"SequenceExpression")}return z},oe.parseMaybeAssign=function(y,T,_){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(y);this.exprAllowed=!1}var I=!1,z=-1,be=-1,Ee=-1;T?(z=T.parenthesizedAssign,be=T.trailingComma,Ee=T.doubleProto,T.parenthesizedAssign=T.trailingComma=-1):(T=new hr,I=!0);var Je=this.start,ut=this.startLoc;(this.type===v.parenL||this.type===v.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=y==="await");var wr=this.parseMaybeConditional(y,T);if(_&&(wr=_.call(this,wr,Je,ut)),this.type.isAssign){var Wr=this.startNodeAt(Je,ut);return Wr.operator=this.value,this.type===v.eq&&(wr=this.toAssignable(wr,!1,T)),I||(T.parenthesizedAssign=T.trailingComma=T.doubleProto=-1),T.shorthandAssign>=wr.start&&(T.shorthandAssign=-1),this.type===v.eq?this.checkLValPattern(wr):this.checkLValSimple(wr),Wr.left=wr,this.next(),Wr.right=this.parseMaybeAssign(y),Ee>-1&&(T.doubleProto=Ee),this.finishNode(Wr,"AssignmentExpression")}else I&&this.checkExpressionErrors(T,!0);return z>-1&&(T.parenthesizedAssign=z),be>-1&&(T.trailingComma=be),wr},oe.parseMaybeConditional=function(y,T){var _=this.start,I=this.startLoc,z=this.parseExprOps(y,T);if(this.checkExpressionErrors(T))return z;if(this.eat(v.question)){var be=this.startNodeAt(_,I);return be.test=z,be.consequent=this.parseMaybeAssign(),this.expect(v.colon),be.alternate=this.parseMaybeAssign(y),this.finishNode(be,"ConditionalExpression")}return z},oe.parseExprOps=function(y,T){var _=this.start,I=this.startLoc,z=this.parseMaybeUnary(T,!1,!1,y);return this.checkExpressionErrors(T)||z.start===_&&z.type==="ArrowFunctionExpression"?z:this.parseExprOp(z,_,I,-1,y)},oe.parseExprOp=function(y,T,_,I,z){var be=this.type.binop;if(be!=null&&(!z||this.type!==v._in)&&be>I){var Ee=this.type===v.logicalOR||this.type===v.logicalAND,Je=this.type===v.coalesce;Je&&(be=v.logicalAND.binop);var ut=this.value;this.next();var wr=this.start,Wr=this.startLoc,aa=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,z),wr,Wr,be,z),um=this.buildBinary(T,_,y,aa,ut,Ee||Je);return(Ee&&this.type===v.coalesce||Je&&(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(um,T,_,I,z)}return y},oe.buildBinary=function(y,T,_,I,z,be){I.type==="PrivateIdentifier"&&this.raise(I.start,"Private identifier can only be left side of binary expression");var Ee=this.startNodeAt(y,T);return Ee.left=_,Ee.operator=z,Ee.right=I,this.finishNode(Ee,be?"LogicalExpression":"BinaryExpression")},oe.parseMaybeUnary=function(y,T,_,I){var z=this.start,be=this.startLoc,Ee;if(this.isContextual("await")&&this.canAwait)Ee=this.parseAwait(I),T=!0;else if(this.type.prefix){var Je=this.startNode(),ut=this.type===v.incDec;Je.operator=this.value,Je.prefix=!0,this.next(),Je.argument=this.parseMaybeUnary(null,!0,ut,I),this.checkExpressionErrors(y,!0),ut?this.checkLValSimple(Je.argument):this.strict&&Je.operator==="delete"&&Je.argument.type==="Identifier"?this.raiseRecoverable(Je.start,"Deleting local variable in strict mode"):Je.operator==="delete"&&Ye(Je.argument)?this.raiseRecoverable(Je.start,"Private fields can not be deleted"):T=!0,Ee=this.finishNode(Je,ut?"UpdateExpression":"UnaryExpression")}else if(!T&&this.type===v.privateId)(I||this.privateNameStack.length===0)&&this.unexpected(),Ee=this.parsePrivateIdent(),this.type!==v._in&&this.unexpected();else{if(Ee=this.parseExprSubscripts(y,I),this.checkExpressionErrors(y))return Ee;for(;this.type.postfix&&!this.canInsertSemicolon();){var wr=this.startNodeAt(z,be);wr.operator=this.value,wr.prefix=!1,wr.argument=Ee,this.checkLValSimple(Ee),this.next(),Ee=this.finishNode(wr,"UpdateExpression")}}if(!_&&this.eat(v.starstar))if(T)this.unexpected(this.lastTokStart);else return this.buildBinary(z,be,Ee,this.parseMaybeUnary(null,!1,!1,I),"**",!1);else return Ee};function Ye(y){return y.type==="MemberExpression"&&y.property.type==="PrivateIdentifier"||y.type==="ChainExpression"&&Ye(y.expression)}oe.parseExprSubscripts=function(y,T){var _=this.start,I=this.startLoc,z=this.parseExprAtom(y,T);if(z.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return z;var be=this.parseSubscripts(z,_,I,!1,T);return y&&be.type==="MemberExpression"&&(y.parenthesizedAssign>=be.start&&(y.parenthesizedAssign=-1),y.parenthesizedBind>=be.start&&(y.parenthesizedBind=-1),y.trailingComma>=be.start&&(y.trailingComma=-1)),be},oe.parseSubscripts=function(y,T,_,I,z){for(var be=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,Ee=!1;;){var Je=this.parseSubscript(y,T,_,I,be,Ee,z);if(Je.optional&&(Ee=!0),Je===y||Je.type==="ArrowFunctionExpression"){if(Ee){var ut=this.startNodeAt(T,_);ut.expression=Je,Je=this.finishNode(ut,"ChainExpression")}return Je}y=Je}},oe.parseSubscript=function(y,T,_,I,z,be,Ee){var Je=this.options.ecmaVersion>=11,ut=Je&&this.eat(v.questionDot);I&&ut&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var wr=this.eat(v.bracketL);if(wr||ut&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var Wr=this.startNodeAt(T,_);Wr.object=y,wr?(Wr.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.privateId&&y.type!=="Super"?Wr.property=this.parsePrivateIdent():Wr.property=this.parseIdent(this.options.allowReserved!=="never"),Wr.computed=!!wr,Je&&(Wr.optional=ut),y=this.finishNode(Wr,"MemberExpression")}else if(!I&&this.eat(v.parenL)){var aa=new hr,um=this.yieldPos,e2=this.awaitPos,e1=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var tA=this.parseExprList(v.parenR,this.options.ecmaVersion>=8,!1,aa);if(z&&!ut&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(aa,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=um,this.awaitPos=e2,this.awaitIdentPos=e1,this.parseArrowExpression(this.startNodeAt(T,_),tA,!0,Ee);this.checkExpressionErrors(aa,!0),this.yieldPos=um||this.yieldPos,this.awaitPos=e2||this.awaitPos,this.awaitIdentPos=e1||this.awaitIdentPos;var t1=this.startNodeAt(T,_);t1.callee=y,t1.arguments=tA,Je&&(t1.optional=ut),y=this.finishNode(t1,"CallExpression")}else if(this.type===v.backQuote){(ut||be)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var r1=this.startNodeAt(T,_);r1.tag=y,r1.quasi=this.parseTemplate({isTagged:!0}),y=this.finishNode(r1,"TaggedTemplateExpression")}return y},oe.parseExprAtom=function(y,T){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,be=this.startLoc,Ee=this.containsEsc,Je=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ee&&Je.name==="async"&&!this.canInsertSemicolon()&&this.eat(v._function))return this.overrideContext(Ni.f_expr),this.parseFunction(this.startNodeAt(z,be),0,!1,!0,T);if(I&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(z,be),[Je],!1,T);if(this.options.ecmaVersion>=8&&Je.name==="async"&&this.type===v.name&&!Ee&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Je=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(v.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(z,be),[Je],!0,T)}return Je;case v.regexp:var ut=this.value;return _=this.parseLiteral(ut.value),_.regex={pattern:ut.pattern,flags:ut.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 wr=this.start,Wr=this.parseParenAndDistinguishExpression(I,T);return y&&(y.parenthesizedAssign<0&&!this.isSimpleAssignTarget(Wr)&&(y.parenthesizedAssign=wr),y.parenthesizedBind<0&&(y.parenthesizedBind=wr)),Wr;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(Ni.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 T=this.parseIdent(!0);switch(this.type){case v.parenL:return this.parseDynamicImport(y);case v.dot:return y.meta=T,this.parseImportMeta(y);default:this.unexpected()}},oe.parseDynamicImport=function(y){if(this.next(),y.source=this.parseMaybeAssign(),!this.eat(v.parenR)){var T=this.start;this.eat(v.comma)&&this.eat(v.parenR)?this.raiseRecoverable(T,"Trailing comma is not allowed in import()"):this.unexpected(T)}return this.finishNode(y,"ImportExpression")},oe.parseImportMeta=function(y){this.next();var T=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'"),T&&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 T=this.startNode();return T.value=y,T.raw=this.input.slice(this.start,this.end),T.raw.charCodeAt(T.raw.length-1)===110&&(T.bigint=T.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(T,"Literal")},oe.parseParenExpression=function(){this.expect(v.parenL);var y=this.parseExpression();return this.expect(v.parenR),y},oe.parseParenAndDistinguishExpression=function(y,T){var _=this.start,I=this.startLoc,z,be=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Ee=this.start,Je=this.startLoc,ut=[],wr=!0,Wr=!1,aa=new hr,um=this.yieldPos,e2=this.awaitPos,e1;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;)if(wr?wr=!1:this.expect(v.comma),be&&this.afterTrailingComma(v.parenR,!0)){Wr=!0;break}else if(this.type===v.ellipsis){e1=this.start,ut.push(this.parseParenItem(this.parseRestBinding())),this.type===v.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else ut.push(this.parseMaybeAssign(!1,aa,this.parseParenItem));var tA=this.lastTokEnd,t1=this.lastTokEndLoc;if(this.expect(v.parenR),y&&!this.canInsertSemicolon()&&this.eat(v.arrow))return this.checkPatternErrors(aa,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=um,this.awaitPos=e2,this.parseParenArrowList(_,I,ut,T);(!ut.length||Wr)&&this.unexpected(this.lastTokStart),e1&&this.unexpected(e1),this.checkExpressionErrors(aa,!0),this.yieldPos=um||this.yieldPos,this.awaitPos=e2||this.awaitPos,ut.length>1?(z=this.startNodeAt(Ee,Je),z.expressions=ut,this.finishNodeAt(z,"SequenceExpression",tA,t1)):z=ut[0]}else z=this.parseParenExpression();if(this.options.preserveParens){var r1=this.startNodeAt(_,I);return r1.expression=z,this.finishNode(r1,"ParenthesizedExpression")}else return z},oe.parseParenItem=function(y){return y},oe.parseParenArrowList=function(y,T,_,I){return this.parseArrowExpression(this.startNodeAt(y,T),_,!1,I)};var mr=[];oe.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var y=this.startNode(),T=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(v.dot)){y.meta=T;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,be=this.type===v._import;return y.callee=this.parseSubscripts(this.parseExprAtom(),I,z,!0,!1),be&&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=mr,this.finishNode(y,"NewExpression")},oe.parseTemplateElement=function(y){var T=y.isTagged,_=this.startNode();return this.type===v.invalidTemplate?(T||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 T=y.isTagged;T===void 0&&(T=!1);var _=this.startNode();this.next(),_.expressions=[];var I=this.parseTemplateElement({isTagged:T});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:T}));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,T){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 be=this.parseProperty(y,T);y||this.checkPropClash(be,z,T),_.properties.push(be)}return this.finishNode(_,y?"ObjectPattern":"ObjectExpression")},oe.parseProperty=function(y,T){var _=this.startNode(),I,z,be,Ee;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,T),this.type===v.comma&&T&&T.trailingComma<0&&(T.trailingComma=this.start),this.finishNode(_,"SpreadElement"));this.options.ecmaVersion>=6&&(_.method=!1,_.shorthand=!1,(y||T)&&(be=this.start,Ee=this.startLoc),y||(I=this.eat(v.star)));var Je=this.containsEsc;return this.parsePropertyName(_),!y&&!Je&&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,be,Ee,T,Je),this.finishNode(_,"Property")},oe.parsePropertyValue=function(y,T,_,I,z,be,Ee,Je){if((_||I)&&this.type===v.colon&&this.unexpected(),this.eat(v.colon))y.value=T?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Ee),y.kind="init";else if(this.options.ecmaVersion>=6&&this.type===v.parenL)T&&this.unexpected(),y.kind="init",y.method=!0,y.value=this.parseMethod(_,I);else if(!T&&!Je&&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 ut=y.kind==="get"?0:1;if(y.value.params.length!==ut){var wr=y.value.start;y.kind==="get"?this.raiseRecoverable(wr,"getter should have no params"):this.raiseRecoverable(wr,"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",T?y.value=this.parseMaybeDefault(z,be,this.copyNode(y.key)):this.type===v.eq&&Ee?(Ee.shorthandAssign<0&&(Ee.shorthandAssign=this.start),y.value=this.parseMaybeDefault(z,be,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,T,_){var I=this.startNode(),z=this.yieldPos,be=this.awaitPos,Ee=this.awaitIdentPos;return this.initFunction(I),this.options.ecmaVersion>=6&&(I.generator=y),this.options.ecmaVersion>=8&&(I.async=!!T),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(er(T,I.generator)|De|(_?st: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=be,this.awaitIdentPos=Ee,this.finishNode(I,"FunctionExpression")},oe.parseArrowExpression=function(y,T,_,I){var z=this.yieldPos,be=this.awaitPos,Ee=this.awaitIdentPos;return this.enterScope(er(_,!1)|Be),this.initFunction(y),this.options.ecmaVersion>=8&&(y.async=!!_),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,y.params=this.toAssignableList(T,!0),this.parseFunctionBody(y,!0,!1,I),this.yieldPos=z,this.awaitPos=be,this.awaitIdentPos=Ee,this.finishNode(y,"ArrowFunctionExpression")},oe.parseFunctionBody=function(y,T,_,I){var z=T&&this.type!==v.braceL,be=this.strict,Ee=!1;if(z)y.body=this.parseMaybeAssign(I),y.expression=!0,this.checkParams(y,!1);else{var Je=this.options.ecmaVersion>=7&&!this.isSimpleParamList(y.params);(!be||Je)&&(Ee=this.strictDirective(this.end),Ee&&Je&&this.raiseRecoverable(y.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var ut=this.labels;this.labels=[],Ee&&(this.strict=!0),this.checkParams(y,!be&&!Ee&&!T&&!_&&this.isSimpleParamList(y.params)),this.strict&&y.id&&this.checkLValSimple(y.id,je),y.body=this.parseBlock(!1,void 0,Ee&&!be),y.expression=!1,this.adaptDirectivePrologue(y.body.body),this.labels=ut}this.exitScope()},oe.isSimpleParamList=function(y){for(var T=0,_=y;T<_.length;T+=1){var I=_[T];if(I.type!=="Identifier")return!1}return!0},oe.checkParams=function(y,T){for(var _=Object.create(null),I=0,z=y.params;I<z.length;I+=1){var be=z[I];this.checkLValInnerPattern(be,Cr,T?null:_)}},oe.parseExprList=function(y,T,_,I){for(var z=[],be=!0;!this.eat(y);){if(be)be=!1;else if(this.expect(v.comma),T&&this.afterTrailingComma(y))break;var Ee=void 0;_&&this.type===v.comma?Ee=null:this.type===v.ellipsis?(Ee=this.parseSpread(I),I&&this.type===v.comma&&I.trailingComma<0&&(I.trailingComma=this.start)):Ee=this.parseMaybeAssign(!1,I),z.push(Ee)}return z},oe.checkUnreserved=function(y){var T=y.start,_=y.end,I=y.name;if(this.inGenerator&&I==="yield"&&this.raiseRecoverable(T,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&I==="await"&&this.raiseRecoverable(T,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&I==="arguments"&&this.raiseRecoverable(T,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(I==="arguments"||I==="await")&&this.raise(T,"Cannot use "+I+" in class static initialization block"),this.keywords.test(I)&&this.raise(T,"Unexpected keyword '"+I+"'"),!(this.options.ecmaVersion<6&&this.input.slice(T,_).indexOf("\\")!==-1)){var z=this.strict?this.reservedWordsStrict:this.reservedWords;z.test(I)&&(!this.inAsync&&I==="await"&&this.raiseRecoverable(T,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(T,"The keyword '"+I+"' is reserved"))}},oe.parseIdent=function(y){var T=this.startNode();return this.type===v.name?T.name=this.value:this.type.keyword?(T.name=this.type.keyword,(T.name==="class"||T.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!y),this.finishNode(T,"Identifier"),y||(this.checkUnreserved(T),T.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=T.start)),T},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 T=this.startNode();return this.next(),this.type===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(T.delegate=!1,T.argument=null):(T.delegate=this.eat(v.star),T.argument=this.parseMaybeAssign(y)),this.finishNode(T,"YieldExpression")},oe.parseAwait=function(y){this.awaitPos||(this.awaitPos=this.start);var T=this.startNode();return this.next(),T.argument=this.parseMaybeUnary(null,!0,!1,y),this.finishNode(T,"AwaitExpression")};var Xs=Pe.prototype;Xs.raise=function(y,T){var _=Me(this.input,y);T+=" ("+_.line+":"+_.column+")";var I=new SyntaxError(T);throw I.pos=y,I.loc=_,I.raisedAt=this.pos,I},Xs.raiseRecoverable=Xs.raise,Xs.curPosition=function(){if(this.options.locations)return new xt(this.curLine,this.pos-this.lineStart)};var na=Pe.prototype,su=function(T){this.flags=T,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};na.enterScope=function(y){this.scopeStack.push(new su(y))},na.exitScope=function(){this.scopeStack.pop()},na.treatFunctionsAsVarInScope=function(y){return y.flags&ye||!this.inModule&&y.flags&Ve},na.declareName=function(y,T,_){var I=!1;if(T===mi){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&Ve&&delete this.undefinedExports[y]}else if(T===ge){var be=this.currentScope();be.lexical.push(y)}else if(T===ls){var Ee=this.currentScope();this.treatFunctionsAsVar?I=Ee.lexical.indexOf(y)>-1:I=Ee.lexical.indexOf(y)>-1||Ee.var.indexOf(y)>-1,Ee.functions.push(y)}else for(var Je=this.scopeStack.length-1;Je>=0;--Je){var ut=this.scopeStack[Je];if(ut.lexical.indexOf(y)>-1&&!(ut.flags&Se&&ut.lexical[0]===y)||!this.treatFunctionsAsVarInScope(ut)&&ut.functions.indexOf(y)>-1){I=!0;break}if(ut.var.push(y),this.inModule&&ut.flags&Ve&&delete this.undefinedExports[y],ut.flags&mt)break}I&&this.raiseRecoverable(_,"Identifier '"+y+"' has already been declared")},na.checkLocalExport=function(y){this.scopeStack[0].lexical.indexOf(y.name)===-1&&this.scopeStack[0].var.indexOf(y.name)===-1&&(this.undefinedExports[y.name]=y)},na.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},na.currentVarScope=function(){for(var y=this.scopeStack.length-1;;y--){var T=this.scopeStack[y];if(T.flags&mt)return T}},na.currentThisScope=function(){for(var y=this.scopeStack.length-1;;y--){var T=this.scopeStack[y];if(T.flags&mt&&!(T.flags&Be))return T}};var ec=function(T,_,I){this.type="",this.start=_,this.end=0,T.options.locations&&(this.loc=new ue(T,I)),T.options.directSourceFile&&(this.sourceFile=T.options.directSourceFile),T.options.ranges&&(this.range=[_,0])},ed=Pe.prototype;ed.startNode=function(){return new ec(this,this.start,this.startLoc)},ed.startNodeAt=function(y,T){return new ec(this,y,T)};function Qv(y,T,_,I){return y.type=T,y.end=_,this.options.locations&&(y.loc.end=I),this.options.ranges&&(y.range[1]=_),y}ed.finishNode=function(y,T){return Qv.call(this,y,T,this.lastTokEnd,this.lastTokEndLoc)},ed.finishNodeAt=function(y,T,_,I){return Qv.call(this,y,T,_,I)},ed.copyNode=function(y){var T=new ec(this,y.start,this.startLoc);for(var _ in y)T[_]=y[_];return T};var Zv="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",qX=Zv+" Extended_Pictographic",$X=qX,KX=$X+" EBase EComp EMod EPres ExtPict",WX=KX,BNe=WX,MNe={9:Zv,10:qX,11:$X,12:KX,13:WX,14:BNe},GX="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",zX="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",HX=zX+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",YX=HX+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",JX=YX+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",XX=JX+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",jNe=XX+" Kawi Nag_Mundari Nagm",VNe={9:zX,10:HX,11:YX,12:JX,13:XX,14:jNe},QX={};function UNe(y){var T=QX[y]={binary:ne(MNe[y]+" "+GX),nonBinary:{General_Category:ne(GX),Script:ne(VNe[y])}};T.nonBinary.Script_Extensions=T.nonBinary.Script,T.nonBinary.gc=T.nonBinary.General_Category,T.nonBinary.sc=T.nonBinary.Script,T.nonBinary.scx=T.nonBinary.Script_Extensions}for(var gI=0,ZX=[9,10,11,12,13,14];gI<ZX.length;gI+=1){var qNe=ZX[gI];UNe(qNe)}var zt=Pe.prototype,op=function(T){this.parser=T,this.validFlags="gim"+(T.options.ecmaVersion>=6?"uy":"")+(T.options.ecmaVersion>=9?"s":"")+(T.options.ecmaVersion>=13?"d":""),this.unicodeProperties=QX[T.options.ecmaVersion>=14?14:T.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=[]};op.prototype.reset=function(T,_,I){var z=I.indexOf("u")!==-1;this.start=T|0,this.source=_+"",this.flags=I,this.switchU=z&&this.parser.options.ecmaVersion>=6,this.switchN=z&&this.parser.options.ecmaVersion>=9},op.prototype.raise=function(T){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+T)},op.prototype.at=function(T,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(T>=z)return-1;var be=I.charCodeAt(T);if(!(_||this.switchU)||be<=55295||be>=57344||T+1>=z)return be;var Ee=I.charCodeAt(T+1);return Ee>=56320&&Ee<=57343?(be<<10)+Ee-56613888:be},op.prototype.nextIndex=function(T,_){_===void 0&&(_=!1);var I=this.source,z=I.length;if(T>=z)return z;var be=I.charCodeAt(T),Ee;return!(_||this.switchU)||be<=55295||be>=57344||T+1>=z||(Ee=I.charCodeAt(T+1))<56320||Ee>57343?T+1:T+2},op.prototype.current=function(T){return T===void 0&&(T=!1),this.at(this.pos,T)},op.prototype.lookahead=function(T){return T===void 0&&(T=!1),this.at(this.nextIndex(this.pos,T),T)},op.prototype.advance=function(T){T===void 0&&(T=!1),this.pos=this.nextIndex(this.pos,T)},op.prototype.eat=function(T,_){return _===void 0&&(_=!1),this.current(_)===T?(this.advance(_),!0):!1},zt.validateRegExpFlags=function(y){for(var T=y.validFlags,_=y.flags,I=0;I<_.length;I++){var z=_.charAt(I);T.indexOf(z)===-1&&this.raise(y.start,"Invalid regular expression flag"),_.indexOf(z,I+1)>-1&&this.raise(y.start,"Duplicate regular expression flag")}},zt.validateRegExpPattern=function(y){this.regexp_pattern(y),!y.switchN&&this.options.ecmaVersion>=9&&y.groupNames.length>0&&(y.switchN=!0,this.regexp_pattern(y))},zt.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 T=0,_=y.backReferenceNames;T<_.length;T+=1){var I=_[T];y.groupNames.indexOf(I)===-1&&y.raise("Invalid named capture referenced")}},zt.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")},zt.regexp_alternative=function(y){for(;y.pos<y.source.length&&this.regexp_eatTerm(y););},zt.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},zt.regexp_eatAssertion=function(y){var T=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=T}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=T,!1},zt.regexp_eatQuantifier=function(y,T){return T===void 0&&(T=!1),this.regexp_eatQuantifierPrefix(y,T)?(y.eat(63),!0):!1},zt.regexp_eatQuantifierPrefix=function(y,T){return y.eat(42)||y.eat(43)||y.eat(63)||this.regexp_eatBracedQuantifier(y,T)},zt.regexp_eatBracedQuantifier=function(y,T){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&&!T&&y.raise("numbers out of order in {} quantifier"),!0;y.switchU&&!T&&y.raise("Incomplete quantifier"),y.pos=_}return!1},zt.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)},zt.regexp_eatReverseSolidusAtomEscape=function(y){var T=y.pos;if(y.eat(92)){if(this.regexp_eatAtomEscape(y))return!0;y.pos=T}return!1},zt.regexp_eatUncapturingGroup=function(y){var T=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=T}return!1},zt.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},zt.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)},zt.regexp_eatInvalidBracedQuantifier=function(y){return this.regexp_eatBracedQuantifier(y,!0)&&y.raise("Nothing to repeat"),!1},zt.regexp_eatSyntaxCharacter=function(y){var T=y.current();return eQ(T)?(y.lastIntValue=T,y.advance(),!0):!1};function eQ(y){return y===36||y>=40&&y<=43||y===46||y===63||y>=91&&y<=94||y>=123&&y<=125}zt.regexp_eatPatternCharacters=function(y){for(var T=y.pos,_=0;(_=y.current())!==-1&&!eQ(_);)y.advance();return y.pos!==T},zt.regexp_eatExtendedPatternCharacter=function(y){var T=y.current();return T!==-1&&T!==36&&!(T>=40&&T<=43)&&T!==46&&T!==63&&T!==91&&T!==94&&T!==124?(y.advance(),!0):!1},zt.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")}},zt.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},zt.regexp_eatRegExpIdentifierName=function(y){if(y.lastStringValue="",this.regexp_eatRegExpIdentifierStart(y)){for(y.lastStringValue+=Ne(y.lastIntValue);this.regexp_eatRegExpIdentifierPart(y);)y.lastStringValue+=Ne(y.lastIntValue);return!0}return!1},zt.regexp_eatRegExpIdentifierStart=function(y){var T=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),$Ne(I)?(y.lastIntValue=I,!0):(y.pos=T,!1)};function $Ne(y){return d(y,!0)||y===36||y===95}zt.regexp_eatRegExpIdentifierPart=function(y){var T=y.pos,_=this.options.ecmaVersion>=11,I=y.current(_);return y.advance(_),I===92&&this.regexp_eatRegExpUnicodeEscapeSequence(y,_)&&(I=y.lastIntValue),KNe(I)?(y.lastIntValue=I,!0):(y.pos=T,!1)};function KNe(y){return f(y,!0)||y===36||y===95||y===8204||y===8205}zt.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)},zt.regexp_eatBackReference=function(y){var T=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=T}return!1},zt.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},zt.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)},zt.regexp_eatCControlLetter=function(y){var T=y.pos;if(y.eat(99)){if(this.regexp_eatControlLetter(y))return!0;y.pos=T}return!1},zt.regexp_eatZero=function(y){return y.current()===48&&!Zw(y.lookahead())?(y.lastIntValue=0,y.advance(),!0):!1},zt.regexp_eatControlEscape=function(y){var T=y.current();return T===116?(y.lastIntValue=9,y.advance(),!0):T===110?(y.lastIntValue=10,y.advance(),!0):T===118?(y.lastIntValue=11,y.advance(),!0):T===102?(y.lastIntValue=12,y.advance(),!0):T===114?(y.lastIntValue=13,y.advance(),!0):!1},zt.regexp_eatControlLetter=function(y){var T=y.current();return tQ(T)?(y.lastIntValue=T%32,y.advance(),!0):!1};function tQ(y){return y>=65&&y<=90||y>=97&&y<=122}zt.regexp_eatRegExpUnicodeEscapeSequence=function(y,T){T===void 0&&(T=!1);var _=y.pos,I=T||y.switchU;if(y.eat(117)){if(this.regexp_eatFixedHexDigits(y,4)){var z=y.lastIntValue;if(I&&z>=55296&&z<=56319){var be=y.pos;if(y.eat(92)&&y.eat(117)&&this.regexp_eatFixedHexDigits(y,4)){var Ee=y.lastIntValue;if(Ee>=56320&&Ee<=57343)return y.lastIntValue=(z-55296)*1024+(Ee-56320)+65536,!0}y.pos=be,y.lastIntValue=z}return!0}if(I&&y.eat(123)&&this.regexp_eatHexDigits(y)&&y.eat(125)&&WNe(y.lastIntValue))return!0;I&&y.raise("Invalid unicode escape"),y.pos=_}return!1};function WNe(y){return y>=0&&y<=1114111}zt.regexp_eatIdentityEscape=function(y){if(y.switchU)return this.regexp_eatSyntaxCharacter(y)?!0:y.eat(47)?(y.lastIntValue=47,!0):!1;var T=y.current();return T!==99&&(!y.switchN||T!==107)?(y.lastIntValue=T,y.advance(),!0):!1},zt.regexp_eatDecimalEscape=function(y){y.lastIntValue=0;var T=y.current();if(T>=49&&T<=57){do y.lastIntValue=10*y.lastIntValue+(T-48),y.advance();while((T=y.current())>=48&&T<=57);return!0}return!1},zt.regexp_eatCharacterClassEscape=function(y){var T=y.current();if(GNe(T))return y.lastIntValue=-1,y.advance(),!0;if(y.switchU&&this.options.ecmaVersion>=9&&(T===80||T===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 GNe(y){return y===100||y===68||y===115||y===83||y===119||y===87}zt.regexp_eatUnicodePropertyValueExpression=function(y){var T=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=T,this.regexp_eatLoneUnicodePropertyNameOrValue(y)){var z=y.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(y,z),!0}return!1},zt.regexp_validateUnicodePropertyNameAndValue=function(y,T,_){ze(y.unicodeProperties.nonBinary,T)||y.raise("Invalid property name"),y.unicodeProperties.nonBinary[T].test(_)||y.raise("Invalid property value")},zt.regexp_validateUnicodePropertyNameOrValue=function(y,T){y.unicodeProperties.binary.test(T)||y.raise("Invalid property name")},zt.regexp_eatUnicodePropertyName=function(y){var T=0;for(y.lastStringValue="";rQ(T=y.current());)y.lastStringValue+=Ne(T),y.advance();return y.lastStringValue!==""};function rQ(y){return tQ(y)||y===95}zt.regexp_eatUnicodePropertyValue=function(y){var T=0;for(y.lastStringValue="";zNe(T=y.current());)y.lastStringValue+=Ne(T),y.advance();return y.lastStringValue!==""};function zNe(y){return rQ(y)||Zw(y)}zt.regexp_eatLoneUnicodePropertyNameOrValue=function(y){return this.regexp_eatUnicodePropertyValue(y)},zt.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},zt.regexp_classRanges=function(y){for(;this.regexp_eatClassAtom(y);){var T=y.lastIntValue;if(y.eat(45)&&this.regexp_eatClassAtom(y)){var _=y.lastIntValue;y.switchU&&(T===-1||_===-1)&&y.raise("Invalid character class"),T!==-1&&_!==-1&&T>_&&y.raise("Range out of order in character class")}}},zt.regexp_eatClassAtom=function(y){var T=y.pos;if(y.eat(92)){if(this.regexp_eatClassEscape(y))return!0;if(y.switchU){var _=y.current();(_===99||nQ(_))&&y.raise("Invalid class escape"),y.raise("Invalid escape")}y.pos=T}var I=y.current();return I!==93?(y.lastIntValue=I,y.advance(),!0):!1},zt.regexp_eatClassEscape=function(y){var T=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=T}return this.regexp_eatCharacterClassEscape(y)||this.regexp_eatCharacterEscape(y)},zt.regexp_eatClassControlLetter=function(y){var T=y.current();return Zw(T)||T===95?(y.lastIntValue=T%32,y.advance(),!0):!1},zt.regexp_eatHexEscapeSequence=function(y){var T=y.pos;if(y.eat(120)){if(this.regexp_eatFixedHexDigits(y,2))return!0;y.switchU&&y.raise("Invalid escape"),y.pos=T}return!1},zt.regexp_eatDecimalDigits=function(y){var T=y.pos,_=0;for(y.lastIntValue=0;Zw(_=y.current());)y.lastIntValue=10*y.lastIntValue+(_-48),y.advance();return y.pos!==T};function Zw(y){return y>=48&&y<=57}zt.regexp_eatHexDigits=function(y){var T=y.pos,_=0;for(y.lastIntValue=0;iQ(_=y.current());)y.lastIntValue=16*y.lastIntValue+sQ(_),y.advance();return y.pos!==T};function iQ(y){return y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102}function sQ(y){return y>=65&&y<=70?10+(y-65):y>=97&&y<=102?10+(y-97):y-48}zt.regexp_eatLegacyOctalEscapeSequence=function(y){if(this.regexp_eatOctalDigit(y)){var T=y.lastIntValue;if(this.regexp_eatOctalDigit(y)){var _=y.lastIntValue;T<=3&&this.regexp_eatOctalDigit(y)?y.lastIntValue=T*64+_*8+y.lastIntValue:y.lastIntValue=T*8+_}else y.lastIntValue=T;return!0}return!1},zt.regexp_eatOctalDigit=function(y){var T=y.current();return nQ(T)?(y.lastIntValue=T-48,y.advance(),!0):(y.lastIntValue=0,!1)};function nQ(y){return y>=48&&y<=55}zt.regexp_eatFixedHexDigits=function(y,T){var _=y.pos;y.lastIntValue=0;for(var I=0;I<T;++I){var z=y.current();if(!iQ(z))return y.pos=_,!1;y.lastIntValue=16*y.lastIntValue+sQ(z),y.advance()}return!0};var eA=function(T){this.type=T.type,this.value=T.value,this.start=T.start,this.end=T.end,T.options.locations&&(this.loc=new ue(T,T.startLoc,T.endLoc)),T.options.ranges&&(this.range=[T.start,T.end])},Yr=Pe.prototype;Yr.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 eA(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Yr.getToken=function(){return this.next(),new eA(this)},typeof Symbol<"u"&&(Yr[Symbol.iterator]=function(){var y=this;return{next:function(){var T=y.getToken();return{done:T.type===v.eof,value:T}}}}),Yr.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())},Yr.readToken=function(y){return d(y,this.options.ecmaVersion>=6)||y===92?this.readWord():this.getTokenFromCode(y)},Yr.fullCharCodeAtPos=function(){var y=this.input.charCodeAt(this.pos);if(y<=55295||y>=56320)return y;var T=this.input.charCodeAt(this.pos+1);return T<=56319||T>=57344?y:(y<<10)+T-56613888},Yr.skipBlockComment=function(){var y=this.options.onComment&&this.curPosition(),T=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=T;(I=K(this.input,z,this.pos))>-1;)++this.curLine,z=this.lineStart=I;this.options.onComment&&this.options.onComment(!0,this.input.slice(T+2,_),T,this.pos,y,this.curPosition())},Yr.skipLineComment=function(y){for(var T=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(T+y,this.pos),T,this.pos,_,this.curPosition())},Yr.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}}},Yr.finishToken=function(y,T){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var _=this.type;this.type=y,this.value=T,this.updateContext(_)},Yr.readToken_dot=function(){var y=this.input.charCodeAt(this.pos+1);if(y>=48&&y<=57)return this.readNumber(!0);var T=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&y===46&&T===46?(this.pos+=3,this.finishToken(v.ellipsis)):(++this.pos,this.finishToken(v.dot))},Yr.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)},Yr.readToken_mult_modulo_exp=function(y){var T=this.input.charCodeAt(this.pos+1),_=1,I=y===42?v.star:v.modulo;return this.options.ecmaVersion>=7&&y===42&&T===42&&(++_,I=v.starstar,T=this.input.charCodeAt(this.pos+2)),T===61?this.finishOp(v.assign,_+1):this.finishOp(I,_)},Yr.readToken_pipe_amp=function(y){var T=this.input.charCodeAt(this.pos+1);if(T===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 T===61?this.finishOp(v.assign,2):this.finishOp(y===124?v.bitwiseOR:v.bitwiseAND,1)},Yr.readToken_caret=function(){var y=this.input.charCodeAt(this.pos+1);return y===61?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},Yr.readToken_plus_min=function(y){var T=this.input.charCodeAt(this.pos+1);return T===y?T===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):T===61?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},Yr.readToken_lt_gt=function(y){var T=this.input.charCodeAt(this.pos+1),_=1;return T===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,_)):T===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()):(T===61&&(_=2),this.finishOp(v.relational,_))},Yr.readToken_eq_excl=function(y){var T=this.input.charCodeAt(this.pos+1);return T===61?this.finishOp(v.equality,this.input.charCodeAt(this.pos+2)===61?3:2):y===61&&T===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(y===61?v.eq:v.prefix,1)},Yr.readToken_question=function(){var y=this.options.ecmaVersion;if(y>=11){var T=this.input.charCodeAt(this.pos+1);if(T===46){var _=this.input.charCodeAt(this.pos+2);if(_<48||_>57)return this.finishOp(v.questionDot,2)}if(T===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)},Yr.readToken_numberSign=function(){var y=this.options.ecmaVersion,T=35;if(y>=13&&(++this.pos,T=this.fullCharCodeAtPos(),d(T,!0)||T===92))return this.finishToken(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Ne(T)+"'")},Yr.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 T=this.input.charCodeAt(this.pos+1);if(T===120||T===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(T===111||T===79)return this.readRadixNumber(8);if(T===98||T===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(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 '"+Ne(y)+"'")},Yr.finishOp=function(y,T){var _=this.input.slice(this.pos,this.pos+T);return this.pos+=T,this.finishToken(y,_)},Yr.readRegexp=function(){for(var y,T,_=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==="[")T=!0;else if(I==="]"&&T)T=!1;else if(I==="/"&&!T)break;y=I==="\\"}++this.pos}var z=this.input.slice(_,this.pos);++this.pos;var be=this.pos,Ee=this.readWord1();this.containsEsc&&this.unexpected(be);var Je=this.regexpState||(this.regexpState=new op(this));Je.reset(_,z,Ee),this.validateRegExpFlags(Je),this.validateRegExpPattern(Je);var ut=null;try{ut=new RegExp(z,Ee)}catch{}return this.finishToken(v.regexp,{pattern:z,flags:Ee,value:ut})},Yr.readInt=function(y,T,_){for(var I=this.options.ecmaVersion>=12&&T===void 0,z=_&&this.input.charCodeAt(this.pos)===48,be=this.pos,Ee=0,Je=0,ut=0,wr=T==null?1/0:T;ut<wr;++ut,++this.pos){var Wr=this.input.charCodeAt(this.pos),aa=void 0;if(I&&Wr===95){z&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Je===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),ut===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Je=Wr;continue}if(Wr>=97?aa=Wr-97+10:Wr>=65?aa=Wr-65+10:Wr>=48&&Wr<=57?aa=Wr-48:aa=1/0,aa>=y)break;Je=Wr,Ee=Ee*y+aa}return I&&Je===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===be||T!=null&&this.pos-be!==T?null:Ee};function HNe(y,T){return T?parseInt(y,8):parseFloat(y.replace(/_/g,""))}function aQ(y){return typeof BigInt!="function"?null:BigInt(y.replace(/_/g,""))}Yr.readRadixNumber=function(y){var T=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?(_=aQ(this.input.slice(T,this.pos)),++this.pos):d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,_)},Yr.readNumber=function(y){var T=this.pos;!y&&this.readInt(10,void 0,!0)===null&&this.raise(T,"Invalid number");var _=this.pos-T>=2&&this.input.charCodeAt(T)===48;_&&this.strict&&this.raise(T,"Invalid number");var I=this.input.charCodeAt(this.pos);if(!_&&!y&&this.options.ecmaVersion>=11&&I===110){var z=aQ(this.input.slice(T,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(T,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(T,"Invalid number")),d(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var be=HNe(this.input.slice(T,this.pos),_);return this.finishToken(v.num,be)},Yr.readCodePoint=function(){var y=this.input.charCodeAt(this.pos),T;if(y===123){this.options.ecmaVersion<6&&this.unexpected();var _=++this.pos;T=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,T>1114111&&this.invalidStringToken(_,"Code point out of bounds")}else T=this.readHexChar(4);return T},Yr.readString=function(y){for(var T="",_=++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?(T+=this.input.slice(_,this.pos),T+=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 T+=this.input.slice(_,this.pos++),this.finishToken(v.string,T)};var oQ={};Yr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(y){if(y===oQ)this.readInvalidTemplateToken();else throw y}this.inTemplateElement=!1},Yr.invalidStringToken=function(y,T){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw oQ;this.raise(y,T)},Yr.readTmplToken=function(){for(var y="",T=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(T,this.pos),this.finishToken(v.template,y));if(_===92)y+=this.input.slice(T,this.pos),y+=this.readEscapedChar(!0),T=this.pos;else if(C(_)){switch(y+=this.input.slice(T,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),T=this.pos}else++this.pos}},Yr.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")},Yr.readEscapedChar=function(y){var T=this.input.charCodeAt(++this.pos);switch(++this.pos,T){case 110:return`
115
115
  `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ne(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(T>=48&&T<=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,T=this.input.charCodeAt(this.pos),(I!=="0"||T===56||T===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(T)?"":String.fromCharCode(T)}},Yr.readHexChar=function(y){var T=this.pos,_=this.readInt(16,y);return _===null&&this.invalidStringToken(T,"Bad character escape sequence"),_},Yr.readWord1=function(){this.containsEsc=!1;for(var y="",T=!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 be=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Ee=this.readCodePoint();(T?d:f)(Ee,I)||this.invalidStringToken(be,"Invalid Unicode escape"),y+=Ne(Ee),_=this.pos}else break;T=!1}return y+this.input.slice(_,this.pos)},Yr.readWord=function(){var y=this.readWord1(),T=v.name;return this.keywords.test(y)&&(T=S[y]),this.finishToken(T,y)};var lQ="8.8.2";Pe.acorn={Parser:Pe,version:lQ,defaultOptions:Z,Position:xt,SourceLocation:ue,getLineInfo:Me,Node:ec,TokenType:h,tokTypes:v,keywordTypes:S,TokContext:Js,tokContexts:Ni,isIdentifierChar:f,isIdentifierStart:d,Token:eA,isNewLine:C,lineBreak:w,lineBreakG:A,nonASCIIwhitespace:F};function YNe(y,T){return Pe.parse(y,T)}function JNe(y,T,_){return Pe.parseExpressionAt(y,T,_)}function XNe(y,T){return Pe.tokenizer(y,T)}t.Node=ec,t.Parser=Pe,t.Position=xt,t.SourceLocation=ue,t.TokContext=Js,t.Token=eA,t.TokenType=h,t.defaultOptions=Z,t.getLineInfo=Me,t.isIdentifierChar=f,t.isIdentifierStart=d,t.isNewLine=C,t.keywordTypes=S,t.lineBreak=w,t.lineBreakG=A,t.nonASCIIwhitespace=F,t.parse=YNe,t.parseExpressionAt=JNe,t.tokContexts=Ni,t.tokTypes=v,t.tokenizer=XNe,t.version=lQ})});var qoe=E((Dwr,kL)=>{"use strict";var JUe=Moe(),XUe=/^[\da-fA-F]+$/,QUe=/^\d+$/,Voe=new WeakMap;function Uoe(t){t=t.Parser.acorn||t;let e=Voe.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},Voe.set(t,e)}return e}function vS(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 vS(t.object)+"."+vS(t.property)}kL.exports=function(t){return t=t||{},function(e){return ZUe({allowNamespaces:t.allowNamespaces!==!1,allowNamespacedObjects:!!t.allowNamespacedObjects},e)}};Object.defineProperty(kL.exports,"tokTypes",{get:function(){return Uoe(OL()).tokTypes},configurable:!0,enumerable:!0});function ZUe(t,e){let r=e.acorn||OL(),i=Uoe(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?"&gt;":"&rbrace;")+'` 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),XUe.test(f)&&(m=String.fromCharCode(parseInt(f,16)))):(f=f.substr(1),QUe.test(f)&&(m=String.fromCharCode(parseInt(f,10)))):m=JUe[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),S=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)){S=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()}vS(S.name)!==vS(b.name)&&this.raise(S.start,"Expected corresponding JSX closing tag for <"+vS(b.name)+">")}let x=b.name?"Element":"Fragment";return m["opening"+x]=b,m["closing"+x]=S,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 yc={};cm(yc,{__assign:()=>UL,__asyncDelegator:()=>xqe,__asyncGenerator:()=>Tqe,__asyncValues:()=>Eqe,__await:()=>SS,__awaiter:()=>mqe,__classPrivateFieldGet:()=>Cqe,__classPrivateFieldIn:()=>Nqe,__classPrivateFieldSet:()=>Dqe,__createBinding:()=>$L,__decorate:()=>Op,__esDecorate:()=>cqe,__exportStar:()=>gqe,__extends:()=>oqe,__generator:()=>yqe,__importDefault:()=>_qe,__importStar:()=>Pqe,__makeTemplateObject:()=>wqe,__metadata:()=>hqe,__param:()=>uqe,__propKey:()=>fqe,__read:()=>Xoe,__rest:()=>lqe,__runInitializers:()=>pqe,__setFunctionName:()=>dqe,__spread:()=>bqe,__spreadArray:()=>Sqe,__spreadArrays:()=>vqe,__values:()=>qL});function oqe(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 lqe(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 Op(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 uqe(t,e){return function(r,i){e(r,i,t)}}function cqe(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 pqe(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 fqe(t){return typeof t=="symbol"?t:"".concat(t)}function dqe(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 hqe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function mqe(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 yqe(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 gqe(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&$L(e,t,r)}function qL(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 Xoe(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 bqe(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Xoe(arguments[e]));return t}function vqe(){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 Sqe(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 SS(t){return this instanceof SS?(this.v=t,this):new SS(t)}function Tqe(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 SS?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 xqe(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:SS(t[s](a)),done:!1}:n?n(a):a}:n}}function Eqe(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 qL=="function"?qL(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 wqe(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Pqe(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)&&$L(e,t,r);return Aqe(e,t),e}function _qe(t){return t&&t.__esModule?t:{default:t}}function Cqe(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 Dqe(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 Nqe(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 VL,UL,$L,Aqe,Tu=Hi(()=>{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)};UL=function(){return UL=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},UL.apply(this,arguments)};$L=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]};Aqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var bi={};cm(bi,{__addDisposableResource:()=>gle,__assign:()=>F6,__asyncDelegator:()=>ule,__asyncGenerator:()=>lle,__asyncValues:()=>cle,__await:()=>ig,__awaiter:()=>rle,__classPrivateFieldGet:()=>hle,__classPrivateFieldIn:()=>yle,__classPrivateFieldSet:()=>mle,__createBinding:()=>B6,__decorate:()=>Or,__disposeResources:()=>ble,__esDecorate:()=>Iqe,__exportStar:()=>sle,__extends:()=>Qoe,__generator:()=>ile,__importDefault:()=>dle,__importStar:()=>fle,__makeTemplateObject:()=>ple,__metadata:()=>tle,__param:()=>ele,__propKey:()=>kqe,__read:()=>WL,__rest:()=>Zoe,__runInitializers:()=>Oqe,__setFunctionName:()=>Lqe,__spread:()=>nle,__spreadArray:()=>ole,__spreadArrays:()=>ale,__values:()=>R6,default:()=>Bqe});function Qoe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");KL(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Zoe(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 Or(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 ele(t,e){return function(r,i){e(r,i,t)}}function Iqe(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 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 kqe(t){return typeof t=="symbol"?t:"".concat(t)}function Lqe(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 tle(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function rle(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 ile(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 sle(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&B6(e,t,r)}function R6(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 WL(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 nle(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(WL(arguments[e]));return t}function ale(){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 ole(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 ig(t){return this instanceof ig?(this.v=t,this):new ig(t)}function lle(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 ig?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 ule(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:ig(t[s](a)),done:!1}:n?n(a):a}:n}}function cle(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 R6=="function"?R6(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 ple(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function fle(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)&&B6(e,t,r);return Fqe(e,t),e}function dle(t){return t&&t.__esModule?t:{default:t}}function hle(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 mle(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 yle(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 gle(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 ble(t){function e(i){t.error=t.hasError?new Rqe(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 KL,F6,B6,Fqe,Rqe,Bqe,li=Hi(()=>{KL=function(t,e){return KL=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])},KL(t,e)};F6=function(){return F6=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},F6.apply(this,arguments)};B6=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]};Fqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Rqe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var i=new Error(r);return i.name="SuppressedError",i.error=t,i.suppressed=e,i};Bqe={__extends:Qoe,__assign:F6,__rest:Zoe,__decorate:Or,__param:ele,__metadata:tle,__awaiter:rle,__generator:ile,__createBinding:B6,__exportStar:sle,__values:R6,__read:WL,__spread:nle,__spreadArrays:ale,__spreadArray:ole,__await:ig,__asyncGenerator:lle,__asyncDelegator:ule,__asyncValues:cle,__makeTemplateObject:ple,__importStar:fle,__importDefault:dle,__classPrivateFieldGet:hle,__classPrivateFieldSet:mle,__classPrivateFieldIn:yle,__addDisposableResource:gle,__disposeResources:ble}});var Ns=E(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.Def=void 0;var sg=(li(),yr(bi)),Ele=Object.prototype,j6=Ele.toString,Al=Ele.hasOwnProperty,xS=function(){function t(){}return t.prototype.assert=function(e,r){if(!this.check(e,r)){var i=zL(e);throw new Error(i+" does not match type "+this)}return!0},t.prototype.arrayOf=function(){var e=this;return new GL(e)},t}(),GL=function(t){(0,sg.__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}(xS),vle=function(t){(0,sg.__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}(xS),Sle=function(t){(0,sg.__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 j6.call(r)===j6.call({})&&this.fields.every(function(s){return s.type.check(r[s.name],i)})},e}(xS),Tle=function(t){(0,sg.__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}(xS),TS=function(t){(0,sg.__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}(xS),M6=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 Al.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}();ES.Def=M6;var xle=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 zL(t){return Array.isArray(t)?"["+t.map(zL).join(", ")+"]":t&&typeof t=="object"?"{ "+Object.keys(t).map(function(e){return e+": "+t[e]}).join(", ")+" }":JSON.stringify(t)}function Mqe(t){var e={or:function(){for(var ue=[],Me=0;Me<arguments.length;Me++)ue[Me]=arguments[Me];return new Tle(ue.map(function(Z){return e.from(Z)}))},from:function(ue,Me){if(ue instanceof GL||ue instanceof vle||ue instanceof Sle||ue instanceof Tle||ue instanceof TS)return ue;if(ue instanceof M6)return ue.type;if(o.check(ue)){if(ue.length!==1)throw new Error("only one element type is permitted for typed arrays");return new GL(e.from(ue[0]))}if(l.check(ue))return new Sle(Object.keys(ue).map(function(Te){return new xle(Te,e.from(ue[Te],Te))}));if(typeof ue=="function"){var Z=r.indexOf(ue);if(Z>=0)return i[Z];if(typeof Me!="string")throw new Error("missing name");return new TS(Me,ue)}return new vle(ue)},def:function(ue){return Al.call(b,ue)?b[ue]:b[ue]=new x(ue)},hasDef:function(ue){return Al.call(b,ue)}},r=[],i=[];function s(ue,Me){var Z=j6.call(Me),Te=new TS(ue,function(we){return j6.call(we)===Z});return Me&&typeof Me.constructor=="function"&&(r.push(Me.constructor),i.push(Te)),Te}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 TS("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 S(ue){if(ue&&typeof ue=="object"){var Me=ue.type;if(typeof Me=="string"&&Al.call(b,Me)){var Z=b[Me];if(Z.finalized)return Z}}return null}var x=function(ue){(0,sg.__extends)(Me,ue);function Me(Z){var Te=ue.call(this,new TS(Z,function(we,Ae){return Te.check(we,Ae)}),Z)||this;return Te}return Me.prototype.check=function(Z,Te){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(Z===null||typeof Z!="object")return!1;var we=S(Z);return we?Te&&we===this?this.checkAllFields(Z,Te):this.isSupertypeOf(we)?Te?we.checkAllFields(Z,Te)&&this.checkAllFields(Z,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields(Z,Te):!1},Me.prototype.build=function(){for(var Z=this,Te=[],we=0;we<arguments.length;we++)Te[we]=arguments[we];if(this.buildParams=Te,this.buildable)return this;this.field("type",String,function(){return Z.typeName}),this.buildable=!0;var Ae=function(ye,pe,le,Be){if(!Al.call(ye,pe)){var ve=Z.allFields;if(!Al.call(ve,pe))throw new Error(""+pe);var De=ve[pe],st=De.type,Lt;if(Be)Lt=le;else if(De.defaultFn)Lt=De.defaultFn.call(ye);else{var mt="no value or default function given for field "+JSON.stringify(pe)+" of "+Z.typeName+"("+Z.buildParams.map(function(er){return ve[er]}).join(", ")+")";throw new Error(mt)}if(!st.check(Lt))throw new Error(zL(Lt)+" does not match field "+De+" of type "+Z.typeName);ye[pe]=Lt}},Ve=function(){for(var ye=[],pe=0;pe<arguments.length;pe++)ye[pe]=arguments[pe];var le=ye.length;if(!Z.finalized)throw new Error("attempting to instantiate unfinalized type "+Z.typeName);var Be=Object.create(C);if(Z.buildParams.forEach(function(ve,De){De<le?Ae(Be,ve,ye[De],!0):Ae(Be,ve,null,!1)}),Object.keys(Z.allFields).forEach(function(ve){Ae(Be,ve,null,!1)}),Be.type!==Z.typeName)throw new Error("");return Be};return Ve.from=function(ye){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){Al.call(ye,le)?Ae(pe,le,ye[le],!0):Ae(pe,le,null,!1)}),pe.type!==Z.typeName)throw new Error("");return pe},Object.defineProperty(A,F(this.typeName),{enumerable:!0,value:Ve}),this},Me.prototype.field=function(Z,Te,we,Ae){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 xle(Z,e.from(Te),we,Ae),this)},Me.prototype.finalize=function(){var Z=this;if(!this.finalized){var Te=this.allFields,we=this.allSupertypes;this.baseNames.forEach(function(Ve){var ye=b[Ve];if(ye instanceof M6)ye.finalize(),Ue(Te,ye.allFields),Ue(we,ye.allSupertypes);else{var pe="unknown supertype name "+JSON.stringify(Ve)+" for subtype "+JSON.stringify(Z.typeName);throw new Error(pe)}}),Ue(Te,this.ownFields),we[this.typeName]=this,this.fieldNames.length=0;for(var Ae in Te)Al.call(Te,Ae)&&!Te[Ae].hidden&&this.fieldNames.push(Ae);Object.defineProperty(X,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,Ne(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&ne(this.typeName)}},Me}(M6);function v(ue){if(!Al.call(b,ue))throw new Error("");var Me=b[ue];if(Me.finalized!==!0)throw new Error("");return Me.supertypeList.slice(1)}function w(ue){for(var Me={},Z=Object.keys(b),Te=Z.length,we=0;we<Te;++we){var Ae=Z[we],Ve=b[Ae];if(Ve.finalized!==!0)throw new Error(""+Ae);for(var ye=0;ye<Ve.supertypeList.length;++ye){var pe=Ve.supertypeList[ye];if(Al.call(ue,pe)){Me[Ae]=pe;break}}}return Me}var A=Object.create(null),C={};function K(ue,Me){var Z=C[ue];return h.check(Me)?delete C[ue]:(a.assert(Me),Object.defineProperty(C,ue,{enumerable:!0,configurable:!0,value:Me})),Z}function F(ue){return ue.replace(/^[A-Z]+/,function(Me){var Z=Me.length;switch(Z){case 0:return"";case 1:return Me.toLowerCase();default:return Me.slice(0,Z-1).toLowerCase()+Me.charAt(Z-1)}})}function Q(ue){return ue=F(ue),ue.replace(/(Expression)?$/,"Statement")}var X={};function xe(ue){var Me=S(ue);if(Me)return Me.fieldNames.slice(0);if("type"in ue)throw new Error("did not recognize object of type "+JSON.stringify(ue.type));return Object.keys(ue)}function We(ue,Me){var Z=S(ue);if(Z){var Te=Z.allFields[Me];if(Te)return Te.getValue(ue)}return ue&&ue[Me]}function ze(ue,Me,Z){xe(ue).forEach(function(Te){Me.call(this,Te,We(ue,Te))},Z)}function ae(ue,Me,Z){return xe(ue).some(function(Te){return Me.call(this,Te,We(ue,Te))},Z)}function ne(ue){var Me=Q(ue);if(!A[Me]){var Z=A[F(ue)];if(Z){var Te=function(){for(var we=[],Ae=0;Ae<arguments.length;Ae++)we[Ae]=arguments[Ae];return A.expressionStatement(Z.apply(A,we))};Te.from=function(){for(var we=[],Ae=0;Ae<arguments.length;Ae++)we[Ae]=arguments[Ae];return A.expressionStatement(Z.from.apply(A,we))},A[Me]=Te}}}function Ne(ue,Me){Me.length=0,Me.push(ue);for(var Z=Object.create(null),Te=0;Te<Me.length;++Te){ue=Me[Te];var we=b[ue];if(we.finalized!==!0)throw new Error("");Al.call(Z,ue)&&delete Me[Z[ue]],Z[ue]=Te,Me.push.apply(Me,we.baseNames)}for(var Ae=0,Ve=Ae,ye=Me.length;Ve<ye;++Ve)Al.call(Me,Ve)&&(Me[Ae++]=Me[Ve]);Me.length=Ae}function Ue(ue,Me){return Object.keys(Me).forEach(function(Z){ue[Z]=Me[Z]}),ue}function xt(){Object.keys(b).forEach(function(ue){b[ue].finalize()})}return{Type:e,builtInTypes:g,getSupertypeNames:v,computeSupertypeLookupTable:w,builders:A,defineMethod:K,getBuilderName:F,getStatementBuilderName:Q,namedTypes:X,getFieldNames:xe,getFieldValue:We,eachField:ze,someField:ae,finalize:xt}}ES.default=Mqe});var HL=E((U6,wle)=>{"use strict";Object.defineProperty(U6,"__esModule",{value:!0});var jqe=(li(),yr(bi)),Vqe=(0,jqe.__importDefault)(Ns()),Uqe=Object.prototype,V6=Uqe.hasOwnProperty;function qqe(t){var e=t.use(Vqe.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(!V6.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)V6.call(this.value,g)&&(h[g]=this.get(g));for(f=f||this,g=0;g<m;++g)V6.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),S=a(p),x=f;x<h;++x)if(V6.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 S[x]}return delete S.length,function(){for(var A in b){var C=b[A];if(C.name!==+A)throw new Error("");S[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,S=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(S(),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}U6.default=qqe;wle.exports=U6.default});var Ple=E((q6,Ale)=>{"use strict";Object.defineProperty(q6,"__esModule",{value:!0});var $qe=(li(),yr(bi)),Kqe=(0,$qe.__importDefault)(Ns()),ng=Object.prototype.hasOwnProperty;function Wqe(t){var e=t.use(Kqe.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(),ng.call(this.bindings,v)},d.declaresType=function(v){return this.scan(),ng.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)?S(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))S(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=ng.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)?ng.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 S(v,w){var A=v.value;i.Pattern.assert(A),i.Identifier.check(A)&&(ng.call(w,A.name)?w[A.name].push(v):w[A.name]=[v])}function x(v,w){var A=v.value;p.assert(A),ng.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}q6.default=Wqe;Ale.exports=q6.default});var JL=E(($6,_le)=>{"use strict";Object.defineProperty($6,"__esModule",{value:!0});var YL=(li(),yr(bi)),Gqe=(0,YL.__importDefault)(Ns()),zqe=(0,YL.__importDefault)(HL()),Hqe=(0,YL.__importDefault)(Ple());function Yqe(t){var e=t.use(Gqe.default),r=e.namedTypes,i=e.builders,s=e.builtInTypes.number,n=e.builtInTypes.array,a=t.use(zqe.default),o=t.use(Hqe.default),l=function b(S,x,v){if(!(this instanceof b))throw new Error("NodePath constructor cannot be invoked without 'new'");a.call(this,S,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 S=this.parentPath;return S&&S.node||null},u._computeParent=function(){var b=this.value,S=this.parentPath;if(!r.Node.check(b)){for(;S&&!r.Node.check(S.value);)S=S.parentPath;S&&(S=S.parentPath)}for(;S&&!r.Node.check(S.value);)S=S.parentPath;return S||null},u._computeScope=function(){var b=this.value,S=this.parentPath,x=S&&S.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 S=this.parentPath;if(!S)return!1;var x=this.value;if(!r.Expression.check(x)||x.type==="Identifier")return!1;for(;!r.Node.check(S.value);)if(S=S.parentPath,!S)return!1;var v=S.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,S){b.forEach(function(x){d[x]=S})});function f(b){return r.CallExpression.check(b)?!0:n.check(b)?b.some(f):r.Node.check(b)?e.someField(b,function(S,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 S,x;b.parent;b=b.parent){if(S=b.node,x=b.parent.node,r.BlockStatement.check(x)&&b.parent.name==="body"&&b.name===0){if(x.body[0]!==S)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(x)&&b.name==="expression"){if(x.expression!==S)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]!==S)throw new Error("Nodes must be equal");continue}if(r.CallExpression.check(x)&&b.name==="callee"){if(x.callee!==S)throw new Error("Nodes must be equal");continue}if(r.MemberExpression.check(x)&&b.name==="object"){if(x.object!==S)throw new Error("Nodes must be equal");continue}if(r.ConditionalExpression.check(x)&&b.name==="test"){if(x.test!==S)throw new Error("Nodes must be equal");continue}if(c(x)&&b.name==="left"){if(x.left!==S)throw new Error("Nodes must be equal");continue}if(r.UnaryExpression.check(x)&&!x.prefix&&b.name==="argument"){if(x.argument!==S)throw new Error("Nodes must be equal");continue}return!1}return!0}function m(b){if(r.VariableDeclaration.check(b.node)){var S=b.get("declarations").value;if(!S||S.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 S=b.get("test").value,x=b.get("alternate").value,v=b.get("consequent").value;if(!v&&!x){var w=i.expressionStatement(S);b.replace(w)}else if(!v&&x){var A=i.unaryExpression("!",S,!0);r.UnaryExpression.check(S)&&S.operator==="!"&&(A=S.argument),b.get("test").replace(A),b.get("consequent").replace(x),b.get("alternate").replace()}}return l}$6.default=Yqe;_le.exports=$6.default});var Nle=E((W6,Dle)=>{"use strict";Object.defineProperty(W6,"__esModule",{value:!0});var Cle=(li(),yr(bi)),Jqe=(0,Cle.__importDefault)(Ns()),Xqe=(0,Cle.__importDefault)(JL()),K6=Object.prototype.hasOwnProperty;function Qqe(t){var e=t.use(Jqe.default),r=t.use(Xqe.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=K6.call(this._methodNameTable,"Block")||K6.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),S=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])&&(S[A]=g)}return S}o.fromMethodsObject=function(m){if(m instanceof o)return m;if(!s.check(m))return new o;var g=function S(){if(!(this instanceof S))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)K6.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 S=this.visitWithoutReset(m[0]);b=!0}finally{if(this._visiting=!1,!b&&this._abortRequested)return m[0].value}return S},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 S=b.length,x=[],v=0;v<S;++v){var w=b[v];K6.call(g,w)||(g[w]=e.getFieldValue(g,w)),x.push(h.get(w))}for(var v=0;v<S;++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}W6.default=Qqe;Dle.exports=W6.default});var Ole=E((G6,Ile)=>{"use strict";Object.defineProperty(G6,"__esModule",{value:!0});var Zqe=(li(),yr(bi)),e$e=(0,Zqe.__importDefault)(Ns());function t$e(t){var e=t.use(e$e.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 S=0;S<b;++S){if(g&&g.push(S),S in h!=S in m||!p(h[S],m[S],g))return!1;if(g){var x=g.pop();if(x!==S)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),S=b.length,x=r(m),v=x.length;if(S===v){for(var w=0;w<S;++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<S;++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}G6.default=t$e;Ile.exports=G6.default});var Lle=E((z6,kle)=>{"use strict";Object.defineProperty(z6,"__esModule",{value:!0});var wS=(li(),yr(bi)),r$e=(0,wS.__importDefault)(Ns()),i$e=(0,wS.__importDefault)(Nle()),s$e=(0,wS.__importDefault)(Ole()),n$e=(0,wS.__importDefault)(HL()),a$e=(0,wS.__importDefault)(JL());function o$e(t){var e=l$e(),r=e.use(r$e.default);t.forEach(e.use),r.finalize();var i=e.use(i$e.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(s$e.default),finalize:r.finalize,Path:e.use(n$e.default),NodePath:e.use(a$e.default),PathVisitor:i,use:e.use,visit:i.visit}}z6.default=o$e;function l$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}kle.exports=z6.default});var So=E((H6,Fle)=>{"use strict";Object.defineProperty(H6,"__esModule",{value:!0});var u$e=(li(),yr(bi)),c$e=(0,u$e.__importDefault)(Ns());function p$e(t){var e=t.use(c$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}}H6.default=p$e;Fle.exports=H6.default});var XL=E((Y6,Rle)=>{"use strict";Object.defineProperty(Y6,"__esModule",{value:!0});function f$e(){return{BinaryOperators:["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],AssignmentOperators:["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],LogicalOperators:["||","&&"]}}Y6.default=f$e;Rle.exports=Y6.default});var QL=E((J6,Ble)=>{"use strict";Object.defineProperty(J6,"__esModule",{value:!0});var d$e=(li(),yr(bi)),h$e=(0,d$e.__importDefault)(XL());function m$e(t){var e=t.use(h$e.default);return e.BinaryOperators.indexOf("**")<0&&e.BinaryOperators.push("**"),e.AssignmentOperators.indexOf("**=")<0&&e.AssignmentOperators.push("**="),e}J6.default=m$e;Ble.exports=J6.default});var ZL=E((X6,Mle)=>{"use strict";Object.defineProperty(X6,"__esModule",{value:!0});var y$e=(li(),yr(bi)),g$e=(0,y$e.__importDefault)(QL());function b$e(t){var e=t.use(g$e.default);return e.LogicalOperators.indexOf("??")<0&&e.LogicalOperators.push("??"),e}X6.default=b$e;Mle.exports=X6.default});var Vle=E((Q6,jle)=>{"use strict";Object.defineProperty(Q6,"__esModule",{value:!0});var v$e=(li(),yr(bi)),S$e=(0,v$e.__importDefault)(ZL());function T$e(t){var e=t.use(S$e.default);return e.LogicalOperators.forEach(function(r){var i=r+"=";e.AssignmentOperators.indexOf(i)<0&&e.AssignmentOperators.push(i)}),e}Q6.default=T$e;jle.exports=Q6.default});var qle=E((Z6,Ule)=>{"use strict";Object.defineProperty(Z6,"__esModule",{value:!0});var eF=(li(),yr(bi)),x$e=(0,eF.__importDefault)(XL()),E$e=(0,eF.__importDefault)(Ns()),w$e=(0,eF.__importDefault)(So());function A$e(t){var e=t.use(E$e.default),r=e.Type,i=r.def,s=r.or,n=t.use(w$e.default),a=n.defaults,o=n.geq,l=t.use(x$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)}Z6.default=A$e;Ule.exports=Z6.default});var Kle=E((eP,$le)=>{"use strict";Object.defineProperty(eP,"__esModule",{value:!0});var tF=(li(),yr(bi)),P$e=(0,tF.__importDefault)(qle()),_$e=(0,tF.__importDefault)(Ns()),C$e=(0,tF.__importDefault)(So());function D$e(t){t.use(P$e.default);var e=t.use(_$e.default),r=e.Type.def,i=e.Type.or,s=t.use(C$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"))}eP.default=D$e;$le.exports=eP.default});var zle=E((tP,Gle)=>{"use strict";Object.defineProperty(tP,"__esModule",{value:!0});var Wle=(li(),yr(bi)),N$e=(0,Wle.__importDefault)(QL()),I$e=(0,Wle.__importDefault)(Kle());function O$e(t){t.use(N$e.default),t.use(I$e.default)}tP.default=O$e;Gle.exports=tP.default});var Yle=E((rP,Hle)=>{"use strict";Object.defineProperty(rP,"__esModule",{value:!0});var rF=(li(),yr(bi)),k$e=(0,rF.__importDefault)(zle()),L$e=(0,rF.__importDefault)(Ns()),F$e=(0,rF.__importDefault)(So());function R$e(t){t.use(k$e.default);var e=t.use(L$e.default),r=e.Type.def,i=t.use(F$e.default).defaults;r("Function").field("async",Boolean,i.false),r("AwaitExpression").bases("Expression").build("argument").field("argument",r("Expression"))}rP.default=R$e;Hle.exports=rP.default});var Xle=E((iP,Jle)=>{"use strict";Object.defineProperty(iP,"__esModule",{value:!0});var iF=(li(),yr(bi)),B$e=(0,iF.__importDefault)(Yle()),M$e=(0,iF.__importDefault)(Ns()),j$e=(0,iF.__importDefault)(So());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("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"))])}iP.default=V$e;Jle.exports=iP.default});var Zle=E((sP,Qle)=>{"use strict";Object.defineProperty(sP,"__esModule",{value:!0});var sF=(li(),yr(bi)),U$e=(0,sF.__importDefault)(Xle()),q$e=(0,sF.__importDefault)(Ns()),$$e=(0,sF.__importDefault)(So());function K$e(t){t.use(U$e.default);var e=t.use(q$e.default),r=e.Type.def,i=e.Type.or,s=t.use($$e.default).defaults;r("CatchClause").field("param",i(r("Pattern"),null),s.null)}sP.default=K$e;Qle.exports=sP.default});var tue=E((aP,eue)=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});var nP=(li(),yr(bi)),W$e=(0,nP.__importDefault)(ZL()),G$e=(0,nP.__importDefault)(Zle()),z$e=(0,nP.__importDefault)(Ns()),H$e=(0,nP.__importDefault)(So());function Y$e(t){t.use(W$e.default),t.use(G$e.default);var e=t.use(z$e.default),r=e.Type.def,i=e.Type.or,s=t.use(H$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)}aP.default=Y$e;eue.exports=aP.default});var sue=E((oP,iue)=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});var rue=(li(),yr(bi)),J$e=(0,rue.__importDefault)(Vle()),X$e=(0,rue.__importDefault)(tue());function Q$e(t){t.use(J$e.default),t.use(X$e.default)}oP.default=Q$e;iue.exports=oP.default});var oue=E((lP,aue)=>{"use strict";Object.defineProperty(lP,"__esModule",{value:!0});var nue=(li(),yr(bi)),Z$e=(0,nue.__importDefault)(sue()),eKe=(0,nue.__importDefault)(Ns());function tKe(t){t.use(Z$e.default);var e=t.use(eKe.default),r=e.Type.def;r("StaticBlock").bases("Declaration").build("body").field("body",[r("Statement")])}lP.default=tKe;aue.exports=lP.default});var ag=E((uP,lue)=>{"use strict";Object.defineProperty(uP,"__esModule",{value:!0});var nF=(li(),yr(bi)),rKe=(0,nF.__importDefault)(Ns()),iKe=(0,nF.__importDefault)(So()),sKe=(0,nF.__importDefault)(oue());function nKe(t){t.use(sKe.default);var e=t.use(rKe.default),r=e.Type,i=e.Type.def,s=r.or,n=t.use(iKe.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"))}uP.default=nKe;lue.exports=uP.default});var cue=E((cP,uue)=>{"use strict";Object.defineProperty(cP,"__esModule",{value:!0});var aF=(li(),yr(bi)),aKe=(0,aF.__importDefault)(ag()),oKe=(0,aF.__importDefault)(Ns()),lKe=(0,aF.__importDefault)(So());function uKe(t){t.use(aKe.default);var e=t.use(oKe.default),r=e.Type.def,i=e.Type.or,s=t.use(lKe.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"))}cP.default=uKe;uue.exports=cP.default});var oF=E((pP,fue)=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});var pue=(li(),yr(bi)),cKe=(0,pue.__importDefault)(Ns()),pKe=(0,pue.__importDefault)(So());function fKe(t){var e=t.use(cKe.default),r=e.Type.def,i=e.Type.or,s=t.use(pKe.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)})}pP.default=fKe;fue.exports=pP.default});var lF=E((dP,due)=>{"use strict";Object.defineProperty(dP,"__esModule",{value:!0});var fP=(li(),yr(bi)),dKe=(0,fP.__importDefault)(ag()),hKe=(0,fP.__importDefault)(oF()),mKe=(0,fP.__importDefault)(Ns()),yKe=(0,fP.__importDefault)(So());function gKe(t){t.use(dKe.default),t.use(hKe.default);var e=t.use(mKe.default),r=e.Type.def,i=e.Type.or,s=t.use(yKe.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"))}dP.default=gKe;due.exports=dP.default});var mue=E((hP,hue)=>{"use strict";Object.defineProperty(hP,"__esModule",{value:!0});var uF=(li(),yr(bi)),bKe=(0,uF.__importDefault)(ag()),vKe=(0,uF.__importDefault)(Ns()),SKe=(0,uF.__importDefault)(So());function TKe(t){t.use(bKe.default);var e=t.use(vKe.default),r=t.use(SKe.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")}hP.default=TKe;hue.exports=hP.default});var pF=E((mP,yue)=>{"use strict";Object.defineProperty(mP,"__esModule",{value:!0});var cF=(li(),yr(bi)),xKe=(0,cF.__importDefault)(ag()),EKe=(0,cF.__importDefault)(Ns()),wKe=(0,cF.__importDefault)(So());function AKe(t){var e,r,i,s,n;t.use(xKe.default);var a=t.use(EKe.default),o=t.use(wKe.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 S=a.getFieldValue(this,"value");return{rawValue:S,raw:g?g(S):String(S)}}]}(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()}mP.default=AKe;yue.exports=mP.default});var bue=E((yP,gue)=>{"use strict";Object.defineProperty(yP,"__esModule",{value:!0});var fF=(li(),yr(bi)),PKe=(0,fF.__importDefault)(Ns()),_Ke=(0,fF.__importDefault)(pF()),CKe=(0,fF.__importDefault)(lF());function DKe(t){var e=t.use(PKe.default),r=e.Type.def;t.use(_Ke.default),t.use(CKe.default),r("V8IntrinsicIdentifier").bases("Expression").build("name").field("name",String),r("TopicReference").bases("Expression").build()}yP.default=DKe;gue.exports=yP.default});var Sue=E((bP,vue)=>{"use strict";Object.defineProperty(bP,"__esModule",{value:!0});var gP=(li(),yr(bi)),NKe=(0,gP.__importDefault)(pF()),IKe=(0,gP.__importDefault)(oF()),OKe=(0,gP.__importDefault)(Ns()),kKe=(0,gP.__importDefault)(So());function LKe(t){t.use(NKe.default),t.use(IKe.default);var e=t.use(OKe.default),r=e.namedTypes,i=e.Type.def,s=e.Type.or,n=t.use(kKe.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)])}bP.default=LKe;vue.exports=bP.default});var Tue=E(AS=>{"use strict";Object.defineProperty(AS,"__esModule",{value:!0});AS.namedTypes=void 0;var FKe;(function(t){})(FKe=AS.namedTypes||(AS.namedTypes={}))});var kp=E(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.visit=qr.use=qr.Type=qr.someField=qr.PathVisitor=qr.Path=qr.NodePath=qr.namedTypes=qr.getSupertypeNames=qr.getFieldValue=qr.getFieldNames=qr.getBuilderName=qr.finalize=qr.eachField=qr.defineMethod=qr.builtInTypes=qr.builders=qr.astNodesAreEquivalent=void 0;var Wm=(li(),yr(bi)),RKe=(0,Wm.__importDefault)(Lle()),BKe=(0,Wm.__importDefault)(ag()),MKe=(0,Wm.__importDefault)(cue()),jKe=(0,Wm.__importDefault)(lF()),VKe=(0,Wm.__importDefault)(mue()),UKe=(0,Wm.__importDefault)(bue()),qKe=(0,Wm.__importDefault)(Sue()),xue=Tue();Object.defineProperty(qr,"namedTypes",{enumerable:!0,get:function(){return xue.namedTypes}});var Vn=(0,RKe.default)([BKe.default,MKe.default,jKe.default,VKe.default,UKe.default,qKe.default]),$Ke=Vn.astNodesAreEquivalent,KKe=Vn.builders,WKe=Vn.builtInTypes,GKe=Vn.defineMethod,zKe=Vn.eachField,HKe=Vn.finalize,YKe=Vn.getBuilderName,JKe=Vn.getFieldNames,XKe=Vn.getFieldValue,QKe=Vn.getSupertypeNames,ZKe=Vn.namedTypes,eWe=Vn.NodePath,tWe=Vn.Path,rWe=Vn.PathVisitor,iWe=Vn.someField,sWe=Vn.Type,nWe=Vn.use,aWe=Vn.visit;qr.astNodesAreEquivalent=$Ke;qr.builders=KKe;qr.builtInTypes=WKe;qr.defineMethod=GKe;qr.eachField=zKe;qr.finalize=HKe;qr.getBuilderName=YKe;qr.getFieldNames=JKe;qr.getFieldValue=XKe;qr.getSupertypeNames=QKe;qr.NodePath=eWe;qr.Path=tWe;qr.PathVisitor=rWe;qr.someField=iWe;qr.Type=sWe;qr.use=nWe;qr.visit=aWe;Object.assign(xue.namedTypes,ZKe)});var wue=E(dF=>{var Eue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");dF.encode=function(t){if(0<=t&&t<Eue.length)return Eue[t];throw new TypeError("Must be between 0 and 63: "+t)};dF.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 yF=E(mF=>{var Aue=wue(),hF=5,Pue=1<<hF,_ue=Pue-1,Cue=Pue;function oWe(t){return t<0?(-t<<1)+1:(t<<1)+0}function lWe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}mF.encode=function(e){var r="",i,s=oWe(e);do i=s&_ue,s>>>=hF,s>0&&(i|=Cue),r+=Aue.encode(i);while(s>0);return r};mF.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=Aue.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));o=!!(l&Cue),l&=_ue,n=n+(l<<a),a+=hF}while(o);i.value=lWe(n),i.rest=r}});var ug=E(ca=>{function uWe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ca.getArg=uWe;var Due=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,cWe=/^data:.+\,.+$/;function PS(t){var e=t.match(Due);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ca.urlParse=PS;function og(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}ca.urlGenerate=og;function gF(t){var e=t,r=PS(t);if(r){if(!r.path)return t;e=r.path}for(var i=ca.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,og(r)):e}ca.normalize=gF;function Nue(t,e){t===""&&(t="."),e===""&&(e=".");var r=PS(e),i=PS(t);if(i&&(t=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),og(r);if(r||e.match(cWe))return e;if(i&&!i.host&&!i.path)return i.host=e,og(i);var s=e.charAt(0)==="/"?e:gF(t.replace(/\/+$/,"")+"/"+e);return i?(i.path=s,og(i)):s}ca.join=Nue;ca.isAbsolute=function(t){return t.charAt(0)==="/"||Due.test(t)};function pWe(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)}ca.relative=pWe;var Iue=function(){var t=Object.create(null);return!("__proto__"in t)}();function Oue(t){return t}function fWe(t){return kue(t)?"$"+t:t}ca.toSetString=Iue?Oue:fWe;function dWe(t){return kue(t)?t.slice(1):t}ca.fromSetString=Iue?Oue:dWe;function kue(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 hWe(t,e,r){var i=lg(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:lg(t.name,e.name)}ca.compareByOriginalPositions=hWe;function mWe(t,e,r){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0||r)||(i=lg(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:lg(t.name,e.name)}ca.compareByGeneratedPositionsDeflated=mWe;function lg(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function yWe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=lg(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:lg(t.name,e.name)}ca.compareByGeneratedPositionsInflated=yWe;function gWe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ca.parseSourceMapInput=gWe;function bWe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var i=PS(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=Nue(og(i),e)}return gF(e)}ca.computeSourceURL=bWe});var SF=E(Lue=>{var bF=ug(),vF=Object.prototype.hasOwnProperty,Gm=typeof Map<"u";function Lp(){this._array=[],this._set=Gm?new Map:Object.create(null)}Lp.fromArray=function(e,r){for(var i=new Lp,s=0,n=e.length;s<n;s++)i.add(e[s],r);return i};Lp.prototype.size=function(){return Gm?this._set.size:Object.getOwnPropertyNames(this._set).length};Lp.prototype.add=function(e,r){var i=Gm?e:bF.toSetString(e),s=Gm?this.has(e):vF.call(this._set,i),n=this._array.length;(!s||r)&&this._array.push(e),s||(Gm?this._set.set(e,n):this._set[i]=n)};Lp.prototype.has=function(e){if(Gm)return this._set.has(e);var r=bF.toSetString(e);return vF.call(this._set,r)};Lp.prototype.indexOf=function(e){if(Gm){var r=this._set.get(e);if(r>=0)return r}else{var i=bF.toSetString(e);if(vF.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Lp.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Lp.prototype.toArray=function(){return this._array.slice()};Lue.ArraySet=Lp});var Bue=E(Rue=>{var Fue=ug();function vWe(t,e){var r=t.generatedLine,i=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=s||Fue.compareByGeneratedPositionsInflated(t,e)<=0}function vP(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}vP.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};vP.prototype.add=function(e){vWe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};vP.prototype.toArray=function(){return this._sorted||(this._array.sort(Fue.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Rue.MappingList=vP});var TF=E(Mue=>{var _S=yF(),yn=ug(),SP=SF().ArraySet,SWe=Bue().MappingList;function Pl(t){t||(t={}),this._file=yn.getArg(t,"file",null),this._sourceRoot=yn.getArg(t,"sourceRoot",null),this._skipValidation=yn.getArg(t,"skipValidation",!1),this._sources=new SP,this._names=new SP,this._mappings=new SWe,this._sourcesContents=null}Pl.prototype._version=3;Pl.fromSourceMap=function(e){var r=e.sourceRoot,i=new Pl({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=yn.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=yn.relative(r,s)),i._sources.has(n)||i._sources.add(n);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};Pl.prototype.addMapping=function(e){var r=yn.getArg(e,"generated"),i=yn.getArg(e,"original",null),s=yn.getArg(e,"source",null),n=yn.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})};Pl.prototype.setSourceContent=function(e,r){var i=e;this._sourceRoot!=null&&(i=yn.relative(this._sourceRoot,i)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[yn.toSetString(i)]=r):this._sourcesContents&&(delete this._sourcesContents[yn.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Pl.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=yn.relative(n,s));var a=new SP,o=new SP;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=yn.join(i,l.source)),n!=null&&(l.source=yn.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=yn.join(i,l)),n!=null&&(l=yn.relative(n,l)),this.setSourceContent(l,u))},this)};Pl.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}))}};Pl.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(!yn.compareByGeneratedPositionsInflated(u,d[f-1]))continue;l+=","}l+=_S.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),l+=_S.encode(p-a),a=p,l+=_S.encode(u.originalLine-1-s),s=u.originalLine-1,l+=_S.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=_S.encode(c-n),n=c)),o+=l}return o};Pl.prototype._generateSourcesContent=function(e,r){return e.map(function(i){if(!this._sourcesContents)return null;r!=null&&(i=yn.relative(r,i));var s=yn.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Pl.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};Pl.prototype.toString=function(){return JSON.stringify(this.toJSON())};Mue.SourceMapGenerator=Pl});var jue=E(zm=>{zm.GREATEST_LOWER_BOUND=1;zm.LEAST_UPPER_BOUND=2;function xF(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?xF(a,e,r,i,s,n):n==zm.LEAST_UPPER_BOUND?e<i.length?e:-1:a:a-t>1?xF(t,a,r,i,s,n):n==zm.LEAST_UPPER_BOUND?a:t<0?-1:t}zm.search=function(e,r,i,s){if(r.length===0)return-1;var n=xF(-1,r.length,e,r,i,s||zm.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(r[n],r[n-1],!0)===0;)--n;return n}});var Uue=E(Vue=>{function EF(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function TWe(t,e){return Math.round(t+Math.random()*(e-t))}function wF(t,e,r,i){if(r<i){var s=TWe(r,i),n=r-1;EF(t,s,i);for(var a=t[i],o=r;o<i;o++)e(t[o],a)<=0&&(n+=1,EF(t,n,o));EF(t,n+1,o);var l=n+1;wF(t,e,r,l-1),wF(t,e,l+1,i)}}Vue.quickSort=function(t,e){wF(t,e,0,t.length-1)}});var $ue=E(TP=>{var Nt=ug(),AF=jue(),cg=SF().ArraySet,xWe=yF(),CS=Uue().quickSort;function ps(t,e){var r=t;return typeof t=="string"&&(r=Nt.parseSourceMapInput(t)),r.sections!=null?new xu(r,e):new ea(r,e)}ps.fromSourceMap=function(t,e){return ea.fromSourceMap(t,e)};ps.prototype._version=3;ps.prototype.__generatedMappings=null;Object.defineProperty(ps.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});ps.prototype.__originalMappings=null;Object.defineProperty(ps.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});ps.prototype._charIsMappingSeparator=function(e,r){var i=e.charAt(r);return i===";"||i===","};ps.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};ps.GENERATED_ORDER=1;ps.ORIGINAL_ORDER=2;ps.GREATEST_LOWER_BOUND=1;ps.LEAST_UPPER_BOUND=2;ps.prototype.eachMapping=function(e,r,i){var s=r||null,n=i||ps.GENERATED_ORDER,a;switch(n){case ps.GENERATED_ORDER:a=this._generatedMappings;break;case ps.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=Nt.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)};ps.prototype.allGeneratedPositionsFor=function(e){var r=Nt.getArg(e,"line"),i={source:Nt.getArg(e,"source"),originalLine:r,originalColumn:Nt.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",Nt.compareByOriginalPositions,AF.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:Nt.getArg(a,"generatedLine",null),column:Nt.getArg(a,"generatedColumn",null),lastColumn:Nt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:Nt.getArg(a,"generatedLine",null),column:Nt.getArg(a,"generatedColumn",null),lastColumn:Nt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};TP.SourceMapConsumer=ps;function ea(t,e){var r=t;typeof t=="string"&&(r=Nt.parseSourceMapInput(t));var i=Nt.getArg(r,"version"),s=Nt.getArg(r,"sources"),n=Nt.getArg(r,"names",[]),a=Nt.getArg(r,"sourceRoot",null),o=Nt.getArg(r,"sourcesContent",null),l=Nt.getArg(r,"mappings"),u=Nt.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=Nt.normalize(a)),s=s.map(String).map(Nt.normalize).map(function(c){return a&&Nt.isAbsolute(a)&&Nt.isAbsolute(c)?Nt.relative(a,c):c}),this._names=cg.fromArray(n.map(String),!0),this._sources=cg.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return Nt.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=e,this.file=u}ea.prototype=Object.create(ps.prototype);ea.prototype.consumer=ps;ea.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Nt.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};ea.fromSourceMap=function(e,r){var i=Object.create(ea.prototype),s=i._names=cg.fromArray(e._names.toArray(),!0),n=i._sources=cg.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 Nt.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 que;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 CS(i.__originalMappings,Nt.compareByOriginalPositions),i};ea.prototype._version=3;Object.defineProperty(ea.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function que(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ea.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,S,x;c<u;)if(e.charAt(c)===";")i++,c++,s=0;else if(e.charAt(c)===",")c++;else{for(m=new que,m.generatedLine=i,S=c;S<u&&!this._charIsMappingSeparator(e,S);S++);if(g=e.slice(c,S),b=p[g],b)c+=g.length;else{for(b=[];c<S;)xWe.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)}CS(h,Nt.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,CS(f,Nt.compareByOriginalPositions),this.__originalMappings=f};ea.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 AF.search(e,r,n,a)};ea.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}};ea.prototype.originalPositionFor=function(e){var r={generatedLine:Nt.getArg(e,"line"),generatedColumn:Nt.getArg(e,"column")},i=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Nt.compareByGeneratedPositionsDeflated,Nt.getArg(e,"bias",ps.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===r.generatedLine){var n=Nt.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=Nt.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=Nt.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:Nt.getArg(s,"originalLine",null),column:Nt.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};ea.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ea.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=Nt.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=Nt.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.')};ea.prototype.generatedPositionFor=function(e){var r=Nt.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var i={source:r,originalLine:Nt.getArg(e,"line"),originalColumn:Nt.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Nt.compareByOriginalPositions,Nt.getArg(e,"bias",ps.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:Nt.getArg(n,"generatedLine",null),column:Nt.getArg(n,"generatedColumn",null),lastColumn:Nt.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};TP.BasicSourceMapConsumer=ea;function xu(t,e){var r=t;typeof t=="string"&&(r=Nt.parseSourceMapInput(t));var i=Nt.getArg(r,"version"),s=Nt.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new cg,this._names=new cg;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=Nt.getArg(a,"offset"),l=Nt.getArg(o,"line"),u=Nt.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 ps(Nt.getArg(a,"map"),e)}})}xu.prototype=Object.create(ps.prototype);xu.prototype.constructor=ps;xu.prototype._version=3;Object.defineProperty(xu.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}});xu.prototype.originalPositionFor=function(e){var r={generatedLine:Nt.getArg(e,"line"),generatedColumn:Nt.getArg(e,"column")},i=AF.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}};xu.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};xu.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.')};xu.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var i=this._sections[r];if(i.consumer._findSourceIndex(Nt.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}};xu.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=Nt.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)}CS(this.__generatedMappings,Nt.compareByGeneratedPositionsDeflated),CS(this.__originalMappings,Nt.compareByOriginalPositions)};TP.IndexedSourceMapConsumer=xu});var Wue=E(Kue=>{var EWe=TF().SourceMapGenerator,xP=ug(),wWe=/(\r?\n)/,AWe=10,pg="$$$isSourceNode$$$";function Ho(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[pg]=!0,i!=null&&this.add(i)}Ho.fromStringWithSourceMap=function(e,r,i){var s=new Ho,n=e.split(wWe),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=xP.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?xP.join(i,d.source):d.source;s.add(new Ho(d.originalLine,d.originalColumn,h,f,d.name))}}};Ho.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[pg]||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};Ho.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[pg]||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};Ho.prototype.walk=function(e){for(var r,i=0,s=this.children.length;i<s;i++)r=this.children[i],r[pg]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Ho.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};Ho.prototype.replaceRight=function(e,r){var i=this.children[this.children.length-1];return i[pg]?i.replaceRight(e,r):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,r):this.children.push("".replace(e,r)),this};Ho.prototype.setSourceContent=function(e,r){this.sourceContents[xP.toSetString(e)]=r};Ho.prototype.walkSourceContents=function(e){for(var r=0,i=this.children.length;r<i;r++)this.children[r][pg]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,i=s.length;r<i;r++)e(xP.fromSetString(s[r]),this.sourceContents[s[r]])};Ho.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};Ho.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},i=new EWe(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)===AWe?(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}};Kue.SourceNode=Ho});var PF=E(EP=>{EP.SourceMapGenerator=TF().SourceMapGenerator;EP.SourceMapConsumer=$ue().SourceMapConsumer;EP.SourceNode=Wue().SourceNode});var Fp=E($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.isTrailingCommaEnabled=$s.getParentExportDeclaration=$s.isExportDeclaration=$s.fixFaultyLocations=$s.getTrueLoc=$s.composeSourceMaps=$s.copyPos=$s.comparePos=$s.getUnionOfKeys=$s.getOption=void 0;var CF=(Tu(),yr(yc)),DS=CF.__importDefault(require("assert")),PWe=CF.__importStar(kp()),wP=PWe.namedTypes,zue=CF.__importDefault(PF()),Gue=zue.default.SourceMapConsumer,_We=zue.default.SourceMapGenerator,Hue=Object.prototype.hasOwnProperty;function CWe(t,e,r){return t&&Hue.call(t,e)?t[e]:r}$s.getOption=CWe;function DWe(){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}$s.getUnionOfKeys=DWe;function gc(t,e){return t.line-e.line||t.column-e.column}$s.comparePos=gc;function wd(t){return{line:t.line,column:t.column}}$s.copyPos=wd;function NWe(t,e){if(t){if(!e)return t}else return e||null;var r=new Gue(t),i=new Gue(e),s=new _We({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:wd(o),generated:{line:a.generatedLine,column:a.generatedColumn},name:a.name});var u=r.sourceContentFor(l);u&&!Hue.call(n,l)&&(n[l]=u,s.setSourceContent(l,u))}}),s.toJSON()}$s.composeSourceMaps=NWe;function IWe(t,e){if(!t.loc)return null;var r={start:t.loc.start,end:t.loc.end};function i(s){_F(r,s.loc)}return t.declaration&&t.declaration.decorators&&AP(t)&&t.declaration.decorators.forEach(i),gc(r.start,r.end)<0&&(r.start=wd(r.start),e.skipSpaces(r.start,!1,!0),gc(r.start,r.end)<0&&(r.end=wd(r.end),e.skipSpaces(r.end,!0,!0))),t.comments&&t.comments.forEach(i),r}$s.getTrueLoc=IWe;function _F(t,e){t&&e&&(gc(e.start,t.start)<0&&(t.start=e.start),gc(t.end,e.end)<0&&(t.end=e.end))}function OWe(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()),kWe(t,e),LWe(t,e),r&&t.decorators)t.decorators.forEach(function(a){_F(r,a.loc)});else if(t.declaration&&AP(t)){t.declaration.loc=null;var i=t.declaration.decorators;i&&i.forEach(function(a){_F(r,a.loc)})}else if(wP.MethodDefinition&&wP.MethodDefinition.check(t)||wP.Property.check(t)&&(t.method||t.shorthand))t.value.loc=null,wP.FunctionExpression.check(t.value)&&(t.value.id=null);else if(t.type==="ObjectTypeProperty"){var s=t.loc,n=s&&s.end;n&&(n=wd(n),e.prevPos(n)&&e.charAt(n)===","&&(n=e.skipSpaces(n,!0,!0))&&(s.end=n))}}$s.fixFaultyLocations=OWe;function kWe(t,e){if(t.type!=="ForStatement")return;function r(i){for(var s=i&&i.loc,n=s&&s.start,a=s&&wd(s.end);n&&a&&gc(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 LWe(t,e){if(t.type==="TemplateLiteral"&&t.quasis.length!==0){if(t.loc){var r=wd(t.loc.start);DS.default.strictEqual(e.charAt(r),"`"),DS.default.ok(e.nextPos(r));var i=t.quasis[0];gc(i.loc.start,r)<0&&(i.loc.start=r);var s=wd(t.loc.end);DS.default.ok(e.prevPos(s)),DS.default.strictEqual(e.charAt(s),"`");var n=t.quasis[t.quasis.length-1];gc(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];gc(l,u.loc.end)<0&&(u.loc.end=l)}var c=e.skipSpaces(a.loc.end,!1,!1);if(e.charAt(c)==="}"){DS.default.ok(e.nextPos(c));var p=t.quasis[o+1];gc(p.loc.start,c)<0&&(p.loc.start=c)}})}}function AP(t){if(t)switch(t.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}$s.isExportDeclaration=AP;function FWe(t){var e=t.getParentNode();return t.getName()==="declaration"&&AP(e)?e:null}$s.getParentExportDeclaration=FWe;function RWe(t,e){var r=t.trailingComma;return typeof r=="object"?!!r[e]:!!r}$s.isTrailingCommaEnabled=RWe});var NF=E((NS,DF)=>{(function(e,r){typeof NS=="object"&&typeof DF=="object"?DF.exports=r():typeof define=="function"&&define.amd?define([],r):typeof NS=="object"?NS.esprima=r():e.esprima=r()})(NS,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,S=!1;if(f){S=typeof f.comment=="boolean"&&f.comment;var x=typeof f.attachComment=="boolean"&&f.attachComment;(S||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 S&&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(S){m.errorHandler.tolerate(S)}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,S=!1,x=!1,v=!1;!this.scanner.eof()&&b&&!S;){var w=this.scanner.source[this.scanner.index];if(w===m)break;if(S=w===";",g+=w,++this.scanner.index,!S)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&&S&&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,S=this.scanner.source[this.scanner.index++],x="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index++];if(v===S)break;v==="&"?x+=this.scanXHTMLEntity(S):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 S={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(S)),S},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 S=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(b,S))}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 S=b;this.expectJSX(":");var x=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(S,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(),S=this.matchJSX("/");return S&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(g,S,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(),S=this.parseJSXAttributes(),x=this.matchJSX("/");return x&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(b,x,S))},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 S=this.getTokenRaw(b),x=this.finalize(g,new n.JSXText(b.value,S));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(),S=this.parseJSXBoundaryElement();if(S.type===a.JSXSyntax.JSXOpeningElement){var x=S;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(S.type===a.JSXSyntax.JSXClosingElement){m.closing=S;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=[],S=null;if(!g.selfClosing){var x=this.parseComplexJSXElement({node:m,opening:g,closing:S,children:b});b=x.children,S=x.closing}return this.finalize(m,new n.JSXElement(g,b,S))},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,S){this.type=i.JSXSyntax.JSXElement,this.openingElement=g,this.children=b,this.closingElement=S}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,S){this.type=i.JSXSyntax.JSXOpeningElement,this.name=g,this.selfClosing=b,this.attributes=S}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 he(oe){this.type=i.Syntax.ArrayExpression,this.elements=oe}return he}();e.ArrayExpression=s;var n=function(){function he(oe){this.type=i.Syntax.ArrayPattern,this.elements=oe}return he}();e.ArrayPattern=n;var a=function(){function he(oe,Ye,mr){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=Ye,this.generator=!1,this.expression=mr,this.async=!1}return he}();e.ArrowFunctionExpression=a;var o=function(){function he(oe,Ye,mr){this.type=i.Syntax.AssignmentExpression,this.operator=oe,this.left=Ye,this.right=mr}return he}();e.AssignmentExpression=o;var l=function(){function he(oe,Ye){this.type=i.Syntax.AssignmentPattern,this.left=oe,this.right=Ye}return he}();e.AssignmentPattern=l;var u=function(){function he(oe,Ye,mr){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=Ye,this.generator=!1,this.expression=mr,this.async=!0}return he}();e.AsyncArrowFunctionExpression=u;var c=function(){function he(oe,Ye,mr){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=Ye,this.body=mr,this.generator=!1,this.expression=!1,this.async=!0}return he}();e.AsyncFunctionDeclaration=c;var p=function(){function he(oe,Ye,mr){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=Ye,this.body=mr,this.generator=!1,this.expression=!1,this.async=!0}return he}();e.AsyncFunctionExpression=p;var d=function(){function he(oe){this.type=i.Syntax.AwaitExpression,this.argument=oe}return he}();e.AwaitExpression=d;var f=function(){function he(oe,Ye,mr){var Xs=oe==="||"||oe==="&&";this.type=Xs?i.Syntax.LogicalExpression:i.Syntax.BinaryExpression,this.operator=oe,this.left=Ye,this.right=mr}return he}();e.BinaryExpression=f;var h=function(){function he(oe){this.type=i.Syntax.BlockStatement,this.body=oe}return he}();e.BlockStatement=h;var m=function(){function he(oe){this.type=i.Syntax.BreakStatement,this.label=oe}return he}();e.BreakStatement=m;var g=function(){function he(oe,Ye){this.type=i.Syntax.CallExpression,this.callee=oe,this.arguments=Ye}return he}();e.CallExpression=g;var b=function(){function he(oe,Ye){this.type=i.Syntax.CatchClause,this.param=oe,this.body=Ye}return he}();e.CatchClause=b;var S=function(){function he(oe){this.type=i.Syntax.ClassBody,this.body=oe}return he}();e.ClassBody=S;var x=function(){function he(oe,Ye,mr){this.type=i.Syntax.ClassDeclaration,this.id=oe,this.superClass=Ye,this.body=mr}return he}();e.ClassDeclaration=x;var v=function(){function he(oe,Ye,mr){this.type=i.Syntax.ClassExpression,this.id=oe,this.superClass=Ye,this.body=mr}return he}();e.ClassExpression=v;var w=function(){function he(oe,Ye){this.type=i.Syntax.MemberExpression,this.computed=!0,this.object=oe,this.property=Ye}return he}();e.ComputedMemberExpression=w;var A=function(){function he(oe,Ye,mr){this.type=i.Syntax.ConditionalExpression,this.test=oe,this.consequent=Ye,this.alternate=mr}return he}();e.ConditionalExpression=A;var C=function(){function he(oe){this.type=i.Syntax.ContinueStatement,this.label=oe}return he}();e.ContinueStatement=C;var K=function(){function he(){this.type=i.Syntax.DebuggerStatement}return he}();e.DebuggerStatement=K;var F=function(){function he(oe,Ye){this.type=i.Syntax.ExpressionStatement,this.expression=oe,this.directive=Ye}return he}();e.Directive=F;var Q=function(){function he(oe,Ye){this.type=i.Syntax.DoWhileStatement,this.body=oe,this.test=Ye}return he}();e.DoWhileStatement=Q;var X=function(){function he(){this.type=i.Syntax.EmptyStatement}return he}();e.EmptyStatement=X;var xe=function(){function he(oe){this.type=i.Syntax.ExportAllDeclaration,this.source=oe}return he}();e.ExportAllDeclaration=xe;var We=function(){function he(oe){this.type=i.Syntax.ExportDefaultDeclaration,this.declaration=oe}return he}();e.ExportDefaultDeclaration=We;var ze=function(){function he(oe,Ye,mr){this.type=i.Syntax.ExportNamedDeclaration,this.declaration=oe,this.specifiers=Ye,this.source=mr}return he}();e.ExportNamedDeclaration=ze;var ae=function(){function he(oe,Ye){this.type=i.Syntax.ExportSpecifier,this.exported=Ye,this.local=oe}return he}();e.ExportSpecifier=ae;var ne=function(){function he(oe){this.type=i.Syntax.ExpressionStatement,this.expression=oe}return he}();e.ExpressionStatement=ne;var Ne=function(){function he(oe,Ye,mr){this.type=i.Syntax.ForInStatement,this.left=oe,this.right=Ye,this.body=mr,this.each=!1}return he}();e.ForInStatement=Ne;var Ue=function(){function he(oe,Ye,mr){this.type=i.Syntax.ForOfStatement,this.left=oe,this.right=Ye,this.body=mr}return he}();e.ForOfStatement=Ue;var xt=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.ForStatement,this.init=oe,this.test=Ye,this.update=mr,this.body=Xs}return he}();e.ForStatement=xt;var ue=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=Ye,this.body=mr,this.generator=Xs,this.expression=!1,this.async=!1}return he}();e.FunctionDeclaration=ue;var Me=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=Ye,this.body=mr,this.generator=Xs,this.expression=!1,this.async=!1}return he}();e.FunctionExpression=Me;var Z=function(){function he(oe){this.type=i.Syntax.Identifier,this.name=oe}return he}();e.Identifier=Z;var Te=function(){function he(oe,Ye,mr){this.type=i.Syntax.IfStatement,this.test=oe,this.consequent=Ye,this.alternate=mr}return he}();e.IfStatement=Te;var we=function(){function he(oe,Ye){this.type=i.Syntax.ImportDeclaration,this.specifiers=oe,this.source=Ye}return he}();e.ImportDeclaration=we;var Ae=function(){function he(oe){this.type=i.Syntax.ImportDefaultSpecifier,this.local=oe}return he}();e.ImportDefaultSpecifier=Ae;var Ve=function(){function he(oe){this.type=i.Syntax.ImportNamespaceSpecifier,this.local=oe}return he}();e.ImportNamespaceSpecifier=Ve;var ye=function(){function he(oe,Ye){this.type=i.Syntax.ImportSpecifier,this.local=oe,this.imported=Ye}return he}();e.ImportSpecifier=ye;var pe=function(){function he(oe,Ye){this.type=i.Syntax.LabeledStatement,this.label=oe,this.body=Ye}return he}();e.LabeledStatement=pe;var le=function(){function he(oe,Ye){this.type=i.Syntax.Literal,this.value=oe,this.raw=Ye}return he}();e.Literal=le;var Be=function(){function he(oe,Ye){this.type=i.Syntax.MetaProperty,this.meta=oe,this.property=Ye}return he}();e.MetaProperty=Be;var ve=function(){function he(oe,Ye,mr,Xs,na){this.type=i.Syntax.MethodDefinition,this.key=oe,this.computed=Ye,this.value=mr,this.kind=Xs,this.static=na}return he}();e.MethodDefinition=ve;var De=function(){function he(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="module"}return he}();e.Module=De;var st=function(){function he(oe,Ye){this.type=i.Syntax.NewExpression,this.callee=oe,this.arguments=Ye}return he}();e.NewExpression=st;var Lt=function(){function he(oe){this.type=i.Syntax.ObjectExpression,this.properties=oe}return he}();e.ObjectExpression=Lt;var mt=function(){function he(oe){this.type=i.Syntax.ObjectPattern,this.properties=oe}return he}();e.ObjectPattern=mt;var er=function(){function he(oe,Ye,mr,Xs,na,su){this.type=i.Syntax.Property,this.key=Ye,this.computed=mr,this.value=Xs,this.kind=oe,this.method=na,this.shorthand=su}return he}();e.Property=er;var Er=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.Literal,this.value=oe,this.raw=Ye,this.regex={pattern:mr,flags:Xs}}return he}();e.RegexLiteral=Er;var Cr=function(){function he(oe){this.type=i.Syntax.RestElement,this.argument=oe}return he}();e.RestElement=Cr;var mi=function(){function he(oe){this.type=i.Syntax.ReturnStatement,this.argument=oe}return he}();e.ReturnStatement=mi;var ls=function(){function he(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="script"}return he}();e.Script=ls;var ge=function(){function he(oe){this.type=i.Syntax.SequenceExpression,this.expressions=oe}return he}();e.SequenceExpression=ge;var je=function(){function he(oe){this.type=i.Syntax.SpreadElement,this.argument=oe}return he}();e.SpreadElement=je;var Pe=function(){function he(oe,Ye){this.type=i.Syntax.MemberExpression,this.computed=!1,this.object=oe,this.property=Ye}return he}();e.StaticMemberExpression=Pe;var He=function(){function he(){this.type=i.Syntax.Super}return he}();e.Super=He;var yt=function(){function he(oe,Ye){this.type=i.Syntax.SwitchCase,this.test=oe,this.consequent=Ye}return he}();e.SwitchCase=yt;var Et=function(){function he(oe,Ye){this.type=i.Syntax.SwitchStatement,this.discriminant=oe,this.cases=Ye}return he}();e.SwitchStatement=Et;var hr=function(){function he(oe,Ye){this.type=i.Syntax.TaggedTemplateExpression,this.tag=oe,this.quasi=Ye}return he}();e.TaggedTemplateExpression=hr;var et=function(){function he(oe,Ye){this.type=i.Syntax.TemplateElement,this.value=oe,this.tail=Ye}return he}();e.TemplateElement=et;var Wt=function(){function he(oe,Ye){this.type=i.Syntax.TemplateLiteral,this.quasis=oe,this.expressions=Ye}return he}();e.TemplateLiteral=Wt;var nt=function(){function he(){this.type=i.Syntax.ThisExpression}return he}();e.ThisExpression=nt;var Xt=function(){function he(oe){this.type=i.Syntax.ThrowStatement,this.argument=oe}return he}();e.ThrowStatement=Xt;var vr=function(){function he(oe,Ye,mr){this.type=i.Syntax.TryStatement,this.block=oe,this.handler=Ye,this.finalizer=mr}return he}();e.TryStatement=vr;var Dr=function(){function he(oe,Ye){this.type=i.Syntax.UnaryExpression,this.operator=oe,this.argument=Ye,this.prefix=!0}return he}();e.UnaryExpression=Dr;var ys=function(){function he(oe,Ye,mr){this.type=i.Syntax.UpdateExpression,this.operator=oe,this.argument=Ye,this.prefix=mr}return he}();e.UpdateExpression=ys;var ao=function(){function he(oe,Ye){this.type=i.Syntax.VariableDeclaration,this.declarations=oe,this.kind=Ye}return he}();e.VariableDeclaration=ao;var oo=function(){function he(oe,Ye){this.type=i.Syntax.VariableDeclarator,this.id=oe,this.init=Ye}return he}();e.VariableDeclarator=oo;var pn=function(){function he(oe,Ye){this.type=i.Syntax.WhileStatement,this.test=oe,this.body=Ye}return he}();e.WhileStatement=pn;var Js=function(){function he(oe,Ye){this.type=i.Syntax.WithStatement,this.object=oe,this.body=Ye}return he}();e.WithStatement=Js;var Ni=function(){function he(oe,Ye){this.type=i.Syntax.YieldExpression,this.argument=oe,this.delegate=Ye}return he}();e.YieldExpression=Ni},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]}),S=this.lastMarker.index,x=this.lastMarker.line,v=this.lastMarker.column+1;throw this.errorHandler.createError(S,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]}),S=this.lastMarker.index,x=this.scanner.lineNumber,v=this.lastMarker.column+1;this.errorHandler.tolerateError(S,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,S=f.lineNumber,x=this.lastMarker.index-this.lastMarker.column,v=f.start-x+1;return this.errorHandler.createError(b,S,v,m)}else{var b=this.lastMarker.index,S=this.lastMarker.line,v=this.lastMarker.column+1;return this.errorHandler.createError(b,S,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,S=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,S=this.parseGetterMethod();else if(m.type===3&&!A&&m.value==="set"&&K)g="set",x=this.match("["),b=this.parseObjectPropertyKey(),S=this.parseSetterMethod();else if(m.type===7&&m.value==="*"&&K)g="init",x=this.match("["),b=this.parseObjectPropertyKey(),S=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(),S=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))S=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);S=this.finalize(h,new a.AssignmentPattern(C,F))}else w=!0,S=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(h,new a.Property(g,b,x,S,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 S=0;S<b.length;S++)this.reinterpretExpressionAsPattern(b[S]);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 S=0;S<b.length;S++)this.reinterpretExpressionAsPattern(b[S]);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 S=0;S<f.expressions.length;S++)this.reinterpretExpressionAsPattern(f.expressions[S]);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),S=this.match("(")?this.parseArguments():[];m=new a.NewExpression(b,S),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 S=h&&f.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var x=S?this.parseAsyncArguments():this.parseArguments();if(g=this.finalize(this.startNode(f),new a.CallExpression(g,x)),S&&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 S=this.nextToken().value,b=!1;f=this.finalize(this.startNode(h),new a.UpdateExpression(S,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],S=h,x=this.isolateCoverGrammar(this.parseExponentiationExpression),v=[S,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(),S=v.pop(),b.pop();var C=this.startNode(b[b.length-1]);v.push(this.finalize(C,new a.BinaryExpression(A,S,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 S=h[b];S.type===l.Syntax.AssignmentPattern?S.right.type===l.Syntax.YieldExpression&&(S.right.argument&&this.throwUnexpectedToken(this.lookahead),S.right.type=l.Syntax.Identifier,S.right.name="yield",delete S.right.argument,delete S.right.delegate):g&&S.type===l.Syntax.Identifier&&S.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(m,S),h[b]=S}if(this.context.strict||!this.context.allowYield)for(var b=0;b<h.length;++b){var S=h[b];S.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,S=this.reinterpretAsCoverFormalsList(f);if(S){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var x=this.context.strict,v=this.context.allowStrictDirective;this.context.allowStrictDirective=S.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&&S.firstRestricted&&this.throwUnexpectedToken(S.firstRestricted,S.message),this.context.strict&&S.stricted&&this.tolerateUnexpectedToken(S.stricted,S.message),f=b?this.finalize(C,new a.AsyncArrowFunctionExpression(S.params,K,Q)):this.finalize(C,new a.ArrowFunctionExpression(S.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 xe=m.value,We=this.isolateCoverGrammar(this.parseAssignmentExpression);f=this.finalize(this.startNode(h),new a.AssignmentExpression(xe,f,We)),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 S=null;return f==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),S=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!h.inFor&&b.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),S=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(m,new a.VariableDeclarator(b,S))},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,S=!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,S,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 S=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=b,g=this.finalize(this.startNode(m),new a.AssignmentPattern(g,S))}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,S,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,S=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,S=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,S=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,S=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,S=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,S=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,S=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,S,Q)):this.finalize(x,new a.ForOfStatement(b,S,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 S=this.parseSwitchCase();S.test===null&&(b&&this.throwError(n.Messages.MultipleDefaultsInSwitch),b=!0),g.push(S)}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 S=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),S=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),S=v}else S=this.parseStatement();delete this.context.labelSet[b],m=new a.LabeledStatement(g,S)}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 S="$"+h[b].value;Object.prototype.hasOwnProperty.call(g,S)&&this.tolerateError(n.Messages.DuplicateBinding,h[b].value),g[S]=!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,S=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=S,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,S=null,x=null;if(!f||!this.match("(")){var v=this.lookahead;S=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 xe=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(S,K,xe)):this.finalize(h,new a.FunctionDeclaration(S,K,xe,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,S,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)?(S=w,g=n.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(S=w,g=n.Messages.StrictReservedWord)}var A=this.parseFormalParameters(S),C=A.params,K=A.stricted;S=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&&S&&this.throwUnexpectedToken(S,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,S=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,S=this.parseGetterMethod()):h.value==="set"&&F&&(g="set",x=this.match("["),b=this.parseObjectPropertyKey(),S=this.parseSetterMethod()):h.type===7&&h.value==="*"&&F&&(g="init",x=this.match("["),b=this.parseObjectPropertyKey(),S=this.parseGeneratorMethod(),v=!0),!g&&b&&this.match("(")&&(g="init",S=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||S&&S.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,S,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 S=this.parseClassBody();return this.context.strict=m,this.finalize(h,new a.ClassDeclaration(g,b,S))},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 S=[],x=null,v=!1;for(this.expect("{");!this.match("}");)v=v||this.matchKeyword("default"),S.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,S,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),XUe.test(f)&&(m=String.fromCharCode(parseInt(f,16)))):(f=f.substr(1),QUe.test(f)&&(m=String.fromCharCode(parseInt(f,10)))):m=JUe[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),S=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)){S=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()}vS(S.name)!==vS(b.name)&&this.raise(S.start,"Expected corresponding JSX closing tag for <"+vS(b.name)+">")}let x=b.name?"Element":"Fragment";return m["opening"+x]=b,m["closing"+x]=S,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 yc={};cm(yc,{__assign:()=>UL,__asyncDelegator:()=>xqe,__asyncGenerator:()=>Tqe,__asyncValues:()=>Eqe,__await:()=>SS,__awaiter:()=>mqe,__classPrivateFieldGet:()=>Cqe,__classPrivateFieldIn:()=>Nqe,__classPrivateFieldSet:()=>Dqe,__createBinding:()=>$L,__decorate:()=>Op,__esDecorate:()=>cqe,__exportStar:()=>gqe,__extends:()=>oqe,__generator:()=>yqe,__importDefault:()=>_qe,__importStar:()=>Pqe,__makeTemplateObject:()=>wqe,__metadata:()=>hqe,__param:()=>uqe,__propKey:()=>fqe,__read:()=>Xoe,__rest:()=>lqe,__runInitializers:()=>pqe,__setFunctionName:()=>dqe,__spread:()=>bqe,__spreadArray:()=>Sqe,__spreadArrays:()=>vqe,__values:()=>qL});function oqe(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 lqe(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 Op(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 uqe(t,e){return function(r,i){e(r,i,t)}}function cqe(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 pqe(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 fqe(t){return typeof t=="symbol"?t:"".concat(t)}function dqe(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 hqe(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function mqe(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 yqe(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 gqe(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&$L(e,t,r)}function qL(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 Xoe(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 bqe(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Xoe(arguments[e]));return t}function vqe(){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 Sqe(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 SS(t){return this instanceof SS?(this.v=t,this):new SS(t)}function Tqe(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 SS?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 xqe(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:SS(t[s](a)),done:!1}:n?n(a):a}:n}}function Eqe(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 qL=="function"?qL(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 wqe(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function Pqe(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)&&$L(e,t,r);return Aqe(e,t),e}function _qe(t){return t&&t.__esModule?t:{default:t}}function Cqe(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 Dqe(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 Nqe(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 VL,UL,$L,Aqe,Tu=Hi(()=>{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)};UL=function(){return UL=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},UL.apply(this,arguments)};$L=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]};Aqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var bi={};cm(bi,{__addDisposableResource:()=>gle,__assign:()=>F6,__asyncDelegator:()=>ule,__asyncGenerator:()=>lle,__asyncValues:()=>cle,__await:()=>ig,__awaiter:()=>rle,__classPrivateFieldGet:()=>hle,__classPrivateFieldIn:()=>yle,__classPrivateFieldSet:()=>mle,__createBinding:()=>B6,__decorate:()=>Or,__disposeResources:()=>ble,__esDecorate:()=>Iqe,__exportStar:()=>sle,__extends:()=>Qoe,__generator:()=>ile,__importDefault:()=>dle,__importStar:()=>fle,__makeTemplateObject:()=>ple,__metadata:()=>tle,__param:()=>ele,__propKey:()=>kqe,__read:()=>WL,__rest:()=>Zoe,__runInitializers:()=>Oqe,__setFunctionName:()=>Lqe,__spread:()=>nle,__spreadArray:()=>ole,__spreadArrays:()=>ale,__values:()=>R6,default:()=>Bqe});function Qoe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");KL(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function Zoe(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 Or(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 ele(t,e){return function(r,i){e(r,i,t)}}function Iqe(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 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 kqe(t){return typeof t=="symbol"?t:"".concat(t)}function Lqe(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 tle(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function rle(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 ile(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 sle(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&B6(e,t,r)}function R6(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 WL(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 nle(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(WL(arguments[e]));return t}function ale(){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 ole(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 ig(t){return this instanceof ig?(this.v=t,this):new ig(t)}function lle(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 ig?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 ule(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:ig(t[s](a)),done:!1}:n?n(a):a}:n}}function cle(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 R6=="function"?R6(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 ple(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function fle(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)&&B6(e,t,r);return Fqe(e,t),e}function dle(t){return t&&t.__esModule?t:{default:t}}function hle(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 mle(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 yle(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 gle(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 ble(t){function e(i){t.error=t.hasError?new Rqe(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 KL,F6,B6,Fqe,Rqe,Bqe,li=Hi(()=>{KL=function(t,e){return KL=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])},KL(t,e)};F6=function(){return F6=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},F6.apply(this,arguments)};B6=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]};Fqe=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e};Rqe=typeof SuppressedError=="function"?SuppressedError:function(t,e,r){var i=new Error(r);return i.name="SuppressedError",i.error=t,i.suppressed=e,i};Bqe={__extends:Qoe,__assign:F6,__rest:Zoe,__decorate:Or,__param:ele,__metadata:tle,__awaiter:rle,__generator:ile,__createBinding:B6,__exportStar:sle,__values:R6,__read:WL,__spread:nle,__spreadArrays:ale,__spreadArray:ole,__await:ig,__asyncGenerator:lle,__asyncDelegator:ule,__asyncValues:cle,__makeTemplateObject:ple,__importStar:fle,__importDefault:dle,__classPrivateFieldGet:hle,__classPrivateFieldSet:mle,__classPrivateFieldIn:yle,__addDisposableResource:gle,__disposeResources:ble}});var Ns=E(ES=>{"use strict";Object.defineProperty(ES,"__esModule",{value:!0});ES.Def=void 0;var sg=(li(),yr(bi)),Ele=Object.prototype,j6=Ele.toString,Al=Ele.hasOwnProperty,xS=function(){function t(){}return t.prototype.assert=function(e,r){if(!this.check(e,r)){var i=zL(e);throw new Error(i+" does not match type "+this)}return!0},t.prototype.arrayOf=function(){var e=this;return new GL(e)},t}(),GL=function(t){(0,sg.__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}(xS),vle=function(t){(0,sg.__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}(xS),Sle=function(t){(0,sg.__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 j6.call(r)===j6.call({})&&this.fields.every(function(s){return s.type.check(r[s.name],i)})},e}(xS),Tle=function(t){(0,sg.__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}(xS),TS=function(t){(0,sg.__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}(xS),M6=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 Al.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}();ES.Def=M6;var xle=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 zL(t){return Array.isArray(t)?"["+t.map(zL).join(", ")+"]":t&&typeof t=="object"?"{ "+Object.keys(t).map(function(e){return e+": "+t[e]}).join(", ")+" }":JSON.stringify(t)}function Mqe(t){var e={or:function(){for(var ue=[],Me=0;Me<arguments.length;Me++)ue[Me]=arguments[Me];return new Tle(ue.map(function(Z){return e.from(Z)}))},from:function(ue,Me){if(ue instanceof GL||ue instanceof vle||ue instanceof Sle||ue instanceof Tle||ue instanceof TS)return ue;if(ue instanceof M6)return ue.type;if(o.check(ue)){if(ue.length!==1)throw new Error("only one element type is permitted for typed arrays");return new GL(e.from(ue[0]))}if(l.check(ue))return new Sle(Object.keys(ue).map(function(Te){return new xle(Te,e.from(ue[Te],Te))}));if(typeof ue=="function"){var Z=r.indexOf(ue);if(Z>=0)return i[Z];if(typeof Me!="string")throw new Error("missing name");return new TS(Me,ue)}return new vle(ue)},def:function(ue){return Al.call(b,ue)?b[ue]:b[ue]=new x(ue)},hasDef:function(ue){return Al.call(b,ue)}},r=[],i=[];function s(ue,Me){var Z=j6.call(Me),Te=new TS(ue,function(we){return j6.call(we)===Z});return Me&&typeof Me.constructor=="function"&&(r.push(Me.constructor),i.push(Te)),Te}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 TS("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 S(ue){if(ue&&typeof ue=="object"){var Me=ue.type;if(typeof Me=="string"&&Al.call(b,Me)){var Z=b[Me];if(Z.finalized)return Z}}return null}var x=function(ue){(0,sg.__extends)(Me,ue);function Me(Z){var Te=ue.call(this,new TS(Z,function(we,Ae){return Te.check(we,Ae)}),Z)||this;return Te}return Me.prototype.check=function(Z,Te){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if(Z===null||typeof Z!="object")return!1;var we=S(Z);return we?Te&&we===this?this.checkAllFields(Z,Te):this.isSupertypeOf(we)?Te?we.checkAllFields(Z,Te)&&this.checkAllFields(Z,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields(Z,Te):!1},Me.prototype.build=function(){for(var Z=this,Te=[],we=0;we<arguments.length;we++)Te[we]=arguments[we];if(this.buildParams=Te,this.buildable)return this;this.field("type",String,function(){return Z.typeName}),this.buildable=!0;var Ae=function(ye,pe,le,Be){if(!Al.call(ye,pe)){var Se=Z.allFields;if(!Al.call(Se,pe))throw new Error(""+pe);var De=Se[pe],st=De.type,Lt;if(Be)Lt=le;else if(De.defaultFn)Lt=De.defaultFn.call(ye);else{var mt="no value or default function given for field "+JSON.stringify(pe)+" of "+Z.typeName+"("+Z.buildParams.map(function(er){return Se[er]}).join(", ")+")";throw new Error(mt)}if(!st.check(Lt))throw new Error(zL(Lt)+" does not match field "+De+" of type "+Z.typeName);ye[pe]=Lt}},Ve=function(){for(var ye=[],pe=0;pe<arguments.length;pe++)ye[pe]=arguments[pe];var le=ye.length;if(!Z.finalized)throw new Error("attempting to instantiate unfinalized type "+Z.typeName);var Be=Object.create(C);if(Z.buildParams.forEach(function(Se,De){De<le?Ae(Be,Se,ye[De],!0):Ae(Be,Se,null,!1)}),Object.keys(Z.allFields).forEach(function(Se){Ae(Be,Se,null,!1)}),Be.type!==Z.typeName)throw new Error("");return Be};return Ve.from=function(ye){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){Al.call(ye,le)?Ae(pe,le,ye[le],!0):Ae(pe,le,null,!1)}),pe.type!==Z.typeName)throw new Error("");return pe},Object.defineProperty(A,F(this.typeName),{enumerable:!0,value:Ve}),this},Me.prototype.field=function(Z,Te,we,Ae){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 xle(Z,e.from(Te),we,Ae),this)},Me.prototype.finalize=function(){var Z=this;if(!this.finalized){var Te=this.allFields,we=this.allSupertypes;this.baseNames.forEach(function(Ve){var ye=b[Ve];if(ye instanceof M6)ye.finalize(),Ue(Te,ye.allFields),Ue(we,ye.allSupertypes);else{var pe="unknown supertype name "+JSON.stringify(Ve)+" for subtype "+JSON.stringify(Z.typeName);throw new Error(pe)}}),Ue(Te,this.ownFields),we[this.typeName]=this,this.fieldNames.length=0;for(var Ae in Te)Al.call(Te,Ae)&&!Te[Ae].hidden&&this.fieldNames.push(Ae);Object.defineProperty(X,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,Ne(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&ne(this.typeName)}},Me}(M6);function v(ue){if(!Al.call(b,ue))throw new Error("");var Me=b[ue];if(Me.finalized!==!0)throw new Error("");return Me.supertypeList.slice(1)}function w(ue){for(var Me={},Z=Object.keys(b),Te=Z.length,we=0;we<Te;++we){var Ae=Z[we],Ve=b[Ae];if(Ve.finalized!==!0)throw new Error(""+Ae);for(var ye=0;ye<Ve.supertypeList.length;++ye){var pe=Ve.supertypeList[ye];if(Al.call(ue,pe)){Me[Ae]=pe;break}}}return Me}var A=Object.create(null),C={};function K(ue,Me){var Z=C[ue];return h.check(Me)?delete C[ue]:(a.assert(Me),Object.defineProperty(C,ue,{enumerable:!0,configurable:!0,value:Me})),Z}function F(ue){return ue.replace(/^[A-Z]+/,function(Me){var Z=Me.length;switch(Z){case 0:return"";case 1:return Me.toLowerCase();default:return Me.slice(0,Z-1).toLowerCase()+Me.charAt(Z-1)}})}function Q(ue){return ue=F(ue),ue.replace(/(Expression)?$/,"Statement")}var X={};function xe(ue){var Me=S(ue);if(Me)return Me.fieldNames.slice(0);if("type"in ue)throw new Error("did not recognize object of type "+JSON.stringify(ue.type));return Object.keys(ue)}function We(ue,Me){var Z=S(ue);if(Z){var Te=Z.allFields[Me];if(Te)return Te.getValue(ue)}return ue&&ue[Me]}function ze(ue,Me,Z){xe(ue).forEach(function(Te){Me.call(this,Te,We(ue,Te))},Z)}function ae(ue,Me,Z){return xe(ue).some(function(Te){return Me.call(this,Te,We(ue,Te))},Z)}function ne(ue){var Me=Q(ue);if(!A[Me]){var Z=A[F(ue)];if(Z){var Te=function(){for(var we=[],Ae=0;Ae<arguments.length;Ae++)we[Ae]=arguments[Ae];return A.expressionStatement(Z.apply(A,we))};Te.from=function(){for(var we=[],Ae=0;Ae<arguments.length;Ae++)we[Ae]=arguments[Ae];return A.expressionStatement(Z.from.apply(A,we))},A[Me]=Te}}}function Ne(ue,Me){Me.length=0,Me.push(ue);for(var Z=Object.create(null),Te=0;Te<Me.length;++Te){ue=Me[Te];var we=b[ue];if(we.finalized!==!0)throw new Error("");Al.call(Z,ue)&&delete Me[Z[ue]],Z[ue]=Te,Me.push.apply(Me,we.baseNames)}for(var Ae=0,Ve=Ae,ye=Me.length;Ve<ye;++Ve)Al.call(Me,Ve)&&(Me[Ae++]=Me[Ve]);Me.length=Ae}function Ue(ue,Me){return Object.keys(Me).forEach(function(Z){ue[Z]=Me[Z]}),ue}function xt(){Object.keys(b).forEach(function(ue){b[ue].finalize()})}return{Type:e,builtInTypes:g,getSupertypeNames:v,computeSupertypeLookupTable:w,builders:A,defineMethod:K,getBuilderName:F,getStatementBuilderName:Q,namedTypes:X,getFieldNames:xe,getFieldValue:We,eachField:ze,someField:ae,finalize:xt}}ES.default=Mqe});var HL=E((U6,wle)=>{"use strict";Object.defineProperty(U6,"__esModule",{value:!0});var jqe=(li(),yr(bi)),Vqe=(0,jqe.__importDefault)(Ns()),Uqe=Object.prototype,V6=Uqe.hasOwnProperty;function qqe(t){var e=t.use(Vqe.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(!V6.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)V6.call(this.value,g)&&(h[g]=this.get(g));for(f=f||this,g=0;g<m;++g)V6.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),S=a(p),x=f;x<h;++x)if(V6.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 S[x]}return delete S.length,function(){for(var A in b){var C=b[A];if(C.name!==+A)throw new Error("");S[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,S=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(S(),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}U6.default=qqe;wle.exports=U6.default});var Ple=E((q6,Ale)=>{"use strict";Object.defineProperty(q6,"__esModule",{value:!0});var $qe=(li(),yr(bi)),Kqe=(0,$qe.__importDefault)(Ns()),ng=Object.prototype.hasOwnProperty;function Wqe(t){var e=t.use(Kqe.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(),ng.call(this.bindings,v)},d.declaresType=function(v){return this.scan(),ng.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)?S(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))S(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=ng.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)?ng.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 S(v,w){var A=v.value;i.Pattern.assert(A),i.Identifier.check(A)&&(ng.call(w,A.name)?w[A.name].push(v):w[A.name]=[v])}function x(v,w){var A=v.value;p.assert(A),ng.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}q6.default=Wqe;Ale.exports=q6.default});var JL=E(($6,_le)=>{"use strict";Object.defineProperty($6,"__esModule",{value:!0});var YL=(li(),yr(bi)),Gqe=(0,YL.__importDefault)(Ns()),zqe=(0,YL.__importDefault)(HL()),Hqe=(0,YL.__importDefault)(Ple());function Yqe(t){var e=t.use(Gqe.default),r=e.namedTypes,i=e.builders,s=e.builtInTypes.number,n=e.builtInTypes.array,a=t.use(zqe.default),o=t.use(Hqe.default),l=function b(S,x,v){if(!(this instanceof b))throw new Error("NodePath constructor cannot be invoked without 'new'");a.call(this,S,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 S=this.parentPath;return S&&S.node||null},u._computeParent=function(){var b=this.value,S=this.parentPath;if(!r.Node.check(b)){for(;S&&!r.Node.check(S.value);)S=S.parentPath;S&&(S=S.parentPath)}for(;S&&!r.Node.check(S.value);)S=S.parentPath;return S||null},u._computeScope=function(){var b=this.value,S=this.parentPath,x=S&&S.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 S=this.parentPath;if(!S)return!1;var x=this.value;if(!r.Expression.check(x)||x.type==="Identifier")return!1;for(;!r.Node.check(S.value);)if(S=S.parentPath,!S)return!1;var v=S.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,S){b.forEach(function(x){d[x]=S})});function f(b){return r.CallExpression.check(b)?!0:n.check(b)?b.some(f):r.Node.check(b)?e.someField(b,function(S,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 S,x;b.parent;b=b.parent){if(S=b.node,x=b.parent.node,r.BlockStatement.check(x)&&b.parent.name==="body"&&b.name===0){if(x.body[0]!==S)throw new Error("Nodes must be equal");return!0}if(r.ExpressionStatement.check(x)&&b.name==="expression"){if(x.expression!==S)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]!==S)throw new Error("Nodes must be equal");continue}if(r.CallExpression.check(x)&&b.name==="callee"){if(x.callee!==S)throw new Error("Nodes must be equal");continue}if(r.MemberExpression.check(x)&&b.name==="object"){if(x.object!==S)throw new Error("Nodes must be equal");continue}if(r.ConditionalExpression.check(x)&&b.name==="test"){if(x.test!==S)throw new Error("Nodes must be equal");continue}if(c(x)&&b.name==="left"){if(x.left!==S)throw new Error("Nodes must be equal");continue}if(r.UnaryExpression.check(x)&&!x.prefix&&b.name==="argument"){if(x.argument!==S)throw new Error("Nodes must be equal");continue}return!1}return!0}function m(b){if(r.VariableDeclaration.check(b.node)){var S=b.get("declarations").value;if(!S||S.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 S=b.get("test").value,x=b.get("alternate").value,v=b.get("consequent").value;if(!v&&!x){var w=i.expressionStatement(S);b.replace(w)}else if(!v&&x){var A=i.unaryExpression("!",S,!0);r.UnaryExpression.check(S)&&S.operator==="!"&&(A=S.argument),b.get("test").replace(A),b.get("consequent").replace(x),b.get("alternate").replace()}}return l}$6.default=Yqe;_le.exports=$6.default});var Nle=E((W6,Dle)=>{"use strict";Object.defineProperty(W6,"__esModule",{value:!0});var Cle=(li(),yr(bi)),Jqe=(0,Cle.__importDefault)(Ns()),Xqe=(0,Cle.__importDefault)(JL()),K6=Object.prototype.hasOwnProperty;function Qqe(t){var e=t.use(Jqe.default),r=t.use(Xqe.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=K6.call(this._methodNameTable,"Block")||K6.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),S=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])&&(S[A]=g)}return S}o.fromMethodsObject=function(m){if(m instanceof o)return m;if(!s.check(m))return new o;var g=function S(){if(!(this instanceof S))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)K6.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 S=this.visitWithoutReset(m[0]);b=!0}finally{if(this._visiting=!1,!b&&this._abortRequested)return m[0].value}return S},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 S=b.length,x=[],v=0;v<S;++v){var w=b[v];K6.call(g,w)||(g[w]=e.getFieldValue(g,w)),x.push(h.get(w))}for(var v=0;v<S;++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}W6.default=Qqe;Dle.exports=W6.default});var Ole=E((G6,Ile)=>{"use strict";Object.defineProperty(G6,"__esModule",{value:!0});var Zqe=(li(),yr(bi)),e$e=(0,Zqe.__importDefault)(Ns());function t$e(t){var e=t.use(e$e.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 S=0;S<b;++S){if(g&&g.push(S),S in h!=S in m||!p(h[S],m[S],g))return!1;if(g){var x=g.pop();if(x!==S)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),S=b.length,x=r(m),v=x.length;if(S===v){for(var w=0;w<S;++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<S;++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}G6.default=t$e;Ile.exports=G6.default});var Lle=E((z6,kle)=>{"use strict";Object.defineProperty(z6,"__esModule",{value:!0});var wS=(li(),yr(bi)),r$e=(0,wS.__importDefault)(Ns()),i$e=(0,wS.__importDefault)(Nle()),s$e=(0,wS.__importDefault)(Ole()),n$e=(0,wS.__importDefault)(HL()),a$e=(0,wS.__importDefault)(JL());function o$e(t){var e=l$e(),r=e.use(r$e.default);t.forEach(e.use),r.finalize();var i=e.use(i$e.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(s$e.default),finalize:r.finalize,Path:e.use(n$e.default),NodePath:e.use(a$e.default),PathVisitor:i,use:e.use,visit:i.visit}}z6.default=o$e;function l$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}kle.exports=z6.default});var So=E((H6,Fle)=>{"use strict";Object.defineProperty(H6,"__esModule",{value:!0});var u$e=(li(),yr(bi)),c$e=(0,u$e.__importDefault)(Ns());function p$e(t){var e=t.use(c$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}}H6.default=p$e;Fle.exports=H6.default});var XL=E((Y6,Rle)=>{"use strict";Object.defineProperty(Y6,"__esModule",{value:!0});function f$e(){return{BinaryOperators:["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"],AssignmentOperators:["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="],LogicalOperators:["||","&&"]}}Y6.default=f$e;Rle.exports=Y6.default});var QL=E((J6,Ble)=>{"use strict";Object.defineProperty(J6,"__esModule",{value:!0});var d$e=(li(),yr(bi)),h$e=(0,d$e.__importDefault)(XL());function m$e(t){var e=t.use(h$e.default);return e.BinaryOperators.indexOf("**")<0&&e.BinaryOperators.push("**"),e.AssignmentOperators.indexOf("**=")<0&&e.AssignmentOperators.push("**="),e}J6.default=m$e;Ble.exports=J6.default});var ZL=E((X6,Mle)=>{"use strict";Object.defineProperty(X6,"__esModule",{value:!0});var y$e=(li(),yr(bi)),g$e=(0,y$e.__importDefault)(QL());function b$e(t){var e=t.use(g$e.default);return e.LogicalOperators.indexOf("??")<0&&e.LogicalOperators.push("??"),e}X6.default=b$e;Mle.exports=X6.default});var Vle=E((Q6,jle)=>{"use strict";Object.defineProperty(Q6,"__esModule",{value:!0});var v$e=(li(),yr(bi)),S$e=(0,v$e.__importDefault)(ZL());function T$e(t){var e=t.use(S$e.default);return e.LogicalOperators.forEach(function(r){var i=r+"=";e.AssignmentOperators.indexOf(i)<0&&e.AssignmentOperators.push(i)}),e}Q6.default=T$e;jle.exports=Q6.default});var qle=E((Z6,Ule)=>{"use strict";Object.defineProperty(Z6,"__esModule",{value:!0});var eF=(li(),yr(bi)),x$e=(0,eF.__importDefault)(XL()),E$e=(0,eF.__importDefault)(Ns()),w$e=(0,eF.__importDefault)(So());function A$e(t){var e=t.use(E$e.default),r=e.Type,i=r.def,s=r.or,n=t.use(w$e.default),a=n.defaults,o=n.geq,l=t.use(x$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)}Z6.default=A$e;Ule.exports=Z6.default});var Kle=E((eP,$le)=>{"use strict";Object.defineProperty(eP,"__esModule",{value:!0});var tF=(li(),yr(bi)),P$e=(0,tF.__importDefault)(qle()),_$e=(0,tF.__importDefault)(Ns()),C$e=(0,tF.__importDefault)(So());function D$e(t){t.use(P$e.default);var e=t.use(_$e.default),r=e.Type.def,i=e.Type.or,s=t.use(C$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"))}eP.default=D$e;$le.exports=eP.default});var zle=E((tP,Gle)=>{"use strict";Object.defineProperty(tP,"__esModule",{value:!0});var Wle=(li(),yr(bi)),N$e=(0,Wle.__importDefault)(QL()),I$e=(0,Wle.__importDefault)(Kle());function O$e(t){t.use(N$e.default),t.use(I$e.default)}tP.default=O$e;Gle.exports=tP.default});var Yle=E((rP,Hle)=>{"use strict";Object.defineProperty(rP,"__esModule",{value:!0});var rF=(li(),yr(bi)),k$e=(0,rF.__importDefault)(zle()),L$e=(0,rF.__importDefault)(Ns()),F$e=(0,rF.__importDefault)(So());function R$e(t){t.use(k$e.default);var e=t.use(L$e.default),r=e.Type.def,i=t.use(F$e.default).defaults;r("Function").field("async",Boolean,i.false),r("AwaitExpression").bases("Expression").build("argument").field("argument",r("Expression"))}rP.default=R$e;Hle.exports=rP.default});var Xle=E((iP,Jle)=>{"use strict";Object.defineProperty(iP,"__esModule",{value:!0});var iF=(li(),yr(bi)),B$e=(0,iF.__importDefault)(Yle()),M$e=(0,iF.__importDefault)(Ns()),j$e=(0,iF.__importDefault)(So());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("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"))])}iP.default=V$e;Jle.exports=iP.default});var Zle=E((sP,Qle)=>{"use strict";Object.defineProperty(sP,"__esModule",{value:!0});var sF=(li(),yr(bi)),U$e=(0,sF.__importDefault)(Xle()),q$e=(0,sF.__importDefault)(Ns()),$$e=(0,sF.__importDefault)(So());function K$e(t){t.use(U$e.default);var e=t.use(q$e.default),r=e.Type.def,i=e.Type.or,s=t.use($$e.default).defaults;r("CatchClause").field("param",i(r("Pattern"),null),s.null)}sP.default=K$e;Qle.exports=sP.default});var tue=E((aP,eue)=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});var nP=(li(),yr(bi)),W$e=(0,nP.__importDefault)(ZL()),G$e=(0,nP.__importDefault)(Zle()),z$e=(0,nP.__importDefault)(Ns()),H$e=(0,nP.__importDefault)(So());function Y$e(t){t.use(W$e.default),t.use(G$e.default);var e=t.use(z$e.default),r=e.Type.def,i=e.Type.or,s=t.use(H$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)}aP.default=Y$e;eue.exports=aP.default});var sue=E((oP,iue)=>{"use strict";Object.defineProperty(oP,"__esModule",{value:!0});var rue=(li(),yr(bi)),J$e=(0,rue.__importDefault)(Vle()),X$e=(0,rue.__importDefault)(tue());function Q$e(t){t.use(J$e.default),t.use(X$e.default)}oP.default=Q$e;iue.exports=oP.default});var oue=E((lP,aue)=>{"use strict";Object.defineProperty(lP,"__esModule",{value:!0});var nue=(li(),yr(bi)),Z$e=(0,nue.__importDefault)(sue()),eKe=(0,nue.__importDefault)(Ns());function tKe(t){t.use(Z$e.default);var e=t.use(eKe.default),r=e.Type.def;r("StaticBlock").bases("Declaration").build("body").field("body",[r("Statement")])}lP.default=tKe;aue.exports=lP.default});var ag=E((uP,lue)=>{"use strict";Object.defineProperty(uP,"__esModule",{value:!0});var nF=(li(),yr(bi)),rKe=(0,nF.__importDefault)(Ns()),iKe=(0,nF.__importDefault)(So()),sKe=(0,nF.__importDefault)(oue());function nKe(t){t.use(sKe.default);var e=t.use(rKe.default),r=e.Type,i=e.Type.def,s=r.or,n=t.use(iKe.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"))}uP.default=nKe;lue.exports=uP.default});var cue=E((cP,uue)=>{"use strict";Object.defineProperty(cP,"__esModule",{value:!0});var aF=(li(),yr(bi)),aKe=(0,aF.__importDefault)(ag()),oKe=(0,aF.__importDefault)(Ns()),lKe=(0,aF.__importDefault)(So());function uKe(t){t.use(aKe.default);var e=t.use(oKe.default),r=e.Type.def,i=e.Type.or,s=t.use(lKe.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"))}cP.default=uKe;uue.exports=cP.default});var oF=E((pP,fue)=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});var pue=(li(),yr(bi)),cKe=(0,pue.__importDefault)(Ns()),pKe=(0,pue.__importDefault)(So());function fKe(t){var e=t.use(cKe.default),r=e.Type.def,i=e.Type.or,s=t.use(pKe.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)})}pP.default=fKe;fue.exports=pP.default});var lF=E((dP,due)=>{"use strict";Object.defineProperty(dP,"__esModule",{value:!0});var fP=(li(),yr(bi)),dKe=(0,fP.__importDefault)(ag()),hKe=(0,fP.__importDefault)(oF()),mKe=(0,fP.__importDefault)(Ns()),yKe=(0,fP.__importDefault)(So());function gKe(t){t.use(dKe.default),t.use(hKe.default);var e=t.use(mKe.default),r=e.Type.def,i=e.Type.or,s=t.use(yKe.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"))}dP.default=gKe;due.exports=dP.default});var mue=E((hP,hue)=>{"use strict";Object.defineProperty(hP,"__esModule",{value:!0});var uF=(li(),yr(bi)),bKe=(0,uF.__importDefault)(ag()),vKe=(0,uF.__importDefault)(Ns()),SKe=(0,uF.__importDefault)(So());function TKe(t){t.use(bKe.default);var e=t.use(vKe.default),r=t.use(SKe.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")}hP.default=TKe;hue.exports=hP.default});var pF=E((mP,yue)=>{"use strict";Object.defineProperty(mP,"__esModule",{value:!0});var cF=(li(),yr(bi)),xKe=(0,cF.__importDefault)(ag()),EKe=(0,cF.__importDefault)(Ns()),wKe=(0,cF.__importDefault)(So());function AKe(t){var e,r,i,s,n;t.use(xKe.default);var a=t.use(EKe.default),o=t.use(wKe.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 S=a.getFieldValue(this,"value");return{rawValue:S,raw:g?g(S):String(S)}}]}(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()}mP.default=AKe;yue.exports=mP.default});var bue=E((yP,gue)=>{"use strict";Object.defineProperty(yP,"__esModule",{value:!0});var fF=(li(),yr(bi)),PKe=(0,fF.__importDefault)(Ns()),_Ke=(0,fF.__importDefault)(pF()),CKe=(0,fF.__importDefault)(lF());function DKe(t){var e=t.use(PKe.default),r=e.Type.def;t.use(_Ke.default),t.use(CKe.default),r("V8IntrinsicIdentifier").bases("Expression").build("name").field("name",String),r("TopicReference").bases("Expression").build()}yP.default=DKe;gue.exports=yP.default});var Sue=E((bP,vue)=>{"use strict";Object.defineProperty(bP,"__esModule",{value:!0});var gP=(li(),yr(bi)),NKe=(0,gP.__importDefault)(pF()),IKe=(0,gP.__importDefault)(oF()),OKe=(0,gP.__importDefault)(Ns()),kKe=(0,gP.__importDefault)(So());function LKe(t){t.use(NKe.default),t.use(IKe.default);var e=t.use(OKe.default),r=e.namedTypes,i=e.Type.def,s=e.Type.or,n=t.use(kKe.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)])}bP.default=LKe;vue.exports=bP.default});var Tue=E(AS=>{"use strict";Object.defineProperty(AS,"__esModule",{value:!0});AS.namedTypes=void 0;var FKe;(function(t){})(FKe=AS.namedTypes||(AS.namedTypes={}))});var kp=E(qr=>{"use strict";Object.defineProperty(qr,"__esModule",{value:!0});qr.visit=qr.use=qr.Type=qr.someField=qr.PathVisitor=qr.Path=qr.NodePath=qr.namedTypes=qr.getSupertypeNames=qr.getFieldValue=qr.getFieldNames=qr.getBuilderName=qr.finalize=qr.eachField=qr.defineMethod=qr.builtInTypes=qr.builders=qr.astNodesAreEquivalent=void 0;var Wm=(li(),yr(bi)),RKe=(0,Wm.__importDefault)(Lle()),BKe=(0,Wm.__importDefault)(ag()),MKe=(0,Wm.__importDefault)(cue()),jKe=(0,Wm.__importDefault)(lF()),VKe=(0,Wm.__importDefault)(mue()),UKe=(0,Wm.__importDefault)(bue()),qKe=(0,Wm.__importDefault)(Sue()),xue=Tue();Object.defineProperty(qr,"namedTypes",{enumerable:!0,get:function(){return xue.namedTypes}});var Vn=(0,RKe.default)([BKe.default,MKe.default,jKe.default,VKe.default,UKe.default,qKe.default]),$Ke=Vn.astNodesAreEquivalent,KKe=Vn.builders,WKe=Vn.builtInTypes,GKe=Vn.defineMethod,zKe=Vn.eachField,HKe=Vn.finalize,YKe=Vn.getBuilderName,JKe=Vn.getFieldNames,XKe=Vn.getFieldValue,QKe=Vn.getSupertypeNames,ZKe=Vn.namedTypes,eWe=Vn.NodePath,tWe=Vn.Path,rWe=Vn.PathVisitor,iWe=Vn.someField,sWe=Vn.Type,nWe=Vn.use,aWe=Vn.visit;qr.astNodesAreEquivalent=$Ke;qr.builders=KKe;qr.builtInTypes=WKe;qr.defineMethod=GKe;qr.eachField=zKe;qr.finalize=HKe;qr.getBuilderName=YKe;qr.getFieldNames=JKe;qr.getFieldValue=XKe;qr.getSupertypeNames=QKe;qr.NodePath=eWe;qr.Path=tWe;qr.PathVisitor=rWe;qr.someField=iWe;qr.Type=sWe;qr.use=nWe;qr.visit=aWe;Object.assign(xue.namedTypes,ZKe)});var wue=E(dF=>{var Eue="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");dF.encode=function(t){if(0<=t&&t<Eue.length)return Eue[t];throw new TypeError("Must be between 0 and 63: "+t)};dF.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 yF=E(mF=>{var Aue=wue(),hF=5,Pue=1<<hF,_ue=Pue-1,Cue=Pue;function oWe(t){return t<0?(-t<<1)+1:(t<<1)+0}function lWe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}mF.encode=function(e){var r="",i,s=oWe(e);do i=s&_ue,s>>>=hF,s>0&&(i|=Cue),r+=Aue.encode(i);while(s>0);return r};mF.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=Aue.decode(e.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));o=!!(l&Cue),l&=_ue,n=n+(l<<a),a+=hF}while(o);i.value=lWe(n),i.rest=r}});var ug=E(ca=>{function uWe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ca.getArg=uWe;var Due=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,cWe=/^data:.+\,.+$/;function PS(t){var e=t.match(Due);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ca.urlParse=PS;function og(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}ca.urlGenerate=og;function gF(t){var e=t,r=PS(t);if(r){if(!r.path)return t;e=r.path}for(var i=ca.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,og(r)):e}ca.normalize=gF;function Nue(t,e){t===""&&(t="."),e===""&&(e=".");var r=PS(e),i=PS(t);if(i&&(t=i.path||"/"),r&&!r.scheme)return i&&(r.scheme=i.scheme),og(r);if(r||e.match(cWe))return e;if(i&&!i.host&&!i.path)return i.host=e,og(i);var s=e.charAt(0)==="/"?e:gF(t.replace(/\/+$/,"")+"/"+e);return i?(i.path=s,og(i)):s}ca.join=Nue;ca.isAbsolute=function(t){return t.charAt(0)==="/"||Due.test(t)};function pWe(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)}ca.relative=pWe;var Iue=function(){var t=Object.create(null);return!("__proto__"in t)}();function Oue(t){return t}function fWe(t){return kue(t)?"$"+t:t}ca.toSetString=Iue?Oue:fWe;function dWe(t){return kue(t)?t.slice(1):t}ca.fromSetString=Iue?Oue:dWe;function kue(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 hWe(t,e,r){var i=lg(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:lg(t.name,e.name)}ca.compareByOriginalPositions=hWe;function mWe(t,e,r){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0||r)||(i=lg(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:lg(t.name,e.name)}ca.compareByGeneratedPositionsDeflated=mWe;function lg(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function yWe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=lg(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:lg(t.name,e.name)}ca.compareByGeneratedPositionsInflated=yWe;function gWe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ca.parseSourceMapInput=gWe;function bWe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var i=PS(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=Nue(og(i),e)}return gF(e)}ca.computeSourceURL=bWe});var SF=E(Lue=>{var bF=ug(),vF=Object.prototype.hasOwnProperty,Gm=typeof Map<"u";function Lp(){this._array=[],this._set=Gm?new Map:Object.create(null)}Lp.fromArray=function(e,r){for(var i=new Lp,s=0,n=e.length;s<n;s++)i.add(e[s],r);return i};Lp.prototype.size=function(){return Gm?this._set.size:Object.getOwnPropertyNames(this._set).length};Lp.prototype.add=function(e,r){var i=Gm?e:bF.toSetString(e),s=Gm?this.has(e):vF.call(this._set,i),n=this._array.length;(!s||r)&&this._array.push(e),s||(Gm?this._set.set(e,n):this._set[i]=n)};Lp.prototype.has=function(e){if(Gm)return this._set.has(e);var r=bF.toSetString(e);return vF.call(this._set,r)};Lp.prototype.indexOf=function(e){if(Gm){var r=this._set.get(e);if(r>=0)return r}else{var i=bF.toSetString(e);if(vF.call(this._set,i))return this._set[i]}throw new Error('"'+e+'" is not in the set.')};Lp.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Lp.prototype.toArray=function(){return this._array.slice()};Lue.ArraySet=Lp});var Bue=E(Rue=>{var Fue=ug();function vWe(t,e){var r=t.generatedLine,i=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return i>r||i==r&&n>=s||Fue.compareByGeneratedPositionsInflated(t,e)<=0}function vP(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}vP.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};vP.prototype.add=function(e){vWe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};vP.prototype.toArray=function(){return this._sorted||(this._array.sort(Fue.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Rue.MappingList=vP});var TF=E(Mue=>{var _S=yF(),yn=ug(),SP=SF().ArraySet,SWe=Bue().MappingList;function Pl(t){t||(t={}),this._file=yn.getArg(t,"file",null),this._sourceRoot=yn.getArg(t,"sourceRoot",null),this._skipValidation=yn.getArg(t,"skipValidation",!1),this._sources=new SP,this._names=new SP,this._mappings=new SWe,this._sourcesContents=null}Pl.prototype._version=3;Pl.fromSourceMap=function(e){var r=e.sourceRoot,i=new Pl({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=yn.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=yn.relative(r,s)),i._sources.has(n)||i._sources.add(n);var a=e.sourceContentFor(s);a!=null&&i.setSourceContent(s,a)}),i};Pl.prototype.addMapping=function(e){var r=yn.getArg(e,"generated"),i=yn.getArg(e,"original",null),s=yn.getArg(e,"source",null),n=yn.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})};Pl.prototype.setSourceContent=function(e,r){var i=e;this._sourceRoot!=null&&(i=yn.relative(this._sourceRoot,i)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[yn.toSetString(i)]=r):this._sourcesContents&&(delete this._sourcesContents[yn.toSetString(i)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Pl.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=yn.relative(n,s));var a=new SP,o=new SP;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=yn.join(i,l.source)),n!=null&&(l.source=yn.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=yn.join(i,l)),n!=null&&(l=yn.relative(n,l)),this.setSourceContent(l,u))},this)};Pl.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}))}};Pl.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(!yn.compareByGeneratedPositionsInflated(u,d[f-1]))continue;l+=","}l+=_S.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(p=this._sources.indexOf(u.source),l+=_S.encode(p-a),a=p,l+=_S.encode(u.originalLine-1-s),s=u.originalLine-1,l+=_S.encode(u.originalColumn-i),i=u.originalColumn,u.name!=null&&(c=this._names.indexOf(u.name),l+=_S.encode(c-n),n=c)),o+=l}return o};Pl.prototype._generateSourcesContent=function(e,r){return e.map(function(i){if(!this._sourcesContents)return null;r!=null&&(i=yn.relative(r,i));var s=yn.toSetString(i);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};Pl.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};Pl.prototype.toString=function(){return JSON.stringify(this.toJSON())};Mue.SourceMapGenerator=Pl});var jue=E(zm=>{zm.GREATEST_LOWER_BOUND=1;zm.LEAST_UPPER_BOUND=2;function xF(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?xF(a,e,r,i,s,n):n==zm.LEAST_UPPER_BOUND?e<i.length?e:-1:a:a-t>1?xF(t,a,r,i,s,n):n==zm.LEAST_UPPER_BOUND?a:t<0?-1:t}zm.search=function(e,r,i,s){if(r.length===0)return-1;var n=xF(-1,r.length,e,r,i,s||zm.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&i(r[n],r[n-1],!0)===0;)--n;return n}});var Uue=E(Vue=>{function EF(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function TWe(t,e){return Math.round(t+Math.random()*(e-t))}function wF(t,e,r,i){if(r<i){var s=TWe(r,i),n=r-1;EF(t,s,i);for(var a=t[i],o=r;o<i;o++)e(t[o],a)<=0&&(n+=1,EF(t,n,o));EF(t,n+1,o);var l=n+1;wF(t,e,r,l-1),wF(t,e,l+1,i)}}Vue.quickSort=function(t,e){wF(t,e,0,t.length-1)}});var $ue=E(TP=>{var Nt=ug(),AF=jue(),cg=SF().ArraySet,xWe=yF(),CS=Uue().quickSort;function ps(t,e){var r=t;return typeof t=="string"&&(r=Nt.parseSourceMapInput(t)),r.sections!=null?new xu(r,e):new ea(r,e)}ps.fromSourceMap=function(t,e){return ea.fromSourceMap(t,e)};ps.prototype._version=3;ps.prototype.__generatedMappings=null;Object.defineProperty(ps.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});ps.prototype.__originalMappings=null;Object.defineProperty(ps.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});ps.prototype._charIsMappingSeparator=function(e,r){var i=e.charAt(r);return i===";"||i===","};ps.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};ps.GENERATED_ORDER=1;ps.ORIGINAL_ORDER=2;ps.GREATEST_LOWER_BOUND=1;ps.LEAST_UPPER_BOUND=2;ps.prototype.eachMapping=function(e,r,i){var s=r||null,n=i||ps.GENERATED_ORDER,a;switch(n){case ps.GENERATED_ORDER:a=this._generatedMappings;break;case ps.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=Nt.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)};ps.prototype.allGeneratedPositionsFor=function(e){var r=Nt.getArg(e,"line"),i={source:Nt.getArg(e,"source"),originalLine:r,originalColumn:Nt.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",Nt.compareByOriginalPositions,AF.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:Nt.getArg(a,"generatedLine",null),column:Nt.getArg(a,"generatedColumn",null),lastColumn:Nt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)s.push({line:Nt.getArg(a,"generatedLine",null),column:Nt.getArg(a,"generatedColumn",null),lastColumn:Nt.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};TP.SourceMapConsumer=ps;function ea(t,e){var r=t;typeof t=="string"&&(r=Nt.parseSourceMapInput(t));var i=Nt.getArg(r,"version"),s=Nt.getArg(r,"sources"),n=Nt.getArg(r,"names",[]),a=Nt.getArg(r,"sourceRoot",null),o=Nt.getArg(r,"sourcesContent",null),l=Nt.getArg(r,"mappings"),u=Nt.getArg(r,"file",null);if(i!=this._version)throw new Error("Unsupported version: "+i);a&&(a=Nt.normalize(a)),s=s.map(String).map(Nt.normalize).map(function(c){return a&&Nt.isAbsolute(a)&&Nt.isAbsolute(c)?Nt.relative(a,c):c}),this._names=cg.fromArray(n.map(String),!0),this._sources=cg.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return Nt.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=l,this._sourceMapURL=e,this.file=u}ea.prototype=Object.create(ps.prototype);ea.prototype.consumer=ps;ea.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Nt.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};ea.fromSourceMap=function(e,r){var i=Object.create(ea.prototype),s=i._names=cg.fromArray(e._names.toArray(),!0),n=i._sources=cg.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 Nt.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 que;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 CS(i.__originalMappings,Nt.compareByOriginalPositions),i};ea.prototype._version=3;Object.defineProperty(ea.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function que(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ea.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,S,x;c<u;)if(e.charAt(c)===";")i++,c++,s=0;else if(e.charAt(c)===",")c++;else{for(m=new que,m.generatedLine=i,S=c;S<u&&!this._charIsMappingSeparator(e,S);S++);if(g=e.slice(c,S),b=p[g],b)c+=g.length;else{for(b=[];c<S;)xWe.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)}CS(h,Nt.compareByGeneratedPositionsDeflated),this.__generatedMappings=h,CS(f,Nt.compareByOriginalPositions),this.__originalMappings=f};ea.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 AF.search(e,r,n,a)};ea.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}};ea.prototype.originalPositionFor=function(e){var r={generatedLine:Nt.getArg(e,"line"),generatedColumn:Nt.getArg(e,"column")},i=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Nt.compareByGeneratedPositionsDeflated,Nt.getArg(e,"bias",ps.GREATEST_LOWER_BOUND));if(i>=0){var s=this._generatedMappings[i];if(s.generatedLine===r.generatedLine){var n=Nt.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=Nt.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=Nt.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:Nt.getArg(s,"originalLine",null),column:Nt.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};ea.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};ea.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=Nt.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=Nt.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.')};ea.prototype.generatedPositionFor=function(e){var r=Nt.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var i={source:r,originalLine:Nt.getArg(e,"line"),originalColumn:Nt.getArg(e,"column")},s=this._findMapping(i,this._originalMappings,"originalLine","originalColumn",Nt.compareByOriginalPositions,Nt.getArg(e,"bias",ps.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===i.source)return{line:Nt.getArg(n,"generatedLine",null),column:Nt.getArg(n,"generatedColumn",null),lastColumn:Nt.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};TP.BasicSourceMapConsumer=ea;function xu(t,e){var r=t;typeof t=="string"&&(r=Nt.parseSourceMapInput(t));var i=Nt.getArg(r,"version"),s=Nt.getArg(r,"sections");if(i!=this._version)throw new Error("Unsupported version: "+i);this._sources=new cg,this._names=new cg;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=Nt.getArg(a,"offset"),l=Nt.getArg(o,"line"),u=Nt.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 ps(Nt.getArg(a,"map"),e)}})}xu.prototype=Object.create(ps.prototype);xu.prototype.constructor=ps;xu.prototype._version=3;Object.defineProperty(xu.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}});xu.prototype.originalPositionFor=function(e){var r={generatedLine:Nt.getArg(e,"line"),generatedColumn:Nt.getArg(e,"column")},i=AF.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}};xu.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};xu.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.')};xu.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var i=this._sections[r];if(i.consumer._findSourceIndex(Nt.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}};xu.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=Nt.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)}CS(this.__generatedMappings,Nt.compareByGeneratedPositionsDeflated),CS(this.__originalMappings,Nt.compareByOriginalPositions)};TP.IndexedSourceMapConsumer=xu});var Wue=E(Kue=>{var EWe=TF().SourceMapGenerator,xP=ug(),wWe=/(\r?\n)/,AWe=10,pg="$$$isSourceNode$$$";function Ho(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[pg]=!0,i!=null&&this.add(i)}Ho.fromStringWithSourceMap=function(e,r,i){var s=new Ho,n=e.split(wWe),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=xP.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?xP.join(i,d.source):d.source;s.add(new Ho(d.originalLine,d.originalColumn,h,f,d.name))}}};Ho.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[pg]||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};Ho.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[pg]||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};Ho.prototype.walk=function(e){for(var r,i=0,s=this.children.length;i<s;i++)r=this.children[i],r[pg]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};Ho.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};Ho.prototype.replaceRight=function(e,r){var i=this.children[this.children.length-1];return i[pg]?i.replaceRight(e,r):typeof i=="string"?this.children[this.children.length-1]=i.replace(e,r):this.children.push("".replace(e,r)),this};Ho.prototype.setSourceContent=function(e,r){this.sourceContents[xP.toSetString(e)]=r};Ho.prototype.walkSourceContents=function(e){for(var r=0,i=this.children.length;r<i;r++)this.children[r][pg]&&this.children[r].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),r=0,i=s.length;r<i;r++)e(xP.fromSetString(s[r]),this.sourceContents[s[r]])};Ho.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};Ho.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},i=new EWe(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)===AWe?(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}};Kue.SourceNode=Ho});var PF=E(EP=>{EP.SourceMapGenerator=TF().SourceMapGenerator;EP.SourceMapConsumer=$ue().SourceMapConsumer;EP.SourceNode=Wue().SourceNode});var Fp=E($s=>{"use strict";Object.defineProperty($s,"__esModule",{value:!0});$s.isTrailingCommaEnabled=$s.getParentExportDeclaration=$s.isExportDeclaration=$s.fixFaultyLocations=$s.getTrueLoc=$s.composeSourceMaps=$s.copyPos=$s.comparePos=$s.getUnionOfKeys=$s.getOption=void 0;var CF=(Tu(),yr(yc)),DS=CF.__importDefault(require("assert")),PWe=CF.__importStar(kp()),wP=PWe.namedTypes,zue=CF.__importDefault(PF()),Gue=zue.default.SourceMapConsumer,_We=zue.default.SourceMapGenerator,Hue=Object.prototype.hasOwnProperty;function CWe(t,e,r){return t&&Hue.call(t,e)?t[e]:r}$s.getOption=CWe;function DWe(){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}$s.getUnionOfKeys=DWe;function gc(t,e){return t.line-e.line||t.column-e.column}$s.comparePos=gc;function wd(t){return{line:t.line,column:t.column}}$s.copyPos=wd;function NWe(t,e){if(t){if(!e)return t}else return e||null;var r=new Gue(t),i=new Gue(e),s=new _We({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:wd(o),generated:{line:a.generatedLine,column:a.generatedColumn},name:a.name});var u=r.sourceContentFor(l);u&&!Hue.call(n,l)&&(n[l]=u,s.setSourceContent(l,u))}}),s.toJSON()}$s.composeSourceMaps=NWe;function IWe(t,e){if(!t.loc)return null;var r={start:t.loc.start,end:t.loc.end};function i(s){_F(r,s.loc)}return t.declaration&&t.declaration.decorators&&AP(t)&&t.declaration.decorators.forEach(i),gc(r.start,r.end)<0&&(r.start=wd(r.start),e.skipSpaces(r.start,!1,!0),gc(r.start,r.end)<0&&(r.end=wd(r.end),e.skipSpaces(r.end,!0,!0))),t.comments&&t.comments.forEach(i),r}$s.getTrueLoc=IWe;function _F(t,e){t&&e&&(gc(e.start,t.start)<0&&(t.start=e.start),gc(t.end,e.end)<0&&(t.end=e.end))}function OWe(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()),kWe(t,e),LWe(t,e),r&&t.decorators)t.decorators.forEach(function(a){_F(r,a.loc)});else if(t.declaration&&AP(t)){t.declaration.loc=null;var i=t.declaration.decorators;i&&i.forEach(function(a){_F(r,a.loc)})}else if(wP.MethodDefinition&&wP.MethodDefinition.check(t)||wP.Property.check(t)&&(t.method||t.shorthand))t.value.loc=null,wP.FunctionExpression.check(t.value)&&(t.value.id=null);else if(t.type==="ObjectTypeProperty"){var s=t.loc,n=s&&s.end;n&&(n=wd(n),e.prevPos(n)&&e.charAt(n)===","&&(n=e.skipSpaces(n,!0,!0))&&(s.end=n))}}$s.fixFaultyLocations=OWe;function kWe(t,e){if(t.type!=="ForStatement")return;function r(i){for(var s=i&&i.loc,n=s&&s.start,a=s&&wd(s.end);n&&a&&gc(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 LWe(t,e){if(t.type==="TemplateLiteral"&&t.quasis.length!==0){if(t.loc){var r=wd(t.loc.start);DS.default.strictEqual(e.charAt(r),"`"),DS.default.ok(e.nextPos(r));var i=t.quasis[0];gc(i.loc.start,r)<0&&(i.loc.start=r);var s=wd(t.loc.end);DS.default.ok(e.prevPos(s)),DS.default.strictEqual(e.charAt(s),"`");var n=t.quasis[t.quasis.length-1];gc(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];gc(l,u.loc.end)<0&&(u.loc.end=l)}var c=e.skipSpaces(a.loc.end,!1,!1);if(e.charAt(c)==="}"){DS.default.ok(e.nextPos(c));var p=t.quasis[o+1];gc(p.loc.start,c)<0&&(p.loc.start=c)}})}}function AP(t){if(t)switch(t.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}$s.isExportDeclaration=AP;function FWe(t){var e=t.getParentNode();return t.getName()==="declaration"&&AP(e)?e:null}$s.getParentExportDeclaration=FWe;function RWe(t,e){var r=t.trailingComma;return typeof r=="object"?!!r[e]:!!r}$s.isTrailingCommaEnabled=RWe});var NF=E((NS,DF)=>{(function(e,r){typeof NS=="object"&&typeof DF=="object"?DF.exports=r():typeof define=="function"&&define.amd?define([],r):typeof NS=="object"?NS.esprima=r():e.esprima=r()})(NS,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,S=!1;if(f){S=typeof f.comment=="boolean"&&f.comment;var x=typeof f.attachComment=="boolean"&&f.attachComment;(S||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 S&&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(S){m.errorHandler.tolerate(S)}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,S=!1,x=!1,v=!1;!this.scanner.eof()&&b&&!S;){var w=this.scanner.source[this.scanner.index];if(w===m)break;if(S=w===";",g+=w,++this.scanner.index,!S)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&&S&&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,S=this.scanner.source[this.scanner.index++],x="";!this.scanner.eof();){var v=this.scanner.source[this.scanner.index++];if(v===S)break;v==="&"?x+=this.scanXHTMLEntity(S):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 S={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(S)),S},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 S=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(b,S))}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 S=b;this.expectJSX(":");var x=this.parseJSXIdentifier();g=this.finalize(m,new n.JSXNamespacedName(S,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(),S=this.matchJSX("/");return S&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(g,S,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(),S=this.parseJSXAttributes(),x=this.matchJSX("/");return x&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(m,new n.JSXOpeningElement(b,x,S))},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 S=this.getTokenRaw(b),x=this.finalize(g,new n.JSXText(b.value,S));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(),S=this.parseJSXBoundaryElement();if(S.type===a.JSXSyntax.JSXOpeningElement){var x=S;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(S.type===a.JSXSyntax.JSXClosingElement){m.closing=S;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=[],S=null;if(!g.selfClosing){var x=this.parseComplexJSXElement({node:m,opening:g,closing:S,children:b});b=x.children,S=x.closing}return this.finalize(m,new n.JSXElement(g,b,S))},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,S){this.type=i.JSXSyntax.JSXElement,this.openingElement=g,this.children=b,this.closingElement=S}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,S){this.type=i.JSXSyntax.JSXOpeningElement,this.name=g,this.selfClosing=b,this.attributes=S}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 he(oe){this.type=i.Syntax.ArrayExpression,this.elements=oe}return he}();e.ArrayExpression=s;var n=function(){function he(oe){this.type=i.Syntax.ArrayPattern,this.elements=oe}return he}();e.ArrayPattern=n;var a=function(){function he(oe,Ye,mr){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=Ye,this.generator=!1,this.expression=mr,this.async=!1}return he}();e.ArrowFunctionExpression=a;var o=function(){function he(oe,Ye,mr){this.type=i.Syntax.AssignmentExpression,this.operator=oe,this.left=Ye,this.right=mr}return he}();e.AssignmentExpression=o;var l=function(){function he(oe,Ye){this.type=i.Syntax.AssignmentPattern,this.left=oe,this.right=Ye}return he}();e.AssignmentPattern=l;var u=function(){function he(oe,Ye,mr){this.type=i.Syntax.ArrowFunctionExpression,this.id=null,this.params=oe,this.body=Ye,this.generator=!1,this.expression=mr,this.async=!0}return he}();e.AsyncArrowFunctionExpression=u;var c=function(){function he(oe,Ye,mr){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=Ye,this.body=mr,this.generator=!1,this.expression=!1,this.async=!0}return he}();e.AsyncFunctionDeclaration=c;var p=function(){function he(oe,Ye,mr){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=Ye,this.body=mr,this.generator=!1,this.expression=!1,this.async=!0}return he}();e.AsyncFunctionExpression=p;var d=function(){function he(oe){this.type=i.Syntax.AwaitExpression,this.argument=oe}return he}();e.AwaitExpression=d;var f=function(){function he(oe,Ye,mr){var Xs=oe==="||"||oe==="&&";this.type=Xs?i.Syntax.LogicalExpression:i.Syntax.BinaryExpression,this.operator=oe,this.left=Ye,this.right=mr}return he}();e.BinaryExpression=f;var h=function(){function he(oe){this.type=i.Syntax.BlockStatement,this.body=oe}return he}();e.BlockStatement=h;var m=function(){function he(oe){this.type=i.Syntax.BreakStatement,this.label=oe}return he}();e.BreakStatement=m;var g=function(){function he(oe,Ye){this.type=i.Syntax.CallExpression,this.callee=oe,this.arguments=Ye}return he}();e.CallExpression=g;var b=function(){function he(oe,Ye){this.type=i.Syntax.CatchClause,this.param=oe,this.body=Ye}return he}();e.CatchClause=b;var S=function(){function he(oe){this.type=i.Syntax.ClassBody,this.body=oe}return he}();e.ClassBody=S;var x=function(){function he(oe,Ye,mr){this.type=i.Syntax.ClassDeclaration,this.id=oe,this.superClass=Ye,this.body=mr}return he}();e.ClassDeclaration=x;var v=function(){function he(oe,Ye,mr){this.type=i.Syntax.ClassExpression,this.id=oe,this.superClass=Ye,this.body=mr}return he}();e.ClassExpression=v;var w=function(){function he(oe,Ye){this.type=i.Syntax.MemberExpression,this.computed=!0,this.object=oe,this.property=Ye}return he}();e.ComputedMemberExpression=w;var A=function(){function he(oe,Ye,mr){this.type=i.Syntax.ConditionalExpression,this.test=oe,this.consequent=Ye,this.alternate=mr}return he}();e.ConditionalExpression=A;var C=function(){function he(oe){this.type=i.Syntax.ContinueStatement,this.label=oe}return he}();e.ContinueStatement=C;var K=function(){function he(){this.type=i.Syntax.DebuggerStatement}return he}();e.DebuggerStatement=K;var F=function(){function he(oe,Ye){this.type=i.Syntax.ExpressionStatement,this.expression=oe,this.directive=Ye}return he}();e.Directive=F;var Q=function(){function he(oe,Ye){this.type=i.Syntax.DoWhileStatement,this.body=oe,this.test=Ye}return he}();e.DoWhileStatement=Q;var X=function(){function he(){this.type=i.Syntax.EmptyStatement}return he}();e.EmptyStatement=X;var xe=function(){function he(oe){this.type=i.Syntax.ExportAllDeclaration,this.source=oe}return he}();e.ExportAllDeclaration=xe;var We=function(){function he(oe){this.type=i.Syntax.ExportDefaultDeclaration,this.declaration=oe}return he}();e.ExportDefaultDeclaration=We;var ze=function(){function he(oe,Ye,mr){this.type=i.Syntax.ExportNamedDeclaration,this.declaration=oe,this.specifiers=Ye,this.source=mr}return he}();e.ExportNamedDeclaration=ze;var ae=function(){function he(oe,Ye){this.type=i.Syntax.ExportSpecifier,this.exported=Ye,this.local=oe}return he}();e.ExportSpecifier=ae;var ne=function(){function he(oe){this.type=i.Syntax.ExpressionStatement,this.expression=oe}return he}();e.ExpressionStatement=ne;var Ne=function(){function he(oe,Ye,mr){this.type=i.Syntax.ForInStatement,this.left=oe,this.right=Ye,this.body=mr,this.each=!1}return he}();e.ForInStatement=Ne;var Ue=function(){function he(oe,Ye,mr){this.type=i.Syntax.ForOfStatement,this.left=oe,this.right=Ye,this.body=mr}return he}();e.ForOfStatement=Ue;var xt=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.ForStatement,this.init=oe,this.test=Ye,this.update=mr,this.body=Xs}return he}();e.ForStatement=xt;var ue=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.FunctionDeclaration,this.id=oe,this.params=Ye,this.body=mr,this.generator=Xs,this.expression=!1,this.async=!1}return he}();e.FunctionDeclaration=ue;var Me=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.FunctionExpression,this.id=oe,this.params=Ye,this.body=mr,this.generator=Xs,this.expression=!1,this.async=!1}return he}();e.FunctionExpression=Me;var Z=function(){function he(oe){this.type=i.Syntax.Identifier,this.name=oe}return he}();e.Identifier=Z;var Te=function(){function he(oe,Ye,mr){this.type=i.Syntax.IfStatement,this.test=oe,this.consequent=Ye,this.alternate=mr}return he}();e.IfStatement=Te;var we=function(){function he(oe,Ye){this.type=i.Syntax.ImportDeclaration,this.specifiers=oe,this.source=Ye}return he}();e.ImportDeclaration=we;var Ae=function(){function he(oe){this.type=i.Syntax.ImportDefaultSpecifier,this.local=oe}return he}();e.ImportDefaultSpecifier=Ae;var Ve=function(){function he(oe){this.type=i.Syntax.ImportNamespaceSpecifier,this.local=oe}return he}();e.ImportNamespaceSpecifier=Ve;var ye=function(){function he(oe,Ye){this.type=i.Syntax.ImportSpecifier,this.local=oe,this.imported=Ye}return he}();e.ImportSpecifier=ye;var pe=function(){function he(oe,Ye){this.type=i.Syntax.LabeledStatement,this.label=oe,this.body=Ye}return he}();e.LabeledStatement=pe;var le=function(){function he(oe,Ye){this.type=i.Syntax.Literal,this.value=oe,this.raw=Ye}return he}();e.Literal=le;var Be=function(){function he(oe,Ye){this.type=i.Syntax.MetaProperty,this.meta=oe,this.property=Ye}return he}();e.MetaProperty=Be;var Se=function(){function he(oe,Ye,mr,Xs,na){this.type=i.Syntax.MethodDefinition,this.key=oe,this.computed=Ye,this.value=mr,this.kind=Xs,this.static=na}return he}();e.MethodDefinition=Se;var De=function(){function he(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="module"}return he}();e.Module=De;var st=function(){function he(oe,Ye){this.type=i.Syntax.NewExpression,this.callee=oe,this.arguments=Ye}return he}();e.NewExpression=st;var Lt=function(){function he(oe){this.type=i.Syntax.ObjectExpression,this.properties=oe}return he}();e.ObjectExpression=Lt;var mt=function(){function he(oe){this.type=i.Syntax.ObjectPattern,this.properties=oe}return he}();e.ObjectPattern=mt;var er=function(){function he(oe,Ye,mr,Xs,na,su){this.type=i.Syntax.Property,this.key=Ye,this.computed=mr,this.value=Xs,this.kind=oe,this.method=na,this.shorthand=su}return he}();e.Property=er;var Er=function(){function he(oe,Ye,mr,Xs){this.type=i.Syntax.Literal,this.value=oe,this.raw=Ye,this.regex={pattern:mr,flags:Xs}}return he}();e.RegexLiteral=Er;var Cr=function(){function he(oe){this.type=i.Syntax.RestElement,this.argument=oe}return he}();e.RestElement=Cr;var mi=function(){function he(oe){this.type=i.Syntax.ReturnStatement,this.argument=oe}return he}();e.ReturnStatement=mi;var ls=function(){function he(oe){this.type=i.Syntax.Program,this.body=oe,this.sourceType="script"}return he}();e.Script=ls;var ge=function(){function he(oe){this.type=i.Syntax.SequenceExpression,this.expressions=oe}return he}();e.SequenceExpression=ge;var je=function(){function he(oe){this.type=i.Syntax.SpreadElement,this.argument=oe}return he}();e.SpreadElement=je;var Pe=function(){function he(oe,Ye){this.type=i.Syntax.MemberExpression,this.computed=!1,this.object=oe,this.property=Ye}return he}();e.StaticMemberExpression=Pe;var He=function(){function he(){this.type=i.Syntax.Super}return he}();e.Super=He;var yt=function(){function he(oe,Ye){this.type=i.Syntax.SwitchCase,this.test=oe,this.consequent=Ye}return he}();e.SwitchCase=yt;var Et=function(){function he(oe,Ye){this.type=i.Syntax.SwitchStatement,this.discriminant=oe,this.cases=Ye}return he}();e.SwitchStatement=Et;var hr=function(){function he(oe,Ye){this.type=i.Syntax.TaggedTemplateExpression,this.tag=oe,this.quasi=Ye}return he}();e.TaggedTemplateExpression=hr;var et=function(){function he(oe,Ye){this.type=i.Syntax.TemplateElement,this.value=oe,this.tail=Ye}return he}();e.TemplateElement=et;var Wt=function(){function he(oe,Ye){this.type=i.Syntax.TemplateLiteral,this.quasis=oe,this.expressions=Ye}return he}();e.TemplateLiteral=Wt;var nt=function(){function he(){this.type=i.Syntax.ThisExpression}return he}();e.ThisExpression=nt;var Xt=function(){function he(oe){this.type=i.Syntax.ThrowStatement,this.argument=oe}return he}();e.ThrowStatement=Xt;var vr=function(){function he(oe,Ye,mr){this.type=i.Syntax.TryStatement,this.block=oe,this.handler=Ye,this.finalizer=mr}return he}();e.TryStatement=vr;var Dr=function(){function he(oe,Ye){this.type=i.Syntax.UnaryExpression,this.operator=oe,this.argument=Ye,this.prefix=!0}return he}();e.UnaryExpression=Dr;var ys=function(){function he(oe,Ye,mr){this.type=i.Syntax.UpdateExpression,this.operator=oe,this.argument=Ye,this.prefix=mr}return he}();e.UpdateExpression=ys;var ao=function(){function he(oe,Ye){this.type=i.Syntax.VariableDeclaration,this.declarations=oe,this.kind=Ye}return he}();e.VariableDeclaration=ao;var oo=function(){function he(oe,Ye){this.type=i.Syntax.VariableDeclarator,this.id=oe,this.init=Ye}return he}();e.VariableDeclarator=oo;var pn=function(){function he(oe,Ye){this.type=i.Syntax.WhileStatement,this.test=oe,this.body=Ye}return he}();e.WhileStatement=pn;var Js=function(){function he(oe,Ye){this.type=i.Syntax.WithStatement,this.object=oe,this.body=Ye}return he}();e.WithStatement=Js;var Ni=function(){function he(oe,Ye){this.type=i.Syntax.YieldExpression,this.argument=oe,this.delegate=Ye}return he}();e.YieldExpression=Ni},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]}),S=this.lastMarker.index,x=this.lastMarker.line,v=this.lastMarker.column+1;throw this.errorHandler.createError(S,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]}),S=this.lastMarker.index,x=this.scanner.lineNumber,v=this.lastMarker.column+1;this.errorHandler.tolerateError(S,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,S=f.lineNumber,x=this.lastMarker.index-this.lastMarker.column,v=f.start-x+1;return this.errorHandler.createError(b,S,v,m)}else{var b=this.lastMarker.index,S=this.lastMarker.line,v=this.lastMarker.column+1;return this.errorHandler.createError(b,S,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,S=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,S=this.parseGetterMethod();else if(m.type===3&&!A&&m.value==="set"&&K)g="set",x=this.match("["),b=this.parseObjectPropertyKey(),S=this.parseSetterMethod();else if(m.type===7&&m.value==="*"&&K)g="init",x=this.match("["),b=this.parseObjectPropertyKey(),S=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(),S=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))S=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);S=this.finalize(h,new a.AssignmentPattern(C,F))}else w=!0,S=C}else this.throwUnexpectedToken(this.nextToken());return this.finalize(h,new a.Property(g,b,x,S,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 S=0;S<b.length;S++)this.reinterpretExpressionAsPattern(b[S]);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 S=0;S<b.length;S++)this.reinterpretExpressionAsPattern(b[S]);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 S=0;S<f.expressions.length;S++)this.reinterpretExpressionAsPattern(f.expressions[S]);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),S=this.match("(")?this.parseArguments():[];m=new a.NewExpression(b,S),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 S=h&&f.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var x=S?this.parseAsyncArguments():this.parseArguments();if(g=this.finalize(this.startNode(f),new a.CallExpression(g,x)),S&&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 S=this.nextToken().value,b=!1;f=this.finalize(this.startNode(h),new a.UpdateExpression(S,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],S=h,x=this.isolateCoverGrammar(this.parseExponentiationExpression),v=[S,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(),S=v.pop(),b.pop();var C=this.startNode(b[b.length-1]);v.push(this.finalize(C,new a.BinaryExpression(A,S,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 S=h[b];S.type===l.Syntax.AssignmentPattern?S.right.type===l.Syntax.YieldExpression&&(S.right.argument&&this.throwUnexpectedToken(this.lookahead),S.right.type=l.Syntax.Identifier,S.right.name="yield",delete S.right.argument,delete S.right.delegate):g&&S.type===l.Syntax.Identifier&&S.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(m,S),h[b]=S}if(this.context.strict||!this.context.allowYield)for(var b=0;b<h.length;++b){var S=h[b];S.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,S=this.reinterpretAsCoverFormalsList(f);if(S){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var x=this.context.strict,v=this.context.allowStrictDirective;this.context.allowStrictDirective=S.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&&S.firstRestricted&&this.throwUnexpectedToken(S.firstRestricted,S.message),this.context.strict&&S.stricted&&this.tolerateUnexpectedToken(S.stricted,S.message),f=b?this.finalize(C,new a.AsyncArrowFunctionExpression(S.params,K,Q)):this.finalize(C,new a.ArrowFunctionExpression(S.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 xe=m.value,We=this.isolateCoverGrammar(this.parseAssignmentExpression);f=this.finalize(this.startNode(h),new a.AssignmentExpression(xe,f,We)),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 S=null;return f==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),S=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(n.Messages.DeclarationMissingInitializer,"const")):(!h.inFor&&b.type!==l.Syntax.Identifier||this.match("="))&&(this.expect("="),S=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(m,new a.VariableDeclarator(b,S))},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,S=!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,S,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 S=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=b,g=this.finalize(this.startNode(m),new a.AssignmentPattern(g,S))}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,S,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,S=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,S=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,S=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,S=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,S=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,S=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,S=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,S,Q)):this.finalize(x,new a.ForOfStatement(b,S,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 S=this.parseSwitchCase();S.test===null&&(b&&this.throwError(n.Messages.MultipleDefaultsInSwitch),b=!0),g.push(S)}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 S=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),S=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),S=v}else S=this.parseStatement();delete this.context.labelSet[b],m=new a.LabeledStatement(g,S)}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 S="$"+h[b].value;Object.prototype.hasOwnProperty.call(g,S)&&this.tolerateError(n.Messages.DuplicateBinding,h[b].value),g[S]=!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,S=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=S,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,S=null,x=null;if(!f||!this.match("(")){var v=this.lookahead;S=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 xe=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(S,K,xe)):this.finalize(h,new a.FunctionDeclaration(S,K,xe,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,S,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)?(S=w,g=n.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(w.value)&&(S=w,g=n.Messages.StrictReservedWord)}var A=this.parseFormalParameters(S),C=A.params,K=A.stricted;S=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&&S&&this.throwUnexpectedToken(S,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,S=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,S=this.parseGetterMethod()):h.value==="set"&&F&&(g="set",x=this.match("["),b=this.parseObjectPropertyKey(),S=this.parseSetterMethod()):h.type===7&&h.value==="*"&&F&&(g="init",x=this.match("["),b=this.parseObjectPropertyKey(),S=this.parseGeneratorMethod(),v=!0),!g&&b&&this.match("(")&&(g="init",S=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||S&&S.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,S,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 S=this.parseClassBody();return this.context.strict=m,this.finalize(h,new a.ClassDeclaration(g,b,S))},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 S=[],x=null,v=!1;for(this.expect("{");!this.match("}");)v=v||this.matchKeyword("default"),S.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,S,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 A
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(nt){return vg(nt,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 Ve="opening"+(i.type==="JSXElement"?"Element":"Fragment"),ye="closing"+(i.type==="JSXElement"?"Element":"Fragment"),pe=t.call(r,Ve);if(i[Ve].selfClosing)return Eu.default.ok(!i[ye],"unexpected "+ye+" element in self-closing "+i.type),pe;var le=W.concat(t.map(function(nt){var Xt=nt.getValue();if(nn.Literal.check(Xt)&&typeof Xt.value=="string"){if(/\S/.test(Xt.value))return Xt.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(Xt.value))return`
167
- `}return r(nt)},"children")).indentTail(e.tabWidth),Be=t.call(r,ye);return W.concat([pe,le,Be])}case"JSXOpeningElement":{s.push("<",t.call(r,"name"));var ve=[];t.each(function(nt){ve.push(" ",r(nt))},"attributes");var De=W.concat(ve),st=De.length>1||De.getLineLength(1)>e.wrapColumn;return st&&(ve.forEach(function(nt,Xt){nt===" "&&(Eu.default.strictEqual(Xt%2,0),ve[Xt]=`
168
- `)}),De=W.concat(ve).indentTail(e.tabWidth)),s.push(De,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([`{
167
+ `}return r(nt)},"children")).indentTail(e.tabWidth),Be=t.call(r,ye);return W.concat([pe,le,Be])}case"JSXOpeningElement":{s.push("<",t.call(r,"name"));var Se=[];t.each(function(nt){Se.push(" ",r(nt))},"attributes");var De=W.concat(Se),st=De.length>1||De.getLineLength(1)>e.wrapColumn;return st&&(Se.forEach(function(nt,Xt){nt===" "&&(Eu.default.strictEqual(Xt%2,0),Se[Xt]=`
168
+ `)}),De=W.concat(Se).indentTail(e.tabWidth)),s.push(De,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(nt){return vg(nt,e,r)},"body").indent(e.tabWidth),`
170
170
  }`]);case"ClassPropertyDefinition":return s.push("static ",t.call(r,"definition")),nn.MethodDefinition.check(i.definition)||s.push(";"),W.concat(s);case"ClassProperty":{i.declare&&s.push("declare ");var Lt=i.accessibility||i.access;typeof Lt=="string"&&s.push(Lt," "),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([VS(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"?jS(t,s):W.concat(s);case"TemplateElement":return W.fromString(i.value.raw,e).lockIndentTail();case"TemplateLiteral":{var mt=t.map(r,"expressions");return s.push("`"),t.each(function(nt){var Xt=nt.getName();s.push(r(nt)),Xt<mt.length&&s.push("${",mt[Xt],"}")},"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 er=t.map(r,"types"),X=W.fromString(", ").join(er),Er=X.getLineLength(1)<=e.wrapColumn;return Er?e.arrayBracketSpacing?s.push("[ "):s.push("["):s.push(`[
171
171
  `),t.each(function(Xt){var vr=Xt.getName(),Dr=Xt.getValue();if(!Dr)s.push(",");else{var ys=er[vr];Er?vr>0&&s.push(" "):ys=ys.indent(e.tabWidth),s.push(ys),(vr<i.types.length-1||!Er&&Sc.isTrailingCommaEnabled(e,"arrays"))&&s.push(","),Er||s.push(`
@@ -378,7 +378,7 @@ ${s}`)}function Tgt(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}=uV(t,e,r,i,2,!1,a,n),o(u===null?null:String.fromCharCode(u))}case 117:{let u;return{code:u,pos:e}=W0e(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 uV(t,e,r,i,s,n,a,o){let l=e,u;return{n:u,pos:e}=K0e(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 K0e(t,e,r,i,s,n,a,o,l,u){let c=e,p=s===16?$0e.hex:$0e.decBinOct,d=s===16?B_.hex:s===10?B_.dec:s===8?B_.oct:B_.bin,f=!1,h=0;for(let m=0,g=n==null?1/0:n;m<g;++m){let b=t.charCodeAt(e),S;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?S=b-97+10:b>=65?S=b-65+10:yxt(b)?S=b-48:S=1/0,S>=s){if(S<=9&&u)return{n:null,pos:e};if(S<=9&&l.invalidDigit(e,r,i,s))S=0;else if(a)S=0,f=!0;else break}++e,h=h*s+S}return e===c||n!=null&&e-c!==n||f?{n:null,pos:e}:{n:h,pos:e}}function W0e(t,e,r,i,s,n){let a=t.charCodeAt(e),o;if(a===123){if(++e,{code:o,pos:e}=uV(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}=uV(t,e,r,i,4,!1,s,n));return{code:o,pos:e}}});var Jd=E(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.UPDATE_OPERATORS=_r.UNARY_OPERATORS=_r.STRING_UNARY_OPERATORS=_r.STATEMENT_OR_BLOCK_KEYS=_r.NUMBER_UNARY_OPERATORS=_r.NUMBER_BINARY_OPERATORS=_r.NOT_LOCAL_BINDING=_r.LOGICAL_OPERATORS=_r.INHERIT_KEYS=_r.FOR_INIT_KEYS=_r.FLATTENABLE_KEYS=_r.EQUALITY_BINARY_OPERATORS=_r.COMPARISON_BINARY_OPERATORS=_r.COMMENT_KEYS=_r.BOOLEAN_UNARY_OPERATORS=_r.BOOLEAN_NUMBER_BINARY_OPERATORS=_r.BOOLEAN_BINARY_OPERATORS=_r.BLOCK_SCOPED_SYMBOL=_r.BINARY_OPERATORS=_r.ASSIGNMENT_OPERATORS=void 0;var x5r=_r.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],E5r=_r.FLATTENABLE_KEYS=["body","expressions"],w5r=_r.FOR_INIT_KEYS=["left","init"],A5r=_r.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],Sxt=_r.LOGICAL_OPERATORS=["||","&&","??"],P5r=_r.UPDATE_OPERATORS=["++","--"],Txt=_r.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],xxt=_r.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],Ext=_r.COMPARISON_BINARY_OPERATORS=[...xxt,"in","instanceof"],wxt=_r.BOOLEAN_BINARY_OPERATORS=[...Ext,...Txt],z0e=_r.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],_5r=_r.BINARY_OPERATORS=["+",...z0e,...wxt,"|>"],C5r=_r.ASSIGNMENT_OPERATORS=["=","+=",...z0e.map(t=>t+"="),...Sxt.map(t=>t+"=")],Axt=_r.BOOLEAN_UNARY_OPERATORS=["delete","!"],Pxt=_r.NUMBER_UNARY_OPERATORS=["+","-","~"],_xt=_r.STRING_UNARY_OPERATORS=["typeof"],D5r=_r.UNARY_OPERATORS=["void","throw",...Axt,...Pxt,..._xt],N5r=_r.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},I5r=_r.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),O5r=_r.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var tf=E(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi.VISITOR_KEYS=fi.NODE_PARENT_VALIDATIONS=fi.NODE_FIELDS=fi.FLIPPED_ALIAS_KEYS=fi.DEPRECATED_KEYS=fi.BUILDER_KEYS=fi.ALIAS_KEYS=void 0;fi.arrayOf=Y0e;fi.arrayOfType=J0e;fi.assertEach=X0e;fi.assertNodeOrValueType=jxt;fi.assertNodeType=pV;fi.assertOneOf=Mxt;fi.assertOptionalChainStart=Uxt;fi.assertShape=Vxt;fi.assertValueType=hV;fi.chain=Q0e;fi.default=Z0e;fi.defineAliasedType=Kxt;fi.typeIs=V_;fi.validate=dV;fi.validateArrayOfType=Bxt;fi.validateOptional=Fxt;fi.validateOptionalType=Rxt;fi.validateType=Lxt;var H0e=nb(),j_=U_(),Cxt=fi.VISITOR_KEYS={},Dxt=fi.ALIAS_KEYS={},cV=fi.FLIPPED_ALIAS_KEYS={},Nxt=fi.NODE_FIELDS={},Ixt=fi.BUILDER_KEYS={},Oxt=fi.DEPRECATED_KEYS={},kxt=fi.NODE_PARENT_VALIDATIONS={};function M_(t){return Array.isArray(t)?"array":t===null?"null":typeof t}function dV(t){return{validate:t}}function V_(t){return typeof t=="string"?pV(t):pV(...t)}function Lxt(t){return dV(V_(t))}function Fxt(t){return{validate:t,optional:!0}}function Rxt(t){return{validate:V_(t),optional:!0}}function Y0e(t){return Q0e(hV("array"),X0e(t))}function J0e(t){return Y0e(V_(t))}function Bxt(t){return dV(J0e(t))}function X0e(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,j_.validateChild)(r,a,o)}}return e.each=t,e}function Mxt(...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 pV(...t){function e(r,i,s){for(let n of t)if((0,H0e.default)(n,s)){(0,j_.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 jxt(...t){function e(r,i,s){for(let n of t)if(M_(s)===n||(0,H0e.default)(n,s)){(0,j_.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 hV(t){function e(r,i,s){if(!(M_(s)===t))throw new TypeError(`Property ${i} expected type of ${t} but got ${M_(s)}`)}return e.type=t,e}function Vxt(t){function e(r,i,s){let n=[];for(let a of Object.keys(t))try{(0,j_.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 Uxt(){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 Q0e(...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 qxt=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],$xt=["default","optional","deprecated","validate"],fV={};function Kxt(...t){return(e,r={})=>{let i=r.aliases;if(!i){var s,n;r.inherits&&(i=(s=fV[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),Z0e(e,r)}}function Z0e(t,e={}){let r=e.inherits&&fV[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(qxt.indexOf(o)===-1)throw new Error(`Unknown type option "${o}" on ${t}`);e.deprecatedAlias&&(Oxt[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=hV(M_(l.default)));for(let u of Object.keys(l))if($xt.indexOf(u)===-1)throw new Error(`Unknown field key "${u}" on ${t}.${o}`)}Cxt[t]=e.visitor=s,Ixt[t]=e.builder=a,Nxt[t]=e.fields=i,Dxt[t]=e.aliases=n,n.forEach(o=>{cV[o]=cV[o]||[],cV[o].push(t)}),e.validate&&(kxt[t]=e.validate),fV[t]=e}});var yV=E(Co=>{"use strict";Object.defineProperty(Co,"__esModule",{value:!0});Co.patternLikeCommon=Co.functionTypeAnnotationCommon=Co.functionDeclarationCommon=Co.functionCommon=Co.classMethodOrPropertyCommon=Co.classMethodOrDeclareMethodCommon=void 0;var Ka=nb(),Wxt=ab(),eye=Kd(),Gxt=G0e(),zT=Jd(),D=tf(),Xe=(0,D.defineAliasedType)("Standardized");Xe("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"]});Xe("AssignmentExpression",{fields:{operator:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,D.assertValueType)("string");let t=(0,D.assertOneOf)(...zT.ASSIGNMENT_OPERATORS),e=(0,D.assertOneOf)("=");return function(r,i,s){((0,Ka.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"]});Xe("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,D.assertOneOf)(...zT.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"]});Xe("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});Xe("Directive",{visitor:["value"],fields:{value:{validate:(0,D.assertNodeType)("DirectiveLiteral")}}});Xe("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}}});Xe("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"]});Xe("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});Xe("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}})});Xe("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,D.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});Xe("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"]});Xe("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});Xe("DebuggerStatement",{aliases:["Statement"]});Xe("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});Xe("EmptyStatement",{aliases:["Statement"]});Xe("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});Xe("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}}});Xe("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")}}});Xe("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 ob=()=>({params:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}});Co.functionCommon=ob;var D0=()=>({returnType:{validate:(0,D.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,D.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});Co.functionTypeAnnotationCommon=D0;var tye=()=>Object.assign({},ob(),{declare:{validate:(0,D.assertValueType)("boolean"),optional:!0},id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0}});Co.functionDeclarationCommon=tye;Xe("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},tye(),D0(),{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,Ka.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id)}}()});Xe("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ob(),D0(),{id:{validate:(0,D.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,D.assertNodeType)("BlockStatement")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var lb=()=>({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}});Co.patternLikeCommon=lb;Xe("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},lb(),{name:{validate:(0,D.chain)((0,D.assertValueType)("string"),Object.assign(function(t,e,r){if(process.env.BABEL_TYPES_8_BREAKING&&!(0,Wxt.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,Ka.default)("MemberExpression",t,n)||(0,Ka.default)("OptionalMemberExpression",t,n))return}else if(s==="key"){if((0,Ka.default)("Property",t,n)||(0,Ka.default)("Method",t,n))return}else if(s==="exported"){if((0,Ka.default)("ExportSpecifier",t))return}else if(s==="imported"){if((0,Ka.default)("ImportSpecifier",t,{imported:r}))return}else if(s==="meta"&&(0,Ka.default)("MetaProperty",t,{meta:r}))return;if(((0,eye.isKeyword)(r.name)||(0,eye.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}});Xe("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")}}});Xe("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,D.assertNodeType)("Identifier")},body:{validate:(0,D.assertNodeType)("Statement")}}});Xe("StringLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Xe("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"]});Xe("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});Xe("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});Xe("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:""}}});Xe("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,D.assertOneOf)(...zT.LOGICAL_OPERATORS)},left:{validate:(0,D.assertNodeType)("Expression")},right:{validate:(0,D.assertNodeType)("Expression")}}});Xe("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}})});Xe("NewExpression",{inherits:"CallExpression"});Xe("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"]});Xe("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}});Xe("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},ob(),D0(),{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"]});Xe("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,Ka.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,Ka.default)("ObjectPattern",r)?t:e)(s,"value",s.value)}}()});Xe("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},lb(),{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}`)}});Xe("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression"),optional:!0}}});Xe("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("Expression")))}},aliases:["Expression"]});Xe("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,D.assertNodeType)("Expression")}}});Xe("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")))}}});Xe("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")))}}});Xe("ThisExpression",{aliases:["Expression"]});Xe("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});Xe("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")}}});Xe("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,D.assertNodeType)("Expression")},operator:{validate:(0,D.assertOneOf)(...zT.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});Xe("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)(...zT.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});Xe("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,Ka.default)("ForXStatement",t,{left:r})&&r.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${t.type}`)}});Xe("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")}}});Xe("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});Xe("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,D.assertNodeType)("Expression")},body:{validate:(0,D.assertNodeType)("Statement")}}});Xe("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},lb(),{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}})});Xe("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},lb(),{elements:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeOrValueType)("null","PatternLike","LVal")))}})});Xe("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},ob(),D0(),{expression:{validate:(0,D.assertValueType)("boolean")},body:{validate:(0,D.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,D.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});Xe("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")))}}});Xe("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}}});Xe("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,Ka.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id))}}()});Xe("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")))}}});Xe("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"))}});Xe("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"))}});Xe("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}}});Xe("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,Ka.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}}});Xe("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}}});Xe("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});Xe("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,D.assertNodeType)("Identifier")}}});Xe("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}}});Xe("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}}});Xe("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,Ka.default)("Identifier",t.property,{name:i}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,D.assertNodeType)("Identifier")}}});var q_=()=>({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"))}});Co.classMethodOrPropertyCommon=q_;var mV=()=>Object.assign({},ob(),q_(),{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}});Co.classMethodOrDeclareMethodCommon=mV;Xe("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({},mV(),D0(),{body:{validate:(0,D.assertNodeType)("BlockStatement")}})});Xe("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},lb(),{properties:{validate:(0,D.chain)((0,D.assertValueType)("array"),(0,D.assertEach)((0,D.assertNodeType)("RestElement","ObjectProperty")))}})});Xe("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});Xe("Super",{aliases:["Expression"]});Xe("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}}});Xe("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,Gxt.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}}});Xe("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}`)})}}});Xe("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")}}});Xe("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});Xe("Import",{aliases:["Expression"]});Xe("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Xe("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,D.assertNodeType)("Identifier")}}});Xe("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")}}});Xe("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}}});Xe("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},q_(),{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}})});Xe("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},q_(),{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}})});Xe("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}}});Xe("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},mV(),D0(),{kind:{validate:(0,D.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,D.assertNodeType)("PrivateName")},body:{validate:(0,D.assertNodeType)("BlockStatement")}})});Xe("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,D.assertNodeType)("Identifier")}}});Xe("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 rye=E(()=>{"use strict";var de=tf(),Ot=(0,de.defineAliasedType)("Flow"),gV=t=>{let e=t==="DeclareClass";Ot(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")})})};Ot("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,de.validateType)("FlowType")}});Ot("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("boolean"))}});Ot("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});gV("DeclareClass");Ot("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),predicate:(0,de.validateOptionalType)("DeclaredPredicate")}});gV("DeclareInterface");Ot("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"))}});Ot("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Ot("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")}});Ot("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")}});Ot("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier")}});Ot("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"))}});Ot("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,de.validateType)("StringLiteral"),exportKind:(0,de.validateOptional)((0,de.assertOneOf)("type","value"))}});Ot("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,de.validateType)("Flow")}});Ot("ExistsTypeAnnotation",{aliases:["FlowType"]});Ot("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")}});Ot("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,de.validateOptionalType)("Identifier"),typeAnnotation:(0,de.validateType)("FlowType"),optional:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Ot("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});Ot("InferredPredicate",{aliases:["FlowPredicate"]});Ot("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});gV("InterfaceDeclaration");Ot("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends")),body:(0,de.validateType)("ObjectTypeAnnotation")}});Ot("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Ot("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("number"))}});Ot("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("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"))}});Ot("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"))}});Ot("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,de.validateType)("FlowType"),static:(0,de.validate)((0,de.assertValueType)("boolean"))}});Ot("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")}});Ot("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"))}});Ot("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,de.validateType)("FlowType")}});Ot("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")}});Ot("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,de.validateType)("Identifier"),qualification:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"])}});Ot("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("string"))}});Ot("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,de.validateType)("FlowType")}});Ot("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")}});Ot("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Ot("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,de.validateType)("Expression"),typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Ot("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")}});Ot("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("TypeParameter"))}});Ot("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("Variance",{builder:["kind"],fields:{kind:(0,de.validate)((0,de.assertOneOf)("minus","plus"))}});Ot("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,de.validateType)("Identifier"),body:(0,de.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});Ot("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"))}});Ot("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"))}});Ot("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"))}});Ot("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,de.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Ot("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("BooleanLiteral")}});Ot("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("NumericLiteral")}});Ot("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("StringLiteral")}});Ot("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier")}});Ot("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,de.validateType)("FlowType"),indexType:(0,de.validateType)("FlowType")}});Ot("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 iye=E(()=>{"use strict";var Ai=tf(),Wa=(0,Ai.defineAliasedType)("JSX");Wa("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,Ai.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,Ai.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Wa("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,Ai.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Wa("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,Ai.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,Ai.assertNodeType)("JSXClosingElement")},children:{validate:(0,Ai.chain)((0,Ai.assertValueType)("array"),(0,Ai.assertEach)((0,Ai.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,Ai.assertValueType)("boolean"),optional:!0}})});Wa("JSXEmptyExpression",{});Wa("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Ai.assertNodeType)("Expression","JSXEmptyExpression")}}});Wa("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Ai.assertNodeType)("Expression")}}});Wa("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,Ai.assertValueType)("string")}}});Wa("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,Ai.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,Ai.assertNodeType)("JSXIdentifier")}}});Wa("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,Ai.assertNodeType)("JSXIdentifier")},name:{validate:(0,Ai.assertNodeType)("JSXIdentifier")}}});Wa("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,Ai.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,Ai.chain)((0,Ai.assertValueType)("array"),(0,Ai.assertEach)((0,Ai.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,Ai.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Wa("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,Ai.assertNodeType)("Expression")}}});Wa("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,Ai.assertValueType)("string")}}});Wa("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,Ai.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,Ai.assertNodeType)("JSXClosingFragment")},children:{validate:(0,Ai.chain)((0,Ai.assertValueType)("array"),(0,Ai.assertEach)((0,Ai.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});Wa("JSXOpeningFragment",{aliases:["Immutable"]});Wa("JSXClosingFragment",{aliases:["Immutable"]})});var SV=E(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.PLACEHOLDERS_FLIPPED_ALIAS=Xd.PLACEHOLDERS_ALIAS=Xd.PLACEHOLDERS=void 0;var zxt=tf(),Hxt=Xd.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],vV=Xd.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let t of Hxt){let e=zxt.ALIAS_KEYS[t];e!=null&&e.length&&(vV[t]=e)}var bV=Xd.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(vV).forEach(t=>{vV[t].forEach(e=>{Object.hasOwnProperty.call(bV,e)||(bV[e]=[]),bV[e].push(t)})})});var sye=E(()=>{"use strict";var $_=tf(),Yxt=SV(),TV=(0,$_.defineAliasedType)("Miscellaneous");TV("Noop",{visitor:[]});TV("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,$_.assertNodeType)("Identifier")},expectedNode:{validate:(0,$_.assertOneOf)(...Yxt.PLACEHOLDERS)}}});TV("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,$_.assertValueType)("string")}}})});var nye=E(()=>{"use strict";var di=tf();(0,di.default)("ArgumentPlaceholder",{});(0,di.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,di.assertNodeType)("Expression")},callee:{validate:(0,di.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,di.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,di.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,di.assertNodeType)("StringLiteral")}}});(0,di.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,di.assertNodeType)("Expression")}}});(0,di.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,di.assertNodeType)("BlockStatement")},async:{validate:(0,di.assertValueType)("boolean"),default:!1}}});(0,di.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,di.assertNodeType)("Identifier")}}});(0,di.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,di.chain)((0,di.assertValueType)("array"),(0,di.assertEach)((0,di.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,di.default)("TupleExpression",{fields:{elements:{validate:(0,di.chain)((0,di.assertValueType)("array"),(0,di.assertEach)((0,di.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,di.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,di.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,di.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,di.assertNodeType)("Program")}},aliases:["Expression"]});(0,di.default)("TopicReference",{aliases:["Expression"]});(0,di.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,di.assertNodeType)("Expression")}},aliases:["Expression"]});(0,di.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,di.assertNodeType)("Expression")}},aliases:["Expression"]});(0,di.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var dye=E(()=>{"use strict";var Fe=tf(),aye=yV(),Jxt=nb(),Jt=(0,Fe.defineAliasedType)("TypeScript"),Do=(0,Fe.assertValueType)("boolean"),oye=()=>({returnType:{validate:(0,Fe.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,Fe.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});Jt("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,Fe.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,Fe.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,Fe.chain)((0,Fe.assertValueType)("array"),(0,Fe.assertEach)((0,Fe.assertNodeType)("Decorator"))),optional:!0}}});Jt("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,aye.functionDeclarationCommon)(),oye())});Jt("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,aye.classMethodOrDeclareMethodCommon)(),oye())});Jt("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,Fe.validateType)("TSEntityName"),right:(0,Fe.validateType)("Identifier")}});var K_=()=>({typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,Fe.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation")}),lye={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:K_()};Jt("TSCallSignatureDeclaration",lye);Jt("TSConstructSignatureDeclaration",lye);var uye=()=>({key:(0,Fe.validateType)("Expression"),computed:{default:!1},optional:(0,Fe.validateOptional)(Do)});Jt("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},uye(),{readonly:(0,Fe.validateOptional)(Do),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,Fe.assertOneOf)("get","set")}})});Jt("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},K_(),uye(),{kind:{validate:(0,Fe.assertOneOf)("method","get","set")}})});Jt("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,Fe.validateOptional)(Do),static:(0,Fe.validateOptional)(Do),parameters:(0,Fe.validateArrayOfType)("Identifier"),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation")}});var Xxt=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let t of Xxt)Jt(t,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});Jt("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var cye={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};Jt("TSFunctionType",Object.assign({},cye,{fields:K_()}));Jt("TSConstructorType",Object.assign({},cye,{fields:Object.assign({},K_(),{abstract:(0,Fe.validateOptional)(Do)})}));Jt("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,Fe.validateType)("TSEntityName"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,Fe.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation"),asserts:(0,Fe.validateOptional)(Do)}});Jt("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,Fe.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,Fe.validateArrayOfType)("TSTypeElement")}});Jt("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,Fe.validateType)("TSType")}});Jt("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,Fe.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});Jt("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,Fe.validateType)("Identifier"),optional:{validate:Do,default:!1},elementType:(0,Fe.validateType)("TSType")}});var pye={aliases:["TSType"],visitor:["types"],fields:{types:(0,Fe.validateArrayOfType)("TSType")}};Jt("TSUnionType",pye);Jt("TSIntersectionType",pye);Jt("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,Fe.validateType)("TSType"),extendsType:(0,Fe.validateType)("TSType"),trueType:(0,Fe.validateType)("TSType"),falseType:(0,Fe.validateType)("TSType")}});Jt("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,Fe.validateType)("TSTypeParameter")}});Jt("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,Fe.validate)((0,Fe.assertValueType)("string")),typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,Fe.validateType)("TSType"),indexType:(0,Fe.validateType)("TSType")}});Jt("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,Fe.validateOptional)((0,Fe.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,Fe.validateType)("TSTypeParameter"),optional:(0,Fe.validateOptional)((0,Fe.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,Fe.validateOptionalType)("TSType"),nameType:(0,Fe.validateOptionalType)("TSType")}});Jt("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,Fe.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,Fe.assertOneOf)("-"),r=(0,Fe.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function i(s,n,a){(0,Jxt.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}()}}});Jt("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,Fe.validateType)("TSEntityName"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)("Identifier"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,Fe.validateOptional)((0,Fe.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,Fe.validateType)("TSInterfaceBody")}});Jt("TSInterfaceBody",{visitor:["body"],fields:{body:(0,Fe.validateArrayOfType)("TSTypeElement")}});Jt("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)("Identifier"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,Fe.validateType)("Expression"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});var fye={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,Fe.validateType)("Expression"),typeAnnotation:(0,Fe.validateType)("TSType")}};Jt("TSAsExpression",fye);Jt("TSSatisfiesExpression",fye);Jt("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,Fe.validateType)("TSType"),expression:(0,Fe.validateType)("Expression")}});Jt("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,Fe.validateOptional)(Do),const:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)("Identifier"),members:(0,Fe.validateArrayOfType)("TSEnumMember"),initializer:(0,Fe.validateOptionalType)("Expression")}});Jt("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,Fe.validateType)(["Identifier","StringLiteral"]),initializer:(0,Fe.validateOptionalType)("Expression")}});Jt("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,Fe.validateOptional)(Do),global:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)(["Identifier","StringLiteral"]),body:(0,Fe.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});Jt("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,Fe.validateArrayOfType)("Statement")}});Jt("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,Fe.validateType)("StringLiteral"),qualifier:(0,Fe.validateOptionalType)("TSEntityName"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,Fe.validate)(Do),id:(0,Fe.validateType)("Identifier"),moduleReference:(0,Fe.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,Fe.assertOneOf)("type","value"),optional:!0}}});Jt("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,Fe.validateType)("StringLiteral")}});Jt("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,Fe.validateType)("Expression")}});Jt("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,Fe.validateType)("Expression")}});Jt("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,Fe.validateType)("Identifier")}});Jt("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,Fe.assertNodeType)("TSType")}}});Jt("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,Fe.chain)((0,Fe.assertValueType)("array"),(0,Fe.assertEach)((0,Fe.assertNodeType)("TSType")))}}});Jt("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,Fe.chain)((0,Fe.assertValueType)("array"),(0,Fe.assertEach)((0,Fe.assertNodeType)("TSTypeParameter")))}}});Jt("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,Fe.assertValueType)("string")},in:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},out:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},const:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,Fe.assertNodeType)("TSType"),optional:!0},default:{validate:(0,Fe.assertNodeType)("TSType"),optional:!0}}})});var hye=E(W_=>{"use strict";Object.defineProperty(W_,"__esModule",{value:!0});W_.DEPRECATED_ALIASES=void 0;var z5r=W_.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var Ul=E(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Object.defineProperty(Ga,"ALIAS_KEYS",{enumerable:!0,get:function(){return Wn.ALIAS_KEYS}});Object.defineProperty(Ga,"BUILDER_KEYS",{enumerable:!0,get:function(){return Wn.BUILDER_KEYS}});Object.defineProperty(Ga,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return xV.DEPRECATED_ALIASES}});Object.defineProperty(Ga,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Wn.DEPRECATED_KEYS}});Object.defineProperty(Ga,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Wn.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Ga,"NODE_FIELDS",{enumerable:!0,get:function(){return Wn.NODE_FIELDS}});Object.defineProperty(Ga,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Wn.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Ga,"PLACEHOLDERS",{enumerable:!0,get:function(){return HT.PLACEHOLDERS}});Object.defineProperty(Ga,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return HT.PLACEHOLDERS_ALIAS}});Object.defineProperty(Ga,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return HT.PLACEHOLDERS_FLIPPED_ALIAS}});Ga.TYPES=void 0;Object.defineProperty(Ga,"VISITOR_KEYS",{enumerable:!0,get:function(){return Wn.VISITOR_KEYS}});var Qd=sM();yV();rye();iye();sye();nye();dye();var Wn=tf(),HT=SV(),xV=hye();Object.keys(xV.DEPRECATED_ALIASES).forEach(t=>{Wn.FLIPPED_ALIAS_KEYS[t]=Wn.FLIPPED_ALIAS_KEYS[xV.DEPRECATED_ALIASES[t]]});Qd(Wn.VISITOR_KEYS);Qd(Wn.ALIAS_KEYS);Qd(Wn.FLIPPED_ALIAS_KEYS);Qd(Wn.NODE_FIELDS);Qd(Wn.BUILDER_KEYS);Qd(Wn.DEPRECATED_KEYS);Qd(HT.PLACEHOLDERS_ALIAS);Qd(HT.PLACEHOLDERS_FLIPPED_ALIAS);var Y5r=Ga.TYPES=[].concat(Object.keys(Wn.VISITOR_KEYS),Object.keys(Wn.FLIPPED_ALIAS_KEYS),Object.keys(Wn.DEPRECATED_KEYS))});var U_=E(YT=>{"use strict";Object.defineProperty(YT,"__esModule",{value:!0});YT.default=Qxt;YT.validateChild=gye;YT.validateField=yye;var mye=Ul();function Qxt(t,e,r){if(!t)return;let i=mye.NODE_FIELDS[t.type];if(!i)return;let s=i[e];yye(t,e,r,s),gye(t,e,r)}function yye(t,e,r,i){i!=null&&i.validate&&(i.optional&&r==null||i.validate(t,e,r))}function gye(t,e,r){if(r==null)return;let i=mye.NODE_PARENT_VALIDATIONS[r.type];i&&i(t,e,r)}});var bye=E(EV=>{"use strict";Object.defineProperty(EV,"__esModule",{value:!0});EV.default=tEt;var Zxt=U_(),eEt=Nr();function tEt(t){let e=eEt.BUILDER_KEYS[t.type];for(let r of e)(0,Zxt.default)(t,r,t[r]);return t}});var za=E(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});O.anyTypeAnnotation=Owt;O.argumentPlaceholder=o3t;O.arrayExpression=rEt;O.arrayPattern=XEt;O.arrayTypeAnnotation=kwt;O.arrowFunctionExpression=QEt;O.assignmentExpression=iEt;O.assignmentPattern=JEt;O.awaitExpression=Swt;O.bigIntLiteral=xwt;O.binaryExpression=sEt;O.bindExpression=l3t;O.blockStatement=lEt;O.booleanLiteral=CEt;O.booleanLiteralTypeAnnotation=Fwt;O.booleanTypeAnnotation=Lwt;O.breakStatement=uEt;O.callExpression=cEt;O.catchClause=pEt;O.classAccessorProperty=_wt;O.classBody=ZEt;O.classDeclaration=twt;O.classExpression=ewt;O.classImplements=Bwt;O.classMethod=dwt;O.classPrivateMethod=Dwt;O.classPrivateProperty=Cwt;O.classProperty=Pwt;O.conditionalExpression=fEt;O.continueStatement=dEt;O.debuggerStatement=hEt;O.decimalLiteral=m3t;O.declareClass=Mwt;O.declareExportAllDeclaration=zwt;O.declareExportDeclaration=Gwt;O.declareFunction=jwt;O.declareInterface=Vwt;O.declareModule=Uwt;O.declareModuleExports=qwt;O.declareOpaqueType=Kwt;O.declareTypeAlias=$wt;O.declareVariable=Wwt;O.declaredPredicate=Hwt;O.decorator=c3t;O.directive=aEt;O.directiveLiteral=oEt;O.doExpression=p3t;O.doWhileStatement=mEt;O.emptyStatement=yEt;O.emptyTypeAnnotation=nAt;O.enumBooleanBody=kAt;O.enumBooleanMember=BAt;O.enumDeclaration=OAt;O.enumDefaultedMember=VAt;O.enumNumberBody=LAt;O.enumNumberMember=MAt;O.enumStringBody=FAt;O.enumStringMember=jAt;O.enumSymbolBody=RAt;O.existsTypeAnnotation=Ywt;O.exportAllDeclaration=rwt;O.exportDefaultDeclaration=iwt;O.exportDefaultSpecifier=f3t;O.exportNamedDeclaration=swt;O.exportNamespaceSpecifier=Ewt;O.exportSpecifier=nwt;O.expressionStatement=gEt;O.file=bEt;O.forInStatement=vEt;O.forOfStatement=awt;O.forStatement=SEt;O.functionDeclaration=TEt;O.functionExpression=xEt;O.functionTypeAnnotation=Jwt;O.functionTypeParam=Xwt;O.genericTypeAnnotation=Qwt;O.identifier=EEt;O.ifStatement=wEt;O.import=Twt;O.importAttribute=u3t;O.importDeclaration=owt;O.importDefaultSpecifier=lwt;O.importExpression=pwt;O.importNamespaceSpecifier=uwt;O.importSpecifier=cwt;O.indexedAccessType=UAt;O.inferredPredicate=Zwt;O.interfaceDeclaration=tAt;O.interfaceExtends=eAt;O.interfaceTypeAnnotation=rAt;O.interpreterDirective=nEt;O.intersectionTypeAnnotation=iAt;O.jSXAttribute=O.jsxAttribute=$At;O.jSXClosingElement=O.jsxClosingElement=KAt;O.jSXClosingFragment=O.jsxClosingFragment=i3t;O.jSXElement=O.jsxElement=WAt;O.jSXEmptyExpression=O.jsxEmptyExpression=GAt;O.jSXExpressionContainer=O.jsxExpressionContainer=zAt;O.jSXFragment=O.jsxFragment=t3t;O.jSXIdentifier=O.jsxIdentifier=YAt;O.jSXMemberExpression=O.jsxMemberExpression=JAt;O.jSXNamespacedName=O.jsxNamespacedName=XAt;O.jSXOpeningElement=O.jsxOpeningElement=QAt;O.jSXOpeningFragment=O.jsxOpeningFragment=r3t;O.jSXSpreadAttribute=O.jsxSpreadAttribute=ZAt;O.jSXSpreadChild=O.jsxSpreadChild=HAt;O.jSXText=O.jsxText=e3t;O.labeledStatement=AEt;O.logicalExpression=DEt;O.memberExpression=NEt;O.metaProperty=fwt;O.mixedTypeAnnotation=sAt;O.moduleExpression=y3t;O.newExpression=IEt;O.noop=s3t;O.nullLiteral=_Et;O.nullLiteralTypeAnnotation=Rwt;O.nullableTypeAnnotation=aAt;O.numberLiteral=O6t;O.numberLiteralTypeAnnotation=oAt;O.numberTypeAnnotation=lAt;O.numericLiteral=vye;O.objectExpression=kEt;O.objectMethod=LEt;O.objectPattern=hwt;O.objectProperty=FEt;O.objectTypeAnnotation=uAt;O.objectTypeCallProperty=pAt;O.objectTypeIndexer=fAt;O.objectTypeInternalSlot=cAt;O.objectTypeProperty=dAt;O.objectTypeSpreadProperty=hAt;O.opaqueType=mAt;O.optionalCallExpression=Awt;O.optionalIndexedAccessType=qAt;O.optionalMemberExpression=wwt;O.parenthesizedExpression=MEt;O.pipelineBareFunction=v3t;O.pipelinePrimaryTopicReference=S3t;O.pipelineTopicExpression=b3t;O.placeholder=n3t;O.privateName=Nwt;O.program=OEt;O.qualifiedTypeIdentifier=yAt;O.recordExpression=d3t;O.regExpLiteral=Sye;O.regexLiteral=k6t;O.restElement=Tye;O.restProperty=L6t;O.returnStatement=REt;O.sequenceExpression=BEt;O.spreadElement=xye;O.spreadProperty=F6t;O.staticBlock=Iwt;O.stringLiteral=PEt;O.stringLiteralTypeAnnotation=gAt;O.stringTypeAnnotation=bAt;O.super=mwt;O.switchCase=jEt;O.switchStatement=VEt;O.symbolTypeAnnotation=vAt;O.taggedTemplateExpression=ywt;O.templateElement=gwt;O.templateLiteral=bwt;O.thisExpression=UEt;O.thisTypeAnnotation=SAt;O.throwStatement=qEt;O.topicReference=g3t;O.tryStatement=$Et;O.tSAnyKeyword=O.tsAnyKeyword=N3t;O.tSArrayType=O.tsArrayType=J3t;O.tSAsExpression=O.tsAsExpression=m6t;O.tSBigIntKeyword=O.tsBigIntKeyword=O3t;O.tSBooleanKeyword=O.tsBooleanKeyword=I3t;O.tSCallSignatureDeclaration=O.tsCallSignatureDeclaration=A3t;O.tSConditionalType=O.tsConditionalType=i6t;O.tSConstructSignatureDeclaration=O.tsConstructSignatureDeclaration=P3t;O.tSConstructorType=O.tsConstructorType=W3t;O.tSDeclareFunction=O.tsDeclareFunction=x3t;O.tSDeclareMethod=O.tsDeclareMethod=E3t;O.tSEnumDeclaration=O.tsEnumDeclaration=b6t;O.tSEnumMember=O.tsEnumMember=v6t;O.tSExportAssignment=O.tsExportAssignment=P6t;O.tSExpressionWithTypeArguments=O.tsExpressionWithTypeArguments=c6t;O.tSExternalModuleReference=O.tsExternalModuleReference=w6t;O.tSFunctionType=O.tsFunctionType=K3t;O.tSImportEqualsDeclaration=O.tsImportEqualsDeclaration=E6t;O.tSImportType=O.tsImportType=x6t;O.tSIndexSignature=O.tsIndexSignature=D3t;O.tSIndexedAccessType=O.tsIndexedAccessType=o6t;O.tSInferType=O.tsInferType=s6t;O.tSInstantiationExpression=O.tsInstantiationExpression=h6t;O.tSInterfaceBody=O.tsInterfaceBody=f6t;O.tSInterfaceDeclaration=O.tsInterfaceDeclaration=p6t;O.tSIntersectionType=O.tsIntersectionType=r6t;O.tSIntrinsicKeyword=O.tsIntrinsicKeyword=k3t;O.tSLiteralType=O.tsLiteralType=u6t;O.tSMappedType=O.tsMappedType=l6t;O.tSMethodSignature=O.tsMethodSignature=C3t;O.tSModuleBlock=O.tsModuleBlock=T6t;O.tSModuleDeclaration=O.tsModuleDeclaration=S6t;O.tSNamedTupleMember=O.tsNamedTupleMember=e6t;O.tSNamespaceExportDeclaration=O.tsNamespaceExportDeclaration=_6t;O.tSNeverKeyword=O.tsNeverKeyword=L3t;O.tSNonNullExpression=O.tsNonNullExpression=A6t;O.tSNullKeyword=O.tsNullKeyword=F3t;O.tSNumberKeyword=O.tsNumberKeyword=R3t;O.tSObjectKeyword=O.tsObjectKeyword=B3t;O.tSOptionalType=O.tsOptionalType=Q3t;O.tSParameterProperty=O.tsParameterProperty=T3t;O.tSParenthesizedType=O.tsParenthesizedType=n6t;O.tSPropertySignature=O.tsPropertySignature=_3t;O.tSQualifiedName=O.tsQualifiedName=w3t;O.tSRestType=O.tsRestType=Z3t;O.tSSatisfiesExpression=O.tsSatisfiesExpression=y6t;O.tSStringKeyword=O.tsStringKeyword=M3t;O.tSSymbolKeyword=O.tsSymbolKeyword=j3t;O.tSThisType=O.tsThisType=$3t;O.tSTupleType=O.tsTupleType=X3t;O.tSTypeAliasDeclaration=O.tsTypeAliasDeclaration=d6t;O.tSTypeAnnotation=O.tsTypeAnnotation=C6t;O.tSTypeAssertion=O.tsTypeAssertion=g6t;O.tSTypeLiteral=O.tsTypeLiteral=Y3t;O.tSTypeOperator=O.tsTypeOperator=a6t;O.tSTypeParameter=O.tsTypeParameter=I6t;O.tSTypeParameterDeclaration=O.tsTypeParameterDeclaration=N6t;O.tSTypeParameterInstantiation=O.tsTypeParameterInstantiation=D6t;O.tSTypePredicate=O.tsTypePredicate=z3t;O.tSTypeQuery=O.tsTypeQuery=H3t;O.tSTypeReference=O.tsTypeReference=G3t;O.tSUndefinedKeyword=O.tsUndefinedKeyword=V3t;O.tSUnionType=O.tsUnionType=t6t;O.tSUnknownKeyword=O.tsUnknownKeyword=U3t;O.tSVoidKeyword=O.tsVoidKeyword=q3t;O.tupleExpression=h3t;O.tupleTypeAnnotation=TAt;O.typeAlias=EAt;O.typeAnnotation=wAt;O.typeCastExpression=AAt;O.typeParameter=PAt;O.typeParameterDeclaration=_At;O.typeParameterInstantiation=CAt;O.typeofTypeAnnotation=xAt;O.unaryExpression=KEt;O.unionTypeAnnotation=DAt;O.updateExpression=WEt;O.v8IntrinsicIdentifier=a3t;O.variableDeclaration=GEt;O.variableDeclarator=zEt;O.variance=NAt;O.voidTypeAnnotation=IAt;O.whileStatement=HEt;O.withStatement=YEt;O.yieldExpression=vwt;var re=bye(),G_=$T();function rEt(t=[]){return(0,re.default)({type:"ArrayExpression",elements:t})}function iEt(t,e,r){return(0,re.default)({type:"AssignmentExpression",operator:t,left:e,right:r})}function sEt(t,e,r){return(0,re.default)({type:"BinaryExpression",operator:t,left:e,right:r})}function nEt(t){return(0,re.default)({type:"InterpreterDirective",value:t})}function aEt(t){return(0,re.default)({type:"Directive",value:t})}function oEt(t){return(0,re.default)({type:"DirectiveLiteral",value:t})}function lEt(t,e=[]){return(0,re.default)({type:"BlockStatement",body:t,directives:e})}function uEt(t=null){return(0,re.default)({type:"BreakStatement",label:t})}function cEt(t,e){return(0,re.default)({type:"CallExpression",callee:t,arguments:e})}function pEt(t=null,e){return(0,re.default)({type:"CatchClause",param:t,body:e})}function fEt(t,e,r){return(0,re.default)({type:"ConditionalExpression",test:t,consequent:e,alternate:r})}function dEt(t=null){return(0,re.default)({type:"ContinueStatement",label:t})}function hEt(){return{type:"DebuggerStatement"}}function mEt(t,e){return(0,re.default)({type:"DoWhileStatement",test:t,body:e})}function yEt(){return{type:"EmptyStatement"}}function gEt(t){return(0,re.default)({type:"ExpressionStatement",expression:t})}function bEt(t,e=null,r=null){return(0,re.default)({type:"File",program:t,comments:e,tokens:r})}function vEt(t,e,r){return(0,re.default)({type:"ForInStatement",left:t,right:e,body:r})}function SEt(t=null,e=null,r=null,i){return(0,re.default)({type:"ForStatement",init:t,test:e,update:r,body:i})}function TEt(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 xEt(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 EEt(t){return(0,re.default)({type:"Identifier",name:t})}function wEt(t,e,r=null){return(0,re.default)({type:"IfStatement",test:t,consequent:e,alternate:r})}function AEt(t,e){return(0,re.default)({type:"LabeledStatement",label:t,body:e})}function PEt(t){return(0,re.default)({type:"StringLiteral",value:t})}function vye(t){return(0,re.default)({type:"NumericLiteral",value:t})}function _Et(){return{type:"NullLiteral"}}function CEt(t){return(0,re.default)({type:"BooleanLiteral",value:t})}function Sye(t,e=""){return(0,re.default)({type:"RegExpLiteral",pattern:t,flags:e})}function DEt(t,e,r){return(0,re.default)({type:"LogicalExpression",operator:t,left:e,right:r})}function NEt(t,e,r=!1,i=null){return(0,re.default)({type:"MemberExpression",object:t,property:e,computed:r,optional:i})}function IEt(t,e){return(0,re.default)({type:"NewExpression",callee:t,arguments:e})}function OEt(t,e=[],r="script",i=null){return(0,re.default)({type:"Program",body:t,directives:e,sourceType:r,interpreter:i})}function kEt(t){return(0,re.default)({type:"ObjectExpression",properties:t})}function LEt(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 FEt(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 Tye(t){return(0,re.default)({type:"RestElement",argument:t})}function REt(t=null){return(0,re.default)({type:"ReturnStatement",argument:t})}function BEt(t){return(0,re.default)({type:"SequenceExpression",expressions:t})}function MEt(t){return(0,re.default)({type:"ParenthesizedExpression",expression:t})}function jEt(t=null,e){return(0,re.default)({type:"SwitchCase",test:t,consequent:e})}function VEt(t,e){return(0,re.default)({type:"SwitchStatement",discriminant:t,cases:e})}function UEt(){return{type:"ThisExpression"}}function qEt(t){return(0,re.default)({type:"ThrowStatement",argument:t})}function $Et(t,e=null,r=null){return(0,re.default)({type:"TryStatement",block:t,handler:e,finalizer:r})}function KEt(t,e,r=!0){return(0,re.default)({type:"UnaryExpression",operator:t,argument:e,prefix:r})}function WEt(t,e,r=!1){return(0,re.default)({type:"UpdateExpression",operator:t,argument:e,prefix:r})}function GEt(t,e){return(0,re.default)({type:"VariableDeclaration",kind:t,declarations:e})}function zEt(t,e=null){return(0,re.default)({type:"VariableDeclarator",id:t,init:e})}function HEt(t,e){return(0,re.default)({type:"WhileStatement",test:t,body:e})}function YEt(t,e){return(0,re.default)({type:"WithStatement",object:t,body:e})}function JEt(t,e){return(0,re.default)({type:"AssignmentPattern",left:t,right:e})}function XEt(t){return(0,re.default)({type:"ArrayPattern",elements:t})}function QEt(t,e,r=!1){return(0,re.default)({type:"ArrowFunctionExpression",params:t,body:e,async:r,expression:null})}function ZEt(t){return(0,re.default)({type:"ClassBody",body:t})}function ewt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassExpression",id:t,superClass:e,body:r,decorators:i})}function twt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassDeclaration",id:t,superClass:e,body:r,decorators:i})}function rwt(t){return(0,re.default)({type:"ExportAllDeclaration",source:t})}function iwt(t){return(0,re.default)({type:"ExportDefaultDeclaration",declaration:t})}function swt(t=null,e=[],r=null){return(0,re.default)({type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:r})}function nwt(t,e){return(0,re.default)({type:"ExportSpecifier",local:t,exported:e})}function awt(t,e,r,i=!1){return(0,re.default)({type:"ForOfStatement",left:t,right:e,body:r,await:i})}function owt(t,e){return(0,re.default)({type:"ImportDeclaration",specifiers:t,source:e})}function lwt(t){return(0,re.default)({type:"ImportDefaultSpecifier",local:t})}function uwt(t){return(0,re.default)({type:"ImportNamespaceSpecifier",local:t})}function cwt(t,e){return(0,re.default)({type:"ImportSpecifier",local:t,imported:e})}function pwt(t,e=null){return(0,re.default)({type:"ImportExpression",source:t,options:e})}function fwt(t,e){return(0,re.default)({type:"MetaProperty",meta:t,property:e})}function dwt(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 hwt(t){return(0,re.default)({type:"ObjectPattern",properties:t})}function xye(t){return(0,re.default)({type:"SpreadElement",argument:t})}function mwt(){return{type:"Super"}}function ywt(t,e){return(0,re.default)({type:"TaggedTemplateExpression",tag:t,quasi:e})}function gwt(t,e=!1){return(0,re.default)({type:"TemplateElement",value:t,tail:e})}function bwt(t,e){return(0,re.default)({type:"TemplateLiteral",quasis:t,expressions:e})}function vwt(t=null,e=!1){return(0,re.default)({type:"YieldExpression",argument:t,delegate:e})}function Swt(t){return(0,re.default)({type:"AwaitExpression",argument:t})}function Twt(){return{type:"Import"}}function xwt(t){return(0,re.default)({type:"BigIntLiteral",value:t})}function Ewt(t){return(0,re.default)({type:"ExportNamespaceSpecifier",exported:t})}function wwt(t,e,r=!1,i){return(0,re.default)({type:"OptionalMemberExpression",object:t,property:e,computed:r,optional:i})}function Awt(t,e,r){return(0,re.default)({type:"OptionalCallExpression",callee:t,arguments:e,optional:r})}function Pwt(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 _wt(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 Cwt(t,e=null,r=null,i=!1){return(0,re.default)({type:"ClassPrivateProperty",key:t,value:e,decorators:r,static:i})}function Dwt(t="method",e,r,i,s=!1){return(0,re.default)({type:"ClassPrivateMethod",kind:t,key:e,params:r,body:i,static:s})}function Nwt(t){return(0,re.default)({type:"PrivateName",id:t})}function Iwt(t){return(0,re.default)({type:"StaticBlock",body:t})}function Owt(){return{type:"AnyTypeAnnotation"}}function kwt(t){return(0,re.default)({type:"ArrayTypeAnnotation",elementType:t})}function Lwt(){return{type:"BooleanTypeAnnotation"}}function Fwt(t){return(0,re.default)({type:"BooleanLiteralTypeAnnotation",value:t})}function Rwt(){return{type:"NullLiteralTypeAnnotation"}}function Bwt(t,e=null){return(0,re.default)({type:"ClassImplements",id:t,typeParameters:e})}function Mwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareClass",id:t,typeParameters:e,extends:r,body:i})}function jwt(t){return(0,re.default)({type:"DeclareFunction",id:t})}function Vwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareInterface",id:t,typeParameters:e,extends:r,body:i})}function Uwt(t,e,r=null){return(0,re.default)({type:"DeclareModule",id:t,body:e,kind:r})}function qwt(t){return(0,re.default)({type:"DeclareModuleExports",typeAnnotation:t})}function $wt(t,e=null,r){return(0,re.default)({type:"DeclareTypeAlias",id:t,typeParameters:e,right:r})}function Kwt(t,e=null,r=null){return(0,re.default)({type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:r})}function Wwt(t){return(0,re.default)({type:"DeclareVariable",id:t})}function Gwt(t=null,e=null,r=null){return(0,re.default)({type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:r})}function zwt(t){return(0,re.default)({type:"DeclareExportAllDeclaration",source:t})}function Hwt(t){return(0,re.default)({type:"DeclaredPredicate",value:t})}function Ywt(){return{type:"ExistsTypeAnnotation"}}function Jwt(t=null,e,r=null,i){return(0,re.default)({type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:r,returnType:i})}function Xwt(t=null,e){return(0,re.default)({type:"FunctionTypeParam",name:t,typeAnnotation:e})}function Qwt(t,e=null){return(0,re.default)({type:"GenericTypeAnnotation",id:t,typeParameters:e})}function Zwt(){return{type:"InferredPredicate"}}function eAt(t,e=null){return(0,re.default)({type:"InterfaceExtends",id:t,typeParameters:e})}function tAt(t,e=null,r=null,i){return(0,re.default)({type:"InterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function rAt(t=null,e){return(0,re.default)({type:"InterfaceTypeAnnotation",extends:t,body:e})}function iAt(t){return(0,re.default)({type:"IntersectionTypeAnnotation",types:t})}function sAt(){return{type:"MixedTypeAnnotation"}}function nAt(){return{type:"EmptyTypeAnnotation"}}function aAt(t){return(0,re.default)({type:"NullableTypeAnnotation",typeAnnotation:t})}function oAt(t){return(0,re.default)({type:"NumberLiteralTypeAnnotation",value:t})}function lAt(){return{type:"NumberTypeAnnotation"}}function uAt(t,e=[],r=[],i=[],s=!1){return(0,re.default)({type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:r,internalSlots:i,exact:s})}function cAt(t,e,r,i,s){return(0,re.default)({type:"ObjectTypeInternalSlot",id:t,value:e,optional:r,static:i,method:s})}function pAt(t){return(0,re.default)({type:"ObjectTypeCallProperty",value:t,static:null})}function fAt(t=null,e,r,i=null){return(0,re.default)({type:"ObjectTypeIndexer",id:t,key:e,value:r,variance:i,static:null})}function dAt(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 hAt(t){return(0,re.default)({type:"ObjectTypeSpreadProperty",argument:t})}function mAt(t,e=null,r=null,i){return(0,re.default)({type:"OpaqueType",id:t,typeParameters:e,supertype:r,impltype:i})}function yAt(t,e){return(0,re.default)({type:"QualifiedTypeIdentifier",id:t,qualification:e})}function gAt(t){return(0,re.default)({type:"StringLiteralTypeAnnotation",value:t})}function bAt(){return{type:"StringTypeAnnotation"}}function vAt(){return{type:"SymbolTypeAnnotation"}}function SAt(){return{type:"ThisTypeAnnotation"}}function TAt(t){return(0,re.default)({type:"TupleTypeAnnotation",types:t})}function xAt(t){return(0,re.default)({type:"TypeofTypeAnnotation",argument:t})}function EAt(t,e=null,r){return(0,re.default)({type:"TypeAlias",id:t,typeParameters:e,right:r})}function wAt(t){return(0,re.default)({type:"TypeAnnotation",typeAnnotation:t})}function AAt(t,e){return(0,re.default)({type:"TypeCastExpression",expression:t,typeAnnotation:e})}function PAt(t=null,e=null,r=null){return(0,re.default)({type:"TypeParameter",bound:t,default:e,variance:r,name:null})}function _At(t){return(0,re.default)({type:"TypeParameterDeclaration",params:t})}function CAt(t){return(0,re.default)({type:"TypeParameterInstantiation",params:t})}function DAt(t){return(0,re.default)({type:"UnionTypeAnnotation",types:t})}function NAt(t){return(0,re.default)({type:"Variance",kind:t})}function IAt(){return{type:"VoidTypeAnnotation"}}function OAt(t,e){return(0,re.default)({type:"EnumDeclaration",id:t,body:e})}function kAt(t){return(0,re.default)({type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null})}function LAt(t){return(0,re.default)({type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null})}function FAt(t){return(0,re.default)({type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null})}function RAt(t){return(0,re.default)({type:"EnumSymbolBody",members:t,hasUnknownMembers:null})}function BAt(t){return(0,re.default)({type:"EnumBooleanMember",id:t,init:null})}function MAt(t,e){return(0,re.default)({type:"EnumNumberMember",id:t,init:e})}function jAt(t,e){return(0,re.default)({type:"EnumStringMember",id:t,init:e})}function VAt(t){return(0,re.default)({type:"EnumDefaultedMember",id:t})}function UAt(t,e){return(0,re.default)({type:"IndexedAccessType",objectType:t,indexType:e})}function qAt(t,e){return(0,re.default)({type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null})}function $At(t,e=null){return(0,re.default)({type:"JSXAttribute",name:t,value:e})}function KAt(t){return(0,re.default)({type:"JSXClosingElement",name:t})}function WAt(t,e=null,r,i=null){return(0,re.default)({type:"JSXElement",openingElement:t,closingElement:e,children:r,selfClosing:i})}function GAt(){return{type:"JSXEmptyExpression"}}function zAt(t){return(0,re.default)({type:"JSXExpressionContainer",expression:t})}function HAt(t){return(0,re.default)({type:"JSXSpreadChild",expression:t})}function YAt(t){return(0,re.default)({type:"JSXIdentifier",name:t})}function JAt(t,e){return(0,re.default)({type:"JSXMemberExpression",object:t,property:e})}function XAt(t,e){return(0,re.default)({type:"JSXNamespacedName",namespace:t,name:e})}function QAt(t,e,r=!1){return(0,re.default)({type:"JSXOpeningElement",name:t,attributes:e,selfClosing:r})}function ZAt(t){return(0,re.default)({type:"JSXSpreadAttribute",argument:t})}function e3t(t){return(0,re.default)({type:"JSXText",value:t})}function t3t(t,e,r){return(0,re.default)({type:"JSXFragment",openingFragment:t,closingFragment:e,children:r})}function r3t(){return{type:"JSXOpeningFragment"}}function i3t(){return{type:"JSXClosingFragment"}}function s3t(){return{type:"Noop"}}function n3t(t,e){return(0,re.default)({type:"Placeholder",expectedNode:t,name:e})}function a3t(t){return(0,re.default)({type:"V8IntrinsicIdentifier",name:t})}function o3t(){return{type:"ArgumentPlaceholder"}}function l3t(t,e){return(0,re.default)({type:"BindExpression",object:t,callee:e})}function u3t(t,e){return(0,re.default)({type:"ImportAttribute",key:t,value:e})}function c3t(t){return(0,re.default)({type:"Decorator",expression:t})}function p3t(t,e=!1){return(0,re.default)({type:"DoExpression",body:t,async:e})}function f3t(t){return(0,re.default)({type:"ExportDefaultSpecifier",exported:t})}function d3t(t){return(0,re.default)({type:"RecordExpression",properties:t})}function h3t(t=[]){return(0,re.default)({type:"TupleExpression",elements:t})}function m3t(t){return(0,re.default)({type:"DecimalLiteral",value:t})}function y3t(t){return(0,re.default)({type:"ModuleExpression",body:t})}function g3t(){return{type:"TopicReference"}}function b3t(t){return(0,re.default)({type:"PipelineTopicExpression",expression:t})}function v3t(t){return(0,re.default)({type:"PipelineBareFunction",callee:t})}function S3t(){return{type:"PipelinePrimaryTopicReference"}}function T3t(t){return(0,re.default)({type:"TSParameterProperty",parameter:t})}function x3t(t=null,e=null,r,i=null){return(0,re.default)({type:"TSDeclareFunction",id:t,typeParameters:e,params:r,returnType:i})}function E3t(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 w3t(t,e){return(0,re.default)({type:"TSQualifiedName",left:t,right:e})}function A3t(t=null,e,r=null){return(0,re.default)({type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function P3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function _3t(t,e=null){return(0,re.default)({type:"TSPropertySignature",key:t,typeAnnotation:e,kind:null})}function C3t(t,e=null,r,i=null){return(0,re.default)({type:"TSMethodSignature",key:t,typeParameters:e,parameters:r,typeAnnotation:i,kind:null})}function D3t(t,e=null){return(0,re.default)({type:"TSIndexSignature",parameters:t,typeAnnotation:e})}function N3t(){return{type:"TSAnyKeyword"}}function I3t(){return{type:"TSBooleanKeyword"}}function O3t(){return{type:"TSBigIntKeyword"}}function k3t(){return{type:"TSIntrinsicKeyword"}}function L3t(){return{type:"TSNeverKeyword"}}function F3t(){return{type:"TSNullKeyword"}}function R3t(){return{type:"TSNumberKeyword"}}function B3t(){return{type:"TSObjectKeyword"}}function M3t(){return{type:"TSStringKeyword"}}function j3t(){return{type:"TSSymbolKeyword"}}function V3t(){return{type:"TSUndefinedKeyword"}}function U3t(){return{type:"TSUnknownKeyword"}}function q3t(){return{type:"TSVoidKeyword"}}function $3t(){return{type:"TSThisType"}}function K3t(t=null,e,r=null){return(0,re.default)({type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:r})}function W3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:r})}function G3t(t,e=null){return(0,re.default)({type:"TSTypeReference",typeName:t,typeParameters:e})}function z3t(t,e=null,r=null){return(0,re.default)({type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:r})}function H3t(t,e=null){return(0,re.default)({type:"TSTypeQuery",exprName:t,typeParameters:e})}function Y3t(t){return(0,re.default)({type:"TSTypeLiteral",members:t})}function J3t(t){return(0,re.default)({type:"TSArrayType",elementType:t})}function X3t(t){return(0,re.default)({type:"TSTupleType",elementTypes:t})}function Q3t(t){return(0,re.default)({type:"TSOptionalType",typeAnnotation:t})}function Z3t(t){return(0,re.default)({type:"TSRestType",typeAnnotation:t})}function e6t(t,e,r=!1){return(0,re.default)({type:"TSNamedTupleMember",label:t,elementType:e,optional:r})}function t6t(t){return(0,re.default)({type:"TSUnionType",types:t})}function r6t(t){return(0,re.default)({type:"TSIntersectionType",types:t})}function i6t(t,e,r,i){return(0,re.default)({type:"TSConditionalType",checkType:t,extendsType:e,trueType:r,falseType:i})}function s6t(t){return(0,re.default)({type:"TSInferType",typeParameter:t})}function n6t(t){return(0,re.default)({type:"TSParenthesizedType",typeAnnotation:t})}function a6t(t){return(0,re.default)({type:"TSTypeOperator",typeAnnotation:t,operator:null})}function o6t(t,e){return(0,re.default)({type:"TSIndexedAccessType",objectType:t,indexType:e})}function l6t(t,e=null,r=null){return(0,re.default)({type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:r})}function u6t(t){return(0,re.default)({type:"TSLiteralType",literal:t})}function c6t(t,e=null){return(0,re.default)({type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e})}function p6t(t,e=null,r=null,i){return(0,re.default)({type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function f6t(t){return(0,re.default)({type:"TSInterfaceBody",body:t})}function d6t(t,e=null,r){return(0,re.default)({type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:r})}function h6t(t,e=null){return(0,re.default)({type:"TSInstantiationExpression",expression:t,typeParameters:e})}function m6t(t,e){return(0,re.default)({type:"TSAsExpression",expression:t,typeAnnotation:e})}function y6t(t,e){return(0,re.default)({type:"TSSatisfiesExpression",expression:t,typeAnnotation:e})}function g6t(t,e){return(0,re.default)({type:"TSTypeAssertion",typeAnnotation:t,expression:e})}function b6t(t,e){return(0,re.default)({type:"TSEnumDeclaration",id:t,members:e})}function v6t(t,e=null){return(0,re.default)({type:"TSEnumMember",id:t,initializer:e})}function S6t(t,e){return(0,re.default)({type:"TSModuleDeclaration",id:t,body:e})}function T6t(t){return(0,re.default)({type:"TSModuleBlock",body:t})}function x6t(t,e=null,r=null){return(0,re.default)({type:"TSImportType",argument:t,qualifier:e,typeParameters:r})}function E6t(t,e){return(0,re.default)({type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null})}function w6t(t){return(0,re.default)({type:"TSExternalModuleReference",expression:t})}function A6t(t){return(0,re.default)({type:"TSNonNullExpression",expression:t})}function P6t(t){return(0,re.default)({type:"TSExportAssignment",expression:t})}function _6t(t){return(0,re.default)({type:"TSNamespaceExportDeclaration",id:t})}function C6t(t){return(0,re.default)({type:"TSTypeAnnotation",typeAnnotation:t})}function D6t(t){return(0,re.default)({type:"TSTypeParameterInstantiation",params:t})}function N6t(t){return(0,re.default)({type:"TSTypeParameterDeclaration",params:t})}function I6t(t=null,e=null,r){return(0,re.default)({type:"TSTypeParameter",constraint:t,default:e,name:r})}function O6t(t){return(0,G_.default)("NumberLiteral","NumericLiteral","The node type "),vye(t)}function k6t(t,e=""){return(0,G_.default)("RegexLiteral","RegExpLiteral","The node type "),Sye(t,e)}function L6t(t){return(0,G_.default)("RestProperty","RestElement","The node type "),Tye(t)}function F6t(t){return(0,G_.default)("SpreadProperty","SpreadElement","The node type "),xye(t)}});var Eye=E(wV=>{"use strict";Object.defineProperty(wV,"__esModule",{value:!0});wV.default=M6t;var R6t=za(),B6t=Nr();function M6t(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,B6t.inherits)((0,R6t.stringLiteral)(s),t))}});var wye=E(PV=>{"use strict";Object.defineProperty(PV,"__esModule",{value:!0});PV.default=V6t;var AV=ln(),j6t=Eye();function V6t(t){let e=[];for(let r=0;r<t.children.length;r++){let i=t.children[r];if((0,AV.isJSXText)(i)){(0,j6t.default)(i,e);continue}(0,AV.isJSXExpressionContainer)(i)&&(i=i.expression),!(0,AV.isJSXEmptyExpression)(i)&&e.push(i)}return e}});var CV=E(_V=>{"use strict";Object.defineProperty(_V,"__esModule",{value:!0});_V.default=q6t;var U6t=Ul();function q6t(t){return!!(t&&U6t.VISITOR_KEYS[t.type])}});var Aye=E(DV=>{"use strict";Object.defineProperty(DV,"__esModule",{value:!0});DV.default=K6t;var $6t=CV();function K6t(t){if(!(0,$6t.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 Pye=E(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.assertAccessor=a5t;B.assertAnyTypeAnnotation=P4t;B.assertArgumentPlaceholder=tCt;B.assertArrayExpression=G6t;B.assertArrayPattern=KPt;B.assertArrayTypeAnnotation=_4t;B.assertArrowFunctionExpression=WPt;B.assertAssignmentExpression=z6t;B.assertAssignmentPattern=$Pt;B.assertAwaitExpression=h4t;B.assertBigIntLiteral=y4t;B.assertBinary=C8t;B.assertBinaryExpression=H6t;B.assertBindExpression=rCt;B.assertBlock=I8t;B.assertBlockParent=N8t;B.assertBlockStatement=Q6t;B.assertBooleanLiteral=vPt;B.assertBooleanLiteralTypeAnnotation=D4t;B.assertBooleanTypeAnnotation=C4t;B.assertBreakStatement=Z6t;B.assertCallExpression=ePt;B.assertCatchClause=tPt;B.assertClass=r5t;B.assertClassAccessorProperty=T4t;B.assertClassBody=GPt;B.assertClassDeclaration=HPt;B.assertClassExpression=zPt;B.assertClassImplements=I4t;B.assertClassMethod=a4t;B.assertClassPrivateMethod=E4t;B.assertClassPrivateProperty=x4t;B.assertClassProperty=S4t;B.assertCompletionStatement=L8t;B.assertConditional=F8t;B.assertConditionalExpression=rPt;B.assertContinueStatement=iPt;B.assertDebuggerStatement=sPt;B.assertDecimalLiteral=uCt;B.assertDeclaration=K8t;B.assertDeclareClass=O4t;B.assertDeclareExportAllDeclaration=U4t;B.assertDeclareExportDeclaration=V4t;B.assertDeclareFunction=k4t;B.assertDeclareInterface=L4t;B.assertDeclareModule=F4t;B.assertDeclareModuleExports=R4t;B.assertDeclareOpaqueType=M4t;B.assertDeclareTypeAlias=B4t;B.assertDeclareVariable=j4t;B.assertDeclaredPredicate=q4t;B.assertDecorator=sCt;B.assertDirective=J6t;B.assertDirectiveLiteral=X6t;B.assertDoExpression=nCt;B.assertDoWhileStatement=nPt;B.assertEmptyStatement=aPt;B.assertEmptyTypeAnnotation=Z4t;B.assertEnumBody=d5t;B.assertEnumBooleanBody=__t;B.assertEnumBooleanMember=I_t;B.assertEnumDeclaration=P_t;B.assertEnumDefaultedMember=L_t;B.assertEnumMember=h5t;B.assertEnumNumberBody=C_t;B.assertEnumNumberMember=O_t;B.assertEnumStringBody=D_t;B.assertEnumStringMember=k_t;B.assertEnumSymbolBody=N_t;B.assertExistsTypeAnnotation=$4t;B.assertExportAllDeclaration=YPt;B.assertExportDeclaration=s5t;B.assertExportDefaultDeclaration=JPt;B.assertExportDefaultSpecifier=aCt;B.assertExportNamedDeclaration=XPt;B.assertExportNamespaceSpecifier=g4t;B.assertExportSpecifier=QPt;B.assertExpression=_8t;B.assertExpressionStatement=oPt;B.assertExpressionWrapper=M8t;B.assertFile=lPt;B.assertFlow=l5t;B.assertFlowBaseAnnotation=c5t;B.assertFlowDeclaration=p5t;B.assertFlowPredicate=f5t;B.assertFlowType=u5t;B.assertFor=j8t;B.assertForInStatement=uPt;B.assertForOfStatement=ZPt;B.assertForStatement=cPt;B.assertForXStatement=V8t;B.assertFunction=U8t;B.assertFunctionDeclaration=pPt;B.assertFunctionExpression=fPt;B.assertFunctionParent=q8t;B.assertFunctionTypeAnnotation=K4t;B.assertFunctionTypeParam=W4t;B.assertGenericTypeAnnotation=G4t;B.assertIdentifier=dPt;B.assertIfStatement=hPt;B.assertImmutable=Y8t;B.assertImport=m4t;B.assertImportAttribute=iCt;B.assertImportDeclaration=e4t;B.assertImportDefaultSpecifier=t4t;B.assertImportExpression=s4t;B.assertImportNamespaceSpecifier=r4t;B.assertImportOrExportDeclaration=i5t;B.assertImportSpecifier=i4t;B.assertIndexedAccessType=F_t;B.assertInferredPredicate=z4t;B.assertInterfaceDeclaration=Y4t;B.assertInterfaceExtends=H4t;B.assertInterfaceTypeAnnotation=J4t;B.assertInterpreterDirective=Y6t;B.assertIntersectionTypeAnnotation=X4t;B.assertJSX=m5t;B.assertJSXAttribute=B_t;B.assertJSXClosingElement=M_t;B.assertJSXClosingFragment=X_t;B.assertJSXElement=j_t;B.assertJSXEmptyExpression=V_t;B.assertJSXExpressionContainer=U_t;B.assertJSXFragment=Y_t;B.assertJSXIdentifier=$_t;B.assertJSXMemberExpression=K_t;B.assertJSXNamespacedName=W_t;B.assertJSXOpeningElement=G_t;B.assertJSXOpeningFragment=J_t;B.assertJSXSpreadAttribute=z_t;B.assertJSXSpreadChild=q_t;B.assertJSXText=H_t;B.assertLVal=G8t;B.assertLabeledStatement=mPt;B.assertLiteral=H8t;B.assertLogicalExpression=TPt;B.assertLoop=R8t;B.assertMemberExpression=xPt;B.assertMetaProperty=n4t;B.assertMethod=X8t;B.assertMiscellaneous=y5t;B.assertMixedTypeAnnotation=Q4t;B.assertModuleDeclaration=A5t;B.assertModuleExpression=cCt;B.assertModuleSpecifier=n5t;B.assertNewExpression=EPt;B.assertNoop=Q_t;B.assertNullLiteral=bPt;B.assertNullLiteralTypeAnnotation=N4t;B.assertNullableTypeAnnotation=e_t;B.assertNumberLiteral=T5t;B.assertNumberLiteralTypeAnnotation=t_t;B.assertNumberTypeAnnotation=r_t;B.assertNumericLiteral=gPt;B.assertObjectExpression=APt;B.assertObjectMember=Q8t;B.assertObjectMethod=PPt;B.assertObjectPattern=o4t;B.assertObjectProperty=_Pt;B.assertObjectTypeAnnotation=i_t;B.assertObjectTypeCallProperty=n_t;B.assertObjectTypeIndexer=a_t;B.assertObjectTypeInternalSlot=s_t;B.assertObjectTypeProperty=o_t;B.assertObjectTypeSpreadProperty=l_t;B.assertOpaqueType=u_t;B.assertOptionalCallExpression=v4t;B.assertOptionalIndexedAccessType=R_t;B.assertOptionalMemberExpression=b4t;B.assertParenthesizedExpression=IPt;B.assertPattern=t5t;B.assertPatternLike=W8t;B.assertPipelineBareFunction=dCt;B.assertPipelinePrimaryTopicReference=hCt;B.assertPipelineTopicExpression=fCt;B.assertPlaceholder=Z_t;B.assertPrivate=o5t;B.assertPrivateName=w4t;B.assertProgram=wPt;B.assertProperty=Z8t;B.assertPureish=$8t;B.assertQualifiedTypeIdentifier=c_t;B.assertRecordExpression=oCt;B.assertRegExpLiteral=SPt;B.assertRegexLiteral=x5t;B.assertRestElement=CPt;B.assertRestProperty=E5t;B.assertReturnStatement=DPt;B.assertScopable=D8t;B.assertSequenceExpression=NPt;B.assertSpreadElement=l4t;B.assertSpreadProperty=w5t;B.assertStandardized=P8t;B.assertStatement=O8t;B.assertStaticBlock=A4t;B.assertStringLiteral=yPt;B.assertStringLiteralTypeAnnotation=p_t;B.assertStringTypeAnnotation=f_t;B.assertSuper=u4t;B.assertSwitchCase=OPt;B.assertSwitchStatement=kPt;B.assertSymbolTypeAnnotation=d_t;B.assertTSAnyKeyword=wCt;B.assertTSArrayType=KCt;B.assertTSAsExpression=u8t;B.assertTSBaseType=S5t;B.assertTSBigIntKeyword=PCt;B.assertTSBooleanKeyword=ACt;B.assertTSCallSignatureDeclaration=vCt;B.assertTSConditionalType=XCt;B.assertTSConstructSignatureDeclaration=SCt;B.assertTSConstructorType=jCt;B.assertTSDeclareFunction=yCt;B.assertTSDeclareMethod=gCt;B.assertTSEntityName=z8t;B.assertTSEnumDeclaration=f8t;B.assertTSEnumMember=d8t;B.assertTSExportAssignment=S8t;B.assertTSExpressionWithTypeArguments=s8t;B.assertTSExternalModuleReference=b8t;B.assertTSFunctionType=MCt;B.assertTSImportEqualsDeclaration=g8t;B.assertTSImportType=y8t;B.assertTSIndexSignature=ECt;B.assertTSIndexedAccessType=t8t;B.assertTSInferType=QCt;B.assertTSInstantiationExpression=l8t;B.assertTSInterfaceBody=a8t;B.assertTSInterfaceDeclaration=n8t;B.assertTSIntersectionType=JCt;B.assertTSIntrinsicKeyword=_Ct;B.assertTSLiteralType=i8t;B.assertTSMappedType=r8t;B.assertTSMethodSignature=xCt;B.assertTSModuleBlock=m8t;B.assertTSModuleDeclaration=h8t;B.assertTSNamedTupleMember=HCt;B.assertTSNamespaceExportDeclaration=T8t;B.assertTSNeverKeyword=CCt;B.assertTSNonNullExpression=v8t;B.assertTSNullKeyword=DCt;B.assertTSNumberKeyword=NCt;B.assertTSObjectKeyword=ICt;B.assertTSOptionalType=GCt;B.assertTSParameterProperty=mCt;B.assertTSParenthesizedType=ZCt;B.assertTSPropertySignature=TCt;B.assertTSQualifiedName=bCt;B.assertTSRestType=zCt;B.assertTSSatisfiesExpression=c8t;B.assertTSStringKeyword=OCt;B.assertTSSymbolKeyword=kCt;B.assertTSThisType=BCt;B.assertTSTupleType=WCt;B.assertTSType=v5t;B.assertTSTypeAliasDeclaration=o8t;B.assertTSTypeAnnotation=x8t;B.assertTSTypeAssertion=p8t;B.assertTSTypeElement=b5t;B.assertTSTypeLiteral=$Ct;B.assertTSTypeOperator=e8t;B.assertTSTypeParameter=A8t;B.assertTSTypeParameterDeclaration=w8t;B.assertTSTypeParameterInstantiation=E8t;B.assertTSTypePredicate=UCt;B.assertTSTypeQuery=qCt;B.assertTSTypeReference=VCt;B.assertTSUndefinedKeyword=LCt;B.assertTSUnionType=YCt;B.assertTSUnknownKeyword=FCt;B.assertTSVoidKeyword=RCt;B.assertTaggedTemplateExpression=c4t;B.assertTemplateElement=p4t;B.assertTemplateLiteral=f4t;B.assertTerminatorless=k8t;B.assertThisExpression=LPt;B.assertThisTypeAnnotation=h_t;B.assertThrowStatement=FPt;B.assertTopicReference=pCt;B.assertTryStatement=RPt;B.assertTupleExpression=lCt;B.assertTupleTypeAnnotation=m_t;B.assertTypeAlias=g_t;B.assertTypeAnnotation=b_t;B.assertTypeCastExpression=v_t;B.assertTypeParameter=S_t;B.assertTypeParameterDeclaration=T_t;B.assertTypeParameterInstantiation=x_t;B.assertTypeScript=g5t;B.assertTypeofTypeAnnotation=y_t;B.assertUnaryExpression=BPt;B.assertUnaryLike=e5t;B.assertUnionTypeAnnotation=E_t;B.assertUpdateExpression=MPt;B.assertUserWhitespacable=J8t;B.assertV8IntrinsicIdentifier=eCt;B.assertVariableDeclaration=jPt;B.assertVariableDeclarator=VPt;B.assertVariance=w_t;B.assertVoidTypeAnnotation=A_t;B.assertWhile=B8t;B.assertWhileStatement=UPt;B.assertWithStatement=qPt;B.assertYieldExpression=d4t;var W6t=nb(),JT=$T();function V(t,e,r){if(!(0,W6t.default)(t,e,r))throw new Error(`Expected type "${t}" with option ${JSON.stringify(r)}, but instead got "${e.type}".`)}function G6t(t,e){V("ArrayExpression",t,e)}function z6t(t,e){V("AssignmentExpression",t,e)}function H6t(t,e){V("BinaryExpression",t,e)}function Y6t(t,e){V("InterpreterDirective",t,e)}function J6t(t,e){V("Directive",t,e)}function X6t(t,e){V("DirectiveLiteral",t,e)}function Q6t(t,e){V("BlockStatement",t,e)}function Z6t(t,e){V("BreakStatement",t,e)}function ePt(t,e){V("CallExpression",t,e)}function tPt(t,e){V("CatchClause",t,e)}function rPt(t,e){V("ConditionalExpression",t,e)}function iPt(t,e){V("ContinueStatement",t,e)}function sPt(t,e){V("DebuggerStatement",t,e)}function nPt(t,e){V("DoWhileStatement",t,e)}function aPt(t,e){V("EmptyStatement",t,e)}function oPt(t,e){V("ExpressionStatement",t,e)}function lPt(t,e){V("File",t,e)}function uPt(t,e){V("ForInStatement",t,e)}function cPt(t,e){V("ForStatement",t,e)}function pPt(t,e){V("FunctionDeclaration",t,e)}function fPt(t,e){V("FunctionExpression",t,e)}function dPt(t,e){V("Identifier",t,e)}function hPt(t,e){V("IfStatement",t,e)}function mPt(t,e){V("LabeledStatement",t,e)}function yPt(t,e){V("StringLiteral",t,e)}function gPt(t,e){V("NumericLiteral",t,e)}function bPt(t,e){V("NullLiteral",t,e)}function vPt(t,e){V("BooleanLiteral",t,e)}function SPt(t,e){V("RegExpLiteral",t,e)}function TPt(t,e){V("LogicalExpression",t,e)}function xPt(t,e){V("MemberExpression",t,e)}function EPt(t,e){V("NewExpression",t,e)}function wPt(t,e){V("Program",t,e)}function APt(t,e){V("ObjectExpression",t,e)}function PPt(t,e){V("ObjectMethod",t,e)}function _Pt(t,e){V("ObjectProperty",t,e)}function CPt(t,e){V("RestElement",t,e)}function DPt(t,e){V("ReturnStatement",t,e)}function NPt(t,e){V("SequenceExpression",t,e)}function IPt(t,e){V("ParenthesizedExpression",t,e)}function OPt(t,e){V("SwitchCase",t,e)}function kPt(t,e){V("SwitchStatement",t,e)}function LPt(t,e){V("ThisExpression",t,e)}function FPt(t,e){V("ThrowStatement",t,e)}function RPt(t,e){V("TryStatement",t,e)}function BPt(t,e){V("UnaryExpression",t,e)}function MPt(t,e){V("UpdateExpression",t,e)}function jPt(t,e){V("VariableDeclaration",t,e)}function VPt(t,e){V("VariableDeclarator",t,e)}function UPt(t,e){V("WhileStatement",t,e)}function qPt(t,e){V("WithStatement",t,e)}function $Pt(t,e){V("AssignmentPattern",t,e)}function KPt(t,e){V("ArrayPattern",t,e)}function WPt(t,e){V("ArrowFunctionExpression",t,e)}function GPt(t,e){V("ClassBody",t,e)}function zPt(t,e){V("ClassExpression",t,e)}function HPt(t,e){V("ClassDeclaration",t,e)}function YPt(t,e){V("ExportAllDeclaration",t,e)}function JPt(t,e){V("ExportDefaultDeclaration",t,e)}function XPt(t,e){V("ExportNamedDeclaration",t,e)}function QPt(t,e){V("ExportSpecifier",t,e)}function ZPt(t,e){V("ForOfStatement",t,e)}function e4t(t,e){V("ImportDeclaration",t,e)}function t4t(t,e){V("ImportDefaultSpecifier",t,e)}function r4t(t,e){V("ImportNamespaceSpecifier",t,e)}function i4t(t,e){V("ImportSpecifier",t,e)}function s4t(t,e){V("ImportExpression",t,e)}function n4t(t,e){V("MetaProperty",t,e)}function a4t(t,e){V("ClassMethod",t,e)}function o4t(t,e){V("ObjectPattern",t,e)}function l4t(t,e){V("SpreadElement",t,e)}function u4t(t,e){V("Super",t,e)}function c4t(t,e){V("TaggedTemplateExpression",t,e)}function p4t(t,e){V("TemplateElement",t,e)}function f4t(t,e){V("TemplateLiteral",t,e)}function d4t(t,e){V("YieldExpression",t,e)}function h4t(t,e){V("AwaitExpression",t,e)}function m4t(t,e){V("Import",t,e)}function y4t(t,e){V("BigIntLiteral",t,e)}function g4t(t,e){V("ExportNamespaceSpecifier",t,e)}function b4t(t,e){V("OptionalMemberExpression",t,e)}function v4t(t,e){V("OptionalCallExpression",t,e)}function S4t(t,e){V("ClassProperty",t,e)}function T4t(t,e){V("ClassAccessorProperty",t,e)}function x4t(t,e){V("ClassPrivateProperty",t,e)}function E4t(t,e){V("ClassPrivateMethod",t,e)}function w4t(t,e){V("PrivateName",t,e)}function A4t(t,e){V("StaticBlock",t,e)}function P4t(t,e){V("AnyTypeAnnotation",t,e)}function _4t(t,e){V("ArrayTypeAnnotation",t,e)}function C4t(t,e){V("BooleanTypeAnnotation",t,e)}function D4t(t,e){V("BooleanLiteralTypeAnnotation",t,e)}function N4t(t,e){V("NullLiteralTypeAnnotation",t,e)}function I4t(t,e){V("ClassImplements",t,e)}function O4t(t,e){V("DeclareClass",t,e)}function k4t(t,e){V("DeclareFunction",t,e)}function L4t(t,e){V("DeclareInterface",t,e)}function F4t(t,e){V("DeclareModule",t,e)}function R4t(t,e){V("DeclareModuleExports",t,e)}function B4t(t,e){V("DeclareTypeAlias",t,e)}function M4t(t,e){V("DeclareOpaqueType",t,e)}function j4t(t,e){V("DeclareVariable",t,e)}function V4t(t,e){V("DeclareExportDeclaration",t,e)}function U4t(t,e){V("DeclareExportAllDeclaration",t,e)}function q4t(t,e){V("DeclaredPredicate",t,e)}function $4t(t,e){V("ExistsTypeAnnotation",t,e)}function K4t(t,e){V("FunctionTypeAnnotation",t,e)}function W4t(t,e){V("FunctionTypeParam",t,e)}function G4t(t,e){V("GenericTypeAnnotation",t,e)}function z4t(t,e){V("InferredPredicate",t,e)}function H4t(t,e){V("InterfaceExtends",t,e)}function Y4t(t,e){V("InterfaceDeclaration",t,e)}function J4t(t,e){V("InterfaceTypeAnnotation",t,e)}function X4t(t,e){V("IntersectionTypeAnnotation",t,e)}function Q4t(t,e){V("MixedTypeAnnotation",t,e)}function Z4t(t,e){V("EmptyTypeAnnotation",t,e)}function e_t(t,e){V("NullableTypeAnnotation",t,e)}function t_t(t,e){V("NumberLiteralTypeAnnotation",t,e)}function r_t(t,e){V("NumberTypeAnnotation",t,e)}function i_t(t,e){V("ObjectTypeAnnotation",t,e)}function s_t(t,e){V("ObjectTypeInternalSlot",t,e)}function n_t(t,e){V("ObjectTypeCallProperty",t,e)}function a_t(t,e){V("ObjectTypeIndexer",t,e)}function o_t(t,e){V("ObjectTypeProperty",t,e)}function l_t(t,e){V("ObjectTypeSpreadProperty",t,e)}function u_t(t,e){V("OpaqueType",t,e)}function c_t(t,e){V("QualifiedTypeIdentifier",t,e)}function p_t(t,e){V("StringLiteralTypeAnnotation",t,e)}function f_t(t,e){V("StringTypeAnnotation",t,e)}function d_t(t,e){V("SymbolTypeAnnotation",t,e)}function h_t(t,e){V("ThisTypeAnnotation",t,e)}function m_t(t,e){V("TupleTypeAnnotation",t,e)}function y_t(t,e){V("TypeofTypeAnnotation",t,e)}function g_t(t,e){V("TypeAlias",t,e)}function b_t(t,e){V("TypeAnnotation",t,e)}function v_t(t,e){V("TypeCastExpression",t,e)}function S_t(t,e){V("TypeParameter",t,e)}function T_t(t,e){V("TypeParameterDeclaration",t,e)}function x_t(t,e){V("TypeParameterInstantiation",t,e)}function E_t(t,e){V("UnionTypeAnnotation",t,e)}function w_t(t,e){V("Variance",t,e)}function A_t(t,e){V("VoidTypeAnnotation",t,e)}function P_t(t,e){V("EnumDeclaration",t,e)}function __t(t,e){V("EnumBooleanBody",t,e)}function C_t(t,e){V("EnumNumberBody",t,e)}function D_t(t,e){V("EnumStringBody",t,e)}function N_t(t,e){V("EnumSymbolBody",t,e)}function I_t(t,e){V("EnumBooleanMember",t,e)}function O_t(t,e){V("EnumNumberMember",t,e)}function k_t(t,e){V("EnumStringMember",t,e)}function L_t(t,e){V("EnumDefaultedMember",t,e)}function F_t(t,e){V("IndexedAccessType",t,e)}function R_t(t,e){V("OptionalIndexedAccessType",t,e)}function B_t(t,e){V("JSXAttribute",t,e)}function M_t(t,e){V("JSXClosingElement",t,e)}function j_t(t,e){V("JSXElement",t,e)}function V_t(t,e){V("JSXEmptyExpression",t,e)}function U_t(t,e){V("JSXExpressionContainer",t,e)}function q_t(t,e){V("JSXSpreadChild",t,e)}function $_t(t,e){V("JSXIdentifier",t,e)}function K_t(t,e){V("JSXMemberExpression",t,e)}function W_t(t,e){V("JSXNamespacedName",t,e)}function G_t(t,e){V("JSXOpeningElement",t,e)}function z_t(t,e){V("JSXSpreadAttribute",t,e)}function H_t(t,e){V("JSXText",t,e)}function Y_t(t,e){V("JSXFragment",t,e)}function J_t(t,e){V("JSXOpeningFragment",t,e)}function X_t(t,e){V("JSXClosingFragment",t,e)}function Q_t(t,e){V("Noop",t,e)}function Z_t(t,e){V("Placeholder",t,e)}function eCt(t,e){V("V8IntrinsicIdentifier",t,e)}function tCt(t,e){V("ArgumentPlaceholder",t,e)}function rCt(t,e){V("BindExpression",t,e)}function iCt(t,e){V("ImportAttribute",t,e)}function sCt(t,e){V("Decorator",t,e)}function nCt(t,e){V("DoExpression",t,e)}function aCt(t,e){V("ExportDefaultSpecifier",t,e)}function oCt(t,e){V("RecordExpression",t,e)}function lCt(t,e){V("TupleExpression",t,e)}function uCt(t,e){V("DecimalLiteral",t,e)}function cCt(t,e){V("ModuleExpression",t,e)}function pCt(t,e){V("TopicReference",t,e)}function fCt(t,e){V("PipelineTopicExpression",t,e)}function dCt(t,e){V("PipelineBareFunction",t,e)}function hCt(t,e){V("PipelinePrimaryTopicReference",t,e)}function mCt(t,e){V("TSParameterProperty",t,e)}function yCt(t,e){V("TSDeclareFunction",t,e)}function gCt(t,e){V("TSDeclareMethod",t,e)}function bCt(t,e){V("TSQualifiedName",t,e)}function vCt(t,e){V("TSCallSignatureDeclaration",t,e)}function SCt(t,e){V("TSConstructSignatureDeclaration",t,e)}function TCt(t,e){V("TSPropertySignature",t,e)}function xCt(t,e){V("TSMethodSignature",t,e)}function ECt(t,e){V("TSIndexSignature",t,e)}function wCt(t,e){V("TSAnyKeyword",t,e)}function ACt(t,e){V("TSBooleanKeyword",t,e)}function PCt(t,e){V("TSBigIntKeyword",t,e)}function _Ct(t,e){V("TSIntrinsicKeyword",t,e)}function CCt(t,e){V("TSNeverKeyword",t,e)}function DCt(t,e){V("TSNullKeyword",t,e)}function NCt(t,e){V("TSNumberKeyword",t,e)}function ICt(t,e){V("TSObjectKeyword",t,e)}function OCt(t,e){V("TSStringKeyword",t,e)}function kCt(t,e){V("TSSymbolKeyword",t,e)}function LCt(t,e){V("TSUndefinedKeyword",t,e)}function FCt(t,e){V("TSUnknownKeyword",t,e)}function RCt(t,e){V("TSVoidKeyword",t,e)}function BCt(t,e){V("TSThisType",t,e)}function MCt(t,e){V("TSFunctionType",t,e)}function jCt(t,e){V("TSConstructorType",t,e)}function VCt(t,e){V("TSTypeReference",t,e)}function UCt(t,e){V("TSTypePredicate",t,e)}function qCt(t,e){V("TSTypeQuery",t,e)}function $Ct(t,e){V("TSTypeLiteral",t,e)}function KCt(t,e){V("TSArrayType",t,e)}function WCt(t,e){V("TSTupleType",t,e)}function GCt(t,e){V("TSOptionalType",t,e)}function zCt(t,e){V("TSRestType",t,e)}function HCt(t,e){V("TSNamedTupleMember",t,e)}function YCt(t,e){V("TSUnionType",t,e)}function JCt(t,e){V("TSIntersectionType",t,e)}function XCt(t,e){V("TSConditionalType",t,e)}function QCt(t,e){V("TSInferType",t,e)}function ZCt(t,e){V("TSParenthesizedType",t,e)}function e8t(t,e){V("TSTypeOperator",t,e)}function t8t(t,e){V("TSIndexedAccessType",t,e)}function r8t(t,e){V("TSMappedType",t,e)}function i8t(t,e){V("TSLiteralType",t,e)}function s8t(t,e){V("TSExpressionWithTypeArguments",t,e)}function n8t(t,e){V("TSInterfaceDeclaration",t,e)}function a8t(t,e){V("TSInterfaceBody",t,e)}function o8t(t,e){V("TSTypeAliasDeclaration",t,e)}function l8t(t,e){V("TSInstantiationExpression",t,e)}function u8t(t,e){V("TSAsExpression",t,e)}function c8t(t,e){V("TSSatisfiesExpression",t,e)}function p8t(t,e){V("TSTypeAssertion",t,e)}function f8t(t,e){V("TSEnumDeclaration",t,e)}function d8t(t,e){V("TSEnumMember",t,e)}function h8t(t,e){V("TSModuleDeclaration",t,e)}function m8t(t,e){V("TSModuleBlock",t,e)}function y8t(t,e){V("TSImportType",t,e)}function g8t(t,e){V("TSImportEqualsDeclaration",t,e)}function b8t(t,e){V("TSExternalModuleReference",t,e)}function v8t(t,e){V("TSNonNullExpression",t,e)}function S8t(t,e){V("TSExportAssignment",t,e)}function T8t(t,e){V("TSNamespaceExportDeclaration",t,e)}function x8t(t,e){V("TSTypeAnnotation",t,e)}function E8t(t,e){V("TSTypeParameterInstantiation",t,e)}function w8t(t,e){V("TSTypeParameterDeclaration",t,e)}function A8t(t,e){V("TSTypeParameter",t,e)}function P8t(t,e){V("Standardized",t,e)}function _8t(t,e){V("Expression",t,e)}function C8t(t,e){V("Binary",t,e)}function D8t(t,e){V("Scopable",t,e)}function N8t(t,e){V("BlockParent",t,e)}function I8t(t,e){V("Block",t,e)}function O8t(t,e){V("Statement",t,e)}function k8t(t,e){V("Terminatorless",t,e)}function L8t(t,e){V("CompletionStatement",t,e)}function F8t(t,e){V("Conditional",t,e)}function R8t(t,e){V("Loop",t,e)}function B8t(t,e){V("While",t,e)}function M8t(t,e){V("ExpressionWrapper",t,e)}function j8t(t,e){V("For",t,e)}function V8t(t,e){V("ForXStatement",t,e)}function U8t(t,e){V("Function",t,e)}function q8t(t,e){V("FunctionParent",t,e)}function $8t(t,e){V("Pureish",t,e)}function K8t(t,e){V("Declaration",t,e)}function W8t(t,e){V("PatternLike",t,e)}function G8t(t,e){V("LVal",t,e)}function z8t(t,e){V("TSEntityName",t,e)}function H8t(t,e){V("Literal",t,e)}function Y8t(t,e){V("Immutable",t,e)}function J8t(t,e){V("UserWhitespacable",t,e)}function X8t(t,e){V("Method",t,e)}function Q8t(t,e){V("ObjectMember",t,e)}function Z8t(t,e){V("Property",t,e)}function e5t(t,e){V("UnaryLike",t,e)}function t5t(t,e){V("Pattern",t,e)}function r5t(t,e){V("Class",t,e)}function i5t(t,e){V("ImportOrExportDeclaration",t,e)}function s5t(t,e){V("ExportDeclaration",t,e)}function n5t(t,e){V("ModuleSpecifier",t,e)}function a5t(t,e){V("Accessor",t,e)}function o5t(t,e){V("Private",t,e)}function l5t(t,e){V("Flow",t,e)}function u5t(t,e){V("FlowType",t,e)}function c5t(t,e){V("FlowBaseAnnotation",t,e)}function p5t(t,e){V("FlowDeclaration",t,e)}function f5t(t,e){V("FlowPredicate",t,e)}function d5t(t,e){V("EnumBody",t,e)}function h5t(t,e){V("EnumMember",t,e)}function m5t(t,e){V("JSX",t,e)}function y5t(t,e){V("Miscellaneous",t,e)}function g5t(t,e){V("TypeScript",t,e)}function b5t(t,e){V("TSTypeElement",t,e)}function v5t(t,e){V("TSType",t,e)}function S5t(t,e){V("TSBaseType",t,e)}function T5t(t,e){(0,JT.default)("assertNumberLiteral","assertNumericLiteral"),V("NumberLiteral",t,e)}function x5t(t,e){(0,JT.default)("assertRegexLiteral","assertRegExpLiteral"),V("RegexLiteral",t,e)}function E5t(t,e){(0,JT.default)("assertRestProperty","assertRestElement"),V("RestProperty",t,e)}function w5t(t,e){(0,JT.default)("assertSpreadProperty","assertSpreadElement"),V("SpreadProperty",t,e)}function A5t(t,e){(0,JT.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),V("ModuleDeclaration",t,e)}});var _ye=E(z_=>{"use strict";Object.defineProperty(z_,"__esModule",{value:!0});z_.default=void 0;var Cu=za(),n9r=z_.default=P5t;function P5t(t){switch(t){case"string":return(0,Cu.stringTypeAnnotation)();case"number":return(0,Cu.numberTypeAnnotation)();case"undefined":return(0,Cu.voidTypeAnnotation)();case"boolean":return(0,Cu.booleanTypeAnnotation)();case"function":return(0,Cu.genericTypeAnnotation)((0,Cu.identifier)("Function"));case"object":return(0,Cu.genericTypeAnnotation)((0,Cu.identifier)("Object"));case"symbol":return(0,Cu.genericTypeAnnotation)((0,Cu.identifier)("Symbol"));case"bigint":return(0,Cu.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var IV=E(NV=>{"use strict";Object.defineProperty(NV,"__esModule",{value:!0});NV.default=Dye;var XT=ln();function Cye(t){return(0,XT.isIdentifier)(t)?t.name:`${t.id.name}.${Cye(t.qualification)}`}function Dye(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,XT.isAnyTypeAnnotation)(o))return[o];if((0,XT.isFlowBaseAnnotation)(o)){i.set(o.type,o);continue}if((0,XT.isUnionTypeAnnotation)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,XT.isGenericTypeAnnotation)(o)){let l=Cye(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=Dye(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 Nye=E(OV=>{"use strict";Object.defineProperty(OV,"__esModule",{value:!0});OV.default=D5t;var _5t=za(),C5t=IV();function D5t(t){let e=(0,C5t.default)(t);return e.length===1?e[0]:(0,_5t.unionTypeAnnotation)(e)}});var kye=E(kV=>{"use strict";Object.defineProperty(kV,"__esModule",{value:!0});kV.default=Oye;var QT=ln();function Iye(t){return(0,QT.isIdentifier)(t)?t.name:`${t.right.name}.${Iye(t.left)}`}function Oye(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,QT.isTSAnyKeyword)(o))return[o];if((0,QT.isTSBaseType)(o)){i.set(o.type,o);continue}if((0,QT.isTSUnionType)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,QT.isTSTypeReference)(o)&&o.typeParameters){let l=Iye(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=Oye(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 Lye=E(LV=>{"use strict";Object.defineProperty(LV,"__esModule",{value:!0});LV.default=k5t;var N5t=za(),I5t=kye(),O5t=ln();function k5t(t){let e=t.map(i=>(0,O5t.isTSTypeAnnotation)(i)?i.typeAnnotation:i),r=(0,I5t.default)(e);return r.length===1?r[0]:(0,N5t.tsUnionType)(r)}});var Fye=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=za()});var Bye=E(FV=>{"use strict";Object.defineProperty(FV,"__esModule",{value:!0});FV.buildUndefinedNode=L5t;var Rye=za();function L5t(){return(0,Rye.unaryExpression)("void",(0,Rye.numericLiteral)(0),!0)}});var Zd=E(RV=>{"use strict";Object.defineProperty(RV,"__esModule",{value:!0});RV.default=F5t;var Mye=Ul(),jye=ln(),rf=Function.call.bind(Object.prototype.hasOwnProperty);function Vye(t,e,r,i){return t&&typeof t.type=="string"?qye(t,e,r,i):t}function Uye(t,e,r,i){return Array.isArray(t)?t.map(s=>Vye(s,e,r,i)):Vye(t,e,r,i)}function F5t(t,e=!0,r=!1){return qye(t,e,r,new Map)}function qye(t,e=!0,r=!1,i){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,jye.isIdentifier)(t))n.name=t.name,rf(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),rf(t,"typeAnnotation")&&(n.typeAnnotation=e?Uye(t.typeAnnotation,!0,r,i):t.typeAnnotation);else if(rf(Mye.NODE_FIELDS,s))for(let a of Object.keys(Mye.NODE_FIELDS[s]))rf(t,a)&&(e?n[a]=(0,jye.isFile)(t)&&a==="comments"?H_(t.comments,e,r,i):Uye(t[a],!0,r,i):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return rf(t,"loc")&&(r?n.loc=null:n.loc=t.loc),rf(t,"leadingComments")&&(n.leadingComments=H_(t.leadingComments,e,r,i)),rf(t,"innerComments")&&(n.innerComments=H_(t.innerComments,e,r,i)),rf(t,"trailingComments")&&(n.trailingComments=H_(t.trailingComments,e,r,i)),rf(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function H_(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 $ye=E(BV=>{"use strict";Object.defineProperty(BV,"__esModule",{value:!0});BV.default=B5t;var R5t=Zd();function B5t(t){return(0,R5t.default)(t,!1)}});var Kye=E(MV=>{"use strict";Object.defineProperty(MV,"__esModule",{value:!0});MV.default=j5t;var M5t=Zd();function j5t(t){return(0,M5t.default)(t)}});var Wye=E(jV=>{"use strict";Object.defineProperty(jV,"__esModule",{value:!0});jV.default=U5t;var V5t=Zd();function U5t(t){return(0,V5t.default)(t,!0,!0)}});var Gye=E(VV=>{"use strict";Object.defineProperty(VV,"__esModule",{value:!0});VV.default=$5t;var q5t=Zd();function $5t(t){return(0,q5t.default)(t,!1,!0)}});var qV=E(UV=>{"use strict";Object.defineProperty(UV,"__esModule",{value:!0});UV.default=K5t;function K5t(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 zye=E($V=>{"use strict";Object.defineProperty($V,"__esModule",{value:!0});$V.default=G5t;var W5t=qV();function G5t(t,e,r,i){return(0,W5t.default)(t,e,[{type:i?"CommentLine":"CommentBlock",value:r}])}});var Y_=E(KV=>{"use strict";Object.defineProperty(KV,"__esModule",{value:!0});KV.default=z5t;function z5t(t,e,r){e&&r&&(e[t]=Array.from(new Set([].concat(e[t],r[t]).filter(Boolean))))}});var GV=E(WV=>{"use strict";Object.defineProperty(WV,"__esModule",{value:!0});WV.default=Y5t;var H5t=Y_();function Y5t(t,e){(0,H5t.default)("innerComments",t,e)}});var HV=E(zV=>{"use strict";Object.defineProperty(zV,"__esModule",{value:!0});zV.default=X5t;var J5t=Y_();function X5t(t,e){(0,J5t.default)("leadingComments",t,e)}});var JV=E(YV=>{"use strict";Object.defineProperty(YV,"__esModule",{value:!0});YV.default=Z5t;var Q5t=Y_();function Z5t(t,e){(0,Q5t.default)("trailingComments",t,e)}});var QV=E(XV=>{"use strict";Object.defineProperty(XV,"__esModule",{value:!0});XV.default=i9t;var e9t=JV(),t9t=HV(),r9t=GV();function i9t(t,e){return(0,e9t.default)(t,e),(0,t9t.default)(t,e),(0,r9t.default)(t,e),t}});var Hye=E(ZV=>{"use strict";Object.defineProperty(ZV,"__esModule",{value:!0});ZV.default=n9t;var s9t=Jd();function n9t(t){return s9t.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var Yye=E(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.WHILE_TYPES=Ke.USERWHITESPACABLE_TYPES=Ke.UNARYLIKE_TYPES=Ke.TYPESCRIPT_TYPES=Ke.TSTYPE_TYPES=Ke.TSTYPEELEMENT_TYPES=Ke.TSENTITYNAME_TYPES=Ke.TSBASETYPE_TYPES=Ke.TERMINATORLESS_TYPES=Ke.STATEMENT_TYPES=Ke.STANDARDIZED_TYPES=Ke.SCOPABLE_TYPES=Ke.PUREISH_TYPES=Ke.PROPERTY_TYPES=Ke.PRIVATE_TYPES=Ke.PATTERN_TYPES=Ke.PATTERNLIKE_TYPES=Ke.OBJECTMEMBER_TYPES=Ke.MODULESPECIFIER_TYPES=Ke.MODULEDECLARATION_TYPES=Ke.MISCELLANEOUS_TYPES=Ke.METHOD_TYPES=Ke.LVAL_TYPES=Ke.LOOP_TYPES=Ke.LITERAL_TYPES=Ke.JSX_TYPES=Ke.IMPORTOREXPORTDECLARATION_TYPES=Ke.IMMUTABLE_TYPES=Ke.FUNCTION_TYPES=Ke.FUNCTIONPARENT_TYPES=Ke.FOR_TYPES=Ke.FORXSTATEMENT_TYPES=Ke.FLOW_TYPES=Ke.FLOWTYPE_TYPES=Ke.FLOWPREDICATE_TYPES=Ke.FLOWDECLARATION_TYPES=Ke.FLOWBASEANNOTATION_TYPES=Ke.EXPRESSION_TYPES=Ke.EXPRESSIONWRAPPER_TYPES=Ke.EXPORTDECLARATION_TYPES=Ke.ENUMMEMBER_TYPES=Ke.ENUMBODY_TYPES=Ke.DECLARATION_TYPES=Ke.CONDITIONAL_TYPES=Ke.COMPLETIONSTATEMENT_TYPES=Ke.CLASS_TYPES=Ke.BLOCK_TYPES=Ke.BLOCKPARENT_TYPES=Ke.BINARY_TYPES=Ke.ACCESSOR_TYPES=void 0;var ir=Ul(),P9r=Ke.STANDARDIZED_TYPES=ir.FLIPPED_ALIAS_KEYS.Standardized,_9r=Ke.EXPRESSION_TYPES=ir.FLIPPED_ALIAS_KEYS.Expression,C9r=Ke.BINARY_TYPES=ir.FLIPPED_ALIAS_KEYS.Binary,D9r=Ke.SCOPABLE_TYPES=ir.FLIPPED_ALIAS_KEYS.Scopable,N9r=Ke.BLOCKPARENT_TYPES=ir.FLIPPED_ALIAS_KEYS.BlockParent,I9r=Ke.BLOCK_TYPES=ir.FLIPPED_ALIAS_KEYS.Block,O9r=Ke.STATEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.Statement,k9r=Ke.TERMINATORLESS_TYPES=ir.FLIPPED_ALIAS_KEYS.Terminatorless,L9r=Ke.COMPLETIONSTATEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.CompletionStatement,F9r=Ke.CONDITIONAL_TYPES=ir.FLIPPED_ALIAS_KEYS.Conditional,R9r=Ke.LOOP_TYPES=ir.FLIPPED_ALIAS_KEYS.Loop,B9r=Ke.WHILE_TYPES=ir.FLIPPED_ALIAS_KEYS.While,M9r=Ke.EXPRESSIONWRAPPER_TYPES=ir.FLIPPED_ALIAS_KEYS.ExpressionWrapper,j9r=Ke.FOR_TYPES=ir.FLIPPED_ALIAS_KEYS.For,V9r=Ke.FORXSTATEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.ForXStatement,U9r=Ke.FUNCTION_TYPES=ir.FLIPPED_ALIAS_KEYS.Function,q9r=Ke.FUNCTIONPARENT_TYPES=ir.FLIPPED_ALIAS_KEYS.FunctionParent,$9r=Ke.PUREISH_TYPES=ir.FLIPPED_ALIAS_KEYS.Pureish,K9r=Ke.DECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.Declaration,W9r=Ke.PATTERNLIKE_TYPES=ir.FLIPPED_ALIAS_KEYS.PatternLike,G9r=Ke.LVAL_TYPES=ir.FLIPPED_ALIAS_KEYS.LVal,z9r=Ke.TSENTITYNAME_TYPES=ir.FLIPPED_ALIAS_KEYS.TSEntityName,H9r=Ke.LITERAL_TYPES=ir.FLIPPED_ALIAS_KEYS.Literal,Y9r=Ke.IMMUTABLE_TYPES=ir.FLIPPED_ALIAS_KEYS.Immutable,J9r=Ke.USERWHITESPACABLE_TYPES=ir.FLIPPED_ALIAS_KEYS.UserWhitespacable,X9r=Ke.METHOD_TYPES=ir.FLIPPED_ALIAS_KEYS.Method,Q9r=Ke.OBJECTMEMBER_TYPES=ir.FLIPPED_ALIAS_KEYS.ObjectMember,Z9r=Ke.PROPERTY_TYPES=ir.FLIPPED_ALIAS_KEYS.Property,eDr=Ke.UNARYLIKE_TYPES=ir.FLIPPED_ALIAS_KEYS.UnaryLike,tDr=Ke.PATTERN_TYPES=ir.FLIPPED_ALIAS_KEYS.Pattern,rDr=Ke.CLASS_TYPES=ir.FLIPPED_ALIAS_KEYS.Class,a9t=Ke.IMPORTOREXPORTDECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,iDr=Ke.EXPORTDECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.ExportDeclaration,sDr=Ke.MODULESPECIFIER_TYPES=ir.FLIPPED_ALIAS_KEYS.ModuleSpecifier,nDr=Ke.ACCESSOR_TYPES=ir.FLIPPED_ALIAS_KEYS.Accessor,aDr=Ke.PRIVATE_TYPES=ir.FLIPPED_ALIAS_KEYS.Private,oDr=Ke.FLOW_TYPES=ir.FLIPPED_ALIAS_KEYS.Flow,lDr=Ke.FLOWTYPE_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowType,uDr=Ke.FLOWBASEANNOTATION_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,cDr=Ke.FLOWDECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowDeclaration,pDr=Ke.FLOWPREDICATE_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowPredicate,fDr=Ke.ENUMBODY_TYPES=ir.FLIPPED_ALIAS_KEYS.EnumBody,dDr=Ke.ENUMMEMBER_TYPES=ir.FLIPPED_ALIAS_KEYS.EnumMember,hDr=Ke.JSX_TYPES=ir.FLIPPED_ALIAS_KEYS.JSX,mDr=Ke.MISCELLANEOUS_TYPES=ir.FLIPPED_ALIAS_KEYS.Miscellaneous,yDr=Ke.TYPESCRIPT_TYPES=ir.FLIPPED_ALIAS_KEYS.TypeScript,gDr=Ke.TSTYPEELEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.TSTypeElement,bDr=Ke.TSTYPE_TYPES=ir.FLIPPED_ALIAS_KEYS.TSType,vDr=Ke.TSBASETYPE_TYPES=ir.FLIPPED_ALIAS_KEYS.TSBaseType,SDr=Ke.MODULEDECLARATION_TYPES=a9t});var rU=E(tU=>{"use strict";Object.defineProperty(tU,"__esModule",{value:!0});tU.default=o9t;var J_=ln(),eU=za();function o9t(t,e){if((0,J_.isBlockStatement)(t))return t;let r=[];return(0,J_.isEmptyStatement)(t)?r=[]:((0,J_.isStatement)(t)||((0,J_.isFunction)(e)?t=(0,eU.returnStatement)(t):t=(0,eU.expressionStatement)(t)),r=[t]),(0,eU.blockStatement)(r)}});var Jye=E(iU=>{"use strict";Object.defineProperty(iU,"__esModule",{value:!0});iU.default=u9t;var l9t=rU();function u9t(t,e="body"){let r=(0,l9t.default)(t[e],t);return t[e]=r,r}});var nU=E(sU=>{"use strict";Object.defineProperty(sU,"__esModule",{value:!0});sU.default=f9t;var c9t=ab(),p9t=Kd();function f9t(t){t=t+"";let e="";for(let r of t)e+=(0,p9t.isIdentifierChar)(r.codePointAt(0))?r:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(r,i){return i?i.toUpperCase():""}),(0,c9t.default)(e)||(e=`_${e}`),e||"_"}});var Xye=E(aU=>{"use strict";Object.defineProperty(aU,"__esModule",{value:!0});aU.default=h9t;var d9t=nU();function h9t(t){return t=(0,d9t.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var Qye=E(oU=>{"use strict";Object.defineProperty(oU,"__esModule",{value:!0});oU.default=g9t;var m9t=ln(),y9t=za();function g9t(t,e=t.key||t.property){return!t.computed&&(0,m9t.isIdentifier)(e)&&(e=(0,y9t.stringLiteral)(e.name)),e}});var Zye=E(X_=>{"use strict";Object.defineProperty(X_,"__esModule",{value:!0});X_.default=void 0;var ZT=ln(),_Dr=X_.default=b9t;function b9t(t){if((0,ZT.isExpressionStatement)(t)&&(t=t.expression),(0,ZT.isExpression)(t))return t;if((0,ZT.isClass)(t)?t.type="ClassExpression":(0,ZT.isFunction)(t)&&(t.type="FunctionExpression"),!(0,ZT.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var cU=E(uU=>{"use strict";Object.defineProperty(uU,"__esModule",{value:!0});uU.default=lU;var v9t=Ul();function lU(t,e,r){if(!t)return;let i=v9t.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)lU(a,e,r);else lU(n,e,r)}}}});var fU=E(pU=>{"use strict";Object.defineProperty(pU,"__esModule",{value:!0});pU.default=x9t;var S9t=Jd(),e1e=["tokens","start","end","loc","raw","rawValue"],T9t=[...S9t.COMMENT_KEYS,"comments",...e1e];function x9t(t,e={}){let r=e.preserveComments?e1e:T9t;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 hU=E(dU=>{"use strict";Object.defineProperty(dU,"__esModule",{value:!0});dU.default=A9t;var E9t=cU(),w9t=fU();function A9t(t,e){return(0,E9t.default)(t,w9t.default,e),t}});var r1e=E(mU=>{"use strict";Object.defineProperty(mU,"__esModule",{value:!0});mU.default=N0;var t1e=ln(),P9t=Zd(),_9t=hU();function N0(t,e=t.key){let r;return t.kind==="method"?N0.increment()+"":((0,t1e.isIdentifier)(e)?r=e.name:(0,t1e.isStringLiteral)(e)?r=JSON.stringify(e.value):r=JSON.stringify((0,_9t.default)((0,P9t.default)(e))),t.computed&&(r=`[${r}]`),t.static&&(r=`static:${r}`),r)}N0.uid=0;N0.increment=function(){return N0.uid>=Number.MAX_SAFE_INTEGER?N0.uid=0:N0.uid++}});var i1e=E(Z_=>{"use strict";Object.defineProperty(Z_,"__esModule",{value:!0});Z_.default=void 0;var Q_=ln(),C9t=za(),kDr=Z_.default=D9t;function D9t(t,e){if((0,Q_.isStatement)(t))return t;let r=!1,i;if((0,Q_.isClass)(t))r=!0,i="ClassDeclaration";else if((0,Q_.isFunction)(t))r=!0,i="FunctionDeclaration";else if((0,Q_.isAssignmentExpression)(t))return(0,C9t.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 s1e=E(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.default=void 0;var N9t=ab(),ga=za(),FDr=eC.default=yU,I9t=Function.call.bind(Object.prototype.toString);function O9t(t){return I9t(t)==="[object RegExp]"}function k9t(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 yU(t){if(t===void 0)return(0,ga.identifier)("undefined");if(t===!0||t===!1)return(0,ga.booleanLiteral)(t);if(t===null)return(0,ga.nullLiteral)();if(typeof t=="string")return(0,ga.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,ga.numericLiteral)(Math.abs(t));else{let r;Number.isNaN(t)?r=(0,ga.numericLiteral)(0):r=(0,ga.numericLiteral)(1),e=(0,ga.binaryExpression)("/",r,(0,ga.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,ga.unaryExpression)("-",e)),e}if(O9t(t)){let e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,ga.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,ga.arrayExpression)(t.map(yU));if(k9t(t)){let e=[];for(let r of Object.keys(t)){let i;(0,N9t.default)(r)?i=(0,ga.identifier)(r):i=(0,ga.stringLiteral)(r),e.push((0,ga.objectProperty)(i,yU(t[r])))}return(0,ga.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var n1e=E(gU=>{"use strict";Object.defineProperty(gU,"__esModule",{value:!0});gU.default=F9t;var L9t=za();function F9t(t,e,r=!1){return t.object=(0,L9t.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!r,t}});var o1e=E(bU=>{"use strict";Object.defineProperty(bU,"__esModule",{value:!0});bU.default=B9t;var a1e=Jd(),R9t=QV();function B9t(t,e){if(!t||!e)return t;for(let r of a1e.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 a1e.INHERIT_KEYS.force)t[r]=e[r];return(0,R9t.default)(t,e),t}});var l1e=E(vU=>{"use strict";Object.defineProperty(vU,"__esModule",{value:!0});vU.default=V9t;var M9t=za(),j9t=Nr();function V9t(t,e){if((0,j9t.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,M9t.memberExpression)(e,t.object),t}});var ex=E(TU=>{"use strict";Object.defineProperty(TU,"__esModule",{value:!0});TU.default=SU;var eh=ln();function SU(t,e,r,i){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||i&&((0,eh.isAssignmentExpression)(a)||(0,eh.isUnaryExpression)(a)))continue;let o=SU.keys[a.type];if((0,eh.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,eh.isExportDeclaration)(a)&&!(0,eh.isExportAllDeclaration)(a)){(0,eh.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,eh.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,eh.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}SU.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 u1e=E(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.default=void 0;var U9t=ex(),UDr=tC.default=q9t;function q9t(t,e){return(0,U9t.default)(t,e,!0)}});var c1e=E(EU=>{"use strict";Object.defineProperty(EU,"__esModule",{value:!0});EU.default=K9t;var $9t=Ul();function K9t(t,e,r){typeof e=="function"&&(e={enter:e});let{enter:i,exit:s}=e;xU(t,i,s,r,[])}function xU(t,e,r,i,s){let n=$9t.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}),xU(u,e,r,i,s),s.pop())}else o&&(s.push({node:t,key:a}),xU(o,e,r,i,s),s.pop())}r&&r(t,s,i)}}});var p1e=E(wU=>{"use strict";Object.defineProperty(wU,"__esModule",{value:!0});wU.default=G9t;var W9t=ex();function G9t(t,e,r){if(r&&t.type==="Identifier"&&e.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let i=W9t.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 PU=E(AU=>{"use strict";Object.defineProperty(AU,"__esModule",{value:!0});AU.default=Y9t;var z9t=ln(),H9t=Jd();function Y9t(t){return(0,z9t.isVariableDeclaration)(t)&&(t.kind!=="var"||t[H9t.BLOCK_SCOPED_SYMBOL])}});var d1e=E(_U=>{"use strict";Object.defineProperty(_U,"__esModule",{value:!0});_U.default=X9t;var f1e=ln(),J9t=PU();function X9t(t){return(0,f1e.isFunctionDeclaration)(t)||(0,f1e.isClassDeclaration)(t)||(0,J9t.default)(t)}});var h1e=E(CU=>{"use strict";Object.defineProperty(CU,"__esModule",{value:!0});CU.default=eDt;var Q9t=R_(),Z9t=ln();function eDt(t){return(0,Q9t.default)(t.type,"Immutable")?!0:(0,Z9t.isIdentifier)(t)?t.name==="undefined":!1}});var y1e=E(NU=>{"use strict";Object.defineProperty(NU,"__esModule",{value:!0});NU.default=DU;var m1e=Ul();function DU(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(m1e.NODE_FIELDS[t.type]||t.type),i=m1e.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(!DU(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(!DU(n,a))return!1}}return!0}});var g1e=E(IU=>{"use strict";Object.defineProperty(IU,"__esModule",{value:!0});IU.default=tDt;function tDt(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 b1e=E(OU=>{"use strict";Object.defineProperty(OU,"__esModule",{value:!0});OU.default=rDt;var I0=ln();function rDt(t,e){return(0,I0.isBlockStatement)(t)&&((0,I0.isFunction)(e)||(0,I0.isCatchClause)(e))?!1:(0,I0.isPattern)(t)&&((0,I0.isFunction)(e)||(0,I0.isCatchClause)(e))?!0:(0,I0.isScopable)(t)}});var S1e=E(kU=>{"use strict";Object.defineProperty(kU,"__esModule",{value:!0});kU.default=iDt;var v1e=ln();function iDt(t){return(0,v1e.isImportDefaultSpecifier)(t)||(0,v1e.isIdentifier)(t.imported||t.exported,{name:"default"})}});var T1e=E(LU=>{"use strict";Object.defineProperty(LU,"__esModule",{value:!0});LU.default=aDt;var sDt=ab(),nDt=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 aDt(t){return(0,sDt.default)(t)&&!nDt.has(t)}});var x1e=E(FU=>{"use strict";Object.defineProperty(FU,"__esModule",{value:!0});FU.default=uDt;var oDt=ln(),lDt=Jd();function uDt(t){return(0,oDt.isVariableDeclaration)(t,{kind:"var"})&&!t[lDt.BLOCK_SCOPED_SYMBOL]}});var E1e=E(BU=>{"use strict";Object.defineProperty(BU,"__esModule",{value:!0});BU.default=rC;var cDt=ex(),O0=ln(),RU=za(),pDt=Zd();function rC(t,e,r){let i=[],s=!0;for(let n of t)if((0,O0.isEmptyStatement)(n)||(s=!1),(0,O0.isExpression)(n))i.push(n);else if((0,O0.isExpressionStatement)(n))i.push(n.expression);else if((0,O0.isVariableDeclaration)(n)){if(n.kind!=="var")return;for(let a of n.declarations){let o=(0,cDt.default)(a);for(let l of Object.keys(o))r.push({kind:n.kind,id:(0,pDt.default)(o[l])});a.init&&i.push((0,RU.assignmentExpression)("=",a.id,a.init))}s=!0}else if((0,O0.isIfStatement)(n)){let a=n.consequent?rC([n.consequent],e,r):e.buildUndefinedNode(),o=n.alternate?rC([n.alternate],e,r):e.buildUndefinedNode();if(!a||!o)return;i.push((0,RU.conditionalExpression)(n.test,a,o))}else if((0,O0.isBlockStatement)(n)){let a=rC(n.body,e,r);if(!a)return;i.push(a)}else if((0,O0.isEmptyStatement)(n))t.indexOf(n)===0&&(s=!0);else return;return s&&i.push(e.buildUndefinedNode()),i.length===1?i[0]:(0,RU.sequenceExpression)(i)}});var w1e=E(MU=>{"use strict";Object.defineProperty(MU,"__esModule",{value:!0});MU.default=dDt;var fDt=E1e();function dDt(t,e){if(!(t!=null&&t.length))return;let r=[],i=(0,fDt.default)(t,e,r);if(i){for(let s of r)e.push(s);return i}}});var Nr=E(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});var sf={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(Qe,"__internal__deprecationWarning",{enumerable:!0,get:function(){return mNt.default}});Object.defineProperty(Qe,"addComment",{enumerable:!0,get:function(){return ADt.default}});Object.defineProperty(Qe,"addComments",{enumerable:!0,get:function(){return PDt.default}});Object.defineProperty(Qe,"appendToMemberExpression",{enumerable:!0,get:function(){return UDt.default}});Object.defineProperty(Qe,"assertNode",{enumerable:!0,get:function(){return gDt.default}});Object.defineProperty(Qe,"buildMatchMemberExpression",{enumerable:!0,get:function(){return hNt.default}});Object.defineProperty(Qe,"clone",{enumerable:!0,get:function(){return TDt.default}});Object.defineProperty(Qe,"cloneDeep",{enumerable:!0,get:function(){return xDt.default}});Object.defineProperty(Qe,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return EDt.default}});Object.defineProperty(Qe,"cloneNode",{enumerable:!0,get:function(){return SDt.default}});Object.defineProperty(Qe,"cloneWithoutLoc",{enumerable:!0,get:function(){return wDt.default}});Object.defineProperty(Qe,"createFlowUnionType",{enumerable:!0,get:function(){return A1e.default}});Object.defineProperty(Qe,"createTSUnionType",{enumerable:!0,get:function(){return vDt.default}});Object.defineProperty(Qe,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return bDt.default}});Object.defineProperty(Qe,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return A1e.default}});Object.defineProperty(Qe,"ensureBlock",{enumerable:!0,get:function(){return ODt.default}});Object.defineProperty(Qe,"getBindingIdentifiers",{enumerable:!0,get:function(){return zDt.default}});Object.defineProperty(Qe,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return HDt.default}});Object.defineProperty(Qe,"inheritInnerComments",{enumerable:!0,get:function(){return _Dt.default}});Object.defineProperty(Qe,"inheritLeadingComments",{enumerable:!0,get:function(){return CDt.default}});Object.defineProperty(Qe,"inheritTrailingComments",{enumerable:!0,get:function(){return NDt.default}});Object.defineProperty(Qe,"inherits",{enumerable:!0,get:function(){return qDt.default}});Object.defineProperty(Qe,"inheritsComments",{enumerable:!0,get:function(){return DDt.default}});Object.defineProperty(Qe,"is",{enumerable:!0,get:function(){return XDt.default}});Object.defineProperty(Qe,"isBinding",{enumerable:!0,get:function(){return QDt.default}});Object.defineProperty(Qe,"isBlockScoped",{enumerable:!0,get:function(){return ZDt.default}});Object.defineProperty(Qe,"isImmutable",{enumerable:!0,get:function(){return eNt.default}});Object.defineProperty(Qe,"isLet",{enumerable:!0,get:function(){return tNt.default}});Object.defineProperty(Qe,"isNode",{enumerable:!0,get:function(){return rNt.default}});Object.defineProperty(Qe,"isNodesEquivalent",{enumerable:!0,get:function(){return iNt.default}});Object.defineProperty(Qe,"isPlaceholderType",{enumerable:!0,get:function(){return sNt.default}});Object.defineProperty(Qe,"isReferenced",{enumerable:!0,get:function(){return nNt.default}});Object.defineProperty(Qe,"isScope",{enumerable:!0,get:function(){return aNt.default}});Object.defineProperty(Qe,"isSpecifierDefault",{enumerable:!0,get:function(){return oNt.default}});Object.defineProperty(Qe,"isType",{enumerable:!0,get:function(){return lNt.default}});Object.defineProperty(Qe,"isValidES3Identifier",{enumerable:!0,get:function(){return uNt.default}});Object.defineProperty(Qe,"isValidIdentifier",{enumerable:!0,get:function(){return cNt.default}});Object.defineProperty(Qe,"isVar",{enumerable:!0,get:function(){return pNt.default}});Object.defineProperty(Qe,"matchesPattern",{enumerable:!0,get:function(){return fNt.default}});Object.defineProperty(Qe,"prependToMemberExpression",{enumerable:!0,get:function(){return $Dt.default}});Qe.react=void 0;Object.defineProperty(Qe,"removeComments",{enumerable:!0,get:function(){return IDt.default}});Object.defineProperty(Qe,"removeProperties",{enumerable:!0,get:function(){return KDt.default}});Object.defineProperty(Qe,"removePropertiesDeep",{enumerable:!0,get:function(){return WDt.default}});Object.defineProperty(Qe,"removeTypeDuplicates",{enumerable:!0,get:function(){return GDt.default}});Object.defineProperty(Qe,"shallowEqual",{enumerable:!0,get:function(){return JDt.default}});Object.defineProperty(Qe,"toBindingIdentifierName",{enumerable:!0,get:function(){return kDt.default}});Object.defineProperty(Qe,"toBlock",{enumerable:!0,get:function(){return LDt.default}});Object.defineProperty(Qe,"toComputedKey",{enumerable:!0,get:function(){return FDt.default}});Object.defineProperty(Qe,"toExpression",{enumerable:!0,get:function(){return RDt.default}});Object.defineProperty(Qe,"toIdentifier",{enumerable:!0,get:function(){return BDt.default}});Object.defineProperty(Qe,"toKeyAlias",{enumerable:!0,get:function(){return MDt.default}});Object.defineProperty(Qe,"toStatement",{enumerable:!0,get:function(){return jDt.default}});Object.defineProperty(Qe,"traverse",{enumerable:!0,get:function(){return iC.default}});Object.defineProperty(Qe,"traverseFast",{enumerable:!0,get:function(){return YDt.default}});Object.defineProperty(Qe,"validate",{enumerable:!0,get:function(){return dNt.default}});Object.defineProperty(Qe,"valueToNode",{enumerable:!0,get:function(){return VDt.default}});var hDt=V0e(),mDt=U0e(),yDt=wye(),gDt=Aye(),jU=Pye();Object.keys(jU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===jU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return jU[t]}})});var bDt=_ye(),A1e=Nye(),vDt=Lye(),VU=za();Object.keys(VU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===VU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return VU[t]}})});var UU=Fye();Object.keys(UU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===UU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return UU[t]}})});var qU=Bye();Object.keys(qU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===qU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return qU[t]}})});var SDt=Zd(),TDt=$ye(),xDt=Kye(),EDt=Wye(),wDt=Gye(),ADt=zye(),PDt=qV(),_Dt=GV(),CDt=HV(),DDt=QV(),NDt=JV(),IDt=Hye(),$U=Yye();Object.keys($U).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===$U[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return $U[t]}})});var KU=Jd();Object.keys(KU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===KU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return KU[t]}})});var ODt=Jye(),kDt=Xye(),LDt=rU(),FDt=Qye(),RDt=Zye(),BDt=nU(),MDt=r1e(),jDt=i1e(),VDt=s1e(),WU=Ul();Object.keys(WU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===WU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return WU[t]}})});var UDt=n1e(),qDt=o1e(),$Dt=l1e(),KDt=fU(),WDt=hU(),GDt=IV(),zDt=ex(),HDt=u1e(),iC=c1e();Object.keys(iC).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===iC[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return iC[t]}})});var YDt=cU(),JDt=L_(),XDt=nb(),QDt=p1e(),ZDt=d1e(),eNt=h1e(),tNt=PU(),rNt=CV(),iNt=y1e(),sNt=nV(),nNt=g1e(),aNt=b1e(),oNt=S1e(),lNt=R_(),uNt=T1e(),cNt=ab(),pNt=x1e(),fNt=Zj(),dNt=U_(),hNt=tV(),GU=ln();Object.keys(GU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===GU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return GU[t]}})});var mNt=$T(),rNr=Qe.react={isReactComponent:hDt.default,isCompatTag:mDt.default,buildChildren:yDt.default};Qe.toSequenceExpression=w1e().default});var rx=E(ub=>{"use strict";Object.defineProperty(ub,"__esModule",{value:!0});ub.explode=F1e;ub.isExplodedVisitor=L1e;ub.merge=vNt;ub.verify=R1e;var k1e=Yj(),yNt=Nr(),{DEPRECATED_KEYS:P1e,DEPRECATED_ALIASES:_1e,FLIPPED_ALIAS_KEYS:C1e,TYPES:gNt,__internal__deprecationWarning:D1e}=yNt;function bNt(t){return t in k1e}function L1e(t){return t==null?void 0:t._exploded}function F1e(t){if(L1e(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(k0(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}R1e(t),delete t.__esModule,SNt(t),O1e(t);for(let e of Object.keys(t)){if(k0(e)||!bNt(e))continue;let r=t[e];for(let s of Object.keys(r))r[s]=TNt(e,r[s]);delete t[e];let i=k1e[e];if(i!==null)for(let s of i)t[s]?tx(t[s],r):t[s]=r;else tx(t,r)}for(let e of Object.keys(t)){if(k0(e))continue;let r=C1e[e];if(e in P1e){let s=P1e[e];D1e(e,s,"Visitor "),r=[s]}else if(e in _1e){let s=_1e[e];D1e(e,s,"Visitor "),r=C1e[s]}if(!r)continue;let i=t[e];delete t[e];for(let s of r){let n=t[s];n?tx(n,i):t[s]=Object.assign({},i)}}for(let e of Object.keys(t))k0(e)||O1e(t[e]);return t}function R1e(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")&&N1e(e,t[e]),k0(e))continue;if(gNt.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")N1e(`${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 N1e(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 vNt(t,e=[],r){let i={};for(let s=0;s<t.length;s++){let n=F1e(t[s]),a=e[s],o=n;(a||r)&&(o=I1e(o,a,r)),tx(i,o);for(let l of Object.keys(n)){if(k0(l))continue;let u=n[l];(a||r)&&(u=I1e(u,a,r));let c=i[l]||(i[l]={});tx(c,u)}}return i}function I1e(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 SNt(t){for(let e of Object.keys(t)){if(k0(e))continue;let r=t[e];typeof r=="function"&&(t[e]={enter:r})}}function O1e(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function TNt(t,e){let r=function(i){if(i[`is${t}`]())return e.apply(this,arguments)};return r.toString=()=>e.toString(),r}function k0(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function tx(t,e){for(let r of["enter","exit"])e[r]&&(t[r]=[].concat(t[r]||[],e[r]))}});var L0=E(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.clear=xNt;Xo.clearPath=M1e;Xo.clearScope=j1e;Xo.getCachedPaths=ENt;Xo.getOrCreateCachedPaths=wNt;Xo.scope=Xo.path=void 0;var ix=new WeakMap;Xo.path=ix;var B1e=new WeakMap;Xo.scope=B1e;function xNt(){M1e(),j1e()}function M1e(){Xo.path=ix=new WeakMap}function j1e(){Xo.scope=B1e=new WeakMap}var zU=Object.freeze({});function ENt(t,e){var r,i;return t=null,(r=ix.get((i=t)!=null?i:zU))==null?void 0:r.get(e)}function wNt(t,e){var r,i;t=null;let s=ix.get((r=t)!=null?r:zU);s||ix.set((i=t)!=null?i:zU,s=new WeakMap);let n=s.get(e);return n||s.set(e,n=new Map),n}});var q1e=E(JU=>{"use strict";Object.defineProperty(JU,"__esModule",{value:!0});JU.default=CNt;var ANt=Nr(),{cloneNode:HU,exportNamedDeclaration:V1e,exportSpecifier:U1e,identifier:YU,variableDeclaration:PNt,variableDeclarator:_Nt}=ANt;function CNt(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=HU(u)));let p=a?n.node:PNt("var",[_Nt(HU(u),n.node)]),d=V1e(null,[U1e(HU(u),YU("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=>U1e(YU(n),YU(n))),s=V1e(null,i);return t.insertAfter(s),t.replaceWith(e.node),t}});var QU=E(cb=>{"use strict";Object.defineProperty(cb,"__esModule",{value:!0});cb.default=void 0;cb.requeueComputedKeyAndDecorators=XU;cb.skipAllButComputedKey=function(e){e.skip(),e.node.computed&&e.context.maybeQueue(e.get("key"))};function XU(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 DNt={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&XU(t))},Property(t){t.isObjectProperty()||(t.skip(),XU(t))}},NNt=DNt;cb.default=NNt});var $1e=E(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.default=void 0;var INt=q1e(),ONt=Nr(),kNt=QU(),LNt=nC(),FNt=rx(),RNt={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,kNt.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)}},ZU=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(ONt.isDeclaration(i)&&!i.id)return}r.isExportAllDeclaration()||(0,INt.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,LNt.traverseNode)(o,(0,FNt.explode)(RNt),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))}};sC.default=ZU});var K1e=E(aC=>{"use strict";Object.defineProperty(aC,"__esModule",{value:!0});aC.default=void 0;var eq=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")&&BNt(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}};aC.default=eq;function BNt(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 W1e=E((cNr,MNt)=>{MNt.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 z1e=E((pNr,G1e)=>{"use strict";G1e.exports=W1e()});var sq=E(uC=>{"use strict";Object.defineProperty(uC,"__esModule",{value:!0});uC.default=void 0;var jNt=$1e(),VNt=sx(),UNt=K1e(),qNt=z1e(),ige=Nr(),H1e=ige,Y1e=L0(),$Nt=rx(),{NOT_LOCAL_BINDING:J1e,callExpression:X1e,cloneNode:Q1e,getBindingIdentifiers:KNt,identifier:pb,isArrayExpression:Z1e,isBinary:WNt,isClass:GNt,isClassBody:zNt,isClassDeclaration:HNt,isExportAllDeclaration:sge,isExportDefaultDeclaration:YNt,isExportNamedDeclaration:tq,isFunctionDeclaration:JNt,isIdentifier:oC,isImportDeclaration:rq,isLiteral:XNt,isMethod:QNt,isModuleSpecifier:ZNt,isNullLiteral:eIt,isObjectExpression:tIt,isProperty:rIt,isPureish:iIt,isRegExpLiteral:sIt,isSuper:nIt,isTaggedTemplateExpression:aIt,isTemplateLiteral:nge,isThisExpression:ege,isUnaryExpression:oIt,isVariableDeclaration:lIt,matchesPattern:uIt,memberExpression:iq,numericLiteral:tge,toIdentifier:cIt,unaryExpression:pIt,variableDeclaration:fIt,variableDeclarator:dIt,isRecordExpression:hIt,isTupleExpression:mIt,isObjectProperty:yIt,isTopicReference:rge,isMetaProperty:gIt,isPrivateName:bIt,isExportDeclaration:vIt}=ige;function os(t,e){switch(t==null?void 0:t.type){default:if(rq(t)||vIt(t)){var r;if((sge(t)||tq(t)||rq(t))&&t.source)os(t.source,e);else if((tq(t)||rq(t))&&(r=t.specifiers)!=null&&r.length)for(let i of t.specifiers)os(i,e);else(YNt(t)||tq(t))&&t.declaration&&os(t.declaration,e)}else ZNt(t)?os(t.local,e):XNt(t)&&!eIt(t)&&!sIt(t)&&!nge(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":os(t.object,e),os(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":os(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let i of t.properties)os(i,e);break;case"SpreadElement":case"RestElement":os(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":os(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"),os(t.argument,e);break;case"AwaitExpression":e.push("await"),os(t.argument,e);break;case"AssignmentExpression":os(t.left,e);break;case"VariableDeclarator":os(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":os(t.id,e);break;case"PrivateName":os(t.id,e);break;case"ParenthesizedExpression":os(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":os(t.argument,e);break;case"MetaProperty":os(t.meta,e),os(t.property,e);break;case"JSXElement":os(t.openingElement,e);break;case"JSXOpeningElement":os(t.name,e);break;case"JSXFragment":os(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":os(t.namespace,e),os(t.name,e);break}}var lC={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(sge(e))return;let i=e.declaration;if(HNt(i)||JNt(i)){let s=i.id;if(!s)return;let n=r.getBinding(s.name);n==null||n.reference(t)}else if(lIt(i))for(let s of i.declarations)for(let n of Object.keys(KNt(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[J1e]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.has("id")&&!t.get("id").node[J1e]&&t.scope.registerBinding("local",t)}},SIt=0,th=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=Y1e.scope.get(r);if((i==null?void 0:i.path)===e)return i;Y1e.scope.set(r,this),this.uid=SIt++,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,VNt.default)(e,r,this,i,this.path)}generateDeclaredUidIdentifier(e){let r=this.generateUidIdentifier(e);return this.push({id:r}),Q1e(r)}generateUidIdentifier(e){return pb(this.generateUid(e))}generateUid(e="temp"){e=cIt(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=[];os(e,i);let s=i.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,r){return pb(this.generateUidBasedOnNode(e,r))}isStatic(e){if(ege(e)||nIt(e)||rge(e))return!0;if(oC(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}),Q1e(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 jNt.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(oC(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(Z1e(e))return e;if(oC(e,{name:"arguments"}))return X1e(iq(iq(iq(pb("Array"),pb("prototype")),pb("slice")),pb("call")),[e]);let s,n=[e];return r===!0?s="toConsumableArray":typeof r=="number"?(n.push(tge(r)),s="slicedToArray"):s="toArray",i&&(n.unshift(this.hub.addHelper(s)),s="maybeArrayLike"),X1e(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 pIt("void",tge(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 UNt.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(oC(e)){let a=this.getBinding(e.name);return a?r?a.constant:!0:!1}else{if(ege(e)||gIt(e)||rge(e)||bIt(e))return!0;if(GNt(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(zNt(e)){for(let a of e.body)if(!this.isPure(a,r))return!1;return!0}else{if(WNt(e))return this.isPure(e.left,r)&&this.isPure(e.right,r);if(Z1e(e)||mIt(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(tIt(e)||hIt(e)){for(let a of e.properties)if(!this.isPure(a,r))return!1;return!0}else if(QNt(e)){var s;return!(e.computed&&!this.isPure(e.key,r)||((s=e.decorators)==null?void 0:s.length)>0)}else if(rIt(e)){var n;return!(e.computed&&!this.isPure(e.key,r)||((n=e.decorators)==null?void 0:n.length)>0||(yIt(e)||e.static)&&e.value!==null&&!this.isPure(e.value,r))}else{if(oIt(e))return this.isPure(e.argument,r);if(aIt(e))return uIt(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,r);if(nge(e)){for(let a of e.expressions)if(!this.isPure(a,r))return!1;return!0}else return iIt(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,$Nt.isExplodedVisitor)(lC)){for(let n of lC.enter)n.call(i,e,i);let s=lC[e.type];if(s)for(let n of s.enter)n.call(i,e,i)}e.traverse(lC,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&&H1e.isCallExpression(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&H1e.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=fIt(n,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=dIt(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)&&th.globals.includes(e)||!((n=r)!=null&&n.noGlobals)&&th.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)}};uC.default=th;th.globals=Object.keys(qNt.builtin);th.contextVariables=["arguments","undefined","Infinity","NaN"]});var oge=E((cC,age)=>{(function(t,e){typeof cC=="object"&&typeof age<"u"?e(cC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.setArray={}))})(cC,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 nq=E((pC,lge)=>{(function(t,e){typeof pC=="object"&&typeof lge<"u"?e(pC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(pC,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=[],S=0;do{let x=l(m,S),v=[],w=!0,A=0;g[0]=0;for(let C=S;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),S=x+1}while(S<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,S){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[S]+=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,S=b-36,x=new Uint8Array(b),v=x.subarray(0,S),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>S&&(A+=a.decode(v),x.copyWithin(0,S,w),w-=S),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,S,x){let v=S[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((fC,uge)=>{(function(t,e){typeof fC=="object"&&typeof uge<"u"?e(fC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(fC,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=[],S=0;do{let x=l(m,S),v=[],w=!0,A=0;g[0]=0;for(let C=S;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),S=x+1}while(S<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,S){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[S]+=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,S=b-36,x=new Uint8Array(b),v=x.subarray(0,S),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>S&&(A+=a.decode(v),x.copyWithin(0,S,w),w-=S),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,S,x){let v=S[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 lq=E((aq,oq)=>{(function(t,e){typeof aq=="object"&&typeof oq<"u"?oq.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(aq,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 S=e.exec(b);return p(S[1],S[2]||"",S[3],S[4]||"",S[5]||"/",S[6]||"",S[7]||"")}function c(b){let S=r.exec(b),x=S[2];return p("file:","",S[1]||"","",a(x)?x:"/"+x,S[3]||"",S[4]||"")}function p(b,S,x,v,w,A,C){return{scheme:b,user:S,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 S=u("http://foo.com/"+b);return S.scheme="",S.host="",S.type=b?b.startsWith("?")?i.Query:b.startsWith("#")?i.Hash:i.RelativePath:i.Empty,S}function f(b){if(b.endsWith("/.."))return b;let S=b.lastIndexOf("/");return b.slice(0,S+1)}function h(b,S){m(S,S.type),b.path==="/"?b.path=S.path:b.path=f(S.path)+b.path}function m(b,S){let x=S<=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,S){if(!b&&!S)return"";let x=d(b),v=x.type;if(S&&v!==i.Absolute){let A=d(S),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(S||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 fge=E((dC,pge)=>{(function(t,e){typeof dC=="object"&&typeof pge<"u"?e(dC,cge(),lq()):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))})(dC,function(t,e,r){"use strict";function i(ye){return ye&&typeof ye=="object"&&"default"in ye?ye:{default:ye}}var s=i(r);function n(ye,pe){return pe&&!pe.endsWith("/")&&(pe+="/"),s.default(ye,pe)}function a(ye){if(!ye)return"";let pe=ye.lastIndexOf("/");return ye.slice(0,pe+1)}let o=0,l=1,u=2,c=3,p=4,d=1,f=2;function h(ye,pe){let le=m(ye,0);if(le===ye.length)return ye;pe||(ye=ye.slice());for(let Be=le;Be<ye.length;Be=m(ye,Be+1))ye[Be]=b(ye[Be],pe);return ye}function m(ye,pe){for(let le=pe;le<ye.length;le++)if(!g(ye[le]))return le;return ye.length}function g(ye){for(let pe=1;pe<ye.length;pe++)if(ye[pe][o]<ye[pe-1][o])return!1;return!0}function b(ye,pe){return pe||(ye=ye.slice()),ye.sort(S)}function S(ye,pe){return ye[o]-pe[o]}let x=!1;function v(ye,pe,le,Be){for(;le<=Be;){let ve=le+(Be-le>>1),De=ye[ve][o]-pe;if(De===0)return x=!0,ve;De<0?le=ve+1:Be=ve-1}return x=!1,le-1}function w(ye,pe,le){for(let Be=le+1;Be<ye.length&&ye[Be][o]===pe;le=Be++);return le}function A(ye,pe,le){for(let Be=le-1;Be>=0&&ye[Be][o]===pe;le=Be--);return le}function C(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function K(ye,pe,le,Be){let{lastKey:ve,lastNeedle:De,lastIndex:st}=le,Lt=0,mt=ye.length-1;if(Be===ve){if(pe===De)return x=st!==-1&&ye[st][o]===pe,st;pe>=De?Lt=st===-1?0:st:mt=st}return le.lastKey=Be,le.lastNeedle=pe,le.lastIndex=v(ye,pe,Lt,mt)}function F(ye,pe){let le=pe.map(X);for(let Be=0;Be<ye.length;Be++){let ve=ye[Be];for(let De=0;De<ve.length;De++){let st=ve[De];if(st.length===1)continue;let Lt=st[l],mt=st[u],er=st[c],Er=le[Lt],Cr=Er[mt]||(Er[mt]=[]),mi=pe[Lt],ls=w(Cr,er,K(Cr,er,mi,mt));Q(Cr,mi.lastIndex=ls+1,[er,Be,st[o]])}}return le}function Q(ye,pe,le){for(let Be=ye.length;Be>pe;Be--)ye[Be]=ye[Be-1];ye[pe]=le}function X(){return{__proto__:null}}let xe=function(ye,pe){let le=typeof ye=="string"?JSON.parse(ye):ye;if(!("sections"in le))return new Me(le,pe);let Be=[],ve=[],De=[],st=[];We(le,pe,Be,ve,De,st,0,0,1/0,1/0);let Lt={version:3,file:le.file,names:st,sources:ve,sourcesContent:De,mappings:Be};return t.presortedDecodedMap(Lt)};function We(ye,pe,le,Be,ve,De,st,Lt,mt,er){let{sections:Er}=ye;for(let Cr=0;Cr<Er.length;Cr++){let{map:mi,offset:ls}=Er[Cr],ge=mt,je=er;if(Cr+1<Er.length){let Pe=Er[Cr+1].offset;ge=Math.min(mt,st+Pe.line),ge===mt?je=Math.min(er,Lt+Pe.column):ge<mt&&(je=Lt+Pe.column)}ze(mi,pe,le,Be,ve,De,st+ls.line,Lt+ls.column,ge,je)}}function ze(ye,pe,le,Be,ve,De,st,Lt,mt,er){if("sections"in ye)return We(...arguments);let Er=new Me(ye,pe),Cr=Be.length,mi=De.length,ls=t.decodedMappings(Er),{resolvedSources:ge,sourcesContent:je}=Er;if(ae(Be,ge),ae(De,Er.names),je)ae(ve,je);else for(let Pe=0;Pe<ge.length;Pe++)ve.push(null);for(let Pe=0;Pe<ls.length;Pe++){let He=st+Pe;if(He>mt)return;let yt=ne(le,He),Et=Pe===0?Lt:0,hr=ls[Pe];for(let et=0;et<hr.length;et++){let Wt=hr[et],nt=Et+Wt[o];if(He===mt&&nt>=er)return;if(Wt.length===1){yt.push([nt]);continue}let Xt=Cr+Wt[l],vr=Wt[u],Dr=Wt[c];yt.push(Wt.length===4?[nt,Xt,vr,Dr]:[nt,Xt,vr,Dr,mi+Wt[p]])}}}function ae(ye,pe){for(let le=0;le<pe.length;le++)ye.push(pe[le])}function ne(ye,pe){for(let le=ye.length;le<=pe;le++)ye[le]=[];return ye[pe]}let Ne="`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)",xt=-1,ue=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 Me{constructor(pe,le){let Be=typeof pe=="string";if(!Be&&pe._decodedMemo)return pe;let ve=Be?JSON.parse(pe):pe,{version:De,file:st,names:Lt,sourceRoot:mt,sources:er,sourcesContent:Er}=ve;this.version=De,this.file=st,this.names=Lt,this.sourceRoot=mt,this.sources=er,this.sourcesContent=Er;let Cr=n(mt||"",a(le));this.resolvedSources=er.map(ls=>n(ls||"",Cr));let{mappings:mi}=ve;typeof mi=="string"?(this._encoded=mi,this._decoded=void 0):(this._encoded=void 0,this._decoded=h(mi,Be)),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,Be)=>{let ve=t.decodedMappings(pe);if(le>=ve.length)return null;let De=ve[le],st=Ae(De,pe._decodedMemo,le,Be,ue);return st===-1?null:De[st]},t.originalPositionFor=(pe,{line:le,column:Be,bias:ve})=>{if(le--,le<0)throw new Error(Ne);if(Be<0)throw new Error(Ue);let De=t.decodedMappings(pe);if(le>=De.length)return Te(null,null,null,null);let st=De[le],Lt=Ae(st,pe._decodedMemo,le,Be,ve||ue);if(Lt===-1)return Te(null,null,null,null);let mt=st[Lt];if(mt.length===1)return Te(null,null,null,null);let{names:er,resolvedSources:Er}=pe;return Te(Er[mt[l]],mt[u]+1,mt[c],mt.length===5?er[mt[p]]:null)},t.allGeneratedPositionsFor=(pe,{source:le,line:Be,column:ve,bias:De})=>ye(pe,le,Be,ve,De||xt,!0),t.generatedPositionFor=(pe,{source:le,line:Be,column:ve,bias:De})=>ye(pe,le,Be,ve,De||ue,!1),t.eachMapping=(pe,le)=>{let Be=t.decodedMappings(pe),{names:ve,resolvedSources:De}=pe;for(let st=0;st<Be.length;st++){let Lt=Be[st];for(let mt=0;mt<Lt.length;mt++){let er=Lt[mt],Er=st+1,Cr=er[0],mi=null,ls=null,ge=null,je=null;er.length!==1&&(mi=De[er[1]],ls=er[2]+1,ge=er[3]),er.length===5&&(je=ve[er[4]]),le({generatedLine:Er,generatedColumn:Cr,source:mi,originalLine:ls,originalColumn:ge,name:je})}}},t.sourceContentFor=(pe,le)=>{let{sources:Be,resolvedSources:ve,sourcesContent:De}=pe;if(De==null)return null;let st=Be.indexOf(le);return st===-1&&(st=ve.indexOf(le)),st===-1?null:De[st]},t.presortedDecodedMap=(pe,le)=>{let Be=new Me(Z(pe,[]),le);return Be._decoded=pe.mappings,Be},t.decodedMap=pe=>Z(pe,t.decodedMappings(pe)),t.encodedMap=pe=>Z(pe,t.encodedMappings(pe));function ye(pe,le,Be,ve,De,st){if(Be--,Be<0)throw new Error(Ne);if(ve<0)throw new Error(Ue);let{sources:Lt,resolvedSources:mt}=pe,er=Lt.indexOf(le);if(er===-1&&(er=mt.indexOf(le)),er===-1)return st?[]:we(null,null);let Cr=(pe._bySources||(pe._bySources=F(t.decodedMappings(pe),pe._bySourceMemos=Lt.map(C))))[er][Be];if(Cr==null)return st?[]:we(null,null);let mi=pe._bySourceMemos[er];if(st)return Ve(Cr,mi,Be,ve,De);let ls=Ae(Cr,mi,Be,ve,De);if(ls===-1)return we(null,null);let ge=Cr[ls];return we(ge[d]+1,ge[f])}})();function Z(ye,pe){return{version:ye.version,file:ye.file,names:ye.names,sourceRoot:ye.sourceRoot,sources:ye.sources,sourcesContent:ye.sourcesContent,mappings:pe}}function Te(ye,pe,le,Be){return{source:ye,line:pe,column:le,name:Be}}function we(ye,pe){return{line:ye,column:pe}}function Ae(ye,pe,le,Be,ve){let De=K(ye,Be,pe,le);return x?De=(ve===xt?w:A)(ye,Be,De):ve===xt&&De++,De===-1||De===ye.length?-1:De}function Ve(ye,pe,le,Be,ve){let De=Ae(ye,pe,le,Be,ue);if(!x&&ve===xt&&De++,De===-1||De===ye.length)return[];let st=x?Be:ye[De][o];x||(De=A(ye,st,De));let Lt=w(ye,st,De),mt=[];for(;De<=Lt;De++){let er=ye[De];mt.push(we(er[d]+1,er[f]))}return mt}t.AnyMap=xe,t.GREATEST_LOWER_BOUND=ue,t.LEAST_UPPER_BOUND=xt,t.TraceMap=Me,Object.defineProperty(t,"__esModule",{value:!0})})});var hge=E((hC,dge)=>{(function(t,e){typeof hC=="object"&&typeof dge<"u"?e(hC,oge(),nq(),fge()):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))})(hC,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 xe=Q[X],We={line:F+1,column:xe[0]},ze,ae,ne;xe.length!==1&&(ze=C.array[xe[1]],ae={line:xe[2]+1,column:xe[3]},xe.length===5&&(ne=K.array[xe[4]])),w.push({generated:We,source:ze,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,xe)=>{let{_mappings:We,_sources:ze,_sourcesContent:ae,_names:ne}=w,Ne=d(We,A),Ue=f(Ne,C);if(!K)return v&&b(Ne,Ue)?void 0:h(Ne,Ue,[C]);let xt=e.put(ze,K),ue=X?e.put(ne,X):-1;if(xt===ae.length&&(ae[xt]=xe!=null?xe:null),!(v&&S(Ne,Ue,xt,F,Q,ue)))return h(Ne,Ue,X?[C,xt,F,Q,ue]:[C,xt,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 S(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 xe=K;return c(v,w,C.line-1,C.column,xe,F.line-1,F.column,Q,X)}t.GenMapping=p,Object.defineProperty(t,"__esModule",{value:!0})})});var yge=E((mC,mge)=>{(function(t,e){typeof mC=="object"&&typeof mge<"u"?e(mC,nq(),lq()):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))})(mC,function(t,e,r){"use strict";function i(ge,je){return je&&!je.endsWith("/")&&(je+="/"),r(ge,je)}function s(ge){if(!ge)return"";let je=ge.lastIndexOf("/");return ge.slice(0,je+1)}let n=0,a=1,o=2,l=3,u=4,c=1,p=2;function d(ge,je){let Pe=f(ge,0);if(Pe===ge.length)return ge;je||(ge=ge.slice());for(let He=Pe;He<ge.length;He=f(ge,He+1))ge[He]=m(ge[He],je);return ge}function f(ge,je){for(let Pe=je;Pe<ge.length;Pe++)if(!h(ge[Pe]))return Pe;return ge.length}function h(ge){for(let je=1;je<ge.length;je++)if(ge[je][n]<ge[je-1][n])return!1;return!0}function m(ge,je){return je||(ge=ge.slice()),ge.sort(g)}function g(ge,je){return ge[n]-je[n]}let b=!1;function S(ge,je,Pe,He){for(;Pe<=He;){let yt=Pe+(He-Pe>>1),Et=ge[yt][n]-je;if(Et===0)return b=!0,yt;Et<0?Pe=yt+1:He=yt-1}return b=!1,Pe-1}function x(ge,je,Pe){for(let He=Pe+1;He<ge.length&&ge[He][n]===je;Pe=He++);return Pe}function v(ge,je,Pe){for(let He=Pe-1;He>=0&&ge[He][n]===je;Pe=He--);return Pe}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function A(ge,je,Pe,He){let{lastKey:yt,lastNeedle:Et,lastIndex:hr}=Pe,et=0,Wt=ge.length-1;if(He===yt){if(je===Et)return b=hr!==-1&&ge[hr][n]===je,hr;je>=Et?et=hr===-1?0:hr:Wt=hr}return Pe.lastKey=He,Pe.lastNeedle=je,Pe.lastIndex=S(ge,je,et,Wt)}function C(ge,je){let Pe=je.map(F);for(let He=0;He<ge.length;He++){let yt=ge[He];for(let Et=0;Et<yt.length;Et++){let hr=yt[Et];if(hr.length===1)continue;let et=hr[a],Wt=hr[o],nt=hr[l],Xt=Pe[et],vr=Xt[Wt]||(Xt[Wt]=[]),Dr=je[et],ys=x(vr,nt,A(vr,nt,Dr,Wt));Dr.lastIndex=++ys,K(vr,ys,[nt,He,hr[n]])}}return Pe}function K(ge,je,Pe){for(let He=ge.length;He>je;He--)ge[He]=ge[He-1];ge[je]=Pe}function F(){return{__proto__:null}}let Q=function(ge,je){let Pe=X(ge);if(!("sections"in Pe))return new ue(Pe,je);let He=[],yt=[],Et=[],hr=[],et=[];xe(Pe,je,He,yt,Et,hr,et,0,0,1/0,1/0);let Wt={version:3,file:Pe.file,names:hr,sources:yt,sourcesContent:Et,mappings:He,ignoreList:et};return De(Wt)};function X(ge){return typeof ge=="string"?JSON.parse(ge):ge}function xe(ge,je,Pe,He,yt,Et,hr,et,Wt,nt,Xt){let{sections:vr}=ge;for(let Dr=0;Dr<vr.length;Dr++){let{map:ys,offset:ao}=vr[Dr],oo=nt,pn=Xt;if(Dr+1<vr.length){let Js=vr[Dr+1].offset;oo=Math.min(nt,et+Js.line),oo===nt?pn=Math.min(Xt,Wt+Js.column):oo<nt&&(pn=Wt+Js.column)}We(ys,je,Pe,He,yt,Et,hr,et+ao.line,Wt+ao.column,oo,pn)}}function We(ge,je,Pe,He,yt,Et,hr,et,Wt,nt,Xt){let vr=X(ge);if("sections"in vr)return xe(...arguments);let Dr=new ue(vr,je),ys=He.length,ao=Et.length,oo=Te(Dr),{resolvedSources:pn,sourcesContent:Js,ignoreList:Ni}=Dr;if(ze(He,pn),ze(Et,Dr.names),Js)ze(yt,Js);else for(let he=0;he<pn.length;he++)yt.push(null);if(Ni)for(let he=0;he<Ni.length;he++)hr.push(Ni[he]+ys);for(let he=0;he<oo.length;he++){let oe=et+he;if(oe>nt)return;let Ye=ae(Pe,oe),mr=he===0?Wt:0,Xs=oo[he];for(let na=0;na<Xs.length;na++){let su=Xs[na],ec=mr+su[n];if(oe===nt&&ec>=Xt)return;if(su.length===1){Ye.push([ec]);continue}let ed=ys+su[a],Qv=su[o],Zv=su[l];Ye.push(su.length===4?[ec,ed,Qv,Zv]:[ec,ed,Qv,Zv,ao+su[u]])}}}function ze(ge,je){for(let Pe=0;Pe<je.length;Pe++)ge.push(je[Pe])}function ae(ge,je){for(let Pe=ge.length;Pe<=je;Pe++)ge[Pe]=[];return ge[je]}let ne="`line` must be greater than 0 (lines start at line 1)",Ne="`column` must be greater than or equal to 0 (columns start at column 0)",Ue=-1,xt=1;class ue{constructor(je,Pe){let He=typeof je=="string";if(!He&&je._decodedMemo)return je;let yt=He?JSON.parse(je):je,{version:Et,file:hr,names:et,sourceRoot:Wt,sources:nt,sourcesContent:Xt}=yt;this.version=Et,this.file=hr,this.names=et||[],this.sourceRoot=Wt,this.sources=nt,this.sourcesContent=Xt,this.ignoreList=yt.ignoreList||yt.x_google_ignoreList||void 0;let vr=i(Wt||"",s(Pe));this.resolvedSources=nt.map(ys=>i(ys||"",vr));let{mappings:Dr}=yt;typeof Dr=="string"?(this._encoded=Dr,this._decoded=void 0):(this._encoded=void 0,this._decoded=d(Dr,He)),this._decodedMemo=w(),this._bySources=void 0,this._bySourceMemos=void 0}}function Me(ge){return ge}function Z(ge){var je,Pe;return(je=(Pe=ge)._encoded)!==null&&je!==void 0?je:Pe._encoded=e.encode(ge._decoded)}function Te(ge){var je;return(je=ge)._decoded||(je._decoded=e.decode(ge._encoded))}function we(ge,je,Pe){let He=Te(ge);if(je>=He.length)return null;let yt=He[je],Et=Cr(yt,ge._decodedMemo,je,Pe,xt);return Et===-1?null:yt[Et]}function Ae(ge,je){let{line:Pe,column:He,bias:yt}=je;if(Pe--,Pe<0)throw new Error(ne);if(He<0)throw new Error(Ne);let Et=Te(ge);if(Pe>=Et.length)return er(null,null,null,null);let hr=Et[Pe],et=Cr(hr,ge._decodedMemo,Pe,He,yt||xt);if(et===-1)return er(null,null,null,null);let Wt=hr[et];if(Wt.length===1)return er(null,null,null,null);let{names:nt,resolvedSources:Xt}=ge;return er(Xt[Wt[a]],Wt[o]+1,Wt[l],Wt.length===5?nt[Wt[u]]:null)}function Ve(ge,je){let{source:Pe,line:He,column:yt,bias:Et}=je;return ls(ge,Pe,He,yt,Et||xt,!1)}function ye(ge,je){let{source:Pe,line:He,column:yt,bias:Et}=je;return ls(ge,Pe,He,yt,Et||Ue,!0)}function pe(ge,je){let Pe=Te(ge),{names:He,resolvedSources:yt}=ge;for(let Et=0;Et<Pe.length;Et++){let hr=Pe[Et];for(let et=0;et<hr.length;et++){let Wt=hr[et],nt=Et+1,Xt=Wt[0],vr=null,Dr=null,ys=null,ao=null;Wt.length!==1&&(vr=yt[Wt[1]],Dr=Wt[2]+1,ys=Wt[3]),Wt.length===5&&(ao=He[Wt[4]]),je({generatedLine:nt,generatedColumn:Xt,source:vr,originalLine:Dr,originalColumn:ys,name:ao})}}}function le(ge,je){let{sources:Pe,resolvedSources:He}=ge,yt=Pe.indexOf(je);return yt===-1&&(yt=He.indexOf(je)),yt}function Be(ge,je){let{sourcesContent:Pe}=ge;if(Pe==null)return null;let He=le(ge,je);return He===-1?null:Pe[He]}function ve(ge,je){let{ignoreList:Pe}=ge;if(Pe==null)return!1;let He=le(ge,je);return He===-1?!1:Pe.includes(He)}function De(ge,je){let Pe=new ue(mt(ge,[]),je);return Pe._decoded=ge.mappings,Pe}function st(ge){return mt(ge,Te(ge))}function Lt(ge){return mt(ge,Z(ge))}function mt(ge,je){return{version:ge.version,file:ge.file,names:ge.names,sourceRoot:ge.sourceRoot,sources:ge.sources,sourcesContent:ge.sourcesContent,mappings:je,ignoreList:ge.ignoreList||ge.x_google_ignoreList}}function er(ge,je,Pe,He){return{source:ge,line:je,column:Pe,name:He}}function Er(ge,je){return{line:ge,column:je}}function Cr(ge,je,Pe,He,yt){let Et=A(ge,He,je,Pe);return b?Et=(yt===Ue?x:v)(ge,He,Et):yt===Ue&&Et++,Et===-1||Et===ge.length?-1:Et}function mi(ge,je,Pe,He,yt){let Et=Cr(ge,je,Pe,He,xt);if(!b&&yt===Ue&&Et++,Et===-1||Et===ge.length)return[];let hr=b?He:ge[Et][n];b||(Et=v(ge,hr,Et));let et=x(ge,hr,Et),Wt=[];for(;Et<=et;Et++){let nt=ge[Et];Wt.push(Er(nt[c]+1,nt[p]))}return Wt}function ls(ge,je,Pe,He,yt,Et){var hr;if(Pe--,Pe<0)throw new Error(ne);if(He<0)throw new Error(Ne);let{sources:et,resolvedSources:Wt}=ge,nt=et.indexOf(je);if(nt===-1&&(nt=Wt.indexOf(je)),nt===-1)return Et?[]:Er(null,null);let vr=((hr=ge)._bySources||(hr._bySources=C(Te(ge),ge._bySourceMemos=et.map(w))))[nt][Pe];if(vr==null)return Et?[]:Er(null,null);let Dr=ge._bySourceMemos[nt];if(Et)return mi(vr,Dr,Pe,He,yt);let ys=Cr(vr,Dr,Pe,He,yt);if(ys===-1)return Er(null,null);let ao=vr[ys];return Er(ao[c]+1,ao[p])}t.AnyMap=Q,t.GREATEST_LOWER_BOUND=xt,t.LEAST_UPPER_BOUND=Ue,t.TraceMap=ue,t.allGeneratedPositionsFor=ye,t.decodedMap=st,t.decodedMappings=Te,t.eachMapping=pe,t.encodedMap=Lt,t.encodedMappings=Z,t.generatedPositionFor=Ve,t.isIgnored=ve,t.originalPositionFor=Ae,t.presortedDecodedMap=De,t.sourceContentFor=Be,t.traceSegment=we})});var gge=E(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.default=void 0;var rh=hge(),uq=yge(),cq=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 rh.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 uq.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var n;(0,rh.setSourceContent)(s,a[o],(n=this._inputMap.sourcesContent)==null?void 0:n[o])}}if(typeof r=="string"&&!e.inputSourceMap)(0,rh.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,rh.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,rh.toEncodedMap)(this._map)}getDecoded(){return(0,rh.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,rh.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,uq.originalPositionFor)(this._inputMap,{line:r,column:i}),!l.name&&n){let u=(0,uq.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,rh.maybeAddMapping)(this._map,{name:s,generated:e,source:(o=l)==null?void 0:o.source,original:l})}};yC.default=cq});var bge=E(gC=>{"use strict";Object.defineProperty(gC,"__esModule",{value:!0});gC.default=void 0;var pq=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}`)})}}});Xe("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")}}});Xe("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,D.assertNodeType)("Expression")}}});Xe("Import",{aliases:["Expression"]});Xe("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,D.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Xe("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,D.assertNodeType)("Identifier")}}});Xe("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")}}});Xe("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}}});Xe("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},q_(),{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}})});Xe("ClassAccessorProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},q_(),{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}})});Xe("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}}});Xe("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},mV(),D0(),{kind:{validate:(0,D.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,D.assertNodeType)("PrivateName")},body:{validate:(0,D.assertNodeType)("BlockStatement")}})});Xe("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,D.assertNodeType)("Identifier")}}});Xe("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 rye=E(()=>{"use strict";var de=tf(),Ot=(0,de.defineAliasedType)("Flow"),gV=t=>{let e=t==="DeclareClass";Ot(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")})})};Ot("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,de.validateType)("FlowType")}});Ot("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("boolean"))}});Ot("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)("Identifier"),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});gV("DeclareClass");Ot("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier"),predicate:(0,de.validateOptionalType)("DeclaredPredicate")}});gV("DeclareInterface");Ot("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"))}});Ot("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Ot("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")}});Ot("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")}});Ot("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,de.validateType)("Identifier")}});Ot("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"))}});Ot("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,de.validateType)("StringLiteral"),exportKind:(0,de.validateOptional)((0,de.assertOneOf)("type","value"))}});Ot("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,de.validateType)("Flow")}});Ot("ExistsTypeAnnotation",{aliases:["FlowType"]});Ot("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")}});Ot("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,de.validateOptionalType)("Identifier"),typeAnnotation:(0,de.validateType)("FlowType"),optional:(0,de.validateOptional)((0,de.assertValueType)("boolean"))}});Ot("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});Ot("InferredPredicate",{aliases:["FlowPredicate"]});Ot("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,de.validateOptionalType)("TypeParameterInstantiation")}});gV("InterfaceDeclaration");Ot("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,de.validateOptional)((0,de.arrayOfType)("InterfaceExtends")),body:(0,de.validateType)("ObjectTypeAnnotation")}});Ot("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Ot("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("number"))}});Ot("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("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"))}});Ot("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"))}});Ot("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,de.validateType)("FlowType"),static:(0,de.validate)((0,de.assertValueType)("boolean"))}});Ot("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")}});Ot("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"))}});Ot("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,de.validateType)("FlowType")}});Ot("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")}});Ot("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,de.validateType)("Identifier"),qualification:(0,de.validateType)(["Identifier","QualifiedTypeIdentifier"])}});Ot("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,de.validate)((0,de.assertValueType)("string"))}});Ot("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,de.validateType)("FlowType")}});Ot("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")}});Ot("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,de.validateType)("FlowType")}});Ot("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,de.validateType)("Expression"),typeAnnotation:(0,de.validateType)("TypeAnnotation")}});Ot("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")}});Ot("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("TypeParameter"))}});Ot("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,de.validate)((0,de.arrayOfType)("FlowType"))}});Ot("Variance",{builder:["kind"],fields:{kind:(0,de.validate)((0,de.assertOneOf)("minus","plus"))}});Ot("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});Ot("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,de.validateType)("Identifier"),body:(0,de.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}});Ot("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"))}});Ot("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"))}});Ot("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"))}});Ot("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,de.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,de.validate)((0,de.assertValueType)("boolean"))}});Ot("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("BooleanLiteral")}});Ot("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("NumericLiteral")}});Ot("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,de.validateType)("Identifier"),init:(0,de.validateType)("StringLiteral")}});Ot("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,de.validateType)("Identifier")}});Ot("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,de.validateType)("FlowType"),indexType:(0,de.validateType)("FlowType")}});Ot("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 iye=E(()=>{"use strict";var Ai=tf(),Wa=(0,Ai.defineAliasedType)("JSX");Wa("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,Ai.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,Ai.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Wa("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,Ai.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Wa("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,Ai.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,Ai.assertNodeType)("JSXClosingElement")},children:{validate:(0,Ai.chain)((0,Ai.assertValueType)("array"),(0,Ai.assertEach)((0,Ai.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}},{selfClosing:{validate:(0,Ai.assertValueType)("boolean"),optional:!0}})});Wa("JSXEmptyExpression",{});Wa("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Ai.assertNodeType)("Expression","JSXEmptyExpression")}}});Wa("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,Ai.assertNodeType)("Expression")}}});Wa("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,Ai.assertValueType)("string")}}});Wa("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,Ai.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,Ai.assertNodeType)("JSXIdentifier")}}});Wa("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,Ai.assertNodeType)("JSXIdentifier")},name:{validate:(0,Ai.assertNodeType)("JSXIdentifier")}}});Wa("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,Ai.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:{validate:(0,Ai.chain)((0,Ai.assertValueType)("array"),(0,Ai.assertEach)((0,Ai.assertNodeType)("JSXAttribute","JSXSpreadAttribute")))},typeParameters:{validate:(0,Ai.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Wa("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,Ai.assertNodeType)("Expression")}}});Wa("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,Ai.assertValueType)("string")}}});Wa("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,Ai.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,Ai.assertNodeType)("JSXClosingFragment")},children:{validate:(0,Ai.chain)((0,Ai.assertValueType)("array"),(0,Ai.assertEach)((0,Ai.assertNodeType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")))}}});Wa("JSXOpeningFragment",{aliases:["Immutable"]});Wa("JSXClosingFragment",{aliases:["Immutable"]})});var SV=E(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.PLACEHOLDERS_FLIPPED_ALIAS=Xd.PLACEHOLDERS_ALIAS=Xd.PLACEHOLDERS=void 0;var zxt=tf(),Hxt=Xd.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],vV=Xd.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let t of Hxt){let e=zxt.ALIAS_KEYS[t];e!=null&&e.length&&(vV[t]=e)}var bV=Xd.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(vV).forEach(t=>{vV[t].forEach(e=>{Object.hasOwnProperty.call(bV,e)||(bV[e]=[]),bV[e].push(t)})})});var sye=E(()=>{"use strict";var $_=tf(),Yxt=SV(),TV=(0,$_.defineAliasedType)("Miscellaneous");TV("Noop",{visitor:[]});TV("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,$_.assertNodeType)("Identifier")},expectedNode:{validate:(0,$_.assertOneOf)(...Yxt.PLACEHOLDERS)}}});TV("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,$_.assertValueType)("string")}}})});var nye=E(()=>{"use strict";var di=tf();(0,di.default)("ArgumentPlaceholder",{});(0,di.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,di.assertNodeType)("Expression")},callee:{validate:(0,di.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,di.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,di.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,di.assertNodeType)("StringLiteral")}}});(0,di.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,di.assertNodeType)("Expression")}}});(0,di.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,di.assertNodeType)("BlockStatement")},async:{validate:(0,di.assertValueType)("boolean"),default:!1}}});(0,di.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,di.assertNodeType)("Identifier")}}});(0,di.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,di.chain)((0,di.assertValueType)("array"),(0,di.assertEach)((0,di.assertNodeType)("ObjectProperty","SpreadElement")))}}});(0,di.default)("TupleExpression",{fields:{elements:{validate:(0,di.chain)((0,di.assertValueType)("array"),(0,di.assertEach)((0,di.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,di.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,di.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,di.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,di.assertNodeType)("Program")}},aliases:["Expression"]});(0,di.default)("TopicReference",{aliases:["Expression"]});(0,di.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,di.assertNodeType)("Expression")}},aliases:["Expression"]});(0,di.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,di.assertNodeType)("Expression")}},aliases:["Expression"]});(0,di.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var dye=E(()=>{"use strict";var Fe=tf(),aye=yV(),Jxt=nb(),Jt=(0,Fe.defineAliasedType)("TypeScript"),Do=(0,Fe.assertValueType)("boolean"),oye=()=>({returnType:{validate:(0,Fe.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,Fe.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});Jt("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,Fe.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,Fe.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,Fe.chain)((0,Fe.assertValueType)("array"),(0,Fe.assertEach)((0,Fe.assertNodeType)("Decorator"))),optional:!0}}});Jt("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,aye.functionDeclarationCommon)(),oye())});Jt("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,aye.classMethodOrDeclareMethodCommon)(),oye())});Jt("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,Fe.validateType)("TSEntityName"),right:(0,Fe.validateType)("Identifier")}});var K_=()=>({typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,Fe.validateArrayOfType)(["ArrayPattern","Identifier","ObjectPattern","RestElement"]),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation")}),lye={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:K_()};Jt("TSCallSignatureDeclaration",lye);Jt("TSConstructSignatureDeclaration",lye);var uye=()=>({key:(0,Fe.validateType)("Expression"),computed:{default:!1},optional:(0,Fe.validateOptional)(Do)});Jt("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},uye(),{readonly:(0,Fe.validateOptional)(Do),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,Fe.assertOneOf)("get","set")}})});Jt("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},K_(),uye(),{kind:{validate:(0,Fe.assertOneOf)("method","get","set")}})});Jt("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,Fe.validateOptional)(Do),static:(0,Fe.validateOptional)(Do),parameters:(0,Fe.validateArrayOfType)("Identifier"),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation")}});var Xxt=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let t of Xxt)Jt(t,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});Jt("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var cye={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};Jt("TSFunctionType",Object.assign({},cye,{fields:K_()}));Jt("TSConstructorType",Object.assign({},cye,{fields:Object.assign({},K_(),{abstract:(0,Fe.validateOptional)(Do)})}));Jt("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,Fe.validateType)("TSEntityName"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,Fe.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,Fe.validateOptionalType)("TSTypeAnnotation"),asserts:(0,Fe.validateOptional)(Do)}});Jt("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,Fe.validateType)(["TSEntityName","TSImportType"]),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,Fe.validateArrayOfType)("TSTypeElement")}});Jt("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,Fe.validateType)("TSType")}});Jt("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,Fe.validateArrayOfType)(["TSType","TSNamedTupleMember"])}});Jt("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,Fe.validateType)("Identifier"),optional:{validate:Do,default:!1},elementType:(0,Fe.validateType)("TSType")}});var pye={aliases:["TSType"],visitor:["types"],fields:{types:(0,Fe.validateArrayOfType)("TSType")}};Jt("TSUnionType",pye);Jt("TSIntersectionType",pye);Jt("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,Fe.validateType)("TSType"),extendsType:(0,Fe.validateType)("TSType"),trueType:(0,Fe.validateType)("TSType"),falseType:(0,Fe.validateType)("TSType")}});Jt("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,Fe.validateType)("TSTypeParameter")}});Jt("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,Fe.validate)((0,Fe.assertValueType)("string")),typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,Fe.validateType)("TSType"),indexType:(0,Fe.validateType)("TSType")}});Jt("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,Fe.validateOptional)((0,Fe.assertOneOf)(!0,!1,"+","-")),typeParameter:(0,Fe.validateType)("TSTypeParameter"),optional:(0,Fe.validateOptional)((0,Fe.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,Fe.validateOptionalType)("TSType"),nameType:(0,Fe.validateOptionalType)("TSType")}});Jt("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,Fe.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,Fe.assertOneOf)("-"),r=(0,Fe.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function i(s,n,a){(0,Jxt.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}()}}});Jt("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,Fe.validateType)("TSEntityName"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)("Identifier"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,Fe.validateOptional)((0,Fe.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,Fe.validateType)("TSInterfaceBody")}});Jt("TSInterfaceBody",{visitor:["body"],fields:{body:(0,Fe.validateArrayOfType)("TSTypeElement")}});Jt("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)("Identifier"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,Fe.validateType)("TSType")}});Jt("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,Fe.validateType)("Expression"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});var fye={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,Fe.validateType)("Expression"),typeAnnotation:(0,Fe.validateType)("TSType")}};Jt("TSAsExpression",fye);Jt("TSSatisfiesExpression",fye);Jt("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,Fe.validateType)("TSType"),expression:(0,Fe.validateType)("Expression")}});Jt("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,Fe.validateOptional)(Do),const:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)("Identifier"),members:(0,Fe.validateArrayOfType)("TSEnumMember"),initializer:(0,Fe.validateOptionalType)("Expression")}});Jt("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,Fe.validateType)(["Identifier","StringLiteral"]),initializer:(0,Fe.validateOptionalType)("Expression")}});Jt("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,Fe.validateOptional)(Do),global:(0,Fe.validateOptional)(Do),id:(0,Fe.validateType)(["Identifier","StringLiteral"]),body:(0,Fe.validateType)(["TSModuleBlock","TSModuleDeclaration"])}});Jt("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,Fe.validateArrayOfType)("Statement")}});Jt("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,Fe.validateType)("StringLiteral"),qualifier:(0,Fe.validateOptionalType)("TSEntityName"),typeParameters:(0,Fe.validateOptionalType)("TSTypeParameterInstantiation")}});Jt("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,Fe.validate)(Do),id:(0,Fe.validateType)("Identifier"),moduleReference:(0,Fe.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,Fe.assertOneOf)("type","value"),optional:!0}}});Jt("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,Fe.validateType)("StringLiteral")}});Jt("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,Fe.validateType)("Expression")}});Jt("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,Fe.validateType)("Expression")}});Jt("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,Fe.validateType)("Identifier")}});Jt("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,Fe.assertNodeType)("TSType")}}});Jt("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,Fe.chain)((0,Fe.assertValueType)("array"),(0,Fe.assertEach)((0,Fe.assertNodeType)("TSType")))}}});Jt("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,Fe.chain)((0,Fe.assertValueType)("array"),(0,Fe.assertEach)((0,Fe.assertNodeType)("TSTypeParameter")))}}});Jt("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,Fe.assertValueType)("string")},in:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},out:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},const:{validate:(0,Fe.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,Fe.assertNodeType)("TSType"),optional:!0},default:{validate:(0,Fe.assertNodeType)("TSType"),optional:!0}}})});var hye=E(W_=>{"use strict";Object.defineProperty(W_,"__esModule",{value:!0});W_.DEPRECATED_ALIASES=void 0;var z5r=W_.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var Ul=E(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Object.defineProperty(Ga,"ALIAS_KEYS",{enumerable:!0,get:function(){return Wn.ALIAS_KEYS}});Object.defineProperty(Ga,"BUILDER_KEYS",{enumerable:!0,get:function(){return Wn.BUILDER_KEYS}});Object.defineProperty(Ga,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return xV.DEPRECATED_ALIASES}});Object.defineProperty(Ga,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Wn.DEPRECATED_KEYS}});Object.defineProperty(Ga,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Wn.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Ga,"NODE_FIELDS",{enumerable:!0,get:function(){return Wn.NODE_FIELDS}});Object.defineProperty(Ga,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Wn.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Ga,"PLACEHOLDERS",{enumerable:!0,get:function(){return HT.PLACEHOLDERS}});Object.defineProperty(Ga,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return HT.PLACEHOLDERS_ALIAS}});Object.defineProperty(Ga,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return HT.PLACEHOLDERS_FLIPPED_ALIAS}});Ga.TYPES=void 0;Object.defineProperty(Ga,"VISITOR_KEYS",{enumerable:!0,get:function(){return Wn.VISITOR_KEYS}});var Qd=sM();yV();rye();iye();sye();nye();dye();var Wn=tf(),HT=SV(),xV=hye();Object.keys(xV.DEPRECATED_ALIASES).forEach(t=>{Wn.FLIPPED_ALIAS_KEYS[t]=Wn.FLIPPED_ALIAS_KEYS[xV.DEPRECATED_ALIASES[t]]});Qd(Wn.VISITOR_KEYS);Qd(Wn.ALIAS_KEYS);Qd(Wn.FLIPPED_ALIAS_KEYS);Qd(Wn.NODE_FIELDS);Qd(Wn.BUILDER_KEYS);Qd(Wn.DEPRECATED_KEYS);Qd(HT.PLACEHOLDERS_ALIAS);Qd(HT.PLACEHOLDERS_FLIPPED_ALIAS);var Y5r=Ga.TYPES=[].concat(Object.keys(Wn.VISITOR_KEYS),Object.keys(Wn.FLIPPED_ALIAS_KEYS),Object.keys(Wn.DEPRECATED_KEYS))});var U_=E(YT=>{"use strict";Object.defineProperty(YT,"__esModule",{value:!0});YT.default=Qxt;YT.validateChild=gye;YT.validateField=yye;var mye=Ul();function Qxt(t,e,r){if(!t)return;let i=mye.NODE_FIELDS[t.type];if(!i)return;let s=i[e];yye(t,e,r,s),gye(t,e,r)}function yye(t,e,r,i){i!=null&&i.validate&&(i.optional&&r==null||i.validate(t,e,r))}function gye(t,e,r){if(r==null)return;let i=mye.NODE_PARENT_VALIDATIONS[r.type];i&&i(t,e,r)}});var bye=E(EV=>{"use strict";Object.defineProperty(EV,"__esModule",{value:!0});EV.default=tEt;var Zxt=U_(),eEt=Nr();function tEt(t){let e=eEt.BUILDER_KEYS[t.type];for(let r of e)(0,Zxt.default)(t,r,t[r]);return t}});var za=E(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});O.anyTypeAnnotation=Owt;O.argumentPlaceholder=o3t;O.arrayExpression=rEt;O.arrayPattern=XEt;O.arrayTypeAnnotation=kwt;O.arrowFunctionExpression=QEt;O.assignmentExpression=iEt;O.assignmentPattern=JEt;O.awaitExpression=Swt;O.bigIntLiteral=xwt;O.binaryExpression=sEt;O.bindExpression=l3t;O.blockStatement=lEt;O.booleanLiteral=CEt;O.booleanLiteralTypeAnnotation=Fwt;O.booleanTypeAnnotation=Lwt;O.breakStatement=uEt;O.callExpression=cEt;O.catchClause=pEt;O.classAccessorProperty=_wt;O.classBody=ZEt;O.classDeclaration=twt;O.classExpression=ewt;O.classImplements=Bwt;O.classMethod=dwt;O.classPrivateMethod=Dwt;O.classPrivateProperty=Cwt;O.classProperty=Pwt;O.conditionalExpression=fEt;O.continueStatement=dEt;O.debuggerStatement=hEt;O.decimalLiteral=m3t;O.declareClass=Mwt;O.declareExportAllDeclaration=zwt;O.declareExportDeclaration=Gwt;O.declareFunction=jwt;O.declareInterface=Vwt;O.declareModule=Uwt;O.declareModuleExports=qwt;O.declareOpaqueType=Kwt;O.declareTypeAlias=$wt;O.declareVariable=Wwt;O.declaredPredicate=Hwt;O.decorator=c3t;O.directive=aEt;O.directiveLiteral=oEt;O.doExpression=p3t;O.doWhileStatement=mEt;O.emptyStatement=yEt;O.emptyTypeAnnotation=nAt;O.enumBooleanBody=kAt;O.enumBooleanMember=BAt;O.enumDeclaration=OAt;O.enumDefaultedMember=VAt;O.enumNumberBody=LAt;O.enumNumberMember=MAt;O.enumStringBody=FAt;O.enumStringMember=jAt;O.enumSymbolBody=RAt;O.existsTypeAnnotation=Ywt;O.exportAllDeclaration=rwt;O.exportDefaultDeclaration=iwt;O.exportDefaultSpecifier=f3t;O.exportNamedDeclaration=swt;O.exportNamespaceSpecifier=Ewt;O.exportSpecifier=nwt;O.expressionStatement=gEt;O.file=bEt;O.forInStatement=vEt;O.forOfStatement=awt;O.forStatement=SEt;O.functionDeclaration=TEt;O.functionExpression=xEt;O.functionTypeAnnotation=Jwt;O.functionTypeParam=Xwt;O.genericTypeAnnotation=Qwt;O.identifier=EEt;O.ifStatement=wEt;O.import=Twt;O.importAttribute=u3t;O.importDeclaration=owt;O.importDefaultSpecifier=lwt;O.importExpression=pwt;O.importNamespaceSpecifier=uwt;O.importSpecifier=cwt;O.indexedAccessType=UAt;O.inferredPredicate=Zwt;O.interfaceDeclaration=tAt;O.interfaceExtends=eAt;O.interfaceTypeAnnotation=rAt;O.interpreterDirective=nEt;O.intersectionTypeAnnotation=iAt;O.jSXAttribute=O.jsxAttribute=$At;O.jSXClosingElement=O.jsxClosingElement=KAt;O.jSXClosingFragment=O.jsxClosingFragment=i3t;O.jSXElement=O.jsxElement=WAt;O.jSXEmptyExpression=O.jsxEmptyExpression=GAt;O.jSXExpressionContainer=O.jsxExpressionContainer=zAt;O.jSXFragment=O.jsxFragment=t3t;O.jSXIdentifier=O.jsxIdentifier=YAt;O.jSXMemberExpression=O.jsxMemberExpression=JAt;O.jSXNamespacedName=O.jsxNamespacedName=XAt;O.jSXOpeningElement=O.jsxOpeningElement=QAt;O.jSXOpeningFragment=O.jsxOpeningFragment=r3t;O.jSXSpreadAttribute=O.jsxSpreadAttribute=ZAt;O.jSXSpreadChild=O.jsxSpreadChild=HAt;O.jSXText=O.jsxText=e3t;O.labeledStatement=AEt;O.logicalExpression=DEt;O.memberExpression=NEt;O.metaProperty=fwt;O.mixedTypeAnnotation=sAt;O.moduleExpression=y3t;O.newExpression=IEt;O.noop=s3t;O.nullLiteral=_Et;O.nullLiteralTypeAnnotation=Rwt;O.nullableTypeAnnotation=aAt;O.numberLiteral=O6t;O.numberLiteralTypeAnnotation=oAt;O.numberTypeAnnotation=lAt;O.numericLiteral=vye;O.objectExpression=kEt;O.objectMethod=LEt;O.objectPattern=hwt;O.objectProperty=FEt;O.objectTypeAnnotation=uAt;O.objectTypeCallProperty=pAt;O.objectTypeIndexer=fAt;O.objectTypeInternalSlot=cAt;O.objectTypeProperty=dAt;O.objectTypeSpreadProperty=hAt;O.opaqueType=mAt;O.optionalCallExpression=Awt;O.optionalIndexedAccessType=qAt;O.optionalMemberExpression=wwt;O.parenthesizedExpression=MEt;O.pipelineBareFunction=v3t;O.pipelinePrimaryTopicReference=S3t;O.pipelineTopicExpression=b3t;O.placeholder=n3t;O.privateName=Nwt;O.program=OEt;O.qualifiedTypeIdentifier=yAt;O.recordExpression=d3t;O.regExpLiteral=Sye;O.regexLiteral=k6t;O.restElement=Tye;O.restProperty=L6t;O.returnStatement=REt;O.sequenceExpression=BEt;O.spreadElement=xye;O.spreadProperty=F6t;O.staticBlock=Iwt;O.stringLiteral=PEt;O.stringLiteralTypeAnnotation=gAt;O.stringTypeAnnotation=bAt;O.super=mwt;O.switchCase=jEt;O.switchStatement=VEt;O.symbolTypeAnnotation=vAt;O.taggedTemplateExpression=ywt;O.templateElement=gwt;O.templateLiteral=bwt;O.thisExpression=UEt;O.thisTypeAnnotation=SAt;O.throwStatement=qEt;O.topicReference=g3t;O.tryStatement=$Et;O.tSAnyKeyword=O.tsAnyKeyword=N3t;O.tSArrayType=O.tsArrayType=J3t;O.tSAsExpression=O.tsAsExpression=m6t;O.tSBigIntKeyword=O.tsBigIntKeyword=O3t;O.tSBooleanKeyword=O.tsBooleanKeyword=I3t;O.tSCallSignatureDeclaration=O.tsCallSignatureDeclaration=A3t;O.tSConditionalType=O.tsConditionalType=i6t;O.tSConstructSignatureDeclaration=O.tsConstructSignatureDeclaration=P3t;O.tSConstructorType=O.tsConstructorType=W3t;O.tSDeclareFunction=O.tsDeclareFunction=x3t;O.tSDeclareMethod=O.tsDeclareMethod=E3t;O.tSEnumDeclaration=O.tsEnumDeclaration=b6t;O.tSEnumMember=O.tsEnumMember=v6t;O.tSExportAssignment=O.tsExportAssignment=P6t;O.tSExpressionWithTypeArguments=O.tsExpressionWithTypeArguments=c6t;O.tSExternalModuleReference=O.tsExternalModuleReference=w6t;O.tSFunctionType=O.tsFunctionType=K3t;O.tSImportEqualsDeclaration=O.tsImportEqualsDeclaration=E6t;O.tSImportType=O.tsImportType=x6t;O.tSIndexSignature=O.tsIndexSignature=D3t;O.tSIndexedAccessType=O.tsIndexedAccessType=o6t;O.tSInferType=O.tsInferType=s6t;O.tSInstantiationExpression=O.tsInstantiationExpression=h6t;O.tSInterfaceBody=O.tsInterfaceBody=f6t;O.tSInterfaceDeclaration=O.tsInterfaceDeclaration=p6t;O.tSIntersectionType=O.tsIntersectionType=r6t;O.tSIntrinsicKeyword=O.tsIntrinsicKeyword=k3t;O.tSLiteralType=O.tsLiteralType=u6t;O.tSMappedType=O.tsMappedType=l6t;O.tSMethodSignature=O.tsMethodSignature=C3t;O.tSModuleBlock=O.tsModuleBlock=T6t;O.tSModuleDeclaration=O.tsModuleDeclaration=S6t;O.tSNamedTupleMember=O.tsNamedTupleMember=e6t;O.tSNamespaceExportDeclaration=O.tsNamespaceExportDeclaration=_6t;O.tSNeverKeyword=O.tsNeverKeyword=L3t;O.tSNonNullExpression=O.tsNonNullExpression=A6t;O.tSNullKeyword=O.tsNullKeyword=F3t;O.tSNumberKeyword=O.tsNumberKeyword=R3t;O.tSObjectKeyword=O.tsObjectKeyword=B3t;O.tSOptionalType=O.tsOptionalType=Q3t;O.tSParameterProperty=O.tsParameterProperty=T3t;O.tSParenthesizedType=O.tsParenthesizedType=n6t;O.tSPropertySignature=O.tsPropertySignature=_3t;O.tSQualifiedName=O.tsQualifiedName=w3t;O.tSRestType=O.tsRestType=Z3t;O.tSSatisfiesExpression=O.tsSatisfiesExpression=y6t;O.tSStringKeyword=O.tsStringKeyword=M3t;O.tSSymbolKeyword=O.tsSymbolKeyword=j3t;O.tSThisType=O.tsThisType=$3t;O.tSTupleType=O.tsTupleType=X3t;O.tSTypeAliasDeclaration=O.tsTypeAliasDeclaration=d6t;O.tSTypeAnnotation=O.tsTypeAnnotation=C6t;O.tSTypeAssertion=O.tsTypeAssertion=g6t;O.tSTypeLiteral=O.tsTypeLiteral=Y3t;O.tSTypeOperator=O.tsTypeOperator=a6t;O.tSTypeParameter=O.tsTypeParameter=I6t;O.tSTypeParameterDeclaration=O.tsTypeParameterDeclaration=N6t;O.tSTypeParameterInstantiation=O.tsTypeParameterInstantiation=D6t;O.tSTypePredicate=O.tsTypePredicate=z3t;O.tSTypeQuery=O.tsTypeQuery=H3t;O.tSTypeReference=O.tsTypeReference=G3t;O.tSUndefinedKeyword=O.tsUndefinedKeyword=V3t;O.tSUnionType=O.tsUnionType=t6t;O.tSUnknownKeyword=O.tsUnknownKeyword=U3t;O.tSVoidKeyword=O.tsVoidKeyword=q3t;O.tupleExpression=h3t;O.tupleTypeAnnotation=TAt;O.typeAlias=EAt;O.typeAnnotation=wAt;O.typeCastExpression=AAt;O.typeParameter=PAt;O.typeParameterDeclaration=_At;O.typeParameterInstantiation=CAt;O.typeofTypeAnnotation=xAt;O.unaryExpression=KEt;O.unionTypeAnnotation=DAt;O.updateExpression=WEt;O.v8IntrinsicIdentifier=a3t;O.variableDeclaration=GEt;O.variableDeclarator=zEt;O.variance=NAt;O.voidTypeAnnotation=IAt;O.whileStatement=HEt;O.withStatement=YEt;O.yieldExpression=vwt;var re=bye(),G_=$T();function rEt(t=[]){return(0,re.default)({type:"ArrayExpression",elements:t})}function iEt(t,e,r){return(0,re.default)({type:"AssignmentExpression",operator:t,left:e,right:r})}function sEt(t,e,r){return(0,re.default)({type:"BinaryExpression",operator:t,left:e,right:r})}function nEt(t){return(0,re.default)({type:"InterpreterDirective",value:t})}function aEt(t){return(0,re.default)({type:"Directive",value:t})}function oEt(t){return(0,re.default)({type:"DirectiveLiteral",value:t})}function lEt(t,e=[]){return(0,re.default)({type:"BlockStatement",body:t,directives:e})}function uEt(t=null){return(0,re.default)({type:"BreakStatement",label:t})}function cEt(t,e){return(0,re.default)({type:"CallExpression",callee:t,arguments:e})}function pEt(t=null,e){return(0,re.default)({type:"CatchClause",param:t,body:e})}function fEt(t,e,r){return(0,re.default)({type:"ConditionalExpression",test:t,consequent:e,alternate:r})}function dEt(t=null){return(0,re.default)({type:"ContinueStatement",label:t})}function hEt(){return{type:"DebuggerStatement"}}function mEt(t,e){return(0,re.default)({type:"DoWhileStatement",test:t,body:e})}function yEt(){return{type:"EmptyStatement"}}function gEt(t){return(0,re.default)({type:"ExpressionStatement",expression:t})}function bEt(t,e=null,r=null){return(0,re.default)({type:"File",program:t,comments:e,tokens:r})}function vEt(t,e,r){return(0,re.default)({type:"ForInStatement",left:t,right:e,body:r})}function SEt(t=null,e=null,r=null,i){return(0,re.default)({type:"ForStatement",init:t,test:e,update:r,body:i})}function TEt(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 xEt(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 EEt(t){return(0,re.default)({type:"Identifier",name:t})}function wEt(t,e,r=null){return(0,re.default)({type:"IfStatement",test:t,consequent:e,alternate:r})}function AEt(t,e){return(0,re.default)({type:"LabeledStatement",label:t,body:e})}function PEt(t){return(0,re.default)({type:"StringLiteral",value:t})}function vye(t){return(0,re.default)({type:"NumericLiteral",value:t})}function _Et(){return{type:"NullLiteral"}}function CEt(t){return(0,re.default)({type:"BooleanLiteral",value:t})}function Sye(t,e=""){return(0,re.default)({type:"RegExpLiteral",pattern:t,flags:e})}function DEt(t,e,r){return(0,re.default)({type:"LogicalExpression",operator:t,left:e,right:r})}function NEt(t,e,r=!1,i=null){return(0,re.default)({type:"MemberExpression",object:t,property:e,computed:r,optional:i})}function IEt(t,e){return(0,re.default)({type:"NewExpression",callee:t,arguments:e})}function OEt(t,e=[],r="script",i=null){return(0,re.default)({type:"Program",body:t,directives:e,sourceType:r,interpreter:i})}function kEt(t){return(0,re.default)({type:"ObjectExpression",properties:t})}function LEt(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 FEt(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 Tye(t){return(0,re.default)({type:"RestElement",argument:t})}function REt(t=null){return(0,re.default)({type:"ReturnStatement",argument:t})}function BEt(t){return(0,re.default)({type:"SequenceExpression",expressions:t})}function MEt(t){return(0,re.default)({type:"ParenthesizedExpression",expression:t})}function jEt(t=null,e){return(0,re.default)({type:"SwitchCase",test:t,consequent:e})}function VEt(t,e){return(0,re.default)({type:"SwitchStatement",discriminant:t,cases:e})}function UEt(){return{type:"ThisExpression"}}function qEt(t){return(0,re.default)({type:"ThrowStatement",argument:t})}function $Et(t,e=null,r=null){return(0,re.default)({type:"TryStatement",block:t,handler:e,finalizer:r})}function KEt(t,e,r=!0){return(0,re.default)({type:"UnaryExpression",operator:t,argument:e,prefix:r})}function WEt(t,e,r=!1){return(0,re.default)({type:"UpdateExpression",operator:t,argument:e,prefix:r})}function GEt(t,e){return(0,re.default)({type:"VariableDeclaration",kind:t,declarations:e})}function zEt(t,e=null){return(0,re.default)({type:"VariableDeclarator",id:t,init:e})}function HEt(t,e){return(0,re.default)({type:"WhileStatement",test:t,body:e})}function YEt(t,e){return(0,re.default)({type:"WithStatement",object:t,body:e})}function JEt(t,e){return(0,re.default)({type:"AssignmentPattern",left:t,right:e})}function XEt(t){return(0,re.default)({type:"ArrayPattern",elements:t})}function QEt(t,e,r=!1){return(0,re.default)({type:"ArrowFunctionExpression",params:t,body:e,async:r,expression:null})}function ZEt(t){return(0,re.default)({type:"ClassBody",body:t})}function ewt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassExpression",id:t,superClass:e,body:r,decorators:i})}function twt(t=null,e=null,r,i=null){return(0,re.default)({type:"ClassDeclaration",id:t,superClass:e,body:r,decorators:i})}function rwt(t){return(0,re.default)({type:"ExportAllDeclaration",source:t})}function iwt(t){return(0,re.default)({type:"ExportDefaultDeclaration",declaration:t})}function swt(t=null,e=[],r=null){return(0,re.default)({type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:r})}function nwt(t,e){return(0,re.default)({type:"ExportSpecifier",local:t,exported:e})}function awt(t,e,r,i=!1){return(0,re.default)({type:"ForOfStatement",left:t,right:e,body:r,await:i})}function owt(t,e){return(0,re.default)({type:"ImportDeclaration",specifiers:t,source:e})}function lwt(t){return(0,re.default)({type:"ImportDefaultSpecifier",local:t})}function uwt(t){return(0,re.default)({type:"ImportNamespaceSpecifier",local:t})}function cwt(t,e){return(0,re.default)({type:"ImportSpecifier",local:t,imported:e})}function pwt(t,e=null){return(0,re.default)({type:"ImportExpression",source:t,options:e})}function fwt(t,e){return(0,re.default)({type:"MetaProperty",meta:t,property:e})}function dwt(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 hwt(t){return(0,re.default)({type:"ObjectPattern",properties:t})}function xye(t){return(0,re.default)({type:"SpreadElement",argument:t})}function mwt(){return{type:"Super"}}function ywt(t,e){return(0,re.default)({type:"TaggedTemplateExpression",tag:t,quasi:e})}function gwt(t,e=!1){return(0,re.default)({type:"TemplateElement",value:t,tail:e})}function bwt(t,e){return(0,re.default)({type:"TemplateLiteral",quasis:t,expressions:e})}function vwt(t=null,e=!1){return(0,re.default)({type:"YieldExpression",argument:t,delegate:e})}function Swt(t){return(0,re.default)({type:"AwaitExpression",argument:t})}function Twt(){return{type:"Import"}}function xwt(t){return(0,re.default)({type:"BigIntLiteral",value:t})}function Ewt(t){return(0,re.default)({type:"ExportNamespaceSpecifier",exported:t})}function wwt(t,e,r=!1,i){return(0,re.default)({type:"OptionalMemberExpression",object:t,property:e,computed:r,optional:i})}function Awt(t,e,r){return(0,re.default)({type:"OptionalCallExpression",callee:t,arguments:e,optional:r})}function Pwt(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 _wt(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 Cwt(t,e=null,r=null,i=!1){return(0,re.default)({type:"ClassPrivateProperty",key:t,value:e,decorators:r,static:i})}function Dwt(t="method",e,r,i,s=!1){return(0,re.default)({type:"ClassPrivateMethod",kind:t,key:e,params:r,body:i,static:s})}function Nwt(t){return(0,re.default)({type:"PrivateName",id:t})}function Iwt(t){return(0,re.default)({type:"StaticBlock",body:t})}function Owt(){return{type:"AnyTypeAnnotation"}}function kwt(t){return(0,re.default)({type:"ArrayTypeAnnotation",elementType:t})}function Lwt(){return{type:"BooleanTypeAnnotation"}}function Fwt(t){return(0,re.default)({type:"BooleanLiteralTypeAnnotation",value:t})}function Rwt(){return{type:"NullLiteralTypeAnnotation"}}function Bwt(t,e=null){return(0,re.default)({type:"ClassImplements",id:t,typeParameters:e})}function Mwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareClass",id:t,typeParameters:e,extends:r,body:i})}function jwt(t){return(0,re.default)({type:"DeclareFunction",id:t})}function Vwt(t,e=null,r=null,i){return(0,re.default)({type:"DeclareInterface",id:t,typeParameters:e,extends:r,body:i})}function Uwt(t,e,r=null){return(0,re.default)({type:"DeclareModule",id:t,body:e,kind:r})}function qwt(t){return(0,re.default)({type:"DeclareModuleExports",typeAnnotation:t})}function $wt(t,e=null,r){return(0,re.default)({type:"DeclareTypeAlias",id:t,typeParameters:e,right:r})}function Kwt(t,e=null,r=null){return(0,re.default)({type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:r})}function Wwt(t){return(0,re.default)({type:"DeclareVariable",id:t})}function Gwt(t=null,e=null,r=null){return(0,re.default)({type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:r})}function zwt(t){return(0,re.default)({type:"DeclareExportAllDeclaration",source:t})}function Hwt(t){return(0,re.default)({type:"DeclaredPredicate",value:t})}function Ywt(){return{type:"ExistsTypeAnnotation"}}function Jwt(t=null,e,r=null,i){return(0,re.default)({type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:r,returnType:i})}function Xwt(t=null,e){return(0,re.default)({type:"FunctionTypeParam",name:t,typeAnnotation:e})}function Qwt(t,e=null){return(0,re.default)({type:"GenericTypeAnnotation",id:t,typeParameters:e})}function Zwt(){return{type:"InferredPredicate"}}function eAt(t,e=null){return(0,re.default)({type:"InterfaceExtends",id:t,typeParameters:e})}function tAt(t,e=null,r=null,i){return(0,re.default)({type:"InterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function rAt(t=null,e){return(0,re.default)({type:"InterfaceTypeAnnotation",extends:t,body:e})}function iAt(t){return(0,re.default)({type:"IntersectionTypeAnnotation",types:t})}function sAt(){return{type:"MixedTypeAnnotation"}}function nAt(){return{type:"EmptyTypeAnnotation"}}function aAt(t){return(0,re.default)({type:"NullableTypeAnnotation",typeAnnotation:t})}function oAt(t){return(0,re.default)({type:"NumberLiteralTypeAnnotation",value:t})}function lAt(){return{type:"NumberTypeAnnotation"}}function uAt(t,e=[],r=[],i=[],s=!1){return(0,re.default)({type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:r,internalSlots:i,exact:s})}function cAt(t,e,r,i,s){return(0,re.default)({type:"ObjectTypeInternalSlot",id:t,value:e,optional:r,static:i,method:s})}function pAt(t){return(0,re.default)({type:"ObjectTypeCallProperty",value:t,static:null})}function fAt(t=null,e,r,i=null){return(0,re.default)({type:"ObjectTypeIndexer",id:t,key:e,value:r,variance:i,static:null})}function dAt(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 hAt(t){return(0,re.default)({type:"ObjectTypeSpreadProperty",argument:t})}function mAt(t,e=null,r=null,i){return(0,re.default)({type:"OpaqueType",id:t,typeParameters:e,supertype:r,impltype:i})}function yAt(t,e){return(0,re.default)({type:"QualifiedTypeIdentifier",id:t,qualification:e})}function gAt(t){return(0,re.default)({type:"StringLiteralTypeAnnotation",value:t})}function bAt(){return{type:"StringTypeAnnotation"}}function vAt(){return{type:"SymbolTypeAnnotation"}}function SAt(){return{type:"ThisTypeAnnotation"}}function TAt(t){return(0,re.default)({type:"TupleTypeAnnotation",types:t})}function xAt(t){return(0,re.default)({type:"TypeofTypeAnnotation",argument:t})}function EAt(t,e=null,r){return(0,re.default)({type:"TypeAlias",id:t,typeParameters:e,right:r})}function wAt(t){return(0,re.default)({type:"TypeAnnotation",typeAnnotation:t})}function AAt(t,e){return(0,re.default)({type:"TypeCastExpression",expression:t,typeAnnotation:e})}function PAt(t=null,e=null,r=null){return(0,re.default)({type:"TypeParameter",bound:t,default:e,variance:r,name:null})}function _At(t){return(0,re.default)({type:"TypeParameterDeclaration",params:t})}function CAt(t){return(0,re.default)({type:"TypeParameterInstantiation",params:t})}function DAt(t){return(0,re.default)({type:"UnionTypeAnnotation",types:t})}function NAt(t){return(0,re.default)({type:"Variance",kind:t})}function IAt(){return{type:"VoidTypeAnnotation"}}function OAt(t,e){return(0,re.default)({type:"EnumDeclaration",id:t,body:e})}function kAt(t){return(0,re.default)({type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null})}function LAt(t){return(0,re.default)({type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null})}function FAt(t){return(0,re.default)({type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null})}function RAt(t){return(0,re.default)({type:"EnumSymbolBody",members:t,hasUnknownMembers:null})}function BAt(t){return(0,re.default)({type:"EnumBooleanMember",id:t,init:null})}function MAt(t,e){return(0,re.default)({type:"EnumNumberMember",id:t,init:e})}function jAt(t,e){return(0,re.default)({type:"EnumStringMember",id:t,init:e})}function VAt(t){return(0,re.default)({type:"EnumDefaultedMember",id:t})}function UAt(t,e){return(0,re.default)({type:"IndexedAccessType",objectType:t,indexType:e})}function qAt(t,e){return(0,re.default)({type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null})}function $At(t,e=null){return(0,re.default)({type:"JSXAttribute",name:t,value:e})}function KAt(t){return(0,re.default)({type:"JSXClosingElement",name:t})}function WAt(t,e=null,r,i=null){return(0,re.default)({type:"JSXElement",openingElement:t,closingElement:e,children:r,selfClosing:i})}function GAt(){return{type:"JSXEmptyExpression"}}function zAt(t){return(0,re.default)({type:"JSXExpressionContainer",expression:t})}function HAt(t){return(0,re.default)({type:"JSXSpreadChild",expression:t})}function YAt(t){return(0,re.default)({type:"JSXIdentifier",name:t})}function JAt(t,e){return(0,re.default)({type:"JSXMemberExpression",object:t,property:e})}function XAt(t,e){return(0,re.default)({type:"JSXNamespacedName",namespace:t,name:e})}function QAt(t,e,r=!1){return(0,re.default)({type:"JSXOpeningElement",name:t,attributes:e,selfClosing:r})}function ZAt(t){return(0,re.default)({type:"JSXSpreadAttribute",argument:t})}function e3t(t){return(0,re.default)({type:"JSXText",value:t})}function t3t(t,e,r){return(0,re.default)({type:"JSXFragment",openingFragment:t,closingFragment:e,children:r})}function r3t(){return{type:"JSXOpeningFragment"}}function i3t(){return{type:"JSXClosingFragment"}}function s3t(){return{type:"Noop"}}function n3t(t,e){return(0,re.default)({type:"Placeholder",expectedNode:t,name:e})}function a3t(t){return(0,re.default)({type:"V8IntrinsicIdentifier",name:t})}function o3t(){return{type:"ArgumentPlaceholder"}}function l3t(t,e){return(0,re.default)({type:"BindExpression",object:t,callee:e})}function u3t(t,e){return(0,re.default)({type:"ImportAttribute",key:t,value:e})}function c3t(t){return(0,re.default)({type:"Decorator",expression:t})}function p3t(t,e=!1){return(0,re.default)({type:"DoExpression",body:t,async:e})}function f3t(t){return(0,re.default)({type:"ExportDefaultSpecifier",exported:t})}function d3t(t){return(0,re.default)({type:"RecordExpression",properties:t})}function h3t(t=[]){return(0,re.default)({type:"TupleExpression",elements:t})}function m3t(t){return(0,re.default)({type:"DecimalLiteral",value:t})}function y3t(t){return(0,re.default)({type:"ModuleExpression",body:t})}function g3t(){return{type:"TopicReference"}}function b3t(t){return(0,re.default)({type:"PipelineTopicExpression",expression:t})}function v3t(t){return(0,re.default)({type:"PipelineBareFunction",callee:t})}function S3t(){return{type:"PipelinePrimaryTopicReference"}}function T3t(t){return(0,re.default)({type:"TSParameterProperty",parameter:t})}function x3t(t=null,e=null,r,i=null){return(0,re.default)({type:"TSDeclareFunction",id:t,typeParameters:e,params:r,returnType:i})}function E3t(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 w3t(t,e){return(0,re.default)({type:"TSQualifiedName",left:t,right:e})}function A3t(t=null,e,r=null){return(0,re.default)({type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function P3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r})}function _3t(t,e=null){return(0,re.default)({type:"TSPropertySignature",key:t,typeAnnotation:e,kind:null})}function C3t(t,e=null,r,i=null){return(0,re.default)({type:"TSMethodSignature",key:t,typeParameters:e,parameters:r,typeAnnotation:i,kind:null})}function D3t(t,e=null){return(0,re.default)({type:"TSIndexSignature",parameters:t,typeAnnotation:e})}function N3t(){return{type:"TSAnyKeyword"}}function I3t(){return{type:"TSBooleanKeyword"}}function O3t(){return{type:"TSBigIntKeyword"}}function k3t(){return{type:"TSIntrinsicKeyword"}}function L3t(){return{type:"TSNeverKeyword"}}function F3t(){return{type:"TSNullKeyword"}}function R3t(){return{type:"TSNumberKeyword"}}function B3t(){return{type:"TSObjectKeyword"}}function M3t(){return{type:"TSStringKeyword"}}function j3t(){return{type:"TSSymbolKeyword"}}function V3t(){return{type:"TSUndefinedKeyword"}}function U3t(){return{type:"TSUnknownKeyword"}}function q3t(){return{type:"TSVoidKeyword"}}function $3t(){return{type:"TSThisType"}}function K3t(t=null,e,r=null){return(0,re.default)({type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:r})}function W3t(t=null,e,r=null){return(0,re.default)({type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:r})}function G3t(t,e=null){return(0,re.default)({type:"TSTypeReference",typeName:t,typeParameters:e})}function z3t(t,e=null,r=null){return(0,re.default)({type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:r})}function H3t(t,e=null){return(0,re.default)({type:"TSTypeQuery",exprName:t,typeParameters:e})}function Y3t(t){return(0,re.default)({type:"TSTypeLiteral",members:t})}function J3t(t){return(0,re.default)({type:"TSArrayType",elementType:t})}function X3t(t){return(0,re.default)({type:"TSTupleType",elementTypes:t})}function Q3t(t){return(0,re.default)({type:"TSOptionalType",typeAnnotation:t})}function Z3t(t){return(0,re.default)({type:"TSRestType",typeAnnotation:t})}function e6t(t,e,r=!1){return(0,re.default)({type:"TSNamedTupleMember",label:t,elementType:e,optional:r})}function t6t(t){return(0,re.default)({type:"TSUnionType",types:t})}function r6t(t){return(0,re.default)({type:"TSIntersectionType",types:t})}function i6t(t,e,r,i){return(0,re.default)({type:"TSConditionalType",checkType:t,extendsType:e,trueType:r,falseType:i})}function s6t(t){return(0,re.default)({type:"TSInferType",typeParameter:t})}function n6t(t){return(0,re.default)({type:"TSParenthesizedType",typeAnnotation:t})}function a6t(t){return(0,re.default)({type:"TSTypeOperator",typeAnnotation:t,operator:null})}function o6t(t,e){return(0,re.default)({type:"TSIndexedAccessType",objectType:t,indexType:e})}function l6t(t,e=null,r=null){return(0,re.default)({type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:r})}function u6t(t){return(0,re.default)({type:"TSLiteralType",literal:t})}function c6t(t,e=null){return(0,re.default)({type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e})}function p6t(t,e=null,r=null,i){return(0,re.default)({type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i})}function f6t(t){return(0,re.default)({type:"TSInterfaceBody",body:t})}function d6t(t,e=null,r){return(0,re.default)({type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:r})}function h6t(t,e=null){return(0,re.default)({type:"TSInstantiationExpression",expression:t,typeParameters:e})}function m6t(t,e){return(0,re.default)({type:"TSAsExpression",expression:t,typeAnnotation:e})}function y6t(t,e){return(0,re.default)({type:"TSSatisfiesExpression",expression:t,typeAnnotation:e})}function g6t(t,e){return(0,re.default)({type:"TSTypeAssertion",typeAnnotation:t,expression:e})}function b6t(t,e){return(0,re.default)({type:"TSEnumDeclaration",id:t,members:e})}function v6t(t,e=null){return(0,re.default)({type:"TSEnumMember",id:t,initializer:e})}function S6t(t,e){return(0,re.default)({type:"TSModuleDeclaration",id:t,body:e})}function T6t(t){return(0,re.default)({type:"TSModuleBlock",body:t})}function x6t(t,e=null,r=null){return(0,re.default)({type:"TSImportType",argument:t,qualifier:e,typeParameters:r})}function E6t(t,e){return(0,re.default)({type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null})}function w6t(t){return(0,re.default)({type:"TSExternalModuleReference",expression:t})}function A6t(t){return(0,re.default)({type:"TSNonNullExpression",expression:t})}function P6t(t){return(0,re.default)({type:"TSExportAssignment",expression:t})}function _6t(t){return(0,re.default)({type:"TSNamespaceExportDeclaration",id:t})}function C6t(t){return(0,re.default)({type:"TSTypeAnnotation",typeAnnotation:t})}function D6t(t){return(0,re.default)({type:"TSTypeParameterInstantiation",params:t})}function N6t(t){return(0,re.default)({type:"TSTypeParameterDeclaration",params:t})}function I6t(t=null,e=null,r){return(0,re.default)({type:"TSTypeParameter",constraint:t,default:e,name:r})}function O6t(t){return(0,G_.default)("NumberLiteral","NumericLiteral","The node type "),vye(t)}function k6t(t,e=""){return(0,G_.default)("RegexLiteral","RegExpLiteral","The node type "),Sye(t,e)}function L6t(t){return(0,G_.default)("RestProperty","RestElement","The node type "),Tye(t)}function F6t(t){return(0,G_.default)("SpreadProperty","SpreadElement","The node type "),xye(t)}});var Eye=E(wV=>{"use strict";Object.defineProperty(wV,"__esModule",{value:!0});wV.default=M6t;var R6t=za(),B6t=Nr();function M6t(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,B6t.inherits)((0,R6t.stringLiteral)(s),t))}});var wye=E(PV=>{"use strict";Object.defineProperty(PV,"__esModule",{value:!0});PV.default=V6t;var AV=ln(),j6t=Eye();function V6t(t){let e=[];for(let r=0;r<t.children.length;r++){let i=t.children[r];if((0,AV.isJSXText)(i)){(0,j6t.default)(i,e);continue}(0,AV.isJSXExpressionContainer)(i)&&(i=i.expression),!(0,AV.isJSXEmptyExpression)(i)&&e.push(i)}return e}});var CV=E(_V=>{"use strict";Object.defineProperty(_V,"__esModule",{value:!0});_V.default=q6t;var U6t=Ul();function q6t(t){return!!(t&&U6t.VISITOR_KEYS[t.type])}});var Aye=E(DV=>{"use strict";Object.defineProperty(DV,"__esModule",{value:!0});DV.default=K6t;var $6t=CV();function K6t(t){if(!(0,$6t.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 Pye=E(B=>{"use strict";Object.defineProperty(B,"__esModule",{value:!0});B.assertAccessor=a5t;B.assertAnyTypeAnnotation=P4t;B.assertArgumentPlaceholder=tCt;B.assertArrayExpression=G6t;B.assertArrayPattern=KPt;B.assertArrayTypeAnnotation=_4t;B.assertArrowFunctionExpression=WPt;B.assertAssignmentExpression=z6t;B.assertAssignmentPattern=$Pt;B.assertAwaitExpression=h4t;B.assertBigIntLiteral=y4t;B.assertBinary=C8t;B.assertBinaryExpression=H6t;B.assertBindExpression=rCt;B.assertBlock=I8t;B.assertBlockParent=N8t;B.assertBlockStatement=Q6t;B.assertBooleanLiteral=vPt;B.assertBooleanLiteralTypeAnnotation=D4t;B.assertBooleanTypeAnnotation=C4t;B.assertBreakStatement=Z6t;B.assertCallExpression=ePt;B.assertCatchClause=tPt;B.assertClass=r5t;B.assertClassAccessorProperty=T4t;B.assertClassBody=GPt;B.assertClassDeclaration=HPt;B.assertClassExpression=zPt;B.assertClassImplements=I4t;B.assertClassMethod=a4t;B.assertClassPrivateMethod=E4t;B.assertClassPrivateProperty=x4t;B.assertClassProperty=S4t;B.assertCompletionStatement=L8t;B.assertConditional=F8t;B.assertConditionalExpression=rPt;B.assertContinueStatement=iPt;B.assertDebuggerStatement=sPt;B.assertDecimalLiteral=uCt;B.assertDeclaration=K8t;B.assertDeclareClass=O4t;B.assertDeclareExportAllDeclaration=U4t;B.assertDeclareExportDeclaration=V4t;B.assertDeclareFunction=k4t;B.assertDeclareInterface=L4t;B.assertDeclareModule=F4t;B.assertDeclareModuleExports=R4t;B.assertDeclareOpaqueType=M4t;B.assertDeclareTypeAlias=B4t;B.assertDeclareVariable=j4t;B.assertDeclaredPredicate=q4t;B.assertDecorator=sCt;B.assertDirective=J6t;B.assertDirectiveLiteral=X6t;B.assertDoExpression=nCt;B.assertDoWhileStatement=nPt;B.assertEmptyStatement=aPt;B.assertEmptyTypeAnnotation=Z4t;B.assertEnumBody=d5t;B.assertEnumBooleanBody=__t;B.assertEnumBooleanMember=I_t;B.assertEnumDeclaration=P_t;B.assertEnumDefaultedMember=L_t;B.assertEnumMember=h5t;B.assertEnumNumberBody=C_t;B.assertEnumNumberMember=O_t;B.assertEnumStringBody=D_t;B.assertEnumStringMember=k_t;B.assertEnumSymbolBody=N_t;B.assertExistsTypeAnnotation=$4t;B.assertExportAllDeclaration=YPt;B.assertExportDeclaration=s5t;B.assertExportDefaultDeclaration=JPt;B.assertExportDefaultSpecifier=aCt;B.assertExportNamedDeclaration=XPt;B.assertExportNamespaceSpecifier=g4t;B.assertExportSpecifier=QPt;B.assertExpression=_8t;B.assertExpressionStatement=oPt;B.assertExpressionWrapper=M8t;B.assertFile=lPt;B.assertFlow=l5t;B.assertFlowBaseAnnotation=c5t;B.assertFlowDeclaration=p5t;B.assertFlowPredicate=f5t;B.assertFlowType=u5t;B.assertFor=j8t;B.assertForInStatement=uPt;B.assertForOfStatement=ZPt;B.assertForStatement=cPt;B.assertForXStatement=V8t;B.assertFunction=U8t;B.assertFunctionDeclaration=pPt;B.assertFunctionExpression=fPt;B.assertFunctionParent=q8t;B.assertFunctionTypeAnnotation=K4t;B.assertFunctionTypeParam=W4t;B.assertGenericTypeAnnotation=G4t;B.assertIdentifier=dPt;B.assertIfStatement=hPt;B.assertImmutable=Y8t;B.assertImport=m4t;B.assertImportAttribute=iCt;B.assertImportDeclaration=e4t;B.assertImportDefaultSpecifier=t4t;B.assertImportExpression=s4t;B.assertImportNamespaceSpecifier=r4t;B.assertImportOrExportDeclaration=i5t;B.assertImportSpecifier=i4t;B.assertIndexedAccessType=F_t;B.assertInferredPredicate=z4t;B.assertInterfaceDeclaration=Y4t;B.assertInterfaceExtends=H4t;B.assertInterfaceTypeAnnotation=J4t;B.assertInterpreterDirective=Y6t;B.assertIntersectionTypeAnnotation=X4t;B.assertJSX=m5t;B.assertJSXAttribute=B_t;B.assertJSXClosingElement=M_t;B.assertJSXClosingFragment=X_t;B.assertJSXElement=j_t;B.assertJSXEmptyExpression=V_t;B.assertJSXExpressionContainer=U_t;B.assertJSXFragment=Y_t;B.assertJSXIdentifier=$_t;B.assertJSXMemberExpression=K_t;B.assertJSXNamespacedName=W_t;B.assertJSXOpeningElement=G_t;B.assertJSXOpeningFragment=J_t;B.assertJSXSpreadAttribute=z_t;B.assertJSXSpreadChild=q_t;B.assertJSXText=H_t;B.assertLVal=G8t;B.assertLabeledStatement=mPt;B.assertLiteral=H8t;B.assertLogicalExpression=TPt;B.assertLoop=R8t;B.assertMemberExpression=xPt;B.assertMetaProperty=n4t;B.assertMethod=X8t;B.assertMiscellaneous=y5t;B.assertMixedTypeAnnotation=Q4t;B.assertModuleDeclaration=A5t;B.assertModuleExpression=cCt;B.assertModuleSpecifier=n5t;B.assertNewExpression=EPt;B.assertNoop=Q_t;B.assertNullLiteral=bPt;B.assertNullLiteralTypeAnnotation=N4t;B.assertNullableTypeAnnotation=e_t;B.assertNumberLiteral=T5t;B.assertNumberLiteralTypeAnnotation=t_t;B.assertNumberTypeAnnotation=r_t;B.assertNumericLiteral=gPt;B.assertObjectExpression=APt;B.assertObjectMember=Q8t;B.assertObjectMethod=PPt;B.assertObjectPattern=o4t;B.assertObjectProperty=_Pt;B.assertObjectTypeAnnotation=i_t;B.assertObjectTypeCallProperty=n_t;B.assertObjectTypeIndexer=a_t;B.assertObjectTypeInternalSlot=s_t;B.assertObjectTypeProperty=o_t;B.assertObjectTypeSpreadProperty=l_t;B.assertOpaqueType=u_t;B.assertOptionalCallExpression=v4t;B.assertOptionalIndexedAccessType=R_t;B.assertOptionalMemberExpression=b4t;B.assertParenthesizedExpression=IPt;B.assertPattern=t5t;B.assertPatternLike=W8t;B.assertPipelineBareFunction=dCt;B.assertPipelinePrimaryTopicReference=hCt;B.assertPipelineTopicExpression=fCt;B.assertPlaceholder=Z_t;B.assertPrivate=o5t;B.assertPrivateName=w4t;B.assertProgram=wPt;B.assertProperty=Z8t;B.assertPureish=$8t;B.assertQualifiedTypeIdentifier=c_t;B.assertRecordExpression=oCt;B.assertRegExpLiteral=SPt;B.assertRegexLiteral=x5t;B.assertRestElement=CPt;B.assertRestProperty=E5t;B.assertReturnStatement=DPt;B.assertScopable=D8t;B.assertSequenceExpression=NPt;B.assertSpreadElement=l4t;B.assertSpreadProperty=w5t;B.assertStandardized=P8t;B.assertStatement=O8t;B.assertStaticBlock=A4t;B.assertStringLiteral=yPt;B.assertStringLiteralTypeAnnotation=p_t;B.assertStringTypeAnnotation=f_t;B.assertSuper=u4t;B.assertSwitchCase=OPt;B.assertSwitchStatement=kPt;B.assertSymbolTypeAnnotation=d_t;B.assertTSAnyKeyword=wCt;B.assertTSArrayType=KCt;B.assertTSAsExpression=u8t;B.assertTSBaseType=S5t;B.assertTSBigIntKeyword=PCt;B.assertTSBooleanKeyword=ACt;B.assertTSCallSignatureDeclaration=vCt;B.assertTSConditionalType=XCt;B.assertTSConstructSignatureDeclaration=SCt;B.assertTSConstructorType=jCt;B.assertTSDeclareFunction=yCt;B.assertTSDeclareMethod=gCt;B.assertTSEntityName=z8t;B.assertTSEnumDeclaration=f8t;B.assertTSEnumMember=d8t;B.assertTSExportAssignment=S8t;B.assertTSExpressionWithTypeArguments=s8t;B.assertTSExternalModuleReference=b8t;B.assertTSFunctionType=MCt;B.assertTSImportEqualsDeclaration=g8t;B.assertTSImportType=y8t;B.assertTSIndexSignature=ECt;B.assertTSIndexedAccessType=t8t;B.assertTSInferType=QCt;B.assertTSInstantiationExpression=l8t;B.assertTSInterfaceBody=a8t;B.assertTSInterfaceDeclaration=n8t;B.assertTSIntersectionType=JCt;B.assertTSIntrinsicKeyword=_Ct;B.assertTSLiteralType=i8t;B.assertTSMappedType=r8t;B.assertTSMethodSignature=xCt;B.assertTSModuleBlock=m8t;B.assertTSModuleDeclaration=h8t;B.assertTSNamedTupleMember=HCt;B.assertTSNamespaceExportDeclaration=T8t;B.assertTSNeverKeyword=CCt;B.assertTSNonNullExpression=v8t;B.assertTSNullKeyword=DCt;B.assertTSNumberKeyword=NCt;B.assertTSObjectKeyword=ICt;B.assertTSOptionalType=GCt;B.assertTSParameterProperty=mCt;B.assertTSParenthesizedType=ZCt;B.assertTSPropertySignature=TCt;B.assertTSQualifiedName=bCt;B.assertTSRestType=zCt;B.assertTSSatisfiesExpression=c8t;B.assertTSStringKeyword=OCt;B.assertTSSymbolKeyword=kCt;B.assertTSThisType=BCt;B.assertTSTupleType=WCt;B.assertTSType=v5t;B.assertTSTypeAliasDeclaration=o8t;B.assertTSTypeAnnotation=x8t;B.assertTSTypeAssertion=p8t;B.assertTSTypeElement=b5t;B.assertTSTypeLiteral=$Ct;B.assertTSTypeOperator=e8t;B.assertTSTypeParameter=A8t;B.assertTSTypeParameterDeclaration=w8t;B.assertTSTypeParameterInstantiation=E8t;B.assertTSTypePredicate=UCt;B.assertTSTypeQuery=qCt;B.assertTSTypeReference=VCt;B.assertTSUndefinedKeyword=LCt;B.assertTSUnionType=YCt;B.assertTSUnknownKeyword=FCt;B.assertTSVoidKeyword=RCt;B.assertTaggedTemplateExpression=c4t;B.assertTemplateElement=p4t;B.assertTemplateLiteral=f4t;B.assertTerminatorless=k8t;B.assertThisExpression=LPt;B.assertThisTypeAnnotation=h_t;B.assertThrowStatement=FPt;B.assertTopicReference=pCt;B.assertTryStatement=RPt;B.assertTupleExpression=lCt;B.assertTupleTypeAnnotation=m_t;B.assertTypeAlias=g_t;B.assertTypeAnnotation=b_t;B.assertTypeCastExpression=v_t;B.assertTypeParameter=S_t;B.assertTypeParameterDeclaration=T_t;B.assertTypeParameterInstantiation=x_t;B.assertTypeScript=g5t;B.assertTypeofTypeAnnotation=y_t;B.assertUnaryExpression=BPt;B.assertUnaryLike=e5t;B.assertUnionTypeAnnotation=E_t;B.assertUpdateExpression=MPt;B.assertUserWhitespacable=J8t;B.assertV8IntrinsicIdentifier=eCt;B.assertVariableDeclaration=jPt;B.assertVariableDeclarator=VPt;B.assertVariance=w_t;B.assertVoidTypeAnnotation=A_t;B.assertWhile=B8t;B.assertWhileStatement=UPt;B.assertWithStatement=qPt;B.assertYieldExpression=d4t;var W6t=nb(),JT=$T();function V(t,e,r){if(!(0,W6t.default)(t,e,r))throw new Error(`Expected type "${t}" with option ${JSON.stringify(r)}, but instead got "${e.type}".`)}function G6t(t,e){V("ArrayExpression",t,e)}function z6t(t,e){V("AssignmentExpression",t,e)}function H6t(t,e){V("BinaryExpression",t,e)}function Y6t(t,e){V("InterpreterDirective",t,e)}function J6t(t,e){V("Directive",t,e)}function X6t(t,e){V("DirectiveLiteral",t,e)}function Q6t(t,e){V("BlockStatement",t,e)}function Z6t(t,e){V("BreakStatement",t,e)}function ePt(t,e){V("CallExpression",t,e)}function tPt(t,e){V("CatchClause",t,e)}function rPt(t,e){V("ConditionalExpression",t,e)}function iPt(t,e){V("ContinueStatement",t,e)}function sPt(t,e){V("DebuggerStatement",t,e)}function nPt(t,e){V("DoWhileStatement",t,e)}function aPt(t,e){V("EmptyStatement",t,e)}function oPt(t,e){V("ExpressionStatement",t,e)}function lPt(t,e){V("File",t,e)}function uPt(t,e){V("ForInStatement",t,e)}function cPt(t,e){V("ForStatement",t,e)}function pPt(t,e){V("FunctionDeclaration",t,e)}function fPt(t,e){V("FunctionExpression",t,e)}function dPt(t,e){V("Identifier",t,e)}function hPt(t,e){V("IfStatement",t,e)}function mPt(t,e){V("LabeledStatement",t,e)}function yPt(t,e){V("StringLiteral",t,e)}function gPt(t,e){V("NumericLiteral",t,e)}function bPt(t,e){V("NullLiteral",t,e)}function vPt(t,e){V("BooleanLiteral",t,e)}function SPt(t,e){V("RegExpLiteral",t,e)}function TPt(t,e){V("LogicalExpression",t,e)}function xPt(t,e){V("MemberExpression",t,e)}function EPt(t,e){V("NewExpression",t,e)}function wPt(t,e){V("Program",t,e)}function APt(t,e){V("ObjectExpression",t,e)}function PPt(t,e){V("ObjectMethod",t,e)}function _Pt(t,e){V("ObjectProperty",t,e)}function CPt(t,e){V("RestElement",t,e)}function DPt(t,e){V("ReturnStatement",t,e)}function NPt(t,e){V("SequenceExpression",t,e)}function IPt(t,e){V("ParenthesizedExpression",t,e)}function OPt(t,e){V("SwitchCase",t,e)}function kPt(t,e){V("SwitchStatement",t,e)}function LPt(t,e){V("ThisExpression",t,e)}function FPt(t,e){V("ThrowStatement",t,e)}function RPt(t,e){V("TryStatement",t,e)}function BPt(t,e){V("UnaryExpression",t,e)}function MPt(t,e){V("UpdateExpression",t,e)}function jPt(t,e){V("VariableDeclaration",t,e)}function VPt(t,e){V("VariableDeclarator",t,e)}function UPt(t,e){V("WhileStatement",t,e)}function qPt(t,e){V("WithStatement",t,e)}function $Pt(t,e){V("AssignmentPattern",t,e)}function KPt(t,e){V("ArrayPattern",t,e)}function WPt(t,e){V("ArrowFunctionExpression",t,e)}function GPt(t,e){V("ClassBody",t,e)}function zPt(t,e){V("ClassExpression",t,e)}function HPt(t,e){V("ClassDeclaration",t,e)}function YPt(t,e){V("ExportAllDeclaration",t,e)}function JPt(t,e){V("ExportDefaultDeclaration",t,e)}function XPt(t,e){V("ExportNamedDeclaration",t,e)}function QPt(t,e){V("ExportSpecifier",t,e)}function ZPt(t,e){V("ForOfStatement",t,e)}function e4t(t,e){V("ImportDeclaration",t,e)}function t4t(t,e){V("ImportDefaultSpecifier",t,e)}function r4t(t,e){V("ImportNamespaceSpecifier",t,e)}function i4t(t,e){V("ImportSpecifier",t,e)}function s4t(t,e){V("ImportExpression",t,e)}function n4t(t,e){V("MetaProperty",t,e)}function a4t(t,e){V("ClassMethod",t,e)}function o4t(t,e){V("ObjectPattern",t,e)}function l4t(t,e){V("SpreadElement",t,e)}function u4t(t,e){V("Super",t,e)}function c4t(t,e){V("TaggedTemplateExpression",t,e)}function p4t(t,e){V("TemplateElement",t,e)}function f4t(t,e){V("TemplateLiteral",t,e)}function d4t(t,e){V("YieldExpression",t,e)}function h4t(t,e){V("AwaitExpression",t,e)}function m4t(t,e){V("Import",t,e)}function y4t(t,e){V("BigIntLiteral",t,e)}function g4t(t,e){V("ExportNamespaceSpecifier",t,e)}function b4t(t,e){V("OptionalMemberExpression",t,e)}function v4t(t,e){V("OptionalCallExpression",t,e)}function S4t(t,e){V("ClassProperty",t,e)}function T4t(t,e){V("ClassAccessorProperty",t,e)}function x4t(t,e){V("ClassPrivateProperty",t,e)}function E4t(t,e){V("ClassPrivateMethod",t,e)}function w4t(t,e){V("PrivateName",t,e)}function A4t(t,e){V("StaticBlock",t,e)}function P4t(t,e){V("AnyTypeAnnotation",t,e)}function _4t(t,e){V("ArrayTypeAnnotation",t,e)}function C4t(t,e){V("BooleanTypeAnnotation",t,e)}function D4t(t,e){V("BooleanLiteralTypeAnnotation",t,e)}function N4t(t,e){V("NullLiteralTypeAnnotation",t,e)}function I4t(t,e){V("ClassImplements",t,e)}function O4t(t,e){V("DeclareClass",t,e)}function k4t(t,e){V("DeclareFunction",t,e)}function L4t(t,e){V("DeclareInterface",t,e)}function F4t(t,e){V("DeclareModule",t,e)}function R4t(t,e){V("DeclareModuleExports",t,e)}function B4t(t,e){V("DeclareTypeAlias",t,e)}function M4t(t,e){V("DeclareOpaqueType",t,e)}function j4t(t,e){V("DeclareVariable",t,e)}function V4t(t,e){V("DeclareExportDeclaration",t,e)}function U4t(t,e){V("DeclareExportAllDeclaration",t,e)}function q4t(t,e){V("DeclaredPredicate",t,e)}function $4t(t,e){V("ExistsTypeAnnotation",t,e)}function K4t(t,e){V("FunctionTypeAnnotation",t,e)}function W4t(t,e){V("FunctionTypeParam",t,e)}function G4t(t,e){V("GenericTypeAnnotation",t,e)}function z4t(t,e){V("InferredPredicate",t,e)}function H4t(t,e){V("InterfaceExtends",t,e)}function Y4t(t,e){V("InterfaceDeclaration",t,e)}function J4t(t,e){V("InterfaceTypeAnnotation",t,e)}function X4t(t,e){V("IntersectionTypeAnnotation",t,e)}function Q4t(t,e){V("MixedTypeAnnotation",t,e)}function Z4t(t,e){V("EmptyTypeAnnotation",t,e)}function e_t(t,e){V("NullableTypeAnnotation",t,e)}function t_t(t,e){V("NumberLiteralTypeAnnotation",t,e)}function r_t(t,e){V("NumberTypeAnnotation",t,e)}function i_t(t,e){V("ObjectTypeAnnotation",t,e)}function s_t(t,e){V("ObjectTypeInternalSlot",t,e)}function n_t(t,e){V("ObjectTypeCallProperty",t,e)}function a_t(t,e){V("ObjectTypeIndexer",t,e)}function o_t(t,e){V("ObjectTypeProperty",t,e)}function l_t(t,e){V("ObjectTypeSpreadProperty",t,e)}function u_t(t,e){V("OpaqueType",t,e)}function c_t(t,e){V("QualifiedTypeIdentifier",t,e)}function p_t(t,e){V("StringLiteralTypeAnnotation",t,e)}function f_t(t,e){V("StringTypeAnnotation",t,e)}function d_t(t,e){V("SymbolTypeAnnotation",t,e)}function h_t(t,e){V("ThisTypeAnnotation",t,e)}function m_t(t,e){V("TupleTypeAnnotation",t,e)}function y_t(t,e){V("TypeofTypeAnnotation",t,e)}function g_t(t,e){V("TypeAlias",t,e)}function b_t(t,e){V("TypeAnnotation",t,e)}function v_t(t,e){V("TypeCastExpression",t,e)}function S_t(t,e){V("TypeParameter",t,e)}function T_t(t,e){V("TypeParameterDeclaration",t,e)}function x_t(t,e){V("TypeParameterInstantiation",t,e)}function E_t(t,e){V("UnionTypeAnnotation",t,e)}function w_t(t,e){V("Variance",t,e)}function A_t(t,e){V("VoidTypeAnnotation",t,e)}function P_t(t,e){V("EnumDeclaration",t,e)}function __t(t,e){V("EnumBooleanBody",t,e)}function C_t(t,e){V("EnumNumberBody",t,e)}function D_t(t,e){V("EnumStringBody",t,e)}function N_t(t,e){V("EnumSymbolBody",t,e)}function I_t(t,e){V("EnumBooleanMember",t,e)}function O_t(t,e){V("EnumNumberMember",t,e)}function k_t(t,e){V("EnumStringMember",t,e)}function L_t(t,e){V("EnumDefaultedMember",t,e)}function F_t(t,e){V("IndexedAccessType",t,e)}function R_t(t,e){V("OptionalIndexedAccessType",t,e)}function B_t(t,e){V("JSXAttribute",t,e)}function M_t(t,e){V("JSXClosingElement",t,e)}function j_t(t,e){V("JSXElement",t,e)}function V_t(t,e){V("JSXEmptyExpression",t,e)}function U_t(t,e){V("JSXExpressionContainer",t,e)}function q_t(t,e){V("JSXSpreadChild",t,e)}function $_t(t,e){V("JSXIdentifier",t,e)}function K_t(t,e){V("JSXMemberExpression",t,e)}function W_t(t,e){V("JSXNamespacedName",t,e)}function G_t(t,e){V("JSXOpeningElement",t,e)}function z_t(t,e){V("JSXSpreadAttribute",t,e)}function H_t(t,e){V("JSXText",t,e)}function Y_t(t,e){V("JSXFragment",t,e)}function J_t(t,e){V("JSXOpeningFragment",t,e)}function X_t(t,e){V("JSXClosingFragment",t,e)}function Q_t(t,e){V("Noop",t,e)}function Z_t(t,e){V("Placeholder",t,e)}function eCt(t,e){V("V8IntrinsicIdentifier",t,e)}function tCt(t,e){V("ArgumentPlaceholder",t,e)}function rCt(t,e){V("BindExpression",t,e)}function iCt(t,e){V("ImportAttribute",t,e)}function sCt(t,e){V("Decorator",t,e)}function nCt(t,e){V("DoExpression",t,e)}function aCt(t,e){V("ExportDefaultSpecifier",t,e)}function oCt(t,e){V("RecordExpression",t,e)}function lCt(t,e){V("TupleExpression",t,e)}function uCt(t,e){V("DecimalLiteral",t,e)}function cCt(t,e){V("ModuleExpression",t,e)}function pCt(t,e){V("TopicReference",t,e)}function fCt(t,e){V("PipelineTopicExpression",t,e)}function dCt(t,e){V("PipelineBareFunction",t,e)}function hCt(t,e){V("PipelinePrimaryTopicReference",t,e)}function mCt(t,e){V("TSParameterProperty",t,e)}function yCt(t,e){V("TSDeclareFunction",t,e)}function gCt(t,e){V("TSDeclareMethod",t,e)}function bCt(t,e){V("TSQualifiedName",t,e)}function vCt(t,e){V("TSCallSignatureDeclaration",t,e)}function SCt(t,e){V("TSConstructSignatureDeclaration",t,e)}function TCt(t,e){V("TSPropertySignature",t,e)}function xCt(t,e){V("TSMethodSignature",t,e)}function ECt(t,e){V("TSIndexSignature",t,e)}function wCt(t,e){V("TSAnyKeyword",t,e)}function ACt(t,e){V("TSBooleanKeyword",t,e)}function PCt(t,e){V("TSBigIntKeyword",t,e)}function _Ct(t,e){V("TSIntrinsicKeyword",t,e)}function CCt(t,e){V("TSNeverKeyword",t,e)}function DCt(t,e){V("TSNullKeyword",t,e)}function NCt(t,e){V("TSNumberKeyword",t,e)}function ICt(t,e){V("TSObjectKeyword",t,e)}function OCt(t,e){V("TSStringKeyword",t,e)}function kCt(t,e){V("TSSymbolKeyword",t,e)}function LCt(t,e){V("TSUndefinedKeyword",t,e)}function FCt(t,e){V("TSUnknownKeyword",t,e)}function RCt(t,e){V("TSVoidKeyword",t,e)}function BCt(t,e){V("TSThisType",t,e)}function MCt(t,e){V("TSFunctionType",t,e)}function jCt(t,e){V("TSConstructorType",t,e)}function VCt(t,e){V("TSTypeReference",t,e)}function UCt(t,e){V("TSTypePredicate",t,e)}function qCt(t,e){V("TSTypeQuery",t,e)}function $Ct(t,e){V("TSTypeLiteral",t,e)}function KCt(t,e){V("TSArrayType",t,e)}function WCt(t,e){V("TSTupleType",t,e)}function GCt(t,e){V("TSOptionalType",t,e)}function zCt(t,e){V("TSRestType",t,e)}function HCt(t,e){V("TSNamedTupleMember",t,e)}function YCt(t,e){V("TSUnionType",t,e)}function JCt(t,e){V("TSIntersectionType",t,e)}function XCt(t,e){V("TSConditionalType",t,e)}function QCt(t,e){V("TSInferType",t,e)}function ZCt(t,e){V("TSParenthesizedType",t,e)}function e8t(t,e){V("TSTypeOperator",t,e)}function t8t(t,e){V("TSIndexedAccessType",t,e)}function r8t(t,e){V("TSMappedType",t,e)}function i8t(t,e){V("TSLiteralType",t,e)}function s8t(t,e){V("TSExpressionWithTypeArguments",t,e)}function n8t(t,e){V("TSInterfaceDeclaration",t,e)}function a8t(t,e){V("TSInterfaceBody",t,e)}function o8t(t,e){V("TSTypeAliasDeclaration",t,e)}function l8t(t,e){V("TSInstantiationExpression",t,e)}function u8t(t,e){V("TSAsExpression",t,e)}function c8t(t,e){V("TSSatisfiesExpression",t,e)}function p8t(t,e){V("TSTypeAssertion",t,e)}function f8t(t,e){V("TSEnumDeclaration",t,e)}function d8t(t,e){V("TSEnumMember",t,e)}function h8t(t,e){V("TSModuleDeclaration",t,e)}function m8t(t,e){V("TSModuleBlock",t,e)}function y8t(t,e){V("TSImportType",t,e)}function g8t(t,e){V("TSImportEqualsDeclaration",t,e)}function b8t(t,e){V("TSExternalModuleReference",t,e)}function v8t(t,e){V("TSNonNullExpression",t,e)}function S8t(t,e){V("TSExportAssignment",t,e)}function T8t(t,e){V("TSNamespaceExportDeclaration",t,e)}function x8t(t,e){V("TSTypeAnnotation",t,e)}function E8t(t,e){V("TSTypeParameterInstantiation",t,e)}function w8t(t,e){V("TSTypeParameterDeclaration",t,e)}function A8t(t,e){V("TSTypeParameter",t,e)}function P8t(t,e){V("Standardized",t,e)}function _8t(t,e){V("Expression",t,e)}function C8t(t,e){V("Binary",t,e)}function D8t(t,e){V("Scopable",t,e)}function N8t(t,e){V("BlockParent",t,e)}function I8t(t,e){V("Block",t,e)}function O8t(t,e){V("Statement",t,e)}function k8t(t,e){V("Terminatorless",t,e)}function L8t(t,e){V("CompletionStatement",t,e)}function F8t(t,e){V("Conditional",t,e)}function R8t(t,e){V("Loop",t,e)}function B8t(t,e){V("While",t,e)}function M8t(t,e){V("ExpressionWrapper",t,e)}function j8t(t,e){V("For",t,e)}function V8t(t,e){V("ForXStatement",t,e)}function U8t(t,e){V("Function",t,e)}function q8t(t,e){V("FunctionParent",t,e)}function $8t(t,e){V("Pureish",t,e)}function K8t(t,e){V("Declaration",t,e)}function W8t(t,e){V("PatternLike",t,e)}function G8t(t,e){V("LVal",t,e)}function z8t(t,e){V("TSEntityName",t,e)}function H8t(t,e){V("Literal",t,e)}function Y8t(t,e){V("Immutable",t,e)}function J8t(t,e){V("UserWhitespacable",t,e)}function X8t(t,e){V("Method",t,e)}function Q8t(t,e){V("ObjectMember",t,e)}function Z8t(t,e){V("Property",t,e)}function e5t(t,e){V("UnaryLike",t,e)}function t5t(t,e){V("Pattern",t,e)}function r5t(t,e){V("Class",t,e)}function i5t(t,e){V("ImportOrExportDeclaration",t,e)}function s5t(t,e){V("ExportDeclaration",t,e)}function n5t(t,e){V("ModuleSpecifier",t,e)}function a5t(t,e){V("Accessor",t,e)}function o5t(t,e){V("Private",t,e)}function l5t(t,e){V("Flow",t,e)}function u5t(t,e){V("FlowType",t,e)}function c5t(t,e){V("FlowBaseAnnotation",t,e)}function p5t(t,e){V("FlowDeclaration",t,e)}function f5t(t,e){V("FlowPredicate",t,e)}function d5t(t,e){V("EnumBody",t,e)}function h5t(t,e){V("EnumMember",t,e)}function m5t(t,e){V("JSX",t,e)}function y5t(t,e){V("Miscellaneous",t,e)}function g5t(t,e){V("TypeScript",t,e)}function b5t(t,e){V("TSTypeElement",t,e)}function v5t(t,e){V("TSType",t,e)}function S5t(t,e){V("TSBaseType",t,e)}function T5t(t,e){(0,JT.default)("assertNumberLiteral","assertNumericLiteral"),V("NumberLiteral",t,e)}function x5t(t,e){(0,JT.default)("assertRegexLiteral","assertRegExpLiteral"),V("RegexLiteral",t,e)}function E5t(t,e){(0,JT.default)("assertRestProperty","assertRestElement"),V("RestProperty",t,e)}function w5t(t,e){(0,JT.default)("assertSpreadProperty","assertSpreadElement"),V("SpreadProperty",t,e)}function A5t(t,e){(0,JT.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),V("ModuleDeclaration",t,e)}});var _ye=E(z_=>{"use strict";Object.defineProperty(z_,"__esModule",{value:!0});z_.default=void 0;var Cu=za(),n9r=z_.default=P5t;function P5t(t){switch(t){case"string":return(0,Cu.stringTypeAnnotation)();case"number":return(0,Cu.numberTypeAnnotation)();case"undefined":return(0,Cu.voidTypeAnnotation)();case"boolean":return(0,Cu.booleanTypeAnnotation)();case"function":return(0,Cu.genericTypeAnnotation)((0,Cu.identifier)("Function"));case"object":return(0,Cu.genericTypeAnnotation)((0,Cu.identifier)("Object"));case"symbol":return(0,Cu.genericTypeAnnotation)((0,Cu.identifier)("Symbol"));case"bigint":return(0,Cu.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var IV=E(NV=>{"use strict";Object.defineProperty(NV,"__esModule",{value:!0});NV.default=Dye;var XT=ln();function Cye(t){return(0,XT.isIdentifier)(t)?t.name:`${t.id.name}.${Cye(t.qualification)}`}function Dye(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,XT.isAnyTypeAnnotation)(o))return[o];if((0,XT.isFlowBaseAnnotation)(o)){i.set(o.type,o);continue}if((0,XT.isUnionTypeAnnotation)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,XT.isGenericTypeAnnotation)(o)){let l=Cye(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=Dye(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 Nye=E(OV=>{"use strict";Object.defineProperty(OV,"__esModule",{value:!0});OV.default=D5t;var _5t=za(),C5t=IV();function D5t(t){let e=(0,C5t.default)(t);return e.length===1?e[0]:(0,_5t.unionTypeAnnotation)(e)}});var kye=E(kV=>{"use strict";Object.defineProperty(kV,"__esModule",{value:!0});kV.default=Oye;var QT=ln();function Iye(t){return(0,QT.isIdentifier)(t)?t.name:`${t.right.name}.${Iye(t.left)}`}function Oye(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,QT.isTSAnyKeyword)(o))return[o];if((0,QT.isTSBaseType)(o)){i.set(o.type,o);continue}if((0,QT.isTSUnionType)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,QT.isTSTypeReference)(o)&&o.typeParameters){let l=Iye(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=Oye(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 Lye=E(LV=>{"use strict";Object.defineProperty(LV,"__esModule",{value:!0});LV.default=k5t;var N5t=za(),I5t=kye(),O5t=ln();function k5t(t){let e=t.map(i=>(0,O5t.isTSTypeAnnotation)(i)?i.typeAnnotation:i),r=(0,I5t.default)(e);return r.length===1?r[0]:(0,N5t.tsUnionType)(r)}});var Fye=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=za()});var Bye=E(FV=>{"use strict";Object.defineProperty(FV,"__esModule",{value:!0});FV.buildUndefinedNode=L5t;var Rye=za();function L5t(){return(0,Rye.unaryExpression)("void",(0,Rye.numericLiteral)(0),!0)}});var Zd=E(RV=>{"use strict";Object.defineProperty(RV,"__esModule",{value:!0});RV.default=F5t;var Mye=Ul(),jye=ln(),rf=Function.call.bind(Object.prototype.hasOwnProperty);function Vye(t,e,r,i){return t&&typeof t.type=="string"?qye(t,e,r,i):t}function Uye(t,e,r,i){return Array.isArray(t)?t.map(s=>Vye(s,e,r,i)):Vye(t,e,r,i)}function F5t(t,e=!0,r=!1){return qye(t,e,r,new Map)}function qye(t,e=!0,r=!1,i){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,jye.isIdentifier)(t))n.name=t.name,rf(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),rf(t,"typeAnnotation")&&(n.typeAnnotation=e?Uye(t.typeAnnotation,!0,r,i):t.typeAnnotation);else if(rf(Mye.NODE_FIELDS,s))for(let a of Object.keys(Mye.NODE_FIELDS[s]))rf(t,a)&&(e?n[a]=(0,jye.isFile)(t)&&a==="comments"?H_(t.comments,e,r,i):Uye(t[a],!0,r,i):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return rf(t,"loc")&&(r?n.loc=null:n.loc=t.loc),rf(t,"leadingComments")&&(n.leadingComments=H_(t.leadingComments,e,r,i)),rf(t,"innerComments")&&(n.innerComments=H_(t.innerComments,e,r,i)),rf(t,"trailingComments")&&(n.trailingComments=H_(t.trailingComments,e,r,i)),rf(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function H_(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 $ye=E(BV=>{"use strict";Object.defineProperty(BV,"__esModule",{value:!0});BV.default=B5t;var R5t=Zd();function B5t(t){return(0,R5t.default)(t,!1)}});var Kye=E(MV=>{"use strict";Object.defineProperty(MV,"__esModule",{value:!0});MV.default=j5t;var M5t=Zd();function j5t(t){return(0,M5t.default)(t)}});var Wye=E(jV=>{"use strict";Object.defineProperty(jV,"__esModule",{value:!0});jV.default=U5t;var V5t=Zd();function U5t(t){return(0,V5t.default)(t,!0,!0)}});var Gye=E(VV=>{"use strict";Object.defineProperty(VV,"__esModule",{value:!0});VV.default=$5t;var q5t=Zd();function $5t(t){return(0,q5t.default)(t,!1,!0)}});var qV=E(UV=>{"use strict";Object.defineProperty(UV,"__esModule",{value:!0});UV.default=K5t;function K5t(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 zye=E($V=>{"use strict";Object.defineProperty($V,"__esModule",{value:!0});$V.default=G5t;var W5t=qV();function G5t(t,e,r,i){return(0,W5t.default)(t,e,[{type:i?"CommentLine":"CommentBlock",value:r}])}});var Y_=E(KV=>{"use strict";Object.defineProperty(KV,"__esModule",{value:!0});KV.default=z5t;function z5t(t,e,r){e&&r&&(e[t]=Array.from(new Set([].concat(e[t],r[t]).filter(Boolean))))}});var GV=E(WV=>{"use strict";Object.defineProperty(WV,"__esModule",{value:!0});WV.default=Y5t;var H5t=Y_();function Y5t(t,e){(0,H5t.default)("innerComments",t,e)}});var HV=E(zV=>{"use strict";Object.defineProperty(zV,"__esModule",{value:!0});zV.default=X5t;var J5t=Y_();function X5t(t,e){(0,J5t.default)("leadingComments",t,e)}});var JV=E(YV=>{"use strict";Object.defineProperty(YV,"__esModule",{value:!0});YV.default=Z5t;var Q5t=Y_();function Z5t(t,e){(0,Q5t.default)("trailingComments",t,e)}});var QV=E(XV=>{"use strict";Object.defineProperty(XV,"__esModule",{value:!0});XV.default=i9t;var e9t=JV(),t9t=HV(),r9t=GV();function i9t(t,e){return(0,e9t.default)(t,e),(0,t9t.default)(t,e),(0,r9t.default)(t,e),t}});var Hye=E(ZV=>{"use strict";Object.defineProperty(ZV,"__esModule",{value:!0});ZV.default=n9t;var s9t=Jd();function n9t(t){return s9t.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var Yye=E(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.WHILE_TYPES=Ke.USERWHITESPACABLE_TYPES=Ke.UNARYLIKE_TYPES=Ke.TYPESCRIPT_TYPES=Ke.TSTYPE_TYPES=Ke.TSTYPEELEMENT_TYPES=Ke.TSENTITYNAME_TYPES=Ke.TSBASETYPE_TYPES=Ke.TERMINATORLESS_TYPES=Ke.STATEMENT_TYPES=Ke.STANDARDIZED_TYPES=Ke.SCOPABLE_TYPES=Ke.PUREISH_TYPES=Ke.PROPERTY_TYPES=Ke.PRIVATE_TYPES=Ke.PATTERN_TYPES=Ke.PATTERNLIKE_TYPES=Ke.OBJECTMEMBER_TYPES=Ke.MODULESPECIFIER_TYPES=Ke.MODULEDECLARATION_TYPES=Ke.MISCELLANEOUS_TYPES=Ke.METHOD_TYPES=Ke.LVAL_TYPES=Ke.LOOP_TYPES=Ke.LITERAL_TYPES=Ke.JSX_TYPES=Ke.IMPORTOREXPORTDECLARATION_TYPES=Ke.IMMUTABLE_TYPES=Ke.FUNCTION_TYPES=Ke.FUNCTIONPARENT_TYPES=Ke.FOR_TYPES=Ke.FORXSTATEMENT_TYPES=Ke.FLOW_TYPES=Ke.FLOWTYPE_TYPES=Ke.FLOWPREDICATE_TYPES=Ke.FLOWDECLARATION_TYPES=Ke.FLOWBASEANNOTATION_TYPES=Ke.EXPRESSION_TYPES=Ke.EXPRESSIONWRAPPER_TYPES=Ke.EXPORTDECLARATION_TYPES=Ke.ENUMMEMBER_TYPES=Ke.ENUMBODY_TYPES=Ke.DECLARATION_TYPES=Ke.CONDITIONAL_TYPES=Ke.COMPLETIONSTATEMENT_TYPES=Ke.CLASS_TYPES=Ke.BLOCK_TYPES=Ke.BLOCKPARENT_TYPES=Ke.BINARY_TYPES=Ke.ACCESSOR_TYPES=void 0;var ir=Ul(),P9r=Ke.STANDARDIZED_TYPES=ir.FLIPPED_ALIAS_KEYS.Standardized,_9r=Ke.EXPRESSION_TYPES=ir.FLIPPED_ALIAS_KEYS.Expression,C9r=Ke.BINARY_TYPES=ir.FLIPPED_ALIAS_KEYS.Binary,D9r=Ke.SCOPABLE_TYPES=ir.FLIPPED_ALIAS_KEYS.Scopable,N9r=Ke.BLOCKPARENT_TYPES=ir.FLIPPED_ALIAS_KEYS.BlockParent,I9r=Ke.BLOCK_TYPES=ir.FLIPPED_ALIAS_KEYS.Block,O9r=Ke.STATEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.Statement,k9r=Ke.TERMINATORLESS_TYPES=ir.FLIPPED_ALIAS_KEYS.Terminatorless,L9r=Ke.COMPLETIONSTATEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.CompletionStatement,F9r=Ke.CONDITIONAL_TYPES=ir.FLIPPED_ALIAS_KEYS.Conditional,R9r=Ke.LOOP_TYPES=ir.FLIPPED_ALIAS_KEYS.Loop,B9r=Ke.WHILE_TYPES=ir.FLIPPED_ALIAS_KEYS.While,M9r=Ke.EXPRESSIONWRAPPER_TYPES=ir.FLIPPED_ALIAS_KEYS.ExpressionWrapper,j9r=Ke.FOR_TYPES=ir.FLIPPED_ALIAS_KEYS.For,V9r=Ke.FORXSTATEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.ForXStatement,U9r=Ke.FUNCTION_TYPES=ir.FLIPPED_ALIAS_KEYS.Function,q9r=Ke.FUNCTIONPARENT_TYPES=ir.FLIPPED_ALIAS_KEYS.FunctionParent,$9r=Ke.PUREISH_TYPES=ir.FLIPPED_ALIAS_KEYS.Pureish,K9r=Ke.DECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.Declaration,W9r=Ke.PATTERNLIKE_TYPES=ir.FLIPPED_ALIAS_KEYS.PatternLike,G9r=Ke.LVAL_TYPES=ir.FLIPPED_ALIAS_KEYS.LVal,z9r=Ke.TSENTITYNAME_TYPES=ir.FLIPPED_ALIAS_KEYS.TSEntityName,H9r=Ke.LITERAL_TYPES=ir.FLIPPED_ALIAS_KEYS.Literal,Y9r=Ke.IMMUTABLE_TYPES=ir.FLIPPED_ALIAS_KEYS.Immutable,J9r=Ke.USERWHITESPACABLE_TYPES=ir.FLIPPED_ALIAS_KEYS.UserWhitespacable,X9r=Ke.METHOD_TYPES=ir.FLIPPED_ALIAS_KEYS.Method,Q9r=Ke.OBJECTMEMBER_TYPES=ir.FLIPPED_ALIAS_KEYS.ObjectMember,Z9r=Ke.PROPERTY_TYPES=ir.FLIPPED_ALIAS_KEYS.Property,eDr=Ke.UNARYLIKE_TYPES=ir.FLIPPED_ALIAS_KEYS.UnaryLike,tDr=Ke.PATTERN_TYPES=ir.FLIPPED_ALIAS_KEYS.Pattern,rDr=Ke.CLASS_TYPES=ir.FLIPPED_ALIAS_KEYS.Class,a9t=Ke.IMPORTOREXPORTDECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,iDr=Ke.EXPORTDECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.ExportDeclaration,sDr=Ke.MODULESPECIFIER_TYPES=ir.FLIPPED_ALIAS_KEYS.ModuleSpecifier,nDr=Ke.ACCESSOR_TYPES=ir.FLIPPED_ALIAS_KEYS.Accessor,aDr=Ke.PRIVATE_TYPES=ir.FLIPPED_ALIAS_KEYS.Private,oDr=Ke.FLOW_TYPES=ir.FLIPPED_ALIAS_KEYS.Flow,lDr=Ke.FLOWTYPE_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowType,uDr=Ke.FLOWBASEANNOTATION_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,cDr=Ke.FLOWDECLARATION_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowDeclaration,pDr=Ke.FLOWPREDICATE_TYPES=ir.FLIPPED_ALIAS_KEYS.FlowPredicate,fDr=Ke.ENUMBODY_TYPES=ir.FLIPPED_ALIAS_KEYS.EnumBody,dDr=Ke.ENUMMEMBER_TYPES=ir.FLIPPED_ALIAS_KEYS.EnumMember,hDr=Ke.JSX_TYPES=ir.FLIPPED_ALIAS_KEYS.JSX,mDr=Ke.MISCELLANEOUS_TYPES=ir.FLIPPED_ALIAS_KEYS.Miscellaneous,yDr=Ke.TYPESCRIPT_TYPES=ir.FLIPPED_ALIAS_KEYS.TypeScript,gDr=Ke.TSTYPEELEMENT_TYPES=ir.FLIPPED_ALIAS_KEYS.TSTypeElement,bDr=Ke.TSTYPE_TYPES=ir.FLIPPED_ALIAS_KEYS.TSType,vDr=Ke.TSBASETYPE_TYPES=ir.FLIPPED_ALIAS_KEYS.TSBaseType,SDr=Ke.MODULEDECLARATION_TYPES=a9t});var rU=E(tU=>{"use strict";Object.defineProperty(tU,"__esModule",{value:!0});tU.default=o9t;var J_=ln(),eU=za();function o9t(t,e){if((0,J_.isBlockStatement)(t))return t;let r=[];return(0,J_.isEmptyStatement)(t)?r=[]:((0,J_.isStatement)(t)||((0,J_.isFunction)(e)?t=(0,eU.returnStatement)(t):t=(0,eU.expressionStatement)(t)),r=[t]),(0,eU.blockStatement)(r)}});var Jye=E(iU=>{"use strict";Object.defineProperty(iU,"__esModule",{value:!0});iU.default=u9t;var l9t=rU();function u9t(t,e="body"){let r=(0,l9t.default)(t[e],t);return t[e]=r,r}});var nU=E(sU=>{"use strict";Object.defineProperty(sU,"__esModule",{value:!0});sU.default=f9t;var c9t=ab(),p9t=Kd();function f9t(t){t=t+"";let e="";for(let r of t)e+=(0,p9t.isIdentifierChar)(r.codePointAt(0))?r:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(r,i){return i?i.toUpperCase():""}),(0,c9t.default)(e)||(e=`_${e}`),e||"_"}});var Xye=E(aU=>{"use strict";Object.defineProperty(aU,"__esModule",{value:!0});aU.default=h9t;var d9t=nU();function h9t(t){return t=(0,d9t.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var Qye=E(oU=>{"use strict";Object.defineProperty(oU,"__esModule",{value:!0});oU.default=g9t;var m9t=ln(),y9t=za();function g9t(t,e=t.key||t.property){return!t.computed&&(0,m9t.isIdentifier)(e)&&(e=(0,y9t.stringLiteral)(e.name)),e}});var Zye=E(X_=>{"use strict";Object.defineProperty(X_,"__esModule",{value:!0});X_.default=void 0;var ZT=ln(),_Dr=X_.default=b9t;function b9t(t){if((0,ZT.isExpressionStatement)(t)&&(t=t.expression),(0,ZT.isExpression)(t))return t;if((0,ZT.isClass)(t)?t.type="ClassExpression":(0,ZT.isFunction)(t)&&(t.type="FunctionExpression"),!(0,ZT.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var cU=E(uU=>{"use strict";Object.defineProperty(uU,"__esModule",{value:!0});uU.default=lU;var v9t=Ul();function lU(t,e,r){if(!t)return;let i=v9t.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)lU(a,e,r);else lU(n,e,r)}}}});var fU=E(pU=>{"use strict";Object.defineProperty(pU,"__esModule",{value:!0});pU.default=x9t;var S9t=Jd(),e1e=["tokens","start","end","loc","raw","rawValue"],T9t=[...S9t.COMMENT_KEYS,"comments",...e1e];function x9t(t,e={}){let r=e.preserveComments?e1e:T9t;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 hU=E(dU=>{"use strict";Object.defineProperty(dU,"__esModule",{value:!0});dU.default=A9t;var E9t=cU(),w9t=fU();function A9t(t,e){return(0,E9t.default)(t,w9t.default,e),t}});var r1e=E(mU=>{"use strict";Object.defineProperty(mU,"__esModule",{value:!0});mU.default=N0;var t1e=ln(),P9t=Zd(),_9t=hU();function N0(t,e=t.key){let r;return t.kind==="method"?N0.increment()+"":((0,t1e.isIdentifier)(e)?r=e.name:(0,t1e.isStringLiteral)(e)?r=JSON.stringify(e.value):r=JSON.stringify((0,_9t.default)((0,P9t.default)(e))),t.computed&&(r=`[${r}]`),t.static&&(r=`static:${r}`),r)}N0.uid=0;N0.increment=function(){return N0.uid>=Number.MAX_SAFE_INTEGER?N0.uid=0:N0.uid++}});var i1e=E(Z_=>{"use strict";Object.defineProperty(Z_,"__esModule",{value:!0});Z_.default=void 0;var Q_=ln(),C9t=za(),kDr=Z_.default=D9t;function D9t(t,e){if((0,Q_.isStatement)(t))return t;let r=!1,i;if((0,Q_.isClass)(t))r=!0,i="ClassDeclaration";else if((0,Q_.isFunction)(t))r=!0,i="FunctionDeclaration";else if((0,Q_.isAssignmentExpression)(t))return(0,C9t.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 s1e=E(eC=>{"use strict";Object.defineProperty(eC,"__esModule",{value:!0});eC.default=void 0;var N9t=ab(),ga=za(),FDr=eC.default=yU,I9t=Function.call.bind(Object.prototype.toString);function O9t(t){return I9t(t)==="[object RegExp]"}function k9t(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 yU(t){if(t===void 0)return(0,ga.identifier)("undefined");if(t===!0||t===!1)return(0,ga.booleanLiteral)(t);if(t===null)return(0,ga.nullLiteral)();if(typeof t=="string")return(0,ga.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,ga.numericLiteral)(Math.abs(t));else{let r;Number.isNaN(t)?r=(0,ga.numericLiteral)(0):r=(0,ga.numericLiteral)(1),e=(0,ga.binaryExpression)("/",r,(0,ga.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,ga.unaryExpression)("-",e)),e}if(O9t(t)){let e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,ga.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,ga.arrayExpression)(t.map(yU));if(k9t(t)){let e=[];for(let r of Object.keys(t)){let i;(0,N9t.default)(r)?i=(0,ga.identifier)(r):i=(0,ga.stringLiteral)(r),e.push((0,ga.objectProperty)(i,yU(t[r])))}return(0,ga.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var n1e=E(gU=>{"use strict";Object.defineProperty(gU,"__esModule",{value:!0});gU.default=F9t;var L9t=za();function F9t(t,e,r=!1){return t.object=(0,L9t.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!r,t}});var o1e=E(bU=>{"use strict";Object.defineProperty(bU,"__esModule",{value:!0});bU.default=B9t;var a1e=Jd(),R9t=QV();function B9t(t,e){if(!t||!e)return t;for(let r of a1e.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 a1e.INHERIT_KEYS.force)t[r]=e[r];return(0,R9t.default)(t,e),t}});var l1e=E(vU=>{"use strict";Object.defineProperty(vU,"__esModule",{value:!0});vU.default=V9t;var M9t=za(),j9t=Nr();function V9t(t,e){if((0,j9t.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,M9t.memberExpression)(e,t.object),t}});var ex=E(TU=>{"use strict";Object.defineProperty(TU,"__esModule",{value:!0});TU.default=SU;var eh=ln();function SU(t,e,r,i){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||i&&((0,eh.isAssignmentExpression)(a)||(0,eh.isUnaryExpression)(a)))continue;let o=SU.keys[a.type];if((0,eh.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,eh.isExportDeclaration)(a)&&!(0,eh.isExportAllDeclaration)(a)){(0,eh.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,eh.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,eh.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}SU.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 u1e=E(tC=>{"use strict";Object.defineProperty(tC,"__esModule",{value:!0});tC.default=void 0;var U9t=ex(),UDr=tC.default=q9t;function q9t(t,e){return(0,U9t.default)(t,e,!0)}});var c1e=E(EU=>{"use strict";Object.defineProperty(EU,"__esModule",{value:!0});EU.default=K9t;var $9t=Ul();function K9t(t,e,r){typeof e=="function"&&(e={enter:e});let{enter:i,exit:s}=e;xU(t,i,s,r,[])}function xU(t,e,r,i,s){let n=$9t.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}),xU(u,e,r,i,s),s.pop())}else o&&(s.push({node:t,key:a}),xU(o,e,r,i,s),s.pop())}r&&r(t,s,i)}}});var p1e=E(wU=>{"use strict";Object.defineProperty(wU,"__esModule",{value:!0});wU.default=G9t;var W9t=ex();function G9t(t,e,r){if(r&&t.type==="Identifier"&&e.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let i=W9t.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 PU=E(AU=>{"use strict";Object.defineProperty(AU,"__esModule",{value:!0});AU.default=Y9t;var z9t=ln(),H9t=Jd();function Y9t(t){return(0,z9t.isVariableDeclaration)(t)&&(t.kind!=="var"||t[H9t.BLOCK_SCOPED_SYMBOL])}});var d1e=E(_U=>{"use strict";Object.defineProperty(_U,"__esModule",{value:!0});_U.default=X9t;var f1e=ln(),J9t=PU();function X9t(t){return(0,f1e.isFunctionDeclaration)(t)||(0,f1e.isClassDeclaration)(t)||(0,J9t.default)(t)}});var h1e=E(CU=>{"use strict";Object.defineProperty(CU,"__esModule",{value:!0});CU.default=eDt;var Q9t=R_(),Z9t=ln();function eDt(t){return(0,Q9t.default)(t.type,"Immutable")?!0:(0,Z9t.isIdentifier)(t)?t.name==="undefined":!1}});var y1e=E(NU=>{"use strict";Object.defineProperty(NU,"__esModule",{value:!0});NU.default=DU;var m1e=Ul();function DU(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(m1e.NODE_FIELDS[t.type]||t.type),i=m1e.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(!DU(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(!DU(n,a))return!1}}return!0}});var g1e=E(IU=>{"use strict";Object.defineProperty(IU,"__esModule",{value:!0});IU.default=tDt;function tDt(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 b1e=E(OU=>{"use strict";Object.defineProperty(OU,"__esModule",{value:!0});OU.default=rDt;var I0=ln();function rDt(t,e){return(0,I0.isBlockStatement)(t)&&((0,I0.isFunction)(e)||(0,I0.isCatchClause)(e))?!1:(0,I0.isPattern)(t)&&((0,I0.isFunction)(e)||(0,I0.isCatchClause)(e))?!0:(0,I0.isScopable)(t)}});var S1e=E(kU=>{"use strict";Object.defineProperty(kU,"__esModule",{value:!0});kU.default=iDt;var v1e=ln();function iDt(t){return(0,v1e.isImportDefaultSpecifier)(t)||(0,v1e.isIdentifier)(t.imported||t.exported,{name:"default"})}});var T1e=E(LU=>{"use strict";Object.defineProperty(LU,"__esModule",{value:!0});LU.default=aDt;var sDt=ab(),nDt=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 aDt(t){return(0,sDt.default)(t)&&!nDt.has(t)}});var x1e=E(FU=>{"use strict";Object.defineProperty(FU,"__esModule",{value:!0});FU.default=uDt;var oDt=ln(),lDt=Jd();function uDt(t){return(0,oDt.isVariableDeclaration)(t,{kind:"var"})&&!t[lDt.BLOCK_SCOPED_SYMBOL]}});var E1e=E(BU=>{"use strict";Object.defineProperty(BU,"__esModule",{value:!0});BU.default=rC;var cDt=ex(),O0=ln(),RU=za(),pDt=Zd();function rC(t,e,r){let i=[],s=!0;for(let n of t)if((0,O0.isEmptyStatement)(n)||(s=!1),(0,O0.isExpression)(n))i.push(n);else if((0,O0.isExpressionStatement)(n))i.push(n.expression);else if((0,O0.isVariableDeclaration)(n)){if(n.kind!=="var")return;for(let a of n.declarations){let o=(0,cDt.default)(a);for(let l of Object.keys(o))r.push({kind:n.kind,id:(0,pDt.default)(o[l])});a.init&&i.push((0,RU.assignmentExpression)("=",a.id,a.init))}s=!0}else if((0,O0.isIfStatement)(n)){let a=n.consequent?rC([n.consequent],e,r):e.buildUndefinedNode(),o=n.alternate?rC([n.alternate],e,r):e.buildUndefinedNode();if(!a||!o)return;i.push((0,RU.conditionalExpression)(n.test,a,o))}else if((0,O0.isBlockStatement)(n)){let a=rC(n.body,e,r);if(!a)return;i.push(a)}else if((0,O0.isEmptyStatement)(n))t.indexOf(n)===0&&(s=!0);else return;return s&&i.push(e.buildUndefinedNode()),i.length===1?i[0]:(0,RU.sequenceExpression)(i)}});var w1e=E(MU=>{"use strict";Object.defineProperty(MU,"__esModule",{value:!0});MU.default=dDt;var fDt=E1e();function dDt(t,e){if(!(t!=null&&t.length))return;let r=[],i=(0,fDt.default)(t,e,r);if(i){for(let s of r)e.push(s);return i}}});var Nr=E(Qe=>{"use strict";Object.defineProperty(Qe,"__esModule",{value:!0});var sf={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(Qe,"__internal__deprecationWarning",{enumerable:!0,get:function(){return mNt.default}});Object.defineProperty(Qe,"addComment",{enumerable:!0,get:function(){return ADt.default}});Object.defineProperty(Qe,"addComments",{enumerable:!0,get:function(){return PDt.default}});Object.defineProperty(Qe,"appendToMemberExpression",{enumerable:!0,get:function(){return UDt.default}});Object.defineProperty(Qe,"assertNode",{enumerable:!0,get:function(){return gDt.default}});Object.defineProperty(Qe,"buildMatchMemberExpression",{enumerable:!0,get:function(){return hNt.default}});Object.defineProperty(Qe,"clone",{enumerable:!0,get:function(){return TDt.default}});Object.defineProperty(Qe,"cloneDeep",{enumerable:!0,get:function(){return xDt.default}});Object.defineProperty(Qe,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return EDt.default}});Object.defineProperty(Qe,"cloneNode",{enumerable:!0,get:function(){return SDt.default}});Object.defineProperty(Qe,"cloneWithoutLoc",{enumerable:!0,get:function(){return wDt.default}});Object.defineProperty(Qe,"createFlowUnionType",{enumerable:!0,get:function(){return A1e.default}});Object.defineProperty(Qe,"createTSUnionType",{enumerable:!0,get:function(){return vDt.default}});Object.defineProperty(Qe,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return bDt.default}});Object.defineProperty(Qe,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return A1e.default}});Object.defineProperty(Qe,"ensureBlock",{enumerable:!0,get:function(){return ODt.default}});Object.defineProperty(Qe,"getBindingIdentifiers",{enumerable:!0,get:function(){return zDt.default}});Object.defineProperty(Qe,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return HDt.default}});Object.defineProperty(Qe,"inheritInnerComments",{enumerable:!0,get:function(){return _Dt.default}});Object.defineProperty(Qe,"inheritLeadingComments",{enumerable:!0,get:function(){return CDt.default}});Object.defineProperty(Qe,"inheritTrailingComments",{enumerable:!0,get:function(){return NDt.default}});Object.defineProperty(Qe,"inherits",{enumerable:!0,get:function(){return qDt.default}});Object.defineProperty(Qe,"inheritsComments",{enumerable:!0,get:function(){return DDt.default}});Object.defineProperty(Qe,"is",{enumerable:!0,get:function(){return XDt.default}});Object.defineProperty(Qe,"isBinding",{enumerable:!0,get:function(){return QDt.default}});Object.defineProperty(Qe,"isBlockScoped",{enumerable:!0,get:function(){return ZDt.default}});Object.defineProperty(Qe,"isImmutable",{enumerable:!0,get:function(){return eNt.default}});Object.defineProperty(Qe,"isLet",{enumerable:!0,get:function(){return tNt.default}});Object.defineProperty(Qe,"isNode",{enumerable:!0,get:function(){return rNt.default}});Object.defineProperty(Qe,"isNodesEquivalent",{enumerable:!0,get:function(){return iNt.default}});Object.defineProperty(Qe,"isPlaceholderType",{enumerable:!0,get:function(){return sNt.default}});Object.defineProperty(Qe,"isReferenced",{enumerable:!0,get:function(){return nNt.default}});Object.defineProperty(Qe,"isScope",{enumerable:!0,get:function(){return aNt.default}});Object.defineProperty(Qe,"isSpecifierDefault",{enumerable:!0,get:function(){return oNt.default}});Object.defineProperty(Qe,"isType",{enumerable:!0,get:function(){return lNt.default}});Object.defineProperty(Qe,"isValidES3Identifier",{enumerable:!0,get:function(){return uNt.default}});Object.defineProperty(Qe,"isValidIdentifier",{enumerable:!0,get:function(){return cNt.default}});Object.defineProperty(Qe,"isVar",{enumerable:!0,get:function(){return pNt.default}});Object.defineProperty(Qe,"matchesPattern",{enumerable:!0,get:function(){return fNt.default}});Object.defineProperty(Qe,"prependToMemberExpression",{enumerable:!0,get:function(){return $Dt.default}});Qe.react=void 0;Object.defineProperty(Qe,"removeComments",{enumerable:!0,get:function(){return IDt.default}});Object.defineProperty(Qe,"removeProperties",{enumerable:!0,get:function(){return KDt.default}});Object.defineProperty(Qe,"removePropertiesDeep",{enumerable:!0,get:function(){return WDt.default}});Object.defineProperty(Qe,"removeTypeDuplicates",{enumerable:!0,get:function(){return GDt.default}});Object.defineProperty(Qe,"shallowEqual",{enumerable:!0,get:function(){return JDt.default}});Object.defineProperty(Qe,"toBindingIdentifierName",{enumerable:!0,get:function(){return kDt.default}});Object.defineProperty(Qe,"toBlock",{enumerable:!0,get:function(){return LDt.default}});Object.defineProperty(Qe,"toComputedKey",{enumerable:!0,get:function(){return FDt.default}});Object.defineProperty(Qe,"toExpression",{enumerable:!0,get:function(){return RDt.default}});Object.defineProperty(Qe,"toIdentifier",{enumerable:!0,get:function(){return BDt.default}});Object.defineProperty(Qe,"toKeyAlias",{enumerable:!0,get:function(){return MDt.default}});Object.defineProperty(Qe,"toStatement",{enumerable:!0,get:function(){return jDt.default}});Object.defineProperty(Qe,"traverse",{enumerable:!0,get:function(){return iC.default}});Object.defineProperty(Qe,"traverseFast",{enumerable:!0,get:function(){return YDt.default}});Object.defineProperty(Qe,"validate",{enumerable:!0,get:function(){return dNt.default}});Object.defineProperty(Qe,"valueToNode",{enumerable:!0,get:function(){return VDt.default}});var hDt=V0e(),mDt=U0e(),yDt=wye(),gDt=Aye(),jU=Pye();Object.keys(jU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===jU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return jU[t]}})});var bDt=_ye(),A1e=Nye(),vDt=Lye(),VU=za();Object.keys(VU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===VU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return VU[t]}})});var UU=Fye();Object.keys(UU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===UU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return UU[t]}})});var qU=Bye();Object.keys(qU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===qU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return qU[t]}})});var SDt=Zd(),TDt=$ye(),xDt=Kye(),EDt=Wye(),wDt=Gye(),ADt=zye(),PDt=qV(),_Dt=GV(),CDt=HV(),DDt=QV(),NDt=JV(),IDt=Hye(),$U=Yye();Object.keys($U).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===$U[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return $U[t]}})});var KU=Jd();Object.keys(KU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===KU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return KU[t]}})});var ODt=Jye(),kDt=Xye(),LDt=rU(),FDt=Qye(),RDt=Zye(),BDt=nU(),MDt=r1e(),jDt=i1e(),VDt=s1e(),WU=Ul();Object.keys(WU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===WU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return WU[t]}})});var UDt=n1e(),qDt=o1e(),$Dt=l1e(),KDt=fU(),WDt=hU(),GDt=IV(),zDt=ex(),HDt=u1e(),iC=c1e();Object.keys(iC).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===iC[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return iC[t]}})});var YDt=cU(),JDt=L_(),XDt=nb(),QDt=p1e(),ZDt=d1e(),eNt=h1e(),tNt=PU(),rNt=CV(),iNt=y1e(),sNt=nV(),nNt=g1e(),aNt=b1e(),oNt=S1e(),lNt=R_(),uNt=T1e(),cNt=ab(),pNt=x1e(),fNt=Zj(),dNt=U_(),hNt=tV(),GU=ln();Object.keys(GU).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(sf,t)||t in Qe&&Qe[t]===GU[t]||Object.defineProperty(Qe,t,{enumerable:!0,get:function(){return GU[t]}})});var mNt=$T(),rNr=Qe.react={isReactComponent:hDt.default,isCompatTag:mDt.default,buildChildren:yDt.default};Qe.toSequenceExpression=w1e().default});var rx=E(ub=>{"use strict";Object.defineProperty(ub,"__esModule",{value:!0});ub.explode=F1e;ub.isExplodedVisitor=L1e;ub.merge=vNt;ub.verify=R1e;var k1e=Yj(),yNt=Nr(),{DEPRECATED_KEYS:P1e,DEPRECATED_ALIASES:_1e,FLIPPED_ALIAS_KEYS:C1e,TYPES:gNt,__internal__deprecationWarning:D1e}=yNt;function bNt(t){return t in k1e}function L1e(t){return t==null?void 0:t._exploded}function F1e(t){if(L1e(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(k0(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}R1e(t),delete t.__esModule,SNt(t),O1e(t);for(let e of Object.keys(t)){if(k0(e)||!bNt(e))continue;let r=t[e];for(let s of Object.keys(r))r[s]=TNt(e,r[s]);delete t[e];let i=k1e[e];if(i!==null)for(let s of i)t[s]?tx(t[s],r):t[s]=r;else tx(t,r)}for(let e of Object.keys(t)){if(k0(e))continue;let r=C1e[e];if(e in P1e){let s=P1e[e];D1e(e,s,"Visitor "),r=[s]}else if(e in _1e){let s=_1e[e];D1e(e,s,"Visitor "),r=C1e[s]}if(!r)continue;let i=t[e];delete t[e];for(let s of r){let n=t[s];n?tx(n,i):t[s]=Object.assign({},i)}}for(let e of Object.keys(t))k0(e)||O1e(t[e]);return t}function R1e(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")&&N1e(e,t[e]),k0(e))continue;if(gNt.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")N1e(`${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 N1e(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 vNt(t,e=[],r){let i={};for(let s=0;s<t.length;s++){let n=F1e(t[s]),a=e[s],o=n;(a||r)&&(o=I1e(o,a,r)),tx(i,o);for(let l of Object.keys(n)){if(k0(l))continue;let u=n[l];(a||r)&&(u=I1e(u,a,r));let c=i[l]||(i[l]={});tx(c,u)}}return i}function I1e(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 SNt(t){for(let e of Object.keys(t)){if(k0(e))continue;let r=t[e];typeof r=="function"&&(t[e]={enter:r})}}function O1e(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function TNt(t,e){let r=function(i){if(i[`is${t}`]())return e.apply(this,arguments)};return r.toString=()=>e.toString(),r}function k0(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function tx(t,e){for(let r of["enter","exit"])e[r]&&(t[r]=[].concat(t[r]||[],e[r]))}});var L0=E(Xo=>{"use strict";Object.defineProperty(Xo,"__esModule",{value:!0});Xo.clear=xNt;Xo.clearPath=M1e;Xo.clearScope=j1e;Xo.getCachedPaths=ENt;Xo.getOrCreateCachedPaths=wNt;Xo.scope=Xo.path=void 0;var ix=new WeakMap;Xo.path=ix;var B1e=new WeakMap;Xo.scope=B1e;function xNt(){M1e(),j1e()}function M1e(){Xo.path=ix=new WeakMap}function j1e(){Xo.scope=B1e=new WeakMap}var zU=Object.freeze({});function ENt(t,e){var r,i;return t=null,(r=ix.get((i=t)!=null?i:zU))==null?void 0:r.get(e)}function wNt(t,e){var r,i;t=null;let s=ix.get((r=t)!=null?r:zU);s||ix.set((i=t)!=null?i:zU,s=new WeakMap);let n=s.get(e);return n||s.set(e,n=new Map),n}});var q1e=E(JU=>{"use strict";Object.defineProperty(JU,"__esModule",{value:!0});JU.default=CNt;var ANt=Nr(),{cloneNode:HU,exportNamedDeclaration:V1e,exportSpecifier:U1e,identifier:YU,variableDeclaration:PNt,variableDeclarator:_Nt}=ANt;function CNt(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=HU(u)));let p=a?n.node:PNt("var",[_Nt(HU(u),n.node)]),d=V1e(null,[U1e(HU(u),YU("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=>U1e(YU(n),YU(n))),s=V1e(null,i);return t.insertAfter(s),t.replaceWith(e.node),t}});var QU=E(cb=>{"use strict";Object.defineProperty(cb,"__esModule",{value:!0});cb.default=void 0;cb.requeueComputedKeyAndDecorators=XU;cb.skipAllButComputedKey=function(e){e.skip(),e.node.computed&&e.context.maybeQueue(e.get("key"))};function XU(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 DNt={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&XU(t))},Property(t){t.isObjectProperty()||(t.skip(),XU(t))}},NNt=DNt;cb.default=NNt});var $1e=E(sC=>{"use strict";Object.defineProperty(sC,"__esModule",{value:!0});sC.default=void 0;var INt=q1e(),ONt=Nr(),kNt=QU(),LNt=nC(),FNt=rx(),RNt={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,kNt.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)}},ZU=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(ONt.isDeclaration(i)&&!i.id)return}r.isExportAllDeclaration()||(0,INt.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,LNt.traverseNode)(o,(0,FNt.explode)(RNt),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))}};sC.default=ZU});var K1e=E(aC=>{"use strict";Object.defineProperty(aC,"__esModule",{value:!0});aC.default=void 0;var eq=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")&&BNt(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}};aC.default=eq;function BNt(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 W1e=E((cNr,MNt)=>{MNt.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 z1e=E((pNr,G1e)=>{"use strict";G1e.exports=W1e()});var sq=E(uC=>{"use strict";Object.defineProperty(uC,"__esModule",{value:!0});uC.default=void 0;var jNt=$1e(),VNt=sx(),UNt=K1e(),qNt=z1e(),ige=Nr(),H1e=ige,Y1e=L0(),$Nt=rx(),{NOT_LOCAL_BINDING:J1e,callExpression:X1e,cloneNode:Q1e,getBindingIdentifiers:KNt,identifier:pb,isArrayExpression:Z1e,isBinary:WNt,isClass:GNt,isClassBody:zNt,isClassDeclaration:HNt,isExportAllDeclaration:sge,isExportDefaultDeclaration:YNt,isExportNamedDeclaration:tq,isFunctionDeclaration:JNt,isIdentifier:oC,isImportDeclaration:rq,isLiteral:XNt,isMethod:QNt,isModuleSpecifier:ZNt,isNullLiteral:eIt,isObjectExpression:tIt,isProperty:rIt,isPureish:iIt,isRegExpLiteral:sIt,isSuper:nIt,isTaggedTemplateExpression:aIt,isTemplateLiteral:nge,isThisExpression:ege,isUnaryExpression:oIt,isVariableDeclaration:lIt,matchesPattern:uIt,memberExpression:iq,numericLiteral:tge,toIdentifier:cIt,unaryExpression:pIt,variableDeclaration:fIt,variableDeclarator:dIt,isRecordExpression:hIt,isTupleExpression:mIt,isObjectProperty:yIt,isTopicReference:rge,isMetaProperty:gIt,isPrivateName:bIt,isExportDeclaration:vIt}=ige;function os(t,e){switch(t==null?void 0:t.type){default:if(rq(t)||vIt(t)){var r;if((sge(t)||tq(t)||rq(t))&&t.source)os(t.source,e);else if((tq(t)||rq(t))&&(r=t.specifiers)!=null&&r.length)for(let i of t.specifiers)os(i,e);else(YNt(t)||tq(t))&&t.declaration&&os(t.declaration,e)}else ZNt(t)?os(t.local,e):XNt(t)&&!eIt(t)&&!sIt(t)&&!nge(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":os(t.object,e),os(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":os(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let i of t.properties)os(i,e);break;case"SpreadElement":case"RestElement":os(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":os(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"),os(t.argument,e);break;case"AwaitExpression":e.push("await"),os(t.argument,e);break;case"AssignmentExpression":os(t.left,e);break;case"VariableDeclarator":os(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":os(t.id,e);break;case"PrivateName":os(t.id,e);break;case"ParenthesizedExpression":os(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":os(t.argument,e);break;case"MetaProperty":os(t.meta,e),os(t.property,e);break;case"JSXElement":os(t.openingElement,e);break;case"JSXOpeningElement":os(t.name,e);break;case"JSXFragment":os(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":os(t.namespace,e),os(t.name,e);break}}var lC={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(sge(e))return;let i=e.declaration;if(HNt(i)||JNt(i)){let s=i.id;if(!s)return;let n=r.getBinding(s.name);n==null||n.reference(t)}else if(lIt(i))for(let s of i.declarations)for(let n of Object.keys(KNt(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[J1e]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.has("id")&&!t.get("id").node[J1e]&&t.scope.registerBinding("local",t)}},SIt=0,th=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=Y1e.scope.get(r);if((i==null?void 0:i.path)===e)return i;Y1e.scope.set(r,this),this.uid=SIt++,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,VNt.default)(e,r,this,i,this.path)}generateDeclaredUidIdentifier(e){let r=this.generateUidIdentifier(e);return this.push({id:r}),Q1e(r)}generateUidIdentifier(e){return pb(this.generateUid(e))}generateUid(e="temp"){e=cIt(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=[];os(e,i);let s=i.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,r){return pb(this.generateUidBasedOnNode(e,r))}isStatic(e){if(ege(e)||nIt(e)||rge(e))return!0;if(oC(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}),Q1e(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 jNt.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(oC(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(Z1e(e))return e;if(oC(e,{name:"arguments"}))return X1e(iq(iq(iq(pb("Array"),pb("prototype")),pb("slice")),pb("call")),[e]);let s,n=[e];return r===!0?s="toConsumableArray":typeof r=="number"?(n.push(tge(r)),s="slicedToArray"):s="toArray",i&&(n.unshift(this.hub.addHelper(s)),s="maybeArrayLike"),X1e(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 pIt("void",tge(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 UNt.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(oC(e)){let a=this.getBinding(e.name);return a?r?a.constant:!0:!1}else{if(ege(e)||gIt(e)||rge(e)||bIt(e))return!0;if(GNt(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(zNt(e)){for(let a of e.body)if(!this.isPure(a,r))return!1;return!0}else{if(WNt(e))return this.isPure(e.left,r)&&this.isPure(e.right,r);if(Z1e(e)||mIt(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(tIt(e)||hIt(e)){for(let a of e.properties)if(!this.isPure(a,r))return!1;return!0}else if(QNt(e)){var s;return!(e.computed&&!this.isPure(e.key,r)||((s=e.decorators)==null?void 0:s.length)>0)}else if(rIt(e)){var n;return!(e.computed&&!this.isPure(e.key,r)||((n=e.decorators)==null?void 0:n.length)>0||(yIt(e)||e.static)&&e.value!==null&&!this.isPure(e.value,r))}else{if(oIt(e))return this.isPure(e.argument,r);if(aIt(e))return uIt(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,r);if(nge(e)){for(let a of e.expressions)if(!this.isPure(a,r))return!1;return!0}else return iIt(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,$Nt.isExplodedVisitor)(lC)){for(let n of lC.enter)n.call(i,e,i);let s=lC[e.type];if(s)for(let n of s.enter)n.call(i,e,i)}e.traverse(lC,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&&H1e.isCallExpression(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&H1e.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=fIt(n,[]);d._blockHoist=o,[u]=r.unshiftContainer("body",[d]),s||r.setData(l,u)}let c=dIt(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)&&th.globals.includes(e)||!((n=r)!=null&&n.noGlobals)&&th.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)}};uC.default=th;th.globals=Object.keys(qNt.builtin);th.contextVariables=["arguments","undefined","Infinity","NaN"]});var oge=E((cC,age)=>{(function(t,e){typeof cC=="object"&&typeof age<"u"?e(cC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.setArray={}))})(cC,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 nq=E((pC,lge)=>{(function(t,e){typeof pC=="object"&&typeof lge<"u"?e(pC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(pC,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=[],S=0;do{let x=l(m,S),v=[],w=!0,A=0;g[0]=0;for(let C=S;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),S=x+1}while(S<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,S){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[S]+=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,S=b-36,x=new Uint8Array(b),v=x.subarray(0,S),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>S&&(A+=a.decode(v),x.copyWithin(0,S,w),w-=S),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,S,x){let v=S[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((fC,uge)=>{(function(t,e){typeof fC=="object"&&typeof uge<"u"?e(fC):typeof define=="function"&&define.amd?define(["exports"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(t.sourcemapCodec={}))})(fC,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=[],S=0;do{let x=l(m,S),v=[],w=!0,A=0;g[0]=0;for(let C=S;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),S=x+1}while(S<=m.length);return b}function l(m,g){let b=m.indexOf(";",g);return b===-1?m.length:b}function u(m,g,b,S){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[S]+=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,S=b-36,x=new Uint8Array(b),v=x.subarray(0,S),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>S&&(A+=a.decode(v),x.copyWithin(0,S,w),w-=S),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,S,x){let v=S[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 lq=E((aq,oq)=>{(function(t,e){typeof aq=="object"&&typeof oq<"u"?oq.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(aq,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 S=e.exec(b);return p(S[1],S[2]||"",S[3],S[4]||"",S[5]||"/",S[6]||"",S[7]||"")}function c(b){let S=r.exec(b),x=S[2];return p("file:","",S[1]||"","",a(x)?x:"/"+x,S[3]||"",S[4]||"")}function p(b,S,x,v,w,A,C){return{scheme:b,user:S,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 S=u("http://foo.com/"+b);return S.scheme="",S.host="",S.type=b?b.startsWith("?")?i.Query:b.startsWith("#")?i.Hash:i.RelativePath:i.Empty,S}function f(b){if(b.endsWith("/.."))return b;let S=b.lastIndexOf("/");return b.slice(0,S+1)}function h(b,S){m(S,S.type),b.path==="/"?b.path=S.path:b.path=f(S.path)+b.path}function m(b,S){let x=S<=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,S){if(!b&&!S)return"";let x=d(b),v=x.type;if(S&&v!==i.Absolute){let A=d(S),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(S||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 fge=E((dC,pge)=>{(function(t,e){typeof dC=="object"&&typeof pge<"u"?e(dC,cge(),lq()):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))})(dC,function(t,e,r){"use strict";function i(ye){return ye&&typeof ye=="object"&&"default"in ye?ye:{default:ye}}var s=i(r);function n(ye,pe){return pe&&!pe.endsWith("/")&&(pe+="/"),s.default(ye,pe)}function a(ye){if(!ye)return"";let pe=ye.lastIndexOf("/");return ye.slice(0,pe+1)}let o=0,l=1,u=2,c=3,p=4,d=1,f=2;function h(ye,pe){let le=m(ye,0);if(le===ye.length)return ye;pe||(ye=ye.slice());for(let Be=le;Be<ye.length;Be=m(ye,Be+1))ye[Be]=b(ye[Be],pe);return ye}function m(ye,pe){for(let le=pe;le<ye.length;le++)if(!g(ye[le]))return le;return ye.length}function g(ye){for(let pe=1;pe<ye.length;pe++)if(ye[pe][o]<ye[pe-1][o])return!1;return!0}function b(ye,pe){return pe||(ye=ye.slice()),ye.sort(S)}function S(ye,pe){return ye[o]-pe[o]}let x=!1;function v(ye,pe,le,Be){for(;le<=Be;){let Se=le+(Be-le>>1),De=ye[Se][o]-pe;if(De===0)return x=!0,Se;De<0?le=Se+1:Be=Se-1}return x=!1,le-1}function w(ye,pe,le){for(let Be=le+1;Be<ye.length&&ye[Be][o]===pe;le=Be++);return le}function A(ye,pe,le){for(let Be=le-1;Be>=0&&ye[Be][o]===pe;le=Be--);return le}function C(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function K(ye,pe,le,Be){let{lastKey:Se,lastNeedle:De,lastIndex:st}=le,Lt=0,mt=ye.length-1;if(Be===Se){if(pe===De)return x=st!==-1&&ye[st][o]===pe,st;pe>=De?Lt=st===-1?0:st:mt=st}return le.lastKey=Be,le.lastNeedle=pe,le.lastIndex=v(ye,pe,Lt,mt)}function F(ye,pe){let le=pe.map(X);for(let Be=0;Be<ye.length;Be++){let Se=ye[Be];for(let De=0;De<Se.length;De++){let st=Se[De];if(st.length===1)continue;let Lt=st[l],mt=st[u],er=st[c],Er=le[Lt],Cr=Er[mt]||(Er[mt]=[]),mi=pe[Lt],ls=w(Cr,er,K(Cr,er,mi,mt));Q(Cr,mi.lastIndex=ls+1,[er,Be,st[o]])}}return le}function Q(ye,pe,le){for(let Be=ye.length;Be>pe;Be--)ye[Be]=ye[Be-1];ye[pe]=le}function X(){return{__proto__:null}}let xe=function(ye,pe){let le=typeof ye=="string"?JSON.parse(ye):ye;if(!("sections"in le))return new Me(le,pe);let Be=[],Se=[],De=[],st=[];We(le,pe,Be,Se,De,st,0,0,1/0,1/0);let Lt={version:3,file:le.file,names:st,sources:Se,sourcesContent:De,mappings:Be};return t.presortedDecodedMap(Lt)};function We(ye,pe,le,Be,Se,De,st,Lt,mt,er){let{sections:Er}=ye;for(let Cr=0;Cr<Er.length;Cr++){let{map:mi,offset:ls}=Er[Cr],ge=mt,je=er;if(Cr+1<Er.length){let Pe=Er[Cr+1].offset;ge=Math.min(mt,st+Pe.line),ge===mt?je=Math.min(er,Lt+Pe.column):ge<mt&&(je=Lt+Pe.column)}ze(mi,pe,le,Be,Se,De,st+ls.line,Lt+ls.column,ge,je)}}function ze(ye,pe,le,Be,Se,De,st,Lt,mt,er){if("sections"in ye)return We(...arguments);let Er=new Me(ye,pe),Cr=Be.length,mi=De.length,ls=t.decodedMappings(Er),{resolvedSources:ge,sourcesContent:je}=Er;if(ae(Be,ge),ae(De,Er.names),je)ae(Se,je);else for(let Pe=0;Pe<ge.length;Pe++)Se.push(null);for(let Pe=0;Pe<ls.length;Pe++){let He=st+Pe;if(He>mt)return;let yt=ne(le,He),Et=Pe===0?Lt:0,hr=ls[Pe];for(let et=0;et<hr.length;et++){let Wt=hr[et],nt=Et+Wt[o];if(He===mt&&nt>=er)return;if(Wt.length===1){yt.push([nt]);continue}let Xt=Cr+Wt[l],vr=Wt[u],Dr=Wt[c];yt.push(Wt.length===4?[nt,Xt,vr,Dr]:[nt,Xt,vr,Dr,mi+Wt[p]])}}}function ae(ye,pe){for(let le=0;le<pe.length;le++)ye.push(pe[le])}function ne(ye,pe){for(let le=ye.length;le<=pe;le++)ye[le]=[];return ye[pe]}let Ne="`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)",xt=-1,ue=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 Me{constructor(pe,le){let Be=typeof pe=="string";if(!Be&&pe._decodedMemo)return pe;let Se=Be?JSON.parse(pe):pe,{version:De,file:st,names:Lt,sourceRoot:mt,sources:er,sourcesContent:Er}=Se;this.version=De,this.file=st,this.names=Lt,this.sourceRoot=mt,this.sources=er,this.sourcesContent=Er;let Cr=n(mt||"",a(le));this.resolvedSources=er.map(ls=>n(ls||"",Cr));let{mappings:mi}=Se;typeof mi=="string"?(this._encoded=mi,this._decoded=void 0):(this._encoded=void 0,this._decoded=h(mi,Be)),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,Be)=>{let Se=t.decodedMappings(pe);if(le>=Se.length)return null;let De=Se[le],st=Ae(De,pe._decodedMemo,le,Be,ue);return st===-1?null:De[st]},t.originalPositionFor=(pe,{line:le,column:Be,bias:Se})=>{if(le--,le<0)throw new Error(Ne);if(Be<0)throw new Error(Ue);let De=t.decodedMappings(pe);if(le>=De.length)return Te(null,null,null,null);let st=De[le],Lt=Ae(st,pe._decodedMemo,le,Be,Se||ue);if(Lt===-1)return Te(null,null,null,null);let mt=st[Lt];if(mt.length===1)return Te(null,null,null,null);let{names:er,resolvedSources:Er}=pe;return Te(Er[mt[l]],mt[u]+1,mt[c],mt.length===5?er[mt[p]]:null)},t.allGeneratedPositionsFor=(pe,{source:le,line:Be,column:Se,bias:De})=>ye(pe,le,Be,Se,De||xt,!0),t.generatedPositionFor=(pe,{source:le,line:Be,column:Se,bias:De})=>ye(pe,le,Be,Se,De||ue,!1),t.eachMapping=(pe,le)=>{let Be=t.decodedMappings(pe),{names:Se,resolvedSources:De}=pe;for(let st=0;st<Be.length;st++){let Lt=Be[st];for(let mt=0;mt<Lt.length;mt++){let er=Lt[mt],Er=st+1,Cr=er[0],mi=null,ls=null,ge=null,je=null;er.length!==1&&(mi=De[er[1]],ls=er[2]+1,ge=er[3]),er.length===5&&(je=Se[er[4]]),le({generatedLine:Er,generatedColumn:Cr,source:mi,originalLine:ls,originalColumn:ge,name:je})}}},t.sourceContentFor=(pe,le)=>{let{sources:Be,resolvedSources:Se,sourcesContent:De}=pe;if(De==null)return null;let st=Be.indexOf(le);return st===-1&&(st=Se.indexOf(le)),st===-1?null:De[st]},t.presortedDecodedMap=(pe,le)=>{let Be=new Me(Z(pe,[]),le);return Be._decoded=pe.mappings,Be},t.decodedMap=pe=>Z(pe,t.decodedMappings(pe)),t.encodedMap=pe=>Z(pe,t.encodedMappings(pe));function ye(pe,le,Be,Se,De,st){if(Be--,Be<0)throw new Error(Ne);if(Se<0)throw new Error(Ue);let{sources:Lt,resolvedSources:mt}=pe,er=Lt.indexOf(le);if(er===-1&&(er=mt.indexOf(le)),er===-1)return st?[]:we(null,null);let Cr=(pe._bySources||(pe._bySources=F(t.decodedMappings(pe),pe._bySourceMemos=Lt.map(C))))[er][Be];if(Cr==null)return st?[]:we(null,null);let mi=pe._bySourceMemos[er];if(st)return Ve(Cr,mi,Be,Se,De);let ls=Ae(Cr,mi,Be,Se,De);if(ls===-1)return we(null,null);let ge=Cr[ls];return we(ge[d]+1,ge[f])}})();function Z(ye,pe){return{version:ye.version,file:ye.file,names:ye.names,sourceRoot:ye.sourceRoot,sources:ye.sources,sourcesContent:ye.sourcesContent,mappings:pe}}function Te(ye,pe,le,Be){return{source:ye,line:pe,column:le,name:Be}}function we(ye,pe){return{line:ye,column:pe}}function Ae(ye,pe,le,Be,Se){let De=K(ye,Be,pe,le);return x?De=(Se===xt?w:A)(ye,Be,De):Se===xt&&De++,De===-1||De===ye.length?-1:De}function Ve(ye,pe,le,Be,Se){let De=Ae(ye,pe,le,Be,ue);if(!x&&Se===xt&&De++,De===-1||De===ye.length)return[];let st=x?Be:ye[De][o];x||(De=A(ye,st,De));let Lt=w(ye,st,De),mt=[];for(;De<=Lt;De++){let er=ye[De];mt.push(we(er[d]+1,er[f]))}return mt}t.AnyMap=xe,t.GREATEST_LOWER_BOUND=ue,t.LEAST_UPPER_BOUND=xt,t.TraceMap=Me,Object.defineProperty(t,"__esModule",{value:!0})})});var hge=E((hC,dge)=>{(function(t,e){typeof hC=="object"&&typeof dge<"u"?e(hC,oge(),nq(),fge()):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))})(hC,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 xe=Q[X],We={line:F+1,column:xe[0]},ze,ae,ne;xe.length!==1&&(ze=C.array[xe[1]],ae={line:xe[2]+1,column:xe[3]},xe.length===5&&(ne=K.array[xe[4]])),w.push({generated:We,source:ze,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,xe)=>{let{_mappings:We,_sources:ze,_sourcesContent:ae,_names:ne}=w,Ne=d(We,A),Ue=f(Ne,C);if(!K)return v&&b(Ne,Ue)?void 0:h(Ne,Ue,[C]);let xt=e.put(ze,K),ue=X?e.put(ne,X):-1;if(xt===ae.length&&(ae[xt]=xe!=null?xe:null),!(v&&S(Ne,Ue,xt,F,Q,ue)))return h(Ne,Ue,X?[C,xt,F,Q,ue]:[C,xt,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 S(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 xe=K;return c(v,w,C.line-1,C.column,xe,F.line-1,F.column,Q,X)}t.GenMapping=p,Object.defineProperty(t,"__esModule",{value:!0})})});var yge=E((mC,mge)=>{(function(t,e){typeof mC=="object"&&typeof mge<"u"?e(mC,nq(),lq()):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))})(mC,function(t,e,r){"use strict";function i(ge,je){return je&&!je.endsWith("/")&&(je+="/"),r(ge,je)}function s(ge){if(!ge)return"";let je=ge.lastIndexOf("/");return ge.slice(0,je+1)}let n=0,a=1,o=2,l=3,u=4,c=1,p=2;function d(ge,je){let Pe=f(ge,0);if(Pe===ge.length)return ge;je||(ge=ge.slice());for(let He=Pe;He<ge.length;He=f(ge,He+1))ge[He]=m(ge[He],je);return ge}function f(ge,je){for(let Pe=je;Pe<ge.length;Pe++)if(!h(ge[Pe]))return Pe;return ge.length}function h(ge){for(let je=1;je<ge.length;je++)if(ge[je][n]<ge[je-1][n])return!1;return!0}function m(ge,je){return je||(ge=ge.slice()),ge.sort(g)}function g(ge,je){return ge[n]-je[n]}let b=!1;function S(ge,je,Pe,He){for(;Pe<=He;){let yt=Pe+(He-Pe>>1),Et=ge[yt][n]-je;if(Et===0)return b=!0,yt;Et<0?Pe=yt+1:He=yt-1}return b=!1,Pe-1}function x(ge,je,Pe){for(let He=Pe+1;He<ge.length&&ge[He][n]===je;Pe=He++);return Pe}function v(ge,je,Pe){for(let He=Pe-1;He>=0&&ge[He][n]===je;Pe=He--);return Pe}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function A(ge,je,Pe,He){let{lastKey:yt,lastNeedle:Et,lastIndex:hr}=Pe,et=0,Wt=ge.length-1;if(He===yt){if(je===Et)return b=hr!==-1&&ge[hr][n]===je,hr;je>=Et?et=hr===-1?0:hr:Wt=hr}return Pe.lastKey=He,Pe.lastNeedle=je,Pe.lastIndex=S(ge,je,et,Wt)}function C(ge,je){let Pe=je.map(F);for(let He=0;He<ge.length;He++){let yt=ge[He];for(let Et=0;Et<yt.length;Et++){let hr=yt[Et];if(hr.length===1)continue;let et=hr[a],Wt=hr[o],nt=hr[l],Xt=Pe[et],vr=Xt[Wt]||(Xt[Wt]=[]),Dr=je[et],ys=x(vr,nt,A(vr,nt,Dr,Wt));Dr.lastIndex=++ys,K(vr,ys,[nt,He,hr[n]])}}return Pe}function K(ge,je,Pe){for(let He=ge.length;He>je;He--)ge[He]=ge[He-1];ge[je]=Pe}function F(){return{__proto__:null}}let Q=function(ge,je){let Pe=X(ge);if(!("sections"in Pe))return new ue(Pe,je);let He=[],yt=[],Et=[],hr=[],et=[];xe(Pe,je,He,yt,Et,hr,et,0,0,1/0,1/0);let Wt={version:3,file:Pe.file,names:hr,sources:yt,sourcesContent:Et,mappings:He,ignoreList:et};return De(Wt)};function X(ge){return typeof ge=="string"?JSON.parse(ge):ge}function xe(ge,je,Pe,He,yt,Et,hr,et,Wt,nt,Xt){let{sections:vr}=ge;for(let Dr=0;Dr<vr.length;Dr++){let{map:ys,offset:ao}=vr[Dr],oo=nt,pn=Xt;if(Dr+1<vr.length){let Js=vr[Dr+1].offset;oo=Math.min(nt,et+Js.line),oo===nt?pn=Math.min(Xt,Wt+Js.column):oo<nt&&(pn=Wt+Js.column)}We(ys,je,Pe,He,yt,Et,hr,et+ao.line,Wt+ao.column,oo,pn)}}function We(ge,je,Pe,He,yt,Et,hr,et,Wt,nt,Xt){let vr=X(ge);if("sections"in vr)return xe(...arguments);let Dr=new ue(vr,je),ys=He.length,ao=Et.length,oo=Te(Dr),{resolvedSources:pn,sourcesContent:Js,ignoreList:Ni}=Dr;if(ze(He,pn),ze(Et,Dr.names),Js)ze(yt,Js);else for(let he=0;he<pn.length;he++)yt.push(null);if(Ni)for(let he=0;he<Ni.length;he++)hr.push(Ni[he]+ys);for(let he=0;he<oo.length;he++){let oe=et+he;if(oe>nt)return;let Ye=ae(Pe,oe),mr=he===0?Wt:0,Xs=oo[he];for(let na=0;na<Xs.length;na++){let su=Xs[na],ec=mr+su[n];if(oe===nt&&ec>=Xt)return;if(su.length===1){Ye.push([ec]);continue}let ed=ys+su[a],Qv=su[o],Zv=su[l];Ye.push(su.length===4?[ec,ed,Qv,Zv]:[ec,ed,Qv,Zv,ao+su[u]])}}}function ze(ge,je){for(let Pe=0;Pe<je.length;Pe++)ge.push(je[Pe])}function ae(ge,je){for(let Pe=ge.length;Pe<=je;Pe++)ge[Pe]=[];return ge[je]}let ne="`line` must be greater than 0 (lines start at line 1)",Ne="`column` must be greater than or equal to 0 (columns start at column 0)",Ue=-1,xt=1;class ue{constructor(je,Pe){let He=typeof je=="string";if(!He&&je._decodedMemo)return je;let yt=He?JSON.parse(je):je,{version:Et,file:hr,names:et,sourceRoot:Wt,sources:nt,sourcesContent:Xt}=yt;this.version=Et,this.file=hr,this.names=et||[],this.sourceRoot=Wt,this.sources=nt,this.sourcesContent=Xt,this.ignoreList=yt.ignoreList||yt.x_google_ignoreList||void 0;let vr=i(Wt||"",s(Pe));this.resolvedSources=nt.map(ys=>i(ys||"",vr));let{mappings:Dr}=yt;typeof Dr=="string"?(this._encoded=Dr,this._decoded=void 0):(this._encoded=void 0,this._decoded=d(Dr,He)),this._decodedMemo=w(),this._bySources=void 0,this._bySourceMemos=void 0}}function Me(ge){return ge}function Z(ge){var je,Pe;return(je=(Pe=ge)._encoded)!==null&&je!==void 0?je:Pe._encoded=e.encode(ge._decoded)}function Te(ge){var je;return(je=ge)._decoded||(je._decoded=e.decode(ge._encoded))}function we(ge,je,Pe){let He=Te(ge);if(je>=He.length)return null;let yt=He[je],Et=Cr(yt,ge._decodedMemo,je,Pe,xt);return Et===-1?null:yt[Et]}function Ae(ge,je){let{line:Pe,column:He,bias:yt}=je;if(Pe--,Pe<0)throw new Error(ne);if(He<0)throw new Error(Ne);let Et=Te(ge);if(Pe>=Et.length)return er(null,null,null,null);let hr=Et[Pe],et=Cr(hr,ge._decodedMemo,Pe,He,yt||xt);if(et===-1)return er(null,null,null,null);let Wt=hr[et];if(Wt.length===1)return er(null,null,null,null);let{names:nt,resolvedSources:Xt}=ge;return er(Xt[Wt[a]],Wt[o]+1,Wt[l],Wt.length===5?nt[Wt[u]]:null)}function Ve(ge,je){let{source:Pe,line:He,column:yt,bias:Et}=je;return ls(ge,Pe,He,yt,Et||xt,!1)}function ye(ge,je){let{source:Pe,line:He,column:yt,bias:Et}=je;return ls(ge,Pe,He,yt,Et||Ue,!0)}function pe(ge,je){let Pe=Te(ge),{names:He,resolvedSources:yt}=ge;for(let Et=0;Et<Pe.length;Et++){let hr=Pe[Et];for(let et=0;et<hr.length;et++){let Wt=hr[et],nt=Et+1,Xt=Wt[0],vr=null,Dr=null,ys=null,ao=null;Wt.length!==1&&(vr=yt[Wt[1]],Dr=Wt[2]+1,ys=Wt[3]),Wt.length===5&&(ao=He[Wt[4]]),je({generatedLine:nt,generatedColumn:Xt,source:vr,originalLine:Dr,originalColumn:ys,name:ao})}}}function le(ge,je){let{sources:Pe,resolvedSources:He}=ge,yt=Pe.indexOf(je);return yt===-1&&(yt=He.indexOf(je)),yt}function Be(ge,je){let{sourcesContent:Pe}=ge;if(Pe==null)return null;let He=le(ge,je);return He===-1?null:Pe[He]}function Se(ge,je){let{ignoreList:Pe}=ge;if(Pe==null)return!1;let He=le(ge,je);return He===-1?!1:Pe.includes(He)}function De(ge,je){let Pe=new ue(mt(ge,[]),je);return Pe._decoded=ge.mappings,Pe}function st(ge){return mt(ge,Te(ge))}function Lt(ge){return mt(ge,Z(ge))}function mt(ge,je){return{version:ge.version,file:ge.file,names:ge.names,sourceRoot:ge.sourceRoot,sources:ge.sources,sourcesContent:ge.sourcesContent,mappings:je,ignoreList:ge.ignoreList||ge.x_google_ignoreList}}function er(ge,je,Pe,He){return{source:ge,line:je,column:Pe,name:He}}function Er(ge,je){return{line:ge,column:je}}function Cr(ge,je,Pe,He,yt){let Et=A(ge,He,je,Pe);return b?Et=(yt===Ue?x:v)(ge,He,Et):yt===Ue&&Et++,Et===-1||Et===ge.length?-1:Et}function mi(ge,je,Pe,He,yt){let Et=Cr(ge,je,Pe,He,xt);if(!b&&yt===Ue&&Et++,Et===-1||Et===ge.length)return[];let hr=b?He:ge[Et][n];b||(Et=v(ge,hr,Et));let et=x(ge,hr,Et),Wt=[];for(;Et<=et;Et++){let nt=ge[Et];Wt.push(Er(nt[c]+1,nt[p]))}return Wt}function ls(ge,je,Pe,He,yt,Et){var hr;if(Pe--,Pe<0)throw new Error(ne);if(He<0)throw new Error(Ne);let{sources:et,resolvedSources:Wt}=ge,nt=et.indexOf(je);if(nt===-1&&(nt=Wt.indexOf(je)),nt===-1)return Et?[]:Er(null,null);let vr=((hr=ge)._bySources||(hr._bySources=C(Te(ge),ge._bySourceMemos=et.map(w))))[nt][Pe];if(vr==null)return Et?[]:Er(null,null);let Dr=ge._bySourceMemos[nt];if(Et)return mi(vr,Dr,Pe,He,yt);let ys=Cr(vr,Dr,Pe,He,yt);if(ys===-1)return Er(null,null);let ao=vr[ys];return Er(ao[c]+1,ao[p])}t.AnyMap=Q,t.GREATEST_LOWER_BOUND=xt,t.LEAST_UPPER_BOUND=Ue,t.TraceMap=ue,t.allGeneratedPositionsFor=ye,t.decodedMap=st,t.decodedMappings=Te,t.eachMapping=pe,t.encodedMap=Lt,t.encodedMappings=Z,t.generatedPositionFor=Ve,t.isIgnored=Se,t.originalPositionFor=Ae,t.presortedDecodedMap=De,t.sourceContentFor=Be,t.traceSegment=we})});var gge=E(yC=>{"use strict";Object.defineProperty(yC,"__esModule",{value:!0});yC.default=void 0;var rh=hge(),uq=yge(),cq=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 rh.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 uq.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var n;(0,rh.setSourceContent)(s,a[o],(n=this._inputMap.sourcesContent)==null?void 0:n[o])}}if(typeof r=="string"&&!e.inputSourceMap)(0,rh.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,rh.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,rh.toEncodedMap)(this._map)}getDecoded(){return(0,rh.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,rh.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,uq.originalPositionFor)(this._inputMap,{line:r,column:i}),!l.name&&n){let u=(0,uq.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,rh.maybeAddMapping)(this._map,{name:s,generated:e,source:(o=l)==null?void 0:o.source,original:l})}};yC.default=cq});var bge=E(gC=>{"use strict";Object.defineProperty(gC,"__esModule",{value:!0});gC.default=void 0;var pq=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}};gC.default=pq});var Ege=E(vC=>{"use strict";Object.defineProperty(vC,"__esModule",{value:!0});vC.nodes=void 0;var TIt=Nr(),{FLIPPED_ALIAS_KEYS:xIt,isArrayExpression:EIt,isAssignmentExpression:Sge,isBinary:Tge,isBlockStatement:wIt,isCallExpression:xge,isFunction:nx,isIdentifier:bC,isLiteral:AIt,isMemberExpression:fq,isObjectExpression:PIt,isOptionalCallExpression:_It,isOptionalMemberExpression:CIt,isStringLiteral:DIt}=TIt;function fb(t,e){return t&&(fq(t)||CIt(t)?(fb(t.object,e),t.computed&&fb(t.property,e)):Tge(t)||Sge(t)?(fb(t.left,e),fb(t.right,e)):xge(t)||_It(t)?(e.hasCall=!0,fb(t.callee,e)):nx(t)?e.hasFunction=!0:bC(t)&&(e.hasHelper=e.hasHelper||t.callee&&nf(t.callee))),e}function vge(t){return fb(t,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function nf(t){return t?fq(t)?nf(t.object)||nf(t.property):bC(t)?t.name==="require"||t.name.charCodeAt(0)===95:xge(t)?nf(t.callee):Tge(t)||Sge(t)?bC(t.left)&&nf(t.left)||nf(t.right):!1:!1}function NIt(t){return AIt(t)||PIt(t)||EIt(t)||bC(t)||fq(t)}var F0=vC.nodes={AssignmentExpression(t){let e=vge(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(nx(t.left)||nx(t.right))return 2},Literal(t){if(DIt(t)&&t.value==="use strict")return 2},CallExpression(t){if(nx(t.callee)||nf(t))return 3},OptionalCallExpression(t){if(nx(t.callee))return 3},VariableDeclaration(t){for(let e=0;e<t.declarations.length;e++){let r=t.declarations[e],i=nf(r.id)&&!NIt(r.init);if(!i&&r.init){let s=vge(r.init);i=nf(r.init)&&s.hasCall||s.hasFunction}if(i)return 3}},IfStatement(t){if(wIt(t.consequent))return 3}};F0.ObjectProperty=F0.ObjectTypeProperty=F0.ObjectMethod=function(t,e){if(e.properties[0]===t)return 1};F0.ObjectTypeCallProperty=function(t,e){var r;if(e.callProperties[0]===t&&!((r=e.properties)!=null&&r.length))return 1};F0.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};F0.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(xIt[t]||[]).forEach(function(r){let i=e?3:0;F0[r]=()=>i})})});var Cge=E(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.ArrowFunctionExpression=n7t;Pi.AssignmentExpression=o7t;Pi.Binary=zIt;Pi.BinaryExpression=e7t;Pi.ClassExpression=i7t;Pi.ConditionalExpression=dq;Pi.DoExpression=GIt;Pi.FunctionExpression=s7t;Pi.FunctionTypeAnnotation=$It;Pi.Identifier=u7t;Pi.LogicalExpression=l7t;Pi.NullableTypeAnnotation=qIt;Pi.ObjectExpression=WIt;Pi.OptionalIndexedAccessType=YIt;Pi.OptionalCallExpression=Pi.OptionalMemberExpression=a7t;Pi.SequenceExpression=t7t;Pi.TSTypeAssertion=Pi.TSSatisfiesExpression=Pi.TSAsExpression=JIt;Pi.TSInferType=QIt;Pi.TSInstantiationExpression=ZIt;Pi.TSIntersectionType=Pi.TSUnionType=XIt;Pi.UnaryLike=_ge;Pi.IntersectionTypeAnnotation=Pi.UnionTypeAnnotation=HIt;Pi.UpdateExpression=KIt;Pi.AwaitExpression=Pi.YieldExpression=r7t;var IIt=Nr(),{isArrayTypeAnnotation:OIt,isArrowFunctionExpression:kIt,isBinaryExpression:LIt,isCallExpression:FIt,isExportDeclaration:RIt,isForOfStatement:BIt,isIndexedAccessType:MIt,isMemberExpression:Age,isObjectPattern:jIt,isOptionalMemberExpression:VIt,isYieldExpression:UIt}=IIt,wge=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 Pge(t){return t==="TSAsExpression"||t==="TSSatisfiesExpression"||t==="TSTypeAssertion"}var SC=(t,e)=>{let r=e.type;return(r==="ClassDeclaration"||r==="ClassExpression")&&e.superClass===t},ax=(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 qIt(t,e){return OIt(e)}function $It(t,e,r){if(r.length<3)return;let i=e.type;return i==="UnionTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="ArrayTypeAnnotation"||i==="TypeAnnotation"&&kIt(r[r.length-3])}function KIt(t,e){return ax(t,e)||SC(t,e)}function WIt(t,e,r){return ox(r,3)}function GIt(t,e,r){return!t.async&&ox(r,1)}function zIt(t,e){let r=e.type;if(t.operator==="**"&&r==="BinaryExpression"&&e.operator==="**")return e.left===t;if(SC(t,e)||ax(t,e)||r==="UnaryExpression"||r==="SpreadElement"||r==="AwaitExpression")return!0;if(r==="BinaryExpression"||r==="LogicalExpression"){let i=wge.get(e.operator),s=wge.get(t.operator);if(i===s&&e.right===t&&r!=="LogicalExpression"||i>s)return!0}}function HIt(t,e){let r=e.type;return r==="ArrayTypeAnnotation"||r==="NullableTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="UnionTypeAnnotation"}function YIt(t,e){return MIt(e)&&e.objectType===t}function JIt(){return!0}function XIt(t,e){let r=e.type;return r==="TSArrayType"||r==="TSOptionalType"||r==="TSIntersectionType"||r==="TSUnionType"||r==="TSRestType"}function QIt(t,e){let r=e.type;return r==="TSArrayType"||r==="TSOptionalType"}function ZIt(t,e){let r=e.type;return(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression"||r==="TSInstantiationExpression")&&!!e.typeParameters}function e7t(t,e){if(t.operator==="in"){let r=e.type;return r==="VariableDeclarator"||r==="ForStatement"||r==="ForInStatement"||r==="ForOfStatement"}return!1}function t7t(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 r7t(t,e){let r=e.type;return r==="BinaryExpression"||r==="LogicalExpression"||r==="UnaryExpression"||r==="SpreadElement"||ax(t,e)||r==="AwaitExpression"&&UIt(t)||r==="ConditionalExpression"&&t===e.test||SC(t,e)}function i7t(t,e,r){return ox(r,5)}function _ge(t,e){return ax(t,e)||LIt(e)&&e.operator==="**"&&e.left===t||SC(t,e)}function s7t(t,e,r){return ox(r,5)}function n7t(t,e){return RIt(e)||dq(t,e)}function dq(t,e){let r=e.type;return r==="UnaryExpression"||r==="SpreadElement"||r==="BinaryExpression"||r==="LogicalExpression"||r==="ConditionalExpression"&&e.test===t||r==="AwaitExpression"||Pge(r)?!0:_ge(t,e)}function a7t(t,e){return FIt(e)&&e.callee===t||Age(e)&&e.object===t}function o7t(t,e){return jIt(t.left)?!0:dq(t,e)}function l7t(t,e){let r=e.type;if(Pge(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 u7t(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=Age(e,{object:t,computed:!0})||VIt(e,{object:t,computed:!0,optional:!1});return ox(r,n?57:32)}return t.name==="async"&&BIt(e)&&t===e.left}function ox(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&&(ax(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 mq=E(db=>{"use strict";Object.defineProperty(db,"__esModule",{value:!0});db.needsParens=x7t;db.needsWhitespace=hq;db.needsWhitespaceAfter=T7t;db.needsWhitespaceBefore=S7t;var c7t=Ege(),p7t=Cge(),f7t=Nr(),{FLIPPED_ALIAS_KEYS:d7t,isCallExpression:h7t,isExpressionStatement:m7t,isMemberExpression:y7t,isNewExpression:g7t}=f7t;function Dge(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=d7t[i];if(s)for(let n of s)r(n,t[i]);else r(i,t[i])}return e}var b7t=Dge(p7t),v7t=Dge(c7t.nodes);function Nge(t){return h7t(t)?!0:y7t(t)&&Nge(t.object)}function hq(t,e,r){var i;if(!t)return!1;m7t(t)&&(t=t.expression);let s=(i=v7t.get(t.type))==null?void 0:i(t,e);return typeof s=="number"?(s&r)!==0:!1}function S7t(t,e){return hq(t,e,1)}function T7t(t,e){return hq(t,e,2)}function x7t(t,e,r){var i;return e?g7t(e)&&e.callee===t&&Nge(t)?!0:(i=b7t.get(t.type))==null?void 0:i(t,e,r):!1}});var Ige=E(lx=>{"use strict";Object.defineProperty(lx,"__esModule",{value:!0});lx.TaggedTemplateExpression=E7t;lx.TemplateElement=w7t;lx.TemplateLiteral=A7t;function E7t(t){this.print(t.tag,t),this.print(t.typeParameters,t),this.print(t.quasi,t)}function w7t(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 A7t(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 Lge=E(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.LogicalExpression=ki.BinaryExpression=ki.AssignmentExpression=X7t;ki.AssignmentPattern=J7t;ki.AwaitExpression=G7t;ki.BindExpression=Q7t;ki.CallExpression=K7t;ki.ConditionalExpression=L7t;ki.Decorator=U7t;ki.DoExpression=I7t;ki.EmptyStatement=H7t;ki.ExpressionStatement=Y7t;ki.Import=W7t;ki.MemberExpression=Z7t;ki.MetaProperty=eOt;ki.ModuleExpression=iOt;ki.NewExpression=F7t;ki.OptionalCallExpression=$7t;ki.OptionalMemberExpression=q7t;ki.ParenthesizedExpression=O7t;ki.PrivateName=tOt;ki.SequenceExpression=R7t;ki.Super=M7t;ki.ThisExpression=B7t;ki.UnaryExpression=N7t;ki.UpdateExpression=k7t;ki.V8IntrinsicIdentifier=rOt;ki.YieldExpression=z7t;ki._shouldPrintDecoratorsBeforeExport=V7t;var P7t=Nr(),_7t=mq(),{isCallExpression:C7t,isLiteral:Oge,isMemberExpression:yq,isNewExpression:D7t}=P7t;function N7t(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 I7t(t){t.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(t.body,t)}function O7t(t){this.tokenChar(40),this.print(t.expression,t),this.rightParens(t)}function k7t(t){t.prefix?(this.token(t.operator),this.print(t.argument,t)):(this.printTerminatorless(t.argument,t,!0),this.token(t.operator))}function L7t(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 F7t(t,e){this.word("new"),this.space(),this.print(t.callee,t),!(this.format.minified&&t.arguments.length===0&&!t.optional&&!C7t(e,{callee:t})&&!yq(e)&&!D7t(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 R7t(t){this.printList(t.expressions,t)}function B7t(){this.word("this")}function M7t(){this.word("super")}function kge(t){switch(t.type){case"Identifier":return!0;case"MemberExpression":return!t.computed&&t.property.type==="Identifier"&&kge(t.object);default:return!1}}function j7t(t){return t.type==="ParenthesizedExpression"?!1:!kge(t.type==="CallExpression"?t.callee:t)}function V7t(t){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof t.start=="number"&&t.start===t.declaration.start}function U7t(t){this.tokenChar(64);let{expression:e}=t;j7t(e)?(this.tokenChar(40),this.print(e,t),this.tokenChar(41)):this.print(e,t),this.newline()}function q7t(t){let{computed:e}=t,{optional:r,property:i}=t;if(this.print(t.object,t),!e&&yq(i))throw new TypeError("Got a MemberExpression for MemberExpression property");Oge(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 $7t(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 K7t(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 W7t(){this.word("import")}function G7t(t){this.word("await"),t.argument&&(this.space(),this.printTerminatorless(t.argument,t,!1))}function z7t(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 H7t(){this.semicolon(!0)}function Y7t(t){this.print(t.expression,t),this.semicolon()}function J7t(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 X7t(t,e){let r=this.inForStatementInitCounter&&t.operator==="in"&&!_7t.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 Q7t(t){this.print(t.object,t),this.token("::"),this.print(t.callee,t)}function Z7t(t){if(this.print(t.object,t),!t.computed&&yq(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let e=t.computed;Oge(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 eOt(t){this.print(t.meta,t),this.tokenChar(46),this.print(t.property,t)}function tOt(t){this.tokenChar(35),this.print(t.id,t)}function rOt(t){this.tokenChar(37),this.word(t.name)}function iOt(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 Mge=E(Ls=>{"use strict";Object.defineProperty(Ls,"__esModule",{value:!0});Ls.BreakStatement=dOt;Ls.CatchClause=vOt;Ls.ContinueStatement=hOt;Ls.DebuggerStatement=xOt;Ls.DoWhileStatement=fOt;Ls.ForOfStatement=Ls.ForInStatement=void 0;Ls.ForStatement=cOt;Ls.IfStatement=uOt;Ls.LabeledStatement=gOt;Ls.ReturnStatement=mOt;Ls.SwitchCase=TOt;Ls.SwitchStatement=SOt;Ls.ThrowStatement=yOt;Ls.TryStatement=bOt;Ls.VariableDeclaration=EOt;Ls.VariableDeclarator=wOt;Ls.WhileStatement=pOt;Ls.WithStatement=lOt;var sOt=Nr(),{isFor:Fge,isForStatement:nOt,isIfStatement:aOt,isStatement:oOt}=sOt;function lOt(t){this.word("with"),this.space(),this.tokenChar(40),this.print(t.object,t),this.tokenChar(41),this.printBlock(t)}function uOt(t){this.word("if"),this.space(),this.tokenChar(40),this.print(t.test,t),this.tokenChar(41),this.space();let e=t.alternate&&aOt(Rge(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 Rge(t){let{body:e}=t;return oOt(e)===!1?t:Rge(e)}function cOt(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 pOt(t){this.word("while"),this.space(),this.tokenChar(40),this.print(t.test,t),this.tokenChar(41),this.printBlock(t)}function Bge(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 SNr=Ls.ForInStatement=Bge,TNr=Ls.ForOfStatement=Bge;function fOt(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 TC(t,e,r,i){e&&(t.space(),t.printTerminatorless(e,r,i)),t.semicolon()}function dOt(t){this.word("break"),TC(this,t.label,t,!0)}function hOt(t){this.word("continue"),TC(this,t.label,t,!0)}function mOt(t){this.word("return"),TC(this,t.argument,t,!1)}function yOt(t){this.word("throw"),TC(this,t.argument,t,!1)}function gOt(t){this.print(t.label,t),this.tokenChar(58),this.space(),this.print(t.body,t)}function bOt(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 vOt(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 SOt(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 TOt(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 xOt(){this.word("debugger"),this.semicolon()}function EOt(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(!Fge(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}),Fge(e)){if(nOt(e)){if(e.init===t)return}else if(e.left===t)return}this.semicolon()}function wOt(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 jge=E(ql=>{"use strict";Object.defineProperty(ql,"__esModule",{value:!0});ql.ClassAccessorProperty=IOt;ql.ClassBody=DOt;ql.ClassExpression=ql.ClassDeclaration=COt;ql.ClassMethod=kOt;ql.ClassPrivateMethod=LOt;ql.ClassPrivateProperty=OOt;ql.ClassProperty=NOt;ql.StaticBlock=ROt;ql._classMethodHead=FOt;var AOt=Nr(),{isExportDefaultDeclaration:POt,isExportNamedDeclaration:_Ot}=AOt;function COt(t,e){(!(POt(e)||_Ot(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 DOt(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 NOt(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 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.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 OOt(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 kOt(t){this._classMethodHead(t),this.space(),this.print(t.body,t)}function LOt(t){this._classMethodHead(t),this.space(),this.print(t.body,t)}function FOt(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 ROt(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 Vge=E(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.ArrowFunctionExpression=GOt;Du.FunctionDeclaration=Du.FunctionExpression=WOt;Du._functionHead=KOt;Du._methodHead=qOt;Du._param=UOt;Du._parameters=VOt;Du._params=jOt;Du._predicate=$Ot;var BOt=Nr(),{isIdentifier:MOt}=BOt;function jOt(t,e,r){this.print(t.typeParameters,t);let i=HOt.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 VOt(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 UOt(t,e){this.printJoin(t.decorators,t),this.print(t,e),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation,t)}function qOt(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 $Ot(t,e){t.predicate&&(t.returnType||this.tokenChar(58),this.space(),this.print(t.predicate,t,e))}function KOt(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 WOt(t,e){this._functionHead(t,e),this.space(),this.print(t.body,t)}function GOt(t,e){t.async&&(this.word("async",!0),this.space());let r;!this.format.retainLines&&t.params.length===1&&MOt(r=t.params[0])&&!zOt(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 zOt(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 HOt(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 gq=E(Ha=>{"use strict";Object.defineProperty(Ha,"__esModule",{value:!0});Ha.ExportAllDeclaration=okt;Ha.ExportDefaultDeclaration=ukt;Ha.ExportDefaultSpecifier=ikt;Ha.ExportNamedDeclaration=lkt;Ha.ExportNamespaceSpecifier=nkt;Ha.ExportSpecifier=skt;Ha.ImportAttribute=pkt;Ha.ImportDeclaration=ckt;Ha.ImportDefaultSpecifier=rkt;Ha.ImportExpression=dkt;Ha.ImportNamespaceSpecifier=fkt;Ha.ImportSpecifier=tkt;Ha._printAttributes=akt;var YOt=Nr(),{isClassDeclaration:JOt,isExportDefaultSpecifier:XOt,isExportNamespaceSpecifier:QOt,isImportDefaultSpecifier:ZOt,isImportNamespaceSpecifier:ekt,isStatement:qge}=YOt;function tkt(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 rkt(t){this.print(t.local,t)}function ikt(t){this.print(t.exported,t)}function skt(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 nkt(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.exported,t)}var Uge=!1;function akt(t){let{importAttributesKeyword:e}=this.format,{attributes:r,assertions:i}=t;r&&!e&&!Uge&&(Uge=!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 okt(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 $ge(t,e){JOt(e.declaration)&&t._shouldPrintDecoratorsBeforeExport(e)&&t.printJoin(e.declaration.decorators,e)}function lkt(t){if($ge(this,t),this.word("export"),this.space(),t.declaration){let i=t.declaration;this.print(i,t),qge(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(XOt(n)||QOt(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 ukt(t){$ge(this,t),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space();let e=t.declaration;this.print(e,t),qge(e)||this.semicolon()}function ckt(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(ZOt(a)||ekt(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 pkt(t){this.print(t.key),this.tokenChar(58),this.space(),this.print(t.value)}function fkt(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.local,t)}function dkt(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 zge=E((PNr,Gge)=>{"use strict";var Kge={},hkt=Kge.hasOwnProperty,Wge=(t,e)=>{for(let r in t)hkt.call(t,r)&&e(r,t[r])},mkt=(t,e)=>(e&&Wge(e,(r,i)=>{t[r]=i}),t),ykt=(t,e)=>{let r=t.length,i=-1;for(;++i<r;)e(t[i])},ux=Kge.toString,gkt=Array.isArray,bkt=Buffer.isBuffer,vkt=t=>ux.call(t)=="[object Object]",Skt=t=>typeof t=="string"||ux.call(t)=="[object String]",Tkt=t=>typeof t=="number"||ux.call(t)=="[object Number]",xkt=t=>typeof t=="function",Ekt=t=>ux.call(t)=="[object Map]",wkt=t=>ux.call(t)=="[object Set]",Akt={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Pkt=/["'\\\b\f\n\r\t]/,_kt=/[0-9]/,Ckt=/[ !#-&\(-\[\]-_a-~]/,ih=(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=mkt(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",S=e.numbers=="hexadecimal";if(s&&t&&xkt(t.toJSON)&&(t=t.toJSON()),!Skt(t)){if(Ekt(t))return t.size==0?"new Map()":(a||(e.__inline1__=!0,e.__inline2__=!1),"new Map("+ih(Array.from(t),e)+")");if(wkt(t))return t.size==0?"new Set()":"new Set("+ih(Array.from(t),e)+")";if(bkt(t))return t.length==0?"Buffer.from([])":"Buffer.from("+ih(Array.from(t),e)+")";if(gkt(t))return f=[],e.wrap=!0,c&&(e.__inline1__=!1,e.__inline2__=!0),p||r(),ykt(t,A=>{h=!1,p&&(e.__inline2__=!1),f.push((a||p?"":l)+ih(A,e))}),h?"[]":p?"["+f.join(", ")+"]":"["+d+f.join(","+d)+d+(a?"":u)+"]";if(Tkt(t)){if(s)return JSON.stringify(t);if(b)return String(t);if(S){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 vkt(t)?(f=[],e.wrap=!0,r(),Wge(t,(A,C)=>{h=!1,f.push((a?"":l)+ih(A,e)+":"+(a?"":" ")+ih(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 xe=x.charCodeAt(v+1);if(xe>=56320&&xe<=57343){let ze=((X-55296)*1024+xe-56320+65536).toString(16);o||(ze=ze.toUpperCase()),f+="\\u{"+ze+"}",++v;continue}}}if(!e.escapeEverything){if(Ckt.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&&!_kt.test(x.charAt(v+1))){f+="\\0";continue}if(Pkt.test(A)){f+=Akt[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};ih.version="2.5.2";Gge.exports=ih});var vq=E(hs=>{"use strict";Object.defineProperty(hs,"__esModule",{value:!0});hs.ArgumentPlaceholder=Okt;hs.ArrayPattern=hs.ArrayExpression=Bkt;hs.BigIntLiteral=Wkt;hs.BooleanLiteral=Ukt;hs.DecimalLiteral=Gkt;hs.Identifier=Ikt;hs.NullLiteral=qkt;hs.NumericLiteral=$kt;hs.ObjectPattern=hs.ObjectExpression=Lkt;hs.ObjectMethod=Fkt;hs.ObjectProperty=Rkt;hs.PipelineBareFunction=Ykt;hs.PipelinePrimaryTopicReference=Jkt;hs.PipelineTopicExpression=Hkt;hs.RecordExpression=Mkt;hs.RegExpLiteral=Vkt;hs.SpreadElement=hs.RestElement=kkt;hs.StringLiteral=Kkt;hs.TopicReference=zkt;hs.TupleExpression=jkt;var Dkt=Nr(),Yge=zge(),{isAssignmentPattern:Nkt,isIdentifier:bq}=Dkt;function Ikt(t){var e;this.sourceIdentifierName(((e=t.loc)==null?void 0:e.identifierName)||t.name),this.word(t.name)}function Okt(){this.tokenChar(63)}function kkt(t){this.token("..."),this.print(t.argument,t)}function Lkt(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 Fkt(t){this.printJoin(t.decorators,t),this._methodHead(t),this.space(),this.print(t.body,t)}function Rkt(t){if(this.printJoin(t.decorators,t),t.computed)this.tokenChar(91),this.print(t.key,t),this.tokenChar(93);else{if(Nkt(t.value)&&bq(t.key)&&t.key.name===t.value.left.name){this.print(t.value,t);return}if(this.print(t.key,t),t.shorthand&&bq(t.key)&&bq(t.value)&&t.key.name===t.value.name)return}this.tokenChar(58),this.space(),this.print(t.value,t)}function Bkt(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 Mkt(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 jkt(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 Vkt(t){this.word(`/${t.pattern}/${t.flags}`)}function Ukt(t){this.word(t.value?"true":"false")}function qkt(){this.word("null")}function $kt(t){let e=this.getPossibleRaw(t),r=this.format.jsescOption,i=t.value,s=i+"";r.numbers?this.number(Yge(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 Kkt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let r=Yge(t.value,this.format.jsescOption);this.token(r)}function Wkt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.word(e);return}this.word(t.value+"n")}function Gkt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.word(e);return}this.word(t.value+"m")}var Hge=new Set(["^^","@@","^","%","#"]);function zkt(){let{topicToken:t}=this.format;if(Hge.has(t))this.token(t);else{let e=JSON.stringify(t),r=Array.from(Hge,i=>JSON.stringify(i));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${e} received instead).`)}}function Hkt(t){this.print(t.expression,t)}function Ykt(t){this.print(t.callee,t)}function Jkt(){this.tokenChar(35)}});var Xge=E(dt=>{"use strict";Object.defineProperty(dt,"__esModule",{value:!0});dt.AnyTypeAnnotation=eLt;dt.ArrayTypeAnnotation=tLt;dt.BooleanLiteralTypeAnnotation=iLt;dt.BooleanTypeAnnotation=rLt;dt.DeclareClass=nLt;dt.DeclareExportAllDeclaration=yLt;dt.DeclareExportDeclaration=mLt;dt.DeclareFunction=aLt;dt.DeclareInterface=uLt;dt.DeclareModule=cLt;dt.DeclareModuleExports=pLt;dt.DeclareOpaqueType=dLt;dt.DeclareTypeAlias=fLt;dt.DeclareVariable=hLt;dt.DeclaredPredicate=lLt;dt.EmptyTypeAnnotation=MLt;dt.EnumBooleanBody=bLt;dt.EnumBooleanMember=ELt;dt.EnumDeclaration=gLt;dt.EnumDefaultedMember=xLt;dt.EnumNumberBody=vLt;dt.EnumNumberMember=wLt;dt.EnumStringBody=SLt;dt.EnumStringMember=ALt;dt.EnumSymbolBody=TLt;dt.ExistsTypeAnnotation=_Lt;dt.FunctionTypeAnnotation=CLt;dt.FunctionTypeParam=DLt;dt.IndexedAccessType=uFt;dt.InferredPredicate=oLt;dt.InterfaceDeclaration=kLt;dt.GenericTypeAnnotation=dt.ClassImplements=dt.InterfaceExtends=NLt;dt.InterfaceTypeAnnotation=FLt;dt.IntersectionTypeAnnotation=RLt;dt.MixedTypeAnnotation=BLt;dt.NullLiteralTypeAnnotation=sLt;dt.NullableTypeAnnotation=jLt;Object.defineProperty(dt,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return Jge.NumericLiteral}});dt.NumberTypeAnnotation=VLt;dt.ObjectTypeAnnotation=JLt;dt.ObjectTypeCallProperty=QLt;dt.ObjectTypeIndexer=ZLt;dt.ObjectTypeInternalSlot=XLt;dt.ObjectTypeProperty=eFt;dt.ObjectTypeSpreadProperty=tFt;dt.OpaqueType=YLt;dt.OptionalIndexedAccessType=cFt;dt.QualifiedTypeIdentifier=rFt;Object.defineProperty(dt,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return Jge.StringLiteral}});dt.StringTypeAnnotation=ULt;dt.SymbolTypeAnnotation=iFt;dt.ThisTypeAnnotation=qLt;dt.TupleTypeAnnotation=$Lt;dt.TypeAlias=WLt;dt.TypeAnnotation=GLt;dt.TypeCastExpression=aFt;dt.TypeParameter=HLt;dt.TypeParameterDeclaration=dt.TypeParameterInstantiation=zLt;dt.TypeofTypeAnnotation=KLt;dt.UnionTypeAnnotation=nFt;dt.Variance=oFt;dt.VoidTypeAnnotation=lFt;dt._interfaceish=ILt;dt._variance=OLt;var Xkt=Nr(),Qkt=gq(),Jge=vq(),{isDeclareExportDeclaration:xC,isStatement:Zkt}=Xkt;function eLt(){this.word("any")}function tLt(t){this.print(t.elementType,t,!0),this.tokenChar(91),this.tokenChar(93)}function rLt(){this.word("boolean")}function iLt(t){this.word(t.value?"true":"false")}function sLt(){this.word("null")}function nLt(t,e){xC(e)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(t)}function aLt(t,e){xC(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 oLt(){this.tokenChar(37),this.word("checks")}function lLt(t){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(t.value,t),this.tokenChar(41)}function uLt(t){this.word("declare"),this.space(),this.InterfaceDeclaration(t)}function cLt(t){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(t.id,t),this.space(),this.print(t.body,t)}function pLt(t){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(t.typeAnnotation,t)}function fLt(t){this.word("declare"),this.space(),this.TypeAlias(t)}function dLt(t,e){xC(e)||(this.word("declare"),this.space()),this.OpaqueType(t)}function hLt(t,e){xC(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 mLt(t){this.word("declare"),this.space(),this.word("export"),this.space(),t.default&&(this.word("default"),this.space()),PLt.call(this,t)}function yLt(t){this.word("declare"),this.space(),Qkt.ExportAllDeclaration.call(this,t)}function gLt(t){let{id:e,body:r}=t;this.word("enum"),this.space(),this.print(e,t),this.print(r,t)}function EC(t,e,r){r&&(t.space(),t.word("of"),t.space(),t.word(e)),t.space()}function wC(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 bLt(t){let{explicitType:e}=t;EC(this,"boolean",e),wC(this,t)}function vLt(t){let{explicitType:e}=t;EC(this,"number",e),wC(this,t)}function SLt(t){let{explicitType:e}=t;EC(this,"string",e),wC(this,t)}function TLt(t){EC(this,"symbol",!0),wC(this,t)}function xLt(t){let{id:e}=t;this.print(e,t),this.tokenChar(44)}function Sq(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 ELt(t){Sq(this,t)}function wLt(t){Sq(this,t)}function ALt(t){Sq(this,t)}function PLt(t){if(t.declaration){let e=t.declaration;this.print(e,t),Zkt(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 _Lt(){this.tokenChar(42)}function CLt(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 DLt(t){this.print(t.name,t),t.optional&&this.tokenChar(63),t.name&&(this.tokenChar(58),this.space()),this.print(t.typeAnnotation,t)}function NLt(t){this.print(t.id,t),this.print(t.typeParameters,t,!0)}function ILt(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 OLt(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 kLt(t){this.word("interface"),this.space(),this._interfaceish(t)}function LLt(){this.space(),this.tokenChar(38),this.space()}function FLt(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 RLt(t){this.printJoin(t.types,t,{separator:LLt})}function BLt(){this.word("mixed")}function MLt(){this.word("empty")}function jLt(t){this.tokenChar(63),this.print(t.typeAnnotation,t)}function VLt(){this.word("number")}function ULt(){this.word("string")}function qLt(){this.word("this")}function $Lt(t){this.tokenChar(91),this.printList(t.types,t),this.tokenChar(93)}function KLt(t){this.word("typeof"),this.space(),this.print(t.argument,t)}function WLt(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 GLt(t){this.tokenChar(58),this.space(),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation,t)}function zLt(t){this.tokenChar(60),this.printList(t.params,t,{}),this.tokenChar(62)}function HLt(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 YLt(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 JLt(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 XLt(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 QLt(t){t.static&&(this.word("static"),this.space()),this.print(t.value,t)}function ZLt(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 eFt(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 tFt(t){this.token("..."),this.print(t.argument,t)}function rFt(t){this.print(t.qualification,t),this.tokenChar(46),this.print(t.id,t)}function iFt(){this.word("symbol")}function sFt(){this.space(),this.tokenChar(124),this.space()}function nFt(t){this.printJoin(t.types,t,{separator:sFt})}function aFt(t){this.tokenChar(40),this.print(t.expression,t),this.print(t.typeAnnotation,t),this.tokenChar(41)}function oFt(t){t.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function lFt(){this.word("void")}function uFt(t){this.print(t.objectType,t,!0),this.tokenChar(91),this.print(t.indexType,t),this.tokenChar(93)}function cFt(t){this.print(t.objectType,t),t.optional&&this.token("?."),this.tokenChar(91),this.print(t.indexType,t),this.tokenChar(93)}});var Qge=E(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.BlockStatement=dFt;af.Directive=hFt;af.DirectiveLiteral=gFt;af.File=pFt;af.InterpreterDirective=bFt;af.Placeholder=vFt;af.Program=fFt;function pFt(t){t.program&&this.print(t.program.interpreter,t),this.print(t.program,t)}function fFt(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 dFt(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 hFt(t){this.print(t.value,t),this.semicolon()}var mFt=/(?:^|[^\\])(?:\\\\)*'/,yFt=/(?:^|[^\\])(?:\\\\)*"/;function gFt(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let{value:r}=t;if(!yFt.test(r))this.token(`"${r}"`);else if(!mFt.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 bFt(t){this.token(`#!${t.value}`),this.newline(1,!0)}function vFt(t){this.token("%%"),this.print(t.name),this.token("%%"),t.expectedNode==="Statement"&&this.semicolon()}});var Zge=E(ra=>{"use strict";Object.defineProperty(ra,"__esModule",{value:!0});ra.JSXAttribute=SFt;ra.JSXClosingElement=IFt;ra.JSXClosingFragment=FFt;ra.JSXElement=CFt;ra.JSXEmptyExpression=OFt;ra.JSXExpressionContainer=AFt;ra.JSXFragment=kFt;ra.JSXIdentifier=TFt;ra.JSXMemberExpression=EFt;ra.JSXNamespacedName=xFt;ra.JSXOpeningElement=NFt;ra.JSXOpeningFragment=LFt;ra.JSXSpreadAttribute=wFt;ra.JSXSpreadChild=PFt;ra.JSXText=_Ft;function SFt(t){this.print(t.name,t),t.value&&(this.tokenChar(61),this.print(t.value,t))}function TFt(t){this.word(t.name)}function xFt(t){this.print(t.namespace,t),this.tokenChar(58),this.print(t.name,t)}function EFt(t){this.print(t.object,t),this.tokenChar(46),this.print(t.property,t)}function wFt(t){this.tokenChar(123),this.token("..."),this.print(t.argument,t),this.tokenChar(125)}function AFt(t){this.tokenChar(123),this.print(t.expression,t),this.tokenChar(125)}function PFt(t){this.tokenChar(123),this.token("..."),this.print(t.expression,t),this.tokenChar(125)}function _Ft(t){let e=this.getPossibleRaw(t);e!==void 0?this.token(e,!0):this.token(t.value,!0)}function CFt(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 DFt(){this.space()}function NFt(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:DFt})),t.selfClosing?(this.space(),this.token("/>")):this.tokenChar(62)}function IFt(t){this.token("</"),this.print(t.name,t),this.tokenChar(62)}function OFt(){this.printInnerComments()}function kFt(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 LFt(){this.tokenChar(60),this.tokenChar(62)}function FFt(){this.token("</"),this.tokenChar(62)}});var rbe=E(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.TSAnyKeyword=YFt;ft.TSArrayType=gRt;ft.TSSatisfiesExpression=ft.TSAsExpression=FRt;ft.TSBigIntKeyword=JFt;ft.TSBooleanKeyword=eRt;ft.TSCallSignatureDeclaration=$Ft;ft.TSConditionalType=wRt;ft.TSConstructSignatureDeclaration=KFt;ft.TSConstructorType=cRt;ft.TSDeclareFunction=VFt;ft.TSDeclareMethod=UFt;ft.TSEnumDeclaration=MRt;ft.TSEnumMember=jRt;ft.TSExportAssignment=GRt;ft.TSExpressionWithTypeArguments=IRt;ft.TSExternalModuleReference=KRt;ft.TSFunctionType=uRt;ft.TSImportEqualsDeclaration=$Rt;ft.TSImportType=qRt;ft.TSIndexSignature=HFt;ft.TSIndexedAccessType=CRt;ft.TSInferType=ARt;ft.TSInstantiationExpression=BRt;ft.TSInterfaceBody=kRt;ft.TSInterfaceDeclaration=ORt;ft.TSIntersectionType=ERt;ft.TSIntrinsicKeyword=oRt;ft.TSLiteralType=NRt;ft.TSMappedType=DRt;ft.TSMethodSignature=zFt;ft.TSModuleBlock=URt;ft.TSModuleDeclaration=VRt;ft.TSNamedTupleMember=TRt;ft.TSNamespaceExportDeclaration=zRt;ft.TSNeverKeyword=aRt;ft.TSNonNullExpression=WRt;ft.TSNullKeyword=nRt;ft.TSNumberKeyword=QFt;ft.TSObjectKeyword=ZFt;ft.TSOptionalType=vRt;ft.TSParameterProperty=jFt;ft.TSParenthesizedType=PRt;ft.TSPropertySignature=WFt;ft.TSQualifiedName=qFt;ft.TSRestType=SRt;ft.TSStringKeyword=tRt;ft.TSSymbolKeyword=rRt;ft.TSThisType=lRt;ft.TSTupleType=bRt;ft.TSTypeAliasDeclaration=LRt;ft.TSTypeAnnotation=RFt;ft.TSTypeAssertion=RRt;ft.TSTypeLiteral=mRt;ft.TSTypeOperator=_Rt;ft.TSTypeParameter=MFt;ft.TSTypeParameterDeclaration=ft.TSTypeParameterInstantiation=BFt;ft.TSTypePredicate=dRt;ft.TSTypeQuery=hRt;ft.TSTypeReference=fRt;ft.TSUndefinedKeyword=sRt;ft.TSUnionType=xRt;ft.TSUnknownKeyword=XFt;ft.TSVoidKeyword=iRt;ft.tsPrintClassMemberModifiers=YRt;ft.tsPrintFunctionOrConstructorType=pRt;ft.tsPrintPropertyOrMethodName=GFt;ft.tsPrintSignatureDeclarationBase=HRt;ft.tsPrintTypeLiteralOrInterfaceBody=yRt;function RFt(t){this.tokenChar(58),this.space(),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation,t)}function BFt(t,e){this.tokenChar(60),this.printList(t.params,t,{}),e.type==="ArrowFunctionExpression"&&t.params.length===1&&this.tokenChar(44),this.tokenChar(62)}function MFt(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 jFt(t){t.accessibility&&(this.word(t.accessibility),this.space()),t.readonly&&(this.word("readonly"),this.space()),this._param(t.parameter)}function VFt(t,e){t.declare&&(this.word("declare"),this.space()),this._functionHead(t,e),this.tokenChar(59)}function UFt(t){this._classMethodHead(t),this.tokenChar(59)}function qFt(t){this.print(t.left,t),this.tokenChar(46),this.print(t.right,t)}function $Ft(t){this.tsPrintSignatureDeclarationBase(t),this.tokenChar(59)}function KFt(t){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(t),this.tokenChar(59)}function WFt(t){let{readonly:e}=t;e&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(t),this.print(t.typeAnnotation,t),this.tokenChar(59)}function GFt(t){t.computed&&this.tokenChar(91),this.print(t.key,t),t.computed&&this.tokenChar(93),t.optional&&this.tokenChar(63)}function zFt(t){let{kind:e}=t;(e==="set"||e==="get")&&(this.word(e),this.space()),this.tsPrintPropertyOrMethodName(t),this.tsPrintSignatureDeclarationBase(t),this.tokenChar(59)}function HFt(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 YFt(){this.word("any")}function JFt(){this.word("bigint")}function XFt(){this.word("unknown")}function QFt(){this.word("number")}function ZFt(){this.word("object")}function eRt(){this.word("boolean")}function tRt(){this.word("string")}function rRt(){this.word("symbol")}function iRt(){this.word("void")}function sRt(){this.word("undefined")}function nRt(){this.word("null")}function aRt(){this.word("never")}function oRt(){this.word("intrinsic")}function lRt(){this.word("this")}function uRt(t){this.tsPrintFunctionOrConstructorType(t)}function cRt(t){t.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(t)}function pRt(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 fRt(t){this.print(t.typeName,t,!0),this.print(t.typeParameters,t,!0)}function dRt(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 hRt(t){this.word("typeof"),this.space(),this.print(t.exprName),t.typeParameters&&this.print(t.typeParameters,t)}function mRt(t){this.tsPrintTypeLiteralOrInterfaceBody(t.members,t)}function yRt(t,e){Tq(this,t,e)}function Tq(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 gRt(t){this.print(t.elementType,t,!0),this.token("[]")}function bRt(t){this.tokenChar(91),this.printList(t.elementTypes,t),this.tokenChar(93)}function vRt(t){this.print(t.typeAnnotation,t),this.tokenChar(63)}function SRt(t){this.token("..."),this.print(t.typeAnnotation,t)}function TRt(t){this.print(t.label,t),t.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(t.elementType,t)}function xRt(t){tbe(this,t,"|")}function ERt(t){tbe(this,t,"&")}function tbe(t,e,r){t.printJoin(e.types,e,{separator(){this.space(),this.token(r),this.space()}})}function wRt(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 ARt(t){this.token("infer"),this.space(),this.print(t.typeParameter)}function PRt(t){this.tokenChar(40),this.print(t.typeAnnotation,t),this.tokenChar(41)}function _Rt(t){this.word(t.operator),this.space(),this.print(t.typeAnnotation,t)}function CRt(t){this.print(t.objectType,t,!0),this.tokenChar(91),this.print(t.indexType,t),this.tokenChar(93)}function DRt(t){let{nameType:e,optional:r,readonly:i,typeParameter:s}=t;this.tokenChar(123),this.space(),i&&(ebe(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&&(ebe(this,r),this.tokenChar(63)),this.tokenChar(58),this.space(),this.print(t.typeAnnotation,t),this.space(),this.tokenChar(125)}function ebe(t,e){e!==!0&&t.token(e)}function NRt(t){this.print(t.literal,t)}function IRt(t){this.print(t.expression,t),this.print(t.typeParameters,t)}function ORt(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 kRt(t){this.tsPrintTypeLiteralOrInterfaceBody(t.body,t)}function LRt(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 FRt(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 RRt(t){let{typeAnnotation:e,expression:r}=t;this.tokenChar(60),this.print(e,t),this.tokenChar(62),this.space(),this.print(r,t)}function BRt(t){this.print(t.expression,t),this.print(t.typeParameters,t)}function MRt(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(),Tq(this,s,t)}function jRt(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 VRt(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 URt(t){Tq(this,t.body,t)}function qRt(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 $Rt(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 KRt(t){this.token("require("),this.print(t.expression,t),this.tokenChar(41)}function WRt(t){this.print(t.expression,t),this.tokenChar(33)}function GRt(t){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(t.expression,t),this.tokenChar(59)}function zRt(t){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(t.id,t)}function HRt(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 YRt(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 ibe=E(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});var xq=Ige();Object.keys(xq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===xq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return xq[t]}})});var Eq=Lge();Object.keys(Eq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Eq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Eq[t]}})});var wq=Mge();Object.keys(wq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===wq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return wq[t]}})});var Aq=jge();Object.keys(Aq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Aq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Aq[t]}})});var Pq=Vge();Object.keys(Pq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Pq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Pq[t]}})});var _q=gq();Object.keys(_q).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===_q[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return _q[t]}})});var Cq=vq();Object.keys(Cq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Cq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Cq[t]}})});var Dq=Xge();Object.keys(Dq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Dq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Dq[t]}})});var Nq=Qge();Object.keys(Nq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Nq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Nq[t]}})});var Iq=Zge();Object.keys(Iq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Iq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Iq[t]}})});var Oq=rbe();Object.keys(Oq).forEach(function(t){t==="default"||t==="__esModule"||t in ii&&ii[t]===Oq[t]||Object.defineProperty(ii,t,{enumerable:!0,get:function(){return Oq[t]}})})});var nbe=E(AC=>{"use strict";Object.defineProperty(AC,"__esModule",{value:!0});AC.default=void 0;var JRt=bge(),XRt=mq(),QRt=Nr(),ZRt=ibe(),{isFunction:eBt,isStatement:tBt,isClassBody:rBt,isTSInterfaceBody:iBt,isTSEnumDeclaration:sBt}=QRt,nBt=/e/i,aBt=/\.0+$/,sbe=/[\n\r\u2028\u2029]/,oBt=/[\n\r\u2028\u2029]|\*\//,{needsParens:lBt}=XRt,cx=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 JRt.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)&&!nBt.test(e)&&!aBt.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"||lBt(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=uBt),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&&oBt.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&&sbe.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 eSe=E(No=>{"use strict";Object.defineProperty(No,"__esModule",{
440
440
  return FUNCTION_ID;
441
441
  })(FUNCTION)
442
442
  `),iKt={"ReferencedIdentifier|BindingIdentifier"(t,e){t.node.name!==e.name||t.scope.getBindingIdentifier(e.name)!==e.outerDeclar||(e.selfReference=!0,t.stop())}};function sKt(t){return G$t(t)?"null":Y$t(t)?`_${t.pattern}_${t.flags}`:X$t(t)?t.quasis.map(e=>e.value.raw).join(""):t.value!==void 0?t.value+"":""}function nKt(t,e,r,i){if(t.selfReference)if(i.hasBinding(r.name)&&!i.hasGlobal(r.name))i.rename(r.name);else{if(!nSe(e))return;let s=tKt;e.generator&&(s=rKt);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=eKt(e);o<l;o++)a.push(i.generateUidIdentifier("x"));return n}e.id=r,i.getProgramParent().references[r.name]=!0}function aKt(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,iKt,i),i}function oKt({node:t,parent:e,scope:r,id:i},s=!1,n=!1){if(t.id)return;if((H$t(e)||z$t(e,{kind:"method"}))&&(!e.computed||iSe(e.key)))i=e.key;else if(Q$t(e)){if(i=e.id,rSe(i)&&!s){let u=r.parent.getBinding(i.name);if(u&&u.constant&&r.getBinding(i.name)===u){t.id=q$t(i),t.id[tSe]=!0;return}}}else if(K$t(e,{operator:"="}))i=e.left;else if(!i)return;let a;if(i&&iSe(i)?a=sKt(i):i&&rSe(i)&&(a=i.name),a===void 0||!n&&nSe(t)&&/[\uD800-\uDFFF]/.test(a))return;a=Z$t(a);let o=$$t(a);o[tSe]=!0;let l=aKt(t,a,r);return nKt(l,t,o,r)||t}});var pSe=E(K0=>{"use strict";Object.defineProperty(K0,"__esModule",{value:!0});K0.arrowFunctionToExpression=DKt;K0.ensureBlock=PKt;K0.toComputedKey=AKt;K0.unwrapFunctionEnvironment=_Kt;var lKt=Nr(),PK=QU(),uKt=aSe(),_K=rx(),{arrowFunctionExpression:CK,assignmentExpression:$0,binaryExpression:wK,blockStatement:cKt,callExpression:Ib,conditionalExpression:pKt,expressionStatement:oSe,identifier:ms,isIdentifier:fKt,jsxIdentifier:dKt,logicalExpression:hKt,LOGICAL_OPERATORS:mKt,memberExpression:ku,metaProperty:yKt,numericLiteral:gKt,objectExpression:bKt,restElement:vKt,returnStatement:SKt,sequenceExpression:TKt,spreadElement:xKt,stringLiteral:lSe,super:AK,thisExpression:Ux,toExpression:EKt,unaryExpression:wKt}=lKt;function AKt(){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||fKt(t)&&(t=lSe(t.name)),t}function PKt(){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(SKt(t.node))):(s="expression",r.push(oSe(t.node)))),this.node.body=cKt(r);let a=this.get(i);return t.setup(a,n?a.node[n]:a.node,n,s),this.node}K0.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function _Kt(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");uSe(this)}function CKt(t,e){t.node.type=e}function DKt({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}=uSe(this,r,t,e);if(s.ensureBlock(),CKt(s,"FunctionExpression"),!r){let n=i?null:s.scope.generateUidIdentifier("arrowCheckId");return n&&s.parentPath.scope.push({id:n,init:bKt([])}),s.get("body").unshiftContainer("body",oSe(Ib(this.hub.addHelper("newArrowCheck"),[Ux(),ms(n?n.name:i)]))),s.replaceWith(Ib(ku((0,uKt.default)(this,!0)||s.node,ms("bind")),[n?ms(n.name):Ux()])),s.get("callee.object")}return s}var NKt=(0,_K.merge)([{CallExpression(t,{allSuperCalls:e}){t.get("callee").isSuper()&&e.push(t)}},PK.default]);function uSe(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(Ib(CK([],EKt(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}=MKt(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(NKt,{allSuperCalls:f});let h=FKt(n);f.forEach(m=>{let g=ms(h);g.loc=m.node.callee.loc,m.get("callee").replaceWith(g)})}if(l.length>0){let f=qx(n,"arguments",()=>{let h=()=>ms("arguments");return n.scope.path.isProgram()?pKt(wK("===",wKt("typeof",h()),lSe("undefined")),n.scope.buildUndefinedNode(),h()):h()});l.forEach(h=>{let m=ms(f);m.loc=h.node.loc,h.replaceWith(m)})}if(u.length>0){let f=qx(n,"newtarget",()=>yKt(ms("new"),ms("target")));u.forEach(h=>{let m=ms(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(OKt(m)),[]).forEach(h=>{let m=h.node.computed?"":h.get("property").node.name,g=h.parentPath,b=g.isAssignmentExpression({left:h.node}),S=g.isCallExpression({callee:h.node}),x=g.isTaggedTemplateExpression({tag:h.node}),v=RKt(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=Ib(ms(v),w);S?(g.unshiftContainer("arguments",Ux()),h.replaceWith(ku(A,ms("call"))),o.push(g.get("arguments.0"))):b?g.replaceWith(A):x?(h.replaceWith(Ib(ku(A,ms("bind"),!1),[Ux()])),o.push(h.get("arguments.0"))):h.replaceWith(A)})}let d;return(o.length>0||!e)&&(d=LKt(n,a),(e||a&&cSe(n))&&(o.forEach(f=>{let h=f.isJSX()?dKt(d):ms(d);h.loc=f.node.loc,f.replaceWith(h)}),e||(d=null))),{thisBinding:d,fnPath:t}}function IKt(t){return mKt.includes(t)}function OKt(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=IKt(i);if(t.node.computed){let a=t.scope.generateDeclaredUidIdentifier("tmp"),o=t.node.object,l=t.node.property;r.get("left").replaceWith(ku(o,$0("=",a,l),!0)),r.get("right").replaceWith(e(n?"=":i,ku(o,ms(a.name),!0),s))}else{let a=t.node.object,o=t.node.property;r.get("left").replaceWith(ku(a,o)),r.get("right").replaceWith(e(n?"=":i,ku(a,ms(o.name)),s))}return n?r.replaceWith(hKt(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=[$0("=",i,ku(t.node.object,s?$0("=",s,t.node.property):t.node.property,t.node.computed)),$0("=",ku(t.node.object,s?ms(s.name):t.node.property,t.node.computed),wK(t.parentPath.node.operator[0],ms(i.name),gKt(1)))];t.parentPath.node.prefix||n.push(ms(i.name)),r.replaceWith(TKt(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==="="?$0("=",i,s):wK(r,i,s)}}function cSe(t){return t.isClassMethod()&&!!t.parentPath.parentPath.node.superClass}var kKt=(0,_K.merge)([{CallExpression(t,{supers:e,thisBinding:r}){t.get("callee").isSuper()&&(e.has(t.node)||(e.add(t.node),t.replaceWithMultiple([t.node,$0("=",ms(r),ms("this"))])))}},PK.default]);function LKt(t,e){return qx(t,"this",r=>{if(!e||!cSe(t))return Ux();t.traverse(kKt,{supers:new WeakSet,thisBinding:r})})}function FKt(t){return qx(t,"supercall",()=>{let e=t.scope.generateUidIdentifier("args");return CK([vKt(e)],Ib(AK(),[xKt(ms(e.name))]))})}function RKt(t,e,r){return qx(t,`superprop_${e?"set":"get"}:${r||""}`,()=>{let s=[],n;if(r)n=ku(AK(),ms(r));else{let a=t.scope.generateUidIdentifier("prop");s.unshift(a),n=ku(AK(),ms(a.name),!0)}if(e){let a=t.scope.generateUidIdentifier("value");s.push(a),n=$0("=",n,ms(a.name))}return CK(s,n)})}function qx(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 BKt=(0,_K.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)}},PK.default]);function MKt(t){let e=[],r=[],i=[],s=[],n=[];return t.traverse(BKt,{thisPaths:e,argumentsPaths:r,newTargetPaths:i,superProps:s,superCalls:n}),{thisPaths:e,argumentsPaths:r,newTargetPaths:i,superProps:s,superCalls:n}}});var gSe=E(zs=>{"use strict";Object.defineProperty(zs,"__esModule",{value:!0});zs._guessExecutionStatusRelativeTo=lWt;zs._resolve=fWt;zs.canHaveVariableDeclarationOrExpression=eWt;zs.canSwapBetweenExpressionAndStatement=tWt;zs.equals=QKt;zs.getSource=nWt;zs.has=ySe;zs.is=void 0;zs.isCompletionRecord=rWt;zs.isConstantExpression=dWt;zs.isInStrictMode=hWt;zs.isNodeType=ZKt;zs.isStatementOrBlock=iWt;zs.isStatic=YKt;zs.isnt=XKt;zs.matchesPattern=HKt;zs.referencesImport=sWt;zs.resolve=pWt;zs.willIMaybeExecuteBefore=aWt;var jKt=Nr(),{STATEMENT_OR_BLOCK_KEYS:VKt,VISITOR_KEYS:UKt,isBlockStatement:mSe,isExpression:qKt,isIdentifier:$Kt,isLiteral:KKt,isStringLiteral:WKt,isType:GKt,matchesPattern:zKt}=jKt;function HKt(t,e){return zKt(this.node,t,e)}function ySe(t){let e=this.node&&this.node[t];return e&&Array.isArray(e)?!!e.length:!!e}function YKt(){return this.scope.isStatic(this.node)}var JKt=ySe;zs.is=JKt;function XKt(t){return!this.has(t)}function QKt(t,e){return this.node[t]===e}function ZKt(t){return GKt(this.type,t)}function eWt(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function tWt(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?mSe(t):this.isBlockStatement()?qKt(t):!1}function rWt(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 iWt(){return this.parentPath.isLabeledStatement()||mSe(this.container)?!1:VKt.includes(this.key)}function sWt(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?WKt(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()&&$Kt(i.node.imported,{name:e}))}function nWt(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function aWt(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function fSe(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function oWt(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 dSe(t,e){for(let r=0;r<e;r++){let i=t[r];if(oWt(i.parent.type,i.parentKey))return!0}return!1}var hSe=Symbol();function lWt(t){return DK(this,t,new Map)}function DK(t,e,r){let i={this:fSe(t),target:fSe(e)};if(i.target.node!==i.this.node)return cWt(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(dSe(s.this,a.this-1)||dSe(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=UKt[n.type],u={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return u.target>u.this?"before":"after"}function uWt(t,e,r){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return DK(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=DK(t,a,r);if(n&&n!==l)return"unknown";n=l}return n}function cWt(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===hSe?"unknown":s;i.set(e.node,hSe);let n=uWt(t,e,r);return i.set(e.node,n),n}function pWt(t,e){return this._resolve(t,e)||this}function fWt(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(!KKt(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 dWt(){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 hWt(){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 SSe=E(Fs=>{"use strict";Object.defineProperty(Fs,"__esModule",{value:!0});Fs._call=gWt;Fs._getQueueContexts=FWt;Fs._resyncKey=_Wt;Fs._resyncList=CWt;Fs._resyncParent=PWt;Fs._resyncRemoved=DWt;Fs.call=yWt;Fs.isBlacklisted=Fs.isDenylisted=bWt;Fs.popContext=NWt;Fs.pushContext=IWt;Fs.requeue=LWt;Fs.resync=AWt;Fs.setContext=wWt;Fs.setKey=kWt;Fs.setScope=EWt;Fs.setup=OWt;Fs.skip=SWt;Fs.skipKey=TWt;Fs.stop=xWt;Fs.visit=vWt;var mWt=nC(),bSe=ph();function yWt(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 gWt(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 bWt(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e&&e.indexOf(this.node.type)>-1}function vSe(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function vWt(){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):(vSe(this,r),this.debug("Recursing into..."),this.shouldStop=(0,mWt.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),vSe(this,r),this.call("exit"),this.shouldStop)}function SWt(){this.shouldSkip=!0}function TWt(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function xWt(){this._traverseFlags|=bSe.SHOULD_SKIP|bSe.SHOULD_STOP}function EWt(){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 wWt(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 AWt(){this.removed||(this._resyncParent(),this._resyncList(),this._resyncKey())}function PWt(){this.parentPath&&(this.parent=this.parentPath.node)}function _Wt(){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 CWt(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function DWt(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&this._markRemoved()}function NWt(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function IWt(t){this.contexts.push(t),this.setContext(t)}function OWt(t,e,r,i){this.listKey=r,this.container=e,this.parentPath=t||this.parentPath,this.setKey(i)}function kWt(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function LWt(t=this){if(t.removed)return;let e=this.contexts;for(let r of e)r.maybeQueue(t)}function FWt(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var TSe=E(o8=>{"use strict";Object.defineProperty(o8,"__esModule",{value:!0});o8.hooks=void 0;var RWt=[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}];o8.hooks=RWt});var ESe=E(yh=>{"use strict";Object.defineProperty(yh,"__esModule",{value:!0});yh._assertUnremoved=KWt;yh._callRemovalHooks=UWt;yh._markRemoved=$Wt;yh._remove=qWt;yh._removeFromScope=VWt;yh.remove=jWt;var BWt=TSe(),MWt=L0(),xSe=ph();function jWt(){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 VWt(){let t=this.getBindingIdentifiers();Object.keys(t).forEach(e=>this.scope.removeBinding(e))}function UWt(){for(let t of BWt.hooks)if(t(this,this.parentPath))return!0}function qWt(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)}function $Wt(){this._traverseFlags|=xSe.SHOULD_SKIP|xSe.REMOVED,this.parent&&(0,MWt.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null}function KWt(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var ASe=E(l8=>{"use strict";Object.defineProperty(l8,"__esModule",{value:!0});l8.default=void 0;var wSe=Nr(),WWt=wSe,{react:GWt}=wSe,{cloneNode:zWt,jsxExpressionContainer:HWt,variableDeclaration:YWt,variableDeclarator:JWt}=WWt,XWt={ReferencedIdentifier(t,e){if(t.isJSXIdentifier()&&GWt.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)}}},NK=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(XWt,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=JWt(r,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[n]=e[s]([e.isVariableDeclarator()?i:YWt("var",[i])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=HWt(r)),this.path.replaceWith(zWt(r)),e.isVariableDeclarator()?n.get("init"):n.get("declarations.0.init")}};l8.default=NK});var NSe=E(Wl=>{"use strict";Object.defineProperty(Wl,"__esModule",{value:!0});Wl._containerInsert=dGt;Wl._containerInsertAfter=mGt;Wl._containerInsertBefore=hGt;Wl._verifyNodeList=vGt;Wl.hoist=xGt;Wl.insertAfter=gGt;Wl.insertBefore=fGt;Wl.pushContainer=TGt;Wl.unshiftContainer=SGt;Wl.updateSiblingKeys=bGt;var QWt=L0(),ZWt=ASe(),kK=ph(),eGt=Nr(),{arrowFunctionExpression:tGt,assertExpression:rGt,assignmentExpression:iGt,blockStatement:PSe,callExpression:sGt,cloneNode:IK,expressionStatement:OK,isAssignmentExpression:nGt,isCallExpression:aGt,isExportNamedDeclaration:_Se,isExpression:oGt,isIdentifier:lGt,isSequenceExpression:uGt,isSuper:cGt,thisExpression:pGt}=eGt;function fGt(t){this._assertUnremoved();let e=this._verifyNodeList(t),{parentPath:r,parent:i}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||_Se(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(PSe(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 dGt(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 hGt(t){return this._containerInsert(this.key,t)}function mGt(t){return this._containerInsert(this.key+1,t)}var CSe=t=>t[t.length-1];function DSe(t){return uGt(t.parent)&&(CSe(t.parent.expressions)!==t.node||DSe(t.parentPath))}function yGt(t,e){if(!nGt(t)||!lGt(t.left))return!1;let r=e.getBlockParent();return r.hasOwnBinding(t.left.name)&&r.getOwnBinding(t.left.name).constantViolations.length<=1}function gGt(t){if(this._assertUnremoved(),this.isSequenceExpression())return CSe(this.get("expressions")).insertAfter(t);let e=this._verifyNodeList(t),{parentPath:r,parent:i}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||_Se(i)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(e.map(s=>oGt(s)?OK(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 rGt(s),this.replaceWith(sGt(tGt([],s),[])),this.get("callee.body").insertAfter(e),[this];if(DSe(this))e.unshift(s);else if(aGt(s)&&cGt(s.callee))e.unshift(s),e.push(pGt());else if(yGt(s,n))e.unshift(s),e.push(IK(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(OK(iGt("=",IK(a),s))),e.push(OK(IK(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(PSe(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 bGt(t,e){if(!this.parent)return;let r=(0,QWt.getCachedPaths)(this.hub,this.parent)||[];for(let[,i]of r)typeof i.key=="number"&&i.key>=t&&(i.key+=e)}function vGt(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 kK.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 SGt(t,e){return this._assertUnremoved(),e=this._verifyNodeList(e),kK.default.get({parentPath:this,parent:this.node,container:this.node[t],listKey:t,key:0}).setContext(this.context)._containerInsertBefore(e)}function TGt(t,e){this._assertUnremoved();let r=this._verifyNodeList(e),i=this.node[t];return kK.default.get({parentPath:this,parent:this.node,container:i,listKey:t,key:i.length}).setContext(this.context).replaceWithMultiple(r)}function xGt(t=this.scope){return new ZWt.default(this,t).run()}});var kSe=E(va=>{"use strict";Object.defineProperty(va,"__esModule",{value:!0});va._getKey=VGt;va._getPattern=UGt;va.get=jGt;va.getAllNextSiblings=BGt;va.getAllPrevSiblings=MGt;va.getBindingIdentifierPaths=KGt;va.getBindingIdentifiers=qGt;va.getCompletionRecords=kGt;va.getNextSibling=RGt;va.getOpposite=NGt;va.getOuterBindingIdentifierPaths=WGt;va.getOuterBindingIdentifiers=$Gt;va.getPrevSibling=FGt;va.getSibling=LGt;var FK=ph(),EGt=Nr(),{getBindingIdentifiers:OSe,getOuterBindingIdentifiers:wGt,isDeclaration:AGt,numericLiteral:PGt,unaryExpression:_Gt}=EGt,RK=0,$x=1;function CGt(t){return{type:RK,path:t}}function DGt(t){return{type:$x,path:t}}function NGt(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function Ob(t,e,r){return t&&e.push(...kb(t,r)),e}function IGt(t,e,r){let i=[];for(let s=0;s<t.length;s++){let n=t[s],a=kb(n,r),o=[],l=[];for(let u of a)u.type===RK&&o.push(u),u.type===$x&&l.push(u);o.length&&(i=o),e.push(...l)}return e.push(...i),e}function OGt(t){t.forEach(e=>{e.type=$x})}function LK(t,e){t.forEach(r=>{r.path.isBreakStatement({label:null})&&(e?r.path.replaceWith(_Gt("void",PGt(0))):r.path.remove())})}function ISe(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=kb(n,a);if(o.length>0&&o.every(l=>l.type===$x)){i.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(OGt(i),r.push(...i),i.some(l=>l.path.isDeclaration())&&(r.push(...o),LK(o,!0)),LK(o,!1)):(r.push(...o),e.shouldPopulateBreak||LK(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===$x&&r.push(u),u.type===RK&&i.push(u)}}}}else if(t.length)for(let i=t.length-1;i>=0;i--){let s=kb(t[i],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()){r.push(...s);break}}return r}function kb(t,e){let r=[];if(t.isIfStatement())r=Ob(t.get("consequent"),r,e),r=Ob(t.get("alternate"),r,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return Ob(t.get("body"),r,e);if(t.isProgram()||t.isBlockStatement())return ISe(t.get("body"),e);if(t.isFunction())return kb(t.get("body"),e);if(t.isTryStatement())r=Ob(t.get("block"),r,e),r=Ob(t.get("handler"),r,e);else{if(t.isCatchClause())return Ob(t.get("body"),r,e);if(t.isSwitchStatement())return IGt(t.get("cases"),r,e);if(t.isSwitchCase())return ISe(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});t.isBreakStatement()?r.push(DGt(t)):r.push(CGt(t))}}return r}function kGt(){return kb(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map(e=>e.path)}function LGt(t){return FK.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function FGt(){return this.getSibling(this.key-1)}function RGt(){return this.getSibling(this.key+1)}function BGt(){let t=this.key,e=this.getSibling(++t),r=[];for(;e.node;)r.push(e),e=this.getSibling(++t);return r}function MGt(){let t=this.key,e=this.getSibling(--t),r=[];for(;e.node;)r.push(e),e=this.getSibling(--t);return r}function jGt(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 VGt(t,e){let r=this.node,i=r[t];return Array.isArray(i)?i.map((s,n)=>FK.default.get({listKey:t,parentPath:this,parent:r,container:i,key:n}).setContext(e)):FK.default.get({parentPath:this,parent:r,container:r,key:t}).setContext(e)}function UGt(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 qGt(t){return OSe(this.node,t)}function $Gt(t){return wGt(this.node,t)}function KGt(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=OSe.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");AGt(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 WGt(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var FSe=E(Kx=>{"use strict";Object.defineProperty(Kx,"__esModule",{value:!0});Kx.addComment=JGt;Kx.addComments=XGt;Kx.shareCommentsWithSiblings=YGt;var GGt=Nr(),{addComment:zGt,addComments:HGt}=GGt;function YGt(){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",LSe(r,i.node.trailingComments)),e&&!a&&i.addComments("trailing",e)),a&&(e&&s.addComments("leading",LSe(e,s.node.leadingComments)),r&&!n&&s.addComments("leading",r))}function LSe(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 JGt(t,e,r){zGt(this.node,t,e,r)}function XGt(t,e){HGt(this.node,t,e)}});var MSe=E(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.isBindingIdentifier=Szt;Tn.isBlockScoped=Azt;Tn.isExpression=xzt;Tn.isFlow=Nzt;Tn.isForAwaitStatement=kzt;Tn.isGenerated=Czt;Tn.isPure=Dzt;Tn.isReferenced=wzt;Tn.isReferencedIdentifier=bzt;Tn.isReferencedMemberExpression=vzt;Tn.isRestProperty=Izt;Tn.isScope=Ezt;Tn.isSpreadProperty=Ozt;Tn.isStatement=Tzt;Tn.isUser=_zt;Tn.isVar=Pzt;var QGt=Nr(),{isBinding:ZGt,isBlockScoped:ezt,isExportDeclaration:tzt,isExpression:rzt,isFlow:izt,isForStatement:szt,isForXStatement:nzt,isIdentifier:RSe,isImportDeclaration:azt,isImportSpecifier:ozt,isJSXIdentifier:lzt,isJSXMemberExpression:uzt,isMemberExpression:czt,isRestElement:BSe,isReferenced:BK,isScope:pzt,isStatement:fzt,isVar:dzt,isVariableDeclaration:hzt,react:mzt,isForOfStatement:yzt}=QGt,{isCompatTag:gzt}=mzt;function bzt(t){let{node:e,parent:r}=this;if(!RSe(e,t)&&!uzt(r,t))if(lzt(e,t)){if(gzt(e.name))return!1}else return!1;return BK(e,r,this.parentPath.parent)}function vzt(){let{node:t,parent:e}=this;return czt(t)&&BK(t,e)}function Szt(){let{node:t,parent:e}=this,r=this.parentPath.parent;return RSe(t)&&ZGt(t,e,r)}function Tzt(){let{node:t,parent:e}=this;return fzt(t)?!(hzt(t)&&(nzt(e,{left:t})||szt(e,{init:t}))):!1}function xzt(){return this.isIdentifier()?this.isReferencedIdentifier():rzt(this.node)}function Ezt(){return pzt(this.node,this.parent)}function wzt(){return BK(this.node,this.parent)}function Azt(){return ezt(this.node)}function Pzt(){return dzt(this.node)}function _zt(){return this.node&&!!this.node.loc}function Czt(){return!this.isUser()}function Dzt(t){return this.scope.isPure(this.node,t)}function Nzt(){let{node:t}=this;return izt(t)?!0:azt(t)?t.importKind==="type"||t.importKind==="typeof":tzt(t)?t.exportKind==="type":ozt(t)?t.importKind==="type"||t.importKind==="typeof":!1}function Izt(){return BSe(this.node)&&this.parentPath&&this.parentPath.isObjectPattern()}function Ozt(){return BSe(this.node)&&this.parentPath&&this.parentPath.isObjectExpression()}function kzt(){return yzt(this.node,{await:!0})}Tn.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},Tn.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var ph=E(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.default=Oc.SHOULD_STOP=Oc.SHOULD_SKIP=Oc.REMOVED=void 0;var Lzt=Yj(),Fzt=R7(),Rzt=sx(),Bzt=sq(),VSe=Nr(),f8=VSe,Mzt=L0(),jzt=ube(),Vzt=cbe(),Uzt=Dbe(),qzt=i2e(),$zt=o2e(),Kzt=pSe(),USe=gSe(),Wzt=SSe(),Gzt=ESe(),zzt=NSe(),Hzt=kSe(),Yzt=FSe(),Jzt=MSe(),{validate:Xzt}=VSe,jSe=Fzt("babel"),u8=1<<0;Oc.REMOVED=u8;var c8=1<<1;Oc.SHOULD_STOP=c8;var p8=1<<2;Oc.SHOULD_SKIP=p8;var kc=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=Mzt.getOrCreateCachedPaths(e,i),u=l.get(o);return u||(u=new kc(e,i),o&&l.set(o,u)),u.setup(r,s,n,a),u}getScope(e){return this.isScope()?new Bzt.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,Rzt.default)(this.node,e,this.scope,r,this)}set(e,r){Xzt(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){jSe.enabled&&jSe(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,jzt.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&p8)}set shouldSkip(e){e?this._traverseFlags|=p8:this._traverseFlags&=~p8}get shouldStop(){return!!(this._traverseFlags&c8)}set shouldStop(e){e?this._traverseFlags|=c8:this._traverseFlags&=~c8}get removed(){return!!(this._traverseFlags&u8)}set removed(e){e?this._traverseFlags|=u8:this._traverseFlags&=~u8}};Object.assign(kc.prototype,Vzt,Uzt,qzt,$zt,Kzt,USe,Wzt,Gzt,zzt,Hzt,Yzt);kc.prototype._guessExecutionStatusRelativeToDifferentFunctions=USe._guessExecutionStatusRelativeTo;for(let t of f8.TYPES){let e=`is${t}`,r=f8[e];kc.prototype[e]=function(i){return r(this.node,i)},kc.prototype[`assert${t}`]=function(i){if(!r(this.node,i))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(kc.prototype,Jzt);for(let t of Object.keys(Lzt))t[0]!=="_"&&(f8.TYPES.includes(t)||f8.TYPES.push(t));var Qzt=kc;Oc.default=Qzt});var qSe=E(d8=>{"use strict";Object.defineProperty(d8,"__esModule",{value:!0});d8.default=void 0;var Zzt=ph(),eHt=Nr(),{VISITOR_KEYS:tHt}=eHt,MK=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=tHt[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 Zzt.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}};d8.default=MK});var nC=E(jK=>{"use strict";Object.defineProperty(jK,"__esModule",{value:!0});jK.traverseNode=nHt;var rHt=qSe(),iHt=Nr(),{VISITOR_KEYS:sHt}=iHt;function nHt(t,e,r,i,s,n,a){let o=sHt[t.type];if(!o)return!1;let l=new rHt.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 $Se=E(h8=>{"use strict";Object.defineProperty(h8,"__esModule",{value:!0});h8.default=void 0;var VK=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,r,i=TypeError){return new i(r)}};h8.default=VK});var sx=E(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});Object.defineProperty(bf,"Hub",{enumerable:!0,get:function(){return cHt.default}});Object.defineProperty(bf,"NodePath",{enumerable:!0,get:function(){return lHt.default}});Object.defineProperty(bf,"Scope",{enumerable:!0,get:function(){return uHt.default}});bf.visitors=bf.default=void 0;var Wx=rx();bf.visitors=Wx;var aHt=Nr(),oHt=L0(),KSe=nC(),lHt=ph(),uHt=sq(),cHt=$Se(),{VISITOR_KEYS:pHt,removeProperties:fHt,traverseFast:WSe}=aHt;function Gl(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.");pHt[t.type]&&(Wx.explode(e),(0,KSe.traverseNode)(t,e,r,i,s,null,n))}}var dHt=Gl;bf.default=dHt;Gl.visitors=Wx;Gl.verify=Wx.verify;Gl.explode=Wx.explode;Gl.cheap=function(t,e){WSe(t,e)};Gl.node=function(t,e,r,i,s,n){(0,KSe.traverseNode)(t,e,r,i,s,n)};Gl.clearNode=function(t,e){fHt(t,e)};Gl.removeProperties=function(t,e){return WSe(t,Gl.clearNode,e),t};function hHt(t,e){t.node.type===e.type&&(e.has=!0,t.stop())}Gl.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 Gl(t,{noScope:!0,denylist:r,enter:hHt},null,i),i.has};Gl.cache=oHt});var nTe=E((e7r,sTe)=>{"use strict";sTe.exports=(...t)=>[...new Set([].concat(...t))]});var UK=E((t7r,lTe)=>{"use strict";var THt=require("stream"),aTe=THt.PassThrough,xHt=Array.prototype.slice;lTe.exports=EHt;function EHt(){let t=[],e=xHt.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=aTe(i);function o(){for(let c=0,p=arguments.length;c<p;c++)t.push(oTe(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 oTe(t,e){if(Array.isArray(t))for(let r=0,i=t.length;r<i;r++)t[r]=oTe(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(aTe(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var uTe=E(Lb=>{"use strict";Object.defineProperty(Lb,"__esModule",{value:!0});Lb.splitWhen=Lb.flatten=void 0;function wHt(t){return t.reduce((e,r)=>[].concat(e,r),[])}Lb.flatten=wHt;function AHt(t,e){let r=[[]],i=0;for(let s of t)e(s)?(i++,r[i]=[]):r[i].push(s);return r}Lb.splitWhen=AHt});var cTe=E(m8=>{"use strict";Object.defineProperty(m8,"__esModule",{value:!0});m8.isEnoentCodeError=void 0;function PHt(t){return t.code==="ENOENT"}m8.isEnoentCodeError=PHt});var pTe=E(y8=>{"use strict";Object.defineProperty(y8,"__esModule",{value:!0});y8.createDirentFromStats=void 0;var qK=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 _Ht(t,e){return new qK(t,e)}y8.createDirentFromStats=_Ht});var mTe=E(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.convertPosixPathToPattern=xn.convertWindowsPathToPattern=xn.convertPathToPattern=xn.escapePosixPath=xn.escapeWindowsPath=xn.escape=xn.removeLeadingDotSegment=xn.makeAbsolute=xn.unixify=void 0;var CHt=require("os"),DHt=require("path"),fTe=CHt.platform()==="win32",NHt=2,IHt=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,OHt=/(\\?)([(){}]|^!|[!+@](?=\())/g,kHt=/^\\\\([.?])/,LHt=/\\(?![!()+@{}])/g;function FHt(t){return t.replace(/\\/g,"/")}xn.unixify=FHt;function RHt(t,e){return DHt.resolve(t,e)}xn.makeAbsolute=RHt;function BHt(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(NHt)}return t}xn.removeLeadingDotSegment=BHt;xn.escape=fTe?$K:KK;function $K(t){return t.replace(OHt,"\\$2")}xn.escapeWindowsPath=$K;function KK(t){return t.replace(IHt,"\\$2")}xn.escapePosixPath=KK;xn.convertPathToPattern=fTe?dTe:hTe;function dTe(t){return $K(t).replace(kHt,"//$1").replace(LHt,"/")}xn.convertWindowsPathToPattern=dTe;function hTe(t){return KK(t)}xn.convertPosixPathToPattern=hTe});var gTe=E((a7r,yTe)=>{yTe.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 STe=E((o7r,vTe)=>{var MHt=gTe(),bTe={"{":"}","(":")","[":"]"},jHt=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=bTe[o];if(l){var u=t.indexOf(l,e);u!==-1&&(e=u+1)}if(t[e]==="!")return!0}else e++}return!1},VHt=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=bTe[r];if(i){var s=t.indexOf(i,e);s!==-1&&(e=s+1)}if(t[e]==="!")return!0}else e++}return!1};vTe.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(MHt(e))return!0;var i=jHt;return r&&r.strict===!1&&(i=VHt),i(e)}});var xTe=E((l7r,TTe)=>{"use strict";var UHt=STe(),qHt=require("path").posix.dirname,$Ht=require("os").platform()==="win32",WK="/",KHt=/\\/g,WHt=/[\{\[].*[\}\]]$/,GHt=/(^|[^\\])([\{\[]|\([^\)]+$)/,zHt=/\\([\!\*\?\|\[\]\(\)\{\}])/g;TTe.exports=function(e,r){var i=Object.assign({flipBackslashes:!0},r);i.flipBackslashes&&$Ht&&e.indexOf(WK)<0&&(e=e.replace(KHt,WK)),WHt.test(e)&&(e+=WK),e+="a";do e=qHt(e);while(UHt(e)||GHt.test(e));return e.replace(zHt,"$1")}});var g8=E(zl=>{"use strict";zl.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;zl.find=(t,e)=>t.nodes.find(r=>r.type===e);zl.exceedsLimit=(t,e,r=1,i)=>i===!1||!zl.isInteger(t)||!zl.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=i;zl.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)};zl.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);zl.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;zl.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;zl.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);zl.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 b8=E((c7r,wTe)=>{"use strict";var ETe=g8();wTe.exports=(t,e={})=>{let r=(i,s={})=>{let n=e.escapeInvalid&&ETe.isInvalidBrace(s),a=i.invalid===!0&&e.escapeInvalid===!0,o="";if(i.value)return(n||a)&&ETe.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 PTe=E((p7r,ATe)=>{"use strict";ATe.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var FTe=E((f7r,LTe)=>{"use strict";var _Te=PTe(),W0=(t,e,r)=>{if(_Te(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(_Te(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(W0.cache.hasOwnProperty(l))return W0.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=kTe(t)||kTe(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=CTe(m,Math.abs(u),d,i),u=d.a=0}return c>=0&&(f=CTe(u,c,d,i)),d.negatives=h,d.positives=f,d.result=HHt(h,f,i),i.capture===!0?d.result=`(${d.result})`:i.wrap!==!1&&f.length+h.length>1&&(d.result=`(?:${d.result})`),W0.cache[l]=d,d.result};function HHt(t,e,r){let i=GK(t,e,"-",!1,r)||[],s=GK(e,t,"",!1,r)||[],n=GK(t,e,"-?",!0,r)||[];return i.concat(n).concat(s).join("|")}function YHt(t,e){let r=1,i=1,s=NTe(t,r),n=new Set([e]);for(;t<=s&&s<=e;)n.add(s),r+=1,s=NTe(t,r);for(s=ITe(e+1,i)-1;t<s&&s<=e;)n.add(s),i+=1,s=ITe(e+1,i)-1;return n=[...n],n.sort(QHt),n}function JHt(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let i=XHt(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+=ZHt(l,u,r):a++}return a&&(n+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:n,count:[a],digits:s}}function CTe(t,e,r,i){let s=YHt(t,e),n=[],a=t,o;for(let l=0;l<s.length;l++){let u=s[l],c=JHt(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+OTe(o.count),a=u+1;continue}r.isPadded&&(p=eYt(u,r,i)),c.string=p+c.pattern+OTe(c.count),n.push(c),a=u+1,o=c}return n}function GK(t,e,r,i,s){let n=[];for(let a of t){let{string:o}=a;!i&&!DTe(e,"string",o)&&n.push(r+o),i&&DTe(e,"string",o)&&n.push(r+o)}return n}function XHt(t,e){let r=[];for(let i=0;i<t.length;i++)r.push([t[i],e[i]]);return r}function QHt(t,e){return t>e?1:e>t?-1:0}function DTe(t,e,r){return t.some(i=>i[e]===r)}function NTe(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function ITe(t,e){return t-t%Math.pow(10,e)}function OTe(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function ZHt(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function kTe(t){return/^-?(0+)\d/.test(t)}function eYt(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}}`}}W0.cache={};W0.clearCache=()=>W0.cache={};LTe.exports=W0});var YK=E((d7r,$Te)=>{"use strict";var tYt=require("util"),MTe=FTe(),RTe=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),rYt=t=>e=>t===!0?Number(e):String(e),zK=t=>typeof t=="number"||typeof t=="string"&&t!=="",Gx=t=>Number.isInteger(+t),HK=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},iYt=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,sYt=(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},BTe=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},nYt=(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},jTe=(t,e,r,i)=>{if(r)return MTe(t,e,{wrap:!1,...i});let s=String.fromCharCode(t);if(t===e)return s;let n=String.fromCharCode(e);return`[${s}-${n}]`},VTe=(t,e,r)=>{if(Array.isArray(t)){let i=r.wrap===!0,s=r.capture?"":"?:";return i?`(${s}${t.join("|")})`:t.join("|")}return MTe(t,e,r)},UTe=(...t)=>new RangeError("Invalid range arguments: "+tYt.inspect(...t)),qTe=(t,e,r)=>{if(r.strictRanges===!0)throw UTe([t,e]);return[]},aYt=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},oYt=(t,e,r=1,i={})=>{let s=Number(t),n=Number(e);if(!Number.isInteger(s)||!Number.isInteger(n)){if(i.strictRanges===!0)throw UTe([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=HK(o)||HK(l)||HK(u),p=c?Math.max(o.length,l.length,u.length):0,d=c===!1&&iYt(t,e,i)===!1,f=i.transform||rYt(d);if(i.toRegex&&r===1)return jTe(BTe(t,p),BTe(e,p),!0,i);let h={negatives:[],positives:[]},m=S=>h[S<0?"negatives":"positives"].push(Math.abs(S)),g=[],b=0;for(;a?s>=n:s<=n;)i.toRegex===!0&&r>1?m(s):g.push(sYt(f(s,b),p,d)),s=a?s-r:s+r,b++;return i.toRegex===!0?r>1?nYt(h,i):VTe(g,null,{wrap:!1,...i}):g},lYt=(t,e,r=1,i={})=>{if(!Gx(t)&&t.length>1||!Gx(e)&&e.length>1)return qTe(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 jTe(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?VTe(c,null,{wrap:!1,options:i}):c},v8=(t,e,r,i={})=>{if(e==null&&zK(t))return[t];if(!zK(t)||!zK(e))return qTe(t,e,i);if(typeof r=="function")return v8(t,e,1,{transform:r});if(RTe(r))return v8(t,e,0,r);let s={...i};return s.capture===!0&&(s.wrap=!0),r=r||s.step||1,Gx(r)?Gx(t)&&Gx(e)?oYt(t,e,r,s):lYt(t,e,Math.max(Math.abs(r),1),s):r!=null&&!RTe(r)?aYt(r,s):v8(t,e,1,r)};$Te.exports=v8});var GTe=E((h7r,WTe)=>{"use strict";var uYt=YK(),KTe=g8(),cYt=(t,e={})=>{let r=(i,s={})=>{let n=KTe.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=KTe.reduce(i.nodes),p=uYt(...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)};WTe.exports=cYt});var YTe=E((m7r,HTe)=>{"use strict";var pYt=YK(),zTe=b8(),Fb=g8(),G0=(t="",e="",r=!1)=>{let i=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?Fb.flatten(e).map(s=>`{${s}}`):e;for(let s of t)if(Array.isArray(s))for(let n of s)i.push(G0(n,e,r));else for(let n of e)r===!0&&typeof n=="string"&&(n=`{${n}}`),i.push(Array.isArray(n)?G0(s,n,r):s+n);return Fb.flatten(i)},fYt=(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(G0(o.pop(),zTe(s,e)));return}if(s.type==="brace"&&s.invalid!==!0&&s.nodes.length===2){o.push(G0(o.pop(),["{}"]));return}if(s.nodes&&s.ranges>0){let p=Fb.reduce(s.nodes);if(Fb.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=pYt(...p,e);d.length===0&&(d=zTe(s,e)),o.push(G0(o.pop(),d)),s.nodes=[];return}let l=Fb.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(G0(o.pop(),u,l));continue}if(d.value&&d.type!=="open"){u.push(G0(u.pop(),d.value));continue}d.nodes&&i(d,s)}return u};return Fb.flatten(i(t))};HTe.exports=fYt});var XTe=E((y7r,JTe)=>{"use strict";JTe.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 rxe=E((g7r,txe)=>{"use strict";var dYt=b8(),{MAX_LENGTH:QTe,CHAR_BACKSLASH:JK,CHAR_BACKTICK:hYt,CHAR_COMMA:mYt,CHAR_DOT:yYt,CHAR_LEFT_PARENTHESES:gYt,CHAR_RIGHT_PARENTHESES:bYt,CHAR_LEFT_CURLY_BRACE:vYt,CHAR_RIGHT_CURLY_BRACE:SYt,CHAR_LEFT_SQUARE_BRACKET:ZTe,CHAR_RIGHT_SQUARE_BRACKET:exe,CHAR_DOUBLE_QUOTE:TYt,CHAR_SINGLE_QUOTE:xYt,CHAR_NO_BREAK_SPACE:EYt,CHAR_ZERO_WIDTH_NOBREAK_SPACE:wYt}=XTe(),AYt=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},i=typeof r.maxLength=="number"?Math.min(QTe,r.maxLength):QTe;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===wYt||d===EYt)){if(d===JK){m({type:"text",value:(e.keepEscaping?d:"")+h()});continue}if(d===exe){m({type:"text",value:"\\"+d});continue}if(d===ZTe){l++;let g=!0,b;for(;c<u&&(b=h());){if(d+=b,b===ZTe){l++;continue}if(b===JK){d+=h();continue}if(b===exe&&(l--,l===0))break}m({type:"text",value:d});continue}if(d===gYt){a=m({type:"paren",nodes:[]}),n.push(a),m({type:"text",value:d});continue}if(d===bYt){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===TYt||d===xYt||d===hYt){let g=d,b;for(e.keepQuotes!==!0&&(d="");c<u&&(b=h());){if(b===JK){d+=b+h();continue}if(b===g){e.keepQuotes===!0&&(d+=b);break}d+=b}m({type:"text",value:d});continue}if(d===vYt){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===SYt){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===mYt&&p>0){if(a.ranges>0){a.ranges=0;let g=a.nodes.shift();a.nodes=[g,{type:"text",value:dYt(a)}]}m({type:"comma",value:d}),a.commas++;continue}if(d===yYt&&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(S=>{S.nodes||(S.type==="open"&&(S.isOpen=!0),S.type==="close"&&(S.isClose=!0),S.nodes||(S.type="text"),S.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};txe.exports=AYt});var nxe=E((b7r,sxe)=>{"use strict";var ixe=b8(),PYt=GTe(),_Yt=YTe(),CYt=rxe(),Qo=(t,e={})=>{let r=[];if(Array.isArray(t))for(let i of t){let s=Qo.create(i,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(Qo.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};Qo.parse=(t,e={})=>CYt(t,e);Qo.stringify=(t,e={})=>ixe(typeof t=="string"?Qo.parse(t,e):t,e);Qo.compile=(t,e={})=>(typeof t=="string"&&(t=Qo.parse(t,e)),PYt(t,e));Qo.expand=(t,e={})=>{typeof t=="string"&&(t=Qo.parse(t,e));let r=_Yt(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};Qo.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?Qo.compile(t,e):Qo.expand(t,e);sxe.exports=Qo});var zx=E((v7r,cxe)=>{"use strict";var DYt=require("path"),Lc="\\\\/",axe=`[^${Lc}]`,vf="\\.",NYt="\\+",IYt="\\?",S8="\\/",OYt="(?=.)",oxe="[^/]",XK=`(?:${S8}|$)`,lxe=`(?:^|${S8})`,QK=`${vf}{1,2}${XK}`,kYt=`(?!${vf})`,LYt=`(?!${lxe}${QK})`,FYt=`(?!${vf}{0,1}${XK})`,RYt=`(?!${QK})`,BYt=`[^.${S8}]`,MYt=`${oxe}*?`,uxe={DOT_LITERAL:vf,PLUS_LITERAL:NYt,QMARK_LITERAL:IYt,SLASH_LITERAL:S8,ONE_CHAR:OYt,QMARK:oxe,END_ANCHOR:XK,DOTS_SLASH:QK,NO_DOT:kYt,NO_DOTS:LYt,NO_DOT_SLASH:FYt,NO_DOTS_SLASH:RYt,QMARK_NO_DOT:BYt,STAR:MYt,START_ANCHOR:lxe},jYt={...uxe,SLASH_LITERAL:`[${Lc}]`,QMARK:axe,STAR:`${axe}*?`,DOTS_SLASH:`${vf}{1,2}(?:[${Lc}]|$)`,NO_DOT:`(?!${vf})`,NO_DOTS:`(?!(?:^|[${Lc}])${vf}{1,2}(?:[${Lc}]|$))`,NO_DOT_SLASH:`(?!${vf}{0,1}(?:[${Lc}]|$))`,NO_DOTS_SLASH:`(?!${vf}{1,2}(?:[${Lc}]|$))`,QMARK_NO_DOT:`[^.${Lc}]`,START_ANCHOR:`(?:^|[${Lc}])`,END_ANCHOR:`(?:[${Lc}]|$)`},VYt={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"};cxe.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:VYt,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:DYt.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?jYt:uxe}}});var Hx=E(Io=>{"use strict";var UYt=require("path"),qYt=process.platform==="win32",{REGEX_BACKSLASH:$Yt,REGEX_REMOVE_BACKSLASH:KYt,REGEX_SPECIAL_CHARS:WYt,REGEX_SPECIAL_CHARS_GLOBAL:GYt}=zx();Io.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);Io.hasRegexChars=t=>WYt.test(t);Io.isRegexChar=t=>t.length===1&&Io.hasRegexChars(t);Io.escapeRegex=t=>t.replace(GYt,"\\$1");Io.toPosixSlashes=t=>t.replace($Yt,"/");Io.removeBackslashes=t=>t.replace(KYt,e=>e==="\\"?"":e);Io.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};Io.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:qYt===!0||UYt.sep==="\\";Io.escapeLast=(t,e,r)=>{let i=t.lastIndexOf(e,r);return i===-1?t:t[i-1]==="\\"?Io.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};Io.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};Io.wrapOutput=(t,e={},r={})=>{let i=r.contains?"":"^",s=r.contains?"":"$",n=`${i}(?:${t})${s}`;return e.negated===!0&&(n=`(?:^(?!${n}).*$)`),n}});var bxe=E((T7r,gxe)=>{"use strict";var pxe=Hx(),{CHAR_ASTERISK:ZK,CHAR_AT:zYt,CHAR_BACKWARD_SLASH:Yx,CHAR_COMMA:HYt,CHAR_DOT:eW,CHAR_EXCLAMATION_MARK:tW,CHAR_FORWARD_SLASH:yxe,CHAR_LEFT_CURLY_BRACE:rW,CHAR_LEFT_PARENTHESES:iW,CHAR_LEFT_SQUARE_BRACKET:YYt,CHAR_PLUS:JYt,CHAR_QUESTION_MARK:fxe,CHAR_RIGHT_CURLY_BRACE:XYt,CHAR_RIGHT_PARENTHESES:dxe,CHAR_RIGHT_SQUARE_BRACKET:QYt}=zx(),hxe=t=>t===yxe||t===Yx,mxe=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},ZYt=(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,S=!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),xe=()=>(C=K,l.charCodeAt(++u));for(;u<i;){K=xe();let Ne;if(K===Yx){S=F.backslashes=!0,K=xe(),K===rW&&(b=!0);continue}if(b===!0||K===rW){for(A++;Q()!==!0&&(K=xe());){if(K===Yx){S=F.backslashes=!0,xe();continue}if(K===rW){A++;continue}if(b!==!0&&K===eW&&(K=xe())===eW){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(b!==!0&&K===HYt){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===XYt&&(A--,A===0)){b=!1,d=F.isBrace=!0,w=!0;break}}if(s===!0)continue;break}if(K===yxe){if(n.push(u),a.push(F),F={value:"",depth:0,isGlob:!1},w===!0)continue;if(C===eW&&u===c+1){c+=2;continue}p=u+1;continue}if(r.noext!==!0&&(K===JYt||K===zYt||K===ZK||K===fxe||K===tW)===!0&&X()===iW){if(h=F.isGlob=!0,m=F.isExtglob=!0,w=!0,K===tW&&u===c&&(v=!0),s===!0){for(;Q()!==!0&&(K=xe());){if(K===Yx){S=F.backslashes=!0,K=xe();continue}if(K===dxe){h=F.isGlob=!0,w=!0;break}}continue}break}if(K===ZK){if(C===ZK&&(g=F.isGlobstar=!0),h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===fxe){if(h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===YYt){for(;Q()!==!0&&(Ne=xe());){if(Ne===Yx){S=F.backslashes=!0,xe();continue}if(Ne===QYt){f=F.isBracket=!0,h=F.isGlob=!0,w=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&K===tW&&u===c){x=F.negated=!0,c++;continue}if(r.noparen!==!0&&K===iW){if(h=F.isGlob=!0,s===!0){for(;Q()!==!0&&(K=xe());){if(K===iW){S=F.backslashes=!0,K=xe();continue}if(K===dxe){w=!0;break}}continue}break}if(h===!0){if(w=!0,s===!0)continue;break}}r.noext===!0&&(m=!1,h=!1);let We=l,ze="",ae="";c>0&&(ze=l.slice(0,c),l=l.slice(c),p-=c),We&&h===!0&&p>0?(We=l.slice(0,p),ae=l.slice(p)):h===!0?(We="",ae=l):We=l,We&&We!==""&&We!=="/"&&We!==l&&hxe(We.charCodeAt(We.length-1))&&(We=We.slice(0,-1)),r.unescape===!0&&(ae&&(ae=pxe.removeBackslashes(ae)),We&&S===!0&&(We=pxe.removeBackslashes(We)));let ne={prefix:ze,input:t,start:c,base:We,glob:ae,isBrace:d,isBracket:f,isGlob:h,isExtglob:m,isGlobstar:g,negated:x,negatedExtglob:v};if(r.tokens===!0&&(ne.maxDepth=0,hxe(K)||a.push(F),ne.tokens=a),r.parts===!0||r.tokens===!0){let Ne;for(let Ue=0;Ue<n.length;Ue++){let xt=Ne?Ne+1:c,ue=n[Ue],Me=t.slice(xt,ue);r.tokens&&(Ue===0&&c!==0?(a[Ue].isPrefix=!0,a[Ue].value=ze):a[Ue].value=Me,mxe(a[Ue]),ne.maxDepth+=a[Ue].depth),(Ue!==0||Me!=="")&&o.push(Me),Ne=ue}if(Ne&&Ne+1<t.length){let Ue=t.slice(Ne+1);o.push(Ue),r.tokens&&(a[a.length-1].value=Ue,mxe(a[a.length-1]),ne.maxDepth+=a[a.length-1].depth)}ne.slashes=n,ne.parts=o}return ne};gxe.exports=ZYt});var Txe=E((x7r,Sxe)=>{"use strict";var T8=zx(),Zo=Hx(),{MAX_LENGTH:x8,POSIX_REGEX_SOURCE:eJt,REGEX_NON_SPECIAL_CHARS:tJt,REGEX_SPECIAL_CHARS_BACKREF:rJt,REPLACEMENTS:vxe}=T8,iJt=(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},Rb=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,sW=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=vxe[t]||t;let r={...e},i=typeof r.maxLength=="number"?Math.min(x8,r.maxLength):x8,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=T8.globChars(l),c=T8.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:S,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 xe=[],We=[],ze=[],ae=n,ne,Ne=()=>X.index===s-1,Ue=X.peek=(le=1)=>t[X.index+le],xt=X.advance=()=>t[++X.index]||"",ue=()=>t.slice(X.index+1),Me=(le="",Be=0)=>{X.consumed+=le,X.index+=Be},Z=le=>{X.output+=le.output!=null?le.output:le.value,Me(le.value)},Te=()=>{let le=1;for(;Ue()==="!"&&(Ue(2)!=="("||Ue(3)==="?");)xt(),X.start++,le++;return le%2===0?!1:(X.negated=!0,X.start++,!0)},we=le=>{X[le]++,ze.push(le)},Ae=le=>{X[le]--,ze.pop()},Ve=le=>{if(ae.type==="globstar"){let Be=X.braces>0&&(le.type==="comma"||le.type==="brace"),ve=le.extglob===!0||xe.length&&(le.type==="pipe"||le.type==="paren");le.type!=="slash"&&le.type!=="paren"&&!Be&&!ve&&(X.output=X.output.slice(0,-ae.output.length),ae.type="star",ae.value="*",ae.output=Q,X.output+=ae.output)}if(xe.length&&le.type!=="paren"&&(xe[xe.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},ye=(le,Be)=>{let ve={...c[Be],conditions:1,inner:""};ve.prev=ae,ve.parens=X.parens,ve.output=X.output;let De=(r.capture?"(":"")+ve.open;we("parens"),Ve({type:le,value:Be,output:X.output?"":h}),Ve({type:"paren",extglob:!0,value:xt(),output:De}),xe.push(ve)},pe=le=>{let Be=le.close+(r.capture?")":""),ve;if(le.type==="negate"){let De=Q;if(le.inner&&le.inner.length>1&&le.inner.includes("/")&&(De=C(r)),(De!==Q||Ne()||/^\)+$/.test(ue()))&&(Be=le.close=`)$))${De}`),le.inner.includes("*")&&(ve=ue())&&/^\.[^\\/.]+$/.test(ve)){let st=sW(ve,{...e,fastpaths:!1}).output;Be=le.close=`)${st})${De})`}le.prev.type==="bos"&&(X.negatedExtglob=!0)}Ve({type:"paren",extglob:!0,value:ne,output:Be}),Ae("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let le=!1,Be=t.replace(rJt,(ve,De,st,Lt,mt,er)=>Lt==="\\"?(le=!0,ve):Lt==="?"?De?De+Lt+(mt?x.repeat(mt.length):""):er===0?F+(mt?x.repeat(mt.length):""):x.repeat(st.length):Lt==="."?p.repeat(st.length):Lt==="*"?De?De+Lt+(mt?Q:""):Q:De?ve:`\\${ve}`);return le===!0&&(r.unescape===!0?Be=Be.replace(/\\/g,""):Be=Be.replace(/\\+/g,ve=>ve.length%2===0?"\\\\":ve?"\\":"")),Be===t&&r.contains===!0?(X.output=t,X):(X.output=Zo.wrapOutput(Be,X,e),X)}for(;!Ne();){if(ne=xt(),ne==="\0")continue;if(ne==="\\"){let ve=Ue();if(ve==="/"&&r.bash!==!0||ve==="."||ve===";")continue;if(!ve){ne+="\\",Ve({type:"text",value:ne});continue}let De=/^\\+/.exec(ue()),st=0;if(De&&De[0].length>2&&(st=De[0].length,X.index+=st,st%2!==0&&(ne+="\\")),r.unescape===!0?ne=xt():ne+=xt(),X.brackets===0){Ve({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 De=ae.value.lastIndexOf("["),st=ae.value.slice(0,De),Lt=ae.value.slice(De+2),mt=eJt[Lt];if(mt){ae.value=st+mt,X.backtrack=!0,xt(),!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&&Ve({type:"text",value:ne});continue}if(ne==="("){we("parens"),Ve({type:"paren",value:ne});continue}if(ne===")"){if(X.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Rb("opening","("));let ve=xe[xe.length-1];if(ve&&X.parens===ve.parens+1){pe(xe.pop());continue}Ve({type:"paren",value:ne,output:X.parens?")":"\\)"}),Ae("parens");continue}if(ne==="["){if(r.nobracket===!0||!ue().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Rb("closing","]"));ne=`\\${ne}`}else we("brackets");Ve({type:"bracket",value:ne});continue}if(ne==="]"){if(r.nobracket===!0||ae&&ae.type==="bracket"&&ae.value.length===1){Ve({type:"text",value:ne,output:`\\${ne}`});continue}if(X.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Rb("opening","["));Ve({type:"text",value:ne,output:`\\${ne}`});continue}Ae("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 De=Zo.escapeRegex(ae.value);if(X.output=X.output.slice(0,-ae.value.length),r.literalBrackets===!0){X.output+=De,ae.value=De;continue}ae.value=`(${o}${De}|${ae.value})`,X.output+=ae.value;continue}if(ne==="{"&&r.nobrace!==!0){we("braces");let ve={type:"brace",value:ne,output:"(",outputIndex:X.output.length,tokensIndex:X.tokens.length};We.push(ve),Ve(ve);continue}if(ne==="}"){let ve=We[We.length-1];if(r.nobrace===!0||!ve){Ve({type:"text",value:ne,output:ne});continue}let De=")";if(ve.dots===!0){let st=a.slice(),Lt=[];for(let mt=st.length-1;mt>=0&&(a.pop(),st[mt].type!=="brace");mt--)st[mt].type!=="dots"&&Lt.unshift(st[mt].value);De=iJt(Lt,r),X.backtrack=!0}if(ve.comma!==!0&&ve.dots!==!0){let st=X.output.slice(0,ve.outputIndex),Lt=X.tokens.slice(ve.tokensIndex);ve.value=ve.output="\\{",ne=De="\\}",X.output=st;for(let mt of Lt)X.output+=mt.output||mt.value}Ve({type:"brace",value:ne,output:De}),Ae("braces"),We.pop();continue}if(ne==="|"){xe.length>0&&xe[xe.length-1].conditions++,Ve({type:"text",value:ne});continue}if(ne===","){let ve=ne,De=We[We.length-1];De&&ze[ze.length-1]==="braces"&&(De.comma=!0,ve="|"),Ve({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}Ve({type:"slash",value:ne,output:f});continue}if(ne==="."){if(X.braces>0&&ae.type==="dot"){ae.value==="."&&(ae.output=p);let ve=We[We.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"){Ve({type:"text",value:ne,output:p});continue}Ve({type:"dot",value:ne,output:p});continue}if(ne==="?"){if(!(ae&&ae.value==="(")&&r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){ye("qmark",ne);continue}if(ae&&ae.type==="paren"){let De=Ue(),st=ne;if(De==="<"&&!Zo.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(ae.value==="("&&!/[!=<:]/.test(De)||De==="<"&&!/<([!=]|\w+>)/.test(ue()))&&(st=`\\${ne}`),Ve({type:"text",value:ne,output:st});continue}if(r.dot!==!0&&(ae.type==="slash"||ae.type==="bos")){Ve({type:"qmark",value:ne,output:v});continue}Ve({type:"qmark",value:ne,output:x});continue}if(ne==="!"){if(r.noextglob!==!0&&Ue()==="("&&(Ue(2)!=="?"||!/[!=<:]/.test(Ue(3)))){ye("negate",ne);continue}if(r.nonegate!==!0&&X.index===0){Te();continue}}if(ne==="+"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){ye("plus",ne);continue}if(ae&&ae.value==="("||r.regex===!1){Ve({type:"plus",value:ne,output:d});continue}if(ae&&(ae.type==="bracket"||ae.type==="paren"||ae.type==="brace")||X.parens>0){Ve({type:"plus",value:ne});continue}Ve({type:"plus",value:d});continue}if(ne==="@"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){Ve({type:"at",extglob:!0,value:ne,output:""});continue}Ve({type:"text",value:ne});continue}if(ne!=="*"){(ne==="$"||ne==="^")&&(ne=`\\${ne}`);let ve=tJt.exec(ue());ve&&(ne+=ve[0],X.index+=ve[0].length),Ve({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,Me(ne);continue}let le=ue();if(r.noextglob!==!0&&/^\([^?]/.test(le)){ye("star",ne);continue}if(ae.type==="star"){if(r.noglobstar===!0){Me(ne);continue}let ve=ae.prev,De=ve.prev,st=ve.type==="slash"||ve.type==="bos",Lt=De&&(De.type==="star"||De.type==="globstar");if(r.bash===!0&&(!st||le[0]&&le[0]!=="/")){Ve({type:"star",value:ne,output:""});continue}let mt=X.braces>0&&(ve.type==="comma"||ve.type==="brace"),er=xe.length&&(ve.type==="pipe"||ve.type==="paren");if(!st&&ve.type!=="paren"&&!mt&&!er){Ve({type:"star",value:ne,output:""});continue}for(;le.slice(0,3)==="/**";){let Er=t[X.index+4];if(Er&&Er!=="/")break;le=le.slice(3),Me("/**",3)}if(ve.type==="bos"&&Ne()){ae.type="globstar",ae.value+=ne,ae.output=C(r),X.output=ae.output,X.globstar=!0,Me(ne);continue}if(ve.type==="slash"&&ve.prev.type!=="bos"&&!Lt&&Ne()){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,Me(ne);continue}if(ve.type==="slash"&&ve.prev.type!=="bos"&&le[0]==="/"){let Er=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}${Er})`,ae.value+=ne,X.output+=ve.output+ae.output,X.globstar=!0,Me(ne+xt()),Ve({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,Me(ne+xt()),Ve({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,Me(ne);continue}let Be={type:"star",value:ne,output:Q};if(r.bash===!0){Be.output=".*?",(ae.type==="bos"||ae.type==="slash")&&(Be.output=K+Be.output),Ve(Be);continue}if(ae&&(ae.type==="bracket"||ae.type==="paren")&&r.regex===!0){Be.output=ne,Ve(Be);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+=S,ae.output+=S):(X.output+=K,ae.output+=K),Ue()!=="*"&&(X.output+=h,ae.output+=h)),Ve(Be)}for(;X.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Rb("closing","]"));X.output=Zo.escapeLast(X.output,"["),Ae("brackets")}for(;X.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Rb("closing",")"));X.output=Zo.escapeLast(X.output,"("),Ae("parens")}for(;X.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Rb("closing","}"));X.output=Zo.escapeLast(X.output,"{"),Ae("braces")}if(r.strictSlashes!==!0&&(ae.type==="star"||ae.type==="bracket")&&Ve({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};sW.fastpaths=(t,e)=>{let r={...e},i=typeof r.maxLength=="number"?Math.min(x8,r.maxLength):x8,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=vxe[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}=T8.globChars(n),m=r.dot?p:c,g=r.dot?d:c,b=r.capture?"":"?:",S={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,S),C=w(A);return C&&r.strictSlashes!==!0&&(C+=`${o}?`),C};Sxe.exports=sW});var Exe=E((E7r,xxe)=>{"use strict";var sJt=require("path"),nJt=bxe(),nW=Txe(),aW=Hx(),aJt=zx(),oJt=t=>t&&typeof t=="object"&&!Array.isArray(t),un=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(d=>un(d,e,r));return d=>{for(let f of c){let h=f(d);if(h)return h}return!1}}let i=oJt(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=aW.isWindows(e),a=i?un.compileRe(t,e):un.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=un(s.ignore,c,r)}let u=(c,p=!1)=>{let{isMatch:d,match:f,output:h}=un.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};un.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?aW.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=un.matchBase(t,e,r,s):o=e.exec(l)),{isMatch:!!o,match:o,output:l}};un.matchBase=(t,e,r,i=aW.isWindows(r))=>(e instanceof RegExp?e:un.makeRe(e,r)).test(sJt.basename(t));un.isMatch=(t,e,r)=>un(e,r)(t);un.parse=(t,e)=>Array.isArray(t)?t.map(r=>un.parse(r,e)):nW(t,{...e,fastpaths:!1});un.scan=(t,e)=>nJt(t,e);un.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=un.toRegex(o,e);return i===!0&&(l.state=t),l};un.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=nW.fastpaths(t,e)),s.output||(s=nW(t,e)),un.compileRe(s,e,r,i)};un.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/$^/}};un.constants=aJt;xxe.exports=un});var Axe=E((w7r,wxe)=>{"use strict";wxe.exports=Exe()});var Nxe=E((A7r,Dxe)=>{"use strict";var _xe=require("util"),Cxe=nxe(),Fc=Axe(),oW=Hx(),Pxe=t=>t===""||t==="./",Es=(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=Fc(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};Es.match=Es;Es.matcher=(t,e)=>Fc(t,e);Es.isMatch=(t,e,r)=>Fc(e,r)(t);Es.any=Es.isMatch;Es.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(Es(t,e,{...r,onResult:n}));for(let o of s)a.has(o)||i.add(o);return[...i]};Es.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${_xe.inspect(t)}"`);if(Array.isArray(e))return e.some(i=>Es.contains(t,i,r));if(typeof e=="string"){if(Pxe(t)||Pxe(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return Es.isMatch(t,e,{...r,contains:!0})};Es.matchKeys=(t,e,r)=>{if(!oW.isObject(t))throw new TypeError("Expected the first argument to be an object");let i=Es(Object.keys(t),e,r),s={};for(let n of i)s[n]=t[n];return s};Es.some=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Fc(String(s),r);if(i.some(a=>n(a)))return!0}return!1};Es.every=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Fc(String(s),r);if(!i.every(a=>n(a)))return!1}return!0};Es.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${_xe.inspect(t)}"`);return[].concat(e).every(i=>Fc(i,r)(t))};Es.capture=(t,e,r)=>{let i=oW.isWindows(r),n=Fc.makeRe(String(t),{...r,capture:!0}).exec(i?oW.toPosixSlashes(e):e);if(n)return n.slice(1).map(a=>a===void 0?"":a)};Es.makeRe=(...t)=>Fc.makeRe(...t);Es.scan=(...t)=>Fc.scan(...t);Es.parse=(t,e)=>{let r=[];for(let i of[].concat(t||[]))for(let s of Cxe(String(i),e))r.push(Fc.parse(s,e));return r};Es.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:Cxe(t,e)};Es.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return Es.braces(t,{...e,expand:!0})};Dxe.exports=Es});var Mxe=E(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.removeDuplicateSlashes=dr.matchAny=dr.convertPatternsToRe=dr.makeRe=dr.getPatternParts=dr.expandBraceExpansion=dr.expandPatternsWithBraceExpansion=dr.isAffectDepthOfReadingPattern=dr.endsWithSlashGlobStar=dr.hasGlobStar=dr.getBaseDirectory=dr.isPatternRelatedToParentDirectory=dr.getPatternsOutsideCurrentDirectory=dr.getPatternsInsideCurrentDirectory=dr.getPositivePatterns=dr.getNegativePatterns=dr.isPositivePattern=dr.isNegativePattern=dr.convertToNegativePattern=dr.convertToPositivePattern=dr.isDynamicPattern=dr.isStaticPattern=void 0;var lJt=require("path"),uJt=xTe(),lW=Nxe(),Ixe="**",cJt="\\",pJt=/[*?]|^!/,fJt=/\[[^[]*]/,dJt=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,hJt=/[!*+?@]\([^(]*\)/,mJt=/,|\.\./,yJt=/(?!^)\/{2,}/g;function Oxe(t,e={}){return!kxe(t,e)}dr.isStaticPattern=Oxe;function kxe(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(cJt)||pJt.test(t)||fJt.test(t)||dJt.test(t)||e.extglob!==!1&&hJt.test(t)||e.braceExpansion!==!1&&gJt(t))}dr.isDynamicPattern=kxe;function gJt(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 mJt.test(i)}function bJt(t){return E8(t)?t.slice(1):t}dr.convertToPositivePattern=bJt;function vJt(t){return"!"+t}dr.convertToNegativePattern=vJt;function E8(t){return t.startsWith("!")&&t[1]!=="("}dr.isNegativePattern=E8;function Lxe(t){return!E8(t)}dr.isPositivePattern=Lxe;function SJt(t){return t.filter(E8)}dr.getNegativePatterns=SJt;function TJt(t){return t.filter(Lxe)}dr.getPositivePatterns=TJt;function xJt(t){return t.filter(e=>!uW(e))}dr.getPatternsInsideCurrentDirectory=xJt;function EJt(t){return t.filter(uW)}dr.getPatternsOutsideCurrentDirectory=EJt;function uW(t){return t.startsWith("..")||t.startsWith("./..")}dr.isPatternRelatedToParentDirectory=uW;function wJt(t){return uJt(t,{flipBackslashes:!1})}dr.getBaseDirectory=wJt;function AJt(t){return t.includes(Ixe)}dr.hasGlobStar=AJt;function Fxe(t){return t.endsWith("/"+Ixe)}dr.endsWithSlashGlobStar=Fxe;function PJt(t){let e=lJt.basename(t);return Fxe(t)||Oxe(e)}dr.isAffectDepthOfReadingPattern=PJt;function _Jt(t){return t.reduce((e,r)=>e.concat(Rxe(r)),[])}dr.expandPatternsWithBraceExpansion=_Jt;function Rxe(t){let e=lW.braces(t,{expand:!0,nodupes:!0});return e.sort((r,i)=>r.length-i.length),e.filter(r=>r!=="")}dr.expandBraceExpansion=Rxe;function CJt(t,e){let{parts:r}=lW.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}dr.getPatternParts=CJt;function Bxe(t,e){return lW.makeRe(t,e)}dr.makeRe=Bxe;function DJt(t,e){return t.map(r=>Bxe(r,e))}dr.convertPatternsToRe=DJt;function NJt(t,e){return e.some(r=>r.test(t))}dr.matchAny=NJt;function IJt(t){return t.replace(yJt,"/")}dr.removeDuplicateSlashes=IJt});var Vxe=E(w8=>{"use strict";Object.defineProperty(w8,"__esModule",{value:!0});w8.merge=void 0;var OJt=UK();function kJt(t){let e=OJt(t);return t.forEach(r=>{r.once("error",i=>e.emit("error",i))}),e.once("close",()=>jxe(t)),e.once("end",()=>jxe(t)),e}w8.merge=kJt;function jxe(t){t.forEach(e=>e.emit("close"))}});var Uxe=E(Bb=>{"use strict";Object.defineProperty(Bb,"__esModule",{value:!0});Bb.isEmpty=Bb.isString=void 0;function LJt(t){return typeof t=="string"}Bb.isString=LJt;function FJt(t){return t===""}Bb.isEmpty=FJt});var Sf=E(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.string=Sa.stream=Sa.pattern=Sa.path=Sa.fs=Sa.errno=Sa.array=void 0;var RJt=uTe();Sa.array=RJt;var BJt=cTe();Sa.errno=BJt;var MJt=pTe();Sa.fs=MJt;var jJt=mTe();Sa.path=jJt;var VJt=Mxe();Sa.pattern=VJt;var UJt=Vxe();Sa.stream=UJt;var qJt=Uxe();Sa.string=qJt});var Wxe=E(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.convertPatternGroupToTask=Ta.convertPatternGroupsToTasks=Ta.groupPatternsByBaseDirectory=Ta.getNegativePatternsAsPositive=Ta.getPositivePatterns=Ta.convertPatternsToTasks=Ta.generate=void 0;var Lu=Sf();function $Jt(t,e){let r=qxe(t,e),i=qxe(e.ignore,e),s=$xe(r),n=Kxe(r,i),a=s.filter(c=>Lu.pattern.isStaticPattern(c,e)),o=s.filter(c=>Lu.pattern.isDynamicPattern(c,e)),l=cW(a,n,!1),u=cW(o,n,!0);return l.concat(u)}Ta.generate=$Jt;function qxe(t,e){let r=t;return e.braceExpansion&&(r=Lu.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(i=>i.includes("/")?i:`**/${i}`)),r.map(i=>Lu.pattern.removeDuplicateSlashes(i))}function cW(t,e,r){let i=[],s=Lu.pattern.getPatternsOutsideCurrentDirectory(t),n=Lu.pattern.getPatternsInsideCurrentDirectory(t),a=pW(s),o=pW(n);return i.push(...fW(a,e,r)),"."in o?i.push(dW(".",n,e,r)):i.push(...fW(o,e,r)),i}Ta.convertPatternsToTasks=cW;function $xe(t){return Lu.pattern.getPositivePatterns(t)}Ta.getPositivePatterns=$xe;function Kxe(t,e){return Lu.pattern.getNegativePatterns(t).concat(e).map(Lu.pattern.convertToPositivePattern)}Ta.getNegativePatternsAsPositive=Kxe;function pW(t){let e={};return t.reduce((r,i)=>{let s=Lu.pattern.getBaseDirectory(i);return s in r?r[s].push(i):r[s]=[i],r},e)}Ta.groupPatternsByBaseDirectory=pW;function fW(t,e,r){return Object.keys(t).map(i=>dW(i,t[i],e,r))}Ta.convertPatternGroupsToTasks=fW;function dW(t,e,r,i){return{dynamic:i,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(Lu.pattern.convertToNegativePattern))}}Ta.convertPatternGroupToTask=dW});var zxe=E(A8=>{"use strict";Object.defineProperty(A8,"__esModule",{value:!0});A8.read=void 0;function KJt(t,e,r){e.fs.lstat(t,(i,s)=>{if(i!==null){Gxe(r,i);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){hW(r,s);return}e.fs.stat(t,(n,a)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){Gxe(r,n);return}hW(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),hW(r,a)})})}A8.read=KJt;function Gxe(t,e){t(e)}function hW(t,e){t(null,e)}});var Hxe=E(P8=>{"use strict";Object.defineProperty(P8,"__esModule",{value:!0});P8.read=void 0;function WJt(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}}P8.read=WJt});var Yxe=E(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.createFileSystemAdapter=gh.FILE_SYSTEM_ADAPTER=void 0;var _8=require("fs");gh.FILE_SYSTEM_ADAPTER={lstat:_8.lstat,stat:_8.stat,lstatSync:_8.lstatSync,statSync:_8.statSync};function GJt(t){return t===void 0?gh.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},gh.FILE_SYSTEM_ADAPTER),t)}gh.createFileSystemAdapter=GJt});var Jxe=E(yW=>{"use strict";Object.defineProperty(yW,"__esModule",{value:!0});var zJt=Yxe(),mW=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=zJt.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}};yW.default=mW});var z0=E(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.statSync=bh.stat=bh.Settings=void 0;var Xxe=zxe(),HJt=Hxe(),gW=Jxe();bh.Settings=gW.default;function YJt(t,e,r){if(typeof e=="function"){Xxe.read(t,bW(),e);return}Xxe.read(t,bW(e),r)}bh.stat=YJt;function JJt(t,e){let r=bW(e);return HJt.read(t,r)}bh.statSync=JJt;function bW(t={}){return t instanceof gW.default?t:new gW.default(t)}});var eEe=E((R7r,Zxe)=>{var Qxe;Zxe.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Qxe||(Qxe=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var rEe=E((B7r,tEe)=>{tEe.exports=QJt;var XJt=eEe();function QJt(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?XJt(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 vW=E(D8=>{"use strict";Object.defineProperty(D8,"__esModule",{value:!0});D8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var C8=process.versions.node.split(".");if(C8[0]===void 0||C8[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var iEe=Number.parseInt(C8[0],10),ZJt=Number.parseInt(C8[1],10),sEe=10,eXt=10,tXt=iEe>sEe,rXt=iEe===sEe&&ZJt>=eXt;D8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=tXt||rXt});var nEe=E(N8=>{"use strict";Object.defineProperty(N8,"__esModule",{value:!0});N8.createDirentFromStats=void 0;var SW=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 iXt(t,e){return new SW(t,e)}N8.createDirentFromStats=iXt});var TW=E(I8=>{"use strict";Object.defineProperty(I8,"__esModule",{value:!0});I8.fs=void 0;var sXt=nEe();I8.fs=sXt});var xW=E(O8=>{"use strict";Object.defineProperty(O8,"__esModule",{value:!0});O8.joinPathSegments=void 0;function nXt(t,e,r){return t.endsWith(r)?t+e:t+r+e}O8.joinPathSegments=nXt});var pEe=E(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.readdir=vh.readdirWithFileTypes=vh.read=void 0;var aXt=z0(),aEe=rEe(),oXt=vW(),oEe=TW(),lEe=xW();function lXt(t,e,r){if(!e.stats&&oXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES){uEe(t,e,r);return}cEe(t,e,r)}vh.read=lXt;function uEe(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(i,s)=>{if(i!==null){k8(r,i);return}let n=s.map(o=>({dirent:o,name:o.name,path:lEe.joinPathSegments(t,o.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){EW(r,n);return}let a=n.map(o=>uXt(o,e));aEe(a,(o,l)=>{if(o!==null){k8(r,o);return}EW(r,l)})})}vh.readdirWithFileTypes=uEe;function uXt(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=oEe.fs.createDirentFromStats(t.name,s),r(null,t)})}}function cEe(t,e,r){e.fs.readdir(t,(i,s)=>{if(i!==null){k8(r,i);return}let n=s.map(a=>{let o=lEe.joinPathSegments(t,a,e.pathSegmentSeparator);return l=>{aXt.stat(o,e.fsStatSettings,(u,c)=>{if(u!==null){l(u);return}let p={name:a,path:o,dirent:oEe.fs.createDirentFromStats(a,c)};e.stats&&(p.stats=c),l(null,p)})}});aEe(n,(a,o)=>{if(a!==null){k8(r,a);return}EW(r,o)})})}vh.readdir=cEe;function k8(t,e){t(e)}function EW(t,e){t(null,e)}});var yEe=E(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.readdir=Sh.readdirWithFileTypes=Sh.read=void 0;var cXt=z0(),pXt=vW(),fEe=TW(),dEe=xW();function fXt(t,e){return!e.stats&&pXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES?hEe(t,e):mEe(t,e)}Sh.read=fXt;function hEe(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(i=>{let s={dirent:i,name:i.name,path:dEe.joinPathSegments(t,i.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let n=e.fs.statSync(s.path);s.dirent=fEe.fs.createDirentFromStats(s.name,n)}catch(n){if(e.throwErrorOnBrokenSymbolicLink)throw n}return s})}Sh.readdirWithFileTypes=hEe;function mEe(t,e){return e.fs.readdirSync(t).map(i=>{let s=dEe.joinPathSegments(t,i,e.pathSegmentSeparator),n=cXt.statSync(s,e.fsStatSettings),a={name:i,path:s,dirent:fEe.fs.createDirentFromStats(i,n)};return e.stats&&(a.stats=n),a})}Sh.readdir=mEe});var gEe=E(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.createFileSystemAdapter=Th.FILE_SYSTEM_ADAPTER=void 0;var Mb=require("fs");Th.FILE_SYSTEM_ADAPTER={lstat:Mb.lstat,stat:Mb.stat,lstatSync:Mb.lstatSync,statSync:Mb.statSync,readdir:Mb.readdir,readdirSync:Mb.readdirSync};function dXt(t){return t===void 0?Th.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Th.FILE_SYSTEM_ADAPTER),t)}Th.createFileSystemAdapter=dXt});var bEe=E(AW=>{"use strict";Object.defineProperty(AW,"__esModule",{value:!0});var hXt=require("path"),mXt=z0(),yXt=gEe(),wW=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=yXt.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,hXt.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new mXt.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};AW.default=wW});var L8=E(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.Settings=xh.scandirSync=xh.scandir=void 0;var vEe=pEe(),gXt=yEe(),PW=bEe();xh.Settings=PW.default;function bXt(t,e,r){if(typeof e=="function"){vEe.read(t,_W(),e);return}vEe.read(t,_W(e),r)}xh.scandir=bXt;function vXt(t,e){let r=_W(e);return gXt.read(t,r)}xh.scandirSync=vXt;function _W(t={}){return t instanceof PW.default?t:new PW.default(t)}});var TEe=E((z7r,SEe)=>{"use strict";function SXt(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}}SEe.exports=SXt});var EEe=E((H7r,CW)=>{"use strict";var TXt=TEe();function xEe(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=TXt(xXt),s=null,n=null,a=0,o=null,l={push:m,drain:Rc,saturated:Rc,pause:c,paused:!1,concurrency:r,running:u,resume:f,idle:h,length:p,getQueue:d,unshift:g,empty:Rc,kill:S,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||Rc,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||Rc,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 S(){s=null,n=null,l.drain=Rc}function x(){s=null,n=null,l.drain(),l.drain=Rc}function v(w){o=w}}function Rc(){}function xXt(){this.value=null,this.callback=Rc,this.next=null,this.release=Rc,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=Rc,t.errorHandler&&n(r,a),s.call(t.context,r,i),t.release(t)}}function EXt(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=xEe(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)})})}}CW.exports=xEe;CW.exports.promise=EXt});var F8=E(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.joinPathSegments=Bc.replacePathSegmentSeparator=Bc.isAppliedFilter=Bc.isFatalError=void 0;function wXt(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}Bc.isFatalError=wXt;function AXt(t,e){return t===null||t(e)}Bc.isAppliedFilter=AXt;function PXt(t,e){return t.split(/[/\\]/).join(e)}Bc.replacePathSegmentSeparator=PXt;function _Xt(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}Bc.joinPathSegments=_Xt});var IW=E(NW=>{"use strict";Object.defineProperty(NW,"__esModule",{value:!0});var CXt=F8(),DW=class{constructor(e,r){this._root=e,this._settings=r,this._root=CXt.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};NW.default=DW});var LW=E(kW=>{"use strict";Object.defineProperty(kW,"__esModule",{value:!0});var DXt=require("events"),NXt=L8(),IXt=EEe(),R8=F8(),OXt=IW(),OW=class extends OXt.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=NXt.scandir,this._emitter=new DXt.EventEmitter,this._queue=IXt(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||!R8.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=R8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),R8.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&R8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};kW.default=OW});var wEe=E(RW=>{"use strict";Object.defineProperty(RW,"__esModule",{value:!0});var kXt=LW(),FW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new kXt.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{LXt(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{FXt(e,this._storage)}),this._reader.read()}};RW.default=FW;function LXt(t,e){t(e)}function FXt(t,e){t(null,e)}});var AEe=E(MW=>{"use strict";Object.defineProperty(MW,"__esModule",{value:!0});var RXt=require("stream"),BXt=LW(),BW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new BXt.default(this._root,this._settings),this._stream=new RXt.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}};MW.default=BW});var PEe=E(VW=>{"use strict";Object.defineProperty(VW,"__esModule",{value:!0});var MXt=L8(),B8=F8(),jXt=IW(),jW=class extends jXt.default{constructor(){super(...arguments),this._scandir=MXt.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(B8.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let i=e.path;r!==void 0&&(e.path=B8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),B8.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&B8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};VW.default=jW});var _Ee=E(qW=>{"use strict";Object.defineProperty(qW,"__esModule",{value:!0});var VXt=PEe(),UW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new VXt.default(this._root,this._settings)}read(){return this._reader.read()}};qW.default=UW});var CEe=E(KW=>{"use strict";Object.defineProperty(KW,"__esModule",{value:!0});var UXt=require("path"),qXt=L8(),$W=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,UXt.sep),this.fsScandirSettings=new qXt.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}};KW.default=$W});var j8=E(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});Mc.Settings=Mc.walkStream=Mc.walkSync=Mc.walk=void 0;var DEe=wEe(),$Xt=AEe(),KXt=_Ee(),WW=CEe();Mc.Settings=WW.default;function WXt(t,e,r){if(typeof e=="function"){new DEe.default(t,M8()).read(e);return}new DEe.default(t,M8(e)).read(r)}Mc.walk=WXt;function GXt(t,e){let r=M8(e);return new KXt.default(t,r).read()}Mc.walkSync=GXt;function zXt(t,e){let r=M8(e);return new $Xt.default(t,r).read()}Mc.walkStream=zXt;function M8(t={}){return t instanceof WW.default?t:new WW.default(t)}});var V8=E(zW=>{"use strict";Object.defineProperty(zW,"__esModule",{value:!0});var HXt=require("path"),YXt=z0(),NEe=Sf(),GW=class{constructor(e){this._settings=e,this._fsStatSettings=new YXt.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return HXt.resolve(this._settings.cwd,e)}_makeEntry(e,r){let i={name:r,path:r,dirent:NEe.fs.createDirentFromStats(r,e)};return this._settings.stats&&(i.stats=e),i}_isFatalError(e){return!NEe.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};zW.default=GW});var JW=E(YW=>{"use strict";Object.defineProperty(YW,"__esModule",{value:!0});var JXt=require("stream"),XXt=z0(),QXt=j8(),ZXt=V8(),HW=class extends ZXt.default{constructor(){super(...arguments),this._walkStream=QXt.walkStream,this._stat=XXt.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let i=e.map(this._getFullEntryPath,this),s=new JXt.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))})}};YW.default=HW});var IEe=E(QW=>{"use strict";Object.defineProperty(QW,"__esModule",{value:!0});var eQt=j8(),tQt=V8(),rQt=JW(),XW=class extends tQt.default{constructor(){super(...arguments),this._walkAsync=eQt.walk,this._readerStream=new rQt.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))})}};QW.default=XW});var OEe=E(eG=>{"use strict";Object.defineProperty(eG,"__esModule",{value:!0});var Jx=Sf(),ZW=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 Jx.pattern.getPatternParts(e,this._micromatchOptions).map(i=>Jx.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:Jx.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(e){return Jx.array.splitWhen(e,r=>r.dynamic&&Jx.pattern.hasGlobStar(r.pattern))}};eG.default=ZW});var kEe=E(rG=>{"use strict";Object.defineProperty(rG,"__esModule",{value:!0});var iQt=OEe(),tG=class extends iQt.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}};rG.default=tG});var LEe=E(sG=>{"use strict";Object.defineProperty(sG,"__esModule",{value:!0});var U8=Sf(),sQt=kEe(),iG=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 sQt.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(U8.pattern.isAffectDepthOfReadingPattern);return U8.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,i,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let n=U8.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!U8.pattern.matchAny(e,r)}};sG.default=iG});var FEe=E(aG=>{"use strict";Object.defineProperty(aG,"__esModule",{value:!0});var H0=Sf(),nG=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let i=H0.pattern.convertPatternsToRe(e,this._micromatchOptions),s=H0.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return n=>this._filter(n,i,s)}_filter(e,r,i){let s=H0.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=H0.path.makeAbsolute(this._settings.cwd,e);return H0.pattern.matchAny(i,r)}_isMatchToPatterns(e,r,i){let s=H0.pattern.matchAny(e,r);return!s&&i?H0.pattern.matchAny(e+"/",r):s}};aG.default=nG});var REe=E(lG=>{"use strict";Object.defineProperty(lG,"__esModule",{value:!0});var nQt=Sf(),oG=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return nQt.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};lG.default=oG});var MEe=E(cG=>{"use strict";Object.defineProperty(cG,"__esModule",{value:!0});var BEe=Sf(),uG=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=BEe.path.makeAbsolute(this._settings.cwd,r),r=BEe.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};cG.default=uG});var q8=E(fG=>{"use strict";Object.defineProperty(fG,"__esModule",{value:!0});var aQt=require("path"),oQt=LEe(),lQt=FEe(),uQt=REe(),cQt=MEe(),pG=class{constructor(e){this._settings=e,this.errorFilter=new uQt.default(this._settings),this.entryFilter=new lQt.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new oQt.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new cQt.default(this._settings)}_getRootDirectory(e){return aQt.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}}};fG.default=pG});var jEe=E(hG=>{"use strict";Object.defineProperty(hG,"__esModule",{value:!0});var pQt=IEe(),fQt=q8(),dG=class extends fQt.default{constructor(){super(...arguments),this._reader=new pQt.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)}};hG.default=dG});var VEe=E(yG=>{"use strict";Object.defineProperty(yG,"__esModule",{value:!0});var dQt=require("stream"),hQt=JW(),mQt=q8(),mG=class extends mQt.default{constructor(){super(...arguments),this._reader=new hQt.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e),s=this.api(r,e,i),n=new dQt.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)}};yG.default=mG});var UEe=E(bG=>{"use strict";Object.defineProperty(bG,"__esModule",{value:!0});var yQt=z0(),gQt=j8(),bQt=V8(),gG=class extends bQt.default{constructor(){super(...arguments),this._walkSync=gQt.walkSync,this._statSync=yQt.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)}};bG.default=gG});var qEe=E(SG=>{"use strict";Object.defineProperty(SG,"__esModule",{value:!0});var vQt=UEe(),SQt=q8(),vG=class extends SQt.default{constructor(){super(...arguments),this._reader=new vQt.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)}};SG.default=vG});var $Ee=E(Vb=>{"use strict";Object.defineProperty(Vb,"__esModule",{value:!0});Vb.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var jb=require("fs"),TQt=require("os"),xQt=Math.max(TQt.cpus().length,1);Vb.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:jb.lstat,lstatSync:jb.lstatSync,stat:jb.stat,statSync:jb.statSync,readdir:jb.readdir,readdirSync:jb.readdirSync};var TG=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,xQt),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({},Vb.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};Vb.default=TG});var AG=E((vOr,WEe)=>{"use strict";var KEe=Wxe(),EQt=jEe(),wQt=VEe(),AQt=qEe(),xG=$Ee(),Hl=Sf();async function EG(t,e){Fu(t);let r=wG(t,EQt.default,e),i=await Promise.all(r);return Hl.array.flatten(i)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(u,c){Fu(u);let p=wG(u,AQt.default,c);return Hl.array.flatten(p)}t.sync=e;function r(u,c){Fu(u);let p=wG(u,wQt.default,c);return Hl.stream.merge(p)}t.stream=r;function i(u,c){Fu(u);let p=[].concat(u),d=new xG.default(c);return KEe.generate(p,d)}t.generateTasks=i;function s(u,c){Fu(u);let p=new xG.default(c);return Hl.pattern.isDynamicPattern(u,p)}t.isDynamicPattern=s;function n(u){return Fu(u),Hl.path.escape(u)}t.escapePath=n;function a(u){return Fu(u),Hl.path.convertPathToPattern(u)}t.convertPathToPattern=a;let o;(function(u){function c(d){return Fu(d),Hl.path.escapePosixPath(d)}u.escapePath=c;function p(d){return Fu(d),Hl.path.convertPosixPathToPattern(d)}u.convertPathToPattern=p})(o=t.posix||(t.posix={}));let l;(function(u){function c(d){return Fu(d),Hl.path.escapeWindowsPath(d)}u.escapePath=c;function p(d){return Fu(d),Hl.path.convertWindowsPathToPattern(d)}u.convertPathToPattern=p})(l=t.win32||(t.win32={}))})(EG||(EG={}));function wG(t,e,r){let i=[].concat(t),s=new xG.default(r),n=KEe.generate(i,s),a=new e(s);return n.map(a.read,a)}function Fu(t){if(![].concat(t).every(i=>Hl.string.isString(i)&&!Hl.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}WEe.exports=EG});var zEe=E(Y0=>{"use strict";var{promisify:PQt}=require("util"),GEe=require("fs");async function PG(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await PQt(GEe[t])(r))[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}function _G(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return GEe[t](r)[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}Y0.isFile=PG.bind(null,"stat","isFile");Y0.isDirectory=PG.bind(null,"stat","isDirectory");Y0.isSymlink=PG.bind(null,"lstat","isSymbolicLink");Y0.isFileSync=_G.bind(null,"statSync","isFile");Y0.isDirectorySync=_G.bind(null,"statSync","isDirectory");Y0.isSymlinkSync=_G.bind(null,"lstatSync","isSymbolicLink")});var QEe=E((TOr,CG)=>{"use strict";var J0=require("path"),HEe=zEe(),YEe=t=>t.length>1?`{${t.join(",")}}`:t[0],JEe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return J0.isAbsolute(r)?r:J0.join(e,r)},_Qt=(t,e)=>J0.extname(t)?`**/${t}`:`**/${t}.${YEe(e)}`,XEe=(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=>J0.posix.join(t,_Qt(r,e.extensions))):e.files?e.files.map(r=>J0.posix.join(t,`**/${r}`)):e.extensions?[J0.posix.join(t,`**/*.${YEe(e.extensions)}`)]:[J0.posix.join(t,"**")]};CG.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 HEe.isDirectory(JEe(i,e.cwd))?XEe(i,e):i));return[].concat.apply([],r)};CG.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=>HEe.isDirectorySync(JEe(i,e.cwd))?XEe(i,e):i);return[].concat.apply([],r)}});var lwe=E((xOr,owe)=>{function ZEe(t){return Array.isArray(t)?t:[t]}var iwe="",ewe=" ",DG="\\",CQt=/^\s+$/,DQt=/(?:[^\\]|^)\\$/,NQt=/^\\!/,IQt=/^\\#/,OQt=/\r?\n/g,kQt=/^\.*\/|^\.+$/,NG="/",swe="node-ignore";typeof Symbol<"u"&&(swe=Symbol.for("node-ignore"));var twe=swe,LQt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),FQt=/([0-z])-([0-z])/g,nwe=()=>!1,RQt=t=>t.replace(FQt,(e,r,i)=>r.charCodeAt(0)<=i.charCodeAt(0)?e:iwe),BQt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},MQt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?ewe:iwe],[/\\\s/g,()=>ewe],[/[\\$.|*+(){^]/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,()=>DG],[/\\\\/g,()=>DG],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,i,s)=>e===DG?`\\[${r}${BQt(i)}${s}`:s==="]"&&i.length%2===0?`[${RQt(r)}${i}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],rwe=Object.create(null),jQt=(t,e)=>{let r=rwe[t];return r||(r=MQt.reduce((i,s)=>i.replace(s[0],s[1].bind(t)),t),rwe[t]=r),e?new RegExp(r,"i"):new RegExp(r)},kG=t=>typeof t=="string",VQt=t=>t&&kG(t)&&!CQt.test(t)&&!DQt.test(t)&&t.indexOf("#")!==0,UQt=t=>t.split(OQt),IG=class{constructor(e,r,i,s){this.origin=e,this.pattern=r,this.negative=i,this.regex=s}},qQt=(t,e)=>{let r=t,i=!1;t.indexOf("!")===0&&(i=!0,t=t.substr(1)),t=t.replace(NQt,"!").replace(IQt,"#");let s=jQt(t,e);return new IG(r,t,i,s)},$Qt=(t,e)=>{throw new e(t)},Tf=(t,e,r)=>kG(t)?t?Tf.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),awe=t=>kQt.test(t);Tf.isNotRelative=awe;Tf.convert=t=>t;var OG=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:i=!1}={}){LQt(this,twe,!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[twe]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(VQt(e)){let r=qQt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,ZEe(kG(e)?UQt(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&&Tf.convert(e);return Tf(n,e,this._allowRelativePaths?nwe:$Qt),this._t(n,r,i,s)}_t(e,r,i,s){if(e in r)return r[e];if(s||(s=e.split(NG)),s.pop(),!s.length)return r[e]=this._testOne(e,i);let n=this._t(s.join(NG)+NG,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 ZEe(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},$8=t=>new OG(t),KQt=t=>Tf(t&&Tf.convert(t),t,nwe);$8.isPathValid=KQt;$8.default=$8;owe.exports=$8;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,"/");Tf.convert=t;let e=/^[a-z]:\//i;Tf.isNotRelative=r=>e.test(r)||awe(r)}});var cwe=E((EOr,uwe)=>{"use strict";uwe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var gwe=E((wOr,LG)=>{"use strict";var{promisify:WQt}=require("util"),pwe=require("fs"),xf=require("path"),fwe=AG(),GQt=lwe(),Xx=cwe(),dwe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],zQt=WQt(pwe.readFile),HQt=t=>e=>e.startsWith("!")?"!"+xf.posix.join(t,e.slice(1)):xf.posix.join(t,e),YQt=(t,e)=>{let r=Xx(xf.relative(e.cwd,xf.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(i=>!i.startsWith("#")).map(HQt(r))},hwe=t=>{let e=GQt();for(let r of t)e.add(YQt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},JQt=(t,e)=>{if(t=Xx(t),xf.isAbsolute(e)){if(Xx(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return xf.join(t,e)},mwe=(t,e)=>r=>t.ignores(Xx(xf.relative(e,JQt(e,r.path||r)))),XQt=async(t,e)=>{let r=xf.join(e,t),i=await zQt(r,"utf8");return{cwd:e,filePath:r,content:i}},QQt=(t,e)=>{let r=xf.join(e,t),i=pwe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:i}},ywe=({ignore:t=[],cwd:e=Xx(process.cwd())}={})=>({ignore:t,cwd:e});LG.exports=async t=>{t=ywe(t);let e=await fwe("**/.gitignore",{ignore:dwe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(s=>XQt(s,t.cwd))),i=hwe(r);return mwe(i,t.cwd)};LG.exports.sync=t=>{t=ywe(t);let r=fwe.sync("**/.gitignore",{ignore:dwe.concat(t.ignore),cwd:t.cwd}).map(s=>QQt(s,t.cwd)),i=hwe(r);return mwe(i,t.cwd)}});var vwe=E((AOr,bwe)=>{"use strict";var{Transform:ZQt}=require("stream"),K8=class extends ZQt{constructor(){super({objectMode:!0})}},FG=class extends K8{constructor(e){super(),this._filter=e}_transform(e,r,i){this._filter(e)&&this.push(e),i()}},RG=class extends K8{constructor(){super(),this._pushed=new Set}_transform(e,r,i){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),i()}};bwe.exports={FilterStream:FG,UniqueStream:RG}});var Y8=E((POr,X0)=>{"use strict";var Twe=require("fs"),W8=nTe(),eZt=UK(),G8=AG(),z8=QEe(),BG=gwe(),{FilterStream:tZt,UniqueStream:rZt}=vwe(),xwe=()=>!1,Swe=t=>t[0]==="!",iZt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},sZt=(t={})=>{if(!t.cwd)return;let e;try{e=Twe.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},nZt=t=>t.stats instanceof Twe.Stats?t.path:t,H8=(t,e)=>{t=W8([].concat(t)),iZt(t),sZt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[i,s]of t.entries()){if(Swe(s))continue;let n=t.slice(i).filter(o=>Swe(o)).map(o=>o.slice(1)),a={...e,ignore:e.ignore.concat(n)};r.push({pattern:s,options:a})}return r},aZt=(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)},MG=(t,e)=>t.options.expandDirectories?aZt(t,e):[t.pattern],Ewe=t=>t&&t.gitignore?BG.sync({cwd:t.cwd,ignore:t.ignore}):xwe,jG=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=z8.sync(r.ignore)),{pattern:e,options:r}};X0.exports=async(t,e)=>{let r=H8(t,e),i=async()=>e&&e.gitignore?BG({cwd:e.cwd,ignore:e.ignore}):xwe,s=async()=>{let l=await Promise.all(r.map(async u=>{let c=await MG(u,z8);return Promise.all(c.map(jG(u)))}));return W8(...l)},[n,a]=await Promise.all([i(),s()]),o=await Promise.all(a.map(l=>G8(l.pattern,l.options)));return W8(...o).filter(l=>!n(nZt(l)))};X0.exports.sync=(t,e)=>{let r=H8(t,e),i=[];for(let a of r){let o=MG(a,z8.sync).map(jG(a));i.push(...o)}let s=Ewe(e),n=[];for(let a of i)n=W8(n,G8.sync(a.pattern,a.options));return n.filter(a=>!s(a))};X0.exports.stream=(t,e)=>{let r=H8(t,e),i=[];for(let o of r){let l=MG(o,z8.sync).map(jG(o));i.push(...l)}let s=Ewe(e),n=new tZt(o=>!s(o)),a=new rZt;return eZt(i.map(o=>G8.stream(o.pattern,o.options))).pipe(n).pipe(a)};X0.exports.generateGlobTasks=H8;X0.exports.hasMagic=(t,e)=>[].concat(t).some(r=>G8.isDynamicPattern(r,e));X0.exports.gitignore=BG});var Awe=E((_Or,wwe)=>{var oZt=process.platform==="win32";wwe.exports=function(t){var e=t.length-1;if(e<2)return t;for(;lZt(t,e);)e--;return t.substr(0,e+1)};function lZt(t,e){var r=t[e];return e>0&&(r==="/"||oZt&&r==="\\")}});var _we=E((COr,Pwe)=>{var uZt=Awe();Pwe.exports=function(e,r){if(typeof e!="string")throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),r!==!1&&(e=uZt(e)),e}});var J8=E((DOr,Cwe)=>{"use strict";var cZt=_we();Cwe.exports=function(e,r){return e=cZt(e,r),e.replace(/^([a-zA-Z]+:|\.\/)/,"")}});var Ywe=E(($Or,$G)=>{"use strict";var Gwe=require("path"),zwe=require("module"),yZt=require("fs"),Hwe=(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=yZt.realpathSync(t)}catch(n){if(n.code==="ENOENT")t=Gwe.resolve(t);else{if(r)return;throw n}}let i=Gwe.join(t,"noop.js"),s=()=>zwe._resolveFilename(e,{id:i,filename:i,paths:zwe._nodeModulePaths(t)});if(r)try{return s()}catch{return}return s()};$G.exports=(t,e)=>Hwe(t,e);$G.exports.silent=(t,e)=>Hwe(t,e,!0)});var bAe=E((Vkr,gAe)=>{"use strict";var Aer=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=Der(i),this._batchScheduleFn=Ner(i),this._cacheKeyFn=Ier(i),this._cacheMap=Oer(i),this._batch=null,this.name=ker(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=_er(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(!yAe(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}(),Per=typeof process=="object"&&typeof process.nextTick=="function"?function(t){HG||(HG=Promise.resolve()),HG.then(function(){process.nextTick(t)})}:typeof setImmediate=="function"?function(t){setImmediate(t)}:function(t){setTimeout(t)},HG;function _er(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(){Cer(t,r)}),r}function Cer(t,e){if(e.hasDispatched=!0,e.keys.length===0){JG(e);return}var r;try{r=t._batchLoadFn(e.keys)}catch(i){return YG(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 YG(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(!yAe(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 rxe=E((g7r,txe)=>{"use strict";var dYt=b8(),{MAX_LENGTH:QTe,CHAR_BACKSLASH:JK,CHAR_BACKTICK:hYt,CHAR_COMMA:mYt,CHAR_DOT:yYt,CHAR_LEFT_PARENTHESES:gYt,CHAR_RIGHT_PARENTHESES:bYt,CHAR_LEFT_CURLY_BRACE:vYt,CHAR_RIGHT_CURLY_BRACE:SYt,CHAR_LEFT_SQUARE_BRACKET:ZTe,CHAR_RIGHT_SQUARE_BRACKET:exe,CHAR_DOUBLE_QUOTE:TYt,CHAR_SINGLE_QUOTE:xYt,CHAR_NO_BREAK_SPACE:EYt,CHAR_ZERO_WIDTH_NOBREAK_SPACE:wYt}=XTe(),AYt=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},i=typeof r.maxLength=="number"?Math.min(QTe,r.maxLength):QTe;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===wYt||d===EYt)){if(d===JK){m({type:"text",value:(e.keepEscaping?d:"")+h()});continue}if(d===exe){m({type:"text",value:"\\"+d});continue}if(d===ZTe){l++;let g=!0,b;for(;c<u&&(b=h());){if(d+=b,b===ZTe){l++;continue}if(b===JK){d+=h();continue}if(b===exe&&(l--,l===0))break}m({type:"text",value:d});continue}if(d===gYt){a=m({type:"paren",nodes:[]}),n.push(a),m({type:"text",value:d});continue}if(d===bYt){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===TYt||d===xYt||d===hYt){let g=d,b;for(e.keepQuotes!==!0&&(d="");c<u&&(b=h());){if(b===JK){d+=b+h();continue}if(b===g){e.keepQuotes===!0&&(d+=b);break}d+=b}m({type:"text",value:d});continue}if(d===vYt){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===SYt){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===mYt&&p>0){if(a.ranges>0){a.ranges=0;let g=a.nodes.shift();a.nodes=[g,{type:"text",value:dYt(a)}]}m({type:"comma",value:d}),a.commas++;continue}if(d===yYt&&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(S=>{S.nodes||(S.type==="open"&&(S.isOpen=!0),S.type==="close"&&(S.isClose=!0),S.nodes||(S.type="text"),S.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};txe.exports=AYt});var nxe=E((b7r,sxe)=>{"use strict";var ixe=b8(),PYt=GTe(),_Yt=YTe(),CYt=rxe(),Qo=(t,e={})=>{let r=[];if(Array.isArray(t))for(let i of t){let s=Qo.create(i,e);Array.isArray(s)?r.push(...s):r.push(s)}else r=[].concat(Qo.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};Qo.parse=(t,e={})=>CYt(t,e);Qo.stringify=(t,e={})=>ixe(typeof t=="string"?Qo.parse(t,e):t,e);Qo.compile=(t,e={})=>(typeof t=="string"&&(t=Qo.parse(t,e)),PYt(t,e));Qo.expand=(t,e={})=>{typeof t=="string"&&(t=Qo.parse(t,e));let r=_Yt(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};Qo.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?Qo.compile(t,e):Qo.expand(t,e);sxe.exports=Qo});var zx=E((v7r,cxe)=>{"use strict";var DYt=require("path"),Lc="\\\\/",axe=`[^${Lc}]`,vf="\\.",NYt="\\+",IYt="\\?",S8="\\/",OYt="(?=.)",oxe="[^/]",XK=`(?:${S8}|$)`,lxe=`(?:^|${S8})`,QK=`${vf}{1,2}${XK}`,kYt=`(?!${vf})`,LYt=`(?!${lxe}${QK})`,FYt=`(?!${vf}{0,1}${XK})`,RYt=`(?!${QK})`,BYt=`[^.${S8}]`,MYt=`${oxe}*?`,uxe={DOT_LITERAL:vf,PLUS_LITERAL:NYt,QMARK_LITERAL:IYt,SLASH_LITERAL:S8,ONE_CHAR:OYt,QMARK:oxe,END_ANCHOR:XK,DOTS_SLASH:QK,NO_DOT:kYt,NO_DOTS:LYt,NO_DOT_SLASH:FYt,NO_DOTS_SLASH:RYt,QMARK_NO_DOT:BYt,STAR:MYt,START_ANCHOR:lxe},jYt={...uxe,SLASH_LITERAL:`[${Lc}]`,QMARK:axe,STAR:`${axe}*?`,DOTS_SLASH:`${vf}{1,2}(?:[${Lc}]|$)`,NO_DOT:`(?!${vf})`,NO_DOTS:`(?!(?:^|[${Lc}])${vf}{1,2}(?:[${Lc}]|$))`,NO_DOT_SLASH:`(?!${vf}{0,1}(?:[${Lc}]|$))`,NO_DOTS_SLASH:`(?!${vf}{1,2}(?:[${Lc}]|$))`,QMARK_NO_DOT:`[^.${Lc}]`,START_ANCHOR:`(?:^|[${Lc}])`,END_ANCHOR:`(?:[${Lc}]|$)`},VYt={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"};cxe.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:VYt,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:DYt.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?jYt:uxe}}});var Hx=E(Io=>{"use strict";var UYt=require("path"),qYt=process.platform==="win32",{REGEX_BACKSLASH:$Yt,REGEX_REMOVE_BACKSLASH:KYt,REGEX_SPECIAL_CHARS:WYt,REGEX_SPECIAL_CHARS_GLOBAL:GYt}=zx();Io.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);Io.hasRegexChars=t=>WYt.test(t);Io.isRegexChar=t=>t.length===1&&Io.hasRegexChars(t);Io.escapeRegex=t=>t.replace(GYt,"\\$1");Io.toPosixSlashes=t=>t.replace($Yt,"/");Io.removeBackslashes=t=>t.replace(KYt,e=>e==="\\"?"":e);Io.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};Io.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:qYt===!0||UYt.sep==="\\";Io.escapeLast=(t,e,r)=>{let i=t.lastIndexOf(e,r);return i===-1?t:t[i-1]==="\\"?Io.escapeLast(t,e,i-1):`${t.slice(0,i)}\\${t.slice(i)}`};Io.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};Io.wrapOutput=(t,e={},r={})=>{let i=r.contains?"":"^",s=r.contains?"":"$",n=`${i}(?:${t})${s}`;return e.negated===!0&&(n=`(?:^(?!${n}).*$)`),n}});var bxe=E((T7r,gxe)=>{"use strict";var pxe=Hx(),{CHAR_ASTERISK:ZK,CHAR_AT:zYt,CHAR_BACKWARD_SLASH:Yx,CHAR_COMMA:HYt,CHAR_DOT:eW,CHAR_EXCLAMATION_MARK:tW,CHAR_FORWARD_SLASH:yxe,CHAR_LEFT_CURLY_BRACE:rW,CHAR_LEFT_PARENTHESES:iW,CHAR_LEFT_SQUARE_BRACKET:YYt,CHAR_PLUS:JYt,CHAR_QUESTION_MARK:fxe,CHAR_RIGHT_CURLY_BRACE:XYt,CHAR_RIGHT_PARENTHESES:dxe,CHAR_RIGHT_SQUARE_BRACKET:QYt}=zx(),hxe=t=>t===yxe||t===Yx,mxe=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},ZYt=(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,S=!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),xe=()=>(C=K,l.charCodeAt(++u));for(;u<i;){K=xe();let Ne;if(K===Yx){S=F.backslashes=!0,K=xe(),K===rW&&(b=!0);continue}if(b===!0||K===rW){for(A++;Q()!==!0&&(K=xe());){if(K===Yx){S=F.backslashes=!0,xe();continue}if(K===rW){A++;continue}if(b!==!0&&K===eW&&(K=xe())===eW){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(b!==!0&&K===HYt){if(d=F.isBrace=!0,h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===XYt&&(A--,A===0)){b=!1,d=F.isBrace=!0,w=!0;break}}if(s===!0)continue;break}if(K===yxe){if(n.push(u),a.push(F),F={value:"",depth:0,isGlob:!1},w===!0)continue;if(C===eW&&u===c+1){c+=2;continue}p=u+1;continue}if(r.noext!==!0&&(K===JYt||K===zYt||K===ZK||K===fxe||K===tW)===!0&&X()===iW){if(h=F.isGlob=!0,m=F.isExtglob=!0,w=!0,K===tW&&u===c&&(v=!0),s===!0){for(;Q()!==!0&&(K=xe());){if(K===Yx){S=F.backslashes=!0,K=xe();continue}if(K===dxe){h=F.isGlob=!0,w=!0;break}}continue}break}if(K===ZK){if(C===ZK&&(g=F.isGlobstar=!0),h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===fxe){if(h=F.isGlob=!0,w=!0,s===!0)continue;break}if(K===YYt){for(;Q()!==!0&&(Ne=xe());){if(Ne===Yx){S=F.backslashes=!0,xe();continue}if(Ne===QYt){f=F.isBracket=!0,h=F.isGlob=!0,w=!0;break}}if(s===!0)continue;break}if(r.nonegate!==!0&&K===tW&&u===c){x=F.negated=!0,c++;continue}if(r.noparen!==!0&&K===iW){if(h=F.isGlob=!0,s===!0){for(;Q()!==!0&&(K=xe());){if(K===iW){S=F.backslashes=!0,K=xe();continue}if(K===dxe){w=!0;break}}continue}break}if(h===!0){if(w=!0,s===!0)continue;break}}r.noext===!0&&(m=!1,h=!1);let We=l,ze="",ae="";c>0&&(ze=l.slice(0,c),l=l.slice(c),p-=c),We&&h===!0&&p>0?(We=l.slice(0,p),ae=l.slice(p)):h===!0?(We="",ae=l):We=l,We&&We!==""&&We!=="/"&&We!==l&&hxe(We.charCodeAt(We.length-1))&&(We=We.slice(0,-1)),r.unescape===!0&&(ae&&(ae=pxe.removeBackslashes(ae)),We&&S===!0&&(We=pxe.removeBackslashes(We)));let ne={prefix:ze,input:t,start:c,base:We,glob:ae,isBrace:d,isBracket:f,isGlob:h,isExtglob:m,isGlobstar:g,negated:x,negatedExtglob:v};if(r.tokens===!0&&(ne.maxDepth=0,hxe(K)||a.push(F),ne.tokens=a),r.parts===!0||r.tokens===!0){let Ne;for(let Ue=0;Ue<n.length;Ue++){let xt=Ne?Ne+1:c,ue=n[Ue],Me=t.slice(xt,ue);r.tokens&&(Ue===0&&c!==0?(a[Ue].isPrefix=!0,a[Ue].value=ze):a[Ue].value=Me,mxe(a[Ue]),ne.maxDepth+=a[Ue].depth),(Ue!==0||Me!=="")&&o.push(Me),Ne=ue}if(Ne&&Ne+1<t.length){let Ue=t.slice(Ne+1);o.push(Ue),r.tokens&&(a[a.length-1].value=Ue,mxe(a[a.length-1]),ne.maxDepth+=a[a.length-1].depth)}ne.slashes=n,ne.parts=o}return ne};gxe.exports=ZYt});var Txe=E((x7r,Sxe)=>{"use strict";var T8=zx(),Zo=Hx(),{MAX_LENGTH:x8,POSIX_REGEX_SOURCE:eJt,REGEX_NON_SPECIAL_CHARS:tJt,REGEX_SPECIAL_CHARS_BACKREF:rJt,REPLACEMENTS:vxe}=T8,iJt=(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},Rb=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,sW=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=vxe[t]||t;let r={...e},i=typeof r.maxLength=="number"?Math.min(x8,r.maxLength):x8,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=T8.globChars(l),c=T8.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:S,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 xe=[],We=[],ze=[],ae=n,ne,Ne=()=>X.index===s-1,Ue=X.peek=(le=1)=>t[X.index+le],xt=X.advance=()=>t[++X.index]||"",ue=()=>t.slice(X.index+1),Me=(le="",Be=0)=>{X.consumed+=le,X.index+=Be},Z=le=>{X.output+=le.output!=null?le.output:le.value,Me(le.value)},Te=()=>{let le=1;for(;Ue()==="!"&&(Ue(2)!=="("||Ue(3)==="?");)xt(),X.start++,le++;return le%2===0?!1:(X.negated=!0,X.start++,!0)},we=le=>{X[le]++,ze.push(le)},Ae=le=>{X[le]--,ze.pop()},Ve=le=>{if(ae.type==="globstar"){let Be=X.braces>0&&(le.type==="comma"||le.type==="brace"),Se=le.extglob===!0||xe.length&&(le.type==="pipe"||le.type==="paren");le.type!=="slash"&&le.type!=="paren"&&!Be&&!Se&&(X.output=X.output.slice(0,-ae.output.length),ae.type="star",ae.value="*",ae.output=Q,X.output+=ae.output)}if(xe.length&&le.type!=="paren"&&(xe[xe.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},ye=(le,Be)=>{let Se={...c[Be],conditions:1,inner:""};Se.prev=ae,Se.parens=X.parens,Se.output=X.output;let De=(r.capture?"(":"")+Se.open;we("parens"),Ve({type:le,value:Be,output:X.output?"":h}),Ve({type:"paren",extglob:!0,value:xt(),output:De}),xe.push(Se)},pe=le=>{let Be=le.close+(r.capture?")":""),Se;if(le.type==="negate"){let De=Q;if(le.inner&&le.inner.length>1&&le.inner.includes("/")&&(De=C(r)),(De!==Q||Ne()||/^\)+$/.test(ue()))&&(Be=le.close=`)$))${De}`),le.inner.includes("*")&&(Se=ue())&&/^\.[^\\/.]+$/.test(Se)){let st=sW(Se,{...e,fastpaths:!1}).output;Be=le.close=`)${st})${De})`}le.prev.type==="bos"&&(X.negatedExtglob=!0)}Ve({type:"paren",extglob:!0,value:ne,output:Be}),Ae("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let le=!1,Be=t.replace(rJt,(Se,De,st,Lt,mt,er)=>Lt==="\\"?(le=!0,Se):Lt==="?"?De?De+Lt+(mt?x.repeat(mt.length):""):er===0?F+(mt?x.repeat(mt.length):""):x.repeat(st.length):Lt==="."?p.repeat(st.length):Lt==="*"?De?De+Lt+(mt?Q:""):Q:De?Se:`\\${Se}`);return le===!0&&(r.unescape===!0?Be=Be.replace(/\\/g,""):Be=Be.replace(/\\+/g,Se=>Se.length%2===0?"\\\\":Se?"\\":"")),Be===t&&r.contains===!0?(X.output=t,X):(X.output=Zo.wrapOutput(Be,X,e),X)}for(;!Ne();){if(ne=xt(),ne==="\0")continue;if(ne==="\\"){let Se=Ue();if(Se==="/"&&r.bash!==!0||Se==="."||Se===";")continue;if(!Se){ne+="\\",Ve({type:"text",value:ne});continue}let De=/^\\+/.exec(ue()),st=0;if(De&&De[0].length>2&&(st=De[0].length,X.index+=st,st%2!==0&&(ne+="\\")),r.unescape===!0?ne=xt():ne+=xt(),X.brackets===0){Ve({type:"text",value:ne});continue}}if(X.brackets>0&&(ne!=="]"||ae.value==="["||ae.value==="[^")){if(r.posix!==!1&&ne===":"){let Se=ae.value.slice(1);if(Se.includes("[")&&(ae.posix=!0,Se.includes(":"))){let De=ae.value.lastIndexOf("["),st=ae.value.slice(0,De),Lt=ae.value.slice(De+2),mt=eJt[Lt];if(mt){ae.value=st+mt,X.backtrack=!0,xt(),!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&&Ve({type:"text",value:ne});continue}if(ne==="("){we("parens"),Ve({type:"paren",value:ne});continue}if(ne===")"){if(X.parens===0&&r.strictBrackets===!0)throw new SyntaxError(Rb("opening","("));let Se=xe[xe.length-1];if(Se&&X.parens===Se.parens+1){pe(xe.pop());continue}Ve({type:"paren",value:ne,output:X.parens?")":"\\)"}),Ae("parens");continue}if(ne==="["){if(r.nobracket===!0||!ue().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(Rb("closing","]"));ne=`\\${ne}`}else we("brackets");Ve({type:"bracket",value:ne});continue}if(ne==="]"){if(r.nobracket===!0||ae&&ae.type==="bracket"&&ae.value.length===1){Ve({type:"text",value:ne,output:`\\${ne}`});continue}if(X.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(Rb("opening","["));Ve({type:"text",value:ne,output:`\\${ne}`});continue}Ae("brackets");let Se=ae.value.slice(1);if(ae.posix!==!0&&Se[0]==="^"&&!Se.includes("/")&&(ne=`/${ne}`),ae.value+=ne,Z({value:ne}),r.literalBrackets===!1||Zo.hasRegexChars(Se))continue;let De=Zo.escapeRegex(ae.value);if(X.output=X.output.slice(0,-ae.value.length),r.literalBrackets===!0){X.output+=De,ae.value=De;continue}ae.value=`(${o}${De}|${ae.value})`,X.output+=ae.value;continue}if(ne==="{"&&r.nobrace!==!0){we("braces");let Se={type:"brace",value:ne,output:"(",outputIndex:X.output.length,tokensIndex:X.tokens.length};We.push(Se),Ve(Se);continue}if(ne==="}"){let Se=We[We.length-1];if(r.nobrace===!0||!Se){Ve({type:"text",value:ne,output:ne});continue}let De=")";if(Se.dots===!0){let st=a.slice(),Lt=[];for(let mt=st.length-1;mt>=0&&(a.pop(),st[mt].type!=="brace");mt--)st[mt].type!=="dots"&&Lt.unshift(st[mt].value);De=iJt(Lt,r),X.backtrack=!0}if(Se.comma!==!0&&Se.dots!==!0){let st=X.output.slice(0,Se.outputIndex),Lt=X.tokens.slice(Se.tokensIndex);Se.value=Se.output="\\{",ne=De="\\}",X.output=st;for(let mt of Lt)X.output+=mt.output||mt.value}Ve({type:"brace",value:ne,output:De}),Ae("braces"),We.pop();continue}if(ne==="|"){xe.length>0&&xe[xe.length-1].conditions++,Ve({type:"text",value:ne});continue}if(ne===","){let Se=ne,De=We[We.length-1];De&&ze[ze.length-1]==="braces"&&(De.comma=!0,Se="|"),Ve({type:"comma",value:ne,output:Se});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}Ve({type:"slash",value:ne,output:f});continue}if(ne==="."){if(X.braces>0&&ae.type==="dot"){ae.value==="."&&(ae.output=p);let Se=We[We.length-1];ae.type="dots",ae.output+=ne,ae.value+=ne,Se.dots=!0;continue}if(X.braces+X.parens===0&&ae.type!=="bos"&&ae.type!=="slash"){Ve({type:"text",value:ne,output:p});continue}Ve({type:"dot",value:ne,output:p});continue}if(ne==="?"){if(!(ae&&ae.value==="(")&&r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){ye("qmark",ne);continue}if(ae&&ae.type==="paren"){let De=Ue(),st=ne;if(De==="<"&&!Zo.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(ae.value==="("&&!/[!=<:]/.test(De)||De==="<"&&!/<([!=]|\w+>)/.test(ue()))&&(st=`\\${ne}`),Ve({type:"text",value:ne,output:st});continue}if(r.dot!==!0&&(ae.type==="slash"||ae.type==="bos")){Ve({type:"qmark",value:ne,output:v});continue}Ve({type:"qmark",value:ne,output:x});continue}if(ne==="!"){if(r.noextglob!==!0&&Ue()==="("&&(Ue(2)!=="?"||!/[!=<:]/.test(Ue(3)))){ye("negate",ne);continue}if(r.nonegate!==!0&&X.index===0){Te();continue}}if(ne==="+"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){ye("plus",ne);continue}if(ae&&ae.value==="("||r.regex===!1){Ve({type:"plus",value:ne,output:d});continue}if(ae&&(ae.type==="bracket"||ae.type==="paren"||ae.type==="brace")||X.parens>0){Ve({type:"plus",value:ne});continue}Ve({type:"plus",value:d});continue}if(ne==="@"){if(r.noextglob!==!0&&Ue()==="("&&Ue(2)!=="?"){Ve({type:"at",extglob:!0,value:ne,output:""});continue}Ve({type:"text",value:ne});continue}if(ne!=="*"){(ne==="$"||ne==="^")&&(ne=`\\${ne}`);let Se=tJt.exec(ue());Se&&(ne+=Se[0],X.index+=Se[0].length),Ve({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,Me(ne);continue}let le=ue();if(r.noextglob!==!0&&/^\([^?]/.test(le)){ye("star",ne);continue}if(ae.type==="star"){if(r.noglobstar===!0){Me(ne);continue}let Se=ae.prev,De=Se.prev,st=Se.type==="slash"||Se.type==="bos",Lt=De&&(De.type==="star"||De.type==="globstar");if(r.bash===!0&&(!st||le[0]&&le[0]!=="/")){Ve({type:"star",value:ne,output:""});continue}let mt=X.braces>0&&(Se.type==="comma"||Se.type==="brace"),er=xe.length&&(Se.type==="pipe"||Se.type==="paren");if(!st&&Se.type!=="paren"&&!mt&&!er){Ve({type:"star",value:ne,output:""});continue}for(;le.slice(0,3)==="/**";){let Er=t[X.index+4];if(Er&&Er!=="/")break;le=le.slice(3),Me("/**",3)}if(Se.type==="bos"&&Ne()){ae.type="globstar",ae.value+=ne,ae.output=C(r),X.output=ae.output,X.globstar=!0,Me(ne);continue}if(Se.type==="slash"&&Se.prev.type!=="bos"&&!Lt&&Ne()){X.output=X.output.slice(0,-(Se.output+ae.output).length),Se.output=`(?:${Se.output}`,ae.type="globstar",ae.output=C(r)+(r.strictSlashes?")":"|$)"),ae.value+=ne,X.globstar=!0,X.output+=Se.output+ae.output,Me(ne);continue}if(Se.type==="slash"&&Se.prev.type!=="bos"&&le[0]==="/"){let Er=le[1]!==void 0?"|$":"";X.output=X.output.slice(0,-(Se.output+ae.output).length),Se.output=`(?:${Se.output}`,ae.type="globstar",ae.output=`${C(r)}${f}|${f}${Er})`,ae.value+=ne,X.output+=Se.output+ae.output,X.globstar=!0,Me(ne+xt()),Ve({type:"slash",value:"/",output:""});continue}if(Se.type==="bos"&&le[0]==="/"){ae.type="globstar",ae.value+=ne,ae.output=`(?:^|${f}|${C(r)}${f})`,X.output=ae.output,X.globstar=!0,Me(ne+xt()),Ve({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,Me(ne);continue}let Be={type:"star",value:ne,output:Q};if(r.bash===!0){Be.output=".*?",(ae.type==="bos"||ae.type==="slash")&&(Be.output=K+Be.output),Ve(Be);continue}if(ae&&(ae.type==="bracket"||ae.type==="paren")&&r.regex===!0){Be.output=ne,Ve(Be);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+=S,ae.output+=S):(X.output+=K,ae.output+=K),Ue()!=="*"&&(X.output+=h,ae.output+=h)),Ve(Be)}for(;X.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(Rb("closing","]"));X.output=Zo.escapeLast(X.output,"["),Ae("brackets")}for(;X.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(Rb("closing",")"));X.output=Zo.escapeLast(X.output,"("),Ae("parens")}for(;X.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(Rb("closing","}"));X.output=Zo.escapeLast(X.output,"{"),Ae("braces")}if(r.strictSlashes!==!0&&(ae.type==="star"||ae.type==="bracket")&&Ve({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};sW.fastpaths=(t,e)=>{let r={...e},i=typeof r.maxLength=="number"?Math.min(x8,r.maxLength):x8,s=t.length;if(s>i)throw new SyntaxError(`Input length: ${s}, exceeds maximum allowed length: ${i}`);t=vxe[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}=T8.globChars(n),m=r.dot?p:c,g=r.dot?d:c,b=r.capture?"":"?:",S={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,S),C=w(A);return C&&r.strictSlashes!==!0&&(C+=`${o}?`),C};Sxe.exports=sW});var Exe=E((E7r,xxe)=>{"use strict";var sJt=require("path"),nJt=bxe(),nW=Txe(),aW=Hx(),aJt=zx(),oJt=t=>t&&typeof t=="object"&&!Array.isArray(t),un=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(d=>un(d,e,r));return d=>{for(let f of c){let h=f(d);if(h)return h}return!1}}let i=oJt(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=aW.isWindows(e),a=i?un.compileRe(t,e):un.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=un(s.ignore,c,r)}let u=(c,p=!1)=>{let{isMatch:d,match:f,output:h}=un.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};un.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?aW.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=un.matchBase(t,e,r,s):o=e.exec(l)),{isMatch:!!o,match:o,output:l}};un.matchBase=(t,e,r,i=aW.isWindows(r))=>(e instanceof RegExp?e:un.makeRe(e,r)).test(sJt.basename(t));un.isMatch=(t,e,r)=>un(e,r)(t);un.parse=(t,e)=>Array.isArray(t)?t.map(r=>un.parse(r,e)):nW(t,{...e,fastpaths:!1});un.scan=(t,e)=>nJt(t,e);un.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=un.toRegex(o,e);return i===!0&&(l.state=t),l};un.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=nW.fastpaths(t,e)),s.output||(s=nW(t,e)),un.compileRe(s,e,r,i)};un.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/$^/}};un.constants=aJt;xxe.exports=un});var Axe=E((w7r,wxe)=>{"use strict";wxe.exports=Exe()});var Nxe=E((A7r,Dxe)=>{"use strict";var _xe=require("util"),Cxe=nxe(),Fc=Axe(),oW=Hx(),Pxe=t=>t===""||t==="./",Es=(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=Fc(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};Es.match=Es;Es.matcher=(t,e)=>Fc(t,e);Es.isMatch=(t,e,r)=>Fc(e,r)(t);Es.any=Es.isMatch;Es.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(Es(t,e,{...r,onResult:n}));for(let o of s)a.has(o)||i.add(o);return[...i]};Es.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${_xe.inspect(t)}"`);if(Array.isArray(e))return e.some(i=>Es.contains(t,i,r));if(typeof e=="string"){if(Pxe(t)||Pxe(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return Es.isMatch(t,e,{...r,contains:!0})};Es.matchKeys=(t,e,r)=>{if(!oW.isObject(t))throw new TypeError("Expected the first argument to be an object");let i=Es(Object.keys(t),e,r),s={};for(let n of i)s[n]=t[n];return s};Es.some=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Fc(String(s),r);if(i.some(a=>n(a)))return!0}return!1};Es.every=(t,e,r)=>{let i=[].concat(t);for(let s of[].concat(e)){let n=Fc(String(s),r);if(!i.every(a=>n(a)))return!1}return!0};Es.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${_xe.inspect(t)}"`);return[].concat(e).every(i=>Fc(i,r)(t))};Es.capture=(t,e,r)=>{let i=oW.isWindows(r),n=Fc.makeRe(String(t),{...r,capture:!0}).exec(i?oW.toPosixSlashes(e):e);if(n)return n.slice(1).map(a=>a===void 0?"":a)};Es.makeRe=(...t)=>Fc.makeRe(...t);Es.scan=(...t)=>Fc.scan(...t);Es.parse=(t,e)=>{let r=[];for(let i of[].concat(t||[]))for(let s of Cxe(String(i),e))r.push(Fc.parse(s,e));return r};Es.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:Cxe(t,e)};Es.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return Es.braces(t,{...e,expand:!0})};Dxe.exports=Es});var Mxe=E(dr=>{"use strict";Object.defineProperty(dr,"__esModule",{value:!0});dr.removeDuplicateSlashes=dr.matchAny=dr.convertPatternsToRe=dr.makeRe=dr.getPatternParts=dr.expandBraceExpansion=dr.expandPatternsWithBraceExpansion=dr.isAffectDepthOfReadingPattern=dr.endsWithSlashGlobStar=dr.hasGlobStar=dr.getBaseDirectory=dr.isPatternRelatedToParentDirectory=dr.getPatternsOutsideCurrentDirectory=dr.getPatternsInsideCurrentDirectory=dr.getPositivePatterns=dr.getNegativePatterns=dr.isPositivePattern=dr.isNegativePattern=dr.convertToNegativePattern=dr.convertToPositivePattern=dr.isDynamicPattern=dr.isStaticPattern=void 0;var lJt=require("path"),uJt=xTe(),lW=Nxe(),Ixe="**",cJt="\\",pJt=/[*?]|^!/,fJt=/\[[^[]*]/,dJt=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,hJt=/[!*+?@]\([^(]*\)/,mJt=/,|\.\./,yJt=/(?!^)\/{2,}/g;function Oxe(t,e={}){return!kxe(t,e)}dr.isStaticPattern=Oxe;function kxe(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(cJt)||pJt.test(t)||fJt.test(t)||dJt.test(t)||e.extglob!==!1&&hJt.test(t)||e.braceExpansion!==!1&&gJt(t))}dr.isDynamicPattern=kxe;function gJt(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 mJt.test(i)}function bJt(t){return E8(t)?t.slice(1):t}dr.convertToPositivePattern=bJt;function vJt(t){return"!"+t}dr.convertToNegativePattern=vJt;function E8(t){return t.startsWith("!")&&t[1]!=="("}dr.isNegativePattern=E8;function Lxe(t){return!E8(t)}dr.isPositivePattern=Lxe;function SJt(t){return t.filter(E8)}dr.getNegativePatterns=SJt;function TJt(t){return t.filter(Lxe)}dr.getPositivePatterns=TJt;function xJt(t){return t.filter(e=>!uW(e))}dr.getPatternsInsideCurrentDirectory=xJt;function EJt(t){return t.filter(uW)}dr.getPatternsOutsideCurrentDirectory=EJt;function uW(t){return t.startsWith("..")||t.startsWith("./..")}dr.isPatternRelatedToParentDirectory=uW;function wJt(t){return uJt(t,{flipBackslashes:!1})}dr.getBaseDirectory=wJt;function AJt(t){return t.includes(Ixe)}dr.hasGlobStar=AJt;function Fxe(t){return t.endsWith("/"+Ixe)}dr.endsWithSlashGlobStar=Fxe;function PJt(t){let e=lJt.basename(t);return Fxe(t)||Oxe(e)}dr.isAffectDepthOfReadingPattern=PJt;function _Jt(t){return t.reduce((e,r)=>e.concat(Rxe(r)),[])}dr.expandPatternsWithBraceExpansion=_Jt;function Rxe(t){let e=lW.braces(t,{expand:!0,nodupes:!0});return e.sort((r,i)=>r.length-i.length),e.filter(r=>r!=="")}dr.expandBraceExpansion=Rxe;function CJt(t,e){let{parts:r}=lW.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}dr.getPatternParts=CJt;function Bxe(t,e){return lW.makeRe(t,e)}dr.makeRe=Bxe;function DJt(t,e){return t.map(r=>Bxe(r,e))}dr.convertPatternsToRe=DJt;function NJt(t,e){return e.some(r=>r.test(t))}dr.matchAny=NJt;function IJt(t){return t.replace(yJt,"/")}dr.removeDuplicateSlashes=IJt});var Vxe=E(w8=>{"use strict";Object.defineProperty(w8,"__esModule",{value:!0});w8.merge=void 0;var OJt=UK();function kJt(t){let e=OJt(t);return t.forEach(r=>{r.once("error",i=>e.emit("error",i))}),e.once("close",()=>jxe(t)),e.once("end",()=>jxe(t)),e}w8.merge=kJt;function jxe(t){t.forEach(e=>e.emit("close"))}});var Uxe=E(Bb=>{"use strict";Object.defineProperty(Bb,"__esModule",{value:!0});Bb.isEmpty=Bb.isString=void 0;function LJt(t){return typeof t=="string"}Bb.isString=LJt;function FJt(t){return t===""}Bb.isEmpty=FJt});var Sf=E(Sa=>{"use strict";Object.defineProperty(Sa,"__esModule",{value:!0});Sa.string=Sa.stream=Sa.pattern=Sa.path=Sa.fs=Sa.errno=Sa.array=void 0;var RJt=uTe();Sa.array=RJt;var BJt=cTe();Sa.errno=BJt;var MJt=pTe();Sa.fs=MJt;var jJt=mTe();Sa.path=jJt;var VJt=Mxe();Sa.pattern=VJt;var UJt=Vxe();Sa.stream=UJt;var qJt=Uxe();Sa.string=qJt});var Wxe=E(Ta=>{"use strict";Object.defineProperty(Ta,"__esModule",{value:!0});Ta.convertPatternGroupToTask=Ta.convertPatternGroupsToTasks=Ta.groupPatternsByBaseDirectory=Ta.getNegativePatternsAsPositive=Ta.getPositivePatterns=Ta.convertPatternsToTasks=Ta.generate=void 0;var Lu=Sf();function $Jt(t,e){let r=qxe(t,e),i=qxe(e.ignore,e),s=$xe(r),n=Kxe(r,i),a=s.filter(c=>Lu.pattern.isStaticPattern(c,e)),o=s.filter(c=>Lu.pattern.isDynamicPattern(c,e)),l=cW(a,n,!1),u=cW(o,n,!0);return l.concat(u)}Ta.generate=$Jt;function qxe(t,e){let r=t;return e.braceExpansion&&(r=Lu.pattern.expandPatternsWithBraceExpansion(r)),e.baseNameMatch&&(r=r.map(i=>i.includes("/")?i:`**/${i}`)),r.map(i=>Lu.pattern.removeDuplicateSlashes(i))}function cW(t,e,r){let i=[],s=Lu.pattern.getPatternsOutsideCurrentDirectory(t),n=Lu.pattern.getPatternsInsideCurrentDirectory(t),a=pW(s),o=pW(n);return i.push(...fW(a,e,r)),"."in o?i.push(dW(".",n,e,r)):i.push(...fW(o,e,r)),i}Ta.convertPatternsToTasks=cW;function $xe(t){return Lu.pattern.getPositivePatterns(t)}Ta.getPositivePatterns=$xe;function Kxe(t,e){return Lu.pattern.getNegativePatterns(t).concat(e).map(Lu.pattern.convertToPositivePattern)}Ta.getNegativePatternsAsPositive=Kxe;function pW(t){let e={};return t.reduce((r,i)=>{let s=Lu.pattern.getBaseDirectory(i);return s in r?r[s].push(i):r[s]=[i],r},e)}Ta.groupPatternsByBaseDirectory=pW;function fW(t,e,r){return Object.keys(t).map(i=>dW(i,t[i],e,r))}Ta.convertPatternGroupsToTasks=fW;function dW(t,e,r,i){return{dynamic:i,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(Lu.pattern.convertToNegativePattern))}}Ta.convertPatternGroupToTask=dW});var zxe=E(A8=>{"use strict";Object.defineProperty(A8,"__esModule",{value:!0});A8.read=void 0;function KJt(t,e,r){e.fs.lstat(t,(i,s)=>{if(i!==null){Gxe(r,i);return}if(!s.isSymbolicLink()||!e.followSymbolicLink){hW(r,s);return}e.fs.stat(t,(n,a)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){Gxe(r,n);return}hW(r,s);return}e.markSymbolicLink&&(a.isSymbolicLink=()=>!0),hW(r,a)})})}A8.read=KJt;function Gxe(t,e){t(e)}function hW(t,e){t(null,e)}});var Hxe=E(P8=>{"use strict";Object.defineProperty(P8,"__esModule",{value:!0});P8.read=void 0;function WJt(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}}P8.read=WJt});var Yxe=E(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});gh.createFileSystemAdapter=gh.FILE_SYSTEM_ADAPTER=void 0;var _8=require("fs");gh.FILE_SYSTEM_ADAPTER={lstat:_8.lstat,stat:_8.stat,lstatSync:_8.lstatSync,statSync:_8.statSync};function GJt(t){return t===void 0?gh.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},gh.FILE_SYSTEM_ADAPTER),t)}gh.createFileSystemAdapter=GJt});var Jxe=E(yW=>{"use strict";Object.defineProperty(yW,"__esModule",{value:!0});var zJt=Yxe(),mW=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=zJt.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}};yW.default=mW});var z0=E(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});bh.statSync=bh.stat=bh.Settings=void 0;var Xxe=zxe(),HJt=Hxe(),gW=Jxe();bh.Settings=gW.default;function YJt(t,e,r){if(typeof e=="function"){Xxe.read(t,bW(),e);return}Xxe.read(t,bW(e),r)}bh.stat=YJt;function JJt(t,e){let r=bW(e);return HJt.read(t,r)}bh.statSync=JJt;function bW(t={}){return t instanceof gW.default?t:new gW.default(t)}});var eEe=E((R7r,Zxe)=>{var Qxe;Zxe.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(Qxe||(Qxe=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var rEe=E((B7r,tEe)=>{tEe.exports=QJt;var XJt=eEe();function QJt(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?XJt(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 vW=E(D8=>{"use strict";Object.defineProperty(D8,"__esModule",{value:!0});D8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var C8=process.versions.node.split(".");if(C8[0]===void 0||C8[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var iEe=Number.parseInt(C8[0],10),ZJt=Number.parseInt(C8[1],10),sEe=10,eXt=10,tXt=iEe>sEe,rXt=iEe===sEe&&ZJt>=eXt;D8.IS_SUPPORT_READDIR_WITH_FILE_TYPES=tXt||rXt});var nEe=E(N8=>{"use strict";Object.defineProperty(N8,"__esModule",{value:!0});N8.createDirentFromStats=void 0;var SW=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 iXt(t,e){return new SW(t,e)}N8.createDirentFromStats=iXt});var TW=E(I8=>{"use strict";Object.defineProperty(I8,"__esModule",{value:!0});I8.fs=void 0;var sXt=nEe();I8.fs=sXt});var xW=E(O8=>{"use strict";Object.defineProperty(O8,"__esModule",{value:!0});O8.joinPathSegments=void 0;function nXt(t,e,r){return t.endsWith(r)?t+e:t+r+e}O8.joinPathSegments=nXt});var pEe=E(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});vh.readdir=vh.readdirWithFileTypes=vh.read=void 0;var aXt=z0(),aEe=rEe(),oXt=vW(),oEe=TW(),lEe=xW();function lXt(t,e,r){if(!e.stats&&oXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES){uEe(t,e,r);return}cEe(t,e,r)}vh.read=lXt;function uEe(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(i,s)=>{if(i!==null){k8(r,i);return}let n=s.map(o=>({dirent:o,name:o.name,path:lEe.joinPathSegments(t,o.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){EW(r,n);return}let a=n.map(o=>uXt(o,e));aEe(a,(o,l)=>{if(o!==null){k8(r,o);return}EW(r,l)})})}vh.readdirWithFileTypes=uEe;function uXt(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=oEe.fs.createDirentFromStats(t.name,s),r(null,t)})}}function cEe(t,e,r){e.fs.readdir(t,(i,s)=>{if(i!==null){k8(r,i);return}let n=s.map(a=>{let o=lEe.joinPathSegments(t,a,e.pathSegmentSeparator);return l=>{aXt.stat(o,e.fsStatSettings,(u,c)=>{if(u!==null){l(u);return}let p={name:a,path:o,dirent:oEe.fs.createDirentFromStats(a,c)};e.stats&&(p.stats=c),l(null,p)})}});aEe(n,(a,o)=>{if(a!==null){k8(r,a);return}EW(r,o)})})}vh.readdir=cEe;function k8(t,e){t(e)}function EW(t,e){t(null,e)}});var yEe=E(Sh=>{"use strict";Object.defineProperty(Sh,"__esModule",{value:!0});Sh.readdir=Sh.readdirWithFileTypes=Sh.read=void 0;var cXt=z0(),pXt=vW(),fEe=TW(),dEe=xW();function fXt(t,e){return!e.stats&&pXt.IS_SUPPORT_READDIR_WITH_FILE_TYPES?hEe(t,e):mEe(t,e)}Sh.read=fXt;function hEe(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(i=>{let s={dirent:i,name:i.name,path:dEe.joinPathSegments(t,i.name,e.pathSegmentSeparator)};if(s.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let n=e.fs.statSync(s.path);s.dirent=fEe.fs.createDirentFromStats(s.name,n)}catch(n){if(e.throwErrorOnBrokenSymbolicLink)throw n}return s})}Sh.readdirWithFileTypes=hEe;function mEe(t,e){return e.fs.readdirSync(t).map(i=>{let s=dEe.joinPathSegments(t,i,e.pathSegmentSeparator),n=cXt.statSync(s,e.fsStatSettings),a={name:i,path:s,dirent:fEe.fs.createDirentFromStats(i,n)};return e.stats&&(a.stats=n),a})}Sh.readdir=mEe});var gEe=E(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});Th.createFileSystemAdapter=Th.FILE_SYSTEM_ADAPTER=void 0;var Mb=require("fs");Th.FILE_SYSTEM_ADAPTER={lstat:Mb.lstat,stat:Mb.stat,lstatSync:Mb.lstatSync,statSync:Mb.statSync,readdir:Mb.readdir,readdirSync:Mb.readdirSync};function dXt(t){return t===void 0?Th.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Th.FILE_SYSTEM_ADAPTER),t)}Th.createFileSystemAdapter=dXt});var bEe=E(AW=>{"use strict";Object.defineProperty(AW,"__esModule",{value:!0});var hXt=require("path"),mXt=z0(),yXt=gEe(),wW=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=yXt.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,hXt.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new mXt.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e!=null?e:r}};AW.default=wW});var L8=E(xh=>{"use strict";Object.defineProperty(xh,"__esModule",{value:!0});xh.Settings=xh.scandirSync=xh.scandir=void 0;var vEe=pEe(),gXt=yEe(),PW=bEe();xh.Settings=PW.default;function bXt(t,e,r){if(typeof e=="function"){vEe.read(t,_W(),e);return}vEe.read(t,_W(e),r)}xh.scandir=bXt;function vXt(t,e){let r=_W(e);return gXt.read(t,r)}xh.scandirSync=vXt;function _W(t={}){return t instanceof PW.default?t:new PW.default(t)}});var TEe=E((z7r,SEe)=>{"use strict";function SXt(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}}SEe.exports=SXt});var EEe=E((H7r,CW)=>{"use strict";var TXt=TEe();function xEe(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=TXt(xXt),s=null,n=null,a=0,o=null,l={push:m,drain:Rc,saturated:Rc,pause:c,paused:!1,concurrency:r,running:u,resume:f,idle:h,length:p,getQueue:d,unshift:g,empty:Rc,kill:S,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||Rc,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||Rc,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 S(){s=null,n=null,l.drain=Rc}function x(){s=null,n=null,l.drain(),l.drain=Rc}function v(w){o=w}}function Rc(){}function xXt(){this.value=null,this.callback=Rc,this.next=null,this.release=Rc,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=Rc,t.errorHandler&&n(r,a),s.call(t.context,r,i),t.release(t)}}function EXt(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=xEe(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)})})}}CW.exports=xEe;CW.exports.promise=EXt});var F8=E(Bc=>{"use strict";Object.defineProperty(Bc,"__esModule",{value:!0});Bc.joinPathSegments=Bc.replacePathSegmentSeparator=Bc.isAppliedFilter=Bc.isFatalError=void 0;function wXt(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}Bc.isFatalError=wXt;function AXt(t,e){return t===null||t(e)}Bc.isAppliedFilter=AXt;function PXt(t,e){return t.split(/[/\\]/).join(e)}Bc.replacePathSegmentSeparator=PXt;function _Xt(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}Bc.joinPathSegments=_Xt});var IW=E(NW=>{"use strict";Object.defineProperty(NW,"__esModule",{value:!0});var CXt=F8(),DW=class{constructor(e,r){this._root=e,this._settings=r,this._root=CXt.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};NW.default=DW});var LW=E(kW=>{"use strict";Object.defineProperty(kW,"__esModule",{value:!0});var DXt=require("events"),NXt=L8(),IXt=EEe(),R8=F8(),OXt=IW(),OW=class extends OXt.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=NXt.scandir,this._emitter=new DXt.EventEmitter,this._queue=IXt(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||!R8.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=R8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),R8.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&R8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};kW.default=OW});var wEe=E(RW=>{"use strict";Object.defineProperty(RW,"__esModule",{value:!0});var kXt=LW(),FW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new kXt.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{LXt(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{FXt(e,this._storage)}),this._reader.read()}};RW.default=FW;function LXt(t,e){t(e)}function FXt(t,e){t(null,e)}});var AEe=E(MW=>{"use strict";Object.defineProperty(MW,"__esModule",{value:!0});var RXt=require("stream"),BXt=LW(),BW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new BXt.default(this._root,this._settings),this._stream=new RXt.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}};MW.default=BW});var PEe=E(VW=>{"use strict";Object.defineProperty(VW,"__esModule",{value:!0});var MXt=L8(),B8=F8(),jXt=IW(),jW=class extends jXt.default{constructor(){super(...arguments),this._scandir=MXt.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(B8.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let i=e.path;r!==void 0&&(e.path=B8.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),B8.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&B8.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(i,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};VW.default=jW});var _Ee=E(qW=>{"use strict";Object.defineProperty(qW,"__esModule",{value:!0});var VXt=PEe(),UW=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new VXt.default(this._root,this._settings)}read(){return this._reader.read()}};qW.default=UW});var CEe=E(KW=>{"use strict";Object.defineProperty(KW,"__esModule",{value:!0});var UXt=require("path"),qXt=L8(),$W=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,UXt.sep),this.fsScandirSettings=new qXt.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}};KW.default=$W});var j8=E(Mc=>{"use strict";Object.defineProperty(Mc,"__esModule",{value:!0});Mc.Settings=Mc.walkStream=Mc.walkSync=Mc.walk=void 0;var DEe=wEe(),$Xt=AEe(),KXt=_Ee(),WW=CEe();Mc.Settings=WW.default;function WXt(t,e,r){if(typeof e=="function"){new DEe.default(t,M8()).read(e);return}new DEe.default(t,M8(e)).read(r)}Mc.walk=WXt;function GXt(t,e){let r=M8(e);return new KXt.default(t,r).read()}Mc.walkSync=GXt;function zXt(t,e){let r=M8(e);return new $Xt.default(t,r).read()}Mc.walkStream=zXt;function M8(t={}){return t instanceof WW.default?t:new WW.default(t)}});var V8=E(zW=>{"use strict";Object.defineProperty(zW,"__esModule",{value:!0});var HXt=require("path"),YXt=z0(),NEe=Sf(),GW=class{constructor(e){this._settings=e,this._fsStatSettings=new YXt.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return HXt.resolve(this._settings.cwd,e)}_makeEntry(e,r){let i={name:r,path:r,dirent:NEe.fs.createDirentFromStats(r,e)};return this._settings.stats&&(i.stats=e),i}_isFatalError(e){return!NEe.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};zW.default=GW});var JW=E(YW=>{"use strict";Object.defineProperty(YW,"__esModule",{value:!0});var JXt=require("stream"),XXt=z0(),QXt=j8(),ZXt=V8(),HW=class extends ZXt.default{constructor(){super(...arguments),this._walkStream=QXt.walkStream,this._stat=XXt.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let i=e.map(this._getFullEntryPath,this),s=new JXt.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))})}};YW.default=HW});var IEe=E(QW=>{"use strict";Object.defineProperty(QW,"__esModule",{value:!0});var eQt=j8(),tQt=V8(),rQt=JW(),XW=class extends tQt.default{constructor(){super(...arguments),this._walkAsync=eQt.walk,this._readerStream=new rQt.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))})}};QW.default=XW});var OEe=E(eG=>{"use strict";Object.defineProperty(eG,"__esModule",{value:!0});var Jx=Sf(),ZW=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 Jx.pattern.getPatternParts(e,this._micromatchOptions).map(i=>Jx.pattern.isDynamicPattern(i,this._settings)?{dynamic:!0,pattern:i,patternRe:Jx.pattern.makeRe(i,this._micromatchOptions)}:{dynamic:!1,pattern:i})}_splitSegmentsIntoSections(e){return Jx.array.splitWhen(e,r=>r.dynamic&&Jx.pattern.hasGlobStar(r.pattern))}};eG.default=ZW});var kEe=E(rG=>{"use strict";Object.defineProperty(rG,"__esModule",{value:!0});var iQt=OEe(),tG=class extends iQt.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}};rG.default=tG});var LEe=E(sG=>{"use strict";Object.defineProperty(sG,"__esModule",{value:!0});var U8=Sf(),sQt=kEe(),iG=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 sQt.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(U8.pattern.isAffectDepthOfReadingPattern);return U8.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,i,s){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let n=U8.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!U8.pattern.matchAny(e,r)}};sG.default=iG});var FEe=E(aG=>{"use strict";Object.defineProperty(aG,"__esModule",{value:!0});var H0=Sf(),nG=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let i=H0.pattern.convertPatternsToRe(e,this._micromatchOptions),s=H0.pattern.convertPatternsToRe(r,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}));return n=>this._filter(n,i,s)}_filter(e,r,i){let s=H0.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=H0.path.makeAbsolute(this._settings.cwd,e);return H0.pattern.matchAny(i,r)}_isMatchToPatterns(e,r,i){let s=H0.pattern.matchAny(e,r);return!s&&i?H0.pattern.matchAny(e+"/",r):s}};aG.default=nG});var REe=E(lG=>{"use strict";Object.defineProperty(lG,"__esModule",{value:!0});var nQt=Sf(),oG=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return nQt.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};lG.default=oG});var MEe=E(cG=>{"use strict";Object.defineProperty(cG,"__esModule",{value:!0});var BEe=Sf(),uG=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=BEe.path.makeAbsolute(this._settings.cwd,r),r=BEe.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};cG.default=uG});var q8=E(fG=>{"use strict";Object.defineProperty(fG,"__esModule",{value:!0});var aQt=require("path"),oQt=LEe(),lQt=FEe(),uQt=REe(),cQt=MEe(),pG=class{constructor(e){this._settings=e,this.errorFilter=new uQt.default(this._settings),this.entryFilter=new lQt.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new oQt.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new cQt.default(this._settings)}_getRootDirectory(e){return aQt.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}}};fG.default=pG});var jEe=E(hG=>{"use strict";Object.defineProperty(hG,"__esModule",{value:!0});var pQt=IEe(),fQt=q8(),dG=class extends fQt.default{constructor(){super(...arguments),this._reader=new pQt.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)}};hG.default=dG});var VEe=E(yG=>{"use strict";Object.defineProperty(yG,"__esModule",{value:!0});var dQt=require("stream"),hQt=JW(),mQt=q8(),mG=class extends mQt.default{constructor(){super(...arguments),this._reader=new hQt.default(this._settings)}read(e){let r=this._getRootDirectory(e),i=this._getReaderOptions(e),s=this.api(r,e,i),n=new dQt.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)}};yG.default=mG});var UEe=E(bG=>{"use strict";Object.defineProperty(bG,"__esModule",{value:!0});var yQt=z0(),gQt=j8(),bQt=V8(),gG=class extends bQt.default{constructor(){super(...arguments),this._walkSync=gQt.walkSync,this._statSync=yQt.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)}};bG.default=gG});var qEe=E(SG=>{"use strict";Object.defineProperty(SG,"__esModule",{value:!0});var vQt=UEe(),SQt=q8(),vG=class extends SQt.default{constructor(){super(...arguments),this._reader=new vQt.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)}};SG.default=vG});var $Ee=E(Vb=>{"use strict";Object.defineProperty(Vb,"__esModule",{value:!0});Vb.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var jb=require("fs"),TQt=require("os"),xQt=Math.max(TQt.cpus().length,1);Vb.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:jb.lstat,lstatSync:jb.lstatSync,stat:jb.stat,statSync:jb.statSync,readdir:jb.readdir,readdirSync:jb.readdirSync};var TG=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,xQt),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({},Vb.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};Vb.default=TG});var AG=E((vOr,WEe)=>{"use strict";var KEe=Wxe(),EQt=jEe(),wQt=VEe(),AQt=qEe(),xG=$Ee(),Hl=Sf();async function EG(t,e){Fu(t);let r=wG(t,EQt.default,e),i=await Promise.all(r);return Hl.array.flatten(i)}(function(t){t.glob=t,t.globSync=e,t.globStream=r,t.async=t;function e(u,c){Fu(u);let p=wG(u,AQt.default,c);return Hl.array.flatten(p)}t.sync=e;function r(u,c){Fu(u);let p=wG(u,wQt.default,c);return Hl.stream.merge(p)}t.stream=r;function i(u,c){Fu(u);let p=[].concat(u),d=new xG.default(c);return KEe.generate(p,d)}t.generateTasks=i;function s(u,c){Fu(u);let p=new xG.default(c);return Hl.pattern.isDynamicPattern(u,p)}t.isDynamicPattern=s;function n(u){return Fu(u),Hl.path.escape(u)}t.escapePath=n;function a(u){return Fu(u),Hl.path.convertPathToPattern(u)}t.convertPathToPattern=a;let o;(function(u){function c(d){return Fu(d),Hl.path.escapePosixPath(d)}u.escapePath=c;function p(d){return Fu(d),Hl.path.convertPosixPathToPattern(d)}u.convertPathToPattern=p})(o=t.posix||(t.posix={}));let l;(function(u){function c(d){return Fu(d),Hl.path.escapeWindowsPath(d)}u.escapePath=c;function p(d){return Fu(d),Hl.path.convertWindowsPathToPattern(d)}u.convertPathToPattern=p})(l=t.win32||(t.win32={}))})(EG||(EG={}));function wG(t,e,r){let i=[].concat(t),s=new xG.default(r),n=KEe.generate(i,s),a=new e(s);return n.map(a.read,a)}function Fu(t){if(![].concat(t).every(i=>Hl.string.isString(i)&&!Hl.string.isEmpty(i)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}WEe.exports=EG});var zEe=E(Y0=>{"use strict";var{promisify:PQt}=require("util"),GEe=require("fs");async function PG(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await PQt(GEe[t])(r))[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}function _G(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return GEe[t](r)[e]()}catch(i){if(i.code==="ENOENT")return!1;throw i}}Y0.isFile=PG.bind(null,"stat","isFile");Y0.isDirectory=PG.bind(null,"stat","isDirectory");Y0.isSymlink=PG.bind(null,"lstat","isSymbolicLink");Y0.isFileSync=_G.bind(null,"statSync","isFile");Y0.isDirectorySync=_G.bind(null,"statSync","isDirectory");Y0.isSymlinkSync=_G.bind(null,"lstatSync","isSymbolicLink")});var QEe=E((TOr,CG)=>{"use strict";var J0=require("path"),HEe=zEe(),YEe=t=>t.length>1?`{${t.join(",")}}`:t[0],JEe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return J0.isAbsolute(r)?r:J0.join(e,r)},_Qt=(t,e)=>J0.extname(t)?`**/${t}`:`**/${t}.${YEe(e)}`,XEe=(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=>J0.posix.join(t,_Qt(r,e.extensions))):e.files?e.files.map(r=>J0.posix.join(t,`**/${r}`)):e.extensions?[J0.posix.join(t,`**/*.${YEe(e.extensions)}`)]:[J0.posix.join(t,"**")]};CG.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 HEe.isDirectory(JEe(i,e.cwd))?XEe(i,e):i));return[].concat.apply([],r)};CG.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=>HEe.isDirectorySync(JEe(i,e.cwd))?XEe(i,e):i);return[].concat.apply([],r)}});var lwe=E((xOr,owe)=>{function ZEe(t){return Array.isArray(t)?t:[t]}var iwe="",ewe=" ",DG="\\",CQt=/^\s+$/,DQt=/(?:[^\\]|^)\\$/,NQt=/^\\!/,IQt=/^\\#/,OQt=/\r?\n/g,kQt=/^\.*\/|^\.+$/,NG="/",swe="node-ignore";typeof Symbol<"u"&&(swe=Symbol.for("node-ignore"));var twe=swe,LQt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),FQt=/([0-z])-([0-z])/g,nwe=()=>!1,RQt=t=>t.replace(FQt,(e,r,i)=>r.charCodeAt(0)<=i.charCodeAt(0)?e:iwe),BQt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},MQt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?ewe:iwe],[/\\\s/g,()=>ewe],[/[\\$.|*+(){^]/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,()=>DG],[/\\\\/g,()=>DG],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,i,s)=>e===DG?`\\[${r}${BQt(i)}${s}`:s==="]"&&i.length%2===0?`[${RQt(r)}${i}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],rwe=Object.create(null),jQt=(t,e)=>{let r=rwe[t];return r||(r=MQt.reduce((i,s)=>i.replace(s[0],s[1].bind(t)),t),rwe[t]=r),e?new RegExp(r,"i"):new RegExp(r)},kG=t=>typeof t=="string",VQt=t=>t&&kG(t)&&!CQt.test(t)&&!DQt.test(t)&&t.indexOf("#")!==0,UQt=t=>t.split(OQt),IG=class{constructor(e,r,i,s){this.origin=e,this.pattern=r,this.negative=i,this.regex=s}},qQt=(t,e)=>{let r=t,i=!1;t.indexOf("!")===0&&(i=!0,t=t.substr(1)),t=t.replace(NQt,"!").replace(IQt,"#");let s=jQt(t,e);return new IG(r,t,i,s)},$Qt=(t,e)=>{throw new e(t)},Tf=(t,e,r)=>kG(t)?t?Tf.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),awe=t=>kQt.test(t);Tf.isNotRelative=awe;Tf.convert=t=>t;var OG=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:i=!1}={}){LQt(this,twe,!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[twe]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(VQt(e)){let r=qQt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,ZEe(kG(e)?UQt(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&&Tf.convert(e);return Tf(n,e,this._allowRelativePaths?nwe:$Qt),this._t(n,r,i,s)}_t(e,r,i,s){if(e in r)return r[e];if(s||(s=e.split(NG)),s.pop(),!s.length)return r[e]=this._testOne(e,i);let n=this._t(s.join(NG)+NG,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 ZEe(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},$8=t=>new OG(t),KQt=t=>Tf(t&&Tf.convert(t),t,nwe);$8.isPathValid=KQt;$8.default=$8;owe.exports=$8;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,"/");Tf.convert=t;let e=/^[a-z]:\//i;Tf.isNotRelative=r=>e.test(r)||awe(r)}});var cwe=E((EOr,uwe)=>{"use strict";uwe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var gwe=E((wOr,LG)=>{"use strict";var{promisify:WQt}=require("util"),pwe=require("fs"),xf=require("path"),fwe=AG(),GQt=lwe(),Xx=cwe(),dwe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],zQt=WQt(pwe.readFile),HQt=t=>e=>e.startsWith("!")?"!"+xf.posix.join(t,e.slice(1)):xf.posix.join(t,e),YQt=(t,e)=>{let r=Xx(xf.relative(e.cwd,xf.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(i=>!i.startsWith("#")).map(HQt(r))},hwe=t=>{let e=GQt();for(let r of t)e.add(YQt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},JQt=(t,e)=>{if(t=Xx(t),xf.isAbsolute(e)){if(Xx(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return xf.join(t,e)},mwe=(t,e)=>r=>t.ignores(Xx(xf.relative(e,JQt(e,r.path||r)))),XQt=async(t,e)=>{let r=xf.join(e,t),i=await zQt(r,"utf8");return{cwd:e,filePath:r,content:i}},QQt=(t,e)=>{let r=xf.join(e,t),i=pwe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:i}},ywe=({ignore:t=[],cwd:e=Xx(process.cwd())}={})=>({ignore:t,cwd:e});LG.exports=async t=>{t=ywe(t);let e=await fwe("**/.gitignore",{ignore:dwe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(s=>XQt(s,t.cwd))),i=hwe(r);return mwe(i,t.cwd)};LG.exports.sync=t=>{t=ywe(t);let r=fwe.sync("**/.gitignore",{ignore:dwe.concat(t.ignore),cwd:t.cwd}).map(s=>QQt(s,t.cwd)),i=hwe(r);return mwe(i,t.cwd)}});var vwe=E((AOr,bwe)=>{"use strict";var{Transform:ZQt}=require("stream"),K8=class extends ZQt{constructor(){super({objectMode:!0})}},FG=class extends K8{constructor(e){super(),this._filter=e}_transform(e,r,i){this._filter(e)&&this.push(e),i()}},RG=class extends K8{constructor(){super(),this._pushed=new Set}_transform(e,r,i){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),i()}};bwe.exports={FilterStream:FG,UniqueStream:RG}});var Y8=E((POr,X0)=>{"use strict";var Twe=require("fs"),W8=nTe(),eZt=UK(),G8=AG(),z8=QEe(),BG=gwe(),{FilterStream:tZt,UniqueStream:rZt}=vwe(),xwe=()=>!1,Swe=t=>t[0]==="!",iZt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},sZt=(t={})=>{if(!t.cwd)return;let e;try{e=Twe.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},nZt=t=>t.stats instanceof Twe.Stats?t.path:t,H8=(t,e)=>{t=W8([].concat(t)),iZt(t),sZt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[i,s]of t.entries()){if(Swe(s))continue;let n=t.slice(i).filter(o=>Swe(o)).map(o=>o.slice(1)),a={...e,ignore:e.ignore.concat(n)};r.push({pattern:s,options:a})}return r},aZt=(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)},MG=(t,e)=>t.options.expandDirectories?aZt(t,e):[t.pattern],Ewe=t=>t&&t.gitignore?BG.sync({cwd:t.cwd,ignore:t.ignore}):xwe,jG=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=z8.sync(r.ignore)),{pattern:e,options:r}};X0.exports=async(t,e)=>{let r=H8(t,e),i=async()=>e&&e.gitignore?BG({cwd:e.cwd,ignore:e.ignore}):xwe,s=async()=>{let l=await Promise.all(r.map(async u=>{let c=await MG(u,z8);return Promise.all(c.map(jG(u)))}));return W8(...l)},[n,a]=await Promise.all([i(),s()]),o=await Promise.all(a.map(l=>G8(l.pattern,l.options)));return W8(...o).filter(l=>!n(nZt(l)))};X0.exports.sync=(t,e)=>{let r=H8(t,e),i=[];for(let a of r){let o=MG(a,z8.sync).map(jG(a));i.push(...o)}let s=Ewe(e),n=[];for(let a of i)n=W8(n,G8.sync(a.pattern,a.options));return n.filter(a=>!s(a))};X0.exports.stream=(t,e)=>{let r=H8(t,e),i=[];for(let o of r){let l=MG(o,z8.sync).map(jG(o));i.push(...l)}let s=Ewe(e),n=new tZt(o=>!s(o)),a=new rZt;return eZt(i.map(o=>G8.stream(o.pattern,o.options))).pipe(n).pipe(a)};X0.exports.generateGlobTasks=H8;X0.exports.hasMagic=(t,e)=>[].concat(t).some(r=>G8.isDynamicPattern(r,e));X0.exports.gitignore=BG});var Awe=E((_Or,wwe)=>{var oZt=process.platform==="win32";wwe.exports=function(t){var e=t.length-1;if(e<2)return t;for(;lZt(t,e);)e--;return t.substr(0,e+1)};function lZt(t,e){var r=t[e];return e>0&&(r==="/"||oZt&&r==="\\")}});var _we=E((COr,Pwe)=>{var uZt=Awe();Pwe.exports=function(e,r){if(typeof e!="string")throw new TypeError("expected a string");return e=e.replace(/[\\\/]+/g,"/"),r!==!1&&(e=uZt(e)),e}});var J8=E((DOr,Cwe)=>{"use strict";var cZt=_we();Cwe.exports=function(e,r){return e=cZt(e,r),e.replace(/^([a-zA-Z]+:|\.\/)/,"")}});var Ywe=E(($Or,$G)=>{"use strict";var Gwe=require("path"),zwe=require("module"),yZt=require("fs"),Hwe=(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=yZt.realpathSync(t)}catch(n){if(n.code==="ENOENT")t=Gwe.resolve(t);else{if(r)return;throw n}}let i=Gwe.join(t,"noop.js"),s=()=>zwe._resolveFilename(e,{id:i,filename:i,paths:zwe._nodeModulePaths(t)});if(r)try{return s()}catch{return}return s()};$G.exports=(t,e)=>Hwe(t,e);$G.exports.silent=(t,e)=>Hwe(t,e,!0)});var bAe=E((Vkr,gAe)=>{"use strict";var Aer=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=Der(i),this._batchScheduleFn=Ner(i),this._cacheKeyFn=Ier(i),this._cacheMap=Oer(i),this._batch=null,this.name=ker(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=_er(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(!yAe(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}(),Per=typeof process=="object"&&typeof process.nextTick=="function"?function(t){HG||(HG=Promise.resolve()),HG.then(function(){process.nextTick(t)})}:typeof setImmediate=="function"?function(t){setImmediate(t)}:function(t){setTimeout(t)},HG;function _er(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(){Cer(t,r)}),r}function Cer(t,e){if(e.hasDispatched=!0,e.keys.length===0){JG(e);return}var r;try{r=t._batchLoadFn(e.keys)}catch(i){return YG(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 YG(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(!yAe(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,hne.default)({...t[0],onState:e=>{e.aborted&&process.nextTick(()=>{process.exit(0)})}},{...t[1],onSubmit:()=>{console.log()}})};function N1(){return Qn(`${yl}/app/settings/access-tokens`)}function Sp(t,e,r="overview"){return Qn(`${yl}/app/org/${t}/services/${e}/${r}`)}var f3=(0,yne.default)("stellate:client");var gne=process.env.STELLATE_ENDPOINT==="local",bne=process.env.STELLATE_ENDPOINT==="staging",yl=gne?"http://localhost:3000":bne?"https://dev.stellate.co":"https://stellate.co";f3({baseUrl:yl});var vne=gne?"http://localhost:3001/api":bne?"https://api-dev.stellate.co/api":"https://api.stellate.co/api";f3({apiUrl:vne});var bs=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 E2(vne,{method:"POST",body:s,headers:i}),a=await n.text();f3(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(EBe(o.errors[0].message));return f3(o),o.data||{}}};function EBe(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 ${N1()}`:t}var Se=Oe(require("zod"));var wt=Oe(require("zod")),wBe=wt.string().refine(t=>t.match(/^[1-9][0-9]*(s|m|h)$/)),ABe=wt.object({value:wt.number().int().min(1),unit:wt.enum(["seconds","minutes","hours"])}).strict(),Sne=wt.union([wBe,ABe]),JO=wt.object({type:wt.literal("QueryComplexity"),budget:wt.number().int().min(1),warning:wt.number().int().min(1).optional(),window:Sne}).strict(),XO=wt.object({type:wt.literal("RequestCount"),budget:wt.number().int().min(1),warning:wt.number().int().min(1).optional(),window:Sne}).strict(),M2=wt.union([wt.function(),wt.string()]),QO=["enabled","disabled","dryRun"],I1=wt.object({name:wt.string(),description:wt.string().optional(),state:wt.enum(QO).optional(),groupBy:wt.union([wt.literal("ip"),wt.object({header:wt.string()}),wt.object({cookie:wt.string()}),wt.object({jwt:wt.string()}),wt.object({consumerIdentifier:wt.string()})]),allowList:wt.array(wt.string()).optional(),limit:wt.union([JO,XO])}).strict(),ryr=wt.array(I1),iyr=wt.array(wt.union([I1,wt.object({name:wt.string(),description:wt.string().optional(),state:wt.enum(QO).optional(),group:wt.string(),allowList:wt.array(wt.string()).optional(),limit:wt.union([JO,XO])})])),d3=wt.object({name:wt.string(),description:wt.string().optional(),state:wt.enum(QO).optional(),consumerIdentifier:wt.string().optional(),allowList:wt.array(wt.string()).optional(),limit:wt.union([JO,XO])}).strict(),h3=wt.object({listSizeArguments:wt.array(wt.string()).optional(),maxComplexity:wt.number().int().min(1).optional()}).strict();var PBe=Se.object({types:Se.record(Se.boolean().or(Se.record(Se.boolean())).or(Se.array(Se.string()))).or(Se.array(Se.string())).optional().nullable(),operationHashes:Se.array(Se.string()).optional().nullable(),maxAge:Se.number().min(0).optional().nullable(),swr:Se.number().min(0).optional().nullable(),scope:Se.string().nonempty().optional().nullable(),description:Se.string().optional().nullable()}),_Be=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES256k","EdDSA","PS256","PS384","PS512"],j2=Se.object({claim:Se.string().optional().nullable(),algorithm:Se.enum(_Be).optional().nullable(),secret:Se.string().optional().nullable()}).optional().nullable(),wne=Se.function().args(Se.object({headers:Se.record(Se.string().or(Se.array(Se.string()))),cookies:Se.record(Se.string())})).returns(Se.string().nullable()),CBe=Se.object({definition:Se.union([Se.string(),wne]).optional().nullable(),jwt:j2}),DBe=Se.object({autoAdd:Se.boolean().optional().nullable(),defaults:Se.array(Se.string()).optional().nullable(),types:Se.record(Se.array(Se.string())).nullable()}),NBe=Se.object({query:Se.string().optional().nullable(),mutation:Se.string().optional().nullable(),subscription:Se.string().optional().nullable()}),Tne=Se.object({isEnabled:Se.boolean().optional().nullable(),whenGraphQLResponse:Se.boolean().optional().nullable()}),IBe=Se.object({networkErrors:Tne.optional().nullable(),serverErrors:Tne.optional().nullable()}),xne=5,OBe=Se.record(Se.union([Se.object({header:Se.string(),jwt:j2}),Se.object({cookie:Se.string(),jwt:j2})])).refine(t=>Object.keys(t).length<=xne,{message:`You can't define more than ${xne} custom attributes`}),kBe=Se.union([Se.object({header:Se.string(),jwt:j2}),Se.object({cookie:Se.string(),jwt:j2})]),LBe=Se.object({secret:Se.string().optional().nullable()}),FBe=Se.object({name:Se.string()}),RBe=Se.object({apq:Se.boolean().nullable().optional(),sendHashToOrigin:Se.boolean().nullable().optional(),rejectInvalidHashes:Se.boolean().nullable().optional()}),ZO=Se.object({enabled:Se.boolean(),title:Se.string().optional(),readme:Se.string().optional(),description:Se.string().optional(),urls:Se.object({privacy:Se.string().url().optional(),terms:Se.string().url().optional(),website:Se.string().url().optional(),logo:Se.string().url().optional(),favicon:Se.string().url().optional(),support:Se.string().url().or(Se.string().refine(t=>{if(!t.startsWith("mailto:"))return!1;let e=t.slice(7);return Se.string().email().safeParse(e).success})).optional()}).optional(),brandColor:Se.string().optional(),auth:Se.boolean().optional()}),ek=Se.object({enabled:Se.boolean(),experimentalDeferSupport:Se.boolean().optional()}),BBe=Se.object({enabled:Se.boolean()}),MBe=Se.object({enabled:Se.boolean(),title:Se.string().optional()}),Ene=Se.string().max(60).regex(/^(?!-)[a-z0-9-]*[a-z0-9]$/i).transform(t=>t.toLowerCase()),jBe=Se.object({requestSize:Se.object({maxBytes:Se.number(),enabled:Se.boolean()}).nullable().optional(),directives:Se.object({max:Se.number(),enabled:Se.boolean()}).nullable().optional(),depth:Se.object({max:Se.number(),enabled:Se.boolean()}).nullable().optional(),aliases:Se.object({max:Se.number(),enabled:Se.boolean()}).nullable().optional(),suggestionsInErrors:Se.object({mode:Se.enum(["mask"]),enabled:Se.boolean()}).nullable().optional()}),VBe=Se.object({app:Ene.optional(),name:Ene.optional(),originUrl:Se.string().url().optional(),httpVersion:Se.enum(["1.1","2","3"]).optional().nullable(),schema:Se.string().optional().nullable(),schemaPolling:BBe.optional().nullable(),cacheIntrospection:Se.boolean().optional().nullable(),injectHeaders:Se.boolean().optional().nullable(),devPortal:ZO.optional().nullable(),partialQueryCaching:ek.optional().nullable(),ignoreOriginCacheControl:Se.boolean().optional().nullable(),queryDepthLimit:Se.number().int().min(0).max(1e3).optional().nullable(),passThroughOnly:Se.boolean().optional().nullable(),mutationPolicy:Se.enum(["Type","List","Entity"]).optional().nullable(),bypassCacheHeaders:Se.array(FBe).optional().nullable(),enablePlayground:Se.boolean().optional().nullable(),headers:Se.record(Se.string().nonempty()).optional().nullable(),scopes:Se.record(Se.string().or(wne).or(CBe)).optional().nullable(),rootTypeNames:NBe.optional().nullable(),keyFields:DBe.optional().nullable(),rules:Se.array(PBe).optional().nullable(),nonCacheable:Se.array(Se.string()).optional().nullable(),retries:IBe.optional().nullable(),customAttributes:OBe.optional().nullable(),userId:kBe.optional().nullable(),graphiql:MBe.optional().nullable(),persistedOperations:RBe.optional().nullable(),requestSigning:LBe.optional().nullable(),getConsumerIdentifiers:M2.optional().nullable(),rateLimit:d3.optional().nullable(),rateLimits:Se.union([Se.array(I1),M2]).optional().nullable(),complexity:h3.optional().nullable(),schemaView:Se.object({include:Se.array(Se.string()),exclude:Se.array(Se.string())}).optional().nullable(),security:jBe.optional().nullable(),removeCookies:Se.array(Se.string()).optional().nullable(),variableLogging:Se.object({enabled:Se.boolean()}).optional().nullable()}),Ane={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},O1=t=>{try{return VBe.parse(t)}catch(e){throw e instanceof Se.ZodError?new Error(e.errors.map(r=>`${r.path.length>0?`${r.path.join(".")}: `:""}${r.message}`).join(`
522
+ You can get a new api token at ${N1()}`:t}var ve=Oe(require("zod"));var wt=Oe(require("zod")),wBe=wt.string().refine(t=>t.match(/^[1-9][0-9]*(s|m|h)$/)),ABe=wt.object({value:wt.number().int().min(1),unit:wt.enum(["seconds","minutes","hours"])}).strict(),Sne=wt.union([wBe,ABe]),JO=wt.object({type:wt.literal("QueryComplexity"),budget:wt.number().int().min(1),warning:wt.number().int().min(1).optional(),window:Sne}).strict(),XO=wt.object({type:wt.literal("RequestCount"),budget:wt.number().int().min(1),warning:wt.number().int().min(1).optional(),window:Sne}).strict(),M2=wt.union([wt.function(),wt.string()]),QO=["enabled","disabled","dryRun"],I1=wt.object({name:wt.string(),description:wt.string().optional(),state:wt.enum(QO).optional(),groupBy:wt.union([wt.literal("ip"),wt.object({header:wt.string()}),wt.object({cookie:wt.string()}),wt.object({jwt:wt.string()}),wt.object({consumerIdentifier:wt.string()})]),allowList:wt.array(wt.string()).optional(),limit:wt.union([JO,XO])}).strict(),ryr=wt.array(I1),iyr=wt.array(wt.union([I1,wt.object({name:wt.string(),description:wt.string().optional(),state:wt.enum(QO).optional(),group:wt.string(),allowList:wt.array(wt.string()).optional(),limit:wt.union([JO,XO])})])),d3=wt.object({name:wt.string(),description:wt.string().optional(),state:wt.enum(QO).optional(),consumerIdentifier:wt.string().optional(),allowList:wt.array(wt.string()).optional(),limit:wt.union([JO,XO])}).strict(),h3=wt.object({listSizeArguments:wt.array(wt.string()).optional(),maxComplexity:wt.number().int().min(1).optional()}).strict();var PBe=ve.object({types:ve.record(ve.boolean().or(ve.record(ve.boolean())).or(ve.array(ve.string()))).or(ve.array(ve.string())).optional().nullable(),operationHashes:ve.array(ve.string()).optional().nullable(),maxAge:ve.number().min(0).optional().nullable(),swr:ve.number().min(0).optional().nullable(),scope:ve.string().nonempty().optional().nullable(),description:ve.string().optional().nullable()}),_Be=["HS256","HS384","HS512","RS256","RS384","RS512","ES256","ES384","ES256k","EdDSA","PS256","PS384","PS512"],j2=ve.object({claim:ve.string().optional().nullable(),algorithm:ve.enum(_Be).optional().nullable(),secret:ve.string().optional().nullable()}).optional().nullable(),wne=ve.function().args(ve.object({headers:ve.record(ve.string().or(ve.array(ve.string()))),cookies:ve.record(ve.string())})).returns(ve.string().nullable()),CBe=ve.object({definition:ve.union([ve.string(),wne]).optional().nullable(),jwt:j2}),DBe=ve.object({autoAdd:ve.boolean().optional().nullable(),defaults:ve.array(ve.string()).optional().nullable(),types:ve.record(ve.array(ve.string())).nullable()}),NBe=ve.object({query:ve.string().optional().nullable(),mutation:ve.string().optional().nullable(),subscription:ve.string().optional().nullable()}),Tne=ve.object({isEnabled:ve.boolean().optional().nullable(),whenGraphQLResponse:ve.boolean().optional().nullable()}),IBe=ve.object({networkErrors:Tne.optional().nullable(),serverErrors:Tne.optional().nullable()}),xne=5,OBe=ve.record(ve.union([ve.object({header:ve.string(),jwt:j2}),ve.object({cookie:ve.string(),jwt:j2})])).refine(t=>Object.keys(t).length<=xne,{message:`You can't define more than ${xne} custom attributes`}),kBe=ve.union([ve.object({header:ve.string(),jwt:j2}),ve.object({cookie:ve.string(),jwt:j2})]),LBe=ve.object({secret:ve.string().optional().nullable()}),FBe=ve.object({name:ve.string()}),RBe=ve.object({apq:ve.boolean().nullable().optional(),sendHashToOrigin:ve.boolean().nullable().optional(),rejectInvalidHashes:ve.boolean().nullable().optional()}),ZO=ve.object({enabled:ve.boolean(),title:ve.string().optional(),readme:ve.string().optional(),description:ve.string().optional(),urls:ve.object({privacy:ve.string().url().optional(),terms:ve.string().url().optional(),website:ve.string().url().optional(),logo:ve.string().url().optional(),favicon:ve.string().url().optional(),support:ve.string().url().or(ve.string().refine(t=>{if(!t.startsWith("mailto:"))return!1;let e=t.slice(7);return ve.string().email().safeParse(e).success})).optional()}).optional(),brandColor:ve.string().optional(),auth:ve.boolean().optional()}),ek=ve.object({enabled:ve.boolean(),experimentalDeferSupport:ve.boolean().optional()}),BBe=ve.object({enabled:ve.boolean()}),MBe=ve.object({enabled:ve.boolean(),title:ve.string().optional()}),Ene=ve.string().max(60).regex(/^(?!-)[a-z0-9-]*[a-z0-9]$/i).transform(t=>t.toLowerCase()),jBe=ve.object({requestSize:ve.object({maxBytes:ve.number(),enabled:ve.boolean()}).nullable().optional(),directives:ve.object({max:ve.number(),enabled:ve.boolean()}).nullable().optional(),depth:ve.object({max:ve.number(),enabled:ve.boolean()}).nullable().optional(),aliases:ve.object({max:ve.number(),enabled:ve.boolean()}).nullable().optional(),suggestionsInErrors:ve.object({mode:ve.enum(["mask"]),enabled:ve.boolean()}).nullable().optional()}),VBe=ve.object({app:Ene.optional(),name:Ene.optional(),originUrl:ve.string().url().optional(),httpVersion:ve.enum(["1.1","2","3"]).optional().nullable(),schema:ve.string().optional().nullable(),schemaPolling:BBe.optional().nullable(),cacheIntrospection:ve.boolean().optional().nullable(),blockIntrospection:ve.boolean().optional().nullable(),injectHeaders:ve.boolean().optional().nullable(),devPortal:ZO.optional().nullable(),partialQueryCaching:ek.optional().nullable(),ignoreOriginCacheControl:ve.boolean().optional().nullable(),queryDepthLimit:ve.number().int().min(0).max(1e3).optional().nullable(),passThroughOnly:ve.boolean().optional().nullable(),mutationPolicy:ve.enum(["Type","List","Entity"]).optional().nullable(),bypassCacheHeaders:ve.array(FBe).optional().nullable(),enablePlayground:ve.boolean().optional().nullable(),headers:ve.record(ve.string().nonempty()).optional().nullable(),scopes:ve.record(ve.string().or(wne).or(CBe)).optional().nullable(),rootTypeNames:NBe.optional().nullable(),keyFields:DBe.optional().nullable(),rules:ve.array(PBe).optional().nullable(),nonCacheable:ve.array(ve.string()).optional().nullable(),retries:IBe.optional().nullable(),customAttributes:OBe.optional().nullable(),userId:kBe.optional().nullable(),graphiql:MBe.optional().nullable(),persistedOperations:RBe.optional().nullable(),requestSigning:LBe.optional().nullable(),getConsumerIdentifiers:M2.optional().nullable(),rateLimit:d3.optional().nullable(),rateLimits:ve.union([ve.array(I1),M2]).optional().nullable(),complexity:h3.optional().nullable(),schemaView:ve.object({include:ve.array(ve.string()),exclude:ve.array(ve.string())}).optional().nullable(),security:jBe.optional().nullable(),removeCookies:ve.array(ve.string()).optional().nullable(),variableLogging:ve.object({enabled:ve.boolean()}).optional().nullable()}),Ane={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},O1=t=>{try{return VBe.parse(t)}catch(e){throw e instanceof ve.ZodError?new Error(e.errors.map(r=>`${r.path.length>0?`${r.path.join(".")}: `:""}${r.message}`).join(`
523
523
  - `),{cause:e}):e}};var Em=Object.freeze({major:16,minor:8,patch:1,preReleaseTag:null});function cr(t,e){if(!!!t)throw new Error(e)}function fo(t){return typeof(t==null?void 0:t.then)=="function"}function Us(t){return typeof t=="object"&&t!==null}function Ui(t,e){if(!!!t)throw new Error(e!=null?e:"Unexpected invariant triggered.")}var UBe=/\r\n|[\n\r]/g;function k1(t,e){let r=0,i=1;for(let s of t.body.matchAll(UBe)){if(typeof s.index=="number"||Ui(!1),s.index>=e)break;r=s.index+s[0].length,i+=1}return{line:i,column:e+1-r}}function tk(t){return m3(t.source,k1(t.source,t.start))}function m3(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+Pne([[`${a} |`,h[0]],...h.slice(1,d+1).map(m=>["|",m]),["|","^".padStart(f)],["|",h[d+1]]])}return u+Pne([[`${a-1} |`,c[s-1]],[`${a} |`,p],["|","^".padStart(l)],[`${a+1} |`,c[s+1]]])}function Pne(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 qBe(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 ce=class extends Error{constructor(e,...r){var i,s,n;let{nodes:a,source:o,positions:l,path:u,originalError:c,extensions:p}=qBe(r);super(e),this.name="GraphQLError",this.path=u!=null?u:void 0,this.originalError=c!=null?c:void 0,this.nodes=_ne(Array.isArray(a)?a:a?[a]:void 0);let d=_ne((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=>k1(o,h)):d==null?void 0:d.map(h=>k1(h.source,h.start));let f=Us(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,ce):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+=`
@@ -679,7 +679,7 @@ In some cases, you need to provide options to alter GraphQL's execution behavior
679
679
  }
680
680
  }
681
681
  }
682
- `}function Y1(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 l6(t,e){let r={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...e},i=Ss(H1(r)),s=o6({schema:t,document:i});return!s.errors&&s.data||Ui(!1),s.data}function Pp(t,e){Us(t)&&Us(t.__schema)||cr(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${Ce(t)}.`);let r=t.__schema,i=gl(r.types,F=>F.name,F=>d(F));for(let F of[...Wo,...Ap])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 ua({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===Bi.LIST){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");return new Vr(l(Q))}if(F.kind===Bi.NON_NULL){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");let X=l(Q);return new St(O3(X))}return u(F)}function u(F){let Q=F.name;if(!Q)throw new Error(`Unknown type reference: ${Ce(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 D3(u(F))}function p(F){return N3(u(F))}function d(F){if(F!=null&&F.name!=null&&F.kind!=null)switch(F.kind){case Bi.SCALAR:return f(F);case Bi.OBJECT:return m(F);case Bi.INTERFACE:return g(F);case Bi.UNION:return b(F);case Bi.ENUM:return S(F);case Bi.INPUT_OBJECT:return x(F)}let Q=Ce(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 us({name:F.name,description:F.description,specifiedByURL:F.specifiedByURL})}function h(F){if(F.interfaces===null&&F.kind===Bi.INTERFACE)return[];if(!F.interfaces){let Q=Ce(F);throw new Error(`Introspection result missing interfaces: ${Q}.`)}return F.interfaces.map(p)}function m(F){return new Ur({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function g(F){return new Ri({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function b(F){if(!F.possibleTypes){let Q=Ce(F);throw new Error(`Introspection result missing possibleTypes: ${Q}.`)}return new hn({name:F.name,description:F.description,types:()=>F.possibleTypes.map(c)})}function S(F){if(!F.enumValues){let Q=Ce(F);throw new Error(`Introspection result missing enumValues: ${Q}.`)}return new qi({name:F.name,description:F.description,values:gl(F.enumValues,Q=>Q.name,Q=>({description:Q.description,deprecationReason:Q.deprecationReason}))})}function x(F){if(!F.inputFields){let Q=Ce(F);throw new Error(`Introspection result missing inputFields: ${Q}.`)}return new Ji({name:F.name,description:F.description,fields:()=>A(F.inputFields)})}function v(F){if(!F.fields)throw new Error(`Introspection result missing fields: ${Ce(F)}.`);return gl(F.fields,Q=>Q.name,w)}function w(F){let Q=l(F.type);if(!pu(Q)){let X=Ce(Q);throw new Error(`Introspection must provide output type for fields, but received: ${X}.`)}if(!F.args){let X=Ce(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 gl(F,Q=>Q.name,C)}function C(F){let Q=l(F.type);if(!tn(Q)){let xe=Ce(Q);throw new Error(`Introspection must provide input type for arguments, but received: ${xe}.`)}let X=F.defaultValue!=null?mn(A3(F.defaultValue),Q):void 0;return{description:F.description,type:Q,defaultValue:X,deprecationReason:F.deprecationReason}}function K(F){if(!F.args){let Q=Ce(F);throw new Error(`Introspection result missing directive args: ${Q}.`)}if(!F.locations){let Q=Ce(F);throw new Error(`Introspection result missing directive locations: ${Q}.`)}return new Ds({name:F.name,description:F.description,isRepeatable:F.isRepeatable,locations:F.locations.slice(),args:A(F.args)})}}function cae(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(bu(Z))o.push(Z);else if(km(Z)){let Te=Z.name.value,we=l[Te];l[Te]=we?we.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]=S(Z);for(let Z of o){var f;let Te=Z.name.value;d[Te]=(f=lae[Te])!==null&&f!==void 0?f:Me(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(ze)],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 Qt(Z)?new Vr(m(Z.ofType)):lt(Z)?new St(m(Z.ofType)):g(Z)}function g(Z){return d[Z.name]}function b(Z){let Te=Z.toConfig();return new Ds({...Te,args:uu(Te.args,Q)})}function S(Z){if(vl(Z)||Cn(Z))return Z;if(zr(Z))return w(Z);if(Ge(Z))return A(Z);if(rt(Z))return C(Z);if(or(Z))return K(Z);if(lr(Z))return v(Z);if(Rt(Z))return x(Z);Ui(!1,"Unexpected type: "+Ce(Z))}function x(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new Ji({...we,fields:()=>({...uu(we.fields,Ve=>({...Ve,type:m(Ve.type)})),...Ne(Ae)}),extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function v(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[Z.name])!==null&&Te!==void 0?Te:[];return new qi({...we,values:{...we.values,...Ue(Ae)},extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function w(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[],Ve=we.specifiedByURL;for(let pe of Ae){var ye;Ve=(ye=uae(pe))!==null&&ye!==void 0?ye:Ve}return new us({...we,specifiedByURL:Ve,extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function A(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new Ur({...we,interfaces:()=>[...Z.getInterfaces().map(g),...xt(Ae)],fields:()=>({...uu(we.fields,F),...ae(Ae)}),extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function C(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new Ri({...we,interfaces:()=>[...Z.getInterfaces().map(g),...xt(Ae)],fields:()=>({...uu(we.fields,F),...ae(Ae)}),extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function K(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new hn({...we,types:()=>[...Z.getTypes().map(g),...ue(Ae)],extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function F(Z){return{...Z,type:m(Z.type),args:Z.args&&uu(Z.args,Q)}}function Q(Z){return{...Z,type:m(Z.type)}}function X(Z){let Te={};for(let Ae of Z){var we;let Ve=(we=Ae.operationTypes)!==null&&we!==void 0?we:[];for(let ye of Ve)Te[ye.operation]=xe(ye.type)}return Te}function xe(Z){var Te;let we=Z.name.value,Ae=(Te=lae[we])!==null&&Te!==void 0?Te:d[we];if(Ae===void 0)throw new Error(`Unknown type: "${we}".`);return Ae}function We(Z){return Z.kind===P.LIST_TYPE?new Vr(We(Z.type)):Z.kind===P.NON_NULL_TYPE?new St(We(Z.type)):xe(Z)}function ze(Z){var Te;return new Ds({name:Z.name.value,description:(Te=Z.description)===null||Te===void 0?void 0:Te.value,locations:Z.locations.map(({value:we})=>we),isRepeatable:Z.repeatable,args:ne(Z.arguments),astNode:Z})}function ae(Z){let Te=Object.create(null);for(let Ve of Z){var we;let ye=(we=Ve.fields)!==null&&we!==void 0?we:[];for(let pe of ye){var Ae;Te[pe.name.value]={type:We(pe.type),description:(Ae=pe.description)===null||Ae===void 0?void 0:Ae.value,args:ne(pe.arguments),deprecationReason:u6(pe),astNode:pe}}}return Te}function ne(Z){let Te=Z!=null?Z:[],we=Object.create(null);for(let Ve of Te){var Ae;let ye=We(Ve.type);we[Ve.name.value]={type:ye,description:(Ae=Ve.description)===null||Ae===void 0?void 0:Ae.value,defaultValue:mn(Ve.defaultValue,ye),deprecationReason:u6(Ve),astNode:Ve}}return we}function Ne(Z){let Te=Object.create(null);for(let Ve of Z){var we;let ye=(we=Ve.fields)!==null&&we!==void 0?we:[];for(let pe of ye){var Ae;let le=We(pe.type);Te[pe.name.value]={type:le,description:(Ae=pe.description)===null||Ae===void 0?void 0:Ae.value,defaultValue:mn(pe.defaultValue,le),deprecationReason:u6(pe),astNode:pe}}}return Te}function Ue(Z){let Te=Object.create(null);for(let Ve of Z){var we;let ye=(we=Ve.values)!==null&&we!==void 0?we:[];for(let pe of ye){var Ae;Te[pe.name.value]={description:(Ae=pe.description)===null||Ae===void 0?void 0:Ae.value,deprecationReason:u6(pe),astNode:pe}}}return Te}function xt(Z){return Z.flatMap(Te=>{var we,Ae;return(we=(Ae=Te.interfaces)===null||Ae===void 0?void 0:Ae.map(xe))!==null&&we!==void 0?we:[]})}function ue(Z){return Z.flatMap(Te=>{var we,Ae;return(we=(Ae=Te.types)===null||Ae===void 0?void 0:Ae.map(xe))!==null&&we!==void 0?we:[]})}function Me(Z){var Te;let we=Z.name.value,Ae=(Te=l[we])!==null&&Te!==void 0?Te:[];switch(Z.kind){case P.OBJECT_TYPE_DEFINITION:{var Ve;let De=[Z,...Ae];return new Ur({name:we,description:(Ve=Z.description)===null||Ve===void 0?void 0:Ve.value,interfaces:()=>xt(De),fields:()=>ae(De),astNode:Z,extensionASTNodes:Ae})}case P.INTERFACE_TYPE_DEFINITION:{var ye;let De=[Z,...Ae];return new Ri({name:we,description:(ye=Z.description)===null||ye===void 0?void 0:ye.value,interfaces:()=>xt(De),fields:()=>ae(De),astNode:Z,extensionASTNodes:Ae})}case P.ENUM_TYPE_DEFINITION:{var pe;let De=[Z,...Ae];return new qi({name:we,description:(pe=Z.description)===null||pe===void 0?void 0:pe.value,values:Ue(De),astNode:Z,extensionASTNodes:Ae})}case P.UNION_TYPE_DEFINITION:{var le;let De=[Z,...Ae];return new hn({name:we,description:(le=Z.description)===null||le===void 0?void 0:le.value,types:()=>ue(De),astNode:Z,extensionASTNodes:Ae})}case P.SCALAR_TYPE_DEFINITION:{var Be;return new us({name:we,description:(Be=Z.description)===null||Be===void 0?void 0:Be.value,specifiedByURL:uae(Z),astNode:Z,extensionASTNodes:Ae})}case P.INPUT_OBJECT_TYPE_DEFINITION:{var ve;let De=[Z,...Ae];return new Ji({name:we,description:(ve=Z.description)===null||ve===void 0?void 0:ve.value,fields:()=>Ne(De),astNode:Z,extensionASTNodes:Ae})}}}}var lae=Ko([...Wo,...Ap],t=>t.name);function u6(t){let e=bo(wp,t);return e==null?void 0:e.reason}function uae(t){let e=bo(X2,t);return e==null?void 0:e.url}function vd(t,e){t!=null&&t.kind===P.DOCUMENT||cr(!1,"Must provide valid Document AST."),(e==null?void 0:e.assumeValid)!==!0&&(e==null?void 0:e.assumeValidSDL)!==!0&&tae(t);let i=cae({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,...Ia.filter(n=>i.directives.every(a=>a.name!==n.name))];return new ua({...i,directives:s})}function Rm(t,e){let r=Ss(t,{noLocation:e==null?void 0:e.noLocation,allowLegacyFragmentVariables:e==null?void 0:e.allowLegacyFragmentVariables});return vd(r,{assumeValidSDL:e==null?void 0:e.assumeValidSDL,assumeValid:e==null?void 0:e.assumeValid})}function aS(t){let e=t.toConfig(),r=gl(tL(e.types),d=>d.name,p);return new ua({...e,types:Object.values(r),directives:tL(e.directives).map(a),query:n(e.query),mutation:n(e.mutation),subscription:n(e.subscription)});function i(d){return Qt(d)?new Vr(i(d.ofType)):lt(d)?new St(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 Ds({...f,locations:pae(f.locations,h=>h),args:o(f.args)})}function o(d){return c6(d,f=>({...f,type:i(f.type)}))}function l(d){return c6(d,f=>({...f,type:i(f.type),args:f.args&&o(f.args)}))}function u(d){return c6(d,f=>({...f,type:i(f.type)}))}function c(d){return tL(d).map(s)}function p(d){if(zr(d)||vl(d))return d;if(Ge(d)){let f=d.toConfig();return new Ur({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(rt(d)){let f=d.toConfig();return new Ri({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(or(d)){let f=d.toConfig();return new hn({...f,types:()=>c(f.types)})}if(lr(d)){let f=d.toConfig();return new qi({...f,values:c6(f.values,h=>h)})}if(Rt(d)){let f=d.toConfig();return new Ji({...f,fields:()=>u(f.fields)})}Ui(!1,"Unexpected type: "+Ce(d))}}function c6(t,e){let r=Object.create(null);for(let i of Object.keys(t).sort(Tp))r[i]=e(t[i]);return r}function tL(t){return pae(t,e=>e.name)}function pae(t,e){return t.slice().sort((r,i)=>{let s=e(r),n=e(i);return Tp(s,n)})}function oS(t){return Cje(t,e=>!dc(e),_je)}function _je(t){return!Cn(t)&&!vl(t)}function Cje(t,e,r){let i=t.getDirectives().filter(e),s=Object.values(t.getTypeMap()).filter(r);return[Dje(t),...i.map(n=>Bje(n)),...s.map(n=>iL(n))].filter(Boolean).join(`
682
+ `}function Y1(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 l6(t,e){let r={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...e},i=Ss(H1(r)),s=o6({schema:t,document:i});return!s.errors&&s.data||Ui(!1),s.data}function Pp(t,e){Us(t)&&Us(t.__schema)||cr(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${Ce(t)}.`);let r=t.__schema,i=gl(r.types,F=>F.name,F=>d(F));for(let F of[...Wo,...Ap])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 ua({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===Bi.LIST){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");return new Vr(l(Q))}if(F.kind===Bi.NON_NULL){let Q=F.ofType;if(!Q)throw new Error("Decorated type deeper than introspection query.");let X=l(Q);return new St(O3(X))}return u(F)}function u(F){let Q=F.name;if(!Q)throw new Error(`Unknown type reference: ${Ce(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 D3(u(F))}function p(F){return N3(u(F))}function d(F){if(F!=null&&F.name!=null&&F.kind!=null)switch(F.kind){case Bi.SCALAR:return f(F);case Bi.OBJECT:return m(F);case Bi.INTERFACE:return g(F);case Bi.UNION:return b(F);case Bi.ENUM:return S(F);case Bi.INPUT_OBJECT:return x(F)}let Q=Ce(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 us({name:F.name,description:F.description,specifiedByURL:F.specifiedByURL})}function h(F){if(F.interfaces===null&&F.kind===Bi.INTERFACE)return[];if(!F.interfaces){let Q=Ce(F);throw new Error(`Introspection result missing interfaces: ${Q}.`)}return F.interfaces.map(p)}function m(F){return new Ur({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function g(F){return new Ri({name:F.name,description:F.description,interfaces:()=>h(F),fields:()=>v(F)})}function b(F){if(!F.possibleTypes){let Q=Ce(F);throw new Error(`Introspection result missing possibleTypes: ${Q}.`)}return new hn({name:F.name,description:F.description,types:()=>F.possibleTypes.map(c)})}function S(F){if(!F.enumValues){let Q=Ce(F);throw new Error(`Introspection result missing enumValues: ${Q}.`)}return new qi({name:F.name,description:F.description,values:gl(F.enumValues,Q=>Q.name,Q=>({description:Q.description,deprecationReason:Q.deprecationReason}))})}function x(F){if(!F.inputFields){let Q=Ce(F);throw new Error(`Introspection result missing inputFields: ${Q}.`)}return new Ji({name:F.name,description:F.description,fields:()=>A(F.inputFields)})}function v(F){if(!F.fields)throw new Error(`Introspection result missing fields: ${Ce(F)}.`);return gl(F.fields,Q=>Q.name,w)}function w(F){let Q=l(F.type);if(!pu(Q)){let X=Ce(Q);throw new Error(`Introspection must provide output type for fields, but received: ${X}.`)}if(!F.args){let X=Ce(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 gl(F,Q=>Q.name,C)}function C(F){let Q=l(F.type);if(!tn(Q)){let xe=Ce(Q);throw new Error(`Introspection must provide input type for arguments, but received: ${xe}.`)}let X=F.defaultValue!=null?mn(A3(F.defaultValue),Q):void 0;return{description:F.description,type:Q,defaultValue:X,deprecationReason:F.deprecationReason}}function K(F){if(!F.args){let Q=Ce(F);throw new Error(`Introspection result missing directive args: ${Q}.`)}if(!F.locations){let Q=Ce(F);throw new Error(`Introspection result missing directive locations: ${Q}.`)}return new Ds({name:F.name,description:F.description,isRepeatable:F.isRepeatable,locations:F.locations.slice(),args:A(F.args)})}}function cae(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(bu(Z))o.push(Z);else if(km(Z)){let Te=Z.name.value,we=l[Te];l[Te]=we?we.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]=S(Z);for(let Z of o){var f;let Te=Z.name.value;d[Te]=(f=lae[Te])!==null&&f!==void 0?f:Me(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(ze)],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 Qt(Z)?new Vr(m(Z.ofType)):lt(Z)?new St(m(Z.ofType)):g(Z)}function g(Z){return d[Z.name]}function b(Z){let Te=Z.toConfig();return new Ds({...Te,args:uu(Te.args,Q)})}function S(Z){if(vl(Z)||Cn(Z))return Z;if(zr(Z))return w(Z);if(Ge(Z))return A(Z);if(rt(Z))return C(Z);if(or(Z))return K(Z);if(lr(Z))return v(Z);if(Rt(Z))return x(Z);Ui(!1,"Unexpected type: "+Ce(Z))}function x(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new Ji({...we,fields:()=>({...uu(we.fields,Ve=>({...Ve,type:m(Ve.type)})),...Ne(Ae)}),extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function v(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[Z.name])!==null&&Te!==void 0?Te:[];return new qi({...we,values:{...we.values,...Ue(Ae)},extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function w(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[],Ve=we.specifiedByURL;for(let pe of Ae){var ye;Ve=(ye=uae(pe))!==null&&ye!==void 0?ye:Ve}return new us({...we,specifiedByURL:Ve,extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function A(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new Ur({...we,interfaces:()=>[...Z.getInterfaces().map(g),...xt(Ae)],fields:()=>({...uu(we.fields,F),...ae(Ae)}),extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function C(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new Ri({...we,interfaces:()=>[...Z.getInterfaces().map(g),...xt(Ae)],fields:()=>({...uu(we.fields,F),...ae(Ae)}),extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function K(Z){var Te;let we=Z.toConfig(),Ae=(Te=l[we.name])!==null&&Te!==void 0?Te:[];return new hn({...we,types:()=>[...Z.getTypes().map(g),...ue(Ae)],extensionASTNodes:we.extensionASTNodes.concat(Ae)})}function F(Z){return{...Z,type:m(Z.type),args:Z.args&&uu(Z.args,Q)}}function Q(Z){return{...Z,type:m(Z.type)}}function X(Z){let Te={};for(let Ae of Z){var we;let Ve=(we=Ae.operationTypes)!==null&&we!==void 0?we:[];for(let ye of Ve)Te[ye.operation]=xe(ye.type)}return Te}function xe(Z){var Te;let we=Z.name.value,Ae=(Te=lae[we])!==null&&Te!==void 0?Te:d[we];if(Ae===void 0)throw new Error(`Unknown type: "${we}".`);return Ae}function We(Z){return Z.kind===P.LIST_TYPE?new Vr(We(Z.type)):Z.kind===P.NON_NULL_TYPE?new St(We(Z.type)):xe(Z)}function ze(Z){var Te;return new Ds({name:Z.name.value,description:(Te=Z.description)===null||Te===void 0?void 0:Te.value,locations:Z.locations.map(({value:we})=>we),isRepeatable:Z.repeatable,args:ne(Z.arguments),astNode:Z})}function ae(Z){let Te=Object.create(null);for(let Ve of Z){var we;let ye=(we=Ve.fields)!==null&&we!==void 0?we:[];for(let pe of ye){var Ae;Te[pe.name.value]={type:We(pe.type),description:(Ae=pe.description)===null||Ae===void 0?void 0:Ae.value,args:ne(pe.arguments),deprecationReason:u6(pe),astNode:pe}}}return Te}function ne(Z){let Te=Z!=null?Z:[],we=Object.create(null);for(let Ve of Te){var Ae;let ye=We(Ve.type);we[Ve.name.value]={type:ye,description:(Ae=Ve.description)===null||Ae===void 0?void 0:Ae.value,defaultValue:mn(Ve.defaultValue,ye),deprecationReason:u6(Ve),astNode:Ve}}return we}function Ne(Z){let Te=Object.create(null);for(let Ve of Z){var we;let ye=(we=Ve.fields)!==null&&we!==void 0?we:[];for(let pe of ye){var Ae;let le=We(pe.type);Te[pe.name.value]={type:le,description:(Ae=pe.description)===null||Ae===void 0?void 0:Ae.value,defaultValue:mn(pe.defaultValue,le),deprecationReason:u6(pe),astNode:pe}}}return Te}function Ue(Z){let Te=Object.create(null);for(let Ve of Z){var we;let ye=(we=Ve.values)!==null&&we!==void 0?we:[];for(let pe of ye){var Ae;Te[pe.name.value]={description:(Ae=pe.description)===null||Ae===void 0?void 0:Ae.value,deprecationReason:u6(pe),astNode:pe}}}return Te}function xt(Z){return Z.flatMap(Te=>{var we,Ae;return(we=(Ae=Te.interfaces)===null||Ae===void 0?void 0:Ae.map(xe))!==null&&we!==void 0?we:[]})}function ue(Z){return Z.flatMap(Te=>{var we,Ae;return(we=(Ae=Te.types)===null||Ae===void 0?void 0:Ae.map(xe))!==null&&we!==void 0?we:[]})}function Me(Z){var Te;let we=Z.name.value,Ae=(Te=l[we])!==null&&Te!==void 0?Te:[];switch(Z.kind){case P.OBJECT_TYPE_DEFINITION:{var Ve;let De=[Z,...Ae];return new Ur({name:we,description:(Ve=Z.description)===null||Ve===void 0?void 0:Ve.value,interfaces:()=>xt(De),fields:()=>ae(De),astNode:Z,extensionASTNodes:Ae})}case P.INTERFACE_TYPE_DEFINITION:{var ye;let De=[Z,...Ae];return new Ri({name:we,description:(ye=Z.description)===null||ye===void 0?void 0:ye.value,interfaces:()=>xt(De),fields:()=>ae(De),astNode:Z,extensionASTNodes:Ae})}case P.ENUM_TYPE_DEFINITION:{var pe;let De=[Z,...Ae];return new qi({name:we,description:(pe=Z.description)===null||pe===void 0?void 0:pe.value,values:Ue(De),astNode:Z,extensionASTNodes:Ae})}case P.UNION_TYPE_DEFINITION:{var le;let De=[Z,...Ae];return new hn({name:we,description:(le=Z.description)===null||le===void 0?void 0:le.value,types:()=>ue(De),astNode:Z,extensionASTNodes:Ae})}case P.SCALAR_TYPE_DEFINITION:{var Be;return new us({name:we,description:(Be=Z.description)===null||Be===void 0?void 0:Be.value,specifiedByURL:uae(Z),astNode:Z,extensionASTNodes:Ae})}case P.INPUT_OBJECT_TYPE_DEFINITION:{var Se;let De=[Z,...Ae];return new Ji({name:we,description:(Se=Z.description)===null||Se===void 0?void 0:Se.value,fields:()=>Ne(De),astNode:Z,extensionASTNodes:Ae})}}}}var lae=Ko([...Wo,...Ap],t=>t.name);function u6(t){let e=bo(wp,t);return e==null?void 0:e.reason}function uae(t){let e=bo(X2,t);return e==null?void 0:e.url}function vd(t,e){t!=null&&t.kind===P.DOCUMENT||cr(!1,"Must provide valid Document AST."),(e==null?void 0:e.assumeValid)!==!0&&(e==null?void 0:e.assumeValidSDL)!==!0&&tae(t);let i=cae({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,...Ia.filter(n=>i.directives.every(a=>a.name!==n.name))];return new ua({...i,directives:s})}function Rm(t,e){let r=Ss(t,{noLocation:e==null?void 0:e.noLocation,allowLegacyFragmentVariables:e==null?void 0:e.allowLegacyFragmentVariables});return vd(r,{assumeValidSDL:e==null?void 0:e.assumeValidSDL,assumeValid:e==null?void 0:e.assumeValid})}function aS(t){let e=t.toConfig(),r=gl(tL(e.types),d=>d.name,p);return new ua({...e,types:Object.values(r),directives:tL(e.directives).map(a),query:n(e.query),mutation:n(e.mutation),subscription:n(e.subscription)});function i(d){return Qt(d)?new Vr(i(d.ofType)):lt(d)?new St(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 Ds({...f,locations:pae(f.locations,h=>h),args:o(f.args)})}function o(d){return c6(d,f=>({...f,type:i(f.type)}))}function l(d){return c6(d,f=>({...f,type:i(f.type),args:f.args&&o(f.args)}))}function u(d){return c6(d,f=>({...f,type:i(f.type)}))}function c(d){return tL(d).map(s)}function p(d){if(zr(d)||vl(d))return d;if(Ge(d)){let f=d.toConfig();return new Ur({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(rt(d)){let f=d.toConfig();return new Ri({...f,interfaces:()=>c(f.interfaces),fields:()=>l(f.fields)})}if(or(d)){let f=d.toConfig();return new hn({...f,types:()=>c(f.types)})}if(lr(d)){let f=d.toConfig();return new qi({...f,values:c6(f.values,h=>h)})}if(Rt(d)){let f=d.toConfig();return new Ji({...f,fields:()=>u(f.fields)})}Ui(!1,"Unexpected type: "+Ce(d))}}function c6(t,e){let r=Object.create(null);for(let i of Object.keys(t).sort(Tp))r[i]=e(t[i]);return r}function tL(t){return pae(t,e=>e.name)}function pae(t,e){return t.slice().sort((r,i)=>{let s=e(r),n=e(i);return Tp(s,n)})}function oS(t){return Cje(t,e=>!dc(e),_je)}function _je(t){return!Cn(t)&&!vl(t)}function Cje(t,e,r){let i=t.getDirectives().filter(e),s=Object.values(t.getTypeMap()).filter(r);return[Dje(t),...i.map(n=>Bje(n)),...s.map(n=>iL(n))].filter(Boolean).join(`
683
683
 
684
684
  `)}function Dje(t){if(t.description==null&&Nje(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}`),Sl(t)+`schema {
685
685
  ${e.join(`
@@ -1123,7 +1123,7 @@ Try running "stellate pull" first if your service has been created already.`);le
1123
1123
 
1124
1124
  -s, --service Name of the service
1125
1125
  -b, --browser Automatically open the preview UI with the default browser
1126
- `);var Ln=Oe(As());var Bv=Oe(As());var dN=class{async parse(e){return ss(e,{"--help":Boolean,"-h":"--help","--version":Boolean,"-v":"--version","--json":Boolean})["--help"]?this.help():"stellate@2.15.1"}help(e){if(e)throw new Is(`
1126
+ `);var Ln=Oe(As());var Bv=Oe(As());var dN=class{async parse(e){return ss(e,{"--help":Boolean,"-h":"--help","--version":Boolean,"-v":"--version","--json":Boolean})["--help"]?this.help():"stellate@2.16.0"}help(e){if(e)throw new Is(`
1127
1127
  ${Bv.default.bold.red("!")} ${e}
1128
1128
  ${dN.help}`);return dN.help}},Gy=dN;Gy.help=is(`
1129
1129
  Print current version of Stellate
@@ -1421,7 +1421,7 @@ Try running "stellate pull" first if your service has been created already.`);le
1421
1421
  value
1422
1422
  }
1423
1423
  }
1424
- `,u=await Ws();a=(await new bs(u).query(l,{name:"serve-token-"+Date.now(),appName:e})).createAdminApiToken.value,this.writePurgeToken(e,a)}let o=(0,jX.default)();o.use("/",(0,MX.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,jX.default)();s.use("/",(0,MX.createProxyMiddleware)({target:i,changeOrigin:!0,headers:{"stellate-cli-serve-port":""+r},logLevel:"silent"})),s.listen(r)}ensureConfig(){lm.default.existsSync(Ec)||lm.default.mkdirSync(Ec)}getCache(){try{this.ensureConfig();let e=lm.default.readFileSync(iT,"utf-8");return JSON.parse(e)}catch{return{}}}getCacheEntry(e){try{this.ensureConfig();let r=lm.default.readFileSync(iT,"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 Shr(JSON.stringify(e)+"2.15.1")}writePurgeToken(e,r){let i=this.getCache();i[e]={...i[e],purgeToken:r},lm.default.writeFileSync(iT,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},lm.default.writeFileSync(iT,JSON.stringify(s)),s[e]}},Yw=VX;Yw.help=is(`
1424
+ `,u=await Ws();a=(await new bs(u).query(l,{name:"serve-token-"+Date.now(),appName:e})).createAdminApiToken.value,this.writePurgeToken(e,a)}let o=(0,jX.default)();o.use("/",(0,MX.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,jX.default)();s.use("/",(0,MX.createProxyMiddleware)({target:i,changeOrigin:!0,headers:{"stellate-cli-serve-port":""+r},logLevel:"silent"})),s.listen(r)}ensureConfig(){lm.default.existsSync(Ec)||lm.default.mkdirSync(Ec)}getCache(){try{this.ensureConfig();let e=lm.default.readFileSync(iT,"utf-8");return JSON.parse(e)}catch{return{}}}getCacheEntry(e){try{this.ensureConfig();let r=lm.default.readFileSync(iT,"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 Shr(JSON.stringify(e)+"2.16.0")}writePurgeToken(e,r){let i=this.getCache();i[e]={...i[e],purgeToken:r},lm.default.writeFileSync(iT,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},lm.default.writeFileSync(iT,JSON.stringify(s)),s[e]}},Yw=VX;Yw.help=is(`
1425
1425
  (BETA) - Use a local backend with Stellate\u2019s GraphQL Edge Cache.
1426
1426
 
1427
1427
  ${Xv.default.bold("Usage")}