@stacksjs/build 0.70.1 → 0.70.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +24 -24
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,46 +1,46 @@
1
1
  // @bun
2
- var J5=Object.create;var{getPrototypeOf:W5,defineProperty:g1,getOwnPropertyNames:i6,getOwnPropertyDescriptor:R5}=Object,r6=Object.prototype.hasOwnProperty;var y2=(f,G,X)=>{X=f!=null?J5(W5(f)):{};let J=G||!f||!f.__esModule?g1(X,"default",{value:f,enumerable:!0}):X;for(let W of i6(f))if(!r6.call(J,W))g1(J,W,{get:()=>f[W],enumerable:!0});return J},a6=new WeakMap,V5=(f)=>{var G=a6.get(f),X;if(G)return G;if(G=g1({},"__esModule",{value:!0}),f&&typeof f==="object"||typeof f==="function")i6(f).map((J)=>!r6.call(G,J)&&g1(G,J,{get:()=>f[J],enumerable:!(X=R5(f,J))||X.enumerable}));return a6.set(f,G),G},D=(f,G)=>()=>(G||f((G={exports:{}}).exports,G),G.exports);var H5=(f,G)=>{for(var X in G)g1(f,X,{get:G[X],enumerable:!0,configurable:!0,set:(J)=>G[X]=()=>J})};var U5=(f,G)=>()=>(f&&(G=f(f=0)),G);var p6=import.meta.require;var d6=D((jX,s6)=>{(function(f,G){typeof jX==="object"&&typeof s6!=="undefined"?G(jX):typeof define==="function"&&define.amd?define(["exports"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.setArray={}))})(jX,function(f){class G{constructor(){this._indexes={__proto__:null},this.array=[]}}function X(H){return H}function J(H,U){return X(H)._indexes[U]}function W(H,U){let Q=J(H,U);if(Q!==void 0)return Q;let{array:Y,_indexes:S}=X(H),C=Y.push(U);return S[U]=C-1}function R(H){let{array:U,_indexes:Q}=X(H);if(U.length===0)return;let Y=U.pop();Q[Y]=void 0}function V(H,U){let Q=J(H,U);if(Q===void 0)return;let{array:Y,_indexes:S}=X(H);for(let C=Q+1;C<Y.length;C++){let A=Y[C];Y[C-1]=A,S[A]--}S[U]=void 0,Y.pop()}f.SetArray=G,f.get=J,f.pop=R,f.put=W,f.remove=V,Object.defineProperty(f,"__esModule",{value:!0})})});var x2=D((OX,t6)=>{(function(f,G){typeof OX==="object"&&typeof t6!=="undefined"?G(OX):typeof define==="function"&&define.amd?define(["exports"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.sourcemapCodec={}))})(OX,function(f){let W=new Uint8Array(64),R=new Uint8Array(128);for(let y=0;y<64;y++){let x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);W[y]=x,R[x]=y}function V(y,x){let T=0,l=0,Rf=0;do{let u=y.next();Rf=R[u],T|=(Rf&31)<<l,l+=5}while(Rf&32);let zf=T&1;if(T>>>=1,zf)T=-2147483648|-T;return x+T}function H(y,x,T){let l=x-T;l=l<0?-l<<1|1:l<<1;do{let Rf=l&31;if(l>>>=5,l>0)Rf|=32;y.write(W[Rf])}while(l>0);return x}function U(y,x){if(y.pos>=x)return!1;return y.peek()!==44}let Q=16384,Y=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let x="";for(let T=0;T<y.length;T++)x+=String.fromCharCode(y[T]);return x}};class S{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Q)}write(y){let{buffer:x}=this;if(x[this.pos++]=y,this.pos===Q)this.out+=Y.decode(x),this.pos=0}flush(){let{buffer:y,out:x,pos:T}=this;return T>0?x+Y.decode(y.subarray(0,T)):x}}class C{constructor(y){this.pos=0,this.buffer=y}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(y){let{buffer:x,pos:T}=this,l=x.indexOf(y,T);return l===-1?x.length:l}}let A=[];function j(y){let{length:x}=y,T=new C(y),l=[],Rf=[],zf=0;for(;T.pos<x;T.pos++){zf=V(T,zf);let u=V(T,0);if(!U(T,x)){let o=Rf.pop();o[2]=zf,o[3]=u;continue}let g=V(T,0),e=V(T,0)&1?[zf,u,0,0,g,V(T,0)]:[zf,u,0,0,g],ff=A;if(U(T,x)){ff=[];do{let o=V(T,0);ff.push(o)}while(U(T,x))}e.vars=ff,l.push(e),Rf.push(e)}return l}function b(y){let x=new S;for(let T=0;T<y.length;)T=I(y,T,x,[0]);return x.flush()}function I(y,x,T,l){let Rf=y[x],{0:zf,1:u,2:g,3:c,4:a,vars:e}=Rf;if(x>0)T.write(44);l[0]=H(T,zf,l[0]),H(T,u,0),H(T,a,0);let ff=Rf.length===6?1:0;if(H(T,ff,0),Rf.length===6)H(T,Rf[5],0);for(let o of e)H(T,o,0);for(x++;x<y.length;){let o=y[x],{0:Wf,1:Zf}=o;if(Wf>g||Wf===g&&Zf>=c)break;x=I(y,x,T,l)}return T.write(44),l[0]=H(T,g,l[0]),H(T,c,0),x}function L(y){let{length:x}=y,T=new C(y),l=[],Rf=[],zf=0,u=0,g=0,c=0,a=0,e=0,ff=0,o=0;do{let Wf=T.indexOf(";"),Zf=0;for(;T.pos<Wf;T.pos++){if(Zf=V(T,Zf),!U(T,Wf)){let kf=Rf.pop();kf[2]=zf,kf[3]=Zf;continue}let vf=V(T,0),RG=vf&1,pf=vf&2,tf=vf&4,ZG=null,VG=A,_f;if(RG){let kf=V(T,u);g=V(T,u===kf?g:0),u=kf,_f=[zf,Zf,0,0,kf,g]}else _f=[zf,Zf,0,0];if(_f.isScope=!!tf,pf){let kf=c,qG=a;c=V(T,c);let cG=kf===c;a=V(T,cG?a:0),e=V(T,cG&&qG===a?e:0),ZG=[c,a,e]}if(_f.callsite=ZG,U(T,Wf)){VG=[];do{ff=zf,o=Zf;let kf=V(T,0),qG;if(kf<-1){qG=[[V(T,0)]];for(let cG=-1;cG>kf;cG--){let g2=ff;ff=V(T,ff),o=V(T,ff===g2?o:0);let k1=V(T,0);qG.push([k1,ff,o])}}else qG=[[kf]];VG.push(qG)}while(U(T,Wf))}_f.bindings=VG,l.push(_f),Rf.push(_f)}zf++,T.pos=Wf+1}while(T.pos<x);return l}function w(y){if(y.length===0)return"";let x=new S;for(let T=0;T<y.length;)T=Xf(y,T,x,[0,0,0,0,0,0,0]);return x.flush()}function Xf(y,x,T,l){let Rf=y[x],{0:zf,1:u,2:g,3:c,isScope:a,callsite:e,bindings:ff}=Rf;if(l[0]<zf)p(T,l[0],zf),l[0]=zf,l[1]=0;else if(x>0)T.write(44);l[1]=H(T,Rf[1],l[1]);let o=(Rf.length===6?1:0)|(e?2:0)|(a?4:0);if(H(T,o,0),Rf.length===6){let{4:Wf,5:Zf}=Rf;if(Wf!==l[2])l[3]=0;l[2]=H(T,Wf,l[2]),l[3]=H(T,Zf,l[3])}if(e){let{0:Wf,1:Zf,2:vf}=Rf.callsite;if(Wf!==l[4])l[5]=0,l[6]=0;else if(Zf!==l[5])l[6]=0;l[4]=H(T,Wf,l[4]),l[5]=H(T,Zf,l[5]),l[6]=H(T,vf,l[6])}if(ff)for(let Wf of ff){if(Wf.length>1)H(T,-Wf.length,0);let Zf=Wf[0][0];H(T,Zf,0);let vf=zf,RG=u;for(let pf=1;pf<Wf.length;pf++){let tf=Wf[pf];vf=H(T,tf[1],vf),RG=H(T,tf[2],RG),H(T,tf[0],0)}}for(x++;x<y.length;){let Wf=y[x],{0:Zf,1:vf}=Wf;if(Zf>g||Zf===g&&vf>=c)break;x=Xf(y,x,T,l)}if(l[0]<g)p(T,l[0],g),l[0]=g,l[1]=0;else T.write(44);return l[1]=H(T,c,l[1]),x}function p(y,x,T){do y.write(59);while(++x<T)}function Jf(y){let{length:x}=y,T=new C(y),l=[],Rf=0,zf=0,u=0,g=0,c=0;do{let a=T.indexOf(";"),e=[],ff=!0,o=0;Rf=0;while(T.pos<a){let Wf;if(Rf=V(T,Rf),Rf<o)ff=!1;if(o=Rf,U(T,a))if(zf=V(T,zf),u=V(T,u),g=V(T,g),U(T,a))c=V(T,c),Wf=[Rf,zf,u,g,c];else Wf=[Rf,zf,u,g];else Wf=[Rf];e.push(Wf),T.pos++}if(!ff)Kf(e);l.push(e),T.pos=a+1}while(T.pos<=x);return l}function Kf(y){y.sort(bf)}function bf(y,x){return y[0]-x[0]}function Ef(y){let x=new S,T=0,l=0,Rf=0,zf=0;for(let u=0;u<y.length;u++){let g=y[u];if(u>0)x.write(59);if(g.length===0)continue;let c=0;for(let a=0;a<g.length;a++){let e=g[a];if(a>0)x.write(44);if(c=H(x,e[0],c),e.length===1)continue;if(T=H(x,e[1],T),l=H(x,e[2],l),Rf=H(x,e[3],Rf),e.length===4)continue;zf=H(x,e[4],zf)}}return x.flush()}f.decode=Jf,f.decodeGeneratedRanges=L,f.decodeOriginalScopes=j,f.encode=Ef,f.encodeGeneratedRanges=w,f.encodeOriginalScopes=b,Object.defineProperty(f,"__esModule",{value:!0})})});var n6=D((m2,l2)=>{(function(f,G){typeof m2==="object"&&typeof l2!=="undefined"?l2.exports=G():typeof define==="function"&&define.amd?define(G):(f=typeof globalThis!=="undefined"?globalThis:f||self,f.resolveURI=G())})(m2,function(){let f=/^[\w+.-]+:\/\//,G=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,X=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function J(I){return f.test(I)}function W(I){return I.startsWith("//")}function R(I){return I.startsWith("/")}function V(I){return I.startsWith("file:")}function H(I){return/^[.?#]/.test(I)}function U(I){let L=G.exec(I);return Y(L[1],L[2]||"",L[3],L[4]||"",L[5]||"/",L[6]||"",L[7]||"")}function Q(I){let L=X.exec(I),w=L[2];return Y("file:","",L[1]||"","",R(w)?w:"/"+w,L[3]||"",L[4]||"")}function Y(I,L,w,Xf,p,Jf,Kf){return{scheme:I,user:L,host:w,port:Xf,path:p,query:Jf,hash:Kf,type:7}}function S(I){if(W(I)){let w=U("http:"+I);return w.scheme="",w.type=6,w}if(R(I)){let w=U("http://foo.com"+I);return w.scheme="",w.host="",w.type=5,w}if(V(I))return Q(I);if(J(I))return U(I);let L=U("http://foo.com/"+I);return L.scheme="",L.host="",L.type=I?I.startsWith("?")?3:I.startsWith("#")?2:4:1,L}function C(I){if(I.endsWith("/.."))return I;let L=I.lastIndexOf("/");return I.slice(0,L+1)}function A(I,L){if(j(L,L.type),I.path==="/")I.path=L.path;else I.path=C(L.path)+I.path}function j(I,L){let w=L<=4,Xf=I.path.split("/"),p=1,Jf=0,Kf=!1;for(let Ef=1;Ef<Xf.length;Ef++){let y=Xf[Ef];if(!y){Kf=!0;continue}if(Kf=!1,y===".")continue;if(y===".."){if(Jf)Kf=!0,Jf--,p--;else if(w)Xf[p++]=y;continue}Xf[p++]=y,Jf++}let bf="";for(let Ef=1;Ef<p;Ef++)bf+="/"+Xf[Ef];if(!bf||Kf&&!bf.endsWith("/.."))bf+="/";I.path=bf}function b(I,L){if(!I&&!L)return"";let w=S(I),Xf=w.type;if(L&&Xf!==7){let Jf=S(L),Kf=Jf.type;switch(Xf){case 1:w.hash=Jf.hash;case 2:w.query=Jf.query;case 3:case 4:A(w,Jf);case 5:w.user=Jf.user,w.host=Jf.host,w.port=Jf.port;case 6:w.scheme=Jf.scheme}if(Kf>Xf)Xf=Kf}j(w,Xf);let p=w.query+w.hash;switch(Xf){case 2:case 3:return p;case 4:{let Jf=w.path.slice(1);if(!Jf)return p||".";if(H(L||I)&&!H(Jf))return"./"+Jf+p;return Jf+p}case 5:return w.path+p;default:return w.scheme+"//"+w.user+w.host+w.port+w.path+p}}return b})});var c2=D((DX,o6)=>{(function(f,G){typeof DX==="object"&&typeof o6!=="undefined"?G(DX,x2(),n6()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.traceMapping={},f.sourcemapCodec,f.resolveURI))})(DX,function(f,G,X){function J(P,E){if(E&&!E.endsWith("/"))E+="/";return X(P,E)}function W(P){if(!P)return"";let E=P.lastIndexOf("/");return P.slice(0,E+1)}let R=0,V=1,H=2,U=3,Q=4,Y=1,S=2;function C(P,E){let k=A(P,0);if(k===P.length)return P;if(!E)P=P.slice();for(let m=k;m<P.length;m=A(P,m+1))P[m]=b(P[m],E);return P}function A(P,E){for(let k=E;k<P.length;k++)if(!j(P[k]))return k;return P.length}function j(P){for(let E=1;E<P.length;E++)if(P[E][R]<P[E-1][R])return!1;return!0}function b(P,E){if(!E)P=P.slice();return P.sort(I)}function I(P,E){return P[R]-E[R]}let L=!1;function w(P,E,k,m){while(k<=m){let Vf=k+(m-k>>1),d=P[Vf][R]-E;if(d===0)return L=!0,Vf;if(d<0)k=Vf+1;else m=Vf-1}return L=!1,k-1}function Xf(P,E,k){for(let m=k+1;m<P.length;k=m++)if(P[m][R]!==E)break;return k}function p(P,E,k){for(let m=k-1;m>=0;k=m--)if(P[m][R]!==E)break;return k}function Jf(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Kf(P,E,k,m){let{lastKey:Vf,lastNeedle:d,lastIndex:Ff}=k,Cf=0,Yf=P.length-1;if(m===Vf){if(E===d)return L=Ff!==-1&&P[Ff][R]===E,Ff;if(E>=d)Cf=Ff===-1?0:Ff;else Yf=Ff}return k.lastKey=m,k.lastNeedle=E,k.lastIndex=w(P,E,Cf,Yf)}function bf(P,E){let k=E.map(y);for(let m=0;m<P.length;m++){let Vf=P[m];for(let d=0;d<Vf.length;d++){let Ff=Vf[d];if(Ff.length===1)continue;let Cf=Ff[V],Yf=Ff[H],jf=Ff[U],cf=k[Cf],Pf=cf[Yf]||(cf[Yf]=[]),wf=E[Cf],sf=Xf(Pf,jf,Kf(Pf,jf,wf,Yf));wf.lastIndex=++sf,Ef(Pf,sf,[jf,m,Ff[R]])}}return k}function Ef(P,E,k){for(let m=P.length;m>E;m--)P[m]=P[m-1];P[E]=k}function y(){return{__proto__:null}}let x=function(P,E){let k=T(P);if(!("sections"in k))return new ff(k,E);let m=[],Vf=[],d=[],Ff=[],Cf=[];l(k,E,m,Vf,d,Ff,Cf,0,0,1/0,1/0);let Yf={version:3,file:k.file,names:Ff,sources:Vf,sourcesContent:d,mappings:m,ignoreList:Cf};return qG(Yf)};function T(P){return typeof P==="string"?JSON.parse(P):P}function l(P,E,k,m,Vf,d,Ff,Cf,Yf,jf,cf){let{sections:Pf}=P;for(let wf=0;wf<Pf.length;wf++){let{map:sf,offset:YG}=Pf[wf],aG=jf,Z1=cf;if(wf+1<Pf.length){let Y1=Pf[wf+1].offset;if(aG=Math.min(jf,Cf+Y1.line),aG===jf)Z1=Math.min(cf,Yf+Y1.column);else if(aG<jf)Z1=Yf+Y1.column}Rf(sf,E,k,m,Vf,d,Ff,Cf+YG.line,Yf+YG.column,aG,Z1)}}function Rf(P,E,k,m,Vf,d,Ff,Cf,Yf,jf,cf){let Pf=T(P);if("sections"in Pf)return l(...arguments);let wf=new ff(Pf,E),sf=m.length,YG=d.length,aG=Zf(wf),{resolvedSources:Z1,sourcesContent:Y1,ignoreList:_2}=wf;if(zf(m,Z1),zf(d,wf.names),Y1)zf(Vf,Y1);else for(let nf=0;nf<Z1.length;nf++)Vf.push(null);if(_2)for(let nf=0;nf<_2.length;nf++)Ff.push(_2[nf]+sf);for(let nf=0;nf<aG.length;nf++){let u2=Cf+nf;if(u2>jf)return;let y6=u(k,u2),X5=nf===0?Yf:0,x6=aG[nf];for(let h2=0;h2<x6.length;h2++){let iG=x6[h2],AX=X5+iG[R];if(u2===jf&&AX>=cf)return;if(iG.length===1){y6.push([AX]);continue}let m6=sf+iG[V],l6=iG[H],c6=iG[U];y6.push(iG.length===4?[AX,m6,l6,c6]:[AX,m6,l6,c6,YG+iG[Q]])}}}function zf(P,E){for(let k=0;k<E.length;k++)P.push(E[k])}function u(P,E){for(let k=P.length;k<=E;k++)P[k]=[];return P[E]}let g="`line` must be greater than 0 (lines start at line 1)",c="`column` must be greater than or equal to 0 (columns start at column 0)",a=-1,e=1;class ff{constructor(P,E){let k=typeof P==="string";if(!k&&P._decodedMemo)return P;let m=k?JSON.parse(P):P,{version:Vf,file:d,names:Ff,sourceRoot:Cf,sources:Yf,sourcesContent:jf}=m;this.version=Vf,this.file=d,this.names=Ff||[],this.sourceRoot=Cf,this.sources=Yf,this.sourcesContent=jf,this.ignoreList=m.ignoreList||m.x_google_ignoreList||void 0;let cf=J(Cf||"",W(E));this.resolvedSources=Yf.map((wf)=>J(wf||"",cf));let{mappings:Pf}=m;if(typeof Pf==="string")this._encoded=Pf,this._decoded=void 0;else this._encoded=void 0,this._decoded=C(Pf,k);this._decodedMemo=Jf(),this._bySources=void 0,this._bySourceMemos=void 0}}function o(P){return P}function Wf(P){var E,k;return(E=(k=o(P))._encoded)!==null&&E!==void 0?E:k._encoded=G.encode(o(P)._decoded)}function Zf(P){var E;return(E=o(P))._decoded||(E._decoded=G.decode(o(P)._encoded))}function vf(P,E,k){let m=Zf(P);if(E>=m.length)return null;let Vf=m[E],d=CX(Vf,o(P)._decodedMemo,E,k,e);return d===-1?null:Vf[d]}function RG(P,E){let{line:k,column:m,bias:Vf}=E;if(k--,k<0)throw new Error(g);if(m<0)throw new Error(c);let d=Zf(P);if(k>=d.length)return qX(null,null,null,null);let Ff=d[k],Cf=CX(Ff,o(P)._decodedMemo,k,m,Vf||e);if(Cf===-1)return qX(null,null,null,null);let Yf=Ff[Cf];if(Yf.length===1)return qX(null,null,null,null);let{names:jf,resolvedSources:cf}=P;return qX(cf[Yf[V]],Yf[H]+1,Yf[U],Yf.length===5?jf[Yf[Q]]:null)}function pf(P,E){let{source:k,line:m,column:Vf,bias:d}=E;return h6(P,k,m,Vf,d||e,!1)}function tf(P,E){let{source:k,line:m,column:Vf,bias:d}=E;return h6(P,k,m,Vf,d||a,!0)}function ZG(P,E){let k=Zf(P),{names:m,resolvedSources:Vf}=P;for(let d=0;d<k.length;d++){let Ff=k[d];for(let Cf=0;Cf<Ff.length;Cf++){let Yf=Ff[Cf],jf=d+1,cf=Yf[0],Pf=null,wf=null,sf=null,YG=null;if(Yf.length!==1)Pf=Vf[Yf[1]],wf=Yf[2]+1,sf=Yf[3];if(Yf.length===5)YG=m[Yf[4]];E({generatedLine:jf,generatedColumn:cf,source:Pf,originalLine:wf,originalColumn:sf,name:YG})}}}function VG(P,E){let{sources:k,resolvedSources:m}=P,Vf=k.indexOf(E);if(Vf===-1)Vf=m.indexOf(E);return Vf}function _f(P,E){let{sourcesContent:k}=P;if(k==null)return null;let m=VG(P,E);return m===-1?null:k[m]}function kf(P,E){let{ignoreList:k}=P;if(k==null)return!1;let m=VG(P,E);return m===-1?!1:k.includes(m)}function qG(P,E){let k=new ff(k1(P,[]),E);return o(k)._decoded=P.mappings,k}function cG(P){return k1(P,Zf(P))}function g2(P){return k1(P,Wf(P))}function k1(P,E){return{version:P.version,file:P.file,names:P.names,sourceRoot:P.sourceRoot,sources:P.sources,sourcesContent:P.sourcesContent,mappings:E,ignoreList:P.ignoreList||P.x_google_ignoreList}}function qX(P,E,k,m){return{source:P,line:E,column:k,name:m}}function v1(P,E){return{line:P,column:E}}function CX(P,E,k,m,Vf){let d=Kf(P,m,E,k);if(L)d=(Vf===a?Xf:p)(P,m,d);else if(Vf===a)d++;if(d===-1||d===P.length)return-1;return d}function G5(P,E,k,m,Vf){let d=CX(P,E,k,m,e);if(!L&&Vf===a)d++;if(d===-1||d===P.length)return[];let Ff=L?m:P[d][R];if(!L)d=p(P,Ff,d);let Cf=Xf(P,Ff,d),Yf=[];for(;d<=Cf;d++){let jf=P[d];Yf.push(v1(jf[Y]+1,jf[S]))}return Yf}function h6(P,E,k,m,Vf,d){var Ff;if(k--,k<0)throw new Error(g);if(m<0)throw new Error(c);let{sources:Cf,resolvedSources:Yf}=P,jf=Cf.indexOf(E);if(jf===-1)jf=Yf.indexOf(E);if(jf===-1)return d?[]:v1(null,null);let Pf=((Ff=o(P))._bySources||(Ff._bySources=bf(Zf(P),o(P)._bySourceMemos=Cf.map(Jf))))[jf][k];if(Pf==null)return d?[]:v1(null,null);let wf=o(P)._bySourceMemos[jf];if(d)return G5(Pf,wf,k,m,Vf);let sf=CX(Pf,wf,k,m,Vf);if(sf===-1)return v1(null,null);let YG=Pf[sf];return v1(YG[Y]+1,YG[S])}f.AnyMap=x,f.GREATEST_LOWER_BOUND=e,f.LEAST_UPPER_BOUND=a,f.TraceMap=ff,f.allGeneratedPositionsFor=tf,f.decodedMap=cG,f.decodedMappings=Zf,f.eachMapping=ZG,f.encodedMap=g2,f.encodedMappings=Wf,f.generatedPositionFor=pf,f.isIgnored=kf,f.originalPositionFor=RG,f.presortedDecodedMap=qG,f.sourceContentFor=_f,f.traceSegment=vf})});var f0=D((PX,e6)=>{(function(f,G){typeof PX==="object"&&typeof e6!=="undefined"?G(PX,d6(),x2(),c2()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.genMapping={},f.setArray,f.sourcemapCodec,f.traceMapping))})(PX,function(f,G,X,J){class Y{constructor({file:u,sourceRoot:g}={}){this._names=new G.SetArray,this._sources=new G.SetArray,this._sourcesContent=[],this._mappings=[],this.file=u,this.sourceRoot=g,this._ignoreList=new G.SetArray}}function S(u){return u}function C(u,g,c,a,e,ff,o,Wf){return Kf(!1,u,g,c,a,e,ff,o,Wf)}function A(u,g){return zf(!1,u,g)}let j=(u,g,c,a,e,ff,o,Wf)=>{return Kf(!0,u,g,c,a,e,ff,o,Wf)},b=(u,g)=>{return zf(!0,u,g)};function I(u,g,c){let{_sources:a,_sourcesContent:e}=S(u),ff=G.put(a,g);e[ff]=c}function L(u,g,c=!0){let{_sources:a,_sourcesContent:e,_ignoreList:ff}=S(u),o=G.put(a,g);if(o===e.length)e[o]=null;if(c)G.put(ff,o);else G.remove(ff,o)}function w(u){let{_mappings:g,_sources:c,_sourcesContent:a,_names:e,_ignoreList:ff}=S(u);return x(g),{version:3,file:u.file||void 0,names:e.array,sourceRoot:u.sourceRoot||void 0,sources:c.array,sourcesContent:a,mappings:g,ignoreList:ff.array}}function Xf(u){let g=w(u);return Object.assign(Object.assign({},g),{mappings:X.encode(g.mappings)})}function p(u){let g=new J.TraceMap(u),c=new Y({file:g.file,sourceRoot:g.sourceRoot});if(T(S(c)._names,g.names),T(S(c)._sources,g.sources),S(c)._sourcesContent=g.sourcesContent||g.sources.map(()=>null),S(c)._mappings=J.decodedMappings(g),g.ignoreList)T(S(c)._ignoreList,g.ignoreList);return c}function Jf(u){let g=[],{_mappings:c,_sources:a,_names:e}=S(u);for(let ff=0;ff<c.length;ff++){let o=c[ff];for(let Wf=0;Wf<o.length;Wf++){let Zf=o[Wf],vf={line:ff+1,column:Zf[0]},RG=void 0,pf=void 0,tf=void 0;if(Zf.length!==1){if(RG=a.array[Zf[1]],pf={line:Zf[2]+1,column:Zf[3]},Zf.length===5)tf=e.array[Zf[4]]}g.push({generated:vf,source:RG,original:pf,name:tf})}}return g}function Kf(u,g,c,a,e,ff,o,Wf,Zf){let{_mappings:vf,_sources:RG,_sourcesContent:pf,_names:tf}=S(g),ZG=bf(vf,c),VG=Ef(ZG,a);if(!e){if(u&&l(ZG,VG))return;return y(ZG,VG,[a])}let _f=G.put(RG,e),kf=Wf?G.put(tf,Wf):-1;if(_f===pf.length)pf[_f]=Zf!==null&&Zf!==void 0?Zf:null;if(u&&Rf(ZG,VG,_f,ff,o,kf))return;return y(ZG,VG,Wf?[a,_f,ff,o,kf]:[a,_f,ff,o])}function bf(u,g){for(let c=u.length;c<=g;c++)u[c]=[];return u[g]}function Ef(u,g){let c=u.length;for(let a=c-1;a>=0;c=a--){let e=u[a];if(g>=e[0])break}return c}function y(u,g,c){for(let a=u.length;a>g;a--)u[a]=u[a-1];u[g]=c}function x(u){let{length:g}=u,c=g;for(let a=c-1;a>=0;c=a,a--)if(u[a].length>0)break;if(c<g)u.length=c}function T(u,g){for(let c=0;c<g.length;c++)G.put(u,g[c])}function l(u,g){if(g===0)return!0;return u[g-1].length===1}function Rf(u,g,c,a,e,ff){if(g===0)return!1;let o=u[g-1];if(o.length===1)return!1;return c===o[1]&&a===o[2]&&e===o[3]&&ff===(o.length===5?o[4]:-1)}function zf(u,g,c){let{generated:a,source:e,original:ff,name:o,content:Wf}=c;if(!e)return Kf(u,g,a.line-1,a.column,null,null,null,null,null);return Kf(u,g,a.line-1,a.column,e,ff.line-1,ff.column,o,Wf)}f.GenMapping=Y,f.addMapping=A,f.addSegment=C,f.allMappings=Jf,f.fromMap=p,f.maybeAddMapping=b,f.maybeAddSegment=j,f.setIgnore=L,f.setSourceContent=I,f.toDecodedMap=w,f.toEncodedMap=Xf,Object.defineProperty(f,"__esModule",{value:!0})})});var W0=D((X0)=>{Object.defineProperty(X0,"__esModule",{value:!0});X0.default=void 0;var wG=f0(),a2=c2();class G0{constructor(f,G){var X;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 J=this._map=new wG.GenMapping({sourceRoot:f.sourceRoot});if(this._sourceFileName=(X=f.sourceFileName)==null?void 0:X.replace(/\\/g,"/"),this._rawMappings=void 0,f.inputSourceMap){this._inputMap=new a2.TraceMap(f.inputSourceMap);let R=this._inputMap.resolvedSources;if(R.length)for(let V=0;V<R.length;V++){var W;wG.setSourceContent(J,R[V],(W=this._inputMap.sourcesContent)==null?void 0:W[V])}}if(typeof G==="string"&&!f.inputSourceMap)wG.setSourceContent(J,this._sourceFileName,G);else if(typeof G==="object")for(let R of Object.keys(G))wG.setSourceContent(J,R.replace(/\\/g,"/"),G[R])}get(){return wG.toEncodedMap(this._map)}getDecoded(){return wG.toDecodedMap(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=wG.allMappings(this._map))}mark(f,G,X,J,W,R){var V;this._rawMappings=void 0;let H;if(G!=null)if(this._inputMap){if(H=a2.originalPositionFor(this._inputMap,{line:G,column:X}),!H.name&&W){let U=a2.originalPositionFor(this._inputMap,W);if(U.name)J=U.name}}else H={source:(R==null?void 0:R.replace(/\\/g,"/"))||this._sourceFileName,line:G,column:X};wG.maybeAddMapping(this._map,{name:J,generated:f,source:(V=H)==null?void 0:V.source,original:H})}}X0.default=G0});var U0=D((V0)=>{Object.defineProperty(V0,"__esModule",{value:!0});V0.default=void 0;class R0{constructor(f,G){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=f,this._indentChar=G;for(let X=0;X<64;X++)this._fastIndentations.push(G.repeat(X));this._allocQueue()}_allocQueue(){let f=this._queue;for(let G=0;G<16;G++)f.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(f,G,X,J,W){let R=this._queueCursor;if(R===this._queue.length)this._allocQueue();let V=this._queue[R];V.char=f,V.repeat=G,V.line=X,V.column=J,V.filename=W,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let f=this._map,G={code:(this._buf+this._str).trimRight(),decodedMap:f==null?void 0:f.getDecoded(),get __mergedMap(){return this.map},get map(){let X=f?f.get():null;return G.map=X,X},set map(X){Object.defineProperty(G,"map",{value:X,writable:!0})},get rawMappings(){let X=f==null?void 0:f.getRawMappings();return G.rawMappings=X,X},set rawMappings(X){Object.defineProperty(G,"rawMappings",{value:X,writable:!0})}};return G}append(f,G){this._flush(),this._append(f,this._sourcePosition,G)}appendChar(f){this._flush(),this._appendChar(f,1,this._sourcePosition)}queue(f){if(f===10)while(this._queueCursor!==0){let X=this._queue[this._queueCursor-1].char;if(X!==32&&X!==9)break;this._queueCursor--}let G=this._sourcePosition;this._pushQueue(f,1,G.line,G.column,G.filename)}queueIndentation(f){if(f===0)return;this._pushQueue(-1,f,void 0,void 0,void 0)}_flush(){let f=this._queueCursor,G=this._queue;for(let X=0;X<f;X++){let J=G[X];this._appendChar(J.char,J.repeat,J)}this._queueCursor=0}_appendChar(f,G,X){if(this._last=f,f===-1){let J=this._fastIndentations[G];if(J!==void 0)this._str+=J;else this._str+=G>1?this._indentChar.repeat(G):this._indentChar}else this._str+=G>1?String.fromCharCode(f).repeat(G):String.fromCharCode(f);if(f!==10)this._mark(X.line,X.column,X.identifierName,X.identifierNamePos,X.filename),this._position.column+=G;else this._position.line++,this._position.column=0;if(this._canMarkIdName)X.identifierName=void 0,X.identifierNamePos=void 0}_append(f,G,X){let J=f.length,W=this._position;if(this._last=f.charCodeAt(J-1),++this._appendCount>4096)+this._str,this._buf+=this._str,this._str=f,this._appendCount=0;else this._str+=f;if(!X&&!this._map){W.column+=J;return}let{column:R,identifierName:V,identifierNamePos:H,filename:U}=G,Q=G.line;if((V!=null||H!=null)&&this._canMarkIdName)G.identifierName=void 0,G.identifierNamePos=void 0;let Y=f.indexOf(`
2
+ var J5=Object.create;var{getPrototypeOf:W5,defineProperty:g1,getOwnPropertyNames:i6,getOwnPropertyDescriptor:R5}=Object,r6=Object.prototype.hasOwnProperty;var y2=(f,G,X)=>{X=f!=null?J5(W5(f)):{};let J=G||!f||!f.__esModule?g1(X,"default",{value:f,enumerable:!0}):X;for(let W of i6(f))if(!r6.call(J,W))g1(J,W,{get:()=>f[W],enumerable:!0});return J},a6=new WeakMap,V5=(f)=>{var G=a6.get(f),X;if(G)return G;if(G=g1({},"__esModule",{value:!0}),f&&typeof f==="object"||typeof f==="function")i6(f).map((J)=>!r6.call(G,J)&&g1(G,J,{get:()=>f[J],enumerable:!(X=R5(f,J))||X.enumerable}));return a6.set(f,G),G},D=(f,G)=>()=>(G||f((G={exports:{}}).exports,G),G.exports);var H5=(f,G)=>{for(var X in G)g1(f,X,{get:G[X],enumerable:!0,configurable:!0,set:(J)=>G[X]=()=>J})};var U5=(f,G)=>()=>(f&&(G=f(f=0)),G);var p6=import.meta.require;var d6=D((jX,s6)=>{(function(f,G){typeof jX==="object"&&typeof s6!=="undefined"?G(jX):typeof define==="function"&&define.amd?define(["exports"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.setArray={}))})(jX,function(f){class G{constructor(){this._indexes={__proto__:null},this.array=[]}}function X(H){return H}function J(H,U){return X(H)._indexes[U]}function W(H,U){let Q=J(H,U);if(Q!==void 0)return Q;let{array:Y,_indexes:S}=X(H),C=Y.push(U);return S[U]=C-1}function R(H){let{array:U,_indexes:Q}=X(H);if(U.length===0)return;let Y=U.pop();Q[Y]=void 0}function V(H,U){let Q=J(H,U);if(Q===void 0)return;let{array:Y,_indexes:S}=X(H);for(let C=Q+1;C<Y.length;C++){let A=Y[C];Y[C-1]=A,S[A]--}S[U]=void 0,Y.pop()}f.SetArray=G,f.get=J,f.pop=R,f.put=W,f.remove=V,Object.defineProperty(f,"__esModule",{value:!0})})});var x2=D((OX,t6)=>{(function(f,G){typeof OX==="object"&&typeof t6!=="undefined"?G(OX):typeof define==="function"&&define.amd?define(["exports"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.sourcemapCodec={}))})(OX,function(f){let W=new Uint8Array(64),R=new Uint8Array(128);for(let y=0;y<64;y++){let x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);W[y]=x,R[x]=y}function V(y,x){let T=0,l=0,Rf=0;do{let u=y.next();Rf=R[u],T|=(Rf&31)<<l,l+=5}while(Rf&32);let zf=T&1;if(T>>>=1,zf)T=-2147483648|-T;return x+T}function H(y,x,T){let l=x-T;l=l<0?-l<<1|1:l<<1;do{let Rf=l&31;if(l>>>=5,l>0)Rf|=32;y.write(W[Rf])}while(l>0);return x}function U(y,x){if(y.pos>=x)return!1;return y.peek()!==44}let Q=16384,Y=typeof TextDecoder!=="undefined"?new TextDecoder:typeof Buffer!=="undefined"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let x="";for(let T=0;T<y.length;T++)x+=String.fromCharCode(y[T]);return x}};class S{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(Q)}write(y){let{buffer:x}=this;if(x[this.pos++]=y,this.pos===Q)this.out+=Y.decode(x),this.pos=0}flush(){let{buffer:y,out:x,pos:T}=this;return T>0?x+Y.decode(y.subarray(0,T)):x}}class C{constructor(y){this.pos=0,this.buffer=y}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(y){let{buffer:x,pos:T}=this,l=x.indexOf(y,T);return l===-1?x.length:l}}let A=[];function O(y){let{length:x}=y,T=new C(y),l=[],Rf=[],zf=0;for(;T.pos<x;T.pos++){zf=V(T,zf);let u=V(T,0);if(!U(T,x)){let o=Rf.pop();o[2]=zf,o[3]=u;continue}let g=V(T,0),e=V(T,0)&1?[zf,u,0,0,g,V(T,0)]:[zf,u,0,0,g],ff=A;if(U(T,x)){ff=[];do{let o=V(T,0);ff.push(o)}while(U(T,x))}e.vars=ff,l.push(e),Rf.push(e)}return l}function b(y){let x=new S;for(let T=0;T<y.length;)T=P(y,T,x,[0]);return x.flush()}function P(y,x,T,l){let Rf=y[x],{0:zf,1:u,2:g,3:c,4:a,vars:e}=Rf;if(x>0)T.write(44);l[0]=H(T,zf,l[0]),H(T,u,0),H(T,a,0);let ff=Rf.length===6?1:0;if(H(T,ff,0),Rf.length===6)H(T,Rf[5],0);for(let o of e)H(T,o,0);for(x++;x<y.length;){let o=y[x],{0:Wf,1:Zf}=o;if(Wf>g||Wf===g&&Zf>=c)break;x=P(y,x,T,l)}return T.write(44),l[0]=H(T,g,l[0]),H(T,c,0),x}function L(y){let{length:x}=y,T=new C(y),l=[],Rf=[],zf=0,u=0,g=0,c=0,a=0,e=0,ff=0,o=0;do{let Wf=T.indexOf(";"),Zf=0;for(;T.pos<Wf;T.pos++){if(Zf=V(T,Zf),!U(T,Wf)){let kf=Rf.pop();kf[2]=zf,kf[3]=Zf;continue}let vf=V(T,0),RG=vf&1,pf=vf&2,tf=vf&4,ZG=null,VG=A,_f;if(RG){let kf=V(T,u);g=V(T,u===kf?g:0),u=kf,_f=[zf,Zf,0,0,kf,g]}else _f=[zf,Zf,0,0];if(_f.isScope=!!tf,pf){let kf=c,CG=a;c=V(T,c);let cG=kf===c;a=V(T,cG?a:0),e=V(T,cG&&CG===a?e:0),ZG=[c,a,e]}if(_f.callsite=ZG,U(T,Wf)){VG=[];do{ff=zf,o=Zf;let kf=V(T,0),CG;if(kf<-1){CG=[[V(T,0)]];for(let cG=-1;cG>kf;cG--){let g2=ff;ff=V(T,ff),o=V(T,ff===g2?o:0);let k1=V(T,0);CG.push([k1,ff,o])}}else CG=[[kf]];VG.push(CG)}while(U(T,Wf))}_f.bindings=VG,l.push(_f),Rf.push(_f)}zf++,T.pos=Wf+1}while(T.pos<x);return l}function w(y){if(y.length===0)return"";let x=new S;for(let T=0;T<y.length;)T=Xf(y,T,x,[0,0,0,0,0,0,0]);return x.flush()}function Xf(y,x,T,l){let Rf=y[x],{0:zf,1:u,2:g,3:c,isScope:a,callsite:e,bindings:ff}=Rf;if(l[0]<zf)p(T,l[0],zf),l[0]=zf,l[1]=0;else if(x>0)T.write(44);l[1]=H(T,Rf[1],l[1]);let o=(Rf.length===6?1:0)|(e?2:0)|(a?4:0);if(H(T,o,0),Rf.length===6){let{4:Wf,5:Zf}=Rf;if(Wf!==l[2])l[3]=0;l[2]=H(T,Wf,l[2]),l[3]=H(T,Zf,l[3])}if(e){let{0:Wf,1:Zf,2:vf}=Rf.callsite;if(Wf!==l[4])l[5]=0,l[6]=0;else if(Zf!==l[5])l[6]=0;l[4]=H(T,Wf,l[4]),l[5]=H(T,Zf,l[5]),l[6]=H(T,vf,l[6])}if(ff)for(let Wf of ff){if(Wf.length>1)H(T,-Wf.length,0);let Zf=Wf[0][0];H(T,Zf,0);let vf=zf,RG=u;for(let pf=1;pf<Wf.length;pf++){let tf=Wf[pf];vf=H(T,tf[1],vf),RG=H(T,tf[2],RG),H(T,tf[0],0)}}for(x++;x<y.length;){let Wf=y[x],{0:Zf,1:vf}=Wf;if(Zf>g||Zf===g&&vf>=c)break;x=Xf(y,x,T,l)}if(l[0]<g)p(T,l[0],g),l[0]=g,l[1]=0;else T.write(44);return l[1]=H(T,c,l[1]),x}function p(y,x,T){do y.write(59);while(++x<T)}function Jf(y){let{length:x}=y,T=new C(y),l=[],Rf=0,zf=0,u=0,g=0,c=0;do{let a=T.indexOf(";"),e=[],ff=!0,o=0;Rf=0;while(T.pos<a){let Wf;if(Rf=V(T,Rf),Rf<o)ff=!1;if(o=Rf,U(T,a))if(zf=V(T,zf),u=V(T,u),g=V(T,g),U(T,a))c=V(T,c),Wf=[Rf,zf,u,g,c];else Wf=[Rf,zf,u,g];else Wf=[Rf];e.push(Wf),T.pos++}if(!ff)Kf(e);l.push(e),T.pos=a+1}while(T.pos<=x);return l}function Kf(y){y.sort(bf)}function bf(y,x){return y[0]-x[0]}function Ef(y){let x=new S,T=0,l=0,Rf=0,zf=0;for(let u=0;u<y.length;u++){let g=y[u];if(u>0)x.write(59);if(g.length===0)continue;let c=0;for(let a=0;a<g.length;a++){let e=g[a];if(a>0)x.write(44);if(c=H(x,e[0],c),e.length===1)continue;if(T=H(x,e[1],T),l=H(x,e[2],l),Rf=H(x,e[3],Rf),e.length===4)continue;zf=H(x,e[4],zf)}}return x.flush()}f.decode=Jf,f.decodeGeneratedRanges=L,f.decodeOriginalScopes=O,f.encode=Ef,f.encodeGeneratedRanges=w,f.encodeOriginalScopes=b,Object.defineProperty(f,"__esModule",{value:!0})})});var n6=D((m2,l2)=>{(function(f,G){typeof m2==="object"&&typeof l2!=="undefined"?l2.exports=G():typeof define==="function"&&define.amd?define(G):(f=typeof globalThis!=="undefined"?globalThis:f||self,f.resolveURI=G())})(m2,function(){let f=/^[\w+.-]+:\/\//,G=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,X=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function J(P){return f.test(P)}function W(P){return P.startsWith("//")}function R(P){return P.startsWith("/")}function V(P){return P.startsWith("file:")}function H(P){return/^[.?#]/.test(P)}function U(P){let L=G.exec(P);return Y(L[1],L[2]||"",L[3],L[4]||"",L[5]||"/",L[6]||"",L[7]||"")}function Q(P){let L=X.exec(P),w=L[2];return Y("file:","",L[1]||"","",R(w)?w:"/"+w,L[3]||"",L[4]||"")}function Y(P,L,w,Xf,p,Jf,Kf){return{scheme:P,user:L,host:w,port:Xf,path:p,query:Jf,hash:Kf,type:7}}function S(P){if(W(P)){let w=U("http:"+P);return w.scheme="",w.type=6,w}if(R(P)){let w=U("http://foo.com"+P);return w.scheme="",w.host="",w.type=5,w}if(V(P))return Q(P);if(J(P))return U(P);let L=U("http://foo.com/"+P);return L.scheme="",L.host="",L.type=P?P.startsWith("?")?3:P.startsWith("#")?2:4:1,L}function C(P){if(P.endsWith("/.."))return P;let L=P.lastIndexOf("/");return P.slice(0,L+1)}function A(P,L){if(O(L,L.type),P.path==="/")P.path=L.path;else P.path=C(L.path)+P.path}function O(P,L){let w=L<=4,Xf=P.path.split("/"),p=1,Jf=0,Kf=!1;for(let Ef=1;Ef<Xf.length;Ef++){let y=Xf[Ef];if(!y){Kf=!0;continue}if(Kf=!1,y===".")continue;if(y===".."){if(Jf)Kf=!0,Jf--,p--;else if(w)Xf[p++]=y;continue}Xf[p++]=y,Jf++}let bf="";for(let Ef=1;Ef<p;Ef++)bf+="/"+Xf[Ef];if(!bf||Kf&&!bf.endsWith("/.."))bf+="/";P.path=bf}function b(P,L){if(!P&&!L)return"";let w=S(P),Xf=w.type;if(L&&Xf!==7){let Jf=S(L),Kf=Jf.type;switch(Xf){case 1:w.hash=Jf.hash;case 2:w.query=Jf.query;case 3:case 4:A(w,Jf);case 5:w.user=Jf.user,w.host=Jf.host,w.port=Jf.port;case 6:w.scheme=Jf.scheme}if(Kf>Xf)Xf=Kf}O(w,Xf);let p=w.query+w.hash;switch(Xf){case 2:case 3:return p;case 4:{let Jf=w.path.slice(1);if(!Jf)return p||".";if(H(L||P)&&!H(Jf))return"./"+Jf+p;return Jf+p}case 5:return w.path+p;default:return w.scheme+"//"+w.user+w.host+w.port+w.path+p}}return b})});var c2=D((DX,o6)=>{(function(f,G){typeof DX==="object"&&typeof o6!=="undefined"?G(DX,x2(),n6()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.traceMapping={},f.sourcemapCodec,f.resolveURI))})(DX,function(f,G,X){function J(I,E){if(E&&!E.endsWith("/"))E+="/";return X(I,E)}function W(I){if(!I)return"";let E=I.lastIndexOf("/");return I.slice(0,E+1)}let R=0,V=1,H=2,U=3,Q=4,Y=1,S=2;function C(I,E){let k=A(I,0);if(k===I.length)return I;if(!E)I=I.slice();for(let m=k;m<I.length;m=A(I,m+1))I[m]=b(I[m],E);return I}function A(I,E){for(let k=E;k<I.length;k++)if(!O(I[k]))return k;return I.length}function O(I){for(let E=1;E<I.length;E++)if(I[E][R]<I[E-1][R])return!1;return!0}function b(I,E){if(!E)I=I.slice();return I.sort(P)}function P(I,E){return I[R]-E[R]}let L=!1;function w(I,E,k,m){while(k<=m){let Vf=k+(m-k>>1),d=I[Vf][R]-E;if(d===0)return L=!0,Vf;if(d<0)k=Vf+1;else m=Vf-1}return L=!1,k-1}function Xf(I,E,k){for(let m=k+1;m<I.length;k=m++)if(I[m][R]!==E)break;return k}function p(I,E,k){for(let m=k-1;m>=0;k=m--)if(I[m][R]!==E)break;return k}function Jf(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Kf(I,E,k,m){let{lastKey:Vf,lastNeedle:d,lastIndex:Ff}=k,Cf=0,Yf=I.length-1;if(m===Vf){if(E===d)return L=Ff!==-1&&I[Ff][R]===E,Ff;if(E>=d)Cf=Ff===-1?0:Ff;else Yf=Ff}return k.lastKey=m,k.lastNeedle=E,k.lastIndex=w(I,E,Cf,Yf)}function bf(I,E){let k=E.map(y);for(let m=0;m<I.length;m++){let Vf=I[m];for(let d=0;d<Vf.length;d++){let Ff=Vf[d];if(Ff.length===1)continue;let Cf=Ff[V],Yf=Ff[H],jf=Ff[U],cf=k[Cf],If=cf[Yf]||(cf[Yf]=[]),wf=E[Cf],sf=Xf(If,jf,Kf(If,jf,wf,Yf));wf.lastIndex=++sf,Ef(If,sf,[jf,m,Ff[R]])}}return k}function Ef(I,E,k){for(let m=I.length;m>E;m--)I[m]=I[m-1];I[E]=k}function y(){return{__proto__:null}}let x=function(I,E){let k=T(I);if(!("sections"in k))return new ff(k,E);let m=[],Vf=[],d=[],Ff=[],Cf=[];l(k,E,m,Vf,d,Ff,Cf,0,0,1/0,1/0);let Yf={version:3,file:k.file,names:Ff,sources:Vf,sourcesContent:d,mappings:m,ignoreList:Cf};return CG(Yf)};function T(I){return typeof I==="string"?JSON.parse(I):I}function l(I,E,k,m,Vf,d,Ff,Cf,Yf,jf,cf){let{sections:If}=I;for(let wf=0;wf<If.length;wf++){let{map:sf,offset:YG}=If[wf],aG=jf,Z1=cf;if(wf+1<If.length){let Y1=If[wf+1].offset;if(aG=Math.min(jf,Cf+Y1.line),aG===jf)Z1=Math.min(cf,Yf+Y1.column);else if(aG<jf)Z1=Yf+Y1.column}Rf(sf,E,k,m,Vf,d,Ff,Cf+YG.line,Yf+YG.column,aG,Z1)}}function Rf(I,E,k,m,Vf,d,Ff,Cf,Yf,jf,cf){let If=T(I);if("sections"in If)return l(...arguments);let wf=new ff(If,E),sf=m.length,YG=d.length,aG=Zf(wf),{resolvedSources:Z1,sourcesContent:Y1,ignoreList:_2}=wf;if(zf(m,Z1),zf(d,wf.names),Y1)zf(Vf,Y1);else for(let nf=0;nf<Z1.length;nf++)Vf.push(null);if(_2)for(let nf=0;nf<_2.length;nf++)Ff.push(_2[nf]+sf);for(let nf=0;nf<aG.length;nf++){let u2=Cf+nf;if(u2>jf)return;let y6=u(k,u2),X5=nf===0?Yf:0,x6=aG[nf];for(let h2=0;h2<x6.length;h2++){let iG=x6[h2],AX=X5+iG[R];if(u2===jf&&AX>=cf)return;if(iG.length===1){y6.push([AX]);continue}let m6=sf+iG[V],l6=iG[H],c6=iG[U];y6.push(iG.length===4?[AX,m6,l6,c6]:[AX,m6,l6,c6,YG+iG[Q]])}}}function zf(I,E){for(let k=0;k<E.length;k++)I.push(E[k])}function u(I,E){for(let k=I.length;k<=E;k++)I[k]=[];return I[E]}let g="`line` must be greater than 0 (lines start at line 1)",c="`column` must be greater than or equal to 0 (columns start at column 0)",a=-1,e=1;class ff{constructor(I,E){let k=typeof I==="string";if(!k&&I._decodedMemo)return I;let m=k?JSON.parse(I):I,{version:Vf,file:d,names:Ff,sourceRoot:Cf,sources:Yf,sourcesContent:jf}=m;this.version=Vf,this.file=d,this.names=Ff||[],this.sourceRoot=Cf,this.sources=Yf,this.sourcesContent=jf,this.ignoreList=m.ignoreList||m.x_google_ignoreList||void 0;let cf=J(Cf||"",W(E));this.resolvedSources=Yf.map((wf)=>J(wf||"",cf));let{mappings:If}=m;if(typeof If==="string")this._encoded=If,this._decoded=void 0;else this._encoded=void 0,this._decoded=C(If,k);this._decodedMemo=Jf(),this._bySources=void 0,this._bySourceMemos=void 0}}function o(I){return I}function Wf(I){var E,k;return(E=(k=o(I))._encoded)!==null&&E!==void 0?E:k._encoded=G.encode(o(I)._decoded)}function Zf(I){var E;return(E=o(I))._decoded||(E._decoded=G.decode(o(I)._encoded))}function vf(I,E,k){let m=Zf(I);if(E>=m.length)return null;let Vf=m[E],d=CX(Vf,o(I)._decodedMemo,E,k,e);return d===-1?null:Vf[d]}function RG(I,E){let{line:k,column:m,bias:Vf}=E;if(k--,k<0)throw new Error(g);if(m<0)throw new Error(c);let d=Zf(I);if(k>=d.length)return qX(null,null,null,null);let Ff=d[k],Cf=CX(Ff,o(I)._decodedMemo,k,m,Vf||e);if(Cf===-1)return qX(null,null,null,null);let Yf=Ff[Cf];if(Yf.length===1)return qX(null,null,null,null);let{names:jf,resolvedSources:cf}=I;return qX(cf[Yf[V]],Yf[H]+1,Yf[U],Yf.length===5?jf[Yf[Q]]:null)}function pf(I,E){let{source:k,line:m,column:Vf,bias:d}=E;return h6(I,k,m,Vf,d||e,!1)}function tf(I,E){let{source:k,line:m,column:Vf,bias:d}=E;return h6(I,k,m,Vf,d||a,!0)}function ZG(I,E){let k=Zf(I),{names:m,resolvedSources:Vf}=I;for(let d=0;d<k.length;d++){let Ff=k[d];for(let Cf=0;Cf<Ff.length;Cf++){let Yf=Ff[Cf],jf=d+1,cf=Yf[0],If=null,wf=null,sf=null,YG=null;if(Yf.length!==1)If=Vf[Yf[1]],wf=Yf[2]+1,sf=Yf[3];if(Yf.length===5)YG=m[Yf[4]];E({generatedLine:jf,generatedColumn:cf,source:If,originalLine:wf,originalColumn:sf,name:YG})}}}function VG(I,E){let{sources:k,resolvedSources:m}=I,Vf=k.indexOf(E);if(Vf===-1)Vf=m.indexOf(E);return Vf}function _f(I,E){let{sourcesContent:k}=I;if(k==null)return null;let m=VG(I,E);return m===-1?null:k[m]}function kf(I,E){let{ignoreList:k}=I;if(k==null)return!1;let m=VG(I,E);return m===-1?!1:k.includes(m)}function CG(I,E){let k=new ff(k1(I,[]),E);return o(k)._decoded=I.mappings,k}function cG(I){return k1(I,Zf(I))}function g2(I){return k1(I,Wf(I))}function k1(I,E){return{version:I.version,file:I.file,names:I.names,sourceRoot:I.sourceRoot,sources:I.sources,sourcesContent:I.sourcesContent,mappings:E,ignoreList:I.ignoreList||I.x_google_ignoreList}}function qX(I,E,k,m){return{source:I,line:E,column:k,name:m}}function v1(I,E){return{line:I,column:E}}function CX(I,E,k,m,Vf){let d=Kf(I,m,E,k);if(L)d=(Vf===a?Xf:p)(I,m,d);else if(Vf===a)d++;if(d===-1||d===I.length)return-1;return d}function G5(I,E,k,m,Vf){let d=CX(I,E,k,m,e);if(!L&&Vf===a)d++;if(d===-1||d===I.length)return[];let Ff=L?m:I[d][R];if(!L)d=p(I,Ff,d);let Cf=Xf(I,Ff,d),Yf=[];for(;d<=Cf;d++){let jf=I[d];Yf.push(v1(jf[Y]+1,jf[S]))}return Yf}function h6(I,E,k,m,Vf,d){var Ff;if(k--,k<0)throw new Error(g);if(m<0)throw new Error(c);let{sources:Cf,resolvedSources:Yf}=I,jf=Cf.indexOf(E);if(jf===-1)jf=Yf.indexOf(E);if(jf===-1)return d?[]:v1(null,null);let If=((Ff=o(I))._bySources||(Ff._bySources=bf(Zf(I),o(I)._bySourceMemos=Cf.map(Jf))))[jf][k];if(If==null)return d?[]:v1(null,null);let wf=o(I)._bySourceMemos[jf];if(d)return G5(If,wf,k,m,Vf);let sf=CX(If,wf,k,m,Vf);if(sf===-1)return v1(null,null);let YG=If[sf];return v1(YG[Y]+1,YG[S])}f.AnyMap=x,f.GREATEST_LOWER_BOUND=e,f.LEAST_UPPER_BOUND=a,f.TraceMap=ff,f.allGeneratedPositionsFor=tf,f.decodedMap=cG,f.decodedMappings=Zf,f.eachMapping=ZG,f.encodedMap=g2,f.encodedMappings=Wf,f.generatedPositionFor=pf,f.isIgnored=kf,f.originalPositionFor=RG,f.presortedDecodedMap=CG,f.sourceContentFor=_f,f.traceSegment=vf})});var fR=D((IX,e6)=>{(function(f,G){typeof IX==="object"&&typeof e6!=="undefined"?G(IX,d6(),x2(),c2()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],G):(f=typeof globalThis!=="undefined"?globalThis:f||self,G(f.genMapping={},f.setArray,f.sourcemapCodec,f.traceMapping))})(IX,function(f,G,X,J){class Y{constructor({file:u,sourceRoot:g}={}){this._names=new G.SetArray,this._sources=new G.SetArray,this._sourcesContent=[],this._mappings=[],this.file=u,this.sourceRoot=g,this._ignoreList=new G.SetArray}}function S(u){return u}function C(u,g,c,a,e,ff,o,Wf){return Kf(!1,u,g,c,a,e,ff,o,Wf)}function A(u,g){return zf(!1,u,g)}let O=(u,g,c,a,e,ff,o,Wf)=>{return Kf(!0,u,g,c,a,e,ff,o,Wf)},b=(u,g)=>{return zf(!0,u,g)};function P(u,g,c){let{_sources:a,_sourcesContent:e}=S(u),ff=G.put(a,g);e[ff]=c}function L(u,g,c=!0){let{_sources:a,_sourcesContent:e,_ignoreList:ff}=S(u),o=G.put(a,g);if(o===e.length)e[o]=null;if(c)G.put(ff,o);else G.remove(ff,o)}function w(u){let{_mappings:g,_sources:c,_sourcesContent:a,_names:e,_ignoreList:ff}=S(u);return x(g),{version:3,file:u.file||void 0,names:e.array,sourceRoot:u.sourceRoot||void 0,sources:c.array,sourcesContent:a,mappings:g,ignoreList:ff.array}}function Xf(u){let g=w(u);return Object.assign(Object.assign({},g),{mappings:X.encode(g.mappings)})}function p(u){let g=new J.TraceMap(u),c=new Y({file:g.file,sourceRoot:g.sourceRoot});if(T(S(c)._names,g.names),T(S(c)._sources,g.sources),S(c)._sourcesContent=g.sourcesContent||g.sources.map(()=>null),S(c)._mappings=J.decodedMappings(g),g.ignoreList)T(S(c)._ignoreList,g.ignoreList);return c}function Jf(u){let g=[],{_mappings:c,_sources:a,_names:e}=S(u);for(let ff=0;ff<c.length;ff++){let o=c[ff];for(let Wf=0;Wf<o.length;Wf++){let Zf=o[Wf],vf={line:ff+1,column:Zf[0]},RG=void 0,pf=void 0,tf=void 0;if(Zf.length!==1){if(RG=a.array[Zf[1]],pf={line:Zf[2]+1,column:Zf[3]},Zf.length===5)tf=e.array[Zf[4]]}g.push({generated:vf,source:RG,original:pf,name:tf})}}return g}function Kf(u,g,c,a,e,ff,o,Wf,Zf){let{_mappings:vf,_sources:RG,_sourcesContent:pf,_names:tf}=S(g),ZG=bf(vf,c),VG=Ef(ZG,a);if(!e){if(u&&l(ZG,VG))return;return y(ZG,VG,[a])}let _f=G.put(RG,e),kf=Wf?G.put(tf,Wf):-1;if(_f===pf.length)pf[_f]=Zf!==null&&Zf!==void 0?Zf:null;if(u&&Rf(ZG,VG,_f,ff,o,kf))return;return y(ZG,VG,Wf?[a,_f,ff,o,kf]:[a,_f,ff,o])}function bf(u,g){for(let c=u.length;c<=g;c++)u[c]=[];return u[g]}function Ef(u,g){let c=u.length;for(let a=c-1;a>=0;c=a--){let e=u[a];if(g>=e[0])break}return c}function y(u,g,c){for(let a=u.length;a>g;a--)u[a]=u[a-1];u[g]=c}function x(u){let{length:g}=u,c=g;for(let a=c-1;a>=0;c=a,a--)if(u[a].length>0)break;if(c<g)u.length=c}function T(u,g){for(let c=0;c<g.length;c++)G.put(u,g[c])}function l(u,g){if(g===0)return!0;return u[g-1].length===1}function Rf(u,g,c,a,e,ff){if(g===0)return!1;let o=u[g-1];if(o.length===1)return!1;return c===o[1]&&a===o[2]&&e===o[3]&&ff===(o.length===5?o[4]:-1)}function zf(u,g,c){let{generated:a,source:e,original:ff,name:o,content:Wf}=c;if(!e)return Kf(u,g,a.line-1,a.column,null,null,null,null,null);return Kf(u,g,a.line-1,a.column,e,ff.line-1,ff.column,o,Wf)}f.GenMapping=Y,f.addMapping=A,f.addSegment=C,f.allMappings=Jf,f.fromMap=p,f.maybeAddMapping=b,f.maybeAddSegment=O,f.setIgnore=L,f.setSourceContent=P,f.toDecodedMap=w,f.toEncodedMap=Xf,Object.defineProperty(f,"__esModule",{value:!0})})});var WR=D((XR)=>{Object.defineProperty(XR,"__esModule",{value:!0});XR.default=void 0;var wG=fR(),a2=c2();class GR{constructor(f,G){var X;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 J=this._map=new wG.GenMapping({sourceRoot:f.sourceRoot});if(this._sourceFileName=(X=f.sourceFileName)==null?void 0:X.replace(/\\/g,"/"),this._rawMappings=void 0,f.inputSourceMap){this._inputMap=new a2.TraceMap(f.inputSourceMap);let R=this._inputMap.resolvedSources;if(R.length)for(let V=0;V<R.length;V++){var W;wG.setSourceContent(J,R[V],(W=this._inputMap.sourcesContent)==null?void 0:W[V])}}if(typeof G==="string"&&!f.inputSourceMap)wG.setSourceContent(J,this._sourceFileName,G);else if(typeof G==="object")for(let R of Object.keys(G))wG.setSourceContent(J,R.replace(/\\/g,"/"),G[R])}get(){return wG.toEncodedMap(this._map)}getDecoded(){return wG.toDecodedMap(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=wG.allMappings(this._map))}mark(f,G,X,J,W,R){var V;this._rawMappings=void 0;let H;if(G!=null)if(this._inputMap){if(H=a2.originalPositionFor(this._inputMap,{line:G,column:X}),!H.name&&W){let U=a2.originalPositionFor(this._inputMap,W);if(U.name)J=U.name}}else H={source:(R==null?void 0:R.replace(/\\/g,"/"))||this._sourceFileName,line:G,column:X};wG.maybeAddMapping(this._map,{name:J,generated:f,source:(V=H)==null?void 0:V.source,original:H})}}XR.default=GR});var UR=D((VR)=>{Object.defineProperty(VR,"__esModule",{value:!0});VR.default=void 0;class RR{constructor(f,G){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=f,this._indentChar=G;for(let X=0;X<64;X++)this._fastIndentations.push(G.repeat(X));this._allocQueue()}_allocQueue(){let f=this._queue;for(let G=0;G<16;G++)f.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(f,G,X,J,W){let R=this._queueCursor;if(R===this._queue.length)this._allocQueue();let V=this._queue[R];V.char=f,V.repeat=G,V.line=X,V.column=J,V.filename=W,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let f=this._map,G={code:(this._buf+this._str).trimRight(),decodedMap:f==null?void 0:f.getDecoded(),get __mergedMap(){return this.map},get map(){let X=f?f.get():null;return G.map=X,X},set map(X){Object.defineProperty(G,"map",{value:X,writable:!0})},get rawMappings(){let X=f==null?void 0:f.getRawMappings();return G.rawMappings=X,X},set rawMappings(X){Object.defineProperty(G,"rawMappings",{value:X,writable:!0})}};return G}append(f,G){this._flush(),this._append(f,this._sourcePosition,G)}appendChar(f){this._flush(),this._appendChar(f,1,this._sourcePosition)}queue(f){if(f===10)while(this._queueCursor!==0){let X=this._queue[this._queueCursor-1].char;if(X!==32&&X!==9)break;this._queueCursor--}let G=this._sourcePosition;this._pushQueue(f,1,G.line,G.column,G.filename)}queueIndentation(f){if(f===0)return;this._pushQueue(-1,f,void 0,void 0,void 0)}_flush(){let f=this._queueCursor,G=this._queue;for(let X=0;X<f;X++){let J=G[X];this._appendChar(J.char,J.repeat,J)}this._queueCursor=0}_appendChar(f,G,X){if(this._last=f,f===-1){let J=this._fastIndentations[G];if(J!==void 0)this._str+=J;else this._str+=G>1?this._indentChar.repeat(G):this._indentChar}else this._str+=G>1?String.fromCharCode(f).repeat(G):String.fromCharCode(f);if(f!==10)this._mark(X.line,X.column,X.identifierName,X.identifierNamePos,X.filename),this._position.column+=G;else this._position.line++,this._position.column=0;if(this._canMarkIdName)X.identifierName=void 0,X.identifierNamePos=void 0}_append(f,G,X){let J=f.length,W=this._position;if(this._last=f.charCodeAt(J-1),++this._appendCount>4096)+this._str,this._buf+=this._str,this._str=f,this._appendCount=0;else this._str+=f;if(!X&&!this._map){W.column+=J;return}let{column:R,identifierName:V,identifierNamePos:H,filename:U}=G,Q=G.line;if((V!=null||H!=null)&&this._canMarkIdName)G.identifierName=void 0,G.identifierNamePos=void 0;let Y=f.indexOf(`
3
3
  `),S=0;if(Y!==0)this._mark(Q,R,V,H,U);while(Y!==-1){if(W.line++,W.column=0,S=Y+1,S<J&&Q!==void 0)this._mark(++Q,0,null,null,U);Y=f.indexOf(`
4
- `,S)}W.column+=J-S}_mark(f,G,X,J,W){var R;(R=this._map)==null||R.mark(this._position,f,G,X,J,W)}removeTrailingNewline(){let f=this._queueCursor;if(f!==0&&this._queue[f-1].char===10)this._queueCursor--}removeLastSemicolon(){let f=this._queueCursor;if(f!==0&&this._queue[f-1].char===59)this._queueCursor--}getLastChar(){let f=this._queueCursor;return f!==0?this._queue[f-1].char:this._last}getNewlineCount(){let f=this._queueCursor,G=0;if(f===0)return this._last===10?1:0;for(let X=f-1;X>=0;X--){if(this._queue[X].char!==10)break;G++}return G===f&&this._last===10?G+1:G}endsWithCharAndNewline(){let f=this._queue,G=this._queueCursor;if(G!==0){if(f[G-1].char!==10)return;if(G>1)return f[G-2].char;else return this._last}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(f,G){if(!this._map){G();return}this.source("start",f);let X=f.identifierName,J=this._sourcePosition;if(X)this._canMarkIdName=!1,J.identifierName=X;if(G(),X)this._canMarkIdName=!0,J.identifierName=void 0,J.identifierNamePos=void 0;this.source("end",f)}source(f,G){if(!this._map)return;this._normalizePosition(f,G,0)}sourceWithOffset(f,G,X){if(!this._map)return;this._normalizePosition(f,G,X)}_normalizePosition(f,G,X){let J=G[f],W=this._sourcePosition;if(J)W.line=J.line,W.column=Math.max(J.column+X,0),W.filename=G.filename}getCurrentColumn(){let f=this._queue,G=this._queueCursor,X=-1,J=0;for(let W=0;W<G;W++){let R=f[W];if(R.char===10)X=J;J+=R.repeat}return X===-1?this._position.column+J:J-1-X}getCurrentLine(){let f=0,G=this._queue;for(let X=0;X<this._queueCursor;X++)if(G[X].char===10)f++;return this._position.line+f}}V0.default=R0});var IX=D((Q0)=>{Object.defineProperty(Q0,"__esModule",{value:!0});Q0.default=Q5;function Q5(f,G){let X=Object.keys(G);for(let J of X)if(f[J]!==G[J])return!1;return!0}});var _1=D((Y0)=>{Object.defineProperty(Y0,"__esModule",{value:!0});Y0.default=Y5;var Z0=new Set;function Y5(f,G,X=""){if(Z0.has(f))return;Z0.add(f);let{internal:J,trace:W}=z5(1,2);if(J)return;console.warn(`${X}\`${f}\` has been deprecated, please migrate to \`${G}\`
4
+ `,S)}W.column+=J-S}_mark(f,G,X,J,W){var R;(R=this._map)==null||R.mark(this._position,f,G,X,J,W)}removeTrailingNewline(){let f=this._queueCursor;if(f!==0&&this._queue[f-1].char===10)this._queueCursor--}removeLastSemicolon(){let f=this._queueCursor;if(f!==0&&this._queue[f-1].char===59)this._queueCursor--}getLastChar(){let f=this._queueCursor;return f!==0?this._queue[f-1].char:this._last}getNewlineCount(){let f=this._queueCursor,G=0;if(f===0)return this._last===10?1:0;for(let X=f-1;X>=0;X--){if(this._queue[X].char!==10)break;G++}return G===f&&this._last===10?G+1:G}endsWithCharAndNewline(){let f=this._queue,G=this._queueCursor;if(G!==0){if(f[G-1].char!==10)return;if(G>1)return f[G-2].char;else return this._last}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(f,G){if(!this._map){G();return}this.source("start",f);let X=f.identifierName,J=this._sourcePosition;if(X)this._canMarkIdName=!1,J.identifierName=X;if(G(),X)this._canMarkIdName=!0,J.identifierName=void 0,J.identifierNamePos=void 0;this.source("end",f)}source(f,G){if(!this._map)return;this._normalizePosition(f,G,0)}sourceWithOffset(f,G,X){if(!this._map)return;this._normalizePosition(f,G,X)}_normalizePosition(f,G,X){let J=G[f],W=this._sourcePosition;if(J)W.line=J.line,W.column=Math.max(J.column+X,0),W.filename=G.filename}getCurrentColumn(){let f=this._queue,G=this._queueCursor,X=-1,J=0;for(let W=0;W<G;W++){let R=f[W];if(R.char===10)X=J;J+=R.repeat}return X===-1?this._position.column+J:J-1-X}getCurrentLine(){let f=0,G=this._queue;for(let X=0;X<this._queueCursor;X++)if(G[X].char===10)f++;return this._position.line+f}}VR.default=RR});var PX=D((QR)=>{Object.defineProperty(QR,"__esModule",{value:!0});QR.default=Q5;function Q5(f,G){let X=Object.keys(G);for(let J of X)if(f[J]!==G[J])return!1;return!0}});var _1=D((YR)=>{Object.defineProperty(YR,"__esModule",{value:!0});YR.default=Y5;var ZR=new Set;function Y5(f,G,X=""){if(ZR.has(f))return;ZR.add(f);let{internal:J,trace:W}=z5(1,2);if(J)return;console.warn(`${X}\`${f}\` has been deprecated, please migrate to \`${G}\`
5
5
  ${W}`)}function z5(f,G){let{stackTraceLimit:X,prepareStackTrace:J}=Error,W;if(Error.stackTraceLimit=1+f+G,Error.prepareStackTrace=function(V,H){W=H},new Error().stack,Error.stackTraceLimit=X,Error.prepareStackTrace=J,!W)return{internal:!1,trace:""};let R=W.slice(1+f,1+f+G);return{internal:/[\\/]@babel[\\/]/.test(R[1].getFileName()),trace:R.map((V)=>` at ${V}`).join(`
6
- `)}}});var Nf=D((B0)=>{Object.defineProperty(B0,"__esModule",{value:!0});B0.isAccessor=LB;B0.isAnyTypeAnnotation=sZ;B0.isArgumentPlaceholder=O3;B0.isArrayExpression=M5;B0.isArrayPattern=zZ;B0.isArrayTypeAnnotation=dZ;B0.isArrowFunctionExpression=BZ;B0.isAssignmentExpression=K5;B0.isAssignmentPattern=YZ;B0.isAwaitExpression=_Z;B0.isBigIntLiteral=hZ;B0.isBinary=oz;B0.isBinaryExpression=F5;B0.isBindExpression=D3;B0.isBlock=GB;B0.isBlockParent=fB;B0.isBlockStatement=C5;B0.isBooleanLiteral=m5;B0.isBooleanLiteralTypeAnnotation=nZ;B0.isBooleanTypeAnnotation=tZ;B0.isBreakStatement=A5;B0.isCallExpression=j5;B0.isCatchClause=O5;B0.isClass=IB;B0.isClassAccessorProperty=cZ;B0.isClassBody=MZ;B0.isClassDeclaration=FZ;B0.isClassExpression=KZ;B0.isClassImplements=eZ;B0.isClassMethod=TZ;B0.isClassPrivateMethod=iZ;B0.isClassPrivateProperty=aZ;B0.isClassProperty=lZ;B0.isCompletionStatement=WB;B0.isConditional=RB;B0.isConditionalExpression=D5;B0.isContinueStatement=P5;B0.isDebuggerStatement=I5;B0.isDecimalLiteral=w3;B0.isDeclaration=MB;B0.isDeclareClass=fY;B0.isDeclareExportAllDeclaration=QY;B0.isDeclareExportDeclaration=UY;B0.isDeclareFunction=GY;B0.isDeclareInterface=XY;B0.isDeclareModule=JY;B0.isDeclareModuleExports=WY;B0.isDeclareOpaqueType=VY;B0.isDeclareTypeAlias=RY;B0.isDeclareVariable=HY;B0.isDeclaredPredicate=ZY;B0.isDecorator=I3;B0.isDirective=$5;B0.isDirectiveLiteral=q5;B0.isDoExpression=N3;B0.isDoWhileStatement=N5;B0.isEmptyStatement=T5;B0.isEmptyTypeAnnotation=AY;B0.isEnumBody=_B;B0.isEnumBooleanBody=dY;B0.isEnumBooleanMember=eY;B0.isEnumDeclaration=sY;B0.isEnumDefaultedMember=X3;B0.isEnumMember=uB;B0.isEnumNumberBody=tY;B0.isEnumNumberMember=f3;B0.isEnumStringBody=nY;B0.isEnumStringMember=G3;B0.isEnumSymbolBody=oY;B0.isExistsTypeAnnotation=YY;B0.isExportAllDeclaration=SZ;B0.isExportDeclaration=NB;B0.isExportDefaultDeclaration=$Z;B0.isExportDefaultSpecifier=T3;B0.isExportNamedDeclaration=qZ;B0.isExportNamespaceSpecifier=yZ;B0.isExportSpecifier=CZ;B0.isExpression=nz;B0.isExpressionStatement=L5;B0.isExpressionWrapper=UB;B0.isFile=b5;B0.isFlow=wB;B0.isFlowBaseAnnotation=kB;B0.isFlowDeclaration=vB;B0.isFlowPredicate=gB;B0.isFlowType=EB;B0.isFor=QB;B0.isForInStatement=w5;B0.isForOfStatement=AZ;B0.isForStatement=E5;B0.isForXStatement=ZB;B0.isFunction=YB;B0.isFunctionDeclaration=k5;B0.isFunctionExpression=v5;B0.isFunctionParent=zB;B0.isFunctionTypeAnnotation=zY;B0.isFunctionTypeParam=BY;B0.isGenericTypeAnnotation=MY;B0.isIdentifier=g5;B0.isIfStatement=_5;B0.isImmutable=qB;B0.isImport=uZ;B0.isImportAttribute=P3;B0.isImportDeclaration=jZ;B0.isImportDefaultSpecifier=OZ;B0.isImportExpression=IZ;B0.isImportNamespaceSpecifier=DZ;B0.isImportOrExportDeclaration=z0;B0.isImportSpecifier=PZ;B0.isIndexedAccessType=J3;B0.isInferredPredicate=KY;B0.isInterfaceDeclaration=SY;B0.isInterfaceExtends=FY;B0.isInterfaceTypeAnnotation=$Y;B0.isInterpreterDirective=S5;B0.isIntersectionTypeAnnotation=qY;B0.isJSX=hB;B0.isJSXAttribute=R3;B0.isJSXClosingElement=V3;B0.isJSXClosingFragment=q3;B0.isJSXElement=H3;B0.isJSXEmptyExpression=U3;B0.isJSXExpressionContainer=Q3;B0.isJSXFragment=S3;B0.isJSXIdentifier=Y3;B0.isJSXMemberExpression=z3;B0.isJSXNamespacedName=B3;B0.isJSXOpeningElement=M3;B0.isJSXOpeningFragment=$3;B0.isJSXSpreadAttribute=K3;B0.isJSXSpreadChild=Z3;B0.isJSXText=F3;B0.isLVal=FB;B0.isLabeledStatement=u5;B0.isLiteral=$B;B0.isLogicalExpression=c5;B0.isLoop=VB;B0.isMemberExpression=a5;B0.isMetaProperty=NZ;B0.isMethod=AB;B0.isMiscellaneous=yB;B0.isMixedTypeAnnotation=CY;B0.isModuleDeclaration=sB;B0.isModuleExpression=E3;B0.isModuleSpecifier=TB;B0.isNewExpression=i5;B0.isNoop=C3;B0.isNullLiteral=x5;B0.isNullLiteralTypeAnnotation=oZ;B0.isNullableTypeAnnotation=jY;B0.isNumberLiteral=aB;B0.isNumberLiteralTypeAnnotation=OY;B0.isNumberTypeAnnotation=DY;B0.isNumericLiteral=y5;B0.isObjectExpression=p5;B0.isObjectMember=jB;B0.isObjectMethod=s5;B0.isObjectPattern=LZ;B0.isObjectProperty=d5;B0.isObjectTypeAnnotation=PY;B0.isObjectTypeCallProperty=NY;B0.isObjectTypeIndexer=TY;B0.isObjectTypeInternalSlot=IY;B0.isObjectTypeProperty=LY;B0.isObjectTypeSpreadProperty=bY;B0.isOpaqueType=wY;B0.isOptionalCallExpression=mZ;B0.isOptionalIndexedAccessType=W3;B0.isOptionalMemberExpression=xZ;B0.isParenthesizedExpression=e5;B0.isPattern=PB;B0.isPatternLike=KB;B0.isPipelineBareFunction=g3;B0.isPipelinePrimaryTopicReference=_3;B0.isPipelineTopicExpression=v3;B0.isPlaceholder=A3;B0.isPrivate=bB;B0.isPrivateName=rZ;B0.isProgram=r5;B0.isProperty=OB;B0.isPureish=BB;B0.isQualifiedTypeIdentifier=EY;B0.isRecordExpression=L3;B0.isRegExpLiteral=l5;B0.isRegexLiteral=iB;B0.isRestElement=t5;B0.isRestProperty=rB;B0.isReturnStatement=n5;B0.isScopable=ez;B0.isSequenceExpression=o5;B0.isSpreadElement=bZ;B0.isSpreadProperty=pB;B0.isStandardized=tz;B0.isStatement=XB;B0.isStaticBlock=pZ;B0.isStringLiteral=h5;B0.isStringLiteralTypeAnnotation=kY;B0.isStringTypeAnnotation=vY;B0.isSuper=wZ;B0.isSwitchCase=fZ;B0.isSwitchStatement=GZ;B0.isSymbolTypeAnnotation=gY;B0.isTSAnyKeyword=r3;B0.isTSArrayType=zz;B0.isTSAsExpression=Ez;B0.isTSBaseType=cB;B0.isTSBigIntKeyword=s3;B0.isTSBooleanKeyword=p3;B0.isTSCallSignatureDeclaration=m3;B0.isTSConditionalType=qz;B0.isTSConstructSignatureDeclaration=l3;B0.isTSConstructorType=Hz;B0.isTSDeclareFunction=h3;B0.isTSDeclareMethod=y3;B0.isTSEntityName=SB;B0.isTSEnumBody=gz;B0.isTSEnumDeclaration=_z;B0.isTSEnumMember=uz;B0.isTSExportAssignment=az;B0.isTSExpressionWithTypeArguments=Nz;B0.isTSExternalModuleReference=lz;B0.isTSFunctionType=Vz;B0.isTSImportEqualsDeclaration=mz;B0.isTSImportType=xz;B0.isTSIndexSignature=i3;B0.isTSIndexedAccessType=Oz;B0.isTSInferType=Cz;B0.isTSInstantiationExpression=wz;B0.isTSInterfaceBody=Lz;B0.isTSInterfaceDeclaration=Tz;B0.isTSIntersectionType=$z;B0.isTSIntrinsicKeyword=d3;B0.isTSLiteralType=Iz;B0.isTSMappedType=Dz;B0.isTSMethodSignature=a3;B0.isTSModuleBlock=yz;B0.isTSModuleDeclaration=hz;B0.isTSNamedTupleMember=Fz;B0.isTSNamespaceExportDeclaration=iz;B0.isTSNeverKeyword=t3;B0.isTSNonNullExpression=cz;B0.isTSNullKeyword=n3;B0.isTSNumberKeyword=o3;B0.isTSObjectKeyword=e3;B0.isTSOptionalType=Mz;B0.isTSParameterProperty=u3;B0.isTSParenthesizedType=Az;B0.isTSPropertySignature=c3;B0.isTSQualifiedName=x3;B0.isTSRestType=Kz;B0.isTSSatisfiesExpression=kz;B0.isTSStringKeyword=fz;B0.isTSSymbolKeyword=Gz;B0.isTSTemplateLiteralType=Pz;B0.isTSThisType=Rz;B0.isTSTupleType=Bz;B0.isTSType=lB;B0.isTSTypeAliasDeclaration=bz;B0.isTSTypeAnnotation=rz;B0.isTSTypeAssertion=vz;B0.isTSTypeElement=mB;B0.isTSTypeLiteral=Yz;B0.isTSTypeOperator=jz;B0.isTSTypeParameter=dz;B0.isTSTypeParameterDeclaration=sz;B0.isTSTypeParameterInstantiation=pz;B0.isTSTypePredicate=Qz;B0.isTSTypeQuery=Zz;B0.isTSTypeReference=Uz;B0.isTSUndefinedKeyword=Xz;B0.isTSUnionType=Sz;B0.isTSUnknownKeyword=Jz;B0.isTSVoidKeyword=Wz;B0.isTaggedTemplateExpression=EZ;B0.isTemplateElement=kZ;B0.isTemplateLiteral=vZ;B0.isTerminatorless=JB;B0.isThisExpression=XZ;B0.isThisTypeAnnotation=_Y;B0.isThrowStatement=JZ;B0.isTopicReference=k3;B0.isTryStatement=WZ;B0.isTupleExpression=b3;B0.isTupleTypeAnnotation=uY;B0.isTypeAlias=yY;B0.isTypeAnnotation=xY;B0.isTypeCastExpression=mY;B0.isTypeParameter=lY;B0.isTypeParameterDeclaration=cY;B0.isTypeParameterInstantiation=aY;B0.isTypeScript=xB;B0.isTypeofTypeAnnotation=hY;B0.isUnaryExpression=RZ;B0.isUnaryLike=DB;B0.isUnionTypeAnnotation=iY;B0.isUpdateExpression=VZ;B0.isUserWhitespacable=CB;B0.isV8IntrinsicIdentifier=j3;B0.isVariableDeclaration=HZ;B0.isVariableDeclarator=UZ;B0.isVariance=rY;B0.isVoidTypeAnnotation=pY;B0.isWhile=HB;B0.isWhileStatement=QZ;B0.isWithStatement=ZZ;B0.isYieldExpression=gZ;var B=IX(),u1=_1();function M5(f,G){if(!f)return!1;if(f.type!=="ArrayExpression")return!1;return G==null||B.default(f,G)}function K5(f,G){if(!f)return!1;if(f.type!=="AssignmentExpression")return!1;return G==null||B.default(f,G)}function F5(f,G){if(!f)return!1;if(f.type!=="BinaryExpression")return!1;return G==null||B.default(f,G)}function S5(f,G){if(!f)return!1;if(f.type!=="InterpreterDirective")return!1;return G==null||B.default(f,G)}function $5(f,G){if(!f)return!1;if(f.type!=="Directive")return!1;return G==null||B.default(f,G)}function q5(f,G){if(!f)return!1;if(f.type!=="DirectiveLiteral")return!1;return G==null||B.default(f,G)}function C5(f,G){if(!f)return!1;if(f.type!=="BlockStatement")return!1;return G==null||B.default(f,G)}function A5(f,G){if(!f)return!1;if(f.type!=="BreakStatement")return!1;return G==null||B.default(f,G)}function j5(f,G){if(!f)return!1;if(f.type!=="CallExpression")return!1;return G==null||B.default(f,G)}function O5(f,G){if(!f)return!1;if(f.type!=="CatchClause")return!1;return G==null||B.default(f,G)}function D5(f,G){if(!f)return!1;if(f.type!=="ConditionalExpression")return!1;return G==null||B.default(f,G)}function P5(f,G){if(!f)return!1;if(f.type!=="ContinueStatement")return!1;return G==null||B.default(f,G)}function I5(f,G){if(!f)return!1;if(f.type!=="DebuggerStatement")return!1;return G==null||B.default(f,G)}function N5(f,G){if(!f)return!1;if(f.type!=="DoWhileStatement")return!1;return G==null||B.default(f,G)}function T5(f,G){if(!f)return!1;if(f.type!=="EmptyStatement")return!1;return G==null||B.default(f,G)}function L5(f,G){if(!f)return!1;if(f.type!=="ExpressionStatement")return!1;return G==null||B.default(f,G)}function b5(f,G){if(!f)return!1;if(f.type!=="File")return!1;return G==null||B.default(f,G)}function w5(f,G){if(!f)return!1;if(f.type!=="ForInStatement")return!1;return G==null||B.default(f,G)}function E5(f,G){if(!f)return!1;if(f.type!=="ForStatement")return!1;return G==null||B.default(f,G)}function k5(f,G){if(!f)return!1;if(f.type!=="FunctionDeclaration")return!1;return G==null||B.default(f,G)}function v5(f,G){if(!f)return!1;if(f.type!=="FunctionExpression")return!1;return G==null||B.default(f,G)}function g5(f,G){if(!f)return!1;if(f.type!=="Identifier")return!1;return G==null||B.default(f,G)}function _5(f,G){if(!f)return!1;if(f.type!=="IfStatement")return!1;return G==null||B.default(f,G)}function u5(f,G){if(!f)return!1;if(f.type!=="LabeledStatement")return!1;return G==null||B.default(f,G)}function h5(f,G){if(!f)return!1;if(f.type!=="StringLiteral")return!1;return G==null||B.default(f,G)}function y5(f,G){if(!f)return!1;if(f.type!=="NumericLiteral")return!1;return G==null||B.default(f,G)}function x5(f,G){if(!f)return!1;if(f.type!=="NullLiteral")return!1;return G==null||B.default(f,G)}function m5(f,G){if(!f)return!1;if(f.type!=="BooleanLiteral")return!1;return G==null||B.default(f,G)}function l5(f,G){if(!f)return!1;if(f.type!=="RegExpLiteral")return!1;return G==null||B.default(f,G)}function c5(f,G){if(!f)return!1;if(f.type!=="LogicalExpression")return!1;return G==null||B.default(f,G)}function a5(f,G){if(!f)return!1;if(f.type!=="MemberExpression")return!1;return G==null||B.default(f,G)}function i5(f,G){if(!f)return!1;if(f.type!=="NewExpression")return!1;return G==null||B.default(f,G)}function r5(f,G){if(!f)return!1;if(f.type!=="Program")return!1;return G==null||B.default(f,G)}function p5(f,G){if(!f)return!1;if(f.type!=="ObjectExpression")return!1;return G==null||B.default(f,G)}function s5(f,G){if(!f)return!1;if(f.type!=="ObjectMethod")return!1;return G==null||B.default(f,G)}function d5(f,G){if(!f)return!1;if(f.type!=="ObjectProperty")return!1;return G==null||B.default(f,G)}function t5(f,G){if(!f)return!1;if(f.type!=="RestElement")return!1;return G==null||B.default(f,G)}function n5(f,G){if(!f)return!1;if(f.type!=="ReturnStatement")return!1;return G==null||B.default(f,G)}function o5(f,G){if(!f)return!1;if(f.type!=="SequenceExpression")return!1;return G==null||B.default(f,G)}function e5(f,G){if(!f)return!1;if(f.type!=="ParenthesizedExpression")return!1;return G==null||B.default(f,G)}function fZ(f,G){if(!f)return!1;if(f.type!=="SwitchCase")return!1;return G==null||B.default(f,G)}function GZ(f,G){if(!f)return!1;if(f.type!=="SwitchStatement")return!1;return G==null||B.default(f,G)}function XZ(f,G){if(!f)return!1;if(f.type!=="ThisExpression")return!1;return G==null||B.default(f,G)}function JZ(f,G){if(!f)return!1;if(f.type!=="ThrowStatement")return!1;return G==null||B.default(f,G)}function WZ(f,G){if(!f)return!1;if(f.type!=="TryStatement")return!1;return G==null||B.default(f,G)}function RZ(f,G){if(!f)return!1;if(f.type!=="UnaryExpression")return!1;return G==null||B.default(f,G)}function VZ(f,G){if(!f)return!1;if(f.type!=="UpdateExpression")return!1;return G==null||B.default(f,G)}function HZ(f,G){if(!f)return!1;if(f.type!=="VariableDeclaration")return!1;return G==null||B.default(f,G)}function UZ(f,G){if(!f)return!1;if(f.type!=="VariableDeclarator")return!1;return G==null||B.default(f,G)}function QZ(f,G){if(!f)return!1;if(f.type!=="WhileStatement")return!1;return G==null||B.default(f,G)}function ZZ(f,G){if(!f)return!1;if(f.type!=="WithStatement")return!1;return G==null||B.default(f,G)}function YZ(f,G){if(!f)return!1;if(f.type!=="AssignmentPattern")return!1;return G==null||B.default(f,G)}function zZ(f,G){if(!f)return!1;if(f.type!=="ArrayPattern")return!1;return G==null||B.default(f,G)}function BZ(f,G){if(!f)return!1;if(f.type!=="ArrowFunctionExpression")return!1;return G==null||B.default(f,G)}function MZ(f,G){if(!f)return!1;if(f.type!=="ClassBody")return!1;return G==null||B.default(f,G)}function KZ(f,G){if(!f)return!1;if(f.type!=="ClassExpression")return!1;return G==null||B.default(f,G)}function FZ(f,G){if(!f)return!1;if(f.type!=="ClassDeclaration")return!1;return G==null||B.default(f,G)}function SZ(f,G){if(!f)return!1;if(f.type!=="ExportAllDeclaration")return!1;return G==null||B.default(f,G)}function $Z(f,G){if(!f)return!1;if(f.type!=="ExportDefaultDeclaration")return!1;return G==null||B.default(f,G)}function qZ(f,G){if(!f)return!1;if(f.type!=="ExportNamedDeclaration")return!1;return G==null||B.default(f,G)}function CZ(f,G){if(!f)return!1;if(f.type!=="ExportSpecifier")return!1;return G==null||B.default(f,G)}function AZ(f,G){if(!f)return!1;if(f.type!=="ForOfStatement")return!1;return G==null||B.default(f,G)}function jZ(f,G){if(!f)return!1;if(f.type!=="ImportDeclaration")return!1;return G==null||B.default(f,G)}function OZ(f,G){if(!f)return!1;if(f.type!=="ImportDefaultSpecifier")return!1;return G==null||B.default(f,G)}function DZ(f,G){if(!f)return!1;if(f.type!=="ImportNamespaceSpecifier")return!1;return G==null||B.default(f,G)}function PZ(f,G){if(!f)return!1;if(f.type!=="ImportSpecifier")return!1;return G==null||B.default(f,G)}function IZ(f,G){if(!f)return!1;if(f.type!=="ImportExpression")return!1;return G==null||B.default(f,G)}function NZ(f,G){if(!f)return!1;if(f.type!=="MetaProperty")return!1;return G==null||B.default(f,G)}function TZ(f,G){if(!f)return!1;if(f.type!=="ClassMethod")return!1;return G==null||B.default(f,G)}function LZ(f,G){if(!f)return!1;if(f.type!=="ObjectPattern")return!1;return G==null||B.default(f,G)}function bZ(f,G){if(!f)return!1;if(f.type!=="SpreadElement")return!1;return G==null||B.default(f,G)}function wZ(f,G){if(!f)return!1;if(f.type!=="Super")return!1;return G==null||B.default(f,G)}function EZ(f,G){if(!f)return!1;if(f.type!=="TaggedTemplateExpression")return!1;return G==null||B.default(f,G)}function kZ(f,G){if(!f)return!1;if(f.type!=="TemplateElement")return!1;return G==null||B.default(f,G)}function vZ(f,G){if(!f)return!1;if(f.type!=="TemplateLiteral")return!1;return G==null||B.default(f,G)}function gZ(f,G){if(!f)return!1;if(f.type!=="YieldExpression")return!1;return G==null||B.default(f,G)}function _Z(f,G){if(!f)return!1;if(f.type!=="AwaitExpression")return!1;return G==null||B.default(f,G)}function uZ(f,G){if(!f)return!1;if(f.type!=="Import")return!1;return G==null||B.default(f,G)}function hZ(f,G){if(!f)return!1;if(f.type!=="BigIntLiteral")return!1;return G==null||B.default(f,G)}function yZ(f,G){if(!f)return!1;if(f.type!=="ExportNamespaceSpecifier")return!1;return G==null||B.default(f,G)}function xZ(f,G){if(!f)return!1;if(f.type!=="OptionalMemberExpression")return!1;return G==null||B.default(f,G)}function mZ(f,G){if(!f)return!1;if(f.type!=="OptionalCallExpression")return!1;return G==null||B.default(f,G)}function lZ(f,G){if(!f)return!1;if(f.type!=="ClassProperty")return!1;return G==null||B.default(f,G)}function cZ(f,G){if(!f)return!1;if(f.type!=="ClassAccessorProperty")return!1;return G==null||B.default(f,G)}function aZ(f,G){if(!f)return!1;if(f.type!=="ClassPrivateProperty")return!1;return G==null||B.default(f,G)}function iZ(f,G){if(!f)return!1;if(f.type!=="ClassPrivateMethod")return!1;return G==null||B.default(f,G)}function rZ(f,G){if(!f)return!1;if(f.type!=="PrivateName")return!1;return G==null||B.default(f,G)}function pZ(f,G){if(!f)return!1;if(f.type!=="StaticBlock")return!1;return G==null||B.default(f,G)}function sZ(f,G){if(!f)return!1;if(f.type!=="AnyTypeAnnotation")return!1;return G==null||B.default(f,G)}function dZ(f,G){if(!f)return!1;if(f.type!=="ArrayTypeAnnotation")return!1;return G==null||B.default(f,G)}function tZ(f,G){if(!f)return!1;if(f.type!=="BooleanTypeAnnotation")return!1;return G==null||B.default(f,G)}function nZ(f,G){if(!f)return!1;if(f.type!=="BooleanLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function oZ(f,G){if(!f)return!1;if(f.type!=="NullLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function eZ(f,G){if(!f)return!1;if(f.type!=="ClassImplements")return!1;return G==null||B.default(f,G)}function fY(f,G){if(!f)return!1;if(f.type!=="DeclareClass")return!1;return G==null||B.default(f,G)}function GY(f,G){if(!f)return!1;if(f.type!=="DeclareFunction")return!1;return G==null||B.default(f,G)}function XY(f,G){if(!f)return!1;if(f.type!=="DeclareInterface")return!1;return G==null||B.default(f,G)}function JY(f,G){if(!f)return!1;if(f.type!=="DeclareModule")return!1;return G==null||B.default(f,G)}function WY(f,G){if(!f)return!1;if(f.type!=="DeclareModuleExports")return!1;return G==null||B.default(f,G)}function RY(f,G){if(!f)return!1;if(f.type!=="DeclareTypeAlias")return!1;return G==null||B.default(f,G)}function VY(f,G){if(!f)return!1;if(f.type!=="DeclareOpaqueType")return!1;return G==null||B.default(f,G)}function HY(f,G){if(!f)return!1;if(f.type!=="DeclareVariable")return!1;return G==null||B.default(f,G)}function UY(f,G){if(!f)return!1;if(f.type!=="DeclareExportDeclaration")return!1;return G==null||B.default(f,G)}function QY(f,G){if(!f)return!1;if(f.type!=="DeclareExportAllDeclaration")return!1;return G==null||B.default(f,G)}function ZY(f,G){if(!f)return!1;if(f.type!=="DeclaredPredicate")return!1;return G==null||B.default(f,G)}function YY(f,G){if(!f)return!1;if(f.type!=="ExistsTypeAnnotation")return!1;return G==null||B.default(f,G)}function zY(f,G){if(!f)return!1;if(f.type!=="FunctionTypeAnnotation")return!1;return G==null||B.default(f,G)}function BY(f,G){if(!f)return!1;if(f.type!=="FunctionTypeParam")return!1;return G==null||B.default(f,G)}function MY(f,G){if(!f)return!1;if(f.type!=="GenericTypeAnnotation")return!1;return G==null||B.default(f,G)}function KY(f,G){if(!f)return!1;if(f.type!=="InferredPredicate")return!1;return G==null||B.default(f,G)}function FY(f,G){if(!f)return!1;if(f.type!=="InterfaceExtends")return!1;return G==null||B.default(f,G)}function SY(f,G){if(!f)return!1;if(f.type!=="InterfaceDeclaration")return!1;return G==null||B.default(f,G)}function $Y(f,G){if(!f)return!1;if(f.type!=="InterfaceTypeAnnotation")return!1;return G==null||B.default(f,G)}function qY(f,G){if(!f)return!1;if(f.type!=="IntersectionTypeAnnotation")return!1;return G==null||B.default(f,G)}function CY(f,G){if(!f)return!1;if(f.type!=="MixedTypeAnnotation")return!1;return G==null||B.default(f,G)}function AY(f,G){if(!f)return!1;if(f.type!=="EmptyTypeAnnotation")return!1;return G==null||B.default(f,G)}function jY(f,G){if(!f)return!1;if(f.type!=="NullableTypeAnnotation")return!1;return G==null||B.default(f,G)}function OY(f,G){if(!f)return!1;if(f.type!=="NumberLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function DY(f,G){if(!f)return!1;if(f.type!=="NumberTypeAnnotation")return!1;return G==null||B.default(f,G)}function PY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeAnnotation")return!1;return G==null||B.default(f,G)}function IY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeInternalSlot")return!1;return G==null||B.default(f,G)}function NY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeCallProperty")return!1;return G==null||B.default(f,G)}function TY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeIndexer")return!1;return G==null||B.default(f,G)}function LY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeProperty")return!1;return G==null||B.default(f,G)}function bY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeSpreadProperty")return!1;return G==null||B.default(f,G)}function wY(f,G){if(!f)return!1;if(f.type!=="OpaqueType")return!1;return G==null||B.default(f,G)}function EY(f,G){if(!f)return!1;if(f.type!=="QualifiedTypeIdentifier")return!1;return G==null||B.default(f,G)}function kY(f,G){if(!f)return!1;if(f.type!=="StringLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function vY(f,G){if(!f)return!1;if(f.type!=="StringTypeAnnotation")return!1;return G==null||B.default(f,G)}function gY(f,G){if(!f)return!1;if(f.type!=="SymbolTypeAnnotation")return!1;return G==null||B.default(f,G)}function _Y(f,G){if(!f)return!1;if(f.type!=="ThisTypeAnnotation")return!1;return G==null||B.default(f,G)}function uY(f,G){if(!f)return!1;if(f.type!=="TupleTypeAnnotation")return!1;return G==null||B.default(f,G)}function hY(f,G){if(!f)return!1;if(f.type!=="TypeofTypeAnnotation")return!1;return G==null||B.default(f,G)}function yY(f,G){if(!f)return!1;if(f.type!=="TypeAlias")return!1;return G==null||B.default(f,G)}function xY(f,G){if(!f)return!1;if(f.type!=="TypeAnnotation")return!1;return G==null||B.default(f,G)}function mY(f,G){if(!f)return!1;if(f.type!=="TypeCastExpression")return!1;return G==null||B.default(f,G)}function lY(f,G){if(!f)return!1;if(f.type!=="TypeParameter")return!1;return G==null||B.default(f,G)}function cY(f,G){if(!f)return!1;if(f.type!=="TypeParameterDeclaration")return!1;return G==null||B.default(f,G)}function aY(f,G){if(!f)return!1;if(f.type!=="TypeParameterInstantiation")return!1;return G==null||B.default(f,G)}function iY(f,G){if(!f)return!1;if(f.type!=="UnionTypeAnnotation")return!1;return G==null||B.default(f,G)}function rY(f,G){if(!f)return!1;if(f.type!=="Variance")return!1;return G==null||B.default(f,G)}function pY(f,G){if(!f)return!1;if(f.type!=="VoidTypeAnnotation")return!1;return G==null||B.default(f,G)}function sY(f,G){if(!f)return!1;if(f.type!=="EnumDeclaration")return!1;return G==null||B.default(f,G)}function dY(f,G){if(!f)return!1;if(f.type!=="EnumBooleanBody")return!1;return G==null||B.default(f,G)}function tY(f,G){if(!f)return!1;if(f.type!=="EnumNumberBody")return!1;return G==null||B.default(f,G)}function nY(f,G){if(!f)return!1;if(f.type!=="EnumStringBody")return!1;return G==null||B.default(f,G)}function oY(f,G){if(!f)return!1;if(f.type!=="EnumSymbolBody")return!1;return G==null||B.default(f,G)}function eY(f,G){if(!f)return!1;if(f.type!=="EnumBooleanMember")return!1;return G==null||B.default(f,G)}function f3(f,G){if(!f)return!1;if(f.type!=="EnumNumberMember")return!1;return G==null||B.default(f,G)}function G3(f,G){if(!f)return!1;if(f.type!=="EnumStringMember")return!1;return G==null||B.default(f,G)}function X3(f,G){if(!f)return!1;if(f.type!=="EnumDefaultedMember")return!1;return G==null||B.default(f,G)}function J3(f,G){if(!f)return!1;if(f.type!=="IndexedAccessType")return!1;return G==null||B.default(f,G)}function W3(f,G){if(!f)return!1;if(f.type!=="OptionalIndexedAccessType")return!1;return G==null||B.default(f,G)}function R3(f,G){if(!f)return!1;if(f.type!=="JSXAttribute")return!1;return G==null||B.default(f,G)}function V3(f,G){if(!f)return!1;if(f.type!=="JSXClosingElement")return!1;return G==null||B.default(f,G)}function H3(f,G){if(!f)return!1;if(f.type!=="JSXElement")return!1;return G==null||B.default(f,G)}function U3(f,G){if(!f)return!1;if(f.type!=="JSXEmptyExpression")return!1;return G==null||B.default(f,G)}function Q3(f,G){if(!f)return!1;if(f.type!=="JSXExpressionContainer")return!1;return G==null||B.default(f,G)}function Z3(f,G){if(!f)return!1;if(f.type!=="JSXSpreadChild")return!1;return G==null||B.default(f,G)}function Y3(f,G){if(!f)return!1;if(f.type!=="JSXIdentifier")return!1;return G==null||B.default(f,G)}function z3(f,G){if(!f)return!1;if(f.type!=="JSXMemberExpression")return!1;return G==null||B.default(f,G)}function B3(f,G){if(!f)return!1;if(f.type!=="JSXNamespacedName")return!1;return G==null||B.default(f,G)}function M3(f,G){if(!f)return!1;if(f.type!=="JSXOpeningElement")return!1;return G==null||B.default(f,G)}function K3(f,G){if(!f)return!1;if(f.type!=="JSXSpreadAttribute")return!1;return G==null||B.default(f,G)}function F3(f,G){if(!f)return!1;if(f.type!=="JSXText")return!1;return G==null||B.default(f,G)}function S3(f,G){if(!f)return!1;if(f.type!=="JSXFragment")return!1;return G==null||B.default(f,G)}function $3(f,G){if(!f)return!1;if(f.type!=="JSXOpeningFragment")return!1;return G==null||B.default(f,G)}function q3(f,G){if(!f)return!1;if(f.type!=="JSXClosingFragment")return!1;return G==null||B.default(f,G)}function C3(f,G){if(!f)return!1;if(f.type!=="Noop")return!1;return G==null||B.default(f,G)}function A3(f,G){if(!f)return!1;if(f.type!=="Placeholder")return!1;return G==null||B.default(f,G)}function j3(f,G){if(!f)return!1;if(f.type!=="V8IntrinsicIdentifier")return!1;return G==null||B.default(f,G)}function O3(f,G){if(!f)return!1;if(f.type!=="ArgumentPlaceholder")return!1;return G==null||B.default(f,G)}function D3(f,G){if(!f)return!1;if(f.type!=="BindExpression")return!1;return G==null||B.default(f,G)}function P3(f,G){if(!f)return!1;if(f.type!=="ImportAttribute")return!1;return G==null||B.default(f,G)}function I3(f,G){if(!f)return!1;if(f.type!=="Decorator")return!1;return G==null||B.default(f,G)}function N3(f,G){if(!f)return!1;if(f.type!=="DoExpression")return!1;return G==null||B.default(f,G)}function T3(f,G){if(!f)return!1;if(f.type!=="ExportDefaultSpecifier")return!1;return G==null||B.default(f,G)}function L3(f,G){if(!f)return!1;if(f.type!=="RecordExpression")return!1;return G==null||B.default(f,G)}function b3(f,G){if(!f)return!1;if(f.type!=="TupleExpression")return!1;return G==null||B.default(f,G)}function w3(f,G){if(!f)return!1;if(f.type!=="DecimalLiteral")return!1;return G==null||B.default(f,G)}function E3(f,G){if(!f)return!1;if(f.type!=="ModuleExpression")return!1;return G==null||B.default(f,G)}function k3(f,G){if(!f)return!1;if(f.type!=="TopicReference")return!1;return G==null||B.default(f,G)}function v3(f,G){if(!f)return!1;if(f.type!=="PipelineTopicExpression")return!1;return G==null||B.default(f,G)}function g3(f,G){if(!f)return!1;if(f.type!=="PipelineBareFunction")return!1;return G==null||B.default(f,G)}function _3(f,G){if(!f)return!1;if(f.type!=="PipelinePrimaryTopicReference")return!1;return G==null||B.default(f,G)}function u3(f,G){if(!f)return!1;if(f.type!=="TSParameterProperty")return!1;return G==null||B.default(f,G)}function h3(f,G){if(!f)return!1;if(f.type!=="TSDeclareFunction")return!1;return G==null||B.default(f,G)}function y3(f,G){if(!f)return!1;if(f.type!=="TSDeclareMethod")return!1;return G==null||B.default(f,G)}function x3(f,G){if(!f)return!1;if(f.type!=="TSQualifiedName")return!1;return G==null||B.default(f,G)}function m3(f,G){if(!f)return!1;if(f.type!=="TSCallSignatureDeclaration")return!1;return G==null||B.default(f,G)}function l3(f,G){if(!f)return!1;if(f.type!=="TSConstructSignatureDeclaration")return!1;return G==null||B.default(f,G)}function c3(f,G){if(!f)return!1;if(f.type!=="TSPropertySignature")return!1;return G==null||B.default(f,G)}function a3(f,G){if(!f)return!1;if(f.type!=="TSMethodSignature")return!1;return G==null||B.default(f,G)}function i3(f,G){if(!f)return!1;if(f.type!=="TSIndexSignature")return!1;return G==null||B.default(f,G)}function r3(f,G){if(!f)return!1;if(f.type!=="TSAnyKeyword")return!1;return G==null||B.default(f,G)}function p3(f,G){if(!f)return!1;if(f.type!=="TSBooleanKeyword")return!1;return G==null||B.default(f,G)}function s3(f,G){if(!f)return!1;if(f.type!=="TSBigIntKeyword")return!1;return G==null||B.default(f,G)}function d3(f,G){if(!f)return!1;if(f.type!=="TSIntrinsicKeyword")return!1;return G==null||B.default(f,G)}function t3(f,G){if(!f)return!1;if(f.type!=="TSNeverKeyword")return!1;return G==null||B.default(f,G)}function n3(f,G){if(!f)return!1;if(f.type!=="TSNullKeyword")return!1;return G==null||B.default(f,G)}function o3(f,G){if(!f)return!1;if(f.type!=="TSNumberKeyword")return!1;return G==null||B.default(f,G)}function e3(f,G){if(!f)return!1;if(f.type!=="TSObjectKeyword")return!1;return G==null||B.default(f,G)}function fz(f,G){if(!f)return!1;if(f.type!=="TSStringKeyword")return!1;return G==null||B.default(f,G)}function Gz(f,G){if(!f)return!1;if(f.type!=="TSSymbolKeyword")return!1;return G==null||B.default(f,G)}function Xz(f,G){if(!f)return!1;if(f.type!=="TSUndefinedKeyword")return!1;return G==null||B.default(f,G)}function Jz(f,G){if(!f)return!1;if(f.type!=="TSUnknownKeyword")return!1;return G==null||B.default(f,G)}function Wz(f,G){if(!f)return!1;if(f.type!=="TSVoidKeyword")return!1;return G==null||B.default(f,G)}function Rz(f,G){if(!f)return!1;if(f.type!=="TSThisType")return!1;return G==null||B.default(f,G)}function Vz(f,G){if(!f)return!1;if(f.type!=="TSFunctionType")return!1;return G==null||B.default(f,G)}function Hz(f,G){if(!f)return!1;if(f.type!=="TSConstructorType")return!1;return G==null||B.default(f,G)}function Uz(f,G){if(!f)return!1;if(f.type!=="TSTypeReference")return!1;return G==null||B.default(f,G)}function Qz(f,G){if(!f)return!1;if(f.type!=="TSTypePredicate")return!1;return G==null||B.default(f,G)}function Zz(f,G){if(!f)return!1;if(f.type!=="TSTypeQuery")return!1;return G==null||B.default(f,G)}function Yz(f,G){if(!f)return!1;if(f.type!=="TSTypeLiteral")return!1;return G==null||B.default(f,G)}function zz(f,G){if(!f)return!1;if(f.type!=="TSArrayType")return!1;return G==null||B.default(f,G)}function Bz(f,G){if(!f)return!1;if(f.type!=="TSTupleType")return!1;return G==null||B.default(f,G)}function Mz(f,G){if(!f)return!1;if(f.type!=="TSOptionalType")return!1;return G==null||B.default(f,G)}function Kz(f,G){if(!f)return!1;if(f.type!=="TSRestType")return!1;return G==null||B.default(f,G)}function Fz(f,G){if(!f)return!1;if(f.type!=="TSNamedTupleMember")return!1;return G==null||B.default(f,G)}function Sz(f,G){if(!f)return!1;if(f.type!=="TSUnionType")return!1;return G==null||B.default(f,G)}function $z(f,G){if(!f)return!1;if(f.type!=="TSIntersectionType")return!1;return G==null||B.default(f,G)}function qz(f,G){if(!f)return!1;if(f.type!=="TSConditionalType")return!1;return G==null||B.default(f,G)}function Cz(f,G){if(!f)return!1;if(f.type!=="TSInferType")return!1;return G==null||B.default(f,G)}function Az(f,G){if(!f)return!1;if(f.type!=="TSParenthesizedType")return!1;return G==null||B.default(f,G)}function jz(f,G){if(!f)return!1;if(f.type!=="TSTypeOperator")return!1;return G==null||B.default(f,G)}function Oz(f,G){if(!f)return!1;if(f.type!=="TSIndexedAccessType")return!1;return G==null||B.default(f,G)}function Dz(f,G){if(!f)return!1;if(f.type!=="TSMappedType")return!1;return G==null||B.default(f,G)}function Pz(f,G){if(!f)return!1;if(f.type!=="TSTemplateLiteralType")return!1;return G==null||B.default(f,G)}function Iz(f,G){if(!f)return!1;if(f.type!=="TSLiteralType")return!1;return G==null||B.default(f,G)}function Nz(f,G){if(!f)return!1;if(f.type!=="TSExpressionWithTypeArguments")return!1;return G==null||B.default(f,G)}function Tz(f,G){if(!f)return!1;if(f.type!=="TSInterfaceDeclaration")return!1;return G==null||B.default(f,G)}function Lz(f,G){if(!f)return!1;if(f.type!=="TSInterfaceBody")return!1;return G==null||B.default(f,G)}function bz(f,G){if(!f)return!1;if(f.type!=="TSTypeAliasDeclaration")return!1;return G==null||B.default(f,G)}function wz(f,G){if(!f)return!1;if(f.type!=="TSInstantiationExpression")return!1;return G==null||B.default(f,G)}function Ez(f,G){if(!f)return!1;if(f.type!=="TSAsExpression")return!1;return G==null||B.default(f,G)}function kz(f,G){if(!f)return!1;if(f.type!=="TSSatisfiesExpression")return!1;return G==null||B.default(f,G)}function vz(f,G){if(!f)return!1;if(f.type!=="TSTypeAssertion")return!1;return G==null||B.default(f,G)}function gz(f,G){if(!f)return!1;if(f.type!=="TSEnumBody")return!1;return G==null||B.default(f,G)}function _z(f,G){if(!f)return!1;if(f.type!=="TSEnumDeclaration")return!1;return G==null||B.default(f,G)}function uz(f,G){if(!f)return!1;if(f.type!=="TSEnumMember")return!1;return G==null||B.default(f,G)}function hz(f,G){if(!f)return!1;if(f.type!=="TSModuleDeclaration")return!1;return G==null||B.default(f,G)}function yz(f,G){if(!f)return!1;if(f.type!=="TSModuleBlock")return!1;return G==null||B.default(f,G)}function xz(f,G){if(!f)return!1;if(f.type!=="TSImportType")return!1;return G==null||B.default(f,G)}function mz(f,G){if(!f)return!1;if(f.type!=="TSImportEqualsDeclaration")return!1;return G==null||B.default(f,G)}function lz(f,G){if(!f)return!1;if(f.type!=="TSExternalModuleReference")return!1;return G==null||B.default(f,G)}function cz(f,G){if(!f)return!1;if(f.type!=="TSNonNullExpression")return!1;return G==null||B.default(f,G)}function az(f,G){if(!f)return!1;if(f.type!=="TSExportAssignment")return!1;return G==null||B.default(f,G)}function iz(f,G){if(!f)return!1;if(f.type!=="TSNamespaceExportDeclaration")return!1;return G==null||B.default(f,G)}function rz(f,G){if(!f)return!1;if(f.type!=="TSTypeAnnotation")return!1;return G==null||B.default(f,G)}function pz(f,G){if(!f)return!1;if(f.type!=="TSTypeParameterInstantiation")return!1;return G==null||B.default(f,G)}function sz(f,G){if(!f)return!1;if(f.type!=="TSTypeParameterDeclaration")return!1;return G==null||B.default(f,G)}function dz(f,G){if(!f)return!1;if(f.type!=="TSTypeParameter")return!1;return G==null||B.default(f,G)}function tz(f,G){if(!f)return!1;switch(f.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(f.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function nz(f,G){if(!f)return!1;switch(f.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(f.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function oz(f,G){if(!f)return!1;switch(f.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return G==null||B.default(f,G)}function ez(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(f.expectedNode==="BlockStatement")break;default:return!1}return G==null||B.default(f,G)}function fB(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(f.expectedNode==="BlockStatement")break;default:return!1}return G==null||B.default(f,G)}function GB(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(f.expectedNode==="BlockStatement")break;default:return!1}return G==null||B.default(f,G)}function XB(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(f.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function JB(f,G){if(!f)return!1;switch(f.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return G==null||B.default(f,G)}function WB(f,G){if(!f)return!1;switch(f.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return G==null||B.default(f,G)}function RB(f,G){if(!f)return!1;switch(f.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return G==null||B.default(f,G)}function VB(f,G){if(!f)return!1;switch(f.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return G==null||B.default(f,G)}function HB(f,G){if(!f)return!1;switch(f.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return G==null||B.default(f,G)}function UB(f,G){if(!f)return!1;switch(f.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return G==null||B.default(f,G)}function QB(f,G){if(!f)return!1;switch(f.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return G==null||B.default(f,G)}function ZB(f,G){if(!f)return!1;switch(f.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return G==null||B.default(f,G)}function YB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return G==null||B.default(f,G)}function zB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return G==null||B.default(f,G)}function BB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(f.expectedNode==="StringLiteral")break;default:return!1}return G==null||B.default(f,G)}function MB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(f.expectedNode==="Declaration")break;default:return!1}return G==null||B.default(f,G)}function KB(f,G){if(!f)return!1;switch(f.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(f.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function FB(f,G){if(!f)return!1;switch(f.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(f.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function SB(f,G){if(!f)return!1;switch(f.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(f.expectedNode==="Identifier")break;default:return!1}return G==null||B.default(f,G)}function $B(f,G){if(!f)return!1;switch(f.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(f.expectedNode==="StringLiteral")break;default:return!1}return G==null||B.default(f,G)}function qB(f,G){if(!f)return!1;switch(f.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(f.expectedNode==="StringLiteral")break;default:return!1}return G==null||B.default(f,G)}function CB(f,G){if(!f)return!1;switch(f.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return G==null||B.default(f,G)}function AB(f,G){if(!f)return!1;switch(f.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return G==null||B.default(f,G)}function jB(f,G){if(!f)return!1;switch(f.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return G==null||B.default(f,G)}function OB(f,G){if(!f)return!1;switch(f.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return G==null||B.default(f,G)}function DB(f,G){if(!f)return!1;switch(f.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return G==null||B.default(f,G)}function PB(f,G){if(!f)return!1;switch(f.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(f.expectedNode==="Pattern")break;default:return!1}return G==null||B.default(f,G)}function IB(f,G){if(!f)return!1;switch(f.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return G==null||B.default(f,G)}function z0(f,G){if(!f)return!1;switch(f.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return G==null||B.default(f,G)}function NB(f,G){if(!f)return!1;switch(f.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return G==null||B.default(f,G)}function TB(f,G){if(!f)return!1;switch(f.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return G==null||B.default(f,G)}function LB(f,G){if(!f)return!1;switch(f.type){case"ClassAccessorProperty":break;default:return!1}return G==null||B.default(f,G)}function bB(f,G){if(!f)return!1;switch(f.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return G==null||B.default(f,G)}function wB(f,G){if(!f)return!1;switch(f.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return G==null||B.default(f,G)}function EB(f,G){if(!f)return!1;switch(f.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return G==null||B.default(f,G)}function kB(f,G){if(!f)return!1;switch(f.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return G==null||B.default(f,G)}function vB(f,G){if(!f)return!1;switch(f.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return G==null||B.default(f,G)}function gB(f,G){if(!f)return!1;switch(f.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return G==null||B.default(f,G)}function _B(f,G){if(!f)return!1;switch(f.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return G==null||B.default(f,G)}function uB(f,G){if(!f)return!1;switch(f.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return G==null||B.default(f,G)}function hB(f,G){if(!f)return!1;switch(f.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return G==null||B.default(f,G)}function yB(f,G){if(!f)return!1;switch(f.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return G==null||B.default(f,G)}function xB(f,G){if(!f)return!1;switch(f.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return G==null||B.default(f,G)}function mB(f,G){if(!f)return!1;switch(f.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return G==null||B.default(f,G)}function lB(f,G){if(!f)return!1;switch(f.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return G==null||B.default(f,G)}function cB(f,G){if(!f)return!1;switch(f.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return G==null||B.default(f,G)}function aB(f,G){if(u1.default("isNumberLiteral","isNumericLiteral"),!f)return!1;if(f.type!=="NumberLiteral")return!1;return G==null||B.default(f,G)}function iB(f,G){if(u1.default("isRegexLiteral","isRegExpLiteral"),!f)return!1;if(f.type!=="RegexLiteral")return!1;return G==null||B.default(f,G)}function rB(f,G){if(u1.default("isRestProperty","isRestElement"),!f)return!1;if(f.type!=="RestProperty")return!1;return G==null||B.default(f,G)}function pB(f,G){if(u1.default("isSpreadProperty","isSpreadElement"),!f)return!1;if(f.type!=="SpreadProperty")return!1;return G==null||B.default(f,G)}function sB(f,G){return u1.default("isModuleDeclaration","isImportOrExportDeclaration"),z0(f,G)}});var i2=D((M0)=>{Object.defineProperty(M0,"__esModule",{value:!0});M0.default=wq;var h1=Nf();function wq(f,G,X){if(!h1.isMemberExpression(f))return!1;let J=Array.isArray(G)?G:G.split("."),W=[],R;for(R=f;h1.isMemberExpression(R);R=R.object)W.push(R.property);if(W.push(R),W.length<J.length)return!1;if(!X&&W.length>J.length)return!1;for(let V=0,H=W.length-1;V<J.length;V++,H--){let U=W[H],Q;if(h1.isIdentifier(U))Q=U.name;else if(h1.isStringLiteral(U))Q=U.value;else if(h1.isThisExpression(U))Q="this";else return!1;if(J[V]!==Q)return!1}return!0}});var r2=D((K0)=>{Object.defineProperty(K0,"__esModule",{value:!0});K0.default=vq;var kq=i2();function vq(f,G){let X=f.split(".");return(J)=>kq.default(J,X,G)}});var $0=D((F0)=>{Object.defineProperty(F0,"__esModule",{value:!0});F0.default=void 0;var _q=r2(),uq=_q.default("React.Component"),gYf=F0.default=uq});var C0=D((q0)=>{Object.defineProperty(q0,"__esModule",{value:!0});q0.default=hq;function hq(f){return!!f&&/^[a-z]/.test(f)}});var NX=D((j0)=>{Object.defineProperty(j0,"__esModule",{value:!0});j0.default=xq;var A0=of();function xq(f,G){if(f===G)return!0;if(f==null)return!1;if(A0.ALIAS_KEYS[G])return!1;let X=A0.FLIPPED_ALIAS_KEYS[G];if(X){if(X[0]===f)return!0;for(let J of X)if(f===J)return!0}return!1}});var p2=D((O0)=>{Object.defineProperty(O0,"__esModule",{value:!0});O0.default=cq;var lq=of();function cq(f,G){if(f===G)return!0;let X=lq.PLACEHOLDERS_ALIAS[f];if(X){for(let J of X)if(G===J)return!0}return!1}});var z1=D((D0)=>{Object.defineProperty(D0,"__esModule",{value:!0});D0.default=dq;var iq=IX(),rq=NX(),pq=p2(),sq=of();function dq(f,G,X){if(!G)return!1;if(!rq.default(G.type,f)){if(!X&&G.type==="Placeholder"&&f in sq.FLIPPED_ALIAS_KEYS)return pq.default(G.expectedNode,f);return!1}if(X===void 0)return!0;else return iq.default(G,X)}});var b0=D((L0)=>{Object.defineProperty(L0,"__esModule",{value:!0});L0.isIdentifierChar=T0;L0.isIdentifierName=fC;L0.isIdentifierStart=N0;var d2="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",P0="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",nq=new RegExp("["+d2+"]"),oq=new RegExp("["+d2+P0+"]");d2=P0=null;var I0=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],eq=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function s2(f,G){let X=65536;for(let J=0,W=G.length;J<W;J+=2){if(X+=G[J],X>f)return!1;if(X+=G[J+1],X>=f)return!0}return!1}function N0(f){if(f<65)return f===36;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&nq.test(String.fromCharCode(f));return s2(f,I0)}function T0(f){if(f<48)return f===36;if(f<58)return!0;if(f<65)return!1;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&oq.test(String.fromCharCode(f));return s2(f,I0)||s2(f,eq)}function fC(f){let G=!0;for(let X=0;X<f.length;X++){let J=f.charCodeAt(X);if((J&64512)===55296&&X+1<f.length){let W=f.charCodeAt(++X);if((W&64512)===56320)J=65536+((J&1023)<<10)+(W&1023)}if(G){if(G=!1,!N0(J))return!1}else if(!T0(J))return!1}return!G}});var g0=D((v0)=>{Object.defineProperty(v0,"__esModule",{value:!0});v0.isKeyword=UC;v0.isReservedWord=w0;v0.isStrictBindOnlyReservedWord=k0;v0.isStrictBindReservedWord=HC;v0.isStrictReservedWord=E0;var t2={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},WC=new Set(t2.keyword),RC=new Set(t2.strict),VC=new Set(t2.strictBind);function w0(f,G){return G&&f==="await"||f==="enum"}function E0(f,G){return w0(f,G)||RC.has(f)}function k0(f){return VC.has(f)}function HC(f,G){return E0(f,G)||k0(f)}function UC(f){return WC.has(f)}});var x1=D((zG)=>{Object.defineProperty(zG,"__esModule",{value:!0});Object.defineProperty(zG,"isIdentifierChar",{enumerable:!0,get:function(){return n2.isIdentifierChar}});Object.defineProperty(zG,"isIdentifierName",{enumerable:!0,get:function(){return n2.isIdentifierName}});Object.defineProperty(zG,"isIdentifierStart",{enumerable:!0,get:function(){return n2.isIdentifierStart}});Object.defineProperty(zG,"isKeyword",{enumerable:!0,get:function(){return y1.isKeyword}});Object.defineProperty(zG,"isReservedWord",{enumerable:!0,get:function(){return y1.isReservedWord}});Object.defineProperty(zG,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return y1.isStrictBindOnlyReservedWord}});Object.defineProperty(zG,"isStrictBindReservedWord",{enumerable:!0,get:function(){return y1.isStrictBindReservedWord}});Object.defineProperty(zG,"isStrictReservedWord",{enumerable:!0,get:function(){return y1.isStrictReservedWord}});var n2=b0(),y1=g0()});var B1=D((_0)=>{Object.defineProperty(_0,"__esModule",{value:!0});_0.default=MC;var o2=x1();function MC(f,G=!0){if(typeof f!=="string")return!1;if(G){if(o2.isKeyword(f)||o2.isStrictReservedWord(f,!0))return!1}return o2.isIdentifierName(f)}});var m0=D((x0)=>{Object.defineProperty(x0,"__esModule",{value:!0});x0.readCodePoint=y0;x0.readInt=h0;x0.readStringContents=SC;var FC=function f(G){return G>=48&&G<=57},u0={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},TX={bin:(f)=>f===48||f===49,oct:(f)=>f>=48&&f<=55,dec:(f)=>f>=48&&f<=57,hex:(f)=>f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102};function SC(f,G,X,J,W,R){let V=X,H=J,U=W,Q="",Y=null,S=X,{length:C}=G;for(;;){if(X>=C){R.unterminated(V,H,U),Q+=G.slice(S,X);break}let A=G.charCodeAt(X);if($C(f,A,G,X)){Q+=G.slice(S,X);break}if(A===92){Q+=G.slice(S,X);let j=qC(G,X,J,W,f==="template",R);if(j.ch===null&&!Y)Y={pos:X,lineStart:J,curLine:W};else Q+=j.ch;({pos:X,lineStart:J,curLine:W}=j),S=X}else if(A===8232||A===8233)++X,++W,J=X;else if(A===10||A===13)if(f==="template"){if(Q+=G.slice(S,X)+`
6
+ `)}}});var Nf=D((BR)=>{Object.defineProperty(BR,"__esModule",{value:!0});BR.isAccessor=LB;BR.isAnyTypeAnnotation=sZ;BR.isArgumentPlaceholder=O3;BR.isArrayExpression=M5;BR.isArrayPattern=zZ;BR.isArrayTypeAnnotation=dZ;BR.isArrowFunctionExpression=BZ;BR.isAssignmentExpression=K5;BR.isAssignmentPattern=YZ;BR.isAwaitExpression=_Z;BR.isBigIntLiteral=hZ;BR.isBinary=oz;BR.isBinaryExpression=F5;BR.isBindExpression=D3;BR.isBlock=GB;BR.isBlockParent=fB;BR.isBlockStatement=C5;BR.isBooleanLiteral=m5;BR.isBooleanLiteralTypeAnnotation=nZ;BR.isBooleanTypeAnnotation=tZ;BR.isBreakStatement=A5;BR.isCallExpression=j5;BR.isCatchClause=O5;BR.isClass=PB;BR.isClassAccessorProperty=cZ;BR.isClassBody=MZ;BR.isClassDeclaration=FZ;BR.isClassExpression=KZ;BR.isClassImplements=eZ;BR.isClassMethod=TZ;BR.isClassPrivateMethod=iZ;BR.isClassPrivateProperty=aZ;BR.isClassProperty=lZ;BR.isCompletionStatement=WB;BR.isConditional=RB;BR.isConditionalExpression=D5;BR.isContinueStatement=I5;BR.isDebuggerStatement=P5;BR.isDecimalLiteral=w3;BR.isDeclaration=MB;BR.isDeclareClass=fY;BR.isDeclareExportAllDeclaration=QY;BR.isDeclareExportDeclaration=UY;BR.isDeclareFunction=GY;BR.isDeclareInterface=XY;BR.isDeclareModule=JY;BR.isDeclareModuleExports=WY;BR.isDeclareOpaqueType=VY;BR.isDeclareTypeAlias=RY;BR.isDeclareVariable=HY;BR.isDeclaredPredicate=ZY;BR.isDecorator=P3;BR.isDirective=$5;BR.isDirectiveLiteral=q5;BR.isDoExpression=N3;BR.isDoWhileStatement=N5;BR.isEmptyStatement=T5;BR.isEmptyTypeAnnotation=AY;BR.isEnumBody=_B;BR.isEnumBooleanBody=dY;BR.isEnumBooleanMember=eY;BR.isEnumDeclaration=sY;BR.isEnumDefaultedMember=X3;BR.isEnumMember=uB;BR.isEnumNumberBody=tY;BR.isEnumNumberMember=f3;BR.isEnumStringBody=nY;BR.isEnumStringMember=G3;BR.isEnumSymbolBody=oY;BR.isExistsTypeAnnotation=YY;BR.isExportAllDeclaration=SZ;BR.isExportDeclaration=NB;BR.isExportDefaultDeclaration=$Z;BR.isExportDefaultSpecifier=T3;BR.isExportNamedDeclaration=qZ;BR.isExportNamespaceSpecifier=yZ;BR.isExportSpecifier=CZ;BR.isExpression=nz;BR.isExpressionStatement=L5;BR.isExpressionWrapper=UB;BR.isFile=b5;BR.isFlow=wB;BR.isFlowBaseAnnotation=kB;BR.isFlowDeclaration=vB;BR.isFlowPredicate=gB;BR.isFlowType=EB;BR.isFor=QB;BR.isForInStatement=w5;BR.isForOfStatement=AZ;BR.isForStatement=E5;BR.isForXStatement=ZB;BR.isFunction=YB;BR.isFunctionDeclaration=k5;BR.isFunctionExpression=v5;BR.isFunctionParent=zB;BR.isFunctionTypeAnnotation=zY;BR.isFunctionTypeParam=BY;BR.isGenericTypeAnnotation=MY;BR.isIdentifier=g5;BR.isIfStatement=_5;BR.isImmutable=qB;BR.isImport=uZ;BR.isImportAttribute=I3;BR.isImportDeclaration=jZ;BR.isImportDefaultSpecifier=OZ;BR.isImportExpression=PZ;BR.isImportNamespaceSpecifier=DZ;BR.isImportOrExportDeclaration=zR;BR.isImportSpecifier=IZ;BR.isIndexedAccessType=J3;BR.isInferredPredicate=KY;BR.isInterfaceDeclaration=SY;BR.isInterfaceExtends=FY;BR.isInterfaceTypeAnnotation=$Y;BR.isInterpreterDirective=S5;BR.isIntersectionTypeAnnotation=qY;BR.isJSX=hB;BR.isJSXAttribute=R3;BR.isJSXClosingElement=V3;BR.isJSXClosingFragment=q3;BR.isJSXElement=H3;BR.isJSXEmptyExpression=U3;BR.isJSXExpressionContainer=Q3;BR.isJSXFragment=S3;BR.isJSXIdentifier=Y3;BR.isJSXMemberExpression=z3;BR.isJSXNamespacedName=B3;BR.isJSXOpeningElement=M3;BR.isJSXOpeningFragment=$3;BR.isJSXSpreadAttribute=K3;BR.isJSXSpreadChild=Z3;BR.isJSXText=F3;BR.isLVal=FB;BR.isLabeledStatement=u5;BR.isLiteral=$B;BR.isLogicalExpression=c5;BR.isLoop=VB;BR.isMemberExpression=a5;BR.isMetaProperty=NZ;BR.isMethod=AB;BR.isMiscellaneous=yB;BR.isMixedTypeAnnotation=CY;BR.isModuleDeclaration=sB;BR.isModuleExpression=E3;BR.isModuleSpecifier=TB;BR.isNewExpression=i5;BR.isNoop=C3;BR.isNullLiteral=x5;BR.isNullLiteralTypeAnnotation=oZ;BR.isNullableTypeAnnotation=jY;BR.isNumberLiteral=aB;BR.isNumberLiteralTypeAnnotation=OY;BR.isNumberTypeAnnotation=DY;BR.isNumericLiteral=y5;BR.isObjectExpression=p5;BR.isObjectMember=jB;BR.isObjectMethod=s5;BR.isObjectPattern=LZ;BR.isObjectProperty=d5;BR.isObjectTypeAnnotation=IY;BR.isObjectTypeCallProperty=NY;BR.isObjectTypeIndexer=TY;BR.isObjectTypeInternalSlot=PY;BR.isObjectTypeProperty=LY;BR.isObjectTypeSpreadProperty=bY;BR.isOpaqueType=wY;BR.isOptionalCallExpression=mZ;BR.isOptionalIndexedAccessType=W3;BR.isOptionalMemberExpression=xZ;BR.isParenthesizedExpression=e5;BR.isPattern=IB;BR.isPatternLike=KB;BR.isPipelineBareFunction=g3;BR.isPipelinePrimaryTopicReference=_3;BR.isPipelineTopicExpression=v3;BR.isPlaceholder=A3;BR.isPrivate=bB;BR.isPrivateName=rZ;BR.isProgram=r5;BR.isProperty=OB;BR.isPureish=BB;BR.isQualifiedTypeIdentifier=EY;BR.isRecordExpression=L3;BR.isRegExpLiteral=l5;BR.isRegexLiteral=iB;BR.isRestElement=t5;BR.isRestProperty=rB;BR.isReturnStatement=n5;BR.isScopable=ez;BR.isSequenceExpression=o5;BR.isSpreadElement=bZ;BR.isSpreadProperty=pB;BR.isStandardized=tz;BR.isStatement=XB;BR.isStaticBlock=pZ;BR.isStringLiteral=h5;BR.isStringLiteralTypeAnnotation=kY;BR.isStringTypeAnnotation=vY;BR.isSuper=wZ;BR.isSwitchCase=fZ;BR.isSwitchStatement=GZ;BR.isSymbolTypeAnnotation=gY;BR.isTSAnyKeyword=r3;BR.isTSArrayType=zz;BR.isTSAsExpression=Ez;BR.isTSBaseType=cB;BR.isTSBigIntKeyword=s3;BR.isTSBooleanKeyword=p3;BR.isTSCallSignatureDeclaration=m3;BR.isTSConditionalType=qz;BR.isTSConstructSignatureDeclaration=l3;BR.isTSConstructorType=Hz;BR.isTSDeclareFunction=h3;BR.isTSDeclareMethod=y3;BR.isTSEntityName=SB;BR.isTSEnumBody=gz;BR.isTSEnumDeclaration=_z;BR.isTSEnumMember=uz;BR.isTSExportAssignment=az;BR.isTSExpressionWithTypeArguments=Nz;BR.isTSExternalModuleReference=lz;BR.isTSFunctionType=Vz;BR.isTSImportEqualsDeclaration=mz;BR.isTSImportType=xz;BR.isTSIndexSignature=i3;BR.isTSIndexedAccessType=Oz;BR.isTSInferType=Cz;BR.isTSInstantiationExpression=wz;BR.isTSInterfaceBody=Lz;BR.isTSInterfaceDeclaration=Tz;BR.isTSIntersectionType=$z;BR.isTSIntrinsicKeyword=d3;BR.isTSLiteralType=Pz;BR.isTSMappedType=Dz;BR.isTSMethodSignature=a3;BR.isTSModuleBlock=yz;BR.isTSModuleDeclaration=hz;BR.isTSNamedTupleMember=Fz;BR.isTSNamespaceExportDeclaration=iz;BR.isTSNeverKeyword=t3;BR.isTSNonNullExpression=cz;BR.isTSNullKeyword=n3;BR.isTSNumberKeyword=o3;BR.isTSObjectKeyword=e3;BR.isTSOptionalType=Mz;BR.isTSParameterProperty=u3;BR.isTSParenthesizedType=Az;BR.isTSPropertySignature=c3;BR.isTSQualifiedName=x3;BR.isTSRestType=Kz;BR.isTSSatisfiesExpression=kz;BR.isTSStringKeyword=fz;BR.isTSSymbolKeyword=Gz;BR.isTSTemplateLiteralType=Iz;BR.isTSThisType=Rz;BR.isTSTupleType=Bz;BR.isTSType=lB;BR.isTSTypeAliasDeclaration=bz;BR.isTSTypeAnnotation=rz;BR.isTSTypeAssertion=vz;BR.isTSTypeElement=mB;BR.isTSTypeLiteral=Yz;BR.isTSTypeOperator=jz;BR.isTSTypeParameter=dz;BR.isTSTypeParameterDeclaration=sz;BR.isTSTypeParameterInstantiation=pz;BR.isTSTypePredicate=Qz;BR.isTSTypeQuery=Zz;BR.isTSTypeReference=Uz;BR.isTSUndefinedKeyword=Xz;BR.isTSUnionType=Sz;BR.isTSUnknownKeyword=Jz;BR.isTSVoidKeyword=Wz;BR.isTaggedTemplateExpression=EZ;BR.isTemplateElement=kZ;BR.isTemplateLiteral=vZ;BR.isTerminatorless=JB;BR.isThisExpression=XZ;BR.isThisTypeAnnotation=_Y;BR.isThrowStatement=JZ;BR.isTopicReference=k3;BR.isTryStatement=WZ;BR.isTupleExpression=b3;BR.isTupleTypeAnnotation=uY;BR.isTypeAlias=yY;BR.isTypeAnnotation=xY;BR.isTypeCastExpression=mY;BR.isTypeParameter=lY;BR.isTypeParameterDeclaration=cY;BR.isTypeParameterInstantiation=aY;BR.isTypeScript=xB;BR.isTypeofTypeAnnotation=hY;BR.isUnaryExpression=RZ;BR.isUnaryLike=DB;BR.isUnionTypeAnnotation=iY;BR.isUpdateExpression=VZ;BR.isUserWhitespacable=CB;BR.isV8IntrinsicIdentifier=j3;BR.isVariableDeclaration=HZ;BR.isVariableDeclarator=UZ;BR.isVariance=rY;BR.isVoidTypeAnnotation=pY;BR.isWhile=HB;BR.isWhileStatement=QZ;BR.isWithStatement=ZZ;BR.isYieldExpression=gZ;var B=PX(),u1=_1();function M5(f,G){if(!f)return!1;if(f.type!=="ArrayExpression")return!1;return G==null||B.default(f,G)}function K5(f,G){if(!f)return!1;if(f.type!=="AssignmentExpression")return!1;return G==null||B.default(f,G)}function F5(f,G){if(!f)return!1;if(f.type!=="BinaryExpression")return!1;return G==null||B.default(f,G)}function S5(f,G){if(!f)return!1;if(f.type!=="InterpreterDirective")return!1;return G==null||B.default(f,G)}function $5(f,G){if(!f)return!1;if(f.type!=="Directive")return!1;return G==null||B.default(f,G)}function q5(f,G){if(!f)return!1;if(f.type!=="DirectiveLiteral")return!1;return G==null||B.default(f,G)}function C5(f,G){if(!f)return!1;if(f.type!=="BlockStatement")return!1;return G==null||B.default(f,G)}function A5(f,G){if(!f)return!1;if(f.type!=="BreakStatement")return!1;return G==null||B.default(f,G)}function j5(f,G){if(!f)return!1;if(f.type!=="CallExpression")return!1;return G==null||B.default(f,G)}function O5(f,G){if(!f)return!1;if(f.type!=="CatchClause")return!1;return G==null||B.default(f,G)}function D5(f,G){if(!f)return!1;if(f.type!=="ConditionalExpression")return!1;return G==null||B.default(f,G)}function I5(f,G){if(!f)return!1;if(f.type!=="ContinueStatement")return!1;return G==null||B.default(f,G)}function P5(f,G){if(!f)return!1;if(f.type!=="DebuggerStatement")return!1;return G==null||B.default(f,G)}function N5(f,G){if(!f)return!1;if(f.type!=="DoWhileStatement")return!1;return G==null||B.default(f,G)}function T5(f,G){if(!f)return!1;if(f.type!=="EmptyStatement")return!1;return G==null||B.default(f,G)}function L5(f,G){if(!f)return!1;if(f.type!=="ExpressionStatement")return!1;return G==null||B.default(f,G)}function b5(f,G){if(!f)return!1;if(f.type!=="File")return!1;return G==null||B.default(f,G)}function w5(f,G){if(!f)return!1;if(f.type!=="ForInStatement")return!1;return G==null||B.default(f,G)}function E5(f,G){if(!f)return!1;if(f.type!=="ForStatement")return!1;return G==null||B.default(f,G)}function k5(f,G){if(!f)return!1;if(f.type!=="FunctionDeclaration")return!1;return G==null||B.default(f,G)}function v5(f,G){if(!f)return!1;if(f.type!=="FunctionExpression")return!1;return G==null||B.default(f,G)}function g5(f,G){if(!f)return!1;if(f.type!=="Identifier")return!1;return G==null||B.default(f,G)}function _5(f,G){if(!f)return!1;if(f.type!=="IfStatement")return!1;return G==null||B.default(f,G)}function u5(f,G){if(!f)return!1;if(f.type!=="LabeledStatement")return!1;return G==null||B.default(f,G)}function h5(f,G){if(!f)return!1;if(f.type!=="StringLiteral")return!1;return G==null||B.default(f,G)}function y5(f,G){if(!f)return!1;if(f.type!=="NumericLiteral")return!1;return G==null||B.default(f,G)}function x5(f,G){if(!f)return!1;if(f.type!=="NullLiteral")return!1;return G==null||B.default(f,G)}function m5(f,G){if(!f)return!1;if(f.type!=="BooleanLiteral")return!1;return G==null||B.default(f,G)}function l5(f,G){if(!f)return!1;if(f.type!=="RegExpLiteral")return!1;return G==null||B.default(f,G)}function c5(f,G){if(!f)return!1;if(f.type!=="LogicalExpression")return!1;return G==null||B.default(f,G)}function a5(f,G){if(!f)return!1;if(f.type!=="MemberExpression")return!1;return G==null||B.default(f,G)}function i5(f,G){if(!f)return!1;if(f.type!=="NewExpression")return!1;return G==null||B.default(f,G)}function r5(f,G){if(!f)return!1;if(f.type!=="Program")return!1;return G==null||B.default(f,G)}function p5(f,G){if(!f)return!1;if(f.type!=="ObjectExpression")return!1;return G==null||B.default(f,G)}function s5(f,G){if(!f)return!1;if(f.type!=="ObjectMethod")return!1;return G==null||B.default(f,G)}function d5(f,G){if(!f)return!1;if(f.type!=="ObjectProperty")return!1;return G==null||B.default(f,G)}function t5(f,G){if(!f)return!1;if(f.type!=="RestElement")return!1;return G==null||B.default(f,G)}function n5(f,G){if(!f)return!1;if(f.type!=="ReturnStatement")return!1;return G==null||B.default(f,G)}function o5(f,G){if(!f)return!1;if(f.type!=="SequenceExpression")return!1;return G==null||B.default(f,G)}function e5(f,G){if(!f)return!1;if(f.type!=="ParenthesizedExpression")return!1;return G==null||B.default(f,G)}function fZ(f,G){if(!f)return!1;if(f.type!=="SwitchCase")return!1;return G==null||B.default(f,G)}function GZ(f,G){if(!f)return!1;if(f.type!=="SwitchStatement")return!1;return G==null||B.default(f,G)}function XZ(f,G){if(!f)return!1;if(f.type!=="ThisExpression")return!1;return G==null||B.default(f,G)}function JZ(f,G){if(!f)return!1;if(f.type!=="ThrowStatement")return!1;return G==null||B.default(f,G)}function WZ(f,G){if(!f)return!1;if(f.type!=="TryStatement")return!1;return G==null||B.default(f,G)}function RZ(f,G){if(!f)return!1;if(f.type!=="UnaryExpression")return!1;return G==null||B.default(f,G)}function VZ(f,G){if(!f)return!1;if(f.type!=="UpdateExpression")return!1;return G==null||B.default(f,G)}function HZ(f,G){if(!f)return!1;if(f.type!=="VariableDeclaration")return!1;return G==null||B.default(f,G)}function UZ(f,G){if(!f)return!1;if(f.type!=="VariableDeclarator")return!1;return G==null||B.default(f,G)}function QZ(f,G){if(!f)return!1;if(f.type!=="WhileStatement")return!1;return G==null||B.default(f,G)}function ZZ(f,G){if(!f)return!1;if(f.type!=="WithStatement")return!1;return G==null||B.default(f,G)}function YZ(f,G){if(!f)return!1;if(f.type!=="AssignmentPattern")return!1;return G==null||B.default(f,G)}function zZ(f,G){if(!f)return!1;if(f.type!=="ArrayPattern")return!1;return G==null||B.default(f,G)}function BZ(f,G){if(!f)return!1;if(f.type!=="ArrowFunctionExpression")return!1;return G==null||B.default(f,G)}function MZ(f,G){if(!f)return!1;if(f.type!=="ClassBody")return!1;return G==null||B.default(f,G)}function KZ(f,G){if(!f)return!1;if(f.type!=="ClassExpression")return!1;return G==null||B.default(f,G)}function FZ(f,G){if(!f)return!1;if(f.type!=="ClassDeclaration")return!1;return G==null||B.default(f,G)}function SZ(f,G){if(!f)return!1;if(f.type!=="ExportAllDeclaration")return!1;return G==null||B.default(f,G)}function $Z(f,G){if(!f)return!1;if(f.type!=="ExportDefaultDeclaration")return!1;return G==null||B.default(f,G)}function qZ(f,G){if(!f)return!1;if(f.type!=="ExportNamedDeclaration")return!1;return G==null||B.default(f,G)}function CZ(f,G){if(!f)return!1;if(f.type!=="ExportSpecifier")return!1;return G==null||B.default(f,G)}function AZ(f,G){if(!f)return!1;if(f.type!=="ForOfStatement")return!1;return G==null||B.default(f,G)}function jZ(f,G){if(!f)return!1;if(f.type!=="ImportDeclaration")return!1;return G==null||B.default(f,G)}function OZ(f,G){if(!f)return!1;if(f.type!=="ImportDefaultSpecifier")return!1;return G==null||B.default(f,G)}function DZ(f,G){if(!f)return!1;if(f.type!=="ImportNamespaceSpecifier")return!1;return G==null||B.default(f,G)}function IZ(f,G){if(!f)return!1;if(f.type!=="ImportSpecifier")return!1;return G==null||B.default(f,G)}function PZ(f,G){if(!f)return!1;if(f.type!=="ImportExpression")return!1;return G==null||B.default(f,G)}function NZ(f,G){if(!f)return!1;if(f.type!=="MetaProperty")return!1;return G==null||B.default(f,G)}function TZ(f,G){if(!f)return!1;if(f.type!=="ClassMethod")return!1;return G==null||B.default(f,G)}function LZ(f,G){if(!f)return!1;if(f.type!=="ObjectPattern")return!1;return G==null||B.default(f,G)}function bZ(f,G){if(!f)return!1;if(f.type!=="SpreadElement")return!1;return G==null||B.default(f,G)}function wZ(f,G){if(!f)return!1;if(f.type!=="Super")return!1;return G==null||B.default(f,G)}function EZ(f,G){if(!f)return!1;if(f.type!=="TaggedTemplateExpression")return!1;return G==null||B.default(f,G)}function kZ(f,G){if(!f)return!1;if(f.type!=="TemplateElement")return!1;return G==null||B.default(f,G)}function vZ(f,G){if(!f)return!1;if(f.type!=="TemplateLiteral")return!1;return G==null||B.default(f,G)}function gZ(f,G){if(!f)return!1;if(f.type!=="YieldExpression")return!1;return G==null||B.default(f,G)}function _Z(f,G){if(!f)return!1;if(f.type!=="AwaitExpression")return!1;return G==null||B.default(f,G)}function uZ(f,G){if(!f)return!1;if(f.type!=="Import")return!1;return G==null||B.default(f,G)}function hZ(f,G){if(!f)return!1;if(f.type!=="BigIntLiteral")return!1;return G==null||B.default(f,G)}function yZ(f,G){if(!f)return!1;if(f.type!=="ExportNamespaceSpecifier")return!1;return G==null||B.default(f,G)}function xZ(f,G){if(!f)return!1;if(f.type!=="OptionalMemberExpression")return!1;return G==null||B.default(f,G)}function mZ(f,G){if(!f)return!1;if(f.type!=="OptionalCallExpression")return!1;return G==null||B.default(f,G)}function lZ(f,G){if(!f)return!1;if(f.type!=="ClassProperty")return!1;return G==null||B.default(f,G)}function cZ(f,G){if(!f)return!1;if(f.type!=="ClassAccessorProperty")return!1;return G==null||B.default(f,G)}function aZ(f,G){if(!f)return!1;if(f.type!=="ClassPrivateProperty")return!1;return G==null||B.default(f,G)}function iZ(f,G){if(!f)return!1;if(f.type!=="ClassPrivateMethod")return!1;return G==null||B.default(f,G)}function rZ(f,G){if(!f)return!1;if(f.type!=="PrivateName")return!1;return G==null||B.default(f,G)}function pZ(f,G){if(!f)return!1;if(f.type!=="StaticBlock")return!1;return G==null||B.default(f,G)}function sZ(f,G){if(!f)return!1;if(f.type!=="AnyTypeAnnotation")return!1;return G==null||B.default(f,G)}function dZ(f,G){if(!f)return!1;if(f.type!=="ArrayTypeAnnotation")return!1;return G==null||B.default(f,G)}function tZ(f,G){if(!f)return!1;if(f.type!=="BooleanTypeAnnotation")return!1;return G==null||B.default(f,G)}function nZ(f,G){if(!f)return!1;if(f.type!=="BooleanLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function oZ(f,G){if(!f)return!1;if(f.type!=="NullLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function eZ(f,G){if(!f)return!1;if(f.type!=="ClassImplements")return!1;return G==null||B.default(f,G)}function fY(f,G){if(!f)return!1;if(f.type!=="DeclareClass")return!1;return G==null||B.default(f,G)}function GY(f,G){if(!f)return!1;if(f.type!=="DeclareFunction")return!1;return G==null||B.default(f,G)}function XY(f,G){if(!f)return!1;if(f.type!=="DeclareInterface")return!1;return G==null||B.default(f,G)}function JY(f,G){if(!f)return!1;if(f.type!=="DeclareModule")return!1;return G==null||B.default(f,G)}function WY(f,G){if(!f)return!1;if(f.type!=="DeclareModuleExports")return!1;return G==null||B.default(f,G)}function RY(f,G){if(!f)return!1;if(f.type!=="DeclareTypeAlias")return!1;return G==null||B.default(f,G)}function VY(f,G){if(!f)return!1;if(f.type!=="DeclareOpaqueType")return!1;return G==null||B.default(f,G)}function HY(f,G){if(!f)return!1;if(f.type!=="DeclareVariable")return!1;return G==null||B.default(f,G)}function UY(f,G){if(!f)return!1;if(f.type!=="DeclareExportDeclaration")return!1;return G==null||B.default(f,G)}function QY(f,G){if(!f)return!1;if(f.type!=="DeclareExportAllDeclaration")return!1;return G==null||B.default(f,G)}function ZY(f,G){if(!f)return!1;if(f.type!=="DeclaredPredicate")return!1;return G==null||B.default(f,G)}function YY(f,G){if(!f)return!1;if(f.type!=="ExistsTypeAnnotation")return!1;return G==null||B.default(f,G)}function zY(f,G){if(!f)return!1;if(f.type!=="FunctionTypeAnnotation")return!1;return G==null||B.default(f,G)}function BY(f,G){if(!f)return!1;if(f.type!=="FunctionTypeParam")return!1;return G==null||B.default(f,G)}function MY(f,G){if(!f)return!1;if(f.type!=="GenericTypeAnnotation")return!1;return G==null||B.default(f,G)}function KY(f,G){if(!f)return!1;if(f.type!=="InferredPredicate")return!1;return G==null||B.default(f,G)}function FY(f,G){if(!f)return!1;if(f.type!=="InterfaceExtends")return!1;return G==null||B.default(f,G)}function SY(f,G){if(!f)return!1;if(f.type!=="InterfaceDeclaration")return!1;return G==null||B.default(f,G)}function $Y(f,G){if(!f)return!1;if(f.type!=="InterfaceTypeAnnotation")return!1;return G==null||B.default(f,G)}function qY(f,G){if(!f)return!1;if(f.type!=="IntersectionTypeAnnotation")return!1;return G==null||B.default(f,G)}function CY(f,G){if(!f)return!1;if(f.type!=="MixedTypeAnnotation")return!1;return G==null||B.default(f,G)}function AY(f,G){if(!f)return!1;if(f.type!=="EmptyTypeAnnotation")return!1;return G==null||B.default(f,G)}function jY(f,G){if(!f)return!1;if(f.type!=="NullableTypeAnnotation")return!1;return G==null||B.default(f,G)}function OY(f,G){if(!f)return!1;if(f.type!=="NumberLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function DY(f,G){if(!f)return!1;if(f.type!=="NumberTypeAnnotation")return!1;return G==null||B.default(f,G)}function IY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeAnnotation")return!1;return G==null||B.default(f,G)}function PY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeInternalSlot")return!1;return G==null||B.default(f,G)}function NY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeCallProperty")return!1;return G==null||B.default(f,G)}function TY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeIndexer")return!1;return G==null||B.default(f,G)}function LY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeProperty")return!1;return G==null||B.default(f,G)}function bY(f,G){if(!f)return!1;if(f.type!=="ObjectTypeSpreadProperty")return!1;return G==null||B.default(f,G)}function wY(f,G){if(!f)return!1;if(f.type!=="OpaqueType")return!1;return G==null||B.default(f,G)}function EY(f,G){if(!f)return!1;if(f.type!=="QualifiedTypeIdentifier")return!1;return G==null||B.default(f,G)}function kY(f,G){if(!f)return!1;if(f.type!=="StringLiteralTypeAnnotation")return!1;return G==null||B.default(f,G)}function vY(f,G){if(!f)return!1;if(f.type!=="StringTypeAnnotation")return!1;return G==null||B.default(f,G)}function gY(f,G){if(!f)return!1;if(f.type!=="SymbolTypeAnnotation")return!1;return G==null||B.default(f,G)}function _Y(f,G){if(!f)return!1;if(f.type!=="ThisTypeAnnotation")return!1;return G==null||B.default(f,G)}function uY(f,G){if(!f)return!1;if(f.type!=="TupleTypeAnnotation")return!1;return G==null||B.default(f,G)}function hY(f,G){if(!f)return!1;if(f.type!=="TypeofTypeAnnotation")return!1;return G==null||B.default(f,G)}function yY(f,G){if(!f)return!1;if(f.type!=="TypeAlias")return!1;return G==null||B.default(f,G)}function xY(f,G){if(!f)return!1;if(f.type!=="TypeAnnotation")return!1;return G==null||B.default(f,G)}function mY(f,G){if(!f)return!1;if(f.type!=="TypeCastExpression")return!1;return G==null||B.default(f,G)}function lY(f,G){if(!f)return!1;if(f.type!=="TypeParameter")return!1;return G==null||B.default(f,G)}function cY(f,G){if(!f)return!1;if(f.type!=="TypeParameterDeclaration")return!1;return G==null||B.default(f,G)}function aY(f,G){if(!f)return!1;if(f.type!=="TypeParameterInstantiation")return!1;return G==null||B.default(f,G)}function iY(f,G){if(!f)return!1;if(f.type!=="UnionTypeAnnotation")return!1;return G==null||B.default(f,G)}function rY(f,G){if(!f)return!1;if(f.type!=="Variance")return!1;return G==null||B.default(f,G)}function pY(f,G){if(!f)return!1;if(f.type!=="VoidTypeAnnotation")return!1;return G==null||B.default(f,G)}function sY(f,G){if(!f)return!1;if(f.type!=="EnumDeclaration")return!1;return G==null||B.default(f,G)}function dY(f,G){if(!f)return!1;if(f.type!=="EnumBooleanBody")return!1;return G==null||B.default(f,G)}function tY(f,G){if(!f)return!1;if(f.type!=="EnumNumberBody")return!1;return G==null||B.default(f,G)}function nY(f,G){if(!f)return!1;if(f.type!=="EnumStringBody")return!1;return G==null||B.default(f,G)}function oY(f,G){if(!f)return!1;if(f.type!=="EnumSymbolBody")return!1;return G==null||B.default(f,G)}function eY(f,G){if(!f)return!1;if(f.type!=="EnumBooleanMember")return!1;return G==null||B.default(f,G)}function f3(f,G){if(!f)return!1;if(f.type!=="EnumNumberMember")return!1;return G==null||B.default(f,G)}function G3(f,G){if(!f)return!1;if(f.type!=="EnumStringMember")return!1;return G==null||B.default(f,G)}function X3(f,G){if(!f)return!1;if(f.type!=="EnumDefaultedMember")return!1;return G==null||B.default(f,G)}function J3(f,G){if(!f)return!1;if(f.type!=="IndexedAccessType")return!1;return G==null||B.default(f,G)}function W3(f,G){if(!f)return!1;if(f.type!=="OptionalIndexedAccessType")return!1;return G==null||B.default(f,G)}function R3(f,G){if(!f)return!1;if(f.type!=="JSXAttribute")return!1;return G==null||B.default(f,G)}function V3(f,G){if(!f)return!1;if(f.type!=="JSXClosingElement")return!1;return G==null||B.default(f,G)}function H3(f,G){if(!f)return!1;if(f.type!=="JSXElement")return!1;return G==null||B.default(f,G)}function U3(f,G){if(!f)return!1;if(f.type!=="JSXEmptyExpression")return!1;return G==null||B.default(f,G)}function Q3(f,G){if(!f)return!1;if(f.type!=="JSXExpressionContainer")return!1;return G==null||B.default(f,G)}function Z3(f,G){if(!f)return!1;if(f.type!=="JSXSpreadChild")return!1;return G==null||B.default(f,G)}function Y3(f,G){if(!f)return!1;if(f.type!=="JSXIdentifier")return!1;return G==null||B.default(f,G)}function z3(f,G){if(!f)return!1;if(f.type!=="JSXMemberExpression")return!1;return G==null||B.default(f,G)}function B3(f,G){if(!f)return!1;if(f.type!=="JSXNamespacedName")return!1;return G==null||B.default(f,G)}function M3(f,G){if(!f)return!1;if(f.type!=="JSXOpeningElement")return!1;return G==null||B.default(f,G)}function K3(f,G){if(!f)return!1;if(f.type!=="JSXSpreadAttribute")return!1;return G==null||B.default(f,G)}function F3(f,G){if(!f)return!1;if(f.type!=="JSXText")return!1;return G==null||B.default(f,G)}function S3(f,G){if(!f)return!1;if(f.type!=="JSXFragment")return!1;return G==null||B.default(f,G)}function $3(f,G){if(!f)return!1;if(f.type!=="JSXOpeningFragment")return!1;return G==null||B.default(f,G)}function q3(f,G){if(!f)return!1;if(f.type!=="JSXClosingFragment")return!1;return G==null||B.default(f,G)}function C3(f,G){if(!f)return!1;if(f.type!=="Noop")return!1;return G==null||B.default(f,G)}function A3(f,G){if(!f)return!1;if(f.type!=="Placeholder")return!1;return G==null||B.default(f,G)}function j3(f,G){if(!f)return!1;if(f.type!=="V8IntrinsicIdentifier")return!1;return G==null||B.default(f,G)}function O3(f,G){if(!f)return!1;if(f.type!=="ArgumentPlaceholder")return!1;return G==null||B.default(f,G)}function D3(f,G){if(!f)return!1;if(f.type!=="BindExpression")return!1;return G==null||B.default(f,G)}function I3(f,G){if(!f)return!1;if(f.type!=="ImportAttribute")return!1;return G==null||B.default(f,G)}function P3(f,G){if(!f)return!1;if(f.type!=="Decorator")return!1;return G==null||B.default(f,G)}function N3(f,G){if(!f)return!1;if(f.type!=="DoExpression")return!1;return G==null||B.default(f,G)}function T3(f,G){if(!f)return!1;if(f.type!=="ExportDefaultSpecifier")return!1;return G==null||B.default(f,G)}function L3(f,G){if(!f)return!1;if(f.type!=="RecordExpression")return!1;return G==null||B.default(f,G)}function b3(f,G){if(!f)return!1;if(f.type!=="TupleExpression")return!1;return G==null||B.default(f,G)}function w3(f,G){if(!f)return!1;if(f.type!=="DecimalLiteral")return!1;return G==null||B.default(f,G)}function E3(f,G){if(!f)return!1;if(f.type!=="ModuleExpression")return!1;return G==null||B.default(f,G)}function k3(f,G){if(!f)return!1;if(f.type!=="TopicReference")return!1;return G==null||B.default(f,G)}function v3(f,G){if(!f)return!1;if(f.type!=="PipelineTopicExpression")return!1;return G==null||B.default(f,G)}function g3(f,G){if(!f)return!1;if(f.type!=="PipelineBareFunction")return!1;return G==null||B.default(f,G)}function _3(f,G){if(!f)return!1;if(f.type!=="PipelinePrimaryTopicReference")return!1;return G==null||B.default(f,G)}function u3(f,G){if(!f)return!1;if(f.type!=="TSParameterProperty")return!1;return G==null||B.default(f,G)}function h3(f,G){if(!f)return!1;if(f.type!=="TSDeclareFunction")return!1;return G==null||B.default(f,G)}function y3(f,G){if(!f)return!1;if(f.type!=="TSDeclareMethod")return!1;return G==null||B.default(f,G)}function x3(f,G){if(!f)return!1;if(f.type!=="TSQualifiedName")return!1;return G==null||B.default(f,G)}function m3(f,G){if(!f)return!1;if(f.type!=="TSCallSignatureDeclaration")return!1;return G==null||B.default(f,G)}function l3(f,G){if(!f)return!1;if(f.type!=="TSConstructSignatureDeclaration")return!1;return G==null||B.default(f,G)}function c3(f,G){if(!f)return!1;if(f.type!=="TSPropertySignature")return!1;return G==null||B.default(f,G)}function a3(f,G){if(!f)return!1;if(f.type!=="TSMethodSignature")return!1;return G==null||B.default(f,G)}function i3(f,G){if(!f)return!1;if(f.type!=="TSIndexSignature")return!1;return G==null||B.default(f,G)}function r3(f,G){if(!f)return!1;if(f.type!=="TSAnyKeyword")return!1;return G==null||B.default(f,G)}function p3(f,G){if(!f)return!1;if(f.type!=="TSBooleanKeyword")return!1;return G==null||B.default(f,G)}function s3(f,G){if(!f)return!1;if(f.type!=="TSBigIntKeyword")return!1;return G==null||B.default(f,G)}function d3(f,G){if(!f)return!1;if(f.type!=="TSIntrinsicKeyword")return!1;return G==null||B.default(f,G)}function t3(f,G){if(!f)return!1;if(f.type!=="TSNeverKeyword")return!1;return G==null||B.default(f,G)}function n3(f,G){if(!f)return!1;if(f.type!=="TSNullKeyword")return!1;return G==null||B.default(f,G)}function o3(f,G){if(!f)return!1;if(f.type!=="TSNumberKeyword")return!1;return G==null||B.default(f,G)}function e3(f,G){if(!f)return!1;if(f.type!=="TSObjectKeyword")return!1;return G==null||B.default(f,G)}function fz(f,G){if(!f)return!1;if(f.type!=="TSStringKeyword")return!1;return G==null||B.default(f,G)}function Gz(f,G){if(!f)return!1;if(f.type!=="TSSymbolKeyword")return!1;return G==null||B.default(f,G)}function Xz(f,G){if(!f)return!1;if(f.type!=="TSUndefinedKeyword")return!1;return G==null||B.default(f,G)}function Jz(f,G){if(!f)return!1;if(f.type!=="TSUnknownKeyword")return!1;return G==null||B.default(f,G)}function Wz(f,G){if(!f)return!1;if(f.type!=="TSVoidKeyword")return!1;return G==null||B.default(f,G)}function Rz(f,G){if(!f)return!1;if(f.type!=="TSThisType")return!1;return G==null||B.default(f,G)}function Vz(f,G){if(!f)return!1;if(f.type!=="TSFunctionType")return!1;return G==null||B.default(f,G)}function Hz(f,G){if(!f)return!1;if(f.type!=="TSConstructorType")return!1;return G==null||B.default(f,G)}function Uz(f,G){if(!f)return!1;if(f.type!=="TSTypeReference")return!1;return G==null||B.default(f,G)}function Qz(f,G){if(!f)return!1;if(f.type!=="TSTypePredicate")return!1;return G==null||B.default(f,G)}function Zz(f,G){if(!f)return!1;if(f.type!=="TSTypeQuery")return!1;return G==null||B.default(f,G)}function Yz(f,G){if(!f)return!1;if(f.type!=="TSTypeLiteral")return!1;return G==null||B.default(f,G)}function zz(f,G){if(!f)return!1;if(f.type!=="TSArrayType")return!1;return G==null||B.default(f,G)}function Bz(f,G){if(!f)return!1;if(f.type!=="TSTupleType")return!1;return G==null||B.default(f,G)}function Mz(f,G){if(!f)return!1;if(f.type!=="TSOptionalType")return!1;return G==null||B.default(f,G)}function Kz(f,G){if(!f)return!1;if(f.type!=="TSRestType")return!1;return G==null||B.default(f,G)}function Fz(f,G){if(!f)return!1;if(f.type!=="TSNamedTupleMember")return!1;return G==null||B.default(f,G)}function Sz(f,G){if(!f)return!1;if(f.type!=="TSUnionType")return!1;return G==null||B.default(f,G)}function $z(f,G){if(!f)return!1;if(f.type!=="TSIntersectionType")return!1;return G==null||B.default(f,G)}function qz(f,G){if(!f)return!1;if(f.type!=="TSConditionalType")return!1;return G==null||B.default(f,G)}function Cz(f,G){if(!f)return!1;if(f.type!=="TSInferType")return!1;return G==null||B.default(f,G)}function Az(f,G){if(!f)return!1;if(f.type!=="TSParenthesizedType")return!1;return G==null||B.default(f,G)}function jz(f,G){if(!f)return!1;if(f.type!=="TSTypeOperator")return!1;return G==null||B.default(f,G)}function Oz(f,G){if(!f)return!1;if(f.type!=="TSIndexedAccessType")return!1;return G==null||B.default(f,G)}function Dz(f,G){if(!f)return!1;if(f.type!=="TSMappedType")return!1;return G==null||B.default(f,G)}function Iz(f,G){if(!f)return!1;if(f.type!=="TSTemplateLiteralType")return!1;return G==null||B.default(f,G)}function Pz(f,G){if(!f)return!1;if(f.type!=="TSLiteralType")return!1;return G==null||B.default(f,G)}function Nz(f,G){if(!f)return!1;if(f.type!=="TSExpressionWithTypeArguments")return!1;return G==null||B.default(f,G)}function Tz(f,G){if(!f)return!1;if(f.type!=="TSInterfaceDeclaration")return!1;return G==null||B.default(f,G)}function Lz(f,G){if(!f)return!1;if(f.type!=="TSInterfaceBody")return!1;return G==null||B.default(f,G)}function bz(f,G){if(!f)return!1;if(f.type!=="TSTypeAliasDeclaration")return!1;return G==null||B.default(f,G)}function wz(f,G){if(!f)return!1;if(f.type!=="TSInstantiationExpression")return!1;return G==null||B.default(f,G)}function Ez(f,G){if(!f)return!1;if(f.type!=="TSAsExpression")return!1;return G==null||B.default(f,G)}function kz(f,G){if(!f)return!1;if(f.type!=="TSSatisfiesExpression")return!1;return G==null||B.default(f,G)}function vz(f,G){if(!f)return!1;if(f.type!=="TSTypeAssertion")return!1;return G==null||B.default(f,G)}function gz(f,G){if(!f)return!1;if(f.type!=="TSEnumBody")return!1;return G==null||B.default(f,G)}function _z(f,G){if(!f)return!1;if(f.type!=="TSEnumDeclaration")return!1;return G==null||B.default(f,G)}function uz(f,G){if(!f)return!1;if(f.type!=="TSEnumMember")return!1;return G==null||B.default(f,G)}function hz(f,G){if(!f)return!1;if(f.type!=="TSModuleDeclaration")return!1;return G==null||B.default(f,G)}function yz(f,G){if(!f)return!1;if(f.type!=="TSModuleBlock")return!1;return G==null||B.default(f,G)}function xz(f,G){if(!f)return!1;if(f.type!=="TSImportType")return!1;return G==null||B.default(f,G)}function mz(f,G){if(!f)return!1;if(f.type!=="TSImportEqualsDeclaration")return!1;return G==null||B.default(f,G)}function lz(f,G){if(!f)return!1;if(f.type!=="TSExternalModuleReference")return!1;return G==null||B.default(f,G)}function cz(f,G){if(!f)return!1;if(f.type!=="TSNonNullExpression")return!1;return G==null||B.default(f,G)}function az(f,G){if(!f)return!1;if(f.type!=="TSExportAssignment")return!1;return G==null||B.default(f,G)}function iz(f,G){if(!f)return!1;if(f.type!=="TSNamespaceExportDeclaration")return!1;return G==null||B.default(f,G)}function rz(f,G){if(!f)return!1;if(f.type!=="TSTypeAnnotation")return!1;return G==null||B.default(f,G)}function pz(f,G){if(!f)return!1;if(f.type!=="TSTypeParameterInstantiation")return!1;return G==null||B.default(f,G)}function sz(f,G){if(!f)return!1;if(f.type!=="TSTypeParameterDeclaration")return!1;return G==null||B.default(f,G)}function dz(f,G){if(!f)return!1;if(f.type!=="TSTypeParameter")return!1;return G==null||B.default(f,G)}function tz(f,G){if(!f)return!1;switch(f.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":break;case"Placeholder":switch(f.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function nz(f,G){if(!f)return!1;switch(f.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(f.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function oz(f,G){if(!f)return!1;switch(f.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return G==null||B.default(f,G)}function ez(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(f.expectedNode==="BlockStatement")break;default:return!1}return G==null||B.default(f,G)}function fB(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(f.expectedNode==="BlockStatement")break;default:return!1}return G==null||B.default(f,G)}function GB(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(f.expectedNode==="BlockStatement")break;default:return!1}return G==null||B.default(f,G)}function XB(f,G){if(!f)return!1;switch(f.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(f.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function JB(f,G){if(!f)return!1;switch(f.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return G==null||B.default(f,G)}function WB(f,G){if(!f)return!1;switch(f.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return G==null||B.default(f,G)}function RB(f,G){if(!f)return!1;switch(f.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return G==null||B.default(f,G)}function VB(f,G){if(!f)return!1;switch(f.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return G==null||B.default(f,G)}function HB(f,G){if(!f)return!1;switch(f.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return G==null||B.default(f,G)}function UB(f,G){if(!f)return!1;switch(f.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return G==null||B.default(f,G)}function QB(f,G){if(!f)return!1;switch(f.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return G==null||B.default(f,G)}function ZB(f,G){if(!f)return!1;switch(f.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return G==null||B.default(f,G)}function YB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return G==null||B.default(f,G)}function zB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return G==null||B.default(f,G)}function BB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(f.expectedNode==="StringLiteral")break;default:return!1}return G==null||B.default(f,G)}function MB(f,G){if(!f)return!1;switch(f.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(f.expectedNode==="Declaration")break;default:return!1}return G==null||B.default(f,G)}function KB(f,G){if(!f)return!1;switch(f.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(f.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function FB(f,G){if(!f)return!1;switch(f.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(f.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return G==null||B.default(f,G)}function SB(f,G){if(!f)return!1;switch(f.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(f.expectedNode==="Identifier")break;default:return!1}return G==null||B.default(f,G)}function $B(f,G){if(!f)return!1;switch(f.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(f.expectedNode==="StringLiteral")break;default:return!1}return G==null||B.default(f,G)}function qB(f,G){if(!f)return!1;switch(f.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(f.expectedNode==="StringLiteral")break;default:return!1}return G==null||B.default(f,G)}function CB(f,G){if(!f)return!1;switch(f.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return G==null||B.default(f,G)}function AB(f,G){if(!f)return!1;switch(f.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return G==null||B.default(f,G)}function jB(f,G){if(!f)return!1;switch(f.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return G==null||B.default(f,G)}function OB(f,G){if(!f)return!1;switch(f.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return G==null||B.default(f,G)}function DB(f,G){if(!f)return!1;switch(f.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return G==null||B.default(f,G)}function IB(f,G){if(!f)return!1;switch(f.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(f.expectedNode==="Pattern")break;default:return!1}return G==null||B.default(f,G)}function PB(f,G){if(!f)return!1;switch(f.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return G==null||B.default(f,G)}function zR(f,G){if(!f)return!1;switch(f.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return G==null||B.default(f,G)}function NB(f,G){if(!f)return!1;switch(f.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return G==null||B.default(f,G)}function TB(f,G){if(!f)return!1;switch(f.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return G==null||B.default(f,G)}function LB(f,G){if(!f)return!1;switch(f.type){case"ClassAccessorProperty":break;default:return!1}return G==null||B.default(f,G)}function bB(f,G){if(!f)return!1;switch(f.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return G==null||B.default(f,G)}function wB(f,G){if(!f)return!1;switch(f.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return G==null||B.default(f,G)}function EB(f,G){if(!f)return!1;switch(f.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return G==null||B.default(f,G)}function kB(f,G){if(!f)return!1;switch(f.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return G==null||B.default(f,G)}function vB(f,G){if(!f)return!1;switch(f.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return G==null||B.default(f,G)}function gB(f,G){if(!f)return!1;switch(f.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return G==null||B.default(f,G)}function _B(f,G){if(!f)return!1;switch(f.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return G==null||B.default(f,G)}function uB(f,G){if(!f)return!1;switch(f.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return G==null||B.default(f,G)}function hB(f,G){if(!f)return!1;switch(f.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return G==null||B.default(f,G)}function yB(f,G){if(!f)return!1;switch(f.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return G==null||B.default(f,G)}function xB(f,G){if(!f)return!1;switch(f.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return G==null||B.default(f,G)}function mB(f,G){if(!f)return!1;switch(f.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return G==null||B.default(f,G)}function lB(f,G){if(!f)return!1;switch(f.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return G==null||B.default(f,G)}function cB(f,G){if(!f)return!1;switch(f.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return G==null||B.default(f,G)}function aB(f,G){if(u1.default("isNumberLiteral","isNumericLiteral"),!f)return!1;if(f.type!=="NumberLiteral")return!1;return G==null||B.default(f,G)}function iB(f,G){if(u1.default("isRegexLiteral","isRegExpLiteral"),!f)return!1;if(f.type!=="RegexLiteral")return!1;return G==null||B.default(f,G)}function rB(f,G){if(u1.default("isRestProperty","isRestElement"),!f)return!1;if(f.type!=="RestProperty")return!1;return G==null||B.default(f,G)}function pB(f,G){if(u1.default("isSpreadProperty","isSpreadElement"),!f)return!1;if(f.type!=="SpreadProperty")return!1;return G==null||B.default(f,G)}function sB(f,G){return u1.default("isModuleDeclaration","isImportOrExportDeclaration"),zR(f,G)}});var i2=D((MR)=>{Object.defineProperty(MR,"__esModule",{value:!0});MR.default=wq;var h1=Nf();function wq(f,G,X){if(!h1.isMemberExpression(f))return!1;let J=Array.isArray(G)?G:G.split("."),W=[],R;for(R=f;h1.isMemberExpression(R);R=R.object)W.push(R.property);if(W.push(R),W.length<J.length)return!1;if(!X&&W.length>J.length)return!1;for(let V=0,H=W.length-1;V<J.length;V++,H--){let U=W[H],Q;if(h1.isIdentifier(U))Q=U.name;else if(h1.isStringLiteral(U))Q=U.value;else if(h1.isThisExpression(U))Q="this";else return!1;if(J[V]!==Q)return!1}return!0}});var r2=D((KR)=>{Object.defineProperty(KR,"__esModule",{value:!0});KR.default=vq;var kq=i2();function vq(f,G){let X=f.split(".");return(J)=>kq.default(J,X,G)}});var $R=D((FR)=>{Object.defineProperty(FR,"__esModule",{value:!0});FR.default=void 0;var _q=r2(),uq=_q.default("React.Component"),gYf=FR.default=uq});var CR=D((qR)=>{Object.defineProperty(qR,"__esModule",{value:!0});qR.default=hq;function hq(f){return!!f&&/^[a-z]/.test(f)}});var NX=D((jR)=>{Object.defineProperty(jR,"__esModule",{value:!0});jR.default=xq;var AR=of();function xq(f,G){if(f===G)return!0;if(f==null)return!1;if(AR.ALIAS_KEYS[G])return!1;let X=AR.FLIPPED_ALIAS_KEYS[G];if(X){if(X[0]===f)return!0;for(let J of X)if(f===J)return!0}return!1}});var p2=D((OR)=>{Object.defineProperty(OR,"__esModule",{value:!0});OR.default=cq;var lq=of();function cq(f,G){if(f===G)return!0;let X=lq.PLACEHOLDERS_ALIAS[f];if(X){for(let J of X)if(G===J)return!0}return!1}});var z1=D((DR)=>{Object.defineProperty(DR,"__esModule",{value:!0});DR.default=dq;var iq=PX(),rq=NX(),pq=p2(),sq=of();function dq(f,G,X){if(!G)return!1;if(!rq.default(G.type,f)){if(!X&&G.type==="Placeholder"&&f in sq.FLIPPED_ALIAS_KEYS)return pq.default(G.expectedNode,f);return!1}if(X===void 0)return!0;else return iq.default(G,X)}});var bR=D((LR)=>{Object.defineProperty(LR,"__esModule",{value:!0});LR.isIdentifierChar=TR;LR.isIdentifierName=fC;LR.isIdentifierStart=NR;var d2="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",IR="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",nq=new RegExp("["+d2+"]"),oq=new RegExp("["+d2+IR+"]");d2=IR=null;var PR=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],eq=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function s2(f,G){let X=65536;for(let J=0,W=G.length;J<W;J+=2){if(X+=G[J],X>f)return!1;if(X+=G[J+1],X>=f)return!0}return!1}function NR(f){if(f<65)return f===36;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&nq.test(String.fromCharCode(f));return s2(f,PR)}function TR(f){if(f<48)return f===36;if(f<58)return!0;if(f<65)return!1;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&oq.test(String.fromCharCode(f));return s2(f,PR)||s2(f,eq)}function fC(f){let G=!0;for(let X=0;X<f.length;X++){let J=f.charCodeAt(X);if((J&64512)===55296&&X+1<f.length){let W=f.charCodeAt(++X);if((W&64512)===56320)J=65536+((J&1023)<<10)+(W&1023)}if(G){if(G=!1,!NR(J))return!1}else if(!TR(J))return!1}return!G}});var gR=D((vR)=>{Object.defineProperty(vR,"__esModule",{value:!0});vR.isKeyword=UC;vR.isReservedWord=wR;vR.isStrictBindOnlyReservedWord=kR;vR.isStrictBindReservedWord=HC;vR.isStrictReservedWord=ER;var t2={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},WC=new Set(t2.keyword),RC=new Set(t2.strict),VC=new Set(t2.strictBind);function wR(f,G){return G&&f==="await"||f==="enum"}function ER(f,G){return wR(f,G)||RC.has(f)}function kR(f){return VC.has(f)}function HC(f,G){return ER(f,G)||kR(f)}function UC(f){return WC.has(f)}});var x1=D((zG)=>{Object.defineProperty(zG,"__esModule",{value:!0});Object.defineProperty(zG,"isIdentifierChar",{enumerable:!0,get:function(){return n2.isIdentifierChar}});Object.defineProperty(zG,"isIdentifierName",{enumerable:!0,get:function(){return n2.isIdentifierName}});Object.defineProperty(zG,"isIdentifierStart",{enumerable:!0,get:function(){return n2.isIdentifierStart}});Object.defineProperty(zG,"isKeyword",{enumerable:!0,get:function(){return y1.isKeyword}});Object.defineProperty(zG,"isReservedWord",{enumerable:!0,get:function(){return y1.isReservedWord}});Object.defineProperty(zG,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return y1.isStrictBindOnlyReservedWord}});Object.defineProperty(zG,"isStrictBindReservedWord",{enumerable:!0,get:function(){return y1.isStrictBindReservedWord}});Object.defineProperty(zG,"isStrictReservedWord",{enumerable:!0,get:function(){return y1.isStrictReservedWord}});var n2=bR(),y1=gR()});var B1=D((_R)=>{Object.defineProperty(_R,"__esModule",{value:!0});_R.default=MC;var o2=x1();function MC(f,G=!0){if(typeof f!=="string")return!1;if(G){if(o2.isKeyword(f)||o2.isStrictReservedWord(f,!0))return!1}return o2.isIdentifierName(f)}});var mR=D((xR)=>{Object.defineProperty(xR,"__esModule",{value:!0});xR.readCodePoint=yR;xR.readInt=hR;xR.readStringContents=SC;var FC=function f(G){return G>=48&&G<=57},uR={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},TX={bin:(f)=>f===48||f===49,oct:(f)=>f>=48&&f<=55,dec:(f)=>f>=48&&f<=57,hex:(f)=>f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102};function SC(f,G,X,J,W,R){let V=X,H=J,U=W,Q="",Y=null,S=X,{length:C}=G;for(;;){if(X>=C){R.unterminated(V,H,U),Q+=G.slice(S,X);break}let A=G.charCodeAt(X);if($C(f,A,G,X)){Q+=G.slice(S,X);break}if(A===92){Q+=G.slice(S,X);let O=qC(G,X,J,W,f==="template",R);if(O.ch===null&&!Y)Y={pos:X,lineStart:J,curLine:W};else Q+=O.ch;({pos:X,lineStart:J,curLine:W}=O),S=X}else if(A===8232||A===8233)++X,++W,J=X;else if(A===10||A===13)if(f==="template"){if(Q+=G.slice(S,X)+`
7
7
  `,++X,A===13&&G.charCodeAt(X)===10)++X;++W,S=J=X}else R.unterminated(V,H,U);else++X}return{pos:X,str:Q,firstInvalidLoc:Y,lineStart:J,curLine:W,containsInvalid:!!Y}}function $C(f,G,X,J){if(f==="template")return G===96||G===36&&X.charCodeAt(J+1)===123;return G===(f==="double"?34:39)}function qC(f,G,X,J,W,R){let V=!W;G++;let H=(Q)=>({pos:G,ch:Q,lineStart:X,curLine:J}),U=f.charCodeAt(G++);switch(U){case 110:return H(`
8
- `);case 114:return H("\r");case 120:{let Q;return{code:Q,pos:G}=e2(f,G,X,J,2,!1,V,R),H(Q===null?null:String.fromCharCode(Q))}case 117:{let Q;return{code:Q,pos:G}=y0(f,G,X,J,V,R),H(Q===null?null:String.fromCodePoint(Q))}case 116:return H("\t");case 98:return H("\b");case 118:return H("\v");case 102:return H("\f");case 13:if(f.charCodeAt(G)===10)++G;case 10:X=G,++J;case 8232:case 8233:return H("");case 56:case 57:if(W)return H(null);else R.strictNumericEscape(G-1,X,J);default:if(U>=48&&U<=55){let Q=G-1,S=/^[0-7]+/.exec(f.slice(Q,G+2))[0],C=parseInt(S,8);if(C>255)S=S.slice(0,-1),C=parseInt(S,8);G+=S.length-1;let A=f.charCodeAt(G);if(S!=="0"||A===56||A===57)if(W)return H(null);else R.strictNumericEscape(Q,X,J);return H(String.fromCharCode(C))}return H(String.fromCharCode(U))}}function e2(f,G,X,J,W,R,V,H){let U=G,Q;if({n:Q,pos:G}=h0(f,G,X,J,16,W,R,!1,H,!V),Q===null)if(V)H.invalidEscapeSequence(U,X,J);else G=U-1;return{code:Q,pos:G}}function h0(f,G,X,J,W,R,V,H,U,Q){let Y=G,S=W===16?u0.hex:u0.decBinOct,C=W===16?TX.hex:W===10?TX.dec:W===8?TX.oct:TX.bin,A=!1,j=0;for(let b=0,I=R==null?1/0:R;b<I;++b){let L=f.charCodeAt(G),w;if(L===95&&H!=="bail"){let Xf=f.charCodeAt(G-1),p=f.charCodeAt(G+1);if(!H){if(Q)return{n:null,pos:G};U.numericSeparatorInEscapeSequence(G,X,J)}else if(Number.isNaN(p)||!C(p)||S.has(Xf)||S.has(p)){if(Q)return{n:null,pos:G};U.unexpectedNumericSeparator(G,X,J)}++G;continue}if(L>=97)w=L-97+10;else if(L>=65)w=L-65+10;else if(FC(L))w=L-48;else w=1/0;if(w>=W)if(w<=9&&Q)return{n:null,pos:G};else if(w<=9&&U.invalidDigit(G,X,J,W))w=0;else if(V)w=0,A=!0;else break;++G,j=j*W+w}if(G===Y||R!=null&&G-Y!==R||A)return{n:null,pos:G};return{n:j,pos:G}}function y0(f,G,X,J,W,R){let V=f.charCodeAt(G),H;if(V===123){if(++G,{code:H,pos:G}=e2(f,G,X,J,f.indexOf("}",G)-G,!0,W,R),++G,H!==null&&H>1114111)if(W)R.invalidCodePoint(G,X,J);else return{code:null,pos:G}}else({code:H,pos:G}=e2(f,G,X,J,4,!1,W,R));return{code:H,pos:G}}});var EG=D((c0)=>{Object.defineProperty(c0,"__esModule",{value:!0});c0.UPDATE_OPERATORS=c0.UNARY_OPERATORS=c0.STRING_UNARY_OPERATORS=c0.STATEMENT_OR_BLOCK_KEYS=c0.NUMBER_UNARY_OPERATORS=c0.NUMBER_BINARY_OPERATORS=c0.NOT_LOCAL_BINDING=c0.LOGICAL_OPERATORS=c0.INHERIT_KEYS=c0.FOR_INIT_KEYS=c0.FLATTENABLE_KEYS=c0.EQUALITY_BINARY_OPERATORS=c0.COMPARISON_BINARY_OPERATORS=c0.COMMENT_KEYS=c0.BOOLEAN_UNARY_OPERATORS=c0.BOOLEAN_NUMBER_BINARY_OPERATORS=c0.BOOLEAN_BINARY_OPERATORS=c0.BLOCK_SCOPED_SYMBOL=c0.BINARY_OPERATORS=c0.ASSIGNMENT_OPERATORS=void 0;var rYf=c0.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],pYf=c0.FLATTENABLE_KEYS=["body","expressions"],sYf=c0.FOR_INIT_KEYS=["left","init"],dYf=c0.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],OC=c0.LOGICAL_OPERATORS=["||","&&","??"],tYf=c0.UPDATE_OPERATORS=["++","--"],DC=c0.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],PC=c0.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],IC=c0.COMPARISON_BINARY_OPERATORS=[...PC,"in","instanceof"],NC=c0.BOOLEAN_BINARY_OPERATORS=[...IC,...DC],l0=c0.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],nYf=c0.BINARY_OPERATORS=["+",...l0,...NC,"|>"],oYf=c0.ASSIGNMENT_OPERATORS=["=","+=",...l0.map((f)=>f+"="),...OC.map((f)=>f+"=")],TC=c0.BOOLEAN_UNARY_OPERATORS=["delete","!"],LC=c0.NUMBER_UNARY_OPERATORS=["+","-","~"],bC=c0.STRING_UNARY_OPERATORS=["typeof"],eYf=c0.UNARY_OPERATORS=["void","throw",...TC,...LC,...bC],f3f=c0.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},G3f=c0.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),X3f=c0.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var BG=D((n0)=>{Object.defineProperty(n0,"__esModule",{value:!0});n0.VISITOR_KEYS=n0.NODE_PARENT_VALIDATIONS=n0.NODE_FIELDS=n0.FLIPPED_ALIAS_KEYS=n0.DEPRECATED_KEYS=n0.BUILDER_KEYS=n0.ALIAS_KEYS=void 0;n0.arrayOf=r0;n0.arrayOfType=p0;n0.assertEach=s0;n0.assertNodeOrValueType=HA;n0.assertNodeType=wX;n0.assertOneOf=VA;n0.assertOptionalChainStart=QA;n0.assertShape=UA;n0.assertValueType=JJ;n0.chain=d0;n0.default=t0;n0.defineAliasedType=zA;n0.validate=XJ;n0.validateArrayOfType=RA;n0.validateOptional=JA;n0.validateOptionalType=WA;n0.validateType=XA;var i0=z1(),bX=EX(),tC=n0.VISITOR_KEYS={},nC=n0.ALIAS_KEYS={},fJ=n0.FLIPPED_ALIAS_KEYS={},oC=n0.NODE_FIELDS={},eC=n0.BUILDER_KEYS={},fA=n0.DEPRECATED_KEYS={},GA=n0.NODE_PARENT_VALIDATIONS={};function LX(f){if(Array.isArray(f))return"array";else if(f===null)return"null";else return typeof f}function XJ(f){return{validate:f}}function XA(...f){return XJ(wX(...f))}function JA(f){return{validate:f,optional:!0}}function WA(...f){return{validate:wX(...f),optional:!0}}function r0(f){return d0(JJ("array"),s0(f))}function p0(...f){return r0(wX(...f))}function RA(...f){return XJ(p0(...f))}function s0(f){let G=process.env.BABEL_TYPES_8_BREAKING?bX.validateChild:()=>{};function X(J,W,R){if(!Array.isArray(R))return;for(let V=0;V<R.length;V++){let H=`${W}[${V}]`,U=R[V];f(J,H,U),G(J,H,U)}}return X.each=f,X}function VA(...f){function G(X,J,W){if(!f.includes(W))throw new TypeError(`Property ${J} expected value to be one of ${JSON.stringify(f)} but got ${JSON.stringify(W)}`)}return G.oneOf=f,G}function wX(...f){function G(X,J,W){for(let R of f)if(i0.default(R,W)){bX.validateChild(X,J,W);return}throw new TypeError(`Property ${J} of ${X.type} expected node to be of a type ${JSON.stringify(f)} but instead got ${JSON.stringify(W==null?void 0:W.type)}`)}return G.oneOfNodeTypes=f,G}function HA(...f){function G(X,J,W){for(let R of f)if(LX(W)===R||i0.default(R,W)){bX.validateChild(X,J,W);return}throw new TypeError(`Property ${J} of ${X.type} expected node to be of a type ${JSON.stringify(f)} but instead got ${JSON.stringify(W==null?void 0:W.type)}`)}return G.oneOfNodeOrValueTypes=f,G}function JJ(f){function G(X,J,W){if(LX(W)!==f)throw new TypeError(`Property ${J} expected type of ${f} but got ${LX(W)}`)}return G.type=f,G}function UA(f){function G(X,J,W){let R=[];for(let V of Object.keys(f))try{bX.validateField(X,V,W[V],f[V])}catch(H){if(H instanceof TypeError){R.push(H.message);continue}throw H}if(R.length)throw new TypeError(`Property ${J} of ${X.type} expected to have the following:
8
+ `);case 114:return H("\r");case 120:{let Q;return{code:Q,pos:G}=e2(f,G,X,J,2,!1,V,R),H(Q===null?null:String.fromCharCode(Q))}case 117:{let Q;return{code:Q,pos:G}=yR(f,G,X,J,V,R),H(Q===null?null:String.fromCodePoint(Q))}case 116:return H("\t");case 98:return H("\b");case 118:return H("\v");case 102:return H("\f");case 13:if(f.charCodeAt(G)===10)++G;case 10:X=G,++J;case 8232:case 8233:return H("");case 56:case 57:if(W)return H(null);else R.strictNumericEscape(G-1,X,J);default:if(U>=48&&U<=55){let Q=G-1,S=/^[0-7]+/.exec(f.slice(Q,G+2))[0],C=parseInt(S,8);if(C>255)S=S.slice(0,-1),C=parseInt(S,8);G+=S.length-1;let A=f.charCodeAt(G);if(S!=="0"||A===56||A===57)if(W)return H(null);else R.strictNumericEscape(Q,X,J);return H(String.fromCharCode(C))}return H(String.fromCharCode(U))}}function e2(f,G,X,J,W,R,V,H){let U=G,Q;if({n:Q,pos:G}=hR(f,G,X,J,16,W,R,!1,H,!V),Q===null)if(V)H.invalidEscapeSequence(U,X,J);else G=U-1;return{code:Q,pos:G}}function hR(f,G,X,J,W,R,V,H,U,Q){let Y=G,S=W===16?uR.hex:uR.decBinOct,C=W===16?TX.hex:W===10?TX.dec:W===8?TX.oct:TX.bin,A=!1,O=0;for(let b=0,P=R==null?1/0:R;b<P;++b){let L=f.charCodeAt(G),w;if(L===95&&H!=="bail"){let Xf=f.charCodeAt(G-1),p=f.charCodeAt(G+1);if(!H){if(Q)return{n:null,pos:G};U.numericSeparatorInEscapeSequence(G,X,J)}else if(Number.isNaN(p)||!C(p)||S.has(Xf)||S.has(p)){if(Q)return{n:null,pos:G};U.unexpectedNumericSeparator(G,X,J)}++G;continue}if(L>=97)w=L-97+10;else if(L>=65)w=L-65+10;else if(FC(L))w=L-48;else w=1/0;if(w>=W)if(w<=9&&Q)return{n:null,pos:G};else if(w<=9&&U.invalidDigit(G,X,J,W))w=0;else if(V)w=0,A=!0;else break;++G,O=O*W+w}if(G===Y||R!=null&&G-Y!==R||A)return{n:null,pos:G};return{n:O,pos:G}}function yR(f,G,X,J,W,R){let V=f.charCodeAt(G),H;if(V===123){if(++G,{code:H,pos:G}=e2(f,G,X,J,f.indexOf("}",G)-G,!0,W,R),++G,H!==null&&H>1114111)if(W)R.invalidCodePoint(G,X,J);else return{code:null,pos:G}}else({code:H,pos:G}=e2(f,G,X,J,4,!1,W,R));return{code:H,pos:G}}});var EG=D((cR)=>{Object.defineProperty(cR,"__esModule",{value:!0});cR.UPDATE_OPERATORS=cR.UNARY_OPERATORS=cR.STRING_UNARY_OPERATORS=cR.STATEMENT_OR_BLOCK_KEYS=cR.NUMBER_UNARY_OPERATORS=cR.NUMBER_BINARY_OPERATORS=cR.NOT_LOCAL_BINDING=cR.LOGICAL_OPERATORS=cR.INHERIT_KEYS=cR.FOR_INIT_KEYS=cR.FLATTENABLE_KEYS=cR.EQUALITY_BINARY_OPERATORS=cR.COMPARISON_BINARY_OPERATORS=cR.COMMENT_KEYS=cR.BOOLEAN_UNARY_OPERATORS=cR.BOOLEAN_NUMBER_BINARY_OPERATORS=cR.BOOLEAN_BINARY_OPERATORS=cR.BLOCK_SCOPED_SYMBOL=cR.BINARY_OPERATORS=cR.ASSIGNMENT_OPERATORS=void 0;var rYf=cR.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],pYf=cR.FLATTENABLE_KEYS=["body","expressions"],sYf=cR.FOR_INIT_KEYS=["left","init"],dYf=cR.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],OC=cR.LOGICAL_OPERATORS=["||","&&","??"],tYf=cR.UPDATE_OPERATORS=["++","--"],DC=cR.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],IC=cR.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],PC=cR.COMPARISON_BINARY_OPERATORS=[...IC,"in","instanceof"],NC=cR.BOOLEAN_BINARY_OPERATORS=[...PC,...DC],lR=cR.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],nYf=cR.BINARY_OPERATORS=["+",...lR,...NC,"|>"],oYf=cR.ASSIGNMENT_OPERATORS=["=","+=",...lR.map((f)=>f+"="),...OC.map((f)=>f+"=")],TC=cR.BOOLEAN_UNARY_OPERATORS=["delete","!"],LC=cR.NUMBER_UNARY_OPERATORS=["+","-","~"],bC=cR.STRING_UNARY_OPERATORS=["typeof"],eYf=cR.UNARY_OPERATORS=["void","throw",...TC,...LC,...bC],f3f=cR.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},G3f=cR.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),X3f=cR.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var BG=D((nR)=>{Object.defineProperty(nR,"__esModule",{value:!0});nR.VISITOR_KEYS=nR.NODE_PARENT_VALIDATIONS=nR.NODE_FIELDS=nR.FLIPPED_ALIAS_KEYS=nR.DEPRECATED_KEYS=nR.BUILDER_KEYS=nR.ALIAS_KEYS=void 0;nR.arrayOf=rR;nR.arrayOfType=pR;nR.assertEach=sR;nR.assertNodeOrValueType=HA;nR.assertNodeType=wX;nR.assertOneOf=VA;nR.assertOptionalChainStart=QA;nR.assertShape=UA;nR.assertValueType=JJ;nR.chain=dR;nR.default=tR;nR.defineAliasedType=zA;nR.validate=XJ;nR.validateArrayOfType=RA;nR.validateOptional=JA;nR.validateOptionalType=WA;nR.validateType=XA;var iR=z1(),bX=EX(),tC=nR.VISITOR_KEYS={},nC=nR.ALIAS_KEYS={},fJ=nR.FLIPPED_ALIAS_KEYS={},oC=nR.NODE_FIELDS={},eC=nR.BUILDER_KEYS={},fA=nR.DEPRECATED_KEYS={},GA=nR.NODE_PARENT_VALIDATIONS={};function LX(f){if(Array.isArray(f))return"array";else if(f===null)return"null";else return typeof f}function XJ(f){return{validate:f}}function XA(...f){return XJ(wX(...f))}function JA(f){return{validate:f,optional:!0}}function WA(...f){return{validate:wX(...f),optional:!0}}function rR(f){return dR(JJ("array"),sR(f))}function pR(...f){return rR(wX(...f))}function RA(...f){return XJ(pR(...f))}function sR(f){let G=process.env.BABEL_TYPES_8_BREAKING?bX.validateChild:()=>{};function X(J,W,R){if(!Array.isArray(R))return;for(let V=0;V<R.length;V++){let H=`${W}[${V}]`,U=R[V];f(J,H,U),G(J,H,U)}}return X.each=f,X}function VA(...f){function G(X,J,W){if(!f.includes(W))throw new TypeError(`Property ${J} expected value to be one of ${JSON.stringify(f)} but got ${JSON.stringify(W)}`)}return G.oneOf=f,G}function wX(...f){function G(X,J,W){for(let R of f)if(iR.default(R,W)){bX.validateChild(X,J,W);return}throw new TypeError(`Property ${J} of ${X.type} expected node to be of a type ${JSON.stringify(f)} but instead got ${JSON.stringify(W==null?void 0:W.type)}`)}return G.oneOfNodeTypes=f,G}function HA(...f){function G(X,J,W){for(let R of f)if(LX(W)===R||iR.default(R,W)){bX.validateChild(X,J,W);return}throw new TypeError(`Property ${J} of ${X.type} expected node to be of a type ${JSON.stringify(f)} but instead got ${JSON.stringify(W==null?void 0:W.type)}`)}return G.oneOfNodeOrValueTypes=f,G}function JJ(f){function G(X,J,W){if(LX(W)!==f)throw new TypeError(`Property ${J} expected type of ${f} but got ${LX(W)}`)}return G.type=f,G}function UA(f){function G(X,J,W){let R=[];for(let V of Object.keys(f))try{bX.validateField(X,V,W[V],f[V])}catch(H){if(H instanceof TypeError){R.push(H.message);continue}throw H}if(R.length)throw new TypeError(`Property ${J} of ${X.type} expected to have the following:
9
9
  ${R.join(`
10
- `)}`)}return G.shapeOf=f,G}function QA(){function f(G){var X;let J=G;while(G){let{type:W}=J;if(W==="OptionalCallExpression"){if(J.optional)return;J=J.callee;continue}if(W==="OptionalMemberExpression"){if(J.optional)return;J=J.object;continue}break}throw new TypeError(`Non-optional ${G.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(X=J)==null?void 0:X.type}`)}return f}function d0(...f){function G(...X){for(let J of f)J(...X)}if(G.chainOf=f,f.length>=2&&"type"in f[0]&&f[0].type==="array"&&!("each"in f[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return G}var ZA=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),YA=new Set(["default","optional","deprecated","validate"]),GJ={};function zA(...f){return(G,X={})=>{let J=X.aliases;if(!J){var W,R;if(X.inherits)J=(W=GJ[X.inherits].aliases)==null?void 0:W.slice();(R=J)!=null||(J=[]),X.aliases=J}let V=f.filter((H)=>!J.includes(H));J.unshift(...V),t0(G,X)}}function t0(f,G={}){let X=G.inherits&&GJ[G.inherits]||{},J=G.fields;if(!J){if(J={},X.fields){let H=Object.getOwnPropertyNames(X.fields);for(let U of H){let Q=X.fields[U],Y=Q.default;if(Array.isArray(Y)?Y.length>0:Y&&typeof Y==="object")throw new Error("field defaults can only be primitives or empty arrays currently");J[U]={default:Array.isArray(Y)?[]:Y,optional:Q.optional,deprecated:Q.deprecated,validate:Q.validate}}}}let W=G.visitor||X.visitor||[],R=G.aliases||X.aliases||[],V=G.builder||X.builder||G.visitor||[];for(let H of Object.keys(G))if(!ZA.has(H))throw new Error(`Unknown type option "${H}" on ${f}`);if(G.deprecatedAlias)fA[G.deprecatedAlias]=f;for(let H of W.concat(V))J[H]=J[H]||{};for(let H of Object.keys(J)){let U=J[H];if(U.default!==void 0&&!V.includes(H))U.optional=!0;if(U.default===void 0)U.default=null;else if(!U.validate&&U.default!=null)U.validate=JJ(LX(U.default));for(let Q of Object.keys(U))if(!YA.has(Q))throw new Error(`Unknown field key "${Q}" on ${f}.${H}`)}if(tC[f]=G.visitor=W,eC[f]=G.builder=V,oC[f]=G.fields=J,nC[f]=G.aliases=R,R.forEach((H)=>{fJ[H]=fJ[H]||[],fJ[H].push(f)}),G.validate)GA[f]=G.validate;GJ[f]=G}});var l1=D((GR)=>{Object.defineProperty(GR,"__esModule",{value:!0});GR.patternLikeCommon=GR.importAttributes=GR.functionTypeAnnotationCommon=GR.functionDeclarationCommon=GR.functionCommon=GR.classMethodOrPropertyCommon=GR.classMethodOrDeclareMethodCommon=void 0;var uf=z1(),_A=B1(),e0=x1(),uA=m0(),m1=EG(),M=BG(),v=M.defineAliasedType("Standardized");v("ArrayExpression",{fields:{elements:{validate:M.arrayOf(M.assertNodeOrValueType("null","Expression","SpreadElement")),default:!process.env.BABEL_TYPES_8_BREAKING?[]:void 0}},visitor:["elements"],aliases:["Expression"]});v("AssignmentExpression",{fields:{operator:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("string"):Object.assign(function(){let f=M.assertOneOf(...m1.ASSIGNMENT_OPERATORS),G=M.assertOneOf("=");return function(X,J,W){(uf.default("Pattern",X.left)?G:f)(X,J,W)}}(),{type:"string"})},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal","OptionalMemberExpression"):M.assertNodeType("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});v("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:M.assertOneOf(...m1.BINARY_OPERATORS)},left:{validate:function(){let f=M.assertNodeType("Expression"),G=M.assertNodeType("Expression","PrivateName");return Object.assign(function(J,W,R){(J.operator==="in"?G:f)(J,W,R)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:M.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});v("InterpreterDirective",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});v("Directive",{visitor:["value"],fields:{value:{validate:M.assertNodeType("DirectiveLiteral")}}});v("DirectiveLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});v("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});v("BreakStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});v("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:M.assertNodeType("Expression","Super","V8IntrinsicIdentifier")},arguments:M.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:M.assertNodeType("TypeParameterInstantiation"),optional:!0}},{optional:{validate:M.assertValueType("boolean"),optional:!0},typeParameters:{validate:M.assertNodeType("TSTypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:M.assertValueType("boolean"),optional:!0}})});v("CatchClause",{visitor:["param","body"],fields:{param:{validate:M.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}},aliases:["Scopable","BlockParent"]});v("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Expression")},alternate:{validate:M.assertNodeType("Expression")}},aliases:["Expression","Conditional"]});v("ContinueStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});v("DebuggerStatement",{aliases:["Statement"]});v("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});v("EmptyStatement",{aliases:["Statement"]});v("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:M.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]});v("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:M.assertNodeType("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):M.assertEach(M.assertNodeType("CommentBlock","CommentLine")),optional:!0},tokens:{validate:M.assertEach(Object.assign(()=>{},{type:"any"})),optional:!0}}});v("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("VariableDeclaration","LVal"):M.assertNodeType("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});v("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:M.assertNodeType("VariableDeclaration","Expression"),optional:!0},test:{validate:M.assertNodeType("Expression"),optional:!0},update:{validate:M.assertNodeType("Expression"),optional:!0},body:{validate:M.assertNodeType("Statement")}}});var M1=()=>({params:M.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});GR.functionCommon=M1;var rG=()=>({returnType:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});GR.functionTypeAnnotationCommon=rG;var fR=()=>Object.assign({},M1(),{declare:{validate:M.assertValueType("boolean"),optional:!0},id:{validate:M.assertNodeType("Identifier"),optional:!0}});GR.functionDeclarationCommon=fR;v("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},fR(),rG(),{body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let f=M.assertNodeType("Identifier");return function(G,X,J){if(!uf.default("ExportDefaultDeclaration",G))f(J,"id",J.id)}}()});v("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},M1(),rG(),{id:{validate:M.assertNodeType("Identifier"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var K1=()=>({typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:M.assertValueType("boolean"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});GR.patternLikeCommon=K1;v("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},K1(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(f,G,X){if(!_A.default(X,!1))throw new TypeError(`"${X}" is not a valid identifier name`)},{type:"string"})):M.assertValueType("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(f,G,X){let J=/\.(\w+)$/.exec(G);if(!J)return;let[,W]=J,R={computed:!1};if(W==="property"){if(uf.default("MemberExpression",f,R))return;if(uf.default("OptionalMemberExpression",f,R))return}else if(W==="key"){if(uf.default("Property",f,R))return;if(uf.default("Method",f,R))return}else if(W==="exported"){if(uf.default("ExportSpecifier",f))return}else if(W==="imported"){if(uf.default("ImportSpecifier",f,{imported:X}))return}else if(W==="meta"){if(uf.default("MetaProperty",f,{meta:X}))return}if((e0.isKeyword(X.name)||e0.isReservedWord(X.name,!1))&&X.name!=="this")throw new TypeError(`"${X.name}" is not a valid identifier`)}:void 0});v("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Statement")},alternate:{optional:!0,validate:M.assertNodeType("Statement")}}});v("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:M.assertNodeType("Identifier")},body:{validate:M.assertNodeType("Statement")}}});v("StringLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});v("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:M.chain(M.assertValueType("number"),Object.assign(function(f,G,X){if(1/X<0||!Number.isFinite(X)){let J=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${X}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});v("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});v("BooleanLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});v("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:M.assertValueType("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(f,G,X){let J=/[^gimsuy]/.exec(X);if(J)throw new TypeError(`"${J[0]}" is not a valid RegExp flag`)},{type:"string"})):M.assertValueType("string"),default:""}}});v("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:M.assertOneOf(...m1.LOGICAL_OPERATORS)},left:{validate:M.assertNodeType("Expression")},right:{validate:M.assertNodeType("Expression")}}});v("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:M.assertNodeType("Expression","Super")},property:{validate:function(){let f=M.assertNodeType("Identifier","PrivateName"),G=M.assertNodeType("Expression"),X=function(J,W,R){(J.computed?G:f)(J,W,R)};return X.oneOfNodeTypes=["Expression","Identifier","PrivateName"],X}()},computed:{default:!1}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:M.assertValueType("boolean"),optional:!0}}:{})});v("NewExpression",{inherits:"CallExpression"});v("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:M.assertOneOf("script","module"),default:"script"},interpreter:{validate:M.assertNodeType("InterpreterDirective"),default:null,optional:!0},directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block"]});v("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:M.validateArrayOfType("ObjectMethod","ObjectProperty","SpreadElement")}});v("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},M1(),rG(),{kind:Object.assign({validate:M.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=M.assertNodeType("Expression"),X=function(J,W,R){(J.computed?G:f)(J,W,R)};return X.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],X}()},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});v("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:!1},key:{validate:function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),G=M.assertNodeType("Expression");return Object.assign(function(J,W,R){(J.computed?G:f)(J,W,R)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:M.assertNodeType("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("boolean"),Object.assign(function(f,G,X){if(!X)return;if(f.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!uf.default("Identifier",f.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")},{type:"boolean"})):M.assertValueType("boolean"),default:!1},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let f=M.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),G=M.assertNodeType("Expression");return function(X,J,W){(uf.default("ObjectPattern",X)?f:G)(W,"value",W.value)}}()});v("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},K1(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal"):M.assertNodeType("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(f,G){let X=/(\w+)\[(\d+)\]/.exec(G);if(!X)throw new Error("Internal Babel error: malformed key.");let[,J,W]=X;if(f[J].length>+W+1)throw new TypeError(`RestElement must be last element of ${J}`)}:void 0});v("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression"),optional:!0}}});v("SequenceExpression",{visitor:["expressions"],fields:{expressions:M.validateArrayOfType("Expression")},aliases:["Expression"]});v("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:M.assertNodeType("Expression")}}});v("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:M.assertNodeType("Expression"),optional:!0},consequent:M.validateArrayOfType("Statement")}});v("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:M.assertNodeType("Expression")},cases:M.validateArrayOfType("SwitchCase")}});v("ThisExpression",{aliases:["Expression"]});v("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression")}}});v("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("BlockStatement"),Object.assign(function(f){if(!f.handler&&!f.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):M.assertNodeType("BlockStatement")},handler:{optional:!0,validate:M.assertNodeType("CatchClause")},finalizer:{optional:!0,validate:M.assertNodeType("BlockStatement")}}});v("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:M.assertNodeType("Expression")},operator:{validate:M.assertOneOf(...m1.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});v("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("Expression"):M.assertNodeType("Identifier","MemberExpression")},operator:{validate:M.assertOneOf(...m1.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});v("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:M.assertValueType("boolean"),optional:!0},kind:{validate:M.assertOneOf("var","let","const","using","await using")},declarations:M.validateArrayOfType("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let f=M.assertNodeType("Identifier");return function(G,X,J){if(uf.default("ForXStatement",G,{left:J})){if(J.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${G.type}`)}else J.declarations.forEach((W)=>{if(!W.init)f(W,"id",W.id)})}})():void 0});v("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal"):M.assertNodeType("Identifier","ArrayPattern","ObjectPattern")},definite:{optional:!0,validate:M.assertValueType("boolean")},init:{optional:!0,validate:M.assertNodeType("Expression")}}});v("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});v("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});v("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},K1(),{left:{validate:M.assertNodeType("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}})});v("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},K1(),{elements:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeOrValueType("null","PatternLike","LVal")))}})});v("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},M1(),rG(),{expression:{validate:M.assertValueType("boolean")},body:{validate:M.assertNodeType("BlockStatement","Expression")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});v("ClassBody",{visitor:["body"],fields:{body:M.validateArrayOfType("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});v("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:M.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:M.assertNodeType("ClassBody")},superClass:{optional:!0,validate:M.assertNodeType("Expression")},["superTypeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:M.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},mixins:{validate:M.assertNodeType("InterfaceExtends"),optional:!0}}});v("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:M.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:M.assertNodeType("ClassBody")},superClass:{optional:!0,validate:M.assertNodeType("Expression")},["superTypeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:M.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},mixins:{validate:M.assertNodeType("InterfaceExtends"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},abstract:{validate:M.assertValueType("boolean"),optional:!0}},validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let f=M.assertNodeType("Identifier");return function(G,X,J){if(!uf.default("ExportDefaultDeclaration",G))f(J,"id",J.id)}}()});var WJ=GR.importAttributes={attributes:{optional:!0,validate:M.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:M.arrayOfType("ImportAttribute")}};v("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:M.assertNodeType("StringLiteral")},exportKind:M.validateOptional(M.assertOneOf("type","value"))},WJ)});v("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:M.validateType("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:M.validateOptional(M.assertOneOf("value"))}});v("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Declaration"),Object.assign(function(f,G,X){if(X&&f.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(X&&f.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):M.assertNodeType("Declaration")}},WJ,{specifiers:{default:[],validate:M.arrayOf(function(){let f=M.assertNodeType("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),G=M.assertNodeType("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return f;return Object.assign(function(X,J,W){(X.source?f:G)(X,J,W)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]})}())},source:{validate:M.assertNodeType("StringLiteral"),optional:!0},exportKind:M.validateOptional(M.assertOneOf("type","value"))})});v("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")},exported:{validate:M.assertNodeType("Identifier","StringLiteral")},exportKind:{validate:M.assertOneOf("type","value"),optional:!0}}});v("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 M.assertNodeType("VariableDeclaration","LVal");let f=M.assertNodeType("VariableDeclaration"),G=M.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(X,J,W){if(uf.default("VariableDeclaration",W))f(X,J,W);else G(X,J,W)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")},await:{default:!1}}});v("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},WJ,{module:{optional:!0,validate:M.assertValueType("boolean")},phase:{default:null,validate:M.assertOneOf("source","defer")},specifiers:M.validateArrayOfType("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:M.assertNodeType("StringLiteral")},importKind:{validate:M.assertOneOf("type","typeof","value"),optional:!0}})});v("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});v("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});v("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")},imported:{validate:M.assertNodeType("Identifier","StringLiteral")},importKind:{validate:M.assertOneOf("type","typeof","value"),optional:!0}}});v("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:M.assertOneOf("source","defer")},source:{validate:M.assertNodeType("Expression")},options:{validate:M.assertNodeType("Expression"),optional:!0}}});v("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Identifier"),Object.assign(function(f,G,X){let J;switch(X.name){case"function":J="sent";break;case"new":J="target";break;case"import":J="meta";break}if(!uf.default("Identifier",f.property,{name:J}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):M.assertNodeType("Identifier")},property:{validate:M.assertNodeType("Identifier")}}});var kX=()=>({abstract:{validate:M.assertValueType("boolean"),optional:!0},accessibility:{validate:M.assertOneOf("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:M.assertValueType("boolean"),optional:!0},key:{validate:M.chain(function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=M.assertNodeType("Expression");return function(X,J,W){(X.computed?G:f)(X,J,W)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});GR.classMethodOrPropertyCommon=kX;var RJ=()=>Object.assign({},M1(),kX(),{params:M.validateArrayOfType("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:M.assertOneOf("get","set","method","constructor"),default:"method"},access:{validate:M.chain(M.assertValueType("string"),M.assertOneOf("public","private","protected")),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});GR.classMethodOrDeclareMethodCommon=RJ;v("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},RJ(),rG(),{body:{validate:M.assertNodeType("BlockStatement")}})});v("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},K1(),{properties:M.validateArrayOfType("RestElement","ObjectProperty")})});v("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:M.assertNodeType("Expression")}}});v("Super",{aliases:["Expression"]});v("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:M.assertNodeType("Expression")},quasi:{validate:M.assertNodeType("TemplateLiteral")},["typeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});v("TemplateElement",{builder:["value","tail"],fields:{value:{validate:M.chain(M.assertShape({raw:{validate:M.assertValueType("string")},cooked:{validate:M.assertValueType("string"),optional:!0}}),function f(G){let X=G.value.raw,J=!1,W=()=>{throw new Error("Internal @babel/types error.")},{str:R,firstInvalidLoc:V}=uA.readStringContents("template",X,0,0,0,{unterminated(){J=!0},strictNumericEscape:W,invalidEscapeSequence:W,numericSeparatorInEscapeSequence:W,unexpectedNumericSeparator:W,invalidDigit:W,invalidCodePoint:W});if(!J)throw new Error("Invalid raw");G.value.cooked=V?null:R})},tail:{default:!1}}});v("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:M.validateArrayOfType("TemplateElement"),expressions:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeType("Expression","TSType")),function(f,G,X){if(f.quasis.length!==X.length+1)throw new TypeError(`Number of ${f.type} quasis should be exactly one more than the number of expressions.
11
- Expected ${X.length+1} quasis but got ${f.quasis.length}`)})}}});v("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("boolean"),Object.assign(function(f,G,X){if(X&&!f.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):M.assertValueType("boolean"),default:!1},argument:{optional:!0,validate:M.assertNodeType("Expression")}}});v("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:M.assertNodeType("Expression")}}});v("Import",{aliases:["Expression"]});v("BigIntLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});v("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:M.assertNodeType("Identifier")}}});v("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:M.assertNodeType("Expression")},property:{validate:function(){let f=M.assertNodeType("Identifier"),G=M.assertNodeType("Expression");return Object.assign(function(J,W,R){(J.computed?G:f)(J,W,R)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())}}});v("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:M.assertNodeType("Expression")},arguments:M.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())},typeArguments:{validate:M.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:M.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});v("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},kX(),{value:{validate:M.assertNodeType("Expression"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},readonly:{validate:M.assertValueType("boolean"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}})});v("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},kX(),{key:{validate:M.chain(function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),G=M.assertNodeType("Expression");return function(X,J,W){(X.computed?G:f)(X,J,W)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:M.assertNodeType("Expression"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},readonly:{validate:M.assertValueType("boolean"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}})});v("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:M.assertNodeType("PrivateName")},value:{validate:M.assertNodeType("Expression"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},static:{validate:M.assertValueType("boolean"),default:!1},readonly:{validate:M.assertValueType("boolean"),optional:!0},optional:{validate:M.assertValueType("boolean"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}}});v("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},RJ(),rG(),{kind:{validate:M.assertOneOf("get","set","method"),default:"method"},key:{validate:M.assertNodeType("PrivateName")},body:{validate:M.assertNodeType("BlockStatement")}})});v("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:M.assertNodeType("Identifier")}}});v("StaticBlock",{visitor:["body"],fields:{body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})});var WR=D(()=>{var JR=l1(),O=BG(),r=O.defineAliasedType("Flow"),VJ=(f)=>{let G=f==="DeclareClass";r(f,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...G?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:O.validateType("Identifier"),typeParameters:O.validateOptionalType("TypeParameterDeclaration"),extends:O.validateOptional(O.arrayOfType("InterfaceExtends"))},G?{mixins:O.validateOptional(O.arrayOfType("InterfaceExtends")),implements:O.validateOptional(O.arrayOfType("ClassImplements"))}:{},{body:O.validateType("ObjectTypeAnnotation")})})};r("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:O.validateType("FlowType")}});r("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:O.validate(O.assertValueType("boolean"))}});r("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ClassImplements",{visitor:["id","typeParameters"],fields:{id:O.validateType("Identifier"),typeParameters:O.validateOptionalType("TypeParameterInstantiation")}});VJ("DeclareClass");r("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier"),predicate:O.validateOptionalType("DeclaredPredicate")}});VJ("DeclareInterface");r("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier","StringLiteral"),body:O.validateType("BlockStatement"),kind:O.validateOptional(O.assertOneOf("CommonJS","ES"))}});r("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:O.validateType("TypeAnnotation")}});r("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier"),typeParameters:O.validateOptionalType("TypeParameterDeclaration"),right:O.validateType("FlowType")}});r("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier"),typeParameters:O.validateOptionalType("TypeParameterDeclaration"),supertype:O.validateOptionalType("FlowType"),impltype:O.validateOptionalType("FlowType")}});r("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier")}});r("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:O.validateOptionalType("Flow"),specifiers:O.validateOptional(O.arrayOfType("ExportSpecifier","ExportNamespaceSpecifier")),source:O.validateOptionalType("StringLiteral"),default:O.validateOptional(O.assertValueType("boolean"))},JR.importAttributes)});r("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:O.validateType("StringLiteral"),exportKind:O.validateOptional(O.assertOneOf("type","value"))},JR.importAttributes)});r("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:O.validateType("Flow")}});r("ExistsTypeAnnotation",{aliases:["FlowType"]});r("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:O.validateOptionalType("TypeParameterDeclaration"),params:O.validateArrayOfType("FunctionTypeParam"),rest:O.validateOptionalType("FunctionTypeParam"),this:O.validateOptionalType("FunctionTypeParam"),returnType:O.validateType("FlowType")}});r("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:O.validateOptionalType("Identifier"),typeAnnotation:O.validateType("FlowType"),optional:O.validateOptional(O.assertValueType("boolean"))}});r("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:O.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:O.validateOptionalType("TypeParameterInstantiation")}});r("InferredPredicate",{aliases:["FlowPredicate"]});r("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:O.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:O.validateOptionalType("TypeParameterInstantiation")}});VJ("InterfaceDeclaration");r("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:O.validateOptional(O.arrayOfType("InterfaceExtends")),body:O.validateType("ObjectTypeAnnotation")}});r("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:O.validate(O.arrayOfType("FlowType"))}});r("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:O.validateType("FlowType")}});r("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:O.validate(O.assertValueType("number"))}});r("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:O.validate(O.arrayOfType("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:O.arrayOfType("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:O.arrayOfType("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:O.arrayOfType("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:O.assertValueType("boolean"),default:!1},inexact:O.validateOptional(O.assertValueType("boolean"))}});r("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:O.validateType("Identifier"),value:O.validateType("FlowType"),optional:O.validate(O.assertValueType("boolean")),static:O.validate(O.assertValueType("boolean")),method:O.validate(O.assertValueType("boolean"))}});r("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:O.validateType("FlowType"),static:O.validate(O.assertValueType("boolean"))}});r("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:O.validateOptionalType("Identifier"),key:O.validateType("FlowType"),value:O.validateType("FlowType"),static:O.validate(O.assertValueType("boolean")),variance:O.validateOptionalType("Variance")}});r("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:O.validateType("Identifier","StringLiteral"),value:O.validateType("FlowType"),kind:O.validate(O.assertOneOf("init","get","set")),static:O.validate(O.assertValueType("boolean")),proto:O.validate(O.assertValueType("boolean")),optional:O.validate(O.assertValueType("boolean")),variance:O.validateOptionalType("Variance"),method:O.validate(O.assertValueType("boolean"))}});r("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:O.validateType("FlowType")}});r("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier"),typeParameters:O.validateOptionalType("TypeParameterDeclaration"),supertype:O.validateOptionalType("FlowType"),impltype:O.validateType("FlowType")}});r("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:O.validateType("Identifier"),qualification:O.validateType("Identifier","QualifiedTypeIdentifier")}});r("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:O.validate(O.assertValueType("string"))}});r("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:O.validate(O.arrayOfType("FlowType"))}});r("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:O.validateType("FlowType")}});r("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:O.validateType("Identifier"),typeParameters:O.validateOptionalType("TypeParameterDeclaration"),right:O.validateType("FlowType")}});r("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:O.validateType("FlowType")}});r("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:O.validateType("Expression"),typeAnnotation:O.validateType("TypeAnnotation")}});r("TypeParameter",{visitor:["bound","default","variance"],fields:{name:O.validate(O.assertValueType("string")),bound:O.validateOptionalType("TypeAnnotation"),default:O.validateOptionalType("FlowType"),variance:O.validateOptionalType("Variance")}});r("TypeParameterDeclaration",{visitor:["params"],fields:{params:O.validate(O.arrayOfType("TypeParameter"))}});r("TypeParameterInstantiation",{visitor:["params"],fields:{params:O.validate(O.arrayOfType("FlowType"))}});r("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:O.validate(O.arrayOfType("FlowType"))}});r("Variance",{builder:["kind"],fields:{kind:O.validate(O.assertOneOf("minus","plus"))}});r("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:O.validateType("Identifier"),body:O.validateType("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});r("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:O.validate(O.assertValueType("boolean")),members:O.validateArrayOfType("EnumBooleanMember"),hasUnknownMembers:O.validate(O.assertValueType("boolean"))}});r("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:O.validate(O.assertValueType("boolean")),members:O.validateArrayOfType("EnumNumberMember"),hasUnknownMembers:O.validate(O.assertValueType("boolean"))}});r("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:O.validate(O.assertValueType("boolean")),members:O.validateArrayOfType("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:O.validate(O.assertValueType("boolean"))}});r("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:O.validateArrayOfType("EnumDefaultedMember"),hasUnknownMembers:O.validate(O.assertValueType("boolean"))}});r("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:O.validateType("Identifier"),init:O.validateType("BooleanLiteral")}});r("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:O.validateType("Identifier"),init:O.validateType("NumericLiteral")}});r("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:O.validateType("Identifier"),init:O.validateType("StringLiteral")}});r("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:O.validateType("Identifier")}});r("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:O.validateType("FlowType"),indexType:O.validateType("FlowType")}});r("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:O.validateType("FlowType"),indexType:O.validateType("FlowType"),optional:O.validate(O.assertValueType("boolean"))}})});var RR=D(()=>{var Df=BG(),hf=Df.defineAliasedType("JSX");hf("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Df.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Df.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});hf("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Df.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});hf("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Df.assertNodeType("JSXOpeningElement")},closingElement:{optional:!0,validate:Df.assertNodeType("JSXClosingElement")},children:Df.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:Df.assertValueType("boolean"),optional:!0}})});hf("JSXEmptyExpression",{});hf("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Df.assertNodeType("Expression","JSXEmptyExpression")}}});hf("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Df.assertNodeType("Expression")}}});hf("JSXIdentifier",{builder:["name"],fields:{name:{validate:Df.assertValueType("string")}}});hf("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Df.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:Df.assertNodeType("JSXIdentifier")}}});hf("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Df.assertNodeType("JSXIdentifier")},name:{validate:Df.assertNodeType("JSXIdentifier")}}});hf("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:Df.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:Df.validateArrayOfType("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:Df.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:Df.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});hf("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Df.assertNodeType("Expression")}}});hf("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:Df.assertValueType("string")}}});hf("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Df.assertNodeType("JSXOpeningFragment")},closingFragment:{validate:Df.assertNodeType("JSXClosingFragment")},children:Df.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});hf("JSXOpeningFragment",{aliases:["Immutable"]});hf("JSXClosingFragment",{aliases:["Immutable"]})});var QJ=D((VR)=>{Object.defineProperty(VR,"__esModule",{value:!0});VR.PLACEHOLDERS_FLIPPED_ALIAS=VR.PLACEHOLDERS_ALIAS=VR.PLACEHOLDERS=void 0;var aA=BG(),iA=VR.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],UJ=VR.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let f of iA){let G=aA.ALIAS_KEYS[f];if(G!=null&&G.length)UJ[f]=G}var HJ=VR.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(UJ).forEach((f)=>{UJ[f].forEach((G)=>{if(!hasOwnProperty.call(HJ,G))HJ[G]=[];HJ[G].push(f)})})});var UR=D(()=>{var vX=BG(),sA=QJ(),dA=l1(),ZJ=vX.defineAliasedType("Miscellaneous");ZJ("Noop",{visitor:[]});ZJ("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:vX.assertNodeType("Identifier")},expectedNode:{validate:vX.assertOneOf(...sA.PLACEHOLDERS)}},dA.patternLikeCommon())});ZJ("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:vX.assertValueType("string")}}})});var QR=D(()=>{var Af=BG();Af.default("ArgumentPlaceholder",{});Af.default("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:Af.assertNodeType("Expression")},callee:{validate:Af.assertNodeType("Expression")}}});Af.default("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:Af.assertNodeType("Identifier","StringLiteral")},value:{validate:Af.assertNodeType("StringLiteral")}}});Af.default("Decorator",{visitor:["expression"],fields:{expression:{validate:Af.assertNodeType("Expression")}}});Af.default("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:Af.assertNodeType("BlockStatement")},async:{validate:Af.assertValueType("boolean"),default:!1}}});Af.default("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Af.assertNodeType("Identifier")}}});Af.default("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:Af.validateArrayOfType("ObjectProperty","SpreadElement")}});Af.default("TupleExpression",{fields:{elements:{validate:Af.arrayOfType("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});Af.default("DecimalLiteral",{builder:["value"],fields:{value:{validate:Af.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Af.default("ModuleExpression",{visitor:["body"],fields:{body:{validate:Af.assertNodeType("Program")}},aliases:["Expression"]});Af.default("TopicReference",{aliases:["Expression"]});Af.default("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:Af.assertNodeType("Expression")}},aliases:["Expression"]});Af.default("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:Af.assertNodeType("Expression")}},aliases:["Expression"]});Af.default("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var SR=D(()=>{var N=BG(),ZR=l1(),tA=z1(),t=N.defineAliasedType("TypeScript"),af=N.assertValueType("boolean"),YR=()=>({returnType:{validate:N.assertNodeType("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:N.assertNodeType("TSTypeParameterDeclaration","Noop"),optional:!0}});t("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:N.assertOneOf("public","private","protected"),optional:!0},readonly:{validate:N.assertValueType("boolean"),optional:!0},parameter:{validate:N.assertNodeType("Identifier","AssignmentPattern")},override:{validate:N.assertValueType("boolean"),optional:!0},decorators:{validate:N.arrayOfType("Decorator"),optional:!0}}});t("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},ZR.functionDeclarationCommon(),YR())});t("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},ZR.classMethodOrDeclareMethodCommon(),YR())});t("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:N.validateType("TSEntityName"),right:N.validateType("Identifier")}});var gX=()=>({typeParameters:N.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:N.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:N.validateOptionalType("TSTypeAnnotation")}),zR={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:gX()};t("TSCallSignatureDeclaration",zR);t("TSConstructSignatureDeclaration",zR);var BR=()=>({key:N.validateType("Expression"),computed:{default:!1},optional:N.validateOptional(af)});t("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},BR(),{readonly:N.validateOptional(af),typeAnnotation:N.validateOptionalType("TSTypeAnnotation"),kind:{optional:!0,validate:N.assertOneOf("get","set")}})});t("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},gX(),BR(),{kind:{validate:N.assertOneOf("method","get","set")}})});t("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:N.validateOptional(af),static:N.validateOptional(af),parameters:N.validateArrayOfType("Identifier"),typeAnnotation:N.validateOptionalType("TSTypeAnnotation")}});var nA=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let f of nA)t(f,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});t("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var MR={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};t("TSFunctionType",Object.assign({},MR,{fields:gX()}));t("TSConstructorType",Object.assign({},MR,{fields:Object.assign({},gX(),{abstract:N.validateOptional(af)})}));t("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:N.validateType("TSEntityName"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation")}});t("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:N.validateType("Identifier","TSThisType"),typeAnnotation:N.validateOptionalType("TSTypeAnnotation"),asserts:N.validateOptional(af)}});t("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:N.validateType("TSEntityName","TSImportType"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation")}});t("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:N.validateArrayOfType("TSTypeElement")}});t("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:N.validateType("TSType")}});t("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:N.validateArrayOfType("TSType","TSNamedTupleMember")}});t("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:N.validateType("TSType")}});t("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:N.validateType("TSType")}});t("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:N.validateType("Identifier"),optional:{validate:af,default:!1},elementType:N.validateType("TSType")}});var KR={aliases:["TSType"],visitor:["types"],fields:{types:N.validateArrayOfType("TSType")}};t("TSUnionType",KR);t("TSIntersectionType",KR);t("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:N.validateType("TSType"),extendsType:N.validateType("TSType"),trueType:N.validateType("TSType"),falseType:N.validateType("TSType")}});t("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:N.validateType("TSTypeParameter")}});t("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:N.validateType("TSType")}});t("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:N.validate(N.assertValueType("string")),typeAnnotation:N.validateType("TSType")}});t("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:N.validateType("TSType"),indexType:N.validateType("TSType")}});t("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:N.validateType("TSTypeParameter")},{readonly:N.validateOptional(N.assertOneOf(!0,!1,"+","-")),optional:N.validateOptional(N.assertOneOf(!0,!1,"+","-")),typeAnnotation:N.validateOptionalType("TSType"),nameType:N.validateOptionalType("TSType")})});t("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:N.validateArrayOfType("TemplateElement"),types:{validate:N.chain(N.assertValueType("array"),N.assertEach(N.assertNodeType("TSType")),function(f,G,X){if(f.quasis.length!==X.length+1)throw new TypeError(`Number of ${f.type} quasis should be exactly one more than the number of types.
12
- Expected ${X.length+1} quasis but got ${f.quasis.length}`)})}}});t("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let f=N.assertNodeType("NumericLiteral","BigIntLiteral"),G=N.assertOneOf("-"),X=N.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function J(W,R,V){if(tA.default("UnaryExpression",V))G(V,"operator",V.operator),f(V,"argument",V.argument);else X(W,R,V)}return J.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],J}()}}});t("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:N.validateType("TSEntityName"),typeParameters:N.validateOptionalType("TSTypeParameterInstantiation")}});t("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:N.validateOptional(af),id:N.validateType("Identifier"),typeParameters:N.validateOptionalType("TSTypeParameterDeclaration"),extends:N.validateOptional(N.arrayOfType("TSExpressionWithTypeArguments")),body:N.validateType("TSInterfaceBody")}});t("TSInterfaceBody",{visitor:["body"],fields:{body:N.validateArrayOfType("TSTypeElement")}});t("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:N.validateOptional(af),id:N.validateType("Identifier"),typeParameters:N.validateOptionalType("TSTypeParameterDeclaration"),typeAnnotation:N.validateType("TSType")}});t("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:N.validateType("Expression"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation")}});var FR={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:N.validateType("Expression"),typeAnnotation:N.validateType("TSType")}};t("TSAsExpression",FR);t("TSSatisfiesExpression",FR);t("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:N.validateType("TSType"),expression:N.validateType("Expression")}});t("TSEnumBody",{visitor:["members"],fields:{members:N.validateArrayOfType("TSEnumMember")}});t("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:N.validateOptional(af),const:N.validateOptional(af),id:N.validateType("Identifier"),members:N.validateArrayOfType("TSEnumMember"),initializer:N.validateOptionalType("Expression"),body:N.validateOptionalType("TSEnumBody")}});t("TSEnumMember",{visitor:["id","initializer"],fields:{id:N.validateType("Identifier","StringLiteral"),initializer:N.validateOptionalType("Expression")}});t("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:N.assertOneOf("global","module","namespace")},declare:N.validateOptional(af)},{global:N.validateOptional(af)},{id:N.validateType("Identifier","StringLiteral"),body:N.validateType("TSModuleBlock","TSModuleDeclaration")})});t("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:N.validateArrayOfType("Statement")}});t("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:N.validateType("StringLiteral"),qualifier:N.validateOptionalType("TSEntityName"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation"),options:{validate:N.assertNodeType("Expression"),optional:!0}}});t("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:N.validate(af)},{id:N.validateType("Identifier"),moduleReference:N.validateType("TSEntityName","TSExternalModuleReference"),importKind:{validate:N.assertOneOf("type","value"),optional:!0}})});t("TSExternalModuleReference",{visitor:["expression"],fields:{expression:N.validateType("StringLiteral")}});t("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:N.validateType("Expression")}});t("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:N.validateType("Expression")}});t("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:N.validateType("Identifier")}});t("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:N.assertNodeType("TSType")}}});t("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:N.validateArrayOfType("TSType")}});t("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:N.validateArrayOfType("TSTypeParameter")}});t("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:N.assertValueType("string")},in:{validate:N.assertValueType("boolean"),optional:!0},out:{validate:N.assertValueType("boolean"),optional:!0},const:{validate:N.assertValueType("boolean"),optional:!0},constraint:{validate:N.assertNodeType("TSType"),optional:!0},default:{validate:N.assertNodeType("TSType"),optional:!0}}})});var CR=D(($R)=>{Object.defineProperty($R,"__esModule",{value:!0});$R.DEPRECATED_ALIASES=void 0;var S3f=$R.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var of=D((df)=>{Object.defineProperty(df,"__esModule",{value:!0});Object.defineProperty(df,"ALIAS_KEYS",{enumerable:!0,get:function(){return ef.ALIAS_KEYS}});Object.defineProperty(df,"BUILDER_KEYS",{enumerable:!0,get:function(){return ef.BUILDER_KEYS}});Object.defineProperty(df,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return YJ.DEPRECATED_ALIASES}});Object.defineProperty(df,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return ef.DEPRECATED_KEYS}});Object.defineProperty(df,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return ef.FLIPPED_ALIAS_KEYS}});Object.defineProperty(df,"NODE_FIELDS",{enumerable:!0,get:function(){return ef.NODE_FIELDS}});Object.defineProperty(df,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return ef.NODE_PARENT_VALIDATIONS}});Object.defineProperty(df,"PLACEHOLDERS",{enumerable:!0,get:function(){return zJ.PLACEHOLDERS}});Object.defineProperty(df,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return zJ.PLACEHOLDERS_ALIAS}});Object.defineProperty(df,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return zJ.PLACEHOLDERS_FLIPPED_ALIAS}});df.TYPES=void 0;Object.defineProperty(df,"VISITOR_KEYS",{enumerable:!0,get:function(){return ef.VISITOR_KEYS}});l1();WR();RR();UR();QR();SR();var ef=BG(),zJ=QJ(),YJ=CR();Object.keys(YJ.DEPRECATED_ALIASES).forEach((f)=>{ef.FLIPPED_ALIAS_KEYS[f]=ef.FLIPPED_ALIAS_KEYS[YJ.DEPRECATED_ALIASES[f]]});var q3f=df.TYPES=[].concat(Object.keys(ef.VISITOR_KEYS),Object.keys(ef.FLIPPED_ALIAS_KEYS),Object.keys(ef.DEPRECATED_KEYS))});var EX=D((DR)=>{Object.defineProperty(DR,"__esModule",{value:!0});DR.default=oA;DR.validateChild=OR;DR.validateField=jR;DR.validateInternal=eA;var c1=of();function oA(f,G,X){if(!f)return;let J=c1.NODE_FIELDS[f.type];if(!J)return;let W=J[G];jR(f,G,X,W),OR(f,G,X)}function eA(f,G,X,J,W){if(!(f!=null&&f.validate))return;if(f.optional&&J==null)return;if(f.validate(G,X,J),W){var R;let V=J.type;if(V==null)return;(R=c1.NODE_PARENT_VALIDATIONS[V])==null||R.call(c1.NODE_PARENT_VALIDATIONS,G,X,J)}}function jR(f,G,X,J){if(!(J!=null&&J.validate))return;if(J.optional&&X==null)return;J.validate(f,G,X)}function OR(f,G,X){var J;let W=X==null?void 0:X.type;if(W==null)return;(J=c1.NODE_PARENT_VALIDATIONS[W])==null||J.call(c1.NODE_PARENT_VALIDATIONS,f,G,X)}});var BJ=D((LR)=>{Object.defineProperty(LR,"__esModule",{value:!0});LR.anyTypeAnnotation=_O;LR.argumentPlaceholder=YP;LR.arrayExpression=Vj;LR.arrayPattern=GO;LR.arrayTypeAnnotation=uO;LR.arrowFunctionExpression=XO;LR.assignmentExpression=Hj;LR.assignmentPattern=fO;LR.awaitExpression=DO;LR.bigIntLiteral=IO;LR.binaryExpression=Uj;LR.bindExpression=zP;LR.blockStatement=zj;LR.booleanLiteral=Ej;LR.booleanLiteralTypeAnnotation=yO;LR.booleanTypeAnnotation=hO;LR.breakStatement=Bj;LR.callExpression=Mj;LR.catchClause=Kj;LR.classAccessorProperty=wO;LR.classBody=JO;LR.classDeclaration=RO;LR.classExpression=WO;LR.classImplements=mO;LR.classMethod=SO;LR.classPrivateMethod=kO;LR.classPrivateProperty=EO;LR.classProperty=bO;LR.conditionalExpression=Fj;LR.continueStatement=Sj;LR.debuggerStatement=$j;LR.decimalLiteral=qP;LR.declareClass=lO;LR.declareExportAllDeclaration=nO;LR.declareExportDeclaration=tO;LR.declareFunction=cO;LR.declareInterface=aO;LR.declareModule=iO;LR.declareModuleExports=rO;LR.declareOpaqueType=sO;LR.declareTypeAlias=pO;LR.declareVariable=dO;LR.declaredPredicate=oO;LR.decorator=MP;LR.directive=Zj;LR.directiveLiteral=Yj;LR.doExpression=KP;LR.doWhileStatement=qj;LR.emptyStatement=Cj;LR.emptyTypeAnnotation=QD;LR.enumBooleanBody=uD;LR.enumBooleanMember=mD;LR.enumDeclaration=_D;LR.enumDefaultedMember=aD;LR.enumNumberBody=hD;LR.enumNumberMember=lD;LR.enumStringBody=yD;LR.enumStringMember=cD;LR.enumSymbolBody=xD;LR.existsTypeAnnotation=eO;LR.exportAllDeclaration=VO;LR.exportDefaultDeclaration=HO;LR.exportDefaultSpecifier=FP;LR.exportNamedDeclaration=UO;LR.exportNamespaceSpecifier=NO;LR.exportSpecifier=QO;LR.expressionStatement=Aj;LR.file=jj;LR.forInStatement=Oj;LR.forOfStatement=ZO;LR.forStatement=Dj;LR.functionDeclaration=Pj;LR.functionExpression=Ij;LR.functionTypeAnnotation=fD;LR.functionTypeParam=GD;LR.genericTypeAnnotation=XD;LR.identifier=Nj;LR.ifStatement=Tj;LR.import=PO;LR.importAttribute=BP;LR.importDeclaration=YO;LR.importDefaultSpecifier=zO;LR.importExpression=KO;LR.importNamespaceSpecifier=BO;LR.importSpecifier=MO;LR.indexedAccessType=iD;LR.inferredPredicate=JD;LR.interfaceDeclaration=RD;LR.interfaceExtends=WD;LR.interfaceTypeAnnotation=VD;LR.interpreterDirective=Qj;LR.intersectionTypeAnnotation=HD;LR.jSXAttribute=LR.jsxAttribute=pD;LR.jSXClosingElement=LR.jsxClosingElement=sD;LR.jSXClosingFragment=LR.jsxClosingFragment=HP;LR.jSXElement=LR.jsxElement=dD;LR.jSXEmptyExpression=LR.jsxEmptyExpression=tD;LR.jSXExpressionContainer=LR.jsxExpressionContainer=nD;LR.jSXFragment=LR.jsxFragment=RP;LR.jSXIdentifier=LR.jsxIdentifier=eD;LR.jSXMemberExpression=LR.jsxMemberExpression=fP;LR.jSXNamespacedName=LR.jsxNamespacedName=GP;LR.jSXOpeningElement=LR.jsxOpeningElement=XP;LR.jSXOpeningFragment=LR.jsxOpeningFragment=VP;LR.jSXSpreadAttribute=LR.jsxSpreadAttribute=JP;LR.jSXSpreadChild=LR.jsxSpreadChild=oD;LR.jSXText=LR.jsxText=WP;LR.labeledStatement=Lj;LR.logicalExpression=kj;LR.memberExpression=vj;LR.metaProperty=FO;LR.mixedTypeAnnotation=UD;LR.moduleExpression=CP;LR.newExpression=gj;LR.noop=UP;LR.nullLiteral=wj;LR.nullLiteralTypeAnnotation=xO;LR.nullableTypeAnnotation=ZD;LR.numberLiteral=hI;LR.numberLiteralTypeAnnotation=YD;LR.numberTypeAnnotation=zD;LR.numericLiteral=PR;LR.objectExpression=uj;LR.objectMethod=hj;LR.objectPattern=$O;LR.objectProperty=yj;LR.objectTypeAnnotation=BD;LR.objectTypeCallProperty=KD;LR.objectTypeIndexer=FD;LR.objectTypeInternalSlot=MD;LR.objectTypeProperty=SD;LR.objectTypeSpreadProperty=$D;LR.opaqueType=qD;LR.optionalCallExpression=LO;LR.optionalIndexedAccessType=rD;LR.optionalMemberExpression=TO;LR.parenthesizedExpression=lj;LR.pipelineBareFunction=OP;LR.pipelinePrimaryTopicReference=DP;LR.pipelineTopicExpression=jP;LR.placeholder=QP;LR.privateName=vO;LR.program=_j;LR.qualifiedTypeIdentifier=CD;LR.recordExpression=SP;LR.regExpLiteral=IR;LR.regexLiteral=yI;LR.restElement=NR;LR.restProperty=xI;LR.returnStatement=xj;LR.sequenceExpression=mj;LR.spreadElement=TR;LR.spreadProperty=mI;LR.staticBlock=gO;LR.stringLiteral=bj;LR.stringLiteralTypeAnnotation=AD;LR.stringTypeAnnotation=jD;LR.super=qO;LR.switchCase=cj;LR.switchStatement=aj;LR.symbolTypeAnnotation=OD;LR.taggedTemplateExpression=CO;LR.templateElement=AO;LR.templateLiteral=jO;LR.thisExpression=ij;LR.thisTypeAnnotation=DD;LR.throwStatement=rj;LR.topicReference=AP;LR.tryStatement=pj;LR.tSAnyKeyword=LR.tsAnyKeyword=vP;LR.tSArrayType=LR.tsArrayType=fI;LR.tSAsExpression=LR.tsAsExpression=CI;LR.tSBigIntKeyword=LR.tsBigIntKeyword=_P;LR.tSBooleanKeyword=LR.tsBooleanKeyword=gP;LR.tSCallSignatureDeclaration=LR.tsCallSignatureDeclaration=LP;LR.tSConditionalType=LR.tsConditionalType=HI;LR.tSConstructSignatureDeclaration=LR.tsConstructSignatureDeclaration=bP;LR.tSConstructorType=LR.tsConstructorType=dP;LR.tSDeclareFunction=LR.tsDeclareFunction=IP;LR.tSDeclareMethod=LR.tsDeclareMethod=NP;LR.tSEnumBody=LR.tsEnumBody=OI;LR.tSEnumDeclaration=LR.tsEnumDeclaration=DI;LR.tSEnumMember=LR.tsEnumMember=PI;LR.tSExportAssignment=LR.tsExportAssignment=EI;LR.tSExpressionWithTypeArguments=LR.tsExpressionWithTypeArguments=KI;LR.tSExternalModuleReference=LR.tsExternalModuleReference=bI;LR.tSFunctionType=LR.tsFunctionType=sP;LR.tSImportEqualsDeclaration=LR.tsImportEqualsDeclaration=LI;LR.tSImportType=LR.tsImportType=TI;LR.tSIndexSignature=LR.tsIndexSignature=kP;LR.tSIndexedAccessType=LR.tsIndexedAccessType=YI;LR.tSInferType=LR.tsInferType=UI;LR.tSInstantiationExpression=LR.tsInstantiationExpression=qI;LR.tSInterfaceBody=LR.tsInterfaceBody=SI;LR.tSInterfaceDeclaration=LR.tsInterfaceDeclaration=FI;LR.tSIntersectionType=LR.tsIntersectionType=VI;LR.tSIntrinsicKeyword=LR.tsIntrinsicKeyword=uP;LR.tSLiteralType=LR.tsLiteralType=MI;LR.tSMappedType=LR.tsMappedType=zI;LR.tSMethodSignature=LR.tsMethodSignature=EP;LR.tSModuleBlock=LR.tsModuleBlock=NI;LR.tSModuleDeclaration=LR.tsModuleDeclaration=II;LR.tSNamedTupleMember=LR.tsNamedTupleMember=WI;LR.tSNamespaceExportDeclaration=LR.tsNamespaceExportDeclaration=kI;LR.tSNeverKeyword=LR.tsNeverKeyword=hP;LR.tSNonNullExpression=LR.tsNonNullExpression=wI;LR.tSNullKeyword=LR.tsNullKeyword=yP;LR.tSNumberKeyword=LR.tsNumberKeyword=xP;LR.tSObjectKeyword=LR.tsObjectKeyword=mP;LR.tSOptionalType=LR.tsOptionalType=XI;LR.tSParameterProperty=LR.tsParameterProperty=PP;LR.tSParenthesizedType=LR.tsParenthesizedType=QI;LR.tSPropertySignature=LR.tsPropertySignature=wP;LR.tSQualifiedName=LR.tsQualifiedName=TP;LR.tSRestType=LR.tsRestType=JI;LR.tSSatisfiesExpression=LR.tsSatisfiesExpression=AI;LR.tSStringKeyword=LR.tsStringKeyword=lP;LR.tSSymbolKeyword=LR.tsSymbolKeyword=cP;LR.tSTemplateLiteralType=LR.tsTemplateLiteralType=BI;LR.tSThisType=LR.tsThisType=pP;LR.tSTupleType=LR.tsTupleType=GI;LR.tSTypeAliasDeclaration=LR.tsTypeAliasDeclaration=$I;LR.tSTypeAnnotation=LR.tsTypeAnnotation=vI;LR.tSTypeAssertion=LR.tsTypeAssertion=jI;LR.tSTypeLiteral=LR.tsTypeLiteral=eP;LR.tSTypeOperator=LR.tsTypeOperator=ZI;LR.tSTypeParameter=LR.tsTypeParameter=uI;LR.tSTypeParameterDeclaration=LR.tsTypeParameterDeclaration=_I;LR.tSTypeParameterInstantiation=LR.tsTypeParameterInstantiation=gI;LR.tSTypePredicate=LR.tsTypePredicate=nP;LR.tSTypeQuery=LR.tsTypeQuery=oP;LR.tSTypeReference=LR.tsTypeReference=tP;LR.tSUndefinedKeyword=LR.tsUndefinedKeyword=aP;LR.tSUnionType=LR.tsUnionType=RI;LR.tSUnknownKeyword=LR.tsUnknownKeyword=iP;LR.tSVoidKeyword=LR.tsVoidKeyword=rP;LR.tupleExpression=$P;LR.tupleTypeAnnotation=PD;LR.typeAlias=ND;LR.typeAnnotation=TD;LR.typeCastExpression=LD;LR.typeParameter=bD;LR.typeParameterDeclaration=wD;LR.typeParameterInstantiation=ED;LR.typeofTypeAnnotation=ID;LR.unaryExpression=sj;LR.unionTypeAnnotation=kD;LR.updateExpression=dj;LR.v8IntrinsicIdentifier=ZP;LR.variableDeclaration=tj;LR.variableDeclarator=nj;LR.variance=vD;LR.voidTypeAnnotation=gD;LR.whileStatement=oj;LR.withStatement=ej;LR.yieldExpression=OO;var Wj=EX(),_X=_1(),Rj=BG(),{validateInternal:Z}=Wj,{NODE_FIELDS:q}=Rj;function Vj(f=[]){let G={type:"ArrayExpression",elements:f},X=q.ArrayExpression;return Z(X.elements,G,"elements",f,1),G}function Hj(f,G,X){let J={type:"AssignmentExpression",operator:f,left:G,right:X},W=q.AssignmentExpression;return Z(W.operator,J,"operator",f),Z(W.left,J,"left",G,1),Z(W.right,J,"right",X,1),J}function Uj(f,G,X){let J={type:"BinaryExpression",operator:f,left:G,right:X},W=q.BinaryExpression;return Z(W.operator,J,"operator",f),Z(W.left,J,"left",G,1),Z(W.right,J,"right",X,1),J}function Qj(f){let G={type:"InterpreterDirective",value:f},X=q.InterpreterDirective;return Z(X.value,G,"value",f),G}function Zj(f){let G={type:"Directive",value:f},X=q.Directive;return Z(X.value,G,"value",f,1),G}function Yj(f){let G={type:"DirectiveLiteral",value:f},X=q.DirectiveLiteral;return Z(X.value,G,"value",f),G}function zj(f,G=[]){let X={type:"BlockStatement",body:f,directives:G},J=q.BlockStatement;return Z(J.body,X,"body",f,1),Z(J.directives,X,"directives",G,1),X}function Bj(f=null){let G={type:"BreakStatement",label:f},X=q.BreakStatement;return Z(X.label,G,"label",f,1),G}function Mj(f,G){let X={type:"CallExpression",callee:f,arguments:G},J=q.CallExpression;return Z(J.callee,X,"callee",f,1),Z(J.arguments,X,"arguments",G,1),X}function Kj(f=null,G){let X={type:"CatchClause",param:f,body:G},J=q.CatchClause;return Z(J.param,X,"param",f,1),Z(J.body,X,"body",G,1),X}function Fj(f,G,X){let J={type:"ConditionalExpression",test:f,consequent:G,alternate:X},W=q.ConditionalExpression;return Z(W.test,J,"test",f,1),Z(W.consequent,J,"consequent",G,1),Z(W.alternate,J,"alternate",X,1),J}function Sj(f=null){let G={type:"ContinueStatement",label:f},X=q.ContinueStatement;return Z(X.label,G,"label",f,1),G}function $j(){return{type:"DebuggerStatement"}}function qj(f,G){let X={type:"DoWhileStatement",test:f,body:G},J=q.DoWhileStatement;return Z(J.test,X,"test",f,1),Z(J.body,X,"body",G,1),X}function Cj(){return{type:"EmptyStatement"}}function Aj(f){let G={type:"ExpressionStatement",expression:f},X=q.ExpressionStatement;return Z(X.expression,G,"expression",f,1),G}function jj(f,G=null,X=null){let J={type:"File",program:f,comments:G,tokens:X},W=q.File;return Z(W.program,J,"program",f,1),Z(W.comments,J,"comments",G,1),Z(W.tokens,J,"tokens",X),J}function Oj(f,G,X){let J={type:"ForInStatement",left:f,right:G,body:X},W=q.ForInStatement;return Z(W.left,J,"left",f,1),Z(W.right,J,"right",G,1),Z(W.body,J,"body",X,1),J}function Dj(f=null,G=null,X=null,J){let W={type:"ForStatement",init:f,test:G,update:X,body:J},R=q.ForStatement;return Z(R.init,W,"init",f,1),Z(R.test,W,"test",G,1),Z(R.update,W,"update",X,1),Z(R.body,W,"body",J,1),W}function Pj(f=null,G,X,J=!1,W=!1){let R={type:"FunctionDeclaration",id:f,params:G,body:X,generator:J,async:W},V=q.FunctionDeclaration;return Z(V.id,R,"id",f,1),Z(V.params,R,"params",G,1),Z(V.body,R,"body",X,1),Z(V.generator,R,"generator",J),Z(V.async,R,"async",W),R}function Ij(f=null,G,X,J=!1,W=!1){let R={type:"FunctionExpression",id:f,params:G,body:X,generator:J,async:W},V=q.FunctionExpression;return Z(V.id,R,"id",f,1),Z(V.params,R,"params",G,1),Z(V.body,R,"body",X,1),Z(V.generator,R,"generator",J),Z(V.async,R,"async",W),R}function Nj(f){let G={type:"Identifier",name:f},X=q.Identifier;return Z(X.name,G,"name",f),G}function Tj(f,G,X=null){let J={type:"IfStatement",test:f,consequent:G,alternate:X},W=q.IfStatement;return Z(W.test,J,"test",f,1),Z(W.consequent,J,"consequent",G,1),Z(W.alternate,J,"alternate",X,1),J}function Lj(f,G){let X={type:"LabeledStatement",label:f,body:G},J=q.LabeledStatement;return Z(J.label,X,"label",f,1),Z(J.body,X,"body",G,1),X}function bj(f){let G={type:"StringLiteral",value:f},X=q.StringLiteral;return Z(X.value,G,"value",f),G}function PR(f){let G={type:"NumericLiteral",value:f},X=q.NumericLiteral;return Z(X.value,G,"value",f),G}function wj(){return{type:"NullLiteral"}}function Ej(f){let G={type:"BooleanLiteral",value:f},X=q.BooleanLiteral;return Z(X.value,G,"value",f),G}function IR(f,G=""){let X={type:"RegExpLiteral",pattern:f,flags:G},J=q.RegExpLiteral;return Z(J.pattern,X,"pattern",f),Z(J.flags,X,"flags",G),X}function kj(f,G,X){let J={type:"LogicalExpression",operator:f,left:G,right:X},W=q.LogicalExpression;return Z(W.operator,J,"operator",f),Z(W.left,J,"left",G,1),Z(W.right,J,"right",X,1),J}function vj(f,G,X=!1,J=null){let W={type:"MemberExpression",object:f,property:G,computed:X,optional:J},R=q.MemberExpression;return Z(R.object,W,"object",f,1),Z(R.property,W,"property",G,1),Z(R.computed,W,"computed",X),Z(R.optional,W,"optional",J),W}function gj(f,G){let X={type:"NewExpression",callee:f,arguments:G},J=q.NewExpression;return Z(J.callee,X,"callee",f,1),Z(J.arguments,X,"arguments",G,1),X}function _j(f,G=[],X="script",J=null){let W={type:"Program",body:f,directives:G,sourceType:X,interpreter:J},R=q.Program;return Z(R.body,W,"body",f,1),Z(R.directives,W,"directives",G,1),Z(R.sourceType,W,"sourceType",X),Z(R.interpreter,W,"interpreter",J,1),W}function uj(f){let G={type:"ObjectExpression",properties:f},X=q.ObjectExpression;return Z(X.properties,G,"properties",f,1),G}function hj(f="method",G,X,J,W=!1,R=!1,V=!1){let H={type:"ObjectMethod",kind:f,key:G,params:X,body:J,computed:W,generator:R,async:V},U=q.ObjectMethod;return Z(U.kind,H,"kind",f),Z(U.key,H,"key",G,1),Z(U.params,H,"params",X,1),Z(U.body,H,"body",J,1),Z(U.computed,H,"computed",W),Z(U.generator,H,"generator",R),Z(U.async,H,"async",V),H}function yj(f,G,X=!1,J=!1,W=null){let R={type:"ObjectProperty",key:f,value:G,computed:X,shorthand:J,decorators:W},V=q.ObjectProperty;return Z(V.key,R,"key",f,1),Z(V.value,R,"value",G,1),Z(V.computed,R,"computed",X),Z(V.shorthand,R,"shorthand",J),Z(V.decorators,R,"decorators",W,1),R}function NR(f){let G={type:"RestElement",argument:f},X=q.RestElement;return Z(X.argument,G,"argument",f,1),G}function xj(f=null){let G={type:"ReturnStatement",argument:f},X=q.ReturnStatement;return Z(X.argument,G,"argument",f,1),G}function mj(f){let G={type:"SequenceExpression",expressions:f},X=q.SequenceExpression;return Z(X.expressions,G,"expressions",f,1),G}function lj(f){let G={type:"ParenthesizedExpression",expression:f},X=q.ParenthesizedExpression;return Z(X.expression,G,"expression",f,1),G}function cj(f=null,G){let X={type:"SwitchCase",test:f,consequent:G},J=q.SwitchCase;return Z(J.test,X,"test",f,1),Z(J.consequent,X,"consequent",G,1),X}function aj(f,G){let X={type:"SwitchStatement",discriminant:f,cases:G},J=q.SwitchStatement;return Z(J.discriminant,X,"discriminant",f,1),Z(J.cases,X,"cases",G,1),X}function ij(){return{type:"ThisExpression"}}function rj(f){let G={type:"ThrowStatement",argument:f},X=q.ThrowStatement;return Z(X.argument,G,"argument",f,1),G}function pj(f,G=null,X=null){let J={type:"TryStatement",block:f,handler:G,finalizer:X},W=q.TryStatement;return Z(W.block,J,"block",f,1),Z(W.handler,J,"handler",G,1),Z(W.finalizer,J,"finalizer",X,1),J}function sj(f,G,X=!0){let J={type:"UnaryExpression",operator:f,argument:G,prefix:X},W=q.UnaryExpression;return Z(W.operator,J,"operator",f),Z(W.argument,J,"argument",G,1),Z(W.prefix,J,"prefix",X),J}function dj(f,G,X=!1){let J={type:"UpdateExpression",operator:f,argument:G,prefix:X},W=q.UpdateExpression;return Z(W.operator,J,"operator",f),Z(W.argument,J,"argument",G,1),Z(W.prefix,J,"prefix",X),J}function tj(f,G){let X={type:"VariableDeclaration",kind:f,declarations:G},J=q.VariableDeclaration;return Z(J.kind,X,"kind",f),Z(J.declarations,X,"declarations",G,1),X}function nj(f,G=null){let X={type:"VariableDeclarator",id:f,init:G},J=q.VariableDeclarator;return Z(J.id,X,"id",f,1),Z(J.init,X,"init",G,1),X}function oj(f,G){let X={type:"WhileStatement",test:f,body:G},J=q.WhileStatement;return Z(J.test,X,"test",f,1),Z(J.body,X,"body",G,1),X}function ej(f,G){let X={type:"WithStatement",object:f,body:G},J=q.WithStatement;return Z(J.object,X,"object",f,1),Z(J.body,X,"body",G,1),X}function fO(f,G){let X={type:"AssignmentPattern",left:f,right:G},J=q.AssignmentPattern;return Z(J.left,X,"left",f,1),Z(J.right,X,"right",G,1),X}function GO(f){let G={type:"ArrayPattern",elements:f},X=q.ArrayPattern;return Z(X.elements,G,"elements",f,1),G}function XO(f,G,X=!1){let J={type:"ArrowFunctionExpression",params:f,body:G,async:X,expression:null},W=q.ArrowFunctionExpression;return Z(W.params,J,"params",f,1),Z(W.body,J,"body",G,1),Z(W.async,J,"async",X),J}function JO(f){let G={type:"ClassBody",body:f},X=q.ClassBody;return Z(X.body,G,"body",f,1),G}function WO(f=null,G=null,X,J=null){let W={type:"ClassExpression",id:f,superClass:G,body:X,decorators:J},R=q.ClassExpression;return Z(R.id,W,"id",f,1),Z(R.superClass,W,"superClass",G,1),Z(R.body,W,"body",X,1),Z(R.decorators,W,"decorators",J,1),W}function RO(f=null,G=null,X,J=null){let W={type:"ClassDeclaration",id:f,superClass:G,body:X,decorators:J},R=q.ClassDeclaration;return Z(R.id,W,"id",f,1),Z(R.superClass,W,"superClass",G,1),Z(R.body,W,"body",X,1),Z(R.decorators,W,"decorators",J,1),W}function VO(f){let G={type:"ExportAllDeclaration",source:f},X=q.ExportAllDeclaration;return Z(X.source,G,"source",f,1),G}function HO(f){let G={type:"ExportDefaultDeclaration",declaration:f},X=q.ExportDefaultDeclaration;return Z(X.declaration,G,"declaration",f,1),G}function UO(f=null,G=[],X=null){let J={type:"ExportNamedDeclaration",declaration:f,specifiers:G,source:X},W=q.ExportNamedDeclaration;return Z(W.declaration,J,"declaration",f,1),Z(W.specifiers,J,"specifiers",G,1),Z(W.source,J,"source",X,1),J}function QO(f,G){let X={type:"ExportSpecifier",local:f,exported:G},J=q.ExportSpecifier;return Z(J.local,X,"local",f,1),Z(J.exported,X,"exported",G,1),X}function ZO(f,G,X,J=!1){let W={type:"ForOfStatement",left:f,right:G,body:X,await:J},R=q.ForOfStatement;return Z(R.left,W,"left",f,1),Z(R.right,W,"right",G,1),Z(R.body,W,"body",X,1),Z(R.await,W,"await",J),W}function YO(f,G){let X={type:"ImportDeclaration",specifiers:f,source:G},J=q.ImportDeclaration;return Z(J.specifiers,X,"specifiers",f,1),Z(J.source,X,"source",G,1),X}function zO(f){let G={type:"ImportDefaultSpecifier",local:f},X=q.ImportDefaultSpecifier;return Z(X.local,G,"local",f,1),G}function BO(f){let G={type:"ImportNamespaceSpecifier",local:f},X=q.ImportNamespaceSpecifier;return Z(X.local,G,"local",f,1),G}function MO(f,G){let X={type:"ImportSpecifier",local:f,imported:G},J=q.ImportSpecifier;return Z(J.local,X,"local",f,1),Z(J.imported,X,"imported",G,1),X}function KO(f,G=null){let X={type:"ImportExpression",source:f,options:G},J=q.ImportExpression;return Z(J.source,X,"source",f,1),Z(J.options,X,"options",G,1),X}function FO(f,G){let X={type:"MetaProperty",meta:f,property:G},J=q.MetaProperty;return Z(J.meta,X,"meta",f,1),Z(J.property,X,"property",G,1),X}function SO(f="method",G,X,J,W=!1,R=!1,V=!1,H=!1){let U={type:"ClassMethod",kind:f,key:G,params:X,body:J,computed:W,static:R,generator:V,async:H},Q=q.ClassMethod;return Z(Q.kind,U,"kind",f),Z(Q.key,U,"key",G,1),Z(Q.params,U,"params",X,1),Z(Q.body,U,"body",J,1),Z(Q.computed,U,"computed",W),Z(Q.static,U,"static",R),Z(Q.generator,U,"generator",V),Z(Q.async,U,"async",H),U}function $O(f){let G={type:"ObjectPattern",properties:f},X=q.ObjectPattern;return Z(X.properties,G,"properties",f,1),G}function TR(f){let G={type:"SpreadElement",argument:f},X=q.SpreadElement;return Z(X.argument,G,"argument",f,1),G}function qO(){return{type:"Super"}}function CO(f,G){let X={type:"TaggedTemplateExpression",tag:f,quasi:G},J=q.TaggedTemplateExpression;return Z(J.tag,X,"tag",f,1),Z(J.quasi,X,"quasi",G,1),X}function AO(f,G=!1){let X={type:"TemplateElement",value:f,tail:G},J=q.TemplateElement;return Z(J.value,X,"value",f),Z(J.tail,X,"tail",G),X}function jO(f,G){let X={type:"TemplateLiteral",quasis:f,expressions:G},J=q.TemplateLiteral;return Z(J.quasis,X,"quasis",f,1),Z(J.expressions,X,"expressions",G,1),X}function OO(f=null,G=!1){let X={type:"YieldExpression",argument:f,delegate:G},J=q.YieldExpression;return Z(J.argument,X,"argument",f,1),Z(J.delegate,X,"delegate",G),X}function DO(f){let G={type:"AwaitExpression",argument:f},X=q.AwaitExpression;return Z(X.argument,G,"argument",f,1),G}function PO(){return{type:"Import"}}function IO(f){let G={type:"BigIntLiteral",value:f},X=q.BigIntLiteral;return Z(X.value,G,"value",f),G}function NO(f){let G={type:"ExportNamespaceSpecifier",exported:f},X=q.ExportNamespaceSpecifier;return Z(X.exported,G,"exported",f,1),G}function TO(f,G,X=!1,J){let W={type:"OptionalMemberExpression",object:f,property:G,computed:X,optional:J},R=q.OptionalMemberExpression;return Z(R.object,W,"object",f,1),Z(R.property,W,"property",G,1),Z(R.computed,W,"computed",X),Z(R.optional,W,"optional",J),W}function LO(f,G,X){let J={type:"OptionalCallExpression",callee:f,arguments:G,optional:X},W=q.OptionalCallExpression;return Z(W.callee,J,"callee",f,1),Z(W.arguments,J,"arguments",G,1),Z(W.optional,J,"optional",X),J}function bO(f,G=null,X=null,J=null,W=!1,R=!1){let V={type:"ClassProperty",key:f,value:G,typeAnnotation:X,decorators:J,computed:W,static:R},H=q.ClassProperty;return Z(H.key,V,"key",f,1),Z(H.value,V,"value",G,1),Z(H.typeAnnotation,V,"typeAnnotation",X,1),Z(H.decorators,V,"decorators",J,1),Z(H.computed,V,"computed",W),Z(H.static,V,"static",R),V}function wO(f,G=null,X=null,J=null,W=!1,R=!1){let V={type:"ClassAccessorProperty",key:f,value:G,typeAnnotation:X,decorators:J,computed:W,static:R},H=q.ClassAccessorProperty;return Z(H.key,V,"key",f,1),Z(H.value,V,"value",G,1),Z(H.typeAnnotation,V,"typeAnnotation",X,1),Z(H.decorators,V,"decorators",J,1),Z(H.computed,V,"computed",W),Z(H.static,V,"static",R),V}function EO(f,G=null,X=null,J=!1){let W={type:"ClassPrivateProperty",key:f,value:G,decorators:X,static:J},R=q.ClassPrivateProperty;return Z(R.key,W,"key",f,1),Z(R.value,W,"value",G,1),Z(R.decorators,W,"decorators",X,1),Z(R.static,W,"static",J),W}function kO(f="method",G,X,J,W=!1){let R={type:"ClassPrivateMethod",kind:f,key:G,params:X,body:J,static:W},V=q.ClassPrivateMethod;return Z(V.kind,R,"kind",f),Z(V.key,R,"key",G,1),Z(V.params,R,"params",X,1),Z(V.body,R,"body",J,1),Z(V.static,R,"static",W),R}function vO(f){let G={type:"PrivateName",id:f},X=q.PrivateName;return Z(X.id,G,"id",f,1),G}function gO(f){let G={type:"StaticBlock",body:f},X=q.StaticBlock;return Z(X.body,G,"body",f,1),G}function _O(){return{type:"AnyTypeAnnotation"}}function uO(f){let G={type:"ArrayTypeAnnotation",elementType:f},X=q.ArrayTypeAnnotation;return Z(X.elementType,G,"elementType",f,1),G}function hO(){return{type:"BooleanTypeAnnotation"}}function yO(f){let G={type:"BooleanLiteralTypeAnnotation",value:f},X=q.BooleanLiteralTypeAnnotation;return Z(X.value,G,"value",f),G}function xO(){return{type:"NullLiteralTypeAnnotation"}}function mO(f,G=null){let X={type:"ClassImplements",id:f,typeParameters:G},J=q.ClassImplements;return Z(J.id,X,"id",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function lO(f,G=null,X=null,J){let W={type:"DeclareClass",id:f,typeParameters:G,extends:X,body:J},R=q.DeclareClass;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function cO(f){let G={type:"DeclareFunction",id:f},X=q.DeclareFunction;return Z(X.id,G,"id",f,1),G}function aO(f,G=null,X=null,J){let W={type:"DeclareInterface",id:f,typeParameters:G,extends:X,body:J},R=q.DeclareInterface;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function iO(f,G,X=null){let J={type:"DeclareModule",id:f,body:G,kind:X},W=q.DeclareModule;return Z(W.id,J,"id",f,1),Z(W.body,J,"body",G,1),Z(W.kind,J,"kind",X),J}function rO(f){let G={type:"DeclareModuleExports",typeAnnotation:f},X=q.DeclareModuleExports;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function pO(f,G=null,X){let J={type:"DeclareTypeAlias",id:f,typeParameters:G,right:X},W=q.DeclareTypeAlias;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.right,J,"right",X,1),J}function sO(f,G=null,X=null){let J={type:"DeclareOpaqueType",id:f,typeParameters:G,supertype:X},W=q.DeclareOpaqueType;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.supertype,J,"supertype",X,1),J}function dO(f){let G={type:"DeclareVariable",id:f},X=q.DeclareVariable;return Z(X.id,G,"id",f,1),G}function tO(f=null,G=null,X=null,J=null){let W={type:"DeclareExportDeclaration",declaration:f,specifiers:G,source:X,attributes:J},R=q.DeclareExportDeclaration;return Z(R.declaration,W,"declaration",f,1),Z(R.specifiers,W,"specifiers",G,1),Z(R.source,W,"source",X,1),Z(R.attributes,W,"attributes",J,1),W}function nO(f,G=null){let X={type:"DeclareExportAllDeclaration",source:f,attributes:G},J=q.DeclareExportAllDeclaration;return Z(J.source,X,"source",f,1),Z(J.attributes,X,"attributes",G,1),X}function oO(f){let G={type:"DeclaredPredicate",value:f},X=q.DeclaredPredicate;return Z(X.value,G,"value",f,1),G}function eO(){return{type:"ExistsTypeAnnotation"}}function fD(f=null,G,X=null,J){let W={type:"FunctionTypeAnnotation",typeParameters:f,params:G,rest:X,returnType:J},R=q.FunctionTypeAnnotation;return Z(R.typeParameters,W,"typeParameters",f,1),Z(R.params,W,"params",G,1),Z(R.rest,W,"rest",X,1),Z(R.returnType,W,"returnType",J,1),W}function GD(f=null,G){let X={type:"FunctionTypeParam",name:f,typeAnnotation:G},J=q.FunctionTypeParam;return Z(J.name,X,"name",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function XD(f,G=null){let X={type:"GenericTypeAnnotation",id:f,typeParameters:G},J=q.GenericTypeAnnotation;return Z(J.id,X,"id",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function JD(){return{type:"InferredPredicate"}}function WD(f,G=null){let X={type:"InterfaceExtends",id:f,typeParameters:G},J=q.InterfaceExtends;return Z(J.id,X,"id",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function RD(f,G=null,X=null,J){let W={type:"InterfaceDeclaration",id:f,typeParameters:G,extends:X,body:J},R=q.InterfaceDeclaration;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function VD(f=null,G){let X={type:"InterfaceTypeAnnotation",extends:f,body:G},J=q.InterfaceTypeAnnotation;return Z(J.extends,X,"extends",f,1),Z(J.body,X,"body",G,1),X}function HD(f){let G={type:"IntersectionTypeAnnotation",types:f},X=q.IntersectionTypeAnnotation;return Z(X.types,G,"types",f,1),G}function UD(){return{type:"MixedTypeAnnotation"}}function QD(){return{type:"EmptyTypeAnnotation"}}function ZD(f){let G={type:"NullableTypeAnnotation",typeAnnotation:f},X=q.NullableTypeAnnotation;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function YD(f){let G={type:"NumberLiteralTypeAnnotation",value:f},X=q.NumberLiteralTypeAnnotation;return Z(X.value,G,"value",f),G}function zD(){return{type:"NumberTypeAnnotation"}}function BD(f,G=[],X=[],J=[],W=!1){let R={type:"ObjectTypeAnnotation",properties:f,indexers:G,callProperties:X,internalSlots:J,exact:W},V=q.ObjectTypeAnnotation;return Z(V.properties,R,"properties",f,1),Z(V.indexers,R,"indexers",G,1),Z(V.callProperties,R,"callProperties",X,1),Z(V.internalSlots,R,"internalSlots",J,1),Z(V.exact,R,"exact",W),R}function MD(f,G,X,J,W){let R={type:"ObjectTypeInternalSlot",id:f,value:G,optional:X,static:J,method:W},V=q.ObjectTypeInternalSlot;return Z(V.id,R,"id",f,1),Z(V.value,R,"value",G,1),Z(V.optional,R,"optional",X),Z(V.static,R,"static",J),Z(V.method,R,"method",W),R}function KD(f){let G={type:"ObjectTypeCallProperty",value:f,static:null},X=q.ObjectTypeCallProperty;return Z(X.value,G,"value",f,1),G}function FD(f=null,G,X,J=null){let W={type:"ObjectTypeIndexer",id:f,key:G,value:X,variance:J,static:null},R=q.ObjectTypeIndexer;return Z(R.id,W,"id",f,1),Z(R.key,W,"key",G,1),Z(R.value,W,"value",X,1),Z(R.variance,W,"variance",J,1),W}function SD(f,G,X=null){let J={type:"ObjectTypeProperty",key:f,value:G,variance:X,kind:null,method:null,optional:null,proto:null,static:null},W=q.ObjectTypeProperty;return Z(W.key,J,"key",f,1),Z(W.value,J,"value",G,1),Z(W.variance,J,"variance",X,1),J}function $D(f){let G={type:"ObjectTypeSpreadProperty",argument:f},X=q.ObjectTypeSpreadProperty;return Z(X.argument,G,"argument",f,1),G}function qD(f,G=null,X=null,J){let W={type:"OpaqueType",id:f,typeParameters:G,supertype:X,impltype:J},R=q.OpaqueType;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.supertype,W,"supertype",X,1),Z(R.impltype,W,"impltype",J,1),W}function CD(f,G){let X={type:"QualifiedTypeIdentifier",id:f,qualification:G},J=q.QualifiedTypeIdentifier;return Z(J.id,X,"id",f,1),Z(J.qualification,X,"qualification",G,1),X}function AD(f){let G={type:"StringLiteralTypeAnnotation",value:f},X=q.StringLiteralTypeAnnotation;return Z(X.value,G,"value",f),G}function jD(){return{type:"StringTypeAnnotation"}}function OD(){return{type:"SymbolTypeAnnotation"}}function DD(){return{type:"ThisTypeAnnotation"}}function PD(f){let G={type:"TupleTypeAnnotation",types:f},X=q.TupleTypeAnnotation;return Z(X.types,G,"types",f,1),G}function ID(f){let G={type:"TypeofTypeAnnotation",argument:f},X=q.TypeofTypeAnnotation;return Z(X.argument,G,"argument",f,1),G}function ND(f,G=null,X){let J={type:"TypeAlias",id:f,typeParameters:G,right:X},W=q.TypeAlias;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.right,J,"right",X,1),J}function TD(f){let G={type:"TypeAnnotation",typeAnnotation:f},X=q.TypeAnnotation;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function LD(f,G){let X={type:"TypeCastExpression",expression:f,typeAnnotation:G},J=q.TypeCastExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function bD(f=null,G=null,X=null){let J={type:"TypeParameter",bound:f,default:G,variance:X,name:null},W=q.TypeParameter;return Z(W.bound,J,"bound",f,1),Z(W.default,J,"default",G,1),Z(W.variance,J,"variance",X,1),J}function wD(f){let G={type:"TypeParameterDeclaration",params:f},X=q.TypeParameterDeclaration;return Z(X.params,G,"params",f,1),G}function ED(f){let G={type:"TypeParameterInstantiation",params:f},X=q.TypeParameterInstantiation;return Z(X.params,G,"params",f,1),G}function kD(f){let G={type:"UnionTypeAnnotation",types:f},X=q.UnionTypeAnnotation;return Z(X.types,G,"types",f,1),G}function vD(f){let G={type:"Variance",kind:f},X=q.Variance;return Z(X.kind,G,"kind",f),G}function gD(){return{type:"VoidTypeAnnotation"}}function _D(f,G){let X={type:"EnumDeclaration",id:f,body:G},J=q.EnumDeclaration;return Z(J.id,X,"id",f,1),Z(J.body,X,"body",G,1),X}function uD(f){let G={type:"EnumBooleanBody",members:f,explicitType:null,hasUnknownMembers:null},X=q.EnumBooleanBody;return Z(X.members,G,"members",f,1),G}function hD(f){let G={type:"EnumNumberBody",members:f,explicitType:null,hasUnknownMembers:null},X=q.EnumNumberBody;return Z(X.members,G,"members",f,1),G}function yD(f){let G={type:"EnumStringBody",members:f,explicitType:null,hasUnknownMembers:null},X=q.EnumStringBody;return Z(X.members,G,"members",f,1),G}function xD(f){let G={type:"EnumSymbolBody",members:f,hasUnknownMembers:null},X=q.EnumSymbolBody;return Z(X.members,G,"members",f,1),G}function mD(f){let G={type:"EnumBooleanMember",id:f,init:null},X=q.EnumBooleanMember;return Z(X.id,G,"id",f,1),G}function lD(f,G){let X={type:"EnumNumberMember",id:f,init:G},J=q.EnumNumberMember;return Z(J.id,X,"id",f,1),Z(J.init,X,"init",G,1),X}function cD(f,G){let X={type:"EnumStringMember",id:f,init:G},J=q.EnumStringMember;return Z(J.id,X,"id",f,1),Z(J.init,X,"init",G,1),X}function aD(f){let G={type:"EnumDefaultedMember",id:f},X=q.EnumDefaultedMember;return Z(X.id,G,"id",f,1),G}function iD(f,G){let X={type:"IndexedAccessType",objectType:f,indexType:G},J=q.IndexedAccessType;return Z(J.objectType,X,"objectType",f,1),Z(J.indexType,X,"indexType",G,1),X}function rD(f,G){let X={type:"OptionalIndexedAccessType",objectType:f,indexType:G,optional:null},J=q.OptionalIndexedAccessType;return Z(J.objectType,X,"objectType",f,1),Z(J.indexType,X,"indexType",G,1),X}function pD(f,G=null){let X={type:"JSXAttribute",name:f,value:G},J=q.JSXAttribute;return Z(J.name,X,"name",f,1),Z(J.value,X,"value",G,1),X}function sD(f){let G={type:"JSXClosingElement",name:f},X=q.JSXClosingElement;return Z(X.name,G,"name",f,1),G}function dD(f,G=null,X,J=null){let W={type:"JSXElement",openingElement:f,closingElement:G,children:X,selfClosing:J},R=q.JSXElement;return Z(R.openingElement,W,"openingElement",f,1),Z(R.closingElement,W,"closingElement",G,1),Z(R.children,W,"children",X,1),Z(R.selfClosing,W,"selfClosing",J),W}function tD(){return{type:"JSXEmptyExpression"}}function nD(f){let G={type:"JSXExpressionContainer",expression:f},X=q.JSXExpressionContainer;return Z(X.expression,G,"expression",f,1),G}function oD(f){let G={type:"JSXSpreadChild",expression:f},X=q.JSXSpreadChild;return Z(X.expression,G,"expression",f,1),G}function eD(f){let G={type:"JSXIdentifier",name:f},X=q.JSXIdentifier;return Z(X.name,G,"name",f),G}function fP(f,G){let X={type:"JSXMemberExpression",object:f,property:G},J=q.JSXMemberExpression;return Z(J.object,X,"object",f,1),Z(J.property,X,"property",G,1),X}function GP(f,G){let X={type:"JSXNamespacedName",namespace:f,name:G},J=q.JSXNamespacedName;return Z(J.namespace,X,"namespace",f,1),Z(J.name,X,"name",G,1),X}function XP(f,G,X=!1){let J={type:"JSXOpeningElement",name:f,attributes:G,selfClosing:X},W=q.JSXOpeningElement;return Z(W.name,J,"name",f,1),Z(W.attributes,J,"attributes",G,1),Z(W.selfClosing,J,"selfClosing",X),J}function JP(f){let G={type:"JSXSpreadAttribute",argument:f},X=q.JSXSpreadAttribute;return Z(X.argument,G,"argument",f,1),G}function WP(f){let G={type:"JSXText",value:f},X=q.JSXText;return Z(X.value,G,"value",f),G}function RP(f,G,X){let J={type:"JSXFragment",openingFragment:f,closingFragment:G,children:X},W=q.JSXFragment;return Z(W.openingFragment,J,"openingFragment",f,1),Z(W.closingFragment,J,"closingFragment",G,1),Z(W.children,J,"children",X,1),J}function VP(){return{type:"JSXOpeningFragment"}}function HP(){return{type:"JSXClosingFragment"}}function UP(){return{type:"Noop"}}function QP(f,G){let X={type:"Placeholder",expectedNode:f,name:G},J=q.Placeholder;return Z(J.expectedNode,X,"expectedNode",f),Z(J.name,X,"name",G,1),X}function ZP(f){let G={type:"V8IntrinsicIdentifier",name:f},X=q.V8IntrinsicIdentifier;return Z(X.name,G,"name",f),G}function YP(){return{type:"ArgumentPlaceholder"}}function zP(f,G){let X={type:"BindExpression",object:f,callee:G},J=q.BindExpression;return Z(J.object,X,"object",f,1),Z(J.callee,X,"callee",G,1),X}function BP(f,G){let X={type:"ImportAttribute",key:f,value:G},J=q.ImportAttribute;return Z(J.key,X,"key",f,1),Z(J.value,X,"value",G,1),X}function MP(f){let G={type:"Decorator",expression:f},X=q.Decorator;return Z(X.expression,G,"expression",f,1),G}function KP(f,G=!1){let X={type:"DoExpression",body:f,async:G},J=q.DoExpression;return Z(J.body,X,"body",f,1),Z(J.async,X,"async",G),X}function FP(f){let G={type:"ExportDefaultSpecifier",exported:f},X=q.ExportDefaultSpecifier;return Z(X.exported,G,"exported",f,1),G}function SP(f){let G={type:"RecordExpression",properties:f},X=q.RecordExpression;return Z(X.properties,G,"properties",f,1),G}function $P(f=[]){let G={type:"TupleExpression",elements:f},X=q.TupleExpression;return Z(X.elements,G,"elements",f,1),G}function qP(f){let G={type:"DecimalLiteral",value:f},X=q.DecimalLiteral;return Z(X.value,G,"value",f),G}function CP(f){let G={type:"ModuleExpression",body:f},X=q.ModuleExpression;return Z(X.body,G,"body",f,1),G}function AP(){return{type:"TopicReference"}}function jP(f){let G={type:"PipelineTopicExpression",expression:f},X=q.PipelineTopicExpression;return Z(X.expression,G,"expression",f,1),G}function OP(f){let G={type:"PipelineBareFunction",callee:f},X=q.PipelineBareFunction;return Z(X.callee,G,"callee",f,1),G}function DP(){return{type:"PipelinePrimaryTopicReference"}}function PP(f){let G={type:"TSParameterProperty",parameter:f},X=q.TSParameterProperty;return Z(X.parameter,G,"parameter",f,1),G}function IP(f=null,G=null,X,J=null){let W={type:"TSDeclareFunction",id:f,typeParameters:G,params:X,returnType:J},R=q.TSDeclareFunction;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.params,W,"params",X,1),Z(R.returnType,W,"returnType",J,1),W}function NP(f=null,G,X=null,J,W=null){let R={type:"TSDeclareMethod",decorators:f,key:G,typeParameters:X,params:J,returnType:W},V=q.TSDeclareMethod;return Z(V.decorators,R,"decorators",f,1),Z(V.key,R,"key",G,1),Z(V.typeParameters,R,"typeParameters",X,1),Z(V.params,R,"params",J,1),Z(V.returnType,R,"returnType",W,1),R}function TP(f,G){let X={type:"TSQualifiedName",left:f,right:G},J=q.TSQualifiedName;return Z(J.left,X,"left",f,1),Z(J.right,X,"right",G,1),X}function LP(f=null,G,X=null){let J={type:"TSCallSignatureDeclaration",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSCallSignatureDeclaration;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function bP(f=null,G,X=null){let J={type:"TSConstructSignatureDeclaration",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSConstructSignatureDeclaration;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function wP(f,G=null){let X={type:"TSPropertySignature",key:f,typeAnnotation:G},J=q.TSPropertySignature;return Z(J.key,X,"key",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function EP(f,G=null,X,J=null){let W={type:"TSMethodSignature",key:f,typeParameters:G,parameters:X,typeAnnotation:J,kind:null},R=q.TSMethodSignature;return Z(R.key,W,"key",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.parameters,W,"parameters",X,1),Z(R.typeAnnotation,W,"typeAnnotation",J,1),W}function kP(f,G=null){let X={type:"TSIndexSignature",parameters:f,typeAnnotation:G},J=q.TSIndexSignature;return Z(J.parameters,X,"parameters",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function vP(){return{type:"TSAnyKeyword"}}function gP(){return{type:"TSBooleanKeyword"}}function _P(){return{type:"TSBigIntKeyword"}}function uP(){return{type:"TSIntrinsicKeyword"}}function hP(){return{type:"TSNeverKeyword"}}function yP(){return{type:"TSNullKeyword"}}function xP(){return{type:"TSNumberKeyword"}}function mP(){return{type:"TSObjectKeyword"}}function lP(){return{type:"TSStringKeyword"}}function cP(){return{type:"TSSymbolKeyword"}}function aP(){return{type:"TSUndefinedKeyword"}}function iP(){return{type:"TSUnknownKeyword"}}function rP(){return{type:"TSVoidKeyword"}}function pP(){return{type:"TSThisType"}}function sP(f=null,G,X=null){let J={type:"TSFunctionType",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSFunctionType;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function dP(f=null,G,X=null){let J={type:"TSConstructorType",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSConstructorType;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function tP(f,G=null){let X={type:"TSTypeReference",typeName:f,typeParameters:G},J=q.TSTypeReference;return Z(J.typeName,X,"typeName",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function nP(f,G=null,X=null){let J={type:"TSTypePredicate",parameterName:f,typeAnnotation:G,asserts:X},W=q.TSTypePredicate;return Z(W.parameterName,J,"parameterName",f,1),Z(W.typeAnnotation,J,"typeAnnotation",G,1),Z(W.asserts,J,"asserts",X),J}function oP(f,G=null){let X={type:"TSTypeQuery",exprName:f,typeParameters:G},J=q.TSTypeQuery;return Z(J.exprName,X,"exprName",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function eP(f){let G={type:"TSTypeLiteral",members:f},X=q.TSTypeLiteral;return Z(X.members,G,"members",f,1),G}function fI(f){let G={type:"TSArrayType",elementType:f},X=q.TSArrayType;return Z(X.elementType,G,"elementType",f,1),G}function GI(f){let G={type:"TSTupleType",elementTypes:f},X=q.TSTupleType;return Z(X.elementTypes,G,"elementTypes",f,1),G}function XI(f){let G={type:"TSOptionalType",typeAnnotation:f},X=q.TSOptionalType;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function JI(f){let G={type:"TSRestType",typeAnnotation:f},X=q.TSRestType;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function WI(f,G,X=!1){let J={type:"TSNamedTupleMember",label:f,elementType:G,optional:X},W=q.TSNamedTupleMember;return Z(W.label,J,"label",f,1),Z(W.elementType,J,"elementType",G,1),Z(W.optional,J,"optional",X),J}function RI(f){let G={type:"TSUnionType",types:f},X=q.TSUnionType;return Z(X.types,G,"types",f,1),G}function VI(f){let G={type:"TSIntersectionType",types:f},X=q.TSIntersectionType;return Z(X.types,G,"types",f,1),G}function HI(f,G,X,J){let W={type:"TSConditionalType",checkType:f,extendsType:G,trueType:X,falseType:J},R=q.TSConditionalType;return Z(R.checkType,W,"checkType",f,1),Z(R.extendsType,W,"extendsType",G,1),Z(R.trueType,W,"trueType",X,1),Z(R.falseType,W,"falseType",J,1),W}function UI(f){let G={type:"TSInferType",typeParameter:f},X=q.TSInferType;return Z(X.typeParameter,G,"typeParameter",f,1),G}function QI(f){let G={type:"TSParenthesizedType",typeAnnotation:f},X=q.TSParenthesizedType;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function ZI(f){let G={type:"TSTypeOperator",typeAnnotation:f,operator:null},X=q.TSTypeOperator;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function YI(f,G){let X={type:"TSIndexedAccessType",objectType:f,indexType:G},J=q.TSIndexedAccessType;return Z(J.objectType,X,"objectType",f,1),Z(J.indexType,X,"indexType",G,1),X}function zI(f,G=null,X=null){let J={type:"TSMappedType",typeParameter:f,typeAnnotation:G,nameType:X},W=q.TSMappedType;return Z(W.typeParameter,J,"typeParameter",f,1),Z(W.typeAnnotation,J,"typeAnnotation",G,1),Z(W.nameType,J,"nameType",X,1),J}function BI(f,G){let X={type:"TSTemplateLiteralType",quasis:f,types:G},J=q.TSTemplateLiteralType;return Z(J.quasis,X,"quasis",f,1),Z(J.types,X,"types",G,1),X}function MI(f){let G={type:"TSLiteralType",literal:f},X=q.TSLiteralType;return Z(X.literal,G,"literal",f,1),G}function KI(f,G=null){let X={type:"TSExpressionWithTypeArguments",expression:f,typeParameters:G},J=q.TSExpressionWithTypeArguments;return Z(J.expression,X,"expression",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function FI(f,G=null,X=null,J){let W={type:"TSInterfaceDeclaration",id:f,typeParameters:G,extends:X,body:J},R=q.TSInterfaceDeclaration;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function SI(f){let G={type:"TSInterfaceBody",body:f},X=q.TSInterfaceBody;return Z(X.body,G,"body",f,1),G}function $I(f,G=null,X){let J={type:"TSTypeAliasDeclaration",id:f,typeParameters:G,typeAnnotation:X},W=q.TSTypeAliasDeclaration;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function qI(f,G=null){let X={type:"TSInstantiationExpression",expression:f,typeParameters:G},J=q.TSInstantiationExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function CI(f,G){let X={type:"TSAsExpression",expression:f,typeAnnotation:G},J=q.TSAsExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function AI(f,G){let X={type:"TSSatisfiesExpression",expression:f,typeAnnotation:G},J=q.TSSatisfiesExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function jI(f,G){let X={type:"TSTypeAssertion",typeAnnotation:f,expression:G},J=q.TSTypeAssertion;return Z(J.typeAnnotation,X,"typeAnnotation",f,1),Z(J.expression,X,"expression",G,1),X}function OI(f){let G={type:"TSEnumBody",members:f},X=q.TSEnumBody;return Z(X.members,G,"members",f,1),G}function DI(f,G){let X={type:"TSEnumDeclaration",id:f,members:G},J=q.TSEnumDeclaration;return Z(J.id,X,"id",f,1),Z(J.members,X,"members",G,1),X}function PI(f,G=null){let X={type:"TSEnumMember",id:f,initializer:G},J=q.TSEnumMember;return Z(J.id,X,"id",f,1),Z(J.initializer,X,"initializer",G,1),X}function II(f,G){let X={type:"TSModuleDeclaration",id:f,body:G,kind:null},J=q.TSModuleDeclaration;return Z(J.id,X,"id",f,1),Z(J.body,X,"body",G,1),X}function NI(f){let G={type:"TSModuleBlock",body:f},X=q.TSModuleBlock;return Z(X.body,G,"body",f,1),G}function TI(f,G=null,X=null){let J={type:"TSImportType",argument:f,qualifier:G,typeParameters:X},W=q.TSImportType;return Z(W.argument,J,"argument",f,1),Z(W.qualifier,J,"qualifier",G,1),Z(W.typeParameters,J,"typeParameters",X,1),J}function LI(f,G){let X={type:"TSImportEqualsDeclaration",id:f,moduleReference:G,isExport:null},J=q.TSImportEqualsDeclaration;return Z(J.id,X,"id",f,1),Z(J.moduleReference,X,"moduleReference",G,1),X}function bI(f){let G={type:"TSExternalModuleReference",expression:f},X=q.TSExternalModuleReference;return Z(X.expression,G,"expression",f,1),G}function wI(f){let G={type:"TSNonNullExpression",expression:f},X=q.TSNonNullExpression;return Z(X.expression,G,"expression",f,1),G}function EI(f){let G={type:"TSExportAssignment",expression:f},X=q.TSExportAssignment;return Z(X.expression,G,"expression",f,1),G}function kI(f){let G={type:"TSNamespaceExportDeclaration",id:f},X=q.TSNamespaceExportDeclaration;return Z(X.id,G,"id",f,1),G}function vI(f){let G={type:"TSTypeAnnotation",typeAnnotation:f},X=q.TSTypeAnnotation;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function gI(f){let G={type:"TSTypeParameterInstantiation",params:f},X=q.TSTypeParameterInstantiation;return Z(X.params,G,"params",f,1),G}function _I(f){let G={type:"TSTypeParameterDeclaration",params:f},X=q.TSTypeParameterDeclaration;return Z(X.params,G,"params",f,1),G}function uI(f=null,G=null,X){let J={type:"TSTypeParameter",constraint:f,default:G,name:X},W=q.TSTypeParameter;return Z(W.constraint,J,"constraint",f,1),Z(W.default,J,"default",G,1),Z(W.name,J,"name",X),J}function hI(f){return _X.default("NumberLiteral","NumericLiteral","The node type "),PR(f)}function yI(f,G=""){return _X.default("RegexLiteral","RegExpLiteral","The node type "),IR(f,G)}function xI(f){return _X.default("RestProperty","RestElement","The node type "),NR(f)}function mI(f){return _X.default("SpreadProperty","SpreadElement","The node type "),TR(f)}});var bR=D((K)=>{Object.defineProperty(K,"__esModule",{value:!0});Object.defineProperty(K,"AnyTypeAnnotation",{enumerable:!0,get:function(){return F.anyTypeAnnotation}});Object.defineProperty(K,"ArgumentPlaceholder",{enumerable:!0,get:function(){return F.argumentPlaceholder}});Object.defineProperty(K,"ArrayExpression",{enumerable:!0,get:function(){return F.arrayExpression}});Object.defineProperty(K,"ArrayPattern",{enumerable:!0,get:function(){return F.arrayPattern}});Object.defineProperty(K,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return F.arrayTypeAnnotation}});Object.defineProperty(K,"ArrowFunctionExpression",{enumerable:!0,get:function(){return F.arrowFunctionExpression}});Object.defineProperty(K,"AssignmentExpression",{enumerable:!0,get:function(){return F.assignmentExpression}});Object.defineProperty(K,"AssignmentPattern",{enumerable:!0,get:function(){return F.assignmentPattern}});Object.defineProperty(K,"AwaitExpression",{enumerable:!0,get:function(){return F.awaitExpression}});Object.defineProperty(K,"BigIntLiteral",{enumerable:!0,get:function(){return F.bigIntLiteral}});Object.defineProperty(K,"BinaryExpression",{enumerable:!0,get:function(){return F.binaryExpression}});Object.defineProperty(K,"BindExpression",{enumerable:!0,get:function(){return F.bindExpression}});Object.defineProperty(K,"BlockStatement",{enumerable:!0,get:function(){return F.blockStatement}});Object.defineProperty(K,"BooleanLiteral",{enumerable:!0,get:function(){return F.booleanLiteral}});Object.defineProperty(K,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.booleanLiteralTypeAnnotation}});Object.defineProperty(K,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return F.booleanTypeAnnotation}});Object.defineProperty(K,"BreakStatement",{enumerable:!0,get:function(){return F.breakStatement}});Object.defineProperty(K,"CallExpression",{enumerable:!0,get:function(){return F.callExpression}});Object.defineProperty(K,"CatchClause",{enumerable:!0,get:function(){return F.catchClause}});Object.defineProperty(K,"ClassAccessorProperty",{enumerable:!0,get:function(){return F.classAccessorProperty}});Object.defineProperty(K,"ClassBody",{enumerable:!0,get:function(){return F.classBody}});Object.defineProperty(K,"ClassDeclaration",{enumerable:!0,get:function(){return F.classDeclaration}});Object.defineProperty(K,"ClassExpression",{enumerable:!0,get:function(){return F.classExpression}});Object.defineProperty(K,"ClassImplements",{enumerable:!0,get:function(){return F.classImplements}});Object.defineProperty(K,"ClassMethod",{enumerable:!0,get:function(){return F.classMethod}});Object.defineProperty(K,"ClassPrivateMethod",{enumerable:!0,get:function(){return F.classPrivateMethod}});Object.defineProperty(K,"ClassPrivateProperty",{enumerable:!0,get:function(){return F.classPrivateProperty}});Object.defineProperty(K,"ClassProperty",{enumerable:!0,get:function(){return F.classProperty}});Object.defineProperty(K,"ConditionalExpression",{enumerable:!0,get:function(){return F.conditionalExpression}});Object.defineProperty(K,"ContinueStatement",{enumerable:!0,get:function(){return F.continueStatement}});Object.defineProperty(K,"DebuggerStatement",{enumerable:!0,get:function(){return F.debuggerStatement}});Object.defineProperty(K,"DecimalLiteral",{enumerable:!0,get:function(){return F.decimalLiteral}});Object.defineProperty(K,"DeclareClass",{enumerable:!0,get:function(){return F.declareClass}});Object.defineProperty(K,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return F.declareExportAllDeclaration}});Object.defineProperty(K,"DeclareExportDeclaration",{enumerable:!0,get:function(){return F.declareExportDeclaration}});Object.defineProperty(K,"DeclareFunction",{enumerable:!0,get:function(){return F.declareFunction}});Object.defineProperty(K,"DeclareInterface",{enumerable:!0,get:function(){return F.declareInterface}});Object.defineProperty(K,"DeclareModule",{enumerable:!0,get:function(){return F.declareModule}});Object.defineProperty(K,"DeclareModuleExports",{enumerable:!0,get:function(){return F.declareModuleExports}});Object.defineProperty(K,"DeclareOpaqueType",{enumerable:!0,get:function(){return F.declareOpaqueType}});Object.defineProperty(K,"DeclareTypeAlias",{enumerable:!0,get:function(){return F.declareTypeAlias}});Object.defineProperty(K,"DeclareVariable",{enumerable:!0,get:function(){return F.declareVariable}});Object.defineProperty(K,"DeclaredPredicate",{enumerable:!0,get:function(){return F.declaredPredicate}});Object.defineProperty(K,"Decorator",{enumerable:!0,get:function(){return F.decorator}});Object.defineProperty(K,"Directive",{enumerable:!0,get:function(){return F.directive}});Object.defineProperty(K,"DirectiveLiteral",{enumerable:!0,get:function(){return F.directiveLiteral}});Object.defineProperty(K,"DoExpression",{enumerable:!0,get:function(){return F.doExpression}});Object.defineProperty(K,"DoWhileStatement",{enumerable:!0,get:function(){return F.doWhileStatement}});Object.defineProperty(K,"EmptyStatement",{enumerable:!0,get:function(){return F.emptyStatement}});Object.defineProperty(K,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return F.emptyTypeAnnotation}});Object.defineProperty(K,"EnumBooleanBody",{enumerable:!0,get:function(){return F.enumBooleanBody}});Object.defineProperty(K,"EnumBooleanMember",{enumerable:!0,get:function(){return F.enumBooleanMember}});Object.defineProperty(K,"EnumDeclaration",{enumerable:!0,get:function(){return F.enumDeclaration}});Object.defineProperty(K,"EnumDefaultedMember",{enumerable:!0,get:function(){return F.enumDefaultedMember}});Object.defineProperty(K,"EnumNumberBody",{enumerable:!0,get:function(){return F.enumNumberBody}});Object.defineProperty(K,"EnumNumberMember",{enumerable:!0,get:function(){return F.enumNumberMember}});Object.defineProperty(K,"EnumStringBody",{enumerable:!0,get:function(){return F.enumStringBody}});Object.defineProperty(K,"EnumStringMember",{enumerable:!0,get:function(){return F.enumStringMember}});Object.defineProperty(K,"EnumSymbolBody",{enumerable:!0,get:function(){return F.enumSymbolBody}});Object.defineProperty(K,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return F.existsTypeAnnotation}});Object.defineProperty(K,"ExportAllDeclaration",{enumerable:!0,get:function(){return F.exportAllDeclaration}});Object.defineProperty(K,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return F.exportDefaultDeclaration}});Object.defineProperty(K,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return F.exportDefaultSpecifier}});Object.defineProperty(K,"ExportNamedDeclaration",{enumerable:!0,get:function(){return F.exportNamedDeclaration}});Object.defineProperty(K,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return F.exportNamespaceSpecifier}});Object.defineProperty(K,"ExportSpecifier",{enumerable:!0,get:function(){return F.exportSpecifier}});Object.defineProperty(K,"ExpressionStatement",{enumerable:!0,get:function(){return F.expressionStatement}});Object.defineProperty(K,"File",{enumerable:!0,get:function(){return F.file}});Object.defineProperty(K,"ForInStatement",{enumerable:!0,get:function(){return F.forInStatement}});Object.defineProperty(K,"ForOfStatement",{enumerable:!0,get:function(){return F.forOfStatement}});Object.defineProperty(K,"ForStatement",{enumerable:!0,get:function(){return F.forStatement}});Object.defineProperty(K,"FunctionDeclaration",{enumerable:!0,get:function(){return F.functionDeclaration}});Object.defineProperty(K,"FunctionExpression",{enumerable:!0,get:function(){return F.functionExpression}});Object.defineProperty(K,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return F.functionTypeAnnotation}});Object.defineProperty(K,"FunctionTypeParam",{enumerable:!0,get:function(){return F.functionTypeParam}});Object.defineProperty(K,"GenericTypeAnnotation",{enumerable:!0,get:function(){return F.genericTypeAnnotation}});Object.defineProperty(K,"Identifier",{enumerable:!0,get:function(){return F.identifier}});Object.defineProperty(K,"IfStatement",{enumerable:!0,get:function(){return F.ifStatement}});Object.defineProperty(K,"Import",{enumerable:!0,get:function(){return F.import}});Object.defineProperty(K,"ImportAttribute",{enumerable:!0,get:function(){return F.importAttribute}});Object.defineProperty(K,"ImportDeclaration",{enumerable:!0,get:function(){return F.importDeclaration}});Object.defineProperty(K,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return F.importDefaultSpecifier}});Object.defineProperty(K,"ImportExpression",{enumerable:!0,get:function(){return F.importExpression}});Object.defineProperty(K,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return F.importNamespaceSpecifier}});Object.defineProperty(K,"ImportSpecifier",{enumerable:!0,get:function(){return F.importSpecifier}});Object.defineProperty(K,"IndexedAccessType",{enumerable:!0,get:function(){return F.indexedAccessType}});Object.defineProperty(K,"InferredPredicate",{enumerable:!0,get:function(){return F.inferredPredicate}});Object.defineProperty(K,"InterfaceDeclaration",{enumerable:!0,get:function(){return F.interfaceDeclaration}});Object.defineProperty(K,"InterfaceExtends",{enumerable:!0,get:function(){return F.interfaceExtends}});Object.defineProperty(K,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return F.interfaceTypeAnnotation}});Object.defineProperty(K,"InterpreterDirective",{enumerable:!0,get:function(){return F.interpreterDirective}});Object.defineProperty(K,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return F.intersectionTypeAnnotation}});Object.defineProperty(K,"JSXAttribute",{enumerable:!0,get:function(){return F.jsxAttribute}});Object.defineProperty(K,"JSXClosingElement",{enumerable:!0,get:function(){return F.jsxClosingElement}});Object.defineProperty(K,"JSXClosingFragment",{enumerable:!0,get:function(){return F.jsxClosingFragment}});Object.defineProperty(K,"JSXElement",{enumerable:!0,get:function(){return F.jsxElement}});Object.defineProperty(K,"JSXEmptyExpression",{enumerable:!0,get:function(){return F.jsxEmptyExpression}});Object.defineProperty(K,"JSXExpressionContainer",{enumerable:!0,get:function(){return F.jsxExpressionContainer}});Object.defineProperty(K,"JSXFragment",{enumerable:!0,get:function(){return F.jsxFragment}});Object.defineProperty(K,"JSXIdentifier",{enumerable:!0,get:function(){return F.jsxIdentifier}});Object.defineProperty(K,"JSXMemberExpression",{enumerable:!0,get:function(){return F.jsxMemberExpression}});Object.defineProperty(K,"JSXNamespacedName",{enumerable:!0,get:function(){return F.jsxNamespacedName}});Object.defineProperty(K,"JSXOpeningElement",{enumerable:!0,get:function(){return F.jsxOpeningElement}});Object.defineProperty(K,"JSXOpeningFragment",{enumerable:!0,get:function(){return F.jsxOpeningFragment}});Object.defineProperty(K,"JSXSpreadAttribute",{enumerable:!0,get:function(){return F.jsxSpreadAttribute}});Object.defineProperty(K,"JSXSpreadChild",{enumerable:!0,get:function(){return F.jsxSpreadChild}});Object.defineProperty(K,"JSXText",{enumerable:!0,get:function(){return F.jsxText}});Object.defineProperty(K,"LabeledStatement",{enumerable:!0,get:function(){return F.labeledStatement}});Object.defineProperty(K,"LogicalExpression",{enumerable:!0,get:function(){return F.logicalExpression}});Object.defineProperty(K,"MemberExpression",{enumerable:!0,get:function(){return F.memberExpression}});Object.defineProperty(K,"MetaProperty",{enumerable:!0,get:function(){return F.metaProperty}});Object.defineProperty(K,"MixedTypeAnnotation",{enumerable:!0,get:function(){return F.mixedTypeAnnotation}});Object.defineProperty(K,"ModuleExpression",{enumerable:!0,get:function(){return F.moduleExpression}});Object.defineProperty(K,"NewExpression",{enumerable:!0,get:function(){return F.newExpression}});Object.defineProperty(K,"Noop",{enumerable:!0,get:function(){return F.noop}});Object.defineProperty(K,"NullLiteral",{enumerable:!0,get:function(){return F.nullLiteral}});Object.defineProperty(K,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.nullLiteralTypeAnnotation}});Object.defineProperty(K,"NullableTypeAnnotation",{enumerable:!0,get:function(){return F.nullableTypeAnnotation}});Object.defineProperty(K,"NumberLiteral",{enumerable:!0,get:function(){return F.numberLiteral}});Object.defineProperty(K,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.numberLiteralTypeAnnotation}});Object.defineProperty(K,"NumberTypeAnnotation",{enumerable:!0,get:function(){return F.numberTypeAnnotation}});Object.defineProperty(K,"NumericLiteral",{enumerable:!0,get:function(){return F.numericLiteral}});Object.defineProperty(K,"ObjectExpression",{enumerable:!0,get:function(){return F.objectExpression}});Object.defineProperty(K,"ObjectMethod",{enumerable:!0,get:function(){return F.objectMethod}});Object.defineProperty(K,"ObjectPattern",{enumerable:!0,get:function(){return F.objectPattern}});Object.defineProperty(K,"ObjectProperty",{enumerable:!0,get:function(){return F.objectProperty}});Object.defineProperty(K,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return F.objectTypeAnnotation}});Object.defineProperty(K,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return F.objectTypeCallProperty}});Object.defineProperty(K,"ObjectTypeIndexer",{enumerable:!0,get:function(){return F.objectTypeIndexer}});Object.defineProperty(K,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return F.objectTypeInternalSlot}});Object.defineProperty(K,"ObjectTypeProperty",{enumerable:!0,get:function(){return F.objectTypeProperty}});Object.defineProperty(K,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return F.objectTypeSpreadProperty}});Object.defineProperty(K,"OpaqueType",{enumerable:!0,get:function(){return F.opaqueType}});Object.defineProperty(K,"OptionalCallExpression",{enumerable:!0,get:function(){return F.optionalCallExpression}});Object.defineProperty(K,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return F.optionalIndexedAccessType}});Object.defineProperty(K,"OptionalMemberExpression",{enumerable:!0,get:function(){return F.optionalMemberExpression}});Object.defineProperty(K,"ParenthesizedExpression",{enumerable:!0,get:function(){return F.parenthesizedExpression}});Object.defineProperty(K,"PipelineBareFunction",{enumerable:!0,get:function(){return F.pipelineBareFunction}});Object.defineProperty(K,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return F.pipelinePrimaryTopicReference}});Object.defineProperty(K,"PipelineTopicExpression",{enumerable:!0,get:function(){return F.pipelineTopicExpression}});Object.defineProperty(K,"Placeholder",{enumerable:!0,get:function(){return F.placeholder}});Object.defineProperty(K,"PrivateName",{enumerable:!0,get:function(){return F.privateName}});Object.defineProperty(K,"Program",{enumerable:!0,get:function(){return F.program}});Object.defineProperty(K,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return F.qualifiedTypeIdentifier}});Object.defineProperty(K,"RecordExpression",{enumerable:!0,get:function(){return F.recordExpression}});Object.defineProperty(K,"RegExpLiteral",{enumerable:!0,get:function(){return F.regExpLiteral}});Object.defineProperty(K,"RegexLiteral",{enumerable:!0,get:function(){return F.regexLiteral}});Object.defineProperty(K,"RestElement",{enumerable:!0,get:function(){return F.restElement}});Object.defineProperty(K,"RestProperty",{enumerable:!0,get:function(){return F.restProperty}});Object.defineProperty(K,"ReturnStatement",{enumerable:!0,get:function(){return F.returnStatement}});Object.defineProperty(K,"SequenceExpression",{enumerable:!0,get:function(){return F.sequenceExpression}});Object.defineProperty(K,"SpreadElement",{enumerable:!0,get:function(){return F.spreadElement}});Object.defineProperty(K,"SpreadProperty",{enumerable:!0,get:function(){return F.spreadProperty}});Object.defineProperty(K,"StaticBlock",{enumerable:!0,get:function(){return F.staticBlock}});Object.defineProperty(K,"StringLiteral",{enumerable:!0,get:function(){return F.stringLiteral}});Object.defineProperty(K,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.stringLiteralTypeAnnotation}});Object.defineProperty(K,"StringTypeAnnotation",{enumerable:!0,get:function(){return F.stringTypeAnnotation}});Object.defineProperty(K,"Super",{enumerable:!0,get:function(){return F.super}});Object.defineProperty(K,"SwitchCase",{enumerable:!0,get:function(){return F.switchCase}});Object.defineProperty(K,"SwitchStatement",{enumerable:!0,get:function(){return F.switchStatement}});Object.defineProperty(K,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return F.symbolTypeAnnotation}});Object.defineProperty(K,"TSAnyKeyword",{enumerable:!0,get:function(){return F.tsAnyKeyword}});Object.defineProperty(K,"TSArrayType",{enumerable:!0,get:function(){return F.tsArrayType}});Object.defineProperty(K,"TSAsExpression",{enumerable:!0,get:function(){return F.tsAsExpression}});Object.defineProperty(K,"TSBigIntKeyword",{enumerable:!0,get:function(){return F.tsBigIntKeyword}});Object.defineProperty(K,"TSBooleanKeyword",{enumerable:!0,get:function(){return F.tsBooleanKeyword}});Object.defineProperty(K,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return F.tsCallSignatureDeclaration}});Object.defineProperty(K,"TSConditionalType",{enumerable:!0,get:function(){return F.tsConditionalType}});Object.defineProperty(K,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return F.tsConstructSignatureDeclaration}});Object.defineProperty(K,"TSConstructorType",{enumerable:!0,get:function(){return F.tsConstructorType}});Object.defineProperty(K,"TSDeclareFunction",{enumerable:!0,get:function(){return F.tsDeclareFunction}});Object.defineProperty(K,"TSDeclareMethod",{enumerable:!0,get:function(){return F.tsDeclareMethod}});Object.defineProperty(K,"TSEnumBody",{enumerable:!0,get:function(){return F.tsEnumBody}});Object.defineProperty(K,"TSEnumDeclaration",{enumerable:!0,get:function(){return F.tsEnumDeclaration}});Object.defineProperty(K,"TSEnumMember",{enumerable:!0,get:function(){return F.tsEnumMember}});Object.defineProperty(K,"TSExportAssignment",{enumerable:!0,get:function(){return F.tsExportAssignment}});Object.defineProperty(K,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return F.tsExpressionWithTypeArguments}});Object.defineProperty(K,"TSExternalModuleReference",{enumerable:!0,get:function(){return F.tsExternalModuleReference}});Object.defineProperty(K,"TSFunctionType",{enumerable:!0,get:function(){return F.tsFunctionType}});Object.defineProperty(K,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return F.tsImportEqualsDeclaration}});Object.defineProperty(K,"TSImportType",{enumerable:!0,get:function(){return F.tsImportType}});Object.defineProperty(K,"TSIndexSignature",{enumerable:!0,get:function(){return F.tsIndexSignature}});Object.defineProperty(K,"TSIndexedAccessType",{enumerable:!0,get:function(){return F.tsIndexedAccessType}});Object.defineProperty(K,"TSInferType",{enumerable:!0,get:function(){return F.tsInferType}});Object.defineProperty(K,"TSInstantiationExpression",{enumerable:!0,get:function(){return F.tsInstantiationExpression}});Object.defineProperty(K,"TSInterfaceBody",{enumerable:!0,get:function(){return F.tsInterfaceBody}});Object.defineProperty(K,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return F.tsInterfaceDeclaration}});Object.defineProperty(K,"TSIntersectionType",{enumerable:!0,get:function(){return F.tsIntersectionType}});Object.defineProperty(K,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return F.tsIntrinsicKeyword}});Object.defineProperty(K,"TSLiteralType",{enumerable:!0,get:function(){return F.tsLiteralType}});Object.defineProperty(K,"TSMappedType",{enumerable:!0,get:function(){return F.tsMappedType}});Object.defineProperty(K,"TSMethodSignature",{enumerable:!0,get:function(){return F.tsMethodSignature}});Object.defineProperty(K,"TSModuleBlock",{enumerable:!0,get:function(){return F.tsModuleBlock}});Object.defineProperty(K,"TSModuleDeclaration",{enumerable:!0,get:function(){return F.tsModuleDeclaration}});Object.defineProperty(K,"TSNamedTupleMember",{enumerable:!0,get:function(){return F.tsNamedTupleMember}});Object.defineProperty(K,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return F.tsNamespaceExportDeclaration}});Object.defineProperty(K,"TSNeverKeyword",{enumerable:!0,get:function(){return F.tsNeverKeyword}});Object.defineProperty(K,"TSNonNullExpression",{enumerable:!0,get:function(){return F.tsNonNullExpression}});Object.defineProperty(K,"TSNullKeyword",{enumerable:!0,get:function(){return F.tsNullKeyword}});Object.defineProperty(K,"TSNumberKeyword",{enumerable:!0,get:function(){return F.tsNumberKeyword}});Object.defineProperty(K,"TSObjectKeyword",{enumerable:!0,get:function(){return F.tsObjectKeyword}});Object.defineProperty(K,"TSOptionalType",{enumerable:!0,get:function(){return F.tsOptionalType}});Object.defineProperty(K,"TSParameterProperty",{enumerable:!0,get:function(){return F.tsParameterProperty}});Object.defineProperty(K,"TSParenthesizedType",{enumerable:!0,get:function(){return F.tsParenthesizedType}});Object.defineProperty(K,"TSPropertySignature",{enumerable:!0,get:function(){return F.tsPropertySignature}});Object.defineProperty(K,"TSQualifiedName",{enumerable:!0,get:function(){return F.tsQualifiedName}});Object.defineProperty(K,"TSRestType",{enumerable:!0,get:function(){return F.tsRestType}});Object.defineProperty(K,"TSSatisfiesExpression",{enumerable:!0,get:function(){return F.tsSatisfiesExpression}});Object.defineProperty(K,"TSStringKeyword",{enumerable:!0,get:function(){return F.tsStringKeyword}});Object.defineProperty(K,"TSSymbolKeyword",{enumerable:!0,get:function(){return F.tsSymbolKeyword}});Object.defineProperty(K,"TSTemplateLiteralType",{enumerable:!0,get:function(){return F.tsTemplateLiteralType}});Object.defineProperty(K,"TSThisType",{enumerable:!0,get:function(){return F.tsThisType}});Object.defineProperty(K,"TSTupleType",{enumerable:!0,get:function(){return F.tsTupleType}});Object.defineProperty(K,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return F.tsTypeAliasDeclaration}});Object.defineProperty(K,"TSTypeAnnotation",{enumerable:!0,get:function(){return F.tsTypeAnnotation}});Object.defineProperty(K,"TSTypeAssertion",{enumerable:!0,get:function(){return F.tsTypeAssertion}});Object.defineProperty(K,"TSTypeLiteral",{enumerable:!0,get:function(){return F.tsTypeLiteral}});Object.defineProperty(K,"TSTypeOperator",{enumerable:!0,get:function(){return F.tsTypeOperator}});Object.defineProperty(K,"TSTypeParameter",{enumerable:!0,get:function(){return F.tsTypeParameter}});Object.defineProperty(K,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return F.tsTypeParameterDeclaration}});Object.defineProperty(K,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return F.tsTypeParameterInstantiation}});Object.defineProperty(K,"TSTypePredicate",{enumerable:!0,get:function(){return F.tsTypePredicate}});Object.defineProperty(K,"TSTypeQuery",{enumerable:!0,get:function(){return F.tsTypeQuery}});Object.defineProperty(K,"TSTypeReference",{enumerable:!0,get:function(){return F.tsTypeReference}});Object.defineProperty(K,"TSUndefinedKeyword",{enumerable:!0,get:function(){return F.tsUndefinedKeyword}});Object.defineProperty(K,"TSUnionType",{enumerable:!0,get:function(){return F.tsUnionType}});Object.defineProperty(K,"TSUnknownKeyword",{enumerable:!0,get:function(){return F.tsUnknownKeyword}});Object.defineProperty(K,"TSVoidKeyword",{enumerable:!0,get:function(){return F.tsVoidKeyword}});Object.defineProperty(K,"TaggedTemplateExpression",{enumerable:!0,get:function(){return F.taggedTemplateExpression}});Object.defineProperty(K,"TemplateElement",{enumerable:!0,get:function(){return F.templateElement}});Object.defineProperty(K,"TemplateLiteral",{enumerable:!0,get:function(){return F.templateLiteral}});Object.defineProperty(K,"ThisExpression",{enumerable:!0,get:function(){return F.thisExpression}});Object.defineProperty(K,"ThisTypeAnnotation",{enumerable:!0,get:function(){return F.thisTypeAnnotation}});Object.defineProperty(K,"ThrowStatement",{enumerable:!0,get:function(){return F.throwStatement}});Object.defineProperty(K,"TopicReference",{enumerable:!0,get:function(){return F.topicReference}});Object.defineProperty(K,"TryStatement",{enumerable:!0,get:function(){return F.tryStatement}});Object.defineProperty(K,"TupleExpression",{enumerable:!0,get:function(){return F.tupleExpression}});Object.defineProperty(K,"TupleTypeAnnotation",{enumerable:!0,get:function(){return F.tupleTypeAnnotation}});Object.defineProperty(K,"TypeAlias",{enumerable:!0,get:function(){return F.typeAlias}});Object.defineProperty(K,"TypeAnnotation",{enumerable:!0,get:function(){return F.typeAnnotation}});Object.defineProperty(K,"TypeCastExpression",{enumerable:!0,get:function(){return F.typeCastExpression}});Object.defineProperty(K,"TypeParameter",{enumerable:!0,get:function(){return F.typeParameter}});Object.defineProperty(K,"TypeParameterDeclaration",{enumerable:!0,get:function(){return F.typeParameterDeclaration}});Object.defineProperty(K,"TypeParameterInstantiation",{enumerable:!0,get:function(){return F.typeParameterInstantiation}});Object.defineProperty(K,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return F.typeofTypeAnnotation}});Object.defineProperty(K,"UnaryExpression",{enumerable:!0,get:function(){return F.unaryExpression}});Object.defineProperty(K,"UnionTypeAnnotation",{enumerable:!0,get:function(){return F.unionTypeAnnotation}});Object.defineProperty(K,"UpdateExpression",{enumerable:!0,get:function(){return F.updateExpression}});Object.defineProperty(K,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return F.v8IntrinsicIdentifier}});Object.defineProperty(K,"VariableDeclaration",{enumerable:!0,get:function(){return F.variableDeclaration}});Object.defineProperty(K,"VariableDeclarator",{enumerable:!0,get:function(){return F.variableDeclarator}});Object.defineProperty(K,"Variance",{enumerable:!0,get:function(){return F.variance}});Object.defineProperty(K,"VoidTypeAnnotation",{enumerable:!0,get:function(){return F.voidTypeAnnotation}});Object.defineProperty(K,"WhileStatement",{enumerable:!0,get:function(){return F.whileStatement}});Object.defineProperty(K,"WithStatement",{enumerable:!0,get:function(){return F.withStatement}});Object.defineProperty(K,"YieldExpression",{enumerable:!0,get:function(){return F.yieldExpression}});var F=BJ()});var rf=D((kG)=>{Object.defineProperty(kG,"__esModule",{value:!0});var MJ=BJ();Object.keys(MJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in kG&&kG[f]===MJ[f])return;Object.defineProperty(kG,f,{enumerable:!0,get:function(){return MJ[f]}})});var KJ=bR();Object.keys(KJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in kG&&kG[f]===KJ[f])return;Object.defineProperty(kG,f,{enumerable:!0,get:function(){return KJ[f]}})})});var ER=D((wR)=>{Object.defineProperty(wR,"__esModule",{value:!0});wR.default=bw;var Tw=rf(),Lw=Hf();function bw(f,G){let X=f.value.split(/\r\n|\n|\r/),J=0;for(let R=0;R<X.length;R++)if(/[^ \t]/.exec(X[R]))J=R;let W="";for(let R=0;R<X.length;R++){let V=X[R],H=R===0,U=R===X.length-1,Q=R===J,Y=V.replace(/\t/g," ");if(!H)Y=Y.replace(/^ +/,"");if(!U)Y=Y.replace(/ +$/,"");if(Y){if(!Q)Y+=" ";W+=Y}}if(W)G.push(Lw.inherits(Tw.stringLiteral(W),f))}});var vR=D((kR)=>{Object.defineProperty(kR,"__esModule",{value:!0});kR.default=kw;var FJ=Nf(),Ew=ER();function kw(f){let G=[];for(let X=0;X<f.children.length;X++){let J=f.children[X];if(FJ.isJSXText(J)){Ew.default(J,G);continue}if(FJ.isJSXExpressionContainer(J))J=J.expression;if(FJ.isJSXEmptyExpression(J))continue;G.push(J)}return G}});var SJ=D((gR)=>{Object.defineProperty(gR,"__esModule",{value:!0});gR.default=_w;var gw=of();function _w(f){return!!(f&&gw.VISITOR_KEYS[f.type])}});var uR=D((_R)=>{Object.defineProperty(_R,"__esModule",{value:!0});_R.default=yw;var hw=SJ();function yw(f){if(!hw.default(f)){var G;let X=(G=f==null?void 0:f.type)!=null?G:JSON.stringify(f);throw new TypeError(`Not a valid node of type "${X}"`)}}});var yR=D((hR)=>{Object.defineProperty(hR,"__esModule",{value:!0});hR.assertAccessor=Wu;hR.assertAnyTypeAnnotation=jk;hR.assertArgumentPlaceholder=nv;hR.assertArrayExpression=lw;hR.assertArrayPattern=xE;hR.assertArrayTypeAnnotation=Ok;hR.assertArrowFunctionExpression=mE;hR.assertAssignmentExpression=cw;hR.assertAssignmentPattern=yE;hR.assertAwaitExpression=Zk;hR.assertBigIntLiteral=zk;hR.assertBinary=I_;hR.assertBinaryExpression=aw;hR.assertBindExpression=ov;hR.assertBlock=L_;hR.assertBlockParent=T_;hR.assertBlockStatement=sw;hR.assertBooleanLiteral=KE;hR.assertBooleanLiteralTypeAnnotation=Pk;hR.assertBooleanTypeAnnotation=Dk;hR.assertBreakStatement=dw;hR.assertCallExpression=tw;hR.assertCatchClause=nw;hR.assertClass=fu;hR.assertClassAccessorProperty=Sk;hR.assertClassBody=lE;hR.assertClassDeclaration=aE;hR.assertClassExpression=cE;hR.assertClassImplements=Nk;hR.assertClassMethod=Xk;hR.assertClassPrivateMethod=qk;hR.assertClassPrivateProperty=$k;hR.assertClassProperty=Fk;hR.assertCompletionStatement=E_;hR.assertConditional=k_;hR.assertConditionalExpression=ow;hR.assertContinueStatement=ew;hR.assertDebuggerStatement=fE;hR.assertDecimalLiteral=Rg;hR.assertDeclaration=l_;hR.assertDeclareClass=Tk;hR.assertDeclareExportAllDeclaration=uk;hR.assertDeclareExportDeclaration=_k;hR.assertDeclareFunction=Lk;hR.assertDeclareInterface=bk;hR.assertDeclareModule=wk;hR.assertDeclareModuleExports=Ek;hR.assertDeclareOpaqueType=vk;hR.assertDeclareTypeAlias=kk;hR.assertDeclareVariable=gk;hR.assertDeclaredPredicate=hk;hR.assertDecorator=fg;hR.assertDirective=rw;hR.assertDirectiveLiteral=pw;hR.assertDoExpression=Gg;hR.assertDoWhileStatement=GE;hR.assertEmptyStatement=XE;hR.assertEmptyTypeAnnotation=dk;hR.assertEnumBody=Yu;hR.assertEnumBooleanBody=Ov;hR.assertEnumBooleanMember=Nv;hR.assertEnumDeclaration=jv;hR.assertEnumDefaultedMember=bv;hR.assertEnumMember=zu;hR.assertEnumNumberBody=Dv;hR.assertEnumNumberMember=Tv;hR.assertEnumStringBody=Pv;hR.assertEnumStringMember=Lv;hR.assertEnumSymbolBody=Iv;hR.assertExistsTypeAnnotation=yk;hR.assertExportAllDeclaration=iE;hR.assertExportDeclaration=Xu;hR.assertExportDefaultDeclaration=rE;hR.assertExportDefaultSpecifier=Xg;hR.assertExportNamedDeclaration=pE;hR.assertExportNamespaceSpecifier=Bk;hR.assertExportSpecifier=sE;hR.assertExpression=P_;hR.assertExpressionStatement=JE;hR.assertExpressionWrapper=__;hR.assertFile=WE;hR.assertFlow=Vu;hR.assertFlowBaseAnnotation=Uu;hR.assertFlowDeclaration=Qu;hR.assertFlowPredicate=Zu;hR.assertFlowType=Hu;hR.assertFor=u_;hR.assertForInStatement=RE;hR.assertForOfStatement=dE;hR.assertForStatement=VE;hR.assertForXStatement=h_;hR.assertFunction=y_;hR.assertFunctionDeclaration=HE;hR.assertFunctionExpression=UE;hR.assertFunctionParent=x_;hR.assertFunctionTypeAnnotation=xk;hR.assertFunctionTypeParam=mk;hR.assertGenericTypeAnnotation=lk;hR.assertIdentifier=QE;hR.assertIfStatement=ZE;hR.assertImmutable=p_;hR.assertImport=Yk;hR.assertImportAttribute=ev;hR.assertImportDeclaration=tE;hR.assertImportDefaultSpecifier=nE;hR.assertImportExpression=fk;hR.assertImportNamespaceSpecifier=oE;hR.assertImportOrExportDeclaration=Gu;hR.assertImportSpecifier=eE;hR.assertIndexedAccessType=wv;hR.assertInferredPredicate=ck;hR.assertInterfaceDeclaration=ik;hR.assertInterfaceExtends=ak;hR.assertInterfaceTypeAnnotation=rk;hR.assertInterpreterDirective=iw;hR.assertIntersectionTypeAnnotation=pk;hR.assertJSX=Bu;hR.assertJSXAttribute=kv;hR.assertJSXClosingElement=vv;hR.assertJSXClosingFragment=pv;hR.assertJSXElement=gv;hR.assertJSXEmptyExpression=_v;hR.assertJSXExpressionContainer=uv;hR.assertJSXFragment=iv;hR.assertJSXIdentifier=yv;hR.assertJSXMemberExpression=xv;hR.assertJSXNamespacedName=mv;hR.assertJSXOpeningElement=lv;hR.assertJSXOpeningFragment=rv;hR.assertJSXSpreadAttribute=cv;hR.assertJSXSpreadChild=hv;hR.assertJSXText=av;hR.assertLVal=a_;hR.assertLabeledStatement=YE;hR.assertLiteral=r_;hR.assertLogicalExpression=SE;hR.assertLoop=v_;hR.assertMemberExpression=$E;hR.assertMetaProperty=Gk;hR.assertMethod=d_;hR.assertMiscellaneous=Mu;hR.assertMixedTypeAnnotation=sk;hR.assertModuleDeclaration=Ou;hR.assertModuleExpression=Vg;hR.assertModuleSpecifier=Ju;hR.assertNewExpression=qE;hR.assertNoop=sv;hR.assertNullLiteral=ME;hR.assertNullLiteralTypeAnnotation=Ik;hR.assertNullableTypeAnnotation=tk;hR.assertNumberLiteral=qu;hR.assertNumberLiteralTypeAnnotation=nk;hR.assertNumberTypeAnnotation=ok;hR.assertNumericLiteral=BE;hR.assertObjectExpression=AE;hR.assertObjectMember=t_;hR.assertObjectMethod=jE;hR.assertObjectPattern=Jk;hR.assertObjectProperty=OE;hR.assertObjectTypeAnnotation=ek;hR.assertObjectTypeCallProperty=Gv;hR.assertObjectTypeIndexer=Xv;hR.assertObjectTypeInternalSlot=fv;hR.assertObjectTypeProperty=Jv;hR.assertObjectTypeSpreadProperty=Wv;hR.assertOpaqueType=Rv;hR.assertOptionalCallExpression=Kk;hR.assertOptionalIndexedAccessType=Ev;hR.assertOptionalMemberExpression=Mk;hR.assertParenthesizedExpression=NE;hR.assertPattern=e_;hR.assertPatternLike=c_;hR.assertPipelineBareFunction=Qg;hR.assertPipelinePrimaryTopicReference=Zg;hR.assertPipelineTopicExpression=Ug;hR.assertPlaceholder=dv;hR.assertPrivate=Ru;hR.assertPrivateName=Ck;hR.assertProgram=CE;hR.assertProperty=n_;hR.assertPureish=m_;hR.assertQualifiedTypeIdentifier=Vv;hR.assertRecordExpression=Jg;hR.assertRegExpLiteral=FE;hR.assertRegexLiteral=Cu;hR.assertRestElement=DE;hR.assertRestProperty=Au;hR.assertReturnStatement=PE;hR.assertScopable=N_;hR.assertSequenceExpression=IE;hR.assertSpreadElement=Wk;hR.assertSpreadProperty=ju;hR.assertStandardized=D_;hR.assertStatement=b_;hR.assertStaticBlock=Ak;hR.assertStringLiteral=zE;hR.assertStringLiteralTypeAnnotation=Hv;hR.assertStringTypeAnnotation=Uv;hR.assertSuper=Rk;hR.assertSwitchCase=TE;hR.assertSwitchStatement=LE;hR.assertSymbolTypeAnnotation=Qv;hR.assertTSAnyKeyword=Cg;hR.assertTSArrayType=xg;hR.assertTSAsExpression=V_;hR.assertTSBaseType=$u;hR.assertTSBigIntKeyword=jg;hR.assertTSBooleanKeyword=Ag;hR.assertTSCallSignatureDeclaration=Kg;hR.assertTSConditionalType=pg;hR.assertTSConstructSignatureDeclaration=Fg;hR.assertTSConstructorType=gg;hR.assertTSDeclareFunction=zg;hR.assertTSDeclareMethod=Bg;hR.assertTSEntityName=i_;hR.assertTSEnumBody=Q_;hR.assertTSEnumDeclaration=Z_;hR.assertTSEnumMember=Y_;hR.assertTSExportAssignment=$_;hR.assertTSExpressionWithTypeArguments=G_;hR.assertTSExternalModuleReference=F_;hR.assertTSFunctionType=vg;hR.assertTSImportEqualsDeclaration=K_;hR.assertTSImportType=M_;hR.assertTSIndexSignature=qg;hR.assertTSIndexedAccessType=ng;hR.assertTSInferType=sg;hR.assertTSInstantiationExpression=R_;hR.assertTSInterfaceBody=J_;hR.assertTSInterfaceDeclaration=X_;hR.assertTSIntersectionType=rg;hR.assertTSIntrinsicKeyword=Og;hR.assertTSLiteralType=f_;hR.assertTSMappedType=og;hR.assertTSMethodSignature=$g;hR.assertTSModuleBlock=B_;hR.assertTSModuleDeclaration=z_;hR.assertTSNamedTupleMember=ag;hR.assertTSNamespaceExportDeclaration=q_;hR.assertTSNeverKeyword=Dg;hR.assertTSNonNullExpression=S_;hR.assertTSNullKeyword=Pg;hR.assertTSNumberKeyword=Ig;hR.assertTSObjectKeyword=Ng;hR.assertTSOptionalType=lg;hR.assertTSParameterProperty=Yg;hR.assertTSParenthesizedType=dg;hR.assertTSPropertySignature=Sg;hR.assertTSQualifiedName=Mg;hR.assertTSRestType=cg;hR.assertTSSatisfiesExpression=H_;hR.assertTSStringKeyword=Tg;hR.assertTSSymbolKeyword=Lg;hR.assertTSTemplateLiteralType=eg;hR.assertTSThisType=kg;hR.assertTSTupleType=mg;hR.assertTSType=Su;hR.assertTSTypeAliasDeclaration=W_;hR.assertTSTypeAnnotation=C_;hR.assertTSTypeAssertion=U_;hR.assertTSTypeElement=Fu;hR.assertTSTypeLiteral=yg;hR.assertTSTypeOperator=tg;hR.assertTSTypeParameter=O_;hR.assertTSTypeParameterDeclaration=j_;hR.assertTSTypeParameterInstantiation=A_;hR.assertTSTypePredicate=ug;hR.assertTSTypeQuery=hg;hR.assertTSTypeReference=_g;hR.assertTSUndefinedKeyword=bg;hR.assertTSUnionType=ig;hR.assertTSUnknownKeyword=wg;hR.assertTSVoidKeyword=Eg;hR.assertTaggedTemplateExpression=Vk;hR.assertTemplateElement=Hk;hR.assertTemplateLiteral=Uk;hR.assertTerminatorless=w_;hR.assertThisExpression=bE;hR.assertThisTypeAnnotation=Zv;hR.assertThrowStatement=wE;hR.assertTopicReference=Hg;hR.assertTryStatement=EE;hR.assertTupleExpression=Wg;hR.assertTupleTypeAnnotation=Yv;hR.assertTypeAlias=Bv;hR.assertTypeAnnotation=Mv;hR.assertTypeCastExpression=Kv;hR.assertTypeParameter=Fv;hR.assertTypeParameterDeclaration=Sv;hR.assertTypeParameterInstantiation=$v;hR.assertTypeScript=Ku;hR.assertTypeofTypeAnnotation=zv;hR.assertUnaryExpression=kE;hR.assertUnaryLike=o_;hR.assertUnionTypeAnnotation=qv;hR.assertUpdateExpression=vE;hR.assertUserWhitespacable=s_;hR.assertV8IntrinsicIdentifier=tv;hR.assertVariableDeclaration=gE;hR.assertVariableDeclarator=_E;hR.assertVariance=Cv;hR.assertVoidTypeAnnotation=Av;hR.assertWhile=g_;hR.assertWhileStatement=uE;hR.assertWithStatement=hE;hR.assertYieldExpression=Qk;var mw=z1(),a1=_1();function z(f,G,X){if(!mw.default(f,G,X))throw new Error(`Expected type "${f}" with option ${JSON.stringify(X)}, but instead got "${G.type}".`)}function lw(f,G){z("ArrayExpression",f,G)}function cw(f,G){z("AssignmentExpression",f,G)}function aw(f,G){z("BinaryExpression",f,G)}function iw(f,G){z("InterpreterDirective",f,G)}function rw(f,G){z("Directive",f,G)}function pw(f,G){z("DirectiveLiteral",f,G)}function sw(f,G){z("BlockStatement",f,G)}function dw(f,G){z("BreakStatement",f,G)}function tw(f,G){z("CallExpression",f,G)}function nw(f,G){z("CatchClause",f,G)}function ow(f,G){z("ConditionalExpression",f,G)}function ew(f,G){z("ContinueStatement",f,G)}function fE(f,G){z("DebuggerStatement",f,G)}function GE(f,G){z("DoWhileStatement",f,G)}function XE(f,G){z("EmptyStatement",f,G)}function JE(f,G){z("ExpressionStatement",f,G)}function WE(f,G){z("File",f,G)}function RE(f,G){z("ForInStatement",f,G)}function VE(f,G){z("ForStatement",f,G)}function HE(f,G){z("FunctionDeclaration",f,G)}function UE(f,G){z("FunctionExpression",f,G)}function QE(f,G){z("Identifier",f,G)}function ZE(f,G){z("IfStatement",f,G)}function YE(f,G){z("LabeledStatement",f,G)}function zE(f,G){z("StringLiteral",f,G)}function BE(f,G){z("NumericLiteral",f,G)}function ME(f,G){z("NullLiteral",f,G)}function KE(f,G){z("BooleanLiteral",f,G)}function FE(f,G){z("RegExpLiteral",f,G)}function SE(f,G){z("LogicalExpression",f,G)}function $E(f,G){z("MemberExpression",f,G)}function qE(f,G){z("NewExpression",f,G)}function CE(f,G){z("Program",f,G)}function AE(f,G){z("ObjectExpression",f,G)}function jE(f,G){z("ObjectMethod",f,G)}function OE(f,G){z("ObjectProperty",f,G)}function DE(f,G){z("RestElement",f,G)}function PE(f,G){z("ReturnStatement",f,G)}function IE(f,G){z("SequenceExpression",f,G)}function NE(f,G){z("ParenthesizedExpression",f,G)}function TE(f,G){z("SwitchCase",f,G)}function LE(f,G){z("SwitchStatement",f,G)}function bE(f,G){z("ThisExpression",f,G)}function wE(f,G){z("ThrowStatement",f,G)}function EE(f,G){z("TryStatement",f,G)}function kE(f,G){z("UnaryExpression",f,G)}function vE(f,G){z("UpdateExpression",f,G)}function gE(f,G){z("VariableDeclaration",f,G)}function _E(f,G){z("VariableDeclarator",f,G)}function uE(f,G){z("WhileStatement",f,G)}function hE(f,G){z("WithStatement",f,G)}function yE(f,G){z("AssignmentPattern",f,G)}function xE(f,G){z("ArrayPattern",f,G)}function mE(f,G){z("ArrowFunctionExpression",f,G)}function lE(f,G){z("ClassBody",f,G)}function cE(f,G){z("ClassExpression",f,G)}function aE(f,G){z("ClassDeclaration",f,G)}function iE(f,G){z("ExportAllDeclaration",f,G)}function rE(f,G){z("ExportDefaultDeclaration",f,G)}function pE(f,G){z("ExportNamedDeclaration",f,G)}function sE(f,G){z("ExportSpecifier",f,G)}function dE(f,G){z("ForOfStatement",f,G)}function tE(f,G){z("ImportDeclaration",f,G)}function nE(f,G){z("ImportDefaultSpecifier",f,G)}function oE(f,G){z("ImportNamespaceSpecifier",f,G)}function eE(f,G){z("ImportSpecifier",f,G)}function fk(f,G){z("ImportExpression",f,G)}function Gk(f,G){z("MetaProperty",f,G)}function Xk(f,G){z("ClassMethod",f,G)}function Jk(f,G){z("ObjectPattern",f,G)}function Wk(f,G){z("SpreadElement",f,G)}function Rk(f,G){z("Super",f,G)}function Vk(f,G){z("TaggedTemplateExpression",f,G)}function Hk(f,G){z("TemplateElement",f,G)}function Uk(f,G){z("TemplateLiteral",f,G)}function Qk(f,G){z("YieldExpression",f,G)}function Zk(f,G){z("AwaitExpression",f,G)}function Yk(f,G){z("Import",f,G)}function zk(f,G){z("BigIntLiteral",f,G)}function Bk(f,G){z("ExportNamespaceSpecifier",f,G)}function Mk(f,G){z("OptionalMemberExpression",f,G)}function Kk(f,G){z("OptionalCallExpression",f,G)}function Fk(f,G){z("ClassProperty",f,G)}function Sk(f,G){z("ClassAccessorProperty",f,G)}function $k(f,G){z("ClassPrivateProperty",f,G)}function qk(f,G){z("ClassPrivateMethod",f,G)}function Ck(f,G){z("PrivateName",f,G)}function Ak(f,G){z("StaticBlock",f,G)}function jk(f,G){z("AnyTypeAnnotation",f,G)}function Ok(f,G){z("ArrayTypeAnnotation",f,G)}function Dk(f,G){z("BooleanTypeAnnotation",f,G)}function Pk(f,G){z("BooleanLiteralTypeAnnotation",f,G)}function Ik(f,G){z("NullLiteralTypeAnnotation",f,G)}function Nk(f,G){z("ClassImplements",f,G)}function Tk(f,G){z("DeclareClass",f,G)}function Lk(f,G){z("DeclareFunction",f,G)}function bk(f,G){z("DeclareInterface",f,G)}function wk(f,G){z("DeclareModule",f,G)}function Ek(f,G){z("DeclareModuleExports",f,G)}function kk(f,G){z("DeclareTypeAlias",f,G)}function vk(f,G){z("DeclareOpaqueType",f,G)}function gk(f,G){z("DeclareVariable",f,G)}function _k(f,G){z("DeclareExportDeclaration",f,G)}function uk(f,G){z("DeclareExportAllDeclaration",f,G)}function hk(f,G){z("DeclaredPredicate",f,G)}function yk(f,G){z("ExistsTypeAnnotation",f,G)}function xk(f,G){z("FunctionTypeAnnotation",f,G)}function mk(f,G){z("FunctionTypeParam",f,G)}function lk(f,G){z("GenericTypeAnnotation",f,G)}function ck(f,G){z("InferredPredicate",f,G)}function ak(f,G){z("InterfaceExtends",f,G)}function ik(f,G){z("InterfaceDeclaration",f,G)}function rk(f,G){z("InterfaceTypeAnnotation",f,G)}function pk(f,G){z("IntersectionTypeAnnotation",f,G)}function sk(f,G){z("MixedTypeAnnotation",f,G)}function dk(f,G){z("EmptyTypeAnnotation",f,G)}function tk(f,G){z("NullableTypeAnnotation",f,G)}function nk(f,G){z("NumberLiteralTypeAnnotation",f,G)}function ok(f,G){z("NumberTypeAnnotation",f,G)}function ek(f,G){z("ObjectTypeAnnotation",f,G)}function fv(f,G){z("ObjectTypeInternalSlot",f,G)}function Gv(f,G){z("ObjectTypeCallProperty",f,G)}function Xv(f,G){z("ObjectTypeIndexer",f,G)}function Jv(f,G){z("ObjectTypeProperty",f,G)}function Wv(f,G){z("ObjectTypeSpreadProperty",f,G)}function Rv(f,G){z("OpaqueType",f,G)}function Vv(f,G){z("QualifiedTypeIdentifier",f,G)}function Hv(f,G){z("StringLiteralTypeAnnotation",f,G)}function Uv(f,G){z("StringTypeAnnotation",f,G)}function Qv(f,G){z("SymbolTypeAnnotation",f,G)}function Zv(f,G){z("ThisTypeAnnotation",f,G)}function Yv(f,G){z("TupleTypeAnnotation",f,G)}function zv(f,G){z("TypeofTypeAnnotation",f,G)}function Bv(f,G){z("TypeAlias",f,G)}function Mv(f,G){z("TypeAnnotation",f,G)}function Kv(f,G){z("TypeCastExpression",f,G)}function Fv(f,G){z("TypeParameter",f,G)}function Sv(f,G){z("TypeParameterDeclaration",f,G)}function $v(f,G){z("TypeParameterInstantiation",f,G)}function qv(f,G){z("UnionTypeAnnotation",f,G)}function Cv(f,G){z("Variance",f,G)}function Av(f,G){z("VoidTypeAnnotation",f,G)}function jv(f,G){z("EnumDeclaration",f,G)}function Ov(f,G){z("EnumBooleanBody",f,G)}function Dv(f,G){z("EnumNumberBody",f,G)}function Pv(f,G){z("EnumStringBody",f,G)}function Iv(f,G){z("EnumSymbolBody",f,G)}function Nv(f,G){z("EnumBooleanMember",f,G)}function Tv(f,G){z("EnumNumberMember",f,G)}function Lv(f,G){z("EnumStringMember",f,G)}function bv(f,G){z("EnumDefaultedMember",f,G)}function wv(f,G){z("IndexedAccessType",f,G)}function Ev(f,G){z("OptionalIndexedAccessType",f,G)}function kv(f,G){z("JSXAttribute",f,G)}function vv(f,G){z("JSXClosingElement",f,G)}function gv(f,G){z("JSXElement",f,G)}function _v(f,G){z("JSXEmptyExpression",f,G)}function uv(f,G){z("JSXExpressionContainer",f,G)}function hv(f,G){z("JSXSpreadChild",f,G)}function yv(f,G){z("JSXIdentifier",f,G)}function xv(f,G){z("JSXMemberExpression",f,G)}function mv(f,G){z("JSXNamespacedName",f,G)}function lv(f,G){z("JSXOpeningElement",f,G)}function cv(f,G){z("JSXSpreadAttribute",f,G)}function av(f,G){z("JSXText",f,G)}function iv(f,G){z("JSXFragment",f,G)}function rv(f,G){z("JSXOpeningFragment",f,G)}function pv(f,G){z("JSXClosingFragment",f,G)}function sv(f,G){z("Noop",f,G)}function dv(f,G){z("Placeholder",f,G)}function tv(f,G){z("V8IntrinsicIdentifier",f,G)}function nv(f,G){z("ArgumentPlaceholder",f,G)}function ov(f,G){z("BindExpression",f,G)}function ev(f,G){z("ImportAttribute",f,G)}function fg(f,G){z("Decorator",f,G)}function Gg(f,G){z("DoExpression",f,G)}function Xg(f,G){z("ExportDefaultSpecifier",f,G)}function Jg(f,G){z("RecordExpression",f,G)}function Wg(f,G){z("TupleExpression",f,G)}function Rg(f,G){z("DecimalLiteral",f,G)}function Vg(f,G){z("ModuleExpression",f,G)}function Hg(f,G){z("TopicReference",f,G)}function Ug(f,G){z("PipelineTopicExpression",f,G)}function Qg(f,G){z("PipelineBareFunction",f,G)}function Zg(f,G){z("PipelinePrimaryTopicReference",f,G)}function Yg(f,G){z("TSParameterProperty",f,G)}function zg(f,G){z("TSDeclareFunction",f,G)}function Bg(f,G){z("TSDeclareMethod",f,G)}function Mg(f,G){z("TSQualifiedName",f,G)}function Kg(f,G){z("TSCallSignatureDeclaration",f,G)}function Fg(f,G){z("TSConstructSignatureDeclaration",f,G)}function Sg(f,G){z("TSPropertySignature",f,G)}function $g(f,G){z("TSMethodSignature",f,G)}function qg(f,G){z("TSIndexSignature",f,G)}function Cg(f,G){z("TSAnyKeyword",f,G)}function Ag(f,G){z("TSBooleanKeyword",f,G)}function jg(f,G){z("TSBigIntKeyword",f,G)}function Og(f,G){z("TSIntrinsicKeyword",f,G)}function Dg(f,G){z("TSNeverKeyword",f,G)}function Pg(f,G){z("TSNullKeyword",f,G)}function Ig(f,G){z("TSNumberKeyword",f,G)}function Ng(f,G){z("TSObjectKeyword",f,G)}function Tg(f,G){z("TSStringKeyword",f,G)}function Lg(f,G){z("TSSymbolKeyword",f,G)}function bg(f,G){z("TSUndefinedKeyword",f,G)}function wg(f,G){z("TSUnknownKeyword",f,G)}function Eg(f,G){z("TSVoidKeyword",f,G)}function kg(f,G){z("TSThisType",f,G)}function vg(f,G){z("TSFunctionType",f,G)}function gg(f,G){z("TSConstructorType",f,G)}function _g(f,G){z("TSTypeReference",f,G)}function ug(f,G){z("TSTypePredicate",f,G)}function hg(f,G){z("TSTypeQuery",f,G)}function yg(f,G){z("TSTypeLiteral",f,G)}function xg(f,G){z("TSArrayType",f,G)}function mg(f,G){z("TSTupleType",f,G)}function lg(f,G){z("TSOptionalType",f,G)}function cg(f,G){z("TSRestType",f,G)}function ag(f,G){z("TSNamedTupleMember",f,G)}function ig(f,G){z("TSUnionType",f,G)}function rg(f,G){z("TSIntersectionType",f,G)}function pg(f,G){z("TSConditionalType",f,G)}function sg(f,G){z("TSInferType",f,G)}function dg(f,G){z("TSParenthesizedType",f,G)}function tg(f,G){z("TSTypeOperator",f,G)}function ng(f,G){z("TSIndexedAccessType",f,G)}function og(f,G){z("TSMappedType",f,G)}function eg(f,G){z("TSTemplateLiteralType",f,G)}function f_(f,G){z("TSLiteralType",f,G)}function G_(f,G){z("TSExpressionWithTypeArguments",f,G)}function X_(f,G){z("TSInterfaceDeclaration",f,G)}function J_(f,G){z("TSInterfaceBody",f,G)}function W_(f,G){z("TSTypeAliasDeclaration",f,G)}function R_(f,G){z("TSInstantiationExpression",f,G)}function V_(f,G){z("TSAsExpression",f,G)}function H_(f,G){z("TSSatisfiesExpression",f,G)}function U_(f,G){z("TSTypeAssertion",f,G)}function Q_(f,G){z("TSEnumBody",f,G)}function Z_(f,G){z("TSEnumDeclaration",f,G)}function Y_(f,G){z("TSEnumMember",f,G)}function z_(f,G){z("TSModuleDeclaration",f,G)}function B_(f,G){z("TSModuleBlock",f,G)}function M_(f,G){z("TSImportType",f,G)}function K_(f,G){z("TSImportEqualsDeclaration",f,G)}function F_(f,G){z("TSExternalModuleReference",f,G)}function S_(f,G){z("TSNonNullExpression",f,G)}function $_(f,G){z("TSExportAssignment",f,G)}function q_(f,G){z("TSNamespaceExportDeclaration",f,G)}function C_(f,G){z("TSTypeAnnotation",f,G)}function A_(f,G){z("TSTypeParameterInstantiation",f,G)}function j_(f,G){z("TSTypeParameterDeclaration",f,G)}function O_(f,G){z("TSTypeParameter",f,G)}function D_(f,G){z("Standardized",f,G)}function P_(f,G){z("Expression",f,G)}function I_(f,G){z("Binary",f,G)}function N_(f,G){z("Scopable",f,G)}function T_(f,G){z("BlockParent",f,G)}function L_(f,G){z("Block",f,G)}function b_(f,G){z("Statement",f,G)}function w_(f,G){z("Terminatorless",f,G)}function E_(f,G){z("CompletionStatement",f,G)}function k_(f,G){z("Conditional",f,G)}function v_(f,G){z("Loop",f,G)}function g_(f,G){z("While",f,G)}function __(f,G){z("ExpressionWrapper",f,G)}function u_(f,G){z("For",f,G)}function h_(f,G){z("ForXStatement",f,G)}function y_(f,G){z("Function",f,G)}function x_(f,G){z("FunctionParent",f,G)}function m_(f,G){z("Pureish",f,G)}function l_(f,G){z("Declaration",f,G)}function c_(f,G){z("PatternLike",f,G)}function a_(f,G){z("LVal",f,G)}function i_(f,G){z("TSEntityName",f,G)}function r_(f,G){z("Literal",f,G)}function p_(f,G){z("Immutable",f,G)}function s_(f,G){z("UserWhitespacable",f,G)}function d_(f,G){z("Method",f,G)}function t_(f,G){z("ObjectMember",f,G)}function n_(f,G){z("Property",f,G)}function o_(f,G){z("UnaryLike",f,G)}function e_(f,G){z("Pattern",f,G)}function fu(f,G){z("Class",f,G)}function Gu(f,G){z("ImportOrExportDeclaration",f,G)}function Xu(f,G){z("ExportDeclaration",f,G)}function Ju(f,G){z("ModuleSpecifier",f,G)}function Wu(f,G){z("Accessor",f,G)}function Ru(f,G){z("Private",f,G)}function Vu(f,G){z("Flow",f,G)}function Hu(f,G){z("FlowType",f,G)}function Uu(f,G){z("FlowBaseAnnotation",f,G)}function Qu(f,G){z("FlowDeclaration",f,G)}function Zu(f,G){z("FlowPredicate",f,G)}function Yu(f,G){z("EnumBody",f,G)}function zu(f,G){z("EnumMember",f,G)}function Bu(f,G){z("JSX",f,G)}function Mu(f,G){z("Miscellaneous",f,G)}function Ku(f,G){z("TypeScript",f,G)}function Fu(f,G){z("TSTypeElement",f,G)}function Su(f,G){z("TSType",f,G)}function $u(f,G){z("TSBaseType",f,G)}function qu(f,G){a1.default("assertNumberLiteral","assertNumericLiteral"),z("NumberLiteral",f,G)}function Cu(f,G){a1.default("assertRegexLiteral","assertRegExpLiteral"),z("RegexLiteral",f,G)}function Au(f,G){a1.default("assertRestProperty","assertRestElement"),z("RestProperty",f,G)}function ju(f,G){a1.default("assertSpreadProperty","assertSpreadElement"),z("SpreadProperty",f,G)}function Ou(f,G){a1.default("assertModuleDeclaration","assertImportOrExportDeclaration"),z("ModuleDeclaration",f,G)}});var lR=D((xR)=>{Object.defineProperty(xR,"__esModule",{value:!0});xR.default=void 0;var HG=rf(),WBf=xR.default=Vc;function Vc(f){switch(f){case"string":return HG.stringTypeAnnotation();case"number":return HG.numberTypeAnnotation();case"undefined":return HG.voidTypeAnnotation();case"boolean":return HG.booleanTypeAnnotation();case"function":return HG.genericTypeAnnotation(HG.identifier("Function"));case"object":return HG.genericTypeAnnotation(HG.identifier("Object"));case"symbol":return HG.genericTypeAnnotation(HG.identifier("Symbol"));case"bigint":return HG.anyTypeAnnotation()}throw new Error("Invalid typeof value: "+f)}});var $J=D((iR)=>{Object.defineProperty(iR,"__esModule",{value:!0});iR.default=aR;var i1=Nf();function cR(f){return i1.isIdentifier(f)?f.name:`${f.id.name}.${cR(f.qualification)}`}function aR(f){let G=Array.from(f),X=new Map,J=new Map,W=new Set,R=[];for(let V=0;V<G.length;V++){let H=G[V];if(!H)continue;if(R.includes(H))continue;if(i1.isAnyTypeAnnotation(H))return[H];if(i1.isFlowBaseAnnotation(H)){J.set(H.type,H);continue}if(i1.isUnionTypeAnnotation(H)){if(!W.has(H.types))G.push(...H.types),W.add(H.types);continue}if(i1.isGenericTypeAnnotation(H)){let U=cR(H.id);if(X.has(U)){let Q=X.get(U);if(Q.typeParameters){if(H.typeParameters)Q.typeParameters.params.push(...H.typeParameters.params),Q.typeParameters.params=aR(Q.typeParameters.params)}else Q=H.typeParameters}else X.set(U,H);continue}R.push(H)}for(let[,V]of J)R.push(V);for(let[,V]of X)R.push(V);return R}});var pR=D((rR)=>{Object.defineProperty(rR,"__esModule",{value:!0});rR.default=Zc;var Uc=rf(),Qc=$J();function Zc(f){let G=Qc.default(f);if(G.length===1)return G[0];else return Uc.unionTypeAnnotation(G)}});var nR=D((tR)=>{Object.defineProperty(tR,"__esModule",{value:!0});tR.default=dR;var F1=Nf();function sR(f){return F1.isIdentifier(f)?f.name:F1.isThisExpression(f)?"this":`${f.right.name}.${sR(f.left)}`}function dR(f){let G=Array.from(f),X=new Map,J=new Map,W=new Set,R=[];for(let V=0;V<G.length;V++){let H=G[V];if(!H)continue;if(R.includes(H))continue;if(F1.isTSAnyKeyword(H))return[H];if(F1.isTSBaseType(H)){J.set(H.type,H);continue}if(F1.isTSUnionType(H)){if(!W.has(H.types))G.push(...H.types),W.add(H.types);continue}let U="typeParameters";if(F1.isTSTypeReference(H)&&H[U]){let Q=H[U],Y=sR(H.typeName);if(X.has(Y)){let S=X.get(Y),C=S[U];if(C)C.params.push(...Q.params),C.params=dR(C.params);else S=Q}else X.set(Y,H);continue}R.push(H)}for(let[,V]of J)R.push(V);for(let[,V]of X)R.push(V);return R}});var eR=D((oR)=>{Object.defineProperty(oR,"__esModule",{value:!0});oR.default=Fc;var Bc=rf(),Mc=nR(),Kc=Nf();function Fc(f){let G=f.map((J)=>{return Kc.isTSTypeAnnotation(J)?J.typeAnnotation:J}),X=Mc.default(G);if(X.length===1)return X[0];else return Bc.tsUnionType(X)}});var qJ=D((GV)=>{Object.defineProperty(GV,"__esModule",{value:!0});GV.buildUndefinedNode=$c;var fV=rf();function $c(){return fV.unaryExpression("void",fV.numericLiteral(0),!0)}});var vG=D((VV)=>{Object.defineProperty(VV,"__esModule",{value:!0});VV.default=Cc;var XV=of(),JV=Nf(),{hasOwn:MG}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function WV(f,G,X,J){if(f&&typeof f.type==="string")return RV(f,G,X,J);return f}function CJ(f,G,X,J){if(Array.isArray(f))return f.map((W)=>WV(W,G,X,J));return WV(f,G,X,J)}function Cc(f,G=!0,X=!1){return RV(f,G,X,new Map)}function RV(f,G=!0,X=!1,J){if(!f)return f;let{type:W}=f,R={type:f.type};if(JV.isIdentifier(f)){if(R.name=f.name,MG(f,"optional")&&typeof f.optional==="boolean")R.optional=f.optional;if(MG(f,"typeAnnotation"))R.typeAnnotation=G?CJ(f.typeAnnotation,!0,X,J):f.typeAnnotation;if(MG(f,"decorators"))R.decorators=G?CJ(f.decorators,!0,X,J):f.decorators}else if(!MG(XV.NODE_FIELDS,W))throw new Error(`Unknown node type: "${W}"`);else for(let V of Object.keys(XV.NODE_FIELDS[W]))if(MG(f,V))if(G)R[V]=JV.isFile(f)&&V==="comments"?uX(f.comments,G,X,J):CJ(f[V],!0,X,J);else R[V]=f[V];if(MG(f,"loc"))if(X)R.loc=null;else R.loc=f.loc;if(MG(f,"leadingComments"))R.leadingComments=uX(f.leadingComments,G,X,J);if(MG(f,"innerComments"))R.innerComments=uX(f.innerComments,G,X,J);if(MG(f,"trailingComments"))R.trailingComments=uX(f.trailingComments,G,X,J);if(MG(f,"extra"))R.extra=Object.assign({},f.extra);return R}function uX(f,G,X,J){if(!f||!G)return f;return f.map((W)=>{let R=J.get(W);if(R)return R;let{type:V,value:H,loc:U}=W,Q={type:V,value:H,loc:U};if(X)Q.loc=null;return J.set(W,Q),Q})}});var UV=D((HV)=>{Object.defineProperty(HV,"__esModule",{value:!0});HV.default=Oc;var jc=vG();function Oc(f){return jc.default(f,!1)}});var ZV=D((QV)=>{Object.defineProperty(QV,"__esModule",{value:!0});QV.default=Ic;var Pc=vG();function Ic(f){return Pc.default(f)}});var zV=D((YV)=>{Object.defineProperty(YV,"__esModule",{value:!0});YV.default=Lc;var Tc=vG();function Lc(f){return Tc.default(f,!0,!0)}});var MV=D((BV)=>{Object.defineProperty(BV,"__esModule",{value:!0});BV.default=Ec;var wc=vG();function Ec(f){return wc.default(f,!1,!0)}});var AJ=D((KV)=>{Object.defineProperty(KV,"__esModule",{value:!0});KV.default=vc;function vc(f,G,X){if(!X||!f)return f;let J=`${G}Comments`;if(f[J])if(G==="leading")f[J]=X.concat(f[J]);else f[J].push(...X);else f[J]=X;return f}});var SV=D((FV)=>{Object.defineProperty(FV,"__esModule",{value:!0});FV.default=uc;var _c=AJ();function uc(f,G,X,J){return _c.default(f,G,[{type:J?"CommentLine":"CommentBlock",value:X}])}});var hX=D(($V)=>{Object.defineProperty($V,"__esModule",{value:!0});$V.default=yc;function yc(f,G,X){if(G&&X)G[f]=Array.from(new Set([].concat(G[f],X[f]).filter(Boolean)))}});var jJ=D((qV)=>{Object.defineProperty(qV,"__esModule",{value:!0});qV.default=lc;var mc=hX();function lc(f,G){mc.default("innerComments",f,G)}});var OJ=D((CV)=>{Object.defineProperty(CV,"__esModule",{value:!0});CV.default=ic;var ac=hX();function ic(f,G){ac.default("leadingComments",f,G)}});var DJ=D((AV)=>{Object.defineProperty(AV,"__esModule",{value:!0});AV.default=sc;var pc=hX();function sc(f,G){pc.default("trailingComments",f,G)}});var PJ=D((jV)=>{Object.defineProperty(jV,"__esModule",{value:!0});jV.default=ec;var tc=DJ(),nc=OJ(),oc=jJ();function ec(f,G){return tc.default(f,G),nc.default(f,G),oc.default(f,G),f}});var DV=D((OV)=>{Object.defineProperty(OV,"__esModule",{value:!0});OV.default=Xa;var Ga=EG();function Xa(f){return Ga.COMMENT_KEYS.forEach((G)=>{f[G]=null}),f}});var NV=D((PV)=>{Object.defineProperty(PV,"__esModule",{value:!0});PV.WHILE_TYPES=PV.USERWHITESPACABLE_TYPES=PV.UNARYLIKE_TYPES=PV.TYPESCRIPT_TYPES=PV.TSTYPE_TYPES=PV.TSTYPEELEMENT_TYPES=PV.TSENTITYNAME_TYPES=PV.TSBASETYPE_TYPES=PV.TERMINATORLESS_TYPES=PV.STATEMENT_TYPES=PV.STANDARDIZED_TYPES=PV.SCOPABLE_TYPES=PV.PUREISH_TYPES=PV.PROPERTY_TYPES=PV.PRIVATE_TYPES=PV.PATTERN_TYPES=PV.PATTERNLIKE_TYPES=PV.OBJECTMEMBER_TYPES=PV.MODULESPECIFIER_TYPES=PV.MODULEDECLARATION_TYPES=PV.MISCELLANEOUS_TYPES=PV.METHOD_TYPES=PV.LVAL_TYPES=PV.LOOP_TYPES=PV.LITERAL_TYPES=PV.JSX_TYPES=PV.IMPORTOREXPORTDECLARATION_TYPES=PV.IMMUTABLE_TYPES=PV.FUNCTION_TYPES=PV.FUNCTIONPARENT_TYPES=PV.FOR_TYPES=PV.FORXSTATEMENT_TYPES=PV.FLOW_TYPES=PV.FLOWTYPE_TYPES=PV.FLOWPREDICATE_TYPES=PV.FLOWDECLARATION_TYPES=PV.FLOWBASEANNOTATION_TYPES=PV.EXPRESSION_TYPES=PV.EXPRESSIONWRAPPER_TYPES=PV.EXPORTDECLARATION_TYPES=PV.ENUMMEMBER_TYPES=PV.ENUMBODY_TYPES=PV.DECLARATION_TYPES=PV.CONDITIONAL_TYPES=PV.COMPLETIONSTATEMENT_TYPES=PV.CLASS_TYPES=PV.BLOCK_TYPES=PV.BLOCKPARENT_TYPES=PV.BINARY_TYPES=PV.ACCESSOR_TYPES=void 0;var Gf=of(),DBf=PV.STANDARDIZED_TYPES=Gf.FLIPPED_ALIAS_KEYS.Standardized,PBf=PV.EXPRESSION_TYPES=Gf.FLIPPED_ALIAS_KEYS.Expression,IBf=PV.BINARY_TYPES=Gf.FLIPPED_ALIAS_KEYS.Binary,NBf=PV.SCOPABLE_TYPES=Gf.FLIPPED_ALIAS_KEYS.Scopable,TBf=PV.BLOCKPARENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.BlockParent,LBf=PV.BLOCK_TYPES=Gf.FLIPPED_ALIAS_KEYS.Block,bBf=PV.STATEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.Statement,wBf=PV.TERMINATORLESS_TYPES=Gf.FLIPPED_ALIAS_KEYS.Terminatorless,EBf=PV.COMPLETIONSTATEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.CompletionStatement,kBf=PV.CONDITIONAL_TYPES=Gf.FLIPPED_ALIAS_KEYS.Conditional,vBf=PV.LOOP_TYPES=Gf.FLIPPED_ALIAS_KEYS.Loop,gBf=PV.WHILE_TYPES=Gf.FLIPPED_ALIAS_KEYS.While,_Bf=PV.EXPRESSIONWRAPPER_TYPES=Gf.FLIPPED_ALIAS_KEYS.ExpressionWrapper,uBf=PV.FOR_TYPES=Gf.FLIPPED_ALIAS_KEYS.For,hBf=PV.FORXSTATEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.ForXStatement,yBf=PV.FUNCTION_TYPES=Gf.FLIPPED_ALIAS_KEYS.Function,xBf=PV.FUNCTIONPARENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.FunctionParent,mBf=PV.PUREISH_TYPES=Gf.FLIPPED_ALIAS_KEYS.Pureish,lBf=PV.DECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.Declaration,cBf=PV.PATTERNLIKE_TYPES=Gf.FLIPPED_ALIAS_KEYS.PatternLike,aBf=PV.LVAL_TYPES=Gf.FLIPPED_ALIAS_KEYS.LVal,iBf=PV.TSENTITYNAME_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSEntityName,rBf=PV.LITERAL_TYPES=Gf.FLIPPED_ALIAS_KEYS.Literal,pBf=PV.IMMUTABLE_TYPES=Gf.FLIPPED_ALIAS_KEYS.Immutable,sBf=PV.USERWHITESPACABLE_TYPES=Gf.FLIPPED_ALIAS_KEYS.UserWhitespacable,dBf=PV.METHOD_TYPES=Gf.FLIPPED_ALIAS_KEYS.Method,tBf=PV.OBJECTMEMBER_TYPES=Gf.FLIPPED_ALIAS_KEYS.ObjectMember,nBf=PV.PROPERTY_TYPES=Gf.FLIPPED_ALIAS_KEYS.Property,oBf=PV.UNARYLIKE_TYPES=Gf.FLIPPED_ALIAS_KEYS.UnaryLike,eBf=PV.PATTERN_TYPES=Gf.FLIPPED_ALIAS_KEYS.Pattern,fMf=PV.CLASS_TYPES=Gf.FLIPPED_ALIAS_KEYS.Class,Wa=PV.IMPORTOREXPORTDECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,GMf=PV.EXPORTDECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.ExportDeclaration,XMf=PV.MODULESPECIFIER_TYPES=Gf.FLIPPED_ALIAS_KEYS.ModuleSpecifier,JMf=PV.ACCESSOR_TYPES=Gf.FLIPPED_ALIAS_KEYS.Accessor,WMf=PV.PRIVATE_TYPES=Gf.FLIPPED_ALIAS_KEYS.Private,RMf=PV.FLOW_TYPES=Gf.FLIPPED_ALIAS_KEYS.Flow,VMf=PV.FLOWTYPE_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowType,HMf=PV.FLOWBASEANNOTATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,UMf=PV.FLOWDECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowDeclaration,QMf=PV.FLOWPREDICATE_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowPredicate,ZMf=PV.ENUMBODY_TYPES=Gf.FLIPPED_ALIAS_KEYS.EnumBody,YMf=PV.ENUMMEMBER_TYPES=Gf.FLIPPED_ALIAS_KEYS.EnumMember,zMf=PV.JSX_TYPES=Gf.FLIPPED_ALIAS_KEYS.JSX,BMf=PV.MISCELLANEOUS_TYPES=Gf.FLIPPED_ALIAS_KEYS.Miscellaneous,MMf=PV.TYPESCRIPT_TYPES=Gf.FLIPPED_ALIAS_KEYS.TypeScript,KMf=PV.TSTYPEELEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSTypeElement,FMf=PV.TSTYPE_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSType,SMf=PV.TSBASETYPE_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSBaseType,$Mf=PV.MODULEDECLARATION_TYPES=Wa});var NJ=D((TV)=>{Object.defineProperty(TV,"__esModule",{value:!0});TV.default=fi;var yX=Nf(),IJ=rf();function fi(f,G){if(yX.isBlockStatement(f))return f;let X=[];if(yX.isEmptyStatement(f))X=[];else{if(!yX.isStatement(f))if(yX.isFunction(G))f=IJ.returnStatement(f);else f=IJ.expressionStatement(f);X=[f]}return IJ.blockStatement(X)}});var bV=D((LV)=>{Object.defineProperty(LV,"__esModule",{value:!0});LV.default=Ji;var Xi=NJ();function Ji(f,G="body"){let X=Xi.default(f[G],f);return f[G]=X,X}});var TJ=D((wV)=>{Object.defineProperty(wV,"__esModule",{value:!0});wV.default=Hi;var Ri=B1(),Vi=x1();function Hi(f){f=f+"";let G="";for(let X of f)G+=Vi.isIdentifierChar(X.codePointAt(0))?X:"-";if(G=G.replace(/^[-0-9]+/,""),G=G.replace(/[-\s]+(.)?/g,function(X,J){return J?J.toUpperCase():""}),!Ri.default(G))G=`_${G}`;return G||"_"}});var kV=D((EV)=>{Object.defineProperty(EV,"__esModule",{value:!0});EV.default=Zi;var Qi=TJ();function Zi(f){if(f=Qi.default(f),f==="eval"||f==="arguments")f="_"+f;return f}});var gV=D((vV)=>{Object.defineProperty(vV,"__esModule",{value:!0});vV.default=Mi;var zi=Nf(),Bi=rf();function Mi(f,G=f.key||f.property){if(!f.computed&&zi.isIdentifier(G))G=Bi.stringLiteral(G.name);return G}});var hV=D((_V)=>{Object.defineProperty(_V,"__esModule",{value:!0});_V.default=void 0;var r1=Nf(),PMf=_V.default=Fi;function Fi(f){if(r1.isExpressionStatement(f))f=f.expression;if(r1.isExpression(f))return f;if(r1.isClass(f))f.type="ClassExpression";else if(r1.isFunction(f))f.type="FunctionExpression";if(!r1.isExpression(f))throw new Error(`cannot turn ${f.type} to an expression`);return f}});var bJ=D((yV)=>{Object.defineProperty(yV,"__esModule",{value:!0});yV.default=LJ;var Si=of();function LJ(f,G,X){if(!f)return;let J=Si.VISITOR_KEYS[f.type];if(!J)return;X=X||{},G(f,X);for(let W of J){let R=f[W];if(Array.isArray(R))for(let V of R)LJ(V,G,X);else LJ(R,G,X)}}});var wJ=D((mV)=>{Object.defineProperty(mV,"__esModule",{value:!0});mV.default=Ai;var qi=EG(),xV=["tokens","start","end","loc","raw","rawValue"],Ci=[...qi.COMMENT_KEYS,"comments",...xV];function Ai(f,G={}){let X=G.preserveComments?xV:Ci;for(let W of X)if(f[W]!=null)f[W]=void 0;for(let W of Object.keys(f))if(W[0]==="_"&&f[W]!=null)f[W]=void 0;let J=Object.getOwnPropertySymbols(f);for(let W of J)f[W]=null}});var EJ=D((lV)=>{Object.defineProperty(lV,"__esModule",{value:!0});lV.default=Pi;var Oi=bJ(),Di=wJ();function Pi(f,G){return Oi.default(f,Di.default,G),f}});var iV=D((aV)=>{Object.defineProperty(aV,"__esModule",{value:!0});aV.default=pG;var cV=Nf(),Ni=vG(),Ti=EJ();function pG(f,G=f.key){let X;if(f.kind==="method")return pG.increment()+"";else if(cV.isIdentifier(G))X=G.name;else if(cV.isStringLiteral(G))X=JSON.stringify(G.value);else X=JSON.stringify(Ti.default(Ni.default(G)));if(f.computed)X=`[${X}]`;if(f.static)X=`static:${X}`;return X}pG.uid=0;pG.increment=function(){if(pG.uid>=Number.MAX_SAFE_INTEGER)return pG.uid=0;else return pG.uid++}});var sV=D((rV)=>{Object.defineProperty(rV,"__esModule",{value:!0});rV.default=void 0;var xX=Nf(),bi=rf(),wMf=rV.default=wi;function wi(f,G){if(xX.isStatement(f))return f;let X=!1,J;if(xX.isClass(f))X=!0,J="ClassDeclaration";else if(xX.isFunction(f))X=!0,J="FunctionDeclaration";else if(xX.isAssignmentExpression(f))return bi.expressionStatement(f);if(X&&!f.id)J=!1;if(!J)if(G)return!1;else throw new Error(`cannot turn ${f.type} to a statement`);return f.type=J,f}});var nV=D((dV)=>{Object.defineProperty(dV,"__esModule",{value:!0});dV.default=void 0;var Ei=B1(),gf=rf(),kMf=dV.default=kJ,ki=Function.call.bind(Object.prototype.toString);function vi(f){return ki(f)==="[object RegExp]"}function gi(f){if(typeof f!=="object"||f===null||Object.prototype.toString.call(f)!=="[object Object]")return!1;let G=Object.getPrototypeOf(f);return G===null||Object.getPrototypeOf(G)===null}function kJ(f){if(f===void 0)return gf.identifier("undefined");if(f===!0||f===!1)return gf.booleanLiteral(f);if(f===null)return gf.nullLiteral();if(typeof f==="string")return gf.stringLiteral(f);if(typeof f==="number"){let G;if(Number.isFinite(f))G=gf.numericLiteral(Math.abs(f));else{let X;if(Number.isNaN(f))X=gf.numericLiteral(0);else X=gf.numericLiteral(1);G=gf.binaryExpression("/",X,gf.numericLiteral(0))}if(f<0||Object.is(f,-0))G=gf.unaryExpression("-",G);return G}if(vi(f)){let G=f.source,X=/\/([a-z]*)$/.exec(f.toString())[1];return gf.regExpLiteral(G,X)}if(Array.isArray(f))return gf.arrayExpression(f.map(kJ));if(gi(f)){let G=[];for(let X of Object.keys(f)){let J;if(Ei.default(X))J=gf.identifier(X);else J=gf.stringLiteral(X);G.push(gf.objectProperty(J,kJ(f[X])))}return gf.objectExpression(G)}throw new Error("don't know how to turn this value into a node")}});var eV=D((oV)=>{Object.defineProperty(oV,"__esModule",{value:!0});oV.default=ui;var _i=rf();function ui(f,G,X=!1){return f.object=_i.memberExpression(f.object,f.property,f.computed),f.property=G,f.computed=!!X,f}});var XH=D((GH)=>{Object.defineProperty(GH,"__esModule",{value:!0});GH.default=xi;var fH=EG(),yi=PJ();function xi(f,G){if(!f||!G)return f;for(let X of fH.INHERIT_KEYS.optional)if(f[X]==null)f[X]=G[X];for(let X of Object.keys(G))if(X[0]==="_"&&X!=="__clone")f[X]=G[X];for(let X of fH.INHERIT_KEYS.force)f[X]=G[X];return yi.default(f,G),f}});var WH=D((JH)=>{Object.defineProperty(JH,"__esModule",{value:!0});JH.default=ai;var li=rf(),ci=Hf();function ai(f,G){if(ci.isSuper(f.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return f.object=li.memberExpression(G,f.object),f}});var VH=D((RH)=>{Object.defineProperty(RH,"__esModule",{value:!0});RH.default=ri;function ri(f){let G=[].concat(f),X=Object.create(null);while(G.length){let J=G.pop();if(!J)continue;switch(J.type){case"ArrayPattern":G.push(...J.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":G.push(J.left);break;case"ObjectPattern":G.push(...J.properties);break;case"ObjectProperty":G.push(J.value);break;case"RestElement":case"UpdateExpression":G.push(J.argument);break;case"UnaryExpression":if(J.operator==="delete")G.push(J.argument);break;case"Identifier":X[J.name]=J;break;default:break}}return X}});var p1=D((HH)=>{Object.defineProperty(HH,"__esModule",{value:!0});HH.default=vJ;var CG=Nf();function vJ(f,G,X,J){let W=[].concat(f),R=Object.create(null);while(W.length){let V=W.shift();if(!V)continue;if(J&&(CG.isAssignmentExpression(V)||CG.isUnaryExpression(V)||CG.isUpdateExpression(V)))continue;if(CG.isIdentifier(V)){if(G)(R[V.name]=R[V.name]||[]).push(V);else R[V.name]=V;continue}if(CG.isExportDeclaration(V)&&!CG.isExportAllDeclaration(V)){if(CG.isDeclaration(V.declaration))W.push(V.declaration);continue}if(X){if(CG.isFunctionDeclaration(V)){W.push(V.id);continue}if(CG.isFunctionExpression(V))continue}let H=vJ.keys[V.type];if(H)for(let U=0;U<H.length;U++){let Q=H[U],Y=V[Q];if(Y)if(Array.isArray(Y))W.push(...Y);else W.push(Y)}}return R}var si={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"],TSImportEqualsDeclaration:["id"],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"]};vJ.keys=si});var ZH=D((UH)=>{Object.defineProperty(UH,"__esModule",{value:!0});UH.default=void 0;var ti=p1(),xMf=UH.default=ni;function ni(f,G){return ti.default(f,G,!0)}});var BH=D((zH)=>{Object.defineProperty(zH,"__esModule",{value:!0});zH.default=ei;var fG=Nf();function oi(f){if(fG.isNullLiteral(f))return"null";if(fG.isRegExpLiteral(f))return`/${f.pattern}/${f.flags}`;if(fG.isTemplateLiteral(f))return f.quasis.map((G)=>G.value.raw).join("");if(f.value!==void 0)return String(f.value);return null}function YH(f){if(!f.computed||fG.isLiteral(f.key))return f.key}function ei(f,G){if("id"in f&&f.id)return{name:f.id.name,originalNode:f.id};let X="",J;if(fG.isObjectProperty(G,{value:f}))J=YH(G);else if(fG.isObjectMethod(f)||fG.isClassMethod(f)){if(J=YH(f),f.kind==="get")X="get ";else if(f.kind==="set")X="set "}else if(fG.isVariableDeclarator(G,{init:f}))J=G.id;else if(fG.isAssignmentExpression(G,{operator:"=",right:f}))J=G.left;if(!J)return null;let W=fG.isLiteral(J)?oi(J):fG.isIdentifier(J)?J.name:fG.isPrivateName(J)?J.id.name:null;if(W==null)return null;return{name:X+W,originalNode:J}}});var KH=D((MH)=>{Object.defineProperty(MH,"__esModule",{value:!0});MH.default=Xr;var Gr=of();function Xr(f,G,X){if(typeof G==="function")G={enter:G};let{enter:J,exit:W}=G;gJ(f,J,W,X,[])}function gJ(f,G,X,J,W){let R=Gr.VISITOR_KEYS[f.type];if(!R)return;if(G)G(f,W,J);for(let V of R){let H=f[V];if(Array.isArray(H))for(let U=0;U<H.length;U++){let Q=H[U];if(!Q)continue;W.push({node:f,key:V,index:U}),gJ(Q,G,X,J,W),W.pop()}else if(H)W.push({node:f,key:V}),gJ(H,G,X,J,W),W.pop()}if(X)X(f,W,J)}});var SH=D((FH)=>{Object.defineProperty(FH,"__esModule",{value:!0});FH.default=Rr;var Wr=p1();function Rr(f,G,X){if(X&&f.type==="Identifier"&&G.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;let J=Wr.default.keys[G.type];if(J)for(let W=0;W<J.length;W++){let R=J[W],V=G[R];if(Array.isArray(V)){if(V.includes(f))return!0}else if(V===f)return!0}return!1}});var _J=D(($H)=>{Object.defineProperty($H,"__esModule",{value:!0});$H.default=Qr;var Hr=Nf(),Ur=EG();function Qr(f){return Hr.isVariableDeclaration(f)&&(f.kind!=="var"||f[Ur.BLOCK_SCOPED_SYMBOL])}});var AH=D((CH)=>{Object.defineProperty(CH,"__esModule",{value:!0});CH.default=zr;var qH=Nf(),Yr=_J();function zr(f){return qH.isFunctionDeclaration(f)||qH.isClassDeclaration(f)||Yr.default(f)}});var OH=D((jH)=>{Object.defineProperty(jH,"__esModule",{value:!0});jH.default=Fr;var Mr=NX(),Kr=Nf();function Fr(f){if(Mr.default(f.type,"Immutable"))return!0;if(Kr.isIdentifier(f))if(f.name==="undefined")return!0;else return!1;return!1}});var IH=D((PH)=>{Object.defineProperty(PH,"__esModule",{value:!0});PH.default=uJ;var DH=of();function uJ(f,G){if(typeof f!=="object"||typeof G!=="object"||f==null||G==null)return f===G;if(f.type!==G.type)return!1;let X=Object.keys(DH.NODE_FIELDS[f.type]||f.type),J=DH.VISITOR_KEYS[f.type];for(let W of X){let R=f[W],V=G[W];if(typeof R!==typeof V)return!1;if(R==null&&V==null)continue;else if(R==null||V==null)return!1;if(Array.isArray(R)){if(!Array.isArray(V))return!1;if(R.length!==V.length)return!1;for(let H=0;H<R.length;H++)if(!uJ(R[H],V[H]))return!1;continue}if(typeof R==="object"&&!(J!=null&&J.includes(W))){for(let H of Object.keys(R))if(R[H]!==V[H])return!1;continue}if(!uJ(R,V))return!1}return!0}});var TH=D((NH)=>{Object.defineProperty(NH,"__esModule",{value:!0});NH.default=qr;function qr(f,G,X){switch(G.type){case"MemberExpression":case"OptionalMemberExpression":if(G.property===f)return!!G.computed;return G.object===f;case"JSXMemberExpression":return G.object===f;case"VariableDeclarator":return G.init===f;case"ArrowFunctionExpression":return G.body===f;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(G.key===f)return!!G.computed;return!1;case"ObjectProperty":if(G.key===f)return!!G.computed;return!X||X.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(G.key===f)return!!G.computed;return!0;case"ClassPrivateProperty":return G.key!==f;case"ClassDeclaration":case"ClassExpression":return G.superClass===f;case"AssignmentExpression":return G.right===f;case"AssignmentPattern":return G.right===f;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":if(X!=null&&X.source)return!1;return G.local===f;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 G.key!==f;case"TSEnumMember":return G.id!==f;case"TSPropertySignature":if(G.key===f)return!!G.computed;return!0}return!0}});var bH=D((LH)=>{Object.defineProperty(LH,"__esModule",{value:!0});LH.default=Ar;var sG=Nf();function Ar(f,G){if(sG.isBlockStatement(f)&&(sG.isFunction(G)||sG.isCatchClause(G)))return!1;if(sG.isPattern(f)&&(sG.isFunction(G)||sG.isCatchClause(G)))return!0;return sG.isScopable(f)}});var kH=D((EH)=>{Object.defineProperty(EH,"__esModule",{value:!0});EH.default=Or;var wH=Nf();function Or(f){return wH.isImportDefaultSpecifier(f)||wH.isIdentifier(f.imported||f.exported,{name:"default"})}});var gH=D((vH)=>{Object.defineProperty(vH,"__esModule",{value:!0});vH.default=Nr;var Pr=B1(),Ir=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 Nr(f){return Pr.default(f)&&!Ir.has(f)}});var uH=D((_H)=>{Object.defineProperty(_H,"__esModule",{value:!0});_H.default=wr;var Lr=Nf(),br=EG();function wr(f){return Lr.isVariableDeclaration(f,{kind:"var"})&&!f[br.BLOCK_SCOPED_SYMBOL]}});var yH=D((hH)=>{Object.defineProperty(hH,"__esModule",{value:!0});hH.default=mX;var kr=p1(),dG=Nf(),hJ=rf(),yJ=qJ(),vr=vG();function mX(f,G){let X=[],J=!0;for(let W of f){if(!dG.isEmptyStatement(W))J=!1;if(dG.isExpression(W))X.push(W);else if(dG.isExpressionStatement(W))X.push(W.expression);else if(dG.isVariableDeclaration(W)){if(W.kind!=="var")return;for(let R of W.declarations){let V=kr.default(R);for(let H of Object.keys(V))G.push({kind:W.kind,id:vr.default(V[H])});if(R.init)X.push(hJ.assignmentExpression("=",R.id,R.init))}J=!0}else if(dG.isIfStatement(W)){let R=W.consequent?mX([W.consequent],G):yJ.buildUndefinedNode(),V=W.alternate?mX([W.alternate],G):yJ.buildUndefinedNode();if(!R||!V)return;X.push(hJ.conditionalExpression(W.test,R,V))}else if(dG.isBlockStatement(W)){let R=mX(W.body,G);if(!R)return;X.push(R)}else if(dG.isEmptyStatement(W)){if(f.indexOf(W)===0)J=!0}else return}if(J)X.push(yJ.buildUndefinedNode());if(X.length===1)return X[0];else return hJ.sequenceExpression(X)}});var mH=D((xH)=>{Object.defineProperty(xH,"__esModule",{value:!0});xH.default=ur;var _r=yH();function ur(f,G){if(!(f!=null&&f.length))return;let X=[],J=_r.default(f,X);if(!J)return;for(let W of X)G.push(W);return J}});var Hf=D((_)=>{Object.defineProperty(_,"__esModule",{value:!0});var gG={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,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!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(_,"__internal__deprecationWarning",{enumerable:!0,get:function(){return lp.default}});Object.defineProperty(_,"addComment",{enumerable:!0,get:function(){return tr.default}});Object.defineProperty(_,"addComments",{enumerable:!0,get:function(){return nr.default}});Object.defineProperty(_,"appendToMemberExpression",{enumerable:!0,get:function(){return zp.default}});Object.defineProperty(_,"assertNode",{enumerable:!0,get:function(){return lr.default}});Object.defineProperty(_,"buildMatchMemberExpression",{enumerable:!0,get:function(){return mp.default}});Object.defineProperty(_,"clone",{enumerable:!0,get:function(){return rr.default}});Object.defineProperty(_,"cloneDeep",{enumerable:!0,get:function(){return pr.default}});Object.defineProperty(_,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return sr.default}});Object.defineProperty(_,"cloneNode",{enumerable:!0,get:function(){return ir.default}});Object.defineProperty(_,"cloneWithoutLoc",{enumerable:!0,get:function(){return dr.default}});Object.defineProperty(_,"createFlowUnionType",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(_,"createTSUnionType",{enumerable:!0,get:function(){return ar.default}});Object.defineProperty(_,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return cr.default}});Object.defineProperty(_,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(_,"ensureBlock",{enumerable:!0,get:function(){return Jp.default}});Object.defineProperty(_,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return $p.default}});Object.defineProperty(_,"getBindingIdentifiers",{enumerable:!0,get:function(){return qp.default}});Object.defineProperty(_,"getFunctionName",{enumerable:!0,get:function(){return Ap.default}});Object.defineProperty(_,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return Cp.default}});Object.defineProperty(_,"inheritInnerComments",{enumerable:!0,get:function(){return or.default}});Object.defineProperty(_,"inheritLeadingComments",{enumerable:!0,get:function(){return er.default}});Object.defineProperty(_,"inheritTrailingComments",{enumerable:!0,get:function(){return Gp.default}});Object.defineProperty(_,"inherits",{enumerable:!0,get:function(){return Bp.default}});Object.defineProperty(_,"inheritsComments",{enumerable:!0,get:function(){return fp.default}});Object.defineProperty(_,"is",{enumerable:!0,get:function(){return Dp.default}});Object.defineProperty(_,"isBinding",{enumerable:!0,get:function(){return Pp.default}});Object.defineProperty(_,"isBlockScoped",{enumerable:!0,get:function(){return Ip.default}});Object.defineProperty(_,"isImmutable",{enumerable:!0,get:function(){return Np.default}});Object.defineProperty(_,"isLet",{enumerable:!0,get:function(){return Tp.default}});Object.defineProperty(_,"isNode",{enumerable:!0,get:function(){return Lp.default}});Object.defineProperty(_,"isNodesEquivalent",{enumerable:!0,get:function(){return bp.default}});Object.defineProperty(_,"isPlaceholderType",{enumerable:!0,get:function(){return wp.default}});Object.defineProperty(_,"isReferenced",{enumerable:!0,get:function(){return Ep.default}});Object.defineProperty(_,"isScope",{enumerable:!0,get:function(){return kp.default}});Object.defineProperty(_,"isSpecifierDefault",{enumerable:!0,get:function(){return vp.default}});Object.defineProperty(_,"isType",{enumerable:!0,get:function(){return gp.default}});Object.defineProperty(_,"isValidES3Identifier",{enumerable:!0,get:function(){return _p.default}});Object.defineProperty(_,"isValidIdentifier",{enumerable:!0,get:function(){return up.default}});Object.defineProperty(_,"isVar",{enumerable:!0,get:function(){return hp.default}});Object.defineProperty(_,"matchesPattern",{enumerable:!0,get:function(){return yp.default}});Object.defineProperty(_,"prependToMemberExpression",{enumerable:!0,get:function(){return Mp.default}});_.react=void 0;Object.defineProperty(_,"removeComments",{enumerable:!0,get:function(){return Xp.default}});Object.defineProperty(_,"removeProperties",{enumerable:!0,get:function(){return Kp.default}});Object.defineProperty(_,"removePropertiesDeep",{enumerable:!0,get:function(){return Fp.default}});Object.defineProperty(_,"removeTypeDuplicates",{enumerable:!0,get:function(){return Sp.default}});Object.defineProperty(_,"shallowEqual",{enumerable:!0,get:function(){return Op.default}});Object.defineProperty(_,"toBindingIdentifierName",{enumerable:!0,get:function(){return Wp.default}});Object.defineProperty(_,"toBlock",{enumerable:!0,get:function(){return Rp.default}});Object.defineProperty(_,"toComputedKey",{enumerable:!0,get:function(){return Vp.default}});Object.defineProperty(_,"toExpression",{enumerable:!0,get:function(){return Hp.default}});Object.defineProperty(_,"toIdentifier",{enumerable:!0,get:function(){return Up.default}});Object.defineProperty(_,"toKeyAlias",{enumerable:!0,get:function(){return Qp.default}});Object.defineProperty(_,"toStatement",{enumerable:!0,get:function(){return Zp.default}});Object.defineProperty(_,"traverse",{enumerable:!0,get:function(){return lX.default}});Object.defineProperty(_,"traverseFast",{enumerable:!0,get:function(){return jp.default}});Object.defineProperty(_,"validate",{enumerable:!0,get:function(){return xp.default}});Object.defineProperty(_,"valueToNode",{enumerable:!0,get:function(){return Yp.default}});var yr=$0(),xr=C0(),mr=vR(),lr=uR(),xJ=yR();Object.keys(xJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===xJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return xJ[f]}})});var cr=lR(),lH=pR(),ar=eR(),mJ=qJ();Object.keys(mJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===mJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return mJ[f]}})});var lJ=rf();Object.keys(lJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===lJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return lJ[f]}})});var ir=vG(),rr=UV(),pr=ZV(),sr=zV(),dr=MV(),tr=SV(),nr=AJ(),or=jJ(),er=OJ(),fp=PJ(),Gp=DJ(),Xp=DV(),cJ=NV();Object.keys(cJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===cJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return cJ[f]}})});var aJ=EG();Object.keys(aJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===aJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return aJ[f]}})});var Jp=bV(),Wp=kV(),Rp=NJ(),Vp=gV(),Hp=hV(),Up=TJ(),Qp=iV(),Zp=sV(),Yp=nV(),iJ=of();Object.keys(iJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===iJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return iJ[f]}})});var zp=eV(),Bp=XH(),Mp=WH(),Kp=wJ(),Fp=EJ(),Sp=$J(),$p=VH(),qp=p1(),Cp=ZH(),Ap=BH(),lX=KH();Object.keys(lX).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===lX[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return lX[f]}})});var jp=bJ(),Op=IX(),Dp=z1(),Pp=SH(),Ip=AH(),Np=OH(),Tp=_J(),Lp=SJ(),bp=IH(),wp=p2(),Ep=TH(),kp=bH(),vp=kH(),gp=NX(),_p=gH(),up=B1(),hp=uH(),yp=i2(),xp=EX(),mp=r2(),rJ=Nf();Object.keys(rJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===rJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return rJ[f]}})});var lp=_1(),cp=mH(),XKf=_.react={isReactComponent:yr.default,isCompatTag:xr.default,buildChildren:mr.default};_.toSequenceExpression=cp.default;if(process.env.BABEL_TYPES_8_BREAKING)console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var tH=D((sH)=>{Object.defineProperty(sH,"__esModule",{value:!0});sH.nodes=void 0;var ap=Hf(),{FLIPPED_ALIAS_KEYS:ip,isArrayExpression:rp,isAssignmentExpression:iH,isBinary:rH,isBlockStatement:pp,isCallExpression:pH,isFunction:s1,isIdentifier:cX,isLiteral:sp,isMemberExpression:pJ,isObjectExpression:dp,isOptionalCallExpression:tp,isOptionalMemberExpression:np,isStringLiteral:op}=ap;function S1(f,G){if(!f)return G;if(pJ(f)||np(f)){if(S1(f.object,G),f.computed)S1(f.property,G)}else if(rH(f)||iH(f))S1(f.left,G),S1(f.right,G);else if(pH(f)||tp(f))G.hasCall=!0,S1(f.callee,G);else if(s1(f))G.hasFunction=!0;else if(cX(f))G.hasHelper=G.hasHelper||f.callee&&AG(f.callee);return G}function aH(f){return S1(f,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function AG(f){if(!f)return!1;if(pJ(f))return AG(f.object)||AG(f.property);else if(cX(f))return f.name==="require"||f.name.charCodeAt(0)===95;else if(pH(f))return AG(f.callee);else if(rH(f)||iH(f))return cX(f.left)&&AG(f.left)||AG(f.right);else return!1}function ep(f){return sp(f)||dp(f)||rp(f)||cX(f)||pJ(f)}var tG=sH.nodes={AssignmentExpression(f){let G=aH(f.right);if(G.hasCall&&G.hasHelper||G.hasFunction)return G.hasFunction?3:2},SwitchCase(f,G){return(!!f.consequent.length||G.cases[0]===f?1:0)|(!f.consequent.length&&G.cases[G.cases.length-1]===f?2:0)},LogicalExpression(f){if(s1(f.left)||s1(f.right))return 2},Literal(f){if(op(f)&&f.value==="use strict")return 2},CallExpression(f){if(s1(f.callee)||AG(f))return 3},OptionalCallExpression(f){if(s1(f.callee))return 3},VariableDeclaration(f){for(let G=0;G<f.declarations.length;G++){let X=f.declarations[G],J=AG(X.id)&&!ep(X.init);if(!J&&X.init){let W=aH(X.init);J=AG(X.init)&&W.hasCall||W.hasFunction}if(J)return 3}},IfStatement(f){if(pp(f.consequent))return 3}};tG.ObjectProperty=tG.ObjectTypeProperty=tG.ObjectMethod=function(f,G){if(G.properties[0]===f)return 1};tG.ObjectTypeCallProperty=function(f,G){var X;if(G.callProperties[0]===f&&!((X=G.properties)!=null&&X.length))return 1};tG.ObjectTypeIndexer=function(f,G){var X,J;if(G.indexers[0]===f&&!((X=G.properties)!=null&&X.length)&&!((J=G.callProperties)!=null&&J.length))return 1};tG.ObjectTypeInternalSlot=function(f,G){var X,J,W;if(G.internalSlots[0]===f&&!((X=G.properties)!=null&&X.length)&&!((J=G.callProperties)!=null&&J.length)&&!((W=G.indexers)!=null&&W.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([f,G]){[f].concat(ip[f]||[]).forEach(function(X){let J=G?3:0;tG[X]=()=>J})})});var R9=D((W9)=>{Object.defineProperty(W9,"__esModule",{value:!0});W9.AssignmentExpression=ws;W9.Binary=G9;W9.BinaryExpression=Ps;W9.ClassExpression=Ts;W9.ArrowFunctionExpression=W9.ConditionalExpression=J9;W9.DoExpression=Ms;W9.FunctionExpression=Ls;W9.FunctionTypeAnnotation=Ys;W9.Identifier=ks;W9.LogicalExpression=Es;W9.NullableTypeAnnotation=Zs;W9.ObjectExpression=Bs;W9.OptionalIndexedAccessType=Fs;W9.OptionalCallExpression=W9.OptionalMemberExpression=bs;W9.SequenceExpression=Is;W9.TSSatisfiesExpression=W9.TSAsExpression=Ss;W9.TSConditionalType=$s;W9.TSConstructorType=W9.TSFunctionType=Ds;W9.TSInferType=As;W9.TSInstantiationExpression=Os;W9.TSIntersectionType=Cs;W9.UnaryLike=W9.TSTypeAssertion=X9;W9.TSTypeOperator=js;W9.TSUnionType=qs;W9.IntersectionTypeAnnotation=W9.UnionTypeAnnotation=Ks;W9.UpdateExpression=zs;W9.AwaitExpression=W9.YieldExpression=Ns;var fs=Hf(),GG=_G(),{isArrayTypeAnnotation:Gs,isBinaryExpression:Xs,isCallExpression:Js,isForOfStatement:Ws,isIndexedAccessType:Rs,isMemberExpression:eH,isObjectPattern:Vs,isOptionalMemberExpression:Hs,isYieldExpression:Us,isStatement:Qs}=fs,nH=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 oH(f,G){if(G==="BinaryExpression"||G==="LogicalExpression")return nH.get(f.operator);if(G==="TSAsExpression"||G==="TSSatisfiesExpression")return nH.get("in")}function sJ(f){return f==="TSAsExpression"||f==="TSSatisfiesExpression"||f==="TSTypeAssertion"}var aX=(f,G)=>{let X=G.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&G.superClass===f},iX=(f,G)=>{let X=G.type;return(X==="MemberExpression"||X==="OptionalMemberExpression")&&G.object===f||(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression")&&G.callee===f||X==="TaggedTemplateExpression"&&G.tag===f||X==="TSNonNullExpression"};function Zs(f,G){return Gs(G)}function Ys(f,G,X){let J=G.type;return J==="UnionTypeAnnotation"||J==="IntersectionTypeAnnotation"||J==="ArrayTypeAnnotation"||Boolean(X&GG.TokenContext.arrowFlowReturnType)}function zs(f,G){return iX(f,G)||aX(f,G)}function f9(f){return Boolean(f&(GG.TokenContext.expressionStatement|GG.TokenContext.arrowBody))}function Bs(f,G,X){return f9(X)}function Ms(f,G,X){return!f.async&&Boolean(X&GG.TokenContext.expressionStatement)}function G9(f,G){let X=G.type;if(f.type==="BinaryExpression"&&f.operator==="**"&&X==="BinaryExpression"&&G.operator==="**")return G.left===f;if(aX(f,G))return!0;if(iX(f,G)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;let J=oH(G,X);if(J!=null){let W=oH(f,f.type);if(J===W&&X==="BinaryExpression"&&G.right===f||J>W)return!0}return}function Ks(f,G){let X=G.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function Fs(f,G){return Rs(G)&&G.objectType===f}function Ss(f,G){if((G.type==="AssignmentExpression"||G.type==="AssignmentPattern")&&G.left===f)return!0;if(G.type==="BinaryExpression"&&(G.operator==="|"||G.operator==="&")&&f===G.left)return!0;return G9(f,G)}function $s(f,G){let X=G.type;if(X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"||X==="TSTypeOperator"||X==="TSTypeParameter")return!0;if((X==="TSIntersectionType"||X==="TSUnionType")&&G.types[0]===f)return!0;if(X==="TSConditionalType"&&(G.checkType===f||G.extendsType===f))return!0;return!1}function qs(f,G){let X=G.type;return X==="TSIntersectionType"||X==="TSTypeOperator"||X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"}function Cs(f,G){let X=G.type;return X==="TSTypeOperator"||X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"}function As(f,G){let X=G.type;if(X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType")return!0;if(f.typeParameter.constraint){if((X==="TSIntersectionType"||X==="TSUnionType")&&G.types[0]===f)return!0}return!1}function js(f,G){let X=G.type;return X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"}function Os(f,G){let X=G.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!G.typeParameters}function Ds(f,G){let X=G.type;return X==="TSIntersectionType"||X==="TSUnionType"||X==="TSTypeOperator"||X==="TSOptionalType"||X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSConditionalType"&&(G.checkType===f||G.extendsType===f)}function Ps(f,G,X,J){return f.operator==="in"&&J}function Is(f,G){let X=G.type;if(X==="SequenceExpression"||X==="ParenthesizedExpression"||X==="MemberExpression"&&G.property===f||X==="OptionalMemberExpression"&&G.property===f||X==="TemplateLiteral")return!1;if(X==="ClassDeclaration")return!0;if(X==="ForOfStatement")return G.right===f;if(X==="ExportDefaultDeclaration")return!0;return!Qs(G)}function Ns(f,G){let X=G.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||iX(f,G)||X==="AwaitExpression"&&Us(f)||X==="ConditionalExpression"&&f===G.test||aX(f,G)||sJ(X)}function Ts(f,G,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function X9(f,G){return iX(f,G)||Xs(G)&&G.operator==="**"&&G.left===f||aX(f,G)}function Ls(f,G,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function J9(f,G){let X=G.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&G.test===f||X==="AwaitExpression"||sJ(X))return!0;return X9(f,G)}function bs(f,G){return Js(G)&&G.callee===f||eH(G)&&G.object===f}function ws(f,G,X){if(f9(X)&&Vs(f.left))return!0;else return J9(f,G)}function Es(f,G){let X=G.type;if(sJ(X))return!0;if(X!=="LogicalExpression")return!1;switch(f.operator){case"||":return G.operator==="??"||G.operator==="&&";case"&&":return G.operator==="??";case"??":return G.operator!=="??"}}function ks(f,G,X,J,W){var R;let V=G.type;if((R=f.extra)!=null&&R.parenthesized&&V==="AssignmentExpression"&&G.left===f){let H=G.right.type;if((H==="FunctionExpression"||H==="ClassExpression")&&G.right.id==null)return!0}if(W&&W(f)!==f.name)return!1;if(f.name==="let"){if((eH(G,{object:f,computed:!0})||Hs(G,{object:f,computed:!0,optional:!1}))&&X&(GG.TokenContext.expressionStatement|GG.TokenContext.forHead|GG.TokenContext.forInHead))return!0;return Boolean(X&GG.TokenContext.forOfHead)}return f.name==="async"&&Ws(G,{left:f,await:!1})}});var _G=D((Q9)=>{Object.defineProperty(Q9,"__esModule",{value:!0});Q9.TokenContext=void 0;Q9.isLastChild=jd;Q9.needsParens=Ad;Q9.needsWhitespace=tJ;Q9.needsWhitespaceAfter=Cd;Q9.needsWhitespaceBefore=qd;var Hd=tH(),Ud=R9(),Qd=Hf(),{FLIPPED_ALIAS_KEYS:Zd,VISITOR_KEYS:Yd,isCallExpression:V9,isDecorator:zd,isExpressionStatement:Bd,isMemberExpression:Md,isNewExpression:Kd,isParenthesizedExpression:Fd}=Qd,MKf=Q9.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function H9(f){let G=new Map;function X(J,W){let R=G.get(J);G.set(J,R?function(V,H,U,Q,Y){var S;return(S=R(V,H,U,Q,Y))!=null?S:W(V,H,U,Q,Y)}:W)}for(let J of Object.keys(f)){let W=Zd[J];if(W)for(let R of W)X(R,f[J]);else X(J,f[J])}return G}var Sd=H9(Ud),$d=H9(Hd.nodes);function U9(f){if(V9(f))return!0;return Md(f)&&U9(f.object)}function tJ(f,G,X){var J;if(!f)return!1;if(Bd(f))f=f.expression;let W=(J=$d.get(f.type))==null?void 0:J(f,G);if(typeof W==="number")return(W&X)!==0;return!1}function qd(f,G){return tJ(f,G,1)}function Cd(f,G){return tJ(f,G,2)}function Ad(f,G,X,J,W){var R;if(!G)return!1;if(Kd(G)&&G.callee===f){if(U9(f))return!0}if(zd(G))return!dJ(f)&&!(V9(f)&&dJ(f.callee))&&!Fd(f);return(R=Sd.get(f.type))==null?void 0:R(f,G,X,J,W)}function dJ(f){switch(f.type){case"Identifier":return!0;case"MemberExpression":return!f.computed&&f.property.type==="Identifier"&&dJ(f.object);default:return!1}}function jd(f,G){let X=Yd[f.type];for(let J=X.length-1;J>=0;J--){let W=f[X[J]];if(W===G)return!0;else if(Array.isArray(W)){let R=W.length-1;while(R>=0&&W[R]===null)R--;return R>=0&&W[R]===G}else if(W)return!1}return!1}});var M9=D((z9)=>{Object.defineProperty(z9,"__esModule",{value:!0});z9.TokenMap=void 0;var Td=Hf(),{traverseFast:Ld,VISITOR_KEYS:bd}=Td;class Y9{constructor(f,G,X){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=G,this._source=X,Ld(f,(J)=>{let W=this._getTokensIndexesOfNode(J);if(W.length>0)this._nodesToTokenIndexes.set(J,W)}),this._tokensCache=null}has(f){return this._nodesToTokenIndexes.has(f)}getIndexes(f){return this._nodesToTokenIndexes.get(f)}find(f,G){let X=this._nodesToTokenIndexes.get(f);if(X)for(let J=0;J<X.length;J++){let W=X[J],R=this._tokens[W];if(G(R,W))return R}return null}findLastIndex(f,G){let X=this._nodesToTokenIndexes.get(f);if(X)for(let J=X.length-1;J>=0;J--){let W=X[J],R=this._tokens[W];if(G(R,W))return W}return-1}findMatching(f,G,X=0){let J=this._nodesToTokenIndexes.get(f);if(J){let W=0,R=X;if(R>1){let V=this._nodesOccurrencesCountCache.get(f);if(V&&V.test===G&&V.count<R)W=V.i+1,X-=V.count+1}for(;W<J.length;W++){let V=this._tokens[J[W]];if(this.matchesOriginal(V,G)){if(X===0){if(R>0)this._nodesOccurrencesCountCache.set(f,{test:G,count:R,i:W});return V}X--}}}return null}matchesOriginal(f,G){if(f.end-f.start!==G.length)return!1;if(f.value!=null)return f.value===G;return this._source.startsWith(G,f.start)}startMatches(f,G){let X=this._nodesToTokenIndexes.get(f);if(!X)return!1;let J=this._tokens[X[0]];if(J.start!==f.start)return!1;return this.matchesOriginal(J,G)}endMatches(f,G){let X=this._nodesToTokenIndexes.get(f);if(!X)return!1;let J=this._tokens[X[X.length-1]];if(J.end!==f.end)return!1;return this.matchesOriginal(J,G)}_getTokensIndexesOfNode(f){if(f.start==null||f.end==null)return[];let{first:G,last:X}=this._findTokensOfNode(f,0,this._tokens.length-1),J=G,W=wd(f);if((f.type==="ExportNamedDeclaration"||f.type==="ExportDefaultDeclaration")&&f.declaration&&f.declaration.type==="ClassDeclaration")W.next();let R=[];for(let V of W){if(V==null)continue;if(V.start==null||V.end==null)continue;let H=this._findTokensOfNode(V,J,X),U=H.first;for(let Q=J;Q<U;Q++)R.push(Q);J=H.last+1}for(let V=J;V<=X;V++)R.push(V);return R}_findTokensOfNode(f,G,X){let J=this._tokensCache.get(f);if(J)return J;let W=this._findFirstTokenOfNode(f.start,G,X),R=this._findLastTokenOfNode(f.end,W,X);return this._tokensCache.set(f,{first:W,last:R}),{first:W,last:R}}_findFirstTokenOfNode(f,G,X){while(G<=X){let J=X+G>>1;if(f<this._tokens[J].start)X=J-1;else if(f>this._tokens[J].start)G=J+1;else return J}return G}_findLastTokenOfNode(f,G,X){while(G<=X){let J=X+G>>1;if(f<this._tokens[J].end)X=J-1;else if(f>this._tokens[J].end)G=J+1;else return J}return X}}z9.TokenMap=Y9;function*wd(f){if(f.type==="TemplateLiteral"){yield f.quasis[0];for(let X=1;X<f.quasis.length;X++)yield f.expressions[X-1],yield f.quasis[X];return}let G=bd[f.type];for(let X of G){let J=f[X];if(!J)continue;if(Array.isArray(J))yield*J;else yield J}}});var F9=D((K9)=>{Object.defineProperty(K9,"__esModule",{value:!0});K9.TaggedTemplateExpression=Ed;K9.TemplateElement=kd;K9.TemplateLiteral=gd;K9._printTemplate=vd;function Ed(f){this.print(f.tag),this.print(f.typeParameters),this.print(f.quasi)}function kd(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function vd(f,G){let X=f.quasis,J="`";for(let W=0;W<X.length-1;W++)if(J+=X[W].value.raw,this.token(J+"${",!0),this.print(G[W]),J="}",this.tokenMap){let R=this.tokenMap.findMatching(f,"}",W);if(R)this._catchUpTo(R.loc.start)}J+=X[X.length-1].value.raw,this.token(J+"`",!0)}function gd(f){this._printTemplate(f,f.expressions)}});var q9=D(($9)=>{Object.defineProperty($9,"__esModule",{value:!0});$9.LogicalExpression=$9.BinaryExpression=$9.AssignmentExpression=Yt;$9.AssignmentPattern=Zt;$9.AwaitExpression=Vt;$9.BindExpression=zt;$9.CallExpression=Wt;$9.ConditionalExpression=dd;$9.Decorator=Gt;$9.DoExpression=rd;$9.EmptyStatement=Ut;$9.ExpressionStatement=Qt;$9.Import=Rt;$9.MemberExpression=Bt;$9.MetaProperty=Mt;$9.ModuleExpression=St;$9.NewExpression=td;$9.OptionalCallExpression=Jt;$9.OptionalMemberExpression=Xt;$9.ParenthesizedExpression=pd;$9.PrivateName=Kt;$9.SequenceExpression=nd;$9.Super=ed;$9.ThisExpression=od;$9.UnaryExpression=id;$9.UpdateExpression=sd;$9.V8IntrinsicIdentifier=Ft;$9.YieldExpression=Ht;$9._shouldPrintDecoratorsBeforeExport=ft;var xd=Hf(),md=_G(),{isCallExpression:ld,isLiteral:S9,isMemberExpression:nJ,isNewExpression:cd,isPattern:ad}=xd;function id(f){let{operator:G}=f;if(G==="void"||G==="delete"||G==="typeof"||G==="throw")this.word(G),this.space();else this.token(G);this.print(f.argument)}function rd(f){if(f.async)this.word("async",!0),this.space();this.word("do"),this.space(),this.print(f.body)}function pd(f){this.tokenChar(40);let G=this.enterDelimited();this.print(f.expression),G(),this.rightParens(f)}function sd(f){if(f.prefix)this.token(f.operator),this.print(f.argument);else this.print(f.argument,!0),this.token(f.operator)}function dd(f){this.print(f.test),this.space(),this.tokenChar(63),this.space(),this.print(f.consequent),this.space(),this.tokenChar(58),this.space(),this.print(f.alternate)}function td(f,G){if(this.word("new"),this.space(),this.print(f.callee),this.format.minified&&f.arguments.length===0&&!f.optional&&!ld(G,{callee:f})&&!nJ(G)&&!cd(G))return;if(this.print(f.typeArguments),this.print(f.typeParameters),f.optional)this.token("?.");if(f.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(f,")"))return;this.tokenChar(40);let X=this.enterDelimited();this.printList(f.arguments,this.shouldPrintTrailingComma(")")),X(),this.rightParens(f)}function nd(f){this.printList(f.expressions)}function od(){this.word("this")}function ed(){this.word("super")}function ft(f){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof f.start==="number"&&f.start===f.declaration.start}function Gt(f){this.tokenChar(64),this.print(f.expression),this.newline()}function Xt(f){let{computed:G}=f,{optional:X,property:J}=f;if(this.print(f.object),!G&&nJ(J))throw new TypeError("Got a MemberExpression for MemberExpression property");if(S9(J)&&typeof J.value==="number")G=!0;if(X)this.token("?.");if(G)this.tokenChar(91),this.print(J),this.tokenChar(93);else{if(!X)this.tokenChar(46);this.print(J)}}function Jt(f){if(this.print(f.callee),this.print(f.typeParameters),f.optional)this.token("?.");this.print(f.typeArguments),this.tokenChar(40);let G=this.enterDelimited();this.printList(f.arguments),G(),this.rightParens(f)}function Wt(f){this.print(f.callee),this.print(f.typeArguments),this.print(f.typeParameters),this.tokenChar(40);let G=this.enterDelimited();this.printList(f.arguments,this.shouldPrintTrailingComma(")")),G(),this.rightParens(f)}function Rt(){this.word("import")}function Vt(f){if(this.word("await"),f.argument)this.space(),this.printTerminatorless(f.argument)}function Ht(f){if(this.word("yield",!0),f.delegate){if(this.tokenChar(42),f.argument)this.space(),this.print(f.argument)}else if(f.argument)this.space(),this.printTerminatorless(f.argument)}function Ut(){this.semicolon(!0)}function Qt(f){this.tokenContext|=md.TokenContext.expressionStatement,this.print(f.expression),this.semicolon()}function Zt(f){if(this.print(f.left),f.left.type==="Identifier"||ad(f.left)){if(f.left.optional)this.tokenChar(63);this.print(f.left.typeAnnotation)}this.space(),this.tokenChar(61),this.space(),this.print(f.right)}function Yt(f){if(this.print(f.left),this.space(),f.operator==="in"||f.operator==="instanceof")this.word(f.operator);else this.token(f.operator),this._endsWithDiv=f.operator==="/";this.space(),this.print(f.right)}function zt(f){this.print(f.object),this.token("::"),this.print(f.callee)}function Bt(f){if(this.print(f.object),!f.computed&&nJ(f.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let G=f.computed;if(S9(f.property)&&typeof f.property.value==="number")G=!0;if(G){let X=this.enterDelimited();this.tokenChar(91),this.print(f.property),this.tokenChar(93),X()}else this.tokenChar(46),this.print(f.property)}function Mt(f){this.print(f.meta),this.tokenChar(46),this.print(f.property)}function Kt(f){this.tokenChar(35),this.print(f.id)}function Ft(f){this.tokenChar(37),this.word(f.name)}function St(f){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:G}=f;if(G.body.length||G.directives.length)this.newline();this.print(G),this.dedent(),this.rightBrace(f)}});var P9=D((O9)=>{Object.defineProperty(O9,"__esModule",{value:!0});O9.BreakStatement=fn;O9.CatchClause=Vn;O9.ContinueStatement=Gn;O9.DebuggerStatement=Qn;O9.DoWhileStatement=et;O9.ForOfStatement=O9.ForInStatement=void 0;O9.ForStatement=nt;O9.IfStatement=tt;O9.LabeledStatement=Wn;O9.ReturnStatement=Xn;O9.SwitchCase=Un;O9.SwitchStatement=Hn;O9.ThrowStatement=Jn;O9.TryStatement=Rn;O9.VariableDeclaration=Zn;O9.VariableDeclarator=Yn;O9.WhileStatement=ot;O9.WithStatement=dt;var it=Hf(),oJ=_G(),{isFor:C9,isForStatement:rt,isIfStatement:pt,isStatement:st}=it;function dt(f){this.word("with"),this.space(),this.tokenChar(40),this.print(f.object),this.tokenChar(41),this.printBlock(f)}function tt(f){this.word("if"),this.space(),this.tokenChar(40),this.print(f.test),this.tokenChar(41),this.space();let G=f.alternate&&pt(A9(f.consequent));if(G)this.tokenChar(123),this.newline(),this.indent();if(this.printAndIndentOnComments(f.consequent),G)this.dedent(),this.newline(),this.tokenChar(125);if(f.alternate){if(this.endsWith(125))this.space();this.word("else"),this.space(),this.printAndIndentOnComments(f.alternate)}}function A9(f){let{body:G}=f;if(st(G)===!1)return f;return A9(G)}function nt(f){this.word("for"),this.space(),this.tokenChar(40);{let G=this.enterForStatementInit();this.tokenContext|=oJ.TokenContext.forHead,this.print(f.init),G()}if(this.tokenChar(59),f.test)this.space(),this.print(f.test);if(this.token(";",!1,1),f.update)this.space(),this.print(f.update);this.tokenChar(41),this.printBlock(f)}function ot(f){this.word("while"),this.space(),this.tokenChar(40),this.print(f.test),this.tokenChar(41),this.printBlock(f)}function j9(f){this.word("for"),this.space();let G=f.type==="ForOfStatement";if(G&&f.await)this.word("await"),this.space();this.noIndentInnerCommentsHere(),this.tokenChar(40);{let X=G?null:this.enterForStatementInit();this.tokenContext|=G?oJ.TokenContext.forOfHead:oJ.TokenContext.forInHead,this.print(f.left),X==null||X()}this.space(),this.word(G?"of":"in"),this.space(),this.print(f.right),this.tokenChar(41),this.printBlock(f)}var AKf=O9.ForInStatement=j9,jKf=O9.ForOfStatement=j9;function et(f){this.word("do"),this.space(),this.print(f.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(f.test),this.tokenChar(41),this.semicolon()}function rX(f,G){if(G)f.space(),f.printTerminatorless(G);f.semicolon()}function fn(f){this.word("break"),rX(this,f.label)}function Gn(f){this.word("continue"),rX(this,f.label)}function Xn(f){this.word("return"),rX(this,f.argument)}function Jn(f){this.word("throw"),rX(this,f.argument)}function Wn(f){this.print(f.label),this.tokenChar(58),this.space(),this.print(f.body)}function Rn(f){if(this.word("try"),this.space(),this.print(f.block),this.space(),f.handlers)this.print(f.handlers[0]);else this.print(f.handler);if(f.finalizer)this.space(),this.word("finally"),this.space(),this.print(f.finalizer)}function Vn(f){if(this.word("catch"),this.space(),f.param)this.tokenChar(40),this.print(f.param),this.print(f.param.typeAnnotation),this.tokenChar(41),this.space();this.print(f.body)}function Hn(f){this.word("switch"),this.space(),this.tokenChar(40),this.print(f.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(f.cases,!0,void 0,function G(X,J){if(!X&&f.cases[f.cases.length-1]===J)return-1}),this.rightBrace(f)}function Un(f){if(f.test)this.word("case"),this.space(),this.print(f.test),this.tokenChar(58);else this.word("default"),this.tokenChar(58);if(f.consequent.length)this.newline(),this.printSequence(f.consequent,!0)}function Qn(){this.word("debugger"),this.semicolon()}function Zn(f,G){if(f.declare)this.word("declare"),this.space();let{kind:X}=f;if(X==="await using")this.word("await"),this.space(),this.word("using",!0);else this.word(X,X==="using");this.space();let J=!1;if(!C9(G)){for(let W of f.declarations)if(W.init)J=!0}if(this.printList(f.declarations,void 0,void 0,f.declarations.length>1,J?function(W){this.token(",",!1,W),this.newline()}:void 0),C9(G)){if(rt(G)){if(G.init===f)return}else if(G.left===f)return}this.semicolon()}function Yn(f){if(this.print(f.id),f.definite)this.tokenChar(33);if(this.print(f.id.typeAnnotation),f.init)this.space(),this.tokenChar(61),this.space(),this.print(f.init)}});var N9=D((I9)=>{Object.defineProperty(I9,"__esModule",{value:!0});I9.ClassAccessorProperty=un;I9.ClassBody=vn;I9.ClassExpression=I9.ClassDeclaration=kn;I9.ClassMethod=yn;I9.ClassPrivateMethod=xn;I9.ClassPrivateProperty=hn;I9.ClassProperty=_n;I9.StaticBlock=ln;I9._classMethodHead=mn;var bn=Hf(),{isExportDefaultDeclaration:wn,isExportNamedDeclaration:En}=bn;function kn(f,G){if(!(wn(G)||En(G))||!this._shouldPrintDecoratorsBeforeExport(G))this.printJoin(f.decorators);if(f.declare)this.word("declare"),this.space();if(f.abstract)this.word("abstract"),this.space();if(this.word("class"),f.id)this.space(),this.print(f.id);if(this.print(f.typeParameters),f.superClass)this.space(),this.word("extends"),this.space(),this.print(f.superClass),this.print(f.superTypeParameters);if(f.implements)this.space(),this.word("implements"),this.space(),this.printList(f.implements);this.space(),this.print(f.body)}function vn(f){if(this.tokenChar(123),f.body.length===0)this.tokenChar(125);else{this.newline();let G=gn(this,f);G==null||G(-1);let X=this.enterDelimited();if(this.printJoin(f.body,!0,!0,G,!0),X(),!this.endsWith(10))this.newline();this.rightBrace(f)}}function gn(f,G){if(!f.tokenMap||G.start==null||G.end==null)return null;let X=f.tokenMap.getIndexes(G);if(!X)return null;let J=1,W=0,R=0,V=()=>{while(R<G.body.length&&G.body[R].start==null)R++};return V(),(H)=>{if(R<=H)R=H+1,V();let U=R===G.body.length?G.end:G.body[R].start,Q;while(J<X.length&&f.tokenMap.matchesOriginal(Q=f._tokens[X[J]],";")&&Q.start<U)f.token(";",void 0,W++),J++}}function _n(f){if(this.printJoin(f.decorators),!f.static&&!this.format.preserveFormat){var G;let X=(G=f.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X)}if(this.tsPrintClassMemberModifiers(f),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else this._variance(f),this.print(f.key);if(f.optional)this.tokenChar(63);if(f.definite)this.tokenChar(33);if(this.print(f.typeAnnotation),f.value)this.space(),this.tokenChar(61),this.space(),this.print(f.value);this.semicolon()}function un(f){var G;this.printJoin(f.decorators);let X=(G=f.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X);if(this.tsPrintClassMemberModifiers(f),this.word("accessor",!0),this.space(),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else this._variance(f),this.print(f.key);if(f.optional)this.tokenChar(63);if(f.definite)this.tokenChar(33);if(this.print(f.typeAnnotation),f.value)this.space(),this.tokenChar(61),this.space(),this.print(f.value);this.semicolon()}function hn(f){if(this.printJoin(f.decorators),this.tsPrintClassMemberModifiers(f),this.print(f.key),f.optional)this.tokenChar(63);if(f.definite)this.tokenChar(33);if(this.print(f.typeAnnotation),f.value)this.space(),this.tokenChar(61),this.space(),this.print(f.value);this.semicolon()}function yn(f){this._classMethodHead(f),this.space(),this.print(f.body)}function xn(f){this._classMethodHead(f),this.space(),this.print(f.body)}function mn(f){if(this.printJoin(f.decorators),!this.format.preserveFormat){var G;let X=(G=f.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X)}this.tsPrintClassMemberModifiers(f),this._methodHead(f)}function ln(f){if(this.word("static"),this.space(),this.tokenChar(123),f.body.length===0)this.tokenChar(125);else this.newline(),this.printSequence(f.body,!0),this.rightBrace(f)}});var L9=D((T9)=>{Object.defineProperty(T9,"__esModule",{value:!0});T9.ArrowFunctionExpression=Qo;T9.FunctionDeclaration=T9.FunctionExpression=Uo;T9._functionHead=Ho;T9._methodHead=Ro;T9._param=Wo;T9._parameters=Jo;T9._params=Xo;T9._predicate=Vo;T9._shouldPrintArrowParamsParens=Zo;var en=Hf(),fo=_G(),{isIdentifier:Go}=en;function Xo(f,G,X){this.print(f.typeParameters);let J=Yo.call(this,G,X);if(J)this.sourceIdentifierName(J.name,J.pos);this.tokenChar(40),this._parameters(f.params,")");let W=f.type==="ArrowFunctionExpression";this.print(f.returnType,W),this._noLineTerminator=W}function Jo(f,G){let X=this.enterDelimited(),J=this.shouldPrintTrailingComma(G),W=f.length;for(let R=0;R<W;R++)if(this._param(f[R]),J||R<W-1)this.token(",",null,R),this.space();this.token(G),X()}function Wo(f){if(this.printJoin(f.decorators),this.print(f),f.optional)this.tokenChar(63);this.print(f.typeAnnotation)}function Ro(f){let{kind:G,key:X}=f;if(G==="get"||G==="set")this.word(G),this.space();if(f.async)this.word("async",!0),this.space();if(G==="method"||G==="init"){if(f.generator)this.tokenChar(42)}if(f.computed)this.tokenChar(91),this.print(X),this.tokenChar(93);else this.print(X);if(f.optional)this.tokenChar(63);this._params(f,f.computed&&f.key.type!=="StringLiteral"?void 0:f.key,void 0)}function Vo(f,G){if(f.predicate){if(!f.returnType)this.tokenChar(58);this.space(),this.print(f.predicate,G)}}function Ho(f,G){if(f.async){if(this.word("async"),!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.space()}if(this.word("function"),f.generator){if(!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.tokenChar(42)}if(this.space(),f.id)this.print(f.id);if(this._params(f,f.id,G),f.type!=="TSDeclareFunction")this._predicate(f)}function Uo(f,G){this._functionHead(f,G),this.space(),this.print(f.body)}function Qo(f,G){if(f.async)this.word("async",!0),this.space();if(this._shouldPrintArrowParamsParens(f))this._params(f,void 0,G);else this.print(f.params[0],!0);this._predicate(f,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=fo.TokenContext.arrowBody,this.print(f.body)}function Zo(f){var G,X;if(f.params.length!==1)return!0;if(f.typeParameters||f.returnType||f.predicate)return!0;let J=f.params[0];if(!Go(J)||J.typeAnnotation||J.optional||(G=J.leadingComments)!=null&&G.length||(X=J.trailingComments)!=null&&X.length)return!0;if(this.tokenMap){if(f.loc==null)return!0;if(this.tokenMap.findMatching(f,"(")!==null)return!0;let W=this.tokenMap.findMatching(f,"=>");if((W==null?void 0:W.loc)==null)return!0;return W.loc.start.line!==f.loc.start.line}if(this.format.retainLines)return!0;return!1}function Yo(f,G){let X=f;if(!X&&G){let U=G.type;if(U==="VariableDeclarator")X=G.id;else if(U==="AssignmentExpression"||U==="AssignmentPattern")X=G.left;else if(U==="ObjectProperty"||U==="ClassProperty"){if(!G.computed||G.key.type==="StringLiteral")X=G.key}else if(U==="ClassPrivateProperty"||U==="ClassAccessorProperty")X=G.key}if(!X)return;let J;if(X.type==="Identifier"){var W,R;J={pos:(W=X.loc)==null?void 0:W.start,name:((R=X.loc)==null?void 0:R.identifierName)||X.name}}else if(X.type==="PrivateName"){var V;J={pos:(V=X.loc)==null?void 0:V.start,name:"#"+X.id.name}}else if(X.type==="StringLiteral"){var H;J={pos:(H=X.loc)==null?void 0:H.start,name:X.value}}return J}});var eJ=D((k9)=>{Object.defineProperty(k9,"__esModule",{value:!0});k9.ExportAllDeclaration=vo;k9.ExportDefaultDeclaration=_o;k9.ExportDefaultSpecifier=bo;k9.ExportNamedDeclaration=go;k9.ExportNamespaceSpecifier=Eo;k9.ExportSpecifier=wo;k9.ImportAttribute=ho;k9.ImportDeclaration=uo;k9.ImportDefaultSpecifier=Lo;k9.ImportExpression=xo;k9.ImportNamespaceSpecifier=yo;k9.ImportSpecifier=To;k9._printAttributes=ko;var Ao=Hf(),jo=_G(),{isClassDeclaration:Oo,isExportDefaultSpecifier:Do,isExportNamespaceSpecifier:Po,isImportDefaultSpecifier:Io,isImportNamespaceSpecifier:No,isStatement:w9}=Ao;function To(f){if(f.importKind==="type"||f.importKind==="typeof")this.word(f.importKind),this.space();if(this.print(f.imported),f.local&&f.local.name!==f.imported.name)this.space(),this.word("as"),this.space(),this.print(f.local)}function Lo(f){this.print(f.local)}function bo(f){this.print(f.exported)}function wo(f){if(f.exportKind==="type")this.word("type"),this.space();if(this.print(f.local),f.exported&&f.local.name!==f.exported.name)this.space(),this.word("as"),this.space(),this.print(f.exported)}function Eo(f){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(f.exported)}var b9=!1;function ko(f,G){let{importAttributesKeyword:X}=this.format,{attributes:J,assertions:W}=f;if(J&&!X&&!b9)b9=!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 R=X==="assert"||!X&&W;if(this.word(R?"assert":"with"),this.space(),!R&&X!=="with"){this.printList(J||W);return}let V=G?1:0;this.token("{",null,V),this.space(),this.printList(J||W,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,V)}function vo(f){var G,X;if(this.word("export"),this.space(),f.exportKind==="type")this.word("type"),this.space();if(this.tokenChar(42),this.space(),this.word("from"),this.space(),(G=f.attributes)!=null&&G.length||(X=f.assertions)!=null&&X.length)this.print(f.source,!0),this.space(),this._printAttributes(f,!1);else this.print(f.source);this.semicolon()}function E9(f,G){if(Oo(G.declaration)&&f._shouldPrintDecoratorsBeforeExport(G))f.printJoin(G.declaration.decorators)}function go(f){if(E9(this,f),this.word("export"),this.space(),f.declaration){let J=f.declaration;if(this.print(J),!w9(J))this.semicolon()}else{if(f.exportKind==="type")this.word("type"),this.space();let J=f.specifiers.slice(0),W=!1;for(;;){let V=J[0];if(Do(V)||Po(V)){if(W=!0,this.print(J.shift()),J.length)this.tokenChar(44),this.space()}else break}let R=!1;if(J.length||!J.length&&!W){if(R=!0,this.tokenChar(123),J.length)this.space(),this.printList(J,this.shouldPrintTrailingComma("}")),this.space();this.tokenChar(125)}if(f.source){var G,X;if(this.space(),this.word("from"),this.space(),(G=f.attributes)!=null&&G.length||(X=f.assertions)!=null&&X.length)this.print(f.source,!0),this.space(),this._printAttributes(f,R);else this.print(f.source)}this.semicolon()}}function _o(f){E9(this,f),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=jo.TokenContext.exportDefault;let G=f.declaration;if(this.print(G),!w9(G))this.semicolon()}function uo(f){var G,X;this.word("import"),this.space();let J=f.importKind==="type"||f.importKind==="typeof";if(J)this.noIndentInnerCommentsHere(),this.word(f.importKind),this.space();else if(f.module)this.noIndentInnerCommentsHere(),this.word("module"),this.space();else if(f.phase)this.noIndentInnerCommentsHere(),this.word(f.phase),this.space();let W=f.specifiers.slice(0),R=!!W.length;while(R){let H=W[0];if(Io(H)||No(H)){if(this.print(W.shift()),W.length)this.tokenChar(44),this.space()}else break}let V=!1;if(W.length)V=!0,this.tokenChar(123),this.space(),this.printList(W,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125);else if(J&&!R)V=!0,this.tokenChar(123),this.tokenChar(125);if(R||J)this.space(),this.word("from"),this.space();if((G=f.attributes)!=null&&G.length||(X=f.assertions)!=null&&X.length)this.print(f.source,!0),this.space(),this._printAttributes(f,V);else this.print(f.source);this.semicolon()}function ho(f){this.print(f.key),this.tokenChar(58),this.space(),this.print(f.value)}function yo(f){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(f.local)}function xo(f){if(this.word("import"),f.phase)this.tokenChar(46),this.word(f.phase);if(this.tokenChar(40),this.print(f.source),f.options!=null)this.tokenChar(44),this.space(),this.print(f.options);this.tokenChar(41)}});var u9=D((LKf,_9)=>{var v9={},Ge=v9.hasOwnProperty,g9=(f,G)=>{for(let X in f)if(Ge.call(f,X))G(X,f[X])},Xe=(f,G)=>{if(!G)return f;return g9(G,(X,J)=>{f[X]=J}),f},Je=(f,G)=>{let X=f.length,J=-1;while(++J<X)G(f[J])},pX=(f)=>{return"\\u"+("0000"+f).slice(-4)},d1=(f,G)=>{let X=f.toString(16);if(G)return X;return X.toUpperCase()},t1=v9.toString,We=Array.isArray,Re=(f)=>{return typeof Buffer==="function"&&Buffer.isBuffer(f)},Ve=(f)=>{return t1.call(f)=="[object Object]"},He=(f)=>{return typeof f=="string"||t1.call(f)=="[object String]"},Ue=(f)=>{return typeof f=="number"||t1.call(f)=="[object Number]"},fW=(f)=>{return typeof f=="bigint"},Qe=(f)=>{return typeof f=="function"},Ze=(f)=>{return t1.call(f)=="[object Map]"},Ye=(f)=>{return t1.call(f)=="[object Set]"},ze={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Be=/[\\\b\f\n\r\t]/,Me=/[0-9]/,Ke=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Fe=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,Se=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,uG=(f,G)=>{let X=()=>{Q=U,++G.indentLevel,U=G.indent.repeat(G.indentLevel)},J={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},W=G&&G.json;if(W)J.quotes="double",J.wrap=!0;if(G=Xe(J,G),G.quotes!="single"&&G.quotes!="double"&&G.quotes!="backtick")G.quotes="single";let R=G.quotes=="double"?'"':G.quotes=="backtick"?"`":"'",V=G.compact,H=G.lowercaseHex,U=G.indent.repeat(G.indentLevel),Q="",Y=G.__inline1__,S=G.__inline2__,C=V?"":`
13
- `,A,j=!0,b=G.numbers=="binary",I=G.numbers=="octal",L=G.numbers=="decimal",w=G.numbers=="hexadecimal";if(W&&f&&Qe(f.toJSON))f=f.toJSON();if(!He(f)){if(Ze(f)){if(f.size==0)return"new Map()";if(!V)G.__inline1__=!0,G.__inline2__=!1;return"new Map("+uG(Array.from(f),G)+")"}if(Ye(f)){if(f.size==0)return"new Set()";return"new Set("+uG(Array.from(f),G)+")"}if(Re(f)){if(f.length==0)return"Buffer.from([])";return"Buffer.from("+uG(Array.from(f),G)+")"}if(We(f)){if(A=[],G.wrap=!0,Y)G.__inline1__=!1,G.__inline2__=!0;if(!S)X();if(Je(f,(p)=>{if(j=!1,S)G.__inline2__=!1;A.push((V||S?"":U)+uG(p,G))}),j)return"[]";if(S)return"["+A.join(", ")+"]";return"["+C+A.join(","+C)+C+(V?"":Q)+"]"}else if(Ue(f)||fW(f)){if(W)return JSON.stringify(Number(f));let p;if(L)p=String(f);else if(w){let Jf=f.toString(16);if(!H)Jf=Jf.toUpperCase();p="0x"+Jf}else if(b)p="0b"+f.toString(2);else if(I)p="0o"+f.toString(8);if(fW(f))return p+"n";return p}else if(fW(f)){if(W)return JSON.stringify(Number(f));return f+"n"}else if(!Ve(f)){if(W)return JSON.stringify(f)||"null";return String(f)}else{if(A=[],G.wrap=!0,X(),g9(f,(p,Jf)=>{j=!1,A.push((V?"":U)+uG(p,G)+":"+(V?"":" ")+uG(Jf,G))}),j)return"{}";return"{"+C+A.join(","+C)+C+(V?"":Q)+"}"}}let Xf=G.escapeEverything?Fe:Se;if(A=f.replace(Xf,(p,Jf,Kf,bf,Ef,y)=>{if(Jf){if(G.minimal)return Jf;let T=Jf.charCodeAt(0),l=Jf.charCodeAt(1);if(G.es6){let Rf=(T-55296)*1024+l-56320+65536;return"\\u{"+d1(Rf,H)+"}"}return pX(d1(T,H))+pX(d1(l,H))}if(Kf)return pX(d1(Kf.charCodeAt(0),H));if(p=="\x00"&&!W&&!Me.test(y.charAt(Ef+1)))return"\\0";if(bf){if(bf==R||G.escapeEverything)return"\\"+bf;return bf}if(Be.test(p))return ze[p];if(G.minimal&&!Ke.test(p))return p;let x=d1(p.charCodeAt(0),H);if(W||x.length>2)return pX(x);return"\\x"+("00"+x).slice(-2)}),R=="`")A=A.replace(/\$\{/g,"\\${");if(G.isScriptContext)A=A.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,W?"\\u003C!--":"\\x3C!--");if(G.wrap)A=R+A+R;return A};uG.version="3.0.2";_9.exports=uG});var XW=D((m9)=>{Object.defineProperty(m9,"__esModule",{value:!0});m9.ArgumentPlaceholder=je;m9.ArrayPattern=m9.ArrayExpression=Ne;m9.BigIntLiteral=ge;m9.BooleanLiteral=we;m9.Identifier=Ae;m9.NullLiteral=Ee;m9.NumericLiteral=ke;m9.ObjectPattern=m9.ObjectExpression=De;m9.ObjectMethod=Pe;m9.ObjectProperty=Ie;m9.PipelineBareFunction=he;m9.PipelinePrimaryTopicReference=ye;m9.PipelineTopicExpression=ue;m9.RecordExpression=Te;m9.RegExpLiteral=be;m9.SpreadElement=m9.RestElement=Oe;m9.StringLiteral=ve;m9.TopicReference=_e;m9.TupleExpression=Le;m9._getRawIdentifier=Ce;var $e=Hf(),x9=u9(),{isAssignmentPattern:qe,isIdentifier:GW}=$e,h9=null,sX="";function Ce(f){if(f===h9)return sX;h9=f;let{name:G}=f,X=this.tokenMap.find(f,(J)=>J.value===G);if(X)return sX=this._originalCode.slice(X.start,X.end),sX;return sX=f.name}function Ae(f){var G;this.sourceIdentifierName(((G=f.loc)==null?void 0:G.identifierName)||f.name),this.word(this.tokenMap?this._getRawIdentifier(f):f.name)}function je(){this.tokenChar(63)}function Oe(f){this.token("..."),this.print(f.argument)}function De(f){let G=f.properties;if(this.tokenChar(123),G.length){let X=this.enterDelimited();this.space(),this.printList(G,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),X()}this.sourceWithOffset("end",f.loc,-1),this.tokenChar(125)}function Pe(f){this.printJoin(f.decorators),this._methodHead(f),this.space(),this.print(f.body)}function Ie(f){if(this.printJoin(f.decorators),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else{if(qe(f.value)&&GW(f.key)&&f.key.name===f.value.left.name){this.print(f.value);return}if(this.print(f.key),f.shorthand&&GW(f.key)&&GW(f.value)&&f.key.name===f.value.name)return}this.tokenChar(58),this.space(),this.print(f.value)}function Ne(f){let G=f.elements,X=G.length;this.tokenChar(91);let J=this.enterDelimited();for(let W=0;W<G.length;W++){let R=G[W];if(R){if(W>0)this.space();if(this.print(R),W<X-1||this.shouldPrintTrailingComma("]"))this.token(",",!1,W)}else this.token(",",!1,W)}J(),this.tokenChar(93)}function Te(f){let G=f.properties,X,J;if(this.format.recordAndTupleSyntaxType==="bar")X="{|",J="|}";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).`);else X="#{",J="}";if(this.token(X),G.length)this.space(),this.printList(G,this.shouldPrintTrailingComma(J),!0,!0),this.space();this.token(J)}function Le(f){let G=f.elements,X=G.length,J,W;if(this.format.recordAndTupleSyntaxType==="bar")J="[|",W="|]";else if(this.format.recordAndTupleSyntaxType==="hash")J="#[",W="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(J);for(let R=0;R<G.length;R++){let V=G[R];if(V){if(R>0)this.space();if(this.print(V),R<X-1||this.shouldPrintTrailingComma(W))this.token(",",!1,R)}}this.token(W)}function be(f){this.word(`/${f.pattern}/${f.flags}`)}function we(f){this.word(f.value?"true":"false")}function Ee(){this.word("null")}function ke(f){let G=this.getPossibleRaw(f),X=this.format.jsescOption,J=f.value,W=J+"";if(X.numbers)this.number(x9(J,X),J);else if(G==null)this.number(W,J);else if(this.format.minified)this.number(G.length<W.length?G:W,J);else this.number(G,J)}function ve(f){let G=this.getPossibleRaw(f);if(!this.format.minified&&G!==void 0){this.token(G);return}let X=x9(f.value,this.format.jsescOption);this.token(X)}function ge(f){let G=this.getPossibleRaw(f);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(f.value+"n")}var y9=new Set(["^^","@@","^","%","#"]);function _e(){let{topicToken:f}=this.format;if(y9.has(f))this.token(f);else{let G=JSON.stringify(f),X=Array.from(y9,(J)=>JSON.stringify(J));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${G} received instead).`)}}function ue(f){this.print(f.expression)}function he(f){this.print(f.callee)}function ye(){this.tokenChar(35)}});var c9=D((oX)=>{Object.defineProperty(oX,"__esModule",{value:!0});oX.AnyTypeAnnotation=Zff;oX.ArrayTypeAnnotation=Yff;oX.BooleanLiteralTypeAnnotation=Bff;oX.BooleanTypeAnnotation=zff;oX.DeclareClass=Kff;oX.DeclareExportAllDeclaration=Iff;oX.DeclareExportDeclaration=Pff;oX.DeclareFunction=Fff;oX.DeclareInterface=qff;oX.DeclareModule=Cff;oX.DeclareModuleExports=Aff;oX.DeclareOpaqueType=Off;oX.DeclareTypeAlias=jff;oX.DeclareVariable=Dff;oX.DeclaredPredicate=$ff;oX.EmptyTypeAnnotation=sff;oX.EnumBooleanBody=Tff;oX.EnumBooleanMember=kff;oX.EnumDeclaration=Nff;oX.EnumDefaultedMember=Eff;oX.EnumNumberBody=Lff;oX.EnumNumberMember=vff;oX.EnumStringBody=bff;oX.EnumStringMember=gff;oX.EnumSymbolBody=wff;oX.ExistsTypeAnnotation=uff;oX.FunctionTypeAnnotation=hff;oX.FunctionTypeParam=yff;oX.IndexedAccessType=qGf;oX.InferredPredicate=Sff;oX.InterfaceDeclaration=cff;oX.GenericTypeAnnotation=oX.ClassImplements=oX.InterfaceExtends=xff;oX.InterfaceTypeAnnotation=iff;oX.IntersectionTypeAnnotation=rff;oX.MixedTypeAnnotation=pff;oX.NullLiteralTypeAnnotation=Mff;oX.NullableTypeAnnotation=dff;Object.defineProperty(oX,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return l9.NumericLiteral}});oX.NumberTypeAnnotation=tff;oX.ObjectTypeAnnotation=VGf;oX.ObjectTypeCallProperty=UGf;oX.ObjectTypeIndexer=QGf;oX.ObjectTypeInternalSlot=HGf;oX.ObjectTypeProperty=ZGf;oX.ObjectTypeSpreadProperty=YGf;oX.OpaqueType=RGf;oX.OptionalIndexedAccessType=CGf;oX.QualifiedTypeIdentifier=zGf;Object.defineProperty(oX,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return l9.StringLiteral}});oX.StringTypeAnnotation=nff;oX.SymbolTypeAnnotation=BGf;oX.ThisTypeAnnotation=off;oX.TupleTypeAnnotation=eff;oX.TypeAlias=GGf;oX.TypeAnnotation=XGf;oX.TypeCastExpression=FGf;oX.TypeParameter=WGf;oX.TypeParameterDeclaration=oX.TypeParameterInstantiation=JGf;oX.TypeofTypeAnnotation=fGf;oX.UnionTypeAnnotation=KGf;oX.Variance=SGf;oX.VoidTypeAnnotation=$Gf;oX._interfaceish=mff;oX._variance=lff;var Vff=Hf(),Hff=eJ(),Uff=_G(),l9=XW(),{isDeclareExportDeclaration:dX,isStatement:Qff}=Vff;function Zff(){this.word("any")}function Yff(f){this.print(f.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function zff(){this.word("boolean")}function Bff(f){this.word(f.value?"true":"false")}function Mff(){this.word("null")}function Kff(f,G){if(!dX(G))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(f)}function Fff(f,G){if(!dX(G))this.word("declare"),this.space();if(this.word("function"),this.space(),this.print(f.id),this.print(f.id.typeAnnotation.typeAnnotation),f.predicate)this.space(),this.print(f.predicate);this.semicolon()}function Sff(){this.tokenChar(37),this.word("checks")}function $ff(f){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(f.value),this.tokenChar(41)}function qff(f){this.word("declare"),this.space(),this.InterfaceDeclaration(f)}function Cff(f){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(f.id),this.space(),this.print(f.body)}function Aff(f){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(f.typeAnnotation)}function jff(f){this.word("declare"),this.space(),this.TypeAlias(f)}function Off(f,G){if(!dX(G))this.word("declare"),this.space();this.OpaqueType(f)}function Dff(f,G){if(!dX(G))this.word("declare"),this.space();this.word("var"),this.space(),this.print(f.id),this.print(f.id.typeAnnotation),this.semicolon()}function Pff(f){if(this.word("declare"),this.space(),this.word("export"),this.space(),f.default)this.word("default"),this.space();_ff.call(this,f)}function Iff(f){this.word("declare"),this.space(),Hff.ExportAllDeclaration.call(this,f)}function Nff(f){let{id:G,body:X}=f;this.word("enum"),this.space(),this.print(G),this.print(X)}function tX(f,G,X){if(X)f.space(),f.word("of"),f.space(),f.word(G);f.space()}function nX(f,G){let{members:X}=G;f.token("{"),f.indent(),f.newline();for(let J of X)f.print(J),f.newline();if(G.hasUnknownMembers)f.token("..."),f.newline();f.dedent(),f.token("}")}function Tff(f){let{explicitType:G}=f;tX(this,"boolean",G),nX(this,f)}function Lff(f){let{explicitType:G}=f;tX(this,"number",G),nX(this,f)}function bff(f){let{explicitType:G}=f;tX(this,"string",G),nX(this,f)}function wff(f){tX(this,"symbol",!0),nX(this,f)}function Eff(f){let{id:G}=f;this.print(G),this.tokenChar(44)}function JW(f,G){f.print(G.id),f.space(),f.token("="),f.space(),f.print(G.init),f.token(",")}function kff(f){JW(this,f)}function vff(f){JW(this,f)}function gff(f){JW(this,f)}function _ff(f){if(f.declaration){let G=f.declaration;if(this.print(G),!Qff(G))this.semicolon()}else{if(this.tokenChar(123),f.specifiers.length)this.space(),this.printList(f.specifiers),this.space();if(this.tokenChar(125),f.source)this.space(),this.word("from"),this.space(),this.print(f.source);this.semicolon()}}function uff(){this.tokenChar(42)}function hff(f,G){if(this.print(f.typeParameters),this.tokenChar(40),f.this){if(this.word("this"),this.tokenChar(58),this.space(),this.print(f.this.typeAnnotation),f.params.length||f.rest)this.tokenChar(44),this.space()}if(this.printList(f.params),f.rest){if(f.params.length)this.tokenChar(44),this.space();this.token("..."),this.print(f.rest)}this.tokenChar(41);let X=G==null?void 0:G.type;if(X!=null&&(X==="ObjectTypeCallProperty"||X==="ObjectTypeInternalSlot"||X==="DeclareFunction"||X==="ObjectTypeProperty"&&G.method))this.tokenChar(58);else this.space(),this.token("=>");this.space(),this.print(f.returnType)}function yff(f){if(this.print(f.name),f.optional)this.tokenChar(63);if(f.name)this.tokenChar(58),this.space();this.print(f.typeAnnotation)}function xff(f){this.print(f.id),this.print(f.typeParameters,!0)}function mff(f){var G;if(this.print(f.id),this.print(f.typeParameters),(G=f.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(f.extends);if(f.type==="DeclareClass"){var X,J;if((X=f.mixins)!=null&&X.length)this.space(),this.word("mixins"),this.space(),this.printList(f.mixins);if((J=f.implements)!=null&&J.length)this.space(),this.word("implements"),this.space(),this.printList(f.implements)}this.space(),this.print(f.body)}function lff(f){var G;let X=(G=f.variance)==null?void 0:G.kind;if(X!=null){if(X==="plus")this.tokenChar(43);else if(X==="minus")this.tokenChar(45)}}function cff(f){this.word("interface"),this.space(),this._interfaceish(f)}function aff(f){this.space(),this.token("&",!1,f),this.space()}function iff(f){var G;if(this.word("interface"),(G=f.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(f.extends);this.space(),this.print(f.body)}function rff(f){this.printJoin(f.types,void 0,void 0,aff)}function pff(){this.word("mixed")}function sff(){this.word("empty")}function dff(f){this.tokenChar(63),this.print(f.typeAnnotation)}function tff(){this.word("number")}function nff(){this.word("string")}function off(){this.word("this")}function eff(f){this.tokenChar(91),this.printList(f.types),this.tokenChar(93)}function fGf(f){this.word("typeof"),this.space(),this.print(f.argument)}function GGf(f){this.word("type"),this.space(),this.print(f.id),this.print(f.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(f.right),this.semicolon()}function XGf(f,G){if(this.tokenChar(58),this.space(),G.type==="ArrowFunctionExpression")this.tokenContext|=Uff.TokenContext.arrowFlowReturnType;else if(f.optional)this.tokenChar(63);this.print(f.typeAnnotation)}function JGf(f){this.tokenChar(60),this.printList(f.params),this.tokenChar(62)}function WGf(f){if(this._variance(f),this.word(f.name),f.bound)this.print(f.bound);if(f.default)this.space(),this.tokenChar(61),this.space(),this.print(f.default)}function RGf(f){if(this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(f.id),this.print(f.typeParameters),f.supertype)this.tokenChar(58),this.space(),this.print(f.supertype);if(f.impltype)this.space(),this.tokenChar(61),this.space(),this.print(f.impltype);this.semicolon()}function VGf(f){if(f.exact)this.token("{|");else this.tokenChar(123);let G=[...f.properties,...f.callProperties||[],...f.indexers||[],...f.internalSlots||[]];if(G.length)this.newline(),this.space(),this.printJoin(G,!0,!0,void 0,void 0,function X(J){if(J&&!G[0])return 1},()=>{if(G.length!==1||f.inexact)this.tokenChar(44),this.space()}),this.space();if(f.inexact){if(this.indent(),this.token("..."),G.length)this.newline();this.dedent()}if(f.exact)this.token("|}");else this.tokenChar(125)}function HGf(f){if(f.static)this.word("static"),this.space();if(this.tokenChar(91),this.tokenChar(91),this.print(f.id),this.tokenChar(93),this.tokenChar(93),f.optional)this.tokenChar(63);if(!f.method)this.tokenChar(58),this.space();this.print(f.value)}function UGf(f){if(f.static)this.word("static"),this.space();this.print(f.value)}function QGf(f){if(f.static)this.word("static"),this.space();if(this._variance(f),this.tokenChar(91),f.id)this.print(f.id),this.tokenChar(58),this.space();this.print(f.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(f.value)}function ZGf(f){if(f.proto)this.word("proto"),this.space();if(f.static)this.word("static"),this.space();if(f.kind==="get"||f.kind==="set")this.word(f.kind),this.space();if(this._variance(f),this.print(f.key),f.optional)this.tokenChar(63);if(!f.method)this.tokenChar(58),this.space();this.print(f.value)}function YGf(f){this.token("..."),this.print(f.argument)}function zGf(f){this.print(f.qualification),this.tokenChar(46),this.print(f.id)}function BGf(){this.word("symbol")}function MGf(f){this.space(),this.token("|",!1,f),this.space()}function KGf(f){this.printJoin(f.types,void 0,void 0,MGf)}function FGf(f){this.tokenChar(40),this.print(f.expression),this.print(f.typeAnnotation),this.tokenChar(41)}function SGf(f){if(f.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function $Gf(){this.word("void")}function qGf(f){this.print(f.objectType,!0),this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)}function CGf(f){if(this.print(f.objectType),f.optional)this.token("?.");this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)}});var i9=D((a9)=>{Object.defineProperty(a9,"__esModule",{value:!0});a9.BlockStatement=w1f;a9.Directive=E1f;a9.DirectiveLiteral=g1f;a9.File=L1f;a9.InterpreterDirective=_1f;a9.Placeholder=u1f;a9.Program=b1f;function L1f(f){if(f.program)this.print(f.program.interpreter);this.print(f.program)}function b1f(f){var G;this.noIndentInnerCommentsHere(),this.printInnerComments();let X=(G=f.directives)==null?void 0:G.length;if(X){var J;let W=f.body.length?2:1;if(this.printSequence(f.directives,void 0,W),!((J=f.directives[X-1].trailingComments)!=null&&J.length))this.newline(W)}this.printSequence(f.body)}function w1f(f){var G;this.tokenChar(123);let X=this.enterDelimited(),J=(G=f.directives)==null?void 0:G.length;if(J){var W;let R=f.body.length?2:1;if(this.printSequence(f.directives,!0,R),!((W=f.directives[J-1].trailingComments)!=null&&W.length))this.newline(R)}this.printSequence(f.body,!0),X(),this.rightBrace(f)}function E1f(f){this.print(f.value),this.semicolon()}var k1f=/(?:^|[^\\])(?:\\\\)*'/,v1f=/(?:^|[^\\])(?:\\\\)*"/;function g1f(f){let G=this.getPossibleRaw(f);if(!this.format.minified&&G!==void 0){this.token(G);return}let{value:X}=f;if(!v1f.test(X))this.token(`"${X}"`);else if(!k1f.test(X))this.token(`'${X}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function _1f(f){this.token(`#!${f.value}`),this.newline(1,!0)}function u1f(f){if(this.token("%%"),this.print(f.name),this.token("%%"),f.expectedNode==="Statement")this.semicolon()}});var p9=D((r9)=>{Object.defineProperty(r9,"__esModule",{value:!0});r9.JSXAttribute=i1f;r9.JSXClosingElement=XXf;r9.JSXClosingFragment=VXf;r9.JSXElement=e1f;r9.JSXEmptyExpression=JXf;r9.JSXExpressionContainer=t1f;r9.JSXFragment=WXf;r9.JSXIdentifier=r1f;r9.JSXMemberExpression=s1f;r9.JSXNamespacedName=p1f;r9.JSXOpeningElement=GXf;r9.JSXOpeningFragment=RXf;r9.JSXSpreadAttribute=d1f;r9.JSXSpreadChild=n1f;r9.JSXText=o1f;function i1f(f){if(this.print(f.name),f.value)this.tokenChar(61),this.print(f.value)}function r1f(f){this.word(f.name)}function p1f(f){this.print(f.namespace),this.tokenChar(58),this.print(f.name)}function s1f(f){this.print(f.object),this.tokenChar(46),this.print(f.property)}function d1f(f){this.tokenChar(123),this.token("..."),this.print(f.argument),this.rightBrace(f)}function t1f(f){this.tokenChar(123),this.print(f.expression),this.rightBrace(f)}function n1f(f){this.tokenChar(123),this.token("..."),this.print(f.expression),this.rightBrace(f)}function o1f(f){let G=this.getPossibleRaw(f);if(G!==void 0)this.token(G,!0);else this.token(f.value,!0)}function e1f(f){let G=f.openingElement;if(this.print(G),G.selfClosing)return;this.indent();for(let X of f.children)this.print(X);this.dedent(),this.print(f.closingElement)}function fXf(){this.space()}function GXf(f){this.tokenChar(60),this.print(f.name);{if(f.typeArguments)this.print(f.typeArguments);this.print(f.typeParameters)}if(f.attributes.length>0)this.space(),this.printJoin(f.attributes,void 0,void 0,fXf);if(f.selfClosing)this.space(),this.tokenChar(47);this.tokenChar(62)}function XXf(f){this.tokenChar(60),this.tokenChar(47),this.print(f.name),this.tokenChar(62)}function JXf(){this.printInnerComments()}function WXf(f){this.print(f.openingFragment),this.indent();for(let G of f.children)this.print(G);this.dedent(),this.print(f.closingFragment)}function RXf(){this.tokenChar(60),this.tokenChar(62)}function VXf(){this.token("</"),this.tokenChar(62)}});var e9=D((o9)=>{Object.defineProperty(o9,"__esModule",{value:!0});o9.TSAnyKeyword=gXf;o9.TSArrayType=X2f;o9.TSSatisfiesExpression=o9.TSAsExpression=A2f;o9.TSBigIntKeyword=_Xf;o9.TSBooleanKeyword=xXf;o9.TSCallSignatureDeclaration=LXf;o9.TSInterfaceHeritage=o9.TSClassImplements=S2f;o9.TSConditionalType=Q2f;o9.TSConstructSignatureDeclaration=bXf;o9.TSConstructorType=tXf;o9.TSDeclareFunction=IXf;o9.TSDeclareMethod=NXf;o9.TSEnumBody=n9;o9.TSEnumDeclaration=D2f;o9.TSEnumMember=P2f;o9.TSExportAssignment=E2f;o9.TSExternalModuleReference=b2f;o9.TSFunctionType=dXf;o9.TSImportEqualsDeclaration=L2f;o9.TSImportType=T2f;o9.TSIndexSignature=vXf;o9.TSIndexedAccessType=B2f;o9.TSInferType=Z2f;o9.TSInstantiationExpression=O2f;o9.TSInterfaceBody=q2f;o9.TSInterfaceDeclaration=$2f;o9.TSIntersectionType=U2f;o9.TSIntrinsicKeyword=pXf;o9.TSLiteralType=F2f;o9.TSMappedType=M2f;o9.TSMethodSignature=kXf;o9.TSModuleBlock=N2f;o9.TSModuleDeclaration=I2f;o9.TSNamedTupleMember=V2f;o9.TSNamespaceExportDeclaration=k2f;o9.TSNeverKeyword=rXf;o9.TSNonNullExpression=w2f;o9.TSNullKeyword=iXf;o9.TSNumberKeyword=hXf;o9.TSObjectKeyword=yXf;o9.TSOptionalType=W2f;o9.TSParameterProperty=PXf;o9.TSParenthesizedType=Y2f;o9.TSPropertySignature=wXf;o9.TSQualifiedName=TXf;o9.TSRestType=R2f;o9.TSStringKeyword=mXf;o9.TSSymbolKeyword=lXf;o9.TSTemplateLiteralType=K2f;o9.TSThisType=sXf;o9.TSTupleType=J2f;o9.TSTypeAliasDeclaration=C2f;o9.TSTypeAnnotation=jXf;o9.TSTypeAssertion=j2f;o9.TSTypeLiteral=G2f;o9.TSTypeOperator=z2f;o9.TSTypeParameter=DXf;o9.TSTypeParameterDeclaration=o9.TSTypeParameterInstantiation=OXf;o9.TSTypePredicate=eXf;o9.TSTypeQuery=f2f;o9.TSTypeReference=oXf;o9.TSUndefinedKeyword=aXf;o9.TSUnionType=H2f;o9.TSUnknownKeyword=uXf;o9.TSVoidKeyword=cXf;o9.tsPrintClassMemberModifiers=g2f;o9.tsPrintFunctionOrConstructorType=nXf;o9.tsPrintPropertyOrMethodName=EXf;o9.tsPrintSignatureDeclarationBase=v2f;function jXf(f,G){if(this.token((G.type==="TSFunctionType"||G.type==="TSConstructorType")&&G.typeAnnotation===f?"=>":":"),this.space(),f.optional)this.tokenChar(63);this.print(f.typeAnnotation)}function OXf(f,G){this.tokenChar(60);let X=G.type==="ArrowFunctionExpression"&&f.params.length===1;if(this.tokenMap&&f.start!=null&&f.end!=null)X&&(X=!!this.tokenMap.find(f,(J)=>this.tokenMap.matchesOriginal(J,","))),X||(X=this.shouldPrintTrailingComma(">"));this.printList(f.params,X),this.tokenChar(62)}function DXf(f){if(f.in)this.word("in"),this.space();if(f.out)this.word("out"),this.space();if(this.word(f.name),f.constraint)this.space(),this.word("extends"),this.space(),this.print(f.constraint);if(f.default)this.space(),this.tokenChar(61),this.space(),this.print(f.default)}function PXf(f){if(f.accessibility)this.word(f.accessibility),this.space();if(f.readonly)this.word("readonly"),this.space();this._param(f.parameter)}function IXf(f,G){if(f.declare)this.word("declare"),this.space();this._functionHead(f,G),this.semicolon()}function NXf(f){this._classMethodHead(f),this.semicolon()}function TXf(f){this.print(f.left),this.tokenChar(46),this.print(f.right)}function LXf(f){this.tsPrintSignatureDeclarationBase(f),n1(this,f)}function n1(f,G){if(!f.tokenMap||!G.start||!G.end){f.semicolon();return}if(f.tokenMap.endMatches(G,","))f.token(",");else if(f.tokenMap.endMatches(G,";"))f.semicolon()}function bXf(f){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(f),n1(this,f)}function wXf(f){let{readonly:G}=f;if(G)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(f),this.print(f.typeAnnotation),n1(this,f)}function EXf(f){if(f.computed)this.tokenChar(91);if(this.print(f.key),f.computed)this.tokenChar(93);if(f.optional)this.tokenChar(63)}function kXf(f){let{kind:G}=f;if(G==="set"||G==="get")this.word(G),this.space();this.tsPrintPropertyOrMethodName(f),this.tsPrintSignatureDeclarationBase(f),n1(this,f)}function vXf(f){let{readonly:G,static:X}=f;if(X)this.word("static"),this.space();if(G)this.word("readonly"),this.space();this.tokenChar(91),this._parameters(f.parameters,"]"),this.print(f.typeAnnotation),n1(this,f)}function gXf(){this.word("any")}function _Xf(){this.word("bigint")}function uXf(){this.word("unknown")}function hXf(){this.word("number")}function yXf(){this.word("object")}function xXf(){this.word("boolean")}function mXf(){this.word("string")}function lXf(){this.word("symbol")}function cXf(){this.word("void")}function aXf(){this.word("undefined")}function iXf(){this.word("null")}function rXf(){this.word("never")}function pXf(){this.word("intrinsic")}function sXf(){this.word("this")}function dXf(f){this.tsPrintFunctionOrConstructorType(f)}function tXf(f){if(f.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(f)}function nXf(f){let{typeParameters:G}=f,X=f.parameters;this.print(G),this.tokenChar(40),this._parameters(X,")"),this.space();let J=f.typeAnnotation;this.print(J)}function oXf(f){let G=f.typeParameters;this.print(f.typeName,!!G),this.print(G)}function eXf(f){if(f.asserts)this.word("asserts"),this.space();if(this.print(f.parameterName),f.typeAnnotation)this.space(),this.word("is"),this.space(),this.print(f.typeAnnotation.typeAnnotation)}function f2f(f){this.word("typeof"),this.space(),this.print(f.exprName);let G=f.typeParameters;if(G)this.print(G)}function G2f(f){eX(this,f,()=>this.printJoin(f.members,!0,!0))}function X2f(f){this.print(f.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function J2f(f){this.tokenChar(91),this.printList(f.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function W2f(f){this.print(f.typeAnnotation),this.tokenChar(63)}function R2f(f){this.token("..."),this.print(f.typeAnnotation)}function V2f(f){if(this.print(f.label),f.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(f.elementType)}function H2f(f){t9(this,f,"|")}function U2f(f){t9(this,f,"&")}function t9(f,G,X){var J;let W=0;if((J=f.tokenMap)!=null&&J.startMatches(G,X))W=1,f.token(X);f.printJoin(G.types,void 0,void 0,function(R){this.space(),this.token(X,null,R+W),this.space()})}function Q2f(f){this.print(f.checkType),this.space(),this.word("extends"),this.space(),this.print(f.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(f.trueType),this.space(),this.tokenChar(58),this.space(),this.print(f.falseType)}function Z2f(f){this.word("infer"),this.print(f.typeParameter)}function Y2f(f){this.tokenChar(40),this.print(f.typeAnnotation),this.tokenChar(41)}function z2f(f){this.word(f.operator),this.space(),this.print(f.typeAnnotation)}function B2f(f){this.print(f.objectType,!0),this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)}function M2f(f){let{nameType:G,optional:X,readonly:J,typeAnnotation:W}=f;this.tokenChar(123);let R=this.enterDelimited();if(this.space(),J)s9(this,J),this.word("readonly"),this.space();if(this.tokenChar(91),this.word(f.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(f.typeParameter.constraint),G)this.space(),this.word("as"),this.space(),this.print(G);if(this.tokenChar(93),X)s9(this,X),this.tokenChar(63);if(W)this.tokenChar(58),this.space(),this.print(W);this.space(),R(),this.tokenChar(125)}function s9(f,G){if(G!==!0)f.token(G)}function K2f(f){this._printTemplate(f,f.types)}function F2f(f){this.print(f.literal)}function S2f(f){this.print(f.expression),this.print(f.typeArguments)}function $2f(f){let{declare:G,id:X,typeParameters:J,extends:W,body:R}=f;if(G)this.word("declare"),this.space();if(this.word("interface"),this.space(),this.print(X),this.print(J),W!=null&&W.length)this.space(),this.word("extends"),this.space(),this.printList(W);this.space(),this.print(R)}function q2f(f){eX(this,f,()=>this.printJoin(f.body,!0,!0))}function C2f(f){let{declare:G,id:X,typeParameters:J,typeAnnotation:W}=f;if(G)this.word("declare"),this.space();this.word("type"),this.space(),this.print(X),this.print(J),this.space(),this.tokenChar(61),this.space(),this.print(W),this.semicolon()}function A2f(f){let{type:G,expression:X,typeAnnotation:J}=f;this.print(X,!0),this.space(),this.word(G==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(J)}function j2f(f){let{typeAnnotation:G,expression:X}=f;this.tokenChar(60),this.print(G),this.tokenChar(62),this.space(),this.print(X)}function O2f(f){this.print(f.expression),this.print(f.typeParameters)}function D2f(f){let{declare:G,const:X,id:J}=f;if(G)this.word("declare"),this.space();if(X)this.word("const"),this.space();this.word("enum"),this.space(),this.print(J),this.space(),n9.call(this,f)}function n9(f){eX(this,f,()=>{var G;return this.printList(f.members,(G=this.shouldPrintTrailingComma("}"))!=null?G:!0,!0,!0)})}function P2f(f){let{id:G,initializer:X}=f;if(this.print(G),X)this.space(),this.tokenChar(61),this.space(),this.print(X)}function I2f(f){let{declare:G,id:X,kind:J}=f;if(G)this.word("declare"),this.space();{if(!f.global)this.word(J!=null?J:X.type==="Identifier"?"namespace":"module"),this.space();if(this.print(X),!f.body){this.semicolon();return}let W=f.body;while(W.type==="TSModuleDeclaration")this.tokenChar(46),this.print(W.id),W=W.body;this.space(),this.print(W)}}function N2f(f){eX(this,f,()=>this.printSequence(f.body,!0))}function T2f(f){let{argument:G,qualifier:X,options:J}=f;if(this.word("import"),this.tokenChar(40),this.print(G),J)this.tokenChar(44),this.print(J);if(this.tokenChar(41),X)this.tokenChar(46),this.print(X);let W=f.typeParameters;if(W)this.print(W)}function L2f(f){let{id:G,moduleReference:X}=f;if(f.isExport)this.word("export"),this.space();this.word("import"),this.space(),this.print(G),this.space(),this.tokenChar(61),this.space(),this.print(X),this.semicolon()}function b2f(f){this.token("require("),this.print(f.expression),this.tokenChar(41)}function w2f(f){this.print(f.expression),this.tokenChar(33)}function E2f(f){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(f.expression),this.semicolon()}function k2f(f){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(f.id),this.semicolon()}function v2f(f){let{typeParameters:G}=f,X=f.parameters;this.print(G),this.tokenChar(40),this._parameters(X,")");let J=f.typeAnnotation;this.print(J)}function g2f(f){let G=f.type==="ClassPrivateProperty",X=f.type==="ClassAccessorProperty"||f.type==="ClassProperty";if(d9(this,f,[X&&f.declare&&"declare",!G&&f.accessibility]),f.static)this.word("static"),this.space();d9(this,f,[!G&&f.override&&"override",!G&&f.abstract&&"abstract",(X||G)&&f.readonly&&"readonly"])}function eX(f,G,X){f.token("{");let J=f.enterDelimited();X(),J(),f.rightBrace(G)}function d9(f,G,X){var J;let W=new Set;for(let R of X)if(R)W.add(R);(J=f.tokenMap)==null||J.find(G,(R)=>{if(W.has(R.value))return f.token(R.value),f.space(),W.delete(R.value),W.size===0});for(let R of W)f.word(R),f.space()}});var f8=D((Bf)=>{Object.defineProperty(Bf,"__esModule",{value:!0});var WW=F9();Object.keys(WW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===WW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return WW[f]}})});var RW=q9();Object.keys(RW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===RW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return RW[f]}})});var VW=P9();Object.keys(VW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===VW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return VW[f]}})});var HW=N9();Object.keys(HW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===HW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return HW[f]}})});var UW=L9();Object.keys(UW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===UW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return UW[f]}})});var QW=eJ();Object.keys(QW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===QW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return QW[f]}})});var ZW=XW();Object.keys(ZW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===ZW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return ZW[f]}})});var YW=c9();Object.keys(YW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===YW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return YW[f]}})});var zW=i9();Object.keys(zW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===zW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return zW[f]}})});var BW=p9();Object.keys(BW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===BW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return BW[f]}})});var MW=e9();Object.keys(MW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===MW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return MW[f]}})})});var X8=D((G8)=>{Object.defineProperty(G8,"__esModule",{value:!0});G8.addDeprecatedGenerators=nJf;function nJf(f){{let G={Noop(){},TSExpressionWithTypeArguments(X){this.print(X.expression),this.print(X.typeParameters)},DecimalLiteral(X){let J=this.getPossibleRaw(X);if(!this.format.minified&&J!==void 0){this.word(J);return}this.word(X.value+"m")}};Object.assign(f.prototype,G)}}});var U8=D((V8)=>{Object.defineProperty(V8,"__esModule",{value:!0});V8.default=void 0;var eJf=U0(),W8=_G(),fWf=Hf(),GWf=M9(),XWf=f8(),JWf=X8(),{isExpression:WWf,isFunction:RWf,isStatement:VWf,isClassBody:HWf,isTSInterfaceBody:UWf,isTSEnumMember:QWf}=fWf,ZWf=/e/i,YWf=/\.0+$/,R8=/[\n\r\u2028\u2029]/,zWf=/[\n\r\u2028\u2029]|\*\//;function J8(f){return f.type==="CommentLine"||R8.test(f.value)}var{needsParens:BWf}=W8;class f2{constructor(f,G,X,J){this.inForStatementInit=!1,this.tokenContext=0,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=f,this._tokens=X,this._originalCode=J,this._indentRepeat=f.indent.style.length,this._inputMap=G==null?void 0:G._inputMap,this._buf=new eJf.default(G,f.indent.style[0])}enterForStatementInit(){if(this.inForStatementInit)return()=>{};return this.inForStatementInit=!0,()=>{this.inForStatementInit=!1}}enterDelimited(){let f=this.inForStatementInit,G=this._noLineTerminatorAfterNode;if(f===!1&&G===null)return()=>{};return this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=f,this._noLineTerminatorAfterNode=G}}generate(f){if(this.format.preserveFormat)this.tokenMap=new GWf.TokenMap(f,this._tokens,this._originalCode);return this.print(f),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:f}=this;if(f.preserveFormat||f.compact||f.concise)return;this._indent++}dedent(){let{format:f}=this;if(f.preserveFormat||f.compact||f.concise)return;this._indent--}semicolon(f=!1){if(this._maybeAddAuxComment(),f){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let G=this._currentNode;if(G.start!=null&&G.end!=null){if(!this.tokenMap.endMatches(G,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let X=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[X[X.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(f){if(this.format.minified)this._buf.removeLastSemicolon();this.sourceWithOffset("end",f.loc,-1),this.tokenChar(125)}rightParens(f){this.sourceWithOffset("end",f.loc,-1),this.tokenChar(41)}space(f=!1){let{format:G}=this;if(G.compact||G.preserveFormat)return;if(f)this._space();else if(this._buf.hasContent()){let X=this.getLastChar();if(X!==32&&X!==10)this._space()}}word(f,G=!1){if(this.tokenContext=0,this._maybePrintInnerComments(f),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(f);if(this._endsWithWord||this._endsWithDiv&&f.charCodeAt(0)===47)this._space();this._append(f,!1),this._endsWithWord=!0,this._noLineTerminator=G}number(f,G){function X(J){if(J.length>2&&J.charCodeAt(0)===48){let W=J.charCodeAt(1);return W===98||W===111||W===120}return!1}this.word(f),this._endsWithInteger=Number.isInteger(G)&&!X(f)&&!ZWf.test(f)&&!YWf.test(f)&&f.charCodeAt(f.length-1)!==46}token(f,G=!1,X=0){if(this.tokenContext=0,this._maybePrintInnerComments(f,X),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(f,X);let J=this.getLastChar(),W=f.charCodeAt(0);if(J===33&&(f==="--"||W===61)||W===43&&J===43||W===45&&J===45||W===46&&this._endsWithInteger)this._space();this._append(f,G),this._noLineTerminator=!1}tokenChar(f){this.tokenContext=0;let G=String.fromCharCode(f);if(this._maybePrintInnerComments(G),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(G);let X=this.getLastChar();if(f===43&&X===43||f===45&&X===45||f===46&&this._endsWithInteger)this._space();this._appendChar(f),this._noLineTerminator=!1}newline(f=1,G){if(f<=0)return;if(!G){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(f>2)f=2;f-=this._buf.getNewlineCount();for(let X=0;X<f;X++)this._newline();return}endsWith(f){return this.getLastChar()===f}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(f,G){if(!f){G();return}this._catchUp("start",f),this._buf.exactSource(f,G)}source(f,G){if(!G)return;this._catchUp(f,G),this._buf.source(f,G)}sourceWithOffset(f,G,X){if(!G||this.format.preserveFormat)return;this._catchUp(f,G),this._buf.sourceWithOffset(f,G,X)}sourceIdentifierName(f,G){if(!this._buf._canMarkIdName)return;let X=this._buf._sourcePosition;X.identifierNamePos=G,X.identifierName=f}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(f,G=0){let X=this.tokenMap.findMatching(this._currentNode,f,G);if(X)this._catchUpTo(X.loc.start);if(this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine())this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(f,G){this._maybeIndent(f.charCodeAt(0)),this._buf.append(f,G),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(f){this._maybeIndent(f),this._buf.appendChar(f),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(f){this._maybeIndent(f),this._buf.queue(f),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(f){if(this._indent&&f!==10&&this.endsWith(10))this._buf.queueIndentation(this._getIndent())}_shouldIndent(f){if(this._indent&&f!==10&&this.endsWith(10))return!0}catchUp(f){if(!this.format.retainLines)return;let G=f-this._buf.getCurrentLine();for(let X=0;X<G;X++)this._newline()}_catchUp(f,G){let{format:X}=this;if(!X.preserveFormat){if(X.retainLines&&G!=null&&G[f])this.catchUp(G[f].line);return}let J=G==null?void 0:G[f];if(J!=null)this._catchUpTo(J)}_catchUpTo({line:f,column:G,index:X}){let J=f-this._buf.getCurrentLine();if(J>0&&this._noLineTerminator)return;for(let R=0;R<J;R++)this._newline();let W=J>0?G:G-this._buf.getCurrentColumn();if(W>0){let R=this._originalCode?this._originalCode.slice(X-W,X).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(W);this._append(R,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(f){this._noLineTerminator=!0,this.print(f)}print(f,G,X){var J,W,R;if(!f)return;this._endsWithInnerRaw=!1;let V=f.type,H=this.format,U=H.concise;if(f._compact)H.concise=!0;let Q=this[V];if(Q===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(V)} with constructor ${JSON.stringify(f.constructor.name)}`);let Y=this._currentNode;if(this._currentNode=f,this.tokenMap)this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode;let S=this._insideAux;this._insideAux=f.loc==null,this._maybeAddAuxComment(this._insideAux&&!S);let C=(J=f.extra)==null?void 0:J.parenthesized,A=C&&H.preserveFormat||C&&H.retainFunctionParens&&V==="FunctionExpression"||BWf(f,Y,this.tokenContext,this.inForStatementInit,H.preserveFormat?this._boundGetRawIdentifier:void 0);if(!A&&C&&(W=f.leadingComments)!=null&&W.length&&f.leadingComments[0].type==="CommentBlock")switch(Y==null?void 0:Y.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(Y.callee!==f)break;default:A=!0}let j=!1;if(!A&&this._noLineTerminator&&((R=f.leadingComments)!=null&&R.some(J8)||this.format.retainLines&&f.loc&&f.loc.start.line>this._buf.getCurrentLine()))A=!0,j=!0;let b,I;if(!A){if(G||(G=Y&&this._noLineTerminatorAfterNode===Y&&W8.isLastChild(Y,f)),G){var L;if((L=f.trailingComments)!=null&&L.some(J8)){if(WWf(f))A=!0}else b=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=f}}if(A){if(this.tokenChar(40),j)this.indent();if(this._endsWithInnerRaw=!1,this.inForStatementInit)I=!0,this.inForStatementInit=!1;b=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null}this._lastCommentLine=0,this._printLeadingComments(f,Y);let w=V==="Program"||V==="File"?null:f.loc;if(this.exactSource(w,Q.bind(this,f,Y)),A){if(this._printTrailingComments(f,Y),j)this.dedent(),this.newline();if(this.tokenChar(41),this._noLineTerminator=G,I)this.inForStatementInit=!0}else if(G&&!this._noLineTerminator)this._noLineTerminator=!0,this._printTrailingComments(f,Y);else this._printTrailingComments(f,Y,X);if(this._currentNode=Y,H.concise=U,this._insideAux=S,b!==void 0)this._noLineTerminatorAfterNode=b;this._endsWithInnerRaw=!1}_maybeAddAuxComment(f){if(f)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let f=this.format.auxiliaryCommentBefore;if(f)this._printComment({type:"CommentBlock",value:f},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let f=this.format.auxiliaryCommentAfter;if(f)this._printComment({type:"CommentBlock",value:f},0)}getPossibleRaw(f){let G=f.extra;if((G==null?void 0:G.raw)!=null&&G.rawValue!=null&&f.value===G.rawValue)return G.raw}printJoin(f,G,X,J,W,R,V,H){if(!(f!=null&&f.length))return;if(X==null&&this.format.retainLines){var U;let j=(U=f[0].loc)==null?void 0:U.start.line;if(j!=null&&j!==this._buf.getCurrentLine())X=!0}if(X)this.indent();let Q={addNewlines:R,nextNodeStartLine:0},Y=J==null?void 0:J.bind(this),S=f.length;for(let j=0;j<S;j++){let b=f[j];if(!b)continue;if(G)this._printNewline(j===0,Q);if(this.print(b,void 0,H||0),V==null||V(b,j),Y!=null){if(j<S-1)Y(j,!1);else if(W)Y(j,!0)}if(G){var C;if(!((C=b.trailingComments)!=null&&C.length))this._lastCommentLine=0;if(j+1===S)this.newline(1);else{var A;let I=f[j+1];Q.nextNodeStartLine=((A=I.loc)==null?void 0:A.start.line)||0,this._printNewline(!0,Q)}}}if(X)this.dedent()}printAndIndentOnComments(f){let G=f.leadingComments&&f.leadingComments.length>0;if(G)this.indent();if(this.print(f),G)this.dedent()}printBlock(f){let G=f.body;if(G.type!=="EmptyStatement")this.space();this.print(G)}_printTrailingComments(f,G,X){let{innerComments:J,trailingComments:W}=f;if(J!=null&&J.length)this._printComments(2,J,f,G,X);if(W!=null&&W.length)this._printComments(2,W,f,G,X)}_printLeadingComments(f,G){let X=f.leadingComments;if(!(X!=null&&X.length))return;this._printComments(0,X,f,G)}_maybePrintInnerComments(f,G){if(this._endsWithInnerRaw){var X;this.printInnerComments((X=this.tokenMap)==null?void 0:X.findMatching(this._currentNode,f,G))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(f){let G=this._currentNode,X=G.innerComments;if(!(X!=null&&X.length))return;let J=this.endsWith(32),W=this._indentInnerComments,R=this._printedComments.size;if(W)this.indent();if(this._printComments(1,X,G,void 0,void 0,f),J&&R!==this._printedComments.size)this.space();if(W)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(f,G,X,J){this.printJoin(f,!0,G!=null?G:!1,void 0,void 0,J,void 0,X)}printList(f,G,X,J,W,R){this.printJoin(f,X,J,W!=null?W:MWf,G,void 0,R)}shouldPrintTrailingComma(f){if(!this.tokenMap)return null;let G=this.tokenMap.findLastIndex(this._currentNode,(X)=>this.tokenMap.matchesOriginal(X,f));if(G<=0)return null;return this.tokenMap.matchesOriginal(this._tokens[G-1],",")}_printNewline(f,G){let X=this.format;if(X.retainLines||X.compact)return;if(X.concise){this.space();return}if(!f)return;let J=G.nextNodeStartLine,W=this._lastCommentLine;if(J>0&&W>0){let R=J-W;if(R>=0){this.newline(R||1);return}}if(this._buf.hasContent())this.newline(1)}_shouldPrintComment(f,G){if(f.ignore)return 0;if(this._printedComments.has(f))return 0;if(this._noLineTerminator&&zWf.test(f.value))return 2;if(G&&this.tokenMap){let X=this.tokenMap.find(this._currentNode,(J)=>J.value===f.value);if(X&&X.start>G.start)return 2}if(this._printedComments.add(f),!this.format.shouldPrintComment(f.value))return 0;return 1}_printComment(f,G){let X=this._noLineTerminator,J=f.type==="CommentBlock",W=J&&G!==1&&!this._noLineTerminator;if(W&&this._buf.hasContent()&&G!==2)this.newline(1);let R=this.getLastChar();if(R!==91&&R!==123&&R!==40)this.space();let V;if(J){if(V=`/*${f.value}*/`,this.format.indent.adjustMultilineComment){var H;let U=(H=f.loc)==null?void 0:H.start.column;if(U){let Q=new RegExp("\\n\\s{1,"+U+"}","g");V=V.replace(Q,`
10
+ `)}`)}return G.shapeOf=f,G}function QA(){function f(G){var X;let J=G;while(G){let{type:W}=J;if(W==="OptionalCallExpression"){if(J.optional)return;J=J.callee;continue}if(W==="OptionalMemberExpression"){if(J.optional)return;J=J.object;continue}break}throw new TypeError(`Non-optional ${G.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(X=J)==null?void 0:X.type}`)}return f}function dR(...f){function G(...X){for(let J of f)J(...X)}if(G.chainOf=f,f.length>=2&&"type"in f[0]&&f[0].type==="array"&&!("each"in f[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return G}var ZA=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),YA=new Set(["default","optional","deprecated","validate"]),GJ={};function zA(...f){return(G,X={})=>{let J=X.aliases;if(!J){var W;if(X.inherits)J=(W=GJ[X.inherits].aliases)==null?void 0:W.slice();J!=null||(J=[]),X.aliases=J}let R=f.filter((V)=>!J.includes(V));J.unshift(...R),tR(G,X)}}function tR(f,G={}){let X=G.inherits&&GJ[G.inherits]||{},J=G.fields;if(!J){if(J={},X.fields){let H=Object.getOwnPropertyNames(X.fields);for(let U of H){let Q=X.fields[U],Y=Q.default;if(Array.isArray(Y)?Y.length>0:Y&&typeof Y==="object")throw new Error("field defaults can only be primitives or empty arrays currently");J[U]={default:Array.isArray(Y)?[]:Y,optional:Q.optional,deprecated:Q.deprecated,validate:Q.validate}}}}let W=G.visitor||X.visitor||[],R=G.aliases||X.aliases||[],V=G.builder||X.builder||G.visitor||[];for(let H of Object.keys(G))if(!ZA.has(H))throw new Error(`Unknown type option "${H}" on ${f}`);if(G.deprecatedAlias)fA[G.deprecatedAlias]=f;for(let H of W.concat(V))J[H]=J[H]||{};for(let H of Object.keys(J)){let U=J[H];if(U.default!==void 0&&!V.includes(H))U.optional=!0;if(U.default===void 0)U.default=null;else if(!U.validate&&U.default!=null)U.validate=JJ(LX(U.default));for(let Q of Object.keys(U))if(!YA.has(Q))throw new Error(`Unknown field key "${Q}" on ${f}.${H}`)}if(tC[f]=G.visitor=W,eC[f]=G.builder=V,oC[f]=G.fields=J,nC[f]=G.aliases=R,R.forEach((H)=>{fJ[H]=fJ[H]||[],fJ[H].push(f)}),G.validate)GA[f]=G.validate;GJ[f]=G}});var l1=D((G0)=>{Object.defineProperty(G0,"__esModule",{value:!0});G0.patternLikeCommon=G0.importAttributes=G0.functionTypeAnnotationCommon=G0.functionDeclarationCommon=G0.functionCommon=G0.classMethodOrPropertyCommon=G0.classMethodOrDeclareMethodCommon=void 0;var uf=z1(),_A=B1(),eR=x1(),uA=mR(),m1=EG(),M=BG(),v=M.defineAliasedType("Standardized");v("ArrayExpression",{fields:{elements:{validate:M.arrayOf(M.assertNodeOrValueType("null","Expression","SpreadElement")),default:!process.env.BABEL_TYPES_8_BREAKING?[]:void 0}},visitor:["elements"],aliases:["Expression"]});v("AssignmentExpression",{fields:{operator:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("string"):Object.assign(function(){let f=M.assertOneOf(...m1.ASSIGNMENT_OPERATORS),G=M.assertOneOf("=");return function(X,J,W){(uf.default("Pattern",X.left)?G:f)(X,J,W)}}(),{type:"string"})},left:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal","OptionalMemberExpression"):M.assertNodeType("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});v("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:M.assertOneOf(...m1.BINARY_OPERATORS)},left:{validate:function(){let f=M.assertNodeType("Expression"),G=M.assertNodeType("Expression","PrivateName");return Object.assign(function(J,W,R){(J.operator==="in"?G:f)(J,W,R)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:M.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});v("InterpreterDirective",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});v("Directive",{visitor:["value"],fields:{value:{validate:M.assertNodeType("DirectiveLiteral")}}});v("DirectiveLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});v("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});v("BreakStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});v("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:M.assertNodeType("Expression","Super","V8IntrinsicIdentifier")},arguments:M.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:M.assertNodeType("TypeParameterInstantiation"),optional:!0}},{optional:{validate:M.assertValueType("boolean"),optional:!0},typeParameters:{validate:M.assertNodeType("TSTypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:M.assertValueType("boolean"),optional:!0}})});v("CatchClause",{visitor:["param","body"],fields:{param:{validate:M.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}},aliases:["Scopable","BlockParent"]});v("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Expression")},alternate:{validate:M.assertNodeType("Expression")}},aliases:["Expression","Conditional"]});v("ContinueStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});v("DebuggerStatement",{aliases:["Statement"]});v("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});v("EmptyStatement",{aliases:["Statement"]});v("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:M.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]});v("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:M.assertNodeType("Program")},comments:{validate:!process.env.BABEL_TYPES_8_BREAKING?Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}):M.assertEach(M.assertNodeType("CommentBlock","CommentLine")),optional:!0},tokens:{validate:M.assertEach(Object.assign(()=>{},{type:"any"})),optional:!0}}});v("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("VariableDeclaration","LVal"):M.assertNodeType("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});v("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:M.assertNodeType("VariableDeclaration","Expression"),optional:!0},test:{validate:M.assertNodeType("Expression"),optional:!0},update:{validate:M.assertNodeType("Expression"),optional:!0},body:{validate:M.assertNodeType("Statement")}}});var M1=()=>({params:M.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});G0.functionCommon=M1;var rG=()=>({returnType:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});G0.functionTypeAnnotationCommon=rG;var f0=()=>Object.assign({},M1(),{declare:{validate:M.assertValueType("boolean"),optional:!0},id:{validate:M.assertNodeType("Identifier"),optional:!0}});G0.functionDeclarationCommon=f0;v("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},f0(),rG(),{body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let f=M.assertNodeType("Identifier");return function(G,X,J){if(!uf.default("ExportDefaultDeclaration",G))f(J,"id",J.id)}}()});v("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},M1(),rG(),{id:{validate:M.assertNodeType("Identifier"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var K1=()=>({typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:M.assertValueType("boolean"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});G0.patternLikeCommon=K1;v("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},K1(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(f,G,X){if(!_A.default(X,!1))throw new TypeError(`"${X}" is not a valid identifier name`)},{type:"string"})):M.assertValueType("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(f,G,X){let J=/\.(\w+)$/.exec(G);if(!J)return;let[,W]=J,R={computed:!1};if(W==="property"){if(uf.default("MemberExpression",f,R))return;if(uf.default("OptionalMemberExpression",f,R))return}else if(W==="key"){if(uf.default("Property",f,R))return;if(uf.default("Method",f,R))return}else if(W==="exported"){if(uf.default("ExportSpecifier",f))return}else if(W==="imported"){if(uf.default("ImportSpecifier",f,{imported:X}))return}else if(W==="meta"){if(uf.default("MetaProperty",f,{meta:X}))return}if((eR.isKeyword(X.name)||eR.isReservedWord(X.name,!1))&&X.name!=="this")throw new TypeError(`"${X.name}" is not a valid identifier`)}:void 0});v("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Statement")},alternate:{optional:!0,validate:M.assertNodeType("Statement")}}});v("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:M.assertNodeType("Identifier")},body:{validate:M.assertNodeType("Statement")}}});v("StringLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});v("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:M.chain(M.assertValueType("number"),Object.assign(function(f,G,X){if(1/X<0||!Number.isFinite(X)){let J=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${X}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});v("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});v("BooleanLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});v("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:M.assertValueType("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(f,G,X){let J=/[^gimsuy]/.exec(X);if(J)throw new TypeError(`"${J[0]}" is not a valid RegExp flag`)},{type:"string"})):M.assertValueType("string"),default:""}}});v("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:M.assertOneOf(...m1.LOGICAL_OPERATORS)},left:{validate:M.assertNodeType("Expression")},right:{validate:M.assertNodeType("Expression")}}});v("MemberExpression",{builder:["object","property","computed",...!process.env.BABEL_TYPES_8_BREAKING?["optional"]:[]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:M.assertNodeType("Expression","Super")},property:{validate:function(){let f=M.assertNodeType("Identifier","PrivateName"),G=M.assertNodeType("Expression"),X=function(J,W,R){(J.computed?G:f)(J,W,R)};return X.oneOfNodeTypes=["Expression","Identifier","PrivateName"],X}()},computed:{default:!1}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:M.assertValueType("boolean"),optional:!0}}:{})});v("NewExpression",{inherits:"CallExpression"});v("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:M.assertOneOf("script","module"),default:"script"},interpreter:{validate:M.assertNodeType("InterpreterDirective"),default:null,optional:!0},directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block"]});v("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:M.validateArrayOfType("ObjectMethod","ObjectProperty","SpreadElement")}});v("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},M1(),rG(),{kind:Object.assign({validate:M.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=M.assertNodeType("Expression"),X=function(J,W,R){(J.computed?G:f)(J,W,R)};return X.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],X}()},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});v("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:!1},key:{validate:function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),G=M.assertNodeType("Expression");return Object.assign(function(J,W,R){(J.computed?G:f)(J,W,R)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:M.assertNodeType("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("boolean"),Object.assign(function(f,G,X){if(!X)return;if(f.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!uf.default("Identifier",f.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")},{type:"boolean"})):M.assertValueType("boolean"),default:!1},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let f=M.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),G=M.assertNodeType("Expression");return function(X,J,W){(uf.default("ObjectPattern",X)?f:G)(W,"value",W.value)}}()});v("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},K1(),{argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal"):M.assertNodeType("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(f,G){let X=/(\w+)\[(\d+)\]/.exec(G);if(!X)throw new Error("Internal Babel error: malformed key.");let[,J,W]=X;if(f[J].length>+W+1)throw new TypeError(`RestElement must be last element of ${J}`)}:void 0});v("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression"),optional:!0}}});v("SequenceExpression",{visitor:["expressions"],fields:{expressions:M.validateArrayOfType("Expression")},aliases:["Expression"]});v("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:M.assertNodeType("Expression")}}});v("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:M.assertNodeType("Expression"),optional:!0},consequent:M.validateArrayOfType("Statement")}});v("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:M.assertNodeType("Expression")},cases:M.validateArrayOfType("SwitchCase")}});v("ThisExpression",{aliases:["Expression"]});v("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression")}}});v("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("BlockStatement"),Object.assign(function(f){if(!f.handler&&!f.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):M.assertNodeType("BlockStatement")},handler:{optional:!0,validate:M.assertNodeType("CatchClause")},finalizer:{optional:!0,validate:M.assertNodeType("BlockStatement")}}});v("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:M.assertNodeType("Expression")},operator:{validate:M.assertOneOf(...m1.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});v("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("Expression"):M.assertNodeType("Identifier","MemberExpression")},operator:{validate:M.assertOneOf(...m1.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});v("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:M.assertValueType("boolean"),optional:!0},kind:{validate:M.assertOneOf("var","let","const","using","await using")},declarations:M.validateArrayOfType("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let f=M.assertNodeType("Identifier");return function(G,X,J){if(uf.default("ForXStatement",G,{left:J})){if(J.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${G.type}`)}else J.declarations.forEach((W)=>{if(!W.init)f(W,"id",W.id)})}})():void 0});v("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertNodeType("LVal"):M.assertNodeType("Identifier","ArrayPattern","ObjectPattern")},definite:{optional:!0,validate:M.assertValueType("boolean")},init:{optional:!0,validate:M.assertNodeType("Expression")}}});v("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});v("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});v("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},K1(),{left:{validate:M.assertNodeType("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}})});v("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},K1(),{elements:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeOrValueType("null","PatternLike","LVal")))}})});v("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},M1(),rG(),{expression:{validate:M.assertValueType("boolean")},body:{validate:M.assertNodeType("BlockStatement","Expression")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});v("ClassBody",{visitor:["body"],fields:{body:M.validateArrayOfType("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});v("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:M.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:M.assertNodeType("ClassBody")},superClass:{optional:!0,validate:M.assertNodeType("Expression")},["superTypeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:M.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},mixins:{validate:M.assertNodeType("InterfaceExtends"),optional:!0}}});v("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:M.assertNodeType("Identifier"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:M.assertNodeType("ClassBody")},superClass:{optional:!0,validate:M.assertNodeType("Expression")},["superTypeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:M.arrayOfType("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},mixins:{validate:M.assertNodeType("InterfaceExtends"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},abstract:{validate:M.assertValueType("boolean"),optional:!0}},validate:!process.env.BABEL_TYPES_8_BREAKING?void 0:function(){let f=M.assertNodeType("Identifier");return function(G,X,J){if(!uf.default("ExportDefaultDeclaration",G))f(J,"id",J.id)}}()});var WJ=G0.importAttributes={attributes:{optional:!0,validate:M.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:M.arrayOfType("ImportAttribute")}};v("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:M.assertNodeType("StringLiteral")},exportKind:M.validateOptional(M.assertOneOf("type","value"))},WJ)});v("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:M.validateType("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:M.validateOptional(M.assertOneOf("value"))}});v("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Declaration"),Object.assign(function(f,G,X){if(X&&f.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(X&&f.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):M.assertNodeType("Declaration")}},WJ,{specifiers:{default:[],validate:M.arrayOf(function(){let f=M.assertNodeType("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),G=M.assertNodeType("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return f;return Object.assign(function(X,J,W){(X.source?f:G)(X,J,W)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]})}())},source:{validate:M.assertNodeType("StringLiteral"),optional:!0},exportKind:M.validateOptional(M.assertOneOf("type","value"))})});v("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")},exported:{validate:M.assertNodeType("Identifier","StringLiteral")},exportKind:{validate:M.assertOneOf("type","value"),optional:!0}}});v("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 M.assertNodeType("VariableDeclaration","LVal");let f=M.assertNodeType("VariableDeclaration"),G=M.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(X,J,W){if(uf.default("VariableDeclaration",W))f(X,J,W);else G(X,J,W)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")},await:{default:!1}}});v("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},WJ,{module:{optional:!0,validate:M.assertValueType("boolean")},phase:{default:null,validate:M.assertOneOf("source","defer")},specifiers:M.validateArrayOfType("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:M.assertNodeType("StringLiteral")},importKind:{validate:M.assertOneOf("type","typeof","value"),optional:!0}})});v("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});v("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});v("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")},imported:{validate:M.assertNodeType("Identifier","StringLiteral")},importKind:{validate:M.assertOneOf("type","typeof","value"),optional:!0}}});v("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:M.assertOneOf("source","defer")},source:{validate:M.assertNodeType("Expression")},options:{validate:M.assertNodeType("Expression"),optional:!0}}});v("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Identifier"),Object.assign(function(f,G,X){let J;switch(X.name){case"function":J="sent";break;case"new":J="target";break;case"import":J="meta";break}if(!uf.default("Identifier",f.property,{name:J}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):M.assertNodeType("Identifier")},property:{validate:M.assertNodeType("Identifier")}}});var kX=()=>({abstract:{validate:M.assertValueType("boolean"),optional:!0},accessibility:{validate:M.assertOneOf("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:M.assertValueType("boolean"),optional:!0},key:{validate:M.chain(function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),G=M.assertNodeType("Expression");return function(X,J,W){(X.computed?G:f)(X,J,W)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});G0.classMethodOrPropertyCommon=kX;var RJ=()=>Object.assign({},M1(),kX(),{params:M.validateArrayOfType("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:M.assertOneOf("get","set","method","constructor"),default:"method"},access:{validate:M.chain(M.assertValueType("string"),M.assertOneOf("public","private","protected")),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});G0.classMethodOrDeclareMethodCommon=RJ;v("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},RJ(),rG(),{body:{validate:M.assertNodeType("BlockStatement")}})});v("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},K1(),{properties:M.validateArrayOfType("RestElement","ObjectProperty")})});v("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:M.assertNodeType("Expression")}}});v("Super",{aliases:["Expression"]});v("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:M.assertNodeType("Expression")},quasi:{validate:M.assertNodeType("TemplateLiteral")},["typeParameters"]:{validate:M.assertNodeType("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});v("TemplateElement",{builder:["value","tail"],fields:{value:{validate:M.chain(M.assertShape({raw:{validate:M.assertValueType("string")},cooked:{validate:M.assertValueType("string"),optional:!0}}),function f(G){let X=G.value.raw,J=!1,W=()=>{throw new Error("Internal @babel/types error.")},{str:R,firstInvalidLoc:V}=uA.readStringContents("template",X,0,0,0,{unterminated(){J=!0},strictNumericEscape:W,invalidEscapeSequence:W,numericSeparatorInEscapeSequence:W,unexpectedNumericSeparator:W,invalidDigit:W,invalidCodePoint:W});if(!J)throw new Error("Invalid raw");G.value.cooked=V?null:R})},tail:{default:!1}}});v("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:M.validateArrayOfType("TemplateElement"),expressions:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeType("Expression","TSType")),function(f,G,X){if(f.quasis.length!==X.length+1)throw new TypeError(`Number of ${f.type} quasis should be exactly one more than the number of expressions.
11
+ Expected ${X.length+1} quasis but got ${f.quasis.length}`)})}}});v("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("boolean"),Object.assign(function(f,G,X){if(X&&!f.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):M.assertValueType("boolean"),default:!1},argument:{optional:!0,validate:M.assertNodeType("Expression")}}});v("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:M.assertNodeType("Expression")}}});v("Import",{aliases:["Expression"]});v("BigIntLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});v("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:M.assertNodeType("Identifier")}}});v("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:M.assertNodeType("Expression")},property:{validate:function(){let f=M.assertNodeType("Identifier"),G=M.assertNodeType("Expression");return Object.assign(function(J,W,R){(J.computed?G:f)(J,W,R)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())}}});v("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:M.assertNodeType("Expression")},arguments:M.validateArrayOfType("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())},typeArguments:{validate:M.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:M.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});v("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},kX(),{value:{validate:M.assertNodeType("Expression"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},readonly:{validate:M.assertValueType("boolean"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}})});v("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},kX(),{key:{validate:M.chain(function(){let f=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),G=M.assertNodeType("Expression");return function(X,J,W){(X.computed?G:f)(X,J,W)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:M.assertNodeType("Expression"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},readonly:{validate:M.assertValueType("boolean"),optional:!0},declare:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}})});v("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:M.assertNodeType("PrivateName")},value:{validate:M.assertNodeType("Expression"),optional:!0},typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0},static:{validate:M.assertValueType("boolean"),default:!1},readonly:{validate:M.assertValueType("boolean"),optional:!0},optional:{validate:M.assertValueType("boolean"),optional:!0},definite:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}}});v("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},RJ(),rG(),{kind:{validate:M.assertOneOf("get","set","method"),default:"method"},key:{validate:M.assertNodeType("PrivateName")},body:{validate:M.assertNodeType("BlockStatement")}})});v("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:M.assertNodeType("Identifier")}}});v("StaticBlock",{visitor:["body"],fields:{body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})});var W0=D(()=>{var J0=l1(),j=BG(),r=j.defineAliasedType("Flow"),VJ=(f)=>{let G=f==="DeclareClass";r(f,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...G?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:j.validateType("Identifier"),typeParameters:j.validateOptionalType("TypeParameterDeclaration"),extends:j.validateOptional(j.arrayOfType("InterfaceExtends"))},G?{mixins:j.validateOptional(j.arrayOfType("InterfaceExtends")),implements:j.validateOptional(j.arrayOfType("ClassImplements"))}:{},{body:j.validateType("ObjectTypeAnnotation")})})};r("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:j.validateType("FlowType")}});r("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:j.validate(j.assertValueType("boolean"))}});r("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ClassImplements",{visitor:["id","typeParameters"],fields:{id:j.validateType("Identifier"),typeParameters:j.validateOptionalType("TypeParameterInstantiation")}});VJ("DeclareClass");r("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier"),predicate:j.validateOptionalType("DeclaredPredicate")}});VJ("DeclareInterface");r("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier","StringLiteral"),body:j.validateType("BlockStatement"),kind:j.validateOptional(j.assertOneOf("CommonJS","ES"))}});r("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:j.validateType("TypeAnnotation")}});r("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier"),typeParameters:j.validateOptionalType("TypeParameterDeclaration"),right:j.validateType("FlowType")}});r("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier"),typeParameters:j.validateOptionalType("TypeParameterDeclaration"),supertype:j.validateOptionalType("FlowType"),impltype:j.validateOptionalType("FlowType")}});r("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier")}});r("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:j.validateOptionalType("Flow"),specifiers:j.validateOptional(j.arrayOfType("ExportSpecifier","ExportNamespaceSpecifier")),source:j.validateOptionalType("StringLiteral"),default:j.validateOptional(j.assertValueType("boolean"))},J0.importAttributes)});r("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:j.validateType("StringLiteral"),exportKind:j.validateOptional(j.assertOneOf("type","value"))},J0.importAttributes)});r("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:j.validateType("Flow")}});r("ExistsTypeAnnotation",{aliases:["FlowType"]});r("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:j.validateOptionalType("TypeParameterDeclaration"),params:j.validateArrayOfType("FunctionTypeParam"),rest:j.validateOptionalType("FunctionTypeParam"),this:j.validateOptionalType("FunctionTypeParam"),returnType:j.validateType("FlowType")}});r("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:j.validateOptionalType("Identifier"),typeAnnotation:j.validateType("FlowType"),optional:j.validateOptional(j.assertValueType("boolean"))}});r("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:j.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:j.validateOptionalType("TypeParameterInstantiation")}});r("InferredPredicate",{aliases:["FlowPredicate"]});r("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:j.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:j.validateOptionalType("TypeParameterInstantiation")}});VJ("InterfaceDeclaration");r("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:j.validateOptional(j.arrayOfType("InterfaceExtends")),body:j.validateType("ObjectTypeAnnotation")}});r("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:j.validate(j.arrayOfType("FlowType"))}});r("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:j.validateType("FlowType")}});r("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:j.validate(j.assertValueType("number"))}});r("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:j.validate(j.arrayOfType("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:j.arrayOfType("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:j.arrayOfType("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:j.arrayOfType("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:j.assertValueType("boolean"),default:!1},inexact:j.validateOptional(j.assertValueType("boolean"))}});r("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:j.validateType("Identifier"),value:j.validateType("FlowType"),optional:j.validate(j.assertValueType("boolean")),static:j.validate(j.assertValueType("boolean")),method:j.validate(j.assertValueType("boolean"))}});r("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:j.validateType("FlowType"),static:j.validate(j.assertValueType("boolean"))}});r("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:j.validateOptionalType("Identifier"),key:j.validateType("FlowType"),value:j.validateType("FlowType"),static:j.validate(j.assertValueType("boolean")),variance:j.validateOptionalType("Variance")}});r("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:j.validateType("Identifier","StringLiteral"),value:j.validateType("FlowType"),kind:j.validate(j.assertOneOf("init","get","set")),static:j.validate(j.assertValueType("boolean")),proto:j.validate(j.assertValueType("boolean")),optional:j.validate(j.assertValueType("boolean")),variance:j.validateOptionalType("Variance"),method:j.validate(j.assertValueType("boolean"))}});r("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:j.validateType("FlowType")}});r("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier"),typeParameters:j.validateOptionalType("TypeParameterDeclaration"),supertype:j.validateOptionalType("FlowType"),impltype:j.validateType("FlowType")}});r("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:j.validateType("Identifier"),qualification:j.validateType("Identifier","QualifiedTypeIdentifier")}});r("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:j.validate(j.assertValueType("string"))}});r("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:j.validate(j.arrayOfType("FlowType"))}});r("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:j.validateType("FlowType")}});r("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:j.validateType("Identifier"),typeParameters:j.validateOptionalType("TypeParameterDeclaration"),right:j.validateType("FlowType")}});r("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:j.validateType("FlowType")}});r("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:j.validateType("Expression"),typeAnnotation:j.validateType("TypeAnnotation")}});r("TypeParameter",{visitor:["bound","default","variance"],fields:{name:j.validate(j.assertValueType("string")),bound:j.validateOptionalType("TypeAnnotation"),default:j.validateOptionalType("FlowType"),variance:j.validateOptionalType("Variance")}});r("TypeParameterDeclaration",{visitor:["params"],fields:{params:j.validate(j.arrayOfType("TypeParameter"))}});r("TypeParameterInstantiation",{visitor:["params"],fields:{params:j.validate(j.arrayOfType("FlowType"))}});r("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:j.validate(j.arrayOfType("FlowType"))}});r("Variance",{builder:["kind"],fields:{kind:j.validate(j.assertOneOf("minus","plus"))}});r("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});r("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:j.validateType("Identifier"),body:j.validateType("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});r("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:j.validate(j.assertValueType("boolean")),members:j.validateArrayOfType("EnumBooleanMember"),hasUnknownMembers:j.validate(j.assertValueType("boolean"))}});r("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:j.validate(j.assertValueType("boolean")),members:j.validateArrayOfType("EnumNumberMember"),hasUnknownMembers:j.validate(j.assertValueType("boolean"))}});r("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:j.validate(j.assertValueType("boolean")),members:j.validateArrayOfType("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:j.validate(j.assertValueType("boolean"))}});r("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:j.validateArrayOfType("EnumDefaultedMember"),hasUnknownMembers:j.validate(j.assertValueType("boolean"))}});r("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:j.validateType("Identifier"),init:j.validateType("BooleanLiteral")}});r("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:j.validateType("Identifier"),init:j.validateType("NumericLiteral")}});r("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:j.validateType("Identifier"),init:j.validateType("StringLiteral")}});r("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:j.validateType("Identifier")}});r("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:j.validateType("FlowType"),indexType:j.validateType("FlowType")}});r("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:j.validateType("FlowType"),indexType:j.validateType("FlowType"),optional:j.validate(j.assertValueType("boolean"))}})});var R0=D(()=>{var Df=BG(),hf=Df.defineAliasedType("JSX");hf("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:Df.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:Df.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});hf("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:Df.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});hf("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:Df.assertNodeType("JSXOpeningElement")},closingElement:{optional:!0,validate:Df.assertNodeType("JSXClosingElement")},children:Df.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:Df.assertValueType("boolean"),optional:!0}})});hf("JSXEmptyExpression",{});hf("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Df.assertNodeType("Expression","JSXEmptyExpression")}}});hf("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:Df.assertNodeType("Expression")}}});hf("JSXIdentifier",{builder:["name"],fields:{name:{validate:Df.assertValueType("string")}}});hf("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:Df.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:Df.assertNodeType("JSXIdentifier")}}});hf("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:Df.assertNodeType("JSXIdentifier")},name:{validate:Df.assertNodeType("JSXIdentifier")}}});hf("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:Df.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:Df.validateArrayOfType("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:Df.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:Df.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});hf("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:Df.assertNodeType("Expression")}}});hf("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:Df.assertValueType("string")}}});hf("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:Df.assertNodeType("JSXOpeningFragment")},closingFragment:{validate:Df.assertNodeType("JSXClosingFragment")},children:Df.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});hf("JSXOpeningFragment",{aliases:["Immutable"]});hf("JSXClosingFragment",{aliases:["Immutable"]})});var QJ=D((V0)=>{Object.defineProperty(V0,"__esModule",{value:!0});V0.PLACEHOLDERS_FLIPPED_ALIAS=V0.PLACEHOLDERS_ALIAS=V0.PLACEHOLDERS=void 0;var aA=BG(),iA=V0.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],UJ=V0.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let f of iA){let G=aA.ALIAS_KEYS[f];if(G!=null&&G.length)UJ[f]=G}var HJ=V0.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(UJ).forEach((f)=>{UJ[f].forEach((G)=>{if(!hasOwnProperty.call(HJ,G))HJ[G]=[];HJ[G].push(f)})})});var U0=D(()=>{var vX=BG(),sA=QJ(),dA=l1(),ZJ=vX.defineAliasedType("Miscellaneous");ZJ("Noop",{visitor:[]});ZJ("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:vX.assertNodeType("Identifier")},expectedNode:{validate:vX.assertOneOf(...sA.PLACEHOLDERS)}},dA.patternLikeCommon())});ZJ("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:vX.assertValueType("string")}}})});var Q0=D(()=>{var Af=BG();Af.default("ArgumentPlaceholder",{});Af.default("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:!process.env.BABEL_TYPES_8_BREAKING?{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}:{object:{validate:Af.assertNodeType("Expression")},callee:{validate:Af.assertNodeType("Expression")}}});Af.default("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:Af.assertNodeType("Identifier","StringLiteral")},value:{validate:Af.assertNodeType("StringLiteral")}}});Af.default("Decorator",{visitor:["expression"],fields:{expression:{validate:Af.assertNodeType("Expression")}}});Af.default("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:Af.assertNodeType("BlockStatement")},async:{validate:Af.assertValueType("boolean"),default:!1}}});Af.default("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:Af.assertNodeType("Identifier")}}});Af.default("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:Af.validateArrayOfType("ObjectProperty","SpreadElement")}});Af.default("TupleExpression",{fields:{elements:{validate:Af.arrayOfType("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});Af.default("DecimalLiteral",{builder:["value"],fields:{value:{validate:Af.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Af.default("ModuleExpression",{visitor:["body"],fields:{body:{validate:Af.assertNodeType("Program")}},aliases:["Expression"]});Af.default("TopicReference",{aliases:["Expression"]});Af.default("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:Af.assertNodeType("Expression")}},aliases:["Expression"]});Af.default("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:Af.assertNodeType("Expression")}},aliases:["Expression"]});Af.default("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var S0=D(()=>{var N=BG(),Z0=l1(),tA=z1(),t=N.defineAliasedType("TypeScript"),af=N.assertValueType("boolean"),Y0=()=>({returnType:{validate:N.assertNodeType("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:N.assertNodeType("TSTypeParameterDeclaration","Noop"),optional:!0}});t("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:N.assertOneOf("public","private","protected"),optional:!0},readonly:{validate:N.assertValueType("boolean"),optional:!0},parameter:{validate:N.assertNodeType("Identifier","AssignmentPattern")},override:{validate:N.assertValueType("boolean"),optional:!0},decorators:{validate:N.arrayOfType("Decorator"),optional:!0}}});t("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},Z0.functionDeclarationCommon(),Y0())});t("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},Z0.classMethodOrDeclareMethodCommon(),Y0())});t("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:N.validateType("TSEntityName"),right:N.validateType("Identifier")}});var gX=()=>({typeParameters:N.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:N.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:N.validateOptionalType("TSTypeAnnotation")}),z0={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:gX()};t("TSCallSignatureDeclaration",z0);t("TSConstructSignatureDeclaration",z0);var B0=()=>({key:N.validateType("Expression"),computed:{default:!1},optional:N.validateOptional(af)});t("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},B0(),{readonly:N.validateOptional(af),typeAnnotation:N.validateOptionalType("TSTypeAnnotation"),kind:{optional:!0,validate:N.assertOneOf("get","set")}})});t("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},gX(),B0(),{kind:{validate:N.assertOneOf("method","get","set")}})});t("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:N.validateOptional(af),static:N.validateOptional(af),parameters:N.validateArrayOfType("Identifier"),typeAnnotation:N.validateOptionalType("TSTypeAnnotation")}});var nA=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let f of nA)t(f,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});t("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var M0={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};t("TSFunctionType",Object.assign({},M0,{fields:gX()}));t("TSConstructorType",Object.assign({},M0,{fields:Object.assign({},gX(),{abstract:N.validateOptional(af)})}));t("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:N.validateType("TSEntityName"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation")}});t("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:N.validateType("Identifier","TSThisType"),typeAnnotation:N.validateOptionalType("TSTypeAnnotation"),asserts:N.validateOptional(af)}});t("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:N.validateType("TSEntityName","TSImportType"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation")}});t("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:N.validateArrayOfType("TSTypeElement")}});t("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:N.validateType("TSType")}});t("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:N.validateArrayOfType("TSType","TSNamedTupleMember")}});t("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:N.validateType("TSType")}});t("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:N.validateType("TSType")}});t("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:N.validateType("Identifier"),optional:{validate:af,default:!1},elementType:N.validateType("TSType")}});var K0={aliases:["TSType"],visitor:["types"],fields:{types:N.validateArrayOfType("TSType")}};t("TSUnionType",K0);t("TSIntersectionType",K0);t("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:N.validateType("TSType"),extendsType:N.validateType("TSType"),trueType:N.validateType("TSType"),falseType:N.validateType("TSType")}});t("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:N.validateType("TSTypeParameter")}});t("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:N.validateType("TSType")}});t("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:N.validate(N.assertValueType("string")),typeAnnotation:N.validateType("TSType")}});t("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:N.validateType("TSType"),indexType:N.validateType("TSType")}});t("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:N.validateType("TSTypeParameter")},{readonly:N.validateOptional(N.assertOneOf(!0,!1,"+","-")),optional:N.validateOptional(N.assertOneOf(!0,!1,"+","-")),typeAnnotation:N.validateOptionalType("TSType"),nameType:N.validateOptionalType("TSType")})});t("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:N.validateArrayOfType("TemplateElement"),types:{validate:N.chain(N.assertValueType("array"),N.assertEach(N.assertNodeType("TSType")),function(f,G,X){if(f.quasis.length!==X.length+1)throw new TypeError(`Number of ${f.type} quasis should be exactly one more than the number of types.
12
+ Expected ${X.length+1} quasis but got ${f.quasis.length}`)})}}});t("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let f=N.assertNodeType("NumericLiteral","BigIntLiteral"),G=N.assertOneOf("-"),X=N.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function J(W,R,V){if(tA.default("UnaryExpression",V))G(V,"operator",V.operator),f(V,"argument",V.argument);else X(W,R,V)}return J.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],J}()}}});t("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:N.validateType("TSEntityName"),typeParameters:N.validateOptionalType("TSTypeParameterInstantiation")}});t("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:N.validateOptional(af),id:N.validateType("Identifier"),typeParameters:N.validateOptionalType("TSTypeParameterDeclaration"),extends:N.validateOptional(N.arrayOfType("TSExpressionWithTypeArguments")),body:N.validateType("TSInterfaceBody")}});t("TSInterfaceBody",{visitor:["body"],fields:{body:N.validateArrayOfType("TSTypeElement")}});t("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:N.validateOptional(af),id:N.validateType("Identifier"),typeParameters:N.validateOptionalType("TSTypeParameterDeclaration"),typeAnnotation:N.validateType("TSType")}});t("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:N.validateType("Expression"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation")}});var F0={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:N.validateType("Expression"),typeAnnotation:N.validateType("TSType")}};t("TSAsExpression",F0);t("TSSatisfiesExpression",F0);t("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:N.validateType("TSType"),expression:N.validateType("Expression")}});t("TSEnumBody",{visitor:["members"],fields:{members:N.validateArrayOfType("TSEnumMember")}});t("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:N.validateOptional(af),const:N.validateOptional(af),id:N.validateType("Identifier"),members:N.validateArrayOfType("TSEnumMember"),initializer:N.validateOptionalType("Expression"),body:N.validateOptionalType("TSEnumBody")}});t("TSEnumMember",{visitor:["id","initializer"],fields:{id:N.validateType("Identifier","StringLiteral"),initializer:N.validateOptionalType("Expression")}});t("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:N.assertOneOf("global","module","namespace")},declare:N.validateOptional(af)},{global:N.validateOptional(af)},{id:N.validateType("Identifier","StringLiteral"),body:N.validateType("TSModuleBlock","TSModuleDeclaration")})});t("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:N.validateArrayOfType("Statement")}});t("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:N.validateType("StringLiteral"),qualifier:N.validateOptionalType("TSEntityName"),["typeParameters"]:N.validateOptionalType("TSTypeParameterInstantiation"),options:{validate:N.assertNodeType("Expression"),optional:!0}}});t("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:N.validate(af)},{id:N.validateType("Identifier"),moduleReference:N.validateType("TSEntityName","TSExternalModuleReference"),importKind:{validate:N.assertOneOf("type","value"),optional:!0}})});t("TSExternalModuleReference",{visitor:["expression"],fields:{expression:N.validateType("StringLiteral")}});t("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:N.validateType("Expression")}});t("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:N.validateType("Expression")}});t("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:N.validateType("Identifier")}});t("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:N.assertNodeType("TSType")}}});t("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:N.validateArrayOfType("TSType")}});t("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:N.validateArrayOfType("TSTypeParameter")}});t("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:N.assertValueType("string")},in:{validate:N.assertValueType("boolean"),optional:!0},out:{validate:N.assertValueType("boolean"),optional:!0},const:{validate:N.assertValueType("boolean"),optional:!0},constraint:{validate:N.assertNodeType("TSType"),optional:!0},default:{validate:N.assertNodeType("TSType"),optional:!0}}})});var C0=D(($0)=>{Object.defineProperty($0,"__esModule",{value:!0});$0.DEPRECATED_ALIASES=void 0;var S3f=$0.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var of=D((df)=>{Object.defineProperty(df,"__esModule",{value:!0});Object.defineProperty(df,"ALIAS_KEYS",{enumerable:!0,get:function(){return ef.ALIAS_KEYS}});Object.defineProperty(df,"BUILDER_KEYS",{enumerable:!0,get:function(){return ef.BUILDER_KEYS}});Object.defineProperty(df,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return YJ.DEPRECATED_ALIASES}});Object.defineProperty(df,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return ef.DEPRECATED_KEYS}});Object.defineProperty(df,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return ef.FLIPPED_ALIAS_KEYS}});Object.defineProperty(df,"NODE_FIELDS",{enumerable:!0,get:function(){return ef.NODE_FIELDS}});Object.defineProperty(df,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return ef.NODE_PARENT_VALIDATIONS}});Object.defineProperty(df,"PLACEHOLDERS",{enumerable:!0,get:function(){return zJ.PLACEHOLDERS}});Object.defineProperty(df,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return zJ.PLACEHOLDERS_ALIAS}});Object.defineProperty(df,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return zJ.PLACEHOLDERS_FLIPPED_ALIAS}});df.TYPES=void 0;Object.defineProperty(df,"VISITOR_KEYS",{enumerable:!0,get:function(){return ef.VISITOR_KEYS}});l1();W0();R0();U0();Q0();S0();var ef=BG(),zJ=QJ(),YJ=C0();Object.keys(YJ.DEPRECATED_ALIASES).forEach((f)=>{ef.FLIPPED_ALIAS_KEYS[f]=ef.FLIPPED_ALIAS_KEYS[YJ.DEPRECATED_ALIASES[f]]});var q3f=df.TYPES=[].concat(Object.keys(ef.VISITOR_KEYS),Object.keys(ef.FLIPPED_ALIAS_KEYS),Object.keys(ef.DEPRECATED_KEYS))});var EX=D((D0)=>{Object.defineProperty(D0,"__esModule",{value:!0});D0.default=oA;D0.validateChild=O0;D0.validateField=j0;D0.validateInternal=eA;var c1=of();function oA(f,G,X){if(!f)return;let J=c1.NODE_FIELDS[f.type];if(!J)return;let W=J[G];j0(f,G,X,W),O0(f,G,X)}function eA(f,G,X,J,W){if(!(f!=null&&f.validate))return;if(f.optional&&J==null)return;if(f.validate(G,X,J),W){var R;let V=J.type;if(V==null)return;(R=c1.NODE_PARENT_VALIDATIONS[V])==null||R.call(c1.NODE_PARENT_VALIDATIONS,G,X,J)}}function j0(f,G,X,J){if(!(J!=null&&J.validate))return;if(J.optional&&X==null)return;J.validate(f,G,X)}function O0(f,G,X){var J;let W=X==null?void 0:X.type;if(W==null)return;(J=c1.NODE_PARENT_VALIDATIONS[W])==null||J.call(c1.NODE_PARENT_VALIDATIONS,f,G,X)}});var BJ=D((L0)=>{Object.defineProperty(L0,"__esModule",{value:!0});L0.anyTypeAnnotation=_O;L0.argumentPlaceholder=YI;L0.arrayExpression=Vj;L0.arrayPattern=GO;L0.arrayTypeAnnotation=uO;L0.arrowFunctionExpression=XO;L0.assignmentExpression=Hj;L0.assignmentPattern=fO;L0.awaitExpression=DO;L0.bigIntLiteral=PO;L0.binaryExpression=Uj;L0.bindExpression=zI;L0.blockStatement=zj;L0.booleanLiteral=Ej;L0.booleanLiteralTypeAnnotation=yO;L0.booleanTypeAnnotation=hO;L0.breakStatement=Bj;L0.callExpression=Mj;L0.catchClause=Kj;L0.classAccessorProperty=wO;L0.classBody=JO;L0.classDeclaration=RO;L0.classExpression=WO;L0.classImplements=mO;L0.classMethod=SO;L0.classPrivateMethod=kO;L0.classPrivateProperty=EO;L0.classProperty=bO;L0.conditionalExpression=Fj;L0.continueStatement=Sj;L0.debuggerStatement=$j;L0.decimalLiteral=qI;L0.declareClass=lO;L0.declareExportAllDeclaration=nO;L0.declareExportDeclaration=tO;L0.declareFunction=cO;L0.declareInterface=aO;L0.declareModule=iO;L0.declareModuleExports=rO;L0.declareOpaqueType=sO;L0.declareTypeAlias=pO;L0.declareVariable=dO;L0.declaredPredicate=oO;L0.decorator=MI;L0.directive=Zj;L0.directiveLiteral=Yj;L0.doExpression=KI;L0.doWhileStatement=qj;L0.emptyStatement=Cj;L0.emptyTypeAnnotation=QD;L0.enumBooleanBody=uD;L0.enumBooleanMember=mD;L0.enumDeclaration=_D;L0.enumDefaultedMember=aD;L0.enumNumberBody=hD;L0.enumNumberMember=lD;L0.enumStringBody=yD;L0.enumStringMember=cD;L0.enumSymbolBody=xD;L0.existsTypeAnnotation=eO;L0.exportAllDeclaration=VO;L0.exportDefaultDeclaration=HO;L0.exportDefaultSpecifier=FI;L0.exportNamedDeclaration=UO;L0.exportNamespaceSpecifier=NO;L0.exportSpecifier=QO;L0.expressionStatement=Aj;L0.file=jj;L0.forInStatement=Oj;L0.forOfStatement=ZO;L0.forStatement=Dj;L0.functionDeclaration=Ij;L0.functionExpression=Pj;L0.functionTypeAnnotation=fD;L0.functionTypeParam=GD;L0.genericTypeAnnotation=XD;L0.identifier=Nj;L0.ifStatement=Tj;L0.import=IO;L0.importAttribute=BI;L0.importDeclaration=YO;L0.importDefaultSpecifier=zO;L0.importExpression=KO;L0.importNamespaceSpecifier=BO;L0.importSpecifier=MO;L0.indexedAccessType=iD;L0.inferredPredicate=JD;L0.interfaceDeclaration=RD;L0.interfaceExtends=WD;L0.interfaceTypeAnnotation=VD;L0.interpreterDirective=Qj;L0.intersectionTypeAnnotation=HD;L0.jSXAttribute=L0.jsxAttribute=pD;L0.jSXClosingElement=L0.jsxClosingElement=sD;L0.jSXClosingFragment=L0.jsxClosingFragment=HI;L0.jSXElement=L0.jsxElement=dD;L0.jSXEmptyExpression=L0.jsxEmptyExpression=tD;L0.jSXExpressionContainer=L0.jsxExpressionContainer=nD;L0.jSXFragment=L0.jsxFragment=RI;L0.jSXIdentifier=L0.jsxIdentifier=eD;L0.jSXMemberExpression=L0.jsxMemberExpression=fI;L0.jSXNamespacedName=L0.jsxNamespacedName=GI;L0.jSXOpeningElement=L0.jsxOpeningElement=XI;L0.jSXOpeningFragment=L0.jsxOpeningFragment=VI;L0.jSXSpreadAttribute=L0.jsxSpreadAttribute=JI;L0.jSXSpreadChild=L0.jsxSpreadChild=oD;L0.jSXText=L0.jsxText=WI;L0.labeledStatement=Lj;L0.logicalExpression=kj;L0.memberExpression=vj;L0.metaProperty=FO;L0.mixedTypeAnnotation=UD;L0.moduleExpression=CI;L0.newExpression=gj;L0.noop=UI;L0.nullLiteral=wj;L0.nullLiteralTypeAnnotation=xO;L0.nullableTypeAnnotation=ZD;L0.numberLiteral=hP;L0.numberLiteralTypeAnnotation=YD;L0.numberTypeAnnotation=zD;L0.numericLiteral=I0;L0.objectExpression=uj;L0.objectMethod=hj;L0.objectPattern=$O;L0.objectProperty=yj;L0.objectTypeAnnotation=BD;L0.objectTypeCallProperty=KD;L0.objectTypeIndexer=FD;L0.objectTypeInternalSlot=MD;L0.objectTypeProperty=SD;L0.objectTypeSpreadProperty=$D;L0.opaqueType=qD;L0.optionalCallExpression=LO;L0.optionalIndexedAccessType=rD;L0.optionalMemberExpression=TO;L0.parenthesizedExpression=lj;L0.pipelineBareFunction=OI;L0.pipelinePrimaryTopicReference=DI;L0.pipelineTopicExpression=jI;L0.placeholder=QI;L0.privateName=vO;L0.program=_j;L0.qualifiedTypeIdentifier=CD;L0.recordExpression=SI;L0.regExpLiteral=P0;L0.regexLiteral=yP;L0.restElement=N0;L0.restProperty=xP;L0.returnStatement=xj;L0.sequenceExpression=mj;L0.spreadElement=T0;L0.spreadProperty=mP;L0.staticBlock=gO;L0.stringLiteral=bj;L0.stringLiteralTypeAnnotation=AD;L0.stringTypeAnnotation=jD;L0.super=qO;L0.switchCase=cj;L0.switchStatement=aj;L0.symbolTypeAnnotation=OD;L0.taggedTemplateExpression=CO;L0.templateElement=AO;L0.templateLiteral=jO;L0.thisExpression=ij;L0.thisTypeAnnotation=DD;L0.throwStatement=rj;L0.topicReference=AI;L0.tryStatement=pj;L0.tSAnyKeyword=L0.tsAnyKeyword=vI;L0.tSArrayType=L0.tsArrayType=fP;L0.tSAsExpression=L0.tsAsExpression=CP;L0.tSBigIntKeyword=L0.tsBigIntKeyword=_I;L0.tSBooleanKeyword=L0.tsBooleanKeyword=gI;L0.tSCallSignatureDeclaration=L0.tsCallSignatureDeclaration=LI;L0.tSConditionalType=L0.tsConditionalType=HP;L0.tSConstructSignatureDeclaration=L0.tsConstructSignatureDeclaration=bI;L0.tSConstructorType=L0.tsConstructorType=dI;L0.tSDeclareFunction=L0.tsDeclareFunction=PI;L0.tSDeclareMethod=L0.tsDeclareMethod=NI;L0.tSEnumBody=L0.tsEnumBody=OP;L0.tSEnumDeclaration=L0.tsEnumDeclaration=DP;L0.tSEnumMember=L0.tsEnumMember=IP;L0.tSExportAssignment=L0.tsExportAssignment=EP;L0.tSExpressionWithTypeArguments=L0.tsExpressionWithTypeArguments=KP;L0.tSExternalModuleReference=L0.tsExternalModuleReference=bP;L0.tSFunctionType=L0.tsFunctionType=sI;L0.tSImportEqualsDeclaration=L0.tsImportEqualsDeclaration=LP;L0.tSImportType=L0.tsImportType=TP;L0.tSIndexSignature=L0.tsIndexSignature=kI;L0.tSIndexedAccessType=L0.tsIndexedAccessType=YP;L0.tSInferType=L0.tsInferType=UP;L0.tSInstantiationExpression=L0.tsInstantiationExpression=qP;L0.tSInterfaceBody=L0.tsInterfaceBody=SP;L0.tSInterfaceDeclaration=L0.tsInterfaceDeclaration=FP;L0.tSIntersectionType=L0.tsIntersectionType=VP;L0.tSIntrinsicKeyword=L0.tsIntrinsicKeyword=uI;L0.tSLiteralType=L0.tsLiteralType=MP;L0.tSMappedType=L0.tsMappedType=zP;L0.tSMethodSignature=L0.tsMethodSignature=EI;L0.tSModuleBlock=L0.tsModuleBlock=NP;L0.tSModuleDeclaration=L0.tsModuleDeclaration=PP;L0.tSNamedTupleMember=L0.tsNamedTupleMember=WP;L0.tSNamespaceExportDeclaration=L0.tsNamespaceExportDeclaration=kP;L0.tSNeverKeyword=L0.tsNeverKeyword=hI;L0.tSNonNullExpression=L0.tsNonNullExpression=wP;L0.tSNullKeyword=L0.tsNullKeyword=yI;L0.tSNumberKeyword=L0.tsNumberKeyword=xI;L0.tSObjectKeyword=L0.tsObjectKeyword=mI;L0.tSOptionalType=L0.tsOptionalType=XP;L0.tSParameterProperty=L0.tsParameterProperty=II;L0.tSParenthesizedType=L0.tsParenthesizedType=QP;L0.tSPropertySignature=L0.tsPropertySignature=wI;L0.tSQualifiedName=L0.tsQualifiedName=TI;L0.tSRestType=L0.tsRestType=JP;L0.tSSatisfiesExpression=L0.tsSatisfiesExpression=AP;L0.tSStringKeyword=L0.tsStringKeyword=lI;L0.tSSymbolKeyword=L0.tsSymbolKeyword=cI;L0.tSTemplateLiteralType=L0.tsTemplateLiteralType=BP;L0.tSThisType=L0.tsThisType=pI;L0.tSTupleType=L0.tsTupleType=GP;L0.tSTypeAliasDeclaration=L0.tsTypeAliasDeclaration=$P;L0.tSTypeAnnotation=L0.tsTypeAnnotation=vP;L0.tSTypeAssertion=L0.tsTypeAssertion=jP;L0.tSTypeLiteral=L0.tsTypeLiteral=eI;L0.tSTypeOperator=L0.tsTypeOperator=ZP;L0.tSTypeParameter=L0.tsTypeParameter=uP;L0.tSTypeParameterDeclaration=L0.tsTypeParameterDeclaration=_P;L0.tSTypeParameterInstantiation=L0.tsTypeParameterInstantiation=gP;L0.tSTypePredicate=L0.tsTypePredicate=nI;L0.tSTypeQuery=L0.tsTypeQuery=oI;L0.tSTypeReference=L0.tsTypeReference=tI;L0.tSUndefinedKeyword=L0.tsUndefinedKeyword=aI;L0.tSUnionType=L0.tsUnionType=RP;L0.tSUnknownKeyword=L0.tsUnknownKeyword=iI;L0.tSVoidKeyword=L0.tsVoidKeyword=rI;L0.tupleExpression=$I;L0.tupleTypeAnnotation=ID;L0.typeAlias=ND;L0.typeAnnotation=TD;L0.typeCastExpression=LD;L0.typeParameter=bD;L0.typeParameterDeclaration=wD;L0.typeParameterInstantiation=ED;L0.typeofTypeAnnotation=PD;L0.unaryExpression=sj;L0.unionTypeAnnotation=kD;L0.updateExpression=dj;L0.v8IntrinsicIdentifier=ZI;L0.variableDeclaration=tj;L0.variableDeclarator=nj;L0.variance=vD;L0.voidTypeAnnotation=gD;L0.whileStatement=oj;L0.withStatement=ej;L0.yieldExpression=OO;var Wj=EX(),_X=_1(),Rj=BG(),{validateInternal:Z}=Wj,{NODE_FIELDS:q}=Rj;function Vj(f=[]){let G={type:"ArrayExpression",elements:f},X=q.ArrayExpression;return Z(X.elements,G,"elements",f,1),G}function Hj(f,G,X){let J={type:"AssignmentExpression",operator:f,left:G,right:X},W=q.AssignmentExpression;return Z(W.operator,J,"operator",f),Z(W.left,J,"left",G,1),Z(W.right,J,"right",X,1),J}function Uj(f,G,X){let J={type:"BinaryExpression",operator:f,left:G,right:X},W=q.BinaryExpression;return Z(W.operator,J,"operator",f),Z(W.left,J,"left",G,1),Z(W.right,J,"right",X,1),J}function Qj(f){let G={type:"InterpreterDirective",value:f},X=q.InterpreterDirective;return Z(X.value,G,"value",f),G}function Zj(f){let G={type:"Directive",value:f},X=q.Directive;return Z(X.value,G,"value",f,1),G}function Yj(f){let G={type:"DirectiveLiteral",value:f},X=q.DirectiveLiteral;return Z(X.value,G,"value",f),G}function zj(f,G=[]){let X={type:"BlockStatement",body:f,directives:G},J=q.BlockStatement;return Z(J.body,X,"body",f,1),Z(J.directives,X,"directives",G,1),X}function Bj(f=null){let G={type:"BreakStatement",label:f},X=q.BreakStatement;return Z(X.label,G,"label",f,1),G}function Mj(f,G){let X={type:"CallExpression",callee:f,arguments:G},J=q.CallExpression;return Z(J.callee,X,"callee",f,1),Z(J.arguments,X,"arguments",G,1),X}function Kj(f=null,G){let X={type:"CatchClause",param:f,body:G},J=q.CatchClause;return Z(J.param,X,"param",f,1),Z(J.body,X,"body",G,1),X}function Fj(f,G,X){let J={type:"ConditionalExpression",test:f,consequent:G,alternate:X},W=q.ConditionalExpression;return Z(W.test,J,"test",f,1),Z(W.consequent,J,"consequent",G,1),Z(W.alternate,J,"alternate",X,1),J}function Sj(f=null){let G={type:"ContinueStatement",label:f},X=q.ContinueStatement;return Z(X.label,G,"label",f,1),G}function $j(){return{type:"DebuggerStatement"}}function qj(f,G){let X={type:"DoWhileStatement",test:f,body:G},J=q.DoWhileStatement;return Z(J.test,X,"test",f,1),Z(J.body,X,"body",G,1),X}function Cj(){return{type:"EmptyStatement"}}function Aj(f){let G={type:"ExpressionStatement",expression:f},X=q.ExpressionStatement;return Z(X.expression,G,"expression",f,1),G}function jj(f,G=null,X=null){let J={type:"File",program:f,comments:G,tokens:X},W=q.File;return Z(W.program,J,"program",f,1),Z(W.comments,J,"comments",G,1),Z(W.tokens,J,"tokens",X),J}function Oj(f,G,X){let J={type:"ForInStatement",left:f,right:G,body:X},W=q.ForInStatement;return Z(W.left,J,"left",f,1),Z(W.right,J,"right",G,1),Z(W.body,J,"body",X,1),J}function Dj(f=null,G=null,X=null,J){let W={type:"ForStatement",init:f,test:G,update:X,body:J},R=q.ForStatement;return Z(R.init,W,"init",f,1),Z(R.test,W,"test",G,1),Z(R.update,W,"update",X,1),Z(R.body,W,"body",J,1),W}function Ij(f=null,G,X,J=!1,W=!1){let R={type:"FunctionDeclaration",id:f,params:G,body:X,generator:J,async:W},V=q.FunctionDeclaration;return Z(V.id,R,"id",f,1),Z(V.params,R,"params",G,1),Z(V.body,R,"body",X,1),Z(V.generator,R,"generator",J),Z(V.async,R,"async",W),R}function Pj(f=null,G,X,J=!1,W=!1){let R={type:"FunctionExpression",id:f,params:G,body:X,generator:J,async:W},V=q.FunctionExpression;return Z(V.id,R,"id",f,1),Z(V.params,R,"params",G,1),Z(V.body,R,"body",X,1),Z(V.generator,R,"generator",J),Z(V.async,R,"async",W),R}function Nj(f){let G={type:"Identifier",name:f},X=q.Identifier;return Z(X.name,G,"name",f),G}function Tj(f,G,X=null){let J={type:"IfStatement",test:f,consequent:G,alternate:X},W=q.IfStatement;return Z(W.test,J,"test",f,1),Z(W.consequent,J,"consequent",G,1),Z(W.alternate,J,"alternate",X,1),J}function Lj(f,G){let X={type:"LabeledStatement",label:f,body:G},J=q.LabeledStatement;return Z(J.label,X,"label",f,1),Z(J.body,X,"body",G,1),X}function bj(f){let G={type:"StringLiteral",value:f},X=q.StringLiteral;return Z(X.value,G,"value",f),G}function I0(f){let G={type:"NumericLiteral",value:f},X=q.NumericLiteral;return Z(X.value,G,"value",f),G}function wj(){return{type:"NullLiteral"}}function Ej(f){let G={type:"BooleanLiteral",value:f},X=q.BooleanLiteral;return Z(X.value,G,"value",f),G}function P0(f,G=""){let X={type:"RegExpLiteral",pattern:f,flags:G},J=q.RegExpLiteral;return Z(J.pattern,X,"pattern",f),Z(J.flags,X,"flags",G),X}function kj(f,G,X){let J={type:"LogicalExpression",operator:f,left:G,right:X},W=q.LogicalExpression;return Z(W.operator,J,"operator",f),Z(W.left,J,"left",G,1),Z(W.right,J,"right",X,1),J}function vj(f,G,X=!1,J=null){let W={type:"MemberExpression",object:f,property:G,computed:X,optional:J},R=q.MemberExpression;return Z(R.object,W,"object",f,1),Z(R.property,W,"property",G,1),Z(R.computed,W,"computed",X),Z(R.optional,W,"optional",J),W}function gj(f,G){let X={type:"NewExpression",callee:f,arguments:G},J=q.NewExpression;return Z(J.callee,X,"callee",f,1),Z(J.arguments,X,"arguments",G,1),X}function _j(f,G=[],X="script",J=null){let W={type:"Program",body:f,directives:G,sourceType:X,interpreter:J},R=q.Program;return Z(R.body,W,"body",f,1),Z(R.directives,W,"directives",G,1),Z(R.sourceType,W,"sourceType",X),Z(R.interpreter,W,"interpreter",J,1),W}function uj(f){let G={type:"ObjectExpression",properties:f},X=q.ObjectExpression;return Z(X.properties,G,"properties",f,1),G}function hj(f="method",G,X,J,W=!1,R=!1,V=!1){let H={type:"ObjectMethod",kind:f,key:G,params:X,body:J,computed:W,generator:R,async:V},U=q.ObjectMethod;return Z(U.kind,H,"kind",f),Z(U.key,H,"key",G,1),Z(U.params,H,"params",X,1),Z(U.body,H,"body",J,1),Z(U.computed,H,"computed",W),Z(U.generator,H,"generator",R),Z(U.async,H,"async",V),H}function yj(f,G,X=!1,J=!1,W=null){let R={type:"ObjectProperty",key:f,value:G,computed:X,shorthand:J,decorators:W},V=q.ObjectProperty;return Z(V.key,R,"key",f,1),Z(V.value,R,"value",G,1),Z(V.computed,R,"computed",X),Z(V.shorthand,R,"shorthand",J),Z(V.decorators,R,"decorators",W,1),R}function N0(f){let G={type:"RestElement",argument:f},X=q.RestElement;return Z(X.argument,G,"argument",f,1),G}function xj(f=null){let G={type:"ReturnStatement",argument:f},X=q.ReturnStatement;return Z(X.argument,G,"argument",f,1),G}function mj(f){let G={type:"SequenceExpression",expressions:f},X=q.SequenceExpression;return Z(X.expressions,G,"expressions",f,1),G}function lj(f){let G={type:"ParenthesizedExpression",expression:f},X=q.ParenthesizedExpression;return Z(X.expression,G,"expression",f,1),G}function cj(f=null,G){let X={type:"SwitchCase",test:f,consequent:G},J=q.SwitchCase;return Z(J.test,X,"test",f,1),Z(J.consequent,X,"consequent",G,1),X}function aj(f,G){let X={type:"SwitchStatement",discriminant:f,cases:G},J=q.SwitchStatement;return Z(J.discriminant,X,"discriminant",f,1),Z(J.cases,X,"cases",G,1),X}function ij(){return{type:"ThisExpression"}}function rj(f){let G={type:"ThrowStatement",argument:f},X=q.ThrowStatement;return Z(X.argument,G,"argument",f,1),G}function pj(f,G=null,X=null){let J={type:"TryStatement",block:f,handler:G,finalizer:X},W=q.TryStatement;return Z(W.block,J,"block",f,1),Z(W.handler,J,"handler",G,1),Z(W.finalizer,J,"finalizer",X,1),J}function sj(f,G,X=!0){let J={type:"UnaryExpression",operator:f,argument:G,prefix:X},W=q.UnaryExpression;return Z(W.operator,J,"operator",f),Z(W.argument,J,"argument",G,1),Z(W.prefix,J,"prefix",X),J}function dj(f,G,X=!1){let J={type:"UpdateExpression",operator:f,argument:G,prefix:X},W=q.UpdateExpression;return Z(W.operator,J,"operator",f),Z(W.argument,J,"argument",G,1),Z(W.prefix,J,"prefix",X),J}function tj(f,G){let X={type:"VariableDeclaration",kind:f,declarations:G},J=q.VariableDeclaration;return Z(J.kind,X,"kind",f),Z(J.declarations,X,"declarations",G,1),X}function nj(f,G=null){let X={type:"VariableDeclarator",id:f,init:G},J=q.VariableDeclarator;return Z(J.id,X,"id",f,1),Z(J.init,X,"init",G,1),X}function oj(f,G){let X={type:"WhileStatement",test:f,body:G},J=q.WhileStatement;return Z(J.test,X,"test",f,1),Z(J.body,X,"body",G,1),X}function ej(f,G){let X={type:"WithStatement",object:f,body:G},J=q.WithStatement;return Z(J.object,X,"object",f,1),Z(J.body,X,"body",G,1),X}function fO(f,G){let X={type:"AssignmentPattern",left:f,right:G},J=q.AssignmentPattern;return Z(J.left,X,"left",f,1),Z(J.right,X,"right",G,1),X}function GO(f){let G={type:"ArrayPattern",elements:f},X=q.ArrayPattern;return Z(X.elements,G,"elements",f,1),G}function XO(f,G,X=!1){let J={type:"ArrowFunctionExpression",params:f,body:G,async:X,expression:null},W=q.ArrowFunctionExpression;return Z(W.params,J,"params",f,1),Z(W.body,J,"body",G,1),Z(W.async,J,"async",X),J}function JO(f){let G={type:"ClassBody",body:f},X=q.ClassBody;return Z(X.body,G,"body",f,1),G}function WO(f=null,G=null,X,J=null){let W={type:"ClassExpression",id:f,superClass:G,body:X,decorators:J},R=q.ClassExpression;return Z(R.id,W,"id",f,1),Z(R.superClass,W,"superClass",G,1),Z(R.body,W,"body",X,1),Z(R.decorators,W,"decorators",J,1),W}function RO(f=null,G=null,X,J=null){let W={type:"ClassDeclaration",id:f,superClass:G,body:X,decorators:J},R=q.ClassDeclaration;return Z(R.id,W,"id",f,1),Z(R.superClass,W,"superClass",G,1),Z(R.body,W,"body",X,1),Z(R.decorators,W,"decorators",J,1),W}function VO(f){let G={type:"ExportAllDeclaration",source:f},X=q.ExportAllDeclaration;return Z(X.source,G,"source",f,1),G}function HO(f){let G={type:"ExportDefaultDeclaration",declaration:f},X=q.ExportDefaultDeclaration;return Z(X.declaration,G,"declaration",f,1),G}function UO(f=null,G=[],X=null){let J={type:"ExportNamedDeclaration",declaration:f,specifiers:G,source:X},W=q.ExportNamedDeclaration;return Z(W.declaration,J,"declaration",f,1),Z(W.specifiers,J,"specifiers",G,1),Z(W.source,J,"source",X,1),J}function QO(f,G){let X={type:"ExportSpecifier",local:f,exported:G},J=q.ExportSpecifier;return Z(J.local,X,"local",f,1),Z(J.exported,X,"exported",G,1),X}function ZO(f,G,X,J=!1){let W={type:"ForOfStatement",left:f,right:G,body:X,await:J},R=q.ForOfStatement;return Z(R.left,W,"left",f,1),Z(R.right,W,"right",G,1),Z(R.body,W,"body",X,1),Z(R.await,W,"await",J),W}function YO(f,G){let X={type:"ImportDeclaration",specifiers:f,source:G},J=q.ImportDeclaration;return Z(J.specifiers,X,"specifiers",f,1),Z(J.source,X,"source",G,1),X}function zO(f){let G={type:"ImportDefaultSpecifier",local:f},X=q.ImportDefaultSpecifier;return Z(X.local,G,"local",f,1),G}function BO(f){let G={type:"ImportNamespaceSpecifier",local:f},X=q.ImportNamespaceSpecifier;return Z(X.local,G,"local",f,1),G}function MO(f,G){let X={type:"ImportSpecifier",local:f,imported:G},J=q.ImportSpecifier;return Z(J.local,X,"local",f,1),Z(J.imported,X,"imported",G,1),X}function KO(f,G=null){let X={type:"ImportExpression",source:f,options:G},J=q.ImportExpression;return Z(J.source,X,"source",f,1),Z(J.options,X,"options",G,1),X}function FO(f,G){let X={type:"MetaProperty",meta:f,property:G},J=q.MetaProperty;return Z(J.meta,X,"meta",f,1),Z(J.property,X,"property",G,1),X}function SO(f="method",G,X,J,W=!1,R=!1,V=!1,H=!1){let U={type:"ClassMethod",kind:f,key:G,params:X,body:J,computed:W,static:R,generator:V,async:H},Q=q.ClassMethod;return Z(Q.kind,U,"kind",f),Z(Q.key,U,"key",G,1),Z(Q.params,U,"params",X,1),Z(Q.body,U,"body",J,1),Z(Q.computed,U,"computed",W),Z(Q.static,U,"static",R),Z(Q.generator,U,"generator",V),Z(Q.async,U,"async",H),U}function $O(f){let G={type:"ObjectPattern",properties:f},X=q.ObjectPattern;return Z(X.properties,G,"properties",f,1),G}function T0(f){let G={type:"SpreadElement",argument:f},X=q.SpreadElement;return Z(X.argument,G,"argument",f,1),G}function qO(){return{type:"Super"}}function CO(f,G){let X={type:"TaggedTemplateExpression",tag:f,quasi:G},J=q.TaggedTemplateExpression;return Z(J.tag,X,"tag",f,1),Z(J.quasi,X,"quasi",G,1),X}function AO(f,G=!1){let X={type:"TemplateElement",value:f,tail:G},J=q.TemplateElement;return Z(J.value,X,"value",f),Z(J.tail,X,"tail",G),X}function jO(f,G){let X={type:"TemplateLiteral",quasis:f,expressions:G},J=q.TemplateLiteral;return Z(J.quasis,X,"quasis",f,1),Z(J.expressions,X,"expressions",G,1),X}function OO(f=null,G=!1){let X={type:"YieldExpression",argument:f,delegate:G},J=q.YieldExpression;return Z(J.argument,X,"argument",f,1),Z(J.delegate,X,"delegate",G),X}function DO(f){let G={type:"AwaitExpression",argument:f},X=q.AwaitExpression;return Z(X.argument,G,"argument",f,1),G}function IO(){return{type:"Import"}}function PO(f){let G={type:"BigIntLiteral",value:f},X=q.BigIntLiteral;return Z(X.value,G,"value",f),G}function NO(f){let G={type:"ExportNamespaceSpecifier",exported:f},X=q.ExportNamespaceSpecifier;return Z(X.exported,G,"exported",f,1),G}function TO(f,G,X=!1,J){let W={type:"OptionalMemberExpression",object:f,property:G,computed:X,optional:J},R=q.OptionalMemberExpression;return Z(R.object,W,"object",f,1),Z(R.property,W,"property",G,1),Z(R.computed,W,"computed",X),Z(R.optional,W,"optional",J),W}function LO(f,G,X){let J={type:"OptionalCallExpression",callee:f,arguments:G,optional:X},W=q.OptionalCallExpression;return Z(W.callee,J,"callee",f,1),Z(W.arguments,J,"arguments",G,1),Z(W.optional,J,"optional",X),J}function bO(f,G=null,X=null,J=null,W=!1,R=!1){let V={type:"ClassProperty",key:f,value:G,typeAnnotation:X,decorators:J,computed:W,static:R},H=q.ClassProperty;return Z(H.key,V,"key",f,1),Z(H.value,V,"value",G,1),Z(H.typeAnnotation,V,"typeAnnotation",X,1),Z(H.decorators,V,"decorators",J,1),Z(H.computed,V,"computed",W),Z(H.static,V,"static",R),V}function wO(f,G=null,X=null,J=null,W=!1,R=!1){let V={type:"ClassAccessorProperty",key:f,value:G,typeAnnotation:X,decorators:J,computed:W,static:R},H=q.ClassAccessorProperty;return Z(H.key,V,"key",f,1),Z(H.value,V,"value",G,1),Z(H.typeAnnotation,V,"typeAnnotation",X,1),Z(H.decorators,V,"decorators",J,1),Z(H.computed,V,"computed",W),Z(H.static,V,"static",R),V}function EO(f,G=null,X=null,J=!1){let W={type:"ClassPrivateProperty",key:f,value:G,decorators:X,static:J},R=q.ClassPrivateProperty;return Z(R.key,W,"key",f,1),Z(R.value,W,"value",G,1),Z(R.decorators,W,"decorators",X,1),Z(R.static,W,"static",J),W}function kO(f="method",G,X,J,W=!1){let R={type:"ClassPrivateMethod",kind:f,key:G,params:X,body:J,static:W},V=q.ClassPrivateMethod;return Z(V.kind,R,"kind",f),Z(V.key,R,"key",G,1),Z(V.params,R,"params",X,1),Z(V.body,R,"body",J,1),Z(V.static,R,"static",W),R}function vO(f){let G={type:"PrivateName",id:f},X=q.PrivateName;return Z(X.id,G,"id",f,1),G}function gO(f){let G={type:"StaticBlock",body:f},X=q.StaticBlock;return Z(X.body,G,"body",f,1),G}function _O(){return{type:"AnyTypeAnnotation"}}function uO(f){let G={type:"ArrayTypeAnnotation",elementType:f},X=q.ArrayTypeAnnotation;return Z(X.elementType,G,"elementType",f,1),G}function hO(){return{type:"BooleanTypeAnnotation"}}function yO(f){let G={type:"BooleanLiteralTypeAnnotation",value:f},X=q.BooleanLiteralTypeAnnotation;return Z(X.value,G,"value",f),G}function xO(){return{type:"NullLiteralTypeAnnotation"}}function mO(f,G=null){let X={type:"ClassImplements",id:f,typeParameters:G},J=q.ClassImplements;return Z(J.id,X,"id",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function lO(f,G=null,X=null,J){let W={type:"DeclareClass",id:f,typeParameters:G,extends:X,body:J},R=q.DeclareClass;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function cO(f){let G={type:"DeclareFunction",id:f},X=q.DeclareFunction;return Z(X.id,G,"id",f,1),G}function aO(f,G=null,X=null,J){let W={type:"DeclareInterface",id:f,typeParameters:G,extends:X,body:J},R=q.DeclareInterface;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function iO(f,G,X=null){let J={type:"DeclareModule",id:f,body:G,kind:X},W=q.DeclareModule;return Z(W.id,J,"id",f,1),Z(W.body,J,"body",G,1),Z(W.kind,J,"kind",X),J}function rO(f){let G={type:"DeclareModuleExports",typeAnnotation:f},X=q.DeclareModuleExports;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function pO(f,G=null,X){let J={type:"DeclareTypeAlias",id:f,typeParameters:G,right:X},W=q.DeclareTypeAlias;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.right,J,"right",X,1),J}function sO(f,G=null,X=null){let J={type:"DeclareOpaqueType",id:f,typeParameters:G,supertype:X},W=q.DeclareOpaqueType;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.supertype,J,"supertype",X,1),J}function dO(f){let G={type:"DeclareVariable",id:f},X=q.DeclareVariable;return Z(X.id,G,"id",f,1),G}function tO(f=null,G=null,X=null,J=null){let W={type:"DeclareExportDeclaration",declaration:f,specifiers:G,source:X,attributes:J},R=q.DeclareExportDeclaration;return Z(R.declaration,W,"declaration",f,1),Z(R.specifiers,W,"specifiers",G,1),Z(R.source,W,"source",X,1),Z(R.attributes,W,"attributes",J,1),W}function nO(f,G=null){let X={type:"DeclareExportAllDeclaration",source:f,attributes:G},J=q.DeclareExportAllDeclaration;return Z(J.source,X,"source",f,1),Z(J.attributes,X,"attributes",G,1),X}function oO(f){let G={type:"DeclaredPredicate",value:f},X=q.DeclaredPredicate;return Z(X.value,G,"value",f,1),G}function eO(){return{type:"ExistsTypeAnnotation"}}function fD(f=null,G,X=null,J){let W={type:"FunctionTypeAnnotation",typeParameters:f,params:G,rest:X,returnType:J},R=q.FunctionTypeAnnotation;return Z(R.typeParameters,W,"typeParameters",f,1),Z(R.params,W,"params",G,1),Z(R.rest,W,"rest",X,1),Z(R.returnType,W,"returnType",J,1),W}function GD(f=null,G){let X={type:"FunctionTypeParam",name:f,typeAnnotation:G},J=q.FunctionTypeParam;return Z(J.name,X,"name",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function XD(f,G=null){let X={type:"GenericTypeAnnotation",id:f,typeParameters:G},J=q.GenericTypeAnnotation;return Z(J.id,X,"id",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function JD(){return{type:"InferredPredicate"}}function WD(f,G=null){let X={type:"InterfaceExtends",id:f,typeParameters:G},J=q.InterfaceExtends;return Z(J.id,X,"id",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function RD(f,G=null,X=null,J){let W={type:"InterfaceDeclaration",id:f,typeParameters:G,extends:X,body:J},R=q.InterfaceDeclaration;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function VD(f=null,G){let X={type:"InterfaceTypeAnnotation",extends:f,body:G},J=q.InterfaceTypeAnnotation;return Z(J.extends,X,"extends",f,1),Z(J.body,X,"body",G,1),X}function HD(f){let G={type:"IntersectionTypeAnnotation",types:f},X=q.IntersectionTypeAnnotation;return Z(X.types,G,"types",f,1),G}function UD(){return{type:"MixedTypeAnnotation"}}function QD(){return{type:"EmptyTypeAnnotation"}}function ZD(f){let G={type:"NullableTypeAnnotation",typeAnnotation:f},X=q.NullableTypeAnnotation;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function YD(f){let G={type:"NumberLiteralTypeAnnotation",value:f},X=q.NumberLiteralTypeAnnotation;return Z(X.value,G,"value",f),G}function zD(){return{type:"NumberTypeAnnotation"}}function BD(f,G=[],X=[],J=[],W=!1){let R={type:"ObjectTypeAnnotation",properties:f,indexers:G,callProperties:X,internalSlots:J,exact:W},V=q.ObjectTypeAnnotation;return Z(V.properties,R,"properties",f,1),Z(V.indexers,R,"indexers",G,1),Z(V.callProperties,R,"callProperties",X,1),Z(V.internalSlots,R,"internalSlots",J,1),Z(V.exact,R,"exact",W),R}function MD(f,G,X,J,W){let R={type:"ObjectTypeInternalSlot",id:f,value:G,optional:X,static:J,method:W},V=q.ObjectTypeInternalSlot;return Z(V.id,R,"id",f,1),Z(V.value,R,"value",G,1),Z(V.optional,R,"optional",X),Z(V.static,R,"static",J),Z(V.method,R,"method",W),R}function KD(f){let G={type:"ObjectTypeCallProperty",value:f,static:null},X=q.ObjectTypeCallProperty;return Z(X.value,G,"value",f,1),G}function FD(f=null,G,X,J=null){let W={type:"ObjectTypeIndexer",id:f,key:G,value:X,variance:J,static:null},R=q.ObjectTypeIndexer;return Z(R.id,W,"id",f,1),Z(R.key,W,"key",G,1),Z(R.value,W,"value",X,1),Z(R.variance,W,"variance",J,1),W}function SD(f,G,X=null){let J={type:"ObjectTypeProperty",key:f,value:G,variance:X,kind:null,method:null,optional:null,proto:null,static:null},W=q.ObjectTypeProperty;return Z(W.key,J,"key",f,1),Z(W.value,J,"value",G,1),Z(W.variance,J,"variance",X,1),J}function $D(f){let G={type:"ObjectTypeSpreadProperty",argument:f},X=q.ObjectTypeSpreadProperty;return Z(X.argument,G,"argument",f,1),G}function qD(f,G=null,X=null,J){let W={type:"OpaqueType",id:f,typeParameters:G,supertype:X,impltype:J},R=q.OpaqueType;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.supertype,W,"supertype",X,1),Z(R.impltype,W,"impltype",J,1),W}function CD(f,G){let X={type:"QualifiedTypeIdentifier",id:f,qualification:G},J=q.QualifiedTypeIdentifier;return Z(J.id,X,"id",f,1),Z(J.qualification,X,"qualification",G,1),X}function AD(f){let G={type:"StringLiteralTypeAnnotation",value:f},X=q.StringLiteralTypeAnnotation;return Z(X.value,G,"value",f),G}function jD(){return{type:"StringTypeAnnotation"}}function OD(){return{type:"SymbolTypeAnnotation"}}function DD(){return{type:"ThisTypeAnnotation"}}function ID(f){let G={type:"TupleTypeAnnotation",types:f},X=q.TupleTypeAnnotation;return Z(X.types,G,"types",f,1),G}function PD(f){let G={type:"TypeofTypeAnnotation",argument:f},X=q.TypeofTypeAnnotation;return Z(X.argument,G,"argument",f,1),G}function ND(f,G=null,X){let J={type:"TypeAlias",id:f,typeParameters:G,right:X},W=q.TypeAlias;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.right,J,"right",X,1),J}function TD(f){let G={type:"TypeAnnotation",typeAnnotation:f},X=q.TypeAnnotation;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function LD(f,G){let X={type:"TypeCastExpression",expression:f,typeAnnotation:G},J=q.TypeCastExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function bD(f=null,G=null,X=null){let J={type:"TypeParameter",bound:f,default:G,variance:X,name:null},W=q.TypeParameter;return Z(W.bound,J,"bound",f,1),Z(W.default,J,"default",G,1),Z(W.variance,J,"variance",X,1),J}function wD(f){let G={type:"TypeParameterDeclaration",params:f},X=q.TypeParameterDeclaration;return Z(X.params,G,"params",f,1),G}function ED(f){let G={type:"TypeParameterInstantiation",params:f},X=q.TypeParameterInstantiation;return Z(X.params,G,"params",f,1),G}function kD(f){let G={type:"UnionTypeAnnotation",types:f},X=q.UnionTypeAnnotation;return Z(X.types,G,"types",f,1),G}function vD(f){let G={type:"Variance",kind:f},X=q.Variance;return Z(X.kind,G,"kind",f),G}function gD(){return{type:"VoidTypeAnnotation"}}function _D(f,G){let X={type:"EnumDeclaration",id:f,body:G},J=q.EnumDeclaration;return Z(J.id,X,"id",f,1),Z(J.body,X,"body",G,1),X}function uD(f){let G={type:"EnumBooleanBody",members:f,explicitType:null,hasUnknownMembers:null},X=q.EnumBooleanBody;return Z(X.members,G,"members",f,1),G}function hD(f){let G={type:"EnumNumberBody",members:f,explicitType:null,hasUnknownMembers:null},X=q.EnumNumberBody;return Z(X.members,G,"members",f,1),G}function yD(f){let G={type:"EnumStringBody",members:f,explicitType:null,hasUnknownMembers:null},X=q.EnumStringBody;return Z(X.members,G,"members",f,1),G}function xD(f){let G={type:"EnumSymbolBody",members:f,hasUnknownMembers:null},X=q.EnumSymbolBody;return Z(X.members,G,"members",f,1),G}function mD(f){let G={type:"EnumBooleanMember",id:f,init:null},X=q.EnumBooleanMember;return Z(X.id,G,"id",f,1),G}function lD(f,G){let X={type:"EnumNumberMember",id:f,init:G},J=q.EnumNumberMember;return Z(J.id,X,"id",f,1),Z(J.init,X,"init",G,1),X}function cD(f,G){let X={type:"EnumStringMember",id:f,init:G},J=q.EnumStringMember;return Z(J.id,X,"id",f,1),Z(J.init,X,"init",G,1),X}function aD(f){let G={type:"EnumDefaultedMember",id:f},X=q.EnumDefaultedMember;return Z(X.id,G,"id",f,1),G}function iD(f,G){let X={type:"IndexedAccessType",objectType:f,indexType:G},J=q.IndexedAccessType;return Z(J.objectType,X,"objectType",f,1),Z(J.indexType,X,"indexType",G,1),X}function rD(f,G){let X={type:"OptionalIndexedAccessType",objectType:f,indexType:G,optional:null},J=q.OptionalIndexedAccessType;return Z(J.objectType,X,"objectType",f,1),Z(J.indexType,X,"indexType",G,1),X}function pD(f,G=null){let X={type:"JSXAttribute",name:f,value:G},J=q.JSXAttribute;return Z(J.name,X,"name",f,1),Z(J.value,X,"value",G,1),X}function sD(f){let G={type:"JSXClosingElement",name:f},X=q.JSXClosingElement;return Z(X.name,G,"name",f,1),G}function dD(f,G=null,X,J=null){let W={type:"JSXElement",openingElement:f,closingElement:G,children:X,selfClosing:J},R=q.JSXElement;return Z(R.openingElement,W,"openingElement",f,1),Z(R.closingElement,W,"closingElement",G,1),Z(R.children,W,"children",X,1),Z(R.selfClosing,W,"selfClosing",J),W}function tD(){return{type:"JSXEmptyExpression"}}function nD(f){let G={type:"JSXExpressionContainer",expression:f},X=q.JSXExpressionContainer;return Z(X.expression,G,"expression",f,1),G}function oD(f){let G={type:"JSXSpreadChild",expression:f},X=q.JSXSpreadChild;return Z(X.expression,G,"expression",f,1),G}function eD(f){let G={type:"JSXIdentifier",name:f},X=q.JSXIdentifier;return Z(X.name,G,"name",f),G}function fI(f,G){let X={type:"JSXMemberExpression",object:f,property:G},J=q.JSXMemberExpression;return Z(J.object,X,"object",f,1),Z(J.property,X,"property",G,1),X}function GI(f,G){let X={type:"JSXNamespacedName",namespace:f,name:G},J=q.JSXNamespacedName;return Z(J.namespace,X,"namespace",f,1),Z(J.name,X,"name",G,1),X}function XI(f,G,X=!1){let J={type:"JSXOpeningElement",name:f,attributes:G,selfClosing:X},W=q.JSXOpeningElement;return Z(W.name,J,"name",f,1),Z(W.attributes,J,"attributes",G,1),Z(W.selfClosing,J,"selfClosing",X),J}function JI(f){let G={type:"JSXSpreadAttribute",argument:f},X=q.JSXSpreadAttribute;return Z(X.argument,G,"argument",f,1),G}function WI(f){let G={type:"JSXText",value:f},X=q.JSXText;return Z(X.value,G,"value",f),G}function RI(f,G,X){let J={type:"JSXFragment",openingFragment:f,closingFragment:G,children:X},W=q.JSXFragment;return Z(W.openingFragment,J,"openingFragment",f,1),Z(W.closingFragment,J,"closingFragment",G,1),Z(W.children,J,"children",X,1),J}function VI(){return{type:"JSXOpeningFragment"}}function HI(){return{type:"JSXClosingFragment"}}function UI(){return{type:"Noop"}}function QI(f,G){let X={type:"Placeholder",expectedNode:f,name:G},J=q.Placeholder;return Z(J.expectedNode,X,"expectedNode",f),Z(J.name,X,"name",G,1),X}function ZI(f){let G={type:"V8IntrinsicIdentifier",name:f},X=q.V8IntrinsicIdentifier;return Z(X.name,G,"name",f),G}function YI(){return{type:"ArgumentPlaceholder"}}function zI(f,G){let X={type:"BindExpression",object:f,callee:G},J=q.BindExpression;return Z(J.object,X,"object",f,1),Z(J.callee,X,"callee",G,1),X}function BI(f,G){let X={type:"ImportAttribute",key:f,value:G},J=q.ImportAttribute;return Z(J.key,X,"key",f,1),Z(J.value,X,"value",G,1),X}function MI(f){let G={type:"Decorator",expression:f},X=q.Decorator;return Z(X.expression,G,"expression",f,1),G}function KI(f,G=!1){let X={type:"DoExpression",body:f,async:G},J=q.DoExpression;return Z(J.body,X,"body",f,1),Z(J.async,X,"async",G),X}function FI(f){let G={type:"ExportDefaultSpecifier",exported:f},X=q.ExportDefaultSpecifier;return Z(X.exported,G,"exported",f,1),G}function SI(f){let G={type:"RecordExpression",properties:f},X=q.RecordExpression;return Z(X.properties,G,"properties",f,1),G}function $I(f=[]){let G={type:"TupleExpression",elements:f},X=q.TupleExpression;return Z(X.elements,G,"elements",f,1),G}function qI(f){let G={type:"DecimalLiteral",value:f},X=q.DecimalLiteral;return Z(X.value,G,"value",f),G}function CI(f){let G={type:"ModuleExpression",body:f},X=q.ModuleExpression;return Z(X.body,G,"body",f,1),G}function AI(){return{type:"TopicReference"}}function jI(f){let G={type:"PipelineTopicExpression",expression:f},X=q.PipelineTopicExpression;return Z(X.expression,G,"expression",f,1),G}function OI(f){let G={type:"PipelineBareFunction",callee:f},X=q.PipelineBareFunction;return Z(X.callee,G,"callee",f,1),G}function DI(){return{type:"PipelinePrimaryTopicReference"}}function II(f){let G={type:"TSParameterProperty",parameter:f},X=q.TSParameterProperty;return Z(X.parameter,G,"parameter",f,1),G}function PI(f=null,G=null,X,J=null){let W={type:"TSDeclareFunction",id:f,typeParameters:G,params:X,returnType:J},R=q.TSDeclareFunction;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.params,W,"params",X,1),Z(R.returnType,W,"returnType",J,1),W}function NI(f=null,G,X=null,J,W=null){let R={type:"TSDeclareMethod",decorators:f,key:G,typeParameters:X,params:J,returnType:W},V=q.TSDeclareMethod;return Z(V.decorators,R,"decorators",f,1),Z(V.key,R,"key",G,1),Z(V.typeParameters,R,"typeParameters",X,1),Z(V.params,R,"params",J,1),Z(V.returnType,R,"returnType",W,1),R}function TI(f,G){let X={type:"TSQualifiedName",left:f,right:G},J=q.TSQualifiedName;return Z(J.left,X,"left",f,1),Z(J.right,X,"right",G,1),X}function LI(f=null,G,X=null){let J={type:"TSCallSignatureDeclaration",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSCallSignatureDeclaration;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function bI(f=null,G,X=null){let J={type:"TSConstructSignatureDeclaration",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSConstructSignatureDeclaration;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function wI(f,G=null){let X={type:"TSPropertySignature",key:f,typeAnnotation:G},J=q.TSPropertySignature;return Z(J.key,X,"key",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function EI(f,G=null,X,J=null){let W={type:"TSMethodSignature",key:f,typeParameters:G,parameters:X,typeAnnotation:J,kind:null},R=q.TSMethodSignature;return Z(R.key,W,"key",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.parameters,W,"parameters",X,1),Z(R.typeAnnotation,W,"typeAnnotation",J,1),W}function kI(f,G=null){let X={type:"TSIndexSignature",parameters:f,typeAnnotation:G},J=q.TSIndexSignature;return Z(J.parameters,X,"parameters",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function vI(){return{type:"TSAnyKeyword"}}function gI(){return{type:"TSBooleanKeyword"}}function _I(){return{type:"TSBigIntKeyword"}}function uI(){return{type:"TSIntrinsicKeyword"}}function hI(){return{type:"TSNeverKeyword"}}function yI(){return{type:"TSNullKeyword"}}function xI(){return{type:"TSNumberKeyword"}}function mI(){return{type:"TSObjectKeyword"}}function lI(){return{type:"TSStringKeyword"}}function cI(){return{type:"TSSymbolKeyword"}}function aI(){return{type:"TSUndefinedKeyword"}}function iI(){return{type:"TSUnknownKeyword"}}function rI(){return{type:"TSVoidKeyword"}}function pI(){return{type:"TSThisType"}}function sI(f=null,G,X=null){let J={type:"TSFunctionType",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSFunctionType;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function dI(f=null,G,X=null){let J={type:"TSConstructorType",typeParameters:f,parameters:G,typeAnnotation:X},W=q.TSConstructorType;return Z(W.typeParameters,J,"typeParameters",f,1),Z(W.parameters,J,"parameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function tI(f,G=null){let X={type:"TSTypeReference",typeName:f,typeParameters:G},J=q.TSTypeReference;return Z(J.typeName,X,"typeName",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function nI(f,G=null,X=null){let J={type:"TSTypePredicate",parameterName:f,typeAnnotation:G,asserts:X},W=q.TSTypePredicate;return Z(W.parameterName,J,"parameterName",f,1),Z(W.typeAnnotation,J,"typeAnnotation",G,1),Z(W.asserts,J,"asserts",X),J}function oI(f,G=null){let X={type:"TSTypeQuery",exprName:f,typeParameters:G},J=q.TSTypeQuery;return Z(J.exprName,X,"exprName",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function eI(f){let G={type:"TSTypeLiteral",members:f},X=q.TSTypeLiteral;return Z(X.members,G,"members",f,1),G}function fP(f){let G={type:"TSArrayType",elementType:f},X=q.TSArrayType;return Z(X.elementType,G,"elementType",f,1),G}function GP(f){let G={type:"TSTupleType",elementTypes:f},X=q.TSTupleType;return Z(X.elementTypes,G,"elementTypes",f,1),G}function XP(f){let G={type:"TSOptionalType",typeAnnotation:f},X=q.TSOptionalType;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function JP(f){let G={type:"TSRestType",typeAnnotation:f},X=q.TSRestType;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function WP(f,G,X=!1){let J={type:"TSNamedTupleMember",label:f,elementType:G,optional:X},W=q.TSNamedTupleMember;return Z(W.label,J,"label",f,1),Z(W.elementType,J,"elementType",G,1),Z(W.optional,J,"optional",X),J}function RP(f){let G={type:"TSUnionType",types:f},X=q.TSUnionType;return Z(X.types,G,"types",f,1),G}function VP(f){let G={type:"TSIntersectionType",types:f},X=q.TSIntersectionType;return Z(X.types,G,"types",f,1),G}function HP(f,G,X,J){let W={type:"TSConditionalType",checkType:f,extendsType:G,trueType:X,falseType:J},R=q.TSConditionalType;return Z(R.checkType,W,"checkType",f,1),Z(R.extendsType,W,"extendsType",G,1),Z(R.trueType,W,"trueType",X,1),Z(R.falseType,W,"falseType",J,1),W}function UP(f){let G={type:"TSInferType",typeParameter:f},X=q.TSInferType;return Z(X.typeParameter,G,"typeParameter",f,1),G}function QP(f){let G={type:"TSParenthesizedType",typeAnnotation:f},X=q.TSParenthesizedType;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function ZP(f){let G={type:"TSTypeOperator",typeAnnotation:f,operator:null},X=q.TSTypeOperator;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function YP(f,G){let X={type:"TSIndexedAccessType",objectType:f,indexType:G},J=q.TSIndexedAccessType;return Z(J.objectType,X,"objectType",f,1),Z(J.indexType,X,"indexType",G,1),X}function zP(f,G=null,X=null){let J={type:"TSMappedType",typeParameter:f,typeAnnotation:G,nameType:X},W=q.TSMappedType;return Z(W.typeParameter,J,"typeParameter",f,1),Z(W.typeAnnotation,J,"typeAnnotation",G,1),Z(W.nameType,J,"nameType",X,1),J}function BP(f,G){let X={type:"TSTemplateLiteralType",quasis:f,types:G},J=q.TSTemplateLiteralType;return Z(J.quasis,X,"quasis",f,1),Z(J.types,X,"types",G,1),X}function MP(f){let G={type:"TSLiteralType",literal:f},X=q.TSLiteralType;return Z(X.literal,G,"literal",f,1),G}function KP(f,G=null){let X={type:"TSExpressionWithTypeArguments",expression:f,typeParameters:G},J=q.TSExpressionWithTypeArguments;return Z(J.expression,X,"expression",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function FP(f,G=null,X=null,J){let W={type:"TSInterfaceDeclaration",id:f,typeParameters:G,extends:X,body:J},R=q.TSInterfaceDeclaration;return Z(R.id,W,"id",f,1),Z(R.typeParameters,W,"typeParameters",G,1),Z(R.extends,W,"extends",X,1),Z(R.body,W,"body",J,1),W}function SP(f){let G={type:"TSInterfaceBody",body:f},X=q.TSInterfaceBody;return Z(X.body,G,"body",f,1),G}function $P(f,G=null,X){let J={type:"TSTypeAliasDeclaration",id:f,typeParameters:G,typeAnnotation:X},W=q.TSTypeAliasDeclaration;return Z(W.id,J,"id",f,1),Z(W.typeParameters,J,"typeParameters",G,1),Z(W.typeAnnotation,J,"typeAnnotation",X,1),J}function qP(f,G=null){let X={type:"TSInstantiationExpression",expression:f,typeParameters:G},J=q.TSInstantiationExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeParameters,X,"typeParameters",G,1),X}function CP(f,G){let X={type:"TSAsExpression",expression:f,typeAnnotation:G},J=q.TSAsExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function AP(f,G){let X={type:"TSSatisfiesExpression",expression:f,typeAnnotation:G},J=q.TSSatisfiesExpression;return Z(J.expression,X,"expression",f,1),Z(J.typeAnnotation,X,"typeAnnotation",G,1),X}function jP(f,G){let X={type:"TSTypeAssertion",typeAnnotation:f,expression:G},J=q.TSTypeAssertion;return Z(J.typeAnnotation,X,"typeAnnotation",f,1),Z(J.expression,X,"expression",G,1),X}function OP(f){let G={type:"TSEnumBody",members:f},X=q.TSEnumBody;return Z(X.members,G,"members",f,1),G}function DP(f,G){let X={type:"TSEnumDeclaration",id:f,members:G},J=q.TSEnumDeclaration;return Z(J.id,X,"id",f,1),Z(J.members,X,"members",G,1),X}function IP(f,G=null){let X={type:"TSEnumMember",id:f,initializer:G},J=q.TSEnumMember;return Z(J.id,X,"id",f,1),Z(J.initializer,X,"initializer",G,1),X}function PP(f,G){let X={type:"TSModuleDeclaration",id:f,body:G,kind:null},J=q.TSModuleDeclaration;return Z(J.id,X,"id",f,1),Z(J.body,X,"body",G,1),X}function NP(f){let G={type:"TSModuleBlock",body:f},X=q.TSModuleBlock;return Z(X.body,G,"body",f,1),G}function TP(f,G=null,X=null){let J={type:"TSImportType",argument:f,qualifier:G,typeParameters:X},W=q.TSImportType;return Z(W.argument,J,"argument",f,1),Z(W.qualifier,J,"qualifier",G,1),Z(W.typeParameters,J,"typeParameters",X,1),J}function LP(f,G){let X={type:"TSImportEqualsDeclaration",id:f,moduleReference:G,isExport:null},J=q.TSImportEqualsDeclaration;return Z(J.id,X,"id",f,1),Z(J.moduleReference,X,"moduleReference",G,1),X}function bP(f){let G={type:"TSExternalModuleReference",expression:f},X=q.TSExternalModuleReference;return Z(X.expression,G,"expression",f,1),G}function wP(f){let G={type:"TSNonNullExpression",expression:f},X=q.TSNonNullExpression;return Z(X.expression,G,"expression",f,1),G}function EP(f){let G={type:"TSExportAssignment",expression:f},X=q.TSExportAssignment;return Z(X.expression,G,"expression",f,1),G}function kP(f){let G={type:"TSNamespaceExportDeclaration",id:f},X=q.TSNamespaceExportDeclaration;return Z(X.id,G,"id",f,1),G}function vP(f){let G={type:"TSTypeAnnotation",typeAnnotation:f},X=q.TSTypeAnnotation;return Z(X.typeAnnotation,G,"typeAnnotation",f,1),G}function gP(f){let G={type:"TSTypeParameterInstantiation",params:f},X=q.TSTypeParameterInstantiation;return Z(X.params,G,"params",f,1),G}function _P(f){let G={type:"TSTypeParameterDeclaration",params:f},X=q.TSTypeParameterDeclaration;return Z(X.params,G,"params",f,1),G}function uP(f=null,G=null,X){let J={type:"TSTypeParameter",constraint:f,default:G,name:X},W=q.TSTypeParameter;return Z(W.constraint,J,"constraint",f,1),Z(W.default,J,"default",G,1),Z(W.name,J,"name",X),J}function hP(f){return _X.default("NumberLiteral","NumericLiteral","The node type "),I0(f)}function yP(f,G=""){return _X.default("RegexLiteral","RegExpLiteral","The node type "),P0(f,G)}function xP(f){return _X.default("RestProperty","RestElement","The node type "),N0(f)}function mP(f){return _X.default("SpreadProperty","SpreadElement","The node type "),T0(f)}});var b0=D((K)=>{Object.defineProperty(K,"__esModule",{value:!0});Object.defineProperty(K,"AnyTypeAnnotation",{enumerable:!0,get:function(){return F.anyTypeAnnotation}});Object.defineProperty(K,"ArgumentPlaceholder",{enumerable:!0,get:function(){return F.argumentPlaceholder}});Object.defineProperty(K,"ArrayExpression",{enumerable:!0,get:function(){return F.arrayExpression}});Object.defineProperty(K,"ArrayPattern",{enumerable:!0,get:function(){return F.arrayPattern}});Object.defineProperty(K,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return F.arrayTypeAnnotation}});Object.defineProperty(K,"ArrowFunctionExpression",{enumerable:!0,get:function(){return F.arrowFunctionExpression}});Object.defineProperty(K,"AssignmentExpression",{enumerable:!0,get:function(){return F.assignmentExpression}});Object.defineProperty(K,"AssignmentPattern",{enumerable:!0,get:function(){return F.assignmentPattern}});Object.defineProperty(K,"AwaitExpression",{enumerable:!0,get:function(){return F.awaitExpression}});Object.defineProperty(K,"BigIntLiteral",{enumerable:!0,get:function(){return F.bigIntLiteral}});Object.defineProperty(K,"BinaryExpression",{enumerable:!0,get:function(){return F.binaryExpression}});Object.defineProperty(K,"BindExpression",{enumerable:!0,get:function(){return F.bindExpression}});Object.defineProperty(K,"BlockStatement",{enumerable:!0,get:function(){return F.blockStatement}});Object.defineProperty(K,"BooleanLiteral",{enumerable:!0,get:function(){return F.booleanLiteral}});Object.defineProperty(K,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.booleanLiteralTypeAnnotation}});Object.defineProperty(K,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return F.booleanTypeAnnotation}});Object.defineProperty(K,"BreakStatement",{enumerable:!0,get:function(){return F.breakStatement}});Object.defineProperty(K,"CallExpression",{enumerable:!0,get:function(){return F.callExpression}});Object.defineProperty(K,"CatchClause",{enumerable:!0,get:function(){return F.catchClause}});Object.defineProperty(K,"ClassAccessorProperty",{enumerable:!0,get:function(){return F.classAccessorProperty}});Object.defineProperty(K,"ClassBody",{enumerable:!0,get:function(){return F.classBody}});Object.defineProperty(K,"ClassDeclaration",{enumerable:!0,get:function(){return F.classDeclaration}});Object.defineProperty(K,"ClassExpression",{enumerable:!0,get:function(){return F.classExpression}});Object.defineProperty(K,"ClassImplements",{enumerable:!0,get:function(){return F.classImplements}});Object.defineProperty(K,"ClassMethod",{enumerable:!0,get:function(){return F.classMethod}});Object.defineProperty(K,"ClassPrivateMethod",{enumerable:!0,get:function(){return F.classPrivateMethod}});Object.defineProperty(K,"ClassPrivateProperty",{enumerable:!0,get:function(){return F.classPrivateProperty}});Object.defineProperty(K,"ClassProperty",{enumerable:!0,get:function(){return F.classProperty}});Object.defineProperty(K,"ConditionalExpression",{enumerable:!0,get:function(){return F.conditionalExpression}});Object.defineProperty(K,"ContinueStatement",{enumerable:!0,get:function(){return F.continueStatement}});Object.defineProperty(K,"DebuggerStatement",{enumerable:!0,get:function(){return F.debuggerStatement}});Object.defineProperty(K,"DecimalLiteral",{enumerable:!0,get:function(){return F.decimalLiteral}});Object.defineProperty(K,"DeclareClass",{enumerable:!0,get:function(){return F.declareClass}});Object.defineProperty(K,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return F.declareExportAllDeclaration}});Object.defineProperty(K,"DeclareExportDeclaration",{enumerable:!0,get:function(){return F.declareExportDeclaration}});Object.defineProperty(K,"DeclareFunction",{enumerable:!0,get:function(){return F.declareFunction}});Object.defineProperty(K,"DeclareInterface",{enumerable:!0,get:function(){return F.declareInterface}});Object.defineProperty(K,"DeclareModule",{enumerable:!0,get:function(){return F.declareModule}});Object.defineProperty(K,"DeclareModuleExports",{enumerable:!0,get:function(){return F.declareModuleExports}});Object.defineProperty(K,"DeclareOpaqueType",{enumerable:!0,get:function(){return F.declareOpaqueType}});Object.defineProperty(K,"DeclareTypeAlias",{enumerable:!0,get:function(){return F.declareTypeAlias}});Object.defineProperty(K,"DeclareVariable",{enumerable:!0,get:function(){return F.declareVariable}});Object.defineProperty(K,"DeclaredPredicate",{enumerable:!0,get:function(){return F.declaredPredicate}});Object.defineProperty(K,"Decorator",{enumerable:!0,get:function(){return F.decorator}});Object.defineProperty(K,"Directive",{enumerable:!0,get:function(){return F.directive}});Object.defineProperty(K,"DirectiveLiteral",{enumerable:!0,get:function(){return F.directiveLiteral}});Object.defineProperty(K,"DoExpression",{enumerable:!0,get:function(){return F.doExpression}});Object.defineProperty(K,"DoWhileStatement",{enumerable:!0,get:function(){return F.doWhileStatement}});Object.defineProperty(K,"EmptyStatement",{enumerable:!0,get:function(){return F.emptyStatement}});Object.defineProperty(K,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return F.emptyTypeAnnotation}});Object.defineProperty(K,"EnumBooleanBody",{enumerable:!0,get:function(){return F.enumBooleanBody}});Object.defineProperty(K,"EnumBooleanMember",{enumerable:!0,get:function(){return F.enumBooleanMember}});Object.defineProperty(K,"EnumDeclaration",{enumerable:!0,get:function(){return F.enumDeclaration}});Object.defineProperty(K,"EnumDefaultedMember",{enumerable:!0,get:function(){return F.enumDefaultedMember}});Object.defineProperty(K,"EnumNumberBody",{enumerable:!0,get:function(){return F.enumNumberBody}});Object.defineProperty(K,"EnumNumberMember",{enumerable:!0,get:function(){return F.enumNumberMember}});Object.defineProperty(K,"EnumStringBody",{enumerable:!0,get:function(){return F.enumStringBody}});Object.defineProperty(K,"EnumStringMember",{enumerable:!0,get:function(){return F.enumStringMember}});Object.defineProperty(K,"EnumSymbolBody",{enumerable:!0,get:function(){return F.enumSymbolBody}});Object.defineProperty(K,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return F.existsTypeAnnotation}});Object.defineProperty(K,"ExportAllDeclaration",{enumerable:!0,get:function(){return F.exportAllDeclaration}});Object.defineProperty(K,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return F.exportDefaultDeclaration}});Object.defineProperty(K,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return F.exportDefaultSpecifier}});Object.defineProperty(K,"ExportNamedDeclaration",{enumerable:!0,get:function(){return F.exportNamedDeclaration}});Object.defineProperty(K,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return F.exportNamespaceSpecifier}});Object.defineProperty(K,"ExportSpecifier",{enumerable:!0,get:function(){return F.exportSpecifier}});Object.defineProperty(K,"ExpressionStatement",{enumerable:!0,get:function(){return F.expressionStatement}});Object.defineProperty(K,"File",{enumerable:!0,get:function(){return F.file}});Object.defineProperty(K,"ForInStatement",{enumerable:!0,get:function(){return F.forInStatement}});Object.defineProperty(K,"ForOfStatement",{enumerable:!0,get:function(){return F.forOfStatement}});Object.defineProperty(K,"ForStatement",{enumerable:!0,get:function(){return F.forStatement}});Object.defineProperty(K,"FunctionDeclaration",{enumerable:!0,get:function(){return F.functionDeclaration}});Object.defineProperty(K,"FunctionExpression",{enumerable:!0,get:function(){return F.functionExpression}});Object.defineProperty(K,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return F.functionTypeAnnotation}});Object.defineProperty(K,"FunctionTypeParam",{enumerable:!0,get:function(){return F.functionTypeParam}});Object.defineProperty(K,"GenericTypeAnnotation",{enumerable:!0,get:function(){return F.genericTypeAnnotation}});Object.defineProperty(K,"Identifier",{enumerable:!0,get:function(){return F.identifier}});Object.defineProperty(K,"IfStatement",{enumerable:!0,get:function(){return F.ifStatement}});Object.defineProperty(K,"Import",{enumerable:!0,get:function(){return F.import}});Object.defineProperty(K,"ImportAttribute",{enumerable:!0,get:function(){return F.importAttribute}});Object.defineProperty(K,"ImportDeclaration",{enumerable:!0,get:function(){return F.importDeclaration}});Object.defineProperty(K,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return F.importDefaultSpecifier}});Object.defineProperty(K,"ImportExpression",{enumerable:!0,get:function(){return F.importExpression}});Object.defineProperty(K,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return F.importNamespaceSpecifier}});Object.defineProperty(K,"ImportSpecifier",{enumerable:!0,get:function(){return F.importSpecifier}});Object.defineProperty(K,"IndexedAccessType",{enumerable:!0,get:function(){return F.indexedAccessType}});Object.defineProperty(K,"InferredPredicate",{enumerable:!0,get:function(){return F.inferredPredicate}});Object.defineProperty(K,"InterfaceDeclaration",{enumerable:!0,get:function(){return F.interfaceDeclaration}});Object.defineProperty(K,"InterfaceExtends",{enumerable:!0,get:function(){return F.interfaceExtends}});Object.defineProperty(K,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return F.interfaceTypeAnnotation}});Object.defineProperty(K,"InterpreterDirective",{enumerable:!0,get:function(){return F.interpreterDirective}});Object.defineProperty(K,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return F.intersectionTypeAnnotation}});Object.defineProperty(K,"JSXAttribute",{enumerable:!0,get:function(){return F.jsxAttribute}});Object.defineProperty(K,"JSXClosingElement",{enumerable:!0,get:function(){return F.jsxClosingElement}});Object.defineProperty(K,"JSXClosingFragment",{enumerable:!0,get:function(){return F.jsxClosingFragment}});Object.defineProperty(K,"JSXElement",{enumerable:!0,get:function(){return F.jsxElement}});Object.defineProperty(K,"JSXEmptyExpression",{enumerable:!0,get:function(){return F.jsxEmptyExpression}});Object.defineProperty(K,"JSXExpressionContainer",{enumerable:!0,get:function(){return F.jsxExpressionContainer}});Object.defineProperty(K,"JSXFragment",{enumerable:!0,get:function(){return F.jsxFragment}});Object.defineProperty(K,"JSXIdentifier",{enumerable:!0,get:function(){return F.jsxIdentifier}});Object.defineProperty(K,"JSXMemberExpression",{enumerable:!0,get:function(){return F.jsxMemberExpression}});Object.defineProperty(K,"JSXNamespacedName",{enumerable:!0,get:function(){return F.jsxNamespacedName}});Object.defineProperty(K,"JSXOpeningElement",{enumerable:!0,get:function(){return F.jsxOpeningElement}});Object.defineProperty(K,"JSXOpeningFragment",{enumerable:!0,get:function(){return F.jsxOpeningFragment}});Object.defineProperty(K,"JSXSpreadAttribute",{enumerable:!0,get:function(){return F.jsxSpreadAttribute}});Object.defineProperty(K,"JSXSpreadChild",{enumerable:!0,get:function(){return F.jsxSpreadChild}});Object.defineProperty(K,"JSXText",{enumerable:!0,get:function(){return F.jsxText}});Object.defineProperty(K,"LabeledStatement",{enumerable:!0,get:function(){return F.labeledStatement}});Object.defineProperty(K,"LogicalExpression",{enumerable:!0,get:function(){return F.logicalExpression}});Object.defineProperty(K,"MemberExpression",{enumerable:!0,get:function(){return F.memberExpression}});Object.defineProperty(K,"MetaProperty",{enumerable:!0,get:function(){return F.metaProperty}});Object.defineProperty(K,"MixedTypeAnnotation",{enumerable:!0,get:function(){return F.mixedTypeAnnotation}});Object.defineProperty(K,"ModuleExpression",{enumerable:!0,get:function(){return F.moduleExpression}});Object.defineProperty(K,"NewExpression",{enumerable:!0,get:function(){return F.newExpression}});Object.defineProperty(K,"Noop",{enumerable:!0,get:function(){return F.noop}});Object.defineProperty(K,"NullLiteral",{enumerable:!0,get:function(){return F.nullLiteral}});Object.defineProperty(K,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.nullLiteralTypeAnnotation}});Object.defineProperty(K,"NullableTypeAnnotation",{enumerable:!0,get:function(){return F.nullableTypeAnnotation}});Object.defineProperty(K,"NumberLiteral",{enumerable:!0,get:function(){return F.numberLiteral}});Object.defineProperty(K,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.numberLiteralTypeAnnotation}});Object.defineProperty(K,"NumberTypeAnnotation",{enumerable:!0,get:function(){return F.numberTypeAnnotation}});Object.defineProperty(K,"NumericLiteral",{enumerable:!0,get:function(){return F.numericLiteral}});Object.defineProperty(K,"ObjectExpression",{enumerable:!0,get:function(){return F.objectExpression}});Object.defineProperty(K,"ObjectMethod",{enumerable:!0,get:function(){return F.objectMethod}});Object.defineProperty(K,"ObjectPattern",{enumerable:!0,get:function(){return F.objectPattern}});Object.defineProperty(K,"ObjectProperty",{enumerable:!0,get:function(){return F.objectProperty}});Object.defineProperty(K,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return F.objectTypeAnnotation}});Object.defineProperty(K,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return F.objectTypeCallProperty}});Object.defineProperty(K,"ObjectTypeIndexer",{enumerable:!0,get:function(){return F.objectTypeIndexer}});Object.defineProperty(K,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return F.objectTypeInternalSlot}});Object.defineProperty(K,"ObjectTypeProperty",{enumerable:!0,get:function(){return F.objectTypeProperty}});Object.defineProperty(K,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return F.objectTypeSpreadProperty}});Object.defineProperty(K,"OpaqueType",{enumerable:!0,get:function(){return F.opaqueType}});Object.defineProperty(K,"OptionalCallExpression",{enumerable:!0,get:function(){return F.optionalCallExpression}});Object.defineProperty(K,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return F.optionalIndexedAccessType}});Object.defineProperty(K,"OptionalMemberExpression",{enumerable:!0,get:function(){return F.optionalMemberExpression}});Object.defineProperty(K,"ParenthesizedExpression",{enumerable:!0,get:function(){return F.parenthesizedExpression}});Object.defineProperty(K,"PipelineBareFunction",{enumerable:!0,get:function(){return F.pipelineBareFunction}});Object.defineProperty(K,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return F.pipelinePrimaryTopicReference}});Object.defineProperty(K,"PipelineTopicExpression",{enumerable:!0,get:function(){return F.pipelineTopicExpression}});Object.defineProperty(K,"Placeholder",{enumerable:!0,get:function(){return F.placeholder}});Object.defineProperty(K,"PrivateName",{enumerable:!0,get:function(){return F.privateName}});Object.defineProperty(K,"Program",{enumerable:!0,get:function(){return F.program}});Object.defineProperty(K,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return F.qualifiedTypeIdentifier}});Object.defineProperty(K,"RecordExpression",{enumerable:!0,get:function(){return F.recordExpression}});Object.defineProperty(K,"RegExpLiteral",{enumerable:!0,get:function(){return F.regExpLiteral}});Object.defineProperty(K,"RegexLiteral",{enumerable:!0,get:function(){return F.regexLiteral}});Object.defineProperty(K,"RestElement",{enumerable:!0,get:function(){return F.restElement}});Object.defineProperty(K,"RestProperty",{enumerable:!0,get:function(){return F.restProperty}});Object.defineProperty(K,"ReturnStatement",{enumerable:!0,get:function(){return F.returnStatement}});Object.defineProperty(K,"SequenceExpression",{enumerable:!0,get:function(){return F.sequenceExpression}});Object.defineProperty(K,"SpreadElement",{enumerable:!0,get:function(){return F.spreadElement}});Object.defineProperty(K,"SpreadProperty",{enumerable:!0,get:function(){return F.spreadProperty}});Object.defineProperty(K,"StaticBlock",{enumerable:!0,get:function(){return F.staticBlock}});Object.defineProperty(K,"StringLiteral",{enumerable:!0,get:function(){return F.stringLiteral}});Object.defineProperty(K,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.stringLiteralTypeAnnotation}});Object.defineProperty(K,"StringTypeAnnotation",{enumerable:!0,get:function(){return F.stringTypeAnnotation}});Object.defineProperty(K,"Super",{enumerable:!0,get:function(){return F.super}});Object.defineProperty(K,"SwitchCase",{enumerable:!0,get:function(){return F.switchCase}});Object.defineProperty(K,"SwitchStatement",{enumerable:!0,get:function(){return F.switchStatement}});Object.defineProperty(K,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return F.symbolTypeAnnotation}});Object.defineProperty(K,"TSAnyKeyword",{enumerable:!0,get:function(){return F.tsAnyKeyword}});Object.defineProperty(K,"TSArrayType",{enumerable:!0,get:function(){return F.tsArrayType}});Object.defineProperty(K,"TSAsExpression",{enumerable:!0,get:function(){return F.tsAsExpression}});Object.defineProperty(K,"TSBigIntKeyword",{enumerable:!0,get:function(){return F.tsBigIntKeyword}});Object.defineProperty(K,"TSBooleanKeyword",{enumerable:!0,get:function(){return F.tsBooleanKeyword}});Object.defineProperty(K,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return F.tsCallSignatureDeclaration}});Object.defineProperty(K,"TSConditionalType",{enumerable:!0,get:function(){return F.tsConditionalType}});Object.defineProperty(K,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return F.tsConstructSignatureDeclaration}});Object.defineProperty(K,"TSConstructorType",{enumerable:!0,get:function(){return F.tsConstructorType}});Object.defineProperty(K,"TSDeclareFunction",{enumerable:!0,get:function(){return F.tsDeclareFunction}});Object.defineProperty(K,"TSDeclareMethod",{enumerable:!0,get:function(){return F.tsDeclareMethod}});Object.defineProperty(K,"TSEnumBody",{enumerable:!0,get:function(){return F.tsEnumBody}});Object.defineProperty(K,"TSEnumDeclaration",{enumerable:!0,get:function(){return F.tsEnumDeclaration}});Object.defineProperty(K,"TSEnumMember",{enumerable:!0,get:function(){return F.tsEnumMember}});Object.defineProperty(K,"TSExportAssignment",{enumerable:!0,get:function(){return F.tsExportAssignment}});Object.defineProperty(K,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return F.tsExpressionWithTypeArguments}});Object.defineProperty(K,"TSExternalModuleReference",{enumerable:!0,get:function(){return F.tsExternalModuleReference}});Object.defineProperty(K,"TSFunctionType",{enumerable:!0,get:function(){return F.tsFunctionType}});Object.defineProperty(K,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return F.tsImportEqualsDeclaration}});Object.defineProperty(K,"TSImportType",{enumerable:!0,get:function(){return F.tsImportType}});Object.defineProperty(K,"TSIndexSignature",{enumerable:!0,get:function(){return F.tsIndexSignature}});Object.defineProperty(K,"TSIndexedAccessType",{enumerable:!0,get:function(){return F.tsIndexedAccessType}});Object.defineProperty(K,"TSInferType",{enumerable:!0,get:function(){return F.tsInferType}});Object.defineProperty(K,"TSInstantiationExpression",{enumerable:!0,get:function(){return F.tsInstantiationExpression}});Object.defineProperty(K,"TSInterfaceBody",{enumerable:!0,get:function(){return F.tsInterfaceBody}});Object.defineProperty(K,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return F.tsInterfaceDeclaration}});Object.defineProperty(K,"TSIntersectionType",{enumerable:!0,get:function(){return F.tsIntersectionType}});Object.defineProperty(K,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return F.tsIntrinsicKeyword}});Object.defineProperty(K,"TSLiteralType",{enumerable:!0,get:function(){return F.tsLiteralType}});Object.defineProperty(K,"TSMappedType",{enumerable:!0,get:function(){return F.tsMappedType}});Object.defineProperty(K,"TSMethodSignature",{enumerable:!0,get:function(){return F.tsMethodSignature}});Object.defineProperty(K,"TSModuleBlock",{enumerable:!0,get:function(){return F.tsModuleBlock}});Object.defineProperty(K,"TSModuleDeclaration",{enumerable:!0,get:function(){return F.tsModuleDeclaration}});Object.defineProperty(K,"TSNamedTupleMember",{enumerable:!0,get:function(){return F.tsNamedTupleMember}});Object.defineProperty(K,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return F.tsNamespaceExportDeclaration}});Object.defineProperty(K,"TSNeverKeyword",{enumerable:!0,get:function(){return F.tsNeverKeyword}});Object.defineProperty(K,"TSNonNullExpression",{enumerable:!0,get:function(){return F.tsNonNullExpression}});Object.defineProperty(K,"TSNullKeyword",{enumerable:!0,get:function(){return F.tsNullKeyword}});Object.defineProperty(K,"TSNumberKeyword",{enumerable:!0,get:function(){return F.tsNumberKeyword}});Object.defineProperty(K,"TSObjectKeyword",{enumerable:!0,get:function(){return F.tsObjectKeyword}});Object.defineProperty(K,"TSOptionalType",{enumerable:!0,get:function(){return F.tsOptionalType}});Object.defineProperty(K,"TSParameterProperty",{enumerable:!0,get:function(){return F.tsParameterProperty}});Object.defineProperty(K,"TSParenthesizedType",{enumerable:!0,get:function(){return F.tsParenthesizedType}});Object.defineProperty(K,"TSPropertySignature",{enumerable:!0,get:function(){return F.tsPropertySignature}});Object.defineProperty(K,"TSQualifiedName",{enumerable:!0,get:function(){return F.tsQualifiedName}});Object.defineProperty(K,"TSRestType",{enumerable:!0,get:function(){return F.tsRestType}});Object.defineProperty(K,"TSSatisfiesExpression",{enumerable:!0,get:function(){return F.tsSatisfiesExpression}});Object.defineProperty(K,"TSStringKeyword",{enumerable:!0,get:function(){return F.tsStringKeyword}});Object.defineProperty(K,"TSSymbolKeyword",{enumerable:!0,get:function(){return F.tsSymbolKeyword}});Object.defineProperty(K,"TSTemplateLiteralType",{enumerable:!0,get:function(){return F.tsTemplateLiteralType}});Object.defineProperty(K,"TSThisType",{enumerable:!0,get:function(){return F.tsThisType}});Object.defineProperty(K,"TSTupleType",{enumerable:!0,get:function(){return F.tsTupleType}});Object.defineProperty(K,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return F.tsTypeAliasDeclaration}});Object.defineProperty(K,"TSTypeAnnotation",{enumerable:!0,get:function(){return F.tsTypeAnnotation}});Object.defineProperty(K,"TSTypeAssertion",{enumerable:!0,get:function(){return F.tsTypeAssertion}});Object.defineProperty(K,"TSTypeLiteral",{enumerable:!0,get:function(){return F.tsTypeLiteral}});Object.defineProperty(K,"TSTypeOperator",{enumerable:!0,get:function(){return F.tsTypeOperator}});Object.defineProperty(K,"TSTypeParameter",{enumerable:!0,get:function(){return F.tsTypeParameter}});Object.defineProperty(K,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return F.tsTypeParameterDeclaration}});Object.defineProperty(K,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return F.tsTypeParameterInstantiation}});Object.defineProperty(K,"TSTypePredicate",{enumerable:!0,get:function(){return F.tsTypePredicate}});Object.defineProperty(K,"TSTypeQuery",{enumerable:!0,get:function(){return F.tsTypeQuery}});Object.defineProperty(K,"TSTypeReference",{enumerable:!0,get:function(){return F.tsTypeReference}});Object.defineProperty(K,"TSUndefinedKeyword",{enumerable:!0,get:function(){return F.tsUndefinedKeyword}});Object.defineProperty(K,"TSUnionType",{enumerable:!0,get:function(){return F.tsUnionType}});Object.defineProperty(K,"TSUnknownKeyword",{enumerable:!0,get:function(){return F.tsUnknownKeyword}});Object.defineProperty(K,"TSVoidKeyword",{enumerable:!0,get:function(){return F.tsVoidKeyword}});Object.defineProperty(K,"TaggedTemplateExpression",{enumerable:!0,get:function(){return F.taggedTemplateExpression}});Object.defineProperty(K,"TemplateElement",{enumerable:!0,get:function(){return F.templateElement}});Object.defineProperty(K,"TemplateLiteral",{enumerable:!0,get:function(){return F.templateLiteral}});Object.defineProperty(K,"ThisExpression",{enumerable:!0,get:function(){return F.thisExpression}});Object.defineProperty(K,"ThisTypeAnnotation",{enumerable:!0,get:function(){return F.thisTypeAnnotation}});Object.defineProperty(K,"ThrowStatement",{enumerable:!0,get:function(){return F.throwStatement}});Object.defineProperty(K,"TopicReference",{enumerable:!0,get:function(){return F.topicReference}});Object.defineProperty(K,"TryStatement",{enumerable:!0,get:function(){return F.tryStatement}});Object.defineProperty(K,"TupleExpression",{enumerable:!0,get:function(){return F.tupleExpression}});Object.defineProperty(K,"TupleTypeAnnotation",{enumerable:!0,get:function(){return F.tupleTypeAnnotation}});Object.defineProperty(K,"TypeAlias",{enumerable:!0,get:function(){return F.typeAlias}});Object.defineProperty(K,"TypeAnnotation",{enumerable:!0,get:function(){return F.typeAnnotation}});Object.defineProperty(K,"TypeCastExpression",{enumerable:!0,get:function(){return F.typeCastExpression}});Object.defineProperty(K,"TypeParameter",{enumerable:!0,get:function(){return F.typeParameter}});Object.defineProperty(K,"TypeParameterDeclaration",{enumerable:!0,get:function(){return F.typeParameterDeclaration}});Object.defineProperty(K,"TypeParameterInstantiation",{enumerable:!0,get:function(){return F.typeParameterInstantiation}});Object.defineProperty(K,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return F.typeofTypeAnnotation}});Object.defineProperty(K,"UnaryExpression",{enumerable:!0,get:function(){return F.unaryExpression}});Object.defineProperty(K,"UnionTypeAnnotation",{enumerable:!0,get:function(){return F.unionTypeAnnotation}});Object.defineProperty(K,"UpdateExpression",{enumerable:!0,get:function(){return F.updateExpression}});Object.defineProperty(K,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return F.v8IntrinsicIdentifier}});Object.defineProperty(K,"VariableDeclaration",{enumerable:!0,get:function(){return F.variableDeclaration}});Object.defineProperty(K,"VariableDeclarator",{enumerable:!0,get:function(){return F.variableDeclarator}});Object.defineProperty(K,"Variance",{enumerable:!0,get:function(){return F.variance}});Object.defineProperty(K,"VoidTypeAnnotation",{enumerable:!0,get:function(){return F.voidTypeAnnotation}});Object.defineProperty(K,"WhileStatement",{enumerable:!0,get:function(){return F.whileStatement}});Object.defineProperty(K,"WithStatement",{enumerable:!0,get:function(){return F.withStatement}});Object.defineProperty(K,"YieldExpression",{enumerable:!0,get:function(){return F.yieldExpression}});var F=BJ()});var rf=D((kG)=>{Object.defineProperty(kG,"__esModule",{value:!0});var MJ=BJ();Object.keys(MJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in kG&&kG[f]===MJ[f])return;Object.defineProperty(kG,f,{enumerable:!0,get:function(){return MJ[f]}})});var KJ=b0();Object.keys(KJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in kG&&kG[f]===KJ[f])return;Object.defineProperty(kG,f,{enumerable:!0,get:function(){return KJ[f]}})})});var E0=D((w0)=>{Object.defineProperty(w0,"__esModule",{value:!0});w0.default=bw;var Tw=rf(),Lw=Hf();function bw(f,G){let X=f.value.split(/\r\n|\n|\r/),J=0;for(let R=0;R<X.length;R++)if(/[^ \t]/.exec(X[R]))J=R;let W="";for(let R=0;R<X.length;R++){let V=X[R],H=R===0,U=R===X.length-1,Q=R===J,Y=V.replace(/\t/g," ");if(!H)Y=Y.replace(/^ +/,"");if(!U)Y=Y.replace(/ +$/,"");if(Y){if(!Q)Y+=" ";W+=Y}}if(W)G.push(Lw.inherits(Tw.stringLiteral(W),f))}});var v0=D((k0)=>{Object.defineProperty(k0,"__esModule",{value:!0});k0.default=kw;var FJ=Nf(),Ew=E0();function kw(f){let G=[];for(let X=0;X<f.children.length;X++){let J=f.children[X];if(FJ.isJSXText(J)){Ew.default(J,G);continue}if(FJ.isJSXExpressionContainer(J))J=J.expression;if(FJ.isJSXEmptyExpression(J))continue;G.push(J)}return G}});var SJ=D((g0)=>{Object.defineProperty(g0,"__esModule",{value:!0});g0.default=_w;var gw=of();function _w(f){return!!(f&&gw.VISITOR_KEYS[f.type])}});var u0=D((_0)=>{Object.defineProperty(_0,"__esModule",{value:!0});_0.default=yw;var hw=SJ();function yw(f){if(!hw.default(f)){var G;let X=(G=f==null?void 0:f.type)!=null?G:JSON.stringify(f);throw new TypeError(`Not a valid node of type "${X}"`)}}});var y0=D((h0)=>{Object.defineProperty(h0,"__esModule",{value:!0});h0.assertAccessor=Wu;h0.assertAnyTypeAnnotation=jk;h0.assertArgumentPlaceholder=nv;h0.assertArrayExpression=lw;h0.assertArrayPattern=xE;h0.assertArrayTypeAnnotation=Ok;h0.assertArrowFunctionExpression=mE;h0.assertAssignmentExpression=cw;h0.assertAssignmentPattern=yE;h0.assertAwaitExpression=Zk;h0.assertBigIntLiteral=zk;h0.assertBinary=P_;h0.assertBinaryExpression=aw;h0.assertBindExpression=ov;h0.assertBlock=L_;h0.assertBlockParent=T_;h0.assertBlockStatement=sw;h0.assertBooleanLiteral=KE;h0.assertBooleanLiteralTypeAnnotation=Ik;h0.assertBooleanTypeAnnotation=Dk;h0.assertBreakStatement=dw;h0.assertCallExpression=tw;h0.assertCatchClause=nw;h0.assertClass=fu;h0.assertClassAccessorProperty=Sk;h0.assertClassBody=lE;h0.assertClassDeclaration=aE;h0.assertClassExpression=cE;h0.assertClassImplements=Nk;h0.assertClassMethod=Xk;h0.assertClassPrivateMethod=qk;h0.assertClassPrivateProperty=$k;h0.assertClassProperty=Fk;h0.assertCompletionStatement=E_;h0.assertConditional=k_;h0.assertConditionalExpression=ow;h0.assertContinueStatement=ew;h0.assertDebuggerStatement=fE;h0.assertDecimalLiteral=Rg;h0.assertDeclaration=l_;h0.assertDeclareClass=Tk;h0.assertDeclareExportAllDeclaration=uk;h0.assertDeclareExportDeclaration=_k;h0.assertDeclareFunction=Lk;h0.assertDeclareInterface=bk;h0.assertDeclareModule=wk;h0.assertDeclareModuleExports=Ek;h0.assertDeclareOpaqueType=vk;h0.assertDeclareTypeAlias=kk;h0.assertDeclareVariable=gk;h0.assertDeclaredPredicate=hk;h0.assertDecorator=fg;h0.assertDirective=rw;h0.assertDirectiveLiteral=pw;h0.assertDoExpression=Gg;h0.assertDoWhileStatement=GE;h0.assertEmptyStatement=XE;h0.assertEmptyTypeAnnotation=dk;h0.assertEnumBody=Yu;h0.assertEnumBooleanBody=Ov;h0.assertEnumBooleanMember=Nv;h0.assertEnumDeclaration=jv;h0.assertEnumDefaultedMember=bv;h0.assertEnumMember=zu;h0.assertEnumNumberBody=Dv;h0.assertEnumNumberMember=Tv;h0.assertEnumStringBody=Iv;h0.assertEnumStringMember=Lv;h0.assertEnumSymbolBody=Pv;h0.assertExistsTypeAnnotation=yk;h0.assertExportAllDeclaration=iE;h0.assertExportDeclaration=Xu;h0.assertExportDefaultDeclaration=rE;h0.assertExportDefaultSpecifier=Xg;h0.assertExportNamedDeclaration=pE;h0.assertExportNamespaceSpecifier=Bk;h0.assertExportSpecifier=sE;h0.assertExpression=I_;h0.assertExpressionStatement=JE;h0.assertExpressionWrapper=__;h0.assertFile=WE;h0.assertFlow=Vu;h0.assertFlowBaseAnnotation=Uu;h0.assertFlowDeclaration=Qu;h0.assertFlowPredicate=Zu;h0.assertFlowType=Hu;h0.assertFor=u_;h0.assertForInStatement=RE;h0.assertForOfStatement=dE;h0.assertForStatement=VE;h0.assertForXStatement=h_;h0.assertFunction=y_;h0.assertFunctionDeclaration=HE;h0.assertFunctionExpression=UE;h0.assertFunctionParent=x_;h0.assertFunctionTypeAnnotation=xk;h0.assertFunctionTypeParam=mk;h0.assertGenericTypeAnnotation=lk;h0.assertIdentifier=QE;h0.assertIfStatement=ZE;h0.assertImmutable=p_;h0.assertImport=Yk;h0.assertImportAttribute=ev;h0.assertImportDeclaration=tE;h0.assertImportDefaultSpecifier=nE;h0.assertImportExpression=fk;h0.assertImportNamespaceSpecifier=oE;h0.assertImportOrExportDeclaration=Gu;h0.assertImportSpecifier=eE;h0.assertIndexedAccessType=wv;h0.assertInferredPredicate=ck;h0.assertInterfaceDeclaration=ik;h0.assertInterfaceExtends=ak;h0.assertInterfaceTypeAnnotation=rk;h0.assertInterpreterDirective=iw;h0.assertIntersectionTypeAnnotation=pk;h0.assertJSX=Bu;h0.assertJSXAttribute=kv;h0.assertJSXClosingElement=vv;h0.assertJSXClosingFragment=pv;h0.assertJSXElement=gv;h0.assertJSXEmptyExpression=_v;h0.assertJSXExpressionContainer=uv;h0.assertJSXFragment=iv;h0.assertJSXIdentifier=yv;h0.assertJSXMemberExpression=xv;h0.assertJSXNamespacedName=mv;h0.assertJSXOpeningElement=lv;h0.assertJSXOpeningFragment=rv;h0.assertJSXSpreadAttribute=cv;h0.assertJSXSpreadChild=hv;h0.assertJSXText=av;h0.assertLVal=a_;h0.assertLabeledStatement=YE;h0.assertLiteral=r_;h0.assertLogicalExpression=SE;h0.assertLoop=v_;h0.assertMemberExpression=$E;h0.assertMetaProperty=Gk;h0.assertMethod=d_;h0.assertMiscellaneous=Mu;h0.assertMixedTypeAnnotation=sk;h0.assertModuleDeclaration=Ou;h0.assertModuleExpression=Vg;h0.assertModuleSpecifier=Ju;h0.assertNewExpression=qE;h0.assertNoop=sv;h0.assertNullLiteral=ME;h0.assertNullLiteralTypeAnnotation=Pk;h0.assertNullableTypeAnnotation=tk;h0.assertNumberLiteral=qu;h0.assertNumberLiteralTypeAnnotation=nk;h0.assertNumberTypeAnnotation=ok;h0.assertNumericLiteral=BE;h0.assertObjectExpression=AE;h0.assertObjectMember=t_;h0.assertObjectMethod=jE;h0.assertObjectPattern=Jk;h0.assertObjectProperty=OE;h0.assertObjectTypeAnnotation=ek;h0.assertObjectTypeCallProperty=Gv;h0.assertObjectTypeIndexer=Xv;h0.assertObjectTypeInternalSlot=fv;h0.assertObjectTypeProperty=Jv;h0.assertObjectTypeSpreadProperty=Wv;h0.assertOpaqueType=Rv;h0.assertOptionalCallExpression=Kk;h0.assertOptionalIndexedAccessType=Ev;h0.assertOptionalMemberExpression=Mk;h0.assertParenthesizedExpression=NE;h0.assertPattern=e_;h0.assertPatternLike=c_;h0.assertPipelineBareFunction=Qg;h0.assertPipelinePrimaryTopicReference=Zg;h0.assertPipelineTopicExpression=Ug;h0.assertPlaceholder=dv;h0.assertPrivate=Ru;h0.assertPrivateName=Ck;h0.assertProgram=CE;h0.assertProperty=n_;h0.assertPureish=m_;h0.assertQualifiedTypeIdentifier=Vv;h0.assertRecordExpression=Jg;h0.assertRegExpLiteral=FE;h0.assertRegexLiteral=Cu;h0.assertRestElement=DE;h0.assertRestProperty=Au;h0.assertReturnStatement=IE;h0.assertScopable=N_;h0.assertSequenceExpression=PE;h0.assertSpreadElement=Wk;h0.assertSpreadProperty=ju;h0.assertStandardized=D_;h0.assertStatement=b_;h0.assertStaticBlock=Ak;h0.assertStringLiteral=zE;h0.assertStringLiteralTypeAnnotation=Hv;h0.assertStringTypeAnnotation=Uv;h0.assertSuper=Rk;h0.assertSwitchCase=TE;h0.assertSwitchStatement=LE;h0.assertSymbolTypeAnnotation=Qv;h0.assertTSAnyKeyword=Cg;h0.assertTSArrayType=xg;h0.assertTSAsExpression=V_;h0.assertTSBaseType=$u;h0.assertTSBigIntKeyword=jg;h0.assertTSBooleanKeyword=Ag;h0.assertTSCallSignatureDeclaration=Kg;h0.assertTSConditionalType=pg;h0.assertTSConstructSignatureDeclaration=Fg;h0.assertTSConstructorType=gg;h0.assertTSDeclareFunction=zg;h0.assertTSDeclareMethod=Bg;h0.assertTSEntityName=i_;h0.assertTSEnumBody=Q_;h0.assertTSEnumDeclaration=Z_;h0.assertTSEnumMember=Y_;h0.assertTSExportAssignment=$_;h0.assertTSExpressionWithTypeArguments=G_;h0.assertTSExternalModuleReference=F_;h0.assertTSFunctionType=vg;h0.assertTSImportEqualsDeclaration=K_;h0.assertTSImportType=M_;h0.assertTSIndexSignature=qg;h0.assertTSIndexedAccessType=ng;h0.assertTSInferType=sg;h0.assertTSInstantiationExpression=R_;h0.assertTSInterfaceBody=J_;h0.assertTSInterfaceDeclaration=X_;h0.assertTSIntersectionType=rg;h0.assertTSIntrinsicKeyword=Og;h0.assertTSLiteralType=f_;h0.assertTSMappedType=og;h0.assertTSMethodSignature=$g;h0.assertTSModuleBlock=B_;h0.assertTSModuleDeclaration=z_;h0.assertTSNamedTupleMember=ag;h0.assertTSNamespaceExportDeclaration=q_;h0.assertTSNeverKeyword=Dg;h0.assertTSNonNullExpression=S_;h0.assertTSNullKeyword=Ig;h0.assertTSNumberKeyword=Pg;h0.assertTSObjectKeyword=Ng;h0.assertTSOptionalType=lg;h0.assertTSParameterProperty=Yg;h0.assertTSParenthesizedType=dg;h0.assertTSPropertySignature=Sg;h0.assertTSQualifiedName=Mg;h0.assertTSRestType=cg;h0.assertTSSatisfiesExpression=H_;h0.assertTSStringKeyword=Tg;h0.assertTSSymbolKeyword=Lg;h0.assertTSTemplateLiteralType=eg;h0.assertTSThisType=kg;h0.assertTSTupleType=mg;h0.assertTSType=Su;h0.assertTSTypeAliasDeclaration=W_;h0.assertTSTypeAnnotation=C_;h0.assertTSTypeAssertion=U_;h0.assertTSTypeElement=Fu;h0.assertTSTypeLiteral=yg;h0.assertTSTypeOperator=tg;h0.assertTSTypeParameter=O_;h0.assertTSTypeParameterDeclaration=j_;h0.assertTSTypeParameterInstantiation=A_;h0.assertTSTypePredicate=ug;h0.assertTSTypeQuery=hg;h0.assertTSTypeReference=_g;h0.assertTSUndefinedKeyword=bg;h0.assertTSUnionType=ig;h0.assertTSUnknownKeyword=wg;h0.assertTSVoidKeyword=Eg;h0.assertTaggedTemplateExpression=Vk;h0.assertTemplateElement=Hk;h0.assertTemplateLiteral=Uk;h0.assertTerminatorless=w_;h0.assertThisExpression=bE;h0.assertThisTypeAnnotation=Zv;h0.assertThrowStatement=wE;h0.assertTopicReference=Hg;h0.assertTryStatement=EE;h0.assertTupleExpression=Wg;h0.assertTupleTypeAnnotation=Yv;h0.assertTypeAlias=Bv;h0.assertTypeAnnotation=Mv;h0.assertTypeCastExpression=Kv;h0.assertTypeParameter=Fv;h0.assertTypeParameterDeclaration=Sv;h0.assertTypeParameterInstantiation=$v;h0.assertTypeScript=Ku;h0.assertTypeofTypeAnnotation=zv;h0.assertUnaryExpression=kE;h0.assertUnaryLike=o_;h0.assertUnionTypeAnnotation=qv;h0.assertUpdateExpression=vE;h0.assertUserWhitespacable=s_;h0.assertV8IntrinsicIdentifier=tv;h0.assertVariableDeclaration=gE;h0.assertVariableDeclarator=_E;h0.assertVariance=Cv;h0.assertVoidTypeAnnotation=Av;h0.assertWhile=g_;h0.assertWhileStatement=uE;h0.assertWithStatement=hE;h0.assertYieldExpression=Qk;var mw=z1(),a1=_1();function z(f,G,X){if(!mw.default(f,G,X))throw new Error(`Expected type "${f}" with option ${JSON.stringify(X)}, but instead got "${G.type}".`)}function lw(f,G){z("ArrayExpression",f,G)}function cw(f,G){z("AssignmentExpression",f,G)}function aw(f,G){z("BinaryExpression",f,G)}function iw(f,G){z("InterpreterDirective",f,G)}function rw(f,G){z("Directive",f,G)}function pw(f,G){z("DirectiveLiteral",f,G)}function sw(f,G){z("BlockStatement",f,G)}function dw(f,G){z("BreakStatement",f,G)}function tw(f,G){z("CallExpression",f,G)}function nw(f,G){z("CatchClause",f,G)}function ow(f,G){z("ConditionalExpression",f,G)}function ew(f,G){z("ContinueStatement",f,G)}function fE(f,G){z("DebuggerStatement",f,G)}function GE(f,G){z("DoWhileStatement",f,G)}function XE(f,G){z("EmptyStatement",f,G)}function JE(f,G){z("ExpressionStatement",f,G)}function WE(f,G){z("File",f,G)}function RE(f,G){z("ForInStatement",f,G)}function VE(f,G){z("ForStatement",f,G)}function HE(f,G){z("FunctionDeclaration",f,G)}function UE(f,G){z("FunctionExpression",f,G)}function QE(f,G){z("Identifier",f,G)}function ZE(f,G){z("IfStatement",f,G)}function YE(f,G){z("LabeledStatement",f,G)}function zE(f,G){z("StringLiteral",f,G)}function BE(f,G){z("NumericLiteral",f,G)}function ME(f,G){z("NullLiteral",f,G)}function KE(f,G){z("BooleanLiteral",f,G)}function FE(f,G){z("RegExpLiteral",f,G)}function SE(f,G){z("LogicalExpression",f,G)}function $E(f,G){z("MemberExpression",f,G)}function qE(f,G){z("NewExpression",f,G)}function CE(f,G){z("Program",f,G)}function AE(f,G){z("ObjectExpression",f,G)}function jE(f,G){z("ObjectMethod",f,G)}function OE(f,G){z("ObjectProperty",f,G)}function DE(f,G){z("RestElement",f,G)}function IE(f,G){z("ReturnStatement",f,G)}function PE(f,G){z("SequenceExpression",f,G)}function NE(f,G){z("ParenthesizedExpression",f,G)}function TE(f,G){z("SwitchCase",f,G)}function LE(f,G){z("SwitchStatement",f,G)}function bE(f,G){z("ThisExpression",f,G)}function wE(f,G){z("ThrowStatement",f,G)}function EE(f,G){z("TryStatement",f,G)}function kE(f,G){z("UnaryExpression",f,G)}function vE(f,G){z("UpdateExpression",f,G)}function gE(f,G){z("VariableDeclaration",f,G)}function _E(f,G){z("VariableDeclarator",f,G)}function uE(f,G){z("WhileStatement",f,G)}function hE(f,G){z("WithStatement",f,G)}function yE(f,G){z("AssignmentPattern",f,G)}function xE(f,G){z("ArrayPattern",f,G)}function mE(f,G){z("ArrowFunctionExpression",f,G)}function lE(f,G){z("ClassBody",f,G)}function cE(f,G){z("ClassExpression",f,G)}function aE(f,G){z("ClassDeclaration",f,G)}function iE(f,G){z("ExportAllDeclaration",f,G)}function rE(f,G){z("ExportDefaultDeclaration",f,G)}function pE(f,G){z("ExportNamedDeclaration",f,G)}function sE(f,G){z("ExportSpecifier",f,G)}function dE(f,G){z("ForOfStatement",f,G)}function tE(f,G){z("ImportDeclaration",f,G)}function nE(f,G){z("ImportDefaultSpecifier",f,G)}function oE(f,G){z("ImportNamespaceSpecifier",f,G)}function eE(f,G){z("ImportSpecifier",f,G)}function fk(f,G){z("ImportExpression",f,G)}function Gk(f,G){z("MetaProperty",f,G)}function Xk(f,G){z("ClassMethod",f,G)}function Jk(f,G){z("ObjectPattern",f,G)}function Wk(f,G){z("SpreadElement",f,G)}function Rk(f,G){z("Super",f,G)}function Vk(f,G){z("TaggedTemplateExpression",f,G)}function Hk(f,G){z("TemplateElement",f,G)}function Uk(f,G){z("TemplateLiteral",f,G)}function Qk(f,G){z("YieldExpression",f,G)}function Zk(f,G){z("AwaitExpression",f,G)}function Yk(f,G){z("Import",f,G)}function zk(f,G){z("BigIntLiteral",f,G)}function Bk(f,G){z("ExportNamespaceSpecifier",f,G)}function Mk(f,G){z("OptionalMemberExpression",f,G)}function Kk(f,G){z("OptionalCallExpression",f,G)}function Fk(f,G){z("ClassProperty",f,G)}function Sk(f,G){z("ClassAccessorProperty",f,G)}function $k(f,G){z("ClassPrivateProperty",f,G)}function qk(f,G){z("ClassPrivateMethod",f,G)}function Ck(f,G){z("PrivateName",f,G)}function Ak(f,G){z("StaticBlock",f,G)}function jk(f,G){z("AnyTypeAnnotation",f,G)}function Ok(f,G){z("ArrayTypeAnnotation",f,G)}function Dk(f,G){z("BooleanTypeAnnotation",f,G)}function Ik(f,G){z("BooleanLiteralTypeAnnotation",f,G)}function Pk(f,G){z("NullLiteralTypeAnnotation",f,G)}function Nk(f,G){z("ClassImplements",f,G)}function Tk(f,G){z("DeclareClass",f,G)}function Lk(f,G){z("DeclareFunction",f,G)}function bk(f,G){z("DeclareInterface",f,G)}function wk(f,G){z("DeclareModule",f,G)}function Ek(f,G){z("DeclareModuleExports",f,G)}function kk(f,G){z("DeclareTypeAlias",f,G)}function vk(f,G){z("DeclareOpaqueType",f,G)}function gk(f,G){z("DeclareVariable",f,G)}function _k(f,G){z("DeclareExportDeclaration",f,G)}function uk(f,G){z("DeclareExportAllDeclaration",f,G)}function hk(f,G){z("DeclaredPredicate",f,G)}function yk(f,G){z("ExistsTypeAnnotation",f,G)}function xk(f,G){z("FunctionTypeAnnotation",f,G)}function mk(f,G){z("FunctionTypeParam",f,G)}function lk(f,G){z("GenericTypeAnnotation",f,G)}function ck(f,G){z("InferredPredicate",f,G)}function ak(f,G){z("InterfaceExtends",f,G)}function ik(f,G){z("InterfaceDeclaration",f,G)}function rk(f,G){z("InterfaceTypeAnnotation",f,G)}function pk(f,G){z("IntersectionTypeAnnotation",f,G)}function sk(f,G){z("MixedTypeAnnotation",f,G)}function dk(f,G){z("EmptyTypeAnnotation",f,G)}function tk(f,G){z("NullableTypeAnnotation",f,G)}function nk(f,G){z("NumberLiteralTypeAnnotation",f,G)}function ok(f,G){z("NumberTypeAnnotation",f,G)}function ek(f,G){z("ObjectTypeAnnotation",f,G)}function fv(f,G){z("ObjectTypeInternalSlot",f,G)}function Gv(f,G){z("ObjectTypeCallProperty",f,G)}function Xv(f,G){z("ObjectTypeIndexer",f,G)}function Jv(f,G){z("ObjectTypeProperty",f,G)}function Wv(f,G){z("ObjectTypeSpreadProperty",f,G)}function Rv(f,G){z("OpaqueType",f,G)}function Vv(f,G){z("QualifiedTypeIdentifier",f,G)}function Hv(f,G){z("StringLiteralTypeAnnotation",f,G)}function Uv(f,G){z("StringTypeAnnotation",f,G)}function Qv(f,G){z("SymbolTypeAnnotation",f,G)}function Zv(f,G){z("ThisTypeAnnotation",f,G)}function Yv(f,G){z("TupleTypeAnnotation",f,G)}function zv(f,G){z("TypeofTypeAnnotation",f,G)}function Bv(f,G){z("TypeAlias",f,G)}function Mv(f,G){z("TypeAnnotation",f,G)}function Kv(f,G){z("TypeCastExpression",f,G)}function Fv(f,G){z("TypeParameter",f,G)}function Sv(f,G){z("TypeParameterDeclaration",f,G)}function $v(f,G){z("TypeParameterInstantiation",f,G)}function qv(f,G){z("UnionTypeAnnotation",f,G)}function Cv(f,G){z("Variance",f,G)}function Av(f,G){z("VoidTypeAnnotation",f,G)}function jv(f,G){z("EnumDeclaration",f,G)}function Ov(f,G){z("EnumBooleanBody",f,G)}function Dv(f,G){z("EnumNumberBody",f,G)}function Iv(f,G){z("EnumStringBody",f,G)}function Pv(f,G){z("EnumSymbolBody",f,G)}function Nv(f,G){z("EnumBooleanMember",f,G)}function Tv(f,G){z("EnumNumberMember",f,G)}function Lv(f,G){z("EnumStringMember",f,G)}function bv(f,G){z("EnumDefaultedMember",f,G)}function wv(f,G){z("IndexedAccessType",f,G)}function Ev(f,G){z("OptionalIndexedAccessType",f,G)}function kv(f,G){z("JSXAttribute",f,G)}function vv(f,G){z("JSXClosingElement",f,G)}function gv(f,G){z("JSXElement",f,G)}function _v(f,G){z("JSXEmptyExpression",f,G)}function uv(f,G){z("JSXExpressionContainer",f,G)}function hv(f,G){z("JSXSpreadChild",f,G)}function yv(f,G){z("JSXIdentifier",f,G)}function xv(f,G){z("JSXMemberExpression",f,G)}function mv(f,G){z("JSXNamespacedName",f,G)}function lv(f,G){z("JSXOpeningElement",f,G)}function cv(f,G){z("JSXSpreadAttribute",f,G)}function av(f,G){z("JSXText",f,G)}function iv(f,G){z("JSXFragment",f,G)}function rv(f,G){z("JSXOpeningFragment",f,G)}function pv(f,G){z("JSXClosingFragment",f,G)}function sv(f,G){z("Noop",f,G)}function dv(f,G){z("Placeholder",f,G)}function tv(f,G){z("V8IntrinsicIdentifier",f,G)}function nv(f,G){z("ArgumentPlaceholder",f,G)}function ov(f,G){z("BindExpression",f,G)}function ev(f,G){z("ImportAttribute",f,G)}function fg(f,G){z("Decorator",f,G)}function Gg(f,G){z("DoExpression",f,G)}function Xg(f,G){z("ExportDefaultSpecifier",f,G)}function Jg(f,G){z("RecordExpression",f,G)}function Wg(f,G){z("TupleExpression",f,G)}function Rg(f,G){z("DecimalLiteral",f,G)}function Vg(f,G){z("ModuleExpression",f,G)}function Hg(f,G){z("TopicReference",f,G)}function Ug(f,G){z("PipelineTopicExpression",f,G)}function Qg(f,G){z("PipelineBareFunction",f,G)}function Zg(f,G){z("PipelinePrimaryTopicReference",f,G)}function Yg(f,G){z("TSParameterProperty",f,G)}function zg(f,G){z("TSDeclareFunction",f,G)}function Bg(f,G){z("TSDeclareMethod",f,G)}function Mg(f,G){z("TSQualifiedName",f,G)}function Kg(f,G){z("TSCallSignatureDeclaration",f,G)}function Fg(f,G){z("TSConstructSignatureDeclaration",f,G)}function Sg(f,G){z("TSPropertySignature",f,G)}function $g(f,G){z("TSMethodSignature",f,G)}function qg(f,G){z("TSIndexSignature",f,G)}function Cg(f,G){z("TSAnyKeyword",f,G)}function Ag(f,G){z("TSBooleanKeyword",f,G)}function jg(f,G){z("TSBigIntKeyword",f,G)}function Og(f,G){z("TSIntrinsicKeyword",f,G)}function Dg(f,G){z("TSNeverKeyword",f,G)}function Ig(f,G){z("TSNullKeyword",f,G)}function Pg(f,G){z("TSNumberKeyword",f,G)}function Ng(f,G){z("TSObjectKeyword",f,G)}function Tg(f,G){z("TSStringKeyword",f,G)}function Lg(f,G){z("TSSymbolKeyword",f,G)}function bg(f,G){z("TSUndefinedKeyword",f,G)}function wg(f,G){z("TSUnknownKeyword",f,G)}function Eg(f,G){z("TSVoidKeyword",f,G)}function kg(f,G){z("TSThisType",f,G)}function vg(f,G){z("TSFunctionType",f,G)}function gg(f,G){z("TSConstructorType",f,G)}function _g(f,G){z("TSTypeReference",f,G)}function ug(f,G){z("TSTypePredicate",f,G)}function hg(f,G){z("TSTypeQuery",f,G)}function yg(f,G){z("TSTypeLiteral",f,G)}function xg(f,G){z("TSArrayType",f,G)}function mg(f,G){z("TSTupleType",f,G)}function lg(f,G){z("TSOptionalType",f,G)}function cg(f,G){z("TSRestType",f,G)}function ag(f,G){z("TSNamedTupleMember",f,G)}function ig(f,G){z("TSUnionType",f,G)}function rg(f,G){z("TSIntersectionType",f,G)}function pg(f,G){z("TSConditionalType",f,G)}function sg(f,G){z("TSInferType",f,G)}function dg(f,G){z("TSParenthesizedType",f,G)}function tg(f,G){z("TSTypeOperator",f,G)}function ng(f,G){z("TSIndexedAccessType",f,G)}function og(f,G){z("TSMappedType",f,G)}function eg(f,G){z("TSTemplateLiteralType",f,G)}function f_(f,G){z("TSLiteralType",f,G)}function G_(f,G){z("TSExpressionWithTypeArguments",f,G)}function X_(f,G){z("TSInterfaceDeclaration",f,G)}function J_(f,G){z("TSInterfaceBody",f,G)}function W_(f,G){z("TSTypeAliasDeclaration",f,G)}function R_(f,G){z("TSInstantiationExpression",f,G)}function V_(f,G){z("TSAsExpression",f,G)}function H_(f,G){z("TSSatisfiesExpression",f,G)}function U_(f,G){z("TSTypeAssertion",f,G)}function Q_(f,G){z("TSEnumBody",f,G)}function Z_(f,G){z("TSEnumDeclaration",f,G)}function Y_(f,G){z("TSEnumMember",f,G)}function z_(f,G){z("TSModuleDeclaration",f,G)}function B_(f,G){z("TSModuleBlock",f,G)}function M_(f,G){z("TSImportType",f,G)}function K_(f,G){z("TSImportEqualsDeclaration",f,G)}function F_(f,G){z("TSExternalModuleReference",f,G)}function S_(f,G){z("TSNonNullExpression",f,G)}function $_(f,G){z("TSExportAssignment",f,G)}function q_(f,G){z("TSNamespaceExportDeclaration",f,G)}function C_(f,G){z("TSTypeAnnotation",f,G)}function A_(f,G){z("TSTypeParameterInstantiation",f,G)}function j_(f,G){z("TSTypeParameterDeclaration",f,G)}function O_(f,G){z("TSTypeParameter",f,G)}function D_(f,G){z("Standardized",f,G)}function I_(f,G){z("Expression",f,G)}function P_(f,G){z("Binary",f,G)}function N_(f,G){z("Scopable",f,G)}function T_(f,G){z("BlockParent",f,G)}function L_(f,G){z("Block",f,G)}function b_(f,G){z("Statement",f,G)}function w_(f,G){z("Terminatorless",f,G)}function E_(f,G){z("CompletionStatement",f,G)}function k_(f,G){z("Conditional",f,G)}function v_(f,G){z("Loop",f,G)}function g_(f,G){z("While",f,G)}function __(f,G){z("ExpressionWrapper",f,G)}function u_(f,G){z("For",f,G)}function h_(f,G){z("ForXStatement",f,G)}function y_(f,G){z("Function",f,G)}function x_(f,G){z("FunctionParent",f,G)}function m_(f,G){z("Pureish",f,G)}function l_(f,G){z("Declaration",f,G)}function c_(f,G){z("PatternLike",f,G)}function a_(f,G){z("LVal",f,G)}function i_(f,G){z("TSEntityName",f,G)}function r_(f,G){z("Literal",f,G)}function p_(f,G){z("Immutable",f,G)}function s_(f,G){z("UserWhitespacable",f,G)}function d_(f,G){z("Method",f,G)}function t_(f,G){z("ObjectMember",f,G)}function n_(f,G){z("Property",f,G)}function o_(f,G){z("UnaryLike",f,G)}function e_(f,G){z("Pattern",f,G)}function fu(f,G){z("Class",f,G)}function Gu(f,G){z("ImportOrExportDeclaration",f,G)}function Xu(f,G){z("ExportDeclaration",f,G)}function Ju(f,G){z("ModuleSpecifier",f,G)}function Wu(f,G){z("Accessor",f,G)}function Ru(f,G){z("Private",f,G)}function Vu(f,G){z("Flow",f,G)}function Hu(f,G){z("FlowType",f,G)}function Uu(f,G){z("FlowBaseAnnotation",f,G)}function Qu(f,G){z("FlowDeclaration",f,G)}function Zu(f,G){z("FlowPredicate",f,G)}function Yu(f,G){z("EnumBody",f,G)}function zu(f,G){z("EnumMember",f,G)}function Bu(f,G){z("JSX",f,G)}function Mu(f,G){z("Miscellaneous",f,G)}function Ku(f,G){z("TypeScript",f,G)}function Fu(f,G){z("TSTypeElement",f,G)}function Su(f,G){z("TSType",f,G)}function $u(f,G){z("TSBaseType",f,G)}function qu(f,G){a1.default("assertNumberLiteral","assertNumericLiteral"),z("NumberLiteral",f,G)}function Cu(f,G){a1.default("assertRegexLiteral","assertRegExpLiteral"),z("RegexLiteral",f,G)}function Au(f,G){a1.default("assertRestProperty","assertRestElement"),z("RestProperty",f,G)}function ju(f,G){a1.default("assertSpreadProperty","assertSpreadElement"),z("SpreadProperty",f,G)}function Ou(f,G){a1.default("assertModuleDeclaration","assertImportOrExportDeclaration"),z("ModuleDeclaration",f,G)}});var l0=D((x0)=>{Object.defineProperty(x0,"__esModule",{value:!0});x0.default=void 0;var HG=rf(),WBf=x0.default=Vc;function Vc(f){switch(f){case"string":return HG.stringTypeAnnotation();case"number":return HG.numberTypeAnnotation();case"undefined":return HG.voidTypeAnnotation();case"boolean":return HG.booleanTypeAnnotation();case"function":return HG.genericTypeAnnotation(HG.identifier("Function"));case"object":return HG.genericTypeAnnotation(HG.identifier("Object"));case"symbol":return HG.genericTypeAnnotation(HG.identifier("Symbol"));case"bigint":return HG.anyTypeAnnotation()}throw new Error("Invalid typeof value: "+f)}});var $J=D((i0)=>{Object.defineProperty(i0,"__esModule",{value:!0});i0.default=a0;var i1=Nf();function c0(f){return i1.isIdentifier(f)?f.name:`${f.id.name}.${c0(f.qualification)}`}function a0(f){let G=Array.from(f),X=new Map,J=new Map,W=new Set,R=[];for(let V=0;V<G.length;V++){let H=G[V];if(!H)continue;if(R.includes(H))continue;if(i1.isAnyTypeAnnotation(H))return[H];if(i1.isFlowBaseAnnotation(H)){J.set(H.type,H);continue}if(i1.isUnionTypeAnnotation(H)){if(!W.has(H.types))G.push(...H.types),W.add(H.types);continue}if(i1.isGenericTypeAnnotation(H)){let U=c0(H.id);if(X.has(U)){let Q=X.get(U);if(Q.typeParameters){if(H.typeParameters)Q.typeParameters.params.push(...H.typeParameters.params),Q.typeParameters.params=a0(Q.typeParameters.params)}else Q=H.typeParameters}else X.set(U,H);continue}R.push(H)}for(let[,V]of J)R.push(V);for(let[,V]of X)R.push(V);return R}});var p0=D((r0)=>{Object.defineProperty(r0,"__esModule",{value:!0});r0.default=Zc;var Uc=rf(),Qc=$J();function Zc(f){let G=Qc.default(f);if(G.length===1)return G[0];else return Uc.unionTypeAnnotation(G)}});var n0=D((t0)=>{Object.defineProperty(t0,"__esModule",{value:!0});t0.default=d0;var F1=Nf();function s0(f){return F1.isIdentifier(f)?f.name:F1.isThisExpression(f)?"this":`${f.right.name}.${s0(f.left)}`}function d0(f){let G=Array.from(f),X=new Map,J=new Map,W=new Set,R=[];for(let V=0;V<G.length;V++){let H=G[V];if(!H)continue;if(R.includes(H))continue;if(F1.isTSAnyKeyword(H))return[H];if(F1.isTSBaseType(H)){J.set(H.type,H);continue}if(F1.isTSUnionType(H)){if(!W.has(H.types))G.push(...H.types),W.add(H.types);continue}let U="typeParameters";if(F1.isTSTypeReference(H)&&H[U]){let Q=H[U],Y=s0(H.typeName);if(X.has(Y)){let S=X.get(Y),C=S[U];if(C)C.params.push(...Q.params),C.params=d0(C.params);else S=Q}else X.set(Y,H);continue}R.push(H)}for(let[,V]of J)R.push(V);for(let[,V]of X)R.push(V);return R}});var e0=D((o0)=>{Object.defineProperty(o0,"__esModule",{value:!0});o0.default=Fc;var Bc=rf(),Mc=n0(),Kc=Nf();function Fc(f){let G=f.map((J)=>{return Kc.isTSTypeAnnotation(J)?J.typeAnnotation:J}),X=Mc.default(G);if(X.length===1)return X[0];else return Bc.tsUnionType(X)}});var qJ=D((GV)=>{Object.defineProperty(GV,"__esModule",{value:!0});GV.buildUndefinedNode=$c;var fV=rf();function $c(){return fV.unaryExpression("void",fV.numericLiteral(0),!0)}});var vG=D((VV)=>{Object.defineProperty(VV,"__esModule",{value:!0});VV.default=Cc;var XV=of(),JV=Nf(),{hasOwn:MG}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function WV(f,G,X,J){if(f&&typeof f.type==="string")return RV(f,G,X,J);return f}function CJ(f,G,X,J){if(Array.isArray(f))return f.map((W)=>WV(W,G,X,J));return WV(f,G,X,J)}function Cc(f,G=!0,X=!1){return RV(f,G,X,new Map)}function RV(f,G=!0,X=!1,J){if(!f)return f;let{type:W}=f,R={type:f.type};if(JV.isIdentifier(f)){if(R.name=f.name,MG(f,"optional")&&typeof f.optional==="boolean")R.optional=f.optional;if(MG(f,"typeAnnotation"))R.typeAnnotation=G?CJ(f.typeAnnotation,!0,X,J):f.typeAnnotation;if(MG(f,"decorators"))R.decorators=G?CJ(f.decorators,!0,X,J):f.decorators}else if(!MG(XV.NODE_FIELDS,W))throw new Error(`Unknown node type: "${W}"`);else for(let V of Object.keys(XV.NODE_FIELDS[W]))if(MG(f,V))if(G)R[V]=JV.isFile(f)&&V==="comments"?uX(f.comments,G,X,J):CJ(f[V],!0,X,J);else R[V]=f[V];if(MG(f,"loc"))if(X)R.loc=null;else R.loc=f.loc;if(MG(f,"leadingComments"))R.leadingComments=uX(f.leadingComments,G,X,J);if(MG(f,"innerComments"))R.innerComments=uX(f.innerComments,G,X,J);if(MG(f,"trailingComments"))R.trailingComments=uX(f.trailingComments,G,X,J);if(MG(f,"extra"))R.extra=Object.assign({},f.extra);return R}function uX(f,G,X,J){if(!f||!G)return f;return f.map((W)=>{let R=J.get(W);if(R)return R;let{type:V,value:H,loc:U}=W,Q={type:V,value:H,loc:U};if(X)Q.loc=null;return J.set(W,Q),Q})}});var UV=D((HV)=>{Object.defineProperty(HV,"__esModule",{value:!0});HV.default=Oc;var jc=vG();function Oc(f){return jc.default(f,!1)}});var ZV=D((QV)=>{Object.defineProperty(QV,"__esModule",{value:!0});QV.default=Pc;var Ic=vG();function Pc(f){return Ic.default(f)}});var zV=D((YV)=>{Object.defineProperty(YV,"__esModule",{value:!0});YV.default=Lc;var Tc=vG();function Lc(f){return Tc.default(f,!0,!0)}});var MV=D((BV)=>{Object.defineProperty(BV,"__esModule",{value:!0});BV.default=Ec;var wc=vG();function Ec(f){return wc.default(f,!1,!0)}});var AJ=D((KV)=>{Object.defineProperty(KV,"__esModule",{value:!0});KV.default=vc;function vc(f,G,X){if(!X||!f)return f;let J=`${G}Comments`;if(f[J])if(G==="leading")f[J]=X.concat(f[J]);else f[J].push(...X);else f[J]=X;return f}});var SV=D((FV)=>{Object.defineProperty(FV,"__esModule",{value:!0});FV.default=uc;var _c=AJ();function uc(f,G,X,J){return _c.default(f,G,[{type:J?"CommentLine":"CommentBlock",value:X}])}});var hX=D(($V)=>{Object.defineProperty($V,"__esModule",{value:!0});$V.default=yc;function yc(f,G,X){if(G&&X)G[f]=Array.from(new Set([].concat(G[f],X[f]).filter(Boolean)))}});var jJ=D((qV)=>{Object.defineProperty(qV,"__esModule",{value:!0});qV.default=lc;var mc=hX();function lc(f,G){mc.default("innerComments",f,G)}});var OJ=D((CV)=>{Object.defineProperty(CV,"__esModule",{value:!0});CV.default=ic;var ac=hX();function ic(f,G){ac.default("leadingComments",f,G)}});var DJ=D((AV)=>{Object.defineProperty(AV,"__esModule",{value:!0});AV.default=sc;var pc=hX();function sc(f,G){pc.default("trailingComments",f,G)}});var IJ=D((jV)=>{Object.defineProperty(jV,"__esModule",{value:!0});jV.default=ec;var tc=DJ(),nc=OJ(),oc=jJ();function ec(f,G){return tc.default(f,G),nc.default(f,G),oc.default(f,G),f}});var DV=D((OV)=>{Object.defineProperty(OV,"__esModule",{value:!0});OV.default=Xa;var Ga=EG();function Xa(f){return Ga.COMMENT_KEYS.forEach((G)=>{f[G]=null}),f}});var NV=D((IV)=>{Object.defineProperty(IV,"__esModule",{value:!0});IV.WHILE_TYPES=IV.USERWHITESPACABLE_TYPES=IV.UNARYLIKE_TYPES=IV.TYPESCRIPT_TYPES=IV.TSTYPE_TYPES=IV.TSTYPEELEMENT_TYPES=IV.TSENTITYNAME_TYPES=IV.TSBASETYPE_TYPES=IV.TERMINATORLESS_TYPES=IV.STATEMENT_TYPES=IV.STANDARDIZED_TYPES=IV.SCOPABLE_TYPES=IV.PUREISH_TYPES=IV.PROPERTY_TYPES=IV.PRIVATE_TYPES=IV.PATTERN_TYPES=IV.PATTERNLIKE_TYPES=IV.OBJECTMEMBER_TYPES=IV.MODULESPECIFIER_TYPES=IV.MODULEDECLARATION_TYPES=IV.MISCELLANEOUS_TYPES=IV.METHOD_TYPES=IV.LVAL_TYPES=IV.LOOP_TYPES=IV.LITERAL_TYPES=IV.JSX_TYPES=IV.IMPORTOREXPORTDECLARATION_TYPES=IV.IMMUTABLE_TYPES=IV.FUNCTION_TYPES=IV.FUNCTIONPARENT_TYPES=IV.FOR_TYPES=IV.FORXSTATEMENT_TYPES=IV.FLOW_TYPES=IV.FLOWTYPE_TYPES=IV.FLOWPREDICATE_TYPES=IV.FLOWDECLARATION_TYPES=IV.FLOWBASEANNOTATION_TYPES=IV.EXPRESSION_TYPES=IV.EXPRESSIONWRAPPER_TYPES=IV.EXPORTDECLARATION_TYPES=IV.ENUMMEMBER_TYPES=IV.ENUMBODY_TYPES=IV.DECLARATION_TYPES=IV.CONDITIONAL_TYPES=IV.COMPLETIONSTATEMENT_TYPES=IV.CLASS_TYPES=IV.BLOCK_TYPES=IV.BLOCKPARENT_TYPES=IV.BINARY_TYPES=IV.ACCESSOR_TYPES=void 0;var Gf=of(),DBf=IV.STANDARDIZED_TYPES=Gf.FLIPPED_ALIAS_KEYS.Standardized,IBf=IV.EXPRESSION_TYPES=Gf.FLIPPED_ALIAS_KEYS.Expression,PBf=IV.BINARY_TYPES=Gf.FLIPPED_ALIAS_KEYS.Binary,NBf=IV.SCOPABLE_TYPES=Gf.FLIPPED_ALIAS_KEYS.Scopable,TBf=IV.BLOCKPARENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.BlockParent,LBf=IV.BLOCK_TYPES=Gf.FLIPPED_ALIAS_KEYS.Block,bBf=IV.STATEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.Statement,wBf=IV.TERMINATORLESS_TYPES=Gf.FLIPPED_ALIAS_KEYS.Terminatorless,EBf=IV.COMPLETIONSTATEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.CompletionStatement,kBf=IV.CONDITIONAL_TYPES=Gf.FLIPPED_ALIAS_KEYS.Conditional,vBf=IV.LOOP_TYPES=Gf.FLIPPED_ALIAS_KEYS.Loop,gBf=IV.WHILE_TYPES=Gf.FLIPPED_ALIAS_KEYS.While,_Bf=IV.EXPRESSIONWRAPPER_TYPES=Gf.FLIPPED_ALIAS_KEYS.ExpressionWrapper,uBf=IV.FOR_TYPES=Gf.FLIPPED_ALIAS_KEYS.For,hBf=IV.FORXSTATEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.ForXStatement,yBf=IV.FUNCTION_TYPES=Gf.FLIPPED_ALIAS_KEYS.Function,xBf=IV.FUNCTIONPARENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.FunctionParent,mBf=IV.PUREISH_TYPES=Gf.FLIPPED_ALIAS_KEYS.Pureish,lBf=IV.DECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.Declaration,cBf=IV.PATTERNLIKE_TYPES=Gf.FLIPPED_ALIAS_KEYS.PatternLike,aBf=IV.LVAL_TYPES=Gf.FLIPPED_ALIAS_KEYS.LVal,iBf=IV.TSENTITYNAME_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSEntityName,rBf=IV.LITERAL_TYPES=Gf.FLIPPED_ALIAS_KEYS.Literal,pBf=IV.IMMUTABLE_TYPES=Gf.FLIPPED_ALIAS_KEYS.Immutable,sBf=IV.USERWHITESPACABLE_TYPES=Gf.FLIPPED_ALIAS_KEYS.UserWhitespacable,dBf=IV.METHOD_TYPES=Gf.FLIPPED_ALIAS_KEYS.Method,tBf=IV.OBJECTMEMBER_TYPES=Gf.FLIPPED_ALIAS_KEYS.ObjectMember,nBf=IV.PROPERTY_TYPES=Gf.FLIPPED_ALIAS_KEYS.Property,oBf=IV.UNARYLIKE_TYPES=Gf.FLIPPED_ALIAS_KEYS.UnaryLike,eBf=IV.PATTERN_TYPES=Gf.FLIPPED_ALIAS_KEYS.Pattern,fMf=IV.CLASS_TYPES=Gf.FLIPPED_ALIAS_KEYS.Class,Wa=IV.IMPORTOREXPORTDECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,GMf=IV.EXPORTDECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.ExportDeclaration,XMf=IV.MODULESPECIFIER_TYPES=Gf.FLIPPED_ALIAS_KEYS.ModuleSpecifier,JMf=IV.ACCESSOR_TYPES=Gf.FLIPPED_ALIAS_KEYS.Accessor,WMf=IV.PRIVATE_TYPES=Gf.FLIPPED_ALIAS_KEYS.Private,RMf=IV.FLOW_TYPES=Gf.FLIPPED_ALIAS_KEYS.Flow,VMf=IV.FLOWTYPE_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowType,HMf=IV.FLOWBASEANNOTATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,UMf=IV.FLOWDECLARATION_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowDeclaration,QMf=IV.FLOWPREDICATE_TYPES=Gf.FLIPPED_ALIAS_KEYS.FlowPredicate,ZMf=IV.ENUMBODY_TYPES=Gf.FLIPPED_ALIAS_KEYS.EnumBody,YMf=IV.ENUMMEMBER_TYPES=Gf.FLIPPED_ALIAS_KEYS.EnumMember,zMf=IV.JSX_TYPES=Gf.FLIPPED_ALIAS_KEYS.JSX,BMf=IV.MISCELLANEOUS_TYPES=Gf.FLIPPED_ALIAS_KEYS.Miscellaneous,MMf=IV.TYPESCRIPT_TYPES=Gf.FLIPPED_ALIAS_KEYS.TypeScript,KMf=IV.TSTYPEELEMENT_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSTypeElement,FMf=IV.TSTYPE_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSType,SMf=IV.TSBASETYPE_TYPES=Gf.FLIPPED_ALIAS_KEYS.TSBaseType,$Mf=IV.MODULEDECLARATION_TYPES=Wa});var NJ=D((TV)=>{Object.defineProperty(TV,"__esModule",{value:!0});TV.default=fi;var yX=Nf(),PJ=rf();function fi(f,G){if(yX.isBlockStatement(f))return f;let X=[];if(yX.isEmptyStatement(f))X=[];else{if(!yX.isStatement(f))if(yX.isFunction(G))f=PJ.returnStatement(f);else f=PJ.expressionStatement(f);X=[f]}return PJ.blockStatement(X)}});var bV=D((LV)=>{Object.defineProperty(LV,"__esModule",{value:!0});LV.default=Ji;var Xi=NJ();function Ji(f,G="body"){let X=Xi.default(f[G],f);return f[G]=X,X}});var TJ=D((wV)=>{Object.defineProperty(wV,"__esModule",{value:!0});wV.default=Hi;var Ri=B1(),Vi=x1();function Hi(f){f=f+"";let G="";for(let X of f)G+=Vi.isIdentifierChar(X.codePointAt(0))?X:"-";if(G=G.replace(/^[-0-9]+/,""),G=G.replace(/[-\s]+(.)?/g,function(X,J){return J?J.toUpperCase():""}),!Ri.default(G))G=`_${G}`;return G||"_"}});var kV=D((EV)=>{Object.defineProperty(EV,"__esModule",{value:!0});EV.default=Zi;var Qi=TJ();function Zi(f){if(f=Qi.default(f),f==="eval"||f==="arguments")f="_"+f;return f}});var gV=D((vV)=>{Object.defineProperty(vV,"__esModule",{value:!0});vV.default=Mi;var zi=Nf(),Bi=rf();function Mi(f,G=f.key||f.property){if(!f.computed&&zi.isIdentifier(G))G=Bi.stringLiteral(G.name);return G}});var hV=D((_V)=>{Object.defineProperty(_V,"__esModule",{value:!0});_V.default=void 0;var r1=Nf(),IMf=_V.default=Fi;function Fi(f){if(r1.isExpressionStatement(f))f=f.expression;if(r1.isExpression(f))return f;if(r1.isClass(f))f.type="ClassExpression";else if(r1.isFunction(f))f.type="FunctionExpression";if(!r1.isExpression(f))throw new Error(`cannot turn ${f.type} to an expression`);return f}});var bJ=D((yV)=>{Object.defineProperty(yV,"__esModule",{value:!0});yV.default=LJ;var Si=of();function LJ(f,G,X){if(!f)return;let J=Si.VISITOR_KEYS[f.type];if(!J)return;X=X||{},G(f,X);for(let W of J){let R=f[W];if(Array.isArray(R))for(let V of R)LJ(V,G,X);else LJ(R,G,X)}}});var wJ=D((mV)=>{Object.defineProperty(mV,"__esModule",{value:!0});mV.default=Ai;var qi=EG(),xV=["tokens","start","end","loc","raw","rawValue"],Ci=[...qi.COMMENT_KEYS,"comments",...xV];function Ai(f,G={}){let X=G.preserveComments?xV:Ci;for(let W of X)if(f[W]!=null)f[W]=void 0;for(let W of Object.keys(f))if(W[0]==="_"&&f[W]!=null)f[W]=void 0;let J=Object.getOwnPropertySymbols(f);for(let W of J)f[W]=null}});var EJ=D((lV)=>{Object.defineProperty(lV,"__esModule",{value:!0});lV.default=Ii;var Oi=bJ(),Di=wJ();function Ii(f,G){return Oi.default(f,Di.default,G),f}});var iV=D((aV)=>{Object.defineProperty(aV,"__esModule",{value:!0});aV.default=pG;var cV=Nf(),Ni=vG(),Ti=EJ();function pG(f,G=f.key){let X;if(f.kind==="method")return pG.increment()+"";else if(cV.isIdentifier(G))X=G.name;else if(cV.isStringLiteral(G))X=JSON.stringify(G.value);else X=JSON.stringify(Ti.default(Ni.default(G)));if(f.computed)X=`[${X}]`;if(f.static)X=`static:${X}`;return X}pG.uid=0;pG.increment=function(){if(pG.uid>=Number.MAX_SAFE_INTEGER)return pG.uid=0;else return pG.uid++}});var sV=D((rV)=>{Object.defineProperty(rV,"__esModule",{value:!0});rV.default=void 0;var xX=Nf(),bi=rf(),wMf=rV.default=wi;function wi(f,G){if(xX.isStatement(f))return f;let X=!1,J;if(xX.isClass(f))X=!0,J="ClassDeclaration";else if(xX.isFunction(f))X=!0,J="FunctionDeclaration";else if(xX.isAssignmentExpression(f))return bi.expressionStatement(f);if(X&&!f.id)J=!1;if(!J)if(G)return!1;else throw new Error(`cannot turn ${f.type} to a statement`);return f.type=J,f}});var nV=D((dV)=>{Object.defineProperty(dV,"__esModule",{value:!0});dV.default=void 0;var Ei=B1(),gf=rf(),kMf=dV.default=kJ,ki=Function.call.bind(Object.prototype.toString);function vi(f){return ki(f)==="[object RegExp]"}function gi(f){if(typeof f!=="object"||f===null||Object.prototype.toString.call(f)!=="[object Object]")return!1;let G=Object.getPrototypeOf(f);return G===null||Object.getPrototypeOf(G)===null}function kJ(f){if(f===void 0)return gf.identifier("undefined");if(f===!0||f===!1)return gf.booleanLiteral(f);if(f===null)return gf.nullLiteral();if(typeof f==="string")return gf.stringLiteral(f);if(typeof f==="number"){let G;if(Number.isFinite(f))G=gf.numericLiteral(Math.abs(f));else{let X;if(Number.isNaN(f))X=gf.numericLiteral(0);else X=gf.numericLiteral(1);G=gf.binaryExpression("/",X,gf.numericLiteral(0))}if(f<0||Object.is(f,-0))G=gf.unaryExpression("-",G);return G}if(vi(f)){let G=f.source,X=/\/([a-z]*)$/.exec(f.toString())[1];return gf.regExpLiteral(G,X)}if(Array.isArray(f))return gf.arrayExpression(f.map(kJ));if(gi(f)){let G=[];for(let X of Object.keys(f)){let J;if(Ei.default(X))J=gf.identifier(X);else J=gf.stringLiteral(X);G.push(gf.objectProperty(J,kJ(f[X])))}return gf.objectExpression(G)}throw new Error("don't know how to turn this value into a node")}});var eV=D((oV)=>{Object.defineProperty(oV,"__esModule",{value:!0});oV.default=ui;var _i=rf();function ui(f,G,X=!1){return f.object=_i.memberExpression(f.object,f.property,f.computed),f.property=G,f.computed=!!X,f}});var XH=D((GH)=>{Object.defineProperty(GH,"__esModule",{value:!0});GH.default=xi;var fH=EG(),yi=IJ();function xi(f,G){if(!f||!G)return f;for(let X of fH.INHERIT_KEYS.optional)if(f[X]==null)f[X]=G[X];for(let X of Object.keys(G))if(X[0]==="_"&&X!=="__clone")f[X]=G[X];for(let X of fH.INHERIT_KEYS.force)f[X]=G[X];return yi.default(f,G),f}});var WH=D((JH)=>{Object.defineProperty(JH,"__esModule",{value:!0});JH.default=ai;var li=rf(),ci=Hf();function ai(f,G){if(ci.isSuper(f.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return f.object=li.memberExpression(G,f.object),f}});var VH=D((RH)=>{Object.defineProperty(RH,"__esModule",{value:!0});RH.default=ri;function ri(f){let G=[].concat(f),X=Object.create(null);while(G.length){let J=G.pop();if(!J)continue;switch(J.type){case"ArrayPattern":G.push(...J.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":G.push(J.left);break;case"ObjectPattern":G.push(...J.properties);break;case"ObjectProperty":G.push(J.value);break;case"RestElement":case"UpdateExpression":G.push(J.argument);break;case"UnaryExpression":if(J.operator==="delete")G.push(J.argument);break;case"Identifier":X[J.name]=J;break;default:break}}return X}});var p1=D((HH)=>{Object.defineProperty(HH,"__esModule",{value:!0});HH.default=vJ;var AG=Nf();function vJ(f,G,X,J){let W=[].concat(f),R=Object.create(null);while(W.length){let V=W.shift();if(!V)continue;if(J&&(AG.isAssignmentExpression(V)||AG.isUnaryExpression(V)||AG.isUpdateExpression(V)))continue;if(AG.isIdentifier(V)){if(G)(R[V.name]=R[V.name]||[]).push(V);else R[V.name]=V;continue}if(AG.isExportDeclaration(V)&&!AG.isExportAllDeclaration(V)){if(AG.isDeclaration(V.declaration))W.push(V.declaration);continue}if(X){if(AG.isFunctionDeclaration(V)){W.push(V.id);continue}if(AG.isFunctionExpression(V))continue}let H=vJ.keys[V.type];if(H)for(let U=0;U<H.length;U++){let Q=H[U],Y=V[Q];if(Y)if(Array.isArray(Y))W.push(...Y);else W.push(Y)}}return R}var si={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"],TSImportEqualsDeclaration:["id"],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"]};vJ.keys=si});var ZH=D((UH)=>{Object.defineProperty(UH,"__esModule",{value:!0});UH.default=void 0;var ti=p1(),xMf=UH.default=ni;function ni(f,G){return ti.default(f,G,!0)}});var BH=D((zH)=>{Object.defineProperty(zH,"__esModule",{value:!0});zH.default=ei;var fG=Nf();function oi(f){if(fG.isNullLiteral(f))return"null";if(fG.isRegExpLiteral(f))return`/${f.pattern}/${f.flags}`;if(fG.isTemplateLiteral(f))return f.quasis.map((G)=>G.value.raw).join("");if(f.value!==void 0)return String(f.value);return null}function YH(f){if(!f.computed||fG.isLiteral(f.key))return f.key}function ei(f,G){if("id"in f&&f.id)return{name:f.id.name,originalNode:f.id};let X="",J;if(fG.isObjectProperty(G,{value:f}))J=YH(G);else if(fG.isObjectMethod(f)||fG.isClassMethod(f)){if(J=YH(f),f.kind==="get")X="get ";else if(f.kind==="set")X="set "}else if(fG.isVariableDeclarator(G,{init:f}))J=G.id;else if(fG.isAssignmentExpression(G,{operator:"=",right:f}))J=G.left;if(!J)return null;let W=fG.isLiteral(J)?oi(J):fG.isIdentifier(J)?J.name:fG.isPrivateName(J)?J.id.name:null;if(W==null)return null;return{name:X+W,originalNode:J}}});var KH=D((MH)=>{Object.defineProperty(MH,"__esModule",{value:!0});MH.default=Xr;var Gr=of();function Xr(f,G,X){if(typeof G==="function")G={enter:G};let{enter:J,exit:W}=G;gJ(f,J,W,X,[])}function gJ(f,G,X,J,W){let R=Gr.VISITOR_KEYS[f.type];if(!R)return;if(G)G(f,W,J);for(let V of R){let H=f[V];if(Array.isArray(H))for(let U=0;U<H.length;U++){let Q=H[U];if(!Q)continue;W.push({node:f,key:V,index:U}),gJ(Q,G,X,J,W),W.pop()}else if(H)W.push({node:f,key:V}),gJ(H,G,X,J,W),W.pop()}if(X)X(f,W,J)}});var SH=D((FH)=>{Object.defineProperty(FH,"__esModule",{value:!0});FH.default=Rr;var Wr=p1();function Rr(f,G,X){if(X&&f.type==="Identifier"&&G.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;let J=Wr.default.keys[G.type];if(J)for(let W=0;W<J.length;W++){let R=J[W],V=G[R];if(Array.isArray(V)){if(V.includes(f))return!0}else if(V===f)return!0}return!1}});var _J=D(($H)=>{Object.defineProperty($H,"__esModule",{value:!0});$H.default=Qr;var Hr=Nf(),Ur=EG();function Qr(f){return Hr.isVariableDeclaration(f)&&(f.kind!=="var"||f[Ur.BLOCK_SCOPED_SYMBOL])}});var AH=D((CH)=>{Object.defineProperty(CH,"__esModule",{value:!0});CH.default=zr;var qH=Nf(),Yr=_J();function zr(f){return qH.isFunctionDeclaration(f)||qH.isClassDeclaration(f)||Yr.default(f)}});var OH=D((jH)=>{Object.defineProperty(jH,"__esModule",{value:!0});jH.default=Fr;var Mr=NX(),Kr=Nf();function Fr(f){if(Mr.default(f.type,"Immutable"))return!0;if(Kr.isIdentifier(f))if(f.name==="undefined")return!0;else return!1;return!1}});var PH=D((IH)=>{Object.defineProperty(IH,"__esModule",{value:!0});IH.default=uJ;var DH=of();function uJ(f,G){if(typeof f!=="object"||typeof G!=="object"||f==null||G==null)return f===G;if(f.type!==G.type)return!1;let X=Object.keys(DH.NODE_FIELDS[f.type]||f.type),J=DH.VISITOR_KEYS[f.type];for(let W of X){let R=f[W],V=G[W];if(typeof R!==typeof V)return!1;if(R==null&&V==null)continue;else if(R==null||V==null)return!1;if(Array.isArray(R)){if(!Array.isArray(V))return!1;if(R.length!==V.length)return!1;for(let H=0;H<R.length;H++)if(!uJ(R[H],V[H]))return!1;continue}if(typeof R==="object"&&!(J!=null&&J.includes(W))){for(let H of Object.keys(R))if(R[H]!==V[H])return!1;continue}if(!uJ(R,V))return!1}return!0}});var TH=D((NH)=>{Object.defineProperty(NH,"__esModule",{value:!0});NH.default=qr;function qr(f,G,X){switch(G.type){case"MemberExpression":case"OptionalMemberExpression":if(G.property===f)return!!G.computed;return G.object===f;case"JSXMemberExpression":return G.object===f;case"VariableDeclarator":return G.init===f;case"ArrowFunctionExpression":return G.body===f;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(G.key===f)return!!G.computed;return!1;case"ObjectProperty":if(G.key===f)return!!G.computed;return!X||X.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(G.key===f)return!!G.computed;return!0;case"ClassPrivateProperty":return G.key!==f;case"ClassDeclaration":case"ClassExpression":return G.superClass===f;case"AssignmentExpression":return G.right===f;case"AssignmentPattern":return G.right===f;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":if(X!=null&&X.source)return!1;return G.local===f;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 G.key!==f;case"TSEnumMember":return G.id!==f;case"TSPropertySignature":if(G.key===f)return!!G.computed;return!0}return!0}});var bH=D((LH)=>{Object.defineProperty(LH,"__esModule",{value:!0});LH.default=Ar;var sG=Nf();function Ar(f,G){if(sG.isBlockStatement(f)&&(sG.isFunction(G)||sG.isCatchClause(G)))return!1;if(sG.isPattern(f)&&(sG.isFunction(G)||sG.isCatchClause(G)))return!0;return sG.isScopable(f)}});var kH=D((EH)=>{Object.defineProperty(EH,"__esModule",{value:!0});EH.default=Or;var wH=Nf();function Or(f){return wH.isImportDefaultSpecifier(f)||wH.isIdentifier(f.imported||f.exported,{name:"default"})}});var gH=D((vH)=>{Object.defineProperty(vH,"__esModule",{value:!0});vH.default=Nr;var Ir=B1(),Pr=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 Nr(f){return Ir.default(f)&&!Pr.has(f)}});var uH=D((_H)=>{Object.defineProperty(_H,"__esModule",{value:!0});_H.default=wr;var Lr=Nf(),br=EG();function wr(f){return Lr.isVariableDeclaration(f,{kind:"var"})&&!f[br.BLOCK_SCOPED_SYMBOL]}});var yH=D((hH)=>{Object.defineProperty(hH,"__esModule",{value:!0});hH.default=mX;var kr=p1(),dG=Nf(),hJ=rf(),yJ=qJ(),vr=vG();function mX(f,G){let X=[],J=!0;for(let W of f){if(!dG.isEmptyStatement(W))J=!1;if(dG.isExpression(W))X.push(W);else if(dG.isExpressionStatement(W))X.push(W.expression);else if(dG.isVariableDeclaration(W)){if(W.kind!=="var")return;for(let R of W.declarations){let V=kr.default(R);for(let H of Object.keys(V))G.push({kind:W.kind,id:vr.default(V[H])});if(R.init)X.push(hJ.assignmentExpression("=",R.id,R.init))}J=!0}else if(dG.isIfStatement(W)){let R=W.consequent?mX([W.consequent],G):yJ.buildUndefinedNode(),V=W.alternate?mX([W.alternate],G):yJ.buildUndefinedNode();if(!R||!V)return;X.push(hJ.conditionalExpression(W.test,R,V))}else if(dG.isBlockStatement(W)){let R=mX(W.body,G);if(!R)return;X.push(R)}else if(dG.isEmptyStatement(W)){if(f.indexOf(W)===0)J=!0}else return}if(J)X.push(yJ.buildUndefinedNode());if(X.length===1)return X[0];else return hJ.sequenceExpression(X)}});var mH=D((xH)=>{Object.defineProperty(xH,"__esModule",{value:!0});xH.default=ur;var _r=yH();function ur(f,G){if(!(f!=null&&f.length))return;let X=[],J=_r.default(f,X);if(!J)return;for(let W of X)G.push(W);return J}});var Hf=D((_)=>{Object.defineProperty(_,"__esModule",{value:!0});var gG={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,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!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(_,"__internal__deprecationWarning",{enumerable:!0,get:function(){return lp.default}});Object.defineProperty(_,"addComment",{enumerable:!0,get:function(){return tr.default}});Object.defineProperty(_,"addComments",{enumerable:!0,get:function(){return nr.default}});Object.defineProperty(_,"appendToMemberExpression",{enumerable:!0,get:function(){return zp.default}});Object.defineProperty(_,"assertNode",{enumerable:!0,get:function(){return lr.default}});Object.defineProperty(_,"buildMatchMemberExpression",{enumerable:!0,get:function(){return mp.default}});Object.defineProperty(_,"clone",{enumerable:!0,get:function(){return rr.default}});Object.defineProperty(_,"cloneDeep",{enumerable:!0,get:function(){return pr.default}});Object.defineProperty(_,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return sr.default}});Object.defineProperty(_,"cloneNode",{enumerable:!0,get:function(){return ir.default}});Object.defineProperty(_,"cloneWithoutLoc",{enumerable:!0,get:function(){return dr.default}});Object.defineProperty(_,"createFlowUnionType",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(_,"createTSUnionType",{enumerable:!0,get:function(){return ar.default}});Object.defineProperty(_,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return cr.default}});Object.defineProperty(_,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return lH.default}});Object.defineProperty(_,"ensureBlock",{enumerable:!0,get:function(){return Jp.default}});Object.defineProperty(_,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return $p.default}});Object.defineProperty(_,"getBindingIdentifiers",{enumerable:!0,get:function(){return qp.default}});Object.defineProperty(_,"getFunctionName",{enumerable:!0,get:function(){return Ap.default}});Object.defineProperty(_,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return Cp.default}});Object.defineProperty(_,"inheritInnerComments",{enumerable:!0,get:function(){return or.default}});Object.defineProperty(_,"inheritLeadingComments",{enumerable:!0,get:function(){return er.default}});Object.defineProperty(_,"inheritTrailingComments",{enumerable:!0,get:function(){return Gp.default}});Object.defineProperty(_,"inherits",{enumerable:!0,get:function(){return Bp.default}});Object.defineProperty(_,"inheritsComments",{enumerable:!0,get:function(){return fp.default}});Object.defineProperty(_,"is",{enumerable:!0,get:function(){return Dp.default}});Object.defineProperty(_,"isBinding",{enumerable:!0,get:function(){return Ip.default}});Object.defineProperty(_,"isBlockScoped",{enumerable:!0,get:function(){return Pp.default}});Object.defineProperty(_,"isImmutable",{enumerable:!0,get:function(){return Np.default}});Object.defineProperty(_,"isLet",{enumerable:!0,get:function(){return Tp.default}});Object.defineProperty(_,"isNode",{enumerable:!0,get:function(){return Lp.default}});Object.defineProperty(_,"isNodesEquivalent",{enumerable:!0,get:function(){return bp.default}});Object.defineProperty(_,"isPlaceholderType",{enumerable:!0,get:function(){return wp.default}});Object.defineProperty(_,"isReferenced",{enumerable:!0,get:function(){return Ep.default}});Object.defineProperty(_,"isScope",{enumerable:!0,get:function(){return kp.default}});Object.defineProperty(_,"isSpecifierDefault",{enumerable:!0,get:function(){return vp.default}});Object.defineProperty(_,"isType",{enumerable:!0,get:function(){return gp.default}});Object.defineProperty(_,"isValidES3Identifier",{enumerable:!0,get:function(){return _p.default}});Object.defineProperty(_,"isValidIdentifier",{enumerable:!0,get:function(){return up.default}});Object.defineProperty(_,"isVar",{enumerable:!0,get:function(){return hp.default}});Object.defineProperty(_,"matchesPattern",{enumerable:!0,get:function(){return yp.default}});Object.defineProperty(_,"prependToMemberExpression",{enumerable:!0,get:function(){return Mp.default}});_.react=void 0;Object.defineProperty(_,"removeComments",{enumerable:!0,get:function(){return Xp.default}});Object.defineProperty(_,"removeProperties",{enumerable:!0,get:function(){return Kp.default}});Object.defineProperty(_,"removePropertiesDeep",{enumerable:!0,get:function(){return Fp.default}});Object.defineProperty(_,"removeTypeDuplicates",{enumerable:!0,get:function(){return Sp.default}});Object.defineProperty(_,"shallowEqual",{enumerable:!0,get:function(){return Op.default}});Object.defineProperty(_,"toBindingIdentifierName",{enumerable:!0,get:function(){return Wp.default}});Object.defineProperty(_,"toBlock",{enumerable:!0,get:function(){return Rp.default}});Object.defineProperty(_,"toComputedKey",{enumerable:!0,get:function(){return Vp.default}});Object.defineProperty(_,"toExpression",{enumerable:!0,get:function(){return Hp.default}});Object.defineProperty(_,"toIdentifier",{enumerable:!0,get:function(){return Up.default}});Object.defineProperty(_,"toKeyAlias",{enumerable:!0,get:function(){return Qp.default}});Object.defineProperty(_,"toStatement",{enumerable:!0,get:function(){return Zp.default}});Object.defineProperty(_,"traverse",{enumerable:!0,get:function(){return lX.default}});Object.defineProperty(_,"traverseFast",{enumerable:!0,get:function(){return jp.default}});Object.defineProperty(_,"validate",{enumerable:!0,get:function(){return xp.default}});Object.defineProperty(_,"valueToNode",{enumerable:!0,get:function(){return Yp.default}});var yr=$R(),xr=CR(),mr=v0(),lr=u0(),xJ=y0();Object.keys(xJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===xJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return xJ[f]}})});var cr=l0(),lH=p0(),ar=e0(),mJ=qJ();Object.keys(mJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===mJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return mJ[f]}})});var lJ=rf();Object.keys(lJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===lJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return lJ[f]}})});var ir=vG(),rr=UV(),pr=ZV(),sr=zV(),dr=MV(),tr=SV(),nr=AJ(),or=jJ(),er=OJ(),fp=IJ(),Gp=DJ(),Xp=DV(),cJ=NV();Object.keys(cJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===cJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return cJ[f]}})});var aJ=EG();Object.keys(aJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===aJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return aJ[f]}})});var Jp=bV(),Wp=kV(),Rp=NJ(),Vp=gV(),Hp=hV(),Up=TJ(),Qp=iV(),Zp=sV(),Yp=nV(),iJ=of();Object.keys(iJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===iJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return iJ[f]}})});var zp=eV(),Bp=XH(),Mp=WH(),Kp=wJ(),Fp=EJ(),Sp=$J(),$p=VH(),qp=p1(),Cp=ZH(),Ap=BH(),lX=KH();Object.keys(lX).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===lX[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return lX[f]}})});var jp=bJ(),Op=PX(),Dp=z1(),Ip=SH(),Pp=AH(),Np=OH(),Tp=_J(),Lp=SJ(),bp=PH(),wp=p2(),Ep=TH(),kp=bH(),vp=kH(),gp=NX(),_p=gH(),up=B1(),hp=uH(),yp=i2(),xp=EX(),mp=r2(),rJ=Nf();Object.keys(rJ).forEach(function(f){if(f==="default"||f==="__esModule")return;if(Object.prototype.hasOwnProperty.call(gG,f))return;if(f in _&&_[f]===rJ[f])return;Object.defineProperty(_,f,{enumerable:!0,get:function(){return rJ[f]}})});var lp=_1(),cp=mH(),XKf=_.react={isReactComponent:yr.default,isCompatTag:xr.default,buildChildren:mr.default};_.toSequenceExpression=cp.default;if(process.env.BABEL_TYPES_8_BREAKING)console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var tH=D((sH)=>{Object.defineProperty(sH,"__esModule",{value:!0});sH.nodes=void 0;var ap=Hf(),{FLIPPED_ALIAS_KEYS:ip,isArrayExpression:rp,isAssignmentExpression:iH,isBinary:rH,isBlockStatement:pp,isCallExpression:pH,isFunction:s1,isIdentifier:cX,isLiteral:sp,isMemberExpression:pJ,isObjectExpression:dp,isOptionalCallExpression:tp,isOptionalMemberExpression:np,isStringLiteral:op}=ap;function S1(f,G){if(!f)return G;if(pJ(f)||np(f)){if(S1(f.object,G),f.computed)S1(f.property,G)}else if(rH(f)||iH(f))S1(f.left,G),S1(f.right,G);else if(pH(f)||tp(f))G.hasCall=!0,S1(f.callee,G);else if(s1(f))G.hasFunction=!0;else if(cX(f))G.hasHelper=G.hasHelper||f.callee&&jG(f.callee);return G}function aH(f){return S1(f,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function jG(f){if(!f)return!1;if(pJ(f))return jG(f.object)||jG(f.property);else if(cX(f))return f.name==="require"||f.name.charCodeAt(0)===95;else if(pH(f))return jG(f.callee);else if(rH(f)||iH(f))return cX(f.left)&&jG(f.left)||jG(f.right);else return!1}function ep(f){return sp(f)||dp(f)||rp(f)||cX(f)||pJ(f)}var tG=sH.nodes={AssignmentExpression(f){let G=aH(f.right);if(G.hasCall&&G.hasHelper||G.hasFunction)return G.hasFunction?3:2},SwitchCase(f,G){return(!!f.consequent.length||G.cases[0]===f?1:0)|(!f.consequent.length&&G.cases[G.cases.length-1]===f?2:0)},LogicalExpression(f){if(s1(f.left)||s1(f.right))return 2},Literal(f){if(op(f)&&f.value==="use strict")return 2},CallExpression(f){if(s1(f.callee)||jG(f))return 3},OptionalCallExpression(f){if(s1(f.callee))return 3},VariableDeclaration(f){for(let G=0;G<f.declarations.length;G++){let X=f.declarations[G],J=jG(X.id)&&!ep(X.init);if(!J&&X.init){let W=aH(X.init);J=jG(X.init)&&W.hasCall||W.hasFunction}if(J)return 3}},IfStatement(f){if(pp(f.consequent))return 3}};tG.ObjectProperty=tG.ObjectTypeProperty=tG.ObjectMethod=function(f,G){if(G.properties[0]===f)return 1};tG.ObjectTypeCallProperty=function(f,G){var X;if(G.callProperties[0]===f&&!((X=G.properties)!=null&&X.length))return 1};tG.ObjectTypeIndexer=function(f,G){var X,J;if(G.indexers[0]===f&&!((X=G.properties)!=null&&X.length)&&!((J=G.callProperties)!=null&&J.length))return 1};tG.ObjectTypeInternalSlot=function(f,G){var X,J,W;if(G.internalSlots[0]===f&&!((X=G.properties)!=null&&X.length)&&!((J=G.callProperties)!=null&&J.length)&&!((W=G.indexers)!=null&&W.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([f,G]){[f].concat(ip[f]||[]).forEach(function(X){let J=G?3:0;tG[X]=()=>J})})});var R9=D((W9)=>{Object.defineProperty(W9,"__esModule",{value:!0});W9.AssignmentExpression=ws;W9.Binary=G9;W9.BinaryExpression=Is;W9.ClassExpression=Ts;W9.ArrowFunctionExpression=W9.ConditionalExpression=J9;W9.DoExpression=Ms;W9.FunctionExpression=Ls;W9.FunctionTypeAnnotation=Ys;W9.Identifier=ks;W9.LogicalExpression=Es;W9.NullableTypeAnnotation=Zs;W9.ObjectExpression=Bs;W9.OptionalIndexedAccessType=Fs;W9.OptionalCallExpression=W9.OptionalMemberExpression=bs;W9.SequenceExpression=Ps;W9.TSSatisfiesExpression=W9.TSAsExpression=Ss;W9.TSConditionalType=$s;W9.TSConstructorType=W9.TSFunctionType=Ds;W9.TSInferType=As;W9.TSInstantiationExpression=Os;W9.TSIntersectionType=Cs;W9.UnaryLike=W9.TSTypeAssertion=X9;W9.TSTypeOperator=js;W9.TSUnionType=qs;W9.IntersectionTypeAnnotation=W9.UnionTypeAnnotation=Ks;W9.UpdateExpression=zs;W9.AwaitExpression=W9.YieldExpression=Ns;var fs=Hf(),GG=_G(),{isArrayTypeAnnotation:Gs,isBinaryExpression:Xs,isCallExpression:Js,isForOfStatement:Ws,isIndexedAccessType:Rs,isMemberExpression:eH,isObjectPattern:Vs,isOptionalMemberExpression:Hs,isYieldExpression:Us,isStatement:Qs}=fs,nH=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 oH(f,G){if(G==="BinaryExpression"||G==="LogicalExpression")return nH.get(f.operator);if(G==="TSAsExpression"||G==="TSSatisfiesExpression")return nH.get("in")}function sJ(f){return f==="TSAsExpression"||f==="TSSatisfiesExpression"||f==="TSTypeAssertion"}var aX=(f,G)=>{let X=G.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&G.superClass===f},iX=(f,G)=>{let X=G.type;return(X==="MemberExpression"||X==="OptionalMemberExpression")&&G.object===f||(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression")&&G.callee===f||X==="TaggedTemplateExpression"&&G.tag===f||X==="TSNonNullExpression"};function Zs(f,G){return Gs(G)}function Ys(f,G,X){let J=G.type;return J==="UnionTypeAnnotation"||J==="IntersectionTypeAnnotation"||J==="ArrayTypeAnnotation"||Boolean(X&GG.TokenContext.arrowFlowReturnType)}function zs(f,G){return iX(f,G)||aX(f,G)}function f9(f){return Boolean(f&(GG.TokenContext.expressionStatement|GG.TokenContext.arrowBody))}function Bs(f,G,X){return f9(X)}function Ms(f,G,X){return!f.async&&Boolean(X&GG.TokenContext.expressionStatement)}function G9(f,G){let X=G.type;if(f.type==="BinaryExpression"&&f.operator==="**"&&X==="BinaryExpression"&&G.operator==="**")return G.left===f;if(aX(f,G))return!0;if(iX(f,G)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;let J=oH(G,X);if(J!=null){let W=oH(f,f.type);if(J===W&&X==="BinaryExpression"&&G.right===f||J>W)return!0}return}function Ks(f,G){let X=G.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function Fs(f,G){return Rs(G)&&G.objectType===f}function Ss(f,G){if((G.type==="AssignmentExpression"||G.type==="AssignmentPattern")&&G.left===f)return!0;if(G.type==="BinaryExpression"&&(G.operator==="|"||G.operator==="&")&&f===G.left)return!0;return G9(f,G)}function $s(f,G){let X=G.type;if(X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"||X==="TSTypeOperator"||X==="TSTypeParameter")return!0;if((X==="TSIntersectionType"||X==="TSUnionType")&&G.types[0]===f)return!0;if(X==="TSConditionalType"&&(G.checkType===f||G.extendsType===f))return!0;return!1}function qs(f,G){let X=G.type;return X==="TSIntersectionType"||X==="TSTypeOperator"||X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"}function Cs(f,G){let X=G.type;return X==="TSTypeOperator"||X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"}function As(f,G){let X=G.type;if(X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType")return!0;if(f.typeParameter.constraint){if((X==="TSIntersectionType"||X==="TSUnionType")&&G.types[0]===f)return!0}return!1}function js(f,G){let X=G.type;return X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSOptionalType"}function Os(f,G){let X=G.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!G.typeParameters}function Ds(f,G){let X=G.type;return X==="TSIntersectionType"||X==="TSUnionType"||X==="TSTypeOperator"||X==="TSOptionalType"||X==="TSArrayType"||X==="TSIndexedAccessType"&&G.objectType===f||X==="TSConditionalType"&&(G.checkType===f||G.extendsType===f)}function Is(f,G,X,J){return f.operator==="in"&&J}function Ps(f,G){let X=G.type;if(X==="SequenceExpression"||X==="ParenthesizedExpression"||X==="MemberExpression"&&G.property===f||X==="OptionalMemberExpression"&&G.property===f||X==="TemplateLiteral")return!1;if(X==="ClassDeclaration")return!0;if(X==="ForOfStatement")return G.right===f;if(X==="ExportDefaultDeclaration")return!0;return!Qs(G)}function Ns(f,G){let X=G.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||iX(f,G)||X==="AwaitExpression"&&Us(f)||X==="ConditionalExpression"&&f===G.test||aX(f,G)||sJ(X)}function Ts(f,G,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function X9(f,G){return iX(f,G)||Xs(G)&&G.operator==="**"&&G.left===f||aX(f,G)}function Ls(f,G,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function J9(f,G){let X=G.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&G.test===f||X==="AwaitExpression"||sJ(X))return!0;return X9(f,G)}function bs(f,G){return Js(G)&&G.callee===f||eH(G)&&G.object===f}function ws(f,G,X){if(f9(X)&&Vs(f.left))return!0;else return J9(f,G)}function Es(f,G){let X=G.type;if(sJ(X))return!0;if(X!=="LogicalExpression")return!1;switch(f.operator){case"||":return G.operator==="??"||G.operator==="&&";case"&&":return G.operator==="??";case"??":return G.operator!=="??"}}function ks(f,G,X,J,W){var R;let V=G.type;if((R=f.extra)!=null&&R.parenthesized&&V==="AssignmentExpression"&&G.left===f){let H=G.right.type;if((H==="FunctionExpression"||H==="ClassExpression")&&G.right.id==null)return!0}if(W&&W(f)!==f.name)return!1;if(f.name==="let"){if((eH(G,{object:f,computed:!0})||Hs(G,{object:f,computed:!0,optional:!1}))&&X&(GG.TokenContext.expressionStatement|GG.TokenContext.forHead|GG.TokenContext.forInHead))return!0;return Boolean(X&GG.TokenContext.forOfHead)}return f.name==="async"&&Ws(G,{left:f,await:!1})}});var _G=D((Q9)=>{Object.defineProperty(Q9,"__esModule",{value:!0});Q9.TokenContext=void 0;Q9.isLastChild=jd;Q9.needsParens=Ad;Q9.needsWhitespace=tJ;Q9.needsWhitespaceAfter=Cd;Q9.needsWhitespaceBefore=qd;var Hd=tH(),Ud=R9(),Qd=Hf(),{FLIPPED_ALIAS_KEYS:Zd,VISITOR_KEYS:Yd,isCallExpression:V9,isDecorator:zd,isExpressionStatement:Bd,isMemberExpression:Md,isNewExpression:Kd,isParenthesizedExpression:Fd}=Qd,MKf=Q9.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function H9(f){let G=new Map;function X(J,W){let R=G.get(J);G.set(J,R?function(V,H,U,Q,Y){var S;return(S=R(V,H,U,Q,Y))!=null?S:W(V,H,U,Q,Y)}:W)}for(let J of Object.keys(f)){let W=Zd[J];if(W)for(let R of W)X(R,f[J]);else X(J,f[J])}return G}var Sd=H9(Ud),$d=H9(Hd.nodes);function U9(f){if(V9(f))return!0;return Md(f)&&U9(f.object)}function tJ(f,G,X){var J;if(!f)return!1;if(Bd(f))f=f.expression;let W=(J=$d.get(f.type))==null?void 0:J(f,G);if(typeof W==="number")return(W&X)!==0;return!1}function qd(f,G){return tJ(f,G,1)}function Cd(f,G){return tJ(f,G,2)}function Ad(f,G,X,J,W){var R;if(!G)return!1;if(Kd(G)&&G.callee===f){if(U9(f))return!0}if(zd(G))return!dJ(f)&&!(V9(f)&&dJ(f.callee))&&!Fd(f);return(R=Sd.get(f.type))==null?void 0:R(f,G,X,J,W)}function dJ(f){switch(f.type){case"Identifier":return!0;case"MemberExpression":return!f.computed&&f.property.type==="Identifier"&&dJ(f.object);default:return!1}}function jd(f,G){let X=Yd[f.type];for(let J=X.length-1;J>=0;J--){let W=f[X[J]];if(W===G)return!0;else if(Array.isArray(W)){let R=W.length-1;while(R>=0&&W[R]===null)R--;return R>=0&&W[R]===G}else if(W)return!1}return!1}});var M9=D((z9)=>{Object.defineProperty(z9,"__esModule",{value:!0});z9.TokenMap=void 0;var Td=Hf(),{traverseFast:Ld,VISITOR_KEYS:bd}=Td;class Y9{constructor(f,G,X){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=G,this._source=X,Ld(f,(J)=>{let W=this._getTokensIndexesOfNode(J);if(W.length>0)this._nodesToTokenIndexes.set(J,W)}),this._tokensCache=null}has(f){return this._nodesToTokenIndexes.has(f)}getIndexes(f){return this._nodesToTokenIndexes.get(f)}find(f,G){let X=this._nodesToTokenIndexes.get(f);if(X)for(let J=0;J<X.length;J++){let W=X[J],R=this._tokens[W];if(G(R,W))return R}return null}findLastIndex(f,G){let X=this._nodesToTokenIndexes.get(f);if(X)for(let J=X.length-1;J>=0;J--){let W=X[J],R=this._tokens[W];if(G(R,W))return W}return-1}findMatching(f,G,X=0){let J=this._nodesToTokenIndexes.get(f);if(J){let W=0,R=X;if(R>1){let V=this._nodesOccurrencesCountCache.get(f);if(V&&V.test===G&&V.count<R)W=V.i+1,X-=V.count+1}for(;W<J.length;W++){let V=this._tokens[J[W]];if(this.matchesOriginal(V,G)){if(X===0){if(R>0)this._nodesOccurrencesCountCache.set(f,{test:G,count:R,i:W});return V}X--}}}return null}matchesOriginal(f,G){if(f.end-f.start!==G.length)return!1;if(f.value!=null)return f.value===G;return this._source.startsWith(G,f.start)}startMatches(f,G){let X=this._nodesToTokenIndexes.get(f);if(!X)return!1;let J=this._tokens[X[0]];if(J.start!==f.start)return!1;return this.matchesOriginal(J,G)}endMatches(f,G){let X=this._nodesToTokenIndexes.get(f);if(!X)return!1;let J=this._tokens[X[X.length-1]];if(J.end!==f.end)return!1;return this.matchesOriginal(J,G)}_getTokensIndexesOfNode(f){if(f.start==null||f.end==null)return[];let{first:G,last:X}=this._findTokensOfNode(f,0,this._tokens.length-1),J=G,W=wd(f);if((f.type==="ExportNamedDeclaration"||f.type==="ExportDefaultDeclaration")&&f.declaration&&f.declaration.type==="ClassDeclaration")W.next();let R=[];for(let V of W){if(V==null)continue;if(V.start==null||V.end==null)continue;let H=this._findTokensOfNode(V,J,X),U=H.first;for(let Q=J;Q<U;Q++)R.push(Q);J=H.last+1}for(let V=J;V<=X;V++)R.push(V);return R}_findTokensOfNode(f,G,X){let J=this._tokensCache.get(f);if(J)return J;let W=this._findFirstTokenOfNode(f.start,G,X),R=this._findLastTokenOfNode(f.end,W,X);return this._tokensCache.set(f,{first:W,last:R}),{first:W,last:R}}_findFirstTokenOfNode(f,G,X){while(G<=X){let J=X+G>>1;if(f<this._tokens[J].start)X=J-1;else if(f>this._tokens[J].start)G=J+1;else return J}return G}_findLastTokenOfNode(f,G,X){while(G<=X){let J=X+G>>1;if(f<this._tokens[J].end)X=J-1;else if(f>this._tokens[J].end)G=J+1;else return J}return X}}z9.TokenMap=Y9;function*wd(f){if(f.type==="TemplateLiteral"){yield f.quasis[0];for(let X=1;X<f.quasis.length;X++)yield f.expressions[X-1],yield f.quasis[X];return}let G=bd[f.type];for(let X of G){let J=f[X];if(!J)continue;if(Array.isArray(J))yield*J;else yield J}}});var F9=D((K9)=>{Object.defineProperty(K9,"__esModule",{value:!0});K9.TaggedTemplateExpression=Ed;K9.TemplateElement=kd;K9.TemplateLiteral=gd;K9._printTemplate=vd;function Ed(f){this.print(f.tag),this.print(f.typeParameters),this.print(f.quasi)}function kd(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function vd(f,G){let X=f.quasis,J="`";for(let W=0;W<X.length-1;W++)if(J+=X[W].value.raw,this.token(J+"${",!0),this.print(G[W]),J="}",this.tokenMap){let R=this.tokenMap.findMatching(f,"}",W);if(R)this._catchUpTo(R.loc.start)}J+=X[X.length-1].value.raw,this.token(J+"`",!0)}function gd(f){this._printTemplate(f,f.expressions)}});var q9=D(($9)=>{Object.defineProperty($9,"__esModule",{value:!0});$9.LogicalExpression=$9.BinaryExpression=$9.AssignmentExpression=Yt;$9.AssignmentPattern=Zt;$9.AwaitExpression=Vt;$9.BindExpression=zt;$9.CallExpression=Wt;$9.ConditionalExpression=dd;$9.Decorator=Gt;$9.DoExpression=rd;$9.EmptyStatement=Ut;$9.ExpressionStatement=Qt;$9.Import=Rt;$9.MemberExpression=Bt;$9.MetaProperty=Mt;$9.ModuleExpression=St;$9.NewExpression=td;$9.OptionalCallExpression=Jt;$9.OptionalMemberExpression=Xt;$9.ParenthesizedExpression=pd;$9.PrivateName=Kt;$9.SequenceExpression=nd;$9.Super=ed;$9.ThisExpression=od;$9.UnaryExpression=id;$9.UpdateExpression=sd;$9.V8IntrinsicIdentifier=Ft;$9.YieldExpression=Ht;$9._shouldPrintDecoratorsBeforeExport=ft;var xd=Hf(),md=_G(),{isCallExpression:ld,isLiteral:S9,isMemberExpression:nJ,isNewExpression:cd,isPattern:ad}=xd;function id(f){let{operator:G}=f;if(G==="void"||G==="delete"||G==="typeof"||G==="throw")this.word(G),this.space();else this.token(G);this.print(f.argument)}function rd(f){if(f.async)this.word("async",!0),this.space();this.word("do"),this.space(),this.print(f.body)}function pd(f){this.tokenChar(40);let G=this.enterDelimited();this.print(f.expression),G(),this.rightParens(f)}function sd(f){if(f.prefix)this.token(f.operator),this.print(f.argument);else this.print(f.argument,!0),this.token(f.operator)}function dd(f){this.print(f.test),this.space(),this.tokenChar(63),this.space(),this.print(f.consequent),this.space(),this.tokenChar(58),this.space(),this.print(f.alternate)}function td(f,G){if(this.word("new"),this.space(),this.print(f.callee),this.format.minified&&f.arguments.length===0&&!f.optional&&!ld(G,{callee:f})&&!nJ(G)&&!cd(G))return;if(this.print(f.typeArguments),this.print(f.typeParameters),f.optional)this.token("?.");if(f.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(f,")"))return;this.tokenChar(40);let X=this.enterDelimited();this.printList(f.arguments,this.shouldPrintTrailingComma(")")),X(),this.rightParens(f)}function nd(f){this.printList(f.expressions)}function od(){this.word("this")}function ed(){this.word("super")}function ft(f){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof f.start==="number"&&f.start===f.declaration.start}function Gt(f){this.tokenChar(64),this.print(f.expression),this.newline()}function Xt(f){let{computed:G}=f,{optional:X,property:J}=f;if(this.print(f.object),!G&&nJ(J))throw new TypeError("Got a MemberExpression for MemberExpression property");if(S9(J)&&typeof J.value==="number")G=!0;if(X)this.token("?.");if(G)this.tokenChar(91),this.print(J),this.tokenChar(93);else{if(!X)this.tokenChar(46);this.print(J)}}function Jt(f){if(this.print(f.callee),this.print(f.typeParameters),f.optional)this.token("?.");this.print(f.typeArguments),this.tokenChar(40);let G=this.enterDelimited();this.printList(f.arguments),G(),this.rightParens(f)}function Wt(f){this.print(f.callee),this.print(f.typeArguments),this.print(f.typeParameters),this.tokenChar(40);let G=this.enterDelimited();this.printList(f.arguments,this.shouldPrintTrailingComma(")")),G(),this.rightParens(f)}function Rt(){this.word("import")}function Vt(f){if(this.word("await"),f.argument)this.space(),this.printTerminatorless(f.argument)}function Ht(f){if(this.word("yield",!0),f.delegate){if(this.tokenChar(42),f.argument)this.space(),this.print(f.argument)}else if(f.argument)this.space(),this.printTerminatorless(f.argument)}function Ut(){this.semicolon(!0)}function Qt(f){this.tokenContext|=md.TokenContext.expressionStatement,this.print(f.expression),this.semicolon()}function Zt(f){if(this.print(f.left),f.left.type==="Identifier"||ad(f.left)){if(f.left.optional)this.tokenChar(63);this.print(f.left.typeAnnotation)}this.space(),this.tokenChar(61),this.space(),this.print(f.right)}function Yt(f){if(this.print(f.left),this.space(),f.operator==="in"||f.operator==="instanceof")this.word(f.operator);else this.token(f.operator),this._endsWithDiv=f.operator==="/";this.space(),this.print(f.right)}function zt(f){this.print(f.object),this.token("::"),this.print(f.callee)}function Bt(f){if(this.print(f.object),!f.computed&&nJ(f.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let G=f.computed;if(S9(f.property)&&typeof f.property.value==="number")G=!0;if(G){let X=this.enterDelimited();this.tokenChar(91),this.print(f.property),this.tokenChar(93),X()}else this.tokenChar(46),this.print(f.property)}function Mt(f){this.print(f.meta),this.tokenChar(46),this.print(f.property)}function Kt(f){this.tokenChar(35),this.print(f.id)}function Ft(f){this.tokenChar(37),this.word(f.name)}function St(f){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:G}=f;if(G.body.length||G.directives.length)this.newline();this.print(G),this.dedent(),this.rightBrace(f)}});var I9=D((O9)=>{Object.defineProperty(O9,"__esModule",{value:!0});O9.BreakStatement=fn;O9.CatchClause=Vn;O9.ContinueStatement=Gn;O9.DebuggerStatement=Qn;O9.DoWhileStatement=et;O9.ForOfStatement=O9.ForInStatement=void 0;O9.ForStatement=nt;O9.IfStatement=tt;O9.LabeledStatement=Wn;O9.ReturnStatement=Xn;O9.SwitchCase=Un;O9.SwitchStatement=Hn;O9.ThrowStatement=Jn;O9.TryStatement=Rn;O9.VariableDeclaration=Zn;O9.VariableDeclarator=Yn;O9.WhileStatement=ot;O9.WithStatement=dt;var it=Hf(),oJ=_G(),{isFor:C9,isForStatement:rt,isIfStatement:pt,isStatement:st}=it;function dt(f){this.word("with"),this.space(),this.tokenChar(40),this.print(f.object),this.tokenChar(41),this.printBlock(f)}function tt(f){this.word("if"),this.space(),this.tokenChar(40),this.print(f.test),this.tokenChar(41),this.space();let G=f.alternate&&pt(A9(f.consequent));if(G)this.tokenChar(123),this.newline(),this.indent();if(this.printAndIndentOnComments(f.consequent),G)this.dedent(),this.newline(),this.tokenChar(125);if(f.alternate){if(this.endsWith(125))this.space();this.word("else"),this.space(),this.printAndIndentOnComments(f.alternate)}}function A9(f){let{body:G}=f;if(st(G)===!1)return f;return A9(G)}function nt(f){this.word("for"),this.space(),this.tokenChar(40);{let G=this.enterForStatementInit();this.tokenContext|=oJ.TokenContext.forHead,this.print(f.init),G()}if(this.tokenChar(59),f.test)this.space(),this.print(f.test);if(this.token(";",!1,1),f.update)this.space(),this.print(f.update);this.tokenChar(41),this.printBlock(f)}function ot(f){this.word("while"),this.space(),this.tokenChar(40),this.print(f.test),this.tokenChar(41),this.printBlock(f)}function j9(f){this.word("for"),this.space();let G=f.type==="ForOfStatement";if(G&&f.await)this.word("await"),this.space();this.noIndentInnerCommentsHere(),this.tokenChar(40);{let X=G?null:this.enterForStatementInit();this.tokenContext|=G?oJ.TokenContext.forOfHead:oJ.TokenContext.forInHead,this.print(f.left),X==null||X()}this.space(),this.word(G?"of":"in"),this.space(),this.print(f.right),this.tokenChar(41),this.printBlock(f)}var AKf=O9.ForInStatement=j9,jKf=O9.ForOfStatement=j9;function et(f){this.word("do"),this.space(),this.print(f.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(f.test),this.tokenChar(41),this.semicolon()}function rX(f,G){if(G)f.space(),f.printTerminatorless(G);f.semicolon()}function fn(f){this.word("break"),rX(this,f.label)}function Gn(f){this.word("continue"),rX(this,f.label)}function Xn(f){this.word("return"),rX(this,f.argument)}function Jn(f){this.word("throw"),rX(this,f.argument)}function Wn(f){this.print(f.label),this.tokenChar(58),this.space(),this.print(f.body)}function Rn(f){if(this.word("try"),this.space(),this.print(f.block),this.space(),f.handlers)this.print(f.handlers[0]);else this.print(f.handler);if(f.finalizer)this.space(),this.word("finally"),this.space(),this.print(f.finalizer)}function Vn(f){if(this.word("catch"),this.space(),f.param)this.tokenChar(40),this.print(f.param),this.print(f.param.typeAnnotation),this.tokenChar(41),this.space();this.print(f.body)}function Hn(f){this.word("switch"),this.space(),this.tokenChar(40),this.print(f.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(f.cases,!0,void 0,function G(X,J){if(!X&&f.cases[f.cases.length-1]===J)return-1}),this.rightBrace(f)}function Un(f){if(f.test)this.word("case"),this.space(),this.print(f.test),this.tokenChar(58);else this.word("default"),this.tokenChar(58);if(f.consequent.length)this.newline(),this.printSequence(f.consequent,!0)}function Qn(){this.word("debugger"),this.semicolon()}function Zn(f,G){if(f.declare)this.word("declare"),this.space();let{kind:X}=f;if(X==="await using")this.word("await"),this.space(),this.word("using",!0);else this.word(X,X==="using");this.space();let J=!1;if(!C9(G)){for(let W of f.declarations)if(W.init)J=!0}if(this.printList(f.declarations,void 0,void 0,f.declarations.length>1,J?function(W){this.token(",",!1,W),this.newline()}:void 0),C9(G)){if(rt(G)){if(G.init===f)return}else if(G.left===f)return}this.semicolon()}function Yn(f){if(this.print(f.id),f.definite)this.tokenChar(33);if(this.print(f.id.typeAnnotation),f.init)this.space(),this.tokenChar(61),this.space(),this.print(f.init)}});var N9=D((P9)=>{Object.defineProperty(P9,"__esModule",{value:!0});P9.ClassAccessorProperty=un;P9.ClassBody=vn;P9.ClassExpression=P9.ClassDeclaration=kn;P9.ClassMethod=yn;P9.ClassPrivateMethod=xn;P9.ClassPrivateProperty=hn;P9.ClassProperty=_n;P9.StaticBlock=ln;P9._classMethodHead=mn;var bn=Hf(),{isExportDefaultDeclaration:wn,isExportNamedDeclaration:En}=bn;function kn(f,G){if(!(wn(G)||En(G))||!this._shouldPrintDecoratorsBeforeExport(G))this.printJoin(f.decorators);if(f.declare)this.word("declare"),this.space();if(f.abstract)this.word("abstract"),this.space();if(this.word("class"),f.id)this.space(),this.print(f.id);if(this.print(f.typeParameters),f.superClass)this.space(),this.word("extends"),this.space(),this.print(f.superClass),this.print(f.superTypeParameters);if(f.implements)this.space(),this.word("implements"),this.space(),this.printList(f.implements);this.space(),this.print(f.body)}function vn(f){if(this.tokenChar(123),f.body.length===0)this.tokenChar(125);else{this.newline();let G=gn(this,f);G==null||G(-1);let X=this.enterDelimited();if(this.printJoin(f.body,!0,!0,G,!0),X(),!this.endsWith(10))this.newline();this.rightBrace(f)}}function gn(f,G){if(!f.tokenMap||G.start==null||G.end==null)return null;let X=f.tokenMap.getIndexes(G);if(!X)return null;let J=1,W=0,R=0,V=()=>{while(R<G.body.length&&G.body[R].start==null)R++};return V(),(H)=>{if(R<=H)R=H+1,V();let U=R===G.body.length?G.end:G.body[R].start,Q;while(J<X.length&&f.tokenMap.matchesOriginal(Q=f._tokens[X[J]],";")&&Q.start<U)f.token(";",void 0,W++),J++}}function _n(f){if(this.printJoin(f.decorators),!f.static&&!this.format.preserveFormat){var G;let X=(G=f.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X)}if(this.tsPrintClassMemberModifiers(f),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else this._variance(f),this.print(f.key);if(f.optional)this.tokenChar(63);if(f.definite)this.tokenChar(33);if(this.print(f.typeAnnotation),f.value)this.space(),this.tokenChar(61),this.space(),this.print(f.value);this.semicolon()}function un(f){var G;this.printJoin(f.decorators);let X=(G=f.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X);if(this.tsPrintClassMemberModifiers(f),this.word("accessor",!0),this.space(),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else this._variance(f),this.print(f.key);if(f.optional)this.tokenChar(63);if(f.definite)this.tokenChar(33);if(this.print(f.typeAnnotation),f.value)this.space(),this.tokenChar(61),this.space(),this.print(f.value);this.semicolon()}function hn(f){if(this.printJoin(f.decorators),this.tsPrintClassMemberModifiers(f),this.print(f.key),f.optional)this.tokenChar(63);if(f.definite)this.tokenChar(33);if(this.print(f.typeAnnotation),f.value)this.space(),this.tokenChar(61),this.space(),this.print(f.value);this.semicolon()}function yn(f){this._classMethodHead(f),this.space(),this.print(f.body)}function xn(f){this._classMethodHead(f),this.space(),this.print(f.body)}function mn(f){if(this.printJoin(f.decorators),!this.format.preserveFormat){var G;let X=(G=f.key.loc)==null||(G=G.end)==null?void 0:G.line;if(X)this.catchUp(X)}this.tsPrintClassMemberModifiers(f),this._methodHead(f)}function ln(f){if(this.word("static"),this.space(),this.tokenChar(123),f.body.length===0)this.tokenChar(125);else this.newline(),this.printSequence(f.body,!0),this.rightBrace(f)}});var L9=D((T9)=>{Object.defineProperty(T9,"__esModule",{value:!0});T9.ArrowFunctionExpression=Qo;T9.FunctionDeclaration=T9.FunctionExpression=Uo;T9._functionHead=Ho;T9._methodHead=Ro;T9._param=Wo;T9._parameters=Jo;T9._params=Xo;T9._predicate=Vo;T9._shouldPrintArrowParamsParens=Zo;var en=Hf(),fo=_G(),{isIdentifier:Go}=en;function Xo(f,G,X){this.print(f.typeParameters);let J=Yo.call(this,G,X);if(J)this.sourceIdentifierName(J.name,J.pos);this.tokenChar(40),this._parameters(f.params,")");let W=f.type==="ArrowFunctionExpression";this.print(f.returnType,W),this._noLineTerminator=W}function Jo(f,G){let X=this.enterDelimited(),J=this.shouldPrintTrailingComma(G),W=f.length;for(let R=0;R<W;R++)if(this._param(f[R]),J||R<W-1)this.token(",",null,R),this.space();this.token(G),X()}function Wo(f){if(this.printJoin(f.decorators),this.print(f),f.optional)this.tokenChar(63);this.print(f.typeAnnotation)}function Ro(f){let{kind:G,key:X}=f;if(G==="get"||G==="set")this.word(G),this.space();if(f.async)this.word("async",!0),this.space();if(G==="method"||G==="init"){if(f.generator)this.tokenChar(42)}if(f.computed)this.tokenChar(91),this.print(X),this.tokenChar(93);else this.print(X);if(f.optional)this.tokenChar(63);this._params(f,f.computed&&f.key.type!=="StringLiteral"?void 0:f.key,void 0)}function Vo(f,G){if(f.predicate){if(!f.returnType)this.tokenChar(58);this.space(),this.print(f.predicate,G)}}function Ho(f,G){if(f.async){if(this.word("async"),!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.space()}if(this.word("function"),f.generator){if(!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.tokenChar(42)}if(this.space(),f.id)this.print(f.id);if(this._params(f,f.id,G),f.type!=="TSDeclareFunction")this._predicate(f)}function Uo(f,G){this._functionHead(f,G),this.space(),this.print(f.body)}function Qo(f,G){if(f.async)this.word("async",!0),this.space();if(this._shouldPrintArrowParamsParens(f))this._params(f,void 0,G);else this.print(f.params[0],!0);this._predicate(f,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=fo.TokenContext.arrowBody,this.print(f.body)}function Zo(f){var G,X;if(f.params.length!==1)return!0;if(f.typeParameters||f.returnType||f.predicate)return!0;let J=f.params[0];if(!Go(J)||J.typeAnnotation||J.optional||(G=J.leadingComments)!=null&&G.length||(X=J.trailingComments)!=null&&X.length)return!0;if(this.tokenMap){if(f.loc==null)return!0;if(this.tokenMap.findMatching(f,"(")!==null)return!0;let W=this.tokenMap.findMatching(f,"=>");if((W==null?void 0:W.loc)==null)return!0;return W.loc.start.line!==f.loc.start.line}if(this.format.retainLines)return!0;return!1}function Yo(f,G){let X=f;if(!X&&G){let U=G.type;if(U==="VariableDeclarator")X=G.id;else if(U==="AssignmentExpression"||U==="AssignmentPattern")X=G.left;else if(U==="ObjectProperty"||U==="ClassProperty"){if(!G.computed||G.key.type==="StringLiteral")X=G.key}else if(U==="ClassPrivateProperty"||U==="ClassAccessorProperty")X=G.key}if(!X)return;let J;if(X.type==="Identifier"){var W,R;J={pos:(W=X.loc)==null?void 0:W.start,name:((R=X.loc)==null?void 0:R.identifierName)||X.name}}else if(X.type==="PrivateName"){var V;J={pos:(V=X.loc)==null?void 0:V.start,name:"#"+X.id.name}}else if(X.type==="StringLiteral"){var H;J={pos:(H=X.loc)==null?void 0:H.start,name:X.value}}return J}});var eJ=D((k9)=>{Object.defineProperty(k9,"__esModule",{value:!0});k9.ExportAllDeclaration=vo;k9.ExportDefaultDeclaration=_o;k9.ExportDefaultSpecifier=bo;k9.ExportNamedDeclaration=go;k9.ExportNamespaceSpecifier=Eo;k9.ExportSpecifier=wo;k9.ImportAttribute=ho;k9.ImportDeclaration=uo;k9.ImportDefaultSpecifier=Lo;k9.ImportExpression=xo;k9.ImportNamespaceSpecifier=yo;k9.ImportSpecifier=To;k9._printAttributes=ko;var Ao=Hf(),jo=_G(),{isClassDeclaration:Oo,isExportDefaultSpecifier:Do,isExportNamespaceSpecifier:Io,isImportDefaultSpecifier:Po,isImportNamespaceSpecifier:No,isStatement:w9}=Ao;function To(f){if(f.importKind==="type"||f.importKind==="typeof")this.word(f.importKind),this.space();if(this.print(f.imported),f.local&&f.local.name!==f.imported.name)this.space(),this.word("as"),this.space(),this.print(f.local)}function Lo(f){this.print(f.local)}function bo(f){this.print(f.exported)}function wo(f){if(f.exportKind==="type")this.word("type"),this.space();if(this.print(f.local),f.exported&&f.local.name!==f.exported.name)this.space(),this.word("as"),this.space(),this.print(f.exported)}function Eo(f){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(f.exported)}var b9=!1;function ko(f,G){let{importAttributesKeyword:X}=this.format,{attributes:J,assertions:W}=f;if(J&&!X&&!b9)b9=!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 R=X==="assert"||!X&&W;if(this.word(R?"assert":"with"),this.space(),!R&&X!=="with"){this.printList(J||W);return}let V=G?1:0;this.token("{",null,V),this.space(),this.printList(J||W,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,V)}function vo(f){var G,X;if(this.word("export"),this.space(),f.exportKind==="type")this.word("type"),this.space();if(this.tokenChar(42),this.space(),this.word("from"),this.space(),(G=f.attributes)!=null&&G.length||(X=f.assertions)!=null&&X.length)this.print(f.source,!0),this.space(),this._printAttributes(f,!1);else this.print(f.source);this.semicolon()}function E9(f,G){if(Oo(G.declaration)&&f._shouldPrintDecoratorsBeforeExport(G))f.printJoin(G.declaration.decorators)}function go(f){if(E9(this,f),this.word("export"),this.space(),f.declaration){let J=f.declaration;if(this.print(J),!w9(J))this.semicolon()}else{if(f.exportKind==="type")this.word("type"),this.space();let J=f.specifiers.slice(0),W=!1;for(;;){let V=J[0];if(Do(V)||Io(V)){if(W=!0,this.print(J.shift()),J.length)this.tokenChar(44),this.space()}else break}let R=!1;if(J.length||!J.length&&!W){if(R=!0,this.tokenChar(123),J.length)this.space(),this.printList(J,this.shouldPrintTrailingComma("}")),this.space();this.tokenChar(125)}if(f.source){var G,X;if(this.space(),this.word("from"),this.space(),(G=f.attributes)!=null&&G.length||(X=f.assertions)!=null&&X.length)this.print(f.source,!0),this.space(),this._printAttributes(f,R);else this.print(f.source)}this.semicolon()}}function _o(f){E9(this,f),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=jo.TokenContext.exportDefault;let G=f.declaration;if(this.print(G),!w9(G))this.semicolon()}function uo(f){var G,X;this.word("import"),this.space();let J=f.importKind==="type"||f.importKind==="typeof";if(J)this.noIndentInnerCommentsHere(),this.word(f.importKind),this.space();else if(f.module)this.noIndentInnerCommentsHere(),this.word("module"),this.space();else if(f.phase)this.noIndentInnerCommentsHere(),this.word(f.phase),this.space();let W=f.specifiers.slice(0),R=!!W.length;while(R){let H=W[0];if(Po(H)||No(H)){if(this.print(W.shift()),W.length)this.tokenChar(44),this.space()}else break}let V=!1;if(W.length)V=!0,this.tokenChar(123),this.space(),this.printList(W,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125);else if(J&&!R)V=!0,this.tokenChar(123),this.tokenChar(125);if(R||J)this.space(),this.word("from"),this.space();if((G=f.attributes)!=null&&G.length||(X=f.assertions)!=null&&X.length)this.print(f.source,!0),this.space(),this._printAttributes(f,V);else this.print(f.source);this.semicolon()}function ho(f){this.print(f.key),this.tokenChar(58),this.space(),this.print(f.value)}function yo(f){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(f.local)}function xo(f){if(this.word("import"),f.phase)this.tokenChar(46),this.word(f.phase);if(this.tokenChar(40),this.print(f.source),f.options!=null)this.tokenChar(44),this.space(),this.print(f.options);this.tokenChar(41)}});var u9=D((LKf,_9)=>{var v9={},Ge=v9.hasOwnProperty,g9=(f,G)=>{for(let X in f)if(Ge.call(f,X))G(X,f[X])},Xe=(f,G)=>{if(!G)return f;return g9(G,(X,J)=>{f[X]=J}),f},Je=(f,G)=>{let X=f.length,J=-1;while(++J<X)G(f[J])},pX=(f)=>{return"\\u"+("0000"+f).slice(-4)},d1=(f,G)=>{let X=f.toString(16);if(G)return X;return X.toUpperCase()},t1=v9.toString,We=Array.isArray,Re=(f)=>{return typeof Buffer==="function"&&Buffer.isBuffer(f)},Ve=(f)=>{return t1.call(f)=="[object Object]"},He=(f)=>{return typeof f=="string"||t1.call(f)=="[object String]"},Ue=(f)=>{return typeof f=="number"||t1.call(f)=="[object Number]"},fW=(f)=>{return typeof f=="bigint"},Qe=(f)=>{return typeof f=="function"},Ze=(f)=>{return t1.call(f)=="[object Map]"},Ye=(f)=>{return t1.call(f)=="[object Set]"},ze={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},Be=/[\\\b\f\n\r\t]/,Me=/[0-9]/,Ke=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Fe=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,Se=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,uG=(f,G)=>{let X=()=>{Q=U,++G.indentLevel,U=G.indent.repeat(G.indentLevel)},J={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:!1,__inline2__:!1},W=G&&G.json;if(W)J.quotes="double",J.wrap=!0;if(G=Xe(J,G),G.quotes!="single"&&G.quotes!="double"&&G.quotes!="backtick")G.quotes="single";let R=G.quotes=="double"?'"':G.quotes=="backtick"?"`":"'",V=G.compact,H=G.lowercaseHex,U=G.indent.repeat(G.indentLevel),Q="",Y=G.__inline1__,S=G.__inline2__,C=V?"":`
13
+ `,A,O=!0,b=G.numbers=="binary",P=G.numbers=="octal",L=G.numbers=="decimal",w=G.numbers=="hexadecimal";if(W&&f&&Qe(f.toJSON))f=f.toJSON();if(!He(f)){if(Ze(f)){if(f.size==0)return"new Map()";if(!V)G.__inline1__=!0,G.__inline2__=!1;return"new Map("+uG(Array.from(f),G)+")"}if(Ye(f)){if(f.size==0)return"new Set()";return"new Set("+uG(Array.from(f),G)+")"}if(Re(f)){if(f.length==0)return"Buffer.from([])";return"Buffer.from("+uG(Array.from(f),G)+")"}if(We(f)){if(A=[],G.wrap=!0,Y)G.__inline1__=!1,G.__inline2__=!0;if(!S)X();if(Je(f,(p)=>{if(O=!1,S)G.__inline2__=!1;A.push((V||S?"":U)+uG(p,G))}),O)return"[]";if(S)return"["+A.join(", ")+"]";return"["+C+A.join(","+C)+C+(V?"":Q)+"]"}else if(Ue(f)||fW(f)){if(W)return JSON.stringify(Number(f));let p;if(L)p=String(f);else if(w){let Jf=f.toString(16);if(!H)Jf=Jf.toUpperCase();p="0x"+Jf}else if(b)p="0b"+f.toString(2);else if(P)p="0o"+f.toString(8);if(fW(f))return p+"n";return p}else if(fW(f)){if(W)return JSON.stringify(Number(f));return f+"n"}else if(!Ve(f)){if(W)return JSON.stringify(f)||"null";return String(f)}else{if(A=[],G.wrap=!0,X(),g9(f,(p,Jf)=>{O=!1,A.push((V?"":U)+uG(p,G)+":"+(V?"":" ")+uG(Jf,G))}),O)return"{}";return"{"+C+A.join(","+C)+C+(V?"":Q)+"}"}}let Xf=G.escapeEverything?Fe:Se;if(A=f.replace(Xf,(p,Jf,Kf,bf,Ef,y)=>{if(Jf){if(G.minimal)return Jf;let T=Jf.charCodeAt(0),l=Jf.charCodeAt(1);if(G.es6){let Rf=(T-55296)*1024+l-56320+65536;return"\\u{"+d1(Rf,H)+"}"}return pX(d1(T,H))+pX(d1(l,H))}if(Kf)return pX(d1(Kf.charCodeAt(0),H));if(p=="\x00"&&!W&&!Me.test(y.charAt(Ef+1)))return"\\0";if(bf){if(bf==R||G.escapeEverything)return"\\"+bf;return bf}if(Be.test(p))return ze[p];if(G.minimal&&!Ke.test(p))return p;let x=d1(p.charCodeAt(0),H);if(W||x.length>2)return pX(x);return"\\x"+("00"+x).slice(-2)}),R=="`")A=A.replace(/\$\{/g,"\\${");if(G.isScriptContext)A=A.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,W?"\\u003C!--":"\\x3C!--");if(G.wrap)A=R+A+R;return A};uG.version="3.0.2";_9.exports=uG});var XW=D((m9)=>{Object.defineProperty(m9,"__esModule",{value:!0});m9.ArgumentPlaceholder=je;m9.ArrayPattern=m9.ArrayExpression=Ne;m9.BigIntLiteral=ge;m9.BooleanLiteral=we;m9.Identifier=Ae;m9.NullLiteral=Ee;m9.NumericLiteral=ke;m9.ObjectPattern=m9.ObjectExpression=De;m9.ObjectMethod=Ie;m9.ObjectProperty=Pe;m9.PipelineBareFunction=he;m9.PipelinePrimaryTopicReference=ye;m9.PipelineTopicExpression=ue;m9.RecordExpression=Te;m9.RegExpLiteral=be;m9.SpreadElement=m9.RestElement=Oe;m9.StringLiteral=ve;m9.TopicReference=_e;m9.TupleExpression=Le;m9._getRawIdentifier=Ce;var $e=Hf(),x9=u9(),{isAssignmentPattern:qe,isIdentifier:GW}=$e,h9=null,sX="";function Ce(f){if(f===h9)return sX;h9=f;let{name:G}=f,X=this.tokenMap.find(f,(J)=>J.value===G);if(X)return sX=this._originalCode.slice(X.start,X.end),sX;return sX=f.name}function Ae(f){var G;this.sourceIdentifierName(((G=f.loc)==null?void 0:G.identifierName)||f.name),this.word(this.tokenMap?this._getRawIdentifier(f):f.name)}function je(){this.tokenChar(63)}function Oe(f){this.token("..."),this.print(f.argument)}function De(f){let G=f.properties;if(this.tokenChar(123),G.length){let X=this.enterDelimited();this.space(),this.printList(G,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),X()}this.sourceWithOffset("end",f.loc,-1),this.tokenChar(125)}function Ie(f){this.printJoin(f.decorators),this._methodHead(f),this.space(),this.print(f.body)}function Pe(f){if(this.printJoin(f.decorators),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else{if(qe(f.value)&&GW(f.key)&&f.key.name===f.value.left.name){this.print(f.value);return}if(this.print(f.key),f.shorthand&&GW(f.key)&&GW(f.value)&&f.key.name===f.value.name)return}this.tokenChar(58),this.space(),this.print(f.value)}function Ne(f){let G=f.elements,X=G.length;this.tokenChar(91);let J=this.enterDelimited();for(let W=0;W<G.length;W++){let R=G[W];if(R){if(W>0)this.space();if(this.print(R),W<X-1||this.shouldPrintTrailingComma("]"))this.token(",",!1,W)}else this.token(",",!1,W)}J(),this.tokenChar(93)}function Te(f){let G=f.properties,X,J;if(this.format.recordAndTupleSyntaxType==="bar")X="{|",J="|}";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).`);else X="#{",J="}";if(this.token(X),G.length)this.space(),this.printList(G,this.shouldPrintTrailingComma(J),!0,!0),this.space();this.token(J)}function Le(f){let G=f.elements,X=G.length,J,W;if(this.format.recordAndTupleSyntaxType==="bar")J="[|",W="|]";else if(this.format.recordAndTupleSyntaxType==="hash")J="#[",W="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(J);for(let R=0;R<G.length;R++){let V=G[R];if(V){if(R>0)this.space();if(this.print(V),R<X-1||this.shouldPrintTrailingComma(W))this.token(",",!1,R)}}this.token(W)}function be(f){this.word(`/${f.pattern}/${f.flags}`)}function we(f){this.word(f.value?"true":"false")}function Ee(){this.word("null")}function ke(f){let G=this.getPossibleRaw(f),X=this.format.jsescOption,J=f.value,W=J+"";if(X.numbers)this.number(x9(J,X),J);else if(G==null)this.number(W,J);else if(this.format.minified)this.number(G.length<W.length?G:W,J);else this.number(G,J)}function ve(f){let G=this.getPossibleRaw(f);if(!this.format.minified&&G!==void 0){this.token(G);return}let X=x9(f.value,this.format.jsescOption);this.token(X)}function ge(f){let G=this.getPossibleRaw(f);if(!this.format.minified&&G!==void 0){this.word(G);return}this.word(f.value+"n")}var y9=new Set(["^^","@@","^","%","#"]);function _e(){let{topicToken:f}=this.format;if(y9.has(f))this.token(f);else{let G=JSON.stringify(f),X=Array.from(y9,(J)=>JSON.stringify(J));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${G} received instead).`)}}function ue(f){this.print(f.expression)}function he(f){this.print(f.callee)}function ye(){this.tokenChar(35)}});var c9=D((oX)=>{Object.defineProperty(oX,"__esModule",{value:!0});oX.AnyTypeAnnotation=Zff;oX.ArrayTypeAnnotation=Yff;oX.BooleanLiteralTypeAnnotation=Bff;oX.BooleanTypeAnnotation=zff;oX.DeclareClass=Kff;oX.DeclareExportAllDeclaration=Pff;oX.DeclareExportDeclaration=Iff;oX.DeclareFunction=Fff;oX.DeclareInterface=qff;oX.DeclareModule=Cff;oX.DeclareModuleExports=Aff;oX.DeclareOpaqueType=Off;oX.DeclareTypeAlias=jff;oX.DeclareVariable=Dff;oX.DeclaredPredicate=$ff;oX.EmptyTypeAnnotation=sff;oX.EnumBooleanBody=Tff;oX.EnumBooleanMember=kff;oX.EnumDeclaration=Nff;oX.EnumDefaultedMember=Eff;oX.EnumNumberBody=Lff;oX.EnumNumberMember=vff;oX.EnumStringBody=bff;oX.EnumStringMember=gff;oX.EnumSymbolBody=wff;oX.ExistsTypeAnnotation=uff;oX.FunctionTypeAnnotation=hff;oX.FunctionTypeParam=yff;oX.IndexedAccessType=qGf;oX.InferredPredicate=Sff;oX.InterfaceDeclaration=cff;oX.GenericTypeAnnotation=oX.ClassImplements=oX.InterfaceExtends=xff;oX.InterfaceTypeAnnotation=iff;oX.IntersectionTypeAnnotation=rff;oX.MixedTypeAnnotation=pff;oX.NullLiteralTypeAnnotation=Mff;oX.NullableTypeAnnotation=dff;Object.defineProperty(oX,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return l9.NumericLiteral}});oX.NumberTypeAnnotation=tff;oX.ObjectTypeAnnotation=VGf;oX.ObjectTypeCallProperty=UGf;oX.ObjectTypeIndexer=QGf;oX.ObjectTypeInternalSlot=HGf;oX.ObjectTypeProperty=ZGf;oX.ObjectTypeSpreadProperty=YGf;oX.OpaqueType=RGf;oX.OptionalIndexedAccessType=CGf;oX.QualifiedTypeIdentifier=zGf;Object.defineProperty(oX,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return l9.StringLiteral}});oX.StringTypeAnnotation=nff;oX.SymbolTypeAnnotation=BGf;oX.ThisTypeAnnotation=off;oX.TupleTypeAnnotation=eff;oX.TypeAlias=GGf;oX.TypeAnnotation=XGf;oX.TypeCastExpression=FGf;oX.TypeParameter=WGf;oX.TypeParameterDeclaration=oX.TypeParameterInstantiation=JGf;oX.TypeofTypeAnnotation=fGf;oX.UnionTypeAnnotation=KGf;oX.Variance=SGf;oX.VoidTypeAnnotation=$Gf;oX._interfaceish=mff;oX._variance=lff;var Vff=Hf(),Hff=eJ(),Uff=_G(),l9=XW(),{isDeclareExportDeclaration:dX,isStatement:Qff}=Vff;function Zff(){this.word("any")}function Yff(f){this.print(f.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function zff(){this.word("boolean")}function Bff(f){this.word(f.value?"true":"false")}function Mff(){this.word("null")}function Kff(f,G){if(!dX(G))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(f)}function Fff(f,G){if(!dX(G))this.word("declare"),this.space();if(this.word("function"),this.space(),this.print(f.id),this.print(f.id.typeAnnotation.typeAnnotation),f.predicate)this.space(),this.print(f.predicate);this.semicolon()}function Sff(){this.tokenChar(37),this.word("checks")}function $ff(f){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(f.value),this.tokenChar(41)}function qff(f){this.word("declare"),this.space(),this.InterfaceDeclaration(f)}function Cff(f){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(f.id),this.space(),this.print(f.body)}function Aff(f){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(f.typeAnnotation)}function jff(f){this.word("declare"),this.space(),this.TypeAlias(f)}function Off(f,G){if(!dX(G))this.word("declare"),this.space();this.OpaqueType(f)}function Dff(f,G){if(!dX(G))this.word("declare"),this.space();this.word("var"),this.space(),this.print(f.id),this.print(f.id.typeAnnotation),this.semicolon()}function Iff(f){if(this.word("declare"),this.space(),this.word("export"),this.space(),f.default)this.word("default"),this.space();_ff.call(this,f)}function Pff(f){this.word("declare"),this.space(),Hff.ExportAllDeclaration.call(this,f)}function Nff(f){let{id:G,body:X}=f;this.word("enum"),this.space(),this.print(G),this.print(X)}function tX(f,G,X){if(X)f.space(),f.word("of"),f.space(),f.word(G);f.space()}function nX(f,G){let{members:X}=G;f.token("{"),f.indent(),f.newline();for(let J of X)f.print(J),f.newline();if(G.hasUnknownMembers)f.token("..."),f.newline();f.dedent(),f.token("}")}function Tff(f){let{explicitType:G}=f;tX(this,"boolean",G),nX(this,f)}function Lff(f){let{explicitType:G}=f;tX(this,"number",G),nX(this,f)}function bff(f){let{explicitType:G}=f;tX(this,"string",G),nX(this,f)}function wff(f){tX(this,"symbol",!0),nX(this,f)}function Eff(f){let{id:G}=f;this.print(G),this.tokenChar(44)}function JW(f,G){f.print(G.id),f.space(),f.token("="),f.space(),f.print(G.init),f.token(",")}function kff(f){JW(this,f)}function vff(f){JW(this,f)}function gff(f){JW(this,f)}function _ff(f){if(f.declaration){let G=f.declaration;if(this.print(G),!Qff(G))this.semicolon()}else{if(this.tokenChar(123),f.specifiers.length)this.space(),this.printList(f.specifiers),this.space();if(this.tokenChar(125),f.source)this.space(),this.word("from"),this.space(),this.print(f.source);this.semicolon()}}function uff(){this.tokenChar(42)}function hff(f,G){if(this.print(f.typeParameters),this.tokenChar(40),f.this){if(this.word("this"),this.tokenChar(58),this.space(),this.print(f.this.typeAnnotation),f.params.length||f.rest)this.tokenChar(44),this.space()}if(this.printList(f.params),f.rest){if(f.params.length)this.tokenChar(44),this.space();this.token("..."),this.print(f.rest)}this.tokenChar(41);let X=G==null?void 0:G.type;if(X!=null&&(X==="ObjectTypeCallProperty"||X==="ObjectTypeInternalSlot"||X==="DeclareFunction"||X==="ObjectTypeProperty"&&G.method))this.tokenChar(58);else this.space(),this.token("=>");this.space(),this.print(f.returnType)}function yff(f){if(this.print(f.name),f.optional)this.tokenChar(63);if(f.name)this.tokenChar(58),this.space();this.print(f.typeAnnotation)}function xff(f){this.print(f.id),this.print(f.typeParameters,!0)}function mff(f){var G;if(this.print(f.id),this.print(f.typeParameters),(G=f.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(f.extends);if(f.type==="DeclareClass"){var X,J;if((X=f.mixins)!=null&&X.length)this.space(),this.word("mixins"),this.space(),this.printList(f.mixins);if((J=f.implements)!=null&&J.length)this.space(),this.word("implements"),this.space(),this.printList(f.implements)}this.space(),this.print(f.body)}function lff(f){var G;let X=(G=f.variance)==null?void 0:G.kind;if(X!=null){if(X==="plus")this.tokenChar(43);else if(X==="minus")this.tokenChar(45)}}function cff(f){this.word("interface"),this.space(),this._interfaceish(f)}function aff(f){this.space(),this.token("&",!1,f),this.space()}function iff(f){var G;if(this.word("interface"),(G=f.extends)!=null&&G.length)this.space(),this.word("extends"),this.space(),this.printList(f.extends);this.space(),this.print(f.body)}function rff(f){this.printJoin(f.types,void 0,void 0,aff)}function pff(){this.word("mixed")}function sff(){this.word("empty")}function dff(f){this.tokenChar(63),this.print(f.typeAnnotation)}function tff(){this.word("number")}function nff(){this.word("string")}function off(){this.word("this")}function eff(f){this.tokenChar(91),this.printList(f.types),this.tokenChar(93)}function fGf(f){this.word("typeof"),this.space(),this.print(f.argument)}function GGf(f){this.word("type"),this.space(),this.print(f.id),this.print(f.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(f.right),this.semicolon()}function XGf(f,G){if(this.tokenChar(58),this.space(),G.type==="ArrowFunctionExpression")this.tokenContext|=Uff.TokenContext.arrowFlowReturnType;else if(f.optional)this.tokenChar(63);this.print(f.typeAnnotation)}function JGf(f){this.tokenChar(60),this.printList(f.params),this.tokenChar(62)}function WGf(f){if(this._variance(f),this.word(f.name),f.bound)this.print(f.bound);if(f.default)this.space(),this.tokenChar(61),this.space(),this.print(f.default)}function RGf(f){if(this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(f.id),this.print(f.typeParameters),f.supertype)this.tokenChar(58),this.space(),this.print(f.supertype);if(f.impltype)this.space(),this.tokenChar(61),this.space(),this.print(f.impltype);this.semicolon()}function VGf(f){if(f.exact)this.token("{|");else this.tokenChar(123);let G=[...f.properties,...f.callProperties||[],...f.indexers||[],...f.internalSlots||[]];if(G.length)this.newline(),this.space(),this.printJoin(G,!0,!0,void 0,void 0,function X(J){if(J&&!G[0])return 1},()=>{if(G.length!==1||f.inexact)this.tokenChar(44),this.space()}),this.space();if(f.inexact){if(this.indent(),this.token("..."),G.length)this.newline();this.dedent()}if(f.exact)this.token("|}");else this.tokenChar(125)}function HGf(f){if(f.static)this.word("static"),this.space();if(this.tokenChar(91),this.tokenChar(91),this.print(f.id),this.tokenChar(93),this.tokenChar(93),f.optional)this.tokenChar(63);if(!f.method)this.tokenChar(58),this.space();this.print(f.value)}function UGf(f){if(f.static)this.word("static"),this.space();this.print(f.value)}function QGf(f){if(f.static)this.word("static"),this.space();if(this._variance(f),this.tokenChar(91),f.id)this.print(f.id),this.tokenChar(58),this.space();this.print(f.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(f.value)}function ZGf(f){if(f.proto)this.word("proto"),this.space();if(f.static)this.word("static"),this.space();if(f.kind==="get"||f.kind==="set")this.word(f.kind),this.space();if(this._variance(f),this.print(f.key),f.optional)this.tokenChar(63);if(!f.method)this.tokenChar(58),this.space();this.print(f.value)}function YGf(f){this.token("..."),this.print(f.argument)}function zGf(f){this.print(f.qualification),this.tokenChar(46),this.print(f.id)}function BGf(){this.word("symbol")}function MGf(f){this.space(),this.token("|",!1,f),this.space()}function KGf(f){this.printJoin(f.types,void 0,void 0,MGf)}function FGf(f){this.tokenChar(40),this.print(f.expression),this.print(f.typeAnnotation),this.tokenChar(41)}function SGf(f){if(f.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function $Gf(){this.word("void")}function qGf(f){this.print(f.objectType,!0),this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)}function CGf(f){if(this.print(f.objectType),f.optional)this.token("?.");this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)}});var i9=D((a9)=>{Object.defineProperty(a9,"__esModule",{value:!0});a9.BlockStatement=w1f;a9.Directive=E1f;a9.DirectiveLiteral=g1f;a9.File=L1f;a9.InterpreterDirective=_1f;a9.Placeholder=u1f;a9.Program=b1f;function L1f(f){if(f.program)this.print(f.program.interpreter);this.print(f.program)}function b1f(f){var G;this.noIndentInnerCommentsHere(),this.printInnerComments();let X=(G=f.directives)==null?void 0:G.length;if(X){var J;let W=f.body.length?2:1;if(this.printSequence(f.directives,void 0,W),!((J=f.directives[X-1].trailingComments)!=null&&J.length))this.newline(W)}this.printSequence(f.body)}function w1f(f){var G;this.tokenChar(123);let X=this.enterDelimited(),J=(G=f.directives)==null?void 0:G.length;if(J){var W;let R=f.body.length?2:1;if(this.printSequence(f.directives,!0,R),!((W=f.directives[J-1].trailingComments)!=null&&W.length))this.newline(R)}this.printSequence(f.body,!0),X(),this.rightBrace(f)}function E1f(f){this.print(f.value),this.semicolon()}var k1f=/(?:^|[^\\])(?:\\\\)*'/,v1f=/(?:^|[^\\])(?:\\\\)*"/;function g1f(f){let G=this.getPossibleRaw(f);if(!this.format.minified&&G!==void 0){this.token(G);return}let{value:X}=f;if(!v1f.test(X))this.token(`"${X}"`);else if(!k1f.test(X))this.token(`'${X}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function _1f(f){this.token(`#!${f.value}`),this.newline(1,!0)}function u1f(f){if(this.token("%%"),this.print(f.name),this.token("%%"),f.expectedNode==="Statement")this.semicolon()}});var p9=D((r9)=>{Object.defineProperty(r9,"__esModule",{value:!0});r9.JSXAttribute=i1f;r9.JSXClosingElement=XXf;r9.JSXClosingFragment=VXf;r9.JSXElement=e1f;r9.JSXEmptyExpression=JXf;r9.JSXExpressionContainer=t1f;r9.JSXFragment=WXf;r9.JSXIdentifier=r1f;r9.JSXMemberExpression=s1f;r9.JSXNamespacedName=p1f;r9.JSXOpeningElement=GXf;r9.JSXOpeningFragment=RXf;r9.JSXSpreadAttribute=d1f;r9.JSXSpreadChild=n1f;r9.JSXText=o1f;function i1f(f){if(this.print(f.name),f.value)this.tokenChar(61),this.print(f.value)}function r1f(f){this.word(f.name)}function p1f(f){this.print(f.namespace),this.tokenChar(58),this.print(f.name)}function s1f(f){this.print(f.object),this.tokenChar(46),this.print(f.property)}function d1f(f){this.tokenChar(123),this.token("..."),this.print(f.argument),this.rightBrace(f)}function t1f(f){this.tokenChar(123),this.print(f.expression),this.rightBrace(f)}function n1f(f){this.tokenChar(123),this.token("..."),this.print(f.expression),this.rightBrace(f)}function o1f(f){let G=this.getPossibleRaw(f);if(G!==void 0)this.token(G,!0);else this.token(f.value,!0)}function e1f(f){let G=f.openingElement;if(this.print(G),G.selfClosing)return;this.indent();for(let X of f.children)this.print(X);this.dedent(),this.print(f.closingElement)}function fXf(){this.space()}function GXf(f){this.tokenChar(60),this.print(f.name);{if(f.typeArguments)this.print(f.typeArguments);this.print(f.typeParameters)}if(f.attributes.length>0)this.space(),this.printJoin(f.attributes,void 0,void 0,fXf);if(f.selfClosing)this.space(),this.tokenChar(47);this.tokenChar(62)}function XXf(f){this.tokenChar(60),this.tokenChar(47),this.print(f.name),this.tokenChar(62)}function JXf(){this.printInnerComments()}function WXf(f){this.print(f.openingFragment),this.indent();for(let G of f.children)this.print(G);this.dedent(),this.print(f.closingFragment)}function RXf(){this.tokenChar(60),this.tokenChar(62)}function VXf(){this.token("</"),this.tokenChar(62)}});var e9=D((o9)=>{Object.defineProperty(o9,"__esModule",{value:!0});o9.TSAnyKeyword=gXf;o9.TSArrayType=X2f;o9.TSSatisfiesExpression=o9.TSAsExpression=A2f;o9.TSBigIntKeyword=_Xf;o9.TSBooleanKeyword=xXf;o9.TSCallSignatureDeclaration=LXf;o9.TSInterfaceHeritage=o9.TSClassImplements=S2f;o9.TSConditionalType=Q2f;o9.TSConstructSignatureDeclaration=bXf;o9.TSConstructorType=tXf;o9.TSDeclareFunction=PXf;o9.TSDeclareMethod=NXf;o9.TSEnumBody=n9;o9.TSEnumDeclaration=D2f;o9.TSEnumMember=I2f;o9.TSExportAssignment=E2f;o9.TSExternalModuleReference=b2f;o9.TSFunctionType=dXf;o9.TSImportEqualsDeclaration=L2f;o9.TSImportType=T2f;o9.TSIndexSignature=vXf;o9.TSIndexedAccessType=B2f;o9.TSInferType=Z2f;o9.TSInstantiationExpression=O2f;o9.TSInterfaceBody=q2f;o9.TSInterfaceDeclaration=$2f;o9.TSIntersectionType=U2f;o9.TSIntrinsicKeyword=pXf;o9.TSLiteralType=F2f;o9.TSMappedType=M2f;o9.TSMethodSignature=kXf;o9.TSModuleBlock=N2f;o9.TSModuleDeclaration=P2f;o9.TSNamedTupleMember=V2f;o9.TSNamespaceExportDeclaration=k2f;o9.TSNeverKeyword=rXf;o9.TSNonNullExpression=w2f;o9.TSNullKeyword=iXf;o9.TSNumberKeyword=hXf;o9.TSObjectKeyword=yXf;o9.TSOptionalType=W2f;o9.TSParameterProperty=IXf;o9.TSParenthesizedType=Y2f;o9.TSPropertySignature=wXf;o9.TSQualifiedName=TXf;o9.TSRestType=R2f;o9.TSStringKeyword=mXf;o9.TSSymbolKeyword=lXf;o9.TSTemplateLiteralType=K2f;o9.TSThisType=sXf;o9.TSTupleType=J2f;o9.TSTypeAliasDeclaration=C2f;o9.TSTypeAnnotation=jXf;o9.TSTypeAssertion=j2f;o9.TSTypeLiteral=G2f;o9.TSTypeOperator=z2f;o9.TSTypeParameter=DXf;o9.TSTypeParameterDeclaration=o9.TSTypeParameterInstantiation=OXf;o9.TSTypePredicate=eXf;o9.TSTypeQuery=f2f;o9.TSTypeReference=oXf;o9.TSUndefinedKeyword=aXf;o9.TSUnionType=H2f;o9.TSUnknownKeyword=uXf;o9.TSVoidKeyword=cXf;o9.tsPrintClassMemberModifiers=g2f;o9.tsPrintFunctionOrConstructorType=nXf;o9.tsPrintPropertyOrMethodName=EXf;o9.tsPrintSignatureDeclarationBase=v2f;function jXf(f,G){if(this.token((G.type==="TSFunctionType"||G.type==="TSConstructorType")&&G.typeAnnotation===f?"=>":":"),this.space(),f.optional)this.tokenChar(63);this.print(f.typeAnnotation)}function OXf(f,G){this.tokenChar(60);let X=G.type==="ArrowFunctionExpression"&&f.params.length===1;if(this.tokenMap&&f.start!=null&&f.end!=null)X&&(X=!!this.tokenMap.find(f,(J)=>this.tokenMap.matchesOriginal(J,","))),X||(X=this.shouldPrintTrailingComma(">"));this.printList(f.params,X),this.tokenChar(62)}function DXf(f){if(f.in)this.word("in"),this.space();if(f.out)this.word("out"),this.space();if(this.word(f.name),f.constraint)this.space(),this.word("extends"),this.space(),this.print(f.constraint);if(f.default)this.space(),this.tokenChar(61),this.space(),this.print(f.default)}function IXf(f){if(f.accessibility)this.word(f.accessibility),this.space();if(f.readonly)this.word("readonly"),this.space();this._param(f.parameter)}function PXf(f,G){if(f.declare)this.word("declare"),this.space();this._functionHead(f,G),this.semicolon()}function NXf(f){this._classMethodHead(f),this.semicolon()}function TXf(f){this.print(f.left),this.tokenChar(46),this.print(f.right)}function LXf(f){this.tsPrintSignatureDeclarationBase(f),n1(this,f)}function n1(f,G){if(!f.tokenMap||!G.start||!G.end){f.semicolon();return}if(f.tokenMap.endMatches(G,","))f.token(",");else if(f.tokenMap.endMatches(G,";"))f.semicolon()}function bXf(f){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(f),n1(this,f)}function wXf(f){let{readonly:G}=f;if(G)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(f),this.print(f.typeAnnotation),n1(this,f)}function EXf(f){if(f.computed)this.tokenChar(91);if(this.print(f.key),f.computed)this.tokenChar(93);if(f.optional)this.tokenChar(63)}function kXf(f){let{kind:G}=f;if(G==="set"||G==="get")this.word(G),this.space();this.tsPrintPropertyOrMethodName(f),this.tsPrintSignatureDeclarationBase(f),n1(this,f)}function vXf(f){let{readonly:G,static:X}=f;if(X)this.word("static"),this.space();if(G)this.word("readonly"),this.space();this.tokenChar(91),this._parameters(f.parameters,"]"),this.print(f.typeAnnotation),n1(this,f)}function gXf(){this.word("any")}function _Xf(){this.word("bigint")}function uXf(){this.word("unknown")}function hXf(){this.word("number")}function yXf(){this.word("object")}function xXf(){this.word("boolean")}function mXf(){this.word("string")}function lXf(){this.word("symbol")}function cXf(){this.word("void")}function aXf(){this.word("undefined")}function iXf(){this.word("null")}function rXf(){this.word("never")}function pXf(){this.word("intrinsic")}function sXf(){this.word("this")}function dXf(f){this.tsPrintFunctionOrConstructorType(f)}function tXf(f){if(f.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(f)}function nXf(f){let{typeParameters:G}=f,X=f.parameters;this.print(G),this.tokenChar(40),this._parameters(X,")"),this.space();let J=f.typeAnnotation;this.print(J)}function oXf(f){let G=f.typeParameters;this.print(f.typeName,!!G),this.print(G)}function eXf(f){if(f.asserts)this.word("asserts"),this.space();if(this.print(f.parameterName),f.typeAnnotation)this.space(),this.word("is"),this.space(),this.print(f.typeAnnotation.typeAnnotation)}function f2f(f){this.word("typeof"),this.space(),this.print(f.exprName);let G=f.typeParameters;if(G)this.print(G)}function G2f(f){eX(this,f,()=>this.printJoin(f.members,!0,!0))}function X2f(f){this.print(f.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function J2f(f){this.tokenChar(91),this.printList(f.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function W2f(f){this.print(f.typeAnnotation),this.tokenChar(63)}function R2f(f){this.token("..."),this.print(f.typeAnnotation)}function V2f(f){if(this.print(f.label),f.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(f.elementType)}function H2f(f){t9(this,f,"|")}function U2f(f){t9(this,f,"&")}function t9(f,G,X){var J;let W=0;if((J=f.tokenMap)!=null&&J.startMatches(G,X))W=1,f.token(X);f.printJoin(G.types,void 0,void 0,function(R){this.space(),this.token(X,null,R+W),this.space()})}function Q2f(f){this.print(f.checkType),this.space(),this.word("extends"),this.space(),this.print(f.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(f.trueType),this.space(),this.tokenChar(58),this.space(),this.print(f.falseType)}function Z2f(f){this.word("infer"),this.print(f.typeParameter)}function Y2f(f){this.tokenChar(40),this.print(f.typeAnnotation),this.tokenChar(41)}function z2f(f){this.word(f.operator),this.space(),this.print(f.typeAnnotation)}function B2f(f){this.print(f.objectType,!0),this.tokenChar(91),this.print(f.indexType),this.tokenChar(93)}function M2f(f){let{nameType:G,optional:X,readonly:J,typeAnnotation:W}=f;this.tokenChar(123);let R=this.enterDelimited();if(this.space(),J)s9(this,J),this.word("readonly"),this.space();if(this.tokenChar(91),this.word(f.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(f.typeParameter.constraint),G)this.space(),this.word("as"),this.space(),this.print(G);if(this.tokenChar(93),X)s9(this,X),this.tokenChar(63);if(W)this.tokenChar(58),this.space(),this.print(W);this.space(),R(),this.tokenChar(125)}function s9(f,G){if(G!==!0)f.token(G)}function K2f(f){this._printTemplate(f,f.types)}function F2f(f){this.print(f.literal)}function S2f(f){this.print(f.expression),this.print(f.typeArguments)}function $2f(f){let{declare:G,id:X,typeParameters:J,extends:W,body:R}=f;if(G)this.word("declare"),this.space();if(this.word("interface"),this.space(),this.print(X),this.print(J),W!=null&&W.length)this.space(),this.word("extends"),this.space(),this.printList(W);this.space(),this.print(R)}function q2f(f){eX(this,f,()=>this.printJoin(f.body,!0,!0))}function C2f(f){let{declare:G,id:X,typeParameters:J,typeAnnotation:W}=f;if(G)this.word("declare"),this.space();this.word("type"),this.space(),this.print(X),this.print(J),this.space(),this.tokenChar(61),this.space(),this.print(W),this.semicolon()}function A2f(f){let{type:G,expression:X,typeAnnotation:J}=f;this.print(X,!0),this.space(),this.word(G==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(J)}function j2f(f){let{typeAnnotation:G,expression:X}=f;this.tokenChar(60),this.print(G),this.tokenChar(62),this.space(),this.print(X)}function O2f(f){this.print(f.expression),this.print(f.typeParameters)}function D2f(f){let{declare:G,const:X,id:J}=f;if(G)this.word("declare"),this.space();if(X)this.word("const"),this.space();this.word("enum"),this.space(),this.print(J),this.space(),n9.call(this,f)}function n9(f){eX(this,f,()=>{var G;return this.printList(f.members,(G=this.shouldPrintTrailingComma("}"))!=null?G:!0,!0,!0)})}function I2f(f){let{id:G,initializer:X}=f;if(this.print(G),X)this.space(),this.tokenChar(61),this.space(),this.print(X)}function P2f(f){let{declare:G,id:X,kind:J}=f;if(G)this.word("declare"),this.space();{if(!f.global)this.word(J!=null?J:X.type==="Identifier"?"namespace":"module"),this.space();if(this.print(X),!f.body){this.semicolon();return}let W=f.body;while(W.type==="TSModuleDeclaration")this.tokenChar(46),this.print(W.id),W=W.body;this.space(),this.print(W)}}function N2f(f){eX(this,f,()=>this.printSequence(f.body,!0))}function T2f(f){let{argument:G,qualifier:X,options:J}=f;if(this.word("import"),this.tokenChar(40),this.print(G),J)this.tokenChar(44),this.print(J);if(this.tokenChar(41),X)this.tokenChar(46),this.print(X);let W=f.typeParameters;if(W)this.print(W)}function L2f(f){let{id:G,moduleReference:X}=f;if(f.isExport)this.word("export"),this.space();this.word("import"),this.space(),this.print(G),this.space(),this.tokenChar(61),this.space(),this.print(X),this.semicolon()}function b2f(f){this.token("require("),this.print(f.expression),this.tokenChar(41)}function w2f(f){this.print(f.expression),this.tokenChar(33)}function E2f(f){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(f.expression),this.semicolon()}function k2f(f){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(f.id),this.semicolon()}function v2f(f){let{typeParameters:G}=f,X=f.parameters;this.print(G),this.tokenChar(40),this._parameters(X,")");let J=f.typeAnnotation;this.print(J)}function g2f(f){let G=f.type==="ClassPrivateProperty",X=f.type==="ClassAccessorProperty"||f.type==="ClassProperty";if(d9(this,f,[X&&f.declare&&"declare",!G&&f.accessibility]),f.static)this.word("static"),this.space();d9(this,f,[!G&&f.abstract&&"abstract",!G&&f.override&&"override",(X||G)&&f.readonly&&"readonly"])}function eX(f,G,X){f.token("{");let J=f.enterDelimited();X(),J(),f.rightBrace(G)}function d9(f,G,X){var J;let W=new Set;for(let R of X)if(R)W.add(R);(J=f.tokenMap)==null||J.find(G,(R)=>{if(W.has(R.value))return f.token(R.value),f.space(),W.delete(R.value),W.size===0});for(let R of W)f.word(R),f.space()}});var f8=D((Bf)=>{Object.defineProperty(Bf,"__esModule",{value:!0});var WW=F9();Object.keys(WW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===WW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return WW[f]}})});var RW=q9();Object.keys(RW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===RW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return RW[f]}})});var VW=I9();Object.keys(VW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===VW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return VW[f]}})});var HW=N9();Object.keys(HW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===HW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return HW[f]}})});var UW=L9();Object.keys(UW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===UW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return UW[f]}})});var QW=eJ();Object.keys(QW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===QW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return QW[f]}})});var ZW=XW();Object.keys(ZW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===ZW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return ZW[f]}})});var YW=c9();Object.keys(YW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===YW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return YW[f]}})});var zW=i9();Object.keys(zW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===zW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return zW[f]}})});var BW=p9();Object.keys(BW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===BW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return BW[f]}})});var MW=e9();Object.keys(MW).forEach(function(f){if(f==="default"||f==="__esModule")return;if(f in Bf&&Bf[f]===MW[f])return;Object.defineProperty(Bf,f,{enumerable:!0,get:function(){return MW[f]}})})});var X8=D((G8)=>{Object.defineProperty(G8,"__esModule",{value:!0});G8.addDeprecatedGenerators=nJf;function nJf(f){{let G={Noop(){},TSExpressionWithTypeArguments(X){this.print(X.expression),this.print(X.typeParameters)},DecimalLiteral(X){let J=this.getPossibleRaw(X);if(!this.format.minified&&J!==void 0){this.word(J);return}this.word(X.value+"m")}};Object.assign(f.prototype,G)}}});var U8=D((V8)=>{Object.defineProperty(V8,"__esModule",{value:!0});V8.default=void 0;var eJf=UR(),W8=_G(),fWf=Hf(),GWf=M9(),XWf=f8(),JWf=X8(),{isExpression:WWf,isFunction:RWf,isStatement:VWf,isClassBody:HWf,isTSInterfaceBody:UWf,isTSEnumMember:QWf}=fWf,ZWf=/e/i,YWf=/\.0+$/,R8=/[\n\r\u2028\u2029]/,zWf=/[\n\r\u2028\u2029]|\*\//;function J8(f){return f.type==="CommentLine"||R8.test(f.value)}var{needsParens:BWf}=W8;class f2{constructor(f,G,X,J){this.inForStatementInit=!1,this.tokenContext=0,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=f,this._tokens=X,this._originalCode=J,this._indentRepeat=f.indent.style.length,this._inputMap=G==null?void 0:G._inputMap,this._buf=new eJf.default(G,f.indent.style[0])}enterForStatementInit(){if(this.inForStatementInit)return()=>{};return this.inForStatementInit=!0,()=>{this.inForStatementInit=!1}}enterDelimited(){let f=this.inForStatementInit,G=this._noLineTerminatorAfterNode;if(f===!1&&G===null)return()=>{};return this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=f,this._noLineTerminatorAfterNode=G}}generate(f){if(this.format.preserveFormat)this.tokenMap=new GWf.TokenMap(f,this._tokens,this._originalCode);return this.print(f),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:f}=this;if(f.preserveFormat||f.compact||f.concise)return;this._indent++}dedent(){let{format:f}=this;if(f.preserveFormat||f.compact||f.concise)return;this._indent--}semicolon(f=!1){if(this._maybeAddAuxComment(),f){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let G=this._currentNode;if(G.start!=null&&G.end!=null){if(!this.tokenMap.endMatches(G,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let X=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[X[X.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(f){if(this.format.minified)this._buf.removeLastSemicolon();this.sourceWithOffset("end",f.loc,-1),this.tokenChar(125)}rightParens(f){this.sourceWithOffset("end",f.loc,-1),this.tokenChar(41)}space(f=!1){let{format:G}=this;if(G.compact||G.preserveFormat)return;if(f)this._space();else if(this._buf.hasContent()){let X=this.getLastChar();if(X!==32&&X!==10)this._space()}}word(f,G=!1){if(this.tokenContext=0,this._maybePrintInnerComments(f),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(f);if(this._endsWithWord||this._endsWithDiv&&f.charCodeAt(0)===47)this._space();this._append(f,!1),this._endsWithWord=!0,this._noLineTerminator=G}number(f,G){function X(J){if(J.length>2&&J.charCodeAt(0)===48){let W=J.charCodeAt(1);return W===98||W===111||W===120}return!1}this.word(f),this._endsWithInteger=Number.isInteger(G)&&!X(f)&&!ZWf.test(f)&&!YWf.test(f)&&f.charCodeAt(f.length-1)!==46}token(f,G=!1,X=0){if(this.tokenContext=0,this._maybePrintInnerComments(f,X),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(f,X);let J=this.getLastChar(),W=f.charCodeAt(0);if(J===33&&(f==="--"||W===61)||W===43&&J===43||W===45&&J===45||W===46&&this._endsWithInteger)this._space();this._append(f,G),this._noLineTerminator=!1}tokenChar(f){this.tokenContext=0;let G=String.fromCharCode(f);if(this._maybePrintInnerComments(G),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(G);let X=this.getLastChar();if(f===43&&X===43||f===45&&X===45||f===46&&this._endsWithInteger)this._space();this._appendChar(f),this._noLineTerminator=!1}newline(f=1,G){if(f<=0)return;if(!G){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(f>2)f=2;f-=this._buf.getNewlineCount();for(let X=0;X<f;X++)this._newline();return}endsWith(f){return this.getLastChar()===f}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(f,G){if(!f){G();return}this._catchUp("start",f),this._buf.exactSource(f,G)}source(f,G){if(!G)return;this._catchUp(f,G),this._buf.source(f,G)}sourceWithOffset(f,G,X){if(!G||this.format.preserveFormat)return;this._catchUp(f,G),this._buf.sourceWithOffset(f,G,X)}sourceIdentifierName(f,G){if(!this._buf._canMarkIdName)return;let X=this._buf._sourcePosition;X.identifierNamePos=G,X.identifierName=f}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(f,G=0){let X=this.tokenMap.findMatching(this._currentNode,f,G);if(X)this._catchUpTo(X.loc.start);if(this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine())this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(f,G){this._maybeIndent(f.charCodeAt(0)),this._buf.append(f,G),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(f){this._maybeIndent(f),this._buf.appendChar(f),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(f){this._maybeIndent(f),this._buf.queue(f),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(f){if(this._indent&&f!==10&&this.endsWith(10))this._buf.queueIndentation(this._getIndent())}_shouldIndent(f){if(this._indent&&f!==10&&this.endsWith(10))return!0}catchUp(f){if(!this.format.retainLines)return;let G=f-this._buf.getCurrentLine();for(let X=0;X<G;X++)this._newline()}_catchUp(f,G){let{format:X}=this;if(!X.preserveFormat){if(X.retainLines&&G!=null&&G[f])this.catchUp(G[f].line);return}let J=G==null?void 0:G[f];if(J!=null)this._catchUpTo(J)}_catchUpTo({line:f,column:G,index:X}){let J=f-this._buf.getCurrentLine();if(J>0&&this._noLineTerminator)return;for(let R=0;R<J;R++)this._newline();let W=J>0?G:G-this._buf.getCurrentColumn();if(W>0){let R=this._originalCode?this._originalCode.slice(X-W,X).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(W);this._append(R,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(f){this._noLineTerminator=!0,this.print(f)}print(f,G,X){var J,W,R;if(!f)return;this._endsWithInnerRaw=!1;let V=f.type,H=this.format,U=H.concise;if(f._compact)H.concise=!0;let Q=this[V];if(Q===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(V)} with constructor ${JSON.stringify(f.constructor.name)}`);let Y=this._currentNode;if(this._currentNode=f,this.tokenMap)this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode;let S=this._insideAux;this._insideAux=f.loc==null,this._maybeAddAuxComment(this._insideAux&&!S);let C=(J=f.extra)==null?void 0:J.parenthesized,A=C&&H.preserveFormat||C&&H.retainFunctionParens&&V==="FunctionExpression"||BWf(f,Y,this.tokenContext,this.inForStatementInit,H.preserveFormat?this._boundGetRawIdentifier:void 0);if(!A&&C&&(W=f.leadingComments)!=null&&W.length&&f.leadingComments[0].type==="CommentBlock")switch(Y==null?void 0:Y.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(Y.callee!==f)break;default:A=!0}let O=!1;if(!A&&this._noLineTerminator&&((R=f.leadingComments)!=null&&R.some(J8)||this.format.retainLines&&f.loc&&f.loc.start.line>this._buf.getCurrentLine()))A=!0,O=!0;let b,P;if(!A){if(G||(G=Y&&this._noLineTerminatorAfterNode===Y&&W8.isLastChild(Y,f)),G){var L;if((L=f.trailingComments)!=null&&L.some(J8)){if(WWf(f))A=!0}else b=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=f}}if(A){if(this.tokenChar(40),O)this.indent();if(this._endsWithInnerRaw=!1,this.inForStatementInit)P=!0,this.inForStatementInit=!1;b=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null}this._lastCommentLine=0,this._printLeadingComments(f,Y);let w=V==="Program"||V==="File"?null:f.loc;if(this.exactSource(w,Q.bind(this,f,Y)),A){if(this._printTrailingComments(f,Y),O)this.dedent(),this.newline();if(this.tokenChar(41),this._noLineTerminator=G,P)this.inForStatementInit=!0}else if(G&&!this._noLineTerminator)this._noLineTerminator=!0,this._printTrailingComments(f,Y);else this._printTrailingComments(f,Y,X);if(this._currentNode=Y,H.concise=U,this._insideAux=S,b!==void 0)this._noLineTerminatorAfterNode=b;this._endsWithInnerRaw=!1}_maybeAddAuxComment(f){if(f)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let f=this.format.auxiliaryCommentBefore;if(f)this._printComment({type:"CommentBlock",value:f},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let f=this.format.auxiliaryCommentAfter;if(f)this._printComment({type:"CommentBlock",value:f},0)}getPossibleRaw(f){let G=f.extra;if((G==null?void 0:G.raw)!=null&&G.rawValue!=null&&f.value===G.rawValue)return G.raw}printJoin(f,G,X,J,W,R,V,H){if(!(f!=null&&f.length))return;if(X==null&&this.format.retainLines){var U;let O=(U=f[0].loc)==null?void 0:U.start.line;if(O!=null&&O!==this._buf.getCurrentLine())X=!0}if(X)this.indent();let Q={addNewlines:R,nextNodeStartLine:0},Y=J==null?void 0:J.bind(this),S=f.length;for(let O=0;O<S;O++){let b=f[O];if(!b)continue;if(G)this._printNewline(O===0,Q);if(this.print(b,void 0,H||0),V==null||V(b,O),Y!=null){if(O<S-1)Y(O,!1);else if(W)Y(O,!0)}if(G){var C;if(!((C=b.trailingComments)!=null&&C.length))this._lastCommentLine=0;if(O+1===S)this.newline(1);else{var A;let P=f[O+1];Q.nextNodeStartLine=((A=P.loc)==null?void 0:A.start.line)||0,this._printNewline(!0,Q)}}}if(X)this.dedent()}printAndIndentOnComments(f){let G=f.leadingComments&&f.leadingComments.length>0;if(G)this.indent();if(this.print(f),G)this.dedent()}printBlock(f){let G=f.body;if(G.type!=="EmptyStatement")this.space();this.print(G)}_printTrailingComments(f,G,X){let{innerComments:J,trailingComments:W}=f;if(J!=null&&J.length)this._printComments(2,J,f,G,X);if(W!=null&&W.length)this._printComments(2,W,f,G,X)}_printLeadingComments(f,G){let X=f.leadingComments;if(!(X!=null&&X.length))return;this._printComments(0,X,f,G)}_maybePrintInnerComments(f,G){if(this._endsWithInnerRaw){var X;this.printInnerComments((X=this.tokenMap)==null?void 0:X.findMatching(this._currentNode,f,G))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(f){let G=this._currentNode,X=G.innerComments;if(!(X!=null&&X.length))return;let J=this.endsWith(32),W=this._indentInnerComments,R=this._printedComments.size;if(W)this.indent();if(this._printComments(1,X,G,void 0,void 0,f),J&&R!==this._printedComments.size)this.space();if(W)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(f,G,X,J){this.printJoin(f,!0,G!=null?G:!1,void 0,void 0,J,void 0,X)}printList(f,G,X,J,W,R){this.printJoin(f,X,J,W!=null?W:MWf,G,void 0,R)}shouldPrintTrailingComma(f){if(!this.tokenMap)return null;let G=this.tokenMap.findLastIndex(this._currentNode,(X)=>this.tokenMap.matchesOriginal(X,f));if(G<=0)return null;return this.tokenMap.matchesOriginal(this._tokens[G-1],",")}_printNewline(f,G){let X=this.format;if(X.retainLines||X.compact)return;if(X.concise){this.space();return}if(!f)return;let J=G.nextNodeStartLine,W=this._lastCommentLine;if(J>0&&W>0){let R=J-W;if(R>=0){this.newline(R||1);return}}if(this._buf.hasContent())this.newline(1)}_shouldPrintComment(f,G){if(f.ignore)return 0;if(this._printedComments.has(f))return 0;if(this._noLineTerminator&&zWf.test(f.value))return 2;if(G&&this.tokenMap){let X=this.tokenMap.find(this._currentNode,(J)=>J.value===f.value);if(X&&X.start>G.start)return 2}if(this._printedComments.add(f),!this.format.shouldPrintComment(f.value))return 0;return 1}_printComment(f,G){let X=this._noLineTerminator,J=f.type==="CommentBlock",W=J&&G!==1&&!this._noLineTerminator;if(W&&this._buf.hasContent()&&G!==2)this.newline(1);let R=this.getLastChar();if(R!==91&&R!==123&&R!==40)this.space();let V;if(J){if(V=`/*${f.value}*/`,this.format.indent.adjustMultilineComment){var H;let U=(H=f.loc)==null?void 0:H.start.column;if(U){let Q=new RegExp("\\n\\s{1,"+U+"}","g");V=V.replace(Q,`
14
14
  `)}if(this.format.concise)V=V.replace(/\n(?!$)/g,`
15
15
  `);else{let Q=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines)Q+=this._getIndent();V=V.replace(/\n(?!$)/g,`
16
- ${" ".repeat(Q)}`)}}}else if(!X)V=`//${f.value}`;else V=`/*${f.value}*/`;if(this._endsWithDiv)this._space();if(this.tokenMap){let{_printSemicolonBeforeNextToken:U,_printSemicolonBeforeNextNode:Q}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",f.loc),this._append(V,J),this._printSemicolonBeforeNextNode=Q,this._printSemicolonBeforeNextToken=U}else this.source("start",f.loc),this._append(V,J);if(!J&&!X)this.newline(1,!0);if(W&&G!==3)this.newline(1)}_printComments(f,G,X,J,W=0,R){let V=X.loc,H=G.length,U=!!V,Q=U?V.start.line:0,Y=U?V.end.line:0,S=0,C=0,A=this._noLineTerminator?function(){}:this.newline.bind(this);for(let j=0;j<H;j++){let b=G[j],I=this._shouldPrintComment(b,R);if(I===2){U=!1;break}if(U&&b.loc&&I===1){let L=b.loc.start.line,w=b.loc.end.line;if(f===0){let Xf=0;if(j===0){if(this._buf.hasContent()&&(b.type==="CommentLine"||L!==w))Xf=C=1}else Xf=L-S;if(S=w,A(Xf),this._printComment(b,1),j+1===H)A(Math.max(Q-S,C)),S=Q}else if(f===1){let Xf=L-(j===0?Q:S);if(S=w,A(Xf),this._printComment(b,1),j+1===H)A(Math.min(1,Y-S)),S=Y}else{let Xf=L-(j===0?Y-W:S);S=w,A(Xf),this._printComment(b,1)}}else{if(U=!1,I!==1)continue;if(H===1){let L=b.loc?b.loc.start.line===b.loc.end.line:!R8.test(b.value),w=L&&!VWf(X)&&!HWf(J)&&!UWf(J)&&!QWf(X);if(f===0)this._printComment(b,w&&X.type!=="ObjectExpression"||L&&RWf(J,{body:X})?1:0);else if(w&&f===2)this._printComment(b,1);else this._printComment(b,0)}else if(f===1&&!(X.type==="ObjectExpression"&&X.properties.length>1)&&X.type!=="ClassBody"&&X.type!=="TSInterfaceBody")this._printComment(b,j===0?2:j===H-1?3:0);else this._printComment(b,0)}}if(f===2&&U&&S)this._lastCommentLine=S}}Object.assign(f2.prototype,XWf);JWf.addDeprecatedGenerators(f2);var rKf=V8.default=f2;function MWf(f,G){if(this.token(",",!1,f),!G)this.space()}});var KW=D((z8)=>{Object.defineProperty(z8,"__esModule",{value:!0});z8.default=KWf;var Q8=W0(),Z8=U8();function Y8(f,G,X){if(G.experimental_preserveFormat){if(typeof f!=="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!G.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(G.compact&&G.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(G.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(G.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(X.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let J={auxiliaryCommentBefore:G.auxiliaryCommentBefore,auxiliaryCommentAfter:G.auxiliaryCommentAfter,shouldPrintComment:G.shouldPrintComment,preserveFormat:G.experimental_preserveFormat,retainLines:G.retainLines,retainFunctionParens:G.retainFunctionParens,comments:G.comments==null||G.comments,compact:G.compact,minified:G.minified,concise:G.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},G.jsescOption),topicToken:G.topicToken,importAttributesKeyword:G.importAttributesKeyword};{var W;J.decoratorsBeforeExport=G.decoratorsBeforeExport,J.jsescOption.json=G.jsonCompatibleStrings,J.recordAndTupleSyntaxType=(W=G.recordAndTupleSyntaxType)!=null?W:"hash"}if(J.minified)J.compact=!0,J.shouldPrintComment=J.shouldPrintComment||(()=>J.comments);else J.shouldPrintComment=J.shouldPrintComment||((U)=>J.comments||U.includes("@license")||U.includes("@preserve"));if(J.compact==="auto"){if(J.compact=typeof f==="string"&&f.length>500000,J.compact)console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${G.filename} as it exceeds the max of 500KB.`)}if(J.compact||J.preserveFormat)J.indent.adjustMultilineComment=!1;let{auxiliaryCommentBefore:R,auxiliaryCommentAfter:V,shouldPrintComment:H}=J;if(R&&!H(R))J.auxiliaryCommentBefore=void 0;if(V&&!H(V))J.auxiliaryCommentAfter=void 0;return J}z8.CodeGenerator=class f{constructor(G,X={},J){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=G,this._format=Y8(J,X,G),this._map=X.sourceMaps?new Q8.default(X,J):null}generate(){return new Z8.default(this._format,this._map).generate(this._ast)}};function KWf(f,G={},X){let J=Y8(X,G,f),W=G.sourceMaps?new Q8.default(G,X):null;return new Z8.default(J,W,f.tokens,typeof X==="string"?X:null).generate(f)}});var Q2=D((R4)=>{Object.defineProperty(R4,"__esModule",{value:!0});function SWf(f,G){if(f==null)return{};var X={};for(var J in f)if({}.hasOwnProperty.call(f,J)){if(G.includes(J))continue;X[J]=f[J]}return X}class NG{constructor(f,G,X){this.line=void 0,this.column=void 0,this.index=void 0,this.line=f,this.column=G,this.index=X}}class WX{constructor(f,G){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=f,this.end=G}}function xf(f,G){let{line:X,column:J,index:W}=f;return new NG(X,J+G,W+G)}var B8="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",$Wf={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:B8},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:B8}},M8={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},J2=(f)=>f.type==="UpdateExpression"?M8.UpdateExpression[`${f.prefix}`]:M8[f.type],qWf={AccessorIsGenerator:({kind:f})=>`A ${f}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:f})=>`Missing initializer in ${f} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:f})=>`\`${f}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:f})=>`'import.${f}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:f,exportName:G})=>`A string literal cannot be used as an exported binding without \`from\`.
16
+ ${" ".repeat(Q)}`)}}}else if(!X)V=`//${f.value}`;else V=`/*${f.value}*/`;if(this._endsWithDiv)this._space();if(this.tokenMap){let{_printSemicolonBeforeNextToken:U,_printSemicolonBeforeNextNode:Q}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",f.loc),this._append(V,J),this._printSemicolonBeforeNextNode=Q,this._printSemicolonBeforeNextToken=U}else this.source("start",f.loc),this._append(V,J);if(!J&&!X)this.newline(1,!0);if(W&&G!==3)this.newline(1)}_printComments(f,G,X,J,W=0,R){let V=X.loc,H=G.length,U=!!V,Q=U?V.start.line:0,Y=U?V.end.line:0,S=0,C=0,A=this._noLineTerminator?function(){}:this.newline.bind(this);for(let O=0;O<H;O++){let b=G[O],P=this._shouldPrintComment(b,R);if(P===2){U=!1;break}if(U&&b.loc&&P===1){let L=b.loc.start.line,w=b.loc.end.line;if(f===0){let Xf=0;if(O===0){if(this._buf.hasContent()&&(b.type==="CommentLine"||L!==w))Xf=C=1}else Xf=L-S;if(S=w,A(Xf),this._printComment(b,1),O+1===H)A(Math.max(Q-S,C)),S=Q}else if(f===1){let Xf=L-(O===0?Q:S);if(S=w,A(Xf),this._printComment(b,1),O+1===H)A(Math.min(1,Y-S)),S=Y}else{let Xf=L-(O===0?Y-W:S);S=w,A(Xf),this._printComment(b,1)}}else{if(U=!1,P!==1)continue;if(H===1){let L=b.loc?b.loc.start.line===b.loc.end.line:!R8.test(b.value),w=L&&!VWf(X)&&!HWf(J)&&!UWf(J)&&!QWf(X);if(f===0)this._printComment(b,w&&X.type!=="ObjectExpression"||L&&RWf(J,{body:X})?1:0);else if(w&&f===2)this._printComment(b,1);else this._printComment(b,0)}else if(f===1&&!(X.type==="ObjectExpression"&&X.properties.length>1)&&X.type!=="ClassBody"&&X.type!=="TSInterfaceBody")this._printComment(b,O===0?2:O===H-1?3:0);else this._printComment(b,0)}}if(f===2&&U&&S)this._lastCommentLine=S}}Object.assign(f2.prototype,XWf);JWf.addDeprecatedGenerators(f2);var rKf=V8.default=f2;function MWf(f,G){if(this.token(",",!1,f),!G)this.space()}});var KW=D((z8)=>{Object.defineProperty(z8,"__esModule",{value:!0});z8.default=KWf;var Q8=WR(),Z8=U8();function Y8(f,G,X){if(G.experimental_preserveFormat){if(typeof f!=="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!G.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(G.compact&&G.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(G.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(G.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(X.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let J={auxiliaryCommentBefore:G.auxiliaryCommentBefore,auxiliaryCommentAfter:G.auxiliaryCommentAfter,shouldPrintComment:G.shouldPrintComment,preserveFormat:G.experimental_preserveFormat,retainLines:G.retainLines,retainFunctionParens:G.retainFunctionParens,comments:G.comments==null||G.comments,compact:G.compact,minified:G.minified,concise:G.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},G.jsescOption),topicToken:G.topicToken,importAttributesKeyword:G.importAttributesKeyword};{var W;J.decoratorsBeforeExport=G.decoratorsBeforeExport,J.jsescOption.json=G.jsonCompatibleStrings,J.recordAndTupleSyntaxType=(W=G.recordAndTupleSyntaxType)!=null?W:"hash"}if(J.minified)J.compact=!0,J.shouldPrintComment=J.shouldPrintComment||(()=>J.comments);else J.shouldPrintComment=J.shouldPrintComment||((U)=>J.comments||U.includes("@license")||U.includes("@preserve"));if(J.compact==="auto"){if(J.compact=typeof f==="string"&&f.length>500000,J.compact)console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${G.filename} as it exceeds the max of 500KB.`)}if(J.compact||J.preserveFormat)J.indent.adjustMultilineComment=!1;let{auxiliaryCommentBefore:R,auxiliaryCommentAfter:V,shouldPrintComment:H}=J;if(R&&!H(R))J.auxiliaryCommentBefore=void 0;if(V&&!H(V))J.auxiliaryCommentAfter=void 0;return J}z8.CodeGenerator=class f{constructor(G,X={},J){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=G,this._format=Y8(J,X,G),this._map=X.sourceMaps?new Q8.default(X,J):null}generate(){return new Z8.default(this._format,this._map).generate(this._ast)}};function KWf(f,G={},X){let J=Y8(X,G,f),W=G.sourceMaps?new Q8.default(G,X):null;return new Z8.default(J,W,f.tokens,typeof X==="string"?X:null).generate(f)}});var Q2=D((R4)=>{Object.defineProperty(R4,"__esModule",{value:!0});function SWf(f,G){if(f==null)return{};var X={};for(var J in f)if({}.hasOwnProperty.call(f,J)){if(G.indexOf(J)!==-1)continue;X[J]=f[J]}return X}class TG{constructor(f,G,X){this.line=void 0,this.column=void 0,this.index=void 0,this.line=f,this.column=G,this.index=X}}class WX{constructor(f,G){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=f,this.end=G}}function xf(f,G){let{line:X,column:J,index:W}=f;return new TG(X,J+G,W+G)}var B8="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",$Wf={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:B8},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:B8}},M8={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},J2=(f)=>f.type==="UpdateExpression"?M8.UpdateExpression[`${f.prefix}`]:M8[f.type],qWf={AccessorIsGenerator:({kind:f})=>`A ${f}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:f})=>`Missing initializer in ${f} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:f})=>`\`${f}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:f})=>`'import.${f}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:f,exportName:G})=>`A string literal cannot be used as an exported binding without \`from\`.
17
17
  - Did you mean \`export { '${f}' as '${G}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:f})=>`'${f==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:f})=>`Unsyntactic ${f==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:f})=>`A string literal cannot be used as an imported binding.
18
- - Did you mean \`import { "${f}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:f})=>`Expected number in radix ${f}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:f})=>`Escape sequence in keyword ${f}.`,InvalidIdentifier:({identifierName:f})=>`Invalid identifier ${f}.`,InvalidLhs:({ancestor:f})=>`Invalid left-hand side in ${J2(f)}.`,InvalidLhsBinding:({ancestor:f})=>`Binding invalid left-hand side in ${J2(f)}.`,InvalidLhsOptionalChaining:({ancestor:f})=>`Invalid optional chaining in the left-hand side of ${J2(f)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:f})=>`Unexpected character '${f}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:f})=>`Private name #${f} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:f})=>`Label '${f}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:f})=>`This experimental syntax requires enabling the parser plugin: ${f.map((G)=>JSON.stringify(G)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:f})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${f.map((G)=>JSON.stringify(G)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:f})=>`Duplicate key "${f}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:f})=>`An export name cannot include a lone surrogate, found '\\u${f.toString(16)}'.`,ModuleExportUndefined:({localName:f})=>`Export '${f}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:f})=>`Private names are only allowed in property accesses (\`obj.#${f}\`) or in \`in\` expressions (\`#${f} in obj\`).`,PrivateNameRedeclaration:({identifierName:f})=>`Duplicate private name #${f}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:f})=>`Unexpected keyword '${f}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:f})=>`Unexpected reserved word '${f}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:f,unexpected:G})=>`Unexpected token${G?` '${G}'.`:""}${f?`, expected "${f}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:f,onlyValidPropertyName:G})=>`The only valid meta property for ${f} is ${f}.${G}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:f})=>`Identifier '${f}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},CWf={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:f})=>`Assigning to '${f}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:f})=>`Binding '${f}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},AWf=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),jWf=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:f})=>`Invalid topic token ${f}. In order to use ${f} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${f}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:f})=>`Hack-style pipe body cannot be an unparenthesized ${J2({type:f})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),OWf=["message"];function K8(f,G,X){Object.defineProperty(f,G,{enumerable:!1,configurable:!0,value:X})}function DWf({toMessage:f,code:G,reasonCode:X,syntaxPlugin:J}){let W=X==="MissingPlugin"||X==="MissingOneOfPlugins";{let R={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};if(R[X])X=R[X]}return function R(V,H){let U=new SyntaxError;if(U.code=G,U.reasonCode=X,U.loc=V,U.pos=V.index,U.syntaxPlugin=J,W)U.missingPlugin=H.missingPlugin;return K8(U,"clone",function Q(Y={}){var S;let{line:C,column:A,index:j}=(S=Y.loc)!=null?S:V;return R(new NG(C,A,j),Object.assign({},H,Y.details))}),K8(U,"details",H),Object.defineProperty(U,"message",{configurable:!0,get(){let Q=`${f(H)} (${V.line}:${V.column})`;return this.message=Q,Q},set(Q){Object.defineProperty(this,"message",{value:Q,writable:!0})}}),U}}function IG(f,G){if(Array.isArray(f))return(J)=>IG(J,f[0]);let X={};for(let J of Object.keys(f)){let W=f[J],R=typeof W==="string"?{message:()=>W}:typeof W==="function"?{message:W}:W,{message:V}=R,H=SWf(R,OWf),U=typeof V==="string"?()=>V:V;X[J]=DWf(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:J,toMessage:U},G?{syntaxPlugin:G}:{},H))}return X}var $=Object.assign({},IG($Wf),IG(qWf),IG(CWf),IG`pipelineOperator`(jWf));function PWf(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function IWf(f){let G=PWf();if(f==null)return G;if(f.annexB!=null&&f.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let X of Object.keys(G))if(f[X]!=null)G[X]=f[X];if(G.startLine===1){if(f.startIndex==null&&G.startColumn>0)G.startIndex=G.startColumn;else if(f.startColumn==null&&G.startIndex>0)G.startColumn=G.startIndex}else if(f.startColumn==null||f.startIndex==null){if(f.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.")}return G}var{defineProperty:NWf}=Object,F8=(f,G)=>{if(f)NWf(f,G,{enumerable:!1,value:f[G]})};function o1(f){return F8(f.loc.start,"index"),F8(f.loc.end,"index"),f}var TWf=(f)=>class G extends f{parse(){let X=o1(super.parse());if(this.optionFlags&128)X.tokens=X.tokens.map(o1);return X}parseRegExpLiteral({pattern:X,flags:J}){let W=null;try{W=new RegExp(X,J)}catch(V){}let R=this.estreeParseLiteral(W);return R.regex={pattern:X,flags:J},R}parseBigIntLiteral(X){let J;try{J=BigInt(X)}catch(R){J=null}let W=this.estreeParseLiteral(J);return W.bigint=String(W.value||X),W}parseDecimalLiteral(X){let W=this.estreeParseLiteral(null);return W.decimal=String(W.value||X),W}estreeParseLiteral(X){return this.parseLiteral(X,"Literal")}parseStringLiteral(X){return this.estreeParseLiteral(X)}parseNumericLiteral(X){return this.estreeParseLiteral(X)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(X){return this.estreeParseLiteral(X)}directiveToStmt(X){let J=X.value;delete X.value,J.type="Literal",J.raw=J.extra.raw,J.value=J.extra.expressionValue;let W=X;return W.type="ExpressionStatement",W.expression=J,W.directive=J.extra.rawValue,delete J.extra,W}initFunction(X,J){super.initFunction(X,J),X.expression=!1}checkDeclaration(X){if(X!=null&&this.isObjectProperty(X))this.checkDeclaration(X.value);else super.checkDeclaration(X)}getObjectOrClassMethodParams(X){return X.value.params}isValidDirective(X){var J;return X.type==="ExpressionStatement"&&X.expression.type==="Literal"&&typeof X.expression.value==="string"&&!((J=X.expression.extra)!=null&&J.parenthesized)}parseBlockBody(X,J,W,R,V){super.parseBlockBody(X,J,W,R,V);let H=X.directives.map((U)=>this.directiveToStmt(U));X.body=H.concat(X.body),delete X.directives}parsePrivateName(){let X=super.parsePrivateName();if(!this.getPluginOption("estree","classFeatures"))return X;return this.convertPrivateNameToPrivateIdentifier(X)}convertPrivateNameToPrivateIdentifier(X){let J=super.getPrivateNameSV(X);return X=X,delete X.id,X.name=J,X.type="PrivateIdentifier",X}isPrivateName(X){if(!this.getPluginOption("estree","classFeatures"))return super.isPrivateName(X);return X.type==="PrivateIdentifier"}getPrivateNameSV(X){if(!this.getPluginOption("estree","classFeatures"))return super.getPrivateNameSV(X);return X.name}parseLiteral(X,J){let W=super.parseLiteral(X,J);return W.raw=W.extra.raw,delete W.extra,W}parseFunctionBody(X,J,W=!1){super.parseFunctionBody(X,J,W),X.expression=X.body.type!=="BlockStatement"}parseMethod(X,J,W,R,V,H,U=!1){let Q=this.startNode();Q.kind=X.kind,Q=super.parseMethod(Q,J,W,R,V,H,U),Q.type="FunctionExpression",delete Q.kind,X.value=Q;let{typeParameters:Y}=X;if(Y)delete X.typeParameters,Q.typeParameters=Y,this.resetStartLocationFromNode(Q,Y);if(H==="ClassPrivateMethod")X.computed=!1;return this.finishNode(X,"MethodDefinition")}nameIsConstructor(X){if(X.type==="Literal")return X.value==="constructor";return super.nameIsConstructor(X)}parseClassProperty(...X){let J=super.parseClassProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return J;return J.type="PropertyDefinition",J}parseClassPrivateProperty(...X){let J=super.parseClassPrivateProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return J;return J.type="PropertyDefinition",J.computed=!1,J}parseObjectMethod(X,J,W,R,V){let H=super.parseObjectMethod(X,J,W,R,V);if(H){if(H.type="Property",H.kind==="method")H.kind="init";H.shorthand=!1}return H}parseObjectProperty(X,J,W,R){let V=super.parseObjectProperty(X,J,W,R);if(V)V.kind="init",V.type="Property";return V}isValidLVal(X,J,W){return X==="Property"?"value":super.isValidLVal(X,J,W)}isAssignable(X,J){if(X!=null&&this.isObjectProperty(X))return this.isAssignable(X.value,J);return super.isAssignable(X,J)}toAssignable(X,J=!1){if(X!=null&&this.isObjectProperty(X)){let{key:W,value:R}=X;if(this.isPrivateName(W))this.classScope.usePrivateName(this.getPrivateNameSV(W),W.loc.start);this.toAssignable(R,J)}else super.toAssignable(X,J)}toAssignableObjectExpressionProp(X,J,W){if(X.type==="Property"&&(X.kind==="get"||X.kind==="set"))this.raise($.PatternHasAccessor,X.key);else if(X.type==="Property"&&X.method)this.raise($.PatternHasMethod,X.key);else super.toAssignableObjectExpressionProp(X,J,W)}finishCallExpression(X,J){let W=super.finishCallExpression(X,J);if(W.callee.type==="Import"){var R,V;W.type="ImportExpression",W.source=W.arguments[0],W.options=(R=W.arguments[1])!=null?R:null,W.attributes=(V=W.arguments[1])!=null?V:null,delete W.arguments,delete W.callee}return W}toReferencedArguments(X){if(X.type==="ImportExpression")return;super.toReferencedArguments(X)}parseExport(X,J){let W=this.state.lastTokStartLoc,R=super.parseExport(X,J);switch(R.type){case"ExportAllDeclaration":R.exported=null;break;case"ExportNamedDeclaration":if(R.specifiers.length===1&&R.specifiers[0].type==="ExportNamespaceSpecifier")R.type="ExportAllDeclaration",R.exported=R.specifiers[0].exported,delete R.specifiers;case"ExportDefaultDeclaration":{var V;let{declaration:H}=R;if((H==null?void 0:H.type)==="ClassDeclaration"&&((V=H.decorators)==null?void 0:V.length)>0&&H.start===R.start)this.resetStartLocation(R,W)}break}return R}parseSubscript(X,J,W,R){let V=super.parseSubscript(X,J,W,R);if(R.optionalChainMember){if(V.type==="OptionalMemberExpression"||V.type==="OptionalCallExpression")V.type=V.type.substring(8);if(R.stop){let H=this.startNodeAtNode(V);return H.expression=V,this.finishNode(H,"ChainExpression")}}else if(V.type==="MemberExpression"||V.type==="CallExpression")V.optional=!1;return V}isOptionalMemberExpression(X){if(X.type==="ChainExpression")return X.expression.type==="MemberExpression";return super.isOptionalMemberExpression(X)}hasPropertyAsPrivateName(X){if(X.type==="ChainExpression")X=X.expression;return super.hasPropertyAsPrivateName(X)}isObjectProperty(X){return X.type==="Property"&&X.kind==="init"&&!X.method}isObjectMethod(X){return X.type==="Property"&&(X.method||X.kind==="get"||X.kind==="set")}finishNodeAt(X,J,W){return o1(super.finishNodeAt(X,J,W))}resetStartLocation(X,J){super.resetStartLocation(X,J),o1(X)}resetEndLocation(X,J=this.state.lastTokEndLoc){super.resetEndLocation(X,J),o1(X)}};class $1{constructor(f,G){this.token=void 0,this.preserveSpace=void 0,this.token=f,this.preserveSpace=!!G}}var Sf={brace:new $1("{"),j_oTag:new $1("<tag"),j_cTag:new $1("</tag"),j_expr:new $1("<tag>...</tag>",!0)};Sf.template=new $1("`",!0);var Qf=!0,h=!0,FW=!0,e1=!0,hG=!0,LWf=!0;class DW{constructor(f,G={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=f,this.keyword=G.keyword,this.beforeExpr=!!G.beforeExpr,this.startsExpr=!!G.startsExpr,this.rightAssociative=!!G.rightAssociative,this.isLoop=!!G.isLoop,this.isAssign=!!G.isAssign,this.prefix=!!G.prefix,this.postfix=!!G.postfix,this.binop=G.binop!=null?G.binop:null,this.updateContext=null}}var PW=new Map;function Mf(f,G={}){G.keyword=f;let X=s(f,G);return PW.set(f,X),X}function yf(f,G){return s(f,{beforeExpr:Qf,binop:G})}var XX=-1,DG=[],IW=[],NW=[],TW=[],LW=[],bW=[];function s(f,G={}){var X,J,W,R;return++XX,IW.push(f),NW.push((X=G.binop)!=null?X:-1),TW.push((J=G.beforeExpr)!=null?J:!1),LW.push((W=G.startsExpr)!=null?W:!1),bW.push((R=G.prefix)!=null?R:!1),DG.push(new DW(f,G)),XX}function Uf(f,G={}){var X,J,W,R;return++XX,PW.set(f,XX),IW.push(f),NW.push((X=G.binop)!=null?X:-1),TW.push((J=G.beforeExpr)!=null?J:!1),LW.push((W=G.startsExpr)!=null?W:!1),bW.push((R=G.prefix)!=null?R:!1),DG.push(new DW("name",G)),XX}var bWf={bracketL:s("[",{beforeExpr:Qf,startsExpr:h}),bracketHashL:s("#[",{beforeExpr:Qf,startsExpr:h}),bracketBarL:s("[|",{beforeExpr:Qf,startsExpr:h}),bracketR:s("]"),bracketBarR:s("|]"),braceL:s("{",{beforeExpr:Qf,startsExpr:h}),braceBarL:s("{|",{beforeExpr:Qf,startsExpr:h}),braceHashL:s("#{",{beforeExpr:Qf,startsExpr:h}),braceR:s("}"),braceBarR:s("|}"),parenL:s("(",{beforeExpr:Qf,startsExpr:h}),parenR:s(")"),comma:s(",",{beforeExpr:Qf}),semi:s(";",{beforeExpr:Qf}),colon:s(":",{beforeExpr:Qf}),doubleColon:s("::",{beforeExpr:Qf}),dot:s("."),question:s("?",{beforeExpr:Qf}),questionDot:s("?."),arrow:s("=>",{beforeExpr:Qf}),template:s("template"),ellipsis:s("...",{beforeExpr:Qf}),backQuote:s("`",{startsExpr:h}),dollarBraceL:s("${",{beforeExpr:Qf,startsExpr:h}),templateTail:s("...`",{startsExpr:h}),templateNonTail:s("...${",{beforeExpr:Qf,startsExpr:h}),at:s("@"),hash:s("#",{startsExpr:h}),interpreterDirective:s("#!..."),eq:s("=",{beforeExpr:Qf,isAssign:e1}),assign:s("_=",{beforeExpr:Qf,isAssign:e1}),slashAssign:s("_=",{beforeExpr:Qf,isAssign:e1}),xorAssign:s("_=",{beforeExpr:Qf,isAssign:e1}),moduloAssign:s("_=",{beforeExpr:Qf,isAssign:e1}),incDec:s("++/--",{prefix:hG,postfix:LWf,startsExpr:h}),bang:s("!",{beforeExpr:Qf,prefix:hG,startsExpr:h}),tilde:s("~",{beforeExpr:Qf,prefix:hG,startsExpr:h}),doubleCaret:s("^^",{startsExpr:h}),doubleAt:s("@@",{startsExpr:h}),pipeline:yf("|>",0),nullishCoalescing:yf("??",1),logicalOR:yf("||",1),logicalAND:yf("&&",2),bitwiseOR:yf("|",3),bitwiseXOR:yf("^",4),bitwiseAND:yf("&",5),equality:yf("==/!=/===/!==",6),lt:yf("</>/<=/>=",7),gt:yf("</>/<=/>=",7),relational:yf("</>/<=/>=",7),bitShift:yf("<</>>/>>>",8),bitShiftL:yf("<</>>/>>>",8),bitShiftR:yf("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:Qf,binop:9,prefix:hG,startsExpr:h}),modulo:s("%",{binop:10,startsExpr:h}),star:s("*",{binop:10}),slash:yf("/",10),exponent:s("**",{beforeExpr:Qf,binop:11,rightAssociative:!0}),_in:Mf("in",{beforeExpr:Qf,binop:7}),_instanceof:Mf("instanceof",{beforeExpr:Qf,binop:7}),_break:Mf("break"),_case:Mf("case",{beforeExpr:Qf}),_catch:Mf("catch"),_continue:Mf("continue"),_debugger:Mf("debugger"),_default:Mf("default",{beforeExpr:Qf}),_else:Mf("else",{beforeExpr:Qf}),_finally:Mf("finally"),_function:Mf("function",{startsExpr:h}),_if:Mf("if"),_return:Mf("return",{beforeExpr:Qf}),_switch:Mf("switch"),_throw:Mf("throw",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_try:Mf("try"),_var:Mf("var"),_const:Mf("const"),_with:Mf("with"),_new:Mf("new",{beforeExpr:Qf,startsExpr:h}),_this:Mf("this",{startsExpr:h}),_super:Mf("super",{startsExpr:h}),_class:Mf("class",{startsExpr:h}),_extends:Mf("extends",{beforeExpr:Qf}),_export:Mf("export"),_import:Mf("import",{startsExpr:h}),_null:Mf("null",{startsExpr:h}),_true:Mf("true",{startsExpr:h}),_false:Mf("false",{startsExpr:h}),_typeof:Mf("typeof",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_void:Mf("void",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_delete:Mf("delete",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_do:Mf("do",{isLoop:FW,beforeExpr:Qf}),_for:Mf("for",{isLoop:FW}),_while:Mf("while",{isLoop:FW}),_as:Uf("as",{startsExpr:h}),_assert:Uf("assert",{startsExpr:h}),_async:Uf("async",{startsExpr:h}),_await:Uf("await",{startsExpr:h}),_defer:Uf("defer",{startsExpr:h}),_from:Uf("from",{startsExpr:h}),_get:Uf("get",{startsExpr:h}),_let:Uf("let",{startsExpr:h}),_meta:Uf("meta",{startsExpr:h}),_of:Uf("of",{startsExpr:h}),_sent:Uf("sent",{startsExpr:h}),_set:Uf("set",{startsExpr:h}),_source:Uf("source",{startsExpr:h}),_static:Uf("static",{startsExpr:h}),_using:Uf("using",{startsExpr:h}),_yield:Uf("yield",{startsExpr:h}),_asserts:Uf("asserts",{startsExpr:h}),_checks:Uf("checks",{startsExpr:h}),_exports:Uf("exports",{startsExpr:h}),_global:Uf("global",{startsExpr:h}),_implements:Uf("implements",{startsExpr:h}),_intrinsic:Uf("intrinsic",{startsExpr:h}),_infer:Uf("infer",{startsExpr:h}),_is:Uf("is",{startsExpr:h}),_mixins:Uf("mixins",{startsExpr:h}),_proto:Uf("proto",{startsExpr:h}),_require:Uf("require",{startsExpr:h}),_satisfies:Uf("satisfies",{startsExpr:h}),_keyof:Uf("keyof",{startsExpr:h}),_readonly:Uf("readonly",{startsExpr:h}),_unique:Uf("unique",{startsExpr:h}),_abstract:Uf("abstract",{startsExpr:h}),_declare:Uf("declare",{startsExpr:h}),_enum:Uf("enum",{startsExpr:h}),_module:Uf("module",{startsExpr:h}),_namespace:Uf("namespace",{startsExpr:h}),_interface:Uf("interface",{startsExpr:h}),_type:Uf("type",{startsExpr:h}),_opaque:Uf("opaque",{startsExpr:h}),name:s("name",{startsExpr:h}),placeholder:s("%%",{startsExpr:!0}),string:s("string",{startsExpr:h}),num:s("num",{startsExpr:h}),bigint:s("bigint",{startsExpr:h}),decimal:s("decimal",{startsExpr:h}),regexp:s("regexp",{startsExpr:h}),privateName:s("#name",{startsExpr:h}),eof:s("eof"),jsxName:s("jsxName"),jsxText:s("jsxText",{beforeExpr:!0}),jsxTagStart:s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:s("jsxTagEnd")};function $f(f){return f>=93&&f<=133}function wWf(f){return f<=92}function UG(f){return f>=58&&f<=133}function T8(f){return f>=58&&f<=137}function EWf(f){return TW[f]}function AW(f){return LW[f]}function kWf(f){return f>=29&&f<=33}function S8(f){return f>=129&&f<=131}function vWf(f){return f>=90&&f<=92}function wW(f){return f>=58&&f<=92}function gWf(f){return f>=39&&f<=59}function _Wf(f){return f===34}function uWf(f){return bW[f]}function hWf(f){return f>=121&&f<=123}function yWf(f){return f>=124&&f<=130}function xG(f){return IW[f]}function W2(f){return NW[f]}function xWf(f){return f===57}function V2(f){return f>=24&&f<=25}function jG(f){return DG[f]}DG[8].updateContext=(f)=>{f.pop()},DG[5].updateContext=DG[7].updateContext=DG[23].updateContext=(f)=>{f.push(Sf.brace)},DG[22].updateContext=(f)=>{if(f[f.length-1]===Sf.template)f.pop();else f.push(Sf.template)},DG[143].updateContext=(f)=>{f.push(Sf.j_expr,Sf.j_oTag)};var EW="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",L8="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",mWf=new RegExp("["+EW+"]"),lWf=new RegExp("["+EW+L8+"]");EW=L8=null;var b8=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],cWf=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function jW(f,G){let X=65536;for(let J=0,W=G.length;J<W;J+=2){if(X+=G[J],X>f)return!1;if(X+=G[J+1],X>=f)return!0}return!1}function PG(f){if(f<65)return f===36;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&mWf.test(String.fromCharCode(f));return jW(f,b8)}function C1(f){if(f<48)return f===36;if(f<58)return!0;if(f<65)return!1;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&lWf.test(String.fromCharCode(f));return jW(f,b8)||jW(f,cWf)}var kW={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},aWf=new Set(kW.keyword),iWf=new Set(kW.strict),rWf=new Set(kW.strictBind);function w8(f,G){return G&&f==="await"||f==="enum"}function E8(f,G){return w8(f,G)||iWf.has(f)}function k8(f){return rWf.has(f)}function v8(f,G){return E8(f,G)||k8(f)}function pWf(f){return aWf.has(f)}function sWf(f,G,X){return f===64&&G===64&&PG(X)}var dWf=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function tWf(f){return dWf.has(f)}class H2{constructor(f){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=f}}class U2{constructor(f,G){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=f,this.inModule=G}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let f=this.currentThisScopeFlags();return(f&64)>0&&(f&2)===0}get inStaticBlock(){for(let f=this.scopeStack.length-1;;f--){let{flags:G}=this.scopeStack[f];if(G&128)return!0;if(G&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(f){return new H2(f)}enter(f){this.scopeStack.push(this.createScope(f))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(f){return!!(f.flags&130||!this.parser.inModule&&f.flags&1)}declareName(f,G,X){let J=this.currentScope();if(G&8||G&16){this.checkRedeclarationInScope(J,f,G,X);let W=J.names.get(f)||0;if(G&16)W=W|4;else{if(!J.firstLexicalName)J.firstLexicalName=f;W=W|2}if(J.names.set(f,W),G&8)this.maybeExportDefined(J,f)}else if(G&4){for(let W=this.scopeStack.length-1;W>=0;--W)if(J=this.scopeStack[W],this.checkRedeclarationInScope(J,f,G,X),J.names.set(f,(J.names.get(f)||0)|1),this.maybeExportDefined(J,f),J.flags&387)break}if(this.parser.inModule&&J.flags&1)this.undefinedExports.delete(f)}maybeExportDefined(f,G){if(this.parser.inModule&&f.flags&1)this.undefinedExports.delete(G)}checkRedeclarationInScope(f,G,X,J){if(this.isRedeclaredInScope(f,G,X))this.parser.raise($.VarRedeclaration,J,{identifierName:G})}isRedeclaredInScope(f,G,X){if(!(X&1))return!1;if(X&8)return f.names.has(G);let J=f.names.get(G);if(X&16)return(J&2)>0||!this.treatFunctionsAsVarInScope(f)&&(J&1)>0;return(J&2)>0&&!(f.flags&8&&f.firstLexicalName===G)||!this.treatFunctionsAsVarInScope(f)&&(J&4)>0}checkLocalExport(f){let{name:G}=f;if(!this.scopeStack[0].names.has(G))this.undefinedExports.set(G,f.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let f=this.scopeStack.length-1;;f--){let{flags:G}=this.scopeStack[f];if(G&387)return G}}currentThisScopeFlags(){for(let f=this.scopeStack.length-1;;f--){let{flags:G}=this.scopeStack[f];if(G&451&&!(G&4))return G}}}class g8 extends H2{constructor(...f){super(...f);this.declareFunctions=new Set}}class _8 extends U2{createScope(f){return new g8(f)}declareName(f,G,X){let J=this.currentScope();if(G&2048){this.checkRedeclarationInScope(J,f,G,X),this.maybeExportDefined(J,f),J.declareFunctions.add(f);return}super.declareName(f,G,X)}isRedeclaredInScope(f,G,X){if(super.isRedeclaredInScope(f,G,X))return!0;if(X&2048&&!f.declareFunctions.has(G)){let J=f.names.get(G);return(J&4)>0||(J&2)>0}return!1}checkLocalExport(f){if(!this.scopeStack[0].declareFunctions.has(f.name))super.checkLocalExport(f)}}class u8{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(f){return f+this.startIndex}offsetToSourcePos(f){return f-this.startIndex}hasPlugin(f){if(typeof f==="string")return this.plugins.has(f);else{let[G,X]=f;if(!this.hasPlugin(G))return!1;let J=this.plugins.get(G);for(let W of Object.keys(X))if((J==null?void 0:J[W])!==X[W])return!1;return!0}}getPluginOption(f,G){var X;return(X=this.plugins.get(f))==null?void 0:X[G]}}function h8(f,G){if(f.trailingComments===void 0)f.trailingComments=G;else f.trailingComments.unshift(...G)}function nWf(f,G){if(f.leadingComments===void 0)f.leadingComments=G;else f.leadingComments.unshift(...G)}function RX(f,G){if(f.innerComments===void 0)f.innerComments=G;else f.innerComments.unshift(...G)}function nG(f,G,X){let J=null,W=G.length;while(J===null&&W>0)J=G[--W];if(J===null||J.start>X.start)RX(f,X.comments);else h8(J,X.comments)}class y8 extends u8{addComment(f){if(this.filename)f.loc.filename=this.filename;let{commentsLen:G}=this.state;if(this.comments.length!==G)this.comments.length=G;this.comments.push(f),this.state.commentsLen++}processComment(f){let{commentStack:G}=this.state,X=G.length;if(X===0)return;let J=X-1,W=G[J];if(W.start===f.end)W.leadingNode=f,J--;let{start:R}=f;for(;J>=0;J--){let V=G[J],H=V.end;if(H>R)V.containingNode=f,this.finalizeComment(V),G.splice(J,1);else{if(H===R)V.trailingNode=f;break}}}finalizeComment(f){let{comments:G}=f;if(f.leadingNode!==null||f.trailingNode!==null){if(f.leadingNode!==null)h8(f.leadingNode,G);if(f.trailingNode!==null)nWf(f.trailingNode,G)}else{let{containingNode:X,start:J}=f;if(this.input.charCodeAt(this.offsetToSourcePos(J)-1)===44)switch(X.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":nG(X,X.properties,f);break;case"CallExpression":case"OptionalCallExpression":nG(X,X.arguments,f);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":nG(X,X.params,f);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":nG(X,X.elements,f);break;case"ExportNamedDeclaration":case"ImportDeclaration":nG(X,X.specifiers,f);break;case"TSEnumDeclaration":nG(X,X.members,f);break;case"TSEnumBody":nG(X,X.members,f);break;default:RX(X,G)}else RX(X,G)}}finalizeRemainingComments(){let{commentStack:f}=this.state;for(let G=f.length-1;G>=0;G--)this.finalizeComment(f[G]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(f){let{commentStack:G}=this.state,{length:X}=G;if(X===0)return;let J=G[X-1];if(J.leadingNode===f)J.leadingNode=null}resetPreviousIdentifierLeadingComments(f){let{commentStack:G}=this.state,{length:X}=G;if(X===0)return;if(G[X-1].trailingNode===f)G[X-1].trailingNode=null;else if(X>=2&&G[X-2].trailingNode===f)G[X-2].trailingNode=null}takeSurroundingComments(f,G,X){let{commentStack:J}=this.state,W=J.length;if(W===0)return;let R=W-1;for(;R>=0;R--){let V=J[R],H=V.end;if(V.start===X)V.leadingNode=f;else if(H===G)V.trailingNode=f;else if(H<G)break}}}var oWf=/\r\n|[\r\n\u2028\u2029]/,G2=new RegExp(oWf.source,"g");function A1(f){switch(f){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function $8(f,G,X){for(let J=G;J<X;J++)if(A1(f.charCodeAt(J)))return!0;return!1}var SW=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,$W=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function eWf(f){switch(f){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class vW{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[Sf.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(f){if(f)this.flags|=1;else this.flags&=-2}init({strictMode:f,sourceType:G,startIndex:X,startLine:J,startColumn:W}){this.strict=f===!1?!1:f===!0?!0:G==="module",this.startIndex=X,this.curLine=J,this.lineStart=-W,this.startLoc=this.endLoc=new NG(J,W,X)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(f){if(f)this.flags|=2;else this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(f){if(f)this.flags|=4;else this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(f){if(f)this.flags|=8;else this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(f){if(f)this.flags|=16;else this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(f){if(f)this.flags|=32;else this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(f){if(f)this.flags|=64;else this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(f){if(f)this.flags|=128;else this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(f){if(f)this.flags|=256;else this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(f){if(f)this.flags|=512;else this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(f){if(f)this.flags|=1024;else this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(f){if(f)this.flags|=2048;else this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(f){if(f)this.flags|=4096;else this.flags&=-4097}curPosition(){return new NG(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let f=new vW;return f.flags=this.flags,f.startIndex=this.startIndex,f.curLine=this.curLine,f.lineStart=this.lineStart,f.startLoc=this.startLoc,f.endLoc=this.endLoc,f.errors=this.errors.slice(),f.potentialArrowAt=this.potentialArrowAt,f.noArrowAt=this.noArrowAt.slice(),f.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),f.topicContext=this.topicContext,f.labels=this.labels.slice(),f.commentsLen=this.commentsLen,f.commentStack=this.commentStack.slice(),f.pos=this.pos,f.type=this.type,f.value=this.value,f.start=this.start,f.end=this.end,f.lastTokEndLoc=this.lastTokEndLoc,f.lastTokStartLoc=this.lastTokStartLoc,f.context=this.context.slice(),f.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,f.strictErrors=this.strictErrors,f.tokensLength=this.tokensLength,f}}var f6f=function f(G){return G>=48&&G<=57},q8={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},X2={bin:(f)=>f===48||f===49,oct:(f)=>f>=48&&f<=55,dec:(f)=>f>=48&&f<=57,hex:(f)=>f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102};function C8(f,G,X,J,W,R){let V=X,H=J,U=W,Q="",Y=null,S=X,{length:C}=G;for(;;){if(X>=C){R.unterminated(V,H,U),Q+=G.slice(S,X);break}let A=G.charCodeAt(X);if(G6f(f,A,G,X)){Q+=G.slice(S,X);break}if(A===92){Q+=G.slice(S,X);let j=X6f(G,X,J,W,f==="template",R);if(j.ch===null&&!Y)Y={pos:X,lineStart:J,curLine:W};else Q+=j.ch;({pos:X,lineStart:J,curLine:W}=j),S=X}else if(A===8232||A===8233)++X,++W,J=X;else if(A===10||A===13)if(f==="template"){if(Q+=G.slice(S,X)+`
18
+ - Did you mean \`import { "${f}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:f})=>`Expected number in radix ${f}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:f})=>`Escape sequence in keyword ${f}.`,InvalidIdentifier:({identifierName:f})=>`Invalid identifier ${f}.`,InvalidLhs:({ancestor:f})=>`Invalid left-hand side in ${J2(f)}.`,InvalidLhsBinding:({ancestor:f})=>`Binding invalid left-hand side in ${J2(f)}.`,InvalidLhsOptionalChaining:({ancestor:f})=>`Invalid optional chaining in the left-hand side of ${J2(f)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:f})=>`Unexpected character '${f}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:f})=>`Private name #${f} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:f})=>`Label '${f}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:f})=>`This experimental syntax requires enabling the parser plugin: ${f.map((G)=>JSON.stringify(G)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:f})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${f.map((G)=>JSON.stringify(G)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:f})=>`Duplicate key "${f}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:f})=>`An export name cannot include a lone surrogate, found '\\u${f.toString(16)}'.`,ModuleExportUndefined:({localName:f})=>`Export '${f}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:f})=>`Private names are only allowed in property accesses (\`obj.#${f}\`) or in \`in\` expressions (\`#${f} in obj\`).`,PrivateNameRedeclaration:({identifierName:f})=>`Duplicate private name #${f}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:f})=>`Unexpected keyword '${f}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:f})=>`Unexpected reserved word '${f}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:f,unexpected:G})=>`Unexpected token${G?` '${G}'.`:""}${f?`, expected "${f}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script`.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:f,onlyValidPropertyName:G})=>`The only valid meta property for ${f} is ${f}.${G}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:f})=>`Identifier '${f}' has already been declared.`,YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},CWf={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:f})=>`Assigning to '${f}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:f})=>`Binding '${f}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},AWf=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),jWf=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:f})=>`Invalid topic token ${f}. In order to use ${f} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${f}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:f})=>`Hack-style pipe body cannot be an unparenthesized ${J2({type:f})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),OWf=["message"];function K8(f,G,X){Object.defineProperty(f,G,{enumerable:!1,configurable:!0,value:X})}function DWf({toMessage:f,code:G,reasonCode:X,syntaxPlugin:J}){let W=X==="MissingPlugin"||X==="MissingOneOfPlugins";{let R={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};if(R[X])X=R[X]}return function R(V,H){let U=new SyntaxError;if(U.code=G,U.reasonCode=X,U.loc=V,U.pos=V.index,U.syntaxPlugin=J,W)U.missingPlugin=H.missingPlugin;return K8(U,"clone",function Q(Y={}){var S;let{line:C,column:A,index:O}=(S=Y.loc)!=null?S:V;return R(new TG(C,A,O),Object.assign({},H,Y.details))}),K8(U,"details",H),Object.defineProperty(U,"message",{configurable:!0,get(){let Q=`${f(H)} (${V.line}:${V.column})`;return this.message=Q,Q},set(Q){Object.defineProperty(this,"message",{value:Q,writable:!0})}}),U}}function NG(f,G){if(Array.isArray(f))return(J)=>NG(J,f[0]);let X={};for(let J of Object.keys(f)){let W=f[J],R=typeof W==="string"?{message:()=>W}:typeof W==="function"?{message:W}:W,{message:V}=R,H=SWf(R,OWf),U=typeof V==="string"?()=>V:V;X[J]=DWf(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:J,toMessage:U},G?{syntaxPlugin:G}:{},H))}return X}var $=Object.assign({},NG($Wf),NG(qWf),NG(CWf),NG`pipelineOperator`(jWf));function IWf(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function PWf(f){let G=IWf();if(f==null)return G;if(f.annexB!=null&&f.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let X of Object.keys(G))if(f[X]!=null)G[X]=f[X];if(G.startLine===1){if(f.startIndex==null&&G.startColumn>0)G.startIndex=G.startColumn;else if(f.startColumn==null&&G.startIndex>0)G.startColumn=G.startIndex}else if(f.startColumn==null||f.startIndex==null){if(f.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.")}return G}var{defineProperty:NWf}=Object,F8=(f,G)=>{if(f)NWf(f,G,{enumerable:!1,value:f[G]})};function o1(f){return F8(f.loc.start,"index"),F8(f.loc.end,"index"),f}var TWf=(f)=>class G extends f{parse(){let X=o1(super.parse());if(this.optionFlags&128)X.tokens=X.tokens.map(o1);return X}parseRegExpLiteral({pattern:X,flags:J}){let W=null;try{W=new RegExp(X,J)}catch(V){}let R=this.estreeParseLiteral(W);return R.regex={pattern:X,flags:J},R}parseBigIntLiteral(X){let J;try{J=BigInt(X)}catch(R){J=null}let W=this.estreeParseLiteral(J);return W.bigint=String(W.value||X),W}parseDecimalLiteral(X){let W=this.estreeParseLiteral(null);return W.decimal=String(W.value||X),W}estreeParseLiteral(X){return this.parseLiteral(X,"Literal")}parseStringLiteral(X){return this.estreeParseLiteral(X)}parseNumericLiteral(X){return this.estreeParseLiteral(X)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(X){return this.estreeParseLiteral(X)}directiveToStmt(X){let J=X.value;delete X.value,J.type="Literal",J.raw=J.extra.raw,J.value=J.extra.expressionValue;let W=X;return W.type="ExpressionStatement",W.expression=J,W.directive=J.extra.rawValue,delete J.extra,W}initFunction(X,J){super.initFunction(X,J),X.expression=!1}checkDeclaration(X){if(X!=null&&this.isObjectProperty(X))this.checkDeclaration(X.value);else super.checkDeclaration(X)}getObjectOrClassMethodParams(X){return X.value.params}isValidDirective(X){var J;return X.type==="ExpressionStatement"&&X.expression.type==="Literal"&&typeof X.expression.value==="string"&&!((J=X.expression.extra)!=null&&J.parenthesized)}parseBlockBody(X,J,W,R,V){super.parseBlockBody(X,J,W,R,V);let H=X.directives.map((U)=>this.directiveToStmt(U));X.body=H.concat(X.body),delete X.directives}parsePrivateName(){let X=super.parsePrivateName();if(!this.getPluginOption("estree","classFeatures"))return X;return this.convertPrivateNameToPrivateIdentifier(X)}convertPrivateNameToPrivateIdentifier(X){let J=super.getPrivateNameSV(X);return X=X,delete X.id,X.name=J,X.type="PrivateIdentifier",X}isPrivateName(X){if(!this.getPluginOption("estree","classFeatures"))return super.isPrivateName(X);return X.type==="PrivateIdentifier"}getPrivateNameSV(X){if(!this.getPluginOption("estree","classFeatures"))return super.getPrivateNameSV(X);return X.name}parseLiteral(X,J){let W=super.parseLiteral(X,J);return W.raw=W.extra.raw,delete W.extra,W}parseFunctionBody(X,J,W=!1){super.parseFunctionBody(X,J,W),X.expression=X.body.type!=="BlockStatement"}parseMethod(X,J,W,R,V,H,U=!1){let Q=this.startNode();Q.kind=X.kind,Q=super.parseMethod(Q,J,W,R,V,H,U),Q.type="FunctionExpression",delete Q.kind,X.value=Q;let{typeParameters:Y}=X;if(Y)delete X.typeParameters,Q.typeParameters=Y,this.resetStartLocationFromNode(Q,Y);if(H==="ClassPrivateMethod")X.computed=!1;return this.finishNode(X,"MethodDefinition")}nameIsConstructor(X){if(X.type==="Literal")return X.value==="constructor";return super.nameIsConstructor(X)}parseClassProperty(...X){let J=super.parseClassProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return J;return J.type="PropertyDefinition",J}parseClassPrivateProperty(...X){let J=super.parseClassPrivateProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return J;return J.type="PropertyDefinition",J.computed=!1,J}parseObjectMethod(X,J,W,R,V){let H=super.parseObjectMethod(X,J,W,R,V);if(H){if(H.type="Property",H.kind==="method")H.kind="init";H.shorthand=!1}return H}parseObjectProperty(X,J,W,R){let V=super.parseObjectProperty(X,J,W,R);if(V)V.kind="init",V.type="Property";return V}isValidLVal(X,J,W){return X==="Property"?"value":super.isValidLVal(X,J,W)}isAssignable(X,J){if(X!=null&&this.isObjectProperty(X))return this.isAssignable(X.value,J);return super.isAssignable(X,J)}toAssignable(X,J=!1){if(X!=null&&this.isObjectProperty(X)){let{key:W,value:R}=X;if(this.isPrivateName(W))this.classScope.usePrivateName(this.getPrivateNameSV(W),W.loc.start);this.toAssignable(R,J)}else super.toAssignable(X,J)}toAssignableObjectExpressionProp(X,J,W){if(X.type==="Property"&&(X.kind==="get"||X.kind==="set"))this.raise($.PatternHasAccessor,X.key);else if(X.type==="Property"&&X.method)this.raise($.PatternHasMethod,X.key);else super.toAssignableObjectExpressionProp(X,J,W)}finishCallExpression(X,J){let W=super.finishCallExpression(X,J);if(W.callee.type==="Import"){var R,V;W.type="ImportExpression",W.source=W.arguments[0],W.options=(R=W.arguments[1])!=null?R:null,W.attributes=(V=W.arguments[1])!=null?V:null,delete W.arguments,delete W.callee}return W}toReferencedArguments(X){if(X.type==="ImportExpression")return;super.toReferencedArguments(X)}parseExport(X,J){let W=this.state.lastTokStartLoc,R=super.parseExport(X,J);switch(R.type){case"ExportAllDeclaration":R.exported=null;break;case"ExportNamedDeclaration":if(R.specifiers.length===1&&R.specifiers[0].type==="ExportNamespaceSpecifier")R.type="ExportAllDeclaration",R.exported=R.specifiers[0].exported,delete R.specifiers;case"ExportDefaultDeclaration":{var V;let{declaration:H}=R;if((H==null?void 0:H.type)==="ClassDeclaration"&&((V=H.decorators)==null?void 0:V.length)>0&&H.start===R.start)this.resetStartLocation(R,W)}break}return R}parseSubscript(X,J,W,R){let V=super.parseSubscript(X,J,W,R);if(R.optionalChainMember){if(V.type==="OptionalMemberExpression"||V.type==="OptionalCallExpression")V.type=V.type.substring(8);if(R.stop){let H=this.startNodeAtNode(V);return H.expression=V,this.finishNode(H,"ChainExpression")}}else if(V.type==="MemberExpression"||V.type==="CallExpression")V.optional=!1;return V}isOptionalMemberExpression(X){if(X.type==="ChainExpression")return X.expression.type==="MemberExpression";return super.isOptionalMemberExpression(X)}hasPropertyAsPrivateName(X){if(X.type==="ChainExpression")X=X.expression;return super.hasPropertyAsPrivateName(X)}isObjectProperty(X){return X.type==="Property"&&X.kind==="init"&&!X.method}isObjectMethod(X){return X.type==="Property"&&(X.method||X.kind==="get"||X.kind==="set")}finishNodeAt(X,J,W){return o1(super.finishNodeAt(X,J,W))}resetStartLocation(X,J){super.resetStartLocation(X,J),o1(X)}resetEndLocation(X,J=this.state.lastTokEndLoc){super.resetEndLocation(X,J),o1(X)}};class $1{constructor(f,G){this.token=void 0,this.preserveSpace=void 0,this.token=f,this.preserveSpace=!!G}}var Sf={brace:new $1("{"),j_oTag:new $1("<tag"),j_cTag:new $1("</tag"),j_expr:new $1("<tag>...</tag>",!0)};Sf.template=new $1("`",!0);var Qf=!0,h=!0,FW=!0,e1=!0,hG=!0,LWf=!0;class DW{constructor(f,G={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=f,this.keyword=G.keyword,this.beforeExpr=!!G.beforeExpr,this.startsExpr=!!G.startsExpr,this.rightAssociative=!!G.rightAssociative,this.isLoop=!!G.isLoop,this.isAssign=!!G.isAssign,this.prefix=!!G.prefix,this.postfix=!!G.postfix,this.binop=G.binop!=null?G.binop:null,this.updateContext=null}}var IW=new Map;function Mf(f,G={}){G.keyword=f;let X=s(f,G);return IW.set(f,X),X}function yf(f,G){return s(f,{beforeExpr:Qf,binop:G})}var XX=-1,IG=[],PW=[],NW=[],TW=[],LW=[],bW=[];function s(f,G={}){var X,J,W,R;return++XX,PW.push(f),NW.push((X=G.binop)!=null?X:-1),TW.push((J=G.beforeExpr)!=null?J:!1),LW.push((W=G.startsExpr)!=null?W:!1),bW.push((R=G.prefix)!=null?R:!1),IG.push(new DW(f,G)),XX}function Uf(f,G={}){var X,J,W,R;return++XX,IW.set(f,XX),PW.push(f),NW.push((X=G.binop)!=null?X:-1),TW.push((J=G.beforeExpr)!=null?J:!1),LW.push((W=G.startsExpr)!=null?W:!1),bW.push((R=G.prefix)!=null?R:!1),IG.push(new DW("name",G)),XX}var bWf={bracketL:s("[",{beforeExpr:Qf,startsExpr:h}),bracketHashL:s("#[",{beforeExpr:Qf,startsExpr:h}),bracketBarL:s("[|",{beforeExpr:Qf,startsExpr:h}),bracketR:s("]"),bracketBarR:s("|]"),braceL:s("{",{beforeExpr:Qf,startsExpr:h}),braceBarL:s("{|",{beforeExpr:Qf,startsExpr:h}),braceHashL:s("#{",{beforeExpr:Qf,startsExpr:h}),braceR:s("}"),braceBarR:s("|}"),parenL:s("(",{beforeExpr:Qf,startsExpr:h}),parenR:s(")"),comma:s(",",{beforeExpr:Qf}),semi:s(";",{beforeExpr:Qf}),colon:s(":",{beforeExpr:Qf}),doubleColon:s("::",{beforeExpr:Qf}),dot:s("."),question:s("?",{beforeExpr:Qf}),questionDot:s("?."),arrow:s("=>",{beforeExpr:Qf}),template:s("template"),ellipsis:s("...",{beforeExpr:Qf}),backQuote:s("`",{startsExpr:h}),dollarBraceL:s("${",{beforeExpr:Qf,startsExpr:h}),templateTail:s("...`",{startsExpr:h}),templateNonTail:s("...${",{beforeExpr:Qf,startsExpr:h}),at:s("@"),hash:s("#",{startsExpr:h}),interpreterDirective:s("#!..."),eq:s("=",{beforeExpr:Qf,isAssign:e1}),assign:s("_=",{beforeExpr:Qf,isAssign:e1}),slashAssign:s("_=",{beforeExpr:Qf,isAssign:e1}),xorAssign:s("_=",{beforeExpr:Qf,isAssign:e1}),moduloAssign:s("_=",{beforeExpr:Qf,isAssign:e1}),incDec:s("++/--",{prefix:hG,postfix:LWf,startsExpr:h}),bang:s("!",{beforeExpr:Qf,prefix:hG,startsExpr:h}),tilde:s("~",{beforeExpr:Qf,prefix:hG,startsExpr:h}),doubleCaret:s("^^",{startsExpr:h}),doubleAt:s("@@",{startsExpr:h}),pipeline:yf("|>",0),nullishCoalescing:yf("??",1),logicalOR:yf("||",1),logicalAND:yf("&&",2),bitwiseOR:yf("|",3),bitwiseXOR:yf("^",4),bitwiseAND:yf("&",5),equality:yf("==/!=/===/!==",6),lt:yf("</>/<=/>=",7),gt:yf("</>/<=/>=",7),relational:yf("</>/<=/>=",7),bitShift:yf("<</>>/>>>",8),bitShiftL:yf("<</>>/>>>",8),bitShiftR:yf("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:Qf,binop:9,prefix:hG,startsExpr:h}),modulo:s("%",{binop:10,startsExpr:h}),star:s("*",{binop:10}),slash:yf("/",10),exponent:s("**",{beforeExpr:Qf,binop:11,rightAssociative:!0}),_in:Mf("in",{beforeExpr:Qf,binop:7}),_instanceof:Mf("instanceof",{beforeExpr:Qf,binop:7}),_break:Mf("break"),_case:Mf("case",{beforeExpr:Qf}),_catch:Mf("catch"),_continue:Mf("continue"),_debugger:Mf("debugger"),_default:Mf("default",{beforeExpr:Qf}),_else:Mf("else",{beforeExpr:Qf}),_finally:Mf("finally"),_function:Mf("function",{startsExpr:h}),_if:Mf("if"),_return:Mf("return",{beforeExpr:Qf}),_switch:Mf("switch"),_throw:Mf("throw",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_try:Mf("try"),_var:Mf("var"),_const:Mf("const"),_with:Mf("with"),_new:Mf("new",{beforeExpr:Qf,startsExpr:h}),_this:Mf("this",{startsExpr:h}),_super:Mf("super",{startsExpr:h}),_class:Mf("class",{startsExpr:h}),_extends:Mf("extends",{beforeExpr:Qf}),_export:Mf("export"),_import:Mf("import",{startsExpr:h}),_null:Mf("null",{startsExpr:h}),_true:Mf("true",{startsExpr:h}),_false:Mf("false",{startsExpr:h}),_typeof:Mf("typeof",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_void:Mf("void",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_delete:Mf("delete",{beforeExpr:Qf,prefix:hG,startsExpr:h}),_do:Mf("do",{isLoop:FW,beforeExpr:Qf}),_for:Mf("for",{isLoop:FW}),_while:Mf("while",{isLoop:FW}),_as:Uf("as",{startsExpr:h}),_assert:Uf("assert",{startsExpr:h}),_async:Uf("async",{startsExpr:h}),_await:Uf("await",{startsExpr:h}),_defer:Uf("defer",{startsExpr:h}),_from:Uf("from",{startsExpr:h}),_get:Uf("get",{startsExpr:h}),_let:Uf("let",{startsExpr:h}),_meta:Uf("meta",{startsExpr:h}),_of:Uf("of",{startsExpr:h}),_sent:Uf("sent",{startsExpr:h}),_set:Uf("set",{startsExpr:h}),_source:Uf("source",{startsExpr:h}),_static:Uf("static",{startsExpr:h}),_using:Uf("using",{startsExpr:h}),_yield:Uf("yield",{startsExpr:h}),_asserts:Uf("asserts",{startsExpr:h}),_checks:Uf("checks",{startsExpr:h}),_exports:Uf("exports",{startsExpr:h}),_global:Uf("global",{startsExpr:h}),_implements:Uf("implements",{startsExpr:h}),_intrinsic:Uf("intrinsic",{startsExpr:h}),_infer:Uf("infer",{startsExpr:h}),_is:Uf("is",{startsExpr:h}),_mixins:Uf("mixins",{startsExpr:h}),_proto:Uf("proto",{startsExpr:h}),_require:Uf("require",{startsExpr:h}),_satisfies:Uf("satisfies",{startsExpr:h}),_keyof:Uf("keyof",{startsExpr:h}),_readonly:Uf("readonly",{startsExpr:h}),_unique:Uf("unique",{startsExpr:h}),_abstract:Uf("abstract",{startsExpr:h}),_declare:Uf("declare",{startsExpr:h}),_enum:Uf("enum",{startsExpr:h}),_module:Uf("module",{startsExpr:h}),_namespace:Uf("namespace",{startsExpr:h}),_interface:Uf("interface",{startsExpr:h}),_type:Uf("type",{startsExpr:h}),_opaque:Uf("opaque",{startsExpr:h}),name:s("name",{startsExpr:h}),placeholder:s("%%",{startsExpr:!0}),string:s("string",{startsExpr:h}),num:s("num",{startsExpr:h}),bigint:s("bigint",{startsExpr:h}),decimal:s("decimal",{startsExpr:h}),regexp:s("regexp",{startsExpr:h}),privateName:s("#name",{startsExpr:h}),eof:s("eof"),jsxName:s("jsxName"),jsxText:s("jsxText",{beforeExpr:!0}),jsxTagStart:s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:s("jsxTagEnd")};function $f(f){return f>=93&&f<=133}function wWf(f){return f<=92}function UG(f){return f>=58&&f<=133}function T8(f){return f>=58&&f<=137}function EWf(f){return TW[f]}function AW(f){return LW[f]}function kWf(f){return f>=29&&f<=33}function S8(f){return f>=129&&f<=131}function vWf(f){return f>=90&&f<=92}function wW(f){return f>=58&&f<=92}function gWf(f){return f>=39&&f<=59}function _Wf(f){return f===34}function uWf(f){return bW[f]}function hWf(f){return f>=121&&f<=123}function yWf(f){return f>=124&&f<=130}function xG(f){return PW[f]}function W2(f){return NW[f]}function xWf(f){return f===57}function V2(f){return f>=24&&f<=25}function OG(f){return IG[f]}IG[8].updateContext=(f)=>{f.pop()},IG[5].updateContext=IG[7].updateContext=IG[23].updateContext=(f)=>{f.push(Sf.brace)},IG[22].updateContext=(f)=>{if(f[f.length-1]===Sf.template)f.pop();else f.push(Sf.template)},IG[143].updateContext=(f)=>{f.push(Sf.j_expr,Sf.j_oTag)};var EW="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",L8="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",mWf=new RegExp("["+EW+"]"),lWf=new RegExp("["+EW+L8+"]");EW=L8=null;var b8=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],cWf=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function jW(f,G){let X=65536;for(let J=0,W=G.length;J<W;J+=2){if(X+=G[J],X>f)return!1;if(X+=G[J+1],X>=f)return!0}return!1}function PG(f){if(f<65)return f===36;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&mWf.test(String.fromCharCode(f));return jW(f,b8)}function C1(f){if(f<48)return f===36;if(f<58)return!0;if(f<65)return!1;if(f<=90)return!0;if(f<97)return f===95;if(f<=122)return!0;if(f<=65535)return f>=170&&lWf.test(String.fromCharCode(f));return jW(f,b8)||jW(f,cWf)}var kW={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},aWf=new Set(kW.keyword),iWf=new Set(kW.strict),rWf=new Set(kW.strictBind);function w8(f,G){return G&&f==="await"||f==="enum"}function E8(f,G){return w8(f,G)||iWf.has(f)}function k8(f){return rWf.has(f)}function v8(f,G){return E8(f,G)||k8(f)}function pWf(f){return aWf.has(f)}function sWf(f,G,X){return f===64&&G===64&&PG(X)}var dWf=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function tWf(f){return dWf.has(f)}class H2{constructor(f){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=f}}class U2{constructor(f,G){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=f,this.inModule=G}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let f=this.currentThisScopeFlags();return(f&64)>0&&(f&2)===0}get inStaticBlock(){for(let f=this.scopeStack.length-1;;f--){let{flags:G}=this.scopeStack[f];if(G&128)return!0;if(G&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(f){return new H2(f)}enter(f){this.scopeStack.push(this.createScope(f))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(f){return!!(f.flags&130||!this.parser.inModule&&f.flags&1)}declareName(f,G,X){let J=this.currentScope();if(G&8||G&16){this.checkRedeclarationInScope(J,f,G,X);let W=J.names.get(f)||0;if(G&16)W=W|4;else{if(!J.firstLexicalName)J.firstLexicalName=f;W=W|2}if(J.names.set(f,W),G&8)this.maybeExportDefined(J,f)}else if(G&4){for(let W=this.scopeStack.length-1;W>=0;--W)if(J=this.scopeStack[W],this.checkRedeclarationInScope(J,f,G,X),J.names.set(f,(J.names.get(f)||0)|1),this.maybeExportDefined(J,f),J.flags&387)break}if(this.parser.inModule&&J.flags&1)this.undefinedExports.delete(f)}maybeExportDefined(f,G){if(this.parser.inModule&&f.flags&1)this.undefinedExports.delete(G)}checkRedeclarationInScope(f,G,X,J){if(this.isRedeclaredInScope(f,G,X))this.parser.raise($.VarRedeclaration,J,{identifierName:G})}isRedeclaredInScope(f,G,X){if(!(X&1))return!1;if(X&8)return f.names.has(G);let J=f.names.get(G);if(X&16)return(J&2)>0||!this.treatFunctionsAsVarInScope(f)&&(J&1)>0;return(J&2)>0&&!(f.flags&8&&f.firstLexicalName===G)||!this.treatFunctionsAsVarInScope(f)&&(J&4)>0}checkLocalExport(f){let{name:G}=f;if(!this.scopeStack[0].names.has(G))this.undefinedExports.set(G,f.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let f=this.scopeStack.length-1;;f--){let{flags:G}=this.scopeStack[f];if(G&387)return G}}currentThisScopeFlags(){for(let f=this.scopeStack.length-1;;f--){let{flags:G}=this.scopeStack[f];if(G&451&&!(G&4))return G}}}class g8 extends H2{constructor(...f){super(...f);this.declareFunctions=new Set}}class _8 extends U2{createScope(f){return new g8(f)}declareName(f,G,X){let J=this.currentScope();if(G&2048){this.checkRedeclarationInScope(J,f,G,X),this.maybeExportDefined(J,f),J.declareFunctions.add(f);return}super.declareName(f,G,X)}isRedeclaredInScope(f,G,X){if(super.isRedeclaredInScope(f,G,X))return!0;if(X&2048&&!f.declareFunctions.has(G)){let J=f.names.get(G);return(J&4)>0||(J&2)>0}return!1}checkLocalExport(f){if(!this.scopeStack[0].declareFunctions.has(f.name))super.checkLocalExport(f)}}class u8{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(f){return f+this.startIndex}offsetToSourcePos(f){return f-this.startIndex}hasPlugin(f){if(typeof f==="string")return this.plugins.has(f);else{let[G,X]=f;if(!this.hasPlugin(G))return!1;let J=this.plugins.get(G);for(let W of Object.keys(X))if((J==null?void 0:J[W])!==X[W])return!1;return!0}}getPluginOption(f,G){var X;return(X=this.plugins.get(f))==null?void 0:X[G]}}function h8(f,G){if(f.trailingComments===void 0)f.trailingComments=G;else f.trailingComments.unshift(...G)}function nWf(f,G){if(f.leadingComments===void 0)f.leadingComments=G;else f.leadingComments.unshift(...G)}function RX(f,G){if(f.innerComments===void 0)f.innerComments=G;else f.innerComments.unshift(...G)}function nG(f,G,X){let J=null,W=G.length;while(J===null&&W>0)J=G[--W];if(J===null||J.start>X.start)RX(f,X.comments);else h8(J,X.comments)}class y8 extends u8{addComment(f){if(this.filename)f.loc.filename=this.filename;let{commentsLen:G}=this.state;if(this.comments.length!==G)this.comments.length=G;this.comments.push(f),this.state.commentsLen++}processComment(f){let{commentStack:G}=this.state,X=G.length;if(X===0)return;let J=X-1,W=G[J];if(W.start===f.end)W.leadingNode=f,J--;let{start:R}=f;for(;J>=0;J--){let V=G[J],H=V.end;if(H>R)V.containingNode=f,this.finalizeComment(V),G.splice(J,1);else{if(H===R)V.trailingNode=f;break}}}finalizeComment(f){let{comments:G}=f;if(f.leadingNode!==null||f.trailingNode!==null){if(f.leadingNode!==null)h8(f.leadingNode,G);if(f.trailingNode!==null)nWf(f.trailingNode,G)}else{let{containingNode:X,start:J}=f;if(this.input.charCodeAt(this.offsetToSourcePos(J)-1)===44)switch(X.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":nG(X,X.properties,f);break;case"CallExpression":case"OptionalCallExpression":nG(X,X.arguments,f);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":nG(X,X.params,f);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":nG(X,X.elements,f);break;case"ExportNamedDeclaration":case"ImportDeclaration":nG(X,X.specifiers,f);break;case"TSEnumDeclaration":nG(X,X.members,f);break;case"TSEnumBody":nG(X,X.members,f);break;default:RX(X,G)}else RX(X,G)}}finalizeRemainingComments(){let{commentStack:f}=this.state;for(let G=f.length-1;G>=0;G--)this.finalizeComment(f[G]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(f){let{commentStack:G}=this.state,{length:X}=G;if(X===0)return;let J=G[X-1];if(J.leadingNode===f)J.leadingNode=null}resetPreviousIdentifierLeadingComments(f){let{commentStack:G}=this.state,{length:X}=G;if(X===0)return;if(G[X-1].trailingNode===f)G[X-1].trailingNode=null;else if(X>=2&&G[X-2].trailingNode===f)G[X-2].trailingNode=null}takeSurroundingComments(f,G,X){let{commentStack:J}=this.state,W=J.length;if(W===0)return;let R=W-1;for(;R>=0;R--){let V=J[R],H=V.end;if(V.start===X)V.leadingNode=f;else if(H===G)V.trailingNode=f;else if(H<G)break}}}var oWf=/\r\n|[\r\n\u2028\u2029]/,G2=new RegExp(oWf.source,"g");function A1(f){switch(f){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function $8(f,G,X){for(let J=G;J<X;J++)if(A1(f.charCodeAt(J)))return!0;return!1}var SW=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,$W=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function eWf(f){switch(f){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}class vW{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[Sf.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(f){if(f)this.flags|=1;else this.flags&=-2}init({strictMode:f,sourceType:G,startIndex:X,startLine:J,startColumn:W}){this.strict=f===!1?!1:f===!0?!0:G==="module",this.startIndex=X,this.curLine=J,this.lineStart=-W,this.startLoc=this.endLoc=new TG(J,W,X)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(f){if(f)this.flags|=2;else this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(f){if(f)this.flags|=4;else this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(f){if(f)this.flags|=8;else this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(f){if(f)this.flags|=16;else this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(f){if(f)this.flags|=32;else this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(f){if(f)this.flags|=64;else this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(f){if(f)this.flags|=128;else this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(f){if(f)this.flags|=256;else this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(f){if(f)this.flags|=512;else this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(f){if(f)this.flags|=1024;else this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(f){if(f)this.flags|=2048;else this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(f){if(f)this.flags|=4096;else this.flags&=-4097}curPosition(){return new TG(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let f=new vW;return f.flags=this.flags,f.startIndex=this.startIndex,f.curLine=this.curLine,f.lineStart=this.lineStart,f.startLoc=this.startLoc,f.endLoc=this.endLoc,f.errors=this.errors.slice(),f.potentialArrowAt=this.potentialArrowAt,f.noArrowAt=this.noArrowAt.slice(),f.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),f.topicContext=this.topicContext,f.labels=this.labels.slice(),f.commentsLen=this.commentsLen,f.commentStack=this.commentStack.slice(),f.pos=this.pos,f.type=this.type,f.value=this.value,f.start=this.start,f.end=this.end,f.lastTokEndLoc=this.lastTokEndLoc,f.lastTokStartLoc=this.lastTokStartLoc,f.context=this.context.slice(),f.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,f.strictErrors=this.strictErrors,f.tokensLength=this.tokensLength,f}}var f6f=function f(G){return G>=48&&G<=57},q8={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},X2={bin:(f)=>f===48||f===49,oct:(f)=>f>=48&&f<=55,dec:(f)=>f>=48&&f<=57,hex:(f)=>f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102};function C8(f,G,X,J,W,R){let V=X,H=J,U=W,Q="",Y=null,S=X,{length:C}=G;for(;;){if(X>=C){R.unterminated(V,H,U),Q+=G.slice(S,X);break}let A=G.charCodeAt(X);if(G6f(f,A,G,X)){Q+=G.slice(S,X);break}if(A===92){Q+=G.slice(S,X);let O=X6f(G,X,J,W,f==="template",R);if(O.ch===null&&!Y)Y={pos:X,lineStart:J,curLine:W};else Q+=O.ch;({pos:X,lineStart:J,curLine:W}=O),S=X}else if(A===8232||A===8233)++X,++W,J=X;else if(A===10||A===13)if(f==="template"){if(Q+=G.slice(S,X)+`
19
19
  `,++X,A===13&&G.charCodeAt(X)===10)++X;++W,S=J=X}else R.unterminated(V,H,U);else++X}return{pos:X,str:Q,firstInvalidLoc:Y,lineStart:J,curLine:W,containsInvalid:!!Y}}function G6f(f,G,X,J){if(f==="template")return G===96||G===36&&X.charCodeAt(J+1)===123;return G===(f==="double"?34:39)}function X6f(f,G,X,J,W,R){let V=!W;G++;let H=(Q)=>({pos:G,ch:Q,lineStart:X,curLine:J}),U=f.charCodeAt(G++);switch(U){case 110:return H(`
20
- `);case 114:return H("\r");case 120:{let Q;return{code:Q,pos:G}=OW(f,G,X,J,2,!1,V,R),H(Q===null?null:String.fromCharCode(Q))}case 117:{let Q;return{code:Q,pos:G}=m8(f,G,X,J,V,R),H(Q===null?null:String.fromCodePoint(Q))}case 116:return H("\t");case 98:return H("\b");case 118:return H("\v");case 102:return H("\f");case 13:if(f.charCodeAt(G)===10)++G;case 10:X=G,++J;case 8232:case 8233:return H("");case 56:case 57:if(W)return H(null);else R.strictNumericEscape(G-1,X,J);default:if(U>=48&&U<=55){let Q=G-1,S=/^[0-7]+/.exec(f.slice(Q,G+2))[0],C=parseInt(S,8);if(C>255)S=S.slice(0,-1),C=parseInt(S,8);G+=S.length-1;let A=f.charCodeAt(G);if(S!=="0"||A===56||A===57)if(W)return H(null);else R.strictNumericEscape(Q,X,J);return H(String.fromCharCode(C))}return H(String.fromCharCode(U))}}function OW(f,G,X,J,W,R,V,H){let U=G,Q;if({n:Q,pos:G}=x8(f,G,X,J,16,W,R,!1,H,!V),Q===null)if(V)H.invalidEscapeSequence(U,X,J);else G=U-1;return{code:Q,pos:G}}function x8(f,G,X,J,W,R,V,H,U,Q){let Y=G,S=W===16?q8.hex:q8.decBinOct,C=W===16?X2.hex:W===10?X2.dec:W===8?X2.oct:X2.bin,A=!1,j=0;for(let b=0,I=R==null?1/0:R;b<I;++b){let L=f.charCodeAt(G),w;if(L===95&&H!=="bail"){let Xf=f.charCodeAt(G-1),p=f.charCodeAt(G+1);if(!H){if(Q)return{n:null,pos:G};U.numericSeparatorInEscapeSequence(G,X,J)}else if(Number.isNaN(p)||!C(p)||S.has(Xf)||S.has(p)){if(Q)return{n:null,pos:G};U.unexpectedNumericSeparator(G,X,J)}++G;continue}if(L>=97)w=L-97+10;else if(L>=65)w=L-65+10;else if(f6f(L))w=L-48;else w=1/0;if(w>=W)if(w<=9&&Q)return{n:null,pos:G};else if(w<=9&&U.invalidDigit(G,X,J,W))w=0;else if(V)w=0,A=!0;else break;++G,j=j*W+w}if(G===Y||R!=null&&G-Y!==R||A)return{n:null,pos:G};return{n:j,pos:G}}function m8(f,G,X,J,W,R){let V=f.charCodeAt(G),H;if(V===123){if(++G,{code:H,pos:G}=OW(f,G,X,J,f.indexOf("}",G)-G,!0,W,R),++G,H!==null&&H>1114111)if(W)R.invalidCodePoint(G,X,J);else return{code:null,pos:G}}else({code:H,pos:G}=OW(f,G,X,J,4,!1,W,R));return{code:H,pos:G}}function fX(f,G,X){return new NG(X,f-G,f)}var J6f=new Set([103,109,115,105,121,117,100,118]);class OG{constructor(f){let G=f.startIndex||0;this.type=f.type,this.value=f.value,this.start=G+f.start,this.end=G+f.end,this.loc=new WX(f.startLoc,f.endLoc)}}class l8 extends y8{constructor(f,G){super();this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(X,J,W,R)=>{if(!(this.optionFlags&1024))return!1;return this.raise($.InvalidDigit,fX(X,J,W),{radix:R}),!0},numericSeparatorInEscapeSequence:this.errorBuilder($.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder($.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder($.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder($.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(X,J,W)=>{this.recordStrictModeErrors($.StrictNumericEscape,fX(X,J,W))},unterminated:(X,J,W)=>{throw this.raise($.UnterminatedString,fX(X-1,J,W))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder($.StrictNumericEscape),unterminated:(X,J,W)=>{throw this.raise($.UnterminatedTemplate,fX(X,J,W))}}),this.state=new vW,this.state.init(f),this.input=G,this.length=G.length,this.comments=[],this.isLookahead=!1}pushToken(f){this.tokens.length=this.state.tokensLength,this.tokens.push(f),++this.state.tokensLength}next(){if(this.checkKeywordEscapes(),this.optionFlags&128)this.pushToken(new OG(this.state));this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(f){if(this.match(f))return this.next(),!0;else return!1}match(f){return this.state.type===f}createLookaheadState(f){return{pos:f.pos,value:null,type:f.type,start:f.start,end:f.end,context:[this.curContext()],inType:f.inType,startLoc:f.startLoc,lastTokEndLoc:f.lastTokEndLoc,curLine:f.curLine,lineStart:f.lineStart,curPosition:f.curPosition}}lookahead(){let f=this.state;this.state=this.createLookaheadState(f),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let G=this.state;return this.state=f,G}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(f){return SW.lastIndex=f,SW.test(this.input)?SW.lastIndex:f}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(f){return $W.lastIndex=f,$W.test(this.input)?$W.lastIndex:f}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(f){let G=this.input.charCodeAt(f);if((G&64512)===55296&&++f<this.input.length){let X=this.input.charCodeAt(f);if((X&64512)===56320)G=65536+((G&1023)<<10)+(X&1023)}return G}setStrict(f){if(this.state.strict=f,f)this.state.strictErrors.forEach(([G,X])=>this.raise(G,X)),this.state.strictErrors.clear()}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(f){let G;if(!this.isLookahead)G=this.state.curPosition();let X=this.state.pos,J=this.input.indexOf(f,X+2);if(J===-1)throw this.raise($.UnterminatedComment,this.state.curPosition());this.state.pos=J+f.length,G2.lastIndex=X+2;while(G2.test(this.input)&&G2.lastIndex<=J)++this.state.curLine,this.state.lineStart=G2.lastIndex;if(this.isLookahead)return;let W={type:"CommentBlock",value:this.input.slice(X+2,J),start:this.sourceToOffsetPos(X),end:this.sourceToOffsetPos(J+f.length),loc:new WX(G,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(W);return W}skipLineComment(f){let G=this.state.pos,X;if(!this.isLookahead)X=this.state.curPosition();let J=this.input.charCodeAt(this.state.pos+=f);if(this.state.pos<this.length)while(!A1(J)&&++this.state.pos<this.length)J=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let W=this.state.pos,V={type:"CommentLine",value:this.input.slice(G+f,W),start:this.sourceToOffsetPos(G),end:this.sourceToOffsetPos(W),loc:new WX(X,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(V);return V}skipSpace(){let f=this.state.pos,G=this.optionFlags&2048?[]:null;f:while(this.state.pos<this.length){let X=this.input.charCodeAt(this.state.pos);switch(X){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10)++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let J=this.skipBlockComment("*/");if(J!==void 0)this.addComment(J),G==null||G.push(J);break}case 47:{let J=this.skipLineComment(2);if(J!==void 0)this.addComment(J),G==null||G.push(J);break}default:break f}break;default:if(eWf(X))++this.state.pos;else if(X===45&&!this.inModule&&this.optionFlags&4096){let J=this.state.pos;if(this.input.charCodeAt(J+1)===45&&this.input.charCodeAt(J+2)===62&&(f===0||this.state.lineStart>f)){let W=this.skipLineComment(3);if(W!==void 0)this.addComment(W),G==null||G.push(W)}else break f}else if(X===60&&!this.inModule&&this.optionFlags&4096){let J=this.state.pos;if(this.input.charCodeAt(J+1)===33&&this.input.charCodeAt(J+2)===45&&this.input.charCodeAt(J+3)===45){let W=this.skipLineComment(4);if(W!==void 0)this.addComment(W),G==null||G.push(W)}else break f}else break f}}if((G==null?void 0:G.length)>0){let X=this.state.pos,J={start:this.sourceToOffsetPos(f),end:this.sourceToOffsetPos(X),comments:G,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(J)}}finishToken(f,G){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let X=this.state.type;if(this.state.type=f,this.state.value=G,!this.isLookahead)this.updateContext(X)}replaceToken(f){this.state.type=f,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let f=this.state.pos+1,G=this.codePointAtPos(f);if(G>=48&&G<=57)throw this.raise($.UnexpectedDigitAfterHash,this.state.curPosition());if(G===123||G===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(G===123?$.RecordExpressionHashIncorrectStartSyntaxType:$.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());if(this.state.pos+=2,G===123)this.finishToken(7);else this.finishToken(1)}else if(PG(G))++this.state.pos,this.finishToken(139,this.readWord1(G));else if(G===92)++this.state.pos,this.finishToken(139,this.readWord1());else this.finishOp(27,1)}readToken_dot(){let f=this.input.charCodeAt(this.state.pos+1);if(f>=48&&f<=57){this.readNumber(!0);return}if(f===46&&this.input.charCodeAt(this.state.pos+2)===46)this.state.pos+=3,this.finishToken(21);else++this.state.pos,this.finishToken(16)}readToken_slash(){if(this.input.charCodeAt(this.state.pos+1)===61)this.finishOp(31,2);else this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let f=this.input.charCodeAt(this.state.pos+1);if(f!==33)return!1;let G=this.state.pos;this.state.pos+=1;while(!A1(f)&&++this.state.pos<this.length)f=this.input.charCodeAt(this.state.pos);let X=this.input.slice(G+2,this.state.pos);return this.finishToken(28,X),!0}readToken_mult_modulo(f){let G=f===42?55:54,X=1,J=this.input.charCodeAt(this.state.pos+1);if(f===42&&J===42)X++,J=this.input.charCodeAt(this.state.pos+2),G=57;if(J===61&&!this.state.inType)X++,G=f===37?33:30;this.finishOp(G,X)}readToken_pipe_amp(f){let G=this.input.charCodeAt(this.state.pos+1);if(G===f){if(this.input.charCodeAt(this.state.pos+2)===61)this.finishOp(30,3);else this.finishOp(f===124?41:42,2);return}if(f===124){if(G===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&G===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&G===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(G===61){this.finishOp(30,2);return}this.finishOp(f===124?43:45,1)}readToken_caret(){let f=this.input.charCodeAt(this.state.pos+1);if(f===61&&!this.state.inType)this.finishOp(32,2);else if(f===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94)this.unexpected()}else this.finishOp(44,1)}readToken_atSign(){if(this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}]))this.finishOp(38,2);else this.finishOp(26,1)}readToken_plus_min(f){let G=this.input.charCodeAt(this.state.pos+1);if(G===f){this.finishOp(34,2);return}if(G===61)this.finishOp(30,2);else this.finishOp(53,1)}readToken_lt(){let{pos:f}=this.state,G=this.input.charCodeAt(f+1);if(G===60){if(this.input.charCodeAt(f+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(G===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:f}=this.state,G=this.input.charCodeAt(f+1);if(G===62){let X=this.input.charCodeAt(f+2)===62?3:2;if(this.input.charCodeAt(f+X)===61){this.finishOp(30,X+1);return}this.finishOp(52,X);return}if(G===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(f){let G=this.input.charCodeAt(this.state.pos+1);if(G===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(f===61&&G===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(f===61?29:35,1)}readToken_question(){let f=this.input.charCodeAt(this.state.pos+1),G=this.input.charCodeAt(this.state.pos+2);if(f===63)if(G===61)this.finishOp(30,3);else this.finishOp(40,2);else if(f===46&&!(G>=48&&G<=57))this.state.pos+=2,this.finishToken(18);else++this.state.pos,this.finishToken(17)}getTokenFromCode(f){switch(f){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58)this.finishOp(15,2);else++this.state.pos,this.finishToken(14);return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let G=this.input.charCodeAt(this.state.pos+1);if(G===120||G===88){this.readRadixNumber(16);return}if(G===111||G===79){this.readRadixNumber(8);return}if(G===98||G===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(f);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(f);return;case 124:case 38:this.readToken_pipe_amp(f);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(f);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(f);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(PG(f)){this.readWord(f);return}}throw this.raise($.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(f)})}finishOp(f,G){let X=this.input.slice(this.state.pos,this.state.pos+G);this.state.pos+=G,this.finishToken(f,X)}readRegexp(){let f=this.state.startLoc,G=this.state.start+1,X,J,{pos:W}=this.state;for(;;++W){if(W>=this.length)throw this.raise($.UnterminatedRegExp,xf(f,1));let U=this.input.charCodeAt(W);if(A1(U))throw this.raise($.UnterminatedRegExp,xf(f,1));if(X)X=!1;else{if(U===91)J=!0;else if(U===93&&J)J=!1;else if(U===47&&!J)break;X=U===92}}let R=this.input.slice(G,W);++W;let V="",H=()=>xf(f,W+2-G);while(W<this.length){let U=this.codePointAtPos(W),Q=String.fromCharCode(U);if(J6f.has(U)){if(U===118){if(V.includes("u"))this.raise($.IncompatibleRegExpUVFlags,H())}else if(U===117){if(V.includes("v"))this.raise($.IncompatibleRegExpUVFlags,H())}if(V.includes(Q))this.raise($.DuplicateRegExpFlags,H())}else if(C1(U)||U===92)this.raise($.MalformedRegExpFlags,H());else break;++W,V+=Q}this.state.pos=W,this.finishToken(138,{pattern:R,flags:V})}readInt(f,G,X=!1,J=!0){let{n:W,pos:R}=x8(this.input,this.state.pos,this.state.lineStart,this.state.curLine,f,G,X,J,this.errorHandlers_readInt,!1);return this.state.pos=R,W}readRadixNumber(f){let G=this.state.pos,X=this.state.curPosition(),J=!1;this.state.pos+=2;let W=this.readInt(f);if(W==null)this.raise($.InvalidDigit,xf(X,2),{radix:f});let R=this.input.charCodeAt(this.state.pos);if(R===110)++this.state.pos,J=!0;else if(R===109)throw this.raise($.InvalidDecimal,X);if(PG(this.codePointAtPos(this.state.pos)))throw this.raise($.NumberIdentifier,this.state.curPosition());if(J){let V=this.input.slice(G,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,V);return}this.finishToken(135,W)}readNumber(f){let G=this.state.pos,X=this.state.curPosition(),J=!1,W=!1,R=!1,V=!1;if(!f&&this.readInt(10)===null)this.raise($.InvalidNumber,this.state.curPosition());let H=this.state.pos-G>=2&&this.input.charCodeAt(G)===48;if(H){let C=this.input.slice(G,this.state.pos);if(this.recordStrictModeErrors($.StrictOctalLiteral,X),!this.state.strict){let A=C.indexOf("_");if(A>0)this.raise($.ZeroDigitNumericSeparator,xf(X,A))}V=H&&!/[89]/.test(C)}let U=this.input.charCodeAt(this.state.pos);if(U===46&&!V)++this.state.pos,this.readInt(10),J=!0,U=this.input.charCodeAt(this.state.pos);if((U===69||U===101)&&!V){if(U=this.input.charCodeAt(++this.state.pos),U===43||U===45)++this.state.pos;if(this.readInt(10)===null)this.raise($.InvalidOrMissingExponent,X);J=!0,R=!0,U=this.input.charCodeAt(this.state.pos)}if(U===110){if(J||H)this.raise($.InvalidBigIntLiteral,X);++this.state.pos,W=!0}if(U===109){if(this.expectPlugin("decimal",this.state.curPosition()),R||H)this.raise($.InvalidDecimal,X);++this.state.pos;var Q=!0}if(PG(this.codePointAtPos(this.state.pos)))throw this.raise($.NumberIdentifier,this.state.curPosition());let Y=this.input.slice(G,this.state.pos).replace(/[_mn]/g,"");if(W){this.finishToken(136,Y);return}if(Q){this.finishToken(137,Y);return}let S=V?parseInt(Y,8):parseFloat(Y);this.finishToken(135,S)}readCodePoint(f){let{code:G,pos:X}=m8(this.input,this.state.pos,this.state.lineStart,this.state.curLine,f,this.errorHandlers_readCodePoint);return this.state.pos=X,G}readString(f){let{str:G,pos:X,curLine:J,lineStart:W}=C8(f===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=X+1,this.state.lineStart=W,this.state.curLine=J,this.finishToken(134,G)}readTemplateContinuation(){if(!this.match(8))this.unexpected(null,8);this.state.pos--,this.readTemplateToken()}readTemplateToken(){let f=this.input[this.state.pos],{str:G,firstInvalidLoc:X,pos:J,curLine:W,lineStart:R}=C8("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);if(this.state.pos=J+1,this.state.lineStart=R,this.state.curLine=W,X)this.state.firstInvalidTemplateEscapePos=new NG(X.curLine,X.pos-X.lineStart,this.sourceToOffsetPos(X.pos));if(this.input.codePointAt(J)===96)this.finishToken(24,X?null:f+G+"`");else this.state.pos++,this.finishToken(25,X?null:f+G+"${")}recordStrictModeErrors(f,G){let X=G.index;if(this.state.strict&&!this.state.strictErrors.has(X))this.raise(f,G);else this.state.strictErrors.set(X,[f,G])}readWord1(f){this.state.containsEsc=!1;let G="",X=this.state.pos,J=this.state.pos;if(f!==void 0)this.state.pos+=f<=65535?1:2;while(this.state.pos<this.length){let W=this.codePointAtPos(this.state.pos);if(C1(W))this.state.pos+=W<=65535?1:2;else if(W===92){this.state.containsEsc=!0,G+=this.input.slice(J,this.state.pos);let R=this.state.curPosition(),V=this.state.pos===X?PG:C1;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise($.MissingUnicodeEscape,this.state.curPosition()),J=this.state.pos-1;continue}++this.state.pos;let H=this.readCodePoint(!0);if(H!==null){if(!V(H))this.raise($.EscapedCharNotAnIdentifier,R);G+=String.fromCodePoint(H)}J=this.state.pos}else break}return G+this.input.slice(J,this.state.pos)}readWord(f){let G=this.readWord1(f),X=PW.get(G);if(X!==void 0)this.finishToken(X,xG(X));else this.finishToken(132,G)}checkKeywordEscapes(){let{type:f}=this.state;if(wW(f)&&this.state.containsEsc)this.raise($.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:xG(f)})}raise(f,G,X={}){let J=G instanceof NG?G:G.loc.start,W=f(J,X);if(!(this.optionFlags&1024))throw W;if(!this.isLookahead)this.state.errors.push(W);return W}raiseOverwrite(f,G,X={}){let J=G instanceof NG?G:G.loc.start,W=J.index,R=this.state.errors;for(let V=R.length-1;V>=0;V--){let H=R[V];if(H.loc.index===W)return R[V]=f(J,X);if(H.loc.index<W)break}return this.raise(f,G,X)}updateContext(f){}unexpected(f,G){throw this.raise($.UnexpectedToken,f!=null?f:this.state.startLoc,{expected:G?xG(G):null})}expectPlugin(f,G){if(this.hasPlugin(f))return!0;throw this.raise($.MissingPlugin,G!=null?G:this.state.startLoc,{missingPlugin:[f]})}expectOnePlugin(f){if(!f.some((G)=>this.hasPlugin(G)))throw this.raise($.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:f})}errorBuilder(f){return(G,X,J)=>{this.raise(f,fX(G,X,J))}}}class c8{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class a8{constructor(f){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=f}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new c8)}exit(){let f=this.stack.pop(),G=this.current();for(let[X,J]of Array.from(f.undefinedPrivateNames))if(G){if(!G.undefinedPrivateNames.has(X))G.undefinedPrivateNames.set(X,J)}else this.parser.raise($.InvalidPrivateFieldResolution,J,{identifierName:X})}declarePrivateName(f,G,X){let{privateNames:J,loneAccessors:W,undefinedPrivateNames:R}=this.current(),V=J.has(f);if(G&3){let H=V&&W.get(f);if(H){let U=H&4,Q=G&4,Y=H&3,S=G&3;if(V=Y===S||U!==Q,!V)W.delete(f)}else if(!V)W.set(f,G)}if(V)this.parser.raise($.PrivateNameRedeclaration,X,{identifierName:f});J.add(f),R.delete(f)}usePrivateName(f,G){let X;for(X of this.stack)if(X.privateNames.has(f))return;if(X)X.undefinedPrivateNames.set(f,G);else this.parser.raise($.InvalidPrivateFieldResolution,G,{identifierName:f})}}class HX{constructor(f=0){this.type=f}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class gW extends HX{constructor(f){super(f);this.declarationErrors=new Map}recordDeclarationError(f,G){let X=G.index;this.declarationErrors.set(X,[f,G])}clearDeclarationError(f){this.declarationErrors.delete(f)}iterateErrors(f){this.declarationErrors.forEach(f)}}class i8{constructor(f){this.parser=void 0,this.stack=[new HX],this.parser=f}enter(f){this.stack.push(f)}exit(){this.stack.pop()}recordParameterInitializerError(f,G){let X=G.loc.start,{stack:J}=this,W=J.length-1,R=J[W];while(!R.isCertainlyParameterDeclaration()){if(R.canBeArrowParameterDeclaration())R.recordDeclarationError(f,X);else return;R=J[--W]}this.parser.raise(f,X)}recordArrowParameterBindingError(f,G){let{stack:X}=this,J=X[X.length-1],W=G.loc.start;if(J.isCertainlyParameterDeclaration())this.parser.raise(f,W);else if(J.canBeArrowParameterDeclaration())J.recordDeclarationError(f,W);else return}recordAsyncArrowParametersError(f){let{stack:G}=this,X=G.length-1,J=G[X];while(J.canBeArrowParameterDeclaration()){if(J.type===2)J.recordDeclarationError($.AwaitBindingIdentifier,f);J=G[--X]}}validateAsPattern(){let{stack:f}=this,G=f[f.length-1];if(!G.canBeArrowParameterDeclaration())return;G.iterateErrors(([X,J])=>{this.parser.raise(X,J);let W=f.length-2,R=f[W];while(R.canBeArrowParameterDeclaration())R.clearDeclarationError(J.index),R=f[--W]})}}function W6f(){return new HX(3)}function R6f(){return new gW(1)}function V6f(){return new gW(2)}function r8(){return new HX}class p8{constructor(){this.stacks=[]}enter(f){this.stacks.push(f)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function R2(f,G){return(f?2:0)|(G?1:0)}class s8 extends l8{addExtra(f,G,X,J=!0){if(!f)return;let{extra:W}=f;if(W==null)W={},f.extra=W;if(J)W[G]=X;else Object.defineProperty(W,G,{enumerable:J,value:X})}isContextual(f){return this.state.type===f&&!this.state.containsEsc}isUnparsedContextual(f,G){let X=f+G.length;if(this.input.slice(f,X)===G){let J=this.input.charCodeAt(X);return!(C1(J)||(J&64512)===55296)}return!1}isLookaheadContextual(f){let G=this.nextTokenStart();return this.isUnparsedContextual(G,f)}eatContextual(f){if(this.isContextual(f))return this.next(),!0;return!1}expectContextual(f,G){if(!this.eatContextual(f)){if(G!=null)throw this.raise(G,this.state.startLoc);this.unexpected(null,f)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return $8(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return $8(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(f=!0){if(f?this.isLineTerminator():this.eat(13))return;this.raise($.MissingSemicolon,this.state.lastTokEndLoc)}expect(f,G){if(!this.eat(f))this.unexpected(G,f)}tryParse(f,G=this.state.clone()){let X={node:null};try{let J=f((W=null)=>{throw X.node=W,X});if(this.state.errors.length>G.errors.length){let W=this.state;return this.state=G,this.state.tokensLength=W.tokensLength,{node:J,error:W.errors[G.errors.length],thrown:!1,aborted:!1,failState:W}}return{node:J,error:null,thrown:!1,aborted:!1,failState:null}}catch(J){let W=this.state;if(this.state=G,J instanceof SyntaxError)return{node:null,error:J,thrown:!0,aborted:!1,failState:W};if(J===X)return{node:X.node,error:null,thrown:!1,aborted:!0,failState:W};throw J}}checkExpressionErrors(f,G){if(!f)return!1;let{shorthandAssignLoc:X,doubleProtoLoc:J,privateKeyLoc:W,optionalParametersLoc:R}=f,V=!!X||!!J||!!R||!!W;if(!G)return V;if(X!=null)this.raise($.InvalidCoverInitializedName,X);if(J!=null)this.raise($.DuplicateProto,J);if(W!=null)this.raise($.UnexpectedPrivateField,W);if(R!=null)this.unexpected(R)}isLiteralPropertyName(){return T8(this.state.type)}isPrivateName(f){return f.type==="PrivateName"}getPrivateNameSV(f){return f.id.name}hasPropertyAsPrivateName(f){return(f.type==="MemberExpression"||f.type==="OptionalMemberExpression")&&this.isPrivateName(f.property)}isObjectProperty(f){return f.type==="ObjectProperty"}isObjectMethod(f){return f.type==="ObjectMethod"}initializeScopes(f=this.options.sourceType==="module"){let G=this.state.labels;this.state.labels=[];let X=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let J=this.inModule;this.inModule=f;let W=this.scope,R=this.getScopeHandler();this.scope=new R(this,f);let V=this.prodParam;this.prodParam=new p8;let H=this.classScope;this.classScope=new a8(this);let U=this.expressionScope;return this.expressionScope=new i8(this),()=>{this.state.labels=G,this.exportedIdentifiers=X,this.inModule=J,this.scope=W,this.prodParam=V,this.classScope=H,this.expressionScope=U}}enterInitialScopes(){let f=0;if(this.inModule)f|=2;this.scope.enter(1),this.prodParam.enter(f)}checkDestructuringPrivate(f){let{privateKeyLoc:G}=f;if(G!==null)this.expectPlugin("destructuringPrivate",G)}}class JX{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class VX{constructor(f,G,X){if(this.type="",this.start=G,this.end=0,this.loc=new WX(X),(f==null?void 0:f.optionFlags)&64)this.range=[G,0];if(f!=null&&f.filename)this.loc.filename=f.filename}}var _W=VX.prototype;_W.__clone=function(){let f=new VX(void 0,this.start,this.loc.start),G=Object.keys(this);for(let X=0,J=G.length;X<J;X++){let W=G[X];if(W!=="leadingComments"&&W!=="trailingComments"&&W!=="innerComments")f[W]=this[W]}return f};function H6f(f){return TG(f)}function TG(f){let{type:G,start:X,end:J,loc:W,range:R,extra:V,name:H}=f,U=Object.create(_W);if(U.type=G,U.start=X,U.end=J,U.loc=W,U.range=R,U.extra=V,U.name=H,G==="Placeholder")U.expectedNode=f.expectedNode;return U}function U6f(f){let{type:G,start:X,end:J,loc:W,range:R,extra:V}=f;if(G==="Placeholder")return H6f(f);let H=Object.create(_W);if(H.type=G,H.start=X,H.end=J,H.loc=W,H.range=R,f.raw!==void 0)H.raw=f.raw;else H.extra=V;return H.value=f.value,H}class d8 extends s8{startNode(){let f=this.state.startLoc;return new VX(this,f.index,f)}startNodeAt(f){return new VX(this,f.index,f)}startNodeAtNode(f){return this.startNodeAt(f.loc.start)}finishNode(f,G){return this.finishNodeAt(f,G,this.state.lastTokEndLoc)}finishNodeAt(f,G,X){if(f.type=G,f.end=X.index,f.loc.end=X,this.optionFlags&64)f.range[1]=X.index;if(this.optionFlags&2048)this.processComment(f);return f}resetStartLocation(f,G){if(f.start=G.index,f.loc.start=G,this.optionFlags&64)f.range[0]=G.index}resetEndLocation(f,G=this.state.lastTokEndLoc){if(f.end=G.index,f.loc.end=G,this.optionFlags&64)f.range[1]=G.index}resetStartLocationFromNode(f,G){this.resetStartLocation(f,G.loc.start)}}var Q6f=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),n=IG`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:f})=>`Cannot overwrite reserved type ${f}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:f,enumName:G})=>`Boolean enum members need to be initialized. Use either \`${f} = true,\` or \`${f} = false,\` in enum \`${G}\`.`,EnumDuplicateMemberName:({memberName:f,enumName:G})=>`Enum member names need to be unique, but the name \`${f}\` has already been used before in enum \`${G}\`.`,EnumInconsistentMemberValues:({enumName:f})=>`Enum \`${f}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:f,enumName:G})=>`Enum type \`${f}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${G}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:f})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${f}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:f,memberName:G,explicitType:X})=>`Enum \`${f}\` has type \`${X}\`, so the initializer of \`${G}\` needs to be a ${X} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:f,memberName:G})=>`Symbol enum members cannot be initialized. Use \`${G},\` in enum \`${f}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:f,memberName:G})=>`The enum member initializer for \`${G}\` needs to be a literal (either a boolean, number, or string) in enum \`${f}\`.`,EnumInvalidMemberName:({enumName:f,memberName:G,suggestion:X})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${G}\`, consider using \`${X}\`, in enum \`${f}\`.`,EnumNumberMemberNotInitialized:({enumName:f,memberName:G})=>`Number enum members need to be initialized, e.g. \`${G} = 1\` in enum \`${f}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:f})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${f}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:f})=>`Unexpected reserved type ${f}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:f,suggestion:G})=>`\`declare export ${f}\` is not supported. Use \`${G}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Z6f(f){return f.type==="DeclareExportAllDeclaration"||f.type==="DeclareExportDeclaration"&&(!f.declaration||f.declaration.type!=="TypeAlias"&&f.declaration.type!=="InterfaceDeclaration")}function A8(f){return f.importKind==="type"||f.importKind==="typeof"}var Y6f={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function z6f(f,G){let X=[],J=[];for(let W=0;W<f.length;W++)(G(f[W],W,f)?X:J).push(f[W]);return[X,J]}var B6f=/\*?\s*@((?:no)?flow)\b/,M6f=(f)=>class G extends f{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return _8}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(X,J){if(X!==134&&X!==13&&X!==28){if(this.flowPragma===void 0)this.flowPragma=null}super.finishToken(X,J)}addComment(X){if(this.flowPragma===void 0){let J=B6f.exec(X.value);if(!J);else if(J[1]==="flow")this.flowPragma="flow";else if(J[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(X)}flowParseTypeInitialiser(X){let J=this.state.inType;this.state.inType=!0,this.expect(X||14);let W=this.flowParseType();return this.state.inType=J,W}flowParsePredicate(){let X=this.startNode(),J=this.state.startLoc;if(this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>J.index+1)this.raise(n.UnexpectedSpaceBetweenModuloChecks,J);if(this.eat(10))return X.value=super.parseExpression(),this.expect(11),this.finishNode(X,"DeclaredPredicate");else return this.finishNode(X,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let X=this.state.inType;this.state.inType=!0,this.expect(14);let J=null,W=null;if(this.match(54))this.state.inType=X,W=this.flowParsePredicate();else if(J=this.flowParseType(),this.state.inType=X,this.match(54))W=this.flowParsePredicate();return[J,W]}flowParseDeclareClass(X){return this.next(),this.flowParseInterfaceish(X,!0),this.finishNode(X,"DeclareClass")}flowParseDeclareFunction(X){this.next();let J=X.id=this.parseIdentifier(),W=this.startNode(),R=this.startNode();if(this.match(47))W.typeParameters=this.flowParseTypeParameterDeclaration();else W.typeParameters=null;this.expect(10);let V=this.flowParseFunctionTypeParams();return W.params=V.params,W.rest=V.rest,W.this=V._this,this.expect(11),[W.returnType,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),R.typeAnnotation=this.finishNode(W,"FunctionTypeAnnotation"),J.typeAnnotation=this.finishNode(R,"TypeAnnotation"),this.resetEndLocation(J),this.semicolon(),this.scope.declareName(X.id.name,2048,X.id.loc.start),this.finishNode(X,"DeclareFunction")}flowParseDeclare(X,J){if(this.match(80))return this.flowParseDeclareClass(X);else if(this.match(68))return this.flowParseDeclareFunction(X);else if(this.match(74))return this.flowParseDeclareVariable(X);else if(this.eatContextual(127))if(this.match(16))return this.flowParseDeclareModuleExports(X);else{if(J)this.raise(n.NestedDeclareModule,this.state.lastTokStartLoc);return this.flowParseDeclareModule(X)}else if(this.isContextual(130))return this.flowParseDeclareTypeAlias(X);else if(this.isContextual(131))return this.flowParseDeclareOpaqueType(X);else if(this.isContextual(129))return this.flowParseDeclareInterface(X);else if(this.match(82))return this.flowParseDeclareExportDeclaration(X,J);else this.unexpected()}flowParseDeclareVariable(X){return this.next(),X.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(X.id.name,5,X.id.loc.start),this.semicolon(),this.finishNode(X,"DeclareVariable")}flowParseDeclareModule(X){if(this.scope.enter(0),this.match(134))X.id=super.parseExprAtom();else X.id=this.parseIdentifier();let J=X.body=this.startNode(),W=J.body=[];this.expect(5);while(!this.match(8)){let H=this.startNode();if(this.match(83)){if(this.next(),!this.isContextual(130)&&!this.match(87))this.raise(n.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc);super.parseImport(H)}else this.expectContextual(125,n.UnsupportedStatementInDeclareModule),H=this.flowParseDeclare(H,!0);W.push(H)}this.scope.exit(),this.expect(8),this.finishNode(J,"BlockStatement");let R=null,V=!1;return W.forEach((H)=>{if(Z6f(H)){if(R==="CommonJS")this.raise(n.AmbiguousDeclareModuleKind,H);R="ES"}else if(H.type==="DeclareModuleExports"){if(V)this.raise(n.DuplicateDeclareModuleExports,H);if(R==="ES")this.raise(n.AmbiguousDeclareModuleKind,H);R="CommonJS",V=!0}}),X.kind=R||"CommonJS",this.finishNode(X,"DeclareModule")}flowParseDeclareExportDeclaration(X,J){if(this.expect(82),this.eat(65)){if(this.match(68)||this.match(80))X.declaration=this.flowParseDeclare(this.startNode());else X.declaration=this.flowParseType(),this.semicolon();return X.default=!0,this.finishNode(X,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!J){let W=this.state.value;throw this.raise(n.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:W,suggestion:Y6f[W]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return X.declaration=this.flowParseDeclare(this.startNode()),X.default=!1,this.finishNode(X,"DeclareExportDeclaration");else if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)){if(X=this.parseExport(X,null),X.type==="ExportNamedDeclaration")X.type="ExportDeclaration",X.default=!1,delete X.exportKind;return X.type="Declare"+X.type,X}}this.unexpected()}flowParseDeclareModuleExports(X){return this.next(),this.expectContextual(111),X.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(X,"DeclareModuleExports")}flowParseDeclareTypeAlias(X){this.next();let J=this.flowParseTypeAlias(X);return J.type="DeclareTypeAlias",J}flowParseDeclareOpaqueType(X){this.next();let J=this.flowParseOpaqueType(X,!0);return J.type="DeclareOpaqueType",J}flowParseDeclareInterface(X){return this.next(),this.flowParseInterfaceish(X,!1),this.finishNode(X,"DeclareInterface")}flowParseInterfaceish(X,J){if(X.id=this.flowParseRestrictedIdentifier(!J,!0),this.scope.declareName(X.id.name,J?17:8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(!J&&this.eat(12));if(J){if(X.implements=[],X.mixins=[],this.eatContextual(117))do X.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do X.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}X.body=this.flowParseObjectType({allowStatic:J,allowExact:!1,allowSpread:!1,allowProto:J,allowInexact:!1})}flowParseInterfaceExtends(){let X=this.startNode();if(X.id=this.flowParseQualifiedTypeIdentifier(),this.match(47))X.typeParameters=this.flowParseTypeParameterInstantiation();else X.typeParameters=null;return this.finishNode(X,"InterfaceExtends")}flowParseInterface(X){return this.flowParseInterfaceish(X,!1),this.finishNode(X,"InterfaceDeclaration")}checkNotUnderscore(X){if(X==="_")this.raise(n.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(X,J,W){if(!Q6f.has(X))return;this.raise(W?n.AssignReservedType:n.UnexpectedReservedType,J,{reservedType:X})}flowParseRestrictedIdentifier(X,J){return this.checkReservedType(this.state.value,this.state.startLoc,J),this.parseIdentifier(X)}flowParseTypeAlias(X){if(X.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;return X.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(X,"TypeAlias")}flowParseOpaqueType(X,J){if(this.expectContextual(130),X.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.supertype=null,this.match(14))X.supertype=this.flowParseTypeInitialiser(14);if(X.impltype=null,!J)X.impltype=this.flowParseTypeInitialiser(29);return this.semicolon(),this.finishNode(X,"OpaqueType")}flowParseTypeParameter(X=!1){let J=this.state.startLoc,W=this.startNode(),R=this.flowParseVariance(),V=this.flowParseTypeAnnotatableIdentifier();if(W.name=V.name,W.variance=R,W.bound=V.typeAnnotation,this.match(29))this.eat(29),W.default=this.flowParseType();else if(X)this.raise(n.MissingTypeParamDefault,J);return this.finishNode(W,"TypeParameter")}flowParseTypeParameterDeclaration(){let X=this.state.inType,J=this.startNode();if(J.params=[],this.state.inType=!0,this.match(47)||this.match(143))this.next();else this.unexpected();let W=!1;do{let R=this.flowParseTypeParameter(W);if(J.params.push(R),R.default)W=!0;if(!this.match(48))this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=X,this.finishNode(J,"TypeParameterDeclaration")}flowInTopLevelContext(X){if(this.curContext()!==Sf.brace){let J=this.state.context;this.state.context=[J[0]];try{return X()}finally{this.state.context=J}}else return X()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()!==47)return;return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let X=this.startNode(),J=this.state.inType;if(this.state.inType=!0,X.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let W=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!1;while(!this.match(48))if(X.params.push(this.flowParseType()),!this.match(48))this.expect(12);this.state.noAnonFunctionType=W}),this.state.inType=J,!this.state.inType&&this.curContext()===Sf.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let X=this.startNode(),J=this.state.inType;X.params=[],this.state.inType=!0,this.expect(47);while(!this.match(48))if(X.params.push(this.flowParseTypeOrImplicitInstantiation()),!this.match(48))this.expect(12);return this.expect(48),this.state.inType=J,this.finishNode(X,"TypeParameterInstantiation")}flowParseInterfaceType(){let X=this.startNode();if(this.expectContextual(129),X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return X.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(X,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(X,J,W){if(X.static=J,this.lookahead().type===14)X.id=this.flowParseObjectPropertyKey(),X.key=this.flowParseTypeInitialiser();else X.id=null,X.key=this.flowParseType();return this.expect(3),X.value=this.flowParseTypeInitialiser(),X.variance=W,this.finishNode(X,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(X,J){if(X.static=J,X.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10))X.method=!0,X.optional=!1,X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start));else{if(X.method=!1,this.eat(17))X.optional=!0;X.value=this.flowParseTypeInitialiser()}return this.finishNode(X,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(X){if(X.params=[],X.rest=null,X.typeParameters=null,X.this=null,this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();if(this.expect(10),this.match(78)){if(X.this=this.flowParseFunctionTypeParam(!0),X.this.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.params.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))X.rest=this.flowParseFunctionTypeParam(!1);return this.expect(11),X.returnType=this.flowParseTypeInitialiser(),this.finishNode(X,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(X,J){let W=this.startNode();return X.static=J,X.value=this.flowParseObjectTypeMethodish(W),this.finishNode(X,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:X,allowExact:J,allowSpread:W,allowProto:R,allowInexact:V}){let H=this.state.inType;this.state.inType=!0;let U=this.startNode();U.callProperties=[],U.properties=[],U.indexers=[],U.internalSlots=[];let Q,Y,S=!1;if(J&&this.match(6))this.expect(6),Q=9,Y=!0;else this.expect(5),Q=8,Y=!1;U.exact=Y;while(!this.match(Q)){let A=!1,j=null,b=null,I=this.startNode();if(R&&this.isContextual(118)){let w=this.lookahead();if(w.type!==14&&w.type!==17)this.next(),j=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){let w=this.lookahead();if(w.type!==14&&w.type!==17)this.next(),A=!0}let L=this.flowParseVariance();if(this.eat(0)){if(j!=null)this.unexpected(j);if(this.eat(0)){if(L)this.unexpected(L.loc.start);U.internalSlots.push(this.flowParseObjectTypeInternalSlot(I,A))}else U.indexers.push(this.flowParseObjectTypeIndexer(I,A,L))}else if(this.match(10)||this.match(47)){if(j!=null)this.unexpected(j);if(L)this.unexpected(L.loc.start);U.callProperties.push(this.flowParseObjectTypeCallProperty(I,A))}else{let w="init";if(this.isContextual(99)||this.isContextual(104)){let p=this.lookahead();if(T8(p.type))w=this.state.value,this.next()}let Xf=this.flowParseObjectTypeProperty(I,A,j,L,w,W,V!=null?V:!Y);if(Xf===null)S=!0,b=this.state.lastTokStartLoc;else U.properties.push(Xf)}if(this.flowObjectTypeSemicolon(),b&&!this.match(8)&&!this.match(9))this.raise(n.UnexpectedExplicitInexactInObject,b)}if(this.expect(Q),W)U.inexact=S;let C=this.finishNode(U,"ObjectTypeAnnotation");return this.state.inType=H,C}flowParseObjectTypeProperty(X,J,W,R,V,H,U){if(this.eat(21)){if(this.match(12)||this.match(13)||this.match(8)||this.match(9)){if(!H)this.raise(n.InexactInsideNonObject,this.state.lastTokStartLoc);else if(!U)this.raise(n.InexactInsideExact,this.state.lastTokStartLoc);if(R)this.raise(n.InexactVariance,R);return null}if(!H)this.raise(n.UnexpectedSpreadType,this.state.lastTokStartLoc);if(W!=null)this.unexpected(W);if(R)this.raise(n.SpreadVariance,R);return X.argument=this.flowParseType(),this.finishNode(X,"ObjectTypeSpreadProperty")}else{X.key=this.flowParseObjectPropertyKey(),X.static=J,X.proto=W!=null,X.kind=V;let Q=!1;if(this.match(47)||this.match(10)){if(X.method=!0,W!=null)this.unexpected(W);if(R)this.unexpected(R.loc.start);if(X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start)),V==="get"||V==="set")this.flowCheckGetterSetterParams(X);if(!H&&X.key.name==="constructor"&&X.value.this)this.raise(n.ThisParamBannedInConstructor,X.value.this)}else{if(V!=="init")this.unexpected();if(X.method=!1,this.eat(17))Q=!0;X.value=this.flowParseTypeInitialiser(),X.variance=R}return X.optional=Q,this.finishNode(X,"ObjectTypeProperty")}}flowCheckGetterSetterParams(X){let J=X.kind==="get"?0:1,W=X.value.params.length+(X.value.rest?1:0);if(X.value.this)this.raise(X.kind==="get"?n.GetterMayNotHaveThisParam:n.SetterMayNotHaveThisParam,X.value.this);if(W!==J)this.raise(X.kind==="get"?$.BadGetterArity:$.BadSetterArity,X);if(X.kind==="set"&&X.value.rest)this.raise($.BadSetterRestParameter,X)}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9))this.unexpected()}flowParseQualifiedTypeIdentifier(X,J){var W;(W=X)!=null||(X=this.state.startLoc);let R=J||this.flowParseRestrictedIdentifier(!0);while(this.eat(16)){let V=this.startNodeAt(X);V.qualification=R,V.id=this.flowParseRestrictedIdentifier(!0),R=this.finishNode(V,"QualifiedTypeIdentifier")}return R}flowParseGenericType(X,J){let W=this.startNodeAt(X);if(W.typeParameters=null,W.id=this.flowParseQualifiedTypeIdentifier(X,J),this.match(47))W.typeParameters=this.flowParseTypeParameterInstantiation();return this.finishNode(W,"GenericTypeAnnotation")}flowParseTypeofType(){let X=this.startNode();return this.expect(87),X.argument=this.flowParsePrimaryType(),this.finishNode(X,"TypeofTypeAnnotation")}flowParseTupleType(){let X=this.startNode();X.types=[],this.expect(0);while(this.state.pos<this.length&&!this.match(3)){if(X.types.push(this.flowParseType()),this.match(3))break;this.expect(12)}return this.expect(3),this.finishNode(X,"TupleTypeAnnotation")}flowParseFunctionTypeParam(X){let J=null,W=!1,R=null,V=this.startNode(),H=this.lookahead(),U=this.state.type===78;if(H.type===14||H.type===17){if(U&&!X)this.raise(n.ThisParamMustBeFirst,V);if(J=this.parseIdentifier(U),this.eat(17)){if(W=!0,U)this.raise(n.ThisParamMayNotBeOptional,V)}R=this.flowParseTypeInitialiser()}else R=this.flowParseType();return V.name=J,V.optional=W,V.typeAnnotation=R,this.finishNode(V,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(X){let J=this.startNodeAt(X.loc.start);return J.name=null,J.optional=!1,J.typeAnnotation=X,this.finishNode(J,"FunctionTypeParam")}flowParseFunctionTypeParams(X=[]){let J=null,W=null;if(this.match(78)){if(W=this.flowParseFunctionTypeParam(!0),W.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))J=this.flowParseFunctionTypeParam(!1);return{params:X,rest:J,_this:W}}flowIdentToTypeAnnotation(X,J,W){switch(W.name){case"any":return this.finishNode(J,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(J,"BooleanTypeAnnotation");case"mixed":return this.finishNode(J,"MixedTypeAnnotation");case"empty":return this.finishNode(J,"EmptyTypeAnnotation");case"number":return this.finishNode(J,"NumberTypeAnnotation");case"string":return this.finishNode(J,"StringTypeAnnotation");case"symbol":return this.finishNode(J,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(W.name),this.flowParseGenericType(X,W)}}flowParsePrimaryType(){let X=this.state.startLoc,J=this.startNode(),W,R,V=!1,H=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,R=this.flowParseTupleType(),this.state.noAnonFunctionType=H,R;case 47:{let U=this.startNode();return U.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),W=this.flowParseFunctionTypeParams(),U.params=W.params,U.rest=W.rest,U.this=W._this,this.expect(11),this.expect(19),U.returnType=this.flowParseType(),this.finishNode(U,"FunctionTypeAnnotation")}case 10:{let U=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if($f(this.state.type)||this.match(78)){let Q=this.lookahead().type;V=Q!==17&&Q!==14}else V=!0;if(V)if(this.state.noAnonFunctionType=!1,R=this.flowParseType(),this.state.noAnonFunctionType=H,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),R;else this.eat(12);if(R)W=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(R)]);else W=this.flowParseFunctionTypeParams();return U.params=W.params,U.rest=W.rest,U.this=W._this,this.expect(11),this.expect(19),U.returnType=this.flowParseType(),U.typeParameters=null,this.finishNode(U,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return J.value=this.match(85),this.next(),this.finishNode(J,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",J);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",J);throw this.raise(n.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(J,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(J,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(J,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(J,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(wW(this.state.type)){let U=xG(this.state.type);return this.next(),super.createIdentifier(J,U)}else if($f(this.state.type)){if(this.isContextual(129))return this.flowParseInterfaceType();return this.flowIdentToTypeAnnotation(X,J,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){let X=this.state.startLoc,J=this.flowParsePrimaryType(),W=!1;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){let R=this.startNodeAt(X),V=this.eat(18);if(W=W||V,this.expect(0),!V&&this.match(3))R.elementType=J,this.next(),J=this.finishNode(R,"ArrayTypeAnnotation");else if(R.objectType=J,R.indexType=this.flowParseType(),this.expect(3),W)R.optional=V,J=this.finishNode(R,"OptionalIndexedAccessType");else J=this.finishNode(R,"IndexedAccessType")}return J}flowParsePrefixType(){let X=this.startNode();if(this.eat(17))return X.typeAnnotation=this.flowParsePrefixType(),this.finishNode(X,"NullableTypeAnnotation");else return this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let X=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let J=this.startNodeAt(X.loc.start);return J.params=[this.reinterpretTypeAsFunctionTypeParam(X)],J.rest=null,J.this=null,J.returnType=this.flowParseType(),J.typeParameters=null,this.finishNode(J,"FunctionTypeAnnotation")}return X}flowParseIntersectionType(){let X=this.startNode();this.eat(45);let J=this.flowParseAnonFunctionWithoutParens();X.types=[J];while(this.eat(45))X.types.push(this.flowParseAnonFunctionWithoutParens());return X.types.length===1?J:this.finishNode(X,"IntersectionTypeAnnotation")}flowParseUnionType(){let X=this.startNode();this.eat(43);let J=this.flowParseIntersectionType();X.types=[J];while(this.eat(43))X.types.push(this.flowParseIntersectionType());return X.types.length===1?J:this.finishNode(X,"UnionTypeAnnotation")}flowParseType(){let X=this.state.inType;this.state.inType=!0;let J=this.flowParseUnionType();return this.state.inType=X,J}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let X=this.state.startLoc,J=this.parseIdentifier();return this.flowParseGenericType(X,J)}else return this.flowParseType()}flowParseTypeAnnotation(){let X=this.startNode();return X.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(X,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(X){let J=X?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14))J.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(J);return J}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}flowParseVariance(){let X=null;if(this.match(53)){if(X=this.startNode(),this.state.value==="+")X.kind="plus";else X.kind="minus";return this.next(),this.finishNode(X,"Variance")}return X}parseFunctionBody(X,J,W=!1){if(J){this.forwardNoArrowParamsConversionAt(X,()=>super.parseFunctionBody(X,!0,W));return}super.parseFunctionBody(X,!1,W)}parseFunctionBodyAndFinish(X,J,W=!1){if(this.match(14)){let R=this.startNode();[R.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),X.returnType=R.typeAnnotation?this.finishNode(R,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(X,J,W)}parseStatementLike(X){if(this.state.strict&&this.isContextual(129)){let W=this.lookahead();if(UG(W.type)){let R=this.startNode();return this.next(),this.flowParseInterface(R)}}else if(this.isContextual(126)){let W=this.startNode();return this.next(),this.flowParseEnumDeclaration(W)}let J=super.parseStatementLike(X);if(this.flowPragma===void 0&&!this.isValidDirective(J))this.flowPragma=null;return J}parseExpressionStatement(X,J,W){if(J.type==="Identifier"){if(J.name==="declare"){if(this.match(80)||$f(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(X)}else if($f(this.state.type)){if(J.name==="interface")return this.flowParseInterface(X);else if(J.name==="type")return this.flowParseTypeAlias(X);else if(J.name==="opaque")return this.flowParseOpaqueType(X,!1)}}return super.parseExpressionStatement(X,J,W)}shouldParseExportDeclaration(){let{type:X}=this.state;if(X===126||S8(X))return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:X}=this.state;if(X===126||S8(X))return this.state.containsEsc;return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let X=this.startNode();return this.next(),this.flowParseEnumDeclaration(X)}return super.parseExportDefaultExpression()}parseConditional(X,J,W){if(!this.match(17))return X;if(this.state.maybeInArrowParameters){let C=this.lookaheadCharCode();if(C===44||C===61||C===58||C===41)return this.setOptionalParametersError(W),X}this.expect(17);let R=this.state.clone(),V=this.state.noArrowAt,H=this.startNodeAt(J),{consequent:U,failed:Q}=this.tryParseConditionalConsequent(),[Y,S]=this.getArrowLikeExpressions(U);if(Q||S.length>0){let C=[...V];if(S.length>0){this.state=R,this.state.noArrowAt=C;for(let A=0;A<S.length;A++)C.push(S[A].start);({consequent:U,failed:Q}=this.tryParseConditionalConsequent()),[Y,S]=this.getArrowLikeExpressions(U)}if(Q&&Y.length>1)this.raise(n.AmbiguousConditionalArrow,R.startLoc);if(Q&&Y.length===1)this.state=R,C.push(Y[0].start),this.state.noArrowAt=C,{consequent:U,failed:Q}=this.tryParseConditionalConsequent()}return this.getArrowLikeExpressions(U,!0),this.state.noArrowAt=V,this.expect(14),H.test=X,H.consequent=U,H.alternate=this.forwardNoArrowParamsConversionAt(H,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(H,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let X=this.parseMaybeAssignAllowIn(),J=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:X,failed:J}}getArrowLikeExpressions(X,J){let W=[X],R=[];while(W.length!==0){let V=W.pop();if(V.type==="ArrowFunctionExpression"&&V.body.type!=="BlockStatement"){if(V.typeParameters||!V.returnType)this.finishArrowValidation(V);else R.push(V);W.push(V.body)}else if(V.type==="ConditionalExpression")W.push(V.consequent),W.push(V.alternate)}if(J)return R.forEach((V)=>this.finishArrowValidation(V)),[R,[]];return z6f(R,(V)=>V.params.every((H)=>this.isAssignable(H,!0)))}finishArrowValidation(X){var J;this.toAssignableList(X.params,(J=X.extra)==null?void 0:J.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(X,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(X,J){let W;if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))this.state.noArrowParamsConversionAt.push(this.state.start),W=J(),this.state.noArrowParamsConversionAt.pop();else W=J();return W}parseParenItem(X,J){let W=super.parseParenItem(X,J);if(this.eat(17))W.optional=!0,this.resetEndLocation(X);if(this.match(14)){let R=this.startNodeAt(J);return R.expression=W,R.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(R,"TypeCastExpression")}return W}assertModuleNodeAllowed(X){if(X.type==="ImportDeclaration"&&(X.importKind==="type"||X.importKind==="typeof")||X.type==="ExportNamedDeclaration"&&X.exportKind==="type"||X.type==="ExportAllDeclaration"&&X.exportKind==="type")return;super.assertModuleNodeAllowed(X)}parseExportDeclaration(X){if(this.isContextual(130)){X.exportKind="type";let J=this.startNode();if(this.next(),this.match(5))return X.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(X),null;else return this.flowParseTypeAlias(J)}else if(this.isContextual(131)){X.exportKind="type";let J=this.startNode();return this.next(),this.flowParseOpaqueType(J,!1)}else if(this.isContextual(129)){X.exportKind="type";let J=this.startNode();return this.next(),this.flowParseInterface(J)}else if(this.isContextual(126)){X.exportKind="value";let J=this.startNode();return this.next(),this.flowParseEnumDeclaration(J)}else return super.parseExportDeclaration(X)}eatExportStar(X){if(super.eatExportStar(X))return!0;if(this.isContextual(130)&&this.lookahead().type===55)return X.exportKind="type",this.next(),this.next(),!0;return!1}maybeParseExportNamespaceSpecifier(X){let{startLoc:J}=this.state,W=super.maybeParseExportNamespaceSpecifier(X);if(W&&X.exportKind==="type")this.unexpected(J);return W}parseClassId(X,J,W){if(super.parseClassId(X,J,W),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration()}parseClassMember(X,J,W){let{startLoc:R}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(X,J))return;J.declare=!0}if(super.parseClassMember(X,J,W),J.declare){if(J.type!=="ClassProperty"&&J.type!=="ClassPrivateProperty"&&J.type!=="PropertyDefinition")this.raise(n.DeclareClassElement,R);else if(J.value)this.raise(n.DeclareClassFieldInitializer,J.value)}}isIterator(X){return X==="iterator"||X==="asyncIterator"}readIterator(){let X=super.readWord1(),J="@@"+X;if(!this.isIterator(X)||!this.state.inType)this.raise($.InvalidIdentifier,this.state.curPosition(),{identifierName:J});this.finishToken(132,J)}getTokenFromCode(X){let J=this.input.charCodeAt(this.state.pos+1);if(X===123&&J===124)this.finishOp(6,2);else if(this.state.inType&&(X===62||X===60))this.finishOp(X===62?48:47,1);else if(this.state.inType&&X===63)if(J===46)this.finishOp(18,2);else this.finishOp(17,1);else if(sWf(X,J,this.input.charCodeAt(this.state.pos+2)))this.state.pos+=2,this.readIterator();else super.getTokenFromCode(X)}isAssignable(X,J){if(X.type==="TypeCastExpression")return this.isAssignable(X.expression,J);else return super.isAssignable(X,J)}toAssignable(X,J=!1){if(!J&&X.type==="AssignmentExpression"&&X.left.type==="TypeCastExpression")X.left=this.typeCastToParameter(X.left);super.toAssignable(X,J)}toAssignableList(X,J,W){for(let R=0;R<X.length;R++){let V=X[R];if((V==null?void 0:V.type)==="TypeCastExpression")X[R]=this.typeCastToParameter(V)}super.toAssignableList(X,J,W)}toReferencedList(X,J){for(let R=0;R<X.length;R++){var W;let V=X[R];if(V&&V.type==="TypeCastExpression"&&!((W=V.extra)!=null&&W.parenthesized)&&(X.length>1||!J))this.raise(n.TypeCastInPattern,V.typeAnnotation)}return X}parseArrayLike(X,J,W,R){let V=super.parseArrayLike(X,J,W,R);if(J&&!this.state.maybeInArrowParameters)this.toReferencedList(V.elements);return V}isValidLVal(X,J,W){return X==="TypeCastExpression"||super.isValidLVal(X,J,W)}parseClassProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassPrivateProperty(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(X){return!this.match(14)&&super.isNonstaticConstructor(X)}pushClassMethod(X,J,W,R,V,H){if(J.variance)this.unexpected(J.variance.loc.start);if(delete J.variance,this.match(47))J.typeParameters=this.flowParseTypeParameterDeclaration();if(super.pushClassMethod(X,J,W,R,V,H),J.params&&V){let U=J.params;if(U.length>0&&this.isThisParam(U[0]))this.raise(n.ThisParamBannedInConstructor,J)}else if(J.type==="MethodDefinition"&&V&&J.value.params){let U=J.value.params;if(U.length>0&&this.isThisParam(U[0]))this.raise(n.ThisParamBannedInConstructor,J)}}pushClassPrivateMethod(X,J,W,R){if(J.variance)this.unexpected(J.variance.loc.start);if(delete J.variance,this.match(47))J.typeParameters=this.flowParseTypeParameterDeclaration();super.pushClassPrivateMethod(X,J,W,R)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression();if(this.isContextual(113)){this.next();let J=X.implements=[];do{let W=this.startNode();if(W.id=this.flowParseRestrictedIdentifier(!0),this.match(47))W.typeParameters=this.flowParseTypeParameterInstantiation();else W.typeParameters=null;J.push(this.finishNode(W,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(X){super.checkGetterSetterParams(X);let J=this.getObjectOrClassMethodParams(X);if(J.length>0){let W=J[0];if(this.isThisParam(W)&&X.kind==="get")this.raise(n.GetterMayNotHaveThisParam,W);else if(this.isThisParam(W))this.raise(n.SetterMayNotHaveThisParam,W)}}parsePropertyNamePrefixOperator(X){X.variance=this.flowParseVariance()}parseObjPropValue(X,J,W,R,V,H,U){if(X.variance)this.unexpected(X.variance.loc.start);delete X.variance;let Q;if(this.match(47)&&!H){if(Q=this.flowParseTypeParameterDeclaration(),!this.match(10))this.unexpected()}let Y=super.parseObjPropValue(X,J,W,R,V,H,U);if(Q)(Y.value||Y).typeParameters=Q;return Y}parseFunctionParamType(X){if(this.eat(17)){if(X.type!=="Identifier")this.raise(n.PatternIsOptional,X);if(this.isThisParam(X))this.raise(n.ThisParamMayNotBeOptional,X);X.optional=!0}if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();else if(this.isThisParam(X))this.raise(n.ThisParamAnnotationRequired,X);if(this.match(29)&&this.isThisParam(X))this.raise(n.ThisParamNoDefault,X);return this.resetEndLocation(X),X}parseMaybeDefault(X,J){let W=super.parseMaybeDefault(X,J);if(W.type==="AssignmentPattern"&&W.typeAnnotation&&W.right.start<W.typeAnnotation.start)this.raise(n.TypeBeforeInitializer,W.typeAnnotation);return W}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(n.ImportReflectionHasImportType,X.specifiers[0].loc.start)}parseImportSpecifierLocal(X,J,W){J.local=A8(X)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),X.specifiers.push(this.finishImportSpecifier(J,W))}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){if(!X)return!0;let J=this.lookaheadCharCode();return J===123||J===42}return!X&&this.isContextual(87)}applyImportPhase(X,J,W,R){if(super.applyImportPhase(X,J,W,R),J){if(!W&&this.match(65))return;X.exportKind=W==="type"?W:"value"}else{if(W==="type"&&this.match(55))this.unexpected();X.importKind=W==="type"||W==="typeof"?W:"value"}}parseImportSpecifier(X,J,W,R,V){let H=X.imported,U=null;if(H.type==="Identifier"){if(H.name==="type")U="type";else if(H.name==="typeof")U="typeof"}let Q=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let S=this.parseIdentifier(!0);if(U!==null&&!UG(this.state.type))X.imported=S,X.importKind=U,X.local=TG(S);else X.imported=H,X.importKind=null,X.local=this.parseIdentifier()}else{if(U!==null&&UG(this.state.type))X.imported=this.parseIdentifier(!0),X.importKind=U;else{if(J)throw this.raise($.ImportBindingIsString,X,{importName:H.value});X.imported=H,X.importKind=null}if(this.eatContextual(93))X.local=this.parseIdentifier();else Q=!0,X.local=TG(X.imported)}let Y=A8(X);if(W&&Y)this.raise(n.ImportTypeShorthandOnlyInPureImport,X);if(W||Y)this.checkReservedType(X.local.name,X.local.loc.start,!0);if(Q&&!W&&!Y)this.checkReservedWord(X.local.name,X.loc.start,!0,!0);return this.finishImportSpecifier(X,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(X,J){let W=X.kind;if(W!=="get"&&W!=="set"&&this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();super.parseFunctionParams(X,J)}parseVarId(X,J){if(super.parseVarId(X,J),this.match(14))X.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,J){if(this.match(14)){let W=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,X.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=W}return super.parseAsyncArrowFromCallExpression(X,J)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(X,J){var W;let R=null,V;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(R=this.state.clone(),V=this.tryParse(()=>super.parseMaybeAssign(X,J),R),!V.error)return V.node;let{context:Q}=this.state,Y=Q[Q.length-1];if(Y===Sf.j_oTag||Y===Sf.j_expr)Q.pop()}if((W=V)!=null&&W.error||this.match(47)){var H,U;R=R||this.state.clone();let Q,Y=this.tryParse((C)=>{var A;Q=this.flowParseTypeParameterDeclaration();let j=this.forwardNoArrowParamsConversionAt(Q,()=>{let I=super.parseMaybeAssign(X,J);return this.resetStartLocationFromNode(I,Q),I});if((A=j.extra)!=null&&A.parenthesized)C();let b=this.maybeUnwrapTypeCastExpression(j);if(b.type!=="ArrowFunctionExpression")C();return b.typeParameters=Q,this.resetStartLocationFromNode(b,Q),j},R),S=null;if(Y.node&&this.maybeUnwrapTypeCastExpression(Y.node).type==="ArrowFunctionExpression"){if(!Y.error&&!Y.aborted){if(Y.node.async)this.raise(n.UnexpectedTypeParameterBeforeAsyncArrowFunction,Q);return Y.node}S=Y.node}if((H=V)!=null&&H.node)return this.state=V.failState,V.node;if(S)return this.state=Y.failState,S;if((U=V)!=null&&U.thrown)throw V.error;if(Y.thrown)throw Y.error;throw this.raise(n.UnexpectedTokenAfterTypeParameter,Q)}return super.parseMaybeAssign(X,J)}parseArrow(X){if(this.match(14)){let J=this.tryParse(()=>{let W=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let R=this.startNode();if([R.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=W,this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return R});if(J.thrown)return null;if(J.error)this.state=J.failState;X.returnType=J.node.typeAnnotation?this.finishNode(J.node,"TypeAnnotation"):null}return super.parseArrow(X)}shouldParseArrow(X){return this.match(14)||super.shouldParseArrow(X)}setArrowFunctionParameters(X,J){if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))X.params=J;else super.setArrowFunctionParameters(X,J)}checkParams(X,J,W,R=!0){if(W&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))return;for(let V=0;V<X.params.length;V++)if(this.isThisParam(X.params[V])&&V>0)this.raise(n.ThisParamMustBeFirst,X.params[V]);super.checkParams(X,J,W,R)}parseParenAndDistinguishExpression(X){return super.parseParenAndDistinguishExpression(X&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(X,J,W){if(X.type==="Identifier"&&X.name==="async"&&this.state.noArrowAt.includes(J.index)){this.next();let R=this.startNodeAt(J);R.callee=X,R.arguments=super.parseCallExpressionArguments(11),X=this.finishNode(R,"CallExpression")}else if(X.type==="Identifier"&&X.name==="async"&&this.match(47)){let R=this.state.clone(),V=this.tryParse((U)=>this.parseAsyncArrowWithTypeParameters(J)||U(),R);if(!V.error&&!V.aborted)return V.node;let H=this.tryParse(()=>super.parseSubscripts(X,J,W),R);if(H.node&&!H.error)return H.node;if(V.node)return this.state=V.failState,V.node;if(H.node)return this.state=H.failState,H.node;throw V.error||H.error}return super.parseSubscripts(X,J,W)}parseSubscript(X,J,W,R){if(this.match(18)&&this.isLookaheadToken_lt()){if(R.optionalChainMember=!0,W)return R.stop=!0,X;this.next();let V=this.startNodeAt(J);return V.callee=X,V.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),V.arguments=this.parseCallExpressionArguments(11),V.optional=!0,this.finishCallExpression(V,!0)}else if(!W&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let V=this.startNodeAt(J);V.callee=X;let H=this.tryParse(()=>{if(V.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),V.arguments=super.parseCallExpressionArguments(11),R.optionalChainMember)V.optional=!1;return this.finishCallExpression(V,R.optionalChainMember)});if(H.node){if(H.error)this.state=H.failState;return H.node}}return super.parseSubscript(X,J,W,R)}parseNewCallee(X){super.parseNewCallee(X);let J=null;if(this.shouldParseTypes()&&this.match(47))J=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node;X.typeArguments=J}parseAsyncArrowWithTypeParameters(X){let J=this.startNodeAt(X);if(this.parseFunctionParams(J,!1),!this.parseArrow(J))return;return super.parseArrowExpression(J,void 0,!0)}readToken_mult_modulo(X){let J=this.input.charCodeAt(this.state.pos+1);if(X===42&&J===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(X)}readToken_pipe_amp(X){let J=this.input.charCodeAt(this.state.pos+1);if(X===124&&J===125){this.finishOp(9,2);return}super.readToken_pipe_amp(X)}parseTopLevel(X,J){let W=super.parseTopLevel(X,J);if(this.state.hasFlowComment)this.raise(n.UnterminatedFlowComment,this.state.curPosition());return W}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(n.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let X=this.skipFlowComment();if(X)this.state.pos+=X,this.state.hasFlowComment=!0;return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:X}=this.state,J=2;while([32,9].includes(this.input.charCodeAt(X+J)))J++;let W=this.input.charCodeAt(J+X),R=this.input.charCodeAt(J+X+1);if(W===58&&R===58)return J+2;if(this.input.slice(J+X,J+X+12)==="flow-include")return J+12;if(W===58&&R!==58)return J;return!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise($.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(X,{enumName:J,memberName:W}){this.raise(n.EnumBooleanMemberNotInitialized,X,{memberName:W,enumName:J})}flowEnumErrorInvalidMemberInitializer(X,J){return this.raise(!J.explicitType?n.EnumInvalidMemberInitializerUnknownType:J.explicitType==="symbol"?n.EnumInvalidMemberInitializerSymbolType:n.EnumInvalidMemberInitializerPrimaryType,X,J)}flowEnumErrorNumberMemberNotInitialized(X,J){this.raise(n.EnumNumberMemberNotInitialized,X,J)}flowEnumErrorStringMemberInconsistentlyInitialized(X,J){this.raise(n.EnumStringMemberInconsistentlyInitialized,X,J)}flowEnumMemberInit(){let X=this.state.startLoc,J=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let W=this.parseNumericLiteral(this.state.value);if(J())return{type:"number",loc:W.loc.start,value:W};return{type:"invalid",loc:X}}case 134:{let W=this.parseStringLiteral(this.state.value);if(J())return{type:"string",loc:W.loc.start,value:W};return{type:"invalid",loc:X}}case 85:case 86:{let W=this.parseBooleanLiteral(this.match(85));if(J())return{type:"boolean",loc:W.loc.start,value:W};return{type:"invalid",loc:X}}default:return{type:"invalid",loc:X}}}flowEnumMemberRaw(){let X=this.state.startLoc,J=this.parseIdentifier(!0),W=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:X};return{id:J,init:W}}flowEnumCheckExplicitTypeMismatch(X,J,W){let{explicitType:R}=J;if(R===null)return;if(R!==W)this.flowEnumErrorInvalidMemberInitializer(X,J)}flowEnumMembers({enumName:X,explicitType:J}){let W=new Set,R={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},V=!1;while(!this.match(8)){if(this.eat(21)){V=!0;break}let H=this.startNode(),{id:U,init:Q}=this.flowEnumMemberRaw(),Y=U.name;if(Y==="")continue;if(/^[a-z]/.test(Y))this.raise(n.EnumInvalidMemberName,U,{memberName:Y,suggestion:Y[0].toUpperCase()+Y.slice(1),enumName:X});if(W.has(Y))this.raise(n.EnumDuplicateMemberName,U,{memberName:Y,enumName:X});W.add(Y);let S={enumName:X,explicitType:J,memberName:Y};switch(H.id=U,Q.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(Q.loc,S,"boolean"),H.init=Q.value,R.booleanMembers.push(this.finishNode(H,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(Q.loc,S,"number"),H.init=Q.value,R.numberMembers.push(this.finishNode(H,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(Q.loc,S,"string"),H.init=Q.value,R.stringMembers.push(this.finishNode(H,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Q.loc,S);case"none":switch(J){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Q.loc,S);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Q.loc,S);break;default:R.defaultedMembers.push(this.finishNode(H,"EnumDefaultedMember"))}}if(!this.match(8))this.expect(12)}return{members:R,hasUnknownMembers:V}}flowEnumStringMembers(X,J,{enumName:W}){if(X.length===0)return J;else if(J.length===0)return X;else if(J.length>X.length){for(let R of X)this.flowEnumErrorStringMemberInconsistentlyInitialized(R,{enumName:W});return J}else{for(let R of J)this.flowEnumErrorStringMemberInconsistentlyInitialized(R,{enumName:W});return X}}flowEnumParseExplicitType({enumName:X}){if(!this.eatContextual(102))return null;if(!$f(this.state.type))throw this.raise(n.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:X});let{value:J}=this.state;if(this.next(),J!=="boolean"&&J!=="number"&&J!=="string"&&J!=="symbol")this.raise(n.EnumInvalidExplicitType,this.state.startLoc,{enumName:X,invalidEnumType:J});return J}flowEnumBody(X,J){let W=J.name,R=J.loc.start,V=this.flowEnumParseExplicitType({enumName:W});this.expect(5);let{members:H,hasUnknownMembers:U}=this.flowEnumMembers({enumName:W,explicitType:V});switch(X.hasUnknownMembers=U,V){case"boolean":return X.explicitType=!0,X.members=H.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody");case"number":return X.explicitType=!0,X.members=H.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody");case"string":return X.explicitType=!0,X.members=this.flowEnumStringMembers(H.stringMembers,H.defaultedMembers,{enumName:W}),this.expect(8),this.finishNode(X,"EnumStringBody");case"symbol":return X.members=H.defaultedMembers,this.expect(8),this.finishNode(X,"EnumSymbolBody");default:{let Q=()=>{return X.members=[],this.expect(8),this.finishNode(X,"EnumStringBody")};X.explicitType=!1;let Y=H.booleanMembers.length,S=H.numberMembers.length,C=H.stringMembers.length,A=H.defaultedMembers.length;if(!Y&&!S&&!C&&!A)return Q();else if(!Y&&!S)return X.members=this.flowEnumStringMembers(H.stringMembers,H.defaultedMembers,{enumName:W}),this.expect(8),this.finishNode(X,"EnumStringBody");else if(!S&&!C&&Y>=A){for(let j of H.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(j.loc.start,{enumName:W,memberName:j.id.name});return X.members=H.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody")}else if(!Y&&!C&&S>=A){for(let j of H.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(j.loc.start,{enumName:W,memberName:j.id.name});return X.members=H.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody")}else return this.raise(n.EnumInconsistentMemberValues,R,{enumName:W}),Q()}}}flowParseEnumDeclaration(X){let J=this.parseIdentifier();return X.id=J,X.body=this.flowEnumBody(this.startNode(),J),this.finishNode(X,"EnumDeclaration")}jsxParseOpeningElementAfterName(X){if(this.shouldParseTypes()){if(this.match(47)||this.match(51))X.typeArguments=this.flowParseTypeParameterInstantiationInExpression()}return super.jsxParseOpeningElementAfterName(X)}isLookaheadToken_lt(){let X=this.nextTokenStart();if(this.input.charCodeAt(X)===60){let J=this.input.charCodeAt(X+1);return J!==60&&J!==61}return!1}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}maybeUnwrapTypeCastExpression(X){return X.type==="TypeCastExpression"?X.expression:X}},K6f={__proto__:null,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"},oG=IG`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:f})=>`Expected corresponding JSX closing tag for <${f}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:f,HTMLEntity:G})=>`Unexpected token \`${f}\`. Did you mean \`${G}\` or \`{'${f}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function yG(f){return f?f.type==="JSXOpeningFragment"||f.type==="JSXClosingFragment":!1}function q1(f){if(f.type==="JSXIdentifier")return f.name;if(f.type==="JSXNamespacedName")return f.namespace.name+":"+f.name.name;if(f.type==="JSXMemberExpression")return q1(f.object)+"."+q1(f.property);throw new Error("Node had unexpected type: "+f.type)}var F6f=(f)=>class G extends f{jsxReadToken(){let X="",J=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(oG.UnterminatedJsxContent,this.state.startLoc);let W=this.input.charCodeAt(this.state.pos);switch(W){case 60:case 123:if(this.state.pos===this.state.start){if(W===60&&this.state.canStartJSXElement)++this.state.pos,this.finishToken(143);else super.getTokenFromCode(W);return}X+=this.input.slice(J,this.state.pos),this.finishToken(142,X);return;case 38:X+=this.input.slice(J,this.state.pos),X+=this.jsxReadEntity(),J=this.state.pos;break;case 62:case 125:default:if(A1(W))X+=this.input.slice(J,this.state.pos),X+=this.jsxReadNewLine(!0),J=this.state.pos;else++this.state.pos}}}jsxReadNewLine(X){let J=this.input.charCodeAt(this.state.pos),W;if(++this.state.pos,J===13&&this.input.charCodeAt(this.state.pos)===10)++this.state.pos,W=X?`
20
+ `);case 114:return H("\r");case 120:{let Q;return{code:Q,pos:G}=OW(f,G,X,J,2,!1,V,R),H(Q===null?null:String.fromCharCode(Q))}case 117:{let Q;return{code:Q,pos:G}=m8(f,G,X,J,V,R),H(Q===null?null:String.fromCodePoint(Q))}case 116:return H("\t");case 98:return H("\b");case 118:return H("\v");case 102:return H("\f");case 13:if(f.charCodeAt(G)===10)++G;case 10:X=G,++J;case 8232:case 8233:return H("");case 56:case 57:if(W)return H(null);else R.strictNumericEscape(G-1,X,J);default:if(U>=48&&U<=55){let Q=G-1,S=/^[0-7]+/.exec(f.slice(Q,G+2))[0],C=parseInt(S,8);if(C>255)S=S.slice(0,-1),C=parseInt(S,8);G+=S.length-1;let A=f.charCodeAt(G);if(S!=="0"||A===56||A===57)if(W)return H(null);else R.strictNumericEscape(Q,X,J);return H(String.fromCharCode(C))}return H(String.fromCharCode(U))}}function OW(f,G,X,J,W,R,V,H){let U=G,Q;if({n:Q,pos:G}=x8(f,G,X,J,16,W,R,!1,H,!V),Q===null)if(V)H.invalidEscapeSequence(U,X,J);else G=U-1;return{code:Q,pos:G}}function x8(f,G,X,J,W,R,V,H,U,Q){let Y=G,S=W===16?q8.hex:q8.decBinOct,C=W===16?X2.hex:W===10?X2.dec:W===8?X2.oct:X2.bin,A=!1,O=0;for(let b=0,P=R==null?1/0:R;b<P;++b){let L=f.charCodeAt(G),w;if(L===95&&H!=="bail"){let Xf=f.charCodeAt(G-1),p=f.charCodeAt(G+1);if(!H){if(Q)return{n:null,pos:G};U.numericSeparatorInEscapeSequence(G,X,J)}else if(Number.isNaN(p)||!C(p)||S.has(Xf)||S.has(p)){if(Q)return{n:null,pos:G};U.unexpectedNumericSeparator(G,X,J)}++G;continue}if(L>=97)w=L-97+10;else if(L>=65)w=L-65+10;else if(f6f(L))w=L-48;else w=1/0;if(w>=W)if(w<=9&&Q)return{n:null,pos:G};else if(w<=9&&U.invalidDigit(G,X,J,W))w=0;else if(V)w=0,A=!0;else break;++G,O=O*W+w}if(G===Y||R!=null&&G-Y!==R||A)return{n:null,pos:G};return{n:O,pos:G}}function m8(f,G,X,J,W,R){let V=f.charCodeAt(G),H;if(V===123){if(++G,{code:H,pos:G}=OW(f,G,X,J,f.indexOf("}",G)-G,!0,W,R),++G,H!==null&&H>1114111)if(W)R.invalidCodePoint(G,X,J);else return{code:null,pos:G}}else({code:H,pos:G}=OW(f,G,X,J,4,!1,W,R));return{code:H,pos:G}}function fX(f,G,X){return new TG(X,f-G,f)}var J6f=new Set([103,109,115,105,121,117,100,118]);class DG{constructor(f){let G=f.startIndex||0;this.type=f.type,this.value=f.value,this.start=G+f.start,this.end=G+f.end,this.loc=new WX(f.startLoc,f.endLoc)}}class l8 extends y8{constructor(f,G){super();this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(X,J,W,R)=>{if(!(this.optionFlags&1024))return!1;return this.raise($.InvalidDigit,fX(X,J,W),{radix:R}),!0},numericSeparatorInEscapeSequence:this.errorBuilder($.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder($.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder($.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder($.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(X,J,W)=>{this.recordStrictModeErrors($.StrictNumericEscape,fX(X,J,W))},unterminated:(X,J,W)=>{throw this.raise($.UnterminatedString,fX(X-1,J,W))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder($.StrictNumericEscape),unterminated:(X,J,W)=>{throw this.raise($.UnterminatedTemplate,fX(X,J,W))}}),this.state=new vW,this.state.init(f),this.input=G,this.length=G.length,this.comments=[],this.isLookahead=!1}pushToken(f){this.tokens.length=this.state.tokensLength,this.tokens.push(f),++this.state.tokensLength}next(){if(this.checkKeywordEscapes(),this.optionFlags&128)this.pushToken(new DG(this.state));this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(f){if(this.match(f))return this.next(),!0;else return!1}match(f){return this.state.type===f}createLookaheadState(f){return{pos:f.pos,value:null,type:f.type,start:f.start,end:f.end,context:[this.curContext()],inType:f.inType,startLoc:f.startLoc,lastTokEndLoc:f.lastTokEndLoc,curLine:f.curLine,lineStart:f.lineStart,curPosition:f.curPosition}}lookahead(){let f=this.state;this.state=this.createLookaheadState(f),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let G=this.state;return this.state=f,G}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(f){return SW.lastIndex=f,SW.test(this.input)?SW.lastIndex:f}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(f){return $W.lastIndex=f,$W.test(this.input)?$W.lastIndex:f}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(f){let G=this.input.charCodeAt(f);if((G&64512)===55296&&++f<this.input.length){let X=this.input.charCodeAt(f);if((X&64512)===56320)G=65536+((G&1023)<<10)+(X&1023)}return G}setStrict(f){if(this.state.strict=f,f)this.state.strictErrors.forEach(([G,X])=>this.raise(G,X)),this.state.strictErrors.clear()}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,!this.isLookahead)this.state.startLoc=this.state.curPosition();if(this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(f){let G;if(!this.isLookahead)G=this.state.curPosition();let X=this.state.pos,J=this.input.indexOf(f,X+2);if(J===-1)throw this.raise($.UnterminatedComment,this.state.curPosition());this.state.pos=J+f.length,G2.lastIndex=X+2;while(G2.test(this.input)&&G2.lastIndex<=J)++this.state.curLine,this.state.lineStart=G2.lastIndex;if(this.isLookahead)return;let W={type:"CommentBlock",value:this.input.slice(X+2,J),start:this.sourceToOffsetPos(X),end:this.sourceToOffsetPos(J+f.length),loc:new WX(G,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(W);return W}skipLineComment(f){let G=this.state.pos,X;if(!this.isLookahead)X=this.state.curPosition();let J=this.input.charCodeAt(this.state.pos+=f);if(this.state.pos<this.length)while(!A1(J)&&++this.state.pos<this.length)J=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let W=this.state.pos,V={type:"CommentLine",value:this.input.slice(G+f,W),start:this.sourceToOffsetPos(G),end:this.sourceToOffsetPos(W),loc:new WX(X,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(V);return V}skipSpace(){let f=this.state.pos,G=this.optionFlags&2048?[]:null;f:while(this.state.pos<this.length){let X=this.input.charCodeAt(this.state.pos);switch(X){case 32:case 160:case 9:++this.state.pos;break;case 13:if(this.input.charCodeAt(this.state.pos+1)===10)++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let J=this.skipBlockComment("*/");if(J!==void 0)this.addComment(J),G==null||G.push(J);break}case 47:{let J=this.skipLineComment(2);if(J!==void 0)this.addComment(J),G==null||G.push(J);break}default:break f}break;default:if(eWf(X))++this.state.pos;else if(X===45&&!this.inModule&&this.optionFlags&4096){let J=this.state.pos;if(this.input.charCodeAt(J+1)===45&&this.input.charCodeAt(J+2)===62&&(f===0||this.state.lineStart>f)){let W=this.skipLineComment(3);if(W!==void 0)this.addComment(W),G==null||G.push(W)}else break f}else if(X===60&&!this.inModule&&this.optionFlags&4096){let J=this.state.pos;if(this.input.charCodeAt(J+1)===33&&this.input.charCodeAt(J+2)===45&&this.input.charCodeAt(J+3)===45){let W=this.skipLineComment(4);if(W!==void 0)this.addComment(W),G==null||G.push(W)}else break f}else break f}}if((G==null?void 0:G.length)>0){let X=this.state.pos,J={start:this.sourceToOffsetPos(f),end:this.sourceToOffsetPos(X),comments:G,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(J)}}finishToken(f,G){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let X=this.state.type;if(this.state.type=f,this.state.value=G,!this.isLookahead)this.updateContext(X)}replaceToken(f){this.state.type=f,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let f=this.state.pos+1,G=this.codePointAtPos(f);if(G>=48&&G<=57)throw this.raise($.UnexpectedDigitAfterHash,this.state.curPosition());if(G===123||G===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(G===123?$.RecordExpressionHashIncorrectStartSyntaxType:$.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());if(this.state.pos+=2,G===123)this.finishToken(7);else this.finishToken(1)}else if(PG(G))++this.state.pos,this.finishToken(139,this.readWord1(G));else if(G===92)++this.state.pos,this.finishToken(139,this.readWord1());else this.finishOp(27,1)}readToken_dot(){let f=this.input.charCodeAt(this.state.pos+1);if(f>=48&&f<=57){this.readNumber(!0);return}if(f===46&&this.input.charCodeAt(this.state.pos+2)===46)this.state.pos+=3,this.finishToken(21);else++this.state.pos,this.finishToken(16)}readToken_slash(){if(this.input.charCodeAt(this.state.pos+1)===61)this.finishOp(31,2);else this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let f=this.input.charCodeAt(this.state.pos+1);if(f!==33)return!1;let G=this.state.pos;this.state.pos+=1;while(!A1(f)&&++this.state.pos<this.length)f=this.input.charCodeAt(this.state.pos);let X=this.input.slice(G+2,this.state.pos);return this.finishToken(28,X),!0}readToken_mult_modulo(f){let G=f===42?55:54,X=1,J=this.input.charCodeAt(this.state.pos+1);if(f===42&&J===42)X++,J=this.input.charCodeAt(this.state.pos+2),G=57;if(J===61&&!this.state.inType)X++,G=f===37?33:30;this.finishOp(G,X)}readToken_pipe_amp(f){let G=this.input.charCodeAt(this.state.pos+1);if(G===f){if(this.input.charCodeAt(this.state.pos+2)===61)this.finishOp(30,3);else this.finishOp(f===124?41:42,2);return}if(f===124){if(G===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&G===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&G===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(G===61){this.finishOp(30,2);return}this.finishOp(f===124?43:45,1)}readToken_caret(){let f=this.input.charCodeAt(this.state.pos+1);if(f===61&&!this.state.inType)this.finishOp(32,2);else if(f===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])){if(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94)this.unexpected()}else this.finishOp(44,1)}readToken_atSign(){if(this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}]))this.finishOp(38,2);else this.finishOp(26,1)}readToken_plus_min(f){let G=this.input.charCodeAt(this.state.pos+1);if(G===f){this.finishOp(34,2);return}if(G===61)this.finishOp(30,2);else this.finishOp(53,1)}readToken_lt(){let{pos:f}=this.state,G=this.input.charCodeAt(f+1);if(G===60){if(this.input.charCodeAt(f+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(G===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:f}=this.state,G=this.input.charCodeAt(f+1);if(G===62){let X=this.input.charCodeAt(f+2)===62?3:2;if(this.input.charCodeAt(f+X)===61){this.finishOp(30,X+1);return}this.finishOp(52,X);return}if(G===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(f){let G=this.input.charCodeAt(this.state.pos+1);if(G===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(f===61&&G===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(f===61?29:35,1)}readToken_question(){let f=this.input.charCodeAt(this.state.pos+1),G=this.input.charCodeAt(this.state.pos+2);if(f===63)if(G===61)this.finishOp(30,3);else this.finishOp(40,2);else if(f===46&&!(G>=48&&G<=57))this.state.pos+=2,this.finishToken(18);else++this.state.pos,this.finishToken(17)}getTokenFromCode(f){switch(f){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise($.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:if(this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58)this.finishOp(15,2);else++this.state.pos,this.finishToken(14);return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let G=this.input.charCodeAt(this.state.pos+1);if(G===120||G===88){this.readRadixNumber(16);return}if(G===111||G===79){this.readRadixNumber(8);return}if(G===98||G===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(f);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(f);return;case 124:case 38:this.readToken_pipe_amp(f);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(f);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(f);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(PG(f)){this.readWord(f);return}}throw this.raise($.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(f)})}finishOp(f,G){let X=this.input.slice(this.state.pos,this.state.pos+G);this.state.pos+=G,this.finishToken(f,X)}readRegexp(){let f=this.state.startLoc,G=this.state.start+1,X,J,{pos:W}=this.state;for(;;++W){if(W>=this.length)throw this.raise($.UnterminatedRegExp,xf(f,1));let U=this.input.charCodeAt(W);if(A1(U))throw this.raise($.UnterminatedRegExp,xf(f,1));if(X)X=!1;else{if(U===91)J=!0;else if(U===93&&J)J=!1;else if(U===47&&!J)break;X=U===92}}let R=this.input.slice(G,W);++W;let V="",H=()=>xf(f,W+2-G);while(W<this.length){let U=this.codePointAtPos(W),Q=String.fromCharCode(U);if(J6f.has(U)){if(U===118){if(V.includes("u"))this.raise($.IncompatibleRegExpUVFlags,H())}else if(U===117){if(V.includes("v"))this.raise($.IncompatibleRegExpUVFlags,H())}if(V.includes(Q))this.raise($.DuplicateRegExpFlags,H())}else if(C1(U)||U===92)this.raise($.MalformedRegExpFlags,H());else break;++W,V+=Q}this.state.pos=W,this.finishToken(138,{pattern:R,flags:V})}readInt(f,G,X=!1,J=!0){let{n:W,pos:R}=x8(this.input,this.state.pos,this.state.lineStart,this.state.curLine,f,G,X,J,this.errorHandlers_readInt,!1);return this.state.pos=R,W}readRadixNumber(f){let G=this.state.pos,X=this.state.curPosition(),J=!1;this.state.pos+=2;let W=this.readInt(f);if(W==null)this.raise($.InvalidDigit,xf(X,2),{radix:f});let R=this.input.charCodeAt(this.state.pos);if(R===110)++this.state.pos,J=!0;else if(R===109)throw this.raise($.InvalidDecimal,X);if(PG(this.codePointAtPos(this.state.pos)))throw this.raise($.NumberIdentifier,this.state.curPosition());if(J){let V=this.input.slice(G,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,V);return}this.finishToken(135,W)}readNumber(f){let G=this.state.pos,X=this.state.curPosition(),J=!1,W=!1,R=!1,V=!1;if(!f&&this.readInt(10)===null)this.raise($.InvalidNumber,this.state.curPosition());let H=this.state.pos-G>=2&&this.input.charCodeAt(G)===48;if(H){let C=this.input.slice(G,this.state.pos);if(this.recordStrictModeErrors($.StrictOctalLiteral,X),!this.state.strict){let A=C.indexOf("_");if(A>0)this.raise($.ZeroDigitNumericSeparator,xf(X,A))}V=H&&!/[89]/.test(C)}let U=this.input.charCodeAt(this.state.pos);if(U===46&&!V)++this.state.pos,this.readInt(10),J=!0,U=this.input.charCodeAt(this.state.pos);if((U===69||U===101)&&!V){if(U=this.input.charCodeAt(++this.state.pos),U===43||U===45)++this.state.pos;if(this.readInt(10)===null)this.raise($.InvalidOrMissingExponent,X);J=!0,R=!0,U=this.input.charCodeAt(this.state.pos)}if(U===110){if(J||H)this.raise($.InvalidBigIntLiteral,X);++this.state.pos,W=!0}if(U===109){if(this.expectPlugin("decimal",this.state.curPosition()),R||H)this.raise($.InvalidDecimal,X);++this.state.pos;var Q=!0}if(PG(this.codePointAtPos(this.state.pos)))throw this.raise($.NumberIdentifier,this.state.curPosition());let Y=this.input.slice(G,this.state.pos).replace(/[_mn]/g,"");if(W){this.finishToken(136,Y);return}if(Q){this.finishToken(137,Y);return}let S=V?parseInt(Y,8):parseFloat(Y);this.finishToken(135,S)}readCodePoint(f){let{code:G,pos:X}=m8(this.input,this.state.pos,this.state.lineStart,this.state.curLine,f,this.errorHandlers_readCodePoint);return this.state.pos=X,G}readString(f){let{str:G,pos:X,curLine:J,lineStart:W}=C8(f===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=X+1,this.state.lineStart=W,this.state.curLine=J,this.finishToken(134,G)}readTemplateContinuation(){if(!this.match(8))this.unexpected(null,8);this.state.pos--,this.readTemplateToken()}readTemplateToken(){let f=this.input[this.state.pos],{str:G,firstInvalidLoc:X,pos:J,curLine:W,lineStart:R}=C8("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);if(this.state.pos=J+1,this.state.lineStart=R,this.state.curLine=W,X)this.state.firstInvalidTemplateEscapePos=new TG(X.curLine,X.pos-X.lineStart,this.sourceToOffsetPos(X.pos));if(this.input.codePointAt(J)===96)this.finishToken(24,X?null:f+G+"`");else this.state.pos++,this.finishToken(25,X?null:f+G+"${")}recordStrictModeErrors(f,G){let X=G.index;if(this.state.strict&&!this.state.strictErrors.has(X))this.raise(f,G);else this.state.strictErrors.set(X,[f,G])}readWord1(f){this.state.containsEsc=!1;let G="",X=this.state.pos,J=this.state.pos;if(f!==void 0)this.state.pos+=f<=65535?1:2;while(this.state.pos<this.length){let W=this.codePointAtPos(this.state.pos);if(C1(W))this.state.pos+=W<=65535?1:2;else if(W===92){this.state.containsEsc=!0,G+=this.input.slice(J,this.state.pos);let R=this.state.curPosition(),V=this.state.pos===X?PG:C1;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise($.MissingUnicodeEscape,this.state.curPosition()),J=this.state.pos-1;continue}++this.state.pos;let H=this.readCodePoint(!0);if(H!==null){if(!V(H))this.raise($.EscapedCharNotAnIdentifier,R);G+=String.fromCodePoint(H)}J=this.state.pos}else break}return G+this.input.slice(J,this.state.pos)}readWord(f){let G=this.readWord1(f),X=IW.get(G);if(X!==void 0)this.finishToken(X,xG(X));else this.finishToken(132,G)}checkKeywordEscapes(){let{type:f}=this.state;if(wW(f)&&this.state.containsEsc)this.raise($.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:xG(f)})}raise(f,G,X={}){let J=G instanceof TG?G:G.loc.start,W=f(J,X);if(!(this.optionFlags&1024))throw W;if(!this.isLookahead)this.state.errors.push(W);return W}raiseOverwrite(f,G,X={}){let J=G instanceof TG?G:G.loc.start,W=J.index,R=this.state.errors;for(let V=R.length-1;V>=0;V--){let H=R[V];if(H.loc.index===W)return R[V]=f(J,X);if(H.loc.index<W)break}return this.raise(f,G,X)}updateContext(f){}unexpected(f,G){throw this.raise($.UnexpectedToken,f!=null?f:this.state.startLoc,{expected:G?xG(G):null})}expectPlugin(f,G){if(this.hasPlugin(f))return!0;throw this.raise($.MissingPlugin,G!=null?G:this.state.startLoc,{missingPlugin:[f]})}expectOnePlugin(f){if(!f.some((G)=>this.hasPlugin(G)))throw this.raise($.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:f})}errorBuilder(f){return(G,X,J)=>{this.raise(f,fX(G,X,J))}}}class c8{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class a8{constructor(f){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=f}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new c8)}exit(){let f=this.stack.pop(),G=this.current();for(let[X,J]of Array.from(f.undefinedPrivateNames))if(G){if(!G.undefinedPrivateNames.has(X))G.undefinedPrivateNames.set(X,J)}else this.parser.raise($.InvalidPrivateFieldResolution,J,{identifierName:X})}declarePrivateName(f,G,X){let{privateNames:J,loneAccessors:W,undefinedPrivateNames:R}=this.current(),V=J.has(f);if(G&3){let H=V&&W.get(f);if(H){let U=H&4,Q=G&4,Y=H&3,S=G&3;if(V=Y===S||U!==Q,!V)W.delete(f)}else if(!V)W.set(f,G)}if(V)this.parser.raise($.PrivateNameRedeclaration,X,{identifierName:f});J.add(f),R.delete(f)}usePrivateName(f,G){let X;for(X of this.stack)if(X.privateNames.has(f))return;if(X)X.undefinedPrivateNames.set(f,G);else this.parser.raise($.InvalidPrivateFieldResolution,G,{identifierName:f})}}class HX{constructor(f=0){this.type=f}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class gW extends HX{constructor(f){super(f);this.declarationErrors=new Map}recordDeclarationError(f,G){let X=G.index;this.declarationErrors.set(X,[f,G])}clearDeclarationError(f){this.declarationErrors.delete(f)}iterateErrors(f){this.declarationErrors.forEach(f)}}class i8{constructor(f){this.parser=void 0,this.stack=[new HX],this.parser=f}enter(f){this.stack.push(f)}exit(){this.stack.pop()}recordParameterInitializerError(f,G){let X=G.loc.start,{stack:J}=this,W=J.length-1,R=J[W];while(!R.isCertainlyParameterDeclaration()){if(R.canBeArrowParameterDeclaration())R.recordDeclarationError(f,X);else return;R=J[--W]}this.parser.raise(f,X)}recordArrowParameterBindingError(f,G){let{stack:X}=this,J=X[X.length-1],W=G.loc.start;if(J.isCertainlyParameterDeclaration())this.parser.raise(f,W);else if(J.canBeArrowParameterDeclaration())J.recordDeclarationError(f,W);else return}recordAsyncArrowParametersError(f){let{stack:G}=this,X=G.length-1,J=G[X];while(J.canBeArrowParameterDeclaration()){if(J.type===2)J.recordDeclarationError($.AwaitBindingIdentifier,f);J=G[--X]}}validateAsPattern(){let{stack:f}=this,G=f[f.length-1];if(!G.canBeArrowParameterDeclaration())return;G.iterateErrors(([X,J])=>{this.parser.raise(X,J);let W=f.length-2,R=f[W];while(R.canBeArrowParameterDeclaration())R.clearDeclarationError(J.index),R=f[--W]})}}function W6f(){return new HX(3)}function R6f(){return new gW(1)}function V6f(){return new gW(2)}function r8(){return new HX}class p8{constructor(){this.stacks=[]}enter(f){this.stacks.push(f)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}}function R2(f,G){return(f?2:0)|(G?1:0)}class s8 extends l8{addExtra(f,G,X,J=!0){if(!f)return;let{extra:W}=f;if(W==null)W={},f.extra=W;if(J)W[G]=X;else Object.defineProperty(W,G,{enumerable:J,value:X})}isContextual(f){return this.state.type===f&&!this.state.containsEsc}isUnparsedContextual(f,G){let X=f+G.length;if(this.input.slice(f,X)===G){let J=this.input.charCodeAt(X);return!(C1(J)||(J&64512)===55296)}return!1}isLookaheadContextual(f){let G=this.nextTokenStart();return this.isUnparsedContextual(G,f)}eatContextual(f){if(this.isContextual(f))return this.next(),!0;return!1}expectContextual(f,G){if(!this.eatContextual(f)){if(G!=null)throw this.raise(G,this.state.startLoc);this.unexpected(null,f)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return $8(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return $8(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(f=!0){if(f?this.isLineTerminator():this.eat(13))return;this.raise($.MissingSemicolon,this.state.lastTokEndLoc)}expect(f,G){if(!this.eat(f))this.unexpected(G,f)}tryParse(f,G=this.state.clone()){let X={node:null};try{let J=f((W=null)=>{throw X.node=W,X});if(this.state.errors.length>G.errors.length){let W=this.state;return this.state=G,this.state.tokensLength=W.tokensLength,{node:J,error:W.errors[G.errors.length],thrown:!1,aborted:!1,failState:W}}return{node:J,error:null,thrown:!1,aborted:!1,failState:null}}catch(J){let W=this.state;if(this.state=G,J instanceof SyntaxError)return{node:null,error:J,thrown:!0,aborted:!1,failState:W};if(J===X)return{node:X.node,error:null,thrown:!1,aborted:!0,failState:W};throw J}}checkExpressionErrors(f,G){if(!f)return!1;let{shorthandAssignLoc:X,doubleProtoLoc:J,privateKeyLoc:W,optionalParametersLoc:R}=f,V=!!X||!!J||!!R||!!W;if(!G)return V;if(X!=null)this.raise($.InvalidCoverInitializedName,X);if(J!=null)this.raise($.DuplicateProto,J);if(W!=null)this.raise($.UnexpectedPrivateField,W);if(R!=null)this.unexpected(R)}isLiteralPropertyName(){return T8(this.state.type)}isPrivateName(f){return f.type==="PrivateName"}getPrivateNameSV(f){return f.id.name}hasPropertyAsPrivateName(f){return(f.type==="MemberExpression"||f.type==="OptionalMemberExpression")&&this.isPrivateName(f.property)}isObjectProperty(f){return f.type==="ObjectProperty"}isObjectMethod(f){return f.type==="ObjectMethod"}initializeScopes(f=this.options.sourceType==="module"){let G=this.state.labels;this.state.labels=[];let X=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let J=this.inModule;this.inModule=f;let W=this.scope,R=this.getScopeHandler();this.scope=new R(this,f);let V=this.prodParam;this.prodParam=new p8;let H=this.classScope;this.classScope=new a8(this);let U=this.expressionScope;return this.expressionScope=new i8(this),()=>{this.state.labels=G,this.exportedIdentifiers=X,this.inModule=J,this.scope=W,this.prodParam=V,this.classScope=H,this.expressionScope=U}}enterInitialScopes(){let f=0;if(this.inModule)f|=2;this.scope.enter(1),this.prodParam.enter(f)}checkDestructuringPrivate(f){let{privateKeyLoc:G}=f;if(G!==null)this.expectPlugin("destructuringPrivate",G)}}class JX{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class VX{constructor(f,G,X){if(this.type="",this.start=G,this.end=0,this.loc=new WX(X),(f==null?void 0:f.optionFlags)&64)this.range=[G,0];if(f!=null&&f.filename)this.loc.filename=f.filename}}var _W=VX.prototype;_W.__clone=function(){let f=new VX(void 0,this.start,this.loc.start),G=Object.keys(this);for(let X=0,J=G.length;X<J;X++){let W=G[X];if(W!=="leadingComments"&&W!=="trailingComments"&&W!=="innerComments")f[W]=this[W]}return f};function H6f(f){return LG(f)}function LG(f){let{type:G,start:X,end:J,loc:W,range:R,extra:V,name:H}=f,U=Object.create(_W);if(U.type=G,U.start=X,U.end=J,U.loc=W,U.range=R,U.extra=V,U.name=H,G==="Placeholder")U.expectedNode=f.expectedNode;return U}function U6f(f){let{type:G,start:X,end:J,loc:W,range:R,extra:V}=f;if(G==="Placeholder")return H6f(f);let H=Object.create(_W);if(H.type=G,H.start=X,H.end=J,H.loc=W,H.range=R,f.raw!==void 0)H.raw=f.raw;else H.extra=V;return H.value=f.value,H}class d8 extends s8{startNode(){let f=this.state.startLoc;return new VX(this,f.index,f)}startNodeAt(f){return new VX(this,f.index,f)}startNodeAtNode(f){return this.startNodeAt(f.loc.start)}finishNode(f,G){return this.finishNodeAt(f,G,this.state.lastTokEndLoc)}finishNodeAt(f,G,X){if(f.type=G,f.end=X.index,f.loc.end=X,this.optionFlags&64)f.range[1]=X.index;if(this.optionFlags&2048)this.processComment(f);return f}resetStartLocation(f,G){if(f.start=G.index,f.loc.start=G,this.optionFlags&64)f.range[0]=G.index}resetEndLocation(f,G=this.state.lastTokEndLoc){if(f.end=G.index,f.loc.end=G,this.optionFlags&64)f.range[1]=G.index}resetStartLocationFromNode(f,G){this.resetStartLocation(f,G.loc.start)}}var Q6f=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),n=NG`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:f})=>`Cannot overwrite reserved type ${f}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:f,enumName:G})=>`Boolean enum members need to be initialized. Use either \`${f} = true,\` or \`${f} = false,\` in enum \`${G}\`.`,EnumDuplicateMemberName:({memberName:f,enumName:G})=>`Enum member names need to be unique, but the name \`${f}\` has already been used before in enum \`${G}\`.`,EnumInconsistentMemberValues:({enumName:f})=>`Enum \`${f}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:f,enumName:G})=>`Enum type \`${f}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${G}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:f})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${f}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:f,memberName:G,explicitType:X})=>`Enum \`${f}\` has type \`${X}\`, so the initializer of \`${G}\` needs to be a ${X} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:f,memberName:G})=>`Symbol enum members cannot be initialized. Use \`${G},\` in enum \`${f}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:f,memberName:G})=>`The enum member initializer for \`${G}\` needs to be a literal (either a boolean, number, or string) in enum \`${f}\`.`,EnumInvalidMemberName:({enumName:f,memberName:G,suggestion:X})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${G}\`, consider using \`${X}\`, in enum \`${f}\`.`,EnumNumberMemberNotInitialized:({enumName:f,memberName:G})=>`Number enum members need to be initialized, e.g. \`${G} = 1\` in enum \`${f}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:f})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${f}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:f})=>`Unexpected reserved type ${f}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:f,suggestion:G})=>`\`declare export ${f}\` is not supported. Use \`${G}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Z6f(f){return f.type==="DeclareExportAllDeclaration"||f.type==="DeclareExportDeclaration"&&(!f.declaration||f.declaration.type!=="TypeAlias"&&f.declaration.type!=="InterfaceDeclaration")}function A8(f){return f.importKind==="type"||f.importKind==="typeof"}var Y6f={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function z6f(f,G){let X=[],J=[];for(let W=0;W<f.length;W++)(G(f[W],W,f)?X:J).push(f[W]);return[X,J]}var B6f=/\*?\s*@((?:no)?flow)\b/,M6f=(f)=>class G extends f{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return _8}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(X,J){if(X!==134&&X!==13&&X!==28){if(this.flowPragma===void 0)this.flowPragma=null}super.finishToken(X,J)}addComment(X){if(this.flowPragma===void 0){let J=B6f.exec(X.value);if(!J);else if(J[1]==="flow")this.flowPragma="flow";else if(J[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(X)}flowParseTypeInitialiser(X){let J=this.state.inType;this.state.inType=!0,this.expect(X||14);let W=this.flowParseType();return this.state.inType=J,W}flowParsePredicate(){let X=this.startNode(),J=this.state.startLoc;if(this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>J.index+1)this.raise(n.UnexpectedSpaceBetweenModuloChecks,J);if(this.eat(10))return X.value=super.parseExpression(),this.expect(11),this.finishNode(X,"DeclaredPredicate");else return this.finishNode(X,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let X=this.state.inType;this.state.inType=!0,this.expect(14);let J=null,W=null;if(this.match(54))this.state.inType=X,W=this.flowParsePredicate();else if(J=this.flowParseType(),this.state.inType=X,this.match(54))W=this.flowParsePredicate();return[J,W]}flowParseDeclareClass(X){return this.next(),this.flowParseInterfaceish(X,!0),this.finishNode(X,"DeclareClass")}flowParseDeclareFunction(X){this.next();let J=X.id=this.parseIdentifier(),W=this.startNode(),R=this.startNode();if(this.match(47))W.typeParameters=this.flowParseTypeParameterDeclaration();else W.typeParameters=null;this.expect(10);let V=this.flowParseFunctionTypeParams();return W.params=V.params,W.rest=V.rest,W.this=V._this,this.expect(11),[W.returnType,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),R.typeAnnotation=this.finishNode(W,"FunctionTypeAnnotation"),J.typeAnnotation=this.finishNode(R,"TypeAnnotation"),this.resetEndLocation(J),this.semicolon(),this.scope.declareName(X.id.name,2048,X.id.loc.start),this.finishNode(X,"DeclareFunction")}flowParseDeclare(X,J){if(this.match(80))return this.flowParseDeclareClass(X);else if(this.match(68))return this.flowParseDeclareFunction(X);else if(this.match(74))return this.flowParseDeclareVariable(X);else if(this.eatContextual(127))if(this.match(16))return this.flowParseDeclareModuleExports(X);else{if(J)this.raise(n.NestedDeclareModule,this.state.lastTokStartLoc);return this.flowParseDeclareModule(X)}else if(this.isContextual(130))return this.flowParseDeclareTypeAlias(X);else if(this.isContextual(131))return this.flowParseDeclareOpaqueType(X);else if(this.isContextual(129))return this.flowParseDeclareInterface(X);else if(this.match(82))return this.flowParseDeclareExportDeclaration(X,J);else this.unexpected()}flowParseDeclareVariable(X){return this.next(),X.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(X.id.name,5,X.id.loc.start),this.semicolon(),this.finishNode(X,"DeclareVariable")}flowParseDeclareModule(X){if(this.scope.enter(0),this.match(134))X.id=super.parseExprAtom();else X.id=this.parseIdentifier();let J=X.body=this.startNode(),W=J.body=[];this.expect(5);while(!this.match(8)){let H=this.startNode();if(this.match(83)){if(this.next(),!this.isContextual(130)&&!this.match(87))this.raise(n.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc);super.parseImport(H)}else this.expectContextual(125,n.UnsupportedStatementInDeclareModule),H=this.flowParseDeclare(H,!0);W.push(H)}this.scope.exit(),this.expect(8),this.finishNode(J,"BlockStatement");let R=null,V=!1;return W.forEach((H)=>{if(Z6f(H)){if(R==="CommonJS")this.raise(n.AmbiguousDeclareModuleKind,H);R="ES"}else if(H.type==="DeclareModuleExports"){if(V)this.raise(n.DuplicateDeclareModuleExports,H);if(R==="ES")this.raise(n.AmbiguousDeclareModuleKind,H);R="CommonJS",V=!0}}),X.kind=R||"CommonJS",this.finishNode(X,"DeclareModule")}flowParseDeclareExportDeclaration(X,J){if(this.expect(82),this.eat(65)){if(this.match(68)||this.match(80))X.declaration=this.flowParseDeclare(this.startNode());else X.declaration=this.flowParseType(),this.semicolon();return X.default=!0,this.finishNode(X,"DeclareExportDeclaration")}else{if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!J){let W=this.state.value;throw this.raise(n.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:W,suggestion:Y6f[W]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return X.declaration=this.flowParseDeclare(this.startNode()),X.default=!1,this.finishNode(X,"DeclareExportDeclaration");else if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)){if(X=this.parseExport(X,null),X.type==="ExportNamedDeclaration")X.type="ExportDeclaration",X.default=!1,delete X.exportKind;return X.type="Declare"+X.type,X}}this.unexpected()}flowParseDeclareModuleExports(X){return this.next(),this.expectContextual(111),X.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(X,"DeclareModuleExports")}flowParseDeclareTypeAlias(X){this.next();let J=this.flowParseTypeAlias(X);return J.type="DeclareTypeAlias",J}flowParseDeclareOpaqueType(X){this.next();let J=this.flowParseOpaqueType(X,!0);return J.type="DeclareOpaqueType",J}flowParseDeclareInterface(X){return this.next(),this.flowParseInterfaceish(X,!1),this.finishNode(X,"DeclareInterface")}flowParseInterfaceish(X,J){if(X.id=this.flowParseRestrictedIdentifier(!J,!0),this.scope.declareName(X.id.name,J?17:8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(!J&&this.eat(12));if(J){if(X.implements=[],X.mixins=[],this.eatContextual(117))do X.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do X.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}X.body=this.flowParseObjectType({allowStatic:J,allowExact:!1,allowSpread:!1,allowProto:J,allowInexact:!1})}flowParseInterfaceExtends(){let X=this.startNode();if(X.id=this.flowParseQualifiedTypeIdentifier(),this.match(47))X.typeParameters=this.flowParseTypeParameterInstantiation();else X.typeParameters=null;return this.finishNode(X,"InterfaceExtends")}flowParseInterface(X){return this.flowParseInterfaceish(X,!1),this.finishNode(X,"InterfaceDeclaration")}checkNotUnderscore(X){if(X==="_")this.raise(n.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(X,J,W){if(!Q6f.has(X))return;this.raise(W?n.AssignReservedType:n.UnexpectedReservedType,J,{reservedType:X})}flowParseRestrictedIdentifier(X,J){return this.checkReservedType(this.state.value,this.state.startLoc,J),this.parseIdentifier(X)}flowParseTypeAlias(X){if(X.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;return X.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(X,"TypeAlias")}flowParseOpaqueType(X,J){if(this.expectContextual(130),X.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(X.id.name,8201,X.id.loc.start),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();else X.typeParameters=null;if(X.supertype=null,this.match(14))X.supertype=this.flowParseTypeInitialiser(14);if(X.impltype=null,!J)X.impltype=this.flowParseTypeInitialiser(29);return this.semicolon(),this.finishNode(X,"OpaqueType")}flowParseTypeParameter(X=!1){let J=this.state.startLoc,W=this.startNode(),R=this.flowParseVariance(),V=this.flowParseTypeAnnotatableIdentifier();if(W.name=V.name,W.variance=R,W.bound=V.typeAnnotation,this.match(29))this.eat(29),W.default=this.flowParseType();else if(X)this.raise(n.MissingTypeParamDefault,J);return this.finishNode(W,"TypeParameter")}flowParseTypeParameterDeclaration(){let X=this.state.inType,J=this.startNode();if(J.params=[],this.state.inType=!0,this.match(47)||this.match(143))this.next();else this.unexpected();let W=!1;do{let R=this.flowParseTypeParameter(W);if(J.params.push(R),R.default)W=!0;if(!this.match(48))this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=X,this.finishNode(J,"TypeParameterDeclaration")}flowInTopLevelContext(X){if(this.curContext()!==Sf.brace){let J=this.state.context;this.state.context=[J[0]];try{return X()}finally{this.state.context=J}}else return X()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()!==47)return;return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let X=this.startNode(),J=this.state.inType;if(this.state.inType=!0,X.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let W=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!1;while(!this.match(48))if(X.params.push(this.flowParseType()),!this.match(48))this.expect(12);this.state.noAnonFunctionType=W}),this.state.inType=J,!this.state.inType&&this.curContext()===Sf.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let X=this.startNode(),J=this.state.inType;X.params=[],this.state.inType=!0,this.expect(47);while(!this.match(48))if(X.params.push(this.flowParseTypeOrImplicitInstantiation()),!this.match(48))this.expect(12);return this.expect(48),this.state.inType=J,this.finishNode(X,"TypeParameterInstantiation")}flowParseInterfaceType(){let X=this.startNode();if(this.expectContextual(129),X.extends=[],this.eat(81))do X.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return X.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(X,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(X,J,W){if(X.static=J,this.lookahead().type===14)X.id=this.flowParseObjectPropertyKey(),X.key=this.flowParseTypeInitialiser();else X.id=null,X.key=this.flowParseType();return this.expect(3),X.value=this.flowParseTypeInitialiser(),X.variance=W,this.finishNode(X,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(X,J){if(X.static=J,X.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10))X.method=!0,X.optional=!1,X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start));else{if(X.method=!1,this.eat(17))X.optional=!0;X.value=this.flowParseTypeInitialiser()}return this.finishNode(X,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(X){if(X.params=[],X.rest=null,X.typeParameters=null,X.this=null,this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();if(this.expect(10),this.match(78)){if(X.this=this.flowParseFunctionTypeParam(!0),X.this.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.params.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))X.rest=this.flowParseFunctionTypeParam(!1);return this.expect(11),X.returnType=this.flowParseTypeInitialiser(),this.finishNode(X,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(X,J){let W=this.startNode();return X.static=J,X.value=this.flowParseObjectTypeMethodish(W),this.finishNode(X,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:X,allowExact:J,allowSpread:W,allowProto:R,allowInexact:V}){let H=this.state.inType;this.state.inType=!0;let U=this.startNode();U.callProperties=[],U.properties=[],U.indexers=[],U.internalSlots=[];let Q,Y,S=!1;if(J&&this.match(6))this.expect(6),Q=9,Y=!0;else this.expect(5),Q=8,Y=!1;U.exact=Y;while(!this.match(Q)){let A=!1,O=null,b=null,P=this.startNode();if(R&&this.isContextual(118)){let w=this.lookahead();if(w.type!==14&&w.type!==17)this.next(),O=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){let w=this.lookahead();if(w.type!==14&&w.type!==17)this.next(),A=!0}let L=this.flowParseVariance();if(this.eat(0)){if(O!=null)this.unexpected(O);if(this.eat(0)){if(L)this.unexpected(L.loc.start);U.internalSlots.push(this.flowParseObjectTypeInternalSlot(P,A))}else U.indexers.push(this.flowParseObjectTypeIndexer(P,A,L))}else if(this.match(10)||this.match(47)){if(O!=null)this.unexpected(O);if(L)this.unexpected(L.loc.start);U.callProperties.push(this.flowParseObjectTypeCallProperty(P,A))}else{let w="init";if(this.isContextual(99)||this.isContextual(104)){let p=this.lookahead();if(T8(p.type))w=this.state.value,this.next()}let Xf=this.flowParseObjectTypeProperty(P,A,O,L,w,W,V!=null?V:!Y);if(Xf===null)S=!0,b=this.state.lastTokStartLoc;else U.properties.push(Xf)}if(this.flowObjectTypeSemicolon(),b&&!this.match(8)&&!this.match(9))this.raise(n.UnexpectedExplicitInexactInObject,b)}if(this.expect(Q),W)U.inexact=S;let C=this.finishNode(U,"ObjectTypeAnnotation");return this.state.inType=H,C}flowParseObjectTypeProperty(X,J,W,R,V,H,U){if(this.eat(21)){if(this.match(12)||this.match(13)||this.match(8)||this.match(9)){if(!H)this.raise(n.InexactInsideNonObject,this.state.lastTokStartLoc);else if(!U)this.raise(n.InexactInsideExact,this.state.lastTokStartLoc);if(R)this.raise(n.InexactVariance,R);return null}if(!H)this.raise(n.UnexpectedSpreadType,this.state.lastTokStartLoc);if(W!=null)this.unexpected(W);if(R)this.raise(n.SpreadVariance,R);return X.argument=this.flowParseType(),this.finishNode(X,"ObjectTypeSpreadProperty")}else{X.key=this.flowParseObjectPropertyKey(),X.static=J,X.proto=W!=null,X.kind=V;let Q=!1;if(this.match(47)||this.match(10)){if(X.method=!0,W!=null)this.unexpected(W);if(R)this.unexpected(R.loc.start);if(X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start)),V==="get"||V==="set")this.flowCheckGetterSetterParams(X);if(!H&&X.key.name==="constructor"&&X.value.this)this.raise(n.ThisParamBannedInConstructor,X.value.this)}else{if(V!=="init")this.unexpected();if(X.method=!1,this.eat(17))Q=!0;X.value=this.flowParseTypeInitialiser(),X.variance=R}return X.optional=Q,this.finishNode(X,"ObjectTypeProperty")}}flowCheckGetterSetterParams(X){let J=X.kind==="get"?0:1,W=X.value.params.length+(X.value.rest?1:0);if(X.value.this)this.raise(X.kind==="get"?n.GetterMayNotHaveThisParam:n.SetterMayNotHaveThisParam,X.value.this);if(W!==J)this.raise(X.kind==="get"?$.BadGetterArity:$.BadSetterArity,X);if(X.kind==="set"&&X.value.rest)this.raise($.BadSetterRestParameter,X)}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9))this.unexpected()}flowParseQualifiedTypeIdentifier(X,J){X!=null||(X=this.state.startLoc);let W=J||this.flowParseRestrictedIdentifier(!0);while(this.eat(16)){let R=this.startNodeAt(X);R.qualification=W,R.id=this.flowParseRestrictedIdentifier(!0),W=this.finishNode(R,"QualifiedTypeIdentifier")}return W}flowParseGenericType(X,J){let W=this.startNodeAt(X);if(W.typeParameters=null,W.id=this.flowParseQualifiedTypeIdentifier(X,J),this.match(47))W.typeParameters=this.flowParseTypeParameterInstantiation();return this.finishNode(W,"GenericTypeAnnotation")}flowParseTypeofType(){let X=this.startNode();return this.expect(87),X.argument=this.flowParsePrimaryType(),this.finishNode(X,"TypeofTypeAnnotation")}flowParseTupleType(){let X=this.startNode();X.types=[],this.expect(0);while(this.state.pos<this.length&&!this.match(3)){if(X.types.push(this.flowParseType()),this.match(3))break;this.expect(12)}return this.expect(3),this.finishNode(X,"TupleTypeAnnotation")}flowParseFunctionTypeParam(X){let J=null,W=!1,R=null,V=this.startNode(),H=this.lookahead(),U=this.state.type===78;if(H.type===14||H.type===17){if(U&&!X)this.raise(n.ThisParamMustBeFirst,V);if(J=this.parseIdentifier(U),this.eat(17)){if(W=!0,U)this.raise(n.ThisParamMayNotBeOptional,V)}R=this.flowParseTypeInitialiser()}else R=this.flowParseType();return V.name=J,V.optional=W,V.typeAnnotation=R,this.finishNode(V,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(X){let J=this.startNodeAt(X.loc.start);return J.name=null,J.optional=!1,J.typeAnnotation=X,this.finishNode(J,"FunctionTypeParam")}flowParseFunctionTypeParams(X=[]){let J=null,W=null;if(this.match(78)){if(W=this.flowParseFunctionTypeParam(!0),W.name=null,!this.match(11))this.expect(12)}while(!this.match(11)&&!this.match(21))if(X.push(this.flowParseFunctionTypeParam(!1)),!this.match(11))this.expect(12);if(this.eat(21))J=this.flowParseFunctionTypeParam(!1);return{params:X,rest:J,_this:W}}flowIdentToTypeAnnotation(X,J,W){switch(W.name){case"any":return this.finishNode(J,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(J,"BooleanTypeAnnotation");case"mixed":return this.finishNode(J,"MixedTypeAnnotation");case"empty":return this.finishNode(J,"EmptyTypeAnnotation");case"number":return this.finishNode(J,"NumberTypeAnnotation");case"string":return this.finishNode(J,"StringTypeAnnotation");case"symbol":return this.finishNode(J,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(W.name),this.flowParseGenericType(X,W)}}flowParsePrimaryType(){let X=this.state.startLoc,J=this.startNode(),W,R,V=!1,H=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,R=this.flowParseTupleType(),this.state.noAnonFunctionType=H,R;case 47:{let U=this.startNode();return U.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),W=this.flowParseFunctionTypeParams(),U.params=W.params,U.rest=W.rest,U.this=W._this,this.expect(11),this.expect(19),U.returnType=this.flowParseType(),this.finishNode(U,"FunctionTypeAnnotation")}case 10:{let U=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if($f(this.state.type)||this.match(78)){let Q=this.lookahead().type;V=Q!==17&&Q!==14}else V=!0;if(V)if(this.state.noAnonFunctionType=!1,R=this.flowParseType(),this.state.noAnonFunctionType=H,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),R;else this.eat(12);if(R)W=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(R)]);else W=this.flowParseFunctionTypeParams();return U.params=W.params,U.rest=W.rest,U.this=W._this,this.expect(11),this.expect(19),U.returnType=this.flowParseType(),U.typeParameters=null,this.finishNode(U,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return J.value=this.match(85),this.next(),this.finishNode(J,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",J);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",J);throw this.raise(n.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(J,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(J,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(J,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(J,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(wW(this.state.type)){let U=xG(this.state.type);return this.next(),super.createIdentifier(J,U)}else if($f(this.state.type)){if(this.isContextual(129))return this.flowParseInterfaceType();return this.flowIdentToTypeAnnotation(X,J,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){let X=this.state.startLoc,J=this.flowParsePrimaryType(),W=!1;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){let R=this.startNodeAt(X),V=this.eat(18);if(W=W||V,this.expect(0),!V&&this.match(3))R.elementType=J,this.next(),J=this.finishNode(R,"ArrayTypeAnnotation");else if(R.objectType=J,R.indexType=this.flowParseType(),this.expect(3),W)R.optional=V,J=this.finishNode(R,"OptionalIndexedAccessType");else J=this.finishNode(R,"IndexedAccessType")}return J}flowParsePrefixType(){let X=this.startNode();if(this.eat(17))return X.typeAnnotation=this.flowParsePrefixType(),this.finishNode(X,"NullableTypeAnnotation");else return this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let X=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let J=this.startNodeAt(X.loc.start);return J.params=[this.reinterpretTypeAsFunctionTypeParam(X)],J.rest=null,J.this=null,J.returnType=this.flowParseType(),J.typeParameters=null,this.finishNode(J,"FunctionTypeAnnotation")}return X}flowParseIntersectionType(){let X=this.startNode();this.eat(45);let J=this.flowParseAnonFunctionWithoutParens();X.types=[J];while(this.eat(45))X.types.push(this.flowParseAnonFunctionWithoutParens());return X.types.length===1?J:this.finishNode(X,"IntersectionTypeAnnotation")}flowParseUnionType(){let X=this.startNode();this.eat(43);let J=this.flowParseIntersectionType();X.types=[J];while(this.eat(43))X.types.push(this.flowParseIntersectionType());return X.types.length===1?J:this.finishNode(X,"UnionTypeAnnotation")}flowParseType(){let X=this.state.inType;this.state.inType=!0;let J=this.flowParseUnionType();return this.state.inType=X,J}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let X=this.state.startLoc,J=this.parseIdentifier();return this.flowParseGenericType(X,J)}else return this.flowParseType()}flowParseTypeAnnotation(){let X=this.startNode();return X.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(X,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(X){let J=X?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14))J.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(J);return J}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}flowParseVariance(){let X=null;if(this.match(53)){if(X=this.startNode(),this.state.value==="+")X.kind="plus";else X.kind="minus";return this.next(),this.finishNode(X,"Variance")}return X}parseFunctionBody(X,J,W=!1){if(J){this.forwardNoArrowParamsConversionAt(X,()=>super.parseFunctionBody(X,!0,W));return}super.parseFunctionBody(X,!1,W)}parseFunctionBodyAndFinish(X,J,W=!1){if(this.match(14)){let R=this.startNode();[R.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),X.returnType=R.typeAnnotation?this.finishNode(R,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(X,J,W)}parseStatementLike(X){if(this.state.strict&&this.isContextual(129)){let W=this.lookahead();if(UG(W.type)){let R=this.startNode();return this.next(),this.flowParseInterface(R)}}else if(this.isContextual(126)){let W=this.startNode();return this.next(),this.flowParseEnumDeclaration(W)}let J=super.parseStatementLike(X);if(this.flowPragma===void 0&&!this.isValidDirective(J))this.flowPragma=null;return J}parseExpressionStatement(X,J,W){if(J.type==="Identifier"){if(J.name==="declare"){if(this.match(80)||$f(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(X)}else if($f(this.state.type)){if(J.name==="interface")return this.flowParseInterface(X);else if(J.name==="type")return this.flowParseTypeAlias(X);else if(J.name==="opaque")return this.flowParseOpaqueType(X,!1)}}return super.parseExpressionStatement(X,J,W)}shouldParseExportDeclaration(){let{type:X}=this.state;if(X===126||S8(X))return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:X}=this.state;if(X===126||S8(X))return this.state.containsEsc;return super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let X=this.startNode();return this.next(),this.flowParseEnumDeclaration(X)}return super.parseExportDefaultExpression()}parseConditional(X,J,W){if(!this.match(17))return X;if(this.state.maybeInArrowParameters){let C=this.lookaheadCharCode();if(C===44||C===61||C===58||C===41)return this.setOptionalParametersError(W),X}this.expect(17);let R=this.state.clone(),V=this.state.noArrowAt,H=this.startNodeAt(J),{consequent:U,failed:Q}=this.tryParseConditionalConsequent(),[Y,S]=this.getArrowLikeExpressions(U);if(Q||S.length>0){let C=[...V];if(S.length>0){this.state=R,this.state.noArrowAt=C;for(let A=0;A<S.length;A++)C.push(S[A].start);({consequent:U,failed:Q}=this.tryParseConditionalConsequent()),[Y,S]=this.getArrowLikeExpressions(U)}if(Q&&Y.length>1)this.raise(n.AmbiguousConditionalArrow,R.startLoc);if(Q&&Y.length===1)this.state=R,C.push(Y[0].start),this.state.noArrowAt=C,{consequent:U,failed:Q}=this.tryParseConditionalConsequent()}return this.getArrowLikeExpressions(U,!0),this.state.noArrowAt=V,this.expect(14),H.test=X,H.consequent=U,H.alternate=this.forwardNoArrowParamsConversionAt(H,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(H,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let X=this.parseMaybeAssignAllowIn(),J=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:X,failed:J}}getArrowLikeExpressions(X,J){let W=[X],R=[];while(W.length!==0){let V=W.pop();if(V.type==="ArrowFunctionExpression"&&V.body.type!=="BlockStatement"){if(V.typeParameters||!V.returnType)this.finishArrowValidation(V);else R.push(V);W.push(V.body)}else if(V.type==="ConditionalExpression")W.push(V.consequent),W.push(V.alternate)}if(J)return R.forEach((V)=>this.finishArrowValidation(V)),[R,[]];return z6f(R,(V)=>V.params.every((H)=>this.isAssignable(H,!0)))}finishArrowValidation(X){var J;this.toAssignableList(X.params,(J=X.extra)==null?void 0:J.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(X,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(X,J){let W;if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))this.state.noArrowParamsConversionAt.push(this.state.start),W=J(),this.state.noArrowParamsConversionAt.pop();else W=J();return W}parseParenItem(X,J){let W=super.parseParenItem(X,J);if(this.eat(17))W.optional=!0,this.resetEndLocation(X);if(this.match(14)){let R=this.startNodeAt(J);return R.expression=W,R.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(R,"TypeCastExpression")}return W}assertModuleNodeAllowed(X){if(X.type==="ImportDeclaration"&&(X.importKind==="type"||X.importKind==="typeof")||X.type==="ExportNamedDeclaration"&&X.exportKind==="type"||X.type==="ExportAllDeclaration"&&X.exportKind==="type")return;super.assertModuleNodeAllowed(X)}parseExportDeclaration(X){if(this.isContextual(130)){X.exportKind="type";let J=this.startNode();if(this.next(),this.match(5))return X.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(X),null;else return this.flowParseTypeAlias(J)}else if(this.isContextual(131)){X.exportKind="type";let J=this.startNode();return this.next(),this.flowParseOpaqueType(J,!1)}else if(this.isContextual(129)){X.exportKind="type";let J=this.startNode();return this.next(),this.flowParseInterface(J)}else if(this.isContextual(126)){X.exportKind="value";let J=this.startNode();return this.next(),this.flowParseEnumDeclaration(J)}else return super.parseExportDeclaration(X)}eatExportStar(X){if(super.eatExportStar(X))return!0;if(this.isContextual(130)&&this.lookahead().type===55)return X.exportKind="type",this.next(),this.next(),!0;return!1}maybeParseExportNamespaceSpecifier(X){let{startLoc:J}=this.state,W=super.maybeParseExportNamespaceSpecifier(X);if(W&&X.exportKind==="type")this.unexpected(J);return W}parseClassId(X,J,W){if(super.parseClassId(X,J,W),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration()}parseClassMember(X,J,W){let{startLoc:R}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(X,J))return;J.declare=!0}if(super.parseClassMember(X,J,W),J.declare){if(J.type!=="ClassProperty"&&J.type!=="ClassPrivateProperty"&&J.type!=="PropertyDefinition")this.raise(n.DeclareClassElement,R);else if(J.value)this.raise(n.DeclareClassFieldInitializer,J.value)}}isIterator(X){return X==="iterator"||X==="asyncIterator"}readIterator(){let X=super.readWord1(),J="@@"+X;if(!this.isIterator(X)||!this.state.inType)this.raise($.InvalidIdentifier,this.state.curPosition(),{identifierName:J});this.finishToken(132,J)}getTokenFromCode(X){let J=this.input.charCodeAt(this.state.pos+1);if(X===123&&J===124)this.finishOp(6,2);else if(this.state.inType&&(X===62||X===60))this.finishOp(X===62?48:47,1);else if(this.state.inType&&X===63)if(J===46)this.finishOp(18,2);else this.finishOp(17,1);else if(sWf(X,J,this.input.charCodeAt(this.state.pos+2)))this.state.pos+=2,this.readIterator();else super.getTokenFromCode(X)}isAssignable(X,J){if(X.type==="TypeCastExpression")return this.isAssignable(X.expression,J);else return super.isAssignable(X,J)}toAssignable(X,J=!1){if(!J&&X.type==="AssignmentExpression"&&X.left.type==="TypeCastExpression")X.left=this.typeCastToParameter(X.left);super.toAssignable(X,J)}toAssignableList(X,J,W){for(let R=0;R<X.length;R++){let V=X[R];if((V==null?void 0:V.type)==="TypeCastExpression")X[R]=this.typeCastToParameter(V)}super.toAssignableList(X,J,W)}toReferencedList(X,J){for(let R=0;R<X.length;R++){var W;let V=X[R];if(V&&V.type==="TypeCastExpression"&&!((W=V.extra)!=null&&W.parenthesized)&&(X.length>1||!J))this.raise(n.TypeCastInPattern,V.typeAnnotation)}return X}parseArrayLike(X,J,W,R){let V=super.parseArrayLike(X,J,W,R);if(J&&!this.state.maybeInArrowParameters)this.toReferencedList(V.elements);return V}isValidLVal(X,J,W){return X==="TypeCastExpression"||super.isValidLVal(X,J,W)}parseClassProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();return super.parseClassPrivateProperty(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(X){return!this.match(14)&&super.isNonstaticConstructor(X)}pushClassMethod(X,J,W,R,V,H){if(J.variance)this.unexpected(J.variance.loc.start);if(delete J.variance,this.match(47))J.typeParameters=this.flowParseTypeParameterDeclaration();if(super.pushClassMethod(X,J,W,R,V,H),J.params&&V){let U=J.params;if(U.length>0&&this.isThisParam(U[0]))this.raise(n.ThisParamBannedInConstructor,J)}else if(J.type==="MethodDefinition"&&V&&J.value.params){let U=J.value.params;if(U.length>0&&this.isThisParam(U[0]))this.raise(n.ThisParamBannedInConstructor,J)}}pushClassPrivateMethod(X,J,W,R){if(J.variance)this.unexpected(J.variance.loc.start);if(delete J.variance,this.match(47))J.typeParameters=this.flowParseTypeParameterDeclaration();super.pushClassPrivateMethod(X,J,W,R)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression();if(this.isContextual(113)){this.next();let J=X.implements=[];do{let W=this.startNode();if(W.id=this.flowParseRestrictedIdentifier(!0),this.match(47))W.typeParameters=this.flowParseTypeParameterInstantiation();else W.typeParameters=null;J.push(this.finishNode(W,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(X){super.checkGetterSetterParams(X);let J=this.getObjectOrClassMethodParams(X);if(J.length>0){let W=J[0];if(this.isThisParam(W)&&X.kind==="get")this.raise(n.GetterMayNotHaveThisParam,W);else if(this.isThisParam(W))this.raise(n.SetterMayNotHaveThisParam,W)}}parsePropertyNamePrefixOperator(X){X.variance=this.flowParseVariance()}parseObjPropValue(X,J,W,R,V,H,U){if(X.variance)this.unexpected(X.variance.loc.start);delete X.variance;let Q;if(this.match(47)&&!H){if(Q=this.flowParseTypeParameterDeclaration(),!this.match(10))this.unexpected()}let Y=super.parseObjPropValue(X,J,W,R,V,H,U);if(Q)(Y.value||Y).typeParameters=Q;return Y}parseFunctionParamType(X){if(this.eat(17)){if(X.type!=="Identifier")this.raise(n.PatternIsOptional,X);if(this.isThisParam(X))this.raise(n.ThisParamMayNotBeOptional,X);X.optional=!0}if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();else if(this.isThisParam(X))this.raise(n.ThisParamAnnotationRequired,X);if(this.match(29)&&this.isThisParam(X))this.raise(n.ThisParamNoDefault,X);return this.resetEndLocation(X),X}parseMaybeDefault(X,J){let W=super.parseMaybeDefault(X,J);if(W.type==="AssignmentPattern"&&W.typeAnnotation&&W.right.start<W.typeAnnotation.start)this.raise(n.TypeBeforeInitializer,W.typeAnnotation);return W}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(n.ImportReflectionHasImportType,X.specifiers[0].loc.start)}parseImportSpecifierLocal(X,J,W){J.local=A8(X)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),X.specifiers.push(this.finishImportSpecifier(J,W))}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){if(!X)return!0;let J=this.lookaheadCharCode();return J===123||J===42}return!X&&this.isContextual(87)}applyImportPhase(X,J,W,R){if(super.applyImportPhase(X,J,W,R),J){if(!W&&this.match(65))return;X.exportKind=W==="type"?W:"value"}else{if(W==="type"&&this.match(55))this.unexpected();X.importKind=W==="type"||W==="typeof"?W:"value"}}parseImportSpecifier(X,J,W,R,V){let H=X.imported,U=null;if(H.type==="Identifier"){if(H.name==="type")U="type";else if(H.name==="typeof")U="typeof"}let Q=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let S=this.parseIdentifier(!0);if(U!==null&&!UG(this.state.type))X.imported=S,X.importKind=U,X.local=LG(S);else X.imported=H,X.importKind=null,X.local=this.parseIdentifier()}else{if(U!==null&&UG(this.state.type))X.imported=this.parseIdentifier(!0),X.importKind=U;else{if(J)throw this.raise($.ImportBindingIsString,X,{importName:H.value});X.imported=H,X.importKind=null}if(this.eatContextual(93))X.local=this.parseIdentifier();else Q=!0,X.local=LG(X.imported)}let Y=A8(X);if(W&&Y)this.raise(n.ImportTypeShorthandOnlyInPureImport,X);if(W||Y)this.checkReservedType(X.local.name,X.local.loc.start,!0);if(Q&&!W&&!Y)this.checkReservedWord(X.local.name,X.loc.start,!0,!0);return this.finishImportSpecifier(X,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(X,J){let W=X.kind;if(W!=="get"&&W!=="set"&&this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();super.parseFunctionParams(X,J)}parseVarId(X,J){if(super.parseVarId(X,J),this.match(14))X.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,J){if(this.match(14)){let W=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,X.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=W}return super.parseAsyncArrowFromCallExpression(X,J)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(X,J){var W;let R=null,V;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(R=this.state.clone(),V=this.tryParse(()=>super.parseMaybeAssign(X,J),R),!V.error)return V.node;let{context:Q}=this.state,Y=Q[Q.length-1];if(Y===Sf.j_oTag||Y===Sf.j_expr)Q.pop()}if((W=V)!=null&&W.error||this.match(47)){var H,U;R=R||this.state.clone();let Q,Y=this.tryParse((C)=>{var A;Q=this.flowParseTypeParameterDeclaration();let O=this.forwardNoArrowParamsConversionAt(Q,()=>{let P=super.parseMaybeAssign(X,J);return this.resetStartLocationFromNode(P,Q),P});if((A=O.extra)!=null&&A.parenthesized)C();let b=this.maybeUnwrapTypeCastExpression(O);if(b.type!=="ArrowFunctionExpression")C();return b.typeParameters=Q,this.resetStartLocationFromNode(b,Q),O},R),S=null;if(Y.node&&this.maybeUnwrapTypeCastExpression(Y.node).type==="ArrowFunctionExpression"){if(!Y.error&&!Y.aborted){if(Y.node.async)this.raise(n.UnexpectedTypeParameterBeforeAsyncArrowFunction,Q);return Y.node}S=Y.node}if((H=V)!=null&&H.node)return this.state=V.failState,V.node;if(S)return this.state=Y.failState,S;if((U=V)!=null&&U.thrown)throw V.error;if(Y.thrown)throw Y.error;throw this.raise(n.UnexpectedTokenAfterTypeParameter,Q)}return super.parseMaybeAssign(X,J)}parseArrow(X){if(this.match(14)){let J=this.tryParse(()=>{let W=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let R=this.startNode();if([R.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=W,this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return R});if(J.thrown)return null;if(J.error)this.state=J.failState;X.returnType=J.node.typeAnnotation?this.finishNode(J.node,"TypeAnnotation"):null}return super.parseArrow(X)}shouldParseArrow(X){return this.match(14)||super.shouldParseArrow(X)}setArrowFunctionParameters(X,J){if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))X.params=J;else super.setArrowFunctionParameters(X,J)}checkParams(X,J,W,R=!0){if(W&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))return;for(let V=0;V<X.params.length;V++)if(this.isThisParam(X.params[V])&&V>0)this.raise(n.ThisParamMustBeFirst,X.params[V]);super.checkParams(X,J,W,R)}parseParenAndDistinguishExpression(X){return super.parseParenAndDistinguishExpression(X&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(X,J,W){if(X.type==="Identifier"&&X.name==="async"&&this.state.noArrowAt.includes(J.index)){this.next();let R=this.startNodeAt(J);R.callee=X,R.arguments=super.parseCallExpressionArguments(11),X=this.finishNode(R,"CallExpression")}else if(X.type==="Identifier"&&X.name==="async"&&this.match(47)){let R=this.state.clone(),V=this.tryParse((U)=>this.parseAsyncArrowWithTypeParameters(J)||U(),R);if(!V.error&&!V.aborted)return V.node;let H=this.tryParse(()=>super.parseSubscripts(X,J,W),R);if(H.node&&!H.error)return H.node;if(V.node)return this.state=V.failState,V.node;if(H.node)return this.state=H.failState,H.node;throw V.error||H.error}return super.parseSubscripts(X,J,W)}parseSubscript(X,J,W,R){if(this.match(18)&&this.isLookaheadToken_lt()){if(R.optionalChainMember=!0,W)return R.stop=!0,X;this.next();let V=this.startNodeAt(J);return V.callee=X,V.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),V.arguments=this.parseCallExpressionArguments(11),V.optional=!0,this.finishCallExpression(V,!0)}else if(!W&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let V=this.startNodeAt(J);V.callee=X;let H=this.tryParse(()=>{if(V.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),V.arguments=super.parseCallExpressionArguments(11),R.optionalChainMember)V.optional=!1;return this.finishCallExpression(V,R.optionalChainMember)});if(H.node){if(H.error)this.state=H.failState;return H.node}}return super.parseSubscript(X,J,W,R)}parseNewCallee(X){super.parseNewCallee(X);let J=null;if(this.shouldParseTypes()&&this.match(47))J=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node;X.typeArguments=J}parseAsyncArrowWithTypeParameters(X){let J=this.startNodeAt(X);if(this.parseFunctionParams(J,!1),!this.parseArrow(J))return;return super.parseArrowExpression(J,void 0,!0)}readToken_mult_modulo(X){let J=this.input.charCodeAt(this.state.pos+1);if(X===42&&J===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(X)}readToken_pipe_amp(X){let J=this.input.charCodeAt(this.state.pos+1);if(X===124&&J===125){this.finishOp(9,2);return}super.readToken_pipe_amp(X)}parseTopLevel(X,J){let W=super.parseTopLevel(X,J);if(this.state.hasFlowComment)this.raise(n.UnterminatedFlowComment,this.state.curPosition());return W}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(n.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let X=this.skipFlowComment();if(X)this.state.pos+=X,this.state.hasFlowComment=!0;return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:X}=this.state,J=2;while([32,9].includes(this.input.charCodeAt(X+J)))J++;let W=this.input.charCodeAt(J+X),R=this.input.charCodeAt(J+X+1);if(W===58&&R===58)return J+2;if(this.input.slice(J+X,J+X+12)==="flow-include")return J+12;if(W===58&&R!==58)return J;return!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise($.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(X,{enumName:J,memberName:W}){this.raise(n.EnumBooleanMemberNotInitialized,X,{memberName:W,enumName:J})}flowEnumErrorInvalidMemberInitializer(X,J){return this.raise(!J.explicitType?n.EnumInvalidMemberInitializerUnknownType:J.explicitType==="symbol"?n.EnumInvalidMemberInitializerSymbolType:n.EnumInvalidMemberInitializerPrimaryType,X,J)}flowEnumErrorNumberMemberNotInitialized(X,J){this.raise(n.EnumNumberMemberNotInitialized,X,J)}flowEnumErrorStringMemberInconsistentlyInitialized(X,J){this.raise(n.EnumStringMemberInconsistentlyInitialized,X,J)}flowEnumMemberInit(){let X=this.state.startLoc,J=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let W=this.parseNumericLiteral(this.state.value);if(J())return{type:"number",loc:W.loc.start,value:W};return{type:"invalid",loc:X}}case 134:{let W=this.parseStringLiteral(this.state.value);if(J())return{type:"string",loc:W.loc.start,value:W};return{type:"invalid",loc:X}}case 85:case 86:{let W=this.parseBooleanLiteral(this.match(85));if(J())return{type:"boolean",loc:W.loc.start,value:W};return{type:"invalid",loc:X}}default:return{type:"invalid",loc:X}}}flowEnumMemberRaw(){let X=this.state.startLoc,J=this.parseIdentifier(!0),W=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:X};return{id:J,init:W}}flowEnumCheckExplicitTypeMismatch(X,J,W){let{explicitType:R}=J;if(R===null)return;if(R!==W)this.flowEnumErrorInvalidMemberInitializer(X,J)}flowEnumMembers({enumName:X,explicitType:J}){let W=new Set,R={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},V=!1;while(!this.match(8)){if(this.eat(21)){V=!0;break}let H=this.startNode(),{id:U,init:Q}=this.flowEnumMemberRaw(),Y=U.name;if(Y==="")continue;if(/^[a-z]/.test(Y))this.raise(n.EnumInvalidMemberName,U,{memberName:Y,suggestion:Y[0].toUpperCase()+Y.slice(1),enumName:X});if(W.has(Y))this.raise(n.EnumDuplicateMemberName,U,{memberName:Y,enumName:X});W.add(Y);let S={enumName:X,explicitType:J,memberName:Y};switch(H.id=U,Q.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(Q.loc,S,"boolean"),H.init=Q.value,R.booleanMembers.push(this.finishNode(H,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(Q.loc,S,"number"),H.init=Q.value,R.numberMembers.push(this.finishNode(H,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(Q.loc,S,"string"),H.init=Q.value,R.stringMembers.push(this.finishNode(H,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(Q.loc,S);case"none":switch(J){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(Q.loc,S);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(Q.loc,S);break;default:R.defaultedMembers.push(this.finishNode(H,"EnumDefaultedMember"))}}if(!this.match(8))this.expect(12)}return{members:R,hasUnknownMembers:V}}flowEnumStringMembers(X,J,{enumName:W}){if(X.length===0)return J;else if(J.length===0)return X;else if(J.length>X.length){for(let R of X)this.flowEnumErrorStringMemberInconsistentlyInitialized(R,{enumName:W});return J}else{for(let R of J)this.flowEnumErrorStringMemberInconsistentlyInitialized(R,{enumName:W});return X}}flowEnumParseExplicitType({enumName:X}){if(!this.eatContextual(102))return null;if(!$f(this.state.type))throw this.raise(n.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:X});let{value:J}=this.state;if(this.next(),J!=="boolean"&&J!=="number"&&J!=="string"&&J!=="symbol")this.raise(n.EnumInvalidExplicitType,this.state.startLoc,{enumName:X,invalidEnumType:J});return J}flowEnumBody(X,J){let W=J.name,R=J.loc.start,V=this.flowEnumParseExplicitType({enumName:W});this.expect(5);let{members:H,hasUnknownMembers:U}=this.flowEnumMembers({enumName:W,explicitType:V});switch(X.hasUnknownMembers=U,V){case"boolean":return X.explicitType=!0,X.members=H.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody");case"number":return X.explicitType=!0,X.members=H.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody");case"string":return X.explicitType=!0,X.members=this.flowEnumStringMembers(H.stringMembers,H.defaultedMembers,{enumName:W}),this.expect(8),this.finishNode(X,"EnumStringBody");case"symbol":return X.members=H.defaultedMembers,this.expect(8),this.finishNode(X,"EnumSymbolBody");default:{let Q=()=>{return X.members=[],this.expect(8),this.finishNode(X,"EnumStringBody")};X.explicitType=!1;let Y=H.booleanMembers.length,S=H.numberMembers.length,C=H.stringMembers.length,A=H.defaultedMembers.length;if(!Y&&!S&&!C&&!A)return Q();else if(!Y&&!S)return X.members=this.flowEnumStringMembers(H.stringMembers,H.defaultedMembers,{enumName:W}),this.expect(8),this.finishNode(X,"EnumStringBody");else if(!S&&!C&&Y>=A){for(let O of H.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(O.loc.start,{enumName:W,memberName:O.id.name});return X.members=H.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody")}else if(!Y&&!C&&S>=A){for(let O of H.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(O.loc.start,{enumName:W,memberName:O.id.name});return X.members=H.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody")}else return this.raise(n.EnumInconsistentMemberValues,R,{enumName:W}),Q()}}}flowParseEnumDeclaration(X){let J=this.parseIdentifier();return X.id=J,X.body=this.flowEnumBody(this.startNode(),J),this.finishNode(X,"EnumDeclaration")}jsxParseOpeningElementAfterName(X){if(this.shouldParseTypes()){if(this.match(47)||this.match(51))X.typeArguments=this.flowParseTypeParameterInstantiationInExpression()}return super.jsxParseOpeningElementAfterName(X)}isLookaheadToken_lt(){let X=this.nextTokenStart();if(this.input.charCodeAt(X)===60){let J=this.input.charCodeAt(X+1);return J!==60&&J!==61}return!1}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}maybeUnwrapTypeCastExpression(X){return X.type==="TypeCastExpression"?X.expression:X}},K6f={__proto__:null,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"},oG=NG`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:f})=>`Expected corresponding JSX closing tag for <${f}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:f,HTMLEntity:G})=>`Unexpected token \`${f}\`. Did you mean \`${G}\` or \`{'${f}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function yG(f){return f?f.type==="JSXOpeningFragment"||f.type==="JSXClosingFragment":!1}function q1(f){if(f.type==="JSXIdentifier")return f.name;if(f.type==="JSXNamespacedName")return f.namespace.name+":"+f.name.name;if(f.type==="JSXMemberExpression")return q1(f.object)+"."+q1(f.property);throw new Error("Node had unexpected type: "+f.type)}var F6f=(f)=>class G extends f{jsxReadToken(){let X="",J=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(oG.UnterminatedJsxContent,this.state.startLoc);let W=this.input.charCodeAt(this.state.pos);switch(W){case 60:case 123:if(this.state.pos===this.state.start){if(W===60&&this.state.canStartJSXElement)++this.state.pos,this.finishToken(143);else super.getTokenFromCode(W);return}X+=this.input.slice(J,this.state.pos),this.finishToken(142,X);return;case 38:X+=this.input.slice(J,this.state.pos),X+=this.jsxReadEntity(),J=this.state.pos;break;case 62:case 125:default:if(A1(W))X+=this.input.slice(J,this.state.pos),X+=this.jsxReadNewLine(!0),J=this.state.pos;else++this.state.pos}}}jsxReadNewLine(X){let J=this.input.charCodeAt(this.state.pos),W;if(++this.state.pos,J===13&&this.input.charCodeAt(this.state.pos)===10)++this.state.pos,W=X?`
21
21
  `:`\r
22
- `;else W=String.fromCharCode(J);return++this.state.curLine,this.state.lineStart=this.state.pos,W}jsxReadString(X){let J="",W=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise($.UnterminatedString,this.state.startLoc);let R=this.input.charCodeAt(this.state.pos);if(R===X)break;if(R===38)J+=this.input.slice(W,this.state.pos),J+=this.jsxReadEntity(),W=this.state.pos;else if(A1(R))J+=this.input.slice(W,this.state.pos),J+=this.jsxReadNewLine(!1),W=this.state.pos;else++this.state.pos}J+=this.input.slice(W,this.state.pos++),this.finishToken(134,J)}jsxReadEntity(){let X=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let J=10;if(this.codePointAtPos(this.state.pos)===120)J=16,++this.state.pos;let W=this.readInt(J,void 0,!1,"bail");if(W!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(W)}else{let J=0,W=!1;while(J++<10&&this.state.pos<this.length&&!(W=this.codePointAtPos(this.state.pos)===59))++this.state.pos;if(W){let R=this.input.slice(X,this.state.pos),V=K6f[R];if(++this.state.pos,V)return V}}return this.state.pos=X,"&"}jsxReadWord(){let X,J=this.state.pos;do X=this.input.charCodeAt(++this.state.pos);while(C1(X)||X===45);this.finishToken(141,this.input.slice(J,this.state.pos))}jsxParseIdentifier(){let X=this.startNode();if(this.match(141))X.name=this.state.value;else if(wW(this.state.type))X.name=xG(this.state.type);else this.unexpected();return this.next(),this.finishNode(X,"JSXIdentifier")}jsxParseNamespacedName(){let X=this.state.startLoc,J=this.jsxParseIdentifier();if(!this.eat(14))return J;let W=this.startNodeAt(X);return W.namespace=J,W.name=this.jsxParseIdentifier(),this.finishNode(W,"JSXNamespacedName")}jsxParseElementName(){let X=this.state.startLoc,J=this.jsxParseNamespacedName();if(J.type==="JSXNamespacedName")return J;while(this.eat(16)){let W=this.startNodeAt(X);W.object=J,W.property=this.jsxParseIdentifier(),J=this.finishNode(W,"JSXMemberExpression")}return J}jsxParseAttributeValue(){let X;switch(this.state.type){case 5:if(X=this.startNode(),this.setContext(Sf.brace),this.next(),X=this.jsxParseExpressionContainer(X,Sf.j_oTag),X.expression.type==="JSXEmptyExpression")this.raise(oG.AttributeIsEmpty,X);return X;case 143:case 134:return this.parseExprAtom();default:throw this.raise(oG.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let X=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(X,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(X){return this.next(),X.expression=this.parseExpression(),this.setContext(Sf.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadChild")}jsxParseExpressionContainer(X,J){if(this.match(8))X.expression=this.jsxParseEmptyExpression();else{let W=this.parseExpression();X.expression=W}return this.setContext(J),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXExpressionContainer")}jsxParseAttribute(){let X=this.startNode();if(this.match(5))return this.setContext(Sf.brace),this.next(),this.expect(21),X.argument=this.parseMaybeAssignAllowIn(),this.setContext(Sf.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadAttribute");return X.name=this.jsxParseNamespacedName(),X.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(X,"JSXAttribute")}jsxParseOpeningElementAt(X){let J=this.startNodeAt(X);if(this.eat(144))return this.finishNode(J,"JSXOpeningFragment");return J.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(J)}jsxParseOpeningElementAfterName(X){let J=[];while(!this.match(56)&&!this.match(144))J.push(this.jsxParseAttribute());return X.attributes=J,X.selfClosing=this.eat(56),this.expect(144),this.finishNode(X,"JSXOpeningElement")}jsxParseClosingElementAt(X){let J=this.startNodeAt(X);if(this.eat(144))return this.finishNode(J,"JSXClosingFragment");return J.name=this.jsxParseElementName(),this.expect(144),this.finishNode(J,"JSXClosingElement")}jsxParseElementAt(X){let J=this.startNodeAt(X),W=[],R=this.jsxParseOpeningElementAt(X),V=null;if(!R.selfClosing){f:for(;;)switch(this.state.type){case 143:if(X=this.state.startLoc,this.next(),this.eat(56)){V=this.jsxParseClosingElementAt(X);break f}W.push(this.jsxParseElementAt(X));break;case 142:W.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let H=this.startNode();if(this.setContext(Sf.brace),this.next(),this.match(21))W.push(this.jsxParseSpreadChild(H));else W.push(this.jsxParseExpressionContainer(H,Sf.j_expr));break}default:this.unexpected()}if(yG(R)&&!yG(V)&&V!==null)this.raise(oG.MissingClosingTagFragment,V);else if(!yG(R)&&yG(V))this.raise(oG.MissingClosingTagElement,V,{openingTagName:q1(R.name)});else if(!yG(R)&&!yG(V)){if(q1(V.name)!==q1(R.name))this.raise(oG.MissingClosingTagElement,V,{openingTagName:q1(R.name)})}}if(yG(R))J.openingFragment=R,J.closingFragment=V;else J.openingElement=R,J.closingElement=V;if(J.children=W,this.match(47))throw this.raise(oG.UnwrappedAdjacentJSXElements,this.state.startLoc);return yG(R)?this.finishNode(J,"JSXFragment"):this.finishNode(J,"JSXElement")}jsxParseElement(){let X=this.state.startLoc;return this.next(),this.jsxParseElementAt(X)}setContext(X){let{context:J}=this.state;J[J.length-1]=X}parseExprAtom(X){if(this.match(143))return this.jsxParseElement();else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33)return this.replaceToken(143),this.jsxParseElement();else return super.parseExprAtom(X)}skipSpace(){if(!this.curContext().preserveSpace)super.skipSpace()}getTokenFromCode(X){let J=this.curContext();if(J===Sf.j_expr){this.jsxReadToken();return}if(J===Sf.j_oTag||J===Sf.j_cTag){if(PG(X)){this.jsxReadWord();return}if(X===62){++this.state.pos,this.finishToken(144);return}if((X===34||X===39)&&J===Sf.j_oTag){this.jsxReadString(X);return}}if(X===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(X)}updateContext(X){let{context:J,type:W}=this.state;if(W===56&&X===143)J.splice(-2,2,Sf.j_cTag),this.state.canStartJSXElement=!1;else if(W===143)J.push(Sf.j_oTag);else if(W===144){let R=J[J.length-1];if(R===Sf.j_oTag&&X===56||R===Sf.j_cTag)J.pop(),this.state.canStartJSXElement=J[J.length-1]===Sf.j_expr;else this.setContext(Sf.j_expr),this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=EWf(W)}};class t8 extends H2{constructor(...f){super(...f);this.tsNames=new Map}}class n8 extends U2{constructor(...f){super(...f);this.importsStack=[]}createScope(f){return this.importsStack.push(new Set),new t8(f)}enter(f){if(f===256)this.importsStack.push(new Set);super.enter(f)}exit(){let f=super.exit();if(f===256)this.importsStack.pop();return f}hasImport(f,G){let X=this.importsStack.length;if(this.importsStack[X-1].has(f))return!0;if(!G&&X>1){for(let J=0;J<X-1;J++)if(this.importsStack[J].has(f))return!0}return!1}declareName(f,G,X){if(G&4096){if(this.hasImport(f,!0))this.parser.raise($.VarRedeclaration,X,{identifierName:f});this.importsStack[this.importsStack.length-1].add(f);return}let J=this.currentScope(),W=J.tsNames.get(f)||0;if(G&1024){this.maybeExportDefined(J,f),J.tsNames.set(f,W|16);return}if(super.declareName(f,G,X),G&2){if(!(G&1))this.checkRedeclarationInScope(J,f,G,X),this.maybeExportDefined(J,f);W=W|1}if(G&256)W=W|2;if(G&512)W=W|4;if(G&128)W=W|8;if(W)J.tsNames.set(f,W)}isRedeclaredInScope(f,G,X){let J=f.tsNames.get(G);if((J&2)>0){if(X&256){let W=!!(X&512),R=(J&4)>0;return W!==R}return!0}if(X&128&&(J&8)>0)if(f.names.get(G)&2)return!!(X&1);else return!1;if(X&2&&(J&1)>0)return!0;return super.isRedeclaredInScope(f,G,X)}checkLocalExport(f){let{name:G}=f;if(this.hasImport(G))return;let X=this.scopeStack.length;for(let J=X-1;J>=0;J--){let R=this.scopeStack[J].tsNames.get(G);if((R&1)>0||(R&16)>0)return}super.checkLocalExport(f)}}var o8=(f)=>{return f.type==="ParenthesizedExpression"?o8(f.expression):f};class e8 extends d8{toAssignable(f,G=!1){var X,J;let W=void 0;if(f.type==="ParenthesizedExpression"||(X=f.extra)!=null&&X.parenthesized)if(W=o8(f),G){if(W.type==="Identifier")this.expressionScope.recordArrowParameterBindingError($.InvalidParenthesizedAssignment,f);else if(W.type!=="MemberExpression"&&!this.isOptionalMemberExpression(W))this.raise($.InvalidParenthesizedAssignment,f)}else this.raise($.InvalidParenthesizedAssignment,f);switch(f.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":f.type="ObjectPattern";for(let V=0,H=f.properties.length,U=H-1;V<H;V++){var R;let Q=f.properties[V],Y=V===U;if(this.toAssignableObjectExpressionProp(Q,Y,G),Y&&Q.type==="RestElement"&&(R=f.extra)!=null&&R.trailingCommaLoc)this.raise($.RestTrailingComma,f.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:V,value:H}=f;if(this.isPrivateName(V))this.classScope.usePrivateName(this.getPrivateNameSV(V),V.loc.start);this.toAssignable(H,G);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":f.type="ArrayPattern",this.toAssignableList(f.elements,(J=f.extra)==null?void 0:J.trailingCommaLoc,G);break;case"AssignmentExpression":if(f.operator!=="=")this.raise($.MissingEqInAssignment,f.left.loc.end);f.type="AssignmentPattern",delete f.operator,this.toAssignable(f.left,G);break;case"ParenthesizedExpression":this.toAssignable(W,G);break}}toAssignableObjectExpressionProp(f,G,X){if(f.type==="ObjectMethod")this.raise(f.kind==="get"||f.kind==="set"?$.PatternHasAccessor:$.PatternHasMethod,f.key);else if(f.type==="SpreadElement"){f.type="RestElement";let J=f.argument;if(this.checkToRestConversion(J,!1),this.toAssignable(J,X),!G)this.raise($.RestTrailingComma,f)}else this.toAssignable(f,X)}toAssignableList(f,G,X){let J=f.length-1;for(let W=0;W<=J;W++){let R=f[W];if(!R)continue;if(R.type==="SpreadElement"){R.type="RestElement";let V=R.argument;this.checkToRestConversion(V,!0),this.toAssignable(V,X)}else this.toAssignable(R,X);if(R.type==="RestElement"){if(W<J)this.raise($.RestTrailingComma,R);else if(G)this.raise($.RestTrailingComma,G)}}}isAssignable(f,G){switch(f.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let X=f.properties.length-1;return f.properties.every((J,W)=>{return J.type!=="ObjectMethod"&&(W===X||J.type!=="SpreadElement")&&this.isAssignable(J)})}case"ObjectProperty":return this.isAssignable(f.value);case"SpreadElement":return this.isAssignable(f.argument);case"ArrayExpression":return f.elements.every((X)=>X===null||this.isAssignable(X));case"AssignmentExpression":return f.operator==="=";case"ParenthesizedExpression":return this.isAssignable(f.expression);case"MemberExpression":case"OptionalMemberExpression":return!G;default:return!1}}toReferencedList(f,G){return f}toReferencedListDeep(f,G){this.toReferencedList(f,G);for(let X of f)if((X==null?void 0:X.type)==="ArrayExpression")this.toReferencedListDeep(X.elements)}parseSpread(f){let G=this.startNode();return this.next(),G.argument=this.parseMaybeAssignAllowIn(f,void 0),this.finishNode(G,"SpreadElement")}parseRestBinding(){let f=this.startNode();return this.next(),f.argument=this.parseBindingAtom(),this.finishNode(f,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let f=this.startNode();return this.next(),f.elements=this.parseBindingList(3,93,1),this.finishNode(f,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(f,G,X){let J=X&1,W=[],R=!0;while(!this.eat(f)){if(R)R=!1;else this.expect(12);if(J&&this.match(12))W.push(null);else if(this.eat(f))break;else if(this.match(21)){let V=this.parseRestBinding();if(this.hasPlugin("flow")||X&2)V=this.parseFunctionParamType(V);if(W.push(V),!this.checkCommaAfterRest(G)){this.expect(f);break}}else{let V=[];if(this.match(26)&&this.hasPlugin("decorators"))this.raise($.UnsupportedParameterDecorator,this.state.startLoc);while(this.match(26))V.push(this.parseDecorator());W.push(this.parseAssignableListItem(X,V))}}return W}parseBindingRestProperty(f){return this.next(),f.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(f,"RestElement")}parseBindingProperty(){let{type:f,startLoc:G}=this.state;if(f===21)return this.parseBindingRestProperty(this.startNode());let X=this.startNode();if(f===139)this.expectPlugin("destructuringPrivate",G),this.classScope.usePrivateName(this.state.value,G),X.key=this.parsePrivateName();else this.parsePropertyName(X);return X.method=!1,this.parseObjPropValue(X,G,!1,!1,!0,!1)}parseAssignableListItem(f,G){let X=this.parseMaybeDefault();if(this.hasPlugin("flow")||f&2)this.parseFunctionParamType(X);let J=this.parseMaybeDefault(X.loc.start,X);if(G.length)X.decorators=G;return J}parseFunctionParamType(f){return f}parseMaybeDefault(f,G){var X,J;if((X=f)!=null||(f=this.state.startLoc),G=(J=G)!=null?J:this.parseBindingAtom(),!this.eat(29))return G;let W=this.startNodeAt(f);return W.left=G,W.right=this.parseMaybeAssignAllowIn(),this.finishNode(W,"AssignmentPattern")}isValidLVal(f,G,X){switch(f){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(f){return f.type==="OptionalMemberExpression"}checkLVal(f,G,X=64,J=!1,W=!1,R=!1){var V;let H=f.type;if(this.isObjectMethod(f))return;let U=this.isOptionalMemberExpression(f);if(U||H==="MemberExpression"){if(U){if(this.expectPlugin("optionalChainingAssign",f.loc.start),G.type!=="AssignmentExpression")this.raise($.InvalidLhsOptionalChaining,f,{ancestor:G})}if(X!==64)this.raise($.InvalidPropertyBindingPattern,f);return}if(H==="Identifier"){this.checkIdentifier(f,X,W);let{name:j}=f;if(J)if(J.has(j))this.raise($.ParamDupe,f);else J.add(j);return}let Q=this.isValidLVal(H,!(R||(V=f.extra)!=null&&V.parenthesized)&&G.type==="AssignmentExpression",X);if(Q===!0)return;if(Q===!1){let j=X===64?$.InvalidLhs:$.InvalidLhsBinding;this.raise(j,f,{ancestor:G});return}let Y,S;if(typeof Q==="string")Y=Q,S=H==="ParenthesizedExpression";else[Y,S]=Q;let C=H==="ArrayPattern"||H==="ObjectPattern"?{type:H}:G,A=f[Y];if(Array.isArray(A)){for(let j of A)if(j)this.checkLVal(j,C,X,J,W,S)}else if(A)this.checkLVal(A,C,X,J,W,S)}checkIdentifier(f,G,X=!1){if(this.state.strict&&(X?v8(f.name,this.inModule):k8(f.name)))if(G===64)this.raise($.StrictEvalArguments,f,{referenceName:f.name});else this.raise($.StrictEvalArgumentsBinding,f,{bindingName:f.name});if(G&8192&&f.name==="let")this.raise($.LetInLexicalBinding,f);if(!(G&64))this.declareNameFromIdentifier(f,G)}declareNameFromIdentifier(f,G){this.scope.declareName(f.name,G,f.loc.start)}checkToRestConversion(f,G){switch(f.type){case"ParenthesizedExpression":this.checkToRestConversion(f.expression,G);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(G)break;default:this.raise($.InvalidRestAssignmentPattern,f)}}checkCommaAfterRest(f){if(!this.match(12))return!1;return this.raise(this.lookaheadCharCode()===f?$.RestTrailingComma:$.ElementAfterRest,this.state.startLoc),!0}}function S6f(f){if(f==null)throw new Error(`Unexpected ${f} value.`);return f}function j8(f){if(!f)throw new Error("Assert fail")}var i=IG`typescript`({AbstractMethodHasImplementation:({methodName:f})=>`Method '${f}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:f})=>`Property '${f}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:f})=>`'declare' is not allowed in ${f}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:f})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:f})=>`Duplicate modifier: '${f}'.`,EmptyHeritageClauseType:({token:f})=>`'${f}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:f})=>`'${f[0]}' modifier cannot be used with '${f[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:f})=>`Index signatures cannot have an accessibility modifier ('${f}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidModifierOnTypeMember:({modifier:f})=>`'${f}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:f})=>`'${f}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:f})=>`'${f}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:f})=>`'${f[0]}' modifier must precede '${f[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:f})=>`Private elements cannot have an accessibility modifier ('${f}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:f})=>`Single type parameter ${f} should have a trailing comma. Example usage: <${f},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:f})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${f}.`});function $6f(f){switch(f){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function O8(f){return f==="private"||f==="public"||f==="protected"}function q6f(f){return f==="in"||f==="out"}var C6f=(f)=>class G extends f{constructor(...X){super(...X);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:i.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:i.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:i.InvalidModifierOnTypeParameter})}getScopeHandler(){return n8}tsIsIdentifier(){return $f(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){if(this.next(),this.hasPrecedingLineBreak())return!1;return this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){if(this.match(106))return this.next(),this.tsTokenCanFollowModifier();return this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(X,J){if(!$f(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let W=this.state.value;if(X.includes(W)){if(J&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return W}return}tsParseModifiers({allowedModifiers:X,disallowedModifiers:J,stopOnStartOfClassStaticBlock:W,errorTemplate:R=i.InvalidModifierOnTypeMember},V){let H=(Q,Y,S,C)=>{if(Y===S&&V[C])this.raise(i.InvalidModifiersOrder,Q,{orderedModifiers:[S,C]})},U=(Q,Y,S,C)=>{if(V[S]&&Y===C||V[C]&&Y===S)this.raise(i.IncompatibleModifiers,Q,{modifiers:[S,C]})};for(;;){let{startLoc:Q}=this.state,Y=this.tsParseModifier(X.concat(J!=null?J:[]),W);if(!Y)break;if(O8(Y))if(V.accessibility)this.raise(i.DuplicateAccessibilityModifier,Q,{modifier:Y});else H(Q,Y,Y,"override"),H(Q,Y,Y,"static"),H(Q,Y,Y,"readonly"),V.accessibility=Y;else if(q6f(Y)){if(V[Y])this.raise(i.DuplicateModifier,Q,{modifier:Y});V[Y]=!0,H(Q,Y,"in","out")}else{if(hasOwnProperty.call(V,Y))this.raise(i.DuplicateModifier,Q,{modifier:Y});else H(Q,Y,"static","readonly"),H(Q,Y,"static","override"),H(Q,Y,"override","readonly"),H(Q,Y,"abstract","override"),U(Q,Y,"declare","override"),U(Q,Y,"static","abstract");V[Y]=!0}if(J!=null&&J.includes(Y))this.raise(R,Q,{modifier:Y})}}tsIsListTerminator(X){switch(X){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(X,J){let W=[];while(!this.tsIsListTerminator(X))W.push(J());return W}tsParseDelimitedList(X,J,W){return S6f(this.tsParseDelimitedListWorker(X,J,!0,W))}tsParseDelimitedListWorker(X,J,W,R){let V=[],H=-1;for(;;){if(this.tsIsListTerminator(X))break;H=-1;let U=J();if(U==null)return;if(V.push(U),this.eat(12)){H=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(X))break;if(W)this.expect(12);return}if(R)R.value=H;return V}tsParseBracketedList(X,J,W,R,V){if(!R)if(W)this.expect(0);else this.expect(47);let H=this.tsParseDelimitedList(X,J,V);if(W)this.expect(3);else this.expect(48);return H}tsParseImportType(){let X=this.startNode();if(this.expect(83),this.expect(10),!this.match(134))this.raise(i.UnsupportedImportTypeArgument,this.state.startLoc),X.argument=super.parseExprAtom();else X.argument=this.parseStringLiteral(this.state.value);if(this.eat(12)&&!this.match(11))X.options=super.parseMaybeAssignAllowIn(),this.eat(12);else X.options=null;if(this.expect(11),this.eat(16))X.qualifier=this.tsParseEntityName(3);if(this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSImportType")}tsParseEntityName(X){let J;if(X&1&&this.match(78))if(X&2)J=this.parseIdentifier(!0);else{let W=this.startNode();this.next(),J=this.finishNode(W,"ThisExpression")}else J=this.parseIdentifier(!!(X&1));while(this.eat(16)){let W=this.startNodeAtNode(J);W.left=J,W.right=this.parseIdentifier(!!(X&1)),J=this.finishNode(W,"TSQualifiedName")}return J}tsParseTypeReference(){let X=this.startNode();if(X.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeReference")}tsParseThisTypePredicate(X){this.next();let J=this.startNodeAtNode(X);return J.parameterName=X,J.typeAnnotation=this.tsParseTypeAnnotation(!1),J.asserts=!1,this.finishNode(J,"TSTypePredicate")}tsParseThisTypeNode(){let X=this.startNode();return this.next(),this.finishNode(X,"TSThisType")}tsParseTypeQuery(){let X=this.startNode();if(this.expect(87),this.match(83))X.exprName=this.tsParseImportType();else X.exprName=this.tsParseEntityName(3);if(!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeQuery")}tsParseTypeParameter(X){let J=this.startNode();return X(J),J.name=this.tsParseTypeParameterName(),J.constraint=this.tsEatThenParseType(81),J.default=this.tsEatThenParseType(29),this.finishNode(J,"TSTypeParameter")}tsTryParseTypeParameters(X){if(this.match(47))return this.tsParseTypeParameters(X)}tsParseTypeParameters(X){let J=this.startNode();if(this.match(47)||this.match(143))this.next();else this.unexpected();let W={value:-1};if(J.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,X),!1,!0,W),J.params.length===0)this.raise(i.EmptyTypeParameters,J);if(W.value!==-1)this.addExtra(J,"trailingComma",W.value);return this.finishNode(J,"TSTypeParameterDeclaration")}tsFillSignature(X,J){let W=X===19,R="parameters",V="typeAnnotation";if(J.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),J.parameters=this.tsParseBindingListForSignature(),W)J.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X);else if(this.match(X))J.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X)}tsParseBindingListForSignature(){let X=super.parseBindingList(11,41,2);for(let J of X){let{type:W}=J;if(W==="AssignmentPattern"||W==="TSParameterProperty")this.raise(i.UnsupportedSignatureParameterKind,J,{type:W})}return X}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator())this.expect(13)}tsParseSignatureMember(X,J){return this.tsFillSignature(14,J),this.tsParseTypeMemberSemicolon(),this.finishNode(J,X)}tsIsUnambiguouslyIndexSignature(){if(this.next(),$f(this.state.type))return this.next(),this.match(14);return!1}tsTryParseIndexSignature(X){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let J=this.parseIdentifier();J.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(J),this.expect(3),X.parameters=[J];let W=this.tsTryParseTypeAnnotation();if(W)X.typeAnnotation=W;return this.tsParseTypeMemberSemicolon(),this.finishNode(X,"TSIndexSignature")}tsParsePropertyOrMethodSignature(X,J){if(this.eat(17))X.optional=!0;let W=X;if(this.match(10)||this.match(47)){if(J)this.raise(i.ReadonlyForMethodSignature,X);let R=W;if(R.kind&&this.match(47))this.raise(i.AccessorCannotHaveTypeParameters,this.state.curPosition());this.tsFillSignature(14,R),this.tsParseTypeMemberSemicolon();let V="parameters",H="typeAnnotation";if(R.kind==="get"){if(R[V].length>0){if(this.raise($.BadGetterArity,this.state.curPosition()),this.isThisParam(R[V][0]))this.raise(i.AccessorCannotDeclareThisParameter,this.state.curPosition())}}else if(R.kind==="set"){if(R[V].length!==1)this.raise($.BadSetterArity,this.state.curPosition());else{let U=R[V][0];if(this.isThisParam(U))this.raise(i.AccessorCannotDeclareThisParameter,this.state.curPosition());if(U.type==="Identifier"&&U.optional)this.raise(i.SetAccessorCannotHaveOptionalParameter,this.state.curPosition());if(U.type==="RestElement")this.raise(i.SetAccessorCannotHaveRestParameter,this.state.curPosition())}if(R[H])this.raise(i.SetAccessorCannotHaveReturnType,R[H])}else R.kind="method";return this.finishNode(R,"TSMethodSignature")}else{let R=W;if(J)R.readonly=!0;let V=this.tsTryParseTypeAnnotation();if(V)R.typeAnnotation=V;return this.tsParseTypeMemberSemicolon(),this.finishNode(R,"TSPropertySignature")}}tsParseTypeMember(){let X=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",X);if(this.match(77)){let W=this.startNode();if(this.next(),this.match(10)||this.match(47))return this.tsParseSignatureMember("TSConstructSignatureDeclaration",X);else return X.key=this.createIdentifier(W,"new"),this.tsParsePropertyOrMethodSignature(X,!1)}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},X);let J=this.tsTryParseIndexSignature(X);if(J)return J;if(super.parsePropertyName(X),!X.computed&&X.key.type==="Identifier"&&(X.key.name==="get"||X.key.name==="set")&&this.tsTokenCanFollowModifier())X.kind=X.key.name,super.parsePropertyName(X);return this.tsParsePropertyOrMethodSignature(X,!!X.readonly)}tsParseTypeLiteral(){let X=this.startNode();return X.members=this.tsParseObjectTypeMembers(),this.finishNode(X,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let X=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),X}tsIsStartOfMappedType(){if(this.next(),this.eat(53))return this.isContextual(122);if(this.isContextual(122))this.next();if(!this.match(0))return!1;if(this.next(),!this.tsIsIdentifier())return!1;return this.next(),this.match(58)}tsParseMappedType(){let X=this.startNode();if(this.expect(5),this.match(53))X.readonly=this.state.value,this.next(),this.expectContextual(122);else if(this.eatContextual(122))X.readonly=!0;this.expect(0);{let J=this.startNode();J.name=this.tsParseTypeParameterName(),J.constraint=this.tsExpectThenParseType(58),X.typeParameter=this.finishNode(J,"TSTypeParameter")}if(X.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53))X.optional=this.state.value,this.next(),this.expect(17);else if(this.eat(17))X.optional=!0;return X.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(X,"TSMappedType")}tsParseTupleType(){let X=this.startNode();X.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let J=!1;return X.elementTypes.forEach((W)=>{let{type:R}=W;if(J&&R!=="TSRestType"&&R!=="TSOptionalType"&&!(R==="TSNamedTupleMember"&&W.optional))this.raise(i.OptionalTypeBeforeRequired,W);J||(J=R==="TSNamedTupleMember"&&W.optional||R==="TSOptionalType")}),this.finishNode(X,"TSTupleType")}tsParseTupleElementType(){let X=this.state.startLoc,J=this.eat(21),{startLoc:W}=this.state,R,V,H,U,Y=UG(this.state.type)?this.lookaheadCharCode():null;if(Y===58)R=!0,H=!1,V=this.parseIdentifier(!0),this.expect(14),U=this.tsParseType();else if(Y===63){H=!0;let S=this.state.value,C=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58)R=!0,V=this.createIdentifier(this.startNodeAt(W),S),this.expect(17),this.expect(14),U=this.tsParseType();else R=!1,U=C,this.expect(17)}else U=this.tsParseType(),H=this.eat(17),R=this.eat(14);if(R){let S;if(V){if(S=this.startNodeAt(W),S.optional=H,S.label=V,S.elementType=U,this.eat(17))S.optional=!0,this.raise(i.TupleOptionalAfterType,this.state.lastTokStartLoc)}else S=this.startNodeAt(W),S.optional=H,this.raise(i.InvalidTupleMemberLabel,U),S.label=U,S.elementType=this.tsParseType();U=this.finishNode(S,"TSNamedTupleMember")}else if(H){let S=this.startNodeAt(W);S.typeAnnotation=U,U=this.finishNode(S,"TSOptionalType")}if(J){let S=this.startNodeAt(X);S.typeAnnotation=U,U=this.finishNode(S,"TSRestType")}return U}tsParseParenthesizedType(){let X=this.startNode();return this.expect(10),X.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(X,"TSParenthesizedType")}tsParseFunctionOrConstructorType(X,J){let W=this.startNode();if(X==="TSConstructorType"){if(W.abstract=!!J,J)this.next();this.next()}return this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,W)),this.finishNode(W,X)}tsParseLiteralTypeNode(){let X=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:X.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(X,"TSLiteralType")}tsParseTemplateLiteralType(){{let X=this.startNode();return X.literal=super.parseTemplate(!1),this.finishNode(X,"TSLiteralType")}}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let X=this.tsParseThisTypeNode();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.tsParseThisTypePredicate(X);else return X}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let X=this.startNode(),J=this.lookahead();if(J.type!==135&&J.type!==136)this.unexpected();return X.literal=this.parseMaybeUnary(),this.finishNode(X,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:X}=this.state;if($f(X)||X===88||X===84){let J=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":$6f(this.state.value);if(J!==void 0&&this.lookaheadCharCode()!==46){let W=this.startNode();return this.next(),this.finishNode(W,J)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:X}=this.state,J=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0))if(this.match(3)){let W=this.startNodeAt(X);W.elementType=J,this.expect(3),J=this.finishNode(W,"TSArrayType")}else{let W=this.startNodeAt(X);W.objectType=J,W.indexType=this.tsParseType(),this.expect(3),J=this.finishNode(W,"TSIndexedAccessType")}return J}tsParseTypeOperator(){let X=this.startNode(),J=this.state.value;if(this.next(),X.operator=J,X.typeAnnotation=this.tsParseTypeOperatorOrHigher(),J==="readonly")this.tsCheckTypeAnnotationForReadOnly(X);return this.finishNode(X,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(X){switch(X.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(i.UnexpectedReadonly,X)}}tsParseInferType(){let X=this.startNode();this.expectContextual(115);let J=this.startNode();return J.name=this.tsParseTypeParameterName(),J.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),X.typeParameter=this.finishNode(J,"TSTypeParameter"),this.finishNode(X,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let X=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return X}}tsParseTypeOperatorOrHigher(){return hWf(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(X,J,W){let R=this.startNode(),V=this.eat(W),H=[];do H.push(J());while(this.eat(W));if(H.length===1&&!V)return H[0];return R.types=H,this.finishNode(R,X)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47))return!0;return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if($f(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:X}=this.state,J=X.length;try{return this.parseObjectLike(8,!0),X.length===J}catch(W){return!1}}if(this.match(0)){this.next();let{errors:X}=this.state,J=X.length;try{return super.parseBindingList(3,93,1),X.length===J}catch(W){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)){if(this.next(),this.match(19))return!0}}return!1}tsParseTypeOrTypePredicateAnnotation(X){return this.tsInType(()=>{let J=this.startNode();this.expect(X);let W=this.startNode(),R=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(R&&this.match(78)){let U=this.tsParseThisTypeOrThisTypePredicate();if(U.type==="TSThisType")W.parameterName=U,W.asserts=!0,W.typeAnnotation=null,U=this.finishNode(W,"TSTypePredicate");else this.resetStartLocationFromNode(U,W),U.asserts=!0;return J.typeAnnotation=U,this.finishNode(J,"TSTypeAnnotation")}let V=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!V){if(!R)return this.tsParseTypeAnnotation(!1,J);return W.parameterName=this.parseIdentifier(),W.asserts=R,W.typeAnnotation=null,J.typeAnnotation=this.finishNode(W,"TSTypePredicate"),this.finishNode(J,"TSTypeAnnotation")}let H=this.tsParseTypeAnnotation(!1);return W.parameterName=V,W.typeAnnotation=H,W.asserts=R,J.typeAnnotation=this.finishNode(W,"TSTypePredicate"),this.finishNode(J,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let X=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),X}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let X=this.state.containsEsc;if(this.next(),!$f(this.state.type)&&!this.match(78))return!1;if(X)this.raise($.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"});return!0}tsParseTypeAnnotation(X=!0,J=this.startNode()){return this.tsInType(()=>{if(X)this.expect(14);J.typeAnnotation=this.tsParseType()}),this.finishNode(J,"TSTypeAnnotation")}tsParseType(){j8(this.state.inType);let X=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return X;let J=this.startNodeAtNode(X);return J.checkType=X,J.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),J.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),J.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(J,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType())return this.tsParseFunctionOrConstructorType("TSFunctionType");if(this.match(77))return this.tsParseFunctionOrConstructorType("TSConstructorType");else if(this.isAbstractConstructorSignature())return this.tsParseFunctionOrConstructorType("TSConstructorType",!0);return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(i.ReservedTypeAssertion,this.state.startLoc);let X=this.startNode();return X.typeAnnotation=this.tsInType(()=>{return this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()}),this.expect(48),X.expression=this.parseMaybeUnary(),this.finishNode(X,"TSTypeAssertion")}tsParseHeritageClause(X){let J=this.state.startLoc,W=this.tsParseDelimitedList("HeritageClauseElement",()=>{let R=this.startNode();{if(R.expression=this.tsParseEntityName(3),this.match(47))R.typeParameters=this.tsParseTypeArguments();return this.finishNode(R,"TSExpressionWithTypeArguments")}});if(!W.length)this.raise(i.EmptyHeritageClauseType,J,{token:X});return W}tsParseInterfaceDeclaration(X,J={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual(129),J.declare)X.declare=!0;if($f(this.state.type))X.id=this.parseIdentifier(),this.checkIdentifier(X.id,130);else X.id=null,this.raise(i.MissingInterfaceName,this.state.startLoc);if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81))X.extends=this.tsParseHeritageClause("extends");let W=this.startNode();return W.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),X.body=this.finishNode(W,"TSInterfaceBody"),this.finishNode(X,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(X){return X.id=this.parseIdentifier(),this.checkIdentifier(X.id,2),X.typeAnnotation=this.tsInType(()=>{if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let J=this.startNode();return this.next(),this.finishNode(J,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(X,"TSTypeAliasDeclaration")}tsInTopLevelContext(X){if(this.curContext()!==Sf.brace){let J=this.state.context;this.state.context=[J[0]];try{return X()}finally{this.state.context=J}}else return X()}tsInType(X){let J=this.state.inType;this.state.inType=!0;try{return X()}finally{this.state.inType=J}}tsInDisallowConditionalTypesContext(X){let J=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return X()}finally{this.state.inDisallowConditionalTypesContext=J}}tsInAllowConditionalTypesContext(X){let J=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return X()}finally{this.state.inDisallowConditionalTypesContext=J}}tsEatThenParseType(X){if(this.match(X))return this.tsNextThenParseType()}tsExpectThenParseType(X){return this.tsInType(()=>{return this.expect(X),this.tsParseType()})}tsNextThenParseType(){return this.tsInType(()=>{return this.next(),this.tsParseType()})}tsParseEnumMember(){let X=this.startNode();if(X.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29))X.initializer=super.parseMaybeAssignAllowIn();return this.finishNode(X,"TSEnumMember")}tsParseEnumDeclaration(X,J={}){if(J.const)X.const=!0;if(J.declare)X.declare=!0;return this.expectContextual(126),X.id=this.parseIdentifier(),this.checkIdentifier(X.id,X.const?8971:8459),this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumDeclaration")}tsParseEnumBody(){let X=this.startNode();return this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumBody")}tsParseModuleBlock(){let X=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(X.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(X,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(X,J=!1){if(X.id=this.parseIdentifier(),!J)this.checkIdentifier(X.id,1024);if(this.eat(16)){let W=this.startNode();this.tsParseModuleOrNamespaceDeclaration(W,!0),X.body=W}else this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(X,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(X){if(this.isContextual(112))X.kind="global",X.global=!0,X.id=this.parseIdentifier();else if(this.match(134))X.kind="module",X.id=super.parseStringLiteral(this.state.value);else this.unexpected();if(this.match(5))this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();else this.semicolon();return this.finishNode(X,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(X,J,W){X.isExport=W||!1,X.id=J||this.parseIdentifier(),this.checkIdentifier(X.id,4096),this.expect(29);let R=this.tsParseModuleReference();if(X.importKind==="type"&&R.type!=="TSExternalModuleReference")this.raise(i.ImportAliasHasImportType,R);return X.moduleReference=R,this.semicolon(),this.finishNode(X,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let X=this.startNode();if(this.expectContextual(119),this.expect(10),!this.match(134))this.unexpected();return X.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(X,"TSExternalModuleReference")}tsLookAhead(X){let J=this.state.clone(),W=X();return this.state=J,W}tsTryParseAndCatch(X){let J=this.tryParse((W)=>X()||W());if(J.aborted||!J.node)return;if(J.error)this.state=J.failState;return J.node}tsTryParse(X){let J=this.state.clone(),W=X();if(W!==void 0&&W!==!1)return W;this.state=J}tsTryParseDeclare(X){if(this.isLineTerminator())return;let J=this.state.type,W;if(this.isContextual(100))J=74,W="let";return this.tsInAmbientContext(()=>{switch(J){case 68:return X.declare=!0,super.parseFunctionStatement(X,!1,!1);case 80:return X.declare=!0,this.parseClass(X,!0,!1);case 126:return this.tsParseEnumDeclaration(X,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(X);case 75:case 74:if(!this.match(75)||!this.isLookaheadContextual("enum"))return X.declare=!0,this.parseVarStatement(X,W||this.state.value,!0);return this.expect(75),this.tsParseEnumDeclaration(X,{const:!0,declare:!0});case 129:{let R=this.tsParseInterfaceDeclaration(X,{declare:!0});if(R)return R}default:if($f(J))return this.tsParseDeclaration(X,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(X,J,W){switch(J.name){case"declare":{let R=this.tsTryParseDeclare(X);if(R)R.declare=!0;return R}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let R=X;return R.kind="global",X.global=!0,R.id=J,R.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(R,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(X,J.name,!1,W)}}tsParseDeclaration(X,J,W,R){switch(J){case"abstract":if(this.tsCheckLineTerminator(W)&&(this.match(80)||$f(this.state.type)))return this.tsParseAbstractDeclaration(X,R);break;case"module":if(this.tsCheckLineTerminator(W)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(X);else if($f(this.state.type))return X.kind="module",this.tsParseModuleOrNamespaceDeclaration(X)}break;case"namespace":if(this.tsCheckLineTerminator(W)&&$f(this.state.type))return X.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(X);break;case"type":if(this.tsCheckLineTerminator(W)&&$f(this.state.type))return this.tsParseTypeAliasDeclaration(X);break}}tsCheckLineTerminator(X){if(X){if(this.hasFollowingLineBreak())return!1;return this.next(),!0}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(X){if(!this.match(47))return;let J=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let W=this.tsTryParseAndCatch(()=>{let R=this.startNodeAt(X);return R.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(R),R.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),R});if(this.state.maybeInArrowParameters=J,!W)return;return super.parseArrowExpression(W,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47)return;return this.tsParseTypeArguments()}tsParseTypeArguments(){let X=this.startNode();if(X.params=this.tsInType(()=>this.tsInTopLevelContext(()=>{return this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))})),X.params.length===0)this.raise(i.EmptyTypeArguments,X);else if(!this.state.inType&&this.curContext()===Sf.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return yWf(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;return super.isExportDefaultSpecifier()}parseAssignableListItem(X,J){let W=this.state.startLoc,R={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},R);let{accessibility:V,override:H,readonly:U}=R;if(!(X&4)&&(V||U||H))this.raise(i.UnexpectedParameterModifier,W);let Q=this.parseMaybeDefault();if(X&2)this.parseFunctionParamType(Q);let Y=this.parseMaybeDefault(Q.loc.start,Q);if(V||U||H){let S=this.startNodeAt(W);if(J.length)S.decorators=J;if(V)S.accessibility=V;if(U)S.readonly=U;if(H)S.override=H;if(Y.type!=="Identifier"&&Y.type!=="AssignmentPattern")this.raise(i.UnsupportedParameterPropertyKind,S);return S.parameter=Y,this.finishNode(S,"TSParameterProperty")}if(J.length)Q.decorators=J;return Y}isSimpleParameter(X){return X.type==="TSParameterProperty"&&super.isSimpleParameter(X.parameter)||super.isSimpleParameter(X)}tsDisallowOptionalPattern(X){for(let J of X.params)if(J.type!=="Identifier"&&J.optional&&!this.state.isAmbientContext)this.raise(i.PatternIsOptional,J)}setArrowFunctionParameters(X,J,W){super.setArrowFunctionParameters(X,J,W),this.tsDisallowOptionalPattern(X)}parseFunctionBodyAndFinish(X,J,W=!1){if(this.match(14))X.returnType=this.tsParseTypeOrTypePredicateAnnotation(14);let R=J==="FunctionDeclaration"?"TSDeclareFunction":J==="ClassMethod"||J==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(R&&!this.match(5)&&this.isLineTerminator())return this.finishNode(X,R);if(R==="TSDeclareFunction"&&this.state.isAmbientContext){if(this.raise(i.DeclareFunctionHasImplementation,X),X.declare)return super.parseFunctionBodyAndFinish(X,R,W)}return this.tsDisallowOptionalPattern(X),super.parseFunctionBodyAndFinish(X,J,W)}registerFunctionStatementId(X){if(!X.body&&X.id)this.checkIdentifier(X.id,1024);else super.registerFunctionStatementId(X)}tsCheckForInvalidTypeCasts(X){X.forEach((J)=>{if((J==null?void 0:J.type)==="TSTypeCastExpression")this.raise(i.UnexpectedTypeAnnotation,J.typeAnnotation)})}toReferencedList(X,J){return this.tsCheckForInvalidTypeCasts(X),X}parseArrayLike(X,J,W,R){let V=super.parseArrayLike(X,J,W,R);if(V.type==="ArrayExpression")this.tsCheckForInvalidTypeCasts(V.elements);return V}parseSubscript(X,J,W,R){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let H=this.startNodeAt(J);return H.expression=X,this.finishNode(H,"TSNonNullExpression")}let V=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(W)return R.stop=!0,X;R.optionalChainMember=V=!0,this.next()}if(this.match(47)||this.match(51)){let H,U=this.tsTryParseAndCatch(()=>{if(!W&&this.atPossibleAsyncArrow(X)){let C=this.tsTryParseGenericAsyncArrowFunction(J);if(C)return C}let Q=this.tsParseTypeArgumentsInExpression();if(!Q)return;if(V&&!this.match(10)){H=this.state.curPosition();return}if(V2(this.state.type)){let C=super.parseTaggedTemplateExpression(X,J,R);return C.typeParameters=Q,C}if(!W&&this.eat(10)){let C=this.startNodeAt(J);if(C.callee=X,C.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(C.arguments),C.typeParameters=Q,R.optionalChainMember)C.optional=V;return this.finishCallExpression(C,R.optionalChainMember)}let Y=this.state.type;if(Y===48||Y===52||Y!==10&&AW(Y)&&!this.hasPrecedingLineBreak())return;let S=this.startNodeAt(J);return S.expression=X,S.typeParameters=Q,this.finishNode(S,"TSInstantiationExpression")});if(H)this.unexpected(H,10);if(U){if(U.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40))this.raise(i.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc);return U}}return super.parseSubscript(X,J,W,R)}parseNewCallee(X){var J;super.parseNewCallee(X);let{callee:W}=X;if(W.type==="TSInstantiationExpression"&&!((J=W.extra)!=null&&J.parenthesized))X.typeParameters=W.typeParameters,X.callee=W.expression}parseExprOp(X,J,W){let R;if(W2(58)>W&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(R=this.isContextual(120)))){let V=this.startNodeAt(J);return V.expression=X,V.typeAnnotation=this.tsInType(()=>{if(this.next(),this.match(75)){if(R)this.raise($.UnexpectedKeyword,this.state.startLoc,{keyword:"const"});return this.tsParseTypeReference()}return this.tsParseType()}),this.finishNode(V,R?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(V,J,W)}return super.parseExprOp(X,J,W)}checkReservedWord(X,J,W,R){if(!this.state.isAmbientContext)super.checkReservedWord(X,J,W,R)}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(i.ImportReflectionHasImportType,X.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){let J=this.lookaheadCharCode();return X?J===123||J===42:J!==61}return!X&&this.isContextual(87)}applyImportPhase(X,J,W,R){if(super.applyImportPhase(X,J,W,R),J)X.exportKind=W==="type"?"type":"value";else X.importKind=W==="type"||W==="typeof"?W:"value"}parseImport(X){if(this.match(134))return X.importKind="value",super.parseImport(X);let J;if($f(this.state.type)&&this.lookaheadCharCode()===61)return X.importKind="value",this.tsParseImportEqualsDeclaration(X);else if(this.isContextual(130)){let W=this.parseMaybeImportPhase(X,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(X,W);else J=super.parseImportSpecifiersAndAfter(X,W)}else J=super.parseImport(X);if(J.importKind==="type"&&J.specifiers.length>1&&J.specifiers[0].type==="ImportDefaultSpecifier")this.raise(i.TypeImportCannotSpecifyDefaultAndNamed,J);return J}parseExport(X,J){if(this.match(83)){let W=X;this.next();let R=null;if(this.isContextual(130)&&this.isPotentialImportPhase(!1))R=this.parseMaybeImportPhase(W,!1);else W.importKind="value";return this.tsParseImportEqualsDeclaration(W,R,!0)}else if(this.eat(29)){let W=X;return W.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(W,"TSExportAssignment")}else if(this.eatContextual(93)){let W=X;return this.expectContextual(128),W.id=this.parseIdentifier(),this.semicolon(),this.finishNode(W,"TSNamespaceExportDeclaration")}else return super.parseExport(X,J)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let X=this.startNode();return this.next(),X.abstract=!0,this.parseClass(X,!0,!0)}if(this.match(129)){let X=this.tsParseInterfaceDeclaration(this.startNode());if(X)return X}return super.parseExportDefaultExpression()}parseVarStatement(X,J,W=!1){let{isAmbientContext:R}=this.state,V=super.parseVarStatement(X,J,W||R);if(!R)return V;for(let{id:H,init:U}of V.declarations){if(!U)continue;if(J!=="const"||!!H.typeAnnotation)this.raise(i.InitializerNotAllowedInAmbientContext,U);else if(!j6f(U,this.hasPlugin("estree")))this.raise(i.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,U)}return V}parseStatementContent(X,J){if(this.match(75)&&this.isLookaheadContextual("enum")){let W=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(W,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let W=this.tsParseInterfaceDeclaration(this.startNode());if(W)return W}return super.parseStatementContent(X,J)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(X,J){return J.some((W)=>{if(O8(W))return X.accessibility===W;return!!X[W]})}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(X,J,W){let R=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:R,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:i.InvalidModifierOnTypeParameterPositions},J);let V=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(J,R))this.raise(i.StaticBlockCannotHaveModifier,this.state.curPosition());super.parseClassStaticBlock(X,J)}else this.parseClassMemberWithIsStatic(X,J,W,!!J.static)};if(J.declare)this.tsInAmbientContext(V);else V()}parseClassMemberWithIsStatic(X,J,W,R){let V=this.tsTryParseIndexSignature(J);if(V){if(X.body.push(V),J.abstract)this.raise(i.IndexSignatureHasAbstract,J);if(J.accessibility)this.raise(i.IndexSignatureHasAccessibility,J,{modifier:J.accessibility});if(J.declare)this.raise(i.IndexSignatureHasDeclare,J);if(J.override)this.raise(i.IndexSignatureHasOverride,J);return}if(!this.state.inAbstractClass&&J.abstract)this.raise(i.NonAbstractClassHasAbstractMethod,J);if(J.override){if(!W.hadSuperClass)this.raise(i.OverrideNotInSubClass,J)}super.parseClassMemberWithIsStatic(X,J,W,R)}parsePostMemberNameModifiers(X){if(this.eat(17))X.optional=!0;if(X.readonly&&this.match(10))this.raise(i.ClassMethodHasReadonly,X);if(X.declare&&this.match(10))this.raise(i.ClassMethodHasDeclare,X)}parseExpressionStatement(X,J,W){return(J.type==="Identifier"?this.tsParseExpressionStatement(X,J,W):void 0)||super.parseExpressionStatement(X,J,W)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return!0;return super.shouldParseExportDeclaration()}parseConditional(X,J,W){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(X,J,W);let R=this.tryParse(()=>super.parseConditional(X,J));if(!R.node){if(R.error)super.setOptionalParametersError(W,R.error);return X}if(R.error)this.state=R.failState;return R.node}parseParenItem(X,J){let W=super.parseParenItem(X,J);if(this.eat(17))W.optional=!0,this.resetEndLocation(X);if(this.match(14)){let R=this.startNodeAt(J);return R.expression=X,R.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(R,"TSTypeCastExpression")}return X}parseExportDeclaration(X){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(X));let J=this.state.startLoc,W=this.eatContextual(125);if(W&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(i.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let V=$f(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(X);if(!V)return null;if(V.type==="TSInterfaceDeclaration"||V.type==="TSTypeAliasDeclaration"||W)X.exportKind="type";if(W&&V.type!=="TSImportEqualsDeclaration")this.resetStartLocation(V,J),V.declare=!0;return V}parseClassId(X,J,W,R){if((!J||W)&&this.isContextual(113))return;super.parseClassId(X,J,W,X.declare?1024:8331);let V=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(V)X.typeParameters=V}parseClassPropertyAnnotation(X){if(!X.optional){if(this.eat(35))X.definite=!0;else if(this.eat(17))X.optional=!0}let J=this.tsTryParseTypeAnnotation();if(J)X.typeAnnotation=J}parseClassProperty(X){if(this.parseClassPropertyAnnotation(X),this.state.isAmbientContext&&!(X.readonly&&!X.typeAnnotation)&&this.match(29))this.raise(i.DeclareClassFieldHasInitializer,this.state.startLoc);if(X.abstract&&this.match(29)){let{key:J}=X;this.raise(i.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:J.type==="Identifier"&&!X.computed?J.name:`[${this.input.slice(this.offsetToSourcePos(J.start),this.offsetToSourcePos(J.end))}]`})}return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(X.abstract)this.raise(i.PrivateElementHasAbstract,X);if(X.accessibility)this.raise(i.PrivateElementHasAccessibility,X,{modifier:X.accessibility});return this.parseClassPropertyAnnotation(X),super.parseClassPrivateProperty(X)}parseClassAccessorProperty(X){if(this.parseClassPropertyAnnotation(X),X.optional)this.raise(i.AccessorCannotBeOptional,X);return super.parseClassAccessorProperty(X)}pushClassMethod(X,J,W,R,V,H){let U=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(U&&V)this.raise(i.ConstructorHasTypeParameters,U);let{declare:Q=!1,kind:Y}=J;if(Q&&(Y==="get"||Y==="set"))this.raise(i.DeclareAccessor,J,{kind:Y});if(U)J.typeParameters=U;super.pushClassMethod(X,J,W,R,V,H)}pushClassPrivateMethod(X,J,W,R){let V=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(V)J.typeParameters=V;super.pushClassPrivateMethod(X,J,W,R)}declareClassPrivateMethodInScope(X,J){if(X.type==="TSDeclareMethod")return;if(X.type==="MethodDefinition"&&!hasOwnProperty.call(X.value,"body"))return;super.declareClassPrivateMethodInScope(X,J)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.tsParseTypeArgumentsInExpression();if(this.eatContextual(113))X.implements=this.tsParseHeritageClause("implements")}parseObjPropValue(X,J,W,R,V,H,U){let Q=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Q)X.typeParameters=Q;return super.parseObjPropValue(X,J,W,R,V,H,U)}parseFunctionParams(X,J){let W=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(W)X.typeParameters=W;super.parseFunctionParams(X,J)}parseVarId(X,J){if(super.parseVarId(X,J),X.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35))X.definite=!0;let W=this.tsTryParseTypeAnnotation();if(W)X.id.typeAnnotation=W,this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,J){if(this.match(14))X.returnType=this.tsParseTypeAnnotation();return super.parseAsyncArrowFromCallExpression(X,J)}parseMaybeAssign(X,J){var W,R,V,H,U;let Q,Y,S;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(Q=this.state.clone(),Y=this.tryParse(()=>super.parseMaybeAssign(X,J),Q),!Y.error)return Y.node;let{context:j}=this.state,b=j[j.length-1];if(b===Sf.j_oTag||b===Sf.j_expr)j.pop()}if(!((W=Y)!=null&&W.error)&&!this.match(47))return super.parseMaybeAssign(X,J);if(!Q||Q===this.state)Q=this.state.clone();let C,A=this.tryParse((j)=>{var b,I;C=this.tsParseTypeParameters(this.tsParseConstModifier);let L=super.parseMaybeAssign(X,J);if(L.type!=="ArrowFunctionExpression"||(b=L.extra)!=null&&b.parenthesized)j();if(((I=C)==null?void 0:I.params.length)!==0)this.resetStartLocationFromNode(L,C);return L.typeParameters=C,L},Q);if(!A.error&&!A.aborted){if(C)this.reportReservedArrowTypeParam(C);return A.node}if(!Y){if(j8(!this.hasPlugin("jsx")),S=this.tryParse(()=>super.parseMaybeAssign(X,J),Q),!S.error)return S.node}if((R=Y)!=null&&R.node)return this.state=Y.failState,Y.node;if(A.node){if(this.state=A.failState,C)this.reportReservedArrowTypeParam(C);return A.node}if((V=S)!=null&&V.node)return this.state=S.failState,S.node;throw((H=Y)==null?void 0:H.error)||A.error||((U=S)==null?void 0:U.error)}reportReservedArrowTypeParam(X){var J;if(X.params.length===1&&!X.params[0].constraint&&!((J=X.extra)!=null&&J.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(i.ReservedArrowTypeParam,X)}parseMaybeUnary(X,J){if(!this.hasPlugin("jsx")&&this.match(47))return this.tsParseTypeAssertion();return super.parseMaybeUnary(X,J)}parseArrow(X){if(this.match(14)){let J=this.tryParse((W)=>{let R=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))W();return R});if(J.aborted)return;if(!J.thrown){if(J.error)this.state=J.failState;X.returnType=J.node}}return super.parseArrow(X)}parseFunctionParamType(X){if(this.eat(17))X.optional=!0;let J=this.tsTryParseTypeAnnotation();if(J)X.typeAnnotation=J;return this.resetEndLocation(X),X}isAssignable(X,J){switch(X.type){case"TSTypeCastExpression":return this.isAssignable(X.expression,J);case"TSParameterProperty":return!0;default:return super.isAssignable(X,J)}}toAssignable(X,J=!1){switch(X.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(X,J);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(J)this.expressionScope.recordArrowParameterBindingError(i.UnexpectedTypeCastInParameter,X);else this.raise(i.UnexpectedTypeCastInParameter,X);this.toAssignable(X.expression,J);break;case"AssignmentExpression":if(!J&&X.left.type==="TSTypeCastExpression")X.left=this.typeCastToParameter(X.left);default:super.toAssignable(X,J)}}toAssignableParenthesizedExpression(X,J){switch(X.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(X.expression,J);break;default:super.toAssignable(X,J)}}checkToRestConversion(X,J){switch(X.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(X.expression,!1);break;default:super.checkToRestConversion(X,J)}}isValidLVal(X,J,W){switch(X){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(W!==64||!J)&&["expression",!0];default:return super.isValidLVal(X,J,W)}}parseBindingAtom(){if(this.state.type===78)return this.parseIdentifier(!0);return super.parseBindingAtom()}parseMaybeDecoratorArguments(X,J){if(this.match(47)||this.match(51)){let W=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let R=super.parseMaybeDecoratorArguments(X,J);return R.typeParameters=W,R}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(X,J)}checkCommaAfterRest(X){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===X)return this.next(),!1;return super.checkCommaAfterRest(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(X,J){let W=super.parseMaybeDefault(X,J);if(W.type==="AssignmentPattern"&&W.typeAnnotation&&W.right.start<W.typeAnnotation.start)this.raise(i.TypeAnnotationAfterAssign,W.typeAnnotation);return W}getTokenFromCode(X){if(this.state.inType){if(X===62){this.finishOp(48,1);return}if(X===60){this.finishOp(47,1);return}}super.getTokenFromCode(X)}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}toAssignableList(X,J,W){for(let R=0;R<X.length;R++){let V=X[R];if((V==null?void 0:V.type)==="TSTypeCastExpression")X[R]=this.typeCastToParameter(V)}super.toAssignableList(X,J,W)}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}shouldParseArrow(X){if(this.match(14))return X.every((J)=>this.isAssignable(J,!0));return super.shouldParseArrow(X)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(X){if(this.match(47)||this.match(51)){let J=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());if(J)X.typeParameters=J}return super.jsxParseOpeningElementAfterName(X)}getGetterSetterExpectedParamCount(X){let J=super.getGetterSetterExpectedParamCount(X),R=this.getObjectOrClassMethodParams(X)[0];return R&&this.isThisParam(R)?J+1:J}parseCatchClauseParam(){let X=super.parseCatchClauseParam(),J=this.tsTryParseTypeAnnotation();if(J)X.typeAnnotation=J,this.resetEndLocation(X);return X}tsInAmbientContext(X){let{isAmbientContext:J,strict:W}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return X()}finally{this.state.isAmbientContext=J,this.state.strict=W}}parseClass(X,J,W){let R=this.state.inAbstractClass;this.state.inAbstractClass=!!X.abstract;try{return super.parseClass(X,J,W)}finally{this.state.inAbstractClass=R}}tsParseAbstractDeclaration(X,J){if(this.match(80))return X.abstract=!0,this.maybeTakeDecorators(J,this.parseClass(X,!0,!1));else if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return X.abstract=!0,this.raise(i.NonClassMethodPropertyHasAbstractModifer,X),this.tsParseInterfaceDeclaration(X)}else this.unexpected(null,80)}parseMethod(X,J,W,R,V,H,U){let Q=super.parseMethod(X,J,W,R,V,H,U);if(Q.abstract){if((this.hasPlugin("estree")?Q.value:Q).body){let{key:C}=Q;this.raise(i.AbstractMethodHasImplementation,Q,{methodName:C.type==="Identifier"&&!Q.computed?C.name:`[${this.input.slice(this.offsetToSourcePos(C.start),this.offsetToSourcePos(C.end))}]`})}}return Q}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.getExpression()}parseExportSpecifier(X,J,W,R){if(!J&&R)return this.parseTypeOnlyImportExportSpecifier(X,!1,W),this.finishNode(X,"ExportSpecifier");return X.exportKind="value",super.parseExportSpecifier(X,J,W,R)}parseImportSpecifier(X,J,W,R,V){if(!J&&R)return this.parseTypeOnlyImportExportSpecifier(X,!0,W),this.finishNode(X,"ImportSpecifier");return X.importKind="value",super.parseImportSpecifier(X,J,W,R,W?4098:4096)}parseTypeOnlyImportExportSpecifier(X,J,W){let R=J?"imported":"local",V=J?"local":"exported",H=X[R],U,Q=!1,Y=!0,S=H.loc.start;if(this.isContextual(93)){let A=this.parseIdentifier();if(this.isContextual(93)){let j=this.parseIdentifier();if(UG(this.state.type))Q=!0,H=A,U=J?this.parseIdentifier():this.parseModuleExportName(),Y=!1;else U=j,Y=!1}else if(UG(this.state.type))Y=!1,U=J?this.parseIdentifier():this.parseModuleExportName();else Q=!0,H=A}else if(UG(this.state.type))if(Q=!0,J){if(H=this.parseIdentifier(!0),!this.isContextual(93))this.checkReservedWord(H.name,H.loc.start,!0,!0)}else H=this.parseModuleExportName();if(Q&&W)this.raise(J?i.TypeModifierIsUsedInTypeImports:i.TypeModifierIsUsedInTypeExports,S);X[R]=H,X[V]=U;let C=J?"importKind":"exportKind";if(X[C]=Q?"type":"value",Y&&this.eatContextual(93))X[V]=J?this.parseIdentifier():this.parseModuleExportName();if(!X[V])X[V]=TG(X[R]);if(J)this.checkIdentifier(X[V],Q?4098:4096)}};function A6f(f){if(f.type!=="MemberExpression")return!1;let{computed:G,property:X}=f;if(G&&X.type!=="StringLiteral"&&(X.type!=="TemplateLiteral"||X.expressions.length>0))return!1;return G4(f.object)}function j6f(f,G){var X;let{type:J}=f;if((X=f.extra)!=null&&X.parenthesized)return!1;if(G){if(J==="Literal"){let{value:W}=f;if(typeof W==="string"||typeof W==="boolean")return!0}}else if(J==="StringLiteral"||J==="BooleanLiteral")return!0;if(f4(f,G)||O6f(f,G))return!0;if(J==="TemplateLiteral"&&f.expressions.length===0)return!0;if(A6f(f))return!0;return!1}function f4(f,G){if(G)return f.type==="Literal"&&(typeof f.value==="number"||("bigint"in f));return f.type==="NumericLiteral"||f.type==="BigIntLiteral"}function O6f(f,G){if(f.type==="UnaryExpression"){let{operator:X,argument:J}=f;if(X==="-"&&f4(J,G))return!0}return!1}function G4(f){if(f.type==="Identifier")return!0;if(f.type!=="MemberExpression"||f.computed)return!1;return G4(f.object)}var D8=IG`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),D6f=(f)=>class G extends f{parsePlaceholder(X){if(this.match(133)){let J=this.startNode();return this.next(),this.assertNoSpace(),J.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(J,X)}}finishPlaceholder(X,J){let W=X;if(!W.expectedNode||!W.type)W=this.finishNode(W,"Placeholder");return W.expectedNode=J,W}getTokenFromCode(X){if(X===37&&this.input.charCodeAt(this.state.pos+1)===37)this.finishOp(133,2);else super.getTokenFromCode(X)}parseExprAtom(X){return this.parsePlaceholder("Expression")||super.parseExprAtom(X)}parseIdentifier(X){return this.parsePlaceholder("Identifier")||super.parseIdentifier(X)}checkReservedWord(X,J,W,R){if(X!==void 0)super.checkReservedWord(X,J,W,R)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(X,J,W){return X==="Placeholder"||super.isValidLVal(X,J,W)}toAssignable(X,J){if(X&&X.type==="Placeholder"&&X.expectedNode==="Expression")X.expectedNode="Pattern";else super.toAssignable(X,J)}chStartsBindingIdentifier(X,J){if(super.chStartsBindingIdentifier(X,J))return!0;if(this.lookahead().type===133)return!0;return!1}verifyBreakContinue(X,J){if(X.label&&X.label.type==="Placeholder")return;super.verifyBreakContinue(X,J)}parseExpressionStatement(X,J){var W;if(J.type!=="Placeholder"||(W=J.extra)!=null&&W.parenthesized)return super.parseExpressionStatement(X,J);if(this.match(14)){let V=X;return V.label=this.finishPlaceholder(J,"Identifier"),this.next(),V.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(V,"LabeledStatement")}this.semicolon();let R=X;return R.name=J.name,this.finishPlaceholder(R,"Statement")}parseBlock(X,J,W){return this.parsePlaceholder("BlockStatement")||super.parseBlock(X,J,W)}parseFunctionId(X){return this.parsePlaceholder("Identifier")||super.parseFunctionId(X)}parseClass(X,J,W){let R=J?"ClassDeclaration":"ClassExpression";this.next();let V=this.state.strict,H=this.parsePlaceholder("Identifier");if(H)if(this.match(81)||this.match(133)||this.match(5))X.id=H;else if(W||!J)return X.id=null,X.body=this.finishPlaceholder(H,"ClassBody"),this.finishNode(X,R);else throw this.raise(D8.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(X,J,W);return super.parseClassSuper(X),X.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!X.superClass,V),this.finishNode(X,R)}parseExport(X,J){let W=this.parsePlaceholder("Identifier");if(!W)return super.parseExport(X,J);let R=X;if(!this.isContextual(98)&&!this.match(12))return R.specifiers=[],R.source=null,R.declaration=this.finishPlaceholder(W,"Declaration"),this.finishNode(R,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let V=this.startNode();return V.exported=W,R.specifiers=[this.finishNode(V,"ExportDefaultSpecifier")],super.parseExport(R,J)}isExportDefaultSpecifier(){if(this.match(65)){let X=this.nextTokenStart();if(this.isUnparsedContextual(X,"from")){if(this.input.startsWith(xG(133),this.nextTokenStartSince(X+4)))return!0}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(X,J){var W;if((W=X.specifiers)!=null&&W.length)return!0;return super.maybeParseExportDefaultSpecifier(X,J)}checkExport(X){let{specifiers:J}=X;if(J!=null&&J.length)X.specifiers=J.filter((W)=>W.exported.type==="Placeholder");super.checkExport(X),X.specifiers=J}parseImport(X){let J=this.parsePlaceholder("Identifier");if(!J)return super.parseImport(X);if(X.specifiers=[],!this.isContextual(98)&&!this.match(12))return X.source=this.finishPlaceholder(J,"StringLiteral"),this.semicolon(),this.finishNode(X,"ImportDeclaration");let W=this.startNodeAtNode(J);if(W.local=J,X.specifiers.push(this.finishNode(W,"ImportDefaultSpecifier")),this.eat(12)){if(!this.maybeParseStarImportSpecifier(X))this.parseNamedImportSpecifiers(X)}return this.expectContextual(98),X.source=this.parseImportSource(),this.semicolon(),this.finishNode(X,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){if(this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index))this.raise(D8.UnexpectedSpace,this.state.lastTokEndLoc)}},P6f=(f)=>class G extends f{parseV8Intrinsic(){if(this.match(54)){let X=this.state.startLoc,J=this.startNode();if(this.next(),$f(this.state.type)){let W=this.parseIdentifierName(),R=this.createIdentifier(J,W);if(R.type="V8IntrinsicIdentifier",this.match(10))return R}this.unexpected(X)}}parseExprAtom(X){return this.parseV8Intrinsic()||super.parseExprAtom(X)}},P8=["minimal","fsharp","hack","smart"],I8=["^^","@@","^","%","#"];function I6f(f){if(f.has("decorators")){if(f.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let X=f.get("decorators").decoratorsBeforeExport;if(X!=null&&typeof X!=="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let J=f.get("decorators").allowCallParenthesized;if(J!=null&&typeof J!=="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(f.has("flow")&&f.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(f.has("placeholders")&&f.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(f.has("pipelineOperator")){var G;let X=f.get("pipelineOperator").proposal;if(!P8.includes(X)){let W=P8.map((R)=>`"${R}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${W}.`)}let J=((G=f.get("recordAndTuple"))==null?void 0:G.syntaxType)==="hash";if(X==="hack"){if(f.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(f.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let W=f.get("pipelineOperator").topicToken;if(!I8.includes(W)){let R=I8.map((V)=>`"${V}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${R}.`)}if(W==="#"&&J)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",f.get("recordAndTuple")])}\`.`)}else if(X==="smart"&&J)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",f.get("recordAndTuple")])}\`.`)}if(f.has("moduleAttributes")){if(f.has("deprecatedImportAssert")||f.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(f.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(f.has("importAssertions")){if(f.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.")}if(!f.has("deprecatedImportAssert")&&f.has("importAttributes")&&f.get("importAttributes").deprecatedAssertSyntax)f.set("deprecatedImportAssert",{});if(f.has("recordAndTuple")){let X=f.get("recordAndTuple").syntaxType;if(X!=null){let J=["hash","bar"];if(!J.includes(X))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+J.map((W)=>`'${W}'`).join(", "))}}if(f.has("asyncDoExpressions")&&!f.has("doExpressions")){let X=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw X.missingPlugins="doExpressions",X}if(f.has("optionalChainingAssign")&&f.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var X4={estree:TWf,jsx:F6f,flow:M6f,typescript:C6f,v8intrinsic:P6f,placeholders:D6f},N6f=Object.keys(X4);class J4 extends e8{checkProto(f,G,X,J){if(f.type==="SpreadElement"||this.isObjectMethod(f)||f.computed||f.shorthand)return;let W=f.key;if((W.type==="Identifier"?W.name:W.value)==="__proto__"){if(G){this.raise($.RecordNoProto,W);return}if(X.used)if(J){if(J.doubleProtoLoc===null)J.doubleProtoLoc=W.loc.start}else this.raise($.DuplicateProto,W);X.used=!0}}shouldExitDescending(f,G){return f.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(f.start)===G}getExpression(){this.enterInitialScopes(),this.nextToken();let f=this.parseExpression();if(!this.match(140))this.unexpected();if(this.finalizeRemainingComments(),f.comments=this.comments,f.errors=this.state.errors,this.optionFlags&128)f.tokens=this.tokens;return f}parseExpression(f,G){if(f)return this.disallowInAnd(()=>this.parseExpressionBase(G));return this.allowInAnd(()=>this.parseExpressionBase(G))}parseExpressionBase(f){let G=this.state.startLoc,X=this.parseMaybeAssign(f);if(this.match(12)){let J=this.startNodeAt(G);J.expressions=[X];while(this.eat(12))J.expressions.push(this.parseMaybeAssign(f));return this.toReferencedList(J.expressions),this.finishNode(J,"SequenceExpression")}return X}parseMaybeAssignDisallowIn(f,G){return this.disallowInAnd(()=>this.parseMaybeAssign(f,G))}parseMaybeAssignAllowIn(f,G){return this.allowInAnd(()=>this.parseMaybeAssign(f,G))}setOptionalParametersError(f,G){var X;f.optionalParametersLoc=(X=G==null?void 0:G.loc)!=null?X:this.state.startLoc}parseMaybeAssign(f,G){let X=this.state.startLoc;if(this.isContextual(108)){if(this.prodParam.hasYield){let V=this.parseYield();if(G)V=G.call(this,V,X);return V}}let J;if(f)J=!1;else f=new JX,J=!0;let{type:W}=this.state;if(W===10||$f(W))this.state.potentialArrowAt=this.state.start;let R=this.parseMaybeConditional(f);if(G)R=G.call(this,R,X);if(kWf(this.state.type)){let V=this.startNodeAt(X),H=this.state.value;if(V.operator=H,this.match(29)){this.toAssignable(R,!0),V.left=R;let U=X.index;if(f.doubleProtoLoc!=null&&f.doubleProtoLoc.index>=U)f.doubleProtoLoc=null;if(f.shorthandAssignLoc!=null&&f.shorthandAssignLoc.index>=U)f.shorthandAssignLoc=null;if(f.privateKeyLoc!=null&&f.privateKeyLoc.index>=U)this.checkDestructuringPrivate(f),f.privateKeyLoc=null}else V.left=R;return this.next(),V.right=this.parseMaybeAssign(),this.checkLVal(R,this.finishNode(V,"AssignmentExpression")),V}else if(J)this.checkExpressionErrors(f,!0);return R}parseMaybeConditional(f){let G=this.state.startLoc,X=this.state.potentialArrowAt,J=this.parseExprOps(f);if(this.shouldExitDescending(J,X))return J;return this.parseConditional(J,G,f)}parseConditional(f,G,X){if(this.eat(17)){let J=this.startNodeAt(G);return J.test=f,J.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),J.alternate=this.parseMaybeAssign(),this.finishNode(J,"ConditionalExpression")}return f}parseMaybeUnaryOrPrivate(f){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(f)}parseExprOps(f){let G=this.state.startLoc,X=this.state.potentialArrowAt,J=this.parseMaybeUnaryOrPrivate(f);if(this.shouldExitDescending(J,X))return J;return this.parseExprOp(J,G,-1)}parseExprOp(f,G,X){if(this.isPrivateName(f)){let W=this.getPrivateNameSV(f);if(X>=W2(58)||!this.prodParam.hasIn||!this.match(58))this.raise($.PrivateInExpectedIn,f,{identifierName:W});this.classScope.usePrivateName(W,f.loc.start)}let J=this.state.type;if(gWf(J)&&(this.prodParam.hasIn||!this.match(58))){let W=W2(J);if(W>X){if(J===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return f;this.checkPipelineAtInfixOperator(f,G)}let R=this.startNodeAt(G);R.left=f,R.operator=this.state.value;let V=J===41||J===42,H=J===40;if(H)W=W2(42);if(this.next(),J===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait)throw this.raise($.UnexpectedAwaitAfterPipelineBody,this.state.startLoc)}R.right=this.parseExprOpRightExpr(J,W);let U=this.finishNode(R,V||H?"LogicalExpression":"BinaryExpression"),Q=this.state.type;if(H&&(Q===41||Q===42)||V&&Q===40)throw this.raise($.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(U,G,X)}}return f}parseExprOpRightExpr(f,G){let X=this.state.startLoc;switch(f){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{return this.parseHackPipeBody()});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(G)})}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise($.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(f,G),X)});default:return this.parseExprOpBaseRightExpr(f,G)}}parseExprOpBaseRightExpr(f,G){let X=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),X,xWf(f)?G-1:G)}parseHackPipeBody(){var f;let{startLoc:G}=this.state,X=this.parseMaybeAssign();if(AWf.has(X.type)&&!((f=X.extra)!=null&&f.parenthesized))this.raise($.PipeUnparenthesizedBody,G,{type:X.type});if(!this.topicReferenceWasUsedInCurrentContext())this.raise($.PipeTopicUnused,G);return X}checkExponentialAfterUnary(f){if(this.match(57))this.raise($.UnexpectedTokenUnaryExponentiation,f.argument)}parseMaybeUnary(f,G){let X=this.state.startLoc,J=this.isContextual(96);if(J&&this.recordAwaitIfAllowed()){this.next();let H=this.parseAwait(X);if(!G)this.checkExponentialAfterUnary(H);return H}let W=this.match(34),R=this.startNode();if(uWf(this.state.type)){if(R.operator=this.state.value,R.prefix=!0,this.match(72))this.expectPlugin("throwExpressions");let H=this.match(89);if(this.next(),R.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(f,!0),this.state.strict&&H){let U=R.argument;if(U.type==="Identifier")this.raise($.StrictDelete,R);else if(this.hasPropertyAsPrivateName(U))this.raise($.DeletePrivateField,R)}if(!W){if(!G)this.checkExponentialAfterUnary(R);return this.finishNode(R,"UnaryExpression")}}let V=this.parseUpdate(R,W,f);if(J){let{type:H}=this.state;if((this.hasPlugin("v8intrinsic")?AW(H):AW(H)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite($.AwaitNotInAsyncContext,X),this.parseAwait(X)}return V}parseUpdate(f,G,X){if(G){let R=f;return this.checkLVal(R.argument,this.finishNode(R,"UpdateExpression")),f}let J=this.state.startLoc,W=this.parseExprSubscripts(X);if(this.checkExpressionErrors(X,!1))return W;while(_Wf(this.state.type)&&!this.canInsertSemicolon()){let R=this.startNodeAt(J);R.operator=this.state.value,R.prefix=!1,R.argument=W,this.next(),this.checkLVal(W,W=this.finishNode(R,"UpdateExpression"))}return W}parseExprSubscripts(f){let G=this.state.startLoc,X=this.state.potentialArrowAt,J=this.parseExprAtom(f);if(this.shouldExitDescending(J,X))return J;return this.parseSubscripts(J,G)}parseSubscripts(f,G,X){let J={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(f),stop:!1};do f=this.parseSubscript(f,G,X,J),J.maybeAsyncArrow=!1;while(!J.stop);return f}parseSubscript(f,G,X,J){let{type:W}=this.state;if(!X&&W===15)return this.parseBind(f,G,X,J);else if(V2(W))return this.parseTaggedTemplateExpression(f,G,J);let R=!1;if(W===18){if(X){if(this.raise($.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40)return J.stop=!0,f}J.optionalChainMember=R=!0,this.next()}if(!X&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(f,G,J,R);else{let V=this.eat(0);if(V||R||this.eat(16))return this.parseMember(f,G,J,V,R);else return J.stop=!0,f}}parseMember(f,G,X,J,W){let R=this.startNodeAt(G);if(R.object=f,R.computed=J,J)R.property=this.parseExpression(),this.expect(3);else if(this.match(139)){if(f.type==="Super")this.raise($.SuperPrivateField,G);this.classScope.usePrivateName(this.state.value,this.state.startLoc),R.property=this.parsePrivateName()}else R.property=this.parseIdentifier(!0);if(X.optionalChainMember)return R.optional=W,this.finishNode(R,"OptionalMemberExpression");else return this.finishNode(R,"MemberExpression")}parseBind(f,G,X,J){let W=this.startNodeAt(G);return W.object=f,this.next(),W.callee=this.parseNoCallExpr(),J.stop=!0,this.parseSubscripts(this.finishNode(W,"BindExpression"),G,X)}parseCoverCallAndAsyncArrowHead(f,G,X,J){let W=this.state.maybeInArrowParameters,R=null;this.state.maybeInArrowParameters=!0,this.next();let V=this.startNodeAt(G);V.callee=f;let{maybeAsyncArrow:H,optionalChainMember:U}=X;if(H)this.expressionScope.enter(V6f()),R=new JX;if(U)V.optional=J;if(J)V.arguments=this.parseCallExpressionArguments(11);else V.arguments=this.parseCallExpressionArguments(11,f.type!=="Super",V,R);let Q=this.finishCallExpression(V,U);if(H&&this.shouldParseAsyncArrow()&&!J)X.stop=!0,this.checkDestructuringPrivate(R),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Q=this.parseAsyncArrowFromCallExpression(this.startNodeAt(G),Q);else{if(H)this.checkExpressionErrors(R,!0),this.expressionScope.exit();this.toReferencedArguments(Q)}return this.state.maybeInArrowParameters=W,Q}toReferencedArguments(f,G){this.toReferencedListDeep(f.arguments,G)}parseTaggedTemplateExpression(f,G,X){let J=this.startNodeAt(G);if(J.tag=f,J.quasi=this.parseTemplate(!0),X.optionalChainMember)this.raise($.OptionalChainingNoTemplate,G);return this.finishNode(J,"TaggedTemplateExpression")}atPossibleAsyncArrow(f){return f.type==="Identifier"&&f.name==="async"&&this.state.lastTokEndLoc.index===f.end&&!this.canInsertSemicolon()&&f.end-f.start===5&&this.offsetToSourcePos(f.start)===this.state.potentialArrowAt}finishCallExpression(f,G){if(f.callee.type==="Import"){if(f.arguments.length===0||f.arguments.length>2)this.raise($.ImportCallArity,f);else for(let X of f.arguments)if(X.type==="SpreadElement")this.raise($.ImportCallSpreadArgument,X)}return this.finishNode(f,G?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(f,G,X,J){let W=[],R=!0,V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;while(!this.eat(f)){if(R)R=!1;else if(this.expect(12),this.match(f)){if(X)this.addTrailingCommaExtraToNode(X);this.next();break}W.push(this.parseExprListItem(!1,J,G))}return this.state.inFSharpPipelineDirectBody=V,W}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(f,G){var X;if(this.resetPreviousNodeTrailingComments(G),this.expect(19),this.parseArrowExpression(f,G.arguments,!0,(X=G.extra)==null?void 0:X.trailingCommaLoc),G.innerComments)RX(f,G.innerComments);if(G.callee.trailingComments)RX(f,G.callee.trailingComments);return f}parseNoCallExpr(){let f=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),f,!0)}parseExprAtom(f){let G,X=null,{type:J}=this.state;switch(J){case 79:return this.parseSuper();case 83:if(G=this.startNode(),this.next(),this.match(16))return this.parseImportMetaProperty(G);if(this.match(10))if(this.optionFlags&256)return this.parseImportCall(G);else return this.finishNode(G,"Import");else return this.raise($.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(G,"Import");case 78:return G=this.startNode(),this.next(),this.finishNode(G,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let W=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(W)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,f);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,f);case 68:return this.parseFunctionOrFunctionSent();case 26:X=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(X,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{G=this.startNode(),this.next(),G.object=null;let W=G.callee=this.parseNoCallExpr();if(W.type==="MemberExpression")return this.finishNode(G,"BindExpression");else throw this.raise($.UnsupportedBind,W)}case 139:return this.raise($.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let W=this.getPluginOption("pipelineOperator","proposal");if(W)return this.parseTopicReference(W);this.unexpected();break}case 47:{let W=this.input.codePointAt(this.nextTokenStart());if(PG(W)||W===62)this.expectOnePlugin(["jsx","flow","typescript"]);else this.unexpected();break}default:if(J===137)return this.parseDecimalLiteral(this.state.value);if($f(J)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let W=this.state.potentialArrowAt===this.state.start,R=this.state.containsEsc,V=this.parseIdentifier();if(!R&&V.name==="async"&&!this.canInsertSemicolon()){let{type:H}=this.state;if(H===68)return this.resetPreviousNodeTrailingComments(V),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(V));else if($f(H))if(this.lookaheadCharCode()===61)return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(V));else return V;else if(H===90)return this.resetPreviousNodeTrailingComments(V),this.parseDo(this.startNodeAtNode(V),!0)}if(W&&this.match(19)&&!this.canInsertSemicolon())return this.next(),this.parseArrowExpression(this.startNodeAtNode(V),[V],!1);return V}else this.unexpected()}}parseTopicReferenceThenEqualsSign(f,G){let X=this.getPluginOption("pipelineOperator","proposal");if(X)return this.state.type=f,this.state.value=G,this.state.pos--,this.state.end--,this.state.endLoc=xf(this.state.endLoc,-1),this.parseTopicReference(X);else this.unexpected()}parseTopicReference(f){let G=this.startNode(),X=this.state.startLoc,J=this.state.type;return this.next(),this.finishTopicReference(G,X,f,J)}finishTopicReference(f,G,X,J){if(this.testTopicReferenceConfiguration(X,G,J))if(X==="hack"){if(!this.topicReferenceIsAllowedInCurrentContext())this.raise($.PipeTopicUnbound,G);return this.registerTopicReference(),this.finishNode(f,"TopicReference")}else{if(!this.topicReferenceIsAllowedInCurrentContext())this.raise($.PrimaryTopicNotAllowed,G);return this.registerTopicReference(),this.finishNode(f,"PipelinePrimaryTopicReference")}else throw this.raise($.PipeTopicUnconfiguredToken,G,{token:xG(J)})}testTopicReferenceConfiguration(f,G,X){switch(f){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:xG(X)}]);case"smart":return X===27;default:throw this.raise($.PipeTopicRequiresHackPipes,G)}}parseAsyncArrowUnaryFunction(f){this.prodParam.enter(R2(!0,this.prodParam.hasYield));let G=[this.parseIdentifier()];if(this.prodParam.exit(),this.hasPrecedingLineBreak())this.raise($.LineTerminatorBeforeArrow,this.state.curPosition());return this.expect(19),this.parseArrowExpression(f,G,!0)}parseDo(f,G){if(this.expectPlugin("doExpressions"),G)this.expectPlugin("asyncDoExpressions");f.async=G,this.next();let X=this.state.labels;if(this.state.labels=[],G)this.prodParam.enter(2),f.body=this.parseBlock(),this.prodParam.exit();else f.body=this.parseBlock();return this.state.labels=X,this.finishNode(f,"DoExpression")}parseSuper(){let f=this.startNode();if(this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16))this.raise($.SuperNotAllowed,f);else if(!this.scope.allowSuper&&!(this.optionFlags&16))this.raise($.UnexpectedSuper,f);if(!this.match(10)&&!this.match(0)&&!this.match(16))this.raise($.UnsupportedSuper,f);return this.finishNode(f,"Super")}parsePrivateName(){let f=this.startNode(),G=this.startNodeAt(xf(this.state.startLoc,1)),X=this.state.value;return this.next(),f.id=this.createIdentifier(G,X),this.finishNode(f,"PrivateName")}parseFunctionOrFunctionSent(){let f=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let G=this.createIdentifier(this.startNodeAtNode(f),"function");if(this.next(),this.match(103))this.expectPlugin("functionSent");else if(!this.hasPlugin("functionSent"))this.unexpected();return this.parseMetaProperty(f,G,"sent")}return this.parseFunction(f)}parseMetaProperty(f,G,X){f.meta=G;let J=this.state.containsEsc;if(f.property=this.parseIdentifier(!0),f.property.name!==X||J)this.raise($.UnsupportedMetaProperty,f.property,{target:G.name,onlyValidPropertyName:X});return this.finishNode(f,"MetaProperty")}parseImportMetaProperty(f){let G=this.createIdentifier(this.startNodeAtNode(f),"import");if(this.next(),this.isContextual(101)){if(!this.inModule)this.raise($.ImportMetaOutsideModule,G);this.sawUnambiguousESM=!0}else if(this.isContextual(105)||this.isContextual(97)){let X=this.isContextual(105);if(this.expectPlugin(X?"sourcePhaseImports":"deferredImportEvaluation"),!(this.optionFlags&256))throw this.raise($.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),f.phase=X?"source":"defer",this.parseImportCall(f)}return this.parseMetaProperty(f,G,"meta")}parseLiteralAtNode(f,G,X){return this.addExtra(X,"rawValue",f),this.addExtra(X,"raw",this.input.slice(this.offsetToSourcePos(X.start),this.state.end)),X.value=f,this.next(),this.finishNode(X,G)}parseLiteral(f,G){let X=this.startNode();return this.parseLiteralAtNode(f,G,X)}parseStringLiteral(f){return this.parseLiteral(f,"StringLiteral")}parseNumericLiteral(f){return this.parseLiteral(f,"NumericLiteral")}parseBigIntLiteral(f){return this.parseLiteral(f,"BigIntLiteral")}parseDecimalLiteral(f){return this.parseLiteral(f,"DecimalLiteral")}parseRegExpLiteral(f){let G=this.startNode();return this.addExtra(G,"raw",this.input.slice(this.offsetToSourcePos(G.start),this.state.end)),G.pattern=f.pattern,G.flags=f.flags,this.next(),this.finishNode(G,"RegExpLiteral")}parseBooleanLiteral(f){let G=this.startNode();return G.value=f,this.next(),this.finishNode(G,"BooleanLiteral")}parseNullLiteral(){let f=this.startNode();return this.next(),this.finishNode(f,"NullLiteral")}parseParenAndDistinguishExpression(f){let G=this.state.startLoc,X;this.next(),this.expressionScope.enter(R6f());let J=this.state.maybeInArrowParameters,W=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let R=this.state.startLoc,V=[],H=new JX,U=!0,Q,Y;while(!this.match(11)){if(U)U=!1;else if(this.expect(12,H.optionalParametersLoc===null?null:H.optionalParametersLoc),this.match(11)){Y=this.state.startLoc;break}if(this.match(21)){let A=this.state.startLoc;if(Q=this.state.startLoc,V.push(this.parseParenItem(this.parseRestBinding(),A)),!this.checkCommaAfterRest(41))break}else V.push(this.parseMaybeAssignAllowIn(H,this.parseParenItem))}let S=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=J,this.state.inFSharpPipelineDirectBody=W;let C=this.startNodeAt(G);if(f&&this.shouldParseArrow(V)&&(C=this.parseArrow(C)))return this.checkDestructuringPrivate(H),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(C,V,!1),C;if(this.expressionScope.exit(),!V.length)this.unexpected(this.state.lastTokStartLoc);if(Y)this.unexpected(Y);if(Q)this.unexpected(Q);if(this.checkExpressionErrors(H,!0),this.toReferencedListDeep(V,!0),V.length>1)X=this.startNodeAt(R),X.expressions=V,this.finishNode(X,"SequenceExpression"),this.resetEndLocation(X,S);else X=V[0];return this.wrapParenthesis(G,X)}wrapParenthesis(f,G){if(!(this.optionFlags&512))return this.addExtra(G,"parenthesized",!0),this.addExtra(G,"parenStart",f.index),this.takeSurroundingComments(G,f.index,this.state.lastTokEndLoc.index),G;let X=this.startNodeAt(f);return X.expression=G,this.finishNode(X,"ParenthesizedExpression")}shouldParseArrow(f){return!this.canInsertSemicolon()}parseArrow(f){if(this.eat(19))return f}parseParenItem(f,G){return f}parseNewOrNewTarget(){let f=this.startNode();if(this.next(),this.match(16)){let G=this.createIdentifier(this.startNodeAtNode(f),"new");this.next();let X=this.parseMetaProperty(f,G,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4))this.raise($.UnexpectedNewTarget,X);return X}return this.parseNew(f)}parseNew(f){if(this.parseNewCallee(f),this.eat(10)){let G=this.parseExprList(11);this.toReferencedList(G),f.arguments=G}else f.arguments=[];return this.finishNode(f,"NewExpression")}parseNewCallee(f){let G=this.match(83),X=this.parseNoCallExpr();if(f.callee=X,G&&(X.type==="Import"||X.type==="ImportExpression"))this.raise($.ImportCallNotNewExpression,X)}parseTemplateElement(f){let{start:G,startLoc:X,end:J,value:W}=this.state,R=G+1,V=this.startNodeAt(xf(X,1));if(W===null){if(!f)this.raise($.InvalidEscapeSequenceTemplate,xf(this.state.firstInvalidTemplateEscapePos,1))}let H=this.match(24),U=H?-1:-2,Q=J+U;V.value={raw:this.input.slice(R,Q).replace(/\r\n?/g,`
23
- `),cooked:W===null?null:W.slice(1,U)},V.tail=H,this.next();let Y=this.finishNode(V,"TemplateElement");return this.resetEndLocation(Y,xf(this.state.lastTokEndLoc,U)),Y}parseTemplate(f){let G=this.startNode(),X=this.parseTemplateElement(f),J=[X],W=[];while(!X.tail)W.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),J.push(X=this.parseTemplateElement(f));return G.expressions=W,G.quasis=J,this.finishNode(G,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(f,G,X,J){if(X)this.expectPlugin("recordAndTuple");let W=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let R=Object.create(null),V=!0,H=this.startNode();H.properties=[],this.next();while(!this.match(f)){if(V)V=!1;else if(this.expect(12),this.match(f)){this.addTrailingCommaExtraToNode(H);break}let Q;if(G)Q=this.parseBindingProperty();else Q=this.parsePropertyDefinition(J),this.checkProto(Q,X,R,J);if(X&&!this.isObjectProperty(Q)&&Q.type!=="SpreadElement")this.raise($.InvalidRecordProperty,Q);if(Q.shorthand)this.addExtra(Q,"shorthand",!0);H.properties.push(Q)}this.next(),this.state.inFSharpPipelineDirectBody=W;let U="ObjectExpression";if(G)U="ObjectPattern";else if(X)U="RecordExpression";return this.finishNode(H,U)}addTrailingCommaExtraToNode(f){this.addExtra(f,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(f,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(f){return!f.computed&&f.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(f){let G=[];if(this.match(26)){if(this.hasPlugin("decorators"))this.raise($.UnsupportedPropertyDecorator,this.state.startLoc);while(this.match(26))G.push(this.parseDecorator())}let X=this.startNode(),J=!1,W=!1,R;if(this.match(21)){if(G.length)this.unexpected();return this.parseSpread()}if(G.length)X.decorators=G,G=[];if(X.method=!1,f)R=this.state.startLoc;let V=this.eat(55);this.parsePropertyNamePrefixOperator(X);let H=this.state.containsEsc;if(this.parsePropertyName(X,f),!V&&!H&&this.maybeAsyncOrAccessorProp(X)){let{key:U}=X,Q=U.name;if(Q==="async"&&!this.hasPrecedingLineBreak())J=!0,this.resetPreviousNodeTrailingComments(U),V=this.eat(55),this.parsePropertyName(X);if(Q==="get"||Q==="set"){if(W=!0,this.resetPreviousNodeTrailingComments(U),X.kind=Q,this.match(55))V=!0,this.raise($.AccessorIsGenerator,this.state.curPosition(),{kind:Q}),this.next();this.parsePropertyName(X)}}return this.parseObjPropValue(X,R,V,J,!1,W,f)}getGetterSetterExpectedParamCount(f){return f.kind==="get"?0:1}getObjectOrClassMethodParams(f){return f.params}checkGetterSetterParams(f){var G;let X=this.getGetterSetterExpectedParamCount(f),J=this.getObjectOrClassMethodParams(f);if(J.length!==X)this.raise(f.kind==="get"?$.BadGetterArity:$.BadSetterArity,f);if(f.kind==="set"&&((G=J[J.length-1])==null?void 0:G.type)==="RestElement")this.raise($.BadSetterRestParameter,f)}parseObjectMethod(f,G,X,J,W){if(W){let R=this.parseMethod(f,G,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(R),R}if(X||G||this.match(10)){if(J)this.unexpected();return f.kind="method",f.method=!0,this.parseMethod(f,G,X,!1,!1,"ObjectMethod")}}parseObjectProperty(f,G,X,J){if(f.shorthand=!1,this.eat(14))return f.value=X?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(J),this.finishNode(f,"ObjectProperty");if(!f.computed&&f.key.type==="Identifier"){if(this.checkReservedWord(f.key.name,f.key.loc.start,!0,!1),X)f.value=this.parseMaybeDefault(G,TG(f.key));else if(this.match(29)){let W=this.state.startLoc;if(J!=null){if(J.shorthandAssignLoc===null)J.shorthandAssignLoc=W}else this.raise($.InvalidCoverInitializedName,W);f.value=this.parseMaybeDefault(G,TG(f.key))}else f.value=TG(f.key);return f.shorthand=!0,this.finishNode(f,"ObjectProperty")}}parseObjPropValue(f,G,X,J,W,R,V){let H=this.parseObjectMethod(f,X,J,W,R)||this.parseObjectProperty(f,G,W,V);if(!H)this.unexpected();return H}parsePropertyName(f,G){if(this.eat(0))f.computed=!0,f.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:X,value:J}=this.state,W;if(UG(X))W=this.parseIdentifier(!0);else switch(X){case 135:W=this.parseNumericLiteral(J);break;case 134:W=this.parseStringLiteral(J);break;case 136:W=this.parseBigIntLiteral(J);break;case 139:{let R=this.state.startLoc;if(G!=null){if(G.privateKeyLoc===null)G.privateKeyLoc=R}else this.raise($.UnexpectedPrivateField,R);W=this.parsePrivateName();break}default:if(X===137){W=this.parseDecimalLiteral(J);break}this.unexpected()}if(f.key=W,X!==139)f.computed=!1}}initFunction(f,G){f.id=null,f.generator=!1,f.async=G}parseMethod(f,G,X,J,W,R,V=!1){this.initFunction(f,X),f.generator=G,this.scope.enter(18|(V?64:0)|(W?32:0)),this.prodParam.enter(R2(X,f.generator)),this.parseFunctionParams(f,J);let H=this.parseFunctionBodyAndFinish(f,R,!0);return this.prodParam.exit(),this.scope.exit(),H}parseArrayLike(f,G,X,J){if(X)this.expectPlugin("recordAndTuple");let W=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let R=this.startNode();return this.next(),R.elements=this.parseExprList(f,!X,J,R),this.state.inFSharpPipelineDirectBody=W,this.finishNode(R,X?"TupleExpression":"ArrayExpression")}parseArrowExpression(f,G,X,J){this.scope.enter(6);let W=R2(X,!1);if(!this.match(5)&&this.prodParam.hasIn)W|=8;this.prodParam.enter(W),this.initFunction(f,X);let R=this.state.maybeInArrowParameters;if(G)this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(f,G,J);return this.state.maybeInArrowParameters=!1,this.parseFunctionBody(f,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=R,this.finishNode(f,"ArrowFunctionExpression")}setArrowFunctionParameters(f,G,X){this.toAssignableList(G,X,!1),f.params=G}parseFunctionBodyAndFinish(f,G,X=!1){return this.parseFunctionBody(f,!1,X),this.finishNode(f,G)}parseFunctionBody(f,G,X=!1){let J=G&&!this.match(5);if(this.expressionScope.enter(r8()),J)f.body=this.parseMaybeAssign(),this.checkParams(f,!1,G,!1);else{let W=this.state.strict,R=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),f.body=this.parseBlock(!0,!1,(V)=>{let H=!this.isSimpleParamList(f.params);if(V&&H)this.raise($.IllegalLanguageModeDirective,(f.kind==="method"||f.kind==="constructor")&&!!f.key?f.key.loc.end:f);let U=!W&&this.state.strict;if(this.checkParams(f,!this.state.strict&&!G&&!X&&!H,G,U),this.state.strict&&f.id)this.checkIdentifier(f.id,65,U)}),this.prodParam.exit(),this.state.labels=R}this.expressionScope.exit()}isSimpleParameter(f){return f.type==="Identifier"}isSimpleParamList(f){for(let G=0,X=f.length;G<X;G++)if(!this.isSimpleParameter(f[G]))return!1;return!0}checkParams(f,G,X,J=!0){let W=!G&&new Set,R={type:"FormalParameters"};for(let V of f.params)this.checkLVal(V,R,5,W,J)}parseExprList(f,G,X,J){let W=[],R=!0;while(!this.eat(f)){if(R)R=!1;else if(this.expect(12),this.match(f)){if(J)this.addTrailingCommaExtraToNode(J);this.next();break}W.push(this.parseExprListItem(G,X))}return W}parseExprListItem(f,G,X){let J;if(this.match(12)){if(!f)this.raise($.UnexpectedToken,this.state.curPosition(),{unexpected:","});J=null}else if(this.match(21)){let W=this.state.startLoc;J=this.parseParenItem(this.parseSpread(G),W)}else if(this.match(17)){if(this.expectPlugin("partialApplication"),!X)this.raise($.UnexpectedArgumentPlaceholder,this.state.startLoc);let W=this.startNode();this.next(),J=this.finishNode(W,"ArgumentPlaceholder")}else J=this.parseMaybeAssignAllowIn(G,this.parseParenItem);return J}parseIdentifier(f){let G=this.startNode(),X=this.parseIdentifierName(f);return this.createIdentifier(G,X)}createIdentifier(f,G){return f.name=G,f.loc.identifierName=G,this.finishNode(f,"Identifier")}parseIdentifierName(f){let G,{startLoc:X,type:J}=this.state;if(UG(J))G=this.state.value;else this.unexpected();let W=wWf(J);if(f){if(W)this.replaceToken(132)}else this.checkReservedWord(G,X,W,!1);return this.next(),G}checkReservedWord(f,G,X,J){if(f.length>10)return;if(!tWf(f))return;if(X&&pWf(f)){this.raise($.UnexpectedKeyword,G,{keyword:f});return}if((!this.state.strict?w8:J?v8:E8)(f,this.inModule)){this.raise($.UnexpectedReservedWord,G,{reservedWord:f});return}else if(f==="yield"){if(this.prodParam.hasYield){this.raise($.YieldBindingIdentifier,G);return}}else if(f==="await"){if(this.prodParam.hasAwait){this.raise($.AwaitBindingIdentifier,G);return}if(this.scope.inStaticBlock){this.raise($.AwaitBindingIdentifierInStaticBlock,G);return}this.expressionScope.recordAsyncArrowParametersError(G)}else if(f==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise($.ArgumentsInClass,G);return}}}recordAwaitIfAllowed(){let f=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;if(f&&!this.scope.inFunction)this.state.hasTopLevelAwait=!0;return f}parseAwait(f){let G=this.startNodeAt(f);if(this.expressionScope.recordParameterInitializerError($.AwaitExpressionFormalParameter,G),this.eat(55))this.raise($.ObsoleteAwaitStar,G);if(!this.scope.inFunction&&!(this.optionFlags&1))if(this.isAmbiguousAwait())this.ambiguousScriptDifferentAst=!0;else this.sawUnambiguousESM=!0;if(!this.state.soloAwait)G.argument=this.parseMaybeUnary(null,!0);return this.finishNode(G,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:f}=this.state;return f===53||f===10||f===0||V2(f)||f===102&&!this.state.containsEsc||f===138||f===56||this.hasPlugin("v8intrinsic")&&f===54}parseYield(){let f=this.startNode();this.expressionScope.recordParameterInitializerError($.YieldInParameter,f),this.next();let G=!1,X=null;if(!this.hasPrecedingLineBreak())switch(G=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!G)break;default:X=this.parseMaybeAssign()}return f.delegate=G,f.argument=X,this.finishNode(f,"YieldExpression")}parseImportCall(f){if(this.next(),f.source=this.parseMaybeAssignAllowIn(),f.options=null,this.eat(12)){if(!this.match(11)){if(f.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11)){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise($.ImportCallArity,f)}}}return this.expect(11),this.finishNode(f,"ImportExpression")}checkPipelineAtInfixOperator(f,G){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(f.type==="SequenceExpression")this.raise($.PipelineHeadSequenceExpression,G)}}parseSmartPipelineBodyInStyle(f,G){if(this.isSimpleReference(f)){let X=this.startNodeAt(G);return X.callee=f,this.finishNode(X,"PipelineBareFunction")}else{let X=this.startNodeAt(G);return this.checkSmartPipeTopicBodyEarlyErrors(G),X.expression=f,this.finishNode(X,"PipelineTopicExpression")}}isSimpleReference(f){switch(f.type){case"MemberExpression":return!f.computed&&this.isSimpleReference(f.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(f){if(this.match(19))throw this.raise($.PipelineBodyNoArrow,this.state.startLoc);if(!this.topicReferenceWasUsedInCurrentContext())this.raise($.PipelineTopicUnused,f)}withTopicBindingContext(f){let G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return f()}finally{this.state.topicContext=G}}withSmartMixTopicForbiddingContext(f){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return f()}finally{this.state.topicContext=G}}else return f()}withSoloAwaitPermittingContext(f){let G=this.state.soloAwait;this.state.soloAwait=!0;try{return f()}finally{this.state.soloAwait=G}}allowInAnd(f){let G=this.prodParam.currentFlags();if(8&~G){this.prodParam.enter(G|8);try{return f()}finally{this.prodParam.exit()}}return f()}disallowInAnd(f){let G=this.prodParam.currentFlags();if(8&G){this.prodParam.enter(G&-9);try{return f()}finally{this.prodParam.exit()}}return f()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(f){let G=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let X=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let J=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),G,f);return this.state.inFSharpPipelineDirectBody=X,J}parseModuleExpression(){this.expectPlugin("moduleBlocks");let f=this.startNode();if(this.next(),!this.match(5))this.unexpected(null,5);let G=this.startNodeAt(this.state.endLoc);this.next();let X=this.initializeScopes(!0);this.enterInitialScopes();try{f.body=this.parseProgram(G,8,"module")}finally{X()}return this.finishNode(f,"ModuleExpression")}parsePropertyNamePrefixOperator(f){}}var qW={kind:1},T6f={kind:2},L6f=/[\uD800-\uDFFF]/u,CW=/in(?:stanceof)?/y;function b6f(f,G,X){for(let J=0;J<f.length;J++){let W=f[J],{type:R}=W;if(typeof R==="number"){{if(R===139){let{loc:V,start:H,value:U,end:Q}=W,Y=H+1,S=xf(V.start,1);f.splice(J,1,new OG({type:jG(27),value:"#",start:H,end:Y,startLoc:V.start,endLoc:S}),new OG({type:jG(132),value:U,start:Y,end:Q,startLoc:S,endLoc:V.end})),J++;continue}if(V2(R)){let{loc:V,start:H,value:U,end:Q}=W,Y=H+1,S=xf(V.start,1),C;if(G.charCodeAt(H-X)===96)C=new OG({type:jG(22),value:"`",start:H,end:Y,startLoc:V.start,endLoc:S});else C=new OG({type:jG(8),value:"}",start:H,end:Y,startLoc:V.start,endLoc:S});let A,j,b,I;if(R===24)j=Q-1,b=xf(V.end,-1),A=U===null?null:U.slice(1,-1),I=new OG({type:jG(22),value:"`",start:j,end:Q,startLoc:b,endLoc:V.end});else j=Q-2,b=xf(V.end,-2),A=U===null?null:U.slice(1,-2),I=new OG({type:jG(23),value:"${",start:j,end:Q,startLoc:b,endLoc:V.end});f.splice(J,1,C,new OG({type:jG(20),value:A,start:Y,end:j,startLoc:S,endLoc:b}),I),J+=2;continue}}W.type=jG(R)}}return f}class W4 extends J4{parseTopLevel(f,G){if(f.program=this.parseProgram(G),f.comments=this.comments,this.optionFlags&128)f.tokens=b6f(this.tokens,this.input,this.startIndex);return this.finishNode(f,"File")}parseProgram(f,G=140,X=this.options.sourceType){if(f.sourceType=X,f.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(f,!0,!0,G),this.inModule){if(!(this.optionFlags&32)&&this.scope.undefinedExports.size>0)for(let[W,R]of Array.from(this.scope.undefinedExports))this.raise($.ModuleExportUndefined,R,{localName:W});this.addExtra(f,"topLevelAwait",this.state.hasTopLevelAwait)}let J;if(G===140)J=this.finishNode(f,"Program");else J=this.finishNodeAt(f,"Program",xf(this.state.startLoc,-1));return J}stmtToDirective(f){let G=f;G.type="Directive",G.value=G.expression,delete G.expression;let X=G.value,J=X.value,W=this.input.slice(this.offsetToSourcePos(X.start),this.offsetToSourcePos(X.end)),R=X.value=W.slice(1,-1);return this.addExtra(X,"raw",W),this.addExtra(X,"rawValue",R),this.addExtra(X,"expressionValue",J),X.type="DirectiveLiteral",G}parseInterpreterDirective(){if(!this.match(28))return null;let f=this.startNode();return f.value=this.state.value,this.next(),this.finishNode(f,"InterpreterDirective")}isLet(){if(!this.isContextual(100))return!1;return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(f,G){if(PG(f)){if(CW.lastIndex=G,CW.test(this.input)){let X=this.codePointAtPos(CW.lastIndex);if(!C1(X)&&X!==92)return!1}return!0}else if(f===92)return!0;else return!1}chStartsBindingPattern(f){return f===91||f===123}hasFollowingBindingAtom(){let f=this.nextTokenStart(),G=this.codePointAtPos(f);return this.chStartsBindingPattern(G)||this.chStartsBindingIdentifier(G,f)}hasInLineFollowingBindingIdentifierOrBrace(){let f=this.nextTokenInLineStart(),G=this.codePointAtPos(f);return G===123||this.chStartsBindingIdentifier(G,f)}startsUsingForOf(){let{type:f,containsEsc:G}=this.lookahead();if(f===102&&!G)return!1;else if($f(f)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let f=this.nextTokenInLineStart();if(this.isUnparsedContextual(f,"using")){f=this.nextTokenInLineStartSince(f+5);let G=this.codePointAtPos(f);if(this.chStartsBindingIdentifier(G,f))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(f=!1){let G=0;if(this.options.annexB&&!this.state.strict){if(G|=4,f)G|=8}return this.parseStatementLike(G)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(f){let G=null;if(this.match(26))G=this.parseDecorators(!0);return this.parseStatementContent(f,G)}parseStatementContent(f,G){let X=this.state.type,J=this.startNode(),W=!!(f&2),R=!!(f&4),V=f&1;switch(X){case 60:return this.parseBreakContinueStatement(J,!0);case 63:return this.parseBreakContinueStatement(J,!1);case 64:return this.parseDebuggerStatement(J);case 90:return this.parseDoWhileStatement(J);case 91:return this.parseForStatement(J);case 68:if(this.lookaheadCharCode()===46)break;if(!R)this.raise(this.state.strict?$.StrictFunction:this.options.annexB?$.SloppyFunctionAnnexB:$.SloppyFunction,this.state.startLoc);return this.parseFunctionStatement(J,!1,!W&&R);case 80:if(!W)this.unexpected();return this.parseClass(this.maybeTakeDecorators(G,J),!0);case 69:return this.parseIfStatement(J);case 70:return this.parseReturnStatement(J);case 71:return this.parseSwitchStatement(J);case 72:return this.parseThrowStatement(J);case 73:return this.parseTryStatement(J);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.recordAwaitIfAllowed())this.raise($.AwaitUsingNotInAsyncContext,J);else if(!W)this.raise($.UnexpectedLexicalDeclaration,J);return this.next(),this.parseVarStatement(J,"await using")}break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;if(this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel)this.raise($.UnexpectedUsingDeclaration,this.state.startLoc);else if(!W)this.raise($.UnexpectedLexicalDeclaration,this.state.startLoc);return this.parseVarStatement(J,"using");case 100:{if(this.state.containsEsc)break;let Q=this.nextTokenStart(),Y=this.codePointAtPos(Q);if(Y!==91){if(!W&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(Y,Q)&&Y!==123)break}}case 75:if(!W)this.raise($.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let Q=this.state.value;return this.parseVarStatement(J,Q)}case 92:return this.parseWhileStatement(J);case 76:return this.parseWithStatement(J);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(J);case 83:{let Q=this.lookaheadCharCode();if(Q===40||Q===46)break}case 82:{if(!(this.optionFlags&8)&&!V)this.raise($.UnexpectedImportExport,this.state.startLoc);this.next();let Q;if(X===83){if(Q=this.parseImport(J),Q.type==="ImportDeclaration"&&(!Q.importKind||Q.importKind==="value"))this.sawUnambiguousESM=!0}else if(Q=this.parseExport(J,G),Q.type==="ExportNamedDeclaration"&&(!Q.exportKind||Q.exportKind==="value")||Q.type==="ExportAllDeclaration"&&(!Q.exportKind||Q.exportKind==="value")||Q.type==="ExportDefaultDeclaration")this.sawUnambiguousESM=!0;return this.assertModuleNodeAllowed(Q),Q}default:if(this.isAsyncFunction()){if(!W)this.raise($.AsyncFunctionInSingleStatementContext,this.state.startLoc);return this.next(),this.parseFunctionStatement(J,!0,!W&&R)}}let H=this.state.value,U=this.parseExpression();if($f(X)&&U.type==="Identifier"&&this.eat(14))return this.parseLabeledStatement(J,H,U,f);else return this.parseExpressionStatement(J,U,G)}assertModuleNodeAllowed(f){if(!(this.optionFlags&8)&&!this.inModule)this.raise($.ImportOutsideModule,f)}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return!0;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(f,G,X){if(f){var J;if((J=G.decorators)!=null&&J.length){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean")this.raise($.DecoratorsBeforeAfterExport,G.decorators[0]);G.decorators.unshift(...f)}else G.decorators=f;if(this.resetStartLocationFromNode(G,f[0]),X)this.resetStartLocationFromNode(X,G)}return G}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(f){let G=[];do G.push(this.parseDecorator());while(this.match(26));if(this.match(82)){if(!f)this.unexpected();if(!this.decoratorsEnabledBeforeExport())this.raise($.DecoratorExportClass,this.state.startLoc)}else if(!this.canHaveLeadingDecorator())throw this.raise($.UnexpectedLeadingDecorator,this.state.startLoc);return G}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let f=this.startNode();if(this.next(),this.hasPlugin("decorators")){let G=this.state.startLoc,X;if(this.match(10)){let J=this.state.startLoc;this.next(),X=this.parseExpression(),this.expect(11),X=this.wrapParenthesis(J,X);let W=this.state.startLoc;if(f.expression=this.parseMaybeDecoratorArguments(X,J),this.getPluginOption("decorators","allowCallParenthesized")===!1&&f.expression!==X)this.raise($.DecoratorArgumentsOutsideParentheses,W)}else{X=this.parseIdentifier(!1);while(this.eat(16)){let J=this.startNodeAt(G);if(J.object=X,this.match(139))this.classScope.usePrivateName(this.state.value,this.state.startLoc),J.property=this.parsePrivateName();else J.property=this.parseIdentifier(!0);J.computed=!1,X=this.finishNode(J,"MemberExpression")}f.expression=this.parseMaybeDecoratorArguments(X,G)}}else f.expression=this.parseExprSubscripts();return this.finishNode(f,"Decorator")}parseMaybeDecoratorArguments(f,G){if(this.eat(10)){let X=this.startNodeAt(G);return X.callee=f,X.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(X.arguments),this.finishNode(X,"CallExpression")}return f}parseBreakContinueStatement(f,G){if(this.next(),this.isLineTerminator())f.label=null;else f.label=this.parseIdentifier(),this.semicolon();return this.verifyBreakContinue(f,G),this.finishNode(f,G?"BreakStatement":"ContinueStatement")}verifyBreakContinue(f,G){let X;for(X=0;X<this.state.labels.length;++X){let J=this.state.labels[X];if(f.label==null||J.name===f.label.name){if(J.kind!=null&&(G||J.kind===1))break;if(f.label&&G)break}}if(X===this.state.labels.length){let J=G?"BreakStatement":"ContinueStatement";this.raise($.IllegalBreakContinue,f,{type:J})}}parseDebuggerStatement(f){return this.next(),this.semicolon(),this.finishNode(f,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let f=this.parseExpression();return this.expect(11),f}parseDoWhileStatement(f){return this.next(),this.state.labels.push(qW),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),f.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(f,"DoWhileStatement")}parseForStatement(f){this.next(),this.state.labels.push(qW);let G=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed())G=this.state.startLoc,this.next();if(this.scope.enter(0),this.expect(10),this.match(13)){if(G!==null)this.unexpected(G);return this.parseFor(f,null)}let X=this.isContextual(100);{let H=this.isContextual(96)&&this.startsAwaitUsing(),U=H||this.isContextual(107)&&this.startsUsingForOf(),Q=X&&this.hasFollowingBindingAtom()||U;if(this.match(74)||this.match(75)||Q){let Y=this.startNode(),S;if(H){if(S="await using",!this.recordAwaitIfAllowed())this.raise($.AwaitUsingNotInAsyncContext,this.state.startLoc);this.next()}else S=this.state.value;this.next(),this.parseVar(Y,!0,S);let C=this.finishNode(Y,"VariableDeclaration"),A=this.match(58);if(A&&U)this.raise($.ForInUsing,C);if((A||this.isContextual(102))&&C.declarations.length===1)return this.parseForIn(f,C,G);if(G!==null)this.unexpected(G);return this.parseFor(f,C)}}let J=this.isContextual(95),W=new JX,R=this.parseExpression(!0,W),V=this.isContextual(102);if(V){if(X)this.raise($.ForOfLet,R);if(G===null&&J&&R.type==="Identifier")this.raise($.ForOfAsync,R)}if(V||this.match(58)){this.checkDestructuringPrivate(W),this.toAssignable(R,!0);let H=V?"ForOfStatement":"ForInStatement";return this.checkLVal(R,{type:H}),this.parseForIn(f,R,G)}else this.checkExpressionErrors(W,!0);if(G!==null)this.unexpected(G);return this.parseFor(f,R)}parseFunctionStatement(f,G,X){return this.next(),this.parseFunction(f,1|(X?2:0)|(G?8:0))}parseIfStatement(f){return this.next(),f.test=this.parseHeaderExpression(),f.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),f.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(f,"IfStatement")}parseReturnStatement(f){if(!this.prodParam.hasReturn&&!(this.optionFlags&2))this.raise($.IllegalReturn,this.state.startLoc);if(this.next(),this.isLineTerminator())f.argument=null;else f.argument=this.parseExpression(),this.semicolon();return this.finishNode(f,"ReturnStatement")}parseSwitchStatement(f){this.next(),f.discriminant=this.parseHeaderExpression();let G=f.cases=[];this.expect(5),this.state.labels.push(T6f),this.scope.enter(0);let X;for(let J;!this.match(8);)if(this.match(61)||this.match(65)){let W=this.match(61);if(X)this.finishNode(X,"SwitchCase");if(G.push(X=this.startNode()),X.consequent=[],this.next(),W)X.test=this.parseExpression();else{if(J)this.raise($.MultipleDefaultsInSwitch,this.state.lastTokStartLoc);J=!0,X.test=null}this.expect(14)}else if(X)X.consequent.push(this.parseStatementListItem());else this.unexpected();if(this.scope.exit(),X)this.finishNode(X,"SwitchCase");return this.next(),this.state.labels.pop(),this.finishNode(f,"SwitchStatement")}parseThrowStatement(f){if(this.next(),this.hasPrecedingLineBreak())this.raise($.NewlineAfterThrow,this.state.lastTokEndLoc);return f.argument=this.parseExpression(),this.semicolon(),this.finishNode(f,"ThrowStatement")}parseCatchClauseParam(){let f=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&f.type==="Identifier"?8:0),this.checkLVal(f,{type:"CatchClause"},9),f}parseTryStatement(f){if(this.next(),f.block=this.parseBlock(),f.handler=null,this.match(62)){let G=this.startNode();if(this.next(),this.match(10))this.expect(10),G.param=this.parseCatchClauseParam(),this.expect(11);else G.param=null,this.scope.enter(0);G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),f.handler=this.finishNode(G,"CatchClause")}if(f.finalizer=this.eat(67)?this.parseBlock():null,!f.handler&&!f.finalizer)this.raise($.NoCatchOrFinally,f);return this.finishNode(f,"TryStatement")}parseVarStatement(f,G,X=!1){return this.next(),this.parseVar(f,!1,G,X),this.semicolon(),this.finishNode(f,"VariableDeclaration")}parseWhileStatement(f){return this.next(),f.test=this.parseHeaderExpression(),this.state.labels.push(qW),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(f,"WhileStatement")}parseWithStatement(f){if(this.state.strict)this.raise($.StrictWith,this.state.startLoc);return this.next(),f.object=this.parseHeaderExpression(),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(f,"WithStatement")}parseEmptyStatement(f){return this.next(),this.finishNode(f,"EmptyStatement")}parseLabeledStatement(f,G,X,J){for(let R of this.state.labels)if(R.name===G)this.raise($.LabelRedeclaration,X,{labelName:G});let W=vWf(this.state.type)?1:this.match(71)?2:null;for(let R=this.state.labels.length-1;R>=0;R--){let V=this.state.labels[R];if(V.statementStart===f.start)V.statementStart=this.sourceToOffsetPos(this.state.start),V.kind=W;else break}return this.state.labels.push({name:G,kind:W,statementStart:this.sourceToOffsetPos(this.state.start)}),f.body=J&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),f.label=X,this.finishNode(f,"LabeledStatement")}parseExpressionStatement(f,G,X){return f.expression=G,this.semicolon(),this.finishNode(f,"ExpressionStatement")}parseBlock(f=!1,G=!0,X){let J=this.startNode();if(f)this.state.strictErrors.clear();if(this.expect(5),G)this.scope.enter(0);if(this.parseBlockBody(J,f,!1,8,X),G)this.scope.exit();return this.finishNode(J,"BlockStatement")}isValidDirective(f){return f.type==="ExpressionStatement"&&f.expression.type==="StringLiteral"&&!f.expression.extra.parenthesized}parseBlockBody(f,G,X,J,W){let R=f.body=[],V=f.directives=[];this.parseBlockOrModuleBlockBody(R,G?V:void 0,X,J,W)}parseBlockOrModuleBlockBody(f,G,X,J,W){let R=this.state.strict,V=!1,H=!1;while(!this.match(J)){let U=X?this.parseModuleItem():this.parseStatementListItem();if(G&&!H){if(this.isValidDirective(U)){let Q=this.stmtToDirective(U);if(G.push(Q),!V&&Q.value.value==="use strict")V=!0,this.setStrict(!0);continue}H=!0,this.state.strictErrors.clear()}f.push(U)}if(W==null||W.call(this,V),!R)this.setStrict(!1);this.next()}parseFor(f,G){return f.init=G,this.semicolon(!1),f.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),f.update=this.match(11)?null:this.parseExpression(),this.expect(11),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(f,"ForStatement")}parseForIn(f,G,X){let J=this.match(58);if(this.next(),J){if(X!==null)this.unexpected(X)}else f.await=X!==null;if(G.type==="VariableDeclaration"&&G.declarations[0].init!=null&&(!J||!this.options.annexB||this.state.strict||G.kind!=="var"||G.declarations[0].id.type!=="Identifier"))this.raise($.ForInOfLoopInitializer,G,{type:J?"ForInStatement":"ForOfStatement"});if(G.type==="AssignmentPattern")this.raise($.InvalidLhs,G,{ancestor:{type:"ForStatement"}});return f.left=G,f.right=J?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(f,J?"ForInStatement":"ForOfStatement")}parseVar(f,G,X,J=!1){let W=f.declarations=[];f.kind=X;for(;;){let R=this.startNode();if(this.parseVarId(R,X),R.init=!this.eat(29)?null:G?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn(),R.init===null&&!J){if(R.id.type!=="Identifier"&&!(G&&(this.match(58)||this.isContextual(102))))this.raise($.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"});else if((X==="const"||X==="using"||X==="await using")&&!(this.match(58)||this.isContextual(102)))this.raise($.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:X})}if(W.push(this.finishNode(R,"VariableDeclarator")),!this.eat(12))break}return f}parseVarId(f,G){let X=this.parseBindingAtom();if(G==="using"||G==="await using"){if(X.type==="ArrayPattern"||X.type==="ObjectPattern")this.raise($.UsingDeclarationHasBindingPattern,X.loc.start)}this.checkLVal(X,{type:"VariableDeclarator"},G==="var"?5:8201),f.id=X}parseAsyncFunctionExpression(f){return this.parseFunction(f,8)}parseFunction(f,G=0){let X=G&2,J=!!(G&1),W=J&&!(G&4),R=!!(G&8);if(this.initFunction(f,R),this.match(55)){if(X)this.raise($.GeneratorInSingleStatementContext,this.state.startLoc);this.next(),f.generator=!0}if(J)f.id=this.parseFunctionId(W);let V=this.state.maybeInArrowParameters;if(this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(R2(R,f.generator)),!J)f.id=this.parseFunctionId();if(this.parseFunctionParams(f,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(f,J?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),J&&!X)this.registerFunctionStatementId(f);return this.state.maybeInArrowParameters=V,f}parseFunctionId(f){return f||$f(this.state.type)?this.parseIdentifier():null}parseFunctionParams(f,G){this.expect(10),this.expressionScope.enter(W6f()),f.params=this.parseBindingList(11,41,2|(G?4:0)),this.expressionScope.exit()}registerFunctionStatementId(f){if(!f.id)return;this.scope.declareName(f.id.name,!this.options.annexB||this.state.strict||f.generator||f.async?this.scope.treatFunctionsAsVar?5:8201:17,f.id.loc.start)}parseClass(f,G,X){this.next();let J=this.state.strict;return this.state.strict=!0,this.parseClassId(f,G,X),this.parseClassSuper(f),f.body=this.parseClassBody(!!f.superClass,J),this.finishNode(f,G?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(f){return f.type==="Identifier"&&f.name==="constructor"||f.type==="StringLiteral"&&f.value==="constructor"}isNonstaticConstructor(f){return!f.computed&&!f.static&&this.nameIsConstructor(f.key)}parseClassBody(f,G){this.classScope.enter();let X={hadConstructor:!1,hadSuperClass:f},J=[],W=this.startNode();if(W.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(8)){if(this.eat(13)){if(J.length>0)throw this.raise($.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){J.push(this.parseDecorator());continue}let R=this.startNode();if(J.length)R.decorators=J,this.resetStartLocationFromNode(R,J[0]),J=[];if(this.parseClassMember(W,R,X),R.kind==="constructor"&&R.decorators&&R.decorators.length>0)this.raise($.DecoratorConstructor,R)}}),this.state.strict=G,this.next(),J.length)throw this.raise($.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(W,"ClassBody")}parseClassMemberFromModifier(f,G){let X=this.parseIdentifier(!0);if(this.isClassMethod()){let J=G;return J.kind="method",J.computed=!1,J.key=X,J.static=!1,this.pushClassMethod(f,J,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let J=G;return J.computed=!1,J.key=X,J.static=!1,f.body.push(this.parseClassProperty(J)),!0}return this.resetPreviousNodeTrailingComments(X),!1}parseClassMember(f,G,X){let J=this.isContextual(106);if(J){if(this.parseClassMemberFromModifier(f,G))return;if(this.eat(5)){this.parseClassStaticBlock(f,G);return}}this.parseClassMemberWithIsStatic(f,G,X,J)}parseClassMemberWithIsStatic(f,G,X,J){let W=G,R=G,V=G,H=G,U=G,Q=W,Y=W;if(G.static=J,this.parsePropertyNamePrefixOperator(G),this.eat(55)){Q.kind="method";let I=this.match(139);if(this.parseClassElementName(Q),I){this.pushClassPrivateMethod(f,R,!0,!1);return}if(this.isNonstaticConstructor(W))this.raise($.ConstructorIsGenerator,W.key);this.pushClassMethod(f,W,!0,!1,!1,!1);return}let S=!this.state.containsEsc&&$f(this.state.type),C=this.parseClassElementName(G),A=S?C.name:null,j=this.isPrivateName(C),b=this.state.startLoc;if(this.parsePostMemberNameModifiers(Y),this.isClassMethod()){if(Q.kind="method",j){this.pushClassPrivateMethod(f,R,!1,!1);return}let I=this.isNonstaticConstructor(W),L=!1;if(I){if(W.kind="constructor",X.hadConstructor&&!this.hasPlugin("typescript"))this.raise($.DuplicateConstructor,C);if(I&&this.hasPlugin("typescript")&&G.override)this.raise($.OverrideOnConstructor,C);X.hadConstructor=!0,L=X.hadSuperClass}this.pushClassMethod(f,W,!1,!1,I,L)}else if(this.isClassProperty())if(j)this.pushClassPrivateProperty(f,H);else this.pushClassProperty(f,V);else if(A==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(C);let I=this.eat(55);if(Y.optional)this.unexpected(b);Q.kind="method";let L=this.match(139);if(this.parseClassElementName(Q),this.parsePostMemberNameModifiers(Y),L)this.pushClassPrivateMethod(f,R,I,!0);else{if(this.isNonstaticConstructor(W))this.raise($.ConstructorIsAsync,W.key);this.pushClassMethod(f,W,I,!0,!1,!1)}}else if((A==="get"||A==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(C),Q.kind=A;let I=this.match(139);if(this.parseClassElementName(W),I)this.pushClassPrivateMethod(f,R,!1,!1);else{if(this.isNonstaticConstructor(W))this.raise($.ConstructorIsAccessor,W.key);this.pushClassMethod(f,W,!1,!1,!1,!1)}this.checkGetterSetterParams(W)}else if(A==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(C);let I=this.match(139);this.parseClassElementName(V),this.pushClassAccessorProperty(f,U,I)}else if(this.isLineTerminator())if(j)this.pushClassPrivateProperty(f,H);else this.pushClassProperty(f,V);else this.unexpected()}parseClassElementName(f){let{type:G,value:X}=this.state;if((G===132||G===134)&&f.static&&X==="prototype")this.raise($.StaticPrototype,this.state.startLoc);if(G===139){if(X==="constructor")this.raise($.ConstructorClassPrivateField,this.state.startLoc);let J=this.parsePrivateName();return f.key=J,J}return this.parsePropertyName(f),f.key}parseClassStaticBlock(f,G){var X;this.scope.enter(208);let J=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let W=G.body=[];if(this.parseBlockOrModuleBlockBody(W,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=J,f.body.push(this.finishNode(G,"StaticBlock")),(X=G.decorators)!=null&&X.length)this.raise($.DecoratorStaticBlock,G)}pushClassProperty(f,G){if(!G.computed&&this.nameIsConstructor(G.key))this.raise($.ConstructorClassField,G.key);f.body.push(this.parseClassProperty(G))}pushClassPrivateProperty(f,G){let X=this.parseClassPrivateProperty(G);f.body.push(X),this.classScope.declarePrivateName(this.getPrivateNameSV(X.key),0,X.key.loc.start)}pushClassAccessorProperty(f,G,X){if(!X&&!G.computed&&this.nameIsConstructor(G.key))this.raise($.ConstructorClassField,G.key);let J=this.parseClassAccessorProperty(G);if(f.body.push(J),X)this.classScope.declarePrivateName(this.getPrivateNameSV(J.key),0,J.key.loc.start)}pushClassMethod(f,G,X,J,W,R){f.body.push(this.parseMethod(G,X,J,W,R,"ClassMethod",!0))}pushClassPrivateMethod(f,G,X,J){let W=this.parseMethod(G,X,J,!1,!1,"ClassPrivateMethod",!0);f.body.push(W);let R=W.kind==="get"?W.static?6:2:W.kind==="set"?W.static?5:1:0;this.declareClassPrivateMethodInScope(W,R)}declareClassPrivateMethodInScope(f,G){this.classScope.declarePrivateName(this.getPrivateNameSV(f.key),G,f.key.loc.start)}parsePostMemberNameModifiers(f){}parseClassPrivateProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassPrivateProperty")}parseClassProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassProperty")}parseClassAccessorProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassAccessorProperty")}parseInitializer(f){this.scope.enter(80),this.expressionScope.enter(r8()),this.prodParam.enter(0),f.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(f,G,X,J=8331){if($f(this.state.type)){if(f.id=this.parseIdentifier(),G)this.declareNameFromIdentifier(f.id,J)}else if(X||!G)f.id=null;else throw this.raise($.MissingClassName,this.state.startLoc)}parseClassSuper(f){f.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(f,G){let X=this.parseMaybeImportPhase(f,!0),J=this.maybeParseExportDefaultSpecifier(f,X),W=!J||this.eat(12),R=W&&this.eatExportStar(f),V=R&&this.maybeParseExportNamespaceSpecifier(f),H=W&&(!V||this.eat(12)),U=J||R;if(R&&!V){if(J)this.unexpected();if(G)throw this.raise($.UnsupportedDecoratorExport,f);return this.parseExportFrom(f,!0),this.finishNode(f,"ExportAllDeclaration")}let Q=this.maybeParseExportNamedSpecifiers(f);if(J&&W&&!R&&!Q)this.unexpected(null,5);if(V&&H)this.unexpected(null,98);let Y;if(U||Q){if(Y=!1,G)throw this.raise($.UnsupportedDecoratorExport,f);this.parseExportFrom(f,U)}else Y=this.maybeParseExportDeclaration(f);if(U||Q||Y){var S;let C=f;if(this.checkExport(C,!0,!1,!!C.source),((S=C.declaration)==null?void 0:S.type)==="ClassDeclaration")this.maybeTakeDecorators(G,C.declaration,C);else if(G)throw this.raise($.UnsupportedDecoratorExport,f);return this.finishNode(C,"ExportNamedDeclaration")}if(this.eat(65)){let C=f,A=this.parseExportDefaultExpression();if(C.declaration=A,A.type==="ClassDeclaration")this.maybeTakeDecorators(G,A,C);else if(G)throw this.raise($.UnsupportedDecoratorExport,f);return this.checkExport(C,!0,!0),this.finishNode(C,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(f){return this.eat(55)}maybeParseExportDefaultSpecifier(f,G){if(G||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",G==null?void 0:G.loc.start);let X=G||this.parseIdentifier(!0),J=this.startNodeAtNode(X);return J.exported=X,f.specifiers=[this.finishNode(J,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(f){if(this.isContextual(93)){var G,X;(X=(G=f).specifiers)!=null||(G.specifiers=[]);let J=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),J.exported=this.parseModuleExportName(),f.specifiers.push(this.finishNode(J,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(f){if(this.match(5)){let G=f;if(!G.specifiers)G.specifiers=[];let X=G.exportKind==="type";if(G.specifiers.push(...this.parseExportSpecifiers(X)),G.source=null,G.declaration=null,this.hasPlugin("importAssertions"))G.assertions=[];return!0}return!1}maybeParseExportDeclaration(f){if(this.shouldParseExportDeclaration()){if(f.specifiers=[],f.source=null,this.hasPlugin("importAssertions"))f.assertions=[];return f.declaration=this.parseExportDeclaration(f),!0}return!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let f=this.nextTokenInLineStart();return this.isUnparsedContextual(f,"function")}parseExportDefaultExpression(){let f=this.startNode();if(this.match(68))return this.next(),this.parseFunction(f,5);else if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(f,13);if(this.match(80))return this.parseClass(f,!0,!0);if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise($.DecoratorBeforeExport,this.state.startLoc);return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0)}if(this.match(75)||this.match(74)||this.isLet())throw this.raise($.UnsupportedDefaultExport,this.state.startLoc);let G=this.parseMaybeAssignAllowIn();return this.semicolon(),G}parseExportDeclaration(f){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:f}=this.state;if($f(f)){if(f===95&&!this.state.containsEsc||f===100)return!1;if((f===130||f===129)&&!this.state.containsEsc){let{type:J}=this.lookahead();if($f(J)&&J!==98||J===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let G=this.nextTokenStart(),X=this.isUnparsedContextual(G,"from");if(this.input.charCodeAt(G)===44||$f(this.state.type)&&X)return!0;if(this.match(65)&&X){let J=this.input.charCodeAt(this.nextTokenStartSince(G+4));return J===34||J===39}return!1}parseExportFrom(f,G){if(this.eatContextual(98))f.source=this.parseImportSource(),this.checkExport(f),this.maybeParseImportAttributes(f),this.checkJSONModuleImport(f);else if(G)this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:f}=this.state;if(f===26){if(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise($.DecoratorBeforeExport,this.state.startLoc);return!0}}if(this.isContextual(107))return this.raise($.UsingDeclarationExport,this.state.startLoc),!0;if(this.isContextual(96)&&this.startsAwaitUsing())return this.raise($.UsingDeclarationExport,this.state.startLoc),!0;return f===74||f===75||f===68||f===80||this.isLet()||this.isAsyncFunction()}checkExport(f,G,X,J){if(G){var W;if(X){if(this.checkDuplicateExports(f,"default"),this.hasPlugin("exportDefaultFrom")){var R;let V=f.declaration;if(V.type==="Identifier"&&V.name==="from"&&V.end-V.start===4&&!((R=V.extra)!=null&&R.parenthesized))this.raise($.ExportDefaultFromAsIdentifier,V)}}else if((W=f.specifiers)!=null&&W.length)for(let V of f.specifiers){let{exported:H}=V,U=H.type==="Identifier"?H.name:H.value;if(this.checkDuplicateExports(V,U),!J&&V.local){let{local:Q}=V;if(Q.type!=="Identifier")this.raise($.ExportBindingIsString,V,{localName:Q.value,exportName:U});else this.checkReservedWord(Q.name,Q.loc.start,!0,!1),this.scope.checkLocalExport(Q)}}else if(f.declaration){let V=f.declaration;if(V.type==="FunctionDeclaration"||V.type==="ClassDeclaration"){let{id:H}=V;if(!H)throw new Error("Assertion failure");this.checkDuplicateExports(f,H.name)}else if(V.type==="VariableDeclaration")for(let H of V.declarations)this.checkDeclaration(H.id)}}}checkDeclaration(f){if(f.type==="Identifier")this.checkDuplicateExports(f,f.name);else if(f.type==="ObjectPattern")for(let G of f.properties)this.checkDeclaration(G);else if(f.type==="ArrayPattern"){for(let G of f.elements)if(G)this.checkDeclaration(G)}else if(f.type==="ObjectProperty")this.checkDeclaration(f.value);else if(f.type==="RestElement")this.checkDeclaration(f.argument);else if(f.type==="AssignmentPattern")this.checkDeclaration(f.left)}checkDuplicateExports(f,G){if(this.exportedIdentifiers.has(G))if(G==="default")this.raise($.DuplicateDefaultExport,f);else this.raise($.DuplicateExport,f,{exportName:G});this.exportedIdentifiers.add(G)}parseExportSpecifiers(f){let G=[],X=!0;this.expect(5);while(!this.eat(8)){if(X)X=!1;else if(this.expect(12),this.eat(8))break;let J=this.isContextual(130),W=this.match(134),R=this.startNode();R.local=this.parseModuleExportName(),G.push(this.parseExportSpecifier(R,W,f,J))}return G}parseExportSpecifier(f,G,X,J){if(this.eatContextual(93))f.exported=this.parseModuleExportName();else if(G)f.exported=U6f(f.local);else if(!f.exported)f.exported=TG(f.local);return this.finishNode(f,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let f=this.parseStringLiteral(this.state.value),G=L6f.exec(f.value);if(G)this.raise($.ModuleExportNameHasLoneSurrogate,f,{surrogateCharCode:G[0].charCodeAt(0)});return f}return this.parseIdentifier(!0)}isJSONModuleImport(f){if(f.assertions!=null)return f.assertions.some(({key:G,value:X})=>{return X.value==="json"&&(G.type==="Identifier"?G.name==="type":G.value==="type")});return!1}checkImportReflection(f){let{specifiers:G}=f,X=G.length===1?G[0].type:null;if(f.phase==="source"){if(X!=="ImportDefaultSpecifier")this.raise($.SourcePhaseImportRequiresDefault,G[0].loc.start)}else if(f.phase==="defer"){if(X!=="ImportNamespaceSpecifier")this.raise($.DeferImportRequiresNamespace,G[0].loc.start)}else if(f.module){var J;if(X!=="ImportDefaultSpecifier")this.raise($.ImportReflectionNotBinding,G[0].loc.start);if(((J=f.assertions)==null?void 0:J.length)>0)this.raise($.ImportReflectionHasAssertion,G[0].loc.start)}}checkJSONModuleImport(f){if(this.isJSONModuleImport(f)&&f.type!=="ExportAllDeclaration"){let{specifiers:G}=f;if(G!=null){let X=G.find((J)=>{let W;if(J.type==="ExportSpecifier")W=J.local;else if(J.type==="ImportSpecifier")W=J.imported;if(W!==void 0)return W.type==="Identifier"?W.name!=="default":W.value!=="default"});if(X!==void 0)this.raise($.ImportJSONBindingNotDefault,X.loc.start)}}}isPotentialImportPhase(f){if(f)return!1;return this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(f,G,X,J){if(G)return;if(X==="module")this.expectPlugin("importReflection",J),f.module=!0;else if(this.hasPlugin("importReflection"))f.module=!1;if(X==="source")this.expectPlugin("sourcePhaseImports",J),f.phase="source";else if(X==="defer")this.expectPlugin("deferredImportEvaluation",J),f.phase="defer";else if(this.hasPlugin("sourcePhaseImports"))f.phase=null}parseMaybeImportPhase(f,G){if(!this.isPotentialImportPhase(G))return this.applyImportPhase(f,G,null),null;let X=this.parseIdentifier(!0),{type:J}=this.state;if(UG(J)?J!==98||this.lookaheadCharCode()===102:J!==12)return this.resetPreviousIdentifierLeadingComments(X),this.applyImportPhase(f,G,X.name,X.loc.start),null;else return this.applyImportPhase(f,G,null),X}isPrecedingIdImportPhase(f){let{type:G}=this.state;return $f(G)?G!==98||this.lookaheadCharCode()===102:G!==12}parseImport(f){if(this.match(134))return this.parseImportSourceAndAttributes(f);return this.parseImportSpecifiersAndAfter(f,this.parseMaybeImportPhase(f,!1))}parseImportSpecifiersAndAfter(f,G){f.specifiers=[];let J=!this.maybeParseDefaultImportSpecifier(f,G)||this.eat(12),W=J&&this.maybeParseStarImportSpecifier(f);if(J&&!W)this.parseNamedImportSpecifiers(f);return this.expectContextual(98),this.parseImportSourceAndAttributes(f)}parseImportSourceAndAttributes(f){var G;return(G=f.specifiers)!=null||(f.specifiers=[]),f.source=this.parseImportSource(),this.maybeParseImportAttributes(f),this.checkImportReflection(f),this.checkJSONModuleImport(f),this.semicolon(),this.finishNode(f,"ImportDeclaration")}parseImportSource(){if(!this.match(134))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(f,G,X){G.local=this.parseIdentifier(),f.specifiers.push(this.finishImportSpecifier(G,X))}finishImportSpecifier(f,G,X=8201){return this.checkLVal(f.local,{type:G},X),this.finishNode(f,G)}parseImportAttributes(){this.expect(5);let f=[],G=new Set;do{if(this.match(8))break;let X=this.startNode(),J=this.state.value;if(G.has(J))this.raise($.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:J});if(G.add(J),this.match(134))X.key=this.parseStringLiteral(J);else X.key=this.parseIdentifier(!0);if(this.expect(14),!this.match(134))throw this.raise($.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),f.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return this.expect(8),f}parseModuleAttributes(){let f=[],G=new Set;do{let X=this.startNode();if(X.key=this.parseIdentifier(!0),X.key.name!=="type")this.raise($.ModuleAttributeDifferentFromType,X.key);if(G.has(X.key.name))this.raise($.ModuleAttributesWithDuplicateKeys,X.key,{key:X.key.name});if(G.add(X.key.name),this.expect(14),!this.match(134))throw this.raise($.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),f.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return f}maybeParseImportAttributes(f){let G;var X=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;if(this.next(),this.hasPlugin("moduleAttributes"))G=this.parseModuleAttributes();else G=this.parseImportAttributes();X=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions"))this.raise($.ImportAttributesUseAssert,this.state.startLoc);if(!this.hasPlugin("importAssertions"))this.addExtra(f,"deprecatedAssertSyntax",!0);this.next(),G=this.parseImportAttributes()}else G=[];if(!X&&this.hasPlugin("importAssertions"))f.assertions=G;else f.attributes=G}maybeParseDefaultImportSpecifier(f,G){if(G){let X=this.startNodeAtNode(G);return X.local=G,f.specifiers.push(this.finishImportSpecifier(X,"ImportDefaultSpecifier")),!0}else if(UG(this.state.type))return this.parseImportSpecifierLocal(f,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(f){if(this.match(55)){let G=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(f,G,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(f){let G=!0;this.expect(5);while(!this.eat(8)){if(G)G=!1;else{if(this.eat(14))throw this.raise($.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let X=this.startNode(),J=this.match(134),W=this.isContextual(130);X.imported=this.parseModuleExportName();let R=this.parseImportSpecifier(X,J,f.importKind==="type"||f.importKind==="typeof",W,void 0);f.specifiers.push(R)}}parseImportSpecifier(f,G,X,J,W){if(this.eatContextual(93))f.local=this.parseIdentifier();else{let{imported:R}=f;if(G)throw this.raise($.ImportBindingIsString,f,{importName:R.value});if(this.checkReservedWord(R.name,f.loc.start,!0,!0),!f.local)f.local=TG(R)}return this.finishImportSpecifier(f,"ImportSpecifier",W)}isThisParam(f){return f.type==="Identifier"&&f.name==="this"}}class uW extends W4{constructor(f,G,X){f=IWf(f);super(f,G);this.options=f,this.initializeScopes(),this.plugins=X,this.filename=f.sourceFilename,this.startIndex=f.startIndex;let J=0;if(f.allowAwaitOutsideFunction)J|=1;if(f.allowReturnOutsideFunction)J|=2;if(f.allowImportExportEverywhere)J|=8;if(f.allowSuperOutsideMethod)J|=16;if(f.allowUndeclaredExports)J|=32;if(f.allowNewTargetOutsideFunction)J|=4;if(f.ranges)J|=64;if(f.tokens)J|=128;if(f.createImportExpressions)J|=256;if(f.createParenthesizedExpressions)J|=512;if(f.errorRecovery)J|=1024;if(f.attachComment)J|=2048;if(f.annexB)J|=4096;this.optionFlags=J}getScopeHandler(){return U2}parse(){this.enterInitialScopes();let f=this.startNode(),G=this.startNode();return this.nextToken(),f.errors=null,this.parseTopLevel(f,G),f.errors=this.state.errors,f.comments.length=this.state.commentsLen,f}}function w6f(f,G){var X;if(((X=G)==null?void 0:X.sourceType)==="unambiguous"){G=Object.assign({},G);try{G.sourceType="module";let J=GX(G,f),W=J.parse();if(J.sawUnambiguousESM)return W;if(J.ambiguousScriptDifferentAst)try{return G.sourceType="script",GX(G,f).parse()}catch(R){}else W.program.sourceType="script";return W}catch(J){try{return G.sourceType="script",GX(G,f).parse()}catch(W){}throw J}}else return GX(G,f).parse()}function E6f(f,G){let X=GX(G,f);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function k6f(f){let G={};for(let X of Object.keys(f))G[X]=jG(f[X]);return G}var v6f=k6f(bWf);function GX(f,G){let X=uW,J=new Map;if(f!=null&&f.plugins){for(let W of f.plugins){let R,V;if(typeof W==="string")R=W;else[R,V]=W;if(!J.has(R))J.set(R,V||{})}I6f(J),X=g6f(J)}return new X(f,G,J)}var N8=new Map;function g6f(f){let G=[];for(let W of N6f)if(f.has(W))G.push(W);let X=G.join("|"),J=N8.get(X);if(!J){J=uW;for(let W of G)J=X4[W](J);N8.set(X,J)}return J}R4.parse=w6f;R4.parseExpression=E6f;R4.tokTypes=v6f});var hW=D((V4)=>{Object.defineProperty(V4,"__esModule",{value:!0});V4.Var=V4.User=V4.Statement=V4.SpreadProperty=V4.Scope=V4.RestProperty=V4.ReferencedMemberExpression=V4.ReferencedIdentifier=V4.Referenced=V4.Pure=V4.NumericLiteralTypeAnnotation=V4.Generated=V4.ForAwaitStatement=V4.Flow=V4.Expression=V4.ExistentialTypeParam=V4.BlockScoped=V4.BindingIdentifier=void 0;var nKf=V4.ReferencedIdentifier=["Identifier","JSXIdentifier"],oKf=V4.ReferencedMemberExpression=["MemberExpression"],eKf=V4.BindingIdentifier=["Identifier"],fFf=V4.Statement=["Statement"],GFf=V4.Expression=["Expression"],XFf=V4.Scope=["Scopable","Pattern"],JFf=V4.Referenced=null,WFf=V4.BlockScoped=null,RFf=V4.Var=["VariableDeclaration"],VFf=V4.User=null,HFf=V4.Generated=null,UFf=V4.Pure=null,QFf=V4.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],ZFf=V4.RestProperty=["RestElement"],YFf=V4.SpreadProperty=["RestElement"],zFf=V4.ExistentialTypeParam=["ExistsTypeAnnotation"],BFf=V4.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],MFf=V4.ForAwaitStatement=["ForOfStatement"]});var Q4=D((FFf,U4)=>{var j1=1000,O1=j1*60,D1=O1*60,eG=D1*24,X0f=eG*7,J0f=eG*365.25;U4.exports=function(f,G){G=G||{};var X=typeof f;if(X==="string"&&f.length>0)return W0f(f);else if(X==="number"&&isFinite(f))return G.long?V0f(f):R0f(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function W0f(f){if(f=String(f),f.length>100)return;var G=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(!G)return;var X=parseFloat(G[1]),J=(G[2]||"ms").toLowerCase();switch(J){case"years":case"year":case"yrs":case"yr":case"y":return X*J0f;case"weeks":case"week":case"w":return X*X0f;case"days":case"day":case"d":return X*eG;case"hours":case"hour":case"hrs":case"hr":case"h":return X*D1;case"minutes":case"minute":case"mins":case"min":case"m":return X*O1;case"seconds":case"second":case"secs":case"sec":case"s":return X*j1;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function R0f(f){var G=Math.abs(f);if(G>=eG)return Math.round(f/eG)+"d";if(G>=D1)return Math.round(f/D1)+"h";if(G>=O1)return Math.round(f/O1)+"m";if(G>=j1)return Math.round(f/j1)+"s";return f+"ms"}function V0f(f){var G=Math.abs(f);if(G>=eG)return Z2(f,G,eG,"day");if(G>=D1)return Z2(f,G,D1,"hour");if(G>=O1)return Z2(f,G,O1,"minute");if(G>=j1)return Z2(f,G,j1,"second");return f+" ms"}function Z2(f,G,X,J){var W=G>=X*1.5;return Math.round(f/X)+" "+J+(W?"s":"")}});var yW=D((SFf,Z4)=>{function H0f(f){X.debug=X,X.default=X,X.coerce=U,X.disable=V,X.enable=W,X.enabled=H,X.humanize=Q4(),X.destroy=Q,Object.keys(f).forEach((Y)=>{X[Y]=f[Y]}),X.names=[],X.skips=[],X.formatters={};function G(Y){let S=0;for(let C=0;C<Y.length;C++)S=(S<<5)-S+Y.charCodeAt(C),S|=0;return X.colors[Math.abs(S)%X.colors.length]}X.selectColor=G;function X(Y){let S,C=null,A,j;function b(...I){if(!b.enabled)return;let L=b,w=Number(new Date),Xf=w-(S||w);if(L.diff=Xf,L.prev=S,L.curr=w,S=w,I[0]=X.coerce(I[0]),typeof I[0]!=="string")I.unshift("%O");let p=0;I[0]=I[0].replace(/%([a-zA-Z%])/g,(Kf,bf)=>{if(Kf==="%%")return"%";p++;let Ef=X.formatters[bf];if(typeof Ef==="function"){let y=I[p];Kf=Ef.call(L,y),I.splice(p,1),p--}return Kf}),X.formatArgs.call(L,I),(L.log||X.log).apply(L,I)}if(b.namespace=Y,b.useColors=X.useColors(),b.color=X.selectColor(Y),b.extend=J,b.destroy=X.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(C!==null)return C;if(A!==X.namespaces)A=X.namespaces,j=X.enabled(Y);return j},set:(I)=>{C=I}}),typeof X.init==="function")X.init(b);return b}function J(Y,S){let C=X(this.namespace+(typeof S==="undefined"?":":S)+Y);return C.log=this.log,C}function W(Y){X.save(Y),X.namespaces=Y,X.names=[],X.skips=[];let S=(typeof Y==="string"?Y:"").trim().replace(" ",",").split(",").filter(Boolean);for(let C of S)if(C[0]==="-")X.skips.push(C.slice(1));else X.names.push(C)}function R(Y,S){let C=0,A=0,j=-1,b=0;while(C<Y.length)if(A<S.length&&(S[A]===Y[C]||S[A]==="*"))if(S[A]==="*")j=A,b=C,A++;else C++,A++;else if(j!==-1)A=j+1,b++,C=b;else return!1;while(A<S.length&&S[A]==="*")A++;return A===S.length}function V(){let Y=[...X.names,...X.skips.map((S)=>"-"+S)].join(",");return X.enable(""),Y}function H(Y){for(let S of X.skips)if(R(Y,S))return!1;for(let S of X.names)if(R(Y,S))return!0;return!1}function U(Y){if(Y instanceof Error)return Y.stack||Y.message;return Y}function Q(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return X.enable(X.load()),X}Z4.exports=H0f});var z4=D((Y4,z2)=>{Y4.formatArgs=Q0f;Y4.save=Z0f;Y4.load=Y0f;Y4.useColors=U0f;Y4.storage=z0f();Y4.destroy=(()=>{let f=!1;return()=>{if(!f)f=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();Y4.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function U0f(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let f;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(f=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(f[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Q0f(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+z2.exports.humanize(this.diff),!this.useColors)return;let G="color: "+this.color;f.splice(1,0,G,"color: inherit");let X=0,J=0;f[0].replace(/%[a-zA-Z%]/g,(W)=>{if(W==="%%")return;if(X++,W==="%c")J=X}),f.splice(J,0,G)}Y4.log=console.debug||console.log||(()=>{});function Z0f(f){try{if(f)Y4.storage.setItem("debug",f);else Y4.storage.removeItem("debug")}catch(G){}}function Y0f(){let f;try{f=Y4.storage.getItem("debug")}catch(G){}if(!f&&typeof process!=="undefined"&&"env"in process)f=process.env.DEBUG;return f}function z0f(){try{return localStorage}catch(f){}}z2.exports=yW()(Y4);var{formatters:B0f}=z2.exports;B0f.j=function(f){try{return JSON.stringify(f)}catch(G){return"[UnexpectedJSONParseError]: "+G.message}}});var M4={};H5(M4,{default:()=>I0f,createSupportsColor:()=>xW});import mW from"process";import A0f from"os";import B4 from"tty";function XG(f,G=globalThis.Deno?globalThis.Deno.args:mW.argv){let X=f.startsWith("-")?"":f.length===1?"-":"--",J=G.indexOf(X+f),W=G.indexOf("--");return J!==-1&&(W===-1||J<W)}function j0f(){if("FORCE_COLOR"in If){if(If.FORCE_COLOR==="true")return 1;if(If.FORCE_COLOR==="false")return 0;return If.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(If.FORCE_COLOR,10),3)}}function O0f(f){if(f===0)return!1;return{level:f,hasBasic:!0,has256:f>=2,has16m:f>=3}}function D0f(f,{streamIsTTY:G,sniffFlags:X=!0}={}){let J=j0f();if(J!==void 0)B2=J;let W=X?B2:J;if(W===0)return 0;if(X){if(XG("color=16m")||XG("color=full")||XG("color=truecolor"))return 3;if(XG("color=256"))return 2}if("TF_BUILD"in If&&"AGENT_NAME"in If)return 1;if(f&&!G&&W===void 0)return 0;let R=W||0;if(If.TERM==="dumb")return R;if(mW.platform==="win32"){let V=A0f.release().split(".");if(Number(V[0])>=10&&Number(V[2])>=10586)return Number(V[2])>=14931?3:2;return 1}if("CI"in If){if("GITHUB_ACTIONS"in If||"GITEA_ACTIONS"in If)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((V)=>(V in If))||If.CI_NAME==="codeship")return 1;return R}if("TEAMCITY_VERSION"in If)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(If.TEAMCITY_VERSION)?1:0;if(If.COLORTERM==="truecolor")return 3;if(If.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in If){let V=Number.parseInt((If.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(If.TERM_PROGRAM){case"iTerm.app":return V>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(If.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(If.TERM))return 1;if("COLORTERM"in If)return 1;return R}function xW(f,G={}){let X=D0f(f,{streamIsTTY:f&&f.isTTY,...G});return O0f(X)}var If,B2,P0f,I0f;var K4=U5(()=>{({env:If}=mW);if(XG("no-color")||XG("no-colors")||XG("color=false")||XG("color=never"))B2=0;else if(XG("color")||XG("colors")||XG("color=true")||XG("color=always"))B2=1;P0f={stdout:xW({isTTY:B4.isatty(1)}),stderr:xW({isTTY:B4.isatty(2)})},I0f=P0f});var q4=D((S4,K2)=>{var N0f=p6("tty"),M2=p6("util");S4.init=v0f;S4.log=w0f;S4.formatArgs=L0f;S4.save=E0f;S4.load=k0f;S4.useColors=T0f;S4.destroy=M2.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");S4.colors=[6,2,3,4,5,1];try{let f=(K4(),V5(M4));if(f&&(f.stderr||f).level>=2)S4.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(f){}S4.inspectOpts=Object.keys(process.env).filter((f)=>{return/^debug_/i.test(f)}).reduce((f,G)=>{let X=G.substring(6).toLowerCase().replace(/_([a-z])/g,(W,R)=>{return R.toUpperCase()}),J=process.env[G];if(/^(yes|on|true|enabled)$/i.test(J))J=!0;else if(/^(no|off|false|disabled)$/i.test(J))J=!1;else if(J==="null")J=null;else J=Number(J);return f[X]=J,f},{});function T0f(){return"colors"in S4.inspectOpts?Boolean(S4.inspectOpts.colors):N0f.isatty(process.stderr.fd)}function L0f(f){let{namespace:G,useColors:X}=this;if(X){let J=this.color,W="\x1B[3"+(J<8?J:"8;5;"+J),R=` ${W};1m${G} \x1B[0m`;f[0]=R+f[0].split(`
22
+ `;else W=String.fromCharCode(J);return++this.state.curLine,this.state.lineStart=this.state.pos,W}jsxReadString(X){let J="",W=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise($.UnterminatedString,this.state.startLoc);let R=this.input.charCodeAt(this.state.pos);if(R===X)break;if(R===38)J+=this.input.slice(W,this.state.pos),J+=this.jsxReadEntity(),W=this.state.pos;else if(A1(R))J+=this.input.slice(W,this.state.pos),J+=this.jsxReadNewLine(!1),W=this.state.pos;else++this.state.pos}J+=this.input.slice(W,this.state.pos++),this.finishToken(134,J)}jsxReadEntity(){let X=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let J=10;if(this.codePointAtPos(this.state.pos)===120)J=16,++this.state.pos;let W=this.readInt(J,void 0,!1,"bail");if(W!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(W)}else{let J=0,W=!1;while(J++<10&&this.state.pos<this.length&&!(W=this.codePointAtPos(this.state.pos)===59))++this.state.pos;if(W){let R=this.input.slice(X,this.state.pos),V=K6f[R];if(++this.state.pos,V)return V}}return this.state.pos=X,"&"}jsxReadWord(){let X,J=this.state.pos;do X=this.input.charCodeAt(++this.state.pos);while(C1(X)||X===45);this.finishToken(141,this.input.slice(J,this.state.pos))}jsxParseIdentifier(){let X=this.startNode();if(this.match(141))X.name=this.state.value;else if(wW(this.state.type))X.name=xG(this.state.type);else this.unexpected();return this.next(),this.finishNode(X,"JSXIdentifier")}jsxParseNamespacedName(){let X=this.state.startLoc,J=this.jsxParseIdentifier();if(!this.eat(14))return J;let W=this.startNodeAt(X);return W.namespace=J,W.name=this.jsxParseIdentifier(),this.finishNode(W,"JSXNamespacedName")}jsxParseElementName(){let X=this.state.startLoc,J=this.jsxParseNamespacedName();if(J.type==="JSXNamespacedName")return J;while(this.eat(16)){let W=this.startNodeAt(X);W.object=J,W.property=this.jsxParseIdentifier(),J=this.finishNode(W,"JSXMemberExpression")}return J}jsxParseAttributeValue(){let X;switch(this.state.type){case 5:if(X=this.startNode(),this.setContext(Sf.brace),this.next(),X=this.jsxParseExpressionContainer(X,Sf.j_oTag),X.expression.type==="JSXEmptyExpression")this.raise(oG.AttributeIsEmpty,X);return X;case 143:case 134:return this.parseExprAtom();default:throw this.raise(oG.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let X=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(X,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(X){return this.next(),X.expression=this.parseExpression(),this.setContext(Sf.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadChild")}jsxParseExpressionContainer(X,J){if(this.match(8))X.expression=this.jsxParseEmptyExpression();else{let W=this.parseExpression();X.expression=W}return this.setContext(J),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXExpressionContainer")}jsxParseAttribute(){let X=this.startNode();if(this.match(5))return this.setContext(Sf.brace),this.next(),this.expect(21),X.argument=this.parseMaybeAssignAllowIn(),this.setContext(Sf.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadAttribute");return X.name=this.jsxParseNamespacedName(),X.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(X,"JSXAttribute")}jsxParseOpeningElementAt(X){let J=this.startNodeAt(X);if(this.eat(144))return this.finishNode(J,"JSXOpeningFragment");return J.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(J)}jsxParseOpeningElementAfterName(X){let J=[];while(!this.match(56)&&!this.match(144))J.push(this.jsxParseAttribute());return X.attributes=J,X.selfClosing=this.eat(56),this.expect(144),this.finishNode(X,"JSXOpeningElement")}jsxParseClosingElementAt(X){let J=this.startNodeAt(X);if(this.eat(144))return this.finishNode(J,"JSXClosingFragment");return J.name=this.jsxParseElementName(),this.expect(144),this.finishNode(J,"JSXClosingElement")}jsxParseElementAt(X){let J=this.startNodeAt(X),W=[],R=this.jsxParseOpeningElementAt(X),V=null;if(!R.selfClosing){f:for(;;)switch(this.state.type){case 143:if(X=this.state.startLoc,this.next(),this.eat(56)){V=this.jsxParseClosingElementAt(X);break f}W.push(this.jsxParseElementAt(X));break;case 142:W.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let H=this.startNode();if(this.setContext(Sf.brace),this.next(),this.match(21))W.push(this.jsxParseSpreadChild(H));else W.push(this.jsxParseExpressionContainer(H,Sf.j_expr));break}default:this.unexpected()}if(yG(R)&&!yG(V)&&V!==null)this.raise(oG.MissingClosingTagFragment,V);else if(!yG(R)&&yG(V))this.raise(oG.MissingClosingTagElement,V,{openingTagName:q1(R.name)});else if(!yG(R)&&!yG(V)){if(q1(V.name)!==q1(R.name))this.raise(oG.MissingClosingTagElement,V,{openingTagName:q1(R.name)})}}if(yG(R))J.openingFragment=R,J.closingFragment=V;else J.openingElement=R,J.closingElement=V;if(J.children=W,this.match(47))throw this.raise(oG.UnwrappedAdjacentJSXElements,this.state.startLoc);return yG(R)?this.finishNode(J,"JSXFragment"):this.finishNode(J,"JSXElement")}jsxParseElement(){let X=this.state.startLoc;return this.next(),this.jsxParseElementAt(X)}setContext(X){let{context:J}=this.state;J[J.length-1]=X}parseExprAtom(X){if(this.match(143))return this.jsxParseElement();else if(this.match(47)&&this.input.charCodeAt(this.state.pos)!==33)return this.replaceToken(143),this.jsxParseElement();else return super.parseExprAtom(X)}skipSpace(){if(!this.curContext().preserveSpace)super.skipSpace()}getTokenFromCode(X){let J=this.curContext();if(J===Sf.j_expr){this.jsxReadToken();return}if(J===Sf.j_oTag||J===Sf.j_cTag){if(PG(X)){this.jsxReadWord();return}if(X===62){++this.state.pos,this.finishToken(144);return}if((X===34||X===39)&&J===Sf.j_oTag){this.jsxReadString(X);return}}if(X===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(X)}updateContext(X){let{context:J,type:W}=this.state;if(W===56&&X===143)J.splice(-2,2,Sf.j_cTag),this.state.canStartJSXElement=!1;else if(W===143)J.push(Sf.j_oTag);else if(W===144){let R=J[J.length-1];if(R===Sf.j_oTag&&X===56||R===Sf.j_cTag)J.pop(),this.state.canStartJSXElement=J[J.length-1]===Sf.j_expr;else this.setContext(Sf.j_expr),this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=EWf(W)}};class t8 extends H2{constructor(...f){super(...f);this.tsNames=new Map}}class n8 extends U2{constructor(...f){super(...f);this.importsStack=[]}createScope(f){return this.importsStack.push(new Set),new t8(f)}enter(f){if(f===256)this.importsStack.push(new Set);super.enter(f)}exit(){let f=super.exit();if(f===256)this.importsStack.pop();return f}hasImport(f,G){let X=this.importsStack.length;if(this.importsStack[X-1].has(f))return!0;if(!G&&X>1){for(let J=0;J<X-1;J++)if(this.importsStack[J].has(f))return!0}return!1}declareName(f,G,X){if(G&4096){if(this.hasImport(f,!0))this.parser.raise($.VarRedeclaration,X,{identifierName:f});this.importsStack[this.importsStack.length-1].add(f);return}let J=this.currentScope(),W=J.tsNames.get(f)||0;if(G&1024){this.maybeExportDefined(J,f),J.tsNames.set(f,W|16);return}if(super.declareName(f,G,X),G&2){if(!(G&1))this.checkRedeclarationInScope(J,f,G,X),this.maybeExportDefined(J,f);W=W|1}if(G&256)W=W|2;if(G&512)W=W|4;if(G&128)W=W|8;if(W)J.tsNames.set(f,W)}isRedeclaredInScope(f,G,X){let J=f.tsNames.get(G);if((J&2)>0){if(X&256){let W=!!(X&512),R=(J&4)>0;return W!==R}return!0}if(X&128&&(J&8)>0)if(f.names.get(G)&2)return!!(X&1);else return!1;if(X&2&&(J&1)>0)return!0;return super.isRedeclaredInScope(f,G,X)}checkLocalExport(f){let{name:G}=f;if(this.hasImport(G))return;let X=this.scopeStack.length;for(let J=X-1;J>=0;J--){let R=this.scopeStack[J].tsNames.get(G);if((R&1)>0||(R&16)>0)return}super.checkLocalExport(f)}}var o8=(f)=>{return f.type==="ParenthesizedExpression"?o8(f.expression):f};class e8 extends d8{toAssignable(f,G=!1){var X,J;let W=void 0;if(f.type==="ParenthesizedExpression"||(X=f.extra)!=null&&X.parenthesized)if(W=o8(f),G){if(W.type==="Identifier")this.expressionScope.recordArrowParameterBindingError($.InvalidParenthesizedAssignment,f);else if(W.type!=="MemberExpression"&&!this.isOptionalMemberExpression(W))this.raise($.InvalidParenthesizedAssignment,f)}else this.raise($.InvalidParenthesizedAssignment,f);switch(f.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":f.type="ObjectPattern";for(let V=0,H=f.properties.length,U=H-1;V<H;V++){var R;let Q=f.properties[V],Y=V===U;if(this.toAssignableObjectExpressionProp(Q,Y,G),Y&&Q.type==="RestElement"&&(R=f.extra)!=null&&R.trailingCommaLoc)this.raise($.RestTrailingComma,f.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:V,value:H}=f;if(this.isPrivateName(V))this.classScope.usePrivateName(this.getPrivateNameSV(V),V.loc.start);this.toAssignable(H,G);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":f.type="ArrayPattern",this.toAssignableList(f.elements,(J=f.extra)==null?void 0:J.trailingCommaLoc,G);break;case"AssignmentExpression":if(f.operator!=="=")this.raise($.MissingEqInAssignment,f.left.loc.end);f.type="AssignmentPattern",delete f.operator,this.toAssignable(f.left,G);break;case"ParenthesizedExpression":this.toAssignable(W,G);break}}toAssignableObjectExpressionProp(f,G,X){if(f.type==="ObjectMethod")this.raise(f.kind==="get"||f.kind==="set"?$.PatternHasAccessor:$.PatternHasMethod,f.key);else if(f.type==="SpreadElement"){f.type="RestElement";let J=f.argument;if(this.checkToRestConversion(J,!1),this.toAssignable(J,X),!G)this.raise($.RestTrailingComma,f)}else this.toAssignable(f,X)}toAssignableList(f,G,X){let J=f.length-1;for(let W=0;W<=J;W++){let R=f[W];if(!R)continue;if(this.toAssignableListItem(f,W,X),R.type==="RestElement"){if(W<J)this.raise($.RestTrailingComma,R);else if(G)this.raise($.RestTrailingComma,G)}}}toAssignableListItem(f,G,X){let J=f[G];if(J.type==="SpreadElement"){J.type="RestElement";let W=J.argument;this.checkToRestConversion(W,!0),this.toAssignable(W,X)}else this.toAssignable(J,X)}isAssignable(f,G){switch(f.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let X=f.properties.length-1;return f.properties.every((J,W)=>{return J.type!=="ObjectMethod"&&(W===X||J.type!=="SpreadElement")&&this.isAssignable(J)})}case"ObjectProperty":return this.isAssignable(f.value);case"SpreadElement":return this.isAssignable(f.argument);case"ArrayExpression":return f.elements.every((X)=>X===null||this.isAssignable(X));case"AssignmentExpression":return f.operator==="=";case"ParenthesizedExpression":return this.isAssignable(f.expression);case"MemberExpression":case"OptionalMemberExpression":return!G;default:return!1}}toReferencedList(f,G){return f}toReferencedListDeep(f,G){this.toReferencedList(f,G);for(let X of f)if((X==null?void 0:X.type)==="ArrayExpression")this.toReferencedListDeep(X.elements)}parseSpread(f){let G=this.startNode();return this.next(),G.argument=this.parseMaybeAssignAllowIn(f,void 0),this.finishNode(G,"SpreadElement")}parseRestBinding(){let f=this.startNode();return this.next(),f.argument=this.parseBindingAtom(),this.finishNode(f,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let f=this.startNode();return this.next(),f.elements=this.parseBindingList(3,93,1),this.finishNode(f,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(f,G,X){let J=X&1,W=[],R=!0;while(!this.eat(f)){if(R)R=!1;else this.expect(12);if(J&&this.match(12))W.push(null);else if(this.eat(f))break;else if(this.match(21)){let V=this.parseRestBinding();if(this.hasPlugin("flow")||X&2)V=this.parseFunctionParamType(V);if(W.push(V),!this.checkCommaAfterRest(G)){this.expect(f);break}}else{let V=[];if(X&2){if(this.match(26)&&this.hasPlugin("decorators"))this.raise($.UnsupportedParameterDecorator,this.state.startLoc);while(this.match(26))V.push(this.parseDecorator())}W.push(this.parseBindingElement(X,V))}}return W}parseBindingRestProperty(f){return this.next(),f.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(f,"RestElement")}parseBindingProperty(){let{type:f,startLoc:G}=this.state;if(f===21)return this.parseBindingRestProperty(this.startNode());let X=this.startNode();if(f===139)this.expectPlugin("destructuringPrivate",G),this.classScope.usePrivateName(this.state.value,G),X.key=this.parsePrivateName();else this.parsePropertyName(X);return X.method=!1,this.parseObjPropValue(X,G,!1,!1,!0,!1)}parseBindingElement(f,G){let X=this.parseMaybeDefault();if(this.hasPlugin("flow")||f&2)this.parseFunctionParamType(X);let J=this.parseMaybeDefault(X.loc.start,X);if(G.length)X.decorators=G;return J}parseFunctionParamType(f){return f}parseMaybeDefault(f,G){if(f!=null||(f=this.state.startLoc),G=G!=null?G:this.parseBindingAtom(),!this.eat(29))return G;let X=this.startNodeAt(f);return X.left=G,X.right=this.parseMaybeAssignAllowIn(),this.finishNode(X,"AssignmentPattern")}isValidLVal(f,G,X){switch(f){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(f){return f.type==="OptionalMemberExpression"}checkLVal(f,G,X=64,J=!1,W=!1,R=!1){var V;let H=f.type;if(this.isObjectMethod(f))return;let U=this.isOptionalMemberExpression(f);if(U||H==="MemberExpression"){if(U){if(this.expectPlugin("optionalChainingAssign",f.loc.start),G.type!=="AssignmentExpression")this.raise($.InvalidLhsOptionalChaining,f,{ancestor:G})}if(X!==64)this.raise($.InvalidPropertyBindingPattern,f);return}if(H==="Identifier"){this.checkIdentifier(f,X,W);let{name:O}=f;if(J)if(J.has(O))this.raise($.ParamDupe,f);else J.add(O);return}let Q=this.isValidLVal(H,!(R||(V=f.extra)!=null&&V.parenthesized)&&G.type==="AssignmentExpression",X);if(Q===!0)return;if(Q===!1){let O=X===64?$.InvalidLhs:$.InvalidLhsBinding;this.raise(O,f,{ancestor:G});return}let Y,S;if(typeof Q==="string")Y=Q,S=H==="ParenthesizedExpression";else[Y,S]=Q;let C=H==="ArrayPattern"||H==="ObjectPattern"?{type:H}:G,A=f[Y];if(Array.isArray(A)){for(let O of A)if(O)this.checkLVal(O,C,X,J,W,S)}else if(A)this.checkLVal(A,C,X,J,W,S)}checkIdentifier(f,G,X=!1){if(this.state.strict&&(X?v8(f.name,this.inModule):k8(f.name)))if(G===64)this.raise($.StrictEvalArguments,f,{referenceName:f.name});else this.raise($.StrictEvalArgumentsBinding,f,{bindingName:f.name});if(G&8192&&f.name==="let")this.raise($.LetInLexicalBinding,f);if(!(G&64))this.declareNameFromIdentifier(f,G)}declareNameFromIdentifier(f,G){this.scope.declareName(f.name,G,f.loc.start)}checkToRestConversion(f,G){switch(f.type){case"ParenthesizedExpression":this.checkToRestConversion(f.expression,G);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(G)break;default:this.raise($.InvalidRestAssignmentPattern,f)}}checkCommaAfterRest(f){if(!this.match(12))return!1;return this.raise(this.lookaheadCharCode()===f?$.RestTrailingComma:$.ElementAfterRest,this.state.startLoc),!0}}function S6f(f){if(f==null)throw new Error(`Unexpected ${f} value.`);return f}function j8(f){if(!f)throw new Error("Assert fail")}var i=NG`typescript`({AbstractMethodHasImplementation:({methodName:f})=>`Method '${f}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:f})=>`Property '${f}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:f})=>`'declare' is not allowed in ${f}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:f})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:f})=>`Duplicate modifier: '${f}'.`,EmptyHeritageClauseType:({token:f})=>`'${f}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:f})=>`'${f[0]}' modifier cannot be used with '${f[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:f})=>`Index signatures cannot have an accessibility modifier ('${f}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:f})=>`'${f}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnTypeMember:({modifier:f})=>`'${f}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:f})=>`'${f}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:f})=>`'${f}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:f})=>`'${f[0]}' modifier must precede '${f[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:f})=>`Private elements cannot have an accessibility modifier ('${f}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:f})=>`Single type parameter ${f} should have a trailing comma. Example usage: <${f},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:f})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${f}.`});function $6f(f){switch(f){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function O8(f){return f==="private"||f==="public"||f==="protected"}function q6f(f){return f==="in"||f==="out"}var C6f=(f)=>class G extends f{constructor(...X){super(...X);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:i.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:i.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:i.InvalidModifierOnTypeParameter})}getScopeHandler(){return n8}tsIsIdentifier(){return $f(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){if(this.next(),this.hasPrecedingLineBreak())return!1;return this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){if(this.match(106))return this.next(),this.tsTokenCanFollowModifier();return this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(X,J){if(!$f(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let W=this.state.value;if(X.includes(W)){if(J&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return W}return}tsParseModifiers({allowedModifiers:X,disallowedModifiers:J,stopOnStartOfClassStaticBlock:W,errorTemplate:R=i.InvalidModifierOnTypeMember},V){let H=(Q,Y,S,C)=>{if(Y===S&&V[C])this.raise(i.InvalidModifiersOrder,Q,{orderedModifiers:[S,C]})},U=(Q,Y,S,C)=>{if(V[S]&&Y===C||V[C]&&Y===S)this.raise(i.IncompatibleModifiers,Q,{modifiers:[S,C]})};for(;;){let{startLoc:Q}=this.state,Y=this.tsParseModifier(X.concat(J!=null?J:[]),W);if(!Y)break;if(O8(Y))if(V.accessibility)this.raise(i.DuplicateAccessibilityModifier,Q,{modifier:Y});else H(Q,Y,Y,"override"),H(Q,Y,Y,"static"),H(Q,Y,Y,"readonly"),V.accessibility=Y;else if(q6f(Y)){if(V[Y])this.raise(i.DuplicateModifier,Q,{modifier:Y});V[Y]=!0,H(Q,Y,"in","out")}else{if(hasOwnProperty.call(V,Y))this.raise(i.DuplicateModifier,Q,{modifier:Y});else H(Q,Y,"static","readonly"),H(Q,Y,"static","override"),H(Q,Y,"override","readonly"),H(Q,Y,"abstract","override"),U(Q,Y,"declare","override"),U(Q,Y,"static","abstract");V[Y]=!0}if(J!=null&&J.includes(Y))this.raise(R,Q,{modifier:Y})}}tsIsListTerminator(X){switch(X){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(X,J){let W=[];while(!this.tsIsListTerminator(X))W.push(J());return W}tsParseDelimitedList(X,J,W){return S6f(this.tsParseDelimitedListWorker(X,J,!0,W))}tsParseDelimitedListWorker(X,J,W,R){let V=[],H=-1;for(;;){if(this.tsIsListTerminator(X))break;H=-1;let U=J();if(U==null)return;if(V.push(U),this.eat(12)){H=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(X))break;if(W)this.expect(12);return}if(R)R.value=H;return V}tsParseBracketedList(X,J,W,R,V){if(!R)if(W)this.expect(0);else this.expect(47);let H=this.tsParseDelimitedList(X,J,V);if(W)this.expect(3);else this.expect(48);return H}tsParseImportType(){let X=this.startNode();if(this.expect(83),this.expect(10),!this.match(134))this.raise(i.UnsupportedImportTypeArgument,this.state.startLoc),X.argument=super.parseExprAtom();else X.argument=this.parseStringLiteral(this.state.value);if(this.eat(12)&&!this.match(11))X.options=super.parseMaybeAssignAllowIn(),this.eat(12);else X.options=null;if(this.expect(11),this.eat(16))X.qualifier=this.tsParseEntityName(3);if(this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSImportType")}tsParseEntityName(X){let J;if(X&1&&this.match(78))if(X&2)J=this.parseIdentifier(!0);else{let W=this.startNode();this.next(),J=this.finishNode(W,"ThisExpression")}else J=this.parseIdentifier(!!(X&1));while(this.eat(16)){let W=this.startNodeAtNode(J);W.left=J,W.right=this.parseIdentifier(!!(X&1)),J=this.finishNode(W,"TSQualifiedName")}return J}tsParseTypeReference(){let X=this.startNode();if(X.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeReference")}tsParseThisTypePredicate(X){this.next();let J=this.startNodeAtNode(X);return J.parameterName=X,J.typeAnnotation=this.tsParseTypeAnnotation(!1),J.asserts=!1,this.finishNode(J,"TSTypePredicate")}tsParseThisTypeNode(){let X=this.startNode();return this.next(),this.finishNode(X,"TSThisType")}tsParseTypeQuery(){let X=this.startNode();if(this.expect(87),this.match(83))X.exprName=this.tsParseImportType();else X.exprName=this.tsParseEntityName(3);if(!this.hasPrecedingLineBreak()&&this.match(47))X.typeParameters=this.tsParseTypeArguments();return this.finishNode(X,"TSTypeQuery")}tsParseTypeParameter(X){let J=this.startNode();return X(J),J.name=this.tsParseTypeParameterName(),J.constraint=this.tsEatThenParseType(81),J.default=this.tsEatThenParseType(29),this.finishNode(J,"TSTypeParameter")}tsTryParseTypeParameters(X){if(this.match(47))return this.tsParseTypeParameters(X)}tsParseTypeParameters(X){let J=this.startNode();if(this.match(47)||this.match(143))this.next();else this.unexpected();let W={value:-1};if(J.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,X),!1,!0,W),J.params.length===0)this.raise(i.EmptyTypeParameters,J);if(W.value!==-1)this.addExtra(J,"trailingComma",W.value);return this.finishNode(J,"TSTypeParameterDeclaration")}tsFillSignature(X,J){let W=X===19,R="parameters",V="typeAnnotation";if(J.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),J.parameters=this.tsParseBindingListForSignature(),W)J.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X);else if(this.match(X))J.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X)}tsParseBindingListForSignature(){let X=super.parseBindingList(11,41,2);for(let J of X){let{type:W}=J;if(W==="AssignmentPattern"||W==="TSParameterProperty")this.raise(i.UnsupportedSignatureParameterKind,J,{type:W})}return X}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator())this.expect(13)}tsParseSignatureMember(X,J){return this.tsFillSignature(14,J),this.tsParseTypeMemberSemicolon(),this.finishNode(J,X)}tsIsUnambiguouslyIndexSignature(){if(this.next(),$f(this.state.type))return this.next(),this.match(14);return!1}tsTryParseIndexSignature(X){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let J=this.parseIdentifier();J.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(J),this.expect(3),X.parameters=[J];let W=this.tsTryParseTypeAnnotation();if(W)X.typeAnnotation=W;return this.tsParseTypeMemberSemicolon(),this.finishNode(X,"TSIndexSignature")}tsParsePropertyOrMethodSignature(X,J){if(this.eat(17))X.optional=!0;let W=X;if(this.match(10)||this.match(47)){if(J)this.raise(i.ReadonlyForMethodSignature,X);let R=W;if(R.kind&&this.match(47))this.raise(i.AccessorCannotHaveTypeParameters,this.state.curPosition());this.tsFillSignature(14,R),this.tsParseTypeMemberSemicolon();let V="parameters",H="typeAnnotation";if(R.kind==="get"){if(R[V].length>0){if(this.raise($.BadGetterArity,this.state.curPosition()),this.isThisParam(R[V][0]))this.raise(i.AccessorCannotDeclareThisParameter,this.state.curPosition())}}else if(R.kind==="set"){if(R[V].length!==1)this.raise($.BadSetterArity,this.state.curPosition());else{let U=R[V][0];if(this.isThisParam(U))this.raise(i.AccessorCannotDeclareThisParameter,this.state.curPosition());if(U.type==="Identifier"&&U.optional)this.raise(i.SetAccessorCannotHaveOptionalParameter,this.state.curPosition());if(U.type==="RestElement")this.raise(i.SetAccessorCannotHaveRestParameter,this.state.curPosition())}if(R[H])this.raise(i.SetAccessorCannotHaveReturnType,R[H])}else R.kind="method";return this.finishNode(R,"TSMethodSignature")}else{let R=W;if(J)R.readonly=!0;let V=this.tsTryParseTypeAnnotation();if(V)R.typeAnnotation=V;return this.tsParseTypeMemberSemicolon(),this.finishNode(R,"TSPropertySignature")}}tsParseTypeMember(){let X=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",X);if(this.match(77)){let W=this.startNode();if(this.next(),this.match(10)||this.match(47))return this.tsParseSignatureMember("TSConstructSignatureDeclaration",X);else return X.key=this.createIdentifier(W,"new"),this.tsParsePropertyOrMethodSignature(X,!1)}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},X);let J=this.tsTryParseIndexSignature(X);if(J)return J;if(super.parsePropertyName(X),!X.computed&&X.key.type==="Identifier"&&(X.key.name==="get"||X.key.name==="set")&&this.tsTokenCanFollowModifier())X.kind=X.key.name,super.parsePropertyName(X);return this.tsParsePropertyOrMethodSignature(X,!!X.readonly)}tsParseTypeLiteral(){let X=this.startNode();return X.members=this.tsParseObjectTypeMembers(),this.finishNode(X,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let X=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),X}tsIsStartOfMappedType(){if(this.next(),this.eat(53))return this.isContextual(122);if(this.isContextual(122))this.next();if(!this.match(0))return!1;if(this.next(),!this.tsIsIdentifier())return!1;return this.next(),this.match(58)}tsParseMappedType(){let X=this.startNode();if(this.expect(5),this.match(53))X.readonly=this.state.value,this.next(),this.expectContextual(122);else if(this.eatContextual(122))X.readonly=!0;this.expect(0);{let J=this.startNode();J.name=this.tsParseTypeParameterName(),J.constraint=this.tsExpectThenParseType(58),X.typeParameter=this.finishNode(J,"TSTypeParameter")}if(X.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53))X.optional=this.state.value,this.next(),this.expect(17);else if(this.eat(17))X.optional=!0;return X.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(X,"TSMappedType")}tsParseTupleType(){let X=this.startNode();X.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let J=!1;return X.elementTypes.forEach((W)=>{let{type:R}=W;if(J&&R!=="TSRestType"&&R!=="TSOptionalType"&&!(R==="TSNamedTupleMember"&&W.optional))this.raise(i.OptionalTypeBeforeRequired,W);J||(J=R==="TSNamedTupleMember"&&W.optional||R==="TSOptionalType")}),this.finishNode(X,"TSTupleType")}tsParseTupleElementType(){let X=this.state.startLoc,J=this.eat(21),{startLoc:W}=this.state,R,V,H,U,Y=UG(this.state.type)?this.lookaheadCharCode():null;if(Y===58)R=!0,H=!1,V=this.parseIdentifier(!0),this.expect(14),U=this.tsParseType();else if(Y===63){H=!0;let S=this.state.value,C=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58)R=!0,V=this.createIdentifier(this.startNodeAt(W),S),this.expect(17),this.expect(14),U=this.tsParseType();else R=!1,U=C,this.expect(17)}else U=this.tsParseType(),H=this.eat(17),R=this.eat(14);if(R){let S;if(V){if(S=this.startNodeAt(W),S.optional=H,S.label=V,S.elementType=U,this.eat(17))S.optional=!0,this.raise(i.TupleOptionalAfterType,this.state.lastTokStartLoc)}else S=this.startNodeAt(W),S.optional=H,this.raise(i.InvalidTupleMemberLabel,U),S.label=U,S.elementType=this.tsParseType();U=this.finishNode(S,"TSNamedTupleMember")}else if(H){let S=this.startNodeAt(W);S.typeAnnotation=U,U=this.finishNode(S,"TSOptionalType")}if(J){let S=this.startNodeAt(X);S.typeAnnotation=U,U=this.finishNode(S,"TSRestType")}return U}tsParseParenthesizedType(){let X=this.startNode();return this.expect(10),X.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(X,"TSParenthesizedType")}tsParseFunctionOrConstructorType(X,J){let W=this.startNode();if(X==="TSConstructorType"){if(W.abstract=!!J,J)this.next();this.next()}return this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,W)),this.finishNode(W,X)}tsParseLiteralTypeNode(){let X=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:X.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(X,"TSLiteralType")}tsParseTemplateLiteralType(){{let X=this.startNode();return X.literal=super.parseTemplate(!1),this.finishNode(X,"TSLiteralType")}}parseTemplateSubstitution(){if(this.state.inType)return this.tsParseType();return super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let X=this.tsParseThisTypeNode();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.tsParseThisTypePredicate(X);else return X}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let X=this.startNode(),J=this.lookahead();if(J.type!==135&&J.type!==136)this.unexpected();return X.literal=this.parseMaybeUnary(),this.finishNode(X,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:X}=this.state;if($f(X)||X===88||X===84){let J=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":$6f(this.state.value);if(J!==void 0&&this.lookaheadCharCode()!==46){let W=this.startNode();return this.next(),this.finishNode(W,J)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:X}=this.state,J=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0))if(this.match(3)){let W=this.startNodeAt(X);W.elementType=J,this.expect(3),J=this.finishNode(W,"TSArrayType")}else{let W=this.startNodeAt(X);W.objectType=J,W.indexType=this.tsParseType(),this.expect(3),J=this.finishNode(W,"TSIndexedAccessType")}return J}tsParseTypeOperator(){let X=this.startNode(),J=this.state.value;if(this.next(),X.operator=J,X.typeAnnotation=this.tsParseTypeOperatorOrHigher(),J==="readonly")this.tsCheckTypeAnnotationForReadOnly(X);return this.finishNode(X,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(X){switch(X.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(i.UnexpectedReadonly,X)}}tsParseInferType(){let X=this.startNode();this.expectContextual(115);let J=this.startNode();return J.name=this.tsParseTypeParameterName(),J.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),X.typeParameter=this.finishNode(J,"TSTypeParameter"),this.finishNode(X,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let X=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return X}}tsParseTypeOperatorOrHigher(){return hWf(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(X,J,W){let R=this.startNode(),V=this.eat(W),H=[];do H.push(J());while(this.eat(W));if(H.length===1&&!V)return H[0];return R.types=H,this.finishNode(R,X)}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){if(this.match(47))return!0;return this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if($f(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:X}=this.state,J=X.length;try{return this.parseObjectLike(8,!0),X.length===J}catch(W){return!1}}if(this.match(0)){this.next();let{errors:X}=this.state,J=X.length;try{return super.parseBindingList(3,93,1),X.length===J}catch(W){return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)){if(this.next(),this.match(19))return!0}}return!1}tsParseTypeOrTypePredicateAnnotation(X){return this.tsInType(()=>{let J=this.startNode();this.expect(X);let W=this.startNode(),R=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(R&&this.match(78)){let U=this.tsParseThisTypeOrThisTypePredicate();if(U.type==="TSThisType")W.parameterName=U,W.asserts=!0,W.typeAnnotation=null,U=this.finishNode(W,"TSTypePredicate");else this.resetStartLocationFromNode(U,W),U.asserts=!0;return J.typeAnnotation=U,this.finishNode(J,"TSTypeAnnotation")}let V=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!V){if(!R)return this.tsParseTypeAnnotation(!1,J);return W.parameterName=this.parseIdentifier(),W.asserts=R,W.typeAnnotation=null,J.typeAnnotation=this.finishNode(W,"TSTypePredicate"),this.finishNode(J,"TSTypeAnnotation")}let H=this.tsParseTypeAnnotation(!1);return W.parameterName=V,W.typeAnnotation=H,W.asserts=R,J.typeAnnotation=this.finishNode(W,"TSTypePredicate"),this.finishNode(J,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let X=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),X}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let X=this.state.containsEsc;if(this.next(),!$f(this.state.type)&&!this.match(78))return!1;if(X)this.raise($.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"});return!0}tsParseTypeAnnotation(X=!0,J=this.startNode()){return this.tsInType(()=>{if(X)this.expect(14);J.typeAnnotation=this.tsParseType()}),this.finishNode(J,"TSTypeAnnotation")}tsParseType(){j8(this.state.inType);let X=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return X;let J=this.startNodeAtNode(X);return J.checkType=X,J.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),J.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),J.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(J,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.lookahead().type===77}tsParseNonConditionalType(){if(this.tsIsStartOfFunctionType())return this.tsParseFunctionOrConstructorType("TSFunctionType");if(this.match(77))return this.tsParseFunctionOrConstructorType("TSConstructorType");else if(this.isAbstractConstructorSignature())return this.tsParseFunctionOrConstructorType("TSConstructorType",!0);return this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){if(this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(i.ReservedTypeAssertion,this.state.startLoc);let X=this.startNode();return X.typeAnnotation=this.tsInType(()=>{return this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()}),this.expect(48),X.expression=this.parseMaybeUnary(),this.finishNode(X,"TSTypeAssertion")}tsParseHeritageClause(X){let J=this.state.startLoc,W=this.tsParseDelimitedList("HeritageClauseElement",()=>{{let R=this.startNode();if(R.expression=this.tsParseEntityName(3),this.match(47))R.typeParameters=this.tsParseTypeArguments();return this.finishNode(R,"TSExpressionWithTypeArguments")}});if(!W.length)this.raise(i.EmptyHeritageClauseType,J,{token:X});return W}tsParseInterfaceDeclaration(X,J={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual(129),J.declare)X.declare=!0;if($f(this.state.type))X.id=this.parseIdentifier(),this.checkIdentifier(X.id,130);else X.id=null,this.raise(i.MissingInterfaceName,this.state.startLoc);if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81))X.extends=this.tsParseHeritageClause("extends");let W=this.startNode();return W.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),X.body=this.finishNode(W,"TSInterfaceBody"),this.finishNode(X,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(X){return X.id=this.parseIdentifier(),this.checkIdentifier(X.id,2),X.typeAnnotation=this.tsInType(()=>{if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let J=this.startNode();return this.next(),this.finishNode(J,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(X,"TSTypeAliasDeclaration")}tsInTopLevelContext(X){if(this.curContext()!==Sf.brace){let J=this.state.context;this.state.context=[J[0]];try{return X()}finally{this.state.context=J}}else return X()}tsInType(X){let J=this.state.inType;this.state.inType=!0;try{return X()}finally{this.state.inType=J}}tsInDisallowConditionalTypesContext(X){let J=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return X()}finally{this.state.inDisallowConditionalTypesContext=J}}tsInAllowConditionalTypesContext(X){let J=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return X()}finally{this.state.inDisallowConditionalTypesContext=J}}tsEatThenParseType(X){if(this.match(X))return this.tsNextThenParseType()}tsExpectThenParseType(X){return this.tsInType(()=>{return this.expect(X),this.tsParseType()})}tsNextThenParseType(){return this.tsInType(()=>{return this.next(),this.tsParseType()})}tsParseEnumMember(){let X=this.startNode();if(X.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29))X.initializer=super.parseMaybeAssignAllowIn();return this.finishNode(X,"TSEnumMember")}tsParseEnumDeclaration(X,J={}){if(J.const)X.const=!0;if(J.declare)X.declare=!0;return this.expectContextual(126),X.id=this.parseIdentifier(),this.checkIdentifier(X.id,X.const?8971:8459),this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumDeclaration")}tsParseEnumBody(){let X=this.startNode();return this.expect(5),X.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(X,"TSEnumBody")}tsParseModuleBlock(){let X=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(X.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(X,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(X,J=!1){if(X.id=this.parseIdentifier(),!J)this.checkIdentifier(X.id,1024);if(this.eat(16)){let W=this.startNode();this.tsParseModuleOrNamespaceDeclaration(W,!0),X.body=W}else this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(X,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(X){if(this.isContextual(112))X.kind="global",X.global=!0,X.id=this.parseIdentifier();else if(this.match(134))X.kind="module",X.id=super.parseStringLiteral(this.state.value);else this.unexpected();if(this.match(5))this.scope.enter(256),this.prodParam.enter(0),X.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();else this.semicolon();return this.finishNode(X,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(X,J,W){X.isExport=W||!1,X.id=J||this.parseIdentifier(),this.checkIdentifier(X.id,4096),this.expect(29);let R=this.tsParseModuleReference();if(X.importKind==="type"&&R.type!=="TSExternalModuleReference")this.raise(i.ImportAliasHasImportType,R);return X.moduleReference=R,this.semicolon(),this.finishNode(X,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let X=this.startNode();if(this.expectContextual(119),this.expect(10),!this.match(134))this.unexpected();return X.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(X,"TSExternalModuleReference")}tsLookAhead(X){let J=this.state.clone(),W=X();return this.state=J,W}tsTryParseAndCatch(X){let J=this.tryParse((W)=>X()||W());if(J.aborted||!J.node)return;if(J.error)this.state=J.failState;return J.node}tsTryParse(X){let J=this.state.clone(),W=X();if(W!==void 0&&W!==!1)return W;this.state=J}tsTryParseDeclare(X){if(this.isLineTerminator())return;let J=this.state.type,W;if(this.isContextual(100))J=74,W="let";return this.tsInAmbientContext(()=>{switch(J){case 68:return X.declare=!0,super.parseFunctionStatement(X,!1,!1);case 80:return X.declare=!0,this.parseClass(X,!0,!1);case 126:return this.tsParseEnumDeclaration(X,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(X);case 75:case 74:if(!this.match(75)||!this.isLookaheadContextual("enum"))return X.declare=!0,this.parseVarStatement(X,W||this.state.value,!0);return this.expect(75),this.tsParseEnumDeclaration(X,{const:!0,declare:!0});case 129:{let R=this.tsParseInterfaceDeclaration(X,{declare:!0});if(R)return R}default:if($f(J))return this.tsParseDeclaration(X,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(X,J,W){switch(J.name){case"declare":{let R=this.tsTryParseDeclare(X);if(R)R.declare=!0;return R}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let R=X;return R.kind="global",X.global=!0,R.id=J,R.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(R,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(X,J.name,!1,W)}}tsParseDeclaration(X,J,W,R){switch(J){case"abstract":if(this.tsCheckLineTerminator(W)&&(this.match(80)||$f(this.state.type)))return this.tsParseAbstractDeclaration(X,R);break;case"module":if(this.tsCheckLineTerminator(W)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(X);else if($f(this.state.type))return X.kind="module",this.tsParseModuleOrNamespaceDeclaration(X)}break;case"namespace":if(this.tsCheckLineTerminator(W)&&$f(this.state.type))return X.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(X);break;case"type":if(this.tsCheckLineTerminator(W)&&$f(this.state.type))return this.tsParseTypeAliasDeclaration(X);break}}tsCheckLineTerminator(X){if(X){if(this.hasFollowingLineBreak())return!1;return this.next(),!0}return!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(X){if(!this.match(47))return;let J=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let W=this.tsTryParseAndCatch(()=>{let R=this.startNodeAt(X);return R.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(R),R.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),R});if(this.state.maybeInArrowParameters=J,!W)return;return super.parseArrowExpression(W,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()!==47)return;return this.tsParseTypeArguments()}tsParseTypeArguments(){let X=this.startNode();if(X.params=this.tsInType(()=>this.tsInTopLevelContext(()=>{return this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))})),X.params.length===0)this.raise(i.EmptyTypeArguments,X);else if(!this.state.inType&&this.curContext()===Sf.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return yWf(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;return super.isExportDefaultSpecifier()}parseBindingElement(X,J){let W=this.state.startLoc,R={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},R);let{accessibility:V,override:H,readonly:U}=R;if(!(X&4)&&(V||U||H))this.raise(i.UnexpectedParameterModifier,W);let Q=this.parseMaybeDefault();if(X&2)this.parseFunctionParamType(Q);let Y=this.parseMaybeDefault(Q.loc.start,Q);if(V||U||H){let S=this.startNodeAt(W);if(J.length)S.decorators=J;if(V)S.accessibility=V;if(U)S.readonly=U;if(H)S.override=H;if(Y.type!=="Identifier"&&Y.type!=="AssignmentPattern")this.raise(i.UnsupportedParameterPropertyKind,S);return S.parameter=Y,this.finishNode(S,"TSParameterProperty")}if(J.length)Q.decorators=J;return Y}isSimpleParameter(X){return X.type==="TSParameterProperty"&&super.isSimpleParameter(X.parameter)||super.isSimpleParameter(X)}tsDisallowOptionalPattern(X){for(let J of X.params)if(J.type!=="Identifier"&&J.optional&&!this.state.isAmbientContext)this.raise(i.PatternIsOptional,J)}setArrowFunctionParameters(X,J,W){super.setArrowFunctionParameters(X,J,W),this.tsDisallowOptionalPattern(X)}parseFunctionBodyAndFinish(X,J,W=!1){if(this.match(14))X.returnType=this.tsParseTypeOrTypePredicateAnnotation(14);let R=J==="FunctionDeclaration"?"TSDeclareFunction":J==="ClassMethod"||J==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(R&&!this.match(5)&&this.isLineTerminator())return this.finishNode(X,R);if(R==="TSDeclareFunction"&&this.state.isAmbientContext){if(this.raise(i.DeclareFunctionHasImplementation,X),X.declare)return super.parseFunctionBodyAndFinish(X,R,W)}return this.tsDisallowOptionalPattern(X),super.parseFunctionBodyAndFinish(X,J,W)}registerFunctionStatementId(X){if(!X.body&&X.id)this.checkIdentifier(X.id,1024);else super.registerFunctionStatementId(X)}tsCheckForInvalidTypeCasts(X){X.forEach((J)=>{if((J==null?void 0:J.type)==="TSTypeCastExpression")this.raise(i.UnexpectedTypeAnnotation,J.typeAnnotation)})}toReferencedList(X,J){return this.tsCheckForInvalidTypeCasts(X),X}parseArrayLike(X,J,W,R){let V=super.parseArrayLike(X,J,W,R);if(V.type==="ArrayExpression")this.tsCheckForInvalidTypeCasts(V.elements);return V}parseSubscript(X,J,W,R){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let H=this.startNodeAt(J);return H.expression=X,this.finishNode(H,"TSNonNullExpression")}let V=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(W)return R.stop=!0,X;R.optionalChainMember=V=!0,this.next()}if(this.match(47)||this.match(51)){let H,U=this.tsTryParseAndCatch(()=>{if(!W&&this.atPossibleAsyncArrow(X)){let C=this.tsTryParseGenericAsyncArrowFunction(J);if(C)return C}let Q=this.tsParseTypeArgumentsInExpression();if(!Q)return;if(V&&!this.match(10)){H=this.state.curPosition();return}if(V2(this.state.type)){let C=super.parseTaggedTemplateExpression(X,J,R);return C.typeParameters=Q,C}if(!W&&this.eat(10)){let C=this.startNodeAt(J);if(C.callee=X,C.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(C.arguments),C.typeParameters=Q,R.optionalChainMember)C.optional=V;return this.finishCallExpression(C,R.optionalChainMember)}let Y=this.state.type;if(Y===48||Y===52||Y!==10&&AW(Y)&&!this.hasPrecedingLineBreak())return;let S=this.startNodeAt(J);return S.expression=X,S.typeParameters=Q,this.finishNode(S,"TSInstantiationExpression")});if(H)this.unexpected(H,10);if(U){if(U.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40))this.raise(i.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc);return U}}return super.parseSubscript(X,J,W,R)}parseNewCallee(X){var J;super.parseNewCallee(X);let{callee:W}=X;if(W.type==="TSInstantiationExpression"&&!((J=W.extra)!=null&&J.parenthesized))X.typeParameters=W.typeParameters,X.callee=W.expression}parseExprOp(X,J,W){let R;if(W2(58)>W&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(R=this.isContextual(120)))){let V=this.startNodeAt(J);return V.expression=X,V.typeAnnotation=this.tsInType(()=>{if(this.next(),this.match(75)){if(R)this.raise($.UnexpectedKeyword,this.state.startLoc,{keyword:"const"});return this.tsParseTypeReference()}return this.tsParseType()}),this.finishNode(V,R?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(V,J,W)}return super.parseExprOp(X,J,W)}checkReservedWord(X,J,W,R){if(!this.state.isAmbientContext)super.checkReservedWord(X,J,W,R)}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(i.ImportReflectionHasImportType,X.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){let J=this.lookaheadCharCode();return X?J===123||J===42:J!==61}return!X&&this.isContextual(87)}applyImportPhase(X,J,W,R){if(super.applyImportPhase(X,J,W,R),J)X.exportKind=W==="type"?"type":"value";else X.importKind=W==="type"||W==="typeof"?W:"value"}parseImport(X){if(this.match(134))return X.importKind="value",super.parseImport(X);let J;if($f(this.state.type)&&this.lookaheadCharCode()===61)return X.importKind="value",this.tsParseImportEqualsDeclaration(X);else if(this.isContextual(130)){let W=this.parseMaybeImportPhase(X,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(X,W);else J=super.parseImportSpecifiersAndAfter(X,W)}else J=super.parseImport(X);if(J.importKind==="type"&&J.specifiers.length>1&&J.specifiers[0].type==="ImportDefaultSpecifier")this.raise(i.TypeImportCannotSpecifyDefaultAndNamed,J);return J}parseExport(X,J){if(this.match(83)){let W=X;this.next();let R=null;if(this.isContextual(130)&&this.isPotentialImportPhase(!1))R=this.parseMaybeImportPhase(W,!1);else W.importKind="value";return this.tsParseImportEqualsDeclaration(W,R,!0)}else if(this.eat(29)){let W=X;return W.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(W,"TSExportAssignment")}else if(this.eatContextual(93)){let W=X;return this.expectContextual(128),W.id=this.parseIdentifier(),this.semicolon(),this.finishNode(W,"TSNamespaceExportDeclaration")}else return super.parseExport(X,J)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let X=this.startNode();return this.next(),X.abstract=!0,this.parseClass(X,!0,!0)}if(this.match(129)){let X=this.tsParseInterfaceDeclaration(this.startNode());if(X)return X}return super.parseExportDefaultExpression()}parseVarStatement(X,J,W=!1){let{isAmbientContext:R}=this.state,V=super.parseVarStatement(X,J,W||R);if(!R)return V;for(let{id:H,init:U}of V.declarations){if(!U)continue;if(J!=="const"||!!H.typeAnnotation)this.raise(i.InitializerNotAllowedInAmbientContext,U);else if(!j6f(U,this.hasPlugin("estree")))this.raise(i.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,U)}return V}parseStatementContent(X,J){if(this.match(75)&&this.isLookaheadContextual("enum")){let W=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(W,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let W=this.tsParseInterfaceDeclaration(this.startNode());if(W)return W}return super.parseStatementContent(X,J)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(X,J){return J.some((W)=>{if(O8(W))return X.accessibility===W;return!!X[W]})}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(X,J,W){let R=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:R,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:i.InvalidModifierOnTypeParameterPositions},J);let V=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(J,R))this.raise(i.StaticBlockCannotHaveModifier,this.state.curPosition());super.parseClassStaticBlock(X,J)}else this.parseClassMemberWithIsStatic(X,J,W,!!J.static)};if(J.declare)this.tsInAmbientContext(V);else V()}parseClassMemberWithIsStatic(X,J,W,R){let V=this.tsTryParseIndexSignature(J);if(V){if(X.body.push(V),J.abstract)this.raise(i.IndexSignatureHasAbstract,J);if(J.accessibility)this.raise(i.IndexSignatureHasAccessibility,J,{modifier:J.accessibility});if(J.declare)this.raise(i.IndexSignatureHasDeclare,J);if(J.override)this.raise(i.IndexSignatureHasOverride,J);return}if(!this.state.inAbstractClass&&J.abstract)this.raise(i.NonAbstractClassHasAbstractMethod,J);if(J.override){if(!W.hadSuperClass)this.raise(i.OverrideNotInSubClass,J)}super.parseClassMemberWithIsStatic(X,J,W,R)}parsePostMemberNameModifiers(X){if(this.eat(17))X.optional=!0;if(X.readonly&&this.match(10))this.raise(i.ClassMethodHasReadonly,X);if(X.declare&&this.match(10))this.raise(i.ClassMethodHasDeclare,X)}parseExpressionStatement(X,J,W){return(J.type==="Identifier"?this.tsParseExpressionStatement(X,J,W):void 0)||super.parseExpressionStatement(X,J,W)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return!0;return super.shouldParseExportDeclaration()}parseConditional(X,J,W){if(!this.match(17))return X;if(this.state.maybeInArrowParameters){let R=this.lookaheadCharCode();if(R===44||R===61||R===58||R===41)return this.setOptionalParametersError(W),X}return super.parseConditional(X,J,W)}parseParenItem(X,J){let W=super.parseParenItem(X,J);if(this.eat(17))W.optional=!0,this.resetEndLocation(X);if(this.match(14)){let R=this.startNodeAt(J);return R.expression=X,R.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(R,"TSTypeCastExpression")}return X}parseExportDeclaration(X){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(X));let J=this.state.startLoc,W=this.eatContextual(125);if(W&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(i.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let V=$f(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(X);if(!V)return null;if(V.type==="TSInterfaceDeclaration"||V.type==="TSTypeAliasDeclaration"||W)X.exportKind="type";if(W&&V.type!=="TSImportEqualsDeclaration")this.resetStartLocation(V,J),V.declare=!0;return V}parseClassId(X,J,W,R){if((!J||W)&&this.isContextual(113))return;super.parseClassId(X,J,W,X.declare?1024:8331);let V=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(V)X.typeParameters=V}parseClassPropertyAnnotation(X){if(!X.optional){if(this.eat(35))X.definite=!0;else if(this.eat(17))X.optional=!0}let J=this.tsTryParseTypeAnnotation();if(J)X.typeAnnotation=J}parseClassProperty(X){if(this.parseClassPropertyAnnotation(X),this.state.isAmbientContext&&!(X.readonly&&!X.typeAnnotation)&&this.match(29))this.raise(i.DeclareClassFieldHasInitializer,this.state.startLoc);if(X.abstract&&this.match(29)){let{key:J}=X;this.raise(i.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:J.type==="Identifier"&&!X.computed?J.name:`[${this.input.slice(this.offsetToSourcePos(J.start),this.offsetToSourcePos(J.end))}]`})}return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(X.abstract)this.raise(i.PrivateElementHasAbstract,X);if(X.accessibility)this.raise(i.PrivateElementHasAccessibility,X,{modifier:X.accessibility});return this.parseClassPropertyAnnotation(X),super.parseClassPrivateProperty(X)}parseClassAccessorProperty(X){if(this.parseClassPropertyAnnotation(X),X.optional)this.raise(i.AccessorCannotBeOptional,X);return super.parseClassAccessorProperty(X)}pushClassMethod(X,J,W,R,V,H){let U=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(U&&V)this.raise(i.ConstructorHasTypeParameters,U);let{declare:Q=!1,kind:Y}=J;if(Q&&(Y==="get"||Y==="set"))this.raise(i.DeclareAccessor,J,{kind:Y});if(U)J.typeParameters=U;super.pushClassMethod(X,J,W,R,V,H)}pushClassPrivateMethod(X,J,W,R){let V=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(V)J.typeParameters=V;super.pushClassPrivateMethod(X,J,W,R)}declareClassPrivateMethodInScope(X,J){if(X.type==="TSDeclareMethod")return;if(X.type==="MethodDefinition"&&!hasOwnProperty.call(X.value,"body"))return;super.declareClassPrivateMethodInScope(X,J)}parseClassSuper(X){if(super.parseClassSuper(X),X.superClass&&(this.match(47)||this.match(51)))X.superTypeParameters=this.tsParseTypeArgumentsInExpression();if(this.eatContextual(113))X.implements=this.tsParseHeritageClause("implements")}parseObjPropValue(X,J,W,R,V,H,U){let Q=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Q)X.typeParameters=Q;return super.parseObjPropValue(X,J,W,R,V,H,U)}parseFunctionParams(X,J){let W=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(W)X.typeParameters=W;super.parseFunctionParams(X,J)}parseVarId(X,J){if(super.parseVarId(X,J),X.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35))X.definite=!0;let W=this.tsTryParseTypeAnnotation();if(W)X.id.typeAnnotation=W,this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,J){if(this.match(14))X.returnType=this.tsParseTypeAnnotation();return super.parseAsyncArrowFromCallExpression(X,J)}parseMaybeAssign(X,J){var W,R,V,H,U;let Q,Y,S;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(Q=this.state.clone(),Y=this.tryParse(()=>super.parseMaybeAssign(X,J),Q),!Y.error)return Y.node;let{context:O}=this.state,b=O[O.length-1];if(b===Sf.j_oTag||b===Sf.j_expr)O.pop()}if(!((W=Y)!=null&&W.error)&&!this.match(47))return super.parseMaybeAssign(X,J);if(!Q||Q===this.state)Q=this.state.clone();let C,A=this.tryParse((O)=>{var b,P;C=this.tsParseTypeParameters(this.tsParseConstModifier);let L=super.parseMaybeAssign(X,J);if(L.type!=="ArrowFunctionExpression"||(b=L.extra)!=null&&b.parenthesized)O();if(((P=C)==null?void 0:P.params.length)!==0)this.resetStartLocationFromNode(L,C);return L.typeParameters=C,L},Q);if(!A.error&&!A.aborted){if(C)this.reportReservedArrowTypeParam(C);return A.node}if(!Y){if(j8(!this.hasPlugin("jsx")),S=this.tryParse(()=>super.parseMaybeAssign(X,J),Q),!S.error)return S.node}if((R=Y)!=null&&R.node)return this.state=Y.failState,Y.node;if(A.node){if(this.state=A.failState,C)this.reportReservedArrowTypeParam(C);return A.node}if((V=S)!=null&&V.node)return this.state=S.failState,S.node;throw((H=Y)==null?void 0:H.error)||A.error||((U=S)==null?void 0:U.error)}reportReservedArrowTypeParam(X){var J;if(X.params.length===1&&!X.params[0].constraint&&!((J=X.extra)!=null&&J.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(i.ReservedArrowTypeParam,X)}parseMaybeUnary(X,J){if(!this.hasPlugin("jsx")&&this.match(47))return this.tsParseTypeAssertion();return super.parseMaybeUnary(X,J)}parseArrow(X){if(this.match(14)){let J=this.tryParse((W)=>{let R=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))W();return R});if(J.aborted)return;if(!J.thrown){if(J.error)this.state=J.failState;X.returnType=J.node}}return super.parseArrow(X)}parseFunctionParamType(X){if(this.eat(17))X.optional=!0;let J=this.tsTryParseTypeAnnotation();if(J)X.typeAnnotation=J;return this.resetEndLocation(X),X}isAssignable(X,J){switch(X.type){case"TSTypeCastExpression":return this.isAssignable(X.expression,J);case"TSParameterProperty":return!0;default:return super.isAssignable(X,J)}}toAssignable(X,J=!1){switch(X.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(X,J);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(J)this.expressionScope.recordArrowParameterBindingError(i.UnexpectedTypeCastInParameter,X);else this.raise(i.UnexpectedTypeCastInParameter,X);this.toAssignable(X.expression,J);break;case"AssignmentExpression":if(!J&&X.left.type==="TSTypeCastExpression")X.left=this.typeCastToParameter(X.left);default:super.toAssignable(X,J)}}toAssignableParenthesizedExpression(X,J){switch(X.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(X.expression,J);break;default:super.toAssignable(X,J)}}checkToRestConversion(X,J){switch(X.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(X.expression,!1);break;default:super.checkToRestConversion(X,J)}}isValidLVal(X,J,W){switch(X){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(W!==64||!J)&&["expression",!0];default:return super.isValidLVal(X,J,W)}}parseBindingAtom(){if(this.state.type===78)return this.parseIdentifier(!0);return super.parseBindingAtom()}parseMaybeDecoratorArguments(X,J){if(this.match(47)||this.match(51)){let W=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let R=super.parseMaybeDecoratorArguments(X,J);return R.typeParameters=W,R}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(X,J)}checkCommaAfterRest(X){if(this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===X)return this.next(),!1;return super.checkCommaAfterRest(X)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(X,J){let W=super.parseMaybeDefault(X,J);if(W.type==="AssignmentPattern"&&W.typeAnnotation&&W.right.start<W.typeAnnotation.start)this.raise(i.TypeAnnotationAfterAssign,W.typeAnnotation);return W}getTokenFromCode(X){if(this.state.inType){if(X===62){this.finishOp(48,1);return}if(X===60){this.finishOp(47,1);return}}super.getTokenFromCode(X)}reScan_lt_gt(){let{type:X}=this.state;if(X===47)this.state.pos-=1,this.readToken_lt();else if(X===48)this.state.pos-=1,this.readToken_gt()}reScan_lt(){let{type:X}=this.state;if(X===51)return this.state.pos-=2,this.finishOp(47,1),47;return X}toAssignableListItem(X,J,W){let R=X[J];if(R.type==="TSTypeCastExpression")X[J]=this.typeCastToParameter(R);super.toAssignableListItem(X,J,W)}typeCastToParameter(X){return X.expression.typeAnnotation=X.typeAnnotation,this.resetEndLocation(X.expression,X.typeAnnotation.loc.end),X.expression}shouldParseArrow(X){if(this.match(14))return X.every((J)=>this.isAssignable(J,!0));return super.shouldParseArrow(X)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(X){if(this.match(47)||this.match(51)){let J=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());if(J)X.typeParameters=J}return super.jsxParseOpeningElementAfterName(X)}getGetterSetterExpectedParamCount(X){let J=super.getGetterSetterExpectedParamCount(X),R=this.getObjectOrClassMethodParams(X)[0];return R&&this.isThisParam(R)?J+1:J}parseCatchClauseParam(){let X=super.parseCatchClauseParam(),J=this.tsTryParseTypeAnnotation();if(J)X.typeAnnotation=J,this.resetEndLocation(X);return X}tsInAmbientContext(X){let{isAmbientContext:J,strict:W}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return X()}finally{this.state.isAmbientContext=J,this.state.strict=W}}parseClass(X,J,W){let R=this.state.inAbstractClass;this.state.inAbstractClass=!!X.abstract;try{return super.parseClass(X,J,W)}finally{this.state.inAbstractClass=R}}tsParseAbstractDeclaration(X,J){if(this.match(80))return X.abstract=!0,this.maybeTakeDecorators(J,this.parseClass(X,!0,!1));else if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return X.abstract=!0,this.raise(i.NonClassMethodPropertyHasAbstractModifer,X),this.tsParseInterfaceDeclaration(X)}else this.unexpected(null,80)}parseMethod(X,J,W,R,V,H,U){let Q=super.parseMethod(X,J,W,R,V,H,U);if(Q.abstract){if((this.hasPlugin("estree")?Q.value:Q).body){let{key:C}=Q;this.raise(i.AbstractMethodHasImplementation,Q,{methodName:C.type==="Identifier"&&!Q.computed?C.name:`[${this.input.slice(this.offsetToSourcePos(C.start),this.offsetToSourcePos(C.end))}]`})}}return Q}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.parse()}getExpression(){if(this.shouldParseAsAmbientContext())this.state.isAmbientContext=!0;return super.getExpression()}parseExportSpecifier(X,J,W,R){if(!J&&R)return this.parseTypeOnlyImportExportSpecifier(X,!1,W),this.finishNode(X,"ExportSpecifier");return X.exportKind="value",super.parseExportSpecifier(X,J,W,R)}parseImportSpecifier(X,J,W,R,V){if(!J&&R)return this.parseTypeOnlyImportExportSpecifier(X,!0,W),this.finishNode(X,"ImportSpecifier");return X.importKind="value",super.parseImportSpecifier(X,J,W,R,W?4098:4096)}parseTypeOnlyImportExportSpecifier(X,J,W){let R=J?"imported":"local",V=J?"local":"exported",H=X[R],U,Q=!1,Y=!0,S=H.loc.start;if(this.isContextual(93)){let A=this.parseIdentifier();if(this.isContextual(93)){let O=this.parseIdentifier();if(UG(this.state.type))Q=!0,H=A,U=J?this.parseIdentifier():this.parseModuleExportName(),Y=!1;else U=O,Y=!1}else if(UG(this.state.type))Y=!1,U=J?this.parseIdentifier():this.parseModuleExportName();else Q=!0,H=A}else if(UG(this.state.type))if(Q=!0,J){if(H=this.parseIdentifier(!0),!this.isContextual(93))this.checkReservedWord(H.name,H.loc.start,!0,!0)}else H=this.parseModuleExportName();if(Q&&W)this.raise(J?i.TypeModifierIsUsedInTypeImports:i.TypeModifierIsUsedInTypeExports,S);X[R]=H,X[V]=U;let C=J?"importKind":"exportKind";if(X[C]=Q?"type":"value",Y&&this.eatContextual(93))X[V]=J?this.parseIdentifier():this.parseModuleExportName();if(!X[V])X[V]=LG(X[R]);if(J)this.checkIdentifier(X[V],Q?4098:4096)}};function A6f(f){if(f.type!=="MemberExpression")return!1;let{computed:G,property:X}=f;if(G&&X.type!=="StringLiteral"&&(X.type!=="TemplateLiteral"||X.expressions.length>0))return!1;return G4(f.object)}function j6f(f,G){var X;let{type:J}=f;if((X=f.extra)!=null&&X.parenthesized)return!1;if(G){if(J==="Literal"){let{value:W}=f;if(typeof W==="string"||typeof W==="boolean")return!0}}else if(J==="StringLiteral"||J==="BooleanLiteral")return!0;if(f4(f,G)||O6f(f,G))return!0;if(J==="TemplateLiteral"&&f.expressions.length===0)return!0;if(A6f(f))return!0;return!1}function f4(f,G){if(G)return f.type==="Literal"&&(typeof f.value==="number"||("bigint"in f));return f.type==="NumericLiteral"||f.type==="BigIntLiteral"}function O6f(f,G){if(f.type==="UnaryExpression"){let{operator:X,argument:J}=f;if(X==="-"&&f4(J,G))return!0}return!1}function G4(f){if(f.type==="Identifier")return!0;if(f.type!=="MemberExpression"||f.computed)return!1;return G4(f.object)}var D8=NG`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),D6f=(f)=>class G extends f{parsePlaceholder(X){if(this.match(133)){let J=this.startNode();return this.next(),this.assertNoSpace(),J.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(J,X)}}finishPlaceholder(X,J){let W=X;if(!W.expectedNode||!W.type)W=this.finishNode(W,"Placeholder");return W.expectedNode=J,W}getTokenFromCode(X){if(X===37&&this.input.charCodeAt(this.state.pos+1)===37)this.finishOp(133,2);else super.getTokenFromCode(X)}parseExprAtom(X){return this.parsePlaceholder("Expression")||super.parseExprAtom(X)}parseIdentifier(X){return this.parsePlaceholder("Identifier")||super.parseIdentifier(X)}checkReservedWord(X,J,W,R){if(X!==void 0)super.checkReservedWord(X,J,W,R)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(X,J,W){return X==="Placeholder"||super.isValidLVal(X,J,W)}toAssignable(X,J){if(X&&X.type==="Placeholder"&&X.expectedNode==="Expression")X.expectedNode="Pattern";else super.toAssignable(X,J)}chStartsBindingIdentifier(X,J){if(super.chStartsBindingIdentifier(X,J))return!0;if(this.lookahead().type===133)return!0;return!1}verifyBreakContinue(X,J){if(X.label&&X.label.type==="Placeholder")return;super.verifyBreakContinue(X,J)}parseExpressionStatement(X,J){var W;if(J.type!=="Placeholder"||(W=J.extra)!=null&&W.parenthesized)return super.parseExpressionStatement(X,J);if(this.match(14)){let V=X;return V.label=this.finishPlaceholder(J,"Identifier"),this.next(),V.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(V,"LabeledStatement")}this.semicolon();let R=X;return R.name=J.name,this.finishPlaceholder(R,"Statement")}parseBlock(X,J,W){return this.parsePlaceholder("BlockStatement")||super.parseBlock(X,J,W)}parseFunctionId(X){return this.parsePlaceholder("Identifier")||super.parseFunctionId(X)}parseClass(X,J,W){let R=J?"ClassDeclaration":"ClassExpression";this.next();let V=this.state.strict,H=this.parsePlaceholder("Identifier");if(H)if(this.match(81)||this.match(133)||this.match(5))X.id=H;else if(W||!J)return X.id=null,X.body=this.finishPlaceholder(H,"ClassBody"),this.finishNode(X,R);else throw this.raise(D8.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(X,J,W);return super.parseClassSuper(X),X.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!X.superClass,V),this.finishNode(X,R)}parseExport(X,J){let W=this.parsePlaceholder("Identifier");if(!W)return super.parseExport(X,J);let R=X;if(!this.isContextual(98)&&!this.match(12))return R.specifiers=[],R.source=null,R.declaration=this.finishPlaceholder(W,"Declaration"),this.finishNode(R,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let V=this.startNode();return V.exported=W,R.specifiers=[this.finishNode(V,"ExportDefaultSpecifier")],super.parseExport(R,J)}isExportDefaultSpecifier(){if(this.match(65)){let X=this.nextTokenStart();if(this.isUnparsedContextual(X,"from")){if(this.input.startsWith(xG(133),this.nextTokenStartSince(X+4)))return!0}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(X,J){var W;if((W=X.specifiers)!=null&&W.length)return!0;return super.maybeParseExportDefaultSpecifier(X,J)}checkExport(X){let{specifiers:J}=X;if(J!=null&&J.length)X.specifiers=J.filter((W)=>W.exported.type==="Placeholder");super.checkExport(X),X.specifiers=J}parseImport(X){let J=this.parsePlaceholder("Identifier");if(!J)return super.parseImport(X);if(X.specifiers=[],!this.isContextual(98)&&!this.match(12))return X.source=this.finishPlaceholder(J,"StringLiteral"),this.semicolon(),this.finishNode(X,"ImportDeclaration");let W=this.startNodeAtNode(J);if(W.local=J,X.specifiers.push(this.finishNode(W,"ImportDefaultSpecifier")),this.eat(12)){if(!this.maybeParseStarImportSpecifier(X))this.parseNamedImportSpecifiers(X)}return this.expectContextual(98),X.source=this.parseImportSource(),this.semicolon(),this.finishNode(X,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){if(this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index))this.raise(D8.UnexpectedSpace,this.state.lastTokEndLoc)}},I6f=(f)=>class G extends f{parseV8Intrinsic(){if(this.match(54)){let X=this.state.startLoc,J=this.startNode();if(this.next(),$f(this.state.type)){let W=this.parseIdentifierName(),R=this.createIdentifier(J,W);if(R.type="V8IntrinsicIdentifier",this.match(10))return R}this.unexpected(X)}}parseExprAtom(X){return this.parseV8Intrinsic()||super.parseExprAtom(X)}},I8=["minimal","fsharp","hack","smart"],P8=["^^","@@","^","%","#"];function P6f(f){if(f.has("decorators")){if(f.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let X=f.get("decorators").decoratorsBeforeExport;if(X!=null&&typeof X!=="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let J=f.get("decorators").allowCallParenthesized;if(J!=null&&typeof J!=="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(f.has("flow")&&f.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(f.has("placeholders")&&f.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(f.has("pipelineOperator")){var G;let X=f.get("pipelineOperator").proposal;if(!I8.includes(X)){let W=I8.map((R)=>`"${R}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${W}.`)}let J=((G=f.get("recordAndTuple"))==null?void 0:G.syntaxType)==="hash";if(X==="hack"){if(f.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(f.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let W=f.get("pipelineOperator").topicToken;if(!P8.includes(W)){let R=P8.map((V)=>`"${V}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${R}.`)}if(W==="#"&&J)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",f.get("recordAndTuple")])}\`.`)}else if(X==="smart"&&J)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",f.get("recordAndTuple")])}\`.`)}if(f.has("moduleAttributes")){if(f.has("deprecatedImportAssert")||f.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(f.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(f.has("importAssertions")){if(f.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.")}if(!f.has("deprecatedImportAssert")&&f.has("importAttributes")&&f.get("importAttributes").deprecatedAssertSyntax)f.set("deprecatedImportAssert",{});if(f.has("recordAndTuple")){let X=f.get("recordAndTuple").syntaxType;if(X!=null){let J=["hash","bar"];if(!J.includes(X))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+J.map((W)=>`'${W}'`).join(", "))}}if(f.has("asyncDoExpressions")&&!f.has("doExpressions")){let X=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw X.missingPlugins="doExpressions",X}if(f.has("optionalChainingAssign")&&f.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")}var X4={estree:TWf,jsx:F6f,flow:M6f,typescript:C6f,v8intrinsic:I6f,placeholders:D6f},N6f=Object.keys(X4);class J4 extends e8{checkProto(f,G,X,J){if(f.type==="SpreadElement"||this.isObjectMethod(f)||f.computed||f.shorthand)return X;let W=f.key;if((W.type==="Identifier"?W.name:W.value)==="__proto__"){if(G)return this.raise($.RecordNoProto,W),!0;if(X)if(J){if(J.doubleProtoLoc===null)J.doubleProtoLoc=W.loc.start}else this.raise($.DuplicateProto,W);return!0}return X}shouldExitDescending(f,G){return f.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(f.start)===G}getExpression(){this.enterInitialScopes(),this.nextToken();let f=this.parseExpression();if(!this.match(140))this.unexpected();if(this.finalizeRemainingComments(),f.comments=this.comments,f.errors=this.state.errors,this.optionFlags&128)f.tokens=this.tokens;return f}parseExpression(f,G){if(f)return this.disallowInAnd(()=>this.parseExpressionBase(G));return this.allowInAnd(()=>this.parseExpressionBase(G))}parseExpressionBase(f){let G=this.state.startLoc,X=this.parseMaybeAssign(f);if(this.match(12)){let J=this.startNodeAt(G);J.expressions=[X];while(this.eat(12))J.expressions.push(this.parseMaybeAssign(f));return this.toReferencedList(J.expressions),this.finishNode(J,"SequenceExpression")}return X}parseMaybeAssignDisallowIn(f,G){return this.disallowInAnd(()=>this.parseMaybeAssign(f,G))}parseMaybeAssignAllowIn(f,G){return this.allowInAnd(()=>this.parseMaybeAssign(f,G))}setOptionalParametersError(f){f.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(f,G){let X=this.state.startLoc;if(this.isContextual(108)){if(this.prodParam.hasYield){let V=this.parseYield();if(G)V=G.call(this,V,X);return V}}let J;if(f)J=!1;else f=new JX,J=!0;let{type:W}=this.state;if(W===10||$f(W))this.state.potentialArrowAt=this.state.start;let R=this.parseMaybeConditional(f);if(G)R=G.call(this,R,X);if(kWf(this.state.type)){let V=this.startNodeAt(X),H=this.state.value;if(V.operator=H,this.match(29)){this.toAssignable(R,!0),V.left=R;let U=X.index;if(f.doubleProtoLoc!=null&&f.doubleProtoLoc.index>=U)f.doubleProtoLoc=null;if(f.shorthandAssignLoc!=null&&f.shorthandAssignLoc.index>=U)f.shorthandAssignLoc=null;if(f.privateKeyLoc!=null&&f.privateKeyLoc.index>=U)this.checkDestructuringPrivate(f),f.privateKeyLoc=null}else V.left=R;return this.next(),V.right=this.parseMaybeAssign(),this.checkLVal(R,this.finishNode(V,"AssignmentExpression")),V}else if(J)this.checkExpressionErrors(f,!0);return R}parseMaybeConditional(f){let G=this.state.startLoc,X=this.state.potentialArrowAt,J=this.parseExprOps(f);if(this.shouldExitDescending(J,X))return J;return this.parseConditional(J,G,f)}parseConditional(f,G,X){if(this.eat(17)){let J=this.startNodeAt(G);return J.test=f,J.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),J.alternate=this.parseMaybeAssign(),this.finishNode(J,"ConditionalExpression")}return f}parseMaybeUnaryOrPrivate(f){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(f)}parseExprOps(f){let G=this.state.startLoc,X=this.state.potentialArrowAt,J=this.parseMaybeUnaryOrPrivate(f);if(this.shouldExitDescending(J,X))return J;return this.parseExprOp(J,G,-1)}parseExprOp(f,G,X){if(this.isPrivateName(f)){let W=this.getPrivateNameSV(f);if(X>=W2(58)||!this.prodParam.hasIn||!this.match(58))this.raise($.PrivateInExpectedIn,f,{identifierName:W});this.classScope.usePrivateName(W,f.loc.start)}let J=this.state.type;if(gWf(J)&&(this.prodParam.hasIn||!this.match(58))){let W=W2(J);if(W>X){if(J===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return f;this.checkPipelineAtInfixOperator(f,G)}let R=this.startNodeAt(G);R.left=f,R.operator=this.state.value;let V=J===41||J===42,H=J===40;if(H)W=W2(42);if(this.next(),J===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait)throw this.raise($.UnexpectedAwaitAfterPipelineBody,this.state.startLoc)}R.right=this.parseExprOpRightExpr(J,W);let U=this.finishNode(R,V||H?"LogicalExpression":"BinaryExpression"),Q=this.state.type;if(H&&(Q===41||Q===42)||V&&Q===40)throw this.raise($.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(U,G,X)}}return f}parseExprOpRightExpr(f,G){let X=this.state.startLoc;switch(f){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{return this.parseHackPipeBody()});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(G)})}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise($.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(f,G),X)});default:return this.parseExprOpBaseRightExpr(f,G)}}parseExprOpBaseRightExpr(f,G){let X=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),X,xWf(f)?G-1:G)}parseHackPipeBody(){var f;let{startLoc:G}=this.state,X=this.parseMaybeAssign();if(AWf.has(X.type)&&!((f=X.extra)!=null&&f.parenthesized))this.raise($.PipeUnparenthesizedBody,G,{type:X.type});if(!this.topicReferenceWasUsedInCurrentContext())this.raise($.PipeTopicUnused,G);return X}checkExponentialAfterUnary(f){if(this.match(57))this.raise($.UnexpectedTokenUnaryExponentiation,f.argument)}parseMaybeUnary(f,G){let X=this.state.startLoc,J=this.isContextual(96);if(J&&this.recordAwaitIfAllowed()){this.next();let H=this.parseAwait(X);if(!G)this.checkExponentialAfterUnary(H);return H}let W=this.match(34),R=this.startNode();if(uWf(this.state.type)){if(R.operator=this.state.value,R.prefix=!0,this.match(72))this.expectPlugin("throwExpressions");let H=this.match(89);if(this.next(),R.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(f,!0),this.state.strict&&H){let U=R.argument;if(U.type==="Identifier")this.raise($.StrictDelete,R);else if(this.hasPropertyAsPrivateName(U))this.raise($.DeletePrivateField,R)}if(!W){if(!G)this.checkExponentialAfterUnary(R);return this.finishNode(R,"UnaryExpression")}}let V=this.parseUpdate(R,W,f);if(J){let{type:H}=this.state;if((this.hasPlugin("v8intrinsic")?AW(H):AW(H)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite($.AwaitNotInAsyncContext,X),this.parseAwait(X)}return V}parseUpdate(f,G,X){if(G){let R=f;return this.checkLVal(R.argument,this.finishNode(R,"UpdateExpression")),f}let J=this.state.startLoc,W=this.parseExprSubscripts(X);if(this.checkExpressionErrors(X,!1))return W;while(_Wf(this.state.type)&&!this.canInsertSemicolon()){let R=this.startNodeAt(J);R.operator=this.state.value,R.prefix=!1,R.argument=W,this.next(),this.checkLVal(W,W=this.finishNode(R,"UpdateExpression"))}return W}parseExprSubscripts(f){let G=this.state.startLoc,X=this.state.potentialArrowAt,J=this.parseExprAtom(f);if(this.shouldExitDescending(J,X))return J;return this.parseSubscripts(J,G)}parseSubscripts(f,G,X){let J={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(f),stop:!1};do f=this.parseSubscript(f,G,X,J),J.maybeAsyncArrow=!1;while(!J.stop);return f}parseSubscript(f,G,X,J){let{type:W}=this.state;if(!X&&W===15)return this.parseBind(f,G,X,J);else if(V2(W))return this.parseTaggedTemplateExpression(f,G,J);let R=!1;if(W===18){if(X){if(this.raise($.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40)return J.stop=!0,f}J.optionalChainMember=R=!0,this.next()}if(!X&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(f,G,J,R);else{let V=this.eat(0);if(V||R||this.eat(16))return this.parseMember(f,G,J,V,R);else return J.stop=!0,f}}parseMember(f,G,X,J,W){let R=this.startNodeAt(G);if(R.object=f,R.computed=J,J)R.property=this.parseExpression(),this.expect(3);else if(this.match(139)){if(f.type==="Super")this.raise($.SuperPrivateField,G);this.classScope.usePrivateName(this.state.value,this.state.startLoc),R.property=this.parsePrivateName()}else R.property=this.parseIdentifier(!0);if(X.optionalChainMember)return R.optional=W,this.finishNode(R,"OptionalMemberExpression");else return this.finishNode(R,"MemberExpression")}parseBind(f,G,X,J){let W=this.startNodeAt(G);return W.object=f,this.next(),W.callee=this.parseNoCallExpr(),J.stop=!0,this.parseSubscripts(this.finishNode(W,"BindExpression"),G,X)}parseCoverCallAndAsyncArrowHead(f,G,X,J){let W=this.state.maybeInArrowParameters,R=null;this.state.maybeInArrowParameters=!0,this.next();let V=this.startNodeAt(G);V.callee=f;let{maybeAsyncArrow:H,optionalChainMember:U}=X;if(H)this.expressionScope.enter(V6f()),R=new JX;if(U)V.optional=J;if(J)V.arguments=this.parseCallExpressionArguments(11);else V.arguments=this.parseCallExpressionArguments(11,f.type!=="Super",V,R);let Q=this.finishCallExpression(V,U);if(H&&this.shouldParseAsyncArrow()&&!J)X.stop=!0,this.checkDestructuringPrivate(R),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Q=this.parseAsyncArrowFromCallExpression(this.startNodeAt(G),Q);else{if(H)this.checkExpressionErrors(R,!0),this.expressionScope.exit();this.toReferencedArguments(Q)}return this.state.maybeInArrowParameters=W,Q}toReferencedArguments(f,G){this.toReferencedListDeep(f.arguments,G)}parseTaggedTemplateExpression(f,G,X){let J=this.startNodeAt(G);if(J.tag=f,J.quasi=this.parseTemplate(!0),X.optionalChainMember)this.raise($.OptionalChainingNoTemplate,G);return this.finishNode(J,"TaggedTemplateExpression")}atPossibleAsyncArrow(f){return f.type==="Identifier"&&f.name==="async"&&this.state.lastTokEndLoc.index===f.end&&!this.canInsertSemicolon()&&f.end-f.start===5&&this.offsetToSourcePos(f.start)===this.state.potentialArrowAt}finishCallExpression(f,G){if(f.callee.type==="Import"){if(f.arguments.length===0||f.arguments.length>2)this.raise($.ImportCallArity,f);else for(let X of f.arguments)if(X.type==="SpreadElement")this.raise($.ImportCallSpreadArgument,X)}return this.finishNode(f,G?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(f,G,X,J){let W=[],R=!0,V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;while(!this.eat(f)){if(R)R=!1;else if(this.expect(12),this.match(f)){if(X)this.addTrailingCommaExtraToNode(X);this.next();break}W.push(this.parseExprListItem(!1,J,G))}return this.state.inFSharpPipelineDirectBody=V,W}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(f,G){var X;if(this.resetPreviousNodeTrailingComments(G),this.expect(19),this.parseArrowExpression(f,G.arguments,!0,(X=G.extra)==null?void 0:X.trailingCommaLoc),G.innerComments)RX(f,G.innerComments);if(G.callee.trailingComments)RX(f,G.callee.trailingComments);return f}parseNoCallExpr(){let f=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),f,!0)}parseExprAtom(f){let G,X=null,{type:J}=this.state;switch(J){case 79:return this.parseSuper();case 83:if(G=this.startNode(),this.next(),this.match(16))return this.parseImportMetaProperty(G);if(this.match(10))if(this.optionFlags&256)return this.parseImportCall(G);else return this.finishNode(G,"Import");else return this.raise($.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(G,"Import");case 78:return G=this.startNode(),this.next(),this.finishNode(G,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let W=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(W)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,f);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,f);case 68:return this.parseFunctionOrFunctionSent();case 26:X=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(X,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{G=this.startNode(),this.next(),G.object=null;let W=G.callee=this.parseNoCallExpr();if(W.type==="MemberExpression")return this.finishNode(G,"BindExpression");else throw this.raise($.UnsupportedBind,W)}case 139:return this.raise($.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let W=this.getPluginOption("pipelineOperator","proposal");if(W)return this.parseTopicReference(W);this.unexpected();break}case 47:{let W=this.input.codePointAt(this.nextTokenStart());if(PG(W)||W===62)this.expectOnePlugin(["jsx","flow","typescript"]);else this.unexpected();break}default:if(J===137)return this.parseDecimalLiteral(this.state.value);if($f(J)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let W=this.state.potentialArrowAt===this.state.start,R=this.state.containsEsc,V=this.parseIdentifier();if(!R&&V.name==="async"&&!this.canInsertSemicolon()){let{type:H}=this.state;if(H===68)return this.resetPreviousNodeTrailingComments(V),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(V));else if($f(H))if(this.lookaheadCharCode()===61)return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(V));else return V;else if(H===90)return this.resetPreviousNodeTrailingComments(V),this.parseDo(this.startNodeAtNode(V),!0)}if(W&&this.match(19)&&!this.canInsertSemicolon())return this.next(),this.parseArrowExpression(this.startNodeAtNode(V),[V],!1);return V}else this.unexpected()}}parseTopicReferenceThenEqualsSign(f,G){let X=this.getPluginOption("pipelineOperator","proposal");if(X)return this.state.type=f,this.state.value=G,this.state.pos--,this.state.end--,this.state.endLoc=xf(this.state.endLoc,-1),this.parseTopicReference(X);else this.unexpected()}parseTopicReference(f){let G=this.startNode(),X=this.state.startLoc,J=this.state.type;return this.next(),this.finishTopicReference(G,X,f,J)}finishTopicReference(f,G,X,J){if(this.testTopicReferenceConfiguration(X,G,J))if(X==="hack"){if(!this.topicReferenceIsAllowedInCurrentContext())this.raise($.PipeTopicUnbound,G);return this.registerTopicReference(),this.finishNode(f,"TopicReference")}else{if(!this.topicReferenceIsAllowedInCurrentContext())this.raise($.PrimaryTopicNotAllowed,G);return this.registerTopicReference(),this.finishNode(f,"PipelinePrimaryTopicReference")}else throw this.raise($.PipeTopicUnconfiguredToken,G,{token:xG(J)})}testTopicReferenceConfiguration(f,G,X){switch(f){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:xG(X)}]);case"smart":return X===27;default:throw this.raise($.PipeTopicRequiresHackPipes,G)}}parseAsyncArrowUnaryFunction(f){this.prodParam.enter(R2(!0,this.prodParam.hasYield));let G=[this.parseIdentifier()];if(this.prodParam.exit(),this.hasPrecedingLineBreak())this.raise($.LineTerminatorBeforeArrow,this.state.curPosition());return this.expect(19),this.parseArrowExpression(f,G,!0)}parseDo(f,G){if(this.expectPlugin("doExpressions"),G)this.expectPlugin("asyncDoExpressions");f.async=G,this.next();let X=this.state.labels;if(this.state.labels=[],G)this.prodParam.enter(2),f.body=this.parseBlock(),this.prodParam.exit();else f.body=this.parseBlock();return this.state.labels=X,this.finishNode(f,"DoExpression")}parseSuper(){let f=this.startNode();if(this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16))this.raise($.SuperNotAllowed,f);else if(!this.scope.allowSuper&&!(this.optionFlags&16))this.raise($.UnexpectedSuper,f);if(!this.match(10)&&!this.match(0)&&!this.match(16))this.raise($.UnsupportedSuper,f);return this.finishNode(f,"Super")}parsePrivateName(){let f=this.startNode(),G=this.startNodeAt(xf(this.state.startLoc,1)),X=this.state.value;return this.next(),f.id=this.createIdentifier(G,X),this.finishNode(f,"PrivateName")}parseFunctionOrFunctionSent(){let f=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let G=this.createIdentifier(this.startNodeAtNode(f),"function");if(this.next(),this.match(103))this.expectPlugin("functionSent");else if(!this.hasPlugin("functionSent"))this.unexpected();return this.parseMetaProperty(f,G,"sent")}return this.parseFunction(f)}parseMetaProperty(f,G,X){f.meta=G;let J=this.state.containsEsc;if(f.property=this.parseIdentifier(!0),f.property.name!==X||J)this.raise($.UnsupportedMetaProperty,f.property,{target:G.name,onlyValidPropertyName:X});return this.finishNode(f,"MetaProperty")}parseImportMetaProperty(f){let G=this.createIdentifier(this.startNodeAtNode(f),"import");if(this.next(),this.isContextual(101)){if(!this.inModule)this.raise($.ImportMetaOutsideModule,G);this.sawUnambiguousESM=!0}else if(this.isContextual(105)||this.isContextual(97)){let X=this.isContextual(105);if(this.expectPlugin(X?"sourcePhaseImports":"deferredImportEvaluation"),!(this.optionFlags&256))throw this.raise($.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),f.phase=X?"source":"defer",this.parseImportCall(f)}return this.parseMetaProperty(f,G,"meta")}parseLiteralAtNode(f,G,X){return this.addExtra(X,"rawValue",f),this.addExtra(X,"raw",this.input.slice(this.offsetToSourcePos(X.start),this.state.end)),X.value=f,this.next(),this.finishNode(X,G)}parseLiteral(f,G){let X=this.startNode();return this.parseLiteralAtNode(f,G,X)}parseStringLiteral(f){return this.parseLiteral(f,"StringLiteral")}parseNumericLiteral(f){return this.parseLiteral(f,"NumericLiteral")}parseBigIntLiteral(f){return this.parseLiteral(f,"BigIntLiteral")}parseDecimalLiteral(f){return this.parseLiteral(f,"DecimalLiteral")}parseRegExpLiteral(f){let G=this.startNode();return this.addExtra(G,"raw",this.input.slice(this.offsetToSourcePos(G.start),this.state.end)),G.pattern=f.pattern,G.flags=f.flags,this.next(),this.finishNode(G,"RegExpLiteral")}parseBooleanLiteral(f){let G=this.startNode();return G.value=f,this.next(),this.finishNode(G,"BooleanLiteral")}parseNullLiteral(){let f=this.startNode();return this.next(),this.finishNode(f,"NullLiteral")}parseParenAndDistinguishExpression(f){let G=this.state.startLoc,X;this.next(),this.expressionScope.enter(R6f());let J=this.state.maybeInArrowParameters,W=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let R=this.state.startLoc,V=[],H=new JX,U=!0,Q,Y;while(!this.match(11)){if(U)U=!1;else if(this.expect(12,H.optionalParametersLoc===null?null:H.optionalParametersLoc),this.match(11)){Y=this.state.startLoc;break}if(this.match(21)){let A=this.state.startLoc;if(Q=this.state.startLoc,V.push(this.parseParenItem(this.parseRestBinding(),A)),!this.checkCommaAfterRest(41))break}else V.push(this.parseMaybeAssignAllowIn(H,this.parseParenItem))}let S=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=J,this.state.inFSharpPipelineDirectBody=W;let C=this.startNodeAt(G);if(f&&this.shouldParseArrow(V)&&(C=this.parseArrow(C)))return this.checkDestructuringPrivate(H),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(C,V,!1),C;if(this.expressionScope.exit(),!V.length)this.unexpected(this.state.lastTokStartLoc);if(Y)this.unexpected(Y);if(Q)this.unexpected(Q);if(this.checkExpressionErrors(H,!0),this.toReferencedListDeep(V,!0),V.length>1)X=this.startNodeAt(R),X.expressions=V,this.finishNode(X,"SequenceExpression"),this.resetEndLocation(X,S);else X=V[0];return this.wrapParenthesis(G,X)}wrapParenthesis(f,G){if(!(this.optionFlags&512))return this.addExtra(G,"parenthesized",!0),this.addExtra(G,"parenStart",f.index),this.takeSurroundingComments(G,f.index,this.state.lastTokEndLoc.index),G;let X=this.startNodeAt(f);return X.expression=G,this.finishNode(X,"ParenthesizedExpression")}shouldParseArrow(f){return!this.canInsertSemicolon()}parseArrow(f){if(this.eat(19))return f}parseParenItem(f,G){return f}parseNewOrNewTarget(){let f=this.startNode();if(this.next(),this.match(16)){let G=this.createIdentifier(this.startNodeAtNode(f),"new");this.next();let X=this.parseMetaProperty(f,G,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4))this.raise($.UnexpectedNewTarget,X);return X}return this.parseNew(f)}parseNew(f){if(this.parseNewCallee(f),this.eat(10)){let G=this.parseExprList(11);this.toReferencedList(G),f.arguments=G}else f.arguments=[];return this.finishNode(f,"NewExpression")}parseNewCallee(f){let G=this.match(83),X=this.parseNoCallExpr();if(f.callee=X,G&&(X.type==="Import"||X.type==="ImportExpression"))this.raise($.ImportCallNotNewExpression,X)}parseTemplateElement(f){let{start:G,startLoc:X,end:J,value:W}=this.state,R=G+1,V=this.startNodeAt(xf(X,1));if(W===null){if(!f)this.raise($.InvalidEscapeSequenceTemplate,xf(this.state.firstInvalidTemplateEscapePos,1))}let H=this.match(24),U=H?-1:-2,Q=J+U;V.value={raw:this.input.slice(R,Q).replace(/\r\n?/g,`
23
+ `),cooked:W===null?null:W.slice(1,U)},V.tail=H,this.next();let Y=this.finishNode(V,"TemplateElement");return this.resetEndLocation(Y,xf(this.state.lastTokEndLoc,U)),Y}parseTemplate(f){let G=this.startNode(),X=this.parseTemplateElement(f),J=[X],W=[];while(!X.tail)W.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),J.push(X=this.parseTemplateElement(f));return G.expressions=W,G.quasis=J,this.finishNode(G,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(f,G,X,J){if(X)this.expectPlugin("recordAndTuple");let W=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let R=!1,V=!0,H=this.startNode();H.properties=[],this.next();while(!this.match(f)){if(V)V=!1;else if(this.expect(12),this.match(f)){this.addTrailingCommaExtraToNode(H);break}let Q;if(G)Q=this.parseBindingProperty();else Q=this.parsePropertyDefinition(J),R=this.checkProto(Q,X,R,J);if(X&&!this.isObjectProperty(Q)&&Q.type!=="SpreadElement")this.raise($.InvalidRecordProperty,Q);if(Q.shorthand)this.addExtra(Q,"shorthand",!0);H.properties.push(Q)}this.next(),this.state.inFSharpPipelineDirectBody=W;let U="ObjectExpression";if(G)U="ObjectPattern";else if(X)U="RecordExpression";return this.finishNode(H,U)}addTrailingCommaExtraToNode(f){this.addExtra(f,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(f,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(f){return!f.computed&&f.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(f){let G=[];if(this.match(26)){if(this.hasPlugin("decorators"))this.raise($.UnsupportedPropertyDecorator,this.state.startLoc);while(this.match(26))G.push(this.parseDecorator())}let X=this.startNode(),J=!1,W=!1,R;if(this.match(21)){if(G.length)this.unexpected();return this.parseSpread()}if(G.length)X.decorators=G,G=[];if(X.method=!1,f)R=this.state.startLoc;let V=this.eat(55);this.parsePropertyNamePrefixOperator(X);let H=this.state.containsEsc;if(this.parsePropertyName(X,f),!V&&!H&&this.maybeAsyncOrAccessorProp(X)){let{key:U}=X,Q=U.name;if(Q==="async"&&!this.hasPrecedingLineBreak())J=!0,this.resetPreviousNodeTrailingComments(U),V=this.eat(55),this.parsePropertyName(X);if(Q==="get"||Q==="set"){if(W=!0,this.resetPreviousNodeTrailingComments(U),X.kind=Q,this.match(55))V=!0,this.raise($.AccessorIsGenerator,this.state.curPosition(),{kind:Q}),this.next();this.parsePropertyName(X)}}return this.parseObjPropValue(X,R,V,J,!1,W,f)}getGetterSetterExpectedParamCount(f){return f.kind==="get"?0:1}getObjectOrClassMethodParams(f){return f.params}checkGetterSetterParams(f){var G;let X=this.getGetterSetterExpectedParamCount(f),J=this.getObjectOrClassMethodParams(f);if(J.length!==X)this.raise(f.kind==="get"?$.BadGetterArity:$.BadSetterArity,f);if(f.kind==="set"&&((G=J[J.length-1])==null?void 0:G.type)==="RestElement")this.raise($.BadSetterRestParameter,f)}parseObjectMethod(f,G,X,J,W){if(W){let R=this.parseMethod(f,G,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(R),R}if(X||G||this.match(10)){if(J)this.unexpected();return f.kind="method",f.method=!0,this.parseMethod(f,G,X,!1,!1,"ObjectMethod")}}parseObjectProperty(f,G,X,J){if(f.shorthand=!1,this.eat(14))return f.value=X?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(J),this.finishNode(f,"ObjectProperty");if(!f.computed&&f.key.type==="Identifier"){if(this.checkReservedWord(f.key.name,f.key.loc.start,!0,!1),X)f.value=this.parseMaybeDefault(G,LG(f.key));else if(this.match(29)){let W=this.state.startLoc;if(J!=null){if(J.shorthandAssignLoc===null)J.shorthandAssignLoc=W}else this.raise($.InvalidCoverInitializedName,W);f.value=this.parseMaybeDefault(G,LG(f.key))}else f.value=LG(f.key);return f.shorthand=!0,this.finishNode(f,"ObjectProperty")}}parseObjPropValue(f,G,X,J,W,R,V){let H=this.parseObjectMethod(f,X,J,W,R)||this.parseObjectProperty(f,G,W,V);if(!H)this.unexpected();return H}parsePropertyName(f,G){if(this.eat(0))f.computed=!0,f.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:X,value:J}=this.state,W;if(UG(X))W=this.parseIdentifier(!0);else switch(X){case 135:W=this.parseNumericLiteral(J);break;case 134:W=this.parseStringLiteral(J);break;case 136:W=this.parseBigIntLiteral(J);break;case 139:{let R=this.state.startLoc;if(G!=null){if(G.privateKeyLoc===null)G.privateKeyLoc=R}else this.raise($.UnexpectedPrivateField,R);W=this.parsePrivateName();break}default:if(X===137){W=this.parseDecimalLiteral(J);break}this.unexpected()}if(f.key=W,X!==139)f.computed=!1}}initFunction(f,G){f.id=null,f.generator=!1,f.async=G}parseMethod(f,G,X,J,W,R,V=!1){this.initFunction(f,X),f.generator=G,this.scope.enter(18|(V?64:0)|(W?32:0)),this.prodParam.enter(R2(X,f.generator)),this.parseFunctionParams(f,J);let H=this.parseFunctionBodyAndFinish(f,R,!0);return this.prodParam.exit(),this.scope.exit(),H}parseArrayLike(f,G,X,J){if(X)this.expectPlugin("recordAndTuple");let W=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let R=this.startNode();return this.next(),R.elements=this.parseExprList(f,!X,J,R),this.state.inFSharpPipelineDirectBody=W,this.finishNode(R,X?"TupleExpression":"ArrayExpression")}parseArrowExpression(f,G,X,J){this.scope.enter(6);let W=R2(X,!1);if(!this.match(5)&&this.prodParam.hasIn)W|=8;this.prodParam.enter(W),this.initFunction(f,X);let R=this.state.maybeInArrowParameters;if(G)this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(f,G,J);return this.state.maybeInArrowParameters=!1,this.parseFunctionBody(f,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=R,this.finishNode(f,"ArrowFunctionExpression")}setArrowFunctionParameters(f,G,X){this.toAssignableList(G,X,!1),f.params=G}parseFunctionBodyAndFinish(f,G,X=!1){return this.parseFunctionBody(f,!1,X),this.finishNode(f,G)}parseFunctionBody(f,G,X=!1){let J=G&&!this.match(5);if(this.expressionScope.enter(r8()),J)f.body=this.parseMaybeAssign(),this.checkParams(f,!1,G,!1);else{let W=this.state.strict,R=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),f.body=this.parseBlock(!0,!1,(V)=>{let H=!this.isSimpleParamList(f.params);if(V&&H)this.raise($.IllegalLanguageModeDirective,(f.kind==="method"||f.kind==="constructor")&&!!f.key?f.key.loc.end:f);let U=!W&&this.state.strict;if(this.checkParams(f,!this.state.strict&&!G&&!X&&!H,G,U),this.state.strict&&f.id)this.checkIdentifier(f.id,65,U)}),this.prodParam.exit(),this.state.labels=R}this.expressionScope.exit()}isSimpleParameter(f){return f.type==="Identifier"}isSimpleParamList(f){for(let G=0,X=f.length;G<X;G++)if(!this.isSimpleParameter(f[G]))return!1;return!0}checkParams(f,G,X,J=!0){let W=!G&&new Set,R={type:"FormalParameters"};for(let V of f.params)this.checkLVal(V,R,5,W,J)}parseExprList(f,G,X,J){let W=[],R=!0;while(!this.eat(f)){if(R)R=!1;else if(this.expect(12),this.match(f)){if(J)this.addTrailingCommaExtraToNode(J);this.next();break}W.push(this.parseExprListItem(G,X))}return W}parseExprListItem(f,G,X){let J;if(this.match(12)){if(!f)this.raise($.UnexpectedToken,this.state.curPosition(),{unexpected:","});J=null}else if(this.match(21)){let W=this.state.startLoc;J=this.parseParenItem(this.parseSpread(G),W)}else if(this.match(17)){if(this.expectPlugin("partialApplication"),!X)this.raise($.UnexpectedArgumentPlaceholder,this.state.startLoc);let W=this.startNode();this.next(),J=this.finishNode(W,"ArgumentPlaceholder")}else J=this.parseMaybeAssignAllowIn(G,this.parseParenItem);return J}parseIdentifier(f){let G=this.startNode(),X=this.parseIdentifierName(f);return this.createIdentifier(G,X)}createIdentifier(f,G){return f.name=G,f.loc.identifierName=G,this.finishNode(f,"Identifier")}parseIdentifierName(f){let G,{startLoc:X,type:J}=this.state;if(UG(J))G=this.state.value;else this.unexpected();let W=wWf(J);if(f){if(W)this.replaceToken(132)}else this.checkReservedWord(G,X,W,!1);return this.next(),G}checkReservedWord(f,G,X,J){if(f.length>10)return;if(!tWf(f))return;if(X&&pWf(f)){this.raise($.UnexpectedKeyword,G,{keyword:f});return}if((!this.state.strict?w8:J?v8:E8)(f,this.inModule)){this.raise($.UnexpectedReservedWord,G,{reservedWord:f});return}else if(f==="yield"){if(this.prodParam.hasYield){this.raise($.YieldBindingIdentifier,G);return}}else if(f==="await"){if(this.prodParam.hasAwait){this.raise($.AwaitBindingIdentifier,G);return}if(this.scope.inStaticBlock){this.raise($.AwaitBindingIdentifierInStaticBlock,G);return}this.expressionScope.recordAsyncArrowParametersError(G)}else if(f==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise($.ArgumentsInClass,G);return}}}recordAwaitIfAllowed(){let f=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;if(f&&!this.scope.inFunction)this.state.hasTopLevelAwait=!0;return f}parseAwait(f){let G=this.startNodeAt(f);if(this.expressionScope.recordParameterInitializerError($.AwaitExpressionFormalParameter,G),this.eat(55))this.raise($.ObsoleteAwaitStar,G);if(!this.scope.inFunction&&!(this.optionFlags&1))if(this.isAmbiguousAwait())this.ambiguousScriptDifferentAst=!0;else this.sawUnambiguousESM=!0;if(!this.state.soloAwait)G.argument=this.parseMaybeUnary(null,!0);return this.finishNode(G,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:f}=this.state;return f===53||f===10||f===0||V2(f)||f===102&&!this.state.containsEsc||f===138||f===56||this.hasPlugin("v8intrinsic")&&f===54}parseYield(){let f=this.startNode();this.expressionScope.recordParameterInitializerError($.YieldInParameter,f),this.next();let G=!1,X=null;if(!this.hasPrecedingLineBreak())switch(G=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!G)break;default:X=this.parseMaybeAssign()}return f.delegate=G,f.argument=X,this.finishNode(f,"YieldExpression")}parseImportCall(f){if(this.next(),f.source=this.parseMaybeAssignAllowIn(),f.options=null,this.eat(12)){if(!this.match(11)){if(f.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11)){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise($.ImportCallArity,f)}}}return this.expect(11),this.finishNode(f,"ImportExpression")}checkPipelineAtInfixOperator(f,G){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(f.type==="SequenceExpression")this.raise($.PipelineHeadSequenceExpression,G)}}parseSmartPipelineBodyInStyle(f,G){if(this.isSimpleReference(f)){let X=this.startNodeAt(G);return X.callee=f,this.finishNode(X,"PipelineBareFunction")}else{let X=this.startNodeAt(G);return this.checkSmartPipeTopicBodyEarlyErrors(G),X.expression=f,this.finishNode(X,"PipelineTopicExpression")}}isSimpleReference(f){switch(f.type){case"MemberExpression":return!f.computed&&this.isSimpleReference(f.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(f){if(this.match(19))throw this.raise($.PipelineBodyNoArrow,this.state.startLoc);if(!this.topicReferenceWasUsedInCurrentContext())this.raise($.PipelineTopicUnused,f)}withTopicBindingContext(f){let G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return f()}finally{this.state.topicContext=G}}withSmartMixTopicForbiddingContext(f){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let G=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return f()}finally{this.state.topicContext=G}}else return f()}withSoloAwaitPermittingContext(f){let G=this.state.soloAwait;this.state.soloAwait=!0;try{return f()}finally{this.state.soloAwait=G}}allowInAnd(f){let G=this.prodParam.currentFlags();if(8&~G){this.prodParam.enter(G|8);try{return f()}finally{this.prodParam.exit()}}return f()}disallowInAnd(f){let G=this.prodParam.currentFlags();if(8&G){this.prodParam.enter(G&-9);try{return f()}finally{this.prodParam.exit()}}return f()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(f){let G=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let X=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let J=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),G,f);return this.state.inFSharpPipelineDirectBody=X,J}parseModuleExpression(){this.expectPlugin("moduleBlocks");let f=this.startNode();if(this.next(),!this.match(5))this.unexpected(null,5);let G=this.startNodeAt(this.state.endLoc);this.next();let X=this.initializeScopes(!0);this.enterInitialScopes();try{f.body=this.parseProgram(G,8,"module")}finally{X()}return this.finishNode(f,"ModuleExpression")}parsePropertyNamePrefixOperator(f){}}var qW={kind:1},T6f={kind:2},L6f=/[\uD800-\uDFFF]/u,CW=/in(?:stanceof)?/y;function b6f(f,G,X){for(let J=0;J<f.length;J++){let W=f[J],{type:R}=W;if(typeof R==="number"){{if(R===139){let{loc:V,start:H,value:U,end:Q}=W,Y=H+1,S=xf(V.start,1);f.splice(J,1,new DG({type:OG(27),value:"#",start:H,end:Y,startLoc:V.start,endLoc:S}),new DG({type:OG(132),value:U,start:Y,end:Q,startLoc:S,endLoc:V.end})),J++;continue}if(V2(R)){let{loc:V,start:H,value:U,end:Q}=W,Y=H+1,S=xf(V.start,1),C;if(G.charCodeAt(H-X)===96)C=new DG({type:OG(22),value:"`",start:H,end:Y,startLoc:V.start,endLoc:S});else C=new DG({type:OG(8),value:"}",start:H,end:Y,startLoc:V.start,endLoc:S});let A,O,b,P;if(R===24)O=Q-1,b=xf(V.end,-1),A=U===null?null:U.slice(1,-1),P=new DG({type:OG(22),value:"`",start:O,end:Q,startLoc:b,endLoc:V.end});else O=Q-2,b=xf(V.end,-2),A=U===null?null:U.slice(1,-2),P=new DG({type:OG(23),value:"${",start:O,end:Q,startLoc:b,endLoc:V.end});f.splice(J,1,C,new DG({type:OG(20),value:A,start:Y,end:O,startLoc:S,endLoc:b}),P),J+=2;continue}}W.type=OG(R)}}return f}class W4 extends J4{parseTopLevel(f,G){if(f.program=this.parseProgram(G),f.comments=this.comments,this.optionFlags&128)f.tokens=b6f(this.tokens,this.input,this.startIndex);return this.finishNode(f,"File")}parseProgram(f,G=140,X=this.options.sourceType){if(f.sourceType=X,f.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(f,!0,!0,G),this.inModule){if(!(this.optionFlags&32)&&this.scope.undefinedExports.size>0)for(let[W,R]of Array.from(this.scope.undefinedExports))this.raise($.ModuleExportUndefined,R,{localName:W});this.addExtra(f,"topLevelAwait",this.state.hasTopLevelAwait)}let J;if(G===140)J=this.finishNode(f,"Program");else J=this.finishNodeAt(f,"Program",xf(this.state.startLoc,-1));return J}stmtToDirective(f){let G=f;G.type="Directive",G.value=G.expression,delete G.expression;let X=G.value,J=X.value,W=this.input.slice(this.offsetToSourcePos(X.start),this.offsetToSourcePos(X.end)),R=X.value=W.slice(1,-1);return this.addExtra(X,"raw",W),this.addExtra(X,"rawValue",R),this.addExtra(X,"expressionValue",J),X.type="DirectiveLiteral",G}parseInterpreterDirective(){if(!this.match(28))return null;let f=this.startNode();return f.value=this.state.value,this.next(),this.finishNode(f,"InterpreterDirective")}isLet(){if(!this.isContextual(100))return!1;return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(f,G){if(PG(f)){if(CW.lastIndex=G,CW.test(this.input)){let X=this.codePointAtPos(CW.lastIndex);if(!C1(X)&&X!==92)return!1}return!0}else if(f===92)return!0;else return!1}chStartsBindingPattern(f){return f===91||f===123}hasFollowingBindingAtom(){let f=this.nextTokenStart(),G=this.codePointAtPos(f);return this.chStartsBindingPattern(G)||this.chStartsBindingIdentifier(G,f)}hasInLineFollowingBindingIdentifierOrBrace(){let f=this.nextTokenInLineStart(),G=this.codePointAtPos(f);return G===123||this.chStartsBindingIdentifier(G,f)}startsUsingForOf(){let{type:f,containsEsc:G}=this.lookahead();if(f===102&&!G)return!1;else if($f(f)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let f=this.nextTokenInLineStart();if(this.isUnparsedContextual(f,"using")){f=this.nextTokenInLineStartSince(f+5);let G=this.codePointAtPos(f);if(this.chStartsBindingIdentifier(G,f))return this.expectPlugin("explicitResourceManagement"),!0}return!1}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(f=!1){let G=0;if(this.options.annexB&&!this.state.strict){if(G|=4,f)G|=8}return this.parseStatementLike(G)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(f){let G=null;if(this.match(26))G=this.parseDecorators(!0);return this.parseStatementContent(f,G)}parseStatementContent(f,G){let X=this.state.type,J=this.startNode(),W=!!(f&2),R=!!(f&4),V=f&1;switch(X){case 60:return this.parseBreakContinueStatement(J,!0);case 63:return this.parseBreakContinueStatement(J,!1);case 64:return this.parseDebuggerStatement(J);case 90:return this.parseDoWhileStatement(J);case 91:return this.parseForStatement(J);case 68:if(this.lookaheadCharCode()===46)break;if(!R)this.raise(this.state.strict?$.StrictFunction:this.options.annexB?$.SloppyFunctionAnnexB:$.SloppyFunction,this.state.startLoc);return this.parseFunctionStatement(J,!1,!W&&R);case 80:if(!W)this.unexpected();return this.parseClass(this.maybeTakeDecorators(G,J),!0);case 69:return this.parseIfStatement(J);case 70:return this.parseReturnStatement(J);case 71:return this.parseSwitchStatement(J);case 72:return this.parseThrowStatement(J);case 73:return this.parseTryStatement(J);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.recordAwaitIfAllowed())this.raise($.AwaitUsingNotInAsyncContext,J);else if(!W)this.raise($.UnexpectedLexicalDeclaration,J);return this.next(),this.parseVarStatement(J,"await using")}break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;if(this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel)this.raise($.UnexpectedUsingDeclaration,this.state.startLoc);else if(!W)this.raise($.UnexpectedLexicalDeclaration,this.state.startLoc);return this.parseVarStatement(J,"using");case 100:{if(this.state.containsEsc)break;let Q=this.nextTokenStart(),Y=this.codePointAtPos(Q);if(Y!==91){if(!W&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(Y,Q)&&Y!==123)break}}case 75:if(!W)this.raise($.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let Q=this.state.value;return this.parseVarStatement(J,Q)}case 92:return this.parseWhileStatement(J);case 76:return this.parseWithStatement(J);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(J);case 83:{let Q=this.lookaheadCharCode();if(Q===40||Q===46)break}case 82:{if(!(this.optionFlags&8)&&!V)this.raise($.UnexpectedImportExport,this.state.startLoc);this.next();let Q;if(X===83)Q=this.parseImport(J);else Q=this.parseExport(J,G);return this.assertModuleNodeAllowed(Q),Q}default:if(this.isAsyncFunction()){if(!W)this.raise($.AsyncFunctionInSingleStatementContext,this.state.startLoc);return this.next(),this.parseFunctionStatement(J,!0,!W&&R)}}let H=this.state.value,U=this.parseExpression();if($f(X)&&U.type==="Identifier"&&this.eat(14))return this.parseLabeledStatement(J,H,U,f);else return this.parseExpressionStatement(J,U,G)}assertModuleNodeAllowed(f){if(!(this.optionFlags&8)&&!this.inModule)this.raise($.ImportOutsideModule,f)}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return!0;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(f,G,X){if(f){var J;if((J=G.decorators)!=null&&J.length){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean")this.raise($.DecoratorsBeforeAfterExport,G.decorators[0]);G.decorators.unshift(...f)}else G.decorators=f;if(this.resetStartLocationFromNode(G,f[0]),X)this.resetStartLocationFromNode(X,G)}return G}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(f){let G=[];do G.push(this.parseDecorator());while(this.match(26));if(this.match(82)){if(!f)this.unexpected();if(!this.decoratorsEnabledBeforeExport())this.raise($.DecoratorExportClass,this.state.startLoc)}else if(!this.canHaveLeadingDecorator())throw this.raise($.UnexpectedLeadingDecorator,this.state.startLoc);return G}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let f=this.startNode();if(this.next(),this.hasPlugin("decorators")){let G=this.state.startLoc,X;if(this.match(10)){let J=this.state.startLoc;this.next(),X=this.parseExpression(),this.expect(11),X=this.wrapParenthesis(J,X);let W=this.state.startLoc;if(f.expression=this.parseMaybeDecoratorArguments(X,J),this.getPluginOption("decorators","allowCallParenthesized")===!1&&f.expression!==X)this.raise($.DecoratorArgumentsOutsideParentheses,W)}else{X=this.parseIdentifier(!1);while(this.eat(16)){let J=this.startNodeAt(G);if(J.object=X,this.match(139))this.classScope.usePrivateName(this.state.value,this.state.startLoc),J.property=this.parsePrivateName();else J.property=this.parseIdentifier(!0);J.computed=!1,X=this.finishNode(J,"MemberExpression")}f.expression=this.parseMaybeDecoratorArguments(X,G)}}else f.expression=this.parseExprSubscripts();return this.finishNode(f,"Decorator")}parseMaybeDecoratorArguments(f,G){if(this.eat(10)){let X=this.startNodeAt(G);return X.callee=f,X.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(X.arguments),this.finishNode(X,"CallExpression")}return f}parseBreakContinueStatement(f,G){if(this.next(),this.isLineTerminator())f.label=null;else f.label=this.parseIdentifier(),this.semicolon();return this.verifyBreakContinue(f,G),this.finishNode(f,G?"BreakStatement":"ContinueStatement")}verifyBreakContinue(f,G){let X;for(X=0;X<this.state.labels.length;++X){let J=this.state.labels[X];if(f.label==null||J.name===f.label.name){if(J.kind!=null&&(G||J.kind===1))break;if(f.label&&G)break}}if(X===this.state.labels.length){let J=G?"BreakStatement":"ContinueStatement";this.raise($.IllegalBreakContinue,f,{type:J})}}parseDebuggerStatement(f){return this.next(),this.semicolon(),this.finishNode(f,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let f=this.parseExpression();return this.expect(11),f}parseDoWhileStatement(f){return this.next(),this.state.labels.push(qW),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),f.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(f,"DoWhileStatement")}parseForStatement(f){this.next(),this.state.labels.push(qW);let G=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed())G=this.state.startLoc,this.next();if(this.scope.enter(0),this.expect(10),this.match(13)){if(G!==null)this.unexpected(G);return this.parseFor(f,null)}let X=this.isContextual(100);{let H=this.isContextual(96)&&this.startsAwaitUsing(),U=H||this.isContextual(107)&&this.startsUsingForOf(),Q=X&&this.hasFollowingBindingAtom()||U;if(this.match(74)||this.match(75)||Q){let Y=this.startNode(),S;if(H){if(S="await using",!this.recordAwaitIfAllowed())this.raise($.AwaitUsingNotInAsyncContext,this.state.startLoc);this.next()}else S=this.state.value;this.next(),this.parseVar(Y,!0,S);let C=this.finishNode(Y,"VariableDeclaration"),A=this.match(58);if(A&&U)this.raise($.ForInUsing,C);if((A||this.isContextual(102))&&C.declarations.length===1)return this.parseForIn(f,C,G);if(G!==null)this.unexpected(G);return this.parseFor(f,C)}}let J=this.isContextual(95),W=new JX,R=this.parseExpression(!0,W),V=this.isContextual(102);if(V){if(X)this.raise($.ForOfLet,R);if(G===null&&J&&R.type==="Identifier")this.raise($.ForOfAsync,R)}if(V||this.match(58)){this.checkDestructuringPrivate(W),this.toAssignable(R,!0);let H=V?"ForOfStatement":"ForInStatement";return this.checkLVal(R,{type:H}),this.parseForIn(f,R,G)}else this.checkExpressionErrors(W,!0);if(G!==null)this.unexpected(G);return this.parseFor(f,R)}parseFunctionStatement(f,G,X){return this.next(),this.parseFunction(f,1|(X?2:0)|(G?8:0))}parseIfStatement(f){return this.next(),f.test=this.parseHeaderExpression(),f.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),f.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(f,"IfStatement")}parseReturnStatement(f){if(!this.prodParam.hasReturn&&!(this.optionFlags&2))this.raise($.IllegalReturn,this.state.startLoc);if(this.next(),this.isLineTerminator())f.argument=null;else f.argument=this.parseExpression(),this.semicolon();return this.finishNode(f,"ReturnStatement")}parseSwitchStatement(f){this.next(),f.discriminant=this.parseHeaderExpression();let G=f.cases=[];this.expect(5),this.state.labels.push(T6f),this.scope.enter(0);let X;for(let J;!this.match(8);)if(this.match(61)||this.match(65)){let W=this.match(61);if(X)this.finishNode(X,"SwitchCase");if(G.push(X=this.startNode()),X.consequent=[],this.next(),W)X.test=this.parseExpression();else{if(J)this.raise($.MultipleDefaultsInSwitch,this.state.lastTokStartLoc);J=!0,X.test=null}this.expect(14)}else if(X)X.consequent.push(this.parseStatementListItem());else this.unexpected();if(this.scope.exit(),X)this.finishNode(X,"SwitchCase");return this.next(),this.state.labels.pop(),this.finishNode(f,"SwitchStatement")}parseThrowStatement(f){if(this.next(),this.hasPrecedingLineBreak())this.raise($.NewlineAfterThrow,this.state.lastTokEndLoc);return f.argument=this.parseExpression(),this.semicolon(),this.finishNode(f,"ThrowStatement")}parseCatchClauseParam(){let f=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&f.type==="Identifier"?8:0),this.checkLVal(f,{type:"CatchClause"},9),f}parseTryStatement(f){if(this.next(),f.block=this.parseBlock(),f.handler=null,this.match(62)){let G=this.startNode();if(this.next(),this.match(10))this.expect(10),G.param=this.parseCatchClauseParam(),this.expect(11);else G.param=null,this.scope.enter(0);G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),f.handler=this.finishNode(G,"CatchClause")}if(f.finalizer=this.eat(67)?this.parseBlock():null,!f.handler&&!f.finalizer)this.raise($.NoCatchOrFinally,f);return this.finishNode(f,"TryStatement")}parseVarStatement(f,G,X=!1){return this.next(),this.parseVar(f,!1,G,X),this.semicolon(),this.finishNode(f,"VariableDeclaration")}parseWhileStatement(f){return this.next(),f.test=this.parseHeaderExpression(),this.state.labels.push(qW),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(f,"WhileStatement")}parseWithStatement(f){if(this.state.strict)this.raise($.StrictWith,this.state.startLoc);return this.next(),f.object=this.parseHeaderExpression(),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(f,"WithStatement")}parseEmptyStatement(f){return this.next(),this.finishNode(f,"EmptyStatement")}parseLabeledStatement(f,G,X,J){for(let R of this.state.labels)if(R.name===G)this.raise($.LabelRedeclaration,X,{labelName:G});let W=vWf(this.state.type)?1:this.match(71)?2:null;for(let R=this.state.labels.length-1;R>=0;R--){let V=this.state.labels[R];if(V.statementStart===f.start)V.statementStart=this.sourceToOffsetPos(this.state.start),V.kind=W;else break}return this.state.labels.push({name:G,kind:W,statementStart:this.sourceToOffsetPos(this.state.start)}),f.body=J&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),f.label=X,this.finishNode(f,"LabeledStatement")}parseExpressionStatement(f,G,X){return f.expression=G,this.semicolon(),this.finishNode(f,"ExpressionStatement")}parseBlock(f=!1,G=!0,X){let J=this.startNode();if(f)this.state.strictErrors.clear();if(this.expect(5),G)this.scope.enter(0);if(this.parseBlockBody(J,f,!1,8,X),G)this.scope.exit();return this.finishNode(J,"BlockStatement")}isValidDirective(f){return f.type==="ExpressionStatement"&&f.expression.type==="StringLiteral"&&!f.expression.extra.parenthesized}parseBlockBody(f,G,X,J,W){let R=f.body=[],V=f.directives=[];this.parseBlockOrModuleBlockBody(R,G?V:void 0,X,J,W)}parseBlockOrModuleBlockBody(f,G,X,J,W){let R=this.state.strict,V=!1,H=!1;while(!this.match(J)){let U=X?this.parseModuleItem():this.parseStatementListItem();if(G&&!H){if(this.isValidDirective(U)){let Q=this.stmtToDirective(U);if(G.push(Q),!V&&Q.value.value==="use strict")V=!0,this.setStrict(!0);continue}H=!0,this.state.strictErrors.clear()}f.push(U)}if(W==null||W.call(this,V),!R)this.setStrict(!1);this.next()}parseFor(f,G){return f.init=G,this.semicolon(!1),f.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),f.update=this.match(11)?null:this.parseExpression(),this.expect(11),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(f,"ForStatement")}parseForIn(f,G,X){let J=this.match(58);if(this.next(),J){if(X!==null)this.unexpected(X)}else f.await=X!==null;if(G.type==="VariableDeclaration"&&G.declarations[0].init!=null&&(!J||!this.options.annexB||this.state.strict||G.kind!=="var"||G.declarations[0].id.type!=="Identifier"))this.raise($.ForInOfLoopInitializer,G,{type:J?"ForInStatement":"ForOfStatement"});if(G.type==="AssignmentPattern")this.raise($.InvalidLhs,G,{ancestor:{type:"ForStatement"}});return f.left=G,f.right=J?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),f.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(f,J?"ForInStatement":"ForOfStatement")}parseVar(f,G,X,J=!1){let W=f.declarations=[];f.kind=X;for(;;){let R=this.startNode();if(this.parseVarId(R,X),R.init=!this.eat(29)?null:G?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn(),R.init===null&&!J){if(R.id.type!=="Identifier"&&!(G&&(this.match(58)||this.isContextual(102))))this.raise($.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"});else if((X==="const"||X==="using"||X==="await using")&&!(this.match(58)||this.isContextual(102)))this.raise($.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:X})}if(W.push(this.finishNode(R,"VariableDeclarator")),!this.eat(12))break}return f}parseVarId(f,G){let X=this.parseBindingAtom();if(G==="using"||G==="await using"){if(X.type==="ArrayPattern"||X.type==="ObjectPattern")this.raise($.UsingDeclarationHasBindingPattern,X.loc.start)}this.checkLVal(X,{type:"VariableDeclarator"},G==="var"?5:8201),f.id=X}parseAsyncFunctionExpression(f){return this.parseFunction(f,8)}parseFunction(f,G=0){let X=G&2,J=!!(G&1),W=J&&!(G&4),R=!!(G&8);if(this.initFunction(f,R),this.match(55)){if(X)this.raise($.GeneratorInSingleStatementContext,this.state.startLoc);this.next(),f.generator=!0}if(J)f.id=this.parseFunctionId(W);let V=this.state.maybeInArrowParameters;if(this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(R2(R,f.generator)),!J)f.id=this.parseFunctionId();if(this.parseFunctionParams(f,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(f,J?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),J&&!X)this.registerFunctionStatementId(f);return this.state.maybeInArrowParameters=V,f}parseFunctionId(f){return f||$f(this.state.type)?this.parseIdentifier():null}parseFunctionParams(f,G){this.expect(10),this.expressionScope.enter(W6f()),f.params=this.parseBindingList(11,41,2|(G?4:0)),this.expressionScope.exit()}registerFunctionStatementId(f){if(!f.id)return;this.scope.declareName(f.id.name,!this.options.annexB||this.state.strict||f.generator||f.async?this.scope.treatFunctionsAsVar?5:8201:17,f.id.loc.start)}parseClass(f,G,X){this.next();let J=this.state.strict;return this.state.strict=!0,this.parseClassId(f,G,X),this.parseClassSuper(f),f.body=this.parseClassBody(!!f.superClass,J),this.finishNode(f,G?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(f){return f.type==="Identifier"&&f.name==="constructor"||f.type==="StringLiteral"&&f.value==="constructor"}isNonstaticConstructor(f){return!f.computed&&!f.static&&this.nameIsConstructor(f.key)}parseClassBody(f,G){this.classScope.enter();let X={hadConstructor:!1,hadSuperClass:f},J=[],W=this.startNode();if(W.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(8)){if(this.eat(13)){if(J.length>0)throw this.raise($.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){J.push(this.parseDecorator());continue}let R=this.startNode();if(J.length)R.decorators=J,this.resetStartLocationFromNode(R,J[0]),J=[];if(this.parseClassMember(W,R,X),R.kind==="constructor"&&R.decorators&&R.decorators.length>0)this.raise($.DecoratorConstructor,R)}}),this.state.strict=G,this.next(),J.length)throw this.raise($.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(W,"ClassBody")}parseClassMemberFromModifier(f,G){let X=this.parseIdentifier(!0);if(this.isClassMethod()){let J=G;return J.kind="method",J.computed=!1,J.key=X,J.static=!1,this.pushClassMethod(f,J,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let J=G;return J.computed=!1,J.key=X,J.static=!1,f.body.push(this.parseClassProperty(J)),!0}return this.resetPreviousNodeTrailingComments(X),!1}parseClassMember(f,G,X){let J=this.isContextual(106);if(J){if(this.parseClassMemberFromModifier(f,G))return;if(this.eat(5)){this.parseClassStaticBlock(f,G);return}}this.parseClassMemberWithIsStatic(f,G,X,J)}parseClassMemberWithIsStatic(f,G,X,J){let W=G,R=G,V=G,H=G,U=G,Q=W,Y=W;if(G.static=J,this.parsePropertyNamePrefixOperator(G),this.eat(55)){Q.kind="method";let P=this.match(139);if(this.parseClassElementName(Q),P){this.pushClassPrivateMethod(f,R,!0,!1);return}if(this.isNonstaticConstructor(W))this.raise($.ConstructorIsGenerator,W.key);this.pushClassMethod(f,W,!0,!1,!1,!1);return}let S=!this.state.containsEsc&&$f(this.state.type),C=this.parseClassElementName(G),A=S?C.name:null,O=this.isPrivateName(C),b=this.state.startLoc;if(this.parsePostMemberNameModifiers(Y),this.isClassMethod()){if(Q.kind="method",O){this.pushClassPrivateMethod(f,R,!1,!1);return}let P=this.isNonstaticConstructor(W),L=!1;if(P){if(W.kind="constructor",X.hadConstructor&&!this.hasPlugin("typescript"))this.raise($.DuplicateConstructor,C);if(P&&this.hasPlugin("typescript")&&G.override)this.raise($.OverrideOnConstructor,C);X.hadConstructor=!0,L=X.hadSuperClass}this.pushClassMethod(f,W,!1,!1,P,L)}else if(this.isClassProperty())if(O)this.pushClassPrivateProperty(f,H);else this.pushClassProperty(f,V);else if(A==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(C);let P=this.eat(55);if(Y.optional)this.unexpected(b);Q.kind="method";let L=this.match(139);if(this.parseClassElementName(Q),this.parsePostMemberNameModifiers(Y),L)this.pushClassPrivateMethod(f,R,P,!0);else{if(this.isNonstaticConstructor(W))this.raise($.ConstructorIsAsync,W.key);this.pushClassMethod(f,W,P,!0,!1,!1)}}else if((A==="get"||A==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(C),Q.kind=A;let P=this.match(139);if(this.parseClassElementName(W),P)this.pushClassPrivateMethod(f,R,!1,!1);else{if(this.isNonstaticConstructor(W))this.raise($.ConstructorIsAccessor,W.key);this.pushClassMethod(f,W,!1,!1,!1,!1)}this.checkGetterSetterParams(W)}else if(A==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(C);let P=this.match(139);this.parseClassElementName(V),this.pushClassAccessorProperty(f,U,P)}else if(this.isLineTerminator())if(O)this.pushClassPrivateProperty(f,H);else this.pushClassProperty(f,V);else this.unexpected()}parseClassElementName(f){let{type:G,value:X}=this.state;if((G===132||G===134)&&f.static&&X==="prototype")this.raise($.StaticPrototype,this.state.startLoc);if(G===139){if(X==="constructor")this.raise($.ConstructorClassPrivateField,this.state.startLoc);let J=this.parsePrivateName();return f.key=J,J}return this.parsePropertyName(f),f.key}parseClassStaticBlock(f,G){var X;this.scope.enter(208);let J=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let W=G.body=[];if(this.parseBlockOrModuleBlockBody(W,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=J,f.body.push(this.finishNode(G,"StaticBlock")),(X=G.decorators)!=null&&X.length)this.raise($.DecoratorStaticBlock,G)}pushClassProperty(f,G){if(!G.computed&&this.nameIsConstructor(G.key))this.raise($.ConstructorClassField,G.key);f.body.push(this.parseClassProperty(G))}pushClassPrivateProperty(f,G){let X=this.parseClassPrivateProperty(G);f.body.push(X),this.classScope.declarePrivateName(this.getPrivateNameSV(X.key),0,X.key.loc.start)}pushClassAccessorProperty(f,G,X){if(!X&&!G.computed&&this.nameIsConstructor(G.key))this.raise($.ConstructorClassField,G.key);let J=this.parseClassAccessorProperty(G);if(f.body.push(J),X)this.classScope.declarePrivateName(this.getPrivateNameSV(J.key),0,J.key.loc.start)}pushClassMethod(f,G,X,J,W,R){f.body.push(this.parseMethod(G,X,J,W,R,"ClassMethod",!0))}pushClassPrivateMethod(f,G,X,J){let W=this.parseMethod(G,X,J,!1,!1,"ClassPrivateMethod",!0);f.body.push(W);let R=W.kind==="get"?W.static?6:2:W.kind==="set"?W.static?5:1:0;this.declareClassPrivateMethodInScope(W,R)}declareClassPrivateMethodInScope(f,G){this.classScope.declarePrivateName(this.getPrivateNameSV(f.key),G,f.key.loc.start)}parsePostMemberNameModifiers(f){}parseClassPrivateProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassPrivateProperty")}parseClassProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassProperty")}parseClassAccessorProperty(f){return this.parseInitializer(f),this.semicolon(),this.finishNode(f,"ClassAccessorProperty")}parseInitializer(f){this.scope.enter(80),this.expressionScope.enter(r8()),this.prodParam.enter(0),f.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(f,G,X,J=8331){if($f(this.state.type)){if(f.id=this.parseIdentifier(),G)this.declareNameFromIdentifier(f.id,J)}else if(X||!G)f.id=null;else throw this.raise($.MissingClassName,this.state.startLoc)}parseClassSuper(f){f.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(f,G){let X=this.parseMaybeImportPhase(f,!0),J=this.maybeParseExportDefaultSpecifier(f,X),W=!J||this.eat(12),R=W&&this.eatExportStar(f),V=R&&this.maybeParseExportNamespaceSpecifier(f),H=W&&(!V||this.eat(12)),U=J||R;if(R&&!V){if(J)this.unexpected();if(G)throw this.raise($.UnsupportedDecoratorExport,f);return this.parseExportFrom(f,!0),this.sawUnambiguousESM=!0,this.finishNode(f,"ExportAllDeclaration")}let Q=this.maybeParseExportNamedSpecifiers(f);if(J&&W&&!R&&!Q)this.unexpected(null,5);if(V&&H)this.unexpected(null,98);let Y;if(U||Q){if(Y=!1,G)throw this.raise($.UnsupportedDecoratorExport,f);this.parseExportFrom(f,U)}else Y=this.maybeParseExportDeclaration(f);if(U||Q||Y){var S;let C=f;if(this.checkExport(C,!0,!1,!!C.source),((S=C.declaration)==null?void 0:S.type)==="ClassDeclaration")this.maybeTakeDecorators(G,C.declaration,C);else if(G)throw this.raise($.UnsupportedDecoratorExport,f);return this.sawUnambiguousESM=!0,this.finishNode(C,"ExportNamedDeclaration")}if(this.eat(65)){let C=f,A=this.parseExportDefaultExpression();if(C.declaration=A,A.type==="ClassDeclaration")this.maybeTakeDecorators(G,A,C);else if(G)throw this.raise($.UnsupportedDecoratorExport,f);return this.checkExport(C,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(C,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(f){return this.eat(55)}maybeParseExportDefaultSpecifier(f,G){if(G||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",G==null?void 0:G.loc.start);let X=G||this.parseIdentifier(!0),J=this.startNodeAtNode(X);return J.exported=X,f.specifiers=[this.finishNode(J,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(f){if(this.isContextual(93)){var G,X;(X=(G=f).specifiers)!=null||(G.specifiers=[]);let J=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),J.exported=this.parseModuleExportName(),f.specifiers.push(this.finishNode(J,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(f){if(this.match(5)){let G=f;if(!G.specifiers)G.specifiers=[];let X=G.exportKind==="type";if(G.specifiers.push(...this.parseExportSpecifiers(X)),G.source=null,this.hasPlugin("importAssertions"))G.assertions=[];else G.attributes=[];return G.declaration=null,!0}return!1}maybeParseExportDeclaration(f){if(this.shouldParseExportDeclaration()){if(f.specifiers=[],f.source=null,this.hasPlugin("importAssertions"))f.assertions=[];else f.attributes=[];return f.declaration=this.parseExportDeclaration(f),!0}return!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let f=this.nextTokenInLineStart();return this.isUnparsedContextual(f,"function")}parseExportDefaultExpression(){let f=this.startNode();if(this.match(68))return this.next(),this.parseFunction(f,5);else if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(f,13);if(this.match(80))return this.parseClass(f,!0,!0);if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise($.DecoratorBeforeExport,this.state.startLoc);return this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0)}if(this.match(75)||this.match(74)||this.isLet())throw this.raise($.UnsupportedDefaultExport,this.state.startLoc);let G=this.parseMaybeAssignAllowIn();return this.semicolon(),G}parseExportDeclaration(f){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:f}=this.state;if($f(f)){if(f===95&&!this.state.containsEsc||f===100)return!1;if((f===130||f===129)&&!this.state.containsEsc){let{type:J}=this.lookahead();if($f(J)&&J!==98||J===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let G=this.nextTokenStart(),X=this.isUnparsedContextual(G,"from");if(this.input.charCodeAt(G)===44||$f(this.state.type)&&X)return!0;if(this.match(65)&&X){let J=this.input.charCodeAt(this.nextTokenStartSince(G+4));return J===34||J===39}return!1}parseExportFrom(f,G){if(this.eatContextual(98))f.source=this.parseImportSource(),this.checkExport(f),this.maybeParseImportAttributes(f),this.checkJSONModuleImport(f);else if(G)this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:f}=this.state;if(f===26){if(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise($.DecoratorBeforeExport,this.state.startLoc);return!0}}if(this.isContextual(107))return this.raise($.UsingDeclarationExport,this.state.startLoc),!0;if(this.isContextual(96)&&this.startsAwaitUsing())return this.raise($.UsingDeclarationExport,this.state.startLoc),!0;return f===74||f===75||f===68||f===80||this.isLet()||this.isAsyncFunction()}checkExport(f,G,X,J){if(G){var W;if(X){if(this.checkDuplicateExports(f,"default"),this.hasPlugin("exportDefaultFrom")){var R;let V=f.declaration;if(V.type==="Identifier"&&V.name==="from"&&V.end-V.start===4&&!((R=V.extra)!=null&&R.parenthesized))this.raise($.ExportDefaultFromAsIdentifier,V)}}else if((W=f.specifiers)!=null&&W.length)for(let V of f.specifiers){let{exported:H}=V,U=H.type==="Identifier"?H.name:H.value;if(this.checkDuplicateExports(V,U),!J&&V.local){let{local:Q}=V;if(Q.type!=="Identifier")this.raise($.ExportBindingIsString,V,{localName:Q.value,exportName:U});else this.checkReservedWord(Q.name,Q.loc.start,!0,!1),this.scope.checkLocalExport(Q)}}else if(f.declaration){let V=f.declaration;if(V.type==="FunctionDeclaration"||V.type==="ClassDeclaration"){let{id:H}=V;if(!H)throw new Error("Assertion failure");this.checkDuplicateExports(f,H.name)}else if(V.type==="VariableDeclaration")for(let H of V.declarations)this.checkDeclaration(H.id)}}}checkDeclaration(f){if(f.type==="Identifier")this.checkDuplicateExports(f,f.name);else if(f.type==="ObjectPattern")for(let G of f.properties)this.checkDeclaration(G);else if(f.type==="ArrayPattern"){for(let G of f.elements)if(G)this.checkDeclaration(G)}else if(f.type==="ObjectProperty")this.checkDeclaration(f.value);else if(f.type==="RestElement")this.checkDeclaration(f.argument);else if(f.type==="AssignmentPattern")this.checkDeclaration(f.left)}checkDuplicateExports(f,G){if(this.exportedIdentifiers.has(G))if(G==="default")this.raise($.DuplicateDefaultExport,f);else this.raise($.DuplicateExport,f,{exportName:G});this.exportedIdentifiers.add(G)}parseExportSpecifiers(f){let G=[],X=!0;this.expect(5);while(!this.eat(8)){if(X)X=!1;else if(this.expect(12),this.eat(8))break;let J=this.isContextual(130),W=this.match(134),R=this.startNode();R.local=this.parseModuleExportName(),G.push(this.parseExportSpecifier(R,W,f,J))}return G}parseExportSpecifier(f,G,X,J){if(this.eatContextual(93))f.exported=this.parseModuleExportName();else if(G)f.exported=U6f(f.local);else if(!f.exported)f.exported=LG(f.local);return this.finishNode(f,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let f=this.parseStringLiteral(this.state.value),G=L6f.exec(f.value);if(G)this.raise($.ModuleExportNameHasLoneSurrogate,f,{surrogateCharCode:G[0].charCodeAt(0)});return f}return this.parseIdentifier(!0)}isJSONModuleImport(f){if(f.assertions!=null)return f.assertions.some(({key:G,value:X})=>{return X.value==="json"&&(G.type==="Identifier"?G.name==="type":G.value==="type")});return!1}checkImportReflection(f){let{specifiers:G}=f,X=G.length===1?G[0].type:null;if(f.phase==="source"){if(X!=="ImportDefaultSpecifier")this.raise($.SourcePhaseImportRequiresDefault,G[0].loc.start)}else if(f.phase==="defer"){if(X!=="ImportNamespaceSpecifier")this.raise($.DeferImportRequiresNamespace,G[0].loc.start)}else if(f.module){var J;if(X!=="ImportDefaultSpecifier")this.raise($.ImportReflectionNotBinding,G[0].loc.start);if(((J=f.assertions)==null?void 0:J.length)>0)this.raise($.ImportReflectionHasAssertion,G[0].loc.start)}}checkJSONModuleImport(f){if(this.isJSONModuleImport(f)&&f.type!=="ExportAllDeclaration"){let{specifiers:G}=f;if(G!=null){let X=G.find((J)=>{let W;if(J.type==="ExportSpecifier")W=J.local;else if(J.type==="ImportSpecifier")W=J.imported;if(W!==void 0)return W.type==="Identifier"?W.name!=="default":W.value!=="default"});if(X!==void 0)this.raise($.ImportJSONBindingNotDefault,X.loc.start)}}}isPotentialImportPhase(f){if(f)return!1;return this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(f,G,X,J){if(G)return;if(X==="module")this.expectPlugin("importReflection",J),f.module=!0;else if(this.hasPlugin("importReflection"))f.module=!1;if(X==="source")this.expectPlugin("sourcePhaseImports",J),f.phase="source";else if(X==="defer")this.expectPlugin("deferredImportEvaluation",J),f.phase="defer";else if(this.hasPlugin("sourcePhaseImports"))f.phase=null}parseMaybeImportPhase(f,G){if(!this.isPotentialImportPhase(G))return this.applyImportPhase(f,G,null),null;let X=this.parseIdentifier(!0),{type:J}=this.state;if(UG(J)?J!==98||this.lookaheadCharCode()===102:J!==12)return this.resetPreviousIdentifierLeadingComments(X),this.applyImportPhase(f,G,X.name,X.loc.start),null;else return this.applyImportPhase(f,G,null),X}isPrecedingIdImportPhase(f){let{type:G}=this.state;return $f(G)?G!==98||this.lookaheadCharCode()===102:G!==12}parseImport(f){if(this.match(134))return this.parseImportSourceAndAttributes(f);return this.parseImportSpecifiersAndAfter(f,this.parseMaybeImportPhase(f,!1))}parseImportSpecifiersAndAfter(f,G){f.specifiers=[];let J=!this.maybeParseDefaultImportSpecifier(f,G)||this.eat(12),W=J&&this.maybeParseStarImportSpecifier(f);if(J&&!W)this.parseNamedImportSpecifiers(f);return this.expectContextual(98),this.parseImportSourceAndAttributes(f)}parseImportSourceAndAttributes(f){var G;return(G=f.specifiers)!=null||(f.specifiers=[]),f.source=this.parseImportSource(),this.maybeParseImportAttributes(f),this.checkImportReflection(f),this.checkJSONModuleImport(f),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(f,"ImportDeclaration")}parseImportSource(){if(!this.match(134))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(f,G,X){G.local=this.parseIdentifier(),f.specifiers.push(this.finishImportSpecifier(G,X))}finishImportSpecifier(f,G,X=8201){return this.checkLVal(f.local,{type:G},X),this.finishNode(f,G)}parseImportAttributes(){this.expect(5);let f=[],G=new Set;do{if(this.match(8))break;let X=this.startNode(),J=this.state.value;if(G.has(J))this.raise($.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:J});if(G.add(J),this.match(134))X.key=this.parseStringLiteral(J);else X.key=this.parseIdentifier(!0);if(this.expect(14),!this.match(134))throw this.raise($.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),f.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return this.expect(8),f}parseModuleAttributes(){let f=[],G=new Set;do{let X=this.startNode();if(X.key=this.parseIdentifier(!0),X.key.name!=="type")this.raise($.ModuleAttributeDifferentFromType,X.key);if(G.has(X.key.name))this.raise($.ModuleAttributesWithDuplicateKeys,X.key,{key:X.key.name});if(G.add(X.key.name),this.expect(14),!this.match(134))throw this.raise($.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),f.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return f}maybeParseImportAttributes(f){let G;var X=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;if(this.next(),this.hasPlugin("moduleAttributes"))G=this.parseModuleAttributes();else G=this.parseImportAttributes();X=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions"))this.raise($.ImportAttributesUseAssert,this.state.startLoc);if(!this.hasPlugin("importAssertions"))this.addExtra(f,"deprecatedAssertSyntax",!0);this.next(),G=this.parseImportAttributes()}else G=[];if(!X&&this.hasPlugin("importAssertions"))f.assertions=G;else f.attributes=G}maybeParseDefaultImportSpecifier(f,G){if(G){let X=this.startNodeAtNode(G);return X.local=G,f.specifiers.push(this.finishImportSpecifier(X,"ImportDefaultSpecifier")),!0}else if(UG(this.state.type))return this.parseImportSpecifierLocal(f,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(f){if(this.match(55)){let G=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(f,G,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(f){let G=!0;this.expect(5);while(!this.eat(8)){if(G)G=!1;else{if(this.eat(14))throw this.raise($.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let X=this.startNode(),J=this.match(134),W=this.isContextual(130);X.imported=this.parseModuleExportName();let R=this.parseImportSpecifier(X,J,f.importKind==="type"||f.importKind==="typeof",W,void 0);f.specifiers.push(R)}}parseImportSpecifier(f,G,X,J,W){if(this.eatContextual(93))f.local=this.parseIdentifier();else{let{imported:R}=f;if(G)throw this.raise($.ImportBindingIsString,f,{importName:R.value});if(this.checkReservedWord(R.name,f.loc.start,!0,!0),!f.local)f.local=LG(R)}return this.finishImportSpecifier(f,"ImportSpecifier",W)}isThisParam(f){return f.type==="Identifier"&&f.name==="this"}}class uW extends W4{constructor(f,G,X){f=PWf(f);super(f,G);this.options=f,this.initializeScopes(),this.plugins=X,this.filename=f.sourceFilename,this.startIndex=f.startIndex;let J=0;if(f.allowAwaitOutsideFunction)J|=1;if(f.allowReturnOutsideFunction)J|=2;if(f.allowImportExportEverywhere)J|=8;if(f.allowSuperOutsideMethod)J|=16;if(f.allowUndeclaredExports)J|=32;if(f.allowNewTargetOutsideFunction)J|=4;if(f.ranges)J|=64;if(f.tokens)J|=128;if(f.createImportExpressions)J|=256;if(f.createParenthesizedExpressions)J|=512;if(f.errorRecovery)J|=1024;if(f.attachComment)J|=2048;if(f.annexB)J|=4096;this.optionFlags=J}getScopeHandler(){return U2}parse(){this.enterInitialScopes();let f=this.startNode(),G=this.startNode();return this.nextToken(),f.errors=null,this.parseTopLevel(f,G),f.errors=this.state.errors,f.comments.length=this.state.commentsLen,f}}function w6f(f,G){var X;if(((X=G)==null?void 0:X.sourceType)==="unambiguous"){G=Object.assign({},G);try{G.sourceType="module";let J=GX(G,f),W=J.parse();if(J.sawUnambiguousESM)return W;if(J.ambiguousScriptDifferentAst)try{return G.sourceType="script",GX(G,f).parse()}catch(R){}else W.program.sourceType="script";return W}catch(J){try{return G.sourceType="script",GX(G,f).parse()}catch(W){}throw J}}else return GX(G,f).parse()}function E6f(f,G){let X=GX(G,f);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function k6f(f){let G={};for(let X of Object.keys(f))G[X]=OG(f[X]);return G}var v6f=k6f(bWf);function GX(f,G){let X=uW,J=new Map;if(f!=null&&f.plugins){for(let W of f.plugins){let R,V;if(typeof W==="string")R=W;else[R,V]=W;if(!J.has(R))J.set(R,V||{})}P6f(J),X=g6f(J)}return new X(f,G,J)}var N8=new Map;function g6f(f){let G=[];for(let W of N6f)if(f.has(W))G.push(W);let X=G.join("|"),J=N8.get(X);if(!J){J=uW;for(let W of G)J=X4[W](J);N8.set(X,J)}return J}R4.parse=w6f;R4.parseExpression=E6f;R4.tokTypes=v6f});var hW=D((V4)=>{Object.defineProperty(V4,"__esModule",{value:!0});V4.Var=V4.User=V4.Statement=V4.SpreadProperty=V4.Scope=V4.RestProperty=V4.ReferencedMemberExpression=V4.ReferencedIdentifier=V4.Referenced=V4.Pure=V4.NumericLiteralTypeAnnotation=V4.Generated=V4.ForAwaitStatement=V4.Flow=V4.Expression=V4.ExistentialTypeParam=V4.BlockScoped=V4.BindingIdentifier=void 0;var nKf=V4.ReferencedIdentifier=["Identifier","JSXIdentifier"],oKf=V4.ReferencedMemberExpression=["MemberExpression"],eKf=V4.BindingIdentifier=["Identifier"],fFf=V4.Statement=["Statement"],GFf=V4.Expression=["Expression"],XFf=V4.Scope=["Scopable","Pattern"],JFf=V4.Referenced=null,WFf=V4.BlockScoped=null,RFf=V4.Var=["VariableDeclaration"],VFf=V4.User=null,HFf=V4.Generated=null,UFf=V4.Pure=null,QFf=V4.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],ZFf=V4.RestProperty=["RestElement"],YFf=V4.SpreadProperty=["RestElement"],zFf=V4.ExistentialTypeParam=["ExistsTypeAnnotation"],BFf=V4.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],MFf=V4.ForAwaitStatement=["ForOfStatement"]});var Q4=D((FFf,U4)=>{var j1=1000,O1=j1*60,D1=O1*60,eG=D1*24,XRf=eG*7,JRf=eG*365.25;U4.exports=function(f,G){G=G||{};var X=typeof f;if(X==="string"&&f.length>0)return WRf(f);else if(X==="number"&&isFinite(f))return G.long?VRf(f):RRf(f);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(f))};function WRf(f){if(f=String(f),f.length>100)return;var G=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(f);if(!G)return;var X=parseFloat(G[1]),J=(G[2]||"ms").toLowerCase();switch(J){case"years":case"year":case"yrs":case"yr":case"y":return X*JRf;case"weeks":case"week":case"w":return X*XRf;case"days":case"day":case"d":return X*eG;case"hours":case"hour":case"hrs":case"hr":case"h":return X*D1;case"minutes":case"minute":case"mins":case"min":case"m":return X*O1;case"seconds":case"second":case"secs":case"sec":case"s":return X*j1;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function RRf(f){var G=Math.abs(f);if(G>=eG)return Math.round(f/eG)+"d";if(G>=D1)return Math.round(f/D1)+"h";if(G>=O1)return Math.round(f/O1)+"m";if(G>=j1)return Math.round(f/j1)+"s";return f+"ms"}function VRf(f){var G=Math.abs(f);if(G>=eG)return Z2(f,G,eG,"day");if(G>=D1)return Z2(f,G,D1,"hour");if(G>=O1)return Z2(f,G,O1,"minute");if(G>=j1)return Z2(f,G,j1,"second");return f+" ms"}function Z2(f,G,X,J){var W=G>=X*1.5;return Math.round(f/X)+" "+J+(W?"s":"")}});var yW=D((SFf,Z4)=>{function HRf(f){X.debug=X,X.default=X,X.coerce=U,X.disable=V,X.enable=W,X.enabled=H,X.humanize=Q4(),X.destroy=Q,Object.keys(f).forEach((Y)=>{X[Y]=f[Y]}),X.names=[],X.skips=[],X.formatters={};function G(Y){let S=0;for(let C=0;C<Y.length;C++)S=(S<<5)-S+Y.charCodeAt(C),S|=0;return X.colors[Math.abs(S)%X.colors.length]}X.selectColor=G;function X(Y){let S,C=null,A,O;function b(...P){if(!b.enabled)return;let L=b,w=Number(new Date),Xf=w-(S||w);if(L.diff=Xf,L.prev=S,L.curr=w,S=w,P[0]=X.coerce(P[0]),typeof P[0]!=="string")P.unshift("%O");let p=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,(Kf,bf)=>{if(Kf==="%%")return"%";p++;let Ef=X.formatters[bf];if(typeof Ef==="function"){let y=P[p];Kf=Ef.call(L,y),P.splice(p,1),p--}return Kf}),X.formatArgs.call(L,P),(L.log||X.log).apply(L,P)}if(b.namespace=Y,b.useColors=X.useColors(),b.color=X.selectColor(Y),b.extend=J,b.destroy=X.destroy,Object.defineProperty(b,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(C!==null)return C;if(A!==X.namespaces)A=X.namespaces,O=X.enabled(Y);return O},set:(P)=>{C=P}}),typeof X.init==="function")X.init(b);return b}function J(Y,S){let C=X(this.namespace+(typeof S==="undefined"?":":S)+Y);return C.log=this.log,C}function W(Y){X.save(Y),X.namespaces=Y,X.names=[],X.skips=[];let S=(typeof Y==="string"?Y:"").trim().replace(" ",",").split(",").filter(Boolean);for(let C of S)if(C[0]==="-")X.skips.push(C.slice(1));else X.names.push(C)}function R(Y,S){let C=0,A=0,O=-1,b=0;while(C<Y.length)if(A<S.length&&(S[A]===Y[C]||S[A]==="*"))if(S[A]==="*")O=A,b=C,A++;else C++,A++;else if(O!==-1)A=O+1,b++,C=b;else return!1;while(A<S.length&&S[A]==="*")A++;return A===S.length}function V(){let Y=[...X.names,...X.skips.map((S)=>"-"+S)].join(",");return X.enable(""),Y}function H(Y){for(let S of X.skips)if(R(Y,S))return!1;for(let S of X.names)if(R(Y,S))return!0;return!1}function U(Y){if(Y instanceof Error)return Y.stack||Y.message;return Y}function Q(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return X.enable(X.load()),X}Z4.exports=HRf});var z4=D((Y4,z2)=>{Y4.formatArgs=QRf;Y4.save=ZRf;Y4.load=YRf;Y4.useColors=URf;Y4.storage=zRf();Y4.destroy=(()=>{let f=!1;return()=>{if(!f)f=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}})();Y4.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function URf(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let f;return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&(f=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(f[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function QRf(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+z2.exports.humanize(this.diff),!this.useColors)return;let G="color: "+this.color;f.splice(1,0,G,"color: inherit");let X=0,J=0;f[0].replace(/%[a-zA-Z%]/g,(W)=>{if(W==="%%")return;if(X++,W==="%c")J=X}),f.splice(J,0,G)}Y4.log=console.debug||console.log||(()=>{});function ZRf(f){try{if(f)Y4.storage.setItem("debug",f);else Y4.storage.removeItem("debug")}catch(G){}}function YRf(){let f;try{f=Y4.storage.getItem("debug")}catch(G){}if(!f&&typeof process!=="undefined"&&"env"in process)f=process.env.DEBUG;return f}function zRf(){try{return localStorage}catch(f){}}z2.exports=yW()(Y4);var{formatters:BRf}=z2.exports;BRf.j=function(f){try{return JSON.stringify(f)}catch(G){return"[UnexpectedJSONParseError]: "+G.message}}});var M4={};H5(M4,{default:()=>PRf,createSupportsColor:()=>xW});import mW from"process";import ARf from"os";import B4 from"tty";function XG(f,G=globalThis.Deno?globalThis.Deno.args:mW.argv){let X=f.startsWith("-")?"":f.length===1?"-":"--",J=G.indexOf(X+f),W=G.indexOf("--");return J!==-1&&(W===-1||J<W)}function jRf(){if("FORCE_COLOR"in Pf){if(Pf.FORCE_COLOR==="true")return 1;if(Pf.FORCE_COLOR==="false")return 0;return Pf.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Pf.FORCE_COLOR,10),3)}}function ORf(f){if(f===0)return!1;return{level:f,hasBasic:!0,has256:f>=2,has16m:f>=3}}function DRf(f,{streamIsTTY:G,sniffFlags:X=!0}={}){let J=jRf();if(J!==void 0)B2=J;let W=X?B2:J;if(W===0)return 0;if(X){if(XG("color=16m")||XG("color=full")||XG("color=truecolor"))return 3;if(XG("color=256"))return 2}if("TF_BUILD"in Pf&&"AGENT_NAME"in Pf)return 1;if(f&&!G&&W===void 0)return 0;let R=W||0;if(Pf.TERM==="dumb")return R;if(mW.platform==="win32"){let V=ARf.release().split(".");if(Number(V[0])>=10&&Number(V[2])>=10586)return Number(V[2])>=14931?3:2;return 1}if("CI"in Pf){if("GITHUB_ACTIONS"in Pf||"GITEA_ACTIONS"in Pf)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((V)=>(V in Pf))||Pf.CI_NAME==="codeship")return 1;return R}if("TEAMCITY_VERSION"in Pf)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Pf.TEAMCITY_VERSION)?1:0;if(Pf.COLORTERM==="truecolor")return 3;if(Pf.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in Pf){let V=Number.parseInt((Pf.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Pf.TERM_PROGRAM){case"iTerm.app":return V>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(Pf.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Pf.TERM))return 1;if("COLORTERM"in Pf)return 1;return R}function xW(f,G={}){let X=DRf(f,{streamIsTTY:f&&f.isTTY,...G});return ORf(X)}var Pf,B2,IRf,PRf;var K4=U5(()=>{({env:Pf}=mW);if(XG("no-color")||XG("no-colors")||XG("color=false")||XG("color=never"))B2=0;else if(XG("color")||XG("colors")||XG("color=true")||XG("color=always"))B2=1;IRf={stdout:xW({isTTY:B4.isatty(1)}),stderr:xW({isTTY:B4.isatty(2)})},PRf=IRf});var q4=D((S4,K2)=>{var NRf=p6("tty"),M2=p6("util");S4.init=vRf;S4.log=wRf;S4.formatArgs=LRf;S4.save=ERf;S4.load=kRf;S4.useColors=TRf;S4.destroy=M2.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");S4.colors=[6,2,3,4,5,1];try{let f=(K4(),V5(M4));if(f&&(f.stderr||f).level>=2)S4.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}catch(f){}S4.inspectOpts=Object.keys(process.env).filter((f)=>{return/^debug_/i.test(f)}).reduce((f,G)=>{let X=G.substring(6).toLowerCase().replace(/_([a-z])/g,(W,R)=>{return R.toUpperCase()}),J=process.env[G];if(/^(yes|on|true|enabled)$/i.test(J))J=!0;else if(/^(no|off|false|disabled)$/i.test(J))J=!1;else if(J==="null")J=null;else J=Number(J);return f[X]=J,f},{});function TRf(){return"colors"in S4.inspectOpts?Boolean(S4.inspectOpts.colors):NRf.isatty(process.stderr.fd)}function LRf(f){let{namespace:G,useColors:X}=this;if(X){let J=this.color,W="\x1B[3"+(J<8?J:"8;5;"+J),R=` ${W};1m${G} \x1B[0m`;f[0]=R+f[0].split(`
24
24
  `).join(`
25
- `+R),f.push(W+"m+"+K2.exports.humanize(this.diff)+"\x1B[0m")}else f[0]=b0f()+G+" "+f[0]}function b0f(){if(S4.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function w0f(...f){return process.stderr.write(M2.formatWithOptions(S4.inspectOpts,...f)+`
26
- `)}function E0f(f){if(f)process.env.DEBUG=f;else delete process.env.DEBUG}function k0f(){return process.env.DEBUG}function v0f(f){f.inspectOpts={};let G=Object.keys(S4.inspectOpts);for(let X=0;X<G.length;X++)f.inspectOpts[G[X]]=S4.inspectOpts[G[X]]}K2.exports=yW()(S4);var{formatters:F4}=K2.exports;F4.o=function(f){return this.inspectOpts.colors=this.useColors,M2.inspect(f,this.inspectOpts).split(`
27
- `).map((G)=>G.trim()).join(" ")};F4.O=function(f){return this.inspectOpts.colors=this.useColors,M2.inspect(f,this.inspectOpts)}});var C4=D((OFf,lW)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)lW.exports=z4();else lW.exports=q4()});var aW=D((O4)=>{Object.defineProperty(O4,"__esModule",{value:!0});O4.isBindingIdentifier=ZRf;O4.isBlockScoped=KRf;O4.isExpression=zRf;O4.isFlow=CRf;O4.isForAwaitStatement=ORf;O4.isGenerated=$Rf;O4.isPure=qRf;O4.isReferenced=MRf;O4.isReferencedIdentifier=URf;O4.isReferencedMemberExpression=QRf;O4.isRestProperty=ARf;O4.isScope=BRf;O4.isSpreadProperty=jRf;O4.isStatement=YRf;O4.isUser=SRf;O4.isVar=FRf;var l0f=Hf(),{isBinding:c0f,isBlockScoped:a0f,isExportDeclaration:i0f,isExpression:r0f,isFlow:p0f,isForStatement:s0f,isForXStatement:d0f,isIdentifier:A4,isImportDeclaration:t0f,isImportSpecifier:n0f,isJSXIdentifier:o0f,isJSXMemberExpression:e0f,isMemberExpression:fRf,isRestElement:j4,isReferenced:cW,isScope:GRf,isStatement:XRf,isVar:JRf,isVariableDeclaration:WRf,react:RRf,isForOfStatement:VRf}=l0f,{isCompatTag:HRf}=RRf;function URf(f){let{node:G,parent:X}=this;if(!A4(G,f)&&!e0f(X,f))if(o0f(G,f)){if(HRf(G.name))return!1}else return!1;return cW(G,X,this.parentPath.parent)}function QRf(){let{node:f,parent:G}=this;return fRf(f)&&cW(f,G)}function ZRf(){let{node:f,parent:G}=this,X=this.parentPath.parent;return A4(f)&&c0f(f,G,X)}function YRf(){let{node:f,parent:G}=this;if(XRf(f)){if(WRf(f)){if(d0f(G,{left:f}))return!1;if(s0f(G,{init:f}))return!1}return!0}else return!1}function zRf(){if(this.isIdentifier())return this.isReferencedIdentifier();else return r0f(this.node)}function BRf(){return GRf(this.node,this.parent)}function MRf(){return cW(this.node,this.parent)}function KRf(){return a0f(this.node)}function FRf(){return JRf(this.node)}function SRf(){return this.node&&!!this.node.loc}function $Rf(){return!this.isUser()}function qRf(f){return this.scope.isPure(this.node,f)}function CRf(){let{node:f}=this;if(p0f(f))return!0;else if(t0f(f))return f.importKind==="type"||f.importKind==="typeof";else if(i0f(f))return f.exportKind==="type";else if(n0f(f))return f.importKind==="type"||f.importKind==="typeof";else return!1}function ARf(){var f;return j4(this.node)&&((f=this.parentPath)==null?void 0:f.isObjectPattern())}function jRf(){var f;return j4(this.node)&&((f=this.parentPath)==null?void 0:f.isObjectExpression())}function ORf(){return VRf(this.node,{await:!0})}O4.isExistentialTypeParam=function f(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},O4.isNumericLiteralTypeAnnotation=function f(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var QX=D((u4)=>{Object.defineProperty(u4,"__esModule",{value:!0});u4.environmentVisitor=pRf;u4.explode=v4;u4.isExplodedVisitor=k4;u4.merge=_4;u4.verify=g4;var E4=hW(),xRf=aW(),mRf=Hf(),D4=KG(),{DEPRECATED_KEYS:P4,DEPRECATED_ALIASES:I4,FLIPPED_ALIAS_KEYS:N4,TYPES:lRf,__internal__deprecationWarning:T4}=mRf;function cRf(f){return f in E4}function k4(f){return f==null?void 0:f._exploded}function v4(f){if(k4(f))return f;f._exploded=!0;for(let G of Object.keys(f)){if(G1(G))continue;let X=G.split("|");if(X.length===1)continue;let J=f[G];delete f[G];for(let W of X)f[W]=J}g4(f),delete f.__esModule,aRf(f),w4(f);for(let G of Object.keys(f)){if(G1(G))continue;if(!cRf(G))continue;let X=f[G];for(let W of Object.keys(X))X[W]=iRf(G,X[W]);delete f[G];let J=E4[G];if(J!==null)for(let W of J)if(f[W])UX(f[W],X);else f[W]=X;else UX(f,X)}for(let G of Object.keys(f)){if(G1(G))continue;let X=N4[G];if(G in P4){let W=P4[G];T4(G,W,"Visitor "),X=[W]}else if(G in I4){let W=I4[G];T4(G,W,"Visitor "),X=N4[W]}if(!X)continue;let J=f[G];delete f[G];for(let W of X){let R=f[W];if(R)UX(R,J);else f[W]=Object.assign({},J)}}for(let G of Object.keys(f)){if(G1(G))continue;w4(f[G])}return f}function g4(f){if(f._verified)return;if(typeof f==="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 G of Object.keys(f)){if(G==="enter"||G==="exit")L4(G,f[G]);if(G1(G))continue;if(!lRf.includes(G))throw new Error(`You gave us a visitor for the node type ${G} but it's not a valid type in @babel/traverse 7.26.9`);let X=f[G];if(typeof X==="object")for(let J of Object.keys(X))if(J==="enter"||J==="exit")L4(`${G}.${J}`,X[J]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${G} that has the invalid property ${J}`)}f._verified=!0}function L4(f,G){let X=[].concat(G);for(let J of X)if(typeof J!=="function")throw new TypeError(`Non-function found defined in ${f} with type ${typeof J}`)}function _4(f,G=[],X){let J={_verified:!0,_exploded:!0};Object.defineProperty(J,"_exploded",{enumerable:!1}),Object.defineProperty(J,"_verified",{enumerable:!1});for(let W=0;W<f.length;W++){let R=v4(f[W]),V=G[W],H=R;if(V||X)H=b4(H,V,X);UX(J,H);for(let U of Object.keys(R)){if(G1(U))continue;let Q=R[U];if(V||X)Q=b4(Q,V,X);let Y=J[U]||(J[U]={});UX(Y,Q)}}return J}function b4(f,G,X){let J={};for(let W of["enter","exit"]){let R=f[W];if(!Array.isArray(R))continue;R=R.map(function(V){let H=V;if(G)H=function(U){V.call(G,U,G)};if(X)H=X(G==null?void 0:G.key,W,H);if(H!==V)H.toString=()=>V.toString();return H}),J[W]=R}return J}function aRf(f){for(let G of Object.keys(f)){if(G1(G))continue;let X=f[G];if(typeof X==="function")f[G]={enter:X}}}function w4(f){if(f.enter&&!Array.isArray(f.enter))f.enter=[f.enter];if(f.exit&&!Array.isArray(f.exit))f.exit=[f.exit]}function iRf(f,G){let X=`is${f}`,J=xRf[X],W=function(R){if(J.call(R))return G.apply(this,arguments)};return W.toString=()=>G.toString(),W}function G1(f){if(f[0]==="_")return!0;if(f==="enter"||f==="exit"||f==="shouldSkip")return!0;if(f==="denylist"||f==="noScope"||f==="skipKeys")return!0;if(f==="blacklist")return!0;return!1}function UX(f,G){for(let X of["enter","exit"]){if(!G[X])continue;f[X]=[].concat(f[X]||[],G[X])}}var rRf={FunctionParent(f){if(f.isArrowFunctionExpression())return;if(f.skip(),f.isMethod())if(!f.requeueComputedKeyAndDecorators)D4.requeueComputedKeyAndDecorators.call(f);else f.requeueComputedKeyAndDecorators()},Property(f){if(f.isObjectProperty())return;if(f.skip(),!f.requeueComputedKeyAndDecorators)D4.requeueComputedKeyAndDecorators.call(f);else f.requeueComputedKeyAndDecorators()}};function pRf(f){return _4([rRf,f])}});var m4=D((y4)=>{Object.defineProperty(y4,"__esModule",{value:!0});y4.default=void 0;var F2=Hf(),eRf=F2,fVf=S2(),GVf=QX(),XVf=KG(),{getAssignmentIdentifiers:JVf}=eRf,WVf={ReferencedIdentifier({node:f},G){if(f.name===G.oldName)f.name=G.newName},Scope(f,G){if(!f.scope.bindingIdentifierEquals(G.oldName,G.binding.identifier)){if(f.skip(),f.isMethod())if(!f.requeueComputedKeyAndDecorators)XVf.requeueComputedKeyAndDecorators.call(f);else f.requeueComputedKeyAndDecorators()}},ObjectProperty({node:f,scope:G},X){let{name:J}=f.key;if(f.shorthand&&(J===X.oldName||J===X.newName)&&G.getBindingIdentifier(J)===X.binding.identifier){f.shorthand=!1;{var W;if((W=f.extra)!=null&&W.shorthand)f.extra.shorthand=!1}}},"AssignmentExpression|Declaration|VariableDeclarator"(f,G){if(f.isVariableDeclaration())return;let X=f.isAssignmentExpression()?JVf(f.node):f.getOuterBindingIdentifiers();for(let J in X)if(J===G.oldName)X[J].name=G.newName}};class h4{constructor(f,G,X){this.newName=X,this.oldName=G,this.binding=f}maybeConvertFromExportDeclaration(f){let G=f.parentPath;if(!G.isExportDeclaration())return;if(G.isExportDefaultDeclaration()){let{declaration:X}=G.node;if(F2.isDeclaration(X)&&!X.id)return}if(G.isExportAllDeclaration())return;G.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(f){return f}maybeConvertFromClassFunctionExpression(f){return f}rename(){let{binding:f,oldName:G,newName:X}=this,{scope:J,path:W}=f,R=W.find((U)=>U.isDeclaration()||U.isFunctionExpression()||U.isClassExpression());if(R){if(R.getOuterBindingIdentifiers()[G]===f.identifier)this.maybeConvertFromExportDeclaration(R)}let V=arguments[0]||J.block,H={discriminant:!0};if(F2.isMethod(V)){if(V.computed)H.key=!0;if(!F2.isObjectMethod(V))H.decorators=!0}if(fVf.traverseNode(V,GVf.explode(WVf),J,this,J.path,H),!arguments[0])J.removeOwnBinding(G),J.bindings[X]=f,this.binding.identifier.name=X;if(R)this.maybeConvertFromClassFunctionDeclaration(W),this.maybeConvertFromClassFunctionExpression(W)}}y4.default=h4});var i4=D((c4)=>{Object.defineProperty(c4,"__esModule",{value:!0});c4.default=void 0;class l4{constructor({identifier:f,scope:G,path:X,kind:J}){if(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=f,this.scope=G,this.path=X,this.kind=J,(J==="var"||J==="hoisted")&&RVf(X))this.reassign(X);this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(f){if(this.hasDeoptedValue)return;this.hasValue=!0,this.value=f}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(f){if(this.constant=!1,this.constantViolations.includes(f))return;this.constantViolations.push(f)}reference(f){if(this.referencePaths.includes(f))return;this.referenced=!0,this.references++,this.referencePaths.push(f)}dereference(){this.references--,this.referenced=!!this.references}}c4.default=l4;function RVf(f){for(let{parentPath:G,key:X}=f;G;{parentPath:G,key:X}=G){if(G.isFunctionParent())return!1;if(G.isWhile()||G.isForXStatement()||G.isForStatement()&&X==="body")return!0}return!1}});var r4=D((bFf,VVf)=>{VVf.exports={amd:{define:!1,require:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},atomtest:{advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},browser:{AbortController:!1,AbortSignal:!1,AbsoluteOrientationSensor:!1,AbstractRange:!1,Accelerometer:!1,addEventListener:!1,ai:!1,AI:!1,AITextSession:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffect:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioData:!1,AudioDecoder:!1,AudioDestinationNode:!1,AudioEncoder:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioParamMap:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,AudioSinkInfo:!1,AudioWorklet:!1,AudioWorkletGlobalScope:!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,AuthenticatorAssertionResponse:!1,AuthenticatorAttestationResponse:!1,AuthenticatorResponse:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BarcodeDetector:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,Bluetooth:!1,BluetoothCharacteristicProperties:!1,BluetoothDevice:!1,BluetoothRemoteGATTCharacteristic:!1,BluetoothRemoteGATTDescriptor:!1,BluetoothRemoteGATTServer:!1,BluetoothRemoteGATTService:!1,BluetoothUUID:!1,blur:!1,BroadcastChannel:!1,BrowserCaptureMediaStreamTrack:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStream:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CaptureController:!1,CaretPosition:!1,CDATASection:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,ChapterInformation:!1,CharacterBoundsUpdateEvent:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,Clipboard:!1,ClipboardEvent:!1,ClipboardItem:!1,close:!1,closed:!1,CloseEvent:!1,CloseWatcher:!1,Comment:!1,CompositionEvent:!1,CompressionStream:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ContentVisibilityAutoStateChangeEvent:!1,ConvolverNode:!1,CookieChangeEvent:!1,CookieDeprecationLabel:!1,cookieStore:!1,CookieStore:!1,CookieStoreManager:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,credentialless:!1,CredentialsContainer:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSAnimation:!1,CSSConditionRule:!1,CSSContainerRule:!1,CSSCounterStyleRule:!1,CSSFontFaceRule:!1,CSSFontFeatureValuesRule:!1,CSSFontPaletteValuesRule:!1,CSSGroupingRule:!1,CSSImageValue:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSKeywordValue:!1,CSSLayerBlockRule:!1,CSSLayerStatementRule:!1,CSSMarginRule:!1,CSSMathClamp:!1,CSSMathInvert:!1,CSSMathMax:!1,CSSMathMin:!1,CSSMathNegate:!1,CSSMathProduct:!1,CSSMathSum:!1,CSSMathValue:!1,CSSMatrixComponent:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSNestedDeclarations:!1,CSSNumericArray:!1,CSSNumericValue:!1,CSSPageDescriptors:!1,CSSPageRule:!1,CSSPerspective:!1,CSSPositionTryDescriptors:!1,CSSPositionTryRule:!1,CSSPositionValue:!1,CSSPropertyRule:!1,CSSRotate:!1,CSSRule:!1,CSSRuleList:!1,CSSScale:!1,CSSScopeRule:!1,CSSSkew:!1,CSSSkewX:!1,CSSSkewY:!1,CSSStartingStyleRule:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSStyleValue:!1,CSSSupportsRule:!1,CSSTransformComponent:!1,CSSTransformValue:!1,CSSTransition:!1,CSSTranslate:!1,CSSUnitValue:!1,CSSUnparsedValue:!1,CSSVariableReferenceValue:!1,CSSViewTransitionRule:!1,currentFrame:!1,currentTime:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,CustomStateSet:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,DecompressionStream:!1,DelayNode:!1,DelegatedInkTrailPresenter:!1,DeviceMotionEvent:!1,DeviceMotionEventAcceleration:!1,DeviceMotionEventRotationRate:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,documentPictureInPicture:!1,DocumentPictureInPicture:!1,DocumentPictureInPictureEvent:!1,DocumentTimeline:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectList:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,EditContext:!1,Element:!1,ElementInternals:!1,EncodedAudioChunk:!1,EncodedVideoChunk:!1,ErrorEvent:!1,event:!1,Event:!1,EventCounts:!1,EventSource:!1,EventTarget:!1,external:!1,External:!1,EyeDropper:!1,FeaturePolicy:!1,FederatedCredential:!1,fence:!1,Fence:!1,FencedFrameConfig:!1,fetch:!1,fetchLater:!1,FetchLaterResult:!1,File:!1,FileList:!1,FileReader:!1,FileSystem:!1,FileSystemDirectoryEntry:!1,FileSystemDirectoryHandle:!1,FileSystemDirectoryReader:!1,FileSystemEntry:!1,FileSystemFileEntry:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemWritableFileStream:!1,find:!1,Float16Array:!1,focus:!1,FocusEvent:!1,FontData:!1,FontFace:!1,FontFaceSet:!1,FontFaceSetLoadEvent:!1,FormData:!1,FormDataEvent:!1,FragmentDirective:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadAxisMoveEvent:!1,GamepadButton:!1,GamepadButtonEvent:!1,GamepadEvent:!1,GamepadHapticActuator:!1,GamepadPose:!1,Geolocation:!1,GeolocationCoordinates:!1,GeolocationPosition:!1,GeolocationPositionError:!1,getComputedStyle:!1,getScreenDetails:!1,getSelection:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,GravitySensor:!1,Gyroscope:!1,HashChangeEvent:!1,Headers:!1,HID:!1,HIDConnectionEvent:!1,HIDDevice:!1,HIDInputReportEvent:!1,Highlight:!1,HighlightRegistry:!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,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFencedFrameElement:!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,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,IdentityCredential:!1,IdentityCredentialError:!1,IdentityProvider:!1,IdleDeadline:!1,IdleDetector:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,ImageDecoder:!1,ImageTrack:!1,ImageTrackList:!1,indexedDB:!1,Ink:!1,innerHeight:!1,innerWidth:!1,InputDeviceCapabilities:!1,InputDeviceInfo:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,isSecureContext:!1,Keyboard:!1,KeyboardEvent:!1,KeyboardLayoutMap:!1,KeyframeEffect:!1,LargestContentfulPaint:!1,LaunchParams:!1,launchQueue:!1,LaunchQueue:!1,LayoutShift:!1,LayoutShiftAttribution:!1,length:!1,LinearAccelerationSensor:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,Lock:!1,LockManager:!1,matchMedia:!1,MathMLElement:!1,MediaCapabilities:!1,MediaCapabilitiesInfo:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyError:!1,MediaKeyMessageEvent:!1,MediaKeys:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaMetadata:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaRecorderErrorEvent:!1,MediaSession:!1,MediaSource:!1,MediaSourceHandle:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackAudioSourceNode:!1,MediaStreamTrackAudioStats:!1,MediaStreamTrackEvent:!1,MediaStreamTrackGenerator:!1,MediaStreamTrackProcessor:!1,MediaStreamTrackVideoStats:!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,model:!1,ModelGenericSession:!1,ModelManager:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigateEvent:!1,navigation:!1,Navigation:!1,NavigationActivation:!1,NavigationCurrentEntryChangeEvent:!1,NavigationDestination:!1,NavigationHistoryEntry:!1,NavigationPreloadManager:!1,NavigationTransition:!1,navigator:!1,Navigator:!1,NavigatorLogin:!1,NavigatorManagedData:!1,NavigatorUAData:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,NotifyPaintEvent:!1,NotRestoredReasonDetails:!1,NotRestoredReasons:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onabort:!0,onafterprint:!0,onanimationcancel:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinput:!0,onbeforeinstallprompt:!0,onbeforematch:!0,onbeforeprint:!0,onbeforetoggle:!0,onbeforeunload:!0,onbeforexrselect:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontentvisibilityautostatechange:!0,oncontextlost:!0,oncontextmenu:!0,oncontextrestored:!0,oncopy:!0,oncuechange:!0,oncut:!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,onformdata:!0,ongamepadconnected:!0,ongamepaddisconnected:!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,onpagereveal:!0,onpageshow:!0,onpageswap:!0,onpaste:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerrawupdate:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onscrollend:!0,onscrollsnapchange:!0,onscrollsnapchanging:!0,onsearch:!0,onsecuritypolicyviolation:!0,onseeked:!0,onseeking:!0,onselect:!0,onselectionchange:!0,onselectstart:!0,onslotchange:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitioncancel:!0,ontransitionend:!0,ontransitionrun:!0,ontransitionstart:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,opener:!1,Option:!1,OrientationSensor:!1,origin:!1,originAgentCluster:!1,OscillatorNode:!1,OTPCredential:!1,outerHeight:!1,outerWidth:!1,OverconstrainedError:!1,PageRevealEvent:!1,PageSwapEvent:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,PasswordCredential:!1,Path2D:!1,PaymentAddress:!1,PaymentManager:!1,PaymentMethodChangeEvent:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceElementTiming:!1,PerformanceEntry:!1,PerformanceEventTiming:!1,PerformanceLongAnimationFrameTiming:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceScriptTiming:!1,PerformanceServerTiming:!1,PerformanceTiming:!1,PeriodicSyncManager:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,PERSISTENT:!1,personalbar:!1,PictureInPictureEvent:!1,PictureInPictureWindow:!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,PressureObserver:!1,PressureRecord:!1,print:!1,ProcessingInstruction:!1,Profiler:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,ProtectedAudience:!1,PublicKeyCredential:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queryLocalFonts:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registerProcessor:!1,RelativeOrientationSensor:!1,RemotePlayback:!1,removeEventListener:!1,reportError:!1,ReportingObserver:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,ResizeObserverSize:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCDTMFSender:!1,RTCDTMFToneChangeEvent:!1,RTCEncodedAudioFrame:!1,RTCEncodedVideoFrame:!1,RTCError:!1,RTCErrorEvent:!1,RTCIceCandidate:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceErrorEvent:!1,RTCPeerConnectionIceEvent:!1,RTCRtpReceiver:!1,RTCRtpScriptTransform:!1,RTCRtpSender:!1,RTCRtpTransceiver:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,sampleRate:!1,scheduler:!1,Scheduler:!1,Scheduling:!1,screen:!1,Screen:!1,ScreenDetailed:!1,ScreenDetails:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,ScrollTimeline:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,Sensor:!1,SensorErrorEvent:!1,Serial:!1,SerialPort:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,sharedStorage:!1,SharedStorage:!1,SharedStorageWorklet:!1,SharedWorker:!1,showDirectoryPicker:!1,showOpenFilePicker:!1,showSaveFilePicker:!1,SnapEvent:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesis:!1,SpeechSynthesisErrorEvent:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,SpeechSynthesisVoice:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageBucket:!1,StorageBucketManager:!1,StorageEvent:!1,StorageManager:!1,structuredClone:!1,styleMedia:!1,StylePropertyMap:!1,StylePropertyMapReadOnly:!1,StyleSheet:!1,StyleSheetList:!1,SubmitEvent:!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,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,SyncManager:!1,TaskAttributionTiming:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TEMPORARY:!1,Text:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextEvent:!1,TextFormat:!1,TextFormatUpdateEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TextUpdateEvent:!1,TimeEvent:!1,TimeRanges:!1,ToggleEvent:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransformStream:!1,TransformStreamDefaultController:!1,TransitionEvent:!1,TreeWalker:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,UIEvent:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,USB:!1,USBAlternateInterface:!1,USBConfiguration:!1,USBConnectionEvent:!1,USBDevice:!1,USBEndpoint:!1,USBInterface:!1,USBInTransferResult:!1,USBIsochronousInTransferPacket:!1,USBIsochronousInTransferResult:!1,USBIsochronousOutTransferPacket:!1,USBIsochronousOutTransferResult:!1,USBOutTransferResult:!1,UserActivation:!1,ValidityState:!1,VideoColorSpace:!1,VideoDecoder:!1,VideoEncoder:!1,VideoFrame:!1,VideoPlaybackQuality:!1,ViewTimeline:!1,ViewTransition:!1,ViewTransitionTypeSet:!1,VirtualKeyboard:!1,VirtualKeyboardGeometryChangeEvent:!1,VisibilityStateEntry:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,VTTRegion:!1,WakeLock:!1,WakeLockSentinel:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!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,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WebTransportReceiveStream:!1,WebTransportSendStream:!1,WGSLLanguageFeatures:!1,WheelEvent:!1,window:!1,Window:!1,WindowControlsOverlay:!1,WindowControlsOverlayGeometryChangeEvent:!1,Worker:!1,Worklet:!1,WorkletGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XRAnchor:!1,XRAnchorSet:!1,XRBoundedReferenceSpace:!1,XRCamera:!1,XRCPUDepthInformation:!1,XRDepthInformation:!1,XRDOMOverlayState:!1,XRFrame:!1,XRHand:!1,XRHitTestResult:!1,XRHitTestSource:!1,XRInputSource:!1,XRInputSourceArray:!1,XRInputSourceEvent:!1,XRInputSourcesChangeEvent:!1,XRJointPose:!1,XRJointSpace:!1,XRLayer:!1,XRLightEstimate:!1,XRLightProbe:!1,XRPose:!1,XRRay:!1,XRReferenceSpace:!1,XRReferenceSpaceEvent:!1,XRRenderState:!1,XRRigidTransform:!1,XRSession:!1,XRSessionEvent:!1,XRSpace:!1,XRSystem:!1,XRTransientInputHitTestResult:!1,XRTransientInputHitTestSource:!1,XRView:!1,XRViewerPose:!1,XRViewport:!1,XRWebGLBinding:!1,XRWebGLDepthInformation:!1,XRWebGLLayer:!1,XSLTProcessor:!1},builtin:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},chai:{assert:!0,expect:!0,should:!0},commonjs:{exports:!0,global:!1,module:!1,require:!1},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!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},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},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2016:{Array:!1,ArrayBuffer:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2018:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2019:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2020:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2021:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2022:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2023:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2024:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2025:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},es5:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addElement:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fit:!1,it:!1,jest:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},jquery:{$:!1,jQuery:!1},meteor:{$:!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},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},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},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},node:{__dirname:!1,__filename:!1,AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,exports:!0,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,module:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,require:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},nodeBuiltin:{AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},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},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!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},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},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,ErrorEvent:!1,Event:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,File:!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,MessageEvent:!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,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!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,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1},"shared-node-browser":{AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!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,head:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,ShellString:!1,sort:!1,tail:!1,tempdir:!1,test:!1,touch:!1,uniq:!1,which:!1},vitest:{afterAll:!1,afterEach:!1,assert:!1,assertType:!1,beforeAll:!1,beforeEach:!1,chai:!1,describe:!1,expect:!1,expectTypeOf:!1,it:!1,onTestFailed:!1,onTestFinished:!1,suite:!1,test:!1,vi:!1,vitest:!1},webextensions:{browser:!1,chrome:!1,opr:!1},worker:{AbortController:!1,AbortSignal:!1,addEventListener:!1,ai:!1,atob:!1,AudioData:!1,AudioDecoder:!1,AudioEncoder:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BarcodeDetector:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,clearInterval:!1,clearTimeout:!1,close:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,createImageBitmap:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSSSkewX:!1,CSSSkewY:!1,CustomEvent:!1,DecompressionStream:!1,DedicatedWorkerGlobalScope:!1,dispatchEvent:!1,DOMException:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,EncodedAudioChunk:!1,EncodedVideoChunk:!1,ErrorEvent:!1,Event:!1,EventSource:!1,EventTarget:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,FileReaderSync:!1,FileSystemDirectoryHandle:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemSyncAccessHandle:!1,FileSystemWritableFileStream:!1,FontFace:!1,fonts:!1,FormData:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,Headers:!1,HID:!1,HIDConnectionEvent:!1,HIDDevice:!1,HIDInputReportEvent:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDetector:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageData:!1,ImageDecoder:!1,ImageTrack:!1,ImageTrackList:!1,importScripts:!1,indexedDB:!1,isSecureContext:!1,location:!1,Lock:!1,LockManager:!1,MediaCapabilities:!1,MediaSource:!1,MediaSourceHandle:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,NavigationPreloadManager:!1,navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Notification:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onerror:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onrejectionhandled:!0,onunhandledrejection:!0,origin:!1,Path2D:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceServerTiming:!1,PeriodicSyncManager:!1,Permissions:!1,PermissionStatus:!1,PERSISTENT:!1,postMessage:!1,PressureObserver:!1,PressureRecord:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,removeEventListener:!1,reportError:!1,ReportingObserver:!1,Request:!1,requestAnimationFrame:!1,Response:!1,RTCDataChannel:!1,RTCEncodedAudioFrame:!1,RTCEncodedVideoFrame:!1,scheduler:!1,Scheduler:!1,SecurityPolicyViolationEvent:!1,self:!1,Serial:!1,SerialPort:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,SourceBuffer:!1,SourceBufferList:!1,StorageBucket:!1,StorageBucketManager:!1,StorageManager:!1,structuredClone:!1,SubtleCrypto:!1,SyncManager:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TEMPORARY:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextMetrics:!1,TransformStream:!1,TransformStreamDefaultController:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,USB:!1,USBAlternateInterface:!1,USBConfiguration:!1,USBConnectionEvent:!1,USBDevice:!1,USBEndpoint:!1,USBInterface:!1,USBInTransferResult:!1,USBIsochronousInTransferPacket:!1,USBIsochronousInTransferResult:!1,USBIsochronousOutTransferPacket:!1,USBIsochronousOutTransferResult:!1,USBOutTransferResult:!1,UserActivation:!1,VideoColorSpace:!1,VideoDecoder:!1,VideoEncoder:!1,VideoFrame:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!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,webkitRequestFileSystem:!1,webkitRequestFileSystemSync:!1,webkitResolveLocalFileSystemSyncURL:!1,webkitResolveLocalFileSystemURL:!1,WebSocket:!1,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WGSLLanguageFeatures:!1,Worker:!1,WorkerGlobalScope:!1,WorkerLocation:!1,WorkerNavigator:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1},wsh:{ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1}}});var X1=D((d4)=>{Object.defineProperty(d4,"__esModule",{value:!0});d4.clear=UVf;d4.clearPath=p4;d4.clearScope=s4;d4.getCachedPaths=QVf;d4.getOrCreateCachedPaths=ZVf;d4.scope=d4.path=void 0;var $2=d4.path=new WeakMap,HVf=d4.scope=new WeakMap;function UVf(){p4(),s4()}function p4(){d4.path=$2=new WeakMap}function s4(){d4.scope=HVf=new WeakMap}var iW=Object.freeze({});function QVf(f,G){var X,J;return f=null,(X=$2.get((J=f)!=null?J:iW))==null?void 0:X.get(G)}function ZVf(f,G){var X,J;f=null;let W=$2.get((X=f)!=null?X:iW);if(!W)$2.set((J=f)!=null?J:iW,W=new WeakMap);let R=W.get(G);if(!R)W.set(G,R=new Map);return R}});var tW=D((YU)=>{Object.defineProperty(YU,"__esModule",{value:!0});YU.default=void 0;var FVf=m4(),SVf=ZX(),$Vf=i4(),qVf=r4(),RU=Hf(),VU=RU,n4=X1(),CVf=QX(),{NOT_LOCAL_BINDING:o4,assignmentExpression:AVf,callExpression:e4,cloneNode:fU,getBindingIdentifiers:HU,identifier:W1,isArrayExpression:UU,isBinary:jVf,isCallExpression:GU,isClass:OVf,isClassBody:DVf,isClassDeclaration:PVf,isExportAllDeclaration:QU,isExportDefaultDeclaration:IVf,isExportNamedDeclaration:pW,isFunctionDeclaration:NVf,isIdentifier:J1,isImportDeclaration:sW,isLiteral:TVf,isMemberExpression:LVf,isMethod:bVf,isModuleSpecifier:wVf,isNullLiteral:EVf,isObjectExpression:kVf,isProperty:vVf,isPureish:gVf,isRegExpLiteral:_Vf,isSuper:uVf,isTaggedTemplateExpression:hVf,isTemplateLiteral:ZU,isThisExpression:XU,isUnaryExpression:yVf,isVariableDeclaration:xVf,expressionStatement:mVf,matchesPattern:JU,memberExpression:dW,numericLiteral:lVf,toIdentifier:cVf,variableDeclaration:aVf,variableDeclarator:iVf,isRecordExpression:rVf,isTupleExpression:pVf,isObjectProperty:sVf,isTopicReference:WU,isMetaProperty:dVf,isPrivateName:tVf,isExportDeclaration:nVf,buildUndefinedNode:oVf,sequenceExpression:eVf}=RU;function Of(f,G){switch(f==null?void 0:f.type){default:if(sW(f)||nVf(f)){var X;if((QU(f)||pW(f)||sW(f))&&f.source)Of(f.source,G);else if((pW(f)||sW(f))&&(X=f.specifiers)!=null&&X.length)for(let J of f.specifiers)Of(J,G);else if((IVf(f)||pW(f))&&f.declaration)Of(f.declaration,G)}else if(wVf(f))Of(f.local,G);else if(TVf(f)&&!EVf(f)&&!_Vf(f)&&!ZU(f))G.push(f.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Of(f.object,G),Of(f.property,G);break;case"Identifier":case"JSXIdentifier":G.push(f.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Of(f.callee,G);break;case"ObjectExpression":case"ObjectPattern":for(let J of f.properties)Of(J,G);break;case"SpreadElement":case"RestElement":Of(f.argument,G);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Of(f.key,G);break;case"ThisExpression":G.push("this");break;case"Super":G.push("super");break;case"Import":G.push("import");break;case"DoExpression":G.push("do");break;case"YieldExpression":G.push("yield"),Of(f.argument,G);break;case"AwaitExpression":G.push("await"),Of(f.argument,G);break;case"AssignmentExpression":Of(f.left,G);break;case"VariableDeclarator":Of(f.id,G);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":Of(f.id,G);break;case"PrivateName":Of(f.id,G);break;case"ParenthesizedExpression":Of(f.expression,G);break;case"UnaryExpression":case"UpdateExpression":Of(f.argument,G);break;case"MetaProperty":Of(f.meta,G),Of(f.property,G);break;case"JSXElement":Of(f.openingElement,G);break;case"JSXOpeningElement":Of(f.name,G);break;case"JSXFragment":Of(f.openingFragment,G);break;case"JSXOpeningFragment":G.push("Fragment");break;case"JSXNamespacedName":Of(f.namespace,G),Of(f.name,G);break}}var q2={ForStatement(f){let G=f.get("init");if(G.isVar()){let{scope:X}=f;(X.getFunctionParent()||X.getProgramParent()).registerBinding("var",G)}},Declaration(f){if(f.isBlockScoped())return;if(f.isImportDeclaration())return;if(f.isExportDeclaration())return;(f.scope.getFunctionParent()||f.scope.getProgramParent()).registerDeclaration(f)},ImportDeclaration(f){f.scope.getBlockParent().registerDeclaration(f)},TSImportEqualsDeclaration(f){f.scope.getBlockParent().registerDeclaration(f)},ReferencedIdentifier(f,G){if(VU.isTSQualifiedName(f.parent)&&f.parent.right===f.node)return;if(f.parentPath.isTSImportEqualsDeclaration())return;G.references.push(f)},ForXStatement(f,G){let X=f.get("left");if(X.isPattern()||X.isIdentifier())G.constantViolations.push(f);else if(X.isVar()){let{scope:J}=f;(J.getFunctionParent()||J.getProgramParent()).registerBinding("var",X)}},ExportDeclaration:{exit(f){let{node:G,scope:X}=f;if(QU(G))return;let J=G.declaration;if(PVf(J)||NVf(J)){let W=J.id;if(!W)return;let R=X.getBinding(W.name);R==null||R.reference(f)}else if(xVf(J))for(let W of J.declarations)for(let R of Object.keys(HU(W))){let V=X.getBinding(R);V==null||V.reference(f)}}},LabeledStatement(f){f.scope.getBlockParent().registerDeclaration(f)},AssignmentExpression(f,G){G.assignments.push(f)},UpdateExpression(f,G){G.constantViolations.push(f)},UnaryExpression(f,G){if(f.node.operator==="delete")G.constantViolations.push(f)},BlockScoped(f){let G=f.scope;if(G.path===f)G=G.parent;if(G.getBlockParent().registerDeclaration(f),f.isClassDeclaration()&&f.node.id){let W=f.node.id.name;f.scope.bindings[W]=f.scope.parent.getBinding(W)}},CatchClause(f){f.scope.registerBinding("let",f)},Function(f){let G=f.get("params");for(let X of G)f.scope.registerBinding("param",X);if(f.isFunctionExpression()&&f.node.id&&!f.node.id[o4])f.scope.registerBinding("local",f.get("id"),f)},ClassExpression(f){if(f.node.id&&!f.node.id[o4])f.scope.registerBinding("local",f.get("id"),f)},TSTypeAnnotation(f){f.skip()}},fHf=0;class JG{constructor(f){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=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:G}=f,X=n4.scope.get(G);if((X==null?void 0:X.path)===f)return X;n4.scope.set(G,this),this.uid=fHf++,this.block=G,this.path=f,this.labels=new Map,this.inited=!1}get parent(){var f;let G,X=this.path;do{var J;let W=X.key==="key"||X.listKey==="decorators";if(X=X.parentPath,W&&X.isMethod())X=X.parentPath;if((J=X)!=null&&J.isScope())G=X}while(X&&!G);return(f=G)==null?void 0:f.scope}generateDeclaredUidIdentifier(f){let G=this.generateUidIdentifier(f);return this.push({id:G}),fU(G)}generateUidIdentifier(f){return W1(this.generateUid(f))}generateUid(f="temp"){f=cVf(f).replace(/^_+/,"").replace(/\d+$/g,"");let G,X=1;do{if(G=`_${f}`,X>1)G+=X;X++}while(this.hasLabel(G)||this.hasBinding(G)||this.hasGlobal(G)||this.hasReference(G));let J=this.getProgramParent();return J.references[G]=!0,J.uids[G]=!0,G}generateUidBasedOnNode(f,G){let X=[];Of(f,X);let J=X.join("$");return J=J.replace(/^_/,"")||G||"ref",this.generateUid(J.slice(0,20))}generateUidIdentifierBasedOnNode(f,G){return W1(this.generateUidBasedOnNode(f,G))}isStatic(f){if(XU(f)||uVf(f)||WU(f))return!0;if(J1(f)){let G=this.getBinding(f.name);if(G)return G.constant;else return this.hasBinding(f.name)}return!1}maybeGenerateMemoised(f,G){if(this.isStatic(f))return null;else{let X=this.generateUidIdentifierBasedOnNode(f);if(!G)return this.push({id:X}),fU(X);return X}}checkBlockScopedCollisions(f,G,X,J){if(G==="param")return;if(f.kind==="local")return;if(G==="let"||f.kind==="let"||f.kind==="const"||f.kind==="module"||f.kind==="param"&&G==="const")throw this.path.hub.buildError(J,`Duplicate declaration "${X}"`,TypeError)}rename(f,G){let X=this.getBinding(f);if(X)G||(G=this.generateUidIdentifier(f).name),new FVf.default(X,f,G).rename(arguments[2])}dump(){let f="-".repeat(60);console.log(f);let G=this;do{console.log("#",G.block.type);for(let X of Object.keys(G.bindings)){let J=G.bindings[X];console.log(" -",X,{constant:J.constant,references:J.references,violations:J.constantViolations.length,kind:J.kind})}}while(G=G.parent);console.log(f)}hasLabel(f){return!!this.getLabel(f)}getLabel(f){return this.labels.get(f)}registerLabel(f){this.labels.set(f.node.label.name,f)}registerDeclaration(f){if(f.isLabeledStatement())this.registerLabel(f);else if(f.isFunctionDeclaration())this.registerBinding("hoisted",f.get("id"),f);else if(f.isVariableDeclaration()){let G=f.get("declarations"),{kind:X}=f.node;for(let J of G)this.registerBinding(X==="using"||X==="await using"?"const":X,J)}else if(f.isClassDeclaration()){if(f.node.declare)return;this.registerBinding("let",f)}else if(f.isImportDeclaration()){let G=f.node.importKind==="type"||f.node.importKind==="typeof",X=f.get("specifiers");for(let J of X){let W=G||J.isImportSpecifier()&&(J.node.importKind==="type"||J.node.importKind==="typeof");this.registerBinding(W?"unknown":"module",J)}}else if(f.isExportDeclaration()){let G=f.get("declaration");if(G.isClassDeclaration()||G.isFunctionDeclaration()||G.isVariableDeclaration())this.registerDeclaration(G)}else this.registerBinding("unknown",f)}buildUndefinedNode(){return oVf()}registerConstantViolation(f){let G=f.getAssignmentIdentifiers();for(let J of Object.keys(G)){var X;(X=this.getBinding(J))==null||X.reassign(f)}}registerBinding(f,G,X=G){if(!f)throw new ReferenceError("no `kind`");if(G.isVariableDeclaration()){let R=G.get("declarations");for(let V of R)this.registerBinding(f,V);return}let J=this.getProgramParent(),W=G.getOuterBindingIdentifiers(!0);for(let R of Object.keys(W)){J.references[R]=!0;for(let V of W[R]){let H=this.getOwnBinding(R);if(H){if(H.identifier===V)continue;this.checkBlockScopedCollisions(H,f,R,V)}if(H)H.reassign(X);else this.bindings[R]=new $Vf.default({identifier:V,scope:this,path:X,kind:f})}}}addGlobal(f){this.globals[f.name]=f}hasUid(f){let G=this;do if(G.uids[f])return!0;while(G=G.parent);return!1}hasGlobal(f){let G=this;do if(G.globals[f])return!0;while(G=G.parent);return!1}hasReference(f){return!!this.getProgramParent().references[f]}isPure(f,G){if(J1(f)){let R=this.getBinding(f.name);if(!R)return!1;if(G)return R.constant;return!0}else if(XU(f)||dVf(f)||WU(f)||tVf(f))return!0;else if(OVf(f)){var X;if(f.superClass&&!this.isPure(f.superClass,G))return!1;if(((X=f.decorators)==null?void 0:X.length)>0)return!1;return this.isPure(f.body,G)}else if(DVf(f)){for(let R of f.body)if(!this.isPure(R,G))return!1;return!0}else if(jVf(f))return this.isPure(f.left,G)&&this.isPure(f.right,G);else if(UU(f)||pVf(f)){for(let R of f.elements)if(R!==null&&!this.isPure(R,G))return!1;return!0}else if(kVf(f)||rVf(f)){for(let R of f.properties)if(!this.isPure(R,G))return!1;return!0}else if(bVf(f)){var J;if(f.computed&&!this.isPure(f.key,G))return!1;if(((J=f.decorators)==null?void 0:J.length)>0)return!1;return!0}else if(vVf(f)){var W;if(f.computed&&!this.isPure(f.key,G))return!1;if(((W=f.decorators)==null?void 0:W.length)>0)return!1;if(sVf(f)||f.static){if(f.value!==null&&!this.isPure(f.value,G))return!1}return!0}else if(yVf(f))return this.isPure(f.argument,G);else if(ZU(f)){for(let R of f.expressions)if(!this.isPure(R,G))return!1;return!0}else if(hVf(f))return JU(f.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(f.quasi,G);else if(LVf(f))return!f.computed&&J1(f.object)&&f.object.name==="Symbol"&&J1(f.property)&&f.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(GU(f))return JU(f.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&f.arguments.length===1&&VU.isStringLiteral(f.arguments[0]);else return gVf(f)}setData(f,G){return this.data[f]=G}getData(f){let G=this;do{let X=G.data[f];if(X!=null)return X}while(G=G.parent)}removeData(f){let G=this;do if(G.data[f]!=null)G.data[f]=null;while(G=G.parent)}init(){if(!this.inited)this.inited=!0,this.crawl()}crawl(){let f=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 G=this;do{if(G.crawling)return;if(G.path.isProgram())break}while(G=G.parent);let X=G,J={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,f.type!=="Program"&&CVf.isExplodedVisitor(q2)){for(let R of q2.enter)R.call(J,f,J);let W=q2[f.type];if(W)for(let R of W.enter)R.call(J,f,J)}f.traverse(q2,J),this.crawling=!1;for(let W of J.assignments){let R=W.getAssignmentIdentifiers();for(let V of Object.keys(R)){if(W.scope.getBinding(V))continue;X.addGlobal(R[V])}W.scope.registerConstantViolation(W)}for(let W of J.references){let R=W.scope.getBinding(W.node.name);if(R)R.reference(W);else X.addGlobal(W.node)}for(let W of J.constantViolations)W.scope.registerConstantViolation(W)}push(f){let G=this.path;if(G.isPattern())G=this.getPatternParent().path;else if(!G.isBlockStatement()&&!G.isProgram())G=this.getBlockParent().path;if(G.isSwitchStatement())G=(this.getFunctionParent()||this.getProgramParent()).path;let{init:X,unique:J,kind:W="var",id:R}=f;if(!X&&!J&&(W==="var"||W==="let")&&G.isFunction()&&!G.node.name&&GU(G.parent,{callee:G.node})&&G.parent.arguments.length<=G.node.params.length&&J1(R)){G.pushContainer("params",R),G.scope.registerBinding("param",G.get("params")[G.node.params.length-1]);return}if(G.isLoop()||G.isCatchClause()||G.isFunction())G.ensureBlock(),G=G.get("body");let V=f._blockHoist==null?2:f._blockHoist,H=`declaration:${W}:${V}`,U=!J&&G.getData(H);if(!U){let S=aVf(W,[]);if(S._blockHoist=V,[U]=G.unshiftContainer("body",[S]),!J)G.setData(H,U)}let Q=iVf(R,X),Y=U.node.declarations.push(Q);G.scope.registerBinding(W,U.get("declarations")[Y-1])}getProgramParent(){let f=this;do if(f.path.isProgram())return f;while(f=f.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let f=this;do if(f.path.isFunctionParent())return f;while(f=f.parent);return null}getBlockParent(){let f=this;do if(f.path.isBlockParent())return f;while(f=f.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let f=this;do if(!f.path.isPattern())return f.getBlockParent();while(f=f.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let f=Object.create(null),G=this;do{for(let X of Object.keys(G.bindings))if(X in f===!1)f[X]=G.bindings[X];G=G.parent}while(G);return f}bindingIdentifierEquals(f,G){return this.getBindingIdentifier(f)===G}getBinding(f){let G=this,X;do{let W=G.getOwnBinding(f);if(W){var J;if((J=X)!=null&&J.isPattern()&&W.kind!=="param"&&W.kind!=="local");else return W}else if(!W&&f==="arguments"&&G.path.isFunction()&&!G.path.isArrowFunctionExpression())break;X=G.path}while(G=G.parent)}getOwnBinding(f){return this.bindings[f]}getBindingIdentifier(f){var G;return(G=this.getBinding(f))==null?void 0:G.identifier}getOwnBindingIdentifier(f){let G=this.bindings[f];return G==null?void 0:G.identifier}hasOwnBinding(f){return!!this.getOwnBinding(f)}hasBinding(f,G){if(!f)return!1;let X=this;do if(X.hasOwnBinding(f))return!0;while(X=X.parent);let J,W;if(typeof G==="object")J=G.noGlobals,W=G.noUids;else if(typeof G==="boolean")J=G;if(!W&&this.hasUid(f))return!0;if(!J&&JG.globals.includes(f))return!0;if(!J&&JG.contextVariables.includes(f))return!0;return!1}parentHasBinding(f,G){var X;return(X=this.parent)==null?void 0:X.hasBinding(f,G)}moveBindingTo(f,G){let X=this.getBinding(f);if(X)X.scope.removeOwnBinding(f),X.scope=G,G.bindings[f]=X}removeOwnBinding(f){delete this.bindings[f]}removeBinding(f){var G;(G=this.getBinding(f))==null||G.scope.removeOwnBinding(f);let X=this;do if(X.uids[f])X.uids[f]=!1;while(X=X.parent)}hoistVariables(f=(G)=>this.push({id:G})){this.crawl();let G=new Set;for(let J of Object.keys(this.bindings)){let W=this.bindings[J];if(!W)continue;let{path:R}=W;if(!R.isVariableDeclarator())continue;let{parent:V,parentPath:H}=R;if(V.kind!=="var"||G.has(V))continue;G.add(R.parent);let U,Q=[];for(let Y of V.declarations){var X;if((X=U)!=null||(U=Y.id),Y.init)Q.push(AVf("=",Y.id,Y.init));let S=Object.keys(HU(Y,!1,!0,!0));for(let C of S)f(W1(C),Y.init!=null)}if(H.parentPath.isFor({left:V}))H.replaceWith(U);else if(Q.length===0)H.remove();else{let Y=Q.length===1?Q[0]:eVf(Q);if(H.parentPath.isForStatement({init:V}))H.replaceWith(Y);else H.replaceWith(mVf(Y))}}}}YU.default=JG;JG.globals=Object.keys(qVf.builtin);JG.contextVariables=["arguments","undefined","Infinity","NaN"];JG.prototype._renameFromMap=function f(G,X,J,W){if(G[X])G[J]=W,G[X]=null},JG.prototype.traverse=function(f,G,X){SVf.default(f,G,this,X,this.path)},JG.prototype._generateUid=function f(G,X){let J=G;if(X>1)J+=X;return`_${J}`},JG.prototype.toArray=function f(G,X,J){if(J1(G)){let V=this.getBinding(G.name);if(V!=null&&V.constant&&V.path.isGenericType("Array"))return G}if(UU(G))return G;if(J1(G,{name:"arguments"}))return e4(dW(dW(dW(W1("Array"),W1("prototype")),W1("slice")),W1("call")),[G]);let W,R=[G];if(X===!0)W="toConsumableArray";else if(typeof X==="number")R.push(lVf(X)),W="slicedToArray";else W="toArray";if(J)R.unshift(this.path.hub.addHelper(W)),W="maybeArrayLike";return e4(this.path.hub.addHelper(W),R)},JG.prototype.getAllBindingsOfKind=function f(...G){let X=Object.create(null);for(let J of G){let W=this;do{for(let R of Object.keys(W.bindings)){let V=W.bindings[R];if(V.kind===J)X[R]=V}W=W.parent}while(W)}return X},Object.defineProperties(JG.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var MU=D((BU)=>{Object.defineProperty(BU,"__esModule",{value:!0});BU.find=WHf;BU.findParent=JHf;BU.getAncestry=QHf;BU.getDeepestCommonAncestorFrom=UHf;BU.getEarliestCommonAncestorFrom=HHf;BU.getFunctionParent=RHf;BU.getStatementParent=VHf;BU.inType=zHf;BU.isAncestor=ZHf;BU.isDescendant=YHf;var GHf=Hf(),{VISITOR_KEYS:XHf}=GHf;function JHf(f){let G=this;while(G=G.parentPath)if(f(G))return G;return null}function WHf(f){let G=this;do if(f(G))return G;while(G=G.parentPath);return null}function RHf(){return this.findParent((f)=>f.isFunction())}function VHf(){let f=this;do if(!f.parentPath||Array.isArray(f.container)&&f.isStatement())break;else f=f.parentPath;while(f);if(f&&(f.isProgram()||f.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return f}function HHf(f){return this.getDeepestCommonAncestorFrom(f,function(G,X,J){let W,R=XHf[G.type];for(let V of J){let H=V[X+1];if(!W){W=H;continue}if(H.listKey&&W.listKey===H.listKey){if(H.key<W.key){W=H;continue}}let U=R.indexOf(W.parentKey),Q=R.indexOf(H.parentKey);if(U>Q)W=H}return W})}function UHf(f,G){if(!f.length)return this;if(f.length===1)return f[0];let X=1/0,J,W,R=f.map((H)=>{let U=[];do U.unshift(H);while((H=H.parentPath)&&H!==this);if(U.length<X)X=U.length;return U}),V=R[0];f:for(let H=0;H<X;H++){let U=V[H];for(let Q of R)if(Q[H]!==U)break f;J=H,W=U}if(W)if(G)return G(W,J,R);else return W;else throw new Error("Couldn't find intersection")}function QHf(){let f=this,G=[];do G.push(f);while(f=f.parentPath);return G}function ZHf(f){return f.isDescendant(this)}function YHf(f){return!!this.findParent((G)=>G===f)}function zHf(...f){let G=this;while(G){for(let X of f)if(G.node.type===X)return!0;G=G.parentPath}return!1}});var nW=D((SU)=>{Object.defineProperty(SU,"__esModule",{value:!0});SU.createUnionType=NHf;var OHf=Hf(),{createFlowUnionType:KU,createTSUnionType:FU,createUnionTypeAnnotation:DHf,isFlowType:PHf,isTSType:IHf}=OHf;function NHf(f){if(f.every((G)=>PHf(G))){if(KU)return KU(f);return DHf(f)}else if(f.every((G)=>IHf(G))){if(FU)return FU(f)}}});var OU=D((jU)=>{Object.defineProperty(jU,"__esModule",{value:!0});jU.default=kHf;var LHf=Hf(),qU=nW(),{BOOLEAN_NUMBER_BINARY_OPERATORS:bHf,createTypeAnnotationBasedOnTypeof:wHf,numberTypeAnnotation:CU,voidTypeAnnotation:EHf}=LHf;function kHf(f){if(!this.isReferenced())return;let G=this.scope.getBinding(f.name);if(G)if(G.identifier.typeAnnotation)return G.identifier.typeAnnotation;else return vHf(G,this,f.name);if(f.name==="undefined")return EHf();else if(f.name==="NaN"||f.name==="Infinity")return CU();else if(f.name==="arguments");}function vHf(f,G,X){let J=[],W=[],R=$U(f,G,W),V=AU(f,G,X);if(V){let H=$U(f,V.ifStatement);R=R.filter((U)=>!H.includes(U)),J.push(V.typeAnnotation)}if(R.length){R.push(...W);for(let H of R)J.push(H.getTypeAnnotation())}if(!J.length)return;return qU.createUnionType(J)}function $U(f,G,X){let J=f.constantViolations.slice();return J.unshift(f.path),J.filter((W)=>{W=W.resolve();let R=W._guessExecutionStatusRelativeTo(G);if(X&&R==="unknown")X.push(W);return R==="before"})}function gHf(f,G){let X=G.node.operator,J=G.get("right").resolve(),W=G.get("left").resolve(),R;if(W.isIdentifier({name:f}))R=J;else if(J.isIdentifier({name:f}))R=W;if(R){if(X==="===")return R.getTypeAnnotation();if(bHf.includes(X))return CU();return}if(X!=="==="&&X!=="==")return;let V,H;if(W.isUnaryExpression({operator:"typeof"}))V=W,H=J;else if(J.isUnaryExpression({operator:"typeof"}))V=J,H=W;if(!V)return;if(!V.get("argument").isIdentifier({name:f}))return;if(H=H.resolve(),!H.isLiteral())return;let U=H.node.value;if(typeof U!=="string")return;return wHf(U)}function _Hf(f,G,X){let J;while(J=G.parentPath){if(J.isIfStatement()||J.isConditionalExpression()){if(G.key==="test")return;return J}if(J.isFunction()){if(J.parentPath.scope.getBinding(X)!==f)return}G=J}}function AU(f,G,X){let J=_Hf(f,G,X);if(!J)return;let R=[J.get("test")],V=[];for(let H=0;H<R.length;H++){let U=R[H];if(U.isLogicalExpression()){if(U.node.operator==="&&")R.push(U.get("left")),R.push(U.get("right"))}else if(U.isBinaryExpression()){let Q=gHf(X,U);if(Q)V.push(Q)}}if(V.length)return{typeAnnotation:qU.createUnionType(V),ifStatement:J};return AU(f,J,X)}});var wU=D((f6)=>{Object.defineProperty(f6,"__esModule",{value:!0});f6.ArrayExpression=TU;f6.AssignmentExpression=V9f;f6.BinaryExpression=G9f;f6.BooleanLiteral=Z9f;f6.CallExpression=q9f;f6.ConditionalExpression=J9f;f6.ClassDeclaration=f6.ClassExpression=f6.FunctionDeclaration=f6.ArrowFunctionExpression=f6.FunctionExpression=M9f;Object.defineProperty(f6,"Identifier",{enumerable:!0,get:function(){return yHf.default}});f6.LogicalExpression=X9f;f6.NewExpression=oHf;f6.NullLiteral=Y9f;f6.NumericLiteral=Q9f;f6.ObjectExpression=B9f;f6.ParenthesizedExpression=R9f;f6.RegExpLiteral=z9f;f6.RestElement=LU;f6.SequenceExpression=W9f;f6.StringLiteral=U9f;f6.TSAsExpression=NU;f6.TSNonNullExpression=nHf;f6.TaggedTemplateExpression=C9f;f6.TemplateLiteral=eHf;f6.TypeCastExpression=IU;f6.UnaryExpression=f9f;f6.UpdateExpression=H9f;f6.VariableDeclarator=tHf;var hHf=Hf(),yHf=OU(),PU=nW(),{BOOLEAN_BINARY_OPERATORS:xHf,BOOLEAN_UNARY_OPERATORS:mHf,NUMBER_BINARY_OPERATORS:lHf,NUMBER_UNARY_OPERATORS:cHf,STRING_UNARY_OPERATORS:aHf,anyTypeAnnotation:DU,arrayTypeAnnotation:oW,booleanTypeAnnotation:eW,buildMatchMemberExpression:C2,genericTypeAnnotation:mG,identifier:R1,nullLiteralTypeAnnotation:iHf,numberTypeAnnotation:P1,stringTypeAnnotation:V1,tupleTypeAnnotation:rHf,unionTypeAnnotation:pHf,voidTypeAnnotation:sHf,isIdentifier:dHf}=hHf;function tHf(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function IU(f){return f.typeAnnotation}IU.validParent=!0;function NU(f){return f.typeAnnotation}NU.validParent=!0;function nHf(){return this.get("expression").getTypeAnnotation()}function oHf(f){if(f.callee.type==="Identifier")return mG(f.callee)}function eHf(){return V1()}function f9f(f){let G=f.operator;if(G==="void")return sHf();else if(cHf.includes(G))return P1();else if(aHf.includes(G))return V1();else if(mHf.includes(G))return eW()}function G9f(f){let G=f.operator;if(lHf.includes(G))return P1();else if(xHf.includes(G))return eW();else if(G==="+"){let X=this.get("right"),J=this.get("left");if(J.isBaseType("number")&&X.isBaseType("number"))return P1();else if(J.isBaseType("string")||X.isBaseType("string"))return V1();return pHf([V1(),P1()])}}function X9f(){let f=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return PU.createUnionType(f)}function J9f(){let f=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return PU.createUnionType(f)}function W9f(){return this.get("expressions").pop().getTypeAnnotation()}function R9f(){return this.get("expression").getTypeAnnotation()}function V9f(){return this.get("right").getTypeAnnotation()}function H9f(f){let G=f.operator;if(G==="++"||G==="--")return P1()}function U9f(){return V1()}function Q9f(){return P1()}function Z9f(){return eW()}function Y9f(){return iHf()}function z9f(){return mG(R1("RegExp"))}function B9f(){return mG(R1("Object"))}function TU(){return mG(R1("Array"))}function LU(){return TU()}LU.validParent=!0;function M9f(){return mG(R1("Function"))}var K9f=C2("Array.from"),F9f=C2("Object.keys"),S9f=C2("Object.values"),$9f=C2("Object.entries");function q9f(){let{callee:f}=this.node;if(F9f(f))return oW(V1());else if(K9f(f)||S9f(f)||dHf(f,{name:"Array"}))return oW(DU());else if($9f(f))return oW(rHf([V1(),DU()]));return bU(this.get("callee"))}function C9f(){return bU(this.get("tag"))}function bU(f){if(f=f.resolve(),f.isFunction()){let{node:G}=f;if(G.async)if(G.generator)return mG(R1("AsyncIterator"));else return mG(R1("Promise"));else if(G.generator)return mG(R1("Iterator"));else if(f.node.returnType)return f.node.returnType}}});var uU=D((_U)=>{Object.defineProperty(_U,"__esModule",{value:!0});_U._getTypeAnnotation=gU;_U.baseTypeStrictlyMatches=B8f;_U.couldBeBaseType=z8f;_U.getTypeAnnotation=Z8f;_U.isBaseType=Y8f;_U.isGenericType=M8f;var EU=wU(),r9f=Hf(),{anyTypeAnnotation:vU,isAnyTypeAnnotation:A2,isArrayTypeAnnotation:p9f,isBooleanTypeAnnotation:s9f,isEmptyTypeAnnotation:d9f,isFlowBaseAnnotation:t9f,isGenericTypeAnnotation:n9f,isIdentifier:kU,isMixedTypeAnnotation:o9f,isNumberTypeAnnotation:e9f,isStringTypeAnnotation:f8f,isTSArrayType:G8f,isTSTypeAnnotation:X8f,isTSTypeReference:J8f,isTupleTypeAnnotation:W8f,isTypeAnnotation:R8f,isUnionTypeAnnotation:V8f,isVoidTypeAnnotation:H8f,stringTypeAnnotation:U8f,voidTypeAnnotation:Q8f}=r9f;function Z8f(){let f=this.getData("typeAnnotation");if(f!=null)return f;if(f=gU.call(this)||vU(),R8f(f)||X8f(f))f=f.typeAnnotation;return this.setData("typeAnnotation",f),f}var G6=new WeakSet;function gU(){let f=this.node;if(!f)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let X=this.parentPath.parentPath,J=X.parentPath;if(X.key==="left"&&J.isForInStatement())return U8f();if(X.key==="left"&&J.isForOfStatement())return vU();return Q8f()}else return;if(f.typeAnnotation)return f.typeAnnotation;if(G6.has(f))return;G6.add(f);try{var G;let X=EU[f.type];if(X)return X.call(this,f);if(X=EU[this.parentPath.type],(G=X)!=null&&G.validParent)return this.parentPath.getTypeAnnotation()}finally{G6.delete(f)}}function Y8f(f,G){return X6(f,this.getTypeAnnotation(),G)}function X6(f,G,X){if(f==="string")return f8f(G);else if(f==="number")return e9f(G);else if(f==="boolean")return s9f(G);else if(f==="any")return A2(G);else if(f==="mixed")return o9f(G);else if(f==="empty")return d9f(G);else if(f==="void")return H8f(G);else if(X)return!1;else throw new Error(`Unknown base type ${f}`)}function z8f(f){let G=this.getTypeAnnotation();if(A2(G))return!0;if(V8f(G)){for(let X of G.types)if(A2(X)||X6(f,X,!0))return!0;return!1}else return X6(f,G,!0)}function B8f(f){let G=this.getTypeAnnotation(),X=f.getTypeAnnotation();if(!A2(G)&&t9f(G))return X.type===G.type;return!1}function M8f(f){let G=this.getTypeAnnotation();if(f==="Array"){if(G8f(G)||p9f(G)||W8f(G))return!0}return n9f(G)&&kU(G.id,{name:f})||J8f(G)&&kU(G.typeName,{name:f})}});var xU=D((lFf,J6)=>{var O2=process||{},hU=O2.argv||[],j2=O2.env||{},A8f=!(!!j2.NO_COLOR||hU.includes("--no-color"))&&(!!j2.FORCE_COLOR||hU.includes("--color")||O2.platform==="win32"||(O2.stdout||{}).isTTY&&j2.TERM!=="dumb"||!!j2.CI),j8f=(f,G,X=f)=>(J)=>{let W=""+J,R=W.indexOf(G,f.length);return~R?f+O8f(W,G,X,R)+G:f+W+G},O8f=(f,G,X,J)=>{let W="",R=0;do W+=f.substring(R,J)+X,R=J+G.length,J=f.indexOf(G,R);while(~J);return W+f.substring(R)},yU=(f=A8f)=>{let G=f?j8f:()=>String;return{isColorSupported:f,reset:G("\x1B[0m","\x1B[0m"),bold:G("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:G("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:G("\x1B[3m","\x1B[23m"),underline:G("\x1B[4m","\x1B[24m"),inverse:G("\x1B[7m","\x1B[27m"),hidden:G("\x1B[8m","\x1B[28m"),strikethrough:G("\x1B[9m","\x1B[29m"),black:G("\x1B[30m","\x1B[39m"),red:G("\x1B[31m","\x1B[39m"),green:G("\x1B[32m","\x1B[39m"),yellow:G("\x1B[33m","\x1B[39m"),blue:G("\x1B[34m","\x1B[39m"),magenta:G("\x1B[35m","\x1B[39m"),cyan:G("\x1B[36m","\x1B[39m"),white:G("\x1B[37m","\x1B[39m"),gray:G("\x1B[90m","\x1B[39m"),bgBlack:G("\x1B[40m","\x1B[49m"),bgRed:G("\x1B[41m","\x1B[49m"),bgGreen:G("\x1B[42m","\x1B[49m"),bgYellow:G("\x1B[43m","\x1B[49m"),bgBlue:G("\x1B[44m","\x1B[49m"),bgMagenta:G("\x1B[45m","\x1B[49m"),bgCyan:G("\x1B[46m","\x1B[49m"),bgWhite:G("\x1B[47m","\x1B[49m"),blackBright:G("\x1B[90m","\x1B[39m"),redBright:G("\x1B[91m","\x1B[39m"),greenBright:G("\x1B[92m","\x1B[39m"),yellowBright:G("\x1B[93m","\x1B[39m"),blueBright:G("\x1B[94m","\x1B[39m"),magentaBright:G("\x1B[95m","\x1B[39m"),cyanBright:G("\x1B[96m","\x1B[39m"),whiteBright:G("\x1B[97m","\x1B[39m"),bgBlackBright:G("\x1B[100m","\x1B[49m"),bgRedBright:G("\x1B[101m","\x1B[49m"),bgGreenBright:G("\x1B[102m","\x1B[49m"),bgYellowBright:G("\x1B[103m","\x1B[49m"),bgBlueBright:G("\x1B[104m","\x1B[49m"),bgMagentaBright:G("\x1B[105m","\x1B[49m"),bgCyanBright:G("\x1B[106m","\x1B[49m"),bgWhiteBright:G("\x1B[107m","\x1B[49m")}};J6.exports=yU();J6.exports.createColors=yU});var lU=D((mU)=>{Object.defineProperty(mU,"__esModule",{value:!0});mU.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;mU.matchToToken=function(f){var G={type:"invalid",value:f[0],closed:void 0};if(f[1])G.type="string",G.closed=!!(f[3]||f[4]);else if(f[5])G.type="comment";else if(f[6])G.type="comment",G.closed=!!f[7];else if(f[8])G.type="regex";else if(f[9])G.type="number";else if(f[10])G.type="name";else if(f[11])G.type="punctuator";else if(f[12])G.type="whitespace";return G}});var R6=D((oU)=>{Object.defineProperty(oU,"__esModule",{value:!0});var W6=xU(),cU=lU(),aU=x1();function I8f(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:W6.isColorSupported}var D2=(f,G)=>(X)=>f(G(X));function pU(f){return{keyword:f.cyan,capitalized:f.yellow,jsxIdentifier:f.yellow,punctuator:f.yellow,number:f.magenta,string:f.green,regex:f.magenta,comment:f.gray,invalid:D2(D2(f.white,f.bgRed),f.bold),gutter:f.gray,marker:D2(f.red,f.bold),message:D2(f.red,f.bold),reset:f.reset}}var N8f=pU(W6.createColors(!0)),T8f=pU(W6.createColors(!1));function sU(f){return f?N8f:T8f}var L8f=new Set(["as","async","from","get","of","set"]),b8f=/\r\n|[\n\r\u2028\u2029]/,w8f=/^[()[\]{}]$/,dU;{let f=/^[a-z][\w-]*$/i,G=function(X,J,W){if(X.type==="name"){if(aU.isKeyword(X.value)||aU.isStrictReservedWord(X.value,!0)||L8f.has(X.value))return"keyword";if(f.test(X.value)&&(W[J-1]==="<"||W.slice(J-2,J)==="</"))return"jsxIdentifier";if(X.value[0]!==X.value[0].toLowerCase())return"capitalized"}if(X.type==="punctuator"&&w8f.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};dU=function*(X){let J;while(J=cU.default.exec(X)){let W=cU.matchToToken(J);yield{type:G(W,J.index,X),value:W.value}}}}function tU(f){if(f==="")return"";let G=sU(!0),X="";for(let{type:J,value:W}of dU(f))if(J in G)X+=W.split(b8f).map((R)=>G[J](R)).join(`
28
- `);else X+=W;return X}var iU=!1,rU=/\r\n|[\n\r\u2028\u2029]/;function E8f(f,G,X){let J=Object.assign({column:0,line:-1},f.start),W=Object.assign({},J,f.end),{linesAbove:R=2,linesBelow:V=3}=X||{},H=J.line,U=J.column,Q=W.line,Y=W.column,S=Math.max(H-(R+1),0),C=Math.min(G.length,Q+V);if(H===-1)S=0;if(Q===-1)C=G.length;let A=Q-H,j={};if(A)for(let b=0;b<=A;b++){let I=b+H;if(!U)j[I]=!0;else if(b===0){let L=G[I-1].length;j[I]=[U,L-U+1]}else if(b===A)j[I]=[0,Y];else{let L=G[I-b].length;j[I]=[0,L]}}else if(U===Y)if(U)j[H]=[U,0];else j[H]=!0;else j[H]=[U,Y-U];return{start:S,end:C,markerLines:j}}function nU(f,G,X={}){let J=X.forceColor||I8f()&&X.highlightCode,W=sU(J),R=f.split(rU),{start:V,end:H,markerLines:U}=E8f(G,R,X),Q=G.start&&typeof G.start.column==="number",Y=String(H).length,C=(J?tU(f):f).split(rU,H).slice(V,H).map((A,j)=>{let b=V+1+j,L=` ${` ${b}`.slice(-Y)} |`,w=U[b],Xf=!U[b+1];if(w){let p="";if(Array.isArray(w)){let Jf=A.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),Kf=w[1]||1;if(p=[`
25
+ `+R),f.push(W+"m+"+K2.exports.humanize(this.diff)+"\x1B[0m")}else f[0]=bRf()+G+" "+f[0]}function bRf(){if(S4.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function wRf(...f){return process.stderr.write(M2.formatWithOptions(S4.inspectOpts,...f)+`
26
+ `)}function ERf(f){if(f)process.env.DEBUG=f;else delete process.env.DEBUG}function kRf(){return process.env.DEBUG}function vRf(f){f.inspectOpts={};let G=Object.keys(S4.inspectOpts);for(let X=0;X<G.length;X++)f.inspectOpts[G[X]]=S4.inspectOpts[G[X]]}K2.exports=yW()(S4);var{formatters:F4}=K2.exports;F4.o=function(f){return this.inspectOpts.colors=this.useColors,M2.inspect(f,this.inspectOpts).split(`
27
+ `).map((G)=>G.trim()).join(" ")};F4.O=function(f){return this.inspectOpts.colors=this.useColors,M2.inspect(f,this.inspectOpts)}});var C4=D((OFf,lW)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)lW.exports=z4();else lW.exports=q4()});var aW=D((O4)=>{Object.defineProperty(O4,"__esModule",{value:!0});O4.isBindingIdentifier=Z0f;O4.isBlockScoped=K0f;O4.isExpression=z0f;O4.isFlow=C0f;O4.isForAwaitStatement=O0f;O4.isGenerated=$0f;O4.isPure=q0f;O4.isReferenced=M0f;O4.isReferencedIdentifier=U0f;O4.isReferencedMemberExpression=Q0f;O4.isRestProperty=A0f;O4.isScope=B0f;O4.isSpreadProperty=j0f;O4.isStatement=Y0f;O4.isUser=S0f;O4.isVar=F0f;var lRf=Hf(),{isBinding:cRf,isBlockScoped:aRf,isExportDeclaration:iRf,isExpression:rRf,isFlow:pRf,isForStatement:sRf,isForXStatement:dRf,isIdentifier:A4,isImportDeclaration:tRf,isImportSpecifier:nRf,isJSXIdentifier:oRf,isJSXMemberExpression:eRf,isMemberExpression:f0f,isRestElement:j4,isReferenced:cW,isScope:G0f,isStatement:X0f,isVar:J0f,isVariableDeclaration:W0f,react:R0f,isForOfStatement:V0f}=lRf,{isCompatTag:H0f}=R0f;function U0f(f){let{node:G,parent:X}=this;if(!A4(G,f)&&!eRf(X,f))if(oRf(G,f)){if(H0f(G.name))return!1}else return!1;return cW(G,X,this.parentPath.parent)}function Q0f(){let{node:f,parent:G}=this;return f0f(f)&&cW(f,G)}function Z0f(){let{node:f,parent:G}=this,X=this.parentPath.parent;return A4(f)&&cRf(f,G,X)}function Y0f(){let{node:f,parent:G}=this;if(X0f(f)){if(W0f(f)){if(dRf(G,{left:f}))return!1;if(sRf(G,{init:f}))return!1}return!0}else return!1}function z0f(){if(this.isIdentifier())return this.isReferencedIdentifier();else return rRf(this.node)}function B0f(){return G0f(this.node,this.parent)}function M0f(){return cW(this.node,this.parent)}function K0f(){return aRf(this.node)}function F0f(){return J0f(this.node)}function S0f(){return this.node&&!!this.node.loc}function $0f(){return!this.isUser()}function q0f(f){return this.scope.isPure(this.node,f)}function C0f(){let{node:f}=this;if(pRf(f))return!0;else if(tRf(f))return f.importKind==="type"||f.importKind==="typeof";else if(iRf(f))return f.exportKind==="type";else if(nRf(f))return f.importKind==="type"||f.importKind==="typeof";else return!1}function A0f(){var f;return j4(this.node)&&((f=this.parentPath)==null?void 0:f.isObjectPattern())}function j0f(){var f;return j4(this.node)&&((f=this.parentPath)==null?void 0:f.isObjectExpression())}function O0f(){return V0f(this.node,{await:!0})}O4.isExistentialTypeParam=function f(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},O4.isNumericLiteralTypeAnnotation=function f(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var QX=D((u4)=>{Object.defineProperty(u4,"__esModule",{value:!0});u4.environmentVisitor=p0f;u4.explode=v4;u4.isExplodedVisitor=k4;u4.merge=_4;u4.verify=g4;var E4=hW(),x0f=aW(),m0f=Hf(),D4=KG(),{DEPRECATED_KEYS:I4,DEPRECATED_ALIASES:P4,FLIPPED_ALIAS_KEYS:N4,TYPES:l0f,__internal__deprecationWarning:T4}=m0f;function c0f(f){return f in E4}function k4(f){return f==null?void 0:f._exploded}function v4(f){if(k4(f))return f;f._exploded=!0;for(let G of Object.keys(f)){if(G1(G))continue;let X=G.split("|");if(X.length===1)continue;let J=f[G];delete f[G];for(let W of X)f[W]=J}g4(f),delete f.__esModule,a0f(f),w4(f);for(let G of Object.keys(f)){if(G1(G))continue;if(!c0f(G))continue;let X=f[G];for(let W of Object.keys(X))X[W]=i0f(G,X[W]);delete f[G];let J=E4[G];if(J!==null)for(let W of J)if(f[W])UX(f[W],X);else f[W]=X;else UX(f,X)}for(let G of Object.keys(f)){if(G1(G))continue;let X=N4[G];if(G in I4){let W=I4[G];T4(G,W,"Visitor "),X=[W]}else if(G in P4){let W=P4[G];T4(G,W,"Visitor "),X=N4[W]}if(!X)continue;let J=f[G];delete f[G];for(let W of X){let R=f[W];if(R)UX(R,J);else f[W]=Object.assign({},J)}}for(let G of Object.keys(f)){if(G1(G))continue;w4(f[G])}return f}function g4(f){if(f._verified)return;if(typeof f==="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 G of Object.keys(f)){if(G==="enter"||G==="exit")L4(G,f[G]);if(G1(G))continue;if(!l0f.includes(G))throw new Error(`You gave us a visitor for the node type ${G} but it's not a valid type in @babel/traverse 7.26.10`);let X=f[G];if(typeof X==="object")for(let J of Object.keys(X))if(J==="enter"||J==="exit")L4(`${G}.${J}`,X[J]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${G} that has the invalid property ${J}`)}f._verified=!0}function L4(f,G){let X=[].concat(G);for(let J of X)if(typeof J!=="function")throw new TypeError(`Non-function found defined in ${f} with type ${typeof J}`)}function _4(f,G=[],X){let J={_verified:!0,_exploded:!0};Object.defineProperty(J,"_exploded",{enumerable:!1}),Object.defineProperty(J,"_verified",{enumerable:!1});for(let W=0;W<f.length;W++){let R=v4(f[W]),V=G[W],H=R;if(V||X)H=b4(H,V,X);UX(J,H);for(let U of Object.keys(R)){if(G1(U))continue;let Q=R[U];if(V||X)Q=b4(Q,V,X);let Y=J[U]||(J[U]={});UX(Y,Q)}}return J}function b4(f,G,X){let J={};for(let W of["enter","exit"]){let R=f[W];if(!Array.isArray(R))continue;R=R.map(function(V){let H=V;if(G)H=function(U){V.call(G,U,G)};if(X)H=X(G==null?void 0:G.key,W,H);if(H!==V)H.toString=()=>V.toString();return H}),J[W]=R}return J}function a0f(f){for(let G of Object.keys(f)){if(G1(G))continue;let X=f[G];if(typeof X==="function")f[G]={enter:X}}}function w4(f){if(f.enter&&!Array.isArray(f.enter))f.enter=[f.enter];if(f.exit&&!Array.isArray(f.exit))f.exit=[f.exit]}function i0f(f,G){let X=`is${f}`,J=x0f[X],W=function(R){if(J.call(R))return G.apply(this,arguments)};return W.toString=()=>G.toString(),W}function G1(f){if(f[0]==="_")return!0;if(f==="enter"||f==="exit"||f==="shouldSkip")return!0;if(f==="denylist"||f==="noScope"||f==="skipKeys")return!0;if(f==="blacklist")return!0;return!1}function UX(f,G){for(let X of["enter","exit"]){if(!G[X])continue;f[X]=[].concat(f[X]||[],G[X])}}var r0f={FunctionParent(f){if(f.isArrowFunctionExpression())return;if(f.skip(),f.isMethod())if(!f.requeueComputedKeyAndDecorators)D4.requeueComputedKeyAndDecorators.call(f);else f.requeueComputedKeyAndDecorators()},Property(f){if(f.isObjectProperty())return;if(f.skip(),!f.requeueComputedKeyAndDecorators)D4.requeueComputedKeyAndDecorators.call(f);else f.requeueComputedKeyAndDecorators()}};function p0f(f){return _4([r0f,f])}});var m4=D((y4)=>{Object.defineProperty(y4,"__esModule",{value:!0});y4.default=void 0;var F2=Hf(),e0f=F2,fVf=S2(),GVf=QX(),XVf=KG(),{getAssignmentIdentifiers:JVf}=e0f,WVf={ReferencedIdentifier({node:f},G){if(f.name===G.oldName)f.name=G.newName},Scope(f,G){if(!f.scope.bindingIdentifierEquals(G.oldName,G.binding.identifier)){if(f.skip(),f.isMethod())if(!f.requeueComputedKeyAndDecorators)XVf.requeueComputedKeyAndDecorators.call(f);else f.requeueComputedKeyAndDecorators()}},ObjectProperty({node:f,scope:G},X){let{name:J}=f.key;if(f.shorthand&&(J===X.oldName||J===X.newName)&&G.getBindingIdentifier(J)===X.binding.identifier){f.shorthand=!1;{var W;if((W=f.extra)!=null&&W.shorthand)f.extra.shorthand=!1}}},"AssignmentExpression|Declaration|VariableDeclarator"(f,G){if(f.isVariableDeclaration())return;let X=f.isAssignmentExpression()?JVf(f.node):f.getOuterBindingIdentifiers();for(let J in X)if(J===G.oldName)X[J].name=G.newName}};class h4{constructor(f,G,X){this.newName=X,this.oldName=G,this.binding=f}maybeConvertFromExportDeclaration(f){let G=f.parentPath;if(!G.isExportDeclaration())return;if(G.isExportDefaultDeclaration()){let{declaration:X}=G.node;if(F2.isDeclaration(X)&&!X.id)return}if(G.isExportAllDeclaration())return;G.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(f){return f}maybeConvertFromClassFunctionExpression(f){return f}rename(){let{binding:f,oldName:G,newName:X}=this,{scope:J,path:W}=f,R=W.find((U)=>U.isDeclaration()||U.isFunctionExpression()||U.isClassExpression());if(R){if(R.getOuterBindingIdentifiers()[G]===f.identifier)this.maybeConvertFromExportDeclaration(R)}let V=arguments[0]||J.block,H={discriminant:!0};if(F2.isMethod(V)){if(V.computed)H.key=!0;if(!F2.isObjectMethod(V))H.decorators=!0}if(fVf.traverseNode(V,GVf.explode(WVf),J,this,J.path,H),!arguments[0])J.removeOwnBinding(G),J.bindings[X]=f,this.binding.identifier.name=X;if(R)this.maybeConvertFromClassFunctionDeclaration(W),this.maybeConvertFromClassFunctionExpression(W)}}y4.default=h4});var i4=D((c4)=>{Object.defineProperty(c4,"__esModule",{value:!0});c4.default=void 0;class l4{constructor({identifier:f,scope:G,path:X,kind:J}){if(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=f,this.scope=G,this.path=X,this.kind=J,(J==="var"||J==="hoisted")&&RVf(X))this.reassign(X);this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(f){if(this.hasDeoptedValue)return;this.hasValue=!0,this.value=f}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(f){if(this.constant=!1,this.constantViolations.includes(f))return;this.constantViolations.push(f)}reference(f){if(this.referencePaths.includes(f))return;this.referenced=!0,this.references++,this.referencePaths.push(f)}dereference(){this.references--,this.referenced=!!this.references}}c4.default=l4;function RVf(f){for(let{parentPath:G,key:X}=f;G;{parentPath:G,key:X}=G){if(G.isFunctionParent())return!1;if(G.isWhile()||G.isForXStatement()||G.isForStatement()&&X==="body")return!0}return!1}});var r4=D((bFf,VVf)=>{VVf.exports={amd:{define:!1,require:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},atomtest:{advanceClock:!1,atom:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},browser:{AbortController:!1,AbortSignal:!1,AbsoluteOrientationSensor:!1,AbstractRange:!1,Accelerometer:!1,addEventListener:!1,ai:!1,AI:!1,AITextSession:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffect:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioData:!1,AudioDecoder:!1,AudioDestinationNode:!1,AudioEncoder:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioParamMap:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,AudioSinkInfo:!1,AudioWorklet:!1,AudioWorkletGlobalScope:!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,AuthenticatorAssertionResponse:!1,AuthenticatorAttestationResponse:!1,AuthenticatorResponse:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BarcodeDetector:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,Bluetooth:!1,BluetoothCharacteristicProperties:!1,BluetoothDevice:!1,BluetoothRemoteGATTCharacteristic:!1,BluetoothRemoteGATTDescriptor:!1,BluetoothRemoteGATTServer:!1,BluetoothRemoteGATTService:!1,BluetoothUUID:!1,blur:!1,BroadcastChannel:!1,BrowserCaptureMediaStreamTrack:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStream:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,CaptureController:!1,CaretPosition:!1,CDATASection:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,ChapterInformation:!1,CharacterBoundsUpdateEvent:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,Clipboard:!1,ClipboardEvent:!1,ClipboardItem:!1,close:!1,closed:!1,CloseEvent:!1,CloseWatcher:!1,Comment:!1,CompositionEvent:!1,CompressionStream:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ContentVisibilityAutoStateChangeEvent:!1,ConvolverNode:!1,CookieChangeEvent:!1,CookieDeprecationLabel:!1,cookieStore:!1,CookieStore:!1,CookieStoreManager:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,credentialless:!1,CredentialsContainer:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSAnimation:!1,CSSConditionRule:!1,CSSContainerRule:!1,CSSCounterStyleRule:!1,CSSFontFaceRule:!1,CSSFontFeatureValuesRule:!1,CSSFontPaletteValuesRule:!1,CSSGroupingRule:!1,CSSImageValue:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSKeywordValue:!1,CSSLayerBlockRule:!1,CSSLayerStatementRule:!1,CSSMarginRule:!1,CSSMathClamp:!1,CSSMathInvert:!1,CSSMathMax:!1,CSSMathMin:!1,CSSMathNegate:!1,CSSMathProduct:!1,CSSMathSum:!1,CSSMathValue:!1,CSSMatrixComponent:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSNestedDeclarations:!1,CSSNumericArray:!1,CSSNumericValue:!1,CSSPageDescriptors:!1,CSSPageRule:!1,CSSPerspective:!1,CSSPositionTryDescriptors:!1,CSSPositionTryRule:!1,CSSPositionValue:!1,CSSPropertyRule:!1,CSSRotate:!1,CSSRule:!1,CSSRuleList:!1,CSSScale:!1,CSSScopeRule:!1,CSSSkew:!1,CSSSkewX:!1,CSSSkewY:!1,CSSStartingStyleRule:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSStyleValue:!1,CSSSupportsRule:!1,CSSTransformComponent:!1,CSSTransformValue:!1,CSSTransition:!1,CSSTranslate:!1,CSSUnitValue:!1,CSSUnparsedValue:!1,CSSVariableReferenceValue:!1,CSSViewTransitionRule:!1,currentFrame:!1,currentTime:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,CustomStateSet:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,DecompressionStream:!1,DelayNode:!1,DelegatedInkTrailPresenter:!1,DeviceMotionEvent:!1,DeviceMotionEventAcceleration:!1,DeviceMotionEventRotationRate:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,documentPictureInPicture:!1,DocumentPictureInPicture:!1,DocumentPictureInPictureEvent:!1,DocumentTimeline:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectList:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,EditContext:!1,Element:!1,ElementInternals:!1,EncodedAudioChunk:!1,EncodedVideoChunk:!1,ErrorEvent:!1,event:!1,Event:!1,EventCounts:!1,EventSource:!1,EventTarget:!1,external:!1,External:!1,EyeDropper:!1,FeaturePolicy:!1,FederatedCredential:!1,fence:!1,Fence:!1,FencedFrameConfig:!1,fetch:!1,fetchLater:!1,FetchLaterResult:!1,File:!1,FileList:!1,FileReader:!1,FileSystem:!1,FileSystemDirectoryEntry:!1,FileSystemDirectoryHandle:!1,FileSystemDirectoryReader:!1,FileSystemEntry:!1,FileSystemFileEntry:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemWritableFileStream:!1,find:!1,Float16Array:!1,focus:!1,FocusEvent:!1,FontData:!1,FontFace:!1,FontFaceSet:!1,FontFaceSetLoadEvent:!1,FormData:!1,FormDataEvent:!1,FragmentDirective:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadAxisMoveEvent:!1,GamepadButton:!1,GamepadButtonEvent:!1,GamepadEvent:!1,GamepadHapticActuator:!1,GamepadPose:!1,Geolocation:!1,GeolocationCoordinates:!1,GeolocationPosition:!1,GeolocationPositionError:!1,getComputedStyle:!1,getScreenDetails:!1,getSelection:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,GravitySensor:!1,Gyroscope:!1,HashChangeEvent:!1,Headers:!1,HID:!1,HIDConnectionEvent:!1,HIDDevice:!1,HIDInputReportEvent:!1,Highlight:!1,HighlightRegistry:!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,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFencedFrameElement:!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,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,IdentityCredential:!1,IdentityCredentialError:!1,IdentityProvider:!1,IdleDeadline:!1,IdleDetector:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,ImageDecoder:!1,ImageTrack:!1,ImageTrackList:!1,indexedDB:!1,Ink:!1,innerHeight:!1,innerWidth:!1,InputDeviceCapabilities:!1,InputDeviceInfo:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,isSecureContext:!1,Keyboard:!1,KeyboardEvent:!1,KeyboardLayoutMap:!1,KeyframeEffect:!1,LargestContentfulPaint:!1,LaunchParams:!1,launchQueue:!1,LaunchQueue:!1,LayoutShift:!1,LayoutShiftAttribution:!1,length:!1,LinearAccelerationSensor:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,Lock:!1,LockManager:!1,matchMedia:!1,MathMLElement:!1,MediaCapabilities:!1,MediaCapabilitiesInfo:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyError:!1,MediaKeyMessageEvent:!1,MediaKeys:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaMetadata:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaRecorderErrorEvent:!1,MediaSession:!1,MediaSource:!1,MediaSourceHandle:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackAudioSourceNode:!1,MediaStreamTrackAudioStats:!1,MediaStreamTrackEvent:!1,MediaStreamTrackGenerator:!1,MediaStreamTrackProcessor:!1,MediaStreamTrackVideoStats:!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,model:!1,ModelGenericSession:!1,ModelManager:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigateEvent:!1,navigation:!1,Navigation:!1,NavigationActivation:!1,NavigationCurrentEntryChangeEvent:!1,NavigationDestination:!1,NavigationHistoryEntry:!1,NavigationPreloadManager:!1,NavigationTransition:!1,navigator:!1,Navigator:!1,NavigatorLogin:!1,NavigatorManagedData:!1,NavigatorUAData:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,NotifyPaintEvent:!1,NotRestoredReasonDetails:!1,NotRestoredReasons:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onabort:!0,onafterprint:!0,onanimationcancel:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinput:!0,onbeforeinstallprompt:!0,onbeforematch:!0,onbeforeprint:!0,onbeforetoggle:!0,onbeforeunload:!0,onbeforexrselect:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontentvisibilityautostatechange:!0,oncontextlost:!0,oncontextmenu:!0,oncontextrestored:!0,oncopy:!0,oncuechange:!0,oncut:!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,onformdata:!0,ongamepadconnected:!0,ongamepaddisconnected:!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,onpagereveal:!0,onpageshow:!0,onpageswap:!0,onpaste:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerrawupdate:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onscrollend:!0,onscrollsnapchange:!0,onscrollsnapchanging:!0,onsearch:!0,onsecuritypolicyviolation:!0,onseeked:!0,onseeking:!0,onselect:!0,onselectionchange:!0,onselectstart:!0,onslotchange:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitioncancel:!0,ontransitionend:!0,ontransitionrun:!0,ontransitionstart:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,opener:!1,Option:!1,OrientationSensor:!1,origin:!1,originAgentCluster:!1,OscillatorNode:!1,OTPCredential:!1,outerHeight:!1,outerWidth:!1,OverconstrainedError:!1,PageRevealEvent:!1,PageSwapEvent:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,PasswordCredential:!1,Path2D:!1,PaymentAddress:!1,PaymentManager:!1,PaymentMethodChangeEvent:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceElementTiming:!1,PerformanceEntry:!1,PerformanceEventTiming:!1,PerformanceLongAnimationFrameTiming:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceScriptTiming:!1,PerformanceServerTiming:!1,PerformanceTiming:!1,PeriodicSyncManager:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,PERSISTENT:!1,personalbar:!1,PictureInPictureEvent:!1,PictureInPictureWindow:!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,PressureObserver:!1,PressureRecord:!1,print:!1,ProcessingInstruction:!1,Profiler:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,ProtectedAudience:!1,PublicKeyCredential:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queryLocalFonts:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,registerProcessor:!1,RelativeOrientationSensor:!1,RemotePlayback:!1,removeEventListener:!1,reportError:!1,ReportingObserver:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,ResizeObserverSize:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCDTMFSender:!1,RTCDTMFToneChangeEvent:!1,RTCEncodedAudioFrame:!1,RTCEncodedVideoFrame:!1,RTCError:!1,RTCErrorEvent:!1,RTCIceCandidate:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceErrorEvent:!1,RTCPeerConnectionIceEvent:!1,RTCRtpReceiver:!1,RTCRtpScriptTransform:!1,RTCRtpSender:!1,RTCRtpTransceiver:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,sampleRate:!1,scheduler:!1,Scheduler:!1,Scheduling:!1,screen:!1,Screen:!1,ScreenDetailed:!1,ScreenDetails:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,ScrollTimeline:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,Sensor:!1,SensorErrorEvent:!1,Serial:!1,SerialPort:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,sharedStorage:!1,SharedStorage:!1,SharedStorageWorklet:!1,SharedWorker:!1,showDirectoryPicker:!1,showOpenFilePicker:!1,showSaveFilePicker:!1,SnapEvent:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesis:!1,SpeechSynthesisErrorEvent:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,SpeechSynthesisVoice:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageBucket:!1,StorageBucketManager:!1,StorageEvent:!1,StorageManager:!1,structuredClone:!1,styleMedia:!1,StylePropertyMap:!1,StylePropertyMapReadOnly:!1,StyleSheet:!1,StyleSheetList:!1,SubmitEvent:!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,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,SyncManager:!1,TaskAttributionTiming:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TEMPORARY:!1,Text:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextEvent:!1,TextFormat:!1,TextFormatUpdateEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TextUpdateEvent:!1,TimeEvent:!1,TimeRanges:!1,ToggleEvent:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransformStream:!1,TransformStreamDefaultController:!1,TransitionEvent:!1,TreeWalker:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,UIEvent:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,USB:!1,USBAlternateInterface:!1,USBConfiguration:!1,USBConnectionEvent:!1,USBDevice:!1,USBEndpoint:!1,USBInterface:!1,USBInTransferResult:!1,USBIsochronousInTransferPacket:!1,USBIsochronousInTransferResult:!1,USBIsochronousOutTransferPacket:!1,USBIsochronousOutTransferResult:!1,USBOutTransferResult:!1,UserActivation:!1,ValidityState:!1,VideoColorSpace:!1,VideoDecoder:!1,VideoEncoder:!1,VideoFrame:!1,VideoPlaybackQuality:!1,ViewTimeline:!1,ViewTransition:!1,ViewTransitionTypeSet:!1,VirtualKeyboard:!1,VirtualKeyboardGeometryChangeEvent:!1,VisibilityStateEntry:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,VTTRegion:!1,WakeLock:!1,WakeLockSentinel:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!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,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WebTransportReceiveStream:!1,WebTransportSendStream:!1,WGSLLanguageFeatures:!1,WheelEvent:!1,window:!1,Window:!1,WindowControlsOverlay:!1,WindowControlsOverlayGeometryChangeEvent:!1,Worker:!1,Worklet:!1,WorkletGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XRAnchor:!1,XRAnchorSet:!1,XRBoundedReferenceSpace:!1,XRCamera:!1,XRCPUDepthInformation:!1,XRDepthInformation:!1,XRDOMOverlayState:!1,XRFrame:!1,XRHand:!1,XRHitTestResult:!1,XRHitTestSource:!1,XRInputSource:!1,XRInputSourceArray:!1,XRInputSourceEvent:!1,XRInputSourcesChangeEvent:!1,XRJointPose:!1,XRJointSpace:!1,XRLayer:!1,XRLightEstimate:!1,XRLightProbe:!1,XRPose:!1,XRRay:!1,XRReferenceSpace:!1,XRReferenceSpaceEvent:!1,XRRenderState:!1,XRRigidTransform:!1,XRSession:!1,XRSessionEvent:!1,XRSpace:!1,XRSystem:!1,XRTransientInputHitTestResult:!1,XRTransientInputHitTestSource:!1,XRView:!1,XRViewerPose:!1,XRViewport:!1,XRWebGLBinding:!1,XRWebGLDepthInformation:!1,XRWebGLLayer:!1,XSLTProcessor:!1},builtin:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},chai:{assert:!0,expect:!0,should:!0},commonjs:{exports:!0,global:!1,module:!1,require:!1},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!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},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},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2016:{Array:!1,ArrayBuffer:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2018:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2019:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2020:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!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,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakSet:!1},es2021:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2022:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2023:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2024:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es2025:{AggregateError:!1,Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,FinalizationRegistry:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,isFinite:!1,isNaN:!1,Iterator:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,WeakMap:!1,WeakRef:!1,WeakSet:!1},es3:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},es5:{Array:!1,Boolean:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,Infinity:!1,isFinite:!1,isNaN:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addElement:!1,GM_addStyle:!1,GM_addValueChangeListener:!1,GM_deleteValue:!1,GM_download:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getTab:!1,GM_getTabs:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_notification:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_removeValueChangeListener:!1,GM_saveTab:!1,GM_setClipboard:!1,GM_setValue:!1,GM_unregisterMenuCommand:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,expectAsync:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnAllFunctions:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fit:!1,it:!1,jest:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},jquery:{$:!1,jQuery:!1},meteor:{$:!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},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},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},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},node:{__dirname:!1,__filename:!1,AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,exports:!0,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,module:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,require:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},nodeBuiltin:{AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Buffer:!1,ByteLengthQueuingStrategy:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,global:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,process:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},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},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!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},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},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,ErrorEvent:!1,Event:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,File:!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,MessageEvent:!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,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!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,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1},"shared-node-browser":{AbortController:!1,AbortSignal:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,clearInterval:!1,clearTimeout:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CustomEvent:!1,DecompressionStream:!1,DOMException:!1,Event:!1,EventTarget:!1,fetch:!1,File:!1,FormData:!1,Headers:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,navigator:!1,Navigator:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,Request:!1,Response:!1,setInterval:!1,setTimeout:!1,structuredClone:!1,SubtleCrypto:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TransformStream:!1,TransformStreamDefaultController:!1,URL:!1,URLSearchParams:!1,WebAssembly:!1,WebSocket:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!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,head:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,ShellString:!1,sort:!1,tail:!1,tempdir:!1,test:!1,touch:!1,uniq:!1,which:!1},vitest:{afterAll:!1,afterEach:!1,assert:!1,assertType:!1,beforeAll:!1,beforeEach:!1,chai:!1,describe:!1,expect:!1,expectTypeOf:!1,it:!1,onTestFailed:!1,onTestFinished:!1,suite:!1,test:!1,vi:!1,vitest:!1},webextensions:{browser:!1,chrome:!1,opr:!1},worker:{AbortController:!1,AbortSignal:!1,addEventListener:!1,ai:!1,atob:!1,AudioData:!1,AudioDecoder:!1,AudioEncoder:!1,BackgroundFetchManager:!1,BackgroundFetchRecord:!1,BackgroundFetchRegistration:!1,BarcodeDetector:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,CanvasGradient:!1,CanvasPattern:!1,clearInterval:!1,clearTimeout:!1,close:!1,CloseEvent:!1,CompressionStream:!1,console:!1,CountQueuingStrategy:!1,createImageBitmap:!1,CropTarget:!1,crossOriginIsolated:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSSSkewX:!1,CSSSkewY:!1,CustomEvent:!1,DecompressionStream:!1,DedicatedWorkerGlobalScope:!1,dispatchEvent:!1,DOMException:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,EncodedAudioChunk:!1,EncodedVideoChunk:!1,ErrorEvent:!1,Event:!1,EventSource:!1,EventTarget:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,FileReaderSync:!1,FileSystemDirectoryHandle:!1,FileSystemFileHandle:!1,FileSystemHandle:!1,FileSystemSyncAccessHandle:!1,FileSystemWritableFileStream:!1,FontFace:!1,fonts:!1,FormData:!1,GPU:!1,GPUAdapter:!1,GPUAdapterInfo:!1,GPUBindGroup:!1,GPUBindGroupLayout:!1,GPUBuffer:!1,GPUBufferUsage:!1,GPUCanvasContext:!1,GPUColorWrite:!1,GPUCommandBuffer:!1,GPUCommandEncoder:!1,GPUCompilationInfo:!1,GPUCompilationMessage:!1,GPUComputePassEncoder:!1,GPUComputePipeline:!1,GPUDevice:!1,GPUDeviceLostInfo:!1,GPUError:!1,GPUExternalTexture:!1,GPUInternalError:!1,GPUMapMode:!1,GPUOutOfMemoryError:!1,GPUPipelineError:!1,GPUPipelineLayout:!1,GPUQuerySet:!1,GPUQueue:!1,GPURenderBundle:!1,GPURenderBundleEncoder:!1,GPURenderPassEncoder:!1,GPURenderPipeline:!1,GPUSampler:!1,GPUShaderModule:!1,GPUShaderStage:!1,GPUSupportedFeatures:!1,GPUSupportedLimits:!1,GPUTexture:!1,GPUTextureUsage:!1,GPUTextureView:!1,GPUUncapturedErrorEvent:!1,GPUValidationError:!1,Headers:!1,HID:!1,HIDConnectionEvent:!1,HIDDevice:!1,HIDInputReportEvent:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDetector:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageData:!1,ImageDecoder:!1,ImageTrack:!1,ImageTrackList:!1,importScripts:!1,indexedDB:!1,isSecureContext:!1,location:!1,Lock:!1,LockManager:!1,MediaCapabilities:!1,MediaSource:!1,MediaSourceHandle:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,name:!1,NavigationPreloadManager:!1,navigator:!1,NavigatorUAData:!1,NetworkInformation:!1,Notification:!1,OffscreenCanvas:!1,OffscreenCanvasRenderingContext2D:!1,onerror:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onrejectionhandled:!0,onunhandledrejection:!0,origin:!1,Path2D:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformanceResourceTiming:!1,PerformanceServerTiming:!1,PeriodicSyncManager:!1,Permissions:!1,PermissionStatus:!1,PERSISTENT:!1,postMessage:!1,PressureObserver:!1,PressureRecord:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,ReadableByteStreamController:!1,ReadableStream:!1,ReadableStreamBYOBReader:!1,ReadableStreamBYOBRequest:!1,ReadableStreamDefaultController:!1,ReadableStreamDefaultReader:!1,removeEventListener:!1,reportError:!1,ReportingObserver:!1,Request:!1,requestAnimationFrame:!1,Response:!1,RTCDataChannel:!1,RTCEncodedAudioFrame:!1,RTCEncodedVideoFrame:!1,scheduler:!1,Scheduler:!1,SecurityPolicyViolationEvent:!1,self:!1,Serial:!1,SerialPort:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,SourceBuffer:!1,SourceBufferList:!1,StorageBucket:!1,StorageBucketManager:!1,StorageManager:!1,structuredClone:!1,SubtleCrypto:!1,SyncManager:!1,TaskController:!1,TaskPriorityChangeEvent:!1,TaskSignal:!1,TEMPORARY:!1,TextDecoder:!1,TextDecoderStream:!1,TextEncoder:!1,TextEncoderStream:!1,TextMetrics:!1,TransformStream:!1,TransformStreamDefaultController:!1,TrustedHTML:!1,TrustedScript:!1,TrustedScriptURL:!1,TrustedTypePolicy:!1,TrustedTypePolicyFactory:!1,trustedTypes:!1,URL:!1,URLPattern:!1,URLSearchParams:!1,USB:!1,USBAlternateInterface:!1,USBConfiguration:!1,USBConnectionEvent:!1,USBDevice:!1,USBEndpoint:!1,USBInterface:!1,USBInTransferResult:!1,USBIsochronousInTransferPacket:!1,USBIsochronousInTransferResult:!1,USBIsochronousOutTransferPacket:!1,USBIsochronousOutTransferResult:!1,USBOutTransferResult:!1,UserActivation:!1,VideoColorSpace:!1,VideoDecoder:!1,VideoEncoder:!1,VideoFrame:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLObject:!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,webkitRequestFileSystem:!1,webkitRequestFileSystemSync:!1,webkitResolveLocalFileSystemSyncURL:!1,webkitResolveLocalFileSystemURL:!1,WebSocket:!1,WebSocketError:!1,WebSocketStream:!1,WebTransport:!1,WebTransportBidirectionalStream:!1,WebTransportDatagramDuplexStream:!1,WebTransportError:!1,WGSLLanguageFeatures:!1,Worker:!1,WorkerGlobalScope:!1,WorkerLocation:!1,WorkerNavigator:!1,WritableStream:!1,WritableStreamDefaultController:!1,WritableStreamDefaultWriter:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1},wsh:{ActiveXObject:!1,CollectGarbage:!1,Debug:!1,Enumerator:!1,GetObject:!1,RuntimeObject:!1,ScriptEngine:!1,ScriptEngineBuildVersion:!1,ScriptEngineMajorVersion:!1,ScriptEngineMinorVersion:!1,VBArray:!1,WScript:!1,WSH:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1}}});var X1=D((d4)=>{Object.defineProperty(d4,"__esModule",{value:!0});d4.clear=UVf;d4.clearPath=p4;d4.clearScope=s4;d4.getCachedPaths=QVf;d4.getOrCreateCachedPaths=ZVf;d4.scope=d4.path=void 0;var $2=d4.path=new WeakMap,HVf=d4.scope=new WeakMap;function UVf(){p4(),s4()}function p4(){d4.path=$2=new WeakMap}function s4(){d4.scope=HVf=new WeakMap}var iW=Object.freeze({});function QVf(f,G){var X;return f=null,(X=$2.get(f!=null?f:iW))==null?void 0:X.get(G)}function ZVf(f,G){f=null;let X=$2.get(f!=null?f:iW);if(!X)$2.set(f!=null?f:iW,X=new WeakMap);let J=X.get(G);if(!J)X.set(G,J=new Map);return J}});var tW=D((YU)=>{Object.defineProperty(YU,"__esModule",{value:!0});YU.default=void 0;var FVf=m4(),SVf=ZX(),$Vf=i4(),qVf=r4(),RU=Hf(),VU=RU,n4=X1(),CVf=QX(),{NOT_LOCAL_BINDING:o4,assignmentExpression:AVf,callExpression:e4,cloneNode:fU,getBindingIdentifiers:HU,identifier:W1,isArrayExpression:UU,isBinary:jVf,isCallExpression:GU,isClass:OVf,isClassBody:DVf,isClassDeclaration:IVf,isExportAllDeclaration:QU,isExportDefaultDeclaration:PVf,isExportNamedDeclaration:pW,isFunctionDeclaration:NVf,isIdentifier:J1,isImportDeclaration:sW,isLiteral:TVf,isMemberExpression:LVf,isMethod:bVf,isModuleSpecifier:wVf,isNullLiteral:EVf,isObjectExpression:kVf,isProperty:vVf,isPureish:gVf,isRegExpLiteral:_Vf,isSuper:uVf,isTaggedTemplateExpression:hVf,isTemplateLiteral:ZU,isThisExpression:XU,isUnaryExpression:yVf,isVariableDeclaration:xVf,expressionStatement:mVf,matchesPattern:JU,memberExpression:dW,numericLiteral:lVf,toIdentifier:cVf,variableDeclaration:aVf,variableDeclarator:iVf,isRecordExpression:rVf,isTupleExpression:pVf,isObjectProperty:sVf,isTopicReference:WU,isMetaProperty:dVf,isPrivateName:tVf,isExportDeclaration:nVf,buildUndefinedNode:oVf,sequenceExpression:eVf}=RU;function Of(f,G){switch(f==null?void 0:f.type){default:if(sW(f)||nVf(f)){var X;if((QU(f)||pW(f)||sW(f))&&f.source)Of(f.source,G);else if((pW(f)||sW(f))&&(X=f.specifiers)!=null&&X.length)for(let J of f.specifiers)Of(J,G);else if((PVf(f)||pW(f))&&f.declaration)Of(f.declaration,G)}else if(wVf(f))Of(f.local,G);else if(TVf(f)&&!EVf(f)&&!_Vf(f)&&!ZU(f))G.push(f.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":Of(f.object,G),Of(f.property,G);break;case"Identifier":case"JSXIdentifier":G.push(f.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":Of(f.callee,G);break;case"ObjectExpression":case"ObjectPattern":for(let J of f.properties)Of(J,G);break;case"SpreadElement":case"RestElement":Of(f.argument,G);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":Of(f.key,G);break;case"ThisExpression":G.push("this");break;case"Super":G.push("super");break;case"Import":G.push("import");break;case"DoExpression":G.push("do");break;case"YieldExpression":G.push("yield"),Of(f.argument,G);break;case"AwaitExpression":G.push("await"),Of(f.argument,G);break;case"AssignmentExpression":Of(f.left,G);break;case"VariableDeclarator":Of(f.id,G);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":Of(f.id,G);break;case"PrivateName":Of(f.id,G);break;case"ParenthesizedExpression":Of(f.expression,G);break;case"UnaryExpression":case"UpdateExpression":Of(f.argument,G);break;case"MetaProperty":Of(f.meta,G),Of(f.property,G);break;case"JSXElement":Of(f.openingElement,G);break;case"JSXOpeningElement":Of(f.name,G);break;case"JSXFragment":Of(f.openingFragment,G);break;case"JSXOpeningFragment":G.push("Fragment");break;case"JSXNamespacedName":Of(f.namespace,G),Of(f.name,G);break}}var q2={ForStatement(f){let G=f.get("init");if(G.isVar()){let{scope:X}=f;(X.getFunctionParent()||X.getProgramParent()).registerBinding("var",G)}},Declaration(f){if(f.isBlockScoped())return;if(f.isImportDeclaration())return;if(f.isExportDeclaration())return;(f.scope.getFunctionParent()||f.scope.getProgramParent()).registerDeclaration(f)},ImportDeclaration(f){f.scope.getBlockParent().registerDeclaration(f)},TSImportEqualsDeclaration(f){f.scope.getBlockParent().registerDeclaration(f)},ReferencedIdentifier(f,G){if(VU.isTSQualifiedName(f.parent)&&f.parent.right===f.node)return;if(f.parentPath.isTSImportEqualsDeclaration())return;G.references.push(f)},ForXStatement(f,G){let X=f.get("left");if(X.isPattern()||X.isIdentifier())G.constantViolations.push(f);else if(X.isVar()){let{scope:J}=f;(J.getFunctionParent()||J.getProgramParent()).registerBinding("var",X)}},ExportDeclaration:{exit(f){let{node:G,scope:X}=f;if(QU(G))return;let J=G.declaration;if(IVf(J)||NVf(J)){let W=J.id;if(!W)return;let R=X.getBinding(W.name);R==null||R.reference(f)}else if(xVf(J))for(let W of J.declarations)for(let R of Object.keys(HU(W))){let V=X.getBinding(R);V==null||V.reference(f)}}},LabeledStatement(f){f.scope.getBlockParent().registerDeclaration(f)},AssignmentExpression(f,G){G.assignments.push(f)},UpdateExpression(f,G){G.constantViolations.push(f)},UnaryExpression(f,G){if(f.node.operator==="delete")G.constantViolations.push(f)},BlockScoped(f){let G=f.scope;if(G.path===f)G=G.parent;if(G.getBlockParent().registerDeclaration(f),f.isClassDeclaration()&&f.node.id){let W=f.node.id.name;f.scope.bindings[W]=f.scope.parent.getBinding(W)}},CatchClause(f){f.scope.registerBinding("let",f)},Function(f){let G=f.get("params");for(let X of G)f.scope.registerBinding("param",X);if(f.isFunctionExpression()&&f.node.id&&!f.node.id[o4])f.scope.registerBinding("local",f.get("id"),f)},ClassExpression(f){if(f.node.id&&!f.node.id[o4])f.scope.registerBinding("local",f.get("id"),f)},TSTypeAnnotation(f){f.skip()}},fHf=0;class JG{constructor(f){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=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:G}=f,X=n4.scope.get(G);if((X==null?void 0:X.path)===f)return X;n4.scope.set(G,this),this.uid=fHf++,this.block=G,this.path=f,this.labels=new Map,this.inited=!1}get parent(){var f;let G,X=this.path;do{var J;let W=X.key==="key"||X.listKey==="decorators";if(X=X.parentPath,W&&X.isMethod())X=X.parentPath;if((J=X)!=null&&J.isScope())G=X}while(X&&!G);return(f=G)==null?void 0:f.scope}generateDeclaredUidIdentifier(f){let G=this.generateUidIdentifier(f);return this.push({id:G}),fU(G)}generateUidIdentifier(f){return W1(this.generateUid(f))}generateUid(f="temp"){f=cVf(f).replace(/^_+/,"").replace(/\d+$/g,"");let G,X=1;do{if(G=`_${f}`,X>1)G+=X;X++}while(this.hasLabel(G)||this.hasBinding(G)||this.hasGlobal(G)||this.hasReference(G));let J=this.getProgramParent();return J.references[G]=!0,J.uids[G]=!0,G}generateUidBasedOnNode(f,G){let X=[];Of(f,X);let J=X.join("$");return J=J.replace(/^_/,"")||G||"ref",this.generateUid(J.slice(0,20))}generateUidIdentifierBasedOnNode(f,G){return W1(this.generateUidBasedOnNode(f,G))}isStatic(f){if(XU(f)||uVf(f)||WU(f))return!0;if(J1(f)){let G=this.getBinding(f.name);if(G)return G.constant;else return this.hasBinding(f.name)}return!1}maybeGenerateMemoised(f,G){if(this.isStatic(f))return null;else{let X=this.generateUidIdentifierBasedOnNode(f);if(!G)return this.push({id:X}),fU(X);return X}}checkBlockScopedCollisions(f,G,X,J){if(G==="param")return;if(f.kind==="local")return;if(G==="let"||f.kind==="let"||f.kind==="const"||f.kind==="module"||f.kind==="param"&&G==="const")throw this.path.hub.buildError(J,`Duplicate declaration "${X}"`,TypeError)}rename(f,G){let X=this.getBinding(f);if(X)G||(G=this.generateUidIdentifier(f).name),new FVf.default(X,f,G).rename(arguments[2])}dump(){let f="-".repeat(60);console.log(f);let G=this;do{console.log("#",G.block.type);for(let X of Object.keys(G.bindings)){let J=G.bindings[X];console.log(" -",X,{constant:J.constant,references:J.references,violations:J.constantViolations.length,kind:J.kind})}}while(G=G.parent);console.log(f)}hasLabel(f){return!!this.getLabel(f)}getLabel(f){return this.labels.get(f)}registerLabel(f){this.labels.set(f.node.label.name,f)}registerDeclaration(f){if(f.isLabeledStatement())this.registerLabel(f);else if(f.isFunctionDeclaration())this.registerBinding("hoisted",f.get("id"),f);else if(f.isVariableDeclaration()){let G=f.get("declarations"),{kind:X}=f.node;for(let J of G)this.registerBinding(X==="using"||X==="await using"?"const":X,J)}else if(f.isClassDeclaration()){if(f.node.declare)return;this.registerBinding("let",f)}else if(f.isImportDeclaration()){let G=f.node.importKind==="type"||f.node.importKind==="typeof",X=f.get("specifiers");for(let J of X){let W=G||J.isImportSpecifier()&&(J.node.importKind==="type"||J.node.importKind==="typeof");this.registerBinding(W?"unknown":"module",J)}}else if(f.isExportDeclaration()){let G=f.get("declaration");if(G.isClassDeclaration()||G.isFunctionDeclaration()||G.isVariableDeclaration())this.registerDeclaration(G)}else this.registerBinding("unknown",f)}buildUndefinedNode(){return oVf()}registerConstantViolation(f){let G=f.getAssignmentIdentifiers();for(let J of Object.keys(G)){var X;(X=this.getBinding(J))==null||X.reassign(f)}}registerBinding(f,G,X=G){if(!f)throw new ReferenceError("no `kind`");if(G.isVariableDeclaration()){let R=G.get("declarations");for(let V of R)this.registerBinding(f,V);return}let J=this.getProgramParent(),W=G.getOuterBindingIdentifiers(!0);for(let R of Object.keys(W)){J.references[R]=!0;for(let V of W[R]){let H=this.getOwnBinding(R);if(H){if(H.identifier===V)continue;this.checkBlockScopedCollisions(H,f,R,V)}if(H)H.reassign(X);else this.bindings[R]=new $Vf.default({identifier:V,scope:this,path:X,kind:f})}}}addGlobal(f){this.globals[f.name]=f}hasUid(f){let G=this;do if(G.uids[f])return!0;while(G=G.parent);return!1}hasGlobal(f){let G=this;do if(G.globals[f])return!0;while(G=G.parent);return!1}hasReference(f){return!!this.getProgramParent().references[f]}isPure(f,G){if(J1(f)){let R=this.getBinding(f.name);if(!R)return!1;if(G)return R.constant;return!0}else if(XU(f)||dVf(f)||WU(f)||tVf(f))return!0;else if(OVf(f)){var X;if(f.superClass&&!this.isPure(f.superClass,G))return!1;if(((X=f.decorators)==null?void 0:X.length)>0)return!1;return this.isPure(f.body,G)}else if(DVf(f)){for(let R of f.body)if(!this.isPure(R,G))return!1;return!0}else if(jVf(f))return this.isPure(f.left,G)&&this.isPure(f.right,G);else if(UU(f)||pVf(f)){for(let R of f.elements)if(R!==null&&!this.isPure(R,G))return!1;return!0}else if(kVf(f)||rVf(f)){for(let R of f.properties)if(!this.isPure(R,G))return!1;return!0}else if(bVf(f)){var J;if(f.computed&&!this.isPure(f.key,G))return!1;if(((J=f.decorators)==null?void 0:J.length)>0)return!1;return!0}else if(vVf(f)){var W;if(f.computed&&!this.isPure(f.key,G))return!1;if(((W=f.decorators)==null?void 0:W.length)>0)return!1;if(sVf(f)||f.static){if(f.value!==null&&!this.isPure(f.value,G))return!1}return!0}else if(yVf(f))return this.isPure(f.argument,G);else if(ZU(f)){for(let R of f.expressions)if(!this.isPure(R,G))return!1;return!0}else if(hVf(f))return JU(f.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(f.quasi,G);else if(LVf(f))return!f.computed&&J1(f.object)&&f.object.name==="Symbol"&&J1(f.property)&&f.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(GU(f))return JU(f.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&f.arguments.length===1&&VU.isStringLiteral(f.arguments[0]);else return gVf(f)}setData(f,G){return this.data[f]=G}getData(f){let G=this;do{let X=G.data[f];if(X!=null)return X}while(G=G.parent)}removeData(f){let G=this;do if(G.data[f]!=null)G.data[f]=null;while(G=G.parent)}init(){if(!this.inited)this.inited=!0,this.crawl()}crawl(){let f=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 G=this;do{if(G.crawling)return;if(G.path.isProgram())break}while(G=G.parent);let X=G,J={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,f.type!=="Program"&&CVf.isExplodedVisitor(q2)){for(let R of q2.enter)R.call(J,f,J);let W=q2[f.type];if(W)for(let R of W.enter)R.call(J,f,J)}f.traverse(q2,J),this.crawling=!1;for(let W of J.assignments){let R=W.getAssignmentIdentifiers();for(let V of Object.keys(R)){if(W.scope.getBinding(V))continue;X.addGlobal(R[V])}W.scope.registerConstantViolation(W)}for(let W of J.references){let R=W.scope.getBinding(W.node.name);if(R)R.reference(W);else X.addGlobal(W.node)}for(let W of J.constantViolations)W.scope.registerConstantViolation(W)}push(f){let G=this.path;if(G.isPattern())G=this.getPatternParent().path;else if(!G.isBlockStatement()&&!G.isProgram())G=this.getBlockParent().path;if(G.isSwitchStatement())G=(this.getFunctionParent()||this.getProgramParent()).path;let{init:X,unique:J,kind:W="var",id:R}=f;if(!X&&!J&&(W==="var"||W==="let")&&G.isFunction()&&!G.node.name&&GU(G.parent,{callee:G.node})&&G.parent.arguments.length<=G.node.params.length&&J1(R)){G.pushContainer("params",R),G.scope.registerBinding("param",G.get("params")[G.node.params.length-1]);return}if(G.isLoop()||G.isCatchClause()||G.isFunction())G.ensureBlock(),G=G.get("body");let V=f._blockHoist==null?2:f._blockHoist,H=`declaration:${W}:${V}`,U=!J&&G.getData(H);if(!U){let S=aVf(W,[]);if(S._blockHoist=V,[U]=G.unshiftContainer("body",[S]),!J)G.setData(H,U)}let Q=iVf(R,X),Y=U.node.declarations.push(Q);G.scope.registerBinding(W,U.get("declarations")[Y-1])}getProgramParent(){let f=this;do if(f.path.isProgram())return f;while(f=f.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let f=this;do if(f.path.isFunctionParent())return f;while(f=f.parent);return null}getBlockParent(){let f=this;do if(f.path.isBlockParent())return f;while(f=f.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let f=this;do if(!f.path.isPattern())return f.getBlockParent();while(f=f.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let f=Object.create(null),G=this;do{for(let X of Object.keys(G.bindings))if(X in f===!1)f[X]=G.bindings[X];G=G.parent}while(G);return f}bindingIdentifierEquals(f,G){return this.getBindingIdentifier(f)===G}getBinding(f){let G=this,X;do{let W=G.getOwnBinding(f);if(W){var J;if((J=X)!=null&&J.isPattern()&&W.kind!=="param"&&W.kind!=="local");else return W}else if(!W&&f==="arguments"&&G.path.isFunction()&&!G.path.isArrowFunctionExpression())break;X=G.path}while(G=G.parent)}getOwnBinding(f){return this.bindings[f]}getBindingIdentifier(f){var G;return(G=this.getBinding(f))==null?void 0:G.identifier}getOwnBindingIdentifier(f){let G=this.bindings[f];return G==null?void 0:G.identifier}hasOwnBinding(f){return!!this.getOwnBinding(f)}hasBinding(f,G){if(!f)return!1;let X=this;do if(X.hasOwnBinding(f))return!0;while(X=X.parent);let J,W;if(typeof G==="object")J=G.noGlobals,W=G.noUids;else if(typeof G==="boolean")J=G;if(!W&&this.hasUid(f))return!0;if(!J&&JG.globals.includes(f))return!0;if(!J&&JG.contextVariables.includes(f))return!0;return!1}parentHasBinding(f,G){var X;return(X=this.parent)==null?void 0:X.hasBinding(f,G)}moveBindingTo(f,G){let X=this.getBinding(f);if(X)X.scope.removeOwnBinding(f),X.scope=G,G.bindings[f]=X}removeOwnBinding(f){delete this.bindings[f]}removeBinding(f){var G;(G=this.getBinding(f))==null||G.scope.removeOwnBinding(f);let X=this;do if(X.uids[f])X.uids[f]=!1;while(X=X.parent)}hoistVariables(f=(G)=>this.push({id:G})){this.crawl();let G=new Set;for(let X of Object.keys(this.bindings)){let J=this.bindings[X];if(!J)continue;let{path:W}=J;if(!W.isVariableDeclarator())continue;let{parent:R,parentPath:V}=W;if(R.kind!=="var"||G.has(R))continue;G.add(W.parent);let H,U=[];for(let Q of R.declarations){if(H!=null||(H=Q.id),Q.init)U.push(AVf("=",Q.id,Q.init));let Y=Object.keys(HU(Q,!1,!0,!0));for(let S of Y)f(W1(S),Q.init!=null)}if(V.parentPath.isFor({left:R}))V.replaceWith(H);else if(U.length===0)V.remove();else{let Q=U.length===1?U[0]:eVf(U);if(V.parentPath.isForStatement({init:R}))V.replaceWith(Q);else V.replaceWith(mVf(Q))}}}}YU.default=JG;JG.globals=Object.keys(qVf.builtin);JG.contextVariables=["arguments","undefined","Infinity","NaN"];JG.prototype._renameFromMap=function f(G,X,J,W){if(G[X])G[J]=W,G[X]=null},JG.prototype.traverse=function(f,G,X){SVf.default(f,G,this,X,this.path)},JG.prototype._generateUid=function f(G,X){let J=G;if(X>1)J+=X;return`_${J}`},JG.prototype.toArray=function f(G,X,J){if(J1(G)){let V=this.getBinding(G.name);if(V!=null&&V.constant&&V.path.isGenericType("Array"))return G}if(UU(G))return G;if(J1(G,{name:"arguments"}))return e4(dW(dW(dW(W1("Array"),W1("prototype")),W1("slice")),W1("call")),[G]);let W,R=[G];if(X===!0)W="toConsumableArray";else if(typeof X==="number")R.push(lVf(X)),W="slicedToArray";else W="toArray";if(J)R.unshift(this.path.hub.addHelper(W)),W="maybeArrayLike";return e4(this.path.hub.addHelper(W),R)},JG.prototype.getAllBindingsOfKind=function f(...G){let X=Object.create(null);for(let J of G){let W=this;do{for(let R of Object.keys(W.bindings)){let V=W.bindings[R];if(V.kind===J)X[R]=V}W=W.parent}while(W)}return X},Object.defineProperties(JG.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var MU=D((BU)=>{Object.defineProperty(BU,"__esModule",{value:!0});BU.find=WHf;BU.findParent=JHf;BU.getAncestry=QHf;BU.getDeepestCommonAncestorFrom=UHf;BU.getEarliestCommonAncestorFrom=HHf;BU.getFunctionParent=RHf;BU.getStatementParent=VHf;BU.inType=zHf;BU.isAncestor=ZHf;BU.isDescendant=YHf;var GHf=Hf(),{VISITOR_KEYS:XHf}=GHf;function JHf(f){let G=this;while(G=G.parentPath)if(f(G))return G;return null}function WHf(f){let G=this;do if(f(G))return G;while(G=G.parentPath);return null}function RHf(){return this.findParent((f)=>f.isFunction())}function VHf(){let f=this;do if(!f.parentPath||Array.isArray(f.container)&&f.isStatement())break;else f=f.parentPath;while(f);if(f&&(f.isProgram()||f.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return f}function HHf(f){return this.getDeepestCommonAncestorFrom(f,function(G,X,J){let W,R=XHf[G.type];for(let V of J){let H=V[X+1];if(!W){W=H;continue}if(H.listKey&&W.listKey===H.listKey){if(H.key<W.key){W=H;continue}}let U=R.indexOf(W.parentKey),Q=R.indexOf(H.parentKey);if(U>Q)W=H}return W})}function UHf(f,G){if(!f.length)return this;if(f.length===1)return f[0];let X=1/0,J,W,R=f.map((H)=>{let U=[];do U.unshift(H);while((H=H.parentPath)&&H!==this);if(U.length<X)X=U.length;return U}),V=R[0];f:for(let H=0;H<X;H++){let U=V[H];for(let Q of R)if(Q[H]!==U)break f;J=H,W=U}if(W)if(G)return G(W,J,R);else return W;else throw new Error("Couldn't find intersection")}function QHf(){let f=this,G=[];do G.push(f);while(f=f.parentPath);return G}function ZHf(f){return f.isDescendant(this)}function YHf(f){return!!this.findParent((G)=>G===f)}function zHf(...f){let G=this;while(G){for(let X of f)if(G.node.type===X)return!0;G=G.parentPath}return!1}});var nW=D((SU)=>{Object.defineProperty(SU,"__esModule",{value:!0});SU.createUnionType=NHf;var OHf=Hf(),{createFlowUnionType:KU,createTSUnionType:FU,createUnionTypeAnnotation:DHf,isFlowType:IHf,isTSType:PHf}=OHf;function NHf(f){if(f.every((G)=>IHf(G))){if(KU)return KU(f);return DHf(f)}else if(f.every((G)=>PHf(G))){if(FU)return FU(f)}}});var OU=D((jU)=>{Object.defineProperty(jU,"__esModule",{value:!0});jU.default=kHf;var LHf=Hf(),qU=nW(),{BOOLEAN_NUMBER_BINARY_OPERATORS:bHf,createTypeAnnotationBasedOnTypeof:wHf,numberTypeAnnotation:CU,voidTypeAnnotation:EHf}=LHf;function kHf(f){if(!this.isReferenced())return;let G=this.scope.getBinding(f.name);if(G)if(G.identifier.typeAnnotation)return G.identifier.typeAnnotation;else return vHf(G,this,f.name);if(f.name==="undefined")return EHf();else if(f.name==="NaN"||f.name==="Infinity")return CU();else if(f.name==="arguments");}function vHf(f,G,X){let J=[],W=[],R=$U(f,G,W),V=AU(f,G,X);if(V){let H=$U(f,V.ifStatement);R=R.filter((U)=>!H.includes(U)),J.push(V.typeAnnotation)}if(R.length){R.push(...W);for(let H of R)J.push(H.getTypeAnnotation())}if(!J.length)return;return qU.createUnionType(J)}function $U(f,G,X){let J=f.constantViolations.slice();return J.unshift(f.path),J.filter((W)=>{W=W.resolve();let R=W._guessExecutionStatusRelativeTo(G);if(X&&R==="unknown")X.push(W);return R==="before"})}function gHf(f,G){let X=G.node.operator,J=G.get("right").resolve(),W=G.get("left").resolve(),R;if(W.isIdentifier({name:f}))R=J;else if(J.isIdentifier({name:f}))R=W;if(R){if(X==="===")return R.getTypeAnnotation();if(bHf.includes(X))return CU();return}if(X!=="==="&&X!=="==")return;let V,H;if(W.isUnaryExpression({operator:"typeof"}))V=W,H=J;else if(J.isUnaryExpression({operator:"typeof"}))V=J,H=W;if(!V)return;if(!V.get("argument").isIdentifier({name:f}))return;if(H=H.resolve(),!H.isLiteral())return;let U=H.node.value;if(typeof U!=="string")return;return wHf(U)}function _Hf(f,G,X){let J;while(J=G.parentPath){if(J.isIfStatement()||J.isConditionalExpression()){if(G.key==="test")return;return J}if(J.isFunction()){if(J.parentPath.scope.getBinding(X)!==f)return}G=J}}function AU(f,G,X){let J=_Hf(f,G,X);if(!J)return;let R=[J.get("test")],V=[];for(let H=0;H<R.length;H++){let U=R[H];if(U.isLogicalExpression()){if(U.node.operator==="&&")R.push(U.get("left")),R.push(U.get("right"))}else if(U.isBinaryExpression()){let Q=gHf(X,U);if(Q)V.push(Q)}}if(V.length)return{typeAnnotation:qU.createUnionType(V),ifStatement:J};return AU(f,J,X)}});var wU=D((f6)=>{Object.defineProperty(f6,"__esModule",{value:!0});f6.ArrayExpression=TU;f6.AssignmentExpression=V9f;f6.BinaryExpression=G9f;f6.BooleanLiteral=Z9f;f6.CallExpression=q9f;f6.ConditionalExpression=J9f;f6.ClassDeclaration=f6.ClassExpression=f6.FunctionDeclaration=f6.ArrowFunctionExpression=f6.FunctionExpression=M9f;Object.defineProperty(f6,"Identifier",{enumerable:!0,get:function(){return yHf.default}});f6.LogicalExpression=X9f;f6.NewExpression=oHf;f6.NullLiteral=Y9f;f6.NumericLiteral=Q9f;f6.ObjectExpression=B9f;f6.ParenthesizedExpression=R9f;f6.RegExpLiteral=z9f;f6.RestElement=LU;f6.SequenceExpression=W9f;f6.StringLiteral=U9f;f6.TSAsExpression=NU;f6.TSNonNullExpression=nHf;f6.TaggedTemplateExpression=C9f;f6.TemplateLiteral=eHf;f6.TypeCastExpression=PU;f6.UnaryExpression=f9f;f6.UpdateExpression=H9f;f6.VariableDeclarator=tHf;var hHf=Hf(),yHf=OU(),IU=nW(),{BOOLEAN_BINARY_OPERATORS:xHf,BOOLEAN_UNARY_OPERATORS:mHf,NUMBER_BINARY_OPERATORS:lHf,NUMBER_UNARY_OPERATORS:cHf,STRING_UNARY_OPERATORS:aHf,anyTypeAnnotation:DU,arrayTypeAnnotation:oW,booleanTypeAnnotation:eW,buildMatchMemberExpression:C2,genericTypeAnnotation:mG,identifier:R1,nullLiteralTypeAnnotation:iHf,numberTypeAnnotation:I1,stringTypeAnnotation:V1,tupleTypeAnnotation:rHf,unionTypeAnnotation:pHf,voidTypeAnnotation:sHf,isIdentifier:dHf}=hHf;function tHf(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function PU(f){return f.typeAnnotation}PU.validParent=!0;function NU(f){return f.typeAnnotation}NU.validParent=!0;function nHf(){return this.get("expression").getTypeAnnotation()}function oHf(f){if(f.callee.type==="Identifier")return mG(f.callee)}function eHf(){return V1()}function f9f(f){let G=f.operator;if(G==="void")return sHf();else if(cHf.includes(G))return I1();else if(aHf.includes(G))return V1();else if(mHf.includes(G))return eW()}function G9f(f){let G=f.operator;if(lHf.includes(G))return I1();else if(xHf.includes(G))return eW();else if(G==="+"){let X=this.get("right"),J=this.get("left");if(J.isBaseType("number")&&X.isBaseType("number"))return I1();else if(J.isBaseType("string")||X.isBaseType("string"))return V1();return pHf([V1(),I1()])}}function X9f(){let f=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return IU.createUnionType(f)}function J9f(){let f=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return IU.createUnionType(f)}function W9f(){return this.get("expressions").pop().getTypeAnnotation()}function R9f(){return this.get("expression").getTypeAnnotation()}function V9f(){return this.get("right").getTypeAnnotation()}function H9f(f){let G=f.operator;if(G==="++"||G==="--")return I1()}function U9f(){return V1()}function Q9f(){return I1()}function Z9f(){return eW()}function Y9f(){return iHf()}function z9f(){return mG(R1("RegExp"))}function B9f(){return mG(R1("Object"))}function TU(){return mG(R1("Array"))}function LU(){return TU()}LU.validParent=!0;function M9f(){return mG(R1("Function"))}var K9f=C2("Array.from"),F9f=C2("Object.keys"),S9f=C2("Object.values"),$9f=C2("Object.entries");function q9f(){let{callee:f}=this.node;if(F9f(f))return oW(V1());else if(K9f(f)||S9f(f)||dHf(f,{name:"Array"}))return oW(DU());else if($9f(f))return oW(rHf([V1(),DU()]));return bU(this.get("callee"))}function C9f(){return bU(this.get("tag"))}function bU(f){if(f=f.resolve(),f.isFunction()){let{node:G}=f;if(G.async)if(G.generator)return mG(R1("AsyncIterator"));else return mG(R1("Promise"));else if(G.generator)return mG(R1("Iterator"));else if(f.node.returnType)return f.node.returnType}}});var uU=D((_U)=>{Object.defineProperty(_U,"__esModule",{value:!0});_U._getTypeAnnotation=gU;_U.baseTypeStrictlyMatches=B8f;_U.couldBeBaseType=z8f;_U.getTypeAnnotation=Z8f;_U.isBaseType=Y8f;_U.isGenericType=M8f;var EU=wU(),r9f=Hf(),{anyTypeAnnotation:vU,isAnyTypeAnnotation:A2,isArrayTypeAnnotation:p9f,isBooleanTypeAnnotation:s9f,isEmptyTypeAnnotation:d9f,isFlowBaseAnnotation:t9f,isGenericTypeAnnotation:n9f,isIdentifier:kU,isMixedTypeAnnotation:o9f,isNumberTypeAnnotation:e9f,isStringTypeAnnotation:f8f,isTSArrayType:G8f,isTSTypeAnnotation:X8f,isTSTypeReference:J8f,isTupleTypeAnnotation:W8f,isTypeAnnotation:R8f,isUnionTypeAnnotation:V8f,isVoidTypeAnnotation:H8f,stringTypeAnnotation:U8f,voidTypeAnnotation:Q8f}=r9f;function Z8f(){let f=this.getData("typeAnnotation");if(f!=null)return f;if(f=gU.call(this)||vU(),R8f(f)||X8f(f))f=f.typeAnnotation;return this.setData("typeAnnotation",f),f}var G6=new WeakSet;function gU(){let f=this.node;if(!f)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let X=this.parentPath.parentPath,J=X.parentPath;if(X.key==="left"&&J.isForInStatement())return U8f();if(X.key==="left"&&J.isForOfStatement())return vU();return Q8f()}else return;if(f.typeAnnotation)return f.typeAnnotation;if(G6.has(f))return;G6.add(f);try{var G;let X=EU[f.type];if(X)return X.call(this,f);if(X=EU[this.parentPath.type],(G=X)!=null&&G.validParent)return this.parentPath.getTypeAnnotation()}finally{G6.delete(f)}}function Y8f(f,G){return X6(f,this.getTypeAnnotation(),G)}function X6(f,G,X){if(f==="string")return f8f(G);else if(f==="number")return e9f(G);else if(f==="boolean")return s9f(G);else if(f==="any")return A2(G);else if(f==="mixed")return o9f(G);else if(f==="empty")return d9f(G);else if(f==="void")return H8f(G);else if(X)return!1;else throw new Error(`Unknown base type ${f}`)}function z8f(f){let G=this.getTypeAnnotation();if(A2(G))return!0;if(V8f(G)){for(let X of G.types)if(A2(X)||X6(f,X,!0))return!0;return!1}else return X6(f,G,!0)}function B8f(f){let G=this.getTypeAnnotation(),X=f.getTypeAnnotation();if(!A2(G)&&t9f(G))return X.type===G.type;return!1}function M8f(f){let G=this.getTypeAnnotation();if(f==="Array"){if(G8f(G)||p9f(G)||W8f(G))return!0}return n9f(G)&&kU(G.id,{name:f})||J8f(G)&&kU(G.typeName,{name:f})}});var xU=D((lFf,J6)=>{var O2=process||{},hU=O2.argv||[],j2=O2.env||{},A8f=!(!!j2.NO_COLOR||hU.includes("--no-color"))&&(!!j2.FORCE_COLOR||hU.includes("--color")||O2.platform==="win32"||(O2.stdout||{}).isTTY&&j2.TERM!=="dumb"||!!j2.CI),j8f=(f,G,X=f)=>(J)=>{let W=""+J,R=W.indexOf(G,f.length);return~R?f+O8f(W,G,X,R)+G:f+W+G},O8f=(f,G,X,J)=>{let W="",R=0;do W+=f.substring(R,J)+X,R=J+G.length,J=f.indexOf(G,R);while(~J);return W+f.substring(R)},yU=(f=A8f)=>{let G=f?j8f:()=>String;return{isColorSupported:f,reset:G("\x1B[0m","\x1B[0m"),bold:G("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:G("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:G("\x1B[3m","\x1B[23m"),underline:G("\x1B[4m","\x1B[24m"),inverse:G("\x1B[7m","\x1B[27m"),hidden:G("\x1B[8m","\x1B[28m"),strikethrough:G("\x1B[9m","\x1B[29m"),black:G("\x1B[30m","\x1B[39m"),red:G("\x1B[31m","\x1B[39m"),green:G("\x1B[32m","\x1B[39m"),yellow:G("\x1B[33m","\x1B[39m"),blue:G("\x1B[34m","\x1B[39m"),magenta:G("\x1B[35m","\x1B[39m"),cyan:G("\x1B[36m","\x1B[39m"),white:G("\x1B[37m","\x1B[39m"),gray:G("\x1B[90m","\x1B[39m"),bgBlack:G("\x1B[40m","\x1B[49m"),bgRed:G("\x1B[41m","\x1B[49m"),bgGreen:G("\x1B[42m","\x1B[49m"),bgYellow:G("\x1B[43m","\x1B[49m"),bgBlue:G("\x1B[44m","\x1B[49m"),bgMagenta:G("\x1B[45m","\x1B[49m"),bgCyan:G("\x1B[46m","\x1B[49m"),bgWhite:G("\x1B[47m","\x1B[49m"),blackBright:G("\x1B[90m","\x1B[39m"),redBright:G("\x1B[91m","\x1B[39m"),greenBright:G("\x1B[92m","\x1B[39m"),yellowBright:G("\x1B[93m","\x1B[39m"),blueBright:G("\x1B[94m","\x1B[39m"),magentaBright:G("\x1B[95m","\x1B[39m"),cyanBright:G("\x1B[96m","\x1B[39m"),whiteBright:G("\x1B[97m","\x1B[39m"),bgBlackBright:G("\x1B[100m","\x1B[49m"),bgRedBright:G("\x1B[101m","\x1B[49m"),bgGreenBright:G("\x1B[102m","\x1B[49m"),bgYellowBright:G("\x1B[103m","\x1B[49m"),bgBlueBright:G("\x1B[104m","\x1B[49m"),bgMagentaBright:G("\x1B[105m","\x1B[49m"),bgCyanBright:G("\x1B[106m","\x1B[49m"),bgWhiteBright:G("\x1B[107m","\x1B[49m")}};J6.exports=yU();J6.exports.createColors=yU});var lU=D((mU)=>{Object.defineProperty(mU,"__esModule",{value:!0});mU.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;mU.matchToToken=function(f){var G={type:"invalid",value:f[0],closed:void 0};if(f[1])G.type="string",G.closed=!!(f[3]||f[4]);else if(f[5])G.type="comment";else if(f[6])G.type="comment",G.closed=!!f[7];else if(f[8])G.type="regex";else if(f[9])G.type="number";else if(f[10])G.type="name";else if(f[11])G.type="punctuator";else if(f[12])G.type="whitespace";return G}});var R6=D((oU)=>{Object.defineProperty(oU,"__esModule",{value:!0});var W6=xU(),cU=lU(),aU=x1();function P8f(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:W6.isColorSupported}var D2=(f,G)=>(X)=>f(G(X));function pU(f){return{keyword:f.cyan,capitalized:f.yellow,jsxIdentifier:f.yellow,punctuator:f.yellow,number:f.magenta,string:f.green,regex:f.magenta,comment:f.gray,invalid:D2(D2(f.white,f.bgRed),f.bold),gutter:f.gray,marker:D2(f.red,f.bold),message:D2(f.red,f.bold),reset:f.reset}}var N8f=pU(W6.createColors(!0)),T8f=pU(W6.createColors(!1));function sU(f){return f?N8f:T8f}var L8f=new Set(["as","async","from","get","of","set"]),b8f=/\r\n|[\n\r\u2028\u2029]/,w8f=/^[()[\]{}]$/,dU;{let f=/^[a-z][\w-]*$/i,G=function(X,J,W){if(X.type==="name"){if(aU.isKeyword(X.value)||aU.isStrictReservedWord(X.value,!0)||L8f.has(X.value))return"keyword";if(f.test(X.value)&&(W[J-1]==="<"||W.slice(J-2,J)==="</"))return"jsxIdentifier";if(X.value[0]!==X.value[0].toLowerCase())return"capitalized"}if(X.type==="punctuator"&&w8f.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};dU=function*(X){let J;while(J=cU.default.exec(X)){let W=cU.matchToToken(J);yield{type:G(W,J.index,X),value:W.value}}}}function tU(f){if(f==="")return"";let G=sU(!0),X="";for(let{type:J,value:W}of dU(f))if(J in G)X+=W.split(b8f).map((R)=>G[J](R)).join(`
28
+ `);else X+=W;return X}var iU=!1,rU=/\r\n|[\n\r\u2028\u2029]/;function E8f(f,G,X){let J=Object.assign({column:0,line:-1},f.start),W=Object.assign({},J,f.end),{linesAbove:R=2,linesBelow:V=3}=X||{},H=J.line,U=J.column,Q=W.line,Y=W.column,S=Math.max(H-(R+1),0),C=Math.min(G.length,Q+V);if(H===-1)S=0;if(Q===-1)C=G.length;let A=Q-H,O={};if(A)for(let b=0;b<=A;b++){let P=b+H;if(!U)O[P]=!0;else if(b===0){let L=G[P-1].length;O[P]=[U,L-U+1]}else if(b===A)O[P]=[0,Y];else{let L=G[P-b].length;O[P]=[0,L]}}else if(U===Y)if(U)O[H]=[U,0];else O[H]=!0;else O[H]=[U,Y-U];return{start:S,end:C,markerLines:O}}function nU(f,G,X={}){let J=X.forceColor||P8f()&&X.highlightCode,W=sU(J),R=f.split(rU),{start:V,end:H,markerLines:U}=E8f(G,R,X),Q=G.start&&typeof G.start.column==="number",Y=String(H).length,C=(J?tU(f):f).split(rU,H).slice(V,H).map((A,O)=>{let b=V+1+O,L=` ${` ${b}`.slice(-Y)} |`,w=U[b],Xf=!U[b+1];if(w){let p="";if(Array.isArray(w)){let Jf=A.slice(0,Math.max(w[0]-1,0)).replace(/[^\t]/g," "),Kf=w[1]||1;if(p=[`
29
29
  `,W.gutter(L.replace(/\d/g," "))," ",Jf,W.marker("^").repeat(Kf)].join(""),Xf&&X.message)p+=" "+W.message(X.message)}return[W.marker(">"),W.gutter(L),A.length>0?` ${A}`:"",p].join("")}else return` ${W.gutter(L)}${A.length>0?` ${A}`:""}`}).join(`
30
30
  `);if(X.message&&!Q)C=`${" ".repeat(Y+1)}${X.message}
31
- ${C}`;if(J)return W.reset(C);else return C}function k8f(f,G,X,J={}){if(!iU){iU=!0;let R="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(R,"DeprecationWarning");else{let V=new Error(R);V.name="DeprecationWarning",console.warn(new Error(R))}}return X=Math.max(X,0),nU(f,{start:{column:X,line:G}},J)}oU.codeFrameColumns=nU;oU.default=k8f;oU.highlight=tU});var GQ=D((eU)=>{Object.defineProperty(eU,"__esModule",{value:!0});eU.hooks=void 0;var iFf=eU.hooks=[function(f,G){if(f.key==="test"&&(G.isWhile()||G.isSwitchCase())||f.key==="declaration"&&G.isExportDeclaration()||f.key==="body"&&G.isLabeledStatement()||f.listKey==="declarations"&&G.isVariableDeclaration()&&G.node.declarations.length===1||f.key==="expression"&&G.isExpressionStatement())return G.remove(),!0},function(f,G){if(G.isSequenceExpression()&&G.node.expressions.length===1)return G.replaceWith(G.node.expressions[0]),!0},function(f,G){if(G.isBinary()){if(f.key==="left")G.replaceWith(G.node.right);else G.replaceWith(G.node.left);return!0}},function(f,G){if(G.isIfStatement()&&f.key==="consequent"||f.key==="body"&&(G.isLoop()||G.isArrowFunctionExpression()))return f.replaceWith({type:"BlockStatement",body:[]}),!0}]});var P2=D((HQ)=>{Object.defineProperty(HQ,"__esModule",{value:!0});HQ._assertUnremoved=VQ;HQ._callRemovalHooks=WQ;HQ._markRemoved=V6;HQ._remove=RQ;HQ._removeFromScope=JQ;HQ.remove=a8f;var u8f=GQ(),h8f=X1(),y8f=H6(),XQ=lG(),x8f=Hf(),m8f=I2(),l8f=KG(),{getBindingIdentifiers:c8f}=x8f;function a8f(){var f;if(VQ.call(this),l8f.resync.call(this),WQ.call(this)){V6.call(this);return}if(!((f=this.opts)!=null&&f.noScope))JQ.call(this);this.shareCommentsWithSiblings(),RQ.call(this),V6.call(this)}function JQ(){let f=c8f(this.node,!1,!1,!0);Object.keys(f).forEach((G)=>this.scope.removeBinding(G))}function WQ(){if(this.parentPath){for(let f of u8f.hooks)if(f(this,this.parentPath))return!0}}function RQ(){if(Array.isArray(this.container))this.container.splice(this.key,1),m8f.updateSiblingKeys.call(this,this.key,-1);else y8f._replaceWith.call(this,null)}function V6(){if(this._traverseFlags|=XQ.SHOULD_SKIP|XQ.REMOVED,this.parent)h8f.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function VQ(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var zQ=D((ZQ)=>{Object.defineProperty(ZQ,"__esModule",{value:!0});ZQ.default=void 0;var UQ=Hf(),n8f=UQ,{react:o8f}=UQ,{cloneNode:e8f,jsxExpressionContainer:f4f,variableDeclaration:G4f,variableDeclarator:X4f}=n8f,J4f={ReferencedIdentifier(f,G){if(f.isJSXIdentifier()&&o8f.isCompatTag(f.node.name)&&!f.parentPath.isJSXMemberExpression())return;if(f.node.name==="this"){let J=f.scope;do if(J.path.isFunction()&&!J.path.isArrowFunctionExpression())break;while(J=J.parent);if(J)G.breakOnScopePaths.push(J.path)}let X=f.scope.getBinding(f.node.name);if(!X)return;for(let J of X.constantViolations)if(J.scope!==X.path.scope){G.mutableBinding=!0,f.stop();return}if(X!==G.scope.getBinding(f.node.name))return;G.bindings[f.node.name]=X}};class QQ{constructor(f,G){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=G,this.path=f,this.attachAfter=!1}isCompatibleScope(f){for(let G of Object.keys(this.bindings)){let X=this.bindings[G];if(!f.bindingIdentifierEquals(G,X.identifier))return!1}return!0}getCompatibleScopes(){let f=this.path.scope;do{if(this.isCompatibleScope(f))this.scopes.push(f);else break;if(this.breakOnScopePaths.includes(f.path))break}while(f=f.parent)}getAttachmentPath(){let f=this._getAttachmentPath();if(!f)return;let G=f.scope;if(G.path===f)G=f.scope.parent;if(G.path.isProgram()||G.path.isFunction())for(let X of Object.keys(this.bindings)){if(!G.hasOwnBinding(X))continue;let J=this.bindings[X];if(J.kind==="param"||J.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(J.path).key>=f.key){this.attachAfter=!0,f=J.path;for(let R of J.constantViolations)if(this.getAttachmentParentForPath(R).key>f.key)f=R}}return f}_getAttachmentPath(){let G=this.scopes.pop();if(!G)return;if(G.path.isFunction())if(this.hasOwnParamBindings(G)){if(this.scope===G)return;let X=G.path.get("body").get("body");for(let J=0;J<X.length;J++){if(X[J].node._blockHoist)continue;return X[J]}}else return this.getNextScopeAttachmentParent();else if(G.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){let f=this.scopes.pop();if(f)return this.getAttachmentParentForPath(f.path)}getAttachmentParentForPath(f){do if(!f.parentPath||Array.isArray(f.container)&&f.isStatement())return f;while(f=f.parentPath)}hasOwnParamBindings(f){for(let G of Object.keys(this.bindings)){if(!f.hasOwnBinding(G))continue;let X=this.bindings[G];if(X.kind==="param"&&X.constant)return!0}return!1}run(){if(this.path.traverse(J4f,this),this.mutableBinding)return;this.getCompatibleScopes();let f=this.getAttachmentPath();if(!f)return;if(f.getFunctionParent()===this.path.getFunctionParent())return;let G=f.scope.generateUidIdentifier("ref"),X=X4f(G,this.path.node),J=this.attachAfter?"insertAfter":"insertBefore",[W]=f[J]([f.isVariableDeclarator()?X:G4f("var",[X])]),R=this.path.parentPath;if(R.isJSXElement()&&this.path.container===R.node.children)G=f4f(G);return this.path.replaceWith(e8f(G)),f.isVariableDeclarator()?W.get("init"):W.get("declarations.0.init")}}ZQ.default=QQ});var I2=D((qQ)=>{Object.defineProperty(qQ,"__esModule",{value:!0});qQ._containerInsert=z6;qQ._containerInsertAfter=KQ;qQ._containerInsertBefore=B6;qQ._verifyNodeList=YX;qQ.insertAfter=C4f;qQ.insertBefore=$4f;qQ.pushContainer=j4f;qQ.unshiftContainer=A4f;qQ.updateSiblingKeys=$Q;var W4f=X1(),Y6=lG(),U6=KG(),N2=P2(),R4f=Hf(),V4f=zQ(),{arrowFunctionExpression:H4f,assertExpression:U4f,assignmentExpression:Q4f,blockStatement:BQ,callExpression:Z4f,cloneNode:Q6,expressionStatement:Z6,isAssignmentExpression:Y4f,isCallExpression:z4f,isExportNamedDeclaration:MQ,isExpression:B4f,isIdentifier:M4f,isSequenceExpression:K4f,isSuper:F4f,thisExpression:S4f}=R4f;function $4f(f){N2._assertUnremoved.call(this);let G=YX.call(this,f),{parentPath:X,parent:J}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||MQ(J)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertBefore(G);else if(this.isNodeType("Expression")&&!this.isJSXElement()||X.isForStatement()&&this.key==="init"){if(this.node)G.push(this.node);return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return B6.call(this,G);else if(this.isStatementOrBlock()){let W=this.node,R=W&&(!this.isExpressionStatement()||W.expression!=null);return this.replaceWith(BQ(R?[W]:[])),this.unshiftContainer("body",G)}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 z6(f,G){$Q.call(this,f,G.length);let X=[];this.container.splice(f,0,...G);for(let R=0;R<G.length;R++){var J;let V=f+R,H=this.getSibling(V);if(X.push(H),(J=this.context)!=null&&J.queue)U6.pushContext.call(H,this.context)}let W=U6._getQueueContexts.call(this);for(let R of X){U6.setScope.call(R),R.debug("Inserted.");for(let V of W)V.maybeQueue(R,!0)}return X}function B6(f){return z6.call(this,this.key,f)}function KQ(f){return z6.call(this,this.key+1,f)}var FQ=(f)=>f[f.length-1];function SQ(f){return K4f(f.parent)&&(FQ(f.parent.expressions)!==f.node||SQ(f.parentPath))}function q4f(f,G){if(!Y4f(f)||!M4f(f.left))return!1;let X=G.getBlockParent();return X.hasOwnBinding(f.left.name)&&X.getOwnBinding(f.left.name).constantViolations.length<=1}function C4f(f){if(N2._assertUnremoved.call(this),this.isSequenceExpression())return FQ(this.get("expressions")).insertAfter(f);let G=YX.call(this,f),{parentPath:X,parent:J}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||MQ(J)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(G.map((W)=>{return B4f(W)?Z6(W):W}));else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!X.isJSXElement()||X.isForStatement()&&this.key==="init"){let W=this;if(W.node){let R=W.node,{scope:V}=this;if(V.path.isPattern())return U4f(R),W.replaceWith(Z4f(H4f([],R),[])),W.get("callee.body").insertAfter(G),[W];if(SQ(W))G.unshift(R);else if(z4f(R)&&F4f(R.callee))G.unshift(R),G.push(S4f());else if(q4f(R,V))G.unshift(R),G.push(Q6(R.left));else if(V.isPure(R,!0))G.push(R);else{if(X.isMethod({computed:!0,key:R}))V=V.parent;let H=V.generateDeclaredUidIdentifier();G.unshift(Z6(Q4f("=",Q6(H),R))),G.push(Z6(Q6(H)))}}return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return KQ.call(this,G);else if(this.isStatementOrBlock()){let W=this.node,R=W&&(!this.isExpressionStatement()||W.expression!=null);return this.replaceWith(BQ(R?[W]:[])),this.pushContainer("body",G)}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 $Q(f,G){if(!this.parent)return;let X=W4f.getCachedPaths(this.hub,this.parent)||[];for(let[,J]of X)if(typeof J.key==="number"&&J.container===this.container&&J.key>=f)J.key+=G}function YX(f){if(!f)return[];if(!Array.isArray(f))f=[f];for(let G=0;G<f.length;G++){let X=f[G],J;if(!X)J="has falsy node";else if(typeof X!=="object")J="contains a non-object node";else if(!X.type)J="without a type";else if(X instanceof Y6.default)J="has a NodePath when it expected a raw object";if(J){let W=Array.isArray(X)?"array":typeof X;throw new Error(`Node list ${J} with the index of ${G} and type of ${W}`)}}return f}function A4f(f,G){N2._assertUnremoved.call(this),G=YX.call(this,G);let X=Y6.default.get({parentPath:this,parent:this.node,container:this.node[f],listKey:f,key:0}).setContext(this.context);return B6.call(X,G)}function j4f(f,G){N2._assertUnremoved.call(this);let X=YX.call(this,G),J=this.node[f];return Y6.default.get({parentPath:this,parent:this.node,container:J,listKey:f,key:J.length}).setContext(this.context).replaceWithMultiple(X)}qQ.hoist=function f(G=this.scope){return new V4f.default(this,G).run()}});var H6=D((TQ)=>{Object.defineProperty(TQ,"__esModule",{value:!0});TQ._replaceWith=NQ;TQ.replaceExpressionWithStatements=RUf;TQ.replaceInline=VUf;TQ.replaceWith=WUf;TQ.replaceWithMultiple=XUf;TQ.replaceWithSourceString=JUf;var E4f=R6(),K6=ZX(),k4f=lG(),DQ=X1(),F6=I2(),v4f=Q2(),g4f=Hf(),I1=KG(),{FUNCTION_TYPES:CQ,arrowFunctionExpression:_4f,assignmentExpression:PQ,awaitExpression:u4f,blockStatement:h4f,buildUndefinedNode:M6,callExpression:y4f,cloneNode:S6,conditionalExpression:x4f,expressionStatement:m4f,getBindingIdentifiers:l4f,identifier:c4f,inheritLeadingComments:a4f,inheritTrailingComments:i4f,inheritsComments:r4f,isBlockStatement:p4f,isEmptyStatement:AQ,isExpression:IQ,isExpressionStatement:s4f,isIfStatement:d4f,isProgram:t4f,isStatement:n4f,isVariableDeclaration:o4f,removeComments:e4f,returnStatement:jQ,sequenceExpression:fUf,validate:OQ,yieldExpression:GUf}=g4f;function XUf(f){var G;I1.resync.call(this),f=F6._verifyNodeList.call(this,f),a4f(f[0],this.node),i4f(f[f.length-1],this.node),(G=DQ.getCachedPaths(this.hub,this.parent))==null||G.delete(this.node),this.node=this.container[this.key]=null;let X=this.insertAfter(f);if(this.node)this.requeue();else this.remove();return X}function JUf(f){I1.resync.call(this);let G;try{f=`(${f})`,G=v4f.parse(f)}catch(J){let W=J.loc;if(W)J.message+=` - make sure this is an expression.
32
- `+E4f.codeFrameColumns(f,{start:{line:W.line,column:W.column+1}}),J.code="BABEL_REPLACE_SOURCE_ERROR";throw J}let X=G.program.body[0].expression;return K6.default.removeProperties(X),this.replaceWith(X)}function WUf(f){if(I1.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let G=f instanceof k4f.default?f.node:f;if(!G)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===G)return[this];if(this.isProgram()&&!t4f(G))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(G))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof G==="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let X="";if(this.isNodeType("Statement")&&IQ(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G)&&!this.parentPath.isExportDefaultDeclaration())G=m4f(G),X="expression"}if(this.isNodeType("Expression")&&n4f(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G))return this.replaceExpressionWithStatements([G])}let J=this.node;if(J)r4f(G,J),e4f(J);return NQ.call(this,G),this.type=G.type,I1.setScope.call(this),this.requeue(),[X?this.get(X):this]}function NQ(f){var G;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)OQ(this.parent,this.key,[f]);else OQ(this.parent,this.key,f);this.debug(`Replace with ${f==null?void 0:f.type}`),(G=DQ.getCachedPaths(this.hub,this.parent))==null||G.set(f,this).delete(this.node),this.node=this.container[this.key]=f}function RUf(f){I1.resync.call(this);let G=[],X=T2(f,G);if(X){for(let C of G)this.scope.push({id:C});return this.replaceWith(X)[0].get("expressions")}let J=this.getFunctionParent(),W=J==null?void 0:J.node.async,R=J==null?void 0:J.node.generator,V=_4f([],h4f(f));this.replaceWith(y4f(V,[]));let H=this.get("callee");H.get("body").scope.hoistVariables((C)=>this.scope.push({id:C}));let U=H.getCompletionRecords();for(let C of U){if(!C.isExpressionStatement())continue;let A=C.findParent((j)=>j.isLoop());if(A){let j=A.getData("expressionReplacementReturnUid");if(!j)j=H.scope.generateDeclaredUidIdentifier("ret"),H.get("body").pushContainer("body",jQ(S6(j))),A.setData("expressionReplacementReturnUid",j);else j=c4f(j.name);C.get("expression").replaceWith(PQ("=",S6(j),C.node.expression))}else C.replaceWith(jQ(C.node.expression))}H.arrowFunctionToExpression();let Q=H,Y=W&&K6.default.hasType(this.get("callee.body").node,"AwaitExpression",CQ),S=R&&K6.default.hasType(this.get("callee.body").node,"YieldExpression",CQ);if(Y){if(Q.set("async",!0),!S)this.replaceWith(u4f(this.node))}if(S)Q.set("generator",!0),this.replaceWith(GUf(this.node,!0));return Q.get("body.body")}function T2(f,G){let X=[],J=!0;for(let W of f){if(!AQ(W))J=!1;if(IQ(W))X.push(W);else if(s4f(W))X.push(W.expression);else if(o4f(W)){if(W.kind!=="var")return;for(let R of W.declarations){let V=l4f(R);for(let H of Object.keys(V))G.push(S6(V[H]));if(R.init)X.push(PQ("=",R.id,R.init))}J=!0}else if(d4f(W)){let R=W.consequent?T2([W.consequent],G):M6(),V=W.alternate?T2([W.alternate],G):M6();if(!R||!V)return;X.push(x4f(W.test,R,V))}else if(p4f(W)){let R=T2(W.body,G);if(!R)return;X.push(R)}else if(AQ(W)){if(f.indexOf(W)===0)J=!0}else return}if(J)X.push(M6());if(X.length===1)return X[0];else return fUf(X)}function VUf(f){if(I1.resync.call(this),Array.isArray(f))if(Array.isArray(this.container)){f=F6._verifyNodeList.call(this,f);let G=F6._containerInsertAfter.call(this,f);return this.remove(),G}else return this.replaceWithMultiple(f);else return this.replaceWith(f)}});var kQ=D((EQ)=>{Object.defineProperty(EQ,"__esModule",{value:!0});EQ.evaluate=CUf;EQ.evaluateTruthy=$Uf;var BUf=["Number","String","Math"],MUf=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],KUf=["random"];function LQ(f){return BUf.includes(f)}function FUf(f){return MUf.includes(f)}function SUf(f){return KUf.includes(f)}function $Uf(){let f=this.evaluate();if(f.confident)return!!f.value}function LG(f,G){if(!G.confident)return;G.deoptPath=f,G.confident=!1}var bQ=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function mf(f,G){let{node:X}=f,{seen:J}=G;if(J.has(X)){let W=J.get(X);if(W.resolved)return W.value;else{LG(f,G);return}}else{let W={resolved:!1};J.set(X,W);let R=qUf(f,G);if(G.confident)W.resolved=!0,W.value=R;return R}}function qUf(f,G){if(!G.confident)return;if(f.isSequenceExpression()){let X=f.get("expressions");return mf(X[X.length-1],G)}if(f.isStringLiteral()||f.isNumericLiteral()||f.isBooleanLiteral())return f.node.value;if(f.isNullLiteral())return null;if(f.isTemplateLiteral())return wQ(f,f.node.quasis,G);if(f.isTaggedTemplateExpression()&&f.get("tag").isMemberExpression()){let X=f.get("tag.object"),{node:{name:J}}=X,W=f.get("tag.property");if(X.isIdentifier()&&J==="String"&&!f.scope.getBinding(J)&&W.isIdentifier()&&W.node.name==="raw")return wQ(f,f.node.quasi.quasis,G,!0)}if(f.isConditionalExpression()){let X=mf(f.get("test"),G);if(!G.confident)return;if(X)return mf(f.get("consequent"),G);else return mf(f.get("alternate"),G)}if(f.isExpressionWrapper())return mf(f.get("expression"),G);if(f.isMemberExpression()&&!f.parentPath.isCallExpression({callee:f.node})){let X=f.get("property"),J=f.get("object");if(J.isLiteral()){let W=J.node.value,R=typeof W,V=null;if(f.node.computed){if(V=mf(X,G),!G.confident)return}else if(X.isIdentifier())V=X.node.name;if((R==="number"||R==="string")&&V!=null&&(typeof V==="number"||typeof V==="string"))return W[V]}}if(f.isReferencedIdentifier()){let X=f.scope.getBinding(f.node.name);if(X){if(X.constantViolations.length>0||f.node.start<X.path.node.end){LG(X.path,G);return}if(X.hasValue)return X.value}let J=f.node.name;if(bQ.has(J)){if(!X)return bQ.get(J);LG(X.path,G);return}let W=f.resolve();if(W===f){LG(f,G);return}else return mf(W,G)}if(f.isUnaryExpression({prefix:!0})){if(f.node.operator==="void")return;let X=f.get("argument");if(f.node.operator==="typeof"&&(X.isFunction()||X.isClass()))return"function";let J=mf(X,G);if(!G.confident)return;switch(f.node.operator){case"!":return!J;case"+":return+J;case"-":return-J;case"~":return~J;case"typeof":return typeof J}}if(f.isArrayExpression()){let X=[],J=f.get("elements");for(let W of J){let R=W.evaluate();if(R.confident)X.push(R.value);else{LG(R.deopt,G);return}}return X}if(f.isObjectExpression()){let X={},J=f.get("properties");for(let W of J){if(W.isObjectMethod()||W.isSpreadElement()){LG(W,G);return}let R=W.get("key"),V;if(W.node.computed){if(V=R.evaluate(),!V.confident){LG(V.deopt,G);return}V=V.value}else if(R.isIdentifier())V=R.node.name;else V=R.node.value;let U=W.get("value").evaluate();if(!U.confident){LG(U.deopt,G);return}U=U.value,X[V]=U}return X}if(f.isLogicalExpression()){let X=G.confident,J=mf(f.get("left"),G),W=G.confident;G.confident=X;let R=mf(f.get("right"),G),V=G.confident;switch(f.node.operator){case"||":if(G.confident=W&&(!!J||V),!G.confident)return;return J||R;case"&&":if(G.confident=W&&(!J||V),!G.confident)return;return J&&R;case"??":if(G.confident=W&&(J!=null||V),!G.confident)return;return J!=null?J:R}}if(f.isBinaryExpression()){let X=mf(f.get("left"),G);if(!G.confident)return;let J=mf(f.get("right"),G);if(!G.confident)return;switch(f.node.operator){case"-":return X-J;case"+":return X+J;case"/":return X/J;case"*":return X*J;case"%":return X%J;case"**":return Math.pow(X,J);case"<":return X<J;case">":return X>J;case"<=":return X<=J;case">=":return X>=J;case"==":return X==J;case"!=":return X!=J;case"===":return X===J;case"!==":return X!==J;case"|":return X|J;case"&":return X&J;case"^":return X^J;case"<<":return X<<J;case">>":return X>>J;case">>>":return X>>>J}}if(f.isCallExpression()){let X=f.get("callee"),J,W;if(X.isIdentifier()&&!f.scope.getBinding(X.node.name)&&(LQ(X.node.name)||FUf(X.node.name)))W=global[X.node.name];if(X.isMemberExpression()){let R=X.get("object"),V=X.get("property");if(R.isIdentifier()&&V.isIdentifier()&&LQ(R.node.name)&&!SUf(V.node.name)){J=global[R.node.name];let H=V.node.name;if(hasOwnProperty.call(J,H))W=J[H]}if(R.isLiteral()&&V.isIdentifier()){let H=typeof R.node.value;if(H==="string"||H==="number")J=R.node.value,W=J[V.node.name]}}if(W){let R=f.get("arguments").map((V)=>mf(V,G));if(!G.confident)return;return W.apply(J,R)}}LG(f,G)}function wQ(f,G,X,J=!1){let W="",R=0,V=f.isTemplateLiteral()?f.get("expressions"):f.get("quasi.expressions");for(let H of G){if(!X.confident)break;W+=J?H.value.raw:H.value.cooked;let U=V[R++];if(U)W+=String(mf(U,X))}if(!X.confident)return;return W}function CUf(){let f={confident:!0,deoptPath:null,seen:new Map},G=mf(this,f);if(!f.confident)G=void 0;return{confident:f.confident,deopt:f.deoptPath,value:G}}});var _Q=D((vQ)=>{Object.defineProperty(vQ,"__esModule",{value:!0});vQ.statements=vQ.statement=vQ.smart=vQ.program=vQ.expression=void 0;var OUf=Hf(),{assertExpressionStatement:DUf}=OUf;function $6(f){return{code:(G)=>`/* @babel/template */;
33
- ${G}`,validate:()=>{},unwrap:(G)=>{return f(G.program.body.slice(1))}}}var eFf=vQ.smart=$6((f)=>{if(f.length>1)return f;else return f[0]}),fSf=vQ.statements=$6((f)=>f),GSf=vQ.statement=$6((f)=>{if(f.length===0)throw new Error("Found nothing to return.");if(f.length>1)throw new Error("Found multiple statements but wanted one");return f[0]}),PUf=vQ.expression={code:(f)=>`(
31
+ ${C}`;if(J)return W.reset(C);else return C}function k8f(f,G,X,J={}){if(!iU){iU=!0;let R="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(R,"DeprecationWarning");else{let V=new Error(R);V.name="DeprecationWarning",console.warn(new Error(R))}}return X=Math.max(X,0),nU(f,{start:{column:X,line:G}},J)}oU.codeFrameColumns=nU;oU.default=k8f;oU.highlight=tU});var GQ=D((eU)=>{Object.defineProperty(eU,"__esModule",{value:!0});eU.hooks=void 0;var iFf=eU.hooks=[function(f,G){if(f.key==="test"&&(G.isWhile()||G.isSwitchCase())||f.key==="declaration"&&G.isExportDeclaration()||f.key==="body"&&G.isLabeledStatement()||f.listKey==="declarations"&&G.isVariableDeclaration()&&G.node.declarations.length===1||f.key==="expression"&&G.isExpressionStatement())return G.remove(),!0},function(f,G){if(G.isSequenceExpression()&&G.node.expressions.length===1)return G.replaceWith(G.node.expressions[0]),!0},function(f,G){if(G.isBinary()){if(f.key==="left")G.replaceWith(G.node.right);else G.replaceWith(G.node.left);return!0}},function(f,G){if(G.isIfStatement()&&f.key==="consequent"||f.key==="body"&&(G.isLoop()||G.isArrowFunctionExpression()))return f.replaceWith({type:"BlockStatement",body:[]}),!0}]});var I2=D((HQ)=>{Object.defineProperty(HQ,"__esModule",{value:!0});HQ._assertUnremoved=VQ;HQ._callRemovalHooks=WQ;HQ._markRemoved=V6;HQ._remove=RQ;HQ._removeFromScope=JQ;HQ.remove=a8f;var u8f=GQ(),h8f=X1(),y8f=H6(),XQ=lG(),x8f=Hf(),m8f=P2(),l8f=KG(),{getBindingIdentifiers:c8f}=x8f;function a8f(){var f;if(VQ.call(this),l8f.resync.call(this),WQ.call(this)){V6.call(this);return}if(!((f=this.opts)!=null&&f.noScope))JQ.call(this);this.shareCommentsWithSiblings(),RQ.call(this),V6.call(this)}function JQ(){let f=c8f(this.node,!1,!1,!0);Object.keys(f).forEach((G)=>this.scope.removeBinding(G))}function WQ(){if(this.parentPath){for(let f of u8f.hooks)if(f(this,this.parentPath))return!0}}function RQ(){if(Array.isArray(this.container))this.container.splice(this.key,1),m8f.updateSiblingKeys.call(this,this.key,-1);else y8f._replaceWith.call(this,null)}function V6(){if(this._traverseFlags|=XQ.SHOULD_SKIP|XQ.REMOVED,this.parent)h8f.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function VQ(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var zQ=D((ZQ)=>{Object.defineProperty(ZQ,"__esModule",{value:!0});ZQ.default=void 0;var UQ=Hf(),n8f=UQ,{react:o8f}=UQ,{cloneNode:e8f,jsxExpressionContainer:f4f,variableDeclaration:G4f,variableDeclarator:X4f}=n8f,J4f={ReferencedIdentifier(f,G){if(f.isJSXIdentifier()&&o8f.isCompatTag(f.node.name)&&!f.parentPath.isJSXMemberExpression())return;if(f.node.name==="this"){let J=f.scope;do if(J.path.isFunction()&&!J.path.isArrowFunctionExpression())break;while(J=J.parent);if(J)G.breakOnScopePaths.push(J.path)}let X=f.scope.getBinding(f.node.name);if(!X)return;for(let J of X.constantViolations)if(J.scope!==X.path.scope){G.mutableBinding=!0,f.stop();return}if(X!==G.scope.getBinding(f.node.name))return;G.bindings[f.node.name]=X}};class QQ{constructor(f,G){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=G,this.path=f,this.attachAfter=!1}isCompatibleScope(f){for(let G of Object.keys(this.bindings)){let X=this.bindings[G];if(!f.bindingIdentifierEquals(G,X.identifier))return!1}return!0}getCompatibleScopes(){let f=this.path.scope;do{if(this.isCompatibleScope(f))this.scopes.push(f);else break;if(this.breakOnScopePaths.includes(f.path))break}while(f=f.parent)}getAttachmentPath(){let f=this._getAttachmentPath();if(!f)return;let G=f.scope;if(G.path===f)G=f.scope.parent;if(G.path.isProgram()||G.path.isFunction())for(let X of Object.keys(this.bindings)){if(!G.hasOwnBinding(X))continue;let J=this.bindings[X];if(J.kind==="param"||J.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(J.path).key>=f.key){this.attachAfter=!0,f=J.path;for(let R of J.constantViolations)if(this.getAttachmentParentForPath(R).key>f.key)f=R}}return f}_getAttachmentPath(){let G=this.scopes.pop();if(!G)return;if(G.path.isFunction())if(this.hasOwnParamBindings(G)){if(this.scope===G)return;let X=G.path.get("body").get("body");for(let J=0;J<X.length;J++){if(X[J].node._blockHoist)continue;return X[J]}}else return this.getNextScopeAttachmentParent();else if(G.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){let f=this.scopes.pop();if(f)return this.getAttachmentParentForPath(f.path)}getAttachmentParentForPath(f){do if(!f.parentPath||Array.isArray(f.container)&&f.isStatement())return f;while(f=f.parentPath)}hasOwnParamBindings(f){for(let G of Object.keys(this.bindings)){if(!f.hasOwnBinding(G))continue;let X=this.bindings[G];if(X.kind==="param"&&X.constant)return!0}return!1}run(){if(this.path.traverse(J4f,this),this.mutableBinding)return;this.getCompatibleScopes();let f=this.getAttachmentPath();if(!f)return;if(f.getFunctionParent()===this.path.getFunctionParent())return;let G=f.scope.generateUidIdentifier("ref"),X=X4f(G,this.path.node),J=this.attachAfter?"insertAfter":"insertBefore",[W]=f[J]([f.isVariableDeclarator()?X:G4f("var",[X])]),R=this.path.parentPath;if(R.isJSXElement()&&this.path.container===R.node.children)G=f4f(G);return this.path.replaceWith(e8f(G)),f.isVariableDeclarator()?W.get("init"):W.get("declarations.0.init")}}ZQ.default=QQ});var P2=D((qQ)=>{Object.defineProperty(qQ,"__esModule",{value:!0});qQ._containerInsert=z6;qQ._containerInsertAfter=KQ;qQ._containerInsertBefore=B6;qQ._verifyNodeList=YX;qQ.insertAfter=C4f;qQ.insertBefore=$4f;qQ.pushContainer=j4f;qQ.unshiftContainer=A4f;qQ.updateSiblingKeys=$Q;var W4f=X1(),Y6=lG(),U6=KG(),N2=I2(),R4f=Hf(),V4f=zQ(),{arrowFunctionExpression:H4f,assertExpression:U4f,assignmentExpression:Q4f,blockStatement:BQ,callExpression:Z4f,cloneNode:Q6,expressionStatement:Z6,isAssignmentExpression:Y4f,isCallExpression:z4f,isExportNamedDeclaration:MQ,isExpression:B4f,isIdentifier:M4f,isSequenceExpression:K4f,isSuper:F4f,thisExpression:S4f}=R4f;function $4f(f){N2._assertUnremoved.call(this);let G=YX.call(this,f),{parentPath:X,parent:J}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||MQ(J)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertBefore(G);else if(this.isNodeType("Expression")&&!this.isJSXElement()||X.isForStatement()&&this.key==="init"){if(this.node)G.push(this.node);return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return B6.call(this,G);else if(this.isStatementOrBlock()){let W=this.node,R=W&&(!this.isExpressionStatement()||W.expression!=null);return this.replaceWith(BQ(R?[W]:[])),this.unshiftContainer("body",G)}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 z6(f,G){$Q.call(this,f,G.length);let X=[];this.container.splice(f,0,...G);for(let R=0;R<G.length;R++){var J;let V=f+R,H=this.getSibling(V);if(X.push(H),(J=this.context)!=null&&J.queue)U6.pushContext.call(H,this.context)}let W=U6._getQueueContexts.call(this);for(let R of X){U6.setScope.call(R),R.debug("Inserted.");for(let V of W)V.maybeQueue(R,!0)}return X}function B6(f){return z6.call(this,this.key,f)}function KQ(f){return z6.call(this,this.key+1,f)}var FQ=(f)=>f[f.length-1];function SQ(f){return K4f(f.parent)&&(FQ(f.parent.expressions)!==f.node||SQ(f.parentPath))}function q4f(f,G){if(!Y4f(f)||!M4f(f.left))return!1;let X=G.getBlockParent();return X.hasOwnBinding(f.left.name)&&X.getOwnBinding(f.left.name).constantViolations.length<=1}function C4f(f){if(N2._assertUnremoved.call(this),this.isSequenceExpression())return FQ(this.get("expressions")).insertAfter(f);let G=YX.call(this,f),{parentPath:X,parent:J}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||MQ(J)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(G.map((W)=>{return B4f(W)?Z6(W):W}));else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!X.isJSXElement()||X.isForStatement()&&this.key==="init"){let W=this;if(W.node){let R=W.node,{scope:V}=this;if(V.path.isPattern())return U4f(R),W.replaceWith(Z4f(H4f([],R),[])),W.get("callee.body").insertAfter(G),[W];if(SQ(W))G.unshift(R);else if(z4f(R)&&F4f(R.callee))G.unshift(R),G.push(S4f());else if(q4f(R,V))G.unshift(R),G.push(Q6(R.left));else if(V.isPure(R,!0))G.push(R);else{if(X.isMethod({computed:!0,key:R}))V=V.parent;let H=V.generateDeclaredUidIdentifier();G.unshift(Z6(Q4f("=",Q6(H),R))),G.push(Z6(Q6(H)))}}return this.replaceExpressionWithStatements(G)}else if(Array.isArray(this.container))return KQ.call(this,G);else if(this.isStatementOrBlock()){let W=this.node,R=W&&(!this.isExpressionStatement()||W.expression!=null);return this.replaceWith(BQ(R?[W]:[])),this.pushContainer("body",G)}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 $Q(f,G){if(!this.parent)return;let X=W4f.getCachedPaths(this.hub,this.parent)||[];for(let[,J]of X)if(typeof J.key==="number"&&J.container===this.container&&J.key>=f)J.key+=G}function YX(f){if(!f)return[];if(!Array.isArray(f))f=[f];for(let G=0;G<f.length;G++){let X=f[G],J;if(!X)J="has falsy node";else if(typeof X!=="object")J="contains a non-object node";else if(!X.type)J="without a type";else if(X instanceof Y6.default)J="has a NodePath when it expected a raw object";if(J){let W=Array.isArray(X)?"array":typeof X;throw new Error(`Node list ${J} with the index of ${G} and type of ${W}`)}}return f}function A4f(f,G){N2._assertUnremoved.call(this),G=YX.call(this,G);let X=Y6.default.get({parentPath:this,parent:this.node,container:this.node[f],listKey:f,key:0}).setContext(this.context);return B6.call(X,G)}function j4f(f,G){N2._assertUnremoved.call(this);let X=YX.call(this,G),J=this.node[f];return Y6.default.get({parentPath:this,parent:this.node,container:J,listKey:f,key:J.length}).setContext(this.context).replaceWithMultiple(X)}qQ.hoist=function f(G=this.scope){return new V4f.default(this,G).run()}});var H6=D((TQ)=>{Object.defineProperty(TQ,"__esModule",{value:!0});TQ._replaceWith=NQ;TQ.replaceExpressionWithStatements=RUf;TQ.replaceInline=VUf;TQ.replaceWith=WUf;TQ.replaceWithMultiple=XUf;TQ.replaceWithSourceString=JUf;var E4f=R6(),K6=ZX(),k4f=lG(),DQ=X1(),F6=P2(),v4f=Q2(),g4f=Hf(),P1=KG(),{FUNCTION_TYPES:CQ,arrowFunctionExpression:_4f,assignmentExpression:IQ,awaitExpression:u4f,blockStatement:h4f,buildUndefinedNode:M6,callExpression:y4f,cloneNode:S6,conditionalExpression:x4f,expressionStatement:m4f,getBindingIdentifiers:l4f,identifier:c4f,inheritLeadingComments:a4f,inheritTrailingComments:i4f,inheritsComments:r4f,isBlockStatement:p4f,isEmptyStatement:AQ,isExpression:PQ,isExpressionStatement:s4f,isIfStatement:d4f,isProgram:t4f,isStatement:n4f,isVariableDeclaration:o4f,removeComments:e4f,returnStatement:jQ,sequenceExpression:fUf,validate:OQ,yieldExpression:GUf}=g4f;function XUf(f){var G;P1.resync.call(this),f=F6._verifyNodeList.call(this,f),a4f(f[0],this.node),i4f(f[f.length-1],this.node),(G=DQ.getCachedPaths(this.hub,this.parent))==null||G.delete(this.node),this.node=this.container[this.key]=null;let X=this.insertAfter(f);if(this.node)this.requeue();else this.remove();return X}function JUf(f){P1.resync.call(this);let G;try{f=`(${f})`,G=v4f.parse(f)}catch(J){let W=J.loc;if(W)J.message+=` - make sure this is an expression.
32
+ `+E4f.codeFrameColumns(f,{start:{line:W.line,column:W.column+1}}),J.code="BABEL_REPLACE_SOURCE_ERROR";throw J}let X=G.program.body[0].expression;return K6.default.removeProperties(X),this.replaceWith(X)}function WUf(f){if(P1.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let G=f instanceof k4f.default?f.node:f;if(!G)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===G)return[this];if(this.isProgram()&&!t4f(G))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(G))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof G==="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let X="";if(this.isNodeType("Statement")&&PQ(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G)&&!this.parentPath.isExportDefaultDeclaration())G=m4f(G),X="expression"}if(this.isNodeType("Expression")&&n4f(G)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(G))return this.replaceExpressionWithStatements([G])}let J=this.node;if(J)r4f(G,J),e4f(J);return NQ.call(this,G),this.type=G.type,P1.setScope.call(this),this.requeue(),[X?this.get(X):this]}function NQ(f){var G;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)OQ(this.parent,this.key,[f]);else OQ(this.parent,this.key,f);this.debug(`Replace with ${f==null?void 0:f.type}`),(G=DQ.getCachedPaths(this.hub,this.parent))==null||G.set(f,this).delete(this.node),this.node=this.container[this.key]=f}function RUf(f){P1.resync.call(this);let G=[],X=T2(f,G);if(X){for(let C of G)this.scope.push({id:C});return this.replaceWith(X)[0].get("expressions")}let J=this.getFunctionParent(),W=J==null?void 0:J.node.async,R=J==null?void 0:J.node.generator,V=_4f([],h4f(f));this.replaceWith(y4f(V,[]));let H=this.get("callee");H.get("body").scope.hoistVariables((C)=>this.scope.push({id:C}));let U=H.getCompletionRecords();for(let C of U){if(!C.isExpressionStatement())continue;let A=C.findParent((O)=>O.isLoop());if(A){let O=A.getData("expressionReplacementReturnUid");if(!O)O=H.scope.generateDeclaredUidIdentifier("ret"),H.get("body").pushContainer("body",jQ(S6(O))),A.setData("expressionReplacementReturnUid",O);else O=c4f(O.name);C.get("expression").replaceWith(IQ("=",S6(O),C.node.expression))}else C.replaceWith(jQ(C.node.expression))}H.arrowFunctionToExpression();let Q=H,Y=W&&K6.default.hasType(this.get("callee.body").node,"AwaitExpression",CQ),S=R&&K6.default.hasType(this.get("callee.body").node,"YieldExpression",CQ);if(Y){if(Q.set("async",!0),!S)this.replaceWith(u4f(this.node))}if(S)Q.set("generator",!0),this.replaceWith(GUf(this.node,!0));return Q.get("body.body")}function T2(f,G){let X=[],J=!0;for(let W of f){if(!AQ(W))J=!1;if(PQ(W))X.push(W);else if(s4f(W))X.push(W.expression);else if(o4f(W)){if(W.kind!=="var")return;for(let R of W.declarations){let V=l4f(R);for(let H of Object.keys(V))G.push(S6(V[H]));if(R.init)X.push(IQ("=",R.id,R.init))}J=!0}else if(d4f(W)){let R=W.consequent?T2([W.consequent],G):M6(),V=W.alternate?T2([W.alternate],G):M6();if(!R||!V)return;X.push(x4f(W.test,R,V))}else if(p4f(W)){let R=T2(W.body,G);if(!R)return;X.push(R)}else if(AQ(W)){if(f.indexOf(W)===0)J=!0}else return}if(J)X.push(M6());if(X.length===1)return X[0];else return fUf(X)}function VUf(f){if(P1.resync.call(this),Array.isArray(f))if(Array.isArray(this.container)){f=F6._verifyNodeList.call(this,f);let G=F6._containerInsertAfter.call(this,f);return this.remove(),G}else return this.replaceWithMultiple(f);else return this.replaceWith(f)}});var kQ=D((EQ)=>{Object.defineProperty(EQ,"__esModule",{value:!0});EQ.evaluate=CUf;EQ.evaluateTruthy=$Uf;var BUf=["Number","String","Math"],MUf=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],KUf=["random"];function LQ(f){return BUf.includes(f)}function FUf(f){return MUf.includes(f)}function SUf(f){return KUf.includes(f)}function $Uf(){let f=this.evaluate();if(f.confident)return!!f.value}function FG(f,G){if(!G.confident)return;G.deoptPath=f,G.confident=!1}var bQ=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function mf(f,G){let{node:X}=f,{seen:J}=G;if(J.has(X)){let W=J.get(X);if(W.resolved)return W.value;else{FG(f,G);return}}else{let W={resolved:!1};J.set(X,W);let R=qUf(f,G);if(G.confident)W.resolved=!0,W.value=R;return R}}function qUf(f,G){if(!G.confident)return;if(f.isSequenceExpression()){let J=f.get("expressions");return mf(J[J.length-1],G)}if(f.isStringLiteral()||f.isNumericLiteral()||f.isBooleanLiteral())return f.node.value;if(f.isNullLiteral())return null;if(f.isTemplateLiteral())return wQ(f,f.node.quasis,G);if(f.isTaggedTemplateExpression()&&f.get("tag").isMemberExpression()){let J=f.get("tag.object"),{node:{name:W}}=J,R=f.get("tag.property");if(J.isIdentifier()&&W==="String"&&!f.scope.getBinding(W)&&R.isIdentifier()&&R.node.name==="raw")return wQ(f,f.node.quasi.quasis,G,!0)}if(f.isConditionalExpression()){let J=mf(f.get("test"),G);if(!G.confident)return;if(J)return mf(f.get("consequent"),G);else return mf(f.get("alternate"),G)}if(f.isExpressionWrapper())return mf(f.get("expression"),G);if(f.isMemberExpression()&&!f.parentPath.isCallExpression({callee:f.node})){let J=f.get("property"),W=f.get("object");if(W.isLiteral()){let R=W.node.value,V=typeof R,H=null;if(f.node.computed){if(H=mf(J,G),!G.confident)return}else if(J.isIdentifier())H=J.node.name;if((V==="number"||V==="string")&&H!=null&&(typeof H==="number"||typeof H==="string"))return R[H]}}if(f.isReferencedIdentifier()){let J=f.scope.getBinding(f.node.name);if(J){if(J.constantViolations.length>0||f.node.start<J.path.node.end){FG(J.path,G);return}let V=J.path.scope;if(J.kind==="var"&&V!==J.scope){let H=!V.path.parentPath.isBlockStatement();for(let U=V.parent;U;U=U.parent){var X;if(U===f.scope){if(H){FG(J.path,G);return}break}if((X=U.path.parentPath)!=null&&X.isBlockStatement())H=!0}}if(J.hasValue)return J.value}let W=f.node.name;if(bQ.has(W)){if(!J)return bQ.get(W);FG(J.path,G);return}let R=f.resolve();if(R===f){FG(f,G);return}else return mf(R,G)}if(f.isUnaryExpression({prefix:!0})){if(f.node.operator==="void")return;let J=f.get("argument");if(f.node.operator==="typeof"&&(J.isFunction()||J.isClass()))return"function";let W=mf(J,G);if(!G.confident)return;switch(f.node.operator){case"!":return!W;case"+":return+W;case"-":return-W;case"~":return~W;case"typeof":return typeof W}}if(f.isArrayExpression()){let J=[],W=f.get("elements");for(let R of W){let V=R.evaluate();if(V.confident)J.push(V.value);else{FG(V.deopt,G);return}}return J}if(f.isObjectExpression()){let J={},W=f.get("properties");for(let R of W){if(R.isObjectMethod()||R.isSpreadElement()){FG(R,G);return}let V=R.get("key"),H;if(R.node.computed){if(H=V.evaluate(),!H.confident){FG(H.deopt,G);return}H=H.value}else if(V.isIdentifier())H=V.node.name;else H=V.node.value;let Q=R.get("value").evaluate();if(!Q.confident){FG(Q.deopt,G);return}Q=Q.value,J[H]=Q}return J}if(f.isLogicalExpression()){let J=G.confident,W=mf(f.get("left"),G),R=G.confident;G.confident=J;let V=mf(f.get("right"),G),H=G.confident;switch(f.node.operator){case"||":if(G.confident=R&&(!!W||H),!G.confident)return;return W||V;case"&&":if(G.confident=R&&(!W||H),!G.confident)return;return W&&V;case"??":if(G.confident=R&&(W!=null||H),!G.confident)return;return W!=null?W:V}}if(f.isBinaryExpression()){let J=mf(f.get("left"),G);if(!G.confident)return;let W=mf(f.get("right"),G);if(!G.confident)return;switch(f.node.operator){case"-":return J-W;case"+":return J+W;case"/":return J/W;case"*":return J*W;case"%":return J%W;case"**":return Math.pow(J,W);case"<":return J<W;case">":return J>W;case"<=":return J<=W;case">=":return J>=W;case"==":return J==W;case"!=":return J!=W;case"===":return J===W;case"!==":return J!==W;case"|":return J|W;case"&":return J&W;case"^":return J^W;case"<<":return J<<W;case">>":return J>>W;case">>>":return J>>>W}}if(f.isCallExpression()){let J=f.get("callee"),W,R;if(J.isIdentifier()&&!f.scope.getBinding(J.node.name)&&(LQ(J.node.name)||FUf(J.node.name)))R=global[J.node.name];if(J.isMemberExpression()){let V=J.get("object"),H=J.get("property");if(V.isIdentifier()&&H.isIdentifier()&&LQ(V.node.name)&&!SUf(H.node.name)){W=global[V.node.name];let U=H.node.name;if(hasOwnProperty.call(W,U))R=W[U]}if(V.isLiteral()&&H.isIdentifier()){let U=typeof V.node.value;if(U==="string"||U==="number")W=V.node.value,R=W[H.node.name]}}if(R){let V=f.get("arguments").map((H)=>mf(H,G));if(!G.confident)return;return R.apply(W,V)}}FG(f,G)}function wQ(f,G,X,J=!1){let W="",R=0,V=f.isTemplateLiteral()?f.get("expressions"):f.get("quasi.expressions");for(let H of G){if(!X.confident)break;W+=J?H.value.raw:H.value.cooked;let U=V[R++];if(U)W+=String(mf(U,X))}if(!X.confident)return;return W}function CUf(){let f={confident:!0,deoptPath:null,seen:new Map},G=mf(this,f);if(!f.confident)G=void 0;return{confident:f.confident,deopt:f.deoptPath,value:G}}});var _Q=D((vQ)=>{Object.defineProperty(vQ,"__esModule",{value:!0});vQ.statements=vQ.statement=vQ.smart=vQ.program=vQ.expression=void 0;var OUf=Hf(),{assertExpressionStatement:DUf}=OUf;function $6(f){return{code:(G)=>`/* @babel/template */;
33
+ ${G}`,validate:()=>{},unwrap:(G)=>{return f(G.program.body.slice(1))}}}var eFf=vQ.smart=$6((f)=>{if(f.length>1)return f;else return f[0]}),fSf=vQ.statements=$6((f)=>f),GSf=vQ.statement=$6((f)=>{if(f.length===0)throw new Error("Found nothing to return.");if(f.length>1)throw new Error("Found multiple statements but wanted one");return f[0]}),IUf=vQ.expression={code:(f)=>`(
34
34
  ${f}
35
- )`,validate:(f)=>{if(f.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(PUf.unwrap(f).start===0)throw new Error("Parse result included parens.")},unwrap:({program:f})=>{let[G]=f.body;return DUf(G),G.expression}},XSf=vQ.program={code:(f)=>f,validate:()=>{},unwrap:(f)=>f.program}});var L2=D((uQ)=>{Object.defineProperty(uQ,"__esModule",{value:!0});uQ.merge=EUf;uQ.normalizeReplacements=vUf;uQ.validate=kUf;var bUf=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function wUf(f,G){if(f==null)return{};var X={};for(var J in f)if({}.hasOwnProperty.call(f,J)){if(G.includes(J))continue;X[J]=f[J]}return X}function EUf(f,G){let{placeholderWhitelist:X=f.placeholderWhitelist,placeholderPattern:J=f.placeholderPattern,preserveComments:W=f.preserveComments,syntacticPlaceholders:R=f.syntacticPlaceholders}=G;return{parser:Object.assign({},f.parser,G.parser),placeholderWhitelist:X,placeholderPattern:J,preserveComments:W,syntacticPlaceholders:R}}function kUf(f){if(f!=null&&typeof f!=="object")throw new Error("Unknown template options.");let G=f||{},{placeholderWhitelist:X,placeholderPattern:J,preserveComments:W,syntacticPlaceholders:R}=G,V=wUf(G,bUf);if(X!=null&&!(X instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(J!=null&&!(J instanceof RegExp)&&J!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(W!=null&&typeof W!=="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(R!=null&&typeof R!=="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(R===!0&&(X!=null||J!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:V,placeholderWhitelist:X||void 0,placeholderPattern:J==null?void 0:J,preserveComments:W==null?void 0:W,syntacticPlaceholders:R==null?void 0:R}}function vUf(f){if(Array.isArray(f))return f.reduce((G,X,J)=>{return G["$"+J]=X,G},{});else if(typeof f==="object"||f==null)return f||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var q6=D((yQ)=>{Object.defineProperty(yQ,"__esModule",{value:!0});yQ.default=nUf;var hUf=Hf(),yUf=Q2(),xUf=R6(),{isCallExpression:mUf,isExpressionStatement:lUf,isFunction:cUf,isIdentifier:aUf,isJSXIdentifier:iUf,isNewExpression:rUf,isPlaceholder:b2,isStatement:pUf,isStringLiteral:hQ,removePropertiesDeep:sUf,traverse:dUf}=hUf,tUf=/^[_$A-Z0-9]+$/;function nUf(f,G,X){let{placeholderWhitelist:J,placeholderPattern:W,preserveComments:R,syntacticPlaceholders:V}=X,H=fQf(G,X.parser,V);sUf(H,{preserveComments:R}),f.validate(H);let U={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:J,placeholderPattern:W,syntacticPlaceholders:V};return dUf(H,oUf,U),Object.assign({ast:H},U.syntactic.placeholders.length?U.syntactic:U.legacy)}function oUf(f,G,X){var J;let W,R=X.syntactic.placeholders.length>0;if(b2(f)){if(X.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");W=f.name.name,R=!0}else if(R||X.syntacticPlaceholders)return;else if(aUf(f)||iUf(f))W=f.name;else if(hQ(f))W=f.value;else return;if(R&&(X.placeholderPattern!=null||X.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!R&&(X.placeholderPattern===!1||!(X.placeholderPattern||tUf).test(W))&&!((J=X.placeholderWhitelist)!=null&&J.has(W)))return;G=G.slice();let{node:V,key:H}=G[G.length-1],U;if(hQ(f)||b2(f,{expectedNode:"StringLiteral"}))U="string";else if(rUf(V)&&H==="arguments"||mUf(V)&&H==="arguments"||cUf(V)&&H==="params")U="param";else if(lUf(V)&&!b2(f))U="statement",G=G.slice(0,-1);else if(pUf(f)&&b2(f))U="statement";else U="other";let{placeholders:Q,placeholderNames:Y}=!R?X.legacy:X.syntactic;Q.push({name:W,type:U,resolve:(S)=>eUf(S,G),isDuplicate:Y.has(W)}),Y.add(W)}function eUf(f,G){let X=f;for(let R=0;R<G.length-1;R++){let{key:V,index:H}=G[R];if(H===void 0)X=X[V];else X=X[V][H]}let{key:J,index:W}=G[G.length-1];return{parent:X,key:J,index:W}}function fQf(f,G,X){let J=(G.plugins||[]).slice();if(X!==!1)J.push("placeholders");G=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},G,{plugins:J});try{return yUf.parse(f,G)}catch(W){let R=W.loc;if(R)W.message+=`
35
+ )`,validate:(f)=>{if(f.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(IUf.unwrap(f).start===0)throw new Error("Parse result included parens.")},unwrap:({program:f})=>{let[G]=f.body;return DUf(G),G.expression}},XSf=vQ.program={code:(f)=>f,validate:()=>{},unwrap:(f)=>f.program}});var L2=D((uQ)=>{Object.defineProperty(uQ,"__esModule",{value:!0});uQ.merge=EUf;uQ.normalizeReplacements=vUf;uQ.validate=kUf;var bUf=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function wUf(f,G){if(f==null)return{};var X={};for(var J in f)if({}.hasOwnProperty.call(f,J)){if(G.includes(J))continue;X[J]=f[J]}return X}function EUf(f,G){let{placeholderWhitelist:X=f.placeholderWhitelist,placeholderPattern:J=f.placeholderPattern,preserveComments:W=f.preserveComments,syntacticPlaceholders:R=f.syntacticPlaceholders}=G;return{parser:Object.assign({},f.parser,G.parser),placeholderWhitelist:X,placeholderPattern:J,preserveComments:W,syntacticPlaceholders:R}}function kUf(f){if(f!=null&&typeof f!=="object")throw new Error("Unknown template options.");let G=f||{},{placeholderWhitelist:X,placeholderPattern:J,preserveComments:W,syntacticPlaceholders:R}=G,V=wUf(G,bUf);if(X!=null&&!(X instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(J!=null&&!(J instanceof RegExp)&&J!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(W!=null&&typeof W!=="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(R!=null&&typeof R!=="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(R===!0&&(X!=null||J!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:V,placeholderWhitelist:X||void 0,placeholderPattern:J==null?void 0:J,preserveComments:W==null?void 0:W,syntacticPlaceholders:R==null?void 0:R}}function vUf(f){if(Array.isArray(f))return f.reduce((G,X,J)=>{return G["$"+J]=X,G},{});else if(typeof f==="object"||f==null)return f||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var q6=D((yQ)=>{Object.defineProperty(yQ,"__esModule",{value:!0});yQ.default=nUf;var hUf=Hf(),yUf=Q2(),xUf=R6(),{isCallExpression:mUf,isExpressionStatement:lUf,isFunction:cUf,isIdentifier:aUf,isJSXIdentifier:iUf,isNewExpression:rUf,isPlaceholder:b2,isStatement:pUf,isStringLiteral:hQ,removePropertiesDeep:sUf,traverse:dUf}=hUf,tUf=/^[_$A-Z0-9]+$/;function nUf(f,G,X){let{placeholderWhitelist:J,placeholderPattern:W,preserveComments:R,syntacticPlaceholders:V}=X,H=fQf(G,X.parser,V);sUf(H,{preserveComments:R}),f.validate(H);let U={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:J,placeholderPattern:W,syntacticPlaceholders:V};return dUf(H,oUf,U),Object.assign({ast:H},U.syntactic.placeholders.length?U.syntactic:U.legacy)}function oUf(f,G,X){var J;let W,R=X.syntactic.placeholders.length>0;if(b2(f)){if(X.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");W=f.name.name,R=!0}else if(R||X.syntacticPlaceholders)return;else if(aUf(f)||iUf(f))W=f.name;else if(hQ(f))W=f.value;else return;if(R&&(X.placeholderPattern!=null||X.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!R&&(X.placeholderPattern===!1||!(X.placeholderPattern||tUf).test(W))&&!((J=X.placeholderWhitelist)!=null&&J.has(W)))return;G=G.slice();let{node:V,key:H}=G[G.length-1],U;if(hQ(f)||b2(f,{expectedNode:"StringLiteral"}))U="string";else if(rUf(V)&&H==="arguments"||mUf(V)&&H==="arguments"||cUf(V)&&H==="params")U="param";else if(lUf(V)&&!b2(f))U="statement",G=G.slice(0,-1);else if(pUf(f)&&b2(f))U="statement";else U="other";let{placeholders:Q,placeholderNames:Y}=!R?X.legacy:X.syntactic;Q.push({name:W,type:U,resolve:(S)=>eUf(S,G),isDuplicate:Y.has(W)}),Y.add(W)}function eUf(f,G){let X=f;for(let R=0;R<G.length-1;R++){let{key:V,index:H}=G[R];if(H===void 0)X=X[V];else X=X[V][H]}let{key:J,index:W}=G[G.length-1];return{parent:X,key:J,index:W}}function fQf(f,G,X){let J=(G.plugins||[]).slice();if(X!==!1)J.push("placeholders");G=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},G,{plugins:J});try{return yUf.parse(f,G)}catch(W){let R=W.loc;if(R)W.message+=`
36
36
  `+xUf.codeFrameColumns(f,{start:R}),W.code="BABEL_TEMPLATE_PARSE_ERROR";throw W}}});var j6=D((lQ)=>{Object.defineProperty(lQ,"__esModule",{value:!0});lQ.default=HQf;var XQf=Hf(),{blockStatement:JQf,cloneNode:A6,emptyStatement:WQf,expressionStatement:C6,identifier:w2,isStatement:xQ,isStringLiteral:RQf,stringLiteral:VQf,validate:mQ}=XQf;function HQf(f,G){let X=A6(f.ast);if(G)f.placeholders.forEach((J)=>{if(!hasOwnProperty.call(G,J.name)){let W=J.name;throw new Error(`Error: No substitution given for "${W}". If this is not meant to be a
37
37
  placeholder you may want to consider passing one of the following options to @babel/template:
38
38
  - { placeholderPattern: false, placeholderWhitelist: new Set(['${W}'])}
39
- - { placeholderPattern: /^${W}$/ }`)}}),Object.keys(G).forEach((J)=>{if(!f.placeholderNames.has(J))throw new Error(`Unknown substitution "${J}" given`)});return f.placeholders.slice().reverse().forEach((J)=>{try{UQf(J,X,G&&G[J.name]||null)}catch(W){throw W.message=`@babel/template placeholder "${J.name}": ${W.message}`,W}}),X}function UQf(f,G,X){if(f.isDuplicate){if(Array.isArray(X))X=X.map((H)=>A6(H));else if(typeof X==="object")X=A6(X)}let{parent:J,key:W,index:R}=f.resolve(G);if(f.type==="string"){if(typeof X==="string")X=VQf(X);if(!X||!RQf(X))throw new Error("Expected string substitution")}else if(f.type==="statement"){if(R===void 0){if(!X)X=WQf();else if(Array.isArray(X))X=JQf(X);else if(typeof X==="string")X=C6(w2(X));else if(!xQ(X))X=C6(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=w2(X);if(!xQ(X))X=C6(X)}}else if(f.type==="param"){if(typeof X==="string")X=w2(X);if(R===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=w2(X);if(Array.isArray(X))throw new Error("Cannot replace single expression with an array.")}function V(H,U,Q){let Y=H[U];if(H[U]=Q,Y.type==="Identifier"||Y.type==="Placeholder"){if(Y.typeAnnotation)Q.typeAnnotation=Y.typeAnnotation;if(Y.optional)Q.optional=Y.optional;if(Y.decorators)Q.decorators=Y.decorators}}if(R===void 0)mQ(J,W,X),V(J,W,X);else{let H=J[W].slice();if(f.type==="statement"||f.type==="param")if(X==null)H.splice(R,1);else if(Array.isArray(X))H.splice(R,1,...X);else V(H,R,X);else V(H,R,X);mQ(J,W,H),J[W]=H}}});var aQ=D((cQ)=>{Object.defineProperty(cQ,"__esModule",{value:!0});cQ.default=BQf;var ZQf=L2(),YQf=q6(),zQf=j6();function BQf(f,G,X){G=f.code(G);let J;return(W)=>{let R=ZQf.normalizeReplacements(W);if(!J)J=YQf.default(f,G,X);return f.unwrap(zQf.default(J,R))}}});var rQ=D((iQ)=>{Object.defineProperty(iQ,"__esModule",{value:!0});iQ.default=$Qf;var KQf=L2(),FQf=q6(),SQf=j6();function $Qf(f,G,X){let{metadata:J,names:W}=qQf(f,G,X);return(R)=>{let V={};return R.forEach((H,U)=>{V[W[U]]=H}),(H)=>{let U=KQf.normalizeReplacements(H);if(U)Object.keys(U).forEach((Q)=>{if(hasOwnProperty.call(V,Q))throw new Error("Unexpected replacement overlap.")});return f.unwrap(SQf.default(J,U?Object.assign(U,V):V))}}}function qQf(f,G,X){let J="BABEL_TPL$",W=G.join("");do J="$$"+J;while(W.includes(J));let{names:R,code:V}=CQf(G,J);return{metadata:FQf.default(f,f.code(V),{parser:X.parser,placeholderWhitelist:new Set(R.concat(X.placeholderWhitelist?Array.from(X.placeholderWhitelist):[])),placeholderPattern:X.placeholderPattern,preserveComments:X.preserveComments,syntacticPlaceholders:X.syntacticPlaceholders}),names:R}}function CQf(f,G){let X=[],J=f[0];for(let W=1;W<f.length;W++){let R=`${G}${W-1}`;X.push(R),J+=R+f[W]}return{names:X,code:J}}});var eQ=D((oQ)=>{Object.defineProperty(oQ,"__esModule",{value:!0});oQ.default=nQ;var FG=L2(),pQ=aQ(),sQ=rQ(),dQ=FG.validate({placeholderPattern:!1});function nQ(f,G){let X=new WeakMap,J=new WeakMap,W=G||FG.validate(null);return Object.assign((R,...V)=>{if(typeof R==="string"){if(V.length>1)throw new Error("Unexpected extra params.");return tQ(pQ.default(f,R,FG.merge(W,FG.validate(V[0]))))}else if(Array.isArray(R)){let H=X.get(R);if(!H)H=sQ.default(f,R,W),X.set(R,H);return tQ(H(V))}else if(typeof R==="object"&&R){if(V.length>0)throw new Error("Unexpected extra params.");return nQ(f,FG.merge(W,FG.validate(R)))}throw new Error(`Unexpected template param ${typeof R}`)},{ast:(R,...V)=>{if(typeof R==="string"){if(V.length>1)throw new Error("Unexpected extra params.");return pQ.default(f,R,FG.merge(FG.merge(W,FG.validate(V[0])),dQ))()}else if(Array.isArray(R)){let H=J.get(R);if(!H)H=sQ.default(f,R,FG.merge(W,dQ)),J.set(R,H);return H(V)()}throw new Error(`Unexpected template param ${typeof R}`)}})}function tQ(f){let G="";try{throw new Error}catch(X){if(X.stack)G=X.stack.split(`
39
+ - { placeholderPattern: /^${W}$/ }`)}}),Object.keys(G).forEach((J)=>{if(!f.placeholderNames.has(J))throw new Error(`Unknown substitution "${J}" given`)});return f.placeholders.slice().reverse().forEach((J)=>{try{UQf(J,X,G&&G[J.name]||null)}catch(W){throw W.message=`@babel/template placeholder "${J.name}": ${W.message}`,W}}),X}function UQf(f,G,X){if(f.isDuplicate){if(Array.isArray(X))X=X.map((H)=>A6(H));else if(typeof X==="object")X=A6(X)}let{parent:J,key:W,index:R}=f.resolve(G);if(f.type==="string"){if(typeof X==="string")X=VQf(X);if(!X||!RQf(X))throw new Error("Expected string substitution")}else if(f.type==="statement"){if(R===void 0){if(!X)X=WQf();else if(Array.isArray(X))X=JQf(X);else if(typeof X==="string")X=C6(w2(X));else if(!xQ(X))X=C6(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=w2(X);if(!xQ(X))X=C6(X)}}else if(f.type==="param"){if(typeof X==="string")X=w2(X);if(R===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=w2(X);if(Array.isArray(X))throw new Error("Cannot replace single expression with an array.")}function V(H,U,Q){let Y=H[U];if(H[U]=Q,Y.type==="Identifier"||Y.type==="Placeholder"){if(Y.typeAnnotation)Q.typeAnnotation=Y.typeAnnotation;if(Y.optional)Q.optional=Y.optional;if(Y.decorators)Q.decorators=Y.decorators}}if(R===void 0)mQ(J,W,X),V(J,W,X);else{let H=J[W].slice();if(f.type==="statement"||f.type==="param")if(X==null)H.splice(R,1);else if(Array.isArray(X))H.splice(R,1,...X);else V(H,R,X);else V(H,R,X);mQ(J,W,H),J[W]=H}}});var aQ=D((cQ)=>{Object.defineProperty(cQ,"__esModule",{value:!0});cQ.default=BQf;var ZQf=L2(),YQf=q6(),zQf=j6();function BQf(f,G,X){G=f.code(G);let J;return(W)=>{let R=ZQf.normalizeReplacements(W);if(!J)J=YQf.default(f,G,X);return f.unwrap(zQf.default(J,R))}}});var rQ=D((iQ)=>{Object.defineProperty(iQ,"__esModule",{value:!0});iQ.default=$Qf;var KQf=L2(),FQf=q6(),SQf=j6();function $Qf(f,G,X){let{metadata:J,names:W}=qQf(f,G,X);return(R)=>{let V={};return R.forEach((H,U)=>{V[W[U]]=H}),(H)=>{let U=KQf.normalizeReplacements(H);if(U)Object.keys(U).forEach((Q)=>{if(hasOwnProperty.call(V,Q))throw new Error("Unexpected replacement overlap.")});return f.unwrap(SQf.default(J,U?Object.assign(U,V):V))}}}function qQf(f,G,X){let J="BABEL_TPL$",W=G.join("");do J="$$"+J;while(W.includes(J));let{names:R,code:V}=CQf(G,J);return{metadata:FQf.default(f,f.code(V),{parser:X.parser,placeholderWhitelist:new Set(R.concat(X.placeholderWhitelist?Array.from(X.placeholderWhitelist):[])),placeholderPattern:X.placeholderPattern,preserveComments:X.preserveComments,syntacticPlaceholders:X.syntacticPlaceholders}),names:R}}function CQf(f,G){let X=[],J=f[0];for(let W=1;W<f.length;W++){let R=`${G}${W-1}`;X.push(R),J+=R+f[W]}return{names:X,code:J}}});var eQ=D((oQ)=>{Object.defineProperty(oQ,"__esModule",{value:!0});oQ.default=nQ;var SG=L2(),pQ=aQ(),sQ=rQ(),dQ=SG.validate({placeholderPattern:!1});function nQ(f,G){let X=new WeakMap,J=new WeakMap,W=G||SG.validate(null);return Object.assign((R,...V)=>{if(typeof R==="string"){if(V.length>1)throw new Error("Unexpected extra params.");return tQ(pQ.default(f,R,SG.merge(W,SG.validate(V[0]))))}else if(Array.isArray(R)){let H=X.get(R);if(!H)H=sQ.default(f,R,W),X.set(R,H);return tQ(H(V))}else if(typeof R==="object"&&R){if(V.length>0)throw new Error("Unexpected extra params.");return nQ(f,SG.merge(W,SG.validate(R)))}throw new Error(`Unexpected template param ${typeof R}`)},{ast:(R,...V)=>{if(typeof R==="string"){if(V.length>1)throw new Error("Unexpected extra params.");return pQ.default(f,R,SG.merge(SG.merge(W,SG.validate(V[0])),dQ))()}else if(Array.isArray(R)){let H=J.get(R);if(!H)H=sQ.default(f,R,SG.merge(W,dQ)),J.set(R,H);return H(V)()}throw new Error(`Unexpected template param ${typeof R}`)}})}function tQ(f){let G="";try{throw new Error}catch(X){if(X.stack)G=X.stack.split(`
40
40
  `).slice(3).join(`
41
41
  `)}return(X)=>{try{return f(X)}catch(J){throw J.stack+=`
42
42
  =============
43
- ${G}`,J}}}});var X7=D((f7)=>{Object.defineProperty(f7,"__esModule",{value:!0});f7.statements=f7.statement=f7.smart=f7.program=f7.expression=f7.default=void 0;var zX=_Q(),BX=eQ(),O6=f7.smart=BX.default(zX.smart),OQf=f7.statement=BX.default(zX.statement),DQf=f7.statements=BX.default(zX.statements),PQf=f7.expression=BX.default(zX.expression),IQf=f7.program=BX.default(zX.program),ZSf=f7.default=Object.assign(O6.bind(void 0),{smart:O6,statement:OQf,statements:DQf,expression:PQf,program:IQf,ast:O6.ast})});var Y7=D((Z7)=>{Object.defineProperty(Z7,"__esModule",{value:!0});Z7.arrowFunctionToExpression=H7f;Z7.ensureBlock=W7f;Z7.ensureFunctionName=q7f;Z7.splitExportDeclaration=S7f;Z7.toComputedKey=J7f;Z7.unwrapFunctionEnvironment=R7f;var EQf=Hf(),kQf=X7(),I6=QX(),vQf=KG(),{arrowFunctionExpression:N6,assignmentExpression:H1,binaryExpression:D6,blockStatement:gQf,callExpression:N1,conditionalExpression:_Qf,expressionStatement:R7,identifier:qf,isIdentifier:uQf,jsxIdentifier:hQf,logicalExpression:yQf,LOGICAL_OPERATORS:xQf,memberExpression:QG,metaProperty:mQf,numericLiteral:lQf,objectExpression:cQf,restElement:aQf,returnStatement:iQf,sequenceExpression:rQf,spreadElement:pQf,stringLiteral:V7,super:P6,thisExpression:MX,toExpression:H7,unaryExpression:sQf,toBindingIdentifierName:dQf,isFunction:tQf,isAssignmentPattern:nQf,isRestElement:oQf,getFunctionName:eQf,cloneNode:U1,variableDeclaration:f7f,variableDeclarator:G7f,exportNamedDeclaration:J7,exportSpecifier:W7,inherits:X7f}=EQf;function J7f(){let f;if(this.isMemberExpression())f=this.node.property;else if(this.isProperty()||this.isMethod())f=this.node.key;else throw new ReferenceError("todo");if(!this.node.computed){if(uQf(f))f=V7(f.name)}return f}function W7f(){let f=this.get("body"),G=f.node;if(Array.isArray(f))throw new Error("Can't convert array path to a block statement");if(!G)throw new Error("Can't convert node without a body");if(f.isBlockStatement())return G;let X=[],J="body",W,R;if(f.isStatement())R="body",W=0,X.push(f.node);else if(J+=".body.0",this.isFunction())W="argument",X.push(iQf(f.node));else W="expression",X.push(R7(f.node));this.node.body=gQf(X);let V=this.get(J);return vQf.setup.call(f,V,R?V.node[R]:V.node,R,W),this.node}Z7.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};function R7f(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");U7(this)}function V7f(f,G){f.node.type=G}function H7f({allowInsertArrow:f=!0,allowInsertArrowWithRest:G=f,noNewArrows:X=!((J)=>(J=arguments[0])==null?void 0:J.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let J=this;if(!X){var W;J=(W=J.ensureFunctionName(!1))!=null?W:J}let{thisBinding:R,fnPath:V}=U7(J,X,f,G);if(V.ensureBlock(),V7f(V,"FunctionExpression"),!X){let H=R?null:V.scope.generateUidIdentifier("arrowCheckId");if(H)V.parentPath.scope.push({id:H,init:cQf([])});return V.get("body").unshiftContainer("body",R7(N1(this.hub.addHelper("newArrowCheck"),[MX(),H?qf(H.name):qf(R)]))),V.replaceWith(N1(QG(V.node,qf("bind")),[H?qf(H.name):MX()])),V.get("callee.object")}return V}var U7f=I6.environmentVisitor({CallExpression(f,{allSuperCalls:G}){if(!f.get("callee").isSuper())return;G.push(f)}});function U7(f,G=!0,X=!0,J=!0){let W,R=f.findParent((A)=>{if(A.isArrowFunctionExpression()){var j;return(j=W)!=null||(W=A),!1}return A.isFunction()||A.isProgram()||A.isClassProperty({static:!1})||A.isClassPrivateProperty({static:!1})}),V=R.isClassMethod({kind:"constructor"});if(R.isClassProperty()||R.isClassPrivateProperty())if(W)R=W;else if(X)f.replaceWith(N1(N6([],H7(f.node)),[])),R=f.get("callee"),f=R.get("body");else throw f.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:H,argumentsPaths:U,newTargetPaths:Q,superProps:Y,superCalls:S}=F7f(f);if(V&&S.length>0){if(!X)throw S[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(!J)throw S[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 A=[];R.traverse(U7f,{allSuperCalls:A});let j=B7f(R);A.forEach((b)=>{let I=qf(j);I.loc=b.node.callee.loc,b.get("callee").replaceWith(I)})}if(U.length>0){let A=KX(R,"arguments",()=>{let j=()=>qf("arguments");if(R.scope.path.isProgram())return _Qf(D6("===",sQf("typeof",j()),V7("undefined")),R.scope.buildUndefinedNode(),j());else return j()});U.forEach((j)=>{let b=qf(A);b.loc=j.node.loc,j.replaceWith(b)})}if(Q.length>0){let A=KX(R,"newtarget",()=>mQf(qf("new"),qf("target")));Q.forEach((j)=>{let b=qf(A);b.loc=j.node.loc,j.replaceWith(b)})}if(Y.length>0){if(!X)throw Y[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.");Y.reduce((j,b)=>j.concat(Z7f(b)),[]).forEach((j)=>{let b=j.node.computed?"":j.get("property").node.name,I=j.parentPath,L=I.isAssignmentExpression({left:j.node}),w=I.isCallExpression({callee:j.node}),Xf=I.isTaggedTemplateExpression({tag:j.node}),p=M7f(R,L,b),Jf=[];if(j.node.computed)Jf.push(j.get("property").node);if(L){let bf=I.node.right;Jf.push(bf)}let Kf=N1(qf(p),Jf);if(w)I.unshiftContainer("arguments",MX()),j.replaceWith(QG(Kf,qf("call"))),H.push(I.get("arguments.0"));else if(L)I.replaceWith(Kf);else if(Xf)j.replaceWith(N1(QG(Kf,qf("bind"),!1),[MX()])),H.push(j.get("arguments.0"));else j.replaceWith(Kf)})}let C;if(H.length>0||!G){if(C=z7f(R,V),G||V&&Q7(R)){if(H.forEach((A)=>{let j=A.isJSX()?hQf(C):qf(C);j.loc=A.node.loc,A.replaceWith(j)}),!G)C=null}}return{thisBinding:C,fnPath:f}}function Q7f(f){return xQf.includes(f)}function Z7f(f){if(f.parentPath.isAssignmentExpression()&&f.parentPath.node.operator!=="="){let X=f.parentPath,J=X.node.operator.slice(0,-1),W=X.node.right,R=Q7f(J);if(f.node.computed){let V=f.scope.generateDeclaredUidIdentifier("tmp"),H=f.node.object,U=f.node.property;X.get("left").replaceWith(QG(H,H1("=",V,U),!0)),X.get("right").replaceWith(G(R?"=":J,QG(H,qf(V.name),!0),W))}else{let V=f.node.object,H=f.node.property;X.get("left").replaceWith(QG(V,H)),X.get("right").replaceWith(G(R?"=":J,QG(V,qf(H.name)),W))}if(R)X.replaceWith(yQf(J,X.node.left,X.node.right));else X.node.operator="=";return[X.get("left"),X.get("right").get("left")]}else if(f.parentPath.isUpdateExpression()){let X=f.parentPath,J=f.scope.generateDeclaredUidIdentifier("tmp"),W=f.node.computed?f.scope.generateDeclaredUidIdentifier("prop"):null,R=[H1("=",J,QG(f.node.object,W?H1("=",W,f.node.property):f.node.property,f.node.computed)),H1("=",QG(f.node.object,W?qf(W.name):f.node.property,f.node.computed),D6(f.parentPath.node.operator[0],qf(J.name),lQf(1)))];if(!f.parentPath.node.prefix)R.push(qf(J.name));X.replaceWith(rQf(R));let V=X.get("expressions.0.right"),H=X.get("expressions.1.left");return[V,H]}return[f];function G(X,J,W){if(X==="=")return H1("=",J,W);else return D6(X,J,W)}}function Q7(f){return f.isClassMethod()&&!!f.parentPath.parentPath.node.superClass}var Y7f=I6.environmentVisitor({CallExpression(f,{supers:G,thisBinding:X}){if(!f.get("callee").isSuper())return;if(G.has(f.node))return;G.add(f.node),f.replaceWithMultiple([f.node,H1("=",qf(X),qf("this"))])}});function z7f(f,G){return KX(f,"this",(X)=>{if(!G||!Q7(f))return MX();f.traverse(Y7f,{supers:new WeakSet,thisBinding:X})})}function B7f(f){return KX(f,"supercall",()=>{let G=f.scope.generateUidIdentifier("args");return N6([aQf(G)],N1(P6(),[pQf(qf(G.name))]))})}function M7f(f,G,X){return KX(f,`superprop_${G?"set":"get"}:${X||""}`,()=>{let W=[],R;if(X)R=QG(P6(),qf(X));else{let V=f.scope.generateUidIdentifier("prop");W.unshift(V),R=QG(P6(),qf(V.name),!0)}if(G){let V=f.scope.generateUidIdentifier("value");W.push(V),R=H1("=",R,qf(V.name))}return N6(W,R)})}function KX(f,G,X){let J="binding:"+G,W=f.getData(J);if(!W){let R=f.scope.generateUidIdentifier(G);W=R.name,f.setData(J,W),f.scope.push({id:R,init:X(W)})}return W}var K7f=I6.environmentVisitor({ThisExpression(f,{thisPaths:G}){G.push(f)},JSXIdentifier(f,{thisPaths:G}){if(f.node.name!=="this")return;if(!f.parentPath.isJSXMemberExpression({object:f.node})&&!f.parentPath.isJSXOpeningElement({name:f.node}))return;G.push(f)},CallExpression(f,{superCalls:G}){if(f.get("callee").isSuper())G.push(f)},MemberExpression(f,{superProps:G}){if(f.get("object").isSuper())G.push(f)},Identifier(f,{argumentsPaths:G}){if(!f.isReferencedIdentifier({name:"arguments"}))return;let X=f.scope;do{if(X.hasOwnBinding("arguments")){X.rename("arguments");return}if(X.path.isFunction()&&!X.path.isArrowFunctionExpression())break}while(X=X.parent);G.push(f)},MetaProperty(f,{newTargetPaths:G}){if(!f.get("meta").isIdentifier({name:"new"}))return;if(!f.get("property").isIdentifier({name:"target"}))return;G.push(f)}});function F7f(f){let G=[],X=[],J=[],W=[],R=[];return f.traverse(K7f,{thisPaths:G,argumentsPaths:X,newTargetPaths:J,superProps:W,superCalls:R}),{thisPaths:G,argumentsPaths:X,newTargetPaths:J,superProps:W,superCalls:R}}function S7f(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let f=this.get("declaration");if(this.isExportDefaultDeclaration()){let W=f.isFunctionDeclaration()||f.isClassDeclaration(),R=f.isFunctionExpression()||f.isClassExpression(),V=f.isScope()?f.scope.parent:f.scope,H=f.node.id,U=!1;if(!H){if(U=!0,H=V.generateUidIdentifier("default"),W||R)f.node.id=U1(H)}else if(R&&V.hasBinding(H.name))U=!0,H=V.generateUidIdentifier(H.name);let Q=W?f.node:f7f("var",[G7f(U1(H),f.node)]),Y=J7(null,[W7(U1(H),qf("default"))]);if(this.insertAfter(Y),this.replaceWith(Q),U)V.registerDeclaration(this);return this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let G=f.getOuterBindingIdentifiers(),X=Object.keys(G).map((W)=>{return W7(qf(W),qf(W))}),J=J7(null,X);return this.insertAfter(J),this.replaceWith(f.node),this}var $7f={"ReferencedIdentifier|BindingIdentifier"(f,G){if(f.node.name!==G.name)return;G.needsRename=!0,f.stop()},Scope(f,G){if(f.scope.hasOwnBinding(G.name))f.skip()}};function q7f(f){if(this.node.id)return this;let G=eQf(this.node,this.parent);if(G==null)return this;let{name:X}=G;if(!f&&/[\uD800-\uDFFF]/.test(X))return null;if(X.startsWith("get ")||X.startsWith("set "))return null;X=dQf(X.replace(/[/ ]/g,"_"));let J=qf(X);X7f(J,G.originalNode);let W={needsRename:!1,name:X},{scope:R}=this,V=R.getOwnBinding(X);if(V){if(V.kind==="param")W.needsRename=!0}else if(R.parent.hasBinding(X)||R.hasGlobal(X))this.traverse($7f,W);if(!W.needsRename)return this.node.id=J,R.getProgramParent().references[J.name]=!0,this;if(R.hasBinding(J.name)&&!R.hasGlobal(J.name))return R.rename(J.name),this.node.id=J,R.getProgramParent().references[J.name]=!0,this;if(!tQf(this.node))return null;let H=R.generateUidIdentifier(J.name),U=[];for(let Y=0,S=C7f(this.node);Y<S;Y++)U.push(R.generateUidIdentifier("x"));let Q=kQf.default.expression.ast`
43
+ ${G}`,J}}}});var X7=D((f7)=>{Object.defineProperty(f7,"__esModule",{value:!0});f7.statements=f7.statement=f7.smart=f7.program=f7.expression=f7.default=void 0;var zX=_Q(),BX=eQ(),O6=f7.smart=BX.default(zX.smart),OQf=f7.statement=BX.default(zX.statement),DQf=f7.statements=BX.default(zX.statements),IQf=f7.expression=BX.default(zX.expression),PQf=f7.program=BX.default(zX.program),ZSf=f7.default=Object.assign(O6.bind(void 0),{smart:O6,statement:OQf,statements:DQf,expression:IQf,program:PQf,ast:O6.ast})});var Y7=D((Z7)=>{Object.defineProperty(Z7,"__esModule",{value:!0});Z7.arrowFunctionToExpression=H7f;Z7.ensureBlock=W7f;Z7.ensureFunctionName=q7f;Z7.splitExportDeclaration=S7f;Z7.toComputedKey=J7f;Z7.unwrapFunctionEnvironment=R7f;var EQf=Hf(),kQf=X7(),P6=QX(),vQf=KG(),{arrowFunctionExpression:N6,assignmentExpression:H1,binaryExpression:D6,blockStatement:gQf,callExpression:N1,conditionalExpression:_Qf,expressionStatement:R7,identifier:qf,isIdentifier:uQf,jsxIdentifier:hQf,logicalExpression:yQf,LOGICAL_OPERATORS:xQf,memberExpression:QG,metaProperty:mQf,numericLiteral:lQf,objectExpression:cQf,restElement:aQf,returnStatement:iQf,sequenceExpression:rQf,spreadElement:pQf,stringLiteral:V7,super:I6,thisExpression:MX,toExpression:H7,unaryExpression:sQf,toBindingIdentifierName:dQf,isFunction:tQf,isAssignmentPattern:nQf,isRestElement:oQf,getFunctionName:eQf,cloneNode:U1,variableDeclaration:f7f,variableDeclarator:G7f,exportNamedDeclaration:J7,exportSpecifier:W7,inherits:X7f}=EQf;function J7f(){let f;if(this.isMemberExpression())f=this.node.property;else if(this.isProperty()||this.isMethod())f=this.node.key;else throw new ReferenceError("todo");if(!this.node.computed){if(uQf(f))f=V7(f.name)}return f}function W7f(){let f=this.get("body"),G=f.node;if(Array.isArray(f))throw new Error("Can't convert array path to a block statement");if(!G)throw new Error("Can't convert node without a body");if(f.isBlockStatement())return G;let X=[],J="body",W,R;if(f.isStatement())R="body",W=0,X.push(f.node);else if(J+=".body.0",this.isFunction())W="argument",X.push(iQf(f.node));else W="expression",X.push(R7(f.node));this.node.body=gQf(X);let V=this.get(J);return vQf.setup.call(f,V,R?V.node[R]:V.node,R,W),this.node}Z7.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};function R7f(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");U7(this)}function V7f(f,G){f.node.type=G}function H7f({allowInsertArrow:f=!0,allowInsertArrowWithRest:G=f,noNewArrows:X=!((J)=>(J=arguments[0])==null?void 0:J.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let J=this;if(!X){var W;J=(W=J.ensureFunctionName(!1))!=null?W:J}let{thisBinding:R,fnPath:V}=U7(J,X,f,G);if(V.ensureBlock(),V7f(V,"FunctionExpression"),!X){let H=R?null:V.scope.generateUidIdentifier("arrowCheckId");if(H)V.parentPath.scope.push({id:H,init:cQf([])});return V.get("body").unshiftContainer("body",R7(N1(this.hub.addHelper("newArrowCheck"),[MX(),H?qf(H.name):qf(R)]))),V.replaceWith(N1(QG(V.node,qf("bind")),[H?qf(H.name):MX()])),V.get("callee.object")}return V}var U7f=P6.environmentVisitor({CallExpression(f,{allSuperCalls:G}){if(!f.get("callee").isSuper())return;G.push(f)}});function U7(f,G=!0,X=!0,J=!0){let W,R=f.findParent((A)=>{if(A.isArrowFunctionExpression())return W!=null||(W=A),!1;return A.isFunction()||A.isProgram()||A.isClassProperty({static:!1})||A.isClassPrivateProperty({static:!1})}),V=R.isClassMethod({kind:"constructor"});if(R.isClassProperty()||R.isClassPrivateProperty())if(W)R=W;else if(X)f.replaceWith(N1(N6([],H7(f.node)),[])),R=f.get("callee"),f=R.get("body");else throw f.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:H,argumentsPaths:U,newTargetPaths:Q,superProps:Y,superCalls:S}=F7f(f);if(V&&S.length>0){if(!X)throw S[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(!J)throw S[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 A=[];R.traverse(U7f,{allSuperCalls:A});let O=B7f(R);A.forEach((b)=>{let P=qf(O);P.loc=b.node.callee.loc,b.get("callee").replaceWith(P)})}if(U.length>0){let A=KX(R,"arguments",()=>{let O=()=>qf("arguments");if(R.scope.path.isProgram())return _Qf(D6("===",sQf("typeof",O()),V7("undefined")),R.scope.buildUndefinedNode(),O());else return O()});U.forEach((O)=>{let b=qf(A);b.loc=O.node.loc,O.replaceWith(b)})}if(Q.length>0){let A=KX(R,"newtarget",()=>mQf(qf("new"),qf("target")));Q.forEach((O)=>{let b=qf(A);b.loc=O.node.loc,O.replaceWith(b)})}if(Y.length>0){if(!X)throw Y[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.");Y.reduce((O,b)=>O.concat(Z7f(b)),[]).forEach((O)=>{let b=O.node.computed?"":O.get("property").node.name,P=O.parentPath,L=P.isAssignmentExpression({left:O.node}),w=P.isCallExpression({callee:O.node}),Xf=P.isTaggedTemplateExpression({tag:O.node}),p=M7f(R,L,b),Jf=[];if(O.node.computed)Jf.push(O.get("property").node);if(L){let bf=P.node.right;Jf.push(bf)}let Kf=N1(qf(p),Jf);if(w)P.unshiftContainer("arguments",MX()),O.replaceWith(QG(Kf,qf("call"))),H.push(P.get("arguments.0"));else if(L)P.replaceWith(Kf);else if(Xf)O.replaceWith(N1(QG(Kf,qf("bind"),!1),[MX()])),H.push(O.get("arguments.0"));else O.replaceWith(Kf)})}let C;if(H.length>0||!G){if(C=z7f(R,V),G||V&&Q7(R)){if(H.forEach((A)=>{let O=A.isJSX()?hQf(C):qf(C);O.loc=A.node.loc,A.replaceWith(O)}),!G)C=null}}return{thisBinding:C,fnPath:f}}function Q7f(f){return xQf.includes(f)}function Z7f(f){if(f.parentPath.isAssignmentExpression()&&f.parentPath.node.operator!=="="){let X=f.parentPath,J=X.node.operator.slice(0,-1),W=X.node.right,R=Q7f(J);if(f.node.computed){let V=f.scope.generateDeclaredUidIdentifier("tmp"),H=f.node.object,U=f.node.property;X.get("left").replaceWith(QG(H,H1("=",V,U),!0)),X.get("right").replaceWith(G(R?"=":J,QG(H,qf(V.name),!0),W))}else{let V=f.node.object,H=f.node.property;X.get("left").replaceWith(QG(V,H)),X.get("right").replaceWith(G(R?"=":J,QG(V,qf(H.name)),W))}if(R)X.replaceWith(yQf(J,X.node.left,X.node.right));else X.node.operator="=";return[X.get("left"),X.get("right").get("left")]}else if(f.parentPath.isUpdateExpression()){let X=f.parentPath,J=f.scope.generateDeclaredUidIdentifier("tmp"),W=f.node.computed?f.scope.generateDeclaredUidIdentifier("prop"):null,R=[H1("=",J,QG(f.node.object,W?H1("=",W,f.node.property):f.node.property,f.node.computed)),H1("=",QG(f.node.object,W?qf(W.name):f.node.property,f.node.computed),D6(f.parentPath.node.operator[0],qf(J.name),lQf(1)))];if(!f.parentPath.node.prefix)R.push(qf(J.name));X.replaceWith(rQf(R));let V=X.get("expressions.0.right"),H=X.get("expressions.1.left");return[V,H]}return[f];function G(X,J,W){if(X==="=")return H1("=",J,W);else return D6(X,J,W)}}function Q7(f){return f.isClassMethod()&&!!f.parentPath.parentPath.node.superClass}var Y7f=P6.environmentVisitor({CallExpression(f,{supers:G,thisBinding:X}){if(!f.get("callee").isSuper())return;if(G.has(f.node))return;G.add(f.node),f.replaceWithMultiple([f.node,H1("=",qf(X),qf("this"))])}});function z7f(f,G){return KX(f,"this",(X)=>{if(!G||!Q7(f))return MX();f.traverse(Y7f,{supers:new WeakSet,thisBinding:X})})}function B7f(f){return KX(f,"supercall",()=>{let G=f.scope.generateUidIdentifier("args");return N6([aQf(G)],N1(I6(),[pQf(qf(G.name))]))})}function M7f(f,G,X){return KX(f,`superprop_${G?"set":"get"}:${X||""}`,()=>{let W=[],R;if(X)R=QG(I6(),qf(X));else{let V=f.scope.generateUidIdentifier("prop");W.unshift(V),R=QG(I6(),qf(V.name),!0)}if(G){let V=f.scope.generateUidIdentifier("value");W.push(V),R=H1("=",R,qf(V.name))}return N6(W,R)})}function KX(f,G,X){let J="binding:"+G,W=f.getData(J);if(!W){let R=f.scope.generateUidIdentifier(G);W=R.name,f.setData(J,W),f.scope.push({id:R,init:X(W)})}return W}var K7f=P6.environmentVisitor({ThisExpression(f,{thisPaths:G}){G.push(f)},JSXIdentifier(f,{thisPaths:G}){if(f.node.name!=="this")return;if(!f.parentPath.isJSXMemberExpression({object:f.node})&&!f.parentPath.isJSXOpeningElement({name:f.node}))return;G.push(f)},CallExpression(f,{superCalls:G}){if(f.get("callee").isSuper())G.push(f)},MemberExpression(f,{superProps:G}){if(f.get("object").isSuper())G.push(f)},Identifier(f,{argumentsPaths:G}){if(!f.isReferencedIdentifier({name:"arguments"}))return;let X=f.scope;do{if(X.hasOwnBinding("arguments")){X.rename("arguments");return}if(X.path.isFunction()&&!X.path.isArrowFunctionExpression())break}while(X=X.parent);G.push(f)},MetaProperty(f,{newTargetPaths:G}){if(!f.get("meta").isIdentifier({name:"new"}))return;if(!f.get("property").isIdentifier({name:"target"}))return;G.push(f)}});function F7f(f){let G=[],X=[],J=[],W=[],R=[];return f.traverse(K7f,{thisPaths:G,argumentsPaths:X,newTargetPaths:J,superProps:W,superCalls:R}),{thisPaths:G,argumentsPaths:X,newTargetPaths:J,superProps:W,superCalls:R}}function S7f(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let f=this.get("declaration");if(this.isExportDefaultDeclaration()){let W=f.isFunctionDeclaration()||f.isClassDeclaration(),R=f.isFunctionExpression()||f.isClassExpression(),V=f.isScope()?f.scope.parent:f.scope,H=f.node.id,U=!1;if(!H){if(U=!0,H=V.generateUidIdentifier("default"),W||R)f.node.id=U1(H)}else if(R&&V.hasBinding(H.name))U=!0,H=V.generateUidIdentifier(H.name);let Q=W?f.node:f7f("var",[G7f(U1(H),f.node)]),Y=J7(null,[W7(U1(H),qf("default"))]);if(this.insertAfter(Y),this.replaceWith(Q),U)V.registerDeclaration(this);return this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let G=f.getOuterBindingIdentifiers(),X=Object.keys(G).map((W)=>{return W7(qf(W),qf(W))}),J=J7(null,X);return this.insertAfter(J),this.replaceWith(f.node),this}var $7f={"ReferencedIdentifier|BindingIdentifier"(f,G){if(f.node.name!==G.name)return;G.needsRename=!0,f.stop()},Scope(f,G){if(f.scope.hasOwnBinding(G.name))f.skip()}};function q7f(f){if(this.node.id)return this;let G=eQf(this.node,this.parent);if(G==null)return this;let{name:X}=G;if(!f&&/[\uD800-\uDFFF]/.test(X))return null;if(X.startsWith("get ")||X.startsWith("set "))return null;X=dQf(X.replace(/[/ ]/g,"_"));let J=qf(X);X7f(J,G.originalNode);let W={needsRename:!1,name:X},{scope:R}=this,V=R.getOwnBinding(X);if(V){if(V.kind==="param")W.needsRename=!0}else if(R.parent.hasBinding(X)||R.hasGlobal(X))this.traverse($7f,W);if(!W.needsRename)return this.node.id=J,R.getProgramParent().references[J.name]=!0,this;if(R.hasBinding(J.name)&&!R.hasGlobal(J.name))return R.rename(J.name),this.node.id=J,R.getProgramParent().references[J.name]=!0,this;if(!tQf(this.node))return null;let H=R.generateUidIdentifier(J.name),U=[];for(let Y=0,S=C7f(this.node);Y<S;Y++)U.push(R.generateUidIdentifier("x"));let Q=kQf.default.expression.ast`
44
44
  (function (${H}) {
45
45
  function ${J}(${U}) {
46
46
  return ${U1(H)}.apply(this, arguments);
@@ -52,4 +52,4 @@ ${G}`,J}}}});var X7=D((f7)=>{Object.defineProperty(f7,"__esModule",{value:!0});f
52
52
 
53
53
  return ${U1(J)};
54
54
  })(${H7(this.node)})
55
- `;return this.replaceWith(Q)[0].get("arguments.0")}function C7f(f){let G=f.params.findIndex((X)=>nQf(X)||oQf(X));return G===-1?f.params.length:G}});var $7=D((S7)=>{Object.defineProperty(S7,"__esModule",{value:!0});S7._guessExecutionStatusRelativeTo=p7f;S7._resolve=F7;S7.canHaveVariableDeclarationOrExpression=y7f;S7.canSwapBetweenExpressionAndStatement=x7f;S7.getSource=a7f;S7.isCompletionRecord=m7f;S7.isConstantExpression=n7f;S7.isInStrictMode=o7f;S7.isNodeType=h7f;S7.isStatementOrBlock=l7f;S7.isStatic=u7f;S7.matchesPattern=_7f;S7.referencesImport=c7f;S7.resolve=t7f;S7.willIMaybeExecuteBefore=i7f;var N7f=Hf(),{STATEMENT_OR_BLOCK_KEYS:T7f,VISITOR_KEYS:L7f,isBlockStatement:K7,isExpression:b7f,isIdentifier:w7f,isLiteral:E7f,isStringLiteral:k7f,isType:v7f,matchesPattern:g7f}=N7f;function _7f(f,G){return g7f(this.node,f,G)}S7.has=function f(G){var X;let J=(X=this.node)==null?void 0:X[G];if(J&&Array.isArray(J))return!!J.length;else return!!J};function u7f(){return this.scope.isStatic(this.node)}S7.is=S7.has,S7.isnt=function f(G){return!this.has(G)},S7.equals=function f(G,X){return this.node[G]===X};function h7f(f){return v7f(this.type,f)}function y7f(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function x7f(f){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return K7(f);else if(this.isBlockStatement())return b7f(f);return!1}function m7f(f){let G=this,X=!0;do{let{type:J,container:W}=G;if(!X&&(G.isFunction()||J==="StaticBlock"))return!!f;if(X=!1,Array.isArray(W)&&G.key!==W.length-1)return!1}while((G=G.parentPath)&&!G.isProgram()&&!G.isDoExpression());return!0}function l7f(){if(this.parentPath.isLabeledStatement()||K7(this.container))return!1;else return T7f.includes(this.key)}function c7f(f,G){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===G||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?k7f(this.node.property,{value:G}):this.node.property.name===G)){let R=this.get("object");return R.isReferencedIdentifier()&&R.referencesImport(f,"*")}return!1}let X=this.scope.getBinding(this.node.name);if(!X||X.kind!=="module")return!1;let J=X.path,W=J.parentPath;if(!W.isImportDeclaration())return!1;if(W.node.source.value===f){if(!G)return!0}else return!1;if(J.isImportDefaultSpecifier()&&G==="default")return!0;if(J.isImportNamespaceSpecifier()&&G==="*")return!0;if(J.isImportSpecifier()&&w7f(J.node.imported,{name:G}))return!0;return!1}function a7f(){let f=this.node;if(f.end){let G=this.hub.getCode();if(G)return G.slice(f.start,f.end)}return""}function i7f(f){return this._guessExecutionStatusRelativeTo(f)!=="after"}function z7(f){return f.isProgram()?f:(f.parentPath.scope.getFunctionParent()||f.parentPath.scope.getProgramParent()).path}function r7f(f,G){switch(f){case"LogicalExpression":return G==="right";case"ConditionalExpression":case"IfStatement":return G==="consequent"||G==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return G==="body";case"ForStatement":return G==="body"||G==="update";case"SwitchStatement":return G==="cases";case"TryStatement":return G==="handler";case"AssignmentPattern":return G==="right";case"OptionalMemberExpression":return G==="property";case"OptionalCallExpression":return G==="arguments";default:return!1}}function B7(f,G){for(let X=0;X<G;X++){let J=f[X];if(r7f(J.parent.type,J.parentKey))return!0}return!1}var M7=Symbol();function p7f(f){return T6(this,f,new Map)}function T6(f,G,X){let J={this:z7(f),target:z7(G)};if(J.target.node!==J.this.node)return d7f(f,J.target,X);let W={target:G.getAncestry(),this:f.getAncestry()};if(W.target.includes(f))return"after";if(W.this.includes(G))return"before";let R,V={target:0,this:0};while(!R&&V.this<W.this.length){let Y=W.this[V.this];if(V.target=W.target.indexOf(Y),V.target>=0)R=Y;else V.this++}if(!R)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(B7(W.this,V.this-1)||B7(W.target,V.target-1))return"unknown";let H={this:W.this[V.this-1],target:W.target[V.target-1]};if(H.target.listKey&&H.this.listKey&&H.target.container===H.this.container)return H.target.key>H.this.key?"before":"after";let U=L7f[R.type],Q={this:U.indexOf(H.this.parentKey),target:U.indexOf(H.target.parentKey)};return Q.target>Q.this?"before":"after"}function s7f(f,G,X){if(!G.isFunctionDeclaration()){if(T6(f,G,X)==="before")return"before";return"unknown"}else if(G.parentPath.isExportDeclaration())return"unknown";let J=G.scope.getBinding(G.node.id.name);if(!J.references)return"before";let W=J.referencePaths,R;for(let V of W){if(!!V.find((Q)=>Q.node===G.node))continue;if(V.key!=="callee"||!V.parentPath.isCallExpression())return"unknown";let U=T6(f,V,X);if(R&&R!==U)return"unknown";else R=U}return R}function d7f(f,G,X){let J=X.get(f.node),W;if(!J)X.set(f.node,J=new Map);else if(W=J.get(G.node)){if(W===M7)return"unknown";return W}J.set(G.node,M7);let R=s7f(f,G,X);return J.set(G.node,R),R}function t7f(f,G){return F7.call(this,f,G)||this}function F7(f,G){var X;if((X=G)!=null&&X.includes(this))return;if(G=G||[],G.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(f,G)}else if(this.isReferencedIdentifier()){let J=this.scope.getBinding(this.node.name);if(!J)return;if(!J.constant)return;if(J.kind==="module")return;if(J.path!==this){let W=J.path.resolve(f,G);if(this.find((R)=>R.node===W.node))return;return W}}else if(this.isTypeCastExpression())return this.get("expression").resolve(f,G);else if(f&&this.isMemberExpression()){let J=this.toComputedKey();if(!E7f(J))return;let W=J.value,R=this.get("object").resolve(f,G);if(R.isObjectExpression()){let V=R.get("properties");for(let H of V){if(!H.isProperty())continue;let U=H.get("key"),Q=H.isnt("computed")&&U.isIdentifier({name:W});if(Q=Q||U.isLiteral({value:W}),Q)return H.get("value").resolve(f,G)}}else if(R.isArrayExpression()&&!isNaN(+W)){let H=R.get("elements")[W];if(H)return H.resolve(f,G)}}}function n7f(){if(this.isIdentifier()){let f=this.scope.getBinding(this.node.name);if(!f)return!1;return f.constant}if(this.isLiteral()){if(this.isRegExpLiteral())return!1;if(this.isTemplateLiteral())return this.get("expressions").every((f)=>f.isConstantExpression());return!0}if(this.isUnaryExpression()){if(this.node.operator!=="void")return!1;return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){let{operator:f}=this.node;return f!=="in"&&f!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}if(this.isMemberExpression())return!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0});if(this.isCallExpression())return this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral();return!1}function o7f(){return!!(this.isProgram()?this:this.parentPath).find((X)=>{if(X.isProgram({sourceType:"module"}))return!0;if(X.isClass())return!0;if(X.isArrowFunctionExpression()&&!X.get("body").isBlockStatement())return!1;let J;if(X.isFunction())J=X.node.body;else if(X.isProgram())J=X.node;else return!1;for(let W of J.directives)if(W.value.value==="use strict")return!0})}});var D7=D((O7)=>{Object.defineProperty(O7,"__esModule",{value:!0});O7._getKey=A7;O7._getPattern=j7;O7.get=w5f;O7.getAllNextSiblings=L5f;O7.getAllPrevSiblings=b5f;O7.getAssignmentIdentifiers=E5f;O7.getBindingIdentifierPaths=g5f;O7.getBindingIdentifiers=k5f;O7.getCompletionRecords=P5f;O7.getNextSibling=T5f;O7.getOpposite=j5f;O7.getOuterBindingIdentifierPaths=_5f;O7.getOuterBindingIdentifiers=v5f;O7.getPrevSibling=N5f;O7.getSibling=I5f;var b6=lG(),K5f=Hf(),{getAssignmentIdentifiers:F5f,getBindingIdentifiers:C7,getOuterBindingIdentifiers:S5f,numericLiteral:$5f,unaryExpression:q5f}=K5f,w6=0,FX=1;function C5f(f){return{type:w6,path:f}}function A5f(f){return{type:FX,path:f}}function j5f(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function T1(f,G,X){if(f)G.push(...L1(f,X));return G}function O5f(f,G,X){let J=[];for(let W=0;W<f.length;W++){let R=f[W],V=L1(R,X),H=[],U=[];for(let Q of V){if(Q.type===w6)H.push(Q);if(Q.type===FX)U.push(Q)}if(H.length)J=H;G.push(...U)}return G.push(...J),G}function D5f(f){f.forEach((G)=>{G.type=FX})}function L6(f,G){f.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(G)X.path.replaceWith(q5f("void",$5f(0)));else X.path.remove()})}function q7(f,G){let X=[];if(G.canHaveBreak){let J=[];for(let W=0;W<f.length;W++){let R=f[W],V=Object.assign({},G,{inCaseClause:!1});if(R.isBlockStatement()&&(G.inCaseClause||G.shouldPopulateBreak))V.shouldPopulateBreak=!0;else V.shouldPopulateBreak=!1;let H=L1(R,V);if(H.length>0&&H.every((U)=>U.type===FX)){if(J.length>0&&H.every((U)=>U.path.isBreakStatement({label:null}))){if(D5f(J),X.push(...J),J.some((U)=>U.path.isDeclaration()))X.push(...H),L6(H,!0);L6(H,!1)}else if(X.push(...H),!G.shouldPopulateBreak)L6(H,!0);break}if(W===f.length-1)X.push(...H);else{J=[];for(let U=0;U<H.length;U++){let Q=H[U];if(Q.type===FX)X.push(Q);if(Q.type===w6)J.push(Q)}}}}else if(f.length)for(let J=f.length-1;J>=0;J--){let W=L1(f[J],G);if(W.length>1||W.length===1&&!W[0].path.isVariableDeclaration()){X.push(...W);break}}return X}function L1(f,G){let X=[];if(f.isIfStatement())X=T1(f.get("consequent"),X,G),X=T1(f.get("alternate"),X,G);else if(f.isDoExpression()||f.isFor()||f.isWhile()||f.isLabeledStatement())return T1(f.get("body"),X,G);else if(f.isProgram()||f.isBlockStatement())return q7(f.get("body"),G);else if(f.isFunction())return L1(f.get("body"),G);else if(f.isTryStatement())X=T1(f.get("block"),X,G),X=T1(f.get("handler"),X,G);else if(f.isCatchClause())return T1(f.get("body"),X,G);else if(f.isSwitchStatement())return O5f(f.get("cases"),X,G);else if(f.isSwitchCase())return q7(f.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(f.isBreakStatement())X.push(A5f(f));else X.push(C5f(f));return X}function P5f(){return L1(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((G)=>G.path)}function I5f(f){return b6.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:f}).setContext(this.context)}function N5f(){return this.getSibling(this.key-1)}function T5f(){return this.getSibling(this.key+1)}function L5f(){let f=this.key,G=this.getSibling(++f),X=[];while(G.node)X.push(G),G=this.getSibling(++f);return X}function b5f(){let f=this.key,G=this.getSibling(--f),X=[];while(G.node)X.push(G),G=this.getSibling(--f);return X}function w5f(f,G=!0){if(G===!0)G=this.context;let X=f.split(".");if(X.length===1)return A7.call(this,f,G);else return j7.call(this,X,G)}function A7(f,G){let X=this.node,J=X[f];if(Array.isArray(J))return J.map((W,R)=>{return b6.default.get({listKey:f,parentPath:this,parent:X,container:J,key:R}).setContext(G)});else return b6.default.get({parentPath:this,parent:X,container:X,key:f}).setContext(G)}function j7(f,G){let X=this;for(let J of f)if(J===".")X=X.parentPath;else if(Array.isArray(X))X=X[J];else X=X.get(J,G);return X}function E5f(){return F5f(this.node)}function k5f(f){return C7(this.node,f)}function v5f(f){return S5f(this.node,f)}function g5f(f=!1,G=!1){let J=[this],W=Object.create(null);while(J.length){let R=J.shift();if(!R)continue;if(!R.node)continue;let V=C7.keys[R.node.type];if(R.isIdentifier()){if(f)(W[R.node.name]=W[R.node.name]||[]).push(R);else W[R.node.name]=R;continue}if(R.isExportDeclaration()){let H=R.get("declaration");if(H.isDeclaration())J.push(H);continue}if(G){if(R.isFunctionDeclaration()){J.push(R.get("id"));continue}if(R.isFunctionExpression())continue}if(V)for(let H=0;H<V.length;H++){let U=V[H],Q=R.get(U);if(Array.isArray(Q))J.push(...Q);else if(Q.node)J.push(Q)}}return W}function _5f(f=!1){return this.getBindingIdentifierPaths(f,!0)}});var N7=D((I7)=>{Object.defineProperty(I7,"__esModule",{value:!0});I7.addComment=XZf;I7.addComments=JZf;I7.shareCommentsWithSiblings=GZf;var o5f=Hf(),{addComment:e5f,addComments:fZf}=o5f;function GZf(){if(typeof this.key==="string")return;let f=this.node;if(!f)return;let{trailingComments:G,leadingComments:X}=f;if(!G&&!X)return;let J=this.getSibling(this.key-1),W=this.getSibling(this.key+1),R=Boolean(J.node),V=Boolean(W.node);if(R){if(X)J.addComments("trailing",P7(X,J.node.trailingComments));if(G&&!V)J.addComments("trailing",G)}if(V){if(G)W.addComments("leading",P7(G,W.node.leadingComments));if(X&&!R)W.addComments("leading",X)}}function P7(f,G){if(!(G!=null&&G.length))return f;let X=new Set(G);return f.filter((J)=>{return!X.has(J)})}function XZf(f,G,X){e5f(this.node,f,G,X)}function JZf(f,G){fZf(this.node,f,G)}});var lG=D((E7)=>{Object.defineProperty(E7,"__esModule",{value:!0});E7.default=E7.SHOULD_STOP=E7.SHOULD_SKIP=E7.REMOVED=void 0;var HZf=hW(),UZf=C4(),QZf=ZX(),ZZf=tW(),b7=Hf(),E2=b7,YZf=X1(),zZf=KW(),SG=MU(),b1=uU(),w1=H6(),T7=kQ(),Q1=Y7(),Lf=$7(),w7=KG(),Tf=w7,E1=P2(),$G=I2(),lf=D7(),E6=N7(),BZf=aW(),{validate:MZf}=b7,L7=UZf("babel"),CSf=E7.REMOVED=1,ASf=E7.SHOULD_STOP=2,jSf=E7.SHOULD_SKIP=4,bG=E7.default=class f{constructor(G,X){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=X,this.hub=G,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(G){if(G)this._traverseFlags|=1;else this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(G){if(G)this._traverseFlags|=2;else this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(G){if(G)this._traverseFlags|=4;else this._traverseFlags&=-5}static get({hub:G,parentPath:X,parent:J,container:W,listKey:R,key:V}){if(!G&&X)G=X.hub;if(!J)throw new Error("To get a node path the parent needs to exist");let H=W[V],U=YZf.getOrCreateCachedPaths(G,J),Q=U.get(H);if(!Q){if(Q=new f(G,J),H)U.set(H,Q)}return w7.setup.call(Q,X,W,R,V),Q}getScope(G){return this.isScope()?new ZZf.default(this):G}setData(G,X){if(this.data==null)this.data=Object.create(null);return this.data[G]=X}getData(G,X){if(this.data==null)this.data=Object.create(null);let J=this.data[G];if(J===void 0&&X!==void 0)J=this.data[G]=X;return J}hasNode(){return this.node!=null}buildCodeFrameError(G,X=SyntaxError){return this.hub.buildError(this.node,G,X)}traverse(G,X){QZf.default(this.node,G,this.scope,X,this)}set(G,X){MZf(this.node,G,X),this.node[G]=X}getPathLocation(){let G=[],X=this;do{let J=X.key;if(X.inList)J=`${X.listKey}[${J}]`;G.unshift(J)}while(X=X.parentPath);return G.join(".")}debug(G){if(!L7.enabled)return;L7(`${this.getPathLocation()} ${this.type}: ${G}`)}toString(){return zZf.default(this.node).code}get inList(){return!!this.listKey}set inList(G){if(!G)this.listKey=null}get parentKey(){return this.listKey||this.key}},KZf={findParent:SG.findParent,find:SG.find,getFunctionParent:SG.getFunctionParent,getStatementParent:SG.getStatementParent,getEarliestCommonAncestorFrom:SG.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:SG.getDeepestCommonAncestorFrom,getAncestry:SG.getAncestry,isAncestor:SG.isAncestor,isDescendant:SG.isDescendant,inType:SG.inType,getTypeAnnotation:b1.getTypeAnnotation,isBaseType:b1.isBaseType,couldBeBaseType:b1.couldBeBaseType,baseTypeStrictlyMatches:b1.baseTypeStrictlyMatches,isGenericType:b1.isGenericType,replaceWithMultiple:w1.replaceWithMultiple,replaceWithSourceString:w1.replaceWithSourceString,replaceWith:w1.replaceWith,replaceExpressionWithStatements:w1.replaceExpressionWithStatements,replaceInline:w1.replaceInline,evaluateTruthy:T7.evaluateTruthy,evaluate:T7.evaluate,toComputedKey:Q1.toComputedKey,ensureBlock:Q1.ensureBlock,unwrapFunctionEnvironment:Q1.unwrapFunctionEnvironment,arrowFunctionToExpression:Q1.arrowFunctionToExpression,splitExportDeclaration:Q1.splitExportDeclaration,ensureFunctionName:Q1.ensureFunctionName,matchesPattern:Lf.matchesPattern,isStatic:Lf.isStatic,isNodeType:Lf.isNodeType,canHaveVariableDeclarationOrExpression:Lf.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:Lf.canSwapBetweenExpressionAndStatement,isCompletionRecord:Lf.isCompletionRecord,isStatementOrBlock:Lf.isStatementOrBlock,referencesImport:Lf.referencesImport,getSource:Lf.getSource,willIMaybeExecuteBefore:Lf.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:Lf._guessExecutionStatusRelativeTo,resolve:Lf.resolve,isConstantExpression:Lf.isConstantExpression,isInStrictMode:Lf.isInStrictMode,isDenylisted:Tf.isDenylisted,visit:Tf.visit,skip:Tf.skip,skipKey:Tf.skipKey,stop:Tf.stop,setContext:Tf.setContext,requeue:Tf.requeue,requeueComputedKeyAndDecorators:Tf.requeueComputedKeyAndDecorators,remove:E1.remove,insertBefore:$G.insertBefore,insertAfter:$G.insertAfter,unshiftContainer:$G.unshiftContainer,pushContainer:$G.pushContainer,getOpposite:lf.getOpposite,getCompletionRecords:lf.getCompletionRecords,getSibling:lf.getSibling,getPrevSibling:lf.getPrevSibling,getNextSibling:lf.getNextSibling,getAllNextSiblings:lf.getAllNextSiblings,getAllPrevSiblings:lf.getAllPrevSiblings,get:lf.get,getAssignmentIdentifiers:lf.getAssignmentIdentifiers,getBindingIdentifiers:lf.getBindingIdentifiers,getOuterBindingIdentifiers:lf.getOuterBindingIdentifiers,getBindingIdentifierPaths:lf.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:lf.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:E6.shareCommentsWithSiblings,addComment:E6.addComment,addComments:E6.addComments};Object.assign(bG.prototype,KZf);bG.prototype.arrowFunctionToShadowed=Q1[String("arrowFunctionToShadowed")],Object.assign(bG.prototype,{has:Lf[String("has")],is:Lf[String("is")],isnt:Lf[String("isnt")],equals:Lf[String("equals")],hoist:$G[String("hoist")],updateSiblingKeys:$G.updateSiblingKeys,call:Tf.call,isBlacklisted:Tf[String("isBlacklisted")],setScope:Tf.setScope,resync:Tf.resync,popContext:Tf.popContext,pushContext:Tf.pushContext,setup:Tf.setup,setKey:Tf.setKey});bG.prototype._guessExecutionStatusRelativeToDifferentFunctions=Lf._guessExecutionStatusRelativeTo,bG.prototype._guessExecutionStatusRelativeToDifferentFunctions=Lf._guessExecutionStatusRelativeTo,Object.assign(bG.prototype,{_getTypeAnnotation:b1._getTypeAnnotation,_replaceWith:w1._replaceWith,_resolve:Lf._resolve,_call:Tf._call,_resyncParent:Tf._resyncParent,_resyncKey:Tf._resyncKey,_resyncList:Tf._resyncList,_resyncRemoved:Tf._resyncRemoved,_getQueueContexts:Tf._getQueueContexts,_removeFromScope:E1._removeFromScope,_callRemovalHooks:E1._callRemovalHooks,_remove:E1._remove,_markRemoved:E1._markRemoved,_assertUnremoved:E1._assertUnremoved,_containerInsert:$G._containerInsert,_containerInsertBefore:$G._containerInsertBefore,_containerInsertAfter:$G._containerInsertAfter,_verifyNodeList:$G._verifyNodeList,_getKey:lf._getKey,_getPattern:lf._getPattern});for(let f of E2.TYPES){let G=`is${f}`,X=E2[G];bG.prototype[G]=function(J){return X(this.node,J)},bG.prototype[`assert${f}`]=function(J){if(!X(this.node,J))throw new TypeError(`Expected node path of type ${f}`)}}Object.assign(bG.prototype,BZf);for(let f of Object.keys(HZf)){if(f[0]==="_")continue;if(!E2.TYPES.includes(f))E2.TYPES.push(f)}});var u7=D((g7)=>{Object.defineProperty(g7,"__esModule",{value:!0});g7.default=void 0;var qZf=lG(),CZf=Hf(),k6=KG(),{VISITOR_KEYS:AZf}=CZf;class v7{constructor(f,G,X,J){this.queue=null,this.priorityQueue=null,this.parentPath=J,this.scope=f,this.state=X,this.opts=G}shouldVisit(f){let G=this.opts;if(G.enter||G.exit)return!0;if(G[f.type])return!0;let X=AZf[f.type];if(!(X!=null&&X.length))return!1;for(let J of X)if(f[J])return!0;return!1}create(f,G,X,J){return qZf.default.get({parentPath:this.parentPath,parent:f,container:G,key:X,listKey:J})}maybeQueue(f,G){if(this.queue)if(G)this.queue.push(f);else this.priorityQueue.push(f)}visitMultiple(f,G,X){if(f.length===0)return!1;let J=[];for(let W=0;W<f.length;W++){let R=f[W];if(R&&this.shouldVisit(R))J.push(this.create(G,f,W,X))}return this.visitQueue(J)}visitSingle(f,G){if(this.shouldVisit(f[G]))return this.visitQueue([this.create(f,f,G)]);else return!1}visitQueue(f){this.queue=f,this.priorityQueue=[];let G=new WeakSet,X=!1,J=0;for(;J<f.length;){let W=f[J];if(J++,k6.resync.call(W),W.contexts.length===0||W.contexts[W.contexts.length-1]!==this)k6.pushContext.call(W,this);if(W.key===null)continue;let{node:R}=W;if(G.has(R))continue;if(R)G.add(R);if(W.visit()){X=!0;break}if(this.priorityQueue.length){if(X=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=f,X)break}}for(let W=0;W<J;W++)k6.popContext.call(f[W]);return this.queue=null,X}visit(f,G){let X=f[G];if(!X)return!1;if(Array.isArray(X))return this.visitMultiple(X,f,G);else return this.visitSingle(f,G)}}g7.default=v7});var S2=D((h7)=>{Object.defineProperty(h7,"__esModule",{value:!0});h7.traverseNode=PZf;var jZf=u7(),OZf=Hf(),{VISITOR_KEYS:DZf}=OZf;function PZf(f,G,X,J,W,R,V){let H=DZf[f.type];if(!H)return!1;let U=new jZf.default(X,G,J,W);if(V){if(R!=null&&R[W.parentKey])return!1;return U.visitQueue([W])}for(let Q of H){if(R!=null&&R[Q])continue;if(U.visit(f,Q))return!0}return!1}});var KG=D((r7)=>{Object.defineProperty(r7,"__esModule",{value:!0});r7._call=g6;r7._getQueueContexts=lZf;r7._resyncKey=a7;r7._resyncList=i7;r7._resyncParent=c7;r7._resyncRemoved=_Zf;r7.call=v6;r7.isDenylisted=m7;r7.popContext=uZf;r7.pushContext=hZf;r7.requeue=xZf;r7.requeueComputedKeyAndDecorators=mZf;r7.resync=gZf;r7.setContext=vZf;r7.setKey=k2;r7.setScope=l7;r7.setup=yZf;r7.skip=wZf;r7.skipKey=EZf;r7.stop=kZf;r7.visit=bZf;var NZf=S2(),y7=lG(),TZf=P2(),LZf=Hf();function v6(f){let G=this.opts;if(this.debug(f),this.node){if(g6.call(this,G[f]))return!0}if(this.node){var X;return g6.call(this,(X=G[this.node.type])==null?void 0:X[f])}return!1}function g6(f){if(!f)return!1;for(let G of f){if(!G)continue;let X=this.node;if(!X)return!0;let J=G.call(this.state,this,this.state);if(J&&typeof J==="object"&&typeof J.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(J)throw new Error(`Unexpected return value from visitor method ${G}`);if(this.node!==X)return!0;if(this._traverseFlags>0)return!0}return!1}function m7(){var f;let G=(f=this.opts.denylist)!=null?f:this.opts.blacklist;return G==null?void 0:G.includes(this.node.type)}r7.isBlacklisted=m7;function x7(f,G){if(f.context!==G)f.context=G,f.state=G.state,f.opts=G.opts}function bZf(){var f,G;if(!this.node)return!1;if(this.isDenylisted())return!1;if((f=(G=this.opts).shouldSkip)!=null&&f.call(G,this))return!1;let X=this.context;if(this.shouldSkip||v6.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return x7(this,X),this.debug("Recursing into..."),this.shouldStop=NZf.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),x7(this,X),v6.call(this,"exit"),this.shouldStop}function wZf(){this.shouldSkip=!0}function EZf(f){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[f]=!0}function kZf(){this._traverseFlags|=y7.SHOULD_SKIP|y7.SHOULD_STOP}function l7(){var f,G;if((f=this.opts)!=null&&f.noScope)return;let X=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&X.isMethod()||this.key==="discriminant"&&X.isSwitchStatement())X=X.parentPath;let J;while(X&&!J){var W;if((W=X.opts)!=null&&W.noScope)return;J=X.scope,X=X.parentPath}this.scope=this.getScope(J),(G=this.scope)==null||G.init()}function vZf(f){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,f)this.context=f,this.state=f.state,this.opts=f.opts;return l7.call(this),this}function gZf(){if(this.removed)return;c7.call(this),i7.call(this),a7.call(this)}function c7(){if(this.parentPath)this.parent=this.parentPath.node}function a7(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let f=0;f<this.container.length;f++)if(this.container[f]===this.node){k2.call(this,f);return}}else for(let f of Object.keys(this.container))if(this.container[f]===this.node){k2.call(this,f);return}this.key=null}function i7(){if(!this.parent||!this.inList)return;let f=this.parent[this.listKey];if(this.container===f)return;this.container=f||null}function _Zf(){if(this.key==null||!this.container||this.container[this.key]!==this.node)TZf._markRemoved.call(this)}function uZf(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function hZf(f){this.contexts.push(f),this.setContext(f)}function yZf(f,G,X,J){this.listKey=X,this.container=G,this.parentPath=f||this.parentPath,k2.call(this,J)}function k2(f){var G;this.key=f,this.node=this.container[this.key],this.type=(G=this.node)==null?void 0:G.type}function xZf(f=this){if(f.removed)return;let G=this.contexts;for(let X of G)X.maybeQueue(f)}function mZf(){let{context:f,node:G}=this;if(!LZf.isPrivate(G)&&G.computed)f.maybeQueue(this.get("key"));if(G.decorators)for(let X of this.get("decorators"))f.maybeQueue(X)}function lZf(){let f=this,G=this.contexts;while(!G.length){if(f=f.parentPath,!f)break;G=f.contexts}return G}});var t7=D((s7)=>{Object.defineProperty(s7,"__esModule",{value:!0});s7.default=void 0;class p7{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(f,G,X=TypeError){return new X(G)}}s7.default=p7});var ZX=D(($X)=>{Object.defineProperty($X,"__esModule",{value:!0});Object.defineProperty($X,"Hub",{enumerable:!0,get:function(){return MYf.default}});Object.defineProperty($X,"NodePath",{enumerable:!0,get:function(){return zYf.default}});Object.defineProperty($X,"Scope",{enumerable:!0,get:function(){return BYf.default}});$X.visitors=$X.default=void 0;KG();var SX=QX();$X.visitors=SX;var ZYf=Hf(),YYf=X1(),n7=S2(),zYf=lG(),BYf=tW(),MYf=t7(),{VISITOR_KEYS:KYf,removeProperties:FYf,traverseFast:o7}=ZYf;function WG(f,G={},X,J,W,R){if(!f)return;if(!G.noScope&&!X){if(f.type!=="Program"&&f.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 ${f.type} node without passing scope and parentPath.`)}if(!W&&R)throw new Error("visitSelf can only be used when providing a NodePath.");if(!KYf[f.type])return;SX.explode(G),n7.traverseNode(f,G,X,J,W,null,R)}var LSf=$X.default=WG;WG.visitors=SX;WG.verify=SX.verify;WG.explode=SX.explode;WG.cheap=function(f,G){o7(f,G);return};WG.node=function(f,G,X,J,W,R){n7.traverseNode(f,G,X,J,W,R)};WG.clearNode=function(f,G){FYf(f,G)};WG.removeProperties=function(f,G){return o7(f,WG.clearNode,G),f};function SYf(f,G){if(f.node.type===G.type)G.has=!0,f.stop()}WG.hasType=function(f,G,X){if(X!=null&&X.includes(f.type))return!1;if(f.type===G)return!0;let J={has:!1,type:G};return WG(f,{noScope:!0,denylist:X,enter:SYf},null,J),J.has};WG.cache=YYf});import jYf from"process";import{bold as _6,dim as u6,green as OYf,italic as f5,log as DYf}from"@stacksjs/cli";import{path as v2}from"@stacksjs/path";import{fs as PYf,glob as IYf}from"@stacksjs/storage";var qYf=y2(KW(),1),CYf=y2(Q2(),1),AYf=y2(ZX(),1);async function _Sf(f){let X=Date.now()-f.startTime,J=f.pkgName??`@stacksjs/${v2.basename(f.dir)}`;if(!f.result.success)console.log(f.result.logs[0]),jYf.exit(1);let W=await IYf([v2.resolve(f.dir,"dist","**/*")],{absolute:!0});for(let R of W){let V=await PYf.stat(R),H;if(V.size<1048576)H=`${(V.size/1024).toFixed(2)}kb`;else H=`${(V.size/1024/1024).toFixed(2)}mb`;let U=v2.relative(f.dir,R).replace("dist/","");console.log(`${_6(u6(`[${H}]`))} ${u6("dist/")}${U}`)}console.log(`${_6(u6(`[${X}ms]`))} Built ${f5(_6(OYf(J)))}`)}async function uSf(f){let G=f.pkgName??`@stacksjs/${v2.basename(f.dir)}`;if(f.styled===!1)console.log(`Building ${G}...`);else DYf.info(`Building ${f5(G)}...`);return{startTime:Date.now()}}var export_traverse=AYf.default;var export_parser=CYf.default;var export_generator=qYf.default;export{export_traverse as traverse,export_parser as parser,_Sf as outro,uSf as intro,export_generator as generator};
55
+ `;return this.replaceWith(Q)[0].get("arguments.0")}function C7f(f){let G=f.params.findIndex((X)=>nQf(X)||oQf(X));return G===-1?f.params.length:G}});var $7=D((S7)=>{Object.defineProperty(S7,"__esModule",{value:!0});S7._guessExecutionStatusRelativeTo=p7f;S7._resolve=F7;S7.canHaveVariableDeclarationOrExpression=y7f;S7.canSwapBetweenExpressionAndStatement=x7f;S7.getSource=a7f;S7.isCompletionRecord=m7f;S7.isConstantExpression=n7f;S7.isInStrictMode=o7f;S7.isNodeType=h7f;S7.isStatementOrBlock=l7f;S7.isStatic=u7f;S7.matchesPattern=_7f;S7.referencesImport=c7f;S7.resolve=t7f;S7.willIMaybeExecuteBefore=i7f;var N7f=Hf(),{STATEMENT_OR_BLOCK_KEYS:T7f,VISITOR_KEYS:L7f,isBlockStatement:K7,isExpression:b7f,isIdentifier:w7f,isLiteral:E7f,isStringLiteral:k7f,isType:v7f,matchesPattern:g7f}=N7f;function _7f(f,G){return g7f(this.node,f,G)}S7.has=function f(G){var X;let J=(X=this.node)==null?void 0:X[G];if(J&&Array.isArray(J))return!!J.length;else return!!J};function u7f(){return this.scope.isStatic(this.node)}S7.is=S7.has,S7.isnt=function f(G){return!this.has(G)},S7.equals=function f(G,X){return this.node[G]===X};function h7f(f){return v7f(this.type,f)}function y7f(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function x7f(f){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return K7(f);else if(this.isBlockStatement())return b7f(f);return!1}function m7f(f){let G=this,X=!0;do{let{type:J,container:W}=G;if(!X&&(G.isFunction()||J==="StaticBlock"))return!!f;if(X=!1,Array.isArray(W)&&G.key!==W.length-1)return!1}while((G=G.parentPath)&&!G.isProgram()&&!G.isDoExpression());return!0}function l7f(){if(this.parentPath.isLabeledStatement()||K7(this.container))return!1;else return T7f.includes(this.key)}function c7f(f,G){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===G||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?k7f(this.node.property,{value:G}):this.node.property.name===G)){let R=this.get("object");return R.isReferencedIdentifier()&&R.referencesImport(f,"*")}return!1}let X=this.scope.getBinding(this.node.name);if(!X||X.kind!=="module")return!1;let J=X.path,W=J.parentPath;if(!W.isImportDeclaration())return!1;if(W.node.source.value===f){if(!G)return!0}else return!1;if(J.isImportDefaultSpecifier()&&G==="default")return!0;if(J.isImportNamespaceSpecifier()&&G==="*")return!0;if(J.isImportSpecifier()&&w7f(J.node.imported,{name:G}))return!0;return!1}function a7f(){let f=this.node;if(f.end){let G=this.hub.getCode();if(G)return G.slice(f.start,f.end)}return""}function i7f(f){return this._guessExecutionStatusRelativeTo(f)!=="after"}function z7(f){return f.isProgram()?f:(f.parentPath.scope.getFunctionParent()||f.parentPath.scope.getProgramParent()).path}function r7f(f,G){switch(f){case"LogicalExpression":return G==="right";case"ConditionalExpression":case"IfStatement":return G==="consequent"||G==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return G==="body";case"ForStatement":return G==="body"||G==="update";case"SwitchStatement":return G==="cases";case"TryStatement":return G==="handler";case"AssignmentPattern":return G==="right";case"OptionalMemberExpression":return G==="property";case"OptionalCallExpression":return G==="arguments";default:return!1}}function B7(f,G){for(let X=0;X<G;X++){let J=f[X];if(r7f(J.parent.type,J.parentKey))return!0}return!1}var M7=Symbol();function p7f(f){return T6(this,f,new Map)}function T6(f,G,X){let J={this:z7(f),target:z7(G)};if(J.target.node!==J.this.node)return d7f(f,J.target,X);let W={target:G.getAncestry(),this:f.getAncestry()};if(W.target.includes(f))return"after";if(W.this.includes(G))return"before";let R,V={target:0,this:0};while(!R&&V.this<W.this.length){let Y=W.this[V.this];if(V.target=W.target.indexOf(Y),V.target>=0)R=Y;else V.this++}if(!R)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(B7(W.this,V.this-1)||B7(W.target,V.target-1))return"unknown";let H={this:W.this[V.this-1],target:W.target[V.target-1]};if(H.target.listKey&&H.this.listKey&&H.target.container===H.this.container)return H.target.key>H.this.key?"before":"after";let U=L7f[R.type],Q={this:U.indexOf(H.this.parentKey),target:U.indexOf(H.target.parentKey)};return Q.target>Q.this?"before":"after"}function s7f(f,G,X){if(!G.isFunctionDeclaration()){if(T6(f,G,X)==="before")return"before";return"unknown"}else if(G.parentPath.isExportDeclaration())return"unknown";let J=G.scope.getBinding(G.node.id.name);if(!J.references)return"before";let W=J.referencePaths,R;for(let V of W){if(!!V.find((Q)=>Q.node===G.node))continue;if(V.key!=="callee"||!V.parentPath.isCallExpression())return"unknown";let U=T6(f,V,X);if(R&&R!==U)return"unknown";else R=U}return R}function d7f(f,G,X){let J=X.get(f.node),W;if(!J)X.set(f.node,J=new Map);else if(W=J.get(G.node)){if(W===M7)return"unknown";return W}J.set(G.node,M7);let R=s7f(f,G,X);return J.set(G.node,R),R}function t7f(f,G){return F7.call(this,f,G)||this}function F7(f,G){var X;if((X=G)!=null&&X.includes(this))return;if(G=G||[],G.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(f,G)}else if(this.isReferencedIdentifier()){let J=this.scope.getBinding(this.node.name);if(!J)return;if(!J.constant)return;if(J.kind==="module")return;if(J.path!==this){let W=J.path.resolve(f,G);if(this.find((R)=>R.node===W.node))return;return W}}else if(this.isTypeCastExpression())return this.get("expression").resolve(f,G);else if(f&&this.isMemberExpression()){let J=this.toComputedKey();if(!E7f(J))return;let W=J.value,R=this.get("object").resolve(f,G);if(R.isObjectExpression()){let V=R.get("properties");for(let H of V){if(!H.isProperty())continue;let U=H.get("key"),Q=H.isnt("computed")&&U.isIdentifier({name:W});if(Q=Q||U.isLiteral({value:W}),Q)return H.get("value").resolve(f,G)}}else if(R.isArrayExpression()&&!isNaN(+W)){let H=R.get("elements")[W];if(H)return H.resolve(f,G)}}}function n7f(){if(this.isIdentifier()){let f=this.scope.getBinding(this.node.name);if(!f)return!1;return f.constant}if(this.isLiteral()){if(this.isRegExpLiteral())return!1;if(this.isTemplateLiteral())return this.get("expressions").every((f)=>f.isConstantExpression());return!0}if(this.isUnaryExpression()){if(this.node.operator!=="void")return!1;return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){let{operator:f}=this.node;return f!=="in"&&f!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}if(this.isMemberExpression())return!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0});if(this.isCallExpression())return this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral();return!1}function o7f(){return!!(this.isProgram()?this:this.parentPath).find((X)=>{if(X.isProgram({sourceType:"module"}))return!0;if(X.isClass())return!0;if(X.isArrowFunctionExpression()&&!X.get("body").isBlockStatement())return!1;let J;if(X.isFunction())J=X.node.body;else if(X.isProgram())J=X.node;else return!1;for(let W of J.directives)if(W.value.value==="use strict")return!0})}});var D7=D((O7)=>{Object.defineProperty(O7,"__esModule",{value:!0});O7._getKey=A7;O7._getPattern=j7;O7.get=w5f;O7.getAllNextSiblings=L5f;O7.getAllPrevSiblings=b5f;O7.getAssignmentIdentifiers=E5f;O7.getBindingIdentifierPaths=g5f;O7.getBindingIdentifiers=k5f;O7.getCompletionRecords=I5f;O7.getNextSibling=T5f;O7.getOpposite=j5f;O7.getOuterBindingIdentifierPaths=_5f;O7.getOuterBindingIdentifiers=v5f;O7.getPrevSibling=N5f;O7.getSibling=P5f;var b6=lG(),K5f=Hf(),{getAssignmentIdentifiers:F5f,getBindingIdentifiers:C7,getOuterBindingIdentifiers:S5f,numericLiteral:$5f,unaryExpression:q5f}=K5f,w6=0,FX=1;function C5f(f){return{type:w6,path:f}}function A5f(f){return{type:FX,path:f}}function j5f(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function T1(f,G,X){if(f)G.push(...L1(f,X));return G}function O5f(f,G,X){let J=[];for(let W=0;W<f.length;W++){let R=f[W],V=L1(R,X),H=[],U=[];for(let Q of V){if(Q.type===w6)H.push(Q);if(Q.type===FX)U.push(Q)}if(H.length)J=H;G.push(...U)}return G.push(...J),G}function D5f(f){f.forEach((G)=>{G.type=FX})}function L6(f,G){f.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(G)X.path.replaceWith(q5f("void",$5f(0)));else X.path.remove()})}function q7(f,G){let X=[];if(G.canHaveBreak){let J=[];for(let W=0;W<f.length;W++){let R=f[W],V=Object.assign({},G,{inCaseClause:!1});if(R.isBlockStatement()&&(G.inCaseClause||G.shouldPopulateBreak))V.shouldPopulateBreak=!0;else V.shouldPopulateBreak=!1;let H=L1(R,V);if(H.length>0&&H.every((U)=>U.type===FX)){if(J.length>0&&H.every((U)=>U.path.isBreakStatement({label:null}))){if(D5f(J),X.push(...J),J.some((U)=>U.path.isDeclaration()))X.push(...H),L6(H,!0);L6(H,!1)}else if(X.push(...H),!G.shouldPopulateBreak)L6(H,!0);break}if(W===f.length-1)X.push(...H);else{J=[];for(let U=0;U<H.length;U++){let Q=H[U];if(Q.type===FX)X.push(Q);if(Q.type===w6)J.push(Q)}}}}else if(f.length)for(let J=f.length-1;J>=0;J--){let W=L1(f[J],G);if(W.length>1||W.length===1&&!W[0].path.isVariableDeclaration()){X.push(...W);break}}return X}function L1(f,G){let X=[];if(f.isIfStatement())X=T1(f.get("consequent"),X,G),X=T1(f.get("alternate"),X,G);else if(f.isDoExpression()||f.isFor()||f.isWhile()||f.isLabeledStatement())return T1(f.get("body"),X,G);else if(f.isProgram()||f.isBlockStatement())return q7(f.get("body"),G);else if(f.isFunction())return L1(f.get("body"),G);else if(f.isTryStatement())X=T1(f.get("block"),X,G),X=T1(f.get("handler"),X,G);else if(f.isCatchClause())return T1(f.get("body"),X,G);else if(f.isSwitchStatement())return O5f(f.get("cases"),X,G);else if(f.isSwitchCase())return q7(f.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(f.isBreakStatement())X.push(A5f(f));else X.push(C5f(f));return X}function I5f(){return L1(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((G)=>G.path)}function P5f(f){return b6.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:f}).setContext(this.context)}function N5f(){return this.getSibling(this.key-1)}function T5f(){return this.getSibling(this.key+1)}function L5f(){let f=this.key,G=this.getSibling(++f),X=[];while(G.node)X.push(G),G=this.getSibling(++f);return X}function b5f(){let f=this.key,G=this.getSibling(--f),X=[];while(G.node)X.push(G),G=this.getSibling(--f);return X}function w5f(f,G=!0){if(G===!0)G=this.context;let X=f.split(".");if(X.length===1)return A7.call(this,f,G);else return j7.call(this,X,G)}function A7(f,G){let X=this.node,J=X[f];if(Array.isArray(J))return J.map((W,R)=>{return b6.default.get({listKey:f,parentPath:this,parent:X,container:J,key:R}).setContext(G)});else return b6.default.get({parentPath:this,parent:X,container:X,key:f}).setContext(G)}function j7(f,G){let X=this;for(let J of f)if(J===".")X=X.parentPath;else if(Array.isArray(X))X=X[J];else X=X.get(J,G);return X}function E5f(){return F5f(this.node)}function k5f(f){return C7(this.node,f)}function v5f(f){return S5f(this.node,f)}function g5f(f=!1,G=!1){let J=[this],W=Object.create(null);while(J.length){let R=J.shift();if(!R)continue;if(!R.node)continue;let V=C7.keys[R.node.type];if(R.isIdentifier()){if(f)(W[R.node.name]=W[R.node.name]||[]).push(R);else W[R.node.name]=R;continue}if(R.isExportDeclaration()){let H=R.get("declaration");if(H.isDeclaration())J.push(H);continue}if(G){if(R.isFunctionDeclaration()){J.push(R.get("id"));continue}if(R.isFunctionExpression())continue}if(V)for(let H=0;H<V.length;H++){let U=V[H],Q=R.get(U);if(Array.isArray(Q))J.push(...Q);else if(Q.node)J.push(Q)}}return W}function _5f(f=!1){return this.getBindingIdentifierPaths(f,!0)}});var N7=D((P7)=>{Object.defineProperty(P7,"__esModule",{value:!0});P7.addComment=XZf;P7.addComments=JZf;P7.shareCommentsWithSiblings=GZf;var o5f=Hf(),{addComment:e5f,addComments:fZf}=o5f;function GZf(){if(typeof this.key==="string")return;let f=this.node;if(!f)return;let{trailingComments:G,leadingComments:X}=f;if(!G&&!X)return;let J=this.getSibling(this.key-1),W=this.getSibling(this.key+1),R=Boolean(J.node),V=Boolean(W.node);if(R){if(X)J.addComments("trailing",I7(X,J.node.trailingComments));if(G&&!V)J.addComments("trailing",G)}if(V){if(G)W.addComments("leading",I7(G,W.node.leadingComments));if(X&&!R)W.addComments("leading",X)}}function I7(f,G){if(!(G!=null&&G.length))return f;let X=new Set(G);return f.filter((J)=>{return!X.has(J)})}function XZf(f,G,X){e5f(this.node,f,G,X)}function JZf(f,G){fZf(this.node,f,G)}});var lG=D((E7)=>{Object.defineProperty(E7,"__esModule",{value:!0});E7.default=E7.SHOULD_STOP=E7.SHOULD_SKIP=E7.REMOVED=void 0;var HZf=hW(),UZf=C4(),QZf=ZX(),ZZf=tW(),b7=Hf(),E2=b7,YZf=X1(),zZf=KW(),$G=MU(),b1=uU(),w1=H6(),T7=kQ(),Q1=Y7(),Lf=$7(),w7=KG(),Tf=w7,E1=I2(),qG=P2(),lf=D7(),E6=N7(),BZf=aW(),{validate:MZf}=b7,L7=UZf("babel"),CSf=E7.REMOVED=1,ASf=E7.SHOULD_STOP=2,jSf=E7.SHOULD_SKIP=4,bG=E7.default=class f{constructor(G,X){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=X,this.hub=G,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(G){if(G)this._traverseFlags|=1;else this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(G){if(G)this._traverseFlags|=2;else this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(G){if(G)this._traverseFlags|=4;else this._traverseFlags&=-5}static get({hub:G,parentPath:X,parent:J,container:W,listKey:R,key:V}){if(!G&&X)G=X.hub;if(!J)throw new Error("To get a node path the parent needs to exist");let H=W[V],U=YZf.getOrCreateCachedPaths(G,J),Q=U.get(H);if(!Q){if(Q=new f(G,J),H)U.set(H,Q)}return w7.setup.call(Q,X,W,R,V),Q}getScope(G){return this.isScope()?new ZZf.default(this):G}setData(G,X){if(this.data==null)this.data=Object.create(null);return this.data[G]=X}getData(G,X){if(this.data==null)this.data=Object.create(null);let J=this.data[G];if(J===void 0&&X!==void 0)J=this.data[G]=X;return J}hasNode(){return this.node!=null}buildCodeFrameError(G,X=SyntaxError){return this.hub.buildError(this.node,G,X)}traverse(G,X){QZf.default(this.node,G,this.scope,X,this)}set(G,X){MZf(this.node,G,X),this.node[G]=X}getPathLocation(){let G=[],X=this;do{let J=X.key;if(X.inList)J=`${X.listKey}[${J}]`;G.unshift(J)}while(X=X.parentPath);return G.join(".")}debug(G){if(!L7.enabled)return;L7(`${this.getPathLocation()} ${this.type}: ${G}`)}toString(){return zZf.default(this.node).code}get inList(){return!!this.listKey}set inList(G){if(!G)this.listKey=null}get parentKey(){return this.listKey||this.key}},KZf={findParent:$G.findParent,find:$G.find,getFunctionParent:$G.getFunctionParent,getStatementParent:$G.getStatementParent,getEarliestCommonAncestorFrom:$G.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:$G.getDeepestCommonAncestorFrom,getAncestry:$G.getAncestry,isAncestor:$G.isAncestor,isDescendant:$G.isDescendant,inType:$G.inType,getTypeAnnotation:b1.getTypeAnnotation,isBaseType:b1.isBaseType,couldBeBaseType:b1.couldBeBaseType,baseTypeStrictlyMatches:b1.baseTypeStrictlyMatches,isGenericType:b1.isGenericType,replaceWithMultiple:w1.replaceWithMultiple,replaceWithSourceString:w1.replaceWithSourceString,replaceWith:w1.replaceWith,replaceExpressionWithStatements:w1.replaceExpressionWithStatements,replaceInline:w1.replaceInline,evaluateTruthy:T7.evaluateTruthy,evaluate:T7.evaluate,toComputedKey:Q1.toComputedKey,ensureBlock:Q1.ensureBlock,unwrapFunctionEnvironment:Q1.unwrapFunctionEnvironment,arrowFunctionToExpression:Q1.arrowFunctionToExpression,splitExportDeclaration:Q1.splitExportDeclaration,ensureFunctionName:Q1.ensureFunctionName,matchesPattern:Lf.matchesPattern,isStatic:Lf.isStatic,isNodeType:Lf.isNodeType,canHaveVariableDeclarationOrExpression:Lf.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:Lf.canSwapBetweenExpressionAndStatement,isCompletionRecord:Lf.isCompletionRecord,isStatementOrBlock:Lf.isStatementOrBlock,referencesImport:Lf.referencesImport,getSource:Lf.getSource,willIMaybeExecuteBefore:Lf.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:Lf._guessExecutionStatusRelativeTo,resolve:Lf.resolve,isConstantExpression:Lf.isConstantExpression,isInStrictMode:Lf.isInStrictMode,isDenylisted:Tf.isDenylisted,visit:Tf.visit,skip:Tf.skip,skipKey:Tf.skipKey,stop:Tf.stop,setContext:Tf.setContext,requeue:Tf.requeue,requeueComputedKeyAndDecorators:Tf.requeueComputedKeyAndDecorators,remove:E1.remove,insertBefore:qG.insertBefore,insertAfter:qG.insertAfter,unshiftContainer:qG.unshiftContainer,pushContainer:qG.pushContainer,getOpposite:lf.getOpposite,getCompletionRecords:lf.getCompletionRecords,getSibling:lf.getSibling,getPrevSibling:lf.getPrevSibling,getNextSibling:lf.getNextSibling,getAllNextSiblings:lf.getAllNextSiblings,getAllPrevSiblings:lf.getAllPrevSiblings,get:lf.get,getAssignmentIdentifiers:lf.getAssignmentIdentifiers,getBindingIdentifiers:lf.getBindingIdentifiers,getOuterBindingIdentifiers:lf.getOuterBindingIdentifiers,getBindingIdentifierPaths:lf.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:lf.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:E6.shareCommentsWithSiblings,addComment:E6.addComment,addComments:E6.addComments};Object.assign(bG.prototype,KZf);bG.prototype.arrowFunctionToShadowed=Q1[String("arrowFunctionToShadowed")],Object.assign(bG.prototype,{has:Lf[String("has")],is:Lf[String("is")],isnt:Lf[String("isnt")],equals:Lf[String("equals")],hoist:qG[String("hoist")],updateSiblingKeys:qG.updateSiblingKeys,call:Tf.call,isBlacklisted:Tf[String("isBlacklisted")],setScope:Tf.setScope,resync:Tf.resync,popContext:Tf.popContext,pushContext:Tf.pushContext,setup:Tf.setup,setKey:Tf.setKey});bG.prototype._guessExecutionStatusRelativeToDifferentFunctions=Lf._guessExecutionStatusRelativeTo,bG.prototype._guessExecutionStatusRelativeToDifferentFunctions=Lf._guessExecutionStatusRelativeTo,Object.assign(bG.prototype,{_getTypeAnnotation:b1._getTypeAnnotation,_replaceWith:w1._replaceWith,_resolve:Lf._resolve,_call:Tf._call,_resyncParent:Tf._resyncParent,_resyncKey:Tf._resyncKey,_resyncList:Tf._resyncList,_resyncRemoved:Tf._resyncRemoved,_getQueueContexts:Tf._getQueueContexts,_removeFromScope:E1._removeFromScope,_callRemovalHooks:E1._callRemovalHooks,_remove:E1._remove,_markRemoved:E1._markRemoved,_assertUnremoved:E1._assertUnremoved,_containerInsert:qG._containerInsert,_containerInsertBefore:qG._containerInsertBefore,_containerInsertAfter:qG._containerInsertAfter,_verifyNodeList:qG._verifyNodeList,_getKey:lf._getKey,_getPattern:lf._getPattern});for(let f of E2.TYPES){let G=`is${f}`,X=E2[G];bG.prototype[G]=function(J){return X(this.node,J)},bG.prototype[`assert${f}`]=function(J){if(!X(this.node,J))throw new TypeError(`Expected node path of type ${f}`)}}Object.assign(bG.prototype,BZf);for(let f of Object.keys(HZf)){if(f[0]==="_")continue;if(!E2.TYPES.includes(f))E2.TYPES.push(f)}});var u7=D((g7)=>{Object.defineProperty(g7,"__esModule",{value:!0});g7.default=void 0;var qZf=lG(),CZf=Hf(),k6=KG(),{VISITOR_KEYS:AZf}=CZf;class v7{constructor(f,G,X,J){this.queue=null,this.priorityQueue=null,this.parentPath=J,this.scope=f,this.state=X,this.opts=G}shouldVisit(f){let G=this.opts;if(G.enter||G.exit)return!0;if(G[f.type])return!0;let X=AZf[f.type];if(!(X!=null&&X.length))return!1;for(let J of X)if(f[J])return!0;return!1}create(f,G,X,J){return qZf.default.get({parentPath:this.parentPath,parent:f,container:G,key:X,listKey:J})}maybeQueue(f,G){if(this.queue)if(G)this.queue.push(f);else this.priorityQueue.push(f)}visitMultiple(f,G,X){if(f.length===0)return!1;let J=[];for(let W=0;W<f.length;W++){let R=f[W];if(R&&this.shouldVisit(R))J.push(this.create(G,f,W,X))}return this.visitQueue(J)}visitSingle(f,G){if(this.shouldVisit(f[G]))return this.visitQueue([this.create(f,f,G)]);else return!1}visitQueue(f){this.queue=f,this.priorityQueue=[];let G=new WeakSet,X=!1,J=0;for(;J<f.length;){let W=f[J];if(J++,k6.resync.call(W),W.contexts.length===0||W.contexts[W.contexts.length-1]!==this)k6.pushContext.call(W,this);if(W.key===null)continue;let{node:R}=W;if(G.has(R))continue;if(R)G.add(R);if(W.visit()){X=!0;break}if(this.priorityQueue.length){if(X=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=f,X)break}}for(let W=0;W<J;W++)k6.popContext.call(f[W]);return this.queue=null,X}visit(f,G){let X=f[G];if(!X)return!1;if(Array.isArray(X))return this.visitMultiple(X,f,G);else return this.visitSingle(f,G)}}g7.default=v7});var S2=D((h7)=>{Object.defineProperty(h7,"__esModule",{value:!0});h7.traverseNode=IZf;var jZf=u7(),OZf=Hf(),{VISITOR_KEYS:DZf}=OZf;function IZf(f,G,X,J,W,R,V){let H=DZf[f.type];if(!H)return!1;let U=new jZf.default(X,G,J,W);if(V){if(R!=null&&R[W.parentKey])return!1;return U.visitQueue([W])}for(let Q of H){if(R!=null&&R[Q])continue;if(U.visit(f,Q))return!0}return!1}});var KG=D((r7)=>{Object.defineProperty(r7,"__esModule",{value:!0});r7._call=g6;r7._getQueueContexts=lZf;r7._resyncKey=a7;r7._resyncList=i7;r7._resyncParent=c7;r7._resyncRemoved=_Zf;r7.call=v6;r7.isDenylisted=m7;r7.popContext=uZf;r7.pushContext=hZf;r7.requeue=xZf;r7.requeueComputedKeyAndDecorators=mZf;r7.resync=gZf;r7.setContext=vZf;r7.setKey=k2;r7.setScope=l7;r7.setup=yZf;r7.skip=wZf;r7.skipKey=EZf;r7.stop=kZf;r7.visit=bZf;var NZf=S2(),y7=lG(),TZf=I2(),LZf=Hf();function v6(f){let G=this.opts;if(this.debug(f),this.node){if(g6.call(this,G[f]))return!0}if(this.node){var X;return g6.call(this,(X=G[this.node.type])==null?void 0:X[f])}return!1}function g6(f){if(!f)return!1;for(let G of f){if(!G)continue;let X=this.node;if(!X)return!0;let J=G.call(this.state,this,this.state);if(J&&typeof J==="object"&&typeof J.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(J)throw new Error(`Unexpected return value from visitor method ${G}`);if(this.node!==X)return!0;if(this._traverseFlags>0)return!0}return!1}function m7(){var f;let G=(f=this.opts.denylist)!=null?f:this.opts.blacklist;return G==null?void 0:G.includes(this.node.type)}r7.isBlacklisted=m7;function x7(f,G){if(f.context!==G)f.context=G,f.state=G.state,f.opts=G.opts}function bZf(){var f,G;if(!this.node)return!1;if(this.isDenylisted())return!1;if((f=(G=this.opts).shouldSkip)!=null&&f.call(G,this))return!1;let X=this.context;if(this.shouldSkip||v6.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return x7(this,X),this.debug("Recursing into..."),this.shouldStop=NZf.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),x7(this,X),v6.call(this,"exit"),this.shouldStop}function wZf(){this.shouldSkip=!0}function EZf(f){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[f]=!0}function kZf(){this._traverseFlags|=y7.SHOULD_SKIP|y7.SHOULD_STOP}function l7(){var f,G;if((f=this.opts)!=null&&f.noScope)return;let X=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&X.isMethod()||this.key==="discriminant"&&X.isSwitchStatement())X=X.parentPath;let J;while(X&&!J){var W;if((W=X.opts)!=null&&W.noScope)return;J=X.scope,X=X.parentPath}this.scope=this.getScope(J),(G=this.scope)==null||G.init()}function vZf(f){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,f)this.context=f,this.state=f.state,this.opts=f.opts;return l7.call(this),this}function gZf(){if(this.removed)return;c7.call(this),i7.call(this),a7.call(this)}function c7(){if(this.parentPath)this.parent=this.parentPath.node}function a7(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let f=0;f<this.container.length;f++)if(this.container[f]===this.node){k2.call(this,f);return}}else for(let f of Object.keys(this.container))if(this.container[f]===this.node){k2.call(this,f);return}this.key=null}function i7(){if(!this.parent||!this.inList)return;let f=this.parent[this.listKey];if(this.container===f)return;this.container=f||null}function _Zf(){if(this.key==null||!this.container||this.container[this.key]!==this.node)TZf._markRemoved.call(this)}function uZf(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function hZf(f){this.contexts.push(f),this.setContext(f)}function yZf(f,G,X,J){this.listKey=X,this.container=G,this.parentPath=f||this.parentPath,k2.call(this,J)}function k2(f){var G;this.key=f,this.node=this.container[this.key],this.type=(G=this.node)==null?void 0:G.type}function xZf(f=this){if(f.removed)return;let G=this.contexts;for(let X of G)X.maybeQueue(f)}function mZf(){let{context:f,node:G}=this;if(!LZf.isPrivate(G)&&G.computed)f.maybeQueue(this.get("key"));if(G.decorators)for(let X of this.get("decorators"))f.maybeQueue(X)}function lZf(){let f=this,G=this.contexts;while(!G.length){if(f=f.parentPath,!f)break;G=f.contexts}return G}});var t7=D((s7)=>{Object.defineProperty(s7,"__esModule",{value:!0});s7.default=void 0;class p7{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(f,G,X=TypeError){return new X(G)}}s7.default=p7});var ZX=D(($X)=>{Object.defineProperty($X,"__esModule",{value:!0});Object.defineProperty($X,"Hub",{enumerable:!0,get:function(){return MYf.default}});Object.defineProperty($X,"NodePath",{enumerable:!0,get:function(){return zYf.default}});Object.defineProperty($X,"Scope",{enumerable:!0,get:function(){return BYf.default}});$X.visitors=$X.default=void 0;KG();var SX=QX();$X.visitors=SX;var ZYf=Hf(),YYf=X1(),n7=S2(),zYf=lG(),BYf=tW(),MYf=t7(),{VISITOR_KEYS:KYf,removeProperties:FYf,traverseFast:o7}=ZYf;function WG(f,G={},X,J,W,R){if(!f)return;if(!G.noScope&&!X){if(f.type!=="Program"&&f.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 ${f.type} node without passing scope and parentPath.`)}if(!W&&R)throw new Error("visitSelf can only be used when providing a NodePath.");if(!KYf[f.type])return;SX.explode(G),n7.traverseNode(f,G,X,J,W,null,R)}var LSf=$X.default=WG;WG.visitors=SX;WG.verify=SX.verify;WG.explode=SX.explode;WG.cheap=function(f,G){o7(f,G);return};WG.node=function(f,G,X,J,W,R){n7.traverseNode(f,G,X,J,W,R)};WG.clearNode=function(f,G){FYf(f,G)};WG.removeProperties=function(f,G){return o7(f,WG.clearNode,G),f};function SYf(f,G){if(f.node.type===G.type)G.has=!0,f.stop()}WG.hasType=function(f,G,X){if(X!=null&&X.includes(f.type))return!1;if(f.type===G)return!0;let J={has:!1,type:G};return WG(f,{noScope:!0,denylist:X,enter:SYf},null,J),J.has};WG.cache=YYf});import jYf from"process";import{bold as _6,dim as u6,green as OYf,italic as f5,log as DYf}from"@stacksjs/cli";import{path as v2}from"@stacksjs/path";import{fs as IYf,glob as PYf}from"@stacksjs/storage";var qYf=y2(KW(),1),CYf=y2(Q2(),1),AYf=y2(ZX(),1);async function _Sf(f){let X=Date.now()-f.startTime,J=f.pkgName??`@stacksjs/${v2.basename(f.dir)}`;if(!f.result.success)console.log(f.result.logs[0]),jYf.exit(1);let W=await PYf([v2.resolve(f.dir,"dist","**/*")],{absolute:!0});for(let R of W){let V=await IYf.stat(R),H;if(V.size<1048576)H=`${(V.size/1024).toFixed(2)}kb`;else H=`${(V.size/1024/1024).toFixed(2)}mb`;let U=v2.relative(f.dir,R).replace("dist/","");console.log(`${_6(u6(`[${H}]`))} ${u6("dist/")}${U}`)}console.log(`${_6(u6(`[${X}ms]`))} Built ${f5(_6(OYf(J)))}`)}async function uSf(f){let G=f.pkgName??`@stacksjs/${v2.basename(f.dir)}`;if(f.styled===!1)console.log(`Building ${G}...`);else DYf.info(`Building ${f5(G)}...`);return{startTime:Date.now()}}var export_traverse=AYf.default;var export_parser=CYf.default;var export_generator=qYf.default;export{export_traverse as traverse,export_parser as parser,_Sf as outro,uSf as intro,export_generator as generator};