prettier
Version:
Prettier is an opinionated code formatter
20 lines (19 loc) • 154 kB
JavaScript
(function(e){if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var i=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};i.prettierPlugins=i.prettierPlugins||{},i.prettierPlugins.espree=e()}})(function(){"use strict";var S=(n,o)=>()=>(o||n((o={exports:{}}).exports,o),o.exports);var $=S((Dh,qr)=>{var Ze=function(n){return n&&n.Math==Math&&n};qr.exports=Ze(typeof globalThis=="object"&&globalThis)||Ze(typeof window=="object"&&window)||Ze(typeof self=="object"&&self)||Ze(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var ye=S((Oh,Mr)=>{Mr.exports=function(n){try{return!!n()}catch{return!0}}});var _e=S((Lh,Ur)=>{var tn=ye();Ur.exports=!tn(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var Ct=S((Vh,zr)=>{var rn=ye();zr.exports=!rn(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})});var et=S((Rh,Wr)=>{var sn=Ct(),$e=Function.prototype.call;Wr.exports=sn?$e.bind($e):function(){return $e.apply($e,arguments)}});var Hr=S(Xr=>{"use strict";var Gr={}.propertyIsEnumerable,Kr=Object.getOwnPropertyDescriptor,an=Kr&&!Gr.call({1:2},1);Xr.f=an?function(o){var u=Kr(this,o);return!!u&&u.enumerable}:Gr});var Et=S((qh,Jr)=>{Jr.exports=function(n,o){return{enumerable:!(n&1),configurable:!(n&2),writable:!(n&4),value:o}}});var ce=S((Mh,Zr)=>{var Yr=Ct(),Qr=Function.prototype,nn=Qr.bind,bt=Qr.call,on=Yr&&nn.bind(bt,bt);Zr.exports=Yr?function(n){return n&&on(n)}:function(n){return n&&function(){return bt.apply(n,arguments)}}});var ti=S((Uh,ei)=>{var $r=ce(),un=$r({}.toString),hn=$r("".slice);ei.exports=function(n){return hn(un(n),8,-1)}});var ii=S((zh,ri)=>{var ln=$(),cn=ce(),pn=ye(),fn=ti(),_t=ln.Object,dn=cn("".split);ri.exports=pn(function(){return!_t("z").propertyIsEnumerable(0)})?function(n){return fn(n)=="String"?dn(n,""):_t(n)}:_t});var St=S((Wh,si)=>{var mn=$(),vn=mn.TypeError;si.exports=function(n){if(n==null)throw vn("Can't call method on "+n);return n}});var tt=S((Gh,ai)=>{var gn=ii(),xn=St();ai.exports=function(n){return gn(xn(n))}});var pe=S((Kh,ni)=>{ni.exports=function(n){return typeof n=="function"}});var Ie=S((Xh,oi)=>{var yn=pe();oi.exports=function(n){return typeof n=="object"?n!==null:yn(n)}});var rt=S((Hh,ui)=>{var wt=$(),An=pe(),Cn=function(n){return An(n)?n:void 0};ui.exports=function(n,o){return arguments.length<2?Cn(wt[n]):wt[n]&&wt[n][o]}});var li=S((Jh,hi)=>{var En=ce();hi.exports=En({}.isPrototypeOf)});var pi=S((Yh,ci)=>{var bn=rt();ci.exports=bn("navigator","userAgent")||""});var yi=S((Qh,xi)=>{var gi=$(),kt=pi(),fi=gi.process,di=gi.Deno,mi=fi&&fi.versions||di&&di.version,vi=mi&&mi.v8,he,it;vi&&(he=vi.split("."),it=he[0]>0&&he[0]<4?1:+(he[0]+he[1]));!it&&kt&&(he=kt.match(/Edge\/(\d+)/),(!he||he[1]>=74)&&(he=kt.match(/Chrome\/(\d+)/),he&&(it=+he[1])));xi.exports=it});var Ft=S((Zh,Ci)=>{var Ai=yi(),_n=ye();Ci.exports=!!Object.getOwnPropertySymbols&&!_n(function(){var n=Symbol();return!String(n)||!(Object(n)instanceof Symbol)||!Symbol.sham&&Ai&&Ai<41})});var Bt=S(($h,Ei)=>{var Sn=Ft();Ei.exports=Sn&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var Tt=S((el,bi)=>{var wn=$(),kn=rt(),Fn=pe(),Bn=li(),Tn=Bt(),In=wn.Object;bi.exports=Tn?function(n){return typeof n=="symbol"}:function(n){var o=kn("Symbol");return Fn(o)&&Bn(o.prototype,In(n))}});var Si=S((tl,_i)=>{var Pn=$(),Nn=Pn.String;_i.exports=function(n){try{return Nn(n)}catch{return"Object"}}});var ki=S((rl,wi)=>{var Dn=$(),On=pe(),Ln=Si(),Vn=Dn.TypeError;wi.exports=function(n){if(On(n))return n;throw Vn(Ln(n)+" is not a function")}});var Bi=S((il,Fi)=>{var Rn=ki();Fi.exports=function(n,o){var u=n[o];return u==null?void 0:Rn(u)}});var Ii=S((sl,Ti)=>{var jn=$(),It=et(),Pt=pe(),Nt=Ie(),qn=jn.TypeError;Ti.exports=function(n,o){var u,l;if(o==="string"&&Pt(u=n.toString)&&!Nt(l=It(u,n))||Pt(u=n.valueOf)&&!Nt(l=It(u,n))||o!=="string"&&Pt(u=n.toString)&&!Nt(l=It(u,n)))return l;throw qn("Can't convert object to primitive value")}});var Ni=S((al,Pi)=>{Pi.exports=!1});var st=S((nl,Oi)=>{var Di=$(),Mn=Object.defineProperty;Oi.exports=function(n,o){try{Mn(Di,n,{value:o,configurable:!0,writable:!0})}catch{Di[n]=o}return o}});var at=S((ol,Vi)=>{var Un=$(),zn=st(),Li="__core-js_shared__",Wn=Un[Li]||zn(Li,{});Vi.exports=Wn});var Dt=S((ul,ji)=>{var Gn=Ni(),Ri=at();(ji.exports=function(n,o){return Ri[n]||(Ri[n]=o!==void 0?o:{})})("versions",[]).push({version:"3.22.2",mode:Gn?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE",source:"https://github.com/zloirock/core-js"})});var Mi=S((hl,qi)=>{var Kn=$(),Xn=St(),Hn=Kn.Object;qi.exports=function(n){return Hn(Xn(n))}});var Ae=S((ll,Ui)=>{var Jn=ce(),Yn=Mi(),Qn=Jn({}.hasOwnProperty);Ui.exports=Object.hasOwn||function(o,u){return Qn(Yn(o),u)}});var Ot=S((cl,zi)=>{var Zn=ce(),$n=0,eo=Math.random(),to=Zn(1 .toString);zi.exports=function(n){return"Symbol("+(n===void 0?"":n)+")_"+to(++$n+eo,36)}});var Ji=S((pl,Hi)=>{var ro=$(),io=Dt(),Wi=Ae(),so=Ot(),Gi=Ft(),Xi=Bt(),Pe=io("wks"),Se=ro.Symbol,Ki=Se&&Se.for,ao=Xi?Se:Se&&Se.withoutSetter||so;Hi.exports=function(n){if(!Wi(Pe,n)||!(Gi||typeof Pe[n]=="string")){var o="Symbol."+n;Gi&&Wi(Se,n)?Pe[n]=Se[n]:Xi&&Ki?Pe[n]=Ki(o):Pe[n]=ao(o)}return Pe[n]}});var $i=S((fl,Zi)=>{var no=$(),oo=et(),Yi=Ie(),Qi=Tt(),uo=Bi(),ho=Ii(),lo=Ji(),co=no.TypeError,po=lo("toPrimitive");Zi.exports=function(n,o){if(!Yi(n)||Qi(n))return n;var u=uo(n,po),l;if(u){if(o===void 0&&(o="default"),l=oo(u,n,o),!Yi(l)||Qi(l))return l;throw co("Can't convert object to primitive value")}return o===void 0&&(o="number"),ho(n,o)}});var Lt=S((dl,es)=>{var fo=$i(),mo=Tt();es.exports=function(n){var o=fo(n,"string");return mo(o)?o:o+""}});var is=S((ml,rs)=>{var vo=$(),ts=Ie(),Vt=vo.document,go=ts(Vt)&&ts(Vt.createElement);rs.exports=function(n){return go?Vt.createElement(n):{}}});var Rt=S((vl,ss)=>{var xo=_e(),yo=ye(),Ao=is();ss.exports=!xo&&!yo(function(){return Object.defineProperty(Ao("div"),"a",{get:function(){return 7}}).a!=7})});var jt=S(ns=>{var Co=_e(),Eo=et(),bo=Hr(),_o=Et(),So=tt(),wo=Lt(),ko=Ae(),Fo=Rt(),as=Object.getOwnPropertyDescriptor;ns.f=Co?as:function(o,u){if(o=So(o),u=wo(u),Fo)try{return as(o,u)}catch{}if(ko(o,u))return _o(!Eo(bo.f,o,u),o[u])}});var us=S((xl,os)=>{var Bo=_e(),To=ye();os.exports=Bo&&To(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var qt=S((yl,ls)=>{var hs=$(),Io=Ie(),Po=hs.String,No=hs.TypeError;ls.exports=function(n){if(Io(n))return n;throw No(Po(n)+" is not an object")}});var Gt=S(ps=>{var Do=$(),Oo=_e(),Lo=Rt(),Vo=us(),nt=qt(),cs=Lt(),Ro=Do.TypeError,Mt=Object.defineProperty,jo=Object.getOwnPropertyDescriptor,Ut="enumerable",zt="configurable",Wt="writable";ps.f=Oo?Vo?function(o,u,l){if(nt(o),u=cs(u),nt(l),typeof o=="function"&&u==="prototype"&&"value"in l&&Wt in l&&!l[Wt]){var m=jo(o,u);m&&m[Wt]&&(o[u]=l.value,l={configurable:zt in l?l[zt]:m[zt],enumerable:Ut in l?l[Ut]:m[Ut],writable:!1})}return Mt(o,u,l)}:Mt:function(o,u,l){if(nt(o),u=cs(u),nt(l),Lo)try{return Mt(o,u,l)}catch{}if("get"in l||"set"in l)throw Ro("Accessors not supported");return"value"in l&&(o[u]=l.value),o}});var ot=S((Cl,fs)=>{var qo=_e(),Mo=Gt(),Uo=Et();fs.exports=qo?function(n,o,u){return Mo.f(n,o,Uo(1,u))}:function(n,o,u){return n[o]=u,n}});var Xt=S((El,ds)=>{var zo=ce(),Wo=pe(),Kt=at(),Go=zo(Function.toString);Wo(Kt.inspectSource)||(Kt.inspectSource=function(n){return Go(n)});ds.exports=Kt.inspectSource});var gs=S((bl,vs)=>{var Ko=$(),Xo=pe(),Ho=Xt(),ms=Ko.WeakMap;vs.exports=Xo(ms)&&/native code/.test(Ho(ms))});var As=S((_l,ys)=>{var Jo=Dt(),Yo=Ot(),xs=Jo("keys");ys.exports=function(n){return xs[n]||(xs[n]=Yo(n))}});var Ht=S((Sl,Cs)=>{Cs.exports={}});var ks=S((wl,ws)=>{var Qo=gs(),Ss=$(),Jt=ce(),Zo=Ie(),$o=ot(),Yt=Ae(),Qt=at(),eu=As(),tu=Ht(),Es="Object already initialized",$t=Ss.TypeError,ru=Ss.WeakMap,ut,qe,ht,iu=function(n){return ht(n)?qe(n):ut(n,{})},su=function(n){return function(o){var u;if(!Zo(o)||(u=qe(o)).type!==n)throw $t("Incompatible receiver, "+n+" required");return u}};Qo||Qt.state?(Ce=Qt.state||(Qt.state=new ru),bs=Jt(Ce.get),Zt=Jt(Ce.has),_s=Jt(Ce.set),ut=function(n,o){if(Zt(Ce,n))throw new $t(Es);return o.facade=n,_s(Ce,n,o),o},qe=function(n){return bs(Ce,n)||{}},ht=function(n){return Zt(Ce,n)}):(we=eu("state"),tu[we]=!0,ut=function(n,o){if(Yt(n,we))throw new $t(Es);return o.facade=n,$o(n,we,o),o},qe=function(n){return Yt(n,we)?n[we]:{}},ht=function(n){return Yt(n,we)});var Ce,bs,Zt,_s,we;ws.exports={set:ut,get:qe,has:ht,enforce:iu,getterFor:su}});var Ts=S((kl,Bs)=>{var er=_e(),au=Ae(),Fs=Function.prototype,nu=er&&Object.getOwnPropertyDescriptor,tr=au(Fs,"name"),ou=tr&&function(){}.name==="something",uu=tr&&(!er||er&&nu(Fs,"name").configurable);Bs.exports={EXISTS:tr,PROPER:ou,CONFIGURABLE:uu}});var Os=S((Fl,Ds)=>{var hu=$(),Is=pe(),lu=Ae(),Ps=ot(),cu=st(),pu=Xt(),Ns=ks(),fu=Ts().CONFIGURABLE,du=Ns.get,mu=Ns.enforce,vu=String(String).split("String");(Ds.exports=function(n,o,u,l){var m=l?!!l.unsafe:!1,E=l?!!l.enumerable:!1,y=l?!!l.noTargetGet:!1,A=l&&l.name!==void 0?l.name:o,b;if(Is(u)&&(String(A).slice(0,7)==="Symbol("&&(A="["+String(A).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!lu(u,"name")||fu&&u.name!==A)&&Ps(u,"name",A),b=mu(u),b.source||(b.source=vu.join(typeof A=="string"?A:""))),n===hu){E?n[o]=u:cu(o,u);return}else m?!y&&n[o]&&(E=!0):delete n[o];E?n[o]=u:Ps(n,o,u)})(Function.prototype,"toString",function(){return Is(this)&&du(this).source||pu(this)})});var rr=S((Bl,Ls)=>{var gu=Math.ceil,xu=Math.floor;Ls.exports=function(n){var o=+n;return o!==o||o===0?0:(o>0?xu:gu)(o)}});var Rs=S((Tl,Vs)=>{var yu=rr(),Au=Math.max,Cu=Math.min;Vs.exports=function(n,o){var u=yu(n);return u<0?Au(u+o,0):Cu(u,o)}});var qs=S((Il,js)=>{var Eu=rr(),bu=Math.min;js.exports=function(n){return n>0?bu(Eu(n),9007199254740991):0}});var Us=S((Pl,Ms)=>{var _u=qs();Ms.exports=function(n){return _u(n.length)}});var Gs=S((Nl,Ws)=>{var Su=tt(),wu=Rs(),ku=Us(),zs=function(n){return function(o,u,l){var m=Su(o),E=ku(m),y=wu(l,E),A;if(n&&u!=u){for(;E>y;)if(A=m[y++],A!=A)return!0}else for(;E>y;y++)if((n||y in m)&&m[y]===u)return n||y||0;return!n&&-1}};Ws.exports={includes:zs(!0),indexOf:zs(!1)}});var Hs=S((Dl,Xs)=>{var Fu=ce(),ir=Ae(),Bu=tt(),Tu=Gs().indexOf,Iu=Ht(),Ks=Fu([].push);Xs.exports=function(n,o){var u=Bu(n),l=0,m=[],E;for(E in u)!ir(Iu,E)&&ir(u,E)&&Ks(m,E);for(;o.length>l;)ir(u,E=o[l++])&&(~Tu(m,E)||Ks(m,E));return m}});var Ys=S((Ol,Js)=>{Js.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Zs=S(Qs=>{var Pu=Hs(),Nu=Ys(),Du=Nu.concat("length","prototype");Qs.f=Object.getOwnPropertyNames||function(o){return Pu(o,Du)}});var ea=S($s=>{$s.f=Object.getOwnPropertySymbols});var ra=S((Rl,ta)=>{var Ou=rt(),Lu=ce(),Vu=Zs(),Ru=ea(),ju=qt(),qu=Lu([].concat);ta.exports=Ou("Reflect","ownKeys")||function(o){var u=Vu.f(ju(o)),l=Ru.f;return l?qu(u,l(o)):u}});var aa=S((jl,sa)=>{var ia=Ae(),Mu=ra(),Uu=jt(),zu=Gt();sa.exports=function(n,o,u){for(var l=Mu(o),m=zu.f,E=Uu.f,y=0;y<l.length;y++){var A=l[y];!ia(n,A)&&!(u&&ia(u,A))&&m(n,A,E(o,A))}}});var oa=S((ql,na)=>{var Wu=ye(),Gu=pe(),Ku=/#|\.prototype\./,Me=function(n,o){var u=Hu[Xu(n)];return u==Yu?!0:u==Ju?!1:Gu(o)?Wu(o):!!o},Xu=Me.normalize=function(n){return String(n).replace(Ku,".").toLowerCase()},Hu=Me.data={},Ju=Me.NATIVE="N",Yu=Me.POLYFILL="P";na.exports=Me});var ha=S((Ml,ua)=>{var sr=$(),Qu=jt().f,Zu=ot(),$u=Os(),eh=st(),th=aa(),rh=oa();ua.exports=function(n,o){var u=n.target,l=n.global,m=n.stat,E,y,A,b,g,V;if(l?y=sr:m?y=sr[u]||eh(u,{}):y=(sr[u]||{}).prototype,y)for(A in o){if(g=o[A],n.noTargetGet?(V=Qu(y,A),b=V&&V.value):b=y[A],E=rh(l?A:u+(m?".":"#")+A,n.forced),!E&&b!==void 0){if(typeof g==typeof b)continue;th(g,b)}(n.sham||b&&b.sham)&&Zu(g,"sham",!0),$u(y,A,g,n)}}});var la=S(()=>{var ih=ha(),sh=$();ih({global:!0},{globalThis:sh})});var ca=S(()=>{la()});var Ph=S((Xl,Na)=>{ca();var ur=Object.defineProperty,ah=Object.getOwnPropertyDescriptor,hr=Object.getOwnPropertyNames,nh=Object.prototype.hasOwnProperty,pa=(n,o)=>function(){return n&&(o=(0,n[hr(n)[0]])(n=0)),o},Y=(n,o)=>function(){return o||(0,n[hr(n)[0]])((o={exports:{}}).exports,o),o.exports},oh=(n,o)=>{for(var u in o)ur(n,u,{get:o[u],enumerable:!0})},uh=(n,o,u,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let m of hr(o))!nh.call(n,m)&&m!==u&&ur(n,m,{get:()=>o[m],enumerable:!(l=ah(o,m))||l.enumerable});return n},hh=n=>uh(ur({},"__esModule",{value:!0}),n),J=pa({"<define:process>"(){}}),lr=Y({"src/common/parser-create-error.js"(n,o){"use strict";J();function u(l,m){let E=new SyntaxError(l+" ("+m.start.line+":"+m.start.column+")");return E.loc=m,E}o.exports=u}}),fa=Y({"src/utils/try-combinations.js"(n,o){"use strict";J();function u(){let l;for(var m=arguments.length,E=new Array(m),y=0;y<m;y++)E[y]=arguments[y];for(let[A,b]of E.entries())try{return{result:b()}}catch(g){A===0&&(l=g)}return{error:l}}o.exports=u}}),da={};oh(da,{EOL:()=>or,arch:()=>lh,cpus:()=>Ca,default:()=>wa,endianness:()=>ma,freemem:()=>ya,getNetworkInterfaces:()=>Sa,hostname:()=>va,loadavg:()=>ga,networkInterfaces:()=>_a,platform:()=>ch,release:()=>ba,tmpDir:()=>ar,tmpdir:()=>nr,totalmem:()=>Aa,type:()=>Ea,uptime:()=>xa});function ma(){if(typeof lt>"u"){var n=new ArrayBuffer(2),o=new Uint8Array(n),u=new Uint16Array(n);if(o[0]=1,o[1]=2,u[0]===258)lt="BE";else if(u[0]===513)lt="LE";else throw new Error("unable to figure out endianess")}return lt}function va(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function ga(){return[]}function xa(){return 0}function ya(){return Number.MAX_VALUE}function Aa(){return Number.MAX_VALUE}function Ca(){return[]}function Ea(){return"Browser"}function ba(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function _a(){}function Sa(){}function lh(){return"javascript"}function ch(){return"browser"}function ar(){return"/tmp"}var lt,nr,or,wa,ph=pa({"node-modules-polyfills:os"(){J(),nr=ar,or=`
`,wa={EOL:or,tmpdir:nr,tmpDir:ar,networkInterfaces:_a,getNetworkInterfaces:Sa,release:ba,type:Ea,cpus:Ca,totalmem:Aa,freemem:ya,uptime:xa,loadavg:ga,hostname:va,endianness:ma}}}),fh=Y({"node-modules-polyfills-commonjs:os"(n,o){J();var u=(ph(),hh(da));if(u&&u.default){o.exports=u.default;for(let l in u)o.exports[l]=u[l]}else u&&(o.exports=u)}}),dh=Y({"node_modules/detect-newline/index.js"(n,o){"use strict";J();var u=l=>{if(typeof l!="string")throw new TypeError("Expected a string");let m=l.match(/(?:\r?\n)/g)||[];if(m.length===0)return;let E=m.filter(A=>A===`\r
`).length,y=m.length-E;return E>y?`\r
`:`
`};o.exports=u,o.exports.graceful=l=>typeof l=="string"&&u(l)||`
`}}),mh=Y({"node_modules/jest-docblock/build/index.js"(n){"use strict";J(),Object.defineProperty(n,"__esModule",{value:!0}),n.extract=T,n.parse=q,n.parseWithComments=B,n.print=I,n.strip=v;function o(){let C=fh();return o=function(){return C},C}function u(){let C=l(dh());return u=function(){return C},C}function l(C){return C&&C.__esModule?C:{default:C}}var m=/\*\/$/,E=/^\/\*\*/,y=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,A=/(^|\s+)\/\/([^\r\n]*)/g,b=/^(\r?\n)+/,g=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,V=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,R=/(\r?\n|^) *\* ?/g,N=[];function T(C){let H=C.match(y);return H?H[0].trimLeft():""}function v(C){let H=C.match(y);return H&&H[0]?C.substring(H[0].length):C}function q(C){return B(C).pragmas}function B(C){let H=(0,u().default)(C)||o().EOL;C=C.replace(E,"").replace(m,"").replace(R,"$1");let L="";for(;L!==C;)L=C,C=C.replace(g,"".concat(H,"$1 $2").concat(H));C=C.replace(b,"").trimRight();let i=Object.create(null),_=C.replace(V,"").replace(b,"").trimRight(),P;for(;P=V.exec(C);){let M=P[2].replace(A,"");typeof i[P[1]]=="string"||Array.isArray(i[P[1]])?i[P[1]]=N.concat(i[P[1]],M):i[P[1]]=M}return{comments:_,pragmas:i}}function I(C){let{comments:H="",pragmas:L={}}=C,i=(0,u().default)(H)||o().EOL,_="/**",P=" *",M=" */",ee=Object.keys(L),ae=ee.map(ie=>k(ie,L[ie])).reduce((ie,Ne)=>ie.concat(Ne),[]).map(ie=>P+" "+ie+i).join("");if(!H){if(ee.length===0)return"";if(ee.length===1&&!Array.isArray(L[ee[0]])){let ie=L[ee[0]];return"".concat(_," ").concat(k(ee[0],ie)[0]).concat(M)}}let te=H.split(i).map(ie=>"".concat(P," ").concat(ie)).join(i)+i;return _+i+(H?te:"")+(H&&ee.length?P+i:"")+ae+M}function k(C,H){return N.concat(H).map(L=>"@".concat(C," ").concat(L).trim())}}}),vh=Y({"src/common/end-of-line.js"(n,o){"use strict";J();function u(y){let A=y.indexOf("\r");return A>=0?y.charAt(A+1)===`
`?"crlf":"cr":"lf"}function l(y){switch(y){case"cr":return"\r";case"crlf":return`\r
`;default:return`
`}}function m(y,A){let b;switch(A){case`
`:b=/\n/g;break;case"\r":b=/\r/g;break;case`\r
`:b=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(A),"."))}let g=y.match(b);return g?g.length:0}function E(y){return y.replace(/\r\n?/g,`
`)}o.exports={guessEndOfLine:u,convertEndOfLineToChars:l,countEndOfLineChars:m,normalizeEndOfLine:E}}}),gh=Y({"src/language-js/utils/get-shebang.js"(n,o){"use strict";J();function u(l){if(!l.startsWith("#!"))return"";let m=l.indexOf(`
`);return m===-1?l:l.slice(0,m)}o.exports=u}}),xh=Y({"src/language-js/pragma.js"(n,o){"use strict";J();var{parseWithComments:u,strip:l,extract:m,print:E}=mh(),{normalizeEndOfLine:y}=vh(),A=gh();function b(R){let N=A(R);N&&(R=R.slice(N.length+1));let T=m(R),{pragmas:v,comments:q}=u(T);return{shebang:N,text:R,pragmas:v,comments:q}}function g(R){let N=Object.keys(b(R).pragmas);return N.includes("prettier")||N.includes("format")}function V(R){let{shebang:N,text:T,pragmas:v,comments:q}=b(R),B=l(T),I=E({pragmas:Object.assign({format:""},v),comments:q.trimStart()});return(N?"".concat(N,`
`):"")+y(I)+(B.startsWith(`
`)?`
`:`
`)+B}o.exports={hasPragma:g,insertPragma:V}}}),yh=Y({"src/utils/is-non-empty-array.js"(n,o){"use strict";J();function u(l){return Array.isArray(l)&&l.length>0}o.exports=u}}),ka=Y({"src/language-js/loc.js"(n,o){"use strict";J();var u=yh();function l(b,g){let{ignoreDecorators:V}=g||{};if(!V){let R=b.declaration&&b.declaration.decorators||b.decorators;if(u(R))return l(R[0])}return b.range?b.range[0]:b.start}function m(b){return b.range?b.range[1]:b.end}function E(b,g){let V=l(b);return Number.isInteger(V)&&V===l(g)}function y(b,g){let V=m(b);return Number.isInteger(V)&&V===m(g)}function A(b,g){return E(b,g)&&y(b,g)}o.exports={locStart:l,locEnd:m,hasSameLocStart:E,hasSameLoc:A}}}),Fa=Y({"src/language-js/parse/utils/create-parser.js"(n,o){"use strict";J();var{hasPragma:u}=xh(),{locStart:l,locEnd:m}=ka();function E(y){return y=typeof y=="function"?{parse:y}:y,Object.assign({astFormat:"estree",hasPragma:u,locStart:l,locEnd:m},y)}o.exports=E}}),Ah=Y({"src/language-js/utils/is-ts-keyword-type.js"(n,o){"use strict";J();function u(l){let{type:m}=l;return m.startsWith("TS")&&m.endsWith("Keyword")}o.exports=u}}),Ch=Y({"src/language-js/utils/is-block-comment.js"(n,o){"use strict";J();var u=new Set(["Block","CommentBlock","MultiLine"]),l=m=>u.has(m==null?void 0:m.type);o.exports=l}}),Eh=Y({"src/language-js/utils/is-type-cast-comment.js"(n,o){"use strict";J();var u=Ch();function l(m){return u(m)&&m.value[0]==="*"&&/@type\b/.test(m.value)}o.exports=l}}),bh=Y({"src/utils/get-last.js"(n,o){"use strict";J();var u=l=>l[l.length-1];o.exports=u}}),Ba=Y({"src/language-js/parse/postprocess/visit-node.js"(n,o){"use strict";J();function u(l,m){if(Array.isArray(l)){for(let E=0;E<l.length;E++)l[E]=u(l[E],m);return l}if(l&&typeof l=="object"&&typeof l.type=="string"){let E=Object.keys(l);for(let y=0;y<E.length;y++)l[E[y]]=u(l[E[y]],m);return m(l)||l}return l}o.exports=u}}),Ta=Y({"src/language-js/parse/postprocess/throw-syntax-error.js"(n,o){"use strict";J();var u=lr();function l(m,E){let{start:y,end:A}=m.loc;throw u(E,{start:{line:y.line,column:y.column+1},end:{line:A.line,column:A.column+1}})}o.exports=l}}),_h=Y({"src/language-js/parse/postprocess/typescript.js"(n,o){"use strict";J();var u=Ba(),l=Ta();function m(A,b,g){let V=A.decorators;if(!Array.isArray(V))return;let R=b.decorators;(!Array.isArray(R)||R.length!==V.length||V.some(N=>{let T=g.get(N);return!T||!R.includes(T)}))&&l(b,"Leading decorators must be attached to a class declaration")}function E(A,b){A.kind!==167||A.modifiers&&!A.modifiers.some(R=>R.kind===126)||A.initializer&&b.value===null&&l(b,"Abstract property cannot have an initializer")}function y(A,b){let{esTreeNodeToTSNodeMap:g,tsNodeToESTreeNodeMap:V}=b.tsParseResult;u(A,R=>{let N=g.get(R);if(!N)return;let T=V.get(N);T===R&&(m(N,T,V),E(N,T))})}o.exports={throwErrorForInvalidNodes:y}}}),Ia=Y({"src/language-js/parse/postprocess/index.js"(n,o){"use strict";J();var{locStart:u,locEnd:l}=ka(),m=Ah(),E=Eh(),y=bh(),A=Ba(),{throwErrorForInvalidNodes:b}=_h(),g=Ta();function V(v,q){if(q.parser==="typescript"&&/@|abstract/.test(q.originalText)&&b(v,q),q.parser!=="typescript"&&q.parser!=="flow"&&q.parser!=="acorn"&&q.parser!=="espree"&&q.parser!=="meriyah"){let I=new Set;v=A(v,k=>{k.leadingComments&&k.leadingComments.some(E)&&I.add(u(k))}),v=A(v,k=>{if(k.type==="ParenthesizedExpression"){let{expression:C}=k;if(C.type==="TypeCastExpression")return C.range=k.range,C;let H=u(k);if(!I.has(H))return C.extra=Object.assign(Object.assign({},C.extra),{},{parenthesized:!0}),C}})}return v=A(v,I=>{switch(I.type){case"ChainExpression":return R(I.expression);case"LogicalExpression":{if(N(I))return T(I);break}case"VariableDeclaration":{let k=y(I.declarations);k&&k.init&&B(I,k);break}case"TSParenthesizedType":return m(I.typeAnnotation)||I.typeAnnotation.type==="TSThisType"||(I.typeAnnotation.range=[u(I),l(I)]),I.typeAnnotation;case"TSTypeParameter":if(typeof I.name=="string"){let k=u(I);I.name={type:"Identifier",name:I.name,range:[k,k+I.name.length]}}break;case"ObjectExpression":if(q.parser==="typescript"){let k=I.properties.find(C=>C.type==="Property"&&C.value.type==="TSEmptyBodyFunctionExpression");k&&g(k.value,"Unexpected token.")}break;case"SequenceExpression":{let k=y(I.expressions);I.range=[u(I),Math.min(l(k),l(I))];break}case"TopicReference":q.__isUsingHackPipeline=!0;break;case"ExportAllDeclaration":{let{exported:k}=I;if(q.parser==="meriyah"&&k&&k.type==="Identifier"){let C=q.originalText.slice(u(k),l(k));(C.startsWith('"')||C.startsWith("'"))&&(I.exported=Object.assign(Object.assign({},I.exported),{},{type:"Literal",value:I.exported.name,raw:C}))}break}}}),v;function B(I,k){q.originalText[l(k)]!==";"&&(I.range=[u(I),l(k)])}}function R(v){switch(v.type){case"CallExpression":v.type="OptionalCallExpression",v.callee=R(v.callee);break;case"MemberExpression":v.type="OptionalMemberExpression",v.object=R(v.object);break;case"TSNonNullExpression":v.expression=R(v.expression);break}return v}function N(v){return v.type==="LogicalExpression"&&v.right.type==="LogicalExpression"&&v.operator===v.right.operator}function T(v){return N(v)?T({type:"LogicalExpression",operator:v.operator,left:T({type:"LogicalExpression",operator:v.operator,left:v.left,right:v.right.left,range:[u(v.left),l(v.right.left)]}),right:v.right.right,range:[u(v),l(v)]}):v}o.exports=V}}),ct=Y({"node_modules/acorn/dist/acorn.js"(n,o){J(),function(u,l){typeof n=="object"&&typeof o<"u"?l(n):typeof define=="function"&&define.amd?define(["exports"],l):(u=typeof globalThis<"u"?globalThis:u||self,l(u.acorn={}))}(n,function(u){"use strict";var l={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},m="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",E={5:m,"5module":m+" export import",6:m+" const class extends export import super"},y=/^in(stanceof)?$/,A="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",b="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECD\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",g=new RegExp("["+A+"]"),V=new RegExp("["+A+b+"]");A=b=null;var R=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],N=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function T(e,t){for(var r=65536,s=0;s<t.length;s+=2){if(r+=t[s],r>e)return!1;if(r+=t[s+1],r>=e)return!0}}function v(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&g.test(String.fromCharCode(e)):t===!1?!1:T(e,R)}function q(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&V.test(String.fromCharCode(e)):t===!1?!1:T(e,R)||T(e,N)}var B=function(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function I(e,t){return new B(e,{beforeExpr:!0,binop:t})}var k={beforeExpr:!0},C={startsExpr:!0},H={};function L(e,t){return t===void 0&&(t={}),t.keyword=e,H[e]=new B(e,t)}var i={num:new B("num",C),regexp:new B("regexp",C),string:new B("string",C),name:new B("name",C),privateId:new B("privateId",C),eof:new B("eof"),bracketL:new B("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new B("]"),braceL:new B("{",{beforeExpr:!0,startsExpr:!0}),braceR:new B("}"),parenL:new B("(",{beforeExpr:!0,startsExpr:!0}),parenR:new B(")"),comma:new B(",",k),semi:new B(";",k),colon:new B(":",k),dot:new B("."),question:new B("?",k),questionDot:new B("?."),arrow:new B("=>",k),template:new B("template"),invalidTemplate:new B("invalidTemplate"),ellipsis:new B("...",k),backQuote:new B("`",C),dollarBraceL:new B("${",{beforeExpr:!0,startsExpr:!0}),eq:new B("=",{beforeExpr:!0,isAssign:!0}),assign:new B("_=",{beforeExpr:!0,isAssign:!0}),incDec:new B("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new B("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:I("||",1),logicalAND:I("&&",2),bitwiseOR:I("|",3),bitwiseXOR:I("^",4),bitwiseAND:I("&",5),equality:I("==/!=/===/!==",6),relational:I("</>/<=/>=",7),bitShift:I("<</>>/>>>",8),plusMin:new B("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:I("%",10),star:I("*",10),slash:I("/",10),starstar:new B("**",{beforeExpr:!0}),coalesce:I("??",1),_break:L("break"),_case:L("case",k),_catch:L("catch"),_continue:L("continue"),_debugger:L("debugger"),_default:L("default",k),_do:L("do",{isLoop:!0,beforeExpr:!0}),_else:L("else",k),_finally:L("finally"),_for:L("for",{isLoop:!0}),_function:L("function",C),_if:L("if"),_return:L("return",k),_switch:L("switch"),_throw:L("throw",k),_try:L("try"),_var:L("var"),_const:L("const"),_while:L("while",{isLoop:!0}),_with:L("with"),_new:L("new",{beforeExpr:!0,startsExpr:!0}),_this:L("this",C),_super:L("super",C),_class:L("class",C),_extends:L("extends",k),_export:L("export"),_import:L("import",C),_null:L("null",C),_true:L("true",C),_false:L("false",C),_in:L("in",{beforeExpr:!0,binop:7}),_instanceof:L("instanceof",{beforeExpr:!0,binop:7}),_typeof:L("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:L("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:L("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},_=/\r\n?|\n|\u2028|\u2029/,P=new RegExp(_.source,"g");function M(e){return e===10||e===13||e===8232||e===8233}function ee(e,t,r){r===void 0&&(r=e.length);for(var s=t;s<r;s++){var a=e.charCodeAt(s);if(M(a))return s<r-1&&a===13&&e.charCodeAt(s+1)===10?s+2:s+1}return-1}var ae=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,te=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ie=Object.prototype,Ne=ie.hasOwnProperty,p=ie.toString,D=Object.hasOwn||function(e,t){return Ne.call(e,t)},w=Array.isArray||function(e){return p.call(e)==="[object Array]"};function f(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var F=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,K=function(t,r){this.line=t,this.column=r};K.prototype.offset=function(t){return new K(this.line,this.column+t)};var X=function(t,r,s){this.start=r,this.end=s,t.sourceFile!==null&&(this.source=t.sourceFile)};function oe(e,t){for(var r=1,s=0;;){var a=ee(e,s,t);if(a<0)return new K(r,t-s);++r,s=a}}var me={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ve=!1;function pt(e){var t={};for(var r in me)t[r]=e&&D(e,r)?e[r]:me[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ve&&typeof console=="object"&&console.warn&&(ve=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),w(t.onToken)){var s=t.onToken;t.onToken=function(a){return s.push(a)}}return w(t.onComment)&&(t.onComment=ft(t,t.onComment)),t}function ft(e,t){return function(r,s,a,h,c,d){var x={type:r?"Block":"Line",value:s,start:a,end:h};e.locations&&(x.loc=new X(this,c,d)),e.ranges&&(x.range=[a,h]),t.push(x)}}var Ee=1,ge=2,De=4,Ue=8,cr=16,pr=32,dt=64,fr=128,Oe=256,mt=Ee|ge|Oe;function vt(e,t){return ge|(e?De:0)|(t?Ue:0)}var ze=0,gt=1,fe=2,dr=3,mr=4,vr=5,Z=function(t,r,s){this.options=t=pt(t),this.sourceFile=t.sourceFile,this.keywords=f(E[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=l[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=f(a);var h=(a?a+" ":"")+l.strict;this.reservedWordsStrict=f(h),this.reservedWordsStrictBind=f(h+" "+l.strictBind),this.input=String(r),this.containsEsc=!1,s?(this.pos=s,this.lineStart=this.input.lastIndexOf(`
`,s-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(_).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=i.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ee),this.regexpState=null,this.privateNameStack=[]},le={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Z.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},le.inFunction.get=function(){return(this.currentVarScope().flags&ge)>0},le.inGenerator.get=function(){return(this.currentVarScope().flags&Ue)>0&&!this.currentVarScope().inClassFieldInit},le.inAsync.get=function(){return(this.currentVarScope().flags&De)>0&&!this.currentVarScope().inClassFieldInit},le.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Oe)return!1;if(t.flags&ge)return(t.flags&De)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},le.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&dt)>0||r||this.options.allowSuperOutsideMethod},le.allowDirectSuper.get=function(){return(this.currentThisScope().flags&fr)>0},le.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},le.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,r=e.inClassFieldInit;return(t&(ge|Oe))>0||r},le.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Oe)>0},Z.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var s=this,a=0;a<t.length;a++)s=t[a](s);return s},Z.parse=function(t,r){return new this(r,t).parse()},Z.parseExpressionAt=function(t,r,s){var a=new this(s,t,r);return a.nextToken(),a.parseExpression()},Z.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties(Z.prototype,le);var se=Z.prototype,Da=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;se.strictDirective=function(e){for(;;){te.lastIndex=e,e+=te.exec(this.input)[0].length;var t=Da.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){te.lastIndex=e+t[0].length;var r=te.exec(this.input),s=r.index+r[0].length,a=this.input.charAt(s);return a===";"||a==="}"||_.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(s+1)==="=")}e+=t[0].length,te.lastIndex=e,e+=te.exec(this.input)[0].length,this.input[e]===";"&&e++}},se.eat=function(e){return this.type===e?(this.next(),!0):!1},se.isContextual=function(e){return this.type===i.name&&this.value===e&&!this.containsEsc},se.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},se.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},se.canInsertSemicolon=function(){return this.type===i.eof||this.type===i.braceR||_.test(this.input.slice(this.lastTokEnd,this.start))},se.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},se.semicolon=function(){!this.eat(i.semi)&&!this.insertSemicolon()&&this.unexpected()},se.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},se.expect=function(e){this.eat(e)||this.unexpected()},se.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};function We(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}se.checkPatternErrors=function(e,t){if(!!e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},se.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,s=e.doubleProto;if(!t)return r>=0||s>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),s>=0&&this.raiseRecoverable(s,"Redefinition of __proto__ property")},se.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},se.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var j=Z.prototype;j.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==i.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var s=0,a=Object.keys(this.undefinedExports);s<a.length;s+=1){var h=a[s];this.raiseRecoverable(this.undefinedExports[h].start,"Export '"+h+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var xt={kind:"loop"},Oa={kind:"switch"};j.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;te.lastIndex=this.pos;var t=te.exec(this.input),r=this.pos+t[0].length,s=this.input.charCodeAt(r);if(s===91||s===92||s>55295&&s<56320)return!0;if(e)return!1;if(s===123)return!0;if(v(s,!0)){for(var a=r+1;q(s=this.input.charCodeAt(a),!0);)++a;if(s===92||s>55295&&s<56320)return!0;var h=this.input.slice(r,a);if(!y.test(h))return!0}return!1},j.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;te.lastIndex=this.pos;var e=te.exec(this.input),t=this.pos+e[0].length,r;return!_.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(q(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},j.parseStatement=function(e,t,r){var s=this.type,a=this.startNode(),h;switch(this.isLet(e)&&(s=i._var,h="let"),s){case i._break:case i._continue:return this.parseBreakContinueStatement(a,s.keyword);case i._debugger:return this.parseDebuggerStatement(a);case i._do:return this.parseDoStatement(a);case i._for:return this.parseForStatement(a);case i._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case i._class:return e&&this.unexpected(),this.parseClass(a,!0);case i._if:return this.parseIfStatement(a);case i._return:return this.parseReturnStatement(a);case i._switch:return this.parseSwitchStatement(a);case i._throw:return this.parseThrowStatement(a);case i._try:return this.parseTryStatement(a);case i._const:case i._var:return h=h||this.value,e&&h!=="var"&&this.unexpected(),this.parseVarStatement(a,h);case i._while:return this.parseWhileStatement(a);case i._with:return this.parseWithStatement(a);case i.braceL:return this.parseBlock(!0,a);case i.semi:return this.parseEmptyStatement(a);case i._export:case i._import:if(this.options.ecmaVersion>10&&s===i._import){te.lastIndex=this.pos;var c=te.exec(this.input),d=this.pos+c[0].length,x=this.input.charCodeAt(d);if(x===40||x===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),s===i._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var U=this.value,W=this.parseExpression();return s===i.name&&W.type==="Identifier"&&this.eat(i.colon)?this.parseLabeledStatement(a,U,W,e):this.parseExpressionStatement(a,W)}},j.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(i.semi)||this.insertSemicolon()?e.label=null:this.type!==i.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var s=0;s<this.labels.length;++s){var a=this.labels[s];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return s===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},j.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},j.parseDoStatement=function(e){return this.next(),this.labels.push(xt),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(i._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(i.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},j.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(xt),this.enterScope(0),this.expect(i.parenL),this.type===i.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===i._var||this.type===i._const||r){var s=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(s,!0,a),this.finishNode(s,"VariableDeclaration"),(this.type===i._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===i._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,s)):(t>-1&&this.unexpected(t),this.parseFor(e,s))}var h=this.isContextual("let"),c=!1,d=new We,x=this.parseExpression(t>-1?"await":!0,d);return this.type===i._in||(c=this.options.ecmaVersion>=6&&this.isContextual("of"))?(this.options.ecmaVersion>=9&&(this.type===i._in?t>-1&&this.unexpected(t):e.await=t>-1),h&&c&&this.raise(x.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(x,!1,d),this.checkLValPattern(x),this.parseForIn(e,x)):(this.checkExpressionErrors(d,!0),t>-1&&this.unexpected(t),this.parseFor(e,x))},j.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Le|(r?0:yt),!1,t)},j.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(i._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},j.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),t