@live-codes/browser-compilers 0.6.4 → 0.6.5

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.
@@ -0,0 +1,135 @@
1
+ var sucrase=(()=>{var ka=Object.create,yn=Object.defineProperty,ga=Object.getPrototypeOf,xa=Object.prototype.hasOwnProperty,_a=Object.getOwnPropertyNames,ya=Object.getOwnPropertyDescriptor;var Ta=e=>yn(e,"__esModule",{value:!0});var ot=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports),Ia=(e,n)=>{for(var r in n)yn(e,r,{get:n[r],enumerable:!0})},ba=(e,n,r)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of _a(n))!xa.call(e,o)&&o!=="default"&&yn(e,o,{get:()=>n[o],enumerable:!(r=ya(n,o))||r.enumerable});return e},qr=e=>ba(Ta(yn(e!=null?ka(ga(e)):{},"default",e&&e.__esModule&&"default"in e?{get:()=>e.default,enumerable:!0}:{value:e,enumerable:!0})),e);var Po=ot((En,Co)=>{(function(e,n){typeof En=="object"&&typeof Co!="undefined"?n(En):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.setArray={}))})(En,function(e){"use strict";e.get=void 0,e.put=void 0,e.pop=void 0;class n{constructor(){this._indexes={__proto__:null},this.array=[]}}(()=>{e.get=(r,o)=>r._indexes[o],e.put=(r,o)=>{let i=e.get(r,o);if(i!==void 0)return i;let{array:c,_indexes:p}=r;return p[o]=c.push(o)-1},e.pop=r=>{let{array:o,_indexes:i}=r;if(o.length===0)return;let c=o.pop();i[c]=void 0}})(),e.SetArray=n,Object.defineProperty(e,"__esModule",{value:!0})})});var Ro=ot((vn,No)=>{(function(e,n){typeof vn=="object"&&typeof No!="undefined"?n(vn):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.sourcemapCodec={}))})(vn,function(e){"use strict";let n=",".charCodeAt(0),r=";".charCodeAt(0),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),c=new Uint8Array(128);for(let y=0;y<o.length;y++){let I=o.charCodeAt(y);i[y]=I,c[I]=y}let p=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let I="";for(let g=0;g<y.length;g++)I+=String.fromCharCode(y[g]);return I}};function k(y){let I=new Int32Array(5),g=[],R=0;do{let x=v(y,R),b=[],h=!0,A=0;I[0]=0;for(let w=R;w<x;w++){let H;w=T(y,w,I,0);let B=I[0];B<A&&(h=!1),A=B,N(y,w,x)?(w=T(y,w,I,1),w=T(y,w,I,2),w=T(y,w,I,3),N(y,w,x)?(w=T(y,w,I,4),H=[B,I[1],I[2],I[3],I[4]]):H=[B,I[1],I[2],I[3]]):H=[B],b.push(H)}h||M(b),g.push(b),R=x+1}while(R<=y.length);return g}function v(y,I){let g=y.indexOf(";",I);return g===-1?y.length:g}function T(y,I,g,R){let x=0,b=0,h=0;do{let w=y.charCodeAt(I++);h=c[w],x|=(h&31)<<b,b+=5}while(h&32);let A=x&1;return x>>>=1,A&&(x=-2147483648|-x),g[R]+=x,I}function N(y,I,g){return I>=g?!1:y.charCodeAt(I)!==n}function M(y){y.sort(F)}function F(y,I){return y[0]-I[0]}function $(y){let I=new Int32Array(5),g=1024*16,R=g-36,x=new Uint8Array(g),b=x.subarray(0,R),h=0,A="";for(let w=0;w<y.length;w++){let H=y[w];if(w>0&&(h===g&&(A+=p.decode(x),h=0),x[h++]=r),H.length!==0){I[0]=0;for(let B=0;B<H.length;B++){let V=H[B];h>R&&(A+=p.decode(b),x.copyWithin(0,R,h),h-=R),B>0&&(x[h++]=n),h=J(x,h,I,V,0),V.length!==1&&(h=J(x,h,I,V,1),h=J(x,h,I,V,2),h=J(x,h,I,V,3),V.length!==4&&(h=J(x,h,I,V,4)))}}}return A+p.decode(x.subarray(0,h))}function J(y,I,g,R,x){let b=R[x],h=b-g[x];g[x]=b,h=h<0?-h<<1|1:h<<1;do{let A=h&31;h>>>=5,h>0&&(A|=32),y[I++]=i[A]}while(h>0);return I}e.decode=k,e.encode=$,Object.defineProperty(e,"__esModule",{value:!0})})});var Lo=ot((Cn,Do)=>{(function(e,n){typeof Cn=="object"&&typeof Do!="undefined"?n(Cn):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.sourcemapCodec={}))})(Cn,function(e){"use strict";let n=",".charCodeAt(0),r=";".charCodeAt(0),o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),c=new Uint8Array(128);for(let y=0;y<o.length;y++){let I=o.charCodeAt(y);i[y]=I,c[I]=y}let p=typeof TextDecoder!="undefined"?new TextDecoder:typeof Buffer!="undefined"?{decode(y){return Buffer.from(y.buffer,y.byteOffset,y.byteLength).toString()}}:{decode(y){let I="";for(let g=0;g<y.length;g++)I+=String.fromCharCode(y[g]);return I}};function k(y){let I=new Int32Array(5),g=[],R=0;do{let x=v(y,R),b=[],h=!0,A=0;I[0]=0;for(let w=R;w<x;w++){let H;w=T(y,w,I,0);let B=I[0];B<A&&(h=!1),A=B,N(y,w,x)?(w=T(y,w,I,1),w=T(y,w,I,2),w=T(y,w,I,3),N(y,w,x)?(w=T(y,w,I,4),H=[B,I[1],I[2],I[3],I[4]]):H=[B,I[1],I[2],I[3]]):H=[B],b.push(H)}h||M(b),g.push(b),R=x+1}while(R<=y.length);return g}function v(y,I){let g=y.indexOf(";",I);return g===-1?y.length:g}function T(y,I,g,R){let x=0,b=0,h=0;do{let w=y.charCodeAt(I++);h=c[w],x|=(h&31)<<b,b+=5}while(h&32);let A=x&1;return x>>>=1,A&&(x=-2147483648|-x),g[R]+=x,I}function N(y,I,g){return I>=g?!1:y.charCodeAt(I)!==n}function M(y){y.sort(F)}function F(y,I){return y[0]-I[0]}function $(y){let I=new Int32Array(5),g=1024*16,R=g-36,x=new Uint8Array(g),b=x.subarray(0,R),h=0,A="";for(let w=0;w<y.length;w++){let H=y[w];if(w>0&&(h===g&&(A+=p.decode(x),h=0),x[h++]=r),H.length!==0){I[0]=0;for(let B=0;B<H.length;B++){let V=H[B];h>R&&(A+=p.decode(b),x.copyWithin(0,R,h),h-=R),B>0&&(x[h++]=n),h=J(x,h,I,V,0),V.length!==1&&(h=J(x,h,I,V,1),h=J(x,h,I,V,2),h=J(x,h,I,V,3),V.length!==4&&(h=J(x,h,I,V,4)))}}}return A+p.decode(x.subarray(0,h))}function J(y,I,g,R,x){let b=R[x],h=b-g[x];g[x]=b,h=h<0?-h<<1|1:h<<1;do{let A=h&31;h>>>=5,h>0&&(A|=32),y[I++]=i[A]}while(h>0);return I}e.decode=k,e.encode=$,Object.defineProperty(e,"__esModule",{value:!0})})});var Oo=ot((ns,rs)=>{(function(e,n){typeof ns=="object"&&typeof rs!="undefined"?rs.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis!="undefined"?globalThis:e||self,e.resolveURI=n())})(ns,function(){"use strict";let e=/^[\w+.-]+:\/\//,n=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;var o;(function(g){g[g.Empty=1]="Empty",g[g.Hash=2]="Hash",g[g.Query=3]="Query",g[g.RelativePath=4]="RelativePath",g[g.AbsolutePath=5]="AbsolutePath",g[g.SchemeRelative=6]="SchemeRelative",g[g.Absolute=7]="Absolute"})(o||(o={}));function i(g){return e.test(g)}function c(g){return g.startsWith("//")}function p(g){return g.startsWith("/")}function k(g){return g.startsWith("file:")}function v(g){return/^[.?#]/.test(g)}function T(g){let R=n.exec(g);return M(R[1],R[2]||"",R[3],R[4]||"",R[5]||"/",R[6]||"",R[7]||"")}function N(g){let R=r.exec(g),x=R[2];return M("file:","",R[1]||"","",p(x)?x:"/"+x,R[3]||"",R[4]||"")}function M(g,R,x,b,h,A,w){return{scheme:g,user:R,host:x,port:b,path:h,query:A,hash:w,type:o.Absolute}}function F(g){if(c(g)){let x=T("http:"+g);return x.scheme="",x.type=o.SchemeRelative,x}if(p(g)){let x=T("http://foo.com"+g);return x.scheme="",x.host="",x.type=o.AbsolutePath,x}if(k(g))return N(g);if(i(g))return T(g);let R=T("http://foo.com/"+g);return R.scheme="",R.host="",R.type=g?g.startsWith("?")?o.Query:g.startsWith("#")?o.Hash:o.RelativePath:o.Empty,R}function $(g){if(g.endsWith("/.."))return g;let R=g.lastIndexOf("/");return g.slice(0,R+1)}function J(g,R){y(R,R.type),g.path==="/"?g.path=R.path:g.path=$(R.path)+g.path}function y(g,R){let x=R<=o.RelativePath,b=g.path.split("/"),h=1,A=0,w=!1;for(let B=1;B<b.length;B++){let V=b[B];if(!V){w=!0;continue}if(w=!1,V!=="."){if(V===".."){A?(w=!0,A--,h--):x&&(b[h++]=V);continue}b[h++]=V,A++}}let H="";for(let B=1;B<h;B++)H+="/"+b[B];(!H||w&&!H.endsWith("/.."))&&(H+="/"),g.path=H}function I(g,R){if(!g&&!R)return"";let x=F(g),b=x.type;if(R&&b!==o.Absolute){let A=F(R),w=A.type;switch(b){case o.Empty:x.hash=A.hash;case o.Hash:x.query=A.query;case o.Query:case o.RelativePath:J(x,A);case o.AbsolutePath:x.user=A.user,x.host=A.host,x.port=A.port;case o.SchemeRelative:x.scheme=A.scheme}w>b&&(b=w)}y(x,b);let h=x.query+x.hash;switch(b){case o.Hash:case o.Query:return h;case o.RelativePath:{let A=x.path.slice(1);return A?v(R||g)&&!v(A)?"./"+A+h:A+h:h||"."}case o.AbsolutePath:return x.path+h;default:return x.scheme+"//"+x.user+x.host+x.port+x.path+h}}return I})});var Mo=ot((Pn,Fo)=>{(function(e,n){typeof Pn=="object"&&typeof Fo!="undefined"?n(Pn,Lo(),Oo()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(Pn,function(e,n,r){"use strict";function o(S){return S&&typeof S=="object"&&"default"in S?S:{default:S}}var i=o(r);function c(S,_){return _&&!_.endsWith("/")&&(_+="/"),i.default(S,_)}function p(S){if(!S)return"";let _=S.lastIndexOf("/");return S.slice(0,_+1)}let k=0,v=1,T=2,N=3,M=4,F=1,$=2;function J(S,_){let C=y(S,0);if(C===S.length)return S;_||(S=S.slice());for(let P=C;P<S.length;P=y(S,P+1))S[P]=g(S[P],_);return S}function y(S,_){for(let C=_;C<S.length;C++)if(!I(S[C]))return C;return S.length}function I(S){for(let _=1;_<S.length;_++)if(S[_][k]<S[_-1][k])return!1;return!0}function g(S,_){return _||(S=S.slice()),S.sort(R)}function R(S,_){return S[k]-_[k]}let x=!1;function b(S,_,C,P){for(;C<=P;){let Q=C+(P-C>>1),j=S[Q][k]-_;if(j===0)return x=!0,Q;j<0?C=Q+1:P=Q-1}return x=!1,C-1}function h(S,_,C){for(let P=C+1;P<S.length&&S[P][k]===_;C=P++);return C}function A(S,_,C){for(let P=C-1;P>=0&&S[P][k]===_;C=P--);return C}function w(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function H(S,_,C,P){let{lastKey:Q,lastNeedle:j,lastIndex:W}=C,se=0,Z=S.length-1;if(P===Q){if(_===j)return x=W!==-1&&S[W][k]===_,W;_>=j?se=W===-1?0:W:Z=W}return C.lastKey=P,C.lastNeedle=_,C.lastIndex=b(S,_,se,Z)}function B(S,_){let C=_.map(fe);for(let P=0;P<S.length;P++){let Q=S[P];for(let j=0;j<Q.length;j++){let W=Q[j];if(W.length===1)continue;let se=W[v],Z=W[T],te=W[N],me=C[se],le=me[Z]||(me[Z]=[]),xe=_[se],_e=h(le,te,H(le,te,xe,Z));V(le,xe.lastIndex=_e+1,[te,P,W[k]])}}return C}function V(S,_,C){for(let P=S.length;P>_;P--)S[P]=S[P-1];S[_]=C}function fe(){return{__proto__:null}}let he=function(S,_){let C=typeof S=="string"?JSON.parse(S):S;if(!("sections"in C))return new Xe(C,_);let P=[],Q=[],j=[],W=[];Oe(C,_,P,Q,j,W,0,0,Infinity,Infinity);let se={version:3,file:C.file,names:W,sources:Q,sourcesContent:j,mappings:P};return e.presortedDecodedMap(se)};function Oe(S,_,C,P,Q,j,W,se,Z,te){let{sections:me}=S;for(let le=0;le<me.length;le++){let{map:xe,offset:_e}=me[le],Te=Z,je=te;if(le+1<me.length){let Se=me[le+1].offset;Te=Math.min(Z,W+Se.line),Te===Z?je=Math.min(te,se+Se.column):Te<Z&&(je=se+Se.column)}Fe(xe,_,C,P,Q,j,W+_e.line,se+_e.column,Te,je)}}function Fe(S,_,C,P,Q,j,W,se,Z,te){if("sections"in S)return Oe(...arguments);let me=new Xe(S,_),le=P.length,xe=j.length,_e=e.decodedMappings(me),{resolvedSources:Te,sourcesContent:je}=me;if(we(P,Te),we(j,me.names),je)we(Q,je);else for(let Se=0;Se<Te.length;Se++)Q.push(null);for(let Se=0;Se<_e.length;Se++){let It=W+Se;if(It>Z)return;let Nt=Me(C,It),Yt=Se===0?se:0,Rt=_e[Se];for(let bt=0;bt<Rt.length;bt++){let Qe=Rt[bt],dt=Yt+Qe[k];if(It===Z&&dt>=te)return;if(Qe.length===1){Nt.push([dt]);continue}let Dt=le+Qe[v],Lt=Qe[T],Ot=Qe[N];Nt.push(Qe.length===4?[dt,Dt,Lt,Ot]:[dt,Dt,Lt,Ot,xe+Qe[M]])}}}function we(S,_){for(let C=0;C<_.length;C++)S.push(_[C])}function Me(S,_){for(let C=S.length;C<=_;C++)S[C]=[];return S[_]}let ve="`line` must be greater than 0 (lines start at line 1)",Re="`column` must be greater than or equal to 0 (columns start at column 0)",ye=-1,Ce=1;e.encodedMappings=void 0,e.decodedMappings=void 0,e.traceSegment=void 0,e.originalPositionFor=void 0,e.generatedPositionFor=void 0,e.allGeneratedPositionsFor=void 0,e.eachMapping=void 0,e.sourceContentFor=void 0,e.presortedDecodedMap=void 0,e.decodedMap=void 0,e.encodedMap=void 0;class Xe{constructor(_,C){let P=typeof _=="string";if(!P&&_._decodedMemo)return _;let Q=P?JSON.parse(_):_,{version:j,file:W,names:se,sourceRoot:Z,sources:te,sourcesContent:me}=Q;this.version=j,this.file=W,this.names=se,this.sourceRoot=Z,this.sources=te,this.sourcesContent=me;let le=c(Z||"",p(C));this.resolvedSources=te.map(_e=>c(_e||"",le));let{mappings:xe}=Q;typeof xe=="string"?(this._encoded=xe,this._decoded=void 0):(this._encoded=void 0,this._decoded=J(xe,P)),this._decodedMemo=w(),this._bySources=void 0,this._bySourceMemos=void 0}}(()=>{e.encodedMappings=_=>{var C;return(C=_._encoded)!==null&&C!==void 0?C:_._encoded=n.encode(_._decoded)},e.decodedMappings=_=>_._decoded||(_._decoded=n.decode(_._encoded)),e.traceSegment=(_,C,P)=>{let Q=e.decodedMappings(_);if(C>=Q.length)return null;let j=Q[C],W=et(j,_._decodedMemo,C,P,Ce);return W===-1?null:j[W]},e.originalPositionFor=(_,{line:C,column:P,bias:Q})=>{if(C--,C<0)throw new Error(ve);if(P<0)throw new Error(Re);let j=e.decodedMappings(_);if(C>=j.length)return Je(null,null,null,null);let W=j[C],se=et(W,_._decodedMemo,C,P,Q||Ce);if(se===-1)return Je(null,null,null,null);let Z=W[se];if(Z.length===1)return Je(null,null,null,null);let{names:te,resolvedSources:me}=_;return Je(me[Z[v]],Z[T]+1,Z[N],Z.length===5?te[Z[M]]:null)},e.allGeneratedPositionsFor=(_,{source:C,line:P,column:Q,bias:j})=>S(_,C,P,Q,j||ye,!0),e.generatedPositionFor=(_,{source:C,line:P,column:Q,bias:j})=>S(_,C,P,Q,j||Ce,!1),e.eachMapping=(_,C)=>{let P=e.decodedMappings(_),{names:Q,resolvedSources:j}=_;for(let W=0;W<P.length;W++){let se=P[W];for(let Z=0;Z<se.length;Z++){let te=se[Z],me=W+1,le=te[0],xe=null,_e=null,Te=null,je=null;te.length!==1&&(xe=j[te[1]],_e=te[2]+1,Te=te[3]),te.length===5&&(je=Q[te[4]]),C({generatedLine:me,generatedColumn:le,source:xe,originalLine:_e,originalColumn:Te,name:je})}}},e.sourceContentFor=(_,C)=>{let{sources:P,resolvedSources:Q,sourcesContent:j}=_;if(j==null)return null;let W=P.indexOf(C);return W===-1&&(W=Q.indexOf(C)),W===-1?null:j[W]},e.presortedDecodedMap=(_,C)=>{let P=new Xe(Ze(_,[]),C);return P._decoded=_.mappings,P},e.decodedMap=_=>Ze(_,e.decodedMappings(_)),e.encodedMap=_=>Ze(_,e.encodedMappings(_));function S(_,C,P,Q,j,W){if(P--,P<0)throw new Error(ve);if(Q<0)throw new Error(Re);let{sources:se,resolvedSources:Z}=_,te=se.indexOf(C);if(te===-1&&(te=Z.indexOf(C)),te===-1)return W?[]:ze(null,null);let le=(_._bySources||(_._bySources=B(e.decodedMappings(_),_._bySourceMemos=se.map(w))))[te][P];if(le==null)return W?[]:ze(null,null);let xe=_._bySourceMemos[te];if(W)return Kt(le,xe,P,Q,j);let _e=et(le,xe,P,Q,j);if(_e===-1)return ze(null,null);let Te=le[_e];return ze(Te[F]+1,Te[$])}})();function Ze(S,_){return{version:S.version,file:S.file,names:S.names,sourceRoot:S.sourceRoot,sources:S.sources,sourcesContent:S.sourcesContent,mappings:_}}function Je(S,_,C,P){return{source:S,line:_,column:C,name:P}}function ze(S,_){return{line:S,column:_}}function et(S,_,C,P,Q){let j=H(S,P,_,C);return x?j=(Q===ye?h:A)(S,P,j):Q===ye&&j++,j===-1||j===S.length?-1:j}function Kt(S,_,C,P,Q){let j=et(S,_,C,P,Ce);if(!x&&Q===ye&&j++,j===-1||j===S.length)return[];let W=x?P:S[j][k];x||(j=A(S,W,j));let se=h(S,W,j),Z=[];for(;j<=se;j++){let te=S[j];Z.push(ze(te[F]+1,te[$]))}return Z}e.AnyMap=he,e.GREATEST_LOWER_BOUND=Ce,e.LEAST_UPPER_BOUND=ye,e.TraceMap=Xe,Object.defineProperty(e,"__esModule",{value:!0})})});var Bo=ot((Nn,jo)=>{(function(e,n){typeof Nn=="object"&&typeof jo!="undefined"?n(Nn,Po(),Ro(),Mo()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],n):(e=typeof globalThis!="undefined"?globalThis:e||self,n(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(Nn,function(e,n,r,o){"use strict";let i=0,c=1,p=2,k=3,v=4,T=-1;e.addSegment=void 0,e.addMapping=void 0,e.maybeAddSegment=void 0,e.maybeAddMapping=void 0,e.setSourceContent=void 0,e.toDecodedMap=void 0,e.toEncodedMap=void 0,e.fromMap=void 0,e.allMappings=void 0;let N;class M{constructor({file:h,sourceRoot:A}={}){this._names=new n.SetArray,this._sources=new n.SetArray,this._sourcesContent=[],this._mappings=[],this.file=h,this.sourceRoot=A}}(()=>{e.addSegment=(b,h,A,w,H,B,V,fe)=>N(!1,b,h,A,w,H,B,V,fe),e.maybeAddSegment=(b,h,A,w,H,B,V,fe)=>N(!0,b,h,A,w,H,B,V,fe),e.addMapping=(b,h)=>x(!1,b,h),e.maybeAddMapping=(b,h)=>x(!0,b,h),e.setSourceContent=(b,h,A)=>{let{_sources:w,_sourcesContent:H}=b;H[n.put(w,h)]=A},e.toDecodedMap=b=>{let{file:h,sourceRoot:A,_mappings:w,_sources:H,_sourcesContent:B,_names:V}=b;return y(w),{version:3,file:h||void 0,names:V.array,sourceRoot:A||void 0,sources:H.array,sourcesContent:B,mappings:w}},e.toEncodedMap=b=>{let h=e.toDecodedMap(b);return Object.assign(Object.assign({},h),{mappings:r.encode(h.mappings)})},e.allMappings=b=>{let h=[],{_mappings:A,_sources:w,_names:H}=b;for(let B=0;B<A.length;B++){let V=A[B];for(let fe=0;fe<V.length;fe++){let he=V[fe],Oe={line:B+1,column:he[i]},Fe,we,Me;he.length!==1&&(Fe=w.array[he[c]],we={line:he[p]+1,column:he[k]},he.length===5&&(Me=H.array[he[v]])),h.push({generated:Oe,source:Fe,original:we,name:Me})}}return h},e.fromMap=b=>{let h=new o.TraceMap(b),A=new M({file:h.file,sourceRoot:h.sourceRoot});return I(A._names,h.names),I(A._sources,h.sources),A._sourcesContent=h.sourcesContent||h.sources.map(()=>null),A._mappings=o.decodedMappings(h),A},N=(b,h,A,w,H,B,V,fe,he)=>{let{_mappings:Oe,_sources:Fe,_sourcesContent:we,_names:Me}=h,ve=F(Oe,A),Re=$(ve,w);if(!H)return b&&g(ve,Re)?void 0:J(ve,Re,[w]);let ye=n.put(Fe,H),Ce=fe?n.put(Me,fe):T;if(ye===we.length&&(we[ye]=he??null),!(b&&R(ve,Re,ye,B,V,Ce)))return J(ve,Re,fe?[w,ye,B,V,Ce]:[w,ye,B,V])}})();function F(b,h){for(let A=b.length;A<=h;A++)b[A]=[];return b[h]}function $(b,h){let A=b.length;for(let w=A-1;w>=0;A=w--){let H=b[w];if(h>=H[i])break}return A}function J(b,h,A){for(let w=b.length;w>h;w--)b[w]=b[w-1];b[h]=A}function y(b){let{length:h}=b,A=h;for(let w=A-1;w>=0&&!(b[w].length>0);A=w,w--);A<h&&(b.length=A)}function I(b,h){for(let A=0;A<h.length;A++)n.put(b,h[A])}function g(b,h){return h===0?!0:b[h-1].length===1}function R(b,h,A,w,H,B){if(h===0)return!1;let V=b[h-1];return V.length===1?!1:A===V[c]&&w===V[p]&&H===V[k]&&B===(V.length===5?V[v]:T)}function x(b,h,A){let{generated:w,source:H,original:B,name:V,content:fe}=A;if(!H)return N(b,h,w.line-1,w.column,null,null,null,null,null);let he=H;return N(b,h,w.line-1,w.column,he,B.line-1,B.column,V,fe)}e.GenMapping=M,Object.defineProperty(e,"__esModule",{value:!0})})});var Dn=ot(rt=>{"use strict";var Qa=rt&&rt.__extends||function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var c in i)i.hasOwnProperty(c)&&(o[c]=i[c])},e(n,r)};return function(n,r){e(n,r);function o(){this.constructor=n}n.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();Object.defineProperty(rt,"__esModule",{value:!0});rt.DetailContext=rt.NoopContext=rt.VError=void 0;var Ho=function(e){Qa(n,e);function n(r,o){var i=e.call(this,o)||this;return i.path=r,Object.setPrototypeOf(i,n.prototype),i}return n}(Error);rt.VError=Ho;var Ka=function(){function e(){}return e.prototype.fail=function(n,r,o){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(n){},e}();rt.NoopContext=Ka;var zo=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(n,r,o){return this._propNames.push(n),this._messages.push(r),this._score+=o,!1},e.prototype.unionResolver=function(){return new Ya},e.prototype.resolveUnion=function(n){for(var r,o,i=n,c=null,p=0,k=i.contexts;p<k.length;p++){var v=k[p];(!c||v._score>=c._score)&&(c=v)}c&&c._score>0&&((r=this._propNames).push.apply(r,c._propNames),(o=this._messages).push.apply(o,c._messages))},e.prototype.getError=function(n){for(var r=[],o=this._propNames.length-1;o>=0;o--){var i=this._propNames[o];n+=typeof i=="number"?"["+i+"]":i?"."+i:"";var c=this._messages[o];c&&r.push(n+" "+c)}return new Ho(n,r.join("; "))},e.prototype.getErrorDetail=function(n){for(var r=[],o=this._propNames.length-1;o>=0;o--){var i=this._propNames[o];n+=typeof i=="number"?"["+i+"]":i?"."+i:"";var c=this._messages[o];c&&r.push({path:n,message:c})}for(var p=null,o=r.length-1;o>=0;o--)p&&(r[o].nested=[p]),p=r[o];return p},e}();rt.DetailContext=zo;var Ya=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var n=new zo;return this.contexts.push(n),n},e}()});var hs=ot(O=>{"use strict";var $e=O&&O.__extends||function(){var e=function(n,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,i){o.__proto__=i}||function(o,i){for(var c in i)i.hasOwnProperty(c)&&(o[c]=i[c])},e(n,r)};return function(n,r){e(n,r);function o(){this.constructor=n}n.prototype=r===null?Object.create(r):(o.prototype=r.prototype,new o)}}();Object.defineProperty(O,"__esModule",{value:!0});O.basicTypes=O.BasicType=O.TParamList=O.TParam=O.param=O.TFunc=O.func=O.TProp=O.TOptional=O.opt=O.TIface=O.iface=O.TEnumLiteral=O.enumlit=O.TEnumType=O.enumtype=O.TIntersection=O.intersection=O.TUnion=O.union=O.TTuple=O.tuple=O.TArray=O.array=O.TLiteral=O.lit=O.TName=O.name=O.TType=void 0;var Vo=Dn(),De=function(){function e(){}return e}();O.TType=De;function gt(e){return typeof e=="string"?Uo(e):e}function is(e,n){var r=e[n];if(!r)throw new Error("Unknown type "+n);return r}function Uo(e){return new as(e)}O.name=Uo;var as=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.name=r,o._failMsg="is not a "+r,o}return n.prototype.getChecker=function(r,o,i){var c=this,p=is(r,this.name),k=p.getChecker(r,o,i);return p instanceof Ee||p instanceof n?k:function(v,T){return k(v,T)?!0:T.fail(null,c._failMsg,0)}},n}(De);O.TName=as;function Za(e){return new cs(e)}O.lit=Za;var cs=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.value=r,o.name=JSON.stringify(r),o._failMsg="is not "+o.name,o}return n.prototype.getChecker=function(r,o){var i=this;return function(c,p){return c===i.value?!0:p.fail(null,i._failMsg,-1)}},n}(De);O.TLiteral=cs;function ec(e){return new Wo(gt(e))}O.array=ec;var Wo=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.ttype=r,o}return n.prototype.getChecker=function(r,o){var i=this.ttype.getChecker(r,o);return function(c,p){if(!Array.isArray(c))return p.fail(null,"is not an array",0);for(var k=0;k<c.length;k++){var v=i(c[k],p);if(!v)return p.fail(k,null,1)}return!0}},n}(De);O.TArray=Wo;function tc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Go(e.map(function(r){return gt(r)}))}O.tuple=tc;var Go=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.ttypes=r,o}return n.prototype.getChecker=function(r,o){var i=this.ttypes.map(function(p){return p.getChecker(r,o)}),c=function(p,k){if(!Array.isArray(p))return k.fail(null,"is not an array",0);for(var v=0;v<i.length;v++){var T=i[v](p[v],k);if(!T)return k.fail(v,null,1)}return!0};return o?function(p,k){return c(p,k)?p.length<=i.length?!0:k.fail(i.length,"is extraneous",2):!1}:c},n}(De);O.TTuple=Go;function nc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Xo(e.map(function(r){return gt(r)}))}O.union=nc;var Xo=function(e){$e(n,e);function n(r){var o=e.call(this)||this;o.ttypes=r;var i=r.map(function(p){return p instanceof as||p instanceof cs?p.name:null}).filter(function(p){return p}),c=r.length-i.length;return i.length?(c>0&&i.push(c+" more"),o._failMsg="is none of "+i.join(", ")):o._failMsg="is none of "+c+" types",o}return n.prototype.getChecker=function(r,o){var i=this,c=this.ttypes.map(function(p){return p.getChecker(r,o)});return function(p,k){for(var v=k.unionResolver(),T=0;T<c.length;T++){var N=c[T](p,v.createContext());if(N)return!0}return k.resolveUnion(v),k.fail(null,i._failMsg,0)}},n}(De);O.TUnion=Xo;function rc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Jo(e.map(function(r){return gt(r)}))}O.intersection=rc;var Jo=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.ttypes=r,o}return n.prototype.getChecker=function(r,o){var i=new Set,c=this.ttypes.map(function(p){return p.getChecker(r,o,i)});return function(p,k){var v=c.every(function(T){return T(p,k)});return v?!0:k.fail(null,null,0)}},n}(De);O.TIntersection=Jo;function sc(e){return new ls(e)}O.enumtype=sc;var ls=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.members=r,o.validValues=new Set,o._failMsg="is not a valid enum value",o.validValues=new Set(Object.keys(r).map(function(i){return r[i]})),o}return n.prototype.getChecker=function(r,o){var i=this;return function(c,p){return i.validValues.has(c)?!0:p.fail(null,i._failMsg,0)}},n}(De);O.TEnumType=ls;function oc(e,n){return new Qo(e,n)}O.enumlit=oc;var Qo=function(e){$e(n,e);function n(r,o){var i=e.call(this)||this;return i.enumName=r,i.prop=o,i._failMsg="is not "+r+"."+o,i}return n.prototype.getChecker=function(r,o){var i=this,c=is(r,this.enumName);if(!(c instanceof ls))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var p=c.members[this.prop];if(!c.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(k,v){return k===p?!0:v.fail(null,i._failMsg,-1)}},n}(De);O.TEnumLiteral=Qo;function ac(e){return Object.keys(e).map(function(n){return ic(n,e[n])})}function ic(e,n){return n instanceof us?new ps(e,n.ttype,!0):new ps(e,gt(n),!1)}function cc(e,n){return new Ko(e,ac(n))}O.iface=cc;var Ko=function(e){$e(n,e);function n(r,o){var i=e.call(this)||this;return i.bases=r,i.props=o,i.propSet=new Set(o.map(function(c){return c.name})),i}return n.prototype.getChecker=function(r,o,i){var c=this,p=this.bases.map(function(F){return is(r,F).getChecker(r,o)}),k=this.props.map(function(F){return F.ttype.getChecker(r,o)}),v=new Vo.NoopContext,T=this.props.map(function(F,$){return!F.isOpt&&!k[$](void 0,v)}),N=function(F,$){if(typeof F!="object"||F===null)return $.fail(null,"is not an object",0);for(var J=0;J<p.length;J++)if(!p[J](F,$))return!1;for(var J=0;J<k.length;J++){var y=c.props[J].name,I=F[y];if(I===void 0){if(T[J])return $.fail(y,"is missing",1)}else{var g=k[J](I,$);if(!g)return $.fail(y,null,1)}}return!0};if(!o)return N;var M=this.propSet;return i&&(this.propSet.forEach(function(F){return i.add(F)}),M=i),function(F,$){if(!N(F,$))return!1;for(var J in F)if(!M.has(J))return $.fail(J,"is extraneous",2);return!0}},n}(De);O.TIface=Ko;function lc(e){return new us(gt(e))}O.opt=lc;var us=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.ttype=r,o}return n.prototype.getChecker=function(r,o){var i=this.ttype.getChecker(r,o);return function(c,p){return c===void 0||i(c,p)}},n}(De);O.TOptional=us;var ps=function(){function e(n,r,o){this.name=n,this.ttype=r,this.isOpt=o}return e}();O.TProp=ps;function uc(e){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return new Yo(new Zo(n),gt(e))}O.func=uc;var Yo=function(e){$e(n,e);function n(r,o){var i=e.call(this)||this;return i.paramList=r,i.result=o,i}return n.prototype.getChecker=function(r,o){return function(i,c){return typeof i=="function"?!0:c.fail(null,"is not a function",0)}},n}(De);O.TFunc=Yo;function pc(e,n,r){return new e1(e,gt(n),Boolean(r))}O.param=pc;var e1=function(){function e(n,r,o){this.name=n,this.ttype=r,this.isOpt=o}return e}();O.TParam=e1;var Zo=function(e){$e(n,e);function n(r){var o=e.call(this)||this;return o.params=r,o}return n.prototype.getChecker=function(r,o){var i=this,c=this.params.map(function(T){return T.ttype.getChecker(r,o)}),p=new Vo.NoopContext,k=this.params.map(function(T,N){return!T.isOpt&&!c[N](void 0,p)}),v=function(T,N){if(!Array.isArray(T))return N.fail(null,"is not an array",0);for(var M=0;M<c.length;M++){var F=i.params[M];if(T[M]===void 0){if(k[M])return N.fail(F.name,"is missing",1)}else{var $=c[M](T[M],N);if(!$)return N.fail(F.name,null,1)}}return!0};return o?function(T,N){return v(T,N)?T.length<=c.length?!0:N.fail(c.length,"is extraneous",2):!1}:v},n}(De);O.TParamList=Zo;var Ee=function(e){$e(n,e);function n(r,o){var i=e.call(this)||this;return i.validator=r,i.message=o,i}return n.prototype.getChecker=function(r,o){var i=this;return function(c,p){return i.validator(c)?!0:p.fail(null,i.message,0)}},n}(De);O.BasicType=Ee;O.basicTypes={any:new Ee(function(e){return!0},"is invalid"),number:new Ee(function(e){return typeof e=="number"},"is not a number"),object:new Ee(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new Ee(function(e){return typeof e=="boolean"},"is not a boolean"),string:new Ee(function(e){return typeof e=="string"},"is not a string"),symbol:new Ee(function(e){return typeof e=="symbol"},"is not a symbol"),void:new Ee(function(e){return e==null},"is not void"),undefined:new Ee(function(e){return e===void 0},"is not undefined"),null:new Ee(function(e){return e===null},"is not null"),never:new Ee(function(e){return!1},"is unexpected"),Date:new Ee(t1("[object Date]"),"is not a Date"),RegExp:new Ee(t1("[object RegExp]"),"is not a RegExp")};var fc=Object.prototype.toString;function t1(e){return function(n){return typeof n=="object"&&n&&fc.call(n)===e}}typeof Buffer!="undefined"&&(O.basicTypes.Buffer=new Ee(function(e){return Buffer.isBuffer(e)},"is not a Buffer"));var hc=function(e){O.basicTypes[e.name]=new Ee(function(n){return n instanceof e},"is not a "+e.name)};for(var fs=0,n1=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];fs<n1.length;fs++)r1=n1[fs],hc(r1);var r1});var ms=ot(ee=>{"use strict";var mc=ee&&ee.__spreadArrays||function(){for(var e=0,n=0,r=arguments.length;n<r;n++)e+=arguments[n].length;for(var o=Array(e),i=0,n=0;n<r;n++)for(var c=arguments[n],p=0,k=c.length;p<k;p++,i++)o[i]=c[p];return o};Object.defineProperty(ee,"__esModule",{value:!0});ee.Checker=ee.createCheckers=void 0;var nn=hs(),qt=Dn(),ae=hs();Object.defineProperty(ee,"TArray",{enumerable:!0,get:function(){return ae.TArray}});Object.defineProperty(ee,"TEnumType",{enumerable:!0,get:function(){return ae.TEnumType}});Object.defineProperty(ee,"TEnumLiteral",{enumerable:!0,get:function(){return ae.TEnumLiteral}});Object.defineProperty(ee,"TFunc",{enumerable:!0,get:function(){return ae.TFunc}});Object.defineProperty(ee,"TIface",{enumerable:!0,get:function(){return ae.TIface}});Object.defineProperty(ee,"TLiteral",{enumerable:!0,get:function(){return ae.TLiteral}});Object.defineProperty(ee,"TName",{enumerable:!0,get:function(){return ae.TName}});Object.defineProperty(ee,"TOptional",{enumerable:!0,get:function(){return ae.TOptional}});Object.defineProperty(ee,"TParam",{enumerable:!0,get:function(){return ae.TParam}});Object.defineProperty(ee,"TParamList",{enumerable:!0,get:function(){return ae.TParamList}});Object.defineProperty(ee,"TProp",{enumerable:!0,get:function(){return ae.TProp}});Object.defineProperty(ee,"TTuple",{enumerable:!0,get:function(){return ae.TTuple}});Object.defineProperty(ee,"TType",{enumerable:!0,get:function(){return ae.TType}});Object.defineProperty(ee,"TUnion",{enumerable:!0,get:function(){return ae.TUnion}});Object.defineProperty(ee,"TIntersection",{enumerable:!0,get:function(){return ae.TIntersection}});Object.defineProperty(ee,"array",{enumerable:!0,get:function(){return ae.array}});Object.defineProperty(ee,"enumlit",{enumerable:!0,get:function(){return ae.enumlit}});Object.defineProperty(ee,"enumtype",{enumerable:!0,get:function(){return ae.enumtype}});Object.defineProperty(ee,"func",{enumerable:!0,get:function(){return ae.func}});Object.defineProperty(ee,"iface",{enumerable:!0,get:function(){return ae.iface}});Object.defineProperty(ee,"lit",{enumerable:!0,get:function(){return ae.lit}});Object.defineProperty(ee,"name",{enumerable:!0,get:function(){return ae.name}});Object.defineProperty(ee,"opt",{enumerable:!0,get:function(){return ae.opt}});Object.defineProperty(ee,"param",{enumerable:!0,get:function(){return ae.param}});Object.defineProperty(ee,"tuple",{enumerable:!0,get:function(){return ae.tuple}});Object.defineProperty(ee,"union",{enumerable:!0,get:function(){return ae.union}});Object.defineProperty(ee,"intersection",{enumerable:!0,get:function(){return ae.intersection}});Object.defineProperty(ee,"BasicType",{enumerable:!0,get:function(){return ae.BasicType}});var dc=Dn();Object.defineProperty(ee,"VError",{enumerable:!0,get:function(){return dc.VError}});function kc(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var r=Object.assign.apply(Object,mc([{},nn.basicTypes],e)),o={},i=0,c=e;i<c.length;i++)for(var p=c[i],k=0,v=Object.keys(p);k<v.length;k++){var T=v[k];o[T]=new s1(r,p[T])}return o}ee.createCheckers=kc;var s1=function(){function e(n,r,o){if(o===void 0&&(o="value"),this.suite=n,this.ttype=r,this._path=o,this.props=new Map,r instanceof nn.TIface)for(var i=0,c=r.props;i<c.length;i++){var p=c[i];this.props.set(p.name,p.ttype)}this.checkerPlain=this.ttype.getChecker(n,!1),this.checkerStrict=this.ttype.getChecker(n,!0)}return e.prototype.setReportedPath=function(n){this._path=n},e.prototype.check=function(n){return this._doCheck(this.checkerPlain,n)},e.prototype.test=function(n){return this.checkerPlain(n,new qt.NoopContext)},e.prototype.validate=function(n){return this._doValidate(this.checkerPlain,n)},e.prototype.strictCheck=function(n){return this._doCheck(this.checkerStrict,n)},e.prototype.strictTest=function(n){return this.checkerStrict(n,new qt.NoopContext)},e.prototype.strictValidate=function(n){return this._doValidate(this.checkerStrict,n)},e.prototype.getProp=function(n){var r=this.props.get(n);if(!r)throw new Error("Type has no property "+n);return new e(this.suite,r,this._path+"."+n)},e.prototype.methodArgs=function(n){var r=this._getMethod(n);return new e(this.suite,r.paramList)},e.prototype.methodResult=function(n){var r=this._getMethod(n);return new e(this.suite,r.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof nn.TFunc))throw new Error("getArgs() applied to non-function");return new e(this.suite,this.ttype.paramList)},e.prototype.getResult=function(){if(!(this.ttype instanceof nn.TFunc))throw new Error("getResult() applied to non-function");return new e(this.suite,this.ttype.result)},e.prototype.getType=function(){return this.ttype},e.prototype._doCheck=function(n,r){var o=new qt.NoopContext;if(!n(r,o)){var i=new qt.DetailContext;throw n(r,i),i.getError(this._path)}},e.prototype._doValidate=function(n,r){var o=new qt.NoopContext;if(n(r,o))return null;var i=new qt.DetailContext;return n(r,i),i.getErrorDetail(this._path)},e.prototype._getMethod=function(n){var r=this.props.get(n);if(!r)throw new Error("Type has no property "+n);if(!(r instanceof nn.TFunc))throw new Error("Property "+n+" is not a method");return r},e}();ee.Checker=s1});var Zu={};Ia(Zu,{transform:()=>Zi});var l;(function(e){let n=0;e[e.NONE=n]="NONE";let r=n+1;e[e._abstract=r]="_abstract";let o=r+1;e[e._accessor=o]="_accessor";let i=o+1;e[e._as=i]="_as";let c=i+1;e[e._assert=c]="_assert";let p=c+1;e[e._asserts=p]="_asserts";let k=p+1;e[e._async=k]="_async";let v=k+1;e[e._await=v]="_await";let T=v+1;e[e._checks=T]="_checks";let N=T+1;e[e._constructor=N]="_constructor";let M=N+1;e[e._declare=M]="_declare";let F=M+1;e[e._enum=F]="_enum";let $=F+1;e[e._exports=$]="_exports";let J=$+1;e[e._from=J]="_from";let y=J+1;e[e._get=y]="_get";let I=y+1;e[e._global=I]="_global";let g=I+1;e[e._implements=g]="_implements";let R=g+1;e[e._infer=R]="_infer";let x=R+1;e[e._interface=x]="_interface";let b=x+1;e[e._is=b]="_is";let h=b+1;e[e._keyof=h]="_keyof";let A=h+1;e[e._mixins=A]="_mixins";let w=A+1;e[e._module=w]="_module";let H=w+1;e[e._namespace=H]="_namespace";let B=H+1;e[e._of=B]="_of";let V=B+1;e[e._opaque=V]="_opaque";let fe=V+1;e[e._out=fe]="_out";let he=fe+1;e[e._override=he]="_override";let Oe=he+1;e[e._private=Oe]="_private";let Fe=Oe+1;e[e._protected=Fe]="_protected";let we=Fe+1;e[e._proto=we]="_proto";let Me=we+1;e[e._public=Me]="_public";let ve=Me+1;e[e._readonly=ve]="_readonly";let Re=ve+1;e[e._require=Re]="_require";let ye=Re+1;e[e._satisfies=ye]="_satisfies";let Ce=ye+1;e[e._set=Ce]="_set";let Xe=Ce+1;e[e._static=Xe]="_static";let Ze=Xe+1;e[e._symbol=Ze]="_symbol";let Je=Ze+1;e[e._type=Je]="_type";let ze=Je+1;e[e._unique=ze]="_unique";let et=ze+1;e[e._using=et]="_using"})(l||(l={}));var t;(function(e){let n=15;e[e.PRECEDENCE_MASK=n]="PRECEDENCE_MASK";let r=1<<4;e[e.IS_KEYWORD=r]="IS_KEYWORD";let o=1<<5;e[e.IS_ASSIGN=o]="IS_ASSIGN";let i=1<<6;e[e.IS_RIGHT_ASSOCIATIVE=i]="IS_RIGHT_ASSOCIATIVE";let c=1<<7;e[e.IS_PREFIX=c]="IS_PREFIX";let p=1<<8;e[e.IS_POSTFIX=p]="IS_POSTFIX";let k=1<<9;e[e.IS_EXPRESSION_START=k]="IS_EXPRESSION_START";let v=512;e[e.num=v]="num";let T=1536;e[e.bigint=T]="bigint";let N=2560;e[e.decimal=N]="decimal";let M=3584;e[e.regexp=M]="regexp";let F=4608;e[e.string=F]="string";let $=5632;e[e.name=$]="name";let J=6144;e[e.eof=J]="eof";let y=7680;e[e.bracketL=y]="bracketL";let I=8192;e[e.bracketR=I]="bracketR";let g=9728;e[e.braceL=g]="braceL";let R=10752;e[e.braceBarL=R]="braceBarL";let x=11264;e[e.braceR=x]="braceR";let b=12288;e[e.braceBarR=b]="braceBarR";let h=13824;e[e.parenL=h]="parenL";let A=14336;e[e.parenR=A]="parenR";let w=15360;e[e.comma=w]="comma";let H=16384;e[e.semi=H]="semi";let B=17408;e[e.colon=B]="colon";let V=18432;e[e.doubleColon=V]="doubleColon";let fe=19456;e[e.dot=fe]="dot";let he=20480;e[e.question=he]="question";let Oe=21504;e[e.questionDot=Oe]="questionDot";let Fe=22528;e[e.arrow=Fe]="arrow";let we=23552;e[e.template=we]="template";let Me=24576;e[e.ellipsis=Me]="ellipsis";let ve=25600;e[e.backQuote=ve]="backQuote";let Re=27136;e[e.dollarBraceL=Re]="dollarBraceL";let ye=27648;e[e.at=ye]="at";let Ce=29184;e[e.hash=Ce]="hash";let Xe=29728;e[e.eq=Xe]="eq";let Ze=30752;e[e.assign=Ze]="assign";let Je=32640;e[e.preIncDec=Je]="preIncDec";let ze=33664;e[e.postIncDec=ze]="postIncDec";let et=34432;e[e.bang=et]="bang";let Kt=35456;e[e.tilde=Kt]="tilde";let S=35841;e[e.pipeline=S]="pipeline";let _=36866;e[e.nullishCoalescing=_]="nullishCoalescing";let C=37890;e[e.logicalOR=C]="logicalOR";let P=38915;e[e.logicalAND=P]="logicalAND";let Q=39940;e[e.bitwiseOR=Q]="bitwiseOR";let j=40965;e[e.bitwiseXOR=j]="bitwiseXOR";let W=41990;e[e.bitwiseAND=W]="bitwiseAND";let se=43015;e[e.equality=se]="equality";let Z=44040;e[e.lessThan=Z]="lessThan";let te=45064;e[e.greaterThan=te]="greaterThan";let me=46088;e[e.relationalOrEqual=me]="relationalOrEqual";let le=47113;e[e.bitShiftL=le]="bitShiftL";let xe=48137;e[e.bitShiftR=xe]="bitShiftR";let _e=49802;e[e.plus=_e]="plus";let Te=50826;e[e.minus=Te]="minus";let je=51723;e[e.modulo=je]="modulo";let Se=52235;e[e.star=Se]="star";let It=53259;e[e.slash=It]="slash";let Nt=54348;e[e.exponent=Nt]="exponent";let Yt=55296;e[e.jsxName=Yt]="jsxName";let Rt=56320;e[e.jsxText=Rt]="jsxText";let bt=57344;e[e.jsxEmptyText=bt]="jsxEmptyText";let Qe=58880;e[e.jsxTagStart=Qe]="jsxTagStart";let dt=59392;e[e.jsxTagEnd=dt]="jsxTagEnd";let Dt=60928;e[e.typeParameterStart=Dt]="typeParameterStart";let Lt=61440;e[e.nonNullAssertion=Lt]="nonNullAssertion";let Ot=62480;e[e._break=Ot]="_break";let or=63504;e[e._case=or]="_case";let ir=64528;e[e._catch=ir]="_catch";let ar=65552;e[e._continue=ar]="_continue";let cr=66576;e[e._debugger=cr]="_debugger";let lr=67600;e[e._default=lr]="_default";let ur=68624;e[e._do=ur]="_do";let pr=69648;e[e._else=pr]="_else";let fr=70672;e[e._finally=fr]="_finally";let hr=71696;e[e._for=hr]="_for";let mr=73232;e[e._function=mr]="_function";let dr=73744;e[e._if=dr]="_if";let kr=74768;e[e._return=kr]="_return";let gr=75792;e[e._switch=gr]="_switch";let xr=77456;e[e._throw=xr]="_throw";let _r=77840;e[e._try=_r]="_try";let yr=78864;e[e._var=yr]="_var";let Tr=79888;e[e._let=Tr]="_let";let Ir=80912;e[e._const=Ir]="_const";let br=81936;e[e._while=br]="_while";let wr=82960;e[e._with=wr]="_with";let Sr=84496;e[e._new=Sr]="_new";let Ar=85520;e[e._this=Ar]="_this";let Er=86544;e[e._super=Er]="_super";let vr=87568;e[e._class=vr]="_class";let Cr=88080;e[e._extends=Cr]="_extends";let Pr=89104;e[e._export=Pr]="_export";let Nr=90640;e[e._import=Nr]="_import";let Rr=91664;e[e._yield=Rr]="_yield";let Dr=92688;e[e._null=Dr]="_null";let Lr=93712;e[e._true=Lr]="_true";let Or=94736;e[e._false=Or]="_false";let Fr=95256;e[e._in=Fr]="_in";let Mr=96280;e[e._instanceof=Mr]="_instanceof";let jr=97936;e[e._typeof=jr]="_typeof";let Br=98960;e[e._void=Br]="_void";let ea=99984;e[e._delete=ea]="_delete";let ta=100880;e[e._async=ta]="_async";let na=101904;e[e._get=na]="_get";let ra=102928;e[e._set=ra]="_set";let sa=103952;e[e._declare=sa]="_declare";let oa=104976;e[e._readonly=oa]="_readonly";let ia=106e3;e[e._abstract=ia]="_abstract";let aa=107024;e[e._static=aa]="_static";let ca=107536;e[e._public=ca]="_public";let la=108560;e[e._private=la]="_private";let ua=109584;e[e._protected=ua]="_protected";let pa=110608;e[e._override=pa]="_override";let fa=112144;e[e._as=fa]="_as";let ha=113168;e[e._enum=ha]="_enum";let ma=114192;e[e._type=ma]="_type";let da=115216;e[e._implements=da]="_implements"})(t||(t={}));function $r(e){switch(e){case t.num:return"num";case t.bigint:return"bigint";case t.decimal:return"decimal";case t.regexp:return"regexp";case t.string:return"string";case t.name:return"name";case t.eof:return"eof";case t.bracketL:return"[";case t.bracketR:return"]";case t.braceL:return"{";case t.braceBarL:return"{|";case t.braceR:return"}";case t.braceBarR:return"|}";case t.parenL:return"(";case t.parenR:return")";case t.comma:return",";case t.semi:return";";case t.colon:return":";case t.doubleColon:return"::";case t.dot:return".";case t.question:return"?";case t.questionDot:return"?.";case t.arrow:return"=>";case t.template:return"template";case t.ellipsis:return"...";case t.backQuote:return"`";case t.dollarBraceL:return"${";case t.at:return"@";case t.hash:return"#";case t.eq:return"=";case t.assign:return"_=";case t.preIncDec:return"++/--";case t.postIncDec:return"++/--";case t.bang:return"!";case t.tilde:return"~";case t.pipeline:return"|>";case t.nullishCoalescing:return"??";case t.logicalOR:return"||";case t.logicalAND:return"&&";case t.bitwiseOR:return"|";case t.bitwiseXOR:return"^";case t.bitwiseAND:return"&";case t.equality:return"==/!=";case t.lessThan:return"<";case t.greaterThan:return">";case t.relationalOrEqual:return"<=/>=";case t.bitShiftL:return"<<";case t.bitShiftR:return">>/>>>";case t.plus:return"+";case t.minus:return"-";case t.modulo:return"%";case t.star:return"*";case t.slash:return"/";case t.exponent:return"**";case t.jsxName:return"jsxName";case t.jsxText:return"jsxText";case t.jsxEmptyText:return"jsxEmptyText";case t.jsxTagStart:return"jsxTagStart";case t.jsxTagEnd:return"jsxTagEnd";case t.typeParameterStart:return"typeParameterStart";case t.nonNullAssertion:return"nonNullAssertion";case t._break:return"break";case t._case:return"case";case t._catch:return"catch";case t._continue:return"continue";case t._debugger:return"debugger";case t._default:return"default";case t._do:return"do";case t._else:return"else";case t._finally:return"finally";case t._for:return"for";case t._function:return"function";case t._if:return"if";case t._return:return"return";case t._switch:return"switch";case t._throw:return"throw";case t._try:return"try";case t._var:return"var";case t._let:return"let";case t._const:return"const";case t._while:return"while";case t._with:return"with";case t._new:return"new";case t._this:return"this";case t._super:return"super";case t._class:return"class";case t._extends:return"extends";case t._export:return"export";case t._import:return"import";case t._yield:return"yield";case t._null:return"null";case t._true:return"true";case t._false:return"false";case t._in:return"in";case t._instanceof:return"instanceof";case t._typeof:return"typeof";case t._void:return"void";case t._delete:return"delete";case t._async:return"async";case t._get:return"get";case t._set:return"set";case t._declare:return"declare";case t._readonly:return"readonly";case t._abstract:return"abstract";case t._static:return"static";case t._public:return"public";case t._private:return"private";case t._protected:return"protected";case t._override:return"override";case t._as:return"as";case t._enum:return"enum";case t._type:return"type";case t._implements:return"implements";default:return""}}var Be=class{constructor(n,r,o){this.startTokenIndex=n,this.endTokenIndex=r,this.isFunctionScope=o}},ao=class{constructor(n,r,o,i,c,p,k,v,T,N,M,F,$){this.potentialArrowAt=n,this.noAnonFunctionType=r,this.inDisallowConditionalTypesContext=o,this.tokensLength=i,this.scopesLength=c,this.pos=p,this.type=k,this.contextualKeyword=v,this.start=T,this.end=N,this.isType=M,this.scopeDepth=F,this.error=$}},Ie=class{constructor(){Ie.prototype.__init.call(this),Ie.prototype.__init2.call(this),Ie.prototype.__init3.call(this),Ie.prototype.__init4.call(this),Ie.prototype.__init5.call(this),Ie.prototype.__init6.call(this),Ie.prototype.__init7.call(this),Ie.prototype.__init8.call(this),Ie.prototype.__init9.call(this),Ie.prototype.__init10.call(this),Ie.prototype.__init11.call(this),Ie.prototype.__init12.call(this),Ie.prototype.__init13.call(this)}__init(){this.potentialArrowAt=-1}__init2(){this.noAnonFunctionType=!1}__init3(){this.inDisallowConditionalTypesContext=!1}__init4(){this.tokens=[]}__init5(){this.scopes=[]}__init6(){this.pos=0}__init7(){this.type=t.eof}__init8(){this.contextualKeyword=l.NONE}__init9(){this.start=0}__init10(){this.end=0}__init11(){this.isType=!1}__init12(){this.scopeDepth=0}__init13(){this.error=null}snapshot(){return new ao(this.potentialArrowAt,this.noAnonFunctionType,this.inDisallowConditionalTypesContext,this.tokens.length,this.scopes.length,this.pos,this.type,this.contextualKeyword,this.start,this.end,this.isType,this.scopeDepth,this.error)}restoreFromSnapshot(n){this.potentialArrowAt=n.potentialArrowAt,this.noAnonFunctionType=n.noAnonFunctionType,this.inDisallowConditionalTypesContext=n.inDisallowConditionalTypesContext,this.tokens.length=n.tokensLength,this.scopes.length=n.scopesLength,this.pos=n.pos,this.type=n.type,this.contextualKeyword=n.contextualKeyword,this.start=n.start,this.end=n.end,this.isType=n.isType,this.scopeDepth=n.scopeDepth,this.error=n.error}},co=Ie;var u;(function(e){let n=8;e[e.backSpace=n]="backSpace";let r=10;e[e.lineFeed=r]="lineFeed";let o=9;e[e.tab=o]="tab";let i=13;e[e.carriageReturn=i]="carriageReturn";let c=14;e[e.shiftOut=c]="shiftOut";let p=32;e[e.space=p]="space";let k=33;e[e.exclamationMark=k]="exclamationMark";let v=34;e[e.quotationMark=v]="quotationMark";let T=35;e[e.numberSign=T]="numberSign";let N=36;e[e.dollarSign=N]="dollarSign";let M=37;e[e.percentSign=M]="percentSign";let F=38;e[e.ampersand=F]="ampersand";let $=39;e[e.apostrophe=$]="apostrophe";let J=40;e[e.leftParenthesis=J]="leftParenthesis";let y=41;e[e.rightParenthesis=y]="rightParenthesis";let I=42;e[e.asterisk=I]="asterisk";let g=43;e[e.plusSign=g]="plusSign";let R=44;e[e.comma=R]="comma";let x=45;e[e.dash=x]="dash";let b=46;e[e.dot=b]="dot";let h=47;e[e.slash=h]="slash";let A=48;e[e.digit0=A]="digit0";let w=49;e[e.digit1=w]="digit1";let H=50;e[e.digit2=H]="digit2";let B=51;e[e.digit3=B]="digit3";let V=52;e[e.digit4=V]="digit4";let fe=53;e[e.digit5=fe]="digit5";let he=54;e[e.digit6=he]="digit6";let Oe=55;e[e.digit7=Oe]="digit7";let Fe=56;e[e.digit8=Fe]="digit8";let we=57;e[e.digit9=we]="digit9";let Me=58;e[e.colon=Me]="colon";let ve=59;e[e.semicolon=ve]="semicolon";let Re=60;e[e.lessThan=Re]="lessThan";let ye=61;e[e.equalsTo=ye]="equalsTo";let Ce=62;e[e.greaterThan=Ce]="greaterThan";let Xe=63;e[e.questionMark=Xe]="questionMark";let Ze=64;e[e.atSign=Ze]="atSign";let Je=65;e[e.uppercaseA=Je]="uppercaseA";let ze=66;e[e.uppercaseB=ze]="uppercaseB";let et=67;e[e.uppercaseC=et]="uppercaseC";let Kt=68;e[e.uppercaseD=Kt]="uppercaseD";let S=69;e[e.uppercaseE=S]="uppercaseE";let _=70;e[e.uppercaseF=_]="uppercaseF";let C=71;e[e.uppercaseG=C]="uppercaseG";let P=72;e[e.uppercaseH=P]="uppercaseH";let Q=73;e[e.uppercaseI=Q]="uppercaseI";let j=74;e[e.uppercaseJ=j]="uppercaseJ";let W=75;e[e.uppercaseK=W]="uppercaseK";let se=76;e[e.uppercaseL=se]="uppercaseL";let Z=77;e[e.uppercaseM=Z]="uppercaseM";let te=78;e[e.uppercaseN=te]="uppercaseN";let me=79;e[e.uppercaseO=me]="uppercaseO";let le=80;e[e.uppercaseP=le]="uppercaseP";let xe=81;e[e.uppercaseQ=xe]="uppercaseQ";let _e=82;e[e.uppercaseR=_e]="uppercaseR";let Te=83;e[e.uppercaseS=Te]="uppercaseS";let je=84;e[e.uppercaseT=je]="uppercaseT";let Se=85;e[e.uppercaseU=Se]="uppercaseU";let It=86;e[e.uppercaseV=It]="uppercaseV";let Nt=87;e[e.uppercaseW=Nt]="uppercaseW";let Yt=88;e[e.uppercaseX=Yt]="uppercaseX";let Rt=89;e[e.uppercaseY=Rt]="uppercaseY";let bt=90;e[e.uppercaseZ=bt]="uppercaseZ";let Qe=91;e[e.leftSquareBracket=Qe]="leftSquareBracket";let dt=92;e[e.backslash=dt]="backslash";let Dt=93;e[e.rightSquareBracket=Dt]="rightSquareBracket";let Lt=94;e[e.caret=Lt]="caret";let Ot=95;e[e.underscore=Ot]="underscore";let or=96;e[e.graveAccent=or]="graveAccent";let ir=97;e[e.lowercaseA=ir]="lowercaseA";let ar=98;e[e.lowercaseB=ar]="lowercaseB";let cr=99;e[e.lowercaseC=cr]="lowercaseC";let lr=100;e[e.lowercaseD=lr]="lowercaseD";let ur=101;e[e.lowercaseE=ur]="lowercaseE";let pr=102;e[e.lowercaseF=pr]="lowercaseF";let fr=103;e[e.lowercaseG=fr]="lowercaseG";let hr=104;e[e.lowercaseH=hr]="lowercaseH";let mr=105;e[e.lowercaseI=mr]="lowercaseI";let dr=106;e[e.lowercaseJ=dr]="lowercaseJ";let kr=107;e[e.lowercaseK=kr]="lowercaseK";let gr=108;e[e.lowercaseL=gr]="lowercaseL";let xr=109;e[e.lowercaseM=xr]="lowercaseM";let _r=110;e[e.lowercaseN=_r]="lowercaseN";let yr=111;e[e.lowercaseO=yr]="lowercaseO";let Tr=112;e[e.lowercaseP=Tr]="lowercaseP";let Ir=113;e[e.lowercaseQ=Ir]="lowercaseQ";let br=114;e[e.lowercaseR=br]="lowercaseR";let wr=115;e[e.lowercaseS=wr]="lowercaseS";let Sr=116;e[e.lowercaseT=Sr]="lowercaseT";let Ar=117;e[e.lowercaseU=Ar]="lowercaseU";let Er=118;e[e.lowercaseV=Er]="lowercaseV";let vr=119;e[e.lowercaseW=vr]="lowercaseW";let Cr=120;e[e.lowercaseX=Cr]="lowercaseX";let Pr=121;e[e.lowercaseY=Pr]="lowercaseY";let Nr=122;e[e.lowercaseZ=Nr]="lowercaseZ";let Rr=123;e[e.leftCurlyBrace=Rr]="leftCurlyBrace";let Dr=124;e[e.verticalBar=Dr]="verticalBar";let Lr=125;e[e.rightCurlyBrace=Lr]="rightCurlyBrace";let Or=126;e[e.tilde=Or]="tilde";let Fr=160;e[e.nonBreakingSpace=Fr]="nonBreakingSpace";let Mr=5760;e[e.oghamSpaceMark=Mr]="oghamSpaceMark";let jr=8232;e[e.lineSeparator=jr]="lineSeparator";let Br=8233;e[e.paragraphSeparator=Br]="paragraphSeparator"})(u||(u={}));var Ft,K,Y,s,E,lo;function wt(){return lo++}function uo(e){if("pos"in e){let n=wa(e.pos);e.message+=` (${n.line}:${n.column})`,e.loc=n}return e}var po=class{constructor(n,r){this.line=n,this.column=r}};function wa(e){let n=1,r=1;for(let o=0;o<e;o++)E.charCodeAt(o)===u.lineFeed?(n++,r=1):r++;return new po(n,r)}function fo(e,n,r,o){E=e,s=new co,lo=1,Ft=n,K=r,Y=o}function L(e){return s.contextualKeyword===e}function Mt(e){let n=it();return n.type===t.name&&n.contextualKeyword===e}function ue(e){return s.contextualKeyword===e&&f(t.name)}function pe(e){ue(e)||z()}function be(){return a(t.eof)||a(t.braceR)||Ae()}function Ae(){let e=s.tokens[s.tokens.length-1],n=e?e.end:0;for(let r=n;r<s.start;r++){let o=E.charCodeAt(r);if(o===u.lineFeed||o===u.carriageReturn||o===8232||o===8233)return!0}return!1}function Tn(){let e=Zt();for(let n=s.end;n<e;n++){let r=E.charCodeAt(n);if(r===u.lineFeed||r===u.carriageReturn||r===8232||r===8233)return!0}return!1}function Ve(){return f(t.semi)||be()}function oe(){Ve()||z('Unexpected token, expected ";"')}function m(e){f(e)||z(`Unexpected token, expected "${$r(e)}"`)}function z(e="Unexpected token",n=s.start){if(s.error)return;let r=new SyntaxError(e);r.pos=n,s.error=r,s.pos=E.length,U(t.eof)}var Hr=[9,11,12,u.space,u.nonBreakingSpace,u.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],zr=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Vr=new Uint8Array(65536);for(let e of Hr)Vr[e]=1;function Sa(e){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var Pe=new Uint8Array(65536);for(let e=0;e<128;e++)Pe[e]=Sa(e)?1:0;for(let e=128;e<65536;e++)Pe[e]=1;for(let e of Hr)Pe[e]=0;Pe[8232]=0;Pe[8233]=0;var at=Pe.slice();for(let e=u.digit0;e<=u.digit9;e++)at[e]=0;var Ur=new Int32Array([-1,27,783,918,1755,2376,2862,3483,-1,3699,-1,4617,4752,4833,5130,5508,5940,-1,6480,6939,7749,8181,8451,8613,-1,8829,-1,-1,-1,54,243,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,432,-1,-1,-1,675,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,81,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,108,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,135,-1,-1,-1,-1,-1,-1,-1,-1,-1,162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,-1,-1,-1,-1,-1,-1,8883,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8910,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8937,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,(t._yield<<1)+1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);function Wr(){let e=0,n=0,r=s.pos;for(;r<E.length&&(n=E.charCodeAt(r),!(n<u.lowercaseA||n>u.lowercaseZ));){let i=Ur[e+(n-u.lowercaseA)+1];if(i===-1)break;e=i,r++}let o=Ur[e];if(o>-1&&!Pe[n]){s.pos=r,o&1?U(o>>>1):U(t.name,o>>>1);return}for(;r<E.length;){let i=E.charCodeAt(r);if(Pe[i])r++;else if(i===u.backslash){if(r+=2,E.charCodeAt(r)===u.leftCurlyBrace){for(;r<E.length&&E.charCodeAt(r)!==u.rightCurlyBrace;)r++;r++}}else if(i===u.atSign&&E.charCodeAt(r+1)===u.atSign)r+=2;else break}s.pos=r,U(t.name)}var D;(function(e){let n=0;e[e.Access=n]="Access";let r=n+1;e[e.ExportAccess=r]="ExportAccess";let o=r+1;e[e.TopLevelDeclaration=o]="TopLevelDeclaration";let i=o+1;e[e.FunctionScopedDeclaration=i]="FunctionScopedDeclaration";let c=i+1;e[e.BlockScopedDeclaration=c]="BlockScopedDeclaration";let p=c+1;e[e.ObjectShorthandTopLevelDeclaration=p]="ObjectShorthandTopLevelDeclaration";let k=p+1;e[e.ObjectShorthandFunctionScopedDeclaration=k]="ObjectShorthandFunctionScopedDeclaration";let v=k+1;e[e.ObjectShorthandBlockScopedDeclaration=v]="ObjectShorthandBlockScopedDeclaration";let T=v+1;e[e.ObjectShorthand=T]="ObjectShorthand";let N=T+1;e[e.ImportDeclaration=N]="ImportDeclaration";let M=N+1;e[e.ObjectKey=M]="ObjectKey";let F=M+1;e[e.ImportAccess=F]="ImportAccess"})(D||(D={}));var qe;(function(e){let n=0;e[e.NoChildren=n]="NoChildren";let r=n+1;e[e.OneChild=r]="OneChild";let o=r+1;e[e.StaticChildren=o]="StaticChildren";let i=o+1;e[e.KeyAfterPropSpread=i]="KeyAfterPropSpread"})(qe||(qe={}));function In(e){let n=e.identifierRole;return n===D.TopLevelDeclaration||n===D.FunctionScopedDeclaration||n===D.BlockScopedDeclaration||n===D.ObjectShorthandTopLevelDeclaration||n===D.ObjectShorthandFunctionScopedDeclaration||n===D.ObjectShorthandBlockScopedDeclaration}function ho(e){let n=e.identifierRole;return n===D.FunctionScopedDeclaration||n===D.BlockScopedDeclaration||n===D.ObjectShorthandFunctionScopedDeclaration||n===D.ObjectShorthandBlockScopedDeclaration}function bn(e){let n=e.identifierRole;return n===D.TopLevelDeclaration||n===D.ObjectShorthandTopLevelDeclaration||n===D.ImportDeclaration}function mo(e){let n=e.identifierRole;return n===D.TopLevelDeclaration||n===D.BlockScopedDeclaration||n===D.ObjectShorthandTopLevelDeclaration||n===D.ObjectShorthandBlockScopedDeclaration}function ko(e){let n=e.identifierRole;return n===D.FunctionScopedDeclaration||n===D.ObjectShorthandFunctionScopedDeclaration}function go(e){return e.identifierRole===D.ObjectShorthandTopLevelDeclaration||e.identifierRole===D.ObjectShorthandBlockScopedDeclaration||e.identifierRole===D.ObjectShorthandFunctionScopedDeclaration}var jt=class{constructor(){this.type=s.type,this.contextualKeyword=s.contextualKeyword,this.start=s.start,this.end=s.end,this.scopeDepth=s.scopeDepth,this.isType=s.isType,this.identifierRole=null,this.jsxRole=null,this.shadowsGlobal=!1,this.isAsyncOperation=!1,this.contextId=null,this.rhsEndIndex=null,this.isExpression=!1,this.numNullishCoalesceStarts=0,this.numNullishCoalesceEnds=0,this.isOptionalChainStart=!1,this.isOptionalChainEnd=!1,this.subscriptStartIndex=null,this.nullishStartIndex=null}};function d(){s.tokens.push(new jt),Gr()}function tt(){s.tokens.push(new jt),s.start=s.pos,Aa()}function xo(){s.type===t.assign&&--s.pos,Ea()}function G(e){for(let r=s.tokens.length-e;r<s.tokens.length;r++)s.tokens[r].isType=!0;let n=s.isType;return s.isType=!0,n}function X(e){s.isType=e}function f(e){return a(e)?(d(),!0):!1}function wn(e){let n=s.isType;s.isType=!0,f(e),s.isType=n}function a(e){return s.type===e}function ie(){let e=s.snapshot();d();let n=s.type;return s.restoreFromSnapshot(e),n}var _o=class{constructor(n,r){this.type=n,this.contextualKeyword=r}};function it(){let e=s.snapshot();d();let n=s.type,r=s.contextualKeyword;return s.restoreFromSnapshot(e),new _o(n,r)}function Zt(){return Xr(s.pos)}function Xr(e){zr.lastIndex=e;let n=zr.exec(E);return e+n[0].length}function Jr(){return E.charCodeAt(Zt())}function Gr(){if(Qr(),s.start=s.pos,s.pos>=E.length){let e=s.tokens;e.length>=2&&e[e.length-1].start>=E.length&&e[e.length-2].start>=E.length&&z("Unexpectedly reached the end of input."),U(t.eof);return}va(E.charCodeAt(s.pos))}function va(e){at[e]||e===u.backslash||e===u.atSign&&E.charCodeAt(s.pos+1)===u.atSign?Wr():Kr(e)}function Ca(){for(;E.charCodeAt(s.pos)!==u.asterisk||E.charCodeAt(s.pos+1)!==u.slash;)if(s.pos++,s.pos>E.length){z("Unterminated comment",s.pos-2);return}s.pos+=2}function Yr(e){let n=E.charCodeAt(s.pos+=e);if(s.pos<E.length)for(;n!==u.lineFeed&&n!==u.carriageReturn&&n!==u.lineSeparator&&n!==u.paragraphSeparator&&++s.pos<E.length;)n=E.charCodeAt(s.pos)}function Qr(){for(;s.pos<E.length;){let e=E.charCodeAt(s.pos);switch(e){case u.carriageReturn:E.charCodeAt(s.pos+1)===u.lineFeed&&++s.pos;case u.lineFeed:case u.lineSeparator:case u.paragraphSeparator:++s.pos;break;case u.slash:switch(E.charCodeAt(s.pos+1)){case u.asterisk:s.pos+=2,Ca();break;case u.slash:Yr(2);break;default:return}break;default:if(Vr[e])++s.pos;else return}}}function U(e,n=l.NONE){s.end=s.pos,s.type=e,s.contextualKeyword=n}function Pa(){let e=E.charCodeAt(s.pos+1);if(e>=u.digit0&&e<=u.digit9){yo(!0);return}e===u.dot&&E.charCodeAt(s.pos+2)===u.dot?(s.pos+=3,U(t.ellipsis)):(++s.pos,U(t.dot))}function Na(){E.charCodeAt(s.pos+1)===u.equalsTo?ne(t.assign,2):ne(t.slash,1)}function Ra(e){let n=e===u.asterisk?t.star:t.modulo,r=1,o=E.charCodeAt(s.pos+1);e===u.asterisk&&o===u.asterisk&&(r++,o=E.charCodeAt(s.pos+2),n=t.exponent),o===u.equalsTo&&E.charCodeAt(s.pos+2)!==u.greaterThan&&(r++,n=t.assign),ne(n,r)}function Da(e){let n=E.charCodeAt(s.pos+1);if(n===e){E.charCodeAt(s.pos+2)===u.equalsTo?ne(t.assign,3):ne(e===u.verticalBar?t.logicalOR:t.logicalAND,2);return}if(e===u.verticalBar){if(n===u.greaterThan){ne(t.pipeline,2);return}else if(n===u.rightCurlyBrace&&Y){ne(t.braceBarR,2);return}}if(n===u.equalsTo){ne(t.assign,2);return}ne(e===u.verticalBar?t.bitwiseOR:t.bitwiseAND,1)}function La(){E.charCodeAt(s.pos+1)===u.equalsTo?ne(t.assign,2):ne(t.bitwiseXOR,1)}function Oa(e){let n=E.charCodeAt(s.pos+1);if(n===e){ne(t.preIncDec,2);return}n===u.equalsTo?ne(t.assign,2):e===u.plusSign?ne(t.plus,1):ne(t.minus,1)}function Fa(){let e=E.charCodeAt(s.pos+1);if(e===u.lessThan){if(E.charCodeAt(s.pos+2)===u.equalsTo){ne(t.assign,3);return}s.isType?ne(t.lessThan,1):ne(t.bitShiftL,2);return}e===u.equalsTo?ne(t.relationalOrEqual,2):ne(t.lessThan,1)}function To(){if(s.isType){ne(t.greaterThan,1);return}let e=E.charCodeAt(s.pos+1);if(e===u.greaterThan){let n=E.charCodeAt(s.pos+2)===u.greaterThan?3:2;if(E.charCodeAt(s.pos+n)===u.equalsTo){ne(t.assign,n+1);return}ne(t.bitShiftR,n);return}e===u.equalsTo?ne(t.relationalOrEqual,2):ne(t.greaterThan,1)}function Io(){s.type===t.greaterThan&&(s.pos-=1,To())}function Ma(e){let n=E.charCodeAt(s.pos+1);if(n===u.equalsTo){ne(t.equality,E.charCodeAt(s.pos+2)===u.equalsTo?3:2);return}if(e===u.equalsTo&&n===u.greaterThan){s.pos+=2,U(t.arrow);return}ne(e===u.equalsTo?t.eq:t.bang,1)}function ja(){let e=E.charCodeAt(s.pos+1),n=E.charCodeAt(s.pos+2);e===u.questionMark&&!(Y&&s.isType)?n===u.equalsTo?ne(t.assign,3):ne(t.nullishCoalescing,2):e===u.dot&&!(n>=u.digit0&&n<=u.digit9)?(s.pos+=2,U(t.questionDot)):(++s.pos,U(t.question))}function Kr(e){switch(e){case u.numberSign:++s.pos,U(t.hash);return;case u.dot:Pa();return;case u.leftParenthesis:++s.pos,U(t.parenL);return;case u.rightParenthesis:++s.pos,U(t.parenR);return;case u.semicolon:++s.pos,U(t.semi);return;case u.comma:++s.pos,U(t.comma);return;case u.leftSquareBracket:++s.pos,U(t.bracketL);return;case u.rightSquareBracket:++s.pos,U(t.bracketR);return;case u.leftCurlyBrace:Y&&E.charCodeAt(s.pos+1)===u.verticalBar?ne(t.braceBarL,2):(++s.pos,U(t.braceL));return;case u.rightCurlyBrace:++s.pos,U(t.braceR);return;case u.colon:E.charCodeAt(s.pos+1)===u.colon?ne(t.doubleColon,2):(++s.pos,U(t.colon));return;case u.questionMark:ja();return;case u.atSign:++s.pos,U(t.at);return;case u.graveAccent:++s.pos,U(t.backQuote);return;case u.digit0:{let n=E.charCodeAt(s.pos+1);if(n===u.lowercaseX||n===u.uppercaseX||n===u.lowercaseO||n===u.uppercaseO||n===u.lowercaseB||n===u.uppercaseB){Ba();return}}case u.digit1:case u.digit2:case u.digit3:case u.digit4:case u.digit5:case u.digit6:case u.digit7:case u.digit8:case u.digit9:yo(!1);return;case u.quotationMark:case u.apostrophe:qa(e);return;case u.slash:Na();return;case u.percentSign:case u.asterisk:Ra(e);return;case u.verticalBar:case u.ampersand:Da(e);return;case u.caret:La();return;case u.plusSign:case u.dash:Oa(e);return;case u.lessThan:Fa();return;case u.greaterThan:To();return;case u.equalsTo:case u.exclamationMark:Ma(e);return;case u.tilde:ne(t.tilde,1);return;default:break}z(`Unexpected character '${String.fromCharCode(e)}'`,s.pos)}function ne(e,n){s.pos+=n,U(e)}function Ea(){let e=s.pos,n=!1,r=!1;for(;;){if(s.pos>=E.length){z("Unterminated regular expression",e);return}let o=E.charCodeAt(s.pos);if(n)n=!1;else{if(o===u.leftSquareBracket)r=!0;else if(o===u.rightSquareBracket&&r)r=!1;else if(o===u.slash&&!r)break;n=o===u.backslash}++s.pos}++s.pos,$a(),U(t.regexp)}function Zr(){for(;;){let e=E.charCodeAt(s.pos);if(e>=u.digit0&&e<=u.digit9||e===u.underscore)s.pos++;else break}}function Ba(){for(s.pos+=2;;){let n=E.charCodeAt(s.pos);if(n>=u.digit0&&n<=u.digit9||n>=u.lowercaseA&&n<=u.lowercaseF||n>=u.uppercaseA&&n<=u.uppercaseF||n===u.underscore)s.pos++;else break}E.charCodeAt(s.pos)===u.lowercaseN?(++s.pos,U(t.bigint)):U(t.num)}function yo(e){let n=!1,r=!1;e||Zr();let o=E.charCodeAt(s.pos);if(o===u.dot&&(++s.pos,Zr(),o=E.charCodeAt(s.pos)),(o===u.uppercaseE||o===u.lowercaseE)&&(o=E.charCodeAt(++s.pos),(o===u.plusSign||o===u.dash)&&++s.pos,Zr(),o=E.charCodeAt(s.pos)),o===u.lowercaseN?(++s.pos,n=!0):o===u.lowercaseM&&(++s.pos,r=!0),n){U(t.bigint);return}if(r){U(t.decimal);return}U(t.num)}function qa(e){for(s.pos++;;){if(s.pos>=E.length){z("Unterminated string constant");return}let n=E.charCodeAt(s.pos);if(n===u.backslash)s.pos++;else if(n===e)break;s.pos++}s.pos++,U(t.string)}function Aa(){for(;;){if(s.pos>=E.length){z("Unterminated template");return}let e=E.charCodeAt(s.pos);if(e===u.graveAccent||e===u.dollarSign&&E.charCodeAt(s.pos+1)===u.leftCurlyBrace){if(s.pos===s.start&&a(t.template))if(e===u.dollarSign){s.pos+=2,U(t.dollarBraceL);return}else{++s.pos,U(t.backQuote);return}U(t.template);return}e===u.backslash&&s.pos++,s.pos++}}function $a(){for(;s.pos<E.length;){let e=E.charCodeAt(s.pos);if(Pe[e])s.pos++;else if(e===u.backslash){if(s.pos+=2,E.charCodeAt(s.pos)===u.leftCurlyBrace){for(;s.pos<E.length&&E.charCodeAt(s.pos)!==u.rightCurlyBrace;)s.pos++;s.pos++}}else break}}function nt(e,n=e.currentIndex()){let r=n+1;if(Sn(e,r)){let o=e.identifierNameAtIndex(n);return{isType:!1,leftName:o,rightName:o,endIndex:r}}if(r++,Sn(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};if(r++,Sn(e,r))return{isType:!1,leftName:e.identifierNameAtIndex(n),rightName:e.identifierNameAtIndex(n+2),endIndex:r};if(r++,Sn(e,r))return{isType:!0,leftName:null,rightName:null,endIndex:r};throw new Error(`Unexpected import/export specifier at ${n}`)}function Sn(e,n){let r=e.tokens[n];return r.type===t.braceR||r.type===t.comma}var bo=new Map([["quot",'"'],["amp","&"],["apos","'"],["lt","<"],["gt",">"],["nbsp","\xA0"],["iexcl","\xA1"],["cent","\xA2"],["pound","\xA3"],["curren","\xA4"],["yen","\xA5"],["brvbar","\xA6"],["sect","\xA7"],["uml","\xA8"],["copy","\xA9"],["ordf","\xAA"],["laquo","\xAB"],["not","\xAC"],["shy","\xAD"],["reg","\xAE"],["macr","\xAF"],["deg","\xB0"],["plusmn","\xB1"],["sup2","\xB2"],["sup3","\xB3"],["acute","\xB4"],["micro","\xB5"],["para","\xB6"],["middot","\xB7"],["cedil","\xB8"],["sup1","\xB9"],["ordm","\xBA"],["raquo","\xBB"],["frac14","\xBC"],["frac12","\xBD"],["frac34","\xBE"],["iquest","\xBF"],["Agrave","\xC0"],["Aacute","\xC1"],["Acirc","\xC2"],["Atilde","\xC3"],["Auml","\xC4"],["Aring","\xC5"],["AElig","\xC6"],["Ccedil","\xC7"],["Egrave","\xC8"],["Eacute","\xC9"],["Ecirc","\xCA"],["Euml","\xCB"],["Igrave","\xCC"],["Iacute","\xCD"],["Icirc","\xCE"],["Iuml","\xCF"],["ETH","\xD0"],["Ntilde","\xD1"],["Ograve","\xD2"],["Oacute","\xD3"],["Ocirc","\xD4"],["Otilde","\xD5"],["Ouml","\xD6"],["times","\xD7"],["Oslash","\xD8"],["Ugrave","\xD9"],["Uacute","\xDA"],["Ucirc","\xDB"],["Uuml","\xDC"],["Yacute","\xDD"],["THORN","\xDE"],["szlig","\xDF"],["agrave","\xE0"],["aacute","\xE1"],["acirc","\xE2"],["atilde","\xE3"],["auml","\xE4"],["aring","\xE5"],["aelig","\xE6"],["ccedil","\xE7"],["egrave","\xE8"],["eacute","\xE9"],["ecirc","\xEA"],["euml","\xEB"],["igrave","\xEC"],["iacute","\xED"],["icirc","\xEE"],["iuml","\xEF"],["eth","\xF0"],["ntilde","\xF1"],["ograve","\xF2"],["oacute","\xF3"],["ocirc","\xF4"],["otilde","\xF5"],["ouml","\xF6"],["divide","\xF7"],["oslash","\xF8"],["ugrave","\xF9"],["uacute","\xFA"],["ucirc","\xFB"],["uuml","\xFC"],["yacute","\xFD"],["thorn","\xFE"],["yuml","\xFF"],["OElig","\u0152"],["oelig","\u0153"],["Scaron","\u0160"],["scaron","\u0161"],["Yuml","\u0178"],["fnof","\u0192"],["circ","\u02C6"],["tilde","\u02DC"],["Alpha","\u0391"],["Beta","\u0392"],["Gamma","\u0393"],["Delta","\u0394"],["Epsilon","\u0395"],["Zeta","\u0396"],["Eta","\u0397"],["Theta","\u0398"],["Iota","\u0399"],["Kappa","\u039A"],["Lambda","\u039B"],["Mu","\u039C"],["Nu","\u039D"],["Xi","\u039E"],["Omicron","\u039F"],["Pi","\u03A0"],["Rho","\u03A1"],["Sigma","\u03A3"],["Tau","\u03A4"],["Upsilon","\u03A5"],["Phi","\u03A6"],["Chi","\u03A7"],["Psi","\u03A8"],["Omega","\u03A9"],["alpha","\u03B1"],["beta","\u03B2"],["gamma","\u03B3"],["delta","\u03B4"],["epsilon","\u03B5"],["zeta","\u03B6"],["eta","\u03B7"],["theta","\u03B8"],["iota","\u03B9"],["kappa","\u03BA"],["lambda","\u03BB"],["mu","\u03BC"],["nu","\u03BD"],["xi","\u03BE"],["omicron","\u03BF"],["pi","\u03C0"],["rho","\u03C1"],["sigmaf","\u03C2"],["sigma","\u03C3"],["tau","\u03C4"],["upsilon","\u03C5"],["phi","\u03C6"],["chi","\u03C7"],["psi","\u03C8"],["omega","\u03C9"],["thetasym","\u03D1"],["upsih","\u03D2"],["piv","\u03D6"],["ensp","\u2002"],["emsp","\u2003"],["thinsp","\u2009"],["zwnj","\u200C"],["zwj","\u200D"],["lrm","\u200E"],["rlm","\u200F"],["ndash","\u2013"],["mdash","\u2014"],["lsquo","\u2018"],["rsquo","\u2019"],["sbquo","\u201A"],["ldquo","\u201C"],["rdquo","\u201D"],["bdquo","\u201E"],["dagger","\u2020"],["Dagger","\u2021"],["bull","\u2022"],["hellip","\u2026"],["permil","\u2030"],["prime","\u2032"],["Prime","\u2033"],["lsaquo","\u2039"],["rsaquo","\u203A"],["oline","\u203E"],["frasl","\u2044"],["euro","\u20AC"],["image","\u2111"],["weierp","\u2118"],["real","\u211C"],["trade","\u2122"],["alefsym","\u2135"],["larr","\u2190"],["uarr","\u2191"],["rarr","\u2192"],["darr","\u2193"],["harr","\u2194"],["crarr","\u21B5"],["lArr","\u21D0"],["uArr","\u21D1"],["rArr","\u21D2"],["dArr","\u21D3"],["hArr","\u21D4"],["forall","\u2200"],["part","\u2202"],["exist","\u2203"],["empty","\u2205"],["nabla","\u2207"],["isin","\u2208"],["notin","\u2209"],["ni","\u220B"],["prod","\u220F"],["sum","\u2211"],["minus","\u2212"],["lowast","\u2217"],["radic","\u221A"],["prop","\u221D"],["infin","\u221E"],["ang","\u2220"],["and","\u2227"],["or","\u2228"],["cap","\u2229"],["cup","\u222A"],["int","\u222B"],["there4","\u2234"],["sim","\u223C"],["cong","\u2245"],["asymp","\u2248"],["ne","\u2260"],["equiv","\u2261"],["le","\u2264"],["ge","\u2265"],["sub","\u2282"],["sup","\u2283"],["nsub","\u2284"],["sube","\u2286"],["supe","\u2287"],["oplus","\u2295"],["otimes","\u2297"],["perp","\u22A5"],["sdot","\u22C5"],["lceil","\u2308"],["rceil","\u2309"],["lfloor","\u230A"],["rfloor","\u230B"],["lang","\u2329"],["rang","\u232A"],["loz","\u25CA"],["spades","\u2660"],["clubs","\u2663"],["hearts","\u2665"],["diams","\u2666"]]);function en(e){let[n,r]=wo(e.jsxPragma||"React.createElement"),[o,i]=wo(e.jsxFragmentPragma||"React.Fragment");return{base:n,suffix:r,fragmentBase:o,fragmentSuffix:i}}function wo(e){let n=e.indexOf(".");return n===-1&&(n=e.length),[e.slice(0,n),e.slice(n)]}var es=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}},de=es;var ct=class extends de{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(n,r,o,i,c){super();this.rootTransformer=n,this.tokens=r,this.importProcessor=o,this.nameManager=i,this.options=c,ct.prototype.__init.call(this),ct.prototype.__init2.call(this),ct.prototype.__init3.call(this),ct.prototype.__init4.call(this),ct.prototype.__init5.call(this),this.jsxPragmaInfo=en(c),this.isAutomaticRuntime=c.jsxRuntime==="automatic",this.jsxImportSource=c.jsxImportSource||"react"}process(){return this.tokens.matches1(t.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let n="";if(this.filenameVarName&&(n+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[r,o]of Object.entries(this.cjsAutomaticModuleNameResolutions))n+=`var ${o} = require("${r}");`;else{let{createElement:r,...o}=this.esmAutomaticImportNameResolutions;r&&(n+=`import {createElement as ${r}} from "${this.jsxImportSource}";`);let i=Object.entries(o).map(([c,p])=>`${c} as ${p}`).join(", ");if(i){let c=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");n+=`import {${i}} from "${c}";`}}return n}processJSXTag(){let{jsxRole:n,start:r}=this.tokens.currentToken(),o=this.options.production?null:this.getElementLocationCode(r);this.isAutomaticRuntime&&n!==qe.KeyAfterPropSpread?this.transformTagToJSXFunc(o,n):this.transformTagToCreateElement(o)}getElementLocationCode(n){return`lineNumber: ${this.getLineNumberForIndex(n)}`}getLineNumberForIndex(n){let r=this.tokens.code;for(;this.lastIndex<n&&this.lastIndex<r.length;)r[this.lastIndex]===`
2
+ `&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(n,r){let o=r===qe.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(o));let i=null;if(this.tokens.matches1(t.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(r);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),i=this.processProps(!0),this.tokens.matches2(t.slash,t.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(t.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(r);else throw new Error("Expected either /> or > at the end of the tag.");i&&this.tokens.appendCode(`, ${i}`)}for(this.options.production||(i===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${o}, ${this.getDevSource(n)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(t.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(n){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(t.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(n),!this.tokens.matches2(t.slash,t.jsxTagEnd))if(this.tokens.matches1(t.jsxTagEnd))this.tokens.removeToken(),this.processChildren(!0);else throw new Error("Expected either /> or > at the end of the tag.");for(this.tokens.removeInitialToken();!this.tokens.matches1(t.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(n){return this.options.production?n?this.claimAutoImportedFuncInvocation("jsxs","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsx","/jsx-runtime"):this.claimAutoImportedFuncInvocation("jsxDEV","/jsx-dev-runtime")}getCreateElementInvocationCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedFuncInvocation("createElement","");{let{jsxPragmaInfo:n}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.base)||n.base}${n.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:n}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(n.fragmentBase)||n.fragmentBase)+n.fragmentSuffix}}claimAutoImportedFuncInvocation(n,r){let o=this.claimAutoImportedName(n,r);return this.importProcessor?`${o}.call(void 0, `:`${o}(`}claimAutoImportedName(n,r){if(this.importProcessor){let o=this.jsxImportSource+r;return this.cjsAutomaticModuleNameResolutions[o]||(this.cjsAutomaticModuleNameResolutions[o]=this.importProcessor.getFreeIdentifierForPath(o)),`${this.cjsAutomaticModuleNameResolutions[o]}.${n}`}else return this.esmAutomaticImportNameResolutions[n]||(this.esmAutomaticImportNameResolutions[n]=this.nameManager.claimFreeName(`_${n}`)),this.esmAutomaticImportNameResolutions[n]}processTagIntro(){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType||!this.tokens.matches2AtIndex(n-1,t.jsxName,t.jsxName)&&!this.tokens.matches2AtIndex(n-1,t.greaterThan,t.jsxName)&&!this.tokens.matches1AtIndex(n,t.braceL)&&!this.tokens.matches1AtIndex(n,t.jsxTagEnd)&&!this.tokens.matches2AtIndex(n,t.slash,t.jsxTagEnd);)n++;if(n===this.tokens.currentIndex()+1){let r=this.tokens.identifierName();ts(r)&&this.tokens.replaceToken(`'${r}'`)}for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(n){let r=this.options.production?"":`__self: this, __source: ${this.getDevSource(n)}`;if(!this.tokens.matches1(t.jsxName)&&!this.tokens.matches1(t.braceL)){r?this.tokens.appendCode(`, {${r}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),r?this.tokens.appendCode(` ${r}}`):this.tokens.appendCode("}")}processProps(n){let r=null;for(;;){if(this.tokens.matches2(t.jsxName,t.eq)){let o=this.tokens.identifierName();if(n&&o==="key"){r!==null&&this.tokens.appendCode(r.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let i=this.tokens.snapshot();this.processPropValue(),r=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(i);continue}else this.processPropName(o),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(t.jsxName)){let o=this.tokens.identifierName();this.processPropName(o),this.tokens.appendCode(": true")}else if(this.tokens.matches1(t.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return r}processPropName(n){n.includes("-")?this.tokens.replaceToken(`'${n}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(t.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(t.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let n=this.tokens.currentToken(),r=this.tokens.code.slice(n.start+1,n.end-1),o=So(r),i=za(r);this.tokens.replaceToken(i+o)}processAutomaticChildrenAndEndProps(n){n===qe.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(n===qe.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(n){let r=n;for(;;){if(this.tokens.matches2(t.jsxTagStart,t.slash))return;let o=!1;if(this.tokens.matches1(t.braceL))this.tokens.matches2(t.braceL,t.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(r?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),o=!0);else if(this.tokens.matches1(t.jsxTagStart))this.tokens.appendCode(r?", ":""),this.processJSXTag(),o=!0;else if(this.tokens.matches1(t.jsxText)||this.tokens.matches1(t.jsxEmptyText))o=this.processChildTextElement(r);else throw new Error("Unexpected token when processing JSX children.");o&&(r=!0)}}processChildTextElement(n){let r=this.tokens.currentToken(),o=this.tokens.code.slice(r.start,r.end),i=So(o),c=Ha(o);return c==='""'?(this.tokens.replaceToken(i),!1):(this.tokens.replaceToken(`${n?", ":""}${c}${i}`),!0)}getDevSource(n){return`{fileName: ${this.getFilenameVarName()}, ${n}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}},Ao=ct;function ts(e){let n=e.charCodeAt(0);return n>=u.lowercaseA&&n<=u.lowercaseZ}function Ha(e){let n="",r="",o=!1,i=!1;for(let c=0;c<e.length;c++){let p=e[c];if(p===" "||p===" "||p==="\r")o||(r+=p);else if(p===`
3
+ `)r="",o=!0;else{if(i&&o&&(n+=" "),n+=r,r="",p==="&"){let{entity:k,newI:v}=Eo(e,c+1);c=v-1,n+=k}else n+=p;i=!0,o=!1}}return o||(n+=r),JSON.stringify(n)}function So(e){let n=0,r=0;for(let o of e)o===`
4
+ `?(n++,r=0):o===" "&&r++;return`
5
+ `.repeat(n)+" ".repeat(r)}function za(e){let n="";for(let r=0;r<e.length;r++){let o=e[r];if(o===`
6
+ `)if(/\s/.test(e[r+1]))for(n+=" ";r<e.length&&/\s/.test(e[r+1]);)r++;else n+=`
7
+ `;else if(o==="&"){let{entity:i,newI:c}=Eo(e,r+1);n+=i,r=c-1}else n+=o}return JSON.stringify(n)}function Eo(e,n){let r="",o=0,i,c=n;if(e[c]==="#"){let p=10;c++;let k;if(e[c]==="x")for(p=16,c++,k=c;c<e.length&&Ua(e.charCodeAt(c));)c++;else for(k=c;c<e.length&&Va(e.charCodeAt(c));)c++;if(e[c]===";"){let v=e.slice(k,c);v&&(c++,i=String.fromCodePoint(parseInt(v,p)))}}else for(;c<e.length&&o++<10;){let p=e[c];if(c++,p===";"){i=bo.get(r);break}r+=p}return i?{entity:i,newI:c}:{entity:"&",newI:n}}function Va(e){return e>=u.digit0&&e<=u.digit9}function Ua(e){return e>=u.digit0&&e<=u.digit9||e>=u.lowercaseA&&e<=u.lowercaseF||e>=u.uppercaseA&&e<=u.uppercaseF}function An(e,n){let r=en(n),o=new Set;for(let i=0;i<e.tokens.length;i++){let c=e.tokens[i];if(c.type===t.name&&!c.isType&&(c.identifierRole===D.Access||c.identifierRole===D.ObjectShorthand||c.identifierRole===D.ExportAccess)&&!c.shadowsGlobal&&o.add(e.identifierNameForToken(c)),c.type===t.jsxTagStart&&o.add(r.base),c.type===t.jsxTagStart&&i+1<e.tokens.length&&e.tokens[i+1].type===t.jsxTagEnd&&(o.add(r.base),o.add(r.fragmentBase)),c.type===t.jsxName&&c.identifierRole===D.Access){let p=e.identifierNameForToken(c);(!ts(p)||e.tokens[i+1].type===t.dot)&&o.add(e.identifierNameForToken(c))}}return o}var lt=class{__init(){this.nonTypeIdentifiers=new Set}__init2(){this.importInfoByPath=new Map}__init3(){this.importsToReplace=new Map}__init4(){this.identifierReplacements=new Map}__init5(){this.exportBindingsByLocalName=new Map}constructor(n,r,o,i,c,p){this.nameManager=n,this.tokens=r,this.enableLegacyTypeScriptModuleInterop=o,this.options=i,this.isTypeScriptTransformEnabled=c,this.helperManager=p,lt.prototype.__init.call(this),lt.prototype.__init2.call(this),lt.prototype.__init3.call(this),lt.prototype.__init4.call(this),lt.prototype.__init5.call(this)}preprocessTokens(){for(let n=0;n<this.tokens.tokens.length;n++)this.tokens.matches1AtIndex(n,t._import)&&!this.tokens.matches3AtIndex(n,t._import,t.name,t.eq)&&this.preprocessImportAtIndex(n),this.tokens.matches1AtIndex(n,t._export)&&!this.tokens.matches2AtIndex(n,t._export,t.eq)&&this.preprocessExportAtIndex(n);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=An(this.tokens,this.options);for(let[n,r]of this.importInfoByPath.entries()){if(r.hasBareImport||r.hasStarExport||r.exportStarNames.length>0||r.namedExports.length>0)continue;[...r.defaultNames,...r.wildcardNames,...r.namedImports.map(({localName:i})=>i)].every(i=>this.isTypeName(i))&&this.importsToReplace.set(n,"")}}isTypeName(n){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(n)}generateImportReplacements(){for(let[n,r]of this.importInfoByPath.entries()){let{defaultNames:o,wildcardNames:i,namedImports:c,namedExports:p,exportStarNames:k,hasStarExport:v}=r;if(o.length===0&&i.length===0&&c.length===0&&p.length===0&&k.length===0&&!v){this.importsToReplace.set(n,`require('${n}');`);continue}let T=this.getFreeIdentifierForPath(n),N;this.enableLegacyTypeScriptModuleInterop?N=T:N=i.length>0?i[0]:this.getFreeIdentifierForPath(n);let M=`var ${T} = require('${n}');`;if(i.length>0)for(let F of i){let $=this.enableLegacyTypeScriptModuleInterop?T:`${this.helperManager.getHelperName("interopRequireWildcard")}(${T})`;M+=` var ${F} = ${$};`}else k.length>0&&N!==T?M+=` var ${N} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${T});`:o.length>0&&N!==T&&(M+=` var ${N} = ${this.helperManager.getHelperName("interopRequireDefault")}(${T});`);for(let{importedName:F,localName:$}of p)M+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${T}, '${$}', '${F}');`;for(let F of k)M+=` exports.${F} = ${N};`;v&&(M+=` ${this.helperManager.getHelperName("createStarExport")}(${T});`),this.importsToReplace.set(n,M);for(let F of o)this.identifierReplacements.set(F,`${N}.default`);for(let{importedName:F,localName:$}of c)this.identifierReplacements.set($,`${T}.${F}`)}}getFreeIdentifierForPath(n){let r=n.split("/"),i=r[r.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${i}`)}preprocessImportAtIndex(n){let r=[],o=[],i=[];if(n++,(this.tokens.matchesContextualAtIndex(n,l._type)||this.tokens.matches1AtIndex(n,t._typeof))&&!this.tokens.matches1AtIndex(n+1,t.comma)&&!this.tokens.matchesContextualAtIndex(n+1,l._from)||this.tokens.matches1AtIndex(n,t.parenL))return;if(this.tokens.matches1AtIndex(n,t.name)&&(r.push(this.tokens.identifierNameAtIndex(n)),n++,this.tokens.matches1AtIndex(n,t.comma)&&n++),this.tokens.matches1AtIndex(n,t.star)&&(n+=2,o.push(this.tokens.identifierNameAtIndex(n)),n++),this.tokens.matches1AtIndex(n,t.braceL)){let k=this.getNamedImports(n+1);n=k.newIndex;for(let v of k.namedImports)v.importedName==="default"?r.push(v.localName):i.push(v)}if(this.tokens.matchesContextualAtIndex(n,l._from)&&n++,!this.tokens.matches1AtIndex(n,t.string))throw new Error("Expected string token at the end of import statement.");let c=this.tokens.stringValueAtIndex(n),p=this.getImportInfo(c);p.defaultNames.push(...r),p.wildcardNames.push(...o),p.namedImports.push(...i),r.length===0&&o.length===0&&i.length===0&&(p.hasBareImport=!0)}preprocessExportAtIndex(n){if(this.tokens.matches2AtIndex(n,t._export,t._var)||this.tokens.matches2AtIndex(n,t._export,t._let)||this.tokens.matches2AtIndex(n,t._export,t._const))this.preprocessVarExportAtIndex(n);else if(this.tokens.matches2AtIndex(n,t._export,t._function)||this.tokens.matches2AtIndex(n,t._export,t._class)){let r=this.tokens.identifierNameAtIndex(n+2);this.addExportBinding(r,r)}else if(this.tokens.matches3AtIndex(n,t._export,t.name,t._function)){let r=this.tokens.identifierNameAtIndex(n+3);this.addExportBinding(r,r)}else this.tokens.matches2AtIndex(n,t._export,t.braceL)?this.preprocessNamedExportAtIndex(n):this.tokens.matches2AtIndex(n,t._export,t.star)&&this.preprocessExportStarAtIndex(n)}preprocessVarExportAtIndex(n){let r=0;for(let o=n+2;;o++)if(this.tokens.matches1AtIndex(o,t.braceL)||this.tokens.matches1AtIndex(o,t.dollarBraceL)||this.tokens.matches1AtIndex(o,t.bracketL))r++;else if(this.tokens.matches1AtIndex(o,t.braceR)||this.tokens.matches1AtIndex(o,t.bracketR))r--;else{if(r===0&&!this.tokens.matches1AtIndex(o,t.name))break;if(this.tokens.matches1AtIndex(1,t.eq)){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected = token with an end index.");o=i-1}else{let i=this.tokens.tokens[o];if(In(i)){let c=this.tokens.identifierNameAtIndex(o);this.identifierReplacements.set(c,`exports.${c}`)}}}}preprocessNamedExportAtIndex(n){n+=2;let{newIndex:r,namedImports:o}=this.getNamedImports(n);if(n=r,this.tokens.matchesContextualAtIndex(n,l._from))n++;else{for(let{importedName:p,localName:k}of o)this.addExportBinding(p,k);return}if(!this.tokens.matches1AtIndex(n,t.string))throw new Error("Expected string token at the end of import statement.");let i=this.tokens.stringValueAtIndex(n);this.getImportInfo(i).namedExports.push(...o)}preprocessExportStarAtIndex(n){let r=null;if(this.tokens.matches3AtIndex(n,t._export,t.star,t._as)?(n+=3,r=this.tokens.identifierNameAtIndex(n),n+=2):n+=3,!this.tokens.matches1AtIndex(n,t.string))throw new Error("Expected string token at the end of star export statement.");let o=this.tokens.stringValueAtIndex(n),i=this.getImportInfo(o);r!==null?i.exportStarNames.push(r):i.hasStarExport=!0}getNamedImports(n){let r=[];for(;;){if(this.tokens.matches1AtIndex(n,t.braceR)){n++;break}let o=nt(this.tokens,n);if(n=o.endIndex,o.isType||r.push({importedName:o.leftName,localName:o.rightName}),this.tokens.matches2AtIndex(n,t.comma,t.braceR)){n+=2;break}else if(this.tokens.matches1AtIndex(n,t.braceR)){n++;break}else if(this.tokens.matches1AtIndex(n,t.comma))n++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[n])}`)}return{newIndex:n,namedImports:r}}getImportInfo(n){let r=this.importInfoByPath.get(n);if(r)return r;let o={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(n,o),o}addExportBinding(n,r){this.exportBindingsByLocalName.has(n)||this.exportBindingsByLocalName.set(n,[]),this.exportBindingsByLocalName.get(n).push(r)}claimImportCode(n){let r=this.importsToReplace.get(n);return this.importsToReplace.set(n,""),r||""}getIdentifierReplacement(n){return this.identifierReplacements.get(n)||null}resolveExportBinding(n){let r=this.exportBindingsByLocalName.get(n);return!r||r.length===0?null:r.map(o=>`exports.${o}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}},vo=lt;var kt=qr(Bo());function ss({code:e,mappings:n},r,o,i,c){let p=Wa(i,c),k=new kt.GenMapping({file:o.compiledFilename}),v=0,T=n[0];for(;T===void 0&&v<n.length-1;)v++,T=n[v];let N=0,M=0;T!==M&&(0,kt.maybeAddSegment)(k,N,0,r,N,0);for(let y=0;y<e.length;y++){if(y===T){let I=T-M,g=p[v];for((0,kt.maybeAddSegment)(k,N,I,r,N,g);(T===y||T===void 0)&&v<n.length-1;)v++,T=n[v]}e.charCodeAt(y)===u.lineFeed&&(N++,M=y+1,T!==M&&(0,kt.maybeAddSegment)(k,N,0,r,N,0))}let{sourceRoot:F,sourcesContent:$,...J}=(0,kt.toEncodedMap)(k);return J}function Wa(e,n){let r=new Array(n.length),o=0,i=n[o].start,c=0;for(let p=0;p<e.length;p++)p===i&&(r[o]=i-c,o++,i=n[o].start),e.charCodeAt(p)===u.lineFeed&&(c=p+1);return r}var Ga={require:`
8
+ import {createRequire as CREATE_REQUIRE_NAME} from "module";
9
+ const require = CREATE_REQUIRE_NAME(import.meta.url);
10
+ `,interopRequireWildcard:`
11
+ function interopRequireWildcard(obj) {
12
+ if (obj && obj.__esModule) {
13
+ return obj;
14
+ } else {
15
+ var newObj = {};
16
+ if (obj != null) {
17
+ for (var key in obj) {
18
+ if (Object.prototype.hasOwnProperty.call(obj, key)) {
19
+ newObj[key] = obj[key];
20
+ }
21
+ }
22
+ }
23
+ newObj.default = obj;
24
+ return newObj;
25
+ }
26
+ }
27
+ `,interopRequireDefault:`
28
+ function interopRequireDefault(obj) {
29
+ return obj && obj.__esModule ? obj : { default: obj };
30
+ }
31
+ `,createNamedExportFrom:`
32
+ function createNamedExportFrom(obj, localName, importedName) {
33
+ Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
34
+ }
35
+ `,createStarExport:`
36
+ function createStarExport(obj) {
37
+ Object.keys(obj)
38
+ .filter((key) => key !== "default" && key !== "__esModule")
39
+ .forEach((key) => {
40
+ if (exports.hasOwnProperty(key)) {
41
+ return;
42
+ }
43
+ Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
44
+ });
45
+ }
46
+ `,nullishCoalesce:`
47
+ function nullishCoalesce(lhs, rhsFn) {
48
+ if (lhs != null) {
49
+ return lhs;
50
+ } else {
51
+ return rhsFn();
52
+ }
53
+ }
54
+ `,asyncNullishCoalesce:`
55
+ async function asyncNullishCoalesce(lhs, rhsFn) {
56
+ if (lhs != null) {
57
+ return lhs;
58
+ } else {
59
+ return await rhsFn();
60
+ }
61
+ }
62
+ `,optionalChain:`
63
+ function optionalChain(ops) {
64
+ let lastAccessLHS = undefined;
65
+ let value = ops[0];
66
+ let i = 1;
67
+ while (i < ops.length) {
68
+ const op = ops[i];
69
+ const fn = ops[i + 1];
70
+ i += 2;
71
+ if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
72
+ return undefined;
73
+ }
74
+ if (op === 'access' || op === 'optionalAccess') {
75
+ lastAccessLHS = value;
76
+ value = fn(value);
77
+ } else if (op === 'call' || op === 'optionalCall') {
78
+ value = fn((...args) => value.call(lastAccessLHS, ...args));
79
+ lastAccessLHS = undefined;
80
+ }
81
+ }
82
+ return value;
83
+ }
84
+ `,asyncOptionalChain:`
85
+ async function asyncOptionalChain(ops) {
86
+ let lastAccessLHS = undefined;
87
+ let value = ops[0];
88
+ let i = 1;
89
+ while (i < ops.length) {
90
+ const op = ops[i];
91
+ const fn = ops[i + 1];
92
+ i += 2;
93
+ if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
94
+ return undefined;
95
+ }
96
+ if (op === 'access' || op === 'optionalAccess') {
97
+ lastAccessLHS = value;
98
+ value = await fn(value);
99
+ } else if (op === 'call' || op === 'optionalCall') {
100
+ value = await fn((...args) => value.call(lastAccessLHS, ...args));
101
+ lastAccessLHS = undefined;
102
+ }
103
+ }
104
+ return value;
105
+ }
106
+ `,optionalChainDelete:`
107
+ function optionalChainDelete(ops) {
108
+ const result = OPTIONAL_CHAIN_NAME(ops);
109
+ return result == null ? true : result;
110
+ }
111
+ `,asyncOptionalChainDelete:`
112
+ async function asyncOptionalChainDelete(ops) {
113
+ const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
114
+ return result == null ? true : result;
115
+ }
116
+ `},Bt=class{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(n){this.nameManager=n,Bt.prototype.__init.call(this),Bt.prototype.__init2.call(this)}getHelperName(n){let r=this.helperNames[n];return r||(r=this.nameManager.claimFreeName(`_${n}`),this.helperNames[n]=r,r)}emitHelpers(){let n="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[r,o]of Object.entries(Ga)){let i=this.helperNames[r],c=o;r==="optionalChainDelete"?c=c.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):r==="asyncOptionalChainDelete"?c=c.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):r==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),c=c.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),i&&(n+=" ",n+=c.replace(r,i).replace(/\s+/g," ").trim())}return n}};function Rn(e,n,r){!Xa(e,r)||Ja(e,n,r)}function Xa(e,n){for(let r of e.tokens)if(r.type===t.name&&ho(r)&&n.has(e.identifierNameForToken(r)))return!0;return!1}function Ja(e,n,r){let o=[],i=n.length-1;for(let c=e.tokens.length-1;;c--){for(;o.length>0&&o[o.length-1].startTokenIndex===c+1;)o.pop();for(;i>=0&&n[i].endTokenIndex===c+1;)o.push(n[i]),i--;if(c<0)break;let p=e.tokens[c],k=e.identifierNameForToken(p);if(o.length>1&&p.type===t.name&&r.has(k)){if(mo(p))qo(o[o.length-1],e,k);else if(ko(p)){let v=o.length-1;for(;v>0&&!o[v].isFunctionScope;)v--;if(v<0)throw new Error("Did not find parent function scope.");qo(o[v],e,k)}}}if(o.length>0)throw new Error("Expected empty scope stack after processing file.")}function qo(e,n,r){for(let o=e.startTokenIndex;o<e.endTokenIndex;o++){let i=n.tokens[o];(i.type===t.name||i.type===t.jsxName)&&n.identifierNameForToken(i)===r&&(i.shadowsGlobal=!0)}}function os(e,n){let r=[];for(let o of n)o.type===t.name&&r.push(e.slice(o.start,o.end));return r}var tn=class{__init(){this.usedNames=new Set}constructor(n,r){tn.prototype.__init.call(this),this.usedNames=new Set(os(n,r))}claimFreeName(n){let r=this.findFreeName(n);return this.usedNames.add(r),r}findFreeName(n){if(!this.usedNames.has(n))return n;let r=2;for(;this.usedNames.has(n+String(r));)r++;return n+String(r)}},$o=tn;var i1=qr(ms());var re=qr(ms()),gc=re.union(re.lit("jsx"),re.lit("typescript"),re.lit("flow"),re.lit("imports"),re.lit("react-hot-loader"),re.lit("jest")),xc=re.iface([],{compiledFilename:"string"}),_c=re.iface([],{transforms:re.array("Transform"),disableESTransforms:re.opt("boolean"),jsxRuntime:re.opt(re.union(re.lit("classic"),re.lit("automatic"),re.lit("preserve"))),production:re.opt("boolean"),jsxImportSource:re.opt("string"),jsxPragma:re.opt("string"),jsxFragmentPragma:re.opt("string"),preserveDynamicImport:re.opt("boolean"),injectCreateRequireForImportRequire:re.opt("boolean"),enableLegacyTypeScriptModuleInterop:re.opt("boolean"),enableLegacyBabel5ModuleInterop:re.opt("boolean"),sourceMapOptions:re.opt("SourceMapOptions"),filePath:re.opt("string")}),yc={Transform:gc,SourceMapOptions:xc,Options:_c},o1=yc;var{Options:Tc}=(0,i1.createCheckers)(o1);function a1(e){Tc.strictCheck(e)}function ds(){d(),ke(!1)}function ks(e){d(),on(e)}function Ke(e){q(),Ln(e)}function $t(){q(),s.tokens[s.tokens.length-1].identifierRole=D.ImportDeclaration}function Ln(e){let n;s.scopeDepth===0?n=D.TopLevelDeclaration:e?n=D.BlockScopedDeclaration:n=D.FunctionScopedDeclaration,s.tokens[s.tokens.length-1].identifierRole=n}function on(e){switch(s.type){case t._this:{let n=G(0);d(),X(n);return}case t._yield:case t.name:{s.type=t.name,Ke(e);return}case t.bracketL:{d(),an(t.bracketR,e,!0);return}case t.braceL:sn(!0,e);return;default:z()}}function an(e,n,r=!1,o=!1,i=0){let c=!0,p=!1,k=s.tokens.length;for(;!f(e)&&!s.error;)if(c?c=!1:(m(t.comma),s.tokens[s.tokens.length-1].contextId=i,!p&&s.tokens[k].isType&&(s.tokens[s.tokens.length-1].isType=!0,p=!0)),!(r&&a(t.comma))){if(f(e))break;if(a(t.ellipsis)){ks(n),u1(),f(t.comma),m(e);break}else Ic(o,n)}}function Ic(e,n){e&&rn([l._public,l._protected,l._private,l._readonly,l._override]),cn(n),u1(),cn(n,!0)}function u1(){Y?c1():K&&l1()}function cn(e,n=!1){if(n||on(e),!f(t.eq))return;let r=s.tokens.length-1;ke(),s.tokens[r].rhsEndIndex=s.tokens.length}function _s(){return a(t.name)}function bc(){return a(t.name)||Boolean(s.type&t.IS_KEYWORD)||a(t.string)||a(t.num)||a(t.bigint)||a(t.decimal)}function p1(){let e=s.snapshot();return d(),(a(t.bracketL)||a(t.braceL)||a(t.star)||a(t.ellipsis)||a(t.hash)||bc())&&!Ae()?!0:(s.restoreFromSnapshot(e),!1)}function rn(e){for(;f1(e)!==null;);}function f1(e){if(!a(t.name))return null;let n=s.contextualKeyword;if(e.indexOf(n)!==-1&&p1()){switch(n){case l._readonly:s.tokens[s.tokens.length-1].type=t._readonly;break;case l._abstract:s.tokens[s.tokens.length-1].type=t._abstract;break;case l._static:s.tokens[s.tokens.length-1].type=t._static;break;case l._public:s.tokens[s.tokens.length-1].type=t._public;break;case l._private:s.tokens[s.tokens.length-1].type=t._private;break;case l._protected:s.tokens[s.tokens.length-1].type=t._protected;break;case l._override:s.tokens[s.tokens.length-1].type=t._override;break;case l._declare:s.tokens[s.tokens.length-1].type=t._declare;break;default:break}return n}return null}function un(){for(q();f(t.dot);)q()}function wc(){un(),!Ae()&&a(t.lessThan)&&Vt()}function Sc(){d(),Ut()}function Ac(){d()}function Ec(){m(t._typeof),a(t._import)?h1():un(),!Ae()&&a(t.lessThan)&&Vt()}function h1(){m(t._import),m(t.parenL),m(t.string),m(t.parenR),f(t.dot)&&un(),a(t.lessThan)&&Vt()}function vc(){f(t._const);let e=f(t._in),n=ue(l._out);f(t._const),(e||n)&&!a(t.name)?s.tokens[s.tokens.length-1].type=t.name:q(),f(t._extends)&&ce(),f(t.eq)&&ce()}function _t(){a(t.lessThan)&&Mn()}function Mn(){let e=G(0);for(a(t.lessThan)||a(t.typeParameterStart)?d():z();!f(t.greaterThan)&&!s.error;)vc(),f(t.comma);X(e)}function ys(e){let n=e===t.arrow;_t(),m(t.parenL),s.scopeDepth++,Cc(!1),s.scopeDepth--,(n||a(e))&&pn(e)}function Cc(e){an(t.parenR,e)}function jn(){f(t.comma)||oe()}function m1(){ys(t.colon),jn()}function Pc(){let e=s.snapshot();d();let n=f(t.name)&&a(t.colon);return s.restoreFromSnapshot(e),n}function d1(){if(!(a(t.bracketL)&&Pc()))return!1;let e=G(0);return m(t.bracketL),q(),Ut(),m(t.bracketR),Et(),jn(),X(e),!0}function k1(e){f(t.question),!e&&(a(t.parenL)||a(t.lessThan))?(ys(t.colon),jn()):(Et(),jn())}function Nc(){if(a(t.parenL)||a(t.lessThan)){m1();return}if(a(t._new)){d(),a(t.parenL)||a(t.lessThan)?m1():k1(!1);return}let e=!!f1([l._readonly]);d1()||((L(l._get)||L(l._set))&&p1(),At(-1),k1(e))}function Rc(){g1()}function g1(){for(m(t.braceL);!f(t.braceR)&&!s.error;)Nc()}function Lc(){let e=s.snapshot(),n=Dc();return s.restoreFromSnapshot(e),n}function Dc(){return d(),f(t.plus)||f(t.minus)?L(l._readonly):(L(l._readonly)&&d(),!a(t.bracketL)||(d(),!_s())?!1:(d(),a(t._in)))}function Oc(){q(),m(t._in),ce()}function Mc(){m(t.braceL),a(t.plus)||a(t.minus)?(d(),pe(l._readonly)):ue(l._readonly),m(t.bracketL),Oc(),ue(l._as)&&ce(),m(t.bracketR),a(t.plus)||a(t.minus)?(d(),m(t.question)):f(t.question),Fc(),oe(),m(t.braceR)}function Bc(){for(m(t.bracketL);!f(t.bracketR)&&!s.error;)jc(),f(t.comma)}function jc(){f(t.ellipsis)?ce():(ce(),f(t.question)),f(t.colon)&&ce()}function qc(){m(t.parenL),ce(),m(t.parenR)}function $c(){for(tt(),tt();!a(t.backQuote)&&!s.error;)m(t.dollarBraceL),ce(),tt(),tt();d()}var yt;(function(e){let n=0;e[e.TSFunctionType=n]="TSFunctionType";let r=n+1;e[e.TSConstructorType=r]="TSConstructorType";let o=r+1;e[e.TSAbstractConstructorType=o]="TSAbstractConstructorType"})(yt||(yt={}));function Ts(e){e===yt.TSAbstractConstructorType&&pe(l._abstract),(e===yt.TSConstructorType||e===yt.TSAbstractConstructorType)&&m(t._new);let n=s.inDisallowConditionalTypesContext;s.inDisallowConditionalTypesContext=!1,ys(t.arrow),s.inDisallowConditionalTypesContext=n}function Hc(){switch(s.type){case t.name:wc();return;case t._void:case t._null:d();return;case t.string:case t.num:case t.bigint:case t.decimal:case t._true:case t._false:xt();return;case t.minus:d(),xt();return;case t._this:{Ac(),L(l._is)&&!Ae()&&Sc();return}case t._typeof:Ec();return;case t._import:h1();return;case t.braceL:Lc()?Mc():Rc();return;case t.bracketL:Bc();return;case t.parenL:qc();return;case t.backQuote:$c();return;default:if(s.type&t.IS_KEYWORD){d(),s.tokens[s.tokens.length-1].type=t.name;return}break}z()}function zc(){for(Hc();!Ae()&&f(t.bracketL);)f(t.bracketR)||(ce(),m(t.bracketR))}function Vc(){if(pe(l._infer),q(),a(t._extends)){let e=s.snapshot();m(t._extends);let n=s.inDisallowConditionalTypesContext;s.inDisallowConditionalTypesContext=!0,ce(),s.inDisallowConditionalTypesContext=n,(s.error||!s.inDisallowConditionalTypesContext&&a(t.question))&&s.restoreFromSnapshot(e)}}function Is(){if(L(l._keyof)||L(l._unique)||L(l._readonly))d(),Is();else if(L(l._infer))Vc();else{let e=s.inDisallowConditionalTypesContext;s.inDisallowConditionalTypesContext=!1,zc(),s.inDisallowConditionalTypesContext=e}}function x1(){if(f(t.bitwiseAND),Is(),a(t.bitwiseAND))for(;f(t.bitwiseAND);)Is()}function Uc(){if(f(t.bitwiseOR),x1(),a(t.bitwiseOR))for(;f(t.bitwiseOR);)x1()}function Gc(){return a(t.lessThan)?!0:a(t.parenL)&&Wc()}function Xc(){if(a(t.name)||a(t._this))return d(),!0;if(a(t.braceL)||a(t.bracketL)){let e=1;for(d();e>0&&!s.error;)a(t.braceL)||a(t.bracketL)?e++:(a(t.braceR)||a(t.bracketR))&&e--,d();return!0}return!1}function Wc(){let e=s.snapshot(),n=Jc();return s.restoreFromSnapshot(e),n}function Jc(){return d(),!!(a(t.parenR)||a(t.ellipsis)||Xc()&&(a(t.colon)||a(t.comma)||a(t.question)||a(t.eq)||a(t.parenR)&&(d(),a(t.arrow))))}function pn(e){let n=G(0);m(e),Qc()||ce(),X(n)}function Kc(){a(t.colon)&&pn(t.colon)}function Et(){a(t.colon)&&Ut()}function Fc(){f(t.colon)&&ce()}function Qc(){let e=s.snapshot();return L(l._asserts)?(d(),ue(l._is)?(ce(),!0):_s()||a(t._this)?(d(),ue(l._is)&&ce(),!0):(s.restoreFromSnapshot(e),!1)):_s()||a(t._this)?(d(),L(l._is)&&!Ae()?(d(),ce(),!0):(s.restoreFromSnapshot(e),!1)):!1}function Ut(){let e=G(0);m(t.colon),ce(),X(e)}function ce(){if(_1(),s.inDisallowConditionalTypesContext||Ae()||!f(t._extends))return;let e=s.inDisallowConditionalTypesContext;s.inDisallowConditionalTypesContext=!0,_1(),s.inDisallowConditionalTypesContext=e,m(t.question),ce(),m(t.colon),ce()}function Yc(){return L(l._abstract)&&ie()===t._new}function _1(){if(Gc()){Ts(yt.TSFunctionType);return}if(a(t._new)){Ts(yt.TSConstructorType);return}else if(Yc()){Ts(yt.TSAbstractConstructorType);return}Uc()}function y1(){let e=G(1);ce(),m(t.greaterThan),X(e),Ht()}function T1(){if(f(t.jsxTagStart)){s.tokens[s.tokens.length-1].type=t.typeParameterStart;let e=G(1);for(;!a(t.greaterThan)&&!s.error;)ce(),f(t.comma);He(),X(e)}}function I1(){for(;!a(t.braceL)&&!s.error;)Zc(),f(t.comma)}function Zc(){un(),a(t.lessThan)&&Vt()}function el(){Ke(!1),_t(),f(t._extends)&&I1(),g1()}function tl(){Ke(!1),_t(),m(t.eq),ce(),oe()}function nl(){if(a(t.string)?xt():q(),f(t.eq)){let e=s.tokens.length-1;ke(),s.tokens[e].rhsEndIndex=s.tokens.length}}function bs(){for(Ke(!1),m(t.braceL);!f(t.braceR)&&!s.error;)nl(),f(t.comma)}function ws(){m(t.braceL),zt(t.braceR)}function Ss(){Ke(!1),f(t.dot)?Ss():ws()}function b1(){L(l._global)?q():a(t.string)?We():z(),a(t.braceL)?ws():oe()}function Bn(){$t(),m(t.eq),rl(),oe()}function sl(){return L(l._require)&&ie()===t.parenL}function rl(){sl()?ol():un()}function ol(){pe(l._require),m(t.parenL),a(t.string)||z(),xt(),m(t.parenR)}function il(){if(Ve())return!1;switch(s.type){case t._function:{let e=G(1);d();let n=s.start;return pt(n,!0),X(e),!0}case t._class:{let e=G(1);return ut(!0,!1),X(e),!0}case t._const:if(a(t._const)&&Mt(l._enum)){let e=G(1);return m(t._const),pe(l._enum),s.tokens[s.tokens.length-1].type=t._enum,bs(),X(e),!0}case t._var:case t._let:{let e=G(1);return Fn(s.type!==t._var),X(e),!0}case t.name:{let e=G(1),n=s.contextualKeyword,r=!1;return n===l._global?(b1(),r=!0):r=qn(n,!0),X(e),r}default:return!1}}function w1(){return qn(s.contextualKeyword,!0)}function al(e){switch(e){case l._declare:{let n=s.tokens.length-1;if(il())return s.tokens[n].type=t._declare,!0;break}case l._global:if(a(t.braceL))return ws(),!0;break;default:return qn(e,!1)}return!1}function qn(e,n){switch(e){case l._abstract:if(Wt(n)&&a(t._class))return s.tokens[s.tokens.length-1].type=t._abstract,ut(!0,!1),!0;break;case l._enum:if(Wt(n)&&a(t.name))return s.tokens[s.tokens.length-1].type=t._enum,bs(),!0;break;case l._interface:if(Wt(n)&&a(t.name)){let r=G(n?2:1);return el(),X(r),!0}break;case l._module:if(Wt(n)){if(a(t.string)){let r=G(n?2:1);return b1(),X(r),!0}else if(a(t.name)){let r=G(n?2:1);return Ss(),X(r),!0}}break;case l._namespace:if(Wt(n)&&a(t.name)){let r=G(n?2:1);return Ss(),X(r),!0}break;case l._type:if(Wt(n)&&a(t.name)){let r=G(n?2:1);return tl(),X(r),!0}break;default:break}return!1}function Wt(e){return e?(d(),!0):!Ve()}function cl(){let e=s.snapshot();return Mn(),ft(),Kc(),m(t.arrow),s.error?(s.restoreFromSnapshot(e),!1):(St(!0),!0)}function As(){s.type===t.bitShiftL&&(s.pos-=1,U(t.lessThan)),Vt()}function Vt(){let e=G(0);for(m(t.lessThan);!f(t.greaterThan)&&!s.error;)ce(),f(t.comma);X(e)}function Es(){if(a(t.name))switch(s.contextualKeyword){case l._abstract:case l._declare:case l._enum:case l._interface:case l._module:case l._namespace:case l._type:return!0;default:break}return!1}function S1(e,n){if(a(t.colon)&&pn(t.colon),!a(t.braceL)&&Ve()){let r=s.tokens.length-1;for(;r>=0&&(s.tokens[r].start>=e||s.tokens[r].type===t._default||s.tokens[r].type===t._export);)s.tokens[r].isType=!0,r--;return}St(!1,n)}function A1(e,n,r){if(!Ae()&&f(t.bang)){s.tokens[s.tokens.length-1].type=t.nonNullAssertion;return}if(a(t.lessThan)||a(t.bitShiftL)){let o=s.snapshot();if(!n&&gs()&&cl())return;if(As(),!n&&f(t.parenL)?(s.tokens[s.tokens.length-1].subscriptStartIndex=e,Ye()):a(t.backQuote)?On():(s.type===t.greaterThan||s.type!==t.parenL&&Boolean(s.type&t.IS_EXPRESSION_START)&&!Ae())&&z(),s.error)s.restoreFromSnapshot(o);else return}else!n&&a(t.questionDot)&&ie()===t.lessThan&&(d(),s.tokens[e].isOptionalChainStart=!0,s.tokens[s.tokens.length-1].subscriptStartIndex=e,Vt(),m(t.parenL),Ye());ln(e,n,r)}function E1(){if(f(t._import))return L(l._type)&&ie()!==t.eq&&pe(l._type),Bn(),!0;if(f(t.eq))return ge(),oe(),!0;if(ue(l._as))return pe(l._namespace),q(),oe(),!0;if(L(l._type)){let e=ie();(e===t.braceL||e===t.star)&&d()}return!1}function v1(){if(q(),a(t.comma)||a(t.braceR)){s.tokens[s.tokens.length-1].identifierRole=D.ImportDeclaration;return}if(q(),a(t.comma)||a(t.braceR)){s.tokens[s.tokens.length-1].identifierRole=D.ImportDeclaration,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0;return}if(q(),a(t.comma)||a(t.braceR)){s.tokens[s.tokens.length-3].identifierRole=D.ImportAccess,s.tokens[s.tokens.length-1].identifierRole=D.ImportDeclaration;return}q(),s.tokens[s.tokens.length-3].identifierRole=D.ImportAccess,s.tokens[s.tokens.length-1].identifierRole=D.ImportDeclaration,s.tokens[s.tokens.length-4].isType=!0,s.tokens[s.tokens.length-3].isType=!0,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0}function C1(){if(q(),a(t.comma)||a(t.braceR)){s.tokens[s.tokens.length-1].identifierRole=D.ExportAccess;return}if(q(),a(t.comma)||a(t.braceR)){s.tokens[s.tokens.length-1].identifierRole=D.ExportAccess,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0;return}if(q(),a(t.comma)||a(t.braceR)){s.tokens[s.tokens.length-3].identifierRole=D.ExportAccess;return}q(),s.tokens[s.tokens.length-3].identifierRole=D.ExportAccess,s.tokens[s.tokens.length-4].isType=!0,s.tokens[s.tokens.length-3].isType=!0,s.tokens[s.tokens.length-2].isType=!0,s.tokens[s.tokens.length-1].isType=!0}function P1(){if(L(l._abstract)&&ie()===t._class)return s.type=t._abstract,d(),ut(!0,!0),!0;if(L(l._interface)){let e=G(2);return qn(l._interface,!0),X(e),!0}return!1}function N1(){if(s.type===t._const){let e=it();if(e.type===t.name&&e.contextualKeyword===l._enum)return m(t._const),pe(l._enum),s.tokens[s.tokens.length-1].type=t._enum,bs(),!0}return!1}function R1(e){let n=s.tokens.length;rn([l._abstract,l._readonly,l._declare,l._static,l._override]);let r=s.tokens.length;if(d1()){let i=e?n-1:n;for(let c=i;c<r;c++)s.tokens[c].isType=!0;return!0}return!1}function D1(e){al(e)||oe()}function L1(){let e=ue(l._declare);e&&(s.tokens[s.tokens.length-1].type=t._declare);let n=!1;if(a(t.name))if(e){let r=G(2);n=w1(),X(r)}else n=w1();if(!n)if(e){let r=G(2);Ne(!0),X(r)}else Ne(!0)}function O1(e){if(e&&(a(t.lessThan)||a(t.bitShiftL))&&As(),ue(l._implements)){s.tokens[s.tokens.length-1].type=t._implements;let n=G(1);I1(),X(n)}}function F1(){_t()}function M1(){_t()}function j1(){let e=G(0);Ae()||f(t.bang),Et(),X(e)}function B1(){a(t.colon)&&Ut()}function q1(e,n){return Ft?ll(e,n):ul(e,n)}function ll(e,n){if(!a(t.lessThan))return Ue(e,n);let r=s.snapshot(),o=Ue(e,n);if(s.error)s.restoreFromSnapshot(r);else return o;return s.type=t.typeParameterStart,Mn(),o=Ue(e,n),o||z(),o}function ul(e,n){if(!a(t.lessThan))return Ue(e,n);let r=s.snapshot();Mn();let o=Ue(e,n);if(o||z(),s.error)s.restoreFromSnapshot(r);else return o;return Ue(e,n)}function $1(){if(a(t.colon)){let e=s.snapshot();pn(t.colon),be()&&z(),a(t.arrow)||z(),s.error&&s.restoreFromSnapshot(e)}return f(t.arrow)}function l1(){let e=G(0);f(t.question),Et(),X(e)}function H1(){(a(t.lessThan)||a(t.bitShiftL))&&As(),xs()}function pl(){let e=!1,n=!1;for(;;){if(s.pos>=E.length){z("Unterminated JSX contents");return}let r=E.charCodeAt(s.pos);if(r===u.lessThan||r===u.leftCurlyBrace){if(s.pos===s.start){if(r===u.lessThan){s.pos++,U(t.jsxTagStart);return}Kr(r);return}e&&!n?U(t.jsxEmptyText):U(t.jsxText);return}r===u.lineFeed?e=!0:r!==u.space&&r!==u.carriageReturn&&r!==u.tab&&(n=!0),s.pos++}}function fl(e){for(s.pos++;;){if(s.pos>=E.length){z("Unterminated string constant");return}if(E.charCodeAt(s.pos)===e){s.pos++;break}s.pos++}U(t.string)}function hl(){let e;do{if(s.pos>E.length){z("Unexpectedly reached the end of input.");return}e=E.charCodeAt(++s.pos)}while(Pe[e]||e===u.dash);U(t.jsxName)}function vs(){He()}function z1(e){if(vs(),!f(t.colon)){s.tokens[s.tokens.length-1].identifierRole=e;return}vs()}function V1(){let e=s.tokens.length;z1(D.Access);let n=!1;for(;a(t.dot);)n=!0,He(),vs();if(!n){let r=s.tokens[e],o=E.charCodeAt(r.start);o>=u.lowercaseA&&o<=u.lowercaseZ&&(r.identifierRole=null)}}function ml(){switch(s.type){case t.braceL:d(),ge(),He();return;case t.jsxTagStart:Cs(),He();return;case t.string:He();return;default:z("JSX value should be either an expression or a quoted JSX text")}}function dl(){m(t.ellipsis),ge()}function kl(e){if(a(t.jsxTagEnd))return!1;V1(),K&&T1();let n=!1;for(;!a(t.slash)&&!a(t.jsxTagEnd)&&!s.error;){if(f(t.braceL)){n=!0,m(t.ellipsis),ke(),He();continue}n&&s.end-s.start==3&&E.charCodeAt(s.start)===u.lowercaseK&&E.charCodeAt(s.start+1)===u.lowercaseE&&E.charCodeAt(s.start+2)===u.lowercaseY&&(s.tokens[e].jsxRole=qe.KeyAfterPropSpread),z1(D.ObjectKey),a(t.eq)&&(He(),ml())}let r=a(t.slash);return r&&He(),r}function gl(){a(t.jsxTagEnd)||V1()}function U1(){let e=s.tokens.length-1;s.tokens[e].jsxRole=qe.NoChildren;let n=0;if(!kl(e))for(Gt();;)switch(s.type){case t.jsxTagStart:if(He(),a(t.slash)){He(),gl(),s.tokens[e].jsxRole!==qe.KeyAfterPropSpread&&(n===1?s.tokens[e].jsxRole=qe.OneChild:n>1&&(s.tokens[e].jsxRole=qe.StaticChildren));return}n++,U1(),Gt();break;case t.jsxText:n++,Gt();break;case t.jsxEmptyText:Gt();break;case t.braceL:d(),a(t.ellipsis)?(dl(),Gt(),n+=2):(a(t.braceR)||(n++,ge()),Gt());break;default:z();return}}function Cs(){He(),U1()}function He(){s.tokens.push(new jt),Qr(),s.start=s.pos;let e=E.charCodeAt(s.pos);if(at[e])hl();else if(e===u.quotationMark||e===u.apostrophe)fl(e);else switch(++s.pos,e){case u.greaterThan:U(t.jsxTagEnd);break;case u.lessThan:U(t.jsxTagStart);break;case u.slash:U(t.slash);break;case u.equalsTo:U(t.eq);break;case u.leftCurlyBrace:U(t.braceL);break;case u.dot:U(t.dot);break;case u.colon:U(t.colon);break;default:z()}}function Gt(){s.tokens.push(new jt),s.start=s.pos,pl()}function W1(e){if(a(t.question)){let n=ie();if(n===t.colon||n===t.comma||n===t.parenR)return}Ps(e)}function G1(){wn(t.question),a(t.colon)&&(K?Ut():Y&&ht())}var ni=class{constructor(n){this.stop=n}};function ge(e=!1){if(ke(e),a(t.comma))for(;f(t.comma);)ke(e)}function ke(e=!1,n=!1){return K?q1(e,n):Y?Q1(e,n):Ue(e,n)}function Ue(e,n){if(a(t._yield))return _l(),!1;(a(t.parenL)||a(t.name)||a(t._yield))&&(s.potentialArrowAt=s.start);let r=xl(e);return n&&Ns(),s.type&t.IS_ASSIGN?(d(),ke(e),!1):r}function xl(e){return Tl(e)?!0:(yl(e),!1)}function yl(e){K||Y?W1(e):Ps(e)}function Ps(e){f(t.question)&&(ke(),m(t.colon),ke(e))}function Tl(e){let n=s.tokens.length;return Ht()?!0:(zn(n,-1,e),!1)}function zn(e,n,r){if(K&&(t._in&t.PRECEDENCE_MASK)>n&&!Ae()&&(ue(l._as)||ue(l._satisfies))){let i=G(1);ce(),X(i),Io(),zn(e,n,r);return}let o=s.type&t.PRECEDENCE_MASK;if(o>0&&(!r||!a(t._in))&&o>n){let i=s.type;d(),i===t.nullishCoalescing&&(s.tokens[s.tokens.length-1].nullishStartIndex=e);let c=s.tokens.length;Ht(),zn(c,i&t.IS_RIGHT_ASSOCIATIVE?o-1:o,r),i===t.nullishCoalescing&&(s.tokens[e].numNullishCoalesceStarts++,s.tokens[s.tokens.length-1].numNullishCoalesceEnds++),zn(e,n,r)}}function Ht(){if(K&&!Ft&&f(t.lessThan))return y1(),!1;if(L(l._module)&&Jr()===u.leftCurlyBrace&&!Tn())return Il(),!1;if(s.type&t.IS_PREFIX)return d(),Ht(),!1;if(Rs())return!0;for(;s.type&t.IS_POSTFIX&&!be();)s.type===t.preIncDec&&(s.type=t.postIncDec),d();return!1}function Rs(){let e=s.tokens.length;return We()?!0:(Ds(e),s.tokens.length>e&&s.tokens[e].isOptionalChainStart&&(s.tokens[s.tokens.length-1].isOptionalChainEnd=!0),!1)}function Ds(e,n=!1){Y?Y1(e,n):Ls(e,n)}function Ls(e,n=!1){let r=new ni(!1);do bl(e,n,r);while(!r.stop&&!s.error)}function bl(e,n,r){K?A1(e,n,r):Y?K1(e,n,r):ln(e,n,r)}function ln(e,n,r){if(!n&&f(t.doubleColon))Os(),r.stop=!0,Ds(e,n);else if(a(t.questionDot)){if(s.tokens[e].isOptionalChainStart=!0,n&&ie()===t.parenL){r.stop=!0;return}d(),s.tokens[s.tokens.length-1].subscriptStartIndex=e,f(t.bracketL)?(ge(),m(t.bracketR)):f(t.parenL)?Ye():Vn()}else if(f(t.dot))s.tokens[s.tokens.length-1].subscriptStartIndex=e,Vn();else if(f(t.bracketL))s.tokens[s.tokens.length-1].subscriptStartIndex=e,ge(),m(t.bracketR);else if(!n&&a(t.parenL))if(gs()){let o=s.snapshot(),i=s.tokens.length;d(),s.tokens[s.tokens.length-1].subscriptStartIndex=e;let c=wt();s.tokens[s.tokens.length-1].contextId=c,Ye(),s.tokens[s.tokens.length-1].contextId=c,wl()&&(s.restoreFromSnapshot(o),r.stop=!0,s.scopeDepth++,ft(),Sl(i))}else{d(),s.tokens[s.tokens.length-1].subscriptStartIndex=e;let o=wt();s.tokens[s.tokens.length-1].contextId=o,Ye(),s.tokens[s.tokens.length-1].contextId=o}else a(t.backQuote)?On():r.stop=!0}function gs(){return s.tokens[s.tokens.length-1].contextualKeyword===l._async&&!be()}function Ye(){let e=!0;for(;!f(t.parenR)&&!s.error;){if(e)e=!1;else if(m(t.comma),f(t.parenR))break;ri(!1)}}function wl(){return a(t.colon)||a(t.arrow)}function Sl(e){K?B1():Y&&Z1(),m(t.arrow),Xt(e)}function Os(){let e=s.tokens.length;We(),Ds(e,!0)}function We(){if(f(t.modulo))return q(),!1;if(a(t.jsxText)||a(t.jsxEmptyText))return xt(),!1;if(a(t.lessThan)&&Ft)return s.type=t.jsxTagStart,Cs(),d(),!1;let e=s.potentialArrowAt===s.start;switch(s.type){case t.slash:case t.assign:xo();case t._super:case t._this:case t.regexp:case t.num:case t.bigint:case t.decimal:case t.string:case t._null:case t._true:case t._false:return d(),!1;case t._import:return d(),a(t.dot)&&(s.tokens[s.tokens.length-1].type=t.name,d(),q()),!1;case t.name:{let n=s.tokens.length,r=s.start,o=s.contextualKeyword;return q(),o===l._await?(vl(),!1):o===l._async&&a(t._function)&&!be()?(d(),pt(r,!1),!1):e&&o===l._async&&!be()&&a(t.name)?(s.scopeDepth++,Ke(!1),m(t.arrow),Xt(n),!0):a(t._do)&&!be()?(d(),mt(),!1):e&&!be()&&a(t.arrow)?(s.scopeDepth++,Ln(!1),m(t.arrow),Xt(n),!0):(s.tokens[s.tokens.length-1].identifierRole=D.Access,!1)}case t._do:return d(),mt(),!1;case t.parenL:return si(e);case t.bracketL:return d(),oi(t.bracketR,!0),!1;case t.braceL:return sn(!1,!1),!1;case t._function:return Al(),!1;case t.at:Hn();case t._class:return ut(!1),!1;case t._new:return El(),!1;case t.backQuote:return On(),!1;case t.doubleColon:return d(),Os(),!1;case t.hash:{let n=Jr();return at[n]||n===u.backslash?Vn():d(),!1}default:return z(),!1}}function Vn(){f(t.hash),q()}function Al(){let e=s.start;q(),f(t.dot)&&q(),pt(e,!1)}function xt(){d()}function fn(){m(t.parenL),ge(),m(t.parenR)}function si(e){let n=s.snapshot(),r=s.tokens.length;m(t.parenL);let o=!0;for(;!a(t.parenR)&&!s.error;){if(o)o=!1;else if(m(t.comma),a(t.parenR))break;if(a(t.ellipsis)){ks(!1),Ns();break}else ke(!1,!0)}return m(t.parenR),e&&Cl()&&Un()?(s.restoreFromSnapshot(n),s.scopeDepth++,ft(),Un(),Xt(r),s.error?(s.restoreFromSnapshot(n),si(!1),!1):!0):!1}function Cl(){return a(t.colon)||!be()}function Un(){return K?$1():Y?X1():f(t.arrow)}function Ns(){(K||Y)&&G1()}function El(){if(m(t._new),f(t.dot)){q();return}Pl(),Y&&ei(),f(t.parenL)&&oi(t.parenR)}function Pl(){Os(),f(t.questionDot)}function On(){for(tt(),tt();!a(t.backQuote)&&!s.error;)m(t.dollarBraceL),ge(),tt(),tt();d()}function sn(e,n){let r=wt(),o=!0;for(d(),s.tokens[s.tokens.length-1].contextId=r;!f(t.braceR)&&!s.error;){if(o)o=!1;else if(m(t.comma),f(t.braceR))break;let i=!1;if(a(t.ellipsis)){let c=s.tokens.length;if(ds(),e&&(s.tokens.length===c+2&&Ln(n),f(t.braceR)))break;continue}e||(i=f(t.star)),!e&&L(l._async)?(i&&z(),q(),a(t.colon)||a(t.parenL)||a(t.braceR)||a(t.eq)||a(t.comma)||(a(t.star)&&(d(),i=!0),At(r))):At(r),Nl(e,n,r)}s.tokens[s.tokens.length-1].contextId=r}function Rl(e){return!e&&(a(t.string)||a(t.num)||a(t.bracketL)||a(t.name)||!!(s.type&t.IS_KEYWORD))}function Dl(e,n){let r=s.start;return a(t.parenL)?(e&&z(),Wn(r,!1),!0):Rl(e)?(At(n),Wn(r,!1),!0):!1}function Ll(e,n){if(f(t.colon)){e?cn(n):ke(!1);return}let r;e?s.scopeDepth===0?r=D.ObjectShorthandTopLevelDeclaration:n?r=D.ObjectShorthandBlockScopedDeclaration:r=D.ObjectShorthandFunctionScopedDeclaration:r=D.ObjectShorthand,s.tokens[s.tokens.length-1].identifierRole=r,cn(n,!0)}function Nl(e,n,r){K?F1():Y&&ti(),Dl(e,r)||Ll(e,n)}function At(e){Y&&$n(),f(t.bracketL)?(s.tokens[s.tokens.length-1].contextId=e,ke(),m(t.bracketR),s.tokens[s.tokens.length-1].contextId=e):(a(t.num)||a(t.string)||a(t.bigint)||a(t.decimal)?We():Vn(),s.tokens[s.tokens.length-1].identifierRole=D.ObjectKey,s.tokens[s.tokens.length-1].contextId=e)}function Wn(e,n){let r=wt();s.scopeDepth++;let o=s.tokens.length;ft(n,r),Fs(e,r);let c=s.tokens.length;s.scopes.push(new Be(o,c,!0)),s.scopeDepth--}function Xt(e){St(!0);let n=s.tokens.length;s.scopes.push(new Be(e,n,!0)),s.scopeDepth--}function Fs(e,n=0){K?S1(e,n):Y?J1(n):St(!1,n)}function St(e,n=0){e&&!a(t.braceL)?ke():mt(!0,n)}function oi(e,n=!1){let r=!0;for(;!f(e)&&!s.error;){if(r)r=!1;else if(m(t.comma),f(e))break;ri(n)}}function ri(e){e&&a(t.comma)||(a(t.ellipsis)?(ds(),Ns()):a(t.question)?d():ke(!1,!0))}function q(){d(),s.tokens[s.tokens.length-1].type=t.name}function vl(){Ht()}function _l(){d(),!a(t.semi)&&!be()&&(f(t.star),ke())}function Il(){pe(l._module),m(t.braceL),zt(t.braceR)}function Ol(e){return(e.type===t.name||!!(e.type&t.IS_KEYWORD))&&e.contextualKeyword!==l._from}function st(e){let n=G(0);m(e||t.colon),Le(),X(n)}function ii(){m(t.modulo),pe(l._checks),f(t.parenL)&&(ge(),m(t.parenR))}function Bs(){let e=G(0);m(t.colon),a(t.modulo)?ii():(Le(),a(t.modulo)&&ii()),X(e)}function Fl(){d(),qs(!0)}function Ml(){d(),q(),a(t.lessThan)&&Ge(),m(t.parenL),$s(),m(t.parenR),Bs(),oe()}function Hs(){a(t._class)?Fl():a(t._function)?Ml():a(t._var)?jl():ue(l._module)?f(t.dot)?$l():Bl():L(l._type)?Hl():L(l._opaque)?zl():L(l._interface)?Vl():a(t._export)?ql():z()}function jl(){d(),ai(),oe()}function Bl(){for(a(t.string)?We():q(),m(t.braceL);!a(t.braceR)&&!s.error;)a(t._import)?(d(),js()):z();m(t.braceR)}function ql(){m(t._export),f(t._default)?a(t._function)||a(t._class)?Hs():(Le(),oe()):a(t._var)||a(t._function)||a(t._class)||L(l._opaque)?Hs():a(t.star)||a(t.braceL)||L(l._interface)||L(l._type)||L(l._opaque)?Ms():z()}function $l(){pe(l._exports),ht(),oe()}function Hl(){d(),zs()}function zl(){d(),Vs(!0)}function Vl(){d(),qs()}function qs(e=!1){if(Qn(),a(t.lessThan)&&Ge(),f(t._extends))do Jn();while(!e&&f(t.comma));if(L(l._mixins)){d();do Jn();while(f(t.comma))}if(L(l._implements)){d();do Jn();while(f(t.comma))}Kn(e,!1,e)}function Jn(){ci(!1),a(t.lessThan)&&vt()}function Us(){qs()}function Qn(){q()}function zs(){Qn(),a(t.lessThan)&&Ge(),st(t.eq),oe()}function Vs(e){pe(l._type),Qn(),a(t.lessThan)&&Ge(),a(t.colon)&&st(t.colon),e||st(t.eq),oe()}function Ul(){$n(),ai(),f(t.eq)&&Le()}function Ge(){let e=G(0);a(t.lessThan)||a(t.typeParameterStart)?d():z();do Ul(),a(t.greaterThan)||m(t.comma);while(!a(t.greaterThan)&&!s.error);m(t.greaterThan),X(e)}function vt(){let e=G(0);for(m(t.lessThan);!a(t.greaterThan)&&!s.error;)Le(),a(t.greaterThan)||m(t.comma);m(t.greaterThan),X(e)}function Wl(){if(pe(l._interface),f(t._extends))do Jn();while(f(t.comma));Kn(!1,!1,!1)}function Ws(){a(t.num)||a(t.string)?We():q()}function Gl(){ie()===t.colon?(Ws(),st()):Le(),m(t.bracketR),st()}function Xl(){Ws(),m(t.bracketR),m(t.bracketR),a(t.lessThan)||a(t.parenL)?Gs():(f(t.question),st())}function Gs(){for(a(t.lessThan)&&Ge(),m(t.parenL);!a(t.parenR)&&!a(t.ellipsis)&&!s.error;)Yn(),a(t.parenR)||m(t.comma);f(t.ellipsis)&&Yn(),m(t.parenR),st()}function Jl(){Gs()}function Kn(e,n,r){let o;for(n&&a(t.braceBarL)?(m(t.braceBarL),o=t.braceBarR):(m(t.braceL),o=t.braceR);!a(o)&&!s.error;){if(r&&L(l._proto)){let i=ie();i!==t.colon&&i!==t.question&&(d(),e=!1)}if(e&&L(l._static)){let i=ie();i!==t.colon&&i!==t.question&&d()}if($n(),f(t.bracketL))f(t.bracketL)?Xl():Gl();else if(a(t.parenL)||a(t.lessThan))Jl();else{if(L(l._get)||L(l._set)){let i=ie();(i===t.name||i===t.string||i===t.num)&&d()}Ql()}Kl()}m(o)}function Ql(){if(a(t.ellipsis)){if(m(t.ellipsis),f(t.comma)||f(t.semi),a(t.braceR))return;Le()}else Ws(),a(t.lessThan)||a(t.parenL)?Gs():(f(t.question),st())}function Kl(){!f(t.semi)&&!f(t.comma)&&!a(t.braceR)&&!a(t.braceBarR)&&z()}function ci(e){for(e||q();f(t.dot);)q()}function Yl(){ci(!0),a(t.lessThan)&&vt()}function Zl(){m(t._typeof),li()}function eu(){for(m(t.bracketL);s.pos<E.length&&!a(t.bracketR)&&(Le(),!a(t.bracketR));)m(t.comma);m(t.bracketR)}function Yn(){let e=ie();e===t.colon||e===t.question?(q(),f(t.question),st()):Le()}function $s(){for(;!a(t.parenR)&&!a(t.ellipsis)&&!s.error;)Yn(),a(t.parenR)||m(t.comma);f(t.ellipsis)&&Yn()}function li(){let e=!1,n=s.noAnonFunctionType;switch(s.type){case t.name:{if(L(l._interface)){Wl();return}q(),Yl();return}case t.braceL:Kn(!1,!1,!1);return;case t.braceBarL:Kn(!1,!0,!1);return;case t.bracketL:eu();return;case t.lessThan:Ge(),m(t.parenL),$s(),m(t.parenR),m(t.arrow),Le();return;case t.parenL:if(d(),!a(t.parenR)&&!a(t.ellipsis))if(a(t.name)){let r=ie();e=r!==t.question&&r!==t.colon}else e=!0;if(e)if(s.noAnonFunctionType=!1,Le(),s.noAnonFunctionType=n,s.noAnonFunctionType||!(a(t.comma)||a(t.parenR)&&ie()===t.arrow)){m(t.parenR);return}else f(t.comma);$s(),m(t.parenR),m(t.arrow),Le();return;case t.minus:d(),xt();return;case t.string:case t.num:case t._true:case t._false:case t._null:case t._this:case t._void:case t.star:d();return;default:if(s.type===t._typeof){Zl();return}else if(s.type&t.IS_KEYWORD){d(),s.tokens[s.tokens.length-1].type=t.name;return}}z()}function tu(){for(li();!be()&&(a(t.bracketL)||a(t.questionDot));)f(t.questionDot),m(t.bracketL),f(t.bracketR)||(Le(),m(t.bracketR))}function ui(){f(t.question)?ui():tu()}function pi(){ui(),!s.noAnonFunctionType&&f(t.arrow)&&Le()}function fi(){for(f(t.bitwiseAND),pi();f(t.bitwiseAND);)pi()}function nu(){for(f(t.bitwiseOR),fi();f(t.bitwiseOR);)fi()}function Le(){nu()}function ht(){st()}function ai(){q(),a(t.colon)&&ht()}function $n(){(a(t.plus)||a(t.minus))&&(d(),s.tokens[s.tokens.length-1].isType=!0)}function J1(e){a(t.colon)&&Bs(),St(!1,e)}function K1(e,n,r){if(a(t.questionDot)&&ie()===t.lessThan){if(n){r.stop=!0;return}d(),vt(),m(t.parenL),Ye();return}else if(!n&&a(t.lessThan)){let o=s.snapshot();if(vt(),m(t.parenL),Ye(),s.error)s.restoreFromSnapshot(o);else return}ln(e,n,r)}function ei(){if(a(t.lessThan)){let e=s.snapshot();vt(),s.error&&s.restoreFromSnapshot(e)}}function mi(){if(a(t.name)&&s.contextualKeyword===l._interface){let e=G(0);return d(),Us(),X(e),!0}else if(L(l._enum))return hi(),!0;return!1}function di(){return L(l._enum)?(hi(),!0):!1}function ki(e){if(e===l._declare){if(a(t._class)||a(t.name)||a(t._function)||a(t._var)||a(t._export)){let n=G(1);Hs(),X(n)}}else if(a(t.name)){if(e===l._interface){let n=G(1);Us(),X(n)}else if(e===l._type){let n=G(1);zs(),X(n)}else if(e===l._opaque){let n=G(1);Vs(!1),X(n)}}oe()}function gi(){return L(l._type)||L(l._interface)||L(l._opaque)||L(l._enum)}function xi(){return a(t.name)&&(s.contextualKeyword===l._type||s.contextualKeyword===l._interface||s.contextualKeyword===l._opaque||s.contextualKeyword===l._enum)}function _i(){if(L(l._type)){let e=G(1);d(),a(t.braceL)?(Xn(),Jt()):zs(),X(e)}else if(L(l._opaque)){let e=G(1);d(),Vs(!1),X(e)}else if(L(l._interface)){let e=G(1);d(),Us(),X(e)}else Ne(!0)}function yi(){return a(t.star)||L(l._type)&&ie()===t.star}function Ti(){if(ue(l._type)){let e=G(2);Gn(),X(e)}else Gn()}function Ii(e){if(e&&a(t.lessThan)&&vt(),L(l._implements)){let n=G(0);d(),s.tokens[s.tokens.length-1].type=t._implements;do Qn(),a(t.lessThan)&&vt();while(f(t.comma));X(n)}}function ti(){a(t.lessThan)&&(Ge(),a(t.parenL)||z())}function c1(){let e=G(0);f(t.question),a(t.colon)&&ht(),X(e)}function bi(){if(a(t._typeof)||L(l._type)){let e=it();(Ol(e)||e.type===t.braceL||e.type===t.star)&&d()}}function wi(){let e=s.contextualKeyword===l._type||s.type===t._typeof;e?d():q(),L(l._as)&&!Mt(l._as)?(q(),e&&!a(t.name)&&!(s.type&t.IS_KEYWORD)||q()):(e&&(a(t.name)||!!(s.type&t.IS_KEYWORD))&&q(),ue(l._as)&&q())}function Si(){if(a(t.lessThan)){let e=G(0);Ge(),X(e)}}function Ai(){a(t.colon)&&ht()}function Z1(){if(a(t.colon)){let e=s.noAnonFunctionType;s.noAnonFunctionType=!0,ht(),s.noAnonFunctionType=e}}function Q1(e,n){if(a(t.lessThan)){let r=s.snapshot(),o=Ue(e,n);if(s.error)s.restoreFromSnapshot(r),s.type=t.typeParameterStart;else return o;let i=G(0);if(Ge(),X(i),o=Ue(e,n),o)return!0;z()}return Ue(e,n)}function X1(){if(a(t.colon)){let e=G(0),n=s.snapshot(),r=s.noAnonFunctionType;s.noAnonFunctionType=!0,Bs(),s.noAnonFunctionType=r,be()&&z(),a(t.arrow)||z(),s.error&&s.restoreFromSnapshot(n),X(e)}return f(t.arrow)}function Y1(e,n=!1){if(s.tokens[s.tokens.length-1].contextualKeyword===l._async&&a(t.lessThan)){let r=s.snapshot();if(ru()&&!s.error)return;s.restoreFromSnapshot(r)}Ls(e,n)}function ru(){s.scopeDepth++;let e=s.tokens.length;return ft(),Un()?(Xt(e),!0):!1}function hi(){pe(l._enum),s.tokens[s.tokens.length-1].type=t._enum,q(),su()}function su(){ue(l._of)&&d(),m(t.braceL),ou(),m(t.braceR)}function ou(){for(;!a(t.braceR)&&!s.error&&!f(t.ellipsis);)iu(),a(t.braceR)||m(t.comma)}function iu(){q(),f(t.eq)&&d()}function Ei(){if(zt(t.eof),s.scopes.push(new Be(0,s.tokens.length,!0)),s.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${s.scopeDepth}`);return new Xs(s.tokens,s.scopes)}function Ne(e){Y&&mi()||(a(t.at)&&Hn(),au(e))}function au(e){if(K&&N1())return;let n=s.type;switch(n){case t._break:case t._continue:cu();return;case t._debugger:lu();return;case t._do:uu();return;case t._for:pu();return;case t._function:if(ie()===t.dot)break;e||z(),fu();return;case t._class:e||z(),ut(!0);return;case t._if:hu();return;case t._return:mu();return;case t._switch:du();return;case t._throw:ku();return;case t._try:gu();return;case t._let:case t._const:e||z();case t._var:Fn(n!==t._var);return;case t._while:xu();return;case t.braceL:mt();return;case t.semi:_u();return;case t._export:case t._import:{let i=ie();if(i===t.parenL||i===t.dot)break;d(),n===t._import?js():Ms();return}case t.name:if(s.contextualKeyword===l._async){let i=s.start,c=s.snapshot();if(d(),a(t._function)&&!be()){m(t._function),pt(i,!0);return}else s.restoreFromSnapshot(c)}else if(s.contextualKeyword===l._using&&!Tn()&&ie()===t.name){Fn(!0);return}default:break}let r=s.tokens.length;ge();let o=null;if(s.tokens.length===r+1){let i=s.tokens[s.tokens.length-1];i.type===t.name&&(o=i.contextualKeyword)}if(o==null){oe();return}f(t.colon)?yu():Tu(o)}function Hn(){for(;a(t.at);)vi()}function vi(){if(d(),f(t.parenL))ge(),m(t.parenR);else{for(q();f(t.dot);)q();Iu()}}function Iu(){K?H1():xs()}function xs(){f(t.parenL)&&Ye()}function cu(){d(),Ve()||(q(),oe())}function lu(){d(),oe()}function uu(){d(),Ne(!1),m(t._while),fn(),f(t.semi)}function pu(){s.scopeDepth++;let e=s.tokens.length;bu();let n=s.tokens.length;s.scopes.push(new Be(e,n,!1)),s.scopeDepth--}function wu(){return!(!L(l._using)||Mt(l._of))}function bu(){d();let e=!1;if(L(l._await)&&(e=!0,d()),m(t.parenL),a(t.semi)){e&&z(),Js();return}if(a(t._var)||a(t._let)||a(t._const)||wu()){if(d(),Pi(!0,s.type!==t._var),a(t._in)||L(l._of)){Ci(e);return}Js();return}if(ge(!0),a(t._in)||L(l._of)){Ci(e);return}e&&z(),Js()}function fu(){let e=s.start;d(),pt(e,!0)}function hu(){d(),fn(),Ne(!1),f(t._else)&&Ne(!1)}function mu(){d(),Ve()||(ge(),oe())}function du(){d(),fn(),s.scopeDepth++;let e=s.tokens.length;for(m(t.braceL);!a(t.braceR)&&!s.error;)if(a(t._case)||a(t._default)){let r=a(t._case);d(),r&&ge(),m(t.colon)}else Ne(!0);d();let n=s.tokens.length;s.scopes.push(new Be(e,n,!1)),s.scopeDepth--}function ku(){d(),ge(),oe()}function Su(){on(!0),K&&Et()}function gu(){if(d(),mt(),a(t._catch)){d();let e=null;if(a(t.parenL)&&(s.scopeDepth++,e=s.tokens.length,m(t.parenL),Su(),m(t.parenR)),mt(),e!=null){let n=s.tokens.length;s.scopes.push(new Be(e,n,!1)),s.scopeDepth--}}f(t._finally)&&mt()}function Fn(e){d(),Pi(!1,e),oe()}function xu(){d(),fn(),Ne(!1)}function _u(){d()}function yu(){Ne(!0)}function Tu(e){K?D1(e):Y?ki(e):oe()}function mt(e=!1,n=0){let r=s.tokens.length;s.scopeDepth++,m(t.braceL),n&&(s.tokens[s.tokens.length-1].contextId=n),zt(t.braceR),n&&(s.tokens[s.tokens.length-1].contextId=n);let o=s.tokens.length;s.scopes.push(new Be(r,o,e)),s.scopeDepth--}function zt(e){for(;!f(e)&&!s.error;)Ne(!0)}function Js(){m(t.semi),a(t.semi)||ge(),m(t.semi),a(t.parenR)||ge(),m(t.parenR),Ne(!1)}function Ci(e){e?ue(l._of):d(),ge(),m(t.parenR),Ne(!1)}function Pi(e,n){for(;;){if(Au(n),f(t.eq)){let r=s.tokens.length-1;ke(e),s.tokens[r].rhsEndIndex=s.tokens.length}if(!f(t.comma))break}}function Au(e){on(e),K?j1():Y&&Ai()}function pt(e,n,r=!1){a(t.star)&&d(),n&&!r&&!a(t.name)&&!a(t._yield)&&z();let o=null;a(t.name)&&(n||(o=s.tokens.length,s.scopeDepth++),Ke(!1));let i=s.tokens.length;s.scopeDepth++,ft(),Fs(e);let c=s.tokens.length;s.scopes.push(new Be(i,c,!0)),s.scopeDepth--,o!==null&&(s.scopes.push(new Be(o,c,!0)),s.scopeDepth--)}function ft(e=!1,n=0){K?M1():Y&&Si(),m(t.parenL),n&&(s.tokens[s.tokens.length-1].contextId=n),an(t.parenR,!1,!1,e,n),n&&(s.tokens[s.tokens.length-1].contextId=n)}function ut(e,n=!1){let r=wt();d(),s.tokens[s.tokens.length-1].contextId=r,s.tokens[s.tokens.length-1].isExpression=!e;let o=null;e||(o=s.tokens.length,s.scopeDepth++),vu(e,n),Cu();let i=s.tokens.length;if(Eu(r),!s.error&&(s.tokens[i].contextId=r,s.tokens[s.tokens.length-1].contextId=r,o!==null)){let c=s.tokens.length;s.scopes.push(new Be(o,c,!1)),s.scopeDepth--}}function Ni(){return a(t.eq)||a(t.semi)||a(t.braceR)||a(t.bang)||a(t.colon)}function Ri(){return a(t.parenL)||a(t.lessThan)}function Eu(e){for(m(t.braceL);!f(t.braceR)&&!s.error;){if(f(t.semi))continue;if(a(t.at)){vi();continue}let n=s.start;Pu(n,e)}}function Pu(e,n){K&&rn([l._declare,l._public,l._protected,l._private,l._override]);let r=!1;if(a(t.name)&&s.contextualKeyword===l._static){if(q(),Ri()){hn(e,!1);return}else if(Ni()){Zn();return}if(s.tokens[s.tokens.length-1].type=t._static,r=!0,a(t.braceL)){s.tokens[s.tokens.length-1].contextId=n,mt();return}}Nu(e,r,n)}function Nu(e,n,r){if(K&&R1(n))return;if(f(t.star)){mn(r),hn(e,!1);return}mn(r);let o=!1,i=s.tokens[s.tokens.length-1];i.contextualKeyword===l._constructor&&(o=!0),Di(),Ri()?hn(e,o):Ni()?Zn():i.contextualKeyword===l._async&&!Ve()?(s.tokens[s.tokens.length-1].type=t._async,a(t.star)&&d(),mn(r),Di(),hn(e,!1)):(i.contextualKeyword===l._get||i.contextualKeyword===l._set)&&!(Ve()&&a(t.star))?(i.contextualKeyword===l._get?s.tokens[s.tokens.length-1].type=t._get:s.tokens[s.tokens.length-1].type=t._set,mn(r),hn(e,!1)):i.contextualKeyword===l._accessor&&!Ve()?(mn(r),Zn()):Ve()?Zn():z()}function hn(e,n){K?_t():Y&&a(t.lessThan)&&Ge(),Wn(e,n)}function mn(e){At(e)}function Di(){if(K){let e=G(0);f(t.question),X(e)}}function Zn(){if(K?(wn(t.bang),Et()):Y&&a(t.colon)&&ht(),a(t.eq)){let e=s.tokens.length;d(),ke(),s.tokens[e].rhsEndIndex=s.tokens.length}oe()}function vu(e,n=!1){K&&(!e||n)&&L(l._implements)||(a(t.name)&&Ke(!0),K?_t():Y&&a(t.lessThan)&&Ge())}function Cu(){let e=!1;f(t._extends)?(Rs(),e=!0):e=!1,K?O1(e):Y&&Ii(e)}function Ms(){let e=s.tokens.length-1;K&&E1()||(Ou()?Fu():Lu()?(q(),a(t.comma)&&ie()===t.star?(m(t.comma),m(t.star),pe(l._as),q()):Li(),Jt()):f(t._default)?Ru():Mu()?Du():(Xn(),Jt()),s.tokens[e].rhsEndIndex=s.tokens.length)}function Ru(){if(K&&P1()||Y&&di())return;let e=s.start;f(t._function)?pt(e,!0,!0):L(l._async)&&ie()===t._function?(ue(l._async),f(t._function),pt(e,!0,!0)):a(t._class)?ut(!0,!0):a(t.at)?(Hn(),ut(!0,!0)):(ke(),oe())}function Du(){K?L1():Y?_i():Ne(!0)}function Lu(){if(K&&Es())return!1;if(Y&&xi())return!1;if(a(t.name))return s.contextualKeyword!==l._async;if(!a(t._default))return!1;let e=Zt(),n=it(),r=n.type===t.name&&n.contextualKeyword===l._from;if(n.type===t.comma)return!0;if(r){let o=E.charCodeAt(Xr(e+4));return o===u.quotationMark||o===u.apostrophe}return!1}function Li(){f(t.comma)&&Xn()}function Jt(){ue(l._from)&&(We(),Oi()),oe()}function Ou(){return Y?yi():a(t.star)}function Fu(){Y?Ti():Gn()}function Gn(){m(t.star),L(l._as)?ju():Jt()}function ju(){d(),s.tokens[s.tokens.length-1].type=t._as,q(),Li(),Jt()}function Mu(){return K&&Es()||Y&&gi()||s.type===t._var||s.type===t._const||s.type===t._let||s.type===t._function||s.type===t._class||L(l._async)||a(t.at)}function Xn(){let e=!0;for(m(t.braceL);!f(t.braceR)&&!s.error;){if(e)e=!1;else if(m(t.comma),f(t.braceR))break;Bu()}}function Bu(){if(K){C1();return}q(),s.tokens[s.tokens.length-1].identifierRole=D.ExportAccess,ue(l._as)&&q()}function qu(){let e=s.snapshot();return pe(l._module),ue(l._from)?L(l._from)?(s.restoreFromSnapshot(e),!0):(s.restoreFromSnapshot(e),!1):a(t.comma)?(s.restoreFromSnapshot(e),!1):(s.restoreFromSnapshot(e),!0)}function $u(){L(l._module)&&qu()&&d()}function js(){if(K&&a(t.name)&&ie()===t.eq){Bn();return}if(K&&L(l._type)){let e=it();if(e.type===t.name&&e.contextualKeyword!==l._from){if(pe(l._type),ie()===t.eq){Bn();return}}else(e.type===t.star||e.type===t.braceL)&&pe(l._type)}a(t.string)?We():($u(),Hu(),pe(l._from),We()),Oi(),oe()}function zu(){return a(t.name)}function Fi(){$t()}function Hu(){Y&&bi();let e=!0;if(!(zu()&&(Fi(),!f(t.comma)))){if(a(t.star)){d(),pe(l._as),Fi();return}for(m(t.braceL);!f(t.braceR)&&!s.error;){if(e)e=!1;else if(f(t.colon)&&z("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),m(t.comma),f(t.braceR))break;Vu()}}}function Vu(){if(K){v1();return}if(Y){wi();return}$t(),L(l._as)&&(s.tokens[s.tokens.length-1].identifierRole=D.ImportAccess,d(),$t())}function Oi(){L(l._assert)&&!Ae()&&(d(),sn(!1,!1))}function Mi(){return s.pos===0&&E.charCodeAt(0)===u.numberSign&&E.charCodeAt(1)===u.exclamationMark&&Yr(2),Gr(),Ei()}var Xs=class{constructor(n,r){this.tokens=n,this.scopes=r}};function ji(e,n,r,o){if(o&&r)throw new Error("Cannot combine flow and typescript plugins.");fo(e,n,r,o);let i=Mi();if(s.error)throw uo(s.error);return i}function Qs(e){let n=e.currentIndex(),r=0,o=e.currentToken();do{let i=e.tokens[n];if(i.isOptionalChainStart&&r++,i.isOptionalChainEnd&&r--,r+=i.numNullishCoalesceStarts,r-=i.numNullishCoalesceEnds,i.contextualKeyword===l._await&&i.identifierRole==null&&i.scopeDepth===o.scopeDepth)return!0;n+=1}while(r>0&&n<e.tokens.length);return!1}var Ct=class{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(n,r,o,i,c){this.code=n,this.tokens=r,this.isFlowEnabled=o,this.disableESTransforms=i,this.helperManager=c,Ct.prototype.__init.call(this),Ct.prototype.__init2.call(this),Ct.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(n){this.resultCode=n.resultCode,this.tokenIndex=n.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(n){let r=this.resultCode.slice(n.resultCode.length);return this.resultCode=n.resultCode,r}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(n,r){return this.matches1AtIndex(n,t.name)&&this.tokens[n].contextualKeyword===r}identifierNameAtIndex(n){return this.identifierNameForToken(this.tokens[n])}identifierNameAtRelativeIndex(n){return this.identifierNameForToken(this.tokenAtRelativeIndex(n))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(n){return this.code.slice(n.start,n.end)}rawCodeForToken(n){return this.code.slice(n.start,n.end)}stringValueAtIndex(n){return this.stringValueForToken(this.tokens[n])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(n){return this.code.slice(n.start+1,n.end-1)}matches1AtIndex(n,r){return this.tokens[n].type===r}matches2AtIndex(n,r,o){return this.tokens[n].type===r&&this.tokens[n+1].type===o}matches3AtIndex(n,r,o,i){return this.tokens[n].type===r&&this.tokens[n+1].type===o&&this.tokens[n+2].type===i}matches1(n){return this.tokens[this.tokenIndex].type===n}matches2(n,r){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===r}matches3(n,r,o){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===o}matches4(n,r,o,i){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===o&&this.tokens[this.tokenIndex+3].type===i}matches5(n,r,o,i,c){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===r&&this.tokens[this.tokenIndex+2].type===o&&this.tokens[this.tokenIndex+3].type===i&&this.tokens[this.tokenIndex+4].type===c}matchesContextual(n){return this.matchesContextualAtIndex(this.tokenIndex,n)}matchesContextIdAndLabel(n,r){return this.matches1(n)&&this.currentToken().contextId===r}previousWhitespaceAndComments(){let n=this.code.slice(this.tokenIndex>0?this.tokens[this.tokenIndex-1].end:0,this.tokenIndex<this.tokens.length?this.tokens[this.tokenIndex].start:this.code.length);return this.isFlowEnabled&&(n=n.replace(/@flow/g,"")),n}replaceToken(n){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=n,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(n){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=n,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let n=0;for(;!this.isAtEnd();){if(this.matches1(t.braceL))n++;else if(this.matches1(t.braceR)){if(n===0)return;n--}this.removeToken()}}copyExpectedToken(n){if(this.tokens[this.tokenIndex].type!==n)throw new Error(`Expected token ${n}`);this.copyToken()}copyToken(){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}copyTokenWithPrefix(n){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=n,this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=this.code.slice(this.tokens[this.tokenIndex].start,this.tokens[this.tokenIndex].end),this.appendTokenSuffix(),this.tokenIndex++}appendTokenPrefix(){let n=this.currentToken();if((n.numNullishCoalesceStarts||n.isOptionalChainStart)&&(n.isAsyncOperation=Qs(this)),!this.disableESTransforms){if(n.numNullishCoalesceStarts)for(let r=0;r<n.numNullishCoalesceStarts;r++)n.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";n.isOptionalChainStart&&(n.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===t._delete?n.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):n.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let n=this.currentToken();if(n.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),n.numNullishCoalesceEnds&&!this.disableESTransforms)for(let r=0;r<n.numNullishCoalesceEnds;r++)this.resultCode+="))"}appendCode(n){this.resultCode+=n}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let n=this.currentToken();return this.code.slice(n.start,n.end)}tokenAtRelativeIndex(n){return this.tokens[this.tokenIndex+n]}currentIndex(){return this.tokenIndex}nextToken(){if(this.tokenIndex===this.tokens.length)throw new Error("Unexpectedly reached end of input.");this.tokenIndex++}previousToken(){this.tokenIndex--}finish(){if(this.tokenIndex!==this.tokens.length)throw new Error("Tried to finish processing tokens before reaching the end.");return this.resultCode+=this.previousWhitespaceAndComments(),{code:this.resultCode,mappings:this.resultMappings}}isAtEnd(){return this.tokenIndex===this.tokens.length}},Bi=Ct;function Ys(e,n,r,o){let i=n.snapshot(),c=Uu(n),p=[],k=[],v=[],T=null,N=[],M=[],F=n.currentToken().contextId;if(F==null)throw new Error("Expected non-null class context ID on class open-brace.");for(n.nextToken();!n.matchesContextIdAndLabel(t.braceR,F);)if(n.matchesContextual(l._constructor)&&!n.currentToken().isType)({constructorInitializerStatements:p,constructorInsertPos:T}=qi(n));else if(n.matches1(t.semi))o||M.push({start:n.currentIndex(),end:n.currentIndex()+1}),n.nextToken();else if(n.currentToken().isType)n.nextToken();else{let $=n.currentIndex(),J=!1,y=!1,I=!1;for(;er(n.currentToken());)n.matches1(t._static)&&(J=!0),n.matches1(t.hash)&&(y=!0),(n.matches1(t._declare)||n.matches1(t._abstract))&&(I=!0),n.nextToken();if(J&&n.matches1(t.braceL)){Ks(n,F);continue}if(y){Ks(n,F);continue}if(n.matchesContextual(l._constructor)&&!n.currentToken().isType){({constructorInitializerStatements:p,constructorInsertPos:T}=qi(n));continue}let g=n.currentIndex();if(Wu(n),n.matches1(t.lessThan)||n.matches1(t.parenL)){Ks(n,F);continue}for(;n.currentToken().isType;)n.nextToken();if(n.matches1(t.eq)){let R=n.currentIndex(),x=n.currentToken().rhsEndIndex;if(x==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(n.nextToken();n.currentIndex()<x;)e.processToken();let b;J?(b=r.claimFreeName("__initStatic"),v.push(b)):(b=r.claimFreeName("__init"),k.push(b)),N.push({initializerName:b,equalsIndex:R,start:g,end:n.currentIndex()})}else(!o||I)&&M.push({start:$,end:n.currentIndex()})}return n.restoreToSnapshot(i),o?{headerInfo:c,constructorInitializerStatements:p,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:T,fields:[],rangesToRemove:M}:{headerInfo:c,constructorInitializerStatements:p,instanceInitializerNames:k,staticInitializerNames:v,constructorInsertPos:T,fields:N,rangesToRemove:M}}function Ks(e,n){for(e.nextToken();e.currentToken().contextId!==n;)e.nextToken();for(;er(e.tokenAtRelativeIndex(-1));)e.previousToken()}function Uu(e){let n=e.currentToken(),r=n.contextId;if(r==null)throw new Error("Expected context ID on class token.");let o=n.isExpression;if(o==null)throw new Error("Expected isExpression on class token.");let i=null,c=!1;for(e.nextToken(),e.matches1(t.name)&&(i=e.identifierName());!e.matchesContextIdAndLabel(t.braceL,r);)e.matches1(t._extends)&&!e.currentToken().isType&&(c=!0),e.nextToken();return{isExpression:o,className:i,hasSuperclass:c}}function qi(e){let n=[];e.nextToken();let r=e.currentToken().contextId;if(r==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(t.parenR,r);)if(e.currentToken().contextId===r){if(e.nextToken(),er(e.currentToken())){for(e.nextToken();er(e.currentToken());)e.nextToken();let c=e.currentToken();if(c.type!==t.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let p=e.identifierNameForToken(c);n.push(`this.${p} = ${p}`)}}else e.nextToken();e.nextToken();let o=e.currentIndex(),i=!1;for(;!e.matchesContextIdAndLabel(t.braceR,r);){if(!i&&e.matches2(t._super,t.parenL)){e.nextToken();let c=e.currentToken().contextId;if(c==null)throw new Error("Expected a context ID on the super call");for(;!e.matchesContextIdAndLabel(t.parenR,c);)e.nextToken();o=e.currentIndex(),i=!0}e.nextToken()}return e.nextToken(),{constructorInitializerStatements:n,constructorInsertPos:o}}function er(e){return[t._async,t._get,t._set,t.plus,t.minus,t._readonly,t._static,t._public,t._private,t._protected,t._override,t._abstract,t.star,t._declare,t.hash].includes(e.type)}function Wu(e){if(e.matches1(t.bracketL)){let r=e.currentToken().contextId;if(r==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(t.bracketR,r);)e.nextToken();e.nextToken()}else e.nextToken()}function dn(e){if(e.removeInitialToken(),e.removeToken(),e.removeToken(),e.removeToken(),e.matches1(t.parenL))e.removeToken(),e.removeToken(),e.removeToken();else for(;e.matches1(t.dot);)e.removeToken(),e.removeToken()}var tr={typeDeclarations:new Set,valueDeclarations:new Set};function kn(e){let n=new Set,r=new Set;for(let o=0;o<e.tokens.length;o++){let i=e.tokens[o];i.type===t.name&&bn(i)&&(i.isType?n.add(e.identifierNameForToken(i)):r.add(e.identifierNameForToken(i)))}return{typeDeclarations:n,valueDeclarations:r}}function Tt(e){e.matches2(t.name,t.braceL)&&e.matchesContextual(l._assert)&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}function gn(e,n,r){if(!e)return!1;let o=n.currentToken();if(o.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let i=o.rhsEndIndex-n.currentIndex();if(i!==3&&!(i===4&&n.matches1AtIndex(o.rhsEndIndex-1,t.semi)))return!1;let c=n.tokenAtRelativeIndex(2);if(c.type!==t.name)return!1;let p=n.identifierNameForToken(c);return r.typeDeclarations.has(p)&&!r.valueDeclarations.has(p)}var Pt=class extends de{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(n,r,o,i,c,p,k,v,T,N){super();this.rootTransformer=n,this.tokens=r,this.importProcessor=o,this.nameManager=i,this.helperManager=c,this.reactHotLoaderTransformer=p,this.enableLegacyBabel5ModuleInterop=k,this.enableLegacyTypeScriptModuleInterop=v,this.isTypeScriptTransformEnabled=T,this.preserveDynamicImport=N,Pt.prototype.__init.call(this),Pt.prototype.__init2.call(this),Pt.prototype.__init3.call(this),this.declarationInfo=T?kn(r):tr}getPrefixCode(){let n="";return this.hadExport&&(n+='Object.defineProperty(exports, "__esModule", {value: true});'),n}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
117
+ module.exports = exports.default;
118
+ `:""}process(){return this.tokens.matches3(t._import,t.name,t.eq)?this.processImportEquals():this.tokens.matches1(t._import)?(this.processImport(),!0):this.tokens.matches2(t._export,t.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(t._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(t.name,t.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(t.name)||this.tokens.matches1(t.jsxName)?this.processIdentifier():this.tokens.matches1(t.eq)?this.processAssignment():this.tokens.matches1(t.assign)?this.processComplexAssignment():this.tokens.matches1(t.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.isTypeName(n)?dn(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(t._import,t.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let r=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${r}require`);let o=this.tokens.currentToken().contextId;if(o==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(t.parenR,o);)this.rootTransformer.processToken();this.tokens.replaceToken(r?")))":"))");return}if(this.removeImportAndDetectIfType())this.tokens.removeToken();else{let r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),this.tokens.appendCode(this.importProcessor.claimImportCode(r))}Tt(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}removeImportAndDetectIfType(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(l._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(t.name)||this.tokens.matches1(t.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(t.string))return!1;let n=!1;for(;!this.tokens.matches1(t.string);)(!n&&this.tokens.matches1(t.braceL)||this.tokens.matches1(t.comma))&&(this.tokens.removeToken(),(this.tokens.matches2(t.name,t.comma)||this.tokens.matches2(t.name,t.braceR)||this.tokens.matches4(t.name,t.name,t.name,t.comma)||this.tokens.matches4(t.name,t.name,t.name,t.braceR))&&(n=!0)),this.tokens.removeToken();return!n}removeRemainingImport(){for(;!this.tokens.matches1(t.string);)this.tokens.removeToken()}processIdentifier(){let n=this.tokens.currentToken();if(n.shadowsGlobal)return!1;if(n.identifierRole===D.ObjectShorthand)return this.processObjectShorthand();if(n.identifierRole!==D.Access)return!1;let r=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(n));if(!r)return!1;let o=this.tokens.currentIndex()+1;for(;o<this.tokens.tokens.length&&this.tokens.tokens[o].type===t.parenR;)o++;return this.tokens.tokens[o].type===t.parenL?this.tokens.tokenAtRelativeIndex(1).type===t.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==t._new?(this.tokens.replaceToken(`${r}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR)):this.tokens.replaceToken(`(0, ${r})`):this.tokens.replaceToken(r),!0}processObjectShorthand(){let n=this.tokens.identifierName(),r=this.importProcessor.getIdentifierReplacement(n);return r?(this.tokens.replaceToken(`${n}: ${r}`),!0):!1}processExport(){if(this.tokens.matches2(t._export,t._enum)||this.tokens.matches3(t._export,t._const,t._enum))return!1;if(this.tokens.matches2(t._export,t._default))return this.hadDefaultExport=!0,this.tokens.matches3(t._export,t._default,t._enum)?!1:(this.processExportDefault(),!0);if(this.hadNamedExport=!0,this.tokens.matches2(t._export,t._var)||this.tokens.matches2(t._export,t._let)||this.tokens.matches2(t._export,t._const))return this.processExportVar(),!0;if(this.tokens.matches2(t._export,t._function)||this.tokens.matches3(t._export,t.name,t._function))return this.processExportFunction(),!0;if(this.tokens.matches2(t._export,t._class)||this.tokens.matches3(t._export,t._abstract,t._class)||this.tokens.matches2(t._export,t.at))return this.processExportClass(),!0;if(this.tokens.matches2(t._export,t.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(t._export,t.star))return this.processExportStar(),!0;if(this.tokens.matches2(t._export,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(t.braceL)){for(;!this.tokens.matches1(t.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(t._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(l._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Tt(this.tokens)),!0}else throw new Error("Unrecognized export syntax.")}processAssignment(){let n=this.tokens.currentIndex(),r=this.tokens.tokens[n-1];if(r.isType||r.type!==t.name||r.shadowsGlobal||n>=2&&this.tokens.matches1AtIndex(n-2,t.dot)||n>=2&&[t._var,t._let,t._const].includes(this.tokens.tokens[n-2].type))return!1;let o=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return o?(this.tokens.copyToken(),this.tokens.appendCode(` ${o} =`),!0):!1}processComplexAssignment(){let n=this.tokens.currentIndex(),r=this.tokens.tokens[n-1];if(r.type!==t.name||r.shadowsGlobal||n>=2&&this.tokens.matches1AtIndex(n-2,t.dot))return!1;let o=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(r));return o?(this.tokens.appendCode(` = ${o}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let n=this.tokens.currentIndex(),r=this.tokens.tokens[n+1];if(r.type!==t.name||r.shadowsGlobal||n+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(n+2,t.dot)||this.tokens.matches1AtIndex(n+2,t.bracketL)||this.tokens.matches1AtIndex(n+2,t.parenL)))return!1;let o=this.tokens.identifierNameForToken(r),i=this.importProcessor.resolveExportBinding(o);return i?(this.tokens.appendCode(`${i} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let n=this.tokens.currentIndex(),r=this.tokens.tokens[n],o=this.tokens.tokens[n+1];if(r.type!==t.name||r.shadowsGlobal||n>=1&&this.tokens.matches1AtIndex(n-1,t.dot))return!1;let i=this.tokens.identifierNameForToken(r),c=this.importProcessor.resolveExportBinding(i);if(!c)return!1;let p=this.tokens.rawCodeForToken(o),k=this.importProcessor.getIdentifierReplacement(i)||i;if(p==="++")this.tokens.replaceToken(`(${k} = ${c} = ${k} + 1, ${k} - 1)`);else if(p==="--")this.tokens.replaceToken(`(${k} = ${c} = ${k} - 1, ${k} + 1)`);else throw new Error(`Unexpected operator: ${p}`);return this.tokens.removeToken(),!0}processExportDefault(){if(this.tokens.matches4(t._export,t._default,t._function,t.name)||this.tokens.matches5(t._export,t._default,t.name,t._function,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let n=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${n};`)}else if(this.tokens.matches4(t._export,t._default,t._class,t.name)||this.tokens.matches5(t._export,t._default,t._abstract,t._class,t.name)||this.tokens.matches3(t._export,t._default,t.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(t._abstract)&&this.tokens.removeToken();let n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${n};`)}else if(gn(this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let n=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${n}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${n} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(n)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =")}copyDecorators(){for(;this.tokens.matches1(t.at);)if(this.tokens.copyToken(),this.tokens.matches1(t.parenL))this.tokens.copyExpectedToken(t.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR);else{for(this.tokens.copyExpectedToken(t.name);this.tokens.matches1(t.dot);)this.tokens.copyExpectedToken(t.dot),this.tokens.copyExpectedToken(t.name);this.tokens.matches1(t.parenL)&&(this.tokens.copyExpectedToken(t.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let n=this.tokens.currentIndex();if(n++,n++,!this.tokens.matches1AtIndex(n,t.name))return!1;for(n++;n<this.tokens.tokens.length&&this.tokens.tokens[n].isType;)n++;return!!this.tokens.matches1AtIndex(n,t.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let n=this.tokens.identifierName();for(;!this.tokens.matches1(t.eq);)this.rootTransformer.processToken();let r=this.tokens.currentToken().rhsEndIndex;if(r==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${n} = ${n}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let n=this.tokens.matches1(t.braceL);n&&this.tokens.appendCode("(");let r=0;for(;;)if(this.tokens.matches1(t.braceL)||this.tokens.matches1(t.dollarBraceL)||this.tokens.matches1(t.bracketL))r++,this.tokens.copyToken();else if(this.tokens.matches1(t.braceR)||this.tokens.matches1(t.bracketR))r--,this.tokens.copyToken();else{if(r===0&&!this.tokens.matches1(t.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(t.eq)){let o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<o;)this.rootTransformer.processToken()}else{let o=this.tokens.currentToken();if(In(o)){let i=this.tokens.identifierName(),c=this.importProcessor.getIdentifierReplacement(i);if(c===null)throw new Error(`Expected a replacement for ${i} in \`export var\` syntax.`);go(o)&&(c=`${i}: ${c}`),this.tokens.replaceToken(c)}else this.rootTransformer.processToken()}}if(n){let o=this.tokens.currentToken().rhsEndIndex;if(o==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<o;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let n=this.processNamedFunction();this.tokens.appendCode(` exports.${n} = ${n};`)}processNamedFunction(){if(this.tokens.matches1(t._function))this.tokens.copyToken();else if(this.tokens.matches2(t.name,t._function)){if(!this.tokens.matchesContextual(l._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(t.star)&&this.tokens.copyToken(),!this.tokens.matches1(t.name))throw new Error("Expected identifier for exported function name.");let n=this.tokens.identifierName();if(this.tokens.copyToken(),this.tokens.currentToken().isType)for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return this.tokens.copyExpectedToken(t.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(t.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.braceR),n}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(t._abstract)&&this.tokens.removeToken();let n=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${n} = ${n};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let n=[];for(;;){if(this.tokens.matches1(t.braceR)){this.tokens.removeToken();break}let r=nt(this.tokens);for(;this.tokens.currentIndex()<r.endIndex;)this.tokens.removeToken();if(!r.isType&&!this.shouldElideExportedIdentifier(r.leftName)){let o=r.leftName,i=r.rightName,c=this.importProcessor.getIdentifierReplacement(o);n.push(`exports.${i} = ${c||o};`)}if(this.tokens.matches1(t.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(t.comma,t.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(t.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(l._from)){this.tokens.removeToken();let r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),Tt(this.tokens)}else this.tokens.appendCode(n.join(" "));this.tokens.matches1(t.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(t.string);)this.tokens.removeToken();let n=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(n)),Tt(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(n){return this.isTypeScriptTransformEnabled&&!this.declarationInfo.valueDeclarations.has(n)}},$i=Pt;var Zs=class extends de{constructor(n,r,o,i,c,p){super();this.tokens=n,this.nameManager=r,this.helperManager=o,this.reactHotLoaderTransformer=i,this.isTypeScriptTransformEnabled=c,this.nonTypeIdentifiers=c?An(n,p):new Set,this.declarationInfo=c?kn(n):tr,this.injectCreateRequireForImportRequire=Boolean(p.injectCreateRequireForImportRequire)}process(){if(this.tokens.matches3(t._import,t.name,t.eq))return this.processImportEquals();if(this.tokens.matches4(t._import,t.name,t.name,t.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._type)){this.tokens.removeInitialToken();for(let n=0;n<7;n++)this.tokens.removeToken();return!0}if(this.tokens.matches2(t._export,t.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(t._export,t._import,t.name,t.name,t.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._type)){this.tokens.removeInitialToken();for(let n=0;n<8;n++)this.tokens.removeToken();return!0}if(this.tokens.matches1(t._import))return this.processImport();if(this.tokens.matches2(t._export,t._default))return this.processExportDefault();if(this.tokens.matches2(t._export,t.braceL))return this.processNamedExports();if(this.tokens.matches2(t._export,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(t.braceL)){for(;!this.tokens.matches1(t.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(t._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(l._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),Tt(this.tokens)),!0}return!1}processImportEquals(){let n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.isTypeName(n)?dn(this.tokens):this.injectCreateRequireForImportRequire?(this.tokens.replaceToken("const"),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.replaceToken(this.helperManager.getHelperName("require"))):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(t._import,t.parenL))return!1;let n=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(n);!this.tokens.matches1(t.string);)this.tokens.removeToken();this.tokens.removeToken(),Tt(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(t._import),this.tokens.matchesContextual(l._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,t.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,l._from))return!0;if(this.tokens.matches1(t.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(l._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._from)&&this.tokens.copyToken();let n=!1,r=!1;if(this.tokens.matches1(t.name)&&(this.isTypeName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(t.comma)&&this.tokens.removeToken()):(n=!0,this.tokens.copyToken(),this.tokens.matches1(t.comma)&&(r=!0,this.tokens.removeToken()))),this.tokens.matches1(t.star))this.isTypeName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(r&&this.tokens.appendCode(","),n=!0,this.tokens.copyExpectedToken(t.star),this.tokens.copyExpectedToken(t.name),this.tokens.copyExpectedToken(t.name));else if(this.tokens.matches1(t.braceL)){for(r&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(t.braceR);){let o=nt(this.tokens);if(o.isType||this.isTypeName(o.rightName)){for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();this.tokens.matches1(t.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<o.endIndex;)this.tokens.copyToken();this.tokens.matches1(t.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(t.braceR)}return!n}isTypeName(n){return this.isTypeScriptTransformEnabled&&!this.nonTypeIdentifiers.has(n)}processExportDefault(){if(gn(this.isTypeScriptTransformEnabled,this.tokens,this.declarationInfo))return this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken(),!0;if(!(this.tokens.matches4(t._export,t._default,t._function,t.name)||this.tokens.matches5(t._export,t._default,t.name,t._function,t.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,l._async)||this.tokens.matches4(t._export,t._default,t._class,t.name)||this.tokens.matches5(t._export,t._default,t._abstract,t._class,t.name))&&this.reactHotLoaderTransformer){let r=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${r}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${r} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(r),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;for(this.tokens.copyExpectedToken(t._export),this.tokens.copyExpectedToken(t.braceL);!this.tokens.matches1(t.braceR);){let n=nt(this.tokens);if(n.isType||this.shouldElideExportedName(n.leftName)){for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.removeToken();this.tokens.matches1(t.comma)&&this.tokens.removeToken()}else{for(;this.tokens.currentIndex()<n.endIndex;)this.tokens.copyToken();this.tokens.matches1(t.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(t.braceR),!0}shouldElideExportedName(n){return this.isTypeScriptTransformEnabled&&this.declarationInfo.typeDeclarations.has(n)&&!this.declarationInfo.valueDeclarations.has(n)}},Hi=Zs;var eo=class extends de{constructor(n,r,o){super();this.rootTransformer=n,this.tokens=r,this.isImportsTransformEnabled=o}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(t._enum)?(this.processEnum(),!0):this.tokens.matches2(t._export,t._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(t._export,t._default,t._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let n=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${n} = ${n};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let n=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${n};`):this.tokens.appendCode(` export default ${n};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(t.name);let n=!1;this.tokens.matchesContextual(l._of)&&(this.tokens.removeToken(),n=this.tokens.matchesContextual(l._symbol),this.tokens.removeToken());let r=this.tokens.matches3(t.braceL,t.name,t.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let o=!n&&!r;for(this.tokens.replaceTokenTrimmingLeftWhitespace(o?".Mirrored([":"({");!this.tokens.matches1(t.braceR);){if(this.tokens.matches1(t.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(n,r),this.tokens.matches1(t.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(o?"]);":"});")}processEnumElement(n,r){if(n){let o=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${o}")`)}else r?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}},zi=eo;function Gu(e){let n,r=e[0],o=1;for(;o<e.length;){let i=e[o],c=e[o+1];if(o+=2,(i==="optionalAccess"||i==="optionalCall")&&r==null)return;i==="access"||i==="optionalAccess"?(n=r,r=c(r)):(i==="call"||i==="optionalCall")&&(r=c((...p)=>r.call(n,...p)),n=void 0)}return r}var nr="jest",Xu=["mock","unmock","enableAutomock","disableAutomock"],xn=class extends de{__init(){this.hoistedFunctionNames=[]}constructor(n,r,o,i){super();this.rootTransformer=n,this.tokens=r,this.nameManager=o,this.importProcessor=i,xn.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(t.name,t.dot,t.name,t.parenL)&&this.tokens.identifierName()===nr?Gu([this,"access",n=>n.importProcessor,"optionalAccess",n=>n.getGlobalNames,"call",n=>n(),"optionalAccess",n=>n.has,"call",n=>n(nr)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(n=>`${n}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let n=!1;for(;this.tokens.matches3(t.dot,t.name,t.parenL);){let r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(Xu.includes(r)){let i=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(i),this.tokens.replaceToken(`function ${i}(){${nr}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),this.tokens.appendCode(";}"),n=!1}else n?this.tokens.copyToken():this.tokens.replaceToken(`${nr}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),n=!0}return!0}},Vi=xn;var to=class extends de{constructor(n){super();this.tokens=n}process(){if(this.tokens.matches1(t.num)){let n=this.tokens.currentTokenCode();if(n.includes("_"))return this.tokens.replaceToken(n.replace(/_/g,"")),!0}return!1}},Ui=to;var no=class extends de{constructor(n,r){super();this.tokens=n,this.nameManager=r}process(){return this.tokens.matches2(t._catch,t.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}},Wi=no;var ro=class extends de{constructor(n,r){super();this.tokens=n,this.nameManager=r}process(){if(this.tokens.matches1(t.nullishCoalescing)){let o=this.tokens.currentToken();return this.tokens.tokens[o.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(t._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let r=this.tokens.currentToken().subscriptStartIndex;if(r!=null&&this.tokens.tokens[r].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==t._super){let o=this.nameManager.claimFreeName("_"),i;if(r>0&&this.tokens.matches1AtIndex(r-1,t._delete)&&this.isLastSubscriptInChain()?i=`${o} => delete ${o}`:i=`${o} => ${o}`,this.tokens.tokens[r].isAsyncOperation&&(i=`async ${i}`),this.tokens.matches2(t.questionDot,t.parenL)||this.tokens.matches2(t.questionDot,t.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${i}`);else if(this.tokens.matches2(t.questionDot,t.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${i}`);else if(this.tokens.matches1(t.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${i}.`);else if(this.tokens.matches1(t.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${i}.`);else if(this.tokens.matches1(t.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${i}[`);else if(this.tokens.matches1(t.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${i}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let n=0;for(let r=this.tokens.currentIndex()+1;;r++){if(r>=this.tokens.tokens.length)throw new Error("Reached the end of the code while finding the end of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?n++:this.tokens.tokens[r].isOptionalChainEnd&&n--,n<0)return!0;if(n===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let n=0,r=this.tokens.currentIndex()-1;for(;;){if(r<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[r].isOptionalChainStart?n--:this.tokens.tokens[r].isOptionalChainEnd&&n++,n<0)return!1;if(n===0&&this.tokens.tokens[r].subscriptStartIndex!=null)return this.tokens.tokens[r-1].type===t._super;r--}}},Gi=ro;var so=class extends de{constructor(n,r,o,i){super();this.rootTransformer=n,this.tokens=r,this.importProcessor=o,this.options=i}process(){let n=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return r?this.tokens.replaceToken(`(0, ${r})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(n),!0}if(this.tokens.matches3(t.name,t.dot,t.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let r=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return r?(this.tokens.replaceToken(r),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(n),!0}return!1}tryProcessCreateClassCall(n){let r=this.findDisplayName(n);!r||this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(t.parenL),this.tokens.copyExpectedToken(t.braceL),this.tokens.appendCode(`displayName: '${r}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.braceR),this.tokens.copyExpectedToken(t.parenR))}findDisplayName(n){return n<2?null:this.tokens.matches2AtIndex(n-2,t.name,t.eq)?this.tokens.identifierNameAtIndex(n-2):n>=2&&this.tokens.tokens[n-2].identifierRole===D.ObjectKey?this.tokens.identifierNameAtIndex(n-2):this.tokens.matches2AtIndex(n-2,t._export,t._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let r=(this.options.filePath||"unknown").split("/"),o=r[r.length-1],i=o.lastIndexOf("."),c=i===-1?o:o.slice(0,i);return c==="index"&&r[r.length-2]?r[r.length-2]:c}classNeedsDisplayName(){let n=this.tokens.currentIndex();if(!this.tokens.matches2(t.parenL,t.braceL))return!1;let r=n+1,o=this.tokens.tokens[r].contextId;if(o==null)throw new Error("Expected non-null context ID on object open-brace.");for(;n<this.tokens.tokens.length;n++){let i=this.tokens.tokens[n];if(i.type===t.braceR&&i.contextId===o){n++;break}if(this.tokens.identifierNameAtIndex(n)==="displayName"&&this.tokens.tokens[n].identifierRole===D.ObjectKey&&i.contextId===o)return!1}if(n===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(n,t.parenR)||this.tokens.matches2AtIndex(n,t.comma,t.parenR)}},Xi=so;var _n=class extends de{__init(){this.extractedDefaultExportName=null}constructor(n,r){super();this.tokens=n,this.filePath=r,_n.prototype.__init.call(this)}setExtractedDefaultExportName(n){this.extractedDefaultExportName=n}getPrefixCode(){return`
119
+ (function () {
120
+ var enterModule = require('react-hot-loader').enterModule;
121
+ enterModule && enterModule(module);
122
+ })();`.replace(/\s+/g," ").trim()}getSuffixCode(){let n=new Set;for(let o of this.tokens.tokens)!o.isType&&bn(o)&&o.identifierRole!==D.ImportDeclaration&&n.add(this.tokens.identifierNameForToken(o));let r=Array.from(n).map(o=>({variableName:o,uniqueLocalName:o}));return this.extractedDefaultExportName&&r.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
123
+ ;(function () {
124
+ var reactHotLoader = require('react-hot-loader').default;
125
+ var leaveModule = require('react-hot-loader').leaveModule;
126
+ if (!reactHotLoader) {
127
+ return;
128
+ }
129
+ ${r.map(({variableName:o,uniqueLocalName:i})=>` reactHotLoader.register(${o}, "${i}", ${JSON.stringify(this.filePath||"")});`).join(`
130
+ `)}
131
+ leaveModule(module);
132
+ })();`}process(){return!1}},Ji=_n;var Ju=new Set(["break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield","enum","implements","interface","let","package","private","protected","public","static","await","false","null","true"]);function rr(e){if(e.length===0||!at[e.charCodeAt(0)])return!1;for(let n=1;n<e.length;n++)if(!Pe[e.charCodeAt(n)])return!1;return!Ju.has(e)}var oo=class extends de{constructor(n,r,o){super();this.rootTransformer=n,this.tokens=r,this.isImportsTransformEnabled=o}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(t._public)||this.tokens.matches1(t._protected)||this.tokens.matches1(t._private)||this.tokens.matches1(t._abstract)||this.tokens.matches1(t._readonly)||this.tokens.matches1(t._override)||this.tokens.matches1(t.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(t._enum)||this.tokens.matches2(t._const,t._enum)?(this.processEnum(),!0):this.tokens.matches2(t._export,t._enum)||this.tokens.matches3(t._export,t._const,t._enum)?(this.processEnum(!0),!0):!1}processEnum(n=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(t._const)||this.tokens.matches1(t._enum);)this.tokens.removeToken();let r=this.tokens.identifierName();this.tokens.removeToken(),n&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${r}; (function (${r})`),this.tokens.copyExpectedToken(t.braceL),this.processEnumBody(r),this.tokens.copyExpectedToken(t.braceR),n&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${r} || (exports.${r} = ${r} = {}));`):this.tokens.appendCode(`)(${r} || (${r} = {}));`)}processEnumBody(n){let r=null;for(;!this.tokens.matches1(t.braceR);){let{nameStringCode:o,variableName:i}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(t.eq,t.string,t.comma)||this.tokens.matches3(t.eq,t.string,t.braceR)?this.processStringLiteralEnumMember(n,o,i):this.tokens.matches1(t.eq)?this.processExplicitValueEnumMember(n,o,i):this.processImplicitValueEnumMember(n,o,i,r),this.tokens.matches1(t.comma)&&this.tokens.removeToken(),i!=null?r=i:r=`${n}[${o}]`}}extractEnumKeyInfo(n){if(n.type===t.name){let r=this.tokens.identifierNameForToken(n);return{nameStringCode:`"${r}"`,variableName:rr(r)?r:null}}else if(n.type===t.string){let r=this.tokens.stringValueForToken(n);return{nameStringCode:this.tokens.code.slice(n.start,n.end),variableName:rr(r)?r:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(n,r,o){o!=null?(this.tokens.appendCode(`const ${o}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${n}[${r}] = ${o};`)):(this.tokens.appendCode(`${n}[${r}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(n,r,o){let i=this.tokens.currentToken().rhsEndIndex;if(i==null)throw new Error("Expected rhsEndIndex on enum assign.");if(o!=null){for(this.tokens.appendCode(`const ${o}`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${n}[${n}[${r}] = ${o}] = ${r};`)}else{for(this.tokens.appendCode(`${n}[${n}[${r}]`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${r};`)}}processImplicitValueEnumMember(n,r,o,i){let c=i!=null?`${i} + 1`:"0";o!=null&&(this.tokens.appendCode(`const ${o} = ${c}; `),c=o),this.tokens.appendCode(`${n}[${n}[${r}] = ${c}] = ${r};`)}},Qi=oo;var Qt=class{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(n,r,o,i){Qt.prototype.__init.call(this),Qt.prototype.__init2.call(this),this.nameManager=n.nameManager,this.helperManager=n.helperManager;let{tokenProcessor:c,importProcessor:p}=n;this.tokens=c,this.isImportsTransformEnabled=r.includes("imports"),this.isReactHotLoaderTransformEnabled=r.includes("react-hot-loader"),this.disableESTransforms=Boolean(i.disableESTransforms),i.disableESTransforms||(this.transformers.push(new Gi(c,this.nameManager)),this.transformers.push(new Ui(c)),this.transformers.push(new Wi(c,this.nameManager))),r.includes("jsx")&&(i.jsxRuntime!=="preserve"&&this.transformers.push(new Ao(this,c,p,this.nameManager,i)),this.transformers.push(new Xi(this,c,p,i)));let k=null;if(r.includes("react-hot-loader")){if(!i.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");k=new Ji(c,i.filePath),this.transformers.push(k)}if(r.includes("imports")){if(p===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new $i(this,c,p,this.nameManager,this.helperManager,k,o,Boolean(i.enableLegacyTypeScriptModuleInterop),r.includes("typescript"),Boolean(i.preserveDynamicImport)))}else this.transformers.push(new Hi(c,this.nameManager,this.helperManager,k,r.includes("typescript"),i));r.includes("flow")&&this.transformers.push(new zi(this,c,r.includes("imports"))),r.includes("typescript")&&this.transformers.push(new Qi(this,c,r.includes("imports"))),r.includes("jest")&&this.transformers.push(new Vi(this,c,this.nameManager,p))}transform(){this.tokens.reset(),this.processBalancedCode();let r=this.isImportsTransformEnabled?'"use strict";':"";for(let p of this.transformers)r+=p.getPrefixCode();r+=this.helperManager.emitHelpers(),r+=this.generatedVariables.map(p=>` var ${p};`).join("");for(let p of this.transformers)r+=p.getHoistedCode();let o="";for(let p of this.transformers)o+=p.getSuffixCode();let i=this.tokens.finish(),{code:c}=i;if(c.startsWith("#!")){let p=c.indexOf(`
133
+ `);return p===-1&&(p=c.length,c+=`
134
+ `),{code:c.slice(0,p+1)+r+c.slice(p+1)+o,mappings:this.shiftMappings(i.mappings,r.length)}}else return{code:r+c+o,mappings:this.shiftMappings(i.mappings,r.length)}}processBalancedCode(){let n=0,r=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(t.braceL)||this.tokens.matches1(t.dollarBraceL))n++;else if(this.tokens.matches1(t.braceR)){if(n===0)return;n--}if(this.tokens.matches1(t.parenL))r++;else if(this.tokens.matches1(t.parenR)){if(r===0)return;r--}this.processToken()}}processToken(){if(this.tokens.matches1(t._class)){this.processClass();return}for(let n of this.transformers)if(n.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(t._class,t.name))throw new Error("Expected identifier for exported class name.");let n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),n}processClass(){let n=Ys(this,this.tokens,this.nameManager,this.disableESTransforms),r=(n.headerInfo.isExpression||!n.headerInfo.className)&&n.staticInitializerNames.length+n.instanceInitializerNames.length>0,o=n.headerInfo.className;r&&(o=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(o),this.tokens.appendCode(` (${o} =`));let c=this.tokens.currentToken().contextId;if(c==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(t._class);!this.tokens.matchesContextIdAndLabel(t.braceL,c);)this.processToken();this.processClassBody(n,o);let p=n.staticInitializerNames.map(k=>`${o}.${k}()`);r?this.tokens.appendCode(`, ${p.map(k=>`${k}, `).join("")}${o})`):n.staticInitializerNames.length>0&&this.tokens.appendCode(` ${p.map(k=>`${k};`).join(" ")}`)}processClassBody(n,r){let{headerInfo:o,constructorInsertPos:i,constructorInitializerStatements:c,fields:p,instanceInitializerNames:k,rangesToRemove:v}=n,T=0,N=0,M=this.tokens.currentToken().contextId;if(M==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(t.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let F=c.length+k.length>0;if(i===null&&F){let $=this.makeConstructorInitCode(c,k,r);if(o.hasSuperclass){let J=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${J}) { super(...${J}); ${$}; }`)}else this.tokens.appendCode(`constructor() { ${$}; }`)}for(;!this.tokens.matchesContextIdAndLabel(t.braceR,M);)if(T<p.length&&this.tokens.currentIndex()===p[T].start){let $=!1;for(this.tokens.matches1(t.bracketL)?this.tokens.copyTokenWithPrefix(`${p[T].initializerName}() {this`):this.tokens.matches1(t.string)||this.tokens.matches1(t.num)?(this.tokens.copyTokenWithPrefix(`${p[T].initializerName}() {this[`),$=!0):this.tokens.copyTokenWithPrefix(`${p[T].initializerName}() {this.`);this.tokens.currentIndex()<p[T].end;)$&&this.tokens.currentIndex()===p[T].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),T++}else if(N<v.length&&this.tokens.currentIndex()>=v[N].start){for(this.tokens.currentIndex()<v[N].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<v[N].end;)this.tokens.removeToken();N++}else this.tokens.currentIndex()===i?(this.tokens.copyToken(),F&&this.tokens.appendCode(`;${this.makeConstructorInitCode(c,k,r)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(t.braceR)}makeConstructorInitCode(n,r,o){return[...n,...r.map(i=>`${o}.prototype.${i}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(t.parenR,t.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let n=this.tokens.currentIndex()+1;for(;this.tokens.tokens[n].isType;)n++;if(this.tokens.matches1AtIndex(n,t.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<n;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(l._async)&&!this.tokens.matches1(t._async))return!1;let n=this.tokens.tokenAtRelativeIndex(1);if(n.type!==t.lessThan||!n.isType)return!1;let r=this.tokens.currentIndex()+1;for(;this.tokens.tokens[r].isType;)r++;if(this.tokens.matches1AtIndex(r,t.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<r;)this.tokens.removeToken();return this.tokens.removeToken(),this.processBalancedCode(),this.processToken(),!0}return!1}processPossibleTypeRange(){if(this.tokens.currentToken().isType){for(this.tokens.removeInitialToken();this.tokens.currentToken().isType;)this.tokens.removeToken();return!0}return!1}shiftMappings(n,r){for(let o=0;o<n.length;o++){let i=n[o];i!==void 0&&(n[o]=i+r)}return n}},Ki=Qt;var sr=`
135
+ `,Yi="\r",Sd=function(){function e(n){this.string=n;for(var r=[0],o=0;o<n.length;)switch(n[o]){case sr:o+=sr.length,r.push(o);break;case Yi:o+=Yi.length,n[o]===sr&&(o+=sr.length),r.push(o);break;default:o++;break}this.offsets=r}return e.prototype.locationForIndex=function(n){if(n<0||n>this.string.length)return null;for(var r=0,o=this.offsets;o[r+1]<=n;)r++;var i=n-o[r];return{line:r,column:i}},e.prototype.indexForLocation=function(n){var r=n.line,o=n.column;return r<0||r>=this.offsets.length||o<0||o>this.lengthOfLine(r)?null:this.offsets[r]+o},e.prototype.lengthOfLine=function(n){var r=this.offsets[n],o=n===this.offsets.length-1?this.string.length:this.offsets[n+1];return o-r},e}();function io(e){let n=new Set;for(let r=0;r<e.tokens.length;r++)e.matches1AtIndex(r,t._import)&&!e.matches3AtIndex(r,t._import,t.name,t.eq)&&Qu(e,r,n);return n}function Qu(e,n,r){n++,!e.matches1AtIndex(n,t.parenL)&&(e.matches1AtIndex(n,t.name)&&(r.add(e.identifierNameAtIndex(n)),n++,e.matches1AtIndex(n,t.comma)&&n++),e.matches1AtIndex(n,t.star)&&(n+=2,r.add(e.identifierNameAtIndex(n)),n++),e.matches1AtIndex(n,t.braceL)&&(n++,Ku(e,n,r)))}function Ku(e,n,r){for(;;){if(e.matches1AtIndex(n,t.braceR))return;let o=nt(e,n);if(n=o.endIndex,o.isType||r.add(o.rightName),e.matches2AtIndex(n,t.comma,t.braceR))return;if(e.matches1AtIndex(n,t.braceR))return;if(e.matches1AtIndex(n,t.comma))n++;else throw new Error(`Unexpected token: ${JSON.stringify(e.tokens[n])}`)}}function Zi(e,n){a1(n);try{let r=Yu(e,n),i=new Ki(r,n.transforms,Boolean(n.enableLegacyBabel5ModuleInterop),n).transform(),c={code:i.code};if(n.sourceMapOptions){if(!n.filePath)throw new Error("filePath must be specified when generating a source map.");c={...c,sourceMap:ss(i,n.filePath,n.sourceMapOptions,e,r.tokenProcessor.tokens)}}return c}catch(r){throw n.filePath&&(r.message=`Error transforming ${n.filePath}: ${r.message}`),r}}function Yu(e,n){let r=n.transforms.includes("jsx"),o=n.transforms.includes("typescript"),i=n.transforms.includes("flow"),c=n.disableESTransforms===!0,p=ji(e,r,o,i),k=p.tokens,v=p.scopes,T=new $o(e,k),N=new Bt(T),M=new Bi(e,k,i,c,N),F=Boolean(n.enableLegacyTypeScriptModuleInterop),$=null;return n.transforms.includes("imports")?($=new vo(T,M,F,n,n.transforms.includes("typescript"),N),$.preprocessTokens(),Rn(M,v,$.getGlobalNames()),n.transforms.includes("typescript")&&$.pruneTypeOnlyImports()):n.transforms.includes("typescript")&&Rn(M,v,io(M)),{tokenProcessor:M,scopes:v,nameManager:T,importProcessor:$,helperManager:N}}return Zu;})();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-codes/browser-compilers",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "description": "Compilers that run in the browser, for use in livecodes.io",
5
5
  "author": "Hatem Hosny",
6
6
  "license": "MIT",
@@ -71,6 +71,7 @@
71
71
  "react-native-web": "0.19.1",
72
72
  "remark-gfm": "3.0.1",
73
73
  "sass": "1.49.7",
74
+ "sucrase": "3.32.0",
74
75
  "svelte": "3.44.1",
75
76
  "windicss": "3.2.1"
76
77
  },
@@ -381,3 +381,11 @@ esbuild.build({
381
381
  globalName: 'flowRemoveTypes',
382
382
  plugins: nodePolyfills,
383
383
  });
384
+
385
+ // sucrase
386
+ esbuild.build({
387
+ ...baseOptions,
388
+ entryPoints: ['vendor_modules/imports/sucrase.js'],
389
+ outfile: 'dist/sucrase/sucrase.js',
390
+ globalName: 'sucrase',
391
+ });
@@ -44,6 +44,14 @@ PostCSS: [MIT License](https://github.com/postcss/postcss/blob/af8311a9c4c940c3e
44
44
 
45
45
  PostCSS Preset Env: [CC0-1.0 License](https://github.com/csstools/postcss-preset-env/blob/d7652b1e6196e8f55bf3f0aac4ac090fec7ed54e/LICENSE.md)
46
46
 
47
+ postcss-modules: [MIT License](https://github.com/madyankin/postcss-modules/blob/325f0b33f1b746eae7aa827504a5efd0949022ef/LICENSE)
48
+
49
+ PostHTML: [MIT License](https://github.com/posthtml/posthtml/blob/9feb13c4c05c40519ba56279920aacd3523100cb/license)
50
+
51
+ posthtml-class-to-css-module: [MIT License](https://github.com/posthtml/posthtml-class-to-css-module/blob/d53bd08c9aa375cde63d9fe86021ee887bc07b9b/license)
52
+
53
+ posthtml-css-modules: [MIT License](https://github.com/posthtml/posthtml-css-modules/blob/47d2ffa908a9085265fe2a60ef608feed33ebdbd/LICENSE.txt)
54
+
47
55
  prelude<span>.ls</span>: [MIT License](https://github.com/gkz/prelude-ls/blob/41d048799bdd063e0592c1413d238ad95ceda1d9/LICENSE)
48
56
 
49
57
  Prettier Pug Plugin: [MIT License](https://github.com/prettier/plugin-pug/blob/27ab92b27a062bb187fc33f82b2fad436ec31c25/LICENSE)
@@ -0,0 +1 @@
1
+ export { transform } from 'sucrase';