UNPKG

prettier

Version:

Prettier is an opinionated code formatter

24 lines (23 loc) 325 kB
var v=(l,h)=>()=>(h||l((h={exports:{}}).exports,h),h.exports);var he=v((qf,ii)=>{var Nt=function(l){return l&&l.Math==Math&&l};ii.exports=Nt(typeof globalThis=="object"&&globalThis)||Nt(typeof window=="object"&&window)||Nt(typeof self=="object"&&self)||Nt(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var ce=v((Uf,ai)=>{ai.exports=function(l){try{return!!l()}catch{return!0}}});var ve=v(($f,ni)=>{var xh=ce();ni.exports=!xh(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var kt=v((Hf,oi)=>{var gh=ce();oi.exports=!gh(function(){var l=function(){}.bind();return typeof l!="function"||l.hasOwnProperty("prototype")})});var Ft=v((zf,li)=>{var Ph=kt(),Dt=Function.prototype.call;li.exports=Ph?Dt.bind(Dt):function(){return Dt.apply(Dt,arguments)}});var pi=v(ci=>{"use strict";var hi={}.propertyIsEnumerable,ui=Object.getOwnPropertyDescriptor,Ah=ui&&!hi.call({1:2},1);ci.f=Ah?function(h){var f=ui(this,h);return!!f&&f.enumerable}:hi});var Ps=v((Kf,fi)=>{fi.exports=function(l,h){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:h}}});var pe=v((Wf,yi)=>{var di=kt(),mi=Function.prototype,As=mi.call,Th=di&&mi.bind.bind(As,As);yi.exports=di?Th:function(l){return function(){return As.apply(l,arguments)}}});var st=v((Gf,gi)=>{var xi=pe(),vh=xi({}.toString),Eh=xi("".slice);gi.exports=function(l){return Eh(vh(l),8,-1)}});var Ai=v((Jf,Pi)=>{var Ch=pe(),bh=ce(),Sh=st(),Ts=Object,wh=Ch("".split);Pi.exports=bh(function(){return!Ts("z").propertyIsEnumerable(0)})?function(l){return Sh(l)=="String"?wh(l,""):Ts(l)}:Ts});var vs=v((Xf,Ti)=>{Ti.exports=function(l){return l==null}});var Es=v((Yf,vi)=>{var Ih=vs(),Nh=TypeError;vi.exports=function(l){if(Ih(l))throw Nh("Can't call method on "+l);return l}});var Lt=v((Qf,Ei)=>{var kh=Ai(),Dh=Es();Ei.exports=function(l){return kh(Dh(l))}});var bs=v((Zf,Ci)=>{var Cs=typeof document=="object"&&document.all,Fh=typeof Cs>"u"&&Cs!==void 0;Ci.exports={all:Cs,IS_HTMLDDA:Fh}});var ie=v((ed,Si)=>{var bi=bs(),Lh=bi.all;Si.exports=bi.IS_HTMLDDA?function(l){return typeof l=="function"||l===Lh}:function(l){return typeof l=="function"}});var Oe=v((td,Ni)=>{var wi=ie(),Ii=bs(),Oh=Ii.all;Ni.exports=Ii.IS_HTMLDDA?function(l){return typeof l=="object"?l!==null:wi(l)||l===Oh}:function(l){return typeof l=="object"?l!==null:wi(l)}});var rt=v((sd,ki)=>{var Ss=he(),Bh=ie(),Mh=function(l){return Bh(l)?l:void 0};ki.exports=function(l,h){return arguments.length<2?Mh(Ss[l]):Ss[l]&&Ss[l][h]}});var Fi=v((rd,Di)=>{var _h=pe();Di.exports=_h({}.isPrototypeOf)});var Oi=v((id,Li)=>{var Rh=rt();Li.exports=Rh("navigator","userAgent")||""});var Ui=v((ad,qi)=>{var ji=he(),ws=Oi(),Bi=ji.process,Mi=ji.Deno,_i=Bi&&Bi.versions||Mi&&Mi.version,Ri=_i&&_i.v8,fe,Ot;Ri&&(fe=Ri.split("."),Ot=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!Ot&&ws&&(fe=ws.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=ws.match(/Chrome\/(\d+)/),fe&&(Ot=+fe[1])));qi.exports=Ot});var Is=v((nd,Hi)=>{var $i=Ui(),jh=ce();Hi.exports=!!Object.getOwnPropertySymbols&&!jh(function(){var l=Symbol();return!String(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&$i&&$i<41})});var Ns=v((od,zi)=>{var qh=Is();zi.exports=qh&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var ks=v((ld,Vi)=>{var Uh=rt(),$h=ie(),Hh=Fi(),zh=Ns(),Vh=Object;Vi.exports=zh?function(l){return typeof l=="symbol"}:function(l){var h=Uh("Symbol");return $h(h)&&Hh(h.prototype,Vh(l))}});var Wi=v((hd,Ki)=>{var Kh=String;Ki.exports=function(l){try{return Kh(l)}catch{return"Object"}}});var Bt=v((ud,Gi)=>{var Wh=ie(),Gh=Wi(),Jh=TypeError;Gi.exports=function(l){if(Wh(l))return l;throw Jh(Gh(l)+" is not a function")}});var Xi=v((cd,Ji)=>{var Xh=Bt(),Yh=vs();Ji.exports=function(l,h){var f=l[h];return Yh(f)?void 0:Xh(f)}});var Qi=v((pd,Yi)=>{var Ds=Ft(),Fs=ie(),Ls=Oe(),Qh=TypeError;Yi.exports=function(l,h){var f,d;if(h==="string"&&Fs(f=l.toString)&&!Ls(d=Ds(f,l))||Fs(f=l.valueOf)&&!Ls(d=Ds(f,l))||h!=="string"&&Fs(f=l.toString)&&!Ls(d=Ds(f,l)))return d;throw Qh("Can't convert object to primitive value")}});var ea=v((fd,Zi)=>{Zi.exports=!1});var Mt=v((dd,sa)=>{var ta=he(),Zh=Object.defineProperty;sa.exports=function(l,h){try{Zh(ta,l,{value:h,configurable:!0,writable:!0})}catch{ta[l]=h}return h}});var _t=v((md,ia)=>{var eu=he(),tu=Mt(),ra="__core-js_shared__",su=eu[ra]||tu(ra,{});ia.exports=su});var Os=v((yd,na)=>{var ru=ea(),aa=_t();(na.exports=function(l,h){return aa[l]||(aa[l]=h!==void 0?h:{})})("versions",[]).push({version:"3.26.1",mode:ru?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})});var Bs=v((xd,oa)=>{var iu=Es(),au=Object;oa.exports=function(l){return au(iu(l))}});var Ie=v((gd,la)=>{var nu=pe(),ou=Bs(),lu=nu({}.hasOwnProperty);la.exports=Object.hasOwn||function(h,f){return lu(ou(h),f)}});var Ms=v((Pd,ha)=>{var hu=pe(),uu=0,cu=Math.random(),pu=hu(1 .toString);ha.exports=function(l){return"Symbol("+(l===void 0?"":l)+")_"+pu(++uu+cu,36)}});var it=v((Ad,da)=>{var fu=he(),du=Os(),ua=Ie(),mu=Ms(),ca=Is(),fa=Ns(),Ge=du("wks"),Be=fu.Symbol,pa=Be&&Be.for,yu=fa?Be:Be&&Be.withoutSetter||mu;da.exports=function(l){if(!ua(Ge,l)||!(ca||typeof Ge[l]=="string")){var h="Symbol."+l;ca&&ua(Be,l)?Ge[l]=Be[l]:fa&&pa?Ge[l]=pa(h):Ge[l]=yu(h)}return Ge[l]}});var ga=v((Td,xa)=>{var xu=Ft(),ma=Oe(),ya=ks(),gu=Xi(),Pu=Qi(),Au=it(),Tu=TypeError,vu=Au("toPrimitive");xa.exports=function(l,h){if(!ma(l)||ya(l))return l;var f=gu(l,vu),d;if(f){if(h===void 0&&(h="default"),d=xu(f,l,h),!ma(d)||ya(d))return d;throw Tu("Can't convert object to primitive value")}return h===void 0&&(h="number"),Pu(l,h)}});var _s=v((vd,Pa)=>{var Eu=ga(),Cu=ks();Pa.exports=function(l){var h=Eu(l,"string");return Cu(h)?h:h+""}});var va=v((Ed,Ta)=>{var bu=he(),Aa=Oe(),Rs=bu.document,Su=Aa(Rs)&&Aa(Rs.createElement);Ta.exports=function(l){return Su?Rs.createElement(l):{}}});var js=v((Cd,Ea)=>{var wu=ve(),Iu=ce(),Nu=va();Ea.exports=!wu&&!Iu(function(){return Object.defineProperty(Nu("div"),"a",{get:function(){return 7}}).a!=7})});var qs=v(ba=>{var ku=ve(),Du=Ft(),Fu=pi(),Lu=Ps(),Ou=Lt(),Bu=_s(),Mu=Ie(),_u=js(),Ca=Object.getOwnPropertyDescriptor;ba.f=ku?Ca:function(h,f){if(h=Ou(h),f=Bu(f),_u)try{return Ca(h,f)}catch{}if(Mu(h,f))return Lu(!Du(Fu.f,h,f),h[f])}});var wa=v((Sd,Sa)=>{var Ru=ve(),ju=ce();Sa.exports=Ru&&ju(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var Rt=v((wd,Ia)=>{var qu=Oe(),Uu=String,$u=TypeError;Ia.exports=function(l){if(qu(l))return l;throw $u(Uu(l)+" is not an object")}});var at=v(ka=>{var Hu=ve(),zu=js(),Vu=wa(),jt=Rt(),Na=_s(),Ku=TypeError,Us=Object.defineProperty,Wu=Object.getOwnPropertyDescriptor,$s="enumerable",Hs="configurable",zs="writable";ka.f=Hu?Vu?function(h,f,d){if(jt(h),f=Na(f),jt(d),typeof h=="function"&&f==="prototype"&&"value"in d&&zs in d&&!d[zs]){var x=Wu(h,f);x&&x[zs]&&(h[f]=d.value,d={configurable:Hs in d?d[Hs]:x[Hs],enumerable:$s in d?d[$s]:x[$s],writable:!1})}return Us(h,f,d)}:Us:function(h,f,d){if(jt(h),f=Na(f),jt(d),zu)try{return Us(h,f,d)}catch{}if("get"in d||"set"in d)throw Ku("Accessors not supported");return"value"in d&&(h[f]=d.value),h}});var Vs=v((Nd,Da)=>{var Gu=ve(),Ju=at(),Xu=Ps();Da.exports=Gu?function(l,h,f){return Ju.f(l,h,Xu(1,f))}:function(l,h,f){return l[h]=f,l}});var Oa=v((kd,La)=>{var Ks=ve(),Yu=Ie(),Fa=Function.prototype,Qu=Ks&&Object.getOwnPropertyDescriptor,Ws=Yu(Fa,"name"),Zu=Ws&&function(){}.name==="something",ec=Ws&&(!Ks||Ks&&Qu(Fa,"name").configurable);La.exports={EXISTS:Ws,PROPER:Zu,CONFIGURABLE:ec}});var Js=v((Dd,Ba)=>{var tc=pe(),sc=ie(),Gs=_t(),rc=tc(Function.toString);sc(Gs.inspectSource)||(Gs.inspectSource=function(l){return rc(l)});Ba.exports=Gs.inspectSource});var Ra=v((Fd,_a)=>{var ic=he(),ac=ie(),Ma=ic.WeakMap;_a.exports=ac(Ma)&&/native code/.test(String(Ma))});var Ua=v((Ld,qa)=>{var nc=Os(),oc=Ms(),ja=nc("keys");qa.exports=function(l){return ja[l]||(ja[l]=oc(l))}});var Xs=v((Od,$a)=>{$a.exports={}});var Ka=v((Bd,Va)=>{var lc=Ra(),za=he(),hc=Oe(),uc=Vs(),Ys=Ie(),Qs=_t(),cc=Ua(),pc=Xs(),Ha="Object already initialized",Zs=za.TypeError,fc=za.WeakMap,qt,nt,Ut,dc=function(l){return Ut(l)?nt(l):qt(l,{})},mc=function(l){return function(h){var f;if(!hc(h)||(f=nt(h)).type!==l)throw Zs("Incompatible receiver, "+l+" required");return f}};lc||Qs.state?(de=Qs.state||(Qs.state=new fc),de.get=de.get,de.has=de.has,de.set=de.set,qt=function(l,h){if(de.has(l))throw Zs(Ha);return h.facade=l,de.set(l,h),h},nt=function(l){return de.get(l)||{}},Ut=function(l){return de.has(l)}):(Me=cc("state"),pc[Me]=!0,qt=function(l,h){if(Ys(l,Me))throw Zs(Ha);return h.facade=l,uc(l,Me,h),h},nt=function(l){return Ys(l,Me)?l[Me]:{}},Ut=function(l){return Ys(l,Me)});var de,Me;Va.exports={set:qt,get:nt,has:Ut,enforce:dc,getterFor:mc}});var tr=v((Md,Ga)=>{var yc=ce(),xc=ie(),$t=Ie(),er=ve(),gc=Oa().CONFIGURABLE,Pc=Js(),Wa=Ka(),Ac=Wa.enforce,Tc=Wa.get,Ht=Object.defineProperty,vc=er&&!yc(function(){return Ht(function(){},"length",{value:8}).length!==8}),Ec=String(String).split("String"),Cc=Ga.exports=function(l,h,f){String(h).slice(0,7)==="Symbol("&&(h="["+String(h).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),f&&f.getter&&(h="get "+h),f&&f.setter&&(h="set "+h),(!$t(l,"name")||gc&&l.name!==h)&&(er?Ht(l,"name",{value:h,configurable:!0}):l.name=h),vc&&f&&$t(f,"arity")&&l.length!==f.arity&&Ht(l,"length",{value:f.arity});try{f&&$t(f,"constructor")&&f.constructor?er&&Ht(l,"prototype",{writable:!1}):l.prototype&&(l.prototype=void 0)}catch{}var d=Ac(l);return $t(d,"source")||(d.source=Ec.join(typeof h=="string"?h:"")),l};Function.prototype.toString=Cc(function(){return xc(this)&&Tc(this).source||Pc(this)},"toString")});var Xa=v((_d,Ja)=>{var bc=ie(),Sc=at(),wc=tr(),Ic=Mt();Ja.exports=function(l,h,f,d){d||(d={});var x=d.enumerable,P=d.name!==void 0?d.name:h;if(bc(f)&&wc(f,P,d),d.global)x?l[h]=f:Ic(h,f);else{try{d.unsafe?l[h]&&(x=!0):delete l[h]}catch{}x?l[h]=f:Sc.f(l,h,{value:f,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return l}});var Qa=v((Rd,Ya)=>{var Nc=Math.ceil,kc=Math.floor;Ya.exports=Math.trunc||function(h){var f=+h;return(f>0?kc:Nc)(f)}});var sr=v((jd,Za)=>{var Dc=Qa();Za.exports=function(l){var h=+l;return h!==h||h===0?0:Dc(h)}});var tn=v((qd,en)=>{var Fc=sr(),Lc=Math.max,Oc=Math.min;en.exports=function(l,h){var f=Fc(l);return f<0?Lc(f+h,0):Oc(f,h)}});var rn=v((Ud,sn)=>{var Bc=sr(),Mc=Math.min;sn.exports=function(l){return l>0?Mc(Bc(l),9007199254740991):0}});var zt=v(($d,an)=>{var _c=rn();an.exports=function(l){return _c(l.length)}});var ln=v((Hd,on)=>{var Rc=Lt(),jc=tn(),qc=zt(),nn=function(l){return function(h,f,d){var x=Rc(h),P=qc(x),m=jc(d,P),E;if(l&&f!=f){for(;P>m;)if(E=x[m++],E!=E)return!0}else for(;P>m;m++)if((l||m in x)&&x[m]===f)return l||m||0;return!l&&-1}};on.exports={includes:nn(!0),indexOf:nn(!1)}});var cn=v((zd,un)=>{var Uc=pe(),rr=Ie(),$c=Lt(),Hc=ln().indexOf,zc=Xs(),hn=Uc([].push);un.exports=function(l,h){var f=$c(l),d=0,x=[],P;for(P in f)!rr(zc,P)&&rr(f,P)&&hn(x,P);for(;h.length>d;)rr(f,P=h[d++])&&(~Hc(x,P)||hn(x,P));return x}});var fn=v((Vd,pn)=>{pn.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var mn=v(dn=>{var Vc=cn(),Kc=fn(),Wc=Kc.concat("length","prototype");dn.f=Object.getOwnPropertyNames||function(h){return Vc(h,Wc)}});var xn=v(yn=>{yn.f=Object.getOwnPropertySymbols});var Pn=v((Gd,gn)=>{var Gc=rt(),Jc=pe(),Xc=mn(),Yc=xn(),Qc=Rt(),Zc=Jc([].concat);gn.exports=Gc("Reflect","ownKeys")||function(h){var f=Xc.f(Qc(h)),d=Yc.f;return d?Zc(f,d(h)):f}});var vn=v((Jd,Tn)=>{var An=Ie(),ep=Pn(),tp=qs(),sp=at();Tn.exports=function(l,h,f){for(var d=ep(h),x=sp.f,P=tp.f,m=0;m<d.length;m++){var E=d[m];!An(l,E)&&!(f&&An(f,E))&&x(l,E,P(h,E))}}});var Cn=v((Xd,En)=>{var rp=ce(),ip=ie(),ap=/#|\.prototype\./,ot=function(l,h){var f=op[np(l)];return f==hp?!0:f==lp?!1:ip(h)?rp(h):!!h},np=ot.normalize=function(l){return String(l).replace(ap,".").toLowerCase()},op=ot.data={},lp=ot.NATIVE="N",hp=ot.POLYFILL="P";En.exports=ot});var ar=v((Yd,bn)=>{var ir=he(),up=qs().f,cp=Vs(),pp=Xa(),fp=Mt(),dp=vn(),mp=Cn();bn.exports=function(l,h){var f=l.target,d=l.global,x=l.stat,P,m,E,S,k,L;if(d?m=ir:x?m=ir[f]||fp(f,{}):m=(ir[f]||{}).prototype,m)for(E in h){if(k=h[E],l.dontCallGetSet?(L=up(m,E),S=L&&L.value):S=m[E],P=mp(d?E:f+(x?".":"#")+E,l.forced),!P&&S!==void 0){if(typeof k==typeof S)continue;dp(k,S)}(l.sham||S&&S.sham)&&cp(k,"sham",!0),pp(m,E,k,l)}}});var Sn=v(()=>{var yp=ar(),nr=he();yp({global:!0,forced:nr.globalThis!==nr},{globalThis:nr})});var Nn=v((em,In)=>{var wn=tr(),xp=at();In.exports=function(l,h,f){return f.get&&wn(f.get,h,{getter:!0}),f.set&&wn(f.set,h,{setter:!0}),xp.f(l,h,f)}});var Dn=v((tm,kn)=>{"use strict";var gp=Rt();kn.exports=function(){var l=gp(this),h="";return l.hasIndices&&(h+="d"),l.global&&(h+="g"),l.ignoreCase&&(h+="i"),l.multiline&&(h+="m"),l.dotAll&&(h+="s"),l.unicode&&(h+="u"),l.unicodeSets&&(h+="v"),l.sticky&&(h+="y"),h}});var or=v((sm,On)=>{var bp=st();On.exports=Array.isArray||function(h){return bp(h)=="Array"}});var Mn=v((rm,Bn)=>{var Sp=TypeError,wp=9007199254740991;Bn.exports=function(l){if(l>wp)throw Sp("Maximum allowed index exceeded");return l}});var Rn=v((im,_n)=>{var Ip=st(),Np=pe();_n.exports=function(l){if(Ip(l)==="Function")return Np(l)}});var Un=v((am,qn)=>{var jn=Rn(),kp=Bt(),Dp=kt(),Fp=jn(jn.bind);qn.exports=function(l,h){return kp(l),h===void 0?l:Dp?Fp(l,h):function(){return l.apply(h,arguments)}}});var zn=v((nm,Hn)=>{"use strict";var Lp=or(),Op=zt(),Bp=Mn(),Mp=Un(),$n=function(l,h,f,d,x,P,m,E){for(var S=x,k=0,L=m?Mp(m,E):!1,N,O;k<d;)k in f&&(N=L?L(f[k],k,h):f[k],P>0&&Lp(N)?(O=Op(N),S=$n(l,h,N,O,S,P-1)-1):(Bp(S+1),l[S]=N),S++),k++;return S};Hn.exports=$n});var Wn=v((om,Kn)=>{var _p=it(),Rp=_p("toStringTag"),Vn={};Vn[Rp]="z";Kn.exports=String(Vn)==="[object z]"});var Jn=v((lm,Gn)=>{var jp=Wn(),qp=ie(),Vt=st(),Up=it(),$p=Up("toStringTag"),Hp=Object,zp=Vt(function(){return arguments}())=="Arguments",Vp=function(l,h){try{return l[h]}catch{}};Gn.exports=jp?Vt:function(l){var h,f,d;return l===void 0?"Undefined":l===null?"Null":typeof(f=Vp(h=Hp(l),$p))=="string"?f:zp?Vt(h):(d=Vt(h))=="Object"&&qp(h.callee)?"Arguments":d}});var to=v((hm,eo)=>{var Kp=pe(),Wp=ce(),Xn=ie(),Gp=Jn(),Jp=rt(),Xp=Js(),Yn=function(){},Yp=[],Qn=Jp("Reflect","construct"),lr=/^\s*(?:class|function)\b/,Qp=Kp(lr.exec),Zp=!lr.exec(Yn),lt=function(h){if(!Xn(h))return!1;try{return Qn(Yn,Yp,h),!0}catch{return!1}},Zn=function(h){if(!Xn(h))return!1;switch(Gp(h)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Zp||!!Qp(lr,Xp(h))}catch{return!0}};Zn.sham=!0;eo.exports=!Qn||Wp(function(){var l;return lt(lt.call)||!lt(Object)||!lt(function(){l=!0})||l})?Zn:lt});var ao=v((um,io)=>{var so=or(),ef=to(),tf=Oe(),sf=it(),rf=sf("species"),ro=Array;io.exports=function(l){var h;return so(l)&&(h=l.constructor,ef(h)&&(h===ro||so(h.prototype))?h=void 0:tf(h)&&(h=h[rf],h===null&&(h=void 0))),h===void 0?ro:h}});var oo=v((cm,no)=>{var af=ao();no.exports=function(l,h){return new(af(l))(h===0?0:h)}});Sn();var Pp=he(),Ap=ve(),Tp=Nn(),vp=Dn(),Ep=ce(),Fn=Pp.RegExp,Ln=Fn.prototype,Cp=Ap&&Ep(function(){var l=!0;try{Fn(".","d")}catch{l=!1}var h={},f="",d=l?"dgimsy":"gimsy",x=function(S,k){Object.defineProperty(h,S,{get:function(){return f+=k,!0}})},P={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};l&&(P.hasIndices="d");for(var m in P)x(m,P[m]);var E=Object.getOwnPropertyDescriptor(Ln,"flags").get.call(h);return E!==d||f!==d});Cp&&Tp(Ln,"flags",{configurable:!0,get:vp});var nf=ar(),of=zn(),lf=Bt(),hf=Bs(),uf=zt(),cf=oo();nf({target:"Array",proto:!0},{flatMap:function(h){var f=hf(this),d=uf(f),x;return lf(h),x=cf(f,0),x.length=of(x,f,f,d,0,1,h,arguments.length>1?arguments[1]:void 0),x}});var pr=Object.defineProperty,pf=Object.getOwnPropertyDescriptor,fr=Object.getOwnPropertyNames,ff=Object.prototype.hasOwnProperty,lo=(l,h)=>function(){return l&&(h=(0,l[fr(l)[0]])(l=0)),h},$=(l,h)=>function(){return h||(0,l[fr(l)[0]])((h={exports:{}}).exports,h),h.exports},df=(l,h)=>{for(var f in h)pr(l,f,{get:h[f],enumerable:!0})},mf=(l,h,f,d)=>{if(h&&typeof h=="object"||typeof h=="function")for(let x of fr(h))!ff.call(l,x)&&x!==f&&pr(l,x,{get:()=>h[x],enumerable:!(d=pf(h,x))||d.enumerable});return l},yf=l=>mf(pr({},"__esModule",{value:!0}),l),U=lo({"<define:process>"(){}}),xf=$({"src/utils/try-combinations.js"(l,h){"use strict";U();function f(){let d;for(var x=arguments.length,P=new Array(x),m=0;m<x;m++)P[m]=arguments[m];for(let[E,S]of P.entries())try{return{result:S()}}catch(k){E===0&&(d=k)}return{error:d}}h.exports=f}}),ho=$({"src/language-js/utils/get-shebang.js"(l,h){"use strict";U();function f(d){if(!d.startsWith("#!"))return"";let x=d.indexOf(` `);return x===-1?d:d.slice(0,x)}h.exports=f}}),gf=$({"src/utils/text/skip-inline-comment.js"(l,h){"use strict";U();function f(d,x){if(x===!1)return!1;if(d.charAt(x)==="/"&&d.charAt(x+1)==="*"){for(let P=x+2;P<d.length;++P)if(d.charAt(P)==="*"&&d.charAt(P+1)==="/")return P+2}return x}h.exports=f}}),Pf=$({"src/utils/text/skip-newline.js"(l,h){"use strict";U();function f(d,x,P){let m=P&&P.backwards;if(x===!1)return!1;let E=d.charAt(x);if(m){if(d.charAt(x-1)==="\r"&&E===` `)return x-2;if(E===` `||E==="\r"||E==="\u2028"||E==="\u2029")return x-1}else{if(E==="\r"&&d.charAt(x+1)===` `)return x+2;if(E===` `||E==="\r"||E==="\u2028"||E==="\u2029")return x+1}return x}h.exports=f}}),uo=$({"src/utils/text/skip.js"(l,h){"use strict";U();function f(E){return(S,k,L)=>{let N=L&&L.backwards;if(k===!1)return!1;let{length:O}=S,A=k;for(;A>=0&&A<O;){let _=S.charAt(A);if(E instanceof RegExp){if(!E.test(_))return A}else if(!E.includes(_))return A;N?A--:A++}return A===-1||A===O?A:!1}}var d=f(/\s/),x=f(" "),P=f(",; "),m=f(/[^\n\r]/);h.exports={skipWhitespace:d,skipSpaces:x,skipToLineEnd:P,skipEverythingButNewLine:m}}}),Af=$({"src/utils/text/skip-trailing-comment.js"(l,h){"use strict";U();var{skipEverythingButNewLine:f}=uo();function d(x,P){return P===!1?!1:x.charAt(P)==="/"&&x.charAt(P+1)==="/"?f(x,P):P}h.exports=d}}),Tf=$({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(l,h){"use strict";U();var f=gf(),d=Pf(),x=Af(),{skipSpaces:P}=uo();function m(E,S){let k=null,L=S;for(;L!==k;)k=L,L=P(E,L),L=f(E,L),L=x(E,L),L=d(E,L);return L}h.exports=m}}),co={};df(co,{EOL:()=>cr,arch:()=>vf,cpus:()=>Po,default:()=>Co,endianness:()=>po,freemem:()=>xo,getNetworkInterfaces:()=>Eo,hostname:()=>fo,loadavg:()=>mo,networkInterfaces:()=>vo,platform:()=>Ef,release:()=>To,tmpDir:()=>hr,tmpdir:()=>ur,totalmem:()=>go,type:()=>Ao,uptime:()=>yo});function po(){if(typeof Kt>"u"){var l=new ArrayBuffer(2),h=new Uint8Array(l),f=new Uint16Array(l);if(h[0]=1,h[1]=2,f[0]===258)Kt="BE";else if(f[0]===513)Kt="LE";else throw new Error("unable to figure out endianess")}return Kt}function fo(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function mo(){return[]}function yo(){return 0}function xo(){return Number.MAX_VALUE}function go(){return Number.MAX_VALUE}function Po(){return[]}function Ao(){return"Browser"}function To(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function vo(){}function Eo(){}function vf(){return"javascript"}function Ef(){return"browser"}function hr(){return"/tmp"}var Kt,ur,cr,Co,Cf=lo({"node-modules-polyfills:os"(){U(),ur=hr,cr=` `,Co={EOL:cr,tmpdir:ur,tmpDir:hr,networkInterfaces:vo,getNetworkInterfaces:Eo,release:To,type:Ao,cpus:Po,totalmem:go,freemem:xo,uptime:yo,loadavg:mo,hostname:fo,endianness:po}}}),bf=$({"node-modules-polyfills-commonjs:os"(l,h){U();var f=(Cf(),yf(co));if(f&&f.default){h.exports=f.default;for(let d in f)h.exports[d]=f[d]}else f&&(h.exports=f)}}),Sf=$({"node_modules/detect-newline/index.js"(l,h){"use strict";U();var f=d=>{if(typeof d!="string")throw new TypeError("Expected a string");let x=d.match(/(?:\r?\n)/g)||[];if(x.length===0)return;let P=x.filter(E=>E===`\r `).length,m=x.length-P;return P>m?`\r `:` `};h.exports=f,h.exports.graceful=d=>typeof d=="string"&&f(d)||` `}}),wf=$({"node_modules/jest-docblock/build/index.js"(l){"use strict";U(),Object.defineProperty(l,"__esModule",{value:!0}),l.extract=A,l.parse=W,l.parseWithComments=I,l.print=F,l.strip=_;function h(){let M=bf();return h=function(){return M},M}function f(){let M=d(Sf());return f=function(){return M},M}function d(M){return M&&M.__esModule?M:{default:M}}var x=/\*\/$/,P=/^\/\*\*?/,m=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,E=/(^|\s+)\/\/([^\r\n]*)/g,S=/^(\r?\n)+/,k=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,L=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,N=/(\r?\n|^) *\* ?/g,O=[];function A(M){let V=M.match(m);return V?V[0].trimLeft():""}function _(M){let V=M.match(m);return V&&V[0]?M.substring(V[0].length):M}function W(M){return I(M).pragmas}function I(M){let V=(0,f().default)(M)||h().EOL;M=M.replace(P,"").replace(x,"").replace(N,"$1");let ee="";for(;ee!==M;)ee=M,M=M.replace(k,`${V}$1 $2${V}`);M=M.replace(S,"").trimRight();let b=Object.create(null),B=M.replace(L,"").replace(S,"").trimRight(),te;for(;te=L.exec(M);){let R=te[2].replace(E,"");typeof b[te[1]]=="string"||Array.isArray(b[te[1]])?b[te[1]]=O.concat(b[te[1]],R):b[te[1]]=R}return{comments:B,pragmas:b}}function F(M){let{comments:V="",pragmas:ee={}}=M,b=(0,f().default)(V)||h().EOL,B="/**",te=" *",R=" */",ae=Object.keys(ee),se=ae.map(H=>z(H,ee[H])).reduce((H,X)=>H.concat(X),[]).map(H=>`${te} ${H}${b}`).join("");if(!V){if(ae.length===0)return"";if(ae.length===1&&!Array.isArray(ee[ae[0]])){let H=ee[ae[0]];return`${B} ${z(ae[0],H)[0]}${R}`}}let _e=V.split(b).map(H=>`${te} ${H}`).join(b)+b;return B+b+(V?_e:"")+(V&&ae.length?te+b:"")+se+R}function z(M,V){return O.concat(V).map(ee=>`@${M} ${ee}`.trim())}}}),If=$({"src/common/end-of-line.js"(l,h){"use strict";U();function f(m){let E=m.indexOf("\r");return E>=0?m.charAt(E+1)===` `?"crlf":"cr":"lf"}function d(m){switch(m){case"cr":return"\r";case"crlf":return`\r `;default:return` `}}function x(m,E){let S;switch(E){case` `:S=/\n/g;break;case"\r":S=/\r/g;break;case`\r `:S=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(E)}.`)}let k=m.match(S);return k?k.length:0}function P(m){return m.replace(/\r\n?/g,` `)}h.exports={guessEndOfLine:f,convertEndOfLineToChars:d,countEndOfLineChars:x,normalizeEndOfLine:P}}}),Nf=$({"src/language-js/pragma.js"(l,h){"use strict";U();var{parseWithComments:f,strip:d,extract:x,print:P}=wf(),{normalizeEndOfLine:m}=If(),E=ho();function S(N){let O=E(N);O&&(N=N.slice(O.length+1));let A=x(N),{pragmas:_,comments:W}=f(A);return{shebang:O,text:N,pragmas:_,comments:W}}function k(N){let O=Object.keys(S(N).pragmas);return O.includes("prettier")||O.includes("format")}function L(N){let{shebang:O,text:A,pragmas:_,comments:W}=S(N),I=d(A),F=P({pragmas:Object.assign({format:""},_),comments:W.trimStart()});return(O?`${O} `:"")+m(F)+(I.startsWith(` `)?` `:` `)+I}h.exports={hasPragma:k,insertPragma:L}}}),bo=$({"src/utils/is-non-empty-array.js"(l,h){"use strict";U();function f(d){return Array.isArray(d)&&d.length>0}h.exports=f}}),So=$({"src/language-js/loc.js"(l,h){"use strict";U();var f=bo();function d(S){var k,L;let N=S.range?S.range[0]:S.start,O=(k=(L=S.declaration)===null||L===void 0?void 0:L.decorators)!==null&&k!==void 0?k:S.decorators;return f(O)?Math.min(d(O[0]),N):N}function x(S){return S.range?S.range[1]:S.end}function P(S,k){let L=d(S);return Number.isInteger(L)&&L===d(k)}function m(S,k){let L=x(S);return Number.isInteger(L)&&L===x(k)}function E(S,k){return P(S,k)&&m(S,k)}h.exports={locStart:d,locEnd:x,hasSameLocStart:P,hasSameLoc:E}}}),wo=$({"src/language-js/parse/utils/create-parser.js"(l,h){"use strict";U();var{hasPragma:f}=Nf(),{locStart:d,locEnd:x}=So();function P(m){return m=typeof m=="function"?{parse:m}:m,Object.assign({astFormat:"estree",hasPragma:f,locStart:d,locEnd:x},m)}h.exports=P}}),dr=$({"src/common/parser-create-error.js"(l,h){"use strict";U();function f(d,x){let P=new SyntaxError(d+" ("+x.start.line+":"+x.start.column+")");return P.loc=x,P}h.exports=f}}),Io=$({"src/language-js/parse/utils/create-babel-parse-error.js"(l,h){"use strict";U();var f=dr();function d(x){let{message:P,loc:m}=x;return f(P.replace(/ \(.*\)/,""),{start:{line:m?m.line:0,column:m?m.column+1:0}})}h.exports=d}}),kf=$({"src/language-js/utils/is-ts-keyword-type.js"(l,h){"use strict";U();function f(d){let{type:x}=d;return x.startsWith("TS")&&x.endsWith("Keyword")}h.exports=f}}),Df=$({"src/language-js/utils/is-block-comment.js"(l,h){"use strict";U();var f=new Set(["Block","CommentBlock","MultiLine"]),d=x=>f.has(x==null?void 0:x.type);h.exports=d}}),Ff=$({"src/language-js/utils/is-type-cast-comment.js"(l,h){"use strict";U();var f=Df();function d(x){return f(x)&&x.value[0]==="*"&&/@(?:type|satisfies)\b/.test(x.value)}h.exports=d}}),Lf=$({"src/utils/get-last.js"(l,h){"use strict";U();var f=d=>d[d.length-1];h.exports=f}}),Of=$({"src/language-js/parse/postprocess/visit-node.js"(l,h){"use strict";U();function f(d,x){if(Array.isArray(d)){for(let P=0;P<d.length;P++)d[P]=f(d[P],x);return d}if(d&&typeof d=="object"&&typeof d.type=="string"){let P=Object.keys(d);for(let m=0;m<P.length;m++)d[P[m]]=f(d[P[m]],x);return x(d)||d}return d}h.exports=f}}),Bf=$({"src/language-js/parse/postprocess/throw-syntax-error.js"(l,h){"use strict";U();var f=dr();function d(x,P){let{start:m,end:E}=x.loc;throw f(P,{start:{line:m.line,column:m.column+1},end:{line:E.line,column:E.column+1}})}h.exports=d}}),Mf=$({"src/language-js/parse/postprocess/index.js"(l,h){"use strict";U();var{locStart:f,locEnd:d}=So(),x=kf(),P=Ff(),m=Lf(),E=Of(),S=Bf();function k(A,_){if(_.parser!=="typescript"&&_.parser!=="flow"&&_.parser!=="acorn"&&_.parser!=="espree"&&_.parser!=="meriyah"){let I=new Set;A=E(A,F=>{F.leadingComments&&F.leadingComments.some(P)&&I.add(f(F))}),A=E(A,F=>{if(F.type==="ParenthesizedExpression"){let{expression:z}=F;if(z.type==="TypeCastExpression")return z.range=F.range,z;let M=f(F);if(!I.has(M))return z.extra=Object.assign(Object.assign({},z.extra),{},{parenthesized:!0}),z}})}return A=E(A,I=>{switch(I.type){case"ChainExpression":return L(I.expression);case"LogicalExpression":{if(N(I))return O(I);break}case"VariableDeclaration":{let F=m(I.declarations);F&&F.init&&W(I,F);break}case"TSParenthesizedType":return x(I.typeAnnotation)||I.typeAnnotation.type==="TSThisType"||(I.typeAnnotation.range=[f(I),d(I)]),I.typeAnnotation;case"TSTypeParameter":if(typeof I.name=="string"){let F=f(I);I.name={type:"Identifier",name:I.name,range:[F,F+I.name.length]}}break;case"ObjectExpression":if(_.parser==="typescript"){let F=I.properties.find(z=>z.type==="Property"&&z.value.type==="TSEmptyBodyFunctionExpression");F&&S(F.value,"Unexpected token.")}break;case"SequenceExpression":{let F=m(I.expressions);I.range=[f(I),Math.min(d(F),d(I))];break}case"TopicReference":_.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:F}=I;if(_.parser==="meriyah"&&F&&F.type==="Identifier"){let z=_.originalText.slice(f(F),d(F));(z.startsWith('"')||z.startsWith("'"))&&(I.exported=Object.assign(Object.assign({},I.exported),{},{type:"Literal",value:I.exported.name,raw:z}))}break}case"PropertyDefinition":if(_.parser==="meriyah"&&I.static&&!I.computed&&!I.key){let F="static",z=f(I);Object.assign(I,{static:!1,key:{type:"Identifier",name:F,range:[z,z+F.length]}})}break}}),A;function W(I,F){_.originalText[d(F)]!==";"&&(I.range=[f(I),d(F)])}}function L(A){switch(A.type){case"CallExpression":A.type="OptionalCallExpression",A.callee=L(A.callee);break;case"MemberExpression":A.type="OptionalMemberExpression",A.object=L(A.object);break;case"TSNonNullExpression":A.expression=L(A.expression);break}return A}function N(A){return A.type==="LogicalExpression"&&A.right.type==="LogicalExpression"&&A.operator===A.right.operator}function O(A){return N(A)?O({type:"LogicalExpression",operator:A.operator,left:O({type:"LogicalExpression",operator:A.operator,left:A.left,right:A.right.left,range:[f(A.left),d(A.right.left)]}),right:A.right.right,range:[f(A),d(A)]}):A}h.exports=k}}),No=$({"node_modules/@babel/parser/lib/index.js"(l){"use strict";U(),Object.defineProperty(l,"__esModule",{value:!0});var h={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};function f(t){if(t&&t.annexB!=null&&t.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");let r={};for(let e of Object.keys(h))r[e]=t&&t[e]!=null?t[e]:h[e];return r}var d=class{constructor(t,r){this.token=void 0,this.preserveSpace=void 0,this.token=t,this.preserveSpace=!!r}},x={brace:new d("{"),j_oTag:new d("<tag"),j_cTag:new d("</tag"),j_expr:new d("<tag>...</tag>",!0)};x.template=new d("`",!0);var P=!0,m=!0,E=!0,S=!0,k=!0,L=!0,N=class{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop!=null?r.binop:null,this.updateContext=null}},O=new Map;function A(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};r.keyword=t;let e=b(t,r);return O.set(t,e),e}function _(t,r){return b(t,{beforeExpr:P,binop:r})}var W=-1,I=[],F=[],z=[],M=[],V=[],ee=[];function b(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var e,s,i,a;return++W,F.push(t),z.push((e=r.binop)!=null?e:-1),M.push((s=r.beforeExpr)!=null?s:!1),V.push((i=r.startsExpr)!=null?i:!1),ee.push((a=r.prefix)!=null?a:!1),I.push(new N(t,r)),W}function B(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var e,s,i,a;return++W,O.set(t,W),F.push(t),z.push((e=r.binop)!=null?e:-1),M.push((s=r.beforeExpr)!=null?s:!1),V.push((i=r.startsExpr)!=null?i:!1),ee.push((a=r.prefix)!=null?a:!1),I.push(new N("name",r)),W}var te={bracketL:b("[",{beforeExpr:P,startsExpr:m}),bracketHashL:b("#[",{beforeExpr:P,startsExpr:m}),bracketBarL:b("[|",{beforeExpr:P,startsExpr:m}),bracketR:b("]"),bracketBarR:b("|]"),braceL:b("{",{beforeExpr:P,startsExpr:m}),braceBarL:b("{|",{beforeExpr:P,startsExpr:m}),braceHashL:b("#{",{beforeExpr:P,startsExpr:m}),braceR:b("}"),braceBarR:b("|}"),parenL:b("(",{beforeExpr:P,startsExpr:m}),parenR:b(")"),comma:b(",",{beforeExpr:P}),semi:b(";",{beforeExpr:P}),colon:b(":",{beforeExpr:P}),doubleColon:b("::",{beforeExpr:P}),dot:b("."),question:b("?",{beforeExpr:P}),questionDot:b("?."),arrow:b("=>",{beforeExpr:P}),template:b("template"),ellipsis:b("...",{beforeExpr:P}),backQuote:b("`",{startsExpr:m}),dollarBraceL:b("${",{beforeExpr:P,startsExpr:m}),templateTail:b("...`",{startsExpr:m}),templateNonTail:b("...${",{beforeExpr:P,startsExpr:m}),at:b("@"),hash:b("#",{startsExpr:m}),interpreterDirective:b("#!..."),eq:b("=",{beforeExpr:P,isAssign:S}),assign:b("_=",{beforeExpr:P,isAssign:S}),slashAssign:b("_=",{beforeExpr:P,isAssign:S}),xorAssign:b("_=",{beforeExpr:P,isAssign:S}),moduloAssign:b("_=",{beforeExpr:P,isAssign:S}),incDec:b("++/--",{prefix:k,postfix:L,startsExpr:m}),bang:b("!",{beforeExpr:P,prefix:k,startsExpr:m}),tilde:b("~",{beforeExpr:P,prefix:k,startsExpr:m}),doubleCaret:b("^^",{startsExpr:m}),doubleAt:b("@@",{startsExpr:m}),pipeline:_("|>",0),nullishCoalescing:_("??",1),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),lt:_("</>/<=/>=",7),gt:_("</>/<=/>=",7),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),bitShiftL:_("<</>>/>>>",8),bitShiftR:_("<</>>/>>>",8),plusMin:b("+/-",{beforeExpr:P,binop:9,prefix:k,startsExpr:m}),modulo:b("%",{binop:10,startsExpr:m}),star:b("*",{binop:10}),slash:_("/",10),exponent:b("**",{beforeExpr:P,binop:11,rightAssociative:!0}),_in:A("in",{beforeExpr:P,binop:7}),_instanceof:A("instanceof",{beforeExpr:P,binop:7}),_break:A("break"),_case:A("case",{beforeExpr:P}),_catch:A("catch"),_continue:A("continue"),_debugger:A("debugger"),_default:A("default",{beforeExpr:P}),_else:A("else",{beforeExpr:P}),_finally:A("finally"),_function:A("function",{startsExpr:m}),_if:A("if"),_return:A("return",{beforeExpr:P}),_switch:A("switch"),_throw:A("throw",{beforeExpr:P,prefix:k,startsExpr:m}),_try:A("try"),_var:A("var"),_const:A("const"),_with:A("with"),_new:A("new",{beforeExpr:P,startsExpr:m}),_this:A("this",{startsExpr:m}),_super:A("super",{startsExpr:m}),_class:A("class",{startsExpr:m}),_extends:A("extends",{beforeExpr:P}),_export:A("export"),_import:A("import",{startsExpr:m}),_null:A("null",{startsExpr:m}),_true:A("true",{startsExpr:m}),_false:A("false",{startsExpr:m}),_typeof:A("typeof",{beforeExpr:P,prefix:k,startsExpr:m}),_void:A("void",{beforeExpr:P,prefix:k,startsExpr:m}),_delete:A("delete",{beforeExpr:P,prefix:k,startsExpr:m}),_do:A("do",{isLoop:E,beforeExpr:P}),_for:A("for",{isLoop:E}),_while:A("while",{isLoop:E}),_as:B("as",{startsExpr:m}),_assert:B("assert",{startsExpr:m}),_async:B("async",{startsExpr:m}),_await:B("await",{startsExpr:m}),_from:B("from",{startsExpr:m}),_get:B("get",{startsExpr:m}),_let:B("let",{startsExpr:m}),_meta:B("meta",{startsExpr:m}),_of:B("of",{startsExpr:m}),_sent:B("sent",{startsExpr:m}),_set:B("set",{startsExpr:m}),_static:B("static",{startsExpr:m}),_using:B("using",{startsExpr:m}),_yield:B("yield",{startsExpr:m}),_asserts:B("asserts",{startsExpr:m}),_checks:B("checks",{startsExpr:m}),_exports:B("exports",{startsExpr:m}),_global:B("global",{startsExpr:m}),_implements:B("implements",{startsExpr:m}),_intrinsic:B("intrinsic",{startsExpr:m}),_infer:B("infer",{startsExpr:m}),_is:B("is",{startsExpr:m}),_mixins:B("mixins",{startsExpr:m}),_proto:B("proto",{startsExpr:m}),_require:B("require",{startsExpr:m}),_satisfies:B("satisfies",{startsExpr:m}),_keyof:B("keyof",{startsExpr:m}),_readonly:B("readonly",{startsExpr:m}),_unique:B("unique",{startsExpr:m}),_abstract:B("abstract",{startsExpr:m}),_declare:B("declare",{startsExpr:m}),_enum:B("enum",{startsExpr:m}),_module:B("module",{startsExpr:m}),_namespace:B("namespace",{startsExpr:m}),_interface:B("interface",{startsExpr:m}),_type:B("type",{startsExpr:m}),_opaque:B("opaque",{startsExpr:m}),name:b("name",{startsExpr:m}),string:b("string",{startsExpr:m}),num:b("num",{startsExpr:m}),bigint:b("bigint",{startsExpr:m}),decimal:b("decimal",{startsExpr:m}),regexp:b("regexp",{startsExpr:m}),privateName:b("#name",{startsExpr:m}),eof:b("eof"),jsxName:b("jsxName"),jsxText:b("jsxText",{beforeExpr:!0}),jsxTagStart:b("jsxTagStart",{startsExpr:!0}),jsxTagEnd:b("jsxTagEnd"),placeholder:b("%%",{startsExpr:!0})};function R(t){return t>=93&&t<=130}function ae(t){return t<=92}function se(t){return t>=58&&t<=130}function _e(t){return t>=58&&t<=134}function H(t){return M[t]}function X(t){return V[t]}function ye(t){return t>=29&&t<=33}function ne(t){return t>=127&&t<=129}function oe(t){return t>=90&&t<=92}function Ee(t){return t>=58&&t<=92}function le(t){return t>=39&&t<=59}function ue(t){return t===34}function ht(t){return ee[t]}function ut(t){return t>=119&&t<=121}function Wt(t){return t>=122&&t<=128}function Y(t){return F[t]}function Re(t){return z[t]}function Gt(t){return t===57}function ct(t){return t>=24&&t<=25}function xe(t){return I[t]}I[8].updateContext=t=>{t.pop()},I[5].updateContext=I[7].updateContext=I[23].updateContext=t=>{t.push(x.brace)},I[22].updateContext=t=>{t[t.length-1]===x.template?t.pop():t.push(x.template)},I[140].updateContext=t=>{t.push(x.j_expr,x.j_oTag)};function pt(t,r){if(t==null)return{};var e={},s=Object.keys(t),i,a;for(a=0;a<s.length;a++)i=s[a],!(r.indexOf(i)>=0)&&(e[i]=t[i]);return e}var Ce=class{constructor(t,r,e){this.line=void 0,this.column=void 0,this.index=void 0,this.line=t,this.column=r,this.index=e}},ft=class{constructor(t,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=t,this.end=r}};function re(t,r){let{line:e,column:s,index:i}=t;return new Ce(e,s+r,i+r)}var Jt={SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"},ko=function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t.length-1;return{get(){return t.reduce((e,s)=>e[s],this)},set(e){t.reduce((s,i,a)=>a===r?s[i]=e:s[i],this)}}},Do=(t,r,e)=>Object.keys(e).map(s=>[s,e[s]]).filter(s=>{let[,i]=s;return!!i}).map(s=>{let[i,a]=s;return[i,typeof a=="function"?{value:a,enumerable:!1}:typeof a.reflect=="string"?Object.assign({},a,ko(a.reflect.split("."))):a]}).reduce((s,i)=>{let[a,n]=i;return Object.defineProperty(s,a,Object.assign({configurable:!0},n))},Object.assign(new t,r)),Fo={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Jt.SourceTypeModuleError},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Jt.SourceTypeModuleError}},mr={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},Xt=t=>{let{type:r,prefix:e}=t;return r==="UpdateExpression"?mr.UpdateExpression[String(e)]:mr[r]},Lo={AccessorIsGenerator:t=>{let{kind:r}=t;return`A ${r}ter cannot be a generator.`},ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitInUsingBinding:"'await' is not allowed to be used as a name in 'using' declarations.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:t=>{let{kind:r}=t;return`Missing initializer in ${r} declaration.`},DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:t=>{let{exportName:r}=t;return`\`${r}\` has already been exported. Exported identifiers must be unique.`},DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:t=>{let{localName:r,exportName:e}=t;return`A string literal cannot be used as an exported binding without \`from\`. - Did you mean \`export { '${r}' as '${e}' } from 'some-module'\`?`},ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:t=>{let{type:r}=t;return`'${r==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`},ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:t=>{let{type:r}=t;return`Unsyntactic ${r==="BreakStatement"?"break":"continue"}.`},IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:t=>{let{importName:r}=t;return`A string literal cannot be used as an imported binding. - Did you mean \`import { "${r}" as foo }\`?`},ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:t=>{let{maxArgumentCount:r}=t;return`\`import()\` requires exactly ${r===1?"one argument":"one or two arguments"}.`},ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:t=>{let{radix:r}=t;return`Expected number in radix ${r}.`},InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:t=>{let{reservedWord:r}=t;return`Escape sequence in keyword ${r}.`},InvalidIdentifier:t=>{let{identifierName:r}=t;return`Invalid identifier ${r}.`},InvalidLhs:t=>{let{ancestor:r}=t;return`Invalid left-hand side in ${Xt(r)}.`},InvalidLhsBinding:t=>{let{ancestor:r}=t;return`Binding invalid left-hand side in ${Xt(r)}.`},InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:t=>{let{unexpected:r}=t;return`Unexpected character '${r}'.`},InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:t=>{let{identifierName:r}=t;return`Private name #${r} is not defined.`},InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:t=>{let{labelName:r}=t;return`Label '${r}' is already declared.`},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:t=>{let{missingPlugin:r}=t;return`This experimental syntax requires enabling the parser plugin: ${r.map(e=>JSON.stringify(e)).join(", ")}.`},MissingOneOfPlugins:t=>{let{missingPlugin:r}=t;return`This experimental syntax requires enabling one of the following parser plugin(s): ${r.map(e=>JSON.stringify(e)).join(", ")}.`},MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:t=>{let{key:r}=t;return`Duplicate key "${r}" is not allowed in module attributes.`},ModuleExportNameHasLoneSurrogate:t=>{let{surrogateCharCode:r}=t;return`An export name cannot include a lone surrogate, found '\\u${r.toString(16)}'.`},ModuleExportUndefined:t=>{let{localName:r}=t;return`Export '${r}' is not defined.`},MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:t=>{let{identifierName:r}=t;return`Private names are only allowed in property accesses (\`obj.#${r}\`) or in \`in\` expressions (\`#${r} in obj\`).`},PrivateNameRedeclaration:t=>{let{identifierName:r}=t;return`Duplicate private name #${r}.`},RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:t=>{let{keyword:r}=t;return`Unexpected keyword '${r}'.`},UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:t=>{let{reservedWord:r}=t;return`Unexpected reserved word '${r}'.`},UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:t=>{let{expected:r,unexpected:e}=t;return`Unexpected token${e?` '${e