@stacksjs/build 0.69.5 → 0.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +45 -44
  2. package/package.json +5 -5
package/dist/index.js CHANGED
@@ -1,54 +1,55 @@
1
1
  // @bun
2
- var eY=Object.create;var{getPrototypeOf:Gz,defineProperty:vJ,getOwnPropertyNames:m6,getOwnPropertyDescriptor:Jz}=Object,c6=Object.prototype.hasOwnProperty;var h0=(G,J,X)=>{X=G!=null?eY(Gz(G)):{};let H=J||!G||!G.__esModule?vJ(X,"default",{value:G,enumerable:!0}):X;for(let V of m6(G))if(!c6.call(H,V))vJ(H,V,{get:()=>G[V],enumerable:!0});return H},x6=new WeakMap,Xz=(G)=>{var J=x6.get(G),X;if(J)return J;if(J=vJ({},"__esModule",{value:!0}),G&&typeof G==="object"||typeof G==="function")m6(G).map((H)=>!c6.call(J,H)&&vJ(J,H,{get:()=>G[H],enumerable:!(X=Jz(G,H))||X.enumerable}));return x6.set(G,J),J},f=(G,J)=>()=>(J||G((J={exports:{}}).exports,J),J.exports);var Hz=(G,J)=>{for(var X in J)vJ(G,X,{get:J[X],enumerable:!0,configurable:!0,set:(H)=>J[X]=()=>H})};var Vz=(G,J)=>()=>(G&&(J=G(G=0)),J);var l6=import.meta.require;var a6=f((AX,i6)=>{(function(G,J){typeof AX==="object"&&typeof i6!=="undefined"?J(AX):typeof define==="function"&&define.amd?define(["exports"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.setArray={}))})(AX,function(G){class J{constructor(){this._indexes={__proto__:null},this.array=[]}}function X(W){return W}function H(W,Y){return X(W)._indexes[Y]}function V(W,Y){let z=H(W,Y);if(z!==void 0)return z;let{array:U,_indexes:q}=X(W),A=U.push(Y);return q[Y]=A-1}function Z(W){let{array:Y,_indexes:z}=X(W);if(Y.length===0)return;let U=Y.pop();z[U]=void 0}function Q(W,Y){let z=H(W,Y);if(z===void 0)return;let{array:U,_indexes:q}=X(W);for(let A=z+1;A<U.length;A++){let C=U[A];U[A-1]=C,q[C]--}q[Y]=void 0,U.pop()}G.SetArray=J,G.get=H,G.pop=Z,G.put=V,G.remove=Q,Object.defineProperty(G,"__esModule",{value:!0})})});var u0=f((CX,p6)=>{(function(G,J){typeof CX==="object"&&typeof p6!=="undefined"?J(CX):typeof define==="function"&&define.amd?define(["exports"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.sourcemapCodec={}))})(CX,function(G){let V=new Uint8Array(64),Z=new Uint8Array(128);for(let y=0;y<64;y++){let x="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(y);V[y]=x,Z[x]=y}function Q(y,x){let N=0,c=0,Z1=0;do{let h=y.next();Z1=Z[h],N|=(Z1&31)<<c,c+=5}while(Z1&32);let R1=N&1;if(N>>>=1,R1)N=-2147483648|-N;return x+N}function W(y,x,N){let c=x-N;c=c<0?-c<<1|1:c<<1;do{let Z1=c&31;if(c>>>=5,c>0)Z1|=32;y.write(V[Z1])}while(c>0);return x}function Y(y,x){if(y.pos>=x)return!1;return y.peek()!==44}let z=16384,U=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 N=0;N<y.length;N++)x+=String.fromCharCode(y[N]);return x}};class q{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(z)}write(y){let{buffer:x}=this;if(x[this.pos++]=y,this.pos===z)this.out+=U.decode(x),this.pos=0}flush(){let{buffer:y,out:x,pos:N}=this;return N>0?x+U.decode(y.subarray(0,N)):x}}class A{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:N}=this,c=x.indexOf(y,N);return c===-1?x.length:c}}let C=[];function D(y){let{length:x}=y,N=new A(y),c=[],Z1=[],R1=0;for(;N.pos<x;N.pos++){R1=Q(N,R1);let h=Q(N,0);if(!Y(N,x)){let n=Z1.pop();n[2]=R1,n[3]=h;continue}let _=Q(N,0),e=Q(N,0)&1?[R1,h,0,0,_,Q(N,0)]:[R1,h,0,0,_],G1=C;if(Y(N,x)){G1=[];do{let n=Q(N,0);G1.push(n)}while(Y(N,x))}e.vars=G1,c.push(e),Z1.push(e)}return c}function L(y){let x=new q;for(let N=0;N<y.length;)N=P(y,N,x,[0]);return x.flush()}function P(y,x,N,c){let Z1=y[x],{0:R1,1:h,2:_,3:l,4:i,vars:e}=Z1;if(x>0)N.write(44);c[0]=W(N,R1,c[0]),W(N,h,0),W(N,i,0);let G1=Z1.length===6?1:0;if(W(N,G1,0),Z1.length===6)W(N,Z1[5],0);for(let n of e)W(N,n,0);for(x++;x<y.length;){let n=y[x],{0:V1,1:K1}=n;if(V1>_||V1===_&&K1>=l)break;x=P(y,x,N,c)}return N.write(44),c[0]=W(N,_,c[0]),W(N,l,0),x}function w(y){let{length:x}=y,N=new A(y),c=[],Z1=[],R1=0,h=0,_=0,l=0,i=0,e=0,G1=0,n=0;do{let V1=N.indexOf(";"),K1=0;for(;N.pos<V1;N.pos++){if(K1=Q(N,K1),!Y(N,V1)){let v1=Z1.pop();v1[2]=R1,v1[3]=K1;continue}let E1=Q(N,0),VG=E1&1,p1=E1&2,d1=E1&4,zG=null,ZG=C,_1;if(VG){let v1=Q(N,h);_=Q(N,h===v1?_:0),h=v1,_1=[R1,K1,0,0,v1,_]}else _1=[R1,K1,0,0];if(_1.isScope=!!d1,p1){let v1=l,jG=i;l=Q(N,l);let mG=v1===l;i=Q(N,mG?i:0),e=Q(N,mG&&jG===i?e:0),zG=[l,i,e]}if(_1.callsite=zG,Y(N,V1)){ZG=[];do{G1=R1,n=K1;let v1=Q(N,0),jG;if(v1<-1){jG=[[Q(N,0)]];for(let mG=-1;mG>v1;mG--){let v0=G1;G1=Q(N,G1),n=Q(N,G1===v0?n:0);let bJ=Q(N,0);jG.push([bJ,G1,n])}}else jG=[[v1]];ZG.push(jG)}while(Y(N,V1))}_1.bindings=ZG,c.push(_1),Z1.push(_1)}R1++,N.pos=V1+1}while(N.pos<x);return c}function b(y){if(y.length===0)return"";let x=new q;for(let N=0;N<y.length;)N=X1(y,N,x,[0,0,0,0,0,0,0]);return x.flush()}function X1(y,x,N,c){let Z1=y[x],{0:R1,1:h,2:_,3:l,isScope:i,callsite:e,bindings:G1}=Z1;if(c[0]<R1)r(N,c[0],R1),c[0]=R1,c[1]=0;else if(x>0)N.write(44);c[1]=W(N,Z1[1],c[1]);let n=(Z1.length===6?1:0)|(e?2:0)|(i?4:0);if(W(N,n,0),Z1.length===6){let{4:V1,5:K1}=Z1;if(V1!==c[2])c[3]=0;c[2]=W(N,V1,c[2]),c[3]=W(N,K1,c[3])}if(e){let{0:V1,1:K1,2:E1}=Z1.callsite;if(V1!==c[4])c[5]=0,c[6]=0;else if(K1!==c[5])c[6]=0;c[4]=W(N,V1,c[4]),c[5]=W(N,K1,c[5]),c[6]=W(N,E1,c[6])}if(G1)for(let V1 of G1){if(V1.length>1)W(N,-V1.length,0);let K1=V1[0][0];W(N,K1,0);let E1=R1,VG=h;for(let p1=1;p1<V1.length;p1++){let d1=V1[p1];E1=W(N,d1[1],E1),VG=W(N,d1[2],VG),W(N,d1[0],0)}}for(x++;x<y.length;){let V1=y[x],{0:K1,1:E1}=V1;if(K1>_||K1===_&&E1>=l)break;x=X1(y,x,N,c)}if(c[0]<_)r(N,c[0],_),c[0]=_,c[1]=0;else N.write(44);return c[1]=W(N,l,c[1]),x}function r(y,x,N){do y.write(59);while(++x<N)}function H1(y){let{length:x}=y,N=new A(y),c=[],Z1=0,R1=0,h=0,_=0,l=0;do{let i=N.indexOf(";"),e=[],G1=!0,n=0;Z1=0;while(N.pos<i){let V1;if(Z1=Q(N,Z1),Z1<n)G1=!1;if(n=Z1,Y(N,i))if(R1=Q(N,R1),h=Q(N,h),_=Q(N,_),Y(N,i))l=Q(N,l),V1=[Z1,R1,h,_,l];else V1=[Z1,R1,h,_];else V1=[Z1];e.push(V1),N.pos++}if(!G1)$1(e);c.push(e),N.pos=i+1}while(N.pos<=x);return c}function $1(y){y.sort(L1)}function L1(y,x){return y[0]-x[0]}function k1(y){let x=new q,N=0,c=0,Z1=0,R1=0;for(let h=0;h<y.length;h++){let _=y[h];if(h>0)x.write(59);if(_.length===0)continue;let l=0;for(let i=0;i<_.length;i++){let e=_[i];if(i>0)x.write(44);if(l=W(x,e[0],l),e.length===1)continue;if(N=W(x,e[1],N),c=W(x,e[2],c),Z1=W(x,e[3],Z1),e.length===4)continue;R1=W(x,e[4],R1)}}return x.flush()}G.decode=H1,G.decodeGeneratedRanges=w,G.decodeOriginalScopes=D,G.encode=k1,G.encodeGeneratedRanges=b,G.encodeOriginalScopes=L,Object.defineProperty(G,"__esModule",{value:!0})})});var r6=f((y0,x0)=>{(function(G,J){typeof y0==="object"&&typeof x0!=="undefined"?x0.exports=J():typeof define==="function"&&define.amd?define(J):(G=typeof globalThis!=="undefined"?globalThis:G||self,G.resolveURI=J())})(y0,function(){let G=/^[\w+.-]+:\/\//,J=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,X=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function H(P){return G.test(P)}function V(P){return P.startsWith("//")}function Z(P){return P.startsWith("/")}function Q(P){return P.startsWith("file:")}function W(P){return/^[.?#]/.test(P)}function Y(P){let w=J.exec(P);return U(w[1],w[2]||"",w[3],w[4]||"",w[5]||"/",w[6]||"",w[7]||"")}function z(P){let w=X.exec(P),b=w[2];return U("file:","",w[1]||"","",Z(b)?b:"/"+b,w[3]||"",w[4]||"")}function U(P,w,b,X1,r,H1,$1){return{scheme:P,user:w,host:b,port:X1,path:r,query:H1,hash:$1,type:7}}function q(P){if(V(P)){let b=Y("http:"+P);return b.scheme="",b.type=6,b}if(Z(P)){let b=Y("http://foo.com"+P);return b.scheme="",b.host="",b.type=5,b}if(Q(P))return z(P);if(H(P))return Y(P);let w=Y("http://foo.com/"+P);return w.scheme="",w.host="",w.type=P?P.startsWith("?")?3:P.startsWith("#")?2:4:1,w}function A(P){if(P.endsWith("/.."))return P;let w=P.lastIndexOf("/");return P.slice(0,w+1)}function C(P,w){if(D(w,w.type),P.path==="/")P.path=w.path;else P.path=A(w.path)+P.path}function D(P,w){let b=w<=4,X1=P.path.split("/"),r=1,H1=0,$1=!1;for(let k1=1;k1<X1.length;k1++){let y=X1[k1];if(!y){$1=!0;continue}if($1=!1,y===".")continue;if(y===".."){if(H1)$1=!0,H1--,r--;else if(b)X1[r++]=y;continue}X1[r++]=y,H1++}let L1="";for(let k1=1;k1<r;k1++)L1+="/"+X1[k1];if(!L1||$1&&!L1.endsWith("/.."))L1+="/";P.path=L1}function L(P,w){if(!P&&!w)return"";let b=q(P),X1=b.type;if(w&&X1!==7){let H1=q(w),$1=H1.type;switch(X1){case 1:b.hash=H1.hash;case 2:b.query=H1.query;case 3:case 4:C(b,H1);case 5:b.user=H1.user,b.host=H1.host,b.port=H1.port;case 6:b.scheme=H1.scheme}if($1>X1)X1=$1}D(b,X1);let r=b.query+b.hash;switch(X1){case 2:case 3:return r;case 4:{let H1=b.path.slice(1);if(!H1)return r||".";if(W(w||P)&&!W(H1))return"./"+H1+r;return H1+r}case 5:return b.path+r;default:return b.scheme+"//"+b.user+b.host+b.port+b.path+r}}return L})});var m0=f((DX,s6)=>{(function(G,J){typeof DX==="object"&&typeof s6!=="undefined"?J(DX,u0(),r6()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.traceMapping={},G.sourcemapCodec,G.resolveURI))})(DX,function(G,J,X){function H(I,k){if(k&&!k.endsWith("/"))k+="/";return X(I,k)}function V(I){if(!I)return"";let k=I.lastIndexOf("/");return I.slice(0,k+1)}let Z=0,Q=1,W=2,Y=3,z=4,U=1,q=2;function A(I,k){let v=C(I,0);if(v===I.length)return I;if(!k)I=I.slice();for(let m=v;m<I.length;m=C(I,m+1))I[m]=L(I[m],k);return I}function C(I,k){for(let v=k;v<I.length;v++)if(!D(I[v]))return v;return I.length}function D(I){for(let k=1;k<I.length;k++)if(I[k][Z]<I[k-1][Z])return!1;return!0}function L(I,k){if(!k)I=I.slice();return I.sort(P)}function P(I,k){return I[Z]-k[Z]}let w=!1;function b(I,k,v,m){while(v<=m){let Q1=v+(m-v>>1),d=I[Q1][Z]-k;if(d===0)return w=!0,Q1;if(d<0)v=Q1+1;else m=Q1-1}return w=!1,v-1}function X1(I,k,v){for(let m=v+1;m<I.length;v=m++)if(I[m][Z]!==k)break;return v}function r(I,k,v){for(let m=v-1;m>=0;v=m--)if(I[m][Z]!==k)break;return v}function H1(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function $1(I,k,v,m){let{lastKey:Q1,lastNeedle:d,lastIndex:F1}=v,A1=0,U1=I.length-1;if(m===Q1){if(k===d)return w=F1!==-1&&I[F1][Z]===k,F1;if(k>=d)A1=F1===-1?0:F1;else U1=F1}return v.lastKey=m,v.lastNeedle=k,v.lastIndex=b(I,k,A1,U1)}function L1(I,k){let v=k.map(y);for(let m=0;m<I.length;m++){let Q1=I[m];for(let d=0;d<Q1.length;d++){let F1=Q1[d];if(F1.length===1)continue;let A1=F1[Q],U1=F1[W],D1=F1[Y],i1=v[A1],I1=i1[U1]||(i1[U1]=[]),b1=k[A1],r1=X1(I1,D1,$1(I1,D1,b1,U1));b1.lastIndex=++r1,k1(I1,r1,[D1,m,F1[Z]])}}return v}function k1(I,k,v){for(let m=I.length;m>k;m--)I[m]=I[m-1];I[k]=v}function y(){return{__proto__:null}}let x=function(I,k){let v=N(I);if(!("sections"in v))return new G1(v,k);let m=[],Q1=[],d=[],F1=[],A1=[];c(v,k,m,Q1,d,F1,A1,0,0,1/0,1/0);let U1={version:3,file:v.file,names:F1,sources:Q1,sourcesContent:d,mappings:m,ignoreList:A1};return jG(U1)};function N(I){return typeof I==="string"?JSON.parse(I):I}function c(I,k,v,m,Q1,d,F1,A1,U1,D1,i1){let{sections:I1}=I;for(let b1=0;b1<I1.length;b1++){let{map:r1,offset:KG}=I1[b1],cG=D1,YJ=i1;if(b1+1<I1.length){let zJ=I1[b1+1].offset;if(cG=Math.min(D1,A1+zJ.line),cG===D1)YJ=Math.min(i1,U1+zJ.column);else if(cG<D1)YJ=U1+zJ.column}Z1(r1,k,v,m,Q1,d,F1,A1+KG.line,U1+KG.column,cG,YJ)}}function Z1(I,k,v,m,Q1,d,F1,A1,U1,D1,i1){let I1=N(I);if("sections"in I1)return c(...arguments);let b1=new G1(I1,k),r1=m.length,KG=d.length,cG=K1(b1),{resolvedSources:YJ,sourcesContent:zJ,ignoreList:E0}=b1;if(R1(m,YJ),R1(d,b1.names),zJ)R1(Q1,zJ);else for(let t1=0;t1<YJ.length;t1++)Q1.push(null);if(E0)for(let t1=0;t1<E0.length;t1++)F1.push(E0[t1]+r1);for(let t1=0;t1<cG.length;t1++){let g0=A1+t1;if(g0>D1)return;let g6=h(v,g0),oY=t1===0?U1:0,_6=cG[t1];for(let _0=0;_0<_6.length;_0++){let lG=_6[_0],OX=oY+lG[Z];if(g0===D1&&OX>=i1)return;if(lG.length===1){g6.push([OX]);continue}let h6=r1+lG[Q],u6=lG[W],y6=lG[Y];g6.push(lG.length===4?[OX,h6,u6,y6]:[OX,h6,u6,y6,KG+lG[z]])}}}function R1(I,k){for(let v=0;v<k.length;v++)I.push(k[v])}function h(I,k){for(let v=I.length;v<=k;v++)I[v]=[];return I[k]}let _="`line` must be greater than 0 (lines start at line 1)",l="`column` must be greater than or equal to 0 (columns start at column 0)",i=-1,e=1;class G1{constructor(I,k){let v=typeof I==="string";if(!v&&I._decodedMemo)return I;let m=v?JSON.parse(I):I,{version:Q1,file:d,names:F1,sourceRoot:A1,sources:U1,sourcesContent:D1}=m;this.version=Q1,this.file=d,this.names=F1||[],this.sourceRoot=A1,this.sources=U1,this.sourcesContent=D1,this.ignoreList=m.ignoreList||m.x_google_ignoreList||void 0;let i1=H(A1||"",V(k));this.resolvedSources=U1.map((b1)=>H(b1||"",i1));let{mappings:I1}=m;if(typeof I1==="string")this._encoded=I1,this._decoded=void 0;else this._encoded=void 0,this._decoded=A(I1,v);this._decodedMemo=H1(),this._bySources=void 0,this._bySourceMemos=void 0}}function n(I){return I}function V1(I){var k,v;return(k=(v=n(I))._encoded)!==null&&k!==void 0?k:v._encoded=J.encode(n(I)._decoded)}function K1(I){var k;return(k=n(I))._decoded||(k._decoded=J.decode(n(I)._encoded))}function E1(I,k,v){let m=K1(I);if(k>=m.length)return null;let Q1=m[k],d=jX(Q1,n(I)._decodedMemo,k,v,e);return d===-1?null:Q1[d]}function VG(I,k){let{line:v,column:m,bias:Q1}=k;if(v--,v<0)throw new Error(_);if(m<0)throw new Error(l);let d=K1(I);if(v>=d.length)return qX(null,null,null,null);let F1=d[v],A1=jX(F1,n(I)._decodedMemo,v,m,Q1||e);if(A1===-1)return qX(null,null,null,null);let U1=F1[A1];if(U1.length===1)return qX(null,null,null,null);let{names:D1,resolvedSources:i1}=I;return qX(i1[U1[Q]],U1[W]+1,U1[Y],U1.length===5?D1[U1[z]]:null)}function p1(I,k){let{source:v,line:m,column:Q1,bias:d}=k;return E6(I,v,m,Q1,d||e,!1)}function d1(I,k){let{source:v,line:m,column:Q1,bias:d}=k;return E6(I,v,m,Q1,d||i,!0)}function zG(I,k){let v=K1(I),{names:m,resolvedSources:Q1}=I;for(let d=0;d<v.length;d++){let F1=v[d];for(let A1=0;A1<F1.length;A1++){let U1=F1[A1],D1=d+1,i1=U1[0],I1=null,b1=null,r1=null,KG=null;if(U1.length!==1)I1=Q1[U1[1]],b1=U1[2]+1,r1=U1[3];if(U1.length===5)KG=m[U1[4]];k({generatedLine:D1,generatedColumn:i1,source:I1,originalLine:b1,originalColumn:r1,name:KG})}}}function ZG(I,k){let{sources:v,resolvedSources:m}=I,Q1=v.indexOf(k);if(Q1===-1)Q1=m.indexOf(k);return Q1}function _1(I,k){let{sourcesContent:v}=I;if(v==null)return null;let m=ZG(I,k);return m===-1?null:v[m]}function v1(I,k){let{ignoreList:v}=I;if(v==null)return!1;let m=ZG(I,k);return m===-1?!1:v.includes(m)}function jG(I,k){let v=new G1(bJ(I,[]),k);return n(v)._decoded=I.mappings,v}function mG(I){return bJ(I,K1(I))}function v0(I){return bJ(I,V1(I))}function bJ(I,k){return{version:I.version,file:I.file,names:I.names,sourceRoot:I.sourceRoot,sources:I.sources,sourcesContent:I.sourcesContent,mappings:k,ignoreList:I.ignoreList||I.x_google_ignoreList}}function qX(I,k,v,m){return{source:I,line:k,column:v,name:m}}function kJ(I,k){return{line:I,column:k}}function jX(I,k,v,m,Q1){let d=$1(I,m,k,v);if(w)d=(Q1===i?X1:r)(I,m,d);else if(Q1===i)d++;if(d===-1||d===I.length)return-1;return d}function nY(I,k,v,m,Q1){let d=jX(I,k,v,m,e);if(!w&&Q1===i)d++;if(d===-1||d===I.length)return[];let F1=w?m:I[d][Z];if(!w)d=r(I,F1,d);let A1=X1(I,F1,d),U1=[];for(;d<=A1;d++){let D1=I[d];U1.push(kJ(D1[U]+1,D1[q]))}return U1}function E6(I,k,v,m,Q1,d){var F1;if(v--,v<0)throw new Error(_);if(m<0)throw new Error(l);let{sources:A1,resolvedSources:U1}=I,D1=A1.indexOf(k);if(D1===-1)D1=U1.indexOf(k);if(D1===-1)return d?[]:kJ(null,null);let I1=((F1=n(I))._bySources||(F1._bySources=L1(K1(I),n(I)._bySourceMemos=A1.map(H1))))[D1][v];if(I1==null)return d?[]:kJ(null,null);let b1=n(I)._bySourceMemos[D1];if(d)return nY(I1,b1,v,m,Q1);let r1=jX(I1,b1,v,m,Q1);if(r1===-1)return kJ(null,null);let KG=I1[r1];return kJ(KG[U]+1,KG[q])}G.AnyMap=x,G.GREATEST_LOWER_BOUND=e,G.LEAST_UPPER_BOUND=i,G.TraceMap=G1,G.allGeneratedPositionsFor=d1,G.decodedMap=mG,G.decodedMappings=K1,G.eachMapping=zG,G.encodedMap=v0,G.encodedMappings=V1,G.generatedPositionFor=p1,G.isIgnored=v1,G.originalPositionFor=VG,G.presortedDecodedMap=jG,G.sourceContentFor=_1,G.traceSegment=E1})});var t6=f((SX,d6)=>{(function(G,J){typeof SX==="object"&&typeof d6!=="undefined"?J(SX,a6(),u0(),m0()):typeof define==="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],J):(G=typeof globalThis!=="undefined"?globalThis:G||self,J(G.genMapping={},G.setArray,G.sourcemapCodec,G.traceMapping))})(SX,function(G,J,X,H){class U{constructor({file:h,sourceRoot:_}={}){this._names=new J.SetArray,this._sources=new J.SetArray,this._sourcesContent=[],this._mappings=[],this.file=h,this.sourceRoot=_,this._ignoreList=new J.SetArray}}function q(h){return h}function A(h,_,l,i,e,G1,n,V1){return $1(!1,h,_,l,i,e,G1,n,V1)}function C(h,_){return R1(!1,h,_)}let D=(h,_,l,i,e,G1,n,V1)=>{return $1(!0,h,_,l,i,e,G1,n,V1)},L=(h,_)=>{return R1(!0,h,_)};function P(h,_,l){let{_sources:i,_sourcesContent:e}=q(h),G1=J.put(i,_);e[G1]=l}function w(h,_,l=!0){let{_sources:i,_sourcesContent:e,_ignoreList:G1}=q(h),n=J.put(i,_);if(n===e.length)e[n]=null;if(l)J.put(G1,n);else J.remove(G1,n)}function b(h){let{_mappings:_,_sources:l,_sourcesContent:i,_names:e,_ignoreList:G1}=q(h);return x(_),{version:3,file:h.file||void 0,names:e.array,sourceRoot:h.sourceRoot||void 0,sources:l.array,sourcesContent:i,mappings:_,ignoreList:G1.array}}function X1(h){let _=b(h);return Object.assign(Object.assign({},_),{mappings:X.encode(_.mappings)})}function r(h){let _=new H.TraceMap(h),l=new U({file:_.file,sourceRoot:_.sourceRoot});if(N(q(l)._names,_.names),N(q(l)._sources,_.sources),q(l)._sourcesContent=_.sourcesContent||_.sources.map(()=>null),q(l)._mappings=H.decodedMappings(_),_.ignoreList)N(q(l)._ignoreList,_.ignoreList);return l}function H1(h){let _=[],{_mappings:l,_sources:i,_names:e}=q(h);for(let G1=0;G1<l.length;G1++){let n=l[G1];for(let V1=0;V1<n.length;V1++){let K1=n[V1],E1={line:G1+1,column:K1[0]},VG=void 0,p1=void 0,d1=void 0;if(K1.length!==1){if(VG=i.array[K1[1]],p1={line:K1[2]+1,column:K1[3]},K1.length===5)d1=e.array[K1[4]]}_.push({generated:E1,source:VG,original:p1,name:d1})}}return _}function $1(h,_,l,i,e,G1,n,V1,K1){let{_mappings:E1,_sources:VG,_sourcesContent:p1,_names:d1}=q(_),zG=L1(E1,l),ZG=k1(zG,i);if(!e){if(h&&c(zG,ZG))return;return y(zG,ZG,[i])}let _1=J.put(VG,e),v1=V1?J.put(d1,V1):-1;if(_1===p1.length)p1[_1]=K1!==null&&K1!==void 0?K1:null;if(h&&Z1(zG,ZG,_1,G1,n,v1))return;return y(zG,ZG,V1?[i,_1,G1,n,v1]:[i,_1,G1,n])}function L1(h,_){for(let l=h.length;l<=_;l++)h[l]=[];return h[_]}function k1(h,_){let l=h.length;for(let i=l-1;i>=0;l=i--){let e=h[i];if(_>=e[0])break}return l}function y(h,_,l){for(let i=h.length;i>_;i--)h[i]=h[i-1];h[_]=l}function x(h){let{length:_}=h,l=_;for(let i=l-1;i>=0;l=i,i--)if(h[i].length>0)break;if(l<_)h.length=l}function N(h,_){for(let l=0;l<_.length;l++)J.put(h,_[l])}function c(h,_){if(_===0)return!0;return h[_-1].length===1}function Z1(h,_,l,i,e,G1){if(_===0)return!1;let n=h[_-1];if(n.length===1)return!1;return l===n[1]&&i===n[2]&&e===n[3]&&G1===(n.length===5?n[4]:-1)}function R1(h,_,l){let{generated:i,source:e,original:G1,name:n,content:V1}=l;if(!e)return $1(h,_,i.line-1,i.column,null,null,null,null,null);return $1(h,_,i.line-1,i.column,e,G1.line-1,G1.column,n,V1)}G.GenMapping=U,G.addMapping=C,G.addSegment=A,G.allMappings=H1,G.fromMap=r,G.maybeAddMapping=L,G.maybeAddSegment=D,G.setIgnore=w,G.setSourceContent=P,G.toDecodedMap=b,G.toEncodedMap=X1,Object.defineProperty(G,"__esModule",{value:!0})})});var GH=f((o6)=>{Object.defineProperty(o6,"__esModule",{value:!0});o6.default=void 0;var bG=t6(),c0=m0();class n6{constructor(G,J){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 H=this._map=new bG.GenMapping({sourceRoot:G.sourceRoot});if(this._sourceFileName=(X=G.sourceFileName)==null?void 0:X.replace(/\\/g,"/"),this._rawMappings=void 0,G.inputSourceMap){this._inputMap=new c0.TraceMap(G.inputSourceMap);let Z=this._inputMap.resolvedSources;if(Z.length)for(let Q=0;Q<Z.length;Q++){var V;bG.setSourceContent(H,Z[Q],(V=this._inputMap.sourcesContent)==null?void 0:V[Q])}}if(typeof J==="string"&&!G.inputSourceMap)bG.setSourceContent(H,this._sourceFileName,J);else if(typeof J==="object")for(let Z of Object.keys(J))bG.setSourceContent(H,Z.replace(/\\/g,"/"),J[Z])}get(){return bG.toEncodedMap(this._map)}getDecoded(){return bG.toDecodedMap(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=bG.allMappings(this._map))}mark(G,J,X,H,V,Z){var Q;this._rawMappings=void 0;let W;if(J!=null)if(this._inputMap){if(W=c0.originalPositionFor(this._inputMap,{line:J,column:X}),!W.name&&V){let Y=c0.originalPositionFor(this._inputMap,V);if(Y.name)H=Y.name}}else W={source:(Z==null?void 0:Z.replace(/\\/g,"/"))||this._sourceFileName,line:J,column:X};bG.maybeAddMapping(this._map,{name:H,generated:G,source:(Q=W)==null?void 0:Q.source,original:W})}}o6.default=n6});var VH=f((XH)=>{Object.defineProperty(XH,"__esModule",{value:!0});XH.default=void 0;class JH{constructor(G,J){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=G,this._indentChar=J;for(let X=0;X<64;X++)this._fastIndentations.push(J.repeat(X));this._allocQueue()}_allocQueue(){let G=this._queue;for(let J=0;J<16;J++)G.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(G,J,X,H,V){let Z=this._queueCursor;if(Z===this._queue.length)this._allocQueue();let Q=this._queue[Z];Q.char=G,Q.repeat=J,Q.line=X,Q.column=H,Q.filename=V,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let G=this._map,J={code:(this._buf+this._str).trimRight(),decodedMap:G==null?void 0:G.getDecoded(),get __mergedMap(){return this.map},get map(){let X=G?G.get():null;return J.map=X,X},set map(X){Object.defineProperty(J,"map",{value:X,writable:!0})},get rawMappings(){let X=G==null?void 0:G.getRawMappings();return J.rawMappings=X,X},set rawMappings(X){Object.defineProperty(J,"rawMappings",{value:X,writable:!0})}};return J}append(G,J){this._flush(),this._append(G,this._sourcePosition,J)}appendChar(G){this._flush(),this._appendChar(G,1,this._sourcePosition)}queue(G){if(G===10)while(this._queueCursor!==0){let X=this._queue[this._queueCursor-1].char;if(X!==32&&X!==9)break;this._queueCursor--}let J=this._sourcePosition;this._pushQueue(G,1,J.line,J.column,J.filename)}queueIndentation(G){if(G===0)return;this._pushQueue(-1,G,void 0,void 0,void 0)}_flush(){let G=this._queueCursor,J=this._queue;for(let X=0;X<G;X++){let H=J[X];this._appendChar(H.char,H.repeat,H)}this._queueCursor=0}_appendChar(G,J,X){if(this._last=G,G===-1){let H=this._fastIndentations[J];if(H!==void 0)this._str+=H;else this._str+=J>1?this._indentChar.repeat(J):this._indentChar}else this._str+=J>1?String.fromCharCode(G).repeat(J):String.fromCharCode(G);if(G!==10)this._mark(X.line,X.column,X.identifierName,X.identifierNamePos,X.filename),this._position.column+=J;else this._position.line++,this._position.column=0;if(this._canMarkIdName)X.identifierName=void 0,X.identifierNamePos=void 0}_append(G,J,X){let H=G.length,V=this._position;if(this._last=G.charCodeAt(H-1),++this._appendCount>4096)+this._str,this._buf+=this._str,this._str=G,this._appendCount=0;else this._str+=G;if(!X&&!this._map){V.column+=H;return}let{column:Z,identifierName:Q,identifierNamePos:W,filename:Y}=J,z=J.line;if((Q!=null||W!=null)&&this._canMarkIdName)J.identifierName=void 0,J.identifierNamePos=void 0;let U=G.indexOf(`
3
- `),q=0;if(U!==0)this._mark(z,Z,Q,W,Y);while(U!==-1){if(V.line++,V.column=0,q=U+1,q<H&&z!==void 0)this._mark(++z,0,null,null,Y);U=G.indexOf(`
4
- `,q)}V.column+=H-q}_mark(G,J,X,H,V){var Z;(Z=this._map)==null||Z.mark(this._position,G,J,X,H,V)}removeTrailingNewline(){let G=this._queueCursor;if(G!==0&&this._queue[G-1].char===10)this._queueCursor--}removeLastSemicolon(){let G=this._queueCursor;if(G!==0&&this._queue[G-1].char===59)this._queueCursor--}getLastChar(){let G=this._queueCursor;return G!==0?this._queue[G-1].char:this._last}getNewlineCount(){let G=this._queueCursor,J=0;if(G===0)return this._last===10?1:0;for(let X=G-1;X>=0;X--){if(this._queue[X].char!==10)break;J++}return J===G&&this._last===10?J+1:J}endsWithCharAndNewline(){let G=this._queue,J=this._queueCursor;if(J!==0){if(G[J-1].char!==10)return;if(J>1)return G[J-2].char;else return this._last}}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(G,J){if(!this._map){J();return}this.source("start",G);let X=G.identifierName,H=this._sourcePosition;if(X)this._canMarkIdName=!1,H.identifierName=X;if(J(),X)this._canMarkIdName=!0,H.identifierName=void 0,H.identifierNamePos=void 0;this.source("end",G)}source(G,J){if(!this._map)return;this._normalizePosition(G,J,0)}sourceWithOffset(G,J,X){if(!this._map)return;this._normalizePosition(G,J,X)}_normalizePosition(G,J,X){let H=J[G],V=this._sourcePosition;if(H)V.line=H.line,V.column=Math.max(H.column+X,0),V.filename=J.filename}getCurrentColumn(){let G=this._queue,J=this._queueCursor,X=-1,H=0;for(let V=0;V<J;V++){let Z=G[V];if(Z.char===10)X=H;H+=Z.repeat}return X===-1?this._position.column+H:H-1-X}getCurrentLine(){let G=0,J=this._queue;for(let X=0;X<this._queueCursor;X++)if(J[X].char===10)G++;return this._position.line+G}}XH.default=JH});var fX=f((ZH)=>{Object.defineProperty(ZH,"__esModule",{value:!0});ZH.default=Zz;function Zz(G,J){let X=Object.keys(J);for(let H of X)if(G[H]!==J[H])return!1;return!0}});var EJ=f((WH)=>{Object.defineProperty(WH,"__esModule",{value:!0});WH.default=Wz;var QH=new Set;function Wz(G,J,X=""){if(QH.has(G))return;QH.add(G);let{internal:H,trace:V}=Yz(1,2);if(H)return;console.warn(`${X}\`${G}\` has been deprecated, please migrate to \`${J}\`
5
- ${V}`)}function Yz(G,J){let{stackTraceLimit:X,prepareStackTrace:H}=Error,V;if(Error.stackTraceLimit=1+G+J,Error.prepareStackTrace=function(Q,W){V=W},new Error().stack,Error.stackTraceLimit=X,Error.prepareStackTrace=H,!V)return{internal:!1,trace:""};let Z=V.slice(1+G,1+G+J);return{internal:/[\\/]@babel[\\/]/.test(Z[1].getFileName()),trace:Z.map((Q)=>` at ${Q}`).join(`
6
- `)}}});var N1=f((zH)=>{Object.defineProperty(zH,"__esModule",{value:!0});zH.isAccessor=fB;zH.isAnyTypeAnnotation=i3;zH.isArgumentPlaceholder=OU;zH.isArrayExpression=Kz;zH.isArrayPattern=Y3;zH.isArrayTypeAnnotation=a3;zH.isArrowFunctionExpression=z3;zH.isAssignmentExpression=Uz;zH.isAssignmentPattern=W3;zH.isAwaitExpression=k3;zH.isBigIntLiteral=E3;zH.isBinary=rR;zH.isBinaryExpression=Rz;zH.isBindExpression=AU;zH.isBlock=tR;zH.isBlockParent=dR;zH.isBlockStatement=Fz;zH.isBooleanLiteral=hz;zH.isBooleanLiteralTypeAnnotation=r3;zH.isBooleanTypeAnnotation=p3;zH.isBreakStatement=qz;zH.isCallExpression=jz;zH.isCatchClause=Oz;zH.isClass=CB;zH.isClassAccessorProperty=y3;zH.isClassBody=K3;zH.isClassDeclaration=R3;zH.isClassExpression=U3;zH.isClassImplements=d3;zH.isClassMethod=f3;zH.isClassPrivateMethod=m3;zH.isClassPrivateProperty=x3;zH.isClassProperty=u3;zH.isCompletionStatement=eR;zH.isConditional=GB;zH.isConditionalExpression=Az;zH.isContinueStatement=Cz;zH.isDebuggerStatement=Dz;zH.isDecimalLiteral=NU;zH.isDeclaration=zB;zH.isDeclareClass=t3;zH.isDeclareExportAllDeclaration=ZK;zH.isDeclareExportDeclaration=VK;zH.isDeclareFunction=n3;zH.isDeclareInterface=o3;zH.isDeclareModule=e3;zH.isDeclareModuleExports=GK;zH.isDeclareOpaqueType=XK;zH.isDeclareTypeAlias=JK;zH.isDeclareVariable=HK;zH.isDeclaredPredicate=QK;zH.isDecorator=DU;zH.isDirective=Mz;zH.isDirectiveLiteral=$z;zH.isDoExpression=SU;zH.isDoWhileStatement=Sz;zH.isEmptyStatement=fz;zH.isEmptyTypeAnnotation=qK;zH.isEnumBody=bB;zH.isEnumBooleanBody=aK;zH.isEnumBooleanMember=dK;zH.isEnumDeclaration=iK;zH.isEnumDefaultedMember=oK;zH.isEnumMember=kB;zH.isEnumNumberBody=pK;zH.isEnumNumberMember=tK;zH.isEnumStringBody=rK;zH.isEnumStringMember=nK;zH.isEnumSymbolBody=sK;zH.isExistsTypeAnnotation=WK;zH.isExportAllDeclaration=B3;zH.isExportDeclaration=DB;zH.isExportDefaultDeclaration=M3;zH.isExportDefaultSpecifier=fU;zH.isExportNamedDeclaration=$3;zH.isExportNamespaceSpecifier=g3;zH.isExportSpecifier=F3;zH.isExpression=pR;zH.isExpressionStatement=Iz;zH.isExpressionWrapper=HB;zH.isFile=Pz;zH.isFlow=PB;zH.isFlowBaseAnnotation=TB;zH.isFlowDeclaration=wB;zH.isFlowPredicate=LB;zH.isFlowType=NB;zH.isFor=VB;zH.isForInStatement=Nz;zH.isForOfStatement=q3;zH.isForStatement=Tz;zH.isForXStatement=ZB;zH.isFunction=QB;zH.isFunctionDeclaration=wz;zH.isFunctionExpression=Lz;zH.isFunctionParent=WB;zH.isFunctionTypeAnnotation=YK;zH.isFunctionTypeParam=zK;zH.isGenericTypeAnnotation=KK;zH.isIdentifier=bz;zH.isIfStatement=kz;zH.isImmutable=MB;zH.isImport=v3;zH.isImportAttribute=CU;zH.isImportDeclaration=j3;zH.isImportDefaultSpecifier=O3;zH.isImportExpression=D3;zH.isImportNamespaceSpecifier=A3;zH.isImportOrExportDeclaration=YH;zH.isImportSpecifier=C3;zH.isIndexedAccessType=eK;zH.isInferredPredicate=UK;zH.isInterfaceDeclaration=BK;zH.isInterfaceExtends=RK;zH.isInterfaceTypeAnnotation=MK;zH.isInterpreterDirective=Bz;zH.isIntersectionTypeAnnotation=$K;zH.isJSX=vB;zH.isJSXAttribute=JU;zH.isJSXClosingElement=XU;zH.isJSXClosingFragment=$U;zH.isJSXElement=HU;zH.isJSXEmptyExpression=VU;zH.isJSXExpressionContainer=ZU;zH.isJSXFragment=BU;zH.isJSXIdentifier=WU;zH.isJSXMemberExpression=YU;zH.isJSXNamespacedName=zU;zH.isJSXOpeningElement=KU;zH.isJSXOpeningFragment=MU;zH.isJSXSpreadAttribute=UU;zH.isJSXSpreadChild=QU;zH.isJSXText=RU;zH.isLVal=UB;zH.isLabeledStatement=vz;zH.isLiteral=BB;zH.isLogicalExpression=yz;zH.isLoop=JB;zH.isMemberExpression=xz;zH.isMetaProperty=S3;zH.isMethod=FB;zH.isMiscellaneous=EB;zH.isMixedTypeAnnotation=FK;zH.isModuleDeclaration=lB;zH.isModuleExpression=TU;zH.isModuleSpecifier=SB;zH.isNewExpression=mz;zH.isNoop=FU;zH.isNullLiteral=_z;zH.isNullLiteralTypeAnnotation=s3;zH.isNullableTypeAnnotation=jK;zH.isNumberLiteral=yB;zH.isNumberLiteralTypeAnnotation=OK;zH.isNumberTypeAnnotation=AK;zH.isNumericLiteral=gz;zH.isObjectExpression=lz;zH.isObjectMember=qB;zH.isObjectMethod=iz;zH.isObjectPattern=I3;zH.isObjectProperty=az;zH.isObjectTypeAnnotation=CK;zH.isObjectTypeCallProperty=SK;zH.isObjectTypeIndexer=fK;zH.isObjectTypeInternalSlot=DK;zH.isObjectTypeProperty=IK;zH.isObjectTypeSpreadProperty=PK;zH.isOpaqueType=NK;zH.isOptionalCallExpression=h3;zH.isOptionalIndexedAccessType=GU;zH.isOptionalMemberExpression=_3;zH.isParenthesizedExpression=dz;zH.isPattern=AB;zH.isPatternLike=KB;zH.isPipelineBareFunction=bU;zH.isPipelinePrimaryTopicReference=kU;zH.isPipelineTopicExpression=LU;zH.isPlaceholder=qU;zH.isPrivate=IB;zH.isPrivateName=c3;zH.isProgram=cz;zH.isProperty=jB;zH.isPureish=YB;zH.isQualifiedTypeIdentifier=TK;zH.isRecordExpression=IU;zH.isRegExpLiteral=uz;zH.isRegexLiteral=xB;zH.isRestElement=pz;zH.isRestProperty=mB;zH.isReturnStatement=rz;zH.isScopable=sR;zH.isSequenceExpression=sz;zH.isSpreadElement=P3;zH.isSpreadProperty=cB;zH.isStandardized=aR;zH.isStatement=nR;zH.isStaticBlock=l3;zH.isStringLiteral=Ez;zH.isStringLiteralTypeAnnotation=wK;zH.isStringTypeAnnotation=LK;zH.isSuper=N3;zH.isSwitchCase=tz;zH.isSwitchStatement=nz;zH.isSymbolTypeAnnotation=bK;zH.isTSAnyKeyword=cU;zH.isTSArrayType=YR;zH.isTSAsExpression=NR;zH.isTSBaseType=uB;zH.isTSBigIntKeyword=iU;zH.isTSBooleanKeyword=lU;zH.isTSCallSignatureDeclaration=hU;zH.isTSConditionalType=$R;zH.isTSConstructSignatureDeclaration=uU;zH.isTSConstructorType=HR;zH.isTSDeclareFunction=EU;zH.isTSDeclareMethod=gU;zH.isTSEntityName=RB;zH.isTSEnumBody=LR;zH.isTSEnumDeclaration=bR;zH.isTSEnumMember=kR;zH.isTSExportAssignment=yR;zH.isTSExpressionWithTypeArguments=DR;zH.isTSExternalModuleReference=hR;zH.isTSFunctionType=XR;zH.isTSImportEqualsDeclaration=_R;zH.isTSImportType=gR;zH.isTSIndexSignature=mU;zH.isTSIndexedAccessType=OR;zH.isTSInferType=FR;zH.isTSInstantiationExpression=PR;zH.isTSInterfaceBody=fR;zH.isTSInterfaceDeclaration=SR;zH.isTSIntersectionType=MR;zH.isTSIntrinsicKeyword=aU;zH.isTSLiteralType=CR;zH.isTSMappedType=AR;zH.isTSMethodSignature=xU;zH.isTSModuleBlock=ER;zH.isTSModuleDeclaration=vR;zH.isTSNamedTupleMember=RR;zH.isTSNamespaceExportDeclaration=xR;zH.isTSNeverKeyword=pU;zH.isTSNonNullExpression=uR;zH.isTSNullKeyword=rU;zH.isTSNumberKeyword=sU;zH.isTSObjectKeyword=dU;zH.isTSOptionalType=KR;zH.isTSParameterProperty=vU;zH.isTSParenthesizedType=qR;zH.isTSPropertySignature=yU;zH.isTSQualifiedName=_U;zH.isTSRestType=UR;zH.isTSSatisfiesExpression=TR;zH.isTSStringKeyword=tU;zH.isTSSymbolKeyword=nU;zH.isTSThisType=JR;zH.isTSTupleType=zR;zH.isTSType=hB;zH.isTSTypeAliasDeclaration=IR;zH.isTSTypeAnnotation=mR;zH.isTSTypeAssertion=wR;zH.isTSTypeElement=_B;zH.isTSTypeLiteral=WR;zH.isTSTypeOperator=jR;zH.isTSTypeParameter=iR;zH.isTSTypeParameterDeclaration=lR;zH.isTSTypeParameterInstantiation=cR;zH.isTSTypePredicate=ZR;zH.isTSTypeQuery=QR;zH.isTSTypeReference=VR;zH.isTSUndefinedKeyword=oU;zH.isTSUnionType=BR;zH.isTSUnknownKeyword=eU;zH.isTSVoidKeyword=GR;zH.isTaggedTemplateExpression=T3;zH.isTemplateElement=w3;zH.isTemplateLiteral=L3;zH.isTerminatorless=oR;zH.isThisExpression=oz;zH.isThisTypeAnnotation=kK;zH.isThrowStatement=ez;zH.isTopicReference=wU;zH.isTryStatement=G3;zH.isTupleExpression=PU;zH.isTupleTypeAnnotation=vK;zH.isTypeAlias=gK;zH.isTypeAnnotation=_K;zH.isTypeCastExpression=hK;zH.isTypeParameter=uK;zH.isTypeParameterDeclaration=yK;zH.isTypeParameterInstantiation=xK;zH.isTypeScript=gB;zH.isTypeofTypeAnnotation=EK;zH.isUnaryExpression=J3;zH.isUnaryLike=OB;zH.isUnionTypeAnnotation=mK;zH.isUpdateExpression=X3;zH.isUserWhitespacable=$B;zH.isV8IntrinsicIdentifier=jU;zH.isVariableDeclaration=H3;zH.isVariableDeclarator=V3;zH.isVariance=cK;zH.isVoidTypeAnnotation=lK;zH.isWhile=XB;zH.isWhileStatement=Z3;zH.isWithStatement=Q3;zH.isYieldExpression=b3;var B=fX(),gJ=EJ();function Kz(G,J){if(!G)return!1;if(G.type!=="ArrayExpression")return!1;return J==null||B.default(G,J)}function Uz(G,J){if(!G)return!1;if(G.type!=="AssignmentExpression")return!1;return J==null||B.default(G,J)}function Rz(G,J){if(!G)return!1;if(G.type!=="BinaryExpression")return!1;return J==null||B.default(G,J)}function Bz(G,J){if(!G)return!1;if(G.type!=="InterpreterDirective")return!1;return J==null||B.default(G,J)}function Mz(G,J){if(!G)return!1;if(G.type!=="Directive")return!1;return J==null||B.default(G,J)}function $z(G,J){if(!G)return!1;if(G.type!=="DirectiveLiteral")return!1;return J==null||B.default(G,J)}function Fz(G,J){if(!G)return!1;if(G.type!=="BlockStatement")return!1;return J==null||B.default(G,J)}function qz(G,J){if(!G)return!1;if(G.type!=="BreakStatement")return!1;return J==null||B.default(G,J)}function jz(G,J){if(!G)return!1;if(G.type!=="CallExpression")return!1;return J==null||B.default(G,J)}function Oz(G,J){if(!G)return!1;if(G.type!=="CatchClause")return!1;return J==null||B.default(G,J)}function Az(G,J){if(!G)return!1;if(G.type!=="ConditionalExpression")return!1;return J==null||B.default(G,J)}function Cz(G,J){if(!G)return!1;if(G.type!=="ContinueStatement")return!1;return J==null||B.default(G,J)}function Dz(G,J){if(!G)return!1;if(G.type!=="DebuggerStatement")return!1;return J==null||B.default(G,J)}function Sz(G,J){if(!G)return!1;if(G.type!=="DoWhileStatement")return!1;return J==null||B.default(G,J)}function fz(G,J){if(!G)return!1;if(G.type!=="EmptyStatement")return!1;return J==null||B.default(G,J)}function Iz(G,J){if(!G)return!1;if(G.type!=="ExpressionStatement")return!1;return J==null||B.default(G,J)}function Pz(G,J){if(!G)return!1;if(G.type!=="File")return!1;return J==null||B.default(G,J)}function Nz(G,J){if(!G)return!1;if(G.type!=="ForInStatement")return!1;return J==null||B.default(G,J)}function Tz(G,J){if(!G)return!1;if(G.type!=="ForStatement")return!1;return J==null||B.default(G,J)}function wz(G,J){if(!G)return!1;if(G.type!=="FunctionDeclaration")return!1;return J==null||B.default(G,J)}function Lz(G,J){if(!G)return!1;if(G.type!=="FunctionExpression")return!1;return J==null||B.default(G,J)}function bz(G,J){if(!G)return!1;if(G.type!=="Identifier")return!1;return J==null||B.default(G,J)}function kz(G,J){if(!G)return!1;if(G.type!=="IfStatement")return!1;return J==null||B.default(G,J)}function vz(G,J){if(!G)return!1;if(G.type!=="LabeledStatement")return!1;return J==null||B.default(G,J)}function Ez(G,J){if(!G)return!1;if(G.type!=="StringLiteral")return!1;return J==null||B.default(G,J)}function gz(G,J){if(!G)return!1;if(G.type!=="NumericLiteral")return!1;return J==null||B.default(G,J)}function _z(G,J){if(!G)return!1;if(G.type!=="NullLiteral")return!1;return J==null||B.default(G,J)}function hz(G,J){if(!G)return!1;if(G.type!=="BooleanLiteral")return!1;return J==null||B.default(G,J)}function uz(G,J){if(!G)return!1;if(G.type!=="RegExpLiteral")return!1;return J==null||B.default(G,J)}function yz(G,J){if(!G)return!1;if(G.type!=="LogicalExpression")return!1;return J==null||B.default(G,J)}function xz(G,J){if(!G)return!1;if(G.type!=="MemberExpression")return!1;return J==null||B.default(G,J)}function mz(G,J){if(!G)return!1;if(G.type!=="NewExpression")return!1;return J==null||B.default(G,J)}function cz(G,J){if(!G)return!1;if(G.type!=="Program")return!1;return J==null||B.default(G,J)}function lz(G,J){if(!G)return!1;if(G.type!=="ObjectExpression")return!1;return J==null||B.default(G,J)}function iz(G,J){if(!G)return!1;if(G.type!=="ObjectMethod")return!1;return J==null||B.default(G,J)}function az(G,J){if(!G)return!1;if(G.type!=="ObjectProperty")return!1;return J==null||B.default(G,J)}function pz(G,J){if(!G)return!1;if(G.type!=="RestElement")return!1;return J==null||B.default(G,J)}function rz(G,J){if(!G)return!1;if(G.type!=="ReturnStatement")return!1;return J==null||B.default(G,J)}function sz(G,J){if(!G)return!1;if(G.type!=="SequenceExpression")return!1;return J==null||B.default(G,J)}function dz(G,J){if(!G)return!1;if(G.type!=="ParenthesizedExpression")return!1;return J==null||B.default(G,J)}function tz(G,J){if(!G)return!1;if(G.type!=="SwitchCase")return!1;return J==null||B.default(G,J)}function nz(G,J){if(!G)return!1;if(G.type!=="SwitchStatement")return!1;return J==null||B.default(G,J)}function oz(G,J){if(!G)return!1;if(G.type!=="ThisExpression")return!1;return J==null||B.default(G,J)}function ez(G,J){if(!G)return!1;if(G.type!=="ThrowStatement")return!1;return J==null||B.default(G,J)}function G3(G,J){if(!G)return!1;if(G.type!=="TryStatement")return!1;return J==null||B.default(G,J)}function J3(G,J){if(!G)return!1;if(G.type!=="UnaryExpression")return!1;return J==null||B.default(G,J)}function X3(G,J){if(!G)return!1;if(G.type!=="UpdateExpression")return!1;return J==null||B.default(G,J)}function H3(G,J){if(!G)return!1;if(G.type!=="VariableDeclaration")return!1;return J==null||B.default(G,J)}function V3(G,J){if(!G)return!1;if(G.type!=="VariableDeclarator")return!1;return J==null||B.default(G,J)}function Z3(G,J){if(!G)return!1;if(G.type!=="WhileStatement")return!1;return J==null||B.default(G,J)}function Q3(G,J){if(!G)return!1;if(G.type!=="WithStatement")return!1;return J==null||B.default(G,J)}function W3(G,J){if(!G)return!1;if(G.type!=="AssignmentPattern")return!1;return J==null||B.default(G,J)}function Y3(G,J){if(!G)return!1;if(G.type!=="ArrayPattern")return!1;return J==null||B.default(G,J)}function z3(G,J){if(!G)return!1;if(G.type!=="ArrowFunctionExpression")return!1;return J==null||B.default(G,J)}function K3(G,J){if(!G)return!1;if(G.type!=="ClassBody")return!1;return J==null||B.default(G,J)}function U3(G,J){if(!G)return!1;if(G.type!=="ClassExpression")return!1;return J==null||B.default(G,J)}function R3(G,J){if(!G)return!1;if(G.type!=="ClassDeclaration")return!1;return J==null||B.default(G,J)}function B3(G,J){if(!G)return!1;if(G.type!=="ExportAllDeclaration")return!1;return J==null||B.default(G,J)}function M3(G,J){if(!G)return!1;if(G.type!=="ExportDefaultDeclaration")return!1;return J==null||B.default(G,J)}function $3(G,J){if(!G)return!1;if(G.type!=="ExportNamedDeclaration")return!1;return J==null||B.default(G,J)}function F3(G,J){if(!G)return!1;if(G.type!=="ExportSpecifier")return!1;return J==null||B.default(G,J)}function q3(G,J){if(!G)return!1;if(G.type!=="ForOfStatement")return!1;return J==null||B.default(G,J)}function j3(G,J){if(!G)return!1;if(G.type!=="ImportDeclaration")return!1;return J==null||B.default(G,J)}function O3(G,J){if(!G)return!1;if(G.type!=="ImportDefaultSpecifier")return!1;return J==null||B.default(G,J)}function A3(G,J){if(!G)return!1;if(G.type!=="ImportNamespaceSpecifier")return!1;return J==null||B.default(G,J)}function C3(G,J){if(!G)return!1;if(G.type!=="ImportSpecifier")return!1;return J==null||B.default(G,J)}function D3(G,J){if(!G)return!1;if(G.type!=="ImportExpression")return!1;return J==null||B.default(G,J)}function S3(G,J){if(!G)return!1;if(G.type!=="MetaProperty")return!1;return J==null||B.default(G,J)}function f3(G,J){if(!G)return!1;if(G.type!=="ClassMethod")return!1;return J==null||B.default(G,J)}function I3(G,J){if(!G)return!1;if(G.type!=="ObjectPattern")return!1;return J==null||B.default(G,J)}function P3(G,J){if(!G)return!1;if(G.type!=="SpreadElement")return!1;return J==null||B.default(G,J)}function N3(G,J){if(!G)return!1;if(G.type!=="Super")return!1;return J==null||B.default(G,J)}function T3(G,J){if(!G)return!1;if(G.type!=="TaggedTemplateExpression")return!1;return J==null||B.default(G,J)}function w3(G,J){if(!G)return!1;if(G.type!=="TemplateElement")return!1;return J==null||B.default(G,J)}function L3(G,J){if(!G)return!1;if(G.type!=="TemplateLiteral")return!1;return J==null||B.default(G,J)}function b3(G,J){if(!G)return!1;if(G.type!=="YieldExpression")return!1;return J==null||B.default(G,J)}function k3(G,J){if(!G)return!1;if(G.type!=="AwaitExpression")return!1;return J==null||B.default(G,J)}function v3(G,J){if(!G)return!1;if(G.type!=="Import")return!1;return J==null||B.default(G,J)}function E3(G,J){if(!G)return!1;if(G.type!=="BigIntLiteral")return!1;return J==null||B.default(G,J)}function g3(G,J){if(!G)return!1;if(G.type!=="ExportNamespaceSpecifier")return!1;return J==null||B.default(G,J)}function _3(G,J){if(!G)return!1;if(G.type!=="OptionalMemberExpression")return!1;return J==null||B.default(G,J)}function h3(G,J){if(!G)return!1;if(G.type!=="OptionalCallExpression")return!1;return J==null||B.default(G,J)}function u3(G,J){if(!G)return!1;if(G.type!=="ClassProperty")return!1;return J==null||B.default(G,J)}function y3(G,J){if(!G)return!1;if(G.type!=="ClassAccessorProperty")return!1;return J==null||B.default(G,J)}function x3(G,J){if(!G)return!1;if(G.type!=="ClassPrivateProperty")return!1;return J==null||B.default(G,J)}function m3(G,J){if(!G)return!1;if(G.type!=="ClassPrivateMethod")return!1;return J==null||B.default(G,J)}function c3(G,J){if(!G)return!1;if(G.type!=="PrivateName")return!1;return J==null||B.default(G,J)}function l3(G,J){if(!G)return!1;if(G.type!=="StaticBlock")return!1;return J==null||B.default(G,J)}function i3(G,J){if(!G)return!1;if(G.type!=="AnyTypeAnnotation")return!1;return J==null||B.default(G,J)}function a3(G,J){if(!G)return!1;if(G.type!=="ArrayTypeAnnotation")return!1;return J==null||B.default(G,J)}function p3(G,J){if(!G)return!1;if(G.type!=="BooleanTypeAnnotation")return!1;return J==null||B.default(G,J)}function r3(G,J){if(!G)return!1;if(G.type!=="BooleanLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function s3(G,J){if(!G)return!1;if(G.type!=="NullLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function d3(G,J){if(!G)return!1;if(G.type!=="ClassImplements")return!1;return J==null||B.default(G,J)}function t3(G,J){if(!G)return!1;if(G.type!=="DeclareClass")return!1;return J==null||B.default(G,J)}function n3(G,J){if(!G)return!1;if(G.type!=="DeclareFunction")return!1;return J==null||B.default(G,J)}function o3(G,J){if(!G)return!1;if(G.type!=="DeclareInterface")return!1;return J==null||B.default(G,J)}function e3(G,J){if(!G)return!1;if(G.type!=="DeclareModule")return!1;return J==null||B.default(G,J)}function GK(G,J){if(!G)return!1;if(G.type!=="DeclareModuleExports")return!1;return J==null||B.default(G,J)}function JK(G,J){if(!G)return!1;if(G.type!=="DeclareTypeAlias")return!1;return J==null||B.default(G,J)}function XK(G,J){if(!G)return!1;if(G.type!=="DeclareOpaqueType")return!1;return J==null||B.default(G,J)}function HK(G,J){if(!G)return!1;if(G.type!=="DeclareVariable")return!1;return J==null||B.default(G,J)}function VK(G,J){if(!G)return!1;if(G.type!=="DeclareExportDeclaration")return!1;return J==null||B.default(G,J)}function ZK(G,J){if(!G)return!1;if(G.type!=="DeclareExportAllDeclaration")return!1;return J==null||B.default(G,J)}function QK(G,J){if(!G)return!1;if(G.type!=="DeclaredPredicate")return!1;return J==null||B.default(G,J)}function WK(G,J){if(!G)return!1;if(G.type!=="ExistsTypeAnnotation")return!1;return J==null||B.default(G,J)}function YK(G,J){if(!G)return!1;if(G.type!=="FunctionTypeAnnotation")return!1;return J==null||B.default(G,J)}function zK(G,J){if(!G)return!1;if(G.type!=="FunctionTypeParam")return!1;return J==null||B.default(G,J)}function KK(G,J){if(!G)return!1;if(G.type!=="GenericTypeAnnotation")return!1;return J==null||B.default(G,J)}function UK(G,J){if(!G)return!1;if(G.type!=="InferredPredicate")return!1;return J==null||B.default(G,J)}function RK(G,J){if(!G)return!1;if(G.type!=="InterfaceExtends")return!1;return J==null||B.default(G,J)}function BK(G,J){if(!G)return!1;if(G.type!=="InterfaceDeclaration")return!1;return J==null||B.default(G,J)}function MK(G,J){if(!G)return!1;if(G.type!=="InterfaceTypeAnnotation")return!1;return J==null||B.default(G,J)}function $K(G,J){if(!G)return!1;if(G.type!=="IntersectionTypeAnnotation")return!1;return J==null||B.default(G,J)}function FK(G,J){if(!G)return!1;if(G.type!=="MixedTypeAnnotation")return!1;return J==null||B.default(G,J)}function qK(G,J){if(!G)return!1;if(G.type!=="EmptyTypeAnnotation")return!1;return J==null||B.default(G,J)}function jK(G,J){if(!G)return!1;if(G.type!=="NullableTypeAnnotation")return!1;return J==null||B.default(G,J)}function OK(G,J){if(!G)return!1;if(G.type!=="NumberLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function AK(G,J){if(!G)return!1;if(G.type!=="NumberTypeAnnotation")return!1;return J==null||B.default(G,J)}function CK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeAnnotation")return!1;return J==null||B.default(G,J)}function DK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeInternalSlot")return!1;return J==null||B.default(G,J)}function SK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeCallProperty")return!1;return J==null||B.default(G,J)}function fK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeIndexer")return!1;return J==null||B.default(G,J)}function IK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeProperty")return!1;return J==null||B.default(G,J)}function PK(G,J){if(!G)return!1;if(G.type!=="ObjectTypeSpreadProperty")return!1;return J==null||B.default(G,J)}function NK(G,J){if(!G)return!1;if(G.type!=="OpaqueType")return!1;return J==null||B.default(G,J)}function TK(G,J){if(!G)return!1;if(G.type!=="QualifiedTypeIdentifier")return!1;return J==null||B.default(G,J)}function wK(G,J){if(!G)return!1;if(G.type!=="StringLiteralTypeAnnotation")return!1;return J==null||B.default(G,J)}function LK(G,J){if(!G)return!1;if(G.type!=="StringTypeAnnotation")return!1;return J==null||B.default(G,J)}function bK(G,J){if(!G)return!1;if(G.type!=="SymbolTypeAnnotation")return!1;return J==null||B.default(G,J)}function kK(G,J){if(!G)return!1;if(G.type!=="ThisTypeAnnotation")return!1;return J==null||B.default(G,J)}function vK(G,J){if(!G)return!1;if(G.type!=="TupleTypeAnnotation")return!1;return J==null||B.default(G,J)}function EK(G,J){if(!G)return!1;if(G.type!=="TypeofTypeAnnotation")return!1;return J==null||B.default(G,J)}function gK(G,J){if(!G)return!1;if(G.type!=="TypeAlias")return!1;return J==null||B.default(G,J)}function _K(G,J){if(!G)return!1;if(G.type!=="TypeAnnotation")return!1;return J==null||B.default(G,J)}function hK(G,J){if(!G)return!1;if(G.type!=="TypeCastExpression")return!1;return J==null||B.default(G,J)}function uK(G,J){if(!G)return!1;if(G.type!=="TypeParameter")return!1;return J==null||B.default(G,J)}function yK(G,J){if(!G)return!1;if(G.type!=="TypeParameterDeclaration")return!1;return J==null||B.default(G,J)}function xK(G,J){if(!G)return!1;if(G.type!=="TypeParameterInstantiation")return!1;return J==null||B.default(G,J)}function mK(G,J){if(!G)return!1;if(G.type!=="UnionTypeAnnotation")return!1;return J==null||B.default(G,J)}function cK(G,J){if(!G)return!1;if(G.type!=="Variance")return!1;return J==null||B.default(G,J)}function lK(G,J){if(!G)return!1;if(G.type!=="VoidTypeAnnotation")return!1;return J==null||B.default(G,J)}function iK(G,J){if(!G)return!1;if(G.type!=="EnumDeclaration")return!1;return J==null||B.default(G,J)}function aK(G,J){if(!G)return!1;if(G.type!=="EnumBooleanBody")return!1;return J==null||B.default(G,J)}function pK(G,J){if(!G)return!1;if(G.type!=="EnumNumberBody")return!1;return J==null||B.default(G,J)}function rK(G,J){if(!G)return!1;if(G.type!=="EnumStringBody")return!1;return J==null||B.default(G,J)}function sK(G,J){if(!G)return!1;if(G.type!=="EnumSymbolBody")return!1;return J==null||B.default(G,J)}function dK(G,J){if(!G)return!1;if(G.type!=="EnumBooleanMember")return!1;return J==null||B.default(G,J)}function tK(G,J){if(!G)return!1;if(G.type!=="EnumNumberMember")return!1;return J==null||B.default(G,J)}function nK(G,J){if(!G)return!1;if(G.type!=="EnumStringMember")return!1;return J==null||B.default(G,J)}function oK(G,J){if(!G)return!1;if(G.type!=="EnumDefaultedMember")return!1;return J==null||B.default(G,J)}function eK(G,J){if(!G)return!1;if(G.type!=="IndexedAccessType")return!1;return J==null||B.default(G,J)}function GU(G,J){if(!G)return!1;if(G.type!=="OptionalIndexedAccessType")return!1;return J==null||B.default(G,J)}function JU(G,J){if(!G)return!1;if(G.type!=="JSXAttribute")return!1;return J==null||B.default(G,J)}function XU(G,J){if(!G)return!1;if(G.type!=="JSXClosingElement")return!1;return J==null||B.default(G,J)}function HU(G,J){if(!G)return!1;if(G.type!=="JSXElement")return!1;return J==null||B.default(G,J)}function VU(G,J){if(!G)return!1;if(G.type!=="JSXEmptyExpression")return!1;return J==null||B.default(G,J)}function ZU(G,J){if(!G)return!1;if(G.type!=="JSXExpressionContainer")return!1;return J==null||B.default(G,J)}function QU(G,J){if(!G)return!1;if(G.type!=="JSXSpreadChild")return!1;return J==null||B.default(G,J)}function WU(G,J){if(!G)return!1;if(G.type!=="JSXIdentifier")return!1;return J==null||B.default(G,J)}function YU(G,J){if(!G)return!1;if(G.type!=="JSXMemberExpression")return!1;return J==null||B.default(G,J)}function zU(G,J){if(!G)return!1;if(G.type!=="JSXNamespacedName")return!1;return J==null||B.default(G,J)}function KU(G,J){if(!G)return!1;if(G.type!=="JSXOpeningElement")return!1;return J==null||B.default(G,J)}function UU(G,J){if(!G)return!1;if(G.type!=="JSXSpreadAttribute")return!1;return J==null||B.default(G,J)}function RU(G,J){if(!G)return!1;if(G.type!=="JSXText")return!1;return J==null||B.default(G,J)}function BU(G,J){if(!G)return!1;if(G.type!=="JSXFragment")return!1;return J==null||B.default(G,J)}function MU(G,J){if(!G)return!1;if(G.type!=="JSXOpeningFragment")return!1;return J==null||B.default(G,J)}function $U(G,J){if(!G)return!1;if(G.type!=="JSXClosingFragment")return!1;return J==null||B.default(G,J)}function FU(G,J){if(!G)return!1;if(G.type!=="Noop")return!1;return J==null||B.default(G,J)}function qU(G,J){if(!G)return!1;if(G.type!=="Placeholder")return!1;return J==null||B.default(G,J)}function jU(G,J){if(!G)return!1;if(G.type!=="V8IntrinsicIdentifier")return!1;return J==null||B.default(G,J)}function OU(G,J){if(!G)return!1;if(G.type!=="ArgumentPlaceholder")return!1;return J==null||B.default(G,J)}function AU(G,J){if(!G)return!1;if(G.type!=="BindExpression")return!1;return J==null||B.default(G,J)}function CU(G,J){if(!G)return!1;if(G.type!=="ImportAttribute")return!1;return J==null||B.default(G,J)}function DU(G,J){if(!G)return!1;if(G.type!=="Decorator")return!1;return J==null||B.default(G,J)}function SU(G,J){if(!G)return!1;if(G.type!=="DoExpression")return!1;return J==null||B.default(G,J)}function fU(G,J){if(!G)return!1;if(G.type!=="ExportDefaultSpecifier")return!1;return J==null||B.default(G,J)}function IU(G,J){if(!G)return!1;if(G.type!=="RecordExpression")return!1;return J==null||B.default(G,J)}function PU(G,J){if(!G)return!1;if(G.type!=="TupleExpression")return!1;return J==null||B.default(G,J)}function NU(G,J){if(!G)return!1;if(G.type!=="DecimalLiteral")return!1;return J==null||B.default(G,J)}function TU(G,J){if(!G)return!1;if(G.type!=="ModuleExpression")return!1;return J==null||B.default(G,J)}function wU(G,J){if(!G)return!1;if(G.type!=="TopicReference")return!1;return J==null||B.default(G,J)}function LU(G,J){if(!G)return!1;if(G.type!=="PipelineTopicExpression")return!1;return J==null||B.default(G,J)}function bU(G,J){if(!G)return!1;if(G.type!=="PipelineBareFunction")return!1;return J==null||B.default(G,J)}function kU(G,J){if(!G)return!1;if(G.type!=="PipelinePrimaryTopicReference")return!1;return J==null||B.default(G,J)}function vU(G,J){if(!G)return!1;if(G.type!=="TSParameterProperty")return!1;return J==null||B.default(G,J)}function EU(G,J){if(!G)return!1;if(G.type!=="TSDeclareFunction")return!1;return J==null||B.default(G,J)}function gU(G,J){if(!G)return!1;if(G.type!=="TSDeclareMethod")return!1;return J==null||B.default(G,J)}function _U(G,J){if(!G)return!1;if(G.type!=="TSQualifiedName")return!1;return J==null||B.default(G,J)}function hU(G,J){if(!G)return!1;if(G.type!=="TSCallSignatureDeclaration")return!1;return J==null||B.default(G,J)}function uU(G,J){if(!G)return!1;if(G.type!=="TSConstructSignatureDeclaration")return!1;return J==null||B.default(G,J)}function yU(G,J){if(!G)return!1;if(G.type!=="TSPropertySignature")return!1;return J==null||B.default(G,J)}function xU(G,J){if(!G)return!1;if(G.type!=="TSMethodSignature")return!1;return J==null||B.default(G,J)}function mU(G,J){if(!G)return!1;if(G.type!=="TSIndexSignature")return!1;return J==null||B.default(G,J)}function cU(G,J){if(!G)return!1;if(G.type!=="TSAnyKeyword")return!1;return J==null||B.default(G,J)}function lU(G,J){if(!G)return!1;if(G.type!=="TSBooleanKeyword")return!1;return J==null||B.default(G,J)}function iU(G,J){if(!G)return!1;if(G.type!=="TSBigIntKeyword")return!1;return J==null||B.default(G,J)}function aU(G,J){if(!G)return!1;if(G.type!=="TSIntrinsicKeyword")return!1;return J==null||B.default(G,J)}function pU(G,J){if(!G)return!1;if(G.type!=="TSNeverKeyword")return!1;return J==null||B.default(G,J)}function rU(G,J){if(!G)return!1;if(G.type!=="TSNullKeyword")return!1;return J==null||B.default(G,J)}function sU(G,J){if(!G)return!1;if(G.type!=="TSNumberKeyword")return!1;return J==null||B.default(G,J)}function dU(G,J){if(!G)return!1;if(G.type!=="TSObjectKeyword")return!1;return J==null||B.default(G,J)}function tU(G,J){if(!G)return!1;if(G.type!=="TSStringKeyword")return!1;return J==null||B.default(G,J)}function nU(G,J){if(!G)return!1;if(G.type!=="TSSymbolKeyword")return!1;return J==null||B.default(G,J)}function oU(G,J){if(!G)return!1;if(G.type!=="TSUndefinedKeyword")return!1;return J==null||B.default(G,J)}function eU(G,J){if(!G)return!1;if(G.type!=="TSUnknownKeyword")return!1;return J==null||B.default(G,J)}function GR(G,J){if(!G)return!1;if(G.type!=="TSVoidKeyword")return!1;return J==null||B.default(G,J)}function JR(G,J){if(!G)return!1;if(G.type!=="TSThisType")return!1;return J==null||B.default(G,J)}function XR(G,J){if(!G)return!1;if(G.type!=="TSFunctionType")return!1;return J==null||B.default(G,J)}function HR(G,J){if(!G)return!1;if(G.type!=="TSConstructorType")return!1;return J==null||B.default(G,J)}function VR(G,J){if(!G)return!1;if(G.type!=="TSTypeReference")return!1;return J==null||B.default(G,J)}function ZR(G,J){if(!G)return!1;if(G.type!=="TSTypePredicate")return!1;return J==null||B.default(G,J)}function QR(G,J){if(!G)return!1;if(G.type!=="TSTypeQuery")return!1;return J==null||B.default(G,J)}function WR(G,J){if(!G)return!1;if(G.type!=="TSTypeLiteral")return!1;return J==null||B.default(G,J)}function YR(G,J){if(!G)return!1;if(G.type!=="TSArrayType")return!1;return J==null||B.default(G,J)}function zR(G,J){if(!G)return!1;if(G.type!=="TSTupleType")return!1;return J==null||B.default(G,J)}function KR(G,J){if(!G)return!1;if(G.type!=="TSOptionalType")return!1;return J==null||B.default(G,J)}function UR(G,J){if(!G)return!1;if(G.type!=="TSRestType")return!1;return J==null||B.default(G,J)}function RR(G,J){if(!G)return!1;if(G.type!=="TSNamedTupleMember")return!1;return J==null||B.default(G,J)}function BR(G,J){if(!G)return!1;if(G.type!=="TSUnionType")return!1;return J==null||B.default(G,J)}function MR(G,J){if(!G)return!1;if(G.type!=="TSIntersectionType")return!1;return J==null||B.default(G,J)}function $R(G,J){if(!G)return!1;if(G.type!=="TSConditionalType")return!1;return J==null||B.default(G,J)}function FR(G,J){if(!G)return!1;if(G.type!=="TSInferType")return!1;return J==null||B.default(G,J)}function qR(G,J){if(!G)return!1;if(G.type!=="TSParenthesizedType")return!1;return J==null||B.default(G,J)}function jR(G,J){if(!G)return!1;if(G.type!=="TSTypeOperator")return!1;return J==null||B.default(G,J)}function OR(G,J){if(!G)return!1;if(G.type!=="TSIndexedAccessType")return!1;return J==null||B.default(G,J)}function AR(G,J){if(!G)return!1;if(G.type!=="TSMappedType")return!1;return J==null||B.default(G,J)}function CR(G,J){if(!G)return!1;if(G.type!=="TSLiteralType")return!1;return J==null||B.default(G,J)}function DR(G,J){if(!G)return!1;if(G.type!=="TSExpressionWithTypeArguments")return!1;return J==null||B.default(G,J)}function SR(G,J){if(!G)return!1;if(G.type!=="TSInterfaceDeclaration")return!1;return J==null||B.default(G,J)}function fR(G,J){if(!G)return!1;if(G.type!=="TSInterfaceBody")return!1;return J==null||B.default(G,J)}function IR(G,J){if(!G)return!1;if(G.type!=="TSTypeAliasDeclaration")return!1;return J==null||B.default(G,J)}function PR(G,J){if(!G)return!1;if(G.type!=="TSInstantiationExpression")return!1;return J==null||B.default(G,J)}function NR(G,J){if(!G)return!1;if(G.type!=="TSAsExpression")return!1;return J==null||B.default(G,J)}function TR(G,J){if(!G)return!1;if(G.type!=="TSSatisfiesExpression")return!1;return J==null||B.default(G,J)}function wR(G,J){if(!G)return!1;if(G.type!=="TSTypeAssertion")return!1;return J==null||B.default(G,J)}function LR(G,J){if(!G)return!1;if(G.type!=="TSEnumBody")return!1;return J==null||B.default(G,J)}function bR(G,J){if(!G)return!1;if(G.type!=="TSEnumDeclaration")return!1;return J==null||B.default(G,J)}function kR(G,J){if(!G)return!1;if(G.type!=="TSEnumMember")return!1;return J==null||B.default(G,J)}function vR(G,J){if(!G)return!1;if(G.type!=="TSModuleDeclaration")return!1;return J==null||B.default(G,J)}function ER(G,J){if(!G)return!1;if(G.type!=="TSModuleBlock")return!1;return J==null||B.default(G,J)}function gR(G,J){if(!G)return!1;if(G.type!=="TSImportType")return!1;return J==null||B.default(G,J)}function _R(G,J){if(!G)return!1;if(G.type!=="TSImportEqualsDeclaration")return!1;return J==null||B.default(G,J)}function hR(G,J){if(!G)return!1;if(G.type!=="TSExternalModuleReference")return!1;return J==null||B.default(G,J)}function uR(G,J){if(!G)return!1;if(G.type!=="TSNonNullExpression")return!1;return J==null||B.default(G,J)}function yR(G,J){if(!G)return!1;if(G.type!=="TSExportAssignment")return!1;return J==null||B.default(G,J)}function xR(G,J){if(!G)return!1;if(G.type!=="TSNamespaceExportDeclaration")return!1;return J==null||B.default(G,J)}function mR(G,J){if(!G)return!1;if(G.type!=="TSTypeAnnotation")return!1;return J==null||B.default(G,J)}function cR(G,J){if(!G)return!1;if(G.type!=="TSTypeParameterInstantiation")return!1;return J==null||B.default(G,J)}function lR(G,J){if(!G)return!1;if(G.type!=="TSTypeParameterDeclaration")return!1;return J==null||B.default(G,J)}function iR(G,J){if(!G)return!1;if(G.type!=="TSTypeParameter")return!1;return J==null||B.default(G,J)}function aR(G,J){if(!G)return!1;switch(G.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(G.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function pR(G,J){if(!G)return!1;switch(G.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(G.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function rR(G,J){if(!G)return!1;switch(G.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return J==null||B.default(G,J)}function sR(G,J){if(!G)return!1;switch(G.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(G.expectedNode==="BlockStatement")break;default:return!1}return J==null||B.default(G,J)}function dR(G,J){if(!G)return!1;switch(G.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(G.expectedNode==="BlockStatement")break;default:return!1}return J==null||B.default(G,J)}function tR(G,J){if(!G)return!1;switch(G.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(G.expectedNode==="BlockStatement")break;default:return!1}return J==null||B.default(G,J)}function nR(G,J){if(!G)return!1;switch(G.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(G.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function oR(G,J){if(!G)return!1;switch(G.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return J==null||B.default(G,J)}function eR(G,J){if(!G)return!1;switch(G.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return J==null||B.default(G,J)}function GB(G,J){if(!G)return!1;switch(G.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return J==null||B.default(G,J)}function JB(G,J){if(!G)return!1;switch(G.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return J==null||B.default(G,J)}function XB(G,J){if(!G)return!1;switch(G.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return J==null||B.default(G,J)}function HB(G,J){if(!G)return!1;switch(G.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return J==null||B.default(G,J)}function VB(G,J){if(!G)return!1;switch(G.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return J==null||B.default(G,J)}function ZB(G,J){if(!G)return!1;switch(G.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return J==null||B.default(G,J)}function QB(G,J){if(!G)return!1;switch(G.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return J==null||B.default(G,J)}function WB(G,J){if(!G)return!1;switch(G.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return J==null||B.default(G,J)}function YB(G,J){if(!G)return!1;switch(G.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(G.expectedNode==="StringLiteral")break;default:return!1}return J==null||B.default(G,J)}function zB(G,J){if(!G)return!1;switch(G.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":break;case"Placeholder":if(G.expectedNode==="Declaration")break;default:return!1}return J==null||B.default(G,J)}function KB(G,J){if(!G)return!1;switch(G.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(G.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function UB(G,J){if(!G)return!1;switch(G.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(G.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return J==null||B.default(G,J)}function RB(G,J){if(!G)return!1;switch(G.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(G.expectedNode==="Identifier")break;default:return!1}return J==null||B.default(G,J)}function BB(G,J){if(!G)return!1;switch(G.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(G.expectedNode==="StringLiteral")break;default:return!1}return J==null||B.default(G,J)}function MB(G,J){if(!G)return!1;switch(G.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(G.expectedNode==="StringLiteral")break;default:return!1}return J==null||B.default(G,J)}function $B(G,J){if(!G)return!1;switch(G.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return J==null||B.default(G,J)}function FB(G,J){if(!G)return!1;switch(G.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return J==null||B.default(G,J)}function qB(G,J){if(!G)return!1;switch(G.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return J==null||B.default(G,J)}function jB(G,J){if(!G)return!1;switch(G.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return J==null||B.default(G,J)}function OB(G,J){if(!G)return!1;switch(G.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return J==null||B.default(G,J)}function AB(G,J){if(!G)return!1;switch(G.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(G.expectedNode==="Pattern")break;default:return!1}return J==null||B.default(G,J)}function CB(G,J){if(!G)return!1;switch(G.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return J==null||B.default(G,J)}function YH(G,J){if(!G)return!1;switch(G.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return J==null||B.default(G,J)}function DB(G,J){if(!G)return!1;switch(G.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return J==null||B.default(G,J)}function SB(G,J){if(!G)return!1;switch(G.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return J==null||B.default(G,J)}function fB(G,J){if(!G)return!1;switch(G.type){case"ClassAccessorProperty":break;default:return!1}return J==null||B.default(G,J)}function IB(G,J){if(!G)return!1;switch(G.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return J==null||B.default(G,J)}function PB(G,J){if(!G)return!1;switch(G.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 J==null||B.default(G,J)}function NB(G,J){if(!G)return!1;switch(G.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 J==null||B.default(G,J)}function TB(G,J){if(!G)return!1;switch(G.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 J==null||B.default(G,J)}function wB(G,J){if(!G)return!1;switch(G.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 J==null||B.default(G,J)}function LB(G,J){if(!G)return!1;switch(G.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return J==null||B.default(G,J)}function bB(G,J){if(!G)return!1;switch(G.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return J==null||B.default(G,J)}function kB(G,J){if(!G)return!1;switch(G.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return J==null||B.default(G,J)}function vB(G,J){if(!G)return!1;switch(G.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 J==null||B.default(G,J)}function EB(G,J){if(!G)return!1;switch(G.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return J==null||B.default(G,J)}function gB(G,J){if(!G)return!1;switch(G.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"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 J==null||B.default(G,J)}function _B(G,J){if(!G)return!1;switch(G.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return J==null||B.default(G,J)}function hB(G,J){if(!G)return!1;switch(G.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"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return J==null||B.default(G,J)}function uB(G,J){if(!G)return!1;switch(G.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"TSLiteralType":break;default:return!1}return J==null||B.default(G,J)}function yB(G,J){if(gJ.default("isNumberLiteral","isNumericLiteral"),!G)return!1;if(G.type!=="NumberLiteral")return!1;return J==null||B.default(G,J)}function xB(G,J){if(gJ.default("isRegexLiteral","isRegExpLiteral"),!G)return!1;if(G.type!=="RegexLiteral")return!1;return J==null||B.default(G,J)}function mB(G,J){if(gJ.default("isRestProperty","isRestElement"),!G)return!1;if(G.type!=="RestProperty")return!1;return J==null||B.default(G,J)}function cB(G,J){if(gJ.default("isSpreadProperty","isSpreadElement"),!G)return!1;if(G.type!=="SpreadProperty")return!1;return J==null||B.default(G,J)}function lB(G,J){return gJ.default("isModuleDeclaration","isImportOrExportDeclaration"),YH(G,J)}});var l0=f((KH)=>{Object.defineProperty(KH,"__esModule",{value:!0});KH.default=IO;var _J=N1();function IO(G,J,X){if(!_J.isMemberExpression(G))return!1;let H=Array.isArray(J)?J:J.split("."),V=[],Z;for(Z=G;_J.isMemberExpression(Z);Z=Z.object)V.push(Z.property);if(V.push(Z),V.length<H.length)return!1;if(!X&&V.length>H.length)return!1;for(let Q=0,W=V.length-1;Q<H.length;Q++,W--){let Y=V[W],z;if(_J.isIdentifier(Y))z=Y.name;else if(_J.isStringLiteral(Y))z=Y.value;else if(_J.isThisExpression(Y))z="this";else return!1;if(H[Q]!==z)return!1}return!0}});var i0=f((UH)=>{Object.defineProperty(UH,"__esModule",{value:!0});UH.default=TO;var NO=l0();function TO(G,J){let X=G.split(".");return(H)=>NO.default(H,X,J)}});var MH=f((RH)=>{Object.defineProperty(RH,"__esModule",{value:!0});RH.default=void 0;var LO=i0(),bO=LO.default("React.Component"),BK1=RH.default=bO});var FH=f(($H)=>{Object.defineProperty($H,"__esModule",{value:!0});$H.default=kO;function kO(G){return!!G&&/^[a-z]/.test(G)}});var IX=f((jH)=>{Object.defineProperty(jH,"__esModule",{value:!0});jH.default=EO;var qH=n1();function EO(G,J){if(G===J)return!0;if(G==null)return!1;if(qH.ALIAS_KEYS[J])return!1;let X=qH.FLIPPED_ALIAS_KEYS[J];if(X){if(X[0]===G)return!0;for(let H of X)if(G===H)return!0}return!1}});var a0=f((OH)=>{Object.defineProperty(OH,"__esModule",{value:!0});OH.default=hO;var _O=n1();function hO(G,J){if(G===J)return!0;let X=_O.PLACEHOLDERS_ALIAS[G];if(X){for(let H of X)if(J===H)return!0}return!1}});var KJ=f((AH)=>{Object.defineProperty(AH,"__esModule",{value:!0});AH.default=lO;var yO=fX(),xO=IX(),mO=a0(),cO=n1();function lO(G,J,X){if(!J)return!1;if(!xO.default(J.type,G)){if(!X&&J.type==="Placeholder"&&G in cO.FLIPPED_ALIAS_KEYS)return mO.default(J.expectedNode,G);return!1}if(X===void 0)return!0;else return yO.default(J,X)}});var PH=f((IH)=>{Object.defineProperty(IH,"__esModule",{value:!0});IH.isIdentifierChar=fH;IH.isIdentifierName=sO;IH.isIdentifierStart=SH;var r0="\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",CH="\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",aO=new RegExp("["+r0+"]"),pO=new RegExp("["+r0+CH+"]");r0=CH=null;var DH=[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],rO=[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 p0(G,J){let X=65536;for(let H=0,V=J.length;H<V;H+=2){if(X+=J[H],X>G)return!1;if(X+=J[H+1],X>=G)return!0}return!1}function SH(G){if(G<65)return G===36;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&aO.test(String.fromCharCode(G));return p0(G,DH)}function fH(G){if(G<48)return G===36;if(G<58)return!0;if(G<65)return!1;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&pO.test(String.fromCharCode(G));return p0(G,DH)||p0(G,rO)}function sO(G){let J=!0;for(let X=0;X<G.length;X++){let H=G.charCodeAt(X);if((H&64512)===55296&&X+1<G.length){let V=G.charCodeAt(++X);if((V&64512)===56320)H=65536+((H&1023)<<10)+(V&1023)}if(J){if(J=!1,!SH(H))return!1}else if(!fH(H))return!1}return!J}});var bH=f((LH)=>{Object.defineProperty(LH,"__esModule",{value:!0});LH.isKeyword=XA;LH.isReservedWord=NH;LH.isStrictBindOnlyReservedWord=wH;LH.isStrictBindReservedWord=JA;LH.isStrictReservedWord=TH;var s0={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"]},oO=new Set(s0.keyword),eO=new Set(s0.strict),GA=new Set(s0.strictBind);function NH(G,J){return J&&G==="await"||G==="enum"}function TH(G,J){return NH(G,J)||eO.has(G)}function wH(G){return GA.has(G)}function JA(G,J){return TH(G,J)||wH(G)}function XA(G){return oO.has(G)}});var uJ=f((UG)=>{Object.defineProperty(UG,"__esModule",{value:!0});Object.defineProperty(UG,"isIdentifierChar",{enumerable:!0,get:function(){return d0.isIdentifierChar}});Object.defineProperty(UG,"isIdentifierName",{enumerable:!0,get:function(){return d0.isIdentifierName}});Object.defineProperty(UG,"isIdentifierStart",{enumerable:!0,get:function(){return d0.isIdentifierStart}});Object.defineProperty(UG,"isKeyword",{enumerable:!0,get:function(){return hJ.isKeyword}});Object.defineProperty(UG,"isReservedWord",{enumerable:!0,get:function(){return hJ.isReservedWord}});Object.defineProperty(UG,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return hJ.isStrictBindOnlyReservedWord}});Object.defineProperty(UG,"isStrictBindReservedWord",{enumerable:!0,get:function(){return hJ.isStrictBindReservedWord}});Object.defineProperty(UG,"isStrictReservedWord",{enumerable:!0,get:function(){return hJ.isStrictReservedWord}});var d0=PH(),hJ=bH()});var UJ=f((kH)=>{Object.defineProperty(kH,"__esModule",{value:!0});kH.default=YA;var t0=uJ();function YA(G,J=!0){if(typeof G!=="string")return!1;if(J){if(t0.isKeyword(G)||t0.isStrictReservedWord(G,!0))return!1}return t0.isIdentifierName(G)}});var hH=f((_H)=>{Object.defineProperty(_H,"__esModule",{value:!0});_H.readCodePoint=gH;_H.readInt=EH;_H.readStringContents=UA;var KA=function G(J){return J>=48&&J<=57},vH={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},PX={bin:(G)=>G===48||G===49,oct:(G)=>G>=48&&G<=55,dec:(G)=>G>=48&&G<=57,hex:(G)=>G>=48&&G<=57||G>=65&&G<=70||G>=97&&G<=102};function UA(G,J,X,H,V,Z){let Q=X,W=H,Y=V,z="",U=null,q=X,{length:A}=J;for(;;){if(X>=A){Z.unterminated(Q,W,Y),z+=J.slice(q,X);break}let C=J.charCodeAt(X);if(RA(G,C,J,X)){z+=J.slice(q,X);break}if(C===92){z+=J.slice(q,X);let D=BA(J,X,H,V,G==="template",Z);if(D.ch===null&&!U)U={pos:X,lineStart:H,curLine:V};else z+=D.ch;({pos:X,lineStart:H,curLine:V}=D),q=X}else if(C===8232||C===8233)++X,++V,H=X;else if(C===10||C===13)if(G==="template"){if(z+=J.slice(q,X)+`
7
- `,++X,C===13&&J.charCodeAt(X)===10)++X;++V,q=H=X}else Z.unterminated(Q,W,Y);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function RA(G,J,X,H){if(G==="template")return J===96||J===36&&X.charCodeAt(H+1)===123;return J===(G==="double"?34:39)}function BA(G,J,X,H,V,Z){let Q=!V;J++;let W=(z)=>({pos:J,ch:z,lineStart:X,curLine:H}),Y=G.charCodeAt(J++);switch(Y){case 110:return W(`
8
- `);case 114:return W("\r");case 120:{let z;return{code:z,pos:J}=n0(G,J,X,H,2,!1,Q,Z),W(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:J}=gH(G,J,X,H,Q,Z),W(z===null?null:String.fromCodePoint(z))}case 116:return W("\t");case 98:return W("\b");case 118:return W("\v");case 102:return W("\f");case 13:if(G.charCodeAt(J)===10)++J;case 10:X=J,++H;case 8232:case 8233:return W("");case 56:case 57:if(V)return W(null);else Z.strictNumericEscape(J-1,X,H);default:if(Y>=48&&Y<=55){let z=J-1,q=/^[0-7]+/.exec(G.slice(z,J+2))[0],A=parseInt(q,8);if(A>255)q=q.slice(0,-1),A=parseInt(q,8);J+=q.length-1;let C=G.charCodeAt(J);if(q!=="0"||C===56||C===57)if(V)return W(null);else Z.strictNumericEscape(z,X,H);return W(String.fromCharCode(A))}return W(String.fromCharCode(Y))}}function n0(G,J,X,H,V,Z,Q,W){let Y=J,z;if({n:z,pos:J}=EH(G,J,X,H,16,V,Z,!1,W,!Q),z===null)if(Q)W.invalidEscapeSequence(Y,X,H);else J=Y-1;return{code:z,pos:J}}function EH(G,J,X,H,V,Z,Q,W,Y,z){let U=J,q=V===16?vH.hex:vH.decBinOct,A=V===16?PX.hex:V===10?PX.dec:V===8?PX.oct:PX.bin,C=!1,D=0;for(let L=0,P=Z==null?1/0:Z;L<P;++L){let w=G.charCodeAt(J),b;if(w===95&&W!=="bail"){let X1=G.charCodeAt(J-1),r=G.charCodeAt(J+1);if(!W){if(z)return{n:null,pos:J};Y.numericSeparatorInEscapeSequence(J,X,H)}else if(Number.isNaN(r)||!A(r)||q.has(X1)||q.has(r)){if(z)return{n:null,pos:J};Y.unexpectedNumericSeparator(J,X,H)}++J;continue}if(w>=97)b=w-97+10;else if(w>=65)b=w-65+10;else if(KA(w))b=w-48;else b=1/0;if(b>=V)if(b<=9&&z)return{n:null,pos:J};else if(b<=9&&Y.invalidDigit(J,X,H,V))b=0;else if(Q)b=0,C=!0;else break;++J,D=D*V+b}if(J===U||Z!=null&&J-U!==Z||C)return{n:null,pos:J};return{n:D,pos:J}}function gH(G,J,X,H,V,Z){let Q=G.charCodeAt(J),W;if(Q===123){if(++J,{code:W,pos:J}=n0(G,J,X,H,G.indexOf("}",J)-J,!0,V,Z),++J,W!==null&&W>1114111)if(V)Z.invalidCodePoint(J,X,H);else return{code:null,pos:J}}else({code:W,pos:J}=n0(G,J,X,H,4,!1,V,Z));return{code:W,pos:J}}});var kG=f((yH)=>{Object.defineProperty(yH,"__esModule",{value:!0});yH.UPDATE_OPERATORS=yH.UNARY_OPERATORS=yH.STRING_UNARY_OPERATORS=yH.STATEMENT_OR_BLOCK_KEYS=yH.NUMBER_UNARY_OPERATORS=yH.NUMBER_BINARY_OPERATORS=yH.NOT_LOCAL_BINDING=yH.LOGICAL_OPERATORS=yH.INHERIT_KEYS=yH.FOR_INIT_KEYS=yH.FLATTENABLE_KEYS=yH.EQUALITY_BINARY_OPERATORS=yH.COMPARISON_BINARY_OPERATORS=yH.COMMENT_KEYS=yH.BOOLEAN_UNARY_OPERATORS=yH.BOOLEAN_NUMBER_BINARY_OPERATORS=yH.BOOLEAN_BINARY_OPERATORS=yH.BLOCK_SCOPED_SYMBOL=yH.BINARY_OPERATORS=yH.ASSIGNMENT_OPERATORS=void 0;var fK1=yH.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],IK1=yH.FLATTENABLE_KEYS=["body","expressions"],PK1=yH.FOR_INIT_KEYS=["left","init"],NK1=yH.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],qA=yH.LOGICAL_OPERATORS=["||","&&","??"],TK1=yH.UPDATE_OPERATORS=["++","--"],jA=yH.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],OA=yH.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],AA=yH.COMPARISON_BINARY_OPERATORS=[...OA,"in","instanceof"],CA=yH.BOOLEAN_BINARY_OPERATORS=[...AA,...jA],uH=yH.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],wK1=yH.BINARY_OPERATORS=["+",...uH,...CA,"|>"],LK1=yH.ASSIGNMENT_OPERATORS=["=","+=",...uH.map((G)=>G+"="),...qA.map((G)=>G+"=")],DA=yH.BOOLEAN_UNARY_OPERATORS=["delete","!"],SA=yH.NUMBER_UNARY_OPERATORS=["+","-","~"],fA=yH.STRING_UNARY_OPERATORS=["typeof"],bK1=yH.UNARY_OPERATORS=["void","throw",...DA,...SA,...fA],kK1=yH.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},vK1=yH.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),EK1=yH.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var RG=f((rH)=>{Object.defineProperty(rH,"__esModule",{value:!0});rH.VISITOR_KEYS=rH.NODE_PARENT_VALIDATIONS=rH.NODE_FIELDS=rH.FLIPPED_ALIAS_KEYS=rH.DEPRECATED_KEYS=rH.BUILDER_KEYS=rH.ALIAS_KEYS=void 0;rH.arrayOf=cH;rH.arrayOfType=lH;rH.assertEach=iH;rH.assertNodeOrValueType=JC;rH.assertNodeType=wX;rH.assertOneOf=GC;rH.assertOptionalChainStart=HC;rH.assertShape=XC;rH.assertValueType=J9;rH.chain=aH;rH.default=pH;rH.defineAliasedType=QC;rH.validate=G9;rH.validateArrayOfType=eA;rH.validateOptional=nA;rH.validateOptionalType=oA;rH.validateType=tA;var mH=KJ(),TX=LX(),iA=rH.VISITOR_KEYS={},aA=rH.ALIAS_KEYS={},o0=rH.FLIPPED_ALIAS_KEYS={},pA=rH.NODE_FIELDS={},rA=rH.BUILDER_KEYS={},sA=rH.DEPRECATED_KEYS={},dA=rH.NODE_PARENT_VALIDATIONS={};function NX(G){if(Array.isArray(G))return"array";else if(G===null)return"null";else return typeof G}function G9(G){return{validate:G}}function tA(...G){return G9(wX(...G))}function nA(G){return{validate:G,optional:!0}}function oA(...G){return{validate:wX(...G),optional:!0}}function cH(G){return aH(J9("array"),iH(G))}function lH(...G){return cH(wX(...G))}function eA(...G){return G9(lH(...G))}function iH(G){let J=process.env.BABEL_TYPES_8_BREAKING?TX.validateChild:()=>{};function X(H,V,Z){if(!Array.isArray(Z))return;for(let Q=0;Q<Z.length;Q++){let W=`${V}[${Q}]`,Y=Z[Q];G(H,W,Y),J(H,W,Y)}}return X.each=G,X}function GC(...G){function J(X,H,V){if(!G.includes(V))throw new TypeError(`Property ${H} expected value to be one of ${JSON.stringify(G)} but got ${JSON.stringify(V)}`)}return J.oneOf=G,J}function wX(...G){function J(X,H,V){for(let Z of G)if(mH.default(Z,V)){TX.validateChild(X,H,V);return}throw new TypeError(`Property ${H} of ${X.type} expected node to be of a type ${JSON.stringify(G)} but instead got ${JSON.stringify(V==null?void 0:V.type)}`)}return J.oneOfNodeTypes=G,J}function JC(...G){function J(X,H,V){for(let Z of G)if(NX(V)===Z||mH.default(Z,V)){TX.validateChild(X,H,V);return}throw new TypeError(`Property ${H} of ${X.type} expected node to be of a type ${JSON.stringify(G)} but instead got ${JSON.stringify(V==null?void 0:V.type)}`)}return J.oneOfNodeOrValueTypes=G,J}function J9(G){function J(X,H,V){if(NX(V)!==G)throw new TypeError(`Property ${H} expected type of ${G} but got ${NX(V)}`)}return J.type=G,J}function XC(G){function J(X,H,V){let Z=[];for(let Q of Object.keys(G))try{TX.validateField(X,Q,V[Q],G[Q])}catch(W){if(W instanceof TypeError){Z.push(W.message);continue}throw W}if(Z.length)throw new TypeError(`Property ${H} of ${X.type} expected to have the following:
9
- ${Z.join(`
10
- `)}`)}return J.shapeOf=G,J}function HC(){function G(J){var X;let H=J;while(J){let{type:V}=H;if(V==="OptionalCallExpression"){if(H.optional)return;H=H.callee;continue}if(V==="OptionalMemberExpression"){if(H.optional)return;H=H.object;continue}break}throw new TypeError(`Non-optional ${J.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(X=H)==null?void 0:X.type}`)}return G}function aH(...G){function J(...X){for(let H of G)H(...X)}if(J.chainOf=G,G.length>=2&&"type"in G[0]&&G[0].type==="array"&&!("each"in G[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return J}var VC=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),ZC=new Set(["default","optional","deprecated","validate"]),e0={};function QC(...G){return(J,X={})=>{let H=X.aliases;if(!H){var V,Z;if(X.inherits)H=(V=e0[X.inherits].aliases)==null?void 0:V.slice();(Z=H)!=null||(H=[]),X.aliases=H}let Q=G.filter((W)=>!H.includes(W));H.unshift(...Q),pH(J,X)}}function pH(G,J={}){let X=J.inherits&&e0[J.inherits]||{},H=J.fields;if(!H){if(H={},X.fields){let W=Object.getOwnPropertyNames(X.fields);for(let Y of W){let z=X.fields[Y],U=z.default;if(Array.isArray(U)?U.length>0:U&&typeof U==="object")throw new Error("field defaults can only be primitives or empty arrays currently");H[Y]={default:Array.isArray(U)?[]:U,optional:z.optional,deprecated:z.deprecated,validate:z.validate}}}}let V=J.visitor||X.visitor||[],Z=J.aliases||X.aliases||[],Q=J.builder||X.builder||J.visitor||[];for(let W of Object.keys(J))if(!VC.has(W))throw new Error(`Unknown type option "${W}" on ${G}`);if(J.deprecatedAlias)sA[J.deprecatedAlias]=G;for(let W of V.concat(Q))H[W]=H[W]||{};for(let W of Object.keys(H)){let Y=H[W];if(Y.default!==void 0&&!Q.includes(W))Y.optional=!0;if(Y.default===void 0)Y.default=null;else if(!Y.validate&&Y.default!=null)Y.validate=J9(NX(Y.default));for(let z of Object.keys(Y))if(!ZC.has(z))throw new Error(`Unknown field key "${z}" on ${G}.${W}`)}if(iA[G]=J.visitor=V,rA[G]=J.builder=Q,pA[G]=J.fields=H,aA[G]=J.aliases=Z,Z.forEach((W)=>{o0[W]=o0[W]||[],o0[W].push(G)}),J.validate)dA[G]=J.validate;e0[G]=J}});var xJ=f((nH)=>{Object.defineProperty(nH,"__esModule",{value:!0});nH.patternLikeCommon=nH.importAttributes=nH.functionTypeAnnotationCommon=nH.functionDeclarationCommon=nH.functionCommon=nH.classMethodOrPropertyCommon=nH.classMethodOrDeclareMethodCommon=void 0;var h1=KJ(),LC=UJ(),dH=uJ(),bC=hH(),yJ=kG(),M=RG(),E=M.defineAliasedType("Standardized");E("ArrayExpression",{fields:{elements:{validate:M.arrayOf(M.assertNodeOrValueType("null","Expression","SpreadElement")),default:!process.env.BABEL_TYPES_8_BREAKING?[]:void 0}},visitor:["elements"],aliases:["Expression"]});E("AssignmentExpression",{fields:{operator:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("string"):Object.assign(function(){let G=M.assertOneOf(...yJ.ASSIGNMENT_OPERATORS),J=M.assertOneOf("=");return function(X,H,V){(h1.default("Pattern",X.left)?J:G)(X,H,V)}}(),{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"]});E("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:M.assertOneOf(...yJ.BINARY_OPERATORS)},left:{validate:function(){let G=M.assertNodeType("Expression"),J=M.assertNodeType("Expression","PrivateName");return Object.assign(function(H,V,Z){(H.operator==="in"?J:G)(H,V,Z)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:M.assertNodeType("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});E("InterpreterDirective",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});E("Directive",{visitor:["value"],fields:{value:{validate:M.assertNodeType("DirectiveLiteral")}}});E("DirectiveLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}}});E("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:M.arrayOfType("Directive"),default:[]},body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});E("BreakStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});E("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}})});E("CatchClause",{visitor:["param","body"],fields:{param:{validate:M.assertNodeType("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")}},aliases:["Scopable","BlockParent"]});E("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:M.assertNodeType("Expression")},consequent:{validate:M.assertNodeType("Expression")},alternate:{validate:M.assertNodeType("Expression")}},aliases:["Expression","Conditional"]});E("ContinueStatement",{visitor:["label"],fields:{label:{validate:M.assertNodeType("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});E("DebuggerStatement",{aliases:["Statement"]});E("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});E("EmptyStatement",{aliases:["Statement"]});E("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:M.assertNodeType("Expression")}},aliases:["Statement","ExpressionWrapper"]});E("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}}});E("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")}}});E("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 RJ=()=>({params:M.validateArrayOfType("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});nH.functionCommon=RJ;var iG=()=>({returnType:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:M.assertNodeType("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});nH.functionTypeAnnotationCommon=iG;var tH=()=>Object.assign({},RJ(),{declare:{validate:M.assertValueType("boolean"),optional:!0},id:{validate:M.assertNodeType("Identifier"),optional:!0}});nH.functionDeclarationCommon=tH;E("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},tH(),iG(),{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 G=M.assertNodeType("Identifier");return function(J,X,H){if(!h1.default("ExportDefaultDeclaration",J))G(H,"id",H.id)}}()});E("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},RJ(),iG(),{id:{validate:M.assertNodeType("Identifier"),optional:!0},body:{validate:M.assertNodeType("BlockStatement")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});var BJ=()=>({typeAnnotation:{validate:M.assertNodeType("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:M.assertValueType("boolean"),optional:!0},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}});nH.patternLikeCommon=BJ;E("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},BJ(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertValueType("string"),Object.assign(function(G,J,X){if(!LC.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(G,J,X){let H=/\.(\w+)$/.exec(J);if(!H)return;let[,V]=H,Z={computed:!1};if(V==="property"){if(h1.default("MemberExpression",G,Z))return;if(h1.default("OptionalMemberExpression",G,Z))return}else if(V==="key"){if(h1.default("Property",G,Z))return;if(h1.default("Method",G,Z))return}else if(V==="exported"){if(h1.default("ExportSpecifier",G))return}else if(V==="imported"){if(h1.default("ImportSpecifier",G,{imported:X}))return}else if(V==="meta"){if(h1.default("MetaProperty",G,{meta:X}))return}if((dH.isKeyword(X.name)||dH.isReservedWord(X.name,!1))&&X.name!=="this")throw new TypeError(`"${X.name}" is not a valid identifier`)}:void 0});E("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")}}});E("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:M.assertNodeType("Identifier")},body:{validate:M.assertNodeType("Statement")}}});E("StringLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:M.chain(M.assertValueType("number"),Object.assign(function(G,J,X){if(1/X<0||!Number.isFinite(X)){let H=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${X}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});E("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});E("BooleanLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("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(G,J,X){let H=/[^gimsuy]/.exec(X);if(H)throw new TypeError(`"${H[0]}" is not a valid RegExp flag`)},{type:"string"})):M.assertValueType("string"),default:""}}});E("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:M.assertOneOf(...yJ.LOGICAL_OPERATORS)},left:{validate:M.assertNodeType("Expression")},right:{validate:M.assertNodeType("Expression")}}});E("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 G=M.assertNodeType("Identifier","PrivateName"),J=M.assertNodeType("Expression"),X=function(H,V,Z){(H.computed?J:G)(H,V,Z)};return X.oneOfNodeTypes=["Expression","Identifier","PrivateName"],X}()},computed:{default:!1}},!process.env.BABEL_TYPES_8_BREAKING?{optional:{validate:M.assertValueType("boolean"),optional:!0}}:{})});E("NewExpression",{inherits:"CallExpression"});E("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"]});E("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:M.validateArrayOfType("ObjectMethod","ObjectProperty","SpreadElement")}});E("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},RJ(),iG(),{kind:Object.assign({validate:M.assertOneOf("method","get","set")},!process.env.BABEL_TYPES_8_BREAKING?{default:"method"}:{}),computed:{default:!1},key:{validate:function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),J=M.assertNodeType("Expression"),X=function(H,V,Z){(H.computed?J:G)(H,V,Z)};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"]});E("ObjectProperty",{builder:["key","value","computed","shorthand",...!process.env.BABEL_TYPES_8_BREAKING?["decorators"]:[]],fields:{computed:{default:!1},key:{validate:function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),J=M.assertNodeType("Expression");return Object.assign(function(H,V,Z){(H.computed?J:G)(H,V,Z)},{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(G,J,X){if(!X)return;if(G.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!h1.default("Identifier",G.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 G=M.assertNodeType("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),J=M.assertNodeType("Expression");return function(X,H,V){(h1.default("ObjectPattern",X)?G:J)(V,"value",V.value)}}()});E("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},BJ(),{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(G,J){let X=/(\w+)\[(\d+)\]/.exec(J);if(!X)throw new Error("Internal Babel error: malformed key.");let[,H,V]=X;if(G[H].length>+V+1)throw new TypeError(`RestElement must be last element of ${H}`)}:void 0});E("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression"),optional:!0}}});E("SequenceExpression",{visitor:["expressions"],fields:{expressions:M.validateArrayOfType("Expression")},aliases:["Expression"]});E("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:M.assertNodeType("Expression")}}});E("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:M.assertNodeType("Expression"),optional:!0},consequent:M.validateArrayOfType("Statement")}});E("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:M.assertNodeType("Expression")},cases:M.validateArrayOfType("SwitchCase")}});E("ThisExpression",{aliases:["Expression"]});E("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:M.assertNodeType("Expression")}}});E("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("BlockStatement"),Object.assign(function(G){if(!G.handler&&!G.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")}}});E("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:M.assertNodeType("Expression")},operator:{validate:M.assertOneOf(...yJ.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});E("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(...yJ.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});E("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 G=M.assertNodeType("Identifier");return function(J,X,H){if(h1.default("ForXStatement",J,{left:H})){if(H.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${J.type}`)}else H.declarations.forEach((V)=>{if(!V.init)G(V,"id",V.id)})}})():void 0});E("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")}}});E("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});E("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")}}});E("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},BJ(),{left:{validate:M.assertNodeType("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:M.assertNodeType("Expression")},decorators:{validate:M.arrayOfType("Decorator"),optional:!0}})});E("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},BJ(),{elements:{validate:M.chain(M.assertValueType("array"),M.assertEach(M.assertNodeOrValueType("null","PatternLike","LVal")))}})});E("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},RJ(),iG(),{expression:{validate:M.assertValueType("boolean")},body:{validate:M.assertNodeType("BlockStatement","Expression")},predicate:{validate:M.assertNodeType("DeclaredPredicate","InferredPredicate"),optional:!0}})});E("ClassBody",{visitor:["body"],fields:{body:M.validateArrayOfType("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});E("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}}});E("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 G=M.assertNodeType("Identifier");return function(J,X,H){if(!h1.default("ExportDefaultDeclaration",J))G(H,"id",H.id)}}()});var X9=nH.importAttributes={attributes:{optional:!0,validate:M.arrayOfType("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:M.arrayOfType("ImportAttribute")}};E("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"))},X9)});E("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:M.validateType("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:M.validateOptional(M.assertOneOf("value"))}});E("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(G,J,X){if(X&&G.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(X&&G.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):M.assertNodeType("Declaration")}},X9,{specifiers:{default:[],validate:M.arrayOf(function(){let G=M.assertNodeType("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),J=M.assertNodeType("ExportSpecifier");if(!process.env.BABEL_TYPES_8_BREAKING)return G;return Object.assign(function(X,H,V){(X.source?G:J)(X,H,V)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]})}())},source:{validate:M.assertNodeType("StringLiteral"),optional:!0},exportKind:M.validateOptional(M.assertOneOf("type","value"))})});E("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}}});E("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 G=M.assertNodeType("VariableDeclaration"),J=M.assertNodeType("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(X,H,V){if(h1.default("VariableDeclaration",V))G(X,H,V);else J(X,H,V)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:M.assertNodeType("Expression")},body:{validate:M.assertNodeType("Statement")},await:{default:!1}}});E("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},X9,{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}})});E("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});E("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:M.assertNodeType("Identifier")}}});E("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}}});E("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}}});E("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?M.chain(M.assertNodeType("Identifier"),Object.assign(function(G,J,X){let H;switch(X.name){case"function":H="sent";break;case"new":H="target";break;case"import":H="meta";break}if(!h1.default("Identifier",G.property,{name:H}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):M.assertNodeType("Identifier")},property:{validate:M.assertNodeType("Identifier")}}});var bX=()=>({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 G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),J=M.assertNodeType("Expression");return function(X,H,V){(X.computed?J:G)(X,H,V)}}(),M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});nH.classMethodOrPropertyCommon=bX;var H9=()=>Object.assign({},RJ(),bX(),{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}});nH.classMethodOrDeclareMethodCommon=H9;E("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({},H9(),iG(),{body:{validate:M.assertNodeType("BlockStatement")}})});E("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},BJ(),{properties:M.validateArrayOfType("RestElement","ObjectProperty")})});E("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:M.assertNodeType("Expression")}}});E("Super",{aliases:["Expression"]});E("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}}});E("TemplateElement",{builder:["value","tail"],fields:{value:{validate:M.chain(M.assertShape({raw:{validate:M.assertValueType("string")},cooked:{validate:M.assertValueType("string"),optional:!0}}),function G(J){let X=J.value.raw,H=!1,V=()=>{throw new Error("Internal @babel/types error.")},{str:Z,firstInvalidLoc:Q}=bC.readStringContents("template",X,0,0,0,{unterminated(){H=!0},strictNumericEscape:V,invalidEscapeSequence:V,numericSeparatorInEscapeSequence:V,unexpectedNumericSeparator:V,invalidDigit:V,invalidCodePoint:V});if(!H)throw new Error("Invalid raw");J.value.cooked=Q?null:Z})},tail:{default:!1}}});E("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(G,J,X){if(G.quasis.length!==X.length+1)throw new TypeError(`Number of ${G.type} quasis should be exactly one more than the number of expressions.
11
- Expected ${X.length+1} quasis but got ${G.quasis.length}`)})}}});E("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(G,J,X){if(X&&!G.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")}}});E("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:M.assertNodeType("Expression")}}});E("Import",{aliases:["Expression"]});E("BigIntLiteral",{builder:["value"],fields:{value:{validate:M.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});E("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:M.assertNodeType("Identifier")}}});E("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:M.assertNodeType("Expression")},property:{validate:function(){let G=M.assertNodeType("Identifier"),J=M.assertNodeType("Expression");return Object.assign(function(H,V,Z){(H.computed?J:G)(H,V,Z)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:!process.env.BABEL_TYPES_8_BREAKING?M.assertValueType("boolean"):M.chain(M.assertValueType("boolean"),M.assertOptionalChainStart())}}});E("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}})});E("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},bX(),{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}})});E("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},bX(),{key:{validate:M.chain(function(){let G=M.assertNodeType("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),J=M.assertNodeType("Expression");return function(X,H,V){(X.computed?J:G)(X,H,V)}}(),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}})});E("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},definite:{validate:M.assertValueType("boolean"),optional:!0},variance:{validate:M.assertNodeType("Variance"),optional:!0}}});E("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},H9(),iG(),{kind:{validate:M.assertOneOf("get","set","method"),default:"method"},key:{validate:M.assertNodeType("PrivateName")},body:{validate:M.assertNodeType("BlockStatement")}})});E("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:M.assertNodeType("Identifier")}}});E("StaticBlock",{visitor:["body"],fields:{body:M.validateArrayOfType("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})});var G8=f(()=>{var eH=xJ(),S=RG(),p=S.defineAliasedType("Flow"),V9=(G)=>{let J=G==="DeclareClass";p(G,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...J?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),extends:S.validateOptional(S.arrayOfType("InterfaceExtends"))},J?{mixins:S.validateOptional(S.arrayOfType("InterfaceExtends")),implements:S.validateOptional(S.arrayOfType("ClassImplements"))}:{},{body:S.validateType("ObjectTypeAnnotation")})})};p("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:S.validateType("FlowType")}});p("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("boolean"))}});p("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ClassImplements",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});V9("DeclareClass");p("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),predicate:S.validateOptionalType("DeclaredPredicate")}});V9("DeclareInterface");p("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier","StringLiteral"),body:S.validateType("BlockStatement"),kind:S.validateOptional(S.assertOneOf("CommonJS","ES"))}});p("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:S.validateType("TypeAnnotation")}});p("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});p("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),supertype:S.validateOptionalType("FlowType"),impltype:S.validateOptionalType("FlowType")}});p("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier")}});p("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:S.validateOptionalType("Flow"),specifiers:S.validateOptional(S.arrayOfType("ExportSpecifier","ExportNamespaceSpecifier")),source:S.validateOptionalType("StringLiteral"),default:S.validateOptional(S.assertValueType("boolean"))},eH.importAttributes)});p("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:S.validateType("StringLiteral"),exportKind:S.validateOptional(S.assertOneOf("type","value"))},eH.importAttributes)});p("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:S.validateType("Flow")}});p("ExistsTypeAnnotation",{aliases:["FlowType"]});p("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:S.validateOptionalType("TypeParameterDeclaration"),params:S.validateArrayOfType("FunctionTypeParam"),rest:S.validateOptionalType("FunctionTypeParam"),this:S.validateOptionalType("FunctionTypeParam"),returnType:S.validateType("FlowType")}});p("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:S.validateOptionalType("Identifier"),typeAnnotation:S.validateType("FlowType"),optional:S.validateOptional(S.assertValueType("boolean"))}});p("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:S.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});p("InferredPredicate",{aliases:["FlowPredicate"]});p("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:S.validateType("Identifier","QualifiedTypeIdentifier"),typeParameters:S.validateOptionalType("TypeParameterInstantiation")}});V9("InterfaceDeclaration");p("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:S.validateOptional(S.arrayOfType("InterfaceExtends")),body:S.validateType("ObjectTypeAnnotation")}});p("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:S.validateType("FlowType")}});p("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("number"))}});p("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:S.validate(S.arrayOfType("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:S.arrayOfType("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:S.arrayOfType("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:S.arrayOfType("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:S.assertValueType("boolean"),default:!1},inexact:S.validateOptional(S.assertValueType("boolean"))}});p("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:S.validateType("Identifier"),value:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean")),static:S.validate(S.assertValueType("boolean")),method:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:S.validateOptionalType("Identifier"),key:S.validateType("FlowType"),value:S.validateType("FlowType"),static:S.validate(S.assertValueType("boolean")),variance:S.validateOptionalType("Variance")}});p("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:S.validateType("Identifier","StringLiteral"),value:S.validateType("FlowType"),kind:S.validate(S.assertOneOf("init","get","set")),static:S.validate(S.assertValueType("boolean")),proto:S.validate(S.assertValueType("boolean")),optional:S.validate(S.assertValueType("boolean")),variance:S.validateOptionalType("Variance"),method:S.validate(S.assertValueType("boolean"))}});p("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:S.validateType("FlowType")}});p("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),supertype:S.validateOptionalType("FlowType"),impltype:S.validateType("FlowType")}});p("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:S.validateType("Identifier"),qualification:S.validateType("Identifier","QualifiedTypeIdentifier")}});p("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:S.validate(S.assertValueType("string"))}});p("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:S.validateType("FlowType")}});p("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:S.validateType("Identifier"),typeParameters:S.validateOptionalType("TypeParameterDeclaration"),right:S.validateType("FlowType")}});p("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:S.validateType("FlowType")}});p("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:S.validateType("Expression"),typeAnnotation:S.validateType("TypeAnnotation")}});p("TypeParameter",{visitor:["bound","default","variance"],fields:{name:S.validate(S.assertValueType("string")),bound:S.validateOptionalType("TypeAnnotation"),default:S.validateOptionalType("FlowType"),variance:S.validateOptionalType("Variance")}});p("TypeParameterDeclaration",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("TypeParameter"))}});p("TypeParameterInstantiation",{visitor:["params"],fields:{params:S.validate(S.arrayOfType("FlowType"))}});p("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:S.validate(S.arrayOfType("FlowType"))}});p("Variance",{builder:["kind"],fields:{kind:S.validate(S.assertOneOf("minus","plus"))}});p("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});p("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:S.validateType("Identifier"),body:S.validateType("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});p("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumBooleanMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumNumberMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:S.validate(S.assertValueType("boolean")),members:S.validateArrayOfType("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:S.validateArrayOfType("EnumDefaultedMember"),hasUnknownMembers:S.validate(S.assertValueType("boolean"))}});p("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("BooleanLiteral")}});p("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("NumericLiteral")}});p("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:S.validateType("Identifier"),init:S.validateType("StringLiteral")}});p("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:S.validateType("Identifier")}});p("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType")}});p("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:S.validateType("FlowType"),indexType:S.validateType("FlowType"),optional:S.validate(S.assertValueType("boolean"))}})});var J8=f(()=>{var f1=RG(),u1=f1.defineAliasedType("JSX");u1("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:f1.assertNodeType("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});u1("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});u1("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:f1.assertNodeType("JSXOpeningElement")},closingElement:{optional:!0,validate:f1.assertNodeType("JSXClosingElement")},children:f1.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:f1.assertValueType("boolean"),optional:!0}})});u1("JSXEmptyExpression",{});u1("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression","JSXEmptyExpression")}}});u1("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:f1.assertNodeType("Expression")}}});u1("JSXIdentifier",{builder:["name"],fields:{name:{validate:f1.assertValueType("string")}}});u1("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:f1.assertNodeType("JSXMemberExpression","JSXIdentifier")},property:{validate:f1.assertNodeType("JSXIdentifier")}}});u1("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:f1.assertNodeType("JSXIdentifier")},name:{validate:f1.assertNodeType("JSXIdentifier")}}});u1("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:f1.assertNodeType("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:f1.validateArrayOfType("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:f1.assertNodeType("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:f1.assertNodeType("TSTypeParameterInstantiation"),optional:!0}})});u1("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:f1.assertNodeType("Expression")}}});u1("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:f1.assertValueType("string")}}});u1("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:f1.assertNodeType("JSXOpeningFragment")},closingFragment:{validate:f1.assertNodeType("JSXClosingFragment")},children:f1.validateArrayOfType("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});u1("JSXOpeningFragment",{aliases:["Immutable"]});u1("JSXClosingFragment",{aliases:["Immutable"]})});var W9=f((X8)=>{Object.defineProperty(X8,"__esModule",{value:!0});X8.PLACEHOLDERS_FLIPPED_ALIAS=X8.PLACEHOLDERS_ALIAS=X8.PLACEHOLDERS=void 0;var uC=RG(),yC=X8.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Q9=X8.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let G of yC){let J=uC.ALIAS_KEYS[G];if(J!=null&&J.length)Q9[G]=J}var Z9=X8.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(Q9).forEach((G)=>{Q9[G].forEach((J)=>{if(!hasOwnProperty.call(Z9,J))Z9[J]=[];Z9[J].push(G)})})});var V8=f(()=>{var kX=RG(),cC=W9(),lC=xJ(),Y9=kX.defineAliasedType("Miscellaneous");Y9("Noop",{visitor:[]});Y9("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:kX.assertNodeType("Identifier")},expectedNode:{validate:kX.assertOneOf(...cC.PLACEHOLDERS)}},lC.patternLikeCommon())});Y9("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:kX.assertValueType("string")}}})});var Z8=f(()=>{var C1=RG();C1.default("ArgumentPlaceholder",{});C1.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:C1.assertNodeType("Expression")},callee:{validate:C1.assertNodeType("Expression")}}});C1.default("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:C1.assertNodeType("Identifier","StringLiteral")},value:{validate:C1.assertNodeType("StringLiteral")}}});C1.default("Decorator",{visitor:["expression"],fields:{expression:{validate:C1.assertNodeType("Expression")}}});C1.default("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:C1.assertNodeType("BlockStatement")},async:{validate:C1.assertValueType("boolean"),default:!1}}});C1.default("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:C1.assertNodeType("Identifier")}}});C1.default("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:C1.validateArrayOfType("ObjectProperty","SpreadElement")}});C1.default("TupleExpression",{fields:{elements:{validate:C1.arrayOfType("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});C1.default("DecimalLiteral",{builder:["value"],fields:{value:{validate:C1.assertValueType("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});C1.default("ModuleExpression",{visitor:["body"],fields:{body:{validate:C1.assertNodeType("Program")}},aliases:["Expression"]});C1.default("TopicReference",{aliases:["Expression"]});C1.default("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:C1.assertNodeType("Expression")}},aliases:["Expression"]});C1.default("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:C1.assertNodeType("Expression")}},aliases:["Expression"]});C1.default("PipelinePrimaryTopicReference",{aliases:["Expression"]})});var B8=f(()=>{var T=RG(),Q8=xJ(),iC=KJ(),o=T.defineAliasedType("TypeScript"),a1=T.assertValueType("boolean"),W8=()=>({returnType:{validate:T.assertNodeType("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:T.assertNodeType("TSTypeParameterDeclaration","Noop"),optional:!0}});o("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:T.assertOneOf("public","private","protected"),optional:!0},readonly:{validate:T.assertValueType("boolean"),optional:!0},parameter:{validate:T.assertNodeType("Identifier","AssignmentPattern")},override:{validate:T.assertValueType("boolean"),optional:!0},decorators:{validate:T.arrayOfType("Decorator"),optional:!0}}});o("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},Q8.functionDeclarationCommon(),W8())});o("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},Q8.classMethodOrDeclareMethodCommon(),W8())});o("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:T.validateType("TSEntityName"),right:T.validateType("Identifier")}});var vX=()=>({typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),["parameters"]:T.validateArrayOfType("ArrayPattern","Identifier","ObjectPattern","RestElement"),["typeAnnotation"]:T.validateOptionalType("TSTypeAnnotation")}),Y8={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:vX()};o("TSCallSignatureDeclaration",Y8);o("TSConstructSignatureDeclaration",Y8);var z8=()=>({key:T.validateType("Expression"),computed:{default:!1},optional:T.validateOptional(a1)});o("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},z8(),{readonly:T.validateOptional(a1),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),kind:{validate:T.assertOneOf("get","set")}})});o("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},vX(),z8(),{kind:{validate:T.assertOneOf("method","get","set")}})});o("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:T.validateOptional(a1),static:T.validateOptional(a1),parameters:T.validateArrayOfType("Identifier"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation")}});var aC=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let G of aC)o(G,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});o("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var K8={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};o("TSFunctionType",Object.assign({},K8,{fields:vX()}));o("TSConstructorType",Object.assign({},K8,{fields:Object.assign({},vX(),{abstract:T.validateOptional(a1)})}));o("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:T.validateType("TSEntityName"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation")}});o("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:T.validateType("Identifier","TSThisType"),typeAnnotation:T.validateOptionalType("TSTypeAnnotation"),asserts:T.validateOptional(a1)}});o("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:T.validateType("TSEntityName","TSImportType"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation")}});o("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:T.validateArrayOfType("TSTypeElement")}});o("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:T.validateType("TSType")}});o("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:T.validateArrayOfType("TSType","TSNamedTupleMember")}});o("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});o("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});o("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:T.validateType("Identifier"),optional:{validate:a1,default:!1},elementType:T.validateType("TSType")}});var U8={aliases:["TSType"],visitor:["types"],fields:{types:T.validateArrayOfType("TSType")}};o("TSUnionType",U8);o("TSIntersectionType",U8);o("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:T.validateType("TSType"),extendsType:T.validateType("TSType"),trueType:T.validateType("TSType"),falseType:T.validateType("TSType")}});o("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:T.validateType("TSTypeParameter")}});o("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:T.validateType("TSType")}});o("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:T.validate(T.assertValueType("string")),typeAnnotation:T.validateType("TSType")}});o("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:T.validateType("TSType"),indexType:T.validateType("TSType")}});o("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:T.validateType("TSTypeParameter")},{readonly:T.validateOptional(T.assertOneOf(!0,!1,"+","-")),optional:T.validateOptional(T.assertOneOf(!0,!1,"+","-")),typeAnnotation:T.validateOptionalType("TSType"),nameType:T.validateOptionalType("TSType")})});o("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let G=T.assertNodeType("NumericLiteral","BigIntLiteral"),J=T.assertOneOf("-"),X=T.assertNodeType("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function H(V,Z,Q){if(iC.default("UnaryExpression",Q))J(Q,"operator",Q.operator),G(Q,"argument",Q.argument);else X(V,Z,Q)}return H.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],H}()}}});o("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("TSEntityName"),typeParameters:T.validateOptionalType("TSTypeParameterInstantiation")}});o("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:T.validateOptional(a1),id:T.validateType("Identifier"),typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),extends:T.validateOptional(T.arrayOfType("TSExpressionWithTypeArguments")),body:T.validateType("TSInterfaceBody")}});o("TSInterfaceBody",{visitor:["body"],fields:{body:T.validateArrayOfType("TSTypeElement")}});o("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:T.validateOptional(a1),id:T.validateType("Identifier"),typeParameters:T.validateOptionalType("TSTypeParameterDeclaration"),typeAnnotation:T.validateType("TSType")}});o("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:T.validateType("Expression"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation")}});var R8={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:T.validateType("Expression"),typeAnnotation:T.validateType("TSType")}};o("TSAsExpression",R8);o("TSSatisfiesExpression",R8);o("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:T.validateType("TSType"),expression:T.validateType("Expression")}});o("TSEnumBody",{visitor:["members"],fields:{members:T.validateArrayOfType("TSEnumMember")}});o("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:T.validateOptional(a1),const:T.validateOptional(a1),id:T.validateType("Identifier"),members:T.validateArrayOfType("TSEnumMember"),initializer:T.validateOptionalType("Expression"),body:T.validateOptionalType("TSEnumBody")}});o("TSEnumMember",{visitor:["id","initializer"],fields:{id:T.validateType("Identifier","StringLiteral"),initializer:T.validateOptionalType("Expression")}});o("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:T.assertOneOf("global","module","namespace")},declare:T.validateOptional(a1)},{global:T.validateOptional(a1)},{id:T.validateType("Identifier","StringLiteral"),body:T.validateType("TSModuleBlock","TSModuleDeclaration")})});o("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:T.validateArrayOfType("Statement")}});o("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:T.validateType("StringLiteral"),qualifier:T.validateOptionalType("TSEntityName"),["typeParameters"]:T.validateOptionalType("TSTypeParameterInstantiation"),options:{validate:T.assertNodeType("Expression"),optional:!0}}});o("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:T.validate(a1),id:T.validateType("Identifier"),moduleReference:T.validateType("TSEntityName","TSExternalModuleReference"),importKind:{validate:T.assertOneOf("type","value"),optional:!0}}});o("TSExternalModuleReference",{visitor:["expression"],fields:{expression:T.validateType("StringLiteral")}});o("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:T.validateType("Expression")}});o("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:T.validateType("Expression")}});o("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:T.validateType("Identifier")}});o("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:T.assertNodeType("TSType")}}});o("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:T.validateArrayOfType("TSType")}});o("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:T.validateArrayOfType("TSTypeParameter")}});o("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:T.assertValueType("string")},in:{validate:T.assertValueType("boolean"),optional:!0},out:{validate:T.assertValueType("boolean"),optional:!0},const:{validate:T.assertValueType("boolean"),optional:!0},constraint:{validate:T.assertNodeType("TSType"),optional:!0},default:{validate:T.assertNodeType("TSType"),optional:!0}}})});var F8=f((M8)=>{Object.defineProperty(M8,"__esModule",{value:!0});M8.DEPRECATED_ALIASES=void 0;var dK1=M8.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var n1=f((s1)=>{Object.defineProperty(s1,"__esModule",{value:!0});Object.defineProperty(s1,"ALIAS_KEYS",{enumerable:!0,get:function(){return o1.ALIAS_KEYS}});Object.defineProperty(s1,"BUILDER_KEYS",{enumerable:!0,get:function(){return o1.BUILDER_KEYS}});Object.defineProperty(s1,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return z9.DEPRECATED_ALIASES}});Object.defineProperty(s1,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return o1.DEPRECATED_KEYS}});Object.defineProperty(s1,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return o1.FLIPPED_ALIAS_KEYS}});Object.defineProperty(s1,"NODE_FIELDS",{enumerable:!0,get:function(){return o1.NODE_FIELDS}});Object.defineProperty(s1,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return o1.NODE_PARENT_VALIDATIONS}});Object.defineProperty(s1,"PLACEHOLDERS",{enumerable:!0,get:function(){return K9.PLACEHOLDERS}});Object.defineProperty(s1,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return K9.PLACEHOLDERS_ALIAS}});Object.defineProperty(s1,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return K9.PLACEHOLDERS_FLIPPED_ALIAS}});s1.TYPES=void 0;Object.defineProperty(s1,"VISITOR_KEYS",{enumerable:!0,get:function(){return o1.VISITOR_KEYS}});xJ();G8();J8();V8();Z8();B8();var o1=RG(),K9=W9(),z9=F8();Object.keys(z9.DEPRECATED_ALIASES).forEach((G)=>{o1.FLIPPED_ALIAS_KEYS[G]=o1.FLIPPED_ALIAS_KEYS[z9.DEPRECATED_ALIASES[G]]});var nK1=s1.TYPES=[].concat(Object.keys(o1.VISITOR_KEYS),Object.keys(o1.FLIPPED_ALIAS_KEYS),Object.keys(o1.DEPRECATED_KEYS))});var LX=f((A8)=>{Object.defineProperty(A8,"__esModule",{value:!0});A8.default=pC;A8.validateChild=O8;A8.validateField=j8;A8.validateInternal=rC;var mJ=n1();function pC(G,J,X){if(!G)return;let H=mJ.NODE_FIELDS[G.type];if(!H)return;let V=H[J];j8(G,J,X,V),O8(G,J,X)}function rC(G,J,X,H,V){if(!(G!=null&&G.validate))return;if(G.optional&&H==null)return;if(G.validate(J,X,H),V){var Z;let Q=H.type;if(Q==null)return;(Z=mJ.NODE_PARENT_VALIDATIONS[Q])==null||Z.call(mJ.NODE_PARENT_VALIDATIONS,J,X,H)}}function j8(G,J,X,H){if(!(H!=null&&H.validate))return;if(H.optional&&X==null)return;H.validate(G,J,X)}function O8(G,J,X){var H;let V=X==null?void 0:X.type;if(V==null)return;(H=mJ.NODE_PARENT_VALIDATIONS[V])==null||H.call(mJ.NODE_PARENT_VALIDATIONS,G,J,X)}});var y1=f((I8)=>{Object.defineProperty(I8,"__esModule",{value:!0});I8.anyTypeAnnotation=LS;I8.argumentPlaceholder=QI;I8.arrayExpression=GD;I8.arrayPattern=dD;I8.arrayTypeAnnotation=bS;I8.arrowFunctionExpression=tD;I8.assignmentExpression=JD;I8.assignmentPattern=sD;I8.awaitExpression=jS;I8.bigIntLiteral=AS;I8.binaryExpression=XD;I8.bindExpression=WI;I8.blockStatement=QD;I8.booleanLiteral=PD;I8.booleanLiteralTypeAnnotation=vS;I8.booleanTypeAnnotation=kS;I8.breakStatement=WD;I8.callExpression=YD;I8.catchClause=zD;I8.classAccessorProperty=IS;I8.classBody=nD;I8.classDeclaration=eD;I8.classExpression=oD;I8.classImplements=gS;I8.classMethod=US;I8.classPrivateMethod=NS;I8.classPrivateProperty=PS;I8.classProperty=fS;I8.conditionalExpression=KD;I8.continueStatement=UD;I8.debuggerStatement=RD;I8.decimalLiteral=MI;I8.declareClass=_S;I8.declareExportAllDeclaration=aS;I8.declareExportDeclaration=iS;I8.declareFunction=hS;I8.declareInterface=uS;I8.declareModule=yS;I8.declareModuleExports=xS;I8.declareOpaqueType=cS;I8.declareTypeAlias=mS;I8.declareVariable=lS;I8.declaredPredicate=pS;I8.decorator=zI;I8.directive=VD;I8.directiveLiteral=ZD;I8.doExpression=KI;I8.doWhileStatement=BD;I8.emptyStatement=MD;I8.emptyTypeAnnotation=Hf;I8.enumBooleanBody=bf;I8.enumBooleanMember=gf;I8.enumDeclaration=Lf;I8.enumDefaultedMember=uf;I8.enumNumberBody=kf;I8.enumNumberMember=_f;I8.enumStringBody=vf;I8.enumStringMember=hf;I8.enumSymbolBody=Ef;I8.existsTypeAnnotation=rS;I8.exportAllDeclaration=GS;I8.exportDefaultDeclaration=JS;I8.exportDefaultSpecifier=UI;I8.exportNamedDeclaration=XS;I8.exportNamespaceSpecifier=CS;I8.exportSpecifier=HS;I8.expressionStatement=$D;I8.file=FD;I8.forInStatement=qD;I8.forOfStatement=VS;I8.forStatement=jD;I8.functionDeclaration=OD;I8.functionExpression=AD;I8.functionTypeAnnotation=sS;I8.functionTypeParam=dS;I8.genericTypeAnnotation=tS;I8.identifier=CD;I8.ifStatement=DD;I8.import=OS;I8.importAttribute=YI;I8.importDeclaration=ZS;I8.importDefaultSpecifier=QS;I8.importExpression=zS;I8.importNamespaceSpecifier=WS;I8.importSpecifier=YS;I8.indexedAccessType=yf;I8.inferredPredicate=nS;I8.interfaceDeclaration=eS;I8.interfaceExtends=oS;I8.interfaceTypeAnnotation=Gf;I8.interpreterDirective=HD;I8.intersectionTypeAnnotation=Jf;I8.jSXAttribute=I8.jsxAttribute=mf;I8.jSXClosingElement=I8.jsxClosingElement=cf;I8.jSXClosingFragment=I8.jsxClosingFragment=XI;I8.jSXElement=I8.jsxElement=lf;I8.jSXEmptyExpression=I8.jsxEmptyExpression=af;I8.jSXExpressionContainer=I8.jsxExpressionContainer=pf;I8.jSXFragment=I8.jsxFragment=GI;I8.jSXIdentifier=I8.jsxIdentifier=sf;I8.jSXMemberExpression=I8.jsxMemberExpression=df;I8.jSXNamespacedName=I8.jsxNamespacedName=tf;I8.jSXOpeningElement=I8.jsxOpeningElement=nf;I8.jSXOpeningFragment=I8.jsxOpeningFragment=JI;I8.jSXSpreadAttribute=I8.jsxSpreadAttribute=of;I8.jSXSpreadChild=I8.jsxSpreadChild=rf;I8.jSXText=I8.jsxText=ef;I8.labeledStatement=SD;I8.logicalExpression=ND;I8.memberExpression=TD;I8.metaProperty=KS;I8.mixedTypeAnnotation=Xf;I8.moduleExpression=$I;I8.newExpression=wD;I8.noop=HI;I8.nullLiteral=ID;I8.nullLiteralTypeAnnotation=ES;I8.nullableTypeAnnotation=Vf;I8.numberLiteral=kP;I8.numberLiteralTypeAnnotation=Zf;I8.numberTypeAnnotation=Qf;I8.numericLiteral=C8;I8.objectExpression=bD;I8.objectMethod=kD;I8.objectPattern=RS;I8.objectProperty=vD;I8.objectTypeAnnotation=Wf;I8.objectTypeCallProperty=zf;I8.objectTypeIndexer=Kf;I8.objectTypeInternalSlot=Yf;I8.objectTypeProperty=Uf;I8.objectTypeSpreadProperty=Rf;I8.opaqueType=Bf;I8.optionalCallExpression=SS;I8.optionalIndexedAccessType=xf;I8.optionalMemberExpression=DS;I8.parenthesizedExpression=_D;I8.pipelineBareFunction=jI;I8.pipelinePrimaryTopicReference=OI;I8.pipelineTopicExpression=qI;I8.placeholder=VI;I8.privateName=TS;I8.program=LD;I8.qualifiedTypeIdentifier=Mf;I8.recordExpression=RI;I8.regExpLiteral=D8;I8.regexLiteral=vP;I8.restElement=S8;I8.restProperty=EP;I8.returnStatement=ED;I8.sequenceExpression=gD;I8.spreadElement=f8;I8.spreadProperty=gP;I8.staticBlock=wS;I8.stringLiteral=fD;I8.stringLiteralTypeAnnotation=$f;I8.stringTypeAnnotation=Ff;I8.super=BS;I8.switchCase=hD;I8.switchStatement=uD;I8.symbolTypeAnnotation=qf;I8.taggedTemplateExpression=MS;I8.templateElement=$S;I8.templateLiteral=FS;I8.thisExpression=yD;I8.thisTypeAnnotation=jf;I8.throwStatement=xD;I8.topicReference=FI;I8.tryStatement=mD;I8.tSAnyKeyword=I8.tsAnyKeyword=wI;I8.tSArrayType=I8.tsArrayType=dI;I8.tSAsExpression=I8.tsAsExpression=MP;I8.tSBigIntKeyword=I8.tsBigIntKeyword=bI;I8.tSBooleanKeyword=I8.tsBooleanKeyword=LI;I8.tSCallSignatureDeclaration=I8.tsCallSignatureDeclaration=fI;I8.tSConditionalType=I8.tsConditionalType=XP;I8.tSConstructSignatureDeclaration=I8.tsConstructSignatureDeclaration=II;I8.tSConstructorType=I8.tsConstructorType=iI;I8.tSDeclareFunction=I8.tsDeclareFunction=CI;I8.tSDeclareMethod=I8.tsDeclareMethod=DI;I8.tSEnumBody=I8.tsEnumBody=qP;I8.tSEnumDeclaration=I8.tsEnumDeclaration=jP;I8.tSEnumMember=I8.tsEnumMember=OP;I8.tSExportAssignment=I8.tsExportAssignment=PP;I8.tSExpressionWithTypeArguments=I8.tsExpressionWithTypeArguments=zP;I8.tSExternalModuleReference=I8.tsExternalModuleReference=fP;I8.tSFunctionType=I8.tsFunctionType=lI;I8.tSImportEqualsDeclaration=I8.tsImportEqualsDeclaration=SP;I8.tSImportType=I8.tsImportType=DP;I8.tSIndexSignature=I8.tsIndexSignature=TI;I8.tSIndexedAccessType=I8.tsIndexedAccessType=QP;I8.tSInferType=I8.tsInferType=HP;I8.tSInstantiationExpression=I8.tsInstantiationExpression=BP;I8.tSInterfaceBody=I8.tsInterfaceBody=UP;I8.tSInterfaceDeclaration=I8.tsInterfaceDeclaration=KP;I8.tSIntersectionType=I8.tsIntersectionType=JP;I8.tSIntrinsicKeyword=I8.tsIntrinsicKeyword=kI;I8.tSLiteralType=I8.tsLiteralType=YP;I8.tSMappedType=I8.tsMappedType=WP;I8.tSMethodSignature=I8.tsMethodSignature=NI;I8.tSModuleBlock=I8.tsModuleBlock=CP;I8.tSModuleDeclaration=I8.tsModuleDeclaration=AP;I8.tSNamedTupleMember=I8.tsNamedTupleMember=eI;I8.tSNamespaceExportDeclaration=I8.tsNamespaceExportDeclaration=NP;I8.tSNeverKeyword=I8.tsNeverKeyword=vI;I8.tSNonNullExpression=I8.tsNonNullExpression=IP;I8.tSNullKeyword=I8.tsNullKeyword=EI;I8.tSNumberKeyword=I8.tsNumberKeyword=gI;I8.tSObjectKeyword=I8.tsObjectKeyword=_I;I8.tSOptionalType=I8.tsOptionalType=nI;I8.tSParameterProperty=I8.tsParameterProperty=AI;I8.tSParenthesizedType=I8.tsParenthesizedType=VP;I8.tSPropertySignature=I8.tsPropertySignature=PI;I8.tSQualifiedName=I8.tsQualifiedName=SI;I8.tSRestType=I8.tsRestType=oI;I8.tSSatisfiesExpression=I8.tsSatisfiesExpression=$P;I8.tSStringKeyword=I8.tsStringKeyword=hI;I8.tSSymbolKeyword=I8.tsSymbolKeyword=uI;I8.tSThisType=I8.tsThisType=cI;I8.tSTupleType=I8.tsTupleType=tI;I8.tSTypeAliasDeclaration=I8.tsTypeAliasDeclaration=RP;I8.tSTypeAnnotation=I8.tsTypeAnnotation=TP;I8.tSTypeAssertion=I8.tsTypeAssertion=FP;I8.tSTypeLiteral=I8.tsTypeLiteral=sI;I8.tSTypeOperator=I8.tsTypeOperator=ZP;I8.tSTypeParameter=I8.tsTypeParameter=bP;I8.tSTypeParameterDeclaration=I8.tsTypeParameterDeclaration=LP;I8.tSTypeParameterInstantiation=I8.tsTypeParameterInstantiation=wP;I8.tSTypePredicate=I8.tsTypePredicate=pI;I8.tSTypeQuery=I8.tsTypeQuery=rI;I8.tSTypeReference=I8.tsTypeReference=aI;I8.tSUndefinedKeyword=I8.tsUndefinedKeyword=yI;I8.tSUnionType=I8.tsUnionType=GP;I8.tSUnknownKeyword=I8.tsUnknownKeyword=xI;I8.tSVoidKeyword=I8.tsVoidKeyword=mI;I8.tupleExpression=BI;I8.tupleTypeAnnotation=Of;I8.typeAlias=Cf;I8.typeAnnotation=Df;I8.typeCastExpression=Sf;I8.typeParameter=ff;I8.typeParameterDeclaration=If;I8.typeParameterInstantiation=Pf;I8.typeofTypeAnnotation=Af;I8.unaryExpression=cD;I8.unionTypeAnnotation=Nf;I8.updateExpression=lD;I8.v8IntrinsicIdentifier=ZI;I8.variableDeclaration=iD;I8.variableDeclarator=aD;I8.variance=Tf;I8.voidTypeAnnotation=wf;I8.whileStatement=pD;I8.withStatement=rD;I8.yieldExpression=qS;var oC=LX(),EX=EJ(),eC=RG(),{validateInternal:K}=oC,{NODE_FIELDS:O}=eC;function GD(G=[]){let J={type:"ArrayExpression",elements:G},X=O.ArrayExpression;return K(X.elements,J,"elements",G,1),J}function JD(G,J,X){let H={type:"AssignmentExpression",operator:G,left:J,right:X},V=O.AssignmentExpression;return K(V.operator,H,"operator",G),K(V.left,H,"left",J,1),K(V.right,H,"right",X,1),H}function XD(G,J,X){let H={type:"BinaryExpression",operator:G,left:J,right:X},V=O.BinaryExpression;return K(V.operator,H,"operator",G),K(V.left,H,"left",J,1),K(V.right,H,"right",X,1),H}function HD(G){let J={type:"InterpreterDirective",value:G},X=O.InterpreterDirective;return K(X.value,J,"value",G),J}function VD(G){let J={type:"Directive",value:G},X=O.Directive;return K(X.value,J,"value",G,1),J}function ZD(G){let J={type:"DirectiveLiteral",value:G},X=O.DirectiveLiteral;return K(X.value,J,"value",G),J}function QD(G,J=[]){let X={type:"BlockStatement",body:G,directives:J},H=O.BlockStatement;return K(H.body,X,"body",G,1),K(H.directives,X,"directives",J,1),X}function WD(G=null){let J={type:"BreakStatement",label:G},X=O.BreakStatement;return K(X.label,J,"label",G,1),J}function YD(G,J){let X={type:"CallExpression",callee:G,arguments:J},H=O.CallExpression;return K(H.callee,X,"callee",G,1),K(H.arguments,X,"arguments",J,1),X}function zD(G=null,J){let X={type:"CatchClause",param:G,body:J},H=O.CatchClause;return K(H.param,X,"param",G,1),K(H.body,X,"body",J,1),X}function KD(G,J,X){let H={type:"ConditionalExpression",test:G,consequent:J,alternate:X},V=O.ConditionalExpression;return K(V.test,H,"test",G,1),K(V.consequent,H,"consequent",J,1),K(V.alternate,H,"alternate",X,1),H}function UD(G=null){let J={type:"ContinueStatement",label:G},X=O.ContinueStatement;return K(X.label,J,"label",G,1),J}function RD(){return{type:"DebuggerStatement"}}function BD(G,J){let X={type:"DoWhileStatement",test:G,body:J},H=O.DoWhileStatement;return K(H.test,X,"test",G,1),K(H.body,X,"body",J,1),X}function MD(){return{type:"EmptyStatement"}}function $D(G){let J={type:"ExpressionStatement",expression:G},X=O.ExpressionStatement;return K(X.expression,J,"expression",G,1),J}function FD(G,J=null,X=null){let H={type:"File",program:G,comments:J,tokens:X},V=O.File;return K(V.program,H,"program",G,1),K(V.comments,H,"comments",J,1),K(V.tokens,H,"tokens",X),H}function qD(G,J,X){let H={type:"ForInStatement",left:G,right:J,body:X},V=O.ForInStatement;return K(V.left,H,"left",G,1),K(V.right,H,"right",J,1),K(V.body,H,"body",X,1),H}function jD(G=null,J=null,X=null,H){let V={type:"ForStatement",init:G,test:J,update:X,body:H},Z=O.ForStatement;return K(Z.init,V,"init",G,1),K(Z.test,V,"test",J,1),K(Z.update,V,"update",X,1),K(Z.body,V,"body",H,1),V}function OD(G=null,J,X,H=!1,V=!1){let Z={type:"FunctionDeclaration",id:G,params:J,body:X,generator:H,async:V},Q=O.FunctionDeclaration;return K(Q.id,Z,"id",G,1),K(Q.params,Z,"params",J,1),K(Q.body,Z,"body",X,1),K(Q.generator,Z,"generator",H),K(Q.async,Z,"async",V),Z}function AD(G=null,J,X,H=!1,V=!1){let Z={type:"FunctionExpression",id:G,params:J,body:X,generator:H,async:V},Q=O.FunctionExpression;return K(Q.id,Z,"id",G,1),K(Q.params,Z,"params",J,1),K(Q.body,Z,"body",X,1),K(Q.generator,Z,"generator",H),K(Q.async,Z,"async",V),Z}function CD(G){let J={type:"Identifier",name:G},X=O.Identifier;return K(X.name,J,"name",G),J}function DD(G,J,X=null){let H={type:"IfStatement",test:G,consequent:J,alternate:X},V=O.IfStatement;return K(V.test,H,"test",G,1),K(V.consequent,H,"consequent",J,1),K(V.alternate,H,"alternate",X,1),H}function SD(G,J){let X={type:"LabeledStatement",label:G,body:J},H=O.LabeledStatement;return K(H.label,X,"label",G,1),K(H.body,X,"body",J,1),X}function fD(G){let J={type:"StringLiteral",value:G},X=O.StringLiteral;return K(X.value,J,"value",G),J}function C8(G){let J={type:"NumericLiteral",value:G},X=O.NumericLiteral;return K(X.value,J,"value",G),J}function ID(){return{type:"NullLiteral"}}function PD(G){let J={type:"BooleanLiteral",value:G},X=O.BooleanLiteral;return K(X.value,J,"value",G),J}function D8(G,J=""){let X={type:"RegExpLiteral",pattern:G,flags:J},H=O.RegExpLiteral;return K(H.pattern,X,"pattern",G),K(H.flags,X,"flags",J),X}function ND(G,J,X){let H={type:"LogicalExpression",operator:G,left:J,right:X},V=O.LogicalExpression;return K(V.operator,H,"operator",G),K(V.left,H,"left",J,1),K(V.right,H,"right",X,1),H}function TD(G,J,X=!1,H=null){let V={type:"MemberExpression",object:G,property:J,computed:X,optional:H},Z=O.MemberExpression;return K(Z.object,V,"object",G,1),K(Z.property,V,"property",J,1),K(Z.computed,V,"computed",X),K(Z.optional,V,"optional",H),V}function wD(G,J){let X={type:"NewExpression",callee:G,arguments:J},H=O.NewExpression;return K(H.callee,X,"callee",G,1),K(H.arguments,X,"arguments",J,1),X}function LD(G,J=[],X="script",H=null){let V={type:"Program",body:G,directives:J,sourceType:X,interpreter:H},Z=O.Program;return K(Z.body,V,"body",G,1),K(Z.directives,V,"directives",J,1),K(Z.sourceType,V,"sourceType",X),K(Z.interpreter,V,"interpreter",H,1),V}function bD(G){let J={type:"ObjectExpression",properties:G},X=O.ObjectExpression;return K(X.properties,J,"properties",G,1),J}function kD(G="method",J,X,H,V=!1,Z=!1,Q=!1){let W={type:"ObjectMethod",kind:G,key:J,params:X,body:H,computed:V,generator:Z,async:Q},Y=O.ObjectMethod;return K(Y.kind,W,"kind",G),K(Y.key,W,"key",J,1),K(Y.params,W,"params",X,1),K(Y.body,W,"body",H,1),K(Y.computed,W,"computed",V),K(Y.generator,W,"generator",Z),K(Y.async,W,"async",Q),W}function vD(G,J,X=!1,H=!1,V=null){let Z={type:"ObjectProperty",key:G,value:J,computed:X,shorthand:H,decorators:V},Q=O.ObjectProperty;return K(Q.key,Z,"key",G,1),K(Q.value,Z,"value",J,1),K(Q.computed,Z,"computed",X),K(Q.shorthand,Z,"shorthand",H),K(Q.decorators,Z,"decorators",V,1),Z}function S8(G){let J={type:"RestElement",argument:G},X=O.RestElement;return K(X.argument,J,"argument",G,1),J}function ED(G=null){let J={type:"ReturnStatement",argument:G},X=O.ReturnStatement;return K(X.argument,J,"argument",G,1),J}function gD(G){let J={type:"SequenceExpression",expressions:G},X=O.SequenceExpression;return K(X.expressions,J,"expressions",G,1),J}function _D(G){let J={type:"ParenthesizedExpression",expression:G},X=O.ParenthesizedExpression;return K(X.expression,J,"expression",G,1),J}function hD(G=null,J){let X={type:"SwitchCase",test:G,consequent:J},H=O.SwitchCase;return K(H.test,X,"test",G,1),K(H.consequent,X,"consequent",J,1),X}function uD(G,J){let X={type:"SwitchStatement",discriminant:G,cases:J},H=O.SwitchStatement;return K(H.discriminant,X,"discriminant",G,1),K(H.cases,X,"cases",J,1),X}function yD(){return{type:"ThisExpression"}}function xD(G){let J={type:"ThrowStatement",argument:G},X=O.ThrowStatement;return K(X.argument,J,"argument",G,1),J}function mD(G,J=null,X=null){let H={type:"TryStatement",block:G,handler:J,finalizer:X},V=O.TryStatement;return K(V.block,H,"block",G,1),K(V.handler,H,"handler",J,1),K(V.finalizer,H,"finalizer",X,1),H}function cD(G,J,X=!0){let H={type:"UnaryExpression",operator:G,argument:J,prefix:X},V=O.UnaryExpression;return K(V.operator,H,"operator",G),K(V.argument,H,"argument",J,1),K(V.prefix,H,"prefix",X),H}function lD(G,J,X=!1){let H={type:"UpdateExpression",operator:G,argument:J,prefix:X},V=O.UpdateExpression;return K(V.operator,H,"operator",G),K(V.argument,H,"argument",J,1),K(V.prefix,H,"prefix",X),H}function iD(G,J){let X={type:"VariableDeclaration",kind:G,declarations:J},H=O.VariableDeclaration;return K(H.kind,X,"kind",G),K(H.declarations,X,"declarations",J,1),X}function aD(G,J=null){let X={type:"VariableDeclarator",id:G,init:J},H=O.VariableDeclarator;return K(H.id,X,"id",G,1),K(H.init,X,"init",J,1),X}function pD(G,J){let X={type:"WhileStatement",test:G,body:J},H=O.WhileStatement;return K(H.test,X,"test",G,1),K(H.body,X,"body",J,1),X}function rD(G,J){let X={type:"WithStatement",object:G,body:J},H=O.WithStatement;return K(H.object,X,"object",G,1),K(H.body,X,"body",J,1),X}function sD(G,J){let X={type:"AssignmentPattern",left:G,right:J},H=O.AssignmentPattern;return K(H.left,X,"left",G,1),K(H.right,X,"right",J,1),X}function dD(G){let J={type:"ArrayPattern",elements:G},X=O.ArrayPattern;return K(X.elements,J,"elements",G,1),J}function tD(G,J,X=!1){let H={type:"ArrowFunctionExpression",params:G,body:J,async:X,expression:null},V=O.ArrowFunctionExpression;return K(V.params,H,"params",G,1),K(V.body,H,"body",J,1),K(V.async,H,"async",X),H}function nD(G){let J={type:"ClassBody",body:G},X=O.ClassBody;return K(X.body,J,"body",G,1),J}function oD(G=null,J=null,X,H=null){let V={type:"ClassExpression",id:G,superClass:J,body:X,decorators:H},Z=O.ClassExpression;return K(Z.id,V,"id",G,1),K(Z.superClass,V,"superClass",J,1),K(Z.body,V,"body",X,1),K(Z.decorators,V,"decorators",H,1),V}function eD(G=null,J=null,X,H=null){let V={type:"ClassDeclaration",id:G,superClass:J,body:X,decorators:H},Z=O.ClassDeclaration;return K(Z.id,V,"id",G,1),K(Z.superClass,V,"superClass",J,1),K(Z.body,V,"body",X,1),K(Z.decorators,V,"decorators",H,1),V}function GS(G){let J={type:"ExportAllDeclaration",source:G},X=O.ExportAllDeclaration;return K(X.source,J,"source",G,1),J}function JS(G){let J={type:"ExportDefaultDeclaration",declaration:G},X=O.ExportDefaultDeclaration;return K(X.declaration,J,"declaration",G,1),J}function XS(G=null,J=[],X=null){let H={type:"ExportNamedDeclaration",declaration:G,specifiers:J,source:X},V=O.ExportNamedDeclaration;return K(V.declaration,H,"declaration",G,1),K(V.specifiers,H,"specifiers",J,1),K(V.source,H,"source",X,1),H}function HS(G,J){let X={type:"ExportSpecifier",local:G,exported:J},H=O.ExportSpecifier;return K(H.local,X,"local",G,1),K(H.exported,X,"exported",J,1),X}function VS(G,J,X,H=!1){let V={type:"ForOfStatement",left:G,right:J,body:X,await:H},Z=O.ForOfStatement;return K(Z.left,V,"left",G,1),K(Z.right,V,"right",J,1),K(Z.body,V,"body",X,1),K(Z.await,V,"await",H),V}function ZS(G,J){let X={type:"ImportDeclaration",specifiers:G,source:J},H=O.ImportDeclaration;return K(H.specifiers,X,"specifiers",G,1),K(H.source,X,"source",J,1),X}function QS(G){let J={type:"ImportDefaultSpecifier",local:G},X=O.ImportDefaultSpecifier;return K(X.local,J,"local",G,1),J}function WS(G){let J={type:"ImportNamespaceSpecifier",local:G},X=O.ImportNamespaceSpecifier;return K(X.local,J,"local",G,1),J}function YS(G,J){let X={type:"ImportSpecifier",local:G,imported:J},H=O.ImportSpecifier;return K(H.local,X,"local",G,1),K(H.imported,X,"imported",J,1),X}function zS(G,J=null){let X={type:"ImportExpression",source:G,options:J},H=O.ImportExpression;return K(H.source,X,"source",G,1),K(H.options,X,"options",J,1),X}function KS(G,J){let X={type:"MetaProperty",meta:G,property:J},H=O.MetaProperty;return K(H.meta,X,"meta",G,1),K(H.property,X,"property",J,1),X}function US(G="method",J,X,H,V=!1,Z=!1,Q=!1,W=!1){let Y={type:"ClassMethod",kind:G,key:J,params:X,body:H,computed:V,static:Z,generator:Q,async:W},z=O.ClassMethod;return K(z.kind,Y,"kind",G),K(z.key,Y,"key",J,1),K(z.params,Y,"params",X,1),K(z.body,Y,"body",H,1),K(z.computed,Y,"computed",V),K(z.static,Y,"static",Z),K(z.generator,Y,"generator",Q),K(z.async,Y,"async",W),Y}function RS(G){let J={type:"ObjectPattern",properties:G},X=O.ObjectPattern;return K(X.properties,J,"properties",G,1),J}function f8(G){let J={type:"SpreadElement",argument:G},X=O.SpreadElement;return K(X.argument,J,"argument",G,1),J}function BS(){return{type:"Super"}}function MS(G,J){let X={type:"TaggedTemplateExpression",tag:G,quasi:J},H=O.TaggedTemplateExpression;return K(H.tag,X,"tag",G,1),K(H.quasi,X,"quasi",J,1),X}function $S(G,J=!1){let X={type:"TemplateElement",value:G,tail:J},H=O.TemplateElement;return K(H.value,X,"value",G),K(H.tail,X,"tail",J),X}function FS(G,J){let X={type:"TemplateLiteral",quasis:G,expressions:J},H=O.TemplateLiteral;return K(H.quasis,X,"quasis",G,1),K(H.expressions,X,"expressions",J,1),X}function qS(G=null,J=!1){let X={type:"YieldExpression",argument:G,delegate:J},H=O.YieldExpression;return K(H.argument,X,"argument",G,1),K(H.delegate,X,"delegate",J),X}function jS(G){let J={type:"AwaitExpression",argument:G},X=O.AwaitExpression;return K(X.argument,J,"argument",G,1),J}function OS(){return{type:"Import"}}function AS(G){let J={type:"BigIntLiteral",value:G},X=O.BigIntLiteral;return K(X.value,J,"value",G),J}function CS(G){let J={type:"ExportNamespaceSpecifier",exported:G},X=O.ExportNamespaceSpecifier;return K(X.exported,J,"exported",G,1),J}function DS(G,J,X=!1,H){let V={type:"OptionalMemberExpression",object:G,property:J,computed:X,optional:H},Z=O.OptionalMemberExpression;return K(Z.object,V,"object",G,1),K(Z.property,V,"property",J,1),K(Z.computed,V,"computed",X),K(Z.optional,V,"optional",H),V}function SS(G,J,X){let H={type:"OptionalCallExpression",callee:G,arguments:J,optional:X},V=O.OptionalCallExpression;return K(V.callee,H,"callee",G,1),K(V.arguments,H,"arguments",J,1),K(V.optional,H,"optional",X),H}function fS(G,J=null,X=null,H=null,V=!1,Z=!1){let Q={type:"ClassProperty",key:G,value:J,typeAnnotation:X,decorators:H,computed:V,static:Z},W=O.ClassProperty;return K(W.key,Q,"key",G,1),K(W.value,Q,"value",J,1),K(W.typeAnnotation,Q,"typeAnnotation",X,1),K(W.decorators,Q,"decorators",H,1),K(W.computed,Q,"computed",V),K(W.static,Q,"static",Z),Q}function IS(G,J=null,X=null,H=null,V=!1,Z=!1){let Q={type:"ClassAccessorProperty",key:G,value:J,typeAnnotation:X,decorators:H,computed:V,static:Z},W=O.ClassAccessorProperty;return K(W.key,Q,"key",G,1),K(W.value,Q,"value",J,1),K(W.typeAnnotation,Q,"typeAnnotation",X,1),K(W.decorators,Q,"decorators",H,1),K(W.computed,Q,"computed",V),K(W.static,Q,"static",Z),Q}function PS(G,J=null,X=null,H=!1){let V={type:"ClassPrivateProperty",key:G,value:J,decorators:X,static:H},Z=O.ClassPrivateProperty;return K(Z.key,V,"key",G,1),K(Z.value,V,"value",J,1),K(Z.decorators,V,"decorators",X,1),K(Z.static,V,"static",H),V}function NS(G="method",J,X,H,V=!1){let Z={type:"ClassPrivateMethod",kind:G,key:J,params:X,body:H,static:V},Q=O.ClassPrivateMethod;return K(Q.kind,Z,"kind",G),K(Q.key,Z,"key",J,1),K(Q.params,Z,"params",X,1),K(Q.body,Z,"body",H,1),K(Q.static,Z,"static",V),Z}function TS(G){let J={type:"PrivateName",id:G},X=O.PrivateName;return K(X.id,J,"id",G,1),J}function wS(G){let J={type:"StaticBlock",body:G},X=O.StaticBlock;return K(X.body,J,"body",G,1),J}function LS(){return{type:"AnyTypeAnnotation"}}function bS(G){let J={type:"ArrayTypeAnnotation",elementType:G},X=O.ArrayTypeAnnotation;return K(X.elementType,J,"elementType",G,1),J}function kS(){return{type:"BooleanTypeAnnotation"}}function vS(G){let J={type:"BooleanLiteralTypeAnnotation",value:G},X=O.BooleanLiteralTypeAnnotation;return K(X.value,J,"value",G),J}function ES(){return{type:"NullLiteralTypeAnnotation"}}function gS(G,J=null){let X={type:"ClassImplements",id:G,typeParameters:J},H=O.ClassImplements;return K(H.id,X,"id",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function _S(G,J=null,X=null,H){let V={type:"DeclareClass",id:G,typeParameters:J,extends:X,body:H},Z=O.DeclareClass;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function hS(G){let J={type:"DeclareFunction",id:G},X=O.DeclareFunction;return K(X.id,J,"id",G,1),J}function uS(G,J=null,X=null,H){let V={type:"DeclareInterface",id:G,typeParameters:J,extends:X,body:H},Z=O.DeclareInterface;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function yS(G,J,X=null){let H={type:"DeclareModule",id:G,body:J,kind:X},V=O.DeclareModule;return K(V.id,H,"id",G,1),K(V.body,H,"body",J,1),K(V.kind,H,"kind",X),H}function xS(G){let J={type:"DeclareModuleExports",typeAnnotation:G},X=O.DeclareModuleExports;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function mS(G,J=null,X){let H={type:"DeclareTypeAlias",id:G,typeParameters:J,right:X},V=O.DeclareTypeAlias;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.right,H,"right",X,1),H}function cS(G,J=null,X=null){let H={type:"DeclareOpaqueType",id:G,typeParameters:J,supertype:X},V=O.DeclareOpaqueType;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.supertype,H,"supertype",X,1),H}function lS(G){let J={type:"DeclareVariable",id:G},X=O.DeclareVariable;return K(X.id,J,"id",G,1),J}function iS(G=null,J=null,X=null,H=null){let V={type:"DeclareExportDeclaration",declaration:G,specifiers:J,source:X,attributes:H},Z=O.DeclareExportDeclaration;return K(Z.declaration,V,"declaration",G,1),K(Z.specifiers,V,"specifiers",J,1),K(Z.source,V,"source",X,1),K(Z.attributes,V,"attributes",H,1),V}function aS(G,J=null){let X={type:"DeclareExportAllDeclaration",source:G,attributes:J},H=O.DeclareExportAllDeclaration;return K(H.source,X,"source",G,1),K(H.attributes,X,"attributes",J,1),X}function pS(G){let J={type:"DeclaredPredicate",value:G},X=O.DeclaredPredicate;return K(X.value,J,"value",G,1),J}function rS(){return{type:"ExistsTypeAnnotation"}}function sS(G=null,J,X=null,H){let V={type:"FunctionTypeAnnotation",typeParameters:G,params:J,rest:X,returnType:H},Z=O.FunctionTypeAnnotation;return K(Z.typeParameters,V,"typeParameters",G,1),K(Z.params,V,"params",J,1),K(Z.rest,V,"rest",X,1),K(Z.returnType,V,"returnType",H,1),V}function dS(G=null,J){let X={type:"FunctionTypeParam",name:G,typeAnnotation:J},H=O.FunctionTypeParam;return K(H.name,X,"name",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function tS(G,J=null){let X={type:"GenericTypeAnnotation",id:G,typeParameters:J},H=O.GenericTypeAnnotation;return K(H.id,X,"id",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function nS(){return{type:"InferredPredicate"}}function oS(G,J=null){let X={type:"InterfaceExtends",id:G,typeParameters:J},H=O.InterfaceExtends;return K(H.id,X,"id",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function eS(G,J=null,X=null,H){let V={type:"InterfaceDeclaration",id:G,typeParameters:J,extends:X,body:H},Z=O.InterfaceDeclaration;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function Gf(G=null,J){let X={type:"InterfaceTypeAnnotation",extends:G,body:J},H=O.InterfaceTypeAnnotation;return K(H.extends,X,"extends",G,1),K(H.body,X,"body",J,1),X}function Jf(G){let J={type:"IntersectionTypeAnnotation",types:G},X=O.IntersectionTypeAnnotation;return K(X.types,J,"types",G,1),J}function Xf(){return{type:"MixedTypeAnnotation"}}function Hf(){return{type:"EmptyTypeAnnotation"}}function Vf(G){let J={type:"NullableTypeAnnotation",typeAnnotation:G},X=O.NullableTypeAnnotation;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function Zf(G){let J={type:"NumberLiteralTypeAnnotation",value:G},X=O.NumberLiteralTypeAnnotation;return K(X.value,J,"value",G),J}function Qf(){return{type:"NumberTypeAnnotation"}}function Wf(G,J=[],X=[],H=[],V=!1){let Z={type:"ObjectTypeAnnotation",properties:G,indexers:J,callProperties:X,internalSlots:H,exact:V},Q=O.ObjectTypeAnnotation;return K(Q.properties,Z,"properties",G,1),K(Q.indexers,Z,"indexers",J,1),K(Q.callProperties,Z,"callProperties",X,1),K(Q.internalSlots,Z,"internalSlots",H,1),K(Q.exact,Z,"exact",V),Z}function Yf(G,J,X,H,V){let Z={type:"ObjectTypeInternalSlot",id:G,value:J,optional:X,static:H,method:V},Q=O.ObjectTypeInternalSlot;return K(Q.id,Z,"id",G,1),K(Q.value,Z,"value",J,1),K(Q.optional,Z,"optional",X),K(Q.static,Z,"static",H),K(Q.method,Z,"method",V),Z}function zf(G){let J={type:"ObjectTypeCallProperty",value:G,static:null},X=O.ObjectTypeCallProperty;return K(X.value,J,"value",G,1),J}function Kf(G=null,J,X,H=null){let V={type:"ObjectTypeIndexer",id:G,key:J,value:X,variance:H,static:null},Z=O.ObjectTypeIndexer;return K(Z.id,V,"id",G,1),K(Z.key,V,"key",J,1),K(Z.value,V,"value",X,1),K(Z.variance,V,"variance",H,1),V}function Uf(G,J,X=null){let H={type:"ObjectTypeProperty",key:G,value:J,variance:X,kind:null,method:null,optional:null,proto:null,static:null},V=O.ObjectTypeProperty;return K(V.key,H,"key",G,1),K(V.value,H,"value",J,1),K(V.variance,H,"variance",X,1),H}function Rf(G){let J={type:"ObjectTypeSpreadProperty",argument:G},X=O.ObjectTypeSpreadProperty;return K(X.argument,J,"argument",G,1),J}function Bf(G,J=null,X=null,H){let V={type:"OpaqueType",id:G,typeParameters:J,supertype:X,impltype:H},Z=O.OpaqueType;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.supertype,V,"supertype",X,1),K(Z.impltype,V,"impltype",H,1),V}function Mf(G,J){let X={type:"QualifiedTypeIdentifier",id:G,qualification:J},H=O.QualifiedTypeIdentifier;return K(H.id,X,"id",G,1),K(H.qualification,X,"qualification",J,1),X}function $f(G){let J={type:"StringLiteralTypeAnnotation",value:G},X=O.StringLiteralTypeAnnotation;return K(X.value,J,"value",G),J}function Ff(){return{type:"StringTypeAnnotation"}}function qf(){return{type:"SymbolTypeAnnotation"}}function jf(){return{type:"ThisTypeAnnotation"}}function Of(G){let J={type:"TupleTypeAnnotation",types:G},X=O.TupleTypeAnnotation;return K(X.types,J,"types",G,1),J}function Af(G){let J={type:"TypeofTypeAnnotation",argument:G},X=O.TypeofTypeAnnotation;return K(X.argument,J,"argument",G,1),J}function Cf(G,J=null,X){let H={type:"TypeAlias",id:G,typeParameters:J,right:X},V=O.TypeAlias;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.right,H,"right",X,1),H}function Df(G){let J={type:"TypeAnnotation",typeAnnotation:G},X=O.TypeAnnotation;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function Sf(G,J){let X={type:"TypeCastExpression",expression:G,typeAnnotation:J},H=O.TypeCastExpression;return K(H.expression,X,"expression",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function ff(G=null,J=null,X=null){let H={type:"TypeParameter",bound:G,default:J,variance:X,name:null},V=O.TypeParameter;return K(V.bound,H,"bound",G,1),K(V.default,H,"default",J,1),K(V.variance,H,"variance",X,1),H}function If(G){let J={type:"TypeParameterDeclaration",params:G},X=O.TypeParameterDeclaration;return K(X.params,J,"params",G,1),J}function Pf(G){let J={type:"TypeParameterInstantiation",params:G},X=O.TypeParameterInstantiation;return K(X.params,J,"params",G,1),J}function Nf(G){let J={type:"UnionTypeAnnotation",types:G},X=O.UnionTypeAnnotation;return K(X.types,J,"types",G,1),J}function Tf(G){let J={type:"Variance",kind:G},X=O.Variance;return K(X.kind,J,"kind",G),J}function wf(){return{type:"VoidTypeAnnotation"}}function Lf(G,J){let X={type:"EnumDeclaration",id:G,body:J},H=O.EnumDeclaration;return K(H.id,X,"id",G,1),K(H.body,X,"body",J,1),X}function bf(G){let J={type:"EnumBooleanBody",members:G,explicitType:null,hasUnknownMembers:null},X=O.EnumBooleanBody;return K(X.members,J,"members",G,1),J}function kf(G){let J={type:"EnumNumberBody",members:G,explicitType:null,hasUnknownMembers:null},X=O.EnumNumberBody;return K(X.members,J,"members",G,1),J}function vf(G){let J={type:"EnumStringBody",members:G,explicitType:null,hasUnknownMembers:null},X=O.EnumStringBody;return K(X.members,J,"members",G,1),J}function Ef(G){let J={type:"EnumSymbolBody",members:G,hasUnknownMembers:null},X=O.EnumSymbolBody;return K(X.members,J,"members",G,1),J}function gf(G){let J={type:"EnumBooleanMember",id:G,init:null},X=O.EnumBooleanMember;return K(X.id,J,"id",G,1),J}function _f(G,J){let X={type:"EnumNumberMember",id:G,init:J},H=O.EnumNumberMember;return K(H.id,X,"id",G,1),K(H.init,X,"init",J,1),X}function hf(G,J){let X={type:"EnumStringMember",id:G,init:J},H=O.EnumStringMember;return K(H.id,X,"id",G,1),K(H.init,X,"init",J,1),X}function uf(G){let J={type:"EnumDefaultedMember",id:G},X=O.EnumDefaultedMember;return K(X.id,J,"id",G,1),J}function yf(G,J){let X={type:"IndexedAccessType",objectType:G,indexType:J},H=O.IndexedAccessType;return K(H.objectType,X,"objectType",G,1),K(H.indexType,X,"indexType",J,1),X}function xf(G,J){let X={type:"OptionalIndexedAccessType",objectType:G,indexType:J,optional:null},H=O.OptionalIndexedAccessType;return K(H.objectType,X,"objectType",G,1),K(H.indexType,X,"indexType",J,1),X}function mf(G,J=null){let X={type:"JSXAttribute",name:G,value:J},H=O.JSXAttribute;return K(H.name,X,"name",G,1),K(H.value,X,"value",J,1),X}function cf(G){let J={type:"JSXClosingElement",name:G},X=O.JSXClosingElement;return K(X.name,J,"name",G,1),J}function lf(G,J=null,X,H=null){let V={type:"JSXElement",openingElement:G,closingElement:J,children:X,selfClosing:H},Z=O.JSXElement;return K(Z.openingElement,V,"openingElement",G,1),K(Z.closingElement,V,"closingElement",J,1),K(Z.children,V,"children",X,1),K(Z.selfClosing,V,"selfClosing",H),V}function af(){return{type:"JSXEmptyExpression"}}function pf(G){let J={type:"JSXExpressionContainer",expression:G},X=O.JSXExpressionContainer;return K(X.expression,J,"expression",G,1),J}function rf(G){let J={type:"JSXSpreadChild",expression:G},X=O.JSXSpreadChild;return K(X.expression,J,"expression",G,1),J}function sf(G){let J={type:"JSXIdentifier",name:G},X=O.JSXIdentifier;return K(X.name,J,"name",G),J}function df(G,J){let X={type:"JSXMemberExpression",object:G,property:J},H=O.JSXMemberExpression;return K(H.object,X,"object",G,1),K(H.property,X,"property",J,1),X}function tf(G,J){let X={type:"JSXNamespacedName",namespace:G,name:J},H=O.JSXNamespacedName;return K(H.namespace,X,"namespace",G,1),K(H.name,X,"name",J,1),X}function nf(G,J,X=!1){let H={type:"JSXOpeningElement",name:G,attributes:J,selfClosing:X},V=O.JSXOpeningElement;return K(V.name,H,"name",G,1),K(V.attributes,H,"attributes",J,1),K(V.selfClosing,H,"selfClosing",X),H}function of(G){let J={type:"JSXSpreadAttribute",argument:G},X=O.JSXSpreadAttribute;return K(X.argument,J,"argument",G,1),J}function ef(G){let J={type:"JSXText",value:G},X=O.JSXText;return K(X.value,J,"value",G),J}function GI(G,J,X){let H={type:"JSXFragment",openingFragment:G,closingFragment:J,children:X},V=O.JSXFragment;return K(V.openingFragment,H,"openingFragment",G,1),K(V.closingFragment,H,"closingFragment",J,1),K(V.children,H,"children",X,1),H}function JI(){return{type:"JSXOpeningFragment"}}function XI(){return{type:"JSXClosingFragment"}}function HI(){return{type:"Noop"}}function VI(G,J){let X={type:"Placeholder",expectedNode:G,name:J},H=O.Placeholder;return K(H.expectedNode,X,"expectedNode",G),K(H.name,X,"name",J,1),X}function ZI(G){let J={type:"V8IntrinsicIdentifier",name:G},X=O.V8IntrinsicIdentifier;return K(X.name,J,"name",G),J}function QI(){return{type:"ArgumentPlaceholder"}}function WI(G,J){let X={type:"BindExpression",object:G,callee:J},H=O.BindExpression;return K(H.object,X,"object",G,1),K(H.callee,X,"callee",J,1),X}function YI(G,J){let X={type:"ImportAttribute",key:G,value:J},H=O.ImportAttribute;return K(H.key,X,"key",G,1),K(H.value,X,"value",J,1),X}function zI(G){let J={type:"Decorator",expression:G},X=O.Decorator;return K(X.expression,J,"expression",G,1),J}function KI(G,J=!1){let X={type:"DoExpression",body:G,async:J},H=O.DoExpression;return K(H.body,X,"body",G,1),K(H.async,X,"async",J),X}function UI(G){let J={type:"ExportDefaultSpecifier",exported:G},X=O.ExportDefaultSpecifier;return K(X.exported,J,"exported",G,1),J}function RI(G){let J={type:"RecordExpression",properties:G},X=O.RecordExpression;return K(X.properties,J,"properties",G,1),J}function BI(G=[]){let J={type:"TupleExpression",elements:G},X=O.TupleExpression;return K(X.elements,J,"elements",G,1),J}function MI(G){let J={type:"DecimalLiteral",value:G},X=O.DecimalLiteral;return K(X.value,J,"value",G),J}function $I(G){let J={type:"ModuleExpression",body:G},X=O.ModuleExpression;return K(X.body,J,"body",G,1),J}function FI(){return{type:"TopicReference"}}function qI(G){let J={type:"PipelineTopicExpression",expression:G},X=O.PipelineTopicExpression;return K(X.expression,J,"expression",G,1),J}function jI(G){let J={type:"PipelineBareFunction",callee:G},X=O.PipelineBareFunction;return K(X.callee,J,"callee",G,1),J}function OI(){return{type:"PipelinePrimaryTopicReference"}}function AI(G){let J={type:"TSParameterProperty",parameter:G},X=O.TSParameterProperty;return K(X.parameter,J,"parameter",G,1),J}function CI(G=null,J=null,X,H=null){let V={type:"TSDeclareFunction",id:G,typeParameters:J,params:X,returnType:H},Z=O.TSDeclareFunction;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.params,V,"params",X,1),K(Z.returnType,V,"returnType",H,1),V}function DI(G=null,J,X=null,H,V=null){let Z={type:"TSDeclareMethod",decorators:G,key:J,typeParameters:X,params:H,returnType:V},Q=O.TSDeclareMethod;return K(Q.decorators,Z,"decorators",G,1),K(Q.key,Z,"key",J,1),K(Q.typeParameters,Z,"typeParameters",X,1),K(Q.params,Z,"params",H,1),K(Q.returnType,Z,"returnType",V,1),Z}function SI(G,J){let X={type:"TSQualifiedName",left:G,right:J},H=O.TSQualifiedName;return K(H.left,X,"left",G,1),K(H.right,X,"right",J,1),X}function fI(G=null,J,X=null){let H={type:"TSCallSignatureDeclaration",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSCallSignatureDeclaration;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function II(G=null,J,X=null){let H={type:"TSConstructSignatureDeclaration",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSConstructSignatureDeclaration;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function PI(G,J=null){let X={type:"TSPropertySignature",key:G,typeAnnotation:J,kind:null},H=O.TSPropertySignature;return K(H.key,X,"key",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function NI(G,J=null,X,H=null){let V={type:"TSMethodSignature",key:G,typeParameters:J,parameters:X,typeAnnotation:H,kind:null},Z=O.TSMethodSignature;return K(Z.key,V,"key",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.parameters,V,"parameters",X,1),K(Z.typeAnnotation,V,"typeAnnotation",H,1),V}function TI(G,J=null){let X={type:"TSIndexSignature",parameters:G,typeAnnotation:J},H=O.TSIndexSignature;return K(H.parameters,X,"parameters",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function wI(){return{type:"TSAnyKeyword"}}function LI(){return{type:"TSBooleanKeyword"}}function bI(){return{type:"TSBigIntKeyword"}}function kI(){return{type:"TSIntrinsicKeyword"}}function vI(){return{type:"TSNeverKeyword"}}function EI(){return{type:"TSNullKeyword"}}function gI(){return{type:"TSNumberKeyword"}}function _I(){return{type:"TSObjectKeyword"}}function hI(){return{type:"TSStringKeyword"}}function uI(){return{type:"TSSymbolKeyword"}}function yI(){return{type:"TSUndefinedKeyword"}}function xI(){return{type:"TSUnknownKeyword"}}function mI(){return{type:"TSVoidKeyword"}}function cI(){return{type:"TSThisType"}}function lI(G=null,J,X=null){let H={type:"TSFunctionType",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSFunctionType;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function iI(G=null,J,X=null){let H={type:"TSConstructorType",typeParameters:G,parameters:J,typeAnnotation:X},V=O.TSConstructorType;return K(V.typeParameters,H,"typeParameters",G,1),K(V.parameters,H,"parameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function aI(G,J=null){let X={type:"TSTypeReference",typeName:G,typeParameters:J},H=O.TSTypeReference;return K(H.typeName,X,"typeName",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function pI(G,J=null,X=null){let H={type:"TSTypePredicate",parameterName:G,typeAnnotation:J,asserts:X},V=O.TSTypePredicate;return K(V.parameterName,H,"parameterName",G,1),K(V.typeAnnotation,H,"typeAnnotation",J,1),K(V.asserts,H,"asserts",X),H}function rI(G,J=null){let X={type:"TSTypeQuery",exprName:G,typeParameters:J},H=O.TSTypeQuery;return K(H.exprName,X,"exprName",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function sI(G){let J={type:"TSTypeLiteral",members:G},X=O.TSTypeLiteral;return K(X.members,J,"members",G,1),J}function dI(G){let J={type:"TSArrayType",elementType:G},X=O.TSArrayType;return K(X.elementType,J,"elementType",G,1),J}function tI(G){let J={type:"TSTupleType",elementTypes:G},X=O.TSTupleType;return K(X.elementTypes,J,"elementTypes",G,1),J}function nI(G){let J={type:"TSOptionalType",typeAnnotation:G},X=O.TSOptionalType;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function oI(G){let J={type:"TSRestType",typeAnnotation:G},X=O.TSRestType;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function eI(G,J,X=!1){let H={type:"TSNamedTupleMember",label:G,elementType:J,optional:X},V=O.TSNamedTupleMember;return K(V.label,H,"label",G,1),K(V.elementType,H,"elementType",J,1),K(V.optional,H,"optional",X),H}function GP(G){let J={type:"TSUnionType",types:G},X=O.TSUnionType;return K(X.types,J,"types",G,1),J}function JP(G){let J={type:"TSIntersectionType",types:G},X=O.TSIntersectionType;return K(X.types,J,"types",G,1),J}function XP(G,J,X,H){let V={type:"TSConditionalType",checkType:G,extendsType:J,trueType:X,falseType:H},Z=O.TSConditionalType;return K(Z.checkType,V,"checkType",G,1),K(Z.extendsType,V,"extendsType",J,1),K(Z.trueType,V,"trueType",X,1),K(Z.falseType,V,"falseType",H,1),V}function HP(G){let J={type:"TSInferType",typeParameter:G},X=O.TSInferType;return K(X.typeParameter,J,"typeParameter",G,1),J}function VP(G){let J={type:"TSParenthesizedType",typeAnnotation:G},X=O.TSParenthesizedType;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function ZP(G){let J={type:"TSTypeOperator",typeAnnotation:G,operator:null},X=O.TSTypeOperator;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function QP(G,J){let X={type:"TSIndexedAccessType",objectType:G,indexType:J},H=O.TSIndexedAccessType;return K(H.objectType,X,"objectType",G,1),K(H.indexType,X,"indexType",J,1),X}function WP(G,J=null,X=null){let H={type:"TSMappedType",typeParameter:G,typeAnnotation:J,nameType:X},V=O.TSMappedType;return K(V.typeParameter,H,"typeParameter",G,1),K(V.typeAnnotation,H,"typeAnnotation",J,1),K(V.nameType,H,"nameType",X,1),H}function YP(G){let J={type:"TSLiteralType",literal:G},X=O.TSLiteralType;return K(X.literal,J,"literal",G,1),J}function zP(G,J=null){let X={type:"TSExpressionWithTypeArguments",expression:G,typeParameters:J},H=O.TSExpressionWithTypeArguments;return K(H.expression,X,"expression",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function KP(G,J=null,X=null,H){let V={type:"TSInterfaceDeclaration",id:G,typeParameters:J,extends:X,body:H},Z=O.TSInterfaceDeclaration;return K(Z.id,V,"id",G,1),K(Z.typeParameters,V,"typeParameters",J,1),K(Z.extends,V,"extends",X,1),K(Z.body,V,"body",H,1),V}function UP(G){let J={type:"TSInterfaceBody",body:G},X=O.TSInterfaceBody;return K(X.body,J,"body",G,1),J}function RP(G,J=null,X){let H={type:"TSTypeAliasDeclaration",id:G,typeParameters:J,typeAnnotation:X},V=O.TSTypeAliasDeclaration;return K(V.id,H,"id",G,1),K(V.typeParameters,H,"typeParameters",J,1),K(V.typeAnnotation,H,"typeAnnotation",X,1),H}function BP(G,J=null){let X={type:"TSInstantiationExpression",expression:G,typeParameters:J},H=O.TSInstantiationExpression;return K(H.expression,X,"expression",G,1),K(H.typeParameters,X,"typeParameters",J,1),X}function MP(G,J){let X={type:"TSAsExpression",expression:G,typeAnnotation:J},H=O.TSAsExpression;return K(H.expression,X,"expression",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function $P(G,J){let X={type:"TSSatisfiesExpression",expression:G,typeAnnotation:J},H=O.TSSatisfiesExpression;return K(H.expression,X,"expression",G,1),K(H.typeAnnotation,X,"typeAnnotation",J,1),X}function FP(G,J){let X={type:"TSTypeAssertion",typeAnnotation:G,expression:J},H=O.TSTypeAssertion;return K(H.typeAnnotation,X,"typeAnnotation",G,1),K(H.expression,X,"expression",J,1),X}function qP(G){let J={type:"TSEnumBody",members:G},X=O.TSEnumBody;return K(X.members,J,"members",G,1),J}function jP(G,J){let X={type:"TSEnumDeclaration",id:G,members:J},H=O.TSEnumDeclaration;return K(H.id,X,"id",G,1),K(H.members,X,"members",J,1),X}function OP(G,J=null){let X={type:"TSEnumMember",id:G,initializer:J},H=O.TSEnumMember;return K(H.id,X,"id",G,1),K(H.initializer,X,"initializer",J,1),X}function AP(G,J){let X={type:"TSModuleDeclaration",id:G,body:J,kind:null},H=O.TSModuleDeclaration;return K(H.id,X,"id",G,1),K(H.body,X,"body",J,1),X}function CP(G){let J={type:"TSModuleBlock",body:G},X=O.TSModuleBlock;return K(X.body,J,"body",G,1),J}function DP(G,J=null,X=null){let H={type:"TSImportType",argument:G,qualifier:J,typeParameters:X},V=O.TSImportType;return K(V.argument,H,"argument",G,1),K(V.qualifier,H,"qualifier",J,1),K(V.typeParameters,H,"typeParameters",X,1),H}function SP(G,J){let X={type:"TSImportEqualsDeclaration",id:G,moduleReference:J,isExport:null},H=O.TSImportEqualsDeclaration;return K(H.id,X,"id",G,1),K(H.moduleReference,X,"moduleReference",J,1),X}function fP(G){let J={type:"TSExternalModuleReference",expression:G},X=O.TSExternalModuleReference;return K(X.expression,J,"expression",G,1),J}function IP(G){let J={type:"TSNonNullExpression",expression:G},X=O.TSNonNullExpression;return K(X.expression,J,"expression",G,1),J}function PP(G){let J={type:"TSExportAssignment",expression:G},X=O.TSExportAssignment;return K(X.expression,J,"expression",G,1),J}function NP(G){let J={type:"TSNamespaceExportDeclaration",id:G},X=O.TSNamespaceExportDeclaration;return K(X.id,J,"id",G,1),J}function TP(G){let J={type:"TSTypeAnnotation",typeAnnotation:G},X=O.TSTypeAnnotation;return K(X.typeAnnotation,J,"typeAnnotation",G,1),J}function wP(G){let J={type:"TSTypeParameterInstantiation",params:G},X=O.TSTypeParameterInstantiation;return K(X.params,J,"params",G,1),J}function LP(G){let J={type:"TSTypeParameterDeclaration",params:G},X=O.TSTypeParameterDeclaration;return K(X.params,J,"params",G,1),J}function bP(G=null,J=null,X){let H={type:"TSTypeParameter",constraint:G,default:J,name:X},V=O.TSTypeParameter;return K(V.constraint,H,"constraint",G,1),K(V.default,H,"default",J,1),K(V.name,H,"name",X),H}function kP(G){return EX.default("NumberLiteral","NumericLiteral","The node type "),C8(G)}function vP(G,J=""){return EX.default("RegexLiteral","RegExpLiteral","The node type "),D8(G,J)}function EP(G){return EX.default("RestProperty","RestElement","The node type "),S8(G)}function gP(G){return EX.default("SpreadProperty","SpreadElement","The node type "),f8(G)}});var N8=f((P8)=>{Object.defineProperty(P8,"__esModule",{value:!0});P8.default=Sb;var Cb=y1(),Db=W1();function Sb(G,J){let X=G.value.split(/\r\n|\n|\r/),H=0;for(let Z=0;Z<X.length;Z++)if(/[^ \t]/.exec(X[Z]))H=Z;let V="";for(let Z=0;Z<X.length;Z++){let Q=X[Z],W=Z===0,Y=Z===X.length-1,z=Z===H,U=Q.replace(/\t/g," ");if(!W)U=U.replace(/^ +/,"");if(!Y)U=U.replace(/ +$/,"");if(U){if(!z)U+=" ";V+=U}}if(V)J.push(Db.inherits(Cb.stringLiteral(V),G))}});var w8=f((T8)=>{Object.defineProperty(T8,"__esModule",{value:!0});T8.default=Pb;var U9=N1(),Ib=N8();function Pb(G){let J=[];for(let X=0;X<G.children.length;X++){let H=G.children[X];if(U9.isJSXText(H)){Ib.default(H,J);continue}if(U9.isJSXExpressionContainer(H))H=H.expression;if(U9.isJSXEmptyExpression(H))continue;J.push(H)}return J}});var R9=f((L8)=>{Object.defineProperty(L8,"__esModule",{value:!0});L8.default=wb;var Tb=n1();function wb(G){return!!(G&&Tb.VISITOR_KEYS[G.type])}});var k8=f((b8)=>{Object.defineProperty(b8,"__esModule",{value:!0});b8.default=kb;var bb=R9();function kb(G){if(!bb.default(G)){var J;let X=(J=G==null?void 0:G.type)!=null?J:JSON.stringify(G);throw new TypeError(`Not a valid node of type "${X}"`)}}});var E8=f((v8)=>{Object.defineProperty(v8,"__esModule",{value:!0});v8.assertAccessor=t_;v8.assertAnyTypeAnnotation=$v;v8.assertArgumentPlaceholder=iE;v8.assertArrayExpression=gb;v8.assertArrayPattern=vk;v8.assertArrayTypeAnnotation=Fv;v8.assertArrowFunctionExpression=Ek;v8.assertAssignmentExpression=_b;v8.assertAssignmentPattern=kk;v8.assertAwaitExpression=Hv;v8.assertBigIntLiteral=Zv;v8.assertBinary=j_;v8.assertBinaryExpression=hb;v8.assertBindExpression=aE;v8.assertBlock=C_;v8.assertBlockParent=A_;v8.assertBlockStatement=mb;v8.assertBooleanLiteral=Yk;v8.assertBooleanLiteralTypeAnnotation=jv;v8.assertBooleanTypeAnnotation=qv;v8.assertBreakStatement=cb;v8.assertCallExpression=lb;v8.assertCatchClause=ib;v8.assertClass=p_;v8.assertClassAccessorProperty=Kv;v8.assertClassBody=gk;v8.assertClassDeclaration=hk;v8.assertClassExpression=_k;v8.assertClassImplements=Av;v8.assertClassMethod=dk;v8.assertClassPrivateMethod=Rv;v8.assertClassPrivateProperty=Uv;v8.assertClassProperty=zv;v8.assertCompletionStatement=f_;v8.assertConditional=I_;v8.assertConditionalExpression=ab;v8.assertContinueStatement=pb;v8.assertDebuggerStatement=rb;v8.assertDecimalLiteral=oE;v8.assertDeclaration=E_;v8.assertDeclareClass=Cv;v8.assertDeclareExportAllDeclaration=Lv;v8.assertDeclareExportDeclaration=wv;v8.assertDeclareFunction=Dv;v8.assertDeclareInterface=Sv;v8.assertDeclareModule=fv;v8.assertDeclareModuleExports=Iv;v8.assertDeclareOpaqueType=Nv;v8.assertDeclareTypeAlias=Pv;v8.assertDeclareVariable=Tv;v8.assertDeclaredPredicate=bv;v8.assertDecorator=rE;v8.assertDirective=yb;v8.assertDirectiveLiteral=xb;v8.assertDoExpression=sE;v8.assertDoWhileStatement=sb;v8.assertEmptyStatement=db;v8.assertEmptyTypeAnnotation=cv;v8.assertEnumBody=Hh;v8.assertEnumBooleanBody=FE;v8.assertEnumBooleanMember=AE;v8.assertEnumDeclaration=$E;v8.assertEnumDefaultedMember=SE;v8.assertEnumMember=Vh;v8.assertEnumNumberBody=qE;v8.assertEnumNumberMember=CE;v8.assertEnumStringBody=jE;v8.assertEnumStringMember=DE;v8.assertEnumSymbolBody=OE;v8.assertExistsTypeAnnotation=kv;v8.assertExportAllDeclaration=uk;v8.assertExportDeclaration=s_;v8.assertExportDefaultDeclaration=yk;v8.assertExportDefaultSpecifier=dE;v8.assertExportNamedDeclaration=xk;v8.assertExportNamespaceSpecifier=Qv;v8.assertExportSpecifier=mk;v8.assertExpression=q_;v8.assertExpressionStatement=tb;v8.assertExpressionWrapper=T_;v8.assertFile=nb;v8.assertFlow=o_;v8.assertFlowBaseAnnotation=Gh;v8.assertFlowDeclaration=Jh;v8.assertFlowPredicate=Xh;v8.assertFlowType=e_;v8.assertFor=w_;v8.assertForInStatement=ob;v8.assertForOfStatement=ck;v8.assertForStatement=eb;v8.assertForXStatement=L_;v8.assertFunction=b_;v8.assertFunctionDeclaration=Gk;v8.assertFunctionExpression=Jk;v8.assertFunctionParent=k_;v8.assertFunctionTypeAnnotation=vv;v8.assertFunctionTypeParam=Ev;v8.assertGenericTypeAnnotation=gv;v8.assertIdentifier=Xk;v8.assertIfStatement=Hk;v8.assertImmutable=y_;v8.assertImport=Vv;v8.assertImportAttribute=pE;v8.assertImportDeclaration=lk;v8.assertImportDefaultSpecifier=ik;v8.assertImportExpression=rk;v8.assertImportNamespaceSpecifier=ak;v8.assertImportOrExportDeclaration=r_;v8.assertImportSpecifier=pk;v8.assertIndexedAccessType=fE;v8.assertInferredPredicate=_v;v8.assertInterfaceDeclaration=uv;v8.assertInterfaceExtends=hv;v8.assertInterfaceTypeAnnotation=yv;v8.assertInterpreterDirective=ub;v8.assertIntersectionTypeAnnotation=xv;v8.assertJSX=Zh;v8.assertJSXAttribute=PE;v8.assertJSXClosingElement=NE;v8.assertJSXClosingFragment=xE;v8.assertJSXElement=TE;v8.assertJSXEmptyExpression=wE;v8.assertJSXExpressionContainer=LE;v8.assertJSXFragment=uE;v8.assertJSXIdentifier=kE;v8.assertJSXMemberExpression=vE;v8.assertJSXNamespacedName=EE;v8.assertJSXOpeningElement=gE;v8.assertJSXOpeningFragment=yE;v8.assertJSXSpreadAttribute=_E;v8.assertJSXSpreadChild=bE;v8.assertJSXText=hE;v8.assertLVal=__;v8.assertLabeledStatement=Vk;v8.assertLiteral=u_;v8.assertLogicalExpression=Kk;v8.assertLoop=P_;v8.assertMemberExpression=Uk;v8.assertMetaProperty=sk;v8.assertMethod=m_;v8.assertMiscellaneous=Qh;v8.assertMixedTypeAnnotation=mv;v8.assertModuleDeclaration=$h;v8.assertModuleExpression=eE;v8.assertModuleSpecifier=d_;v8.assertNewExpression=Rk;v8.assertNoop=mE;v8.assertNullLiteral=Wk;v8.assertNullLiteralTypeAnnotation=Ov;v8.assertNullableTypeAnnotation=lv;v8.assertNumberLiteral=Uh;v8.assertNumberLiteralTypeAnnotation=iv;v8.assertNumberTypeAnnotation=av;v8.assertNumericLiteral=Qk;v8.assertObjectExpression=Mk;v8.assertObjectMember=c_;v8.assertObjectMethod=$k;v8.assertObjectPattern=tk;v8.assertObjectProperty=Fk;v8.assertObjectTypeAnnotation=pv;v8.assertObjectTypeCallProperty=sv;v8.assertObjectTypeIndexer=dv;v8.assertObjectTypeInternalSlot=rv;v8.assertObjectTypeProperty=tv;v8.assertObjectTypeSpreadProperty=nv;v8.assertOpaqueType=ov;v8.assertOptionalCallExpression=Yv;v8.assertOptionalIndexedAccessType=IE;v8.assertOptionalMemberExpression=Wv;v8.assertParenthesizedExpression=Ak;v8.assertPattern=a_;v8.assertPatternLike=g_;v8.assertPipelineBareFunction=Xg;v8.assertPipelinePrimaryTopicReference=Hg;v8.assertPipelineTopicExpression=Jg;v8.assertPlaceholder=cE;v8.assertPrivate=n_;v8.assertPrivateName=Bv;v8.assertProgram=Bk;v8.assertProperty=l_;v8.assertPureish=v_;v8.assertQualifiedTypeIdentifier=ev;v8.assertRecordExpression=tE;v8.assertRegExpLiteral=zk;v8.assertRegexLiteral=Rh;v8.assertRestElement=qk;v8.assertRestProperty=Bh;v8.assertReturnStatement=jk;v8.assertScopable=O_;v8.assertSequenceExpression=Ok;v8.assertSpreadElement=nk;v8.assertSpreadProperty=Mh;v8.assertStandardized=F_;v8.assertStatement=D_;v8.assertStaticBlock=Mv;v8.assertStringLiteral=Zk;v8.assertStringLiteralTypeAnnotation=GE;v8.assertStringTypeAnnotation=JE;v8.assertSuper=ok;v8.assertSwitchCase=Ck;v8.assertSwitchStatement=Dk;v8.assertSymbolTypeAnnotation=XE;v8.assertTSAnyKeyword=Bg;v8.assertTSArrayType=vg;v8.assertTSAsExpression=og;v8.assertTSBaseType=Kh;v8.assertTSBigIntKeyword=$g;v8.assertTSBooleanKeyword=Mg;v8.assertTSCallSignatureDeclaration=Yg;v8.assertTSConditionalType=xg;v8.assertTSConstructSignatureDeclaration=zg;v8.assertTSConstructorType=Tg;v8.assertTSDeclareFunction=Zg;v8.assertTSDeclareMethod=Qg;v8.assertTSEntityName=h_;v8.assertTSEnumBody=J_;v8.assertTSEnumDeclaration=X_;v8.assertTSEnumMember=H_;v8.assertTSExportAssignment=K_;v8.assertTSExpressionWithTypeArguments=rg;v8.assertTSExternalModuleReference=Y_;v8.assertTSFunctionType=Ng;v8.assertTSImportEqualsDeclaration=W_;v8.assertTSImportType=Q_;v8.assertTSIndexSignature=Rg;v8.assertTSIndexedAccessType=ig;v8.assertTSInferType=mg;v8.assertTSInstantiationExpression=ng;v8.assertTSInterfaceBody=dg;v8.assertTSInterfaceDeclaration=sg;v8.assertTSIntersectionType=yg;v8.assertTSIntrinsicKeyword=Fg;v8.assertTSLiteralType=pg;v8.assertTSMappedType=ag;v8.assertTSMethodSignature=Ug;v8.assertTSModuleBlock=Z_;v8.assertTSModuleDeclaration=V_;v8.assertTSNamedTupleMember=hg;v8.assertTSNamespaceExportDeclaration=U_;v8.assertTSNeverKeyword=qg;v8.assertTSNonNullExpression=z_;v8.assertTSNullKeyword=jg;v8.assertTSNumberKeyword=Og;v8.assertTSObjectKeyword=Ag;v8.assertTSOptionalType=gg;v8.assertTSParameterProperty=Vg;v8.assertTSParenthesizedType=cg;v8.assertTSPropertySignature=Kg;v8.assertTSQualifiedName=Wg;v8.assertTSRestType=_g;v8.assertTSSatisfiesExpression=eg;v8.assertTSStringKeyword=Cg;v8.assertTSSymbolKeyword=Dg;v8.assertTSThisType=Pg;v8.assertTSTupleType=Eg;v8.assertTSType=zh;v8.assertTSTypeAliasDeclaration=tg;v8.assertTSTypeAnnotation=R_;v8.assertTSTypeAssertion=G_;v8.assertTSTypeElement=Yh;v8.assertTSTypeLiteral=kg;v8.assertTSTypeOperator=lg;v8.assertTSTypeParameter=$_;v8.assertTSTypeParameterDeclaration=M_;v8.assertTSTypeParameterInstantiation=B_;v8.assertTSTypePredicate=Lg;v8.assertTSTypeQuery=bg;v8.assertTSTypeReference=wg;v8.assertTSUndefinedKeyword=Sg;v8.assertTSUnionType=ug;v8.assertTSUnknownKeyword=fg;v8.assertTSVoidKeyword=Ig;v8.assertTaggedTemplateExpression=ek;v8.assertTemplateElement=Gv;v8.assertTemplateLiteral=Jv;v8.assertTerminatorless=S_;v8.assertThisExpression=Sk;v8.assertThisTypeAnnotation=HE;v8.assertThrowStatement=fk;v8.assertTopicReference=Gg;v8.assertTryStatement=Ik;v8.assertTupleExpression=nE;v8.assertTupleTypeAnnotation=VE;v8.assertTypeAlias=QE;v8.assertTypeAnnotation=WE;v8.assertTypeCastExpression=YE;v8.assertTypeParameter=zE;v8.assertTypeParameterDeclaration=KE;v8.assertTypeParameterInstantiation=UE;v8.assertTypeScript=Wh;v8.assertTypeofTypeAnnotation=ZE;v8.assertUnaryExpression=Pk;v8.assertUnaryLike=i_;v8.assertUnionTypeAnnotation=RE;v8.assertUpdateExpression=Nk;v8.assertUserWhitespacable=x_;v8.assertV8IntrinsicIdentifier=lE;v8.assertVariableDeclaration=Tk;v8.assertVariableDeclarator=wk;v8.assertVariance=BE;v8.assertVoidTypeAnnotation=ME;v8.assertWhile=N_;v8.assertWhileStatement=Lk;v8.assertWithStatement=bk;v8.assertYieldExpression=Xv;var Eb=KJ(),cJ=EJ();function R(G,J,X){if(!Eb.default(G,J,X))throw new Error(`Expected type "${G}" with option ${JSON.stringify(X)}, but instead got "${J.type}".`)}function gb(G,J){R("ArrayExpression",G,J)}function _b(G,J){R("AssignmentExpression",G,J)}function hb(G,J){R("BinaryExpression",G,J)}function ub(G,J){R("InterpreterDirective",G,J)}function yb(G,J){R("Directive",G,J)}function xb(G,J){R("DirectiveLiteral",G,J)}function mb(G,J){R("BlockStatement",G,J)}function cb(G,J){R("BreakStatement",G,J)}function lb(G,J){R("CallExpression",G,J)}function ib(G,J){R("CatchClause",G,J)}function ab(G,J){R("ConditionalExpression",G,J)}function pb(G,J){R("ContinueStatement",G,J)}function rb(G,J){R("DebuggerStatement",G,J)}function sb(G,J){R("DoWhileStatement",G,J)}function db(G,J){R("EmptyStatement",G,J)}function tb(G,J){R("ExpressionStatement",G,J)}function nb(G,J){R("File",G,J)}function ob(G,J){R("ForInStatement",G,J)}function eb(G,J){R("ForStatement",G,J)}function Gk(G,J){R("FunctionDeclaration",G,J)}function Jk(G,J){R("FunctionExpression",G,J)}function Xk(G,J){R("Identifier",G,J)}function Hk(G,J){R("IfStatement",G,J)}function Vk(G,J){R("LabeledStatement",G,J)}function Zk(G,J){R("StringLiteral",G,J)}function Qk(G,J){R("NumericLiteral",G,J)}function Wk(G,J){R("NullLiteral",G,J)}function Yk(G,J){R("BooleanLiteral",G,J)}function zk(G,J){R("RegExpLiteral",G,J)}function Kk(G,J){R("LogicalExpression",G,J)}function Uk(G,J){R("MemberExpression",G,J)}function Rk(G,J){R("NewExpression",G,J)}function Bk(G,J){R("Program",G,J)}function Mk(G,J){R("ObjectExpression",G,J)}function $k(G,J){R("ObjectMethod",G,J)}function Fk(G,J){R("ObjectProperty",G,J)}function qk(G,J){R("RestElement",G,J)}function jk(G,J){R("ReturnStatement",G,J)}function Ok(G,J){R("SequenceExpression",G,J)}function Ak(G,J){R("ParenthesizedExpression",G,J)}function Ck(G,J){R("SwitchCase",G,J)}function Dk(G,J){R("SwitchStatement",G,J)}function Sk(G,J){R("ThisExpression",G,J)}function fk(G,J){R("ThrowStatement",G,J)}function Ik(G,J){R("TryStatement",G,J)}function Pk(G,J){R("UnaryExpression",G,J)}function Nk(G,J){R("UpdateExpression",G,J)}function Tk(G,J){R("VariableDeclaration",G,J)}function wk(G,J){R("VariableDeclarator",G,J)}function Lk(G,J){R("WhileStatement",G,J)}function bk(G,J){R("WithStatement",G,J)}function kk(G,J){R("AssignmentPattern",G,J)}function vk(G,J){R("ArrayPattern",G,J)}function Ek(G,J){R("ArrowFunctionExpression",G,J)}function gk(G,J){R("ClassBody",G,J)}function _k(G,J){R("ClassExpression",G,J)}function hk(G,J){R("ClassDeclaration",G,J)}function uk(G,J){R("ExportAllDeclaration",G,J)}function yk(G,J){R("ExportDefaultDeclaration",G,J)}function xk(G,J){R("ExportNamedDeclaration",G,J)}function mk(G,J){R("ExportSpecifier",G,J)}function ck(G,J){R("ForOfStatement",G,J)}function lk(G,J){R("ImportDeclaration",G,J)}function ik(G,J){R("ImportDefaultSpecifier",G,J)}function ak(G,J){R("ImportNamespaceSpecifier",G,J)}function pk(G,J){R("ImportSpecifier",G,J)}function rk(G,J){R("ImportExpression",G,J)}function sk(G,J){R("MetaProperty",G,J)}function dk(G,J){R("ClassMethod",G,J)}function tk(G,J){R("ObjectPattern",G,J)}function nk(G,J){R("SpreadElement",G,J)}function ok(G,J){R("Super",G,J)}function ek(G,J){R("TaggedTemplateExpression",G,J)}function Gv(G,J){R("TemplateElement",G,J)}function Jv(G,J){R("TemplateLiteral",G,J)}function Xv(G,J){R("YieldExpression",G,J)}function Hv(G,J){R("AwaitExpression",G,J)}function Vv(G,J){R("Import",G,J)}function Zv(G,J){R("BigIntLiteral",G,J)}function Qv(G,J){R("ExportNamespaceSpecifier",G,J)}function Wv(G,J){R("OptionalMemberExpression",G,J)}function Yv(G,J){R("OptionalCallExpression",G,J)}function zv(G,J){R("ClassProperty",G,J)}function Kv(G,J){R("ClassAccessorProperty",G,J)}function Uv(G,J){R("ClassPrivateProperty",G,J)}function Rv(G,J){R("ClassPrivateMethod",G,J)}function Bv(G,J){R("PrivateName",G,J)}function Mv(G,J){R("StaticBlock",G,J)}function $v(G,J){R("AnyTypeAnnotation",G,J)}function Fv(G,J){R("ArrayTypeAnnotation",G,J)}function qv(G,J){R("BooleanTypeAnnotation",G,J)}function jv(G,J){R("BooleanLiteralTypeAnnotation",G,J)}function Ov(G,J){R("NullLiteralTypeAnnotation",G,J)}function Av(G,J){R("ClassImplements",G,J)}function Cv(G,J){R("DeclareClass",G,J)}function Dv(G,J){R("DeclareFunction",G,J)}function Sv(G,J){R("DeclareInterface",G,J)}function fv(G,J){R("DeclareModule",G,J)}function Iv(G,J){R("DeclareModuleExports",G,J)}function Pv(G,J){R("DeclareTypeAlias",G,J)}function Nv(G,J){R("DeclareOpaqueType",G,J)}function Tv(G,J){R("DeclareVariable",G,J)}function wv(G,J){R("DeclareExportDeclaration",G,J)}function Lv(G,J){R("DeclareExportAllDeclaration",G,J)}function bv(G,J){R("DeclaredPredicate",G,J)}function kv(G,J){R("ExistsTypeAnnotation",G,J)}function vv(G,J){R("FunctionTypeAnnotation",G,J)}function Ev(G,J){R("FunctionTypeParam",G,J)}function gv(G,J){R("GenericTypeAnnotation",G,J)}function _v(G,J){R("InferredPredicate",G,J)}function hv(G,J){R("InterfaceExtends",G,J)}function uv(G,J){R("InterfaceDeclaration",G,J)}function yv(G,J){R("InterfaceTypeAnnotation",G,J)}function xv(G,J){R("IntersectionTypeAnnotation",G,J)}function mv(G,J){R("MixedTypeAnnotation",G,J)}function cv(G,J){R("EmptyTypeAnnotation",G,J)}function lv(G,J){R("NullableTypeAnnotation",G,J)}function iv(G,J){R("NumberLiteralTypeAnnotation",G,J)}function av(G,J){R("NumberTypeAnnotation",G,J)}function pv(G,J){R("ObjectTypeAnnotation",G,J)}function rv(G,J){R("ObjectTypeInternalSlot",G,J)}function sv(G,J){R("ObjectTypeCallProperty",G,J)}function dv(G,J){R("ObjectTypeIndexer",G,J)}function tv(G,J){R("ObjectTypeProperty",G,J)}function nv(G,J){R("ObjectTypeSpreadProperty",G,J)}function ov(G,J){R("OpaqueType",G,J)}function ev(G,J){R("QualifiedTypeIdentifier",G,J)}function GE(G,J){R("StringLiteralTypeAnnotation",G,J)}function JE(G,J){R("StringTypeAnnotation",G,J)}function XE(G,J){R("SymbolTypeAnnotation",G,J)}function HE(G,J){R("ThisTypeAnnotation",G,J)}function VE(G,J){R("TupleTypeAnnotation",G,J)}function ZE(G,J){R("TypeofTypeAnnotation",G,J)}function QE(G,J){R("TypeAlias",G,J)}function WE(G,J){R("TypeAnnotation",G,J)}function YE(G,J){R("TypeCastExpression",G,J)}function zE(G,J){R("TypeParameter",G,J)}function KE(G,J){R("TypeParameterDeclaration",G,J)}function UE(G,J){R("TypeParameterInstantiation",G,J)}function RE(G,J){R("UnionTypeAnnotation",G,J)}function BE(G,J){R("Variance",G,J)}function ME(G,J){R("VoidTypeAnnotation",G,J)}function $E(G,J){R("EnumDeclaration",G,J)}function FE(G,J){R("EnumBooleanBody",G,J)}function qE(G,J){R("EnumNumberBody",G,J)}function jE(G,J){R("EnumStringBody",G,J)}function OE(G,J){R("EnumSymbolBody",G,J)}function AE(G,J){R("EnumBooleanMember",G,J)}function CE(G,J){R("EnumNumberMember",G,J)}function DE(G,J){R("EnumStringMember",G,J)}function SE(G,J){R("EnumDefaultedMember",G,J)}function fE(G,J){R("IndexedAccessType",G,J)}function IE(G,J){R("OptionalIndexedAccessType",G,J)}function PE(G,J){R("JSXAttribute",G,J)}function NE(G,J){R("JSXClosingElement",G,J)}function TE(G,J){R("JSXElement",G,J)}function wE(G,J){R("JSXEmptyExpression",G,J)}function LE(G,J){R("JSXExpressionContainer",G,J)}function bE(G,J){R("JSXSpreadChild",G,J)}function kE(G,J){R("JSXIdentifier",G,J)}function vE(G,J){R("JSXMemberExpression",G,J)}function EE(G,J){R("JSXNamespacedName",G,J)}function gE(G,J){R("JSXOpeningElement",G,J)}function _E(G,J){R("JSXSpreadAttribute",G,J)}function hE(G,J){R("JSXText",G,J)}function uE(G,J){R("JSXFragment",G,J)}function yE(G,J){R("JSXOpeningFragment",G,J)}function xE(G,J){R("JSXClosingFragment",G,J)}function mE(G,J){R("Noop",G,J)}function cE(G,J){R("Placeholder",G,J)}function lE(G,J){R("V8IntrinsicIdentifier",G,J)}function iE(G,J){R("ArgumentPlaceholder",G,J)}function aE(G,J){R("BindExpression",G,J)}function pE(G,J){R("ImportAttribute",G,J)}function rE(G,J){R("Decorator",G,J)}function sE(G,J){R("DoExpression",G,J)}function dE(G,J){R("ExportDefaultSpecifier",G,J)}function tE(G,J){R("RecordExpression",G,J)}function nE(G,J){R("TupleExpression",G,J)}function oE(G,J){R("DecimalLiteral",G,J)}function eE(G,J){R("ModuleExpression",G,J)}function Gg(G,J){R("TopicReference",G,J)}function Jg(G,J){R("PipelineTopicExpression",G,J)}function Xg(G,J){R("PipelineBareFunction",G,J)}function Hg(G,J){R("PipelinePrimaryTopicReference",G,J)}function Vg(G,J){R("TSParameterProperty",G,J)}function Zg(G,J){R("TSDeclareFunction",G,J)}function Qg(G,J){R("TSDeclareMethod",G,J)}function Wg(G,J){R("TSQualifiedName",G,J)}function Yg(G,J){R("TSCallSignatureDeclaration",G,J)}function zg(G,J){R("TSConstructSignatureDeclaration",G,J)}function Kg(G,J){R("TSPropertySignature",G,J)}function Ug(G,J){R("TSMethodSignature",G,J)}function Rg(G,J){R("TSIndexSignature",G,J)}function Bg(G,J){R("TSAnyKeyword",G,J)}function Mg(G,J){R("TSBooleanKeyword",G,J)}function $g(G,J){R("TSBigIntKeyword",G,J)}function Fg(G,J){R("TSIntrinsicKeyword",G,J)}function qg(G,J){R("TSNeverKeyword",G,J)}function jg(G,J){R("TSNullKeyword",G,J)}function Og(G,J){R("TSNumberKeyword",G,J)}function Ag(G,J){R("TSObjectKeyword",G,J)}function Cg(G,J){R("TSStringKeyword",G,J)}function Dg(G,J){R("TSSymbolKeyword",G,J)}function Sg(G,J){R("TSUndefinedKeyword",G,J)}function fg(G,J){R("TSUnknownKeyword",G,J)}function Ig(G,J){R("TSVoidKeyword",G,J)}function Pg(G,J){R("TSThisType",G,J)}function Ng(G,J){R("TSFunctionType",G,J)}function Tg(G,J){R("TSConstructorType",G,J)}function wg(G,J){R("TSTypeReference",G,J)}function Lg(G,J){R("TSTypePredicate",G,J)}function bg(G,J){R("TSTypeQuery",G,J)}function kg(G,J){R("TSTypeLiteral",G,J)}function vg(G,J){R("TSArrayType",G,J)}function Eg(G,J){R("TSTupleType",G,J)}function gg(G,J){R("TSOptionalType",G,J)}function _g(G,J){R("TSRestType",G,J)}function hg(G,J){R("TSNamedTupleMember",G,J)}function ug(G,J){R("TSUnionType",G,J)}function yg(G,J){R("TSIntersectionType",G,J)}function xg(G,J){R("TSConditionalType",G,J)}function mg(G,J){R("TSInferType",G,J)}function cg(G,J){R("TSParenthesizedType",G,J)}function lg(G,J){R("TSTypeOperator",G,J)}function ig(G,J){R("TSIndexedAccessType",G,J)}function ag(G,J){R("TSMappedType",G,J)}function pg(G,J){R("TSLiteralType",G,J)}function rg(G,J){R("TSExpressionWithTypeArguments",G,J)}function sg(G,J){R("TSInterfaceDeclaration",G,J)}function dg(G,J){R("TSInterfaceBody",G,J)}function tg(G,J){R("TSTypeAliasDeclaration",G,J)}function ng(G,J){R("TSInstantiationExpression",G,J)}function og(G,J){R("TSAsExpression",G,J)}function eg(G,J){R("TSSatisfiesExpression",G,J)}function G_(G,J){R("TSTypeAssertion",G,J)}function J_(G,J){R("TSEnumBody",G,J)}function X_(G,J){R("TSEnumDeclaration",G,J)}function H_(G,J){R("TSEnumMember",G,J)}function V_(G,J){R("TSModuleDeclaration",G,J)}function Z_(G,J){R("TSModuleBlock",G,J)}function Q_(G,J){R("TSImportType",G,J)}function W_(G,J){R("TSImportEqualsDeclaration",G,J)}function Y_(G,J){R("TSExternalModuleReference",G,J)}function z_(G,J){R("TSNonNullExpression",G,J)}function K_(G,J){R("TSExportAssignment",G,J)}function U_(G,J){R("TSNamespaceExportDeclaration",G,J)}function R_(G,J){R("TSTypeAnnotation",G,J)}function B_(G,J){R("TSTypeParameterInstantiation",G,J)}function M_(G,J){R("TSTypeParameterDeclaration",G,J)}function $_(G,J){R("TSTypeParameter",G,J)}function F_(G,J){R("Standardized",G,J)}function q_(G,J){R("Expression",G,J)}function j_(G,J){R("Binary",G,J)}function O_(G,J){R("Scopable",G,J)}function A_(G,J){R("BlockParent",G,J)}function C_(G,J){R("Block",G,J)}function D_(G,J){R("Statement",G,J)}function S_(G,J){R("Terminatorless",G,J)}function f_(G,J){R("CompletionStatement",G,J)}function I_(G,J){R("Conditional",G,J)}function P_(G,J){R("Loop",G,J)}function N_(G,J){R("While",G,J)}function T_(G,J){R("ExpressionWrapper",G,J)}function w_(G,J){R("For",G,J)}function L_(G,J){R("ForXStatement",G,J)}function b_(G,J){R("Function",G,J)}function k_(G,J){R("FunctionParent",G,J)}function v_(G,J){R("Pureish",G,J)}function E_(G,J){R("Declaration",G,J)}function g_(G,J){R("PatternLike",G,J)}function __(G,J){R("LVal",G,J)}function h_(G,J){R("TSEntityName",G,J)}function u_(G,J){R("Literal",G,J)}function y_(G,J){R("Immutable",G,J)}function x_(G,J){R("UserWhitespacable",G,J)}function m_(G,J){R("Method",G,J)}function c_(G,J){R("ObjectMember",G,J)}function l_(G,J){R("Property",G,J)}function i_(G,J){R("UnaryLike",G,J)}function a_(G,J){R("Pattern",G,J)}function p_(G,J){R("Class",G,J)}function r_(G,J){R("ImportOrExportDeclaration",G,J)}function s_(G,J){R("ExportDeclaration",G,J)}function d_(G,J){R("ModuleSpecifier",G,J)}function t_(G,J){R("Accessor",G,J)}function n_(G,J){R("Private",G,J)}function o_(G,J){R("Flow",G,J)}function e_(G,J){R("FlowType",G,J)}function Gh(G,J){R("FlowBaseAnnotation",G,J)}function Jh(G,J){R("FlowDeclaration",G,J)}function Xh(G,J){R("FlowPredicate",G,J)}function Hh(G,J){R("EnumBody",G,J)}function Vh(G,J){R("EnumMember",G,J)}function Zh(G,J){R("JSX",G,J)}function Qh(G,J){R("Miscellaneous",G,J)}function Wh(G,J){R("TypeScript",G,J)}function Yh(G,J){R("TSTypeElement",G,J)}function zh(G,J){R("TSType",G,J)}function Kh(G,J){R("TSBaseType",G,J)}function Uh(G,J){cJ.default("assertNumberLiteral","assertNumericLiteral"),R("NumberLiteral",G,J)}function Rh(G,J){cJ.default("assertRegexLiteral","assertRegExpLiteral"),R("RegexLiteral",G,J)}function Bh(G,J){cJ.default("assertRestProperty","assertRestElement"),R("RestProperty",G,J)}function Mh(G,J){cJ.default("assertSpreadProperty","assertSpreadElement"),R("SpreadProperty",G,J)}function $h(G,J){cJ.default("assertModuleDeclaration","assertImportOrExportDeclaration"),R("ModuleDeclaration",G,J)}});var h8=f((g8)=>{Object.defineProperty(g8,"__esModule",{value:!0});g8.default=void 0;var QG=y1(),vR1=g8.default=nc;function nc(G){switch(G){case"string":return QG.stringTypeAnnotation();case"number":return QG.numberTypeAnnotation();case"undefined":return QG.voidTypeAnnotation();case"boolean":return QG.booleanTypeAnnotation();case"function":return QG.genericTypeAnnotation(QG.identifier("Function"));case"object":return QG.genericTypeAnnotation(QG.identifier("Object"));case"symbol":return QG.genericTypeAnnotation(QG.identifier("Symbol"));case"bigint":return QG.anyTypeAnnotation()}throw new Error("Invalid typeof value: "+G)}});var B9=f((x8)=>{Object.defineProperty(x8,"__esModule",{value:!0});x8.default=y8;var lJ=N1();function u8(G){return lJ.isIdentifier(G)?G.name:`${G.id.name}.${u8(G.qualification)}`}function y8(G){let J=Array.from(G),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<J.length;Q++){let W=J[Q];if(!W)continue;if(Z.includes(W))continue;if(lJ.isAnyTypeAnnotation(W))return[W];if(lJ.isFlowBaseAnnotation(W)){H.set(W.type,W);continue}if(lJ.isUnionTypeAnnotation(W)){if(!V.has(W.types))J.push(...W.types),V.add(W.types);continue}if(lJ.isGenericTypeAnnotation(W)){let Y=u8(W.id);if(X.has(Y)){let z=X.get(Y);if(z.typeParameters){if(W.typeParameters)z.typeParameters.params.push(...W.typeParameters.params),z.typeParameters.params=y8(z.typeParameters.params)}else z=W.typeParameters}else X.set(Y,W);continue}Z.push(W)}for(let[,Q]of H)Z.push(Q);for(let[,Q]of X)Z.push(Q);return Z}});var c8=f((m8)=>{Object.defineProperty(m8,"__esModule",{value:!0});m8.default=Jl;var ec=y1(),Gl=B9();function Jl(G){let J=Gl.default(G);if(J.length===1)return J[0];else return ec.unionTypeAnnotation(J)}});var p8=f((a8)=>{Object.defineProperty(a8,"__esModule",{value:!0});a8.default=i8;var MJ=N1();function l8(G){return MJ.isIdentifier(G)?G.name:MJ.isThisExpression(G)?"this":`${G.right.name}.${l8(G.left)}`}function i8(G){let J=Array.from(G),X=new Map,H=new Map,V=new Set,Z=[];for(let Q=0;Q<J.length;Q++){let W=J[Q];if(!W)continue;if(Z.includes(W))continue;if(MJ.isTSAnyKeyword(W))return[W];if(MJ.isTSBaseType(W)){H.set(W.type,W);continue}if(MJ.isTSUnionType(W)){if(!V.has(W.types))J.push(...W.types),V.add(W.types);continue}let Y="typeParameters";if(MJ.isTSTypeReference(W)&&W[Y]){let z=W[Y],U=l8(W.typeName);if(X.has(U)){let q=X.get(U),A=q[Y];if(A)A.params.push(...z.params),A.params=i8(A.params);else q=z}else X.set(U,W);continue}Z.push(W)}for(let[,Q]of H)Z.push(Q);for(let[,Q]of X)Z.push(Q);return Z}});var s8=f((r8)=>{Object.defineProperty(r8,"__esModule",{value:!0});r8.default=Wl;var Vl=y1(),Zl=p8(),Ql=N1();function Wl(G){let J=G.map((H)=>{return Ql.isTSTypeAnnotation(H)?H.typeAnnotation:H}),X=Zl.default(J);if(X.length===1)return X[0];else return Vl.tsUnionType(X)}});var d8=f(($)=>{Object.defineProperty($,"__esModule",{value:!0});Object.defineProperty($,"AnyTypeAnnotation",{enumerable:!0,get:function(){return F.anyTypeAnnotation}});Object.defineProperty($,"ArgumentPlaceholder",{enumerable:!0,get:function(){return F.argumentPlaceholder}});Object.defineProperty($,"ArrayExpression",{enumerable:!0,get:function(){return F.arrayExpression}});Object.defineProperty($,"ArrayPattern",{enumerable:!0,get:function(){return F.arrayPattern}});Object.defineProperty($,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return F.arrayTypeAnnotation}});Object.defineProperty($,"ArrowFunctionExpression",{enumerable:!0,get:function(){return F.arrowFunctionExpression}});Object.defineProperty($,"AssignmentExpression",{enumerable:!0,get:function(){return F.assignmentExpression}});Object.defineProperty($,"AssignmentPattern",{enumerable:!0,get:function(){return F.assignmentPattern}});Object.defineProperty($,"AwaitExpression",{enumerable:!0,get:function(){return F.awaitExpression}});Object.defineProperty($,"BigIntLiteral",{enumerable:!0,get:function(){return F.bigIntLiteral}});Object.defineProperty($,"BinaryExpression",{enumerable:!0,get:function(){return F.binaryExpression}});Object.defineProperty($,"BindExpression",{enumerable:!0,get:function(){return F.bindExpression}});Object.defineProperty($,"BlockStatement",{enumerable:!0,get:function(){return F.blockStatement}});Object.defineProperty($,"BooleanLiteral",{enumerable:!0,get:function(){return F.booleanLiteral}});Object.defineProperty($,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.booleanLiteralTypeAnnotation}});Object.defineProperty($,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return F.booleanTypeAnnotation}});Object.defineProperty($,"BreakStatement",{enumerable:!0,get:function(){return F.breakStatement}});Object.defineProperty($,"CallExpression",{enumerable:!0,get:function(){return F.callExpression}});Object.defineProperty($,"CatchClause",{enumerable:!0,get:function(){return F.catchClause}});Object.defineProperty($,"ClassAccessorProperty",{enumerable:!0,get:function(){return F.classAccessorProperty}});Object.defineProperty($,"ClassBody",{enumerable:!0,get:function(){return F.classBody}});Object.defineProperty($,"ClassDeclaration",{enumerable:!0,get:function(){return F.classDeclaration}});Object.defineProperty($,"ClassExpression",{enumerable:!0,get:function(){return F.classExpression}});Object.defineProperty($,"ClassImplements",{enumerable:!0,get:function(){return F.classImplements}});Object.defineProperty($,"ClassMethod",{enumerable:!0,get:function(){return F.classMethod}});Object.defineProperty($,"ClassPrivateMethod",{enumerable:!0,get:function(){return F.classPrivateMethod}});Object.defineProperty($,"ClassPrivateProperty",{enumerable:!0,get:function(){return F.classPrivateProperty}});Object.defineProperty($,"ClassProperty",{enumerable:!0,get:function(){return F.classProperty}});Object.defineProperty($,"ConditionalExpression",{enumerable:!0,get:function(){return F.conditionalExpression}});Object.defineProperty($,"ContinueStatement",{enumerable:!0,get:function(){return F.continueStatement}});Object.defineProperty($,"DebuggerStatement",{enumerable:!0,get:function(){return F.debuggerStatement}});Object.defineProperty($,"DecimalLiteral",{enumerable:!0,get:function(){return F.decimalLiteral}});Object.defineProperty($,"DeclareClass",{enumerable:!0,get:function(){return F.declareClass}});Object.defineProperty($,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return F.declareExportAllDeclaration}});Object.defineProperty($,"DeclareExportDeclaration",{enumerable:!0,get:function(){return F.declareExportDeclaration}});Object.defineProperty($,"DeclareFunction",{enumerable:!0,get:function(){return F.declareFunction}});Object.defineProperty($,"DeclareInterface",{enumerable:!0,get:function(){return F.declareInterface}});Object.defineProperty($,"DeclareModule",{enumerable:!0,get:function(){return F.declareModule}});Object.defineProperty($,"DeclareModuleExports",{enumerable:!0,get:function(){return F.declareModuleExports}});Object.defineProperty($,"DeclareOpaqueType",{enumerable:!0,get:function(){return F.declareOpaqueType}});Object.defineProperty($,"DeclareTypeAlias",{enumerable:!0,get:function(){return F.declareTypeAlias}});Object.defineProperty($,"DeclareVariable",{enumerable:!0,get:function(){return F.declareVariable}});Object.defineProperty($,"DeclaredPredicate",{enumerable:!0,get:function(){return F.declaredPredicate}});Object.defineProperty($,"Decorator",{enumerable:!0,get:function(){return F.decorator}});Object.defineProperty($,"Directive",{enumerable:!0,get:function(){return F.directive}});Object.defineProperty($,"DirectiveLiteral",{enumerable:!0,get:function(){return F.directiveLiteral}});Object.defineProperty($,"DoExpression",{enumerable:!0,get:function(){return F.doExpression}});Object.defineProperty($,"DoWhileStatement",{enumerable:!0,get:function(){return F.doWhileStatement}});Object.defineProperty($,"EmptyStatement",{enumerable:!0,get:function(){return F.emptyStatement}});Object.defineProperty($,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return F.emptyTypeAnnotation}});Object.defineProperty($,"EnumBooleanBody",{enumerable:!0,get:function(){return F.enumBooleanBody}});Object.defineProperty($,"EnumBooleanMember",{enumerable:!0,get:function(){return F.enumBooleanMember}});Object.defineProperty($,"EnumDeclaration",{enumerable:!0,get:function(){return F.enumDeclaration}});Object.defineProperty($,"EnumDefaultedMember",{enumerable:!0,get:function(){return F.enumDefaultedMember}});Object.defineProperty($,"EnumNumberBody",{enumerable:!0,get:function(){return F.enumNumberBody}});Object.defineProperty($,"EnumNumberMember",{enumerable:!0,get:function(){return F.enumNumberMember}});Object.defineProperty($,"EnumStringBody",{enumerable:!0,get:function(){return F.enumStringBody}});Object.defineProperty($,"EnumStringMember",{enumerable:!0,get:function(){return F.enumStringMember}});Object.defineProperty($,"EnumSymbolBody",{enumerable:!0,get:function(){return F.enumSymbolBody}});Object.defineProperty($,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return F.existsTypeAnnotation}});Object.defineProperty($,"ExportAllDeclaration",{enumerable:!0,get:function(){return F.exportAllDeclaration}});Object.defineProperty($,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return F.exportDefaultDeclaration}});Object.defineProperty($,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return F.exportDefaultSpecifier}});Object.defineProperty($,"ExportNamedDeclaration",{enumerable:!0,get:function(){return F.exportNamedDeclaration}});Object.defineProperty($,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return F.exportNamespaceSpecifier}});Object.defineProperty($,"ExportSpecifier",{enumerable:!0,get:function(){return F.exportSpecifier}});Object.defineProperty($,"ExpressionStatement",{enumerable:!0,get:function(){return F.expressionStatement}});Object.defineProperty($,"File",{enumerable:!0,get:function(){return F.file}});Object.defineProperty($,"ForInStatement",{enumerable:!0,get:function(){return F.forInStatement}});Object.defineProperty($,"ForOfStatement",{enumerable:!0,get:function(){return F.forOfStatement}});Object.defineProperty($,"ForStatement",{enumerable:!0,get:function(){return F.forStatement}});Object.defineProperty($,"FunctionDeclaration",{enumerable:!0,get:function(){return F.functionDeclaration}});Object.defineProperty($,"FunctionExpression",{enumerable:!0,get:function(){return F.functionExpression}});Object.defineProperty($,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return F.functionTypeAnnotation}});Object.defineProperty($,"FunctionTypeParam",{enumerable:!0,get:function(){return F.functionTypeParam}});Object.defineProperty($,"GenericTypeAnnotation",{enumerable:!0,get:function(){return F.genericTypeAnnotation}});Object.defineProperty($,"Identifier",{enumerable:!0,get:function(){return F.identifier}});Object.defineProperty($,"IfStatement",{enumerable:!0,get:function(){return F.ifStatement}});Object.defineProperty($,"Import",{enumerable:!0,get:function(){return F.import}});Object.defineProperty($,"ImportAttribute",{enumerable:!0,get:function(){return F.importAttribute}});Object.defineProperty($,"ImportDeclaration",{enumerable:!0,get:function(){return F.importDeclaration}});Object.defineProperty($,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return F.importDefaultSpecifier}});Object.defineProperty($,"ImportExpression",{enumerable:!0,get:function(){return F.importExpression}});Object.defineProperty($,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return F.importNamespaceSpecifier}});Object.defineProperty($,"ImportSpecifier",{enumerable:!0,get:function(){return F.importSpecifier}});Object.defineProperty($,"IndexedAccessType",{enumerable:!0,get:function(){return F.indexedAccessType}});Object.defineProperty($,"InferredPredicate",{enumerable:!0,get:function(){return F.inferredPredicate}});Object.defineProperty($,"InterfaceDeclaration",{enumerable:!0,get:function(){return F.interfaceDeclaration}});Object.defineProperty($,"InterfaceExtends",{enumerable:!0,get:function(){return F.interfaceExtends}});Object.defineProperty($,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return F.interfaceTypeAnnotation}});Object.defineProperty($,"InterpreterDirective",{enumerable:!0,get:function(){return F.interpreterDirective}});Object.defineProperty($,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return F.intersectionTypeAnnotation}});Object.defineProperty($,"JSXAttribute",{enumerable:!0,get:function(){return F.jsxAttribute}});Object.defineProperty($,"JSXClosingElement",{enumerable:!0,get:function(){return F.jsxClosingElement}});Object.defineProperty($,"JSXClosingFragment",{enumerable:!0,get:function(){return F.jsxClosingFragment}});Object.defineProperty($,"JSXElement",{enumerable:!0,get:function(){return F.jsxElement}});Object.defineProperty($,"JSXEmptyExpression",{enumerable:!0,get:function(){return F.jsxEmptyExpression}});Object.defineProperty($,"JSXExpressionContainer",{enumerable:!0,get:function(){return F.jsxExpressionContainer}});Object.defineProperty($,"JSXFragment",{enumerable:!0,get:function(){return F.jsxFragment}});Object.defineProperty($,"JSXIdentifier",{enumerable:!0,get:function(){return F.jsxIdentifier}});Object.defineProperty($,"JSXMemberExpression",{enumerable:!0,get:function(){return F.jsxMemberExpression}});Object.defineProperty($,"JSXNamespacedName",{enumerable:!0,get:function(){return F.jsxNamespacedName}});Object.defineProperty($,"JSXOpeningElement",{enumerable:!0,get:function(){return F.jsxOpeningElement}});Object.defineProperty($,"JSXOpeningFragment",{enumerable:!0,get:function(){return F.jsxOpeningFragment}});Object.defineProperty($,"JSXSpreadAttribute",{enumerable:!0,get:function(){return F.jsxSpreadAttribute}});Object.defineProperty($,"JSXSpreadChild",{enumerable:!0,get:function(){return F.jsxSpreadChild}});Object.defineProperty($,"JSXText",{enumerable:!0,get:function(){return F.jsxText}});Object.defineProperty($,"LabeledStatement",{enumerable:!0,get:function(){return F.labeledStatement}});Object.defineProperty($,"LogicalExpression",{enumerable:!0,get:function(){return F.logicalExpression}});Object.defineProperty($,"MemberExpression",{enumerable:!0,get:function(){return F.memberExpression}});Object.defineProperty($,"MetaProperty",{enumerable:!0,get:function(){return F.metaProperty}});Object.defineProperty($,"MixedTypeAnnotation",{enumerable:!0,get:function(){return F.mixedTypeAnnotation}});Object.defineProperty($,"ModuleExpression",{enumerable:!0,get:function(){return F.moduleExpression}});Object.defineProperty($,"NewExpression",{enumerable:!0,get:function(){return F.newExpression}});Object.defineProperty($,"Noop",{enumerable:!0,get:function(){return F.noop}});Object.defineProperty($,"NullLiteral",{enumerable:!0,get:function(){return F.nullLiteral}});Object.defineProperty($,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.nullLiteralTypeAnnotation}});Object.defineProperty($,"NullableTypeAnnotation",{enumerable:!0,get:function(){return F.nullableTypeAnnotation}});Object.defineProperty($,"NumberLiteral",{enumerable:!0,get:function(){return F.numberLiteral}});Object.defineProperty($,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.numberLiteralTypeAnnotation}});Object.defineProperty($,"NumberTypeAnnotation",{enumerable:!0,get:function(){return F.numberTypeAnnotation}});Object.defineProperty($,"NumericLiteral",{enumerable:!0,get:function(){return F.numericLiteral}});Object.defineProperty($,"ObjectExpression",{enumerable:!0,get:function(){return F.objectExpression}});Object.defineProperty($,"ObjectMethod",{enumerable:!0,get:function(){return F.objectMethod}});Object.defineProperty($,"ObjectPattern",{enumerable:!0,get:function(){return F.objectPattern}});Object.defineProperty($,"ObjectProperty",{enumerable:!0,get:function(){return F.objectProperty}});Object.defineProperty($,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return F.objectTypeAnnotation}});Object.defineProperty($,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return F.objectTypeCallProperty}});Object.defineProperty($,"ObjectTypeIndexer",{enumerable:!0,get:function(){return F.objectTypeIndexer}});Object.defineProperty($,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return F.objectTypeInternalSlot}});Object.defineProperty($,"ObjectTypeProperty",{enumerable:!0,get:function(){return F.objectTypeProperty}});Object.defineProperty($,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return F.objectTypeSpreadProperty}});Object.defineProperty($,"OpaqueType",{enumerable:!0,get:function(){return F.opaqueType}});Object.defineProperty($,"OptionalCallExpression",{enumerable:!0,get:function(){return F.optionalCallExpression}});Object.defineProperty($,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return F.optionalIndexedAccessType}});Object.defineProperty($,"OptionalMemberExpression",{enumerable:!0,get:function(){return F.optionalMemberExpression}});Object.defineProperty($,"ParenthesizedExpression",{enumerable:!0,get:function(){return F.parenthesizedExpression}});Object.defineProperty($,"PipelineBareFunction",{enumerable:!0,get:function(){return F.pipelineBareFunction}});Object.defineProperty($,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return F.pipelinePrimaryTopicReference}});Object.defineProperty($,"PipelineTopicExpression",{enumerable:!0,get:function(){return F.pipelineTopicExpression}});Object.defineProperty($,"Placeholder",{enumerable:!0,get:function(){return F.placeholder}});Object.defineProperty($,"PrivateName",{enumerable:!0,get:function(){return F.privateName}});Object.defineProperty($,"Program",{enumerable:!0,get:function(){return F.program}});Object.defineProperty($,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return F.qualifiedTypeIdentifier}});Object.defineProperty($,"RecordExpression",{enumerable:!0,get:function(){return F.recordExpression}});Object.defineProperty($,"RegExpLiteral",{enumerable:!0,get:function(){return F.regExpLiteral}});Object.defineProperty($,"RegexLiteral",{enumerable:!0,get:function(){return F.regexLiteral}});Object.defineProperty($,"RestElement",{enumerable:!0,get:function(){return F.restElement}});Object.defineProperty($,"RestProperty",{enumerable:!0,get:function(){return F.restProperty}});Object.defineProperty($,"ReturnStatement",{enumerable:!0,get:function(){return F.returnStatement}});Object.defineProperty($,"SequenceExpression",{enumerable:!0,get:function(){return F.sequenceExpression}});Object.defineProperty($,"SpreadElement",{enumerable:!0,get:function(){return F.spreadElement}});Object.defineProperty($,"SpreadProperty",{enumerable:!0,get:function(){return F.spreadProperty}});Object.defineProperty($,"StaticBlock",{enumerable:!0,get:function(){return F.staticBlock}});Object.defineProperty($,"StringLiteral",{enumerable:!0,get:function(){return F.stringLiteral}});Object.defineProperty($,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return F.stringLiteralTypeAnnotation}});Object.defineProperty($,"StringTypeAnnotation",{enumerable:!0,get:function(){return F.stringTypeAnnotation}});Object.defineProperty($,"Super",{enumerable:!0,get:function(){return F.super}});Object.defineProperty($,"SwitchCase",{enumerable:!0,get:function(){return F.switchCase}});Object.defineProperty($,"SwitchStatement",{enumerable:!0,get:function(){return F.switchStatement}});Object.defineProperty($,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return F.symbolTypeAnnotation}});Object.defineProperty($,"TSAnyKeyword",{enumerable:!0,get:function(){return F.tsAnyKeyword}});Object.defineProperty($,"TSArrayType",{enumerable:!0,get:function(){return F.tsArrayType}});Object.defineProperty($,"TSAsExpression",{enumerable:!0,get:function(){return F.tsAsExpression}});Object.defineProperty($,"TSBigIntKeyword",{enumerable:!0,get:function(){return F.tsBigIntKeyword}});Object.defineProperty($,"TSBooleanKeyword",{enumerable:!0,get:function(){return F.tsBooleanKeyword}});Object.defineProperty($,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return F.tsCallSignatureDeclaration}});Object.defineProperty($,"TSConditionalType",{enumerable:!0,get:function(){return F.tsConditionalType}});Object.defineProperty($,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return F.tsConstructSignatureDeclaration}});Object.defineProperty($,"TSConstructorType",{enumerable:!0,get:function(){return F.tsConstructorType}});Object.defineProperty($,"TSDeclareFunction",{enumerable:!0,get:function(){return F.tsDeclareFunction}});Object.defineProperty($,"TSDeclareMethod",{enumerable:!0,get:function(){return F.tsDeclareMethod}});Object.defineProperty($,"TSEnumBody",{enumerable:!0,get:function(){return F.tsEnumBody}});Object.defineProperty($,"TSEnumDeclaration",{enumerable:!0,get:function(){return F.tsEnumDeclaration}});Object.defineProperty($,"TSEnumMember",{enumerable:!0,get:function(){return F.tsEnumMember}});Object.defineProperty($,"TSExportAssignment",{enumerable:!0,get:function(){return F.tsExportAssignment}});Object.defineProperty($,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return F.tsExpressionWithTypeArguments}});Object.defineProperty($,"TSExternalModuleReference",{enumerable:!0,get:function(){return F.tsExternalModuleReference}});Object.defineProperty($,"TSFunctionType",{enumerable:!0,get:function(){return F.tsFunctionType}});Object.defineProperty($,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return F.tsImportEqualsDeclaration}});Object.defineProperty($,"TSImportType",{enumerable:!0,get:function(){return F.tsImportType}});Object.defineProperty($,"TSIndexSignature",{enumerable:!0,get:function(){return F.tsIndexSignature}});Object.defineProperty($,"TSIndexedAccessType",{enumerable:!0,get:function(){return F.tsIndexedAccessType}});Object.defineProperty($,"TSInferType",{enumerable:!0,get:function(){return F.tsInferType}});Object.defineProperty($,"TSInstantiationExpression",{enumerable:!0,get:function(){return F.tsInstantiationExpression}});Object.defineProperty($,"TSInterfaceBody",{enumerable:!0,get:function(){return F.tsInterfaceBody}});Object.defineProperty($,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return F.tsInterfaceDeclaration}});Object.defineProperty($,"TSIntersectionType",{enumerable:!0,get:function(){return F.tsIntersectionType}});Object.defineProperty($,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return F.tsIntrinsicKeyword}});Object.defineProperty($,"TSLiteralType",{enumerable:!0,get:function(){return F.tsLiteralType}});Object.defineProperty($,"TSMappedType",{enumerable:!0,get:function(){return F.tsMappedType}});Object.defineProperty($,"TSMethodSignature",{enumerable:!0,get:function(){return F.tsMethodSignature}});Object.defineProperty($,"TSModuleBlock",{enumerable:!0,get:function(){return F.tsModuleBlock}});Object.defineProperty($,"TSModuleDeclaration",{enumerable:!0,get:function(){return F.tsModuleDeclaration}});Object.defineProperty($,"TSNamedTupleMember",{enumerable:!0,get:function(){return F.tsNamedTupleMember}});Object.defineProperty($,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return F.tsNamespaceExportDeclaration}});Object.defineProperty($,"TSNeverKeyword",{enumerable:!0,get:function(){return F.tsNeverKeyword}});Object.defineProperty($,"TSNonNullExpression",{enumerable:!0,get:function(){return F.tsNonNullExpression}});Object.defineProperty($,"TSNullKeyword",{enumerable:!0,get:function(){return F.tsNullKeyword}});Object.defineProperty($,"TSNumberKeyword",{enumerable:!0,get:function(){return F.tsNumberKeyword}});Object.defineProperty($,"TSObjectKeyword",{enumerable:!0,get:function(){return F.tsObjectKeyword}});Object.defineProperty($,"TSOptionalType",{enumerable:!0,get:function(){return F.tsOptionalType}});Object.defineProperty($,"TSParameterProperty",{enumerable:!0,get:function(){return F.tsParameterProperty}});Object.defineProperty($,"TSParenthesizedType",{enumerable:!0,get:function(){return F.tsParenthesizedType}});Object.defineProperty($,"TSPropertySignature",{enumerable:!0,get:function(){return F.tsPropertySignature}});Object.defineProperty($,"TSQualifiedName",{enumerable:!0,get:function(){return F.tsQualifiedName}});Object.defineProperty($,"TSRestType",{enumerable:!0,get:function(){return F.tsRestType}});Object.defineProperty($,"TSSatisfiesExpression",{enumerable:!0,get:function(){return F.tsSatisfiesExpression}});Object.defineProperty($,"TSStringKeyword",{enumerable:!0,get:function(){return F.tsStringKeyword}});Object.defineProperty($,"TSSymbolKeyword",{enumerable:!0,get:function(){return F.tsSymbolKeyword}});Object.defineProperty($,"TSThisType",{enumerable:!0,get:function(){return F.tsThisType}});Object.defineProperty($,"TSTupleType",{enumerable:!0,get:function(){return F.tsTupleType}});Object.defineProperty($,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return F.tsTypeAliasDeclaration}});Object.defineProperty($,"TSTypeAnnotation",{enumerable:!0,get:function(){return F.tsTypeAnnotation}});Object.defineProperty($,"TSTypeAssertion",{enumerable:!0,get:function(){return F.tsTypeAssertion}});Object.defineProperty($,"TSTypeLiteral",{enumerable:!0,get:function(){return F.tsTypeLiteral}});Object.defineProperty($,"TSTypeOperator",{enumerable:!0,get:function(){return F.tsTypeOperator}});Object.defineProperty($,"TSTypeParameter",{enumerable:!0,get:function(){return F.tsTypeParameter}});Object.defineProperty($,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return F.tsTypeParameterDeclaration}});Object.defineProperty($,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return F.tsTypeParameterInstantiation}});Object.defineProperty($,"TSTypePredicate",{enumerable:!0,get:function(){return F.tsTypePredicate}});Object.defineProperty($,"TSTypeQuery",{enumerable:!0,get:function(){return F.tsTypeQuery}});Object.defineProperty($,"TSTypeReference",{enumerable:!0,get:function(){return F.tsTypeReference}});Object.defineProperty($,"TSUndefinedKeyword",{enumerable:!0,get:function(){return F.tsUndefinedKeyword}});Object.defineProperty($,"TSUnionType",{enumerable:!0,get:function(){return F.tsUnionType}});Object.defineProperty($,"TSUnknownKeyword",{enumerable:!0,get:function(){return F.tsUnknownKeyword}});Object.defineProperty($,"TSVoidKeyword",{enumerable:!0,get:function(){return F.tsVoidKeyword}});Object.defineProperty($,"TaggedTemplateExpression",{enumerable:!0,get:function(){return F.taggedTemplateExpression}});Object.defineProperty($,"TemplateElement",{enumerable:!0,get:function(){return F.templateElement}});Object.defineProperty($,"TemplateLiteral",{enumerable:!0,get:function(){return F.templateLiteral}});Object.defineProperty($,"ThisExpression",{enumerable:!0,get:function(){return F.thisExpression}});Object.defineProperty($,"ThisTypeAnnotation",{enumerable:!0,get:function(){return F.thisTypeAnnotation}});Object.defineProperty($,"ThrowStatement",{enumerable:!0,get:function(){return F.throwStatement}});Object.defineProperty($,"TopicReference",{enumerable:!0,get:function(){return F.topicReference}});Object.defineProperty($,"TryStatement",{enumerable:!0,get:function(){return F.tryStatement}});Object.defineProperty($,"TupleExpression",{enumerable:!0,get:function(){return F.tupleExpression}});Object.defineProperty($,"TupleTypeAnnotation",{enumerable:!0,get:function(){return F.tupleTypeAnnotation}});Object.defineProperty($,"TypeAlias",{enumerable:!0,get:function(){return F.typeAlias}});Object.defineProperty($,"TypeAnnotation",{enumerable:!0,get:function(){return F.typeAnnotation}});Object.defineProperty($,"TypeCastExpression",{enumerable:!0,get:function(){return F.typeCastExpression}});Object.defineProperty($,"TypeParameter",{enumerable:!0,get:function(){return F.typeParameter}});Object.defineProperty($,"TypeParameterDeclaration",{enumerable:!0,get:function(){return F.typeParameterDeclaration}});Object.defineProperty($,"TypeParameterInstantiation",{enumerable:!0,get:function(){return F.typeParameterInstantiation}});Object.defineProperty($,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return F.typeofTypeAnnotation}});Object.defineProperty($,"UnaryExpression",{enumerable:!0,get:function(){return F.unaryExpression}});Object.defineProperty($,"UnionTypeAnnotation",{enumerable:!0,get:function(){return F.unionTypeAnnotation}});Object.defineProperty($,"UpdateExpression",{enumerable:!0,get:function(){return F.updateExpression}});Object.defineProperty($,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return F.v8IntrinsicIdentifier}});Object.defineProperty($,"VariableDeclaration",{enumerable:!0,get:function(){return F.variableDeclaration}});Object.defineProperty($,"VariableDeclarator",{enumerable:!0,get:function(){return F.variableDeclarator}});Object.defineProperty($,"Variance",{enumerable:!0,get:function(){return F.variance}});Object.defineProperty($,"VoidTypeAnnotation",{enumerable:!0,get:function(){return F.voidTypeAnnotation}});Object.defineProperty($,"WhileStatement",{enumerable:!0,get:function(){return F.whileStatement}});Object.defineProperty($,"WithStatement",{enumerable:!0,get:function(){return F.withStatement}});Object.defineProperty($,"YieldExpression",{enumerable:!0,get:function(){return F.yieldExpression}});var F=y1()});var M9=f((n8)=>{Object.defineProperty(n8,"__esModule",{value:!0});n8.buildUndefinedNode=zl;var t8=y1();function zl(){return t8.unaryExpression("void",t8.numericLiteral(0),!0)}});var vG=f((X4)=>{Object.defineProperty(X4,"__esModule",{value:!0});X4.default=Ul;var o8=n1(),e8=N1(),{hasOwn:BG}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function G4(G,J,X,H){if(G&&typeof G.type==="string")return J4(G,J,X,H);return G}function $9(G,J,X,H){if(Array.isArray(G))return G.map((V)=>G4(V,J,X,H));return G4(G,J,X,H)}function Ul(G,J=!0,X=!1){return J4(G,J,X,new Map)}function J4(G,J=!0,X=!1,H){if(!G)return G;let{type:V}=G,Z={type:G.type};if(e8.isIdentifier(G)){if(Z.name=G.name,BG(G,"optional")&&typeof G.optional==="boolean")Z.optional=G.optional;if(BG(G,"typeAnnotation"))Z.typeAnnotation=J?$9(G.typeAnnotation,!0,X,H):G.typeAnnotation;if(BG(G,"decorators"))Z.decorators=J?$9(G.decorators,!0,X,H):G.decorators}else if(!BG(o8.NODE_FIELDS,V))throw new Error(`Unknown node type: "${V}"`);else for(let Q of Object.keys(o8.NODE_FIELDS[V]))if(BG(G,Q))if(J)Z[Q]=e8.isFile(G)&&Q==="comments"?gX(G.comments,J,X,H):$9(G[Q],!0,X,H);else Z[Q]=G[Q];if(BG(G,"loc"))if(X)Z.loc=null;else Z.loc=G.loc;if(BG(G,"leadingComments"))Z.leadingComments=gX(G.leadingComments,J,X,H);if(BG(G,"innerComments"))Z.innerComments=gX(G.innerComments,J,X,H);if(BG(G,"trailingComments"))Z.trailingComments=gX(G.trailingComments,J,X,H);if(BG(G,"extra"))Z.extra=Object.assign({},G.extra);return Z}function gX(G,J,X,H){if(!G||!J)return G;return G.map((V)=>{let Z=H.get(V);if(Z)return Z;let{type:Q,value:W,loc:Y}=V,z={type:Q,value:W,loc:Y};if(X)z.loc=null;return H.set(V,z),z})}});var V4=f((H4)=>{Object.defineProperty(H4,"__esModule",{value:!0});H4.default=Ml;var Bl=vG();function Ml(G){return Bl.default(G,!1)}});var Q4=f((Z4)=>{Object.defineProperty(Z4,"__esModule",{value:!0});Z4.default=ql;var Fl=vG();function ql(G){return Fl.default(G)}});var Y4=f((W4)=>{Object.defineProperty(W4,"__esModule",{value:!0});W4.default=Al;var Ol=vG();function Al(G){return Ol.default(G,!0,!0)}});var K4=f((z4)=>{Object.defineProperty(z4,"__esModule",{value:!0});z4.default=Sl;var Dl=vG();function Sl(G){return Dl.default(G,!1,!0)}});var F9=f((U4)=>{Object.defineProperty(U4,"__esModule",{value:!0});U4.default=Il;function Il(G,J,X){if(!X||!G)return G;let H=`${J}Comments`;if(G[H])if(J==="leading")G[H]=X.concat(G[H]);else G[H].push(...X);else G[H]=X;return G}});var B4=f((R4)=>{Object.defineProperty(R4,"__esModule",{value:!0});R4.default=Tl;var Nl=F9();function Tl(G,J,X,H){return Nl.default(G,J,[{type:H?"CommentLine":"CommentBlock",value:X}])}});var _X=f((M4)=>{Object.defineProperty(M4,"__esModule",{value:!0});M4.default=Ll;function Ll(G,J,X){if(J&&X)J[G]=Array.from(new Set([].concat(J[G],X[G]).filter(Boolean)))}});var q9=f(($4)=>{Object.defineProperty($4,"__esModule",{value:!0});$4.default=vl;var kl=_X();function vl(G,J){kl.default("innerComments",G,J)}});var j9=f((F4)=>{Object.defineProperty(F4,"__esModule",{value:!0});F4.default=_l;var gl=_X();function _l(G,J){gl.default("leadingComments",G,J)}});var O9=f((q4)=>{Object.defineProperty(q4,"__esModule",{value:!0});q4.default=yl;var ul=_X();function yl(G,J){ul.default("trailingComments",G,J)}});var A9=f((j4)=>{Object.defineProperty(j4,"__esModule",{value:!0});j4.default=il;var ml=O9(),cl=j9(),ll=q9();function il(G,J){return ml.default(G,J),cl.default(G,J),ll.default(G,J),G}});var A4=f((O4)=>{Object.defineProperty(O4,"__esModule",{value:!0});O4.default=rl;var pl=kG();function rl(G){return pl.COMMENT_KEYS.forEach((J)=>{G[J]=null}),G}});var S4=f((C4)=>{Object.defineProperty(C4,"__esModule",{value:!0});C4.WHILE_TYPES=C4.USERWHITESPACABLE_TYPES=C4.UNARYLIKE_TYPES=C4.TYPESCRIPT_TYPES=C4.TSTYPE_TYPES=C4.TSTYPEELEMENT_TYPES=C4.TSENTITYNAME_TYPES=C4.TSBASETYPE_TYPES=C4.TERMINATORLESS_TYPES=C4.STATEMENT_TYPES=C4.STANDARDIZED_TYPES=C4.SCOPABLE_TYPES=C4.PUREISH_TYPES=C4.PROPERTY_TYPES=C4.PRIVATE_TYPES=C4.PATTERN_TYPES=C4.PATTERNLIKE_TYPES=C4.OBJECTMEMBER_TYPES=C4.MODULESPECIFIER_TYPES=C4.MODULEDECLARATION_TYPES=C4.MISCELLANEOUS_TYPES=C4.METHOD_TYPES=C4.LVAL_TYPES=C4.LOOP_TYPES=C4.LITERAL_TYPES=C4.JSX_TYPES=C4.IMPORTOREXPORTDECLARATION_TYPES=C4.IMMUTABLE_TYPES=C4.FUNCTION_TYPES=C4.FUNCTIONPARENT_TYPES=C4.FOR_TYPES=C4.FORXSTATEMENT_TYPES=C4.FLOW_TYPES=C4.FLOWTYPE_TYPES=C4.FLOWPREDICATE_TYPES=C4.FLOWDECLARATION_TYPES=C4.FLOWBASEANNOTATION_TYPES=C4.EXPRESSION_TYPES=C4.EXPRESSIONWRAPPER_TYPES=C4.EXPORTDECLARATION_TYPES=C4.ENUMMEMBER_TYPES=C4.ENUMBODY_TYPES=C4.DECLARATION_TYPES=C4.CONDITIONAL_TYPES=C4.COMPLETIONSTATEMENT_TYPES=C4.CLASS_TYPES=C4.BLOCK_TYPES=C4.BLOCKPARENT_TYPES=C4.BINARY_TYPES=C4.ACCESSOR_TYPES=void 0;var J1=n1(),GB1=C4.STANDARDIZED_TYPES=J1.FLIPPED_ALIAS_KEYS.Standardized,JB1=C4.EXPRESSION_TYPES=J1.FLIPPED_ALIAS_KEYS.Expression,XB1=C4.BINARY_TYPES=J1.FLIPPED_ALIAS_KEYS.Binary,HB1=C4.SCOPABLE_TYPES=J1.FLIPPED_ALIAS_KEYS.Scopable,VB1=C4.BLOCKPARENT_TYPES=J1.FLIPPED_ALIAS_KEYS.BlockParent,ZB1=C4.BLOCK_TYPES=J1.FLIPPED_ALIAS_KEYS.Block,QB1=C4.STATEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.Statement,WB1=C4.TERMINATORLESS_TYPES=J1.FLIPPED_ALIAS_KEYS.Terminatorless,YB1=C4.COMPLETIONSTATEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.CompletionStatement,zB1=C4.CONDITIONAL_TYPES=J1.FLIPPED_ALIAS_KEYS.Conditional,KB1=C4.LOOP_TYPES=J1.FLIPPED_ALIAS_KEYS.Loop,UB1=C4.WHILE_TYPES=J1.FLIPPED_ALIAS_KEYS.While,RB1=C4.EXPRESSIONWRAPPER_TYPES=J1.FLIPPED_ALIAS_KEYS.ExpressionWrapper,BB1=C4.FOR_TYPES=J1.FLIPPED_ALIAS_KEYS.For,MB1=C4.FORXSTATEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.ForXStatement,$B1=C4.FUNCTION_TYPES=J1.FLIPPED_ALIAS_KEYS.Function,FB1=C4.FUNCTIONPARENT_TYPES=J1.FLIPPED_ALIAS_KEYS.FunctionParent,qB1=C4.PUREISH_TYPES=J1.FLIPPED_ALIAS_KEYS.Pureish,jB1=C4.DECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.Declaration,OB1=C4.PATTERNLIKE_TYPES=J1.FLIPPED_ALIAS_KEYS.PatternLike,AB1=C4.LVAL_TYPES=J1.FLIPPED_ALIAS_KEYS.LVal,CB1=C4.TSENTITYNAME_TYPES=J1.FLIPPED_ALIAS_KEYS.TSEntityName,DB1=C4.LITERAL_TYPES=J1.FLIPPED_ALIAS_KEYS.Literal,SB1=C4.IMMUTABLE_TYPES=J1.FLIPPED_ALIAS_KEYS.Immutable,fB1=C4.USERWHITESPACABLE_TYPES=J1.FLIPPED_ALIAS_KEYS.UserWhitespacable,IB1=C4.METHOD_TYPES=J1.FLIPPED_ALIAS_KEYS.Method,PB1=C4.OBJECTMEMBER_TYPES=J1.FLIPPED_ALIAS_KEYS.ObjectMember,NB1=C4.PROPERTY_TYPES=J1.FLIPPED_ALIAS_KEYS.Property,TB1=C4.UNARYLIKE_TYPES=J1.FLIPPED_ALIAS_KEYS.UnaryLike,wB1=C4.PATTERN_TYPES=J1.FLIPPED_ALIAS_KEYS.Pattern,LB1=C4.CLASS_TYPES=J1.FLIPPED_ALIAS_KEYS.Class,dl=C4.IMPORTOREXPORTDECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,bB1=C4.EXPORTDECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.ExportDeclaration,kB1=C4.MODULESPECIFIER_TYPES=J1.FLIPPED_ALIAS_KEYS.ModuleSpecifier,vB1=C4.ACCESSOR_TYPES=J1.FLIPPED_ALIAS_KEYS.Accessor,EB1=C4.PRIVATE_TYPES=J1.FLIPPED_ALIAS_KEYS.Private,gB1=C4.FLOW_TYPES=J1.FLIPPED_ALIAS_KEYS.Flow,_B1=C4.FLOWTYPE_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowType,hB1=C4.FLOWBASEANNOTATION_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,uB1=C4.FLOWDECLARATION_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowDeclaration,yB1=C4.FLOWPREDICATE_TYPES=J1.FLIPPED_ALIAS_KEYS.FlowPredicate,xB1=C4.ENUMBODY_TYPES=J1.FLIPPED_ALIAS_KEYS.EnumBody,mB1=C4.ENUMMEMBER_TYPES=J1.FLIPPED_ALIAS_KEYS.EnumMember,cB1=C4.JSX_TYPES=J1.FLIPPED_ALIAS_KEYS.JSX,lB1=C4.MISCELLANEOUS_TYPES=J1.FLIPPED_ALIAS_KEYS.Miscellaneous,iB1=C4.TYPESCRIPT_TYPES=J1.FLIPPED_ALIAS_KEYS.TypeScript,aB1=C4.TSTYPEELEMENT_TYPES=J1.FLIPPED_ALIAS_KEYS.TSTypeElement,pB1=C4.TSTYPE_TYPES=J1.FLIPPED_ALIAS_KEYS.TSType,rB1=C4.TSBASETYPE_TYPES=J1.FLIPPED_ALIAS_KEYS.TSBaseType,sB1=C4.MODULEDECLARATION_TYPES=dl});var D9=f((f4)=>{Object.defineProperty(f4,"__esModule",{value:!0});f4.default=ai;var hX=N1(),C9=y1();function ai(G,J){if(hX.isBlockStatement(G))return G;let X=[];if(hX.isEmptyStatement(G))X=[];else{if(!hX.isStatement(G))if(hX.isFunction(J))G=C9.returnStatement(G);else G=C9.expressionStatement(G);X=[G]}return C9.blockStatement(X)}});var P4=f((I4)=>{Object.defineProperty(I4,"__esModule",{value:!0});I4.default=si;var ri=D9();function si(G,J="body"){let X=ri.default(G[J],G);return G[J]=X,X}});var S9=f((N4)=>{Object.defineProperty(N4,"__esModule",{value:!0});N4.default=oi;var ti=UJ(),ni=uJ();function oi(G){G=G+"";let J="";for(let X of G)J+=ni.isIdentifierChar(X.codePointAt(0))?X:"-";if(J=J.replace(/^[-0-9]+/,""),J=J.replace(/[-\s]+(.)?/g,function(X,H){return H?H.toUpperCase():""}),!ti.default(J))J=`_${J}`;return J||"_"}});var w4=f((T4)=>{Object.defineProperty(T4,"__esModule",{value:!0});T4.default=Ja;var Ga=S9();function Ja(G){if(G=Ga.default(G),G==="eval"||G==="arguments")G="_"+G;return G}});var b4=f((L4)=>{Object.defineProperty(L4,"__esModule",{value:!0});L4.default=Za;var Ha=N1(),Va=y1();function Za(G,J=G.key||G.property){if(!G.computed&&Ha.isIdentifier(J))J=Va.stringLiteral(J.name);return J}});var E4=f((k4)=>{Object.defineProperty(k4,"__esModule",{value:!0});k4.default=void 0;var iJ=N1(),JM1=k4.default=Wa;function Wa(G){if(iJ.isExpressionStatement(G))G=G.expression;if(iJ.isExpression(G))return G;if(iJ.isClass(G))G.type="ClassExpression";else if(iJ.isFunction(G))G.type="FunctionExpression";if(!iJ.isExpression(G))throw new Error(`cannot turn ${G.type} to an expression`);return G}});var I9=f((g4)=>{Object.defineProperty(g4,"__esModule",{value:!0});g4.default=f9;var Ya=n1();function f9(G,J,X){if(!G)return;let H=Ya.VISITOR_KEYS[G.type];if(!H)return;X=X||{},J(G,X);for(let V of H){let Z=G[V];if(Array.isArray(Z))for(let Q of Z)f9(Q,J,X);else f9(Z,J,X)}}});var P9=f((h4)=>{Object.defineProperty(h4,"__esModule",{value:!0});h4.default=Ra;var Ka=kG(),_4=["tokens","start","end","loc","raw","rawValue"],Ua=[...Ka.COMMENT_KEYS,"comments",..._4];function Ra(G,J={}){let X=J.preserveComments?_4:Ua;for(let V of X)if(G[V]!=null)G[V]=void 0;for(let V of Object.keys(G))if(V[0]==="_"&&G[V]!=null)G[V]=void 0;let H=Object.getOwnPropertySymbols(G);for(let V of H)G[V]=null}});var N9=f((u4)=>{Object.defineProperty(u4,"__esModule",{value:!0});u4.default=Fa;var Ma=I9(),$a=P9();function Fa(G,J){return Ma.default(G,$a.default,J),G}});var m4=f((x4)=>{Object.defineProperty(x4,"__esModule",{value:!0});x4.default=aG;var y4=N1(),ja=vG(),Oa=N9();function aG(G,J=G.key){let X;if(G.kind==="method")return aG.increment()+"";else if(y4.isIdentifier(J))X=J.name;else if(y4.isStringLiteral(J))X=JSON.stringify(J.value);else X=JSON.stringify(Oa.default(ja.default(J)));if(G.computed)X=`[${X}]`;if(G.static)X=`static:${X}`;return X}aG.uid=0;aG.increment=function(){if(aG.uid>=Number.MAX_SAFE_INTEGER)return aG.uid=0;else return aG.uid++}});var i4=f((c4)=>{Object.defineProperty(c4,"__esModule",{value:!0});c4.default=void 0;var uX=N1(),Ca=y1(),WM1=c4.default=Da;function Da(G,J){if(uX.isStatement(G))return G;let X=!1,H;if(uX.isClass(G))X=!0,H="ClassDeclaration";else if(uX.isFunction(G))X=!0,H="FunctionDeclaration";else if(uX.isAssignmentExpression(G))return Ca.expressionStatement(G);if(X&&!G.id)H=!1;if(!H)if(J)return!1;else throw new Error(`cannot turn ${G.type} to a statement`);return G.type=H,G}});var r4=f((a4)=>{Object.defineProperty(a4,"__esModule",{value:!0});a4.default=void 0;var Sa=UJ(),g1=y1(),zM1=a4.default=T9,fa=Function.call.bind(Object.prototype.toString);function Ia(G){return fa(G)==="[object RegExp]"}function Pa(G){if(typeof G!=="object"||G===null||Object.prototype.toString.call(G)!=="[object Object]")return!1;let J=Object.getPrototypeOf(G);return J===null||Object.getPrototypeOf(J)===null}function T9(G){if(G===void 0)return g1.identifier("undefined");if(G===!0||G===!1)return g1.booleanLiteral(G);if(G===null)return g1.nullLiteral();if(typeof G==="string")return g1.stringLiteral(G);if(typeof G==="number"){let J;if(Number.isFinite(G))J=g1.numericLiteral(Math.abs(G));else{let X;if(Number.isNaN(G))X=g1.numericLiteral(0);else X=g1.numericLiteral(1);J=g1.binaryExpression("/",X,g1.numericLiteral(0))}if(G<0||Object.is(G,-0))J=g1.unaryExpression("-",J);return J}if(Ia(G)){let J=G.source,X=/\/([a-z]*)$/.exec(G.toString())[1];return g1.regExpLiteral(J,X)}if(Array.isArray(G))return g1.arrayExpression(G.map(T9));if(Pa(G)){let J=[];for(let X of Object.keys(G)){let H;if(Sa.default(X))H=g1.identifier(X);else H=g1.stringLiteral(X);J.push(g1.objectProperty(H,T9(G[X])))}return g1.objectExpression(J)}throw new Error("don't know how to turn this value into a node")}});var d4=f((s4)=>{Object.defineProperty(s4,"__esModule",{value:!0});s4.default=Ta;var Na=y1();function Ta(G,J,X=!1){return G.object=Na.memberExpression(G.object,G.property,G.computed),G.property=J,G.computed=!!X,G}});var o4=f((n4)=>{Object.defineProperty(n4,"__esModule",{value:!0});n4.default=ba;var t4=kG(),La=A9();function ba(G,J){if(!G||!J)return G;for(let X of t4.INHERIT_KEYS.optional)if(G[X]==null)G[X]=J[X];for(let X of Object.keys(J))if(X[0]==="_"&&X!=="__clone")G[X]=J[X];for(let X of t4.INHERIT_KEYS.force)G[X]=J[X];return La.default(G,J),G}});var G7=f((e4)=>{Object.defineProperty(e4,"__esModule",{value:!0});e4.default=ga;var va=y1(),Ea=W1();function ga(G,J){if(Ea.isSuper(G.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return G.object=va.memberExpression(J,G.object),G}});var X7=f((J7)=>{Object.defineProperty(J7,"__esModule",{value:!0});J7.default=ha;function ha(G){let J=[].concat(G),X=Object.create(null);while(J.length){let H=J.pop();if(!H)continue;switch(H.type){case"ArrayPattern":J.push(...H.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":J.push(H.left);break;case"ObjectPattern":J.push(...H.properties);break;case"ObjectProperty":J.push(H.value);break;case"RestElement":case"UpdateExpression":J.push(H.argument);break;case"UnaryExpression":if(H.operator==="delete")J.push(H.argument);break;case"Identifier":X[H.name]=H;break;default:break}}return X}});var aJ=f((H7)=>{Object.defineProperty(H7,"__esModule",{value:!0});H7.default=w9;var OG=N1();function w9(G,J,X,H){let V=[].concat(G),Z=Object.create(null);while(V.length){let Q=V.shift();if(!Q)continue;if(H&&(OG.isAssignmentExpression(Q)||OG.isUnaryExpression(Q)||OG.isUpdateExpression(Q)))continue;if(OG.isIdentifier(Q)){if(J)(Z[Q.name]=Z[Q.name]||[]).push(Q);else Z[Q.name]=Q;continue}if(OG.isExportDeclaration(Q)&&!OG.isExportAllDeclaration(Q)){if(OG.isDeclaration(Q.declaration))V.push(Q.declaration);continue}if(X){if(OG.isFunctionDeclaration(Q)){V.push(Q.id);continue}if(OG.isFunctionExpression(Q))continue}let W=w9.keys[Q.type];if(W)for(let Y=0;Y<W.length;Y++){let z=W[Y],U=Q[z];if(U)if(Array.isArray(U))V.push(...U);else V.push(U)}}return Z}var ya={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"]};w9.keys=ya});var Q7=f((V7)=>{Object.defineProperty(V7,"__esModule",{value:!0});V7.default=void 0;var ma=aJ(),FM1=V7.default=ca;function ca(G,J){return ma.default(G,J,!0)}});var z7=f((Y7)=>{Object.defineProperty(Y7,"__esModule",{value:!0});Y7.default=ia;var e1=N1();function la(G){if(e1.isNullLiteral(G))return"null";if(e1.isRegExpLiteral(G))return`/${G.pattern}/${G.flags}`;if(e1.isTemplateLiteral(G))return G.quasis.map((J)=>J.value.raw).join("");if(G.value!==void 0)return String(G.value);return null}function W7(G){if(!G.computed||e1.isLiteral(G.key))return G.key}function ia(G,J){if("id"in G&&G.id)return{name:G.id.name,originalNode:G.id};let X="",H;if(e1.isObjectProperty(J,{value:G}))H=W7(J);else if(e1.isObjectMethod(G)||e1.isClassMethod(G)){if(H=W7(G),G.kind==="get")X="get ";else if(G.kind==="set")X="set "}else if(e1.isVariableDeclarator(J,{init:G}))H=J.id;else if(e1.isAssignmentExpression(J,{operator:"=",right:G}))H=J.left;if(!H)return null;let V=e1.isLiteral(H)?la(H):e1.isIdentifier(H)?H.name:e1.isPrivateName(H)?H.id.name:null;if(V==null)return null;return{name:X+V,originalNode:H}}});var U7=f((K7)=>{Object.defineProperty(K7,"__esModule",{value:!0});K7.default=ra;var pa=n1();function ra(G,J,X){if(typeof J==="function")J={enter:J};let{enter:H,exit:V}=J;L9(G,H,V,X,[])}function L9(G,J,X,H,V){let Z=pa.VISITOR_KEYS[G.type];if(!Z)return;if(J)J(G,V,H);for(let Q of Z){let W=G[Q];if(Array.isArray(W))for(let Y=0;Y<W.length;Y++){let z=W[Y];if(!z)continue;V.push({node:G,key:Q,index:Y}),L9(z,J,X,H,V),V.pop()}else if(W)V.push({node:G,key:Q}),L9(W,J,X,H,V),V.pop()}if(X)X(G,V,H)}});var B7=f((R7)=>{Object.defineProperty(R7,"__esModule",{value:!0});R7.default=ta;var da=aJ();function ta(G,J,X){if(X&&G.type==="Identifier"&&J.type==="ObjectProperty"&&X.type==="ObjectExpression")return!1;let H=da.default.keys[J.type];if(H)for(let V=0;V<H.length;V++){let Z=H[V],Q=J[Z];if(Array.isArray(Q)){if(Q.includes(G))return!0}else if(Q===G)return!0}return!1}});var b9=f((M7)=>{Object.defineProperty(M7,"__esModule",{value:!0});M7.default=Gp;var oa=N1(),ea=kG();function Gp(G){return oa.isVariableDeclaration(G)&&(G.kind!=="var"||G[ea.BLOCK_SCOPED_SYMBOL])}});var q7=f((F7)=>{Object.defineProperty(F7,"__esModule",{value:!0});F7.default=Hp;var $7=N1(),Xp=b9();function Hp(G){return $7.isFunctionDeclaration(G)||$7.isClassDeclaration(G)||Xp.default(G)}});var O7=f((j7)=>{Object.defineProperty(j7,"__esModule",{value:!0});j7.default=Wp;var Zp=IX(),Qp=N1();function Wp(G){if(Zp.default(G.type,"Immutable"))return!0;if(Qp.isIdentifier(G))if(G.name==="undefined")return!0;else return!1;return!1}});var D7=f((C7)=>{Object.defineProperty(C7,"__esModule",{value:!0});C7.default=k9;var A7=n1();function k9(G,J){if(typeof G!=="object"||typeof J!=="object"||G==null||J==null)return G===J;if(G.type!==J.type)return!1;let X=Object.keys(A7.NODE_FIELDS[G.type]||G.type),H=A7.VISITOR_KEYS[G.type];for(let V of X){let Z=G[V],Q=J[V];if(typeof Z!==typeof Q)return!1;if(Z==null&&Q==null)continue;else if(Z==null||Q==null)return!1;if(Array.isArray(Z)){if(!Array.isArray(Q))return!1;if(Z.length!==Q.length)return!1;for(let W=0;W<Z.length;W++)if(!k9(Z[W],Q[W]))return!1;continue}if(typeof Z==="object"&&!(H!=null&&H.includes(V))){for(let W of Object.keys(Z))if(Z[W]!==Q[W])return!1;continue}if(!k9(Z,Q))return!1}return!0}});var f7=f((S7)=>{Object.defineProperty(S7,"__esModule",{value:!0});S7.default=Kp;function Kp(G,J,X){switch(J.type){case"MemberExpression":case"OptionalMemberExpression":if(J.property===G)return!!J.computed;return J.object===G;case"JSXMemberExpression":return J.object===G;case"VariableDeclarator":return J.init===G;case"ArrowFunctionExpression":return J.body===G;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":if(J.key===G)return!!J.computed;return!1;case"ObjectProperty":if(J.key===G)return!!J.computed;return!X||X.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":if(J.key===G)return!!J.computed;return!0;case"ClassPrivateProperty":return J.key!==G;case"ClassDeclaration":case"ClassExpression":return J.superClass===G;case"AssignmentExpression":return J.right===G;case"AssignmentPattern":return J.right===G;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 J.local===G;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 J.key!==G;case"TSEnumMember":return J.id!==G;case"TSPropertySignature":if(J.key===G)return!!J.computed;return!0}return!0}});var P7=f((I7)=>{Object.defineProperty(I7,"__esModule",{value:!0});I7.default=Rp;var pG=N1();function Rp(G,J){if(pG.isBlockStatement(G)&&(pG.isFunction(J)||pG.isCatchClause(J)))return!1;if(pG.isPattern(G)&&(pG.isFunction(J)||pG.isCatchClause(J)))return!0;return pG.isScopable(G)}});var w7=f((T7)=>{Object.defineProperty(T7,"__esModule",{value:!0});T7.default=Mp;var N7=N1();function Mp(G){return N7.isImportDefaultSpecifier(G)||N7.isIdentifier(G.imported||G.exported,{name:"default"})}});var b7=f((L7)=>{Object.defineProperty(L7,"__esModule",{value:!0});L7.default=jp;var Fp=UJ(),qp=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 jp(G){return Fp.default(G)&&!qp.has(G)}});var v7=f((k7)=>{Object.defineProperty(k7,"__esModule",{value:!0});k7.default=Dp;var Ap=N1(),Cp=kG();function Dp(G){return Ap.isVariableDeclaration(G,{kind:"var"})&&!G[Cp.BLOCK_SCOPED_SYMBOL]}});var g7=f((E7)=>{Object.defineProperty(E7,"__esModule",{value:!0});E7.default=yX;var fp=aJ(),rG=N1(),v9=y1(),E9=M9(),Ip=vG();function yX(G,J){let X=[],H=!0;for(let V of G){if(!rG.isEmptyStatement(V))H=!1;if(rG.isExpression(V))X.push(V);else if(rG.isExpressionStatement(V))X.push(V.expression);else if(rG.isVariableDeclaration(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=fp.default(Z);for(let W of Object.keys(Q))J.push({kind:V.kind,id:Ip.default(Q[W])});if(Z.init)X.push(v9.assignmentExpression("=",Z.id,Z.init))}H=!0}else if(rG.isIfStatement(V)){let Z=V.consequent?yX([V.consequent],J):E9.buildUndefinedNode(),Q=V.alternate?yX([V.alternate],J):E9.buildUndefinedNode();if(!Z||!Q)return;X.push(v9.conditionalExpression(V.test,Z,Q))}else if(rG.isBlockStatement(V)){let Z=yX(V.body,J);if(!Z)return;X.push(Z)}else if(rG.isEmptyStatement(V)){if(G.indexOf(V)===0)H=!0}else return}if(H)X.push(E9.buildUndefinedNode());if(X.length===1)return X[0];else return v9.sequenceExpression(X)}});var h7=f((_7)=>{Object.defineProperty(_7,"__esModule",{value:!0});_7.default=Tp;var Np=g7();function Tp(G,J){if(!(G!=null&&G.length))return;let X=[],H=Np.default(G,X);if(!H)return;for(let V of X)J.push(V);return H}});var W1=f((g)=>{Object.defineProperty(g,"__esModule",{value:!0});var AG={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(g,"__internal__deprecationWarning",{enumerable:!0,get:function(){return vr.default}});Object.defineProperty(g,"addComment",{enumerable:!0,get:function(){return mp.default}});Object.defineProperty(g,"addComments",{enumerable:!0,get:function(){return cp.default}});Object.defineProperty(g,"appendToMemberExpression",{enumerable:!0,get:function(){return Hr.default}});Object.defineProperty(g,"assertNode",{enumerable:!0,get:function(){return vp.default}});Object.defineProperty(g,"buildMatchMemberExpression",{enumerable:!0,get:function(){return kr.default}});Object.defineProperty(g,"clone",{enumerable:!0,get:function(){return hp.default}});Object.defineProperty(g,"cloneDeep",{enumerable:!0,get:function(){return up.default}});Object.defineProperty(g,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return yp.default}});Object.defineProperty(g,"cloneNode",{enumerable:!0,get:function(){return _p.default}});Object.defineProperty(g,"cloneWithoutLoc",{enumerable:!0,get:function(){return xp.default}});Object.defineProperty(g,"createFlowUnionType",{enumerable:!0,get:function(){return u7.default}});Object.defineProperty(g,"createTSUnionType",{enumerable:!0,get:function(){return gp.default}});Object.defineProperty(g,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return Ep.default}});Object.defineProperty(g,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u7.default}});Object.defineProperty(g,"ensureBlock",{enumerable:!0,get:function(){return sp.default}});Object.defineProperty(g,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return zr.default}});Object.defineProperty(g,"getBindingIdentifiers",{enumerable:!0,get:function(){return Kr.default}});Object.defineProperty(g,"getFunctionName",{enumerable:!0,get:function(){return Rr.default}});Object.defineProperty(g,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return Ur.default}});Object.defineProperty(g,"inheritInnerComments",{enumerable:!0,get:function(){return lp.default}});Object.defineProperty(g,"inheritLeadingComments",{enumerable:!0,get:function(){return ip.default}});Object.defineProperty(g,"inheritTrailingComments",{enumerable:!0,get:function(){return pp.default}});Object.defineProperty(g,"inherits",{enumerable:!0,get:function(){return Vr.default}});Object.defineProperty(g,"inheritsComments",{enumerable:!0,get:function(){return ap.default}});Object.defineProperty(g,"is",{enumerable:!0,get:function(){return $r.default}});Object.defineProperty(g,"isBinding",{enumerable:!0,get:function(){return Fr.default}});Object.defineProperty(g,"isBlockScoped",{enumerable:!0,get:function(){return qr.default}});Object.defineProperty(g,"isImmutable",{enumerable:!0,get:function(){return jr.default}});Object.defineProperty(g,"isLet",{enumerable:!0,get:function(){return Or.default}});Object.defineProperty(g,"isNode",{enumerable:!0,get:function(){return Ar.default}});Object.defineProperty(g,"isNodesEquivalent",{enumerable:!0,get:function(){return Cr.default}});Object.defineProperty(g,"isPlaceholderType",{enumerable:!0,get:function(){return Dr.default}});Object.defineProperty(g,"isReferenced",{enumerable:!0,get:function(){return Sr.default}});Object.defineProperty(g,"isScope",{enumerable:!0,get:function(){return fr.default}});Object.defineProperty(g,"isSpecifierDefault",{enumerable:!0,get:function(){return Ir.default}});Object.defineProperty(g,"isType",{enumerable:!0,get:function(){return Pr.default}});Object.defineProperty(g,"isValidES3Identifier",{enumerable:!0,get:function(){return Nr.default}});Object.defineProperty(g,"isValidIdentifier",{enumerable:!0,get:function(){return Tr.default}});Object.defineProperty(g,"isVar",{enumerable:!0,get:function(){return wr.default}});Object.defineProperty(g,"matchesPattern",{enumerable:!0,get:function(){return Lr.default}});Object.defineProperty(g,"prependToMemberExpression",{enumerable:!0,get:function(){return Zr.default}});g.react=void 0;Object.defineProperty(g,"removeComments",{enumerable:!0,get:function(){return rp.default}});Object.defineProperty(g,"removeProperties",{enumerable:!0,get:function(){return Qr.default}});Object.defineProperty(g,"removePropertiesDeep",{enumerable:!0,get:function(){return Wr.default}});Object.defineProperty(g,"removeTypeDuplicates",{enumerable:!0,get:function(){return Yr.default}});Object.defineProperty(g,"shallowEqual",{enumerable:!0,get:function(){return Mr.default}});Object.defineProperty(g,"toBindingIdentifierName",{enumerable:!0,get:function(){return dp.default}});Object.defineProperty(g,"toBlock",{enumerable:!0,get:function(){return tp.default}});Object.defineProperty(g,"toComputedKey",{enumerable:!0,get:function(){return np.default}});Object.defineProperty(g,"toExpression",{enumerable:!0,get:function(){return op.default}});Object.defineProperty(g,"toIdentifier",{enumerable:!0,get:function(){return ep.default}});Object.defineProperty(g,"toKeyAlias",{enumerable:!0,get:function(){return Gr.default}});Object.defineProperty(g,"toStatement",{enumerable:!0,get:function(){return Jr.default}});Object.defineProperty(g,"traverse",{enumerable:!0,get:function(){return xX.default}});Object.defineProperty(g,"traverseFast",{enumerable:!0,get:function(){return Br.default}});Object.defineProperty(g,"validate",{enumerable:!0,get:function(){return br.default}});Object.defineProperty(g,"valueToNode",{enumerable:!0,get:function(){return Xr.default}});var Lp=MH(),bp=FH(),kp=w8(),vp=k8(),g9=E8();Object.keys(g9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===g9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return g9[G]}})});var Ep=h8(),u7=c8(),gp=s8(),_9=y1();Object.keys(_9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===_9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return _9[G]}})});var h9=d8();Object.keys(h9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===h9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return h9[G]}})});var u9=M9();Object.keys(u9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===u9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return u9[G]}})});var _p=vG(),hp=V4(),up=Q4(),yp=Y4(),xp=K4(),mp=B4(),cp=F9(),lp=q9(),ip=j9(),ap=A9(),pp=O9(),rp=A4(),y9=S4();Object.keys(y9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===y9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return y9[G]}})});var x9=kG();Object.keys(x9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===x9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return x9[G]}})});var sp=P4(),dp=w4(),tp=D9(),np=b4(),op=E4(),ep=S9(),Gr=m4(),Jr=i4(),Xr=r4(),m9=n1();Object.keys(m9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===m9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return m9[G]}})});var Hr=d4(),Vr=o4(),Zr=G7(),Qr=P9(),Wr=N9(),Yr=B9(),zr=X7(),Kr=aJ(),Ur=Q7(),Rr=z7(),xX=U7();Object.keys(xX).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===xX[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return xX[G]}})});var Br=I9(),Mr=fX(),$r=KJ(),Fr=B7(),qr=q7(),jr=O7(),Or=b9(),Ar=R9(),Cr=D7(),Dr=a0(),Sr=f7(),fr=P7(),Ir=w7(),Pr=IX(),Nr=b7(),Tr=UJ(),wr=v7(),Lr=l0(),br=LX(),kr=i0(),c9=N1();Object.keys(c9).forEach(function(G){if(G==="default"||G==="__esModule")return;if(Object.prototype.hasOwnProperty.call(AG,G))return;if(G in g&&g[G]===c9[G])return;Object.defineProperty(g,G,{enumerable:!0,get:function(){return c9[G]}})});var vr=EJ(),kM1=g.react={isReactComponent:Lp.default,isCompatTag:bp.default,buildChildren:kp.default};g.toSequenceExpression=h7().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 p7=f((i7)=>{Object.defineProperty(i7,"__esModule",{value:!0});i7.nodes=void 0;var Er=W1(),{FLIPPED_ALIAS_KEYS:gr,isArrayExpression:_r,isAssignmentExpression:m7,isBinary:c7,isBlockStatement:hr,isCallExpression:l7,isFunction:pJ,isIdentifier:mX,isLiteral:ur,isMemberExpression:l9,isObjectExpression:yr,isOptionalCallExpression:xr,isOptionalMemberExpression:mr,isStringLiteral:cr}=Er;function $J(G,J){if(!G)return J;if(l9(G)||mr(G)){if($J(G.object,J),G.computed)$J(G.property,J)}else if(c7(G)||m7(G))$J(G.left,J),$J(G.right,J);else if(l7(G)||xr(G))J.hasCall=!0,$J(G.callee,J);else if(pJ(G))J.hasFunction=!0;else if(mX(G))J.hasHelper=J.hasHelper||G.callee&&CG(G.callee);return J}function x7(G){return $J(G,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function CG(G){if(!G)return!1;if(l9(G))return CG(G.object)||CG(G.property);else if(mX(G))return G.name==="require"||G.name.charCodeAt(0)===95;else if(l7(G))return CG(G.callee);else if(c7(G)||m7(G))return mX(G.left)&&CG(G.left)||CG(G.right);else return!1}function lr(G){return ur(G)||yr(G)||_r(G)||mX(G)||l9(G)}var sG=i7.nodes={AssignmentExpression(G){let J=x7(G.right);if(J.hasCall&&J.hasHelper||J.hasFunction)return J.hasFunction?3:2},SwitchCase(G,J){return(!!G.consequent.length||J.cases[0]===G?1:0)|(!G.consequent.length&&J.cases[J.cases.length-1]===G?2:0)},LogicalExpression(G){if(pJ(G.left)||pJ(G.right))return 2},Literal(G){if(cr(G)&&G.value==="use strict")return 2},CallExpression(G){if(pJ(G.callee)||CG(G))return 3},OptionalCallExpression(G){if(pJ(G.callee))return 3},VariableDeclaration(G){for(let J=0;J<G.declarations.length;J++){let X=G.declarations[J],H=CG(X.id)&&!lr(X.init);if(!H&&X.init){let V=x7(X.init);H=CG(X.init)&&V.hasCall||V.hasFunction}if(H)return 3}},IfStatement(G){if(hr(G.consequent))return 3}};sG.ObjectProperty=sG.ObjectTypeProperty=sG.ObjectMethod=function(G,J){if(J.properties[0]===G)return 1};sG.ObjectTypeCallProperty=function(G,J){var X;if(J.callProperties[0]===G&&!((X=J.properties)!=null&&X.length))return 1};sG.ObjectTypeIndexer=function(G,J){var X,H;if(J.indexers[0]===G&&!((X=J.properties)!=null&&X.length)&&!((H=J.callProperties)!=null&&H.length))return 1};sG.ObjectTypeInternalSlot=function(G,J){var X,H,V;if(J.internalSlots[0]===G&&!((X=J.properties)!=null&&X.length)&&!((H=J.callProperties)!=null&&H.length)&&!((V=J.indexers)!=null&&V.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([G,J]){[G].concat(gr[G]||[]).forEach(function(X){let H=J?3:0;sG[X]=()=>H})})});var J5=f((G5)=>{Object.defineProperty(G5,"__esModule",{value:!0});G5.AssignmentExpression=qs;G5.Binary=n7;G5.BinaryExpression=Us;G5.ClassExpression=Ms;G5.ArrowFunctionExpression=G5.ConditionalExpression=e7;G5.DoExpression=Vs;G5.FunctionExpression=$s;G5.FunctionTypeAnnotation=Js;G5.Identifier=Os;G5.LogicalExpression=js;G5.NullableTypeAnnotation=Gs;G5.ObjectExpression=Hs;G5.OptionalIndexedAccessType=Qs;G5.OptionalCallExpression=G5.OptionalMemberExpression=Fs;G5.SequenceExpression=Rs;G5.TSSatisfiesExpression=G5.TSAsExpression=Ws;G5.TSInferType=zs;G5.TSInstantiationExpression=Ks;G5.UnaryLike=G5.TSTypeAssertion=o7;G5.TSIntersectionType=G5.TSUnionType=Ys;G5.IntersectionTypeAnnotation=G5.UnionTypeAnnotation=Zs;G5.UpdateExpression=Xs;G5.AwaitExpression=G5.YieldExpression=Bs;var ir=W1(),GG=EG(),{isArrayTypeAnnotation:ar,isBinaryExpression:pr,isCallExpression:rr,isForOfStatement:sr,isIndexedAccessType:dr,isMemberExpression:d7,isObjectPattern:tr,isOptionalMemberExpression:nr,isYieldExpression:or,isStatement:er}=ir,r7=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 s7(G,J){if(J==="BinaryExpression"||J==="LogicalExpression")return r7.get(G.operator);if(J==="TSAsExpression"||J==="TSSatisfiesExpression")return r7.get("in")}function i9(G){return G==="TSAsExpression"||G==="TSSatisfiesExpression"||G==="TSTypeAssertion"}var cX=(G,J)=>{let X=J.type;return(X==="ClassDeclaration"||X==="ClassExpression")&&J.superClass===G},lX=(G,J)=>{let X=J.type;return(X==="MemberExpression"||X==="OptionalMemberExpression")&&J.object===G||(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression")&&J.callee===G||X==="TaggedTemplateExpression"&&J.tag===G||X==="TSNonNullExpression"};function Gs(G,J){return ar(J)}function Js(G,J,X){let H=J.type;return H==="UnionTypeAnnotation"||H==="IntersectionTypeAnnotation"||H==="ArrayTypeAnnotation"||Boolean(X&GG.TokenContext.arrowFlowReturnType)}function Xs(G,J){return lX(G,J)||cX(G,J)}function t7(G){return Boolean(G&(GG.TokenContext.expressionStatement|GG.TokenContext.arrowBody))}function Hs(G,J,X){return t7(X)}function Vs(G,J,X){return!G.async&&Boolean(X&GG.TokenContext.expressionStatement)}function n7(G,J){let X=J.type;if(G.type==="BinaryExpression"&&G.operator==="**"&&X==="BinaryExpression"&&J.operator==="**")return J.left===G;if(cX(G,J))return!0;if(lX(G,J)||X==="UnaryExpression"||X==="SpreadElement"||X==="AwaitExpression")return!0;let H=s7(J,X);if(H!=null){let V=s7(G,G.type);if(H===V&&X==="BinaryExpression"&&J.right===G||H>V)return!0}return}function Zs(G,J){let X=J.type;return X==="ArrayTypeAnnotation"||X==="NullableTypeAnnotation"||X==="IntersectionTypeAnnotation"||X==="UnionTypeAnnotation"}function Qs(G,J){return dr(J)&&J.objectType===G}function Ws(G,J){if((J.type==="AssignmentExpression"||J.type==="AssignmentPattern")&&J.left===G)return!0;if(J.type==="BinaryExpression"&&(J.operator==="|"||J.operator==="&")&&G===J.left)return!0;return n7(G,J)}function Ys(G,J){let X=J.type;return X==="TSArrayType"||X==="TSOptionalType"||X==="TSIntersectionType"||X==="TSRestType"}function zs(G,J){let X=J.type;return X==="TSArrayType"||X==="TSOptionalType"}function Ks(G,J){let X=J.type;return(X==="CallExpression"||X==="OptionalCallExpression"||X==="NewExpression"||X==="TSInstantiationExpression")&&!!J.typeParameters}function Us(G,J,X,H){return G.operator==="in"&&H}function Rs(G,J){let X=J.type;if(X==="SequenceExpression"||X==="ParenthesizedExpression"||X==="MemberExpression"&&J.property===G||X==="OptionalMemberExpression"&&J.property===G||X==="TemplateLiteral")return!1;if(X==="ClassDeclaration")return!0;if(X==="ForOfStatement")return J.right===G;if(X==="ExportDefaultDeclaration")return!0;return!er(J)}function Bs(G,J){let X=J.type;return X==="BinaryExpression"||X==="LogicalExpression"||X==="UnaryExpression"||X==="SpreadElement"||lX(G,J)||X==="AwaitExpression"&&or(G)||X==="ConditionalExpression"&&G===J.test||cX(G,J)||i9(X)}function Ms(G,J,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function o7(G,J){return lX(G,J)||pr(J)&&J.operator==="**"&&J.left===G||cX(G,J)}function $s(G,J,X){return Boolean(X&(GG.TokenContext.expressionStatement|GG.TokenContext.exportDefault))}function e7(G,J){let X=J.type;if(X==="UnaryExpression"||X==="SpreadElement"||X==="BinaryExpression"||X==="LogicalExpression"||X==="ConditionalExpression"&&J.test===G||X==="AwaitExpression"||i9(X))return!0;return o7(G,J)}function Fs(G,J){return rr(J)&&J.callee===G||d7(J)&&J.object===G}function qs(G,J,X){if(t7(X)&&tr(G.left))return!0;else return e7(G,J)}function js(G,J){let X=J.type;if(i9(X))return!0;if(X!=="LogicalExpression")return!1;switch(G.operator){case"||":return J.operator==="??"||J.operator==="&&";case"&&":return J.operator==="??";case"??":return J.operator!=="??"}}function Os(G,J,X,H,V){var Z;let Q=J.type;if((Z=G.extra)!=null&&Z.parenthesized&&Q==="AssignmentExpression"&&J.left===G){let W=J.right.type;if((W==="FunctionExpression"||W==="ClassExpression")&&J.right.id==null)return!0}if(V&&V(G)!==G.name)return!1;if(G.name==="let"){if((d7(J,{object:G,computed:!0})||nr(J,{object:G,computed:!0,optional:!1}))&&X&(GG.TokenContext.expressionStatement|GG.TokenContext.forHead|GG.TokenContext.forInHead))return!0;return Boolean(X&GG.TokenContext.forOfHead)}return G.name==="async"&&sr(J,{left:G,await:!1})}});var EG=f((Z5)=>{Object.defineProperty(Z5,"__esModule",{value:!0});Z5.TokenContext=void 0;Z5.isLastChild=Vd;Z5.needsParens=Hd;Z5.needsWhitespace=p9;Z5.needsWhitespaceAfter=Xd;Z5.needsWhitespaceBefore=Jd;var ls=p7(),is=J5(),as=W1(),{FLIPPED_ALIAS_KEYS:ps,VISITOR_KEYS:rs,isCallExpression:X5,isDecorator:ss,isExpressionStatement:ds,isMemberExpression:ts,isNewExpression:ns,isParenthesizedExpression:os}=as,iM1=Z5.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function H5(G){let J=new Map;function X(H,V){let Z=J.get(H);J.set(H,Z?function(Q,W,Y,z,U){var q;return(q=Z(Q,W,Y,z,U))!=null?q:V(Q,W,Y,z,U)}:V)}for(let H of Object.keys(G)){let V=ps[H];if(V)for(let Z of V)X(Z,G[H]);else X(H,G[H])}return J}var es=H5(is),Gd=H5(ls.nodes);function V5(G){if(X5(G))return!0;return ts(G)&&V5(G.object)}function p9(G,J,X){var H;if(!G)return!1;if(ds(G))G=G.expression;let V=(H=Gd.get(G.type))==null?void 0:H(G,J);if(typeof V==="number")return(V&X)!==0;return!1}function Jd(G,J){return p9(G,J,1)}function Xd(G,J){return p9(G,J,2)}function Hd(G,J,X,H,V){var Z;if(!J)return!1;if(ns(J)&&J.callee===G){if(V5(G))return!0}if(ss(J))return!a9(G)&&!(X5(G)&&a9(G.callee))&&!os(G);return(Z=es.get(G.type))==null?void 0:Z(G,J,X,H,V)}function a9(G){switch(G.type){case"Identifier":return!0;case"MemberExpression":return!G.computed&&G.property.type==="Identifier"&&a9(G.object);default:return!1}}function Vd(G,J){let X=rs[G.type];for(let H=X.length-1;H>=0;H--){let V=G[X[H]];if(V===J)return!0;else if(Array.isArray(V)){let Z=V.length-1;while(Z>=0&&V[Z]===null)Z--;return Z>=0&&V[Z]===J}else if(V)return!1}return!1}});var K5=f((Y5)=>{Object.defineProperty(Y5,"__esModule",{value:!0});Y5.TokenMap=void 0;var Kd=W1(),{traverseFast:Ud,VISITOR_KEYS:Rd}=Kd;class W5{constructor(G,J,X){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=J,this._source=X,Ud(G,(H)=>{let V=this._getTokensIndexesOfNode(H);if(V.length>0)this._nodesToTokenIndexes.set(H,V)}),this._tokensCache=null}has(G){return this._nodesToTokenIndexes.has(G)}getIndexes(G){return this._nodesToTokenIndexes.get(G)}find(G,J){let X=this._nodesToTokenIndexes.get(G);if(X)for(let H=0;H<X.length;H++){let V=X[H],Z=this._tokens[V];if(J(Z,V))return Z}return null}findLastIndex(G,J){let X=this._nodesToTokenIndexes.get(G);if(X)for(let H=X.length-1;H>=0;H--){let V=X[H],Z=this._tokens[V];if(J(Z,V))return V}return-1}findMatching(G,J,X=0){let H=this._nodesToTokenIndexes.get(G);if(H){let V=0,Z=X;if(Z>1){let Q=this._nodesOccurrencesCountCache.get(G);if(Q&&Q.test===J&&Q.count<Z)V=Q.i+1,X-=Q.count+1}for(;V<H.length;V++){let Q=this._tokens[H[V]];if(this.matchesOriginal(Q,J)){if(X===0){if(Z>0)this._nodesOccurrencesCountCache.set(G,{test:J,count:Z,i:V});return Q}X--}}}return null}matchesOriginal(G,J){if(G.end-G.start!==J.length)return!1;if(G.value!=null)return G.value===J;return this._source.startsWith(J,G.start)}startMatches(G,J){let X=this._nodesToTokenIndexes.get(G);if(!X)return!1;let H=this._tokens[X[0]];if(H.start!==G.start)return!1;return this.matchesOriginal(H,J)}endMatches(G,J){let X=this._nodesToTokenIndexes.get(G);if(!X)return!1;let H=this._tokens[X[X.length-1]];if(H.end!==G.end)return!1;return this.matchesOriginal(H,J)}_getTokensIndexesOfNode(G){if(G.start==null||G.end==null)return[];let{first:J,last:X}=this._findTokensOfNode(G,0,this._tokens.length-1),H=J,V=Bd(G);if((G.type==="ExportNamedDeclaration"||G.type==="ExportDefaultDeclaration")&&G.declaration&&G.declaration.type==="ClassDeclaration")V.next();let Z=[];for(let Q of V){if(Q==null)continue;if(Q.start==null||Q.end==null)continue;let W=this._findTokensOfNode(Q,H,X),Y=W.first;for(let z=H;z<Y;z++)Z.push(z);H=W.last+1}for(let Q=H;Q<=X;Q++)Z.push(Q);return Z}_findTokensOfNode(G,J,X){let H=this._tokensCache.get(G);if(H)return H;let V=this._findFirstTokenOfNode(G.start,J,X),Z=this._findLastTokenOfNode(G.end,V,X);return this._tokensCache.set(G,{first:V,last:Z}),{first:V,last:Z}}_findFirstTokenOfNode(G,J,X){while(J<=X){let H=X+J>>1;if(G<this._tokens[H].start)X=H-1;else if(G>this._tokens[H].start)J=H+1;else return H}return J}_findLastTokenOfNode(G,J,X){while(J<=X){let H=X+J>>1;if(G<this._tokens[H].end)X=H-1;else if(G>this._tokens[H].end)J=H+1;else return H}return X}}Y5.TokenMap=W5;function*Bd(G){if(G.type==="TemplateLiteral"){yield G.quasis[0];for(let X=1;X<G.quasis.length;X++)yield G.expressions[X-1],yield G.quasis[X];return}let J=Rd[G.type];for(let X of J){let H=G[X];if(!H)continue;if(Array.isArray(H))yield*H;else yield H}}});var R5=f((U5)=>{Object.defineProperty(U5,"__esModule",{value:!0});U5.TaggedTemplateExpression=Md;U5.TemplateElement=$d;U5.TemplateLiteral=Fd;function Md(G){this.print(G.tag),this.print(G.typeParameters),this.print(G.quasi)}function $d(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function Fd(G){let J=G.quasis,X="`";for(let H=0;H<J.length;H++)if(X+=J[H].value.raw,H+1<J.length){if(this.token(X+"${",!0),this.print(G.expressions[H]),X="}",this.tokenMap){let V=this.tokenMap.findMatching(G,"}",H);if(V)this._catchUpTo(V.loc.start)}}this.token(X+"`",!0)}});var $5=f((M5)=>{Object.defineProperty(M5,"__esModule",{value:!0});M5.LogicalExpression=M5.BinaryExpression=M5.AssignmentExpression=ad;M5.AssignmentPattern=id;M5.AwaitExpression=xd;M5.BindExpression=pd;M5.CallExpression=ud;M5.ConditionalExpression=wd;M5.Decorator=gd;M5.DoExpression=Pd;M5.EmptyStatement=cd;M5.ExpressionStatement=ld;M5.Import=yd;M5.MemberExpression=rd;M5.MetaProperty=sd;M5.ModuleExpression=nd;M5.NewExpression=Ld;M5.OptionalCallExpression=hd;M5.OptionalMemberExpression=_d;M5.ParenthesizedExpression=Nd;M5.PrivateName=dd;M5.SequenceExpression=bd;M5.Super=vd;M5.ThisExpression=kd;M5.UnaryExpression=Id;M5.UpdateExpression=Td;M5.V8IntrinsicIdentifier=td;M5.YieldExpression=md;M5._shouldPrintDecoratorsBeforeExport=Ed;var Ad=W1(),Cd=EG(),{isCallExpression:Dd,isLiteral:B5,isMemberExpression:r9,isNewExpression:Sd,isPattern:fd}=Ad;function Id(G){let{operator:J}=G;if(J==="void"||J==="delete"||J==="typeof"||J==="throw")this.word(J),this.space();else this.token(J);this.print(G.argument)}function Pd(G){if(G.async)this.word("async",!0),this.space();this.word("do"),this.space(),this.print(G.body)}function Nd(G){this.tokenChar(40);let J=this.enterDelimited();this.print(G.expression),J(),this.rightParens(G)}function Td(G){if(G.prefix)this.token(G.operator),this.print(G.argument);else this.print(G.argument,!0),this.token(G.operator)}function wd(G){this.print(G.test),this.space(),this.tokenChar(63),this.space(),this.print(G.consequent),this.space(),this.tokenChar(58),this.space(),this.print(G.alternate)}function Ld(G,J){if(this.word("new"),this.space(),this.print(G.callee),this.format.minified&&G.arguments.length===0&&!G.optional&&!Dd(J,{callee:G})&&!r9(J)&&!Sd(J))return;if(this.print(G.typeArguments),this.print(G.typeParameters),G.optional)this.token("?.");if(G.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(G,")"))return;this.tokenChar(40);let X=this.enterDelimited();this.printList(G.arguments,this.shouldPrintTrailingComma(")")),X(),this.rightParens(G)}function bd(G){this.printList(G.expressions)}function kd(){this.word("this")}function vd(){this.word("super")}function Ed(G){if(typeof this.format.decoratorsBeforeExport==="boolean")return this.format.decoratorsBeforeExport;return typeof G.start==="number"&&G.start===G.declaration.start}function gd(G){this.tokenChar(64),this.print(G.expression),this.newline()}function _d(G){let{computed:J}=G,{optional:X,property:H}=G;if(this.print(G.object),!J&&r9(H))throw new TypeError("Got a MemberExpression for MemberExpression property");if(B5(H)&&typeof H.value==="number")J=!0;if(X)this.token("?.");if(J)this.tokenChar(91),this.print(H),this.tokenChar(93);else{if(!X)this.tokenChar(46);this.print(H)}}function hd(G){if(this.print(G.callee),this.print(G.typeParameters),G.optional)this.token("?.");this.print(G.typeArguments),this.tokenChar(40);let J=this.enterDelimited();this.printList(G.arguments),J(),this.rightParens(G)}function ud(G){this.print(G.callee),this.print(G.typeArguments),this.print(G.typeParameters),this.tokenChar(40);let J=this.enterDelimited();this.printList(G.arguments,this.shouldPrintTrailingComma(")")),J(),this.rightParens(G)}function yd(){this.word("import")}function xd(G){if(this.word("await"),G.argument)this.space(),this.printTerminatorless(G.argument)}function md(G){if(this.word("yield",!0),G.delegate){if(this.tokenChar(42),G.argument)this.space(),this.print(G.argument)}else if(G.argument)this.space(),this.printTerminatorless(G.argument)}function cd(){this.semicolon(!0)}function ld(G){this.tokenContext|=Cd.TokenContext.expressionStatement,this.print(G.expression),this.semicolon()}function id(G){if(this.print(G.left),G.left.type==="Identifier"||fd(G.left)){if(G.left.optional)this.tokenChar(63);this.print(G.left.typeAnnotation)}this.space(),this.tokenChar(61),this.space(),this.print(G.right)}function ad(G){if(this.print(G.left),this.space(),G.operator==="in"||G.operator==="instanceof")this.word(G.operator);else this.token(G.operator),this._endsWithDiv=G.operator==="/";this.space(),this.print(G.right)}function pd(G){this.print(G.object),this.token("::"),this.print(G.callee)}function rd(G){if(this.print(G.object),!G.computed&&r9(G.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let J=G.computed;if(B5(G.property)&&typeof G.property.value==="number")J=!0;if(J){let X=this.enterDelimited();this.tokenChar(91),this.print(G.property),this.tokenChar(93),X()}else this.tokenChar(46),this.print(G.property)}function sd(G){this.print(G.meta),this.tokenChar(46),this.print(G.property)}function dd(G){this.tokenChar(35),this.print(G.id)}function td(G){this.tokenChar(37),this.word(G.name)}function nd(G){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:J}=G;if(J.body.length||J.directives.length)this.newline();this.print(J),this.dedent(),this.rightBrace(G)}});var C5=f((O5)=>{Object.defineProperty(O5,"__esModule",{value:!0});O5.BreakStatement=Et;O5.CatchClause=xt;O5.ContinueStatement=gt;O5.DebuggerStatement=lt;O5.DoWhileStatement=vt;O5.ForOfStatement=O5.ForInStatement=void 0;O5.ForStatement=bt;O5.IfStatement=Lt;O5.LabeledStatement=ut;O5.ReturnStatement=_t;O5.SwitchCase=ct;O5.SwitchStatement=mt;O5.ThrowStatement=ht;O5.TryStatement=yt;O5.VariableDeclaration=it;O5.VariableDeclarator=at;O5.WhileStatement=kt;O5.WithStatement=wt;var It=W1(),s9=EG(),{isFor:F5,isForStatement:Pt,isIfStatement:Nt,isStatement:Tt}=It;function wt(G){this.word("with"),this.space(),this.tokenChar(40),this.print(G.object),this.tokenChar(41),this.printBlock(G)}function Lt(G){this.word("if"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.space();let J=G.alternate&&Nt(q5(G.consequent));if(J)this.tokenChar(123),this.newline(),this.indent();if(this.printAndIndentOnComments(G.consequent),J)this.dedent(),this.newline(),this.tokenChar(125);if(G.alternate){if(this.endsWith(125))this.space();this.word("else"),this.space(),this.printAndIndentOnComments(G.alternate)}}function q5(G){let{body:J}=G;if(Tt(J)===!1)return G;return q5(J)}function bt(G){this.word("for"),this.space(),this.tokenChar(40);{let J=this.enterForStatementInit();this.tokenContext|=s9.TokenContext.forHead,this.print(G.init),J()}if(this.tokenChar(59),G.test)this.space(),this.print(G.test);if(this.token(";",!1,1),G.update)this.space(),this.print(G.update);this.tokenChar(41),this.printBlock(G)}function kt(G){this.word("while"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.printBlock(G)}function j5(G){this.word("for"),this.space();let J=G.type==="ForOfStatement";if(J&&G.await)this.word("await"),this.space();this.noIndentInnerCommentsHere(),this.tokenChar(40);{let X=J?null:this.enterForStatementInit();this.tokenContext|=J?s9.TokenContext.forOfHead:s9.TokenContext.forInHead,this.print(G.left),X==null||X()}this.space(),this.word(J?"of":"in"),this.space(),this.print(G.right),this.tokenChar(41),this.printBlock(G)}var nM1=O5.ForInStatement=j5,oM1=O5.ForOfStatement=j5;function vt(G){this.word("do"),this.space(),this.print(G.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(G.test),this.tokenChar(41),this.semicolon()}function iX(G,J){if(J)G.space(),G.printTerminatorless(J);G.semicolon()}function Et(G){this.word("break"),iX(this,G.label)}function gt(G){this.word("continue"),iX(this,G.label)}function _t(G){this.word("return"),iX(this,G.argument)}function ht(G){this.word("throw"),iX(this,G.argument)}function ut(G){this.print(G.label),this.tokenChar(58),this.space(),this.print(G.body)}function yt(G){if(this.word("try"),this.space(),this.print(G.block),this.space(),G.handlers)this.print(G.handlers[0]);else this.print(G.handler);if(G.finalizer)this.space(),this.word("finally"),this.space(),this.print(G.finalizer)}function xt(G){if(this.word("catch"),this.space(),G.param)this.tokenChar(40),this.print(G.param),this.print(G.param.typeAnnotation),this.tokenChar(41),this.space();this.print(G.body)}function mt(G){this.word("switch"),this.space(),this.tokenChar(40),this.print(G.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(G.cases,!0,void 0,function J(X,H){if(!X&&G.cases[G.cases.length-1]===H)return-1}),this.rightBrace(G)}function ct(G){if(G.test)this.word("case"),this.space(),this.print(G.test),this.tokenChar(58);else this.word("default"),this.tokenChar(58);if(G.consequent.length)this.newline(),this.printSequence(G.consequent,!0)}function lt(){this.word("debugger"),this.semicolon()}function it(G,J){if(G.declare)this.word("declare"),this.space();let{kind:X}=G;if(X==="await using")this.word("await"),this.space(),this.word("using",!0);else this.word(X,X==="using");this.space();let H=!1;if(!F5(J)){for(let V of G.declarations)if(V.init)H=!0}if(this.printList(G.declarations,void 0,void 0,G.declarations.length>1,H?function(V){this.token(",",!1,V),this.newline()}:void 0),F5(J)){if(Pt(J)){if(J.init===G)return}else if(J.left===G)return}this.semicolon()}function at(G){if(this.print(G.id),G.definite)this.tokenChar(33);if(this.print(G.id.typeAnnotation),G.init)this.space(),this.tokenChar(61),this.space(),this.print(G.init)}});var S5=f((D5)=>{Object.defineProperty(D5,"__esModule",{value:!0});D5.ClassAccessorProperty=qn;D5.ClassBody=Mn;D5.ClassExpression=D5.ClassDeclaration=Bn;D5.ClassMethod=On;D5.ClassPrivateMethod=An;D5.ClassPrivateProperty=jn;D5.ClassProperty=Fn;D5.StaticBlock=Dn;D5._classMethodHead=Cn;var Kn=W1(),{isExportDefaultDeclaration:Un,isExportNamedDeclaration:Rn}=Kn;function Bn(G,J){if(!(Un(J)||Rn(J))||!this._shouldPrintDecoratorsBeforeExport(J))this.printJoin(G.decorators);if(G.declare)this.word("declare"),this.space();if(G.abstract)this.word("abstract"),this.space();if(this.word("class"),G.id)this.space(),this.print(G.id);if(this.print(G.typeParameters),G.superClass)this.space(),this.word("extends"),this.space(),this.print(G.superClass),this.print(G.superTypeParameters);if(G.implements)this.space(),this.word("implements"),this.space(),this.printList(G.implements);this.space(),this.print(G.body)}function Mn(G){if(this.tokenChar(123),G.body.length===0)this.tokenChar(125);else{this.newline();let J=$n(this,G);J==null||J(-1);let X=this.enterDelimited();if(this.printJoin(G.body,!0,!0,J,!0),X(),!this.endsWith(10))this.newline();this.rightBrace(G)}}function $n(G,J){if(!G.tokenMap||J.start==null||J.end==null)return null;let X=G.tokenMap.getIndexes(J);if(!X)return null;let H=1,V=0,Z=0,Q=()=>{while(Z<J.body.length&&J.body[Z].start==null)Z++};return Q(),(W)=>{if(Z<=W)Z=W+1,Q();let Y=Z===J.body.length?J.end:J.body[Z].start,z;while(H<X.length&&G.tokenMap.matchesOriginal(z=G._tokens[X[H]],";")&&z.start<Y)G.token(";",void 0,V++),H++}}function Fn(G){if(this.printJoin(G.decorators),!G.static&&!this.format.preserveFormat){var J;let X=(J=G.key.loc)==null||(J=J.end)==null?void 0:J.line;if(X)this.catchUp(X)}if(this.tsPrintClassMemberModifiers(G),G.computed)this.tokenChar(91),this.print(G.key),this.tokenChar(93);else this._variance(G),this.print(G.key);if(G.optional)this.tokenChar(63);if(G.definite)this.tokenChar(33);if(this.print(G.typeAnnotation),G.value)this.space(),this.tokenChar(61),this.space(),this.print(G.value);this.semicolon()}function qn(G){var J;this.printJoin(G.decorators);let X=(J=G.key.loc)==null||(J=J.end)==null?void 0:J.line;if(X)this.catchUp(X);if(this.tsPrintClassMemberModifiers(G),this.word("accessor",!0),this.space(),G.computed)this.tokenChar(91),this.print(G.key),this.tokenChar(93);else this._variance(G),this.print(G.key);if(G.optional)this.tokenChar(63);if(G.definite)this.tokenChar(33);if(this.print(G.typeAnnotation),G.value)this.space(),this.tokenChar(61),this.space(),this.print(G.value);this.semicolon()}function jn(G){if(this.printJoin(G.decorators),G.static)this.word("static"),this.space();if(this.print(G.key),this.print(G.typeAnnotation),G.value)this.space(),this.tokenChar(61),this.space(),this.print(G.value);this.semicolon()}function On(G){this._classMethodHead(G),this.space(),this.print(G.body)}function An(G){this._classMethodHead(G),this.space(),this.print(G.body)}function Cn(G){if(this.printJoin(G.decorators),!this.format.preserveFormat){var J;let X=(J=G.key.loc)==null||(J=J.end)==null?void 0:J.line;if(X)this.catchUp(X)}this.tsPrintClassMemberModifiers(G),this._methodHead(G)}function Dn(G){if(this.word("static"),this.space(),this.tokenChar(123),G.body.length===0)this.tokenChar(125);else this.newline(),this.printSequence(G.body,!0),this.rightBrace(G)}});var I5=f((f5)=>{Object.defineProperty(f5,"__esModule",{value:!0});f5.ArrowFunctionExpression=cn;f5.FunctionDeclaration=f5.FunctionExpression=mn;f5._functionHead=xn;f5._methodHead=un;f5._param=hn;f5._parameters=_n;f5._params=gn;f5._predicate=yn;f5._shouldPrintArrowParamsParens=ln;var kn=W1(),vn=EG(),{isIdentifier:En}=kn;function gn(G,J,X){this.print(G.typeParameters);let H=an.call(this,J,X);if(H)this.sourceIdentifierName(H.name,H.pos);this.tokenChar(40),this._parameters(G.params,")");let V=G.type==="ArrowFunctionExpression";this.print(G.returnType,V),this._noLineTerminator=V}function _n(G,J){let X=this.enterDelimited(),H=this.shouldPrintTrailingComma(J),V=G.length;for(let Z=0;Z<V;Z++)if(this._param(G[Z]),H||Z<V-1)this.token(",",null,Z),this.space();this.token(J),X()}function hn(G){if(this.printJoin(G.decorators),this.print(G),G.optional)this.tokenChar(63);this.print(G.typeAnnotation)}function un(G){let{kind:J,key:X}=G;if(J==="get"||J==="set")this.word(J),this.space();if(G.async)this.word("async",!0),this.space();if(J==="method"||J==="init"){if(G.generator)this.tokenChar(42)}if(G.computed)this.tokenChar(91),this.print(X),this.tokenChar(93);else this.print(X);if(G.optional)this.tokenChar(63);this._params(G,G.computed&&G.key.type!=="StringLiteral"?void 0:G.key,void 0)}function yn(G,J){if(G.predicate){if(!G.returnType)this.tokenChar(58);this.space(),this.print(G.predicate,J)}}function xn(G,J){if(G.async){if(this.word("async"),!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.space()}if(this.word("function"),G.generator){if(!this.format.preserveFormat)this._endsWithInnerRaw=!1;this.tokenChar(42)}if(this.space(),G.id)this.print(G.id);if(this._params(G,G.id,J),G.type!=="TSDeclareFunction")this._predicate(G)}function mn(G,J){this._functionHead(G,J),this.space(),this.print(G.body)}function cn(G,J){if(G.async)this.word("async",!0),this.space();if(this._shouldPrintArrowParamsParens(G))this._params(G,void 0,J);else this.print(G.params[0],!0);this._predicate(G,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=vn.TokenContext.arrowBody,this.print(G.body)}function ln(G){var J,X;if(G.params.length!==1)return!0;if(G.typeParameters||G.returnType||G.predicate)return!0;let H=G.params[0];if(!En(H)||H.typeAnnotation||H.optional||(J=H.leadingComments)!=null&&J.length||(X=H.trailingComments)!=null&&X.length)return!0;if(this.tokenMap){if(G.loc==null)return!0;if(this.tokenMap.findMatching(G,"(")!==null)return!0;let V=this.tokenMap.findMatching(G,"=>");if((V==null?void 0:V.loc)==null)return!0;return V.loc.start.line!==G.loc.start.line}if(this.format.retainLines)return!0;return!1}function an(G,J){let X=G;if(!X&&J){let Y=J.type;if(Y==="VariableDeclarator")X=J.id;else if(Y==="AssignmentExpression"||Y==="AssignmentPattern")X=J.left;else if(Y==="ObjectProperty"||Y==="ClassProperty"){if(!J.computed||J.key.type==="StringLiteral")X=J.key}else if(Y==="ClassPrivateProperty"||Y==="ClassAccessorProperty")X=J.key}if(!X)return;let H;if(X.type==="Identifier"){var V,Z;H={pos:(V=X.loc)==null?void 0:V.start,name:((Z=X.loc)==null?void 0:Z.identifierName)||X.name}}else if(X.type==="PrivateName"){var Q;H={pos:(Q=X.loc)==null?void 0:Q.start,name:"#"+X.id.name}}else if(X.type==="StringLiteral"){var W;H={pos:(W=X.loc)==null?void 0:W.start,name:X.value}}return H}});var d9=f((w5)=>{Object.defineProperty(w5,"__esModule",{value:!0});w5.ExportAllDeclaration=Mo;w5.ExportDefaultDeclaration=Fo;w5.ExportDefaultSpecifier=Ko;w5.ExportNamedDeclaration=$o;w5.ExportNamespaceSpecifier=Ro;w5.ExportSpecifier=Uo;w5.ImportAttribute=jo;w5.ImportDeclaration=qo;w5.ImportDefaultSpecifier=zo;w5.ImportExpression=Ao;w5.ImportNamespaceSpecifier=Oo;w5.ImportSpecifier=Yo;w5._printAttributes=Bo;var Jo=W1(),Xo=EG(),{isClassDeclaration:Ho,isExportDefaultSpecifier:Vo,isExportNamespaceSpecifier:Zo,isImportDefaultSpecifier:Qo,isImportNamespaceSpecifier:Wo,isStatement:N5}=Jo;function Yo(G){if(G.importKind==="type"||G.importKind==="typeof")this.word(G.importKind),this.space();if(this.print(G.imported),G.local&&G.local.name!==G.imported.name)this.space(),this.word("as"),this.space(),this.print(G.local)}function zo(G){this.print(G.local)}function Ko(G){this.print(G.exported)}function Uo(G){if(G.exportKind==="type")this.word("type"),this.space();if(this.print(G.local),G.exported&&G.local.name!==G.exported.name)this.space(),this.word("as"),this.space(),this.print(G.exported)}function Ro(G){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(G.exported)}var P5=!1;function Bo(G,J){let{importAttributesKeyword:X}=this.format,{attributes:H,assertions:V}=G;if(H&&!X&&!P5)P5=!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 Z=X==="assert"||!X&&V;if(this.word(Z?"assert":"with"),this.space(),!Z&&X!=="with"){this.printList(H||V);return}let Q=J?1:0;this.token("{",null,Q),this.space(),this.printList(H||V,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,Q)}function Mo(G){var J,X;if(this.word("export"),this.space(),G.exportKind==="type")this.word("type"),this.space();if(this.tokenChar(42),this.space(),this.word("from"),this.space(),(J=G.attributes)!=null&&J.length||(X=G.assertions)!=null&&X.length)this.print(G.source,!0),this.space(),this._printAttributes(G,!1);else this.print(G.source);this.semicolon()}function T5(G,J){if(Ho(J.declaration)&&G._shouldPrintDecoratorsBeforeExport(J))G.printJoin(J.declaration.decorators)}function $o(G){if(T5(this,G),this.word("export"),this.space(),G.declaration){let H=G.declaration;if(this.print(H),!N5(H))this.semicolon()}else{if(G.exportKind==="type")this.word("type"),this.space();let H=G.specifiers.slice(0),V=!1;for(;;){let Q=H[0];if(Vo(Q)||Zo(Q)){if(V=!0,this.print(H.shift()),H.length)this.tokenChar(44),this.space()}else break}let Z=!1;if(H.length||!H.length&&!V){if(Z=!0,this.tokenChar(123),H.length)this.space(),this.printList(H,this.shouldPrintTrailingComma("}")),this.space();this.tokenChar(125)}if(G.source){var J,X;if(this.space(),this.word("from"),this.space(),(J=G.attributes)!=null&&J.length||(X=G.assertions)!=null&&X.length)this.print(G.source,!0),this.space(),this._printAttributes(G,Z);else this.print(G.source)}this.semicolon()}}function Fo(G){T5(this,G),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=Xo.TokenContext.exportDefault;let J=G.declaration;if(this.print(J),!N5(J))this.semicolon()}function qo(G){var J,X;this.word("import"),this.space();let H=G.importKind==="type"||G.importKind==="typeof";if(H)this.noIndentInnerCommentsHere(),this.word(G.importKind),this.space();else if(G.module)this.noIndentInnerCommentsHere(),this.word("module"),this.space();else if(G.phase)this.noIndentInnerCommentsHere(),this.word(G.phase),this.space();let V=G.specifiers.slice(0),Z=!!V.length;while(Z){let W=V[0];if(Qo(W)||Wo(W)){if(this.print(V.shift()),V.length)this.tokenChar(44),this.space()}else break}let Q=!1;if(V.length)Q=!0,this.tokenChar(123),this.space(),this.printList(V,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125);else if(H&&!Z)Q=!0,this.tokenChar(123),this.tokenChar(125);if(Z||H)this.space(),this.word("from"),this.space();if((J=G.attributes)!=null&&J.length||(X=G.assertions)!=null&&X.length)this.print(G.source,!0),this.space(),this._printAttributes(G,Q);else this.print(G.source);this.semicolon()}function jo(G){this.print(G.key),this.tokenChar(58),this.space(),this.print(G.value)}function Oo(G){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(G.local)}function Ao(G){if(this.word("import"),G.phase)this.tokenChar(46),this.word(G.phase);if(this.tokenChar(40),this.print(G.source),G.options!=null)this.tokenChar(44),this.space(),this.print(G.options);this.tokenChar(41)}});var v5=f((Z$1,k5)=>{var L5={},Eo=L5.hasOwnProperty,b5=(G,J)=>{for(let X in G)if(Eo.call(G,X))J(X,G[X])},go=(G,J)=>{if(!J)return G;return b5(J,(X,H)=>{G[X]=H}),G},_o=(G,J)=>{let X=G.length,H=-1;while(++H<X)J(G[H])},aX=(G)=>{return"\\u"+("0000"+G).slice(-4)},rJ=(G,J)=>{let X=G.toString(16);if(J)return X;return X.toUpperCase()},sJ=L5.toString,ho=Array.isArray,uo=(G)=>{return typeof Buffer==="function"&&Buffer.isBuffer(G)},yo=(G)=>{return sJ.call(G)=="[object Object]"},xo=(G)=>{return typeof G=="string"||sJ.call(G)=="[object String]"},mo=(G)=>{return typeof G=="number"||sJ.call(G)=="[object Number]"},t9=(G)=>{return typeof G=="bigint"},co=(G)=>{return typeof G=="function"},lo=(G)=>{return sJ.call(G)=="[object Map]"},io=(G)=>{return sJ.call(G)=="[object Set]"},ao={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},po=/[\\\b\f\n\r\t]/,ro=/[0-9]/,so=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,to=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,no=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,gG=(G,J)=>{let X=()=>{z=Y,++J.indentLevel,Y=J.indent.repeat(J.indentLevel)},H={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},V=J&&J.json;if(V)H.quotes="double",H.wrap=!0;if(J=go(H,J),J.quotes!="single"&&J.quotes!="double"&&J.quotes!="backtick")J.quotes="single";let Z=J.quotes=="double"?'"':J.quotes=="backtick"?"`":"'",Q=J.compact,W=J.lowercaseHex,Y=J.indent.repeat(J.indentLevel),z="",U=J.__inline1__,q=J.__inline2__,A=Q?"":`
12
- `,C,D=!0,L=J.numbers=="binary",P=J.numbers=="octal",w=J.numbers=="decimal",b=J.numbers=="hexadecimal";if(V&&G&&co(G.toJSON))G=G.toJSON();if(!xo(G)){if(lo(G)){if(G.size==0)return"new Map()";if(!Q)J.__inline1__=!0,J.__inline2__=!1;return"new Map("+gG(Array.from(G),J)+")"}if(io(G)){if(G.size==0)return"new Set()";return"new Set("+gG(Array.from(G),J)+")"}if(uo(G)){if(G.length==0)return"Buffer.from([])";return"Buffer.from("+gG(Array.from(G),J)+")"}if(ho(G)){if(C=[],J.wrap=!0,U)J.__inline1__=!1,J.__inline2__=!0;if(!q)X();if(_o(G,(r)=>{if(D=!1,q)J.__inline2__=!1;C.push((Q||q?"":Y)+gG(r,J))}),D)return"[]";if(q)return"["+C.join(", ")+"]";return"["+A+C.join(","+A)+A+(Q?"":z)+"]"}else if(mo(G)||t9(G)){if(V)return JSON.stringify(Number(G));let r;if(w)r=String(G);else if(b){let H1=G.toString(16);if(!W)H1=H1.toUpperCase();r="0x"+H1}else if(L)r="0b"+G.toString(2);else if(P)r="0o"+G.toString(8);if(t9(G))return r+"n";return r}else if(t9(G)){if(V)return JSON.stringify(Number(G));return G+"n"}else if(!yo(G)){if(V)return JSON.stringify(G)||"null";return String(G)}else{if(C=[],J.wrap=!0,X(),b5(G,(r,H1)=>{D=!1,C.push((Q?"":Y)+gG(r,J)+":"+(Q?"":" ")+gG(H1,J))}),D)return"{}";return"{"+A+C.join(","+A)+A+(Q?"":z)+"}"}}let X1=J.escapeEverything?to:no;if(C=G.replace(X1,(r,H1,$1,L1,k1,y)=>{if(H1){if(J.minimal)return H1;let N=H1.charCodeAt(0),c=H1.charCodeAt(1);if(J.es6){let Z1=(N-55296)*1024+c-56320+65536;return"\\u{"+rJ(Z1,W)+"}"}return aX(rJ(N,W))+aX(rJ(c,W))}if($1)return aX(rJ($1.charCodeAt(0),W));if(r=="\x00"&&!V&&!ro.test(y.charAt(k1+1)))return"\\0";if(L1){if(L1==Z||J.escapeEverything)return"\\"+L1;return L1}if(po.test(r))return ao[r];if(J.minimal&&!so.test(r))return r;let x=rJ(r.charCodeAt(0),W);if(V||x.length>2)return aX(x);return"\\x"+("00"+x).slice(-2)}),Z=="`")C=C.replace(/\$\{/g,"\\${");if(J.isScriptContext)C=C.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,V?"\\u003C!--":"\\x3C!--");if(J.wrap)C=Z+C+Z;return C};gG.version="3.0.2";k5.exports=gG});var o9=f((h5)=>{Object.defineProperty(h5,"__esModule",{value:!0});h5.ArgumentPlaceholder=Xe;h5.ArrayPattern=h5.ArrayExpression=We;h5.BigIntLiteral=$e;h5.BooleanLiteral=Ue;h5.Identifier=Je;h5.NullLiteral=Re;h5.NumericLiteral=Be;h5.ObjectPattern=h5.ObjectExpression=Ve;h5.ObjectMethod=Ze;h5.ObjectProperty=Qe;h5.PipelineBareFunction=je;h5.PipelinePrimaryTopicReference=Oe;h5.PipelineTopicExpression=qe;h5.RecordExpression=Ye;h5.RegExpLiteral=Ke;h5.SpreadElement=h5.RestElement=He;h5.StringLiteral=Me;h5.TopicReference=Fe;h5.TupleExpression=ze;h5._getRawIdentifier=Ge;var oo=W1(),_5=v5(),{isAssignmentPattern:eo,isIdentifier:n9}=oo,E5=null,pX="";function Ge(G){if(G===E5)return pX;E5=G;let{name:J}=G,X=this.tokenMap.find(G,(H)=>H.value===J);if(X)return pX=this._originalCode.slice(X.start,X.end),pX;return pX=G.name}function Je(G){var J;this.sourceIdentifierName(((J=G.loc)==null?void 0:J.identifierName)||G.name),this.word(this.tokenMap?this._getRawIdentifier(G):G.name)}function Xe(){this.tokenChar(63)}function He(G){this.token("..."),this.print(G.argument)}function Ve(G){let J=G.properties;if(this.tokenChar(123),J.length){let X=this.enterDelimited();this.space(),this.printList(J,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),X()}this.sourceWithOffset("end",G.loc,-1),this.tokenChar(125)}function Ze(G){this.printJoin(G.decorators),this._methodHead(G),this.space(),this.print(G.body)}function Qe(G){if(this.printJoin(G.decorators),G.computed)this.tokenChar(91),this.print(G.key),this.tokenChar(93);else{if(eo(G.value)&&n9(G.key)&&G.key.name===G.value.left.name){this.print(G.value);return}if(this.print(G.key),G.shorthand&&n9(G.key)&&n9(G.value)&&G.key.name===G.value.name)return}this.tokenChar(58),this.space(),this.print(G.value)}function We(G){let J=G.elements,X=J.length;this.tokenChar(91);let H=this.enterDelimited();for(let V=0;V<J.length;V++){let Z=J[V];if(Z){if(V>0)this.space();if(this.print(Z),V<X-1||this.shouldPrintTrailingComma("]"))this.token(",",!1,V)}else this.token(",",!1,V)}H(),this.tokenChar(93)}function Ye(G){let J=G.properties,X,H;if(this.format.recordAndTupleSyntaxType==="bar")X="{|",H="|}";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="#{",H="}";if(this.token(X),J.length)this.space(),this.printList(J,this.shouldPrintTrailingComma(H),!0,!0),this.space();this.token(H)}function ze(G){let J=G.elements,X=J.length,H,V;if(this.format.recordAndTupleSyntaxType==="bar")H="[|",V="|]";else if(this.format.recordAndTupleSyntaxType==="hash")H="#[",V="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(H);for(let Z=0;Z<J.length;Z++){let Q=J[Z];if(Q){if(Z>0)this.space();if(this.print(Q),Z<X-1||this.shouldPrintTrailingComma(V))this.token(",",!1,Z)}}this.token(V)}function Ke(G){this.word(`/${G.pattern}/${G.flags}`)}function Ue(G){this.word(G.value?"true":"false")}function Re(){this.word("null")}function Be(G){let J=this.getPossibleRaw(G),X=this.format.jsescOption,H=G.value,V=H+"";if(X.numbers)this.number(_5(H,X),H);else if(J==null)this.number(V,H);else if(this.format.minified)this.number(J.length<V.length?J:V,H);else this.number(J,H)}function Me(G){let J=this.getPossibleRaw(G);if(!this.format.minified&&J!==void 0){this.token(J);return}let X=_5(G.value,this.format.jsescOption);this.token(X)}function $e(G){let J=this.getPossibleRaw(G);if(!this.format.minified&&J!==void 0){this.word(J);return}this.word(G.value+"n")}var g5=new Set(["^^","@@","^","%","#"]);function Fe(){let{topicToken:G}=this.format;if(g5.has(G))this.token(G);else{let J=JSON.stringify(G),X=Array.from(g5,(H)=>JSON.stringify(H));throw new Error(`The "topicToken" generator option must be one of ${X.join(", ")} (${J} received instead).`)}}function qe(G){this.print(G.expression)}function je(G){this.print(G.callee)}function Oe(){this.tokenChar(35)}});var y5=f((tX)=>{Object.defineProperty(tX,"__esModule",{value:!0});tX.AnyTypeAnnotation=ie;tX.ArrayTypeAnnotation=ae;tX.BooleanLiteralTypeAnnotation=re;tX.BooleanTypeAnnotation=pe;tX.DeclareClass=de;tX.DeclareExportAllDeclaration=Q11;tX.DeclareExportDeclaration=Z11;tX.DeclareFunction=te;tX.DeclareInterface=ee;tX.DeclareModule=G11;tX.DeclareModuleExports=J11;tX.DeclareOpaqueType=H11;tX.DeclareTypeAlias=X11;tX.DeclareVariable=V11;tX.DeclaredPredicate=oe;tX.EmptyTypeAnnotation=T11;tX.EnumBooleanBody=Y11;tX.EnumBooleanMember=B11;tX.EnumDeclaration=W11;tX.EnumDefaultedMember=R11;tX.EnumNumberBody=z11;tX.EnumNumberMember=M11;tX.EnumStringBody=K11;tX.EnumStringMember=$11;tX.EnumSymbolBody=U11;tX.ExistsTypeAnnotation=q11;tX.FunctionTypeAnnotation=j11;tX.FunctionTypeParam=O11;tX.IndexedAccessType=e11;tX.InferredPredicate=ne;tX.InterfaceDeclaration=S11;tX.GenericTypeAnnotation=tX.ClassImplements=tX.InterfaceExtends=A11;tX.InterfaceTypeAnnotation=I11;tX.IntersectionTypeAnnotation=P11;tX.MixedTypeAnnotation=N11;tX.NullLiteralTypeAnnotation=se;tX.NullableTypeAnnotation=w11;Object.defineProperty(tX,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return u5.NumericLiteral}});tX.NumberTypeAnnotation=L11;tX.ObjectTypeAnnotation=x11;tX.ObjectTypeCallProperty=c11;tX.ObjectTypeIndexer=l11;tX.ObjectTypeInternalSlot=m11;tX.ObjectTypeProperty=i11;tX.ObjectTypeSpreadProperty=a11;tX.OpaqueType=y11;tX.OptionalIndexedAccessType=GG1;tX.QualifiedTypeIdentifier=p11;Object.defineProperty(tX,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return u5.StringLiteral}});tX.StringTypeAnnotation=b11;tX.SymbolTypeAnnotation=r11;tX.ThisTypeAnnotation=k11;tX.TupleTypeAnnotation=v11;tX.TypeAlias=g11;tX.TypeAnnotation=_11;tX.TypeCastExpression=t11;tX.TypeParameter=u11;tX.TypeParameterDeclaration=tX.TypeParameterInstantiation=h11;tX.TypeofTypeAnnotation=E11;tX.UnionTypeAnnotation=d11;tX.Variance=n11;tX.VoidTypeAnnotation=o11;tX._interfaceish=C11;tX._variance=D11;var xe=W1(),me=d9(),ce=EG(),u5=o9(),{isDeclareExportDeclaration:rX,isStatement:le}=xe;function ie(){this.word("any")}function ae(G){this.print(G.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function pe(){this.word("boolean")}function re(G){this.word(G.value?"true":"false")}function se(){this.word("null")}function de(G,J){if(!rX(J))this.word("declare"),this.space();this.word("class"),this.space(),this._interfaceish(G)}function te(G,J){if(!rX(J))this.word("declare"),this.space();if(this.word("function"),this.space(),this.print(G.id),this.print(G.id.typeAnnotation.typeAnnotation),G.predicate)this.space(),this.print(G.predicate);this.semicolon()}function ne(){this.tokenChar(37),this.word("checks")}function oe(G){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(G.value),this.tokenChar(41)}function ee(G){this.word("declare"),this.space(),this.InterfaceDeclaration(G)}function G11(G){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(G.id),this.space(),this.print(G.body)}function J11(G){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(G.typeAnnotation)}function X11(G){this.word("declare"),this.space(),this.TypeAlias(G)}function H11(G,J){if(!rX(J))this.word("declare"),this.space();this.OpaqueType(G)}function V11(G,J){if(!rX(J))this.word("declare"),this.space();this.word("var"),this.space(),this.print(G.id),this.print(G.id.typeAnnotation),this.semicolon()}function Z11(G){if(this.word("declare"),this.space(),this.word("export"),this.space(),G.default)this.word("default"),this.space();F11.call(this,G)}function Q11(G){this.word("declare"),this.space(),me.ExportAllDeclaration.call(this,G)}function W11(G){let{id:J,body:X}=G;this.word("enum"),this.space(),this.print(J),this.print(X)}function sX(G,J,X){if(X)G.space(),G.word("of"),G.space(),G.word(J);G.space()}function dX(G,J){let{members:X}=J;G.token("{"),G.indent(),G.newline();for(let H of X)G.print(H),G.newline();if(J.hasUnknownMembers)G.token("..."),G.newline();G.dedent(),G.token("}")}function Y11(G){let{explicitType:J}=G;sX(this,"boolean",J),dX(this,G)}function z11(G){let{explicitType:J}=G;sX(this,"number",J),dX(this,G)}function K11(G){let{explicitType:J}=G;sX(this,"string",J),dX(this,G)}function U11(G){sX(this,"symbol",!0),dX(this,G)}function R11(G){let{id:J}=G;this.print(J),this.tokenChar(44)}function e9(G,J){G.print(J.id),G.space(),G.token("="),G.space(),G.print(J.init),G.token(",")}function B11(G){e9(this,G)}function M11(G){e9(this,G)}function $11(G){e9(this,G)}function F11(G){if(G.declaration){let J=G.declaration;if(this.print(J),!le(J))this.semicolon()}else{if(this.tokenChar(123),G.specifiers.length)this.space(),this.printList(G.specifiers),this.space();if(this.tokenChar(125),G.source)this.space(),this.word("from"),this.space(),this.print(G.source);this.semicolon()}}function q11(){this.tokenChar(42)}function j11(G,J){if(this.print(G.typeParameters),this.tokenChar(40),G.this){if(this.word("this"),this.tokenChar(58),this.space(),this.print(G.this.typeAnnotation),G.params.length||G.rest)this.tokenChar(44),this.space()}if(this.printList(G.params),G.rest){if(G.params.length)this.tokenChar(44),this.space();this.token("..."),this.print(G.rest)}this.tokenChar(41);let X=J==null?void 0:J.type;if(X!=null&&(X==="ObjectTypeCallProperty"||X==="ObjectTypeInternalSlot"||X==="DeclareFunction"||X==="ObjectTypeProperty"&&J.method))this.tokenChar(58);else this.space(),this.token("=>");this.space(),this.print(G.returnType)}function O11(G){if(this.print(G.name),G.optional)this.tokenChar(63);if(G.name)this.tokenChar(58),this.space();this.print(G.typeAnnotation)}function A11(G){this.print(G.id),this.print(G.typeParameters,!0)}function C11(G){var J;if(this.print(G.id),this.print(G.typeParameters),(J=G.extends)!=null&&J.length)this.space(),this.word("extends"),this.space(),this.printList(G.extends);if(G.type==="DeclareClass"){var X,H;if((X=G.mixins)!=null&&X.length)this.space(),this.word("mixins"),this.space(),this.printList(G.mixins);if((H=G.implements)!=null&&H.length)this.space(),this.word("implements"),this.space(),this.printList(G.implements)}this.space(),this.print(G.body)}function D11(G){var J;let X=(J=G.variance)==null?void 0:J.kind;if(X!=null){if(X==="plus")this.tokenChar(43);else if(X==="minus")this.tokenChar(45)}}function S11(G){this.word("interface"),this.space(),this._interfaceish(G)}function f11(G){this.space(),this.token("&",!1,G),this.space()}function I11(G){var J;if(this.word("interface"),(J=G.extends)!=null&&J.length)this.space(),this.word("extends"),this.space(),this.printList(G.extends);this.space(),this.print(G.body)}function P11(G){this.printJoin(G.types,void 0,void 0,f11)}function N11(){this.word("mixed")}function T11(){this.word("empty")}function w11(G){this.tokenChar(63),this.print(G.typeAnnotation)}function L11(){this.word("number")}function b11(){this.word("string")}function k11(){this.word("this")}function v11(G){this.tokenChar(91),this.printList(G.types),this.tokenChar(93)}function E11(G){this.word("typeof"),this.space(),this.print(G.argument)}function g11(G){this.word("type"),this.space(),this.print(G.id),this.print(G.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(G.right),this.semicolon()}function _11(G,J){if(this.tokenChar(58),this.space(),J.type==="ArrowFunctionExpression")this.tokenContext|=ce.TokenContext.arrowFlowReturnType;else if(G.optional)this.tokenChar(63);this.print(G.typeAnnotation)}function h11(G){this.tokenChar(60),this.printList(G.params),this.tokenChar(62)}function u11(G){if(this._variance(G),this.word(G.name),G.bound)this.print(G.bound);if(G.default)this.space(),this.tokenChar(61),this.space(),this.print(G.default)}function y11(G){if(this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(G.id),this.print(G.typeParameters),G.supertype)this.tokenChar(58),this.space(),this.print(G.supertype);if(G.impltype)this.space(),this.tokenChar(61),this.space(),this.print(G.impltype);this.semicolon()}function x11(G){if(G.exact)this.token("{|");else this.tokenChar(123);let J=[...G.properties,...G.callProperties||[],...G.indexers||[],...G.internalSlots||[]];if(J.length)this.newline(),this.space(),this.printJoin(J,!0,!0,void 0,void 0,function X(H){if(H&&!J[0])return 1},()=>{if(J.length!==1||G.inexact)this.tokenChar(44),this.space()}),this.space();if(G.inexact){if(this.indent(),this.token("..."),J.length)this.newline();this.dedent()}if(G.exact)this.token("|}");else this.tokenChar(125)}function m11(G){if(G.static)this.word("static"),this.space();if(this.tokenChar(91),this.tokenChar(91),this.print(G.id),this.tokenChar(93),this.tokenChar(93),G.optional)this.tokenChar(63);if(!G.method)this.tokenChar(58),this.space();this.print(G.value)}function c11(G){if(G.static)this.word("static"),this.space();this.print(G.value)}function l11(G){if(G.static)this.word("static"),this.space();if(this._variance(G),this.tokenChar(91),G.id)this.print(G.id),this.tokenChar(58),this.space();this.print(G.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(G.value)}function i11(G){if(G.proto)this.word("proto"),this.space();if(G.static)this.word("static"),this.space();if(G.kind==="get"||G.kind==="set")this.word(G.kind),this.space();if(this._variance(G),this.print(G.key),G.optional)this.tokenChar(63);if(!G.method)this.tokenChar(58),this.space();this.print(G.value)}function a11(G){this.token("..."),this.print(G.argument)}function p11(G){this.print(G.qualification),this.tokenChar(46),this.print(G.id)}function r11(){this.word("symbol")}function s11(G){this.space(),this.token("|",!1,G),this.space()}function d11(G){this.printJoin(G.types,void 0,void 0,s11)}function t11(G){this.tokenChar(40),this.print(G.expression),this.print(G.typeAnnotation),this.tokenChar(41)}function n11(G){if(G.kind==="plus")this.tokenChar(43);else this.tokenChar(45)}function o11(){this.word("void")}function e11(G){this.print(G.objectType,!0),this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}function GG1(G){if(this.print(G.objectType),G.optional)this.token("?.");this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}});var m5=f((x5)=>{Object.defineProperty(x5,"__esModule",{value:!0});x5.BlockStatement=UJ1;x5.Directive=RJ1;x5.DirectiveLiteral=$J1;x5.File=zJ1;x5.InterpreterDirective=FJ1;x5.Placeholder=qJ1;x5.Program=KJ1;function zJ1(G){if(G.program)this.print(G.program.interpreter);this.print(G.program)}function KJ1(G){var J;this.noIndentInnerCommentsHere(),this.printInnerComments();let X=(J=G.directives)==null?void 0:J.length;if(X){var H;let V=G.body.length?2:1;if(this.printSequence(G.directives,void 0,V),!((H=G.directives[X-1].trailingComments)!=null&&H.length))this.newline(V)}this.printSequence(G.body)}function UJ1(G){var J;this.tokenChar(123);let X=this.enterDelimited(),H=(J=G.directives)==null?void 0:J.length;if(H){var V;let Z=G.body.length?2:1;if(this.printSequence(G.directives,!0,Z),!((V=G.directives[H-1].trailingComments)!=null&&V.length))this.newline(Z)}this.printSequence(G.body,!0),X(),this.rightBrace(G)}function RJ1(G){this.print(G.value),this.semicolon()}var BJ1=/(?:^|[^\\])(?:\\\\)*'/,MJ1=/(?:^|[^\\])(?:\\\\)*"/;function $J1(G){let J=this.getPossibleRaw(G);if(!this.format.minified&&J!==void 0){this.token(J);return}let{value:X}=G;if(!MJ1.test(X))this.token(`"${X}"`);else if(!BJ1.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 FJ1(G){this.token(`#!${G.value}`),this.newline(1,!0)}function qJ1(G){if(this.token("%%"),this.print(G.name),this.token("%%"),G.expectedNode==="Statement")this.semicolon()}});var l5=f((c5)=>{Object.defineProperty(c5,"__esModule",{value:!0});c5.JSXAttribute=IJ1;c5.JSXClosingElement=_J1;c5.JSXClosingFragment=xJ1;c5.JSXElement=vJ1;c5.JSXEmptyExpression=hJ1;c5.JSXExpressionContainer=LJ1;c5.JSXFragment=uJ1;c5.JSXIdentifier=PJ1;c5.JSXMemberExpression=TJ1;c5.JSXNamespacedName=NJ1;c5.JSXOpeningElement=gJ1;c5.JSXOpeningFragment=yJ1;c5.JSXSpreadAttribute=wJ1;c5.JSXSpreadChild=bJ1;c5.JSXText=kJ1;function IJ1(G){if(this.print(G.name),G.value)this.tokenChar(61),this.print(G.value)}function PJ1(G){this.word(G.name)}function NJ1(G){this.print(G.namespace),this.tokenChar(58),this.print(G.name)}function TJ1(G){this.print(G.object),this.tokenChar(46),this.print(G.property)}function wJ1(G){this.tokenChar(123),this.token("..."),this.print(G.argument),this.rightBrace(G)}function LJ1(G){this.tokenChar(123),this.print(G.expression),this.rightBrace(G)}function bJ1(G){this.tokenChar(123),this.token("..."),this.print(G.expression),this.rightBrace(G)}function kJ1(G){let J=this.getPossibleRaw(G);if(J!==void 0)this.token(J,!0);else this.token(G.value,!0)}function vJ1(G){let J=G.openingElement;if(this.print(J),J.selfClosing)return;this.indent();for(let X of G.children)this.print(X);this.dedent(),this.print(G.closingElement)}function EJ1(){this.space()}function gJ1(G){this.tokenChar(60),this.print(G.name);{if(G.typeArguments)this.print(G.typeArguments);this.print(G.typeParameters)}if(G.attributes.length>0)this.space(),this.printJoin(G.attributes,void 0,void 0,EJ1);if(G.selfClosing)this.space(),this.tokenChar(47);this.tokenChar(62)}function _J1(G){this.tokenChar(60),this.tokenChar(47),this.print(G.name),this.tokenChar(62)}function hJ1(){this.printInnerComments()}function uJ1(G){this.print(G.openingFragment),this.indent();for(let J of G.children)this.print(J);this.dedent(),this.print(G.closingFragment)}function yJ1(){this.tokenChar(60),this.tokenChar(62)}function xJ1(){this.token("</"),this.tokenChar(62)}});var d5=f((s5)=>{Object.defineProperty(s5,"__esModule",{value:!0});s5.TSAnyKeyword=$X1;s5.TSArrayType=_X1;s5.TSSatisfiesExpression=s5.TSAsExpression=G01;s5.TSBigIntKeyword=FX1;s5.TSBooleanKeyword=AX1;s5.TSCallSignatureDeclaration=zX1;s5.TSInterfaceHeritage=s5.TSClassImplements=tX1;s5.TSConditionalType=lX1;s5.TSConstructSignatureDeclaration=KX1;s5.TSConstructorType=LX1;s5.TSDeclareFunction=QX1;s5.TSDeclareMethod=WX1;s5.TSEnumBody=r5;s5.TSEnumDeclaration=H01;s5.TSEnumMember=V01;s5.TSExportAssignment=U01;s5.TSExternalModuleReference=z01;s5.TSFunctionType=wX1;s5.TSImportEqualsDeclaration=Y01;s5.TSImportType=W01;s5.TSIndexSignature=MX1;s5.TSIndexedAccessType=rX1;s5.TSInferType=iX1;s5.TSInstantiationExpression=X01;s5.TSInterfaceBody=oX1;s5.TSInterfaceDeclaration=nX1;s5.TSIntersectionType=cX1;s5.TSIntrinsicKeyword=NX1;s5.TSLiteralType=dX1;s5.TSMappedType=sX1;s5.TSMethodSignature=BX1;s5.TSModuleBlock=Q01;s5.TSModuleDeclaration=Z01;s5.TSNamedTupleMember=xX1;s5.TSNamespaceExportDeclaration=R01;s5.TSNeverKeyword=PX1;s5.TSNonNullExpression=K01;s5.TSNullKeyword=IX1;s5.TSNumberKeyword=jX1;s5.TSObjectKeyword=OX1;s5.TSOptionalType=uX1;s5.TSParameterProperty=ZX1;s5.TSParenthesizedType=aX1;s5.TSPropertySignature=UX1;s5.TSQualifiedName=YX1;s5.TSRestType=yX1;s5.TSStringKeyword=CX1;s5.TSSymbolKeyword=DX1;s5.TSThisType=TX1;s5.TSTupleType=hX1;s5.TSTypeAliasDeclaration=eX1;s5.TSTypeAnnotation=XX1;s5.TSTypeAssertion=J01;s5.TSTypeLiteral=gX1;s5.TSTypeOperator=pX1;s5.TSTypeParameter=VX1;s5.TSTypeParameterDeclaration=s5.TSTypeParameterInstantiation=HX1;s5.TSTypePredicate=vX1;s5.TSTypeQuery=EX1;s5.TSTypeReference=kX1;s5.TSUndefinedKeyword=fX1;s5.TSUnionType=mX1;s5.TSUnknownKeyword=qX1;s5.TSVoidKeyword=SX1;s5.tsPrintClassMemberModifiers=M01;s5.tsPrintFunctionOrConstructorType=bX1;s5.tsPrintPropertyOrMethodName=RX1;s5.tsPrintSignatureDeclarationBase=B01;function XX1(G,J){if(this.token((J.type==="TSFunctionType"||J.type==="TSConstructorType")&&J.typeAnnotation===G?"=>":":"),this.space(),G.optional)this.tokenChar(63);this.print(G.typeAnnotation)}function HX1(G,J){this.tokenChar(60);let X=J.type==="ArrowFunctionExpression"&&G.params.length===1;if(this.tokenMap&&G.start!=null&&G.end!=null)X&&(X=!!this.tokenMap.find(G,(H)=>this.tokenMap.matchesOriginal(H,","))),X||(X=this.shouldPrintTrailingComma(">"));this.printList(G.params,X),this.tokenChar(62)}function VX1(G){if(G.in)this.word("in"),this.space();if(G.out)this.word("out"),this.space();if(this.word(G.name),G.constraint)this.space(),this.word("extends"),this.space(),this.print(G.constraint);if(G.default)this.space(),this.tokenChar(61),this.space(),this.print(G.default)}function ZX1(G){if(G.accessibility)this.word(G.accessibility),this.space();if(G.readonly)this.word("readonly"),this.space();this._param(G.parameter)}function QX1(G,J){if(G.declare)this.word("declare"),this.space();this._functionHead(G,J),this.semicolon()}function WX1(G){this._classMethodHead(G),this.semicolon()}function YX1(G){this.print(G.left),this.tokenChar(46),this.print(G.right)}function zX1(G){this.tsPrintSignatureDeclarationBase(G),dJ(this,G)}function dJ(G,J){if(!G.tokenMap||!J.start||!J.end){G.semicolon();return}if(G.tokenMap.endMatches(J,","))G.token(",");else if(G.tokenMap.endMatches(J,";"))G.semicolon()}function KX1(G){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(G),dJ(this,G)}function UX1(G){let{readonly:J}=G;if(J)this.word("readonly"),this.space();this.tsPrintPropertyOrMethodName(G),this.print(G.typeAnnotation),dJ(this,G)}function RX1(G){if(G.computed)this.tokenChar(91);if(this.print(G.key),G.computed)this.tokenChar(93);if(G.optional)this.tokenChar(63)}function BX1(G){let{kind:J}=G;if(J==="set"||J==="get")this.word(J),this.space();this.tsPrintPropertyOrMethodName(G),this.tsPrintSignatureDeclarationBase(G),dJ(this,G)}function MX1(G){let{readonly:J,static:X}=G;if(X)this.word("static"),this.space();if(J)this.word("readonly"),this.space();this.tokenChar(91),this._parameters(G.parameters,"]"),this.print(G.typeAnnotation),dJ(this,G)}function $X1(){this.word("any")}function FX1(){this.word("bigint")}function qX1(){this.word("unknown")}function jX1(){this.word("number")}function OX1(){this.word("object")}function AX1(){this.word("boolean")}function CX1(){this.word("string")}function DX1(){this.word("symbol")}function SX1(){this.word("void")}function fX1(){this.word("undefined")}function IX1(){this.word("null")}function PX1(){this.word("never")}function NX1(){this.word("intrinsic")}function TX1(){this.word("this")}function wX1(G){this.tsPrintFunctionOrConstructorType(G)}function LX1(G){if(G.abstract)this.word("abstract"),this.space();this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(G)}function bX1(G){let{typeParameters:J}=G,X=G.parameters;this.print(J),this.tokenChar(40),this._parameters(X,")"),this.space();let H=G.typeAnnotation;this.print(H)}function kX1(G){let J=G.typeParameters;this.print(G.typeName,!!J),this.print(J)}function vX1(G){if(G.asserts)this.word("asserts"),this.space();if(this.print(G.parameterName),G.typeAnnotation)this.space(),this.word("is"),this.space(),this.print(G.typeAnnotation.typeAnnotation)}function EX1(G){this.word("typeof"),this.space(),this.print(G.exprName);let J=G.typeParameters;if(J)this.print(J)}function gX1(G){nX(this,G,()=>this.printJoin(G.members,!0,!0))}function _X1(G){this.print(G.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function hX1(G){this.tokenChar(91),this.printList(G.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function uX1(G){this.print(G.typeAnnotation),this.tokenChar(63)}function yX1(G){this.token("..."),this.print(G.typeAnnotation)}function xX1(G){if(this.print(G.label),G.optional)this.tokenChar(63);this.tokenChar(58),this.space(),this.print(G.elementType)}function mX1(G){p5(this,G,"|")}function cX1(G){p5(this,G,"&")}function p5(G,J,X){var H;let V=0;if((H=G.tokenMap)!=null&&H.startMatches(J,X))V=1,G.token(X);G.printJoin(J.types,void 0,void 0,function(Z){this.space(),this.token(X,null,Z+V),this.space()})}function lX1(G){this.print(G.checkType),this.space(),this.word("extends"),this.space(),this.print(G.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(G.trueType),this.space(),this.tokenChar(58),this.space(),this.print(G.falseType)}function iX1(G){this.word("infer"),this.print(G.typeParameter)}function aX1(G){this.tokenChar(40),this.print(G.typeAnnotation),this.tokenChar(41)}function pX1(G){this.word(G.operator),this.space(),this.print(G.typeAnnotation)}function rX1(G){this.print(G.objectType,!0),this.tokenChar(91),this.print(G.indexType),this.tokenChar(93)}function sX1(G){let{nameType:J,optional:X,readonly:H,typeAnnotation:V}=G;this.tokenChar(123);let Z=this.enterDelimited();if(this.space(),H)i5(this,H),this.word("readonly"),this.space();if(this.tokenChar(91),this.word(G.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(G.typeParameter.constraint),J)this.space(),this.word("as"),this.space(),this.print(J);if(this.tokenChar(93),X)i5(this,X),this.tokenChar(63);if(V)this.tokenChar(58),this.space(),this.print(V);this.space(),Z(),this.tokenChar(125)}function i5(G,J){if(J!==!0)G.token(J)}function dX1(G){this.print(G.literal)}function tX1(G){this.print(G.expression),this.print(G.typeArguments)}function nX1(G){let{declare:J,id:X,typeParameters:H,extends:V,body:Z}=G;if(J)this.word("declare"),this.space();if(this.word("interface"),this.space(),this.print(X),this.print(H),V!=null&&V.length)this.space(),this.word("extends"),this.space(),this.printList(V);this.space(),this.print(Z)}function oX1(G){nX(this,G,()=>this.printJoin(G.body,!0,!0))}function eX1(G){let{declare:J,id:X,typeParameters:H,typeAnnotation:V}=G;if(J)this.word("declare"),this.space();this.word("type"),this.space(),this.print(X),this.print(H),this.space(),this.tokenChar(61),this.space(),this.print(V),this.semicolon()}function G01(G){let{type:J,expression:X,typeAnnotation:H}=G;this.print(X,!0),this.space(),this.word(J==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(H)}function J01(G){let{typeAnnotation:J,expression:X}=G;this.tokenChar(60),this.print(J),this.tokenChar(62),this.space(),this.print(X)}function X01(G){this.print(G.expression),this.print(G.typeParameters)}function H01(G){let{declare:J,const:X,id:H}=G;if(J)this.word("declare"),this.space();if(X)this.word("const"),this.space();this.word("enum"),this.space(),this.print(H),this.space(),r5.call(this,G)}function r5(G){nX(this,G,()=>{var J;return this.printList(G.members,(J=this.shouldPrintTrailingComma("}"))!=null?J:!0,!0,!0)})}function V01(G){let{id:J,initializer:X}=G;if(this.print(J),X)this.space(),this.tokenChar(61),this.space(),this.print(X)}function Z01(G){let{declare:J,id:X,kind:H}=G;if(J)this.word("declare"),this.space();{if(!G.global)this.word(H!=null?H:X.type==="Identifier"?"namespace":"module"),this.space();if(this.print(X),!G.body){this.semicolon();return}let V=G.body;while(V.type==="TSModuleDeclaration")this.tokenChar(46),this.print(V.id),V=V.body;this.space(),this.print(V)}}function Q01(G){nX(this,G,()=>this.printSequence(G.body,!0))}function W01(G){let{argument:J,qualifier:X,options:H}=G;if(this.word("import"),this.tokenChar(40),this.print(J),H)this.tokenChar(44),this.print(H);if(this.tokenChar(41),X)this.tokenChar(46),this.print(X);let V=G.typeParameters;if(V)this.print(V)}function Y01(G){let{isExport:J,id:X,moduleReference:H}=G;if(J)this.word("export"),this.space();this.word("import"),this.space(),this.print(X),this.space(),this.tokenChar(61),this.space(),this.print(H),this.semicolon()}function z01(G){this.token("require("),this.print(G.expression),this.tokenChar(41)}function K01(G){this.print(G.expression),this.tokenChar(33)}function U01(G){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(G.expression),this.semicolon()}function R01(G){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(G.id),this.semicolon()}function B01(G){let{typeParameters:J}=G,X=G.parameters;this.print(J),this.tokenChar(40),this._parameters(X,")");let H=G.typeAnnotation;this.print(H)}function M01(G){let J=G.type==="ClassAccessorProperty"||G.type==="ClassProperty";if(a5(this,G,[J&&G.declare&&"declare",G.accessibility]),G.static)this.word("static"),this.space();a5(this,G,[G.override&&"override",G.abstract&&"abstract",J&&G.readonly&&"readonly"])}function nX(G,J,X){G.token("{");let H=G.enterDelimited();X(),H(),G.rightBrace(J)}function a5(G,J,X){var H;let V=new Set;for(let Z of X)if(Z)V.add(Z);(H=G.tokenMap)==null||H.find(J,(Z)=>{if(V.has(Z.value))return G.token(Z.value),G.space(),V.delete(Z.value),V.size===0});for(let Z of V)G.word(Z),G.space()}});var t5=f((B1)=>{Object.defineProperty(B1,"__esModule",{value:!0});var G2=R5();Object.keys(G2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===G2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return G2[G]}})});var J2=$5();Object.keys(J2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===J2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return J2[G]}})});var X2=C5();Object.keys(X2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===X2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return X2[G]}})});var H2=S5();Object.keys(H2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===H2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return H2[G]}})});var V2=I5();Object.keys(V2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===V2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return V2[G]}})});var Z2=d9();Object.keys(Z2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===Z2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return Z2[G]}})});var Q2=o9();Object.keys(Q2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===Q2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return Q2[G]}})});var W2=y5();Object.keys(W2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===W2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return W2[G]}})});var Y2=m5();Object.keys(Y2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===Y2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return Y2[G]}})});var z2=l5();Object.keys(z2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===z2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return z2[G]}})});var K2=d5();Object.keys(K2).forEach(function(G){if(G==="default"||G==="__esModule")return;if(G in B1&&B1[G]===K2[G])return;Object.defineProperty(B1,G,{enumerable:!0,get:function(){return K2[G]}})})});var o5=f((n5)=>{Object.defineProperty(n5,"__esModule",{value:!0});n5.addDeprecatedGenerators=w91;function w91(G){{let J={Noop(){},TSExpressionWithTypeArguments(X){this.print(X.expression),this.print(X.typeParameters)},DecimalLiteral(X){let H=this.getPossibleRaw(X);if(!this.format.minified&&H!==void 0){this.word(H);return}this.word(X.value+"m")}};Object.assign(G.prototype,J)}}});var VV=f((XV)=>{Object.defineProperty(XV,"__esModule",{value:!0});XV.default=void 0;var b91=VH(),GV=EG(),k91=W1(),v91=K5(),E91=t5(),g91=o5(),{isExpression:_91,isFunction:h91,isStatement:u91,isClassBody:y91,isTSInterfaceBody:x91,isTSEnumMember:m91}=k91,c91=/e/i,l91=/\.0+$/,JV=/[\n\r\u2028\u2029]/,i91=/[\n\r\u2028\u2029]|\*\//;function e5(G){return G.type==="CommentLine"||JV.test(G.value)}var{needsParens:a91}=GV;class oX{constructor(G,J,X,H){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=G,this._tokens=X,this._originalCode=H,this._indentRepeat=G.indent.style.length,this._inputMap=J==null?void 0:J._inputMap,this._buf=new b91.default(J,G.indent.style[0])}enterForStatementInit(){if(this.inForStatementInit)return()=>{};return this.inForStatementInit=!0,()=>{this.inForStatementInit=!1}}enterDelimited(){let G=this.inForStatementInit,J=this._noLineTerminatorAfterNode;if(G===!1&&J===null)return()=>{};return this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=G,this._noLineTerminatorAfterNode=J}}generate(G){if(this.format.preserveFormat)this.tokenMap=new v91.TokenMap(G,this._tokens,this._originalCode);return this.print(G),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:G}=this;if(G.preserveFormat||G.compact||G.concise)return;this._indent++}dedent(){let{format:G}=this;if(G.preserveFormat||G.compact||G.concise)return;this._indent--}semicolon(G=!1){if(this._maybeAddAuxComment(),G){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let J=this._currentNode;if(J.start!=null&&J.end!=null){if(!this.tokenMap.endMatches(J,";")){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(G){if(this.format.minified)this._buf.removeLastSemicolon();this.sourceWithOffset("end",G.loc,-1),this.tokenChar(125)}rightParens(G){this.sourceWithOffset("end",G.loc,-1),this.tokenChar(41)}space(G=!1){let{format:J}=this;if(J.compact||J.preserveFormat)return;if(G)this._space();else if(this._buf.hasContent()){let X=this.getLastChar();if(X!==32&&X!==10)this._space()}}word(G,J=!1){if(this.tokenContext=0,this._maybePrintInnerComments(G),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(G);if(this._endsWithWord||this._endsWithDiv&&G.charCodeAt(0)===47)this._space();this._append(G,!1),this._endsWithWord=!0,this._noLineTerminator=J}number(G,J){function X(H){if(H.length>2&&H.charCodeAt(0)===48){let V=H.charCodeAt(1);return V===98||V===111||V===120}return!1}this.word(G),this._endsWithInteger=Number.isInteger(J)&&!X(G)&&!c91.test(G)&&!l91.test(G)&&G.charCodeAt(G.length-1)!==46}token(G,J=!1,X=0){if(this.tokenContext=0,this._maybePrintInnerComments(G,X),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(G,X);let H=this.getLastChar(),V=G.charCodeAt(0);if(H===33&&(G==="--"||V===61)||V===43&&H===43||V===45&&H===45||V===46&&this._endsWithInteger)this._space();this._append(G,J),this._noLineTerminator=!1}tokenChar(G){this.tokenContext=0;let J=String.fromCharCode(G);if(this._maybePrintInnerComments(J),this._maybeAddAuxComment(),this.tokenMap)this._catchUpToCurrentToken(J);let X=this.getLastChar();if(G===43&&X===43||G===45&&X===45||G===46&&this._endsWithInteger)this._space();this._appendChar(G),this._noLineTerminator=!1}newline(G=1,J){if(G<=0)return;if(!J){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}if(G>2)G=2;G-=this._buf.getNewlineCount();for(let X=0;X<G;X++)this._newline();return}endsWith(G){return this.getLastChar()===G}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(G,J){if(!G){J();return}this._catchUp("start",G),this._buf.exactSource(G,J)}source(G,J){if(!J)return;this._catchUp(G,J),this._buf.source(G,J)}sourceWithOffset(G,J,X){if(!J||this.format.preserveFormat)return;this._catchUp(G,J),this._buf.sourceWithOffset(G,J,X)}sourceIdentifierName(G,J){if(!this._buf._canMarkIdName)return;let X=this._buf._sourcePosition;X.identifierNamePos=J,X.identifierName=G}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(G,J=0){let X=this.tokenMap.findMatching(this._currentNode,G,J);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(G,J){this._maybeIndent(G.charCodeAt(0)),this._buf.append(G,J),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(G){this._maybeIndent(G),this._buf.appendChar(G),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(G){this._maybeIndent(G),this._buf.queue(G),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(G){if(this._indent&&G!==10&&this.endsWith(10))this._buf.queueIndentation(this._getIndent())}_shouldIndent(G){if(this._indent&&G!==10&&this.endsWith(10))return!0}catchUp(G){if(!this.format.retainLines)return;let J=G-this._buf.getCurrentLine();for(let X=0;X<J;X++)this._newline()}_catchUp(G,J){let{format:X}=this;if(!X.preserveFormat){if(X.retainLines&&J!=null&&J[G])this.catchUp(J[G].line);return}let H=J==null?void 0:J[G];if(H!=null)this._catchUpTo(H)}_catchUpTo({line:G,column:J,index:X}){let H=G-this._buf.getCurrentLine();if(H>0&&this._noLineTerminator)return;for(let Z=0;Z<H;Z++)this._newline();let V=H>0?J:J-this._buf.getCurrentColumn();if(V>0){let Z=this._originalCode?this._originalCode.slice(X-V,X).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(V);this._append(Z,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(G){this._noLineTerminator=!0,this.print(G)}print(G,J,X){var H,V,Z;if(!G)return;this._endsWithInnerRaw=!1;let Q=G.type,W=this.format,Y=W.concise;if(G._compact)W.concise=!0;let z=this[Q];if(z===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(Q)} with constructor ${JSON.stringify(G.constructor.name)}`);let U=this._currentNode;if(this._currentNode=G,this.tokenMap)this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode;let q=this._insideAux;this._insideAux=G.loc==null,this._maybeAddAuxComment(this._insideAux&&!q);let A=(H=G.extra)==null?void 0:H.parenthesized,C=A&&W.preserveFormat||A&&W.retainFunctionParens&&Q==="FunctionExpression"||a91(G,U,this.tokenContext,this.inForStatementInit,W.preserveFormat?this._boundGetRawIdentifier:void 0);if(!C&&A&&(V=G.leadingComments)!=null&&V.length&&G.leadingComments[0].type==="CommentBlock")switch(U==null?void 0:U.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(U.callee!==G)break;default:C=!0}let D=!1;if(!C&&this._noLineTerminator&&((Z=G.leadingComments)!=null&&Z.some(e5)||this.format.retainLines&&G.loc&&G.loc.start.line>this._buf.getCurrentLine()))C=!0,D=!0;let L,P;if(!C){if(J||(J=U&&this._noLineTerminatorAfterNode===U&&GV.isLastChild(U,G)),J){var w;if((w=G.trailingComments)!=null&&w.some(e5)){if(_91(G))C=!0}else L=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=G}}if(C){if(this.tokenChar(40),D)this.indent();if(this._endsWithInnerRaw=!1,this.inForStatementInit)P=!0,this.inForStatementInit=!1;L=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null}this._lastCommentLine=0,this._printLeadingComments(G,U);let b=Q==="Program"||Q==="File"?null:G.loc;if(this.exactSource(b,z.bind(this,G,U)),C){if(this._printTrailingComments(G,U),D)this.dedent(),this.newline();if(this.tokenChar(41),this._noLineTerminator=J,P)this.inForStatementInit=!0}else if(J&&!this._noLineTerminator)this._noLineTerminator=!0,this._printTrailingComments(G,U);else this._printTrailingComments(G,U,X);if(this._currentNode=U,W.concise=Y,this._insideAux=q,L!==void 0)this._noLineTerminatorAfterNode=L;this._endsWithInnerRaw=!1}_maybeAddAuxComment(G){if(G)this._printAuxBeforeComment();if(!this._insideAux)this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let G=this.format.auxiliaryCommentBefore;if(G)this._printComment({type:"CommentBlock",value:G},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let G=this.format.auxiliaryCommentAfter;if(G)this._printComment({type:"CommentBlock",value:G},0)}getPossibleRaw(G){let J=G.extra;if((J==null?void 0:J.raw)!=null&&J.rawValue!=null&&G.value===J.rawValue)return J.raw}printJoin(G,J,X,H,V,Z,Q,W){if(!(G!=null&&G.length))return;if(X==null&&this.format.retainLines){var Y;let D=(Y=G[0].loc)==null?void 0:Y.start.line;if(D!=null&&D!==this._buf.getCurrentLine())X=!0}if(X)this.indent();let z={addNewlines:Z,nextNodeStartLine:0},U=H==null?void 0:H.bind(this),q=G.length;for(let D=0;D<q;D++){let L=G[D];if(!L)continue;if(J)this._printNewline(D===0,z);if(this.print(L,void 0,W||0),Q==null||Q(L,D),U!=null){if(D<q-1)U(D,!1);else if(V)U(D,!0)}if(J){var A;if(!((A=L.trailingComments)!=null&&A.length))this._lastCommentLine=0;if(D+1===q)this.newline(1);else{var C;let P=G[D+1];z.nextNodeStartLine=((C=P.loc)==null?void 0:C.start.line)||0,this._printNewline(!0,z)}}}if(X)this.dedent()}printAndIndentOnComments(G){let J=G.leadingComments&&G.leadingComments.length>0;if(J)this.indent();if(this.print(G),J)this.dedent()}printBlock(G){let J=G.body;if(J.type!=="EmptyStatement")this.space();this.print(J)}_printTrailingComments(G,J,X){let{innerComments:H,trailingComments:V}=G;if(H!=null&&H.length)this._printComments(2,H,G,J,X);if(V!=null&&V.length)this._printComments(2,V,G,J,X)}_printLeadingComments(G,J){let X=G.leadingComments;if(!(X!=null&&X.length))return;this._printComments(0,X,G,J)}_maybePrintInnerComments(G,J){if(this._endsWithInnerRaw){var X;this.printInnerComments((X=this.tokenMap)==null?void 0:X.findMatching(this._currentNode,G,J))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(G){let J=this._currentNode,X=J.innerComments;if(!(X!=null&&X.length))return;let H=this.endsWith(32),V=this._indentInnerComments,Z=this._printedComments.size;if(V)this.indent();if(this._printComments(1,X,J,void 0,void 0,G),H&&Z!==this._printedComments.size)this.space();if(V)this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(G,J,X,H){this.printJoin(G,!0,J!=null?J:!1,void 0,void 0,H,void 0,X)}printList(G,J,X,H,V,Z){this.printJoin(G,X,H,V!=null?V:p91,J,void 0,Z)}shouldPrintTrailingComma(G){if(!this.tokenMap)return null;let J=this.tokenMap.findLastIndex(this._currentNode,(X)=>this.tokenMap.matchesOriginal(X,G));if(J<=0)return null;return this.tokenMap.matchesOriginal(this._tokens[J-1],",")}_printNewline(G,J){let X=this.format;if(X.retainLines||X.compact)return;if(X.concise){this.space();return}if(!G)return;let H=J.nextNodeStartLine,V=this._lastCommentLine;if(H>0&&V>0){let Z=H-V;if(Z>=0){this.newline(Z||1);return}}if(this._buf.hasContent())this.newline(1)}_shouldPrintComment(G,J){if(G.ignore)return 0;if(this._printedComments.has(G))return 0;if(this._noLineTerminator&&i91.test(G.value))return 2;if(J&&this.tokenMap){let X=this.tokenMap.find(this._currentNode,(H)=>H.value===G.value);if(X&&X.start>J.start)return 2}if(this._printedComments.add(G),!this.format.shouldPrintComment(G.value))return 0;return 1}_printComment(G,J){let X=this._noLineTerminator,H=G.type==="CommentBlock",V=H&&J!==1&&!this._noLineTerminator;if(V&&this._buf.hasContent()&&J!==2)this.newline(1);let Z=this.getLastChar();if(Z!==91&&Z!==123&&Z!==40)this.space();let Q;if(H){if(Q=`/*${G.value}*/`,this.format.indent.adjustMultilineComment){var W;let Y=(W=G.loc)==null?void 0:W.start.column;if(Y){let z=new RegExp("\\n\\s{1,"+Y+"}","g");Q=Q.replace(z,`
13
- `)}if(this.format.concise)Q=Q.replace(/\n(?!$)/g,`
14
- `);else{let z=this.format.retainLines?0:this._buf.getCurrentColumn();if(this._shouldIndent(47)||this.format.retainLines)z+=this._getIndent();Q=Q.replace(/\n(?!$)/g,`
15
- ${" ".repeat(z)}`)}}}else if(!X)Q=`//${G.value}`;else Q=`/*${G.value}*/`;if(this._endsWithDiv)this._space();if(this.tokenMap){let{_printSemicolonBeforeNextToken:Y,_printSemicolonBeforeNextNode:z}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",G.loc),this._append(Q,H),this._printSemicolonBeforeNextNode=z,this._printSemicolonBeforeNextToken=Y}else this.source("start",G.loc),this._append(Q,H);if(!H&&!X)this.newline(1,!0);if(V&&J!==3)this.newline(1)}_printComments(G,J,X,H,V=0,Z){let Q=X.loc,W=J.length,Y=!!Q,z=Y?Q.start.line:0,U=Y?Q.end.line:0,q=0,A=0,C=this._noLineTerminator?function(){}:this.newline.bind(this);for(let D=0;D<W;D++){let L=J[D],P=this._shouldPrintComment(L,Z);if(P===2){Y=!1;break}if(Y&&L.loc&&P===1){let w=L.loc.start.line,b=L.loc.end.line;if(G===0){let X1=0;if(D===0){if(this._buf.hasContent()&&(L.type==="CommentLine"||w!==b))X1=A=1}else X1=w-q;if(q=b,C(X1),this._printComment(L,1),D+1===W)C(Math.max(z-q,A)),q=z}else if(G===1){let X1=w-(D===0?z:q);if(q=b,C(X1),this._printComment(L,1),D+1===W)C(Math.min(1,U-q)),q=U}else{let X1=w-(D===0?U-V:q);q=b,C(X1),this._printComment(L,1)}}else{if(Y=!1,P!==1)continue;if(W===1){let w=L.loc?L.loc.start.line===L.loc.end.line:!JV.test(L.value),b=w&&!u91(X)&&!y91(H)&&!x91(H)&&!m91(X);if(G===0)this._printComment(L,b&&X.type!=="ObjectExpression"||w&&h91(H,{body:X})?1:0);else if(b&&G===2)this._printComment(L,1);else this._printComment(L,0)}else if(G===1&&!(X.type==="ObjectExpression"&&X.properties.length>1)&&X.type!=="ClassBody"&&X.type!=="TSInterfaceBody")this._printComment(L,D===0?2:D===W-1?3:0);else this._printComment(L,0)}}if(G===2&&Y&&q)this._lastCommentLine=q}}Object.assign(oX.prototype,E91);g91.addDeprecatedGenerators(oX);var D$1=XV.default=oX;function p91(G,J){if(this.token(",",!1,G),!J)this.space()}});var U2=f((YV)=>{Object.defineProperty(YV,"__esModule",{value:!0});YV.default=r91;var ZV=GH(),QV=VV();function WV(G,J,X){if(J.experimental_preserveFormat){if(typeof G!=="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!J.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(J.compact&&J.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(J.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(J.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 H={auxiliaryCommentBefore:J.auxiliaryCommentBefore,auxiliaryCommentAfter:J.auxiliaryCommentAfter,shouldPrintComment:J.shouldPrintComment,preserveFormat:J.experimental_preserveFormat,retainLines:J.retainLines,retainFunctionParens:J.retainFunctionParens,comments:J.comments==null||J.comments,compact:J.compact,minified:J.minified,concise:J.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},J.jsescOption),topicToken:J.topicToken,importAttributesKeyword:J.importAttributesKeyword};{var V;H.decoratorsBeforeExport=J.decoratorsBeforeExport,H.jsescOption.json=J.jsonCompatibleStrings,H.recordAndTupleSyntaxType=(V=J.recordAndTupleSyntaxType)!=null?V:"hash"}if(H.minified)H.compact=!0,H.shouldPrintComment=H.shouldPrintComment||(()=>H.comments);else H.shouldPrintComment=H.shouldPrintComment||((Y)=>H.comments||Y.includes("@license")||Y.includes("@preserve"));if(H.compact==="auto"){if(H.compact=typeof G==="string"&&G.length>500000,H.compact)console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${J.filename} as it exceeds the max of 500KB.`)}if(H.compact||H.preserveFormat)H.indent.adjustMultilineComment=!1;let{auxiliaryCommentBefore:Z,auxiliaryCommentAfter:Q,shouldPrintComment:W}=H;if(Z&&!W(Z))H.auxiliaryCommentBefore=void 0;if(Q&&!W(Q))H.auxiliaryCommentAfter=void 0;return H}YV.CodeGenerator=class G{constructor(J,X={},H){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=J,this._format=WV(H,X,J),this._map=X.sourceMaps?new ZV.default(X,H):null}generate(){return new QV.default(this._format,this._map).generate(this._ast)}};function r91(G,J={},X){let H=WV(X,J,G),V=J.sourceMaps?new ZV.default(J,X):null;return new QV.default(H,V,G.tokens,typeof X==="string"?X:null).generate(G)}});var W0=f((JZ)=>{Object.defineProperty(JZ,"__esModule",{value:!0});function d91(G,J){if(G==null)return{};var X={};for(var H in G)if({}.hasOwnProperty.call(G,H)){if(J.includes(H))continue;X[H]=G[H]}return X}class NG{constructor(G,J,X){this.line=void 0,this.column=void 0,this.index=void 0,this.line=G,this.column=J,this.index=X}}class XX{constructor(G,J){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=G,this.end=J}}function m1(G,J){let{line:X,column:H,index:V}=G;return new NG(X,H+J,V+J)}var zV="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",t91={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:zV},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:zV}},KV={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"},J0=(G)=>G.type==="UpdateExpression"?KV.UpdateExpression[`${G.prefix}`]:KV[G.type],n91={AccessorIsGenerator:({kind:G})=>`A ${G}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:G})=>`Missing initializer in ${G} 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:G})=>`\`${G}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:G})=>`'import.${G}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:G,exportName:J})=>`A string literal cannot be used as an exported binding without \`from\`.
16
- - Did you mean \`export { '${G}' as '${J}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:G})=>`'${G==="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:G})=>`Unsyntactic ${G==="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:G})=>`A string literal cannot be used as an imported binding.
17
- - Did you mean \`import { "${G}" 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:G})=>`Expected number in radix ${G}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:G})=>`Escape sequence in keyword ${G}.`,InvalidIdentifier:({identifierName:G})=>`Invalid identifier ${G}.`,InvalidLhs:({ancestor:G})=>`Invalid left-hand side in ${J0(G)}.`,InvalidLhsBinding:({ancestor:G})=>`Binding invalid left-hand side in ${J0(G)}.`,InvalidLhsOptionalChaining:({ancestor:G})=>`Invalid optional chaining in the left-hand side of ${J0(G)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:G})=>`Unexpected character '${G}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:G})=>`Private name #${G} 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:G})=>`Label '${G}' 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:G})=>`This experimental syntax requires enabling the parser plugin: ${G.map((J)=>JSON.stringify(J)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:G})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${G.map((J)=>JSON.stringify(J)).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:G})=>`Duplicate key "${G}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:G})=>`An export name cannot include a lone surrogate, found '\\u${G.toString(16)}'.`,ModuleExportUndefined:({localName:G})=>`Export '${G}' 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:G})=>`Private names are only allowed in property accesses (\`obj.#${G}\`) or in \`in\` expressions (\`#${G} in obj\`).`,PrivateNameRedeclaration:({identifierName:G})=>`Duplicate private name #${G}.`,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:G})=>`Unexpected keyword '${G}'.`,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:G})=>`Unexpected reserved word '${G}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:G,unexpected:J})=>`Unexpected token${J?` '${J}'.`:""}${G?`, expected "${G}"`:""}`,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:G,onlyValidPropertyName:J})=>`The only valid meta property for ${G} is ${G}.${J}.`,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:G})=>`Identifier '${G}' 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."},o91={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:G})=>`Assigning to '${G}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:G})=>`Binding '${G}' 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."},e91=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),G21=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:G})=>`Invalid topic token ${G}. In order to use ${G} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${G}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:G})=>`Hack-style pipe body cannot be an unparenthesized ${J0({type:G})}; 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.'}),J21=["message"];function UV(G,J,X){Object.defineProperty(G,J,{enumerable:!1,configurable:!0,value:X})}function X21({toMessage:G,code:J,reasonCode:X,syntaxPlugin:H}){let V=X==="MissingPlugin"||X==="MissingOneOfPlugins";{let Z={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};if(Z[X])X=Z[X]}return function Z(Q,W){let Y=new SyntaxError;if(Y.code=J,Y.reasonCode=X,Y.loc=Q,Y.pos=Q.index,Y.syntaxPlugin=H,V)Y.missingPlugin=W.missingPlugin;return UV(Y,"clone",function z(U={}){var q;let{line:A,column:C,index:D}=(q=U.loc)!=null?q:Q;return Z(new NG(A,C,D),Object.assign({},W,U.details))}),UV(Y,"details",W),Object.defineProperty(Y,"message",{configurable:!0,get(){let z=`${G(W)} (${Q.line}:${Q.column})`;return this.message=z,z},set(z){Object.defineProperty(this,"message",{value:z,writable:!0})}}),Y}}function PG(G,J){if(Array.isArray(G))return(H)=>PG(H,G[0]);let X={};for(let H of Object.keys(G)){let V=G[H],Z=typeof V==="string"?{message:()=>V}:typeof V==="function"?{message:V}:V,{message:Q}=Z,W=d91(Z,J21),Y=typeof Q==="string"?()=>Q:Q;X[H]=X21(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:Y},J?{syntaxPlugin:J}:{},W))}return X}var j=Object.assign({},PG(t91),PG(n91),PG(o91),PG`pipelineOperator`(G21));function H21(){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 V21(G){let J=H21();if(G==null)return J;if(G.annexB!=null&&G.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let X of Object.keys(J))if(G[X]!=null)J[X]=G[X];if(J.startLine===1){if(G.startIndex==null&&J.startColumn>0)J.startIndex=J.startColumn;else if(G.startColumn==null&&J.startIndex>0)J.startColumn=J.startIndex}else if(G.startColumn==null||G.startIndex==null){if(G.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.")}return J}var{defineProperty:Z21}=Object,RV=(G,J)=>{if(G)Z21(G,J,{enumerable:!1,value:G[J]})};function tJ(G){return RV(G.loc.start,"index"),RV(G.loc.end,"index"),G}var Q21=(G)=>class J extends G{parse(){let X=tJ(super.parse());if(this.optionFlags&128)X.tokens=X.tokens.map(tJ);return X}parseRegExpLiteral({pattern:X,flags:H}){let V=null;try{V=new RegExp(X,H)}catch(Q){}let Z=this.estreeParseLiteral(V);return Z.regex={pattern:X,flags:H},Z}parseBigIntLiteral(X){let H;try{H=BigInt(X)}catch(Z){H=null}let V=this.estreeParseLiteral(H);return V.bigint=String(V.value||X),V}parseDecimalLiteral(X){let V=this.estreeParseLiteral(null);return V.decimal=String(V.value||X),V}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 H=X.value;delete X.value,H.type="Literal",H.raw=H.extra.raw,H.value=H.extra.expressionValue;let V=X;return V.type="ExpressionStatement",V.expression=H,V.directive=H.extra.rawValue,delete H.extra,V}initFunction(X,H){super.initFunction(X,H),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 H;return X.type==="ExpressionStatement"&&X.expression.type==="Literal"&&typeof X.expression.value==="string"&&!((H=X.expression.extra)!=null&&H.parenthesized)}parseBlockBody(X,H,V,Z,Q){super.parseBlockBody(X,H,V,Z,Q);let W=X.directives.map((Y)=>this.directiveToStmt(Y));X.body=W.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 H=super.getPrivateNameSV(X);return X=X,delete X.id,X.name=H,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,H){let V=super.parseLiteral(X,H);return V.raw=V.extra.raw,delete V.extra,V}parseFunctionBody(X,H,V=!1){super.parseFunctionBody(X,H,V),X.expression=X.body.type!=="BlockStatement"}parseMethod(X,H,V,Z,Q,W,Y=!1){let z=this.startNode();z.kind=X.kind,z=super.parseMethod(z,H,V,Z,Q,W,Y),z.type="FunctionExpression",delete z.kind,X.value=z;let{typeParameters:U}=X;if(U)delete X.typeParameters,z.typeParameters=U,this.resetStartLocationFromNode(z,U);if(W==="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 H=super.parseClassProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H}parseClassPrivateProperty(...X){let H=super.parseClassPrivateProperty(...X);if(!this.getPluginOption("estree","classFeatures"))return H;return H.type="PropertyDefinition",H.computed=!1,H}parseObjectMethod(X,H,V,Z,Q){let W=super.parseObjectMethod(X,H,V,Z,Q);if(W){if(W.type="Property",W.kind==="method")W.kind="init";W.shorthand=!1}return W}parseObjectProperty(X,H,V,Z){let Q=super.parseObjectProperty(X,H,V,Z);if(Q)Q.kind="init",Q.type="Property";return Q}isValidLVal(X,H,V){return X==="Property"?"value":super.isValidLVal(X,H,V)}isAssignable(X,H){if(X!=null&&this.isObjectProperty(X))return this.isAssignable(X.value,H);return super.isAssignable(X,H)}toAssignable(X,H=!1){if(X!=null&&this.isObjectProperty(X)){let{key:V,value:Z}=X;if(this.isPrivateName(V))this.classScope.usePrivateName(this.getPrivateNameSV(V),V.loc.start);this.toAssignable(Z,H)}else super.toAssignable(X,H)}toAssignableObjectExpressionProp(X,H,V){if(X.type==="Property"&&(X.kind==="get"||X.kind==="set"))this.raise(j.PatternHasAccessor,X.key);else if(X.type==="Property"&&X.method)this.raise(j.PatternHasMethod,X.key);else super.toAssignableObjectExpressionProp(X,H,V)}finishCallExpression(X,H){let V=super.finishCallExpression(X,H);if(V.callee.type==="Import"){var Z,Q;V.type="ImportExpression",V.source=V.arguments[0],V.options=(Z=V.arguments[1])!=null?Z:null,V.attributes=(Q=V.arguments[1])!=null?Q:null,delete V.arguments,delete V.callee}return V}toReferencedArguments(X){if(X.type==="ImportExpression")return;super.toReferencedArguments(X)}parseExport(X,H){let V=this.state.lastTokStartLoc,Z=super.parseExport(X,H);switch(Z.type){case"ExportAllDeclaration":Z.exported=null;break;case"ExportNamedDeclaration":if(Z.specifiers.length===1&&Z.specifiers[0].type==="ExportNamespaceSpecifier")Z.type="ExportAllDeclaration",Z.exported=Z.specifiers[0].exported,delete Z.specifiers;case"ExportDefaultDeclaration":{var Q;let{declaration:W}=Z;if((W==null?void 0:W.type)==="ClassDeclaration"&&((Q=W.decorators)==null?void 0:Q.length)>0&&W.start===Z.start)this.resetStartLocation(Z,V)}break}return Z}parseSubscript(X,H,V,Z){let Q=super.parseSubscript(X,H,V,Z);if(Z.optionalChainMember){if(Q.type==="OptionalMemberExpression"||Q.type==="OptionalCallExpression")Q.type=Q.type.substring(8);if(Z.stop){let W=this.startNodeAtNode(Q);return W.expression=Q,this.finishNode(W,"ChainExpression")}}else if(Q.type==="MemberExpression"||Q.type==="CallExpression")Q.optional=!1;return Q}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,H,V){return tJ(super.finishNodeAt(X,H,V))}resetStartLocation(X,H){super.resetStartLocation(X,H),tJ(X)}resetEndLocation(X,H=this.state.lastTokEndLoc){super.resetEndLocation(X,H),tJ(X)}};class FJ{constructor(G,J){this.token=void 0,this.preserveSpace=void 0,this.token=G,this.preserveSpace=!!J}}var q1={brace:new FJ("{"),j_oTag:new FJ("<tag"),j_cTag:new FJ("</tag"),j_expr:new FJ("<tag>...</tag>",!0)};q1.template=new FJ("`",!0);var z1=!0,u=!0,R2=!0,nJ=!0,_G=!0,W21=!0;class A2{constructor(G,J={}){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=G,this.keyword=J.keyword,this.beforeExpr=!!J.beforeExpr,this.startsExpr=!!J.startsExpr,this.rightAssociative=!!J.rightAssociative,this.isLoop=!!J.isLoop,this.isAssign=!!J.isAssign,this.prefix=!!J.prefix,this.postfix=!!J.postfix,this.binop=J.binop!=null?J.binop:null,this.updateContext=null}}var C2=new Map;function M1(G,J={}){J.keyword=G;let X=s(G,J);return C2.set(G,X),X}function x1(G,J){return s(G,{beforeExpr:z1,binop:J})}var GX=-1,fG=[],D2=[],S2=[],f2=[],I2=[],P2=[];function s(G,J={}){var X,H,V,Z;return++GX,D2.push(G),S2.push((X=J.binop)!=null?X:-1),f2.push((H=J.beforeExpr)!=null?H:!1),I2.push((V=J.startsExpr)!=null?V:!1),P2.push((Z=J.prefix)!=null?Z:!1),fG.push(new A2(G,J)),GX}function Y1(G,J={}){var X,H,V,Z;return++GX,C2.set(G,GX),D2.push(G),S2.push((X=J.binop)!=null?X:-1),f2.push((H=J.beforeExpr)!=null?H:!1),I2.push((V=J.startsExpr)!=null?V:!1),P2.push((Z=J.prefix)!=null?Z:!1),fG.push(new A2("name",J)),GX}var Y21={bracketL:s("[",{beforeExpr:z1,startsExpr:u}),bracketHashL:s("#[",{beforeExpr:z1,startsExpr:u}),bracketBarL:s("[|",{beforeExpr:z1,startsExpr:u}),bracketR:s("]"),bracketBarR:s("|]"),braceL:s("{",{beforeExpr:z1,startsExpr:u}),braceBarL:s("{|",{beforeExpr:z1,startsExpr:u}),braceHashL:s("#{",{beforeExpr:z1,startsExpr:u}),braceR:s("}"),braceBarR:s("|}"),parenL:s("(",{beforeExpr:z1,startsExpr:u}),parenR:s(")"),comma:s(",",{beforeExpr:z1}),semi:s(";",{beforeExpr:z1}),colon:s(":",{beforeExpr:z1}),doubleColon:s("::",{beforeExpr:z1}),dot:s("."),question:s("?",{beforeExpr:z1}),questionDot:s("?."),arrow:s("=>",{beforeExpr:z1}),template:s("template"),ellipsis:s("...",{beforeExpr:z1}),backQuote:s("`",{startsExpr:u}),dollarBraceL:s("${",{beforeExpr:z1,startsExpr:u}),templateTail:s("...`",{startsExpr:u}),templateNonTail:s("...${",{beforeExpr:z1,startsExpr:u}),at:s("@"),hash:s("#",{startsExpr:u}),interpreterDirective:s("#!..."),eq:s("=",{beforeExpr:z1,isAssign:nJ}),assign:s("_=",{beforeExpr:z1,isAssign:nJ}),slashAssign:s("_=",{beforeExpr:z1,isAssign:nJ}),xorAssign:s("_=",{beforeExpr:z1,isAssign:nJ}),moduloAssign:s("_=",{beforeExpr:z1,isAssign:nJ}),incDec:s("++/--",{prefix:_G,postfix:W21,startsExpr:u}),bang:s("!",{beforeExpr:z1,prefix:_G,startsExpr:u}),tilde:s("~",{beforeExpr:z1,prefix:_G,startsExpr:u}),doubleCaret:s("^^",{startsExpr:u}),doubleAt:s("@@",{startsExpr:u}),pipeline:x1("|>",0),nullishCoalescing:x1("??",1),logicalOR:x1("||",1),logicalAND:x1("&&",2),bitwiseOR:x1("|",3),bitwiseXOR:x1("^",4),bitwiseAND:x1("&",5),equality:x1("==/!=/===/!==",6),lt:x1("</>/<=/>=",7),gt:x1("</>/<=/>=",7),relational:x1("</>/<=/>=",7),bitShift:x1("<</>>/>>>",8),bitShiftL:x1("<</>>/>>>",8),bitShiftR:x1("<</>>/>>>",8),plusMin:s("+/-",{beforeExpr:z1,binop:9,prefix:_G,startsExpr:u}),modulo:s("%",{binop:10,startsExpr:u}),star:s("*",{binop:10}),slash:x1("/",10),exponent:s("**",{beforeExpr:z1,binop:11,rightAssociative:!0}),_in:M1("in",{beforeExpr:z1,binop:7}),_instanceof:M1("instanceof",{beforeExpr:z1,binop:7}),_break:M1("break"),_case:M1("case",{beforeExpr:z1}),_catch:M1("catch"),_continue:M1("continue"),_debugger:M1("debugger"),_default:M1("default",{beforeExpr:z1}),_else:M1("else",{beforeExpr:z1}),_finally:M1("finally"),_function:M1("function",{startsExpr:u}),_if:M1("if"),_return:M1("return",{beforeExpr:z1}),_switch:M1("switch"),_throw:M1("throw",{beforeExpr:z1,prefix:_G,startsExpr:u}),_try:M1("try"),_var:M1("var"),_const:M1("const"),_with:M1("with"),_new:M1("new",{beforeExpr:z1,startsExpr:u}),_this:M1("this",{startsExpr:u}),_super:M1("super",{startsExpr:u}),_class:M1("class",{startsExpr:u}),_extends:M1("extends",{beforeExpr:z1}),_export:M1("export"),_import:M1("import",{startsExpr:u}),_null:M1("null",{startsExpr:u}),_true:M1("true",{startsExpr:u}),_false:M1("false",{startsExpr:u}),_typeof:M1("typeof",{beforeExpr:z1,prefix:_G,startsExpr:u}),_void:M1("void",{beforeExpr:z1,prefix:_G,startsExpr:u}),_delete:M1("delete",{beforeExpr:z1,prefix:_G,startsExpr:u}),_do:M1("do",{isLoop:R2,beforeExpr:z1}),_for:M1("for",{isLoop:R2}),_while:M1("while",{isLoop:R2}),_as:Y1("as",{startsExpr:u}),_assert:Y1("assert",{startsExpr:u}),_async:Y1("async",{startsExpr:u}),_await:Y1("await",{startsExpr:u}),_defer:Y1("defer",{startsExpr:u}),_from:Y1("from",{startsExpr:u}),_get:Y1("get",{startsExpr:u}),_let:Y1("let",{startsExpr:u}),_meta:Y1("meta",{startsExpr:u}),_of:Y1("of",{startsExpr:u}),_sent:Y1("sent",{startsExpr:u}),_set:Y1("set",{startsExpr:u}),_source:Y1("source",{startsExpr:u}),_static:Y1("static",{startsExpr:u}),_using:Y1("using",{startsExpr:u}),_yield:Y1("yield",{startsExpr:u}),_asserts:Y1("asserts",{startsExpr:u}),_checks:Y1("checks",{startsExpr:u}),_exports:Y1("exports",{startsExpr:u}),_global:Y1("global",{startsExpr:u}),_implements:Y1("implements",{startsExpr:u}),_intrinsic:Y1("intrinsic",{startsExpr:u}),_infer:Y1("infer",{startsExpr:u}),_is:Y1("is",{startsExpr:u}),_mixins:Y1("mixins",{startsExpr:u}),_proto:Y1("proto",{startsExpr:u}),_require:Y1("require",{startsExpr:u}),_satisfies:Y1("satisfies",{startsExpr:u}),_keyof:Y1("keyof",{startsExpr:u}),_readonly:Y1("readonly",{startsExpr:u}),_unique:Y1("unique",{startsExpr:u}),_abstract:Y1("abstract",{startsExpr:u}),_declare:Y1("declare",{startsExpr:u}),_enum:Y1("enum",{startsExpr:u}),_module:Y1("module",{startsExpr:u}),_namespace:Y1("namespace",{startsExpr:u}),_interface:Y1("interface",{startsExpr:u}),_type:Y1("type",{startsExpr:u}),_opaque:Y1("opaque",{startsExpr:u}),name:s("name",{startsExpr:u}),placeholder:s("%%",{startsExpr:!0}),string:s("string",{startsExpr:u}),num:s("num",{startsExpr:u}),bigint:s("bigint",{startsExpr:u}),decimal:s("decimal",{startsExpr:u}),regexp:s("regexp",{startsExpr:u}),privateName:s("#name",{startsExpr:u}),eof:s("eof"),jsxName:s("jsxName"),jsxText:s("jsxText",{beforeExpr:!0}),jsxTagStart:s("jsxTagStart",{startsExpr:!0}),jsxTagEnd:s("jsxTagEnd")};function j1(G){return G>=93&&G<=133}function z21(G){return G<=92}function WG(G){return G>=58&&G<=133}function fV(G){return G>=58&&G<=137}function K21(G){return f2[G]}function q2(G){return I2[G]}function U21(G){return G>=29&&G<=33}function BV(G){return G>=129&&G<=131}function R21(G){return G>=90&&G<=92}function N2(G){return G>=58&&G<=92}function B21(G){return G>=39&&G<=59}function M21(G){return G===34}function $21(G){return P2[G]}function F21(G){return G>=121&&G<=123}function q21(G){return G>=124&&G<=130}function uG(G){return D2[G]}function X0(G){return S2[G]}function j21(G){return G===57}function V0(G){return G>=24&&G<=25}function DG(G){return fG[G]}fG[8].updateContext=(G)=>{G.pop()},fG[5].updateContext=fG[7].updateContext=fG[23].updateContext=(G)=>{G.push(q1.brace)},fG[22].updateContext=(G)=>{if(G[G.length-1]===q1.template)G.pop();else G.push(q1.template)},fG[143].updateContext=(G)=>{G.push(q1.j_expr,q1.j_oTag)};var T2="\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",IV="\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",O21=new RegExp("["+T2+"]"),A21=new RegExp("["+T2+IV+"]");T2=IV=null;var PV=[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],C21=[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 j2(G,J){let X=65536;for(let H=0,V=J.length;H<V;H+=2){if(X+=J[H],X>G)return!1;if(X+=J[H+1],X>=G)return!0}return!1}function IG(G){if(G<65)return G===36;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&O21.test(String.fromCharCode(G));return j2(G,PV)}function jJ(G){if(G<48)return G===36;if(G<58)return!0;if(G<65)return!1;if(G<=90)return!0;if(G<97)return G===95;if(G<=122)return!0;if(G<=65535)return G>=170&&A21.test(String.fromCharCode(G));return j2(G,PV)||j2(G,C21)}var w2={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"]},D21=new Set(w2.keyword),S21=new Set(w2.strict),f21=new Set(w2.strictBind);function NV(G,J){return J&&G==="await"||G==="enum"}function TV(G,J){return NV(G,J)||S21.has(G)}function wV(G){return f21.has(G)}function LV(G,J){return TV(G,J)||wV(G)}function I21(G){return D21.has(G)}function P21(G,J,X){return G===64&&J===64&&IG(X)}var N21=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 T21(G){return N21.has(G)}class Z0{constructor(G){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=G}}class Q0{constructor(G,J){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=G,this.inModule=J}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 G=this.currentThisScopeFlags();return(G&64)>0&&(G&2)===0}get inStaticBlock(){for(let G=this.scopeStack.length-1;;G--){let{flags:J}=this.scopeStack[G];if(J&128)return!0;if(J&451)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(G){return new Z0(G)}enter(G){this.scopeStack.push(this.createScope(G))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(G){return!!(G.flags&130||!this.parser.inModule&&G.flags&1)}declareName(G,J,X){let H=this.currentScope();if(J&8||J&16){this.checkRedeclarationInScope(H,G,J,X);let V=H.names.get(G)||0;if(J&16)V=V|4;else{if(!H.firstLexicalName)H.firstLexicalName=G;V=V|2}if(H.names.set(G,V),J&8)this.maybeExportDefined(H,G)}else if(J&4){for(let V=this.scopeStack.length-1;V>=0;--V)if(H=this.scopeStack[V],this.checkRedeclarationInScope(H,G,J,X),H.names.set(G,(H.names.get(G)||0)|1),this.maybeExportDefined(H,G),H.flags&387)break}if(this.parser.inModule&&H.flags&1)this.undefinedExports.delete(G)}maybeExportDefined(G,J){if(this.parser.inModule&&G.flags&1)this.undefinedExports.delete(J)}checkRedeclarationInScope(G,J,X,H){if(this.isRedeclaredInScope(G,J,X))this.parser.raise(j.VarRedeclaration,H,{identifierName:J})}isRedeclaredInScope(G,J,X){if(!(X&1))return!1;if(X&8)return G.names.has(J);let H=G.names.get(J);if(X&16)return(H&2)>0||!this.treatFunctionsAsVarInScope(G)&&(H&1)>0;return(H&2)>0&&!(G.flags&8&&G.firstLexicalName===J)||!this.treatFunctionsAsVarInScope(G)&&(H&4)>0}checkLocalExport(G){let{name:J}=G;if(!this.scopeStack[0].names.has(J))this.undefinedExports.set(J,G.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let G=this.scopeStack.length-1;;G--){let{flags:J}=this.scopeStack[G];if(J&387)return J}}currentThisScopeFlags(){for(let G=this.scopeStack.length-1;;G--){let{flags:J}=this.scopeStack[G];if(J&451&&!(J&4))return J}}}class bV extends Z0{constructor(...G){super(...G);this.declareFunctions=new Set}}class kV extends Q0{createScope(G){return new bV(G)}declareName(G,J,X){let H=this.currentScope();if(J&2048){this.checkRedeclarationInScope(H,G,J,X),this.maybeExportDefined(H,G),H.declareFunctions.add(G);return}super.declareName(G,J,X)}isRedeclaredInScope(G,J,X){if(super.isRedeclaredInScope(G,J,X))return!0;if(X&2048&&!G.declareFunctions.has(J)){let H=G.names.get(J);return(H&4)>0||(H&2)>0}return!1}checkLocalExport(G){if(!this.scopeStack[0].declareFunctions.has(G.name))super.checkLocalExport(G)}}class vV{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(G){return G+this.startIndex}offsetToSourcePos(G){return G-this.startIndex}hasPlugin(G){if(typeof G==="string")return this.plugins.has(G);else{let[J,X]=G;if(!this.hasPlugin(J))return!1;let H=this.plugins.get(J);for(let V of Object.keys(X))if((H==null?void 0:H[V])!==X[V])return!1;return!0}}getPluginOption(G,J){var X;return(X=this.plugins.get(G))==null?void 0:X[J]}}function EV(G,J){if(G.trailingComments===void 0)G.trailingComments=J;else G.trailingComments.unshift(...J)}function w21(G,J){if(G.leadingComments===void 0)G.leadingComments=J;else G.leadingComments.unshift(...J)}function HX(G,J){if(G.innerComments===void 0)G.innerComments=J;else G.innerComments.unshift(...J)}function dG(G,J,X){let H=null,V=J.length;while(H===null&&V>0)H=J[--V];if(H===null||H.start>X.start)HX(G,X.comments);else EV(H,X.comments)}class gV extends vV{addComment(G){if(this.filename)G.loc.filename=this.filename;let{commentsLen:J}=this.state;if(this.comments.length!==J)this.comments.length=J;this.comments.push(G),this.state.commentsLen++}processComment(G){let{commentStack:J}=this.state,X=J.length;if(X===0)return;let H=X-1,V=J[H];if(V.start===G.end)V.leadingNode=G,H--;let{start:Z}=G;for(;H>=0;H--){let Q=J[H],W=Q.end;if(W>Z)Q.containingNode=G,this.finalizeComment(Q),J.splice(H,1);else{if(W===Z)Q.trailingNode=G;break}}}finalizeComment(G){let{comments:J}=G;if(G.leadingNode!==null||G.trailingNode!==null){if(G.leadingNode!==null)EV(G.leadingNode,J);if(G.trailingNode!==null)w21(G.trailingNode,J)}else{let{containingNode:X,start:H}=G;if(this.input.charCodeAt(this.offsetToSourcePos(H)-1)===44)switch(X.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":dG(X,X.properties,G);break;case"CallExpression":case"OptionalCallExpression":dG(X,X.arguments,G);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":dG(X,X.params,G);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":dG(X,X.elements,G);break;case"ExportNamedDeclaration":case"ImportDeclaration":dG(X,X.specifiers,G);break;case"TSEnumDeclaration":dG(X,X.members,G);break;case"TSEnumBody":dG(X,X.members,G);break;default:HX(X,J)}else HX(X,J)}}finalizeRemainingComments(){let{commentStack:G}=this.state;for(let J=G.length-1;J>=0;J--)this.finalizeComment(G[J]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(G){let{commentStack:J}=this.state,{length:X}=J;if(X===0)return;let H=J[X-1];if(H.leadingNode===G)H.leadingNode=null}resetPreviousIdentifierLeadingComments(G){let{commentStack:J}=this.state,{length:X}=J;if(X===0)return;if(J[X-1].trailingNode===G)J[X-1].trailingNode=null;else if(X>=2&&J[X-2].trailingNode===G)J[X-2].trailingNode=null}takeSurroundingComments(G,J,X){let{commentStack:H}=this.state,V=H.length;if(V===0)return;let Z=V-1;for(;Z>=0;Z--){let Q=H[Z],W=Q.end;if(Q.start===X)Q.leadingNode=G;else if(W===J)Q.trailingNode=G;else if(W<J)break}}}var L21=/\r\n|[\r\n\u2028\u2029]/,eX=new RegExp(L21.source,"g");function OJ(G){switch(G){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function MV(G,J,X){for(let H=J;H<X;H++)if(OJ(G.charCodeAt(H)))return!0;return!1}var B2=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,M2=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function b21(G){switch(G){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 L2{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=[q1.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(G){if(G)this.flags|=1;else this.flags&=-2}init({strictMode:G,sourceType:J,startIndex:X,startLine:H,startColumn:V}){this.strict=G===!1?!1:G===!0?!0:J==="module",this.startIndex=X,this.curLine=H,this.lineStart=-V,this.startLoc=this.endLoc=new NG(H,V,X)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(G){if(G)this.flags|=2;else this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(G){if(G)this.flags|=4;else this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(G){if(G)this.flags|=8;else this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(G){if(G)this.flags|=16;else this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(G){if(G)this.flags|=32;else this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(G){if(G)this.flags|=64;else this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(G){if(G)this.flags|=128;else this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(G){if(G)this.flags|=256;else this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(G){if(G)this.flags|=512;else this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(G){if(G)this.flags|=1024;else this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(G){if(G)this.flags|=2048;else this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(G){if(G)this.flags|=4096;else this.flags&=-4097}curPosition(){return new NG(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let G=new L2;return G.flags=this.flags,G.startIndex=this.startIndex,G.curLine=this.curLine,G.lineStart=this.lineStart,G.startLoc=this.startLoc,G.endLoc=this.endLoc,G.errors=this.errors.slice(),G.potentialArrowAt=this.potentialArrowAt,G.noArrowAt=this.noArrowAt.slice(),G.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),G.topicContext=this.topicContext,G.labels=this.labels.slice(),G.commentsLen=this.commentsLen,G.commentStack=this.commentStack.slice(),G.pos=this.pos,G.type=this.type,G.value=this.value,G.start=this.start,G.end=this.end,G.lastTokEndLoc=this.lastTokEndLoc,G.lastTokStartLoc=this.lastTokStartLoc,G.context=this.context.slice(),G.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,G.strictErrors=this.strictErrors,G.tokensLength=this.tokensLength,G}}var k21=function G(J){return J>=48&&J<=57},$V={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},G0={bin:(G)=>G===48||G===49,oct:(G)=>G>=48&&G<=55,dec:(G)=>G>=48&&G<=57,hex:(G)=>G>=48&&G<=57||G>=65&&G<=70||G>=97&&G<=102};function FV(G,J,X,H,V,Z){let Q=X,W=H,Y=V,z="",U=null,q=X,{length:A}=J;for(;;){if(X>=A){Z.unterminated(Q,W,Y),z+=J.slice(q,X);break}let C=J.charCodeAt(X);if(v21(G,C,J,X)){z+=J.slice(q,X);break}if(C===92){z+=J.slice(q,X);let D=E21(J,X,H,V,G==="template",Z);if(D.ch===null&&!U)U={pos:X,lineStart:H,curLine:V};else z+=D.ch;({pos:X,lineStart:H,curLine:V}=D),q=X}else if(C===8232||C===8233)++X,++V,H=X;else if(C===10||C===13)if(G==="template"){if(z+=J.slice(q,X)+`
18
- `,++X,C===13&&J.charCodeAt(X)===10)++X;++V,q=H=X}else Z.unterminated(Q,W,Y);else++X}return{pos:X,str:z,firstInvalidLoc:U,lineStart:H,curLine:V,containsInvalid:!!U}}function v21(G,J,X,H){if(G==="template")return J===96||J===36&&X.charCodeAt(H+1)===123;return J===(G==="double"?34:39)}function E21(G,J,X,H,V,Z){let Q=!V;J++;let W=(z)=>({pos:J,ch:z,lineStart:X,curLine:H}),Y=G.charCodeAt(J++);switch(Y){case 110:return W(`
19
- `);case 114:return W("\r");case 120:{let z;return{code:z,pos:J}=O2(G,J,X,H,2,!1,Q,Z),W(z===null?null:String.fromCharCode(z))}case 117:{let z;return{code:z,pos:J}=hV(G,J,X,H,Q,Z),W(z===null?null:String.fromCodePoint(z))}case 116:return W("\t");case 98:return W("\b");case 118:return W("\v");case 102:return W("\f");case 13:if(G.charCodeAt(J)===10)++J;case 10:X=J,++H;case 8232:case 8233:return W("");case 56:case 57:if(V)return W(null);else Z.strictNumericEscape(J-1,X,H);default:if(Y>=48&&Y<=55){let z=J-1,q=/^[0-7]+/.exec(G.slice(z,J+2))[0],A=parseInt(q,8);if(A>255)q=q.slice(0,-1),A=parseInt(q,8);J+=q.length-1;let C=G.charCodeAt(J);if(q!=="0"||C===56||C===57)if(V)return W(null);else Z.strictNumericEscape(z,X,H);return W(String.fromCharCode(A))}return W(String.fromCharCode(Y))}}function O2(G,J,X,H,V,Z,Q,W){let Y=J,z;if({n:z,pos:J}=_V(G,J,X,H,16,V,Z,!1,W,!Q),z===null)if(Q)W.invalidEscapeSequence(Y,X,H);else J=Y-1;return{code:z,pos:J}}function _V(G,J,X,H,V,Z,Q,W,Y,z){let U=J,q=V===16?$V.hex:$V.decBinOct,A=V===16?G0.hex:V===10?G0.dec:V===8?G0.oct:G0.bin,C=!1,D=0;for(let L=0,P=Z==null?1/0:Z;L<P;++L){let w=G.charCodeAt(J),b;if(w===95&&W!=="bail"){let X1=G.charCodeAt(J-1),r=G.charCodeAt(J+1);if(!W){if(z)return{n:null,pos:J};Y.numericSeparatorInEscapeSequence(J,X,H)}else if(Number.isNaN(r)||!A(r)||q.has(X1)||q.has(r)){if(z)return{n:null,pos:J};Y.unexpectedNumericSeparator(J,X,H)}++J;continue}if(w>=97)b=w-97+10;else if(w>=65)b=w-65+10;else if(k21(w))b=w-48;else b=1/0;if(b>=V)if(b<=9&&z)return{n:null,pos:J};else if(b<=9&&Y.invalidDigit(J,X,H,V))b=0;else if(Q)b=0,C=!0;else break;++J,D=D*V+b}if(J===U||Z!=null&&J-U!==Z||C)return{n:null,pos:J};return{n:D,pos:J}}function hV(G,J,X,H,V,Z){let Q=G.charCodeAt(J),W;if(Q===123){if(++J,{code:W,pos:J}=O2(G,J,X,H,G.indexOf("}",J)-J,!0,V,Z),++J,W!==null&&W>1114111)if(V)Z.invalidCodePoint(J,X,H);else return{code:null,pos:J}}else({code:W,pos:J}=O2(G,J,X,H,4,!1,V,Z));return{code:W,pos:J}}function oJ(G,J,X){return new NG(X,G-J,G)}var g21=new Set([103,109,115,105,121,117,100,118]);class SG{constructor(G){let J=G.startIndex||0;this.type=G.type,this.value=G.value,this.start=J+G.start,this.end=J+G.end,this.loc=new XX(G.startLoc,G.endLoc)}}class uV extends gV{constructor(G,J){super();this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(X,H,V,Z)=>{if(!(this.optionFlags&1024))return!1;return this.raise(j.InvalidDigit,oJ(X,H,V),{radix:Z}),!0},numericSeparatorInEscapeSequence:this.errorBuilder(j.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(j.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(j.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(j.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(X,H,V)=>{this.recordStrictModeErrors(j.StrictNumericEscape,oJ(X,H,V))},unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedString,oJ(X-1,H,V))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(j.StrictNumericEscape),unterminated:(X,H,V)=>{throw this.raise(j.UnterminatedTemplate,oJ(X,H,V))}}),this.state=new L2,this.state.init(G),this.input=J,this.length=J.length,this.comments=[],this.isLookahead=!1}pushToken(G){this.tokens.length=this.state.tokensLength,this.tokens.push(G),++this.state.tokensLength}next(){if(this.checkKeywordEscapes(),this.optionFlags&128)this.pushToken(new SG(this.state));this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(G){if(this.match(G))return this.next(),!0;else return!1}match(G){return this.state.type===G}createLookaheadState(G){return{pos:G.pos,value:null,type:G.type,start:G.start,end:G.end,context:[this.curContext()],inType:G.inType,startLoc:G.startLoc,lastTokEndLoc:G.lastTokEndLoc,curLine:G.curLine,lineStart:G.lineStart,curPosition:G.curPosition}}lookahead(){let G=this.state;this.state=this.createLookaheadState(G),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let J=this.state;return this.state=G,J}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(G){return B2.lastIndex=G,B2.test(this.input)?B2.lastIndex:G}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(G){return M2.lastIndex=G,M2.test(this.input)?M2.lastIndex:G}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(G){let J=this.input.charCodeAt(G);if((J&64512)===55296&&++G<this.input.length){let X=this.input.charCodeAt(G);if((X&64512)===56320)J=65536+((J&1023)<<10)+(X&1023)}return J}setStrict(G){if(this.state.strict=G,G)this.state.strictErrors.forEach(([J,X])=>this.raise(J,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(G){let J;if(!this.isLookahead)J=this.state.curPosition();let X=this.state.pos,H=this.input.indexOf(G,X+2);if(H===-1)throw this.raise(j.UnterminatedComment,this.state.curPosition());this.state.pos=H+G.length,eX.lastIndex=X+2;while(eX.test(this.input)&&eX.lastIndex<=H)++this.state.curLine,this.state.lineStart=eX.lastIndex;if(this.isLookahead)return;let V={type:"CommentBlock",value:this.input.slice(X+2,H),start:this.sourceToOffsetPos(X),end:this.sourceToOffsetPos(H+G.length),loc:new XX(J,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(V);return V}skipLineComment(G){let J=this.state.pos,X;if(!this.isLookahead)X=this.state.curPosition();let H=this.input.charCodeAt(this.state.pos+=G);if(this.state.pos<this.length)while(!OJ(H)&&++this.state.pos<this.length)H=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let V=this.state.pos,Q={type:"CommentLine",value:this.input.slice(J+G,V),start:this.sourceToOffsetPos(J),end:this.sourceToOffsetPos(V),loc:new XX(X,this.state.curPosition())};if(this.optionFlags&128)this.pushToken(Q);return Q}skipSpace(){let G=this.state.pos,J=this.optionFlags&2048?[]:null;G: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 H=this.skipBlockComment("*/");if(H!==void 0)this.addComment(H),J==null||J.push(H);break}case 47:{let H=this.skipLineComment(2);if(H!==void 0)this.addComment(H),J==null||J.push(H);break}default:break G}break;default:if(b21(X))++this.state.pos;else if(X===45&&!this.inModule&&this.optionFlags&4096){let H=this.state.pos;if(this.input.charCodeAt(H+1)===45&&this.input.charCodeAt(H+2)===62&&(G===0||this.state.lineStart>G)){let V=this.skipLineComment(3);if(V!==void 0)this.addComment(V),J==null||J.push(V)}else break G}else if(X===60&&!this.inModule&&this.optionFlags&4096){let H=this.state.pos;if(this.input.charCodeAt(H+1)===33&&this.input.charCodeAt(H+2)===45&&this.input.charCodeAt(H+3)===45){let V=this.skipLineComment(4);if(V!==void 0)this.addComment(V),J==null||J.push(V)}else break G}else break G}}if((J==null?void 0:J.length)>0){let X=this.state.pos,H={start:this.sourceToOffsetPos(G),end:this.sourceToOffsetPos(X),comments:J,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(H)}}finishToken(G,J){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let X=this.state.type;if(this.state.type=G,this.state.value=J,!this.isLookahead)this.updateContext(X)}replaceToken(G){this.state.type=G,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let G=this.state.pos+1,J=this.codePointAtPos(G);if(J>=48&&J<=57)throw this.raise(j.UnexpectedDigitAfterHash,this.state.curPosition());if(J===123||J===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(J===123?j.RecordExpressionHashIncorrectStartSyntaxType:j.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());if(this.state.pos+=2,J===123)this.finishToken(7);else this.finishToken(1)}else if(IG(J))++this.state.pos,this.finishToken(139,this.readWord1(J));else if(J===92)++this.state.pos,this.finishToken(139,this.readWord1());else this.finishOp(27,1)}readToken_dot(){let G=this.input.charCodeAt(this.state.pos+1);if(G>=48&&G<=57){this.readNumber(!0);return}if(G===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 G=this.input.charCodeAt(this.state.pos+1);if(G!==33)return!1;let J=this.state.pos;this.state.pos+=1;while(!OJ(G)&&++this.state.pos<this.length)G=this.input.charCodeAt(this.state.pos);let X=this.input.slice(J+2,this.state.pos);return this.finishToken(28,X),!0}readToken_mult_modulo(G){let J=G===42?55:54,X=1,H=this.input.charCodeAt(this.state.pos+1);if(G===42&&H===42)X++,H=this.input.charCodeAt(this.state.pos+2),J=57;if(H===61&&!this.state.inType)X++,J=G===37?33:30;this.finishOp(J,X)}readToken_pipe_amp(G){let J=this.input.charCodeAt(this.state.pos+1);if(J===G){if(this.input.charCodeAt(this.state.pos+2)===61)this.finishOp(30,3);else this.finishOp(G===124?41:42,2);return}if(G===124){if(J===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&J===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&J===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(j.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(J===61){this.finishOp(30,2);return}this.finishOp(G===124?43:45,1)}readToken_caret(){let G=this.input.charCodeAt(this.state.pos+1);if(G===61&&!this.state.inType)this.finishOp(32,2);else if(G===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(G){let J=this.input.charCodeAt(this.state.pos+1);if(J===G){this.finishOp(34,2);return}if(J===61)this.finishOp(30,2);else this.finishOp(53,1)}readToken_lt(){let{pos:G}=this.state,J=this.input.charCodeAt(G+1);if(J===60){if(this.input.charCodeAt(G+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(J===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:G}=this.state,J=this.input.charCodeAt(G+1);if(J===62){let X=this.input.charCodeAt(G+2)===62?3:2;if(this.input.charCodeAt(G+X)===61){this.finishOp(30,X+1);return}this.finishOp(52,X);return}if(J===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(G){let J=this.input.charCodeAt(this.state.pos+1);if(J===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(G===61&&J===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(G===61?29:35,1)}readToken_question(){let G=this.input.charCodeAt(this.state.pos+1),J=this.input.charCodeAt(this.state.pos+2);if(G===63)if(J===61)this.finishOp(30,3);else this.finishOp(40,2);else if(G===46&&!(J>=48&&J<=57))this.state.pos+=2,this.finishToken(18);else++this.state.pos,this.finishToken(17)}getTokenFromCode(G){switch(G){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(j.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(j.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 J=this.input.charCodeAt(this.state.pos+1);if(J===120||J===88){this.readRadixNumber(16);return}if(J===111||J===79){this.readRadixNumber(8);return}if(J===98||J===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(G);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(G);return;case 124:case 38:this.readToken_pipe_amp(G);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(G);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(G);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(IG(G)){this.readWord(G);return}}throw this.raise(j.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(G)})}finishOp(G,J){let X=this.input.slice(this.state.pos,this.state.pos+J);this.state.pos+=J,this.finishToken(G,X)}readRegexp(){let G=this.state.startLoc,J=this.state.start+1,X,H,{pos:V}=this.state;for(;;++V){if(V>=this.length)throw this.raise(j.UnterminatedRegExp,m1(G,1));let Y=this.input.charCodeAt(V);if(OJ(Y))throw this.raise(j.UnterminatedRegExp,m1(G,1));if(X)X=!1;else{if(Y===91)H=!0;else if(Y===93&&H)H=!1;else if(Y===47&&!H)break;X=Y===92}}let Z=this.input.slice(J,V);++V;let Q="",W=()=>m1(G,V+2-J);while(V<this.length){let Y=this.codePointAtPos(V),z=String.fromCharCode(Y);if(g21.has(Y)){if(Y===118){if(Q.includes("u"))this.raise(j.IncompatibleRegExpUVFlags,W())}else if(Y===117){if(Q.includes("v"))this.raise(j.IncompatibleRegExpUVFlags,W())}if(Q.includes(z))this.raise(j.DuplicateRegExpFlags,W())}else if(jJ(Y)||Y===92)this.raise(j.MalformedRegExpFlags,W());else break;++V,Q+=z}this.state.pos=V,this.finishToken(138,{pattern:Z,flags:Q})}readInt(G,J,X=!1,H=!0){let{n:V,pos:Z}=_V(this.input,this.state.pos,this.state.lineStart,this.state.curLine,G,J,X,H,this.errorHandlers_readInt,!1);return this.state.pos=Z,V}readRadixNumber(G){let J=this.state.pos,X=this.state.curPosition(),H=!1;this.state.pos+=2;let V=this.readInt(G);if(V==null)this.raise(j.InvalidDigit,m1(X,2),{radix:G});let Z=this.input.charCodeAt(this.state.pos);if(Z===110)++this.state.pos,H=!0;else if(Z===109)throw this.raise(j.InvalidDecimal,X);if(IG(this.codePointAtPos(this.state.pos)))throw this.raise(j.NumberIdentifier,this.state.curPosition());if(H){let Q=this.input.slice(J,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,Q);return}this.finishToken(135,V)}readNumber(G){let J=this.state.pos,X=this.state.curPosition(),H=!1,V=!1,Z=!1,Q=!1;if(!G&&this.readInt(10)===null)this.raise(j.InvalidNumber,this.state.curPosition());let W=this.state.pos-J>=2&&this.input.charCodeAt(J)===48;if(W){let A=this.input.slice(J,this.state.pos);if(this.recordStrictModeErrors(j.StrictOctalLiteral,X),!this.state.strict){let C=A.indexOf("_");if(C>0)this.raise(j.ZeroDigitNumericSeparator,m1(X,C))}Q=W&&!/[89]/.test(A)}let Y=this.input.charCodeAt(this.state.pos);if(Y===46&&!Q)++this.state.pos,this.readInt(10),H=!0,Y=this.input.charCodeAt(this.state.pos);if((Y===69||Y===101)&&!Q){if(Y=this.input.charCodeAt(++this.state.pos),Y===43||Y===45)++this.state.pos;if(this.readInt(10)===null)this.raise(j.InvalidOrMissingExponent,X);H=!0,Z=!0,Y=this.input.charCodeAt(this.state.pos)}if(Y===110){if(H||W)this.raise(j.InvalidBigIntLiteral,X);++this.state.pos,V=!0}if(Y===109){if(this.expectPlugin("decimal",this.state.curPosition()),Z||W)this.raise(j.InvalidDecimal,X);++this.state.pos;var z=!0}if(IG(this.codePointAtPos(this.state.pos)))throw this.raise(j.NumberIdentifier,this.state.curPosition());let U=this.input.slice(J,this.state.pos).replace(/[_mn]/g,"");if(V){this.finishToken(136,U);return}if(z){this.finishToken(137,U);return}let q=Q?parseInt(U,8):parseFloat(U);this.finishToken(135,q)}readCodePoint(G){let{code:J,pos:X}=hV(this.input,this.state.pos,this.state.lineStart,this.state.curLine,G,this.errorHandlers_readCodePoint);return this.state.pos=X,J}readString(G){let{str:J,pos:X,curLine:H,lineStart:V}=FV(G===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=V,this.state.curLine=H,this.finishToken(134,J)}readTemplateContinuation(){if(!this.match(8))this.unexpected(null,8);this.state.pos--,this.readTemplateToken()}readTemplateToken(){let G=this.input[this.state.pos],{str:J,firstInvalidLoc:X,pos:H,curLine:V,lineStart:Z}=FV("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);if(this.state.pos=H+1,this.state.lineStart=Z,this.state.curLine=V,X)this.state.firstInvalidTemplateEscapePos=new NG(X.curLine,X.pos-X.lineStart,this.sourceToOffsetPos(X.pos));if(this.input.codePointAt(H)===96)this.finishToken(24,X?null:G+J+"`");else this.state.pos++,this.finishToken(25,X?null:G+J+"${")}recordStrictModeErrors(G,J){let X=J.index;if(this.state.strict&&!this.state.strictErrors.has(X))this.raise(G,J);else this.state.strictErrors.set(X,[G,J])}readWord1(G){this.state.containsEsc=!1;let J="",X=this.state.pos,H=this.state.pos;if(G!==void 0)this.state.pos+=G<=65535?1:2;while(this.state.pos<this.length){let V=this.codePointAtPos(this.state.pos);if(jJ(V))this.state.pos+=V<=65535?1:2;else if(V===92){this.state.containsEsc=!0,J+=this.input.slice(H,this.state.pos);let Z=this.state.curPosition(),Q=this.state.pos===X?IG:jJ;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(j.MissingUnicodeEscape,this.state.curPosition()),H=this.state.pos-1;continue}++this.state.pos;let W=this.readCodePoint(!0);if(W!==null){if(!Q(W))this.raise(j.EscapedCharNotAnIdentifier,Z);J+=String.fromCodePoint(W)}H=this.state.pos}else break}return J+this.input.slice(H,this.state.pos)}readWord(G){let J=this.readWord1(G),X=C2.get(J);if(X!==void 0)this.finishToken(X,uG(X));else this.finishToken(132,J)}checkKeywordEscapes(){let{type:G}=this.state;if(N2(G)&&this.state.containsEsc)this.raise(j.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:uG(G)})}raise(G,J,X={}){let H=J instanceof NG?J:J.loc.start,V=G(H,X);if(!(this.optionFlags&1024))throw V;if(!this.isLookahead)this.state.errors.push(V);return V}raiseOverwrite(G,J,X={}){let H=J instanceof NG?J:J.loc.start,V=H.index,Z=this.state.errors;for(let Q=Z.length-1;Q>=0;Q--){let W=Z[Q];if(W.loc.index===V)return Z[Q]=G(H,X);if(W.loc.index<V)break}return this.raise(G,J,X)}updateContext(G){}unexpected(G,J){throw this.raise(j.UnexpectedToken,G!=null?G:this.state.startLoc,{expected:J?uG(J):null})}expectPlugin(G,J){if(this.hasPlugin(G))return!0;throw this.raise(j.MissingPlugin,J!=null?J:this.state.startLoc,{missingPlugin:[G]})}expectOnePlugin(G){if(!G.some((J)=>this.hasPlugin(J)))throw this.raise(j.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:G})}errorBuilder(G){return(J,X,H)=>{this.raise(G,oJ(J,X,H))}}}class yV{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class xV{constructor(G){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=G}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new yV)}exit(){let G=this.stack.pop(),J=this.current();for(let[X,H]of Array.from(G.undefinedPrivateNames))if(J){if(!J.undefinedPrivateNames.has(X))J.undefinedPrivateNames.set(X,H)}else this.parser.raise(j.InvalidPrivateFieldResolution,H,{identifierName:X})}declarePrivateName(G,J,X){let{privateNames:H,loneAccessors:V,undefinedPrivateNames:Z}=this.current(),Q=H.has(G);if(J&3){let W=Q&&V.get(G);if(W){let Y=W&4,z=J&4,U=W&3,q=J&3;if(Q=U===q||Y!==z,!Q)V.delete(G)}else if(!Q)V.set(G,J)}if(Q)this.parser.raise(j.PrivateNameRedeclaration,X,{identifierName:G});H.add(G),Z.delete(G)}usePrivateName(G,J){let X;for(X of this.stack)if(X.privateNames.has(G))return;if(X)X.undefinedPrivateNames.set(G,J);else this.parser.raise(j.InvalidPrivateFieldResolution,J,{identifierName:G})}}class ZX{constructor(G=0){this.type=G}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class b2 extends ZX{constructor(G){super(G);this.declarationErrors=new Map}recordDeclarationError(G,J){let X=J.index;this.declarationErrors.set(X,[G,J])}clearDeclarationError(G){this.declarationErrors.delete(G)}iterateErrors(G){this.declarationErrors.forEach(G)}}class mV{constructor(G){this.parser=void 0,this.stack=[new ZX],this.parser=G}enter(G){this.stack.push(G)}exit(){this.stack.pop()}recordParameterInitializerError(G,J){let X=J.loc.start,{stack:H}=this,V=H.length-1,Z=H[V];while(!Z.isCertainlyParameterDeclaration()){if(Z.canBeArrowParameterDeclaration())Z.recordDeclarationError(G,X);else return;Z=H[--V]}this.parser.raise(G,X)}recordArrowParameterBindingError(G,J){let{stack:X}=this,H=X[X.length-1],V=J.loc.start;if(H.isCertainlyParameterDeclaration())this.parser.raise(G,V);else if(H.canBeArrowParameterDeclaration())H.recordDeclarationError(G,V);else return}recordAsyncArrowParametersError(G){let{stack:J}=this,X=J.length-1,H=J[X];while(H.canBeArrowParameterDeclaration()){if(H.type===2)H.recordDeclarationError(j.AwaitBindingIdentifier,G);H=J[--X]}}validateAsPattern(){let{stack:G}=this,J=G[G.length-1];if(!J.canBeArrowParameterDeclaration())return;J.iterateErrors(([X,H])=>{this.parser.raise(X,H);let V=G.length-2,Z=G[V];while(Z.canBeArrowParameterDeclaration())Z.clearDeclarationError(H.index),Z=G[--V]})}}function _21(){return new ZX(3)}function h21(){return new b2(1)}function u21(){return new b2(2)}function cV(){return new ZX}class lV{constructor(){this.stacks=[]}enter(G){this.stacks.push(G)}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 H0(G,J){return(G?2:0)|(J?1:0)}class iV extends uV{addExtra(G,J,X,H=!0){if(!G)return;let{extra:V}=G;if(V==null)V={},G.extra=V;if(H)V[J]=X;else Object.defineProperty(V,J,{enumerable:H,value:X})}isContextual(G){return this.state.type===G&&!this.state.containsEsc}isUnparsedContextual(G,J){let X=G+J.length;if(this.input.slice(G,X)===J){let H=this.input.charCodeAt(X);return!(jJ(H)||(H&64512)===55296)}return!1}isLookaheadContextual(G){let J=this.nextTokenStart();return this.isUnparsedContextual(J,G)}eatContextual(G){if(this.isContextual(G))return this.next(),!0;return!1}expectContextual(G,J){if(!this.eatContextual(G)){if(J!=null)throw this.raise(J,this.state.startLoc);this.unexpected(null,G)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return MV(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return MV(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(G=!0){if(G?this.isLineTerminator():this.eat(13))return;this.raise(j.MissingSemicolon,this.state.lastTokEndLoc)}expect(G,J){if(!this.eat(G))this.unexpected(J,G)}tryParse(G,J=this.state.clone()){let X={node:null};try{let H=G((V=null)=>{throw X.node=V,X});if(this.state.errors.length>J.errors.length){let V=this.state;return this.state=J,this.state.tokensLength=V.tokensLength,{node:H,error:V.errors[J.errors.length],thrown:!1,aborted:!1,failState:V}}return{node:H,error:null,thrown:!1,aborted:!1,failState:null}}catch(H){let V=this.state;if(this.state=J,H instanceof SyntaxError)return{node:null,error:H,thrown:!0,aborted:!1,failState:V};if(H===X)return{node:X.node,error:null,thrown:!1,aborted:!0,failState:V};throw H}}checkExpressionErrors(G,J){if(!G)return!1;let{shorthandAssignLoc:X,doubleProtoLoc:H,privateKeyLoc:V,optionalParametersLoc:Z}=G,Q=!!X||!!H||!!Z||!!V;if(!J)return Q;if(X!=null)this.raise(j.InvalidCoverInitializedName,X);if(H!=null)this.raise(j.DuplicateProto,H);if(V!=null)this.raise(j.UnexpectedPrivateField,V);if(Z!=null)this.unexpected(Z)}isLiteralPropertyName(){return fV(this.state.type)}isPrivateName(G){return G.type==="PrivateName"}getPrivateNameSV(G){return G.id.name}hasPropertyAsPrivateName(G){return(G.type==="MemberExpression"||G.type==="OptionalMemberExpression")&&this.isPrivateName(G.property)}isObjectProperty(G){return G.type==="ObjectProperty"}isObjectMethod(G){return G.type==="ObjectMethod"}initializeScopes(G=this.options.sourceType==="module"){let J=this.state.labels;this.state.labels=[];let X=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let H=this.inModule;this.inModule=G;let V=this.scope,Z=this.getScopeHandler();this.scope=new Z(this,G);let Q=this.prodParam;this.prodParam=new lV;let W=this.classScope;this.classScope=new xV(this);let Y=this.expressionScope;return this.expressionScope=new mV(this),()=>{this.state.labels=J,this.exportedIdentifiers=X,this.inModule=H,this.scope=V,this.prodParam=Q,this.classScope=W,this.expressionScope=Y}}enterInitialScopes(){let G=0;if(this.inModule)G|=2;this.scope.enter(1),this.prodParam.enter(G)}checkDestructuringPrivate(G){let{privateKeyLoc:J}=G;if(J!==null)this.expectPlugin("destructuringPrivate",J)}}class JX{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class VX{constructor(G,J,X){if(this.type="",this.start=J,this.end=0,this.loc=new XX(X),(G==null?void 0:G.optionFlags)&64)this.range=[J,0];if(G!=null&&G.filename)this.loc.filename=G.filename}}var k2=VX.prototype;k2.__clone=function(){let G=new VX(void 0,this.start,this.loc.start),J=Object.keys(this);for(let X=0,H=J.length;X<H;X++){let V=J[X];if(V!=="leadingComments"&&V!=="trailingComments"&&V!=="innerComments")G[V]=this[V]}return G};function y21(G){return TG(G)}function TG(G){let{type:J,start:X,end:H,loc:V,range:Z,extra:Q,name:W}=G,Y=Object.create(k2);if(Y.type=J,Y.start=X,Y.end=H,Y.loc=V,Y.range=Z,Y.extra=Q,Y.name=W,J==="Placeholder")Y.expectedNode=G.expectedNode;return Y}function x21(G){let{type:J,start:X,end:H,loc:V,range:Z,extra:Q}=G;if(J==="Placeholder")return y21(G);let W=Object.create(k2);if(W.type=J,W.start=X,W.end=H,W.loc=V,W.range=Z,G.raw!==void 0)W.raw=G.raw;else W.extra=Q;return W.value=G.value,W}class aV extends iV{startNode(){let G=this.state.startLoc;return new VX(this,G.index,G)}startNodeAt(G){return new VX(this,G.index,G)}startNodeAtNode(G){return this.startNodeAt(G.loc.start)}finishNode(G,J){return this.finishNodeAt(G,J,this.state.lastTokEndLoc)}finishNodeAt(G,J,X){if(G.type=J,G.end=X.index,G.loc.end=X,this.optionFlags&64)G.range[1]=X.index;if(this.optionFlags&2048)this.processComment(G);return G}resetStartLocation(G,J){if(G.start=J.index,G.loc.start=J,this.optionFlags&64)G.range[0]=J.index}resetEndLocation(G,J=this.state.lastTokEndLoc){if(G.end=J.index,G.loc.end=J,this.optionFlags&64)G.range[1]=J.index}resetStartLocationFromNode(G,J){this.resetStartLocation(G,J.loc.start)}}var m21=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),t=PG`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:G})=>`Cannot overwrite reserved type ${G}.`,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:G,enumName:J})=>`Boolean enum members need to be initialized. Use either \`${G} = true,\` or \`${G} = false,\` in enum \`${J}\`.`,EnumDuplicateMemberName:({memberName:G,enumName:J})=>`Enum member names need to be unique, but the name \`${G}\` has already been used before in enum \`${J}\`.`,EnumInconsistentMemberValues:({enumName:G})=>`Enum \`${G}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:G,enumName:J})=>`Enum type \`${G}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${J}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:G})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${G}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:G,memberName:J,explicitType:X})=>`Enum \`${G}\` has type \`${X}\`, so the initializer of \`${J}\` needs to be a ${X} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:G,memberName:J})=>`Symbol enum members cannot be initialized. Use \`${J},\` in enum \`${G}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:G,memberName:J})=>`The enum member initializer for \`${J}\` needs to be a literal (either a boolean, number, or string) in enum \`${G}\`.`,EnumInvalidMemberName:({enumName:G,memberName:J,suggestion:X})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${J}\`, consider using \`${X}\`, in enum \`${G}\`.`,EnumNumberMemberNotInitialized:({enumName:G,memberName:J})=>`Number enum members need to be initialized, e.g. \`${J} = 1\` in enum \`${G}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:G})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${G}\`.`,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:G})=>`Unexpected reserved type ${G}.`,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:G,suggestion:J})=>`\`declare export ${G}\` is not supported. Use \`${J}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function c21(G){return G.type==="DeclareExportAllDeclaration"||G.type==="DeclareExportDeclaration"&&(!G.declaration||G.declaration.type!=="TypeAlias"&&G.declaration.type!=="InterfaceDeclaration")}function qV(G){return G.importKind==="type"||G.importKind==="typeof"}var l21={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function i21(G,J){let X=[],H=[];for(let V=0;V<G.length;V++)(J(G[V],V,G)?X:H).push(G[V]);return[X,H]}var a21=/\*?\s*@((?:no)?flow)\b/,p21=(G)=>class J extends G{constructor(...X){super(...X);this.flowPragma=void 0}getScopeHandler(){return kV}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(X,H){if(X!==134&&X!==13&&X!==28){if(this.flowPragma===void 0)this.flowPragma=null}super.finishToken(X,H)}addComment(X){if(this.flowPragma===void 0){let H=a21.exec(X.value);if(!H);else if(H[1]==="flow")this.flowPragma="flow";else if(H[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(X)}flowParseTypeInitialiser(X){let H=this.state.inType;this.state.inType=!0,this.expect(X||14);let V=this.flowParseType();return this.state.inType=H,V}flowParsePredicate(){let X=this.startNode(),H=this.state.startLoc;if(this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>H.index+1)this.raise(t.UnexpectedSpaceBetweenModuloChecks,H);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 H=null,V=null;if(this.match(54))this.state.inType=X,V=this.flowParsePredicate();else if(H=this.flowParseType(),this.state.inType=X,this.match(54))V=this.flowParsePredicate();return[H,V]}flowParseDeclareClass(X){return this.next(),this.flowParseInterfaceish(X,!0),this.finishNode(X,"DeclareClass")}flowParseDeclareFunction(X){this.next();let H=X.id=this.parseIdentifier(),V=this.startNode(),Z=this.startNode();if(this.match(47))V.typeParameters=this.flowParseTypeParameterDeclaration();else V.typeParameters=null;this.expect(10);let Q=this.flowParseFunctionTypeParams();return V.params=Q.params,V.rest=Q.rest,V.this=Q._this,this.expect(11),[V.returnType,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),Z.typeAnnotation=this.finishNode(V,"FunctionTypeAnnotation"),H.typeAnnotation=this.finishNode(Z,"TypeAnnotation"),this.resetEndLocation(H),this.semicolon(),this.scope.declareName(X.id.name,2048,X.id.loc.start),this.finishNode(X,"DeclareFunction")}flowParseDeclare(X,H){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(H)this.raise(t.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,H);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 H=X.body=this.startNode(),V=H.body=[];this.expect(5);while(!this.match(8)){let W=this.startNode();if(this.match(83)){if(this.next(),!this.isContextual(130)&&!this.match(87))this.raise(t.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc);super.parseImport(W)}else this.expectContextual(125,t.UnsupportedStatementInDeclareModule),W=this.flowParseDeclare(W,!0);V.push(W)}this.scope.exit(),this.expect(8),this.finishNode(H,"BlockStatement");let Z=null,Q=!1;return V.forEach((W)=>{if(c21(W)){if(Z==="CommonJS")this.raise(t.AmbiguousDeclareModuleKind,W);Z="ES"}else if(W.type==="DeclareModuleExports"){if(Q)this.raise(t.DuplicateDeclareModuleExports,W);if(Z==="ES")this.raise(t.AmbiguousDeclareModuleKind,W);Z="CommonJS",Q=!0}}),X.kind=Z||"CommonJS",this.finishNode(X,"DeclareModule")}flowParseDeclareExportDeclaration(X,H){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))&&!H){let V=this.state.value;throw this.raise(t.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:V,suggestion:l21[V]})}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 H=this.flowParseTypeAlias(X);return H.type="DeclareTypeAlias",H}flowParseDeclareOpaqueType(X){this.next();let H=this.flowParseOpaqueType(X,!0);return H.type="DeclareOpaqueType",H}flowParseDeclareInterface(X){return this.next(),this.flowParseInterfaceish(X,!1),this.finishNode(X,"DeclareInterface")}flowParseInterfaceish(X,H){if(X.id=this.flowParseRestrictedIdentifier(!H,!0),this.scope.declareName(X.id.name,H?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(!H&&this.eat(12));if(H){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:H,allowExact:!1,allowSpread:!1,allowProto:H,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(t.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(X,H,V){if(!m21.has(X))return;this.raise(V?t.AssignReservedType:t.UnexpectedReservedType,H,{reservedType:X})}flowParseRestrictedIdentifier(X,H){return this.checkReservedType(this.state.value,this.state.startLoc,H),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,H){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,!H)X.impltype=this.flowParseTypeInitialiser(29);return this.semicolon(),this.finishNode(X,"OpaqueType")}flowParseTypeParameter(X=!1){let H=this.state.startLoc,V=this.startNode(),Z=this.flowParseVariance(),Q=this.flowParseTypeAnnotatableIdentifier();if(V.name=Q.name,V.variance=Z,V.bound=Q.typeAnnotation,this.match(29))this.eat(29),V.default=this.flowParseType();else if(X)this.raise(t.MissingTypeParamDefault,H);return this.finishNode(V,"TypeParameter")}flowParseTypeParameterDeclaration(){let X=this.state.inType,H=this.startNode();if(H.params=[],this.state.inType=!0,this.match(47)||this.match(143))this.next();else this.unexpected();let V=!1;do{let Z=this.flowParseTypeParameter(V);if(H.params.push(Z),Z.default)V=!0;if(!this.match(48))this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=X,this.finishNode(H,"TypeParameterDeclaration")}flowInTopLevelContext(X){if(this.curContext()!==q1.brace){let H=this.state.context;this.state.context=[H[0]];try{return X()}finally{this.state.context=H}}else return X()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()!==47)return;return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let X=this.startNode(),H=this.state.inType;if(this.state.inType=!0,X.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let V=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=V}),this.state.inType=H,!this.state.inType&&this.curContext()===q1.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let X=this.startNode(),H=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=H,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,H,V){if(X.static=H,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=V,this.finishNode(X,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(X,H){if(X.static=H,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,H){let V=this.startNode();return X.static=H,X.value=this.flowParseObjectTypeMethodish(V),this.finishNode(X,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:X,allowExact:H,allowSpread:V,allowProto:Z,allowInexact:Q}){let W=this.state.inType;this.state.inType=!0;let Y=this.startNode();Y.callProperties=[],Y.properties=[],Y.indexers=[],Y.internalSlots=[];let z,U,q=!1;if(H&&this.match(6))this.expect(6),z=9,U=!0;else this.expect(5),z=8,U=!1;Y.exact=U;while(!this.match(z)){let C=!1,D=null,L=null,P=this.startNode();if(Z&&this.isContextual(118)){let b=this.lookahead();if(b.type!==14&&b.type!==17)this.next(),D=this.state.startLoc,X=!1}if(X&&this.isContextual(106)){let b=this.lookahead();if(b.type!==14&&b.type!==17)this.next(),C=!0}let w=this.flowParseVariance();if(this.eat(0)){if(D!=null)this.unexpected(D);if(this.eat(0)){if(w)this.unexpected(w.loc.start);Y.internalSlots.push(this.flowParseObjectTypeInternalSlot(P,C))}else Y.indexers.push(this.flowParseObjectTypeIndexer(P,C,w))}else if(this.match(10)||this.match(47)){if(D!=null)this.unexpected(D);if(w)this.unexpected(w.loc.start);Y.callProperties.push(this.flowParseObjectTypeCallProperty(P,C))}else{let b="init";if(this.isContextual(99)||this.isContextual(104)){let r=this.lookahead();if(fV(r.type))b=this.state.value,this.next()}let X1=this.flowParseObjectTypeProperty(P,C,D,w,b,V,Q!=null?Q:!U);if(X1===null)q=!0,L=this.state.lastTokStartLoc;else Y.properties.push(X1)}if(this.flowObjectTypeSemicolon(),L&&!this.match(8)&&!this.match(9))this.raise(t.UnexpectedExplicitInexactInObject,L)}if(this.expect(z),V)Y.inexact=q;let A=this.finishNode(Y,"ObjectTypeAnnotation");return this.state.inType=W,A}flowParseObjectTypeProperty(X,H,V,Z,Q,W,Y){if(this.eat(21)){if(this.match(12)||this.match(13)||this.match(8)||this.match(9)){if(!W)this.raise(t.InexactInsideNonObject,this.state.lastTokStartLoc);else if(!Y)this.raise(t.InexactInsideExact,this.state.lastTokStartLoc);if(Z)this.raise(t.InexactVariance,Z);return null}if(!W)this.raise(t.UnexpectedSpreadType,this.state.lastTokStartLoc);if(V!=null)this.unexpected(V);if(Z)this.raise(t.SpreadVariance,Z);return X.argument=this.flowParseType(),this.finishNode(X,"ObjectTypeSpreadProperty")}else{X.key=this.flowParseObjectPropertyKey(),X.static=H,X.proto=V!=null,X.kind=Q;let z=!1;if(this.match(47)||this.match(10)){if(X.method=!0,V!=null)this.unexpected(V);if(Z)this.unexpected(Z.loc.start);if(X.value=this.flowParseObjectTypeMethodish(this.startNodeAt(X.loc.start)),Q==="get"||Q==="set")this.flowCheckGetterSetterParams(X);if(!W&&X.key.name==="constructor"&&X.value.this)this.raise(t.ThisParamBannedInConstructor,X.value.this)}else{if(Q!=="init")this.unexpected();if(X.method=!1,this.eat(17))z=!0;X.value=this.flowParseTypeInitialiser(),X.variance=Z}return X.optional=z,this.finishNode(X,"ObjectTypeProperty")}}flowCheckGetterSetterParams(X){let H=X.kind==="get"?0:1,V=X.value.params.length+(X.value.rest?1:0);if(X.value.this)this.raise(X.kind==="get"?t.GetterMayNotHaveThisParam:t.SetterMayNotHaveThisParam,X.value.this);if(V!==H)this.raise(X.kind==="get"?j.BadGetterArity:j.BadSetterArity,X);if(X.kind==="set"&&X.value.rest)this.raise(j.BadSetterRestParameter,X)}flowObjectTypeSemicolon(){if(!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9))this.unexpected()}flowParseQualifiedTypeIdentifier(X,H){var V;(V=X)!=null||(X=this.state.startLoc);let Z=H||this.flowParseRestrictedIdentifier(!0);while(this.eat(16)){let Q=this.startNodeAt(X);Q.qualification=Z,Q.id=this.flowParseRestrictedIdentifier(!0),Z=this.finishNode(Q,"QualifiedTypeIdentifier")}return Z}flowParseGenericType(X,H){let V=this.startNodeAt(X);if(V.typeParameters=null,V.id=this.flowParseQualifiedTypeIdentifier(X,H),this.match(47))V.typeParameters=this.flowParseTypeParameterInstantiation();return this.finishNode(V,"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 H=null,V=!1,Z=null,Q=this.startNode(),W=this.lookahead(),Y=this.state.type===78;if(W.type===14||W.type===17){if(Y&&!X)this.raise(t.ThisParamMustBeFirst,Q);if(H=this.parseIdentifier(Y),this.eat(17)){if(V=!0,Y)this.raise(t.ThisParamMayNotBeOptional,Q)}Z=this.flowParseTypeInitialiser()}else Z=this.flowParseType();return Q.name=H,Q.optional=V,Q.typeAnnotation=Z,this.finishNode(Q,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(X){let H=this.startNodeAt(X.loc.start);return H.name=null,H.optional=!1,H.typeAnnotation=X,this.finishNode(H,"FunctionTypeParam")}flowParseFunctionTypeParams(X=[]){let H=null,V=null;if(this.match(78)){if(V=this.flowParseFunctionTypeParam(!0),V.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))H=this.flowParseFunctionTypeParam(!1);return{params:X,rest:H,_this:V}}flowIdentToTypeAnnotation(X,H,V){switch(V.name){case"any":return this.finishNode(H,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(H,"BooleanTypeAnnotation");case"mixed":return this.finishNode(H,"MixedTypeAnnotation");case"empty":return this.finishNode(H,"EmptyTypeAnnotation");case"number":return this.finishNode(H,"NumberTypeAnnotation");case"string":return this.finishNode(H,"StringTypeAnnotation");case"symbol":return this.finishNode(H,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(V.name),this.flowParseGenericType(X,V)}}flowParsePrimaryType(){let X=this.state.startLoc,H=this.startNode(),V,Z,Q=!1,W=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,Z=this.flowParseTupleType(),this.state.noAnonFunctionType=W,Z;case 47:{let Y=this.startNode();return Y.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),V=this.flowParseFunctionTypeParams(),Y.params=V.params,Y.rest=V.rest,Y.this=V._this,this.expect(11),this.expect(19),Y.returnType=this.flowParseType(),this.finishNode(Y,"FunctionTypeAnnotation")}case 10:{let Y=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(j1(this.state.type)||this.match(78)){let z=this.lookahead().type;Q=z!==17&&z!==14}else Q=!0;if(Q)if(this.state.noAnonFunctionType=!1,Z=this.flowParseType(),this.state.noAnonFunctionType=W,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),Z;else this.eat(12);if(Z)V=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(Z)]);else V=this.flowParseFunctionTypeParams();return Y.params=V.params,Y.rest=V.rest,Y.this=V._this,this.expect(11),this.expect(19),Y.returnType=this.flowParseType(),Y.typeParameters=null,this.finishNode(Y,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return H.value=this.match(85),this.next(),this.finishNode(H,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",H);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",H);throw this.raise(t.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(H,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(H,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(H,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(H,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(N2(this.state.type)){let Y=uG(this.state.type);return this.next(),super.createIdentifier(H,Y)}else if(j1(this.state.type)){if(this.isContextual(129))return this.flowParseInterfaceType();return this.flowIdentToTypeAnnotation(X,H,this.parseIdentifier())}}this.unexpected()}flowParsePostfixType(){let X=this.state.startLoc,H=this.flowParsePrimaryType(),V=!1;while((this.match(0)||this.match(18))&&!this.canInsertSemicolon()){let Z=this.startNodeAt(X),Q=this.eat(18);if(V=V||Q,this.expect(0),!Q&&this.match(3))Z.elementType=H,this.next(),H=this.finishNode(Z,"ArrayTypeAnnotation");else if(Z.objectType=H,Z.indexType=this.flowParseType(),this.expect(3),V)Z.optional=Q,H=this.finishNode(Z,"OptionalIndexedAccessType");else H=this.finishNode(Z,"IndexedAccessType")}return H}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 H=this.startNodeAt(X.loc.start);return H.params=[this.reinterpretTypeAsFunctionTypeParam(X)],H.rest=null,H.this=null,H.returnType=this.flowParseType(),H.typeParameters=null,this.finishNode(H,"FunctionTypeAnnotation")}return X}flowParseIntersectionType(){let X=this.startNode();this.eat(45);let H=this.flowParseAnonFunctionWithoutParens();X.types=[H];while(this.eat(45))X.types.push(this.flowParseAnonFunctionWithoutParens());return X.types.length===1?H:this.finishNode(X,"IntersectionTypeAnnotation")}flowParseUnionType(){let X=this.startNode();this.eat(43);let H=this.flowParseIntersectionType();X.types=[H];while(this.eat(43))X.types.push(this.flowParseIntersectionType());return X.types.length===1?H:this.finishNode(X,"UnionTypeAnnotation")}flowParseType(){let X=this.state.inType;this.state.inType=!0;let H=this.flowParseUnionType();return this.state.inType=X,H}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let X=this.state.startLoc,H=this.parseIdentifier();return this.flowParseGenericType(X,H)}else return this.flowParseType()}flowParseTypeAnnotation(){let X=this.startNode();return X.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(X,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(X){let H=X?this.parseIdentifier():this.flowParseRestrictedIdentifier();if(this.match(14))H.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(H);return H}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,H,V=!1){if(H){this.forwardNoArrowParamsConversionAt(X,()=>super.parseFunctionBody(X,!0,V));return}super.parseFunctionBody(X,!1,V)}parseFunctionBodyAndFinish(X,H,V=!1){if(this.match(14)){let Z=this.startNode();[Z.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),X.returnType=Z.typeAnnotation?this.finishNode(Z,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(X,H,V)}parseStatementLike(X){if(this.state.strict&&this.isContextual(129)){let V=this.lookahead();if(WG(V.type)){let Z=this.startNode();return this.next(),this.flowParseInterface(Z)}}else if(this.isContextual(126)){let V=this.startNode();return this.next(),this.flowParseEnumDeclaration(V)}let H=super.parseStatementLike(X);if(this.flowPragma===void 0&&!this.isValidDirective(H))this.flowPragma=null;return H}parseExpressionStatement(X,H,V){if(H.type==="Identifier"){if(H.name==="declare"){if(this.match(80)||j1(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(X)}else if(j1(this.state.type)){if(H.name==="interface")return this.flowParseInterface(X);else if(H.name==="type")return this.flowParseTypeAlias(X);else if(H.name==="opaque")return this.flowParseOpaqueType(X,!1)}}return super.parseExpressionStatement(X,H,V)}shouldParseExportDeclaration(){let{type:X}=this.state;if(X===126||BV(X))return!this.state.containsEsc;return super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:X}=this.state;if(X===126||BV(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,H,V){if(!this.match(17))return X;if(this.state.maybeInArrowParameters){let A=this.lookaheadCharCode();if(A===44||A===61||A===58||A===41)return this.setOptionalParametersError(V),X}this.expect(17);let Z=this.state.clone(),Q=this.state.noArrowAt,W=this.startNodeAt(H),{consequent:Y,failed:z}=this.tryParseConditionalConsequent(),[U,q]=this.getArrowLikeExpressions(Y);if(z||q.length>0){let A=[...Q];if(q.length>0){this.state=Z,this.state.noArrowAt=A;for(let C=0;C<q.length;C++)A.push(q[C].start);({consequent:Y,failed:z}=this.tryParseConditionalConsequent()),[U,q]=this.getArrowLikeExpressions(Y)}if(z&&U.length>1)this.raise(t.AmbiguousConditionalArrow,Z.startLoc);if(z&&U.length===1)this.state=Z,A.push(U[0].start),this.state.noArrowAt=A,{consequent:Y,failed:z}=this.tryParseConditionalConsequent()}return this.getArrowLikeExpressions(Y,!0),this.state.noArrowAt=Q,this.expect(14),W.test=X,W.consequent=Y,W.alternate=this.forwardNoArrowParamsConversionAt(W,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(W,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let X=this.parseMaybeAssignAllowIn(),H=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:X,failed:H}}getArrowLikeExpressions(X,H){let V=[X],Z=[];while(V.length!==0){let Q=V.pop();if(Q.type==="ArrowFunctionExpression"&&Q.body.type!=="BlockStatement"){if(Q.typeParameters||!Q.returnType)this.finishArrowValidation(Q);else Z.push(Q);V.push(Q.body)}else if(Q.type==="ConditionalExpression")V.push(Q.consequent),V.push(Q.alternate)}if(H)return Z.forEach((Q)=>this.finishArrowValidation(Q)),[Z,[]];return i21(Z,(Q)=>Q.params.every((W)=>this.isAssignable(W,!0)))}finishArrowValidation(X){var H;this.toAssignableList(X.params,(H=X.extra)==null?void 0:H.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(X,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(X,H){let V;if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))this.state.noArrowParamsConversionAt.push(this.state.start),V=H(),this.state.noArrowParamsConversionAt.pop();else V=H();return V}parseParenItem(X,H){let V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){let Z=this.startNodeAt(H);return Z.expression=V,Z.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(Z,"TypeCastExpression")}return V}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 H=this.startNode();if(this.next(),this.match(5))return X.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(X),null;else return this.flowParseTypeAlias(H)}else if(this.isContextual(131)){X.exportKind="type";let H=this.startNode();return this.next(),this.flowParseOpaqueType(H,!1)}else if(this.isContextual(129)){X.exportKind="type";let H=this.startNode();return this.next(),this.flowParseInterface(H)}else if(this.isContextual(126)){X.exportKind="value";let H=this.startNode();return this.next(),this.flowParseEnumDeclaration(H)}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:H}=this.state,V=super.maybeParseExportNamespaceSpecifier(X);if(V&&X.exportKind==="type")this.unexpected(H);return V}parseClassId(X,H,V){if(super.parseClassId(X,H,V),this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration()}parseClassMember(X,H,V){let{startLoc:Z}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(X,H))return;H.declare=!0}if(super.parseClassMember(X,H,V),H.declare){if(H.type!=="ClassProperty"&&H.type!=="ClassPrivateProperty"&&H.type!=="PropertyDefinition")this.raise(t.DeclareClassElement,Z);else if(H.value)this.raise(t.DeclareClassFieldInitializer,H.value)}}isIterator(X){return X==="iterator"||X==="asyncIterator"}readIterator(){let X=super.readWord1(),H="@@"+X;if(!this.isIterator(X)||!this.state.inType)this.raise(j.InvalidIdentifier,this.state.curPosition(),{identifierName:H});this.finishToken(132,H)}getTokenFromCode(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===123&&H===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(H===46)this.finishOp(18,2);else this.finishOp(17,1);else if(P21(X,H,this.input.charCodeAt(this.state.pos+2)))this.state.pos+=2,this.readIterator();else super.getTokenFromCode(X)}isAssignable(X,H){if(X.type==="TypeCastExpression")return this.isAssignable(X.expression,H);else return super.isAssignable(X,H)}toAssignable(X,H=!1){if(!H&&X.type==="AssignmentExpression"&&X.left.type==="TypeCastExpression")X.left=this.typeCastToParameter(X.left);super.toAssignable(X,H)}toAssignableList(X,H,V){for(let Z=0;Z<X.length;Z++){let Q=X[Z];if((Q==null?void 0:Q.type)==="TypeCastExpression")X[Z]=this.typeCastToParameter(Q)}super.toAssignableList(X,H,V)}toReferencedList(X,H){for(let Z=0;Z<X.length;Z++){var V;let Q=X[Z];if(Q&&Q.type==="TypeCastExpression"&&!((V=Q.extra)!=null&&V.parenthesized)&&(X.length>1||!H))this.raise(t.TypeCastInPattern,Q.typeAnnotation)}return X}parseArrayLike(X,H,V,Z){let Q=super.parseArrayLike(X,H,V,Z);if(H&&!this.state.maybeInArrowParameters)this.toReferencedList(Q.elements);return Q}isValidLVal(X,H,V){return X==="TypeCastExpression"||super.isValidLVal(X,H,V)}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,H,V,Z,Q,W){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();if(super.pushClassMethod(X,H,V,Z,Q,W),H.params&&Q){let Y=H.params;if(Y.length>0&&this.isThisParam(Y[0]))this.raise(t.ThisParamBannedInConstructor,H)}else if(H.type==="MethodDefinition"&&Q&&H.value.params){let Y=H.value.params;if(Y.length>0&&this.isThisParam(Y[0]))this.raise(t.ThisParamBannedInConstructor,H)}}pushClassPrivateMethod(X,H,V,Z){if(H.variance)this.unexpected(H.variance.loc.start);if(delete H.variance,this.match(47))H.typeParameters=this.flowParseTypeParameterDeclaration();super.pushClassPrivateMethod(X,H,V,Z)}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 H=X.implements=[];do{let V=this.startNode();if(V.id=this.flowParseRestrictedIdentifier(!0),this.match(47))V.typeParameters=this.flowParseTypeParameterInstantiation();else V.typeParameters=null;H.push(this.finishNode(V,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(X){super.checkGetterSetterParams(X);let H=this.getObjectOrClassMethodParams(X);if(H.length>0){let V=H[0];if(this.isThisParam(V)&&X.kind==="get")this.raise(t.GetterMayNotHaveThisParam,V);else if(this.isThisParam(V))this.raise(t.SetterMayNotHaveThisParam,V)}}parsePropertyNamePrefixOperator(X){X.variance=this.flowParseVariance()}parseObjPropValue(X,H,V,Z,Q,W,Y){if(X.variance)this.unexpected(X.variance.loc.start);delete X.variance;let z;if(this.match(47)&&!W){if(z=this.flowParseTypeParameterDeclaration(),!this.match(10))this.unexpected()}let U=super.parseObjPropValue(X,H,V,Z,Q,W,Y);if(z)(U.value||U).typeParameters=z;return U}parseFunctionParamType(X){if(this.eat(17)){if(X.type!=="Identifier")this.raise(t.PatternIsOptional,X);if(this.isThisParam(X))this.raise(t.ThisParamMayNotBeOptional,X);X.optional=!0}if(this.match(14))X.typeAnnotation=this.flowParseTypeAnnotation();else if(this.isThisParam(X))this.raise(t.ThisParamAnnotationRequired,X);if(this.match(29)&&this.isThisParam(X))this.raise(t.ThisParamNoDefault,X);return this.resetEndLocation(X),X}parseMaybeDefault(X,H){let V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(t.TypeBeforeInitializer,V.typeAnnotation);return V}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(t.ImportReflectionHasImportType,X.specifiers[0].loc.start)}parseImportSpecifierLocal(X,H,V){H.local=qV(X)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),X.specifiers.push(this.finishImportSpecifier(H,V))}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){if(!X)return!0;let H=this.lookaheadCharCode();return H===123||H===42}return!X&&this.isContextual(87)}applyImportPhase(X,H,V,Z){if(super.applyImportPhase(X,H,V,Z),H){if(!V&&this.match(65))return;X.exportKind=V==="type"?V:"value"}else{if(V==="type"&&this.match(55))this.unexpected();X.importKind=V==="type"||V==="typeof"?V:"value"}}parseImportSpecifier(X,H,V,Z,Q){let W=X.imported,Y=null;if(W.type==="Identifier"){if(W.name==="type")Y="type";else if(W.name==="typeof")Y="typeof"}let z=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let q=this.parseIdentifier(!0);if(Y!==null&&!WG(this.state.type))X.imported=q,X.importKind=Y,X.local=TG(q);else X.imported=W,X.importKind=null,X.local=this.parseIdentifier()}else{if(Y!==null&&WG(this.state.type))X.imported=this.parseIdentifier(!0),X.importKind=Y;else{if(H)throw this.raise(j.ImportBindingIsString,X,{importName:W.value});X.imported=W,X.importKind=null}if(this.eatContextual(93))X.local=this.parseIdentifier();else z=!0,X.local=TG(X.imported)}let U=qV(X);if(V&&U)this.raise(t.ImportTypeShorthandOnlyInPureImport,X);if(V||U)this.checkReservedType(X.local.name,X.local.loc.start,!0);if(z&&!V&&!U)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,H){let V=X.kind;if(V!=="get"&&V!=="set"&&this.match(47))X.typeParameters=this.flowParseTypeParameterDeclaration();super.parseFunctionParams(X,H)}parseVarId(X,H){if(super.parseVarId(X,H),this.match(14))X.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,H){if(this.match(14)){let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,X.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=V}return super.parseAsyncArrowFromCallExpression(X,H)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(X,H){var V;let Z=null,Q;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(Z=this.state.clone(),Q=this.tryParse(()=>super.parseMaybeAssign(X,H),Z),!Q.error)return Q.node;let{context:z}=this.state,U=z[z.length-1];if(U===q1.j_oTag||U===q1.j_expr)z.pop()}if((V=Q)!=null&&V.error||this.match(47)){var W,Y;Z=Z||this.state.clone();let z,U=this.tryParse((A)=>{var C;z=this.flowParseTypeParameterDeclaration();let D=this.forwardNoArrowParamsConversionAt(z,()=>{let P=super.parseMaybeAssign(X,H);return this.resetStartLocationFromNode(P,z),P});if((C=D.extra)!=null&&C.parenthesized)A();let L=this.maybeUnwrapTypeCastExpression(D);if(L.type!=="ArrowFunctionExpression")A();return L.typeParameters=z,this.resetStartLocationFromNode(L,z),D},Z),q=null;if(U.node&&this.maybeUnwrapTypeCastExpression(U.node).type==="ArrowFunctionExpression"){if(!U.error&&!U.aborted){if(U.node.async)this.raise(t.UnexpectedTypeParameterBeforeAsyncArrowFunction,z);return U.node}q=U.node}if((W=Q)!=null&&W.node)return this.state=Q.failState,Q.node;if(q)return this.state=U.failState,q;if((Y=Q)!=null&&Y.thrown)throw Q.error;if(U.thrown)throw U.error;throw this.raise(t.UnexpectedTokenAfterTypeParameter,z)}return super.parseMaybeAssign(X,H)}parseArrow(X){if(this.match(14)){let H=this.tryParse(()=>{let V=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let Z=this.startNode();if([Z.typeAnnotation,X.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=V,this.canInsertSemicolon())this.unexpected();if(!this.match(19))this.unexpected();return Z});if(H.thrown)return null;if(H.error)this.state=H.failState;X.returnType=H.node.typeAnnotation?this.finishNode(H.node,"TypeAnnotation"):null}return super.parseArrow(X)}shouldParseArrow(X){return this.match(14)||super.shouldParseArrow(X)}setArrowFunctionParameters(X,H){if(this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))X.params=H;else super.setArrowFunctionParameters(X,H)}checkParams(X,H,V,Z=!0){if(V&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(X.start)))return;for(let Q=0;Q<X.params.length;Q++)if(this.isThisParam(X.params[Q])&&Q>0)this.raise(t.ThisParamMustBeFirst,X.params[Q]);super.checkParams(X,H,V,Z)}parseParenAndDistinguishExpression(X){return super.parseParenAndDistinguishExpression(X&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(X,H,V){if(X.type==="Identifier"&&X.name==="async"&&this.state.noArrowAt.includes(H.index)){this.next();let Z=this.startNodeAt(H);Z.callee=X,Z.arguments=super.parseCallExpressionArguments(11),X=this.finishNode(Z,"CallExpression")}else if(X.type==="Identifier"&&X.name==="async"&&this.match(47)){let Z=this.state.clone(),Q=this.tryParse((Y)=>this.parseAsyncArrowWithTypeParameters(H)||Y(),Z);if(!Q.error&&!Q.aborted)return Q.node;let W=this.tryParse(()=>super.parseSubscripts(X,H,V),Z);if(W.node&&!W.error)return W.node;if(Q.node)return this.state=Q.failState,Q.node;if(W.node)return this.state=W.failState,W.node;throw Q.error||W.error}return super.parseSubscripts(X,H,V)}parseSubscript(X,H,V,Z){if(this.match(18)&&this.isLookaheadToken_lt()){if(Z.optionalChainMember=!0,V)return Z.stop=!0,X;this.next();let Q=this.startNodeAt(H);return Q.callee=X,Q.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),Q.arguments=this.parseCallExpressionArguments(11),Q.optional=!0,this.finishCallExpression(Q,!0)}else if(!V&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let Q=this.startNodeAt(H);Q.callee=X;let W=this.tryParse(()=>{if(Q.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Q.arguments=super.parseCallExpressionArguments(11),Z.optionalChainMember)Q.optional=!1;return this.finishCallExpression(Q,Z.optionalChainMember)});if(W.node){if(W.error)this.state=W.failState;return W.node}}return super.parseSubscript(X,H,V,Z)}parseNewCallee(X){super.parseNewCallee(X);let H=null;if(this.shouldParseTypes()&&this.match(47))H=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node;X.typeArguments=H}parseAsyncArrowWithTypeParameters(X){let H=this.startNodeAt(X);if(this.parseFunctionParams(H,!1),!this.parseArrow(H))return;return super.parseArrowExpression(H,void 0,!0)}readToken_mult_modulo(X){let H=this.input.charCodeAt(this.state.pos+1);if(X===42&&H===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 H=this.input.charCodeAt(this.state.pos+1);if(X===124&&H===125){this.finishOp(9,2);return}super.readToken_pipe_amp(X)}parseTopLevel(X,H){let V=super.parseTopLevel(X,H);if(this.state.hasFlowComment)this.raise(t.UnterminatedFlowComment,this.state.curPosition());return V}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(t.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,H=2;while([32,9].includes(this.input.charCodeAt(X+H)))H++;let V=this.input.charCodeAt(H+X),Z=this.input.charCodeAt(H+X+1);if(V===58&&Z===58)return H+2;if(this.input.slice(H+X,H+X+12)==="flow-include")return H+12;if(V===58&&Z!==58)return H;return!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(j.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(X,{enumName:H,memberName:V}){this.raise(t.EnumBooleanMemberNotInitialized,X,{memberName:V,enumName:H})}flowEnumErrorInvalidMemberInitializer(X,H){return this.raise(!H.explicitType?t.EnumInvalidMemberInitializerUnknownType:H.explicitType==="symbol"?t.EnumInvalidMemberInitializerSymbolType:t.EnumInvalidMemberInitializerPrimaryType,X,H)}flowEnumErrorNumberMemberNotInitialized(X,H){this.raise(t.EnumNumberMemberNotInitialized,X,H)}flowEnumErrorStringMemberInconsistentlyInitialized(X,H){this.raise(t.EnumStringMemberInconsistentlyInitialized,X,H)}flowEnumMemberInit(){let X=this.state.startLoc,H=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let V=this.parseNumericLiteral(this.state.value);if(H())return{type:"number",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 134:{let V=this.parseStringLiteral(this.state.value);if(H())return{type:"string",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}case 85:case 86:{let V=this.parseBooleanLiteral(this.match(85));if(H())return{type:"boolean",loc:V.loc.start,value:V};return{type:"invalid",loc:X}}default:return{type:"invalid",loc:X}}}flowEnumMemberRaw(){let X=this.state.startLoc,H=this.parseIdentifier(!0),V=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:X};return{id:H,init:V}}flowEnumCheckExplicitTypeMismatch(X,H,V){let{explicitType:Z}=H;if(Z===null)return;if(Z!==V)this.flowEnumErrorInvalidMemberInitializer(X,H)}flowEnumMembers({enumName:X,explicitType:H}){let V=new Set,Z={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},Q=!1;while(!this.match(8)){if(this.eat(21)){Q=!0;break}let W=this.startNode(),{id:Y,init:z}=this.flowEnumMemberRaw(),U=Y.name;if(U==="")continue;if(/^[a-z]/.test(U))this.raise(t.EnumInvalidMemberName,Y,{memberName:U,suggestion:U[0].toUpperCase()+U.slice(1),enumName:X});if(V.has(U))this.raise(t.EnumDuplicateMemberName,Y,{memberName:U,enumName:X});V.add(U);let q={enumName:X,explicitType:H,memberName:U};switch(W.id=Y,z.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(z.loc,q,"boolean"),W.init=z.value,Z.booleanMembers.push(this.finishNode(W,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(z.loc,q,"number"),W.init=z.value,Z.numberMembers.push(this.finishNode(W,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(z.loc,q,"string"),W.init=z.value,Z.stringMembers.push(this.finishNode(W,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(z.loc,q);case"none":switch(H){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(z.loc,q);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(z.loc,q);break;default:Z.defaultedMembers.push(this.finishNode(W,"EnumDefaultedMember"))}}if(!this.match(8))this.expect(12)}return{members:Z,hasUnknownMembers:Q}}flowEnumStringMembers(X,H,{enumName:V}){if(X.length===0)return H;else if(H.length===0)return X;else if(H.length>X.length){for(let Z of X)this.flowEnumErrorStringMemberInconsistentlyInitialized(Z,{enumName:V});return H}else{for(let Z of H)this.flowEnumErrorStringMemberInconsistentlyInitialized(Z,{enumName:V});return X}}flowEnumParseExplicitType({enumName:X}){if(!this.eatContextual(102))return null;if(!j1(this.state.type))throw this.raise(t.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:X});let{value:H}=this.state;if(this.next(),H!=="boolean"&&H!=="number"&&H!=="string"&&H!=="symbol")this.raise(t.EnumInvalidExplicitType,this.state.startLoc,{enumName:X,invalidEnumType:H});return H}flowEnumBody(X,H){let V=H.name,Z=H.loc.start,Q=this.flowEnumParseExplicitType({enumName:V});this.expect(5);let{members:W,hasUnknownMembers:Y}=this.flowEnumMembers({enumName:V,explicitType:Q});switch(X.hasUnknownMembers=Y,Q){case"boolean":return X.explicitType=!0,X.members=W.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody");case"number":return X.explicitType=!0,X.members=W.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody");case"string":return X.explicitType=!0,X.members=this.flowEnumStringMembers(W.stringMembers,W.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");case"symbol":return X.members=W.defaultedMembers,this.expect(8),this.finishNode(X,"EnumSymbolBody");default:{let z=()=>{return X.members=[],this.expect(8),this.finishNode(X,"EnumStringBody")};X.explicitType=!1;let U=W.booleanMembers.length,q=W.numberMembers.length,A=W.stringMembers.length,C=W.defaultedMembers.length;if(!U&&!q&&!A&&!C)return z();else if(!U&&!q)return X.members=this.flowEnumStringMembers(W.stringMembers,W.defaultedMembers,{enumName:V}),this.expect(8),this.finishNode(X,"EnumStringBody");else if(!q&&!A&&U>=C){for(let D of W.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(D.loc.start,{enumName:V,memberName:D.id.name});return X.members=W.booleanMembers,this.expect(8),this.finishNode(X,"EnumBooleanBody")}else if(!U&&!A&&q>=C){for(let D of W.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(D.loc.start,{enumName:V,memberName:D.id.name});return X.members=W.numberMembers,this.expect(8),this.finishNode(X,"EnumNumberBody")}else return this.raise(t.EnumInconsistentMemberValues,Z,{enumName:V}),z()}}}flowParseEnumDeclaration(X){let H=this.parseIdentifier();return X.id=H,X.body=this.flowEnumBody(this.startNode(),H),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 H=this.input.charCodeAt(X+1);return H!==60&&H!==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}},r21={__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"},tG=PG`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:G})=>`Expected corresponding JSX closing tag for <${G}>.`,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:G,HTMLEntity:J})=>`Unexpected token \`${G}\`. Did you mean \`${J}\` or \`{'${G}'}\`?`,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 hG(G){return G?G.type==="JSXOpeningFragment"||G.type==="JSXClosingFragment":!1}function qJ(G){if(G.type==="JSXIdentifier")return G.name;if(G.type==="JSXNamespacedName")return G.namespace.name+":"+G.name.name;if(G.type==="JSXMemberExpression")return qJ(G.object)+"."+qJ(G.property);throw new Error("Node had unexpected type: "+G.type)}var s21=(G)=>class J extends G{jsxReadToken(){let X="",H=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(tG.UnterminatedJsxContent,this.state.startLoc);let V=this.input.charCodeAt(this.state.pos);switch(V){case 60:case 123:if(this.state.pos===this.state.start){if(V===60&&this.state.canStartJSXElement)++this.state.pos,this.finishToken(143);else super.getTokenFromCode(V);return}X+=this.input.slice(H,this.state.pos),this.finishToken(142,X);return;case 38:X+=this.input.slice(H,this.state.pos),X+=this.jsxReadEntity(),H=this.state.pos;break;case 62:case 125:default:if(OJ(V))X+=this.input.slice(H,this.state.pos),X+=this.jsxReadNewLine(!0),H=this.state.pos;else++this.state.pos}}}jsxReadNewLine(X){let H=this.input.charCodeAt(this.state.pos),V;if(++this.state.pos,H===13&&this.input.charCodeAt(this.state.pos)===10)++this.state.pos,V=X?`
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(`
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}\`
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)+`
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:
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,`
14
+ `)}if(this.format.concise)V=V.replace(/\n(?!$)/g,`
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\`.
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)+`
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
21
  `:`\r
21
- `;else V=String.fromCharCode(H);return++this.state.curLine,this.state.lineStart=this.state.pos,V}jsxReadString(X){let H="",V=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(j.UnterminatedString,this.state.startLoc);let Z=this.input.charCodeAt(this.state.pos);if(Z===X)break;if(Z===38)H+=this.input.slice(V,this.state.pos),H+=this.jsxReadEntity(),V=this.state.pos;else if(OJ(Z))H+=this.input.slice(V,this.state.pos),H+=this.jsxReadNewLine(!1),V=this.state.pos;else++this.state.pos}H+=this.input.slice(V,this.state.pos++),this.finishToken(134,H)}jsxReadEntity(){let X=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let H=10;if(this.codePointAtPos(this.state.pos)===120)H=16,++this.state.pos;let V=this.readInt(H,void 0,!1,"bail");if(V!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(V)}else{let H=0,V=!1;while(H++<10&&this.state.pos<this.length&&!(V=this.codePointAtPos(this.state.pos)===59))++this.state.pos;if(V){let Z=this.input.slice(X,this.state.pos),Q=r21[Z];if(++this.state.pos,Q)return Q}}return this.state.pos=X,"&"}jsxReadWord(){let X,H=this.state.pos;do X=this.input.charCodeAt(++this.state.pos);while(jJ(X)||X===45);this.finishToken(141,this.input.slice(H,this.state.pos))}jsxParseIdentifier(){let X=this.startNode();if(this.match(141))X.name=this.state.value;else if(N2(this.state.type))X.name=uG(this.state.type);else this.unexpected();return this.next(),this.finishNode(X,"JSXIdentifier")}jsxParseNamespacedName(){let X=this.state.startLoc,H=this.jsxParseIdentifier();if(!this.eat(14))return H;let V=this.startNodeAt(X);return V.namespace=H,V.name=this.jsxParseIdentifier(),this.finishNode(V,"JSXNamespacedName")}jsxParseElementName(){let X=this.state.startLoc,H=this.jsxParseNamespacedName();if(H.type==="JSXNamespacedName")return H;while(this.eat(16)){let V=this.startNodeAt(X);V.object=H,V.property=this.jsxParseIdentifier(),H=this.finishNode(V,"JSXMemberExpression")}return H}jsxParseAttributeValue(){let X;switch(this.state.type){case 5:if(X=this.startNode(),this.setContext(q1.brace),this.next(),X=this.jsxParseExpressionContainer(X,q1.j_oTag),X.expression.type==="JSXEmptyExpression")this.raise(tG.AttributeIsEmpty,X);return X;case 143:case 134:return this.parseExprAtom();default:throw this.raise(tG.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(q1.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXSpreadChild")}jsxParseExpressionContainer(X,H){if(this.match(8))X.expression=this.jsxParseEmptyExpression();else{let V=this.parseExpression();X.expression=V}return this.setContext(H),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(X,"JSXExpressionContainer")}jsxParseAttribute(){let X=this.startNode();if(this.match(5))return this.setContext(q1.brace),this.next(),this.expect(21),X.argument=this.parseMaybeAssignAllowIn(),this.setContext(q1.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 H=this.startNodeAt(X);if(this.eat(144))return this.finishNode(H,"JSXOpeningFragment");return H.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(H)}jsxParseOpeningElementAfterName(X){let H=[];while(!this.match(56)&&!this.match(144))H.push(this.jsxParseAttribute());return X.attributes=H,X.selfClosing=this.eat(56),this.expect(144),this.finishNode(X,"JSXOpeningElement")}jsxParseClosingElementAt(X){let H=this.startNodeAt(X);if(this.eat(144))return this.finishNode(H,"JSXClosingFragment");return H.name=this.jsxParseElementName(),this.expect(144),this.finishNode(H,"JSXClosingElement")}jsxParseElementAt(X){let H=this.startNodeAt(X),V=[],Z=this.jsxParseOpeningElementAt(X),Q=null;if(!Z.selfClosing){G:for(;;)switch(this.state.type){case 143:if(X=this.state.startLoc,this.next(),this.eat(56)){Q=this.jsxParseClosingElementAt(X);break G}V.push(this.jsxParseElementAt(X));break;case 142:V.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let W=this.startNode();if(this.setContext(q1.brace),this.next(),this.match(21))V.push(this.jsxParseSpreadChild(W));else V.push(this.jsxParseExpressionContainer(W,q1.j_expr));break}default:this.unexpected()}if(hG(Z)&&!hG(Q)&&Q!==null)this.raise(tG.MissingClosingTagFragment,Q);else if(!hG(Z)&&hG(Q))this.raise(tG.MissingClosingTagElement,Q,{openingTagName:qJ(Z.name)});else if(!hG(Z)&&!hG(Q)){if(qJ(Q.name)!==qJ(Z.name))this.raise(tG.MissingClosingTagElement,Q,{openingTagName:qJ(Z.name)})}}if(hG(Z))H.openingFragment=Z,H.closingFragment=Q;else H.openingElement=Z,H.closingElement=Q;if(H.children=V,this.match(47))throw this.raise(tG.UnwrappedAdjacentJSXElements,this.state.startLoc);return hG(Z)?this.finishNode(H,"JSXFragment"):this.finishNode(H,"JSXElement")}jsxParseElement(){let X=this.state.startLoc;return this.next(),this.jsxParseElementAt(X)}setContext(X){let{context:H}=this.state;H[H.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 H=this.curContext();if(H===q1.j_expr){this.jsxReadToken();return}if(H===q1.j_oTag||H===q1.j_cTag){if(IG(X)){this.jsxReadWord();return}if(X===62){++this.state.pos,this.finishToken(144);return}if((X===34||X===39)&&H===q1.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:H,type:V}=this.state;if(V===56&&X===143)H.splice(-2,2,q1.j_cTag),this.state.canStartJSXElement=!1;else if(V===143)H.push(q1.j_oTag);else if(V===144){let Z=H[H.length-1];if(Z===q1.j_oTag&&X===56||Z===q1.j_cTag)H.pop(),this.state.canStartJSXElement=H[H.length-1]===q1.j_expr;else this.setContext(q1.j_expr),this.state.canStartJSXElement=!0}else this.state.canStartJSXElement=K21(V)}};class pV extends Z0{constructor(...G){super(...G);this.tsNames=new Map}}class rV extends Q0{constructor(...G){super(...G);this.importsStack=[]}createScope(G){return this.importsStack.push(new Set),new pV(G)}enter(G){if(G===256)this.importsStack.push(new Set);super.enter(G)}exit(){let G=super.exit();if(G===256)this.importsStack.pop();return G}hasImport(G,J){let X=this.importsStack.length;if(this.importsStack[X-1].has(G))return!0;if(!J&&X>1){for(let H=0;H<X-1;H++)if(this.importsStack[H].has(G))return!0}return!1}declareName(G,J,X){if(J&4096){if(this.hasImport(G,!0))this.parser.raise(j.VarRedeclaration,X,{identifierName:G});this.importsStack[this.importsStack.length-1].add(G);return}let H=this.currentScope(),V=H.tsNames.get(G)||0;if(J&1024){this.maybeExportDefined(H,G),H.tsNames.set(G,V|16);return}if(super.declareName(G,J,X),J&2){if(!(J&1))this.checkRedeclarationInScope(H,G,J,X),this.maybeExportDefined(H,G);V=V|1}if(J&256)V=V|2;if(J&512)V=V|4;if(J&128)V=V|8;if(V)H.tsNames.set(G,V)}isRedeclaredInScope(G,J,X){let H=G.tsNames.get(J);if((H&2)>0){if(X&256){let V=!!(X&512),Z=(H&4)>0;return V!==Z}return!0}if(X&128&&(H&8)>0)if(G.names.get(J)&2)return!!(X&1);else return!1;if(X&2&&(H&1)>0)return!0;return super.isRedeclaredInScope(G,J,X)}checkLocalExport(G){let{name:J}=G;if(this.hasImport(J))return;let X=this.scopeStack.length;for(let H=X-1;H>=0;H--){let Z=this.scopeStack[H].tsNames.get(J);if((Z&1)>0||(Z&16)>0)return}super.checkLocalExport(G)}}var sV=(G)=>{return G.type==="ParenthesizedExpression"?sV(G.expression):G};class dV extends aV{toAssignable(G,J=!1){var X,H;let V=void 0;if(G.type==="ParenthesizedExpression"||(X=G.extra)!=null&&X.parenthesized)if(V=sV(G),J){if(V.type==="Identifier")this.expressionScope.recordArrowParameterBindingError(j.InvalidParenthesizedAssignment,G);else if(V.type!=="MemberExpression"&&!this.isOptionalMemberExpression(V))this.raise(j.InvalidParenthesizedAssignment,G)}else this.raise(j.InvalidParenthesizedAssignment,G);switch(G.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":G.type="ObjectPattern";for(let Q=0,W=G.properties.length,Y=W-1;Q<W;Q++){var Z;let z=G.properties[Q],U=Q===Y;if(this.toAssignableObjectExpressionProp(z,U,J),U&&z.type==="RestElement"&&(Z=G.extra)!=null&&Z.trailingCommaLoc)this.raise(j.RestTrailingComma,G.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:Q,value:W}=G;if(this.isPrivateName(Q))this.classScope.usePrivateName(this.getPrivateNameSV(Q),Q.loc.start);this.toAssignable(W,J);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":G.type="ArrayPattern",this.toAssignableList(G.elements,(H=G.extra)==null?void 0:H.trailingCommaLoc,J);break;case"AssignmentExpression":if(G.operator!=="=")this.raise(j.MissingEqInAssignment,G.left.loc.end);G.type="AssignmentPattern",delete G.operator,this.toAssignable(G.left,J);break;case"ParenthesizedExpression":this.toAssignable(V,J);break}}toAssignableObjectExpressionProp(G,J,X){if(G.type==="ObjectMethod")this.raise(G.kind==="get"||G.kind==="set"?j.PatternHasAccessor:j.PatternHasMethod,G.key);else if(G.type==="SpreadElement"){G.type="RestElement";let H=G.argument;if(this.checkToRestConversion(H,!1),this.toAssignable(H,X),!J)this.raise(j.RestTrailingComma,G)}else this.toAssignable(G,X)}toAssignableList(G,J,X){let H=G.length-1;for(let V=0;V<=H;V++){let Z=G[V];if(!Z)continue;if(Z.type==="SpreadElement"){Z.type="RestElement";let Q=Z.argument;this.checkToRestConversion(Q,!0),this.toAssignable(Q,X)}else this.toAssignable(Z,X);if(Z.type==="RestElement"){if(V<H)this.raise(j.RestTrailingComma,Z);else if(J)this.raise(j.RestTrailingComma,J)}}}isAssignable(G,J){switch(G.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let X=G.properties.length-1;return G.properties.every((H,V)=>{return H.type!=="ObjectMethod"&&(V===X||H.type!=="SpreadElement")&&this.isAssignable(H)})}case"ObjectProperty":return this.isAssignable(G.value);case"SpreadElement":return this.isAssignable(G.argument);case"ArrayExpression":return G.elements.every((X)=>X===null||this.isAssignable(X));case"AssignmentExpression":return G.operator==="=";case"ParenthesizedExpression":return this.isAssignable(G.expression);case"MemberExpression":case"OptionalMemberExpression":return!J;default:return!1}}toReferencedList(G,J){return G}toReferencedListDeep(G,J){this.toReferencedList(G,J);for(let X of G)if((X==null?void 0:X.type)==="ArrayExpression")this.toReferencedListDeep(X.elements)}parseSpread(G){let J=this.startNode();return this.next(),J.argument=this.parseMaybeAssignAllowIn(G,void 0),this.finishNode(J,"SpreadElement")}parseRestBinding(){let G=this.startNode();return this.next(),G.argument=this.parseBindingAtom(),this.finishNode(G,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let G=this.startNode();return this.next(),G.elements=this.parseBindingList(3,93,1),this.finishNode(G,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(G,J,X){let H=X&1,V=[],Z=!0;while(!this.eat(G)){if(Z)Z=!1;else this.expect(12);if(H&&this.match(12))V.push(null);else if(this.eat(G))break;else if(this.match(21)){let Q=this.parseRestBinding();if(this.hasPlugin("flow")||X&2)Q=this.parseFunctionParamType(Q);if(V.push(Q),!this.checkCommaAfterRest(J)){this.expect(G);break}}else{let Q=[];if(this.match(26)&&this.hasPlugin("decorators"))this.raise(j.UnsupportedParameterDecorator,this.state.startLoc);while(this.match(26))Q.push(this.parseDecorator());V.push(this.parseAssignableListItem(X,Q))}}return V}parseBindingRestProperty(G){return this.next(),G.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(G,"RestElement")}parseBindingProperty(){let{type:G,startLoc:J}=this.state;if(G===21)return this.parseBindingRestProperty(this.startNode());let X=this.startNode();if(G===139)this.expectPlugin("destructuringPrivate",J),this.classScope.usePrivateName(this.state.value,J),X.key=this.parsePrivateName();else this.parsePropertyName(X);return X.method=!1,this.parseObjPropValue(X,J,!1,!1,!0,!1)}parseAssignableListItem(G,J){let X=this.parseMaybeDefault();if(this.hasPlugin("flow")||G&2)this.parseFunctionParamType(X);let H=this.parseMaybeDefault(X.loc.start,X);if(J.length)X.decorators=J;return H}parseFunctionParamType(G){return G}parseMaybeDefault(G,J){var X,H;if((X=G)!=null||(G=this.state.startLoc),J=(H=J)!=null?H:this.parseBindingAtom(),!this.eat(29))return J;let V=this.startNodeAt(G);return V.left=J,V.right=this.parseMaybeAssignAllowIn(),this.finishNode(V,"AssignmentPattern")}isValidLVal(G,J,X){switch(G){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(G){return G.type==="OptionalMemberExpression"}checkLVal(G,J,X=64,H=!1,V=!1,Z=!1){var Q;let W=G.type;if(this.isObjectMethod(G))return;let Y=this.isOptionalMemberExpression(G);if(Y||W==="MemberExpression"){if(Y){if(this.expectPlugin("optionalChainingAssign",G.loc.start),J.type!=="AssignmentExpression")this.raise(j.InvalidLhsOptionalChaining,G,{ancestor:J})}if(X!==64)this.raise(j.InvalidPropertyBindingPattern,G);return}if(W==="Identifier"){this.checkIdentifier(G,X,V);let{name:D}=G;if(H)if(H.has(D))this.raise(j.ParamDupe,G);else H.add(D);return}let z=this.isValidLVal(W,!(Z||(Q=G.extra)!=null&&Q.parenthesized)&&J.type==="AssignmentExpression",X);if(z===!0)return;if(z===!1){let D=X===64?j.InvalidLhs:j.InvalidLhsBinding;this.raise(D,G,{ancestor:J});return}let U,q;if(typeof z==="string")U=z,q=W==="ParenthesizedExpression";else[U,q]=z;let A=W==="ArrayPattern"||W==="ObjectPattern"?{type:W}:J,C=G[U];if(Array.isArray(C)){for(let D of C)if(D)this.checkLVal(D,A,X,H,V,q)}else if(C)this.checkLVal(C,A,X,H,V,q)}checkIdentifier(G,J,X=!1){if(this.state.strict&&(X?LV(G.name,this.inModule):wV(G.name)))if(J===64)this.raise(j.StrictEvalArguments,G,{referenceName:G.name});else this.raise(j.StrictEvalArgumentsBinding,G,{bindingName:G.name});if(J&8192&&G.name==="let")this.raise(j.LetInLexicalBinding,G);if(!(J&64))this.declareNameFromIdentifier(G,J)}declareNameFromIdentifier(G,J){this.scope.declareName(G.name,J,G.loc.start)}checkToRestConversion(G,J){switch(G.type){case"ParenthesizedExpression":this.checkToRestConversion(G.expression,J);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(J)break;default:this.raise(j.InvalidRestAssignmentPattern,G)}}checkCommaAfterRest(G){if(!this.match(12))return!1;return this.raise(this.lookaheadCharCode()===G?j.RestTrailingComma:j.ElementAfterRest,this.state.startLoc),!0}}function d21(G){if(G==null)throw new Error(`Unexpected ${G} value.`);return G}function jV(G){if(!G)throw new Error("Assert fail")}var a=PG`typescript`({AbstractMethodHasImplementation:({methodName:G})=>`Method '${G}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:G})=>`Property '${G}' 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:G})=>`'declare' is not allowed in ${G}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:G})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:G})=>`Duplicate modifier: '${G}'.`,EmptyHeritageClauseType:({token:G})=>`'${G}' 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:G})=>`'${G[0]}' modifier cannot be used with '${G[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:G})=>`Index signatures cannot have an accessibility modifier ('${G}').`,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:G})=>`'${G}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:G})=>`'${G}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:G})=>`'${G}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:G})=>`'${G[0]}' modifier must precede '${G[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:G})=>`Private elements cannot have an accessibility modifier ('${G}').`,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:G})=>`Single type parameter ${G} should have a trailing comma. Example usage: <${G},>.`,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:G})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${G}.`});function t21(G){switch(G){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 OV(G){return G==="private"||G==="public"||G==="protected"}function n21(G){return G==="in"||G==="out"}var o21=(G)=>class J extends G{constructor(...X){super(...X);this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:a.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:a.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:a.InvalidModifierOnTypeParameter})}getScopeHandler(){return rV}tsIsIdentifier(){return j1(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,H){if(!j1(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let V=this.state.value;if(X.includes(V)){if(H&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return V}return}tsParseModifiers({allowedModifiers:X,disallowedModifiers:H,stopOnStartOfClassStaticBlock:V,errorTemplate:Z=a.InvalidModifierOnTypeMember},Q){let W=(z,U,q,A)=>{if(U===q&&Q[A])this.raise(a.InvalidModifiersOrder,z,{orderedModifiers:[q,A]})},Y=(z,U,q,A)=>{if(Q[q]&&U===A||Q[A]&&U===q)this.raise(a.IncompatibleModifiers,z,{modifiers:[q,A]})};for(;;){let{startLoc:z}=this.state,U=this.tsParseModifier(X.concat(H!=null?H:[]),V);if(!U)break;if(OV(U))if(Q.accessibility)this.raise(a.DuplicateAccessibilityModifier,z,{modifier:U});else W(z,U,U,"override"),W(z,U,U,"static"),W(z,U,U,"readonly"),Q.accessibility=U;else if(n21(U)){if(Q[U])this.raise(a.DuplicateModifier,z,{modifier:U});Q[U]=!0,W(z,U,"in","out")}else{if(hasOwnProperty.call(Q,U))this.raise(a.DuplicateModifier,z,{modifier:U});else W(z,U,"static","readonly"),W(z,U,"static","override"),W(z,U,"override","readonly"),W(z,U,"abstract","override"),Y(z,U,"declare","override"),Y(z,U,"static","abstract");Q[U]=!0}if(H!=null&&H.includes(U))this.raise(Z,z,{modifier:U})}}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,H){let V=[];while(!this.tsIsListTerminator(X))V.push(H());return V}tsParseDelimitedList(X,H,V){return d21(this.tsParseDelimitedListWorker(X,H,!0,V))}tsParseDelimitedListWorker(X,H,V,Z){let Q=[],W=-1;for(;;){if(this.tsIsListTerminator(X))break;W=-1;let Y=H();if(Y==null)return;if(Q.push(Y),this.eat(12)){W=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(X))break;if(V)this.expect(12);return}if(Z)Z.value=W;return Q}tsParseBracketedList(X,H,V,Z,Q){if(!Z)if(V)this.expect(0);else this.expect(47);let W=this.tsParseDelimitedList(X,H,Q);if(V)this.expect(3);else this.expect(48);return W}tsParseImportType(){let X=this.startNode();if(this.expect(83),this.expect(10),!this.match(134))this.raise(a.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 H;if(X&1&&this.match(78))if(X&2)H=this.parseIdentifier(!0);else{let V=this.startNode();this.next(),H=this.finishNode(V,"ThisExpression")}else H=this.parseIdentifier(!!(X&1));while(this.eat(16)){let V=this.startNodeAtNode(H);V.left=H,V.right=this.parseIdentifier(!!(X&1)),H=this.finishNode(V,"TSQualifiedName")}return H}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 H=this.startNodeAtNode(X);return H.parameterName=X,H.typeAnnotation=this.tsParseTypeAnnotation(!1),H.asserts=!1,this.finishNode(H,"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 H=this.startNode();return X(H),H.name=this.tsParseTypeParameterName(),H.constraint=this.tsEatThenParseType(81),H.default=this.tsEatThenParseType(29),this.finishNode(H,"TSTypeParameter")}tsTryParseTypeParameters(X){if(this.match(47))return this.tsParseTypeParameters(X)}tsParseTypeParameters(X){let H=this.startNode();if(this.match(47)||this.match(143))this.next();else this.unexpected();let V={value:-1};if(H.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,X),!1,!0,V),H.params.length===0)this.raise(a.EmptyTypeParameters,H);if(V.value!==-1)this.addExtra(H,"trailingComma",V.value);return this.finishNode(H,"TSTypeParameterDeclaration")}tsFillSignature(X,H){let V=X===19,Z="parameters",Q="typeAnnotation";if(H.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),H.parameters=this.tsParseBindingListForSignature(),V)H.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X);else if(this.match(X))H.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(X)}tsParseBindingListForSignature(){let X=super.parseBindingList(11,41,2);for(let H of X){let{type:V}=H;if(V==="AssignmentPattern"||V==="TSParameterProperty")this.raise(a.UnsupportedSignatureParameterKind,H,{type:V})}return X}tsParseTypeMemberSemicolon(){if(!this.eat(12)&&!this.isLineTerminator())this.expect(13)}tsParseSignatureMember(X,H){return this.tsFillSignature(14,H),this.tsParseTypeMemberSemicolon(),this.finishNode(H,X)}tsIsUnambiguouslyIndexSignature(){if(this.next(),j1(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 H=this.parseIdentifier();H.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(H),this.expect(3),X.parameters=[H];let V=this.tsTryParseTypeAnnotation();if(V)X.typeAnnotation=V;return this.tsParseTypeMemberSemicolon(),this.finishNode(X,"TSIndexSignature")}tsParsePropertyOrMethodSignature(X,H){if(this.eat(17))X.optional=!0;let V=X;if(this.match(10)||this.match(47)){if(H)this.raise(a.ReadonlyForMethodSignature,X);let Z=V;if(Z.kind&&this.match(47))this.raise(a.AccessorCannotHaveTypeParameters,this.state.curPosition());this.tsFillSignature(14,Z),this.tsParseTypeMemberSemicolon();let Q="parameters",W="typeAnnotation";if(Z.kind==="get"){if(Z[Q].length>0){if(this.raise(j.BadGetterArity,this.state.curPosition()),this.isThisParam(Z[Q][0]))this.raise(a.AccessorCannotDeclareThisParameter,this.state.curPosition())}}else if(Z.kind==="set"){if(Z[Q].length!==1)this.raise(j.BadSetterArity,this.state.curPosition());else{let Y=Z[Q][0];if(this.isThisParam(Y))this.raise(a.AccessorCannotDeclareThisParameter,this.state.curPosition());if(Y.type==="Identifier"&&Y.optional)this.raise(a.SetAccessorCannotHaveOptionalParameter,this.state.curPosition());if(Y.type==="RestElement")this.raise(a.SetAccessorCannotHaveRestParameter,this.state.curPosition())}if(Z[W])this.raise(a.SetAccessorCannotHaveReturnType,Z[W])}else Z.kind="method";return this.finishNode(Z,"TSMethodSignature")}else{let Z=V;if(H)Z.readonly=!0;let Q=this.tsTryParseTypeAnnotation();if(Q)Z.typeAnnotation=Q;return this.tsParseTypeMemberSemicolon(),this.finishNode(Z,"TSPropertySignature")}}tsParseTypeMember(){let X=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",X);if(this.match(77)){let V=this.startNode();if(this.next(),this.match(10)||this.match(47))return this.tsParseSignatureMember("TSConstructSignatureDeclaration",X);else return X.key=this.createIdentifier(V,"new"),this.tsParsePropertyOrMethodSignature(X,!1)}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},X);let H=this.tsTryParseIndexSignature(X);if(H)return H;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 H=this.startNode();H.name=this.tsParseTypeParameterName(),H.constraint=this.tsExpectThenParseType(58),X.typeParameter=this.finishNode(H,"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 H=!1;return X.elementTypes.forEach((V)=>{let{type:Z}=V;if(H&&Z!=="TSRestType"&&Z!=="TSOptionalType"&&!(Z==="TSNamedTupleMember"&&V.optional))this.raise(a.OptionalTypeBeforeRequired,V);H||(H=Z==="TSNamedTupleMember"&&V.optional||Z==="TSOptionalType")}),this.finishNode(X,"TSTupleType")}tsParseTupleElementType(){let{startLoc:X}=this.state,H=this.eat(21),V,Z,Q,W,z=WG(this.state.type)?this.lookaheadCharCode():null;if(z===58)V=!0,Q=!1,Z=this.parseIdentifier(!0),this.expect(14),W=this.tsParseType();else if(z===63){Q=!0;let U=this.state.startLoc,q=this.state.value,A=this.tsParseNonArrayType();if(this.lookaheadCharCode()===58)V=!0,Z=this.createIdentifier(this.startNodeAt(U),q),this.expect(17),this.expect(14),W=this.tsParseType();else V=!1,W=A,this.expect(17)}else W=this.tsParseType(),Q=this.eat(17),V=this.eat(14);if(V){let U;if(Z){if(U=this.startNodeAtNode(Z),U.optional=Q,U.label=Z,U.elementType=W,this.eat(17))U.optional=!0,this.raise(a.TupleOptionalAfterType,this.state.lastTokStartLoc)}else U=this.startNodeAtNode(W),U.optional=Q,this.raise(a.InvalidTupleMemberLabel,W),U.label=W,U.elementType=this.tsParseType();W=this.finishNode(U,"TSNamedTupleMember")}else if(Q){let U=this.startNodeAtNode(W);U.typeAnnotation=W,W=this.finishNode(U,"TSOptionalType")}if(H){let U=this.startNodeAt(X);U.typeAnnotation=W,W=this.finishNode(U,"TSRestType")}return W}tsParseParenthesizedType(){let X=this.startNode();return this.expect(10),X.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(X,"TSParenthesizedType")}tsParseFunctionOrConstructorType(X,H){let V=this.startNode();if(X==="TSConstructorType"){if(V.abstract=!!H,H)this.next();this.next()}return this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,V)),this.finishNode(V,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(),H=this.lookahead();if(H.type!==135&&H.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(j1(X)||X===88||X===84){let H=X===88?"TSVoidKeyword":X===84?"TSNullKeyword":t21(this.state.value);if(H!==void 0&&this.lookaheadCharCode()!==46){let V=this.startNode();return this.next(),this.finishNode(V,H)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let X=this.tsParseNonArrayType();while(!this.hasPrecedingLineBreak()&&this.eat(0))if(this.match(3)){let H=this.startNodeAtNode(X);H.elementType=X,this.expect(3),X=this.finishNode(H,"TSArrayType")}else{let H=this.startNodeAtNode(X);H.objectType=X,H.indexType=this.tsParseType(),this.expect(3),X=this.finishNode(H,"TSIndexedAccessType")}return X}tsParseTypeOperator(){let X=this.startNode(),H=this.state.value;if(this.next(),X.operator=H,X.typeAnnotation=this.tsParseTypeOperatorOrHigher(),H==="readonly")this.tsCheckTypeAnnotationForReadOnly(X);return this.finishNode(X,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(X){switch(X.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(a.UnexpectedReadonly,X)}}tsParseInferType(){let X=this.startNode();this.expectContextual(115);let H=this.startNode();return H.name=this.tsParseTypeParameterName(),H.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),X.typeParameter=this.finishNode(H,"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 F21(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(X,H,V){let Z=this.startNode(),Q=this.eat(V),W=[];do W.push(H());while(this.eat(V));if(W.length===1&&!Q)return W[0];return Z.types=W,this.finishNode(Z,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(j1(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:X}=this.state,H=X.length;try{return this.parseObjectLike(8,!0),X.length===H}catch(V){return!1}}if(this.match(0)){this.next();let{errors:X}=this.state,H=X.length;try{return super.parseBindingList(3,93,1),X.length===H}catch(V){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 H=this.startNode();this.expect(X);let V=this.startNode(),Z=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(Z&&this.match(78)){let Y=this.tsParseThisTypeOrThisTypePredicate();if(Y.type==="TSThisType")V.parameterName=Y,V.asserts=!0,V.typeAnnotation=null,Y=this.finishNode(V,"TSTypePredicate");else this.resetStartLocationFromNode(Y,V),Y.asserts=!0;return H.typeAnnotation=Y,this.finishNode(H,"TSTypeAnnotation")}let Q=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Q){if(!Z)return this.tsParseTypeAnnotation(!1,H);return V.parameterName=this.parseIdentifier(),V.asserts=Z,V.typeAnnotation=null,H.typeAnnotation=this.finishNode(V,"TSTypePredicate"),this.finishNode(H,"TSTypeAnnotation")}let W=this.tsParseTypeAnnotation(!1);return V.parameterName=Q,V.typeAnnotation=W,V.asserts=Z,H.typeAnnotation=this.finishNode(V,"TSTypePredicate"),this.finishNode(H,"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(),!j1(this.state.type)&&!this.match(78))return!1;if(X)this.raise(j.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"});return!0}tsParseTypeAnnotation(X=!0,H=this.startNode()){return this.tsInType(()=>{if(X)this.expect(14);H.typeAnnotation=this.tsParseType()}),this.finishNode(H,"TSTypeAnnotation")}tsParseType(){jV(this.state.inType);let X=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return X;let H=this.startNodeAtNode(X);return H.checkType=X,H.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),H.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),H.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(H,"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(a.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 H=this.state.startLoc,V=this.tsParseDelimitedList("HeritageClauseElement",()=>{let Z=this.startNode();{if(Z.expression=this.tsParseEntityName(3),this.match(47))Z.typeParameters=this.tsParseTypeArguments();return this.finishNode(Z,"TSExpressionWithTypeArguments")}});if(!V.length)this.raise(a.EmptyHeritageClauseType,H,{token:X});return V}tsParseInterfaceDeclaration(X,H={}){if(this.hasFollowingLineBreak())return null;if(this.expectContextual(129),H.declare)X.declare=!0;if(j1(this.state.type))X.id=this.parseIdentifier(),this.checkIdentifier(X.id,130);else X.id=null,this.raise(a.MissingInterfaceName,this.state.startLoc);if(X.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81))X.extends=this.tsParseHeritageClause("extends");let V=this.startNode();return V.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),X.body=this.finishNode(V,"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 H=this.startNode();return this.next(),this.finishNode(H,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(X,"TSTypeAliasDeclaration")}tsInTopLevelContext(X){if(this.curContext()!==q1.brace){let H=this.state.context;this.state.context=[H[0]];try{return X()}finally{this.state.context=H}}else return X()}tsInType(X){let H=this.state.inType;this.state.inType=!0;try{return X()}finally{this.state.inType=H}}tsInDisallowConditionalTypesContext(X){let H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}tsInAllowConditionalTypesContext(X){let H=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return X()}finally{this.state.inDisallowConditionalTypesContext=H}}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,H={}){if(H.const)X.const=!0;if(H.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,H=!1){if(X.id=this.parseIdentifier(),!H)this.checkIdentifier(X.id,1024);if(this.eat(16)){let V=this.startNode();this.tsParseModuleOrNamespaceDeclaration(V,!0),X.body=V}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,H,V){X.isExport=V||!1,X.id=H||this.parseIdentifier(),this.checkIdentifier(X.id,4096),this.expect(29);let Z=this.tsParseModuleReference();if(X.importKind==="type"&&Z.type!=="TSExternalModuleReference")this.raise(a.ImportAliasHasImportType,Z);return X.moduleReference=Z,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 H=this.state.clone(),V=X();return this.state=H,V}tsTryParseAndCatch(X){let H=this.tryParse((V)=>X()||V());if(H.aborted||!H.node)return;if(H.error)this.state=H.failState;return H.node}tsTryParse(X){let H=this.state.clone(),V=X();if(V!==void 0&&V!==!1)return V;this.state=H}tsTryParseDeclare(X){if(this.isLineTerminator())return;let H=this.state.type,V;if(this.isContextual(100))H=74,V="let";return this.tsInAmbientContext(()=>{switch(H){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,V||this.state.value,!0);return this.expect(75),this.tsParseEnumDeclaration(X,{const:!0,declare:!0});case 129:{let Z=this.tsParseInterfaceDeclaration(X,{declare:!0});if(Z)return Z}default:if(j1(H))return this.tsParseDeclaration(X,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(X,H,V){switch(H.name){case"declare":{let Z=this.tsTryParseDeclare(X);if(Z)Z.declare=!0;return Z}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let Z=X;return Z.kind="global",X.global=!0,Z.id=H,Z.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(Z,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(X,H.name,!1,V)}}tsParseDeclaration(X,H,V,Z){switch(H){case"abstract":if(this.tsCheckLineTerminator(V)&&(this.match(80)||j1(this.state.type)))return this.tsParseAbstractDeclaration(X,Z);break;case"module":if(this.tsCheckLineTerminator(V)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(X);else if(j1(this.state.type))return X.kind="module",this.tsParseModuleOrNamespaceDeclaration(X)}break;case"namespace":if(this.tsCheckLineTerminator(V)&&j1(this.state.type))return X.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(X);break;case"type":if(this.tsCheckLineTerminator(V)&&j1(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 H=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let V=this.tsTryParseAndCatch(()=>{let Z=this.startNodeAt(X);return Z.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(Z),Z.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),Z});if(this.state.maybeInArrowParameters=H,!V)return;return super.parseArrowExpression(V,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(a.EmptyTypeArguments,X);else if(!this.state.inType&&this.curContext()===q1.brace)this.reScan_lt_gt();return this.expect(48),this.finishNode(X,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return q21(this.state.type)}isExportDefaultSpecifier(){if(this.tsIsDeclarationStart())return!1;return super.isExportDefaultSpecifier()}parseAssignableListItem(X,H){let V=this.state.startLoc,Z={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},Z);let{accessibility:Q,override:W,readonly:Y}=Z;if(!(X&4)&&(Q||Y||W))this.raise(a.UnexpectedParameterModifier,V);let z=this.parseMaybeDefault();if(X&2)this.parseFunctionParamType(z);let U=this.parseMaybeDefault(z.loc.start,z);if(Q||Y||W){let q=this.startNodeAt(V);if(H.length)q.decorators=H;if(Q)q.accessibility=Q;if(Y)q.readonly=Y;if(W)q.override=W;if(U.type!=="Identifier"&&U.type!=="AssignmentPattern")this.raise(a.UnsupportedParameterPropertyKind,q);return q.parameter=U,this.finishNode(q,"TSParameterProperty")}if(H.length)z.decorators=H;return U}isSimpleParameter(X){return X.type==="TSParameterProperty"&&super.isSimpleParameter(X.parameter)||super.isSimpleParameter(X)}tsDisallowOptionalPattern(X){for(let H of X.params)if(H.type!=="Identifier"&&H.optional&&!this.state.isAmbientContext)this.raise(a.PatternIsOptional,H)}setArrowFunctionParameters(X,H,V){super.setArrowFunctionParameters(X,H,V),this.tsDisallowOptionalPattern(X)}parseFunctionBodyAndFinish(X,H,V=!1){if(this.match(14))X.returnType=this.tsParseTypeOrTypePredicateAnnotation(14);let Z=H==="FunctionDeclaration"?"TSDeclareFunction":H==="ClassMethod"||H==="ClassPrivateMethod"?"TSDeclareMethod":void 0;if(Z&&!this.match(5)&&this.isLineTerminator())return this.finishNode(X,Z);if(Z==="TSDeclareFunction"&&this.state.isAmbientContext){if(this.raise(a.DeclareFunctionHasImplementation,X),X.declare)return super.parseFunctionBodyAndFinish(X,Z,V)}return this.tsDisallowOptionalPattern(X),super.parseFunctionBodyAndFinish(X,H,V)}registerFunctionStatementId(X){if(!X.body&&X.id)this.checkIdentifier(X.id,1024);else super.registerFunctionStatementId(X)}tsCheckForInvalidTypeCasts(X){X.forEach((H)=>{if((H==null?void 0:H.type)==="TSTypeCastExpression")this.raise(a.UnexpectedTypeAnnotation,H.typeAnnotation)})}toReferencedList(X,H){return this.tsCheckForInvalidTypeCasts(X),X}parseArrayLike(X,H,V,Z){let Q=super.parseArrayLike(X,H,V,Z);if(Q.type==="ArrayExpression")this.tsCheckForInvalidTypeCasts(Q.elements);return Q}parseSubscript(X,H,V,Z){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let W=this.startNodeAt(H);return W.expression=X,this.finishNode(W,"TSNonNullExpression")}let Q=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(V)return Z.stop=!0,X;Z.optionalChainMember=Q=!0,this.next()}if(this.match(47)||this.match(51)){let W,Y=this.tsTryParseAndCatch(()=>{if(!V&&this.atPossibleAsyncArrow(X)){let A=this.tsTryParseGenericAsyncArrowFunction(H);if(A)return A}let z=this.tsParseTypeArgumentsInExpression();if(!z)return;if(Q&&!this.match(10)){W=this.state.curPosition();return}if(V0(this.state.type)){let A=super.parseTaggedTemplateExpression(X,H,Z);return A.typeParameters=z,A}if(!V&&this.eat(10)){let A=this.startNodeAt(H);if(A.callee=X,A.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(A.arguments),A.typeParameters=z,Z.optionalChainMember)A.optional=Q;return this.finishCallExpression(A,Z.optionalChainMember)}let U=this.state.type;if(U===48||U===52||U!==10&&q2(U)&&!this.hasPrecedingLineBreak())return;let q=this.startNodeAt(H);return q.expression=X,q.typeParameters=z,this.finishNode(q,"TSInstantiationExpression")});if(W)this.unexpected(W,10);if(Y){if(Y.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40))this.raise(a.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc);return Y}}return super.parseSubscript(X,H,V,Z)}parseNewCallee(X){var H;super.parseNewCallee(X);let{callee:V}=X;if(V.type==="TSInstantiationExpression"&&!((H=V.extra)!=null&&H.parenthesized))X.typeParameters=V.typeParameters,X.callee=V.expression}parseExprOp(X,H,V){let Z;if(X0(58)>V&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(Z=this.isContextual(120)))){let Q=this.startNodeAt(H);return Q.expression=X,Q.typeAnnotation=this.tsInType(()=>{if(this.next(),this.match(75)){if(Z)this.raise(j.UnexpectedKeyword,this.state.startLoc,{keyword:"const"});return this.tsParseTypeReference()}return this.tsParseType()}),this.finishNode(Q,Z?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Q,H,V)}return super.parseExprOp(X,H,V)}checkReservedWord(X,H,V,Z){if(!this.state.isAmbientContext)super.checkReservedWord(X,H,V,Z)}checkImportReflection(X){if(super.checkImportReflection(X),X.module&&X.importKind!=="value")this.raise(a.ImportReflectionHasImportType,X.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(X){if(super.isPotentialImportPhase(X))return!0;if(this.isContextual(130)){let H=this.lookaheadCharCode();return X?H===123||H===42:H!==61}return!X&&this.isContextual(87)}applyImportPhase(X,H,V,Z){if(super.applyImportPhase(X,H,V,Z),H)X.exportKind=V==="type"?"type":"value";else X.importKind=V==="type"||V==="typeof"?V:"value"}parseImport(X){if(this.match(134))return X.importKind="value",super.parseImport(X);let H;if(j1(this.state.type)&&this.lookaheadCharCode()===61)return X.importKind="value",this.tsParseImportEqualsDeclaration(X);else if(this.isContextual(130)){let V=this.parseMaybeImportPhase(X,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(X,V);else H=super.parseImportSpecifiersAndAfter(X,V)}else H=super.parseImport(X);if(H.importKind==="type"&&H.specifiers.length>1&&H.specifiers[0].type==="ImportDefaultSpecifier")this.raise(a.TypeImportCannotSpecifyDefaultAndNamed,H);return H}parseExport(X,H){if(this.match(83)){this.next();let V=X,Z=null;if(this.isContextual(130)&&this.isPotentialImportPhase(!1))Z=this.parseMaybeImportPhase(V,!1);else V.importKind="value";return this.tsParseImportEqualsDeclaration(V,Z,!0)}else if(this.eat(29)){let V=X;return V.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(V,"TSExportAssignment")}else if(this.eatContextual(93)){let V=X;return this.expectContextual(128),V.id=this.parseIdentifier(),this.semicolon(),this.finishNode(V,"TSNamespaceExportDeclaration")}else return super.parseExport(X,H)}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,H,V=!1){let{isAmbientContext:Z}=this.state,Q=super.parseVarStatement(X,H,V||Z);if(!Z)return Q;for(let{id:W,init:Y}of Q.declarations){if(!Y)continue;if(H!=="const"||!!W.typeAnnotation)this.raise(a.InitializerNotAllowedInAmbientContext,Y);else if(!G61(Y,this.hasPlugin("estree")))this.raise(a.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,Y)}return Q}parseStatementContent(X,H){if(this.match(75)&&this.isLookaheadContextual("enum")){let V=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(V,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let V=this.tsParseInterfaceDeclaration(this.startNode());if(V)return V}return super.parseStatementContent(X,H)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(X,H){return H.some((V)=>{if(OV(V))return X.accessibility===V;return!!X[V]})}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(X,H,V){let Z=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:Z,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:a.InvalidModifierOnTypeParameterPositions},H);let Q=()=>{if(this.tsIsStartOfStaticBlocks()){if(this.next(),this.next(),this.tsHasSomeModifiers(H,Z))this.raise(a.StaticBlockCannotHaveModifier,this.state.curPosition());super.parseClassStaticBlock(X,H)}else this.parseClassMemberWithIsStatic(X,H,V,!!H.static)};if(H.declare)this.tsInAmbientContext(Q);else Q()}parseClassMemberWithIsStatic(X,H,V,Z){let Q=this.tsTryParseIndexSignature(H);if(Q){if(X.body.push(Q),H.abstract)this.raise(a.IndexSignatureHasAbstract,H);if(H.accessibility)this.raise(a.IndexSignatureHasAccessibility,H,{modifier:H.accessibility});if(H.declare)this.raise(a.IndexSignatureHasDeclare,H);if(H.override)this.raise(a.IndexSignatureHasOverride,H);return}if(!this.state.inAbstractClass&&H.abstract)this.raise(a.NonAbstractClassHasAbstractMethod,H);if(H.override){if(!V.hadSuperClass)this.raise(a.OverrideNotInSubClass,H)}super.parseClassMemberWithIsStatic(X,H,V,Z)}parsePostMemberNameModifiers(X){if(this.eat(17))X.optional=!0;if(X.readonly&&this.match(10))this.raise(a.ClassMethodHasReadonly,X);if(X.declare&&this.match(10))this.raise(a.ClassMethodHasDeclare,X)}parseExpressionStatement(X,H,V){return(H.type==="Identifier"?this.tsParseExpressionStatement(X,H,V):void 0)||super.parseExpressionStatement(X,H,V)}shouldParseExportDeclaration(){if(this.tsIsDeclarationStart())return!0;return super.shouldParseExportDeclaration()}parseConditional(X,H,V){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(X,H,V);let Z=this.tryParse(()=>super.parseConditional(X,H));if(!Z.node){if(Z.error)super.setOptionalParametersError(V,Z.error);return X}if(Z.error)this.state=Z.failState;return Z.node}parseParenItem(X,H){let V=super.parseParenItem(X,H);if(this.eat(17))V.optional=!0,this.resetEndLocation(X);if(this.match(14)){let Z=this.startNodeAt(H);return Z.expression=X,Z.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(Z,"TSTypeCastExpression")}return X}parseExportDeclaration(X){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(X));let H=this.state.startLoc,V=this.eatContextual(125);if(V&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(a.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let Q=j1(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(X);if(!Q)return null;if(Q.type==="TSInterfaceDeclaration"||Q.type==="TSTypeAliasDeclaration"||V)X.exportKind="type";if(V)this.resetStartLocation(Q,H),Q.declare=!0;return Q}parseClassId(X,H,V,Z){if((!H||V)&&this.isContextual(113))return;super.parseClassId(X,H,V,X.declare?1024:8331);let Q=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);if(Q)X.typeParameters=Q}parseClassPropertyAnnotation(X){if(!X.optional){if(this.eat(35))X.definite=!0;else if(this.eat(17))X.optional=!0}let H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H}parseClassProperty(X){if(this.parseClassPropertyAnnotation(X),this.state.isAmbientContext&&!(X.readonly&&!X.typeAnnotation)&&this.match(29))this.raise(a.DeclareClassFieldHasInitializer,this.state.startLoc);if(X.abstract&&this.match(29)){let{key:H}=X;this.raise(a.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:H.type==="Identifier"&&!X.computed?H.name:`[${this.input.slice(this.offsetToSourcePos(H.start),this.offsetToSourcePos(H.end))}]`})}return super.parseClassProperty(X)}parseClassPrivateProperty(X){if(X.abstract)this.raise(a.PrivateElementHasAbstract,X);if(X.accessibility)this.raise(a.PrivateElementHasAccessibility,X,{modifier:X.accessibility});return this.parseClassPropertyAnnotation(X),super.parseClassPrivateProperty(X)}parseClassAccessorProperty(X){if(this.parseClassPropertyAnnotation(X),X.optional)this.raise(a.AccessorCannotBeOptional,X);return super.parseClassAccessorProperty(X)}pushClassMethod(X,H,V,Z,Q,W){let Y=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Y&&Q)this.raise(a.ConstructorHasTypeParameters,Y);let{declare:z=!1,kind:U}=H;if(z&&(U==="get"||U==="set"))this.raise(a.DeclareAccessor,H,{kind:U});if(Y)H.typeParameters=Y;super.pushClassMethod(X,H,V,Z,Q,W)}pushClassPrivateMethod(X,H,V,Z){let Q=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(Q)H.typeParameters=Q;super.pushClassPrivateMethod(X,H,V,Z)}declareClassPrivateMethodInScope(X,H){if(X.type==="TSDeclareMethod")return;if(X.type==="MethodDefinition"&&!hasOwnProperty.call(X.value,"body"))return;super.declareClassPrivateMethodInScope(X,H)}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,H,V,Z,Q,W,Y){let z=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(z)X.typeParameters=z;return super.parseObjPropValue(X,H,V,Z,Q,W,Y)}parseFunctionParams(X,H){let V=this.tsTryParseTypeParameters(this.tsParseConstModifier);if(V)X.typeParameters=V;super.parseFunctionParams(X,H)}parseVarId(X,H){if(super.parseVarId(X,H),X.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35))X.definite=!0;let V=this.tsTryParseTypeAnnotation();if(V)X.id.typeAnnotation=V,this.resetEndLocation(X.id)}parseAsyncArrowFromCallExpression(X,H){if(this.match(14))X.returnType=this.tsParseTypeAnnotation();return super.parseAsyncArrowFromCallExpression(X,H)}parseMaybeAssign(X,H){var V,Z,Q,W,Y;let z,U,q;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(z=this.state.clone(),U=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!U.error)return U.node;let{context:D}=this.state,L=D[D.length-1];if(L===q1.j_oTag||L===q1.j_expr)D.pop()}if(!((V=U)!=null&&V.error)&&!this.match(47))return super.parseMaybeAssign(X,H);if(!z||z===this.state)z=this.state.clone();let A,C=this.tryParse((D)=>{var L,P;A=this.tsParseTypeParameters(this.tsParseConstModifier);let w=super.parseMaybeAssign(X,H);if(w.type!=="ArrowFunctionExpression"||(L=w.extra)!=null&&L.parenthesized)D();if(((P=A)==null?void 0:P.params.length)!==0)this.resetStartLocationFromNode(w,A);return w.typeParameters=A,w},z);if(!C.error&&!C.aborted){if(A)this.reportReservedArrowTypeParam(A);return C.node}if(!U){if(jV(!this.hasPlugin("jsx")),q=this.tryParse(()=>super.parseMaybeAssign(X,H),z),!q.error)return q.node}if((Z=U)!=null&&Z.node)return this.state=U.failState,U.node;if(C.node){if(this.state=C.failState,A)this.reportReservedArrowTypeParam(A);return C.node}if((Q=q)!=null&&Q.node)return this.state=q.failState,q.node;throw((W=U)==null?void 0:W.error)||C.error||((Y=q)==null?void 0:Y.error)}reportReservedArrowTypeParam(X){var H;if(X.params.length===1&&!X.params[0].constraint&&!((H=X.extra)!=null&&H.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike"))this.raise(a.ReservedArrowTypeParam,X)}parseMaybeUnary(X,H){if(!this.hasPlugin("jsx")&&this.match(47))return this.tsParseTypeAssertion();return super.parseMaybeUnary(X,H)}parseArrow(X){if(this.match(14)){let H=this.tryParse((V)=>{let Z=this.tsParseTypeOrTypePredicateAnnotation(14);if(this.canInsertSemicolon()||!this.match(19))V();return Z});if(H.aborted)return;if(!H.thrown){if(H.error)this.state=H.failState;X.returnType=H.node}}return super.parseArrow(X)}parseFunctionParamType(X){if(this.eat(17))X.optional=!0;let H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H;return this.resetEndLocation(X),X}isAssignable(X,H){switch(X.type){case"TSTypeCastExpression":return this.isAssignable(X.expression,H);case"TSParameterProperty":return!0;default:return super.isAssignable(X,H)}}toAssignable(X,H=!1){switch(X.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(X,H);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":if(H)this.expressionScope.recordArrowParameterBindingError(a.UnexpectedTypeCastInParameter,X);else this.raise(a.UnexpectedTypeCastInParameter,X);this.toAssignable(X.expression,H);break;case"AssignmentExpression":if(!H&&X.left.type==="TSTypeCastExpression")X.left=this.typeCastToParameter(X.left);default:super.toAssignable(X,H)}}toAssignableParenthesizedExpression(X,H){switch(X.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(X.expression,H);break;default:super.toAssignable(X,H)}}checkToRestConversion(X,H){switch(X.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(X.expression,!1);break;default:super.checkToRestConversion(X,H)}}isValidLVal(X,H,V){switch(X){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(V!==64||!H)&&["expression",!0];default:return super.isValidLVal(X,H,V)}}parseBindingAtom(){if(this.state.type===78)return this.parseIdentifier(!0);return super.parseBindingAtom()}parseMaybeDecoratorArguments(X,H){if(this.match(47)||this.match(51)){let V=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let Z=super.parseMaybeDecoratorArguments(X,H);return Z.typeParameters=V,Z}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(X,H)}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,H){let V=super.parseMaybeDefault(X,H);if(V.type==="AssignmentPattern"&&V.typeAnnotation&&V.right.start<V.typeAnnotation.start)this.raise(a.TypeAnnotationAfterAssign,V.typeAnnotation);return V}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,H,V){for(let Z=0;Z<X.length;Z++){let Q=X[Z];if((Q==null?void 0:Q.type)==="TSTypeCastExpression")X[Z]=this.typeCastToParameter(Q)}super.toAssignableList(X,H,V)}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((H)=>this.isAssignable(H,!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 H=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());if(H)X.typeParameters=H}return super.jsxParseOpeningElementAfterName(X)}getGetterSetterExpectedParamCount(X){let H=super.getGetterSetterExpectedParamCount(X),Z=this.getObjectOrClassMethodParams(X)[0];return Z&&this.isThisParam(Z)?H+1:H}parseCatchClauseParam(){let X=super.parseCatchClauseParam(),H=this.tsTryParseTypeAnnotation();if(H)X.typeAnnotation=H,this.resetEndLocation(X);return X}tsInAmbientContext(X){let{isAmbientContext:H,strict:V}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return X()}finally{this.state.isAmbientContext=H,this.state.strict=V}}parseClass(X,H,V){let Z=this.state.inAbstractClass;this.state.inAbstractClass=!!X.abstract;try{return super.parseClass(X,H,V)}finally{this.state.inAbstractClass=Z}}tsParseAbstractDeclaration(X,H){if(this.match(80))return X.abstract=!0,this.maybeTakeDecorators(H,this.parseClass(X,!0,!1));else if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return X.abstract=!0,this.raise(a.NonClassMethodPropertyHasAbstractModifer,X),this.tsParseInterfaceDeclaration(X)}else this.unexpected(null,80)}parseMethod(X,H,V,Z,Q,W,Y){let z=super.parseMethod(X,H,V,Z,Q,W,Y);if(z.abstract){if((this.hasPlugin("estree")?z.value:z).body){let{key:A}=z;this.raise(a.AbstractMethodHasImplementation,z,{methodName:A.type==="Identifier"&&!z.computed?A.name:`[${this.input.slice(this.offsetToSourcePos(A.start),this.offsetToSourcePos(A.end))}]`})}}return z}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,H,V,Z){if(!H&&Z)return this.parseTypeOnlyImportExportSpecifier(X,!1,V),this.finishNode(X,"ExportSpecifier");return X.exportKind="value",super.parseExportSpecifier(X,H,V,Z)}parseImportSpecifier(X,H,V,Z,Q){if(!H&&Z)return this.parseTypeOnlyImportExportSpecifier(X,!0,V),this.finishNode(X,"ImportSpecifier");return X.importKind="value",super.parseImportSpecifier(X,H,V,Z,V?4098:4096)}parseTypeOnlyImportExportSpecifier(X,H,V){let Z=H?"imported":"local",Q=H?"local":"exported",W=X[Z],Y,z=!1,U=!0,q=W.loc.start;if(this.isContextual(93)){let C=this.parseIdentifier();if(this.isContextual(93)){let D=this.parseIdentifier();if(WG(this.state.type))z=!0,W=C,Y=H?this.parseIdentifier():this.parseModuleExportName(),U=!1;else Y=D,U=!1}else if(WG(this.state.type))U=!1,Y=H?this.parseIdentifier():this.parseModuleExportName();else z=!0,W=C}else if(WG(this.state.type))if(z=!0,H){if(W=this.parseIdentifier(!0),!this.isContextual(93))this.checkReservedWord(W.name,W.loc.start,!0,!0)}else W=this.parseModuleExportName();if(z&&V)this.raise(H?a.TypeModifierIsUsedInTypeImports:a.TypeModifierIsUsedInTypeExports,q);X[Z]=W,X[Q]=Y;let A=H?"importKind":"exportKind";if(X[A]=z?"type":"value",U&&this.eatContextual(93))X[Q]=H?this.parseIdentifier():this.parseModuleExportName();if(!X[Q])X[Q]=TG(X[Z]);if(H)this.checkIdentifier(X[Q],z?4098:4096)}};function e21(G){if(G.type!=="MemberExpression")return!1;let{computed:J,property:X}=G;if(J&&X.type!=="StringLiteral"&&(X.type!=="TemplateLiteral"||X.expressions.length>0))return!1;return nV(G.object)}function G61(G,J){var X;let{type:H}=G;if((X=G.extra)!=null&&X.parenthesized)return!1;if(J){if(H==="Literal"){let{value:V}=G;if(typeof V==="string"||typeof V==="boolean")return!0}}else if(H==="StringLiteral"||H==="BooleanLiteral")return!0;if(tV(G,J)||J61(G,J))return!0;if(H==="TemplateLiteral"&&G.expressions.length===0)return!0;if(e21(G))return!0;return!1}function tV(G,J){if(J)return G.type==="Literal"&&(typeof G.value==="number"||("bigint"in G));return G.type==="NumericLiteral"||G.type==="BigIntLiteral"}function J61(G,J){if(G.type==="UnaryExpression"){let{operator:X,argument:H}=G;if(X==="-"&&tV(H,J))return!0}return!1}function nV(G){if(G.type==="Identifier")return!0;if(G.type!=="MemberExpression"||G.computed)return!1;return nV(G.object)}var AV=PG`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),X61=(G)=>class J extends G{parsePlaceholder(X){if(this.match(133)){let H=this.startNode();return this.next(),this.assertNoSpace(),H.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(H,X)}}finishPlaceholder(X,H){let V=X;if(!V.expectedNode||!V.type)V=this.finishNode(V,"Placeholder");return V.expectedNode=H,V}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,H,V,Z){if(X!==void 0)super.checkReservedWord(X,H,V,Z)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(X,H,V){return X==="Placeholder"||super.isValidLVal(X,H,V)}toAssignable(X,H){if(X&&X.type==="Placeholder"&&X.expectedNode==="Expression")X.expectedNode="Pattern";else super.toAssignable(X,H)}chStartsBindingIdentifier(X,H){if(super.chStartsBindingIdentifier(X,H))return!0;if(this.lookahead().type===133)return!0;return!1}verifyBreakContinue(X,H){if(X.label&&X.label.type==="Placeholder")return;super.verifyBreakContinue(X,H)}parseExpressionStatement(X,H){var V;if(H.type!=="Placeholder"||(V=H.extra)!=null&&V.parenthesized)return super.parseExpressionStatement(X,H);if(this.match(14)){let Q=X;return Q.label=this.finishPlaceholder(H,"Identifier"),this.next(),Q.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(Q,"LabeledStatement")}this.semicolon();let Z=X;return Z.name=H.name,this.finishPlaceholder(Z,"Statement")}parseBlock(X,H,V){return this.parsePlaceholder("BlockStatement")||super.parseBlock(X,H,V)}parseFunctionId(X){return this.parsePlaceholder("Identifier")||super.parseFunctionId(X)}parseClass(X,H,V){let Z=H?"ClassDeclaration":"ClassExpression";this.next();let Q=this.state.strict,W=this.parsePlaceholder("Identifier");if(W)if(this.match(81)||this.match(133)||this.match(5))X.id=W;else if(V||!H)return X.id=null,X.body=this.finishPlaceholder(W,"ClassBody"),this.finishNode(X,Z);else throw this.raise(AV.ClassNameIsRequired,this.state.startLoc);else this.parseClassId(X,H,V);return super.parseClassSuper(X),X.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!X.superClass,Q),this.finishNode(X,Z)}parseExport(X,H){let V=this.parsePlaceholder("Identifier");if(!V)return super.parseExport(X,H);let Z=X;if(!this.isContextual(98)&&!this.match(12))return Z.specifiers=[],Z.source=null,Z.declaration=this.finishPlaceholder(V,"Declaration"),this.finishNode(Z,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let Q=this.startNode();return Q.exported=V,Z.specifiers=[this.finishNode(Q,"ExportDefaultSpecifier")],super.parseExport(Z,H)}isExportDefaultSpecifier(){if(this.match(65)){let X=this.nextTokenStart();if(this.isUnparsedContextual(X,"from")){if(this.input.startsWith(uG(133),this.nextTokenStartSince(X+4)))return!0}}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(X,H){var V;if((V=X.specifiers)!=null&&V.length)return!0;return super.maybeParseExportDefaultSpecifier(X,H)}checkExport(X){let{specifiers:H}=X;if(H!=null&&H.length)X.specifiers=H.filter((V)=>V.exported.type==="Placeholder");super.checkExport(X),X.specifiers=H}parseImport(X){let H=this.parsePlaceholder("Identifier");if(!H)return super.parseImport(X);if(X.specifiers=[],!this.isContextual(98)&&!this.match(12))return X.source=this.finishPlaceholder(H,"StringLiteral"),this.semicolon(),this.finishNode(X,"ImportDeclaration");let V=this.startNodeAtNode(H);if(V.local=H,X.specifiers.push(this.finishNode(V,"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(AV.UnexpectedSpace,this.state.lastTokEndLoc)}},H61=(G)=>class J extends G{parseV8Intrinsic(){if(this.match(54)){let X=this.state.startLoc,H=this.startNode();if(this.next(),j1(this.state.type)){let V=this.parseIdentifierName(),Z=this.createIdentifier(H,V);if(Z.type="V8IntrinsicIdentifier",this.match(10))return Z}this.unexpected(X)}}parseExprAtom(X){return this.parseV8Intrinsic()||super.parseExprAtom(X)}},CV=["minimal","fsharp","hack","smart"],DV=["^^","@@","^","%","#"];function V61(G){if(G.has("decorators")){if(G.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let X=G.get("decorators").decoratorsBeforeExport;if(X!=null&&typeof X!=="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let H=G.get("decorators").allowCallParenthesized;if(H!=null&&typeof H!=="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(G.has("flow")&&G.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(G.has("placeholders")&&G.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(G.has("pipelineOperator")){var J;let X=G.get("pipelineOperator").proposal;if(!CV.includes(X)){let V=CV.map((Z)=>`"${Z}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${V}.`)}let H=((J=G.get("recordAndTuple"))==null?void 0:J.syntaxType)==="hash";if(X==="hack"){if(G.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(G.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let V=G.get("pipelineOperator").topicToken;if(!DV.includes(V)){let Z=DV.map((Q)=>`"${Q}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${Z}.`)}if(V==="#"&&H)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",G.get("recordAndTuple")])}\`.`)}else if(X==="smart"&&H)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",G.get("recordAndTuple")])}\`.`)}if(G.has("moduleAttributes")){if(G.has("deprecatedImportAssert")||G.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(G.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(G.has("importAssertions")){if(G.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.")}if(!G.has("deprecatedImportAssert")&&G.has("importAttributes")&&G.get("importAttributes").deprecatedAssertSyntax)G.set("deprecatedImportAssert",{});if(G.has("recordAndTuple")){let X=G.get("recordAndTuple").syntaxType;if(X!=null){let H=["hash","bar"];if(!H.includes(X))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+H.map((V)=>`'${V}'`).join(", "))}}if(G.has("asyncDoExpressions")&&!G.has("doExpressions")){let X=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw X.missingPlugins="doExpressions",X}if(G.has("optionalChainingAssign")&&G.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 oV={estree:Q21,jsx:s21,flow:p21,typescript:o21,v8intrinsic:H61,placeholders:X61},Z61=Object.keys(oV);class eV extends dV{checkProto(G,J,X,H){if(G.type==="SpreadElement"||this.isObjectMethod(G)||G.computed||G.shorthand)return;let V=G.key;if((V.type==="Identifier"?V.name:V.value)==="__proto__"){if(J){this.raise(j.RecordNoProto,V);return}if(X.used)if(H){if(H.doubleProtoLoc===null)H.doubleProtoLoc=V.loc.start}else this.raise(j.DuplicateProto,V);X.used=!0}}shouldExitDescending(G,J){return G.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(G.start)===J}getExpression(){this.enterInitialScopes(),this.nextToken();let G=this.parseExpression();if(!this.match(140))this.unexpected();if(this.finalizeRemainingComments(),G.comments=this.comments,G.errors=this.state.errors,this.optionFlags&128)G.tokens=this.tokens;return G}parseExpression(G,J){if(G)return this.disallowInAnd(()=>this.parseExpressionBase(J));return this.allowInAnd(()=>this.parseExpressionBase(J))}parseExpressionBase(G){let J=this.state.startLoc,X=this.parseMaybeAssign(G);if(this.match(12)){let H=this.startNodeAt(J);H.expressions=[X];while(this.eat(12))H.expressions.push(this.parseMaybeAssign(G));return this.toReferencedList(H.expressions),this.finishNode(H,"SequenceExpression")}return X}parseMaybeAssignDisallowIn(G,J){return this.disallowInAnd(()=>this.parseMaybeAssign(G,J))}parseMaybeAssignAllowIn(G,J){return this.allowInAnd(()=>this.parseMaybeAssign(G,J))}setOptionalParametersError(G,J){var X;G.optionalParametersLoc=(X=J==null?void 0:J.loc)!=null?X:this.state.startLoc}parseMaybeAssign(G,J){let X=this.state.startLoc;if(this.isContextual(108)){if(this.prodParam.hasYield){let Q=this.parseYield();if(J)Q=J.call(this,Q,X);return Q}}let H;if(G)H=!1;else G=new JX,H=!0;let{type:V}=this.state;if(V===10||j1(V))this.state.potentialArrowAt=this.state.start;let Z=this.parseMaybeConditional(G);if(J)Z=J.call(this,Z,X);if(U21(this.state.type)){let Q=this.startNodeAt(X),W=this.state.value;if(Q.operator=W,this.match(29)){this.toAssignable(Z,!0),Q.left=Z;let Y=X.index;if(G.doubleProtoLoc!=null&&G.doubleProtoLoc.index>=Y)G.doubleProtoLoc=null;if(G.shorthandAssignLoc!=null&&G.shorthandAssignLoc.index>=Y)G.shorthandAssignLoc=null;if(G.privateKeyLoc!=null&&G.privateKeyLoc.index>=Y)this.checkDestructuringPrivate(G),G.privateKeyLoc=null}else Q.left=Z;return this.next(),Q.right=this.parseMaybeAssign(),this.checkLVal(Z,this.finishNode(Q,"AssignmentExpression")),Q}else if(H)this.checkExpressionErrors(G,!0);return Z}parseMaybeConditional(G){let J=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseExprOps(G);if(this.shouldExitDescending(H,X))return H;return this.parseConditional(H,J,G)}parseConditional(G,J,X){if(this.eat(17)){let H=this.startNodeAt(J);return H.test=G,H.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),H.alternate=this.parseMaybeAssign(),this.finishNode(H,"ConditionalExpression")}return G}parseMaybeUnaryOrPrivate(G){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(G)}parseExprOps(G){let J=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseMaybeUnaryOrPrivate(G);if(this.shouldExitDescending(H,X))return H;return this.parseExprOp(H,J,-1)}parseExprOp(G,J,X){if(this.isPrivateName(G)){let V=this.getPrivateNameSV(G);if(X>=X0(58)||!this.prodParam.hasIn||!this.match(58))this.raise(j.PrivateInExpectedIn,G,{identifierName:V});this.classScope.usePrivateName(V,G.loc.start)}let H=this.state.type;if(B21(H)&&(this.prodParam.hasIn||!this.match(58))){let V=X0(H);if(V>X){if(H===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return G;this.checkPipelineAtInfixOperator(G,J)}let Z=this.startNodeAt(J);Z.left=G,Z.operator=this.state.value;let Q=H===41||H===42,W=H===40;if(W)V=X0(42);if(this.next(),H===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])){if(this.state.type===96&&this.prodParam.hasAwait)throw this.raise(j.UnexpectedAwaitAfterPipelineBody,this.state.startLoc)}Z.right=this.parseExprOpRightExpr(H,V);let Y=this.finishNode(Z,Q||W?"LogicalExpression":"BinaryExpression"),z=this.state.type;if(W&&(z===41||z===42)||Q&&z===40)throw this.raise(j.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(Y,J,X)}}return G}parseExprOpRightExpr(G,J){let X=this.state.startLoc;switch(G){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>{return this.parseHackPipeBody()});case"fsharp":return this.withSoloAwaitPermittingContext(()=>{return this.parseFSharpPipelineBody(J)})}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(j.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(G,J),X)});default:return this.parseExprOpBaseRightExpr(G,J)}}parseExprOpBaseRightExpr(G,J){let X=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),X,j21(G)?J-1:J)}parseHackPipeBody(){var G;let{startLoc:J}=this.state,X=this.parseMaybeAssign();if(e91.has(X.type)&&!((G=X.extra)!=null&&G.parenthesized))this.raise(j.PipeUnparenthesizedBody,J,{type:X.type});if(!this.topicReferenceWasUsedInCurrentContext())this.raise(j.PipeTopicUnused,J);return X}checkExponentialAfterUnary(G){if(this.match(57))this.raise(j.UnexpectedTokenUnaryExponentiation,G.argument)}parseMaybeUnary(G,J){let X=this.state.startLoc,H=this.isContextual(96);if(H&&this.recordAwaitIfAllowed()){this.next();let W=this.parseAwait(X);if(!J)this.checkExponentialAfterUnary(W);return W}let V=this.match(34),Z=this.startNode();if($21(this.state.type)){if(Z.operator=this.state.value,Z.prefix=!0,this.match(72))this.expectPlugin("throwExpressions");let W=this.match(89);if(this.next(),Z.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(G,!0),this.state.strict&&W){let Y=Z.argument;if(Y.type==="Identifier")this.raise(j.StrictDelete,Z);else if(this.hasPropertyAsPrivateName(Y))this.raise(j.DeletePrivateField,Z)}if(!V){if(!J)this.checkExponentialAfterUnary(Z);return this.finishNode(Z,"UnaryExpression")}}let Q=this.parseUpdate(Z,V,G);if(H){let{type:W}=this.state;if((this.hasPlugin("v8intrinsic")?q2(W):q2(W)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(j.AwaitNotInAsyncContext,X),this.parseAwait(X)}return Q}parseUpdate(G,J,X){if(J){let Z=G;return this.checkLVal(Z.argument,this.finishNode(Z,"UpdateExpression")),G}let H=this.state.startLoc,V=this.parseExprSubscripts(X);if(this.checkExpressionErrors(X,!1))return V;while(M21(this.state.type)&&!this.canInsertSemicolon()){let Z=this.startNodeAt(H);Z.operator=this.state.value,Z.prefix=!1,Z.argument=V,this.next(),this.checkLVal(V,V=this.finishNode(Z,"UpdateExpression"))}return V}parseExprSubscripts(G){let J=this.state.startLoc,X=this.state.potentialArrowAt,H=this.parseExprAtom(G);if(this.shouldExitDescending(H,X))return H;return this.parseSubscripts(H,J)}parseSubscripts(G,J,X){let H={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(G),stop:!1};do G=this.parseSubscript(G,J,X,H),H.maybeAsyncArrow=!1;while(!H.stop);return G}parseSubscript(G,J,X,H){let{type:V}=this.state;if(!X&&V===15)return this.parseBind(G,J,X,H);else if(V0(V))return this.parseTaggedTemplateExpression(G,J,H);let Z=!1;if(V===18){if(X){if(this.raise(j.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40)return H.stop=!0,G}H.optionalChainMember=Z=!0,this.next()}if(!X&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(G,J,H,Z);else{let Q=this.eat(0);if(Q||Z||this.eat(16))return this.parseMember(G,J,H,Q,Z);else return H.stop=!0,G}}parseMember(G,J,X,H,V){let Z=this.startNodeAt(J);if(Z.object=G,Z.computed=H,H)Z.property=this.parseExpression(),this.expect(3);else if(this.match(139)){if(G.type==="Super")this.raise(j.SuperPrivateField,J);this.classScope.usePrivateName(this.state.value,this.state.startLoc),Z.property=this.parsePrivateName()}else Z.property=this.parseIdentifier(!0);if(X.optionalChainMember)return Z.optional=V,this.finishNode(Z,"OptionalMemberExpression");else return this.finishNode(Z,"MemberExpression")}parseBind(G,J,X,H){let V=this.startNodeAt(J);return V.object=G,this.next(),V.callee=this.parseNoCallExpr(),H.stop=!0,this.parseSubscripts(this.finishNode(V,"BindExpression"),J,X)}parseCoverCallAndAsyncArrowHead(G,J,X,H){let V=this.state.maybeInArrowParameters,Z=null;this.state.maybeInArrowParameters=!0,this.next();let Q=this.startNodeAt(J);Q.callee=G;let{maybeAsyncArrow:W,optionalChainMember:Y}=X;if(W)this.expressionScope.enter(u21()),Z=new JX;if(Y)Q.optional=H;if(H)Q.arguments=this.parseCallExpressionArguments(11);else Q.arguments=this.parseCallExpressionArguments(11,G.type!=="Super",Q,Z);let z=this.finishCallExpression(Q,Y);if(W&&this.shouldParseAsyncArrow()&&!H)X.stop=!0,this.checkDestructuringPrivate(Z),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),z=this.parseAsyncArrowFromCallExpression(this.startNodeAt(J),z);else{if(W)this.checkExpressionErrors(Z,!0),this.expressionScope.exit();this.toReferencedArguments(z)}return this.state.maybeInArrowParameters=V,z}toReferencedArguments(G,J){this.toReferencedListDeep(G.arguments,J)}parseTaggedTemplateExpression(G,J,X){let H=this.startNodeAt(J);if(H.tag=G,H.quasi=this.parseTemplate(!0),X.optionalChainMember)this.raise(j.OptionalChainingNoTemplate,J);return this.finishNode(H,"TaggedTemplateExpression")}atPossibleAsyncArrow(G){return G.type==="Identifier"&&G.name==="async"&&this.state.lastTokEndLoc.index===G.end&&!this.canInsertSemicolon()&&G.end-G.start===5&&this.offsetToSourcePos(G.start)===this.state.potentialArrowAt}finishCallExpression(G,J){if(G.callee.type==="Import"){if(G.arguments.length===0||G.arguments.length>2)this.raise(j.ImportCallArity,G);else for(let X of G.arguments)if(X.type==="SpreadElement")this.raise(j.ImportCallSpreadArgument,X)}return this.finishNode(G,J?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(G,J,X,H){let V=[],Z=!0,Q=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;while(!this.eat(G)){if(Z)Z=!1;else if(this.expect(12),this.match(G)){if(X)this.addTrailingCommaExtraToNode(X);this.next();break}V.push(this.parseExprListItem(!1,H,J))}return this.state.inFSharpPipelineDirectBody=Q,V}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(G,J){var X;if(this.resetPreviousNodeTrailingComments(J),this.expect(19),this.parseArrowExpression(G,J.arguments,!0,(X=J.extra)==null?void 0:X.trailingCommaLoc),J.innerComments)HX(G,J.innerComments);if(J.callee.trailingComments)HX(G,J.callee.trailingComments);return G}parseNoCallExpr(){let G=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),G,!0)}parseExprAtom(G){let J,X=null,{type:H}=this.state;switch(H){case 79:return this.parseSuper();case 83:if(J=this.startNode(),this.next(),this.match(16))return this.parseImportMetaProperty(J);if(this.match(10))if(this.optionFlags&256)return this.parseImportCall(J);else return this.finishNode(J,"Import");else return this.raise(j.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(J,"Import");case 78:return J=this.startNode(),this.next(),this.finishNode(J,"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 V=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(V)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,G);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,G);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:{J=this.startNode(),this.next(),J.object=null;let V=J.callee=this.parseNoCallExpr();if(V.type==="MemberExpression")return this.finishNode(J,"BindExpression");else throw this.raise(j.UnsupportedBind,V)}case 139:return this.raise(j.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 V=this.getPluginOption("pipelineOperator","proposal");if(V)return this.parseTopicReference(V);this.unexpected();break}case 47:{let V=this.input.codePointAt(this.nextTokenStart());if(IG(V)||V===62)this.expectOnePlugin(["jsx","flow","typescript"]);else this.unexpected();break}default:if(H===137)return this.parseDecimalLiteral(this.state.value);if(j1(H)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let V=this.state.potentialArrowAt===this.state.start,Z=this.state.containsEsc,Q=this.parseIdentifier();if(!Z&&Q.name==="async"&&!this.canInsertSemicolon()){let{type:W}=this.state;if(W===68)return this.resetPreviousNodeTrailingComments(Q),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(Q));else if(j1(W))if(this.lookaheadCharCode()===61)return this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(Q));else return Q;else if(W===90)return this.resetPreviousNodeTrailingComments(Q),this.parseDo(this.startNodeAtNode(Q),!0)}if(V&&this.match(19)&&!this.canInsertSemicolon())return this.next(),this.parseArrowExpression(this.startNodeAtNode(Q),[Q],!1);return Q}else this.unexpected()}}parseTopicReferenceThenEqualsSign(G,J){let X=this.getPluginOption("pipelineOperator","proposal");if(X)return this.state.type=G,this.state.value=J,this.state.pos--,this.state.end--,this.state.endLoc=m1(this.state.endLoc,-1),this.parseTopicReference(X);else this.unexpected()}parseTopicReference(G){let J=this.startNode(),X=this.state.startLoc,H=this.state.type;return this.next(),this.finishTopicReference(J,X,G,H)}finishTopicReference(G,J,X,H){if(this.testTopicReferenceConfiguration(X,J,H))if(X==="hack"){if(!this.topicReferenceIsAllowedInCurrentContext())this.raise(j.PipeTopicUnbound,J);return this.registerTopicReference(),this.finishNode(G,"TopicReference")}else{if(!this.topicReferenceIsAllowedInCurrentContext())this.raise(j.PrimaryTopicNotAllowed,J);return this.registerTopicReference(),this.finishNode(G,"PipelinePrimaryTopicReference")}else throw this.raise(j.PipeTopicUnconfiguredToken,J,{token:uG(H)})}testTopicReferenceConfiguration(G,J,X){switch(G){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:uG(X)}]);case"smart":return X===27;default:throw this.raise(j.PipeTopicRequiresHackPipes,J)}}parseAsyncArrowUnaryFunction(G){this.prodParam.enter(H0(!0,this.prodParam.hasYield));let J=[this.parseIdentifier()];if(this.prodParam.exit(),this.hasPrecedingLineBreak())this.raise(j.LineTerminatorBeforeArrow,this.state.curPosition());return this.expect(19),this.parseArrowExpression(G,J,!0)}parseDo(G,J){if(this.expectPlugin("doExpressions"),J)this.expectPlugin("asyncDoExpressions");G.async=J,this.next();let X=this.state.labels;if(this.state.labels=[],J)this.prodParam.enter(2),G.body=this.parseBlock(),this.prodParam.exit();else G.body=this.parseBlock();return this.state.labels=X,this.finishNode(G,"DoExpression")}parseSuper(){let G=this.startNode();if(this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16))this.raise(j.SuperNotAllowed,G);else if(!this.scope.allowSuper&&!(this.optionFlags&16))this.raise(j.UnexpectedSuper,G);if(!this.match(10)&&!this.match(0)&&!this.match(16))this.raise(j.UnsupportedSuper,G);return this.finishNode(G,"Super")}parsePrivateName(){let G=this.startNode(),J=this.startNodeAt(m1(this.state.startLoc,1)),X=this.state.value;return this.next(),G.id=this.createIdentifier(J,X),this.finishNode(G,"PrivateName")}parseFunctionOrFunctionSent(){let G=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let J=this.createIdentifier(this.startNodeAtNode(G),"function");if(this.next(),this.match(103))this.expectPlugin("functionSent");else if(!this.hasPlugin("functionSent"))this.unexpected();return this.parseMetaProperty(G,J,"sent")}return this.parseFunction(G)}parseMetaProperty(G,J,X){G.meta=J;let H=this.state.containsEsc;if(G.property=this.parseIdentifier(!0),G.property.name!==X||H)this.raise(j.UnsupportedMetaProperty,G.property,{target:J.name,onlyValidPropertyName:X});return this.finishNode(G,"MetaProperty")}parseImportMetaProperty(G){let J=this.createIdentifier(this.startNodeAtNode(G),"import");if(this.next(),this.isContextual(101)){if(!this.inModule)this.raise(j.ImportMetaOutsideModule,J);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(j.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),G.phase=X?"source":"defer",this.parseImportCall(G)}return this.parseMetaProperty(G,J,"meta")}parseLiteralAtNode(G,J,X){return this.addExtra(X,"rawValue",G),this.addExtra(X,"raw",this.input.slice(this.offsetToSourcePos(X.start),this.state.end)),X.value=G,this.next(),this.finishNode(X,J)}parseLiteral(G,J){let X=this.startNode();return this.parseLiteralAtNode(G,J,X)}parseStringLiteral(G){return this.parseLiteral(G,"StringLiteral")}parseNumericLiteral(G){return this.parseLiteral(G,"NumericLiteral")}parseBigIntLiteral(G){return this.parseLiteral(G,"BigIntLiteral")}parseDecimalLiteral(G){return this.parseLiteral(G,"DecimalLiteral")}parseRegExpLiteral(G){let J=this.startNode();return this.addExtra(J,"raw",this.input.slice(this.offsetToSourcePos(J.start),this.state.end)),J.pattern=G.pattern,J.flags=G.flags,this.next(),this.finishNode(J,"RegExpLiteral")}parseBooleanLiteral(G){let J=this.startNode();return J.value=G,this.next(),this.finishNode(J,"BooleanLiteral")}parseNullLiteral(){let G=this.startNode();return this.next(),this.finishNode(G,"NullLiteral")}parseParenAndDistinguishExpression(G){let J=this.state.startLoc,X;this.next(),this.expressionScope.enter(h21());let H=this.state.maybeInArrowParameters,V=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let Z=this.state.startLoc,Q=[],W=new JX,Y=!0,z,U;while(!this.match(11)){if(Y)Y=!1;else if(this.expect(12,W.optionalParametersLoc===null?null:W.optionalParametersLoc),this.match(11)){U=this.state.startLoc;break}if(this.match(21)){let C=this.state.startLoc;if(z=this.state.startLoc,Q.push(this.parseParenItem(this.parseRestBinding(),C)),!this.checkCommaAfterRest(41))break}else Q.push(this.parseMaybeAssignAllowIn(W,this.parseParenItem))}let q=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=H,this.state.inFSharpPipelineDirectBody=V;let A=this.startNodeAt(J);if(G&&this.shouldParseArrow(Q)&&(A=this.parseArrow(A)))return this.checkDestructuringPrivate(W),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(A,Q,!1),A;if(this.expressionScope.exit(),!Q.length)this.unexpected(this.state.lastTokStartLoc);if(U)this.unexpected(U);if(z)this.unexpected(z);if(this.checkExpressionErrors(W,!0),this.toReferencedListDeep(Q,!0),Q.length>1)X=this.startNodeAt(Z),X.expressions=Q,this.finishNode(X,"SequenceExpression"),this.resetEndLocation(X,q);else X=Q[0];return this.wrapParenthesis(J,X)}wrapParenthesis(G,J){if(!(this.optionFlags&512))return this.addExtra(J,"parenthesized",!0),this.addExtra(J,"parenStart",G.index),this.takeSurroundingComments(J,G.index,this.state.lastTokEndLoc.index),J;let X=this.startNodeAt(G);return X.expression=J,this.finishNode(X,"ParenthesizedExpression")}shouldParseArrow(G){return!this.canInsertSemicolon()}parseArrow(G){if(this.eat(19))return G}parseParenItem(G,J){return G}parseNewOrNewTarget(){let G=this.startNode();if(this.next(),this.match(16)){let J=this.createIdentifier(this.startNodeAtNode(G),"new");this.next();let X=this.parseMetaProperty(G,J,"target");if(!this.scope.inNonArrowFunction&&!this.scope.inClass&&!(this.optionFlags&4))this.raise(j.UnexpectedNewTarget,X);return X}return this.parseNew(G)}parseNew(G){if(this.parseNewCallee(G),this.eat(10)){let J=this.parseExprList(11);this.toReferencedList(J),G.arguments=J}else G.arguments=[];return this.finishNode(G,"NewExpression")}parseNewCallee(G){let J=this.match(83),X=this.parseNoCallExpr();if(G.callee=X,J&&(X.type==="Import"||X.type==="ImportExpression"))this.raise(j.ImportCallNotNewExpression,X)}parseTemplateElement(G){let{start:J,startLoc:X,end:H,value:V}=this.state,Z=J+1,Q=this.startNodeAt(m1(X,1));if(V===null){if(!G)this.raise(j.InvalidEscapeSequenceTemplate,m1(this.state.firstInvalidTemplateEscapePos,1))}let W=this.match(24),Y=W?-1:-2,z=H+Y;Q.value={raw:this.input.slice(Z,z).replace(/\r\n?/g,`
22
- `),cooked:V===null?null:V.slice(1,Y)},Q.tail=W,this.next();let U=this.finishNode(Q,"TemplateElement");return this.resetEndLocation(U,m1(this.state.lastTokEndLoc,Y)),U}parseTemplate(G){let J=this.startNode(),X=this.parseTemplateElement(G),H=[X],V=[];while(!X.tail)V.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),H.push(X=this.parseTemplateElement(G));return J.expressions=V,J.quasis=H,this.finishNode(J,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(G,J,X,H){if(X)this.expectPlugin("recordAndTuple");let V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Z=Object.create(null),Q=!0,W=this.startNode();W.properties=[],this.next();while(!this.match(G)){if(Q)Q=!1;else if(this.expect(12),this.match(G)){this.addTrailingCommaExtraToNode(W);break}let z;if(J)z=this.parseBindingProperty();else z=this.parsePropertyDefinition(H),this.checkProto(z,X,Z,H);if(X&&!this.isObjectProperty(z)&&z.type!=="SpreadElement")this.raise(j.InvalidRecordProperty,z);if(z.shorthand)this.addExtra(z,"shorthand",!0);W.properties.push(z)}this.next(),this.state.inFSharpPipelineDirectBody=V;let Y="ObjectExpression";if(J)Y="ObjectPattern";else if(X)Y="RecordExpression";return this.finishNode(W,Y)}addTrailingCommaExtraToNode(G){this.addExtra(G,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(G,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(G){return!G.computed&&G.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(G){let J=[];if(this.match(26)){if(this.hasPlugin("decorators"))this.raise(j.UnsupportedPropertyDecorator,this.state.startLoc);while(this.match(26))J.push(this.parseDecorator())}let X=this.startNode(),H=!1,V=!1,Z;if(this.match(21)){if(J.length)this.unexpected();return this.parseSpread()}if(J.length)X.decorators=J,J=[];if(X.method=!1,G)Z=this.state.startLoc;let Q=this.eat(55);this.parsePropertyNamePrefixOperator(X);let W=this.state.containsEsc;if(this.parsePropertyName(X,G),!Q&&!W&&this.maybeAsyncOrAccessorProp(X)){let{key:Y}=X,z=Y.name;if(z==="async"&&!this.hasPrecedingLineBreak())H=!0,this.resetPreviousNodeTrailingComments(Y),Q=this.eat(55),this.parsePropertyName(X);if(z==="get"||z==="set"){if(V=!0,this.resetPreviousNodeTrailingComments(Y),X.kind=z,this.match(55))Q=!0,this.raise(j.AccessorIsGenerator,this.state.curPosition(),{kind:z}),this.next();this.parsePropertyName(X)}}return this.parseObjPropValue(X,Z,Q,H,!1,V,G)}getGetterSetterExpectedParamCount(G){return G.kind==="get"?0:1}getObjectOrClassMethodParams(G){return G.params}checkGetterSetterParams(G){var J;let X=this.getGetterSetterExpectedParamCount(G),H=this.getObjectOrClassMethodParams(G);if(H.length!==X)this.raise(G.kind==="get"?j.BadGetterArity:j.BadSetterArity,G);if(G.kind==="set"&&((J=H[H.length-1])==null?void 0:J.type)==="RestElement")this.raise(j.BadSetterRestParameter,G)}parseObjectMethod(G,J,X,H,V){if(V){let Z=this.parseMethod(G,J,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(Z),Z}if(X||J||this.match(10)){if(H)this.unexpected();return G.kind="method",G.method=!0,this.parseMethod(G,J,X,!1,!1,"ObjectMethod")}}parseObjectProperty(G,J,X,H){if(G.shorthand=!1,this.eat(14))return G.value=X?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(H),this.finishNode(G,"ObjectProperty");if(!G.computed&&G.key.type==="Identifier"){if(this.checkReservedWord(G.key.name,G.key.loc.start,!0,!1),X)G.value=this.parseMaybeDefault(J,TG(G.key));else if(this.match(29)){let V=this.state.startLoc;if(H!=null){if(H.shorthandAssignLoc===null)H.shorthandAssignLoc=V}else this.raise(j.InvalidCoverInitializedName,V);G.value=this.parseMaybeDefault(J,TG(G.key))}else G.value=TG(G.key);return G.shorthand=!0,this.finishNode(G,"ObjectProperty")}}parseObjPropValue(G,J,X,H,V,Z,Q){let W=this.parseObjectMethod(G,X,H,V,Z)||this.parseObjectProperty(G,J,V,Q);if(!W)this.unexpected();return W}parsePropertyName(G,J){if(this.eat(0))G.computed=!0,G.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:X,value:H}=this.state,V;if(WG(X))V=this.parseIdentifier(!0);else switch(X){case 135:V=this.parseNumericLiteral(H);break;case 134:V=this.parseStringLiteral(H);break;case 136:V=this.parseBigIntLiteral(H);break;case 139:{let Z=this.state.startLoc;if(J!=null){if(J.privateKeyLoc===null)J.privateKeyLoc=Z}else this.raise(j.UnexpectedPrivateField,Z);V=this.parsePrivateName();break}default:if(X===137){V=this.parseDecimalLiteral(H);break}this.unexpected()}if(G.key=V,X!==139)G.computed=!1}}initFunction(G,J){G.id=null,G.generator=!1,G.async=J}parseMethod(G,J,X,H,V,Z,Q=!1){this.initFunction(G,X),G.generator=J,this.scope.enter(18|(Q?64:0)|(V?32:0)),this.prodParam.enter(H0(X,G.generator)),this.parseFunctionParams(G,H);let W=this.parseFunctionBodyAndFinish(G,Z,!0);return this.prodParam.exit(),this.scope.exit(),W}parseArrayLike(G,J,X,H){if(X)this.expectPlugin("recordAndTuple");let V=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Z=this.startNode();return this.next(),Z.elements=this.parseExprList(G,!X,H,Z),this.state.inFSharpPipelineDirectBody=V,this.finishNode(Z,X?"TupleExpression":"ArrayExpression")}parseArrowExpression(G,J,X,H){this.scope.enter(6);let V=H0(X,!1);if(!this.match(5)&&this.prodParam.hasIn)V|=8;this.prodParam.enter(V),this.initFunction(G,X);let Z=this.state.maybeInArrowParameters;if(J)this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(G,J,H);return this.state.maybeInArrowParameters=!1,this.parseFunctionBody(G,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=Z,this.finishNode(G,"ArrowFunctionExpression")}setArrowFunctionParameters(G,J,X){this.toAssignableList(J,X,!1),G.params=J}parseFunctionBodyAndFinish(G,J,X=!1){return this.parseFunctionBody(G,!1,X),this.finishNode(G,J)}parseFunctionBody(G,J,X=!1){let H=J&&!this.match(5);if(this.expressionScope.enter(cV()),H)G.body=this.parseMaybeAssign(),this.checkParams(G,!1,J,!1);else{let V=this.state.strict,Z=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),G.body=this.parseBlock(!0,!1,(Q)=>{let W=!this.isSimpleParamList(G.params);if(Q&&W)this.raise(j.IllegalLanguageModeDirective,(G.kind==="method"||G.kind==="constructor")&&!!G.key?G.key.loc.end:G);let Y=!V&&this.state.strict;if(this.checkParams(G,!this.state.strict&&!J&&!X&&!W,J,Y),this.state.strict&&G.id)this.checkIdentifier(G.id,65,Y)}),this.prodParam.exit(),this.state.labels=Z}this.expressionScope.exit()}isSimpleParameter(G){return G.type==="Identifier"}isSimpleParamList(G){for(let J=0,X=G.length;J<X;J++)if(!this.isSimpleParameter(G[J]))return!1;return!0}checkParams(G,J,X,H=!0){let V=!J&&new Set,Z={type:"FormalParameters"};for(let Q of G.params)this.checkLVal(Q,Z,5,V,H)}parseExprList(G,J,X,H){let V=[],Z=!0;while(!this.eat(G)){if(Z)Z=!1;else if(this.expect(12),this.match(G)){if(H)this.addTrailingCommaExtraToNode(H);this.next();break}V.push(this.parseExprListItem(J,X))}return V}parseExprListItem(G,J,X){let H;if(this.match(12)){if(!G)this.raise(j.UnexpectedToken,this.state.curPosition(),{unexpected:","});H=null}else if(this.match(21)){let V=this.state.startLoc;H=this.parseParenItem(this.parseSpread(J),V)}else if(this.match(17)){if(this.expectPlugin("partialApplication"),!X)this.raise(j.UnexpectedArgumentPlaceholder,this.state.startLoc);let V=this.startNode();this.next(),H=this.finishNode(V,"ArgumentPlaceholder")}else H=this.parseMaybeAssignAllowIn(J,this.parseParenItem);return H}parseIdentifier(G){let J=this.startNode(),X=this.parseIdentifierName(G);return this.createIdentifier(J,X)}createIdentifier(G,J){return G.name=J,G.loc.identifierName=J,this.finishNode(G,"Identifier")}parseIdentifierName(G){let J,{startLoc:X,type:H}=this.state;if(WG(H))J=this.state.value;else this.unexpected();let V=z21(H);if(G){if(V)this.replaceToken(132)}else this.checkReservedWord(J,X,V,!1);return this.next(),J}checkReservedWord(G,J,X,H){if(G.length>10)return;if(!T21(G))return;if(X&&I21(G)){this.raise(j.UnexpectedKeyword,J,{keyword:G});return}if((!this.state.strict?NV:H?LV:TV)(G,this.inModule)){this.raise(j.UnexpectedReservedWord,J,{reservedWord:G});return}else if(G==="yield"){if(this.prodParam.hasYield){this.raise(j.YieldBindingIdentifier,J);return}}else if(G==="await"){if(this.prodParam.hasAwait){this.raise(j.AwaitBindingIdentifier,J);return}if(this.scope.inStaticBlock){this.raise(j.AwaitBindingIdentifierInStaticBlock,J);return}this.expressionScope.recordAsyncArrowParametersError(J)}else if(G==="arguments"){if(this.scope.inClassAndNotInNonArrowFunction){this.raise(j.ArgumentsInClass,J);return}}}recordAwaitIfAllowed(){let G=this.prodParam.hasAwait||this.optionFlags&1&&!this.scope.inFunction;if(G&&!this.scope.inFunction)this.state.hasTopLevelAwait=!0;return G}parseAwait(G){let J=this.startNodeAt(G);if(this.expressionScope.recordParameterInitializerError(j.AwaitExpressionFormalParameter,J),this.eat(55))this.raise(j.ObsoleteAwaitStar,J);if(!this.scope.inFunction&&!(this.optionFlags&1))if(this.isAmbiguousAwait())this.ambiguousScriptDifferentAst=!0;else this.sawUnambiguousESM=!0;if(!this.state.soloAwait)J.argument=this.parseMaybeUnary(null,!0);return this.finishNode(J,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:G}=this.state;return G===53||G===10||G===0||V0(G)||G===102&&!this.state.containsEsc||G===138||G===56||this.hasPlugin("v8intrinsic")&&G===54}parseYield(){let G=this.startNode();this.expressionScope.recordParameterInitializerError(j.YieldInParameter,G),this.next();let J=!1,X=null;if(!this.hasPrecedingLineBreak())switch(J=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!J)break;default:X=this.parseMaybeAssign()}return G.delegate=J,G.argument=X,this.finishNode(G,"YieldExpression")}parseImportCall(G){if(this.next(),G.source=this.parseMaybeAssignAllowIn(),G.options=null,this.eat(12)){if(!this.match(11)){if(G.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11)){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(j.ImportCallArity,G)}}}return this.expect(11),this.finishNode(G,"ImportExpression")}checkPipelineAtInfixOperator(G,J){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){if(G.type==="SequenceExpression")this.raise(j.PipelineHeadSequenceExpression,J)}}parseSmartPipelineBodyInStyle(G,J){if(this.isSimpleReference(G)){let X=this.startNodeAt(J);return X.callee=G,this.finishNode(X,"PipelineBareFunction")}else{let X=this.startNodeAt(J);return this.checkSmartPipeTopicBodyEarlyErrors(J),X.expression=G,this.finishNode(X,"PipelineTopicExpression")}}isSimpleReference(G){switch(G.type){case"MemberExpression":return!G.computed&&this.isSimpleReference(G.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(G){if(this.match(19))throw this.raise(j.PipelineBodyNoArrow,this.state.startLoc);if(!this.topicReferenceWasUsedInCurrentContext())this.raise(j.PipelineTopicUnused,G)}withTopicBindingContext(G){let J=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return G()}finally{this.state.topicContext=J}}withSmartMixTopicForbiddingContext(G){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let J=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return G()}finally{this.state.topicContext=J}}else return G()}withSoloAwaitPermittingContext(G){let J=this.state.soloAwait;this.state.soloAwait=!0;try{return G()}finally{this.state.soloAwait=J}}allowInAnd(G){let J=this.prodParam.currentFlags();if(8&~J){this.prodParam.enter(J|8);try{return G()}finally{this.prodParam.exit()}}return G()}disallowInAnd(G){let J=this.prodParam.currentFlags();if(8&J){this.prodParam.enter(J&-9);try{return G()}finally{this.prodParam.exit()}}return G()}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(G){let J=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let X=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let H=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),J,G);return this.state.inFSharpPipelineDirectBody=X,H}parseModuleExpression(){this.expectPlugin("moduleBlocks");let G=this.startNode();if(this.next(),!this.match(5))this.unexpected(null,5);let J=this.startNodeAt(this.state.endLoc);this.next();let X=this.initializeScopes(!0);this.enterInitialScopes();try{G.body=this.parseProgram(J,8,"module")}finally{X()}return this.finishNode(G,"ModuleExpression")}parsePropertyNamePrefixOperator(G){}}var $2={kind:1},Q61={kind:2},W61=/[\uD800-\uDFFF]/u,F2=/in(?:stanceof)?/y;function Y61(G,J,X){for(let H=0;H<G.length;H++){let V=G[H],{type:Z}=V;if(typeof Z==="number"){{if(Z===139){let{loc:Q,start:W,value:Y,end:z}=V,U=W+1,q=m1(Q.start,1);G.splice(H,1,new SG({type:DG(27),value:"#",start:W,end:U,startLoc:Q.start,endLoc:q}),new SG({type:DG(132),value:Y,start:U,end:z,startLoc:q,endLoc:Q.end})),H++;continue}if(V0(Z)){let{loc:Q,start:W,value:Y,end:z}=V,U=W+1,q=m1(Q.start,1),A;if(J.charCodeAt(W-X)===96)A=new SG({type:DG(22),value:"`",start:W,end:U,startLoc:Q.start,endLoc:q});else A=new SG({type:DG(8),value:"}",start:W,end:U,startLoc:Q.start,endLoc:q});let C,D,L,P;if(Z===24)D=z-1,L=m1(Q.end,-1),C=Y===null?null:Y.slice(1,-1),P=new SG({type:DG(22),value:"`",start:D,end:z,startLoc:L,endLoc:Q.end});else D=z-2,L=m1(Q.end,-2),C=Y===null?null:Y.slice(1,-2),P=new SG({type:DG(23),value:"${",start:D,end:z,startLoc:L,endLoc:Q.end});G.splice(H,1,A,new SG({type:DG(20),value:C,start:U,end:D,startLoc:q,endLoc:L}),P),H+=2;continue}}V.type=DG(Z)}}return G}class GZ extends eV{parseTopLevel(G,J){if(G.program=this.parseProgram(J),G.comments=this.comments,this.optionFlags&128)G.tokens=Y61(this.tokens,this.input,this.startIndex);return this.finishNode(G,"File")}parseProgram(G,J=140,X=this.options.sourceType){if(G.sourceType=X,G.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(G,!0,!0,J),this.inModule){if(!(this.optionFlags&32)&&this.scope.undefinedExports.size>0)for(let[V,Z]of Array.from(this.scope.undefinedExports))this.raise(j.ModuleExportUndefined,Z,{localName:V});this.addExtra(G,"topLevelAwait",this.state.hasTopLevelAwait)}let H;if(J===140)H=this.finishNode(G,"Program");else H=this.finishNodeAt(G,"Program",m1(this.state.startLoc,-1));return H}stmtToDirective(G){let J=G;J.type="Directive",J.value=J.expression,delete J.expression;let X=J.value,H=X.value,V=this.input.slice(this.offsetToSourcePos(X.start),this.offsetToSourcePos(X.end)),Z=X.value=V.slice(1,-1);return this.addExtra(X,"raw",V),this.addExtra(X,"rawValue",Z),this.addExtra(X,"expressionValue",H),X.type="DirectiveLiteral",J}parseInterpreterDirective(){if(!this.match(28))return null;let G=this.startNode();return G.value=this.state.value,this.next(),this.finishNode(G,"InterpreterDirective")}isLet(){if(!this.isContextual(100))return!1;return this.hasFollowingBindingAtom()}chStartsBindingIdentifier(G,J){if(IG(G)){if(F2.lastIndex=J,F2.test(this.input)){let X=this.codePointAtPos(F2.lastIndex);if(!jJ(X)&&X!==92)return!1}return!0}else if(G===92)return!0;else return!1}chStartsBindingPattern(G){return G===91||G===123}hasFollowingBindingAtom(){let G=this.nextTokenStart(),J=this.codePointAtPos(G);return this.chStartsBindingPattern(J)||this.chStartsBindingIdentifier(J,G)}hasInLineFollowingBindingIdentifierOrBrace(){let G=this.nextTokenInLineStart(),J=this.codePointAtPos(G);return J===123||this.chStartsBindingIdentifier(J,G)}startsUsingForOf(){let{type:G,containsEsc:J}=this.lookahead();if(G===102&&!J)return!1;else if(j1(G)&&!this.hasFollowingLineBreak())return this.expectPlugin("explicitResourceManagement"),!0}startsAwaitUsing(){let G=this.nextTokenInLineStart();if(this.isUnparsedContextual(G,"using")){G=this.nextTokenInLineStartSince(G+5);let J=this.codePointAtPos(G);if(this.chStartsBindingIdentifier(J,G))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(G=!1){let J=0;if(this.options.annexB&&!this.state.strict){if(J|=4,G)J|=8}return this.parseStatementLike(J)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(G){let J=null;if(this.match(26))J=this.parseDecorators(!0);return this.parseStatementContent(G,J)}parseStatementContent(G,J){let X=this.state.type,H=this.startNode(),V=!!(G&2),Z=!!(G&4),Q=G&1;switch(X){case 60:return this.parseBreakContinueStatement(H,!0);case 63:return this.parseBreakContinueStatement(H,!1);case 64:return this.parseDebuggerStatement(H);case 90:return this.parseDoWhileStatement(H);case 91:return this.parseForStatement(H);case 68:if(this.lookaheadCharCode()===46)break;if(!Z)this.raise(this.state.strict?j.StrictFunction:this.options.annexB?j.SloppyFunctionAnnexB:j.SloppyFunction,this.state.startLoc);return this.parseFunctionStatement(H,!1,!V&&Z);case 80:if(!V)this.unexpected();return this.parseClass(this.maybeTakeDecorators(J,H),!0);case 69:return this.parseIfStatement(H);case 70:return this.parseReturnStatement(H);case 71:return this.parseSwitchStatement(H);case 72:return this.parseThrowStatement(H);case 73:return this.parseTryStatement(H);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing()){if(!this.recordAwaitIfAllowed())this.raise(j.AwaitUsingNotInAsyncContext,H);else if(!V)this.raise(j.UnexpectedLexicalDeclaration,H);return this.next(),this.parseVarStatement(H,"await using")}break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;if(this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel)this.raise(j.UnexpectedUsingDeclaration,this.state.startLoc);else if(!V)this.raise(j.UnexpectedLexicalDeclaration,this.state.startLoc);return this.parseVarStatement(H,"using");case 100:{if(this.state.containsEsc)break;let z=this.nextTokenStart(),U=this.codePointAtPos(z);if(U!==91){if(!V&&this.hasFollowingLineBreak())break;if(!this.chStartsBindingIdentifier(U,z)&&U!==123)break}}case 75:if(!V)this.raise(j.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let z=this.state.value;return this.parseVarStatement(H,z)}case 92:return this.parseWhileStatement(H);case 76:return this.parseWithStatement(H);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(H);case 83:{let z=this.lookaheadCharCode();if(z===40||z===46)break}case 82:{if(!(this.optionFlags&8)&&!Q)this.raise(j.UnexpectedImportExport,this.state.startLoc);this.next();let z;if(X===83){if(z=this.parseImport(H),z.type==="ImportDeclaration"&&(!z.importKind||z.importKind==="value"))this.sawUnambiguousESM=!0}else if(z=this.parseExport(H,J),z.type==="ExportNamedDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportAllDeclaration"&&(!z.exportKind||z.exportKind==="value")||z.type==="ExportDefaultDeclaration")this.sawUnambiguousESM=!0;return this.assertModuleNodeAllowed(z),z}default:if(this.isAsyncFunction()){if(!V)this.raise(j.AsyncFunctionInSingleStatementContext,this.state.startLoc);return this.next(),this.parseFunctionStatement(H,!0,!V&&Z)}}let W=this.state.value,Y=this.parseExpression();if(j1(X)&&Y.type==="Identifier"&&this.eat(14))return this.parseLabeledStatement(H,W,Y,G);else return this.parseExpressionStatement(H,Y,J)}assertModuleNodeAllowed(G){if(!(this.optionFlags&8)&&!this.inModule)this.raise(j.ImportOutsideModule,G)}decoratorsEnabledBeforeExport(){if(this.hasPlugin("decorators-legacy"))return!0;return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(G,J,X){if(G){var H;if((H=J.decorators)!=null&&H.length){if(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!=="boolean")this.raise(j.DecoratorsBeforeAfterExport,J.decorators[0]);J.decorators.unshift(...G)}else J.decorators=G;if(this.resetStartLocationFromNode(J,G[0]),X)this.resetStartLocationFromNode(X,J)}return J}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(G){let J=[];do J.push(this.parseDecorator());while(this.match(26));if(this.match(82)){if(!G)this.unexpected();if(!this.decoratorsEnabledBeforeExport())this.raise(j.DecoratorExportClass,this.state.startLoc)}else if(!this.canHaveLeadingDecorator())throw this.raise(j.UnexpectedLeadingDecorator,this.state.startLoc);return J}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let G=this.startNode();if(this.next(),this.hasPlugin("decorators")){let J=this.state.startLoc,X;if(this.match(10)){let H=this.state.startLoc;this.next(),X=this.parseExpression(),this.expect(11),X=this.wrapParenthesis(H,X);let V=this.state.startLoc;if(G.expression=this.parseMaybeDecoratorArguments(X,H),this.getPluginOption("decorators","allowCallParenthesized")===!1&&G.expression!==X)this.raise(j.DecoratorArgumentsOutsideParentheses,V)}else{X=this.parseIdentifier(!1);while(this.eat(16)){let H=this.startNodeAt(J);if(H.object=X,this.match(139))this.classScope.usePrivateName(this.state.value,this.state.startLoc),H.property=this.parsePrivateName();else H.property=this.parseIdentifier(!0);H.computed=!1,X=this.finishNode(H,"MemberExpression")}G.expression=this.parseMaybeDecoratorArguments(X,J)}}else G.expression=this.parseExprSubscripts();return this.finishNode(G,"Decorator")}parseMaybeDecoratorArguments(G,J){if(this.eat(10)){let X=this.startNodeAt(J);return X.callee=G,X.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(X.arguments),this.finishNode(X,"CallExpression")}return G}parseBreakContinueStatement(G,J){if(this.next(),this.isLineTerminator())G.label=null;else G.label=this.parseIdentifier(),this.semicolon();return this.verifyBreakContinue(G,J),this.finishNode(G,J?"BreakStatement":"ContinueStatement")}verifyBreakContinue(G,J){let X;for(X=0;X<this.state.labels.length;++X){let H=this.state.labels[X];if(G.label==null||H.name===G.label.name){if(H.kind!=null&&(J||H.kind===1))break;if(G.label&&J)break}}if(X===this.state.labels.length){let H=J?"BreakStatement":"ContinueStatement";this.raise(j.IllegalBreakContinue,G,{type:H})}}parseDebuggerStatement(G){return this.next(),this.semicolon(),this.finishNode(G,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let G=this.parseExpression();return this.expect(11),G}parseDoWhileStatement(G){return this.next(),this.state.labels.push($2),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),G.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(G,"DoWhileStatement")}parseForStatement(G){this.next(),this.state.labels.push($2);let J=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed())J=this.state.startLoc,this.next();if(this.scope.enter(0),this.expect(10),this.match(13)){if(J!==null)this.unexpected(J);return this.parseFor(G,null)}let X=this.isContextual(100);{let W=this.isContextual(96)&&this.startsAwaitUsing(),Y=W||this.isContextual(107)&&this.startsUsingForOf(),z=X&&this.hasFollowingBindingAtom()||Y;if(this.match(74)||this.match(75)||z){let U=this.startNode(),q;if(W){if(q="await using",!this.recordAwaitIfAllowed())this.raise(j.AwaitUsingNotInAsyncContext,this.state.startLoc);this.next()}else q=this.state.value;this.next(),this.parseVar(U,!0,q);let A=this.finishNode(U,"VariableDeclaration"),C=this.match(58);if(C&&Y)this.raise(j.ForInUsing,A);if((C||this.isContextual(102))&&A.declarations.length===1)return this.parseForIn(G,A,J);if(J!==null)this.unexpected(J);return this.parseFor(G,A)}}let H=this.isContextual(95),V=new JX,Z=this.parseExpression(!0,V),Q=this.isContextual(102);if(Q){if(X)this.raise(j.ForOfLet,Z);if(J===null&&H&&Z.type==="Identifier")this.raise(j.ForOfAsync,Z)}if(Q||this.match(58)){this.checkDestructuringPrivate(V),this.toAssignable(Z,!0);let W=Q?"ForOfStatement":"ForInStatement";return this.checkLVal(Z,{type:W}),this.parseForIn(G,Z,J)}else this.checkExpressionErrors(V,!0);if(J!==null)this.unexpected(J);return this.parseFor(G,Z)}parseFunctionStatement(G,J,X){return this.next(),this.parseFunction(G,1|(X?2:0)|(J?8:0))}parseIfStatement(G){return this.next(),G.test=this.parseHeaderExpression(),G.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),G.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(G,"IfStatement")}parseReturnStatement(G){if(!this.prodParam.hasReturn&&!(this.optionFlags&2))this.raise(j.IllegalReturn,this.state.startLoc);if(this.next(),this.isLineTerminator())G.argument=null;else G.argument=this.parseExpression(),this.semicolon();return this.finishNode(G,"ReturnStatement")}parseSwitchStatement(G){this.next(),G.discriminant=this.parseHeaderExpression();let J=G.cases=[];this.expect(5),this.state.labels.push(Q61),this.scope.enter(0);let X;for(let H;!this.match(8);)if(this.match(61)||this.match(65)){let V=this.match(61);if(X)this.finishNode(X,"SwitchCase");if(J.push(X=this.startNode()),X.consequent=[],this.next(),V)X.test=this.parseExpression();else{if(H)this.raise(j.MultipleDefaultsInSwitch,this.state.lastTokStartLoc);H=!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(G,"SwitchStatement")}parseThrowStatement(G){if(this.next(),this.hasPrecedingLineBreak())this.raise(j.NewlineAfterThrow,this.state.lastTokEndLoc);return G.argument=this.parseExpression(),this.semicolon(),this.finishNode(G,"ThrowStatement")}parseCatchClauseParam(){let G=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&G.type==="Identifier"?8:0),this.checkLVal(G,{type:"CatchClause"},9),G}parseTryStatement(G){if(this.next(),G.block=this.parseBlock(),G.handler=null,this.match(62)){let J=this.startNode();if(this.next(),this.match(10))this.expect(10),J.param=this.parseCatchClauseParam(),this.expect(11);else J.param=null,this.scope.enter(0);J.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),G.handler=this.finishNode(J,"CatchClause")}if(G.finalizer=this.eat(67)?this.parseBlock():null,!G.handler&&!G.finalizer)this.raise(j.NoCatchOrFinally,G);return this.finishNode(G,"TryStatement")}parseVarStatement(G,J,X=!1){return this.next(),this.parseVar(G,!1,J,X),this.semicolon(),this.finishNode(G,"VariableDeclaration")}parseWhileStatement(G){return this.next(),G.test=this.parseHeaderExpression(),this.state.labels.push($2),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(G,"WhileStatement")}parseWithStatement(G){if(this.state.strict)this.raise(j.StrictWith,this.state.startLoc);return this.next(),G.object=this.parseHeaderExpression(),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(G,"WithStatement")}parseEmptyStatement(G){return this.next(),this.finishNode(G,"EmptyStatement")}parseLabeledStatement(G,J,X,H){for(let Z of this.state.labels)if(Z.name===J)this.raise(j.LabelRedeclaration,X,{labelName:J});let V=R21(this.state.type)?1:this.match(71)?2:null;for(let Z=this.state.labels.length-1;Z>=0;Z--){let Q=this.state.labels[Z];if(Q.statementStart===G.start)Q.statementStart=this.sourceToOffsetPos(this.state.start),Q.kind=V;else break}return this.state.labels.push({name:J,kind:V,statementStart:this.sourceToOffsetPos(this.state.start)}),G.body=H&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),G.label=X,this.finishNode(G,"LabeledStatement")}parseExpressionStatement(G,J,X){return G.expression=J,this.semicolon(),this.finishNode(G,"ExpressionStatement")}parseBlock(G=!1,J=!0,X){let H=this.startNode();if(G)this.state.strictErrors.clear();if(this.expect(5),J)this.scope.enter(0);if(this.parseBlockBody(H,G,!1,8,X),J)this.scope.exit();return this.finishNode(H,"BlockStatement")}isValidDirective(G){return G.type==="ExpressionStatement"&&G.expression.type==="StringLiteral"&&!G.expression.extra.parenthesized}parseBlockBody(G,J,X,H,V){let Z=G.body=[],Q=G.directives=[];this.parseBlockOrModuleBlockBody(Z,J?Q:void 0,X,H,V)}parseBlockOrModuleBlockBody(G,J,X,H,V){let Z=this.state.strict,Q=!1,W=!1;while(!this.match(H)){let Y=X?this.parseModuleItem():this.parseStatementListItem();if(J&&!W){if(this.isValidDirective(Y)){let z=this.stmtToDirective(Y);if(J.push(z),!Q&&z.value.value==="use strict")Q=!0,this.setStrict(!0);continue}W=!0,this.state.strictErrors.clear()}G.push(Y)}if(V==null||V.call(this,Q),!Z)this.setStrict(!1);this.next()}parseFor(G,J){return G.init=J,this.semicolon(!1),G.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),G.update=this.match(11)?null:this.parseExpression(),this.expect(11),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(G,"ForStatement")}parseForIn(G,J,X){let H=this.match(58);if(this.next(),H){if(X!==null)this.unexpected(X)}else G.await=X!==null;if(J.type==="VariableDeclaration"&&J.declarations[0].init!=null&&(!H||!this.options.annexB||this.state.strict||J.kind!=="var"||J.declarations[0].id.type!=="Identifier"))this.raise(j.ForInOfLoopInitializer,J,{type:H?"ForInStatement":"ForOfStatement"});if(J.type==="AssignmentPattern")this.raise(j.InvalidLhs,J,{ancestor:{type:"ForStatement"}});return G.left=J,G.right=H?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),G.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(G,H?"ForInStatement":"ForOfStatement")}parseVar(G,J,X,H=!1){let V=G.declarations=[];G.kind=X;for(;;){let Z=this.startNode();if(this.parseVarId(Z,X),Z.init=!this.eat(29)?null:J?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn(),Z.init===null&&!H){if(Z.id.type!=="Identifier"&&!(J&&(this.match(58)||this.isContextual(102))))this.raise(j.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"});else if((X==="const"||X==="using"||X==="await using")&&!(this.match(58)||this.isContextual(102)))this.raise(j.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:X})}if(V.push(this.finishNode(Z,"VariableDeclarator")),!this.eat(12))break}return G}parseVarId(G,J){let X=this.parseBindingAtom();if(J==="using"||J==="await using"){if(X.type==="ArrayPattern"||X.type==="ObjectPattern")this.raise(j.UsingDeclarationHasBindingPattern,X.loc.start)}this.checkLVal(X,{type:"VariableDeclarator"},J==="var"?5:8201),G.id=X}parseAsyncFunctionExpression(G){return this.parseFunction(G,8)}parseFunction(G,J=0){let X=J&2,H=!!(J&1),V=H&&!(J&4),Z=!!(J&8);if(this.initFunction(G,Z),this.match(55)){if(X)this.raise(j.GeneratorInSingleStatementContext,this.state.startLoc);this.next(),G.generator=!0}if(H)G.id=this.parseFunctionId(V);let Q=this.state.maybeInArrowParameters;if(this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(H0(Z,G.generator)),!H)G.id=this.parseFunctionId();if(this.parseFunctionParams(G,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(G,H?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),H&&!X)this.registerFunctionStatementId(G);return this.state.maybeInArrowParameters=Q,G}parseFunctionId(G){return G||j1(this.state.type)?this.parseIdentifier():null}parseFunctionParams(G,J){this.expect(10),this.expressionScope.enter(_21()),G.params=this.parseBindingList(11,41,2|(J?4:0)),this.expressionScope.exit()}registerFunctionStatementId(G){if(!G.id)return;this.scope.declareName(G.id.name,!this.options.annexB||this.state.strict||G.generator||G.async?this.scope.treatFunctionsAsVar?5:8201:17,G.id.loc.start)}parseClass(G,J,X){this.next();let H=this.state.strict;return this.state.strict=!0,this.parseClassId(G,J,X),this.parseClassSuper(G),G.body=this.parseClassBody(!!G.superClass,H),this.finishNode(G,J?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(G){return G.type==="Identifier"&&G.name==="constructor"||G.type==="StringLiteral"&&G.value==="constructor"}isNonstaticConstructor(G){return!G.computed&&!G.static&&this.nameIsConstructor(G.key)}parseClassBody(G,J){this.classScope.enter();let X={hadConstructor:!1,hadSuperClass:G},H=[],V=this.startNode();if(V.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{while(!this.match(8)){if(this.eat(13)){if(H.length>0)throw this.raise(j.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){H.push(this.parseDecorator());continue}let Z=this.startNode();if(H.length)Z.decorators=H,this.resetStartLocationFromNode(Z,H[0]),H=[];if(this.parseClassMember(V,Z,X),Z.kind==="constructor"&&Z.decorators&&Z.decorators.length>0)this.raise(j.DecoratorConstructor,Z)}}),this.state.strict=J,this.next(),H.length)throw this.raise(j.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(V,"ClassBody")}parseClassMemberFromModifier(G,J){let X=this.parseIdentifier(!0);if(this.isClassMethod()){let H=J;return H.kind="method",H.computed=!1,H.key=X,H.static=!1,this.pushClassMethod(G,H,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let H=J;return H.computed=!1,H.key=X,H.static=!1,G.body.push(this.parseClassProperty(H)),!0}return this.resetPreviousNodeTrailingComments(X),!1}parseClassMember(G,J,X){let H=this.isContextual(106);if(H){if(this.parseClassMemberFromModifier(G,J))return;if(this.eat(5)){this.parseClassStaticBlock(G,J);return}}this.parseClassMemberWithIsStatic(G,J,X,H)}parseClassMemberWithIsStatic(G,J,X,H){let V=J,Z=J,Q=J,W=J,Y=J,z=V,U=V;if(J.static=H,this.parsePropertyNamePrefixOperator(J),this.eat(55)){z.kind="method";let P=this.match(139);if(this.parseClassElementName(z),P){this.pushClassPrivateMethod(G,Z,!0,!1);return}if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsGenerator,V.key);this.pushClassMethod(G,V,!0,!1,!1,!1);return}let q=!this.state.containsEsc&&j1(this.state.type),A=this.parseClassElementName(J),C=q?A.name:null,D=this.isPrivateName(A),L=this.state.startLoc;if(this.parsePostMemberNameModifiers(U),this.isClassMethod()){if(z.kind="method",D){this.pushClassPrivateMethod(G,Z,!1,!1);return}let P=this.isNonstaticConstructor(V),w=!1;if(P){if(V.kind="constructor",X.hadConstructor&&!this.hasPlugin("typescript"))this.raise(j.DuplicateConstructor,A);if(P&&this.hasPlugin("typescript")&&J.override)this.raise(j.OverrideOnConstructor,A);X.hadConstructor=!0,w=X.hadSuperClass}this.pushClassMethod(G,V,!1,!1,P,w)}else if(this.isClassProperty())if(D)this.pushClassPrivateProperty(G,W);else this.pushClassProperty(G,Q);else if(C==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(A);let P=this.eat(55);if(U.optional)this.unexpected(L);z.kind="method";let w=this.match(139);if(this.parseClassElementName(z),this.parsePostMemberNameModifiers(U),w)this.pushClassPrivateMethod(G,Z,P,!0);else{if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsAsync,V.key);this.pushClassMethod(G,V,P,!0,!1,!1)}}else if((C==="get"||C==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(A),z.kind=C;let P=this.match(139);if(this.parseClassElementName(V),P)this.pushClassPrivateMethod(G,Z,!1,!1);else{if(this.isNonstaticConstructor(V))this.raise(j.ConstructorIsAccessor,V.key);this.pushClassMethod(G,V,!1,!1,!1,!1)}this.checkGetterSetterParams(V)}else if(C==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(A);let P=this.match(139);this.parseClassElementName(Q),this.pushClassAccessorProperty(G,Y,P)}else if(this.isLineTerminator())if(D)this.pushClassPrivateProperty(G,W);else this.pushClassProperty(G,Q);else this.unexpected()}parseClassElementName(G){let{type:J,value:X}=this.state;if((J===132||J===134)&&G.static&&X==="prototype")this.raise(j.StaticPrototype,this.state.startLoc);if(J===139){if(X==="constructor")this.raise(j.ConstructorClassPrivateField,this.state.startLoc);let H=this.parsePrivateName();return G.key=H,H}return this.parsePropertyName(G),G.key}parseClassStaticBlock(G,J){var X;this.scope.enter(208);let H=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let V=J.body=[];if(this.parseBlockOrModuleBlockBody(V,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=H,G.body.push(this.finishNode(J,"StaticBlock")),(X=J.decorators)!=null&&X.length)this.raise(j.DecoratorStaticBlock,J)}pushClassProperty(G,J){if(!J.computed&&this.nameIsConstructor(J.key))this.raise(j.ConstructorClassField,J.key);G.body.push(this.parseClassProperty(J))}pushClassPrivateProperty(G,J){let X=this.parseClassPrivateProperty(J);G.body.push(X),this.classScope.declarePrivateName(this.getPrivateNameSV(X.key),0,X.key.loc.start)}pushClassAccessorProperty(G,J,X){if(!X&&!J.computed&&this.nameIsConstructor(J.key))this.raise(j.ConstructorClassField,J.key);let H=this.parseClassAccessorProperty(J);if(G.body.push(H),X)this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),0,H.key.loc.start)}pushClassMethod(G,J,X,H,V,Z){G.body.push(this.parseMethod(J,X,H,V,Z,"ClassMethod",!0))}pushClassPrivateMethod(G,J,X,H){let V=this.parseMethod(J,X,H,!1,!1,"ClassPrivateMethod",!0);G.body.push(V);let Z=V.kind==="get"?V.static?6:2:V.kind==="set"?V.static?5:1:0;this.declareClassPrivateMethodInScope(V,Z)}declareClassPrivateMethodInScope(G,J){this.classScope.declarePrivateName(this.getPrivateNameSV(G.key),J,G.key.loc.start)}parsePostMemberNameModifiers(G){}parseClassPrivateProperty(G){return this.parseInitializer(G),this.semicolon(),this.finishNode(G,"ClassPrivateProperty")}parseClassProperty(G){return this.parseInitializer(G),this.semicolon(),this.finishNode(G,"ClassProperty")}parseClassAccessorProperty(G){return this.parseInitializer(G),this.semicolon(),this.finishNode(G,"ClassAccessorProperty")}parseInitializer(G){this.scope.enter(80),this.expressionScope.enter(cV()),this.prodParam.enter(0),G.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(G,J,X,H=8331){if(j1(this.state.type)){if(G.id=this.parseIdentifier(),J)this.declareNameFromIdentifier(G.id,H)}else if(X||!J)G.id=null;else throw this.raise(j.MissingClassName,this.state.startLoc)}parseClassSuper(G){G.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(G,J){let X=this.parseMaybeImportPhase(G,!0),H=this.maybeParseExportDefaultSpecifier(G,X),V=!H||this.eat(12),Z=V&&this.eatExportStar(G),Q=Z&&this.maybeParseExportNamespaceSpecifier(G),W=V&&(!Q||this.eat(12)),Y=H||Z;if(Z&&!Q){if(H)this.unexpected();if(J)throw this.raise(j.UnsupportedDecoratorExport,G);return this.parseExportFrom(G,!0),this.finishNode(G,"ExportAllDeclaration")}let z=this.maybeParseExportNamedSpecifiers(G);if(H&&V&&!Z&&!z)this.unexpected(null,5);if(Q&&W)this.unexpected(null,98);let U;if(Y||z){if(U=!1,J)throw this.raise(j.UnsupportedDecoratorExport,G);this.parseExportFrom(G,Y)}else U=this.maybeParseExportDeclaration(G);if(Y||z||U){var q;let A=G;if(this.checkExport(A,!0,!1,!!A.source),((q=A.declaration)==null?void 0:q.type)==="ClassDeclaration")this.maybeTakeDecorators(J,A.declaration,A);else if(J)throw this.raise(j.UnsupportedDecoratorExport,G);return this.finishNode(A,"ExportNamedDeclaration")}if(this.eat(65)){let A=G,C=this.parseExportDefaultExpression();if(A.declaration=C,C.type==="ClassDeclaration")this.maybeTakeDecorators(J,C,A);else if(J)throw this.raise(j.UnsupportedDecoratorExport,G);return this.checkExport(A,!0,!0),this.finishNode(A,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(G){return this.eat(55)}maybeParseExportDefaultSpecifier(G,J){if(J||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",J==null?void 0:J.loc.start);let X=J||this.parseIdentifier(!0),H=this.startNodeAtNode(X);return H.exported=X,G.specifiers=[this.finishNode(H,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(G){if(this.isContextual(93)){var J,X;(X=(J=G).specifiers)!=null||(J.specifiers=[]);let H=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),H.exported=this.parseModuleExportName(),G.specifiers.push(this.finishNode(H,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(G){if(this.match(5)){let J=G;if(!J.specifiers)J.specifiers=[];let X=J.exportKind==="type";if(J.specifiers.push(...this.parseExportSpecifiers(X)),J.source=null,J.declaration=null,this.hasPlugin("importAssertions"))J.assertions=[];return!0}return!1}maybeParseExportDeclaration(G){if(this.shouldParseExportDeclaration()){if(G.specifiers=[],G.source=null,this.hasPlugin("importAssertions"))G.assertions=[];return G.declaration=this.parseExportDeclaration(G),!0}return!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let G=this.nextTokenInLineStart();return this.isUnparsedContextual(G,"function")}parseExportDefaultExpression(){let G=this.startNode();if(this.match(68))return this.next(),this.parseFunction(G,5);else if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(G,13);if(this.match(80))return this.parseClass(G,!0,!0);if(this.match(26)){if(this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise(j.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(j.UnsupportedDefaultExport,this.state.startLoc);let J=this.parseMaybeAssignAllowIn();return this.semicolon(),J}parseExportDeclaration(G){if(this.match(80))return this.parseClass(this.startNode(),!0,!1);return this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:G}=this.state;if(j1(G)){if(G===95&&!this.state.containsEsc||G===100)return!1;if((G===130||G===129)&&!this.state.containsEsc){let{type:H}=this.lookahead();if(j1(H)&&H!==98||H===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let J=this.nextTokenStart(),X=this.isUnparsedContextual(J,"from");if(this.input.charCodeAt(J)===44||j1(this.state.type)&&X)return!0;if(this.match(65)&&X){let H=this.input.charCodeAt(this.nextTokenStartSince(J+4));return H===34||H===39}return!1}parseExportFrom(G,J){if(this.eatContextual(98))G.source=this.parseImportSource(),this.checkExport(G),this.maybeParseImportAttributes(G),this.checkJSONModuleImport(G);else if(J)this.unexpected();this.semicolon()}shouldParseExportDeclaration(){let{type:G}=this.state;if(G===26){if(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators")){if(this.getPluginOption("decorators","decoratorsBeforeExport")===!0)this.raise(j.DecoratorBeforeExport,this.state.startLoc);return!0}}if(this.isContextual(107))return this.raise(j.UsingDeclarationExport,this.state.startLoc),!0;if(this.isContextual(96)&&this.startsAwaitUsing())return this.raise(j.UsingDeclarationExport,this.state.startLoc),!0;return G===74||G===75||G===68||G===80||this.isLet()||this.isAsyncFunction()}checkExport(G,J,X,H){if(J){var V;if(X){if(this.checkDuplicateExports(G,"default"),this.hasPlugin("exportDefaultFrom")){var Z;let Q=G.declaration;if(Q.type==="Identifier"&&Q.name==="from"&&Q.end-Q.start===4&&!((Z=Q.extra)!=null&&Z.parenthesized))this.raise(j.ExportDefaultFromAsIdentifier,Q)}}else if((V=G.specifiers)!=null&&V.length)for(let Q of G.specifiers){let{exported:W}=Q,Y=W.type==="Identifier"?W.name:W.value;if(this.checkDuplicateExports(Q,Y),!H&&Q.local){let{local:z}=Q;if(z.type!=="Identifier")this.raise(j.ExportBindingIsString,Q,{localName:z.value,exportName:Y});else this.checkReservedWord(z.name,z.loc.start,!0,!1),this.scope.checkLocalExport(z)}}else if(G.declaration){let Q=G.declaration;if(Q.type==="FunctionDeclaration"||Q.type==="ClassDeclaration"){let{id:W}=Q;if(!W)throw new Error("Assertion failure");this.checkDuplicateExports(G,W.name)}else if(Q.type==="VariableDeclaration")for(let W of Q.declarations)this.checkDeclaration(W.id)}}}checkDeclaration(G){if(G.type==="Identifier")this.checkDuplicateExports(G,G.name);else if(G.type==="ObjectPattern")for(let J of G.properties)this.checkDeclaration(J);else if(G.type==="ArrayPattern"){for(let J of G.elements)if(J)this.checkDeclaration(J)}else if(G.type==="ObjectProperty")this.checkDeclaration(G.value);else if(G.type==="RestElement")this.checkDeclaration(G.argument);else if(G.type==="AssignmentPattern")this.checkDeclaration(G.left)}checkDuplicateExports(G,J){if(this.exportedIdentifiers.has(J))if(J==="default")this.raise(j.DuplicateDefaultExport,G);else this.raise(j.DuplicateExport,G,{exportName:J});this.exportedIdentifiers.add(J)}parseExportSpecifiers(G){let J=[],X=!0;this.expect(5);while(!this.eat(8)){if(X)X=!1;else if(this.expect(12),this.eat(8))break;let H=this.isContextual(130),V=this.match(134),Z=this.startNode();Z.local=this.parseModuleExportName(),J.push(this.parseExportSpecifier(Z,V,G,H))}return J}parseExportSpecifier(G,J,X,H){if(this.eatContextual(93))G.exported=this.parseModuleExportName();else if(J)G.exported=x21(G.local);else if(!G.exported)G.exported=TG(G.local);return this.finishNode(G,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let G=this.parseStringLiteral(this.state.value),J=W61.exec(G.value);if(J)this.raise(j.ModuleExportNameHasLoneSurrogate,G,{surrogateCharCode:J[0].charCodeAt(0)});return G}return this.parseIdentifier(!0)}isJSONModuleImport(G){if(G.assertions!=null)return G.assertions.some(({key:J,value:X})=>{return X.value==="json"&&(J.type==="Identifier"?J.name==="type":J.value==="type")});return!1}checkImportReflection(G){let{specifiers:J}=G,X=J.length===1?J[0].type:null;if(G.phase==="source"){if(X!=="ImportDefaultSpecifier")this.raise(j.SourcePhaseImportRequiresDefault,J[0].loc.start)}else if(G.phase==="defer"){if(X!=="ImportNamespaceSpecifier")this.raise(j.DeferImportRequiresNamespace,J[0].loc.start)}else if(G.module){var H;if(X!=="ImportDefaultSpecifier")this.raise(j.ImportReflectionNotBinding,J[0].loc.start);if(((H=G.assertions)==null?void 0:H.length)>0)this.raise(j.ImportReflectionHasAssertion,J[0].loc.start)}}checkJSONModuleImport(G){if(this.isJSONModuleImport(G)&&G.type!=="ExportAllDeclaration"){let{specifiers:J}=G;if(J!=null){let X=J.find((H)=>{let V;if(H.type==="ExportSpecifier")V=H.local;else if(H.type==="ImportSpecifier")V=H.imported;if(V!==void 0)return V.type==="Identifier"?V.name!=="default":V.value!=="default"});if(X!==void 0)this.raise(j.ImportJSONBindingNotDefault,X.loc.start)}}}isPotentialImportPhase(G){if(G)return!1;return this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(G,J,X,H){if(J)return;if(X==="module")this.expectPlugin("importReflection",H),G.module=!0;else if(this.hasPlugin("importReflection"))G.module=!1;if(X==="source")this.expectPlugin("sourcePhaseImports",H),G.phase="source";else if(X==="defer")this.expectPlugin("deferredImportEvaluation",H),G.phase="defer";else if(this.hasPlugin("sourcePhaseImports"))G.phase=null}parseMaybeImportPhase(G,J){if(!this.isPotentialImportPhase(J))return this.applyImportPhase(G,J,null),null;let X=this.parseIdentifier(!0),{type:H}=this.state;if(WG(H)?H!==98||this.lookaheadCharCode()===102:H!==12)return this.resetPreviousIdentifierLeadingComments(X),this.applyImportPhase(G,J,X.name,X.loc.start),null;else return this.applyImportPhase(G,J,null),X}isPrecedingIdImportPhase(G){let{type:J}=this.state;return j1(J)?J!==98||this.lookaheadCharCode()===102:J!==12}parseImport(G){if(this.match(134))return this.parseImportSourceAndAttributes(G);return this.parseImportSpecifiersAndAfter(G,this.parseMaybeImportPhase(G,!1))}parseImportSpecifiersAndAfter(G,J){G.specifiers=[];let H=!this.maybeParseDefaultImportSpecifier(G,J)||this.eat(12),V=H&&this.maybeParseStarImportSpecifier(G);if(H&&!V)this.parseNamedImportSpecifiers(G);return this.expectContextual(98),this.parseImportSourceAndAttributes(G)}parseImportSourceAndAttributes(G){var J;return(J=G.specifiers)!=null||(G.specifiers=[]),G.source=this.parseImportSource(),this.maybeParseImportAttributes(G),this.checkImportReflection(G),this.checkJSONModuleImport(G),this.semicolon(),this.finishNode(G,"ImportDeclaration")}parseImportSource(){if(!this.match(134))this.unexpected();return this.parseExprAtom()}parseImportSpecifierLocal(G,J,X){J.local=this.parseIdentifier(),G.specifiers.push(this.finishImportSpecifier(J,X))}finishImportSpecifier(G,J,X=8201){return this.checkLVal(G.local,{type:J},X),this.finishNode(G,J)}parseImportAttributes(){this.expect(5);let G=[],J=new Set;do{if(this.match(8))break;let X=this.startNode(),H=this.state.value;if(J.has(H))this.raise(j.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:H});if(J.add(H),this.match(134))X.key=this.parseStringLiteral(H);else X.key=this.parseIdentifier(!0);if(this.expect(14),!this.match(134))throw this.raise(j.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),G.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return this.expect(8),G}parseModuleAttributes(){let G=[],J=new Set;do{let X=this.startNode();if(X.key=this.parseIdentifier(!0),X.key.name!=="type")this.raise(j.ModuleAttributeDifferentFromType,X.key);if(J.has(X.key.name))this.raise(j.ModuleAttributesWithDuplicateKeys,X.key,{key:X.key.name});if(J.add(X.key.name),this.expect(14),!this.match(134))throw this.raise(j.ModuleAttributeInvalidValue,this.state.startLoc);X.value=this.parseStringLiteral(this.state.value),G.push(this.finishNode(X,"ImportAttribute"))}while(this.eat(12));return G}maybeParseImportAttributes(G){let J;var X=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;if(this.next(),this.hasPlugin("moduleAttributes"))J=this.parseModuleAttributes();else J=this.parseImportAttributes();X=!0}else if(this.isContextual(94)&&!this.hasPrecedingLineBreak()){if(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions"))this.raise(j.ImportAttributesUseAssert,this.state.startLoc);if(!this.hasPlugin("importAssertions"))this.addExtra(G,"deprecatedAssertSyntax",!0);this.next(),J=this.parseImportAttributes()}else J=[];if(!X&&this.hasPlugin("importAssertions"))G.assertions=J;else G.attributes=J}maybeParseDefaultImportSpecifier(G,J){if(J){let X=this.startNodeAtNode(J);return X.local=J,G.specifiers.push(this.finishImportSpecifier(X,"ImportDefaultSpecifier")),!0}else if(WG(this.state.type))return this.parseImportSpecifierLocal(G,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(G){if(this.match(55)){let J=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(G,J,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(G){let J=!0;this.expect(5);while(!this.eat(8)){if(J)J=!1;else{if(this.eat(14))throw this.raise(j.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let X=this.startNode(),H=this.match(134),V=this.isContextual(130);X.imported=this.parseModuleExportName();let Z=this.parseImportSpecifier(X,H,G.importKind==="type"||G.importKind==="typeof",V,void 0);G.specifiers.push(Z)}}parseImportSpecifier(G,J,X,H,V){if(this.eatContextual(93))G.local=this.parseIdentifier();else{let{imported:Z}=G;if(J)throw this.raise(j.ImportBindingIsString,G,{importName:Z.value});if(this.checkReservedWord(Z.name,G.loc.start,!0,!0),!G.local)G.local=TG(Z)}return this.finishImportSpecifier(G,"ImportSpecifier",V)}isThisParam(G){return G.type==="Identifier"&&G.name==="this"}}class v2 extends GZ{constructor(G,J,X){G=V21(G);super(G,J);this.options=G,this.initializeScopes(),this.plugins=X,this.filename=G.sourceFilename,this.startIndex=G.startIndex;let H=0;if(G.allowAwaitOutsideFunction)H|=1;if(G.allowReturnOutsideFunction)H|=2;if(G.allowImportExportEverywhere)H|=8;if(G.allowSuperOutsideMethod)H|=16;if(G.allowUndeclaredExports)H|=32;if(G.allowNewTargetOutsideFunction)H|=4;if(G.ranges)H|=64;if(G.tokens)H|=128;if(G.createImportExpressions)H|=256;if(G.createParenthesizedExpressions)H|=512;if(G.errorRecovery)H|=1024;if(G.attachComment)H|=2048;if(G.annexB)H|=4096;this.optionFlags=H}getScopeHandler(){return Q0}parse(){this.enterInitialScopes();let G=this.startNode(),J=this.startNode();return this.nextToken(),G.errors=null,this.parseTopLevel(G,J),G.errors=this.state.errors,G.comments.length=this.state.commentsLen,G}}function z61(G,J){var X;if(((X=J)==null?void 0:X.sourceType)==="unambiguous"){J=Object.assign({},J);try{J.sourceType="module";let H=eJ(J,G),V=H.parse();if(H.sawUnambiguousESM)return V;if(H.ambiguousScriptDifferentAst)try{return J.sourceType="script",eJ(J,G).parse()}catch(Z){}else V.program.sourceType="script";return V}catch(H){try{return J.sourceType="script",eJ(J,G).parse()}catch(V){}throw H}}else return eJ(J,G).parse()}function K61(G,J){let X=eJ(J,G);if(X.options.strictMode)X.state.strict=!0;return X.getExpression()}function U61(G){let J={};for(let X of Object.keys(G))J[X]=DG(G[X]);return J}var R61=U61(Y21);function eJ(G,J){let X=v2,H=new Map;if(G!=null&&G.plugins){for(let V of G.plugins){let Z,Q;if(typeof V==="string")Z=V;else[Z,Q]=V;if(!H.has(Z))H.set(Z,Q||{})}V61(H),X=B61(H)}return new X(G,J,H)}var SV=new Map;function B61(G){let J=[];for(let V of Z61)if(G.has(V))J.push(V);let X=J.join("|"),H=SV.get(X);if(!H){H=v2;for(let V of J)H=oV[V](H);SV.set(X,H)}return H}JZ.parse=z61;JZ.parseExpression=K61;JZ.tokTypes=R61});var E2=f((XZ)=>{Object.defineProperty(XZ,"__esModule",{value:!0});XZ.Var=XZ.User=XZ.Statement=XZ.SpreadProperty=XZ.Scope=XZ.RestProperty=XZ.ReferencedMemberExpression=XZ.ReferencedIdentifier=XZ.Referenced=XZ.Pure=XZ.NumericLiteralTypeAnnotation=XZ.Generated=XZ.ForAwaitStatement=XZ.Flow=XZ.Expression=XZ.ExistentialTypeParam=XZ.BlockScoped=XZ.BindingIdentifier=void 0;var N$1=XZ.ReferencedIdentifier=["Identifier","JSXIdentifier"],T$1=XZ.ReferencedMemberExpression=["MemberExpression"],w$1=XZ.BindingIdentifier=["Identifier"],L$1=XZ.Statement=["Statement"],b$1=XZ.Expression=["Expression"],k$1=XZ.Scope=["Scopable","Pattern"],v$1=XZ.Referenced=null,E$1=XZ.BlockScoped=null,g$1=XZ.Var=["VariableDeclaration"],_$1=XZ.User=null,h$1=XZ.Generated=null,u$1=XZ.Pure=null,y$1=XZ.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],x$1=XZ.RestProperty=["RestElement"],m$1=XZ.SpreadProperty=["RestElement"],c$1=XZ.ExistentialTypeParam=["ExistsTypeAnnotation"],l$1=XZ.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],i$1=XZ.ForAwaitStatement=["ForOfStatement"]});var ZZ=f((p$1,VZ)=>{var AJ=1000,CJ=AJ*60,DJ=CJ*60,nG=DJ*24,E61=nG*7,g61=nG*365.25;VZ.exports=function(G,J){J=J||{};var X=typeof G;if(X==="string"&&G.length>0)return _61(G);else if(X==="number"&&isFinite(G))return J.long?u61(G):h61(G);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(G))};function _61(G){if(G=String(G),G.length>100)return;var J=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(G);if(!J)return;var X=parseFloat(J[1]),H=(J[2]||"ms").toLowerCase();switch(H){case"years":case"year":case"yrs":case"yr":case"y":return X*g61;case"weeks":case"week":case"w":return X*E61;case"days":case"day":case"d":return X*nG;case"hours":case"hour":case"hrs":case"hr":case"h":return X*DJ;case"minutes":case"minute":case"mins":case"min":case"m":return X*CJ;case"seconds":case"second":case"secs":case"sec":case"s":return X*AJ;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return X;default:return}}function h61(G){var J=Math.abs(G);if(J>=nG)return Math.round(G/nG)+"d";if(J>=DJ)return Math.round(G/DJ)+"h";if(J>=CJ)return Math.round(G/CJ)+"m";if(J>=AJ)return Math.round(G/AJ)+"s";return G+"ms"}function u61(G){var J=Math.abs(G);if(J>=nG)return Y0(G,J,nG,"day");if(J>=DJ)return Y0(G,J,DJ,"hour");if(J>=CJ)return Y0(G,J,CJ,"minute");if(J>=AJ)return Y0(G,J,AJ,"second");return G+" ms"}function Y0(G,J,X,H){var V=J>=X*1.5;return Math.round(G/X)+" "+H+(V?"s":"")}});var g2=f((r$1,QZ)=>{function y61(G){X.debug=X,X.default=X,X.coerce=Y,X.disable=Q,X.enable=V,X.enabled=W,X.humanize=ZZ(),X.destroy=z,Object.keys(G).forEach((U)=>{X[U]=G[U]}),X.names=[],X.skips=[],X.formatters={};function J(U){let q=0;for(let A=0;A<U.length;A++)q=(q<<5)-q+U.charCodeAt(A),q|=0;return X.colors[Math.abs(q)%X.colors.length]}X.selectColor=J;function X(U){let q,A=null,C,D;function L(...P){if(!L.enabled)return;let w=L,b=Number(new Date),X1=b-(q||b);if(w.diff=X1,w.prev=q,w.curr=b,q=b,P[0]=X.coerce(P[0]),typeof P[0]!=="string")P.unshift("%O");let r=0;P[0]=P[0].replace(/%([a-zA-Z%])/g,($1,L1)=>{if($1==="%%")return"%";r++;let k1=X.formatters[L1];if(typeof k1==="function"){let y=P[r];$1=k1.call(w,y),P.splice(r,1),r--}return $1}),X.formatArgs.call(w,P),(w.log||X.log).apply(w,P)}if(L.namespace=U,L.useColors=X.useColors(),L.color=X.selectColor(U),L.extend=H,L.destroy=X.destroy,Object.defineProperty(L,"enabled",{enumerable:!0,configurable:!1,get:()=>{if(A!==null)return A;if(C!==X.namespaces)C=X.namespaces,D=X.enabled(U);return D},set:(P)=>{A=P}}),typeof X.init==="function")X.init(L);return L}function H(U,q){let A=X(this.namespace+(typeof q==="undefined"?":":q)+U);return A.log=this.log,A}function V(U){X.save(U),X.namespaces=U,X.names=[],X.skips=[];let q=(typeof U==="string"?U:"").trim().replace(" ",",").split(",").filter(Boolean);for(let A of q)if(A[0]==="-")X.skips.push(A.slice(1));else X.names.push(A)}function Z(U,q){let A=0,C=0,D=-1,L=0;while(A<U.length)if(C<q.length&&(q[C]===U[A]||q[C]==="*"))if(q[C]==="*")D=C,L=A,C++;else A++,C++;else if(D!==-1)C=D+1,L++,A=L;else return!1;while(C<q.length&&q[C]==="*")C++;return C===q.length}function Q(){let U=[...X.names,...X.skips.map((q)=>"-"+q)].join(",");return X.enable(""),U}function W(U){for(let q of X.skips)if(Z(U,q))return!1;for(let q of X.names)if(Z(U,q))return!0;return!1}function Y(U){if(U instanceof Error)return U.stack||U.message;return U}function z(){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}QZ.exports=y61});var YZ=f((WZ,K0)=>{WZ.formatArgs=m61;WZ.save=c61;WZ.load=l61;WZ.useColors=x61;WZ.storage=i61();WZ.destroy=(()=>{let G=!1;return()=>{if(!G)G=!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`.")}})();WZ.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 x61(){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 G;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&&(G=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(G[1],10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function m61(G){if(G[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+G[0]+(this.useColors?"%c ":" ")+"+"+K0.exports.humanize(this.diff),!this.useColors)return;let J="color: "+this.color;G.splice(1,0,J,"color: inherit");let X=0,H=0;G[0].replace(/%[a-zA-Z%]/g,(V)=>{if(V==="%%")return;if(X++,V==="%c")H=X}),G.splice(H,0,J)}WZ.log=console.debug||console.log||(()=>{});function c61(G){try{if(G)WZ.storage.setItem("debug",G);else WZ.storage.removeItem("debug")}catch(J){}}function l61(){let G;try{G=WZ.storage.getItem("debug")}catch(J){}if(!G&&typeof process!=="undefined"&&"env"in process)G=process.env.DEBUG;return G}function i61(){try{return localStorage}catch(G){}}K0.exports=g2()(WZ);var{formatters:a61}=K0.exports;a61.j=function(G){try{return JSON.stringify(G)}catch(J){return"[UnexpectedJSONParseError]: "+J.message}}});var KZ={};Hz(KZ,{default:()=>VH1,createSupportsColor:()=>_2});import h2 from"process";import e61 from"os";import zZ from"tty";function JG(G,J=globalThis.Deno?globalThis.Deno.args:h2.argv){let X=G.startsWith("-")?"":G.length===1?"-":"--",H=J.indexOf(X+G),V=J.indexOf("--");return H!==-1&&(V===-1||H<V)}function GH1(){if("FORCE_COLOR"in P1){if(P1.FORCE_COLOR==="true")return 1;if(P1.FORCE_COLOR==="false")return 0;return P1.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(P1.FORCE_COLOR,10),3)}}function JH1(G){if(G===0)return!1;return{level:G,hasBasic:!0,has256:G>=2,has16m:G>=3}}function XH1(G,{streamIsTTY:J,sniffFlags:X=!0}={}){let H=GH1();if(H!==void 0)U0=H;let V=X?U0:H;if(V===0)return 0;if(X){if(JG("color=16m")||JG("color=full")||JG("color=truecolor"))return 3;if(JG("color=256"))return 2}if("TF_BUILD"in P1&&"AGENT_NAME"in P1)return 1;if(G&&!J&&V===void 0)return 0;let Z=V||0;if(P1.TERM==="dumb")return Z;if(h2.platform==="win32"){let Q=e61.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in P1){if("GITHUB_ACTIONS"in P1||"GITEA_ACTIONS"in P1)return 3;if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in P1))||P1.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in P1)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(P1.TEAMCITY_VERSION)?1:0;if(P1.COLORTERM==="truecolor")return 3;if(P1.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in P1){let Q=Number.parseInt((P1.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(P1.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(P1.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(P1.TERM))return 1;if("COLORTERM"in P1)return 1;return Z}function _2(G,J={}){let X=XH1(G,{streamIsTTY:G&&G.isTTY,...J});return JH1(X)}var P1,U0,HH1,VH1;var UZ=Vz(()=>{({env:P1}=h2);if(JG("no-color")||JG("no-colors")||JG("color=false")||JG("color=never"))U0=0;else if(JG("color")||JG("colors")||JG("color=true")||JG("color=always"))U0=1;HH1={stdout:_2({isTTY:zZ.isatty(1)}),stderr:_2({isTTY:zZ.isatty(2)})},VH1=HH1});var $Z=f((BZ,B0)=>{var ZH1=l6("tty"),R0=l6("util");BZ.init=RH1;BZ.log=zH1;BZ.formatArgs=WH1;BZ.save=KH1;BZ.load=UH1;BZ.useColors=QH1;BZ.destroy=R0.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");BZ.colors=[6,2,3,4,5,1];try{let G=(UZ(),Xz(KZ));if(G&&(G.stderr||G).level>=2)BZ.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(G){}BZ.inspectOpts=Object.keys(process.env).filter((G)=>{return/^debug_/i.test(G)}).reduce((G,J)=>{let X=J.substring(6).toLowerCase().replace(/_([a-z])/g,(V,Z)=>{return Z.toUpperCase()}),H=process.env[J];if(/^(yes|on|true|enabled)$/i.test(H))H=!0;else if(/^(no|off|false|disabled)$/i.test(H))H=!1;else if(H==="null")H=null;else H=Number(H);return G[X]=H,G},{});function QH1(){return"colors"in BZ.inspectOpts?Boolean(BZ.inspectOpts.colors):ZH1.isatty(process.stderr.fd)}function WH1(G){let{namespace:J,useColors:X}=this;if(X){let H=this.color,V="\x1B[3"+(H<8?H:"8;5;"+H),Z=` ${V};1m${J} \x1B[0m`;G[0]=Z+G[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(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(`
23
24
  `).join(`
24
- `+Z),G.push(V+"m+"+B0.exports.humanize(this.diff)+"\x1B[0m")}else G[0]=YH1()+J+" "+G[0]}function YH1(){if(BZ.inspectOpts.hideDate)return"";return new Date().toISOString()+" "}function zH1(...G){return process.stderr.write(R0.formatWithOptions(BZ.inspectOpts,...G)+`
25
- `)}function KH1(G){if(G)process.env.DEBUG=G;else delete process.env.DEBUG}function UH1(){return process.env.DEBUG}function RH1(G){G.inspectOpts={};let J=Object.keys(BZ.inspectOpts);for(let X=0;X<J.length;X++)G.inspectOpts[J[X]]=BZ.inspectOpts[J[X]]}B0.exports=g2()(BZ);var{formatters:RZ}=B0.exports;RZ.o=function(G){return this.inspectOpts.colors=this.useColors,R0.inspect(G,this.inspectOpts).split(`
26
- `).map((J)=>J.trim()).join(" ")};RZ.O=function(G){return this.inspectOpts.colors=this.useColors,R0.inspect(G,this.inspectOpts)}});var FZ=f((e$1,u2)=>{if(typeof process==="undefined"||process.type==="renderer"||!1||process.__nwjs)u2.exports=YZ();else u2.exports=$Z()});var x2=f((OZ)=>{Object.defineProperty(OZ,"__esModule",{value:!0});OZ.isBindingIdentifier=cH1;OZ.isBlockScoped=rH1;OZ.isExpression=iH1;OZ.isFlow=oH1;OZ.isForAwaitStatement=J81;OZ.isGenerated=tH1;OZ.isPure=nH1;OZ.isReferenced=pH1;OZ.isReferencedIdentifier=xH1;OZ.isReferencedMemberExpression=mH1;OZ.isRestProperty=eH1;OZ.isScope=aH1;OZ.isSpreadProperty=G81;OZ.isStatement=lH1;OZ.isUser=dH1;OZ.isVar=sH1;var AH1=W1(),{isBinding:CH1,isBlockScoped:DH1,isExportDeclaration:SH1,isExpression:fH1,isFlow:IH1,isForStatement:PH1,isForXStatement:NH1,isIdentifier:qZ,isImportDeclaration:TH1,isImportSpecifier:wH1,isJSXIdentifier:LH1,isJSXMemberExpression:bH1,isMemberExpression:kH1,isRestElement:jZ,isReferenced:y2,isScope:vH1,isStatement:EH1,isVar:gH1,isVariableDeclaration:_H1,react:hH1,isForOfStatement:uH1}=AH1,{isCompatTag:yH1}=hH1;function xH1(G){let{node:J,parent:X}=this;if(!qZ(J,G)&&!bH1(X,G))if(LH1(J,G)){if(yH1(J.name))return!1}else return!1;return y2(J,X,this.parentPath.parent)}function mH1(){let{node:G,parent:J}=this;return kH1(G)&&y2(G,J)}function cH1(){let{node:G,parent:J}=this,X=this.parentPath.parent;return qZ(G)&&CH1(G,J,X)}function lH1(){let{node:G,parent:J}=this;if(EH1(G)){if(_H1(G)){if(NH1(J,{left:G}))return!1;if(PH1(J,{init:G}))return!1}return!0}else return!1}function iH1(){if(this.isIdentifier())return this.isReferencedIdentifier();else return fH1(this.node)}function aH1(){return vH1(this.node,this.parent)}function pH1(){return y2(this.node,this.parent)}function rH1(){return DH1(this.node)}function sH1(){return gH1(this.node)}function dH1(){return this.node&&!!this.node.loc}function tH1(){return!this.isUser()}function nH1(G){return this.scope.isPure(this.node,G)}function oH1(){let{node:G}=this;if(IH1(G))return!0;else if(TH1(G))return G.importKind==="type"||G.importKind==="typeof";else if(SH1(G))return G.exportKind==="type";else if(wH1(G))return G.importKind==="type"||G.importKind==="typeof";else return!1}function eH1(){var G;return jZ(this.node)&&((G=this.parentPath)==null?void 0:G.isObjectPattern())}function G81(){var G;return jZ(this.node)&&((G=this.parentPath)==null?void 0:G.isObjectExpression())}function J81(){return uH1(this.node,{await:!0})}OZ.isExistentialTypeParam=function G(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},OZ.isNumericLiteralTypeAnnotation=function G(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var WX=f((vZ)=>{Object.defineProperty(vZ,"__esModule",{value:!0});vZ.environmentVisitor=I81;vZ.explode=LZ;vZ.isExplodedVisitor=wZ;vZ.merge=kZ;vZ.verify=bZ;var TZ=E2(),j81=x2(),O81=W1(),AZ=MG(),{DEPRECATED_KEYS:CZ,DEPRECATED_ALIASES:DZ,FLIPPED_ALIAS_KEYS:SZ,TYPES:A81,__internal__deprecationWarning:fZ}=O81;function C81(G){return G in TZ}function wZ(G){return G==null?void 0:G._exploded}function LZ(G){if(wZ(G))return G;G._exploded=!0;for(let J of Object.keys(G)){if(eG(J))continue;let X=J.split("|");if(X.length===1)continue;let H=G[J];delete G[J];for(let V of X)G[V]=H}bZ(G),delete G.__esModule,D81(G),NZ(G);for(let J of Object.keys(G)){if(eG(J))continue;if(!C81(J))continue;let X=G[J];for(let V of Object.keys(X))X[V]=S81(J,X[V]);delete G[J];let H=TZ[J];if(H!==null)for(let V of H)if(G[V])QX(G[V],X);else G[V]=X;else QX(G,X)}for(let J of Object.keys(G)){if(eG(J))continue;let X=SZ[J];if(J in CZ){let V=CZ[J];fZ(J,V,"Visitor "),X=[V]}else if(J in DZ){let V=DZ[J];fZ(J,V,"Visitor "),X=SZ[V]}if(!X)continue;let H=G[J];delete G[J];for(let V of X){let Z=G[V];if(Z)QX(Z,H);else G[V]=Object.assign({},H)}}for(let J of Object.keys(G)){if(eG(J))continue;NZ(G[J])}return G}function bZ(G){if(G._verified)return;if(typeof G==="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 J of Object.keys(G)){if(J==="enter"||J==="exit")IZ(J,G[J]);if(eG(J))continue;if(!A81.includes(J))throw new Error(`You gave us a visitor for the node type ${J} but it's not a valid type in @babel/traverse 7.26.7`);let X=G[J];if(typeof X==="object")for(let H of Object.keys(X))if(H==="enter"||H==="exit")IZ(`${J}.${H}`,X[H]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${J} that has the invalid property ${H}`)}G._verified=!0}function IZ(G,J){let X=[].concat(J);for(let H of X)if(typeof H!=="function")throw new TypeError(`Non-function found defined in ${G} with type ${typeof H}`)}function kZ(G,J=[],X){let H={_verified:!0,_exploded:!0};Object.defineProperty(H,"_exploded",{enumerable:!1}),Object.defineProperty(H,"_verified",{enumerable:!1});for(let V=0;V<G.length;V++){let Z=LZ(G[V]),Q=J[V],W=Z;if(Q||X)W=PZ(W,Q,X);QX(H,W);for(let Y of Object.keys(Z)){if(eG(Y))continue;let z=Z[Y];if(Q||X)z=PZ(z,Q,X);let U=H[Y]||(H[Y]={});QX(U,z)}}return H}function PZ(G,J,X){let H={};for(let V of["enter","exit"]){let Z=G[V];if(!Array.isArray(Z))continue;Z=Z.map(function(Q){let W=Q;if(J)W=function(Y){Q.call(J,Y,J)};if(X)W=X(J==null?void 0:J.key,V,W);if(W!==Q)W.toString=()=>Q.toString();return W}),H[V]=Z}return H}function D81(G){for(let J of Object.keys(G)){if(eG(J))continue;let X=G[J];if(typeof X==="function")G[J]={enter:X}}}function NZ(G){if(G.enter&&!Array.isArray(G.enter))G.enter=[G.enter];if(G.exit&&!Array.isArray(G.exit))G.exit=[G.exit]}function S81(G,J){let X=`is${G}`,H=j81[X],V=function(Z){if(H.call(Z))return J.apply(this,arguments)};return V.toString=()=>J.toString(),V}function eG(G){if(G[0]==="_")return!0;if(G==="enter"||G==="exit"||G==="shouldSkip")return!0;if(G==="denylist"||G==="noScope"||G==="skipKeys")return!0;if(G==="blacklist")return!0;return!1}function QX(G,J){for(let X of["enter","exit"]){if(!J[X])continue;G[X]=[].concat(G[X]||[],J[X])}}var f81={FunctionParent(G){if(G.isArrowFunctionExpression())return;if(G.skip(),G.isMethod())if(!G.requeueComputedKeyAndDecorators)AZ.requeueComputedKeyAndDecorators.call(G);else G.requeueComputedKeyAndDecorators()},Property(G){if(G.isObjectProperty())return;if(G.skip(),!G.requeueComputedKeyAndDecorators)AZ.requeueComputedKeyAndDecorators.call(G);else G.requeueComputedKeyAndDecorators()}};function I81(G){return kZ([f81,G])}});var hZ=f((gZ)=>{Object.defineProperty(gZ,"__esModule",{value:!0});gZ.default=void 0;var M0=W1(),b81=M0,k81=$0(),v81=WX(),E81=MG(),{getAssignmentIdentifiers:g81}=b81,_81={ReferencedIdentifier({node:G},J){if(G.name===J.oldName)G.name=J.newName},Scope(G,J){if(!G.scope.bindingIdentifierEquals(J.oldName,J.binding.identifier)){if(G.skip(),G.isMethod())if(!G.requeueComputedKeyAndDecorators)E81.requeueComputedKeyAndDecorators.call(G);else G.requeueComputedKeyAndDecorators()}},ObjectProperty({node:G,scope:J},X){let{name:H}=G.key;if(G.shorthand&&(H===X.oldName||H===X.newName)&&J.getBindingIdentifier(H)===X.binding.identifier){G.shorthand=!1;{var V;if((V=G.extra)!=null&&V.shorthand)G.extra.shorthand=!1}}},"AssignmentExpression|Declaration|VariableDeclarator"(G,J){if(G.isVariableDeclaration())return;let X=G.isAssignmentExpression()?g81(G.node):G.getOuterBindingIdentifiers();for(let H in X)if(H===J.oldName)X[H].name=J.newName}};class EZ{constructor(G,J,X){this.newName=X,this.oldName=J,this.binding=G}maybeConvertFromExportDeclaration(G){let J=G.parentPath;if(!J.isExportDeclaration())return;if(J.isExportDefaultDeclaration()){let{declaration:X}=J.node;if(M0.isDeclaration(X)&&!X.id)return}if(J.isExportAllDeclaration())return;J.splitExportDeclaration()}maybeConvertFromClassFunctionDeclaration(G){return G}maybeConvertFromClassFunctionExpression(G){return G}rename(){let{binding:G,oldName:J,newName:X}=this,{scope:H,path:V}=G,Z=V.find((Y)=>Y.isDeclaration()||Y.isFunctionExpression()||Y.isClassExpression());if(Z){if(Z.getOuterBindingIdentifiers()[J]===G.identifier)this.maybeConvertFromExportDeclaration(Z)}let Q=arguments[0]||H.block,W={discriminant:!0};if(M0.isMethod(Q)){if(Q.computed)W.key=!0;if(!M0.isObjectMethod(Q))W.decorators=!0}if(k81.traverseNode(Q,v81.explode(_81),H,this,H.path,W),!arguments[0])H.removeOwnBinding(J),H.bindings[X]=G,this.binding.identifier.name=X;if(Z)this.maybeConvertFromClassFunctionDeclaration(V),this.maybeConvertFromClassFunctionExpression(V)}}gZ.default=EZ});var mZ=f((yZ)=>{Object.defineProperty(yZ,"__esModule",{value:!0});yZ.default=void 0;class uZ{constructor({identifier:G,scope:J,path:X,kind:H}){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=G,this.scope=J,this.path=X,this.kind=H,(H==="var"||H==="hoisted")&&h81(X))this.reassign(X);this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(G){if(this.hasDeoptedValue)return;this.hasValue=!0,this.value=G}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(G){if(this.constant=!1,this.constantViolations.includes(G))return;this.constantViolations.push(G)}reference(G){if(this.referencePaths.includes(G))return;this.referenced=!0,this.references++,this.referencePaths.push(G)}dereference(){this.references--,this.referenced=!!this.references}}yZ.default=uZ;function h81(G){for(let{parentPath:J,key:X}=G;J;{parentPath:J,key:X}=J){if(J.isFunctionParent())return!1;if(J.isWhile()||J.isForXStatement()||J.isForStatement()&&X==="body")return!0}return!1}});var cZ=f((QF1,u81)=>{u81.exports={builtin:{Array:!1,ArrayBuffer:!1,Atomics:!1,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,globalThis:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es5:{Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},es2015:{Array:!1,ArrayBuffer:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},es2017:{Array:!1,ArrayBuffer:!1,Atomics:!1,Boolean:!1,constructor:!1,DataView:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Float32Array:!1,Float64Array:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,JSON:!1,Map:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,Promise:!1,propertyIsEnumerable:!1,Proxy:!1,RangeError:!1,ReferenceError:!1,Reflect:!1,RegExp:!1,Set:!1,SharedArrayBuffer:!1,String:!1,Symbol:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1,WeakMap:!1,WeakSet:!1},browser:{AbortController:!1,AbortSignal:!1,addEventListener:!1,alert:!1,AnalyserNode:!1,Animation:!1,AnimationEffectReadOnly:!1,AnimationEffectTiming:!1,AnimationEffectTimingReadOnly:!1,AnimationEvent:!1,AnimationPlaybackEvent:!1,AnimationTimeline:!1,applicationCache:!1,ApplicationCache:!1,ApplicationCacheErrorEvent:!1,atob:!1,Attr:!1,Audio:!1,AudioBuffer:!1,AudioBufferSourceNode:!1,AudioContext:!1,AudioDestinationNode:!1,AudioListener:!1,AudioNode:!1,AudioParam:!1,AudioProcessingEvent:!1,AudioScheduledSourceNode:!1,"AudioWorkletGlobalScope ":!1,AudioWorkletNode:!1,AudioWorkletProcessor:!1,BarProp:!1,BaseAudioContext:!1,BatteryManager:!1,BeforeUnloadEvent:!1,BiquadFilterNode:!1,Blob:!1,BlobEvent:!1,blur:!1,BroadcastChannel:!1,btoa:!1,BudgetService:!1,ByteLengthQueuingStrategy:!1,Cache:!1,caches:!1,CacheStorage:!1,cancelAnimationFrame:!1,cancelIdleCallback:!1,CanvasCaptureMediaStreamTrack:!1,CanvasGradient:!1,CanvasPattern:!1,CanvasRenderingContext2D:!1,ChannelMergerNode:!1,ChannelSplitterNode:!1,CharacterData:!1,clearInterval:!1,clearTimeout:!1,clientInformation:!1,ClipboardEvent:!1,close:!1,closed:!1,CloseEvent:!1,Comment:!1,CompositionEvent:!1,confirm:!1,console:!1,ConstantSourceNode:!1,ConvolverNode:!1,CountQueuingStrategy:!1,createImageBitmap:!1,Credential:!1,CredentialsContainer:!1,crypto:!1,Crypto:!1,CryptoKey:!1,CSS:!1,CSSConditionRule:!1,CSSFontFaceRule:!1,CSSGroupingRule:!1,CSSImportRule:!1,CSSKeyframeRule:!1,CSSKeyframesRule:!1,CSSMediaRule:!1,CSSNamespaceRule:!1,CSSPageRule:!1,CSSRule:!1,CSSRuleList:!1,CSSStyleDeclaration:!1,CSSStyleRule:!1,CSSStyleSheet:!1,CSSSupportsRule:!1,CustomElementRegistry:!1,customElements:!1,CustomEvent:!1,DataTransfer:!1,DataTransferItem:!1,DataTransferItemList:!1,defaultstatus:!1,defaultStatus:!1,DelayNode:!1,DeviceMotionEvent:!1,DeviceOrientationEvent:!1,devicePixelRatio:!1,dispatchEvent:!1,document:!1,Document:!1,DocumentFragment:!1,DocumentType:!1,DOMError:!1,DOMException:!1,DOMImplementation:!1,DOMMatrix:!1,DOMMatrixReadOnly:!1,DOMParser:!1,DOMPoint:!1,DOMPointReadOnly:!1,DOMQuad:!1,DOMRect:!1,DOMRectReadOnly:!1,DOMStringList:!1,DOMStringMap:!1,DOMTokenList:!1,DragEvent:!1,DynamicsCompressorNode:!1,Element:!1,ErrorEvent:!1,event:!1,Event:!1,EventSource:!1,EventTarget:!1,external:!1,fetch:!1,File:!1,FileList:!1,FileReader:!1,find:!1,focus:!1,FocusEvent:!1,FontFace:!1,FontFaceSetLoadEvent:!1,FormData:!1,frameElement:!1,frames:!1,GainNode:!1,Gamepad:!1,GamepadButton:!1,GamepadEvent:!1,getComputedStyle:!1,getSelection:!1,HashChangeEvent:!1,Headers:!1,history:!1,History:!1,HTMLAllCollection:!1,HTMLAnchorElement:!1,HTMLAreaElement:!1,HTMLAudioElement:!1,HTMLBaseElement:!1,HTMLBodyElement:!1,HTMLBRElement:!1,HTMLButtonElement:!1,HTMLCanvasElement:!1,HTMLCollection:!1,HTMLContentElement:!1,HTMLDataElement:!1,HTMLDataListElement:!1,HTMLDetailsElement:!1,HTMLDialogElement:!1,HTMLDirectoryElement:!1,HTMLDivElement:!1,HTMLDListElement:!1,HTMLDocument:!1,HTMLElement:!1,HTMLEmbedElement:!1,HTMLFieldSetElement:!1,HTMLFontElement:!1,HTMLFormControlsCollection:!1,HTMLFormElement:!1,HTMLFrameElement:!1,HTMLFrameSetElement:!1,HTMLHeadElement:!1,HTMLHeadingElement:!1,HTMLHRElement:!1,HTMLHtmlElement:!1,HTMLIFrameElement:!1,HTMLImageElement:!1,HTMLInputElement:!1,HTMLLabelElement:!1,HTMLLegendElement:!1,HTMLLIElement:!1,HTMLLinkElement:!1,HTMLMapElement:!1,HTMLMarqueeElement:!1,HTMLMediaElement:!1,HTMLMenuElement:!1,HTMLMetaElement:!1,HTMLMeterElement:!1,HTMLModElement:!1,HTMLObjectElement:!1,HTMLOListElement:!1,HTMLOptGroupElement:!1,HTMLOptionElement:!1,HTMLOptionsCollection:!1,HTMLOutputElement:!1,HTMLParagraphElement:!1,HTMLParamElement:!1,HTMLPictureElement:!1,HTMLPreElement:!1,HTMLProgressElement:!1,HTMLQuoteElement:!1,HTMLScriptElement:!1,HTMLSelectElement:!1,HTMLShadowElement:!1,HTMLSlotElement:!1,HTMLSourceElement:!1,HTMLSpanElement:!1,HTMLStyleElement:!1,HTMLTableCaptionElement:!1,HTMLTableCellElement:!1,HTMLTableColElement:!1,HTMLTableElement:!1,HTMLTableRowElement:!1,HTMLTableSectionElement:!1,HTMLTemplateElement:!1,HTMLTextAreaElement:!1,HTMLTimeElement:!1,HTMLTitleElement:!1,HTMLTrackElement:!1,HTMLUListElement:!1,HTMLUnknownElement:!1,HTMLVideoElement:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,IdleDeadline:!1,IIRFilterNode:!1,Image:!1,ImageBitmap:!1,ImageBitmapRenderingContext:!1,ImageCapture:!1,ImageData:!1,indexedDB:!1,innerHeight:!1,innerWidth:!1,InputEvent:!1,IntersectionObserver:!1,IntersectionObserverEntry:!1,Intl:!1,isSecureContext:!1,KeyboardEvent:!1,KeyframeEffect:!1,KeyframeEffectReadOnly:!1,length:!1,localStorage:!1,location:!0,Location:!1,locationbar:!1,matchMedia:!1,MediaDeviceInfo:!1,MediaDevices:!1,MediaElementAudioSourceNode:!1,MediaEncryptedEvent:!1,MediaError:!1,MediaKeyMessageEvent:!1,MediaKeySession:!1,MediaKeyStatusMap:!1,MediaKeySystemAccess:!1,MediaList:!1,MediaQueryList:!1,MediaQueryListEvent:!1,MediaRecorder:!1,MediaSettingsRange:!1,MediaSource:!1,MediaStream:!1,MediaStreamAudioDestinationNode:!1,MediaStreamAudioSourceNode:!1,MediaStreamEvent:!1,MediaStreamTrack:!1,MediaStreamTrackEvent:!1,menubar:!1,MessageChannel:!1,MessageEvent:!1,MessagePort:!1,MIDIAccess:!1,MIDIConnectionEvent:!1,MIDIInput:!1,MIDIInputMap:!1,MIDIMessageEvent:!1,MIDIOutput:!1,MIDIOutputMap:!1,MIDIPort:!1,MimeType:!1,MimeTypeArray:!1,MouseEvent:!1,moveBy:!1,moveTo:!1,MutationEvent:!1,MutationObserver:!1,MutationRecord:!1,name:!1,NamedNodeMap:!1,NavigationPreloadManager:!1,navigator:!1,Navigator:!1,NetworkInformation:!1,Node:!1,NodeFilter:!1,NodeIterator:!1,NodeList:!1,Notification:!1,OfflineAudioCompletionEvent:!1,OfflineAudioContext:!1,offscreenBuffering:!1,OffscreenCanvas:!0,onabort:!0,onafterprint:!0,onanimationend:!0,onanimationiteration:!0,onanimationstart:!0,onappinstalled:!0,onauxclick:!0,onbeforeinstallprompt:!0,onbeforeprint:!0,onbeforeunload:!0,onblur:!0,oncancel:!0,oncanplay:!0,oncanplaythrough:!0,onchange:!0,onclick:!0,onclose:!0,oncontextmenu:!0,oncuechange:!0,ondblclick:!0,ondevicemotion:!0,ondeviceorientation:!0,ondeviceorientationabsolute:!0,ondrag:!0,ondragend:!0,ondragenter:!0,ondragleave:!0,ondragover:!0,ondragstart:!0,ondrop:!0,ondurationchange:!0,onemptied:!0,onended:!0,onerror:!0,onfocus:!0,ongotpointercapture:!0,onhashchange:!0,oninput:!0,oninvalid:!0,onkeydown:!0,onkeypress:!0,onkeyup:!0,onlanguagechange:!0,onload:!0,onloadeddata:!0,onloadedmetadata:!0,onloadstart:!0,onlostpointercapture:!0,onmessage:!0,onmessageerror:!0,onmousedown:!0,onmouseenter:!0,onmouseleave:!0,onmousemove:!0,onmouseout:!0,onmouseover:!0,onmouseup:!0,onmousewheel:!0,onoffline:!0,ononline:!0,onpagehide:!0,onpageshow:!0,onpause:!0,onplay:!0,onplaying:!0,onpointercancel:!0,onpointerdown:!0,onpointerenter:!0,onpointerleave:!0,onpointermove:!0,onpointerout:!0,onpointerover:!0,onpointerup:!0,onpopstate:!0,onprogress:!0,onratechange:!0,onrejectionhandled:!0,onreset:!0,onresize:!0,onscroll:!0,onsearch:!0,onseeked:!0,onseeking:!0,onselect:!0,onstalled:!0,onstorage:!0,onsubmit:!0,onsuspend:!0,ontimeupdate:!0,ontoggle:!0,ontransitionend:!0,onunhandledrejection:!0,onunload:!0,onvolumechange:!0,onwaiting:!0,onwheel:!0,open:!1,openDatabase:!1,opener:!1,Option:!1,origin:!1,OscillatorNode:!1,outerHeight:!1,outerWidth:!1,PageTransitionEvent:!1,pageXOffset:!1,pageYOffset:!1,PannerNode:!1,parent:!1,Path2D:!1,PaymentAddress:!1,PaymentRequest:!1,PaymentRequestUpdateEvent:!1,PaymentResponse:!1,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceLongTaskTiming:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceNavigationTiming:!1,PerformanceObserver:!1,PerformanceObserverEntryList:!1,PerformancePaintTiming:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,PeriodicWave:!1,Permissions:!1,PermissionStatus:!1,personalbar:!1,PhotoCapabilities:!1,Plugin:!1,PluginArray:!1,PointerEvent:!1,PopStateEvent:!1,postMessage:!1,Presentation:!1,PresentationAvailability:!1,PresentationConnection:!1,PresentationConnectionAvailableEvent:!1,PresentationConnectionCloseEvent:!1,PresentationConnectionList:!1,PresentationReceiver:!1,PresentationRequest:!1,print:!1,ProcessingInstruction:!1,ProgressEvent:!1,PromiseRejectionEvent:!1,prompt:!1,PushManager:!1,PushSubscription:!1,PushSubscriptionOptions:!1,queueMicrotask:!1,RadioNodeList:!1,Range:!1,ReadableStream:!1,registerProcessor:!1,RemotePlayback:!1,removeEventListener:!1,Request:!1,requestAnimationFrame:!1,requestIdleCallback:!1,resizeBy:!1,ResizeObserver:!1,ResizeObserverEntry:!1,resizeTo:!1,Response:!1,RTCCertificate:!1,RTCDataChannel:!1,RTCDataChannelEvent:!1,RTCDtlsTransport:!1,RTCIceCandidate:!1,RTCIceGatherer:!1,RTCIceTransport:!1,RTCPeerConnection:!1,RTCPeerConnectionIceEvent:!1,RTCRtpContributingSource:!1,RTCRtpReceiver:!1,RTCRtpSender:!1,RTCSctpTransport:!1,RTCSessionDescription:!1,RTCStatsReport:!1,RTCTrackEvent:!1,screen:!1,Screen:!1,screenLeft:!1,ScreenOrientation:!1,screenTop:!1,screenX:!1,screenY:!1,ScriptProcessorNode:!1,scroll:!1,scrollbars:!1,scrollBy:!1,scrollTo:!1,scrollX:!1,scrollY:!1,SecurityPolicyViolationEvent:!1,Selection:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerRegistration:!1,sessionStorage:!1,setInterval:!1,setTimeout:!1,ShadowRoot:!1,SharedWorker:!1,SourceBuffer:!1,SourceBufferList:!1,speechSynthesis:!1,SpeechSynthesisEvent:!1,SpeechSynthesisUtterance:!1,StaticRange:!1,status:!1,statusbar:!1,StereoPannerNode:!1,stop:!1,Storage:!1,StorageEvent:!1,StorageManager:!1,styleMedia:!1,StyleSheet:!1,StyleSheetList:!1,SubtleCrypto:!1,SVGAElement:!1,SVGAngle:!1,SVGAnimatedAngle:!1,SVGAnimatedBoolean:!1,SVGAnimatedEnumeration:!1,SVGAnimatedInteger:!1,SVGAnimatedLength:!1,SVGAnimatedLengthList:!1,SVGAnimatedNumber:!1,SVGAnimatedNumberList:!1,SVGAnimatedPreserveAspectRatio:!1,SVGAnimatedRect:!1,SVGAnimatedString:!1,SVGAnimatedTransformList:!1,SVGAnimateElement:!1,SVGAnimateMotionElement:!1,SVGAnimateTransformElement:!1,SVGAnimationElement:!1,SVGCircleElement:!1,SVGClipPathElement:!1,SVGComponentTransferFunctionElement:!1,SVGDefsElement:!1,SVGDescElement:!1,SVGDiscardElement:!1,SVGElement:!1,SVGEllipseElement:!1,SVGFEBlendElement:!1,SVGFEColorMatrixElement:!1,SVGFEComponentTransferElement:!1,SVGFECompositeElement:!1,SVGFEConvolveMatrixElement:!1,SVGFEDiffuseLightingElement:!1,SVGFEDisplacementMapElement:!1,SVGFEDistantLightElement:!1,SVGFEDropShadowElement:!1,SVGFEFloodElement:!1,SVGFEFuncAElement:!1,SVGFEFuncBElement:!1,SVGFEFuncGElement:!1,SVGFEFuncRElement:!1,SVGFEGaussianBlurElement:!1,SVGFEImageElement:!1,SVGFEMergeElement:!1,SVGFEMergeNodeElement:!1,SVGFEMorphologyElement:!1,SVGFEOffsetElement:!1,SVGFEPointLightElement:!1,SVGFESpecularLightingElement:!1,SVGFESpotLightElement:!1,SVGFETileElement:!1,SVGFETurbulenceElement:!1,SVGFilterElement:!1,SVGForeignObjectElement:!1,SVGGElement:!1,SVGGeometryElement:!1,SVGGradientElement:!1,SVGGraphicsElement:!1,SVGImageElement:!1,SVGLength:!1,SVGLengthList:!1,SVGLinearGradientElement:!1,SVGLineElement:!1,SVGMarkerElement:!1,SVGMaskElement:!1,SVGMatrix:!1,SVGMetadataElement:!1,SVGMPathElement:!1,SVGNumber:!1,SVGNumberList:!1,SVGPathElement:!1,SVGPatternElement:!1,SVGPoint:!1,SVGPointList:!1,SVGPolygonElement:!1,SVGPolylineElement:!1,SVGPreserveAspectRatio:!1,SVGRadialGradientElement:!1,SVGRect:!1,SVGRectElement:!1,SVGScriptElement:!1,SVGSetElement:!1,SVGStopElement:!1,SVGStringList:!1,SVGStyleElement:!1,SVGSVGElement:!1,SVGSwitchElement:!1,SVGSymbolElement:!1,SVGTextContentElement:!1,SVGTextElement:!1,SVGTextPathElement:!1,SVGTextPositioningElement:!1,SVGTitleElement:!1,SVGTransform:!1,SVGTransformList:!1,SVGTSpanElement:!1,SVGUnitTypes:!1,SVGUseElement:!1,SVGViewElement:!1,TaskAttributionTiming:!1,Text:!1,TextDecoder:!1,TextEncoder:!1,TextEvent:!1,TextMetrics:!1,TextTrack:!1,TextTrackCue:!1,TextTrackCueList:!1,TextTrackList:!1,TimeRanges:!1,toolbar:!1,top:!1,Touch:!1,TouchEvent:!1,TouchList:!1,TrackEvent:!1,TransitionEvent:!1,TreeWalker:!1,UIEvent:!1,URL:!1,URLSearchParams:!1,ValidityState:!1,visualViewport:!1,VisualViewport:!1,VTTCue:!1,WaveShaperNode:!1,WebAssembly:!1,WebGL2RenderingContext:!1,WebGLActiveInfo:!1,WebGLBuffer:!1,WebGLContextEvent:!1,WebGLFramebuffer:!1,WebGLProgram:!1,WebGLQuery:!1,WebGLRenderbuffer:!1,WebGLRenderingContext:!1,WebGLSampler:!1,WebGLShader:!1,WebGLShaderPrecisionFormat:!1,WebGLSync:!1,WebGLTexture:!1,WebGLTransformFeedback:!1,WebGLUniformLocation:!1,WebGLVertexArrayObject:!1,WebSocket:!1,WheelEvent:!1,window:!1,Window:!1,Worker:!1,WritableStream:!1,XMLDocument:!1,XMLHttpRequest:!1,XMLHttpRequestEventTarget:!1,XMLHttpRequestUpload:!1,XMLSerializer:!1,XPathEvaluator:!1,XPathExpression:!1,XPathResult:!1,XSLTProcessor:!1},worker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,clearInterval:!1,clearTimeout:!1,close:!0,console:!1,fetch:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!0,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onlanguagechange:!0,onmessage:!0,onoffline:!0,ononline:!0,onrejectionhandled:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,removeEventListener:!1,Request:!1,Response:!1,self:!0,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},node:{__dirname:!1,__filename:!1,Buffer:!1,clearImmediate:!1,clearInterval:!1,clearTimeout:!1,console:!1,exports:!0,global:!1,Intl:!1,module:!1,process:!1,queueMicrotask:!1,require:!1,setImmediate:!1,setInterval:!1,setTimeout:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1},commonjs:{exports:!0,global:!1,module:!1,require:!1},amd:{define:!1,require:!1},mocha:{after:!1,afterEach:!1,before:!1,beforeEach:!1,context:!1,describe:!1,it:!1,mocha:!1,run:!1,setup:!1,specify:!1,suite:!1,suiteSetup:!1,suiteTeardown:!1,teardown:!1,test:!1,xcontext:!1,xdescribe:!1,xit:!1,xspecify:!1},jasmine:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fail:!1,fdescribe:!1,fit:!1,it:!1,jasmine:!1,pending:!1,runs:!1,spyOn:!1,spyOnProperty:!1,waits:!1,waitsFor:!1,xdescribe:!1,xit:!1},jest:{afterAll:!1,afterEach:!1,beforeAll:!1,beforeEach:!1,describe:!1,expect:!1,fdescribe:!1,fit:!1,it:!1,jest:!1,pit:!1,require:!1,test:!1,xdescribe:!1,xit:!1,xtest:!1},qunit:{asyncTest:!1,deepEqual:!1,equal:!1,expect:!1,module:!1,notDeepEqual:!1,notEqual:!1,notOk:!1,notPropEqual:!1,notStrictEqual:!1,ok:!1,propEqual:!1,QUnit:!1,raises:!1,start:!1,stop:!1,strictEqual:!1,test:!1,throws:!1},phantomjs:{console:!0,exports:!0,phantom:!0,require:!0,WebPage:!0},couch:{emit:!1,exports:!1,getRow:!1,log:!1,module:!1,provides:!1,require:!1,respond:!1,send:!1,start:!1,sum:!1},rhino:{defineClass:!1,deserialize:!1,gc:!1,help:!1,importClass:!1,importPackage:!1,java:!1,load:!1,loadClass:!1,Packages:!1,print:!1,quit:!1,readFile:!1,readUrl:!1,runCommand:!1,seal:!1,serialize:!1,spawn:!1,sync:!1,toint32:!1,version:!1},nashorn:{__DIR__:!1,__FILE__:!1,__LINE__:!1,com:!1,edu:!1,exit:!1,java:!1,Java:!1,javafx:!1,JavaImporter:!1,javax:!1,JSAdapter:!1,load:!1,loadWithNewGlobal:!1,org:!1,Packages:!1,print:!1,quit:!1},wsh:{ActiveXObject:!0,Enumerator:!0,GetObject:!0,ScriptEngine:!0,ScriptEngineBuildVersion:!0,ScriptEngineMajorVersion:!0,ScriptEngineMinorVersion:!0,VBArray:!0,WScript:!0,WSH:!0,XDomainRequest:!0},jquery:{$:!1,jQuery:!1},yui:{YAHOO:!1,YAHOO_config:!1,YUI:!1,YUI_config:!1},shelljs:{cat:!1,cd:!1,chmod:!1,config:!1,cp:!1,dirs:!1,echo:!1,env:!1,error:!1,exec:!1,exit:!1,find:!1,grep:!1,ln:!1,ls:!1,mkdir:!1,mv:!1,popd:!1,pushd:!1,pwd:!1,rm:!1,sed:!1,set:!1,target:!1,tempdir:!1,test:!1,touch:!1,which:!1},prototypejs:{$:!1,$$:!1,$A:!1,$break:!1,$continue:!1,$F:!1,$H:!1,$R:!1,$w:!1,Abstract:!1,Ajax:!1,Autocompleter:!1,Builder:!1,Class:!1,Control:!1,Draggable:!1,Draggables:!1,Droppables:!1,Effect:!1,Element:!1,Enumerable:!1,Event:!1,Field:!1,Form:!1,Hash:!1,Insertion:!1,ObjectRange:!1,PeriodicalExecuter:!1,Position:!1,Prototype:!1,Scriptaculous:!1,Selector:!1,Sortable:!1,SortableObserver:!1,Sound:!1,Template:!1,Toggle:!1,Try:!1},meteor:{_:!1,$:!1,Accounts:!1,AccountsClient:!1,AccountsCommon:!1,AccountsServer:!1,App:!1,Assets:!1,Blaze:!1,check:!1,Cordova:!1,DDP:!1,DDPRateLimiter:!1,DDPServer:!1,Deps:!1,EJSON:!1,Email:!1,HTTP:!1,Log:!1,Match:!1,Meteor:!1,Mongo:!1,MongoInternals:!1,Npm:!1,Package:!1,Plugin:!1,process:!1,Random:!1,ReactiveDict:!1,ReactiveVar:!1,Router:!1,ServiceConfiguration:!1,Session:!1,share:!1,Spacebars:!1,Template:!1,Tinytest:!1,Tracker:!1,UI:!1,Utils:!1,WebApp:!1,WebAppInternals:!1},mongo:{_isWindows:!1,_rand:!1,BulkWriteResult:!1,cat:!1,cd:!1,connect:!1,db:!1,getHostName:!1,getMemInfo:!1,hostname:!1,ISODate:!1,listFiles:!1,load:!1,ls:!1,md5sumFile:!1,mkdir:!1,Mongo:!1,NumberInt:!1,NumberLong:!1,ObjectId:!1,PlanCache:!1,print:!1,printjson:!1,pwd:!1,quit:!1,removeFile:!1,rs:!1,sh:!1,UUID:!1,version:!1,WriteResult:!1},applescript:{$:!1,Application:!1,Automation:!1,console:!1,delay:!1,Library:!1,ObjC:!1,ObjectSpecifier:!1,Path:!1,Progress:!1,Ref:!1},serviceworker:{addEventListener:!1,applicationCache:!1,atob:!1,Blob:!1,BroadcastChannel:!1,btoa:!1,Cache:!1,caches:!1,CacheStorage:!1,clearInterval:!1,clearTimeout:!1,Client:!1,clients:!1,Clients:!1,close:!0,console:!1,ExtendableEvent:!1,ExtendableMessageEvent:!1,fetch:!1,FetchEvent:!1,FileReaderSync:!1,FormData:!1,Headers:!1,IDBCursor:!1,IDBCursorWithValue:!1,IDBDatabase:!1,IDBFactory:!1,IDBIndex:!1,IDBKeyRange:!1,IDBObjectStore:!1,IDBOpenDBRequest:!1,IDBRequest:!1,IDBTransaction:!1,IDBVersionChangeEvent:!1,ImageData:!1,importScripts:!1,indexedDB:!1,location:!1,MessageChannel:!1,MessagePort:!1,name:!1,navigator:!1,Notification:!1,onclose:!0,onconnect:!0,onerror:!0,onfetch:!0,oninstall:!0,onlanguagechange:!0,onmessage:!0,onmessageerror:!0,onnotificationclick:!0,onnotificationclose:!0,onoffline:!0,ononline:!0,onpush:!0,onpushsubscriptionchange:!0,onrejectionhandled:!0,onsync:!0,onunhandledrejection:!0,performance:!1,Performance:!1,PerformanceEntry:!1,PerformanceMark:!1,PerformanceMeasure:!1,PerformanceNavigation:!1,PerformanceResourceTiming:!1,PerformanceTiming:!1,postMessage:!0,Promise:!1,queueMicrotask:!1,registration:!1,removeEventListener:!1,Request:!1,Response:!1,self:!1,ServiceWorker:!1,ServiceWorkerContainer:!1,ServiceWorkerGlobalScope:!1,ServiceWorkerMessageEvent:!1,ServiceWorkerRegistration:!1,setInterval:!1,setTimeout:!1,skipWaiting:!1,TextDecoder:!1,TextEncoder:!1,URL:!1,URLSearchParams:!1,WebSocket:!1,WindowClient:!1,Worker:!1,WorkerGlobalScope:!1,XMLHttpRequest:!1},atomtest:{advanceClock:!1,fakeClearInterval:!1,fakeClearTimeout:!1,fakeSetInterval:!1,fakeSetTimeout:!1,resetTimeouts:!1,waitsForPromise:!1},embertest:{andThen:!1,click:!1,currentPath:!1,currentRouteName:!1,currentURL:!1,fillIn:!1,find:!1,findAll:!1,findWithAssert:!1,keyEvent:!1,pauseTest:!1,resumeTest:!1,triggerEvent:!1,visit:!1,wait:!1},protractor:{$:!1,$$:!1,browser:!1,by:!1,By:!1,DartObject:!1,element:!1,protractor:!1},"shared-node-browser":{clearInterval:!1,clearTimeout:!1,console:!1,setInterval:!1,setTimeout:!1,URL:!1,URLSearchParams:!1},webextensions:{browser:!1,chrome:!1,opr:!1},greasemonkey:{cloneInto:!1,createObjectIn:!1,exportFunction:!1,GM:!1,GM_addStyle:!1,GM_deleteValue:!1,GM_getResourceText:!1,GM_getResourceURL:!1,GM_getValue:!1,GM_info:!1,GM_listValues:!1,GM_log:!1,GM_openInTab:!1,GM_registerMenuCommand:!1,GM_setClipboard:!1,GM_setValue:!1,GM_xmlhttpRequest:!1,unsafeWindow:!1},devtools:{$:!1,$_:!1,$$:!1,$0:!1,$1:!1,$2:!1,$3:!1,$4:!1,$x:!1,chrome:!1,clear:!1,copy:!1,debug:!1,dir:!1,dirxml:!1,getEventListeners:!1,inspect:!1,keys:!1,monitor:!1,monitorEvents:!1,profile:!1,profileEnd:!1,queryObjects:!1,table:!1,undebug:!1,unmonitor:!1,unmonitorEvents:!1,values:!1}}});var GJ=f((aZ)=>{Object.defineProperty(aZ,"__esModule",{value:!0});aZ.clear=x81;aZ.clearPath=lZ;aZ.clearScope=iZ;aZ.getCachedPaths=m81;aZ.getOrCreateCachedPaths=c81;aZ.scope=aZ.path=void 0;var F0=aZ.path=new WeakMap,y81=aZ.scope=new WeakMap;function x81(){lZ(),iZ()}function lZ(){aZ.path=F0=new WeakMap}function iZ(){aZ.scope=y81=new WeakMap}var m2=Object.freeze({});function m81(G,J){var X,H;return G=null,(X=F0.get((H=G)!=null?H:m2))==null?void 0:X.get(J)}function c81(G,J){var X,H;G=null;let V=F0.get((X=G)!=null?X:m2);if(!V)F0.set((H=G)!=null?H:m2,V=new WeakMap);let Z=V.get(J);if(!Z)V.set(J,Z=new Map);return Z}});var p2=f((WQ)=>{Object.defineProperty(WQ,"__esModule",{value:!0});WQ.default=void 0;var s81=hZ(),d81=YX(),t81=mZ(),n81=cZ(),JQ=W1(),XQ=JQ,rZ=GJ(),o81=WX(),{NOT_LOCAL_BINDING:sZ,assignmentExpression:e81,callExpression:dZ,cloneNode:tZ,getBindingIdentifiers:HQ,identifier:XJ,isArrayExpression:VQ,isBinary:G41,isCallExpression:nZ,isClass:J41,isClassBody:X41,isClassDeclaration:H41,isExportAllDeclaration:ZQ,isExportDefaultDeclaration:V41,isExportNamedDeclaration:l2,isFunctionDeclaration:Z41,isIdentifier:JJ,isImportDeclaration:i2,isLiteral:Q41,isMemberExpression:W41,isMethod:Y41,isModuleSpecifier:z41,isNullLiteral:K41,isObjectExpression:U41,isProperty:R41,isPureish:B41,isRegExpLiteral:M41,isSuper:$41,isTaggedTemplateExpression:F41,isTemplateLiteral:QQ,isThisExpression:oZ,isUnaryExpression:q41,isVariableDeclaration:j41,expressionStatement:O41,matchesPattern:eZ,memberExpression:a2,numericLiteral:A41,toIdentifier:C41,variableDeclaration:D41,variableDeclarator:S41,isRecordExpression:f41,isTupleExpression:I41,isObjectProperty:P41,isTopicReference:GQ,isMetaProperty:N41,isPrivateName:T41,isExportDeclaration:w41,buildUndefinedNode:L41,sequenceExpression:b41}=JQ;function S1(G,J){switch(G==null?void 0:G.type){default:if(i2(G)||w41(G)){var X;if((ZQ(G)||l2(G)||i2(G))&&G.source)S1(G.source,J);else if((l2(G)||i2(G))&&(X=G.specifiers)!=null&&X.length)for(let H of G.specifiers)S1(H,J);else if((V41(G)||l2(G))&&G.declaration)S1(G.declaration,J)}else if(z41(G))S1(G.local,J);else if(Q41(G)&&!K41(G)&&!M41(G)&&!QQ(G))J.push(G.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":S1(G.object,J),S1(G.property,J);break;case"Identifier":case"JSXIdentifier":J.push(G.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":S1(G.callee,J);break;case"ObjectExpression":case"ObjectPattern":for(let H of G.properties)S1(H,J);break;case"SpreadElement":case"RestElement":S1(G.argument,J);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":S1(G.key,J);break;case"ThisExpression":J.push("this");break;case"Super":J.push("super");break;case"Import":J.push("import");break;case"DoExpression":J.push("do");break;case"YieldExpression":J.push("yield"),S1(G.argument,J);break;case"AwaitExpression":J.push("await"),S1(G.argument,J);break;case"AssignmentExpression":S1(G.left,J);break;case"VariableDeclarator":S1(G.id,J);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":S1(G.id,J);break;case"PrivateName":S1(G.id,J);break;case"ParenthesizedExpression":S1(G.expression,J);break;case"UnaryExpression":case"UpdateExpression":S1(G.argument,J);break;case"MetaProperty":S1(G.meta,J),S1(G.property,J);break;case"JSXElement":S1(G.openingElement,J);break;case"JSXOpeningElement":S1(G.name,J);break;case"JSXFragment":S1(G.openingFragment,J);break;case"JSXOpeningFragment":J.push("Fragment");break;case"JSXNamespacedName":S1(G.namespace,J),S1(G.name,J);break}}var q0={ForStatement(G){let J=G.get("init");if(J.isVar()){let{scope:X}=G;(X.getFunctionParent()||X.getProgramParent()).registerBinding("var",J)}},Declaration(G){if(G.isBlockScoped())return;if(G.isImportDeclaration())return;if(G.isExportDeclaration())return;(G.scope.getFunctionParent()||G.scope.getProgramParent()).registerDeclaration(G)},ImportDeclaration(G){G.scope.getBlockParent().registerDeclaration(G)},TSImportEqualsDeclaration(G){G.scope.getBlockParent().registerDeclaration(G)},ReferencedIdentifier(G,J){if(XQ.isTSQualifiedName(G.parent)&&G.parent.right===G.node)return;if(G.parentPath.isTSImportEqualsDeclaration())return;J.references.push(G)},ForXStatement(G,J){let X=G.get("left");if(X.isPattern()||X.isIdentifier())J.constantViolations.push(G);else if(X.isVar()){let{scope:H}=G;(H.getFunctionParent()||H.getProgramParent()).registerBinding("var",X)}},ExportDeclaration:{exit(G){let{node:J,scope:X}=G;if(ZQ(J))return;let H=J.declaration;if(H41(H)||Z41(H)){let V=H.id;if(!V)return;let Z=X.getBinding(V.name);Z==null||Z.reference(G)}else if(j41(H))for(let V of H.declarations)for(let Z of Object.keys(HQ(V))){let Q=X.getBinding(Z);Q==null||Q.reference(G)}}},LabeledStatement(G){G.scope.getBlockParent().registerDeclaration(G)},AssignmentExpression(G,J){J.assignments.push(G)},UpdateExpression(G,J){J.constantViolations.push(G)},UnaryExpression(G,J){if(G.node.operator==="delete")J.constantViolations.push(G)},BlockScoped(G){let J=G.scope;if(J.path===G)J=J.parent;if(J.getBlockParent().registerDeclaration(G),G.isClassDeclaration()&&G.node.id){let V=G.node.id.name;G.scope.bindings[V]=G.scope.parent.getBinding(V)}},CatchClause(G){G.scope.registerBinding("let",G)},Function(G){let J=G.get("params");for(let X of J)G.scope.registerBinding("param",X);if(G.isFunctionExpression()&&G.node.id&&!G.node.id[sZ])G.scope.registerBinding("local",G.get("id"),G)},ClassExpression(G){if(G.node.id&&!G.node.id[sZ])G.scope.registerBinding("local",G.get("id"),G)},TSTypeAnnotation(G){G.skip()}},k41=0;class XG{constructor(G){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:J}=G,X=rZ.scope.get(J);if((X==null?void 0:X.path)===G)return X;rZ.scope.set(J,this),this.uid=k41++,this.block=J,this.path=G,this.labels=new Map,this.inited=!1}get parent(){var G;let J,X=this.path;do{var H;let V=X.key==="key"||X.listKey==="decorators";if(X=X.parentPath,V&&X.isMethod())X=X.parentPath;if((H=X)!=null&&H.isScope())J=X}while(X&&!J);return(G=J)==null?void 0:G.scope}generateDeclaredUidIdentifier(G){let J=this.generateUidIdentifier(G);return this.push({id:J}),tZ(J)}generateUidIdentifier(G){return XJ(this.generateUid(G))}generateUid(G="temp"){G=C41(G).replace(/^_+/,"").replace(/\d+$/g,"");let J,X=1;do{if(J=`_${G}`,X>1)J+=X;X++}while(this.hasLabel(J)||this.hasBinding(J)||this.hasGlobal(J)||this.hasReference(J));let H=this.getProgramParent();return H.references[J]=!0,H.uids[J]=!0,J}generateUidBasedOnNode(G,J){let X=[];S1(G,X);let H=X.join("$");return H=H.replace(/^_/,"")||J||"ref",this.generateUid(H.slice(0,20))}generateUidIdentifierBasedOnNode(G,J){return XJ(this.generateUidBasedOnNode(G,J))}isStatic(G){if(oZ(G)||$41(G)||GQ(G))return!0;if(JJ(G)){let J=this.getBinding(G.name);if(J)return J.constant;else return this.hasBinding(G.name)}return!1}maybeGenerateMemoised(G,J){if(this.isStatic(G))return null;else{let X=this.generateUidIdentifierBasedOnNode(G);if(!J)return this.push({id:X}),tZ(X);return X}}checkBlockScopedCollisions(G,J,X,H){if(J==="param")return;if(G.kind==="local")return;if(J==="let"||G.kind==="let"||G.kind==="const"||G.kind==="module"||G.kind==="param"&&J==="const")throw this.path.hub.buildError(H,`Duplicate declaration "${X}"`,TypeError)}rename(G,J){let X=this.getBinding(G);if(X)J||(J=this.generateUidIdentifier(G).name),new s81.default(X,G,J).rename(arguments[2])}dump(){let G="-".repeat(60);console.log(G);let J=this;do{console.log("#",J.block.type);for(let X of Object.keys(J.bindings)){let H=J.bindings[X];console.log(" -",X,{constant:H.constant,references:H.references,violations:H.constantViolations.length,kind:H.kind})}}while(J=J.parent);console.log(G)}hasLabel(G){return!!this.getLabel(G)}getLabel(G){return this.labels.get(G)}registerLabel(G){this.labels.set(G.node.label.name,G)}registerDeclaration(G){if(G.isLabeledStatement())this.registerLabel(G);else if(G.isFunctionDeclaration())this.registerBinding("hoisted",G.get("id"),G);else if(G.isVariableDeclaration()){let J=G.get("declarations"),{kind:X}=G.node;for(let H of J)this.registerBinding(X==="using"||X==="await using"?"const":X,H)}else if(G.isClassDeclaration()){if(G.node.declare)return;this.registerBinding("let",G)}else if(G.isImportDeclaration()){let J=G.node.importKind==="type"||G.node.importKind==="typeof",X=G.get("specifiers");for(let H of X){let V=J||H.isImportSpecifier()&&(H.node.importKind==="type"||H.node.importKind==="typeof");this.registerBinding(V?"unknown":"module",H)}}else if(G.isExportDeclaration()){let J=G.get("declaration");if(J.isClassDeclaration()||J.isFunctionDeclaration()||J.isVariableDeclaration())this.registerDeclaration(J)}else this.registerBinding("unknown",G)}buildUndefinedNode(){return L41()}registerConstantViolation(G){let J=G.getAssignmentIdentifiers();for(let H of Object.keys(J)){var X;(X=this.getBinding(H))==null||X.reassign(G)}}registerBinding(G,J,X=J){if(!G)throw new ReferenceError("no `kind`");if(J.isVariableDeclaration()){let Z=J.get("declarations");for(let Q of Z)this.registerBinding(G,Q);return}let H=this.getProgramParent(),V=J.getOuterBindingIdentifiers(!0);for(let Z of Object.keys(V)){H.references[Z]=!0;for(let Q of V[Z]){let W=this.getOwnBinding(Z);if(W){if(W.identifier===Q)continue;this.checkBlockScopedCollisions(W,G,Z,Q)}if(W)W.reassign(X);else this.bindings[Z]=new t81.default({identifier:Q,scope:this,path:X,kind:G})}}}addGlobal(G){this.globals[G.name]=G}hasUid(G){let J=this;do if(J.uids[G])return!0;while(J=J.parent);return!1}hasGlobal(G){let J=this;do if(J.globals[G])return!0;while(J=J.parent);return!1}hasReference(G){return!!this.getProgramParent().references[G]}isPure(G,J){if(JJ(G)){let Z=this.getBinding(G.name);if(!Z)return!1;if(J)return Z.constant;return!0}else if(oZ(G)||N41(G)||GQ(G)||T41(G))return!0;else if(J41(G)){var X;if(G.superClass&&!this.isPure(G.superClass,J))return!1;if(((X=G.decorators)==null?void 0:X.length)>0)return!1;return this.isPure(G.body,J)}else if(X41(G)){for(let Z of G.body)if(!this.isPure(Z,J))return!1;return!0}else if(G41(G))return this.isPure(G.left,J)&&this.isPure(G.right,J);else if(VQ(G)||I41(G)){for(let Z of G.elements)if(Z!==null&&!this.isPure(Z,J))return!1;return!0}else if(U41(G)||f41(G)){for(let Z of G.properties)if(!this.isPure(Z,J))return!1;return!0}else if(Y41(G)){var H;if(G.computed&&!this.isPure(G.key,J))return!1;if(((H=G.decorators)==null?void 0:H.length)>0)return!1;return!0}else if(R41(G)){var V;if(G.computed&&!this.isPure(G.key,J))return!1;if(((V=G.decorators)==null?void 0:V.length)>0)return!1;if(P41(G)||G.static){if(G.value!==null&&!this.isPure(G.value,J))return!1}return!0}else if(q41(G))return this.isPure(G.argument,J);else if(QQ(G)){for(let Z of G.expressions)if(!this.isPure(Z,J))return!1;return!0}else if(F41(G))return eZ(G.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(G.quasi,J);else if(W41(G))return!G.computed&&JJ(G.object)&&G.object.name==="Symbol"&&JJ(G.property)&&G.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0});else if(nZ(G))return eZ(G.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&G.arguments.length===1&&XQ.isStringLiteral(G.arguments[0]);else return B41(G)}setData(G,J){return this.data[G]=J}getData(G){let J=this;do{let X=J.data[G];if(X!=null)return X}while(J=J.parent)}removeData(G){let J=this;do if(J.data[G]!=null)J.data[G]=null;while(J=J.parent)}init(){if(!this.inited)this.inited=!0,this.crawl()}crawl(){let G=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 J=this;do{if(J.crawling)return;if(J.path.isProgram())break}while(J=J.parent);let X=J,H={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,G.type!=="Program"&&o81.isExplodedVisitor(q0)){for(let Z of q0.enter)Z.call(H,G,H);let V=q0[G.type];if(V)for(let Z of V.enter)Z.call(H,G,H)}G.traverse(q0,H),this.crawling=!1;for(let V of H.assignments){let Z=V.getAssignmentIdentifiers();for(let Q of Object.keys(Z)){if(V.scope.getBinding(Q))continue;X.addGlobal(Z[Q])}V.scope.registerConstantViolation(V)}for(let V of H.references){let Z=V.scope.getBinding(V.node.name);if(Z)Z.reference(V);else X.addGlobal(V.node)}for(let V of H.constantViolations)V.scope.registerConstantViolation(V)}push(G){let J=this.path;if(J.isPattern())J=this.getPatternParent().path;else if(!J.isBlockStatement()&&!J.isProgram())J=this.getBlockParent().path;if(J.isSwitchStatement())J=(this.getFunctionParent()||this.getProgramParent()).path;let{init:X,unique:H,kind:V="var",id:Z}=G;if(!X&&!H&&(V==="var"||V==="let")&&J.isFunction()&&!J.node.name&&nZ(J.parent,{callee:J.node})&&J.parent.arguments.length<=J.node.params.length&&JJ(Z)){J.pushContainer("params",Z),J.scope.registerBinding("param",J.get("params")[J.node.params.length-1]);return}if(J.isLoop()||J.isCatchClause()||J.isFunction())J.ensureBlock(),J=J.get("body");let Q=G._blockHoist==null?2:G._blockHoist,W=`declaration:${V}:${Q}`,Y=!H&&J.getData(W);if(!Y){let q=D41(V,[]);if(q._blockHoist=Q,[Y]=J.unshiftContainer("body",[q]),!H)J.setData(W,Y)}let z=S41(Z,X),U=Y.node.declarations.push(z);J.scope.registerBinding(V,Y.get("declarations")[U-1])}getProgramParent(){let G=this;do if(G.path.isProgram())return G;while(G=G.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let G=this;do if(G.path.isFunctionParent())return G;while(G=G.parent);return null}getBlockParent(){let G=this;do if(G.path.isBlockParent())return G;while(G=G.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let G=this;do if(!G.path.isPattern())return G.getBlockParent();while(G=G.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let G=Object.create(null),J=this;do{for(let X of Object.keys(J.bindings))if(X in G===!1)G[X]=J.bindings[X];J=J.parent}while(J);return G}bindingIdentifierEquals(G,J){return this.getBindingIdentifier(G)===J}getBinding(G){let J=this,X;do{let V=J.getOwnBinding(G);if(V){var H;if((H=X)!=null&&H.isPattern()&&V.kind!=="param"&&V.kind!=="local");else return V}else if(!V&&G==="arguments"&&J.path.isFunction()&&!J.path.isArrowFunctionExpression())break;X=J.path}while(J=J.parent)}getOwnBinding(G){return this.bindings[G]}getBindingIdentifier(G){var J;return(J=this.getBinding(G))==null?void 0:J.identifier}getOwnBindingIdentifier(G){let J=this.bindings[G];return J==null?void 0:J.identifier}hasOwnBinding(G){return!!this.getOwnBinding(G)}hasBinding(G,J){if(!G)return!1;let X=this;do if(X.hasOwnBinding(G))return!0;while(X=X.parent);let H,V;if(typeof J==="object")H=J.noGlobals,V=J.noUids;else if(typeof J==="boolean")H=J;if(!V&&this.hasUid(G))return!0;if(!H&&XG.globals.includes(G))return!0;if(!H&&XG.contextVariables.includes(G))return!0;return!1}parentHasBinding(G,J){var X;return(X=this.parent)==null?void 0:X.hasBinding(G,J)}moveBindingTo(G,J){let X=this.getBinding(G);if(X)X.scope.removeOwnBinding(G),X.scope=J,J.bindings[G]=X}removeOwnBinding(G){delete this.bindings[G]}removeBinding(G){var J;(J=this.getBinding(G))==null||J.scope.removeOwnBinding(G);let X=this;do if(X.uids[G])X.uids[G]=!1;while(X=X.parent)}hoistVariables(G=(J)=>this.push({id:J})){this.crawl();let J=new Set;for(let H of Object.keys(this.bindings)){let V=this.bindings[H];if(!V)continue;let{path:Z}=V;if(!Z.isVariableDeclarator())continue;let{parent:Q,parentPath:W}=Z;if(Q.kind!=="var"||J.has(Q))continue;J.add(Z.parent);let Y,z=[];for(let U of Q.declarations){var X;if((X=Y)!=null||(Y=U.id),U.init)z.push(e81("=",U.id,U.init));let q=Object.keys(HQ(U,!1,!0,!0));for(let A of q)G(XJ(A),U.init!=null)}if(W.parentPath.isFor({left:Q}))W.replaceWith(Y);else if(z.length===0)W.remove();else{let U=z.length===1?z[0]:b41(z);if(W.parentPath.isForStatement({init:Q}))W.replaceWith(U);else W.replaceWith(O41(U))}}}}WQ.default=XG;XG.globals=Object.keys(n81.builtin);XG.contextVariables=["arguments","undefined","Infinity","NaN"];XG.prototype._renameFromMap=function G(J,X,H,V){if(J[X])J[H]=V,J[X]=null},XG.prototype.traverse=function(G,J,X){d81.default(G,J,this,X,this.path)},XG.prototype._generateUid=function G(J,X){let H=J;if(X>1)H+=X;return`_${H}`},XG.prototype.toArray=function G(J,X,H){if(JJ(J)){let Q=this.getBinding(J.name);if(Q!=null&&Q.constant&&Q.path.isGenericType("Array"))return J}if(VQ(J))return J;if(JJ(J,{name:"arguments"}))return dZ(a2(a2(a2(XJ("Array"),XJ("prototype")),XJ("slice")),XJ("call")),[J]);let V,Z=[J];if(X===!0)V="toConsumableArray";else if(typeof X==="number")Z.push(A41(X)),V="slicedToArray";else V="toArray";if(H)Z.unshift(this.path.hub.addHelper(V)),V="maybeArrayLike";return dZ(this.path.hub.addHelper(V),Z)},XG.prototype.getAllBindingsOfKind=function G(...J){let X=Object.create(null);for(let H of J){let V=this;do{for(let Z of Object.keys(V.bindings)){let Q=V.bindings[Z];if(Q.kind===H)X[Z]=Q}V=V.parent}while(V)}return X},Object.defineProperties(XG.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var KQ=f((zQ)=>{Object.defineProperty(zQ,"__esModule",{value:!0});zQ.find=_41;zQ.findParent=g41;zQ.getAncestry=m41;zQ.getDeepestCommonAncestorFrom=x41;zQ.getEarliestCommonAncestorFrom=y41;zQ.getFunctionParent=h41;zQ.getStatementParent=u41;zQ.inType=i41;zQ.isAncestor=c41;zQ.isDescendant=l41;var v41=W1(),{VISITOR_KEYS:E41}=v41;function g41(G){let J=this;while(J=J.parentPath)if(G(J))return J;return null}function _41(G){let J=this;do if(G(J))return J;while(J=J.parentPath);return null}function h41(){return this.findParent((G)=>G.isFunction())}function u41(){let G=this;do if(!G.parentPath||Array.isArray(G.container)&&G.isStatement())break;else G=G.parentPath;while(G);if(G&&(G.isProgram()||G.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return G}function y41(G){return this.getDeepestCommonAncestorFrom(G,function(J,X,H){let V,Z=E41[J.type];for(let Q of H){let W=Q[X+1];if(!V){V=W;continue}if(W.listKey&&V.listKey===W.listKey){if(W.key<V.key){V=W;continue}}let Y=Z.indexOf(V.parentKey),z=Z.indexOf(W.parentKey);if(Y>z)V=W}return V})}function x41(G,J){if(!G.length)return this;if(G.length===1)return G[0];let X=1/0,H,V,Z=G.map((W)=>{let Y=[];do Y.unshift(W);while((W=W.parentPath)&&W!==this);if(Y.length<X)X=Y.length;return Y}),Q=Z[0];G:for(let W=0;W<X;W++){let Y=Q[W];for(let z of Z)if(z[W]!==Y)break G;H=W,V=Y}if(V)if(J)return J(V,H,Z);else return V;else throw new Error("Couldn't find intersection")}function m41(){let G=this,J=[];do J.push(G);while(G=G.parentPath);return J}function c41(G){return G.isDescendant(this)}function l41(G){return!!this.findParent((J)=>J===G)}function i41(...G){let J=this;while(J){for(let X of G)if(J.node.type===X)return!0;J=J.parentPath}return!1}});var r2=f((BQ)=>{Object.defineProperty(BQ,"__esModule",{value:!0});BQ.createUnionType=Z71;var J71=W1(),{createFlowUnionType:UQ,createTSUnionType:RQ,createUnionTypeAnnotation:X71,isFlowType:H71,isTSType:V71}=J71;function Z71(G){if(G.every((J)=>H71(J))){if(UQ)return UQ(G);return X71(G)}else if(G.every((J)=>V71(J))){if(RQ)return RQ(G)}}});var OQ=f((jQ)=>{Object.defineProperty(jQ,"__esModule",{value:!0});jQ.default=U71;var W71=W1(),$Q=r2(),{BOOLEAN_NUMBER_BINARY_OPERATORS:Y71,createTypeAnnotationBasedOnTypeof:z71,numberTypeAnnotation:FQ,voidTypeAnnotation:K71}=W71;function U71(G){if(!this.isReferenced())return;let J=this.scope.getBinding(G.name);if(J)if(J.identifier.typeAnnotation)return J.identifier.typeAnnotation;else return R71(J,this,G.name);if(G.name==="undefined")return K71();else if(G.name==="NaN"||G.name==="Infinity")return FQ();else if(G.name==="arguments");}function R71(G,J,X){let H=[],V=[],Z=MQ(G,J,V),Q=qQ(G,J,X);if(Q){let W=MQ(G,Q.ifStatement);Z=Z.filter((Y)=>!W.includes(Y)),H.push(Q.typeAnnotation)}if(Z.length){Z.push(...V);for(let W of Z)H.push(W.getTypeAnnotation())}if(!H.length)return;return $Q.createUnionType(H)}function MQ(G,J,X){let H=G.constantViolations.slice();return H.unshift(G.path),H.filter((V)=>{V=V.resolve();let Z=V._guessExecutionStatusRelativeTo(J);if(X&&Z==="unknown")X.push(V);return Z==="before"})}function B71(G,J){let X=J.node.operator,H=J.get("right").resolve(),V=J.get("left").resolve(),Z;if(V.isIdentifier({name:G}))Z=H;else if(H.isIdentifier({name:G}))Z=V;if(Z){if(X==="===")return Z.getTypeAnnotation();if(Y71.includes(X))return FQ();return}if(X!=="==="&&X!=="==")return;let Q,W;if(V.isUnaryExpression({operator:"typeof"}))Q=V,W=H;else if(H.isUnaryExpression({operator:"typeof"}))Q=H,W=V;if(!Q)return;if(!Q.get("argument").isIdentifier({name:G}))return;if(W=W.resolve(),!W.isLiteral())return;let Y=W.node.value;if(typeof Y!=="string")return;return z71(Y)}function M71(G,J,X){let H;while(H=J.parentPath){if(H.isIfStatement()||H.isConditionalExpression()){if(J.key==="test")return;return H}if(H.isFunction()){if(H.parentPath.scope.getBinding(X)!==G)return}J=H}}function qQ(G,J,X){let H=M71(G,J,X);if(!H)return;let Z=[H.get("test")],Q=[];for(let W=0;W<Z.length;W++){let Y=Z[W];if(Y.isLogicalExpression()){if(Y.node.operator==="&&")Z.push(Y.get("left")),Z.push(Y.get("right"))}else if(Y.isBinaryExpression()){let z=B71(X,Y);if(z)Q.push(z)}}if(Q.length)return{typeAnnotation:$Q.createUnionType(Q),ifStatement:H};return qQ(G,H,X)}});var NQ=f((t2)=>{Object.defineProperty(t2,"__esModule",{value:!0});t2.ArrayExpression=fQ;t2.AssignmentExpression=u71;t2.BinaryExpression=v71;t2.BooleanLiteral=c71;t2.CallExpression=n71;t2.ConditionalExpression=g71;t2.ClassDeclaration=t2.ClassExpression=t2.FunctionDeclaration=t2.ArrowFunctionExpression=t2.FunctionExpression=p71;Object.defineProperty(t2,"Identifier",{enumerable:!0,get:function(){return q71.default}});t2.LogicalExpression=E71;t2.NewExpression=L71;t2.NullLiteral=l71;t2.NumericLiteral=m71;t2.ObjectExpression=a71;t2.ParenthesizedExpression=h71;t2.RegExpLiteral=i71;t2.RestElement=IQ;t2.SequenceExpression=_71;t2.StringLiteral=x71;t2.TSAsExpression=SQ;t2.TSNonNullExpression=w71;t2.TaggedTemplateExpression=o71;t2.TemplateLiteral=b71;t2.TypeCastExpression=DQ;t2.UnaryExpression=k71;t2.UpdateExpression=y71;t2.VariableDeclarator=T71;var F71=W1(),q71=OQ(),CQ=r2(),{BOOLEAN_BINARY_OPERATORS:j71,BOOLEAN_UNARY_OPERATORS:O71,NUMBER_BINARY_OPERATORS:A71,NUMBER_UNARY_OPERATORS:C71,STRING_UNARY_OPERATORS:D71,anyTypeAnnotation:AQ,arrayTypeAnnotation:s2,booleanTypeAnnotation:d2,buildMatchMemberExpression:j0,genericTypeAnnotation:yG,identifier:HJ,nullLiteralTypeAnnotation:S71,numberTypeAnnotation:SJ,stringTypeAnnotation:VJ,tupleTypeAnnotation:f71,unionTypeAnnotation:I71,voidTypeAnnotation:P71,isIdentifier:N71}=F71;function T71(){if(!this.get("id").isIdentifier())return;return this.get("init").getTypeAnnotation()}function DQ(G){return G.typeAnnotation}DQ.validParent=!0;function SQ(G){return G.typeAnnotation}SQ.validParent=!0;function w71(){return this.get("expression").getTypeAnnotation()}function L71(G){if(G.callee.type==="Identifier")return yG(G.callee)}function b71(){return VJ()}function k71(G){let J=G.operator;if(J==="void")return P71();else if(C71.includes(J))return SJ();else if(D71.includes(J))return VJ();else if(O71.includes(J))return d2()}function v71(G){let J=G.operator;if(A71.includes(J))return SJ();else if(j71.includes(J))return d2();else if(J==="+"){let X=this.get("right"),H=this.get("left");if(H.isBaseType("number")&&X.isBaseType("number"))return SJ();else if(H.isBaseType("string")||X.isBaseType("string"))return VJ();return I71([VJ(),SJ()])}}function E71(){let G=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return CQ.createUnionType(G)}function g71(){let G=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return CQ.createUnionType(G)}function _71(){return this.get("expressions").pop().getTypeAnnotation()}function h71(){return this.get("expression").getTypeAnnotation()}function u71(){return this.get("right").getTypeAnnotation()}function y71(G){let J=G.operator;if(J==="++"||J==="--")return SJ()}function x71(){return VJ()}function m71(){return SJ()}function c71(){return d2()}function l71(){return S71()}function i71(){return yG(HJ("RegExp"))}function a71(){return yG(HJ("Object"))}function fQ(){return yG(HJ("Array"))}function IQ(){return fQ()}IQ.validParent=!0;function p71(){return yG(HJ("Function"))}var r71=j0("Array.from"),s71=j0("Object.keys"),d71=j0("Object.values"),t71=j0("Object.entries");function n71(){let{callee:G}=this.node;if(s71(G))return s2(VJ());else if(r71(G)||d71(G)||N71(G,{name:"Array"}))return s2(AQ());else if(t71(G))return s2(f71([VJ(),AQ()]));return PQ(this.get("callee"))}function o71(){return PQ(this.get("tag"))}function PQ(G){if(G=G.resolve(),G.isFunction()){let{node:J}=G;if(J.async)if(J.generator)return yG(HJ("AsyncIterator"));else return yG(HJ("Promise"));else if(J.generator)return yG(HJ("Iterator"));else if(G.node.returnType)return G.node.returnType}}});var vQ=f((kQ)=>{Object.defineProperty(kQ,"__esModule",{value:!0});kQ._getTypeAnnotation=bQ;kQ.baseTypeStrictlyMatches=a51;kQ.couldBeBaseType=i51;kQ.getTypeAnnotation=c51;kQ.isBaseType=l51;kQ.isGenericType=p51;var TQ=NQ(),f51=W1(),{anyTypeAnnotation:LQ,isAnyTypeAnnotation:O0,isArrayTypeAnnotation:I51,isBooleanTypeAnnotation:P51,isEmptyTypeAnnotation:N51,isFlowBaseAnnotation:T51,isGenericTypeAnnotation:w51,isIdentifier:wQ,isMixedTypeAnnotation:L51,isNumberTypeAnnotation:b51,isStringTypeAnnotation:k51,isTSArrayType:v51,isTSTypeAnnotation:E51,isTSTypeReference:g51,isTupleTypeAnnotation:_51,isTypeAnnotation:h51,isUnionTypeAnnotation:u51,isVoidTypeAnnotation:y51,stringTypeAnnotation:x51,voidTypeAnnotation:m51}=f51;function c51(){let G=this.getData("typeAnnotation");if(G!=null)return G;if(G=bQ.call(this)||LQ(),h51(G)||E51(G))G=G.typeAnnotation;return this.setData("typeAnnotation",G),G}var n2=new WeakSet;function bQ(){let G=this.node;if(!G)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let X=this.parentPath.parentPath,H=X.parentPath;if(X.key==="left"&&H.isForInStatement())return x51();if(X.key==="left"&&H.isForOfStatement())return LQ();return m51()}else return;if(G.typeAnnotation)return G.typeAnnotation;if(n2.has(G))return;n2.add(G);try{var J;let X=TQ[G.type];if(X)return X.call(this,G);if(X=TQ[this.parentPath.type],(J=X)!=null&&J.validParent)return this.parentPath.getTypeAnnotation()}finally{n2.delete(G)}}function l51(G,J){return o2(G,this.getTypeAnnotation(),J)}function o2(G,J,X){if(G==="string")return k51(J);else if(G==="number")return b51(J);else if(G==="boolean")return P51(J);else if(G==="any")return O0(J);else if(G==="mixed")return L51(J);else if(G==="empty")return N51(J);else if(G==="void")return y51(J);else if(X)return!1;else throw new Error(`Unknown base type ${G}`)}function i51(G){let J=this.getTypeAnnotation();if(O0(J))return!0;if(u51(J)){for(let X of J.types)if(O0(X)||o2(G,X,!0))return!0;return!1}else return o2(G,J,!0)}function a51(G){let J=this.getTypeAnnotation(),X=G.getTypeAnnotation();if(!O0(J)&&T51(J))return X.type===J.type;return!1}function p51(G){let J=this.getTypeAnnotation();if(G==="Array"){if(v51(J)||I51(J)||_51(J))return!0}return w51(J)&&wQ(J.id,{name:G})||g51(J)&&wQ(J.typeName,{name:G})}});var _Q=f((jF1,e2)=>{var C0=process||{},EQ=C0.argv||[],A0=C0.env||{},e51=!(!!A0.NO_COLOR||EQ.includes("--no-color"))&&(!!A0.FORCE_COLOR||EQ.includes("--color")||C0.platform==="win32"||(C0.stdout||{}).isTTY&&A0.TERM!=="dumb"||!!A0.CI),GV1=(G,J,X=G)=>(H)=>{let V=""+H,Z=V.indexOf(J,G.length);return~Z?G+JV1(V,J,X,Z)+J:G+V+J},JV1=(G,J,X,H)=>{let V="",Z=0;do V+=G.substring(Z,H)+X,Z=H+J.length,H=G.indexOf(J,Z);while(~H);return V+G.substring(Z)},gQ=(G=e51)=>{let J=G?GV1:()=>String;return{isColorSupported:G,reset:J("\x1B[0m","\x1B[0m"),bold:J("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:J("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:J("\x1B[3m","\x1B[23m"),underline:J("\x1B[4m","\x1B[24m"),inverse:J("\x1B[7m","\x1B[27m"),hidden:J("\x1B[8m","\x1B[28m"),strikethrough:J("\x1B[9m","\x1B[29m"),black:J("\x1B[30m","\x1B[39m"),red:J("\x1B[31m","\x1B[39m"),green:J("\x1B[32m","\x1B[39m"),yellow:J("\x1B[33m","\x1B[39m"),blue:J("\x1B[34m","\x1B[39m"),magenta:J("\x1B[35m","\x1B[39m"),cyan:J("\x1B[36m","\x1B[39m"),white:J("\x1B[37m","\x1B[39m"),gray:J("\x1B[90m","\x1B[39m"),bgBlack:J("\x1B[40m","\x1B[49m"),bgRed:J("\x1B[41m","\x1B[49m"),bgGreen:J("\x1B[42m","\x1B[49m"),bgYellow:J("\x1B[43m","\x1B[49m"),bgBlue:J("\x1B[44m","\x1B[49m"),bgMagenta:J("\x1B[45m","\x1B[49m"),bgCyan:J("\x1B[46m","\x1B[49m"),bgWhite:J("\x1B[47m","\x1B[49m"),blackBright:J("\x1B[90m","\x1B[39m"),redBright:J("\x1B[91m","\x1B[39m"),greenBright:J("\x1B[92m","\x1B[39m"),yellowBright:J("\x1B[93m","\x1B[39m"),blueBright:J("\x1B[94m","\x1B[39m"),magentaBright:J("\x1B[95m","\x1B[39m"),cyanBright:J("\x1B[96m","\x1B[39m"),whiteBright:J("\x1B[97m","\x1B[39m"),bgBlackBright:J("\x1B[100m","\x1B[49m"),bgRedBright:J("\x1B[101m","\x1B[49m"),bgGreenBright:J("\x1B[102m","\x1B[49m"),bgYellowBright:J("\x1B[103m","\x1B[49m"),bgBlueBright:J("\x1B[104m","\x1B[49m"),bgMagentaBright:J("\x1B[105m","\x1B[49m"),bgCyanBright:J("\x1B[106m","\x1B[49m"),bgWhiteBright:J("\x1B[107m","\x1B[49m")}};e2.exports=gQ();e2.exports.createColors=gQ});var uQ=f((hQ)=>{Object.defineProperty(hQ,"__esModule",{value:!0});hQ.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;hQ.matchToToken=function(G){var J={type:"invalid",value:G[0],closed:void 0};if(G[1])J.type="string",J.closed=!!(G[3]||G[4]);else if(G[5])J.type="comment";else if(G[6])J.type="comment",J.closed=!!G[7];else if(G[8])J.type="regex";else if(G[9])J.type="number";else if(G[10])J.type="name";else if(G[11])J.type="punctuator";else if(G[12])J.type="whitespace";return J}});var J6=f((sQ)=>{Object.defineProperty(sQ,"__esModule",{value:!0});var G6=_Q(),yQ=uQ(),xQ=uJ();function VV1(){return typeof process==="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:G6.isColorSupported}var D0=(G,J)=>(X)=>G(J(X));function lQ(G){return{keyword:G.cyan,capitalized:G.yellow,jsxIdentifier:G.yellow,punctuator:G.yellow,number:G.magenta,string:G.green,regex:G.magenta,comment:G.gray,invalid:D0(D0(G.white,G.bgRed),G.bold),gutter:G.gray,marker:D0(G.red,G.bold),message:D0(G.red,G.bold),reset:G.reset}}var ZV1=lQ(G6.createColors(!0)),QV1=lQ(G6.createColors(!1));function iQ(G){return G?ZV1:QV1}var WV1=new Set(["as","async","from","get","of","set"]),YV1=/\r\n|[\n\r\u2028\u2029]/,zV1=/^[()[\]{}]$/,aQ;{let G=/^[a-z][\w-]*$/i,J=function(X,H,V){if(X.type==="name"){if(xQ.isKeyword(X.value)||xQ.isStrictReservedWord(X.value,!0)||WV1.has(X.value))return"keyword";if(G.test(X.value)&&(V[H-1]==="<"||V.slice(H-2,H)==="</"))return"jsxIdentifier";if(X.value[0]!==X.value[0].toLowerCase())return"capitalized"}if(X.type==="punctuator"&&zV1.test(X.value))return"bracket";if(X.type==="invalid"&&(X.value==="@"||X.value==="#"))return"punctuator";return X.type};aQ=function*(X){let H;while(H=yQ.default.exec(X)){let V=yQ.matchToToken(H);yield{type:J(V,H.index,X),value:V.value}}}}function pQ(G){if(G==="")return"";let J=iQ(!0),X="";for(let{type:H,value:V}of aQ(G))if(H in J)X+=V.split(YV1).map((Z)=>J[H](Z)).join(`
27
- `);else X+=V;return X}var mQ=!1,cQ=/\r\n|[\n\r\u2028\u2029]/;function KV1(G,J,X){let H=Object.assign({column:0,line:-1},G.start),V=Object.assign({},H,G.end),{linesAbove:Z=2,linesBelow:Q=3}=X||{},W=H.line,Y=H.column,z=V.line,U=V.column,q=Math.max(W-(Z+1),0),A=Math.min(J.length,z+Q);if(W===-1)q=0;if(z===-1)A=J.length;let C=z-W,D={};if(C)for(let L=0;L<=C;L++){let P=L+W;if(!Y)D[P]=!0;else if(L===0){let w=J[P-1].length;D[P]=[Y,w-Y+1]}else if(L===C)D[P]=[0,U];else{let w=J[P-L].length;D[P]=[0,w]}}else if(Y===U)if(Y)D[W]=[Y,0];else D[W]=!0;else D[W]=[Y,U-Y];return{start:q,end:A,markerLines:D}}function rQ(G,J,X={}){let H=X.forceColor||VV1()&&X.highlightCode,V=iQ(H),Z=G.split(cQ),{start:Q,end:W,markerLines:Y}=KV1(J,Z,X),z=J.start&&typeof J.start.column==="number",U=String(W).length,A=(H?pQ(G):G).split(cQ,W).slice(Q,W).map((C,D)=>{let L=Q+1+D,w=` ${` ${L}`.slice(-U)} |`,b=Y[L],X1=!Y[L+1];if(b){let r="";if(Array.isArray(b)){let H1=C.slice(0,Math.max(b[0]-1,0)).replace(/[^\t]/g," "),$1=b[1]||1;if(r=[`
28
- `,V.gutter(w.replace(/\d/g," "))," ",H1,V.marker("^").repeat($1)].join(""),X1&&X.message)r+=" "+V.message(X.message)}return[V.marker(">"),V.gutter(w),C.length>0?` ${C}`:"",r].join("")}else return` ${V.gutter(w)}${C.length>0?` ${C}`:""}`}).join(`
29
- `);if(X.message&&!z)A=`${" ".repeat(U+1)}${X.message}
30
- ${A}`;if(H)return V.reset(A);else return A}function UV1(G,J,X,H={}){if(!mQ){mQ=!0;let Z="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(Z,"DeprecationWarning");else{let Q=new Error(Z);Q.name="DeprecationWarning",console.warn(new Error(Z))}}return X=Math.max(X,0),rQ(G,{start:{column:X,line:J}},H)}sQ.codeFrameColumns=rQ;sQ.default=UV1;sQ.highlight=pQ});var eQ=f((nQ)=>{Object.defineProperty(nQ,"__esModule",{value:!0});nQ.default=void 0;var dQ=W1(),$V1=dQ,{react:FV1}=dQ,{cloneNode:qV1,jsxExpressionContainer:jV1,variableDeclaration:OV1,variableDeclarator:AV1}=$V1,CV1={ReferencedIdentifier(G,J){if(G.isJSXIdentifier()&&FV1.isCompatTag(G.node.name)&&!G.parentPath.isJSXMemberExpression())return;if(G.node.name==="this"){let H=G.scope;do if(H.path.isFunction()&&!H.path.isArrowFunctionExpression())break;while(H=H.parent);if(H)J.breakOnScopePaths.push(H.path)}let X=G.scope.getBinding(G.node.name);if(!X)return;for(let H of X.constantViolations)if(H.scope!==X.path.scope){J.mutableBinding=!0,G.stop();return}if(X!==J.scope.getBinding(G.node.name))return;J.bindings[G.node.name]=X}};class tQ{constructor(G,J){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=J,this.path=G,this.attachAfter=!1}isCompatibleScope(G){for(let J of Object.keys(this.bindings)){let X=this.bindings[J];if(!G.bindingIdentifierEquals(J,X.identifier))return!1}return!0}getCompatibleScopes(){let G=this.path.scope;do{if(this.isCompatibleScope(G))this.scopes.push(G);else break;if(this.breakOnScopePaths.includes(G.path))break}while(G=G.parent)}getAttachmentPath(){let G=this._getAttachmentPath();if(!G)return;let J=G.scope;if(J.path===G)J=G.scope.parent;if(J.path.isProgram()||J.path.isFunction())for(let X of Object.keys(this.bindings)){if(!J.hasOwnBinding(X))continue;let H=this.bindings[X];if(H.kind==="param"||H.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(H.path).key>=G.key){this.attachAfter=!0,G=H.path;for(let Z of H.constantViolations)if(this.getAttachmentParentForPath(Z).key>G.key)G=Z}}return G}_getAttachmentPath(){let J=this.scopes.pop();if(!J)return;if(J.path.isFunction())if(this.hasOwnParamBindings(J)){if(this.scope===J)return;let X=J.path.get("body").get("body");for(let H=0;H<X.length;H++){if(X[H].node._blockHoist)continue;return X[H]}}else return this.getNextScopeAttachmentParent();else if(J.path.isProgram())return this.getNextScopeAttachmentParent()}getNextScopeAttachmentParent(){let G=this.scopes.pop();if(G)return this.getAttachmentParentForPath(G.path)}getAttachmentParentForPath(G){do if(!G.parentPath||Array.isArray(G.container)&&G.isStatement())return G;while(G=G.parentPath)}hasOwnParamBindings(G){for(let J of Object.keys(this.bindings)){if(!G.hasOwnBinding(J))continue;let X=this.bindings[J];if(X.kind==="param"&&X.constant)return!0}return!1}run(){if(this.path.traverse(CV1,this),this.mutableBinding)return;this.getCompatibleScopes();let G=this.getAttachmentPath();if(!G)return;if(G.getFunctionParent()===this.path.getFunctionParent())return;let J=G.scope.generateUidIdentifier("ref"),X=AV1(J,this.path.node),H=this.attachAfter?"insertAfter":"insertBefore",[V]=G[H]([G.isVariableDeclarator()?X:OV1("var",[X])]),Z=this.path.parentPath;if(Z.isJSXElement()&&this.path.container===Z.node.children)J=jV1(J);return this.path.replaceWith(qV1(J)),G.isVariableDeclarator()?V.get("init"):V.get("declarations.0.init")}}nQ.default=tQ});var XW=f((GW)=>{Object.defineProperty(GW,"__esModule",{value:!0});GW.hooks=void 0;var DF1=GW.hooks=[function(G,J){if(G.key==="test"&&(J.isWhile()||J.isSwitchCase())||G.key==="declaration"&&J.isExportDeclaration()||G.key==="body"&&J.isLabeledStatement()||G.listKey==="declarations"&&J.isVariableDeclaration()&&J.node.declarations.length===1||G.key==="expression"&&J.isExpressionStatement())return J.remove(),!0},function(G,J){if(J.isSequenceExpression()&&J.node.expressions.length===1)return J.replaceWith(J.node.expressions[0]),!0},function(G,J){if(J.isBinary()){if(G.key==="left")J.replaceWith(J.node.right);else J.replaceWith(J.node.left);return!0}},function(G,J){if(J.isIfStatement()&&G.key==="consequent"||G.key==="body"&&(J.isLoop()||J.isArrowFunctionExpression()))return G.replaceWith({type:"BlockStatement",body:[]}),!0}]});var S0=f((YW)=>{Object.defineProperty(YW,"__esModule",{value:!0});YW._assertUnremoved=WW;YW._callRemovalHooks=ZW;YW._markRemoved=X6;YW._remove=QW;YW._removeFromScope=VW;YW.remove=wV1;var DV1=XW(),SV1=GJ(),fV1=H6(),HW=xG(),IV1=W1(),PV1=f0(),NV1=MG(),{getBindingIdentifiers:TV1}=IV1;function wV1(){var G;if(WW.call(this),NV1.resync.call(this),ZW.call(this)){X6.call(this);return}if(!((G=this.opts)!=null&&G.noScope))VW.call(this);this.shareCommentsWithSiblings(),QW.call(this),X6.call(this)}function VW(){let G=TV1(this.node,!1,!1,!0);Object.keys(G).forEach((J)=>this.scope.removeBinding(J))}function ZW(){if(this.parentPath){for(let G of DV1.hooks)if(G(this,this.parentPath))return!0}}function QW(){if(Array.isArray(this.container))this.container.splice(this.key,1),PV1.updateSiblingKeys.call(this,this.key,-1);else fV1._replaceWith.call(this,null)}function X6(){if(this._traverseFlags|=HW.SHOULD_SKIP|HW.REMOVED,this.parent)SV1.getCachedPaths(this.hub,this.parent).delete(this.node);this.node=null}function WW(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var f0=f(($W)=>{Object.defineProperty($W,"__esModule",{value:!0});$W._containerInsert=Y6;$W._containerInsertAfter=UW;$W._containerInsertBefore=z6;$W._verifyNodeList=zX;$W.insertAfter=oV1;$W.insertBefore=tV1;$W.pushContainer=GZ1;$W.unshiftContainer=eV1;$W.updateSiblingKeys=MW;var _V1=GJ(),hV1=eQ(),W6=xG(),V6=MG(),I0=S0(),uV1=W1(),{arrowFunctionExpression:yV1,assertExpression:xV1,assignmentExpression:mV1,blockStatement:zW,callExpression:cV1,cloneNode:Z6,expressionStatement:Q6,isAssignmentExpression:lV1,isCallExpression:iV1,isExportNamedDeclaration:KW,isExpression:aV1,isIdentifier:pV1,isSequenceExpression:rV1,isSuper:sV1,thisExpression:dV1}=uV1;function tV1(G){I0._assertUnremoved.call(this);let J=zX.call(this,G),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||KW(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertBefore(J);else if(this.isNodeType("Expression")&&!this.isJSXElement()||X.isForStatement()&&this.key==="init"){if(this.node)J.push(this.node);return this.replaceExpressionWithStatements(J)}else if(Array.isArray(this.container))return z6.call(this,J);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(zW(Z?[V]:[])),this.unshiftContainer("body",J)}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 Y6(G,J){MW.call(this,G,J.length);let X=[];this.container.splice(G,0,...J);for(let Z=0;Z<J.length;Z++){var H;let Q=G+Z,W=this.getSibling(Q);if(X.push(W),(H=this.context)!=null&&H.queue)V6.pushContext.call(W,this.context)}let V=V6._getQueueContexts.call(this);for(let Z of X){V6.setScope.call(Z),Z.debug("Inserted.");for(let Q of V)Q.maybeQueue(Z,!0)}return X}function z6(G){return Y6.call(this,this.key,G)}function UW(G){return Y6.call(this,this.key+1,G)}var RW=(G)=>G[G.length-1];function BW(G){return rV1(G.parent)&&(RW(G.parent.expressions)!==G.node||BW(G.parentPath))}function nV1(G,J){if(!lV1(G)||!pV1(G.left))return!1;let X=J.getBlockParent();return X.hasOwnBinding(G.left.name)&&X.getOwnBinding(G.left.name).constantViolations.length<=1}function oV1(G){if(I0._assertUnremoved.call(this),this.isSequenceExpression())return RW(this.get("expressions")).insertAfter(G);let J=zX.call(this,G),{parentPath:X,parent:H}=this;if(X.isExpressionStatement()||X.isLabeledStatement()||KW(H)||X.isExportDefaultDeclaration()&&this.isDeclaration())return X.insertAfter(J.map((V)=>{return aV1(V)?Q6(V):V}));else if(this.isNodeType("Expression")&&!this.isJSXElement()&&!X.isJSXElement()||X.isForStatement()&&this.key==="init"){let V=this;if(V.node){let Z=V.node,{scope:Q}=this;if(Q.path.isPattern())return xV1(Z),V.replaceWith(cV1(yV1([],Z),[])),V.get("callee.body").insertAfter(J),[V];if(BW(V))J.unshift(Z);else if(iV1(Z)&&sV1(Z.callee))J.unshift(Z),J.push(dV1());else if(nV1(Z,Q))J.unshift(Z),J.push(Z6(Z.left));else if(Q.isPure(Z,!0))J.push(Z);else{if(X.isMethod({computed:!0,key:Z}))Q=Q.parent;let W=Q.generateDeclaredUidIdentifier();J.unshift(Q6(mV1("=",Z6(W),Z))),J.push(Q6(Z6(W)))}}return this.replaceExpressionWithStatements(J)}else if(Array.isArray(this.container))return UW.call(this,J);else if(this.isStatementOrBlock()){let V=this.node,Z=V&&(!this.isExpressionStatement()||V.expression!=null);return this.replaceWith(zW(Z?[V]:[])),this.pushContainer("body",J)}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 MW(G,J){if(!this.parent)return;let X=_V1.getCachedPaths(this.hub,this.parent)||[];for(let[,H]of X)if(typeof H.key==="number"&&H.container===this.container&&H.key>=G)H.key+=J}function zX(G){if(!G)return[];if(!Array.isArray(G))G=[G];for(let J=0;J<G.length;J++){let X=G[J],H;if(!X)H="has falsy node";else if(typeof X!=="object")H="contains a non-object node";else if(!X.type)H="without a type";else if(X instanceof W6.default)H="has a NodePath when it expected a raw object";if(H){let V=Array.isArray(X)?"array":typeof X;throw new Error(`Node list ${H} with the index of ${J} and type of ${V}`)}}return G}function eV1(G,J){I0._assertUnremoved.call(this),J=zX.call(this,J);let X=W6.default.get({parentPath:this,parent:this.node,container:this.node[G],listKey:G,key:0}).setContext(this.context);return z6.call(X,J)}function GZ1(G,J){I0._assertUnremoved.call(this);let X=zX.call(this,J),H=this.node[G];return W6.default.get({parentPath:this,parent:this.node,container:H,listKey:G,key:H.length}).setContext(this.context).replaceWithMultiple(X)}$W.hoist=function G(J=this.scope){return new hV1.default(this,J).run()}});var H6=f((fW)=>{Object.defineProperty(fW,"__esModule",{value:!0});fW._replaceWith=SW;fW.replaceExpressionWithStatements=hZ1;fW.replaceInline=uZ1;fW.replaceWith=_Z1;fW.replaceWithMultiple=EZ1;fW.replaceWithSourceString=gZ1;var KZ1=J6(),U6=YX(),UZ1=xG(),AW=GJ(),R6=f0(),RZ1=W0(),BZ1=W1(),fJ=MG(),{FUNCTION_TYPES:FW,arrowFunctionExpression:MZ1,assignmentExpression:CW,awaitExpression:$Z1,blockStatement:FZ1,buildUndefinedNode:K6,callExpression:qZ1,cloneNode:B6,conditionalExpression:jZ1,expressionStatement:OZ1,getBindingIdentifiers:AZ1,identifier:CZ1,inheritLeadingComments:DZ1,inheritTrailingComments:SZ1,inheritsComments:fZ1,isBlockStatement:IZ1,isEmptyStatement:qW,isExpression:DW,isExpressionStatement:PZ1,isIfStatement:NZ1,isProgram:TZ1,isStatement:wZ1,isVariableDeclaration:LZ1,removeComments:bZ1,returnStatement:jW,sequenceExpression:kZ1,validate:OW,yieldExpression:vZ1}=BZ1;function EZ1(G){var J;fJ.resync.call(this),G=R6._verifyNodeList.call(this,G),DZ1(G[0],this.node),SZ1(G[G.length-1],this.node),(J=AW.getCachedPaths(this.hub,this.parent))==null||J.delete(this.node),this.node=this.container[this.key]=null;let X=this.insertAfter(G);if(this.node)this.requeue();else this.remove();return X}function gZ1(G){fJ.resync.call(this);let J;try{G=`(${G})`,J=RZ1.parse(G)}catch(H){let V=H.loc;if(V)H.message+=` - make sure this is an expression.
31
- `+KZ1.codeFrameColumns(G,{start:{line:V.line,column:V.column+1}}),H.code="BABEL_REPLACE_SOURCE_ERROR";throw H}let X=J.program.body[0].expression;return U6.default.removeProperties(X),this.replaceWith(X)}function _Z1(G){if(fJ.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let J=G instanceof UZ1.default?G.node:G;if(!J)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===J)return[this];if(this.isProgram()&&!TZ1(J))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(J))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof J==="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let X="";if(this.isNodeType("Statement")&&DW(J)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(J)&&!this.parentPath.isExportDefaultDeclaration())J=OZ1(J),X="expression"}if(this.isNodeType("Expression")&&wZ1(J)){if(!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(J))return this.replaceExpressionWithStatements([J])}let H=this.node;if(H)fZ1(J,H),bZ1(H);return SW.call(this,J),this.type=J.type,fJ.setScope.call(this),this.requeue(),[X?this.get(X):this]}function SW(G){var J;if(!this.container)throw new ReferenceError("Container is falsy");if(this.inList)OW(this.parent,this.key,[G]);else OW(this.parent,this.key,G);this.debug(`Replace with ${G==null?void 0:G.type}`),(J=AW.getCachedPaths(this.hub,this.parent))==null||J.set(G,this).delete(this.node),this.node=this.container[this.key]=G}function hZ1(G){fJ.resync.call(this);let J=[],X=P0(G,J);if(X){for(let A of J)this.scope.push({id:A});return this.replaceWith(X)[0].get("expressions")}let H=this.getFunctionParent(),V=H==null?void 0:H.node.async,Z=H==null?void 0:H.node.generator,Q=MZ1([],FZ1(G));this.replaceWith(qZ1(Q,[]));let W=this.get("callee");W.get("body").scope.hoistVariables((A)=>this.scope.push({id:A}));let Y=W.getCompletionRecords();for(let A of Y){if(!A.isExpressionStatement())continue;let C=A.findParent((D)=>D.isLoop());if(C){let D=C.getData("expressionReplacementReturnUid");if(!D)D=W.scope.generateDeclaredUidIdentifier("ret"),W.get("body").pushContainer("body",jW(B6(D))),C.setData("expressionReplacementReturnUid",D);else D=CZ1(D.name);A.get("expression").replaceWith(CW("=",B6(D),A.node.expression))}else A.replaceWith(jW(A.node.expression))}W.arrowFunctionToExpression();let z=W,U=V&&U6.default.hasType(this.get("callee.body").node,"AwaitExpression",FW),q=Z&&U6.default.hasType(this.get("callee.body").node,"YieldExpression",FW);if(U){if(z.set("async",!0),!q)this.replaceWith($Z1(this.node))}if(q)z.set("generator",!0),this.replaceWith(vZ1(this.node,!0));return z.get("body.body")}function P0(G,J){let X=[],H=!0;for(let V of G){if(!qW(V))H=!1;if(DW(V))X.push(V);else if(PZ1(V))X.push(V.expression);else if(LZ1(V)){if(V.kind!=="var")return;for(let Z of V.declarations){let Q=AZ1(Z);for(let W of Object.keys(Q))J.push(B6(Q[W]));if(Z.init)X.push(CW("=",Z.id,Z.init))}H=!0}else if(NZ1(V)){let Z=V.consequent?P0([V.consequent],J):K6(),Q=V.alternate?P0([V.alternate],J):K6();if(!Z||!Q)return;X.push(jZ1(V.test,Z,Q))}else if(IZ1(V)){let Z=P0(V.body,J);if(!Z)return;X.push(Z)}else if(qW(V)){if(G.indexOf(V)===0)H=!0}else return}if(H)X.push(K6());if(X.length===1)return X[0];else return kZ1(X)}function uZ1(G){if(fJ.resync.call(this),Array.isArray(G))if(Array.isArray(this.container)){G=R6._verifyNodeList.call(this,G);let J=R6._containerInsertAfter.call(this,G);return this.remove(),J}else return this.replaceWithMultiple(G);else return this.replaceWith(G)}});var wW=f((TW)=>{Object.defineProperty(TW,"__esModule",{value:!0});TW.evaluate=oZ1;TW.evaluateTruthy=tZ1;var aZ1=["Number","String","Math"],pZ1=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],rZ1=["random"];function IW(G){return aZ1.includes(G)}function sZ1(G){return pZ1.includes(G)}function dZ1(G){return rZ1.includes(G)}function tZ1(){let G=this.evaluate();if(G.confident)return!!G.value}function wG(G,J){if(!J.confident)return;J.deoptPath=G,J.confident=!1}var PW=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function c1(G,J){let{node:X}=G,{seen:H}=J;if(H.has(X)){let V=H.get(X);if(V.resolved)return V.value;else{wG(G,J);return}}else{let V={resolved:!1};H.set(X,V);let Z=nZ1(G,J);if(J.confident)V.resolved=!0,V.value=Z;return Z}}function nZ1(G,J){if(!J.confident)return;if(G.isSequenceExpression()){let X=G.get("expressions");return c1(X[X.length-1],J)}if(G.isStringLiteral()||G.isNumericLiteral()||G.isBooleanLiteral())return G.node.value;if(G.isNullLiteral())return null;if(G.isTemplateLiteral())return NW(G,G.node.quasis,J);if(G.isTaggedTemplateExpression()&&G.get("tag").isMemberExpression()){let X=G.get("tag.object"),{node:{name:H}}=X,V=G.get("tag.property");if(X.isIdentifier()&&H==="String"&&!G.scope.getBinding(H)&&V.isIdentifier()&&V.node.name==="raw")return NW(G,G.node.quasi.quasis,J,!0)}if(G.isConditionalExpression()){let X=c1(G.get("test"),J);if(!J.confident)return;if(X)return c1(G.get("consequent"),J);else return c1(G.get("alternate"),J)}if(G.isExpressionWrapper())return c1(G.get("expression"),J);if(G.isMemberExpression()&&!G.parentPath.isCallExpression({callee:G.node})){let X=G.get("property"),H=G.get("object");if(H.isLiteral()){let V=H.node.value,Z=typeof V,Q=null;if(G.node.computed){if(Q=c1(X,J),!J.confident)return}else if(X.isIdentifier())Q=X.node.name;if((Z==="number"||Z==="string")&&Q!=null&&(typeof Q==="number"||typeof Q==="string"))return V[Q]}}if(G.isReferencedIdentifier()){let X=G.scope.getBinding(G.node.name);if(X){if(X.constantViolations.length>0||G.node.start<X.path.node.end){wG(X.path,J);return}if(X.hasValue)return X.value}let H=G.node.name;if(PW.has(H)){if(!X)return PW.get(H);wG(X.path,J);return}let V=G.resolve();if(V===G){wG(G,J);return}else return c1(V,J)}if(G.isUnaryExpression({prefix:!0})){if(G.node.operator==="void")return;let X=G.get("argument");if(G.node.operator==="typeof"&&(X.isFunction()||X.isClass()))return"function";let H=c1(X,J);if(!J.confident)return;switch(G.node.operator){case"!":return!H;case"+":return+H;case"-":return-H;case"~":return~H;case"typeof":return typeof H}}if(G.isArrayExpression()){let X=[],H=G.get("elements");for(let V of H){let Z=V.evaluate();if(Z.confident)X.push(Z.value);else{wG(Z.deopt,J);return}}return X}if(G.isObjectExpression()){let X={},H=G.get("properties");for(let V of H){if(V.isObjectMethod()||V.isSpreadElement()){wG(V,J);return}let Z=V.get("key"),Q;if(V.node.computed){if(Q=Z.evaluate(),!Q.confident){wG(Q.deopt,J);return}Q=Q.value}else if(Z.isIdentifier())Q=Z.node.name;else Q=Z.node.value;let Y=V.get("value").evaluate();if(!Y.confident){wG(Y.deopt,J);return}Y=Y.value,X[Q]=Y}return X}if(G.isLogicalExpression()){let X=J.confident,H=c1(G.get("left"),J),V=J.confident;J.confident=X;let Z=c1(G.get("right"),J),Q=J.confident;switch(G.node.operator){case"||":if(J.confident=V&&(!!H||Q),!J.confident)return;return H||Z;case"&&":if(J.confident=V&&(!H||Q),!J.confident)return;return H&&Z;case"??":if(J.confident=V&&(H!=null||Q),!J.confident)return;return H!=null?H:Z}}if(G.isBinaryExpression()){let X=c1(G.get("left"),J);if(!J.confident)return;let H=c1(G.get("right"),J);if(!J.confident)return;switch(G.node.operator){case"-":return X-H;case"+":return X+H;case"/":return X/H;case"*":return X*H;case"%":return X%H;case"**":return Math.pow(X,H);case"<":return X<H;case">":return X>H;case"<=":return X<=H;case">=":return X>=H;case"==":return X==H;case"!=":return X!=H;case"===":return X===H;case"!==":return X!==H;case"|":return X|H;case"&":return X&H;case"^":return X^H;case"<<":return X<<H;case">>":return X>>H;case">>>":return X>>>H}}if(G.isCallExpression()){let X=G.get("callee"),H,V;if(X.isIdentifier()&&!G.scope.getBinding(X.node.name)&&(IW(X.node.name)||sZ1(X.node.name)))V=global[X.node.name];if(X.isMemberExpression()){let Z=X.get("object"),Q=X.get("property");if(Z.isIdentifier()&&Q.isIdentifier()&&IW(Z.node.name)&&!dZ1(Q.node.name)){H=global[Z.node.name];let W=Q.node.name;if(hasOwnProperty.call(H,W))V=H[W]}if(Z.isLiteral()&&Q.isIdentifier()){let W=typeof Z.node.value;if(W==="string"||W==="number")H=Z.node.value,V=H[Q.node.name]}}if(V){let Z=G.get("arguments").map((Q)=>c1(Q,J));if(!J.confident)return;return V.apply(H,Z)}}wG(G,J)}function NW(G,J,X,H=!1){let V="",Z=0,Q=G.isTemplateLiteral()?G.get("expressions"):G.get("quasi.expressions");for(let W of J){if(!X.confident)break;V+=H?W.value.raw:W.value.cooked;let Y=Q[Z++];if(Y)V+=String(c1(Y,X))}if(!X.confident)return;return V}function oZ1(){let G={confident:!0,deoptPath:null,seen:new Map},J=c1(this,G);if(!G.confident)J=void 0;return{confident:G.confident,deopt:G.deoptPath,value:J}}});var kW=f((LW)=>{Object.defineProperty(LW,"__esModule",{value:!0});LW.statements=LW.statement=LW.smart=LW.program=LW.expression=void 0;var JQ1=W1(),{assertExpressionStatement:XQ1}=JQ1;function M6(G){return{code:(J)=>`/* @babel/template */;
32
- ${J}`,validate:()=>{},unwrap:(J)=>{return G(J.program.body.slice(1))}}}var wF1=LW.smart=M6((G)=>{if(G.length>1)return G;else return G[0]}),LF1=LW.statements=M6((G)=>G),bF1=LW.statement=M6((G)=>{if(G.length===0)throw new Error("Found nothing to return.");if(G.length>1)throw new Error("Found multiple statements but wanted one");return G[0]}),HQ1=LW.expression={code:(G)=>`(
33
- ${G}
34
- )`,validate:(G)=>{if(G.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(HQ1.unwrap(G).start===0)throw new Error("Parse result included parens.")},unwrap:({program:G})=>{let[J]=G.body;return XQ1(J),J.expression}},kF1=LW.program={code:(G)=>G,validate:()=>{},unwrap:(G)=>G.program}});var N0=f((vW)=>{Object.defineProperty(vW,"__esModule",{value:!0});vW.merge=KQ1;vW.normalizeReplacements=RQ1;vW.validate=UQ1;var YQ1=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function zQ1(G,J){if(G==null)return{};var X={};for(var H in G)if({}.hasOwnProperty.call(G,H)){if(J.includes(H))continue;X[H]=G[H]}return X}function KQ1(G,J){let{placeholderWhitelist:X=G.placeholderWhitelist,placeholderPattern:H=G.placeholderPattern,preserveComments:V=G.preserveComments,syntacticPlaceholders:Z=G.syntacticPlaceholders}=J;return{parser:Object.assign({},G.parser,J.parser),placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}}function UQ1(G){if(G!=null&&typeof G!=="object")throw new Error("Unknown template options.");let J=G||{},{placeholderWhitelist:X,placeholderPattern:H,preserveComments:V,syntacticPlaceholders:Z}=J,Q=zQ1(J,YQ1);if(X!=null&&!(X instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(H!=null&&!(H instanceof RegExp)&&H!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(V!=null&&typeof V!=="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(Z!=null&&typeof Z!=="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(Z===!0&&(X!=null||H!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:Q,placeholderWhitelist:X||void 0,placeholderPattern:H==null?void 0:H,preserveComments:V==null?void 0:V,syntacticPlaceholders:Z==null?void 0:Z}}function RQ1(G){if(Array.isArray(G))return G.reduce((J,X,H)=>{return J["$"+H]=X,J},{});else if(typeof G==="object"||G==null)return G||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var $6=f((gW)=>{Object.defineProperty(gW,"__esModule",{value:!0});gW.default=wQ1;var FQ1=W1(),qQ1=W0(),jQ1=J6(),{isCallExpression:OQ1,isExpressionStatement:AQ1,isFunction:CQ1,isIdentifier:DQ1,isJSXIdentifier:SQ1,isNewExpression:fQ1,isPlaceholder:T0,isStatement:IQ1,isStringLiteral:EW,removePropertiesDeep:PQ1,traverse:NQ1}=FQ1,TQ1=/^[_$A-Z0-9]+$/;function wQ1(G,J,X){let{placeholderWhitelist:H,placeholderPattern:V,preserveComments:Z,syntacticPlaceholders:Q}=X,W=kQ1(J,X.parser,Q);PQ1(W,{preserveComments:Z}),G.validate(W);let Y={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:H,placeholderPattern:V,syntacticPlaceholders:Q};return NQ1(W,LQ1,Y),Object.assign({ast:W},Y.syntactic.placeholders.length?Y.syntactic:Y.legacy)}function LQ1(G,J,X){var H;let V,Z=X.syntactic.placeholders.length>0;if(T0(G)){if(X.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");V=G.name.name,Z=!0}else if(Z||X.syntacticPlaceholders)return;else if(DQ1(G)||SQ1(G))V=G.name;else if(EW(G))V=G.value;else return;if(Z&&(X.placeholderPattern!=null||X.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!Z&&(X.placeholderPattern===!1||!(X.placeholderPattern||TQ1).test(V))&&!((H=X.placeholderWhitelist)!=null&&H.has(V)))return;J=J.slice();let{node:Q,key:W}=J[J.length-1],Y;if(EW(G)||T0(G,{expectedNode:"StringLiteral"}))Y="string";else if(fQ1(Q)&&W==="arguments"||OQ1(Q)&&W==="arguments"||CQ1(Q)&&W==="params")Y="param";else if(AQ1(Q)&&!T0(G))Y="statement",J=J.slice(0,-1);else if(IQ1(G)&&T0(G))Y="statement";else Y="other";let{placeholders:z,placeholderNames:U}=!Z?X.legacy:X.syntactic;z.push({name:V,type:Y,resolve:(q)=>bQ1(q,J),isDuplicate:U.has(V)}),U.add(V)}function bQ1(G,J){let X=G;for(let Z=0;Z<J.length-1;Z++){let{key:Q,index:W}=J[Z];if(W===void 0)X=X[Q];else X=X[Q][W]}let{key:H,index:V}=J[J.length-1];return{parent:X,key:H,index:V}}function kQ1(G,J,X){let H=(J.plugins||[]).slice();if(X!==!1)H.push("placeholders");J=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},J,{plugins:H});try{return qQ1.parse(G,J)}catch(V){let Z=V.loc;if(Z)V.message+=`
35
- `+jQ1.codeFrameColumns(G,{start:Z}),V.code="BABEL_TEMPLATE_PARSE_ERROR";throw V}}});var j6=f((uW)=>{Object.defineProperty(uW,"__esModule",{value:!0});uW.default=yQ1;var EQ1=W1(),{blockStatement:gQ1,cloneNode:q6,emptyStatement:_Q1,expressionStatement:F6,identifier:w0,isStatement:_W,isStringLiteral:hQ1,stringLiteral:uQ1,validate:hW}=EQ1;function yQ1(G,J){let X=q6(G.ast);if(J)G.placeholders.forEach((H)=>{if(!hasOwnProperty.call(J,H.name)){let V=H.name;throw new Error(`Error: No substitution given for "${V}". If this is not meant to be a
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=[`
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
+ `);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)=>`(
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+=`
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
36
37
  placeholder you may want to consider passing one of the following options to @babel/template:
37
- - { placeholderPattern: false, placeholderWhitelist: new Set(['${V}'])}
38
- - { placeholderPattern: /^${V}$/ }`)}}),Object.keys(J).forEach((H)=>{if(!G.placeholderNames.has(H))throw new Error(`Unknown substitution "${H}" given`)});return G.placeholders.slice().reverse().forEach((H)=>{try{xQ1(H,X,J&&J[H.name]||null)}catch(V){throw V.message=`@babel/template placeholder "${H.name}": ${V.message}`,V}}),X}function xQ1(G,J,X){if(G.isDuplicate){if(Array.isArray(X))X=X.map((W)=>q6(W));else if(typeof X==="object")X=q6(X)}let{parent:H,key:V,index:Z}=G.resolve(J);if(G.type==="string"){if(typeof X==="string")X=uQ1(X);if(!X||!hQ1(X))throw new Error("Expected string substitution")}else if(G.type==="statement"){if(Z===void 0){if(!X)X=_Q1();else if(Array.isArray(X))X=gQ1(X);else if(typeof X==="string")X=F6(w0(X));else if(!_W(X))X=F6(X)}else if(X&&!Array.isArray(X)){if(typeof X==="string")X=w0(X);if(!_W(X))X=F6(X)}}else if(G.type==="param"){if(typeof X==="string")X=w0(X);if(Z===void 0)throw new Error("Assertion failure.")}else{if(typeof X==="string")X=w0(X);if(Array.isArray(X))throw new Error("Cannot replace single expression with an array.")}function Q(W,Y,z){let U=W[Y];if(W[Y]=z,U.type==="Identifier"||U.type==="Placeholder"){if(U.typeAnnotation)z.typeAnnotation=U.typeAnnotation;if(U.optional)z.optional=U.optional;if(U.decorators)z.decorators=U.decorators}}if(Z===void 0)hW(H,V,X),Q(H,V,X);else{let W=H[V].slice();if(G.type==="statement"||G.type==="param")if(X==null)W.splice(Z,1);else if(Array.isArray(X))W.splice(Z,1,...X);else Q(W,Z,X);else Q(W,Z,X);hW(H,V,W),H[V]=W}}});var xW=f((yW)=>{Object.defineProperty(yW,"__esModule",{value:!0});yW.default=aQ1;var cQ1=N0(),lQ1=$6(),iQ1=j6();function aQ1(G,J,X){J=G.code(J);let H;return(V)=>{let Z=cQ1.normalizeReplacements(V);if(!H)H=lQ1.default(G,J,X);return G.unwrap(iQ1.default(H,Z))}}});var cW=f((mW)=>{Object.defineProperty(mW,"__esModule",{value:!0});mW.default=tQ1;var rQ1=N0(),sQ1=$6(),dQ1=j6();function tQ1(G,J,X){let{metadata:H,names:V}=nQ1(G,J,X);return(Z)=>{let Q={};return Z.forEach((W,Y)=>{Q[V[Y]]=W}),(W)=>{let Y=rQ1.normalizeReplacements(W);if(Y)Object.keys(Y).forEach((z)=>{if(hasOwnProperty.call(Q,z))throw new Error("Unexpected replacement overlap.")});return G.unwrap(dQ1.default(H,Y?Object.assign(Y,Q):Q))}}}function nQ1(G,J,X){let H="BABEL_TPL$",V=J.join("");do H="$$"+H;while(V.includes(H));let{names:Z,code:Q}=oQ1(J,H);return{metadata:sQ1.default(G,G.code(Q),{parser:X.parser,placeholderWhitelist:new Set(Z.concat(X.placeholderWhitelist?Array.from(X.placeholderWhitelist):[])),placeholderPattern:X.placeholderPattern,preserveComments:X.preserveComments,syntacticPlaceholders:X.syntacticPlaceholders}),names:Z}}function oQ1(G,J){let X=[],H=G[0];for(let V=1;V<G.length;V++){let Z=`${J}${V-1}`;X.push(Z),H+=Z+G[V]}return{names:X,code:H}}});var dW=f((sW)=>{Object.defineProperty(sW,"__esModule",{value:!0});sW.default=rW;var $G=N0(),lW=xW(),iW=cW(),aW=$G.validate({placeholderPattern:!1});function rW(G,J){let X=new WeakMap,H=new WeakMap,V=J||$G.validate(null);return Object.assign((Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return pW(lW.default(G,Z,$G.merge(V,$G.validate(Q[0]))))}else if(Array.isArray(Z)){let W=X.get(Z);if(!W)W=iW.default(G,Z,V),X.set(Z,W);return pW(W(Q))}else if(typeof Z==="object"&&Z){if(Q.length>0)throw new Error("Unexpected extra params.");return rW(G,$G.merge(V,$G.validate(Z)))}throw new Error(`Unexpected template param ${typeof Z}`)},{ast:(Z,...Q)=>{if(typeof Z==="string"){if(Q.length>1)throw new Error("Unexpected extra params.");return lW.default(G,Z,$G.merge($G.merge(V,$G.validate(Q[0])),aW))()}else if(Array.isArray(Z)){let W=H.get(Z);if(!W)W=iW.default(G,Z,$G.merge(V,aW)),H.set(Z,W);return W(Q)()}throw new Error(`Unexpected template param ${typeof Z}`)}})}function pW(G){let J="";try{throw new Error}catch(X){if(X.stack)J=X.stack.split(`
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
40
  `).slice(3).join(`
40
- `)}return(X)=>{try{return G(X)}catch(H){throw H.stack+=`
41
+ `)}return(X)=>{try{return f(X)}catch(J){throw J.stack+=`
41
42
  =============
42
- ${J}`,H}}}});var oW=f((tW)=>{Object.defineProperty(tW,"__esModule",{value:!0});tW.statements=tW.statement=tW.smart=tW.program=tW.expression=tW.default=void 0;var KX=kW(),UX=dW(),O6=tW.smart=UX.default(KX.smart),JW1=tW.statement=UX.default(KX.statement),XW1=tW.statements=UX.default(KX.statements),HW1=tW.expression=UX.default(KX.expression),VW1=tW.program=UX.default(KX.program),xF1=tW.default=Object.assign(O6.bind(void 0),{smart:O6,statement:JW1,statements:XW1,expression:HW1,program:VW1,ast:O6.ast})});var WY=f((QY)=>{Object.defineProperty(QY,"__esModule",{value:!0});QY.arrowFunctionToExpression=yW1;QY.ensureBlock=_W1;QY.ensureFunctionName=nW1;QY.splitExportDeclaration=dW1;QY.toComputedKey=gW1;QY.unwrapFunctionEnvironment=hW1;var KW1=W1(),UW1=oW(),D6=WX(),RW1=MG(),{arrowFunctionExpression:S6,assignmentExpression:ZJ,binaryExpression:A6,blockStatement:BW1,callExpression:IJ,conditionalExpression:MW1,expressionStatement:JY,identifier:O1,isIdentifier:$W1,jsxIdentifier:FW1,logicalExpression:qW1,LOGICAL_OPERATORS:jW1,memberExpression:YG,metaProperty:OW1,numericLiteral:AW1,objectExpression:CW1,restElement:DW1,returnStatement:SW1,sequenceExpression:fW1,spreadElement:IW1,stringLiteral:XY,super:C6,thisExpression:RX,toExpression:HY,unaryExpression:PW1,toBindingIdentifierName:NW1,isFunction:TW1,isAssignmentPattern:wW1,isRestElement:LW1,getFunctionName:bW1,cloneNode:QJ,variableDeclaration:kW1,variableDeclarator:vW1,exportNamedDeclaration:eW,exportSpecifier:GY,inherits:EW1}=KW1;function gW1(){let G;if(this.isMemberExpression())G=this.node.property;else if(this.isProperty()||this.isMethod())G=this.node.key;else throw new ReferenceError("todo");if(!this.node.computed){if($W1(G))G=XY(G.name)}return G}function _W1(){let G=this.get("body"),J=G.node;if(Array.isArray(G))throw new Error("Can't convert array path to a block statement");if(!J)throw new Error("Can't convert node without a body");if(G.isBlockStatement())return J;let X=[],H="body",V,Z;if(G.isStatement())Z="body",V=0,X.push(G.node);else if(H+=".body.0",this.isFunction())V="argument",X.push(SW1(G.node));else V="expression",X.push(JY(G.node));this.node.body=BW1(X);let Q=this.get(H);return RW1.setup.call(G,Q,Z?Q.node[Z]:Q.node,Z,V),this.node}QY.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()};function hW1(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");VY(this)}function uW1(G,J){G.node.type=J}function yW1({allowInsertArrow:G=!0,allowInsertArrowWithRest:J=G,noNewArrows:X=!((H)=>(H=arguments[0])==null?void 0:H.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let H=this;if(!X){var V;H=(V=H.ensureFunctionName(!1))!=null?V:H}let{thisBinding:Z,fnPath:Q}=VY(H,X,G,J);if(Q.ensureBlock(),uW1(Q,"FunctionExpression"),!X){let W=Z?null:Q.scope.generateUidIdentifier("arrowCheckId");if(W)Q.parentPath.scope.push({id:W,init:CW1([])});return Q.get("body").unshiftContainer("body",JY(IJ(this.hub.addHelper("newArrowCheck"),[RX(),W?O1(W.name):O1(Z)]))),Q.replaceWith(IJ(YG(Q.node,O1("bind")),[W?O1(W.name):RX()])),Q.get("callee.object")}return Q}var xW1=D6.environmentVisitor({CallExpression(G,{allSuperCalls:J}){if(!G.get("callee").isSuper())return;J.push(G)}});function VY(G,J=!0,X=!0,H=!0){let V,Z=G.findParent((C)=>{if(C.isArrowFunctionExpression()){var D;return(D=V)!=null||(V=C),!1}return C.isFunction()||C.isProgram()||C.isClassProperty({static:!1})||C.isClassPrivateProperty({static:!1})}),Q=Z.isClassMethod({kind:"constructor"});if(Z.isClassProperty()||Z.isClassPrivateProperty())if(V)Z=V;else if(X)G.replaceWith(IJ(S6([],HY(G.node)),[])),Z=G.get("callee"),G=Z.get("body");else throw G.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:W,argumentsPaths:Y,newTargetPaths:z,superProps:U,superCalls:q}=sW1(G);if(Q&&q.length>0){if(!X)throw q[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(!H)throw q[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 C=[];Z.traverse(xW1,{allSuperCalls:C});let D=aW1(Z);C.forEach((L)=>{let P=O1(D);P.loc=L.node.callee.loc,L.get("callee").replaceWith(P)})}if(Y.length>0){let C=BX(Z,"arguments",()=>{let D=()=>O1("arguments");if(Z.scope.path.isProgram())return MW1(A6("===",PW1("typeof",D()),XY("undefined")),Z.scope.buildUndefinedNode(),D());else return D()});Y.forEach((D)=>{let L=O1(C);L.loc=D.node.loc,D.replaceWith(L)})}if(z.length>0){let C=BX(Z,"newtarget",()=>OW1(O1("new"),O1("target")));z.forEach((D)=>{let L=O1(C);L.loc=D.node.loc,D.replaceWith(L)})}if(U.length>0){if(!X)throw U[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.");U.reduce((D,L)=>D.concat(cW1(L)),[]).forEach((D)=>{let L=D.node.computed?"":D.get("property").node.name,P=D.parentPath,w=P.isAssignmentExpression({left:D.node}),b=P.isCallExpression({callee:D.node}),X1=P.isTaggedTemplateExpression({tag:D.node}),r=pW1(Z,w,L),H1=[];if(D.node.computed)H1.push(D.get("property").node);if(w){let L1=P.node.right;H1.push(L1)}let $1=IJ(O1(r),H1);if(b)P.unshiftContainer("arguments",RX()),D.replaceWith(YG($1,O1("call"))),W.push(P.get("arguments.0"));else if(w)P.replaceWith($1);else if(X1)D.replaceWith(IJ(YG($1,O1("bind"),!1),[RX()])),W.push(D.get("arguments.0"));else D.replaceWith($1)})}let A;if(W.length>0||!J){if(A=iW1(Z,Q),J||Q&&ZY(Z)){if(W.forEach((C)=>{let D=C.isJSX()?FW1(A):O1(A);D.loc=C.node.loc,C.replaceWith(D)}),!J)A=null}}return{thisBinding:A,fnPath:G}}function mW1(G){return jW1.includes(G)}function cW1(G){if(G.parentPath.isAssignmentExpression()&&G.parentPath.node.operator!=="="){let X=G.parentPath,H=X.node.operator.slice(0,-1),V=X.node.right,Z=mW1(H);if(G.node.computed){let Q=G.scope.generateDeclaredUidIdentifier("tmp"),W=G.node.object,Y=G.node.property;X.get("left").replaceWith(YG(W,ZJ("=",Q,Y),!0)),X.get("right").replaceWith(J(Z?"=":H,YG(W,O1(Q.name),!0),V))}else{let Q=G.node.object,W=G.node.property;X.get("left").replaceWith(YG(Q,W)),X.get("right").replaceWith(J(Z?"=":H,YG(Q,O1(W.name)),V))}if(Z)X.replaceWith(qW1(H,X.node.left,X.node.right));else X.node.operator="=";return[X.get("left"),X.get("right").get("left")]}else if(G.parentPath.isUpdateExpression()){let X=G.parentPath,H=G.scope.generateDeclaredUidIdentifier("tmp"),V=G.node.computed?G.scope.generateDeclaredUidIdentifier("prop"):null,Z=[ZJ("=",H,YG(G.node.object,V?ZJ("=",V,G.node.property):G.node.property,G.node.computed)),ZJ("=",YG(G.node.object,V?O1(V.name):G.node.property,G.node.computed),A6(G.parentPath.node.operator[0],O1(H.name),AW1(1)))];if(!G.parentPath.node.prefix)Z.push(O1(H.name));X.replaceWith(fW1(Z));let Q=X.get("expressions.0.right"),W=X.get("expressions.1.left");return[Q,W]}return[G];function J(X,H,V){if(X==="=")return ZJ("=",H,V);else return A6(X,H,V)}}function ZY(G){return G.isClassMethod()&&!!G.parentPath.parentPath.node.superClass}var lW1=D6.environmentVisitor({CallExpression(G,{supers:J,thisBinding:X}){if(!G.get("callee").isSuper())return;if(J.has(G.node))return;J.add(G.node),G.replaceWithMultiple([G.node,ZJ("=",O1(X),O1("this"))])}});function iW1(G,J){return BX(G,"this",(X)=>{if(!J||!ZY(G))return RX();G.traverse(lW1,{supers:new WeakSet,thisBinding:X})})}function aW1(G){return BX(G,"supercall",()=>{let J=G.scope.generateUidIdentifier("args");return S6([DW1(J)],IJ(C6(),[IW1(O1(J.name))]))})}function pW1(G,J,X){return BX(G,`superprop_${J?"set":"get"}:${X||""}`,()=>{let V=[],Z;if(X)Z=YG(C6(),O1(X));else{let Q=G.scope.generateUidIdentifier("prop");V.unshift(Q),Z=YG(C6(),O1(Q.name),!0)}if(J){let Q=G.scope.generateUidIdentifier("value");V.push(Q),Z=ZJ("=",Z,O1(Q.name))}return S6(V,Z)})}function BX(G,J,X){let H="binding:"+J,V=G.getData(H);if(!V){let Z=G.scope.generateUidIdentifier(J);V=Z.name,G.setData(H,V),G.scope.push({id:Z,init:X(V)})}return V}var rW1=D6.environmentVisitor({ThisExpression(G,{thisPaths:J}){J.push(G)},JSXIdentifier(G,{thisPaths:J}){if(G.node.name!=="this")return;if(!G.parentPath.isJSXMemberExpression({object:G.node})&&!G.parentPath.isJSXOpeningElement({name:G.node}))return;J.push(G)},CallExpression(G,{superCalls:J}){if(G.get("callee").isSuper())J.push(G)},MemberExpression(G,{superProps:J}){if(G.get("object").isSuper())J.push(G)},Identifier(G,{argumentsPaths:J}){if(!G.isReferencedIdentifier({name:"arguments"}))return;let X=G.scope;do{if(X.hasOwnBinding("arguments")){X.rename("arguments");return}if(X.path.isFunction()&&!X.path.isArrowFunctionExpression())break}while(X=X.parent);J.push(G)},MetaProperty(G,{newTargetPaths:J}){if(!G.get("meta").isIdentifier({name:"new"}))return;if(!G.get("property").isIdentifier({name:"target"}))return;J.push(G)}});function sW1(G){let J=[],X=[],H=[],V=[],Z=[];return G.traverse(rW1,{thisPaths:J,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}),{thisPaths:J,argumentsPaths:X,newTargetPaths:H,superProps:V,superCalls:Z}}function dW1(){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 G=this.get("declaration");if(this.isExportDefaultDeclaration()){let V=G.isFunctionDeclaration()||G.isClassDeclaration(),Z=G.isFunctionExpression()||G.isClassExpression(),Q=G.isScope()?G.scope.parent:G.scope,W=G.node.id,Y=!1;if(!W){if(Y=!0,W=Q.generateUidIdentifier("default"),V||Z)G.node.id=QJ(W)}else if(Z&&Q.hasBinding(W.name))Y=!0,W=Q.generateUidIdentifier(W.name);let z=V?G.node:kW1("var",[vW1(QJ(W),G.node)]),U=eW(null,[GY(QJ(W),O1("default"))]);if(this.insertAfter(U),this.replaceWith(z),Y)Q.registerDeclaration(this);return this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let J=G.getOuterBindingIdentifiers(),X=Object.keys(J).map((V)=>{return GY(O1(V),O1(V))}),H=eW(null,X);return this.insertAfter(H),this.replaceWith(G.node),this}var tW1={"ReferencedIdentifier|BindingIdentifier"(G,J){if(G.node.name!==J.name)return;J.needsRename=!0,G.stop()},Scope(G,J){if(G.scope.hasOwnBinding(J.name))G.skip()}};function nW1(G){if(this.node.id)return this;let J=bW1(this.node,this.parent);if(J==null)return this;let{name:X}=J;if(!G&&/[\uD800-\uDFFF]/.test(X))return null;if(X.startsWith("get ")||X.startsWith("set "))return null;X=NW1(X.replace(/[/ ]/g,"_"));let H=O1(X);EW1(H,J.originalNode);let V={needsRename:!1,name:X},{scope:Z}=this,Q=Z.getOwnBinding(X);if(Q){if(Q.kind==="param")V.needsRename=!0}else if(Z.parent.hasBinding(X)||Z.hasGlobal(X))this.traverse(tW1,V);if(!V.needsRename)return this.node.id=H,Z.getProgramParent().references[H.name]=!0,this;if(Z.hasBinding(H.name)&&!Z.hasGlobal(H.name))return Z.rename(H.name),this.node.id=H,Z.getProgramParent().references[H.name]=!0,this;if(!TW1(this.node))return null;let W=Z.generateUidIdentifier(H.name),Y=[];for(let U=0,q=oW1(this.node);U<q;U++)Y.push(Z.generateUidIdentifier("x"));let z=UW1.default.expression.ast`
43
- (function (${W}) {
44
- function ${H}(${Y}) {
45
- return ${QJ(W)}.apply(this, arguments);
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`
44
+ (function (${H}) {
45
+ function ${J}(${U}) {
46
+ return ${U1(H)}.apply(this, arguments);
46
47
  }
47
48
 
48
- ${QJ(H)}.toString = function () {
49
- return ${QJ(W)}.toString();
49
+ ${U1(J)}.toString = function () {
50
+ return ${U1(H)}.toString();
50
51
  }
51
52
 
52
- return ${QJ(H)};
53
- })(${HY(this.node)})
54
- `;return this.replaceWith(z)[0].get("arguments.0")}function oW1(G){let J=G.params.findIndex((X)=>wW1(X)||LW1(X));return J===-1?G.params.length:J}});var MY=f((BY)=>{Object.defineProperty(BY,"__esModule",{value:!0});BY._guessExecutionStatusRelativeTo=IY1;BY._resolve=RY;BY.canHaveVariableDeclarationOrExpression=qY1;BY.canSwapBetweenExpressionAndStatement=jY1;BY.getSource=DY1;BY.isCompletionRecord=OY1;BY.isConstantExpression=wY1;BY.isInStrictMode=LY1;BY.isNodeType=FY1;BY.isStatementOrBlock=AY1;BY.isStatic=$Y1;BY.matchesPattern=MY1;BY.referencesImport=CY1;BY.resolve=TY1;BY.willIMaybeExecuteBefore=SY1;var ZY1=W1(),{STATEMENT_OR_BLOCK_KEYS:QY1,VISITOR_KEYS:WY1,isBlockStatement:UY,isExpression:YY1,isIdentifier:zY1,isLiteral:KY1,isStringLiteral:UY1,isType:RY1,matchesPattern:BY1}=ZY1;function MY1(G,J){return BY1(this.node,G,J)}BY.has=function G(J){var X;let H=(X=this.node)==null?void 0:X[J];if(H&&Array.isArray(H))return!!H.length;else return!!H};function $Y1(){return this.scope.isStatic(this.node)}BY.is=BY.has,BY.isnt=function G(J){return!this.has(J)},BY.equals=function G(J,X){return this.node[J]===X};function FY1(G){return RY1(this.type,G)}function qY1(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function jY1(G){if(this.key!=="body"||!this.parentPath.isArrowFunctionExpression())return!1;if(this.isExpression())return UY(G);else if(this.isBlockStatement())return YY1(G);return!1}function OY1(G){let J=this,X=!0;do{let{type:H,container:V}=J;if(!X&&(J.isFunction()||H==="StaticBlock"))return!!G;if(X=!1,Array.isArray(V)&&J.key!==V.length-1)return!1}while((J=J.parentPath)&&!J.isProgram()&&!J.isDoExpression());return!0}function AY1(){if(this.parentPath.isLabeledStatement()||UY(this.container))return!1;else return QY1.includes(this.key)}function CY1(G,J){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===J||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?UY1(this.node.property,{value:J}):this.node.property.name===J)){let Z=this.get("object");return Z.isReferencedIdentifier()&&Z.referencesImport(G,"*")}return!1}let X=this.scope.getBinding(this.node.name);if(!X||X.kind!=="module")return!1;let H=X.path,V=H.parentPath;if(!V.isImportDeclaration())return!1;if(V.node.source.value===G){if(!J)return!0}else return!1;if(H.isImportDefaultSpecifier()&&J==="default")return!0;if(H.isImportNamespaceSpecifier()&&J==="*")return!0;if(H.isImportSpecifier()&&zY1(H.node.imported,{name:J}))return!0;return!1}function DY1(){let G=this.node;if(G.end){let J=this.hub.getCode();if(J)return J.slice(G.start,G.end)}return""}function SY1(G){return this._guessExecutionStatusRelativeTo(G)!=="after"}function YY(G){return G.isProgram()?G:(G.parentPath.scope.getFunctionParent()||G.parentPath.scope.getProgramParent()).path}function fY1(G,J){switch(G){case"LogicalExpression":return J==="right";case"ConditionalExpression":case"IfStatement":return J==="consequent"||J==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return J==="body";case"ForStatement":return J==="body"||J==="update";case"SwitchStatement":return J==="cases";case"TryStatement":return J==="handler";case"AssignmentPattern":return J==="right";case"OptionalMemberExpression":return J==="property";case"OptionalCallExpression":return J==="arguments";default:return!1}}function zY(G,J){for(let X=0;X<J;X++){let H=G[X];if(fY1(H.parent.type,H.parentKey))return!0}return!1}var KY=Symbol();function IY1(G){return f6(this,G,new Map)}function f6(G,J,X){let H={this:YY(G),target:YY(J)};if(H.target.node!==H.this.node)return NY1(G,H.target,X);let V={target:J.getAncestry(),this:G.getAncestry()};if(V.target.includes(G))return"after";if(V.this.includes(J))return"before";let Z,Q={target:0,this:0};while(!Z&&Q.this<V.this.length){let U=V.this[Q.this];if(Q.target=V.target.indexOf(U),Q.target>=0)Z=U;else Q.this++}if(!Z)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(zY(V.this,Q.this-1)||zY(V.target,Q.target-1))return"unknown";let W={this:V.this[Q.this-1],target:V.target[Q.target-1]};if(W.target.listKey&&W.this.listKey&&W.target.container===W.this.container)return W.target.key>W.this.key?"before":"after";let Y=WY1[Z.type],z={this:Y.indexOf(W.this.parentKey),target:Y.indexOf(W.target.parentKey)};return z.target>z.this?"before":"after"}function PY1(G,J,X){if(!J.isFunctionDeclaration()){if(f6(G,J,X)==="before")return"before";return"unknown"}else if(J.parentPath.isExportDeclaration())return"unknown";let H=J.scope.getBinding(J.node.id.name);if(!H.references)return"before";let V=H.referencePaths,Z;for(let Q of V){if(!!Q.find((z)=>z.node===J.node))continue;if(Q.key!=="callee"||!Q.parentPath.isCallExpression())return"unknown";let Y=f6(G,Q,X);if(Z&&Z!==Y)return"unknown";else Z=Y}return Z}function NY1(G,J,X){let H=X.get(G.node),V;if(!H)X.set(G.node,H=new Map);else if(V=H.get(J.node)){if(V===KY)return"unknown";return V}H.set(J.node,KY);let Z=PY1(G,J,X);return H.set(J.node,Z),Z}function TY1(G,J){return RY.call(this,G,J)||this}function RY(G,J){var X;if((X=J)!=null&&X.includes(this))return;if(J=J||[],J.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(G,J)}else if(this.isReferencedIdentifier()){let H=this.scope.getBinding(this.node.name);if(!H)return;if(!H.constant)return;if(H.kind==="module")return;if(H.path!==this){let V=H.path.resolve(G,J);if(this.find((Z)=>Z.node===V.node))return;return V}}else if(this.isTypeCastExpression())return this.get("expression").resolve(G,J);else if(G&&this.isMemberExpression()){let H=this.toComputedKey();if(!KY1(H))return;let V=H.value,Z=this.get("object").resolve(G,J);if(Z.isObjectExpression()){let Q=Z.get("properties");for(let W of Q){if(!W.isProperty())continue;let Y=W.get("key"),z=W.isnt("computed")&&Y.isIdentifier({name:V});if(z=z||Y.isLiteral({value:V}),z)return W.get("value").resolve(G,J)}}else if(Z.isArrayExpression()&&!isNaN(+V)){let W=Z.get("elements")[V];if(W)return W.resolve(G,J)}}}function wY1(){if(this.isIdentifier()){let G=this.scope.getBinding(this.node.name);if(!G)return!1;return G.constant}if(this.isLiteral()){if(this.isRegExpLiteral())return!1;if(this.isTemplateLiteral())return this.get("expressions").every((G)=>G.isConstantExpression());return!0}if(this.isUnaryExpression()){if(this.node.operator!=="void")return!1;return this.get("argument").isConstantExpression()}if(this.isBinaryExpression()){let{operator:G}=this.node;return G!=="in"&&G!=="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 LY1(){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 H;if(X.isFunction())H=X.node.body;else if(X.isProgram())H=X.node;else return!1;for(let V of H.directives)if(V.value.value==="use strict")return!0})}});var AY=f((OY)=>{Object.defineProperty(OY,"__esModule",{value:!0});OY._getKey=qY;OY._getPattern=jY;OY.get=zz1;OY.getAllNextSiblings=Wz1;OY.getAllPrevSiblings=Yz1;OY.getAssignmentIdentifiers=Kz1;OY.getBindingIdentifierPaths=Bz1;OY.getBindingIdentifiers=Uz1;OY.getCompletionRecords=Hz1;OY.getNextSibling=Qz1;OY.getOpposite=Gz1;OY.getOuterBindingIdentifierPaths=Mz1;OY.getOuterBindingIdentifiers=Rz1;OY.getPrevSibling=Zz1;OY.getSibling=Vz1;var P6=xG(),rY1=W1(),{getAssignmentIdentifiers:sY1,getBindingIdentifiers:FY,getOuterBindingIdentifiers:dY1,numericLiteral:tY1,unaryExpression:nY1}=rY1,N6=0,MX=1;function oY1(G){return{type:N6,path:G}}function eY1(G){return{type:MX,path:G}}function Gz1(){if(this.key==="left")return this.getSibling("right");else if(this.key==="right")return this.getSibling("left");return null}function PJ(G,J,X){if(G)J.push(...NJ(G,X));return J}function Jz1(G,J,X){let H=[];for(let V=0;V<G.length;V++){let Z=G[V],Q=NJ(Z,X),W=[],Y=[];for(let z of Q){if(z.type===N6)W.push(z);if(z.type===MX)Y.push(z)}if(W.length)H=W;J.push(...Y)}return J.push(...H),J}function Xz1(G){G.forEach((J)=>{J.type=MX})}function I6(G,J){G.forEach((X)=>{if(X.path.isBreakStatement({label:null}))if(J)X.path.replaceWith(nY1("void",tY1(0)));else X.path.remove()})}function $Y(G,J){let X=[];if(J.canHaveBreak){let H=[];for(let V=0;V<G.length;V++){let Z=G[V],Q=Object.assign({},J,{inCaseClause:!1});if(Z.isBlockStatement()&&(J.inCaseClause||J.shouldPopulateBreak))Q.shouldPopulateBreak=!0;else Q.shouldPopulateBreak=!1;let W=NJ(Z,Q);if(W.length>0&&W.every((Y)=>Y.type===MX)){if(H.length>0&&W.every((Y)=>Y.path.isBreakStatement({label:null}))){if(Xz1(H),X.push(...H),H.some((Y)=>Y.path.isDeclaration()))X.push(...W),I6(W,!0);I6(W,!1)}else if(X.push(...W),!J.shouldPopulateBreak)I6(W,!0);break}if(V===G.length-1)X.push(...W);else{H=[];for(let Y=0;Y<W.length;Y++){let z=W[Y];if(z.type===MX)X.push(z);if(z.type===N6)H.push(z)}}}}else if(G.length)for(let H=G.length-1;H>=0;H--){let V=NJ(G[H],J);if(V.length>1||V.length===1&&!V[0].path.isVariableDeclaration()){X.push(...V);break}}return X}function NJ(G,J){let X=[];if(G.isIfStatement())X=PJ(G.get("consequent"),X,J),X=PJ(G.get("alternate"),X,J);else if(G.isDoExpression()||G.isFor()||G.isWhile()||G.isLabeledStatement())return PJ(G.get("body"),X,J);else if(G.isProgram()||G.isBlockStatement())return $Y(G.get("body"),J);else if(G.isFunction())return NJ(G.get("body"),J);else if(G.isTryStatement())X=PJ(G.get("block"),X,J),X=PJ(G.get("handler"),X,J);else if(G.isCatchClause())return PJ(G.get("body"),X,J);else if(G.isSwitchStatement())return Jz1(G.get("cases"),X,J);else if(G.isSwitchCase())return $Y(G.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});else if(G.isBreakStatement())X.push(eY1(G));else X.push(oY1(G));return X}function Hz1(){return NJ(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((J)=>J.path)}function Vz1(G){return P6.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:G}).setContext(this.context)}function Zz1(){return this.getSibling(this.key-1)}function Qz1(){return this.getSibling(this.key+1)}function Wz1(){let G=this.key,J=this.getSibling(++G),X=[];while(J.node)X.push(J),J=this.getSibling(++G);return X}function Yz1(){let G=this.key,J=this.getSibling(--G),X=[];while(J.node)X.push(J),J=this.getSibling(--G);return X}function zz1(G,J=!0){if(J===!0)J=this.context;let X=G.split(".");if(X.length===1)return qY.call(this,G,J);else return jY.call(this,X,J)}function qY(G,J){let X=this.node,H=X[G];if(Array.isArray(H))return H.map((V,Z)=>{return P6.default.get({listKey:G,parentPath:this,parent:X,container:H,key:Z}).setContext(J)});else return P6.default.get({parentPath:this,parent:X,container:X,key:G}).setContext(J)}function jY(G,J){let X=this;for(let H of G)if(H===".")X=X.parentPath;else if(Array.isArray(X))X=X[H];else X=X.get(H,J);return X}function Kz1(){return sY1(this.node)}function Uz1(G){return FY(this.node,G)}function Rz1(G){return dY1(this.node,G)}function Bz1(G=!1,J=!1){let H=[this],V=Object.create(null);while(H.length){let Z=H.shift();if(!Z)continue;if(!Z.node)continue;let Q=FY.keys[Z.node.type];if(Z.isIdentifier()){if(G)(V[Z.node.name]=V[Z.node.name]||[]).push(Z);else V[Z.node.name]=Z;continue}if(Z.isExportDeclaration()){let W=Z.get("declaration");if(W.isDeclaration())H.push(W);continue}if(J){if(Z.isFunctionDeclaration()){H.push(Z.get("id"));continue}if(Z.isFunctionExpression())continue}if(Q)for(let W=0;W<Q.length;W++){let Y=Q[W],z=Z.get(Y);if(Array.isArray(z))H.push(...z);else if(z.node)H.push(z)}}return V}function Mz1(G=!1){return this.getBindingIdentifierPaths(G,!0)}});var SY=f((DY)=>{Object.defineProperty(DY,"__esModule",{value:!0});DY.addComment=Ez1;DY.addComments=gz1;DY.shareCommentsWithSiblings=vz1;var Lz1=W1(),{addComment:bz1,addComments:kz1}=Lz1;function vz1(){if(typeof this.key==="string")return;let G=this.node;if(!G)return;let{trailingComments:J,leadingComments:X}=G;if(!J&&!X)return;let H=this.getSibling(this.key-1),V=this.getSibling(this.key+1),Z=Boolean(H.node),Q=Boolean(V.node);if(Z){if(X)H.addComments("trailing",CY(X,H.node.trailingComments));if(J&&!Q)H.addComments("trailing",J)}if(Q){if(J)V.addComments("leading",CY(J,V.node.leadingComments));if(X&&!Z)V.addComments("leading",X)}}function CY(G,J){if(!(J!=null&&J.length))return G;let X=new Set(J);return G.filter((H)=>{return!X.has(H)})}function Ez1(G,J,X){bz1(this.node,G,J,X)}function gz1(G,J){kz1(this.node,G,J)}});var xG=f((TY)=>{Object.defineProperty(TY,"__esModule",{value:!0});TY.default=TY.SHOULD_STOP=TY.SHOULD_SKIP=TY.REMOVED=void 0;var yz1=E2(),xz1=FZ(),mz1=YX(),cz1=p2(),PY=W1(),L0=PY,lz1=GJ(),iz1=U2(),FG=KQ(),TJ=vQ(),wJ=H6(),fY=wW(),WJ=WY(),w1=MY(),NY=MG(),T1=NY,LJ=S0(),qG=f0(),l1=AY(),T6=SY(),az1=x2(),{validate:pz1}=PY,IY=xz1("babel"),tF1=TY.REMOVED=1,nF1=TY.SHOULD_STOP=2,oF1=TY.SHOULD_SKIP=4,LG=TY.default=class G{constructor(J,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=J,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(J){if(J)this._traverseFlags|=1;else this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(J){if(J)this._traverseFlags|=2;else this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(J){if(J)this._traverseFlags|=4;else this._traverseFlags&=-5}static get({hub:J,parentPath:X,parent:H,container:V,listKey:Z,key:Q}){if(!J&&X)J=X.hub;if(!H)throw new Error("To get a node path the parent needs to exist");let W=V[Q],Y=lz1.getOrCreateCachedPaths(J,H),z=Y.get(W);if(!z){if(z=new G(J,H),W)Y.set(W,z)}return NY.setup.call(z,X,V,Z,Q),z}getScope(J){return this.isScope()?new cz1.default(this):J}setData(J,X){if(this.data==null)this.data=Object.create(null);return this.data[J]=X}getData(J,X){if(this.data==null)this.data=Object.create(null);let H=this.data[J];if(H===void 0&&X!==void 0)H=this.data[J]=X;return H}hasNode(){return this.node!=null}buildCodeFrameError(J,X=SyntaxError){return this.hub.buildError(this.node,J,X)}traverse(J,X){mz1.default(this.node,J,this.scope,X,this)}set(J,X){pz1(this.node,J,X),this.node[J]=X}getPathLocation(){let J=[],X=this;do{let H=X.key;if(X.inList)H=`${X.listKey}[${H}]`;J.unshift(H)}while(X=X.parentPath);return J.join(".")}debug(J){if(!IY.enabled)return;IY(`${this.getPathLocation()} ${this.type}: ${J}`)}toString(){return iz1.default(this.node).code}get inList(){return!!this.listKey}set inList(J){if(!J)this.listKey=null}get parentKey(){return this.listKey||this.key}},rz1={findParent:FG.findParent,find:FG.find,getFunctionParent:FG.getFunctionParent,getStatementParent:FG.getStatementParent,getEarliestCommonAncestorFrom:FG.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:FG.getDeepestCommonAncestorFrom,getAncestry:FG.getAncestry,isAncestor:FG.isAncestor,isDescendant:FG.isDescendant,inType:FG.inType,getTypeAnnotation:TJ.getTypeAnnotation,isBaseType:TJ.isBaseType,couldBeBaseType:TJ.couldBeBaseType,baseTypeStrictlyMatches:TJ.baseTypeStrictlyMatches,isGenericType:TJ.isGenericType,replaceWithMultiple:wJ.replaceWithMultiple,replaceWithSourceString:wJ.replaceWithSourceString,replaceWith:wJ.replaceWith,replaceExpressionWithStatements:wJ.replaceExpressionWithStatements,replaceInline:wJ.replaceInline,evaluateTruthy:fY.evaluateTruthy,evaluate:fY.evaluate,toComputedKey:WJ.toComputedKey,ensureBlock:WJ.ensureBlock,unwrapFunctionEnvironment:WJ.unwrapFunctionEnvironment,arrowFunctionToExpression:WJ.arrowFunctionToExpression,splitExportDeclaration:WJ.splitExportDeclaration,ensureFunctionName:WJ.ensureFunctionName,matchesPattern:w1.matchesPattern,isStatic:w1.isStatic,isNodeType:w1.isNodeType,canHaveVariableDeclarationOrExpression:w1.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:w1.canSwapBetweenExpressionAndStatement,isCompletionRecord:w1.isCompletionRecord,isStatementOrBlock:w1.isStatementOrBlock,referencesImport:w1.referencesImport,getSource:w1.getSource,willIMaybeExecuteBefore:w1.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:w1._guessExecutionStatusRelativeTo,resolve:w1.resolve,isConstantExpression:w1.isConstantExpression,isInStrictMode:w1.isInStrictMode,isDenylisted:T1.isDenylisted,visit:T1.visit,skip:T1.skip,skipKey:T1.skipKey,stop:T1.stop,setContext:T1.setContext,requeue:T1.requeue,requeueComputedKeyAndDecorators:T1.requeueComputedKeyAndDecorators,remove:LJ.remove,insertBefore:qG.insertBefore,insertAfter:qG.insertAfter,unshiftContainer:qG.unshiftContainer,pushContainer:qG.pushContainer,getOpposite:l1.getOpposite,getCompletionRecords:l1.getCompletionRecords,getSibling:l1.getSibling,getPrevSibling:l1.getPrevSibling,getNextSibling:l1.getNextSibling,getAllNextSiblings:l1.getAllNextSiblings,getAllPrevSiblings:l1.getAllPrevSiblings,get:l1.get,getAssignmentIdentifiers:l1.getAssignmentIdentifiers,getBindingIdentifiers:l1.getBindingIdentifiers,getOuterBindingIdentifiers:l1.getOuterBindingIdentifiers,getBindingIdentifierPaths:l1.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:l1.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:T6.shareCommentsWithSiblings,addComment:T6.addComment,addComments:T6.addComments};Object.assign(LG.prototype,rz1);LG.prototype.arrowFunctionToShadowed=WJ[String("arrowFunctionToShadowed")],Object.assign(LG.prototype,{has:w1[String("has")],is:w1[String("is")],isnt:w1[String("isnt")],equals:w1[String("equals")],hoist:qG[String("hoist")],updateSiblingKeys:qG.updateSiblingKeys,call:T1.call,isBlacklisted:T1[String("isBlacklisted")],setScope:T1.setScope,resync:T1.resync,popContext:T1.popContext,pushContext:T1.pushContext,setup:T1.setup,setKey:T1.setKey});LG.prototype._guessExecutionStatusRelativeToDifferentFunctions=w1._guessExecutionStatusRelativeTo,LG.prototype._guessExecutionStatusRelativeToDifferentFunctions=w1._guessExecutionStatusRelativeTo,Object.assign(LG.prototype,{_getTypeAnnotation:TJ._getTypeAnnotation,_replaceWith:wJ._replaceWith,_resolve:w1._resolve,_call:T1._call,_resyncParent:T1._resyncParent,_resyncKey:T1._resyncKey,_resyncList:T1._resyncList,_resyncRemoved:T1._resyncRemoved,_getQueueContexts:T1._getQueueContexts,_removeFromScope:LJ._removeFromScope,_callRemovalHooks:LJ._callRemovalHooks,_remove:LJ._remove,_markRemoved:LJ._markRemoved,_assertUnremoved:LJ._assertUnremoved,_containerInsert:qG._containerInsert,_containerInsertBefore:qG._containerInsertBefore,_containerInsertAfter:qG._containerInsertAfter,_verifyNodeList:qG._verifyNodeList,_getKey:l1._getKey,_getPattern:l1._getPattern});for(let G of L0.TYPES){let J=`is${G}`,X=L0[J];LG.prototype[J]=function(H){return X(this.node,H)},LG.prototype[`assert${G}`]=function(H){if(!X(this.node,H))throw new TypeError(`Expected node path of type ${G}`)}}Object.assign(LG.prototype,az1);for(let G of Object.keys(yz1)){if(G[0]==="_")continue;if(!L0.TYPES.includes(G))L0.TYPES.push(G)}});var vY=f((bY)=>{Object.defineProperty(bY,"__esModule",{value:!0});bY.default=void 0;var nz1=xG(),oz1=W1(),w6=MG(),{VISITOR_KEYS:ez1}=oz1;class LY{constructor(G,J,X,H){this.queue=null,this.priorityQueue=null,this.parentPath=H,this.scope=G,this.state=X,this.opts=J}shouldVisit(G){let J=this.opts;if(J.enter||J.exit)return!0;if(J[G.type])return!0;let X=ez1[G.type];if(!(X!=null&&X.length))return!1;for(let H of X)if(G[H])return!0;return!1}create(G,J,X,H){return nz1.default.get({parentPath:this.parentPath,parent:G,container:J,key:X,listKey:H})}maybeQueue(G,J){if(this.queue)if(J)this.queue.push(G);else this.priorityQueue.push(G)}visitMultiple(G,J,X){if(G.length===0)return!1;let H=[];for(let V=0;V<G.length;V++){let Z=G[V];if(Z&&this.shouldVisit(Z))H.push(this.create(J,G,V,X))}return this.visitQueue(H)}visitSingle(G,J){if(this.shouldVisit(G[J]))return this.visitQueue([this.create(G,G,J)]);else return!1}visitQueue(G){this.queue=G,this.priorityQueue=[];let J=new WeakSet,X=!1,H=0;for(;H<G.length;){let V=G[H];if(H++,w6.resync.call(V),V.contexts.length===0||V.contexts[V.contexts.length-1]!==this)w6.pushContext.call(V,this);if(V.key===null)continue;let{node:Z}=V;if(J.has(Z))continue;if(Z)J.add(Z);if(V.visit()){X=!0;break}if(this.priorityQueue.length){if(X=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=G,X)break}}for(let V=0;V<H;V++)w6.popContext.call(G[V]);return this.queue=null,X}visit(G,J){let X=G[J];if(!X)return!1;if(Array.isArray(X))return this.visitMultiple(X,G,J);else return this.visitSingle(G,J)}}bY.default=LY});var $0=f((EY)=>{Object.defineProperty(EY,"__esModule",{value:!0});EY.traverseNode=H31;var G31=vY(),J31=W1(),{VISITOR_KEYS:X31}=J31;function H31(G,J,X,H,V,Z,Q){let W=X31[G.type];if(!W)return!1;let Y=new G31.default(X,J,H,V);if(Q){if(Z!=null&&Z[V.parentKey])return!1;return Y.visitQueue([V])}for(let z of W){if(Z!=null&&Z[z])continue;if(Y.visit(G,z))return!0}return!1}});var MG=f((cY)=>{Object.defineProperty(cY,"__esModule",{value:!0});cY._call=b6;cY._getQueueContexts=A31;cY._resyncKey=xY;cY._resyncList=mY;cY._resyncParent=yY;cY._resyncRemoved=M31;cY.call=L6;cY.isDenylisted=hY;cY.popContext=$31;cY.pushContext=F31;cY.requeue=j31;cY.requeueComputedKeyAndDecorators=O31;cY.resync=B31;cY.setContext=R31;cY.setKey=b0;cY.setScope=uY;cY.setup=q31;cY.skip=z31;cY.skipKey=K31;cY.stop=U31;cY.visit=Y31;var Z31=$0(),gY=xG(),Q31=S0(),W31=W1();function L6(G){let J=this.opts;if(this.debug(G),this.node){if(b6.call(this,J[G]))return!0}if(this.node){var X;return b6.call(this,(X=J[this.node.type])==null?void 0:X[G])}return!1}function b6(G){if(!G)return!1;for(let J of G){if(!J)continue;let X=this.node;if(!X)return!0;let H=J.call(this.state,this,this.state);if(H&&typeof H==="object"&&typeof H.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(H)throw new Error(`Unexpected return value from visitor method ${J}`);if(this.node!==X)return!0;if(this._traverseFlags>0)return!0}return!1}function hY(){var G;let J=(G=this.opts.denylist)!=null?G:this.opts.blacklist;return J==null?void 0:J.includes(this.node.type)}cY.isBlacklisted=hY;function _Y(G,J){if(G.context!==J)G.context=J,G.state=J.state,G.opts=J.opts}function Y31(){var G,J;if(!this.node)return!1;if(this.isDenylisted())return!1;if((G=(J=this.opts).shouldSkip)!=null&&G.call(J,this))return!1;let X=this.context;if(this.shouldSkip||L6.call(this,"enter"))return this.debug("Skip..."),this.shouldStop;return _Y(this,X),this.debug("Recursing into..."),this.shouldStop=Z31.traverseNode(this.node,this.opts,this.scope,this.state,this,this.skipKeys),_Y(this,X),L6.call(this,"exit"),this.shouldStop}function z31(){this.shouldSkip=!0}function K31(G){if(this.skipKeys==null)this.skipKeys={};this.skipKeys[G]=!0}function U31(){this._traverseFlags|=gY.SHOULD_SKIP|gY.SHOULD_STOP}function uY(){var G,J;if((G=this.opts)!=null&&G.noScope)return;let X=this.parentPath;if((this.key==="key"||this.listKey==="decorators")&&X.isMethod()||this.key==="discriminant"&&X.isSwitchStatement())X=X.parentPath;let H;while(X&&!H){var V;if((V=X.opts)!=null&&V.noScope)return;H=X.scope,X=X.parentPath}this.scope=this.getScope(H),(J=this.scope)==null||J.init()}function R31(G){if(this.skipKeys!=null)this.skipKeys={};if(this._traverseFlags=0,G)this.context=G,this.state=G.state,this.opts=G.opts;return uY.call(this),this}function B31(){if(this.removed)return;yY.call(this),mY.call(this),xY.call(this)}function yY(){if(this.parentPath)this.parent=this.parentPath.node}function xY(){if(!this.container)return;if(this.node===this.container[this.key])return;if(Array.isArray(this.container)){for(let G=0;G<this.container.length;G++)if(this.container[G]===this.node){b0.call(this,G);return}}else for(let G of Object.keys(this.container))if(this.container[G]===this.node){b0.call(this,G);return}this.key=null}function mY(){if(!this.parent||!this.inList)return;let G=this.parent[this.listKey];if(this.container===G)return;this.container=G||null}function M31(){if(this.key==null||!this.container||this.container[this.key]!==this.node)Q31._markRemoved.call(this)}function $31(){if(this.contexts.pop(),this.contexts.length>0)this.setContext(this.contexts[this.contexts.length-1]);else this.setContext(void 0)}function F31(G){this.contexts.push(G),this.setContext(G)}function q31(G,J,X,H){this.listKey=X,this.container=J,this.parentPath=G||this.parentPath,b0.call(this,H)}function b0(G){var J;this.key=G,this.node=this.container[this.key],this.type=(J=this.node)==null?void 0:J.type}function j31(G=this){if(G.removed)return;let J=this.contexts;for(let X of J)X.maybeQueue(G)}function O31(){let{context:G,node:J}=this;if(!W31.isPrivate(J)&&J.computed)G.maybeQueue(this.get("key"));if(J.decorators)for(let X of this.get("decorators"))G.maybeQueue(X)}function A31(){let G=this,J=this.contexts;while(!J.length){if(G=G.parentPath,!G)break;J=G.contexts}return J}});var pY=f((iY)=>{Object.defineProperty(iY,"__esModule",{value:!0});iY.default=void 0;class lY{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(G,J,X=TypeError){return new X(J)}}iY.default=lY});var YX=f((FX)=>{Object.defineProperty(FX,"__esModule",{value:!0});Object.defineProperty(FX,"Hub",{enumerable:!0,get:function(){return p31.default}});Object.defineProperty(FX,"NodePath",{enumerable:!0,get:function(){return i31.default}});Object.defineProperty(FX,"Scope",{enumerable:!0,get:function(){return a31.default}});FX.visitors=FX.default=void 0;MG();var $X=WX();FX.visitors=$X;var c31=W1(),l31=GJ(),rY=$0(),i31=xG(),a31=p2(),p31=pY(),{VISITOR_KEYS:r31,removeProperties:s31,traverseFast:sY}=c31;function HG(G,J={},X,H,V,Z){if(!G)return;if(!J.noScope&&!X){if(G.type!=="Program"&&G.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 ${G.type} node without passing scope and parentPath.`)}if(!V&&Z)throw new Error("visitSelf can only be used when providing a NodePath.");if(!r31[G.type])return;$X.explode(J),rY.traverseNode(G,J,X,H,V,null,Z)}var Zq1=FX.default=HG;HG.visitors=$X;HG.verify=$X.verify;HG.explode=$X.explode;HG.cheap=function(G,J){sY(G,J);return};HG.node=function(G,J,X,H,V,Z){rY.traverseNode(G,J,X,H,V,Z)};HG.clearNode=function(G,J){s31(G,J)};HG.removeProperties=function(G,J){return sY(G,HG.clearNode,J),G};function d31(G,J){if(G.node.type===J.type)J.has=!0,G.stop()}HG.hasType=function(G,J,X){if(X!=null&&X.includes(G.type))return!1;if(G.type===J)return!0;let H={has:!1,type:J};return HG(G,{noScope:!0,denylist:X,enter:d31},null,H),H.has};HG.cache=l31});import GK1 from"process";import{bold as k6,dim as v6,green as JK1,italic as tY,log as XK1}from"@stacksjs/cli";import{path as k0}from"@stacksjs/path";import{fs as HK1,glob as VK1}from"@stacksjs/storage";var n31=h0(U2(),1),o31=h0(W0(),1),e31=h0(YX(),1);async function Rq1(G){let X=Date.now()-G.startTime,H=G.pkgName??`@stacksjs/${k0.basename(G.dir)}`;if(!G.result.success)console.log(G.result.logs[0]),GK1.exit(1);let V=await VK1([k0.resolve(G.dir,"dist","**/*")],{absolute:!0});for(let Z of V){let Q=await HK1.stat(Z),W;if(Q.size<1048576)W=`${(Q.size/1024).toFixed(2)}kb`;else W=`${(Q.size/1024/1024).toFixed(2)}mb`;let Y=k0.relative(G.dir,Z).replace("dist/","");console.log(`${k6(v6(`[${W}]`))} ${v6("dist/")}${Y}`)}console.log(`${k6(v6(`[${X}ms]`))} Built ${tY(k6(JK1(H)))}`)}async function Bq1(G){let J=G.pkgName??`@stacksjs/${k0.basename(G.dir)}`;if(G.styled===!1)console.log(`Building ${J}...`);else XK1.info(`Building ${tY(J)}...`);return{startTime:Date.now()}}var export_traverse=e31.default;var export_parser=o31.default;var export_generator=n31.default;export{export_traverse as traverse,export_parser as parser,Rq1 as outro,Bq1 as intro,export_generator as generator};
53
+ return ${U1(J)};
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};