prasi-bun/app/srv/core/esm-XKHB6BMI.js

138 lines
213 KiB
JavaScript

import{a as xt,c as Qn,d,e as k,f as N,g}from"./chunk-MAXH2HJU.js";var Fo=xt((as,Oo)=>{d();g();k();(function(e,n){typeof as=="object"&&typeof Oo<"u"?n(as):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.setArray={}))})(as,function(e){"use strict";class n{constructor(){this._indexes={__proto__:null},this.array=[]}}function s(h){return h}function o(h,y){return h._indexes[y]}function i(h,y){let T=o(h,y);if(T!==void 0)return T;let{array:A,_indexes:R}=h,w=A.push(y);return R[y]=w-1}function c(h){let{array:y,_indexes:T}=h;if(y.length===0)return;let A=y.pop();T[A]=void 0}function p(h,y){let T=o(h,y);if(T===void 0)return;let{array:A,_indexes:R}=h;for(let w=T+1;w<A.length;w++){let v=A[w];A[w-1]=v,R[v]--}R[y]=void 0,A.pop()}e.SetArray=n,e.get=o,e.pop=c,e.put=i,e.remove=p,Object.defineProperty(e,"__esModule",{value:!0})})});var yr=xt((cs,Mo)=>{d();g();k();(function(e,n){typeof cs=="object"&&typeof Mo<"u"?n(cs):typeof define=="function"&&define.amd?define(["exports"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.sourcemapCodec={}))})(cs,function(e){"use strict";let o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),c=new Uint8Array(128);for(let M=0;M<o.length;M++){let I=o.charCodeAt(M);i[M]=I,c[I]=M}let p=typeof TextDecoder<"u"?new TextDecoder:typeof N<"u"?{decode(M){return N.from(M.buffer,M.byteOffset,M.byteLength).toString()}}:{decode(M){let I="";for(let P=0;P<M.length;P++)I+=String.fromCharCode(M[P]);return I}};function h(M){let I=new Int32Array(5),P=[],$=0;do{let V=y(M,$),ee=[],D=!0,ae=0;I[0]=0;for(let se=$;se<V;se++){let _e;se=T(M,se,I,0);let ge=I[0];ge<ae&&(D=!1),ae=ge,A(M,se,V)?(se=T(M,se,I,1),se=T(M,se,I,2),se=T(M,se,I,3),A(M,se,V)?(se=T(M,se,I,4),_e=[ge,I[1],I[2],I[3],I[4]]):_e=[ge,I[1],I[2],I[3]]):_e=[ge],ee.push(_e)}D||R(ee),P.push(ee),$=V+1}while($<=M.length);return P}function y(M,I){let P=M.indexOf(";",I);return P===-1?M.length:P}function T(M,I,P,$){let V=0,ee=0,D=0;do{let se=M.charCodeAt(I++);D=c[se],V|=(D&31)<<ee,ee+=5}while(D&32);let ae=V&1;return V>>>=1,ae&&(V=-2147483648|-V),P[$]+=V,I}function A(M,I,P){return I>=P?!1:M.charCodeAt(I)!==44}function R(M){M.sort(w)}function w(M,I){return M[0]-I[0]}function v(M){let I=new Int32Array(5),P=1024*16,$=P-36,V=new Uint8Array(P),ee=V.subarray(0,$),D=0,ae="";for(let se=0;se<M.length;se++){let _e=M[se];if(se>0&&(D===P&&(ae+=p.decode(V),D=0),V[D++]=59),_e.length!==0){I[0]=0;for(let ge=0;ge<_e.length;ge++){let Ne=_e[ge];D>$&&(ae+=p.decode(ee),V.copyWithin(0,$,D),D-=$),ge>0&&(V[D++]=44),D=Y(V,D,I,Ne,0),Ne.length!==1&&(D=Y(V,D,I,Ne,1),D=Y(V,D,I,Ne,2),D=Y(V,D,I,Ne,3),Ne.length!==4&&(D=Y(V,D,I,Ne,4)))}}}return ae+p.decode(V.subarray(0,D))}function Y(M,I,P,$,V){let ee=$[V],D=ee-P[V];P[V]=ee,D=D<0?-D<<1|1:D<<1;do{let ae=D&31;D>>>=5,D>0&&(ae|=32),M[I++]=i[ae]}while(D>0);return I}e.decode=h,e.encode=v,Object.defineProperty(e,"__esModule",{value:!0})})});var jo=xt((Ir,Tr)=>{d();g();k();(function(e,n){typeof Ir=="object"&&typeof Tr<"u"?Tr.exports=n():typeof define=="function"&&define.amd?define(n):(e=typeof globalThis<"u"?globalThis:e||self,e.resolveURI=n())})(Ir,function(){"use strict";let e=/^[\w+.-]+:\/\//,n=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function o(I){return e.test(I)}function i(I){return I.startsWith("//")}function c(I){return I.startsWith("/")}function p(I){return I.startsWith("file:")}function h(I){return/^[.?#]/.test(I)}function y(I){let P=n.exec(I);return A(P[1],P[2]||"",P[3],P[4]||"",P[5]||"/",P[6]||"",P[7]||"")}function T(I){let P=s.exec(I),$=P[2];return A("file:","",P[1]||"","",c($)?$:"/"+$,P[3]||"",P[4]||"")}function A(I,P,$,V,ee,D,ae){return{scheme:I,user:P,host:$,port:V,path:ee,query:D,hash:ae,type:7}}function R(I){if(i(I)){let $=y("http:"+I);return $.scheme="",$.type=6,$}if(c(I)){let $=y("http://foo.com"+I);return $.scheme="",$.host="",$.type=5,$}if(p(I))return T(I);if(o(I))return y(I);let P=y("http://foo.com/"+I);return P.scheme="",P.host="",P.type=I?I.startsWith("?")?3:I.startsWith("#")?2:4:1,P}function w(I){if(I.endsWith("/.."))return I;let P=I.lastIndexOf("/");return I.slice(0,P+1)}function v(I,P){Y(P,P.type),I.path==="/"?I.path=P.path:I.path=w(P.path)+I.path}function Y(I,P){let $=P<=4,V=I.path.split("/"),ee=1,D=0,ae=!1;for(let _e=1;_e<V.length;_e++){let ge=V[_e];if(!ge){ae=!0;continue}if(ae=!1,ge!=="."){if(ge===".."){D?(ae=!0,D--,ee--):$&&(V[ee++]=ge);continue}V[ee++]=ge,D++}}let se="";for(let _e=1;_e<ee;_e++)se+="/"+V[_e];(!se||ae&&!se.endsWith("/.."))&&(se+="/"),I.path=se}function M(I,P){if(!I&&!P)return"";let $=R(I),V=$.type;if(P&&V!==7){let D=R(P),ae=D.type;switch(V){case 1:$.hash=D.hash;case 2:$.query=D.query;case 3:case 4:v($,D);case 5:$.user=D.user,$.host=D.host,$.port=D.port;case 6:$.scheme=D.scheme}ae>V&&(V=ae)}Y($,V);let ee=$.query+$.hash;switch(V){case 2:case 3:return ee;case 4:{let D=$.path.slice(1);return D?h(P||I)&&!h(D)?"./"+D+ee:D+ee:ee||"."}case 5:return $.path+ee;default:return $.scheme+"//"+$.user+$.host+$.port+$.path+ee}}return M})});var qo=xt((ls,Bo)=>{d();g();k();(function(e,n){typeof ls=="object"&&typeof Bo<"u"?n(ls,yr(),jo()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/sourcemap-codec","@jridgewell/resolve-uri"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.traceMapping={},e.sourcemapCodec,e.resolveURI))})(ls,function(e,n,s){"use strict";function o(m,b){return b&&!b.endsWith("/")&&(b+="/"),s(m,b)}function i(m){if(!m)return"";let b=m.lastIndexOf("/");return m.slice(0,b+1)}let c=0,p=1,h=2,y=3,T=4,A=1,R=2;function w(m,b){let S=v(m,0);if(S===m.length)return m;b||(m=m.slice());for(let C=S;C<m.length;C=v(m,C+1))m[C]=M(m[C],b);return m}function v(m,b){for(let S=b;S<m.length;S++)if(!Y(m[S]))return S;return m.length}function Y(m){for(let b=1;b<m.length;b++)if(m[b][c]<m[b-1][c])return!1;return!0}function M(m,b){return b||(m=m.slice()),m.sort(I)}function I(m,b){return m[c]-b[c]}let P=!1;function $(m,b,S,C){for(;S<=C;){let Q=S+(C-S>>1),H=m[Q][c]-b;if(H===0)return P=!0,Q;H<0?S=Q+1:C=Q-1}return P=!1,S-1}function V(m,b,S){for(let C=S+1;C<m.length&&m[C][c]===b;S=C++);return S}function ee(m,b,S){for(let C=S-1;C>=0&&m[C][c]===b;S=C--);return S}function D(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function ae(m,b,S,C){let{lastKey:Q,lastNeedle:H,lastIndex:oe}=S,he=0,ne=m.length-1;if(C===Q){if(b===H)return P=oe!==-1&&m[oe][c]===b,oe;b>=H?he=oe===-1?0:oe:ne=oe}return S.lastKey=C,S.lastNeedle=b,S.lastIndex=$(m,b,he,ne)}function se(m,b){let S=b.map(ge);for(let C=0;C<m.length;C++){let Q=m[C];for(let H=0;H<Q.length;H++){let oe=Q[H];if(oe.length===1)continue;let he=oe[p],ne=oe[h],me=oe[y],Re=S[he],be=Re[ne]||(Re[ne]=[]),Ie=b[he],ve=V(be,me,ae(be,me,Ie,ne));Ie.lastIndex=++ve,_e(be,ve,[me,C,oe[c]])}}return S}function _e(m,b,S){for(let C=m.length;C>b;C--)m[C]=m[C-1];m[b]=S}function ge(){return{__proto__:null}}let Ne=function(m,b){let S=He(m);if(!("sections"in S))return new ce(S,b);let C=[],Q=[],H=[],oe=[],he=[];et(S,b,C,Q,H,oe,he,0,0,1/0,1/0);let ne={version:3,file:S.file,names:oe,sources:Q,sourcesContent:H,mappings:C,ignoreList:he};return Xt(ne)};function He(m){return typeof m=="string"?JSON.parse(m):m}function et(m,b,S,C,Q,H,oe,he,ne,me,Re){let{sections:be}=m;for(let Ie=0;Ie<be.length;Ie++){let{map:ve,offset:Be}=be[Ie],ot=me,pt=Re;if(Ie+1<be.length){let ft=be[Ie+1].offset;ot=Math.min(me,he+ft.line),ot===me?pt=Math.min(Re,ne+ft.column):ot<me&&(pt=ne+ft.column)}lt(ve,b,S,C,Q,H,oe,he+Be.line,ne+Be.column,ot,pt)}}function lt(m,b,S,C,Q,H,oe,he,ne,me,Re){let be=He(m);if("sections"in be)return et(...arguments);let Ie=new ce(be,b),ve=C.length,Be=H.length,ot=ye(Ie),{resolvedSources:pt,sourcesContent:ft,ignoreList:Mt}=Ie;if(Ve(C,pt),Ve(H,Ie.names),ft)Ve(Q,ft);else for(let Oe=0;Oe<pt.length;Oe++)Q.push(null);if(Mt)for(let Oe=0;Oe<Mt.length;Oe++)oe.push(Mt[Oe]+ve);for(let Oe=0;Oe<ot.length;Oe++){let jt=he+Oe;if(jt>me)return;let Jt=U(S,jt),dn=Oe===0?ne:0,zt=ot[Oe];for(let Bt=0;Bt<zt.length;Bt++){let it=zt[Bt],vt=dn+it[c];if(jt===me&&vt>=Re)return;if(it.length===1){Jt.push([vt]);continue}let Kt=ve+it[p],Yt=it[h],Qt=it[y];Jt.push(it.length===4?[vt,Kt,Yt,Qt]:[vt,Kt,Yt,Qt,Be+it[T]])}}}function Ve(m,b){for(let S=0;S<b.length;S++)m.push(b[S])}function U(m,b){for(let S=m.length;S<=b;S++)m[S]=[];return m[b]}let L="`line` must be greater than 0 (lines start at line 1)",W="`column` must be greater than or equal to 0 (columns start at column 0)",J=-1,le=1;class ce{constructor(b,S){let C=typeof b=="string";if(!C&&b._decodedMemo)return b;let Q=C?JSON.parse(b):b,{version:H,file:oe,names:he,sourceRoot:ne,sources:me,sourcesContent:Re}=Q;this.version=H,this.file=oe,this.names=he||[],this.sourceRoot=ne,this.sources=me,this.sourcesContent=Re,this.ignoreList=Q.ignoreList||Q.x_google_ignoreList||void 0;let be=o(ne||"",i(S));this.resolvedSources=me.map(ve=>o(ve||"",be));let{mappings:Ie}=Q;typeof Ie=="string"?(this._encoded=Ie,this._decoded=void 0):(this._encoded=void 0,this._decoded=w(Ie,C)),this._decodedMemo=D(),this._bySources=void 0,this._bySourceMemos=void 0}}function ue(m){return m}function Ae(m){var b,S;return(b=(S=m)._encoded)!==null&&b!==void 0?b:S._encoded=n.encode(m._decoded)}function ye(m){var b;return(b=m)._decoded||(b._decoded=n.decode(m._encoded))}function Je(m,b,S){let C=ye(m);if(b>=C.length)return null;let Q=C[b],H=Pt(Q,m._decodedMemo,b,S,le);return H===-1?null:Q[H]}function ze(m,b){let{line:S,column:C,bias:Q}=b;if(S--,S<0)throw new Error(L);if(C<0)throw new Error(W);let H=ye(m);if(S>=H.length)return Ct(null,null,null,null);let oe=H[S],he=Pt(oe,m._decodedMemo,S,C,Q||le);if(he===-1)return Ct(null,null,null,null);let ne=oe[he];if(ne.length===1)return Ct(null,null,null,null);let{names:me,resolvedSources:Re}=m;return Ct(Re[ne[p]],ne[h]+1,ne[y],ne.length===5?me[ne[T]]:null)}function tt(m,b){let{source:S,line:C,column:Q,bias:H}=b;return Gt(m,S,C,Q,H||le,!1)}function ut(m,b){let{source:S,line:C,column:Q,bias:H}=b;return Gt(m,S,C,Q,H||J,!0)}function nt(m,b){let S=ye(m),{names:C,resolvedSources:Q}=m;for(let H=0;H<S.length;H++){let oe=S[H];for(let he=0;he<oe.length;he++){let ne=oe[he],me=H+1,Re=ne[0],be=null,Ie=null,ve=null,Be=null;ne.length!==1&&(be=Q[ne[1]],Ie=ne[2]+1,ve=ne[3]),ne.length===5&&(Be=C[ne[4]]),b({generatedLine:me,generatedColumn:Re,source:be,originalLine:Ie,originalColumn:ve,name:Be})}}}function st(m,b){let{sources:S,resolvedSources:C}=m,Q=S.indexOf(b);return Q===-1&&(Q=C.indexOf(b)),Q}function rt(m,b){let{sourcesContent:S}=m;if(S==null)return null;let C=st(m,b);return C===-1?null:S[C]}function At(m,b){let{ignoreList:S}=m;if(S==null)return!1;let C=st(m,b);return C===-1?!1:S.includes(C)}function Xt(m,b){let S=new ce(Ft(m,[]),b);return S._decoded=m.mappings,S}function fn(m){return Ft(m,ye(m))}function hn(m){return Ft(m,Ae(m))}function Ft(m,b){return{version:m.version,file:m.file,names:m.names,sourceRoot:m.sourceRoot,sources:m.sources,sourcesContent:m.sourcesContent,mappings:b,ignoreList:m.ignoreList||m.x_google_ignoreList}}function Ct(m,b,S,C){return{source:m,line:b,column:S,name:C}}function gt(m,b){return{line:m,column:b}}function Pt(m,b,S,C,Q){let H=ae(m,C,b,S);return P?H=(Q===J?V:ee)(m,C,H):Q===J&&H++,H===-1||H===m.length?-1:H}function mn(m,b,S,C,Q){let H=Pt(m,b,S,C,le);if(!P&&Q===J&&H++,H===-1||H===m.length)return[];let oe=P?C:m[H][c];P||(H=ee(m,oe,H));let he=V(m,oe,H),ne=[];for(;H<=he;H++){let me=m[H];ne.push(gt(me[A]+1,me[R]))}return ne}function Gt(m,b,S,C,Q,H){var oe;if(S--,S<0)throw new Error(L);if(C<0)throw new Error(W);let{sources:he,resolvedSources:ne}=m,me=he.indexOf(b);if(me===-1&&(me=ne.indexOf(b)),me===-1)return H?[]:gt(null,null);let be=((oe=m)._bySources||(oe._bySources=se(ye(m),m._bySourceMemos=he.map(D))))[me][S];if(be==null)return H?[]:gt(null,null);let Ie=m._bySourceMemos[me];if(H)return mn(be,Ie,S,C,Q);let ve=Pt(be,Ie,S,C,Q);if(ve===-1)return gt(null,null);let Be=be[ve];return gt(Be[A]+1,Be[R])}e.AnyMap=Ne,e.GREATEST_LOWER_BOUND=le,e.LEAST_UPPER_BOUND=J,e.TraceMap=ce,e.allGeneratedPositionsFor=ut,e.decodedMap=fn,e.decodedMappings=ye,e.eachMapping=nt,e.encodedMap=hn,e.encodedMappings=Ae,e.generatedPositionFor=tt,e.isIgnored=At,e.originalPositionFor=ze,e.presortedDecodedMap=Xt,e.sourceContentFor=rt,e.traceSegment=Je})});var Uo=xt((us,$o)=>{d();g();k();(function(e,n){typeof us=="object"&&typeof $o<"u"?n(us,Fo(),yr(),qo()):typeof define=="function"&&define.amd?define(["exports","@jridgewell/set-array","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],n):(e=typeof globalThis<"u"?globalThis:e||self,n(e.genMapping={},e.setArray,e.sourcemapCodec,e.traceMapping))})(us,function(e,n,s,o){"use strict";class A{constructor({file:L,sourceRoot:W}={}){this._names=new n.SetArray,this._sources=new n.SetArray,this._sourcesContent=[],this._mappings=[],this.file=L,this.sourceRoot=W,this._ignoreList=new n.SetArray}}function R(U){return U}function w(U,L,W,J,le,ce,ue,Ae){return ae(!1,U,L,W,J,le,ce,ue,Ae)}function v(U,L){return Ve(!1,U,L)}let Y=(U,L,W,J,le,ce,ue,Ae)=>ae(!0,U,L,W,J,le,ce,ue,Ae),M=(U,L)=>Ve(!0,U,L);function I(U,L,W){let{_sources:J,_sourcesContent:le}=U,ce=n.put(J,L);le[ce]=W}function P(U,L,W=!0){let{_sources:J,_sourcesContent:le,_ignoreList:ce}=U,ue=n.put(J,L);ue===le.length&&(le[ue]=null),W?n.put(ce,ue):n.remove(ce,ue)}function $(U){let{_mappings:L,_sources:W,_sourcesContent:J,_names:le,_ignoreList:ce}=U;return Ne(L),{version:3,file:U.file||void 0,names:le.array,sourceRoot:U.sourceRoot||void 0,sources:W.array,sourcesContent:J,mappings:L,ignoreList:ce.array}}function V(U){let L=$(U);return Object.assign(Object.assign({},L),{mappings:s.encode(L.mappings)})}function ee(U){let L=new o.TraceMap(U),W=new A({file:L.file,sourceRoot:L.sourceRoot});return He(W._names,L.names),He(W._sources,L.sources),W._sourcesContent=L.sourcesContent||L.sources.map(()=>null),W._mappings=o.decodedMappings(L),L.ignoreList&&He(W._ignoreList,L.ignoreList),W}function D(U){let L=[],{_mappings:W,_sources:J,_names:le}=U;for(let ce=0;ce<W.length;ce++){let ue=W[ce];for(let Ae=0;Ae<ue.length;Ae++){let ye=ue[Ae],Je={line:ce+1,column:ye[0]},ze,tt,ut;ye.length!==1&&(ze=J.array[ye[1]],tt={line:ye[2]+1,column:ye[3]},ye.length===5&&(ut=le.array[ye[4]])),L.push({generated:Je,source:ze,original:tt,name:ut})}}return L}function ae(U,L,W,J,le,ce,ue,Ae,ye){let{_mappings:Je,_sources:ze,_sourcesContent:tt,_names:ut}=L,nt=se(Je,W),st=_e(nt,J);if(!le)return U&&et(nt,st)?void 0:ge(nt,st,[J]);let rt=n.put(ze,le),At=Ae?n.put(ut,Ae):-1;if(rt===tt.length&&(tt[rt]=ye??null),!(U&&lt(nt,st,rt,ce,ue,At)))return ge(nt,st,Ae?[J,rt,ce,ue,At]:[J,rt,ce,ue])}function se(U,L){for(let W=U.length;W<=L;W++)U[W]=[];return U[L]}function _e(U,L){let W=U.length;for(let J=W-1;J>=0;W=J--){let le=U[J];if(L>=le[0])break}return W}function ge(U,L,W){for(let J=U.length;J>L;J--)U[J]=U[J-1];U[L]=W}function Ne(U){let{length:L}=U,W=L;for(let J=W-1;J>=0&&!(U[J].length>0);W=J,J--);W<L&&(U.length=W)}function He(U,L){for(let W=0;W<L.length;W++)n.put(U,L[W])}function et(U,L){return L===0?!0:U[L-1].length===1}function lt(U,L,W,J,le,ce){if(L===0)return!1;let ue=U[L-1];return ue.length===1?!1:W===ue[1]&&J===ue[2]&&le===ue[3]&&ce===(ue.length===5?ue[4]:-1)}function Ve(U,L,W){let{generated:J,source:le,original:ce,name:ue,content:Ae}=W;return le?ae(U,L,J.line-1,J.column,le,ce.line-1,ce.column,ue,Ae):ae(U,L,J.line-1,J.column,null,null,null,null,null)}e.GenMapping=A,e.addMapping=v,e.addSegment=w,e.allMappings=D,e.fromMap=ee,e.maybeAddMapping=M,e.maybeAddSegment=Y,e.setIgnore=P,e.setSourceContent=I,e.toDecodedMap=$,e.toEncodedMap=V,Object.defineProperty(e,"__esModule",{value:!0})})});var hs=xt(dt=>{"use strict";d();g();k();var Da=dt&&dt.__extends||function(){var e=function(n,s){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,s)};return function(n,s){e(n,s);function o(){this.constructor=n}n.prototype=s===null?Object.create(s):(o.prototype=s.prototype,new o)}}();Object.defineProperty(dt,"__esModule",{value:!0});dt.DetailContext=dt.NoopContext=dt.VError=void 0;var Vo=function(e){Da(n,e);function n(s,o){var i=e.call(this,o)||this;return i.path=s,Object.setPrototypeOf(i,n.prototype),i}return n}(Error);dt.VError=Vo;var Oa=function(){function e(){}return e.prototype.fail=function(n,s,o){return!1},e.prototype.unionResolver=function(){return this},e.prototype.createContext=function(){return this},e.prototype.resolveUnion=function(n){},e}();dt.NoopContext=Oa;var Wo=function(){function e(){this._propNames=[""],this._messages=[null],this._score=0}return e.prototype.fail=function(n,s,o){return this._propNames.push(n),this._messages.push(s),this._score+=o,!1},e.prototype.unionResolver=function(){return new Fa},e.prototype.resolveUnion=function(n){for(var s,o,i=n,c=null,p=0,h=i.contexts;p<h.length;p++){var y=h[p];(!c||y._score>=c._score)&&(c=y)}c&&c._score>0&&((s=this._propNames).push.apply(s,c._propNames),(o=this._messages).push.apply(o,c._messages))},e.prototype.getError=function(n){for(var s=[],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&&s.push(n+" "+c)}return new Vo(n,s.join("; "))},e.prototype.getErrorDetail=function(n){for(var s=[],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&&s.push({path:n,message:c})}for(var p=null,o=s.length-1;o>=0;o--)p&&(s[o].nested=[p]),p=s[o];return p},e}();dt.DetailContext=Wo;var Fa=function(){function e(){this.contexts=[]}return e.prototype.createContext=function(){var n=new Wo;return this.contexts.push(n),n},e}()});var Rr=xt(q=>{"use strict";d();g();k();var Xe=q&&q.__extends||function(){var e=function(n,s){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,s)};return function(n,s){e(n,s);function o(){this.constructor=n}n.prototype=s===null?Object.create(s):(o.prototype=s.prototype,new o)}}();Object.defineProperty(q,"__esModule",{value:!0});q.basicTypes=q.BasicType=q.TParamList=q.TParam=q.param=q.TFunc=q.func=q.TProp=q.TOptional=q.opt=q.TIface=q.iface=q.TEnumLiteral=q.enumlit=q.TEnumType=q.enumtype=q.TIntersection=q.intersection=q.TUnion=q.union=q.TTuple=q.tuple=q.TArray=q.array=q.TLiteral=q.lit=q.TName=q.name=q.TType=void 0;var Jo=hs(),$e=function(){function e(){}return e}();q.TType=$e;function Rt(e){return typeof e=="string"?zo(e):e}function Ar(e,n){var s=e[n];if(!s)throw new Error("Unknown type "+n);return s}function zo(e){return new Cr(e)}q.name=zo;var Cr=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.name=s,o._failMsg="is not a "+s,o}return n.prototype.getChecker=function(s,o,i){var c=this,p=Ar(s,this.name),h=p.getChecker(s,o,i);return p instanceof Fe||p instanceof n?h:function(y,T){return h(y,T)?!0:T.fail(null,c._failMsg,0)}},n}($e);q.TName=Cr;function Ma(e){return new Pr(e)}q.lit=Ma;var Pr=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.value=s,o.name=JSON.stringify(s),o._failMsg="is not "+o.name,o}return n.prototype.getChecker=function(s,o){var i=this;return function(c,p){return c===i.value?!0:p.fail(null,i._failMsg,-1)}},n}($e);q.TLiteral=Pr;function ja(e){return new Ko(Rt(e))}q.array=ja;var Ko=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.ttype=s,o}return n.prototype.getChecker=function(s,o){var i=this.ttype.getChecker(s,o);return function(c,p){if(!Array.isArray(c))return p.fail(null,"is not an array",0);for(var h=0;h<c.length;h++){var y=i(c[h],p);if(!y)return p.fail(h,null,1)}return!0}},n}($e);q.TArray=Ko;function Ba(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Yo(e.map(function(s){return Rt(s)}))}q.tuple=Ba;var Yo=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.ttypes=s,o}return n.prototype.getChecker=function(s,o){var i=this.ttypes.map(function(p){return p.getChecker(s,o)}),c=function(p,h){if(!Array.isArray(p))return h.fail(null,"is not an array",0);for(var y=0;y<i.length;y++){var T=i[y](p[y],h);if(!T)return h.fail(y,null,1)}return!0};return o?function(p,h){return c(p,h)?p.length<=i.length?!0:h.fail(i.length,"is extraneous",2):!1}:c},n}($e);q.TTuple=Yo;function qa(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Qo(e.map(function(s){return Rt(s)}))}q.union=qa;var Qo=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;o.ttypes=s;var i=s.map(function(p){return p instanceof Cr||p instanceof Pr?p.name:null}).filter(function(p){return p}),c=s.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(s,o){var i=this,c=this.ttypes.map(function(p){return p.getChecker(s,o)});return function(p,h){for(var y=h.unionResolver(),T=0;T<c.length;T++){var A=c[T](p,y.createContext());if(A)return!0}return h.resolveUnion(y),h.fail(null,i._failMsg,0)}},n}($e);q.TUnion=Qo;function $a(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return new Zo(e.map(function(s){return Rt(s)}))}q.intersection=$a;var Zo=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.ttypes=s,o}return n.prototype.getChecker=function(s,o){var i=new Set,c=this.ttypes.map(function(p){return p.getChecker(s,o,i)});return function(p,h){var y=c.every(function(T){return T(p,h)});return y?!0:h.fail(null,null,0)}},n}($e);q.TIntersection=Zo;function Ua(e){return new vr(e)}q.enumtype=Ua;var vr=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.members=s,o.validValues=new Set,o._failMsg="is not a valid enum value",o.validValues=new Set(Object.keys(s).map(function(i){return s[i]})),o}return n.prototype.getChecker=function(s,o){var i=this;return function(c,p){return i.validValues.has(c)?!0:p.fail(null,i._failMsg,0)}},n}($e);q.TEnumType=vr;function Ha(e,n){return new e1(e,n)}q.enumlit=Ha;var e1=function(e){Xe(n,e);function n(s,o){var i=e.call(this)||this;return i.enumName=s,i.prop=o,i._failMsg="is not "+s+"."+o,i}return n.prototype.getChecker=function(s,o){var i=this,c=Ar(s,this.enumName);if(!(c instanceof vr))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(h,y){return h===p?!0:y.fail(null,i._failMsg,-1)}},n}($e);q.TEnumLiteral=e1;function Va(e){return Object.keys(e).map(function(n){return Wa(n,e[n])})}function Wa(e,n){return n instanceof Nr?new Er(e,n.ttype,!0):new Er(e,Rt(n),!1)}function Xa(e,n){return new t1(e,Va(n))}q.iface=Xa;var t1=function(e){Xe(n,e);function n(s,o){var i=e.call(this)||this;return i.bases=s,i.props=o,i.propSet=new Set(o.map(function(c){return c.name})),i}return n.prototype.getChecker=function(s,o,i){var c=this,p=this.bases.map(function(w){return Ar(s,w).getChecker(s,o)}),h=this.props.map(function(w){return w.ttype.getChecker(s,o)}),y=new Jo.NoopContext,T=this.props.map(function(w,v){return!w.isOpt&&!h[v](void 0,y)}),A=function(w,v){if(typeof w!="object"||w===null)return v.fail(null,"is not an object",0);for(var Y=0;Y<p.length;Y++)if(!p[Y](w,v))return!1;for(var Y=0;Y<h.length;Y++){var M=c.props[Y].name,I=w[M];if(I===void 0){if(T[Y])return v.fail(M,"is missing",1)}else{var P=h[Y](I,v);if(!P)return v.fail(M,null,1)}}return!0};if(!o)return A;var R=this.propSet;return i&&(this.propSet.forEach(function(w){return i.add(w)}),R=i),function(w,v){if(!A(w,v))return!1;for(var Y in w)if(!R.has(Y))return v.fail(Y,"is extraneous",2);return!0}},n}($e);q.TIface=t1;function Ga(e){return new Nr(Rt(e))}q.opt=Ga;var Nr=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.ttype=s,o}return n.prototype.getChecker=function(s,o){var i=this.ttype.getChecker(s,o);return function(c,p){return c===void 0||i(c,p)}},n}($e);q.TOptional=Nr;var Er=function(){function e(n,s,o){this.name=n,this.ttype=s,this.isOpt=o}return e}();q.TProp=Er;function Ja(e){for(var n=[],s=1;s<arguments.length;s++)n[s-1]=arguments[s];return new n1(new r1(n),Rt(e))}q.func=Ja;var n1=function(e){Xe(n,e);function n(s,o){var i=e.call(this)||this;return i.paramList=s,i.result=o,i}return n.prototype.getChecker=function(s,o){return function(i,c){return typeof i=="function"?!0:c.fail(null,"is not a function",0)}},n}($e);q.TFunc=n1;function za(e,n,s){return new s1(e,Rt(n),!!s)}q.param=za;var s1=function(){function e(n,s,o){this.name=n,this.ttype=s,this.isOpt=o}return e}();q.TParam=s1;var r1=function(e){Xe(n,e);function n(s){var o=e.call(this)||this;return o.params=s,o}return n.prototype.getChecker=function(s,o){var i=this,c=this.params.map(function(T){return T.ttype.getChecker(s,o)}),p=new Jo.NoopContext,h=this.params.map(function(T,A){return!T.isOpt&&!c[A](void 0,p)}),y=function(T,A){if(!Array.isArray(T))return A.fail(null,"is not an array",0);for(var R=0;R<c.length;R++){var w=i.params[R];if(T[R]===void 0){if(h[R])return A.fail(w.name,"is missing",1)}else{var v=c[R](T[R],A);if(!v)return A.fail(w.name,null,1)}}return!0};return o?function(T,A){return y(T,A)?T.length<=c.length?!0:A.fail(c.length,"is extraneous",2):!1}:y},n}($e);q.TParamList=r1;var Fe=function(e){Xe(n,e);function n(s,o){var i=e.call(this)||this;return i.validator=s,i.message=o,i}return n.prototype.getChecker=function(s,o){var i=this;return function(c,p){return i.validator(c)?!0:p.fail(null,i.message,0)}},n}($e);q.BasicType=Fe;q.basicTypes={any:new Fe(function(e){return!0},"is invalid"),number:new Fe(function(e){return typeof e=="number"},"is not a number"),object:new Fe(function(e){return typeof e=="object"&&e},"is not an object"),boolean:new Fe(function(e){return typeof e=="boolean"},"is not a boolean"),string:new Fe(function(e){return typeof e=="string"},"is not a string"),symbol:new Fe(function(e){return typeof e=="symbol"},"is not a symbol"),void:new Fe(function(e){return e==null},"is not void"),undefined:new Fe(function(e){return e===void 0},"is not undefined"),null:new Fe(function(e){return e===null},"is not null"),never:new Fe(function(e){return!1},"is unexpected"),Date:new Fe(Xo("[object Date]"),"is not a Date"),RegExp:new Fe(Xo("[object RegExp]"),"is not a RegExp")};var Ka=Object.prototype.toString;function Xo(e){return function(n){return typeof n=="object"&&n&&Ka.call(n)===e}}typeof N<"u"&&(q.basicTypes.Buffer=new Fe(function(e){return N.isBuffer(e)},"is not a Buffer"));var Ya=function(e){q.basicTypes[e.name]=new Fe(function(n){return n instanceof e},"is not a "+e.name)};for(ms=0,Sr=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];ms<Sr.length;ms++)Go=Sr[ms],Ya(Go);var Go,ms,Sr});var Lr=xt(ie=>{"use strict";d();g();k();var Qa=ie&&ie.__spreadArrays||function(){for(var e=0,n=0,s=arguments.length;n<s;n++)e+=arguments[n].length;for(var o=Array(e),i=0,n=0;n<s;n++)for(var c=arguments[n],p=0,h=c.length;p<h;p++,i++)o[i]=c[p];return o};Object.defineProperty(ie,"__esModule",{value:!0});ie.Checker=ie.createCheckers=void 0;var Tn=Rr(),tn=hs(),xe=Rr();Object.defineProperty(ie,"TArray",{enumerable:!0,get:function(){return xe.TArray}});Object.defineProperty(ie,"TEnumType",{enumerable:!0,get:function(){return xe.TEnumType}});Object.defineProperty(ie,"TEnumLiteral",{enumerable:!0,get:function(){return xe.TEnumLiteral}});Object.defineProperty(ie,"TFunc",{enumerable:!0,get:function(){return xe.TFunc}});Object.defineProperty(ie,"TIface",{enumerable:!0,get:function(){return xe.TIface}});Object.defineProperty(ie,"TLiteral",{enumerable:!0,get:function(){return xe.TLiteral}});Object.defineProperty(ie,"TName",{enumerable:!0,get:function(){return xe.TName}});Object.defineProperty(ie,"TOptional",{enumerable:!0,get:function(){return xe.TOptional}});Object.defineProperty(ie,"TParam",{enumerable:!0,get:function(){return xe.TParam}});Object.defineProperty(ie,"TParamList",{enumerable:!0,get:function(){return xe.TParamList}});Object.defineProperty(ie,"TProp",{enumerable:!0,get:function(){return xe.TProp}});Object.defineProperty(ie,"TTuple",{enumerable:!0,get:function(){return xe.TTuple}});Object.defineProperty(ie,"TType",{enumerable:!0,get:function(){return xe.TType}});Object.defineProperty(ie,"TUnion",{enumerable:!0,get:function(){return xe.TUnion}});Object.defineProperty(ie,"TIntersection",{enumerable:!0,get:function(){return xe.TIntersection}});Object.defineProperty(ie,"array",{enumerable:!0,get:function(){return xe.array}});Object.defineProperty(ie,"enumlit",{enumerable:!0,get:function(){return xe.enumlit}});Object.defineProperty(ie,"enumtype",{enumerable:!0,get:function(){return xe.enumtype}});Object.defineProperty(ie,"func",{enumerable:!0,get:function(){return xe.func}});Object.defineProperty(ie,"iface",{enumerable:!0,get:function(){return xe.iface}});Object.defineProperty(ie,"lit",{enumerable:!0,get:function(){return xe.lit}});Object.defineProperty(ie,"name",{enumerable:!0,get:function(){return xe.name}});Object.defineProperty(ie,"opt",{enumerable:!0,get:function(){return xe.opt}});Object.defineProperty(ie,"param",{enumerable:!0,get:function(){return xe.param}});Object.defineProperty(ie,"tuple",{enumerable:!0,get:function(){return xe.tuple}});Object.defineProperty(ie,"union",{enumerable:!0,get:function(){return xe.union}});Object.defineProperty(ie,"intersection",{enumerable:!0,get:function(){return xe.intersection}});Object.defineProperty(ie,"BasicType",{enumerable:!0,get:function(){return xe.BasicType}});var Za=hs();Object.defineProperty(ie,"VError",{enumerable:!0,get:function(){return Za.VError}});function ec(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];for(var s=Object.assign.apply(Object,Qa([{},Tn.basicTypes],e)),o={},i=0,c=e;i<c.length;i++)for(var p=c[i],h=0,y=Object.keys(p);h<y.length;h++){var T=y[h];o[T]=new o1(s,p[T])}return o}ie.createCheckers=ec;var o1=function(){function e(n,s,o){if(o===void 0&&(o="value"),this.suite=n,this.ttype=s,this._path=o,this.props=new Map,s instanceof Tn.TIface)for(var i=0,c=s.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 tn.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 tn.NoopContext)},e.prototype.strictValidate=function(n){return this._doValidate(this.checkerStrict,n)},e.prototype.getProp=function(n){var s=this.props.get(n);if(!s)throw new Error("Type has no property "+n);return new e(this.suite,s,this._path+"."+n)},e.prototype.methodArgs=function(n){var s=this._getMethod(n);return new e(this.suite,s.paramList)},e.prototype.methodResult=function(n){var s=this._getMethod(n);return new e(this.suite,s.result)},e.prototype.getArgs=function(){if(!(this.ttype instanceof Tn.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 Tn.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,s){var o=new tn.NoopContext;if(!n(s,o)){var i=new tn.DetailContext;throw n(s,i),i.getError(this._path)}},e.prototype._doValidate=function(n,s){var o=new tn.NoopContext;if(n(s,o))return null;var i=new tn.DetailContext;return n(s,i),i.getErrorDetail(this._path)},e.prototype._getMethod=function(n){var s=this.props.get(n);if(!s)throw new Error("Type has no property "+n);if(!(s instanceof Tn.TFunc))throw new Error("Property "+n+" is not a method");return s},e}();ie.Checker=o1});var Hi=xt(Yn=>{"use strict";d();g();k();Yn.__esModule=!0;Yn.LinesAndColumns=void 0;var Bs=`
`,$i="\r",Ui=function(){function e(n){this.string=n;for(var s=[0],o=0;o<n.length;)switch(n[o]){case Bs:o+=Bs.length,s.push(o);break;case $i:o+=$i.length,n[o]===Bs&&(o+=Bs.length),s.push(o);break;default:o++;break}this.offsets=s}return e.prototype.locationForIndex=function(n){if(n<0||n>this.string.length)return null;for(var s=0,o=this.offsets;o[s+1]<=n;)s++;var i=n-o[s];return{line:s,column:i}},e.prototype.indexForLocation=function(n){var s=n.line,o=n.column;return s<0||s>=this.offsets.length||o<0||o>this.lengthOfLine(s)?null:this.offsets[s]+o},e.prototype.lengthOfLine=function(n){var s=this.offsets[n],o=n===this.offsets.length-1?this.string.length:this.offsets[n+1];return o-s},e}();Yn.LinesAndColumns=Ui;Yn.default=Ui});d();g();k();d();g();k();d();g();k();d();g();k();d();g();k();d();g();k();var l;(function(e){e[e.NONE=0]="NONE";let s=1;e[e._abstract=s]="_abstract";let o=s+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 h=p+1;e[e._async=h]="_async";let y=h+1;e[e._await=y]="_await";let T=y+1;e[e._checks=T]="_checks";let A=T+1;e[e._constructor=A]="_constructor";let R=A+1;e[e._declare=R]="_declare";let w=R+1;e[e._enum=w]="_enum";let v=w+1;e[e._exports=v]="_exports";let Y=v+1;e[e._from=Y]="_from";let M=Y+1;e[e._get=M]="_get";let I=M+1;e[e._global=I]="_global";let P=I+1;e[e._implements=P]="_implements";let $=P+1;e[e._infer=$]="_infer";let V=$+1;e[e._interface=V]="_interface";let ee=V+1;e[e._is=ee]="_is";let D=ee+1;e[e._keyof=D]="_keyof";let ae=D+1;e[e._mixins=ae]="_mixins";let se=ae+1;e[e._module=se]="_module";let _e=se+1;e[e._namespace=_e]="_namespace";let ge=_e+1;e[e._of=ge]="_of";let Ne=ge+1;e[e._opaque=Ne]="_opaque";let He=Ne+1;e[e._out=He]="_out";let et=He+1;e[e._override=et]="_override";let lt=et+1;e[e._private=lt]="_private";let Ve=lt+1;e[e._protected=Ve]="_protected";let U=Ve+1;e[e._proto=U]="_proto";let L=U+1;e[e._public=L]="_public";let W=L+1;e[e._readonly=W]="_readonly";let J=W+1;e[e._require=J]="_require";let le=J+1;e[e._satisfies=le]="_satisfies";let ce=le+1;e[e._set=ce]="_set";let ue=ce+1;e[e._static=ue]="_static";let Ae=ue+1;e[e._symbol=Ae]="_symbol";let ye=Ae+1;e[e._type=ye]="_type";let Je=ye+1;e[e._unique=Je]="_unique";let ze=Je+1;e[e._using=ze]="_using"})(l||(l={}));d();g();k();var t;(function(e){e[e.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let s=16;e[e.IS_KEYWORD=s]="IS_KEYWORD";let o=32;e[e.IS_ASSIGN=o]="IS_ASSIGN";let i=64;e[e.IS_RIGHT_ASSOCIATIVE=i]="IS_RIGHT_ASSOCIATIVE";let c=128;e[e.IS_PREFIX=c]="IS_PREFIX";let p=256;e[e.IS_POSTFIX=p]="IS_POSTFIX";let h=512;e[e.IS_EXPRESSION_START=h]="IS_EXPRESSION_START";let y=512;e[e.num=y]="num";let T=1536;e[e.bigint=T]="bigint";let A=2560;e[e.decimal=A]="decimal";let R=3584;e[e.regexp=R]="regexp";let w=4608;e[e.string=w]="string";let v=5632;e[e.name=v]="name";let Y=6144;e[e.eof=Y]="eof";let M=7680;e[e.bracketL=M]="bracketL";let I=8192;e[e.bracketR=I]="bracketR";let P=9728;e[e.braceL=P]="braceL";let $=10752;e[e.braceBarL=$]="braceBarL";let V=11264;e[e.braceR=V]="braceR";let ee=12288;e[e.braceBarR=ee]="braceBarR";let D=13824;e[e.parenL=D]="parenL";let ae=14336;e[e.parenR=ae]="parenR";let se=15360;e[e.comma=se]="comma";let _e=16384;e[e.semi=_e]="semi";let ge=17408;e[e.colon=ge]="colon";let Ne=18432;e[e.doubleColon=Ne]="doubleColon";let He=19456;e[e.dot=He]="dot";let et=20480;e[e.question=et]="question";let lt=21504;e[e.questionDot=lt]="questionDot";let Ve=22528;e[e.arrow=Ve]="arrow";let U=23552;e[e.template=U]="template";let L=24576;e[e.ellipsis=L]="ellipsis";let W=25600;e[e.backQuote=W]="backQuote";let J=27136;e[e.dollarBraceL=J]="dollarBraceL";let le=27648;e[e.at=le]="at";let ce=29184;e[e.hash=ce]="hash";let ue=29728;e[e.eq=ue]="eq";let Ae=30752;e[e.assign=Ae]="assign";let ye=32640;e[e.preIncDec=ye]="preIncDec";let Je=33664;e[e.postIncDec=Je]="postIncDec";let ze=34432;e[e.bang=ze]="bang";let tt=35456;e[e.tilde=tt]="tilde";let ut=35841;e[e.pipeline=ut]="pipeline";let nt=36866;e[e.nullishCoalescing=nt]="nullishCoalescing";let st=37890;e[e.logicalOR=st]="logicalOR";let rt=38915;e[e.logicalAND=rt]="logicalAND";let At=39940;e[e.bitwiseOR=At]="bitwiseOR";let Xt=40965;e[e.bitwiseXOR=Xt]="bitwiseXOR";let fn=41990;e[e.bitwiseAND=fn]="bitwiseAND";let hn=43015;e[e.equality=hn]="equality";let Ft=44040;e[e.lessThan=Ft]="lessThan";let Ct=45064;e[e.greaterThan=Ct]="greaterThan";let gt=46088;e[e.relationalOrEqual=gt]="relationalOrEqual";let Pt=47113;e[e.bitShiftL=Pt]="bitShiftL";let mn=48137;e[e.bitShiftR=mn]="bitShiftR";let Gt=49802;e[e.plus=Gt]="plus";let m=50826;e[e.minus=m]="minus";let b=51723;e[e.modulo=b]="modulo";let S=52235;e[e.star=S]="star";let C=53259;e[e.slash=C]="slash";let Q=54348;e[e.exponent=Q]="exponent";let H=55296;e[e.jsxName=H]="jsxName";let oe=56320;e[e.jsxText=oe]="jsxText";let he=57344;e[e.jsxEmptyText=he]="jsxEmptyText";let ne=58880;e[e.jsxTagStart=ne]="jsxTagStart";let me=59392;e[e.jsxTagEnd=me]="jsxTagEnd";let Re=60928;e[e.typeParameterStart=Re]="typeParameterStart";let be=61440;e[e.nonNullAssertion=be]="nonNullAssertion";let Ie=62480;e[e._break=Ie]="_break";let ve=63504;e[e._case=ve]="_case";let Be=64528;e[e._catch=Be]="_catch";let ot=65552;e[e._continue=ot]="_continue";let pt=66576;e[e._debugger=pt]="_debugger";let ft=67600;e[e._default=ft]="_default";let Mt=68624;e[e._do=Mt]="_do";let Oe=69648;e[e._else=Oe]="_else";let jt=70672;e[e._finally=jt]="_finally";let Jt=71696;e[e._for=Jt]="_for";let dn=73232;e[e._function=dn]="_function";let zt=73744;e[e._if=zt]="_if";let Bt=74768;e[e._return=Bt]="_return";let it=75792;e[e._switch=it]="_switch";let vt=77456;e[e._throw=vt]="_throw";let Kt=77840;e[e._try=Kt]="_try";let Yt=78864;e[e._var=Yt]="_var";let Qt=79888;e[e._let=Qt]="_let";let qs=80912;e[e._const=qs]="_const";let $s=81936;e[e._while=$s]="_while";let Us=82960;e[e._with=Us]="_with";let Hs=84496;e[e._new=Hs]="_new";let Vs=85520;e[e._this=Vs]="_this";let Ws=86544;e[e._super=Ws]="_super";let Xs=87568;e[e._class=Xs]="_class";let Gs=88080;e[e._extends=Gs]="_extends";let Js=89104;e[e._export=Js]="_export";let zs=90640;e[e._import=zs]="_import";let Ks=91664;e[e._yield=Ks]="_yield";let Ys=92688;e[e._null=Ys]="_null";let Qs=93712;e[e._true=Qs]="_true";let Zs=94736;e[e._false=Zs]="_false";let er=95256;e[e._in=er]="_in";let tr=96280;e[e._instanceof=tr]="_instanceof";let nr=97936;e[e._typeof=nr]="_typeof";let sr=98960;e[e._void=sr]="_void";let Xi=99984;e[e._delete=Xi]="_delete";let Gi=100880;e[e._async=Gi]="_async";let Ji=101904;e[e._get=Ji]="_get";let zi=102928;e[e._set=zi]="_set";let Ki=103952;e[e._declare=Ki]="_declare";let Yi=104976;e[e._readonly=Yi]="_readonly";let Qi=106e3;e[e._abstract=Qi]="_abstract";let Zi=107024;e[e._static=Zi]="_static";let ea=107536;e[e._public=ea]="_public";let ta=108560;e[e._private=ta]="_private";let na=109584;e[e._protected=na]="_protected";let sa=110608;e[e._override=sa]="_override";let ra=112144;e[e._as=ra]="_as";let oa=113168;e[e._enum=oa]="_enum";let ia=114192;e[e._type=ia]="_type";let aa=115216;e[e._implements=aa]="_implements"})(t||(t={}));function Zn(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 qe=class{constructor(n,s,o){this.startTokenIndex=n,this.endTokenIndex=s,this.isFunctionScope=o}},rr=class{constructor(n,s,o,i,c,p,h,y,T,A,R,w,v){this.potentialArrowAt=n,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=o,this.tokensLength=i,this.scopesLength=c,this.pos=p,this.type=h,this.contextualKeyword=y,this.start=T,this.end=A,this.isType=R,this.scopeDepth=w,this.error=v}},kn=class e{constructor(){e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),e.prototype.__init6.call(this),e.prototype.__init7.call(this),e.prototype.__init8.call(this),e.prototype.__init9.call(this),e.prototype.__init10.call(this),e.prototype.__init11.call(this),e.prototype.__init12.call(this),e.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 rr(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}};d();g();k();var u;(function(e){e[e.backSpace=8]="backSpace";let s=10;e[e.lineFeed=s]="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 h=33;e[e.exclamationMark=h]="exclamationMark";let y=34;e[e.quotationMark=y]="quotationMark";let T=35;e[e.numberSign=T]="numberSign";let A=36;e[e.dollarSign=A]="dollarSign";let R=37;e[e.percentSign=R]="percentSign";let w=38;e[e.ampersand=w]="ampersand";let v=39;e[e.apostrophe=v]="apostrophe";let Y=40;e[e.leftParenthesis=Y]="leftParenthesis";let M=41;e[e.rightParenthesis=M]="rightParenthesis";let I=42;e[e.asterisk=I]="asterisk";let P=43;e[e.plusSign=P]="plusSign";let $=44;e[e.comma=$]="comma";let V=45;e[e.dash=V]="dash";let ee=46;e[e.dot=ee]="dot";let D=47;e[e.slash=D]="slash";let ae=48;e[e.digit0=ae]="digit0";let se=49;e[e.digit1=se]="digit1";let _e=50;e[e.digit2=_e]="digit2";let ge=51;e[e.digit3=ge]="digit3";let Ne=52;e[e.digit4=Ne]="digit4";let He=53;e[e.digit5=He]="digit5";let et=54;e[e.digit6=et]="digit6";let lt=55;e[e.digit7=lt]="digit7";let Ve=56;e[e.digit8=Ve]="digit8";let U=57;e[e.digit9=U]="digit9";let L=58;e[e.colon=L]="colon";let W=59;e[e.semicolon=W]="semicolon";let J=60;e[e.lessThan=J]="lessThan";let le=61;e[e.equalsTo=le]="equalsTo";let ce=62;e[e.greaterThan=ce]="greaterThan";let ue=63;e[e.questionMark=ue]="questionMark";let Ae=64;e[e.atSign=Ae]="atSign";let ye=65;e[e.uppercaseA=ye]="uppercaseA";let Je=66;e[e.uppercaseB=Je]="uppercaseB";let ze=67;e[e.uppercaseC=ze]="uppercaseC";let tt=68;e[e.uppercaseD=tt]="uppercaseD";let ut=69;e[e.uppercaseE=ut]="uppercaseE";let nt=70;e[e.uppercaseF=nt]="uppercaseF";let st=71;e[e.uppercaseG=st]="uppercaseG";let rt=72;e[e.uppercaseH=rt]="uppercaseH";let At=73;e[e.uppercaseI=At]="uppercaseI";let Xt=74;e[e.uppercaseJ=Xt]="uppercaseJ";let fn=75;e[e.uppercaseK=fn]="uppercaseK";let hn=76;e[e.uppercaseL=hn]="uppercaseL";let Ft=77;e[e.uppercaseM=Ft]="uppercaseM";let Ct=78;e[e.uppercaseN=Ct]="uppercaseN";let gt=79;e[e.uppercaseO=gt]="uppercaseO";let Pt=80;e[e.uppercaseP=Pt]="uppercaseP";let mn=81;e[e.uppercaseQ=mn]="uppercaseQ";let Gt=82;e[e.uppercaseR=Gt]="uppercaseR";let m=83;e[e.uppercaseS=m]="uppercaseS";let b=84;e[e.uppercaseT=b]="uppercaseT";let S=85;e[e.uppercaseU=S]="uppercaseU";let C=86;e[e.uppercaseV=C]="uppercaseV";let Q=87;e[e.uppercaseW=Q]="uppercaseW";let H=88;e[e.uppercaseX=H]="uppercaseX";let oe=89;e[e.uppercaseY=oe]="uppercaseY";let he=90;e[e.uppercaseZ=he]="uppercaseZ";let ne=91;e[e.leftSquareBracket=ne]="leftSquareBracket";let me=92;e[e.backslash=me]="backslash";let Re=93;e[e.rightSquareBracket=Re]="rightSquareBracket";let be=94;e[e.caret=be]="caret";let Ie=95;e[e.underscore=Ie]="underscore";let ve=96;e[e.graveAccent=ve]="graveAccent";let Be=97;e[e.lowercaseA=Be]="lowercaseA";let ot=98;e[e.lowercaseB=ot]="lowercaseB";let pt=99;e[e.lowercaseC=pt]="lowercaseC";let ft=100;e[e.lowercaseD=ft]="lowercaseD";let Mt=101;e[e.lowercaseE=Mt]="lowercaseE";let Oe=102;e[e.lowercaseF=Oe]="lowercaseF";let jt=103;e[e.lowercaseG=jt]="lowercaseG";let Jt=104;e[e.lowercaseH=Jt]="lowercaseH";let dn=105;e[e.lowercaseI=dn]="lowercaseI";let zt=106;e[e.lowercaseJ=zt]="lowercaseJ";let Bt=107;e[e.lowercaseK=Bt]="lowercaseK";let it=108;e[e.lowercaseL=it]="lowercaseL";let vt=109;e[e.lowercaseM=vt]="lowercaseM";let Kt=110;e[e.lowercaseN=Kt]="lowercaseN";let Yt=111;e[e.lowercaseO=Yt]="lowercaseO";let Qt=112;e[e.lowercaseP=Qt]="lowercaseP";let qs=113;e[e.lowercaseQ=qs]="lowercaseQ";let $s=114;e[e.lowercaseR=$s]="lowercaseR";let Us=115;e[e.lowercaseS=Us]="lowercaseS";let Hs=116;e[e.lowercaseT=Hs]="lowercaseT";let Vs=117;e[e.lowercaseU=Vs]="lowercaseU";let Ws=118;e[e.lowercaseV=Ws]="lowercaseV";let Xs=119;e[e.lowercaseW=Xs]="lowercaseW";let Gs=120;e[e.lowercaseX=Gs]="lowercaseX";let Js=121;e[e.lowercaseY=Js]="lowercaseY";let zs=122;e[e.lowercaseZ=zs]="lowercaseZ";let Ks=123;e[e.leftCurlyBrace=Ks]="leftCurlyBrace";let Ys=124;e[e.verticalBar=Ys]="verticalBar";let Qs=125;e[e.rightCurlyBrace=Qs]="rightCurlyBrace";let Zs=126;e[e.tilde=Zs]="tilde";let er=160;e[e.nonBreakingSpace=er]="nonBreakingSpace";let tr=5760;e[e.oghamSpaceMark=tr]="oghamSpaceMark";let nr=8232;e[e.lineSeparator=nr]="lineSeparator";let sr=8233;e[e.paragraphSeparator=sr]="paragraphSeparator"})(u||(u={}));var Zt,te,re,r,E,Io;function qt(){return Io++}function To(e){if("pos"in e){let n=ca(e.pos);e.message+=` (${n.line}:${n.column})`,e.loc=n}return e}var or=class{constructor(n,s){this.line=n,this.column=s}};function ca(e){let n=1,s=1;for(let o=0;o<e;o++)E.charCodeAt(o)===u.lineFeed?(n++,s=1):s++;return new or(n,s)}function bo(e,n,s,o){E=e,r=new kn,Io=1,Zt=n,te=s,re=o}d();g();k();function O(e){return r.contextualKeyword===e}function en(e){let n=_t();return n.type===t.name&&n.contextualKeyword===e}function Ee(e){return r.contextualKeyword===e&&f(t.name)}function Te(e){Ee(e)||G()}function De(){return a(t.eof)||a(t.braceR)||Le()}function Le(){let e=r.tokens[r.tokens.length-1],n=e?e.end:0;for(let s=n;s<r.start;s++){let o=E.charCodeAt(s);if(o===u.lineFeed||o===u.carriageReturn||o===8232||o===8233)return!0}return!1}function es(){let e=gn();for(let n=r.end;n<e;n++){let s=E.charCodeAt(n);if(s===u.lineFeed||s===u.carriageReturn||s===8232||s===8233)return!0}return!1}function Ke(){return f(t.semi)||De()}function de(){Ke()||G('Unexpected token, expected ";"')}function x(e){f(e)||G(`Unexpected token, expected "${Zn(e)}"`)}function G(e="Unexpected token",n=r.start){if(r.error)return;let s=new SyntaxError(e);s.pos=n,r.error=s,r.pos=E.length,z(t.eof)}d();g();k();d();g();k();var ir=[9,11,12,u.space,u.nonBreakingSpace,u.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],ar=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,cr=new Uint8Array(65536);for(let e of ir)cr[e]=1;function la(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 Me=new Uint8Array(65536);for(let e=0;e<128;e++)Me[e]=la(e)?1:0;for(let e=128;e<65536;e++)Me[e]=1;for(let e of ir)Me[e]=0;Me[8232]=0;Me[8233]=0;var yt=Me.slice();for(let e=u.digit0;e<=u.digit9;e++)yt[e]=0;d();g();k();d();g();k();var lr=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,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1,-1,-1,-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 ur(){let e=0,n=0,s=r.pos;for(;s<E.length&&(n=E.charCodeAt(s),!(n<u.lowercaseA||n>u.lowercaseZ));){let i=lr[e+(n-u.lowercaseA)+1];if(i===-1)break;e=i,s++}let o=lr[e];if(o>-1&&!Me[n]){r.pos=s,o&1?z(o>>>1):z(t.name,o>>>1);return}for(;s<E.length;){let i=E.charCodeAt(s);if(Me[i])s++;else if(i===u.backslash){if(s+=2,E.charCodeAt(s)===u.leftCurlyBrace){for(;s<E.length&&E.charCodeAt(s)!==u.rightCurlyBrace;)s++;s++}}else if(i===u.atSign&&E.charCodeAt(s+1)===u.atSign)s+=2;else break}r.pos=s,z(t.name)}var F;(function(e){e[e.Access=0]="Access";let s=1;e[e.ExportAccess=s]="ExportAccess";let o=s+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 h=p+1;e[e.ObjectShorthandFunctionScopedDeclaration=h]="ObjectShorthandFunctionScopedDeclaration";let y=h+1;e[e.ObjectShorthandBlockScopedDeclaration=y]="ObjectShorthandBlockScopedDeclaration";let T=y+1;e[e.ObjectShorthand=T]="ObjectShorthand";let A=T+1;e[e.ImportDeclaration=A]="ImportDeclaration";let R=A+1;e[e.ObjectKey=R]="ObjectKey";let w=R+1;e[e.ImportAccess=w]="ImportAccess"})(F||(F={}));var We;(function(e){e[e.NoChildren=0]="NoChildren";let s=1;e[e.OneChild=s]="OneChild";let o=s+1;e[e.StaticChildren=o]="StaticChildren";let i=o+1;e[e.KeyAfterPropSpread=i]="KeyAfterPropSpread"})(We||(We={}));function ts(e){let n=e.identifierRole;return n===F.TopLevelDeclaration||n===F.FunctionScopedDeclaration||n===F.BlockScopedDeclaration||n===F.ObjectShorthandTopLevelDeclaration||n===F.ObjectShorthandFunctionScopedDeclaration||n===F.ObjectShorthandBlockScopedDeclaration}function wo(e){let n=e.identifierRole;return n===F.FunctionScopedDeclaration||n===F.BlockScopedDeclaration||n===F.ObjectShorthandFunctionScopedDeclaration||n===F.ObjectShorthandBlockScopedDeclaration}function ns(e){let n=e.identifierRole;return n===F.TopLevelDeclaration||n===F.ObjectShorthandTopLevelDeclaration||n===F.ImportDeclaration}function So(e){let n=e.identifierRole;return n===F.TopLevelDeclaration||n===F.BlockScopedDeclaration||n===F.ObjectShorthandTopLevelDeclaration||n===F.ObjectShorthandBlockScopedDeclaration}function Eo(e){let n=e.identifierRole;return n===F.FunctionScopedDeclaration||n===F.ObjectShorthandFunctionScopedDeclaration}function Ao(e){return e.identifierRole===F.ObjectShorthandTopLevelDeclaration||e.identifierRole===F.ObjectShorthandBlockScopedDeclaration||e.identifierRole===F.ObjectShorthandFunctionScopedDeclaration}var $t=class{constructor(){this.type=r.type,this.contextualKeyword=r.contextualKeyword,this.start=r.start,this.end=r.end,this.scopeDepth=r.scopeDepth,this.isType=r.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 _(){r.tokens.push(new $t),dr()}function ht(){r.tokens.push(new $t),r.start=r.pos,wa()}function Co(){r.type===t.assign&&--r.pos,Ia()}function Z(e){for(let s=r.tokens.length-e;s<r.tokens.length;s++)r.tokens[s].isType=!0;let n=r.isType;return r.isType=!0,n}function K(e){r.isType=e}function f(e){return a(e)?(_(),!0):!1}function ss(e){let n=r.isType;r.isType=!0,f(e),r.isType=n}function a(e){return r.type===e}function ke(){let e=r.snapshot();_();let n=r.type;return r.restoreFromSnapshot(e),n}var fr=class{constructor(n,s){this.type=n,this.contextualKeyword=s}};function _t(){let e=r.snapshot();_();let n=r.type,s=r.contextualKeyword;return r.restoreFromSnapshot(e),new fr(n,s)}function gn(){return hr(r.pos)}function hr(e){ar.lastIndex=e;let n=ar.exec(E);return e+n[0].length}function mr(){return E.charCodeAt(gn())}function dr(){if(gr(),r.start=r.pos,r.pos>=E.length){let e=r.tokens;e.length>=2&&e[e.length-1].start>=E.length&&e[e.length-2].start>=E.length&&G("Unexpectedly reached the end of input."),z(t.eof);return}ua(E.charCodeAt(r.pos))}function ua(e){yt[e]||e===u.backslash||e===u.atSign&&E.charCodeAt(r.pos+1)===u.atSign?ur():xr(e)}function pa(){for(;E.charCodeAt(r.pos)!==u.asterisk||E.charCodeAt(r.pos+1)!==u.slash;)if(r.pos++,r.pos>E.length){G("Unterminated comment",r.pos-2);return}r.pos+=2}function kr(e){let n=E.charCodeAt(r.pos+=e);if(r.pos<E.length)for(;n!==u.lineFeed&&n!==u.carriageReturn&&n!==u.lineSeparator&&n!==u.paragraphSeparator&&++r.pos<E.length;)n=E.charCodeAt(r.pos)}function gr(){for(;r.pos<E.length;){let e=E.charCodeAt(r.pos);switch(e){case u.carriageReturn:E.charCodeAt(r.pos+1)===u.lineFeed&&++r.pos;case u.lineFeed:case u.lineSeparator:case u.paragraphSeparator:++r.pos;break;case u.slash:switch(E.charCodeAt(r.pos+1)){case u.asterisk:r.pos+=2,pa();break;case u.slash:kr(2);break;default:return}break;default:if(cr[e])++r.pos;else return}}}function z(e,n=l.NONE){r.end=r.pos,r.type=e,r.contextualKeyword=n}function fa(){let e=E.charCodeAt(r.pos+1);if(e>=u.digit0&&e<=u.digit9){vo(!0);return}e===u.dot&&E.charCodeAt(r.pos+2)===u.dot?(r.pos+=3,z(t.ellipsis)):(++r.pos,z(t.dot))}function ha(){E.charCodeAt(r.pos+1)===u.equalsTo?pe(t.assign,2):pe(t.slash,1)}function ma(e){let n=e===u.asterisk?t.star:t.modulo,s=1,o=E.charCodeAt(r.pos+1);e===u.asterisk&&o===u.asterisk&&(s++,o=E.charCodeAt(r.pos+2),n=t.exponent),o===u.equalsTo&&E.charCodeAt(r.pos+2)!==u.greaterThan&&(s++,n=t.assign),pe(n,s)}function da(e){let n=E.charCodeAt(r.pos+1);if(n===e){E.charCodeAt(r.pos+2)===u.equalsTo?pe(t.assign,3):pe(e===u.verticalBar?t.logicalOR:t.logicalAND,2);return}if(e===u.verticalBar){if(n===u.greaterThan){pe(t.pipeline,2);return}else if(n===u.rightCurlyBrace&&re){pe(t.braceBarR,2);return}}if(n===u.equalsTo){pe(t.assign,2);return}pe(e===u.verticalBar?t.bitwiseOR:t.bitwiseAND,1)}function ka(){E.charCodeAt(r.pos+1)===u.equalsTo?pe(t.assign,2):pe(t.bitwiseXOR,1)}function ga(e){let n=E.charCodeAt(r.pos+1);if(n===e){pe(t.preIncDec,2);return}n===u.equalsTo?pe(t.assign,2):e===u.plusSign?pe(t.plus,1):pe(t.minus,1)}function xa(){let e=E.charCodeAt(r.pos+1);if(e===u.lessThan){if(E.charCodeAt(r.pos+2)===u.equalsTo){pe(t.assign,3);return}r.isType?pe(t.lessThan,1):pe(t.bitShiftL,2);return}e===u.equalsTo?pe(t.relationalOrEqual,2):pe(t.lessThan,1)}function Po(){if(r.isType){pe(t.greaterThan,1);return}let e=E.charCodeAt(r.pos+1);if(e===u.greaterThan){let n=E.charCodeAt(r.pos+2)===u.greaterThan?3:2;if(E.charCodeAt(r.pos+n)===u.equalsTo){pe(t.assign,n+1);return}pe(t.bitShiftR,n);return}e===u.equalsTo?pe(t.relationalOrEqual,2):pe(t.greaterThan,1)}function rs(){r.type===t.greaterThan&&(r.pos-=1,Po())}function _a(e){let n=E.charCodeAt(r.pos+1);if(n===u.equalsTo){pe(t.equality,E.charCodeAt(r.pos+2)===u.equalsTo?3:2);return}if(e===u.equalsTo&&n===u.greaterThan){r.pos+=2,z(t.arrow);return}pe(e===u.equalsTo?t.eq:t.bang,1)}function ya(){let e=E.charCodeAt(r.pos+1),n=E.charCodeAt(r.pos+2);e===u.questionMark&&!(re&&r.isType)?n===u.equalsTo?pe(t.assign,3):pe(t.nullishCoalescing,2):e===u.dot&&!(n>=u.digit0&&n<=u.digit9)?(r.pos+=2,z(t.questionDot)):(++r.pos,z(t.question))}function xr(e){switch(e){case u.numberSign:++r.pos,z(t.hash);return;case u.dot:fa();return;case u.leftParenthesis:++r.pos,z(t.parenL);return;case u.rightParenthesis:++r.pos,z(t.parenR);return;case u.semicolon:++r.pos,z(t.semi);return;case u.comma:++r.pos,z(t.comma);return;case u.leftSquareBracket:++r.pos,z(t.bracketL);return;case u.rightSquareBracket:++r.pos,z(t.bracketR);return;case u.leftCurlyBrace:re&&E.charCodeAt(r.pos+1)===u.verticalBar?pe(t.braceBarL,2):(++r.pos,z(t.braceL));return;case u.rightCurlyBrace:++r.pos,z(t.braceR);return;case u.colon:E.charCodeAt(r.pos+1)===u.colon?pe(t.doubleColon,2):(++r.pos,z(t.colon));return;case u.questionMark:ya();return;case u.atSign:++r.pos,z(t.at);return;case u.graveAccent:++r.pos,z(t.backQuote);return;case u.digit0:{let n=E.charCodeAt(r.pos+1);if(n===u.lowercaseX||n===u.uppercaseX||n===u.lowercaseO||n===u.uppercaseO||n===u.lowercaseB||n===u.uppercaseB){Ta();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:vo(!1);return;case u.quotationMark:case u.apostrophe:ba(e);return;case u.slash:ha();return;case u.percentSign:case u.asterisk:ma(e);return;case u.verticalBar:case u.ampersand:da(e);return;case u.caret:ka();return;case u.plusSign:case u.dash:ga(e);return;case u.lessThan:xa();return;case u.greaterThan:Po();return;case u.equalsTo:case u.exclamationMark:_a(e);return;case u.tilde:pe(t.tilde,1);return;default:break}G(`Unexpected character '${String.fromCharCode(e)}'`,r.pos)}function pe(e,n){r.pos+=n,z(e)}function Ia(){let e=r.pos,n=!1,s=!1;for(;;){if(r.pos>=E.length){G("Unterminated regular expression",e);return}let o=E.charCodeAt(r.pos);if(n)n=!1;else{if(o===u.leftSquareBracket)s=!0;else if(o===u.rightSquareBracket&&s)s=!1;else if(o===u.slash&&!s)break;n=o===u.backslash}++r.pos}++r.pos,Sa(),z(t.regexp)}function pr(){for(;;){let e=E.charCodeAt(r.pos);if(e>=u.digit0&&e<=u.digit9||e===u.underscore)r.pos++;else break}}function Ta(){for(r.pos+=2;;){let n=E.charCodeAt(r.pos);if(n>=u.digit0&&n<=u.digit9||n>=u.lowercaseA&&n<=u.lowercaseF||n>=u.uppercaseA&&n<=u.uppercaseF||n===u.underscore)r.pos++;else break}E.charCodeAt(r.pos)===u.lowercaseN?(++r.pos,z(t.bigint)):z(t.num)}function vo(e){let n=!1,s=!1;e||pr();let o=E.charCodeAt(r.pos);if(o===u.dot&&(++r.pos,pr(),o=E.charCodeAt(r.pos)),(o===u.uppercaseE||o===u.lowercaseE)&&(o=E.charCodeAt(++r.pos),(o===u.plusSign||o===u.dash)&&++r.pos,pr(),o=E.charCodeAt(r.pos)),o===u.lowercaseN?(++r.pos,n=!0):o===u.lowercaseM&&(++r.pos,s=!0),n){z(t.bigint);return}if(s){z(t.decimal);return}z(t.num)}function ba(e){for(r.pos++;;){if(r.pos>=E.length){G("Unterminated string constant");return}let n=E.charCodeAt(r.pos);if(n===u.backslash)r.pos++;else if(n===e)break;r.pos++}r.pos++,z(t.string)}function wa(){for(;;){if(r.pos>=E.length){G("Unterminated template");return}let e=E.charCodeAt(r.pos);if(e===u.graveAccent||e===u.dollarSign&&E.charCodeAt(r.pos+1)===u.leftCurlyBrace){if(r.pos===r.start&&a(t.template))if(e===u.dollarSign){r.pos+=2,z(t.dollarBraceL);return}else{++r.pos,z(t.backQuote);return}z(t.template);return}e===u.backslash&&r.pos++,r.pos++}}function Sa(){for(;r.pos<E.length;){let e=E.charCodeAt(r.pos);if(Me[e])r.pos++;else if(e===u.backslash){if(r.pos+=2,E.charCodeAt(r.pos)===u.leftCurlyBrace){for(;r.pos<E.length&&E.charCodeAt(r.pos)!==u.rightCurlyBrace;)r.pos++;r.pos++}}else break}}d();g();k();function mt(e,n=e.currentIndex()){let s=n+1;if(os(e,s)){let o=e.identifierNameAtIndex(n);return{isType:!1,leftName:o,rightName:o,endIndex:s}}if(s++,os(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};if(s++,os(e,s))return{isType:!1,leftName:e.identifierNameAtIndex(n),rightName:e.identifierNameAtIndex(n+2),endIndex:s};if(s++,os(e,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};throw new Error(`Unexpected import/export specifier at ${n}`)}function os(e,n){let s=e.tokens[n];return s.type===t.braceR||s.type===t.comma}d();g();k();d();g();k();d();g();k();var No=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"]]);d();g();k();function xn(e){let[n,s]=Ro(e.jsxPragma||"React.createElement"),[o,i]=Ro(e.jsxFragmentPragma||"React.Fragment");return{base:n,suffix:s,fragmentBase:o,fragmentSuffix:i}}function Ro(e){let n=e.indexOf(".");return n===-1&&(n=e.length),[e.slice(0,n),e.slice(n)]}d();g();k();var we=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};var _n=class e extends we{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(n,s,o,i,c){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=o,this.nameManager=i,this.options=c,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.prototype.__init5.call(this),this.jsxPragmaInfo=xn(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[s,o]of Object.entries(this.cjsAutomaticModuleNameResolutions))n+=`var ${o} = require("${s}");`;else{let{createElement:s,...o}=this.esmAutomaticImportNameResolutions;s&&(n+=`import {createElement as ${s}} 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:s}=this.tokens.currentToken(),o=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&n!==We.KeyAfterPropSpread?this.transformTagToJSXFunc(o,n):this.transformTagToCreateElement(o)}getElementLocationCode(n){return`lineNumber: ${this.getLineNumberForIndex(n)}`}getLineNumberForIndex(n){let s=this.tokens.code;for(;this.lastIndex<n&&this.lastIndex<s.length;)s[this.lastIndex]===`
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(n,s){let o=s===We.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(o));let i=null;if(this.tokens.matches1(t.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(s);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(s);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,s){let o=this.claimAutoImportedName(n,s);return this.importProcessor?`${o}.call(void 0, `:`${o}(`}claimAutoImportedName(n,s){if(this.importProcessor){let o=this.jsxImportSource+s;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 s=this.tokens.identifierName();_r(s)&&this.tokens.replaceToken(`'${s}'`)}for(;this.tokens.currentIndex()<n;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(n){let s=this.options.production?"":`__self: this, __source: ${this.getDevSource(n)}`;if(!this.tokens.matches1(t.jsxName)&&!this.tokens.matches1(t.braceL)){s?this.tokens.appendCode(`, {${s}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),s?this.tokens.appendCode(` ${s}}`):this.tokens.appendCode("}")}processProps(n){let s=null;for(;;){if(this.tokens.matches2(t.jsxName,t.eq)){let o=this.tokens.identifierName();if(n&&o==="key"){s!==null&&this.tokens.appendCode(s.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let i=this.tokens.snapshot();this.processPropValue(),s=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 s}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(),s=this.tokens.code.slice(n.start+1,n.end-1),o=Lo(s),i=Aa(s);this.tokens.replaceToken(i+o)}processAutomaticChildrenAndEndProps(n){n===We.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(n===We.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(n){let s=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(s?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),o=!0);else if(this.tokens.matches1(t.jsxTagStart))this.tokens.appendCode(s?", ":""),this.processJSXTag(),o=!0;else if(this.tokens.matches1(t.jsxText)||this.tokens.matches1(t.jsxEmptyText))o=this.processChildTextElement(s);else throw new Error("Unexpected token when processing JSX children.");o&&(s=!0)}}processChildTextElement(n){let s=this.tokens.currentToken(),o=this.tokens.code.slice(s.start,s.end),i=Lo(o),c=Ea(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}};function _r(e){let n=e.charCodeAt(0);return n>=u.lowercaseA&&n<=u.lowercaseZ}function Ea(e){let n="",s="",o=!1,i=!1;for(let c=0;c<e.length;c++){let p=e[c];if(p===" "||p===" "||p==="\r")o||(s+=p);else if(p===`
`)s="",o=!0;else{if(i&&o&&(n+=" "),n+=s,s="",p==="&"){let{entity:h,newI:y}=Do(e,c+1);c=y-1,n+=h}else n+=p;i=!0,o=!1}}return o||(n+=s),JSON.stringify(n)}function Lo(e){let n=0,s=0;for(let o of e)o===`
`?(n++,s=0):o===" "&&s++;return`
`.repeat(n)+" ".repeat(s)}function Aa(e){let n="";for(let s=0;s<e.length;s++){let o=e[s];if(o===`
`)if(/\s/.test(e[s+1]))for(n+=" ";s<e.length&&/\s/.test(e[s+1]);)s++;else n+=`
`;else if(o==="&"){let{entity:i,newI:c}=Do(e,s+1);n+=i,s=c-1}else n+=o}return JSON.stringify(n)}function Do(e,n){let s="",o=0,i,c=n;if(e[c]==="#"){let p=10;c++;let h;if(e[c]==="x")for(p=16,c++,h=c;c<e.length&&Pa(e.charCodeAt(c));)c++;else for(h=c;c<e.length&&Ca(e.charCodeAt(c));)c++;if(e[c]===";"){let y=e.slice(h,c);y&&(c++,i=String.fromCodePoint(parseInt(y,p)))}}else for(;c<e.length&&o++<10;){let p=e[c];if(c++,p===";"){i=No.get(s);break}s+=p}return i?{entity:i,newI:c}:{entity:"&",newI:n}}function Ca(e){return e>=u.digit0&&e<=u.digit9}function Pa(e){return e>=u.digit0&&e<=u.digit9||e>=u.lowercaseA&&e<=u.lowercaseF||e>=u.uppercaseA&&e<=u.uppercaseF}function is(e,n){let s=xn(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===F.Access||c.identifierRole===F.ObjectShorthand||c.identifierRole===F.ExportAccess)&&!c.shadowsGlobal&&o.add(e.identifierNameForToken(c)),c.type===t.jsxTagStart&&o.add(s.base),c.type===t.jsxTagStart&&i+1<e.tokens.length&&e.tokens[i+1].type===t.jsxTagEnd&&(o.add(s.base),o.add(s.fragmentBase)),c.type===t.jsxName&&c.identifierRole===F.Access){let p=e.identifierNameForToken(c);(!_r(p)||e.tokens[i+1].type===t.dot)&&o.add(e.identifierNameForToken(c))}}return o}var yn=class e{__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,s,o,i,c,p,h){this.nameManager=n,this.tokens=s,this.enableLegacyTypeScriptModuleInterop=o,this.options=i,this.isTypeScriptTransformEnabled=c,this.keepUnusedImports=p,this.helperManager=h,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),e.prototype.__init4.call(this),e.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=is(this.tokens,this.options);for(let[n,s]of this.importInfoByPath.entries()){if(s.hasBareImport||s.hasStarExport||s.exportStarNames.length>0||s.namedExports.length>0)continue;[...s.defaultNames,...s.wildcardNames,...s.namedImports.map(({localName:i})=>i)].every(i=>this.shouldAutomaticallyElideImportedName(i))&&this.importsToReplace.set(n,"")}}shouldAutomaticallyElideImportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(n)}generateImportReplacements(){for(let[n,s]of this.importInfoByPath.entries()){let{defaultNames:o,wildcardNames:i,namedImports:c,namedExports:p,exportStarNames:h,hasStarExport:y}=s;if(o.length===0&&i.length===0&&c.length===0&&p.length===0&&h.length===0&&!y){this.importsToReplace.set(n,`require('${n}');`);continue}let T=this.getFreeIdentifierForPath(n),A;this.enableLegacyTypeScriptModuleInterop?A=T:A=i.length>0?i[0]:this.getFreeIdentifierForPath(n);let R=`var ${T} = require('${n}');`;if(i.length>0)for(let w of i){let v=this.enableLegacyTypeScriptModuleInterop?T:`${this.helperManager.getHelperName("interopRequireWildcard")}(${T})`;R+=` var ${w} = ${v};`}else h.length>0&&A!==T?R+=` var ${A} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${T});`:o.length>0&&A!==T&&(R+=` var ${A} = ${this.helperManager.getHelperName("interopRequireDefault")}(${T});`);for(let{importedName:w,localName:v}of p)R+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${T}, '${v}', '${w}');`;for(let w of h)R+=` exports.${w} = ${A};`;y&&(R+=` ${this.helperManager.getHelperName("createStarExport")}(${T});`),this.importsToReplace.set(n,R);for(let w of o)this.identifierReplacements.set(w,`${A}.default`);for(let{importedName:w,localName:v}of c)this.identifierReplacements.set(v,`${T}.${w}`)}}getFreeIdentifierForPath(n){let s=n.split("/"),i=s[s.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${i}`)}preprocessImportAtIndex(n){let s=[],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)&&(s.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 h=this.getNamedImports(n+1);n=h.newIndex;for(let y of h.namedImports)y.importedName==="default"?s.push(y.localName):i.push(y)}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(...s),p.wildcardNames.push(...o),p.namedImports.push(...i),s.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 s=this.tokens.identifierNameAtIndex(n+2);this.addExportBinding(s,s)}else if(this.tokens.matches3AtIndex(n,t._export,t.name,t._function)){let s=this.tokens.identifierNameAtIndex(n+3);this.addExportBinding(s,s)}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 s=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))s++;else if(this.tokens.matches1AtIndex(o,t.braceR)||this.tokens.matches1AtIndex(o,t.bracketR))s--;else{if(s===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(ts(i)){let c=this.tokens.identifierNameAtIndex(o);this.identifierReplacements.set(c,`exports.${c}`)}}}}preprocessNamedExportAtIndex(n){n+=2;let{newIndex:s,namedImports:o}=this.getNamedImports(n);if(n=s,this.tokens.matchesContextualAtIndex(n,l._from))n++;else{for(let{importedName:p,localName:h}of o)this.addExportBinding(p,h);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 s=null;if(this.tokens.matches3AtIndex(n,t._export,t.star,t._as)?(n+=3,s=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);s!==null?i.exportStarNames.push(s):i.hasStarExport=!0}getNamedImports(n){let s=[];for(;;){if(this.tokens.matches1AtIndex(n,t.braceR)){n++;break}let o=mt(this.tokens,n);if(n=o.endIndex,o.isType||s.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:s}}getImportInfo(n){let s=this.importInfoByPath.get(n);if(s)return s;let o={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(n,o),o}addExportBinding(n,s){this.exportBindingsByLocalName.has(n)||this.exportBindingsByLocalName.set(n,[]),this.exportBindingsByLocalName.get(n).push(s)}claimImportCode(n){let s=this.importsToReplace.get(n);return this.importsToReplace.set(n,""),s||""}getIdentifierReplacement(n){return this.identifierReplacements.get(n)||null}resolveExportBinding(n){let s=this.exportBindingsByLocalName.get(n);return!s||s.length===0?null:s.map(o=>`exports.${o}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};d();g();k();var Nt=Qn(Uo());function br({code:e,mappings:n},s,o,i,c){let p=va(i,c),h=new Nt.GenMapping({file:o.compiledFilename}),y=0,T=n[0];for(;T===void 0&&y<n.length-1;)y++,T=n[y];let A=0,R=0;T!==R&&(0,Nt.maybeAddSegment)(h,A,0,s,A,0);for(let M=0;M<e.length;M++){if(M===T){let I=T-R,P=p[y];for((0,Nt.maybeAddSegment)(h,A,I,s,A,P);(T===M||T===void 0)&&y<n.length-1;)y++,T=n[y]}e.charCodeAt(M)===u.lineFeed&&(A++,R=M+1,T!==R&&(0,Nt.maybeAddSegment)(h,A,0,s,A,0))}let{sourceRoot:w,sourcesContent:v,...Y}=(0,Nt.toEncodedMap)(h);return Y}function va(e,n){let s=new Array(n.length),o=0,i=n[o].start,c=0;for(let p=0;p<e.length;p++)p===i&&(s[o]=i-c,o++,i=n[o].start),e.charCodeAt(p)===u.lineFeed&&(c=p+1);return s}d();g();k();var Na={require:`
import {createRequire as CREATE_REQUIRE_NAME} from "module";
const require = CREATE_REQUIRE_NAME(import.meta.url);
`,interopRequireWildcard:`
function interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
} else {
var newObj = {};
if (obj != null) {
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
newObj[key] = obj[key];
}
}
}
newObj.default = obj;
return newObj;
}
}
`,interopRequireDefault:`
function interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
`,createNamedExportFrom:`
function createNamedExportFrom(obj, localName, importedName) {
Object.defineProperty(exports, localName, {enumerable: true, configurable: true, get: () => obj[importedName]});
}
`,createStarExport:`
function createStarExport(obj) {
Object.keys(obj)
.filter((key) => key !== "default" && key !== "__esModule")
.forEach((key) => {
if (exports.hasOwnProperty(key)) {
return;
}
Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]});
});
}
`,nullishCoalesce:`
function nullishCoalesce(lhs, rhsFn) {
if (lhs != null) {
return lhs;
} else {
return rhsFn();
}
}
`,asyncNullishCoalesce:`
async function asyncNullishCoalesce(lhs, rhsFn) {
if (lhs != null) {
return lhs;
} else {
return await rhsFn();
}
}
`,optionalChain:`
function optionalChain(ops) {
let lastAccessLHS = undefined;
let value = ops[0];
let i = 1;
while (i < ops.length) {
const op = ops[i];
const fn = ops[i + 1];
i += 2;
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
return undefined;
}
if (op === 'access' || op === 'optionalAccess') {
lastAccessLHS = value;
value = fn(value);
} else if (op === 'call' || op === 'optionalCall') {
value = fn((...args) => value.call(lastAccessLHS, ...args));
lastAccessLHS = undefined;
}
}
return value;
}
`,asyncOptionalChain:`
async function asyncOptionalChain(ops) {
let lastAccessLHS = undefined;
let value = ops[0];
let i = 1;
while (i < ops.length) {
const op = ops[i];
const fn = ops[i + 1];
i += 2;
if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) {
return undefined;
}
if (op === 'access' || op === 'optionalAccess') {
lastAccessLHS = value;
value = await fn(value);
} else if (op === 'call' || op === 'optionalCall') {
value = await fn((...args) => value.call(lastAccessLHS, ...args));
lastAccessLHS = undefined;
}
}
return value;
}
`,optionalChainDelete:`
function optionalChainDelete(ops) {
const result = OPTIONAL_CHAIN_NAME(ops);
return result == null ? true : result;
}
`,asyncOptionalChainDelete:`
async function asyncOptionalChainDelete(ops) {
const result = await ASYNC_OPTIONAL_CHAIN_NAME(ops);
return result == null ? true : result;
}
`},ps=class e{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(n){this.nameManager=n,e.prototype.__init.call(this),e.prototype.__init2.call(this)}getHelperName(n){let s=this.helperNames[n];return s||(s=this.nameManager.claimFreeName(`_${n}`),this.helperNames[n]=s,s)}emitHelpers(){let n="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[s,o]of Object.entries(Na)){let i=this.helperNames[s],c=o;s==="optionalChainDelete"?c=c.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):s==="asyncOptionalChainDelete"?c=c.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):s==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),c=c.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),i&&(n+=" ",n+=c.replace(s,i).replace(/\s+/g," ").trim())}return n}};d();g();k();function fs(e,n,s){Ra(e,s)&&La(e,n,s)}function Ra(e,n){for(let s of e.tokens)if(s.type===t.name&&!s.isType&&wo(s)&&n.has(e.identifierNameForToken(s)))return!0;return!1}function La(e,n,s){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],h=e.identifierNameForToken(p);if(o.length>1&&!p.isType&&p.type===t.name&&s.has(h)){if(So(p))Ho(o[o.length-1],e,h);else if(Eo(p)){let y=o.length-1;for(;y>0&&!o[y].isFunctionScope;)y--;if(y<0)throw new Error("Did not find parent function scope.");Ho(o[y],e,h)}}}if(o.length>0)throw new Error("Expected empty scope stack after processing file.")}function Ho(e,n,s){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)===s&&(i.shadowsGlobal=!0)}}d();g();k();d();g();k();function wr(e,n){let s=[];for(let o of n)o.type===t.name&&s.push(e.slice(o.start,o.end));return s}var In=class e{__init(){this.usedNames=new Set}constructor(n,s){e.prototype.__init.call(this),this.usedNames=new Set(wr(n,s))}claimFreeName(n){let s=this.findFreeName(n);return this.usedNames.add(s),s}findFreeName(n){if(!this.usedNames.has(n))return n;let s=2;for(;this.usedNames.has(n+String(s));)s++;return n+String(s)}};d();g();k();var a1=Qn(Lr());d();g();k();var fe=Qn(Lr()),tc=fe.union(fe.lit("jsx"),fe.lit("typescript"),fe.lit("flow"),fe.lit("imports"),fe.lit("react-hot-loader"),fe.lit("jest")),nc=fe.iface([],{compiledFilename:"string"}),sc=fe.iface([],{transforms:fe.array("Transform"),disableESTransforms:fe.opt("boolean"),jsxRuntime:fe.opt(fe.union(fe.lit("classic"),fe.lit("automatic"),fe.lit("preserve"))),production:fe.opt("boolean"),jsxImportSource:fe.opt("string"),jsxPragma:fe.opt("string"),jsxFragmentPragma:fe.opt("string"),keepUnusedImports:fe.opt("boolean"),preserveDynamicImport:fe.opt("boolean"),injectCreateRequireForImportRequire:fe.opt("boolean"),enableLegacyTypeScriptModuleInterop:fe.opt("boolean"),enableLegacyBabel5ModuleInterop:fe.opt("boolean"),sourceMapOptions:fe.opt("SourceMapOptions"),filePath:fe.opt("string")}),rc={Transform:tc,SourceMapOptions:nc,Options:sc},i1=rc;var{Options:oc}=(0,a1.createCheckers)(i1);function c1(e){oc.strictCheck(e)}d();g();k();d();g();k();d();g();k();d();g();k();d();g();k();d();g();k();d();g();k();d();g();k();function Dr(){_(),Ce(!1)}function Or(e){_(),wn(e)}function at(e){X(),ds(e)}function nn(){X(),r.tokens[r.tokens.length-1].identifierRole=F.ImportDeclaration}function ds(e){let n;r.scopeDepth===0?n=F.TopLevelDeclaration:e?n=F.BlockScopedDeclaration:n=F.FunctionScopedDeclaration,r.tokens[r.tokens.length-1].identifierRole=n}function wn(e){switch(r.type){case t._this:{let n=Z(0);_(),K(n);return}case t._yield:case t.name:{r.type=t.name,at(e);return}case t.bracketL:{_(),Sn(t.bracketR,e,!0);return}case t.braceL:An(!0,e);return;default:G()}}function Sn(e,n,s=!1,o=!1,i=0){let c=!0,p=!1,h=r.tokens.length;for(;!f(e)&&!r.error;)if(c?c=!1:(x(t.comma),r.tokens[r.tokens.length-1].contextId=i,!p&&r.tokens[h].isType&&(r.tokens[r.tokens.length-1].isType=!0,p=!0)),!(s&&a(t.comma))){if(f(e))break;if(a(t.ellipsis)){Or(n),l1(),f(t.comma),x(e);break}else ic(o,n)}}function ic(e,n){e&&En([l._public,l._protected,l._private,l._readonly,l._override]),bn(n),l1(),bn(n,!0)}function l1(){re?p1():te&&u1()}function bn(e,n=!1){if(n||wn(e),!f(t.eq))return;let s=r.tokens.length-1;Ce(),r.tokens[s].rhsEndIndex=r.tokens.length}function Mr(){return a(t.name)}function ac(){return a(t.name)||!!(r.type&t.IS_KEYWORD)||a(t.string)||a(t.num)||a(t.bigint)||a(t.decimal)}function g1(){let e=r.snapshot();return _(),(a(t.bracketL)||a(t.braceL)||a(t.star)||a(t.ellipsis)||a(t.hash)||ac())&&!Le()?!0:(r.restoreFromSnapshot(e),!1)}function En(e){for(;x1(e)!==null;);}function x1(e){if(!a(t.name))return null;let n=r.contextualKeyword;if(e.indexOf(n)!==-1&&g1()){switch(n){case l._readonly:r.tokens[r.tokens.length-1].type=t._readonly;break;case l._abstract:r.tokens[r.tokens.length-1].type=t._abstract;break;case l._static:r.tokens[r.tokens.length-1].type=t._static;break;case l._public:r.tokens[r.tokens.length-1].type=t._public;break;case l._private:r.tokens[r.tokens.length-1].type=t._private;break;case l._protected:r.tokens[r.tokens.length-1].type=t._protected;break;case l._override:r.tokens[r.tokens.length-1].type=t._override;break;case l._declare:r.tokens[r.tokens.length-1].type=t._declare;break;default:break}return n}return null}function Pn(){for(X();f(t.dot);)X()}function cc(){Pn(),!Le()&&a(t.lessThan)&&on()}function lc(){_(),rn()}function uc(){_()}function pc(){x(t._typeof),a(t._import)?_1():Pn(),!Le()&&a(t.lessThan)&&on()}function _1(){x(t._import),x(t.parenL),x(t.string),x(t.parenR),f(t.dot)&&Pn(),a(t.lessThan)&&on()}function fc(){f(t._const);let e=f(t._in),n=Ee(l._out);f(t._const),(e||n)&&!a(t.name)?r.tokens[r.tokens.length-1].type=t.name:X(),f(t._extends)&&Se(),f(t.eq)&&Se()}function Ot(){a(t.lessThan)&&gs()}function gs(){let e=Z(0);for(a(t.lessThan)||a(t.typeParameterStart)?_():G();!f(t.greaterThan)&&!r.error;)fc(),f(t.comma);K(e)}function qr(e){let n=e===t.arrow;Ot(),x(t.parenL),r.scopeDepth++,hc(!1),r.scopeDepth--,(n||a(e))&&Cn(e)}function hc(e){Sn(t.parenR,e)}function ks(){f(t.comma)||de()}function f1(){qr(t.colon),ks()}function mc(){let e=r.snapshot();_();let n=f(t.name)&&a(t.colon);return r.restoreFromSnapshot(e),n}function y1(){if(!(a(t.bracketL)&&mc()))return!1;let e=Z(0);return x(t.bracketL),X(),rn(),x(t.bracketR),Ut(),ks(),K(e),!0}function h1(e){f(t.question),!e&&(a(t.parenL)||a(t.lessThan))?(qr(t.colon),ks()):(Ut(),ks())}function dc(){if(a(t.parenL)||a(t.lessThan)){f1();return}if(a(t._new)){_(),a(t.parenL)||a(t.lessThan)?f1():h1(!1);return}let e=!!x1([l._readonly]);y1()||((O(l._get)||O(l._set))&&g1(),Ht(-1),h1(e))}function kc(){I1()}function I1(){for(x(t.braceL);!f(t.braceR)&&!r.error;)dc()}function gc(){let e=r.snapshot(),n=xc();return r.restoreFromSnapshot(e),n}function xc(){return _(),f(t.plus)||f(t.minus)?O(l._readonly):(O(l._readonly)&&_(),!a(t.bracketL)||(_(),!Mr())?!1:(_(),a(t._in)))}function _c(){X(),x(t._in),Se()}function yc(){x(t.braceL),a(t.plus)||a(t.minus)?(_(),Te(l._readonly)):Ee(l._readonly),x(t.bracketL),_c(),Ee(l._as)&&Se(),x(t.bracketR),a(t.plus)||a(t.minus)?(_(),x(t.question)):f(t.question),Dc(),de(),x(t.braceR)}function Ic(){for(x(t.bracketL);!f(t.bracketR)&&!r.error;)Tc(),f(t.comma)}function Tc(){f(t.ellipsis)?Se():(Se(),f(t.question)),f(t.colon)&&Se()}function bc(){x(t.parenL),Se(),x(t.parenR)}function wc(){for(ht(),ht();!a(t.backQuote)&&!r.error;)x(t.dollarBraceL),Se(),ht(),ht();_()}var Lt;(function(e){e[e.TSFunctionType=0]="TSFunctionType";let s=1;e[e.TSConstructorType=s]="TSConstructorType";let o=s+1;e[e.TSAbstractConstructorType=o]="TSAbstractConstructorType"})(Lt||(Lt={}));function Fr(e){e===Lt.TSAbstractConstructorType&&Te(l._abstract),(e===Lt.TSConstructorType||e===Lt.TSAbstractConstructorType)&&x(t._new);let n=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!1,qr(t.arrow),r.inDisallowConditionalTypesContext=n}function Sc(){switch(r.type){case t.name:cc();return;case t._void:case t._null:_();return;case t.string:case t.num:case t.bigint:case t.decimal:case t._true:case t._false:Dt();return;case t.minus:_(),Dt();return;case t._this:{uc(),O(l._is)&&!Le()&&lc();return}case t._typeof:pc();return;case t._import:_1();return;case t.braceL:gc()?yc():kc();return;case t.bracketL:Ic();return;case t.parenL:bc();return;case t.backQuote:wc();return;default:if(r.type&t.IS_KEYWORD){_(),r.tokens[r.tokens.length-1].type=t.name;return}break}G()}function Ec(){for(Sc();!Le()&&f(t.bracketL);)f(t.bracketR)||(Se(),x(t.bracketR))}function Ac(){if(Te(l._infer),X(),a(t._extends)){let e=r.snapshot();x(t._extends);let n=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!0,Se(),r.inDisallowConditionalTypesContext=n,(r.error||!r.inDisallowConditionalTypesContext&&a(t.question))&&r.restoreFromSnapshot(e)}}function jr(){if(O(l._keyof)||O(l._unique)||O(l._readonly))_(),jr();else if(O(l._infer))Ac();else{let e=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!1,Ec(),r.inDisallowConditionalTypesContext=e}}function m1(){if(f(t.bitwiseAND),jr(),a(t.bitwiseAND))for(;f(t.bitwiseAND);)jr()}function Cc(){if(f(t.bitwiseOR),m1(),a(t.bitwiseOR))for(;f(t.bitwiseOR);)m1()}function Pc(){return a(t.lessThan)?!0:a(t.parenL)&&Nc()}function vc(){if(a(t.name)||a(t._this))return _(),!0;if(a(t.braceL)||a(t.bracketL)){let e=1;for(_();e>0&&!r.error;)a(t.braceL)||a(t.bracketL)?e++:(a(t.braceR)||a(t.bracketR))&&e--,_();return!0}return!1}function Nc(){let e=r.snapshot(),n=Rc();return r.restoreFromSnapshot(e),n}function Rc(){return _(),!!(a(t.parenR)||a(t.ellipsis)||vc()&&(a(t.colon)||a(t.comma)||a(t.question)||a(t.eq)||a(t.parenR)&&(_(),a(t.arrow))))}function Cn(e){let n=Z(0);x(e),Oc()||Se(),K(n)}function Lc(){a(t.colon)&&Cn(t.colon)}function Ut(){a(t.colon)&&rn()}function Dc(){f(t.colon)&&Se()}function Oc(){let e=r.snapshot();return O(l._asserts)?(_(),Ee(l._is)?(Se(),!0):Mr()||a(t._this)?(_(),Ee(l._is)&&Se(),!0):(r.restoreFromSnapshot(e),!1)):Mr()||a(t._this)?(_(),O(l._is)&&!Le()?(_(),Se(),!0):(r.restoreFromSnapshot(e),!1)):!1}function rn(){let e=Z(0);x(t.colon),Se(),K(e)}function Se(){if(d1(),r.inDisallowConditionalTypesContext||Le()||!f(t._extends))return;let e=r.inDisallowConditionalTypesContext;r.inDisallowConditionalTypesContext=!0,d1(),r.inDisallowConditionalTypesContext=e,x(t.question),Se(),x(t.colon),Se()}function Fc(){return O(l._abstract)&&ke()===t._new}function d1(){if(Pc()){Fr(Lt.TSFunctionType);return}if(a(t._new)){Fr(Lt.TSConstructorType);return}else if(Fc()){Fr(Lt.TSAbstractConstructorType);return}Cc()}function T1(){let e=Z(1);Se(),x(t.greaterThan),K(e),an()}function b1(){if(f(t.jsxTagStart)){r.tokens[r.tokens.length-1].type=t.typeParameterStart;let e=Z(1);for(;!a(t.greaterThan)&&!r.error;)Se(),f(t.comma);Ge(),K(e)}}function w1(){for(;!a(t.braceL)&&!r.error;)Mc(),f(t.comma)}function Mc(){Pn(),a(t.lessThan)&&on()}function jc(){at(!1),Ot(),f(t._extends)&&w1(),I1()}function Bc(){at(!1),Ot(),x(t.eq),Se(),de()}function qc(){if(a(t.string)?Dt():X(),f(t.eq)){let e=r.tokens.length-1;Ce(),r.tokens[e].rhsEndIndex=r.tokens.length}}function $r(){for(at(!1),x(t.braceL);!f(t.braceR)&&!r.error;)qc(),f(t.comma)}function Ur(){x(t.braceL),cn(t.braceR)}function Br(){at(!1),f(t.dot)?Br():Ur()}function S1(){O(l._global)?X():a(t.string)?Qe():G(),a(t.braceL)?Ur():de()}function xs(){nn(),x(t.eq),Uc(),de()}function $c(){return O(l._require)&&ke()===t.parenL}function Uc(){$c()?Hc():Pn()}function Hc(){Te(l._require),x(t.parenL),a(t.string)||G(),Dt(),x(t.parenR)}function Vc(){if(Ke())return!1;switch(r.type){case t._function:{let e=Z(1);_();let n=r.start;return It(n,!0),K(e),!0}case t._class:{let e=Z(1);return bt(!0,!1),K(e),!0}case t._const:if(a(t._const)&&en(l._enum)){let e=Z(1);return x(t._const),Te(l._enum),r.tokens[r.tokens.length-1].type=t._enum,$r(),K(e),!0}case t._var:case t._let:{let e=Z(1);return Nn(r.type!==t._var),K(e),!0}case t.name:{let e=Z(1),n=r.contextualKeyword,s=!1;return n===l._global?(S1(),s=!0):s=_s(n,!0),K(e),s}default:return!1}}function k1(){return _s(r.contextualKeyword,!0)}function Wc(e){switch(e){case l._declare:{let n=r.tokens.length-1;if(Vc())return r.tokens[n].type=t._declare,!0;break}case l._global:if(a(t.braceL))return Ur(),!0;break;default:return _s(e,!1)}return!1}function _s(e,n){switch(e){case l._abstract:if(sn(n)&&a(t._class))return r.tokens[r.tokens.length-1].type=t._abstract,bt(!0,!1),!0;break;case l._enum:if(sn(n)&&a(t.name))return r.tokens[r.tokens.length-1].type=t._enum,$r(),!0;break;case l._interface:if(sn(n)&&a(t.name)){let s=Z(n?2:1);return jc(),K(s),!0}break;case l._module:if(sn(n)){if(a(t.string)){let s=Z(n?2:1);return S1(),K(s),!0}else if(a(t.name)){let s=Z(n?2:1);return Br(),K(s),!0}}break;case l._namespace:if(sn(n)&&a(t.name)){let s=Z(n?2:1);return Br(),K(s),!0}break;case l._type:if(sn(n)&&a(t.name)){let s=Z(n?2:1);return Bc(),K(s),!0}break;default:break}return!1}function sn(e){return e?(_(),!0):!Ke()}function Xc(){let e=r.snapshot();return gs(),Tt(),Lc(),x(t.arrow),r.error?(r.restoreFromSnapshot(e),!1):(Vt(!0),!0)}function Hr(){r.type===t.bitShiftL&&(r.pos-=1,z(t.lessThan)),on()}function on(){let e=Z(0);for(x(t.lessThan);!a(t.greaterThan)&&!r.error;)Se(),f(t.comma);e?(x(t.greaterThan),K(e)):(K(e),rs(),x(t.greaterThan),r.tokens[r.tokens.length-1].isType=!0)}function Vr(){if(a(t.name))switch(r.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 E1(e,n){if(a(t.colon)&&Cn(t.colon),!a(t.braceL)&&Ke()){let s=r.tokens.length-1;for(;s>=0&&(r.tokens[s].start>=e||r.tokens[s].type===t._default||r.tokens[s].type===t._export);)r.tokens[s].isType=!0,s--;return}Vt(!1,n)}function A1(e,n,s){if(!Le()&&f(t.bang)){r.tokens[r.tokens.length-1].type=t.nonNullAssertion;return}if(a(t.lessThan)||a(t.bitShiftL)){let o=r.snapshot();if(!n&&Wr()&&Xc())return;if(Hr(),!n&&f(t.parenL)?(r.tokens[r.tokens.length-1].subscriptStartIndex=e,ct()):a(t.backQuote)?ys():(r.type===t.greaterThan||r.type!==t.parenL&&r.type&t.IS_EXPRESSION_START&&!Le())&&G(),r.error)r.restoreFromSnapshot(o);else return}else!n&&a(t.questionDot)&&ke()===t.lessThan&&(_(),r.tokens[e].isOptionalChainStart=!0,r.tokens[r.tokens.length-1].subscriptStartIndex=e,on(),x(t.parenL),ct());vn(e,n,s)}function C1(){if(f(t._import))return O(l._type)&&ke()!==t.eq&&Te(l._type),xs(),!0;if(f(t.eq))return Pe(),de(),!0;if(Ee(l._as))return Te(l._namespace),X(),de(),!0;if(O(l._type)){let e=ke();(e===t.braceL||e===t.star)&&_()}return!1}function P1(){if(X(),a(t.comma)||a(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=F.ImportDeclaration;return}if(X(),a(t.comma)||a(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=F.ImportDeclaration,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0;return}if(X(),a(t.comma)||a(t.braceR)){r.tokens[r.tokens.length-3].identifierRole=F.ImportAccess,r.tokens[r.tokens.length-1].identifierRole=F.ImportDeclaration;return}X(),r.tokens[r.tokens.length-3].identifierRole=F.ImportAccess,r.tokens[r.tokens.length-1].identifierRole=F.ImportDeclaration,r.tokens[r.tokens.length-4].isType=!0,r.tokens[r.tokens.length-3].isType=!0,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0}function v1(){if(X(),a(t.comma)||a(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=F.ExportAccess;return}if(X(),a(t.comma)||a(t.braceR)){r.tokens[r.tokens.length-1].identifierRole=F.ExportAccess,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0;return}if(X(),a(t.comma)||a(t.braceR)){r.tokens[r.tokens.length-3].identifierRole=F.ExportAccess;return}X(),r.tokens[r.tokens.length-3].identifierRole=F.ExportAccess,r.tokens[r.tokens.length-4].isType=!0,r.tokens[r.tokens.length-3].isType=!0,r.tokens[r.tokens.length-2].isType=!0,r.tokens[r.tokens.length-1].isType=!0}function N1(){if(O(l._abstract)&&ke()===t._class)return r.type=t._abstract,_(),bt(!0,!0),!0;if(O(l._interface)){let e=Z(2);return _s(l._interface,!0),K(e),!0}return!1}function R1(){if(r.type===t._const){let e=_t();if(e.type===t.name&&e.contextualKeyword===l._enum)return x(t._const),Te(l._enum),r.tokens[r.tokens.length-1].type=t._enum,$r(),!0}return!1}function L1(e){let n=r.tokens.length;En([l._abstract,l._readonly,l._declare,l._static,l._override]);let s=r.tokens.length;if(y1()){let i=e?n-1:n;for(let c=i;c<s;c++)r.tokens[c].isType=!0;return!0}return!1}function D1(e){Wc(e)||de()}function O1(){let e=Ee(l._declare);e&&(r.tokens[r.tokens.length-1].type=t._declare);let n=!1;if(a(t.name))if(e){let s=Z(2);n=k1(),K(s)}else n=k1();if(!n)if(e){let s=Z(2);je(!0),K(s)}else je(!0)}function F1(e){if(e&&(a(t.lessThan)||a(t.bitShiftL))&&Hr(),Ee(l._implements)){r.tokens[r.tokens.length-1].type=t._implements;let n=Z(1);w1(),K(n)}}function M1(){Ot()}function j1(){Ot()}function B1(){let e=Z(0);Le()||f(t.bang),Ut(),K(e)}function q1(){a(t.colon)&&rn()}function $1(e,n){return Zt?Gc(e,n):Jc(e,n)}function Gc(e,n){if(!a(t.lessThan))return Ye(e,n);let s=r.snapshot(),o=Ye(e,n);if(r.error)r.restoreFromSnapshot(s);else return o;return r.type=t.typeParameterStart,gs(),o=Ye(e,n),o||G(),o}function Jc(e,n){if(!a(t.lessThan))return Ye(e,n);let s=r.snapshot();gs();let o=Ye(e,n);if(o||G(),r.error)r.restoreFromSnapshot(s);else return o;return Ye(e,n)}function U1(){if(a(t.colon)){let e=r.snapshot();Cn(t.colon),De()&&G(),a(t.arrow)||G(),r.error&&r.restoreFromSnapshot(e)}return f(t.arrow)}function u1(){let e=Z(0);f(t.question),Ut(),K(e)}function H1(){(a(t.lessThan)||a(t.bitShiftL))&&Hr(),Xr()}function zc(){let e=!1,n=!1;for(;;){if(r.pos>=E.length){G("Unterminated JSX contents");return}let s=E.charCodeAt(r.pos);if(s===u.lessThan||s===u.leftCurlyBrace){if(r.pos===r.start){if(s===u.lessThan){r.pos++,z(t.jsxTagStart);return}xr(s);return}e&&!n?z(t.jsxEmptyText):z(t.jsxText);return}s===u.lineFeed?e=!0:s!==u.space&&s!==u.carriageReturn&&s!==u.tab&&(n=!0),r.pos++}}function Kc(e){for(r.pos++;;){if(r.pos>=E.length){G("Unterminated string constant");return}if(E.charCodeAt(r.pos)===e){r.pos++;break}r.pos++}z(t.string)}function Yc(){let e;do{if(r.pos>E.length){G("Unexpectedly reached the end of input.");return}e=E.charCodeAt(++r.pos)}while(Me[e]||e===u.dash);z(t.jsxName)}function Gr(){Ge()}function V1(e){if(Gr(),!f(t.colon)){r.tokens[r.tokens.length-1].identifierRole=e;return}Gr()}function W1(){let e=r.tokens.length;V1(F.Access);let n=!1;for(;a(t.dot);)n=!0,Ge(),Gr();if(!n){let s=r.tokens[e],o=E.charCodeAt(s.start);o>=u.lowercaseA&&o<=u.lowercaseZ&&(s.identifierRole=null)}}function Qc(){switch(r.type){case t.braceL:_(),Pe(),Ge();return;case t.jsxTagStart:Jr(),Ge();return;case t.string:Ge();return;default:G("JSX value should be either an expression or a quoted JSX text")}}function Zc(){x(t.ellipsis),Pe()}function el(e){if(a(t.jsxTagEnd))return!1;W1(),te&&b1();let n=!1;for(;!a(t.slash)&&!a(t.jsxTagEnd)&&!r.error;){if(f(t.braceL)){n=!0,x(t.ellipsis),Ce(),Ge();continue}n&&r.end-r.start===3&&E.charCodeAt(r.start)===u.lowercaseK&&E.charCodeAt(r.start+1)===u.lowercaseE&&E.charCodeAt(r.start+2)===u.lowercaseY&&(r.tokens[e].jsxRole=We.KeyAfterPropSpread),V1(F.ObjectKey),a(t.eq)&&(Ge(),Qc())}let s=a(t.slash);return s&&Ge(),s}function tl(){a(t.jsxTagEnd)||W1()}function X1(){let e=r.tokens.length-1;r.tokens[e].jsxRole=We.NoChildren;let n=0;if(!el(e))for(ln();;)switch(r.type){case t.jsxTagStart:if(Ge(),a(t.slash)){Ge(),tl(),r.tokens[e].jsxRole!==We.KeyAfterPropSpread&&(n===1?r.tokens[e].jsxRole=We.OneChild:n>1&&(r.tokens[e].jsxRole=We.StaticChildren));return}n++,X1(),ln();break;case t.jsxText:n++,ln();break;case t.jsxEmptyText:ln();break;case t.braceL:_(),a(t.ellipsis)?(Zc(),ln(),n+=2):(a(t.braceR)||(n++,Pe()),ln());break;default:G();return}}function Jr(){Ge(),X1()}function Ge(){r.tokens.push(new $t),gr(),r.start=r.pos;let e=E.charCodeAt(r.pos);if(yt[e])Yc();else if(e===u.quotationMark||e===u.apostrophe)Kc(e);else switch(++r.pos,e){case u.greaterThan:z(t.jsxTagEnd);break;case u.lessThan:z(t.jsxTagStart);break;case u.slash:z(t.slash);break;case u.equalsTo:z(t.eq);break;case u.leftCurlyBrace:z(t.braceL);break;case u.dot:z(t.dot);break;case u.colon:z(t.colon);break;default:G()}}function ln(){r.tokens.push(new $t),r.start=r.pos,zc()}d();g();k();function G1(e){if(a(t.question)){let n=ke();if(n===t.colon||n===t.comma||n===t.parenR)return}zr(e)}function J1(){ss(t.question),a(t.colon)&&(te?rn():re&&wt())}var Kr=class{constructor(n){this.stop=n}};function Pe(e=!1){if(Ce(e),a(t.comma))for(;f(t.comma);)Ce(e)}function Ce(e=!1,n=!1){return te?$1(e,n):re?si(e,n):Ye(e,n)}function Ye(e,n){if(a(t._yield))return gl(),!1;(a(t.parenL)||a(t.name)||a(t._yield))&&(r.potentialArrowAt=r.start);let s=nl(e);return n&&to(),r.type&t.IS_ASSIGN?(_(),Ce(e),!1):s}function nl(e){return rl(e)?!0:(sl(e),!1)}function sl(e){te||re?G1(e):zr(e)}function zr(e){f(t.question)&&(Ce(),x(t.colon),Ce(e))}function rl(e){let n=r.tokens.length;return an()?!0:(Is(n,-1,e),!1)}function Is(e,n,s){if(te&&(t._in&t.PRECEDENCE_MASK)>n&&!Le()&&(Ee(l._as)||Ee(l._satisfies))){let i=Z(1);Se(),K(i),rs(),Is(e,n,s);return}let o=r.type&t.PRECEDENCE_MASK;if(o>0&&(!s||!a(t._in))&&o>n){let i=r.type;_(),i===t.nullishCoalescing&&(r.tokens[r.tokens.length-1].nullishStartIndex=e);let c=r.tokens.length;an(),Is(c,i&t.IS_RIGHT_ASSOCIATIVE?o-1:o,s),i===t.nullishCoalescing&&(r.tokens[e].numNullishCoalesceStarts++,r.tokens[r.tokens.length-1].numNullishCoalesceEnds++),Is(e,n,s)}}function an(){if(te&&!Zt&&f(t.lessThan))return T1(),!1;if(O(l._module)&&mr()===u.leftCurlyBrace&&!es())return xl(),!1;if(r.type&t.IS_PREFIX)return _(),an(),!1;if(Yr())return!0;for(;r.type&t.IS_POSTFIX&&!De();)r.type===t.preIncDec&&(r.type=t.postIncDec),_();return!1}function Yr(){let e=r.tokens.length;return Qe()?!0:(Qr(e),r.tokens.length>e&&r.tokens[e].isOptionalChainStart&&(r.tokens[r.tokens.length-1].isOptionalChainEnd=!0),!1)}function Qr(e,n=!1){re?oi(e,n):Zr(e,n)}function Zr(e,n=!1){let s=new Kr(!1);do ol(e,n,s);while(!s.stop&&!r.error)}function ol(e,n,s){te?A1(e,n,s):re?Z1(e,n,s):vn(e,n,s)}function vn(e,n,s){if(!n&&f(t.doubleColon))eo(),s.stop=!0,Qr(e,n);else if(a(t.questionDot)){if(r.tokens[e].isOptionalChainStart=!0,n&&ke()===t.parenL){s.stop=!0;return}_(),r.tokens[r.tokens.length-1].subscriptStartIndex=e,f(t.bracketL)?(Pe(),x(t.bracketR)):f(t.parenL)?ct():Ts()}else if(f(t.dot))r.tokens[r.tokens.length-1].subscriptStartIndex=e,Ts();else if(f(t.bracketL))r.tokens[r.tokens.length-1].subscriptStartIndex=e,Pe(),x(t.bracketR);else if(!n&&a(t.parenL))if(Wr()){let o=r.snapshot(),i=r.tokens.length;_(),r.tokens[r.tokens.length-1].subscriptStartIndex=e;let c=qt();r.tokens[r.tokens.length-1].contextId=c,ct(),r.tokens[r.tokens.length-1].contextId=c,il()&&(r.restoreFromSnapshot(o),s.stop=!0,r.scopeDepth++,Tt(),al(i))}else{_(),r.tokens[r.tokens.length-1].subscriptStartIndex=e;let o=qt();r.tokens[r.tokens.length-1].contextId=o,ct(),r.tokens[r.tokens.length-1].contextId=o}else a(t.backQuote)?ys():s.stop=!0}function Wr(){return r.tokens[r.tokens.length-1].contextualKeyword===l._async&&!De()}function ct(){let e=!0;for(;!f(t.parenR)&&!r.error;){if(e)e=!1;else if(x(t.comma),f(t.parenR))break;Y1(!1)}}function il(){return a(t.colon)||a(t.arrow)}function al(e){te?q1():re&&ni(),x(t.arrow),un(e)}function eo(){let e=r.tokens.length;Qe(),Qr(e,!0)}function Qe(){if(f(t.modulo))return X(),!1;if(a(t.jsxText)||a(t.jsxEmptyText))return Dt(),!1;if(a(t.lessThan)&&Zt)return r.type=t.jsxTagStart,Jr(),_(),!1;let e=r.potentialArrowAt===r.start;switch(r.type){case t.slash:case t.assign:Co();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 _(),!1;case t._import:return _(),a(t.dot)&&(r.tokens[r.tokens.length-1].type=t.name,_(),X()),!1;case t.name:{let n=r.tokens.length,s=r.start,o=r.contextualKeyword;return X(),o===l._await?(kl(),!1):o===l._async&&a(t._function)&&!De()?(_(),It(s,!1),!1):e&&o===l._async&&!De()&&a(t.name)?(r.scopeDepth++,at(!1),x(t.arrow),un(n),!0):a(t._do)&&!De()?(_(),St(),!1):e&&!De()&&a(t.arrow)?(r.scopeDepth++,ds(!1),x(t.arrow),un(n),!0):(r.tokens[r.tokens.length-1].identifierRole=F.Access,!1)}case t._do:return _(),St(),!1;case t.parenL:return z1(e);case t.bracketL:return _(),K1(t.bracketR,!0),!1;case t.braceL:return An(!1,!1),!1;case t._function:return cl(),!1;case t.at:Es();case t._class:return bt(!1),!1;case t._new:return ul(),!1;case t.backQuote:return ys(),!1;case t.doubleColon:return _(),eo(),!1;case t.hash:{let n=mr();return yt[n]||n===u.backslash?Ts():_(),!1}default:return G(),!1}}function Ts(){f(t.hash),X()}function cl(){let e=r.start;X(),f(t.dot)&&X(),It(e,!1)}function Dt(){_()}function Rn(){x(t.parenL),Pe(),x(t.parenR)}function z1(e){let n=r.snapshot(),s=r.tokens.length;x(t.parenL);let o=!0;for(;!a(t.parenR)&&!r.error;){if(o)o=!1;else if(x(t.comma),a(t.parenR))break;if(a(t.ellipsis)){Or(!1),to();break}else Ce(!1,!0)}return x(t.parenR),e&&ll()&&bs()?(r.restoreFromSnapshot(n),r.scopeDepth++,Tt(),bs(),un(s),r.error?(r.restoreFromSnapshot(n),z1(!1),!1):!0):!1}function ll(){return a(t.colon)||!De()}function bs(){return te?U1():re?ri():f(t.arrow)}function to(){(te||re)&&J1()}function ul(){if(x(t._new),f(t.dot)){X();return}pl(),re&&ei(),f(t.parenL)&&K1(t.parenR)}function pl(){eo(),f(t.questionDot)}function ys(){for(ht(),ht();!a(t.backQuote)&&!r.error;)x(t.dollarBraceL),Pe(),ht(),ht();_()}function An(e,n){let s=qt(),o=!0;for(_(),r.tokens[r.tokens.length-1].contextId=s;!f(t.braceR)&&!r.error;){if(o)o=!1;else if(x(t.comma),f(t.braceR))break;let i=!1;if(a(t.ellipsis)){let c=r.tokens.length;if(Dr(),e&&(r.tokens.length===c+2&&ds(n),f(t.braceR)))break;continue}e||(i=f(t.star)),!e&&O(l._async)?(i&&G(),X(),a(t.colon)||a(t.parenL)||a(t.braceR)||a(t.eq)||a(t.comma)||(a(t.star)&&(_(),i=!0),Ht(s))):Ht(s),dl(e,n,s)}r.tokens[r.tokens.length-1].contextId=s}function fl(e){return!e&&(a(t.string)||a(t.num)||a(t.bracketL)||a(t.name)||!!(r.type&t.IS_KEYWORD))}function hl(e,n){let s=r.start;return a(t.parenL)?(e&&G(),ws(s,!1),!0):fl(e)?(Ht(n),ws(s,!1),!0):!1}function ml(e,n){if(f(t.colon)){e?bn(n):Ce(!1);return}let s;e?r.scopeDepth===0?s=F.ObjectShorthandTopLevelDeclaration:n?s=F.ObjectShorthandBlockScopedDeclaration:s=F.ObjectShorthandFunctionScopedDeclaration:s=F.ObjectShorthand,r.tokens[r.tokens.length-1].identifierRole=s,bn(n,!0)}function dl(e,n,s){te?M1():re&&ti(),hl(e,s)||ml(e,n)}function Ht(e){re&&Ss(),f(t.bracketL)?(r.tokens[r.tokens.length-1].contextId=e,Ce(),x(t.bracketR),r.tokens[r.tokens.length-1].contextId=e):(a(t.num)||a(t.string)||a(t.bigint)||a(t.decimal)?Qe():Ts(),r.tokens[r.tokens.length-1].identifierRole=F.ObjectKey,r.tokens[r.tokens.length-1].contextId=e)}function ws(e,n){let s=qt();r.scopeDepth++;let o=r.tokens.length;Tt(n,s),no(e,s);let c=r.tokens.length;r.scopes.push(new qe(o,c,!0)),r.scopeDepth--}function un(e){Vt(!0);let n=r.tokens.length;r.scopes.push(new qe(e,n,!0)),r.scopeDepth--}function no(e,n=0){te?E1(e,n):re?Q1(n):Vt(!1,n)}function Vt(e,n=0){e&&!a(t.braceL)?Ce():St(!0,n)}function K1(e,n=!1){let s=!0;for(;!f(e)&&!r.error;){if(s)s=!1;else if(x(t.comma),f(e))break;Y1(n)}}function Y1(e){e&&a(t.comma)||(a(t.ellipsis)?(Dr(),to()):a(t.question)?_():Ce(!1,!0))}function X(){_(),r.tokens[r.tokens.length-1].type=t.name}function kl(){an()}function gl(){_(),!a(t.semi)&&!De()&&(f(t.star),Ce())}function xl(){Te(l._module),x(t.braceL),cn(t.braceR)}function _l(e){return(e.type===t.name||!!(e.type&t.IS_KEYWORD))&&e.contextualKeyword!==l._from}function kt(e){let n=Z(0);x(e||t.colon),Ue(),K(n)}function ii(){x(t.modulo),Te(l._checks),f(t.parenL)&&(Pe(),x(t.parenR))}function oo(){let e=Z(0);x(t.colon),a(t.modulo)?ii():(Ue(),a(t.modulo)&&ii()),K(e)}function yl(){_(),io(!0)}function Il(){_(),X(),a(t.lessThan)&&Ze(),x(t.parenL),ro(),x(t.parenR),oo(),de()}function so(){a(t._class)?yl():a(t._function)?Il():a(t._var)?Tl():Ee(l._module)?f(t.dot)?Sl():bl():O(l._type)?El():O(l._opaque)?Al():O(l._interface)?Cl():a(t._export)?wl():G()}function Tl(){_(),fi(),de()}function bl(){for(a(t.string)?Qe():X(),x(t.braceL);!a(t.braceR)&&!r.error;)a(t._import)?(_(),ho()):G();x(t.braceR)}function wl(){x(t._export),f(t._default)?a(t._function)||a(t._class)?so():(Ue(),de()):a(t._var)||a(t._function)||a(t._class)||O(l._opaque)?so():a(t.star)||a(t.braceL)||O(l._interface)||O(l._type)||O(l._opaque)?fo():G()}function Sl(){Te(l._exports),wt(),de()}function El(){_(),co()}function Al(){_(),lo(!0)}function Cl(){_(),io()}function io(e=!1){if(Ns(),a(t.lessThan)&&Ze(),f(t._extends))do As();while(!e&&f(t.comma));if(O(l._mixins)){_();do As();while(f(t.comma))}if(O(l._implements)){_();do As();while(f(t.comma))}Cs(e,!1,e)}function As(){li(!1),a(t.lessThan)&&Wt()}function ao(){io()}function Ns(){X()}function co(){Ns(),a(t.lessThan)&&Ze(),kt(t.eq),de()}function lo(e){Te(l._type),Ns(),a(t.lessThan)&&Ze(),a(t.colon)&&kt(t.colon),e||kt(t.eq),de()}function Pl(){Ss(),fi(),f(t.eq)&&Ue()}function Ze(){let e=Z(0);a(t.lessThan)||a(t.typeParameterStart)?_():G();do Pl(),a(t.greaterThan)||x(t.comma);while(!a(t.greaterThan)&&!r.error);x(t.greaterThan),K(e)}function Wt(){let e=Z(0);for(x(t.lessThan);!a(t.greaterThan)&&!r.error;)Ue(),a(t.greaterThan)||x(t.comma);x(t.greaterThan),K(e)}function vl(){if(Te(l._interface),f(t._extends))do As();while(f(t.comma));Cs(!1,!1,!1)}function uo(){a(t.num)||a(t.string)?Qe():X()}function Nl(){ke()===t.colon?(uo(),kt()):Ue(),x(t.bracketR),kt()}function Rl(){uo(),x(t.bracketR),x(t.bracketR),a(t.lessThan)||a(t.parenL)?po():(f(t.question),kt())}function po(){for(a(t.lessThan)&&Ze(),x(t.parenL);!a(t.parenR)&&!a(t.ellipsis)&&!r.error;)Ps(),a(t.parenR)||x(t.comma);f(t.ellipsis)&&Ps(),x(t.parenR),kt()}function Ll(){po()}function Cs(e,n,s){let o;for(n&&a(t.braceBarL)?(x(t.braceBarL),o=t.braceBarR):(x(t.braceL),o=t.braceR);!a(o)&&!r.error;){if(s&&O(l._proto)){let i=ke();i!==t.colon&&i!==t.question&&(_(),e=!1)}if(e&&O(l._static)){let i=ke();i!==t.colon&&i!==t.question&&_()}if(Ss(),f(t.bracketL))f(t.bracketL)?Rl():Nl();else if(a(t.parenL)||a(t.lessThan))Ll();else{if(O(l._get)||O(l._set)){let i=ke();(i===t.name||i===t.string||i===t.num)&&_()}Dl()}Ol()}x(o)}function Dl(){if(a(t.ellipsis)){if(x(t.ellipsis),f(t.comma)||f(t.semi),a(t.braceR))return;Ue()}else uo(),a(t.lessThan)||a(t.parenL)?po():(f(t.question),kt())}function Ol(){!f(t.semi)&&!f(t.comma)&&!a(t.braceR)&&!a(t.braceBarR)&&G()}function li(e){for(e||X();f(t.dot);)X()}function Fl(){li(!0),a(t.lessThan)&&Wt()}function Ml(){x(t._typeof),ui()}function jl(){for(x(t.bracketL);r.pos<E.length&&!a(t.bracketR)&&(Ue(),!a(t.bracketR));)x(t.comma);x(t.bracketR)}function Ps(){let e=ke();e===t.colon||e===t.question?(X(),f(t.question),kt()):Ue()}function ro(){for(;!a(t.parenR)&&!a(t.ellipsis)&&!r.error;)Ps(),a(t.parenR)||x(t.comma);f(t.ellipsis)&&Ps()}function ui(){let e=!1,n=r.noAnonFunctionType;switch(r.type){case t.name:{if(O(l._interface)){vl();return}X(),Fl();return}case t.braceL:Cs(!1,!1,!1);return;case t.braceBarL:Cs(!1,!0,!1);return;case t.bracketL:jl();return;case t.lessThan:Ze(),x(t.parenL),ro(),x(t.parenR),x(t.arrow),Ue();return;case t.parenL:if(_(),!a(t.parenR)&&!a(t.ellipsis))if(a(t.name)){let s=ke();e=s!==t.question&&s!==t.colon}else e=!0;if(e)if(r.noAnonFunctionType=!1,Ue(),r.noAnonFunctionType=n,r.noAnonFunctionType||!(a(t.comma)||a(t.parenR)&&ke()===t.arrow)){x(t.parenR);return}else f(t.comma);ro(),x(t.parenR),x(t.arrow),Ue();return;case t.minus:_(),Dt();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:_();return;default:if(r.type===t._typeof){Ml();return}else if(r.type&t.IS_KEYWORD){_(),r.tokens[r.tokens.length-1].type=t.name;return}}G()}function Bl(){for(ui();!De()&&(a(t.bracketL)||a(t.questionDot));)f(t.questionDot),x(t.bracketL),f(t.bracketR)||(Ue(),x(t.bracketR))}function pi(){f(t.question)?pi():Bl()}function ai(){pi(),!r.noAnonFunctionType&&f(t.arrow)&&Ue()}function ci(){for(f(t.bitwiseAND),ai();f(t.bitwiseAND);)ai()}function ql(){for(f(t.bitwiseOR),ci();f(t.bitwiseOR);)ci()}function Ue(){ql()}function wt(){kt()}function fi(){X(),a(t.colon)&&wt()}function Ss(){(a(t.plus)||a(t.minus))&&(_(),r.tokens[r.tokens.length-1].isType=!0)}function Q1(e){a(t.colon)&&oo(),Vt(!1,e)}function Z1(e,n,s){if(a(t.questionDot)&&ke()===t.lessThan){if(n){s.stop=!0;return}_(),Wt(),x(t.parenL),ct();return}else if(!n&&a(t.lessThan)){let o=r.snapshot();if(Wt(),x(t.parenL),ct(),r.error)r.restoreFromSnapshot(o);else return}vn(e,n,s)}function ei(){if(a(t.lessThan)){let e=r.snapshot();Wt(),r.error&&r.restoreFromSnapshot(e)}}function hi(){if(a(t.name)&&r.contextualKeyword===l._interface){let e=Z(0);return _(),ao(),K(e),!0}else if(O(l._enum))return Ei(),!0;return!1}function mi(){return O(l._enum)?(Ei(),!0):!1}function di(e){if(e===l._declare){if(a(t._class)||a(t.name)||a(t._function)||a(t._var)||a(t._export)){let n=Z(1);so(),K(n)}}else if(a(t.name)){if(e===l._interface){let n=Z(1);ao(),K(n)}else if(e===l._type){let n=Z(1);co(),K(n)}else if(e===l._opaque){let n=Z(1);lo(!1),K(n)}}de()}function ki(){return O(l._type)||O(l._interface)||O(l._opaque)||O(l._enum)}function gi(){return a(t.name)&&(r.contextualKeyword===l._type||r.contextualKeyword===l._interface||r.contextualKeyword===l._opaque||r.contextualKeyword===l._enum)}function xi(){if(O(l._type)){let e=Z(1);_(),a(t.braceL)?(Rs(),pn()):co(),K(e)}else if(O(l._opaque)){let e=Z(1);_(),lo(!1),K(e)}else if(O(l._interface)){let e=Z(1);_(),ao(),K(e)}else je(!0)}function _i(){return a(t.star)||O(l._type)&&ke()===t.star}function yi(){if(Ee(l._type)){let e=Z(2);vs(),K(e)}else vs()}function Ii(e){if(e&&a(t.lessThan)&&Wt(),O(l._implements)){let n=Z(0);_(),r.tokens[r.tokens.length-1].type=t._implements;do Ns(),a(t.lessThan)&&Wt();while(f(t.comma));K(n)}}function ti(){a(t.lessThan)&&(Ze(),a(t.parenL)||G())}function p1(){let e=Z(0);f(t.question),a(t.colon)&&wt(),K(e)}function Ti(){if(a(t._typeof)||O(l._type)){let e=_t();(_l(e)||e.type===t.braceL||e.type===t.star)&&_()}}function bi(){let e=r.contextualKeyword===l._type||r.type===t._typeof;e?_():X(),O(l._as)&&!en(l._as)?(X(),e&&!a(t.name)&&!(r.type&t.IS_KEYWORD)||X()):(e&&(a(t.name)||r.type&t.IS_KEYWORD)&&X(),Ee(l._as)&&X())}function wi(){if(a(t.lessThan)){let e=Z(0);Ze(),K(e)}}function Si(){a(t.colon)&&wt()}function ni(){if(a(t.colon)){let e=r.noAnonFunctionType;r.noAnonFunctionType=!0,wt(),r.noAnonFunctionType=e}}function si(e,n){if(a(t.lessThan)){let s=r.snapshot(),o=Ye(e,n);if(r.error)r.restoreFromSnapshot(s),r.type=t.typeParameterStart;else return o;let i=Z(0);if(Ze(),K(i),o=Ye(e,n),o)return!0;G()}return Ye(e,n)}function ri(){if(a(t.colon)){let e=Z(0),n=r.snapshot(),s=r.noAnonFunctionType;r.noAnonFunctionType=!0,oo(),r.noAnonFunctionType=s,De()&&G(),a(t.arrow)||G(),r.error&&r.restoreFromSnapshot(n),K(e)}return f(t.arrow)}function oi(e,n=!1){if(r.tokens[r.tokens.length-1].contextualKeyword===l._async&&a(t.lessThan)){let s=r.snapshot();if($l()&&!r.error)return;r.restoreFromSnapshot(s)}Zr(e,n)}function $l(){r.scopeDepth++;let e=r.tokens.length;return Tt(),bs()?(un(e),!0):!1}function Ei(){Te(l._enum),r.tokens[r.tokens.length-1].type=t._enum,X(),Ul()}function Ul(){Ee(l._of)&&_(),x(t.braceL),Hl(),x(t.braceR)}function Hl(){for(;!a(t.braceR)&&!r.error&&!f(t.ellipsis);)Vl(),a(t.braceR)||x(t.comma)}function Vl(){X(),f(t.eq)&&_()}function vi(){if(cn(t.eof),r.scopes.push(new qe(0,r.tokens.length,!0)),r.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${r.scopeDepth}`);return new Ds(r.tokens,r.scopes)}function je(e){re&&hi()||(a(t.at)&&Es(),Wl(e))}function Wl(e){if(te&&R1())return;let n=r.type;switch(n){case t._break:case t._continue:Gl();return;case t._debugger:Jl();return;case t._do:zl();return;case t._for:Kl();return;case t._function:if(ke()===t.dot)break;e||G(),Zl();return;case t._class:e||G(),bt(!0);return;case t._if:eu();return;case t._return:tu();return;case t._switch:nu();return;case t._throw:su();return;case t._try:ou();return;case t._let:case t._const:e||G();case t._var:Nn(n!==t._var);return;case t._while:iu();return;case t.braceL:St();return;case t.semi:au();return;case t._export:case t._import:{let i=ke();if(i===t.parenL||i===t.dot)break;_(),n===t._import?ho():fo();return}case t.name:if(r.contextualKeyword===l._async){let i=r.start,c=r.snapshot();if(_(),a(t._function)&&!De()){x(t._function),It(i,!0);return}else r.restoreFromSnapshot(c)}else if(r.contextualKeyword===l._using&&!es()&&ke()===t.name){Nn(!0);return}else if(Ni()){Te(l._await),Nn(!0);return}default:break}let s=r.tokens.length;Pe();let o=null;if(r.tokens.length===s+1){let i=r.tokens[r.tokens.length-1];i.type===t.name&&(o=i.contextualKeyword)}if(o==null){de();return}f(t.colon)?cu():lu(o)}function Ni(){if(!O(l._await))return!1;let e=r.snapshot();return _(),!O(l._using)||Le()?(r.restoreFromSnapshot(e),!1):(_(),!a(t.name)||Le()?(r.restoreFromSnapshot(e),!1):(r.restoreFromSnapshot(e),!0))}function Es(){for(;a(t.at);)Ri()}function Ri(){if(_(),f(t.parenL))Pe(),x(t.parenR);else{for(X();f(t.dot);)X();Xl()}}function Xl(){te?H1():Xr()}function Xr(){f(t.parenL)&&ct()}function Gl(){_(),Ke()||(X(),de())}function Jl(){_(),de()}function zl(){_(),je(!1),x(t._while),Rn(),f(t.semi)}function Kl(){r.scopeDepth++;let e=r.tokens.length;Ql();let n=r.tokens.length;r.scopes.push(new qe(e,n,!1)),r.scopeDepth--}function Yl(){return!(!O(l._using)||en(l._of))}function Ql(){_();let e=!1;if(O(l._await)&&(e=!0,_()),x(t.parenL),a(t.semi)){e&&G(),mo();return}let n=Ni();if(n||a(t._var)||a(t._let)||a(t._const)||Yl()){if(n&&Te(l._await),_(),Li(!0,r.type!==t._var),a(t._in)||O(l._of)){Ai(e);return}mo();return}if(Pe(!0),a(t._in)||O(l._of)){Ai(e);return}e&&G(),mo()}function Zl(){let e=r.start;_(),It(e,!0)}function eu(){_(),Rn(),je(!1),f(t._else)&&je(!1)}function tu(){_(),Ke()||(Pe(),de())}function nu(){_(),Rn(),r.scopeDepth++;let e=r.tokens.length;for(x(t.braceL);!a(t.braceR)&&!r.error;)if(a(t._case)||a(t._default)){let s=a(t._case);_(),s&&Pe(),x(t.colon)}else je(!0);_();let n=r.tokens.length;r.scopes.push(new qe(e,n,!1)),r.scopeDepth--}function su(){_(),Pe(),de()}function ru(){wn(!0),te&&Ut()}function ou(){if(_(),St(),a(t._catch)){_();let e=null;if(a(t.parenL)&&(r.scopeDepth++,e=r.tokens.length,x(t.parenL),ru(),x(t.parenR)),St(),e!=null){let n=r.tokens.length;r.scopes.push(new qe(e,n,!1)),r.scopeDepth--}}f(t._finally)&&St()}function Nn(e){_(),Li(!1,e),de()}function iu(){_(),Rn(),je(!1)}function au(){_()}function cu(){je(!0)}function lu(e){te?D1(e):re?di(e):de()}function St(e=!1,n=0){let s=r.tokens.length;r.scopeDepth++,x(t.braceL),n&&(r.tokens[r.tokens.length-1].contextId=n),cn(t.braceR),n&&(r.tokens[r.tokens.length-1].contextId=n);let o=r.tokens.length;r.scopes.push(new qe(s,o,e)),r.scopeDepth--}function cn(e){for(;!f(e)&&!r.error;)je(!0)}function mo(){x(t.semi),a(t.semi)||Pe(),x(t.semi),a(t.parenR)||Pe(),x(t.parenR),je(!1)}function Ai(e){e?Ee(l._of):_(),Pe(),x(t.parenR),je(!1)}function Li(e,n){for(;;){if(uu(n),f(t.eq)){let s=r.tokens.length-1;Ce(e),r.tokens[s].rhsEndIndex=r.tokens.length}if(!f(t.comma))break}}function uu(e){wn(e),te?B1():re&&Si()}function It(e,n,s=!1){a(t.star)&&_(),n&&!s&&!a(t.name)&&!a(t._yield)&&G();let o=null;a(t.name)&&(n||(o=r.tokens.length,r.scopeDepth++),at(!1));let i=r.tokens.length;r.scopeDepth++,Tt(),no(e);let c=r.tokens.length;r.scopes.push(new qe(i,c,!0)),r.scopeDepth--,o!==null&&(r.scopes.push(new qe(o,c,!0)),r.scopeDepth--)}function Tt(e=!1,n=0){te?j1():re&&wi(),x(t.parenL),n&&(r.tokens[r.tokens.length-1].contextId=n),Sn(t.parenR,!1,!1,e,n),n&&(r.tokens[r.tokens.length-1].contextId=n)}function bt(e,n=!1){let s=qt();_(),r.tokens[r.tokens.length-1].contextId=s,r.tokens[r.tokens.length-1].isExpression=!e;let o=null;e||(o=r.tokens.length,r.scopeDepth++),mu(e,n),du();let i=r.tokens.length;if(pu(s),!r.error&&(r.tokens[i].contextId=s,r.tokens[r.tokens.length-1].contextId=s,o!==null)){let c=r.tokens.length;r.scopes.push(new qe(o,c,!1)),r.scopeDepth--}}function Di(){return a(t.eq)||a(t.semi)||a(t.braceR)||a(t.bang)||a(t.colon)}function Oi(){return a(t.parenL)||a(t.lessThan)}function pu(e){for(x(t.braceL);!f(t.braceR)&&!r.error;){if(f(t.semi))continue;if(a(t.at)){Ri();continue}let n=r.start;fu(n,e)}}function fu(e,n){te&&En([l._declare,l._public,l._protected,l._private,l._override]);let s=!1;if(a(t.name)&&r.contextualKeyword===l._static){if(X(),Oi()){Dn(e,!1);return}else if(Di()){Ls();return}if(r.tokens[r.tokens.length-1].type=t._static,s=!0,a(t.braceL)){r.tokens[r.tokens.length-1].contextId=n,St();return}}hu(e,s,n)}function hu(e,n,s){if(te&&L1(n))return;if(f(t.star)){Ln(s),Dn(e,!1);return}Ln(s);let o=!1,i=r.tokens[r.tokens.length-1];i.contextualKeyword===l._constructor&&(o=!0),Ci(),Oi()?Dn(e,o):Di()?Ls():i.contextualKeyword===l._async&&!Ke()?(r.tokens[r.tokens.length-1].type=t._async,a(t.star)&&_(),Ln(s),Ci(),Dn(e,!1)):(i.contextualKeyword===l._get||i.contextualKeyword===l._set)&&!(Ke()&&a(t.star))?(i.contextualKeyword===l._get?r.tokens[r.tokens.length-1].type=t._get:r.tokens[r.tokens.length-1].type=t._set,Ln(s),Dn(e,!1)):i.contextualKeyword===l._accessor&&!Ke()?(Ln(s),Ls()):Ke()?Ls():G()}function Dn(e,n){te?Ot():re&&a(t.lessThan)&&Ze(),ws(e,n)}function Ln(e){Ht(e)}function Ci(){if(te){let e=Z(0);f(t.question),K(e)}}function Ls(){if(te?(ss(t.bang),Ut()):re&&a(t.colon)&&wt(),a(t.eq)){let e=r.tokens.length;_(),Ce(),r.tokens[e].rhsEndIndex=r.tokens.length}de()}function mu(e,n=!1){te&&(!e||n)&&O(l._implements)||(a(t.name)&&at(!0),te?Ot():re&&a(t.lessThan)&&Ze())}function du(){let e=!1;f(t._extends)?(Yr(),e=!0):e=!1,te?F1(e):re&&Ii(e)}function fo(){let e=r.tokens.length-1;te&&C1()||(_u()?yu():xu()?(X(),a(t.comma)&&ke()===t.star?(x(t.comma),x(t.star),Te(l._as),X()):Fi(),pn()):f(t._default)?ku():Tu()?gu():(Rs(),pn()),r.tokens[e].rhsEndIndex=r.tokens.length)}function ku(){if(te&&N1()||re&&mi())return;let e=r.start;f(t._function)?It(e,!0,!0):O(l._async)&&ke()===t._function?(Ee(l._async),f(t._function),It(e,!0,!0)):a(t._class)?bt(!0,!0):a(t.at)?(Es(),bt(!0,!0)):(Ce(),de())}function gu(){te?O1():re?xi():je(!0)}function xu(){if(te&&Vr())return!1;if(re&&gi())return!1;if(a(t.name))return r.contextualKeyword!==l._async;if(!a(t._default))return!1;let e=gn(),n=_t(),s=n.type===t.name&&n.contextualKeyword===l._from;if(n.type===t.comma)return!0;if(s){let o=E.charCodeAt(hr(e+4));return o===u.quotationMark||o===u.apostrophe}return!1}function Fi(){f(t.comma)&&Rs()}function pn(){Ee(l._from)&&(Qe(),Mi()),de()}function _u(){return re?_i():a(t.star)}function yu(){re?yi():vs()}function vs(){x(t.star),O(l._as)?Iu():pn()}function Iu(){_(),r.tokens[r.tokens.length-1].type=t._as,X(),Fi(),pn()}function Tu(){return te&&Vr()||re&&ki()||r.type===t._var||r.type===t._const||r.type===t._let||r.type===t._function||r.type===t._class||O(l._async)||a(t.at)}function Rs(){let e=!0;for(x(t.braceL);!f(t.braceR)&&!r.error;){if(e)e=!1;else if(x(t.comma),f(t.braceR))break;bu()}}function bu(){if(te){v1();return}X(),r.tokens[r.tokens.length-1].identifierRole=F.ExportAccess,Ee(l._as)&&X()}function wu(){let e=r.snapshot();return Te(l._module),Ee(l._from)?O(l._from)?(r.restoreFromSnapshot(e),!0):(r.restoreFromSnapshot(e),!1):a(t.comma)?(r.restoreFromSnapshot(e),!1):(r.restoreFromSnapshot(e),!0)}function Su(){O(l._module)&&wu()&&_()}function ho(){if(te&&a(t.name)&&ke()===t.eq){xs();return}if(te&&O(l._type)){let e=_t();if(e.type===t.name&&e.contextualKeyword!==l._from){if(Te(l._type),ke()===t.eq){xs();return}}else(e.type===t.star||e.type===t.braceL)&&Te(l._type)}a(t.string)?Qe():(Su(),Au(),Te(l._from),Qe()),Mi(),de()}function Eu(){return a(t.name)}function Pi(){nn()}function Au(){re&&Ti();let e=!0;if(!(Eu()&&(Pi(),!f(t.comma)))){if(a(t.star)){_(),Te(l._as),Pi();return}for(x(t.braceL);!f(t.braceR)&&!r.error;){if(e)e=!1;else if(f(t.colon)&&G("ES2015 named imports do not destructure. Use another statement for destructuring after the import."),x(t.comma),f(t.braceR))break;Cu()}}}function Cu(){if(te){P1();return}if(re){bi();return}nn(),O(l._as)&&(r.tokens[r.tokens.length-1].identifierRole=F.ImportAccess,_(),nn())}function Mi(){(a(t._with)||O(l._assert)&&!Le())&&(_(),An(!1,!1))}function ji(){return r.pos===0&&E.charCodeAt(0)===u.numberSign&&E.charCodeAt(1)===u.exclamationMark&&kr(2),dr(),vi()}var Ds=class{constructor(n,s){this.tokens=n,this.scopes=s}};function Bi(e,n,s,o){if(o&&s)throw new Error("Cannot combine flow and typescript plugins.");bo(e,n,s,o);let i=ji();if(r.error)throw To(r.error);return i}d();g();k();d();g();k();function ko(e){let n=e.currentIndex(),s=0,o=e.currentToken();do{let i=e.tokens[n];if(i.isOptionalChainStart&&s++,i.isOptionalChainEnd&&s--,s+=i.numNullishCoalesceStarts,s-=i.numNullishCoalesceEnds,i.contextualKeyword===l._await&&i.identifierRole==null&&i.scopeDepth===o.scopeDepth)return!0;n+=1}while(s>0&&n<e.tokens.length);return!1}var On=class e{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(n,s,o,i,c){this.code=n,this.tokens=s,this.isFlowEnabled=o,this.disableESTransforms=i,this.helperManager=c,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.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 s=this.resultCode.slice(n.resultCode.length);return this.resultCode=n.resultCode,s}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(n,s){return this.matches1AtIndex(n,t.name)&&this.tokens[n].contextualKeyword===s}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,s){return this.tokens[n].type===s}matches2AtIndex(n,s,o){return this.tokens[n].type===s&&this.tokens[n+1].type===o}matches3AtIndex(n,s,o,i){return this.tokens[n].type===s&&this.tokens[n+1].type===o&&this.tokens[n+2].type===i}matches1(n){return this.tokens[this.tokenIndex].type===n}matches2(n,s){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s}matches3(n,s,o){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===o}matches4(n,s,o,i){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===o&&this.tokens[this.tokenIndex+3].type===i}matches5(n,s,o,i,c){return this.tokens[this.tokenIndex].type===n&&this.tokens[this.tokenIndex+1].type===s&&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,s){return this.matches1(n)&&this.currentToken().contextId===s}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=ko(this)),!this.disableESTransforms){if(n.numNullishCoalesceStarts)for(let s=0;s<n.numNullishCoalesceStarts;s++)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 s=0;s<n.numNullishCoalesceEnds;s++)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}};d();g();k();d();g();k();function xo(e,n,s,o){let i=n.snapshot(),c=Pu(n),p=[],h=[],y=[],T=null,A=[],R=[],w=n.currentToken().contextId;if(w==null)throw new Error("Expected non-null class context ID on class open-brace.");for(n.nextToken();!n.matchesContextIdAndLabel(t.braceR,w);)if(n.matchesContextual(l._constructor)&&!n.currentToken().isType)({constructorInitializerStatements:p,constructorInsertPos:T}=qi(n));else if(n.matches1(t.semi))o||R.push({start:n.currentIndex(),end:n.currentIndex()+1}),n.nextToken();else if(n.currentToken().isType)n.nextToken();else{let v=n.currentIndex(),Y=!1,M=!1,I=!1;for(;Os(n.currentToken());)n.matches1(t._static)&&(Y=!0),n.matches1(t.hash)&&(M=!0),(n.matches1(t._declare)||n.matches1(t._abstract))&&(I=!0),n.nextToken();if(Y&&n.matches1(t.braceL)){go(n,w);continue}if(M){go(n,w);continue}if(n.matchesContextual(l._constructor)&&!n.currentToken().isType){({constructorInitializerStatements:p,constructorInsertPos:T}=qi(n));continue}let P=n.currentIndex();if(vu(n),n.matches1(t.lessThan)||n.matches1(t.parenL)){go(n,w);continue}for(;n.currentToken().isType;)n.nextToken();if(n.matches1(t.eq)){let $=n.currentIndex(),V=n.currentToken().rhsEndIndex;if(V==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(n.nextToken();n.currentIndex()<V;)e.processToken();let ee;Y?(ee=s.claimFreeName("__initStatic"),y.push(ee)):(ee=s.claimFreeName("__init"),h.push(ee)),A.push({initializerName:ee,equalsIndex:$,start:P,end:n.currentIndex()})}else(!o||I)&&R.push({start:v,end:n.currentIndex()})}return n.restoreToSnapshot(i),o?{headerInfo:c,constructorInitializerStatements:p,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:T,fields:[],rangesToRemove:R}:{headerInfo:c,constructorInitializerStatements:p,instanceInitializerNames:h,staticInitializerNames:y,constructorInsertPos:T,fields:A,rangesToRemove:R}}function go(e,n){for(e.nextToken();e.currentToken().contextId!==n;)e.nextToken();for(;Os(e.tokenAtRelativeIndex(-1));)e.previousToken()}function Pu(e){let n=e.currentToken(),s=n.contextId;if(s==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,s);)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 s=e.currentToken().contextId;if(s==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!e.matchesContextIdAndLabel(t.parenR,s);)if(e.currentToken().contextId===s){if(e.nextToken(),Os(e.currentToken())){for(e.nextToken();Os(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();for(e.nextToken();e.currentToken().isType;)e.nextToken();let o=e.currentIndex(),i=!1;for(;!e.matchesContextIdAndLabel(t.braceR,s);){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 Os(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 vu(e){if(e.matches1(t.bracketL)){let s=e.currentToken().contextId;if(s==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!e.matchesContextIdAndLabel(t.bracketR,s);)e.nextToken();e.nextToken()}else e.nextToken()}d();g();k();d();g();k();function Fn(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()}d();g();k();var Fs={typeDeclarations:new Set,valueDeclarations:new Set};function Mn(e){let n=new Set,s=new Set;for(let o=0;o<e.tokens.length;o++){let i=e.tokens[o];i.type===t.name&&ns(i)&&(i.isType?n.add(e.identifierNameForToken(i)):s.add(e.identifierNameForToken(i)))}return{typeDeclarations:n,valueDeclarations:s}}d();g();k();function jn(e){let n=e.currentIndex();for(;!e.matches1AtIndex(n,t.braceR);)n++;return e.matchesContextualAtIndex(n+1,l._from)&&e.matches1AtIndex(n+2,t.string)}d();g();k();function Et(e){(e.matches2(t._with,t.braceL)||e.matches2(t.name,t.braceL)&&e.matchesContextual(l._assert))&&(e.removeToken(),e.removeToken(),e.removeBalancedCode(),e.removeToken())}d();g();k();function Bn(e,n,s,o){if(!e||n)return!1;let i=s.currentToken();if(i.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let c=i.rhsEndIndex-s.currentIndex();if(c!==3&&!(c===4&&s.matches1AtIndex(i.rhsEndIndex-1,t.semi)))return!1;let p=s.tokenAtRelativeIndex(2);if(p.type!==t.name)return!1;let h=s.identifierNameForToken(p);return o.typeDeclarations.has(h)&&!o.valueDeclarations.has(h)}var qn=class e extends we{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(n,s,o,i,c,p,h,y,T,A,R,w){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=o,this.nameManager=i,this.helperManager=c,this.reactHotLoaderTransformer=p,this.enableLegacyBabel5ModuleInterop=h,this.enableLegacyTypeScriptModuleInterop=y,this.isTypeScriptTransformEnabled=T,this.isFlowTransformEnabled=A,this.preserveDynamicImport=R,this.keepUnusedImports=w,e.prototype.__init.call(this),e.prototype.__init2.call(this),e.prototype.__init3.call(this),this.declarationInfo=T?Mn(s):Fs}getPrefixCode(){let n="";return this.hadExport&&(n+='Object.defineProperty(exports, "__esModule", {value: true});'),n}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
module.exports = exports.default;
`:""}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.shouldAutomaticallyElideImportedName(n)?Fn(this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(t._import,t.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let s=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${s}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(s?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),this.tokens.appendCode(this.importProcessor.claimImportCode(s))}Et(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){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,s=!1;for(;!this.tokens.matches1(t.string);)(!n&&this.tokens.matches1(t.braceL)||this.tokens.matches1(t.comma))&&(this.tokens.removeToken(),this.tokens.matches1(t.braceR)||(s=!0),(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 this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!n:this.isFlowTransformEnabled?s&&!n:!1}removeRemainingImport(){for(;!this.tokens.matches1(t.string);)this.tokens.removeToken()}processIdentifier(){let n=this.tokens.currentToken();if(n.shadowsGlobal)return!1;if(n.identifierRole===F.ObjectShorthand)return this.processObjectShorthand();if(n.identifierRole!==F.Access)return!1;let s=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(n));if(!s)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(`${s}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR)):this.tokens.replaceToken(`(0, ${s})`):this.tokens.replaceToken(s),!0}processObjectShorthand(){let n=this.tokens.identifierName(),s=this.importProcessor.getIdentifierReplacement(n);return s?(this.tokens.replaceToken(`${n}: ${s}`),!0):!1}processExport(){if(this.tokens.matches2(t._export,t._enum)||this.tokens.matches3(t._export,t._const,t._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(t._export,t._default))return this.tokens.matches3(t._export,t._default,t._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(t._export,t.braceL))return this.processExportBindings(),!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(),Et(this.tokens)),!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.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){let n=this.tokens.currentIndex(),s=this.tokens.tokens[n-1];if(s.isType||s.type!==t.name||s.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(s));return o?(this.tokens.copyToken(),this.tokens.appendCode(` ${o} =`),!0):!1}processComplexAssignment(){let n=this.tokens.currentIndex(),s=this.tokens.tokens[n-1];if(s.type!==t.name||s.shadowsGlobal||n>=2&&this.tokens.matches1AtIndex(n-2,t.dot))return!1;let o=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return o?(this.tokens.appendCode(` = ${o}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let n=this.tokens.currentIndex(),s=this.tokens.tokens[n+1];if(s.type!==t.name||s.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(s),i=this.importProcessor.resolveExportBinding(o);return i?(this.tokens.appendCode(`${i} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let n=this.tokens.currentIndex(),s=this.tokens.tokens[n],o=this.tokens.tokens[n+1];if(s.type!==t.name||s.shadowsGlobal||n>=1&&this.tokens.matches1AtIndex(n-1,t.dot))return!1;let i=this.tokens.identifierNameForToken(s),c=this.importProcessor.resolveExportBinding(i);if(!c)return!1;let p=this.tokens.rawCodeForToken(o),h=this.importProcessor.getIdentifierReplacement(i)||i;if(p==="++")this.tokens.replaceToken(`(${h} = ${c} = ${h} + 1, ${h} - 1)`);else if(p==="--")this.tokens.replaceToken(`(${h} = ${c} = ${h} - 1, ${h} + 1)`);else throw new Error(`Unexpected operator: ${p}`);return this.tokens.removeToken(),!0}processExportDefault(){let n=!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.removeInitialToken(),this.tokens.removeToken();let s=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${s};`)}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 s=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${s};`)}else if(Bn(this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))n=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let s=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${s}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");n&&(this.hadDefaultExport=!0)}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 s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)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 s=0;for(;;)if(this.tokens.matches1(t.braceL)||this.tokens.matches1(t.dollarBraceL)||this.tokens.matches1(t.bracketL))s++,this.tokens.copyToken();else if(this.tokens.matches1(t.braceR)||this.tokens.matches1(t.bracketR))s--,this.tokens.copyToken();else{if(s===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(ts(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.`);Ao(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=jn(this.tokens),s=[];for(;;){if(this.tokens.matches1(t.braceR)){this.tokens.removeToken();break}let o=mt(this.tokens);for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();if(!(o.isType||!n&&this.shouldElideExportedIdentifier(o.leftName))){let c=o.rightName;c==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;let p=o.leftName,h=this.importProcessor.getIdentifierReplacement(p);s.push(`exports.${c} = ${h||p};`)}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 o=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(o)),Et(this.tokens)}else this.tokens.appendCode(s.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)),Et(this.tokens),this.tokens.matches1(t.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(n)}};d();g();k();var $n=class extends we{constructor(n,s,o,i,c,p,h,y){super(),this.tokens=n,this.nameManager=s,this.helperManager=o,this.reactHotLoaderTransformer=i,this.isTypeScriptTransformEnabled=c,this.isFlowTransformEnabled=p,this.keepUnusedImports=h,this.nonTypeIdentifiers=c&&!h?is(n,y):new Set,this.declarationInfo=c&&!h?Mn(n):Fs,this.injectCreateRequireForImportRequire=!!y.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(),Et(this.tokens)),!0}return!1}processImportEquals(){let n=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(n)?Fn(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(),Et(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,s=!1,o=!1;if(this.tokens.matches1(t.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(t.comma)&&this.tokens.removeToken()):(n=!0,this.tokens.copyToken(),this.tokens.matches1(t.comma)&&(o=!0,this.tokens.removeToken()))),this.tokens.matches1(t.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(o&&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(o&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(t.braceR);){s=!0;let i=mt(this.tokens);if(i.isType||this.shouldAutomaticallyElideImportedName(i.rightName)){for(;this.tokens.currentIndex()<i.endIndex;)this.tokens.removeToken();this.tokens.matches1(t.comma)&&this.tokens.removeToken()}else{for(n=!0;this.tokens.currentIndex()<i.endIndex;)this.tokens.copyToken();this.tokens.matches1(t.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(t.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!n:this.isFlowTransformEnabled?s&&!n:!1}shouldAutomaticallyElideImportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(n)}processExportDefault(){if(Bn(this.isTypeScriptTransformEnabled,this.keepUnusedImports,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 s=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${s}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(t._export),this.tokens.copyExpectedToken(t.braceL);let n=jn(this.tokens),s=!1;for(;!this.tokens.matches1(t.braceR);){let o=mt(this.tokens);if(o.isType||!n&&this.shouldElideExportedName(o.leftName)){for(;this.tokens.currentIndex()<o.endIndex;)this.tokens.removeToken();this.tokens.matches1(t.comma)&&this.tokens.removeToken()}else{for(s=!0;this.tokens.currentIndex()<o.endIndex;)this.tokens.copyToken();this.tokens.matches1(t.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(t.braceR),!this.keepUnusedImports&&n&&!s&&(this.tokens.removeToken(),this.tokens.removeToken(),Et(this.tokens)),!0}shouldElideExportedName(n){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(n)&&!this.declarationInfo.valueDeclarations.has(n)}};d();g();k();var Un=class extends we{constructor(n,s,o){super(),this.rootTransformer=n,this.tokens=s,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 s=this.tokens.matches3(t.braceL,t.name,t.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let o=!n&&!s;for(this.tokens.replaceTokenTrimmingLeftWhitespace(o?".Mirrored([":"({");!this.tokens.matches1(t.braceR);){if(this.tokens.matches1(t.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(n,s),this.tokens.matches1(t.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(o?"]);":"});")}processEnumElement(n,s){if(n){let o=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${o}")`)}else s?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};d();g();k();function Nu(e){let n,s=e[0],o=1;for(;o<e.length;){let i=e[o],c=e[o+1];if(o+=2,(i==="optionalAccess"||i==="optionalCall")&&s==null)return;i==="access"||i==="optionalAccess"?(n=s,s=c(s)):(i==="call"||i==="optionalCall")&&(s=c((...p)=>s.call(n,...p)),n=void 0)}return s}var Ms="jest",Ru=["mock","unmock","enableAutomock","disableAutomock"],Hn=class e extends we{__init(){this.hoistedFunctionNames=[]}constructor(n,s,o,i){super(),this.rootTransformer=n,this.tokens=s,this.nameManager=o,this.importProcessor=i,e.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()===Ms?Nu([this,"access",n=>n.importProcessor,"optionalAccess",n=>n.getGlobalNames,"call",n=>n(),"optionalAccess",n=>n.has,"call",n=>n(Ms)])?!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 s=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(Ru.includes(s)){let i=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(i),this.tokens.replaceToken(`function ${i}(){${Ms}.`),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(`${Ms}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(t.parenR),n=!0}return!0}};d();g();k();var Vn=class extends we{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}};d();g();k();var Wn=class extends we{constructor(n,s){super(),this.tokens=n,this.nameManager=s}process(){return this.tokens.matches2(t._catch,t.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};d();g();k();var Xn=class extends we{constructor(n,s){super(),this.tokens=n,this.nameManager=s}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 s=this.tokens.currentToken().subscriptStartIndex;if(s!=null&&this.tokens.tokens[s].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==t._super){let o=this.nameManager.claimFreeName("_"),i;if(s>0&&this.tokens.matches1AtIndex(s-1,t._delete)&&this.isLastSubscriptInChain()?i=`${o} => delete ${o}`:i=`${o} => ${o}`,this.tokens.tokens[s].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 s=this.tokens.currentIndex()+1;;s++){if(s>=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[s].isOptionalChainStart?n++:this.tokens.tokens[s].isOptionalChainEnd&&n--,n<0)return!0;if(n===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let n=0,s=this.tokens.currentIndex()-1;for(;;){if(s<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?n--:this.tokens.tokens[s].isOptionalChainEnd&&n++,n<0)return!1;if(n===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return this.tokens.tokens[s-1].type===t._super;s--}}};d();g();k();var Gn=class extends we{constructor(n,s,o,i){super(),this.rootTransformer=n,this.tokens=s,this.importProcessor=o,this.options=i}process(){let n=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return s?this.tokens.replaceToken(`(0, ${s})`):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 s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return s?(this.tokens.replaceToken(s),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(n),!0}return!1}tryProcessCreateClassCall(n){let s=this.findDisplayName(n);s&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(t.parenL),this.tokens.copyExpectedToken(t.braceL),this.tokens.appendCode(`displayName: '${s}',`),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===F.ObjectKey?this.tokens.identifierNameAtIndex(n-2):this.tokens.matches2AtIndex(n-2,t._export,t._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let s=(this.options.filePath||"unknown").split("/"),o=s[s.length-1],i=o.lastIndexOf("."),c=i===-1?o:o.slice(0,i);return c==="index"&&s[s.length-2]?s[s.length-2]:c}classNeedsDisplayName(){let n=this.tokens.currentIndex();if(!this.tokens.matches2(t.parenL,t.braceL))return!1;let s=n+1,o=this.tokens.tokens[s].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===F.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)}};d();g();k();var Jn=class e extends we{__init(){this.extractedDefaultExportName=null}constructor(n,s){super(),this.tokens=n,this.filePath=s,e.prototype.__init.call(this)}setExtractedDefaultExportName(n){this.extractedDefaultExportName=n}getPrefixCode(){return`
(function () {
var enterModule = require('react-hot-loader').enterModule;
enterModule && enterModule(module);
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){let n=new Set;for(let o of this.tokens.tokens)!o.isType&&ns(o)&&o.identifierRole!==F.ImportDeclaration&&n.add(this.tokens.identifierNameForToken(o));let s=Array.from(n).map(o=>({variableName:o,uniqueLocalName:o}));return this.extractedDefaultExportName&&s.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
;(function () {
var reactHotLoader = require('react-hot-loader').default;
var leaveModule = require('react-hot-loader').leaveModule;
if (!reactHotLoader) {
return;
}
${s.map(({variableName:o,uniqueLocalName:i})=>` reactHotLoader.register(${o}, "${i}", ${JSON.stringify(this.filePath||"")});`).join(`
`)}
leaveModule(module);
})();`}process(){return!1}};d();g();k();d();g();k();var Lu=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 js(e){if(e.length===0||!yt[e.charCodeAt(0)])return!1;for(let n=1;n<e.length;n++)if(!Me[e.charCodeAt(n)])return!1;return!Lu.has(e)}var zn=class extends we{constructor(n,s,o){super(),this.rootTransformer=n,this.tokens=s,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 s=this.tokens.identifierName();this.tokens.removeToken(),n&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${s}; (function (${s})`),this.tokens.copyExpectedToken(t.braceL),this.processEnumBody(s),this.tokens.copyExpectedToken(t.braceR),n&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${s} || (exports.${s} = ${s} = {}));`):this.tokens.appendCode(`)(${s} || (${s} = {}));`)}processEnumBody(n){let s=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,s),this.tokens.matches1(t.comma)&&this.tokens.removeToken(),i!=null?s=i:s=`${n}[${o}]`}}extractEnumKeyInfo(n){if(n.type===t.name){let s=this.tokens.identifierNameForToken(n);return{nameStringCode:`"${s}"`,variableName:js(s)?s:null}}else if(n.type===t.string){let s=this.tokens.stringValueForToken(n);return{nameStringCode:this.tokens.code.slice(n.start,n.end),variableName:js(s)?s:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(n,s,o){o!=null?(this.tokens.appendCode(`const ${o}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${n}[${s}] = ${o};`)):(this.tokens.appendCode(`${n}[${s}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(n,s,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}[${s}] = ${o}] = ${s};`)}else{for(this.tokens.appendCode(`${n}[${n}[${s}]`),this.tokens.copyToken();this.tokens.currentIndex()<i;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${s};`)}}processImplicitValueEnumMember(n,s,o,i){let c=i!=null?`${i} + 1`:"0";o!=null&&(this.tokens.appendCode(`const ${o} = ${c}; `),c=o),this.tokens.appendCode(`${n}[${n}[${s}] = ${c}] = ${s};`)}};var Kn=class e{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(n,s,o,i){e.prototype.__init.call(this),e.prototype.__init2.call(this),this.nameManager=n.nameManager,this.helperManager=n.helperManager;let{tokenProcessor:c,importProcessor:p}=n;this.tokens=c,this.isImportsTransformEnabled=s.includes("imports"),this.isReactHotLoaderTransformEnabled=s.includes("react-hot-loader"),this.disableESTransforms=!!i.disableESTransforms,i.disableESTransforms||(this.transformers.push(new Xn(c,this.nameManager)),this.transformers.push(new Vn(c)),this.transformers.push(new Wn(c,this.nameManager))),s.includes("jsx")&&(i.jsxRuntime!=="preserve"&&this.transformers.push(new _n(this,c,p,this.nameManager,i)),this.transformers.push(new Gn(this,c,p,i)));let h=null;if(s.includes("react-hot-loader")){if(!i.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");h=new Jn(c,i.filePath),this.transformers.push(h)}if(s.includes("imports")){if(p===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new qn(this,c,p,this.nameManager,this.helperManager,h,o,!!i.enableLegacyTypeScriptModuleInterop,s.includes("typescript"),s.includes("flow"),!!i.preserveDynamicImport,!!i.keepUnusedImports))}else this.transformers.push(new $n(c,this.nameManager,this.helperManager,h,s.includes("typescript"),s.includes("flow"),!!i.keepUnusedImports,i));s.includes("flow")&&this.transformers.push(new Un(this,c,s.includes("imports"))),s.includes("typescript")&&this.transformers.push(new zn(this,c,s.includes("imports"))),s.includes("jest")&&this.transformers.push(new Hn(this,c,this.nameManager,p))}transform(){this.tokens.reset(),this.processBalancedCode();let s=this.isImportsTransformEnabled?'"use strict";':"";for(let p of this.transformers)s+=p.getPrefixCode();s+=this.helperManager.emitHelpers(),s+=this.generatedVariables.map(p=>` var ${p};`).join("");for(let p of this.transformers)s+=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(`
`);return p===-1&&(p=c.length,c+=`
`),{code:c.slice(0,p+1)+s+c.slice(p+1)+o,mappings:this.shiftMappings(i.mappings,s.length)}}else return{code:s+c+o,mappings:this.shiftMappings(i.mappings,s.length)}}processBalancedCode(){let n=0,s=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))s++;else if(this.tokens.matches1(t.parenR)){if(s===0)return;s--}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=xo(this,this.tokens,this.nameManager,this.disableESTransforms),s=(n.headerInfo.isExpression||!n.headerInfo.className)&&n.staticInitializerNames.length+n.instanceInitializerNames.length>0,o=n.headerInfo.className;s&&(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(h=>`${o}.${h}()`);s?this.tokens.appendCode(`, ${p.map(h=>`${h}, `).join("")}${o})`):n.staticInitializerNames.length>0&&this.tokens.appendCode(` ${p.map(h=>`${h};`).join(" ")}`)}processClassBody(n,s){let{headerInfo:o,constructorInsertPos:i,constructorInitializerStatements:c,fields:p,instanceInitializerNames:h,rangesToRemove:y}=n,T=0,A=0,R=this.tokens.currentToken().contextId;if(R==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 w=c.length+h.length>0;if(i===null&&w){let v=this.makeConstructorInitCode(c,h,s);if(o.hasSuperclass){let Y=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${Y}) { super(...${Y}); ${v}; }`)}else this.tokens.appendCode(`constructor() { ${v}; }`)}for(;!this.tokens.matchesContextIdAndLabel(t.braceR,R);)if(T<p.length&&this.tokens.currentIndex()===p[T].start){let v=!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[`),v=!0):this.tokens.copyTokenWithPrefix(`${p[T].initializerName}() {this.`);this.tokens.currentIndex()<p[T].end;)v&&this.tokens.currentIndex()===p[T].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),T++}else if(A<y.length&&this.tokens.currentIndex()>=y[A].start){for(this.tokens.currentIndex()<y[A].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<y[A].end;)this.tokens.removeToken();A++}else this.tokens.currentIndex()===i?(this.tokens.copyToken(),w&&this.tokens.appendCode(`;${this.makeConstructorInitCode(c,h,s)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(t.braceR)}makeConstructorInitCode(n,s,o){return[...n,...s.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 s=this.tokens.currentIndex()+1;for(;this.tokens.tokens[s].isType;)s++;if(this.tokens.matches1AtIndex(s,t.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<s;)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,s){for(let o=0;o<n.length;o++){let i=n[o];i!==void 0&&(n[o]=i+s)}return n}};d();g();k();var Vi=Qn(Hi());function _o(e,n){if(n.length===0)return"";let s=Object.keys(n[0]).filter(w=>w!=="type"&&w!=="value"&&w!=="start"&&w!=="end"&&w!=="loc"),o=Object.keys(n[0].type).filter(w=>w!=="label"&&w!=="keyword"),i=["Location","Label","Raw",...s,...o],c=new Vi.default(e),p=[i,...n.map(y)],h=i.map(()=>0);for(let w of p)for(let v=0;v<w.length;v++)h[v]=Math.max(h[v],w[v].length);return p.map(w=>w.map((v,Y)=>v.padEnd(h[Y])).join(" ")).join(`
`);function y(w){let v=e.slice(w.start,w.end);return[A(w.start,w.end),Zn(w.type),Du(String(v),14),...s.map(Y=>T(w[Y],Y)),...o.map(Y=>T(w.type[Y],Y))]}function T(w,v){return w===!0?v:w===!1||w===null?"":String(w)}function A(w,v){return`${R(w)}-${R(v)}`}function R(w){let v=c.locationForIndex(w);return v?`${v.line+1}:${v.column+1}`:"Unknown"}}function Du(e,n){return e.length>n?`${e.slice(0,n-3)}...`:e}d();g();k();function yo(e){let n=new Set;for(let s=0;s<e.tokens.length;s++)e.matches1AtIndex(s,t._import)&&!e.matches3AtIndex(s,t._import,t.name,t.eq)&&Ou(e,s,n);return n}function Ou(e,n,s){n++,!e.matches1AtIndex(n,t.parenL)&&(e.matches1AtIndex(n,t.name)&&(s.add(e.identifierNameAtIndex(n)),n++,e.matches1AtIndex(n,t.comma)&&n++),e.matches1AtIndex(n,t.star)&&(n+=2,s.add(e.identifierNameAtIndex(n)),n++),e.matches1AtIndex(n,t.braceL)&&(n++,Fu(e,n,s)))}function Fu(e,n,s){for(;;){if(e.matches1AtIndex(n,t.braceR))return;let o=mt(e,n);if(n=o.endIndex,o.isType||s.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 a_(){return"3.35.0"}function c_(e,n){c1(n);try{let s=Wi(e,n),i=new Kn(s,n.transforms,!!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:br(i,n.filePath,n.sourceMapOptions,e,s.tokenProcessor.tokens)}}return c}catch(s){throw n.filePath&&(s.message=`Error transforming ${n.filePath}: ${s.message}`),s}}function l_(e,n){let s=Wi(e,n).tokenProcessor.tokens;return _o(e,s)}function Wi(e,n){let s=n.transforms.includes("jsx"),o=n.transforms.includes("typescript"),i=n.transforms.includes("flow"),c=n.disableESTransforms===!0,p=Bi(e,s,o,i),h=p.tokens,y=p.scopes,T=new In(e,h),A=new ps(T),R=new On(e,h,i,c,A),w=!!n.enableLegacyTypeScriptModuleInterop,v=null;return n.transforms.includes("imports")?(v=new yn(T,R,w,n,n.transforms.includes("typescript"),!!n.keepUnusedImports,A),v.preprocessTokens(),fs(R,y,v.getGlobalNames()),n.transforms.includes("typescript")&&!n.keepUnusedImports&&v.pruneTypeOnlyImports()):n.transforms.includes("typescript")&&!n.keepUnusedImports&&fs(R,y,yo(R)),{tokenProcessor:R,scopes:y,nameManager:T,importProcessor:v,helperManager:A}}export{l_ as getFormattedTokens,a_ as getVersion,c_ as transform};
//# sourceMappingURL=esm-XKHB6BMI.js.map