prettier 2.7.1 → 3.0.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,116 +1,124 @@
1
- "use strict";var _e=(e,n)=>()=>(n||e((n={exports:{}}).exports,n),n.exports);var Ye=_e((Eg,Zn)=>{var er=function(e){return e&&e.Math==Math&&e};Zn.exports=er(typeof globalThis=="object"&&globalThis)||er(typeof window=="object"&&window)||er(typeof self=="object"&&self)||er(typeof global=="object"&&global)||function(){return this}()||Function("return this")()});var Dt=_e((Fg,eu)=>{eu.exports=function(e){try{return!!e()}catch{return!0}}});var Ct=_e((Ag,tu)=>{var go=Dt();tu.exports=!go(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})});var tr=_e((Sg,ru)=>{var yo=Dt();ru.exports=!yo(function(){var e=function(){}.bind();return typeof e!="function"||e.hasOwnProperty("prototype")})});var Et=_e((xg,nu)=>{var ho=tr(),rr=Function.prototype.call;nu.exports=ho?rr.bind(rr):function(){return rr.apply(rr,arguments)}});var au=_e(iu=>{"use strict";var uu={}.propertyIsEnumerable,su=Object.getOwnPropertyDescriptor,vo=su&&!uu.call({1:2},1);iu.f=vo?function(n){var t=su(this,n);return!!t&&t.enumerable}:uu});var nr=_e((Tg,ou)=>{ou.exports=function(e,n){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:n}}});var at=_e((Bg,pu)=>{var lu=tr(),cu=Function.prototype,Co=cu.bind,Lr=cu.call,Eo=lu&&Co.bind(Lr,Lr);pu.exports=lu?function(e){return e&&Eo(e)}:function(e){return e&&function(){return Lr.apply(e,arguments)}}});var ur=_e((Ng,Du)=>{var fu=at(),Fo=fu({}.toString),Ao=fu("".slice);Du.exports=function(e){return Ao(Fo(e),8,-1)}});var du=_e((wg,mu)=>{var So=Ye(),xo=at(),bo=Dt(),To=ur(),jr=So.Object,Bo=xo("".split);mu.exports=bo(function(){return!jr("z").propertyIsEnumerable(0)})?function(e){return To(e)=="String"?Bo(e,""):jr(e)}:jr});var Or=_e((_g,gu)=>{var No=Ye(),wo=No.TypeError;gu.exports=function(e){if(e==null)throw wo("Can't call method on "+e);return e}});var sr=_e((Pg,yu)=>{var _o=du(),Po=Or();yu.exports=function(e){return _o(Po(e))}});var ot=_e((kg,hu)=>{hu.exports=function(e){return typeof e=="function"}});var Ft=_e((Ig,vu)=>{var ko=ot();vu.exports=function(e){return typeof e=="object"?e!==null:ko(e)}});var qt=_e((Lg,Cu)=>{var qr=Ye(),Io=ot(),Lo=function(e){return Io(e)?e:void 0};Cu.exports=function(e,n){return arguments.length<2?Lo(qr[e]):qr[e]&&qr[e][n]}});var Mr=_e((jg,Eu)=>{var jo=at();Eu.exports=jo({}.isPrototypeOf)});var Au=_e((Og,Fu)=>{var Oo=qt();Fu.exports=Oo("navigator","userAgent")||""});var wu=_e((qg,Nu)=>{var Bu=Ye(),Rr=Au(),Su=Bu.process,xu=Bu.Deno,bu=Su&&Su.versions||xu&&xu.version,Tu=bu&&bu.v8,ft,ir;Tu&&(ft=Tu.split("."),ir=ft[0]>0&&ft[0]<4?1:+(ft[0]+ft[1]));!ir&&Rr&&(ft=Rr.match(/Edge\/(\d+)/),(!ft||ft[1]>=74)&&(ft=Rr.match(/Chrome\/(\d+)/),ft&&(ir=+ft[1])));Nu.exports=ir});var Vr=_e((Mg,Pu)=>{var _u=wu(),qo=Dt();Pu.exports=!!Object.getOwnPropertySymbols&&!qo(function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&_u&&_u<41})});var Wr=_e((Rg,ku)=>{var Mo=Vr();ku.exports=Mo&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var $r=_e((Vg,Iu)=>{var Ro=Ye(),Vo=qt(),Wo=ot(),$o=Mr(),Ho=Wr(),Go=Ro.Object;Iu.exports=Ho?function(e){return typeof e=="symbol"}:function(e){var n=Vo("Symbol");return Wo(n)&&$o(n.prototype,Go(e))}});var ar=_e((Wg,Lu)=>{var Jo=Ye(),Uo=Jo.String;Lu.exports=function(e){try{return Uo(e)}catch{return"Object"}}});var Mt=_e(($g,ju)=>{var zo=Ye(),Xo=ot(),Ko=ar(),Yo=zo.TypeError;ju.exports=function(e){if(Xo(e))return e;throw Yo(Ko(e)+" is not a function")}});var or=_e((Hg,Ou)=>{var Qo=Mt();Ou.exports=function(e,n){var t=e[n];return t==null?void 0:Qo(t)}});var Mu=_e((Gg,qu)=>{var Zo=Ye(),Hr=Et(),Gr=ot(),Jr=Ft(),el=Zo.TypeError;qu.exports=function(e,n){var t,s;if(n==="string"&&Gr(t=e.toString)&&!Jr(s=Hr(t,e))||Gr(t=e.valueOf)&&!Jr(s=Hr(t,e))||n!=="string"&&Gr(t=e.toString)&&!Jr(s=Hr(t,e)))return s;throw el("Can't convert object to primitive value")}});var Vu=_e((Jg,Ru)=>{Ru.exports=!1});var lr=_e((Ug,$u)=>{var Wu=Ye(),tl=Object.defineProperty;$u.exports=function(e,n){try{tl(Wu,e,{value:n,configurable:!0,writable:!0})}catch{Wu[e]=n}return n}});var cr=_e((zg,Gu)=>{var rl=Ye(),nl=lr(),Hu="__core-js_shared__",ul=rl[Hu]||nl(Hu,{});Gu.exports=ul});var Ur=_e((Xg,Uu)=>{var sl=Vu(),Ju=cr();(Uu.exports=function(e,n){return Ju[e]||(Ju[e]=n!==void 0?n:{})})("versions",[]).push({version:"3.22.2",mode:sl?"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 pr=_e((Kg,zu)=>{var il=Ye(),al=Or(),ol=il.Object;zu.exports=function(e){return ol(al(e))}});var gt=_e((Yg,Xu)=>{var ll=at(),cl=pr(),pl=ll({}.hasOwnProperty);Xu.exports=Object.hasOwn||function(n,t){return pl(cl(n),t)}});var zr=_e((Qg,Ku)=>{var fl=at(),Dl=0,ml=Math.random(),dl=fl(1 .toString);Ku.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+dl(++Dl+ml,36)}});var St=_e((Zg,ts)=>{var gl=Ye(),yl=Ur(),Yu=gt(),hl=zr(),Qu=Vr(),es=Wr(),Bt=yl("wks"),At=gl.Symbol,Zu=At&&At.for,vl=es?At:At&&At.withoutSetter||hl;ts.exports=function(e){if(!Yu(Bt,e)||!(Qu||typeof Bt[e]=="string")){var n="Symbol."+e;Qu&&Yu(At,e)?Bt[e]=At[e]:es&&Zu?Bt[e]=Zu(n):Bt[e]=vl(n)}return Bt[e]}});var ss=_e((e0,us)=>{var Cl=Ye(),El=Et(),rs=Ft(),ns=$r(),Fl=or(),Al=Mu(),Sl=St(),xl=Cl.TypeError,bl=Sl("toPrimitive");us.exports=function(e,n){if(!rs(e)||ns(e))return e;var t=Fl(e,bl),s;if(t){if(n===void 0&&(n="default"),s=El(t,e,n),!rs(s)||ns(s))return s;throw xl("Can't convert object to primitive value")}return n===void 0&&(n="number"),Al(e,n)}});var fr=_e((t0,is)=>{var Tl=ss(),Bl=$r();is.exports=function(e){var n=Tl(e,"string");return Bl(n)?n:n+""}});var ls=_e((r0,os)=>{var Nl=Ye(),as=Ft(),Xr=Nl.document,wl=as(Xr)&&as(Xr.createElement);os.exports=function(e){return wl?Xr.createElement(e):{}}});var Kr=_e((n0,cs)=>{var _l=Ct(),Pl=Dt(),kl=ls();cs.exports=!_l&&!Pl(function(){return Object.defineProperty(kl("div"),"a",{get:function(){return 7}}).a!=7})});var Yr=_e(fs=>{var Il=Ct(),Ll=Et(),jl=au(),Ol=nr(),ql=sr(),Ml=fr(),Rl=gt(),Vl=Kr(),ps=Object.getOwnPropertyDescriptor;fs.f=Il?ps:function(n,t){if(n=ql(n),t=Ml(t),Vl)try{return ps(n,t)}catch{}if(Rl(n,t))return Ol(!Ll(jl.f,n,t),n[t])}});var ms=_e((s0,Ds)=>{var Wl=Ct(),$l=Dt();Ds.exports=Wl&&$l(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})});var Nt=_e((i0,gs)=>{var ds=Ye(),Hl=Ft(),Gl=ds.String,Jl=ds.TypeError;gs.exports=function(e){if(Hl(e))return e;throw Jl(Gl(e)+" is not an object")}});var mr=_e(hs=>{var Ul=Ye(),zl=Ct(),Xl=Kr(),Kl=ms(),Dr=Nt(),ys=fr(),Yl=Ul.TypeError,Qr=Object.defineProperty,Ql=Object.getOwnPropertyDescriptor,Zr="enumerable",en="configurable",tn="writable";hs.f=zl?Kl?function(n,t,s){if(Dr(n),t=ys(t),Dr(s),typeof n=="function"&&t==="prototype"&&"value"in s&&tn in s&&!s[tn]){var a=Ql(n,t);a&&a[tn]&&(n[t]=s.value,s={configurable:en in s?s[en]:a[en],enumerable:Zr in s?s[Zr]:a[Zr],writable:!1})}return Qr(n,t,s)}:Qr:function(n,t,s){if(Dr(n),t=ys(t),Dr(s),Xl)try{return Qr(n,t,s)}catch{}if("get"in s||"set"in s)throw Yl("Accessors not supported");return"value"in s&&(n[t]=s.value),n}});var dr=_e((o0,vs)=>{var Zl=Ct(),ec=mr(),tc=nr();vs.exports=Zl?function(e,n,t){return ec.f(e,n,tc(1,t))}:function(e,n,t){return e[n]=t,e}});var gr=_e((l0,Cs)=>{var rc=at(),nc=ot(),rn=cr(),uc=rc(Function.toString);nc(rn.inspectSource)||(rn.inspectSource=function(e){return uc(e)});Cs.exports=rn.inspectSource});var As=_e((c0,Fs)=>{var sc=Ye(),ic=ot(),ac=gr(),Es=sc.WeakMap;Fs.exports=ic(Es)&&/native code/.test(ac(Es))});var bs=_e((p0,xs)=>{var oc=Ur(),lc=zr(),Ss=oc("keys");xs.exports=function(e){return Ss[e]||(Ss[e]=lc(e))}});var nn=_e((f0,Ts)=>{Ts.exports={}});var ks=_e((D0,Ps)=>{var cc=As(),_s=Ye(),un=at(),pc=Ft(),fc=dr(),sn=gt(),an=cr(),Dc=bs(),mc=nn(),Bs="Object already initialized",ln=_s.TypeError,dc=_s.WeakMap,yr,Rt,hr,gc=function(e){return hr(e)?Rt(e):yr(e,{})},yc=function(e){return function(n){var t;if(!pc(n)||(t=Rt(n)).type!==e)throw ln("Incompatible receiver, "+e+" required");return t}};cc||an.state?(yt=an.state||(an.state=new dc),Ns=un(yt.get),on=un(yt.has),ws=un(yt.set),yr=function(e,n){if(on(yt,e))throw new ln(Bs);return n.facade=e,ws(yt,e,n),n},Rt=function(e){return Ns(yt,e)||{}},hr=function(e){return on(yt,e)}):(xt=Dc("state"),mc[xt]=!0,yr=function(e,n){if(sn(e,xt))throw new ln(Bs);return n.facade=e,fc(e,xt,n),n},Rt=function(e){return sn(e,xt)?e[xt]:{}},hr=function(e){return sn(e,xt)});var yt,Ns,on,ws,xt;Ps.exports={set:yr,get:Rt,has:hr,enforce:gc,getterFor:yc}});var js=_e((m0,Ls)=>{var cn=Ct(),hc=gt(),Is=Function.prototype,vc=cn&&Object.getOwnPropertyDescriptor,pn=hc(Is,"name"),Cc=pn&&function(){}.name==="something",Ec=pn&&(!cn||cn&&vc(Is,"name").configurable);Ls.exports={EXISTS:pn,PROPER:Cc,CONFIGURABLE:Ec}});var Vs=_e((d0,Rs)=>{var Fc=Ye(),Os=ot(),Ac=gt(),qs=dr(),Sc=lr(),xc=gr(),Ms=ks(),bc=js().CONFIGURABLE,Tc=Ms.get,Bc=Ms.enforce,Nc=String(String).split("String");(Rs.exports=function(e,n,t,s){var a=s?!!s.unsafe:!1,r=s?!!s.enumerable:!1,u=s?!!s.noTargetGet:!1,i=s&&s.name!==void 0?s.name:n,o;if(Os(t)&&(String(i).slice(0,7)==="Symbol("&&(i="["+String(i).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),(!Ac(t,"name")||bc&&t.name!==i)&&qs(t,"name",i),o=Bc(t),o.source||(o.source=Nc.join(typeof i=="string"?i:""))),e===Fc){r?e[n]=t:Sc(n,t);return}else a?!u&&e[n]&&(r=!0):delete e[n];r?e[n]=t:qs(e,n,t)})(Function.prototype,"toString",function(){return Os(this)&&Tc(this).source||xc(this)})});var vr=_e((g0,Ws)=>{var wc=Math.ceil,_c=Math.floor;Ws.exports=function(e){var n=+e;return n!==n||n===0?0:(n>0?_c:wc)(n)}});var Hs=_e((y0,$s)=>{var Pc=vr(),kc=Math.max,Ic=Math.min;$s.exports=function(e,n){var t=Pc(e);return t<0?kc(t+n,0):Ic(t,n)}});var Js=_e((h0,Gs)=>{var Lc=vr(),jc=Math.min;Gs.exports=function(e){return e>0?jc(Lc(e),9007199254740991):0}});var wt=_e((v0,Us)=>{var Oc=Js();Us.exports=function(e){return Oc(e.length)}});var Ks=_e((C0,Xs)=>{var qc=sr(),Mc=Hs(),Rc=wt(),zs=function(e){return function(n,t,s){var a=qc(n),r=Rc(a),u=Mc(s,r),i;if(e&&t!=t){for(;r>u;)if(i=a[u++],i!=i)return!0}else for(;r>u;u++)if((e||u in a)&&a[u]===t)return e||u||0;return!e&&-1}};Xs.exports={includes:zs(!0),indexOf:zs(!1)}});var Zs=_e((E0,Qs)=>{var Vc=at(),fn=gt(),Wc=sr(),$c=Ks().indexOf,Hc=nn(),Ys=Vc([].push);Qs.exports=function(e,n){var t=Wc(e),s=0,a=[],r;for(r in t)!fn(Hc,r)&&fn(t,r)&&Ys(a,r);for(;n.length>s;)fn(t,r=n[s++])&&(~$c(a,r)||Ys(a,r));return a}});var ti=_e((F0,ei)=>{ei.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var ni=_e(ri=>{var Gc=Zs(),Jc=ti(),Uc=Jc.concat("length","prototype");ri.f=Object.getOwnPropertyNames||function(n){return Gc(n,Uc)}});var si=_e(ui=>{ui.f=Object.getOwnPropertySymbols});var ai=_e((x0,ii)=>{var zc=qt(),Xc=at(),Kc=ni(),Yc=si(),Qc=Nt(),Zc=Xc([].concat);ii.exports=zc("Reflect","ownKeys")||function(n){var t=Kc.f(Qc(n)),s=Yc.f;return s?Zc(t,s(n)):t}});var ci=_e((b0,li)=>{var oi=gt(),ep=ai(),tp=Yr(),rp=mr();li.exports=function(e,n,t){for(var s=ep(n),a=rp.f,r=tp.f,u=0;u<s.length;u++){var i=s[u];!oi(e,i)&&!(t&&oi(t,i))&&a(e,i,r(n,i))}}});var fi=_e((T0,pi)=>{var np=Dt(),up=ot(),sp=/#|\.prototype\./,Vt=function(e,n){var t=ap[ip(e)];return t==lp?!0:t==op?!1:up(n)?np(n):!!n},ip=Vt.normalize=function(e){return String(e).replace(sp,".").toLowerCase()},ap=Vt.data={},op=Vt.NATIVE="N",lp=Vt.POLYFILL="P";pi.exports=Vt});var Wt=_e((B0,Di)=>{var Dn=Ye(),cp=Yr().f,pp=dr(),fp=Vs(),Dp=lr(),mp=ci(),dp=fi();Di.exports=function(e,n){var t=e.target,s=e.global,a=e.stat,r,u,i,o,c,y;if(s?u=Dn:a?u=Dn[t]||Dp(t,{}):u=(Dn[t]||{}).prototype,u)for(i in n){if(c=n[i],e.noTargetGet?(y=cp(u,i),o=y&&y.value):o=u[i],r=dp(s?i:t+(a?".":"#")+i,e.forced),!r&&o!==void 0){if(typeof c==typeof o)continue;mp(c,o)}(e.sham||o&&o.sham)&&pp(c,"sham",!0),fp(u,i,c,e)}}});var mn=_e((N0,mi)=>{var gp=ur();mi.exports=Array.isArray||function(n){return gp(n)=="Array"}});var dn=_e((w0,gi)=>{var di=at(),yp=Mt(),hp=tr(),vp=di(di.bind);gi.exports=function(e,n){return yp(e),n===void 0?e:hp?vp(e,n):function(){return e.apply(n,arguments)}}});var gn=_e((_0,hi)=>{"use strict";var Cp=Ye(),Ep=mn(),Fp=wt(),Ap=dn(),Sp=Cp.TypeError,yi=function(e,n,t,s,a,r,u,i){for(var o=a,c=0,y=u?Ap(u,i):!1,m,d;c<s;){if(c in t){if(m=y?y(t[c],c,n):t[c],r>0&&Ep(m))d=Fp(m),o=yi(e,n,m,d,o,r-1)-1;else{if(o>=9007199254740991)throw Sp("Exceed the acceptable array length");e[o]=m}o++}c++}return o};hi.exports=yi});var Ei=_e((P0,Ci)=>{var xp=St(),bp=xp("toStringTag"),vi={};vi[bp]="z";Ci.exports=String(vi)==="[object z]"});var yn=_e((k0,Fi)=>{var Tp=Ye(),Bp=Ei(),Np=ot(),Cr=ur(),wp=St(),_p=wp("toStringTag"),Pp=Tp.Object,kp=Cr(function(){return arguments}())=="Arguments",Ip=function(e,n){try{return e[n]}catch{}};Fi.exports=Bp?Cr:function(e){var n,t,s;return e===void 0?"Undefined":e===null?"Null":typeof(t=Ip(n=Pp(e),_p))=="string"?t:kp?Cr(n):(s=Cr(n))=="Object"&&Np(n.callee)?"Arguments":s}});var Bi=_e((I0,Ti)=>{var Lp=at(),jp=Dt(),Ai=ot(),Op=yn(),qp=qt(),Mp=gr(),Si=function(){},Rp=[],xi=qp("Reflect","construct"),hn=/^\s*(?:class|function)\b/,Vp=Lp(hn.exec),Wp=!hn.exec(Si),$t=function(n){if(!Ai(n))return!1;try{return xi(Si,Rp,n),!0}catch{return!1}},bi=function(n){if(!Ai(n))return!1;switch(Op(n)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Wp||!!Vp(hn,Mp(n))}catch{return!0}};bi.sham=!0;Ti.exports=!xi||jp(function(){var e;return $t($t.call)||!$t(Object)||!$t(function(){e=!0})||e})?bi:$t});var Pi=_e((L0,_i)=>{var $p=Ye(),Ni=mn(),Hp=Bi(),Gp=Ft(),Jp=St(),Up=Jp("species"),wi=$p.Array;_i.exports=function(e){var n;return Ni(e)&&(n=e.constructor,Hp(n)&&(n===wi||Ni(n.prototype))?n=void 0:Gp(n)&&(n=n[Up],n===null&&(n=void 0))),n===void 0?wi:n}});var vn=_e((j0,ki)=>{var zp=Pi();ki.exports=function(e,n){return new(zp(e))(n===0?0:n)}});var Cn=_e((O0,Ii)=>{Ii.exports={}});var ji=_e((q0,Li)=>{var tf=St(),rf=Cn(),nf=tf("iterator"),uf=Array.prototype;Li.exports=function(e){return e!==void 0&&(rf.Array===e||uf[nf]===e)}});var En=_e((M0,qi)=>{var sf=yn(),Oi=or(),af=Cn(),of=St(),lf=of("iterator");qi.exports=function(e){if(e!=null)return Oi(e,lf)||Oi(e,"@@iterator")||af[sf(e)]}});var Ri=_e((R0,Mi)=>{var cf=Ye(),pf=Et(),ff=Mt(),Df=Nt(),mf=ar(),df=En(),gf=cf.TypeError;Mi.exports=function(e,n){var t=arguments.length<2?df(e):n;if(ff(t))return Df(pf(t,e));throw gf(mf(e)+" is not iterable")}});var $i=_e((V0,Wi)=>{var yf=Et(),Vi=Nt(),hf=or();Wi.exports=function(e,n,t){var s,a;Vi(e);try{if(s=hf(e,"return"),!s){if(n==="throw")throw t;return t}s=yf(s,e)}catch(r){a=!0,s=r}if(n==="throw")throw t;if(a)throw s;return Vi(s),t}});var zi=_e((W0,Ui)=>{var vf=Ye(),Cf=dn(),Ef=Et(),Ff=Nt(),Af=ar(),Sf=ji(),xf=wt(),Hi=Mr(),bf=Ri(),Tf=En(),Gi=$i(),Bf=vf.TypeError,Er=function(e,n){this.stopped=e,this.result=n},Ji=Er.prototype;Ui.exports=function(e,n,t){var s=t&&t.that,a=!!(t&&t.AS_ENTRIES),r=!!(t&&t.IS_ITERATOR),u=!!(t&&t.INTERRUPTED),i=Cf(n,s),o,c,y,m,d,p,f,h=function(T){return o&&Gi(o,"normal",T),new Er(!0,T)},w=function(T){return a?(Ff(T),u?i(T[0],T[1],h):i(T[0],T[1])):u?i(T,h):i(T)};if(r)o=e;else{if(c=Tf(e),!c)throw Bf(Af(e)+" is not iterable");if(Sf(c)){for(y=0,m=xf(e);m>y;y++)if(d=w(e[y]),d&&Hi(Ji,d))return d;return new Er(!1)}o=bf(e,c)}for(p=o.next;!(f=Ef(p,o)).done;){try{d=w(f.value)}catch(T){Gi(o,"throw",T)}if(typeof d=="object"&&d&&Hi(Ji,d))return d}return new Er(!1)}});var Ki=_e(($0,Xi)=>{"use strict";var Nf=fr(),wf=mr(),_f=nr();Xi.exports=function(e,n,t){var s=Nf(n);s in e?wf.f(e,s,_f(0,t)):e[s]=t}});var Yi=_e(()=>{var Lf=Wt(),jf=Ye();Lf({global:!0},{globalThis:jf})});var Xp=Wt(),Kp=gn(),Yp=Mt(),Qp=pr(),Zp=wt(),ef=vn();Xp({target:"Array",proto:!0},{flatMap:function(n){var t=Qp(this),s=Zp(t),a;return Yp(n),a=ef(t,0),a.length=Kp(a,t,t,s,0,1,n,arguments.length>1?arguments[1]:void 0),a}});var Pf=Wt(),kf=zi(),If=Ki();Pf({target:"Object",stat:!0},{fromEntries:function(n){var t={};return kf(n,function(s,a){If(t,s,a)},{AS_ENTRIES:!0}),t}});Yi();var Of=Wt(),qf=gn(),Mf=pr(),Rf=wt(),Vf=vr(),Wf=vn();Of({target:"Array",proto:!0},{flat:function(){var n=arguments.length?arguments[0]:void 0,t=Mf(this),s=Rf(t),a=Wf(t,0);return a.length=qf(a,t,t,s,0,n===void 0?1:Vf(n)),a}});var $f=["cliName","cliCategory","cliDescription"],Hf=["_"],Gf=["languageId"],Qi,Zi,ea,ta,ra,na;function wn(e,n){if(e==null)return{};var t=Jf(e,n),s,a;if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(a=0;a<r.length;a++)s=r[a],!(n.indexOf(s)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,s)||(t[s]=e[s]))}return t}function Jf(e,n){if(e==null)return{};var t={},s=Object.keys(e),a,r;for(r=0;r<s.length;r++)a=s[r],!(n.indexOf(a)>=0)&&(t[a]=e[a]);return t}function _t(e,n){return n||(n=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(n)}}))}var Uf=Object.create,br=Object.defineProperty,zf=Object.getOwnPropertyDescriptor,_n=Object.getOwnPropertyNames,Xf=Object.getPrototypeOf,Kf=Object.prototype.hasOwnProperty,mt=(e,n)=>function(){return e&&(n=(0,e[_n(e)[0]])(e=0)),n},Z=(e,n)=>function(){return n||(0,e[_n(e)[0]])((n={exports:{}}).exports,n),n.exports},Gt=(e,n)=>{for(var t in n)br(e,t,{get:n[t],enumerable:!0})},la=(e,n,t,s)=>{if(n&&typeof n=="object"||typeof n=="function")for(let a of _n(n))!Kf.call(e,a)&&a!==t&&br(e,a,{get:()=>n[a],enumerable:!(s=zf(n,a))||s.enumerable});return e},Yf=(e,n,t)=>(t=e!=null?Uf(Xf(e)):{},la(n||!e||!e.__esModule?br(t,"default",{value:e,enumerable:!0}):t,e)),lt=e=>la(br({},"__esModule",{value:!0}),e),ua,sa,bt,re=mt({"<define:process>"(){ua={},sa=[],bt={env:ua,argv:sa}}}),ca=Z({"package.json"(e,n){n.exports={version:"2.7.1"}}}),Qf=Z({"node_modules/diff/lib/diff/base.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;function n(){}n.prototype={diff:function(r,u){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=i.callback;typeof i=="function"&&(o=i,i={}),this.options=i;var c=this;function y(S){return o?(setTimeout(function(){o(void 0,S)},0),!0):S}r=this.castInput(r),u=this.castInput(u),r=this.removeEmpty(this.tokenize(r)),u=this.removeEmpty(this.tokenize(u));var m=u.length,d=r.length,p=1,f=m+d,h=[{newPos:-1,components:[]}],w=this.extractCommon(h[0],u,r,0);if(h[0].newPos+1>=m&&w+1>=d)return y([{value:this.join(u),count:u.length}]);function T(){for(var S=-1*p;S<=p;S+=2){var B=void 0,I=h[S-1],k=h[S+1],P=(k?k.newPos:0)-S;I&&(h[S-1]=void 0);var C=I&&I.newPos+1<m,D=k&&0<=P&&P<d;if(!C&&!D){h[S]=void 0;continue}if(!C||D&&I.newPos<k.newPos?(B=s(k),c.pushComponent(B.components,void 0,!0)):(B=I,B.newPos++,c.pushComponent(B.components,!0,void 0)),P=c.extractCommon(B,u,r,S),B.newPos+1>=m&&P+1>=d)return y(t(c,B.components,u,r,c.useLongestToken));h[S]=B}p++}if(o)(function S(){setTimeout(function(){if(p>f)return o();T()||S()},0)})();else for(;p<=f;){var A=T();if(A)return A}},pushComponent:function(r,u,i){var o=r[r.length-1];o&&o.added===u&&o.removed===i?r[r.length-1]={count:o.count+1,added:u,removed:i}:r.push({count:1,added:u,removed:i})},extractCommon:function(r,u,i,o){for(var c=u.length,y=i.length,m=r.newPos,d=m-o,p=0;m+1<c&&d+1<y&&this.equals(u[m+1],i[d+1]);)m++,d++,p++;return p&&r.components.push({count:p}),r.newPos=m,d},equals:function(r,u){return this.options.comparator?this.options.comparator(r,u):r===u||this.options.ignoreCase&&r.toLowerCase()===u.toLowerCase()},removeEmpty:function(r){for(var u=[],i=0;i<r.length;i++)r[i]&&u.push(r[i]);return u},castInput:function(r){return r},tokenize:function(r){return r.split("")},join:function(r){return r.join("")}};function t(a,r,u,i,o){for(var c=0,y=r.length,m=0,d=0;c<y;c++){var p=r[c];if(p.removed){if(p.value=a.join(i.slice(d,d+p.count)),d+=p.count,c&&r[c-1].added){var h=r[c-1];r[c-1]=r[c],r[c]=h}}else{if(!p.added&&o){var f=u.slice(m,m+p.count);f=f.map(function(T,A){var S=i[d+A];return S.length>T.length?S:T}),p.value=a.join(f)}else p.value=a.join(u.slice(m,m+p.count));m+=p.count,p.added||(d+=p.count)}}var w=r[y-1];return y>1&&typeof w.value=="string"&&(w.added||w.removed)&&a.equals("",w.value)&&(r[y-2].value+=w.value,r.pop()),r}function s(a){return{newPos:a.newPos,components:a.components.slice(0)}}}}),Zf=Z({"node_modules/diff/lib/diff/array.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.diffArrays=a,e.arrayDiff=void 0;var n=t(Qf());function t(r){return r&&r.__esModule?r:{default:r}}var s=new n.default;e.arrayDiff=s,s.tokenize=function(r){return r.slice()},s.join=s.removeEmpty=function(r){return r};function a(r,u,i){return s.diff(r,u,i)}}}),Pn=Z({"src/document/doc-builders.js"(e,n){"use strict";re();function t(F){return{type:"concat",parts:F}}function s(F){return{type:"indent",contents:F}}function a(F,l){return{type:"align",contents:l,n:F}}function r(F){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return{type:"group",id:l.id,contents:F,break:Boolean(l.shouldBreak),expandedStates:l.expandedStates}}function u(F){return a(Number.NEGATIVE_INFINITY,F)}function i(F){return a({type:"root"},F)}function o(F){return a(-1,F)}function c(F,l){return r(F[0],Object.assign(Object.assign({},l),{},{expandedStates:F}))}function y(F){return{type:"fill",parts:F}}function m(F,l){let E=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return{type:"if-break",breakContents:F,flatContents:l,groupId:E.groupId}}function d(F,l){return{type:"indent-if-break",contents:F,groupId:l.groupId,negate:l.negate}}function p(F){return{type:"line-suffix",contents:F}}var f={type:"line-suffix-boundary"},h={type:"break-parent"},w={type:"trim"},T={type:"line",hard:!0},A={type:"line",hard:!0,literal:!0},S={type:"line"},B={type:"line",soft:!0},I=t([T,h]),k=t([A,h]),P={type:"cursor",placeholder:Symbol("cursor")};function C(F,l){let E=[];for(let v=0;v<l.length;v++)v!==0&&E.push(F),E.push(l[v]);return t(E)}function D(F,l,E){let v=F;if(l>0){for(let N=0;N<Math.floor(l/E);++N)v=s(v);v=a(l%E,v),v=a(Number.NEGATIVE_INFINITY,v)}return v}function g(F,l){return{type:"label",label:F,contents:l}}n.exports={concat:t,join:C,line:S,softline:B,hardline:I,literalline:k,group:r,conditionalGroup:c,fill:y,lineSuffix:p,lineSuffixBoundary:f,cursor:P,breakParent:h,ifBreak:m,trim:w,indent:s,indentIfBreak:d,align:a,addAlignmentToDoc:D,markAsRoot:i,dedentToRoot:u,dedent:o,hardlineWithoutBreakParent:T,literallineWithoutBreakParent:A,label:g}}}),kn=Z({"src/common/end-of-line.js"(e,n){"use strict";re();function t(u){let i=u.indexOf("\r");return i>=0?u.charAt(i+1)===`
2
- `?"crlf":"cr":"lf"}function s(u){switch(u){case"cr":return"\r";case"crlf":return`\r
1
+ var dh=Object.create;var Hn=Object.defineProperty;var yh=Object.getOwnPropertyDescriptor;var gh=Object.getOwnPropertyNames;var hh=Object.getPrototypeOf,Eh=Object.prototype.hasOwnProperty;var Ch=(e,t,r)=>t in e?Hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Yn=(e,t)=>()=>(e&&(t=e(e=0)),t);var V=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ce=(e,t)=>{for(var r in t)Hn(e,r,{get:t[r],enumerable:!0})},up=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let u of gh(t))!Eh.call(e,u)&&u!==r&&Hn(e,u,{get:()=>t[u],enumerable:!(n=yh(t,u))||n.enumerable});return e};var Ct=(e,t,r)=>(r=e!=null?dh(hh(e)):{},up(t||!e||!e.__esModule?Hn(r,"default",{value:e,enumerable:!0}):r,e)),ze=e=>up(Hn({},"__esModule",{value:!0}),e);var ip=(e,t,r)=>(Ch(e,typeof t!="symbol"?t+"":t,r),r),sp=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var Ma=(e,t,r)=>(sp(e,t,"read from private field"),r?r.call(e):t.get(e)),ap=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},op=(e,t,r,n)=>(sp(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var g,p=Yn(()=>{g={env:{},argv:[]}});var lp=V(ja=>{"use strict";p();Object.defineProperty(ja,"__esModule",{value:!0});ja.default=cp;function cp(){}cp.prototype={diff:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=n.callback;typeof n=="function"&&(u=n,n={}),this.options=n;var i=this;function s(E){return u?(setTimeout(function(){u(void 0,E)},0),!0):E}t=this.castInput(t),r=this.castInput(r),t=this.removeEmpty(this.tokenize(t)),r=this.removeEmpty(this.tokenize(r));var a=r.length,o=t.length,c=1,l=a+o;n.maxEditLength&&(l=Math.min(l,n.maxEditLength));var f=[{newPos:-1,components:[]}],m=this.extractCommon(f[0],r,t,0);if(f[0].newPos+1>=a&&m+1>=o)return s([{value:this.join(r),count:r.length}]);function D(){for(var E=-1*c;E<=c;E+=2){var C=void 0,T=f[E-1],b=f[E+1],S=(b?b.newPos:0)-E;T&&(f[E-1]=void 0);var v=T&&T.newPos+1<a,w=b&&0<=S&&S<o;if(!v&&!w){f[E]=void 0;continue}if(!v||w&&T.newPos<b.newPos?(C=xh(b),i.pushComponent(C.components,void 0,!0)):(C=T,C.newPos++,i.pushComponent(C.components,!0,void 0)),S=i.extractCommon(C,r,t,E),C.newPos+1>=a&&S+1>=o)return s(Fh(i,C.components,r,t,i.useLongestToken));f[E]=C}c++}if(u)(function E(){setTimeout(function(){if(c>l)return u();D()||E()},0)})();else for(;c<=l;){var y=D();if(y)return y}},pushComponent:function(t,r,n){var u=t[t.length-1];u&&u.added===r&&u.removed===n?t[t.length-1]={count:u.count+1,added:r,removed:n}:t.push({count:1,added:r,removed:n})},extractCommon:function(t,r,n,u){for(var i=r.length,s=n.length,a=t.newPos,o=a-u,c=0;a+1<i&&o+1<s&&this.equals(r[a+1],n[o+1]);)a++,o++,c++;return c&&t.components.push({count:c}),t.newPos=a,o},equals:function(t,r){return this.options.comparator?this.options.comparator(t,r):t===r||this.options.ignoreCase&&t.toLowerCase()===r.toLowerCase()},removeEmpty:function(t){for(var r=[],n=0;n<t.length;n++)t[n]&&r.push(t[n]);return r},castInput:function(t){return t},tokenize:function(t){return t.split("")},join:function(t){return t.join("")}};function Fh(e,t,r,n,u){for(var i=0,s=t.length,a=0,o=0;i<s;i++){var c=t[i];if(c.removed){if(c.value=e.join(n.slice(o,o+c.count)),o+=c.count,i&&t[i-1].added){var f=t[i-1];t[i-1]=t[i],t[i]=f}}else{if(!c.added&&u){var l=r.slice(a,a+c.count);l=l.map(function(D,y){var E=n[o+y];return E.length>D.length?E:D}),c.value=e.join(l)}else c.value=e.join(r.slice(a,a+c.count));a+=c.count,c.added||(o+=c.count)}}var m=t[s-1];return s>1&&typeof m.value=="string"&&(m.added||m.removed)&&e.equals("",m.value)&&(t[s-2].value+=m.value,t.pop()),t}function xh(e){return{newPos:e.newPos,components:e.components.slice(0)}}});var pp=V(Xn=>{"use strict";p();Object.defineProperty(Xn,"__esModule",{value:!0});Xn.diffArrays=bh;Xn.arrayDiff=void 0;var Sh=Th(lp());function Th(e){return e&&e.__esModule?e:{default:e}}var Kn=new Sh.default;Xn.arrayDiff=Kn;Kn.tokenize=function(e){return e.slice()};Kn.join=Kn.removeEmpty=function(e){return e};function bh(e,t,r){return Kn.diff(e,t,r)}});var Dp=V((Rb,mp)=>{"use strict";p();mp.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var ro=V((aB,Fp)=>{p();var Vh=typeof g=="object"&&g.env&&g.env.NODE_DEBUG&&/\bsemver\b/i.test(g.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};Fp.exports=Vh});var no=V((oB,xp)=>{p();var qh="2.0.0",Uh=Number.MAX_SAFE_INTEGER||9007199254740991,Wh=16;xp.exports={SEMVER_SPEC_VERSION:qh,MAX_LENGTH:256,MAX_SAFE_INTEGER:Uh,MAX_SAFE_COMPONENT_LENGTH:Wh}});var Tp=V((Er,Sp)=>{p();var{MAX_SAFE_COMPONENT_LENGTH:uo}=no(),Gh=ro();Er=Sp.exports={};var Jh=Er.re=[],R=Er.src=[],M=Er.t={},Hh=0,J=(e,t,r)=>{let n=Hh++;Gh(e,n,t),M[e]=n,R[n]=t,Jh[n]=new RegExp(t,r?"g":void 0)};J("NUMERICIDENTIFIER","0|[1-9]\\d*");J("NUMERICIDENTIFIERLOOSE","[0-9]+");J("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");J("MAINVERSION",`(${R[M.NUMERICIDENTIFIER]})\\.(${R[M.NUMERICIDENTIFIER]})\\.(${R[M.NUMERICIDENTIFIER]})`);J("MAINVERSIONLOOSE",`(${R[M.NUMERICIDENTIFIERLOOSE]})\\.(${R[M.NUMERICIDENTIFIERLOOSE]})\\.(${R[M.NUMERICIDENTIFIERLOOSE]})`);J("PRERELEASEIDENTIFIER",`(?:${R[M.NUMERICIDENTIFIER]}|${R[M.NONNUMERICIDENTIFIER]})`);J("PRERELEASEIDENTIFIERLOOSE",`(?:${R[M.NUMERICIDENTIFIERLOOSE]}|${R[M.NONNUMERICIDENTIFIER]})`);J("PRERELEASE",`(?:-(${R[M.PRERELEASEIDENTIFIER]}(?:\\.${R[M.PRERELEASEIDENTIFIER]})*))`);J("PRERELEASELOOSE",`(?:-?(${R[M.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${R[M.PRERELEASEIDENTIFIERLOOSE]})*))`);J("BUILDIDENTIFIER","[0-9A-Za-z-]+");J("BUILD",`(?:\\+(${R[M.BUILDIDENTIFIER]}(?:\\.${R[M.BUILDIDENTIFIER]})*))`);J("FULLPLAIN",`v?${R[M.MAINVERSION]}${R[M.PRERELEASE]}?${R[M.BUILD]}?`);J("FULL",`^${R[M.FULLPLAIN]}$`);J("LOOSEPLAIN",`[v=\\s]*${R[M.MAINVERSIONLOOSE]}${R[M.PRERELEASELOOSE]}?${R[M.BUILD]}?`);J("LOOSE",`^${R[M.LOOSEPLAIN]}$`);J("GTLT","((?:<|>)?=?)");J("XRANGEIDENTIFIERLOOSE",`${R[M.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);J("XRANGEIDENTIFIER",`${R[M.NUMERICIDENTIFIER]}|x|X|\\*`);J("XRANGEPLAIN",`[v=\\s]*(${R[M.XRANGEIDENTIFIER]})(?:\\.(${R[M.XRANGEIDENTIFIER]})(?:\\.(${R[M.XRANGEIDENTIFIER]})(?:${R[M.PRERELEASE]})?${R[M.BUILD]}?)?)?`);J("XRANGEPLAINLOOSE",`[v=\\s]*(${R[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${R[M.XRANGEIDENTIFIERLOOSE]})(?:\\.(${R[M.XRANGEIDENTIFIERLOOSE]})(?:${R[M.PRERELEASELOOSE]})?${R[M.BUILD]}?)?)?`);J("XRANGE",`^${R[M.GTLT]}\\s*${R[M.XRANGEPLAIN]}$`);J("XRANGELOOSE",`^${R[M.GTLT]}\\s*${R[M.XRANGEPLAINLOOSE]}$`);J("COERCE",`(^|[^\\d])(\\d{1,${uo}})(?:\\.(\\d{1,${uo}}))?(?:\\.(\\d{1,${uo}}))?(?:$|[^\\d])`);J("COERCERTL",R[M.COERCE],!0);J("LONETILDE","(?:~>?)");J("TILDETRIM",`(\\s*)${R[M.LONETILDE]}\\s+`,!0);Er.tildeTrimReplace="$1~";J("TILDE",`^${R[M.LONETILDE]}${R[M.XRANGEPLAIN]}$`);J("TILDELOOSE",`^${R[M.LONETILDE]}${R[M.XRANGEPLAINLOOSE]}$`);J("LONECARET","(?:\\^)");J("CARETTRIM",`(\\s*)${R[M.LONECARET]}\\s+`,!0);Er.caretTrimReplace="$1^";J("CARET",`^${R[M.LONECARET]}${R[M.XRANGEPLAIN]}$`);J("CARETLOOSE",`^${R[M.LONECARET]}${R[M.XRANGEPLAINLOOSE]}$`);J("COMPARATORLOOSE",`^${R[M.GTLT]}\\s*(${R[M.LOOSEPLAIN]})$|^$`);J("COMPARATOR",`^${R[M.GTLT]}\\s*(${R[M.FULLPLAIN]})$|^$`);J("COMPARATORTRIM",`(\\s*)${R[M.GTLT]}\\s*(${R[M.LOOSEPLAIN]}|${R[M.XRANGEPLAIN]})`,!0);Er.comparatorTrimReplace="$1$2$3";J("HYPHENRANGE",`^\\s*(${R[M.XRANGEPLAIN]})\\s+-\\s+(${R[M.XRANGEPLAIN]})\\s*$`);J("HYPHENRANGELOOSE",`^\\s*(${R[M.XRANGEPLAINLOOSE]})\\s+-\\s+(${R[M.XRANGEPLAINLOOSE]})\\s*$`);J("STAR","(<|>)?=?\\s*\\*");J("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");J("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Bp=V((cB,bp)=>{p();var Yh=["includePrerelease","loose","rtl"],Kh=e=>e?typeof e!="object"?{loose:!0}:Yh.filter(t=>e[t]).reduce((t,r)=>(t[r]=!0,t),{}):{};bp.exports=Kh});var Ip=V((lB,Pp)=>{p();var vp=/^[0-9]+$/,wp=(e,t)=>{let r=vp.test(e),n=vp.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1},Xh=(e,t)=>wp(t,e);Pp.exports={compareIdentifiers:wp,rcompareIdentifiers:Xh}});var Op=V((pB,_p)=>{p();var pi=ro(),{MAX_LENGTH:kp,MAX_SAFE_INTEGER:fi}=no(),{re:Lp,t:Np}=Tp(),zh=Bp(),{compareIdentifiers:ln}=Ip(),tt=class{constructor(t,r){if(r=zh(r),t instanceof tt){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid Version: ${t}`);if(t.length>kp)throw new TypeError(`version is longer than ${kp} characters`);pi("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?Lp[Np.LOOSE]:Lp[Np.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>fi||this.major<0)throw new TypeError("Invalid major version");if(this.minor>fi||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>fi||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(u=>{if(/^[0-9]+$/.test(u)){let i=+u;if(i>=0&&i<fi)return i}return u}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(t){if(pi("SemVer.compare",this.version,this.options,t),!(t instanceof tt)){if(typeof t=="string"&&t===this.version)return 0;t=new tt(t,this.options)}return t.version===this.version?0:this.compareMain(t)||this.comparePre(t)}compareMain(t){return t instanceof tt||(t=new tt(t,this.options)),ln(this.major,t.major)||ln(this.minor,t.minor)||ln(this.patch,t.patch)}comparePre(t){if(t instanceof tt||(t=new tt(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],u=t.prerelease[r];if(pi("prerelease compare",r,n,u),n===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(n===void 0)return-1;if(n===u)continue;return ln(n,u)}while(++r)}compareBuild(t){t instanceof tt||(t=new tt(t,this.options));let r=0;do{let n=this.build[r],u=t.build[r];if(pi("prerelease compare",r,n,u),n===void 0&&u===void 0)return 0;if(u===void 0)return 1;if(n===void 0)return-1;if(n===u)continue;return ln(n,u)}while(++r)}inc(t,r){switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r),this.inc("pre",r);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r),this.inc("pre",r);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let n=this.prerelease.length;for(;--n>=0;)typeof this.prerelease[n]=="number"&&(this.prerelease[n]++,n=-2);n===-1&&this.prerelease.push(0)}r&&(ln(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=[r,0]):this.prerelease=[r,0]);break;default:throw new Error(`invalid increment argument: ${t}`)}return this.format(),this.raw=this.version,this}};_p.exports=tt});var mi=V((fB,Mp)=>{p();var Rp=Op(),Qh=(e,t,r)=>new Rp(e,r).compare(new Rp(t,r));Mp.exports=Qh});var $p=V((mB,jp)=>{p();var Zh=mi(),eE=(e,t,r)=>Zh(e,t,r)>=0;jp.exports=eE});var qp=V((DB,Vp)=>{p();var tE=mi(),rE=(e,t,r)=>tE(e,t,r)<0;Vp.exports=rE});var rr={};Ce(rr,{__assign:()=>go,__asyncDelegator:()=>qE,__asyncGenerator:()=>VE,__asyncValues:()=>UE,__await:()=>iu,__awaiter:()=>_E,__classPrivateFieldGet:()=>HE,__classPrivateFieldSet:()=>YE,__createBinding:()=>RE,__decorate:()=>kE,__exportStar:()=>ME,__extends:()=>PE,__generator:()=>OE,__importDefault:()=>JE,__importStar:()=>GE,__makeTemplateObject:()=>WE,__metadata:()=>NE,__param:()=>LE,__read:()=>af,__rest:()=>IE,__spread:()=>jE,__spreadArrays:()=>$E,__values:()=>ho});function PE(e,t){yo(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function IE(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,n=Object.getOwnPropertySymbols(e);u<n.length;u++)t.indexOf(n[u])<0&&Object.prototype.propertyIsEnumerable.call(e,n[u])&&(r[n[u]]=e[n[u]]);return r}function kE(e,t,r,n){var u=arguments.length,i=u<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")i=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(i=(u<3?s(i):u>3?s(t,r,i):s(t,r))||i);return u>3&&i&&Object.defineProperty(t,r,i),i}function LE(e,t){return function(r,n){t(r,n,e)}}function NE(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function _E(e,t,r,n){function u(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function a(l){try{c(n.next(l))}catch(f){s(f)}}function o(l){try{c(n.throw(l))}catch(f){s(f)}}function c(l){l.done?i(l.value):u(l.value).then(a,o)}c((n=n.apply(e,t||[])).next())})}function OE(e,t){var r={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,u,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(c){return function(l){return o([c,l])}}function o(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,u&&(i=c[0]&2?u.return:c[0]?u.throw||((i=u.return)&&i.call(u),0):u.next)&&!(i=i.call(u,c[1])).done)return i;switch(u=0,i&&(c=[c[0]&2,i.value]),c[0]){case 0:case 1:i=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,u=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(i=r.trys,!(i=i.length>0&&i[i.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!i||c[1]>i[0]&&c[1]<i[3])){r.label=c[1];break}if(c[0]===6&&r.label<i[1]){r.label=i[1],i=c;break}if(i&&r.label<i[2]){r.label=i[2],r.ops.push(c);break}i[2]&&r.ops.pop(),r.trys.pop();continue}c=t.call(e,r)}catch(l){c=[6,l],u=0}finally{n=i=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function RE(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]}function ME(e,t){for(var r in e)r!=="default"&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function ho(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function af(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),u,i=[],s;try{for(;(t===void 0||t-- >0)&&!(u=n.next()).done;)i.push(u.value)}catch(a){s={error:a}}finally{try{u&&!u.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return i}function jE(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(af(arguments[t]));return e}function $E(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),u=0,t=0;t<r;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,u++)n[u]=i[s];return n}function iu(e){return this instanceof iu?(this.v=e,this):new iu(e)}function VE(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),u,i=[];return u={},s("next"),s("throw"),s("return"),u[Symbol.asyncIterator]=function(){return this},u;function s(m){n[m]&&(u[m]=function(D){return new Promise(function(y,E){i.push([m,D,y,E])>1||a(m,D)})})}function a(m,D){try{o(n[m](D))}catch(y){f(i[0][3],y)}}function o(m){m.value instanceof iu?Promise.resolve(m.value.v).then(c,l):f(i[0][2],m)}function c(m){a("next",m)}function l(m){a("throw",m)}function f(m,D){m(D),i.shift(),i.length&&a(i[0][0],i[0][1])}}function qE(e){var t,r;return t={},n("next"),n("throw",function(u){throw u}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(u,i){t[u]=e[u]?function(s){return(r=!r)?{value:iu(e[u](s)),done:u==="return"}:i?i(s):s}:i}}function UE(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof ho=="function"?ho(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=e[i]&&function(s){return new Promise(function(a,o){s=e[i](s),u(a,o,s.done,s.value)})}}function u(i,s,a,o){Promise.resolve(o).then(function(c){i({value:c,done:a})},s)}}function WE(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function GE(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function JE(e){return e&&e.__esModule?e:{default:e}}function HE(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function YE(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}var yo,go,nr=Yn(()=>{p();yo=function(e,t){return yo=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var u in n)n.hasOwnProperty(u)&&(r[u]=n[u])},yo(e,t)};go=function(){return go=Object.assign||function(t){for(var r,n=1,u=arguments.length;n<u;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},go.apply(this,arguments)}});var Eo=V(Rr=>{"use strict";p();Object.defineProperty(Rr,"__esModule",{value:!0});Rr.apiDescriptor={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Rr.apiDescriptor.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Rr.apiDescriptor.key(r)}: ${Rr.apiDescriptor.value(e[r])}`).join(", ")} }`},pair:({key:e,value:t})=>Rr.apiDescriptor.value({[e]:t})}});var of=V(Co=>{"use strict";p();Object.defineProperty(Co,"__esModule",{value:!0});var KE=(nr(),ze(rr));KE.__exportStar(Eo(),Co)});var Ai={};Ce(Ai,{default:()=>Ao});var rt,Ao,su=Yn(()=>{p();rt=e=>e;rt.grey=rt;rt.red=rt;rt.bold=rt;rt.yellow=rt;rt.blue=rt;rt.default=rt;Ao=rt});var xo=V(Fo=>{"use strict";p();Object.defineProperty(Fo,"__esModule",{value:!0});var cf=(su(),ze(Ai));Fo.commonDeprecatedHandler=(e,t,{descriptor:r})=>{let n=[`${cf.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${cf.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."}});var lf=V(So=>{"use strict";p();Object.defineProperty(So,"__esModule",{value:!0});var XE=(nr(),ze(rr));XE.__exportStar(xo(),So)});var pf=V(bo=>{"use strict";p();Object.defineProperty(bo,"__esModule",{value:!0});var To=(su(),ze(Ai));bo.commonInvalidHandler=(e,t,r)=>[`Invalid ${To.default.red(r.descriptor.key(e))} value.`,`Expected ${To.default.blue(r.schemas[e].expected(r))},`,`but received ${To.default.red(r.descriptor.value(t))}.`].join(" ")});var vo=V(Bo=>{"use strict";p();Object.defineProperty(Bo,"__esModule",{value:!0});var zE=(nr(),ze(rr));zE.__exportStar(pf(),Bo)});var Df=V((tv,mf)=>{"use strict";p();var wo=[],ff=[];mf.exports=function(e,t){if(e===t)return 0;var r=e;e.length>t.length&&(e=t,t=r);var n=e.length,u=t.length;if(n===0)return u;if(u===0)return n;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-u);)n--,u--;if(n===0)return u;for(var i=0;i<n&&e.charCodeAt(i)===t.charCodeAt(i);)i++;if(n-=i,u-=i,n===0)return u;for(var s,a,o,c,l=0,f=0;l<n;)ff[i+l]=e.charCodeAt(i+l),wo[l]=++l;for(;f<u;)for(s=t.charCodeAt(i+f),o=f++,a=f,l=0;l<n;l++)c=s===ff[i+l]?o:o+1,o=wo[l],a=wo[l]=o>a?c>a?a+1:c:c>o?o+1:c;return a}});var Io=V(Po=>{"use strict";p();Object.defineProperty(Po,"__esModule",{value:!0});var df=(su(),ze(Ai)),QE=Df();Po.levenUnknownHandler=(e,t,{descriptor:r,logger:n,schemas:u})=>{let i=[`Ignored unknown option ${df.default.yellow(r.pair({key:e,value:t}))}.`],s=Object.keys(u).sort().find(a=>QE(e,a)<3);s&&i.push(`Did you mean ${df.default.blue(r.key(s))}?`),n.warn(i.join(" "))}});var yf=V(ko=>{"use strict";p();Object.defineProperty(ko,"__esModule",{value:!0});var ZE=(nr(),ze(rr));ZE.__exportStar(Io(),ko)});var gf=V(au=>{"use strict";p();Object.defineProperty(au,"__esModule",{value:!0});var Lo=(nr(),ze(rr));Lo.__exportStar(lf(),au);Lo.__exportStar(vo(),au);Lo.__exportStar(yf(),au)});var ur=V(xi=>{"use strict";p();Object.defineProperty(xi,"__esModule",{value:!0});var eC=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function hf(e,t){let r=new e(t),n=Object.create(r);for(let u of eC)u in t&&(n[u]=tC(t[u],r,Fi.prototype[u].length));return n}xi.createSchema=hf;var Fi=class{constructor(t){this.name=t.name}static create(t){return hf(this,t)}default(t){}expected(t){return"nothing"}validate(t,r){return!1}deprecated(t,r){return!1}forward(t,r){}redirect(t,r){}overlap(t,r,n){return t}preprocess(t,r){return t}postprocess(t,r){return t}};xi.Schema=Fi;function tC(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}});var Ef=V(_o=>{"use strict";p();Object.defineProperty(_o,"__esModule",{value:!0});var rC=ur(),No=class extends rC.Schema{constructor(t){super(t),this._sourceName=t.sourceName}expected(t){return t.schemas[this._sourceName].expected(t)}validate(t,r){return r.schemas[this._sourceName].validate(t,r)}redirect(t,r){return this._sourceName}};_o.AliasSchema=No});var Cf=V(Ro=>{"use strict";p();Object.defineProperty(Ro,"__esModule",{value:!0});var nC=ur(),Oo=class extends nC.Schema{expected(){return"anything"}validate(){return!0}};Ro.AnySchema=Oo});var Ff=V(jo=>{"use strict";p();Object.defineProperty(jo,"__esModule",{value:!0});var uC=(nr(),ze(rr)),iC=ur(),Mo=class extends iC.Schema{constructor(t){var{valueSchema:r,name:n=r.name}=t,u=uC.__rest(t,["valueSchema","name"]);super(Object.assign({},u,{name:n})),this._valueSchema=r}expected(t){return`an array of ${this._valueSchema.expected(t)}`}validate(t,r){if(!Array.isArray(t))return!1;let n=[];for(let u of t){let i=r.normalizeValidateResult(this._valueSchema.validate(u,r),u);i!==!0&&n.push(i.value)}return n.length===0?!0:{value:n}}deprecated(t,r){let n=[];for(let u of t){let i=r.normalizeDeprecatedResult(this._valueSchema.deprecated(u,r),u);i!==!1&&n.push(...i.map(({value:s})=>({value:[s]})))}return n}forward(t,r){let n=[];for(let u of t){let i=r.normalizeForwardResult(this._valueSchema.forward(u,r),u);n.push(...i.map(Af))}return n}redirect(t,r){let n=[],u=[];for(let i of t){let s=r.normalizeRedirectResult(this._valueSchema.redirect(i,r),i);"remain"in s&&n.push(s.remain),u.push(...s.redirect.map(Af))}return n.length===0?{redirect:u}:{redirect:u,remain:n}}overlap(t,r){return t.concat(r)}};jo.ArraySchema=Mo;function Af({from:e,to:t}){return{from:[e],to:t}}});var xf=V(Vo=>{"use strict";p();Object.defineProperty(Vo,"__esModule",{value:!0});var sC=ur(),$o=class extends sC.Schema{expected(){return"true or false"}validate(t){return typeof t=="boolean"}};Vo.BooleanSchema=$o});var Si=V(We=>{"use strict";p();Object.defineProperty(We,"__esModule",{value:!0});function aC(e,t){let r=Object.create(null);for(let n of e){let u=n[t];if(r[u])throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r[u]=n}return r}We.recordFromArray=aC;function oC(e,t){let r=new Map;for(let n of e){let u=n[t];if(r.has(u))throw new Error(`Duplicate ${t} ${JSON.stringify(u)}`);r.set(u,n)}return r}We.mapFromArray=oC;function cC(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}We.createAutoChecklist=cC;function lC(e,t){let r=[],n=[];for(let u of e)t(u)?r.push(u):n.push(u);return[r,n]}We.partition=lC;function pC(e){return e===Math.floor(e)}We.isInt=pC;function fC(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,u=["undefined","object","boolean","number","string"];return r!==n?u.indexOf(r)-u.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}We.comparePrimitive=fC;function mC(e){return e===void 0?{}:e}We.normalizeDefaultResult=mC;function DC(e,t){return e===!0?!0:e===!1?{value:t}:e}We.normalizeValidateResult=DC;function dC(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}We.normalizeDeprecatedResult=dC;function qo(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}We.normalizeTransferResult=qo;function Sf(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>qo(r,t)):[qo(e,t)]}We.normalizeForwardResult=Sf;function yC(e,t){let r=Sf(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}We.normalizeRedirectResult=yC});var bf=V(Wo=>{"use strict";p();Object.defineProperty(Wo,"__esModule",{value:!0});var gC=ur(),Tf=Si(),Uo=class extends gC.Schema{constructor(t){super(t),this._choices=Tf.mapFromArray(t.choices.map(r=>r&&typeof r=="object"?r:{value:r}),"value")}expected({descriptor:t}){let r=Array.from(this._choices.keys()).map(i=>this._choices.get(i)).filter(i=>!i.deprecated).map(i=>i.value).sort(Tf.comparePrimitive).map(t.value),n=r.slice(0,-2),u=r.slice(-2);return n.concat(u.join(" or ")).join(", ")}validate(t){return this._choices.has(t)}deprecated(t){let r=this._choices.get(t);return r&&r.deprecated?{value:t}:!1}forward(t){let r=this._choices.get(t);return r?r.forward:void 0}redirect(t){let r=this._choices.get(t);return r?r.redirect:void 0}};Wo.ChoiceSchema=Uo});var Ho=V(Jo=>{"use strict";p();Object.defineProperty(Jo,"__esModule",{value:!0});var hC=ur(),Go=class extends hC.Schema{expected(){return"a number"}validate(t,r){return typeof t=="number"}};Jo.NumberSchema=Go});var Bf=V(Ko=>{"use strict";p();Object.defineProperty(Ko,"__esModule",{value:!0});var EC=Si(),CC=Ho(),Yo=class extends CC.NumberSchema{expected(){return"an integer"}validate(t,r){return r.normalizeValidateResult(super.validate(t,r),t)===!0&&EC.isInt(t)}};Ko.IntegerSchema=Yo});var vf=V(zo=>{"use strict";p();Object.defineProperty(zo,"__esModule",{value:!0});var AC=ur(),Xo=class extends AC.Schema{expected(){return"a string"}validate(t){return typeof t=="string"}};zo.StringSchema=Xo});var wf=V(qt=>{"use strict";p();Object.defineProperty(qt,"__esModule",{value:!0});var Sr=(nr(),ze(rr));Sr.__exportStar(Ef(),qt);Sr.__exportStar(Cf(),qt);Sr.__exportStar(Ff(),qt);Sr.__exportStar(xf(),qt);Sr.__exportStar(bf(),qt);Sr.__exportStar(Bf(),qt);Sr.__exportStar(Ho(),qt);Sr.__exportStar(vf(),qt)});var Pf=V(hn=>{"use strict";p();Object.defineProperty(hn,"__esModule",{value:!0});var FC=Eo(),xC=xo(),SC=vo(),TC=Io();hn.defaultDescriptor=FC.apiDescriptor;hn.defaultUnknownHandler=TC.levenUnknownHandler;hn.defaultInvalidHandler=SC.commonInvalidHandler;hn.defaultDeprecatedHandler=xC.commonDeprecatedHandler});var If=V(Bi=>{"use strict";p();Object.defineProperty(Bi,"__esModule",{value:!0});var Ti=Pf(),nt=Si();Bi.normalize=(e,t,r)=>new bi(t,r).normalize(e);var bi=class{constructor(t,r){let{logger:n=console,descriptor:u=Ti.defaultDescriptor,unknown:i=Ti.defaultUnknownHandler,invalid:s=Ti.defaultInvalidHandler,deprecated:a=Ti.defaultDeprecatedHandler}=r||{};this._utils={descriptor:u,logger:n||{warn:()=>{}},schemas:nt.recordFromArray(t,"name"),normalizeDefaultResult:nt.normalizeDefaultResult,normalizeDeprecatedResult:nt.normalizeDeprecatedResult,normalizeForwardResult:nt.normalizeForwardResult,normalizeRedirectResult:nt.normalizeRedirectResult,normalizeValidateResult:nt.normalizeValidateResult},this._unknownHandler=i,this._invalidHandler=s,this._deprecatedHandler=a,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=nt.createAutoChecklist()}normalize(t){let r={},n=[t],u=()=>{for(;n.length!==0;){let i=n.shift(),s=this._applyNormalization(i,r);n.push(...s)}};u();for(let i of Object.keys(this._utils.schemas)){let s=this._utils.schemas[i];if(!(i in r)){let a=nt.normalizeDefaultResult(s.default(this._utils));"value"in a&&n.push({[i]:a.value})}}u();for(let i of Object.keys(this._utils.schemas)){let s=this._utils.schemas[i];i in r&&(r[i]=s.postprocess(r[i],this._utils))}return r}_applyNormalization(t,r){let n=[],[u,i]=nt.partition(Object.keys(t),s=>s in this._utils.schemas);for(let s of u){let a=this._utils.schemas[s],o=a.preprocess(t[s],this._utils),c=nt.normalizeValidateResult(a.validate(o,this._utils),o);if(c!==!0){let{value:y}=c,E=this._invalidHandler(s,y,this._utils);throw typeof E=="string"?new Error(E):E}let l=({from:y,to:E})=>{n.push(typeof E=="string"?{[E]:y}:{[E.key]:E.value})},f=({value:y,redirectTo:E})=>{let C=nt.normalizeDeprecatedResult(a.deprecated(y,this._utils),o,!0);if(C!==!1)if(C===!0)this._hasDeprecationWarned(s)||this._utils.logger.warn(this._deprecatedHandler(s,E,this._utils));else for(let{value:T}of C){let b={key:s,value:T};if(!this._hasDeprecationWarned(b)){let S=typeof E=="string"?{key:E,value:T}:E;this._utils.logger.warn(this._deprecatedHandler(b,S,this._utils))}}};nt.normalizeForwardResult(a.forward(o,this._utils),o).forEach(l);let D=nt.normalizeRedirectResult(a.redirect(o,this._utils),o);if(D.redirect.forEach(l),"remain"in D){let y=D.remain;r[s]=s in r?a.overlap(r[s],y,this._utils):y,f({value:y})}for(let{from:y,to:E}of D.redirect)f({value:y,redirectTo:E})}for(let s of i){let a=t[s],o=this._unknownHandler(s,a,this._utils);if(o)for(let c of Object.keys(o)){let l={[c]:o[c]};c in this._utils.schemas?n.push(l):Object.assign(r,l)}}return n}};Bi.Normalizer=bi});var kf=V(Mr=>{"use strict";p();Object.defineProperty(Mr,"__esModule",{value:!0});var ou=(nr(),ze(rr));ou.__exportStar(of(),Mr);ou.__exportStar(gf(),Mr);ou.__exportStar(wf(),Mr);ou.__exportStar(If(),Mr);ou.__exportStar(ur(),Mr)});var Lf={};Ce(Lf,{getChalk:()=>IC,shouldHighlight:()=>PC});var PC,IC,Nf=Yn(()=>{p();su();PC=()=>!1,IC=()=>Ao});var Mf=V(wi=>{"use strict";p();Object.defineProperty(wi,"__esModule",{value:!0});wi.codeFrameColumns=Rf;wi.default=NC;var ec=(Nf(),ze(Lf)),_f=!1;function kC(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}var Of=/\r\n|[\n\r\u2028\u2029]/;function LC(e,t,r){let n=Object.assign({column:0,line:-1},e.start),u=Object.assign({},n,e.end),{linesAbove:i=2,linesBelow:s=3}=r||{},a=n.line,o=n.column,c=u.line,l=u.column,f=Math.max(a-(i+1),0),m=Math.min(t.length,c+s);a===-1&&(f=0),c===-1&&(m=t.length);let D=c-a,y={};if(D)for(let E=0;E<=D;E++){let C=E+a;if(!o)y[C]=!0;else if(E===0){let T=t[C-1].length;y[C]=[o,T-o+1]}else if(E===D)y[C]=[0,l];else{let T=t[C-E].length;y[C]=[0,T]}}else o===l?o?y[a]=[o,0]:y[a]=!0:y[a]=[o,l-o];return{start:f,end:m,markerLines:y}}function Rf(e,t,r={}){let n=(r.highlightCode||r.forceColor)&&(0,ec.shouldHighlight)(r),u=(0,ec.getChalk)(r),i=kC(u),s=(E,C)=>n?E(C):C,a=e.split(Of),{start:o,end:c,markerLines:l}=LC(t,a,r),f=t.start&&typeof t.start.column=="number",m=String(c).length,y=(n?(0,ec.default)(e,r):e).split(Of,c).slice(o,c).map((E,C)=>{let T=o+1+C,S=` ${` ${T}`.slice(-m)} |`,v=l[T],w=!l[T+1];if(v){let j="";if(Array.isArray(v)){let q=E.slice(0,Math.max(v[0]-1,0)).replace(/[^\t]/g," "),K=v[1]||1;j=[`
2
+ `,s(i.gutter,S.replace(/\d/g," "))," ",q,s(i.marker,"^").repeat(K)].join(""),w&&r.message&&(j+=" "+s(i.message,r.message))}return[s(i.marker,">"),s(i.gutter,S),E.length>0?` ${E}`:"",j].join("")}else return` ${s(i.gutter,S)}${E.length>0?` ${E}`:""}`}).join(`
3
+ `);return r.message&&!f&&(y=`${" ".repeat(m+1)}${r.message}
4
+ ${y}`),n?u.reset(y):y}function NC(e,t,r,n={}){if(!_f){_f=!0;let i="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(g.emitWarning)g.emitWarning(i,"DeprecationWarning");else{let s=new Error(i);s.name="DeprecationWarning",console.warn(new Error(i))}}return r=Math.max(r,0),Rf(e,{start:{column:r,line:t}},n)}});var Qm=V((w3,zm)=>{p();(function(){"use strict";function e(s){if(s==null)return!1;switch(s.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(s){if(s==null)return!1;switch(s.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(s){if(s==null)return!1;switch(s.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(s){return r(s)||s!=null&&s.type==="FunctionDeclaration"}function u(s){switch(s.type){case"IfStatement":return s.alternate!=null?s.alternate:s.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return s.body}return null}function i(s){var a;if(s.type!=="IfStatement"||s.alternate==null)return!1;a=s.consequent;do{if(a.type==="IfStatement"&&a.alternate==null)return!0;a=u(a)}while(a);return!1}zm.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:n,isProblematicIfStatement:i,trailingStatement:u}})()});var Ac=V((P3,Zm)=>{p();(function(){"use strict";var e,t,r,n,u,i;t={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},e={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function s(C){return 48<=C&&C<=57}function a(C){return 48<=C&&C<=57||97<=C&&C<=102||65<=C&&C<=70}function o(C){return C>=48&&C<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function c(C){return C===32||C===9||C===11||C===12||C===160||C>=5760&&r.indexOf(C)>=0}function l(C){return C===10||C===13||C===8232||C===8233}function f(C){if(C<=65535)return String.fromCharCode(C);var T=String.fromCharCode(Math.floor((C-65536)/1024)+55296),b=String.fromCharCode((C-65536)%1024+56320);return T+b}for(n=new Array(128),i=0;i<128;++i)n[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function m(C){return C<128?n[C]:t.NonAsciiIdentifierStart.test(f(C))}function D(C){return C<128?u[C]:t.NonAsciiIdentifierPart.test(f(C))}function y(C){return C<128?n[C]:e.NonAsciiIdentifierStart.test(f(C))}function E(C){return C<128?u[C]:e.NonAsciiIdentifierPart.test(f(C))}Zm.exports={isDecimalDigit:s,isHexDigit:a,isOctalDigit:o,isWhiteSpace:c,isLineTerminator:l,isIdentifierStartES5:m,isIdentifierPartES5:D,isIdentifierStartES6:y,isIdentifierPartES6:E}})()});var tD=V((I3,eD)=>{p();(function(){"use strict";var e=Ac();function t(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(m,D){return!D&&m==="yield"?!1:n(m,D)}function n(m,D){if(D&&t(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function u(m,D){return m==="null"||m==="true"||m==="false"||r(m,D)}function i(m,D){return m==="null"||m==="true"||m==="false"||n(m,D)}function s(m){return m==="eval"||m==="arguments"}function a(m){var D,y,E;if(m.length===0||(E=m.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(D=1,y=m.length;D<y;++D)if(E=m.charCodeAt(D),!e.isIdentifierPartES5(E))return!1;return!0}function o(m,D){return(m-55296)*1024+(D-56320)+65536}function c(m){var D,y,E,C,T;if(m.length===0)return!1;for(T=e.isIdentifierStartES6,D=0,y=m.length;D<y;++D){if(E=m.charCodeAt(D),55296<=E&&E<=56319){if(++D,D>=y||(C=m.charCodeAt(D),!(56320<=C&&C<=57343)))return!1;E=o(E,C)}if(!T(E))return!1;T=e.isIdentifierPartES6}return!0}function l(m,D){return a(m)&&!u(m,D)}function f(m,D){return c(m)&&!i(m,D)}eD.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:s,isIdentifierNameES5:a,isIdentifierNameES6:c,isIdentifierES5:l,isIdentifierES6:f}})()});var rD=V(qi=>{p();(function(){"use strict";qi.ast=Qm(),qi.code=Ac(),qi.keyword=tD()})()});var JD={};Ce(JD,{EOL:()=>GD,arch:()=>MF,cpus:()=>jD,default:()=>$F,endianness:()=>LD,freemem:()=>RD,getNetworkInterfaces:()=>UD,hostname:()=>ND,loadavg:()=>_D,networkInterfaces:()=>qD,platform:()=>jF,release:()=>VD,tmpDir:()=>_c,tmpdir:()=>WD,totalmem:()=>MD,type:()=>$D,uptime:()=>OD});function LD(){if(typeof os>"u"){var e=new ArrayBuffer(2),t=new Uint8Array(e),r=new Uint16Array(e);if(t[0]=1,t[1]=2,r[0]===258)os="BE";else if(r[0]===513)os="LE";else throw new Error("unable to figure out endianess")}return os}function ND(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function _D(){return[]}function OD(){return 0}function RD(){return Number.MAX_VALUE}function MD(){return Number.MAX_VALUE}function jD(){return[]}function $D(){return"Browser"}function VD(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function qD(){}function UD(){}function MF(){return"javascript"}function jF(){return"browser"}function _c(){return"/tmp"}var os,WD,GD,$F,HD=Yn(()=>{p();WD=_c,GD=`
5
+ `,$F={EOL:GD,tmpdir:WD,tmpDir:_c,networkInterfaces:qD,getNetworkInterfaces:UD,release:VD,type:$D,cpus:jD,totalmem:MD,freemem:RD,uptime:OD,loadavg:_D,hostname:ND,endianness:LD}});var YD=V((b8,cs)=>{p();var Gr=(HD(),ze(JD));if(Gr&&Gr.default){cs.exports=Gr.default;for(let e in Gr)cs.exports[e]=Gr[e]}else Gr&&(cs.exports=Gr)});var XD=V((B8,Oc)=>{"use strict";p();var KD=e=>{if(typeof e!="string")throw new TypeError("Expected a string");let t=e.match(/(?:\r?\n)/g)||[];if(t.length===0)return;let r=t.filter(u=>u===`\r
6
+ `).length,n=t.length-r;return r>n?`\r
7
+ `:`
8
+ `};Oc.exports=KD;Oc.exports.graceful=e=>typeof e=="string"&&KD(e)||`
9
+ `});var n0=V(Jr=>{"use strict";p();Object.defineProperty(Jr,"__esModule",{value:!0});Jr.extract=HF;Jr.parse=KF;Jr.parseWithComments=r0;Jr.print=XF;Jr.strip=YF;function Rc(){let e=YD();return Rc=function(){return e},e}function Mc(){let e=VF(XD());return Mc=function(){return e},e}function VF(e){return e&&e.__esModule?e:{default:e}}var qF=/\*\/$/,UF=/^\/\*\*?/,e0=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,WF=/(^|\s+)\/\/([^\r\n]*)/g,zD=/^(\r?\n)+/,GF=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,QD=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,JF=/(\r?\n|^) *\* ?/g,t0=[];function HF(e){let t=e.match(e0);return t?t[0].trimLeft():""}function YF(e){let t=e.match(e0);return t&&t[0]?e.substring(t[0].length):e}function KF(e){return r0(e).pragmas}function r0(e){let t=(0,Mc().default)(e)||Rc().EOL;e=e.replace(UF,"").replace(qF,"").replace(JF,"$1");let r="";for(;r!==e;)r=e,e=e.replace(GF,`${t}$1 $2${t}`);e=e.replace(zD,"").trimRight();let n=Object.create(null),u=e.replace(QD,"").replace(zD,"").trimRight(),i;for(;i=QD.exec(e);){let s=i[2].replace(WF,"");typeof n[i[1]]=="string"||Array.isArray(n[i[1]])?n[i[1]]=t0.concat(n[i[1]],s):n[i[1]]=s}return{comments:u,pragmas:n}}function XF({comments:e="",pragmas:t={}}){let r=(0,Mc().default)(e)||Rc().EOL,n="/**",u=" *",i=" */",s=Object.keys(t),a=s.map(c=>ZD(c,t[c])).reduce((c,l)=>c.concat(l),[]).map(c=>`${u} ${c}${r}`).join("");if(!e){if(s.length===0)return"";if(s.length===1&&!Array.isArray(t[s[0]])){let c=t[s[0]];return`${n} ${ZD(s[0],c)[0]}${i}`}}let o=e.split(r).map(c=>`${u} ${c}`).join(r)+r;return n+r+(e?o:"")+(e&&s.length?u+r:"")+a+i}function ZD(e,t){return t0.concat(t).map(r=>`@${e} ${r}`.trim())}});var Fg=V(L=>{"use strict";p();Object.defineProperty(L,"__esModule",{value:!0});L.$EOF=0;L.$BSPACE=8;L.$TAB=9;L.$LF=10;L.$VTAB=11;L.$FF=12;L.$CR=13;L.$SPACE=32;L.$BANG=33;L.$DQ=34;L.$HASH=35;L.$$=36;L.$PERCENT=37;L.$AMPERSAND=38;L.$SQ=39;L.$LPAREN=40;L.$RPAREN=41;L.$STAR=42;L.$PLUS=43;L.$COMMA=44;L.$MINUS=45;L.$PERIOD=46;L.$SLASH=47;L.$COLON=58;L.$SEMICOLON=59;L.$LT=60;L.$EQ=61;L.$GT=62;L.$QUESTION=63;L.$0=48;L.$7=55;L.$9=57;L.$A=65;L.$E=69;L.$F=70;L.$X=88;L.$Z=90;L.$LBRACKET=91;L.$BACKSLASH=92;L.$RBRACKET=93;L.$CARET=94;L.$_=95;L.$a=97;L.$b=98;L.$e=101;L.$f=102;L.$n=110;L.$r=114;L.$t=116;L.$u=117;L.$v=118;L.$x=120;L.$z=122;L.$LBRACE=123;L.$BAR=124;L.$RBRACE=125;L.$NBSP=160;L.$PIPE=124;L.$TILDA=126;L.$AT=64;L.$BT=96;function GT(e){return e>=L.$TAB&&e<=L.$SPACE||e==L.$NBSP}L.isWhitespace=GT;function Ag(e){return L.$0<=e&&e<=L.$9}L.isDigit=Ag;function JT(e){return e>=L.$a&&e<=L.$z||e>=L.$A&&e<=L.$Z}L.isAsciiLetter=JT;function HT(e){return e>=L.$a&&e<=L.$f||e>=L.$A&&e<=L.$F||Ag(e)}L.isAsciiHexDigit=HT;function YT(e){return e===L.$LF||e===L.$CR}L.isNewLine=YT;function KT(e){return L.$0<=e&&e<=L.$7}L.isOctalDigit=KT});var xg=V(ha=>{"use strict";p();Object.defineProperty(ha,"__esModule",{value:!0});var ga=class{constructor(t,r,n){this.filePath=t,this.name=r,this.members=n}assertNoMembers(){if(this.members.length)throw new Error(`Illegal state: symbol without members expected, but got ${JSON.stringify(this)}.`)}};ha.StaticSymbol=ga;var Ll=class{constructor(){this.cache=new Map}get(t,r,n){n=n||[];let u=n.length?`.${n.join(".")}`:"",i=`"${t}".${r}${u}`,s=this.cache.get(i);return s||(s=new ga(t,r,n),this.cache.set(i,s)),s}};ha.StaticSymbolCache=Ll});var vg=V(de=>{"use strict";p();Object.defineProperty(de,"__esModule",{value:!0});var XT=/-+([a-z0-9])/g;function zT(e){return e.replace(XT,(...t)=>t[1].toUpperCase())}de.dashCaseToCamelCase=zT;function QT(e,t){return Sg(e,":",t)}de.splitAtColon=QT;function ZT(e,t){return Sg(e,".",t)}de.splitAtPeriod=ZT;function Sg(e,t,r){let n=e.indexOf(t);return n==-1?r:[e.slice(0,n).trim(),e.slice(n+1).trim()]}function Nl(e,t,r){return Array.isArray(e)?t.visitArray(e,r):o2(e)?t.visitStringMap(e,r):e==null||typeof e=="string"||typeof e=="number"||typeof e=="boolean"?t.visitPrimitive(e,r):t.visitOther(e,r)}de.visitValue=Nl;function e2(e){return e!=null}de.isDefined=e2;function t2(e){return e===void 0?null:e}de.noUndefined=t2;var _l=class{visitArray(t,r){return t.map(n=>Nl(n,this,r))}visitStringMap(t,r){let n={};return Object.keys(t).forEach(u=>{n[u]=Nl(t[u],this,r)}),n}visitPrimitive(t,r){return t}visitOther(t,r){return t}};de.ValueTransformer=_l;de.SyncAsync={assertSync:e=>{if(Ea(e))throw new Error("Illegal state: value cannot be a promise");return e},then:(e,t)=>Ea(e)?e.then(t):t(e),all:e=>e.some(Ea)?Promise.all(e):e};function r2(e){throw new Error(`Internal Error: ${e}`)}de.error=r2;function n2(e,t){let r=Error(e);return r[Tg]=!0,t&&(r[bg]=t),r}de.syntaxError=n2;var Tg="ngSyntaxError",bg="ngParseErrors";function u2(e){return e[Tg]}de.isSyntaxError=u2;function i2(e){return e[bg]||[]}de.getParseErrors=i2;function s2(e){return e.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}de.escapeRegExp=s2;var a2=Object.getPrototypeOf({});function o2(e){return typeof e=="object"&&e!==null&&Object.getPrototypeOf(e)===a2}function c2(e){let t="";for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(n>=55296&&n<=56319&&e.length>r+1){let u=e.charCodeAt(r+1);u>=56320&&u<=57343&&(r++,n=(n-55296<<10)+u-56320+65536)}n<=127?t+=String.fromCharCode(n):n<=2047?t+=String.fromCharCode(n>>6&31|192,n&63|128):n<=65535?t+=String.fromCharCode(n>>12|224,n>>6&63|128,n&63|128):n<=2097151&&(t+=String.fromCharCode(n>>18&7|240,n>>12&63|128,n>>6&63|128,n&63|128))}return t}de.utf8Encode=c2;function Bg(e){if(typeof e=="string")return e;if(e instanceof Array)return"["+e.map(Bg).join(", ")+"]";if(e==null)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;if(!e.toString)return"object";let t=e.toString();if(t==null)return""+t;let r=t.indexOf(`
10
+ `);return r===-1?t:t.substring(0,r)}de.stringify=Bg;function l2(e){return typeof e=="function"&&e.hasOwnProperty("__forward_ref__")?e():e}de.resolveForwardRef=l2;function Ea(e){return!!e&&typeof e.then=="function"}de.isPromise=Ea;var Ol=class{constructor(t){this.full=t;let r=t.split(".");this.major=r[0],this.minor=r[1],this.patch=r.slice(2).join(".")}};de.Version=Ol;var p2=typeof window<"u"&&window,f2=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,m2=typeof globalThis<"u"&&globalThis,D2=m2||p2||f2;de.global=D2});var wg=V(ie=>{"use strict";p();Object.defineProperty(ie,"__esModule",{value:!0});var Ca=xg(),Aa=vg(),d2=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function Wl(e){return e.replace(/\W/g,"_")}ie.sanitizeIdentifier=Wl;var y2=0;function It(e){if(!e||!e.reference)return null;let t=e.reference;if(t instanceof Ca.StaticSymbol)return t.name;if(t.__anonymousType)return t.__anonymousType;let r=Aa.stringify(t);return r.indexOf("(")>=0?(r=`anonymous_${y2++}`,t.__anonymousType=r):r=Wl(r),r}ie.identifierName=It;function g2(e){let t=e.reference;return t instanceof Ca.StaticSymbol?t.filePath:`./${Aa.stringify(t)}`}ie.identifierModuleUrl=g2;function h2(e,t){return`View_${It({reference:e})}_${t}`}ie.viewClassName=h2;function E2(e){return`RenderType_${It({reference:e})}`}ie.rendererTypeName=E2;function C2(e){return`HostView_${It({reference:e})}`}ie.hostViewClassName=C2;function A2(e){return`${It({reference:e})}NgFactory`}ie.componentFactoryName=A2;var Fa;(function(e){e[e.Pipe=0]="Pipe",e[e.Directive=1]="Directive",e[e.NgModule=2]="NgModule",e[e.Injectable=3]="Injectable"})(Fa=ie.CompileSummaryKind||(ie.CompileSummaryKind={}));function F2(e){return e.value!=null?Wl(e.value):It(e.identifier)}ie.tokenName=F2;function x2(e){return e.identifier!=null?e.identifier.reference:e.value}ie.tokenReference=x2;var Rl=class{constructor({moduleUrl:t,styles:r,styleUrls:n}={}){this.moduleUrl=t||null,this.styles=ye(r),this.styleUrls=ye(n)}};ie.CompileStylesheetMetadata=Rl;var Ml=class{constructor({encapsulation:t,template:r,templateUrl:n,htmlAst:u,styles:i,styleUrls:s,externalStylesheets:a,animations:o,ngContentSelectors:c,interpolation:l,isInline:f,preserveWhitespaces:m}){if(this.encapsulation=t,this.template=r,this.templateUrl=n,this.htmlAst=u,this.styles=ye(i),this.styleUrls=ye(s),this.externalStylesheets=ye(a),this.animations=o?Gl(o):[],this.ngContentSelectors=c||[],l&&l.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=l,this.isInline=f,this.preserveWhitespaces=m}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};ie.CompileTemplateMetadata=Ml;var Hu=class{static create({isHost:t,type:r,isComponent:n,selector:u,exportAs:i,changeDetection:s,inputs:a,outputs:o,host:c,providers:l,viewProviders:f,queries:m,guards:D,viewQueries:y,entryComponents:E,template:C,componentViewType:T,rendererType:b,componentFactory:S}){let v={},w={},j={};c!=null&&Object.keys(c).forEach(X=>{let W=c[X],ce=X.match(d2);ce===null?j[X]=W:ce[1]!=null?w[ce[1]]=W:ce[2]!=null&&(v[ce[2]]=W)});let q={};a!=null&&a.forEach(X=>{let W=Aa.splitAtColon(X,[X,X]);q[W[0]]=W[1]});let K={};return o!=null&&o.forEach(X=>{let W=Aa.splitAtColon(X,[X,X]);K[W[0]]=W[1]}),new Hu({isHost:t,type:r,isComponent:!!n,selector:u,exportAs:i,changeDetection:s,inputs:q,outputs:K,hostListeners:v,hostProperties:w,hostAttributes:j,providers:l,viewProviders:f,queries:m,guards:D,viewQueries:y,entryComponents:E,template:C,componentViewType:T,rendererType:b,componentFactory:S})}constructor({isHost:t,type:r,isComponent:n,selector:u,exportAs:i,changeDetection:s,inputs:a,outputs:o,hostListeners:c,hostProperties:l,hostAttributes:f,providers:m,viewProviders:D,queries:y,guards:E,viewQueries:C,entryComponents:T,template:b,componentViewType:S,rendererType:v,componentFactory:w}){this.isHost=!!t,this.type=r,this.isComponent=n,this.selector=u,this.exportAs=i,this.changeDetection=s,this.inputs=a,this.outputs=o,this.hostListeners=c,this.hostProperties=l,this.hostAttributes=f,this.providers=ye(m),this.viewProviders=ye(D),this.queries=ye(y),this.guards=E,this.viewQueries=ye(C),this.entryComponents=ye(T),this.template=b,this.componentViewType=S,this.rendererType=v,this.componentFactory=w}toSummary(){return{summaryKind:Fa.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};ie.CompileDirectiveMetadata=Hu;var jl=class{constructor({type:t,name:r,pure:n}){this.type=t,this.name=r,this.pure=!!n}toSummary(){return{summaryKind:Fa.Pipe,type:this.type,name:this.name,pure:this.pure}}};ie.CompilePipeMetadata=jl;var $l=class{};ie.CompileShallowModuleMetadata=$l;var Vl=class{constructor({type:t,providers:r,declaredDirectives:n,exportedDirectives:u,declaredPipes:i,exportedPipes:s,entryComponents:a,bootstrapComponents:o,importedModules:c,exportedModules:l,schemas:f,transitiveModule:m,id:D}){this.type=t||null,this.declaredDirectives=ye(n),this.exportedDirectives=ye(u),this.declaredPipes=ye(i),this.exportedPipes=ye(s),this.providers=ye(r),this.entryComponents=ye(a),this.bootstrapComponents=ye(o),this.importedModules=ye(c),this.exportedModules=ye(l),this.schemas=ye(f),this.id=D||null,this.transitiveModule=m||null}toSummary(){let t=this.transitiveModule;return{summaryKind:Fa.NgModule,type:this.type,entryComponents:t.entryComponents,providers:t.providers,modules:t.modules,exportedDirectives:t.exportedDirectives,exportedPipes:t.exportedPipes}}};ie.CompileNgModuleMetadata=Vl;var ql=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(t,r){this.providers.push({provider:t,module:r})}addDirective(t){this.directivesSet.has(t.reference)||(this.directivesSet.add(t.reference),this.directives.push(t))}addExportedDirective(t){this.exportedDirectivesSet.has(t.reference)||(this.exportedDirectivesSet.add(t.reference),this.exportedDirectives.push(t))}addPipe(t){this.pipesSet.has(t.reference)||(this.pipesSet.add(t.reference),this.pipes.push(t))}addExportedPipe(t){this.exportedPipesSet.has(t.reference)||(this.exportedPipesSet.add(t.reference),this.exportedPipes.push(t))}addModule(t){this.modulesSet.has(t.reference)||(this.modulesSet.add(t.reference),this.modules.push(t))}addEntryComponent(t){this.entryComponentsSet.has(t.componentType)||(this.entryComponentsSet.add(t.componentType),this.entryComponents.push(t))}};ie.TransitiveCompileNgModuleMetadata=ql;function ye(e){return e||[]}var Ul=class{constructor(t,{useClass:r,useValue:n,useExisting:u,useFactory:i,deps:s,multi:a}){this.token=t,this.useClass=r||null,this.useValue=n,this.useExisting=u,this.useFactory=i||null,this.dependencies=s||null,this.multi=!!a}};ie.ProviderMeta=Ul;function Gl(e){return e.reduce((t,r)=>{let n=Array.isArray(r)?Gl(r):r;return t.concat(n)},[])}ie.flatten=Gl;function xa(e){return e.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function S2(e,t,r){let n;return r.isInline?t.type.reference instanceof Ca.StaticSymbol?n=`${t.type.reference.filePath}.${t.type.reference.name}.html`:n=`${It(e)}/${It(t.type)}.html`:n=r.templateUrl,t.type.reference instanceof Ca.StaticSymbol?n:xa(n)}ie.templateSourceUrl=S2;function T2(e,t){let r=e.moduleUrl.split(/\/\\/g),n=r[r.length-1];return xa(`css/${t}${n}.ngstyle.js`)}ie.sharedStylesheetJitUrl=T2;function b2(e){return xa(`${It(e.type)}/module.ngfactory.js`)}ie.ngModuleJitUrl=b2;function B2(e,t){return xa(`${It(e)}/${It(t.type)}.ngfactory.js`)}ie.templateJitUrl=B2});var Pg=V(Xe=>{"use strict";p();Object.defineProperty(Xe,"__esModule",{value:!0});var Jl=Fg(),Hl=wg(),Ht=class{constructor(t,r,n,u){this.file=t,this.offset=r,this.line=n,this.col=u}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(t){let r=this.file.content,n=r.length,u=this.offset,i=this.line,s=this.col;for(;u>0&&t<0;)if(u--,t++,r.charCodeAt(u)==Jl.$LF){i--;let o=r.substr(0,u-1).lastIndexOf(String.fromCharCode(Jl.$LF));s=o>0?u-o:u}else s--;for(;u<n&&t>0;){let a=r.charCodeAt(u);u++,t--,a==Jl.$LF?(i++,s=0):s++}return new Ht(this.file,u,i,s)}getContext(t,r){let n=this.file.content,u=this.offset;if(u!=null){u>n.length-1&&(u=n.length-1);let i=u,s=0,a=0;for(;s<t&&u>0&&(u--,s++,!(n[u]==`
11
+ `&&++a==r)););for(s=0,a=0;s<t&&i<n.length-1&&(i++,s++,!(n[i]==`
12
+ `&&++a==r)););return{before:n.substring(u,this.offset),after:n.substring(this.offset,i+1)}}return null}};Xe.ParseLocation=Ht;var $n=class{constructor(t,r){this.content=t,this.url=r}};Xe.ParseSourceFile=$n;var Vn=class{constructor(t,r,n=null){this.start=t,this.end=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};Xe.ParseSourceSpan=Vn;Xe.EMPTY_PARSE_LOCATION=new Ht(new $n("",""),0,0,0);Xe.EMPTY_SOURCE_SPAN=new Vn(Xe.EMPTY_PARSE_LOCATION,Xe.EMPTY_PARSE_LOCATION);var Yl;(function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"})(Yl=Xe.ParseErrorLevel||(Xe.ParseErrorLevel={}));var Kl=class{constructor(t,r,n=Yl.ERROR){this.span=t,this.msg=r,this.level=n}contextualMessage(){let t=this.span.start.getContext(100,3);return t?`${this.msg} ("${t.before}[${Yl[this.level]} ->]${t.after}")`:this.msg}toString(){let t=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${t}`}};Xe.ParseError=Kl;function v2(e,t){let r=Hl.identifierModuleUrl(t),n=r!=null?`in ${e} ${Hl.identifierName(t)} in ${r}`:`in ${e} ${Hl.identifierName(t)}`,u=new $n("",n);return new Vn(new Ht(u,-1,-1,-1),new Ht(u,-1,-1,-1))}Xe.typeSourceSpan=v2;function w2(e,t,r){let n=`in ${e} ${t} in ${r}`,u=new $n("",n);return new Vn(new Ht(u,-1,-1,-1),new Ht(u,-1,-1,-1))}Xe.r3JitTypeSourceSpan=w2});var _g=V((Ng,Ba)=>{p();(function(e,t){typeof define=="function"&&define.amd?define([],t):typeof Ba=="object"&&Ba.exports?Ba.exports=t():e.parseSrcset=t()})(Ng,function(){return function(e,t){var r=t&&t.logger||console;function n(w){return w===" "||w===" "||w===`
13
+ `||w==="\f"||w==="\r"}function u(w){var j,q=w.exec(e.substring(T));if(q)return j=q[0],T+=j.length,j}for(var i=e.length,s=/^[ \t\n\r\u000c]+/,a=/^[, \t\n\r\u000c]+/,o=/^[^ \t\n\r\u000c]+/,c=/[,]+$/,l=/^\d+$/,f=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,m,D,y,E,C,T=0,b=[];;){if(u(a),T>=i)return b;m=u(o),D=[],m.slice(-1)===","?(m=m.replace(c,""),v()):S()}function S(){for(u(s),y="",E="in descriptor";;){if(C=e.charAt(T),E==="in descriptor")if(n(C))y&&(D.push(y),y="",E="after descriptor");else if(C===","){T+=1,y&&D.push(y),v();return}else if(C==="(")y=y+C,E="in parens";else if(C===""){y&&D.push(y),v();return}else y=y+C;else if(E==="in parens")if(C===")")y=y+C,E="in descriptor";else if(C===""){D.push(y),v();return}else y=y+C;else if(E==="after descriptor"&&!n(C))if(C===""){v();return}else E="in descriptor",T-=1;T+=1}}function v(){var w=!1,j,q,K,X,W={},ce,Be,Nt,$,Q;for(X=0;X<D.length;X++)ce=D[X],Be=ce[ce.length-1],Nt=ce.substring(0,ce.length-1),$=parseInt(Nt,10),Q=parseFloat(Nt),l.test(Nt)&&Be==="w"?((j||q)&&(w=!0),$===0?w=!0:j=$):f.test(Nt)&&Be==="x"?((j||q||K)&&(w=!0),Q<0?w=!0:q=Q):l.test(Nt)&&Be==="h"?((K||q)&&(w=!0),$===0?w=!0:K=$):w=!0;w?r&&r.error&&r.error("Invalid srcset descriptor found in '"+e+"' at '"+ce+"'."):(W.url=m,j&&(W.w=j),q&&(W.d=q),K&&(W.h=K),b.push(W))}}})});p();p();var Jm=Ct(pp(),1);var oi={};Ce(oi,{printDocToString:()=>jt});p();p();function fp(e){let t=e.indexOf("\r");return t>=0?e.charAt(t+1)===`
14
+ `?"crlf":"cr":"lf"}function zn(e){switch(e){case"cr":return"\r";case"crlf":return`\r
3
15
  `;default:return`
4
- `}}function a(u,i){let o;switch(i){case`
5
- `:o=/\n/g;break;case"\r":o=/\r/g;break;case`\r
6
- `:o=/\r\n/g;break;default:throw new Error('Unexpected "eol" '.concat(JSON.stringify(i),"."))}let c=u.match(o);return c?c.length:0}function r(u){return u.replace(/\r\n?/g,`
7
- `)}n.exports={guessEndOfLine:t,convertEndOfLineToChars:s,countEndOfLineChars:a,normalizeEndOfLine:r}}}),it=Z({"src/utils/get-last.js"(e,n){"use strict";re();var t=s=>s[s.length-1];n.exports=t}});function eD(){let{onlyFirst:e=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,e?void 0:"g")}var tD=mt({"node_modules/strip-ansi/node_modules/ansi-regex/index.js"(){re()}});function rD(e){if(typeof e!="string")throw new TypeError("Expected a `string`, got `".concat(typeof e,"`"));return e.replace(eD(),"")}var nD=mt({"node_modules/strip-ansi/index.js"(){re(),tD()}});function uD(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var sD=mt({"node_modules/is-fullwidth-code-point/index.js"(){re()}}),iD=Z({"node_modules/emoji-regex/index.js"(e,n){"use strict";re(),n.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}}}),pa={};Gt(pa,{default:()=>aD});function aD(e){if(typeof e!="string"||e.length===0||(e=rD(e),e.length===0))return 0;e=e.replace((0,fa.default)()," ");let n=0;for(let t=0;t<e.length;t++){let s=e.codePointAt(t);s<=31||s>=127&&s<=159||s>=768&&s<=879||(s>65535&&t++,n+=uD(s)?2:1)}return n}var fa,oD=mt({"node_modules/string-width/index.js"(){re(),nD(),sD(),fa=Yf(iD())}}),Da=Z({"src/utils/get-string-width.js"(e,n){"use strict";re();var t=(oD(),lt(pa)).default,s=/[^\x20-\x7F]/;function a(r){return r?s.test(r)?t(r):r.length:0}n.exports=a}}),In=Z({"src/document/doc-utils.js"(e,n){"use strict";re();var t=it(),{literalline:s,join:a}=Pn(),r=l=>Array.isArray(l)||l&&l.type==="concat",u=l=>{if(Array.isArray(l))return l;if(l.type!=="concat"&&l.type!=="fill")throw new Error("Expect doc type to be `concat` or `fill`.");return l.parts},i={};function o(l,E,v,N){let x=[l];for(;x.length>0;){let b=x.pop();if(b===i){v(x.pop());continue}if(v&&x.push(b,i),!E||E(b)!==!1)if(r(b)||b.type==="fill"){let L=u(b);for(let M=L.length,j=M-1;j>=0;--j)x.push(L[j])}else if(b.type==="if-break")b.flatContents&&x.push(b.flatContents),b.breakContents&&x.push(b.breakContents);else if(b.type==="group"&&b.expandedStates)if(N)for(let L=b.expandedStates.length,M=L-1;M>=0;--M)x.push(b.expandedStates[M]);else x.push(b.contents);else b.contents&&x.push(b.contents)}}function c(l,E){let v=new Map;return N(l);function N(b){if(v.has(b))return v.get(b);let L=x(b);return v.set(b,L),L}function x(b){if(Array.isArray(b))return E(b.map(N));if(b.type==="concat"||b.type==="fill"){let L=b.parts.map(N);return E(Object.assign(Object.assign({},b),{},{parts:L}))}if(b.type==="if-break"){let L=b.breakContents&&N(b.breakContents),M=b.flatContents&&N(b.flatContents);return E(Object.assign(Object.assign({},b),{},{breakContents:L,flatContents:M}))}if(b.type==="group"&&b.expandedStates){let L=b.expandedStates.map(N),M=L[0];return E(Object.assign(Object.assign({},b),{},{contents:M,expandedStates:L}))}if(b.contents){let L=N(b.contents);return E(Object.assign(Object.assign({},b),{},{contents:L}))}return E(b)}}function y(l,E,v){let N=v,x=!1;function b(L){let M=E(L);if(M!==void 0&&(x=!0,N=M),x)return!1}return o(l,b),N}function m(l){if(l.type==="group"&&l.break||l.type==="line"&&l.hard||l.type==="break-parent")return!0}function d(l){return y(l,m,!1)}function p(l){if(l.length>0){let E=t(l);!E.expandedStates&&!E.break&&(E.break="propagated")}return null}function f(l){let E=new Set,v=[];function N(b){if(b.type==="break-parent"&&p(v),b.type==="group"){if(v.push(b),E.has(b))return!1;E.add(b)}}function x(b){b.type==="group"&&v.pop().break&&p(v)}o(l,N,x,!0)}function h(l){return l.type==="line"&&!l.hard?l.soft?"":" ":l.type==="if-break"?l.flatContents||"":l}function w(l){return c(l,h)}var T=(l,E)=>l&&l.type==="line"&&l.hard&&E&&E.type==="break-parent";function A(l){if(!l)return l;if(r(l)||l.type==="fill"){let E=u(l);for(;E.length>1&&T(...E.slice(-2));)E.length-=2;if(E.length>0){let v=A(t(E));E[E.length-1]=v}return Array.isArray(l)?E:Object.assign(Object.assign({},l),{},{parts:E})}switch(l.type){case"align":case"indent":case"indent-if-break":case"group":case"line-suffix":case"label":{let E=A(l.contents);return Object.assign(Object.assign({},l),{},{contents:E})}case"if-break":{let E=A(l.breakContents),v=A(l.flatContents);return Object.assign(Object.assign({},l),{},{breakContents:E,flatContents:v})}}return l}function S(l){return A(I(l))}function B(l){switch(l.type){case"fill":if(l.parts.every(v=>v===""))return"";break;case"group":if(!l.contents&&!l.id&&!l.break&&!l.expandedStates)return"";if(l.contents.type==="group"&&l.contents.id===l.id&&l.contents.break===l.break&&l.contents.expandedStates===l.expandedStates)return l.contents;break;case"align":case"indent":case"indent-if-break":case"line-suffix":if(!l.contents)return"";break;case"if-break":if(!l.flatContents&&!l.breakContents)return"";break}if(!r(l))return l;let E=[];for(let v of u(l)){if(!v)continue;let[N,...x]=r(v)?u(v):[v];typeof N=="string"&&typeof t(E)=="string"?E[E.length-1]+=N:E.push(N),E.push(...x)}return E.length===0?"":E.length===1?E[0]:Array.isArray(l)?E:Object.assign(Object.assign({},l),{},{parts:E})}function I(l){return c(l,E=>B(E))}function k(l){let E=[],v=l.filter(Boolean);for(;v.length>0;){let N=v.shift();if(!!N){if(r(N)){v.unshift(...u(N));continue}if(E.length>0&&typeof t(E)=="string"&&typeof N=="string"){E[E.length-1]+=N;continue}E.push(N)}}return E}function P(l){return c(l,E=>Array.isArray(E)?k(E):E.parts?Object.assign(Object.assign({},E),{},{parts:k(E.parts)}):E)}function C(l){return c(l,E=>typeof E=="string"&&E.includes(`
8
- `)?D(E):E)}function D(l){let E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s;return a(E,l.split(`
9
- `)).parts}function g(l){if(l.type==="line")return!0}function F(l){return y(l,g,!1)}n.exports={isConcat:r,getDocParts:u,willBreak:d,traverseDoc:o,findInDoc:y,mapDoc:c,propagateBreaks:f,removeLines:w,stripTrailingHardline:S,normalizeParts:k,normalizeDoc:P,cleanDoc:I,replaceTextEndOfLine:D,replaceEndOfLine:C,canBreak:F}}}),lD=Z({"src/document/doc-printer.js"(e,n){"use strict";re();var{convertEndOfLineToChars:t}=kn(),s=it(),a=Da(),{fill:r,cursor:u,indent:i}=Pn(),{isConcat:o,getDocParts:c}=In(),y,m=1,d=2;function p(){return{value:"",length:0,queue:[]}}function f(B,I){return w(B,{type:"indent"},I)}function h(B,I,k){return I===Number.NEGATIVE_INFINITY?B.root||p():I<0?w(B,{type:"dedent"},k):I?I.type==="root"?Object.assign(Object.assign({},B),{},{root:B}):w(B,{type:typeof I=="string"?"stringAlign":"numberAlign",n:I},k):B}function w(B,I,k){let P=I.type==="dedent"?B.queue.slice(0,-1):[...B.queue,I],C="",D=0,g=0,F=0;for(let L of P)switch(L.type){case"indent":v(),k.useTabs?l(1):E(k.tabWidth);break;case"stringAlign":v(),C+=L.n,D+=L.n.length;break;case"numberAlign":g+=1,F+=L.n;break;default:throw new Error("Unexpected type '".concat(L.type,"'"))}return x(),Object.assign(Object.assign({},B),{},{value:C,length:D,queue:P});function l(L){C+=" ".repeat(L),D+=k.tabWidth*L}function E(L){C+=" ".repeat(L),D+=L}function v(){k.useTabs?N():x()}function N(){g>0&&l(g),b()}function x(){F>0&&E(F),b()}function b(){g=0,F=0}}function T(B){if(B.length===0)return 0;let I=0;for(;B.length>0&&typeof s(B)=="string"&&/^[\t ]*$/.test(s(B));)I+=B.pop().length;if(B.length>0&&typeof s(B)=="string"){let k=s(B).replace(/[\t ]*$/,"");I+=s(B).length-k.length,B[B.length-1]=k}return I}function A(B,I,k,P,C,D){let g=I.length,F=[B],l=[];for(;k>=0;){if(F.length===0){if(g===0)return!0;F.push(I[g-1]),g--;continue}let[E,v,N]=F.pop();if(typeof N=="string")l.push(N),k-=a(N);else if(o(N)){let x=c(N);for(let b=x.length-1;b>=0;b--)F.push([E,v,x[b]])}else switch(N.type){case"indent":F.push([f(E,P),v,N.contents]);break;case"align":F.push([h(E,N.n,P),v,N.contents]);break;case"trim":k+=T(l);break;case"group":{if(D&&N.break)return!1;let x=N.break?m:v;F.push([E,x,N.expandedStates&&x===m?s(N.expandedStates):N.contents]),N.id&&(y[N.id]=x);break}case"fill":for(let x=N.parts.length-1;x>=0;x--)F.push([E,v,N.parts[x]]);break;case"if-break":case"indent-if-break":{let x=N.groupId?y[N.groupId]:v;if(x===m){let b=N.type==="if-break"?N.breakContents:N.negate?N.contents:i(N.contents);b&&F.push([E,v,b])}if(x===d){let b=N.type==="if-break"?N.flatContents:N.negate?i(N.contents):N.contents;b&&F.push([E,v,b])}break}case"line":switch(v){case d:if(!N.hard){N.soft||(l.push(" "),k-=1);break}return!0;case m:return!0}break;case"line-suffix":C=!0;break;case"line-suffix-boundary":if(C)return!1;break;case"label":F.push([E,v,N.contents]);break}}return!1}function S(B,I){y={};let k=I.printWidth,P=t(I.endOfLine),C=0,D=[[p(),m,B]],g=[],F=!1,l=[];for(;D.length>0;){let[v,N,x]=D.pop();if(typeof x=="string"){let b=P!==`
10
- `?x.replace(/\n/g,P):x;g.push(b),C+=a(b)}else if(o(x)){let b=c(x);for(let L=b.length-1;L>=0;L--)D.push([v,N,b[L]])}else switch(x.type){case"cursor":g.push(u.placeholder);break;case"indent":D.push([f(v,I),N,x.contents]);break;case"align":D.push([h(v,x.n,I),N,x.contents]);break;case"trim":C-=T(g);break;case"group":switch(N){case d:if(!F){D.push([v,x.break?m:d,x.contents]);break}case m:{F=!1;let b=[v,d,x.contents],L=k-C,M=l.length>0;if(!x.break&&A(b,D,L,I,M))D.push(b);else if(x.expandedStates){let j=s(x.expandedStates);if(x.break){D.push([v,m,j]);break}else for(let $=1;$<x.expandedStates.length+1;$++)if($>=x.expandedStates.length){D.push([v,m,j]);break}else{let V=x.expandedStates[$],q=[v,d,V];if(A(q,D,L,I,M)){D.push(q);break}}}else D.push([v,m,x.contents]);break}}x.id&&(y[x.id]=s(D)[1]);break;case"fill":{let b=k-C,{parts:L}=x;if(L.length===0)break;let[M,j]=L,$=[v,d,M],V=[v,m,M],q=A($,[],b,I,l.length>0,!0);if(L.length===1){q?D.push($):D.push(V);break}let Y=[v,d,j],H=[v,m,j];if(L.length===2){q?D.push(Y,$):D.push(H,V);break}L.splice(0,2);let R=[v,N,r(L)],Q=L[0];A([v,d,[M,j,Q]],[],b,I,l.length>0,!0)?D.push(R,Y,$):q?D.push(R,H,$):D.push(R,H,V);break}case"if-break":case"indent-if-break":{let b=x.groupId?y[x.groupId]:N;if(b===m){let L=x.type==="if-break"?x.breakContents:x.negate?x.contents:i(x.contents);L&&D.push([v,N,L])}if(b===d){let L=x.type==="if-break"?x.flatContents:x.negate?i(x.contents):x.contents;L&&D.push([v,N,L])}break}case"line-suffix":l.push([v,N,x.contents]);break;case"line-suffix-boundary":l.length>0&&D.push([v,N,{type:"line",hard:!0}]);break;case"line":switch(N){case d:if(x.hard)F=!0;else{x.soft||(g.push(" "),C+=1);break}case m:if(l.length>0){D.push([v,N,x],...l.reverse()),l=[];break}x.literal?v.root?(g.push(P,v.root.value),C=v.root.length):(g.push(P),C=0):(C-=T(g),g.push(P+v.value),C=v.length);break}break;case"label":D.push([v,N,x.contents]);break;default:}D.length===0&&l.length>0&&(D.push(...l.reverse()),l=[])}let E=g.indexOf(u.placeholder);if(E!==-1){let v=g.indexOf(u.placeholder,E+1),N=g.slice(0,E).join(""),x=g.slice(E+1,v).join(""),b=g.slice(v+1).join("");return{formatted:N+x+b,cursorNodeStart:N.length,cursorNodeText:x}}return{formatted:g.join("")}}n.exports={printDocToString:S}}}),cD=Z({"src/document/doc-debug.js"(e,n){"use strict";re();var{isConcat:t,getDocParts:s}=In();function a(u){if(!u)return"";if(t(u)){let i=[];for(let o of s(u))if(t(o))i.push(...a(o).parts);else{let c=a(o);c!==""&&i.push(c)}return{type:"concat",parts:i}}return u.type==="if-break"?Object.assign(Object.assign({},u),{},{breakContents:a(u.breakContents),flatContents:a(u.flatContents)}):u.type==="group"?Object.assign(Object.assign({},u),{},{contents:a(u.contents),expandedStates:u.expandedStates&&u.expandedStates.map(a)}):u.type==="fill"?{type:"fill",parts:u.parts.map(a)}:u.contents?Object.assign(Object.assign({},u),{},{contents:a(u.contents)}):u}function r(u){let i=Object.create(null),o=new Set;return c(a(u));function c(m,d,p){if(typeof m=="string")return JSON.stringify(m);if(t(m)){let f=s(m).map(c).filter(Boolean);return f.length===1?f[0]:"[".concat(f.join(", "),"]")}if(m.type==="line"){let f=Array.isArray(p)&&p[d+1]&&p[d+1].type==="break-parent";return m.literal?f?"literalline":"literallineWithoutBreakParent":m.hard?f?"hardline":"hardlineWithoutBreakParent":m.soft?"softline":"line"}if(m.type==="break-parent")return Array.isArray(p)&&p[d-1]&&p[d-1].type==="line"&&p[d-1].hard?void 0:"breakParent";if(m.type==="trim")return"trim";if(m.type==="indent")return"indent("+c(m.contents)+")";if(m.type==="align")return m.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+c(m.contents)+")":m.n<0?"dedent("+c(m.contents)+")":m.n.type==="root"?"markAsRoot("+c(m.contents)+")":"align("+JSON.stringify(m.n)+", "+c(m.contents)+")";if(m.type==="if-break")return"ifBreak("+c(m.breakContents)+(m.flatContents?", "+c(m.flatContents):"")+(m.groupId?(m.flatContents?"":', ""')+", { groupId: ".concat(y(m.groupId)," }"):"")+")";if(m.type==="indent-if-break"){let f=[];m.negate&&f.push("negate: true"),m.groupId&&f.push("groupId: ".concat(y(m.groupId)));let h=f.length>0?", { ".concat(f.join(", ")," }"):"";return"indentIfBreak(".concat(c(m.contents)).concat(h,")")}if(m.type==="group"){let f=[];m.break&&m.break!=="propagated"&&f.push("shouldBreak: true"),m.id&&f.push("id: ".concat(y(m.id)));let h=f.length>0?", { ".concat(f.join(", ")," }"):"";return m.expandedStates?"conditionalGroup([".concat(m.expandedStates.map(w=>c(w)).join(","),"]").concat(h,")"):"group(".concat(c(m.contents)).concat(h,")")}if(m.type==="fill")return"fill([".concat(m.parts.map(f=>c(f)).join(", "),"])");if(m.type==="line-suffix")return"lineSuffix("+c(m.contents)+")";if(m.type==="line-suffix-boundary")return"lineSuffixBoundary";if(m.type==="label")return"label(".concat(JSON.stringify(m.label),", ").concat(c(m.contents),")");throw new Error("Unknown doc type "+m.type)}function y(m){if(typeof m!="symbol")return JSON.stringify(String(m));if(m in i)return i[m];let d=String(m).slice(7,-1)||"symbol";for(let p=0;;p++){let f=d+(p>0?" #".concat(p):"");if(!o.has(f))return o.add(f),i[m]="Symbol.for(".concat(JSON.stringify(f),")")}}}n.exports={printDocToDebug:r}}}),Oe=Z({"src/document/index.js"(e,n){"use strict";re(),n.exports={builders:Pn(),printer:lD(),utils:In(),debug:cD()}}}),ma={};Gt(ma,{default:()=>pD});function pD(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var fD=mt({"node_modules/escape-string-regexp/index.js"(){re()}}),da=Z({"node_modules/semver/internal/debug.js"(e,n){re();var t=typeof bt=="object"&&bt.env&&bt.env.NODE_DEBUG&&/\bsemver\b/i.test(bt.env.NODE_DEBUG)?function(){for(var s=arguments.length,a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];return console.error("SEMVER",...a)}:()=>{};n.exports=t}}),ga=Z({"node_modules/semver/internal/constants.js"(e,n){re();var t="2.0.0",s=256,a=Number.MAX_SAFE_INTEGER||9007199254740991,r=16;n.exports={SEMVER_SPEC_VERSION:t,MAX_LENGTH:s,MAX_SAFE_INTEGER:a,MAX_SAFE_COMPONENT_LENGTH:r}}}),DD=Z({"node_modules/semver/internal/re.js"(e,n){re();var{MAX_SAFE_COMPONENT_LENGTH:t}=ga(),s=da();e=n.exports={};var a=e.re=[],r=e.src=[],u=e.t={},i=0,o=(c,y,m)=>{let d=i++;s(c,d,y),u[c]=d,r[d]=y,a[d]=new RegExp(y,m?"g":void 0)};o("NUMERICIDENTIFIER","0|[1-9]\\d*"),o("NUMERICIDENTIFIERLOOSE","[0-9]+"),o("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),o("MAINVERSION","(".concat(r[u.NUMERICIDENTIFIER],")\\.(").concat(r[u.NUMERICIDENTIFIER],")\\.(").concat(r[u.NUMERICIDENTIFIER],")")),o("MAINVERSIONLOOSE","(".concat(r[u.NUMERICIDENTIFIERLOOSE],")\\.(").concat(r[u.NUMERICIDENTIFIERLOOSE],")\\.(").concat(r[u.NUMERICIDENTIFIERLOOSE],")")),o("PRERELEASEIDENTIFIER","(?:".concat(r[u.NUMERICIDENTIFIER],"|").concat(r[u.NONNUMERICIDENTIFIER],")")),o("PRERELEASEIDENTIFIERLOOSE","(?:".concat(r[u.NUMERICIDENTIFIERLOOSE],"|").concat(r[u.NONNUMERICIDENTIFIER],")")),o("PRERELEASE","(?:-(".concat(r[u.PRERELEASEIDENTIFIER],"(?:\\.").concat(r[u.PRERELEASEIDENTIFIER],")*))")),o("PRERELEASELOOSE","(?:-?(".concat(r[u.PRERELEASEIDENTIFIERLOOSE],"(?:\\.").concat(r[u.PRERELEASEIDENTIFIERLOOSE],")*))")),o("BUILDIDENTIFIER","[0-9A-Za-z-]+"),o("BUILD","(?:\\+(".concat(r[u.BUILDIDENTIFIER],"(?:\\.").concat(r[u.BUILDIDENTIFIER],")*))")),o("FULLPLAIN","v?".concat(r[u.MAINVERSION]).concat(r[u.PRERELEASE],"?").concat(r[u.BUILD],"?")),o("FULL","^".concat(r[u.FULLPLAIN],"$")),o("LOOSEPLAIN","[v=\\s]*".concat(r[u.MAINVERSIONLOOSE]).concat(r[u.PRERELEASELOOSE],"?").concat(r[u.BUILD],"?")),o("LOOSE","^".concat(r[u.LOOSEPLAIN],"$")),o("GTLT","((?:<|>)?=?)"),o("XRANGEIDENTIFIERLOOSE","".concat(r[u.NUMERICIDENTIFIERLOOSE],"|x|X|\\*")),o("XRANGEIDENTIFIER","".concat(r[u.NUMERICIDENTIFIER],"|x|X|\\*")),o("XRANGEPLAIN","[v=\\s]*(".concat(r[u.XRANGEIDENTIFIER],")(?:\\.(").concat(r[u.XRANGEIDENTIFIER],")(?:\\.(").concat(r[u.XRANGEIDENTIFIER],")(?:").concat(r[u.PRERELEASE],")?").concat(r[u.BUILD],"?)?)?")),o("XRANGEPLAINLOOSE","[v=\\s]*(".concat(r[u.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(r[u.XRANGEIDENTIFIERLOOSE],")(?:\\.(").concat(r[u.XRANGEIDENTIFIERLOOSE],")(?:").concat(r[u.PRERELEASELOOSE],")?").concat(r[u.BUILD],"?)?)?")),o("XRANGE","^".concat(r[u.GTLT],"\\s*").concat(r[u.XRANGEPLAIN],"$")),o("XRANGELOOSE","^".concat(r[u.GTLT],"\\s*").concat(r[u.XRANGEPLAINLOOSE],"$")),o("COERCE","(^|[^\\d])(\\d{1,".concat(t,"})(?:\\.(\\d{1,").concat(t,"}))?(?:\\.(\\d{1,").concat(t,"}))?(?:$|[^\\d])")),o("COERCERTL",r[u.COERCE],!0),o("LONETILDE","(?:~>?)"),o("TILDETRIM","(\\s*)".concat(r[u.LONETILDE],"\\s+"),!0),e.tildeTrimReplace="$1~",o("TILDE","^".concat(r[u.LONETILDE]).concat(r[u.XRANGEPLAIN],"$")),o("TILDELOOSE","^".concat(r[u.LONETILDE]).concat(r[u.XRANGEPLAINLOOSE],"$")),o("LONECARET","(?:\\^)"),o("CARETTRIM","(\\s*)".concat(r[u.LONECARET],"\\s+"),!0),e.caretTrimReplace="$1^",o("CARET","^".concat(r[u.LONECARET]).concat(r[u.XRANGEPLAIN],"$")),o("CARETLOOSE","^".concat(r[u.LONECARET]).concat(r[u.XRANGEPLAINLOOSE],"$")),o("COMPARATORLOOSE","^".concat(r[u.GTLT],"\\s*(").concat(r[u.LOOSEPLAIN],")$|^$")),o("COMPARATOR","^".concat(r[u.GTLT],"\\s*(").concat(r[u.FULLPLAIN],")$|^$")),o("COMPARATORTRIM","(\\s*)".concat(r[u.GTLT],"\\s*(").concat(r[u.LOOSEPLAIN],"|").concat(r[u.XRANGEPLAIN],")"),!0),e.comparatorTrimReplace="$1$2$3",o("HYPHENRANGE","^\\s*(".concat(r[u.XRANGEPLAIN],")\\s+-\\s+(").concat(r[u.XRANGEPLAIN],")\\s*$")),o("HYPHENRANGELOOSE","^\\s*(".concat(r[u.XRANGEPLAINLOOSE],")\\s+-\\s+(").concat(r[u.XRANGEPLAINLOOSE],")\\s*$")),o("STAR","(<|>)?=?\\s*\\*"),o("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),o("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),mD=Z({"node_modules/semver/internal/parse-options.js"(e,n){re();var t=["includePrerelease","loose","rtl"],s=a=>a?typeof a!="object"?{loose:!0}:t.filter(r=>a[r]).reduce((r,u)=>(r[u]=!0,r),{}):{};n.exports=s}}),dD=Z({"node_modules/semver/internal/identifiers.js"(e,n){re();var t=/^[0-9]+$/,s=(r,u)=>{let i=t.test(r),o=t.test(u);return i&&o&&(r=+r,u=+u),r===u?0:i&&!o?-1:o&&!i?1:r<u?-1:1},a=(r,u)=>s(u,r);n.exports={compareIdentifiers:s,rcompareIdentifiers:a}}}),gD=Z({"node_modules/semver/classes/semver.js"(e,n){re();var t=da(),{MAX_LENGTH:s,MAX_SAFE_INTEGER:a}=ga(),{re:r,t:u}=DD(),i=mD(),{compareIdentifiers:o}=dD(),c=class{constructor(y,m){if(m=i(m),y instanceof c){if(y.loose===!!m.loose&&y.includePrerelease===!!m.includePrerelease)return y;y=y.version}else if(typeof y!="string")throw new TypeError("Invalid Version: ".concat(y));if(y.length>s)throw new TypeError("version is longer than ".concat(s," characters"));t("SemVer",y,m),this.options=m,this.loose=!!m.loose,this.includePrerelease=!!m.includePrerelease;let d=y.trim().match(m.loose?r[u.LOOSE]:r[u.FULL]);if(!d)throw new TypeError("Invalid Version: ".concat(y));if(this.raw=y,this.major=+d[1],this.minor=+d[2],this.patch=+d[3],this.major>a||this.major<0)throw new TypeError("Invalid major version");if(this.minor>a||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>a||this.patch<0)throw new TypeError("Invalid patch version");d[4]?this.prerelease=d[4].split(".").map(p=>{if(/^[0-9]+$/.test(p)){let f=+p;if(f>=0&&f<a)return f}return p}):this.prerelease=[],this.build=d[5]?d[5].split("."):[],this.format()}format(){return this.version="".concat(this.major,".").concat(this.minor,".").concat(this.patch),this.prerelease.length&&(this.version+="-".concat(this.prerelease.join("."))),this.version}toString(){return this.version}compare(y){if(t("SemVer.compare",this.version,this.options,y),!(y instanceof c)){if(typeof y=="string"&&y===this.version)return 0;y=new c(y,this.options)}return y.version===this.version?0:this.compareMain(y)||this.comparePre(y)}compareMain(y){return y instanceof c||(y=new c(y,this.options)),o(this.major,y.major)||o(this.minor,y.minor)||o(this.patch,y.patch)}comparePre(y){if(y instanceof c||(y=new c(y,this.options)),this.prerelease.length&&!y.prerelease.length)return-1;if(!this.prerelease.length&&y.prerelease.length)return 1;if(!this.prerelease.length&&!y.prerelease.length)return 0;let m=0;do{let d=this.prerelease[m],p=y.prerelease[m];if(t("prerelease compare",m,d,p),d===void 0&&p===void 0)return 0;if(p===void 0)return 1;if(d===void 0)return-1;if(d===p)continue;return o(d,p)}while(++m)}compareBuild(y){y instanceof c||(y=new c(y,this.options));let m=0;do{let d=this.build[m],p=y.build[m];if(t("prerelease compare",m,d,p),d===void 0&&p===void 0)return 0;if(p===void 0)return 1;if(d===void 0)return-1;if(d===p)continue;return o(d,p)}while(++m)}inc(y,m){switch(y){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",m);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",m);break;case"prepatch":this.prerelease.length=0,this.inc("patch",m),this.inc("pre",m);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",m),this.inc("pre",m);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":if(this.prerelease.length===0)this.prerelease=[0];else{let d=this.prerelease.length;for(;--d>=0;)typeof this.prerelease[d]=="number"&&(this.prerelease[d]++,d=-2);d===-1&&this.prerelease.push(0)}m&&(o(this.prerelease[0],m)===0?isNaN(this.prerelease[1])&&(this.prerelease=[m,0]):this.prerelease=[m,0]);break;default:throw new Error("invalid increment argument: ".concat(y))}return this.format(),this.raw=this.version,this}};n.exports=c}}),Ln=Z({"node_modules/semver/functions/compare.js"(e,n){re();var t=gD(),s=(a,r,u)=>new t(a,u).compare(new t(r,u));n.exports=s}}),yD=Z({"node_modules/semver/functions/lt.js"(e,n){re();var t=Ln(),s=(a,r,u)=>t(a,r,u)<0;n.exports=s}}),hD=Z({"node_modules/semver/functions/gte.js"(e,n){re();var t=Ln(),s=(a,r,u)=>t(a,r,u)>=0;n.exports=s}}),vD=Z({"src/utils/arrayify.js"(e,n){"use strict";re(),n.exports=(t,s)=>Object.entries(t).map(a=>{let[r,u]=a;return Object.assign({[s]:r},u)})}}),CD=Z({"node_modules/outdent/lib/index.js"(e,n){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.outdent=void 0;function t(){for(var A=[],S=0;S<arguments.length;S++)A[S]=arguments[S]}function s(){return typeof WeakMap<"u"?new WeakMap:a()}function a(){return{add:t,delete:t,get:t,set:t,has:function(A){return!1}}}var r=Object.prototype.hasOwnProperty,u=function(A,S){return r.call(A,S)};function i(A,S){for(var B in S)u(S,B)&&(A[B]=S[B]);return A}var o=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,y=/^(?:[\r\n]|$)/,m=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,d=/^[ \t]*[\r\n][ \t\r\n]*$/;function p(A,S,B){var I=0,k=A[0].match(m);k&&(I=k[1].length);var P="(\\r\\n|\\r|\\n).{0,"+I+"}",C=new RegExp(P,"g");S&&(A=A.slice(1));var D=B.newline,g=B.trimLeadingNewline,F=B.trimTrailingNewline,l=typeof D=="string",E=A.length,v=A.map(function(N,x){return N=N.replace(C,"$1"),x===0&&g&&(N=N.replace(o,"")),x===E-1&&F&&(N=N.replace(c,"")),l&&(N=N.replace(/\r\n|\n|\r/g,function(b){return D})),N});return v}function f(A,S){for(var B="",I=0,k=A.length;I<k;I++)B+=A[I],I<k-1&&(B+=S[I]);return B}function h(A){return u(A,"raw")&&u(A,"length")}function w(A){var S=s(),B=s();function I(P){for(var C=[],D=1;D<arguments.length;D++)C[D-1]=arguments[D];if(h(P)){var g=P,F=(C[0]===I||C[0]===T)&&d.test(g[0])&&y.test(g[1]),l=F?B:S,E=l.get(g);if(E||(E=p(g,F,A),l.set(g,E)),C.length===0)return E[0];var v=f(E,F?C.slice(1):C);return v}else return w(i(i({},A),P||{}))}var k=i(I,{string:function(P){return p([P],!1,A)[0]}});return k}var T=w({trimLeadingNewline:!0,trimTrailingNewline:!0});if(e.outdent=T,e.default=T,typeof n<"u")try{n.exports=T,Object.defineProperty(T,"__esModule",{value:!0}),T.default=T,T.outdent=T}catch{}}}),ED=Z({"src/main/core-options.js"(e,n){"use strict";re();var{outdent:t}=CD(),s="Config",a="Editor",r="Format",u="Other",i="Output",o="Global",c="Special",y={cursorOffset:{since:"1.4.0",category:c,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:t(Qi||(Qi=_t([`
16
+ `}}function $a(e,t){let r;switch(t){case`
17
+ `:r=/\n/g;break;case"\r":r=/\r/g;break;case`\r
18
+ `:r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function ni(e){return e.replace(/\r\n?/g,`
19
+ `)}p();var Bh=e=>e[e.length-1],I=Bh;p();p();p();p();function Va({onlyFirst:e=!1}={}){let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}function qa(e){if(typeof e!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``);return e.replace(Va(),"")}p();function Ua(e){return Number.isInteger(e)?e>=4352&&(e<=4447||e===9001||e===9002||11904<=e&&e<=12871&&e!==12351||12880<=e&&e<=19903||19968<=e&&e<=42182||43360<=e&&e<=43388||44032<=e&&e<=55203||63744<=e&&e<=64255||65040<=e&&e<=65049||65072<=e&&e<=65131||65281<=e&&e<=65376||65504<=e&&e<=65510||110592<=e&&e<=110593||127488<=e&&e<=127569||131072<=e&&e<=262141):!1}var dp=Ct(Dp(),1);function Wa(e){if(typeof e!="string"||e.length===0||(e=qa(e),e.length===0))return 0;e=e.replace((0,dp.default)()," ");let t=0;for(let r=0;r<e.length;r++){let n=e.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,t+=Ua(n)?2:1)}return t}var vh=/[^\x20-\x7F]/;function wh(e){return e?vh.test(e)?Wa(e):e.length:0}var Ne=wh;p();var kr="string",yr="array",an="cursor",ot="indent",ct="align",Xt="trim",le="group",ge="fill",Ae="if-break",lt="indent-if-break",pt="line-suffix",zt="line-suffix-boundary",Fe="line",At="label",Qe="break-parent";var ui={};Ce(ui,{addAlignmentToDoc:()=>Qn,align:()=>ne,breakParent:()=>te,concat:()=>Ih,conditionalGroup:()=>ft,cursor:()=>Zt,dedent:()=>Ze,dedentToRoot:()=>gr,fill:()=>se,group:()=>h,hardline:()=>d,hardlineWithoutBreakParent:()=>Lr,ifBreak:()=>N,indent:()=>F,indentIfBreak:()=>Qt,join:()=>B,label:()=>Zn,line:()=>x,lineSuffix:()=>on,lineSuffixBoundary:()=>Ft,literalline:()=>_e,literallineWithoutBreakParent:()=>yp,markAsRoot:()=>_t,softline:()=>A,trim:()=>Ph});p();function F(e){return{type:ot,contents:e}}function ne(e,t){return{type:ct,contents:t,n:e}}function h(e,t={}){return{type:le,id:t.id,contents:e,break:Boolean(t.shouldBreak),expandedStates:t.expandedStates}}function gr(e){return ne(Number.NEGATIVE_INFINITY,e)}function _t(e){return ne({type:"root"},e)}function Ze(e){return ne(-1,e)}function ft(e,t){return h(e[0],{...t,expandedStates:e})}function se(e){return{type:ge,parts:e}}function N(e,t,r={}){return{type:Ae,breakContents:e,flatContents:t,groupId:r.groupId}}function Qt(e,t){return{type:lt,contents:e,groupId:t.groupId,negate:t.negate}}function on(e){return{type:pt,contents:e}}var Ft={type:zt},te={type:Qe},Ph={type:Xt},Lr={type:Fe,hard:!0},yp={type:Fe,hard:!0,literal:!0},x={type:Fe},A={type:Fe,soft:!0},d=[Lr,te],_e=[yp,te],Zt={type:an,placeholder:Symbol("cursor")};function B(e,t){let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}function Qn(e,t,r){let n=e;if(t>0){for(let u=0;u<Math.floor(t/r);++u)n=F(n);n=ne(t%r,n),n=ne(Number.NEGATIVE_INFINITY,n)}return n}function Zn(e,t){return{type:At,label:e,contents:t}}var Ih=e=>e;var ii={};Ce(ii,{canBreak:()=>za,cleanDoc:()=>Rt,findInDoc:()=>Ha,getDocParts:()=>Ot,getDocType:()=>cn,mapDoc:()=>et,normalizeDoc:()=>Xa,normalizeParts:()=>Ga,propagateBreaks:()=>Ya,removeLines:()=>hr,replaceEndOfLine:()=>tu,replaceTextEndOfLine:()=>z,stripTrailingHardline:()=>Ka,traverseDoc:()=>Ja,willBreak:()=>pe});p();var Ot=e=>{if(Array.isArray(e))return e;if(e.type!==ge)throw new Error(`Expect doc to be 'array' or '${ge}'.`);return e.parts},gp={};function Ja(e,t,r,n){let u=[e];for(;u.length>0;){let i=u.pop();if(i===gp){r(u.pop());continue}if(r&&u.push(i,gp),!t||t(i)!==!1)if(Array.isArray(i)||i.type===ge){let s=Ot(i);for(let a=s.length,o=a-1;o>=0;--o)u.push(s[o])}else if(i.type===Ae)i.flatContents&&u.push(i.flatContents),i.breakContents&&u.push(i.breakContents);else if(i.type===le&&i.expandedStates)if(n)for(let s=i.expandedStates.length,a=s-1;a>=0;--a)u.push(i.expandedStates[a]);else u.push(i.contents);else i.contents&&u.push(i.contents)}}function et(e,t){let r=new Map;return n(e);function n(i){if(r.has(i))return r.get(i);let s=u(i);return r.set(i,s),s}function u(i){if(Array.isArray(i))return t(i.map(n));if(i.type===yr||i.type===ge){let s=i.parts.map(n);return t({...i,parts:s})}if(i.type===Ae){let s=i.breakContents&&n(i.breakContents),a=i.flatContents&&n(i.flatContents);return t({...i,breakContents:s,flatContents:a})}if(i.type===le&&i.expandedStates){let s=i.expandedStates.map(n),a=s[0];return t({...i,contents:a,expandedStates:s})}if(i.contents){let s=n(i.contents);return t({...i,contents:s})}return t(i)}}function Ha(e,t,r){let n=r,u=!1;function i(s){let a=t(s);if(a!==void 0&&(u=!0,n=a),u)return!1}return Ja(e,i),n}function kh(e){if(e.type===le&&e.break||e.type===Fe&&e.hard||e.type===Qe)return!0}function pe(e){return Ha(e,kh,!1)}function hp(e){if(e.length>0){let t=I(e);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Ya(e){let t=new Set,r=[];function n(i){if(i.type===Qe&&hp(r),i.type===le){if(r.push(i),t.has(i))return!1;t.add(i)}}function u(i){i.type===le&&r.pop().break&&hp(r)}Ja(e,n,u,!0)}function Lh(e){return e.type===Fe&&!e.hard?e.soft?"":" ":e.type===Ae?e.flatContents||"":e}function hr(e){return et(e,Lh)}var Nh=(e,t)=>e&&e.type===Fe&&e.hard&&t&&t.type===Qe;function eu(e){if(!e)return e;if(Array.isArray(e)||e.type===ge){let t=Ot(e);for(;t.length>1&&Nh(...t.slice(-2));)t.length-=2;if(t.length>0){let r=eu(I(t));t[t.length-1]=r}return Array.isArray(e)?t:{...e,parts:t}}switch(e.type){case ct:case ot:case lt:case le:case pt:case At:{let t=eu(e.contents);return{...e,contents:t}}case Ae:{let t=eu(e.breakContents),r=eu(e.flatContents);return{...e,breakContents:t,flatContents:r}}}return e}function Ka(e){return typeof e=="string"?e.replace(/(?:\r?\n)*$/,""):eu(Rt(e))}function _h(e){switch(e.type){case ge:if(e.parts.every(r=>r===""))return"";break;case le:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===le&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case ct:case ot:case lt:case pt:if(!e.contents)return"";break;case Ae:if(!e.flatContents&&!e.breakContents)return"";break}if(!Array.isArray(e))return e;let t=[];for(let r of e){if(!r)continue;let[n,...u]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof I(t)=="string"?t[t.length-1]+=n:t.push(n),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}function Rt(e){return et(e,t=>_h(t))}function Ga(e){let t=[],r=e.filter(Boolean);for(;r.length>0;){let n=r.shift();if(!!n){if(Array.isArray(n)){r.unshift(...n);continue}if(t.length>0&&typeof I(t)=="string"&&typeof n=="string"){t[t.length-1]+=n;continue}t.push(n)}}return t}function Xa(e){return et(e,t=>Array.isArray(t)?Ga(t):t.parts?{...t,parts:Ga(t.parts)}:t)}function tu(e){return et(e,t=>typeof t=="string"&&t.includes(`
20
+ `)?z(t):t)}function z(e,t=_e){return B(t,e.split(`
21
+ `))}function Oh(e){if(e.type===Fe)return!0}function za(e){return Ha(e,Oh,!1)}function cn(e){return typeof e=="string"?kr:Array.isArray(e)?yr:e==null?void 0:e.type}p();var Ep=[an,ot,ct,Xt,le,ge,Ae,lt,pt,zt,Fe,At,Qe],Rh=e=>[...e.slice(0,-1),`or ${I(e)}`].join(", ");function Mh(e){let t=e===null?null:typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
22
+ Expected it to be 'string' or 'object'.`;let r=cn(e);if(r===kr||r===yr||Ep.includes(r))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let u=Rh(Ep.map(i=>`'${i}'`));return`Unexpected doc.type '${r}'.
23
+ Expected it to be ${u}.`}var Qa=class extends Error{constructor(r){super(Mh(r));ip(this,"name","InvalidDocError");this.doc=r}},Cp=Qa;var ai,Ve=1,Mt=2;function Ap(){return{value:"",length:0,queue:[]}}function jh(e,t){return Za(e,{type:"indent"},t)}function $h(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||Ap():t<0?Za(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Za(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Za(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],u="",i=0,s=0,a=0;for(let y of n)switch(y.type){case"indent":l(),r.useTabs?o(1):c(r.tabWidth);break;case"stringAlign":l(),u+=y.n,i+=y.n.length;break;case"numberAlign":s+=1,a+=y.n;break;default:throw new Error(`Unexpected type '${y.type}'`)}return m(),{...e,value:u,length:i,queue:n};function o(y){u+=" ".repeat(y),i+=r.tabWidth*y}function c(y){u+=" ".repeat(y),i+=y}function l(){r.useTabs?f():m()}function f(){s>0&&o(s),D()}function m(){a>0&&c(a),D()}function D(){s=0,a=0}}function eo(e){if(e.length===0)return 0;let t=0;for(;e.length>0&&typeof I(e)=="string"&&/^[\t ]*$/.test(I(e));)t+=e.pop().length;if(e.length>0&&typeof I(e)=="string"){let r=I(e).replace(/[\t ]*$/,"");t+=I(e).length-r.length,e[e.length-1]=r}return t}function si(e,t,r,n,u){let i=t.length,s=[e],a=[];for(;r>=0;){if(s.length===0){if(i===0)return!0;s.push(t[--i]);continue}let{mode:o,doc:c}=s.pop();switch(cn(c)){case kr:a.push(c),r-=Ne(c);break;case yr:case ge:{let l=Ot(c);for(let f=l.length-1;f>=0;f--)s.push({mode:o,doc:l[f]});break}case ot:case ct:case lt:case At:s.push({mode:o,doc:c.contents});break;case Xt:r+=eo(a);break;case le:{if(u&&c.break)return!1;let l=c.break?Ve:o,f=c.expandedStates&&l===Ve?I(c.expandedStates):c.contents;s.push({mode:l,doc:f});break}case Ae:{let f=(c.groupId?ai[c.groupId]||Mt:o)===Ve?c.breakContents:c.flatContents;f&&s.push({mode:o,doc:f});break}case Fe:if(o===Ve||c.hard)return!0;c.soft||(a.push(" "),r--);break;case pt:n=!0;break;case zt:if(n)return!1;break}}return!1}function jt(e,t){ai={};let r=t.printWidth,n=zn(t.endOfLine),u=0,i=[{ind:Ap(),mode:Ve,doc:e}],s=[],a=!1,o=[];for(;i.length>0;){let{ind:l,mode:f,doc:m}=i.pop();switch(cn(m)){case kr:{let D=n!==`
24
+ `?m.replace(/\n/g,n):m;s.push(D),u+=Ne(D);break}case yr:{for(let D=m.length-1;D>=0;D--)i.push({ind:l,mode:f,doc:m[D]});break}case an:s.push(Zt.placeholder);break;case ot:i.push({ind:jh(l,t),mode:f,doc:m.contents});break;case ct:i.push({ind:$h(l,m.n,t),mode:f,doc:m.contents});break;case Xt:u-=eo(s);break;case le:switch(f){case Mt:if(!a){i.push({ind:l,mode:m.break?Ve:Mt,doc:m.contents});break}case Ve:{a=!1;let D={ind:l,mode:Mt,doc:m.contents},y=r-u,E=o.length>0;if(!m.break&&si(D,i,y,E))i.push(D);else if(m.expandedStates){let C=I(m.expandedStates);if(m.break){i.push({ind:l,mode:Ve,doc:C});break}else for(let T=1;T<m.expandedStates.length+1;T++)if(T>=m.expandedStates.length){i.push({ind:l,mode:Ve,doc:C});break}else{let b=m.expandedStates[T],S={ind:l,mode:Mt,doc:b};if(si(S,i,y,E)){i.push(S);break}}}else i.push({ind:l,mode:Ve,doc:m.contents});break}}m.id&&(ai[m.id]=I(i).mode);break;case ge:{let D=r-u,{parts:y}=m;if(y.length===0)break;let[E,C]=y,T={ind:l,mode:Mt,doc:E},b={ind:l,mode:Ve,doc:E},S=si(T,[],D,o.length>0,!0);if(y.length===1){S?i.push(T):i.push(b);break}let v={ind:l,mode:Mt,doc:C},w={ind:l,mode:Ve,doc:C};if(y.length===2){S?i.push(v,T):i.push(w,b);break}y.splice(0,2);let j={ind:l,mode:f,doc:se(y)},q=y[0];si({ind:l,mode:Mt,doc:[E,C,q]},[],D,o.length>0,!0)?i.push(j,v,T):S?i.push(j,w,T):i.push(j,w,b);break}case Ae:case lt:{let D=m.groupId?ai[m.groupId]:f;if(D===Ve){let y=m.type===Ae?m.breakContents:m.negate?m.contents:F(m.contents);y&&i.push({ind:l,mode:f,doc:y})}if(D===Mt){let y=m.type===Ae?m.flatContents:m.negate?F(m.contents):m.contents;y&&i.push({ind:l,mode:f,doc:y})}break}case pt:o.push({ind:l,mode:f,doc:m.contents});break;case zt:o.length>0&&i.push({ind:l,mode:f,doc:Lr});break;case Fe:switch(f){case Mt:if(m.hard)a=!0;else{m.soft||(s.push(" "),u+=1);break}case Ve:if(o.length>0){i.push({ind:l,mode:f,doc:m},...o.reverse()),o.length=0;break}m.literal?l.root?(s.push(n,l.root.value),u=l.root.length):(s.push(n),u=0):(u-=eo(s),s.push(n+l.value),u=l.length);break}break;case At:i.push({ind:l,mode:f,doc:m.contents});break;case Qe:break;default:throw new Cp(m)}i.length===0&&o.length>0&&(i.push(...o.reverse()),o.length=0)}let c=s.indexOf(Zt.placeholder);if(c!==-1){let l=s.indexOf(Zt.placeholder,c+1),f=s.slice(0,c).join(""),m=s.slice(c+1,l).join(""),D=s.slice(l+1).join("");return{formatted:f+m+D,cursorNodeStart:f.length,cursorNodeText:m}}return{formatted:s.join("")}}var ci={};Ce(ci,{printDocToDebug:()=>to});p();function er(e){if(!e)return"";if(Array.isArray(e)){let t=[];for(let r of e)if(Array.isArray(r))t.push(...er(r));else{let n=er(r);n!==""&&t.push(n)}return t}return e.type===Ae?{...e,breakContents:er(e.breakContents),flatContents:er(e.flatContents)}:e.type===le?{...e,contents:er(e.contents),expandedStates:e.expandedStates&&e.expandedStates.map(er)}:e.type===ge?{type:"fill",parts:e.parts.map(er)}:e.contents?{...e,contents:er(e.contents)}:e}function to(e){let t=Object.create(null),r=new Set;return n(er(e));function n(i,s,a){if(typeof i=="string")return JSON.stringify(i);if(Array.isArray(i)){let o=i.map(n).filter(Boolean);return o.length===1?o[0]:`[${o.join(", ")}]`}if(i.type===Fe){let o=Array.isArray(a)&&a[s+1]&&a[s+1].type===Qe;return i.literal?o?"literalline":"literallineWithoutBreakParent":i.hard?o?"hardline":"hardlineWithoutBreakParent":i.soft?"softline":"line"}if(i.type===Qe)return Array.isArray(a)&&a[s-1]&&a[s-1].type===Fe&&a[s-1].hard?void 0:"breakParent";if(i.type===Xt)return"trim";if(i.type===ot)return"indent("+n(i.contents)+")";if(i.type===ct)return i.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(i.contents)+")":i.n<0?"dedent("+n(i.contents)+")":i.n.type==="root"?"markAsRoot("+n(i.contents)+")":"align("+JSON.stringify(i.n)+", "+n(i.contents)+")";if(i.type===Ae)return"ifBreak("+n(i.breakContents)+(i.flatContents?", "+n(i.flatContents):"")+(i.groupId?(i.flatContents?"":', ""')+`, { groupId: ${u(i.groupId)} }`:"")+")";if(i.type===lt){let o=[];i.negate&&o.push("negate: true"),i.groupId&&o.push(`groupId: ${u(i.groupId)}`);let c=o.length>0?`, { ${o.join(", ")} }`:"";return`indentIfBreak(${n(i.contents)}${c})`}if(i.type===le){let o=[];i.break&&i.break!=="propagated"&&o.push("shouldBreak: true"),i.id&&o.push(`id: ${u(i.id)}`);let c=o.length>0?`, { ${o.join(", ")} }`:"";return i.expandedStates?`conditionalGroup([${i.expandedStates.map(l=>n(l)).join(",")}]${c})`:`group(${n(i.contents)}${c})`}if(i.type===ge)return`fill([${i.parts.map(o=>n(o)).join(", ")}])`;if(i.type===pt)return"lineSuffix("+n(i.contents)+")";if(i.type===zt)return"lineSuffixBoundary";if(i.type===At)return`label(${JSON.stringify(i.label)}, ${n(i.contents)})`;throw new Error("Unknown doc type "+i.type)}function u(i){if(typeof i!="symbol")return JSON.stringify(String(i));if(i in t)return t[i];let s=i.description||"symbol";for(let a=0;;a++){let o=s+(a>0?` #${a}`:"");if(!r.has(o))return r.add(o),t[i]=`Symbol.for(${JSON.stringify(o)})`}}}p();p();function li(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}p();var Kp=Ct(mi(),1),Xp=Ct($p(),1),zp=Ct(qp(),1);p();var nE=(e,t)=>Object.entries(e).map(([r,n])=>({[t]:r,...n})),Up=nE;p();p();function Di(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function Wp(){return typeof WeakMap<"u"?new WeakMap:uE()}function uE(){return{add:Di,delete:Di,get:Di,set:Di,has:function(e){return!1}}}var iE=Object.prototype.hasOwnProperty,so=function(e,t){return iE.call(e,t)};function io(e,t){for(var r in t)so(t,r)&&(e[r]=t[r]);return e}var sE=/^[ \t]*(?:\r\n|\r|\n)/,aE=/(?:\r\n|\r|\n)[ \t]*$/,oE=/^(?:[\r\n]|$)/,cE=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,lE=/^[ \t]*[\r\n][ \t\r\n]*$/;function Gp(e,t,r){var n=0,u=e[0].match(cE);u&&(n=u[1].length);var i="(\\r\\n|\\r|\\n).{0,"+n+"}",s=new RegExp(i,"g");t&&(e=e.slice(1));var a=r.newline,o=r.trimLeadingNewline,c=r.trimTrailingNewline,l=typeof a=="string",f=e.length,m=e.map(function(D,y){return D=D.replace(s,"$1"),y===0&&o&&(D=D.replace(sE,"")),y===f-1&&c&&(D=D.replace(aE,"")),l&&(D=D.replace(/\r\n|\n|\r/g,function(E){return a})),D});return m}function pE(e,t){for(var r="",n=0,u=e.length;n<u;n++)r+=e[n],n<u-1&&(r+=t[n]);return r}function fE(e){return so(e,"raw")&&so(e,"length")}function Jp(e){var t=Wp(),r=Wp();function n(i){for(var s=[],a=1;a<arguments.length;a++)s[a-1]=arguments[a];if(fE(i)){var o=i,c=(s[0]===n||s[0]===Cr)&&lE.test(o[0])&&oE.test(o[1]),l=c?r:t,f=l.get(o);if(f||(f=Gp(o,c,e),l.set(o,f)),s.length===0)return f[0];var m=pE(f,c?s.slice(1):s);return m}else return Jp(io(io({},e),i||{}))}var u=io(n,{string:function(i){return Gp([i],!1,e)[0]}});return u}var Cr=Jp({trimLeadingNewline:!0,trimTrailingNewline:!0});var Hp="Config",ao="Editor";var oo="Other";var Ar="Global",pn="Special",Yp={cursorOffset:{since:"1.4.0",category:pn,type:"int",default:-1,range:{start:-1,end:Number.POSITIVE_INFINITY,step:1},description:Cr`
11
25
  Print (to stderr) where a cursor at the given position would move to after formatting.
12
26
  This option cannot be used with --range-start and --range-end.
13
- `]))),cliCategory:a},endOfLine:{since:"1.15.0",category:o,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:t(Zi||(Zi=_t([`
27
+ `,cliCategory:ao},endOfLine:{since:"1.15.0",category:Ar,type:"choice",default:[{since:"1.15.0",value:"auto"},{since:"2.0.0",value:"lf"}],description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:Cr`
14
28
  Maintain existing
15
29
  (mixed values within one file are normalised by looking at what's used after the first line)
16
- `])))}]},filepath:{since:"1.4.0",category:c,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:u,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:c,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:u},parser:{since:"0.0.10",category:o,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:m=>typeof m=="string"||typeof m=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:o,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin",cliCategory:s},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:o,description:t(ea||(ea=_t([`
30
+ `}]},filepath:{since:"1.4.0",category:pn,type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:oo,cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{since:"1.8.0",category:pn,type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:oo},parser:{since:"0.0.10",category:Ar,type:"choice",default:[{since:"0.0.10",value:"babylon"},{since:"1.13.0",value:void 0}],description:"Which parser to use.",exception:e=>typeof e=="string"||typeof e=="function",choices:[{value:"flow",description:"Flow"},{value:"babel",since:"1.16.0",description:"JavaScript"},{value:"babel-flow",since:"1.16.0",description:"Flow"},{value:"babel-ts",since:"2.0.0",description:"TypeScript"},{value:"typescript",since:"1.4.0",description:"TypeScript"},{value:"acorn",since:"2.6.0",description:"JavaScript"},{value:"espree",since:"2.2.0",description:"JavaScript"},{value:"meriyah",since:"2.2.0",description:"JavaScript"},{value:"css",since:"1.7.1",description:"CSS"},{value:"less",since:"1.7.1",description:"Less"},{value:"scss",since:"1.7.1",description:"SCSS"},{value:"json",since:"1.5.0",description:"JSON"},{value:"json5",since:"1.13.0",description:"JSON5"},{value:"json-stringify",since:"1.13.0",description:"JSON.stringify"},{value:"graphql",since:"1.5.0",description:"GraphQL"},{value:"markdown",since:"1.8.0",description:"Markdown"},{value:"mdx",since:"1.15.0",description:"MDX"},{value:"vue",since:"1.10.0",description:"Vue"},{value:"yaml",since:"1.14.0",description:"YAML"},{value:"glimmer",since:"2.3.0",description:"Ember / Handlebars"},{value:"html",since:"1.15.0",description:"HTML"},{value:"angular",since:"1.15.0",description:"Angular"},{value:"lwc",since:"1.17.0",description:"Lightning Web Components"}]},plugins:{since:"1.10.0",type:"path",array:!0,default:[{value:[]}],category:Ar,description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin",cliCategory:Hp},pluginSearchDirs:{since:"1.13.0",type:"path",array:!0,default:[{value:[]}],category:Ar,description:Cr`
17
31
  Custom directory that contains prettier plugins in node_modules subdirectory.
18
32
  Overrides default behavior when plugins are searched relatively to the location of Prettier.
19
33
  Multiple values are accepted.
20
- `]))),exception:m=>typeof m=="string"||typeof m=="object",cliName:"plugin-search-dir",cliCategory:s},printWidth:{since:"0.0.0",category:o,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:c,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t(ta||(ta=_t([`
34
+ `,exception:e=>typeof e=="string"||typeof e=="object",cliName:"plugin-search-dir",cliCategory:Hp},printWidth:{since:"0.0.0",category:Ar,type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},rangeEnd:{since:"1.4.0",category:pn,type:"int",default:Number.POSITIVE_INFINITY,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Cr`
21
35
  Format code ending at a given character offset (exclusive).
22
36
  The range will extend forwards to the end of the selected statement.
23
37
  This option cannot be used with --cursor-offset.
24
- `]))),cliCategory:a},rangeStart:{since:"1.4.0",category:c,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:t(ra||(ra=_t([`
38
+ `,cliCategory:ao},rangeStart:{since:"1.4.0",category:pn,type:"int",default:0,range:{start:0,end:Number.POSITIVE_INFINITY,step:1},description:Cr`
25
39
  Format code starting at a given character offset.
26
40
  The range will extend backwards to the start of the first line containing the selected statement.
27
41
  This option cannot be used with --cursor-offset.
28
- `]))),cliCategory:a},requirePragma:{since:"1.7.0",category:c,type:"boolean",default:!1,description:t(na||(na=_t([`
42
+ `,cliCategory:ao},requirePragma:{since:"1.7.0",category:pn,type:"boolean",default:!1,description:Cr`
29
43
  Require either '@prettier' or '@format' to be present in the file's first docblock comment
30
44
  in order for it to be formatted.
31
- `]))),cliCategory:u},tabWidth:{type:"int",category:o,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:o,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:o,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};n.exports={CATEGORY_CONFIG:s,CATEGORY_EDITOR:a,CATEGORY_FORMAT:r,CATEGORY_OTHER:u,CATEGORY_OUTPUT:i,CATEGORY_GLOBAL:o,CATEGORY_SPECIAL:c,options:y}}}),jn=Z({"src/main/support.js"(e,n){"use strict";re();var t={compare:Ln(),lt:yD(),gte:hD()},s=vD(),a=ca().version,r=ED().options;function u(){let{plugins:o=[],showUnreleased:c=!1,showDeprecated:y=!1,showInternal:m=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},d=a.split("-",1)[0],p=o.flatMap(A=>A.languages||[]).filter(h),f=s(Object.assign({},...o.map(A=>{let{options:S}=A;return S}),r),"name").filter(A=>h(A)&&w(A)).sort((A,S)=>A.name===S.name?0:A.name<S.name?-1:1).map(T).map(A=>{A=Object.assign({},A),Array.isArray(A.default)&&(A.default=A.default.length===1?A.default[0].value:A.default.filter(h).sort((B,I)=>t.compare(I.since,B.since))[0].value),Array.isArray(A.choices)&&(A.choices=A.choices.filter(B=>h(B)&&w(B)),A.name==="parser"&&i(A,p,o));let S=Object.fromEntries(o.filter(B=>B.defaultOptions&&B.defaultOptions[A.name]!==void 0).map(B=>[B.name,B.defaultOptions[A.name]]));return Object.assign(Object.assign({},A),{},{pluginDefaults:S})});return{languages:p,options:f};function h(A){return c||!("since"in A)||A.since&&t.gte(d,A.since)}function w(A){return y||!("deprecated"in A)||A.deprecated&&t.lt(d,A.deprecated)}function T(A){if(m)return A;let{cliName:S,cliCategory:B,cliDescription:I}=A;return wn(A,$f)}}function i(o,c,y){let m=new Set(o.choices.map(d=>d.value));for(let d of c)if(d.parsers){for(let p of d.parsers)if(!m.has(p)){m.add(p);let f=y.find(w=>w.parsers&&w.parsers[p]),h=d.name;f&&f.name&&(h+=" (plugin: ".concat(f.name,")")),o.choices.push({value:p,description:h})}}}n.exports={getSupportInfo:u}}}),On=Z({"src/utils/is-non-empty-array.js"(e,n){"use strict";re();function t(s){return Array.isArray(s)&&s.length>0}n.exports=t}}),Tr=Z({"src/utils/text/skip.js"(e,n){"use strict";re();function t(i){return(o,c,y)=>{let m=y&&y.backwards;if(c===!1)return!1;let{length:d}=o,p=c;for(;p>=0&&p<d;){let f=o.charAt(p);if(i instanceof RegExp){if(!i.test(f))return p}else if(!i.includes(f))return p;m?p--:p++}return p===-1||p===d?p:!1}}var s=t(/\s/),a=t(" "),r=t(",; "),u=t(/[^\n\r]/);n.exports={skipWhitespace:s,skipSpaces:a,skipToLineEnd:r,skipEverythingButNewLine:u}}}),ya=Z({"src/utils/text/skip-inline-comment.js"(e,n){"use strict";re();function t(s,a){if(a===!1)return!1;if(s.charAt(a)==="/"&&s.charAt(a+1)==="*"){for(let r=a+2;r<s.length;++r)if(s.charAt(r)==="*"&&s.charAt(r+1)==="/")return r+2}return a}n.exports=t}}),ha=Z({"src/utils/text/skip-trailing-comment.js"(e,n){"use strict";re();var{skipEverythingButNewLine:t}=Tr();function s(a,r){return r===!1?!1:a.charAt(r)==="/"&&a.charAt(r+1)==="/"?t(a,r):r}n.exports=s}}),va=Z({"src/utils/text/skip-newline.js"(e,n){"use strict";re();function t(s,a,r){let u=r&&r.backwards;if(a===!1)return!1;let i=s.charAt(a);if(u){if(s.charAt(a-1)==="\r"&&i===`
32
- `)return a-2;if(i===`
33
- `||i==="\r"||i==="\u2028"||i==="\u2029")return a-1}else{if(i==="\r"&&s.charAt(a+1)===`
34
- `)return a+2;if(i===`
35
- `||i==="\r"||i==="\u2028"||i==="\u2029")return a+1}return a}n.exports=t}}),FD=Z({"src/utils/text/get-next-non-space-non-comment-character-index-with-start-index.js"(e,n){"use strict";re();var t=ya(),s=va(),a=ha(),{skipSpaces:r}=Tr();function u(i,o){let c=null,y=o;for(;y!==c;)c=y,y=r(i,y),y=t(i,y),y=a(i,y),y=s(i,y);return y}n.exports=u}}),Ue=Z({"src/common/util.js"(e,n){"use strict";re();var{default:t}=(fD(),lt(ma)),s=it(),{getSupportInfo:a}=jn(),r=On(),u=Da(),{skipWhitespace:i,skipSpaces:o,skipToLineEnd:c,skipEverythingButNewLine:y}=Tr(),m=ya(),d=ha(),p=va(),f=FD(),h=H=>H[H.length-2];function w(H){return(R,Q,ee)=>{let te=ee&&ee.backwards;if(Q===!1)return!1;let{length:oe}=R,W=Q;for(;W>=0&&W<oe;){let X=R.charAt(W);if(H instanceof RegExp){if(!H.test(X))return W}else if(!H.includes(X))return W;te?W--:W++}return W===-1||W===oe?W:!1}}function T(H,R){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},ee=o(H,Q.backwards?R-1:R,Q),te=p(H,ee,Q);return ee!==te}function A(H,R,Q){for(let ee=R;ee<Q;++ee)if(H.charAt(ee)===`
36
- `)return!0;return!1}function S(H,R,Q){let ee=Q(R)-1;ee=o(H,ee,{backwards:!0}),ee=p(H,ee,{backwards:!0}),ee=o(H,ee,{backwards:!0});let te=p(H,ee,{backwards:!0});return ee!==te}function B(H,R){let Q=null,ee=R;for(;ee!==Q;)Q=ee,ee=c(H,ee),ee=m(H,ee),ee=o(H,ee);return ee=d(H,ee),ee=p(H,ee),ee!==!1&&T(H,ee)}function I(H,R,Q){return B(H,Q(R))}function k(H,R,Q){return f(H,Q(R))}function P(H,R,Q){return H.charAt(k(H,R,Q))}function C(H,R){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return o(H,Q.backwards?R-1:R,Q)!==R}function D(H,R){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,ee=0;for(let te=Q;te<H.length;++te)H[te]===" "?ee=ee+R-ee%R:ee++;return ee}function g(H,R){let Q=H.lastIndexOf(`
37
- `);return Q===-1?0:D(H.slice(Q+1).match(/^[\t ]*/)[0],R)}function F(H,R){let Q={quote:'"',regex:/"/g,escaped:"&quot;"},ee={quote:"'",regex:/'/g,escaped:"&apos;"},te=R==="'"?ee:Q,oe=te===ee?Q:ee,W=te;if(H.includes(te.quote)||H.includes(oe.quote)){let X=(H.match(te.regex)||[]).length,ue=(H.match(oe.regex)||[]).length;W=X>ue?oe:te}return W}function l(H,R){let Q=H.slice(1,-1),ee=R.parser==="json"||R.parser==="json5"&&R.quoteProps==="preserve"&&!R.singleQuote?'"':R.__isInHtmlAttribute?"'":F(Q,R.singleQuote?"'":'"').quote;return E(Q,ee,!(R.parser==="css"||R.parser==="less"||R.parser==="scss"||R.__embeddedInHtml))}function E(H,R,Q){let ee=R==='"'?"'":'"',te=/\\(.)|(["'])/gs,oe=H.replace(te,(W,X,ue)=>X===ee?X:ue===R?"\\"+ue:ue||(Q&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(X)?X:"\\"+X));return R+oe+R}function v(H){return H.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function N(H,R){let Q=H.match(new RegExp("(".concat(t(R),")+"),"g"));return Q===null?0:Q.reduce((ee,te)=>Math.max(ee,te.length/R.length),0)}function x(H,R){let Q=H.match(new RegExp("(".concat(t(R),")+"),"g"));if(Q===null)return 0;let ee=new Map,te=0;for(let oe of Q){let W=oe.length/R.length;ee.set(W,!0),W>te&&(te=W)}for(let oe=1;oe<te;oe++)if(!ee.get(oe))return oe;return te+1}function b(H,R){(H.comments||(H.comments=[])).push(R),R.printed=!1,R.nodeDescription=Y(H)}function L(H,R){R.leading=!0,R.trailing=!1,b(H,R)}function M(H,R,Q){R.leading=!1,R.trailing=!1,Q&&(R.marker=Q),b(H,R)}function j(H,R){R.leading=!1,R.trailing=!0,b(H,R)}function $(H,R){let{languages:Q}=a({plugins:R.plugins}),ee=Q.find(te=>{let{name:oe}=te;return oe.toLowerCase()===H})||Q.find(te=>{let{aliases:oe}=te;return Array.isArray(oe)&&oe.includes(H)})||Q.find(te=>{let{extensions:oe}=te;return Array.isArray(oe)&&oe.includes(".".concat(H))});return ee&&ee.parsers[0]}function V(H){return H&&H.type==="front-matter"}function q(H){let R=new WeakMap;return function(Q){return R.has(Q)||R.set(Q,Symbol(H)),R.get(Q)}}function Y(H){let R=H.type||H.kind||"(unknown type)",Q=String(H.name||H.id&&(typeof H.id=="object"?H.id.name:H.id)||H.key&&(typeof H.key=="object"?H.key.name:H.key)||H.value&&(typeof H.value=="object"?"":String(H.value))||H.operator||"");return Q.length>20&&(Q=Q.slice(0,19)+"\u2026"),R+(Q?" "+Q:"")}n.exports={inferParserByLanguage:$,getStringWidth:u,getMaxContinuousCount:N,getMinNotPresentContinuousCount:x,getPenultimate:h,getLast:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:f,getNextNonSpaceNonCommentCharacterIndex:k,getNextNonSpaceNonCommentCharacter:P,skip:w,skipWhitespace:i,skipSpaces:o,skipToLineEnd:c,skipEverythingButNewLine:y,skipInlineComment:m,skipTrailingComment:d,skipNewline:p,isNextLineEmptyAfterIndex:B,isNextLineEmpty:I,isPreviousLineEmpty:S,hasNewline:T,hasNewlineInRange:A,hasSpaces:C,getAlignmentSize:D,getIndentSize:g,getPreferredQuote:F,printString:l,printNumber:v,makeString:E,addLeadingComment:L,addDanglingComment:M,addTrailingComment:j,isFrontMatterNode:V,isNonEmptyArray:r,createGroupIdMapper:q}}}),Ca={};Gt(Ca,{basename:()=>xa,default:()=>Ta,delimiter:()=>xn,dirname:()=>Sa,extname:()=>ba,isAbsolute:()=>Mn,join:()=>Fa,normalize:()=>qn,relative:()=>Aa,resolve:()=>xr,sep:()=>Sn});function Ea(e,n){for(var t=0,s=e.length-1;s>=0;s--){var a=e[s];a==="."?e.splice(s,1):a===".."?(e.splice(s,1),t++):t&&(e.splice(s,1),t--)}if(n)for(;t--;t)e.unshift("..");return e}function xr(){for(var e="",n=!1,t=arguments.length-1;t>=-1&&!n;t--){var s=t>=0?arguments[t]:"/";if(typeof s!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!s)continue;e=s+"/"+e,n=s.charAt(0)==="/"}return e=Ea(Rn(e.split("/"),function(a){return!!a}),!n).join("/"),(n?"/":"")+e||"."}function qn(e){var n=Mn(e),t=Ba(e,-1)==="/";return e=Ea(Rn(e.split("/"),function(s){return!!s}),!n).join("/"),!e&&!n&&(e="."),e&&t&&(e+="/"),(n?"/":"")+e}function Mn(e){return e.charAt(0)==="/"}function Fa(){var e=Array.prototype.slice.call(arguments,0);return qn(Rn(e,function(n,t){if(typeof n!="string")throw new TypeError("Arguments to path.join must be strings");return n}).join("/"))}function Aa(e,n){e=xr(e).substr(1),n=xr(n).substr(1);function t(c){for(var y=0;y<c.length&&c[y]==="";y++);for(var m=c.length-1;m>=0&&c[m]==="";m--);return y>m?[]:c.slice(y,m-y+1)}for(var s=t(e.split("/")),a=t(n.split("/")),r=Math.min(s.length,a.length),u=r,i=0;i<r;i++)if(s[i]!==a[i]){u=i;break}for(var o=[],i=u;i<s.length;i++)o.push("..");return o=o.concat(a.slice(u)),o.join("/")}function Sa(e){var n=Br(e),t=n[0],s=n[1];return!t&&!s?".":(s&&(s=s.substr(0,s.length-1)),t+s)}function xa(e,n){var t=Br(e)[2];return n&&t.substr(-1*n.length)===n&&(t=t.substr(0,t.length-n.length)),t}function ba(e){return Br(e)[3]}function Rn(e,n){if(e.filter)return e.filter(n);for(var t=[],s=0;s<e.length;s++)n(e[s],s,e)&&t.push(e[s]);return t}var ia,Br,Sn,xn,Ta,Ba,AD=mt({"node-modules-polyfills:path"(){re(),ia=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,Br=function(e){return ia.exec(e).slice(1)},Sn="/",xn=":",Ta={extname:ba,basename:xa,dirname:Sa,sep:Sn,delimiter:xn,relative:Aa,join:Fa,isAbsolute:Mn,normalize:qn,resolve:xr},Ba="ab".substr(-1)==="b"?function(e,n,t){return e.substr(n,t)}:function(e,n,t){return n<0&&(n=e.length+n),e.substr(n,t)}}}),SD=Z({"node-modules-polyfills-commonjs:path"(e,n){re();var t=(AD(),lt(Ca));if(t&&t.default){n.exports=t.default;for(let s in t)n.exports[s]=t[s]}else t&&(n.exports=t)}}),Jt=Z({"src/common/errors.js"(e,n){"use strict";re();var t=class extends Error{},s=class extends Error{},a=class extends Error{},r=class extends Error{};n.exports={ConfigError:t,DebugError:s,UndefinedParserError:a,ArgExpansionBailout:r}}}),dt={};Gt(dt,{__assign:()=>Sr,__asyncDelegator:()=>OD,__asyncGenerator:()=>jD,__asyncValues:()=>qD,__await:()=>Ht,__awaiter:()=>wD,__classPrivateFieldGet:()=>WD,__classPrivateFieldSet:()=>$D,__createBinding:()=>PD,__decorate:()=>TD,__exportStar:()=>kD,__extends:()=>xD,__generator:()=>_D,__importDefault:()=>VD,__importStar:()=>RD,__makeTemplateObject:()=>MD,__metadata:()=>ND,__param:()=>BD,__read:()=>Na,__rest:()=>bD,__spread:()=>ID,__spreadArrays:()=>LD,__values:()=>bn});function xD(e,n){Ar(e,n);function t(){this.constructor=e}e.prototype=n===null?Object.create(n):(t.prototype=n.prototype,new t)}function bD(e,n){var t={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&n.indexOf(s)<0&&(t[s]=e[s]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,s=Object.getOwnPropertySymbols(e);a<s.length;a++)n.indexOf(s[a])<0&&Object.prototype.propertyIsEnumerable.call(e,s[a])&&(t[s[a]]=e[s[a]]);return t}function TD(e,n,t,s){var a=arguments.length,r=a<3?n:s===null?s=Object.getOwnPropertyDescriptor(n,t):s,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,n,t,s);else for(var i=e.length-1;i>=0;i--)(u=e[i])&&(r=(a<3?u(r):a>3?u(n,t,r):u(n,t))||r);return a>3&&r&&Object.defineProperty(n,t,r),r}function BD(e,n){return function(t,s){n(t,s,e)}}function ND(e,n){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,n)}function wD(e,n,t,s){function a(r){return r instanceof t?r:new t(function(u){u(r)})}return new(t||(t=Promise))(function(r,u){function i(y){try{c(s.next(y))}catch(m){u(m)}}function o(y){try{c(s.throw(y))}catch(m){u(m)}}function c(y){y.done?r(y.value):a(y.value).then(i,o)}c((s=s.apply(e,n||[])).next())})}function _D(e,n){var t={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},s,a,r,u;return u={next:i(0),throw:i(1),return:i(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function i(c){return function(y){return o([c,y])}}function o(c){if(s)throw new TypeError("Generator is already executing.");for(;t;)try{if(s=1,a&&(r=c[0]&2?a.return:c[0]?a.throw||((r=a.return)&&r.call(a),0):a.next)&&!(r=r.call(a,c[1])).done)return r;switch(a=0,r&&(c=[c[0]&2,r.value]),c[0]){case 0:case 1:r=c;break;case 4:return t.label++,{value:c[1],done:!1};case 5:t.label++,a=c[1],c=[0];continue;case 7:c=t.ops.pop(),t.trys.pop();continue;default:if(r=t.trys,!(r=r.length>0&&r[r.length-1])&&(c[0]===6||c[0]===2)){t=0;continue}if(c[0]===3&&(!r||c[1]>r[0]&&c[1]<r[3])){t.label=c[1];break}if(c[0]===6&&t.label<r[1]){t.label=r[1],r=c;break}if(r&&t.label<r[2]){t.label=r[2],t.ops.push(c);break}r[2]&&t.ops.pop(),t.trys.pop();continue}c=n.call(e,t)}catch(y){c=[6,y],a=0}finally{s=r=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}function PD(e,n,t,s){s===void 0&&(s=t),e[s]=n[t]}function kD(e,n){for(var t in e)t!=="default"&&!n.hasOwnProperty(t)&&(n[t]=e[t])}function bn(e){var n=typeof Symbol=="function"&&Symbol.iterator,t=n&&e[n],s=0;if(t)return t.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&s>=e.length&&(e=void 0),{value:e&&e[s++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function Na(e,n){var t=typeof Symbol=="function"&&e[Symbol.iterator];if(!t)return e;var s=t.call(e),a,r=[],u;try{for(;(n===void 0||n-- >0)&&!(a=s.next()).done;)r.push(a.value)}catch(i){u={error:i}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(u)throw u.error}}return r}function ID(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(Na(arguments[n]));return e}function LD(){for(var e=0,n=0,t=arguments.length;n<t;n++)e+=arguments[n].length;for(var s=Array(e),a=0,n=0;n<t;n++)for(var r=arguments[n],u=0,i=r.length;u<i;u++,a++)s[a]=r[u];return s}function Ht(e){return this instanceof Ht?(this.v=e,this):new Ht(e)}function jD(e,n,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var s=t.apply(e,n||[]),a,r=[];return a={},u("next"),u("throw"),u("return"),a[Symbol.asyncIterator]=function(){return this},a;function u(d){s[d]&&(a[d]=function(p){return new Promise(function(f,h){r.push([d,p,f,h])>1||i(d,p)})})}function i(d,p){try{o(s[d](p))}catch(f){m(r[0][3],f)}}function o(d){d.value instanceof Ht?Promise.resolve(d.value.v).then(c,y):m(r[0][2],d)}function c(d){i("next",d)}function y(d){i("throw",d)}function m(d,p){d(p),r.shift(),r.length&&i(r[0][0],r[0][1])}}function OD(e){var n,t;return n={},s("next"),s("throw",function(a){throw a}),s("return"),n[Symbol.iterator]=function(){return this},n;function s(a,r){n[a]=e[a]?function(u){return(t=!t)?{value:Ht(e[a](u)),done:a==="return"}:r?r(u):u}:r}}function qD(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=e[Symbol.asyncIterator],t;return n?n.call(e):(e=typeof bn=="function"?bn(e):e[Symbol.iterator](),t={},s("next"),s("throw"),s("return"),t[Symbol.asyncIterator]=function(){return this},t);function s(r){t[r]=e[r]&&function(u){return new Promise(function(i,o){u=e[r](u),a(i,o,u.done,u.value)})}}function a(r,u,i,o){Promise.resolve(o).then(function(c){r({value:c,done:i})},u)}}function MD(e,n){return Object.defineProperty?Object.defineProperty(e,"raw",{value:n}):e.raw=n,e}function RD(e){if(e&&e.__esModule)return e;var n={};if(e!=null)for(var t in e)Object.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n.default=e,n}function VD(e){return e&&e.__esModule?e:{default:e}}function WD(e,n){if(!n.has(e))throw new TypeError("attempted to get private field on non-instance");return n.get(e)}function $D(e,n,t){if(!n.has(e))throw new TypeError("attempted to set private field on non-instance");return n.set(e,t),t}var Ar,Sr,ht=mt({"node_modules/tslib/tslib.es6.js"(){re(),Ar=function(e,n){return Ar=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,s){t.__proto__=s}||function(t,s){for(var a in s)s.hasOwnProperty(a)&&(t[a]=s[a])},Ar(e,n)},Sr=function(){return Sr=Object.assign||function(n){for(var t,s=1,a=arguments.length;s<a;s++){t=arguments[s];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},Sr.apply(this,arguments)}}}),wa=Z({"node_modules/vnopts/lib/descriptors/api.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.apiDescriptor={key:n=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(n)?n:JSON.stringify(n),value(n){if(n===null||typeof n!="object")return JSON.stringify(n);if(Array.isArray(n))return"[".concat(n.map(s=>e.apiDescriptor.value(s)).join(", "),"]");let t=Object.keys(n);return t.length===0?"{}":"{ ".concat(t.map(s=>"".concat(e.apiDescriptor.key(s),": ").concat(e.apiDescriptor.value(n[s]))).join(", ")," }")},pair:n=>{let{key:t,value:s}=n;return e.apiDescriptor.value({[t]:s})}}}}),HD=Z({"node_modules/vnopts/lib/descriptors/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(wa(),e)}}),Nr=Z({"scripts/build/shims/chalk.cjs"(e,n){"use strict";re();var t=s=>s;t.grey=t,t.red=t,t.bold=t,t.yellow=t,t.blue=t,t.default=t,n.exports=t}}),_a=Z({"node_modules/vnopts/lib/handlers/deprecated/common.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=Nr();e.commonDeprecatedHandler=(t,s,a)=>{let{descriptor:r}=a,u=["".concat(n.default.yellow(typeof t=="string"?r.key(t):r.pair(t))," is deprecated")];return s&&u.push("we now treat it as ".concat(n.default.blue(typeof s=="string"?r.key(s):r.pair(s)))),u.join("; ")+"."}}}),GD=Z({"node_modules/vnopts/lib/handlers/deprecated/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(_a(),e)}}),JD=Z({"node_modules/vnopts/lib/handlers/invalid/common.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=Nr();e.commonInvalidHandler=(t,s,a)=>["Invalid ".concat(n.default.red(a.descriptor.key(t))," value."),"Expected ".concat(n.default.blue(a.schemas[t].expected(a)),","),"but received ".concat(n.default.red(a.descriptor.value(s)),".")].join(" ")}}),Pa=Z({"node_modules/vnopts/lib/handlers/invalid/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(JD(),e)}}),UD=Z({"node_modules/vnopts/node_modules/leven/index.js"(e,n){"use strict";re();var t=[],s=[];n.exports=function(a,r){if(a===r)return 0;var u=a;a.length>r.length&&(a=r,r=u);var i=a.length,o=r.length;if(i===0)return o;if(o===0)return i;for(;i>0&&a.charCodeAt(~-i)===r.charCodeAt(~-o);)i--,o--;if(i===0)return o;for(var c=0;c<i&&a.charCodeAt(c)===r.charCodeAt(c);)c++;if(i-=c,o-=c,i===0)return o;for(var y,m,d,p,f=0,h=0;f<i;)s[c+f]=a.charCodeAt(c+f),t[f]=++f;for(;h<o;)for(y=r.charCodeAt(c+h),d=h++,m=h,f=0;f<i;f++)p=y===s[c+f]?d:d+1,d=t[f],m=t[f]=d>m?p>m?m+1:p:p>d?d+1:p;return m}}}),ka=Z({"node_modules/vnopts/lib/handlers/unknown/leven.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=Nr(),t=UD();e.levenUnknownHandler=(s,a,r)=>{let{descriptor:u,logger:i,schemas:o}=r,c=["Ignored unknown option ".concat(n.default.yellow(u.pair({key:s,value:a})),".")],y=Object.keys(o).sort().find(m=>t(s,m)<3);y&&c.push("Did you mean ".concat(n.default.blue(u.key(y)),"?")),i.warn(c.join(" "))}}}),zD=Z({"node_modules/vnopts/lib/handlers/unknown/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(ka(),e)}}),XD=Z({"node_modules/vnopts/lib/handlers/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(GD(),e),n.__exportStar(Pa(),e),n.__exportStar(zD(),e)}}),vt=Z({"node_modules/vnopts/lib/schema.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];function t(r,u){let i=new r(u),o=Object.create(i);for(let c of n)c in u&&(o[c]=a(u[c],i,s.prototype[c].length));return o}e.createSchema=t;var s=class{constructor(r){this.name=r.name}static create(r){return t(this,r)}default(r){}expected(r){return"nothing"}validate(r,u){return!1}deprecated(r,u){return!1}forward(r,u){}redirect(r,u){}overlap(r,u,i){return r}preprocess(r,u){return r}postprocess(r,u){return r}};e.Schema=s;function a(r,u,i){return typeof r=="function"?function(){for(var o=arguments.length,c=new Array(o),y=0;y<o;y++)c[y]=arguments[y];return r(...c.slice(0,i-1),u,...c.slice(i-1))}:()=>r}}}),KD=Z({"node_modules/vnopts/lib/schemas/alias.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=vt(),t=class extends n.Schema{constructor(s){super(s),this._sourceName=s.sourceName}expected(s){return s.schemas[this._sourceName].expected(s)}validate(s,a){return a.schemas[this._sourceName].validate(s,a)}redirect(s,a){return this._sourceName}};e.AliasSchema=t}}),YD=Z({"node_modules/vnopts/lib/schemas/any.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=vt(),t=class extends n.Schema{expected(){return"anything"}validate(){return!0}};e.AnySchema=t}}),QD=Z({"node_modules/vnopts/lib/schemas/array.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt)),t=vt(),s=class extends t.Schema{constructor(r){var{valueSchema:u,name:i=u.name}=r,o=n.__rest(r,["valueSchema","name"]);super(Object.assign({},o,{name:i})),this._valueSchema=u}expected(r){return"an array of ".concat(this._valueSchema.expected(r))}validate(r,u){if(!Array.isArray(r))return!1;let i=[];for(let o of r){let c=u.normalizeValidateResult(this._valueSchema.validate(o,u),o);c!==!0&&i.push(c.value)}return i.length===0?!0:{value:i}}deprecated(r,u){let i=[];for(let o of r){let c=u.normalizeDeprecatedResult(this._valueSchema.deprecated(o,u),o);c!==!1&&i.push(...c.map(y=>{let{value:m}=y;return{value:[m]}}))}return i}forward(r,u){let i=[];for(let o of r){let c=u.normalizeForwardResult(this._valueSchema.forward(o,u),o);i.push(...c.map(a))}return i}redirect(r,u){let i=[],o=[];for(let c of r){let y=u.normalizeRedirectResult(this._valueSchema.redirect(c,u),c);"remain"in y&&i.push(y.remain),o.push(...y.redirect.map(a))}return i.length===0?{redirect:o}:{redirect:o,remain:i}}overlap(r,u){return r.concat(u)}};e.ArraySchema=s;function a(r){let{from:u,to:i}=r;return{from:[u],to:i}}}}),ZD=Z({"node_modules/vnopts/lib/schemas/boolean.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=vt(),t=class extends n.Schema{expected(){return"true or false"}validate(s){return typeof s=="boolean"}};e.BooleanSchema=t}}),Vn=Z({"node_modules/vnopts/lib/utils.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});function n(p,f){let h=Object.create(null);for(let w of p){let T=w[f];if(h[T])throw new Error("Duplicate ".concat(f," ").concat(JSON.stringify(T)));h[T]=w}return h}e.recordFromArray=n;function t(p,f){let h=new Map;for(let w of p){let T=w[f];if(h.has(T))throw new Error("Duplicate ".concat(f," ").concat(JSON.stringify(T)));h.set(T,w)}return h}e.mapFromArray=t;function s(){let p=Object.create(null);return f=>{let h=JSON.stringify(f);return p[h]?!0:(p[h]=!0,!1)}}e.createAutoChecklist=s;function a(p,f){let h=[],w=[];for(let T of p)f(T)?h.push(T):w.push(T);return[h,w]}e.partition=a;function r(p){return p===Math.floor(p)}e.isInt=r;function u(p,f){if(p===f)return 0;let h=typeof p,w=typeof f,T=["undefined","object","boolean","number","string"];return h!==w?T.indexOf(h)-T.indexOf(w):h!=="string"?Number(p)-Number(f):p.localeCompare(f)}e.comparePrimitive=u;function i(p){return p===void 0?{}:p}e.normalizeDefaultResult=i;function o(p,f){return p===!0?!0:p===!1?{value:f}:p}e.normalizeValidateResult=o;function c(p,f){let h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return p===!1?!1:p===!0?h?!0:[{value:f}]:"value"in p?[p]:p.length===0?!1:p}e.normalizeDeprecatedResult=c;function y(p,f){return typeof p=="string"||"key"in p?{from:f,to:p}:"from"in p?{from:p.from,to:p.to}:{from:f,to:p.to}}e.normalizeTransferResult=y;function m(p,f){return p===void 0?[]:Array.isArray(p)?p.map(h=>y(h,f)):[y(p,f)]}e.normalizeForwardResult=m;function d(p,f){let h=m(typeof p=="object"&&"redirect"in p?p.redirect:p,f);return h.length===0?{remain:f,redirect:h}:typeof p=="object"&&"remain"in p?{remain:p.remain,redirect:h}:{redirect:h}}e.normalizeRedirectResult=d}}),em=Z({"node_modules/vnopts/lib/schemas/choice.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=vt(),t=Vn(),s=class extends n.Schema{constructor(a){super(a),this._choices=t.mapFromArray(a.choices.map(r=>r&&typeof r=="object"?r:{value:r}),"value")}expected(a){let{descriptor:r}=a,u=Array.from(this._choices.keys()).map(c=>this._choices.get(c)).filter(c=>!c.deprecated).map(c=>c.value).sort(t.comparePrimitive).map(r.value),i=u.slice(0,-2),o=u.slice(-2);return i.concat(o.join(" or ")).join(", ")}validate(a){return this._choices.has(a)}deprecated(a){let r=this._choices.get(a);return r&&r.deprecated?{value:a}:!1}forward(a){let r=this._choices.get(a);return r?r.forward:void 0}redirect(a){let r=this._choices.get(a);return r?r.redirect:void 0}};e.ChoiceSchema=s}}),Ia=Z({"node_modules/vnopts/lib/schemas/number.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=vt(),t=class extends n.Schema{expected(){return"a number"}validate(s,a){return typeof s=="number"}};e.NumberSchema=t}}),tm=Z({"node_modules/vnopts/lib/schemas/integer.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=Vn(),t=Ia(),s=class extends t.NumberSchema{expected(){return"an integer"}validate(a,r){return r.normalizeValidateResult(super.validate(a,r),a)===!0&&n.isInt(a)}};e.IntegerSchema=s}}),rm=Z({"node_modules/vnopts/lib/schemas/string.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=vt(),t=class extends n.Schema{expected(){return"a string"}validate(s){return typeof s=="string"}};e.StringSchema=t}}),nm=Z({"node_modules/vnopts/lib/schemas/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(KD(),e),n.__exportStar(YD(),e),n.__exportStar(QD(),e),n.__exportStar(ZD(),e),n.__exportStar(em(),e),n.__exportStar(tm(),e),n.__exportStar(Ia(),e),n.__exportStar(rm(),e)}}),um=Z({"node_modules/vnopts/lib/defaults.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=wa(),t=_a(),s=Pa(),a=ka();e.defaultDescriptor=n.apiDescriptor,e.defaultUnknownHandler=a.levenUnknownHandler,e.defaultInvalidHandler=s.commonInvalidHandler,e.defaultDeprecatedHandler=t.commonDeprecatedHandler}}),sm=Z({"node_modules/vnopts/lib/normalize.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=um(),t=Vn();e.normalize=(a,r,u)=>new s(r,u).normalize(a);var s=class{constructor(a,r){let{logger:u=console,descriptor:i=n.defaultDescriptor,unknown:o=n.defaultUnknownHandler,invalid:c=n.defaultInvalidHandler,deprecated:y=n.defaultDeprecatedHandler}=r||{};this._utils={descriptor:i,logger:u||{warn:()=>{}},schemas:t.recordFromArray(a,"name"),normalizeDefaultResult:t.normalizeDefaultResult,normalizeDeprecatedResult:t.normalizeDeprecatedResult,normalizeForwardResult:t.normalizeForwardResult,normalizeRedirectResult:t.normalizeRedirectResult,normalizeValidateResult:t.normalizeValidateResult},this._unknownHandler=o,this._invalidHandler=c,this._deprecatedHandler=y,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=t.createAutoChecklist()}normalize(a){let r={},u=[a],i=()=>{for(;u.length!==0;){let o=u.shift(),c=this._applyNormalization(o,r);u.push(...c)}};i();for(let o of Object.keys(this._utils.schemas)){let c=this._utils.schemas[o];if(!(o in r)){let y=t.normalizeDefaultResult(c.default(this._utils));"value"in y&&u.push({[o]:y.value})}}i();for(let o of Object.keys(this._utils.schemas)){let c=this._utils.schemas[o];o in r&&(r[o]=c.postprocess(r[o],this._utils))}return r}_applyNormalization(a,r){let u=[],[i,o]=t.partition(Object.keys(a),c=>c in this._utils.schemas);for(let c of i){let y=this._utils.schemas[c],m=y.preprocess(a[c],this._utils),d=t.normalizeValidateResult(y.validate(m,this._utils),m);if(d!==!0){let{value:T}=d,A=this._invalidHandler(c,T,this._utils);throw typeof A=="string"?new Error(A):A}let p=T=>{let{from:A,to:S}=T;u.push(typeof S=="string"?{[S]:A}:{[S.key]:S.value})},f=T=>{let{value:A,redirectTo:S}=T,B=t.normalizeDeprecatedResult(y.deprecated(A,this._utils),m,!0);if(B!==!1)if(B===!0)this._hasDeprecationWarned(c)||this._utils.logger.warn(this._deprecatedHandler(c,S,this._utils));else for(let{value:I}of B){let k={key:c,value:I};if(!this._hasDeprecationWarned(k)){let P=typeof S=="string"?{key:S,value:I}:S;this._utils.logger.warn(this._deprecatedHandler(k,P,this._utils))}}};t.normalizeForwardResult(y.forward(m,this._utils),m).forEach(p);let w=t.normalizeRedirectResult(y.redirect(m,this._utils),m);if(w.redirect.forEach(p),"remain"in w){let T=w.remain;r[c]=c in r?y.overlap(r[c],T,this._utils):T,f({value:T})}for(let{from:T,to:A}of w.redirect)f({value:T,redirectTo:A})}for(let c of o){let y=a[c],m=this._unknownHandler(c,y,this._utils);if(m)for(let d of Object.keys(m)){let p={[d]:m[d]};d in this._utils.schemas?u.push(p):Object.assign(r,p)}}return u}};e.Normalizer=s}}),im=Z({"node_modules/vnopts/lib/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=(ht(),lt(dt));n.__exportStar(HD(),e),n.__exportStar(XD(),e),n.__exportStar(nm(),e),n.__exportStar(sm(),e),n.__exportStar(vt(),e)}}),am=Z({"src/main/options-normalizer.js"(e,n){"use strict";re();var t=im(),s=it(),a={key:d=>d.length===1?"-".concat(d):"--".concat(d),value:d=>t.apiDescriptor.value(d),pair:d=>{let{key:p,value:f}=d;return f===!1?"--no-".concat(p):f===!0?a.key(p):f===""?"".concat(a.key(p)," without an argument"):"".concat(a.key(p),"=").concat(f)}},r=d=>{let{colorsModule:p,levenshteinDistance:f}=d;return class extends t.ChoiceSchema{constructor(w){let{name:T,flags:A}=w;super({name:T,choices:A}),this._flags=[...A].sort()}preprocess(w,T){if(typeof w=="string"&&w.length>0&&!this._flags.includes(w)){let A=this._flags.find(S=>f(S,w)<3);if(A)return T.logger.warn(["Unknown flag ".concat(p.yellow(T.descriptor.value(w)),","),"did you mean ".concat(p.blue(T.descriptor.value(A)),"?")].join(" ")),A}return w}expected(){return"a flag"}}},u;function i(d,p){let{logger:f=!1,isCLI:h=!1,passThrough:w=!1,colorsModule:T=null,levenshteinDistance:A=null}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},S=w?Array.isArray(w)?(D,g)=>w.includes(D)?{[D]:g}:void 0:(D,g)=>({[D]:g}):(D,g,F)=>{let l=F.schemas,{_:E}=l,v=wn(l,Hf);return t.levenUnknownHandler(D,g,Object.assign(Object.assign({},F),{},{schemas:v}))},B=h?a:t.apiDescriptor,I=o(p,{isCLI:h,colorsModule:T,levenshteinDistance:A}),k=new t.Normalizer(I,{logger:f,unknown:S,descriptor:B}),P=f!==!1;P&&u&&(k._hasDeprecationWarned=u);let C=k.normalize(d);return P&&(u=k._hasDeprecationWarned),h&&C["plugin-search"]===!1&&(C["plugin-search-dir"]=!1),C}function o(d,p){let{isCLI:f,colorsModule:h,levenshteinDistance:w}=p,T=[];f&&T.push(t.AnySchema.create({name:"_"}));for(let A of d)T.push(c(A,{isCLI:f,optionInfos:d,colorsModule:h,levenshteinDistance:w})),A.alias&&f&&T.push(t.AliasSchema.create({name:A.alias,sourceName:A.name}));return T}function c(d,p){let{isCLI:f,optionInfos:h,colorsModule:w,levenshteinDistance:T}=p,{name:A}=d;if(A==="plugin-search-dir"||A==="pluginSearchDirs")return t.AnySchema.create({name:A,preprocess(k){return k===!1||(k=Array.isArray(k)?k:[k]),k},validate(k){return k===!1?!0:k.every(P=>typeof P=="string")},expected(){return"false or paths to plugin search dir"}});let S={name:A},B,I={};switch(d.type){case"int":B=t.IntegerSchema,f&&(S.preprocess=Number);break;case"string":B=t.StringSchema;break;case"choice":B=t.ChoiceSchema,S.choices=d.choices.map(k=>typeof k=="object"&&k.redirect?Object.assign(Object.assign({},k),{},{redirect:{to:{key:d.name,value:k.redirect}}}):k);break;case"boolean":B=t.BooleanSchema;break;case"flag":B=r({colorsModule:w,levenshteinDistance:T}),S.flags=h.flatMap(k=>[k.alias,k.description&&k.name,k.oppositeDescription&&"no-".concat(k.name)].filter(Boolean));break;case"path":B=t.StringSchema;break;default:throw new Error("Unexpected type ".concat(d.type))}if(d.exception?S.validate=(k,P,C)=>d.exception(k)||P.validate(k,C):S.validate=(k,P,C)=>k===void 0||P.validate(k,C),d.redirect&&(I.redirect=k=>k?{to:{key:d.redirect.option,value:d.redirect.value}}:void 0),d.deprecated&&(I.deprecated=!0),f&&!d.array){let k=S.preprocess||(P=>P);S.preprocess=(P,C,D)=>C.preprocess(k(Array.isArray(P)?s(P):P),D)}return d.array?t.ArraySchema.create(Object.assign(Object.assign(Object.assign({},f?{preprocess:k=>Array.isArray(k)?k:[k]}:{}),I),{},{valueSchema:B.create(S)})):B.create(Object.assign(Object.assign({},S),I))}function y(d,p,f){return i(d,p,f)}function m(d,p,f){return i(d,p,Object.assign({isCLI:!0},f))}n.exports={normalizeApiOptions:y,normalizeCliOptions:m}}}),st=Z({"src/language-js/loc.js"(e,n){"use strict";re();var t=On();function s(o,c){let{ignoreDecorators:y}=c||{};if(!y){let m=o.declaration&&o.declaration.decorators||o.decorators;if(t(m))return s(m[0])}return o.range?o.range[0]:o.start}function a(o){return o.range?o.range[1]:o.end}function r(o,c){let y=s(o);return Number.isInteger(y)&&y===s(c)}function u(o,c){let y=a(o);return Number.isInteger(y)&&y===a(c)}function i(o,c){return r(o,c)&&u(o,c)}n.exports={locStart:s,locEnd:a,hasSameLocStart:r,hasSameLoc:i}}}),om=Z({"src/main/load-parser.js"(e,n){re(),n.exports=()=>{}}}),lm=Z({"scripts/build/shims/babel-highlight.cjs"(e,n){"use strict";re();var t=Nr(),s={shouldHighlight:()=>!1,getChalk:()=>t};n.exports=s}}),cm=Z({"node_modules/@babel/code-frame/lib/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=u,e.default=i;var n=lm(),t=!1;function s(o){return{gutter:o.grey,marker:o.red.bold,message:o.red.bold}}var a=/\r\n|[\n\r\u2028\u2029]/;function r(o,c,y){let m=Object.assign({column:0,line:-1},o.start),d=Object.assign({},m,o.end),{linesAbove:p=2,linesBelow:f=3}=y||{},h=m.line,w=m.column,T=d.line,A=d.column,S=Math.max(h-(p+1),0),B=Math.min(c.length,T+f);h===-1&&(S=0),T===-1&&(B=c.length);let I=T-h,k={};if(I)for(let P=0;P<=I;P++){let C=P+h;if(!w)k[C]=!0;else if(P===0){let D=c[C-1].length;k[C]=[w,D-w+1]}else if(P===I)k[C]=[0,A];else{let D=c[C-P].length;k[C]=[0,D]}}else w===A?w?k[h]=[w,0]:k[h]=!0:k[h]=[w,A-w];return{start:S,end:B,markerLines:k}}function u(o,c){let y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=(y.highlightCode||y.forceColor)&&(0,n.shouldHighlight)(y),d=(0,n.getChalk)(y),p=s(d),f=(P,C)=>m?P(C):C,h=o.split(a),{start:w,end:T,markerLines:A}=r(c,h,y),S=c.start&&typeof c.start.column=="number",B=String(T).length,k=(m?(0,n.default)(o,y):o).split(a,T).slice(w,T).map((P,C)=>{let D=w+1+C,g=" ".concat(D).slice(-B),F=" ".concat(g," |"),l=A[D],E=!A[D+1];if(l){let v="";if(Array.isArray(l)){let N=P.slice(0,Math.max(l[0]-1,0)).replace(/[^\t]/g," "),x=l[1]||1;v=[`
38
- `,f(p.gutter,F.replace(/\d/g," "))," ",N,f(p.marker,"^").repeat(x)].join(""),E&&y.message&&(v+=" "+f(p.message,y.message))}return[f(p.marker,">"),f(p.gutter,F),P.length>0?" ".concat(P):"",v].join("")}else return" ".concat(f(p.gutter,F)).concat(P.length>0?" ".concat(P):"")}).join(`
39
- `);return y.message&&!S&&(k="".concat(" ".repeat(B+1)).concat(y.message,`
40
- `).concat(k)),m?d.reset(k):k}function i(o,c,y){let m=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(!t){t=!0;let p="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(bt.emitWarning)bt.emitWarning(p,"DeprecationWarning");else{let f=new Error(p);f.name="DeprecationWarning",console.warn(new Error(p))}}return y=Math.max(y,0),u(o,{start:{column:y,line:c}},m)}}}),Wn=Z({"src/main/parser.js"(e,n){"use strict";re();var{ConfigError:t}=Jt(),s=st(),a=om(),{locStart:r,locEnd:u}=s,i=Object.getOwnPropertyNames,o=Object.getOwnPropertyDescriptor;function c(d){let p={};for(let f of d.plugins)if(!!f.parsers)for(let h of i(f.parsers))Object.defineProperty(p,h,o(f.parsers,h));return p}function y(d){let p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:c(d);if(typeof d.parser=="function")return{parse:d.parser,astFormat:"estree",locStart:r,locEnd:u};if(typeof d.parser=="string"){if(Object.prototype.hasOwnProperty.call(p,d.parser))return p[d.parser];throw new t(`Couldn't resolve parser "`.concat(d.parser,'". Parsers must be explicitly added to the standalone bundle.'))}}function m(d,p){let f=c(p),h=Object.defineProperties({},Object.fromEntries(Object.keys(f).map(T=>[T,{enumerable:!0,get(){return f[T].parse}}]))),w=y(p,f);try{return w.preprocess&&(d=w.preprocess(d,p)),{text:d,ast:w.parse(d,h,p)}}catch(T){let{loc:A}=T;if(A){let{codeFrameColumns:S}=cm();throw T.codeFrame=S(d,A,{highlightCode:!0}),T.message+=`
41
- `+T.codeFrame,T}throw T.stack}}n.exports={parse:m,resolveParser:y}}}),La=Z({"src/main/options.js"(e,n){"use strict";re();var t=SD(),{UndefinedParserError:s}=Jt(),{getSupportInfo:a}=jn(),r=am(),{resolveParser:u}=Wn(),i={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function o(m){let d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},p=Object.assign({},m),f=a({plugins:m.plugins,showUnreleased:!0,showDeprecated:!0}).options,h=Object.assign(Object.assign({},i),Object.fromEntries(f.filter(B=>B.default!==void 0).map(B=>[B.name,B.default])));if(!p.parser){if(!p.filepath)(d.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),p.parser="babel";else if(p.parser=y(p.filepath,p.plugins),!p.parser)throw new s("No parser could be inferred for file: ".concat(p.filepath))}let w=u(r.normalizeApiOptions(p,[f.find(B=>B.name==="parser")],{passThrough:!0,logger:!1}));p.astFormat=w.astFormat,p.locEnd=w.locEnd,p.locStart=w.locStart;let T=c(p);p.printer=T.printers[p.astFormat];let A=Object.fromEntries(f.filter(B=>B.pluginDefaults&&B.pluginDefaults[T.name]!==void 0).map(B=>[B.name,B.pluginDefaults[T.name]])),S=Object.assign(Object.assign({},h),A);for(let[B,I]of Object.entries(S))(p[B]===null||p[B]===void 0)&&(p[B]=I);return p.parser==="json"&&(p.trailingComma="none"),r.normalizeApiOptions(p,f,Object.assign({passThrough:Object.keys(i)},d))}function c(m){let{astFormat:d}=m;if(!d)throw new Error("getPlugin() requires astFormat to be set");let p=m.plugins.find(f=>f.printers&&f.printers[d]);if(!p)throw new Error(`Couldn't find plugin for AST format "`.concat(d,'"'));return p}function y(m,d){let p=t.basename(m).toLowerCase(),h=a({plugins:d}).languages.filter(w=>w.since!==null).find(w=>w.extensions&&w.extensions.some(T=>p.endsWith(T))||w.filenames&&w.filenames.some(T=>T.toLowerCase()===p));return h&&h.parsers[0]}n.exports={normalize:o,hiddenDefaults:i,inferParser:y}}}),pm=Z({"src/main/massage-ast.js"(e,n){"use strict";re();function t(s,a,r){if(Array.isArray(s))return s.map(c=>t(c,a,r)).filter(Boolean);if(!s||typeof s!="object")return s;let u=a.printer.massageAstNode,i;u&&u.ignoredProperties?i=u.ignoredProperties:i=new Set;let o={};for(let[c,y]of Object.entries(s))!i.has(c)&&typeof y!="function"&&(o[c]=t(y,a,s));if(u){let c=u(s,o,r);if(c===null)return;if(c)return c}return o}n.exports=t}}),Ut=Z({"scripts/build/shims/assert.cjs"(e,n){"use strict";re();var t=()=>{};t.ok=t,t.strictEqual=t,n.exports=t}}),et=Z({"src/main/comments.js"(e,n){"use strict";re();var t=Ut(),{builders:{line:s,hardline:a,breakParent:r,indent:u,lineSuffix:i,join:o,cursor:c}}=Oe(),{hasNewline:y,skipNewline:m,skipSpaces:d,isPreviousLineEmpty:p,addLeadingComment:f,addDanglingComment:h,addTrailingComment:w}=Ue(),T=new WeakMap;function A(L,M,j){if(!L)return;let{printer:$,locStart:V,locEnd:q}=M;if(j){if($.canAttachComment&&$.canAttachComment(L)){let H;for(H=j.length-1;H>=0&&!(V(j[H])<=V(L)&&q(j[H])<=q(L));--H);j.splice(H+1,0,L);return}}else if(T.has(L))return T.get(L);let Y=$.getCommentChildNodes&&$.getCommentChildNodes(L,M)||typeof L=="object"&&Object.entries(L).filter(H=>{let[R]=H;return R!=="enclosingNode"&&R!=="precedingNode"&&R!=="followingNode"&&R!=="tokens"&&R!=="comments"&&R!=="parent"}).map(H=>{let[,R]=H;return R});if(!!Y){j||(j=[],T.set(L,j));for(let H of Y)A(H,M,j);return j}}function S(L,M,j,$){let{locStart:V,locEnd:q}=j,Y=V(M),H=q(M),R=A(L,j),Q,ee,te=0,oe=R.length;for(;te<oe;){let W=te+oe>>1,X=R[W],ue=V(X),De=q(X);if(ue<=Y&&H<=De)return S(X,M,j,X);if(De<=Y){Q=X,te=W+1;continue}if(H<=ue){ee=X,oe=W;continue}throw new Error("Comment location overlaps with node location")}if($&&$.type==="TemplateLiteral"){let{quasis:W}=$,X=F(W,M,j);Q&&F(W,Q,j)!==X&&(Q=null),ee&&F(W,ee,j)!==X&&(ee=null)}return{enclosingNode:$,precedingNode:Q,followingNode:ee}}var B=()=>!1;function I(L,M,j,$){if(!Array.isArray(L))return;let V=[],{locStart:q,locEnd:Y,printer:{handleComments:H={}}}=$,{avoidAstMutation:R,ownLine:Q=B,endOfLine:ee=B,remaining:te=B}=H,oe=L.map((W,X)=>Object.assign(Object.assign({},S(M,W,$)),{},{comment:W,text:j,options:$,ast:M,isLastComment:L.length-1===X}));for(let[W,X]of oe.entries()){let{comment:ue,precedingNode:De,enclosingNode:ie,followingNode:G,text:z,options:U,ast:le,isLastComment:ge}=X;if(U.parser==="json"||U.parser==="json5"||U.parser==="__js_expression"||U.parser==="__vue_expression"||U.parser==="__vue_ts_expression"){if(q(ue)-q(le)<=0){f(le,ue);continue}if(Y(ue)-Y(le)>=0){w(le,ue);continue}}let Ae;if(R?Ae=[X]:(ue.enclosingNode=ie,ue.precedingNode=De,ue.followingNode=G,Ae=[ue,z,U,le,ge]),P(z,U,oe,W))ue.placement="ownLine",Q(...Ae)||(G?f(G,ue):De?w(De,ue):h(ie||le,ue));else if(C(z,U,oe,W))ue.placement="endOfLine",ee(...Ae)||(De?w(De,ue):G?f(G,ue):h(ie||le,ue));else if(ue.placement="remaining",!te(...Ae))if(De&&G){let Ne=V.length;Ne>0&&V[Ne-1].followingNode!==G&&D(V,z,U),V.push(X)}else De?w(De,ue):G?f(G,ue):h(ie||le,ue)}if(D(V,j,$),!R)for(let W of L)delete W.precedingNode,delete W.enclosingNode,delete W.followingNode}var k=L=>!/[\S\n\u2028\u2029]/.test(L);function P(L,M,j,$){let{comment:V,precedingNode:q}=j[$],{locStart:Y,locEnd:H}=M,R=Y(V);if(q)for(let Q=$-1;Q>=0;Q--){let{comment:ee,precedingNode:te}=j[Q];if(te!==q||!k(L.slice(H(ee),R)))break;R=Y(ee)}return y(L,R,{backwards:!0})}function C(L,M,j,$){let{comment:V,followingNode:q}=j[$],{locStart:Y,locEnd:H}=M,R=H(V);if(q)for(let Q=$+1;Q<j.length;Q++){let{comment:ee,followingNode:te}=j[Q];if(te!==q||!k(L.slice(R,Y(ee))))break;R=H(ee)}return y(L,R)}function D(L,M,j){let $=L.length;if($===0)return;let{precedingNode:V,followingNode:q,enclosingNode:Y}=L[0],H=j.printer.getGapRegex&&j.printer.getGapRegex(Y)||/^[\s(]*$/,R=j.locStart(q),Q;for(Q=$;Q>0;--Q){let{comment:ee,precedingNode:te,followingNode:oe}=L[Q-1];t.strictEqual(te,V),t.strictEqual(oe,q);let W=M.slice(j.locEnd(ee),R);if(H.test(W))R=j.locStart(ee);else break}for(let[ee,{comment:te}]of L.entries())ee<Q?w(V,te):f(q,te);for(let ee of[V,q])ee.comments&&ee.comments.length>1&&ee.comments.sort((te,oe)=>j.locStart(te)-j.locStart(oe));L.length=0}function g(L,M){let j=L.getValue();return j.printed=!0,M.printer.printComment(L,M)}function F(L,M,j){let $=j.locStart(M)-1;for(let V=1;V<L.length;++V)if($<j.locStart(L[V]))return V-1;return 0}function l(L,M){let j=L.getValue(),$=[g(L,M)],{printer:V,originalText:q,locStart:Y,locEnd:H}=M;if(V.isBlockComment&&V.isBlockComment(j)){let ee=y(q,H(j))?y(q,Y(j),{backwards:!0})?a:s:" ";$.push(ee)}else $.push(a);let Q=m(q,d(q,H(j)));return Q!==!1&&y(q,Q)&&$.push(a),$}function E(L,M){let j=L.getValue(),$=g(L,M),{printer:V,originalText:q,locStart:Y}=M,H=V.isBlockComment&&V.isBlockComment(j);if(y(q,Y(j),{backwards:!0})){let Q=p(q,j,Y);return i([a,Q?a:"",$])}let R=[" ",$];return H||(R=[i(R),r]),R}function v(L,M,j,$){let V=[],q=L.getValue();return!q||!q.comments||(L.each(()=>{let Y=L.getValue();!Y.leading&&!Y.trailing&&(!$||$(Y))&&V.push(g(L,M))},"comments"),V.length===0)?"":j?o(a,V):u([a,o(a,V)])}function N(L,M,j){let $=L.getValue();if(!$)return{};let V=$.comments||[];j&&(V=V.filter(R=>!j.has(R)));let q=$===M.cursorNode;if(V.length===0){let R=q?c:"";return{leading:R,trailing:R}}let Y=[],H=[];return L.each(()=>{let R=L.getValue();if(j&&j.has(R))return;let{leading:Q,trailing:ee}=R;Q?Y.push(l(L,M)):ee&&H.push(E(L,M))},"comments"),q&&(Y.unshift(c),H.push(c)),{leading:Y,trailing:H}}function x(L,M,j,$){let{leading:V,trailing:q}=N(L,j,$);return!V&&!q?M:[V,M,q]}function b(L){if(!!L)for(let M of L){if(!M.printed)throw new Error('Comment "'+M.value.trim()+'" was not printed. Please report this error!');delete M.printed}}n.exports={attach:I,printComments:x,printCommentsSeparately:N,printDanglingComments:v,getSortedChildNodes:A,ensureAllCommentsPrinted:b}}}),fm=Z({"src/common/ast-path.js"(e,n){"use strict";re();var t=it();function s(u,i){let o=a(u.stack,i);return o===-1?null:u.stack[o]}function a(u,i){for(let o=u.length-1;o>=0;o-=2){let c=u[o];if(c&&!Array.isArray(c)&&--i<0)return o}return-1}var r=class{constructor(u){this.stack=[u]}getName(){let{stack:u}=this,{length:i}=u;return i>1?u[i-2]:null}getValue(){return t(this.stack)}getNode(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return s(this,u)}getParentNode(){let u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return s(this,u+1)}call(u){let{stack:i}=this,{length:o}=i,c=t(i);for(var y=arguments.length,m=new Array(y>1?y-1:0),d=1;d<y;d++)m[d-1]=arguments[d];for(let f of m)c=c[f],i.push(f,c);let p=u(this);return i.length=o,p}callParent(u){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,o=a(this.stack,i+1),c=this.stack.splice(o+1),y=u(this);return this.stack.push(...c),y}each(u){let{stack:i}=this,{length:o}=i,c=t(i);for(var y=arguments.length,m=new Array(y>1?y-1:0),d=1;d<y;d++)m[d-1]=arguments[d];for(let p of m)c=c[p],i.push(p,c);for(let p=0;p<c.length;++p)i.push(p,c[p]),u(this,p,c),i.length-=2;i.length=o}map(u){let i=[];for(var o=arguments.length,c=new Array(o>1?o-1:0),y=1;y<o;y++)c[y-1]=arguments[y];return this.each((m,d,p)=>{i[d]=u(m,d,p)},...c),i}try(u){let{stack:i}=this,o=[...i];try{return u()}finally{i.length=0,i.push(...o)}}match(){let u=this.stack.length-1,i=null,o=this.stack[u--];for(var c=arguments.length,y=new Array(c),m=0;m<c;m++)y[m]=arguments[m];for(let d of y){if(o===void 0)return!1;let p=null;if(typeof i=="number"&&(p=i,i=this.stack[u--],o=this.stack[u--]),d&&!d(o,i,p))return!1;i=this.stack[u--],o=this.stack[u--]}return!0}findAncestor(u){let i=this.stack.length-1,o=null,c=this.stack[i--];for(;c;){let y=null;if(typeof o=="number"&&(y=o,o=this.stack[i--],c=this.stack[i--]),o!==null&&u(c,o,y))return c;o=this.stack[i--],c=this.stack[i--]}}};n.exports=r}}),Dm=Z({"src/main/multiparser.js"(e,n){"use strict";re();var{utils:{stripTrailingHardline:t}}=Oe(),{normalize:s}=La(),a=et();function r(i,o,c,y){if(c.printer.embed&&c.embeddedLanguageFormatting==="auto")return c.printer.embed(i,o,(m,d,p)=>u(m,d,c,y,p),c)}function u(i,o,c,y){let{stripTrailingHardline:m=!1}=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{},d=s(Object.assign(Object.assign(Object.assign({},c),o),{},{parentParser:c.parser,originalText:i}),{passThrough:!0}),p=Wn().parse(i,d),{ast:f}=p;i=p.text;let h=f.comments;delete f.comments,a.attach(h,f,i,d),d[Symbol.for("comments")]=h||[],d[Symbol.for("tokens")]=f.tokens||[];let w=y(f,d);return a.ensureAllCommentsPrinted(h),m?typeof w=="string"?w.replace(/(?:\r?\n)*$/,""):t(w):w}n.exports={printSubtree:r}}}),mm=Z({"src/main/ast-to-doc.js"(e,n){"use strict";re();var t=fm(),{builders:{hardline:s,addAlignmentToDoc:a},utils:{propagateBreaks:r}}=Oe(),{printComments:u}=et(),i=Dm();function o(m,d){let p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,{printer:f}=d;f.preprocess&&(m=f.preprocess(m,d));let h=new Map,w=new t(m),T=A();return p>0&&(T=a([s,T],p,d.tabWidth)),r(T),T;function A(B,I){return B===void 0||B===w?S(I):Array.isArray(B)?w.call(()=>S(I),...B):w.call(()=>S(I),B)}function S(B){let I=w.getValue(),k=I&&typeof I=="object"&&B===void 0;if(k&&h.has(I))return h.get(I);let P=y(w,d,A,B);return k&&h.set(I,P),P}}function c(m,d){let{originalText:p,[Symbol.for("comments")]:f,locStart:h,locEnd:w}=d,T=h(m),A=w(m),S=new Set;for(let B of f)h(B)>=T&&w(B)<=A&&(B.printed=!0,S.add(B));return{doc:p.slice(T,A),printedComments:S}}function y(m,d,p,f){let h=m.getValue(),{printer:w}=d,T,A;if(w.hasPrettierIgnore&&w.hasPrettierIgnore(m))({doc:T,printedComments:A}=c(h,d));else{if(h)try{T=i.printSubtree(m,p,d,o)}catch(S){if(globalThis.PRETTIER_DEBUG)throw S}T||(T=w.print(m,d,p,f))}return(!w.willPrintOwnComments||!w.willPrintOwnComments(m,d))&&(T=u(m,T,d,A)),T}n.exports=o}}),dm=Z({"src/main/range-util.js"(e,n){"use strict";re();var t=Ut(),s=et(),a=f=>{let{parser:h}=f;return h==="json"||h==="json5"||h==="json-stringify"};function r(f,h){let w=[f.node,...f.parentNodes],T=new Set([h.node,...h.parentNodes]);return w.find(A=>y.has(A.type)&&T.has(A))}function u(f){let h=f.length-1;for(;;){let w=f[h];if(w&&(w.type==="Program"||w.type==="File"))h--;else break}return f.slice(0,h+1)}function i(f,h,w){let{locStart:T,locEnd:A}=w,S=f.node,B=h.node;if(S===B)return{startNode:S,endNode:B};let I=T(f.node);for(let P of u(h.parentNodes))if(T(P)>=I)B=P;else break;let k=A(h.node);for(let P of u(f.parentNodes))if(A(P)<=k)S=P;else break;return{startNode:S,endNode:B}}function o(f,h,w,T){let A=arguments.length>4&&arguments[4]!==void 0?arguments[4]:[],S=arguments.length>5?arguments[5]:void 0,{locStart:B,locEnd:I}=w,k=B(f),P=I(f);if(!(h>P||h<k||S==="rangeEnd"&&h===k||S==="rangeStart"&&h===P)){for(let C of s.getSortedChildNodes(f,w)){let D=o(C,h,w,T,[f,...A],S);if(D)return D}if(!T||T(f,A[0]))return{node:f,parentNodes:A}}}function c(f,h){return h!=="DeclareExportDeclaration"&&f!=="TypeParameterDeclaration"&&(f==="Directive"||f==="TypeAlias"||f==="TSExportAssignment"||f.startsWith("Declare")||f.startsWith("TSDeclare")||f.endsWith("Statement")||f.endsWith("Declaration"))}var y=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),m=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function d(f,h,w){if(!h)return!1;switch(f.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return c(h.type,w&&w.type);case"json":case"json5":case"json-stringify":return y.has(h.type);case"graphql":return m.has(h.kind);case"vue":return h.tag!=="root"}return!1}function p(f,h,w){let{rangeStart:T,rangeEnd:A,locStart:S,locEnd:B}=h;t.ok(A>T);let I=f.slice(T,A).search(/\S/),k=I===-1;if(!k)for(T+=I;A>T&&!/\S/.test(f[A-1]);--A);let P=o(w,T,h,(F,l)=>d(h,F,l),[],"rangeStart"),C=k?P:o(w,A,h,F=>d(h,F),[],"rangeEnd");if(!P||!C)return{rangeStart:0,rangeEnd:0};let D,g;if(a(h)){let F=r(P,C);D=F,g=F}else({startNode:D,endNode:g}=i(P,C,h));return{rangeStart:Math.min(S(D),S(g)),rangeEnd:Math.max(B(D),B(g))}}n.exports={calculateRange:p,findNodeAtOffset:o}}}),gm=Z({"src/main/core.js"(e,n){"use strict";re();var{diffArrays:t}=Zf(),{printer:{printDocToString:s},debug:{printDocToDebug:a}}=Oe(),{getAlignmentSize:r}=Ue(),{guessEndOfLine:u,convertEndOfLineToChars:i,countEndOfLineChars:o,normalizeEndOfLine:c}=kn(),y=La().normalize,m=pm(),d=et(),p=Wn(),f=mm(),h=dm(),w="\uFEFF",T=Symbol("cursor");function A(g,F,l){let E=F.comments;return E&&(delete F.comments,d.attach(E,F,g,l)),l[Symbol.for("comments")]=E||[],l[Symbol.for("tokens")]=F.tokens||[],l.originalText=g,E}function S(g,F){let l=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(!g||g.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:E,text:v}=p.parse(g,F);if(F.cursorOffset>=0){let L=h.findNodeAtOffset(E,F.cursorOffset,F);L&&L.node&&(F.cursorNode=L.node)}let N=A(v,E,F),x=f(E,F,l),b=s(x,F);if(d.ensureAllCommentsPrinted(N),l>0){let L=b.formatted.trim();b.cursorNodeStart!==void 0&&(b.cursorNodeStart-=b.formatted.indexOf(L)),b.formatted=L+i(F.endOfLine)}if(F.cursorOffset>=0){let L,M,j,$,V;if(F.cursorNode&&b.cursorNodeText?(L=F.locStart(F.cursorNode),M=v.slice(L,F.locEnd(F.cursorNode)),j=F.cursorOffset-L,$=b.cursorNodeStart,V=b.cursorNodeText):(L=0,M=v,j=F.cursorOffset,$=0,V=b.formatted),M===V)return{formatted:b.formatted,cursorOffset:$+j,comments:N};let q=[...M];q.splice(j,0,T);let Y=[...V],H=t(q,Y),R=$;for(let Q of H)if(Q.removed){if(Q.value.includes(T))break}else R+=Q.count;return{formatted:b.formatted,cursorOffset:R,comments:N}}return{formatted:b.formatted,cursorOffset:-1,comments:N}}function B(g,F){let{ast:l,text:E}=p.parse(g,F),{rangeStart:v,rangeEnd:N}=h.calculateRange(E,F,l),x=E.slice(v,N),b=Math.min(v,E.lastIndexOf(`
42
- `,v)+1),L=E.slice(b,v).match(/^\s*/)[0],M=r(L,F.tabWidth),j=S(x,Object.assign(Object.assign({},F),{},{rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:F.cursorOffset>v&&F.cursorOffset<=N?F.cursorOffset-v:-1,endOfLine:"lf"}),M),$=j.formatted.trimEnd(),{cursorOffset:V}=F;V>N?V+=$.length-x.length:j.cursorOffset>=0&&(V=j.cursorOffset+v);let q=E.slice(0,v)+$+E.slice(N);if(F.endOfLine!=="lf"){let Y=i(F.endOfLine);V>=0&&Y===`\r
43
- `&&(V+=o(q.slice(0,V),`
44
- `)),q=q.replace(/\n/g,Y)}return{formatted:q,cursorOffset:V,comments:j.comments}}function I(g,F,l){return typeof F!="number"||Number.isNaN(F)||F<0||F>g.length?l:F}function k(g,F){let{cursorOffset:l,rangeStart:E,rangeEnd:v}=F;return l=I(g,l,-1),E=I(g,E,0),v=I(g,v,g.length),Object.assign(Object.assign({},F),{},{cursorOffset:l,rangeStart:E,rangeEnd:v})}function P(g,F){let{cursorOffset:l,rangeStart:E,rangeEnd:v,endOfLine:N}=k(g,F),x=g.charAt(0)===w;if(x&&(g=g.slice(1),l--,E--,v--),N==="auto"&&(N=u(g)),g.includes("\r")){let b=L=>o(g.slice(0,Math.max(L,0)),`\r
45
- `);l-=b(l),E-=b(E),v-=b(v),g=c(g)}return{hasBOM:x,text:g,options:k(g,Object.assign(Object.assign({},F),{},{cursorOffset:l,rangeStart:E,rangeEnd:v,endOfLine:N}))}}function C(g,F){let l=p.resolveParser(F);return!l.hasPragma||l.hasPragma(g)}function D(g,F){let{hasBOM:l,text:E,options:v}=P(g,y(F));if(v.rangeStart>=v.rangeEnd&&E!==""||v.requirePragma&&!C(E,v))return{formatted:g,cursorOffset:F.cursorOffset,comments:[]};let N;return v.rangeStart>0||v.rangeEnd<E.length?N=B(E,v):(!v.requirePragma&&v.insertPragma&&v.printer.insertPragma&&!C(E,v)&&(E=v.printer.insertPragma(E)),N=S(E,v)),l&&(N.formatted=w+N.formatted,N.cursorOffset>=0&&N.cursorOffset++),N}n.exports={formatWithCursor:D,parse(g,F,l){let{text:E,options:v}=P(g,y(F)),N=p.parse(E,v);return l&&(N.ast=m(N.ast,v)),N},formatAST(g,F){F=y(F);let l=f(g,F);return s(l,F)},formatDoc(g,F){return D(a(g),Object.assign(Object.assign({},F),{},{parser:"__js_expression"})).formatted},printToDoc(g,F){F=y(F);let{ast:l,text:E}=p.parse(g,F);return A(E,l,F),f(l,F)},printDocToString(g,F){return s(g,y(F))}}}}),ym=Z({"src/common/util-shared.js"(e,n){"use strict";re();var{getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:r,skip:u,skipWhitespace:i,skipSpaces:o,skipNewline:c,skipToLineEnd:y,skipEverythingButNewLine:m,skipInlineComment:d,skipTrailingComment:p,hasNewline:f,hasNewlineInRange:h,hasSpaces:w,isNextLineEmpty:T,isNextLineEmptyAfterIndex:A,isPreviousLineEmpty:S,getNextNonSpaceNonCommentCharacterIndex:B,makeString:I,addLeadingComment:k,addDanglingComment:P,addTrailingComment:C}=Ue();n.exports={getMaxContinuousCount:t,getStringWidth:s,getAlignmentSize:a,getIndentSize:r,skip:u,skipWhitespace:i,skipSpaces:o,skipNewline:c,skipToLineEnd:y,skipEverythingButNewLine:m,skipInlineComment:d,skipTrailingComment:p,hasNewline:f,hasNewlineInRange:h,hasSpaces:w,isNextLineEmpty:T,isNextLineEmptyAfterIndex:A,isPreviousLineEmpty:S,getNextNonSpaceNonCommentCharacterIndex:B,makeString:I,addLeadingComment:k,addDanglingComment:P,addTrailingComment:C}}}),Tt=Z({"src/utils/create-language.js"(e,n){"use strict";re(),n.exports=function(t,s){let{languageId:a}=t,r=wn(t,Gf);return Object.assign(Object.assign({linguistLanguageId:a},r),s(t))}}}),hm=Z({"node_modules/esutils/lib/ast.js"(e,n){re(),function(){"use strict";function t(o){if(o==null)return!1;switch(o.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function s(o){if(o==null)return!1;switch(o.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function a(o){if(o==null)return!1;switch(o.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function r(o){return a(o)||o!=null&&o.type==="FunctionDeclaration"}function u(o){switch(o.type){case"IfStatement":return o.alternate!=null?o.alternate:o.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return o.body}return null}function i(o){var c;if(o.type!=="IfStatement"||o.alternate==null)return!1;c=o.consequent;do{if(c.type==="IfStatement"&&c.alternate==null)return!0;c=u(c)}while(c);return!1}n.exports={isExpression:t,isStatement:a,isIterationStatement:s,isSourceElement:r,isProblematicIfStatement:i,trailingStatement:u}}()}}),ja=Z({"node_modules/esutils/lib/code.js"(e,n){re(),function(){"use strict";var t,s,a,r,u,i;s={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},t={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\u08A0-\u08B4\u08B6-\u08BD\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\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\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\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-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\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-\u2C2E\u2C30-\u2C5E\u2C60-\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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-\uAB65\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]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function o(A){return 48<=A&&A<=57}function c(A){return 48<=A&&A<=57||97<=A&&A<=102||65<=A&&A<=70}function y(A){return A>=48&&A<=55}a=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function m(A){return A===32||A===9||A===11||A===12||A===160||A>=5760&&a.indexOf(A)>=0}function d(A){return A===10||A===13||A===8232||A===8233}function p(A){if(A<=65535)return String.fromCharCode(A);var S=String.fromCharCode(Math.floor((A-65536)/1024)+55296),B=String.fromCharCode((A-65536)%1024+56320);return S+B}for(r=new Array(128),i=0;i<128;++i)r[i]=i>=97&&i<=122||i>=65&&i<=90||i===36||i===95;for(u=new Array(128),i=0;i<128;++i)u[i]=i>=97&&i<=122||i>=65&&i<=90||i>=48&&i<=57||i===36||i===95;function f(A){return A<128?r[A]:s.NonAsciiIdentifierStart.test(p(A))}function h(A){return A<128?u[A]:s.NonAsciiIdentifierPart.test(p(A))}function w(A){return A<128?r[A]:t.NonAsciiIdentifierStart.test(p(A))}function T(A){return A<128?u[A]:t.NonAsciiIdentifierPart.test(p(A))}n.exports={isDecimalDigit:o,isHexDigit:c,isOctalDigit:y,isWhiteSpace:m,isLineTerminator:d,isIdentifierStartES5:f,isIdentifierPartES5:h,isIdentifierStartES6:w,isIdentifierPartES6:T}}()}}),vm=Z({"node_modules/esutils/lib/keyword.js"(e,n){re(),function(){"use strict";var t=ja();function s(f){switch(f){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function a(f,h){return!h&&f==="yield"?!1:r(f,h)}function r(f,h){if(h&&s(f))return!0;switch(f.length){case 2:return f==="if"||f==="in"||f==="do";case 3:return f==="var"||f==="for"||f==="new"||f==="try";case 4:return f==="this"||f==="else"||f==="case"||f==="void"||f==="with"||f==="enum";case 5:return f==="while"||f==="break"||f==="catch"||f==="throw"||f==="const"||f==="yield"||f==="class"||f==="super";case 6:return f==="return"||f==="typeof"||f==="delete"||f==="switch"||f==="export"||f==="import";case 7:return f==="default"||f==="finally"||f==="extends";case 8:return f==="function"||f==="continue"||f==="debugger";case 10:return f==="instanceof";default:return!1}}function u(f,h){return f==="null"||f==="true"||f==="false"||a(f,h)}function i(f,h){return f==="null"||f==="true"||f==="false"||r(f,h)}function o(f){return f==="eval"||f==="arguments"}function c(f){var h,w,T;if(f.length===0||(T=f.charCodeAt(0),!t.isIdentifierStartES5(T)))return!1;for(h=1,w=f.length;h<w;++h)if(T=f.charCodeAt(h),!t.isIdentifierPartES5(T))return!1;return!0}function y(f,h){return(f-55296)*1024+(h-56320)+65536}function m(f){var h,w,T,A,S;if(f.length===0)return!1;for(S=t.isIdentifierStartES6,h=0,w=f.length;h<w;++h){if(T=f.charCodeAt(h),55296<=T&&T<=56319){if(++h,h>=w||(A=f.charCodeAt(h),!(56320<=A&&A<=57343)))return!1;T=y(T,A)}if(!S(T))return!1;S=t.isIdentifierPartES6}return!0}function d(f,h){return c(f)&&!u(f,h)}function p(f,h){return m(f)&&!i(f,h)}n.exports={isKeywordES5:a,isKeywordES6:r,isReservedWordES5:u,isReservedWordES6:i,isRestrictedWord:o,isIdentifierNameES5:c,isIdentifierNameES6:m,isIdentifierES5:d,isIdentifierES6:p}}()}}),Cm=Z({"node_modules/esutils/lib/utils.js"(e){re(),function(){"use strict";e.ast=hm(),e.code=ja(),e.keyword=vm()}()}}),Pt=Z({"src/language-js/utils/is-block-comment.js"(e,n){"use strict";re();var t=new Set(["Block","CommentBlock","MultiLine"]),s=a=>t.has(a==null?void 0:a.type);n.exports=s}}),Em=Z({"src/language-js/utils/is-node-matches.js"(e,n){"use strict";re();function t(a,r){let u=r.split(".");for(let i=u.length-1;i>=0;i--){let o=u[i];if(i===0)return a.type==="Identifier"&&a.name===o;if(a.type!=="MemberExpression"||a.optional||a.computed||a.property.type!=="Identifier"||a.property.name!==o)return!1;a=a.object}}function s(a,r){return r.some(u=>t(a,u))}n.exports=s}}),Ke=Z({"src/language-js/utils/index.js"(e,n){"use strict";re();var t=Cm().keyword.isIdentifierNameES5,{getLast:s,hasNewline:a,skipWhitespace:r,isNonEmptyArray:u,isNextLineEmptyAfterIndex:i,getStringWidth:o}=Ue(),{locStart:c,locEnd:y,hasSameLocStart:m}=st(),d=Pt(),p=Em(),f="(?:(?=.)\\s)",h=new RegExp("^".concat(f,"*:")),w=new RegExp("^".concat(f,"*::"));function T(O){var fe,Te;return((fe=O.extra)===null||fe===void 0?void 0:fe.parenthesized)&&d((Te=O.trailingComments)===null||Te===void 0?void 0:Te[0])&&h.test(O.trailingComments[0].value)}function A(O){let fe=O==null?void 0:O[0];return d(fe)&&w.test(fe.value)}function S(O,fe){if(!O||typeof O!="object")return!1;if(Array.isArray(O))return O.some($e=>S($e,fe));let Te=fe(O);return typeof Te=="boolean"?Te:Object.values(O).some($e=>S($e,fe))}function B(O){return O.type==="AssignmentExpression"||O.type==="BinaryExpression"||O.type==="LogicalExpression"||O.type==="NGPipeExpression"||O.type==="ConditionalExpression"||ue(O)||De(O)||O.type==="SequenceExpression"||O.type==="TaggedTemplateExpression"||O.type==="BindExpression"||O.type==="UpdateExpression"&&!O.prefix||O.type==="TSAsExpression"||O.type==="TSNonNullExpression"}function I(O){var fe,Te,$e,Je,Ze,ut;return O.expressions?O.expressions[0]:(fe=(Te=($e=(Je=(Ze=(ut=O.left)!==null&&ut!==void 0?ut:O.test)!==null&&Ze!==void 0?Ze:O.callee)!==null&&Je!==void 0?Je:O.object)!==null&&$e!==void 0?$e:O.tag)!==null&&Te!==void 0?Te:O.argument)!==null&&fe!==void 0?fe:O.expression}function k(O,fe){if(fe.expressions)return["expressions",0];if(fe.left)return["left"];if(fe.test)return["test"];if(fe.object)return["object"];if(fe.callee)return["callee"];if(fe.tag)return["tag"];if(fe.argument)return["argument"];if(fe.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function P(O){return O=new Set(O),fe=>O.has(fe==null?void 0:fe.type)}var C=P(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),D=P(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function g(O){let fe=O.getParentNode();return O.getName()==="declaration"&&D(fe)?fe:null}var F=P(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function l(O){return O.type==="NumericLiteral"||O.type==="Literal"&&typeof O.value=="number"}function E(O){return O.type==="UnaryExpression"&&(O.operator==="+"||O.operator==="-")&&l(O.argument)}function v(O){return O.type==="StringLiteral"||O.type==="Literal"&&typeof O.value=="string"}var N=P(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),x=P(["FunctionExpression","ArrowFunctionExpression"]);function b(O){return O.type==="FunctionExpression"||O.type==="ArrowFunctionExpression"&&O.body.type==="BlockStatement"}function L(O){return ue(O)&&O.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(O.callee.name)}var M=P(["JSXElement","JSXFragment"]);function j(O,fe){if(O.parentParser!=="markdown"&&O.parentParser!=="mdx")return!1;let Te=fe.getNode();if(!Te.expression||!M(Te.expression))return!1;let $e=fe.getParentNode();return $e.type==="Program"&&$e.body.length===1}function $(O){return O.kind==="get"||O.kind==="set"}function V(O){return $(O)||m(O,O.value)}function q(O){return(O.type==="ObjectTypeProperty"||O.type==="ObjectTypeInternalSlot")&&O.value.type==="FunctionTypeAnnotation"&&!O.static&&!V(O)}function Y(O){return(O.type==="TypeAnnotation"||O.type==="TSTypeAnnotation")&&O.typeAnnotation.type==="FunctionTypeAnnotation"&&!O.static&&!m(O,O.typeAnnotation)}var H=P(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function R(O){return De(O)||O.type==="BindExpression"&&Boolean(O.object)}var Q=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function ee(O){return O?!!((O.type==="GenericTypeAnnotation"||O.type==="TSTypeReference")&&!O.typeParameters||Q.has(O.type)):!1}function te(O){let fe=/^(?:before|after)(?:Each|All)$/;return O.callee.type==="Identifier"&&fe.test(O.callee.name)&&O.arguments.length===1}var oe=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function W(O){return p(O,oe)}function X(O,fe){if(O.type!=="CallExpression")return!1;if(O.arguments.length===1){if(L(O)&&fe&&X(fe))return x(O.arguments[0]);if(te(O))return L(O.arguments[0])}else if((O.arguments.length===2||O.arguments.length===3)&&(O.arguments[0].type==="TemplateLiteral"||v(O.arguments[0]))&&W(O.callee))return O.arguments[2]&&!l(O.arguments[2])?!1:(O.arguments.length===2?x(O.arguments[1]):b(O.arguments[1])&&Se(O.arguments[1]).length<=1)||L(O.arguments[1]);return!1}var ue=P(["CallExpression","OptionalCallExpression"]),De=P(["MemberExpression","OptionalMemberExpression"]);function ie(O){let fe="expressions";O.type==="TSTemplateLiteralType"&&(fe="types");let Te=O[fe];return Te.length===0?!1:Te.every($e=>{if(se($e))return!1;if($e.type==="Identifier"||$e.type==="ThisExpression")return!0;if(De($e)){let Je=$e;for(;De(Je);)if(Je.property.type!=="Identifier"&&Je.property.type!=="Literal"&&Je.property.type!=="StringLiteral"&&Je.property.type!=="NumericLiteral"||(Je=Je.object,se(Je)))return!1;return Je.type==="Identifier"||Je.type==="ThisExpression"}return!1})}function G(O,fe){return O==="+"||O==="-"?O+fe:fe}function z(O,fe){let Te=c(fe),$e=r(O,y(fe));return $e!==!1&&O.slice(Te,Te+2)==="/*"&&O.slice($e,$e+2)==="*/"}function U(O,fe){return M(fe)?Re(fe):se(fe,Le.Leading,Te=>a(O,y(Te)))}function le(O,fe){return fe.parser!=="json"&&v(O.key)&&ve(O.key).slice(1,-1)===O.key.value&&(t(O.key.value)&&!(fe.parser==="babel-ts"&&O.type==="ClassProperty"||fe.parser==="typescript"&&O.type==="PropertyDefinition")||ge(O.key.value)&&String(Number(O.key.value))===O.key.value&&(fe.parser==="babel"||fe.parser==="acorn"||fe.parser==="espree"||fe.parser==="meriyah"||fe.parser==="__babel_estree"))}function ge(O){return/^(?:\d+|\d+\.\d+)$/.test(O)}function Ae(O,fe){let Te=/^[fx]?(?:describe|it|test)$/;return fe.type==="TaggedTemplateExpression"&&fe.quasi===O&&fe.tag.type==="MemberExpression"&&fe.tag.property.type==="Identifier"&&fe.tag.property.name==="each"&&(fe.tag.object.type==="Identifier"&&Te.test(fe.tag.object.name)||fe.tag.object.type==="MemberExpression"&&fe.tag.object.property.type==="Identifier"&&(fe.tag.object.property.name==="only"||fe.tag.object.property.name==="skip")&&fe.tag.object.object.type==="Identifier"&&Te.test(fe.tag.object.object.name))}function Ne(O){return O.quasis.some(fe=>fe.value.raw.includes(`
46
- `))}function ke(O,fe){return(O.type==="TemplateLiteral"&&Ne(O)||O.type==="TaggedTemplateExpression"&&Ne(O.quasi))&&!a(fe,c(O),{backwards:!0})}function ce(O){if(!se(O))return!1;let fe=s(He(O,Le.Dangling));return fe&&!d(fe)}function pe(O){if(O.length<=1)return!1;let fe=0;for(let Te of O)if(x(Te)){if(fe+=1,fe>1)return!0}else if(ue(Te)){for(let $e of Te.arguments)if(x($e))return!0}return!1}function de(O){let fe=O.getValue(),Te=O.getParentNode();return ue(fe)&&ue(Te)&&Te.callee===fe&&fe.arguments.length>Te.arguments.length&&Te.arguments.length>0}function ae(O,fe){if(fe>=2)return!1;let Te=Je=>ae(Je,fe+1),$e=O.type==="Literal"&&"regex"in O&&O.regex.pattern||O.type==="RegExpLiteral"&&O.pattern;return $e&&o($e)>5?!1:O.type==="Literal"||O.type==="BigIntLiteral"||O.type==="DecimalLiteral"||O.type==="BooleanLiteral"||O.type==="NullLiteral"||O.type==="NumericLiteral"||O.type==="RegExpLiteral"||O.type==="StringLiteral"||O.type==="Identifier"||O.type==="ThisExpression"||O.type==="Super"||O.type==="PrivateName"||O.type==="PrivateIdentifier"||O.type==="ArgumentPlaceholder"||O.type==="Import"?!0:O.type==="TemplateLiteral"?O.quasis.every(Je=>!Je.value.raw.includes(`
47
- `))&&O.expressions.every(Te):O.type==="ObjectExpression"?O.properties.every(Je=>!Je.computed&&(Je.shorthand||Je.value&&Te(Je.value))):O.type==="ArrayExpression"?O.elements.every(Je=>Je===null||Te(Je)):ze(O)?(O.type==="ImportExpression"||ae(O.callee,fe))&&Xe(O).every(Te):De(O)?ae(O.object,fe)&&ae(O.property,fe):O.type==="UnaryExpression"&&(O.operator==="!"||O.operator==="-")?ae(O.argument,fe):O.type==="TSNonNullExpression"?ae(O.expression,fe):!1}function ve(O){var fe,Te;return(fe=(Te=O.extra)===null||Te===void 0?void 0:Te.raw)!==null&&fe!==void 0?fe:O.raw}function K(O){return O}function he(O){return O.filepath&&/\.tsx$/i.test(O.filepath)}function ye(O){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"es5";return O.trailingComma==="es5"&&fe==="es5"||O.trailingComma==="all"&&(fe==="all"||fe==="es5")}function Ce(O,fe){switch(O=Ee(O),O.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return fe;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return Ce(O.object,fe);case"TaggedTemplateExpression":return O.tag.type==="FunctionExpression"?!1:Ce(O.tag,fe);case"CallExpression":case"OptionalCallExpression":return O.callee.type==="FunctionExpression"?!1:Ce(O.callee,fe);case"ConditionalExpression":return Ce(O.test,fe);case"UpdateExpression":return!O.prefix&&Ce(O.argument,fe);case"BindExpression":return O.object&&Ce(O.object,fe);case"SequenceExpression":return Ce(O.expressions[0],fe);case"TSAsExpression":case"TSNonNullExpression":return Ce(O.expression,fe);default:return!1}}var Ie={"==":!0,"!=":!0,"===":!0,"!==":!0},Fe={"*":!0,"/":!0,"%":!0},me={">>":!0,">>>":!0,"<<":!0};function _(O,fe){return!(ne(fe)!==ne(O)||O==="**"||Ie[O]&&Ie[fe]||fe==="%"&&Fe[O]||O==="%"&&Fe[fe]||fe!==O&&Fe[fe]&&Fe[O]||me[O]&&me[fe])}var J=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((O,fe)=>O.map(Te=>[Te,fe])));function ne(O){return J.get(O)}function Ee(O){for(;O.left;)O=O.left;return O}function We(O){return Boolean(me[O])||O==="|"||O==="^"||O==="&"}function Be(O){var fe;if(O.rest)return!0;let Te=Se(O);return((fe=s(Te))===null||fe===void 0?void 0:fe.type)==="RestElement"}var Pe=new WeakMap;function Se(O){if(Pe.has(O))return Pe.get(O);let fe=[];return O.this&&fe.push(O.this),Array.isArray(O.parameters)?fe.push(...O.parameters):Array.isArray(O.params)&&fe.push(...O.params),O.rest&&fe.push(O.rest),Pe.set(O,fe),fe}function Qe(O,fe){let Te=O.getValue(),$e=0,Je=Ze=>fe(Ze,$e++);Te.this&&O.call(Je,"this"),Array.isArray(Te.parameters)?O.each(Je,"parameters"):Array.isArray(Te.params)&&O.each(Je,"params"),Te.rest&&O.call(Je,"rest")}var xe=new WeakMap;function Xe(O){if(xe.has(O))return xe.get(O);let fe=O.arguments;return O.type==="ImportExpression"&&(fe=[O.source],O.attributes&&fe.push(O.attributes)),xe.set(O,fe),fe}function we(O,fe){let Te=O.getValue();Te.type==="ImportExpression"?(O.call($e=>fe($e,0),"source"),Te.attributes&&O.call($e=>fe($e,1),"attributes")):O.each(fe,"arguments")}function je(O){return O.value.trim()==="prettier-ignore"&&!O.unignore}function Re(O){return O&&(O.prettierIgnore||se(O,Le.PrettierIgnore))}function be(O){let fe=O.getValue();return Re(fe)}var Le={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},qe=(O,fe)=>{if(typeof O=="function"&&(fe=O,O=0),O||fe)return(Te,$e,Je)=>!(O&Le.Leading&&!Te.leading||O&Le.Trailing&&!Te.trailing||O&Le.Dangling&&(Te.leading||Te.trailing)||O&Le.Block&&!d(Te)||O&Le.Line&&!C(Te)||O&Le.First&&$e!==0||O&Le.Last&&$e!==Je.length-1||O&Le.PrettierIgnore&&!je(Te)||fe&&!fe(Te))};function se(O,fe,Te){if(!u(O==null?void 0:O.comments))return!1;let $e=qe(fe,Te);return $e?O.comments.some($e):!0}function He(O,fe,Te){if(!Array.isArray(O==null?void 0:O.comments))return[];let $e=qe(fe,Te);return $e?O.comments.filter($e):O.comments}var Me=(O,fe)=>{let{originalText:Te}=fe;return i(Te,y(O))};function ze(O){return ue(O)||O.type==="NewExpression"||O.type==="ImportExpression"}function nt(O){return O&&(O.type==="ObjectProperty"||O.type==="Property"&&!O.method&&O.kind==="init")}function tt(O){return Boolean(O.__isUsingHackPipeline)}var pt=Symbol("ifWithoutBlockAndSameLineComment");n.exports={getFunctionParameters:Se,iterateFunctionParametersPath:Qe,getCallArguments:Xe,iterateCallArgumentsPath:we,hasRestParameter:Be,getLeftSide:I,getLeftSidePathName:k,getParentExportDeclaration:g,getTypeScriptMappedTypeModifier:G,hasFlowAnnotationComment:A,hasFlowShorthandAnnotationComment:T,hasLeadingOwnLineComment:U,hasNakedLeftSide:B,hasNode:S,hasIgnoreComment:be,hasNodeIgnoreComment:Re,identity:K,isBinaryish:H,isCallLikeExpression:ze,isEnabledHackPipeline:tt,isLineComment:C,isPrettierIgnoreComment:je,isCallExpression:ue,isMemberExpression:De,isExportDeclaration:D,isFlowAnnotationComment:z,isFunctionCompositionArgs:pe,isFunctionNotation:V,isFunctionOrArrowExpression:x,isGetterOrSetter:$,isJestEachTemplateLiteral:Ae,isJsxNode:M,isLiteral:F,isLongCurriedCallExpression:de,isSimpleCallArgument:ae,isMemberish:R,isNumericLiteral:l,isSignedNumericLiteral:E,isObjectProperty:nt,isObjectType:N,isObjectTypePropertyAFunction:q,isSimpleType:ee,isSimpleNumber:ge,isSimpleTemplateLiteral:ie,isStringLiteral:v,isStringPropSafeToUnquote:le,isTemplateOnItsOwnLine:ke,isTestCall:X,isTheOnlyJsxElementInMarkdown:j,isTSXFile:he,isTypeAnnotationAFunction:Y,isNextLineEmpty:Me,needsHardlineAfterDanglingComment:ce,rawText:ve,shouldPrintComma:ye,isBitwiseOperator:We,shouldFlatten:_,startsWithNoLookaheadToken:Ce,getPrecedence:ne,hasComment:se,getComments:He,CommentCheckFlags:Le,markerForIfWithoutBlockAndSameLineComment:pt}}}),kt=Z({"src/language-js/print/template-literal.js"(e,n){"use strict";re();var t=it(),{getStringWidth:s,getIndentSize:a}=Ue(),{builders:{join:r,hardline:u,softline:i,group:o,indent:c,align:y,lineSuffixBoundary:m,addAlignmentToDoc:d},printer:{printDocToString:p},utils:{mapDoc:f}}=Oe(),{isBinaryish:h,isJestEachTemplateLiteral:w,isSimpleTemplateLiteral:T,hasComment:A,isMemberExpression:S}=Ke();function B(g,F,l){let E=g.getValue();if(E.type==="TemplateLiteral"&&w(E,g.getParentNode())){let M=I(g,l,F);if(M)return M}let N="expressions";E.type==="TSTemplateLiteralType"&&(N="types");let x=[],b=g.map(F,N),L=T(E);return L&&(b=b.map(M=>p(M,Object.assign(Object.assign({},l),{},{printWidth:Number.POSITIVE_INFINITY})).formatted)),x.push(m,"`"),g.each(M=>{let j=M.getName();if(x.push(F()),j<b.length){let{tabWidth:$}=l,V=M.getValue(),q=a(V.value.raw,$),Y=b[j];if(!L){let R=E[N][j];(A(R)||S(R)||R.type==="ConditionalExpression"||R.type==="SequenceExpression"||R.type==="TSAsExpression"||h(R))&&(Y=[c([i,Y]),i])}let H=q===0&&V.value.raw.endsWith(`
48
- `)?y(Number.NEGATIVE_INFINITY,Y):d(Y,q,$);x.push(o(["${",H,m,"}"]))}},"quasis"),x.push("`"),x}function I(g,F,l){let E=g.getNode(),v=E.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(v.length>1||v.some(N=>N.length>0)){F.__inJestEach=!0;let N=g.map(l,"expressions");F.__inJestEach=!1;let x=[],b=N.map(V=>"${"+p(V,Object.assign(Object.assign({},F),{},{printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"})).formatted+"}"),L=[{hasLineBreak:!1,cells:[]}];for(let V=1;V<E.quasis.length;V++){let q=t(L),Y=b[V-1];q.cells.push(Y),Y.includes(`
49
- `)&&(q.hasLineBreak=!0),E.quasis[V].value.raw.includes(`
50
- `)&&L.push({hasLineBreak:!1,cells:[]})}let M=Math.max(v.length,...L.map(V=>V.cells.length)),j=Array.from({length:M}).fill(0),$=[{cells:v},...L.filter(V=>V.cells.length>0)];for(let{cells:V}of $.filter(q=>!q.hasLineBreak))for(let[q,Y]of V.entries())j[q]=Math.max(j[q],s(Y));return x.push(m,"`",c([u,r(u,$.map(V=>r(" | ",V.cells.map((q,Y)=>V.hasLineBreak?q:q+" ".repeat(j[Y]-s(q))))))]),u,"`"),x}}function k(g,F){let l=g.getValue(),E=F();return A(l)&&(E=o([c([i,E]),i])),["${",E,m,"}"]}function P(g,F){return g.map(l=>k(l,F),"expressions")}function C(g,F){return f(g,l=>typeof l=="string"?F?l.replace(/(\\*)`/g,"$1$1\\`"):D(l):l)}function D(g){return g.replace(/([\\`]|\${)/g,"\\$1")}n.exports={printTemplateLiteral:B,printTemplateExpressions:P,escapeTemplateCharacters:C,uncookTemplateElementValue:D}}}),Fm=Z({"src/language-js/embed/markdown.js"(e,n){"use strict";re();var{builders:{indent:t,softline:s,literalline:a,dedentToRoot:r}}=Oe(),{escapeTemplateCharacters:u}=kt();function i(c,y,m){let p=c.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(T,A)=>"\\".repeat(A.length/2)+"`"),f=o(p),h=f!=="";h&&(p=p.replace(new RegExp("^".concat(f),"gm"),""));let w=u(m(p,{parser:"markdown",__inJsTemplate:!0},{stripTrailingHardline:!0}),!0);return["`",h?t([s,w]):[a,r(w)],s,"`"]}function o(c){let y=c.match(/^([^\S\n]*)\S/m);return y===null?"":y[1]}n.exports=i}}),Am=Z({"src/language-js/embed/css.js"(e,n){"use strict";re();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,hardline:a,softline:r},utils:{mapDoc:u,replaceEndOfLine:i,cleanDoc:o}}=Oe(),{printTemplateExpressions:c}=kt();function y(p,f,h){let w=p.getValue(),T=w.quasis.map(k=>k.value.raw),A=0,S=T.reduce((k,P,C)=>C===0?P:k+"@prettier-placeholder-"+A+++"-id"+P,""),B=h(S,{parser:"scss"},{stripTrailingHardline:!0}),I=c(p,f);return m(B,w,I)}function m(p,f,h){if(f.quasis.length===1&&!f.quasis[0].value.raw.trim())return"``";let T=d(p,h);if(!T)throw new Error("Couldn't insert all the expressions");return["`",s([a,T]),r,"`"]}function d(p,f){if(!t(f))return p;let h=0,w=u(o(p),T=>typeof T!="string"||!T.includes("@prettier-placeholder")?T:T.split(/@prettier-placeholder-(\d+)-id/).map((A,S)=>S%2===0?i(A):(h++,f[A])));return f.length===h?w:null}n.exports=y}}),Sm=Z({"src/language-js/embed/graphql.js"(e,n){"use strict";re();var{builders:{indent:t,join:s,hardline:a}}=Oe(),{escapeTemplateCharacters:r,printTemplateExpressions:u}=kt();function i(c,y,m){let d=c.getValue(),p=d.quasis.length;if(p===1&&d.quasis[0].value.raw.trim()==="")return"``";let f=u(c,y),h=[];for(let w=0;w<p;w++){let T=d.quasis[w],A=w===0,S=w===p-1,B=T.value.cooked,I=B.split(`
51
- `),k=I.length,P=f[w],C=k>2&&I[0].trim()===""&&I[1].trim()==="",D=k>2&&I[k-1].trim()===""&&I[k-2].trim()==="",g=I.every(l=>/^\s*(?:#[^\n\r]*)?$/.test(l));if(!S&&/#[^\n\r]*$/.test(I[k-1]))return null;let F=null;g?F=o(I):F=m(B,{parser:"graphql"},{stripTrailingHardline:!0}),F?(F=r(F,!1),!A&&C&&h.push(""),h.push(F),!S&&D&&h.push("")):!A&&!S&&C&&h.push(""),P&&h.push(P)}return["`",t([a,s(a,h)]),a,"`"]}function o(c){let y=[],m=!1,d=c.map(p=>p.trim());for(let[p,f]of d.entries())f!==""&&(d[p-1]===""&&m?y.push([a,f]):y.push(f),m=!0);return y.length===0?null:s(a,y)}n.exports=i}}),xm=Z({"src/language-js/embed/html.js"(e,n){"use strict";re();var{builders:{indent:t,line:s,hardline:a,group:r},utils:{mapDoc:u}}=Oe(),{printTemplateExpressions:i,uncookTemplateElementValue:o}=kt(),c=0;function y(m,d,p,f,h){let{parser:w}=h,T=m.getValue(),A=c;c=c+1>>>0;let S=E=>"PRETTIER_HTML_PLACEHOLDER_".concat(E,"_").concat(A,"_IN_JS"),B=T.quasis.map((E,v,N)=>v===N.length-1?E.value.cooked:E.value.cooked+S(v)).join(""),I=i(m,d);if(I.length===0&&B.trim().length===0)return"``";let k=new RegExp(S("(\\d+)"),"g"),P=0,C=p(B,{parser:w,__onHtmlRoot(E){P=E.children.length}},{stripTrailingHardline:!0}),D=u(C,E=>{if(typeof E!="string")return E;let v=[],N=E.split(k);for(let x=0;x<N.length;x++){let b=N[x];if(x%2===0){b&&(b=o(b),f.__embeddedInHtml&&(b=b.replace(/<\/(script)\b/gi,"<\\/$1")),v.push(b));continue}let L=Number(b);v.push(I[L])}return v}),g=/^\s/.test(B)?" ":"",F=/\s$/.test(B)?" ":"",l=f.htmlWhitespaceSensitivity==="ignore"?a:g&&F?s:null;return r(l?["`",t([l,r(D)]),l,"`"]:["`",g,P>1?t(r(D)):r(D),F,"`"])}n.exports=y}}),bm=Z({"src/language-js/embed.js"(e,n){"use strict";re();var{hasComment:t,CommentCheckFlags:s,isObjectProperty:a}=Ke(),r=Fm(),u=Am(),i=Sm(),o=xm();function c(C){if(d(C)||w(C)||T(C)||p(C))return"css";if(B(C))return"graphql";if(k(C))return"html";if(f(C))return"angular";if(m(C))return"markdown"}function y(C,D,g,F){let l=C.getValue();if(l.type!=="TemplateLiteral"||P(l))return;let E=c(C);if(!!E){if(E==="markdown")return r(C,D,g);if(E==="css")return u(C,D,g);if(E==="graphql")return i(C,D,g);if(E==="html"||E==="angular")return o(C,D,g,F,{parser:E})}}function m(C){let D=C.getValue(),g=C.getParentNode();return g&&g.type==="TaggedTemplateExpression"&&D.quasis.length===1&&g.tag.type==="Identifier"&&(g.tag.name==="md"||g.tag.name==="markdown")}function d(C){let D=C.getValue(),g=C.getParentNode(),F=C.getParentNode(1);return F&&D.quasis&&g.type==="JSXExpressionContainer"&&F.type==="JSXElement"&&F.openingElement.name.name==="style"&&F.openingElement.attributes.some(l=>l.name.name==="jsx")||g&&g.type==="TaggedTemplateExpression"&&g.tag.type==="Identifier"&&g.tag.name==="css"||g&&g.type==="TaggedTemplateExpression"&&g.tag.type==="MemberExpression"&&g.tag.object.name==="css"&&(g.tag.property.name==="global"||g.tag.property.name==="resolve")}function p(C){return C.match(D=>D.type==="TemplateLiteral",(D,g)=>D.type==="ArrayExpression"&&g==="elements",(D,g)=>a(D)&&D.key.type==="Identifier"&&D.key.name==="styles"&&g==="value",...h)}function f(C){return C.match(D=>D.type==="TemplateLiteral",(D,g)=>a(D)&&D.key.type==="Identifier"&&D.key.name==="template"&&g==="value",...h)}var h=[(C,D)=>C.type==="ObjectExpression"&&D==="properties",(C,D)=>C.type==="CallExpression"&&C.callee.type==="Identifier"&&C.callee.name==="Component"&&D==="arguments",(C,D)=>C.type==="Decorator"&&D==="expression"];function w(C){let D=C.getParentNode();if(!D||D.type!=="TaggedTemplateExpression")return!1;let g=D.tag.type==="ParenthesizedExpression"?D.tag.expression:D.tag;switch(g.type){case"MemberExpression":return A(g.object)||S(g);case"CallExpression":return A(g.callee)||g.callee.type==="MemberExpression"&&(g.callee.object.type==="MemberExpression"&&(A(g.callee.object.object)||S(g.callee.object))||g.callee.object.type==="CallExpression"&&A(g.callee.object.callee));case"Identifier":return g.name==="css";default:return!1}}function T(C){let D=C.getParentNode(),g=C.getParentNode(1);return g&&D.type==="JSXExpressionContainer"&&g.type==="JSXAttribute"&&g.name.type==="JSXIdentifier"&&g.name.name==="css"}function A(C){return C.type==="Identifier"&&C.name==="styled"}function S(C){return/^[A-Z]/.test(C.object.name)&&C.property.name==="extend"}function B(C){let D=C.getValue(),g=C.getParentNode();return I(D,"GraphQL")||g&&(g.type==="TaggedTemplateExpression"&&(g.tag.type==="MemberExpression"&&g.tag.object.name==="graphql"&&g.tag.property.name==="experimental"||g.tag.type==="Identifier"&&(g.tag.name==="gql"||g.tag.name==="graphql"))||g.type==="CallExpression"&&g.callee.type==="Identifier"&&g.callee.name==="graphql")}function I(C,D){return t(C,s.Block|s.Leading,g=>{let{value:F}=g;return F===" ".concat(D," ")})}function k(C){return I(C.getValue(),"HTML")||C.match(D=>D.type==="TemplateLiteral",(D,g)=>D.type==="TaggedTemplateExpression"&&D.tag.type==="Identifier"&&D.tag.name==="html"&&g==="quasi")}function P(C){let{quasis:D}=C;return D.some(g=>{let{value:{cooked:F}}=g;return F===null})}n.exports=y}}),Tm=Z({"src/language-js/clean.js"(e,n){"use strict";re();var t=Pt(),s=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),a=u=>{for(let i of u.quasis)delete i.value};function r(u,i,o){if(u.type==="Program"&&delete i.sourceType,(u.type==="BigIntLiteral"||u.type==="BigIntLiteralTypeAnnotation")&&i.value&&(i.value=i.value.toLowerCase()),(u.type==="BigIntLiteral"||u.type==="Literal")&&i.bigint&&(i.bigint=i.bigint.toLowerCase()),u.type==="DecimalLiteral"&&(i.value=Number(i.value)),u.type==="Literal"&&i.decimal&&(i.decimal=Number(i.decimal)),u.type==="EmptyStatement"||u.type==="JSXText"||u.type==="JSXExpressionContainer"&&(u.expression.type==="Literal"||u.expression.type==="StringLiteral")&&u.expression.value===" ")return null;if((u.type==="Property"||u.type==="ObjectProperty"||u.type==="MethodDefinition"||u.type==="ClassProperty"||u.type==="ClassMethod"||u.type==="PropertyDefinition"||u.type==="TSDeclareMethod"||u.type==="TSPropertySignature"||u.type==="ObjectTypeProperty")&&typeof u.key=="object"&&u.key&&(u.key.type==="Literal"||u.key.type==="NumericLiteral"||u.key.type==="StringLiteral"||u.key.type==="Identifier")&&delete i.key,u.type==="JSXElement"&&u.openingElement.name.name==="style"&&u.openingElement.attributes.some(m=>m.name.name==="jsx"))for(let{type:m,expression:d}of i.children)m==="JSXExpressionContainer"&&d.type==="TemplateLiteral"&&a(d);u.type==="JSXAttribute"&&u.name.name==="css"&&u.value.type==="JSXExpressionContainer"&&u.value.expression.type==="TemplateLiteral"&&a(i.value.expression),u.type==="JSXAttribute"&&u.value&&u.value.type==="Literal"&&/["']|&quot;|&apos;/.test(u.value.value)&&(i.value.value=i.value.value.replace(/["']|&quot;|&apos;/g,'"'));let c=u.expression||u.callee;if(u.type==="Decorator"&&c.type==="CallExpression"&&c.callee.name==="Component"&&c.arguments.length===1){let m=u.expression.arguments[0].properties;for(let[d,p]of i.expression.arguments[0].properties.entries())switch(m[d].key.name){case"styles":p.value.type==="ArrayExpression"&&a(p.value.elements[0]);break;case"template":p.value.type==="TemplateLiteral"&&a(p.value);break}}if(u.type==="TaggedTemplateExpression"&&(u.tag.type==="MemberExpression"||u.tag.type==="Identifier"&&(u.tag.name==="gql"||u.tag.name==="graphql"||u.tag.name==="css"||u.tag.name==="md"||u.tag.name==="markdown"||u.tag.name==="html")||u.tag.type==="CallExpression")&&a(i.quasi),u.type==="TemplateLiteral"){var y;(((y=u.leadingComments)===null||y===void 0?void 0:y.some(d=>t(d)&&["GraphQL","HTML"].some(p=>d.value===" ".concat(p," "))))||o.type==="CallExpression"&&o.callee.name==="graphql"||!u.leadingComments)&&a(i)}if(u.type==="InterpreterDirective"&&(i.value=i.value.trimEnd()),(u.type==="TSIntersectionType"||u.type==="TSUnionType")&&u.types.length===1)return i.types[0]}r.ignoredProperties=s,n.exports=r}}),Oa={};Gt(Oa,{EOL:()=>Nn,arch:()=>Bm,cpus:()=>Ha,default:()=>Xa,endianness:()=>qa,freemem:()=>Wa,getNetworkInterfaces:()=>za,hostname:()=>Ma,loadavg:()=>Ra,networkInterfaces:()=>Ua,platform:()=>Nm,release:()=>Ja,tmpDir:()=>Tn,tmpdir:()=>Bn,totalmem:()=>$a,type:()=>Ga,uptime:()=>Va});function qa(){if(typeof Fr>"u"){var e=new ArrayBuffer(2),n=new Uint8Array(e),t=new Uint16Array(e);if(n[0]=1,n[1]=2,t[0]===258)Fr="BE";else if(t[0]===513)Fr="LE";else throw new Error("unable to figure out endianess")}return Fr}function Ma(){return typeof globalThis.location<"u"?globalThis.location.hostname:""}function Ra(){return[]}function Va(){return 0}function Wa(){return Number.MAX_VALUE}function $a(){return Number.MAX_VALUE}function Ha(){return[]}function Ga(){return"Browser"}function Ja(){return typeof globalThis.navigator<"u"?globalThis.navigator.appVersion:""}function Ua(){}function za(){}function Bm(){return"javascript"}function Nm(){return"browser"}function Tn(){return"/tmp"}var Fr,Bn,Nn,Xa,wm=mt({"node-modules-polyfills:os"(){re(),Bn=Tn,Nn=`
52
- `,Xa={EOL:Nn,tmpdir:Bn,tmpDir:Tn,networkInterfaces:Ua,getNetworkInterfaces:za,release:Ja,type:Ga,cpus:Ha,totalmem:$a,freemem:Wa,uptime:Va,loadavg:Ra,hostname:Ma,endianness:qa}}}),_m=Z({"node-modules-polyfills-commonjs:os"(e,n){re();var t=(wm(),lt(Oa));if(t&&t.default){n.exports=t.default;for(let s in t)n.exports[s]=t[s]}else t&&(n.exports=t)}}),Pm=Z({"node_modules/detect-newline/index.js"(e,n){"use strict";re();var t=s=>{if(typeof s!="string")throw new TypeError("Expected a string");let a=s.match(/(?:\r?\n)/g)||[];if(a.length===0)return;let r=a.filter(i=>i===`\r
53
- `).length,u=a.length-r;return r>u?`\r
54
- `:`
55
- `};n.exports=t,n.exports.graceful=s=>typeof s=="string"&&t(s)||`
56
- `}}),km=Z({"node_modules/jest-docblock/build/index.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.extract=p,e.parse=h,e.parseWithComments=w,e.print=T,e.strip=f;function n(){let S=_m();return n=function(){return S},S}function t(){let S=s(Pm());return t=function(){return S},S}function s(S){return S&&S.__esModule?S:{default:S}}var a=/\*\/$/,r=/^\/\*\*/,u=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,i=/(^|\s+)\/\/([^\r\n]*)/g,o=/^(\r?\n)+/,c=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,y=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,m=/(\r?\n|^) *\* ?/g,d=[];function p(S){let B=S.match(u);return B?B[0].trimLeft():""}function f(S){let B=S.match(u);return B&&B[0]?S.substring(B[0].length):S}function h(S){return w(S).pragmas}function w(S){let B=(0,t().default)(S)||n().EOL;S=S.replace(r,"").replace(a,"").replace(m,"$1");let I="";for(;I!==S;)I=S,S=S.replace(c,"".concat(B,"$1 $2").concat(B));S=S.replace(o,"").trimRight();let k=Object.create(null),P=S.replace(y,"").replace(o,"").trimRight(),C;for(;C=y.exec(S);){let D=C[2].replace(i,"");typeof k[C[1]]=="string"||Array.isArray(k[C[1]])?k[C[1]]=d.concat(k[C[1]],D):k[C[1]]=D}return{comments:P,pragmas:k}}function T(S){let{comments:B="",pragmas:I={}}=S,k=(0,t().default)(B)||n().EOL,P="/**",C=" *",D=" */",g=Object.keys(I),F=g.map(E=>A(E,I[E])).reduce((E,v)=>E.concat(v),[]).map(E=>C+" "+E+k).join("");if(!B){if(g.length===0)return"";if(g.length===1&&!Array.isArray(I[g[0]])){let E=I[g[0]];return"".concat(P," ").concat(A(g[0],E)[0]).concat(D)}}let l=B.split(k).map(E=>"".concat(C," ").concat(E)).join(k)+k;return P+k+(B?l:"")+(B&&g.length?C+k:"")+F+D}function A(S,B){return d.concat(B).map(I=>"@".concat(S," ").concat(I).trim())}}}),Im=Z({"src/language-js/utils/get-shebang.js"(e,n){"use strict";re();function t(s){if(!s.startsWith("#!"))return"";let a=s.indexOf(`
57
- `);return a===-1?s:s.slice(0,a)}n.exports=t}}),Ka=Z({"src/language-js/pragma.js"(e,n){"use strict";re();var{parseWithComments:t,strip:s,extract:a,print:r}=km(),{normalizeEndOfLine:u}=kn(),i=Im();function o(m){let d=i(m);d&&(m=m.slice(d.length+1));let p=a(m),{pragmas:f,comments:h}=t(p);return{shebang:d,text:m,pragmas:f,comments:h}}function c(m){let d=Object.keys(o(m).pragmas);return d.includes("prettier")||d.includes("format")}function y(m){let{shebang:d,text:p,pragmas:f,comments:h}=o(m),w=s(p),T=r({pragmas:Object.assign({format:""},f),comments:h.trimStart()});return(d?"".concat(d,`
58
- `):"")+u(T)+(w.startsWith(`
45
+ `,cliCategory:oo},tabWidth:{type:"int",category:Ar,default:2,description:"Number of spaces per indentation level.",range:{start:0,end:Number.POSITIVE_INFINITY,step:1}},useTabs:{since:"1.0.0",category:Ar,type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{since:"2.1.0",category:Ar,type:"choice",default:[{since:"2.1.0",value:"auto"}],description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};var co="3.0.0-alpha.0";function Nr({plugins:e=[],showUnreleased:t=!1,showDeprecated:r=!1,showInternal:n=!1}={}){let u=co.split("-",1)[0],i=e.flatMap(l=>l.languages||[]).filter(a),s=Up(Object.assign({},...e.map(({options:l})=>l),Yp),"name").filter(l=>a(l)&&o(l)).sort((l,f)=>l.name===f.name?0:l.name<f.name?-1:1).map(c).map(l=>{l={...l},Array.isArray(l.default)&&(l.default=l.default.length===1?l.default[0].value:l.default.filter(a).sort((m,D)=>(0,Kp.default)(D.since,m.since))[0].value),Array.isArray(l.choices)&&(l.choices=l.choices.filter(m=>a(m)&&o(m)),l.name==="parser"&&DE(l,i,e));let f=Object.fromEntries(e.filter(m=>m.defaultOptions&&m.defaultOptions[l.name]!==void 0).map(m=>[m.name,m.defaultOptions[l.name]]));return{...l,pluginDefaults:f}});return{languages:i,options:s};function a(l){return t||!("since"in l)||l.since&&(0,Xp.default)(u,l.since)}function o(l){return r||!("deprecated"in l)||l.deprecated&&(0,zp.default)(u,l.deprecated)}function c(l){if(n)return l;let{cliName:f,cliCategory:m,cliDescription:D,...y}=l;return y}}function DE(e,t,r){let n=new Set(e.choices.map(u=>u.value));for(let u of t)if(u.parsers){for(let i of u.parsers)if(!n.has(i)){n.add(i);let s=r.find(o=>o.parsers&&o.parsers[i]),a=u.name;s&&s.name&&(a+=` (plugin: ${s.name})`),e.choices.push({value:i,description:a})}}}p();function di(e){return(t,r,n)=>{let u=n&&n.backwards;if(r===!1)return!1;let{length:i}=t,s=r;for(;s>=0&&s<i;){let a=t.charAt(s);if(e instanceof RegExp){if(!e.test(a))return s}else if(!e.includes(a))return s;u?s--:s++}return s===-1||s===i?s:!1}}var ru=di(/\s/),mt=di(" "),yi=di(",; "),fn=di(/[^\n\r]/);p();function dE(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}var mn=dE;p();function yE(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?fn(e,t):t}var Dn=yE;p();function gE(e,t,r){let n=r&&r.backwards;if(t===!1)return!1;let u=e.charAt(t);if(n){if(e.charAt(t-1)==="\r"&&u===`
46
+ `)return t-2;if(u===`
47
+ `||u==="\r"||u==="\u2028"||u==="\u2029")return t-1}else{if(u==="\r"&&e.charAt(t+1)===`
48
+ `)return t+2;if(u===`
49
+ `||u==="\r"||u==="\u2028"||u==="\u2029")return t+1}return t}var xt=gE;p();function hE(e,t){let r=null,n=t;for(;n!==r;)r=n,n=mt(e,n),n=mn(e,n),n=Dn(e,n),n=xt(e,n);return n}var dn=hE;p();function EE(e){return Array.isArray(e)&&e.length>0}var O=EE;var Qp=e=>e[e.length-2];function Zp(e){return(t,r,n)=>{let u=n&&n.backwards;if(r===!1)return!1;let{length:i}=t,s=r;for(;s>=0&&s<i;){let a=t.charAt(s);if(e instanceof RegExp){if(!e.test(a))return s}else if(!e.includes(a))return s;u?s--:s++}return s===-1||s===i?s:!1}}function ee(e,t,r={}){let n=mt(e,r.backwards?t-1:t,r),u=xt(e,n,r);return n!==u}function $t(e,t,r){for(let n=t;n<r;++n)if(e.charAt(n)===`
50
+ `)return!0;return!1}function yn(e,t,r){let n=r(t)-1;n=mt(e,n,{backwards:!0}),n=xt(e,n,{backwards:!0}),n=mt(e,n,{backwards:!0});let u=xt(e,n,{backwards:!0});return n!==u}function _r(e,t){let r=null,n=t;for(;n!==r;)r=n,n=yi(e,n),n=mn(e,n),n=mt(e,n);return n=Dn(e,n),n=xt(e,n),n!==!1&&ee(e,n)}function Fr(e,t,r){return _r(e,r(t))}function tr(e,t,r){return dn(e,r(t))}function St(e,t,r){return e.charAt(tr(e,t,r))}function ef(e,t,r={}){return mt(e,r.backwards?t-1:t,r)!==t}function nu(e,t,r=0){let n=0;for(let u=r;u<e.length;++u)e[u]===" "?n=n+t-n%t:n++;return n}function gi(e,t){let r=e.lastIndexOf(`
51
+ `);return r===-1?0:nu(e.slice(r+1).match(/^[\t ]*/)[0],t)}function Or(e,t){let r={quote:'"',regex:/"/g,escaped:"&quot;"},n={quote:"'",regex:/'/g,escaped:"&apos;"},u=t==="'"?n:r,i=u===n?r:n,s=u;if(e.includes(u.quote)||e.includes(i.quote)){let a=(e.match(u.regex)||[]).length,o=(e.match(i.regex)||[]).length;s=a>o?i:u}return s}function Vt(e,t){let r=e.slice(1,-1),n=t.parser==="json"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":Or(r,t.singleQuote?"'":'"').quote;return lo(r,n,!(t.parser==="css"||t.parser==="less"||t.parser==="scss"||t.__embeddedInHtml))}function lo(e,t,r){let n=t==='"'?"'":'"',u=/\\(.)|(["'])/gs,i=e.replace(u,(s,a,o)=>a===n?a:o===t?"\\"+o:o||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return t+i+t}function qe(e){return e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(\d)/,"$1$2$3").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}function gn(e,t){let r=e.match(new RegExp(`(${li(t)})+`,"g"));return r===null?0:r.reduce((n,u)=>Math.max(n,u.length/t.length),0)}function tf(e,t){let r=e.match(new RegExp(`(${li(t)})+`,"g"));if(r===null)return 0;let n=new Map,u=0;for(let i of r){let s=i.length/t.length;n.set(s,!0),s>u&&(u=s)}for(let i=1;i<u;i++)if(!n.get(i))return i;return u+1}function po(e,t){(e.comments||(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=CE(e)}function ue(e,t){t.leading=!0,t.trailing=!1,po(e,t)}function fe(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),po(e,t)}function re(e,t){t.leading=!1,t.trailing=!0,po(e,t)}function uu(e,t){let{languages:r}=Nr({plugins:t.plugins}),n=r.find(({name:u})=>u.toLowerCase()===e)||r.find(({aliases:u})=>Array.isArray(u)&&u.includes(e))||r.find(({extensions:u})=>Array.isArray(u)&&u.includes(`.${e}`));return n&&n.parsers[0]}function Ue(e){return e&&e.type==="front-matter"}function hi(e){let t=new WeakMap;return function(r){return t.has(r)||t.set(r,Symbol(e)),t.get(r)}}function CE(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"\u2026"),t+(r?" "+r:"")}p();p();function rf(e,t){for(var r=0,n=e.length-1;n>=0;n--){var u=e[n];u==="."?e.splice(n,1):u===".."?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}var AE=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,mo=function(e){return AE.exec(e).slice(1)};function fo(){for(var e="",t=!1,r=arguments.length-1;r>=-1&&!t;r--){var n=r>=0?arguments[r]:"/";if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!n)continue;e=n+"/"+e,t=n.charAt(0)==="/"}return e=rf(Do(e.split("/"),function(u){return!!u}),!t).join("/"),(t?"/":"")+e||"."}function nf(e){var t=uf(e),r=wE(e,-1)==="/";return e=rf(Do(e.split("/"),function(n){return!!n}),!t).join("/"),!e&&!t&&(e="."),e&&r&&(e+="/"),(t?"/":"")+e}function uf(e){return e.charAt(0)==="/"}function FE(){var e=Array.prototype.slice.call(arguments,0);return nf(Do(e,function(t,r){if(typeof t!="string")throw new TypeError("Arguments to path.join must be strings");return t}).join("/"))}function xE(e,t){e=fo(e).substr(1),t=fo(t).substr(1);function r(c){for(var l=0;l<c.length&&c[l]==="";l++);for(var f=c.length-1;f>=0&&c[f]==="";f--);return l>f?[]:c.slice(l,f-l+1)}for(var n=r(e.split("/")),u=r(t.split("/")),i=Math.min(n.length,u.length),s=i,a=0;a<i;a++)if(n[a]!==u[a]){s=a;break}for(var o=[],a=s;a<n.length;a++)o.push("..");return o=o.concat(u.slice(s)),o.join("/")}var SE="/",TE=":";function bE(e){var t=mo(e),r=t[0],n=t[1];return!r&&!n?".":(n&&(n=n.substr(0,n.length-1)),r+n)}function BE(e,t){var r=mo(e)[2];return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r}function vE(e){return mo(e)[3]}var sf={extname:vE,basename:BE,dirname:bE,sep:SE,delimiter:TE,relative:xE,join:FE,isAbsolute:uf,normalize:nf,resolve:fo};function Do(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}var wE="ab".substr(-1)==="b"?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)};p();var Ei=class extends Error{};var Ci=class extends Error{},xr=class extends Error{};p();p();var Oe=Ct(kf(),1);var vi={key:e=>e.length===1?`-${e}`:`--${e}`,value:e=>Oe.default.apiDescriptor.value(e),pair:({key:e,value:t})=>t===!1?`--no-${e}`:t===!0?vi.key(e):t===""?`${vi.key(e)} without an argument`:`${vi.key(e)}=${t}`},bC=({colorsModule:e,levenshteinDistance:t})=>{var r,n;return n=class extends Oe.default.ChoiceSchema{constructor({name:s,flags:a}){super({name:s,choices:a});ap(this,r,[]);op(this,r,[...a].sort())}preprocess(s,a){if(typeof s=="string"&&s.length>0&&!Ma(this,r).includes(s)){let o=Ma(this,r).find(c=>t(c,s)<3);if(o)return a.logger.warn([`Unknown flag ${e.yellow(a.descriptor.value(s))},`,`did you mean ${e.blue(a.descriptor.value(o))}?`].join(" ")),o}return s}expected(){return"a flag"}},r=new WeakMap,n},Qo;function BC(e,t,{logger:r=!1,isCLI:n=!1,passThrough:u=!1,colorsModule:i=null,levenshteinDistance:s=null}={}){let a=u?Array.isArray(u)?(D,y)=>u.includes(D)?{[D]:y}:void 0:(D,y)=>({[D]:y}):(D,y,E)=>{let{_:C,...T}=E.schemas;return Oe.default.levenUnknownHandler(D,y,{...E,schemas:T})},o=n?vi:Oe.default.apiDescriptor,c=vC(t,{isCLI:n,colorsModule:i,levenshteinDistance:s}),l=new Oe.default.Normalizer(c,{logger:r,unknown:a,descriptor:o}),f=r!==!1;f&&Qo&&(l._hasDeprecationWarned=Qo);let m=l.normalize(e);return f&&(Qo=l._hasDeprecationWarned),n&&m["plugin-search"]===!1&&(m["plugin-search-dir"]=!1),m}function vC(e,{isCLI:t,colorsModule:r,levenshteinDistance:n}){let u=[];t&&u.push(Oe.default.AnySchema.create({name:"_"}));for(let i of e)u.push(wC(i,{isCLI:t,optionInfos:e,colorsModule:r,levenshteinDistance:n})),i.alias&&t&&u.push(Oe.default.AliasSchema.create({name:i.alias,sourceName:i.name}));return u}function wC(e,{isCLI:t,optionInfos:r,colorsModule:n,levenshteinDistance:u}){let{name:i}=e;if(i==="plugin-search-dir"||i==="pluginSearchDirs")return Oe.default.AnySchema.create({name:i,preprocess(c){return c===!1||(c=Array.isArray(c)?c:[c]),c},validate(c){return c===!1?!0:c.every(l=>typeof l=="string")},expected(){return"false or paths to plugin search dir"}});let s={name:i},a,o={};switch(e.type){case"int":a=Oe.default.IntegerSchema,t&&(s.preprocess=Number);break;case"string":a=Oe.default.StringSchema;break;case"choice":a=Oe.default.ChoiceSchema,s.choices=e.choices.map(c=>typeof c=="object"&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":a=Oe.default.BooleanSchema;break;case"flag":a=bC({colorsModule:n,levenshteinDistance:u}),s.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":a=Oe.default.StringSchema;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?s.validate=(c,l,f)=>e.exception(c)||l.validate(c,f):s.validate=(c,l,f)=>c===void 0||l.validate(c,f),e.redirect&&(o.redirect=c=>c?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(o.deprecated=!0),t&&!e.array){let c=s.preprocess||(l=>l);s.preprocess=(l,f,m)=>f.preprocess(c(Array.isArray(l)?I(l):l),m)}return e.array?Oe.default.ArraySchema.create({...t?{preprocess:c=>Array.isArray(c)?c:[c]}:{},...o,valueSchema:a.create(s)}):a.create({...s,...o})}function Zo(e,t,r){return BC(e,t,r)}p();function cu({plugins:e,parser:t}){for(let{parsers:r}of e)if(r&&Object.prototype.hasOwnProperty.call(r,t))return r[t];throw new Ei(`Couldn't resolve parser "${t}". Parsers must be explicitly added to the standalone bundle.`)}async function jr(e,t){let r=cu(t),n=r.preprocess?r.preprocess(e,t):e,u;try{u=await r.parse(n,t,t)}catch(i){await _C(i,e)}return{text:n,ast:u}}async function _C(e,t){let{loc:r}=e;if(r){let{codeFrameColumns:n}=await Promise.resolve().then(()=>Ct(Mf(),1));throw e.codeFrame=n(t,r,{highlightCode:!0}),e.message+=`
52
+ `+e.codeFrame,e}throw e}var jf={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};function Tr(e,t={}){let r={...e},n=Nr({plugins:e.plugins,showUnreleased:!0,showDeprecated:!0}).options,u={...jf,...Object.fromEntries(n.filter(c=>c.default!==void 0).map(c=>[c.name,c.default]))};if(!r.parser){if(!r.filepath)(t.logger||console).warn("No parser and no filepath given, using 'babel' the parser now but this will throw an error in the future. Please specify a parser or a filepath so one can be inferred."),r.parser="babel";else if(r.parser=RC(r.filepath,r.plugins),!r.parser)throw new Ci(`No parser could be inferred for file: ${r.filepath}`)}let i=cu(Zo(r,[n.find(c=>c.name==="parser")],{passThrough:!0,logger:!1}));r.astFormat=i.astFormat,r.locEnd=i.locEnd,r.locStart=i.locStart;let s=OC(r);r.printer=s.printers[r.astFormat];let a=Object.fromEntries(n.filter(c=>c.pluginDefaults&&c.pluginDefaults[s.name]!==void 0).map(c=>[c.name,c.pluginDefaults[s.name]])),o={...u,...a};for(let[c,l]of Object.entries(o))(r[c]===null||r[c]===void 0)&&(r[c]=l);return r.parser==="json"&&(r.trailingComma="none"),Zo(r,n,{passThrough:Object.keys(jf),...t})}function OC(e){let{astFormat:t}=e;if(!t)throw new Error("getPlugin() requires astFormat to be set");let r=e.plugins.find(n=>n.printers&&n.printers[t]);if(!r)throw new Error(`Couldn't find plugin for AST format "${t}"`);return r}function RC(e,t){let r=sf.basename(e).toLowerCase(),u=Nr({plugins:t}).languages.filter(i=>i.since!==null).find(i=>i.extensions&&i.extensions.some(s=>r.endsWith(s))||i.filenames&&i.filenames.some(s=>s.toLowerCase()===r));return u&&u.parsers[0]}p();p();var $f=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),MC=e=>Object.keys(e).filter(t=>!$f.has(t));function jC(e){return e?t=>e(t,$f):MC}var En=jC;function $C(e,t){var a;let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let u=En(n),i=(a=r.ignoredProperties)!=null?a:new Set;return s(e);function s(o,c){if(!(o!==null&&typeof o=="object"))return o;if(Array.isArray(o))return o.map(D=>s(D,c)).filter(Boolean);let l={},f=new Set(u(o));for(let D in o)!Object.prototype.hasOwnProperty.call(o,D)||i.has(D)||(f.has(D)?l[D]=s(o[D],o):l[D]=o[D]);let m=r(o,l,c);if(m!==null)return m!=null?m:l}}var Vf=$C;p();p();p();var Ut=[],Dt=[],VC=typeof Uint8Array<"u"?Uint8Array:Array,rc=!1;function Gf(){rc=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0,r=e.length;t<r;++t)Ut[t]=e[t],Dt[e.charCodeAt(t)]=t;Dt["-".charCodeAt(0)]=62,Dt["_".charCodeAt(0)]=63}function qC(e){rc||Gf();var t,r,n,u,i,s,a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");i=e[a-2]==="="?2:e[a-1]==="="?1:0,s=new VC(a*3/4-i),n=i>0?a-4:a;var o=0;for(t=0,r=0;t<n;t+=4,r+=3)u=Dt[e.charCodeAt(t)]<<18|Dt[e.charCodeAt(t+1)]<<12|Dt[e.charCodeAt(t+2)]<<6|Dt[e.charCodeAt(t+3)],s[o++]=u>>16&255,s[o++]=u>>8&255,s[o++]=u&255;return i===2?(u=Dt[e.charCodeAt(t)]<<2|Dt[e.charCodeAt(t+1)]>>4,s[o++]=u&255):i===1&&(u=Dt[e.charCodeAt(t)]<<10|Dt[e.charCodeAt(t+1)]<<4|Dt[e.charCodeAt(t+2)]>>2,s[o++]=u>>8&255,s[o++]=u&255),s}function UC(e){return Ut[e>>18&63]+Ut[e>>12&63]+Ut[e>>6&63]+Ut[e&63]}function WC(e,t,r){for(var n,u=[],i=t;i<r;i+=3)n=(e[i]<<16)+(e[i+1]<<8)+e[i+2],u.push(UC(n));return u.join("")}function qf(e){rc||Gf();for(var t,r=e.length,n=r%3,u="",i=[],s=16383,a=0,o=r-n;a<o;a+=s)i.push(WC(e,a,a+s>o?o:a+s));return n===1?(t=e[r-1],u+=Ut[t>>2],u+=Ut[t<<4&63],u+="=="):n===2&&(t=(e[r-2]<<8)+e[r-1],u+=Ut[t>>10],u+=Ut[t>>4&63],u+=Ut[t<<2&63],u+="="),i.push(u),i.join("")}function ki(e,t,r,n,u){var i,s,a=u*8-n-1,o=(1<<a)-1,c=o>>1,l=-7,f=r?u-1:0,m=r?-1:1,D=e[t+f];for(f+=m,i=D&(1<<-l)-1,D>>=-l,l+=a;l>0;i=i*256+e[t+f],f+=m,l-=8);for(s=i&(1<<-l)-1,i>>=-l,l+=n;l>0;s=s*256+e[t+f],f+=m,l-=8);if(i===0)i=1-c;else{if(i===o)return s?NaN:(D?-1:1)*(1/0);s=s+Math.pow(2,n),i=i-c}return(D?-1:1)*s*Math.pow(2,i-n)}function Jf(e,t,r,n,u,i){var s,a,o,c=i*8-u-1,l=(1<<c)-1,f=l>>1,m=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,D=n?0:i-1,y=n?1:-1,E=t<0||t===0&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=l):(s=Math.floor(Math.log(t)/Math.LN2),t*(o=Math.pow(2,-s))<1&&(s--,o*=2),s+f>=1?t+=m/o:t+=m*Math.pow(2,1-f),t*o>=2&&(s++,o/=2),s+f>=l?(a=0,s=l):s+f>=1?(a=(t*o-1)*Math.pow(2,u),s=s+f):(a=t*Math.pow(2,f-1)*Math.pow(2,u),s=0));u>=8;e[r+D]=a&255,D+=y,a/=256,u-=8);for(s=s<<u|a,c+=u;c>0;e[r+D]=s&255,D+=y,s/=256,c-=8);e[r+D-y]|=E*128}var GC={}.toString,Hf=Array.isArray||function(e){return GC.call(e)=="[object Array]"};var JC=50;P.TYPED_ARRAY_SUPPORT=globalThis.TYPED_ARRAY_SUPPORT!==void 0?globalThis.TYPED_ARRAY_SUPPORT:!0;var Rv=Pi();function Pi(){return P.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ir(e,t){if(Pi()<t)throw new RangeError("Invalid typed array length");return P.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=P.prototype):(e===null&&(e=new P(t)),e.length=t),e}function P(e,t,r){if(!P.TYPED_ARRAY_SUPPORT&&!(this instanceof P))return new P(e,t,r);if(typeof e=="number"){if(typeof t=="string")throw new Error("If encoding is specified then the first argument must be a string");return nc(this,e)}return Yf(this,e,t,r)}P.poolSize=8192;P._augment=function(e){return e.__proto__=P.prototype,e};function Yf(e,t,r,n){if(typeof t=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer<"u"&&t instanceof ArrayBuffer?KC(e,t,r,n):typeof t=="string"?YC(e,t,r):XC(e,t)}P.from=function(e,t,r){return Yf(null,e,t,r)};P.TYPED_ARRAY_SUPPORT&&(P.prototype.__proto__=Uint8Array.prototype,P.__proto__=Uint8Array);function Kf(e){if(typeof e!="number")throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function HC(e,t,r,n){return Kf(t),t<=0?ir(e,t):r!==void 0?typeof n=="string"?ir(e,t).fill(r,n):ir(e,t).fill(r):ir(e,t)}P.alloc=function(e,t,r){return HC(null,e,t,r)};function nc(e,t){if(Kf(t),e=ir(e,t<0?0:uc(t)|0),!P.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}P.allocUnsafe=function(e){return nc(null,e)};P.allocUnsafeSlow=function(e){return nc(null,e)};function YC(e,t,r){if((typeof r!="string"||r==="")&&(r="utf8"),!P.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=Xf(t,r)|0;e=ir(e,n);var u=e.write(t,r);return u!==n&&(e=e.slice(0,u)),e}function tc(e,t){var r=t.length<0?0:uc(t.length)|0;e=ir(e,r);for(var n=0;n<r;n+=1)e[n]=t[n]&255;return e}function KC(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return r===void 0&&n===void 0?t=new Uint8Array(t):n===void 0?t=new Uint8Array(t,r):t=new Uint8Array(t,r,n),P.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=P.prototype):e=tc(e,t),e}function XC(e,t){if(Wt(t)){var r=uc(t.length)|0;return e=ir(e,r),e.length===0||t.copy(e,0,0,r),e}if(t){if(typeof ArrayBuffer<"u"&&t.buffer instanceof ArrayBuffer||"length"in t)return typeof t.length!="number"||dA(t.length)?ir(e,0):tc(e,t);if(t.type==="Buffer"&&Hf(t.data))return tc(e,t.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function uc(e){if(e>=Pi())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Pi().toString(16)+" bytes");return e|0}P.isBuffer=Vr;function Wt(e){return!!(e!=null&&e._isBuffer)}P.compare=function(t,r){if(!Wt(t)||!Wt(r))throw new TypeError("Arguments must be Buffers");if(t===r)return 0;for(var n=t.length,u=r.length,i=0,s=Math.min(n,u);i<s;++i)if(t[i]!==r[i]){n=t[i],u=r[i];break}return n<u?-1:u<n?1:0};P.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};P.concat=function(t,r){if(!Hf(t))throw new TypeError('"list" argument must be an Array of Buffers');if(t.length===0)return P.alloc(0);var n;if(r===void 0)for(r=0,n=0;n<t.length;++n)r+=t[n].length;var u=P.allocUnsafe(r),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!Wt(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(u,i),i+=s.length}return u};function Xf(e,t){if(Wt(e))return e.length;if(typeof ArrayBuffer<"u"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;typeof e!="string"&&(e=""+e);var r=e.length;if(r===0)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Ii(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return r*2;case"hex":return r>>>1;case"base64":return nm(e).length;default:if(n)return Ii(e).length;t=(""+t).toLowerCase(),n=!0}}P.byteLength=Xf;function zC(e,t,r){var n=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((r===void 0||r>this.length)&&(r=this.length),r<=0)||(r>>>=0,t>>>=0,r<=t))return"";for(e||(e="utf8");;)switch(e){case"hex":return aA(this,t,r);case"utf8":case"utf-8":return Zf(this,t,r);case"ascii":return iA(this,t,r);case"latin1":case"binary":return sA(this,t,r);case"base64":return nA(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oA(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}P.prototype._isBuffer=!0;function $r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}P.prototype.swap16=function(){var t=this.length;if(t%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var r=0;r<t;r+=2)$r(this,r,r+1);return this};P.prototype.swap32=function(){var t=this.length;if(t%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var r=0;r<t;r+=4)$r(this,r,r+3),$r(this,r+1,r+2);return this};P.prototype.swap64=function(){var t=this.length;if(t%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var r=0;r<t;r+=8)$r(this,r,r+7),$r(this,r+1,r+6),$r(this,r+2,r+5),$r(this,r+3,r+4);return this};P.prototype.toString=function(){var t=this.length|0;return t===0?"":arguments.length===0?Zf(this,0,t):zC.apply(this,arguments)};P.prototype.equals=function(t){if(!Wt(t))throw new TypeError("Argument must be a Buffer");return this===t?!0:P.compare(this,t)===0};P.prototype.inspect=function(){var t="",r=JC;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"};P.prototype.compare=function(t,r,n,u,i){if(!Wt(t))throw new TypeError("Argument must be a Buffer");if(r===void 0&&(r=0),n===void 0&&(n=t?t.length:0),u===void 0&&(u=0),i===void 0&&(i=this.length),r<0||n>t.length||u<0||i>this.length)throw new RangeError("out of range index");if(u>=i&&r>=n)return 0;if(u>=i)return-1;if(r>=n)return 1;if(r>>>=0,n>>>=0,u>>>=0,i>>>=0,this===t)return 0;for(var s=i-u,a=n-r,o=Math.min(s,a),c=this.slice(u,i),l=t.slice(r,n),f=0;f<o;++f)if(c[f]!==l[f]){s=c[f],a=l[f];break}return s<a?-1:a<s?1:0};function zf(e,t,r,n,u){if(e.length===0)return-1;if(typeof r=="string"?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=u?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(u)return-1;r=e.length-1}else if(r<0)if(u)r=0;else return-1;if(typeof t=="string"&&(t=P.from(t,n)),Wt(t))return t.length===0?-1:Uf(e,t,r,n,u);if(typeof t=="number")return t=t&255,P.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?u?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):Uf(e,[t],r,n,u);throw new TypeError("val must be string, number or Buffer")}function Uf(e,t,r,n,u){var i=1,s=e.length,a=t.length;if(n!==void 0&&(n=String(n).toLowerCase(),n==="ucs2"||n==="ucs-2"||n==="utf16le"||n==="utf-16le")){if(e.length<2||t.length<2)return-1;i=2,s/=2,a/=2,r/=2}function o(D,y){return i===1?D[y]:D.readUInt16BE(y*i)}var c;if(u){var l=-1;for(c=r;c<s;c++)if(o(e,c)===o(t,l===-1?0:c-l)){if(l===-1&&(l=c),c-l+1===a)return l*i}else l!==-1&&(c-=c-l),l=-1}else for(r+a>s&&(r=s-a),c=r;c>=0;c--){for(var f=!0,m=0;m<a;m++)if(o(e,c+m)!==o(t,m)){f=!1;break}if(f)return c}return-1}P.prototype.includes=function(t,r,n){return this.indexOf(t,r,n)!==-1};P.prototype.indexOf=function(t,r,n){return zf(this,t,r,n,!0)};P.prototype.lastIndexOf=function(t,r,n){return zf(this,t,r,n,!1)};function QC(e,t,r,n){r=Number(r)||0;var u=e.length-r;n?(n=Number(n),n>u&&(n=u)):n=u;var i=t.length;if(i%2!==0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(s*2,2),16);if(isNaN(a))return s;e[r+s]=a}return s}function ZC(e,t,r,n){return _i(Ii(t,e.length-r),e,r,n)}function Qf(e,t,r,n){return _i(mA(t),e,r,n)}function eA(e,t,r,n){return Qf(e,t,r,n)}function tA(e,t,r,n){return _i(nm(t),e,r,n)}function rA(e,t,r,n){return _i(DA(t,e.length-r),e,r,n)}P.prototype.write=function(t,r,n,u){if(r===void 0)u="utf8",n=this.length,r=0;else if(n===void 0&&typeof r=="string")u=r,n=this.length,r=0;else if(isFinite(r))r=r|0,isFinite(n)?(n=n|0,u===void 0&&(u="utf8")):(u=n,n=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i=this.length-r;if((n===void 0||n>i)&&(n=i),t.length>0&&(n<0||r<0)||r>this.length)throw new RangeError("Attempt to write outside buffer bounds");u||(u="utf8");for(var s=!1;;)switch(u){case"hex":return QC(this,t,r,n);case"utf8":case"utf-8":return ZC(this,t,r,n);case"ascii":return Qf(this,t,r,n);case"latin1":case"binary":return eA(this,t,r,n);case"base64":return tA(this,t,r,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rA(this,t,r,n);default:if(s)throw new TypeError("Unknown encoding: "+u);u=(""+u).toLowerCase(),s=!0}};P.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function nA(e,t,r){return t===0&&r===e.length?qf(e):qf(e.slice(t,r))}function Zf(e,t,r){r=Math.min(e.length,r);for(var n=[],u=t;u<r;){var i=e[u],s=null,a=i>239?4:i>223?3:i>191?2:1;if(u+a<=r){var o,c,l,f;switch(a){case 1:i<128&&(s=i);break;case 2:o=e[u+1],(o&192)===128&&(f=(i&31)<<6|o&63,f>127&&(s=f));break;case 3:o=e[u+1],c=e[u+2],(o&192)===128&&(c&192)===128&&(f=(i&15)<<12|(o&63)<<6|c&63,f>2047&&(f<55296||f>57343)&&(s=f));break;case 4:o=e[u+1],c=e[u+2],l=e[u+3],(o&192)===128&&(c&192)===128&&(l&192)===128&&(f=(i&15)<<18|(o&63)<<12|(c&63)<<6|l&63,f>65535&&f<1114112&&(s=f))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,n.push(s>>>10&1023|55296),s=56320|s&1023),n.push(s),u+=a}return uA(n)}var Wf=4096;function uA(e){var t=e.length;if(t<=Wf)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=Wf));return r}function iA(e,t,r){var n="";r=Math.min(e.length,r);for(var u=t;u<r;++u)n+=String.fromCharCode(e[u]&127);return n}function sA(e,t,r){var n="";r=Math.min(e.length,r);for(var u=t;u<r;++u)n+=String.fromCharCode(e[u]);return n}function aA(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var u="",i=t;i<r;++i)u+=fA(e[i]);return u}function oA(e,t,r){for(var n=e.slice(t,r),u="",i=0;i<n.length;i+=2)u+=String.fromCharCode(n[i]+n[i+1]*256);return u}P.prototype.slice=function(t,r){var n=this.length;t=~~t,r=r===void 0?n:~~r,t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),r<0?(r+=n,r<0&&(r=0)):r>n&&(r=n),r<t&&(r=t);var u;if(P.TYPED_ARRAY_SUPPORT)u=this.subarray(t,r),u.__proto__=P.prototype;else{var i=r-t;u=new P(i,void 0);for(var s=0;s<i;++s)u[s]=this[s+t]}return u};function xe(e,t,r){if(e%1!==0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}P.prototype.readUIntLE=function(t,r,n){t=t|0,r=r|0,n||xe(t,r,this.length);for(var u=this[t],i=1,s=0;++s<r&&(i*=256);)u+=this[t+s]*i;return u};P.prototype.readUIntBE=function(t,r,n){t=t|0,r=r|0,n||xe(t,r,this.length);for(var u=this[t+--r],i=1;r>0&&(i*=256);)u+=this[t+--r]*i;return u};P.prototype.readUInt8=function(t,r){return r||xe(t,1,this.length),this[t]};P.prototype.readUInt16LE=function(t,r){return r||xe(t,2,this.length),this[t]|this[t+1]<<8};P.prototype.readUInt16BE=function(t,r){return r||xe(t,2,this.length),this[t]<<8|this[t+1]};P.prototype.readUInt32LE=function(t,r){return r||xe(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+this[t+3]*16777216};P.prototype.readUInt32BE=function(t,r){return r||xe(t,4,this.length),this[t]*16777216+(this[t+1]<<16|this[t+2]<<8|this[t+3])};P.prototype.readIntLE=function(t,r,n){t=t|0,r=r|0,n||xe(t,r,this.length);for(var u=this[t],i=1,s=0;++s<r&&(i*=256);)u+=this[t+s]*i;return i*=128,u>=i&&(u-=Math.pow(2,8*r)),u};P.prototype.readIntBE=function(t,r,n){t=t|0,r=r|0,n||xe(t,r,this.length);for(var u=r,i=1,s=this[t+--u];u>0&&(i*=256);)s+=this[t+--u]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*r)),s};P.prototype.readInt8=function(t,r){return r||xe(t,1,this.length),this[t]&128?(255-this[t]+1)*-1:this[t]};P.prototype.readInt16LE=function(t,r){r||xe(t,2,this.length);var n=this[t]|this[t+1]<<8;return n&32768?n|4294901760:n};P.prototype.readInt16BE=function(t,r){r||xe(t,2,this.length);var n=this[t+1]|this[t]<<8;return n&32768?n|4294901760:n};P.prototype.readInt32LE=function(t,r){return r||xe(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24};P.prototype.readInt32BE=function(t,r){return r||xe(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]};P.prototype.readFloatLE=function(t,r){return r||xe(t,4,this.length),ki(this,t,!0,23,4)};P.prototype.readFloatBE=function(t,r){return r||xe(t,4,this.length),ki(this,t,!1,23,4)};P.prototype.readDoubleLE=function(t,r){return r||xe(t,8,this.length),ki(this,t,!0,52,8)};P.prototype.readDoubleBE=function(t,r){return r||xe(t,8,this.length),ki(this,t,!1,52,8)};function Ge(e,t,r,n,u,i){if(!Wt(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>u||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}P.prototype.writeUIntLE=function(t,r,n,u){if(t=+t,r=r|0,n=n|0,!u){var i=Math.pow(2,8*n)-1;Ge(this,t,r,n,i,0)}var s=1,a=0;for(this[r]=t&255;++a<n&&(s*=256);)this[r+a]=t/s&255;return r+n};P.prototype.writeUIntBE=function(t,r,n,u){if(t=+t,r=r|0,n=n|0,!u){var i=Math.pow(2,8*n)-1;Ge(this,t,r,n,i,0)}var s=n-1,a=1;for(this[r+s]=t&255;--s>=0&&(a*=256);)this[r+s]=t/a&255;return r+n};P.prototype.writeUInt8=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,1,255,0),P.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[r]=t&255,r+1};function Li(e,t,r,n){t<0&&(t=65535+t+1);for(var u=0,i=Math.min(e.length-r,2);u<i;++u)e[r+u]=(t&255<<8*(n?u:1-u))>>>(n?u:1-u)*8}P.prototype.writeUInt16LE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,2,65535,0),P.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Li(this,t,r,!0),r+2};P.prototype.writeUInt16BE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,2,65535,0),P.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Li(this,t,r,!1),r+2};function Ni(e,t,r,n){t<0&&(t=4294967295+t+1);for(var u=0,i=Math.min(e.length-r,4);u<i;++u)e[r+u]=t>>>(n?u:3-u)*8&255}P.prototype.writeUInt32LE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,4,4294967295,0),P.TYPED_ARRAY_SUPPORT?(this[r+3]=t>>>24,this[r+2]=t>>>16,this[r+1]=t>>>8,this[r]=t&255):Ni(this,t,r,!0),r+4};P.prototype.writeUInt32BE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,4,4294967295,0),P.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):Ni(this,t,r,!1),r+4};P.prototype.writeIntLE=function(t,r,n,u){if(t=+t,r=r|0,!u){var i=Math.pow(2,8*n-1);Ge(this,t,r,n,i-1,-i)}var s=0,a=1,o=0;for(this[r]=t&255;++s<n&&(a*=256);)t<0&&o===0&&this[r+s-1]!==0&&(o=1),this[r+s]=(t/a>>0)-o&255;return r+n};P.prototype.writeIntBE=function(t,r,n,u){if(t=+t,r=r|0,!u){var i=Math.pow(2,8*n-1);Ge(this,t,r,n,i-1,-i)}var s=n-1,a=1,o=0;for(this[r+s]=t&255;--s>=0&&(a*=256);)t<0&&o===0&&this[r+s+1]!==0&&(o=1),this[r+s]=(t/a>>0)-o&255;return r+n};P.prototype.writeInt8=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,1,127,-128),P.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[r]=t&255,r+1};P.prototype.writeInt16LE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,2,32767,-32768),P.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8):Li(this,t,r,!0),r+2};P.prototype.writeInt16BE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,2,32767,-32768),P.TYPED_ARRAY_SUPPORT?(this[r]=t>>>8,this[r+1]=t&255):Li(this,t,r,!1),r+2};P.prototype.writeInt32LE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,4,2147483647,-2147483648),P.TYPED_ARRAY_SUPPORT?(this[r]=t&255,this[r+1]=t>>>8,this[r+2]=t>>>16,this[r+3]=t>>>24):Ni(this,t,r,!0),r+4};P.prototype.writeInt32BE=function(t,r,n){return t=+t,r=r|0,n||Ge(this,t,r,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),P.TYPED_ARRAY_SUPPORT?(this[r]=t>>>24,this[r+1]=t>>>16,this[r+2]=t>>>8,this[r+3]=t&255):Ni(this,t,r,!1),r+4};function em(e,t,r,n,u,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function tm(e,t,r,n,u){return u||em(e,t,r,4),Jf(e,t,r,n,23,4),r+4}P.prototype.writeFloatLE=function(t,r,n){return tm(this,t,r,!0,n)};P.prototype.writeFloatBE=function(t,r,n){return tm(this,t,r,!1,n)};function rm(e,t,r,n,u){return u||em(e,t,r,8),Jf(e,t,r,n,52,8),r+8}P.prototype.writeDoubleLE=function(t,r,n){return rm(this,t,r,!0,n)};P.prototype.writeDoubleBE=function(t,r,n){return rm(this,t,r,!1,n)};P.prototype.copy=function(t,r,n,u){if(n||(n=0),!u&&u!==0&&(u=this.length),r>=t.length&&(r=t.length),r||(r=0),u>0&&u<n&&(u=n),u===n||t.length===0||this.length===0)return 0;if(r<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(u<0)throw new RangeError("sourceEnd out of bounds");u>this.length&&(u=this.length),t.length-r<u-n&&(u=t.length-r+n);var i=u-n,s;if(this===t&&n<r&&r<u)for(s=i-1;s>=0;--s)t[s+r]=this[s+n];else if(i<1e3||!P.TYPED_ARRAY_SUPPORT)for(s=0;s<i;++s)t[s+r]=this[s+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+i),r);return i};P.prototype.fill=function(t,r,n,u){if(typeof t=="string"){if(typeof r=="string"?(u=r,r=0,n=this.length):typeof n=="string"&&(u=n,n=this.length),t.length===1){var i=t.charCodeAt(0);i<256&&(t=i)}if(u!==void 0&&typeof u!="string")throw new TypeError("encoding must be a string");if(typeof u=="string"&&!P.isEncoding(u))throw new TypeError("Unknown encoding: "+u)}else typeof t=="number"&&(t=t&255);if(r<0||this.length<r||this.length<n)throw new RangeError("Out of range index");if(n<=r)return this;r=r>>>0,n=n===void 0?this.length:n>>>0,t||(t=0);var s;if(typeof t=="number")for(s=r;s<n;++s)this[s]=t;else{var a=Wt(t)?t:Ii(new P(t,u).toString()),o=a.length;for(s=0;s<n-r;++s)this[s+r]=a[s%o]}return this};var cA=/[^+\/0-9A-Za-z-_]/g;function lA(e){if(e=pA(e).replace(cA,""),e.length<2)return"";for(;e.length%4!==0;)e=e+"=";return e}function pA(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function fA(e){return e<16?"0"+e.toString(16):e.toString(16)}function Ii(e,t){t=t||1/0;for(var r,n=e.length,u=null,i=[],s=0;s<n;++s){if(r=e.charCodeAt(s),r>55295&&r<57344){if(!u){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}else if(s+1===n){(t-=3)>-1&&i.push(239,191,189);continue}u=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),u=r;continue}r=(u-55296<<10|r-56320)+65536}else u&&(t-=3)>-1&&i.push(239,191,189);if(u=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,r&63|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,r&63|128)}else if(r<1114112){if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,r&63|128)}else throw new Error("Invalid code point")}return i}function mA(e){for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r)&255);return t}function DA(e,t){for(var r,n,u,i=[],s=0;s<e.length&&!((t-=2)<0);++s)r=e.charCodeAt(s),n=r>>8,u=r%256,i.push(u),i.push(n);return i}function nm(e){return qC(lA(e))}function _i(e,t,r,n){for(var u=0;u<n&&!(u+r>=t.length||u>=e.length);++u)t[u+r]=e[u];return u}function dA(e){return e!==e}function Vr(e){return e!=null&&(!!e._isBuffer||um(e)||yA(e))}function um(e){return!!e.constructor&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}function yA(e){return typeof e.readFloatLE=="function"&&typeof e.slice=="function"&&um(e.slice(0,0))}p();p();function gA(){throw new Error("setTimeout has not been defined")}function hA(){throw new Error("clearTimeout has not been defined")}var EA=gA,CA=hA;typeof globalThis.setTimeout=="function"&&(EA=setTimeout);typeof globalThis.clearTimeout=="function"&&(CA=clearTimeout);function AA(e,t){this.fun=e,this.array=t}AA.prototype.run=function(){this.fun.apply(null,this.array)};var lu=globalThis.performance||{},jv=lu.now||lu.mozNow||lu.msNow||lu.oNow||lu.webkitNow||function(){return new Date().getTime()};var $v=new Date;p();var ic;typeof Object.create=="function"?ic=function(t,r){t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:ic=function(t,r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t};var sc=ic;function br(e,t){var r={seen:[],stylize:xA};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),im(t)?r.showHidden=t:t&&PA(r,t),Cn(r.showHidden)&&(r.showHidden=!1),Cn(r.depth)&&(r.depth=2),Cn(r.colors)&&(r.colors=!1),Cn(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=FA),Oi(r,e,r.depth)}br.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};br.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function FA(e,t){var r=br.styles[t];return r?"\x1B["+br.colors[r][0]+"m"+e+"\x1B["+br.colors[r][1]+"m":e}function xA(e,t){return e}function SA(e){var t={};return e.forEach(function(r,n){t[r]=!0}),t}function Oi(e,t,r){if(e.customInspect&&t&&Fn(t.inspect)&&t.inspect!==br&&!(t.constructor&&t.constructor.prototype===t)){var n=t.inspect(r,e);return am(n)||(n=Oi(e,n,r)),n}var u=TA(e,t);if(u)return u;var i=Object.keys(t),s=SA(i);if(e.showHidden&&(i=Object.getOwnPropertyNames(t)),pu(t)&&(i.indexOf("message")>=0||i.indexOf("description")>=0))return ac(t);if(i.length===0){if(Fn(t)){var a=t.name?": "+t.name:"";return e.stylize("[Function"+a+"]","special")}if(An(t))return e.stylize(RegExp.prototype.toString.call(t),"regexp");if(fu(t))return e.stylize(Date.prototype.toString.call(t),"date");if(pu(t))return ac(t)}var o="",c=!1,l=["{","}"];if(vA(t)&&(c=!0,l=["[","]"]),Fn(t)){var f=t.name?": "+t.name:"";o=" [Function"+f+"]"}if(An(t)&&(o=" "+RegExp.prototype.toString.call(t)),fu(t)&&(o=" "+Date.prototype.toUTCString.call(t)),pu(t)&&(o=" "+ac(t)),i.length===0&&(!c||t.length==0))return l[0]+o+l[1];if(r<0)return An(t)?e.stylize(RegExp.prototype.toString.call(t),"regexp"):e.stylize("[Object]","special");e.seen.push(t);var m;return c?m=bA(e,t,r,s,i):m=i.map(function(D){return oc(e,t,r,s,D,c)}),e.seen.pop(),BA(m,o,l)}function TA(e,t){if(Cn(t))return e.stylize("undefined","undefined");if(am(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(wA(t))return e.stylize(""+t,"number");if(im(t))return e.stylize(""+t,"boolean");if(sm(t))return e.stylize("null","null")}function ac(e){return"["+Error.prototype.toString.call(e)+"]"}function bA(e,t,r,n,u){for(var i=[],s=0,a=t.length;s<a;++s)om(t,String(s))?i.push(oc(e,t,r,n,String(s),!0)):i.push("");return u.forEach(function(o){o.match(/^\d+$/)||i.push(oc(e,t,r,n,o,!0))}),i}function oc(e,t,r,n,u,i){var s,a,o;if(o=Object.getOwnPropertyDescriptor(t,u)||{value:t[u]},o.get?o.set?a=e.stylize("[Getter/Setter]","special"):a=e.stylize("[Getter]","special"):o.set&&(a=e.stylize("[Setter]","special")),om(n,u)||(s="["+u+"]"),a||(e.seen.indexOf(o.value)<0?(sm(r)?a=Oi(e,o.value,null):a=Oi(e,o.value,r-1),a.indexOf(`
53
+ `)>-1&&(i?a=a.split(`
54
+ `).map(function(c){return" "+c}).join(`
55
+ `).substr(2):a=`
56
+ `+a.split(`
57
+ `).map(function(c){return" "+c}).join(`
58
+ `))):a=e.stylize("[Circular]","special")),Cn(s)){if(i&&u.match(/^\d+$/))return a;s=JSON.stringify(""+u),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=e.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=e.stylize(s,"string"))}return s+": "+a}function BA(e,t,r){var n=0,u=e.reduce(function(i,s){return n++,s.indexOf(`
59
+ `)>=0&&n++,i+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return u>60?r[0]+(t===""?"":t+`
60
+ `)+" "+e.join(`,
61
+ `)+" "+r[1]:r[0]+t+" "+e.join(", ")+" "+r[1]}function vA(e){return Array.isArray(e)}function im(e){return typeof e=="boolean"}function sm(e){return e===null}function wA(e){return typeof e=="number"}function am(e){return typeof e=="string"}function Cn(e){return e===void 0}function An(e){return Ri(e)&&lc(e)==="[object RegExp]"}function Ri(e){return typeof e=="object"&&e!==null}function fu(e){return Ri(e)&&lc(e)==="[object Date]"}function pu(e){return Ri(e)&&(lc(e)==="[object Error]"||e instanceof Error)}function Fn(e){return typeof e=="function"}function cc(e){return e===null||typeof e=="boolean"||typeof e=="number"||typeof e=="string"||typeof e=="symbol"||typeof e>"u"}function lc(e){return Object.prototype.toString.call(e)}function PA(e,t){if(!t||!Ri(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e}function om(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function cm(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,u=0,i=Math.min(r,n);u<i;++u)if(e[u]!==t[u]){r=e[u],n=t[u];break}return r<n?-1:n<r?1:0}var IA=Object.prototype.hasOwnProperty,lm=Object.keys||function(e){var t=[];for(var r in e)IA.call(e,r)&&t.push(r);return t},pm=Array.prototype.slice,pc;function hm(){return typeof pc<"u"?pc:pc=function(){return function(){}.name==="foo"}()}function fm(e){return Object.prototype.toString.call(e)}function mm(e){return Vr(e)||typeof globalThis.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(e):e?!!(e instanceof DataView||e.buffer&&e.buffer instanceof ArrayBuffer):!1}function Re(e,t){e||Je(e,!0,t,"==",mc)}var He=Re,kA=/\s*function\s+([^\(\s]*)\s*/;function Em(e){if(!!Fn(e)){if(hm())return e.name;var t=e.toString(),r=t.match(kA);return r&&r[1]}}Re.AssertionError=fc;function fc(e){this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=LA(this),this.generatedMessage=!0);var t=e.stackStartFunction||Je;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,u=Em(t),i=n.indexOf(`
62
+ `+u);if(i>=0){var s=n.indexOf(`
63
+ `,i+1);n=n.substring(s+1)}this.stack=n}}}sc(fc,Error);function Dm(e,t){return typeof e=="string"?e.length<t?e:e.slice(0,t):e}function dm(e){if(hm()||!Fn(e))return br(e);var t=Em(e),r=t?": "+t:"";return"[Function"+r+"]"}function LA(e){return Dm(dm(e.actual),128)+" "+e.operator+" "+Dm(dm(e.expected),128)}function Je(e,t,r,n,u){throw new fc({message:r,actual:e,expected:t,operator:n,stackStartFunction:u})}Re.fail=Je;function mc(e,t){e||Je(e,!0,t,"==",mc)}Re.ok=mc;Re.equal=Cm;function Cm(e,t,r){e!=t&&Je(e,t,r,"==",Cm)}Re.notEqual=Am;function Am(e,t,r){e==t&&Je(e,t,r,"!=",Am)}Re.deepEqual=Fm;function Fm(e,t,r){xn(e,t,!1)||Je(e,t,r,"deepEqual",Fm)}Re.deepStrictEqual=xm;function xm(e,t,r){xn(e,t,!0)||Je(e,t,r,"deepStrictEqual",xm)}function xn(e,t,r,n){if(e===t)return!0;if(Vr(e)&&Vr(t))return cm(e,t)===0;if(fu(e)&&fu(t))return e.getTime()===t.getTime();if(An(e)&&An(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if((e===null||typeof e!="object")&&(t===null||typeof t!="object"))return r?e===t:e==t;if(mm(e)&&mm(t)&&fm(e)===fm(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return cm(new Uint8Array(e.buffer),new Uint8Array(t.buffer))===0;if(Vr(e)!==Vr(t))return!1;n=n||{actual:[],expected:[]};var u=n.actual.indexOf(e);return u!==-1&&u===n.expected.indexOf(t)?!0:(n.actual.push(e),n.expected.push(t),NA(e,t,r,n))}function ym(e){return Object.prototype.toString.call(e)=="[object Arguments]"}function NA(e,t,r,n){if(e==null||t===null||t===void 0)return!1;if(cc(e)||cc(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var u=ym(e),i=ym(t);if(u&&!i||!u&&i)return!1;if(u)return e=pm.call(e),t=pm.call(t),xn(e,t,r);var s=lm(e),a=lm(t),o,c;if(s.length!==a.length)return!1;for(s.sort(),a.sort(),c=s.length-1;c>=0;c--)if(s[c]!==a[c])return!1;for(c=s.length-1;c>=0;c--)if(o=s[c],!xn(e[o],t[o],r,n))return!1;return!0}Re.notDeepEqual=Sm;function Sm(e,t,r){xn(e,t,!1)&&Je(e,t,r,"notDeepEqual",Sm)}Re.notDeepStrictEqual=Tm;function Tm(e,t,r){xn(e,t,!0)&&Je(e,t,r,"notDeepStrictEqual",Tm)}Re.strictEqual=bm;function bm(e,t,r){e!==t&&Je(e,t,r,"===",bm)}Re.notStrictEqual=Bm;function Bm(e,t,r){e===t&&Je(e,t,r,"!==",Bm)}function gm(e,t){if(!e||!t)return!1;if(Object.prototype.toString.call(t)=="[object RegExp]")return t.test(e);try{if(e instanceof t)return!0}catch{}return Error.isPrototypeOf(t)?!1:t.call({},e)===!0}function _A(e){var t;try{e()}catch(r){t=r}return t}function vm(e,t,r,n){var u;if(typeof t!="function")throw new TypeError('"block" argument must be a function');typeof r=="string"&&(n=r,r=null),u=_A(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!u&&Je(u,r,"Missing expected exception"+n);var i=typeof n=="string",s=!e&&pu(u),a=!e&&u&&!r;if((s&&i&&gm(u,r)||a)&&Je(u,r,"Got unwanted exception"+n),e&&u&&r&&!gm(u,r)||!e&&u)throw u}Re.throws=OA;function OA(e,t,r){vm(!0,e,t,r)}Re.doesNotThrow=RA;function RA(e,t,r){vm(!1,e,t,r)}Re.ifError=MA;function MA(e){if(e)throw e}var Dc=new WeakMap;function Mi(e,t){var o;if(Dc.has(e))return Dc.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:u},locStart:i,locEnd:s}=t;if(!n)return[];let a=((o=r==null?void 0:r(e,t))!=null?o:En(u)(e).flatMap(c=>e[c])).flatMap(c=>c!==null&&typeof c=="object"?n(c)?c:Mi(c,t):[]);return a.sort((c,l)=>i(c)-i(l)||s(c)-s(l)),Dc.set(e,a),a}function Pm(e,t,r,n){let{locStart:u,locEnd:i}=r,s=u(t),a=i(t),o=Mi(e,r),c,l,f=0,m=o.length;for(;f<m;){let D=f+m>>1,y=o[D],E=u(y),C=i(y);if(E<=s&&a<=C)return Pm(y,t,r,y);if(C<=s){c=y,f=D+1;continue}if(a<=E){l=y,m=D;continue}throw new Error("Comment location overlaps with node location")}if(n&&n.type==="TemplateLiteral"){let{quasis:D}=n,y=yc(D,t,r);c&&yc(D,c,r)!==y&&(c=null),l&&yc(D,l,r)!==y&&(l=null)}return{enclosingNode:n,precedingNode:c,followingNode:l}}var dc=()=>!1;function ji(e,t,r,n){if(!O(e)||!n.printer.canAttachComment)return;let u=[],{locStart:i,locEnd:s,printer:{handleComments:a={}}}=n,{avoidAstMutation:o,ownLine:c=dc,endOfLine:l=dc,remaining:f=dc}=a,m=e.map((D,y)=>({...Pm(t,D,n),comment:D,text:r,options:n,ast:t,isLastComment:e.length-1===y}));for(let[D,y]of m.entries()){let{comment:E,precedingNode:C,enclosingNode:T,followingNode:b,text:S,options:v,ast:w,isLastComment:j}=y;if(v.parser==="json"||v.parser==="json5"||v.parser==="__js_expression"||v.parser==="__vue_expression"||v.parser==="__vue_ts_expression"){if(i(E)-i(w)<=0){ue(w,E);continue}if(s(E)-s(w)>=0){re(w,E);continue}}let q;if(o?q=[y]:(E.enclosingNode=T,E.precedingNode=C,E.followingNode=b,q=[E,S,v,w,j]),jA(S,v,m,D))E.placement="ownLine",c(...q)||(b?ue(b,E):C?re(C,E):T?fe(T,E):fe(w,E));else if($A(S,v,m,D))E.placement="endOfLine",l(...q)||(C?re(C,E):b?ue(b,E):T?fe(T,E):fe(w,E));else if(E.placement="remaining",!f(...q))if(C&&b){let K=u.length;K>0&&u[K-1].followingNode!==b&&wm(u,S,v),u.push(y)}else C?re(C,E):b?ue(b,E):T?fe(T,E):fe(w,E)}if(wm(u,r,n),!o)for(let D of e)delete D.precedingNode,delete D.enclosingNode,delete D.followingNode}var Im=e=>!/[\S\n\u2028\u2029]/.test(e);function jA(e,t,r,n){let{comment:u,precedingNode:i}=r[n],{locStart:s,locEnd:a}=t,o=s(u);if(i)for(let c=n-1;c>=0;c--){let{comment:l,precedingNode:f}=r[c];if(f!==i||!Im(e.slice(a(l),o)))break;o=s(l)}return ee(e,o,{backwards:!0})}function $A(e,t,r,n){let{comment:u,followingNode:i}=r[n],{locStart:s,locEnd:a}=t,o=a(u);if(i)for(let c=n+1;c<r.length;c++){let{comment:l,followingNode:f}=r[c];if(f!==i||!Im(e.slice(o,s(l))))break;o=a(l)}return ee(e,o)}function wm(e,t,r){let n=e.length;if(n===0)return;let{precedingNode:u,followingNode:i,enclosingNode:s}=e[0],a=r.printer.getGapRegex&&r.printer.getGapRegex(s)||/^[\s(]*$/,o=r.locStart(i),c;for(c=n;c>0;--c){let{comment:l,precedingNode:f,followingNode:m}=e[c-1];He.strictEqual(f,u),He.strictEqual(m,i);let D=t.slice(r.locEnd(l),o);if(a.test(D))o=r.locStart(l);else break}for(let[l,{comment:f}]of e.entries())l<c?re(u,f):ue(i,f);for(let l of[u,i])l.comments&&l.comments.length>1&&l.comments.sort((f,m)=>r.locStart(f)-r.locStart(m));e.length=0}function gc(e,t){let r=e.getValue();return r.printed=!0,t.printer.printComment(e,t)}function yc(e,t,r){let n=r.locStart(t)-1;for(let u=1;u<e.length;++u)if(n<r.locStart(e[u]))return u-1;return 0}function VA(e,t){let r=e.getValue(),n=[gc(e,t)],{printer:u,originalText:i,locStart:s,locEnd:a}=t;if(u.isBlockComment&&u.isBlockComment(r)){let l=ee(i,a(r))?ee(i,s(r),{backwards:!0})?d:x:" ";n.push(l)}else n.push(d);let c=xt(i,mt(i,a(r)));return c!==!1&&ee(i,c)&&n.push(d),n}function qA(e,t){let r=e.getValue(),n=gc(e,t),{printer:u,originalText:i,locStart:s}=t,a=u.isBlockComment&&u.isBlockComment(r);if(ee(i,s(r),{backwards:!0})){let c=yn(i,r,s);return on([d,c?d:"",n])}let o=[" ",n];return a||(o=[on(o),te]),o}function Y(e,t,r,n){let u=[],i=e.getValue();return!i||!i.comments||(e.each(()=>{let s=e.getValue();!s.leading&&!s.trailing&&(!n||n(s))&&u.push(gc(e,t))},"comments"),u.length===0)?"":r?B(d,u):F([d,B(d,u)])}function hc(e,t,r){let n=e.getValue();if(!n)return{};let u=n.comments||[];r&&(u=u.filter(o=>!r.has(o)));let i=n===t.cursorNode;if(u.length===0){let o=i?Zt:"";return{leading:o,trailing:o}}let s=[],a=[];return e.each(()=>{let o=e.getValue();if(r&&r.has(o))return;let{leading:c,trailing:l}=o;c?s.push(VA(e,t)):l&&a.push(qA(e,t))},"comments"),i&&(s.unshift(Zt),a.push(Zt)),{leading:s,trailing:a}}function Se(e,t,r,n){let{leading:u,trailing:i}=hc(e,r,n);return!u&&!i?t:[u,t,i]}function $i(e){if(!!e)for(let t of e){if(!t.printed)throw new Error('Comment "'+t.value.trim()+'" was not printed. Please report this error!');delete t.printed}}p();p();function km(e,t){let r=Lm(e.stack,t);return r===-1?null:e.stack[r]}function Lm(e,t){for(let r=e.length-1;r>=0;r-=2){let n=e[r];if(n&&!Array.isArray(n)&&--t<0)return r}return-1}var Ec=class{constructor(t){this.stack=[t]}getName(){let{stack:t}=this,{length:r}=t;return r>1?t[r-2]:null}getValue(){return I(this.stack)}getNode(t=0){return km(this,t)}getParentNode(t=0){return km(this,t+1)}call(t,...r){let{stack:n}=this,{length:u}=n,i=I(n);for(let s of r)i=i[s],n.push(s,i);try{return t(this)}finally{n.length=u}}callParent(t,r=0){let n=Lm(this.stack,r+1),u=this.stack.splice(n+1);try{return t(this)}finally{this.stack.push(...u)}}each(t,...r){let{stack:n}=this,{length:u}=n,i=I(n);for(let s of r)i=i[s],n.push(s,i);try{for(let s=0;s<i.length;++s)n.push(s,i[s]),t(this,s,i),n.length-=2}finally{n.length=u}}map(t,...r){let n=[];return this.each((u,i,s)=>{n[i]=t(u,i,s)},...r),n}match(...t){let r=this.stack.length-1,n=null,u=this.stack[r--];for(let i of t){if(u===void 0)return!1;let s=null;if(typeof n=="number"&&(s=n,n=this.stack[r--],u=this.stack[r--]),i&&!i(u,n,s))return!1;n=this.stack[r--],u=this.stack[r--]}return!0}findAncestor(t){let r=this.stack.length-1,n=null,u=this.stack[r--];for(;u;){let i=null;if(typeof n=="number"&&(i=n,n=this.stack[r--],u=this.stack[r--]),n!==null&&t(u,n,i))return u;n=this.stack[r--],u=this.stack[r--]}}},Nm=Ec;p();async function _m(e,t,r,n,u){let{embeddedLanguageFormatting:i,printer:{embed:s,hasPrettierIgnore:a=()=>!1,getVisitorKeys:o}}=r;if(!s||i!=="auto")return;if(s.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let c=En(o),l=[];D();let f=e.stack;for(let{print:y,node:E,pathStack:C}of l)try{e.stack=C;let T=await y(m,t,e,r);T&&u.set(E,T)}catch(T){if(globalThis.PRETTIER_DEBUG)throw T}e.stack=f;function m(y,E){return UA(y,E,r,n)}function D(){let y=e.getValue();if(y===null||typeof y!="object"||a(e))return;for(let C of c(y))Array.isArray(y[C])?e.each(D,C):e.call(D,C);let E=s(e,r);if(!!E){if(typeof E=="function"){l.push({print:E,node:y,pathStack:[...e.stack]});return}u.set(y,E)}}}async function UA(e,t,r,n){let u=Tr({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),i=await jr(e,u),{ast:s}=i;e=i.text;let a=s.comments;delete s.comments,ji(a,s,e,u),u[Symbol.for("comments")]=a||[],u[Symbol.for("tokens")]=s.tokens||[];let o=await n(s,u);return $i(a),Ka(o)}async function Rm(e,t,r=0){let{printer:n}=t;n.preprocess&&(e=await n.preprocess(e,t));let u=new Map,i=new Nm(e),s=new Map;await _m(i,o,t,Rm,s);let a=await Om(i,t,o,void 0,s);return r>0&&(a=Qn([d,a],r,t.tabWidth)),Ya(a),a;function o(l,f){return l===void 0||l===i?c(f):Array.isArray(l)?i.call(()=>c(f),...l):i.call(()=>c(f),l)}function c(l){let f=i.getValue(),m=f&&typeof f=="object"&&l===void 0;if(m&&u.has(f))return u.get(f);let D=Om(i,t,o,l,s);return m&&u.set(f,D),D}}function WA(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:u,locEnd:i}=t,s=u(e),a=i(e),o=new Set;for(let c of n)u(c)>=s&&i(c)<=a&&(c.printed=!0,o.add(c));return{doc:r.slice(s,a),printedComments:o}}function Om(e,t,r,n,u){let i=e.getValue(),{printer:s}=t,a,o;return s.hasPrettierIgnore&&s.hasPrettierIgnore(e)?{doc:a,printedComments:o}=WA(i,t):u.has(i)?a=u.get(i):a=s.print(e,t,r,n),(!s.willPrintOwnComments||!s.willPrintOwnComments(e,t))&&(a=Se(e,a,t,o)),a}var Vi=Rm;p();var GA=({parser:e})=>e==="json"||e==="json5"||e==="json-stringify";function JA(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(u=>$m.has(u.type)&&n.has(u))}function Mm(e){let t=e.length-1;for(;;){let r=e[t];if(r&&(r.type==="Program"||r.type==="File"))t--;else break}return e.slice(0,t+1)}function HA(e,t,{locStart:r,locEnd:n}){let u=e.node,i=t.node;if(u===i)return{startNode:u,endNode:i};let s=r(e.node);for(let o of Mm(t.parentNodes))if(r(o)>=s)i=o;else break;let a=n(t.node);for(let o of Mm(e.parentNodes)){if(n(o)<=a)u=o;else break;if(u===i)break}return{startNode:u,endNode:i}}function mu(e,t,r,n,u=[],i){let{locStart:s,locEnd:a}=r,o=s(e),c=a(e);if(!(t>c||t<o||i==="rangeEnd"&&t===o||i==="rangeStart"&&t===c)){for(let l of Mi(e,r)){let f=mu(l,t,r,n,[e,...u],i);if(f)return f}if(!n||n(e,u[0]))return{node:e,parentNodes:u}}}function YA(e,t){return t!=="DeclareExportDeclaration"&&e!=="TypeParameterDeclaration"&&(e==="Directive"||e==="TypeAlias"||e==="TSExportAssignment"||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}var $m=new Set(["ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),KA=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]);function jm(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return YA(t.type,r&&r.type);case"json":case"json5":case"json-stringify":return $m.has(t.type);case"graphql":return KA.has(t.kind);case"vue":return t.tag!=="root"}return!1}function Vm(e,t,r){let{rangeStart:n,rangeEnd:u,locStart:i,locEnd:s}=t;He.ok(u>n);let a=e.slice(n,u).search(/\S/),o=a===-1;if(!o)for(n+=a;u>n&&!/\S/.test(e[u-1]);--u);let c=mu(r,n,t,(D,y)=>jm(t,D,y),[],"rangeStart"),l=o?c:mu(r,u,t,D=>jm(t,D),[],"rangeEnd");if(!c||!l)return{rangeStart:0,rangeEnd:0};let f,m;if(GA(t)){let D=JA(c,l);f=D,m=D}else({startNode:f,endNode:m}=HA(c,l,t));return{rangeStart:Math.min(i(f),i(m)),rangeEnd:Math.max(s(f),s(m))}}var Hm="\uFEFF",qm=Symbol("cursor");function Ym(e,t,r){let n=t.comments;return n&&(delete t.comments,ji(n,t,e,r)),r[Symbol.for("comments")]=n||[],r[Symbol.for("tokens")]=t.tokens||[],r.originalText=e,n}async function Km(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:u}=await jr(e,t);if(t.cursorOffset>=0){let o=mu(n,t.cursorOffset,t);o&&o.node&&(t.cursorNode=o.node)}let i=Ym(u,n,t),s=await Vi(n,t,r),a=jt(s,t);if($i(i),r>0){let o=a.formatted.trim();a.cursorNodeStart!==void 0&&(a.cursorNodeStart-=a.formatted.indexOf(o)),a.formatted=o+zn(t.endOfLine)}if(t.cursorOffset>=0){let o,c,l,f,m;if(t.cursorNode&&a.cursorNodeText?(o=t.locStart(t.cursorNode),c=u.slice(o,t.locEnd(t.cursorNode)),l=t.cursorOffset-o,f=a.cursorNodeStart,m=a.cursorNodeText):(o=0,c=u,l=t.cursorOffset,f=0,m=a.formatted),c===m)return{formatted:a.formatted,cursorOffset:f+l,comments:i};let D=[...c];D.splice(l,0,qm);let y=[...m],E=(0,Jm.diffArrays)(D,y),C=f;for(let T of E)if(T.removed){if(T.value.includes(qm))break}else C+=T.count;return{formatted:a.formatted,cursorOffset:C,comments:i}}return{formatted:a.formatted,cursorOffset:-1,comments:i}}async function XA(e,t){let{ast:r,text:n}=await jr(e,t),{rangeStart:u,rangeEnd:i}=Vm(n,t,r),s=n.slice(u,i),a=Math.min(u,n.lastIndexOf(`
64
+ `,u)+1),o=n.slice(a,u).match(/^\s*/)[0],c=nu(o,t.tabWidth),l=await Km(s,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>u&&t.cursorOffset<=i?t.cursorOffset-u:-1,endOfLine:"lf"},c),f=l.formatted.trimEnd(),{cursorOffset:m}=t;m>i?m+=f.length-s.length:l.cursorOffset>=0&&(m=l.cursorOffset+u);let D=n.slice(0,u)+f+n.slice(i);if(t.endOfLine!=="lf"){let y=zn(t.endOfLine);m>=0&&y===`\r
65
+ `&&(m+=$a(D.slice(0,m),`
66
+ `)),D=D.replace(/\n/g,y)}return{formatted:D,cursorOffset:m,comments:l.comments}}function Cc(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Um(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u}=t;return r=Cc(e,r,-1),n=Cc(e,n,0),u=Cc(e,u,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:u}}function Xm(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i}=Um(e,t),s=e.charAt(0)===Hm;if(s&&(e=e.slice(1),r--,n--,u--),i==="auto"&&(i=fp(e)),e.includes("\r")){let a=o=>$a(e.slice(0,Math.max(o,0)),`\r
67
+ `);r-=a(r),n-=a(n),u-=a(u),e=ni(e)}return{hasBOM:s,text:e,options:Um(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:u,endOfLine:i})}}function Wm(e,t){let r=cu(t);return!r.hasPragma||r.hasPragma(e)}async function Gm(e,t){let{hasBOM:r,text:n,options:u}=Xm(e,Tr(t));if(u.rangeStart>=u.rangeEnd&&n!==""||u.requirePragma&&!Wm(n,u))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let i;return u.rangeStart>0||u.rangeEnd<n.length?i=await XA(n,u):(!u.requirePragma&&u.insertPragma&&u.printer.insertPragma&&!Wm(n,u)&&(n=u.printer.insertPragma(n)),i=await Km(n,u)),r&&(i.formatted=Hm+i.formatted,i.cursorOffset>=0&&i.cursorOffset++),i}var zA={formatWithCursor:Gm,async parse(e,t,r){let{text:n,options:u}=Xm(e,Tr(t)),i=await jr(n,u);return r&&(i.ast=Vf(i.ast,u)),i},async formatAST(e,t){t=Tr(t);let r=await Vi(e,t);return jt(r,t)},async formatDoc(e,t){let r=to(e),{formatted:n}=await Gm(r,{...t,parser:"__js_expression"});return n},async printToDoc(e,t){t=Tr(t);let{ast:r,text:n}=await jr(e,t);return Ym(n,r,t),Vi(r,t)},printDocToString(e,t){return jt(e,Tr(t))}},qr=zA;var tp={};Ce(tp,{css:()=>Ys,graphql:()=>na,handlebars:()=>ra,html:()=>Ia,js:()=>Ms,markdown:()=>oa,yaml:()=>Ra});p();var Ms={};Ce(Ms,{languages:()=>fd,options:()=>md,parsers:()=>Dd,printers:()=>G1});p();p();p();p();var oD=Ct(rD(),1);p();function H(e,t){let{ignoreDecorators:r}=t||{};if(!r){let n=e.declaration&&e.declaration.decorators||e.decorators;if(O(n))return H(n[0])}return e.range?e.range[0]:e.start}function G(e){return e.range?e.range[1]:e.end}function Ui(e,t){let r=H(e);return Number.isInteger(r)&&r===H(t)}function QA(e,t){let r=G(e);return Number.isInteger(r)&&r===G(t)}function nD(e,t){return Ui(e,t)&&QA(e,t)}p();p();p();var Du=null;function du(e){if(Du!==null&&typeof Du.property){let t=Du;return Du=du.prototype=null,t}return Du=du.prototype=e==null?Object.create(null):e,new du}var ZA=10;for(let e=0;e<=ZA;e++)du();function Fc(e){return du(e)}function eF(e,t="type"){Fc(e);function r(n){let u=n[t];return e[u]}return r}var Ie=eF;var uD={ArrayExpression:["elements"],AssignmentExpression:["left","right"],BinaryExpression:["left","right"],InterpreterDirective:[],Directive:["value"],DirectiveLiteral:[],BlockStatement:["directives","body"],BreakStatement:["label"],CallExpression:["callee","arguments","typeParameters","typeArguments"],CatchClause:["param","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DoWhileStatement:["test","body"],EmptyStatement:[],ExpressionStatement:["expression"],File:["program"],ForInStatement:["left","right","body"],ForStatement:["init","test","update","body"],FunctionDeclaration:["id","params","body","returnType","typeParameters","predicate"],FunctionExpression:["id","params","body","returnType","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:["test","consequent","alternate"],LabeledStatement:["label","body"],StringLiteral:[],NumericLiteral:[],NullLiteral:[],BooleanLiteral:[],RegExpLiteral:[],LogicalExpression:["left","right"],MemberExpression:["object","property"],NewExpression:["callee","arguments","typeParameters","typeArguments"],Program:["directives","body","interpreter"],ObjectExpression:["properties"],ObjectMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectProperty:["key","value","decorators"],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:["argument"],SequenceExpression:["expressions"],ParenthesizedExpression:["expression"],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],AssignmentPattern:["left","right","decorators","typeAnnotation"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrowFunctionExpression:["params","body","returnType","typeParameters","predicate"],ClassBody:["body"],ClassExpression:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],ExportAllDeclaration:["source","exported","assertions"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","assertions"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["local","imported"],MetaProperty:["meta","property"],ClassMethod:["key","params","body","decorators","returnType","typeParameters"],ObjectPattern:["properties","typeAnnotation","decorators"],SpreadElement:["argument"],Super:[],TaggedTemplateExpression:["tag","quasi","typeParameters"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],YieldExpression:["argument"],AwaitExpression:["argument"],Import:[],BigIntLiteral:[],ExportNamespaceSpecifier:["exported"],OptionalMemberExpression:["object","property"],OptionalCallExpression:["callee","arguments","typeParameters","typeArguments"],ClassProperty:["key","value","typeAnnotation","decorators"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation"],ClassPrivateMethod:["key","params","body","decorators","returnType","typeParameters"],PrivateName:["id"],StaticBlock:["body"],AnyTypeAnnotation:[],ArrayTypeAnnotation:["elementType"],BooleanTypeAnnotation:[],BooleanLiteralTypeAnnotation:[],NullLiteralTypeAnnotation:[],ClassImplements:["id","typeParameters"],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareFunction:["id","predicate"],DeclareInterface:["id","typeParameters","extends","mixins","implements","body"],DeclareModule:["id","body"],DeclareModuleExports:["typeAnnotation"],DeclareTypeAlias:["id","typeParameters","right"],DeclareOpaqueType:["id","typeParameters","supertype"],DeclareVariable:["id"],DeclareExportDeclaration:["declaration","specifiers","source"],DeclareExportAllDeclaration:["source"],DeclaredPredicate:["value"],ExistsTypeAnnotation:[],FunctionTypeAnnotation:["typeParameters","params","rest","returnType","this"],FunctionTypeParam:["name","typeAnnotation"],GenericTypeAnnotation:["id","typeParameters"],InferredPredicate:[],InterfaceExtends:["id","typeParameters"],InterfaceDeclaration:["id","typeParameters","extends","mixins","implements","body"],InterfaceTypeAnnotation:["extends","body"],IntersectionTypeAnnotation:["types"],MixedTypeAnnotation:[],EmptyTypeAnnotation:[],NullableTypeAnnotation:["typeAnnotation"],NumberLiteralTypeAnnotation:[],NumberTypeAnnotation:[],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeInternalSlot:["id","value","optional","static","method"],ObjectTypeCallProperty:["value"],ObjectTypeIndexer:["id","key","value","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:["argument"],OpaqueType:["id","typeParameters","supertype","impltype"],QualifiedTypeIdentifier:["id","qualification"],StringLiteralTypeAnnotation:[],StringTypeAnnotation:[],SymbolTypeAnnotation:[],ThisTypeAnnotation:[],TupleTypeAnnotation:["types"],TypeofTypeAnnotation:["argument"],TypeAlias:["id","typeParameters","right"],TypeAnnotation:["typeAnnotation"],TypeCastExpression:["expression","typeAnnotation"],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:["params"],TypeParameterInstantiation:["params"],UnionTypeAnnotation:["types"],Variance:[],VoidTypeAnnotation:[],EnumDeclaration:["id","body"],EnumBooleanBody:["members"],EnumNumberBody:["members"],EnumStringBody:["members"],EnumSymbolBody:["members"],EnumBooleanMember:["id"],EnumNumberMember:["id","init"],EnumStringMember:["id","init"],EnumDefaultedMember:["id"],IndexedAccessType:["objectType","indexType"],OptionalIndexedAccessType:["objectType","indexType"],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:[],JSXExpressionContainer:["expression"],JSXSpreadChild:["expression"],JSXIdentifier:[],JSXMemberExpression:["object","property"],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","attributes","typeParameters"],JSXSpreadAttribute:["argument"],JSXText:[],JSXFragment:["openingFragment","children","closingFragment"],JSXOpeningFragment:[],JSXClosingFragment:[],Noop:[],Placeholder:[],V8IntrinsicIdentifier:[],ArgumentPlaceholder:[],BindExpression:["object","callee"],ImportAttribute:["key","value"],Decorator:["expression"],DoExpression:["body"],ExportDefaultSpecifier:["exported"],RecordExpression:["properties"],TupleExpression:["elements"],DecimalLiteral:[],ModuleExpression:["body"],TopicReference:[],PipelineTopicExpression:["expression"],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:[],TSParameterProperty:["parameter","decorators"],TSDeclareFunction:["id","typeParameters","params","returnType","body"],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSQualifiedName:["left","right"],TSCallSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructSignatureDeclaration:["typeParameters","parameters","typeAnnotation","params","returnType"],TSPropertySignature:["key","typeAnnotation","initializer"],TSMethodSignature:["key","typeParameters","parameters","typeAnnotation","params","returnType"],TSIndexSignature:["parameters","typeAnnotation"],TSAnyKeyword:[],TSBooleanKeyword:[],TSBigIntKeyword:[],TSIntrinsicKeyword:[],TSNeverKeyword:[],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSUndefinedKeyword:[],TSUnknownKeyword:[],TSVoidKeyword:[],TSThisType:[],TSFunctionType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSConstructorType:["typeParameters","parameters","typeAnnotation","params","returnType"],TSTypeReference:["typeName","typeParameters"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters"],TSTypeLiteral:["members"],TSArrayType:["elementType"],TSTupleType:["elementTypes"],TSOptionalType:["typeAnnotation"],TSRestType:["typeAnnotation"],TSNamedTupleMember:["label","elementType"],TSUnionType:["types"],TSIntersectionType:["types"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSInferType:["typeParameter"],TSParenthesizedType:["typeAnnotation"],TSTypeOperator:["typeAnnotation"],TSIndexedAccessType:["objectType","indexType"],TSMappedType:["typeParameter","typeAnnotation","nameType"],TSLiteralType:["literal"],TSExpressionWithTypeArguments:["expression","typeParameters"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceBody:["body"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSInstantiationExpression:["expression","typeParameters"],TSAsExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members","modifiers"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body","modifiers"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","parameter"],TSImportEqualsDeclaration:["id","moduleReference"],TSExternalModuleReference:["expression"],TSNonNullExpression:["expression"],TSExportAssignment:["expression"],TSNamespaceExportDeclaration:["id"],TSTypeAnnotation:["typeAnnotation"],TSTypeParameterInstantiation:["params"],TSTypeParameterDeclaration:["params"],TSTypeParameter:["constraint","default","name"],ChainExpression:["expression"],ExperimentalRestProperty:["argument"],ExperimentalSpreadProperty:["argument"],ImportExpression:["source","attributes"],Literal:[],MethodDefinition:["decorators","key","value","typeParameters"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value","decorators"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGQuotedExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","name"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],SpreadProperty:["argument"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],QualifiedTypeofIdentifier:["id","qualification"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[]};var rF=Ie(uD),Wi=rF;p();var nF=new Set(["Block","CommentBlock","MultiLine"]),uF=e=>nF.has(e==null?void 0:e.type),Te=uF;p();function iF(e,t){let r=t.split(".");for(let n=r.length-1;n>=0;n--){let u=r[n];if(n===0)return e.type==="Identifier"&&e.name===u;if(e.type!=="MemberExpression"||e.optional||e.computed||e.property.type!=="Identifier"||e.property.name!==u)return!1;e=e.object}}function sF(e,t){return t.some(r=>iF(e,r))}var iD=sF;var aF=oD.default.keyword.isIdentifierNameES5,cD="(?:(?=.)\\s)",oF=new RegExp(`^${cD}*:`),cF=new RegExp(`^${cD}*::`);function Tn(e){var t,r;return((t=e.extra)==null?void 0:t.parenthesized)&&Te((r=e.trailingComments)==null?void 0:r[0])&&oF.test(e.trailingComments[0].value)}function gu(e){let t=e==null?void 0:e[0];return Te(t)&&cF.test(t.value)}function Ur(e,t){if(e===null||typeof e!="object")return!1;if(Array.isArray(e))return e.some(n=>Ur(n,t));let r=t(e);return typeof r=="boolean"?r:Wi(e).some(n=>Ur(e[n],t))}function bn(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||U(e)||Z(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||e.type==="TSAsExpression"||e.type==="TSNonNullExpression"}function lD(e){var t,r,n,u,i,s;return e.expressions?e.expressions[0]:(s=(i=(u=(n=(r=(t=e.left)!=null?t:e.test)!=null?r:e.callee)!=null?n:e.object)!=null?u:e.tag)!=null?i:e.argument)!=null?s:e.expression}function Ji(e,t){if(t.expressions)return["expressions",0];if(t.left)return["left"];if(t.test)return["test"];if(t.object)return["object"];if(t.callee)return["callee"];if(t.tag)return["tag"];if(t.argument)return["argument"];if(t.expression)return["expression"];throw new Error("Unexpected node has no left side.")}function ar(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var or=ar(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose"]),lF=ar(["ExportDefaultDeclaration","ExportDefaultSpecifier","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration"]);function Hi(e){let t=e.getParentNode();return e.getName()==="declaration"&&lF(t)?t:null}var cr=ar(["BooleanLiteral","DirectiveLiteral","Literal","NullLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","RegExpLiteral","StringLiteral","TemplateLiteral","TSTypeLiteral","JSXText"]);function it(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function Yi(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&it(e.argument)}function we(e){return e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"}var dt=ar(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),Sn=ar(["FunctionExpression","ArrowFunctionExpression"]);function pF(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function xc(e){return U(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var ae=ar(["JSXElement","JSXFragment"]);function Ki(e,t){if(e.parentParser!=="markdown"&&e.parentParser!=="mdx")return!1;let r=t.getNode();if(!r.expression||!ae(r.expression))return!1;let n=t.getParentNode();return n.type==="Program"&&n.body.length===1}function Bc(e){return e.kind==="get"||e.kind==="set"}function vc(e){return Bc(e)||Ui(e,e.value)}function Xi(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&e.value.type==="FunctionTypeAnnotation"&&!e.static&&!vc(e)}function pD(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!Ui(e,e.typeAnnotation)}var yt=ar(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function Br(e){return Z(e)||e.type==="BindExpression"&&Boolean(e.object)}var fF=new Set(["AnyTypeAnnotation","TSAnyKeyword","NullLiteralTypeAnnotation","TSNullKeyword","ThisTypeAnnotation","TSThisType","NumberTypeAnnotation","TSNumberKeyword","VoidTypeAnnotation","TSVoidKeyword","BooleanTypeAnnotation","TSBooleanKeyword","BigIntTypeAnnotation","TSBigIntKeyword","SymbolTypeAnnotation","TSSymbolKeyword","StringTypeAnnotation","TSStringKeyword","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType","EmptyTypeAnnotation","MixedTypeAnnotation","TSNeverKeyword","TSObjectKeyword","TSUndefinedKeyword","TSUnknownKeyword"]);function zi(e){return e?!!((e.type==="GenericTypeAnnotation"||e.type==="TSTypeReference")&&!e.typeParameters||fF.has(e.type)):!1}function mF(e){let t=/^(?:before|after)(?:Each|All)$/;return e.callee.type==="Identifier"&&t.test(e.callee.name)&&e.arguments.length===1}var DF=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.step","test.describe","test.describe.only","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function dF(e){return iD(e,DF)}function Wr(e,t){if(e.type!=="CallExpression")return!1;if(e.arguments.length===1){if(xc(e)&&t&&Wr(t))return Sn(e.arguments[0]);if(mF(e))return xc(e.arguments[0])}else if((e.arguments.length===2||e.arguments.length===3)&&(e.arguments[0].type==="TemplateLiteral"||we(e.arguments[0]))&&dF(e.callee))return e.arguments[2]&&!it(e.arguments[2])?!1:(e.arguments.length===2?Sn(e.arguments[1]):pF(e.arguments[1])&&De(e.arguments[1]).length<=1)||xc(e.arguments[1]);return!1}var U=ar(["CallExpression","OptionalCallExpression"]),Z=ar(["MemberExpression","OptionalMemberExpression"]);function fD(e){let t="expressions";e.type==="TSTemplateLiteralType"&&(t="types");let r=e[t];return r.length===0?!1:r.every(n=>{if(k(n))return!1;if(n.type==="Identifier"||n.type==="ThisExpression")return!0;if(Z(n)){let u=n;for(;Z(u);)if(u.property.type!=="Identifier"&&u.property.type!=="Literal"&&u.property.type!=="StringLiteral"&&u.property.type!=="NumericLiteral"||(u=u.object,k(u)))return!1;return u.type==="Identifier"||u.type==="ThisExpression"}return!1})}function wc(e,t){return e==="+"||e==="-"?e+t:t}function Qi(e,t){let r=H(t),n=ru(e,G(t));return n!==!1&&e.slice(r,r+2)==="/*"&&e.slice(n,n+2)==="*/"}function Tt(e,t){return ae(t)?rs(t):k(t,_.Leading,r=>ee(e,G(r)))}function Pc(e,t){return t.parser!=="json"&&we(e.key)&&he(e.key).slice(1,-1)===e.key.value&&(aF(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||t.parser==="typescript"&&e.type==="PropertyDefinition")||Ic(e.key.value)&&String(Number(e.key.value))===e.key.value&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function Ic(e){return/^(?:\d+|\d+\.\d+)$/.test(e)}function mD(e,t){let r=/^[fx]?(?:describe|it|test)$/;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&r.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&r.test(t.tag.object.object.name))}function sD(e){return e.quasis.some(t=>t.value.raw.includes(`
68
+ `))}function Zi(e,t){return(e.type==="TemplateLiteral"&&sD(e)||e.type==="TaggedTemplateExpression"&&sD(e.quasi))&&!ee(t,H(e),{backwards:!0})}function es(e){if(!k(e))return!1;let t=I(Ye(e,_.Dangling));return t&&!Te(t)}function DD(e){if(e.length<=1)return!1;let t=0;for(let r of e)if(Sn(r)){if(t+=1,t>1)return!0}else if(U(r)){for(let n of r.arguments)if(Sn(n))return!0}return!1}function ts(e){let t=e.getValue(),r=e.getParentNode();return U(t)&&U(r)&&r.callee===t&&t.arguments.length>r.arguments.length&&r.arguments.length>0}function sr(e,t){if(t>=2)return!1;let r=s=>sr(s,t+1),n=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;if(n&&Ne(n)>5)return!1;if(e.type==="Literal"||e.type==="BigIntLiteral"||e.type==="DecimalLiteral"||e.type==="BooleanLiteral"||e.type==="NullLiteral"||e.type==="NumericLiteral"||e.type==="RegExpLiteral"||e.type==="StringLiteral"||e.type==="Identifier"||e.type==="ThisExpression"||e.type==="Super"||e.type==="PrivateName"||e.type==="PrivateIdentifier"||e.type==="ArgumentPlaceholder"||e.type==="Import")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(s=>!s.value.raw.includes(`
69
+ `))&&e.expressions.every(r);if(e.type==="ObjectExpression")return e.properties.every(s=>!s.computed&&(s.shorthand||s.value&&r(s.value)));if(e.type==="ArrayExpression")return e.elements.every(s=>s===null||r(s));if(Au(e))return(e.type==="ImportExpression"||sr(e.callee,t))&&gt(e).every(r);if(Z(e))return sr(e.object,t)&&sr(e.property,t);let u={"!":!0,"-":!0,"+":!0,"~":!0};if(e.type==="UnaryExpression"&&u[e.operator])return sr(e.argument,t);let i={"++":!0,"--":!0};return e.type==="UpdateExpression"&&i[e.operator]?sr(e.argument,t):e.type==="TSNonNullExpression"?sr(e.expression,t):!1}function he(e){var t,r;return(r=(t=e.extra)==null?void 0:t.raw)!=null?r:e.raw}function dD(e){return e}function yD(e){return e.filepath&&/\.tsx$/i.test(e.filepath)}function me(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function ut(e,t){switch(e=gF(e),e.type){case"FunctionExpression":case"ClassExpression":case"DoExpression":return t;case"ObjectExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return ut(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:ut(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:ut(e.callee,t);case"ConditionalExpression":return ut(e.test,t);case"UpdateExpression":return!e.prefix&&ut(e.argument,t);case"BindExpression":return e.object&&ut(e.object,t);case"SequenceExpression":return ut(e.expressions[0],t);case"TSAsExpression":case"TSNonNullExpression":return ut(e.expression,t);default:return!1}}var aD={"==":!0,"!=":!0,"===":!0,"!==":!0},Gi={"*":!0,"/":!0,"%":!0},bc={">>":!0,">>>":!0,"<<":!0};function hu(e,t){return!(yu(t)!==yu(e)||e==="**"||aD[e]&&aD[t]||t==="%"&&Gi[e]||e==="%"&&Gi[t]||t!==e&&Gi[t]&&Gi[e]||bc[e]&&bc[t])}var yF=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(r=>[r,t])));function yu(e){return yF.get(e)}function gF(e){for(;e.left;)e=e.left;return e}function gD(e){return Boolean(bc[e])||e==="|"||e==="^"||e==="&"}function hD(e){var r;if(e.rest)return!0;let t=De(e);return((r=I(t))==null?void 0:r.type)==="RestElement"}var Sc=new WeakMap;function De(e){if(Sc.has(e))return Sc.get(e);let t=[];return e.this&&t.push(e.this),Array.isArray(e.parameters)?t.push(...e.parameters):Array.isArray(e.params)&&t.push(...e.params),e.rest&&t.push(e.rest),Sc.set(e,t),t}function ED(e,t){let r=e.getValue(),n=0,u=i=>t(i,n++);r.this&&e.call(u,"this"),Array.isArray(r.parameters)?e.each(u,"parameters"):Array.isArray(r.params)&&e.each(u,"params"),r.rest&&e.call(u,"rest")}var Tc=new WeakMap;function gt(e){if(Tc.has(e))return Tc.get(e);let t=e.arguments;return e.type==="ImportExpression"&&(t=[e.source],e.attributes&&t.push(e.attributes)),Tc.set(e,t),t}function Eu(e,t){let r=e.getValue();r.type==="ImportExpression"?(e.call(n=>t(n,0),"source"),r.attributes&&e.call(n=>t(n,1),"attributes")):e.each(t,"arguments")}function Cu(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function rs(e){return e&&(e.prettierIgnore||k(e,_.PrettierIgnore))}function ns(e){let t=e.getValue();return rs(t)}var _={Leading:1<<1,Trailing:1<<2,Dangling:1<<3,Block:1<<4,Line:1<<5,PrettierIgnore:1<<6,First:1<<7,Last:1<<8},CD=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(r,n,u)=>!(e&_.Leading&&!r.leading||e&_.Trailing&&!r.trailing||e&_.Dangling&&(r.leading||r.trailing)||e&_.Block&&!Te(r)||e&_.Line&&!or(r)||e&_.First&&n!==0||e&_.Last&&n!==u.length-1||e&_.PrettierIgnore&&!Cu(r)||t&&!t(r))};function k(e,t,r){if(!O(e==null?void 0:e.comments))return!1;let n=CD(t,r);return n?e.comments.some(n):!0}function Ye(e,t,r){if(!Array.isArray(e==null?void 0:e.comments))return[];let n=CD(t,r);return n?e.comments.filter(n):e.comments}var be=(e,{originalText:t})=>_r(t,G(e));function Au(e){return U(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function Me(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!e.method&&e.kind==="init")}function kc(e){return Boolean(e.__isUsingHackPipeline)}var us=Symbol("ifWithoutBlockAndSameLineComment");p();p();function is(e,t,r){let n=e.getValue();if(n.type==="TemplateLiteral"&&mD(n,e.getParentNode())){let c=hF(e,r,t);if(c)return c}let i="expressions";n.type==="TSTemplateLiteralType"&&(i="types");let s=[],a=e.map(t,i),o=fD(n);return o&&(a=a.map(c=>jt(c,{...r,printWidth:Number.POSITIVE_INFINITY}).formatted)),s.push(Ft,"`"),e.each(c=>{let l=c.getName();if(s.push(t()),l<a.length){let{tabWidth:f}=r,m=c.getValue(),D=gi(m.value.raw,f),y=a[l];if(!o){let C=n[i][l];(k(C)||Z(C)||C.type==="ConditionalExpression"||C.type==="SequenceExpression"||C.type==="TSAsExpression"||yt(C))&&(y=[F([A,y]),A])}let E=D===0&&m.value.raw.endsWith(`
70
+ `)?ne(Number.NEGATIVE_INFINITY,y):Qn(y,D,f);s.push(h(["${",E,Ft,"}"]))}},"quasis"),s.push("`"),s}function hF(e,t,r){let n=e.getNode(),u=n.quasis[0].value.raw.trim().split(/\s*\|\s*/);if(u.length>1||u.some(i=>i.length>0)){t.__inJestEach=!0;let i=e.map(r,"expressions");t.__inJestEach=!1;let s=[],a=i.map(m=>"${"+jt(m,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),o=[{hasLineBreak:!1,cells:[]}];for(let m=1;m<n.quasis.length;m++){let D=I(o),y=a[m-1];D.cells.push(y),y.includes(`
71
+ `)&&(D.hasLineBreak=!0),n.quasis[m].value.raw.includes(`
72
+ `)&&o.push({hasLineBreak:!1,cells:[]})}let c=Math.max(u.length,...o.map(m=>m.cells.length)),l=Array.from({length:c}).fill(0),f=[{cells:u},...o.filter(m=>m.cells.length>0)];for(let{cells:m}of f.filter(D=>!D.hasLineBreak))for(let[D,y]of m.entries())l[D]=Math.max(l[D],Ne(y));return s.push(Ft,"`",F([d,B(d,f.map(m=>B(" | ",m.cells.map((D,y)=>m.hasLineBreak?D:D+" ".repeat(l[y]-Ne(D))))))]),d,"`"),s}}function EF(e,t){let r=e.getValue(),n=t();return k(r)&&(n=h([F([A,n]),A])),["${",n,Ft,"}"]}function Bn(e,t){return e.map(r=>EF(r,t),"expressions")}function ss(e,t){return et(e,r=>typeof r=="string"?t?r.replace(/(\\*)`/g,"$1$1\\`"):Lc(r):r)}function Lc(e){return e.replace(/([\\`]|\${)/g,"\\$1")}async function CF(e,t,r){let u=r.getValue().quasis[0].value.raw.replace(/((?:\\\\)*)\\`/g,(o,c)=>"\\".repeat(c.length/2)+"`"),i=AF(u),s=i!=="";s&&(u=u.replace(new RegExp(`^${i}`,"gm"),""));let a=ss(await e(u,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",s?F([A,a]):[_e,gr(a)],A,"`"]}function AF(e){let t=e.match(/^([^\S\n]*)\S/m);return t===null?"":t[1]}var AD=CF;p();async function FF(e,t,r){let n=r.getValue(),u=n.quasis.map(c=>c.value.raw),i=0,s=u.reduce((c,l,f)=>f===0?l:c+"@prettier-placeholder-"+i+++"-id"+l,""),a=await e(s,{parser:"scss"}),o=Bn(r,t);return xF(a,n,o)}function xF(e,t,r){if(t.quasis.length===1&&!t.quasis[0].value.raw.trim())return"``";let u=SF(e,r);if(!u)throw new Error("Couldn't insert all the expressions");return["`",F([d,u]),A,"`"]}function SF(e,t){if(!O(t))return e;let r=0,n=et(Rt(e),u=>typeof u!="string"||!u.includes("@prettier-placeholder")?u:u.split(/@prettier-placeholder-(\d+)-id/).map((i,s)=>s%2===0?tu(i):(r++,t[i])));return t.length===r?n:null}var FD=FF;p();async function TF(e,t,r){let n=r.getValue(),u=n.quasis.length;if(u===1&&n.quasis[0].value.raw.trim()==="")return"``";let i=Bn(r,t),s=[];for(let a=0;a<u;a++){let o=n.quasis[a],c=a===0,l=a===u-1,f=o.value.cooked,m=f.split(`
73
+ `),D=m.length,y=i[a],E=D>2&&m[0].trim()===""&&m[1].trim()==="",C=D>2&&m[D-1].trim()===""&&m[D-2].trim()==="",T=m.every(S=>/^\s*(?:#[^\n\r]*)?$/.test(S));if(!l&&/#[^\n\r]*$/.test(m[D-1]))return null;let b=null;T?b=bF(m):b=await e(f,{parser:"graphql"}),b?(b=ss(b,!1),!c&&E&&s.push(""),s.push(b),!l&&C&&s.push("")):!c&&!l&&E&&s.push(""),y&&s.push(y)}return["`",F([d,B(d,s)]),d,"`"]}function bF(e){let t=[],r=!1,n=e.map(u=>u.trim());for(let[u,i]of n.entries())i!==""&&(n[u-1]===""&&r?t.push([d,i]):t.push(i),r=!0);return t.length===0?null:B(d,t)}var xD=TF;p();var Nc=0;async function SD(e,t,r,n,u){let i=r.getValue(),s=Nc;Nc=Nc+1>>>0;let a=T=>`PRETTIER_HTML_PLACEHOLDER_${T}_${s}_IN_JS`,o=i.quasis.map((T,b,S)=>b===S.length-1?T.value.cooked:T.value.cooked+a(b)).join(""),c=Bn(r,t);if(c.length===0&&o.trim().length===0)return"``";let l=new RegExp(a("(\\d+)"),"g"),f=0,m=await e(o,{parser:u,__onHtmlRoot(T){f=T.children.length}}),D=et(m,T=>{if(typeof T!="string")return T;let b=[],S=T.split(l);for(let v=0;v<S.length;v++){let w=S[v];if(v%2===0){w&&(w=Lc(w),n.__embeddedInHtml&&(w=w.replace(/<\/(script)\b/gi,"<\\/$1")),b.push(w));continue}let j=Number(w);b.push(c[j])}return b}),y=/^\s/.test(o)?" ":"",E=/\s$/.test(o)?" ":"",C=n.htmlWhitespaceSensitivity==="ignore"?d:y&&E?x:null;return C?h(["`",F([C,h(D)]),C,"`"]):h(["`",y,f>1?F(h(D)):h(D),E,"`"])}var TD=(e,t,r,n)=>SD(e,t,r,n,"html"),bD=(e,t,r,n)=>SD(e,t,r,n,"angular");function BF(e){let t=e.getValue();if(!(t.type!=="TemplateLiteral"||OF(t))){if(wF(e)||kF(e)||LF(e)||PF(e))return FD;if(NF(e))return xD;if(_F(e))return TD;if(IF(e))return bD;if(vF(e))return AD}}function vF(e){let t=e.getValue(),r=e.getParentNode();return r&&r.type==="TaggedTemplateExpression"&&t.quasis.length===1&&r.tag.type==="Identifier"&&(r.tag.name==="md"||r.tag.name==="markdown")}function wF(e){let t=e.getValue(),r=e.getParentNode(),n=e.getParentNode(1);return n&&t.quasis&&r.type==="JSXExpressionContainer"&&n.type==="JSXElement"&&n.openingElement.name.name==="style"&&n.openingElement.attributes.some(u=>u.name.name==="jsx")||r&&r.type==="TaggedTemplateExpression"&&r.tag.type==="Identifier"&&r.tag.name==="css"||r&&r.type==="TaggedTemplateExpression"&&r.tag.type==="MemberExpression"&&r.tag.object.name==="css"&&(r.tag.property.name==="global"||r.tag.property.name==="resolve")}function PF(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="ArrayExpression"&&r==="elements",(t,r)=>Me(t)&&t.key.type==="Identifier"&&t.key.name==="styles"&&r==="value",...vD)}function IF(e){return e.match(t=>t.type==="TemplateLiteral",(t,r)=>Me(t)&&t.key.type==="Identifier"&&t.key.name==="template"&&r==="value",...vD)}var vD=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function kF(e){let t=e.getParentNode();if(!t||t.type!=="TaggedTemplateExpression")return!1;let r=t.tag.type==="ParenthesizedExpression"?t.tag.expression:t.tag;switch(r.type){case"MemberExpression":return as(r.object)||BD(r);case"CallExpression":return as(r.callee)||r.callee.type==="MemberExpression"&&(r.callee.object.type==="MemberExpression"&&(as(r.callee.object.object)||BD(r.callee.object))||r.callee.object.type==="CallExpression"&&as(r.callee.object.callee));case"Identifier":return r.name==="css";default:return!1}}function LF(e){let t=e.getParentNode(),r=e.getParentNode(1);return r&&t.type==="JSXExpressionContainer"&&r.type==="JSXAttribute"&&r.name.type==="JSXIdentifier"&&r.name.name==="css"}function as(e){return e.type==="Identifier"&&e.name==="styled"}function BD(e){return/^[A-Z]/.test(e.object.name)&&e.property.name==="extend"}function NF(e){let t=e.getValue(),r=e.getParentNode();return wD(t,"GraphQL")||r&&(r.type==="TaggedTemplateExpression"&&(r.tag.type==="MemberExpression"&&r.tag.object.name==="graphql"&&r.tag.property.name==="experimental"||r.tag.type==="Identifier"&&(r.tag.name==="gql"||r.tag.name==="graphql"))||r.type==="CallExpression"&&r.callee.type==="Identifier"&&r.callee.name==="graphql")}function wD(e,t){return k(e,_.Block|_.Leading,({value:r})=>r===` ${t} `)}function _F(e){return wD(e.getValue(),"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,r)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&r==="quasi")}function OF({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var PD=BF;p();var RF=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),vn=e=>{for(let t of e.quasis)delete t.value};function ID(e,t,r){var u;if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="BigIntLiteralTypeAnnotation")&&t.value&&(t.value=t.value.toLowerCase()),(e.type==="BigIntLiteral"||e.type==="Literal")&&t.bigint&&(t.bigint=t.bigint.toLowerCase()),e.type==="DecimalLiteral"&&(t.value=Number(t.value)),e.type==="Literal"&&t.decimal&&(t.decimal=Number(t.decimal)),e.type==="EmptyStatement"||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty")&&typeof e.key=="object"&&e.key&&(e.key.type==="Literal"||e.key.type==="NumericLiteral"||e.key.type==="StringLiteral"||e.key.type==="Identifier")&&delete t.key,e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(i=>i.name.name==="jsx"))for(let{type:i,expression:s}of t.children)i==="JSXExpressionContainer"&&s.type==="TemplateLiteral"&&vn(s);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&vn(t.value.expression),e.type==="JSXAttribute"&&e.value&&e.value.type==="Literal"&&/["']|&quot;|&apos;/.test(e.value.value)&&(t.value.value=t.value.value.replace(/["']|&quot;|&apos;/g,'"'));let n=e.expression||e.callee;if(e.type==="Decorator"&&n.type==="CallExpression"&&n.callee.name==="Component"&&n.arguments.length===1){let i=e.expression.arguments[0].properties;for(let[s,a]of t.expression.arguments[0].properties.entries())switch(i[s].key.name){case"styles":a.value.type==="ArrayExpression"&&vn(a.value.elements[0]);break;case"template":a.value.type==="TemplateLiteral"&&vn(a.value);break}}if(e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&vn(t.quasi),e.type==="TemplateLiteral"&&(((u=e.leadingComments)==null?void 0:u.some(s=>Te(s)&&["GraphQL","HTML"].some(a=>s.value===` ${a} `)))||r.type==="CallExpression"&&r.callee.name==="graphql"||!e.leadingComments)&&vn(t),e.type==="InterpreterDirective"&&(t.value=t.value.trimEnd()),(e.type==="TSIntersectionType"||e.type==="TSUnionType")&&e.types.length===1)return t.types[0]}ID.ignoredProperties=RF;var kD=ID;p();var vr=Ct(n0(),1);p();function zF(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
74
+ `);return t===-1?e:e.slice(0,t)}var u0=zF;function QF(e){let t=u0(e);t&&(e=e.slice(t.length+1));let r=(0,vr.extract)(e),{pragmas:n,comments:u}=(0,vr.parseWithComments)(r);return{shebang:t,text:e,pragmas:n,comments:u}}function ls(e){let{shebang:t,text:r,pragmas:n,comments:u}=QF(e),i=(0,vr.strip)(r),s=(0,vr.print)({pragmas:{format:"",...n},comments:u.trimStart()});return(t?`${t}
75
+ `:"")+ni(s)+(i.startsWith(`
59
76
  `)?`
60
77
  `:`
61
78
 
62
- `)+w}n.exports={hasPragma:c,insertPragma:y}}}),Ya=Z({"src/language-js/comments.js"(e,n){"use strict";re();var{getLast:t,hasNewline:s,getNextNonSpaceNonCommentCharacterIndexWithStartIndex:a,getNextNonSpaceNonCommentCharacter:r,hasNewlineInRange:u,addLeadingComment:i,addTrailingComment:o,addDanglingComment:c,getNextNonSpaceNonCommentCharacterIndex:y,isNonEmptyArray:m}=Ue(),{getFunctionParameters:d,isPrettierIgnoreComment:p,isJsxNode:f,hasFlowShorthandAnnotationComment:h,hasFlowAnnotationComment:w,hasIgnoreComment:T,isCallLikeExpression:A,getCallArguments:S,isCallExpression:B,isMemberExpression:I,isObjectProperty:k,isLineComment:P,getComments:C,CommentCheckFlags:D,markerForIfWithoutBlockAndSameLineComment:g}=Ke(),{locStart:F,locEnd:l}=st(),E=Pt();function v(me){return[ve,De,q,j,$,V,Q,Ae,U,ge,Ne,ke,te,ie,G].some(_=>_(me))}function N(me){return[M,De,Y,Ne,j,$,V,Q,ie,z,le,ge,de,G,he].some(_=>_(me))}function x(me){return[ve,j,$,H,ue,te,ge,X,W,K,G,ae].some(_=>_(me))}function b(me,_){let J=(me.body||me.properties).find(ne=>{let{type:Ee}=ne;return Ee!=="EmptyStatement"});J?i(J,_):c(me,_)}function L(me,_){me.type==="BlockStatement"?b(me,_):i(me,_)}function M(me){let{comment:_,followingNode:J}=me;return J&&Ie(_)?(i(J,_),!0):!1}function j(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee,text:We}=me;if((ne==null?void 0:ne.type)!=="IfStatement"||!Ee)return!1;if(r(We,_,l)===")")return o(J,_),!0;if(J===ne.consequent&&Ee===ne.alternate){if(J.type==="BlockStatement")o(J,_);else{let Pe=_.type==="SingleLine"||_.loc.start.line===_.loc.end.line,Se=_.loc.start.line===J.loc.start.line;Pe&&Se?c(J,_,g):c(ne,_)}return!0}return Ee.type==="BlockStatement"?(b(Ee,_),!0):Ee.type==="IfStatement"?(L(Ee.consequent,_),!0):ne.consequent===Ee?(i(Ee,_),!0):!1}function $(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee,text:We}=me;return(ne==null?void 0:ne.type)!=="WhileStatement"||!Ee?!1:r(We,_,l)===")"?(o(J,_),!0):Ee.type==="BlockStatement"?(b(Ee,_),!0):ne.body===Ee?(i(Ee,_),!0):!1}function V(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee}=me;return(ne==null?void 0:ne.type)!=="TryStatement"&&(ne==null?void 0:ne.type)!=="CatchClause"||!Ee?!1:ne.type==="CatchClause"&&J?(o(J,_),!0):Ee.type==="BlockStatement"?(b(Ee,_),!0):Ee.type==="TryStatement"?(L(Ee.finalizer,_),!0):Ee.type==="CatchClause"?(L(Ee.body,_),!0):!1}function q(me){let{comment:_,enclosingNode:J,followingNode:ne}=me;return I(J)&&(ne==null?void 0:ne.type)==="Identifier"?(i(J,_),!0):!1}function Y(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee,text:We}=me,Be=J&&!u(We,l(J),F(_));return(!J||!Be)&&((ne==null?void 0:ne.type)==="ConditionalExpression"||(ne==null?void 0:ne.type)==="TSConditionalType")&&Ee?(i(Ee,_),!0):!1}function H(me){let{comment:_,precedingNode:J,enclosingNode:ne}=me;return k(ne)&&ne.shorthand&&ne.key===J&&ne.value.type==="AssignmentPattern"?(o(ne.value.left,_),!0):!1}var R=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Q(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee}=me;if(R.has(ne==null?void 0:ne.type)){if(m(ne.decorators)&&!(Ee&&Ee.type==="Decorator"))return o(t(ne.decorators),_),!0;if(ne.body&&Ee===ne.body)return b(ne.body,_),!0;if(Ee){if(ne.superClass&&Ee===ne.superClass&&J&&(J===ne.id||J===ne.typeParameters))return o(J,_),!0;for(let We of["implements","extends","mixins"])if(ne[We]&&Ee===ne[We][0])return J&&(J===ne.id||J===ne.typeParameters||J===ne.superClass)?o(J,_):c(ne,_,We),!0}}return!1}var ee=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function te(me){let{comment:_,precedingNode:J,enclosingNode:ne,text:Ee}=me;return ne&&J&&r(Ee,_,l)==="("&&(ne.type==="Property"||ne.type==="TSDeclareMethod"||ne.type==="TSAbstractMethodDefinition")&&J.type==="Identifier"&&ne.key===J&&r(Ee,J,l)!==":"||(J==null?void 0:J.type)==="Decorator"&&ee.has(ne==null?void 0:ne.type)?(o(J,_),!0):!1}var oe=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function W(me){let{comment:_,precedingNode:J,enclosingNode:ne,text:Ee}=me;return r(Ee,_,l)!=="("?!1:J&&oe.has(ne==null?void 0:ne.type)?(o(J,_),!0):!1}function X(me){let{comment:_,enclosingNode:J,text:ne}=me;if((J==null?void 0:J.type)!=="ArrowFunctionExpression")return!1;let Ee=y(ne,_,l);return Ee!==!1&&ne.slice(Ee,Ee+2)==="=>"?(c(J,_),!0):!1}function ue(me){let{comment:_,enclosingNode:J,text:ne}=me;return r(ne,_,l)!==")"?!1:J&&(ye(J)&&d(J).length===0||A(J)&&S(J).length===0)?(c(J,_),!0):((J==null?void 0:J.type)==="MethodDefinition"||(J==null?void 0:J.type)==="TSAbstractMethodDefinition")&&d(J.value).length===0?(c(J.value,_),!0):!1}function De(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee,text:We}=me;if((J==null?void 0:J.type)==="FunctionTypeParam"&&(ne==null?void 0:ne.type)==="FunctionTypeAnnotation"&&(Ee==null?void 0:Ee.type)!=="FunctionTypeParam"||((J==null?void 0:J.type)==="Identifier"||(J==null?void 0:J.type)==="AssignmentPattern")&&ne&&ye(ne)&&r(We,_,l)===")")return o(J,_),!0;if((ne==null?void 0:ne.type)==="FunctionDeclaration"&&(Ee==null?void 0:Ee.type)==="BlockStatement"){let Be=(()=>{let Pe=d(ne);if(Pe.length>0)return a(We,l(t(Pe)));let Se=a(We,l(ne.id));return Se!==!1&&a(We,Se+1)})();if(F(_)>Be)return b(Ee,_),!0}return!1}function ie(me){let{comment:_,enclosingNode:J}=me;return(J==null?void 0:J.type)==="LabeledStatement"?(i(J,_),!0):!1}function G(me){let{comment:_,enclosingNode:J}=me;return((J==null?void 0:J.type)==="ContinueStatement"||(J==null?void 0:J.type)==="BreakStatement")&&!J.label?(o(J,_),!0):!1}function z(me){let{comment:_,precedingNode:J,enclosingNode:ne}=me;return B(ne)&&J&&ne.callee===J&&ne.arguments.length>0?(i(ne.arguments[0],_),!0):!1}function U(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee}=me;return(ne==null?void 0:ne.type)==="UnionTypeAnnotation"||(ne==null?void 0:ne.type)==="TSUnionType"?(p(_)&&(Ee.prettierIgnore=!0,_.unignore=!0),J?(o(J,_),!0):!1):(((Ee==null?void 0:Ee.type)==="UnionTypeAnnotation"||(Ee==null?void 0:Ee.type)==="TSUnionType")&&p(_)&&(Ee.types[0].prettierIgnore=!0,_.unignore=!0),!1)}function le(me){let{comment:_,enclosingNode:J}=me;return k(J)?(i(J,_),!0):!1}function ge(me){let{comment:_,enclosingNode:J,followingNode:ne,ast:Ee,isLastComment:We}=me;return Ee&&Ee.body&&Ee.body.length===0?(We?c(Ee,_):i(Ee,_),!0):(J==null?void 0:J.type)==="Program"&&(J==null?void 0:J.body.length)===0&&!m(J.directives)?(We?c(J,_):i(J,_),!0):(ne==null?void 0:ne.type)==="Program"&&(ne==null?void 0:ne.body.length)===0&&(J==null?void 0:J.type)==="ModuleExpression"?(c(ne,_),!0):!1}function Ae(me){let{comment:_,enclosingNode:J}=me;return(J==null?void 0:J.type)==="ForInStatement"||(J==null?void 0:J.type)==="ForOfStatement"?(i(J,_),!0):!1}function Ne(me){let{comment:_,precedingNode:J,enclosingNode:ne,text:Ee}=me;if((ne==null?void 0:ne.type)==="ImportSpecifier"||(ne==null?void 0:ne.type)==="ExportSpecifier")return i(ne,_),!0;let We=(J==null?void 0:J.type)==="ImportSpecifier"&&(ne==null?void 0:ne.type)==="ImportDeclaration",Be=(J==null?void 0:J.type)==="ExportSpecifier"&&(ne==null?void 0:ne.type)==="ExportNamedDeclaration";return(We||Be)&&s(Ee,l(_))?(o(J,_),!0):!1}function ke(me){let{comment:_,enclosingNode:J}=me;return(J==null?void 0:J.type)==="AssignmentPattern"?(i(J,_),!0):!1}var ce=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),pe=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function de(me){let{comment:_,enclosingNode:J,followingNode:ne}=me;return ce.has(J==null?void 0:J.type)&&ne&&(pe.has(ne.type)||E(_))?(i(ne,_),!0):!1}function ae(me){let{comment:_,enclosingNode:J,followingNode:ne,text:Ee}=me;return!ne&&((J==null?void 0:J.type)==="TSMethodSignature"||(J==null?void 0:J.type)==="TSDeclareFunction"||(J==null?void 0:J.type)==="TSAbstractMethodDefinition")&&r(Ee,_,l)===";"?(o(J,_),!0):!1}function ve(me){let{comment:_,enclosingNode:J,followingNode:ne}=me;if(p(_)&&(J==null?void 0:J.type)==="TSMappedType"&&(ne==null?void 0:ne.type)==="TSTypeParameter"&&ne.constraint)return J.prettierIgnore=!0,_.unignore=!0,!0}function K(me){let{comment:_,precedingNode:J,enclosingNode:ne,followingNode:Ee}=me;return(ne==null?void 0:ne.type)!=="TSMappedType"?!1:(Ee==null?void 0:Ee.type)==="TSTypeParameter"&&Ee.name?(i(Ee.name,_),!0):(J==null?void 0:J.type)==="TSTypeParameter"&&J.constraint?(o(J.constraint,_),!0):!1}function he(me){let{comment:_,enclosingNode:J,followingNode:ne}=me;return!J||J.type!=="SwitchCase"||J.test?!1:(ne.type==="BlockStatement"&&P(_)?b(ne,_):c(J,_),!0)}function ye(me){return me.type==="ArrowFunctionExpression"||me.type==="FunctionExpression"||me.type==="FunctionDeclaration"||me.type==="ObjectMethod"||me.type==="ClassMethod"||me.type==="TSDeclareFunction"||me.type==="TSCallSignatureDeclaration"||me.type==="TSConstructSignatureDeclaration"||me.type==="TSMethodSignature"||me.type==="TSConstructorType"||me.type==="TSFunctionType"||me.type==="TSDeclareMethod"}function Ce(me,_){if((_.parser==="typescript"||_.parser==="flow"||_.parser==="acorn"||_.parser==="espree"||_.parser==="meriyah"||_.parser==="__babel_estree")&&me.type==="MethodDefinition"&&me.value&&me.value.type==="FunctionExpression"&&d(me.value).length===0&&!me.value.returnType&&!m(me.value.typeParameters)&&me.value.body)return[...me.decorators||[],me.key,me.value.body]}function Ie(me){return E(me)&&me.value[0]==="*"&&/@type\b/.test(me.value)}function Fe(me){let _=me.getValue(),J=me.getParentNode(),ne=Ee=>w(C(Ee,D.Leading))||w(C(Ee,D.Trailing));return(_&&(f(_)||h(_)||B(J)&&ne(_))||J&&(J.type==="JSXSpreadAttribute"||J.type==="JSXSpreadChild"||J.type==="UnionTypeAnnotation"||J.type==="TSUnionType"||(J.type==="ClassDeclaration"||J.type==="ClassExpression")&&J.superClass===_))&&(!T(me)||J.type==="UnionTypeAnnotation"||J.type==="TSUnionType")}n.exports={handleOwnLineComment:v,handleEndOfLineComment:N,handleRemainingComment:x,isTypeCastComment:Ie,getCommentChildNodes:Ce,willPrintOwnComments:Fe}}}),It=Z({"src/language-js/needs-parens.js"(e,n){"use strict";re();var t=it(),s=On(),{getFunctionParameters:a,getLeftSidePathName:r,hasFlowShorthandAnnotationComment:u,hasNakedLeftSide:i,hasNode:o,isBitwiseOperator:c,startsWithNoLookaheadToken:y,shouldFlatten:m,getPrecedence:d,isCallExpression:p,isMemberExpression:f,isObjectProperty:h}=Ke();function w(P,C){let D=P.getParentNode();if(!D)return!1;let g=P.getName(),F=P.getNode();if(C.__isInHtmlInterpolation&&!C.bracketSpacing&&B(F)&&I(P))return!0;if(T(F))return!1;if(C.parser!=="flow"&&u(P.getValue()))return!0;if(F.type==="Identifier")return!!(F.extra&&F.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(F.name)||g==="left"&&F.name==="async"&&D.type==="ForOfStatement"&&!D.await);switch(D.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(g==="superClass"&&(F.type==="ArrowFunctionExpression"||F.type==="AssignmentExpression"||F.type==="AwaitExpression"||F.type==="BinaryExpression"||F.type==="ConditionalExpression"||F.type==="LogicalExpression"||F.type==="NewExpression"||F.type==="ObjectExpression"||F.type==="SequenceExpression"||F.type==="TaggedTemplateExpression"||F.type==="UnaryExpression"||F.type==="UpdateExpression"||F.type==="YieldExpression"||F.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return k(P,C)||F.type==="SequenceExpression";case"Decorator":{if(g==="expression"){let l=!1,E=!1,v=F;for(;v;)switch(v.type){case"MemberExpression":E=!0,v=v.object;break;case"CallExpression":if(E||l)return C.parser!=="typescript";l=!0,v=v.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return C.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(y(F,!0))return!0;break}case"ArrowFunctionExpression":{if(g==="body"&&F.type!=="SequenceExpression"&&y(F,!1))return!0;break}}switch(F.type){case"UpdateExpression":if(D.type==="UnaryExpression")return F.prefix&&(F.operator==="++"&&D.operator==="+"||F.operator==="--"&&D.operator==="-");case"UnaryExpression":switch(D.type){case"UnaryExpression":return F.operator===D.operator&&(F.operator==="+"||F.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return g==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return g==="callee";case"BinaryExpression":return g==="left"&&D.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(D.type==="UpdateExpression"||F.operator==="in"&&A(P))return!0;if(F.operator==="|>"&&F.extra&&F.extra.parenthesized){let l=P.getParentNode(1);if(l.type==="BinaryExpression"&&l.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(D.type){case"TSAsExpression":return F.type!=="TSAsExpression";case"ConditionalExpression":return F.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return g==="callee";case"ClassExpression":case"ClassDeclaration":return g==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return g==="object";case"AssignmentExpression":case"AssignmentPattern":return g==="left"&&(F.type==="TSTypeAssertion"||F.type==="TSAsExpression");case"LogicalExpression":if(F.type==="LogicalExpression")return D.operator!==F.operator;case"BinaryExpression":{let{operator:l,type:E}=F;if(!l&&E!=="TSTypeAssertion")return!0;let v=d(l),N=D.operator,x=d(N);return x>v||g==="right"&&x===v||x===v&&!m(N,l)?!0:x<v&&l==="%"?N==="+"||N==="-":!!c(N)}default:return!1}case"SequenceExpression":switch(D.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return g!=="expression";case"ArrowFunctionExpression":return g!=="body";default:return!0}case"YieldExpression":if(D.type==="UnaryExpression"||D.type==="AwaitExpression"||D.type==="TSAsExpression"||D.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(D.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return g==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return g==="callee";case"ConditionalExpression":return g==="test";case"BinaryExpression":return!(!F.argument&&D.operator==="|>");default:return!1}case"TSConditionalType":if(g==="extendsType"&&D.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(g==="checkType"&&D.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((D.type==="TSUnionType"||D.type==="TSIntersectionType")&&D.types.length>1&&(!F.types||F.types.length>1))return!0;case"TSInferType":if(F.type==="TSInferType"&&D.type==="TSRestType")return!1;case"TSTypeOperator":return D.type==="TSArrayType"||D.type==="TSOptionalType"||D.type==="TSRestType"||g==="objectType"&&D.type==="TSIndexedAccessType"||D.type==="TSTypeOperator"||D.type==="TSTypeAnnotation"&&P.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return D.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return D.type==="ArrayTypeAnnotation"||D.type==="NullableTypeAnnotation"||D.type==="IntersectionTypeAnnotation"||D.type==="UnionTypeAnnotation"||g==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return D.type==="ArrayTypeAnnotation"||g==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let l=D.type==="NullableTypeAnnotation"?P.getParentNode(1):D;return l.type==="UnionTypeAnnotation"||l.type==="IntersectionTypeAnnotation"||l.type==="ArrayTypeAnnotation"||g==="objectType"&&(l.type==="IndexedAccessType"||l.type==="OptionalIndexedAccessType")||l.type==="NullableTypeAnnotation"||D.type==="FunctionTypeParam"&&D.name===null&&a(F).some(E=>E.typeAnnotation&&E.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return g==="objectType"&&D.type==="IndexedAccessType";case"TypeofTypeAnnotation":return g==="objectType"&&(D.type==="IndexedAccessType"||D.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof F.value=="string"&&D.type==="ExpressionStatement"&&!D.directive){let l=P.getParentNode(1);return l.type==="Program"||l.type==="BlockStatement"}return g==="object"&&D.type==="MemberExpression"&&typeof F.value=="number";case"AssignmentExpression":{let l=P.getParentNode(1);return g==="body"&&D.type==="ArrowFunctionExpression"?!0:g==="key"&&(D.type==="ClassProperty"||D.type==="PropertyDefinition")&&D.computed||(g==="init"||g==="update")&&D.type==="ForStatement"?!1:D.type==="ExpressionStatement"?F.left.type==="ObjectPattern":!(g==="key"&&D.type==="TSPropertySignature"||D.type==="AssignmentExpression"||D.type==="SequenceExpression"&&l&&l.type==="ForStatement"&&(l.init===D||l.update===D)||g==="value"&&D.type==="Property"&&l&&l.type==="ObjectPattern"&&l.properties.includes(D)||D.type==="NGChainedExpression")}case"ConditionalExpression":switch(D.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return g==="callee";case"ConditionalExpression":return g==="test";case"MemberExpression":case"OptionalMemberExpression":return g==="object";default:return!1}case"FunctionExpression":switch(D.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return g==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(D.type){case"BinaryExpression":return D.operator!=="|>"||F.extra&&F.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return g==="callee";case"MemberExpression":case"OptionalMemberExpression":return g==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return g==="test";default:return!1}case"ClassExpression":if(s(F.decorators))return!0;switch(D.type){case"NewExpression":return g==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let l=P.getParentNode(1);if(g==="object"&&D.type==="MemberExpression"||g==="callee"&&(D.type==="CallExpression"||D.type==="NewExpression")||D.type==="TSNonNullExpression"&&l.type==="MemberExpression"&&l.object===D)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(g==="callee"&&(D.type==="BindExpression"||D.type==="NewExpression")){let l=F;for(;l;)switch(l.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":l=l.object;break;case"TaggedTemplateExpression":l=l.tag;break;case"TSNonNullExpression":l=l.expression;break;default:return!1}}return!1;case"BindExpression":return g==="callee"&&(D.type==="BindExpression"||D.type==="NewExpression")||g==="object"&&f(D);case"NGPipeExpression":return!(D.type==="NGRoot"||D.type==="NGMicrosyntaxExpression"||D.type==="ObjectProperty"&&!(F.extra&&F.extra.parenthesized)||D.type==="ArrayExpression"||p(D)&&D.arguments[g]===F||g==="right"&&D.type==="NGPipeExpression"||g==="property"&&D.type==="MemberExpression"||D.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return g==="callee"||g==="left"&&D.type==="BinaryExpression"&&D.operator==="<"||D.type!=="ArrayExpression"&&D.type!=="ArrowFunctionExpression"&&D.type!=="AssignmentExpression"&&D.type!=="AssignmentPattern"&&D.type!=="BinaryExpression"&&D.type!=="NewExpression"&&D.type!=="ConditionalExpression"&&D.type!=="ExpressionStatement"&&D.type!=="JsExpressionRoot"&&D.type!=="JSXAttribute"&&D.type!=="JSXElement"&&D.type!=="JSXExpressionContainer"&&D.type!=="JSXFragment"&&D.type!=="LogicalExpression"&&!p(D)&&!h(D)&&D.type!=="ReturnStatement"&&D.type!=="ThrowStatement"&&D.type!=="TypeCastExpression"&&D.type!=="VariableDeclarator"&&D.type!=="YieldExpression";case"TypeAnnotation":return g==="returnType"&&D.type==="ArrowFunctionExpression"&&S(F)}return!1}function T(P){return P.type==="BlockStatement"||P.type==="BreakStatement"||P.type==="ClassBody"||P.type==="ClassDeclaration"||P.type==="ClassMethod"||P.type==="ClassProperty"||P.type==="PropertyDefinition"||P.type==="ClassPrivateProperty"||P.type==="ContinueStatement"||P.type==="DebuggerStatement"||P.type==="DeclareClass"||P.type==="DeclareExportAllDeclaration"||P.type==="DeclareExportDeclaration"||P.type==="DeclareFunction"||P.type==="DeclareInterface"||P.type==="DeclareModule"||P.type==="DeclareModuleExports"||P.type==="DeclareVariable"||P.type==="DoWhileStatement"||P.type==="EnumDeclaration"||P.type==="ExportAllDeclaration"||P.type==="ExportDefaultDeclaration"||P.type==="ExportNamedDeclaration"||P.type==="ExpressionStatement"||P.type==="ForInStatement"||P.type==="ForOfStatement"||P.type==="ForStatement"||P.type==="FunctionDeclaration"||P.type==="IfStatement"||P.type==="ImportDeclaration"||P.type==="InterfaceDeclaration"||P.type==="LabeledStatement"||P.type==="MethodDefinition"||P.type==="ReturnStatement"||P.type==="SwitchStatement"||P.type==="ThrowStatement"||P.type==="TryStatement"||P.type==="TSDeclareFunction"||P.type==="TSEnumDeclaration"||P.type==="TSImportEqualsDeclaration"||P.type==="TSInterfaceDeclaration"||P.type==="TSModuleDeclaration"||P.type==="TSNamespaceExportDeclaration"||P.type==="TypeAlias"||P.type==="VariableDeclaration"||P.type==="WhileStatement"||P.type==="WithStatement"}function A(P){let C=0,D=P.getValue();for(;D;){let g=P.getParentNode(C++);if(g&&g.type==="ForStatement"&&g.init===D)return!0;D=g}return!1}function S(P){return o(P,C=>C.type==="ObjectTypeAnnotation"&&o(C,D=>D.type==="FunctionTypeAnnotation"||void 0)||void 0)}function B(P){switch(P.type){case"ObjectExpression":return!0;default:return!1}}function I(P){let C=P.getValue(),D=P.getParentNode(),g=P.getName();switch(D.type){case"NGPipeExpression":if(typeof g=="number"&&D.arguments[g]===C&&D.arguments.length-1===g)return P.callParent(I);break;case"ObjectProperty":if(g==="value"){let F=P.getParentNode(1);return t(F.properties)===D}break;case"BinaryExpression":case"LogicalExpression":if(g==="right")return P.callParent(I);break;case"ConditionalExpression":if(g==="alternate")return P.callParent(I);break;case"UnaryExpression":if(D.prefix)return P.callParent(I);break}return!1}function k(P,C){let D=P.getValue(),g=P.getParentNode();return D.type==="FunctionExpression"||D.type==="ClassExpression"?g.type==="ExportDefaultDeclaration"||!w(P,C):!i(D)||g.type!=="ExportDefaultDeclaration"&&w(P,C)?!1:P.call(F=>k(F,C),...r(P,D))}n.exports=w}}),Qa=Z({"src/language-js/print-preprocess.js"(e,n){"use strict";re();function t(s,a){switch(a.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return Object.assign(Object.assign({},s),{},{type:a.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:s,comments:[],rootMarker:a.rootMarker});default:return s}}n.exports=t}}),Lm=Z({"src/language-js/print/html-binding.js"(e,n){"use strict";re();var{builders:{join:t,line:s,group:a,softline:r,indent:u}}=Oe();function i(c,y,m){let d=c.getValue();if(y.__onHtmlBindingRoot&&c.getName()===null&&y.__onHtmlBindingRoot(d,y),d.type==="File"){if(y.__isVueForBindingLeft)return c.call(p=>{let f=t([",",s],p.map(m,"params")),{params:h}=p.getValue();return h.length===1?f:["(",u([r,a(f)]),r,")"]},"program","body",0);if(y.__isVueBindings)return c.call(p=>t([",",s],p.map(m,"params")),"program","body",0)}}function o(c){switch(c.type){case"MemberExpression":switch(c.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return o(c.object)}return!1;case"Identifier":return!0;default:return!1}}n.exports={isVueEventBindingExpression:o,printHtmlBinding:i}}}),$n=Z({"src/language-js/print/binaryish.js"(e,n){"use strict";re();var{printComments:t}=et(),{getLast:s}=Ue(),{builders:{join:a,line:r,softline:u,group:i,indent:o,align:c,ifBreak:y,indentIfBreak:m},utils:{cleanDoc:d,getDocParts:p,isConcat:f}}=Oe(),{hasLeadingOwnLineComment:h,isBinaryish:w,isJsxNode:T,shouldFlatten:A,hasComment:S,CommentCheckFlags:B,isCallExpression:I,isMemberExpression:k,isObjectProperty:P,isEnabledHackPipeline:C}=Ke(),D=0;function g(E,v,N){let x=E.getValue(),b=E.getParentNode(),L=E.getParentNode(1),M=x!==b.body&&(b.type==="IfStatement"||b.type==="WhileStatement"||b.type==="SwitchStatement"||b.type==="DoWhileStatement"),j=C(v)&&x.operator==="|>",$=F(E,N,v,!1,M);if(M)return $;if(j)return i($);if(I(b)&&b.callee===x||b.type==="UnaryExpression"||k(b)&&!b.computed)return i([o([u,...$]),u]);let V=b.type==="ReturnStatement"||b.type==="ThrowStatement"||b.type==="JSXExpressionContainer"&&L.type==="JSXAttribute"||x.operator!=="|"&&b.type==="JsExpressionRoot"||x.type!=="NGPipeExpression"&&(b.type==="NGRoot"&&v.parser==="__ng_binding"||b.type==="NGMicrosyntaxExpression"&&L.type==="NGMicrosyntax"&&L.body.length===1)||x===b.body&&b.type==="ArrowFunctionExpression"||x!==b.body&&b.type==="ForStatement"||b.type==="ConditionalExpression"&&L.type!=="ReturnStatement"&&L.type!=="ThrowStatement"&&!I(L)||b.type==="TemplateLiteral",q=b.type==="AssignmentExpression"||b.type==="VariableDeclarator"||b.type==="ClassProperty"||b.type==="PropertyDefinition"||b.type==="TSAbstractPropertyDefinition"||b.type==="ClassPrivateProperty"||P(b),Y=w(x.left)&&A(x.operator,x.left.operator);if(V||l(x)&&!Y||!l(x)&&q)return i($);if($.length===0)return"";let H=T(x.right),R=$.findIndex(X=>typeof X!="string"&&!Array.isArray(X)&&X.type==="group"),Q=$.slice(0,R===-1?1:R+1),ee=$.slice(Q.length,H?-1:void 0),te=Symbol("logicalChain-"+ ++D),oe=i([...Q,o(ee)],{id:te});if(!H)return oe;let W=s($);return i([oe,m(W,{groupId:te})])}function F(E,v,N,x,b){let L=E.getValue();if(!w(L))return[i(v())];let M=[];A(L.operator,L.left.operator)?M=E.call(ee=>F(ee,v,N,!0,b),"left"):M.push(i(v("left")));let j=l(L),$=(L.operator==="|>"||L.type==="NGPipeExpression"||L.operator==="|"&&N.parser==="__vue_expression")&&!h(N.originalText,L.right),V=L.type==="NGPipeExpression"?"|":L.operator,q=L.type==="NGPipeExpression"&&L.arguments.length>0?i(o([u,": ",a([u,":",y(" ")],E.map(v,"arguments").map(ee=>c(2,i(ee))))])):"",Y;if(j)Y=[V," ",v("right"),q];else{let te=C(N)&&V==="|>"?E.call(oe=>F(oe,v,N,!0,b),"right"):v("right");Y=[$?r:"",V,$?" ":r,te,q]}let H=E.getParentNode(),R=S(L.left,B.Trailing|B.Line),Q=R||!(b&&L.type==="LogicalExpression")&&H.type!==L.type&&L.left.type!==L.type&&L.right.type!==L.type;if(M.push($?"":" ",Q?i(Y,{shouldBreak:R}):Y),x&&S(L)){let ee=d(t(E,M,N));return f(ee)||ee.type==="fill"?p(ee):[ee]}return M}function l(E){return E.type!=="LogicalExpression"?!1:!!(E.right.type==="ObjectExpression"&&E.right.properties.length>0||E.right.type==="ArrayExpression"&&E.right.elements.length>0||T(E.right))}n.exports={printBinaryishExpression:g,shouldInlineLogicalExpression:l}}}),jm=Z({"src/language-js/print/angular.js"(e,n){"use strict";re();var{builders:{join:t,line:s,group:a}}=Oe(),{hasNode:r,hasComment:u,getComments:i}=Ke(),{printBinaryishExpression:o}=$n();function c(d,p,f){let h=d.getValue();if(!!h.type.startsWith("NG"))switch(h.type){case"NGRoot":return[f("node"),u(h.node)?" //"+i(h.node)[0].value.trimEnd():""];case"NGPipeExpression":return o(d,p,f);case"NGChainedExpression":return a(t([";",s],d.map(w=>m(w)?f():["(",f(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[h.prefix,": ",h.value.trim()];case"NGMicrosyntax":return d.map((w,T)=>[T===0?"":y(w.getValue(),T,h)?" ":[";",s],f()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(h.name)?h.name:JSON.stringify(h.name);case"NGMicrosyntaxExpression":return[f("expression"),h.alias===null?"":[" as ",f("alias")]];case"NGMicrosyntaxKeyedExpression":{let w=d.getName(),T=d.getParentNode(),A=y(h,w,T)||(w===1&&(h.key.name==="then"||h.key.name==="else")||w===2&&h.key.name==="else"&&T.body[w-1].type==="NGMicrosyntaxKeyedExpression"&&T.body[w-1].key.name==="then")&&T.body[0].type==="NGMicrosyntaxExpression";return[f("key"),A?" ":": ",f("expression")]}case"NGMicrosyntaxLet":return["let ",f("key"),h.value===null?"":[" = ",f("value")]];case"NGMicrosyntaxAs":return[f("key")," as ",f("alias")];default:throw new Error("Unknown Angular node type: ".concat(JSON.stringify(h.type),"."))}}function y(d,p,f){return d.type==="NGMicrosyntaxKeyedExpression"&&d.key.name==="of"&&p===1&&f.body[0].type==="NGMicrosyntaxLet"&&f.body[0].value===null}function m(d){return r(d.getValue(),p=>{switch(p.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}n.exports={printAngular:c}}}),Om=Z({"src/language-js/print/jsx.js"(e,n){"use strict";re();var{printComments:t,printDanglingComments:s}=et(),{builders:{line:a,hardline:r,softline:u,group:i,indent:o,conditionalGroup:c,fill:y,ifBreak:m,lineSuffixBoundary:d,join:p},utils:{willBreak:f}}=Oe(),{getLast:h,getPreferredQuote:w}=Ue(),{isJsxNode:T,rawText:A,isLiteral:S,isCallExpression:B,isStringLiteral:I,isBinaryish:k,hasComment:P,CommentCheckFlags:C,hasNodeIgnoreComment:D}=Ke(),g=It(),{willPrintOwnComments:F}=Ya(),l=ie=>ie===""||ie===a||ie===r||ie===u;function E(ie,G,z){let U=ie.getValue();if(U.type==="JSXElement"&&W(U))return[z("openingElement"),z("closingElement")];let le=U.type==="JSXElement"?z("openingElement"):z("openingFragment"),ge=U.type==="JSXElement"?z("closingElement"):z("closingFragment");if(U.children.length===1&&U.children[0].type==="JSXExpressionContainer"&&(U.children[0].expression.type==="TemplateLiteral"||U.children[0].expression.type==="TaggedTemplateExpression"))return[le,...ie.map(z,"children"),ge];U.children=U.children.map(Fe=>ue(Fe)?{type:"JSXText",value:" ",raw:" "}:Fe);let Ae=U.children.some(T),Ne=U.children.filter(Fe=>Fe.type==="JSXExpressionContainer").length>1,ke=U.type==="JSXElement"&&U.openingElement.attributes.length>1,ce=f(le)||Ae||ke||Ne,pe=ie.getParentNode().rootMarker==="mdx",de=G.singleQuote?"{' '}":'{" "}',ae=pe?" ":m([de,u]," "),ve=U.openingElement&&U.openingElement.name&&U.openingElement.name.name==="fbt",K=v(ie,G,z,ae,ve),he=U.children.some(Fe=>X(Fe));for(let Fe=K.length-2;Fe>=0;Fe--){let me=K[Fe]===""&&K[Fe+1]==="",_=K[Fe]===r&&K[Fe+1]===""&&K[Fe+2]===r,J=(K[Fe]===u||K[Fe]===r)&&K[Fe+1]===""&&K[Fe+2]===ae,ne=K[Fe]===ae&&K[Fe+1]===""&&(K[Fe+2]===u||K[Fe+2]===r),Ee=K[Fe]===ae&&K[Fe+1]===""&&K[Fe+2]===ae,We=K[Fe]===u&&K[Fe+1]===""&&K[Fe+2]===r||K[Fe]===r&&K[Fe+1]===""&&K[Fe+2]===u;_&&he||me||J||Ee||We?K.splice(Fe,2):ne&&K.splice(Fe+1,2)}for(;K.length>0&&l(h(K));)K.pop();for(;K.length>1&&l(K[0])&&l(K[1]);)K.shift(),K.shift();let ye=[];for(let[Fe,me]of K.entries()){if(me===ae){if(Fe===1&&K[Fe-1]===""){if(K.length===2){ye.push(de);continue}ye.push([de,r]);continue}else if(Fe===K.length-1){ye.push(de);continue}else if(K[Fe-1]===""&&K[Fe-2]===r){ye.push(de);continue}}ye.push(me),f(me)&&(ce=!0)}let Ce=he?y(ye):i(ye,{shouldBreak:!0});if(pe)return Ce;let Ie=i([le,o([r,Ce]),r,ge]);return ce?Ie:c([i([le,...K,ge]),Ie])}function v(ie,G,z,U,le){let ge=[];return ie.each((Ae,Ne,ke)=>{let ce=Ae.getValue();if(S(ce)){let pe=A(ce);if(X(ce)){let de=pe.split(ee);if(de[0]===""){if(ge.push(""),de.shift(),/\n/.test(de[0])){let ve=ke[Ne+1];ge.push(x(le,de[1],ce,ve))}else ge.push(U);de.shift()}let ae;if(h(de)===""&&(de.pop(),ae=de.pop()),de.length===0)return;for(let[ve,K]of de.entries())ve%2===1?ge.push(a):ge.push(K);if(ae!==void 0)if(/\n/.test(ae)){let ve=ke[Ne+1];ge.push(x(le,h(ge),ce,ve))}else ge.push(U);else{let ve=ke[Ne+1];ge.push(N(le,h(ge),ce,ve))}}else/\n/.test(pe)?pe.match(/\n/g).length>1&&ge.push("",r):ge.push("",U)}else{let pe=z();ge.push(pe);let de=ke[Ne+1];if(de&&X(de)){let ve=oe(A(de)).split(ee)[0];ge.push(N(le,ve,ce,de))}else ge.push(r)}},"children"),ge}function N(ie,G,z,U){return ie?"":z.type==="JSXElement"&&!z.closingElement||U&&U.type==="JSXElement"&&!U.closingElement?G.length===1?u:r:u}function x(ie,G,z,U){return ie?r:G.length===1?z.type==="JSXElement"&&!z.closingElement||U&&U.type==="JSXElement"&&!U.closingElement?r:u:r}function b(ie,G,z){let U=ie.getParentNode();if(!U||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[U.type])return G;let ge=ie.match(void 0,Ne=>Ne.type==="ArrowFunctionExpression",B,Ne=>Ne.type==="JSXExpressionContainer"),Ae=g(ie,z);return i([Ae?"":m("("),o([u,G]),u,Ae?"":m(")")],{shouldBreak:ge})}function L(ie,G,z){let U=ie.getValue(),le=[];if(le.push(z("name")),U.value){let ge;if(I(U.value)){let Ne=A(U.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:ke,quote:ce,regex:pe}=w(Ne,G.jsxSingleQuote?"'":'"');Ne=Ne.replace(pe,ke),ge=[ce,Ne,ce]}else ge=z("value");le.push("=",ge)}return le}function M(ie,G,z){let U=ie.getValue(),le=(ge,Ae)=>ge.type==="JSXEmptyExpression"||!P(ge)&&(ge.type==="ArrayExpression"||ge.type==="ObjectExpression"||ge.type==="ArrowFunctionExpression"||ge.type==="AwaitExpression"&&(le(ge.argument,ge)||ge.argument.type==="JSXElement")||B(ge)||ge.type==="FunctionExpression"||ge.type==="TemplateLiteral"||ge.type==="TaggedTemplateExpression"||ge.type==="DoExpression"||T(Ae)&&(ge.type==="ConditionalExpression"||k(ge)));return le(U.expression,ie.getParentNode(0))?i(["{",z("expression"),d,"}"]):i(["{",o([u,z("expression")]),u,d,"}"])}function j(ie,G,z){let U=ie.getValue(),le=U.name&&P(U.name)||U.typeParameters&&P(U.typeParameters);if(U.selfClosing&&U.attributes.length===0&&!le)return["<",z("name"),z("typeParameters")," />"];if(U.attributes&&U.attributes.length===1&&U.attributes[0].value&&I(U.attributes[0].value)&&!U.attributes[0].value.value.includes(`
63
- `)&&!le&&!P(U.attributes[0]))return i(["<",z("name"),z("typeParameters")," ",...ie.map(z,"attributes"),U.selfClosing?" />":">"]);let ge=U.attributes.length>0&&P(h(U.attributes),C.Trailing),Ae=U.attributes.length===0&&!le||(G.bracketSameLine||G.jsxBracketSameLine)&&(!le||U.attributes.length>0)&&!ge,Ne=U.attributes&&U.attributes.some(ce=>ce.value&&I(ce.value)&&ce.value.value.includes(`
64
- `)),ke=G.singleAttributePerLine&&U.attributes.length>1?r:a;return i(["<",z("name"),z("typeParameters"),o(ie.map(()=>[ke,z()],"attributes")),U.selfClosing?a:Ae?">":u,U.selfClosing?"/>":Ae?"":">"],{shouldBreak:Ne})}function $(ie,G,z){let U=ie.getValue(),le=[];le.push("</");let ge=z("name");return P(U.name,C.Leading|C.Line)?le.push(o([r,ge]),r):P(U.name,C.Leading|C.Block)?le.push(" ",ge):le.push(ge),le.push(">"),le}function V(ie,G){let z=ie.getValue(),U=P(z),le=P(z,C.Line),ge=z.type==="JSXOpeningFragment";return[ge?"<":"</",o([le?r:U&&!ge?" ":"",s(ie,G,!0)]),le?r:"",">"]}function q(ie,G,z){let U=t(ie,E(ie,G,z),G);return b(ie,U,G)}function Y(ie,G){let z=ie.getValue(),U=P(z,C.Line);return[s(ie,G,!U),U?r:""]}function H(ie,G,z){let U=ie.getValue();return["{",ie.call(le=>{let ge=["...",z()],Ae=le.getValue();return!P(Ae)||!F(le)?ge:[o([u,t(le,ge,G)]),u]},U.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function R(ie,G,z){let U=ie.getValue();if(!!U.type.startsWith("JSX"))switch(U.type){case"JSXAttribute":return L(ie,G,z);case"JSXIdentifier":return String(U.name);case"JSXNamespacedName":return p(":",[z("namespace"),z("name")]);case"JSXMemberExpression":return p(".",[z("object"),z("property")]);case"JSXSpreadAttribute":return H(ie,G,z);case"JSXSpreadChild":return H(ie,G,z);case"JSXExpressionContainer":return M(ie,G,z);case"JSXFragment":case"JSXElement":return q(ie,G,z);case"JSXOpeningElement":return j(ie,G,z);case"JSXClosingElement":return $(ie,G,z);case"JSXOpeningFragment":case"JSXClosingFragment":return V(ie,G);case"JSXEmptyExpression":return Y(ie,G);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error("Unknown JSX node type: ".concat(JSON.stringify(U.type),"."))}}var Q=`
65
- \r `,ee=new RegExp("(["+Q+"]+)"),te=new RegExp("[^"+Q+"]"),oe=ie=>ie.replace(new RegExp("(?:^"+ee.source+"|"+ee.source+"$)"),"");function W(ie){if(ie.children.length===0)return!0;if(ie.children.length>1)return!1;let G=ie.children[0];return S(G)&&!X(G)}function X(ie){return S(ie)&&(te.test(A(ie))||!/\n/.test(A(ie)))}function ue(ie){return ie.type==="JSXExpressionContainer"&&S(ie.expression)&&ie.expression.value===" "&&!P(ie.expression)}function De(ie){let G=ie.getValue(),z=ie.getParentNode();if(!z||!G||!T(G)||!T(z))return!1;let U=z.children.indexOf(G),le=null;for(let ge=U;ge>0;ge--){let Ae=z.children[ge-1];if(!(Ae.type==="JSXText"&&!X(Ae))){le=Ae;break}}return le&&le.type==="JSXExpressionContainer"&&le.expression.type==="JSXEmptyExpression"&&D(le.expression)}n.exports={hasJsxIgnoreComment:De,printJsx:R}}}),ct=Z({"src/language-js/print/misc.js"(e,n){"use strict";re();var{isNonEmptyArray:t}=Ue(),{builders:{indent:s,join:a,line:r}}=Oe(),{isFlowAnnotationComment:u}=Ke();function i(h){let w=h.getValue();return!w.optional||w.type==="Identifier"&&w===h.getParentNode().key?"":w.type==="OptionalCallExpression"||w.type==="OptionalMemberExpression"&&w.computed?"?.":"?"}function o(h){return h.getValue().definite||h.match(void 0,(w,T)=>T==="id"&&w.type==="VariableDeclarator"&&w.definite)?"!":""}function c(h,w,T){let A=h.getValue();return A.typeArguments?T("typeArguments"):A.typeParameters?T("typeParameters"):""}function y(h,w,T){let A=h.getValue();if(!A.typeAnnotation)return"";let S=h.getParentNode(),B=S.type==="DeclareFunction"&&S.id===A;return u(w.originalText,A.typeAnnotation)?[" /*: ",T("typeAnnotation")," */"]:[B?"":": ",T("typeAnnotation")]}function m(h,w,T){return["::",T("callee")]}function d(h,w,T){let A=h.getValue();return t(A.modifiers)?[a(" ",h.map(T,"modifiers"))," "]:""}function p(h,w,T){return h.type==="EmptyStatement"?";":h.type==="BlockStatement"||T?[" ",w]:s([r,w])}function f(h,w,T){return["...",T("argument"),y(h,w,T)]}n.exports={printOptionalToken:i,printDefiniteToken:o,printFunctionTypeParameters:c,printBindExpressionCallee:m,printTypeScriptModifiers:d,printTypeAnnotation:y,printRestSpread:f,adjustClause:p}}}),zt=Z({"src/language-js/print/array.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,hardline:r,group:u,indent:i,ifBreak:o,fill:c}}=Oe(),{getLast:y,hasNewline:m}=Ue(),{shouldPrintComma:d,hasComment:p,CommentCheckFlags:f,isNextLineEmpty:h,isNumericLiteral:w,isSignedNumericLiteral:T}=Ke(),{locStart:A}=st(),{printOptionalToken:S,printTypeAnnotation:B}=ct();function I(D,g,F){let l=D.getValue(),E=[],v=l.type==="TupleExpression"?"#[":"[",N="]";if(l.elements.length===0)p(l,f.Dangling)?E.push(u([v,t(D,g),a,N])):E.push(v,N);else{let x=y(l.elements),b=!(x&&x.type==="RestElement"),L=x===null,M=Symbol("array"),j=!g.__inJestEach&&l.elements.length>1&&l.elements.every((q,Y,H)=>{let R=q&&q.type;if(R!=="ArrayExpression"&&R!=="ObjectExpression")return!1;let Q=H[Y+1];if(Q&&R!==Q.type)return!1;let ee=R==="ArrayExpression"?"elements":"properties";return q[ee]&&q[ee].length>1}),$=k(l,g),V=b?L?",":d(g)?$?o(",","",{groupId:M}):o(","):"":"";E.push(u([v,i([a,$?C(D,g,F,V):[P(D,g,"elements",F),V],t(D,g,!0)]),a,N],{shouldBreak:j,id:M}))}return E.push(S(D),B(D,g,F)),E}function k(D,g){return D.elements.length>1&&D.elements.every(F=>F&&(w(F)||T(F)&&!p(F.argument))&&!p(F,f.Trailing|f.Line,l=>!m(g.originalText,A(l),{backwards:!0})))}function P(D,g,F,l){let E=[],v=[];return D.each(N=>{E.push(v,u(l())),v=[",",s],N.getValue()&&h(N.getValue(),g)&&v.push(a)},F),E}function C(D,g,F,l){let E=[];return D.each((v,N,x)=>{let b=N===x.length-1;E.push([F(),b?l:","]),b||E.push(h(v.getValue(),g)?[r,r]:p(x[N+1],f.Leading|f.Line)?r:s)},"elements"),c(E)}n.exports={printArray:I,printArrayItems:P,isConciselyPrintedArray:k}}}),Za=Z({"src/language-js/print/call-arguments.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{getLast:s,getPenultimate:a}=Ue(),{getFunctionParameters:r,hasComment:u,CommentCheckFlags:i,isFunctionCompositionArgs:o,isJsxNode:c,isLongCurriedCallExpression:y,shouldPrintComma:m,getCallArguments:d,iterateCallArgumentsPath:p,isNextLineEmpty:f,isCallExpression:h,isStringLiteral:w,isObjectProperty:T}=Ke(),{builders:{line:A,hardline:S,softline:B,group:I,indent:k,conditionalGroup:P,ifBreak:C,breakParent:D},utils:{willBreak:g}}=Oe(),{ArgExpansionBailout:F}=Jt(),{isConciselyPrintedArray:l}=zt();function E(j,$,V){let q=j.getValue(),Y=q.type==="ImportExpression",H=d(q);if(H.length===0)return["(",t(j,$,!0),")"];if(b(H))return["(",V(["arguments",0]),", ",V(["arguments",1]),")"];let R=!1,Q=!1,ee=H.length-1,te=[];p(j,(ie,G)=>{let z=ie.getNode(),U=[V()];G===ee||(f(z,$)?(G===0&&(Q=!0),R=!0,U.push(",",S,S)):U.push(",",A)),te.push(U)});let oe=!(Y||q.callee&&q.callee.type==="Import")&&m($,"all")?",":"";function W(){return I(["(",k([A,...te]),oe,A,")"],{shouldBreak:!0})}if(R||j.getParentNode().type!=="Decorator"&&o(H))return W();let X=x(H),ue=N(H,$);if(X||ue){if(X?te.slice(1).some(g):te.slice(0,-1).some(g))return W();let ie=[];try{j.try(()=>{p(j,(G,z)=>{X&&z===0&&(ie=[[V([],{expandFirstArg:!0}),te.length>1?",":"",Q?S:A,Q?S:""],...te.slice(1)]),ue&&z===ee&&(ie=[...te.slice(0,-1),V([],{expandLastArg:!0})])})})}catch(G){if(G instanceof F)return W();throw G}return[te.some(g)?D:"",P([["(",...ie,")"],X?["(",I(ie[0],{shouldBreak:!0}),...ie.slice(1),")"]:["(",...te.slice(0,-1),I(s(ie),{shouldBreak:!0}),")"],W()])]}let De=["(",k([B,...te]),C(oe),B,")"];return y(j)?De:I(De,{shouldBreak:te.some(g)||R})}function v(j){let $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return j.type==="ObjectExpression"&&(j.properties.length>0||u(j))||j.type==="ArrayExpression"&&(j.elements.length>0||u(j))||j.type==="TSTypeAssertion"&&v(j.expression)||j.type==="TSAsExpression"&&v(j.expression)||j.type==="FunctionExpression"||j.type==="ArrowFunctionExpression"&&(!j.returnType||!j.returnType.typeAnnotation||j.returnType.typeAnnotation.type!=="TSTypeReference"||L(j.body))&&(j.body.type==="BlockStatement"||j.body.type==="ArrowFunctionExpression"&&v(j.body,!0)||j.body.type==="ObjectExpression"||j.body.type==="ArrayExpression"||!$&&(h(j.body)||j.body.type==="ConditionalExpression")||c(j.body))||j.type==="DoExpression"||j.type==="ModuleExpression"}function N(j,$){let V=s(j),q=a(j);return!u(V,i.Leading)&&!u(V,i.Trailing)&&v(V)&&(!q||q.type!==V.type)&&(j.length!==2||q.type!=="ArrowFunctionExpression"||V.type!=="ArrayExpression")&&!(j.length>1&&V.type==="ArrayExpression"&&l(V,$))}function x(j){if(j.length!==2)return!1;let[$,V]=j;return $.type==="ModuleExpression"&&M(V)?!0:!u($)&&($.type==="FunctionExpression"||$.type==="ArrowFunctionExpression"&&$.body.type==="BlockStatement")&&V.type!=="FunctionExpression"&&V.type!=="ArrowFunctionExpression"&&V.type!=="ConditionalExpression"&&!v(V)}function b(j){return j.length===2&&j[0].type==="ArrowFunctionExpression"&&r(j[0]).length===0&&j[0].body.type==="BlockStatement"&&j[1].type==="ArrayExpression"&&!j.some($=>u($))}function L(j){return j.type==="BlockStatement"&&(j.body.some($=>$.type!=="EmptyStatement")||u(j,i.Dangling))}function M(j){return j.type==="ObjectExpression"&&j.properties.length===1&&T(j.properties[0])&&j.properties[0].key.type==="Identifier"&&j.properties[0].key.name==="type"&&w(j.properties[0].value)&&j.properties[0].value.value==="module"}n.exports=E}}),eo=Z({"src/language-js/print/member.js"(e,n){"use strict";re();var{builders:{softline:t,group:s,indent:a,label:r}}=Oe(),{isNumericLiteral:u,isMemberExpression:i,isCallExpression:o}=Ke(),{printOptionalToken:c}=ct();function y(d,p,f){let h=d.getValue(),w=d.getParentNode(),T,A=0;do T=d.getParentNode(A),A++;while(T&&(i(T)||T.type==="TSNonNullExpression"));let S=f("object"),B=m(d,p,f),I=T&&(T.type==="NewExpression"||T.type==="BindExpression"||T.type==="AssignmentExpression"&&T.left.type!=="Identifier")||h.computed||h.object.type==="Identifier"&&h.property.type==="Identifier"&&!i(w)||(w.type==="AssignmentExpression"||w.type==="VariableDeclarator")&&(o(h.object)&&h.object.arguments.length>0||h.object.type==="TSNonNullExpression"&&o(h.object.expression)&&h.object.expression.arguments.length>0||S.label==="member-chain");return r(S.label==="member-chain"?"member-chain":"member",[S,I?B:s(a([t,B]))])}function m(d,p,f){let h=f("property"),w=d.getValue(),T=c(d);return w.computed?!w.property||u(w.property)?[T,"[",h,"]"]:s([T,"[",a([t,h]),t,"]"]):[T,".",h]}n.exports={printMemberExpression:y,printMemberLookup:m}}}),qm=Z({"src/language-js/print/member-chain.js"(e,n){"use strict";re();var{printComments:t}=et(),{getLast:s,isNextLineEmptyAfterIndex:a,getNextNonSpaceNonCommentCharacterIndex:r}=Ue(),u=It(),{isCallExpression:i,isMemberExpression:o,isFunctionOrArrowExpression:c,isLongCurriedCallExpression:y,isMemberish:m,isNumericLiteral:d,isSimpleCallArgument:p,hasComment:f,CommentCheckFlags:h,isNextLineEmpty:w}=Ke(),{locEnd:T}=st(),{builders:{join:A,hardline:S,group:B,indent:I,conditionalGroup:k,breakParent:P,label:C},utils:{willBreak:D}}=Oe(),g=Za(),{printMemberLookup:F}=eo(),{printOptionalToken:l,printFunctionTypeParameters:E,printBindExpressionCallee:v}=ct();function N(x,b,L){let M=x.getParentNode(),j=!M||M.type==="ExpressionStatement",$=[];function V(de){let{originalText:ae}=b,ve=r(ae,de,T);return ae.charAt(ve)===")"?ve!==!1&&a(ae,ve+1):w(de,b)}function q(de){let ae=de.getValue();i(ae)&&(m(ae.callee)||i(ae.callee))?($.unshift({node:ae,printed:[t(de,[l(de),E(de,b,L),g(de,b,L)],b),V(ae)?S:""]}),de.call(ve=>q(ve),"callee")):m(ae)?($.unshift({node:ae,needsParens:u(de,b),printed:t(de,o(ae)?F(de,b,L):v(de,b,L),b)}),de.call(ve=>q(ve),"object")):ae.type==="TSNonNullExpression"?($.unshift({node:ae,printed:t(de,"!",b)}),de.call(ve=>q(ve),"expression")):$.unshift({node:ae,printed:L()})}let Y=x.getValue();$.unshift({node:Y,printed:[l(x),E(x,b,L),g(x,b,L)]}),Y.callee&&x.call(de=>q(de),"callee");let H=[],R=[$[0]],Q=1;for(;Q<$.length&&($[Q].node.type==="TSNonNullExpression"||i($[Q].node)||o($[Q].node)&&$[Q].node.computed&&d($[Q].node.property));++Q)R.push($[Q]);if(!i($[0].node))for(;Q+1<$.length&&(m($[Q].node)&&m($[Q+1].node));++Q)R.push($[Q]);H.push(R),R=[];let ee=!1;for(;Q<$.length;++Q){if(ee&&m($[Q].node)){if($[Q].node.computed&&d($[Q].node.property)){R.push($[Q]);continue}H.push(R),R=[],ee=!1}(i($[Q].node)||$[Q].node.type==="ImportExpression")&&(ee=!0),R.push($[Q]),f($[Q].node,h.Trailing)&&(H.push(R),R=[],ee=!1)}R.length>0&&H.push(R);function te(de){return/^[A-Z]|^[$_]+$/.test(de)}function oe(de){return de.length<=b.tabWidth}function W(de){let ae=de[1].length>0&&de[1][0].node.computed;if(de[0].length===1){let K=de[0][0].node;return K.type==="ThisExpression"||K.type==="Identifier"&&(te(K.name)||j&&oe(K.name)||ae)}let ve=s(de[0]).node;return o(ve)&&ve.property.type==="Identifier"&&(te(ve.property.name)||ae)}let X=H.length>=2&&!f(H[1][0].node)&&W(H);function ue(de){let ae=de.map(ve=>ve.printed);return de.length>0&&s(de).needsParens?["(",...ae,")"]:ae}function De(de){return de.length===0?"":I(B([S,A(S,de.map(ue))]))}let ie=H.map(ue),G=ie,z=X?3:2,U=H.flat(),le=U.slice(1,-1).some(de=>f(de.node,h.Leading))||U.slice(0,-1).some(de=>f(de.node,h.Trailing))||H[z]&&f(H[z][0].node,h.Leading);if(H.length<=z&&!le)return y(x)?G:B(G);let ge=s(H[X?1:0]).node,Ae=!i(ge)&&V(ge),Ne=[ue(H[0]),X?H.slice(1,2).map(ue):"",Ae?S:"",De(H.slice(X?2:1))],ke=$.map(de=>{let{node:ae}=de;return ae}).filter(i);function ce(){let de=s(s(H)).node,ae=s(ie);return i(de)&&D(ae)&&ke.slice(0,-1).some(ve=>ve.arguments.some(c))}let pe;return le||ke.length>2&&ke.some(de=>!de.arguments.every(ae=>p(ae,0)))||ie.slice(0,-1).some(D)||ce()?pe=B(Ne):pe=[D(G)||Ae?P:"",k([G,Ne])],C("member-chain",pe)}n.exports=N}}),to=Z({"src/language-js/print/call-expression.js"(e,n){"use strict";re();var{builders:{join:t,group:s}}=Oe(),a=It(),{getCallArguments:r,hasFlowAnnotationComment:u,isCallExpression:i,isMemberish:o,isStringLiteral:c,isTemplateOnItsOwnLine:y,isTestCall:m,iterateCallArgumentsPath:d}=Ke(),p=qm(),f=Za(),{printOptionalToken:h,printFunctionTypeParameters:w}=ct();function T(S,B,I){let k=S.getValue(),P=S.getParentNode(),C=k.type==="NewExpression",D=k.type==="ImportExpression",g=h(S),F=r(k);if(F.length>0&&(!D&&!C&&A(k,P)||F.length===1&&y(F[0],B.originalText)||!C&&m(k,P))){let v=[];return d(S,()=>{v.push(I())}),[C?"new ":"",I("callee"),g,w(S,B,I),"(",t(", ",v),")"]}let l=(B.parser==="babel"||B.parser==="babel-flow")&&k.callee&&k.callee.type==="Identifier"&&u(k.callee.trailingComments);if(l&&(k.callee.trailingComments[0].printed=!0),!D&&!C&&o(k.callee)&&!S.call(v=>a(v,B),"callee"))return p(S,B,I);let E=[C?"new ":"",D?"import":I("callee"),g,l?"/*:: ".concat(k.callee.trailingComments[0].value.slice(2).trim()," */"):"",w(S,B,I),f(S,B,I)];return D||i(k.callee)?s(E):E}function A(S,B){if(S.callee.type!=="Identifier")return!1;if(S.callee.name==="require")return!0;if(S.callee.name==="define"){let I=r(S);return B.type==="ExpressionStatement"&&(I.length===1||I.length===2&&I[0].type==="ArrayExpression"||I.length===3&&c(I[0])&&I[1].type==="ArrayExpression")}return!1}n.exports={printCallExpression:T}}}),Xt=Z({"src/language-js/print/assignment.js"(e,n){"use strict";re();var{isNonEmptyArray:t,getStringWidth:s}=Ue(),{builders:{line:a,group:r,indent:u,indentIfBreak:i,lineSuffixBoundary:o},utils:{cleanDoc:c,willBreak:y,canBreak:m}}=Oe(),{hasLeadingOwnLineComment:d,isBinaryish:p,isStringLiteral:f,isLiteral:h,isNumericLiteral:w,isCallExpression:T,isMemberExpression:A,getCallArguments:S,rawText:B,hasComment:I,isSignedNumericLiteral:k,isObjectProperty:P}=Ke(),{shouldInlineLogicalExpression:C}=$n(),{printCallExpression:D}=to();function g(W,X,ue,De,ie,G){let z=E(W,X,ue,De,G),U=ue(G,{assignmentLayout:z});switch(z){case"break-after-operator":return r([r(De),ie,r(u([a,U]))]);case"never-break-after-operator":return r([r(De),ie," ",U]);case"fluid":{let le=Symbol("assignment");return r([r(De),ie,r(u(a),{id:le}),o,i(U,{groupId:le})])}case"break-lhs":return r([De,ie," ",r(U)]);case"chain":return[r(De),ie,a,U];case"chain-tail":return[r(De),ie,u([a,U])];case"chain-tail-arrow-chain":return[r(De),ie,U];case"only-left":return De}}function F(W,X,ue){let De=W.getValue();return g(W,X,ue,ue("left"),[" ",De.operator],"right")}function l(W,X,ue){return g(W,X,ue,ue("id")," =","init")}function E(W,X,ue,De,ie){let G=W.getValue(),z=G[ie];if(!z)return"only-left";let U=!x(z);if(W.match(x,b,Ne=>!U||Ne.type!=="ExpressionStatement"&&Ne.type!=="VariableDeclaration"))return U?z.type==="ArrowFunctionExpression"&&z.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!U&&x(z.right)||d(X.originalText,z))return"break-after-operator";if(z.type==="CallExpression"&&z.callee.name==="require"||X.parser==="json5"||X.parser==="json")return"never-break-after-operator";if(N(G)||L(G)||$(G)||V(G)&&m(De))return"break-lhs";let Ae=ee(G,De,X);return W.call(()=>v(W,X,ue,Ae),ie)?"break-after-operator":Ae||z.type==="TemplateLiteral"||z.type==="TaggedTemplateExpression"||z.type==="BooleanLiteral"||w(z)||z.type==="ClassExpression"?"never-break-after-operator":"fluid"}function v(W,X,ue,De){let ie=W.getValue();if(p(ie)&&!C(ie))return!0;switch(ie.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:U}=ie;return p(U)&&!C(U)}case"ClassExpression":return t(ie.decorators)}if(De)return!1;let G=ie,z=[];for(;;)if(G.type==="UnaryExpression")G=G.argument,z.push("argument");else if(G.type==="TSNonNullExpression")G=G.expression,z.push("expression");else break;return!!(f(G)||W.call(()=>H(W,X,ue),...z))}function N(W){if(b(W)){let X=W.left||W.id;return X.type==="ObjectPattern"&&X.properties.length>2&&X.properties.some(ue=>P(ue)&&(!ue.shorthand||ue.value&&ue.value.type==="AssignmentPattern"))}return!1}function x(W){return W.type==="AssignmentExpression"}function b(W){return x(W)||W.type==="VariableDeclarator"}function L(W){let X=M(W);if(t(X)){let ue=W.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(X.length>1&&X.some(De=>De[ue]||De.default))return!0}return!1}function M(W){return j(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function j(W){return W.type==="TSTypeAliasDeclaration"||W.type==="TypeAlias"}function $(W){if(W.type!=="VariableDeclarator")return!1;let{typeAnnotation:X}=W.id;if(!X||!X.typeAnnotation)return!1;let ue=q(X.typeAnnotation);return t(ue)&&ue.length>1&&ue.some(De=>t(q(De))||De.type==="TSConditionalType")}function V(W){return W.type==="VariableDeclarator"&&W.init&&W.init.type==="ArrowFunctionExpression"}function q(W){return Y(W)&&W.typeParameters&&W.typeParameters.params?W.typeParameters.params:null}function Y(W){return W.type==="TSTypeReference"||W.type==="GenericTypeAnnotation"}function H(W,X,ue){let De=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,ie=W.getValue(),G=()=>H(W,X,ue,!0);if(ie.type==="TSNonNullExpression")return W.call(G,"expression");if(T(ie)){if(D(W,X,ue).label==="member-chain")return!1;let U=S(ie);return!(U.length===0||U.length===1&&Q(U[0],X))||te(ie,ue)?!1:W.call(G,"callee")}return A(ie)?W.call(G,"object"):De&&(ie.type==="Identifier"||ie.type==="ThisExpression")}var R=.25;function Q(W,X){let{printWidth:ue}=X;if(I(W))return!1;let De=ue*R;if(W.type==="ThisExpression"||W.type==="Identifier"&&W.name.length<=De||k(W)&&!I(W.argument))return!0;let ie=W.type==="Literal"&&"regex"in W&&W.regex.pattern||W.type==="RegExpLiteral"&&W.pattern;return ie?ie.length<=De:f(W)?B(W).length<=De:W.type==="TemplateLiteral"?W.expressions.length===0&&W.quasis[0].value.raw.length<=De&&!W.quasis[0].value.raw.includes(`
66
- `):h(W)}function ee(W,X,ue){if(!P(W))return!1;X=c(X);let De=3;return typeof X=="string"&&s(X)<ue.tabWidth+De}function te(W,X){let ue=oe(W);if(t(ue)){if(ue.length>1)return!0;if(ue.length===1){let ie=ue[0];if(ie.type==="TSUnionType"||ie.type==="UnionTypeAnnotation"||ie.type==="TSIntersectionType"||ie.type==="IntersectionTypeAnnotation"||ie.type==="TSTypeLiteral"||ie.type==="ObjectTypeAnnotation")return!0}let De=W.typeParameters?"typeParameters":"typeArguments";if(y(X(De)))return!0}return!1}function oe(W){return W.typeParameters&&W.typeParameters.params||W.typeArguments&&W.typeArguments.params}n.exports={printVariableDeclarator:l,printAssignmentExpression:F,printAssignment:g,isArrowFunctionVariableDeclarator:V}}}),wr=Z({"src/language-js/print/function-parameters.js"(e,n){"use strict";re();var{getNextNonSpaceNonCommentCharacter:t}=Ue(),{printDanglingComments:s}=et(),{builders:{line:a,hardline:r,softline:u,group:i,indent:o,ifBreak:c},utils:{removeLines:y,willBreak:m}}=Oe(),{getFunctionParameters:d,iterateFunctionParametersPath:p,isSimpleType:f,isTestCall:h,isTypeAnnotationAFunction:w,isObjectType:T,isObjectTypePropertyAFunction:A,hasRestParameter:S,shouldPrintComma:B,hasComment:I,isNextLineEmpty:k}=Ke(),{locEnd:P}=st(),{ArgExpansionBailout:C}=Jt(),{printFunctionTypeParameters:D}=ct();function g(v,N,x,b,L){let M=v.getValue(),j=d(M),$=L?D(v,x,N):"";if(j.length===0)return[$,"(",s(v,x,!0,ee=>t(x.originalText,ee,P)===")"),")"];let V=v.getParentNode(),q=h(V),Y=F(M),H=[];if(p(v,(ee,te)=>{let oe=te===j.length-1;oe&&M.rest&&H.push("..."),H.push(N()),!oe&&(H.push(","),q||Y?H.push(" "):k(j[te],x)?H.push(r,r):H.push(a))}),b){if(m($)||m(H))throw new C;return i([y($),"(",y(H),")"])}let R=j.every(ee=>!ee.decorators);return Y&&R?[$,"(",...H,")"]:q?[$,"(",...H,")"]:(A(V)||w(V)||V.type==="TypeAlias"||V.type==="UnionTypeAnnotation"||V.type==="TSUnionType"||V.type==="IntersectionTypeAnnotation"||V.type==="FunctionTypeAnnotation"&&V.returnType===M)&&j.length===1&&j[0].name===null&&M.this!==j[0]&&j[0].typeAnnotation&&M.typeParameters===null&&f(j[0].typeAnnotation)&&!M.rest?x.arrowParens==="always"?["(",...H,")"]:H:[$,"(",o([u,...H]),c(!S(M)&&B(x,"all")?",":""),u,")"]}function F(v){if(!v)return!1;let N=d(v);if(N.length!==1)return!1;let[x]=N;return!I(x)&&(x.type==="ObjectPattern"||x.type==="ArrayPattern"||x.type==="Identifier"&&x.typeAnnotation&&(x.typeAnnotation.type==="TypeAnnotation"||x.typeAnnotation.type==="TSTypeAnnotation")&&T(x.typeAnnotation.typeAnnotation)||x.type==="FunctionTypeParam"&&T(x.typeAnnotation)||x.type==="AssignmentPattern"&&(x.left.type==="ObjectPattern"||x.left.type==="ArrayPattern")&&(x.right.type==="Identifier"||x.right.type==="ObjectExpression"&&x.right.properties.length===0||x.right.type==="ArrayExpression"&&x.right.elements.length===0))}function l(v){let N;return v.returnType?(N=v.returnType,N.typeAnnotation&&(N=N.typeAnnotation)):v.typeAnnotation&&(N=v.typeAnnotation),N}function E(v,N){let x=l(v);if(!x)return!1;let b=v.typeParameters&&v.typeParameters.params;if(b){if(b.length>1)return!1;if(b.length===1){let L=b[0];if(L.constraint||L.default)return!1}}return d(v).length===1&&(T(x)||m(N))}n.exports={printFunctionParameters:g,shouldHugFunctionParameters:F,shouldGroupFunctionParameters:E}}}),_r=Z({"src/language-js/print/type-annotation.js"(e,n){"use strict";re();var{printComments:t,printDanglingComments:s}=et(),{isNonEmptyArray:a}=Ue(),{builders:{group:r,join:u,line:i,softline:o,indent:c,align:y,ifBreak:m}}=Oe(),d=It(),{locStart:p}=st(),{isSimpleType:f,isObjectType:h,hasLeadingOwnLineComment:w,isObjectTypePropertyAFunction:T,shouldPrintComma:A}=Ke(),{printAssignment:S}=Xt(),{printFunctionParameters:B,shouldGroupFunctionParameters:I}=wr(),{printArrayItems:k}=zt();function P(x){if(f(x)||h(x))return!0;if(x.type==="UnionTypeAnnotation"||x.type==="TSUnionType"){let b=x.types.filter(M=>M.type==="VoidTypeAnnotation"||M.type==="TSVoidKeyword"||M.type==="NullLiteralTypeAnnotation"||M.type==="TSNullKeyword").length,L=x.types.some(M=>M.type==="ObjectTypeAnnotation"||M.type==="TSTypeLiteral"||M.type==="GenericTypeAnnotation"||M.type==="TSTypeReference");if(x.types.length-1===b&&L)return!0}return!1}function C(x,b,L){let M=b.semi?";":"",j=x.getValue(),$=[];return $.push("opaque type ",L("id"),L("typeParameters")),j.supertype&&$.push(": ",L("supertype")),j.impltype&&$.push(" = ",L("impltype")),$.push(M),$}function D(x,b,L){let M=b.semi?";":"",j=x.getValue(),$=[];j.declare&&$.push("declare "),$.push("type ",L("id"),L("typeParameters"));let V=j.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[S(x,b,L,$," =",V),M]}function g(x,b,L){let M=x.getValue(),j=x.map(L,"types"),$=[],V=!1;for(let q=0;q<j.length;++q)q===0?$.push(j[q]):h(M.types[q-1])&&h(M.types[q])?$.push([" & ",V?c(j[q]):j[q]]):!h(M.types[q-1])&&!h(M.types[q])?$.push(c([" &",i,j[q]])):(q>1&&(V=!0),$.push(" & ",q>1?c(j[q]):j[q]));return r($)}function F(x,b,L){let M=x.getValue(),j=x.getParentNode(),$=j.type!=="TypeParameterInstantiation"&&j.type!=="TSTypeParameterInstantiation"&&j.type!=="GenericTypeAnnotation"&&j.type!=="TSTypeReference"&&j.type!=="TSTypeAssertion"&&j.type!=="TupleTypeAnnotation"&&j.type!=="TSTupleType"&&!(j.type==="FunctionTypeParam"&&!j.name&&x.getParentNode(1).this!==j)&&!((j.type==="TypeAlias"||j.type==="VariableDeclarator"||j.type==="TSTypeAliasDeclaration")&&w(b.originalText,M)),V=P(M),q=x.map(R=>{let Q=L();return V||(Q=y(2,Q)),t(R,Q,b)},"types");if(V)return u(" | ",q);let Y=$&&!w(b.originalText,M),H=[m([Y?i:"","| "]),u([i,"| "],q)];return d(x,b)?r([c(H),o]):j.type==="TupleTypeAnnotation"&&j.types.length>1||j.type==="TSTupleType"&&j.elementTypes.length>1?r([c([m(["(",o]),H]),o,m(")")]):r($?c(H):H)}function l(x,b,L){let M=x.getValue(),j=[],$=x.getParentNode(0),V=x.getParentNode(1),q=x.getParentNode(2),Y=M.type==="TSFunctionType"||!(($.type==="ObjectTypeProperty"||$.type==="ObjectTypeInternalSlot")&&!$.variance&&!$.optional&&p($)===p(M)||$.type==="ObjectTypeCallProperty"||q&&q.type==="DeclareFunction"),H=Y&&($.type==="TypeAnnotation"||$.type==="TSTypeAnnotation"),R=H&&Y&&($.type==="TypeAnnotation"||$.type==="TSTypeAnnotation")&&V.type==="ArrowFunctionExpression";T($)&&(Y=!0,H=!0),R&&j.push("(");let Q=B(x,L,b,!1,!0),ee=M.returnType||M.predicate||M.typeAnnotation?[Y?" => ":": ",L("returnType"),L("predicate"),L("typeAnnotation")]:"",te=I(M,ee);return j.push(te?r(Q):Q),ee&&j.push(ee),R&&j.push(")"),r(j)}function E(x,b,L){let M=x.getValue(),j=M.type==="TSTupleType"?"elementTypes":"types",$=M[j],V=a($),q=V?o:"";return r(["[",c([q,k(x,b,j,L)]),m(V&&A(b,"all")?",":""),s(x,b,!0),q,"]"])}function v(x,b,L){let M=x.getValue(),j=M.type==="OptionalIndexedAccessType"&&M.optional?"?.[":"[";return[L("objectType"),j,L("indexType"),"]"]}function N(x,b,L){let M=x.getValue();return[M.postfix?"":L,b("typeAnnotation"),M.postfix?L:""]}n.exports={printOpaqueType:C,printTypeAlias:D,printIntersectionType:g,printUnionType:F,printFunctionType:l,printTupleType:E,printIndexedAccessType:v,shouldHugType:P,printJSDocType:N}}}),Pr=Z({"src/language-js/print/type-parameters.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{builders:{join:s,line:a,hardline:r,softline:u,group:i,indent:o,ifBreak:c}}=Oe(),{isTestCall:y,hasComment:m,CommentCheckFlags:d,isTSXFile:p,shouldPrintComma:f,getFunctionParameters:h,isObjectType:w}=Ke(),{createGroupIdMapper:T}=Ue(),{shouldHugType:A}=_r(),{isArrowFunctionVariableDeclarator:S}=Xt(),B=T("typeParameters");function I(C,D,g,F){let l=C.getValue();if(!l[F])return"";if(!Array.isArray(l[F]))return g(F);let E=C.getNode(2),v=E&&y(E);if(!C.match(L=>!(L[F].length===1&&w(L[F][0])),void 0,(L,M)=>M==="typeAnnotation",L=>L.type==="Identifier",S)&&(v||l[F].length===0||l[F].length===1&&(l[F][0].type==="NullableTypeAnnotation"||A(l[F][0]))))return["<",s(", ",C.map(g,F)),k(C,D),">"];let b=l.type==="TSTypeParameterInstantiation"?"":h(l).length===1&&p(D)&&!l[F][0].constraint&&C.getParentNode().type==="ArrowFunctionExpression"?",":f(D,"all")?c(","):"";return i(["<",o([u,s([",",a],C.map(g,F))]),b,u,">"],{id:B(l)})}function k(C,D){let g=C.getValue();if(!m(g,d.Dangling))return"";let F=!m(g,d.Line),l=t(C,D,F);return F?l:[l,r]}function P(C,D,g){let F=C.getValue(),l=[],E=C.getParentNode();return E.type==="TSMappedType"?(l.push("[",g("name")),F.constraint&&l.push(" in ",g("constraint")),E.nameType&&l.push(" as ",C.callParent(()=>g("nameType"))),l.push("]"),l):(F.variance&&l.push(g("variance")),F.in&&l.push("in "),F.out&&l.push("out "),l.push(g("name")),F.bound&&l.push(": ",g("bound")),F.constraint&&l.push(" extends ",g("constraint")),F.default&&l.push(" = ",g("default")),l)}n.exports={printTypeParameter:P,printTypeParameters:I,getTypeParametersGroupId:B}}}),Kt=Z({"src/language-js/print/property.js"(e,n){"use strict";re();var{printComments:t}=et(),{printString:s,printNumber:a}=Ue(),{isNumericLiteral:r,isSimpleNumber:u,isStringLiteral:i,isStringPropSafeToUnquote:o,rawText:c}=Ke(),{printAssignment:y}=Xt(),m=new WeakMap;function d(f,h,w){let T=f.getNode();if(T.computed)return["[",w("key"),"]"];let A=f.getParentNode(),{key:S}=T;if(T.type==="ClassPrivateProperty"&&S.type==="Identifier")return["#",w("key")];if(h.quoteProps==="consistent"&&!m.has(A)){let B=(A.properties||A.body||A.members).some(I=>!I.computed&&I.key&&i(I.key)&&!o(I,h));m.set(A,B)}if((S.type==="Identifier"||r(S)&&u(a(c(S)))&&String(S.value)===a(c(S))&&!(h.parser==="typescript"||h.parser==="babel-ts"))&&(h.parser==="json"||h.quoteProps==="consistent"&&m.get(A))){let B=s(JSON.stringify(S.type==="Identifier"?S.name:S.value.toString()),h);return f.call(I=>t(I,B,h),"key")}return o(T,h)&&(h.quoteProps==="as-needed"||h.quoteProps==="consistent"&&!m.get(A))?f.call(B=>t(B,/^\d/.test(S.value)?a(S.value):S.value,h),"key"):w("key")}function p(f,h,w){return f.getValue().shorthand?w("value"):y(f,h,w,d(f,h,w),":","value")}n.exports={printProperty:p,printPropertyKey:d}}}),kr=Z({"src/language-js/print/function.js"(e,n){"use strict";re();var t=Ut(),{printDanglingComments:s,printCommentsSeparately:a}=et(),r=it(),{getNextNonSpaceNonCommentCharacterIndex:u}=Ue(),{builders:{line:i,softline:o,group:c,indent:y,ifBreak:m,hardline:d,join:p,indentIfBreak:f},utils:{removeLines:h,willBreak:w}}=Oe(),{ArgExpansionBailout:T}=Jt(),{getFunctionParameters:A,hasLeadingOwnLineComment:S,isFlowAnnotationComment:B,isJsxNode:I,isTemplateOnItsOwnLine:k,shouldPrintComma:P,startsWithNoLookaheadToken:C,isBinaryish:D,isLineComment:g,hasComment:F,getComments:l,CommentCheckFlags:E,isCallLikeExpression:v,isCallExpression:N,getCallArguments:x,hasNakedLeftSide:b,getLeftSide:L}=Ke(),{locEnd:M}=st(),{printFunctionParameters:j,shouldGroupFunctionParameters:$}=wr(),{printPropertyKey:V}=Kt(),{printFunctionTypeParameters:q}=ct();function Y(z,U,le,ge){let Ae=z.getValue(),Ne=!1;if((Ae.type==="FunctionDeclaration"||Ae.type==="FunctionExpression")&&ge&&ge.expandLastArg){let ae=z.getParentNode();N(ae)&&x(ae).length>1&&(Ne=!0)}let ke=[];Ae.type==="TSDeclareFunction"&&Ae.declare&&ke.push("declare "),Ae.async&&ke.push("async "),Ae.generator?ke.push("function* "):ke.push("function "),Ae.id&&ke.push(U("id"));let ce=j(z,U,le,Ne),pe=X(z,U,le),de=$(Ae,pe);return ke.push(q(z,le,U),c([de?c(ce):ce,pe]),Ae.body?" ":"",U("body")),le.semi&&(Ae.declare||!Ae.body)&&ke.push(";"),ke}function H(z,U,le){let ge=z.getNode(),{kind:Ae}=ge,Ne=ge.value||ge,ke=[];return!Ae||Ae==="init"||Ae==="method"||Ae==="constructor"?Ne.async&&ke.push("async "):(t.ok(Ae==="get"||Ae==="set"),ke.push(Ae," ")),Ne.generator&&ke.push("*"),ke.push(V(z,U,le),ge.optional||ge.key.optional?"?":""),ge===Ne?ke.push(R(z,U,le)):Ne.type==="FunctionExpression"?ke.push(z.call(ce=>R(ce,U,le),"value")):ke.push(le("value")),ke}function R(z,U,le){let ge=z.getNode(),Ae=j(z,le,U),Ne=X(z,le,U),ke=$(ge,Ne),ce=[q(z,U,le),c([ke?c(Ae):Ae,Ne])];return ge.body?ce.push(" ",le("body")):ce.push(U.semi?";":""),ce}function Q(z,U,le,ge){let Ae=z.getValue(),Ne=[];if(Ae.async&&Ne.push("async "),W(z,U))Ne.push(le(["params",0]));else{let ce=ge&&(ge.expandLastArg||ge.expandFirstArg),pe=X(z,le,U);if(ce){if(w(pe))throw new T;pe=c(h(pe))}Ne.push(c([j(z,le,U,ce,!0),pe]))}let ke=s(z,U,!0,ce=>{let pe=u(U.originalText,ce,M);return pe!==!1&&U.originalText.slice(pe,pe+2)==="=>"});return ke&&Ne.push(" ",ke),Ne}function ee(z,U,le,ge,Ae,Ne){let ke=z.getName(),ce=z.getParentNode(),pe=v(ce)&&ke==="callee",de=Boolean(U&&U.assignmentLayout),ae=Ne.body.type!=="BlockStatement"&&Ne.body.type!=="ObjectExpression"&&Ne.body.type!=="SequenceExpression",ve=pe&&ae||U&&U.assignmentLayout==="chain-tail-arrow-chain",K=Symbol("arrow-chain");return Ne.body.type==="SequenceExpression"&&(Ae=c(["(",y([o,Ae]),o,")"])),c([c(y([pe||de?o:"",c(p([" =>",i],le),{shouldBreak:ge})]),{id:K,shouldBreak:ve})," =>",f(ae?y([i,Ae]):[" ",Ae],{groupId:K}),pe?m(o,"",{groupId:K}):""])}function te(z,U,le,ge){let Ae=z.getValue(),Ne=[],ke=[],ce=!1;if(function K(){let he=Q(z,U,le,ge);if(Ne.length===0)Ne.push(he);else{let{leading:ye,trailing:Ce}=a(z,U);Ne.push([ye,he]),ke.unshift(Ce)}ce=ce||Ae.returnType&&A(Ae).length>0||Ae.typeParameters||A(Ae).some(ye=>ye.type!=="Identifier"),Ae.body.type!=="ArrowFunctionExpression"||ge&&ge.expandLastArg?ke.unshift(le("body",ge)):(Ae=Ae.body,z.call(K,"body"))}(),Ne.length>1)return ee(z,ge,Ne,ce,ke,Ae);let pe=Ne;if(pe.push(" =>"),!S(U.originalText,Ae.body)&&(Ae.body.type==="ArrayExpression"||Ae.body.type==="ObjectExpression"||Ae.body.type==="BlockStatement"||I(Ae.body)||k(Ae.body,U.originalText)||Ae.body.type==="ArrowFunctionExpression"||Ae.body.type==="DoExpression"))return c([...pe," ",ke]);if(Ae.body.type==="SequenceExpression")return c([...pe,c([" (",y([o,ke]),o,")"])]);let de=(ge&&ge.expandLastArg||z.getParentNode().type==="JSXExpressionContainer")&&!F(Ae),ae=ge&&ge.expandLastArg&&P(U,"all"),ve=Ae.body.type==="ConditionalExpression"&&!C(Ae.body,!1);return c([...pe,c([y([i,ve?m("","("):"",ke,ve?m("",")"):""]),de?[m(ae?",":""),o]:""])])}function oe(z){let U=A(z);return U.length===1&&!z.typeParameters&&!F(z,E.Dangling)&&U[0].type==="Identifier"&&!U[0].typeAnnotation&&!F(U[0])&&!U[0].optional&&!z.predicate&&!z.returnType}function W(z,U){if(U.arrowParens==="always")return!1;if(U.arrowParens==="avoid"){let le=z.getValue();return oe(le)}return!1}function X(z,U,le){let ge=z.getValue(),Ae=U("returnType");if(ge.returnType&&B(le.originalText,ge.returnType))return[" /*: ",Ae," */"];let Ne=[Ae];return ge.returnType&&ge.returnType.typeAnnotation&&Ne.unshift(": "),ge.predicate&&Ne.push(ge.returnType?" ":": ",U("predicate")),Ne}function ue(z,U,le){let ge=z.getValue(),Ae=U.semi?";":"",Ne=[];ge.argument&&(G(U,ge.argument)?Ne.push([" (",y([d,le("argument")]),d,")"]):D(ge.argument)||ge.argument.type==="SequenceExpression"?Ne.push(c([m(" ("," "),y([o,le("argument")]),o,m(")")])):Ne.push(" ",le("argument")));let ke=l(ge),ce=r(ke),pe=ce&&g(ce);return pe&&Ne.push(Ae),F(ge,E.Dangling)&&Ne.push(" ",s(z,U,!0)),pe||Ne.push(Ae),Ne}function De(z,U,le){return["return",ue(z,U,le)]}function ie(z,U,le){return["throw",ue(z,U,le)]}function G(z,U){if(S(z.originalText,U))return!0;if(b(U)){let le=U,ge;for(;ge=L(le);)if(le=ge,S(z.originalText,le))return!0}return!1}n.exports={printFunction:Y,printArrowFunction:te,printMethod:H,printReturnStatement:De,printThrowStatement:ie,printMethodInternal:R,shouldPrintParamsWithoutParens:W}}}),Hn=Z({"src/language-js/print/decorators.js"(e,n){"use strict";re();var{isNonEmptyArray:t,hasNewline:s}=Ue(),{builders:{line:a,hardline:r,join:u,breakParent:i,group:o}}=Oe(),{locStart:c,locEnd:y}=st(),{getParentExportDeclaration:m}=Ke();function d(T,A,S){let B=T.getValue();return o([u(a,T.map(S,"decorators")),h(B,A)?r:a])}function p(T,A,S){return[u(r,T.map(S,"declaration","decorators")),r]}function f(T,A,S){let B=T.getValue(),{decorators:I}=B;if(!t(I)||w(T.getParentNode()))return;let k=B.type==="ClassExpression"||B.type==="ClassDeclaration"||h(B,A);return[m(T)?r:k?i:"",u(a,T.map(S,"decorators")),a]}function h(T,A){return T.decorators.some(S=>s(A.originalText,y(S)))}function w(T){if(T.type!=="ExportDefaultDeclaration"&&T.type!=="ExportNamedDeclaration"&&T.type!=="DeclareExportDeclaration")return!1;let A=T.declaration&&T.declaration.decorators;return t(A)&&c(T,{ignoreDecorators:!0})>c(A[0])}n.exports={printDecorators:f,printClassMemberDecorators:d,printDecoratorsBeforeExport:p,hasDecoratorsBeforeExport:w}}}),Yt=Z({"src/language-js/print/class.js"(e,n){"use strict";re();var{isNonEmptyArray:t,createGroupIdMapper:s}=Ue(),{printComments:a,printDanglingComments:r}=et(),{builders:{join:u,line:i,hardline:o,softline:c,group:y,indent:m,ifBreak:d}}=Oe(),{hasComment:p,CommentCheckFlags:f}=Ke(),{getTypeParametersGroupId:h}=Pr(),{printMethod:w}=kr(),{printOptionalToken:T,printTypeAnnotation:A,printDefiniteToken:S}=ct(),{printPropertyKey:B}=Kt(),{printAssignment:I}=Xt(),{printClassMemberDecorators:k}=Hn();function P(x,b,L){let M=x.getValue(),j=[];M.declare&&j.push("declare "),M.abstract&&j.push("abstract "),j.push("class");let $=M.id&&p(M.id,f.Trailing)||M.typeParameters&&p(M.typeParameters,f.Trailing)||M.superClass&&p(M.superClass)||t(M.extends)||t(M.mixins)||t(M.implements),V=[],q=[];if(M.id&&V.push(" ",L("id")),V.push(L("typeParameters")),M.superClass){let Y=[E(x,b,L),L("superTypeParameters")],H=x.call(R=>["extends ",a(R,Y,b)],"superClass");$?q.push(i,y(H)):q.push(" ",H)}else q.push(l(x,b,L,"extends"));if(q.push(l(x,b,L,"mixins"),l(x,b,L,"implements")),$){let Y;F(M)?Y=[...V,m(q)]:Y=m([...V,q]),j.push(y(Y,{id:C(M)}))}else j.push(...V,...q);return j.push(" ",L("body")),j}var C=s("heritageGroup");function D(x){return d(o,"",{groupId:C(x)})}function g(x){return["superClass","extends","mixins","implements"].filter(b=>Boolean(x[b])).length>1}function F(x){return x.typeParameters&&!p(x.typeParameters,f.Trailing|f.Line)&&!g(x)}function l(x,b,L,M){let j=x.getValue();if(!t(j[M]))return"";let $=r(x,b,!0,V=>{let{marker:q}=V;return q===M});return[F(j)?d(" ",i,{groupId:h(j.typeParameters)}):i,$,$&&o,M,y(m([i,u([",",i],x.map(L,M))]))]}function E(x,b,L){let M=L("superClass");return x.getParentNode().type==="AssignmentExpression"?y(d(["(",m([c,M]),c,")"],M)):M}function v(x,b,L){let M=x.getValue(),j=[];return t(M.decorators)&&j.push(k(x,b,L)),M.accessibility&&j.push(M.accessibility+" "),M.readonly&&j.push("readonly "),M.declare&&j.push("declare "),M.static&&j.push("static "),(M.type==="TSAbstractMethodDefinition"||M.abstract)&&j.push("abstract "),M.override&&j.push("override "),j.push(w(x,b,L)),j}function N(x,b,L){let M=x.getValue(),j=[],$=b.semi?";":"";return t(M.decorators)&&j.push(k(x,b,L)),M.accessibility&&j.push(M.accessibility+" "),M.declare&&j.push("declare "),M.static&&j.push("static "),(M.type==="TSAbstractPropertyDefinition"||M.abstract)&&j.push("abstract "),M.override&&j.push("override "),M.readonly&&j.push("readonly "),M.variance&&j.push(L("variance")),M.type==="ClassAccessorProperty"&&j.push("accessor "),j.push(B(x,b,L),T(x),S(x),A(x,b,L)),[I(x,b,L,j," =","value"),$]}n.exports={printClass:P,printClassMethod:v,printClassProperty:N,printHardlineAfterHeritage:D}}}),ro=Z({"src/language-js/print/interface.js"(e,n){"use strict";re();var{isNonEmptyArray:t}=Ue(),{builders:{join:s,line:a,group:r,indent:u,ifBreak:i}}=Oe(),{hasComment:o,identity:c,CommentCheckFlags:y}=Ke(),{getTypeParametersGroupId:m}=Pr(),{printTypeScriptModifiers:d}=ct();function p(f,h,w){let T=f.getValue(),A=[];T.declare&&A.push("declare "),T.type==="TSInterfaceDeclaration"&&A.push(T.abstract?"abstract ":"",d(f,h,w)),A.push("interface");let S=[],B=[];T.type!=="InterfaceTypeAnnotation"&&S.push(" ",w("id"),w("typeParameters"));let I=T.typeParameters&&!o(T.typeParameters,y.Trailing|y.Line);return t(T.extends)&&B.push(I?i(" ",a,{groupId:m(T.typeParameters)}):a,"extends ",(T.extends.length===1?c:u)(s([",",a],f.map(w,"extends")))),T.id&&o(T.id,y.Trailing)||t(T.extends)?I?A.push(r([...S,u(B)])):A.push(r(u([...S,...B]))):A.push(...S,...B),A.push(" ",w("body")),r(A)}n.exports={printInterface:p}}}),no=Z({"src/language-js/print/module.js"(e,n){"use strict";re();var{isNonEmptyArray:t}=Ue(),{builders:{softline:s,group:a,indent:r,join:u,line:i,ifBreak:o,hardline:c}}=Oe(),{printDanglingComments:y}=et(),{hasComment:m,CommentCheckFlags:d,shouldPrintComma:p,needsHardlineAfterDanglingComment:f,isStringLiteral:h,rawText:w}=Ke(),{locStart:T,hasSameLoc:A}=st(),{hasDecoratorsBeforeExport:S,printDecoratorsBeforeExport:B}=Hn();function I(N,x,b){let L=N.getValue(),M=x.semi?";":"",j=[],{importKind:$}=L;return j.push("import"),$&&$!=="value"&&j.push(" ",$),j.push(g(N,x,b),D(N,x,b),l(N,x,b),M),j}function k(N,x,b){let L=N.getValue(),M=[];S(L)&&M.push(B(N,x,b));let{type:j,exportKind:$,declaration:V}=L;return M.push("export"),(L.default||j==="ExportDefaultDeclaration")&&M.push(" default"),m(L,d.Dangling)&&(M.push(" ",y(N,x,!0)),f(L)&&M.push(c)),V?M.push(" ",b("declaration")):M.push($==="type"?" type":"",g(N,x,b),D(N,x,b),l(N,x,b)),C(L,x)&&M.push(";"),M}function P(N,x,b){let L=N.getValue(),M=x.semi?";":"",j=[],{exportKind:$,exported:V}=L;return j.push("export"),$==="type"&&j.push(" type"),j.push(" *"),V&&j.push(" as ",b("exported")),j.push(D(N,x,b),l(N,x,b),M),j}function C(N,x){if(!x.semi)return!1;let{type:b,declaration:L}=N,M=N.default||b==="ExportDefaultDeclaration";if(!L)return!0;let{type:j}=L;return!!(M&&j!=="ClassDeclaration"&&j!=="FunctionDeclaration"&&j!=="TSInterfaceDeclaration"&&j!=="DeclareClass"&&j!=="DeclareFunction"&&j!=="TSDeclareFunction"&&j!=="EnumDeclaration")}function D(N,x,b){let L=N.getValue();if(!L.source)return"";let M=[];return F(L,x)||M.push(" from"),M.push(" ",b("source")),M}function g(N,x,b){let L=N.getValue();if(F(L,x))return"";let M=[" "];if(t(L.specifiers)){let j=[],$=[];N.each(()=>{let V=N.getValue().type;if(V==="ExportNamespaceSpecifier"||V==="ExportDefaultSpecifier"||V==="ImportNamespaceSpecifier"||V==="ImportDefaultSpecifier")j.push(b());else if(V==="ExportSpecifier"||V==="ImportSpecifier")$.push(b());else throw new Error("Unknown specifier type ".concat(JSON.stringify(V)))},"specifiers"),M.push(u(", ",j)),$.length>0&&(j.length>0&&M.push(", "),$.length>1||j.length>0||L.specifiers.some(q=>m(q))?M.push(a(["{",r([x.bracketSpacing?i:s,u([",",i],$)]),o(p(x)?",":""),x.bracketSpacing?i:s,"}"])):M.push(["{",x.bracketSpacing?" ":"",...$,x.bracketSpacing?" ":"","}"]))}else M.push("{}");return M}function F(N,x){let{type:b,importKind:L,source:M,specifiers:j}=N;return b!=="ImportDeclaration"||t(j)||L==="type"?!1:!/{\s*}/.test(x.originalText.slice(T(N),T(M)))}function l(N,x,b){let L=N.getNode();return t(L.assertions)?[" assert {",x.bracketSpacing?" ":"",u(", ",N.map(b,"assertions")),x.bracketSpacing?" ":"","}"]:""}function E(N,x,b){let L=N.getNode(),{type:M}=L,j=[],$=M==="ImportSpecifier"?L.importKind:L.exportKind;$&&$!=="value"&&j.push($," ");let V=M.startsWith("Import"),q=V?"imported":"local",Y=V?"local":"exported",H=L[q],R=L[Y],Q="",ee="";return M==="ExportNamespaceSpecifier"||M==="ImportNamespaceSpecifier"?Q="*":H&&(Q=b(q)),R&&!v(L)&&(ee=b(Y)),j.push(Q,Q&&ee?" as ":"",ee),j}function v(N){if(N.type!=="ImportSpecifier"&&N.type!=="ExportSpecifier")return!1;let{local:x,[N.type==="ImportSpecifier"?"imported":"exported"]:b}=N;if(x.type!==b.type||!A(x,b))return!1;if(h(x))return x.value===b.value&&w(x)===w(b);switch(x.type){case"Identifier":return x.name===b.name;default:return!1}}n.exports={printImportDeclaration:I,printExportDeclaration:k,printExportAllDeclaration:P,printModuleSpecifier:E}}}),Gn=Z({"src/language-js/print/object.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{builders:{line:s,softline:a,group:r,indent:u,ifBreak:i,hardline:o}}=Oe(),{getLast:c,hasNewlineInRange:y,hasNewline:m,isNonEmptyArray:d}=Ue(),{shouldPrintComma:p,hasComment:f,getComments:h,CommentCheckFlags:w,isNextLineEmpty:T}=Ke(),{locStart:A,locEnd:S}=st(),{printOptionalToken:B,printTypeAnnotation:I}=ct(),{shouldHugFunctionParameters:k}=wr(),{shouldHugType:P}=_r(),{printHardlineAfterHeritage:C}=Yt();function D(g,F,l){let E=F.semi?";":"",v=g.getValue(),N;v.type==="TSTypeLiteral"?N="members":v.type==="TSInterfaceBody"?N="body":N="properties";let x=v.type==="ObjectTypeAnnotation",b=[N];x&&b.push("indexers","callProperties","internalSlots");let L=b.map(W=>v[W][0]).sort((W,X)=>A(W)-A(X))[0],M=g.getParentNode(0),j=x&&M&&(M.type==="InterfaceDeclaration"||M.type==="DeclareInterface"||M.type==="DeclareClass")&&g.getName()==="body",$=v.type==="TSInterfaceBody"||j||v.type==="ObjectPattern"&&M.type!=="FunctionDeclaration"&&M.type!=="FunctionExpression"&&M.type!=="ArrowFunctionExpression"&&M.type!=="ObjectMethod"&&M.type!=="ClassMethod"&&M.type!=="ClassPrivateMethod"&&M.type!=="AssignmentPattern"&&M.type!=="CatchClause"&&v.properties.some(W=>W.value&&(W.value.type==="ObjectPattern"||W.value.type==="ArrayPattern"))||v.type!=="ObjectPattern"&&L&&y(F.originalText,A(v),A(L)),V=j?";":v.type==="TSInterfaceBody"||v.type==="TSTypeLiteral"?i(E,";"):",",q=v.type==="RecordExpression"?"#{":v.exact?"{|":"{",Y=v.exact?"|}":"}",H=[];for(let W of b)g.each(X=>{let ue=X.getValue();H.push({node:ue,printed:l(),loc:A(ue)})},W);b.length>1&&H.sort((W,X)=>W.loc-X.loc);let R=[],Q=H.map(W=>{let X=[...R,r(W.printed)];return R=[V,s],(W.node.type==="TSPropertySignature"||W.node.type==="TSMethodSignature"||W.node.type==="TSConstructSignatureDeclaration")&&f(W.node,w.PrettierIgnore)&&R.shift(),T(W.node,F)&&R.push(o),X});if(v.inexact){let W;if(f(v,w.Dangling)){let X=f(v,w.Line);W=[t(g,F,!0),X||m(F.originalText,S(c(h(v))))?o:s,"..."]}else W=["..."];Q.push([...R,...W])}let ee=c(v[N]),te=!(v.inexact||ee&&ee.type==="RestElement"||ee&&(ee.type==="TSPropertySignature"||ee.type==="TSCallSignatureDeclaration"||ee.type==="TSMethodSignature"||ee.type==="TSConstructSignatureDeclaration")&&f(ee,w.PrettierIgnore)),oe;if(Q.length===0){if(!f(v,w.Dangling))return[q,Y,I(g,F,l)];oe=r([q,t(g,F),a,Y,B(g),I(g,F,l)])}else oe=[j&&d(v.properties)?C(M):"",q,u([F.bracketSpacing?s:a,...Q]),i(te&&(V!==","||p(F))?V:""),F.bracketSpacing?s:a,Y,B(g),I(g,F,l)];return g.match(W=>W.type==="ObjectPattern"&&!W.decorators,(W,X,ue)=>k(W)&&(X==="params"||X==="parameters"||X==="this"||X==="rest")&&ue===0)||g.match(P,(W,X)=>X==="typeAnnotation",(W,X)=>X==="typeAnnotation",(W,X,ue)=>k(W)&&(X==="params"||X==="parameters"||X==="this"||X==="rest")&&ue===0)||!$&&g.match(W=>W.type==="ObjectPattern",W=>W.type==="AssignmentExpression"||W.type==="VariableDeclarator")?oe:r(oe,{shouldBreak:$})}n.exports={printObject:D}}}),Mm=Z({"src/language-js/print/flow.js"(e,n){"use strict";re();var t=Ut(),{printDanglingComments:s}=et(),{printString:a,printNumber:r}=Ue(),{builders:{hardline:u,softline:i,group:o,indent:c}}=Oe(),{getParentExportDeclaration:y,isFunctionNotation:m,isGetterOrSetter:d,rawText:p,shouldPrintComma:f}=Ke(),{locStart:h,locEnd:w}=st(),{printClass:T}=Yt(),{printOpaqueType:A,printTypeAlias:S,printIntersectionType:B,printUnionType:I,printFunctionType:k,printTupleType:P,printIndexedAccessType:C}=_r(),{printInterface:D}=ro(),{printTypeParameter:g,printTypeParameters:F}=Pr(),{printExportDeclaration:l,printExportAllDeclaration:E}=no(),{printArrayItems:v}=zt(),{printObject:N}=Gn(),{printPropertyKey:x}=Kt(),{printOptionalToken:b,printTypeAnnotation:L,printRestSpread:M}=ct();function j(V,q,Y){let H=V.getValue(),R=q.semi?";":"",Q=[];switch(H.type){case"DeclareClass":return $(V,T(V,q,Y));case"DeclareFunction":return $(V,["function ",Y("id"),H.predicate?" ":"",Y("predicate"),R]);case"DeclareModule":return $(V,["module ",Y("id")," ",Y("body")]);case"DeclareModuleExports":return $(V,["module.exports",": ",Y("typeAnnotation"),R]);case"DeclareVariable":return $(V,["var ",Y("id"),R]);case"DeclareOpaqueType":return $(V,A(V,q,Y));case"DeclareInterface":return $(V,D(V,q,Y));case"DeclareTypeAlias":return $(V,S(V,q,Y));case"DeclareExportDeclaration":return $(V,l(V,q,Y));case"DeclareExportAllDeclaration":return $(V,E(V,q,Y));case"OpaqueType":return A(V,q,Y);case"TypeAlias":return S(V,q,Y);case"IntersectionTypeAnnotation":return B(V,q,Y);case"UnionTypeAnnotation":return I(V,q,Y);case"FunctionTypeAnnotation":return k(V,q,Y);case"TupleTypeAnnotation":return P(V,q,Y);case"GenericTypeAnnotation":return[Y("id"),F(V,q,Y,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return C(V,q,Y);case"TypeAnnotation":return Y("typeAnnotation");case"TypeParameter":return g(V,q,Y);case"TypeofTypeAnnotation":return["typeof ",Y("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[Y("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(H.value);case"EnumDeclaration":return["enum ",Y("id")," ",Y("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(H.type==="EnumSymbolBody"||H.explicitType){let ee=null;switch(H.type){case"EnumBooleanBody":ee="boolean";break;case"EnumNumberBody":ee="number";break;case"EnumStringBody":ee="string";break;case"EnumSymbolBody":ee="symbol";break}Q.push("of ",ee," ")}if(H.members.length===0&&!H.hasUnknownMembers)Q.push(o(["{",s(V,q),i,"}"]));else{let ee=H.members.length>0?[u,v(V,q,"members",Y),H.hasUnknownMembers||f(q)?",":""]:[];Q.push(o(["{",c([...ee,...H.hasUnknownMembers?[u,"..."]:[]]),s(V,q,!0),u,"}"]))}return Q}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[Y("id")," = ",typeof H.init=="object"?Y("init"):String(H.init)];case"EnumDefaultedMember":return Y("id");case"FunctionTypeParam":{let ee=H.name?Y("name"):V.getParentNode().this===H?"this":"";return[ee,b(V),ee?": ":"",Y("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return D(V,q,Y);case"ClassImplements":case"InterfaceExtends":return[Y("id"),Y("typeParameters")];case"NullableTypeAnnotation":return["?",Y("typeAnnotation")];case"Variance":{let{kind:ee}=H;return t.ok(ee==="plus"||ee==="minus"),ee==="plus"?"+":"-"}case"ObjectTypeCallProperty":return H.static&&Q.push("static "),Q.push(Y("value")),Q;case"ObjectTypeIndexer":return[H.static?"static ":"",H.variance?Y("variance"):"","[",Y("id"),H.id?": ":"",Y("key"),"]: ",Y("value")];case"ObjectTypeProperty":{let ee="";return H.proto?ee="proto ":H.static&&(ee="static "),[ee,d(H)?H.kind+" ":"",H.variance?Y("variance"):"",x(V,q,Y),b(V),m(H)?"":": ",Y("value")]}case"ObjectTypeAnnotation":return N(V,q,Y);case"ObjectTypeInternalSlot":return[H.static?"static ":"","[[",Y("id"),"]]",b(V),H.method?"":": ",Y("value")];case"ObjectTypeSpreadProperty":return M(V,q,Y);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[Y("qualification"),".",Y("id")];case"StringLiteralTypeAnnotation":return a(p(H),q);case"NumberLiteralTypeAnnotation":t.strictEqual(typeof H.value,"number");case"BigIntLiteralTypeAnnotation":return H.extra?r(H.extra.raw):r(H.raw);case"TypeCastExpression":return["(",Y("expression"),L(V,q,Y),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let ee=F(V,q,Y,"params");if(q.parser==="flow"){let te=h(H),oe=w(H),W=q.originalText.lastIndexOf("/*",te),X=q.originalText.indexOf("*/",oe);if(W!==-1&&X!==-1){let ue=q.originalText.slice(W+2,X).trim();if(ue.startsWith("::")&&!ue.includes("/*")&&!ue.includes("*/"))return["/*:: ",ee," */"]}}return ee}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",Y("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(H.type))}}function $(V,q){let Y=y(V);return Y?(t.strictEqual(Y.type,"DeclareExportDeclaration"),q):["declare ",q]}n.exports={printFlow:j}}}),Rm=Z({"src/language-js/utils/is-ts-keyword-type.js"(e,n){"use strict";re();function t(s){let{type:a}=s;return a.startsWith("TS")&&a.endsWith("Keyword")}n.exports=t}}),uo=Z({"src/language-js/print/ternary.js"(e,n){"use strict";re();var{hasNewlineInRange:t}=Ue(),{isJsxNode:s,getComments:a,isCallExpression:r,isMemberExpression:u}=Ke(),{locStart:i,locEnd:o}=st(),c=Pt(),{builders:{line:y,softline:m,group:d,indent:p,align:f,ifBreak:h,dedent:w,breakParent:T}}=Oe();function A(P){let C=[P];for(let D=0;D<C.length;D++){let g=C[D];for(let F of["test","consequent","alternate"]){let l=g[F];if(s(l))return!0;l.type==="ConditionalExpression"&&C.push(l)}}return!1}function S(P,C,D){let g=P.getValue(),F=g.type==="ConditionalExpression",l=F?"alternate":"falseType",E=P.getParentNode(),v=F?D("test"):[D("checkType")," ","extends"," ",D("extendsType")];return E.type===g.type&&E[l]===g?f(2,v):v}var B=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function I(P){let C=P.getValue();if(C.type!=="ConditionalExpression")return!1;let D,g=C;for(let F=0;!D;F++){let l=P.getParentNode(F);if(r(l)&&l.callee===g||u(l)&&l.object===g||l.type==="TSNonNullExpression"&&l.expression===g){g=l;continue}l.type==="NewExpression"&&l.callee===g||l.type==="TSAsExpression"&&l.expression===g?(D=P.getParentNode(F+1),g=l):D=l}return g===C?!1:D[B.get(D.type)]===g}function k(P,C,D){let g=P.getValue(),F=g.type==="ConditionalExpression",l=F?"consequent":"trueType",E=F?"alternate":"falseType",v=F?["test"]:["checkType","extendsType"],N=g[l],x=g[E],b=[],L=!1,M=P.getParentNode(),j=M.type===g.type&&v.some(ue=>M[ue]===g),$=M.type===g.type&&!j,V,q,Y=0;do q=V||g,V=P.getParentNode(Y),Y++;while(V&&V.type===g.type&&v.every(ue=>V[ue]!==q));let H=V||M,R=q;if(F&&(s(g[v[0]])||s(N)||s(x)||A(R))){L=!0,$=!0;let ue=ie=>[h("("),p([m,ie]),m,h(")")],De=ie=>ie.type==="NullLiteral"||ie.type==="Literal"&&ie.value===null||ie.type==="Identifier"&&ie.name==="undefined";b.push(" ? ",De(N)?D(l):ue(D(l))," : ",x.type===g.type||De(x)?D(E):ue(D(E)))}else{let ue=[y,"? ",N.type===g.type?h("","("):"",f(2,D(l)),N.type===g.type?h("",")"):"",y,": ",x.type===g.type?D(E):f(2,D(E))];b.push(M.type!==g.type||M[E]===g||j?ue:C.useTabs?w(p(ue)):f(Math.max(0,C.tabWidth-2),ue))}let ee=[...v.map(ue=>a(g[ue])),a(N),a(x)].flat().some(ue=>c(ue)&&t(C.originalText,i(ue),o(ue))),te=ue=>M===H?d(ue,{shouldBreak:ee}):ee?[ue,T]:ue,oe=!L&&(u(M)||M.type==="NGPipeExpression"&&M.left===g)&&!M.computed,W=I(P),X=te([S(P,C,D),$?b:p(b),F&&oe&&!W?m:""]);return j||W?d([p([m,X]),m]):X}n.exports={printTernary:k}}}),so=Z({"src/language-js/print/statement.js"(e,n){"use strict";re();var{builders:{hardline:t}}=Oe(),s=It(),{getLeftSidePathName:a,hasNakedLeftSide:r,isJsxNode:u,isTheOnlyJsxElementInMarkdown:i,hasComment:o,CommentCheckFlags:c,isNextLineEmpty:y}=Ke(),{shouldPrintParamsWithoutParens:m}=kr();function d(B,I,k,P){let C=B.getValue(),D=[],g=C.type==="ClassBody",F=p(C[P]);return B.each((l,E,v)=>{let N=l.getValue();if(N.type==="EmptyStatement")return;let x=k();!I.semi&&!g&&!i(I,l)&&f(l,I)?o(N,c.Leading)?D.push(k([],{needsSemi:!0})):D.push(";",x):D.push(x),!I.semi&&g&&A(N)&&S(N,v[E+1])&&D.push(";"),N!==F&&(D.push(t),y(N,I)&&D.push(t))},P),D}function p(B){for(let I=B.length-1;I>=0;I--){let k=B[I];if(k.type!=="EmptyStatement")return k}}function f(B,I){return B.getNode().type!=="ExpressionStatement"?!1:B.call(P=>h(P,I),"expression")}function h(B,I){let k=B.getValue();switch(k.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!m(B,I))return!0;break}case"UnaryExpression":{let{prefix:P,operator:C}=k;if(P&&(C==="+"||C==="-"))return!0;break}case"BindExpression":{if(!k.object)return!0;break}case"Literal":{if(k.regex)return!0;break}default:if(u(k))return!0}return s(B,I)?!0:r(k)?B.call(P=>h(P,I),...a(B,k)):!1}function w(B,I,k){return d(B,I,k,"body")}function T(B,I,k){return d(B,I,k,"consequent")}var A=B=>{let{type:I}=B;return I==="ClassProperty"||I==="PropertyDefinition"||I==="ClassPrivateProperty"||I==="ClassAccessorProperty"};function S(B,I){let k=B.key&&B.key.name;if((k==="static"||k==="get"||k==="set")&&!B.value&&!B.typeAnnotation)return!0;if(!I||I.static||I.accessibility)return!1;if(!I.computed){let P=I.key&&I.key.name;if(P==="in"||P==="instanceof")return!0}if(A(I)&&I.variance&&!I.static&&!I.declare)return!0;switch(I.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return I.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((I.value?I.value.async:I.async)||I.kind==="get"||I.kind==="set")return!1;let C=I.value?I.value.generator:I.generator;return!!(I.computed||C)}case"TSIndexSignature":return!0}return!1}n.exports={printBody:w,printSwitchCaseConsequent:T}}}),io=Z({"src/language-js/print/block.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{isNonEmptyArray:s}=Ue(),{builders:{hardline:a,indent:r}}=Oe(),{hasComment:u,CommentCheckFlags:i,isNextLineEmpty:o}=Ke(),{printHardlineAfterHeritage:c}=Yt(),{printBody:y}=so();function m(p,f,h){let w=p.getValue(),T=[];if(w.type==="StaticBlock"&&T.push("static "),w.type==="ClassBody"&&s(w.body)){let S=p.getParentNode();T.push(c(S))}T.push("{");let A=d(p,f,h);if(A)T.push(r([a,A]),a);else{let S=p.getParentNode(),B=p.getParentNode(1);S.type==="ArrowFunctionExpression"||S.type==="FunctionExpression"||S.type==="FunctionDeclaration"||S.type==="ObjectMethod"||S.type==="ClassMethod"||S.type==="ClassPrivateMethod"||S.type==="ForStatement"||S.type==="WhileStatement"||S.type==="DoWhileStatement"||S.type==="DoExpression"||S.type==="CatchClause"&&!B.finalizer||S.type==="TSModuleDeclaration"||S.type==="TSDeclareFunction"||w.type==="StaticBlock"||w.type==="ClassBody"||T.push(a)}return T.push("}"),T}function d(p,f,h){let w=p.getValue(),T=s(w.directives),A=w.body.some(I=>I.type!=="EmptyStatement"),S=u(w,i.Dangling);if(!T&&!A&&!S)return"";let B=[];if(T&&p.each((I,k,P)=>{B.push(h()),(k<P.length-1||A||S)&&(B.push(a),o(I.getValue(),f)&&B.push(a))},"directives"),A&&B.push(y(p,f,h)),S&&B.push(t(p,f,!0)),w.type==="Program"){let I=p.getParentNode();(!I||I.type!=="ModuleExpression")&&B.push(a)}return B}n.exports={printBlock:m,printBlockBody:d}}}),Vm=Z({"src/language-js/print/typescript.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{hasNewlineInRange:s}=Ue(),{builders:{join:a,line:r,hardline:u,softline:i,group:o,indent:c,conditionalGroup:y,ifBreak:m}}=Oe(),{isLiteral:d,getTypeScriptMappedTypeModifier:p,shouldPrintComma:f,isCallExpression:h,isMemberExpression:w}=Ke(),T=Rm(),{locStart:A,locEnd:S}=st(),{printOptionalToken:B,printTypeScriptModifiers:I}=ct(),{printTernary:k}=uo(),{printFunctionParameters:P,shouldGroupFunctionParameters:C}=wr(),{printTemplateLiteral:D}=kt(),{printArrayItems:g}=zt(),{printObject:F}=Gn(),{printClassProperty:l,printClassMethod:E}=Yt(),{printTypeParameter:v,printTypeParameters:N}=Pr(),{printPropertyKey:x}=Kt(),{printFunction:b,printMethodInternal:L}=kr(),{printInterface:M}=ro(),{printBlock:j}=io(),{printTypeAlias:$,printIntersectionType:V,printUnionType:q,printFunctionType:Y,printTupleType:H,printIndexedAccessType:R,printJSDocType:Q}=_r();function ee(te,oe,W){let X=te.getValue();if(!X.type.startsWith("TS"))return;if(T(X))return X.type.slice(2,-7).toLowerCase();let ue=oe.semi?";":"",De=[];switch(X.type){case"TSThisType":return"this";case"TSTypeAssertion":{let ie=!(X.expression.type==="ArrayExpression"||X.expression.type==="ObjectExpression"),G=o(["<",c([i,W("typeAnnotation")]),i,">"]),z=[m("("),c([i,W("expression")]),i,m(")")];return ie?y([[G,W("expression")],[G,o(z,{shouldBreak:!0})],[G,W("expression")]]):o([G,W("expression")])}case"TSDeclareFunction":return b(te,W,oe);case"TSExportAssignment":return["export = ",W("expression"),ue];case"TSModuleBlock":return j(te,oe,W);case"TSInterfaceBody":case"TSTypeLiteral":return F(te,oe,W);case"TSTypeAliasDeclaration":return $(te,oe,W);case"TSQualifiedName":return a(".",[W("left"),W("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return E(te,oe,W);case"TSAbstractPropertyDefinition":return l(te,oe,W);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return De.push(W("expression")),X.typeParameters&&De.push(W("typeParameters")),De;case"TSTemplateLiteralType":return D(te,W,oe);case"TSNamedTupleMember":return[W("label"),X.optional?"?":"",": ",W("elementType")];case"TSRestType":return["...",W("typeAnnotation")];case"TSOptionalType":return[W("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return M(te,oe,W);case"TSClassImplements":return[W("expression"),W("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return N(te,oe,W,"params");case"TSTypeParameter":return v(te,oe,W);case"TSAsExpression":{De.push(W("expression")," as ",W("typeAnnotation"));let ie=te.getParentNode();return h(ie)&&ie.callee===X||w(ie)&&ie.object===X?o([c([i,...De]),i]):De}case"TSArrayType":return[W("elementType"),"[]"];case"TSPropertySignature":return X.readonly&&De.push("readonly "),De.push(x(te,oe,W),B(te)),X.typeAnnotation&&De.push(": ",W("typeAnnotation")),X.initializer&&De.push(" = ",W("initializer")),De;case"TSParameterProperty":return X.accessibility&&De.push(X.accessibility+" "),X.export&&De.push("export "),X.static&&De.push("static "),X.override&&De.push("override "),X.readonly&&De.push("readonly "),De.push(W("parameter")),De;case"TSTypeQuery":return["typeof ",W("exprName"),W("typeParameters")];case"TSIndexSignature":{let ie=te.getParentNode(),G=X.parameters.length>1?m(f(oe)?",":""):"",z=o([c([i,a([", ",i],te.map(W,"parameters"))]),G,i]);return[X.export?"export ":"",X.accessibility?[X.accessibility," "]:"",X.static?"static ":"",X.readonly?"readonly ":"",X.declare?"declare ":"","[",X.parameters?z:"",X.typeAnnotation?"]: ":"]",X.typeAnnotation?W("typeAnnotation"):"",ie.type==="ClassBody"?ue:""]}case"TSTypePredicate":return[X.asserts?"asserts ":"",W("parameterName"),X.typeAnnotation?[" is ",W("typeAnnotation")]:""];case"TSNonNullExpression":return[W("expression"),"!"];case"TSImportType":return[X.isTypeOf?"typeof ":"","import(",W(X.parameter?"parameter":"argument"),")",X.qualifier?[".",W("qualifier")]:"",N(te,oe,W,"typeParameters")];case"TSLiteralType":return W("literal");case"TSIndexedAccessType":return R(te,oe,W);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(X.type==="TSConstructorType"&&X.abstract&&De.push("abstract "),X.type!=="TSCallSignatureDeclaration"&&De.push("new "),De.push(o(P(te,W,oe,!1,!0))),X.returnType||X.typeAnnotation){let ie=X.type==="TSConstructorType";De.push(ie?" => ":": ",W("returnType"),W("typeAnnotation"))}return De}case"TSTypeOperator":return[X.operator," ",W("typeAnnotation")];case"TSMappedType":{let ie=s(oe.originalText,A(X),S(X));return o(["{",c([oe.bracketSpacing?r:i,X.readonly?[p(X.readonly,"readonly")," "]:"",I(te,oe,W),W("typeParameter"),X.optional?p(X.optional,"?"):"",X.typeAnnotation?": ":"",W("typeAnnotation"),m(ue)]),t(te,oe,!0),oe.bracketSpacing?r:i,"}"],{shouldBreak:ie})}case"TSMethodSignature":{let ie=X.kind&&X.kind!=="method"?"".concat(X.kind," "):"";De.push(X.accessibility?[X.accessibility," "]:"",ie,X.export?"export ":"",X.static?"static ":"",X.readonly?"readonly ":"",X.abstract?"abstract ":"",X.declare?"declare ":"",X.computed?"[":"",W("key"),X.computed?"]":"",B(te));let G=P(te,W,oe,!1,!0),z=X.returnType?"returnType":"typeAnnotation",U=X[z],le=U?W(z):"",ge=C(X,le);return De.push(ge?o(G):G),U&&De.push(": ",o(le)),o(De)}case"TSNamespaceExportDeclaration":return De.push("export as namespace ",W("id")),oe.semi&&De.push(";"),o(De);case"TSEnumDeclaration":return X.declare&&De.push("declare "),X.modifiers&&De.push(I(te,oe,W)),X.const&&De.push("const "),De.push("enum ",W("id")," "),X.members.length===0?De.push(o(["{",t(te,oe),i,"}"])):De.push(o(["{",c([u,g(te,oe,"members",W),f(oe,"es5")?",":""]),t(te,oe,!0),u,"}"])),De;case"TSEnumMember":return X.computed?De.push("[",W("id"),"]"):De.push(W("id")),X.initializer&&De.push(" = ",W("initializer")),De;case"TSImportEqualsDeclaration":return X.isExport&&De.push("export "),De.push("import "),X.importKind&&X.importKind!=="value"&&De.push(X.importKind," "),De.push(W("id")," = ",W("moduleReference")),oe.semi&&De.push(";"),o(De);case"TSExternalModuleReference":return["require(",W("expression"),")"];case"TSModuleDeclaration":{let ie=te.getParentNode(),G=d(X.id),z=ie.type==="TSModuleDeclaration",U=X.body&&X.body.type==="TSModuleDeclaration";if(z)De.push(".");else{X.declare&&De.push("declare "),De.push(I(te,oe,W));let le=oe.originalText.slice(A(X),A(X.id));X.id.type==="Identifier"&&X.id.name==="global"&&!/namespace|module/.test(le)||De.push(G||/(?:^|\s)module(?:\s|$)/.test(le)?"module ":"namespace ")}return De.push(W("id")),U?De.push(W("body")):X.body?De.push(" ",o(W("body"))):De.push(ue),De}case"TSConditionalType":return k(te,oe,W);case"TSInferType":return["infer"," ",W("typeParameter")];case"TSIntersectionType":return V(te,oe,W);case"TSUnionType":return q(te,oe,W);case"TSFunctionType":return Y(te,oe,W);case"TSTupleType":return H(te,oe,W);case"TSTypeReference":return[W("typeName"),N(te,oe,W,"typeParameters")];case"TSTypeAnnotation":return W("typeAnnotation");case"TSEmptyBodyFunctionExpression":return L(te,oe,W);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Q(te,W,"?");case"TSJSDocNonNullableType":return Q(te,W,"!");case"TSInstantiationExpression":return[W("expression"),W("typeParameters")];default:throw new Error("Unknown TypeScript node type: ".concat(JSON.stringify(X.type),"."))}}n.exports={printTypescript:ee}}}),Wm=Z({"src/language-js/print/comment.js"(e,n){"use strict";re();var{hasNewline:t}=Ue(),{builders:{join:s,hardline:a},utils:{replaceTextEndOfLine:r}}=Oe(),{isLineComment:u}=Ke(),{locStart:i,locEnd:o}=st(),c=Pt();function y(p,f){let h=p.getValue();if(u(h))return f.originalText.slice(i(h),o(h)).trimEnd();if(c(h)){if(m(h)){let A=d(h);return h.trailing&&!t(f.originalText,i(h),{backwards:!0})?[a,A]:A}let w=o(h),T=f.originalText.slice(w-3,w)==="*-/";return["/*",r(h.value),T?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(h))}function m(p){let f="*".concat(p.value,"*").split(`
67
- `);return f.length>1&&f.every(h=>h.trim()[0]==="*")}function d(p){let f=p.value.split(`
68
- `);return["/*",s(a,f.map((h,w)=>w===0?h.trimEnd():" "+(w<f.length-1?h.trim():h.trimStart()))),"*/"]}n.exports={printComment:y}}}),$m=Z({"src/language-js/print/literal.js"(e,n){"use strict";re();var{printString:t,printNumber:s}=Ue();function a(i,o){let c=i.getNode();switch(c.type){case"RegExpLiteral":return u(c);case"BigIntLiteral":return r(c.bigint||c.extra.raw);case"NumericLiteral":return s(c.extra.raw);case"StringLiteral":return t(c.extra.raw,o);case"NullLiteral":return"null";case"BooleanLiteral":return String(c.value);case"DecimalLiteral":return s(c.value)+"m";case"Literal":{if(c.regex)return u(c.regex);if(c.bigint)return r(c.raw);if(c.decimal)return s(c.decimal)+"m";let{value:y}=c;return typeof y=="number"?s(c.raw):typeof y=="string"?t(c.raw,o):String(y)}}}function r(i){return i.toLowerCase()}function u(i){let{pattern:o,flags:c}=i;return c=[...c].sort().join(""),"/".concat(o,"/").concat(c)}n.exports={printLiteral:a}}}),Hm=Z({"src/language-js/printer-estree.js"(e,n){"use strict";re();var{printDanglingComments:t}=et(),{hasNewline:s}=Ue(),{builders:{join:a,line:r,hardline:u,softline:i,group:o,indent:c},utils:{replaceTextEndOfLine:y}}=Oe(),m=bm(),d=Tm(),{insertPragma:p}=Ka(),f=Ya(),h=It(),w=Qa(),{hasFlowShorthandAnnotationComment:T,hasComment:A,CommentCheckFlags:S,isTheOnlyJsxElementInMarkdown:B,isLineComment:I,isNextLineEmpty:k,needsHardlineAfterDanglingComment:P,rawText:C,hasIgnoreComment:D,isCallExpression:g,isMemberExpression:F,markerForIfWithoutBlockAndSameLineComment:l}=Ke(),{locStart:E,locEnd:v}=st(),N=Pt(),{printHtmlBinding:x,isVueEventBindingExpression:b}=Lm(),{printAngular:L}=jm(),{printJsx:M,hasJsxIgnoreComment:j}=Om(),{printFlow:$}=Mm(),{printTypescript:V}=Vm(),{printOptionalToken:q,printBindExpressionCallee:Y,printTypeAnnotation:H,adjustClause:R,printRestSpread:Q,printDefiniteToken:ee}=ct(),{printImportDeclaration:te,printExportDeclaration:oe,printExportAllDeclaration:W,printModuleSpecifier:X}=no(),{printTernary:ue}=uo(),{printTemplateLiteral:De}=kt(),{printArray:ie}=zt(),{printObject:G}=Gn(),{printClass:z,printClassMethod:U,printClassProperty:le}=Yt(),{printProperty:ge}=Kt(),{printFunction:Ae,printArrowFunction:Ne,printMethod:ke,printReturnStatement:ce,printThrowStatement:pe}=kr(),{printCallExpression:de}=to(),{printVariableDeclarator:ae,printAssignmentExpression:ve}=Xt(),{printBinaryishExpression:K}=$n(),{printSwitchCaseConsequent:he}=so(),{printMemberExpression:ye}=eo(),{printBlock:Ce,printBlockBody:Ie}=io(),{printComment:Fe}=Wm(),{printLiteral:me}=$m(),{printDecorators:_}=Hn();function J(Be,Pe,Se,Qe){let xe=ne(Be,Pe,Se,Qe);if(!xe)return"";let Xe=Be.getValue(),{type:we}=Xe;if(we==="ClassMethod"||we==="ClassPrivateMethod"||we==="ClassProperty"||we==="ClassAccessorProperty"||we==="PropertyDefinition"||we==="TSAbstractPropertyDefinition"||we==="ClassPrivateProperty"||we==="MethodDefinition"||we==="TSAbstractMethodDefinition"||we==="TSDeclareMethod")return xe;let je=[xe],Re=_(Be,Pe,Se),be=Xe.type==="ClassExpression"&&Re;if(Re&&(je=[...Re,xe],!be))return o(je);if(!h(Be,Pe))return Qe&&Qe.needsSemi&&je.unshift(";"),je.length===1&&je[0]===xe?xe:je;if(be&&(je=[c([r,...je])]),je.unshift("("),Qe&&Qe.needsSemi&&je.unshift(";"),T(Xe)){let[qe]=Xe.trailingComments;je.push(" /*",qe.value.trimStart(),"*/"),qe.printed=!0}return be&&je.push(r),je.push(")"),je}function ne(Be,Pe,Se,Qe){let xe=Be.getValue(),Xe=Pe.semi?";":"";if(!xe)return"";if(typeof xe=="string")return xe;for(let je of[me,x,L,M,$,V]){let Re=je(Be,Pe,Se);if(typeof Re<"u")return Re}let we=[];switch(xe.type){case"JsExpressionRoot":return Se("node");case"JsonRoot":return[Se("node"),u];case"File":return xe.program&&xe.program.interpreter&&we.push(Se(["program","interpreter"])),we.push(Se("program")),we;case"Program":return Ie(Be,Pe,Se);case"EmptyStatement":return"";case"ExpressionStatement":{if(xe.directive)return[Ee(xe.expression,Pe),Xe];if(Pe.parser==="__vue_event_binding"||Pe.parser==="__vue_ts_event_binding"){let Re=Be.getParentNode();if(Re.type==="Program"&&Re.body.length===1&&Re.body[0]===xe)return[Se("expression"),b(xe.expression)?";":""]}let je=t(Be,Pe,!0,Re=>{let{marker:be}=Re;return be===l});return[Se("expression"),B(Pe,Be)?"":Xe,je?[" ",je]:""]}case"ParenthesizedExpression":return!A(xe.expression)&&(xe.expression.type==="ObjectExpression"||xe.expression.type==="ArrayExpression")?["(",Se("expression"),")"]:o(["(",c([i,Se("expression")]),i,")"]);case"AssignmentExpression":return ve(Be,Pe,Se);case"VariableDeclarator":return ae(Be,Pe,Se);case"BinaryExpression":case"LogicalExpression":return K(Be,Pe,Se);case"AssignmentPattern":return[Se("left")," = ",Se("right")];case"OptionalMemberExpression":case"MemberExpression":return ye(Be,Pe,Se);case"MetaProperty":return[Se("meta"),".",Se("property")];case"BindExpression":return xe.object&&we.push(Se("object")),we.push(o(c([i,Y(Be,Pe,Se)]))),we;case"Identifier":return[xe.name,q(Be),ee(Be),H(Be,Pe,Se)];case"V8IntrinsicIdentifier":return["%",xe.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return Q(Be,Pe,Se);case"FunctionDeclaration":case"FunctionExpression":return Ae(Be,Se,Pe,Qe);case"ArrowFunctionExpression":return Ne(Be,Pe,Se,Qe);case"YieldExpression":return we.push("yield"),xe.delegate&&we.push("*"),xe.argument&&we.push(" ",Se("argument")),we;case"AwaitExpression":{if(we.push("await"),xe.argument){we.push(" ",Se("argument"));let je=Be.getParentNode();if(g(je)&&je.callee===xe||F(je)&&je.object===xe){we=[c([i,...we]),i];let Re=Be.findAncestor(be=>be.type==="AwaitExpression"||be.type==="BlockStatement");if(!Re||Re.type!=="AwaitExpression")return o(we)}}return we}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return oe(Be,Pe,Se);case"ExportAllDeclaration":return W(Be,Pe,Se);case"ImportDeclaration":return te(Be,Pe,Se);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return X(Be,Pe,Se);case"ImportAttribute":return[Se("key"),": ",Se("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Ce(Be,Pe,Se);case"ThrowStatement":return pe(Be,Pe,Se);case"ReturnStatement":return ce(Be,Pe,Se);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return de(Be,Pe,Se);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return G(Be,Pe,Se);case"ObjectProperty":case"Property":return xe.method||xe.kind==="get"||xe.kind==="set"?ke(Be,Pe,Se):ge(Be,Pe,Se);case"ObjectMethod":return ke(Be,Pe,Se);case"Decorator":return["@",Se("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return ie(Be,Pe,Se);case"SequenceExpression":{let je=Be.getParentNode(0);if(je.type==="ExpressionStatement"||je.type==="ForStatement"){let Re=[];return Be.each((be,Le)=>{Le===0?Re.push(Se()):Re.push(",",c([r,Se()]))},"expressions"),o(Re)}return o(a([",",r],Be.map(Se,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[Se("value"),Xe];case"DirectiveLiteral":return Ee(xe,Pe);case"UnaryExpression":return we.push(xe.operator),/[a-z]$/.test(xe.operator)&&we.push(" "),A(xe.argument)?we.push(o(["(",c([i,Se("argument")]),i,")"])):we.push(Se("argument")),we;case"UpdateExpression":return we.push(Se("argument"),xe.operator),xe.prefix&&we.reverse(),we;case"ConditionalExpression":return ue(Be,Pe,Se);case"VariableDeclaration":{let je=Be.map(Se,"declarations"),Re=Be.getParentNode(),be=Re.type==="ForStatement"||Re.type==="ForInStatement"||Re.type==="ForOfStatement",Le=xe.declarations.some(se=>se.init),qe;return je.length===1&&!A(xe.declarations[0])?qe=je[0]:je.length>0&&(qe=c(je[0])),we=[xe.declare?"declare ":"",xe.kind,qe?[" ",qe]:"",c(je.slice(1).map(se=>[",",Le&&!be?u:r,se]))],be&&Re.body!==xe||we.push(Xe),o(we)}case"WithStatement":return o(["with (",Se("object"),")",R(xe.body,Se("body"))]);case"IfStatement":{let je=R(xe.consequent,Se("consequent")),Re=o(["if (",o([c([i,Se("test")]),i]),")",je]);if(we.push(Re),xe.alternate){let be=A(xe.consequent,S.Trailing|S.Line)||P(xe),Le=xe.consequent.type==="BlockStatement"&&!be;we.push(Le?" ":u),A(xe,S.Dangling)&&we.push(t(Be,Pe,!0),be?u:" "),we.push("else",o(R(xe.alternate,Se("alternate"),xe.alternate.type==="IfStatement")))}return we}case"ForStatement":{let je=R(xe.body,Se("body")),Re=t(Be,Pe,!0),be=Re?[Re,i]:"";return!xe.init&&!xe.test&&!xe.update?[be,o(["for (;;)",je])]:[be,o(["for (",o([c([i,Se("init"),";",r,Se("test"),";",r,Se("update")]),i]),")",je])]}case"WhileStatement":return o(["while (",o([c([i,Se("test")]),i]),")",R(xe.body,Se("body"))]);case"ForInStatement":return o(["for (",Se("left")," in ",Se("right"),")",R(xe.body,Se("body"))]);case"ForOfStatement":return o(["for",xe.await?" await":""," (",Se("left")," of ",Se("right"),")",R(xe.body,Se("body"))]);case"DoWhileStatement":{let je=R(xe.body,Se("body"));return we=[o(["do",je])],xe.body.type==="BlockStatement"?we.push(" "):we.push(u),we.push("while (",o([c([i,Se("test")]),i]),")",Xe),we}case"DoExpression":return[xe.async?"async ":"","do ",Se("body")];case"BreakStatement":return we.push("break"),xe.label&&we.push(" ",Se("label")),we.push(Xe),we;case"ContinueStatement":return we.push("continue"),xe.label&&we.push(" ",Se("label")),we.push(Xe),we;case"LabeledStatement":return xe.body.type==="EmptyStatement"?[Se("label"),":;"]:[Se("label"),": ",Se("body")];case"TryStatement":return["try ",Se("block"),xe.handler?[" ",Se("handler")]:"",xe.finalizer?[" finally ",Se("finalizer")]:""];case"CatchClause":if(xe.param){let je=A(xe.param,be=>!N(be)||be.leading&&s(Pe.originalText,v(be))||be.trailing&&s(Pe.originalText,E(be),{backwards:!0})),Re=Se("param");return["catch ",je?["(",c([i,Re]),i,") "]:["(",Re,") "],Se("body")]}return["catch ",Se("body")];case"SwitchStatement":return[o(["switch (",c([i,Se("discriminant")]),i,")"])," {",xe.cases.length>0?c([u,a(u,Be.map((je,Re,be)=>{let Le=je.getValue();return[Se(),Re!==be.length-1&&k(Le,Pe)?u:""]},"cases"))]):"",u,"}"];case"SwitchCase":{xe.test?we.push("case ",Se("test"),":"):we.push("default:"),A(xe,S.Dangling)&&we.push(" ",t(Be,Pe,!0));let je=xe.consequent.filter(Re=>Re.type!=="EmptyStatement");if(je.length>0){let Re=he(Be,Pe,Se);we.push(je.length===1&&je[0].type==="BlockStatement"?[" ",Re]:c([u,Re]))}return we}case"DebuggerStatement":return["debugger",Xe];case"ClassDeclaration":case"ClassExpression":return z(Be,Pe,Se);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return U(Be,Pe,Se);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return le(Be,Pe,Se);case"TemplateElement":return y(xe.value.raw);case"TemplateLiteral":return De(Be,Se,Pe);case"TaggedTemplateExpression":return[Se("tag"),Se("typeParameters"),Se("quasi")];case"PrivateIdentifier":return["#",Se("name")];case"PrivateName":return["#",Se("id")];case"InterpreterDirective":return we.push("#!",xe.value,u),k(xe,Pe)&&we.push(u),we;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{we.push("module {");let je=Se("body");return je&&we.push(c([u,je]),u),we.push("}"),we}default:throw new Error("unknown type: "+JSON.stringify(xe.type))}}function Ee(Be,Pe){let Se=C(Be),Qe=Se.slice(1,-1);if(Qe.includes('"')||Qe.includes("'"))return Se;let xe=Pe.singleQuote?"'":'"';return xe+Qe+xe}function We(Be){return Be.type&&!N(Be)&&!I(Be)&&Be.type!=="EmptyStatement"&&Be.type!=="TemplateElement"&&Be.type!=="Import"&&Be.type!=="TSEmptyBodyFunctionExpression"}n.exports={preprocess:w,print:J,embed:m,insertPragma:p,massageAstNode:d,hasPrettierIgnore(Be){return D(Be)||j(Be)},willPrintOwnComments:f.willPrintOwnComments,canAttachComment:We,printComment:Fe,isBlockComment:N,handleComments:{avoidAstMutation:!0,ownLine:f.handleOwnLineComment,endOfLine:f.handleEndOfLineComment,remaining:f.handleRemainingComment},getCommentChildNodes:f.getCommentChildNodes}}}),Gm=Z({"src/language-js/printer-estree-json.js"(e,n){"use strict";re();var{builders:{hardline:t,indent:s,join:a}}=Oe(),r=Qa();function u(c,y,m){let d=c.getValue();switch(d.type){case"JsonRoot":return[m("node"),t];case"ArrayExpression":{if(d.elements.length===0)return"[]";let p=c.map(()=>c.getValue()===null?"null":m(),"elements");return["[",s([t,a([",",t],p)]),t,"]"]}case"ObjectExpression":return d.properties.length===0?"{}":["{",s([t,a([",",t],c.map(m,"properties"))]),t,"}"];case"ObjectProperty":return[m("key"),": ",m("value")];case"UnaryExpression":return[d.operator==="+"?"":d.operator,m("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return d.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(d.value);case"Identifier":{let p=c.getParentNode();return p&&p.type==="ObjectProperty"&&p.key===d?JSON.stringify(d.name):d.name}case"TemplateLiteral":return m(["quasis",0]);case"TemplateElement":return JSON.stringify(d.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(d.type))}}var i=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function o(c,y){let{type:m}=c;if(m==="ObjectProperty"&&c.key.type==="Identifier"){y.key={type:"StringLiteral",value:c.key.name};return}if(m==="UnaryExpression"&&c.operator==="+")return y.argument;if(m==="ArrayExpression"){for(let[d,p]of c.elements.entries())p===null&&y.elements.splice(d,0,{type:"NullLiteral"});return}if(m==="TemplateLiteral")return{type:"StringLiteral",value:c.quasis[0].value.cooked}}o.ignoredProperties=i,n.exports={preprocess:r,print:u,massageAstNode:o}}}),Lt=Z({"src/common/common-options.js"(e,n){"use strict";re();var t="Common";n.exports={bracketSpacing:{since:"0.0.0",category:t,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:t,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:t,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:t,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:t,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}}}}),Jm=Z({"src/language-js/options.js"(e,n){"use strict";re();var t=Lt(),s="JavaScript";n.exports={arrowParens:{since:"1.9.0",category:s,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:t.bracketSameLine,bracketSpacing:t.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:s,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:s,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:t.singleQuote,jsxSingleQuote:{since:"1.15.0",category:s,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:s,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:s,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."},{value:"all",description:"Trailing commas wherever possible (including function arguments)."}]},singleAttributePerLine:t.singleAttributePerLine}}}),Um=Z({"src/language-js/parse/parsers.js"(){re()}}),Fn=Z({"node_modules/linguist-languages/data/JavaScript.json"(e,n){n.exports={name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".jsx",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],languageId:183}}}),zm=Z({"node_modules/linguist-languages/data/TypeScript.json"(e,n){n.exports={name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",languageId:378}}}),Xm=Z({"node_modules/linguist-languages/data/TSX.json"(e,n){n.exports={name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",languageId:94901924}}}),aa=Z({"node_modules/linguist-languages/data/JSON.json"(e,n){n.exports={name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".jsonl",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],languageId:174}}}),Km=Z({"node_modules/linguist-languages/data/JSON with Comments.json"(e,n){n.exports={name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json"],languageId:423}}}),Ym=Z({"node_modules/linguist-languages/data/JSON5.json"(e,n){n.exports={name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",languageId:175}}}),Qm=Z({"src/language-js/index.js"(e,n){"use strict";re();var t=Tt(),s=Hm(),a=Gm(),r=Jm(),u=Um(),i=[t(Fn(),c=>({since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],interpreters:[...c.interpreters,"zx"],extensions:[...c.extensions.filter(y=>y!==".jsx"),".wxs"]})),t(Fn(),()=>({name:"Flow",since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],aliases:[],filenames:[],extensions:[".js.flow"]})),t(Fn(),()=>({name:"JSX",since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],aliases:void 0,filenames:void 0,extensions:[".jsx"],group:"JavaScript",interpreters:void 0,tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",color:void 0})),t(zm(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]})),t(Xm(),()=>({since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]})),t(aa(),()=>({name:"JSON.stringify",since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"]})),t(aa(),c=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"],extensions:c.extensions.filter(y=>y!==".jsonl")})),t(Km(),c=>({since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"],filenames:[...c.filenames,".eslintrc",".swcrc"]})),t(Ym(),()=>({since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}))],o={estree:s,"estree-json":a};n.exports={languages:i,options:r,printers:o,parsers:u}}}),Zm=Z({"src/language-css/clean.js"(e,n){"use strict";re();var{isFrontMatterNode:t}=Ue(),s=it(),a=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma"]);function r(i,o,c){if(t(i)&&i.lang==="yaml"&&delete o.value,i.type==="css-comment"&&c.type==="css-root"&&c.nodes.length>0&&((c.nodes[0]===i||t(c.nodes[0])&&c.nodes[1]===i)&&(delete o.text,/^\*\s*@(?:format|prettier)\s*$/.test(i.text))||c.type==="css-root"&&s(c.nodes)===i))return null;if(i.type==="value-root"&&delete o.text,(i.type==="media-query"||i.type==="media-query-list"||i.type==="media-feature-expression")&&delete o.value,i.type==="css-rule"&&delete o.params,i.type==="selector-combinator"&&(o.value=o.value.replace(/\s+/g," ")),i.type==="media-feature"&&(o.value=o.value.replace(/ /g,"")),(i.type==="value-word"&&(i.isColor&&i.isHex||["initial","inherit","unset","revert"].includes(o.value.replace().toLowerCase()))||i.type==="media-feature"||i.type==="selector-root-invalid"||i.type==="selector-pseudo")&&(o.value=o.value.toLowerCase()),i.type==="css-decl"&&(o.prop=o.prop.toLowerCase()),(i.type==="css-atrule"||i.type==="css-import")&&(o.name=o.name.toLowerCase()),i.type==="value-number"&&(o.unit=o.unit.toLowerCase()),(i.type==="media-feature"||i.type==="media-keyword"||i.type==="media-type"||i.type==="media-unknown"||i.type==="media-url"||i.type==="media-value"||i.type==="selector-attribute"||i.type==="selector-string"||i.type==="selector-class"||i.type==="selector-combinator"||i.type==="value-string")&&o.value&&(o.value=u(o.value)),i.type==="selector-attribute"&&(o.attribute=o.attribute.trim(),o.namespace&&typeof o.namespace=="string"&&(o.namespace=o.namespace.trim(),o.namespace.length===0&&(o.namespace=!0)),o.value&&(o.value=o.value.trim().replace(/^["']|["']$/g,""),delete o.quoted)),(i.type==="media-value"||i.type==="media-type"||i.type==="value-number"||i.type==="selector-root-invalid"||i.type==="selector-class"||i.type==="selector-combinator"||i.type==="selector-tag")&&o.value&&(o.value=o.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(y,m,d)=>{let p=Number(m);return Number.isNaN(p)?y:p+d.toLowerCase()})),i.type==="selector-tag"){let y=i.value.toLowerCase();["from","to"].includes(y)&&(o.value=y)}if(i.type==="css-atrule"&&i.name.toLowerCase()==="supports"&&delete o.value,i.type==="selector-unknown"&&delete o.value,i.type==="value-comma_group"){let y=i.groups.findIndex(m=>m.type==="value-number"&&m.unit==="...");y!==-1&&(o.groups[y].unit="",o.groups.splice(y+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}r.ignoredProperties=a;function u(i){return i.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}n.exports=r}}),Jn=Z({"src/utils/front-matter/print.js"(e,n){"use strict";re();var{builders:{hardline:t,markAsRoot:s}}=Oe();function a(r,u){if(r.lang==="yaml"){let i=r.value.trim(),o=i?u(i,{parser:"yaml"},{stripTrailingHardline:!0}):"";return s([r.startDelimiter,t,o,o?t:"",r.endDelimiter])}}n.exports=a}}),ed=Z({"src/language-css/embed.js"(e,n){"use strict";re();var{builders:{hardline:t}}=Oe(),s=Jn();function a(r,u,i){let o=r.getValue();if(o.type==="front-matter"){let c=s(o,i);return c?[c,t]:""}}n.exports=a}}),ao=Z({"src/utils/front-matter/parse.js"(e,n){"use strict";re();var t=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function s(a){let r=a.match(t);if(!r)return{content:a};let{startDelimiter:u,language:i,value:o="",endDelimiter:c}=r.groups,y=i.trim()||"yaml";if(u==="+++"&&(y="toml"),y!=="yaml"&&u!==c)return{content:a};let[m]=r;return{frontMatter:{type:"front-matter",lang:y,value:o,startDelimiter:u,endDelimiter:c,raw:m.replace(/\n$/,"")},content:m.replace(/[^\n]/g," ")+a.slice(m.length)}}n.exports=s}}),td=Z({"src/language-css/pragma.js"(e,n){"use strict";re();var t=Ka(),s=ao();function a(u){return t.hasPragma(s(u).content)}function r(u){let{frontMatter:i,content:o}=s(u);return(i?i.raw+`
79
+ `)+i}p();function i0(e){return[D0,p0,ex,$c,Vc,o0,c0,fx,lx,Uc,m0,mx,l0,f0,qc].some(t=>t(e))}function s0(e){return[ZF,p0,tx,m0,$c,Vc,o0,c0,f0,cx,px,Uc,yx,qc,Ex].some(t=>t(e))}function a0(e){return[D0,$c,Vc,rx,ox,l0,Uc,ax,sx,hx,qc,gx].some(t=>t(e))}function Hr(e,t){let r=(e.body||e.properties).find(({type:n})=>n!=="EmptyStatement");r?ue(r,t):fe(e,t)}function jc(e,t){e.type==="BlockStatement"?Hr(e,t):ue(e,t)}function ZF({comment:e,followingNode:t}){return t&&Cx(e)?(ue(t,e),!0):!1}function $c({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:u}){if((r==null?void 0:r.type)!=="IfStatement"||!n)return!1;if(St(u,e,G)===")")return re(t,e),!0;if(t===r.consequent&&n===r.alternate){if(t.type==="BlockStatement")re(t,e);else{let s=e.type==="SingleLine"||e.loc.start.line===e.loc.end.line,a=e.loc.start.line===t.loc.start.line;s&&a?fe(t,e,us):fe(r,e)}return!0}return n.type==="BlockStatement"?(Hr(n,e),!0):n.type==="IfStatement"?(jc(n.consequent,e),!0):r.consequent===n?(ue(n,e),!0):!1}function Vc({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:u}){return(r==null?void 0:r.type)!=="WhileStatement"||!n?!1:St(u,e,G)===")"?(re(t,e),!0):n.type==="BlockStatement"?(Hr(n,e),!0):r.body===n?(ue(n,e),!0):!1}function o0({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TryStatement"&&(r==null?void 0:r.type)!=="CatchClause"||!n?!1:r.type==="CatchClause"&&t?(re(t,e),!0):n.type==="BlockStatement"?(Hr(n,e),!0):n.type==="TryStatement"?(jc(n.finalizer,e),!0):n.type==="CatchClause"?(jc(n.body,e),!0):!1}function ex({comment:e,enclosingNode:t,followingNode:r}){return Z(t)&&(r==null?void 0:r.type)==="Identifier"?(ue(t,e),!0):!1}function tx({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:u}){let i=t&&!$t(u,G(t),H(e));return(!t||!i)&&((r==null?void 0:r.type)==="ConditionalExpression"||(r==null?void 0:r.type)==="TSConditionalType")&&n?(ue(n,e),!0):!1}function rx({comment:e,precedingNode:t,enclosingNode:r}){return Me(r)&&r.shorthand&&r.key===t&&r.value.type==="AssignmentPattern"?(re(r.value.left,e),!0):!1}var nx=new Set(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function c0({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){if(nx.has(r==null?void 0:r.type)){if(O(r.decorators)&&!(n&&n.type==="Decorator"))return re(I(r.decorators),e),!0;if(r.body&&n===r.body)return Hr(r.body,e),!0;if(n){if(r.superClass&&n===r.superClass&&t&&(t===r.id||t===r.typeParameters))return re(t,e),!0;for(let u of["implements","extends","mixins"])if(r[u]&&n===r[u][0])return t&&(t===r.id||t===r.typeParameters||t===r.superClass)?re(t,e):fe(r,e,u),!0}}return!1}var ux=new Set(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition"]);function l0({comment:e,precedingNode:t,enclosingNode:r,text:n}){return r&&t&&St(n,e,G)==="("&&(r.type==="Property"||r.type==="TSDeclareMethod"||r.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&r.key===t&&St(n,t,G)!==":"?(re(t,e),!0):(t==null?void 0:t.type)==="Decorator"&&ux.has(r==null?void 0:r.type)?(re(t,e),!0):!1}var ix=new Set(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function sx({comment:e,precedingNode:t,enclosingNode:r,text:n}){return St(n,e,G)!=="("?!1:t&&ix.has(r==null?void 0:r.type)?(re(t,e),!0):!1}function ax({comment:e,enclosingNode:t,text:r}){if((t==null?void 0:t.type)!=="ArrowFunctionExpression")return!1;let n=tr(r,e,G);return n!==!1&&r.slice(n,n+2)==="=>"?(fe(t,e),!0):!1}function ox({comment:e,enclosingNode:t,text:r}){return St(r,e,G)!==")"?!1:t&&(d0(t)&&De(t).length===0||Au(t)&&gt(t).length===0)?(fe(t,e),!0):((t==null?void 0:t.type)==="MethodDefinition"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&De(t.value).length===0?(fe(t.value,e),!0):!1}function p0({comment:e,precedingNode:t,enclosingNode:r,followingNode:n,text:u}){if((t==null?void 0:t.type)==="FunctionTypeParam"&&(r==null?void 0:r.type)==="FunctionTypeAnnotation"&&(n==null?void 0:n.type)!=="FunctionTypeParam")return re(t,e),!0;if(((t==null?void 0:t.type)==="Identifier"||(t==null?void 0:t.type)==="AssignmentPattern")&&r&&d0(r)&&St(u,e,G)===")")return re(t,e),!0;if((r==null?void 0:r.type)==="FunctionDeclaration"&&(n==null?void 0:n.type)==="BlockStatement"){let i=(()=>{let s=De(r);if(s.length>0)return dn(u,G(I(s)));let a=dn(u,G(r.id));return a!==!1&&dn(u,a+1)})();if(H(e)>i)return Hr(n,e),!0}return!1}function f0({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="LabeledStatement"?(ue(t,e),!0):!1}function qc({comment:e,enclosingNode:t}){return((t==null?void 0:t.type)==="ContinueStatement"||(t==null?void 0:t.type)==="BreakStatement")&&!t.label?(re(t,e),!0):!1}function cx({comment:e,precedingNode:t,enclosingNode:r}){return U(r)&&t&&r.callee===t&&r.arguments.length>0?(ue(r.arguments[0],e),!0):!1}function lx({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)==="UnionTypeAnnotation"||(r==null?void 0:r.type)==="TSUnionType"?(Cu(e)&&(n.prettierIgnore=!0,e.unignore=!0),t?(re(t,e),!0):!1):(((n==null?void 0:n.type)==="UnionTypeAnnotation"||(n==null?void 0:n.type)==="TSUnionType")&&Cu(e)&&(n.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function px({comment:e,enclosingNode:t}){return Me(t)?(ue(t,e),!0):!1}function Uc({comment:e,enclosingNode:t,followingNode:r,ast:n,isLastComment:u}){return n&&n.body&&n.body.length===0?(u?fe(n,e):ue(n,e),!0):(t==null?void 0:t.type)==="Program"&&(t==null?void 0:t.body.length)===0&&!O(t.directives)?(u?fe(t,e):ue(t,e),!0):(r==null?void 0:r.type)==="Program"&&(r==null?void 0:r.body.length)===0&&(t==null?void 0:t.type)==="ModuleExpression"?(fe(r,e),!0):!1}function fx({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="ForInStatement"||(t==null?void 0:t.type)==="ForOfStatement"?(ue(t,e),!0):!1}function m0({comment:e,precedingNode:t,enclosingNode:r,text:n}){if((r==null?void 0:r.type)==="ImportSpecifier"||(r==null?void 0:r.type)==="ExportSpecifier")return ue(r,e),!0;let u=(t==null?void 0:t.type)==="ImportSpecifier"&&(r==null?void 0:r.type)==="ImportDeclaration",i=(t==null?void 0:t.type)==="ExportSpecifier"&&(r==null?void 0:r.type)==="ExportNamedDeclaration";return(u||i)&&ee(n,G(e))?(re(t,e),!0):!1}function mx({comment:e,enclosingNode:t}){return(t==null?void 0:t.type)==="AssignmentPattern"?(ue(t,e),!0):!1}var Dx=new Set(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),dx=new Set(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function yx({comment:e,enclosingNode:t,followingNode:r}){return Dx.has(t==null?void 0:t.type)&&r&&(dx.has(r.type)||Te(e))?(ue(r,e),!0):!1}function gx({comment:e,enclosingNode:t,followingNode:r,text:n}){return!r&&((t==null?void 0:t.type)==="TSMethodSignature"||(t==null?void 0:t.type)==="TSDeclareFunction"||(t==null?void 0:t.type)==="TSAbstractMethodDefinition")&&St(n,e,G)===";"?(re(t,e),!0):!1}function D0({comment:e,enclosingNode:t,followingNode:r}){if(Cu(e)&&(t==null?void 0:t.type)==="TSMappedType"&&(r==null?void 0:r.type)==="TSTypeParameter"&&r.constraint)return t.prettierIgnore=!0,e.unignore=!0,!0}function hx({comment:e,precedingNode:t,enclosingNode:r,followingNode:n}){return(r==null?void 0:r.type)!=="TSMappedType"?!1:(n==null?void 0:n.type)==="TSTypeParameter"&&n.name?(ue(n.name,e),!0):(t==null?void 0:t.type)==="TSTypeParameter"&&t.constraint?(re(t.constraint,e),!0):!1}function Ex({comment:e,enclosingNode:t,followingNode:r}){return!t||t.type!=="SwitchCase"||t.test?!1:(r.type==="BlockStatement"&&or(e)?Hr(r,e):fe(t,e),!0)}function d0(e){return e.type==="ArrowFunctionExpression"||e.type==="FunctionExpression"||e.type==="FunctionDeclaration"||e.type==="ObjectMethod"||e.type==="ClassMethod"||e.type==="TSDeclareFunction"||e.type==="TSCallSignatureDeclaration"||e.type==="TSConstructSignatureDeclaration"||e.type==="TSMethodSignature"||e.type==="TSConstructorType"||e.type==="TSFunctionType"||e.type==="TSDeclareMethod"}function y0(e,t){if((t.parser==="typescript"||t.parser==="flow"||t.parser==="acorn"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree")&&e.type==="MethodDefinition"&&e.value&&e.value.type==="FunctionExpression"&&De(e.value).length===0&&!e.value.returnType&&!O(e.value.typeParameters)&&e.value.body)return[...e.decorators||[],e.key,e.value.body]}function Cx(e){return Te(e)&&e.value[0]==="*"&&/@type\b/.test(e.value)}function ps(e){let t=e.getValue(),r=e.getParentNode(),n=u=>gu(Ye(u,_.Leading))||gu(Ye(u,_.Trailing));return(t&&(ae(t)||Tn(t)||U(r)&&n(t))||r&&(r.type==="JSXSpreadAttribute"||r.type==="JSXSpreadChild"||r.type==="UnionTypeAnnotation"||r.type==="TSUnionType"||(r.type==="ClassDeclaration"||r.type==="ClassExpression")&&r.superClass===t))&&(!ns(e)||r.type==="UnionTypeAnnotation"||r.type==="TSUnionType")}p();function Wc(e,t){let r=e.getParentNode();if(!r)return!1;let n=e.getName(),u=e.getNode();if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&Tx(u)&&Fu(e))return!0;if(Fx(u))return!1;if(t.parser!=="flow"&&Tn(e.getValue()))return!0;if(u.type==="Identifier")return!!(u.extra&&u.extra.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(u.name)||n==="left"&&u.name==="async"&&r.type==="ForOfStatement"&&!r.await);switch(r.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":{if(n==="superClass"&&(u.type==="ArrowFunctionExpression"||u.type==="AssignmentExpression"||u.type==="AwaitExpression"||u.type==="BinaryExpression"||u.type==="ConditionalExpression"||u.type==="LogicalExpression"||u.type==="NewExpression"||u.type==="ObjectExpression"||u.type==="SequenceExpression"||u.type==="TaggedTemplateExpression"||u.type==="UnaryExpression"||u.type==="UpdateExpression"||u.type==="YieldExpression"||u.type==="TSNonNullExpression"))return!0;break}case"ExportDefaultDeclaration":return g0(e,t)||u.type==="SequenceExpression";case"Decorator":{if(n==="expression"){let i=!1,s=!1,a=u;for(;a;)switch(a.type){case"MemberExpression":s=!0,a=a.object;break;case"CallExpression":if(s||i)return t.parser!=="typescript";i=!0,a=a.callee;break;case"Identifier":return!1;case"TaggedTemplateExpression":return t.parser!=="typescript";default:return!0}return!0}break}case"ExpressionStatement":{if(ut(u,!0))return!0;break}case"ArrowFunctionExpression":{if(n==="body"&&u.type!=="SequenceExpression"&&ut(u,!1))return!0;break}}switch(u.type){case"UpdateExpression":if(r.type==="UnaryExpression")return u.prefix&&(u.operator==="++"&&r.operator==="+"||u.operator==="--"&&r.operator==="-");case"UnaryExpression":switch(r.type){case"UnaryExpression":return u.operator===r.operator&&(u.operator==="+"||u.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"BinaryExpression":return n==="left"&&r.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":{if(r.type==="UpdateExpression"||u.operator==="in"&&xx(e))return!0;if(u.operator==="|>"&&u.extra&&u.extra.parenthesized){let i=e.getParentNode(1);if(i.type==="BinaryExpression"&&i.operator==="|>")return!0}}case"TSTypeAssertion":case"TSAsExpression":case"LogicalExpression":switch(r.type){case"TSAsExpression":return u.type!=="TSAsExpression";case"ConditionalExpression":return u.type==="TSAsExpression";case"CallExpression":case"NewExpression":case"OptionalCallExpression":return n==="callee";case"ClassExpression":case"ClassDeclaration":return n==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"SpreadProperty":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"AssignmentExpression":case"AssignmentPattern":return n==="left"&&(u.type==="TSTypeAssertion"||u.type==="TSAsExpression");case"LogicalExpression":if(u.type==="LogicalExpression")return r.operator!==u.operator;case"BinaryExpression":{let{operator:i,type:s}=u;if(!i&&s!=="TSTypeAssertion")return!0;let a=yu(i),o=r.operator,c=yu(o);return c>a||n==="right"&&c===a||c===a&&!hu(o,i)?!0:c<a&&i==="%"?o==="+"||o==="-":!!gD(o)}default:return!1}case"SequenceExpression":switch(r.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return n!=="expression";case"ArrowFunctionExpression":return n!=="body";default:return!0}case"YieldExpression":if(r.type==="UnaryExpression"||r.type==="AwaitExpression"||r.type==="TSAsExpression"||r.type==="TSNonNullExpression")return!0;case"AwaitExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"SpreadProperty":case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"BinaryExpression":return!(!u.argument&&r.operator==="|>");default:return!1}case"TSConditionalType":if(n==="extendsType"&&r.type==="TSConditionalType")return!0;case"TSFunctionType":case"TSConstructorType":if(n==="checkType"&&r.type==="TSConditionalType")return!0;case"TSUnionType":case"TSIntersectionType":if((r.type==="TSUnionType"||r.type==="TSIntersectionType")&&r.types.length>1&&(!u.types||u.types.length>1))return!0;case"TSInferType":if(u.type==="TSInferType"&&r.type==="TSRestType")return!1;case"TSTypeOperator":return r.type==="TSArrayType"||r.type==="TSOptionalType"||r.type==="TSRestType"||n==="objectType"&&r.type==="TSIndexedAccessType"||r.type==="TSTypeOperator"||r.type==="TSTypeAnnotation"&&e.getParentNode(1).type.startsWith("TSJSDoc");case"ArrayTypeAnnotation":return r.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return r.type==="ArrayTypeAnnotation"||r.type==="NullableTypeAnnotation"||r.type==="IntersectionTypeAnnotation"||r.type==="UnionTypeAnnotation"||n==="objectType"&&(r.type==="IndexedAccessType"||r.type==="OptionalIndexedAccessType");case"NullableTypeAnnotation":return r.type==="ArrayTypeAnnotation"||n==="objectType"&&(r.type==="IndexedAccessType"||r.type==="OptionalIndexedAccessType");case"FunctionTypeAnnotation":{let i=r.type==="NullableTypeAnnotation"?e.getParentNode(1):r;return i.type==="UnionTypeAnnotation"||i.type==="IntersectionTypeAnnotation"||i.type==="ArrayTypeAnnotation"||n==="objectType"&&(i.type==="IndexedAccessType"||i.type==="OptionalIndexedAccessType")||i.type==="NullableTypeAnnotation"||r.type==="FunctionTypeParam"&&r.name===null&&De(u).some(s=>s.typeAnnotation&&s.typeAnnotation.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return n==="objectType"&&r.type==="IndexedAccessType";case"TypeofTypeAnnotation":return n==="objectType"&&(r.type==="IndexedAccessType"||r.type==="OptionalIndexedAccessType");case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof u.value=="string"&&r.type==="ExpressionStatement"&&!r.directive){let i=e.getParentNode(1);return i.type==="Program"||i.type==="BlockStatement"}return n==="object"&&r.type==="MemberExpression"&&typeof u.value=="number";case"AssignmentExpression":{let i=e.getParentNode(1);return n==="body"&&r.type==="ArrowFunctionExpression"?!0:n==="key"&&(r.type==="ClassProperty"||r.type==="PropertyDefinition")&&r.computed||(n==="init"||n==="update")&&r.type==="ForStatement"?!1:r.type==="ExpressionStatement"?u.left.type==="ObjectPattern":!(n==="key"&&r.type==="TSPropertySignature"||r.type==="AssignmentExpression"||r.type==="SequenceExpression"&&i&&i.type==="ForStatement"&&(i.init===r||i.update===r)||n==="value"&&r.type==="Property"&&i&&i.type==="ObjectPattern"&&i.properties.includes(r)||r.type==="NGChainedExpression")}case"ConditionalExpression":switch(r.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"ConditionalExpression":return n==="test";case"MemberExpression":case"OptionalMemberExpression":return n==="object";default:return!1}case"FunctionExpression":switch(r.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(r.type){case"BinaryExpression":return r.operator!=="|>"||u.extra&&u.extra.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return n==="callee";case"MemberExpression":case"OptionalMemberExpression":return n==="object";case"TSAsExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":return!0;case"ConditionalExpression":return n==="test";default:return!1}case"ClassExpression":if(O(u.decorators))return!0;switch(r.type){case"NewExpression":return n==="callee";default:return!1}case"OptionalMemberExpression":case"OptionalCallExpression":{let i=e.getParentNode(1);if(n==="object"&&r.type==="MemberExpression"||n==="callee"&&(r.type==="CallExpression"||r.type==="NewExpression")||r.type==="TSNonNullExpression"&&i.type==="MemberExpression"&&i.object===r)return!0}case"CallExpression":case"MemberExpression":case"TaggedTemplateExpression":case"TSNonNullExpression":if(n==="callee"&&(r.type==="BindExpression"||r.type==="NewExpression")){let i=u;for(;i;)switch(i.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":i=i.object;break;case"TaggedTemplateExpression":i=i.tag;break;case"TSNonNullExpression":i=i.expression;break;default:return!1}}return!1;case"BindExpression":return n==="callee"&&(r.type==="BindExpression"||r.type==="NewExpression")||n==="object"&&Z(r);case"NGPipeExpression":return!(r.type==="NGRoot"||r.type==="NGMicrosyntaxExpression"||r.type==="ObjectProperty"&&!(u.extra&&u.extra.parenthesized)||r.type==="ArrayExpression"||U(r)&&r.arguments[n]===u||n==="right"&&r.type==="NGPipeExpression"||n==="property"&&r.type==="MemberExpression"||r.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return n==="callee"||n==="left"&&r.type==="BinaryExpression"&&r.operator==="<"||r.type!=="ArrayExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="AssignmentExpression"&&r.type!=="AssignmentPattern"&&r.type!=="BinaryExpression"&&r.type!=="NewExpression"&&r.type!=="ConditionalExpression"&&r.type!=="ExpressionStatement"&&r.type!=="JsExpressionRoot"&&r.type!=="JSXAttribute"&&r.type!=="JSXElement"&&r.type!=="JSXExpressionContainer"&&r.type!=="JSXFragment"&&r.type!=="LogicalExpression"&&!U(r)&&!Me(r)&&r.type!=="ReturnStatement"&&r.type!=="ThrowStatement"&&r.type!=="TypeCastExpression"&&r.type!=="VariableDeclarator"&&r.type!=="YieldExpression";case"TypeAnnotation":return n==="returnType"&&r.type==="ArrowFunctionExpression"&&Sx(u)}return!1}function Fx(e){return e.type==="BlockStatement"||e.type==="BreakStatement"||e.type==="ClassBody"||e.type==="ClassDeclaration"||e.type==="ClassMethod"||e.type==="ClassProperty"||e.type==="PropertyDefinition"||e.type==="ClassPrivateProperty"||e.type==="ContinueStatement"||e.type==="DebuggerStatement"||e.type==="DeclareClass"||e.type==="DeclareExportAllDeclaration"||e.type==="DeclareExportDeclaration"||e.type==="DeclareFunction"||e.type==="DeclareInterface"||e.type==="DeclareModule"||e.type==="DeclareModuleExports"||e.type==="DeclareVariable"||e.type==="DoWhileStatement"||e.type==="EnumDeclaration"||e.type==="ExportAllDeclaration"||e.type==="ExportDefaultDeclaration"||e.type==="ExportNamedDeclaration"||e.type==="ExpressionStatement"||e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="ForStatement"||e.type==="FunctionDeclaration"||e.type==="IfStatement"||e.type==="ImportDeclaration"||e.type==="InterfaceDeclaration"||e.type==="LabeledStatement"||e.type==="MethodDefinition"||e.type==="ReturnStatement"||e.type==="SwitchStatement"||e.type==="ThrowStatement"||e.type==="TryStatement"||e.type==="TSDeclareFunction"||e.type==="TSEnumDeclaration"||e.type==="TSImportEqualsDeclaration"||e.type==="TSInterfaceDeclaration"||e.type==="TSModuleDeclaration"||e.type==="TSNamespaceExportDeclaration"||e.type==="TypeAlias"||e.type==="VariableDeclaration"||e.type==="WhileStatement"||e.type==="WithStatement"}function xx(e){let t=0,r=e.getValue();for(;r;){let n=e.getParentNode(t++);if(n&&n.type==="ForStatement"&&n.init===r)return!0;r=n}return!1}function Sx(e){return Ur(e,t=>t.type==="ObjectTypeAnnotation"&&Ur(t,r=>r.type==="FunctionTypeAnnotation"||void 0)||void 0)}function Tx(e){switch(e.type){case"ObjectExpression":return!0;default:return!1}}function Fu(e){let t=e.getValue(),r=e.getParentNode(),n=e.getName();switch(r.type){case"NGPipeExpression":if(typeof n=="number"&&r.arguments[n]===t&&r.arguments.length-1===n)return e.callParent(Fu);break;case"ObjectProperty":if(n==="value"){let u=e.getParentNode(1);return I(u.properties)===r}break;case"BinaryExpression":case"LogicalExpression":if(n==="right")return e.callParent(Fu);break;case"ConditionalExpression":if(n==="alternate")return e.callParent(Fu);break;case"UnaryExpression":if(r.prefix)return e.callParent(Fu);break}return!1}function g0(e,t){let r=e.getValue(),n=e.getParentNode();return r.type==="FunctionExpression"||r.type==="ClassExpression"?n.type==="ExportDefaultDeclaration"||!Wc(e,t):!bn(r)||n.type!=="ExportDefaultDeclaration"&&Wc(e,t)?!1:e.call(u=>g0(u,t),...Ji(e,r))}var ht=Wc;p();function bx(e,t){switch(t.parser){case"json":case"json5":case"json-stringify":case"__js_expression":case"__vue_expression":case"__vue_ts_expression":return{...e,type:t.parser.startsWith("__")?"JsExpressionRoot":"JsonRoot",node:e,comments:[],rootMarker:t.rootMarker};default:return e}}var fs=bx;p();function h0(e,t,r){let n=e.getValue();if(t.__onHtmlBindingRoot&&e.getName()===null&&t.__onHtmlBindingRoot(n,t),n.type==="File"){if(t.__isVueForBindingLeft)return e.call(u=>{let i=B([",",x],u.map(r,"params")),{params:s}=u.getValue();return s.length===1?i:["(",F([A,h(i)]),A,")"]},"program","body",0);if(t.__isVueBindings)return e.call(u=>B([",",x],u.map(r,"params")),"program","body",0)}}function Gc(e){switch(e.type){case"MemberExpression":switch(e.property.type){case"Identifier":case"NumericLiteral":case"StringLiteral":return Gc(e.object)}return!1;case"Identifier":return!0;default:return!1}}p();p();var Bx=0;function ms(e,t,r){let n=e.getValue(),u=e.getParentNode(),i=e.getParentNode(1),s=n!==u.body&&(u.type==="IfStatement"||u.type==="WhileStatement"||u.type==="SwitchStatement"||u.type==="DoWhileStatement"),a=kc(t)&&n.operator==="|>",o=Jc(e,r,t,!1,s);if(s)return o;if(a)return h(o);if(U(u)&&u.callee===n||u.type==="UnaryExpression"||Z(u)&&!u.computed)return h([F([A,...o]),A]);let c=u.type==="ReturnStatement"||u.type==="ThrowStatement"||u.type==="JSXExpressionContainer"&&i.type==="JSXAttribute"||n.operator!=="|"&&u.type==="JsExpressionRoot"||n.type!=="NGPipeExpression"&&(u.type==="NGRoot"&&t.parser==="__ng_binding"||u.type==="NGMicrosyntaxExpression"&&i.type==="NGMicrosyntax"&&i.body.length===1)||n===u.body&&u.type==="ArrowFunctionExpression"||n!==u.body&&u.type==="ForStatement"||u.type==="ConditionalExpression"&&i.type!=="ReturnStatement"&&i.type!=="ThrowStatement"&&!U(i)||u.type==="TemplateLiteral",l=u.type==="AssignmentExpression"||u.type==="VariableDeclarator"||u.type==="ClassProperty"||u.type==="PropertyDefinition"||u.type==="TSAbstractPropertyDefinition"||u.type==="ClassPrivateProperty"||Me(u),f=yt(n.left)&&hu(n.operator,n.left.operator);if(c||wn(n)&&!f||!wn(n)&&l)return h(o);if(o.length===0)return"";let m=ae(n.right),D=o.findIndex(S=>typeof S!="string"&&!Array.isArray(S)&&S.type===le),y=o.slice(0,D===-1?1:D+1),E=o.slice(y.length,m?-1:void 0),C=Symbol("logicalChain-"+ ++Bx),T=h([...y,F(E)],{id:C});if(!m)return T;let b=I(o);return h([T,Qt(b,{groupId:C})])}function Jc(e,t,r,n,u){let i=e.getValue();if(!yt(i))return[h(t())];let s=[];hu(i.operator,i.left.operator)?s=e.call(E=>Jc(E,t,r,!0,u),"left"):s.push(h(t("left")));let a=wn(i),o=(i.operator==="|>"||i.type==="NGPipeExpression"||i.operator==="|"&&r.parser==="__vue_expression")&&!Tt(r.originalText,i.right),c=i.type==="NGPipeExpression"?"|":i.operator,l=i.type==="NGPipeExpression"&&i.arguments.length>0?h(F([x,": ",B([x,": "],e.map(t,"arguments").map(E=>ne(2,h(E))))])):"",f;if(a)f=[c," ",t("right"),l];else{let C=kc(r)&&c==="|>"?e.call(T=>Jc(T,t,r,!0,u),"right"):t("right");f=[o?x:"",c,o?" ":x,C,l]}let m=e.getParentNode(),D=k(i.left,_.Trailing|_.Line),y=D||!(u&&i.type==="LogicalExpression")&&m.type!==i.type&&i.left.type!==i.type&&i.right.type!==i.type;if(s.push(o?"":" ",y?h(f,{shouldBreak:D}):f),n&&k(i)){let E=Rt(Se(e,s,r));return Array.isArray(E)||E.type===ge?Ot(E):[E]}return s}function wn(e){return e.type!=="LogicalExpression"?!1:!!(e.right.type==="ObjectExpression"&&e.right.properties.length>0||e.right.type==="ArrayExpression"&&e.right.elements.length>0||ae(e.right))}function C0(e,t,r){let n=e.getValue();if(!!n.type.startsWith("NG"))switch(n.type){case"NGRoot":return[r("node"),k(n.node)?" //"+Ye(n.node)[0].value.trimEnd():""];case"NGPipeExpression":return ms(e,t,r);case"NGChainedExpression":return h(B([";",x],e.map(u=>vx(u)?r():["(",r(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGQuotedExpression":return[n.prefix,": ",n.value.trim()];case"NGMicrosyntax":return e.map((u,i)=>[i===0?"":E0(u.getValue(),i,n)?" ":[";",x],r()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/i.test(n.name)?n.name:JSON.stringify(n.name);case"NGMicrosyntaxExpression":return[r("expression"),n.alias===null?"":[" as ",r("alias")]];case"NGMicrosyntaxKeyedExpression":{let u=e.getName(),i=e.getParentNode(),s=E0(n,u,i)||(u===1&&(n.key.name==="then"||n.key.name==="else")||u===2&&n.key.name==="else"&&i.body[u-1].type==="NGMicrosyntaxKeyedExpression"&&i.body[u-1].key.name==="then")&&i.body[0].type==="NGMicrosyntaxExpression";return[r("key"),s?" ":": ",r("expression")]}case"NGMicrosyntaxLet":return["let ",r("key"),n.value===null?"":[" = ",r("value")]];case"NGMicrosyntaxAs":return[r("key")," as ",r("alias")];default:throw new Error(`Unknown Angular node type: ${JSON.stringify(n.type)}.`)}}function E0(e,t,r){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1&&r.body[0].type==="NGMicrosyntaxLet"&&r.body[0].value===null}function vx(e){return Ur(e.getValue(),t=>{switch(t.type){case void 0:return!1;case"CallExpression":case"OptionalCallExpression":case"AssignmentExpression":return!0}})}p();var Hc=e=>e===""||e===x||e===d||e===A;function wx(e,t,r){let n=e.getValue();if(n.type==="JSXElement"&&Ux(n))return[r("openingElement"),r("closingElement")];let u=n.type==="JSXElement"?r("openingElement"):r("openingFragment"),i=n.type==="JSXElement"?r("closingElement"):r("closingFragment");if(n.children.length===1&&n.children[0].type==="JSXExpressionContainer"&&(n.children[0].expression.type==="TemplateLiteral"||n.children[0].expression.type==="TaggedTemplateExpression"))return[u,...e.map(r,"children"),i];n.children=n.children.map(S=>Wx(S)?{type:"JSXText",value:" ",raw:" "}:S);let s=n.children.some(ae),a=n.children.filter(S=>S.type==="JSXExpressionContainer").length>1,o=n.type==="JSXElement"&&n.openingElement.attributes.length>1,c=pe(u)||s||o||a,l=e.getParentNode().rootMarker==="mdx",f=t.singleQuote?"{' '}":'{" "}',m=l?" ":N([f,A]," "),D=n.openingElement&&n.openingElement.name&&n.openingElement.name.name==="fbt",y=Px(e,t,r,m,D),E=n.children.some(S=>xu(S));for(let S=y.length-2;S>=0;S--){let v=y[S]===""&&y[S+1]==="",w=y[S]===d&&y[S+1]===""&&y[S+2]===d,j=(y[S]===A||y[S]===d)&&y[S+1]===""&&y[S+2]===m,q=y[S]===m&&y[S+1]===""&&(y[S+2]===A||y[S+2]===d),K=y[S]===m&&y[S+1]===""&&y[S+2]===m,X=y[S]===A&&y[S+1]===""&&y[S+2]===d||y[S]===d&&y[S+1]===""&&y[S+2]===A;w&&E||v||j||K||X?y.splice(S,2):q&&y.splice(S+1,2)}for(;y.length>0&&Hc(I(y));)y.pop();for(;y.length>1&&Hc(y[0])&&Hc(y[1]);)y.shift(),y.shift();let C=[];for(let[S,v]of y.entries()){if(v===m){if(S===1&&y[S-1]===""){if(y.length===2){C.push(f);continue}C.push([f,d]);continue}else if(S===y.length-1){C.push(f);continue}else if(y[S-1]===""&&y[S-2]===d){C.push(f);continue}}C.push(v),pe(v)&&(c=!0)}let T=E?se(C):h(C,{shouldBreak:!0});if(l)return T;let b=h([u,F([d,T]),d,i]);return c?b:ft([h([u,...y,i]),b])}function Px(e,t,r,n,u){let i=[];return e.each((s,a,o)=>{let c=s.getValue();if(cr(c)){let l=he(c);if(xu(c)){let f=l.split(Ds);if(f[0]===""){if(i.push(""),f.shift(),/\n/.test(f[0])){let D=o[a+1];i.push(F0(u,f[1],c,D))}else i.push(n);f.shift()}let m;if(I(f)===""&&(f.pop(),m=f.pop()),f.length===0)return;for(let[D,y]of f.entries())D%2===1?i.push(x):i.push(y);if(m!==void 0)if(/\n/.test(m)){let D=o[a+1];i.push(F0(u,I(i),c,D))}else i.push(n);else{let D=o[a+1];i.push(A0(u,I(i),c,D))}}else/\n/.test(l)?l.match(/\n/g).length>1&&i.push("",d):i.push("",n)}else{let l=r();i.push(l);let f=o[a+1];if(f&&xu(f)){let D=qx(he(f)).split(Ds)[0];i.push(A0(u,D,c,f))}else i.push(d)}},"children"),i}function A0(e,t,r,n){return e?"":r.type==="JSXElement"&&!r.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?t.length===1?A:d:A}function F0(e,t,r,n){return e?d:t.length===1?r.type==="JSXElement"&&!r.closingElement||n&&n.type==="JSXElement"&&!n.closingElement?d:A:d}function Ix(e,t,r){let n=e.getParentNode();if(!n||{ArrayExpression:!0,JSXAttribute:!0,JSXElement:!0,JSXExpressionContainer:!0,JSXFragment:!0,ExpressionStatement:!0,CallExpression:!0,OptionalCallExpression:!0,ConditionalExpression:!0,JsExpressionRoot:!0}[n.type])return t;let i=e.match(void 0,a=>a.type==="ArrowFunctionExpression",U,a=>a.type==="JSXExpressionContainer"),s=ht(e,r);return h([s?"":N("("),F([A,t]),A,s?"":N(")")],{shouldBreak:i})}function kx(e,t,r){let n=e.getValue(),u=[];if(u.push(r("name")),n.value){let i;if(we(n.value)){let a=he(n.value).slice(1,-1).replace(/&apos;/g,"'").replace(/&quot;/g,'"'),{escaped:o,quote:c,regex:l}=Or(a,t.jsxSingleQuote?"'":'"');a=a.replace(l,o),i=[c,a,c]}else i=r("value");u.push("=",i)}return u}function Lx(e,t,r){let n=e.getValue(),u=(i,s)=>i.type==="JSXEmptyExpression"||!k(i)&&(i.type==="ArrayExpression"||i.type==="ObjectExpression"||i.type==="ArrowFunctionExpression"||i.type==="AwaitExpression"&&(u(i.argument,i)||i.argument.type==="JSXElement")||U(i)||i.type==="FunctionExpression"||i.type==="TemplateLiteral"||i.type==="TaggedTemplateExpression"||i.type==="DoExpression"||ae(s)&&(i.type==="ConditionalExpression"||yt(i)));return u(n.expression,e.getParentNode(0))?h(["{",r("expression"),Ft,"}"]):h(["{",F([A,r("expression")]),A,Ft,"}"])}function Nx(e,t,r){let n=e.getValue(),u=n.name&&k(n.name)||n.typeParameters&&k(n.typeParameters);if(n.selfClosing&&n.attributes.length===0&&!u)return["<",r("name"),r("typeParameters")," />"];if(n.attributes&&n.attributes.length===1&&n.attributes[0].value&&we(n.attributes[0].value)&&!n.attributes[0].value.value.includes(`
80
+ `)&&!u&&!k(n.attributes[0]))return h(["<",r("name"),r("typeParameters")," ",...e.map(r,"attributes"),n.selfClosing?" />":">"]);let i=n.attributes&&n.attributes.some(a=>a.value&&we(a.value)&&a.value.value.includes(`
81
+ `)),s=t.singleAttributePerLine&&n.attributes.length>1?d:x;return h(["<",r("name"),r("typeParameters"),F(e.map(()=>[s,r()],"attributes")),..._x(n,t,u)],{shouldBreak:i})}function _x(e,t,r){return e.selfClosing?[x,"/>"]:Ox(e,t,r)?[">"]:[A,">"]}function Ox(e,t,r){let n=e.attributes.length>0&&k(I(e.attributes),_.Trailing);return e.attributes.length===0&&!r||(t.bracketSameLine||t.jsxBracketSameLine)&&(!r||e.attributes.length>0)&&!n}function Rx(e,t,r){let n=e.getValue(),u=[];u.push("</");let i=r("name");return k(n.name,_.Leading|_.Line)?u.push(F([d,i]),d):k(n.name,_.Leading|_.Block)?u.push(" ",i):u.push(i),u.push(">"),u}function Mx(e,t){let r=e.getValue(),n=k(r),u=k(r,_.Line),i=r.type==="JSXOpeningFragment";return[i?"<":"</",F([u?d:n&&!i?" ":"",Y(e,t,!0)]),u?d:"",">"]}function jx(e,t,r){let n=Se(e,wx(e,t,r),t);return Ix(e,n,t)}function $x(e,t){let r=e.getValue(),n=k(r,_.Line);return[Y(e,t,!n),n?d:""]}function x0(e,t,r){let n=e.getValue();return["{",e.call(u=>{let i=["...",r()],s=u.getValue();return!k(s)||!ps(u)?i:[F([A,Se(u,i,t)]),A]},n.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function S0(e,t,r){let n=e.getValue();if(!!n.type.startsWith("JSX"))switch(n.type){case"JSXAttribute":return kx(e,t,r);case"JSXIdentifier":return String(n.name);case"JSXNamespacedName":return B(":",[r("namespace"),r("name")]);case"JSXMemberExpression":return B(".",[r("object"),r("property")]);case"JSXSpreadAttribute":return x0(e,t,r);case"JSXSpreadChild":return x0(e,t,r);case"JSXExpressionContainer":return Lx(e,t,r);case"JSXFragment":case"JSXElement":return jx(e,t,r);case"JSXOpeningElement":return Nx(e,t,r);case"JSXClosingElement":return Rx(e,t,r);case"JSXOpeningFragment":case"JSXClosingFragment":return Mx(e,t);case"JSXEmptyExpression":return $x(e,t);case"JSXText":throw new Error("JSXTest should be handled by JSXElement");default:throw new Error(`Unknown JSX node type: ${JSON.stringify(n.type)}.`)}}var T0=`
82
+ \r `,Ds=new RegExp("(["+T0+"]+)"),Vx=new RegExp("[^"+T0+"]"),qx=e=>e.replace(new RegExp("(?:^"+Ds.source+"|"+Ds.source+"$)"),"");function Ux(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return cr(t)&&!xu(t)}function xu(e){return cr(e)&&(Vx.test(he(e))||!/\n/.test(he(e)))}function Wx(e){return e.type==="JSXExpressionContainer"&&cr(e.expression)&&e.expression.value===" "&&!k(e.expression)}function b0(e){let t=e.getValue(),r=e.getParentNode();if(!r||!t||!ae(t)||!ae(r))return!1;let n=r.children.indexOf(t),u=null;for(let i=n;i>0;i--){let s=r.children[i-1];if(!(s.type==="JSXText"&&!xu(s))){u=s;break}}return u&&u.type==="JSXExpressionContainer"&&u.expression.type==="JSXEmptyExpression"&&rs(u.expression)}p();p();p();p();p();p();p();p();p();p();function oe(e){let t=e.getValue();return!t.optional||t.type==="Identifier"&&t===e.getParentNode().key?"":t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression"&&t.computed?"?.":"?"}function ds(e){return e.getValue().definite||e.match(void 0,(t,r)=>r==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}function bt(e,t,r){let n=e.getValue();return n.typeArguments?r("typeArguments"):n.typeParameters?r("typeParameters"):""}function st(e,t,r){let n=e.getValue();if(!n.typeAnnotation)return"";let u=e.getParentNode(),i=u.type==="DeclareFunction"&&u.id===n;return Qi(t.originalText,n.typeAnnotation)?[" /*: ",r("typeAnnotation")," */"]:[i?"":": ",r("typeAnnotation")]}function ys(e,t,r){return["::",r("callee")]}function Pn(e,t,r){let n=e.getValue();return O(n.modifiers)?[B(" ",e.map(r,"modifiers"))," "]:""}function lr(e,t,r){return e.type==="EmptyStatement"?";":e.type==="BlockStatement"||r?[" ",t]:F([x,t])}function gs(e,t,r){return["...",r("argument"),st(e,t,r)]}function B0(e,t,r){let n=e.getValue(),u=[],i=n.type==="TupleExpression"?"#[":"[",s="]";if(n.elements.length===0)k(n,_.Dangling)?u.push(h([i,Y(e,t),A,s])):u.push(i,s);else{let a=I(n.elements),o=!(a&&a.type==="RestElement"),c=a===null,l=Symbol("array"),f=!t.__inJestEach&&n.elements.length>1&&n.elements.every((y,E,C)=>{let T=y&&y.type;if(T!=="ArrayExpression"&&T!=="ObjectExpression")return!1;let b=C[E+1];if(b&&T!==b.type)return!1;let S=T==="ArrayExpression"?"elements":"properties";return y[S]&&y[S].length>1}),m=Yc(n,t),D=o?c?",":me(t)?m?N(",","",{groupId:l}):N(","):"":"";u.push(h([i,F([A,m?Gx(e,t,r,D):[Yr(e,t,"elements",r),D],Y(e,t,!0)]),A,s],{shouldBreak:f,id:l}))}return u.push(oe(e),st(e,t,r)),u}function Yc(e,t){return e.elements.length>1&&e.elements.every(r=>r&&(it(r)||Yi(r)&&!k(r.argument))&&!k(r,_.Trailing|_.Line,n=>!ee(t.originalText,H(n),{backwards:!0})))}function Yr(e,t,r,n){let u=[],i=[];return e.each(s=>{u.push(i,h(n())),i=[",",x],s.getValue()&&be(s.getValue(),t)&&i.push(A)},r),u}function Gx(e,t,r,n){let u=[];return e.each((i,s,a)=>{let o=s===a.length-1;u.push([r(),o?n:","]),o||u.push(be(i.getValue(),t)?[d,d]:k(a[s+1],_.Leading|_.Line)?d:x)},"elements"),se(u)}function Jx(e,t,r){let n=e.getValue(),u=n.type==="ImportExpression",i=gt(n);if(i.length===0)return["(",Y(e,t,!0),")"];if(Kx(i))return["(",r(["arguments",0]),", ",r(["arguments",1]),")"];let s=!1,a=!1,o=i.length-1,c=[];Eu(e,(E,C)=>{let T=E.getNode(),b=[r()];C===o||(be(T,t)?(C===0&&(a=!0),s=!0,b.push(",",d,d)):b.push(",",x)),c.push(b)});let l=!(u||n.callee&&n.callee.type==="Import")&&me(t,"all")?",":"";function f(){return h(["(",F([x,...c]),l,x,")"],{shouldBreak:!0})}if(s||e.getParentNode().type!=="Decorator"&&DD(i))return f();let m=Yx(i),D=Hx(i,t);if(m||D){if(m?c.slice(1).some(pe):c.slice(0,-1).some(pe))return f();let E=[];try{Eu(e,(C,T)=>{m&&T===0&&(E=[[r([],{expandFirstArg:!0}),c.length>1?",":"",a?d:x,a?d:""],...c.slice(1)]),D&&T===o&&(E=[...c.slice(0,-1),r([],{expandLastArg:!0})])})}catch(C){if(C instanceof xr)return f();throw C}return[c.some(pe)?te:"",ft([["(",...E,")"],m?["(",h(E[0],{shouldBreak:!0}),...E.slice(1),")"]:["(",...c.slice(0,-1),h(I(E),{shouldBreak:!0}),")"],f()])]}let y=["(",F([A,...c]),N(l),A,")"];return ts(e)?y:h(y,{shouldBreak:c.some(pe)||s})}function Su(e,t=!1){return e.type==="ObjectExpression"&&(e.properties.length>0||k(e))||e.type==="ArrayExpression"&&(e.elements.length>0||k(e))||e.type==="TSTypeAssertion"&&Su(e.expression)||e.type==="TSAsExpression"&&Su(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||Xx(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&Su(e.body,!0)||e.body.type==="ObjectExpression"||e.body.type==="ArrayExpression"||!t&&(U(e.body)||e.body.type==="ConditionalExpression")||ae(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function Hx(e,t){let r=I(e),n=Qp(e);return!k(r,_.Leading)&&!k(r,_.Trailing)&&Su(r)&&(!n||n.type!==r.type)&&(e.length!==2||n.type!=="ArrowFunctionExpression"||r.type!=="ArrayExpression")&&!(e.length>1&&r.type==="ArrayExpression"&&Yc(r,t))}function Yx(e){if(e.length!==2)return!1;let[t,r]=e;return t.type==="ModuleExpression"&&zx(r)?!0:!k(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&r.type!=="FunctionExpression"&&r.type!=="ArrowFunctionExpression"&&r.type!=="ConditionalExpression"&&!Su(r)}function Kx(e){return e.length===2&&e[0].type==="ArrowFunctionExpression"&&De(e[0]).length===0&&e[0].body.type==="BlockStatement"&&e[1].type==="ArrayExpression"&&!e.some(t=>k(t))}function Xx(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||k(e,_.Dangling))}function zx(e){return e.type==="ObjectExpression"&&e.properties.length===1&&Me(e.properties[0])&&e.properties[0].key.type==="Identifier"&&e.properties[0].key.name==="type"&&we(e.properties[0].value)&&e.properties[0].value.value==="module"}var Tu=Jx;p();function v0(e,t,r){let n=e.getValue(),u=e.getParentNode(),i,s=0;do i=e.getParentNode(s),s++;while(i&&(Z(i)||i.type==="TSNonNullExpression"));let a=r("object"),o=Kc(e,t,r),c=i&&(i.type==="NewExpression"||i.type==="BindExpression"||i.type==="AssignmentExpression"&&i.left.type!=="Identifier")||n.computed||n.object.type==="Identifier"&&n.property.type==="Identifier"&&!Z(u)||(u.type==="AssignmentExpression"||u.type==="VariableDeclarator")&&(U(n.object)&&n.object.arguments.length>0||n.object.type==="TSNonNullExpression"&&U(n.object.expression)&&n.object.expression.arguments.length>0||a.label==="member-chain");return Zn(a.label==="member-chain"?"member-chain":"member",[a,c?o:h(F([A,o]))])}function Kc(e,t,r){let n=r("property"),u=e.getValue(),i=oe(e);return u.computed?!u.property||it(u.property)?[i,"[",n,"]"]:h([i,"[",F([A,n]),A,"]"]):[i,".",n]}function Qx(e,t,r){let n=e.getParentNode(),u=!n||n.type==="ExpressionStatement",i=[];function s($){let{originalText:Q}=t,ve=tr(Q,$,G);return Q.charAt(ve)===")"?ve!==!1&&_r(Q,ve+1):be($,t)}function a($){let Q=$.getValue();U(Q)&&(Br(Q.callee)||U(Q.callee))?(i.unshift({node:Q,printed:[Se($,[oe($),bt($,t,r),Tu($,t,r)],t),s(Q)?d:""]}),$.call(ve=>a(ve),"callee")):Br(Q)?(i.unshift({node:Q,needsParens:ht($,t),printed:Se($,Z(Q)?Kc($,t,r):ys($,t,r),t)}),$.call(ve=>a(ve),"object")):Q.type==="TSNonNullExpression"?(i.unshift({node:Q,printed:Se($,"!",t)}),$.call(ve=>a(ve),"expression")):i.unshift({node:Q,printed:r()})}let o=e.getValue();i.unshift({node:o,printed:[oe(e),bt(e,t,r),Tu(e,t,r)]}),o.callee&&e.call($=>a($),"callee");let c=[],l=[i[0]],f=1;for(;f<i.length&&(i[f].node.type==="TSNonNullExpression"||U(i[f].node)||Z(i[f].node)&&i[f].node.computed&&it(i[f].node.property));++f)l.push(i[f]);if(!U(i[0].node))for(;f+1<i.length&&(Br(i[f].node)&&Br(i[f+1].node));++f)l.push(i[f]);c.push(l),l=[];let m=!1;for(;f<i.length;++f){if(m&&Br(i[f].node)){if(i[f].node.computed&&it(i[f].node.property)){l.push(i[f]);continue}c.push(l),l=[],m=!1}(U(i[f].node)||i[f].node.type==="ImportExpression")&&(m=!0),l.push(i[f]),k(i[f].node,_.Trailing)&&(c.push(l),l=[],m=!1)}l.length>0&&c.push(l);function D($){return/^[A-Z]|^[$_]+$/.test($)}function y($){return $.length<=t.tabWidth}function E($){let Q=$[1].length>0&&$[1][0].node.computed;if($[0].length===1){let Jn=$[0][0].node;return Jn.type==="ThisExpression"||Jn.type==="Identifier"&&(D(Jn.name)||u&&y(Jn.name)||Q)}let ve=I($[0]).node;return Z(ve)&&ve.property.type==="Identifier"&&(D(ve.property.name)||Q)}let C=c.length>=2&&!k(c[1][0].node)&&E(c);function T($){let Q=$.map(ve=>ve.printed);return $.length>0&&I($).needsParens?["(",...Q,")"]:Q}function b($){return $.length===0?"":F(h([d,B(d,$.map(T))]))}let S=c.map(T),v=S,w=C?3:2,j=c.flat(),q=j.slice(1,-1).some($=>k($.node,_.Leading))||j.slice(0,-1).some($=>k($.node,_.Trailing))||c[w]&&k(c[w][0].node,_.Leading);if(c.length<=w&&!q)return ts(e)?v:h(v);let K=I(c[C?1:0]).node,X=!U(K)&&s(K),W=[T(c[0]),C?c.slice(1,2).map(T):"",X?d:"",b(c.slice(C?2:1))],ce=i.map(({node:$})=>$).filter(U);function Be(){let $=I(I(c)).node,Q=I(S);return U($)&&pe(Q)&&ce.slice(0,-1).some(ve=>ve.arguments.some(Sn))}let Nt;return q||ce.length>2&&ce.some($=>!$.arguments.every(Q=>sr(Q,0)))||S.slice(0,-1).some(pe)||Be()?Nt=h(W):Nt=[pe(v)||X?te:"",ft([v,W])],Zn("member-chain",Nt)}var w0=Qx;function hs(e,t,r){let n=e.getValue(),u=e.getParentNode(),i=n.type==="NewExpression",s=n.type==="ImportExpression",a=oe(e),o=gt(n);if(o.length>0&&(!s&&!i&&Zx(n,u)||o.length===1&&Zi(o[0],t.originalText)||!i&&Wr(n,u))){let f=[];return Eu(e,()=>{f.push(r())}),[i?"new ":"",r("callee"),a,bt(e,t,r),"(",B(", ",f),")"]}let c=(t.parser==="babel"||t.parser==="babel-flow")&&n.callee&&n.callee.type==="Identifier"&&gu(n.callee.trailingComments);if(c&&(n.callee.trailingComments[0].printed=!0),!s&&!i&&Br(n.callee)&&!e.call(f=>ht(f,t),"callee"))return w0(e,t,r);let l=[i?"new ":"",s?"import":r("callee"),a,c?`/*:: ${n.callee.trailingComments[0].value.slice(2).trim()} */`:"",bt(e,t,r),Tu(e,t,r)];return s||U(n.callee)?h(l):l}function Zx(e,t){if(e.callee.type!=="Identifier")return!1;if(e.callee.name==="require")return!0;if(e.callee.name==="define"){let r=gt(e);return t.type==="ExpressionStatement"&&(r.length===1||r.length===2&&r[0].type==="ArrayExpression"||r.length===3&&we(r[0])&&r[1].type==="ArrayExpression")}return!1}function wr(e,t,r,n,u,i){let s=e1(e,t,r,n,i),a=r(i,{assignmentLayout:s});switch(s){case"break-after-operator":return h([h(n),u,h(F([x,a]))]);case"never-break-after-operator":return h([h(n),u," ",a]);case"fluid":{let o=Symbol("assignment");return h([h(n),u,h(F(x),{id:o}),Ft,Qt(a,{groupId:o})])}case"break-lhs":return h([n,u," ",h(a)]);case"chain":return[h(n),u,x,a];case"chain-tail":return[h(n),u,F([x,a])];case"chain-tail-arrow-chain":return[h(n),u,a];case"only-left":return n}}function I0(e,t,r){let n=e.getValue();return wr(e,t,r,r("left"),[" ",n.operator],"right")}function k0(e,t,r){return wr(e,t,r,r("id")," =","init")}function e1(e,t,r,n,u){let i=e.getValue(),s=i[u];if(!s)return"only-left";let a=!Es(s);if(e.match(Es,L0,f=>!a||f.type!=="ExpressionStatement"&&f.type!=="VariableDeclaration"))return a?s.type==="ArrowFunctionExpression"&&s.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!a&&Es(s.right)||Tt(t.originalText,s))return"break-after-operator";if(s.type==="CallExpression"&&s.callee.name==="require"||t.parser==="json5"||t.parser==="json")return"never-break-after-operator";if(r1(i)||n1(i)||s1(i)||Xc(i)&&za(n))return"break-lhs";let l=l1(i,n,t);return e.call(()=>t1(e,t,r,l),u)?"break-after-operator":l||s.type==="TemplateLiteral"||s.type==="TaggedTemplateExpression"||s.type==="BooleanLiteral"||it(s)||s.type==="ClassExpression"?"never-break-after-operator":"fluid"}function t1(e,t,r,n){let u=e.getValue();if(yt(u)&&!wn(u))return!0;switch(u.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"ConditionalExpression":{let{test:a}=u;return yt(a)&&!wn(a)}case"ClassExpression":return O(u.decorators)}if(n)return!1;let i=u,s=[];for(;;)if(i.type==="UnaryExpression")i=i.argument,s.push("argument");else if(i.type==="TSNonNullExpression")i=i.expression,s.push("expression");else break;return!!(we(i)||e.call(()=>N0(e,t,r),...s))}function r1(e){if(L0(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(r=>Me(r)&&(!r.shorthand||r.value&&r.value.type==="AssignmentPattern"))}return!1}function Es(e){return e.type==="AssignmentExpression"}function L0(e){return Es(e)||e.type==="VariableDeclarator"}function n1(e){let t=u1(e);if(O(t)){let r=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(n=>n[r]||n.default))return!0}return!1}function u1(e){return i1(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function i1(e){return e.type==="TSTypeAliasDeclaration"||e.type==="TypeAlias"}function s1(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let r=P0(t.typeAnnotation);return O(r)&&r.length>1&&r.some(n=>O(P0(n))||n.type==="TSConditionalType")}function Xc(e){return e.type==="VariableDeclarator"&&e.init&&e.init.type==="ArrowFunctionExpression"}function P0(e){return a1(e)&&e.typeParameters&&e.typeParameters.params?e.typeParameters.params:null}function a1(e){return e.type==="TSTypeReference"||e.type==="GenericTypeAnnotation"}function N0(e,t,r,n=!1){let u=e.getValue(),i=()=>N0(e,t,r,!0);if(u.type==="TSNonNullExpression")return e.call(i,"expression");if(U(u)){if(hs(e,t,r).label==="member-chain")return!1;let a=gt(u);return!(a.length===0||a.length===1&&c1(a[0],t))||p1(u,r)?!1:e.call(i,"callee")}return Z(u)?e.call(i,"object"):n&&(u.type==="Identifier"||u.type==="ThisExpression")}var o1=.25;function c1(e,{printWidth:t}){if(k(e))return!1;let r=t*o1;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=r||Yi(e)&&!k(e.argument))return!0;let n=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return n?n.length<=r:we(e)?he(e).length<=r:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(`
83
+ `):cr(e)}function l1(e,t,r){if(!Me(e))return!1;t=Rt(t);let n=3;return typeof t=="string"&&Ne(t)<r.tabWidth+n}function p1(e,t){let r=f1(e);if(O(r)){if(r.length>1)return!0;if(r.length===1){let u=r[0];if(u.type==="TSUnionType"||u.type==="UnionTypeAnnotation"||u.type==="TSIntersectionType"||u.type==="IntersectionTypeAnnotation"||u.type==="TSTypeLiteral"||u.type==="ObjectTypeAnnotation")return!0}let n=e.typeParameters?"typeParameters":"typeArguments";if(pe(t(n)))return!0}return!1}function f1(e){return e.typeParameters&&e.typeParameters.params||e.typeArguments&&e.typeArguments.params}p();function pr(e,t,r,n,u){let i=e.getValue(),s=De(i),a=u?bt(e,r,t):"";if(s.length===0)return[a,"(",Y(e,r,!0,y=>St(r.originalText,y,G)===")"),")"];let o=e.getParentNode(),c=Wr(o),l=Cs(i),f=[];if(ED(e,(y,E)=>{let C=E===s.length-1;C&&i.rest&&f.push("..."),f.push(t()),!C&&(f.push(","),c||l?f.push(" "):be(s[E],r)?f.push(d,d):f.push(x))}),n&&!D1(e)){if(pe(a)||pe(f))throw new xr;return h([hr(a),"(",hr(f),")"])}let m=s.every(y=>!y.decorators);return l&&m?[a,"(",...f,")"]:c?[a,"(",...f,")"]:(Xi(o)||pD(o)||o.type==="TypeAlias"||o.type==="UnionTypeAnnotation"||o.type==="TSUnionType"||o.type==="IntersectionTypeAnnotation"||o.type==="FunctionTypeAnnotation"&&o.returnType===i)&&s.length===1&&s[0].name===null&&i.this!==s[0]&&s[0].typeAnnotation&&i.typeParameters===null&&zi(s[0].typeAnnotation)&&!i.rest?r.arrowParens==="always"?["(",...f,")"]:f:[a,"(",F([A,...f]),N(!hD(i)&&me(r,"all")?",":""),A,")"]}function Cs(e){if(!e)return!1;let t=De(e);if(t.length!==1)return!1;let[r]=t;return!k(r)&&(r.type==="ObjectPattern"||r.type==="ArrayPattern"||r.type==="Identifier"&&r.typeAnnotation&&(r.typeAnnotation.type==="TypeAnnotation"||r.typeAnnotation.type==="TSTypeAnnotation")&&dt(r.typeAnnotation.typeAnnotation)||r.type==="FunctionTypeParam"&&dt(r.typeAnnotation)||r.type==="AssignmentPattern"&&(r.left.type==="ObjectPattern"||r.left.type==="ArrayPattern")&&(r.right.type==="Identifier"||r.right.type==="ObjectExpression"&&r.right.properties.length===0||r.right.type==="ArrayExpression"&&r.right.elements.length===0))}function m1(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function Kr(e,t){let r=m1(e);if(!r)return!1;let n=e.typeParameters&&e.typeParameters.params;if(n){if(n.length>1)return!1;if(n.length===1){let u=n[0];if(u.constraint||u.default)return!1}}return De(e).length===1&&(dt(r)||pe(t))}function D1(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,r)=>{if(t.type==="CallExpression"&&r==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let n=t.callee.callee;return n.type==="Identifier"||n.type==="MemberExpression"&&!n.computed&&n.object.type==="Identifier"&&n.property.type==="Identifier"}return!1},(t,r)=>t.type==="VariableDeclarator"&&r==="init"||t.type==="ExportDefaultDeclaration"&&r==="declaration"||t.type==="TSExportAssignment"&&r==="expression"||t.type==="AssignmentExpression"&&r==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function bu(e){if(zi(e)||dt(e))return!0;if(e.type==="UnionTypeAnnotation"||e.type==="TSUnionType"){let t=e.types.filter(n=>n.type==="VoidTypeAnnotation"||n.type==="TSVoidKeyword"||n.type==="NullLiteralTypeAnnotation"||n.type==="TSNullKeyword").length,r=e.types.some(n=>n.type==="ObjectTypeAnnotation"||n.type==="TSTypeLiteral"||n.type==="GenericTypeAnnotation"||n.type==="TSTypeReference");if(e.types.length-1===t&&r)return!0}return!1}function zc(e,t,r){let n=t.semi?";":"",u=e.getValue(),i=[];return i.push("opaque type ",r("id"),r("typeParameters")),u.supertype&&i.push(": ",r("supertype")),u.impltype&&i.push(" = ",r("impltype")),i.push(n),i}function Bu(e,t,r){let n=t.semi?";":"",u=e.getValue(),i=[];u.declare&&i.push("declare "),i.push("type ",r("id"),r("typeParameters"));let s=u.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[wr(e,t,r,i," =",s),n]}function As(e,t,r){let n=e.getValue(),u=e.map(r,"types"),i=[],s=!1;for(let a=0;a<u.length;++a)a===0?i.push(u[a]):dt(n.types[a-1])&&dt(n.types[a])?i.push([" & ",s?F(u[a]):u[a]]):!dt(n.types[a-1])&&!dt(n.types[a])?i.push(F([" &",x,u[a]])):(a>1&&(s=!0),i.push(" & ",a>1?F(u[a]):u[a]));return h(i)}function Fs(e,t,r){let n=e.getValue(),u=e.getParentNode(),i=u.type!=="TypeParameterInstantiation"&&u.type!=="TSTypeParameterInstantiation"&&u.type!=="GenericTypeAnnotation"&&u.type!=="TSTypeReference"&&u.type!=="TSTypeAssertion"&&u.type!=="TupleTypeAnnotation"&&u.type!=="TSTupleType"&&!(u.type==="FunctionTypeParam"&&!u.name&&e.getParentNode(1).this!==u)&&!((u.type==="TypeAlias"||u.type==="VariableDeclarator"||u.type==="TSTypeAliasDeclaration")&&Tt(t.originalText,n)),s=bu(n),a=e.map(l=>{let f=r();return s||(f=ne(2,f)),Se(l,f,t)},"types");if(s)return B(" | ",a);let o=i&&!Tt(t.originalText,n),c=[N([o?x:"","| "]),B([x,"| "],a)];return ht(e,t)?h([F(c),A]):u.type==="TupleTypeAnnotation"&&u.types.length>1||u.type==="TSTupleType"&&u.elementTypes.length>1?h([F([N(["(",A]),c]),A,N(")")]):h(i?F(c):c)}function xs(e,t,r){let n=e.getValue(),u=[],i=e.getParentNode(0),s=e.getParentNode(1),a=e.getParentNode(2),o=n.type==="TSFunctionType"||!((i.type==="ObjectTypeProperty"||i.type==="ObjectTypeInternalSlot")&&!i.variance&&!i.optional&&H(i)===H(n)||i.type==="ObjectTypeCallProperty"||a&&a.type==="DeclareFunction"),c=o&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation"),l=c&&o&&(i.type==="TypeAnnotation"||i.type==="TSTypeAnnotation")&&s.type==="ArrowFunctionExpression";Xi(i)&&(o=!0,c=!0),l&&u.push("(");let f=pr(e,r,t,!1,!0),m=n.returnType||n.predicate||n.typeAnnotation?[o?" => ":": ",r("returnType"),r("predicate"),r("typeAnnotation")]:"",D=Kr(n,m);return u.push(D?h(f):f),m&&u.push(m),l&&u.push(")"),h(u)}function Ss(e,t,r){let n=e.getValue(),u=n.type==="TSTupleType"?"elementTypes":"types",i=n[u],s=O(i),a=s?A:"";return h(["[",F([a,Yr(e,t,u,r)]),N(s&&me(t,"all")?",":""),Y(e,t,!0),a,"]"])}function Ts(e,t,r){let n=e.getValue(),u=n.type==="OptionalIndexedAccessType"&&n.optional?"?.[":"[";return[r("objectType"),u,r("indexType"),"]"]}function Qc(e,t,r){let n=e.getValue();return[n.postfix?"":r,t("typeAnnotation"),n.postfix?r:""]}var vu=hi("typeParameters");function Xr(e,t,r,n){let u=e.getValue();if(!u[n])return"";if(!Array.isArray(u[n]))return r(n);let i=e.getNode(2),s=i&&Wr(i);if(!e.match(l=>!(l[n].length===1&&dt(l[n][0])),void 0,(l,f)=>f==="typeAnnotation",l=>l.type==="Identifier",Xc)&&(s||u[n].length===0||u[n].length===1&&(u[n][0].type==="NullableTypeAnnotation"||bu(u[n][0]))))return["<",B(", ",e.map(r,n)),d1(e,t),">"];let c=u.type==="TSTypeParameterInstantiation"?"":De(u).length===1&&yD(t)&&!u[n][0].constraint&&e.getParentNode().type==="ArrowFunctionExpression"?",":me(t,"all")?N(","):"";return h(["<",F([A,B([",",x],e.map(r,n))]),c,A,">"],{id:vu(u)})}function d1(e,t){let r=e.getValue();if(!k(r,_.Dangling))return"";let n=!k(r,_.Line),u=Y(e,t,n);return n?u:[u,d]}function bs(e,t,r){let n=e.getValue(),u=[],i=e.getParentNode();return i.type==="TSMappedType"?(u.push("[",r("name")),n.constraint&&u.push(" in ",r("constraint")),i.nameType&&u.push(" as ",e.callParent(()=>r("nameType"))),u.push("]"),u):(n.variance&&u.push(r("variance")),n.in&&u.push("in "),n.out&&u.push("out "),u.push(r("name")),n.bound&&u.push(": ",r("bound")),n.constraint&&u.push(" extends ",r("constraint")),n.default&&u.push(" = ",r("default")),u)}p();p();var Bs=new WeakMap;function fr(e,t,r){let n=e.getNode();if(n.computed)return["[",r("key"),"]"];let u=e.getParentNode(),{key:i}=n;if(n.type==="ClassPrivateProperty"&&i.type==="Identifier")return["#",r("key")];if(t.quoteProps==="consistent"&&!Bs.has(u)){let s=(u.properties||u.body||u.members).some(a=>!a.computed&&a.key&&we(a.key)&&!Pc(a,t));Bs.set(u,s)}if((i.type==="Identifier"||it(i)&&Ic(qe(he(i)))&&String(i.value)===qe(he(i))&&!(t.parser==="typescript"||t.parser==="babel-ts"))&&(t.parser==="json"||t.quoteProps==="consistent"&&Bs.get(u))){let s=Vt(JSON.stringify(i.type==="Identifier"?i.name:i.value.toString()),t);return e.call(a=>Se(a,s,t),"key")}return Pc(n,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!Bs.get(u))?e.call(s=>Se(s,/^\d/.test(i.value)?qe(i.value):i.value,t),"key"):r("key")}function _0(e,t,r){return e.getValue().shorthand?r("value"):wr(e,t,r,fr(e,t,r),":","value")}function ws(e,t,r,n){let u=e.getValue(),i=!1;if((u.type==="FunctionDeclaration"||u.type==="FunctionExpression")&&n&&n.expandLastArg){let l=e.getParentNode();U(l)&&gt(l).length>1&&(i=!0)}let s=[];u.type==="TSDeclareFunction"&&u.declare&&s.push("declare "),u.async&&s.push("async "),u.generator?s.push("function* "):s.push("function "),u.id&&s.push(t("id"));let a=pr(e,t,r,i),o=el(e,t,r),c=Kr(u,o);return s.push(bt(e,r,t),h([c?h(a):a,o]),u.body?" ":"",t("body")),r.semi&&(u.declare||!u.body)&&s.push(";"),s}function wu(e,t,r){let n=e.getNode(),{kind:u}=n,i=n.value||n,s=[];return!u||u==="init"||u==="method"||u==="constructor"?i.async&&s.push("async "):(He.ok(u==="get"||u==="set"),s.push(u," ")),i.generator&&s.push("*"),s.push(fr(e,t,r),n.optional||n.key.optional?"?":""),n===i?s.push(vs(e,t,r)):i.type==="FunctionExpression"?s.push(e.call(a=>vs(a,t,r),"value")):s.push(r("value")),s}function vs(e,t,r){let n=e.getNode(),u=pr(e,r,t),i=el(e,r,t),s=Kr(n,i),a=[bt(e,t,r),h([s?h(u):u,i])];return n.body?a.push(" ",r("body")):a.push(t.semi?";":""),a}function y1(e,t,r,n){let u=e.getValue(),i=[];if(u.async&&i.push("async "),Zc(e,t))i.push(r(["params",0]));else{let a=n&&(n.expandLastArg||n.expandFirstArg),o=el(e,r,t);if(a){if(pe(o))throw new xr;o=h(hr(o))}i.push(h([pr(e,r,t,a,!0),o]))}let s=Y(e,t,!0,a=>{let o=tr(t.originalText,a,G);return o!==!1&&t.originalText.slice(o,o+2)==="=>"});return s&&i.push(" ",s),i}function g1(e,t,r,n,u,i){let s=e.getName(),a=e.getParentNode(),o=Au(a)&&s==="callee",c=Boolean(t&&t.assignmentLayout),l=i.body.type!=="BlockStatement"&&i.body.type!=="ObjectExpression"&&i.body.type!=="SequenceExpression",f=o&&l||t&&t.assignmentLayout==="chain-tail-arrow-chain",m=Symbol("arrow-chain");return i.body.type==="SequenceExpression"&&(u=h(["(",F([A,u]),A,")"])),h([h(F([o||c?A:"",h(B([" =>",x],r),{shouldBreak:n})]),{id:m,shouldBreak:f})," =>",Qt(l?F([x,u]):[" ",u],{groupId:m}),o?N(A,"",{groupId:m}):""])}function O0(e,t,r,n){let u=e.getValue(),i=[],s=[],a=!1;if(function m(){let D=y1(e,t,r,n);if(i.length===0)i.push(D);else{let{leading:y,trailing:E}=hc(e,t);i.push([y,D]),s.unshift(E)}a=a||u.returnType&&De(u).length>0||u.typeParameters||De(u).some(y=>y.type!=="Identifier"),u.body.type!=="ArrowFunctionExpression"||n&&n.expandLastArg?s.unshift(r("body",n)):(u=u.body,e.call(m,"body"))}(),i.length>1)return g1(e,n,i,a,s,u);let o=i;if(o.push(" =>"),!Tt(t.originalText,u.body)&&(u.body.type==="ArrayExpression"||u.body.type==="ObjectExpression"||u.body.type==="BlockStatement"||ae(u.body)||Zi(u.body,t.originalText)||u.body.type==="ArrowFunctionExpression"||u.body.type==="DoExpression"))return h([...o," ",s]);if(u.body.type==="SequenceExpression")return h([...o,h([" (",F([A,s]),A,")"])]);let c=(n&&n.expandLastArg||e.getParentNode().type==="JSXExpressionContainer")&&!k(u),l=n&&n.expandLastArg&&me(t,"all"),f=u.body.type==="ConditionalExpression"&&!ut(u.body,!1);return h([...o,h([F([x,f?N("","("):"",s,f?N("",")"):""]),c?[N(l?",":""),A]:""])])}function h1(e){let t=De(e);return t.length===1&&!e.typeParameters&&!k(e,_.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!k(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function Zc(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let r=e.getValue();return h1(r)}return!1}function el(e,t,r){let n=e.getValue(),u=t("returnType");if(n.returnType&&Qi(r.originalText,n.returnType))return[" /*: ",u," */"];let i=[u];return n.returnType&&n.returnType.typeAnnotation&&i.unshift(": "),n.predicate&&i.push(n.returnType?" ":": ",t("predicate")),i}function R0(e,t,r){let n=e.getValue(),u=t.semi?";":"",i=[];n.argument&&(E1(t,n.argument)?i.push([" (",F([d,r("argument")]),d,")"]):yt(n.argument)||n.argument.type==="SequenceExpression"?i.push(h([N(" ("," "),F([A,r("argument")]),A,N(")")])):i.push(" ",r("argument")));let s=Ye(n),a=I(s),o=a&&or(a);return o&&i.push(u),k(n,_.Dangling)&&i.push(" ",Y(e,t,!0)),o||i.push(u),i}function M0(e,t,r){return["return",R0(e,t,r)]}function j0(e,t,r){return["throw",R0(e,t,r)]}function E1(e,t){if(Tt(e.originalText,t))return!0;if(bn(t)){let r=t,n;for(;n=lD(r);)if(r=n,Tt(e.originalText,r))return!0}return!1}p();function tl(e,t,r){let n=e.getValue();return h([B(x,e.map(r,"decorators")),q0(n,t)?d:x])}function $0(e,t,r){return[B(d,e.map(r,"declaration","decorators")),d]}function V0(e,t,r){let n=e.getValue(),{decorators:u}=n;if(!O(u)||rl(e.getParentNode()))return;let i=n.type==="ClassExpression"||n.type==="ClassDeclaration"||q0(n,t);return[Hi(e)?d:i?te:"",B(x,e.map(r,"decorators")),x]}function q0(e,t){return e.decorators.some(r=>ee(t.originalText,G(r)))}function rl(e){if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=e.declaration&&e.declaration.decorators;return O(t)&&H(e,{ignoreDecorators:!0})>H(t[0])}function Ps(e,t,r){let n=e.getValue(),u=[];n.declare&&u.push("declare "),n.abstract&&u.push("abstract "),u.push("class");let i=n.id&&k(n.id,_.Trailing)||n.typeParameters&&k(n.typeParameters,_.Trailing)||n.superClass&&k(n.superClass)||O(n.extends)||O(n.mixins)||O(n.implements),s=[],a=[];if(n.id&&s.push(" ",r("id")),s.push(r("typeParameters")),n.superClass){let o=[A1(e,t,r),r("superTypeParameters")],c=e.call(l=>["extends ",Se(l,o,t)],"superClass");i?a.push(x,h(c)):a.push(" ",c)}else a.push(nl(e,t,r,"extends"));if(a.push(nl(e,t,r,"mixins"),nl(e,t,r,"implements")),i){let o;W0(n)?o=[...s,F(a)]:o=F([...s,a]),u.push(h(o,{id:U0(n)}))}else u.push(...s,...a);return u.push(" ",r("body")),u}var U0=hi("heritageGroup");function Is(e){return N(d,"",{groupId:U0(e)})}function C1(e){return["superClass","extends","mixins","implements"].filter(t=>Boolean(e[t])).length>1}function W0(e){return e.typeParameters&&!k(e.typeParameters,_.Trailing|_.Line)&&!C1(e)}function nl(e,t,r,n){let u=e.getValue();if(!O(u[n]))return"";let i=Y(e,t,!0,({marker:s})=>s===n);return[W0(u)?N(" ",x,{groupId:vu(u.typeParameters)}):x,i,i&&d,n,h(F([x,B([",",x],e.map(r,n))]))]}function A1(e,t,r){let n=r("superClass");return e.getParentNode().type==="AssignmentExpression"?h(N(["(",F([A,n]),A,")"],n)):n}function ks(e,t,r){let n=e.getValue(),u=[];return O(n.decorators)&&u.push(tl(e,t,r)),n.accessibility&&u.push(n.accessibility+" "),n.readonly&&u.push("readonly "),n.declare&&u.push("declare "),n.static&&u.push("static "),(n.type==="TSAbstractMethodDefinition"||n.abstract)&&u.push("abstract "),n.override&&u.push("override "),u.push(wu(e,t,r)),u}function Ls(e,t,r){let n=e.getValue(),u=[],i=t.semi?";":"";return O(n.decorators)&&u.push(tl(e,t,r)),n.accessibility&&u.push(n.accessibility+" "),n.declare&&u.push("declare "),n.static&&u.push("static "),(n.type==="TSAbstractPropertyDefinition"||n.abstract)&&u.push("abstract "),n.override&&u.push("override "),n.readonly&&u.push("readonly "),n.variance&&u.push(r("variance")),n.type==="ClassAccessorProperty"&&u.push("accessor "),u.push(fr(e,t,r),oe(e),ds(e),st(e,t,r)),[wr(e,t,r,u," =","value"),i]}p();function Pu(e,t,r){let n=e.getValue(),u=[];n.declare&&u.push("declare "),n.type==="TSInterfaceDeclaration"&&u.push(n.abstract?"abstract ":"",Pn(e,t,r)),u.push("interface");let i=[],s=[];n.type!=="InterfaceTypeAnnotation"&&i.push(" ",r("id"),r("typeParameters"));let a=n.typeParameters&&!k(n.typeParameters,_.Trailing|_.Line);return O(n.extends)&&s.push(a?N(" ",x,{groupId:vu(n.typeParameters)}):x,"extends ",(n.extends.length===1?dD:F)(B([",",x],e.map(r,"extends")))),n.id&&k(n.id,_.Trailing)||O(n.extends)?a?u.push(h([...i,F(s)])):u.push(h(F([...i,...s]))):u.push(...i,...s),u.push(" ",r("body")),h(u)}p();function G0(e,t,r){let n=e.getValue(),u=t.semi?";":"",i=[],{importKind:s}=n;return i.push("import"),s&&s!=="value"&&i.push(" ",s),i.push(J0(e,t,r),ul(e,t,r),il(e,t,r),u),i}function Ns(e,t,r){let n=e.getValue(),u=[];rl(n)&&u.push($0(e,t,r));let{type:i,exportKind:s,declaration:a}=n;return u.push("export"),(n.default||i==="ExportDefaultDeclaration")&&u.push(" default"),k(n,_.Dangling)&&(u.push(" ",Y(e,t,!0)),es(n)&&u.push(d)),a?u.push(" ",r("declaration")):u.push(s==="type"?" type":"",J0(e,t,r),ul(e,t,r),il(e,t,r)),F1(n,t)&&u.push(";"),u}function _s(e,t,r){let n=e.getValue(),u=t.semi?";":"",i=[],{exportKind:s,exported:a}=n;return i.push("export"),s==="type"&&i.push(" type"),i.push(" *"),a&&i.push(" as ",r("exported")),i.push(ul(e,t,r),il(e,t,r),u),i}function F1(e,t){if(!t.semi)return!1;let{type:r,declaration:n}=e,u=e.default||r==="ExportDefaultDeclaration";if(!n)return!0;let{type:i}=n;return!!(u&&i!=="ClassDeclaration"&&i!=="FunctionDeclaration"&&i!=="TSInterfaceDeclaration"&&i!=="DeclareClass"&&i!=="DeclareFunction"&&i!=="TSDeclareFunction"&&i!=="EnumDeclaration")}function ul(e,t,r){let n=e.getValue();if(!n.source)return"";let u=[];return H0(n,t)||u.push(" from"),u.push(" ",r("source")),u}function J0(e,t,r){let n=e.getValue();if(H0(n,t))return"";let u=[" "];if(O(n.specifiers)){let i=[],s=[];e.each(()=>{let a=e.getValue().type;if(a==="ExportNamespaceSpecifier"||a==="ExportDefaultSpecifier"||a==="ImportNamespaceSpecifier"||a==="ImportDefaultSpecifier")i.push(r());else if(a==="ExportSpecifier"||a==="ImportSpecifier")s.push(r());else throw new Error(`Unknown specifier type ${JSON.stringify(a)}`)},"specifiers"),u.push(B(", ",i)),s.length>0&&(i.length>0&&u.push(", "),s.length>1||i.length>0||n.specifiers.some(o=>k(o))?u.push(h(["{",F([t.bracketSpacing?x:A,B([",",x],s)]),N(me(t)?",":""),t.bracketSpacing?x:A,"}"])):u.push(["{",t.bracketSpacing?" ":"",...s,t.bracketSpacing?" ":"","}"]))}else u.push("{}");return u}function H0(e,t){let{type:r,importKind:n,source:u,specifiers:i}=e;return r!=="ImportDeclaration"||O(i)||n==="type"?!1:!/{\s*}/.test(t.originalText.slice(H(e),H(u)))}function il(e,t,r){let n=e.getNode();return O(n.assertions)?[" assert {",t.bracketSpacing?" ":"",B(", ",e.map(r,"assertions")),t.bracketSpacing?" ":"","}"]:""}function Y0(e,t,r){let n=e.getNode(),{type:u}=n,i=[],s=u==="ImportSpecifier"?n.importKind:n.exportKind;s&&s!=="value"&&i.push(s," ");let a=u.startsWith("Import"),o=a?"imported":"local",c=a?"local":"exported",l=n[o],f=n[c],m="",D="";return u==="ExportNamespaceSpecifier"||u==="ImportNamespaceSpecifier"?m="*":l&&(m=r(o)),f&&!x1(n)&&(D=r(c)),i.push(m,m&&D?" as ":"",D),i}function x1(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:r}=e;if(t.type!==r.type||!nD(t,r))return!1;if(we(t))return t.value===r.value&&he(t)===he(r);switch(t.type){case"Identifier":return t.name===r.name;default:return!1}}p();function In(e,t,r){let n=t.semi?";":"",u=e.getValue(),i;u.type==="TSTypeLiteral"?i="members":u.type==="TSInterfaceBody"?i="body":i="properties";let s=u.type==="ObjectTypeAnnotation",a=[i];s&&a.push("indexers","callProperties","internalSlots");let o=a.map(w=>u[w][0]).sort((w,j)=>H(w)-H(j))[0],c=e.getParentNode(0),l=s&&c&&(c.type==="InterfaceDeclaration"||c.type==="DeclareInterface"||c.type==="DeclareClass")&&e.getName()==="body",f=u.type==="TSInterfaceBody"||l||u.type==="ObjectPattern"&&c.type!=="FunctionDeclaration"&&c.type!=="FunctionExpression"&&c.type!=="ArrowFunctionExpression"&&c.type!=="ObjectMethod"&&c.type!=="ClassMethod"&&c.type!=="ClassPrivateMethod"&&c.type!=="AssignmentPattern"&&c.type!=="CatchClause"&&u.properties.some(w=>w.value&&(w.value.type==="ObjectPattern"||w.value.type==="ArrayPattern"))||u.type!=="ObjectPattern"&&o&&$t(t.originalText,H(u),H(o)),m=l?";":u.type==="TSInterfaceBody"||u.type==="TSTypeLiteral"?N(n,";"):",",D=u.type==="RecordExpression"?"#{":u.exact?"{|":"{",y=u.exact?"|}":"}",E=[];for(let w of a)e.each(j=>{let q=j.getValue();E.push({node:q,printed:r(),loc:H(q)})},w);a.length>1&&E.sort((w,j)=>w.loc-j.loc);let C=[],T=E.map(w=>{let j=[...C,h(w.printed)];return C=[m,x],(w.node.type==="TSPropertySignature"||w.node.type==="TSMethodSignature"||w.node.type==="TSConstructSignatureDeclaration")&&k(w.node,_.PrettierIgnore)&&C.shift(),be(w.node,t)&&C.push(d),j});if(u.inexact){let w;if(k(u,_.Dangling)){let j=k(u,_.Line);w=[Y(e,t,!0),j||ee(t.originalText,G(I(Ye(u))))?d:x,"..."]}else w=["..."];T.push([...C,...w])}let b=I(u[i]),S=!(u.inexact||b&&b.type==="RestElement"||b&&(b.type==="TSPropertySignature"||b.type==="TSCallSignatureDeclaration"||b.type==="TSMethodSignature"||b.type==="TSConstructSignatureDeclaration")&&k(b,_.PrettierIgnore)),v;if(T.length===0){if(!k(u,_.Dangling))return[D,y,st(e,t,r)];v=h([D,Y(e,t),A,y,oe(e),st(e,t,r)])}else v=[l&&O(u.properties)?Is(c):"",D,F([t.bracketSpacing?x:A,...T]),N(S&&(m!==","||me(t))?m:""),t.bracketSpacing?x:A,y,oe(e),st(e,t,r)];return e.match(w=>w.type==="ObjectPattern"&&!w.decorators,(w,j,q)=>Cs(w)&&(j==="params"||j==="parameters"||j==="this"||j==="rest")&&q===0)||e.match(bu,(w,j)=>j==="typeAnnotation",(w,j)=>j==="typeAnnotation",(w,j,q)=>Cs(w)&&(j==="params"||j==="parameters"||j==="this"||j==="rest")&&q===0)||!f&&e.match(w=>w.type==="ObjectPattern",w=>w.type==="AssignmentExpression"||w.type==="VariableDeclarator")?v:h(v,{shouldBreak:f})}function K0(e,t,r){let n=e.getValue(),u=t.semi?";":"",i=[];switch(n.type){case"DeclareClass":return Gt(e,Ps(e,t,r));case"DeclareFunction":return Gt(e,["function ",r("id"),n.predicate?" ":"",r("predicate"),u]);case"DeclareModule":return Gt(e,["module ",r("id")," ",r("body")]);case"DeclareModuleExports":return Gt(e,["module.exports",": ",r("typeAnnotation"),u]);case"DeclareVariable":return Gt(e,["var ",r("id"),u]);case"DeclareOpaqueType":return Gt(e,zc(e,t,r));case"DeclareInterface":return Gt(e,Pu(e,t,r));case"DeclareTypeAlias":return Gt(e,Bu(e,t,r));case"DeclareExportDeclaration":return Gt(e,Ns(e,t,r));case"DeclareExportAllDeclaration":return Gt(e,_s(e,t,r));case"OpaqueType":return zc(e,t,r);case"TypeAlias":return Bu(e,t,r);case"IntersectionTypeAnnotation":return As(e,t,r);case"UnionTypeAnnotation":return Fs(e,t,r);case"FunctionTypeAnnotation":return xs(e,t,r);case"TupleTypeAnnotation":return Ss(e,t,r);case"GenericTypeAnnotation":return[r("id"),Xr(e,t,r,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Ts(e,t,r);case"TypeAnnotation":return r("typeAnnotation");case"TypeParameter":return bs(e,t,r);case"TypeofTypeAnnotation":return["typeof ",r("argument")];case"ExistsTypeAnnotation":return"*";case"EmptyTypeAnnotation":return"empty";case"MixedTypeAnnotation":return"mixed";case"ArrayTypeAnnotation":return[r("elementType"),"[]"];case"BooleanLiteralTypeAnnotation":return String(n.value);case"EnumDeclaration":return["enum ",r("id")," ",r("body")];case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":{if(n.type==="EnumSymbolBody"||n.explicitType){let s=null;switch(n.type){case"EnumBooleanBody":s="boolean";break;case"EnumNumberBody":s="number";break;case"EnumStringBody":s="string";break;case"EnumSymbolBody":s="symbol";break}i.push("of ",s," ")}if(n.members.length===0&&!n.hasUnknownMembers)i.push(h(["{",Y(e,t),A,"}"]));else{let s=n.members.length>0?[d,Yr(e,t,"members",r),n.hasUnknownMembers||me(t)?",":""]:[];i.push(h(["{",F([...s,...n.hasUnknownMembers?[d,"..."]:[]]),Y(e,t,!0),d,"}"]))}return i}case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return[r("id")," = ",typeof n.init=="object"?r("init"):String(n.init)];case"EnumDefaultedMember":return r("id");case"FunctionTypeParam":{let s=n.name?r("name"):e.getParentNode().this===n?"this":"";return[s,oe(e),s?": ":"",r("typeAnnotation")]}case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return Pu(e,t,r);case"ClassImplements":case"InterfaceExtends":return[r("id"),r("typeParameters")];case"NullableTypeAnnotation":return["?",r("typeAnnotation")];case"Variance":{let{kind:s}=n;return He.ok(s==="plus"||s==="minus"),s==="plus"?"+":"-"}case"ObjectTypeCallProperty":return n.static&&i.push("static "),i.push(r("value")),i;case"ObjectTypeIndexer":return[n.static?"static ":"",n.variance?r("variance"):"","[",r("id"),n.id?": ":"",r("key"),"]: ",r("value")];case"ObjectTypeProperty":{let s="";return n.proto?s="proto ":n.static&&(s="static "),[s,Bc(n)?n.kind+" ":"",n.variance?r("variance"):"",fr(e,t,r),oe(e),vc(n)?"":": ",r("value")]}case"ObjectTypeAnnotation":return In(e,t,r);case"ObjectTypeInternalSlot":return[n.static?"static ":"","[[",r("id"),"]]",oe(e),n.method?"":": ",r("value")];case"ObjectTypeSpreadProperty":return gs(e,t,r);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[r("qualification"),".",r("id")];case"StringLiteralTypeAnnotation":return Vt(he(n),t);case"NumberLiteralTypeAnnotation":He.strictEqual(typeof n.value,"number");case"BigIntLiteralTypeAnnotation":return n.extra?qe(n.extra.raw):qe(n.raw);case"TypeCastExpression":return["(",r("expression"),st(e,t,r),")"];case"TypeParameterDeclaration":case"TypeParameterInstantiation":{let s=Xr(e,t,r,"params");if(t.parser==="flow"){let a=H(n),o=G(n),c=t.originalText.lastIndexOf("/*",a),l=t.originalText.indexOf("*/",o);if(c!==-1&&l!==-1){let f=t.originalText.slice(c+2,l).trim();if(f.startsWith("::")&&!f.includes("/*")&&!f.includes("*/"))return["/*:: ",s," */"]}}return s}case"InferredPredicate":return"%checks";case"DeclaredPredicate":return["%checks(",r("value"),")"];case"AnyTypeAnnotation":return"any";case"BooleanTypeAnnotation":return"boolean";case"BigIntTypeAnnotation":return"bigint";case"NullLiteralTypeAnnotation":return"null";case"NumberTypeAnnotation":return"number";case"SymbolTypeAnnotation":return"symbol";case"StringTypeAnnotation":return"string";case"VoidTypeAnnotation":return"void";case"ThisTypeAnnotation":return"this";case"Node":case"Printable":case"SourceLocation":case"Position":case"Statement":case"Function":case"Pattern":case"Expression":case"Declaration":case"Specifier":case"NamedSpecifier":case"Comment":case"MemberTypeAnnotation":case"Type":throw new Error("unprintable type: "+JSON.stringify(n.type))}}function Gt(e,t){let r=Hi(e);return r?(He.strictEqual(r.type,"DeclareExportDeclaration"),t):["declare ",t]}p();p();function S1({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var X0=S1;p();function T1(e){let t=[e];for(let r=0;r<t.length;r++){let n=t[r];for(let u of["test","consequent","alternate"]){let i=n[u];if(ae(i))return!0;i.type==="ConditionalExpression"&&t.push(i)}}return!1}function b1(e,t,r){let n=e.getValue(),u=n.type==="ConditionalExpression",i=u?"alternate":"falseType",s=e.getParentNode(),a=u?r("test"):[r("checkType")," ","extends"," ",r("extendsType")];return s.type===n.type&&s[i]===n?ne(2,a):a}var B1=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"]]);function v1(e){let t=e.getValue();if(t.type!=="ConditionalExpression")return!1;let r,n=t;for(let u=0;!r;u++){let i=e.getParentNode(u);if(U(i)&&i.callee===n||Z(i)&&i.object===n||i.type==="TSNonNullExpression"&&i.expression===n){n=i;continue}i.type==="NewExpression"&&i.callee===n||i.type==="TSAsExpression"&&i.expression===n?(r=e.getParentNode(u+1),n=i):r=i}return n===t?!1:r[B1.get(r.type)]===n}function Os(e,t,r){let n=e.getValue(),u=n.type==="ConditionalExpression",i=u?"consequent":"trueType",s=u?"alternate":"falseType",a=u?["test"]:["checkType","extendsType"],o=n[i],c=n[s],l=[],f=!1,m=e.getParentNode(),D=m.type===n.type&&a.some(W=>m[W]===n),y=m.type===n.type&&!D,E,C,T=0;do C=E||n,E=e.getParentNode(T),T++;while(E&&E.type===n.type&&a.every(W=>E[W]!==C));let b=E||m,S=C;if(u&&(ae(n[a[0]])||ae(o)||ae(c)||T1(S))){f=!0,y=!0;let W=Be=>[N("("),F([A,Be]),A,N(")")],ce=Be=>Be.type==="NullLiteral"||Be.type==="Literal"&&Be.value===null||Be.type==="Identifier"&&Be.name==="undefined";l.push(" ? ",ce(o)?r(i):W(r(i))," : ",c.type===n.type||ce(c)?r(s):W(r(s)))}else{let W=[x,"? ",o.type===n.type?N("","("):"",ne(2,r(i)),o.type===n.type?N("",")"):"",x,": ",c.type===n.type?r(s):ne(2,r(s))];l.push(m.type!==n.type||m[s]===n||D?W:t.useTabs?Ze(F(W)):ne(Math.max(0,t.tabWidth-2),W))}let w=[...a.map(W=>Ye(n[W])),Ye(o),Ye(c)].flat().some(W=>Te(W)&&$t(t.originalText,H(W),G(W))),j=W=>m===b?h(W,{shouldBreak:w}):w?[W,te]:W,q=!f&&(Z(m)||m.type==="NGPipeExpression"&&m.left===n)&&!m.computed,K=v1(e),X=j([b1(e,t,r),y?l:F(l),u&&q&&!K?A:""]);return D||K?h([F([A,X]),A]):X}p();p();function z0(e,t,r,n){let u=e.getValue(),i=[],s=u.type==="ClassBody",a=w1(u[n]);return e.each((o,c,l)=>{let f=o.getValue();if(f.type==="EmptyStatement")return;let m=r();!t.semi&&!s&&!Ki(t,o)&&P1(o,t)?k(f,_.Leading)?i.push(r([],{needsSemi:!0})):i.push(";",m):i.push(m),!t.semi&&s&&td(f)&&I1(f,l[c+1])&&i.push(";"),f!==a&&(i.push(d),be(f,t)&&i.push(d))},n),i}function w1(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if(r.type!=="EmptyStatement")return r}}function P1(e,t){return e.getNode().type!=="ExpressionStatement"?!1:e.call(n=>Q0(n,t),"expression")}function Q0(e,t){let r=e.getValue();switch(r.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":{if(!Zc(e,t))return!0;break}case"UnaryExpression":{let{prefix:n,operator:u}=r;if(n&&(u==="+"||u==="-"))return!0;break}case"BindExpression":{if(!r.object)return!0;break}case"Literal":{if(r.regex)return!0;break}default:if(ae(r))return!0}return ht(e,t)?!0:bn(r)?e.call(n=>Q0(n,t),...Ji(e,r)):!1}function Z0(e,t,r){return z0(e,t,r,"body")}function ed(e,t,r){return z0(e,t,r,"consequent")}var td=({type:e})=>e==="ClassProperty"||e==="PropertyDefinition"||e==="ClassPrivateProperty"||e==="ClassAccessorProperty";function I1(e,t){let r=e.key&&e.key.name;if((r==="static"||r==="get"||r==="set")&&!e.value&&!e.typeAnnotation)return!0;if(!t||t.static||t.accessibility)return!1;if(!t.computed){let n=t.key&&t.key.name;if(n==="in"||n==="instanceof")return!0}if(td(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let u=t.value?t.value.generator:t.generator;return!!(t.computed||u)}case"TSIndexSignature":return!0}return!1}function Rs(e,t,r){let n=e.getValue(),u=[];if(n.type==="StaticBlock"&&u.push("static "),n.type==="ClassBody"&&O(n.body)){let s=e.getParentNode();u.push(Is(s))}u.push("{");let i=sl(e,t,r);if(i)u.push(F([d,i]),d);else{let s=e.getParentNode(),a=e.getParentNode(1);s.type==="ArrowFunctionExpression"||s.type==="FunctionExpression"||s.type==="FunctionDeclaration"||s.type==="ObjectMethod"||s.type==="ClassMethod"||s.type==="ClassPrivateMethod"||s.type==="ForStatement"||s.type==="WhileStatement"||s.type==="DoWhileStatement"||s.type==="DoExpression"||s.type==="CatchClause"&&!a.finalizer||s.type==="TSModuleDeclaration"||s.type==="TSDeclareFunction"||n.type==="StaticBlock"||n.type==="ClassBody"||u.push(d)}return u.push("}"),u}function sl(e,t,r){let n=e.getValue(),u=O(n.directives),i=n.body.some(o=>o.type!=="EmptyStatement"),s=k(n,_.Dangling);if(!u&&!i&&!s)return"";let a=[];if(u&&e.each((o,c,l)=>{a.push(r()),(c<l.length-1||i||s)&&(a.push(d),be(o.getValue(),t)&&a.push(d))},"directives"),i&&a.push(Z0(e,t,r)),s&&a.push(Y(e,t,!0)),n.type==="Program"){let o=e.getParentNode();(!o||o.type!=="ModuleExpression")&&a.push(d)}return a}function rd(e,t,r){let n=e.getValue();if(!n.type.startsWith("TS"))return;if(X0(n))return n.type.slice(2,-7).toLowerCase();let u=t.semi?";":"",i=[];switch(n.type){case"TSThisType":return"this";case"TSTypeAssertion":{let s=!(n.expression.type==="ArrayExpression"||n.expression.type==="ObjectExpression"),a=h(["<",F([A,r("typeAnnotation")]),A,">"]),o=[N("("),F([A,r("expression")]),A,N(")")];return s?ft([[a,r("expression")],[a,h(o,{shouldBreak:!0})],[a,r("expression")]]):h([a,r("expression")])}case"TSDeclareFunction":return ws(e,r,t);case"TSExportAssignment":return["export = ",r("expression"),u];case"TSModuleBlock":return Rs(e,t,r);case"TSInterfaceBody":case"TSTypeLiteral":return In(e,t,r);case"TSTypeAliasDeclaration":return Bu(e,t,r);case"TSQualifiedName":return B(".",[r("left"),r("right")]);case"TSAbstractMethodDefinition":case"TSDeclareMethod":return ks(e,t,r);case"TSAbstractPropertyDefinition":return Ls(e,t,r);case"TSInterfaceHeritage":case"TSExpressionWithTypeArguments":return i.push(r("expression")),n.typeParameters&&i.push(r("typeParameters")),i;case"TSTemplateLiteralType":return is(e,r,t);case"TSNamedTupleMember":return[r("label"),n.optional?"?":"",": ",r("elementType")];case"TSRestType":return["...",r("typeAnnotation")];case"TSOptionalType":return[r("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return Pu(e,t,r);case"TSClassImplements":return[r("expression"),r("typeParameters")];case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Xr(e,t,r,"params");case"TSTypeParameter":return bs(e,t,r);case"TSAsExpression":{i.push(r("expression")," as ",r("typeAnnotation"));let s=e.getParentNode();return U(s)&&s.callee===n||Z(s)&&s.object===n?h([F([A,...i]),A]):i}case"TSArrayType":return[r("elementType"),"[]"];case"TSPropertySignature":return n.readonly&&i.push("readonly "),i.push(fr(e,t,r),oe(e)),n.typeAnnotation&&i.push(": ",r("typeAnnotation")),n.initializer&&i.push(" = ",r("initializer")),i;case"TSParameterProperty":return n.accessibility&&i.push(n.accessibility+" "),n.export&&i.push("export "),n.static&&i.push("static "),n.override&&i.push("override "),n.readonly&&i.push("readonly "),i.push(r("parameter")),i;case"TSTypeQuery":return["typeof ",r("exprName"),r("typeParameters")];case"TSIndexSignature":{let s=e.getParentNode(),a=n.parameters.length>1?N(me(t)?",":""):"",o=h([F([A,B([", ",A],e.map(r,"parameters"))]),a,A]);return[n.export?"export ":"",n.accessibility?[n.accessibility," "]:"",n.static?"static ":"",n.readonly?"readonly ":"",n.declare?"declare ":"","[",n.parameters?o:"",n.typeAnnotation?"]: ":"]",n.typeAnnotation?r("typeAnnotation"):"",s.type==="ClassBody"?u:""]}case"TSTypePredicate":return[n.asserts?"asserts ":"",r("parameterName"),n.typeAnnotation?[" is ",r("typeAnnotation")]:""];case"TSNonNullExpression":return[r("expression"),"!"];case"TSImportType":return[n.isTypeOf?"typeof ":"","import(",r(n.parameter?"parameter":"argument"),")",n.qualifier?[".",r("qualifier")]:"",Xr(e,t,r,"typeParameters")];case"TSLiteralType":return r("literal");case"TSIndexedAccessType":return Ts(e,t,r);case"TSConstructSignatureDeclaration":case"TSCallSignatureDeclaration":case"TSConstructorType":{if(n.type==="TSConstructorType"&&n.abstract&&i.push("abstract "),n.type!=="TSCallSignatureDeclaration"&&i.push("new "),i.push(h(pr(e,r,t,!1,!0))),n.returnType||n.typeAnnotation){let s=n.type==="TSConstructorType";i.push(s?" => ":": ",r("returnType"),r("typeAnnotation"))}return i}case"TSTypeOperator":return[n.operator," ",r("typeAnnotation")];case"TSMappedType":{let s=$t(t.originalText,H(n),G(n));return h(["{",F([t.bracketSpacing?x:A,n.readonly?[wc(n.readonly,"readonly")," "]:"",Pn(e,t,r),r("typeParameter"),n.optional?wc(n.optional,"?"):"",n.typeAnnotation?": ":"",r("typeAnnotation"),N(u)]),Y(e,t,!0),t.bracketSpacing?x:A,"}"],{shouldBreak:s})}case"TSMethodSignature":{let s=n.kind&&n.kind!=="method"?`${n.kind} `:"";i.push(n.accessibility?[n.accessibility," "]:"",s,n.export?"export ":"",n.static?"static ":"",n.readonly?"readonly ":"",n.abstract?"abstract ":"",n.declare?"declare ":"",n.computed?"[":"",r("key"),n.computed?"]":"",oe(e));let a=pr(e,r,t,!1,!0),o=n.returnType?"returnType":"typeAnnotation",c=n[o],l=c?r(o):"",f=Kr(n,l);return i.push(f?h(a):a),c&&i.push(": ",h(l)),h(i)}case"TSNamespaceExportDeclaration":return i.push("export as namespace ",r("id")),t.semi&&i.push(";"),h(i);case"TSEnumDeclaration":return n.declare&&i.push("declare "),n.modifiers&&i.push(Pn(e,t,r)),n.const&&i.push("const "),i.push("enum ",r("id")," "),n.members.length===0?i.push(h(["{",Y(e,t),A,"}"])):i.push(h(["{",F([d,Yr(e,t,"members",r),me(t,"es5")?",":""]),Y(e,t,!0),d,"}"])),i;case"TSEnumMember":return n.computed?i.push("[",r("id"),"]"):i.push(r("id")),n.initializer&&i.push(" = ",r("initializer")),i;case"TSImportEqualsDeclaration":return n.isExport&&i.push("export "),i.push("import "),n.importKind&&n.importKind!=="value"&&i.push(n.importKind," "),i.push(r("id")," = ",r("moduleReference")),t.semi&&i.push(";"),h(i);case"TSExternalModuleReference":return["require(",r("expression"),")"];case"TSModuleDeclaration":{let s=e.getParentNode(),a=cr(n.id),o=s.type==="TSModuleDeclaration",c=n.body&&n.body.type==="TSModuleDeclaration";if(o)i.push(".");else{n.declare&&i.push("declare "),i.push(Pn(e,t,r));let l=t.originalText.slice(H(n),H(n.id));n.id.type==="Identifier"&&n.id.name==="global"&&!/namespace|module/.test(l)||i.push(a||/(?:^|\s)module(?:\s|$)/.test(l)?"module ":"namespace ")}return i.push(r("id")),c?i.push(r("body")):n.body?i.push(" ",h(r("body"))):i.push(u),i}case"TSConditionalType":return Os(e,t,r);case"TSInferType":return["infer"," ",r("typeParameter")];case"TSIntersectionType":return As(e,t,r);case"TSUnionType":return Fs(e,t,r);case"TSFunctionType":return xs(e,t,r);case"TSTupleType":return Ss(e,t,r);case"TSTypeReference":return[r("typeName"),Xr(e,t,r,"typeParameters")];case"TSTypeAnnotation":return r("typeAnnotation");case"TSEmptyBodyFunctionExpression":return vs(e,t,r);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return Qc(e,r,"?");case"TSJSDocNonNullableType":return Qc(e,r,"!");case"TSInstantiationExpression":return[r("expression"),r("typeParameters")];default:throw new Error(`Unknown TypeScript node type: ${JSON.stringify(n.type)}.`)}}p();function nd(e,t){let r=e.getValue();if(or(r))return t.originalText.slice(H(r),G(r)).trimEnd();if(Te(r)){if(k1(r)){let i=L1(r);return r.trailing&&!ee(t.originalText,H(r),{backwards:!0})?[d,i]:i}let n=G(r),u=t.originalText.slice(n-3,n)==="*-/";return["/*",z(r.value),u?"*-/":"*/"]}throw new Error("Not a comment: "+JSON.stringify(r))}function k1(e){let t=`*${e.value}*`.split(`
84
+ `);return t.length>1&&t.every(r=>r.trim()[0]==="*")}function L1(e){let t=e.value.split(`
85
+ `);return["/*",B(d,t.map((r,n)=>n===0?r.trimEnd():" "+(n<t.length-1?r.trim():r.trimStart()))),"*/"]}p();function sd(e,t){let r=e.getNode();switch(r.type){case"RegExpLiteral":return id(r);case"BigIntLiteral":return ud(r.bigint||r.extra.raw);case"NumericLiteral":return qe(r.extra.raw);case"StringLiteral":return Vt(r.extra.raw,t);case"NullLiteral":return"null";case"BooleanLiteral":return String(r.value);case"DecimalLiteral":return qe(r.value)+"m";case"Literal":{if(r.regex)return id(r.regex);if(r.bigint)return ud(r.raw);if(r.decimal)return qe(r.decimal)+"m";let{value:n}=r;return typeof n=="number"?qe(r.raw):typeof n=="string"?Vt(r.raw,t):String(n)}}}function ud(e){return e.toLowerCase()}function id({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}function N1(e,t,r,n){let u=_1(e,t,r,n);if(!u)return"";let i=e.getValue(),{type:s}=i;if(s==="ClassMethod"||s==="ClassPrivateMethod"||s==="ClassProperty"||s==="ClassAccessorProperty"||s==="PropertyDefinition"||s==="TSAbstractPropertyDefinition"||s==="ClassPrivateProperty"||s==="MethodDefinition"||s==="TSAbstractMethodDefinition"||s==="TSDeclareMethod")return u;let a=[u],o=V0(e,t,r),c=i.type==="ClassExpression"&&o;if(o&&(a=[...o,u],!c))return h(a);if(!ht(e,t))return n&&n.needsSemi&&a.unshift(";"),a.length===1&&a[0]===u?u:a;if(c&&(a=[F([x,...a])]),a.unshift("("),n&&n.needsSemi&&a.unshift(";"),Tn(i)){let[f]=i.trailingComments;a.push(" /*",f.value.trimStart(),"*/"),f.printed=!0}return c&&a.push(x),a.push(")"),a}function _1(e,t,r,n){let u=e.getValue(),i=t.semi?";":"";if(!u)return"";if(typeof u=="string")return u;for(let a of[sd,h0,C0,S0,K0,rd]){let o=a(e,t,r);if(typeof o<"u")return o}let s=[];switch(u.type){case"JsExpressionRoot":return r("node");case"JsonRoot":return[r("node"),d];case"File":return u.program&&u.program.interpreter&&s.push(r(["program","interpreter"])),s.push(r("program")),s;case"Program":return sl(e,t,r);case"EmptyStatement":return"";case"ExpressionStatement":{if(u.directive)return[ad(u.expression,t),i];if(t.parser==="__vue_event_binding"||t.parser==="__vue_ts_event_binding"){let o=e.getParentNode();if(o.type==="Program"&&o.body.length===1&&o.body[0]===u)return[r("expression"),Gc(u.expression)?";":""]}let a=Y(e,t,!0,({marker:o})=>o===us);return[r("expression"),Ki(t,e)?"":i,a?[" ",a]:""]}case"ParenthesizedExpression":return!k(u.expression)&&(u.expression.type==="ObjectExpression"||u.expression.type==="ArrayExpression")?["(",r("expression"),")"]:h(["(",F([A,r("expression")]),A,")"]);case"AssignmentExpression":return I0(e,t,r);case"VariableDeclarator":return k0(e,t,r);case"BinaryExpression":case"LogicalExpression":return ms(e,t,r);case"AssignmentPattern":return[r("left")," = ",r("right")];case"OptionalMemberExpression":case"MemberExpression":return v0(e,t,r);case"MetaProperty":return[r("meta"),".",r("property")];case"BindExpression":return u.object&&s.push(r("object")),s.push(h(F([A,ys(e,t,r)]))),s;case"Identifier":return[u.name,oe(e),ds(e),st(e,t,r)];case"V8IntrinsicIdentifier":return["%",u.name];case"SpreadElement":case"SpreadElementPattern":case"SpreadProperty":case"SpreadPropertyPattern":case"RestElement":return gs(e,t,r);case"FunctionDeclaration":case"FunctionExpression":return ws(e,r,t,n);case"ArrowFunctionExpression":return O0(e,t,r,n);case"YieldExpression":return s.push("yield"),u.delegate&&s.push("*"),u.argument&&s.push(" ",r("argument")),s;case"AwaitExpression":{if(s.push("await"),u.argument){s.push(" ",r("argument"));let a=e.getParentNode();if(U(a)&&a.callee===u||Z(a)&&a.object===u){s=[F([A,...s]),A];let o=e.findAncestor(c=>c.type==="AwaitExpression"||c.type==="BlockStatement");if(!o||o.type!=="AwaitExpression")return h(s)}}return s}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return Ns(e,t,r);case"ExportAllDeclaration":return _s(e,t,r);case"ImportDeclaration":return G0(e,t,r);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return Y0(e,t,r);case"ImportAttribute":return[r("key"),": ",r("value")];case"Import":return"import";case"BlockStatement":case"StaticBlock":case"ClassBody":return Rs(e,t,r);case"ThrowStatement":return j0(e,t,r);case"ReturnStatement":return M0(e,t,r);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return hs(e,t,r);case"ObjectExpression":case"ObjectPattern":case"RecordExpression":return In(e,t,r);case"ObjectProperty":case"Property":return u.method||u.kind==="get"||u.kind==="set"?wu(e,t,r):_0(e,t,r);case"ObjectMethod":return wu(e,t,r);case"Decorator":return["@",r("expression")];case"ArrayExpression":case"ArrayPattern":case"TupleExpression":return B0(e,t,r);case"SequenceExpression":{let a=e.getParentNode(0);if(a.type==="ExpressionStatement"||a.type==="ForStatement"){let o=[];return e.each((c,l)=>{l===0?o.push(r()):o.push(",",F([x,r()]))},"expressions"),h(o)}return h(B([",",x],e.map(r,"expressions")))}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[r("value"),i];case"DirectiveLiteral":return ad(u,t);case"UnaryExpression":return s.push(u.operator),/[a-z]$/.test(u.operator)&&s.push(" "),k(u.argument)?s.push(h(["(",F([A,r("argument")]),A,")"])):s.push(r("argument")),s;case"UpdateExpression":return s.push(r("argument"),u.operator),u.prefix&&s.reverse(),s;case"ConditionalExpression":return Os(e,t,r);case"VariableDeclaration":{let a=e.map(r,"declarations"),o=e.getParentNode(),c=o.type==="ForStatement"||o.type==="ForInStatement"||o.type==="ForOfStatement",l=u.declarations.some(m=>m.init),f;return a.length===1&&!k(u.declarations[0])?f=a[0]:a.length>0&&(f=F(a[0])),s=[u.declare?"declare ":"",u.kind,f?[" ",f]:"",F(a.slice(1).map(m=>[",",l&&!c?d:x,m]))],c&&o.body!==u||s.push(i),h(s)}case"WithStatement":return h(["with (",r("object"),")",lr(u.body,r("body"))]);case"IfStatement":{let a=lr(u.consequent,r("consequent")),o=h(["if (",h([F([A,r("test")]),A]),")",a]);if(s.push(o),u.alternate){let c=k(u.consequent,_.Trailing|_.Line)||es(u),l=u.consequent.type==="BlockStatement"&&!c;s.push(l?" ":d),k(u,_.Dangling)&&s.push(Y(e,t,!0),c?d:" "),s.push("else",h(lr(u.alternate,r("alternate"),u.alternate.type==="IfStatement")))}return s}case"ForStatement":{let a=lr(u.body,r("body")),o=Y(e,t,!0),c=o?[o,A]:"";return!u.init&&!u.test&&!u.update?[c,h(["for (;;)",a])]:[c,h(["for (",h([F([A,r("init"),";",x,r("test"),";",x,r("update")]),A]),")",a])]}case"WhileStatement":return h(["while (",h([F([A,r("test")]),A]),")",lr(u.body,r("body"))]);case"ForInStatement":return h(["for (",r("left")," in ",r("right"),")",lr(u.body,r("body"))]);case"ForOfStatement":return h(["for",u.await?" await":""," (",r("left")," of ",r("right"),")",lr(u.body,r("body"))]);case"DoWhileStatement":{let a=lr(u.body,r("body"));return s=[h(["do",a])],u.body.type==="BlockStatement"?s.push(" "):s.push(d),s.push("while (",h([F([A,r("test")]),A]),")",i),s}case"DoExpression":return[u.async?"async ":"","do ",r("body")];case"BreakStatement":return s.push("break"),u.label&&s.push(" ",r("label")),s.push(i),s;case"ContinueStatement":return s.push("continue"),u.label&&s.push(" ",r("label")),s.push(i),s;case"LabeledStatement":return u.body.type==="EmptyStatement"?[r("label"),":;"]:[r("label"),": ",r("body")];case"TryStatement":return["try ",r("block"),u.handler?[" ",r("handler")]:"",u.finalizer?[" finally ",r("finalizer")]:""];case"CatchClause":if(u.param){let a=k(u.param,c=>!Te(c)||c.leading&&ee(t.originalText,G(c))||c.trailing&&ee(t.originalText,H(c),{backwards:!0})),o=r("param");return["catch ",a?["(",F([A,o]),A,") "]:["(",o,") "],r("body")]}return["catch ",r("body")];case"SwitchStatement":return[h(["switch (",F([A,r("discriminant")]),A,")"])," {",u.cases.length>0?F([d,B(d,e.map((a,o,c)=>{let l=a.getValue();return[r(),o!==c.length-1&&be(l,t)?d:""]},"cases"))]):"",d,"}"];case"SwitchCase":{u.test?s.push("case ",r("test"),":"):s.push("default:"),k(u,_.Dangling)&&s.push(" ",Y(e,t,!0));let a=u.consequent.filter(o=>o.type!=="EmptyStatement");if(a.length>0){let o=ed(e,t,r);s.push(a.length===1&&a[0].type==="BlockStatement"?[" ",o]:F([d,o]))}return s}case"DebuggerStatement":return["debugger",i];case"ClassDeclaration":case"ClassExpression":return Ps(e,t,r);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return ks(e,t,r);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":return Ls(e,t,r);case"TemplateElement":return z(u.value.raw);case"TemplateLiteral":return is(e,r,t);case"TaggedTemplateExpression":return[r("tag"),r("typeParameters"),r("quasi")];case"PrivateIdentifier":return["#",r("name")];case"PrivateName":return["#",r("id")];case"InterpreterDirective":return s.push("#!",u.value,d),be(u,t)&&s.push(d),s;case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":{s.push("module {");let a=r("body");return a&&s.push(F([d,a]),d),s.push("}"),s}default:throw new Error("unknown type: "+JSON.stringify(u.type))}}function ad(e,t){let r=he(e),n=r.slice(1,-1);if(n.includes('"')||n.includes("'"))return r;let u=t.singleQuote?"'":'"';return u+n+u}function O1(e){return e.type&&!Te(e)&&!or(e)&&e.type!=="EmptyStatement"&&e.type!=="TemplateElement"&&e.type!=="Import"&&e.type!=="TSEmptyBodyFunctionExpression"}var R1={preprocess:fs,print:N1,embed:PD,insertPragma:ls,massageAstNode:kD,hasPrettierIgnore(e){return ns(e)||b0(e)},willPrintOwnComments:ps,canAttachComment:O1,printComment:nd,isBlockComment:Te,handleComments:{avoidAstMutation:!0,ownLine:i0,endOfLine:s0,remaining:a0},getCommentChildNodes:y0,getVisitorKeys:Wi},od=R1;p();p();var M1={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:[],BooleanLiteral:[],StringLiteral:[],NumericLiteral:[],Identifier:[],TemplateLiteral:["quasis"],TemplateElement:[]},cd=M1;function j1(e,t,r){let n=e.getValue();switch(n.type){case"JsonRoot":return[r("node"),d];case"ArrayExpression":{if(n.elements.length===0)return"[]";let u=e.map(()=>e.getValue()===null?"null":r(),"elements");return["[",F([d,B([",",d],u)]),d,"]"]}case"ObjectExpression":return n.properties.length===0?"{}":["{",F([d,B([",",d],e.map(r,"properties"))]),d,"}"];case"ObjectProperty":return[r("key"),": ",r("value")];case"UnaryExpression":return[n.operator==="+"?"":n.operator,r("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return n.value?"true":"false";case"StringLiteral":case"NumericLiteral":return JSON.stringify(n.value);case"Identifier":{let u=e.getParentNode();return u&&u.type==="ObjectProperty"&&u.key===n?JSON.stringify(n.name):n.name}case"TemplateLiteral":return r(["quasis",0]);case"TemplateElement":return JSON.stringify(n.value.cooked);default:throw new Error("unknown type: "+JSON.stringify(n.type))}}var $1=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ld(e,t){let{type:r}=e;if(r==="ObjectProperty"&&e.key.type==="Identifier"){t.key={type:"StringLiteral",value:e.key.name};return}if(r==="UnaryExpression"&&e.operator==="+")return t.argument;if(r==="ArrayExpression"){for(let[n,u]of e.elements.entries())u===null&&t.elements.splice(n,0,{type:"NullLiteral"});return}if(r==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}ld.ignoredProperties=$1;var V1={preprocess:fs,print:j1,massageAstNode:ld,getVisitorKeys:Ie(cd)},pd=V1;var fd=[{linguistLanguageId:183,name:"JavaScript",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:["js","node"],extensions:[".js","._js",".bones",".cjs",".es",".es6",".frag",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".wxs"],filenames:["Jakefile"],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],since:"0.0.0",parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"]},{linguistLanguageId:183,name:"Flow",type:"programming",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",color:"#f1e05a",aliases:[],extensions:[".js.flow"],filenames:[],interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],since:"0.0.0",parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"]},{linguistLanguageId:183,name:"JSX",type:"programming",tmScope:"source.js.jsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",extensions:[".jsx"],since:"0.0.0",parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript"},{linguistLanguageId:378,name:"TypeScript",type:"programming",color:"#3178c6",aliases:["ts"],interpreters:["deno","ts-node"],extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aceMode:"typescript",codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"]},{linguistLanguageId:94901924,name:"TSX",type:"programming",color:"#3178c6",group:"TypeScript",extensions:[".tsx"],tmScope:"source.tsx",aceMode:"javascript",codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",since:"1.4.0",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"]},{linguistLanguageId:174,name:"JSON.stringify",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],since:"1.13.0",parsers:["json-stringify"],vscodeLanguageIds:["json"]},{linguistLanguageId:174,name:"JSON",type:"data",color:"#292929",tmScope:"source.json",aceMode:"json",codemirrorMode:"javascript",codemirrorMimeType:"application/json",aliases:["geojson","jsonl","topojson"],extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".mcmeta",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig","Pipfile.lock","composer.lock","mcmod.info"],since:"1.5.0",parsers:["json"],vscodeLanguageIds:["json"]},{linguistLanguageId:423,name:"JSON with Comments",type:"data",color:"#292929",group:"JSON",tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",aliases:["jsonc"],extensions:[".jsonc",".code-snippets",".sublime-build",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[".babelrc",".devcontainer.json",".eslintrc.json",".jscsrc",".jshintrc",".jslintrc","api-extractor.json","devcontainer.json","jsconfig.json","language-configuration.json","tsconfig.json","tslint.json",".eslintrc",".swcrc"],since:"1.5.0",parsers:["json"],vscodeLanguageIds:["jsonc"]},{linguistLanguageId:175,name:"JSON5",type:"data",color:"#267CB9",extensions:[".json5"],tmScope:"source.js",aceMode:"javascript",codemirrorMode:"javascript",codemirrorMimeType:"application/json",since:"1.13.0",parsers:["json5"],vscodeLanguageIds:["json5"]}];p();p();var Iu="Common",U1={bracketSpacing:{since:"0.0.0",category:Iu,type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{since:"0.0.0",category:Iu,type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{since:"1.8.2",category:Iu,type:"choice",default:[{since:"1.8.2",value:!0},{since:"1.9.0",value:"preserve"}],description:"How to wrap prose.",choices:[{since:"1.9.0",value:"always",description:"Wrap prose if it exceeds the print width."},{since:"1.9.0",value:"never",description:"Do not wrap prose."},{since:"1.9.0",value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{since:"2.4.0",category:Iu,type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{since:"2.6.0",category:Iu,type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Ee=U1;var kn="JavaScript",W1={arrowParens:{since:"1.9.0",category:kn,type:"choice",default:[{since:"1.9.0",value:"avoid"},{since:"2.0.0",value:"always"}],description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Ee.bracketSameLine,bracketSpacing:Ee.bracketSpacing,jsxBracketSameLine:{since:"0.17.0",category:kn,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{since:"1.0.0",category:kn,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},singleQuote:Ee.singleQuote,jsxSingleQuote:{since:"1.15.0",category:kn,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{since:"1.17.0",category:kn,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{since:"0.0.0",category:kn,type:"choice",default:[{since:"0.0.0",value:!1},{since:"0.19.0",value:"none"},{since:"2.0.0",value:"es5"},{since:"3.0.0",value:"all"}],description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Ee.singleAttributePerLine},md=W1;p();var Dd=void 0;var G1={estree:od,"estree-json":pd};var Ys={};Ce(Ys,{languages:()=>Gd,options:()=>Jd,parsers:()=>Hd,printers:()=>dS});p();p();p();var J1=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function dd(e,t,r){if(Ue(e)&&e.lang==="yaml"&&delete t.value,e.type==="css-comment"&&r.type==="css-root"&&r.nodes.length>0&&((r.nodes[0]===e||Ue(r.nodes[0])&&r.nodes[1]===e)&&(delete t.text,/^\*\s*@(?:format|prettier)\s*$/.test(e.text))||r.type==="css-root"&&I(r.nodes)===e))return null;if(e.type==="value-root"&&delete t.text,(e.type==="media-query"||e.type==="media-query-list"||e.type==="media-feature-expression")&&delete t.value,e.type==="css-rule"&&delete t.params,e.type==="selector-combinator"&&(t.value=t.value.replace(/\s+/g," ")),e.type==="media-feature"&&(t.value=t.value.replace(/ /g,"")),(e.type==="value-word"&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(t.value.replace().toLowerCase()))||e.type==="media-feature"||e.type==="selector-root-invalid"||e.type==="selector-pseudo")&&(t.value=t.value.toLowerCase()),e.type==="css-decl"&&(t.prop=t.prop.toLowerCase()),(e.type==="css-atrule"||e.type==="css-import")&&(t.name=t.name.toLowerCase()),e.type==="value-number"&&(t.unit=t.unit.toLowerCase()),e.type==="value-unknown"&&(t.value=t.value.replace(/;$/g,"")),(e.type==="media-feature"||e.type==="media-keyword"||e.type==="media-type"||e.type==="media-unknown"||e.type==="media-url"||e.type==="media-value"||e.type==="selector-attribute"||e.type==="selector-string"||e.type==="selector-class"||e.type==="selector-combinator"||e.type==="value-string")&&t.value&&(t.value=H1(t.value)),e.type==="selector-attribute"&&(t.attribute=t.attribute.trim(),t.namespace&&typeof t.namespace=="string"&&(t.namespace=t.namespace.trim(),t.namespace.length===0&&(t.namespace=!0)),t.value&&(t.value=t.value.trim().replace(/^["']|["']$/g,""),delete t.quoted)),(e.type==="media-value"||e.type==="media-type"||e.type==="value-number"||e.type==="selector-root-invalid"||e.type==="selector-class"||e.type==="selector-combinator"||e.type==="selector-tag")&&t.value&&(t.value=t.value.replace(/([\d+.Ee-]+)([A-Za-z]*)/g,(n,u,i)=>{let s=Number(u);return Number.isNaN(s)?n:s+i.toLowerCase()})),e.type==="selector-tag"){let n=e.value.toLowerCase();["from","to"].includes(n)&&(t.value=n)}if(e.type==="css-atrule"&&e.name.toLowerCase()==="supports"&&delete t.value,e.type==="selector-unknown"&&delete t.value,e.type==="value-comma_group"){let n=e.groups.findIndex(u=>u.type==="value-number"&&u.unit==="...");n!==-1&&(t.groups[n].unit="",t.groups.splice(n+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}}dd.ignoredProperties=J1;function H1(e){return e.replace(/'/g,'"').replace(/\\([^\dA-Fa-f])/g,"$1")}var yd=dd;p();p();async function Y1(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return _t([e.startDelimiter,d,n,n?d:"",e.endDelimiter])}}var Ln=Y1;function K1(e){let t=e.getValue();if(t.type==="front-matter")return async r=>{let n=await Ln(t,r);return n?[n,d]:void 0}}var gd=K1;p();p();var X1=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function z1(e){let t=e.match(X1);if(!t)return{content:e};let{startDelimiter:r,language:n,value:u="",endDelimiter:i}=t.groups,s=n.trim()||"yaml";if(r==="+++"&&(s="toml"),s!=="yaml"&&r!==i)return{content:e};let[a]=t;return{frontMatter:{type:"front-matter",lang:s,value:u,startDelimiter:r,endDelimiter:i,raw:a.replace(/\n$/,"")},content:a.replace(/[^\n]/g," ")+e.slice(a.length)}}var js=z1;function hd(e){let{frontMatter:t,content:r}=js(e);return(t?t.raw+`
69
86
 
70
- `:"")+t.insertPragma(o)}n.exports={hasPragma:a,insertPragma:r}}}),rd=Z({"src/language-css/utils/index.js"(e,n){"use strict";re();var t=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function s(G,z){let U=Array.isArray(z)?z:[z],le=-1,ge;for(;ge=G.getParentNode(++le);)if(U.includes(ge.type))return le;return-1}function a(G,z){let U=s(G,z);return U===-1?null:G.getParentNode(U)}function r(G){var z;let U=a(G,"css-decl");return U==null||(z=U.prop)===null||z===void 0?void 0:z.toLowerCase()}var u=new Set(["initial","inherit","unset","revert"]);function i(G){return u.has(G.toLowerCase())}function o(G,z){let U=a(G,"css-atrule");return(U==null?void 0:U.name)&&U.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(z.toLowerCase())}function c(G){return G.includes("$")||G.includes("@")||G.includes("#")||G.startsWith("%")||G.startsWith("--")||G.startsWith(":--")||G.includes("(")&&G.includes(")")?G:G.toLowerCase()}function y(G,z){var U;let le=a(G,"value-func");return(le==null||(U=le.value)===null||U===void 0?void 0:U.toLowerCase())===z}function m(G){var z;let U=a(G,"css-rule"),le=U==null||(z=U.raws)===null||z===void 0?void 0:z.selector;return le&&(le.startsWith(":import")||le.startsWith(":export"))}function d(G,z){let U=Array.isArray(z)?z:[z],le=a(G,"css-atrule");return le&&U.includes(le.name.toLowerCase())}function p(G){let z=G.getValue(),U=a(G,"css-atrule");return(U==null?void 0:U.name)==="import"&&z.groups[0].value==="url"&&z.groups.length===2}function f(G){return G.type==="value-func"&&G.value.toLowerCase()==="url"}function h(G,z){var U;let le=(U=G.getParentNode())===null||U===void 0?void 0:U.nodes;return le&&le.indexOf(z)===le.length-1}function w(G){let{selector:z}=G;return z?typeof z=="string"&&/^@.+:.*$/.test(z)||z.value&&/^@.+:.*$/.test(z.value):!1}function T(G){return G.type==="value-word"&&["from","through","end"].includes(G.value)}function A(G){return G.type==="value-word"&&["and","or","not"].includes(G.value)}function S(G){return G.type==="value-word"&&G.value==="in"}function B(G){return G.type==="value-operator"&&G.value==="*"}function I(G){return G.type==="value-operator"&&G.value==="/"}function k(G){return G.type==="value-operator"&&G.value==="+"}function P(G){return G.type==="value-operator"&&G.value==="-"}function C(G){return G.type==="value-operator"&&G.value==="%"}function D(G){return B(G)||I(G)||k(G)||P(G)||C(G)}function g(G){return G.type==="value-word"&&["==","!="].includes(G.value)}function F(G){return G.type==="value-word"&&["<",">","<=",">="].includes(G.value)}function l(G){return G.type==="css-atrule"&&["if","else","for","each","while"].includes(G.name)}function E(G){var z;return((z=G.raws)===null||z===void 0?void 0:z.params)&&/^\(\s*\)$/.test(G.raws.params)}function v(G){return G.name.startsWith("prettier-placeholder")}function N(G){return G.prop.startsWith("@prettier-placeholder")}function x(G,z){return G.value==="$$"&&G.type==="value-func"&&(z==null?void 0:z.type)==="value-word"&&!z.raws.before}function b(G){var z,U;return((z=G.value)===null||z===void 0?void 0:z.type)==="value-root"&&((U=G.value.group)===null||U===void 0?void 0:U.type)==="value-value"&&G.prop.toLowerCase()==="composes"}function L(G){var z,U,le;return((z=G.value)===null||z===void 0||(U=z.group)===null||U===void 0||(le=U.group)===null||le===void 0?void 0:le.type)==="value-paren_group"&&G.value.group.group.open!==null&&G.value.group.group.close!==null}function M(G){var z;return((z=G.raws)===null||z===void 0?void 0:z.before)===""}function j(G){var z,U;return G.type==="value-comma_group"&&((z=G.groups)===null||z===void 0||(U=z[1])===null||U===void 0?void 0:U.type)==="value-colon"}function $(G){var z;return G.type==="value-paren_group"&&((z=G.groups)===null||z===void 0?void 0:z[0])&&j(G.groups[0])}function V(G){var z;let U=G.getValue();if(U.groups.length===0)return!1;let le=G.getParentNode(1);if(!$(U)&&!(le&&$(le)))return!1;let ge=a(G,"css-decl");return!!(ge!=null&&(z=ge.prop)!==null&&z!==void 0&&z.startsWith("$")||$(le)||le.type==="value-func")}function q(G){return G.type==="value-comment"&&G.inline}function Y(G){return G.type==="value-word"&&G.value==="#"}function H(G){return G.type==="value-word"&&G.value==="{"}function R(G){return G.type==="value-word"&&G.value==="}"}function Q(G){return["value-word","value-atword"].includes(G.type)}function ee(G){return(G==null?void 0:G.type)==="value-colon"}function te(G,z){if(!j(z))return!1;let{groups:U}=z,le=U.indexOf(G);return le===-1?!1:ee(U[le+1])}function oe(G){return G.value&&["not","and","or"].includes(G.value.toLowerCase())}function W(G){return G.type!=="value-func"?!1:t.has(G.value.toLowerCase())}function X(G){return/\/\//.test(G.split(/[\n\r]/).pop())}function ue(G){return(G==null?void 0:G.type)==="value-atword"&&G.value.startsWith("prettier-placeholder-")}function De(G,z){var U,le;if(((U=G.open)===null||U===void 0?void 0:U.value)!=="("||((le=G.close)===null||le===void 0?void 0:le.value)!==")"||G.groups.some(ge=>ge.type!=="value-comma_group"))return!1;if(z.type==="value-comma_group"){let ge=z.groups.indexOf(G)-1,Ae=z.groups[ge];if((Ae==null?void 0:Ae.type)==="value-word"&&Ae.value==="with")return!0}return!1}function ie(G){var z,U;return G.type==="value-paren_group"&&((z=G.open)===null||z===void 0?void 0:z.value)==="("&&((U=G.close)===null||U===void 0?void 0:U.value)===")"}n.exports={getAncestorCounter:s,getAncestorNode:a,getPropOfDeclNode:r,maybeToLowerCase:c,insideValueFunctionNode:y,insideICSSRuleNode:m,insideAtRuleNode:d,insideURLFunctionInImportAtRuleNode:p,isKeyframeAtRuleKeywords:o,isWideKeywords:i,isLastNode:h,isSCSSControlDirectiveNode:l,isDetachedRulesetDeclarationNode:w,isRelationalOperatorNode:F,isEqualityOperatorNode:g,isMultiplicationNode:B,isDivisionNode:I,isAdditionNode:k,isSubtractionNode:P,isModuloNode:C,isMathOperatorNode:D,isEachKeywordNode:S,isForKeywordNode:T,isURLFunctionNode:f,isIfElseKeywordNode:A,hasComposesNode:b,hasParensAroundNode:L,hasEmptyRawBefore:M,isDetachedRulesetCallNode:E,isTemplatePlaceholderNode:v,isTemplatePropNode:N,isPostcssSimpleVarNode:x,isKeyValuePairNode:j,isKeyValuePairInParenGroupNode:$,isKeyInValuePairNode:te,isSCSSMapItemNode:V,isInlineValueCommentNode:q,isHashNode:Y,isLeftCurlyBraceNode:H,isRightCurlyBraceNode:R,isWordNode:Q,isColonNode:ee,isMediaAndSupportsKeywords:oe,isColorAdjusterFuncNode:W,lastLineHasInlineComment:X,isAtWordPlaceholderNode:ue,isConfigurationNode:De,isParenGroupNode:ie}}}),nd=Z({"src/utils/line-column-to-index.js"(e,n){"use strict";re(),n.exports=function(t,s){let a=0;for(let r=0;r<t.line-1;++r)a=s.indexOf(`
71
- `,a)+1;return a+t.column}}}),ud=Z({"src/language-css/loc.js"(e,n){"use strict";re();var{skipEverythingButNewLine:t}=Tr(),s=it(),a=nd();function r(p,f){return typeof p.sourceIndex=="number"?p.sourceIndex:p.source?a(p.source.start,f)-1:null}function u(p,f){if(p.type==="css-comment"&&p.inline)return t(f,p.source.startOffset);let h=p.nodes&&s(p.nodes);return h&&p.source&&!p.source.end&&(p=h),p.source&&p.source.end?a(p.source.end,f):null}function i(p,f){p.source&&(p.source.startOffset=r(p,f),p.source.endOffset=u(p,f));for(let h in p){let w=p[h];h==="source"||!w||typeof w!="object"||(w.type==="value-root"||w.type==="value-unknown"?o(w,c(p),w.text||w.value):i(w,f))}}function o(p,f,h){p.source&&(p.source.startOffset=r(p,h)+f,p.source.endOffset=u(p,h)+f);for(let w in p){let T=p[w];w==="source"||!T||typeof T!="object"||o(T,f,h)}}function c(p){let f=p.source.startOffset;return typeof p.prop=="string"&&(f+=p.prop.length),p.type==="css-atrule"&&typeof p.name=="string"&&(f+=1+p.name.length+p.raws.afterName.match(/^\s*:?\s*/)[0].length),p.type!=="css-atrule"&&p.raws&&typeof p.raws.between=="string"&&(f+=p.raws.between.length),f}function y(p){let f="initial",h="initial",w,T=!1,A=[];for(let S=0;S<p.length;S++){let B=p[S];switch(f){case"initial":if(B==="'"){f="single-quotes";continue}if(B==='"'){f="double-quotes";continue}if((B==="u"||B==="U")&&p.slice(S,S+4).toLowerCase()==="url("){f="url",S+=3;continue}if(B==="*"&&p[S-1]==="/"){f="comment-block";continue}if(B==="/"&&p[S-1]==="/"){f="comment-inline",w=S-1;continue}continue;case"single-quotes":if(B==="'"&&p[S-1]!=="\\"&&(f=h,h="initial"),B===`
72
- `||B==="\r")return p;continue;case"double-quotes":if(B==='"'&&p[S-1]!=="\\"&&(f=h,h="initial"),B===`
73
- `||B==="\r")return p;continue;case"url":if(B===")"&&(f="initial"),B===`
74
- `||B==="\r")return p;if(B==="'"){f="single-quotes",h="url";continue}if(B==='"'){f="double-quotes",h="url";continue}continue;case"comment-block":B==="/"&&p[S-1]==="*"&&(f="initial");continue;case"comment-inline":(B==='"'||B==="'"||B==="*")&&(T=!0),(B===`
75
- `||B==="\r")&&(T&&A.push([w,S]),f="initial",T=!1);continue}}for(let[S,B]of A)p=p.slice(0,S)+p.slice(S,B).replace(/["'*]/g," ")+p.slice(B);return p}function m(p){return p.source.startOffset}function d(p){return p.source.endOffset}n.exports={locStart:m,locEnd:d,calculateLoc:i,replaceQuotesInInlineComments:y}}}),sd=Z({"src/language-css/utils/is-less-parser.js"(e,n){"use strict";re();function t(s){return s.parser==="css"||s.parser==="less"}n.exports=t}}),id=Z({"src/language-css/utils/is-scss.js"(e,n){"use strict";re();function t(s,a){return s==="less"||s==="scss"?s==="scss":/(?:\w\s*:\s*[^:}]+|#){|@import[^\n]+(?:url|,)/.test(a)}n.exports=t}}),ad=Z({"src/language-css/utils/css-units.evaluate.js"(e,n){n.exports={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"}}}),od=Z({"src/language-css/utils/print-unit.js"(e,n){"use strict";re();var t=ad();function s(a){let r=a.toLowerCase();return Object.prototype.hasOwnProperty.call(t,r)?t[r]:a}n.exports=s}}),ld=Z({"src/language-css/printer-postcss.js"(e,n){"use strict";re();var t=it(),{printNumber:s,printString:a,hasNewline:r,isFrontMatterNode:u,isNextLineEmpty:i,isNonEmptyArray:o}=Ue(),{builders:{join:c,line:y,hardline:m,softline:d,group:p,fill:f,indent:h,dedent:w,ifBreak:T,breakParent:A},utils:{removeLines:S,getDocParts:B}}=Oe(),I=Zm(),k=ed(),{insertPragma:P}=td(),{getAncestorNode:C,getPropOfDeclNode:D,maybeToLowerCase:g,insideValueFunctionNode:F,insideICSSRuleNode:l,insideAtRuleNode:E,insideURLFunctionInImportAtRuleNode:v,isKeyframeAtRuleKeywords:N,isWideKeywords:x,isLastNode:b,isSCSSControlDirectiveNode:L,isDetachedRulesetDeclarationNode:M,isRelationalOperatorNode:j,isEqualityOperatorNode:$,isMultiplicationNode:V,isDivisionNode:q,isAdditionNode:Y,isSubtractionNode:H,isMathOperatorNode:R,isEachKeywordNode:Q,isForKeywordNode:ee,isURLFunctionNode:te,isIfElseKeywordNode:oe,hasComposesNode:W,hasParensAroundNode:X,hasEmptyRawBefore:ue,isKeyValuePairNode:De,isKeyInValuePairNode:ie,isDetachedRulesetCallNode:G,isTemplatePlaceholderNode:z,isTemplatePropNode:U,isPostcssSimpleVarNode:le,isSCSSMapItemNode:ge,isInlineValueCommentNode:Ae,isHashNode:Ne,isLeftCurlyBraceNode:ke,isRightCurlyBraceNode:ce,isWordNode:pe,isColonNode:de,isMediaAndSupportsKeywords:ae,isColorAdjusterFuncNode:ve,lastLineHasInlineComment:K,isAtWordPlaceholderNode:he,isConfigurationNode:ye,isParenGroupNode:Ce}=rd(),{locStart:Ie,locEnd:Fe}=ud(),me=sd(),_=id(),J=od();function ne(be){return be.trailingComma==="es5"||be.trailingComma==="all"}function Ee(be,Le,qe){let se=be.getValue();if(!se)return"";if(typeof se=="string")return se;switch(se.type){case"front-matter":return[se.raw,m];case"css-root":{let He=We(be,Le,qe),Me=se.raws.after.trim();return[He,Me?" ".concat(Me):"",B(He).length>0?m:""]}case"css-comment":{let He=se.inline||se.raws.inline,Me=Le.originalText.slice(Ie(se),Fe(se));return He?Me.trimEnd():Me}case"css-rule":return[qe("selector"),se.important?" !important":"",se.nodes?[se.selector&&se.selector.type==="selector-unknown"&&K(se.selector.value)?y:" ","{",se.nodes.length>0?h([m,We(be,Le,qe)]):"",m,"}",M(se)?";":""]:";"];case"css-decl":{let He=be.getParentNode(),{between:Me}=se.raws,ze=Me.trim(),nt=ze===":",tt=W(se)?S(qe("value")):qe("value");return!nt&&K(ze)&&(tt=h([m,w(tt)])),[se.raws.before.replace(/[\s;]/g,""),l(be)?se.prop:g(se.prop),ze.startsWith("//")?" ":"",ze,se.extend?"":" ",me(Le)&&se.extend&&se.selector?["extend(",qe("selector"),")"]:"",tt,se.raws.important?se.raws.important.replace(/\s*!\s*important/i," !important"):se.important?" !important":"",se.raws.scssDefault?se.raws.scssDefault.replace(/\s*!default/i," !default"):se.scssDefault?" !default":"",se.raws.scssGlobal?se.raws.scssGlobal.replace(/\s*!global/i," !global"):se.scssGlobal?" !global":"",se.nodes?[" {",h([d,We(be,Le,qe)]),d,"}"]:U(se)&&!He.raws.semicolon&&Le.originalText[Fe(se)-1]!==";"?"":Le.__isHTMLStyleAttribute&&b(be,se)?T(";"):";"]}case"css-atrule":{let He=be.getParentNode(),Me=z(se)&&!He.raws.semicolon&&Le.originalText[Fe(se)-1]!==";";if(me(Le)){if(se.mixin)return[qe("selector"),se.important?" !important":"",Me?"":";"];if(se.function)return[se.name,qe("params"),Me?"":";"];if(se.variable)return["@",se.name,": ",se.value?qe("value"):"",se.raws.between.trim()?se.raws.between.trim()+" ":"",se.nodes?["{",h([se.nodes.length>0?d:"",We(be,Le,qe)]),d,"}"]:"",Me?"":";"]}return["@",G(se)||se.name.endsWith(":")?se.name:g(se.name),se.params?[G(se)?"":z(se)?se.raws.afterName===""?"":se.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(se.raws.afterName)?[m,m]:/^\s*\n/.test(se.raws.afterName)?m:" ":" ",qe("params")]:"",se.selector?h([" ",qe("selector")]):"",se.value?p([" ",qe("value"),L(se)?X(se)?" ":y:""]):se.name==="else"?" ":"",se.nodes?[L(se)?"":se.selector&&!se.selector.nodes&&typeof se.selector.value=="string"&&K(se.selector.value)||!se.selector&&typeof se.params=="string"&&K(se.params)?y:" ","{",h([se.nodes.length>0?d:"",We(be,Le,qe)]),d,"}"]:Me?"":";"]}case"media-query-list":{let He=[];return be.each(Me=>{let ze=Me.getValue();ze.type==="media-query"&&ze.value===""||He.push(qe())},"nodes"),p(h(c(y,He)))}case"media-query":return[c(" ",be.map(qe,"nodes")),b(be,se)?"":","];case"media-type":return je(Xe(se.value,Le));case"media-feature-expression":return se.nodes?["(",...be.map(qe,"nodes"),")"]:se.value;case"media-feature":return g(Xe(se.value.replace(/ +/g," "),Le));case"media-colon":return[se.value," "];case"media-value":return je(Xe(se.value,Le));case"media-keyword":return Xe(se.value,Le);case"media-url":return Xe(se.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),Le);case"media-unknown":return se.value;case"selector-root":return p([E(be,"custom-selector")?[C(be,"css-atrule").customSelector,y]:"",c([",",E(be,["extend","custom-selector","nest"])?y:m],be.map(qe,"nodes"))]);case"selector-selector":return p(h(be.map(qe,"nodes")));case"selector-comment":return se.value;case"selector-string":return Xe(se.value,Le);case"selector-tag":{let He=be.getParentNode(),Me=He&&He.nodes.indexOf(se),ze=Me&&He.nodes[Me-1];return[se.namespace?[se.namespace===!0?"":se.namespace.trim(),"|"]:"",ze.type==="selector-nesting"?se.value:je(N(be,se.value)?se.value.toLowerCase():se.value)]}case"selector-id":return["#",se.value];case"selector-class":return[".",je(Xe(se.value,Le))];case"selector-attribute":return["[",se.namespace?[se.namespace===!0?"":se.namespace.trim(),"|"]:"",se.attribute.trim(),se.operator?se.operator:"",se.value?we(Xe(se.value.trim(),Le),Le):"",se.insensitive?" i":"","]"];case"selector-combinator":{if(se.value==="+"||se.value===">"||se.value==="~"||se.value===">>>"){let ze=be.getParentNode();return[ze.type==="selector-selector"&&ze.nodes[0]===se?"":y,se.value,b(be,se)?"":" "]}let He=se.value.trim().startsWith("(")?y:"",Me=je(Xe(se.value.trim(),Le))||y;return[He,Me]}case"selector-universal":return[se.namespace?[se.namespace===!0?"":se.namespace.trim(),"|"]:"",se.value];case"selector-pseudo":return[g(se.value),o(se.nodes)?["(",c(", ",be.map(qe,"nodes")),")"]:""];case"selector-nesting":return se.value;case"selector-unknown":{let He=C(be,"css-rule");if(He&&He.isSCSSNesterProperty)return je(Xe(g(se.value),Le));let Me=be.getParentNode();if(Me.raws&&Me.raws.selector){let nt=Ie(Me),tt=nt+Me.raws.selector.length;return Le.originalText.slice(nt,tt).trim()}let ze=be.getParentNode(1);if(Me.type==="value-paren_group"&&ze&&ze.type==="value-func"&&ze.value==="selector"){let nt=Fe(Me.open)+1,tt=Ie(Me.close),pt=Le.originalText.slice(nt,tt).trim();return K(pt)?[A,pt]:pt}return se.value}case"value-value":case"value-root":return qe("group");case"value-comment":return Le.originalText.slice(Ie(se),Fe(se));case"value-comma_group":{let He=be.getParentNode(),Me=be.getParentNode(1),ze=D(be),nt=ze&&He.type==="value-value"&&(ze==="grid"||ze.startsWith("grid-template")),tt=C(be,"css-atrule"),pt=tt&&L(tt),O=se.groups.some(ut=>Ae(ut)),fe=be.map(qe,"groups"),Te=[],$e=F(be,"url"),Je=!1,Ze=!1;for(let ut=0;ut<se.groups.length;++ut){Te.push(fe[ut]);let rt=se.groups[ut-1],Ve=se.groups[ut],Ge=se.groups[ut+1],Zt=se.groups[ut+2];if($e){(Ge&&Y(Ge)||Y(Ve))&&Te.push(" ");continue}if(E(be,"forward")&&Ve.type==="value-word"&&Ve.value&&rt!==void 0&&rt.type==="value-word"&&rt.value==="as"&&Ge.type==="value-operator"&&Ge.value==="*"||!Ge||Ve.type==="value-word"&&Ve.value.endsWith("-")&&he(Ge))continue;let fo=Ve.type==="value-string"&&Ve.value.startsWith("#{"),Do=Je&&Ge.type==="value-string"&&Ge.value.endsWith("}");if(fo||Do){Je=!Je;continue}if(Je||de(Ve)||de(Ge)||Ve.type==="value-atword"&&Ve.value===""||Ve.value==="~"||Ve.value&&Ve.value.includes("\\")&&Ge&&Ge.type!=="value-comment"||rt&&rt.value&&rt.value.indexOf("\\")===rt.value.length-1&&Ve.type==="value-operator"&&Ve.value==="/"||Ve.value==="\\"||le(Ve,Ge)||Ne(Ve)||ke(Ve)||ce(Ge)||ke(Ge)&&ue(Ge)||ce(Ve)&&ue(Ge)||Ve.value==="--"&&Ne(Ge))continue;let Xn=R(Ve),Kn=R(Ge);if((Xn&&Ne(Ge)||Kn&&ce(Ve))&&ue(Ge)||!rt&&q(Ve)||F(be,"calc")&&(Y(Ve)||Y(Ge)||H(Ve)||H(Ge))&&ue(Ge))continue;let mo=(Y(Ve)||H(Ve))&&ut===0&&(Ge.type==="value-number"||Ge.isHex)&&Me&&ve(Me)&&!ue(Ge),Yn=Zt&&Zt.type==="value-func"||Zt&&pe(Zt)||Ve.type==="value-func"||pe(Ve),Qn=Ge.type==="value-func"||pe(Ge)||rt&&rt.type==="value-func"||rt&&pe(rt);if(!(!(V(Ge)||V(Ve))&&!F(be,"calc")&&!mo&&(q(Ge)&&!Yn||q(Ve)&&!Qn||Y(Ge)&&!Yn||Y(Ve)&&!Qn||H(Ge)||H(Ve))&&(ue(Ge)||Xn&&(!rt||rt&&R(rt))))){if(Ae(Ve)){if(He.type==="value-paren_group"){Te.push(w(m));continue}Te.push(m);continue}if(pt&&($(Ge)||j(Ge)||oe(Ge)||Q(Ve)||ee(Ve))){Te.push(" ");continue}if(tt&&tt.name.toLowerCase()==="namespace"){Te.push(" ");continue}if(nt){Ve.source&&Ge.source&&Ve.source.start.line!==Ge.source.start.line?(Te.push(m),Ze=!0):Te.push(" ");continue}if(Kn){Te.push(" ");continue}if(!(Ge&&Ge.value==="...")&&!(he(Ve)&&he(Ge)&&Fe(Ve)===Ie(Ge))){if(he(Ve)&&Ce(Ge)&&Fe(Ve)===Ie(Ge.open)){Te.push(d);continue}if(Ve.value==="with"&&Ce(Ge)){Te.push(" ");continue}Te.push(y)}}}return O&&Te.push(A),Ze&&Te.unshift(m),pt?p(h(Te)):v(be)?p(f(Te)):p(h(f(Te)))}case"value-paren_group":{let He=be.getParentNode();if(He&&te(He)&&(se.groups.length===1||se.groups.length>0&&se.groups[0].type==="value-comma_group"&&se.groups[0].groups.length>0&&se.groups[0].groups[0].type==="value-word"&&se.groups[0].groups[0].value.startsWith("data:")))return[se.open?qe("open"):"",c(",",be.map(qe,"groups")),se.close?qe("close"):""];if(!se.open){let $e=be.map(qe,"groups"),Je=[];for(let Ze=0;Ze<$e.length;Ze++)Ze!==0&&Je.push([",",y]),Je.push($e[Ze]);return p(h(f(Je)))}let Me=ge(be),ze=t(se.groups),nt=ze&&ze.type==="value-comment",tt=ie(se,He),pt=ye(se,He),O=pt||Me&&!tt,fe=pt||tt,Te=p([se.open?qe("open"):"",h([d,c([y],be.map(($e,Je)=>{let Ze=$e.getValue(),ut=Je===se.groups.length-1,rt=[qe(),ut?"":","];if(De(Ze)&&Ze.type==="value-comma_group"&&Ze.groups&&Ze.groups[0].type!=="value-paren_group"&&Ze.groups[2]&&Ze.groups[2].type==="value-paren_group"){let Ve=B(rt[0].contents.contents);return Ve[1]=p(Ve[1]),p(w(rt))}if(!ut&&Ze.type==="value-comma_group"&&o(Ze.groups)){let Ve=t(Ze.groups);Ve.source&&i(Le.originalText,Ve,Fe)&&rt.push(m)}return rt},"groups"))]),T(!nt&&_(Le.parser,Le.originalText)&&Me&&ne(Le)?",":""),d,se.close?qe("close"):""],{shouldBreak:O});return fe?w(Te):Te}case"value-func":return[se.value,E(be,"supports")&&ae(se)?" ":"",qe("group")];case"value-paren":return se.value;case"value-number":return[Re(se.value),J(se.unit)];case"value-operator":return se.value;case"value-word":return se.isColor&&se.isHex||x(se.value)?se.value.toLowerCase():se.value;case"value-colon":{let He=be.getParentNode(),Me=He&&He.groups.indexOf(se),ze=Me&&He.groups[Me-1];return[se.value,ze&&typeof ze.value=="string"&&t(ze.value)==="\\"||F(be,"url")?"":y]}case"value-comma":return[se.value," "];case"value-string":return a(se.raws.quote+se.value+se.raws.quote,Le);case"value-atword":return["@",se.value];case"value-unicode-range":return se.value;case"value-unknown":return se.value;default:throw new Error("Unknown postcss type ".concat(JSON.stringify(se.type)))}}function We(be,Le,qe){let se=[];return be.each((He,Me,ze)=>{let nt=ze[Me-1];if(nt&&nt.type==="css-comment"&&nt.text.trim()==="prettier-ignore"){let tt=He.getValue();se.push(Le.originalText.slice(Ie(tt),Fe(tt)))}else se.push(qe());Me!==ze.length-1&&(ze[Me+1].type==="css-comment"&&!r(Le.originalText,Ie(ze[Me+1]),{backwards:!0})&&!u(ze[Me])||ze[Me+1].type==="css-atrule"&&ze[Me+1].name==="else"&&ze[Me].type!=="css-comment"?se.push(" "):(se.push(Le.__isHTMLStyleAttribute?y:m),i(Le.originalText,He.getValue(),Fe)&&!u(ze[Me])&&se.push(m)))},"nodes"),se}var Be=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,Pe=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,Se=/[A-Za-z]+/g,Qe=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,xe=new RegExp(Be.source+"|(".concat(Qe.source,")?(").concat(Pe.source,")(").concat(Se.source,")?"),"g");function Xe(be,Le){return be.replace(Be,qe=>a(qe,Le))}function we(be,Le){let qe=Le.singleQuote?"'":'"';return be.includes('"')||be.includes("'")?be:qe+be+qe}function je(be){return be.replace(xe,(Le,qe,se,He,Me)=>!se&&He?Re(He)+g(Me||""):Le)}function Re(be){return s(be).replace(/\.0(?=$|e)/,"")}n.exports={print:Ee,embed:k,insertPragma:P,massageAstNode:I}}}),cd=Z({"src/language-css/options.js"(e,n){"use strict";re();var t=Lt();n.exports={singleQuote:t.singleQuote}}}),pd=Z({"src/language-css/parsers.js"(){re()}}),fd=Z({"node_modules/linguist-languages/data/CSS.json"(e,n){n.exports={name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css"],languageId:50}}}),Dd=Z({"node_modules/linguist-languages/data/PostCSS.json"(e,n){n.exports={name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",languageId:262764437}}}),md=Z({"node_modules/linguist-languages/data/Less.json"(e,n){n.exports={name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",languageId:198}}}),dd=Z({"node_modules/linguist-languages/data/SCSS.json"(e,n){n.exports={name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],languageId:329}}}),gd=Z({"src/language-css/index.js"(e,n){"use strict";re();var t=Tt(),s=ld(),a=cd(),r=pd(),u=[t(fd(),o=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"],extensions:[...o.extensions,".wxss"]})),t(Dd(),()=>({since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]})),t(md(),()=>({since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]})),t(dd(),()=>({since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}))],i={postcss:s};n.exports={languages:u,options:a,printers:i,parsers:r}}}),yd=Z({"src/language-handlebars/loc.js"(e,n){"use strict";re();function t(a){return a.loc.start.offset}function s(a){return a.loc.end.offset}n.exports={locStart:t,locEnd:s}}}),hd=Z({"src/language-handlebars/clean.js"(e,n){"use strict";re();function t(s,a){if(s.type==="TextNode"){let r=s.chars.trim();if(!r)return null;a.chars=r.replace(/[\t\n\f\r ]+/g," ")}s.type==="AttrNode"&&s.name.toLowerCase()==="class"&&delete a.value}t.ignoredProperties=new Set(["loc","selfClosing"]),n.exports=t}}),vd=Z({"vendors/html-void-elements.json"(e,n){n.exports={htmlVoidElements:["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"]}}}),Cd=Z({"src/language-handlebars/utils.js"(e,n){"use strict";re();var{htmlVoidElements:t}=vd(),s=it();function a(S){let B=S.getValue(),I=S.getParentNode(0);return!!(m(S,["ElementNode"])&&s(I.children)===B||m(S,["Block"])&&s(I.body)===B)}function r(S){return S.toUpperCase()===S}function u(S){return y(S,["ElementNode"])&&typeof S.tag=="string"&&!S.tag.startsWith(":")&&(r(S.tag[0])||S.tag.includes("."))}var i=new Set(t);function o(S){return i.has(S.tag)||u(S)&&S.children.every(B=>c(B))}function c(S){return y(S,["TextNode"])&&!/\S/.test(S.chars)}function y(S,B){return S&&B.includes(S.type)}function m(S,B){let I=S.getParentNode(0);return y(I,B)}function d(S,B){let I=h(S);return y(I,B)}function p(S,B){let I=w(S);return y(I,B)}function f(S,B){var I,k,P,C;let D=S.getValue(),g=(I=S.getParentNode(0))!==null&&I!==void 0?I:{},F=(k=(P=(C=g.children)!==null&&C!==void 0?C:g.body)!==null&&P!==void 0?P:g.parts)!==null&&k!==void 0?k:[],l=F.indexOf(D);return l!==-1&&F[l+B]}function h(S){let B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return f(S,-B)}function w(S){return f(S,1)}function T(S){return y(S,["MustacheCommentStatement"])&&typeof S.value=="string"&&S.value.trim()==="prettier-ignore"}function A(S){let B=S.getValue(),I=h(S,2);return T(B)||T(I)}n.exports={getNextNode:w,getPreviousNode:h,hasPrettierIgnore:A,isLastNodeOfSiblings:a,isNextNodeOfSomeType:p,isNodeOfSomeType:y,isParentOfSomeType:m,isPreviousNodeOfSomeType:d,isVoid:o,isWhitespaceNode:c}}}),Ed=Z({"src/language-handlebars/printer-glimmer.js"(e,n){"use strict";re();var{builders:{dedent:t,fill:s,group:a,hardline:r,ifBreak:u,indent:i,join:o,line:c,softline:y},utils:{getDocParts:m,replaceTextEndOfLine:d}}=Oe(),{getPreferredQuote:p,isNonEmptyArray:f}=Ue(),{locStart:h,locEnd:w}=yd(),T=hd(),{getNextNode:A,getPreviousNode:S,hasPrettierIgnore:B,isLastNodeOfSiblings:I,isNextNodeOfSomeType:k,isNodeOfSomeType:P,isParentOfSomeType:C,isPreviousNodeOfSomeType:D,isVoid:g,isWhitespaceNode:F}=Cd(),l=2;function E(K,he,ye){let Ce=K.getValue();if(!Ce)return"";if(B(K))return he.originalText.slice(h(Ce),w(Ce));let Ie=he.singleQuote?"'":'"';switch(Ce.type){case"Block":case"Program":case"Template":return a(K.map(ye,"body"));case"ElementNode":{let Fe=a(N(K,ye)),me=he.htmlWhitespaceSensitivity==="ignore"&&k(K,["ElementNode"])?y:"";if(g(Ce))return[Fe,me];let _=["</",Ce.tag,">"];return Ce.children.length===0?[Fe,i(_),me]:he.htmlWhitespaceSensitivity==="ignore"?[Fe,i(x(K,he,ye)),r,i(_),me]:[Fe,i(a(x(K,he,ye))),i(_),me]}case"BlockStatement":{let Fe=K.getParentNode(1);return Fe&&Fe.inverse&&Fe.inverse.body.length===1&&Fe.inverse.body[0]===Ce&&Fe.inverse.body[0].path.parts[0]==="if"?[ee(K,ye),ue(K,ye,he),De(K,ye,he)]:[R(K,ye),a([ue(K,ye,he),De(K,ye,he),te(K,ye,he)])]}case"ElementModifierStatement":return a(["{{",pe(K,ye),"}}"]);case"MustacheStatement":return a([L(Ce),pe(K,ye),M(Ce)]);case"SubExpression":return a(["(",ce(K,ye),y,")"]);case"AttrNode":{let Fe=Ce.value.type==="TextNode";if(Fe&&Ce.value.chars===""&&h(Ce.value)===w(Ce.value))return Ce.name;let _=Fe?p(Ce.value.chars,Ie).quote:Ce.value.type==="ConcatStatement"?p(Ce.value.parts.filter(ne=>ne.type==="TextNode").map(ne=>ne.chars).join(""),Ie).quote:"",J=ye("value");return[Ce.name,"=",_,Ce.name==="class"&&_?a(i(J)):J,_]}case"ConcatStatement":return K.map(ye,"parts");case"Hash":return o(c,K.map(ye,"pairs"));case"HashPair":return[Ce.key,"=",ye("value")];case"TextNode":{let Fe=Ce.chars.replace(/{{/g,"\\{{"),me=z(K);if(me){if(me==="class"){let xe=Fe.trim().split(/\s+/).join(" "),Xe=!1,we=!1;return C(K,["ConcatStatement"])&&(D(K,["MustacheStatement"])&&/^\s/.test(Fe)&&(Xe=!0),k(K,["MustacheStatement"])&&/\s$/.test(Fe)&&xe!==""&&(we=!0)),[Xe?c:"",xe,we?c:""]}return d(Fe)}let J=/^[\t\n\f\r ]*$/.test(Fe),ne=!S(K),Ee=!A(K);if(he.htmlWhitespaceSensitivity!=="ignore"){let xe=/^[\t\n\f\r ]*/,Xe=/[\t\n\f\r ]*$/,we=Ee&&C(K,["Template"]),je=ne&&C(K,["Template"]);if(J){if(je||we)return"";let se=[c],He=U(Fe);return He&&(se=Ae(He)),I(K)&&(se=se.map(Me=>t(Me))),se}let[Re]=Fe.match(xe),[be]=Fe.match(Xe),Le=[];if(Re){Le=[c];let se=U(Re);se&&(Le=Ae(se)),Fe=Fe.replace(xe,"")}let qe=[];if(be){if(!we){qe=[c];let se=U(be);se&&(qe=Ae(se)),I(K)&&(qe=qe.map(He=>t(He)))}Fe=Fe.replace(Xe,"")}return[...Le,s(ie(Fe)),...qe]}let We=U(Fe),Be=le(Fe),Pe=ge(Fe);if((ne||Ee)&&J&&C(K,["Block","ElementNode","Template"]))return"";J&&We?(Be=Math.min(We,l),Pe=0):(k(K,["BlockStatement","ElementNode"])&&(Pe=Math.max(Pe,1)),D(K,["BlockStatement","ElementNode"])&&(Be=Math.max(Be,1)));let Se="",Qe="";return Pe===0&&k(K,["MustacheStatement"])&&(Qe=" "),Be===0&&D(K,["MustacheStatement"])&&(Se=" "),ne&&(Be=0,Se=""),Ee&&(Pe=0,Qe=""),Fe=Fe.replace(/^[\t\n\f\r ]+/g,Se).replace(/[\t\n\f\r ]+$/,Qe),[...Ae(Be),s(ie(Fe)),...Ae(Pe)]}case"MustacheCommentStatement":{let Fe=h(Ce),me=w(Ce),_=he.originalText.charAt(Fe+2)==="~",J=he.originalText.charAt(me-3)==="~",ne=Ce.value.includes("}}")?"--":"";return["{{",_?"~":"","!",ne,Ce.value,ne,J?"~":"","}}"]}case"PathExpression":return Ce.original;case"BooleanLiteral":return String(Ce.value);case"CommentStatement":return["<!--",Ce.value,"-->"];case"StringLiteral":{if(ke(K)){let Fe=he.singleQuote?'"':"'";return Ne(Ce.value,Fe)}return Ne(Ce.value,Ie)}case"NumberLiteral":return String(Ce.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(Ce.type))}}function v(K,he){return h(K)-h(he)}function N(K,he){let ye=K.getValue(),Ce=["attributes","modifiers","comments"].filter(Fe=>f(ye[Fe])),Ie=Ce.flatMap(Fe=>ye[Fe]).sort(v);for(let Fe of Ce)K.each(me=>{let _=Ie.indexOf(me.getValue());Ie.splice(_,1,[c,he()])},Fe);return f(ye.blockParams)&&Ie.push(c,ve(ye)),["<",ye.tag,i(Ie),b(ye)]}function x(K,he,ye){let Ie=K.getValue().children.every(Fe=>F(Fe));return he.htmlWhitespaceSensitivity==="ignore"&&Ie?"":K.map((Fe,me)=>{let _=ye();return me===0&&he.htmlWhitespaceSensitivity==="ignore"?[y,_]:_},"children")}function b(K){return g(K)?u([y,"/>"],[" />",y]):u([y,">"],">")}function L(K){let he=K.escaped===!1?"{{{":"{{",ye=K.strip&&K.strip.open?"~":"";return[he,ye]}function M(K){let he=K.escaped===!1?"}}}":"}}";return[K.strip&&K.strip.close?"~":"",he]}function j(K){let he=L(K),ye=K.openStrip.open?"~":"";return[he,ye,"#"]}function $(K){let he=M(K);return[K.openStrip.close?"~":"",he]}function V(K){let he=L(K),ye=K.closeStrip.open?"~":"";return[he,ye,"/"]}function q(K){let he=M(K);return[K.closeStrip.close?"~":"",he]}function Y(K){let he=L(K),ye=K.inverseStrip.open?"~":"";return[he,ye]}function H(K){let he=M(K);return[K.inverseStrip.close?"~":"",he]}function R(K,he){let ye=K.getValue(),Ce=j(ye),Ie=$(ye),Fe=[de(K,he)],me=ae(K,he);if(me&&Fe.push(c,me),f(ye.program.blockParams)){let _=ve(ye.program);Fe.push(c,_)}return a([Ce,i(Fe),y,Ie])}function Q(K,he){return[he.htmlWhitespaceSensitivity==="ignore"?r:"",Y(K),"else",H(K)]}function ee(K,he){let ye=K.getParentNode(1);return[Y(ye),"else if ",ae(K,he),H(ye)]}function te(K,he,ye){let Ce=K.getValue();return ye.htmlWhitespaceSensitivity==="ignore"?[oe(Ce)?y:r,V(Ce),he("path"),q(Ce)]:[V(Ce),he("path"),q(Ce)]}function oe(K){return P(K,["BlockStatement"])&&K.program.body.every(he=>F(he))}function W(K){return X(K)&&K.inverse.body.length===1&&P(K.inverse.body[0],["BlockStatement"])&&K.inverse.body[0].path.parts[0]==="if"}function X(K){return P(K,["BlockStatement"])&&K.inverse}function ue(K,he,ye){let Ce=K.getValue();if(oe(Ce))return"";let Ie=he("program");return ye.htmlWhitespaceSensitivity==="ignore"?i([r,Ie]):i(Ie)}function De(K,he,ye){let Ce=K.getValue(),Ie=he("inverse"),Fe=ye.htmlWhitespaceSensitivity==="ignore"?[r,Ie]:Ie;return W(Ce)?Fe:X(Ce)?[Q(Ce,ye),i(Fe)]:""}function ie(K){return m(o(c,G(K)))}function G(K){return K.split(/[\t\n\f\r ]+/)}function z(K){for(let he=0;he<2;he++){let ye=K.getParentNode(he);if(ye&&ye.type==="AttrNode")return ye.name.toLowerCase()}}function U(K){return K=typeof K=="string"?K:"",K.split(`
76
- `).length-1}function le(K){K=typeof K=="string"?K:"";let he=(K.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return U(he)}function ge(K){K=typeof K=="string"?K:"";let he=(K.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return U(he)}function Ae(){let K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return Array.from({length:Math.min(K,l)}).fill(r)}function Ne(K,he){let{quote:ye,regex:Ce}=p(K,he);return[ye,K.replace(Ce,"\\".concat(ye)),ye]}function ke(K){let he=0,ye=K.getParentNode(he);for(;ye&&P(ye,["SubExpression"]);)he++,ye=K.getParentNode(he);return!!(ye&&P(K.getParentNode(he+1),["ConcatStatement"])&&P(K.getParentNode(he+2),["AttrNode"]))}function ce(K,he){let ye=de(K,he),Ce=ae(K,he);return Ce?i([ye,c,a(Ce)]):ye}function pe(K,he){let ye=de(K,he),Ce=ae(K,he);return Ce?[i([ye,c,Ce]),y]:ye}function de(K,he){return he("path")}function ae(K,he){let ye=K.getValue(),Ce=[];if(ye.params.length>0){let Ie=K.map(he,"params");Ce.push(...Ie)}if(ye.hash&&ye.hash.pairs.length>0){let Ie=he("hash");Ce.push(Ie)}return Ce.length===0?"":o(c,Ce)}function ve(K){return["as |",K.blockParams.join(" "),"|"]}n.exports={print:E,massageAstNode:T}}}),Fd=Z({"src/language-handlebars/parsers.js"(){re()}}),Ad=Z({"node_modules/linguist-languages/data/Handlebars.json"(e,n){n.exports={name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",languageId:155}}}),Sd=Z({"src/language-handlebars/index.js"(e,n){"use strict";re();var t=Tt(),s=Ed(),a=Fd(),r=[t(Ad(),()=>({since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}))],u={glimmer:s};n.exports={languages:r,printers:u,parsers:a}}}),xd=Z({"src/language-graphql/pragma.js"(e,n){"use strict";re();function t(a){return/^\s*#[^\S\n]*@(?:format|prettier)\s*(?:\n|$)/.test(a)}function s(a){return`# @format
87
+ `:"")+ls(r)}p();var Q1={"front-matter":[],"css-root":["nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},Ed=Q1;p();var Z1=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function eS(e,t){let r=Array.isArray(t)?t:[t],n=-1,u;for(;u=e.getParentNode(++n);)if(r.includes(u.type))return n;return-1}function Bt(e,t){let r=eS(e,t);return r===-1?null:e.getParentNode(r)}function Cd(e){var r;let t=Bt(e,"css-decl");return(r=t==null?void 0:t.prop)==null?void 0:r.toLowerCase()}var tS=new Set(["initial","inherit","unset","revert"]);function Ad(e){return tS.has(e.toLowerCase())}function Fd(e,t){let r=Bt(e,"css-atrule");return(r==null?void 0:r.name)&&r.name.toLowerCase().endsWith("keyframes")&&["from","to"].includes(t.toLowerCase())}function zr(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function ku(e,t){var n;let r=Bt(e,"value-func");return((n=r==null?void 0:r.value)==null?void 0:n.toLowerCase())===t}function xd(e){var n;let t=Bt(e,"css-rule"),r=(n=t==null?void 0:t.raws)==null?void 0:n.selector;return r&&(r.startsWith(":import")||r.startsWith(":export"))}function Lu(e,t){let r=Array.isArray(t)?t:[t],n=Bt(e,"css-atrule");return n&&r.includes(n.name.toLowerCase())}function Sd(e){let t=e.getValue(),r=Bt(e,"css-atrule");return(r==null?void 0:r.name)==="import"&&t.groups[0].value==="url"&&t.groups.length===2}function Td(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"}function $s(e,t){var n;let r=(n=e.getParentNode())==null?void 0:n.nodes;return r&&r.indexOf(t)===r.length-1}function bd(e){let{selector:t}=e;return t?typeof t=="string"&&/^@.+:.*$/.test(t)||t.value&&/^@.+:.*$/.test(t.value):!1}function Bd(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)}function vd(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)}function wd(e){return e.type==="value-word"&&e.value==="in"}function Vs(e){return e.type==="value-operator"&&e.value==="*"}function Nu(e){return e.type==="value-operator"&&e.value==="/"}function mr(e){return e.type==="value-operator"&&e.value==="+"}function Qr(e){return e.type==="value-operator"&&e.value==="-"}function rS(e){return e.type==="value-operator"&&e.value==="%"}function qs(e){return Vs(e)||Nu(e)||mr(e)||Qr(e)||rS(e)}function Pd(e){return e.type==="value-word"&&["==","!="].includes(e.value)}function Id(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)}function Us(e,t){return t.parser==="scss"&&e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)}function ol(e){var t;return((t=e.raws)==null?void 0:t.params)&&/^\(\s*\)$/.test(e.raws.params)}function cl(e){return e.name.startsWith("prettier-placeholder")}function kd(e){return e.prop.startsWith("@prettier-placeholder")}function Ld(e,t){return e.value==="$$"&&e.type==="value-func"&&(t==null?void 0:t.type)==="value-word"&&!t.raws.before}function Nd(e){var t,r;return((t=e.value)==null?void 0:t.type)==="value-root"&&((r=e.value.group)==null?void 0:r.type)==="value-value"&&e.prop.toLowerCase()==="composes"}function _d(e){var t,r,n;return((n=(r=(t=e.value)==null?void 0:t.group)==null?void 0:r.group)==null?void 0:n.type)==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null}function Zr(e){var t;return((t=e.raws)==null?void 0:t.before)===""}function Ws(e){var t,r;return e.type==="value-comma_group"&&((r=(t=e.groups)==null?void 0:t[1])==null?void 0:r.type)==="value-colon"}function al(e){var t;return e.type==="value-paren_group"&&((t=e.groups)==null?void 0:t[0])&&Ws(e.groups[0])}function Od(e,t){var i;if(t.parser!=="scss")return!1;let r=e.getValue();if(r.groups.length===0)return!1;let n=e.getParentNode(1);if(!al(r)&&!(n&&al(n)))return!1;let u=Bt(e,"css-decl");return!!((i=u==null?void 0:u.prop)!=null&&i.startsWith("$")||al(n)||n.type==="value-func")}function ll(e){return e.type==="value-comment"&&e.inline}function Gs(e){return e.type==="value-word"&&e.value==="#"}function pl(e){return e.type==="value-word"&&e.value==="{"}function Js(e){return e.type==="value-word"&&e.value==="}"}function _u(e){return["value-word","value-atword"].includes(e.type)}function Hs(e){return(e==null?void 0:e.type)==="value-colon"}function Rd(e,t){if(!Ws(t))return!1;let{groups:r}=t,n=r.indexOf(e);return n===-1?!1:Hs(r[n+1])}function Md(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function jd(e){return e.type!=="value-func"?!1:Z1.has(e.value.toLowerCase())}function Nn(e){return/\/\//.test(e.split(/[\n\r]/).pop())}function Ou(e){return(e==null?void 0:e.type)==="value-atword"&&e.value.startsWith("prettier-placeholder-")}function $d(e,t){var r,n;if(((r=e.open)==null?void 0:r.value)!=="("||((n=e.close)==null?void 0:n.value)!==")"||e.groups.some(u=>u.type!=="value-comma_group"))return!1;if(t.type==="value-comma_group"){let u=t.groups.indexOf(e)-1,i=t.groups[u];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function fl(e){var t,r;return e.type==="value-paren_group"&&((t=e.open)==null?void 0:t.value)==="("&&((r=e.close)==null?void 0:r.value)===")"}p();p();function Dr(e){return e.source.startOffset}function vt(e){return e.source.endOffset}p();var ml={em:"em",rem:"rem",ex:"ex",rex:"rex",cap:"cap",rcap:"rcap",ch:"ch",rch:"rch",ic:"ic",ric:"ric",lh:"lh",rlh:"rlh",vw:"vw",svw:"svw",lvw:"lvw",dvw:"dvw",vh:"vh",svh:"svh",lvh:"lvh",dvh:"dvh",vi:"vi",svi:"svi",lvi:"lvi",dvi:"dvi",vb:"vb",svb:"svb",lvb:"lvb",dvb:"dvb",vmin:"vmin",svmin:"svmin",lvmin:"lvmin",dvmin:"dvmin",vmax:"vmax",svmax:"svmax",lvmax:"lvmax",dvmax:"dvmax",cm:"cm",mm:"mm",q:"Q",in:"in",pt:"pt",pc:"pc",px:"px",deg:"deg",grad:"grad",rad:"rad",turn:"turn",s:"s",ms:"ms",hz:"Hz",khz:"kHz",dpi:"dpi",dpcm:"dpcm",dppx:"dppx",x:"x"};function uS(e){let t=e.toLowerCase();return Object.prototype.hasOwnProperty.call(ml,t)?ml[t]:e}var Vd=uS;function iS(e){return e.trailingComma==="es5"||e.trailingComma==="all"}function sS(e,t,r){var u;let n=e.getValue();if(!n)return"";if(typeof n=="string")return n;switch(n.type){case"front-matter":return[n.raw,d];case"css-root":{let i=Ru(e,t,r),s=n.raws.after.trim();return[i,s?` ${s}`:"",Ot(i).length>0?d:""]}case"css-comment":{let i=n.inline||n.raws.inline,s=t.originalText.slice(Dr(n),vt(n));return i?s.trimEnd():s}case"css-rule":return[r("selector"),n.important?" !important":"",n.nodes?[n.selector&&n.selector.type==="selector-unknown"&&Nn(n.selector.value)?x:n.selector?" ":"","{",n.nodes.length>0?F([d,Ru(e,t,r)]):"",d,"}",bd(n)?";":""]:";"];case"css-decl":{let i=e.getParentNode(),{between:s}=n.raws,a=s.trim(),o=a===":",c=typeof n.value=="string"&&/^ *$/.test(n.value),l=Nd(n)?hr(r("value")):r("value");return!o&&Nn(a)&&(l=F([d,Ze(l)])),[n.raws.before.replace(/[\s;]/g,""),xd(e)?n.prop:zr(n.prop),a.startsWith("//")?" ":"",a,n.extend||c?"":" ",t.parser==="less"&&n.extend&&n.selector?["extend(",r("selector"),")"]:"",l,n.raws.important?n.raws.important.replace(/\s*!\s*important/i," !important"):n.important?" !important":"",n.raws.scssDefault?n.raws.scssDefault.replace(/\s*!default/i," !default"):n.scssDefault?" !default":"",n.raws.scssGlobal?n.raws.scssGlobal.replace(/\s*!global/i," !global"):n.scssGlobal?" !global":"",n.nodes?[" {",F([A,Ru(e,t,r)]),A,"}"]:kd(n)&&!i.raws.semicolon&&t.originalText[vt(n)-1]!==";"?"":t.__isHTMLStyleAttribute&&$s(e,n)?N(";"):";"]}case"css-atrule":{let i=e.getParentNode(),s=cl(n)&&!i.raws.semicolon&&t.originalText[vt(n)-1]!==";";if(t.parser==="less"){if(n.mixin)return[r("selector"),n.important?" !important":"",s?"":";"];if(n.function)return[n.name,r("params"),s?"":";"];if(n.variable)return["@",n.name,": ",n.value?r("value"):"",n.raws.between.trim()?n.raws.between.trim()+" ":"",n.nodes?["{",F([n.nodes.length>0?A:"",Ru(e,t,r)]),A,"}"]:"",s?"":";"]}let a=n.name==="import"&&n.params&&n.params.type==="value-unknown"&&n.params.value.endsWith(";");return["@",ol(n)||n.name.endsWith(":")?n.name:zr(n.name),n.params?[ol(n)?"":cl(n)?n.raws.afterName===""?"":n.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(n.raws.afterName)?[d,d]:/^\s*\n/.test(n.raws.afterName)?d:" ":" ",r("params")]:"",n.selector?F([" ",r("selector")]):"",n.value?h([" ",r("value"),Us(n,t)?_d(n)?" ":x:""]):n.name==="else"?" ":"",n.nodes?[Us(n,t)?"":n.selector&&!n.selector.nodes&&typeof n.selector.value=="string"&&Nn(n.selector.value)||!n.selector&&typeof n.params=="string"&&Nn(n.params)?x:" ","{",F([n.nodes.length>0?A:"",Ru(e,t,r)]),A,"}"]:s||a?"":";"]}case"media-query-list":{let i=[];return e.each(s=>{let a=s.getValue();a.type==="media-query"&&a.value===""||i.push(r())},"nodes"),h(F(B(x,i)))}case"media-query":return[B(" ",e.map(r,"nodes")),$s(e,n)?"":","];case"media-type":return _n(Jt(n.value,t));case"media-feature-expression":return n.nodes?["(",...e.map(r,"nodes"),")"]:n.value;case"media-feature":return zr(Jt(n.value.replace(/ +/g," "),t));case"media-colon":return[n.value," "];case"media-value":return _n(Jt(n.value,t));case"media-keyword":return Jt(n.value,t);case"media-url":return Jt(n.value.replace(/^url\(\s+/gi,"url(").replace(/\s+\)$/g,")"),t);case"media-unknown":return n.value;case"selector-root":return h([Lu(e,"custom-selector")?[Bt(e,"css-atrule").customSelector,x]:"",B([",",Lu(e,["extend","custom-selector","nest"])?x:d],e.map(r,"nodes"))]);case"selector-selector":return h(F(e.map(r,"nodes")));case"selector-comment":return n.value;case"selector-string":return Jt(n.value,t);case"selector-tag":{let i=e.getParentNode(),s=i&&i.nodes.indexOf(n),a=s&&i.nodes[s-1];return[n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",a.type==="selector-nesting"?n.value:_n(Fd(e,n.value)?n.value.toLowerCase():n.value)]}case"selector-id":return["#",n.value];case"selector-class":return[".",_n(Jt(n.value,t))];case"selector-attribute":return["[",n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",n.attribute.trim(),(u=n.operator)!=null?u:"",n.value?pS(Jt(n.value.trim(),t),t):"",n.insensitive?" i":"","]"];case"selector-combinator":{if(n.value==="+"||n.value===">"||n.value==="~"||n.value===">>>"){let a=e.getParentNode();return[a.type==="selector-selector"&&a.nodes[0]===n?"":x,n.value,$s(e,n)?"":" "]}let i=n.value.trim().startsWith("(")?x:"",s=_n(Jt(n.value.trim(),t))||x;return[i,s]}case"selector-universal":return[n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",n.value];case"selector-pseudo":return[zr(n.value),O(n.nodes)?["(",B(", ",e.map(r,"nodes")),")"]:""];case"selector-nesting":return n.value;case"selector-unknown":{let i=Bt(e,"css-rule");if(i&&i.isSCSSNesterProperty)return _n(Jt(zr(n.value),t));let s=e.getParentNode();if(s.raws&&s.raws.selector){let o=Dr(s),c=o+s.raws.selector.length;return t.originalText.slice(o,c).trim()}let a=e.getParentNode(1);if(s.type==="value-paren_group"&&a&&a.type==="value-func"&&a.value==="selector"){let o=vt(s.open)+1,c=Dr(s.close),l=t.originalText.slice(o,c).trim();return Nn(l)?[te,l]:l}return n.value}case"value-value":case"value-root":return r("group");case"value-comment":return t.originalText.slice(Dr(n),vt(n));case"value-comma_group":{let i=e.getParentNode(),s=e.getParentNode(1),a=Cd(e),o=a&&i.type==="value-value"&&(a==="grid"||a.startsWith("grid-template")),c=Bt(e,"css-atrule"),l=c&&Us(c,t),f=n.groups.some(T=>ll(T)),m=e.map(r,"groups"),D=[],y=ku(e,"url"),E=!1,C=!1;for(let T=0;T<n.groups.length;++T){D.push(m[T]);let b=n.groups[T-1],S=n.groups[T],v=n.groups[T+1],w=n.groups[T+2];if(y){(v&&mr(v)||mr(S))&&D.push(" ");continue}if(Lu(e,"forward")&&S.type==="value-word"&&S.value&&b!==void 0&&b.type==="value-word"&&b.value==="as"&&v.type==="value-operator"&&v.value==="*"||!v||S.type==="value-word"&&S.value.endsWith("-")&&Ou(v))continue;let j=S.type==="value-string"&&S.value.startsWith("#{"),q=E&&v.type==="value-string"&&v.value.endsWith("}");if(j||q){E=!E;continue}if(E||Hs(S)||Hs(v)||S.type==="value-atword"&&S.value===""||S.value==="~"||S.value&&S.value.includes("\\")&&v&&v.type!=="value-comment"||b&&b.value&&b.value.indexOf("\\")===b.value.length-1&&S.type==="value-operator"&&S.value==="/"||S.value==="\\"||Ld(S,v)||Gs(S)||pl(S)||Js(v)||pl(v)&&Zr(v)||Js(S)&&Zr(v)||S.value==="--"&&Gs(v))continue;let K=qs(S),X=qs(v);if((K&&Gs(v)||X&&Js(S))&&Zr(v)||!b&&Nu(S)||ku(e,"calc")&&(mr(S)||mr(v)||Qr(S)||Qr(v))&&Zr(v))continue;let W=(mr(S)||Qr(S))&&T===0&&(v.type==="value-number"||v.isHex)&&s&&jd(s)&&!Zr(v),ce=w&&w.type==="value-func"||w&&_u(w)||S.type==="value-func"||_u(S),Be=v.type==="value-func"||_u(v)||b&&b.type==="value-func"||b&&_u(b);if(!(!(Vs(v)||Vs(S))&&!ku(e,"calc")&&!W&&(Nu(v)&&!ce||Nu(S)&&!Be||mr(v)&&!ce||mr(S)&&!Be||Qr(v)||Qr(S))&&(Zr(v)||K&&(!b||b&&qs(b))))){if(ll(S)){if(i.type==="value-paren_group"){D.push(Ze(d));continue}D.push(d);continue}if(l&&(Pd(v)||Id(v)||vd(v)||wd(S)||Bd(S))){D.push(" ");continue}if(c&&c.name.toLowerCase()==="namespace"){D.push(" ");continue}if(o){S.source&&v.source&&S.source.start.line!==v.source.start.line?(D.push(d),C=!0):D.push(" ");continue}if(X){D.push(" ");continue}if(!(v&&v.value==="...")&&!(Ou(S)&&Ou(v)&&vt(S)===Dr(v))){if(Ou(S)&&fl(v)&&vt(S)===Dr(v.open)){D.push(A);continue}if(S.value==="with"&&fl(v)){D.push(" ");continue}D.push(x)}}}return f&&D.push(te),C&&D.unshift(d),l?h(F(D)):Sd(e)?h(se(D)):h(F(se(D)))}case"value-paren_group":{let i=e.getParentNode();if(i&&Td(i)&&(n.groups.length===1||n.groups.length>0&&n.groups[0].type==="value-comma_group"&&n.groups[0].groups.length>0&&n.groups[0].groups[0].type==="value-word"&&n.groups[0].groups[0].value.startsWith("data:")))return[n.open?r("open"):"",B(",",e.map(r,"groups")),n.close?r("close"):""];if(!n.open){let y=e.map(r,"groups"),E=[];for(let C=0;C<y.length;C++)C!==0&&E.push([",",x]),E.push(y[C]);return h(F(se(E)))}let s=Od(e,t),a=I(n.groups),o=a&&a.type==="value-comment",c=Rd(n,i),l=$d(n,i),f=l||s&&!c,m=l||c,D=h([n.open?r("open"):"",F([A,B([x],e.map((y,E)=>{let C=y.getValue(),T=E===n.groups.length-1,b=[r(),T?"":","];if(Ws(C)&&C.type==="value-comma_group"&&C.groups&&C.groups[0].type!=="value-paren_group"&&C.groups[2]&&C.groups[2].type==="value-paren_group"){let S=Ot(b[0].contents.contents);return S[1]=h(S[1]),h(Ze(b))}if(!T&&C.type==="value-comma_group"&&O(C.groups)){let S=I(C.groups);S.source&&Fr(t.originalText,S,vt)&&b.push(d)}return b},"groups"))]),N(!o&&t.parser==="scss"&&s&&iS(t)?",":""),A,n.close?r("close"):""],{shouldBreak:f});return m?Ze(D):D}case"value-func":return[n.value,Lu(e,"supports")&&Md(n)?" ":"",r("group")];case"value-paren":return n.value;case"value-number":return[Ud(n.value),Vd(n.unit)];case"value-operator":return n.value;case"value-word":return n.isColor&&n.isHex||Ad(n.value)?n.value.toLowerCase():n.value;case"value-colon":{let i=e.getParentNode(),s=i&&i.groups.indexOf(n),a=s&&i.groups[s-1];return[n.value,a&&typeof a.value=="string"&&I(a.value)==="\\"||ku(e,"url")?"":x]}case"value-comma":return[n.value," "];case"value-string":return Vt(n.raws.quote+n.value+n.raws.quote,t);case"value-atword":return["@",n.value];case"value-unicode-range":return n.value;case"value-unknown":return n.value;default:throw new Error(`Unknown postcss type ${JSON.stringify(n.type)}`)}}function Ru(e,t,r){let n=[];return e.each((u,i,s)=>{let a=s[i-1];if(a&&a.type==="css-comment"&&a.text.trim()==="prettier-ignore"){let o=u.getValue();n.push(t.originalText.slice(Dr(o),vt(o)))}else n.push(r());i!==s.length-1&&(s[i+1].type==="css-comment"&&!ee(t.originalText,Dr(s[i+1]),{backwards:!0})&&!Ue(s[i])||s[i+1].type==="css-atrule"&&s[i+1].name==="else"&&s[i].type!=="css-comment"?n.push(" "):(n.push(t.__isHTMLStyleAttribute?x:d),Fr(t.originalText,u.getValue(),vt)&&!Ue(s[i])&&n.push(d)))},"nodes"),n}var qd=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,aS=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,oS=/[A-Za-z]+/g,cS=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,lS=new RegExp(qd.source+`|(${cS.source})?(${aS.source})(${oS.source})?`,"g");function Jt(e,t){return e.replace(qd,r=>Vt(r,t))}function pS(e,t){let r=t.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:r+e+r}function _n(e){return e.replace(lS,(t,r,n,u,i)=>!n&&u?Ud(u)+zr(i||""):t)}function Ud(e){return qe(e).replace(/\.0(?=$|e)/,"")}var fS={print:sS,embed:gd,insertPragma:hd,massageAstNode:yd,getVisitorKeys:Ie(Ed)},Wd=fS;var Gd=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],since:"1.4.0",parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",since:"1.4.0",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",since:"1.4.0",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],since:"1.4.0",parsers:["scss"],vscodeLanguageIds:["scss"]}];p();var DS={singleQuote:Ee.singleQuote},Jd=DS;p();var Hd=void 0;var dS={postcss:Wd};var ra={};Ce(ra,{languages:()=>yy,parsers:()=>gy,printers:()=>jS});p();p();p();function On(e){return e.loc.start.offset}function Ks(e){return e.loc.end.offset}p();function Yd(e,t){if(e.type==="TextNode"){let r=e.chars.trim();if(!r)return null;t.chars=r.replace(/[\t\n\f\r ]+/g," ")}e.type==="AttrNode"&&e.name.toLowerCase()==="class"&&delete t.value}Yd.ignoredProperties=new Set(["loc","selfClosing"]);var Kd=Yd;p();p();var Xd=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","isindex","keygen","link","menuitem","meta","nextid","param","source","track","wbr"];function Dl(e){let t=e.getValue(),r=e.getParentNode(0);return!!(en(e,["ElementNode"])&&I(r.children)===t||en(e,["Block"])&&I(r.body)===t)}function yS(e){return e.toUpperCase()===e}function gS(e){return at(e,["ElementNode"])&&typeof e.tag=="string"&&!e.tag.startsWith(":")&&(yS(e.tag[0])||e.tag.includes("."))}var hS=new Set(Xd);function dl(e){return hS.has(e.tag)||gS(e)&&e.children.every(t=>Xs(t))}function Xs(e){return at(e,["TextNode"])&&!/\S/.test(e.chars)}function at(e,t){return e&&t.includes(e.type)}function en(e,t){let r=e.getParentNode(0);return at(r,t)}function zs(e,t){let r=Qs(e);return at(r,t)}function Mu(e,t){let r=yl(e);return at(r,t)}function Qd(e,t){var s,a,o,c;let r=e.getValue(),n=(s=e.getParentNode(0))!=null?s:{},u=(c=(o=(a=n.children)!=null?a:n.body)!=null?o:n.parts)!=null?c:[],i=u.indexOf(r);return i!==-1&&u[i+t]}function Qs(e,t=1){return Qd(e,-t)}function yl(e){return Qd(e,1)}function zd(e){return at(e,["MustacheCommentStatement"])&&typeof e.value=="string"&&e.value.trim()==="prettier-ignore"}function Zd(e){let t=e.getValue(),r=Qs(e,2);return zd(t)||zd(r)}var ey={Program:["body"],Template:["body"],Block:["body"],MustacheStatement:["path","params","hash"],BlockStatement:["path","params","hash","program","inverse"],ElementModifierStatement:["path","params","hash"],PartialStatement:["name","params","hash"],CommentStatement:[],MustacheCommentStatement:[],ElementNode:["attributes","modifiers","children","comments"],AttrNode:["value"],TextNode:[],ConcatStatement:["parts"],SubExpression:["path","params","hash"],PathExpression:[],PathHead:[],StringLiteral:[],BooleanLiteral:[],NumberLiteral:[],NullLiteral:[],UndefinedLiteral:[],Hash:["pairs"],HashPair:["value"],NamedBlock:["attributes","modifiers","children","comments"],SimpleElement:["attributes","modifiers","children","comments"],Component:["head","attributes","modifiers","children","comments"]};var cy=2;function CS(e,t,r){let n=e.getValue();if(!n)return"";if(Zd(e))return t.originalText.slice(On(n),Ks(n));let u=t.singleQuote?"'":'"';switch(n.type){case"Block":case"Program":case"Template":return h(e.map(r,"body"));case"ElementNode":{let i=h(FS(e,r)),s=t.htmlWhitespaceSensitivity==="ignore"&&Mu(e,["ElementNode"])?A:"";if(dl(n))return[i,s];let a=["</",n.tag,">"];return n.children.length===0?[i,F(a),s]:t.htmlWhitespaceSensitivity==="ignore"?[i,F(ty(e,t,r)),d,F(a),s]:[i,F(h(ty(e,t,r))),F(a),s]}case"BlockStatement":{let i=e.getParentNode(1);return i&&i.inverse&&i.inverse.body.length===1&&i.inverse.body[0]===n&&i.inverse.body[0].path.parts[0]==="if"?[vS(e,r),uy(e,r,t),iy(e,r,t)]:[bS(e,r),h([uy(e,r,t),iy(e,r,t),wS(e,r,t)])]}case"ElementModifierStatement":return h(["{{",oy(e,r),"}}"]);case"MustacheStatement":return h([Zs(n),oy(e,r),ea(n)]);case"SubExpression":return h(["(",OS(e,r),A,")"]);case"AttrNode":{let i=n.value.type==="TextNode";if(i&&n.value.chars===""&&On(n.value)===Ks(n.value))return n.name;let a=i?Or(n.value.chars,u).quote:n.value.type==="ConcatStatement"?Or(n.value.parts.filter(c=>c.type==="TextNode").map(c=>c.chars).join(""),u).quote:"",o=r("value");return[n.name,"=",a,n.name==="class"&&a?h(F(o)):o,a]}case"ConcatStatement":return e.map(r,"parts");case"Hash":return B(x,e.map(r,"pairs"));case"HashPair":return[n.key,"=",r("value")];case"TextNode":{let i=n.chars.replace(/{{/g,"\\{{"),s=kS(e);if(s){if(s==="class"){let C=i.trim().split(/\s+/).join(" "),T=!1,b=!1;return en(e,["ConcatStatement"])&&(zs(e,["MustacheStatement"])&&/^\s/.test(i)&&(T=!0),Mu(e,["MustacheStatement"])&&/\s$/.test(i)&&C!==""&&(b=!0)),[T?x:"",C,b?x:""]}return z(i)}let o=/^[\t\n\f\r ]*$/.test(i),c=!Qs(e),l=!yl(e);if(t.htmlWhitespaceSensitivity!=="ignore"){let C=/^[\t\n\f\r ]*/,T=/[\t\n\f\r ]*$/,b=l&&en(e,["Template"]),S=c&&en(e,["Template"]);if(o){if(S||b)return"";let K=[x],X=Rn(i);return X&&(K=ju(X)),Dl(e)&&(K=K.map(W=>Ze(W))),K}let[v]=i.match(C),[w]=i.match(T),j=[];if(v){j=[x];let K=Rn(v);K&&(j=ju(K)),i=i.replace(C,"")}let q=[];if(w){if(!b){q=[x];let K=Rn(w);K&&(q=ju(K)),Dl(e)&&(q=q.map(X=>Ze(X)))}i=i.replace(T,"")}return[...j,se(sy(i)),...q]}let f=Rn(i),m=LS(i),D=NS(i);if((c||l)&&o&&en(e,["Block","ElementNode","Template"]))return"";o&&f?(m=Math.min(f,cy),D=0):(Mu(e,["BlockStatement","ElementNode"])&&(D=Math.max(D,1)),zs(e,["BlockStatement","ElementNode"])&&(m=Math.max(m,1)));let y="",E="";return D===0&&Mu(e,["MustacheStatement"])&&(E=" "),m===0&&zs(e,["MustacheStatement"])&&(y=" "),c&&(m=0,y=""),l&&(D=0,E=""),i=i.replace(/^[\t\n\f\r ]+/g,y).replace(/[\t\n\f\r ]+$/,E),[...ju(m),se(sy(i)),...ju(D)]}case"MustacheCommentStatement":{let i=On(n),s=Ks(n),a=t.originalText.charAt(i+2)==="~",o=t.originalText.charAt(s-3)==="~",c=n.value.includes("}}")?"--":"";return["{{",a?"~":"","!",c,n.value,c,o?"~":"","}}"]}case"PathExpression":return n.original;case"BooleanLiteral":return String(n.value);case"CommentStatement":return["<!--",n.value,"-->"];case"StringLiteral":{if(_S(e)){let i=t.singleQuote?'"':"'";return ay(n.value,i)}return ay(n.value,u)}case"NumberLiteral":return String(n.value);case"UndefinedLiteral":return"undefined";case"NullLiteral":return"null";default:throw new Error("unknown glimmer type: "+JSON.stringify(n.type))}}function AS(e,t){return On(e)-On(t)}function FS(e,t){let r=e.getValue(),n=["attributes","modifiers","comments"].filter(i=>O(r[i])),u=n.flatMap(i=>r[i]).sort(AS);for(let i of n)e.each(s=>{let a=u.indexOf(s.getValue());u.splice(a,1,[x,t()])},i);return O(r.blockParams)&&u.push(x,Dy(r)),["<",r.tag,F(u),xS(r)]}function ty(e,t,r){let u=e.getValue().children.every(i=>Xs(i));return t.htmlWhitespaceSensitivity==="ignore"&&u?"":e.map((i,s)=>{let a=r();return s===0&&t.htmlWhitespaceSensitivity==="ignore"?[A,a]:a},"children")}function xS(e){return dl(e)?N([A,"/>"],[" />",A]):N([A,">"],">")}function Zs(e){let t=e.escaped===!1?"{{{":"{{",r=e.strip&&e.strip.open?"~":"";return[t,r]}function ea(e){let t=e.escaped===!1?"}}}":"}}";return[e.strip&&e.strip.close?"~":"",t]}function SS(e){let t=Zs(e),r=e.openStrip.open?"~":"";return[t,r,"#"]}function TS(e){let t=ea(e);return[e.openStrip.close?"~":"",t]}function ry(e){let t=Zs(e),r=e.closeStrip.open?"~":"";return[t,r,"/"]}function ny(e){let t=ea(e);return[e.closeStrip.close?"~":"",t]}function ly(e){let t=Zs(e),r=e.inverseStrip.open?"~":"";return[t,r]}function py(e){let t=ea(e);return[e.inverseStrip.close?"~":"",t]}function bS(e,t){let r=e.getValue(),n=SS(r),u=TS(r),i=[gl(e,t)],s=ta(e,t);if(s&&i.push(x,s),O(r.program.blockParams)){let a=Dy(r.program);i.push(x,a)}return h([n,F(i),A,u])}function BS(e,t){return[t.htmlWhitespaceSensitivity==="ignore"?d:"",ly(e),"else",py(e)]}function vS(e,t){let r=e.getParentNode(1);return[ly(r),"else if ",ta(e,t),py(r)]}function wS(e,t,r){let n=e.getValue();return r.htmlWhitespaceSensitivity==="ignore"?[fy(n)?A:d,ry(n),t("path"),ny(n)]:[ry(n),t("path"),ny(n)]}function fy(e){return at(e,["BlockStatement"])&&e.program.body.every(t=>Xs(t))}function PS(e){return my(e)&&e.inverse.body.length===1&&at(e.inverse.body[0],["BlockStatement"])&&e.inverse.body[0].path.parts[0]==="if"}function my(e){return at(e,["BlockStatement"])&&e.inverse}function uy(e,t,r){let n=e.getValue();if(fy(n))return"";let u=t("program");return r.htmlWhitespaceSensitivity==="ignore"?F([d,u]):F(u)}function iy(e,t,r){let n=e.getValue(),u=t("inverse"),i=r.htmlWhitespaceSensitivity==="ignore"?[d,u]:u;return PS(n)?i:my(n)?[BS(n,r),F(i)]:""}function sy(e){return B(x,IS(e))}function IS(e){return e.split(/[\t\n\f\r ]+/)}function kS(e){for(let t=0;t<2;t++){let r=e.getParentNode(t);if(r&&r.type==="AttrNode")return r.name.toLowerCase()}}function Rn(e){return e=typeof e=="string"?e:"",e.split(`
88
+ `).length-1}function LS(e){e=typeof e=="string"?e:"";let t=(e.match(/^([^\S\n\r]*[\n\r])+/g)||[])[0]||"";return Rn(t)}function NS(e){e=typeof e=="string"?e:"";let t=(e.match(/([\n\r][^\S\n\r]*)+$/g)||[])[0]||"";return Rn(t)}function ju(e=0){return Array.from({length:Math.min(e,cy)}).fill(d)}function ay(e,t){let{quote:r,regex:n}=Or(e,t);return[r,e.replace(n,`\\${r}`),r]}function _S(e){let t=0,r=e.getParentNode(t);for(;r&&at(r,["SubExpression"]);)t++,r=e.getParentNode(t);return!!(r&&at(e.getParentNode(t+1),["ConcatStatement"])&&at(e.getParentNode(t+2),["AttrNode"]))}function OS(e,t){let r=gl(e,t),n=ta(e,t);return n?F([r,x,h(n)]):r}function oy(e,t){let r=gl(e,t),n=ta(e,t);return n?[F([r,x,n]),A]:r}function gl(e,t){return t("path")}function ta(e,t){let r=e.getValue(),n=[];if(r.params.length>0){let u=e.map(t,"params");n.push(...u)}if(r.hash&&r.hash.pairs.length>0){let u=t("hash");n.push(u)}return n.length===0?"":B(x,n)}function Dy(e){return["as |",e.blockParams.join(" "),"|"]}var RS={print:CS,massageAstNode:Kd,getVisitorKeys:Ie(ey)},dy=RS;var yy=[{linguistLanguageId:155,name:"Handlebars",type:"markup",color:"#f7931e",aliases:["hbs","htmlbars"],extensions:[".handlebars",".hbs"],tmScope:"text.html.handlebars",aceMode:"handlebars",since:"2.3.0",parsers:["glimmer"],vscodeLanguageIds:["handlebars"]}];p();var gy=void 0;var jS={glimmer:dy};var na={};Ce(na,{languages:()=>Sy,options:()=>Ty,parsers:()=>by,printers:()=>YS});p();p();p();function hy(e){return`# @format
77
89
 
78
- `+a}n.exports={hasPragma:t,insertPragma:s}}}),bd=Z({"src/language-graphql/loc.js"(e,n){"use strict";re();function t(a){return typeof a.start=="number"?a.start:a.loc&&a.loc.start}function s(a){return typeof a.end=="number"?a.end:a.loc&&a.loc.end}n.exports={locStart:t,locEnd:s}}}),Td=Z({"src/language-graphql/printer-graphql.js"(e,n){"use strict";re();var{builders:{join:t,hardline:s,line:a,softline:r,group:u,indent:i,ifBreak:o}}=Oe(),{isNextLineEmpty:c,isNonEmptyArray:y}=Ue(),{insertPragma:m}=xd(),{locStart:d,locEnd:p}=bd();function f(k,P,C){let D=k.getValue();if(!D)return"";if(typeof D=="string")return D;switch(D.kind){case"Document":{let g=[];return k.each((F,l,E)=>{g.push(C()),l!==E.length-1&&(g.push(s),c(P.originalText,F.getValue(),p)&&g.push(s))},"definitions"),[...g,s]}case"OperationDefinition":{let g=P.originalText[d(D)]!=="{",F=Boolean(D.name);return[g?D.operation:"",g&&F?[" ",C("name")]:"",g&&!F&&y(D.variableDefinitions)?" ":"",y(D.variableDefinitions)?u(["(",i([r,t([o("",", "),r],k.map(C,"variableDefinitions"))]),r,")"]):"",h(k,C,D),D.selectionSet?!g&&!F?"":" ":"",C("selectionSet")]}case"FragmentDefinition":return["fragment ",C("name"),y(D.variableDefinitions)?u(["(",i([r,t([o("",", "),r],k.map(C,"variableDefinitions"))]),r,")"]):""," on ",C("typeCondition"),h(k,C,D)," ",C("selectionSet")];case"SelectionSet":return["{",i([s,t(s,w(k,P,C,"selections"))]),s,"}"];case"Field":return u([D.alias?[C("alias"),": "]:"",C("name"),D.arguments.length>0?u(["(",i([r,t([o("",", "),r],w(k,P,C,"arguments"))]),r,")"]):"",h(k,C,D),D.selectionSet?" ":"",C("selectionSet")]);case"Name":return D.value;case"StringValue":{if(D.block){let g=D.value.replace(/"""/g,"\\$&").split(`
79
- `);return g.length===1&&(g[0]=g[0].trim()),g.every(F=>F==="")&&(g.length=0),t(s,['"""',...g,'"""'])}return['"',D.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return D.value;case"BooleanValue":return D.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",C("name")];case"ListValue":return u(["[",i([r,t([o("",", "),r],k.map(C,"values"))]),r,"]"]);case"ObjectValue":return u(["{",P.bracketSpacing&&D.fields.length>0?" ":"",i([r,t([o("",", "),r],k.map(C,"fields"))]),r,o("",P.bracketSpacing&&D.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[C("name"),": ",C("value")];case"Directive":return["@",C("name"),D.arguments.length>0?u(["(",i([r,t([o("",", "),r],w(k,P,C,"arguments"))]),r,")"]):""];case"NamedType":return C("name");case"VariableDefinition":return[C("variable"),": ",C("type"),D.defaultValue?[" = ",C("defaultValue")]:"",h(k,C,D)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[C("description"),D.description?s:"",D.kind==="ObjectTypeExtension"?"extend ":"","type ",C("name"),D.interfaces.length>0?[" implements ",...S(k,P,C)]:"",h(k,C,D),D.fields.length>0?[" {",i([s,t(s,w(k,P,C,"fields"))]),s,"}"]:""];case"FieldDefinition":return[C("description"),D.description?s:"",C("name"),D.arguments.length>0?u(["(",i([r,t([o("",", "),r],w(k,P,C,"arguments"))]),r,")"]):"",": ",C("type"),h(k,C,D)];case"DirectiveDefinition":return[C("description"),D.description?s:"","directive ","@",C("name"),D.arguments.length>0?u(["(",i([r,t([o("",", "),r],w(k,P,C,"arguments"))]),r,")"]):"",D.repeatable?" repeatable":""," on ",t(" | ",k.map(C,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[C("description"),D.description?s:"",D.kind==="EnumTypeExtension"?"extend ":"","enum ",C("name"),h(k,C,D),D.values.length>0?[" {",i([s,t(s,w(k,P,C,"values"))]),s,"}"]:""];case"EnumValueDefinition":return[C("description"),D.description?s:"",C("name"),h(k,C,D)];case"InputValueDefinition":return[C("description"),D.description?D.description.block?s:a:"",C("name"),": ",C("type"),D.defaultValue?[" = ",C("defaultValue")]:"",h(k,C,D)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[C("description"),D.description?s:"",D.kind==="InputObjectTypeExtension"?"extend ":"","input ",C("name"),h(k,C,D),D.fields.length>0?[" {",i([s,t(s,w(k,P,C,"fields"))]),s,"}"]:""];case"SchemaExtension":return["extend schema",h(k,C,D),...D.operationTypes.length>0?[" {",i([s,t(s,w(k,P,C,"operationTypes"))]),s,"}"]:[]];case"SchemaDefinition":return[C("description"),D.description?s:"","schema",h(k,C,D)," {",D.operationTypes.length>0?i([s,t(s,w(k,P,C,"operationTypes"))]):"",s,"}"];case"OperationTypeDefinition":return[C("operation"),": ",C("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[C("description"),D.description?s:"",D.kind==="InterfaceTypeExtension"?"extend ":"","interface ",C("name"),D.interfaces.length>0?[" implements ",...S(k,P,C)]:"",h(k,C,D),D.fields.length>0?[" {",i([s,t(s,w(k,P,C,"fields"))]),s,"}"]:""];case"FragmentSpread":return["...",C("name"),h(k,C,D)];case"InlineFragment":return["...",D.typeCondition?[" on ",C("typeCondition")]:"",h(k,C,D)," ",C("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return u([C("description"),D.description?s:"",u([D.kind==="UnionTypeExtension"?"extend ":"","union ",C("name"),h(k,C,D),D.types.length>0?[" =",o(""," "),i([o([a," "]),t([a,"| "],k.map(C,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[C("description"),D.description?s:"",D.kind==="ScalarTypeExtension"?"extend ":"","scalar ",C("name"),h(k,C,D)];case"NonNullType":return[C("type"),"!"];case"ListType":return["[",C("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(D.kind))}}function h(k,P,C){if(C.directives.length===0)return"";let D=t(a,k.map(P,"directives"));return C.kind==="FragmentDefinition"||C.kind==="OperationDefinition"?u([a,D]):[" ",u(i([r,D]))]}function w(k,P,C,D){return k.map((g,F,l)=>{let E=C();return F<l.length-1&&c(P.originalText,g.getValue(),p)?[E,s]:E},D)}function T(k){return k.kind&&k.kind!=="Comment"}function A(k){let P=k.getValue();if(P.kind==="Comment")return"#"+P.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(P))}function S(k,P,C){let D=k.getNode(),g=[],{interfaces:F}=D,l=k.map(E=>C(E),"interfaces");for(let E=0;E<F.length;E++){let v=F[E];g.push(l[E]);let N=F[E+1];if(N){let x=P.originalText.slice(v.loc.end,N.loc.start),b=x.includes("#"),L=x.replace(/#.*/g,"").trim();g.push(L===","?",":" &",b?a:" ")}}return g}function B(k,P){k.kind==="StringValue"&&k.block&&!k.value.includes(`
80
- `)&&(P.value=P.value.trim())}B.ignoredProperties=new Set(["loc","comments"]);function I(k){var P;let C=k.getValue();return C==null||(P=C.comments)===null||P===void 0?void 0:P.some(D=>D.value.trim()==="prettier-ignore")}n.exports={print:f,massageAstNode:B,hasPrettierIgnore:I,insertPragma:m,printComment:A,canAttachComment:T}}}),Bd=Z({"src/language-graphql/options.js"(e,n){"use strict";re();var t=Lt();n.exports={bracketSpacing:t.bracketSpacing}}}),Nd=Z({"src/language-graphql/parsers.js"(){re()}}),wd=Z({"node_modules/linguist-languages/data/GraphQL.json"(e,n){n.exports={name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",languageId:139}}}),_d=Z({"src/language-graphql/index.js"(e,n){"use strict";re();var t=Tt(),s=Td(),a=Bd(),r=Nd(),u=[t(wd(),()=>({since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}))],i={graphql:s};n.exports={languages:u,options:a,printers:i,parsers:r}}}),oo=Z({"src/language-markdown/loc.js"(e,n){"use strict";re();function t(a){return a.position.start.offset}function s(a){return a.position.end.offset}n.exports={locStart:t,locEnd:s}}}),Pd=Z({"src/language-markdown/constants.evaluate.js"(e,n){n.exports={cjkPattern:"(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",kPattern:"[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",punctuationPattern:"[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]"}}}),Un=Z({"src/language-markdown/utils.js"(e,n){"use strict";re();var{getLast:t}=Ue(),{locStart:s,locEnd:a}=oo(),{cjkPattern:r,kPattern:u,punctuationPattern:i}=Pd(),o=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],c=[...o,"tableCell","paragraph","heading"],y=new RegExp(u),m=new RegExp(i);function d(A,S){let B="non-cjk",I="cj-letter",k="k-letter",P="cjk-punctuation",C=[],D=(S.proseWrap==="preserve"?A:A.replace(new RegExp("(".concat(r,`)
81
- (`).concat(r,")"),"g"),"$1$2")).split(/([\t\n ]+)/);for(let[F,l]of D.entries()){if(F%2===1){C.push({type:"whitespace",value:/\n/.test(l)?`
82
- `:" "});continue}if((F===0||F===D.length-1)&&l==="")continue;let E=l.split(new RegExp("(".concat(r,")")));for(let[v,N]of E.entries())if(!((v===0||v===E.length-1)&&N==="")){if(v%2===0){N!==""&&g({type:"word",value:N,kind:B,hasLeadingPunctuation:m.test(N[0]),hasTrailingPunctuation:m.test(t(N))});continue}g(m.test(N)?{type:"word",value:N,kind:P,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:N,kind:y.test(N)?k:I,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return C;function g(F){let l=t(C);l&&l.type==="word"&&(l.kind===B&&F.kind===I&&!l.hasTrailingPunctuation||l.kind===I&&F.kind===B&&!F.hasLeadingPunctuation?C.push({type:"whitespace",value:" "}):!E(B,P)&&![l.value,F.value].some(v=>/\u3000/.test(v))&&C.push({type:"whitespace",value:""})),C.push(F);function E(v,N){return l.kind===v&&F.kind===N||l.kind===N&&F.kind===v}}}function p(A,S){let[,B,I,k]=S.slice(A.position.start.offset,A.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:B,marker:I,leadingSpaces:k}}function f(A,S){if(!A.ordered||A.children.length<2)return!1;let B=Number(p(A.children[0],S.originalText).numberText),I=Number(p(A.children[1],S.originalText).numberText);if(B===0&&A.children.length>2){let k=Number(p(A.children[2],S.originalText).numberText);return I===1&&k===1}return I===1}function h(A,S){let{value:B}=A;return A.position.end.offset===S.length&&B.endsWith(`
83
- `)&&S.endsWith(`
84
- `)?B.slice(0,-1):B}function w(A,S){return function B(I,k,P){let C=Object.assign({},S(I,k,P));return C.children&&(C.children=C.children.map((D,g)=>B(D,g,[C,...P]))),C}(A,null,[])}function T(A){if((A==null?void 0:A.type)!=="link"||A.children.length!==1)return!1;let[S]=A.children;return s(A)===s(S)&&a(A)===a(S)}n.exports={mapAst:w,splitText:d,punctuationPattern:i,getFencedCodeBlockValue:h,getOrderedListItemInfo:p,hasGitDiffFriendlyOrderedList:f,INLINE_NODE_TYPES:o,INLINE_NODE_WRAPPER_TYPES:c,isAutolink:T}}}),kd=Z({"src/language-markdown/embed.js"(e,n){"use strict";re();var{inferParserByLanguage:t,getMaxContinuousCount:s}=Ue(),{builders:{hardline:a,markAsRoot:r},utils:{replaceEndOfLine:u}}=Oe(),i=Jn(),{getFencedCodeBlockValue:o}=Un();function c(y,m,d,p){let f=y.getValue();if(f.type==="code"&&f.lang!==null){let h=t(f.lang,p);if(h){let w=p.__inJsTemplate?"~":"`",T=w.repeat(Math.max(3,s(f.value,w)+1)),A={parser:h};f.lang==="tsx"&&(A.filepath="dummy.tsx");let S=d(o(f,p.originalText),A,{stripTrailingHardline:!0});return r([T,f.lang,f.meta?" "+f.meta:"",a,u(S),a,T])}}switch(f.type){case"front-matter":return i(f,d);case"importExport":return[d(f.value,{parser:"babel"},{stripTrailingHardline:!0}),a];case"jsx":return d("<$>".concat(f.value,"</$>"),{parser:"__js_expression",rootMarker:"mdx"},{stripTrailingHardline:!0})}return null}n.exports=c}}),lo=Z({"src/language-markdown/pragma.js"(e,n){"use strict";re();var t=ao(),s=["format","prettier"];function a(r){let u="@(".concat(s.join("|"),")"),i=new RegExp(["<!--\\s*".concat(u,"\\s*-->"),"{\\s*\\/\\*\\s*".concat(u,"\\s*\\*\\/\\s*}"),`<!--.*\r?
90
+ `+e}p();function Ey(e){return typeof e.start=="number"?e.start:e.loc&&e.loc.start}function hl(e){return typeof e.end=="number"?e.end:e.loc&&e.loc.end}var Cy={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]};function VS(e,t,r){let n=e.getValue();if(!n)return"";if(typeof n=="string")return n;switch(n.kind){case"Document":{let u=[];return e.each((i,s,a)=>{u.push(r()),s!==a.length-1&&(u.push(d),Fr(t.originalText,i.getValue(),hl)&&u.push(d))},"definitions"),[...u,d]}case"OperationDefinition":{let u=t.originalText[Ey(n)]!=="{",i=Boolean(n.name);return[u?n.operation:"",u&&i?[" ",r("name")]:"",u&&!i&&O(n.variableDefinitions)?" ":"",O(n.variableDefinitions)?h(["(",F([A,B([N("",", "),A],e.map(r,"variableDefinitions"))]),A,")"]):"",Pe(e,r,n),n.selectionSet?!u&&!i?"":" ":"",r("selectionSet")]}case"FragmentDefinition":return["fragment ",r("name"),O(n.variableDefinitions)?h(["(",F([A,B([N("",", "),A],e.map(r,"variableDefinitions"))]),A,")"]):""," on ",r("typeCondition"),Pe(e,r,n)," ",r("selectionSet")];case"SelectionSet":return["{",F([d,B(d,wt(e,t,r,"selections"))]),d,"}"];case"Field":return h([n.alias?[r("alias"),": "]:"",r("name"),n.arguments.length>0?h(["(",F([A,B([N("",", "),A],wt(e,t,r,"arguments"))]),A,")"]):"",Pe(e,r,n),n.selectionSet?" ":"",r("selectionSet")]);case"Name":return n.value;case"StringValue":{if(n.block){let u=n.value.replace(/"""/g,"\\$&").split(`
91
+ `);return u.length===1&&(u[0]=u[0].trim()),u.every(i=>i==="")&&(u.length=0),B(d,['"""',...u,'"""'])}return['"',n.value.replace(/["\\]/g,"\\$&").replace(/\n/g,"\\n"),'"']}case"IntValue":case"FloatValue":case"EnumValue":return n.value;case"BooleanValue":return n.value?"true":"false";case"NullValue":return"null";case"Variable":return["$",r("name")];case"ListValue":return h(["[",F([A,B([N("",", "),A],e.map(r,"values"))]),A,"]"]);case"ObjectValue":return h(["{",t.bracketSpacing&&n.fields.length>0?" ":"",F([A,B([N("",", "),A],e.map(r,"fields"))]),A,N("",t.bracketSpacing&&n.fields.length>0?" ":""),"}"]);case"ObjectField":case"Argument":return[r("name"),": ",r("value")];case"Directive":return["@",r("name"),n.arguments.length>0?h(["(",F([A,B([N("",", "),A],wt(e,t,r,"arguments"))]),A,")"]):""];case"NamedType":return r("name");case"VariableDefinition":return[r("variable"),": ",r("type"),n.defaultValue?[" = ",r("defaultValue")]:"",Pe(e,r,n)];case"ObjectTypeExtension":case"ObjectTypeDefinition":return[r("description"),n.description?d:"",n.kind==="ObjectTypeExtension"?"extend ":"","type ",r("name"),n.interfaces.length>0?[" implements ",...Ay(e,t,r)]:"",Pe(e,r,n),n.fields.length>0?[" {",F([d,B(d,wt(e,t,r,"fields"))]),d,"}"]:""];case"FieldDefinition":return[r("description"),n.description?d:"",r("name"),n.arguments.length>0?h(["(",F([A,B([N("",", "),A],wt(e,t,r,"arguments"))]),A,")"]):"",": ",r("type"),Pe(e,r,n)];case"DirectiveDefinition":return[r("description"),n.description?d:"","directive ","@",r("name"),n.arguments.length>0?h(["(",F([A,B([N("",", "),A],wt(e,t,r,"arguments"))]),A,")"]):"",n.repeatable?" repeatable":""," on ",B(" | ",e.map(r,"locations"))];case"EnumTypeExtension":case"EnumTypeDefinition":return[r("description"),n.description?d:"",n.kind==="EnumTypeExtension"?"extend ":"","enum ",r("name"),Pe(e,r,n),n.values.length>0?[" {",F([d,B(d,wt(e,t,r,"values"))]),d,"}"]:""];case"EnumValueDefinition":return[r("description"),n.description?d:"",r("name"),Pe(e,r,n)];case"InputValueDefinition":return[r("description"),n.description?n.description.block?d:x:"",r("name"),": ",r("type"),n.defaultValue?[" = ",r("defaultValue")]:"",Pe(e,r,n)];case"InputObjectTypeExtension":case"InputObjectTypeDefinition":return[r("description"),n.description?d:"",n.kind==="InputObjectTypeExtension"?"extend ":"","input ",r("name"),Pe(e,r,n),n.fields.length>0?[" {",F([d,B(d,wt(e,t,r,"fields"))]),d,"}"]:""];case"SchemaExtension":return["extend schema",Pe(e,r,n),...n.operationTypes.length>0?[" {",F([d,B(d,wt(e,t,r,"operationTypes"))]),d,"}"]:[]];case"SchemaDefinition":return[r("description"),n.description?d:"","schema",Pe(e,r,n)," {",n.operationTypes.length>0?F([d,B(d,wt(e,t,r,"operationTypes"))]):"",d,"}"];case"OperationTypeDefinition":return[r("operation"),": ",r("type")];case"InterfaceTypeExtension":case"InterfaceTypeDefinition":return[r("description"),n.description?d:"",n.kind==="InterfaceTypeExtension"?"extend ":"","interface ",r("name"),n.interfaces.length>0?[" implements ",...Ay(e,t,r)]:"",Pe(e,r,n),n.fields.length>0?[" {",F([d,B(d,wt(e,t,r,"fields"))]),d,"}"]:""];case"FragmentSpread":return["...",r("name"),Pe(e,r,n)];case"InlineFragment":return["...",n.typeCondition?[" on ",r("typeCondition")]:"",Pe(e,r,n)," ",r("selectionSet")];case"UnionTypeExtension":case"UnionTypeDefinition":return h([r("description"),n.description?d:"",h([n.kind==="UnionTypeExtension"?"extend ":"","union ",r("name"),Pe(e,r,n),n.types.length>0?[" =",N(""," "),F([N([x," "]),B([x,"| "],e.map(r,"types"))])]:""])]);case"ScalarTypeExtension":case"ScalarTypeDefinition":return[r("description"),n.description?d:"",n.kind==="ScalarTypeExtension"?"extend ":"","scalar ",r("name"),Pe(e,r,n)];case"NonNullType":return[r("type"),"!"];case"ListType":return["[",r("type"),"]"];default:throw new Error("unknown graphql type: "+JSON.stringify(n.kind))}}function Pe(e,t,r){if(r.directives.length===0)return"";let n=B(x,e.map(t,"directives"));return r.kind==="FragmentDefinition"||r.kind==="OperationDefinition"?h([x,n]):[" ",h(F([A,n]))]}function wt(e,t,r,n){return e.map((u,i,s)=>{let a=r();return i<s.length-1&&Fr(t.originalText,u.getValue(),hl)?[a,d]:a},n)}function qS(e){return e.kind&&e.kind!=="Comment"}function US(e){let t=e.getValue();if(t.kind==="Comment")return"#"+t.value.trimEnd();throw new Error("Not a comment: "+JSON.stringify(t))}function Ay(e,t,r){let n=e.getNode(),u=[],{interfaces:i}=n,s=e.map(a=>r(a),"interfaces");for(let a=0;a<i.length;a++){let o=i[a];u.push(s[a]);let c=i[a+1];if(c){let f=t.originalText.slice(o.loc.end,c.loc.start).includes("#");u.push(" &",f?x:" ")}}return u}function Fy(e,t){e.kind==="StringValue"&&e.block&&!e.value.includes(`
92
+ `)&&(t.value=t.value.trim())}Fy.ignoredProperties=new Set(["loc","comments"]);function WS(e){var r;let t=e.getValue();return(r=t==null?void 0:t.comments)==null?void 0:r.some(n=>n.value.trim()==="prettier-ignore")}var GS={print:VS,massageAstNode:Fy,hasPrettierIgnore:WS,insertPragma:hy,printComment:US,canAttachComment:qS,getVisitorKeys:Ie(Cy,"kind")},xy=GS;var Sy=[{linguistLanguageId:139,name:"GraphQL",type:"data",color:"#e10098",extensions:[".graphql",".gql",".graphqls"],tmScope:"source.graphql",aceMode:"text",since:"1.5.0",parsers:["graphql"],vscodeLanguageIds:["graphql"]}];p();var HS={bracketSpacing:Ee.bracketSpacing},Ty=HS;p();var by=void 0;var YS={graphql:xy};var oa={};Ce(oa,{languages:()=>Gy,options:()=>Jy,parsers:()=>Hy,printers:()=>TT});p();p();p();p();p();function $u(e){return e.position.start.offset}function Vu(e){return e.position.end.offset}var ua="(?:[\\u02ea-\\u02eb\\u1100-\\u11ff\\u2e80-\\u2e99\\u2e9b-\\u2ef3\\u2f00-\\u2fd5\\u2ff0-\\u303f\\u3041-\\u3096\\u3099-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312f\\u3131-\\u318e\\u3190-\\u3191\\u3196-\\u31ba\\u31c0-\\u31e3\\u31f0-\\u321e\\u322a-\\u3247\\u3260-\\u327e\\u328a-\\u32b0\\u32c0-\\u32cb\\u32d0-\\u3370\\u337b-\\u337f\\u33e0-\\u33fe\\u3400-\\u4db5\\u4e00-\\u9fef\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufe10-\\ufe1f\\ufe30-\\ufe6f\\uff00-\\uffef]|[\\ud840-\\ud868\\ud86a-\\ud86c\\ud86f-\\ud872\\ud874-\\ud879][\\udc00-\\udfff]|\\ud82c[\\udc00-\\udd1e\\udd50-\\udd52\\udd64-\\udd67]|\\ud83c[\\ude00\\ude50-\\ude51]|\\ud869[\\udc00-\\uded6\\udf00-\\udfff]|\\ud86d[\\udc00-\\udf34\\udf40-\\udfff]|\\ud86e[\\udc00-\\udc1d\\udc20-\\udfff]|\\ud873[\\udc00-\\udea1\\udeb0-\\udfff]|\\ud87a[\\udc00-\\udfe0]|\\ud87e[\\udc00-\\ude1d])(?:[\\ufe00-\\ufe0f]|\\udb40[\\udd00-\\uddef])?",By="[\\u1100-\\u11ff\\u3001-\\u3003\\u3008-\\u3011\\u3013-\\u301f\\u302e-\\u3030\\u3037\\u30fb\\u3131-\\u318e\\u3200-\\u321e\\u3260-\\u327e\\ua960-\\ua97c\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\ufe45-\\ufe46\\uff61-\\uff65\\uffa0-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc]",qu="[\\u0021-\\u002f\\u003a-\\u0040\\u005b-\\u0060\\u007b-\\u007e\\u00a1\\u00a7\\u00ab\\u00b6-\\u00b7\\u00bb\\u00bf\\u037e\\u0387\\u055a-\\u055f\\u0589-\\u058a\\u05be\\u05c0\\u05c3\\u05c6\\u05f3-\\u05f4\\u0609-\\u060a\\u060c-\\u060d\\u061b\\u061e-\\u061f\\u066a-\\u066d\\u06d4\\u0700-\\u070d\\u07f7-\\u07f9\\u0830-\\u083e\\u085e\\u0964-\\u0965\\u0970\\u09fd\\u0a76\\u0af0\\u0c77\\u0c84\\u0df4\\u0e4f\\u0e5a-\\u0e5b\\u0f04-\\u0f12\\u0f14\\u0f3a-\\u0f3d\\u0f85\\u0fd0-\\u0fd4\\u0fd9-\\u0fda\\u104a-\\u104f\\u10fb\\u1360-\\u1368\\u1400\\u166e\\u169b-\\u169c\\u16eb-\\u16ed\\u1735-\\u1736\\u17d4-\\u17d6\\u17d8-\\u17da\\u1800-\\u180a\\u1944-\\u1945\\u1a1e-\\u1a1f\\u1aa0-\\u1aa6\\u1aa8-\\u1aad\\u1b5a-\\u1b60\\u1bfc-\\u1bff\\u1c3b-\\u1c3f\\u1c7e-\\u1c7f\\u1cc0-\\u1cc7\\u1cd3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205e\\u207d-\\u207e\\u208d-\\u208e\\u2308-\\u230b\\u2329-\\u232a\\u2768-\\u2775\\u27c5-\\u27c6\\u27e6-\\u27ef\\u2983-\\u2998\\u29d8-\\u29db\\u29fc-\\u29fd\\u2cf9-\\u2cfc\\u2cfe-\\u2cff\\u2d70\\u2e00-\\u2e2e\\u2e30-\\u2e4f\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301f\\u3030\\u303d\\u30a0\\u30fb\\ua4fe-\\ua4ff\\ua60d-\\ua60f\\ua673\\ua67e\\ua6f2-\\ua6f7\\ua874-\\ua877\\ua8ce-\\ua8cf\\ua8f8-\\ua8fa\\ua8fc\\ua92e-\\ua92f\\ua95f\\ua9c1-\\ua9cd\\ua9de-\\ua9df\\uaa5c-\\uaa5f\\uaade-\\uaadf\\uaaf0-\\uaaf1\\uabeb\\ufd3e-\\ufd3f\\ufe10-\\ufe19\\ufe30-\\ufe52\\ufe54-\\ufe61\\ufe63\\ufe68\\ufe6a-\\ufe6b\\uff01-\\uff03\\uff05-\\uff0a\\uff0c-\\uff0f\\uff1a-\\uff1b\\uff1f-\\uff20\\uff3b-\\uff3d\\uff3f\\uff5b\\uff5d\\uff5f-\\uff65]|\\ud800[\\udd00-\\udd02\\udf9f\\udfd0]|\\ud801[\\udd6f]|\\ud802[\\udc57\\udd1f\\udd3f\\ude50-\\ude58\\ude7f\\udef0-\\udef6\\udf39-\\udf3f\\udf99-\\udf9c]|\\ud803[\\udf55-\\udf59]|\\ud804[\\udc47-\\udc4d\\udcbb-\\udcbc\\udcbe-\\udcc1\\udd40-\\udd43\\udd74-\\udd75\\uddc5-\\uddc8\\uddcd\\udddb\\udddd-\\udddf\\ude38-\\ude3d\\udea9]|\\ud805[\\udc4b-\\udc4f\\udc5b\\udc5d\\udcc6\\uddc1-\\uddd7\\ude41-\\ude43\\ude60-\\ude6c\\udf3c-\\udf3e]|\\ud806[\\udc3b\\udde2\\ude3f-\\ude46\\ude9a-\\ude9c\\ude9e-\\udea2]|\\ud807[\\udc41-\\udc45\\udc70-\\udc71\\udef7-\\udef8\\udfff]|\\ud809[\\udc70-\\udc74]|\\ud81a[\\ude6e-\\ude6f\\udef5\\udf37-\\udf3b\\udf44]|\\ud81b[\\ude97-\\ude9a\\udfe2]|\\ud82f[\\udc9f]|\\ud836[\\ude87-\\ude8b]|\\ud83a[\\udd5e-\\udd5f]";var Al=["liquidNode","inlineCode","emphasis","esComment","strong","delete","wikiLink","link","linkReference","image","imageReference","footnote","footnoteReference","sentence","whitespace","word","break","inlineMath"],vy=[...Al,"tableCell","paragraph","heading"],KS=new RegExp(By),Cl=new RegExp(qu);function ia(e,t){let r="non-cjk",n="cj-letter",u="k-letter",i="cjk-punctuation",s=[],a=(t.proseWrap==="preserve"?e:e.replace(new RegExp(`(${ua})
93
+ (${ua})`,"g"),"$1$2")).split(/([\t\n ]+)/);for(let[c,l]of a.entries()){if(c%2===1){s.push({type:"whitespace",value:/\n/.test(l)?`
94
+ `:" "});continue}if((c===0||c===a.length-1)&&l==="")continue;let f=l.split(new RegExp(`(${ua})`));for(let[m,D]of f.entries())if(!((m===0||m===f.length-1)&&D==="")){if(m%2===0){D!==""&&o({type:"word",value:D,kind:r,hasLeadingPunctuation:Cl.test(D[0]),hasTrailingPunctuation:Cl.test(I(D))});continue}o(Cl.test(D)?{type:"word",value:D,kind:i,hasLeadingPunctuation:!0,hasTrailingPunctuation:!0}:{type:"word",value:D,kind:KS.test(D)?u:n,hasLeadingPunctuation:!1,hasTrailingPunctuation:!1})}}return s;function o(c){let l=I(s);l&&l.type==="word"&&(l.kind===r&&c.kind===n&&!l.hasTrailingPunctuation||l.kind===n&&c.kind===r&&!c.hasLeadingPunctuation?s.push({type:"whitespace",value:" "}):!f(r,i)&&![l.value,c.value].some(m=>/\u3000/.test(m))&&s.push({type:"whitespace",value:""})),s.push(c);function f(m,D){return l.kind===m&&c.kind===D||l.kind===D&&c.kind===m}}}function Mn(e,t){let[,r,n,u]=t.slice(e.position.start.offset,e.position.end.offset).match(/^\s*(\d+)(\.|\))(\s*)/);return{numberText:r,marker:n,leadingSpaces:u}}function wy(e,t){if(!e.ordered||e.children.length<2)return!1;let r=Number(Mn(e.children[0],t.originalText).numberText),n=Number(Mn(e.children[1],t.originalText).numberText);if(r===0&&e.children.length>2){let u=Number(Mn(e.children[2],t.originalText).numberText);return n===1&&u===1}return n===1}function sa(e,t){let{value:r}=e;return e.position.end.offset===t.length&&r.endsWith(`
95
+ `)&&t.endsWith(`
96
+ `)?r.slice(0,-1):r}function Pr(e,t){return function r(n,u,i){let s={...t(n,u,i)};return s.children&&(s.children=s.children.map((a,o)=>r(a,o,[s,...i]))),s}(e,null,[])}function Fl(e){if((e==null?void 0:e.type)!=="link"||e.children.length!==1)return!1;let[t]=e.children;return $u(e)===$u(t)&&Vu(e)===Vu(t)}function XS(e,t){let r=e.getValue();if(r.type==="code"&&r.lang!==null){let n=uu(r.lang,t);if(n)return async u=>{let i=t.__inJsTemplate?"~":"`",s=i.repeat(Math.max(3,gn(r.value,i)+1)),a={parser:n};r.lang==="tsx"&&(a.filepath="dummy.tsx");let o=await u(sa(r,t.originalText),a);return _t([s,r.lang,r.meta?" "+r.meta:"",d,tu(o),d,s])}}switch(r.type){case"front-matter":return n=>Ln(r,n);case"importExport":return async n=>[await n(r.value,{parser:"babel"}),d];case"jsx":return n=>n(`<$>${r.value}</$>`,{parser:"__js_expression",rootMarker:"mdx"})}return null}var Py=XS;p();var Iy=["format","prettier"];function ky(e){let t=`@(${Iy.join("|")})`,r=new RegExp([`<!--\\s*${t}\\s*-->`,`{\\s*\\/\\*\\s*${t}\\s*\\*\\/\\s*}`,`<!--.*\r?
85
97
  [\\s\\S]*(^|
86
98
  )[^\\S
87
- ]*`.concat(u,`[^\\S
99
+ ]*${t}[^\\S
88
100
  ]*($|
89
101
  )[\\s\\S]*
90
- .*-->`)].join("|"),"m"),o=r.match(i);return(o==null?void 0:o.index)===0}n.exports={startWithPragma:a,hasPragma:r=>a(t(r).content.trimStart()),insertPragma:r=>{let u=t(r),i="<!-- @".concat(s[0]," -->");return u.frontMatter?"".concat(u.frontMatter.raw,`
102
+ .*-->`].join("|"),"m"),n=e.match(r);return(n==null?void 0:n.index)===0}var Ly=e=>{let t=js(e),r=`<!-- @${Iy[0]} -->`;return t.frontMatter?`${t.frontMatter.raw}
91
103
 
92
- `).concat(i,`
104
+ ${r}
93
105
 
94
- `).concat(u.content):"".concat(i,`
106
+ ${t.content}`:`${r}
95
107
 
96
- `).concat(u.content)}}}}),Id=Z({"src/language-markdown/print-preprocess.js"(e,n){"use strict";re();var t=it(),{getOrderedListItemInfo:s,mapAst:a,splitText:r}=Un(),u=/^.$/su;function i(T,A){return T=y(T,A),T=p(T),T=c(T),T=h(T,A),T=w(T,A),T=f(T,A),T=o(T),T=m(T),T}function o(T){return a(T,A=>A.type!=="import"&&A.type!=="export"?A:Object.assign(Object.assign({},A),{},{type:"importExport"}))}function c(T){return a(T,A=>A.type!=="inlineCode"?A:Object.assign(Object.assign({},A),{},{value:A.value.replace(/\s+/g," ")}))}function y(T,A){return a(T,S=>S.type!=="text"||S.value==="*"||S.value==="_"||!u.test(S.value)||S.position.end.offset-S.position.start.offset===S.value.length?S:Object.assign(Object.assign({},S),{},{value:A.originalText.slice(S.position.start.offset,S.position.end.offset)}))}function m(T){return d(T,(A,S)=>A.type==="importExport"&&S.type==="importExport",(A,S)=>({type:"importExport",value:A.value+`
108
+ ${t.content}`};p();var zS=/^.$/su;function QS(e,t){return e=tT(e,t),e=nT(e),e=eT(e),e=iT(e,t),e=sT(e,t),e=uT(e,t),e=ZS(e),e=rT(e),e}function ZS(e){return Pr(e,t=>t.type!=="import"&&t.type!=="export"?t:{...t,type:"importExport"})}function eT(e){return Pr(e,t=>t.type!=="inlineCode"?t:{...t,value:t.value.replace(/\s+/g," ")})}function tT(e,t){return Pr(e,r=>r.type!=="text"||r.value==="*"||r.value==="_"||!zS.test(r.value)||r.position.end.offset-r.position.start.offset===r.value.length?r:{...r,value:t.originalText.slice(r.position.start.offset,r.position.end.offset)})}function rT(e){return Ny(e,(t,r)=>t.type==="importExport"&&r.type==="importExport",(t,r)=>({type:"importExport",value:t.value+`
97
109
 
98
- `+S.value,position:{start:A.position.start,end:S.position.end}}))}function d(T,A,S){return a(T,B=>{if(!B.children)return B;let I=B.children.reduce((k,P)=>{let C=t(k);return C&&A(C,P)?k.splice(-1,1,S(C,P)):k.push(P),k},[]);return Object.assign(Object.assign({},B),{},{children:I})})}function p(T){return d(T,(A,S)=>A.type==="text"&&S.type==="text",(A,S)=>({type:"text",value:A.value+S.value,position:{start:A.position.start,end:S.position.end}}))}function f(T,A){return a(T,(S,B,I)=>{let[k]=I;if(S.type!=="text")return S;let{value:P}=S;return k.type==="paragraph"&&(B===0&&(P=P.trimStart()),B===k.children.length-1&&(P=P.trimEnd())),{type:"sentence",position:S.position,children:r(P,A)}})}function h(T,A){return a(T,(S,B,I)=>{if(S.type==="code"){let k=/^\n?(?: {4,}|\t)/.test(A.originalText.slice(S.position.start.offset,S.position.end.offset));if(S.isIndented=k,k)for(let P=0;P<I.length;P++){let C=I[P];if(C.hasIndentedCodeblock)break;C.type==="list"&&(C.hasIndentedCodeblock=!0)}}return S})}function w(T,A){return a(T,(I,k,P)=>{if(I.type==="list"&&I.children.length>0){for(let C=0;C<P.length;C++){let D=P[C];if(D.type==="list"&&!D.isAligned)return I.isAligned=!1,I}I.isAligned=B(I)}return I});function S(I){return I.children.length===0?-1:I.children[0].position.start.column-1}function B(I){if(!I.ordered)return!0;let[k,P]=I.children;if(s(k,A.originalText).leadingSpaces.length>1)return!0;let D=S(k);if(D===-1)return!1;if(I.children.length===1)return D%A.tabWidth===0;let g=S(P);return D!==g?!1:D%A.tabWidth===0?!0:s(P,A.originalText).leadingSpaces.length>1}}n.exports=i}}),Ld=Z({"src/language-markdown/clean.js"(e,n){"use strict";re();var{isFrontMatterNode:t}=Ue(),{startWithPragma:s}=lo(),a=new Set(["position","raw"]);function r(u,i,o){if((u.type==="front-matter"||u.type==="code"||u.type==="yaml"||u.type==="import"||u.type==="export"||u.type==="jsx")&&delete i.value,u.type==="list"&&delete i.isAligned,(u.type==="list"||u.type==="listItem")&&(delete i.spread,delete i.loose),u.type==="text"||(u.type==="inlineCode"&&(i.value=u.value.replace(/[\t\n ]+/g," ")),u.type==="wikiLink"&&(i.value=u.value.trim().replace(/[\t\n]+/g," ")),(u.type==="definition"||u.type==="linkReference")&&(i.label=u.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(u.type==="definition"||u.type==="link"||u.type==="image")&&u.title&&(i.title=u.title.replace(/\\(["')])/g,"$1")),o&&o.type==="root"&&o.children.length>0&&(o.children[0]===u||t(o.children[0])&&o.children[1]===u)&&u.type==="html"&&s(u.value)))return null}r.ignoredProperties=a,n.exports=r}}),jd=Z({"src/language-markdown/printer-markdown.js"(e,n){"use strict";re();var{getLast:t,getMinNotPresentContinuousCount:s,getMaxContinuousCount:a,getStringWidth:r,isNonEmptyArray:u}=Ue(),{builders:{breakParent:i,join:o,line:c,literalline:y,markAsRoot:m,hardline:d,softline:p,ifBreak:f,fill:h,align:w,indent:T,group:A,hardlineWithoutBreakParent:S},utils:{normalizeDoc:B,replaceTextEndOfLine:I},printer:{printDocToString:k}}=Oe(),P=kd(),{insertPragma:C}=lo(),{locStart:D,locEnd:g}=oo(),F=Id(),l=Ld(),{getFencedCodeBlockValue:E,hasGitDiffFriendlyOrderedList:v,splitText:N,punctuationPattern:x,INLINE_NODE_TYPES:b,INLINE_NODE_WRAPPER_TYPES:L,isAutolink:M}=Un(),j=new Set(["importExport"]),$=["heading","tableCell","link","wikiLink"],V=new Set(["listItem","definition","footnoteDefinition"]);function q(ce,pe,de){let ae=ce.getValue();if(le(ce))return N(pe.originalText.slice(ae.position.start.offset,ae.position.end.offset),pe).map(ve=>ve.type==="word"?ve.value:ve.value===""?"":oe(ce,ve.value,pe));switch(ae.type){case"front-matter":return pe.originalText.slice(ae.position.start.offset,ae.position.end.offset);case"root":return ae.children.length===0?"":[B(X(ce,pe,de)),j.has(De(ae).type)?"":d];case"paragraph":return ue(ce,pe,de,{postprocessor:h});case"sentence":return ue(ce,pe,de);case"word":{let ve=ae.value.replace(/\*/g,"\\$&").replace(new RegExp(["(^|".concat(x,")(_+)"),"(_+)(".concat(x,"|$)")].join("|"),"g"),(ye,Ce,Ie,Fe,me)=>(Ie?"".concat(Ce).concat(Ie):"".concat(Fe).concat(me)).replace(/_/g,"\\_")),K=(ye,Ce,Ie)=>ye.type==="sentence"&&Ie===0,he=(ye,Ce,Ie)=>M(ye.children[Ie-1]);return ve!==ae.value&&(ce.match(void 0,K,he)||ce.match(void 0,K,(ye,Ce,Ie)=>ye.type==="emphasis"&&Ie===0,he))&&(ve=ve.replace(/^(\\?[*_])+/,ye=>ye.replace(/\\/g,""))),ve}case"whitespace":{let ve=ce.getParentNode(),K=ve.children.indexOf(ae),he=ve.children[K+1],ye=he&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(he.value)?"never":pe.proseWrap;return oe(ce,ae.value,{proseWrap:ye})}case"emphasis":{let ve;if(M(ae.children[0]))ve=pe.originalText[ae.position.start.offset];else{let K=ce.getParentNode(),he=K.children.indexOf(ae),ye=K.children[he-1],Ce=K.children[he+1];ve=ye&&ye.type==="sentence"&&ye.children.length>0&&t(ye.children).type==="word"&&!t(ye.children).hasTrailingPunctuation||Ce&&Ce.type==="sentence"&&Ce.children.length>0&&Ce.children[0].type==="word"&&!Ce.children[0].hasLeadingPunctuation||te(ce,"emphasis")?"*":"_"}return[ve,ue(ce,pe,de),ve]}case"strong":return["**",ue(ce,pe,de),"**"];case"delete":return["~~",ue(ce,pe,de),"~~"];case"inlineCode":{let ve=s(ae.value,"`"),K="`".repeat(ve||1),he=ve&&!/^\s/.test(ae.value)?" ":"";return[K,he,ae.value,he,K]}case"wikiLink":{let ve="";return pe.proseWrap==="preserve"?ve=ae.value:ve=ae.value.replace(/[\t\n]+/g," "),["[[",ve,"]]"]}case"link":switch(pe.originalText[ae.position.start.offset]){case"<":{let ve="mailto:",K=ae.url.startsWith(ve)&&pe.originalText.slice(ae.position.start.offset+1,ae.position.start.offset+1+ve.length)!==ve?ae.url.slice(ve.length):ae.url;return["<",K,">"]}case"[":return["[",ue(ce,pe,de),"](",ge(ae.url,")"),Ae(ae.title,pe),")"];default:return pe.originalText.slice(ae.position.start.offset,ae.position.end.offset)}case"image":return["![",ae.alt||"","](",ge(ae.url,")"),Ae(ae.title,pe),")"];case"blockquote":return["> ",w("> ",ue(ce,pe,de))];case"heading":return["#".repeat(ae.depth)+" ",ue(ce,pe,de)];case"code":{if(ae.isIndented){let he=" ".repeat(4);return w(he,[he,...I(ae.value,d)])}let ve=pe.__inJsTemplate?"~":"`",K=ve.repeat(Math.max(3,a(ae.value,ve)+1));return[K,ae.lang||"",ae.meta?" "+ae.meta:"",d,...I(E(ae,pe.originalText),d),d,K]}case"html":{let ve=ce.getParentNode(),K=ve.type==="root"&&t(ve.children)===ae?ae.value.trimEnd():ae.value,he=/^<!--.*-->$/s.test(K);return I(K,he?d:m(y))}case"list":{let ve=R(ae,ce.getParentNode()),K=v(ae,pe);return ue(ce,pe,de,{processor:(he,ye)=>{let Ce=Fe(),Ie=he.getValue();if(Ie.children.length===2&&Ie.children[1].type==="html"&&Ie.children[0].position.start.column!==Ie.children[1].position.start.column)return[Ce,Y(he,pe,de,Ce)];return[Ce,w(" ".repeat(Ce.length),Y(he,pe,de,Ce))];function Fe(){let me=ae.ordered?(ye===0?ae.start:K?1:ae.start+ye)+(ve%2===0?". ":") "):ve%2===0?"- ":"* ";return ae.isAligned||ae.hasIndentedCodeblock?H(me,pe):me}}})}case"thematicBreak":{let ve=ee(ce,"list");return ve===-1?"---":R(ce.getParentNode(ve),ce.getParentNode(ve+1))%2===0?"***":"---"}case"linkReference":return["[",ue(ce,pe,de),"]",ae.referenceType==="full"?["[",ae.identifier,"]"]:ae.referenceType==="collapsed"?"[]":""];case"imageReference":switch(ae.referenceType){case"full":return["![",ae.alt||"","][",ae.identifier,"]"];default:return["![",ae.alt,"]",ae.referenceType==="collapsed"?"[]":""]}case"definition":{let ve=pe.proseWrap==="always"?c:" ";return A(["[",ae.identifier,"]:",T([ve,ge(ae.url),ae.title===null?"":[ve,Ae(ae.title,pe,!1)]])])}case"footnote":return["[^",ue(ce,pe,de),"]"];case"footnoteReference":return["[^",ae.identifier,"]"];case"footnoteDefinition":{let ve=ce.getParentNode().children[ce.getName()+1],K=ae.children.length===1&&ae.children[0].type==="paragraph"&&(pe.proseWrap==="never"||pe.proseWrap==="preserve"&&ae.children[0].position.start.line===ae.children[0].position.end.line);return["[^",ae.identifier,"]: ",K?ue(ce,pe,de):A([w(" ".repeat(4),ue(ce,pe,de,{processor:(he,ye)=>ye===0?A([p,de()]):de()})),ve&&ve.type==="footnoteDefinition"?p:""])]}case"table":return W(ce,pe,de);case"tableCell":return ue(ce,pe,de);case"break":return/\s/.test(pe.originalText[ae.position.start.offset])?[" ",m(y)]:["\\",d];case"liquidNode":return I(ae.value,d);case"importExport":return[ae.value,d];case"esComment":return["{/* ",ae.value," */}"];case"jsx":return ae.value;case"math":return["$$",d,ae.value?[...I(ae.value,d),d]:"","$$"];case"inlineMath":return pe.originalText.slice(D(ae),g(ae));case"tableRow":case"listItem":default:throw new Error("Unknown markdown type ".concat(JSON.stringify(ae.type)))}}function Y(ce,pe,de,ae){let ve=ce.getValue(),K=ve.checked===null?"":ve.checked?"[x] ":"[ ] ";return[K,ue(ce,pe,de,{processor:(he,ye)=>{if(ye===0&&he.getValue().type!=="list")return w(" ".repeat(K.length),de());let Ce=" ".repeat(Ne(pe.tabWidth-ae.length,0,3));return[Ce,w(Ce,de())]}})]}function H(ce,pe){let de=ae();return ce+" ".repeat(de>=4?0:de);function ae(){let ve=ce.length%pe.tabWidth;return ve===0?0:pe.tabWidth-ve}}function R(ce,pe){return Q(ce,pe,de=>de.ordered===ce.ordered)}function Q(ce,pe,de){let ae=-1;for(let ve of pe.children)if(ve.type===ce.type&&de(ve)?ae++:ae=-1,ve===ce)return ae}function ee(ce,pe){let de=Array.isArray(pe)?pe:[pe],ae=-1,ve;for(;ve=ce.getParentNode(++ae);)if(de.includes(ve.type))return ae;return-1}function te(ce,pe){let de=ee(ce,pe);return de===-1?null:ce.getParentNode(de)}function oe(ce,pe,de){if(de.proseWrap==="preserve"&&pe===`
99
- `)return d;let ae=de.proseWrap==="always"&&!te(ce,$);return pe!==""?ae?c:" ":ae?p:""}function W(ce,pe,de){let ae=ce.getValue(),ve=[],K=ce.map(me=>me.map((_,J)=>{let ne=k(de(),pe).formatted,Ee=r(ne);return ve[J]=Math.max(ve[J]||3,Ee),{text:ne,width:Ee}},"children"),"children"),he=Ce(!1);if(pe.proseWrap!=="never")return[i,he];let ye=Ce(!0);return[i,A(f(ye,he))];function Ce(me){let _=[Fe(K[0],me),Ie(me)];return K.length>1&&_.push(o(S,K.slice(1).map(J=>Fe(J,me)))),o(S,_)}function Ie(me){let _=ve.map((J,ne)=>{let Ee=ae.align[ne],We=Ee==="center"||Ee==="left"?":":"-",Be=Ee==="center"||Ee==="right"?":":"-",Pe=me?"-":"-".repeat(J-2);return"".concat(We).concat(Pe).concat(Be)});return"| ".concat(_.join(" | ")," |")}function Fe(me,_){let J=me.map((ne,Ee)=>{let{text:We,width:Be}=ne;if(_)return We;let Pe=ve[Ee]-Be,Se=ae.align[Ee],Qe=0;Se==="right"?Qe=Pe:Se==="center"&&(Qe=Math.floor(Pe/2));let xe=Pe-Qe;return"".concat(" ".repeat(Qe)).concat(We).concat(" ".repeat(xe))});return"| ".concat(J.join(" | ")," |")}}function X(ce,pe,de){let ae=[],ve=null,{children:K}=ce.getValue();for(let[he,ye]of K.entries())switch(ie(ye)){case"start":ve===null&&(ve={index:he,offset:ye.position.end.offset});break;case"end":ve!==null&&(ae.push({start:ve,end:{index:he,offset:ye.position.start.offset}}),ve=null);break;default:break}return ue(ce,pe,de,{processor:(he,ye)=>{if(ae.length>0){let Ce=ae[0];if(ye===Ce.start.index)return[K[Ce.start.index].value,pe.originalText.slice(Ce.start.offset,Ce.end.offset),K[Ce.end.index].value];if(Ce.start.index<ye&&ye<Ce.end.index)return!1;if(ye===Ce.end.index)return ae.shift(),!1}return de()}})}function ue(ce,pe,de){let ae=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},{postprocessor:ve}=ae,K=ae.processor||(()=>de()),he=ce.getValue(),ye=[],Ce;return ce.each((Ie,Fe)=>{let me=Ie.getValue(),_=K(Ie,Fe);if(_!==!1){let J={parts:ye,prevNode:Ce,parentNode:he,options:pe};G(me,J)&&(ye.push(d),Ce&&j.has(Ce.type)||(z(me,J)||U(me,J))&&ye.push(d),U(me,J)&&ye.push(d)),ye.push(_),Ce=me}},"children"),ve?ve(ye):ye}function De(ce){let pe=ce;for(;u(pe.children);)pe=t(pe.children);return pe}function ie(ce){let pe;if(ce.type==="html")pe=ce.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let de;ce.type==="esComment"?de=ce:ce.type==="paragraph"&&ce.children.length===1&&ce.children[0].type==="esComment"&&(de=ce.children[0]),de&&(pe=de.value.match(/^prettier-ignore(?:-(start|end))?$/))}return pe?pe[1]||"next":!1}function G(ce,pe){let de=pe.parts.length===0,ae=b.includes(ce.type),ve=ce.type==="html"&&L.includes(pe.parentNode.type);return!de&&!ae&&!ve}function z(ce,pe){var de,ae,ve;let he=(pe.prevNode&&pe.prevNode.type)===ce.type&&V.has(ce.type),ye=pe.parentNode.type==="listItem"&&!pe.parentNode.loose,Ce=((de=pe.prevNode)===null||de===void 0?void 0:de.type)==="listItem"&&pe.prevNode.loose,Ie=ie(pe.prevNode)==="next",Fe=ce.type==="html"&&((ae=pe.prevNode)===null||ae===void 0?void 0:ae.type)==="html"&&pe.prevNode.position.end.line+1===ce.position.start.line,me=ce.type==="html"&&pe.parentNode.type==="listItem"&&((ve=pe.prevNode)===null||ve===void 0?void 0:ve.type)==="paragraph"&&pe.prevNode.position.end.line+1===ce.position.start.line;return Ce||!(he||ye||Ie||Fe||me)}function U(ce,pe){let de=pe.prevNode&&pe.prevNode.type==="list",ae=ce.type==="code"&&ce.isIndented;return de&&ae}function le(ce){let pe=te(ce,["linkReference","imageReference"]);return pe&&(pe.type!=="linkReference"||pe.referenceType!=="full")}function ge(ce){let pe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],de=[" ",...Array.isArray(pe)?pe:[pe]];return new RegExp(de.map(ae=>"\\".concat(ae)).join("|")).test(ce)?"<".concat(ce,">"):ce}function Ae(ce,pe){let de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(!ce)return"";if(de)return" "+Ae(ce,pe,!1);if(ce=ce.replace(/\\(["')])/g,"$1"),ce.includes('"')&&ce.includes("'")&&!ce.includes(")"))return"(".concat(ce,")");let ae=ce.split("'").length-1,ve=ce.split('"').length-1,K=ae>ve?'"':ve>ae||pe.singleQuote?"'":'"';return ce=ce.replace(/\\/,"\\\\"),ce=ce.replace(new RegExp("(".concat(K,")"),"g"),"\\$1"),"".concat(K).concat(ce).concat(K)}function Ne(ce,pe,de){return ce<pe?pe:ce>de?de:ce}function ke(ce){let pe=Number(ce.getName());if(pe===0)return!1;let de=ce.getParentNode().children[pe-1];return ie(de)==="next"}n.exports={preprocess:F,print:q,embed:P,massageAstNode:l,hasPrettierIgnore:ke,insertPragma:C}}}),Od=Z({"src/language-markdown/options.js"(e,n){"use strict";re();var t=Lt();n.exports={proseWrap:t.proseWrap,singleQuote:t.singleQuote}}}),qd=Z({"src/language-markdown/parsers.js"(){re()}}),oa=Z({"node_modules/linguist-languages/data/Markdown.json"(e,n){n.exports={name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mdx",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr"],tmScope:"source.gfm",languageId:222}}}),Md=Z({"src/language-markdown/index.js"(e,n){"use strict";re();var t=Tt(),s=jd(),a=Od(),r=qd(),u=[t(oa(),o=>({since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"],filenames:[...o.filenames,"README"],extensions:o.extensions.filter(c=>c!==".mdx")})),t(oa(),()=>({name:"MDX",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"],filenames:[],extensions:[".mdx"]}))],i={mdast:s};n.exports={languages:u,options:a,printers:i,parsers:r}}}),Rd=Z({"src/language-html/clean.js"(e,n){"use strict";re();var{isFrontMatterNode:t}=Ue(),s=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function a(r,u){if(r.type==="text"||r.type==="comment"||t(r)||r.type==="yaml"||r.type==="toml")return null;r.type==="attribute"&&delete u.value,r.type==="docType"&&delete u.value}a.ignoredProperties=s,n.exports=a}}),Vd=Z({"src/language-html/constants.evaluate.js"(e,n){n.exports={CSS_DISPLAY_TAGS:{area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},CSS_DISPLAY_DEFAULT:"inline",CSS_WHITE_SPACE_TAGS:{listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},CSS_WHITE_SPACE_DEFAULT:"normal"}}}),Wd=Z({"src/language-html/utils/is-unknown-namespace.js"(e,n){"use strict";re();function t(s){return s.type==="element"&&!s.hasExplicitNamespace&&!["html","svg"].includes(s.namespace)}n.exports=t}}),jt=Z({"src/language-html/utils/index.js"(e,n){"use strict";re();var{inferParserByLanguage:t,isFrontMatterNode:s}=Ue(),{builders:{line:a,hardline:r,join:u},utils:{getDocParts:i,replaceTextEndOfLine:o}}=Oe(),{CSS_DISPLAY_TAGS:c,CSS_DISPLAY_DEFAULT:y,CSS_WHITE_SPACE_TAGS:m,CSS_WHITE_SPACE_DEFAULT:d}=Vd(),p=Wd(),f=new Set([" ",`
100
- `,"\f","\r"," "]),h=_=>_.replace(/^[\t\n\f\r ]+/,""),w=_=>_.replace(/[\t\n\f\r ]+$/,""),T=_=>h(w(_)),A=_=>_.replace(/^[\t\f\r ]*\n/g,""),S=_=>A(w(_)),B=_=>_.split(/[\t\n\f\r ]+/),I=_=>_.match(/^[\t\n\f\r ]*/)[0],k=_=>{let[,J,ne,Ee]=_.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:J,trailingWhitespace:Ee,text:ne}},P=_=>/[\t\n\f\r ]/.test(_);function C(_,J){return!!(_.type==="ieConditionalComment"&&_.lastChild&&!_.lastChild.isSelfClosing&&!_.lastChild.endSourceSpan||_.type==="ieConditionalComment"&&!_.complete||le(_)&&_.children.some(ne=>ne.type!=="text"&&ne.type!=="interpolation")||ye(_,J)&&!l(_)&&_.type!=="interpolation")}function D(_){return _.type==="attribute"||!_.parent||!_.prev?!1:g(_.prev)}function g(_){return _.type==="comment"&&_.value.trim()==="prettier-ignore"}function F(_){return _.type==="text"||_.type==="comment"}function l(_){return _.type==="element"&&(_.fullName==="script"||_.fullName==="style"||_.fullName==="svg:style"||p(_)&&(_.name==="script"||_.name==="style"))}function E(_){return _.children&&!l(_)}function v(_){return l(_)||_.type==="interpolation"||N(_)}function N(_){return ke(_).startsWith("pre")}function x(_,J){let ne=Ee();if(ne&&!_.prev&&_.parent&&_.parent.tagDefinition&&_.parent.tagDefinition.ignoreFirstLf)return _.type==="interpolation";return ne;function Ee(){return s(_)?!1:(_.type==="text"||_.type==="interpolation")&&_.prev&&(_.prev.type==="text"||_.prev.type==="interpolation")?!0:!_.parent||_.parent.cssDisplay==="none"?!1:le(_.parent)?!0:!(!_.prev&&(_.parent.type==="root"||le(_)&&_.parent||l(_.parent)||K(_.parent,J)||!De(_.parent.cssDisplay))||_.prev&&!z(_.prev.cssDisplay))}}function b(_,J){return s(_)?!1:(_.type==="text"||_.type==="interpolation")&&_.next&&(_.next.type==="text"||_.next.type==="interpolation")?!0:!_.parent||_.parent.cssDisplay==="none"?!1:le(_.parent)?!0:!(!_.next&&(_.parent.type==="root"||le(_)&&_.parent||l(_.parent)||K(_.parent,J)||!ie(_.parent.cssDisplay))||_.next&&!G(_.next.cssDisplay))}function L(_){return U(_.cssDisplay)&&!l(_)}function M(_){return s(_)||_.next&&_.sourceSpan.end&&_.sourceSpan.end.line+1<_.next.sourceSpan.start.line}function j(_){return $(_)||_.type==="element"&&_.children.length>0&&(["body","script","style"].includes(_.name)||_.children.some(J=>te(J)))||_.firstChild&&_.firstChild===_.lastChild&&_.firstChild.type!=="text"&&H(_.firstChild)&&(!_.lastChild.isTrailingSpaceSensitive||R(_.lastChild))}function $(_){return _.type==="element"&&_.children.length>0&&(["html","head","ul","ol","select"].includes(_.name)||_.cssDisplay.startsWith("table")&&_.cssDisplay!=="table-cell")}function V(_){return Q(_)||_.prev&&q(_.prev)||Y(_)}function q(_){return Q(_)||_.type==="element"&&_.fullName==="br"||Y(_)}function Y(_){return H(_)&&R(_)}function H(_){return _.hasLeadingSpaces&&(_.prev?_.prev.sourceSpan.end.line<_.sourceSpan.start.line:_.parent.type==="root"||_.parent.startSourceSpan.end.line<_.sourceSpan.start.line)}function R(_){return _.hasTrailingSpaces&&(_.next?_.next.sourceSpan.start.line>_.sourceSpan.end.line:_.parent.type==="root"||_.parent.endSourceSpan&&_.parent.endSourceSpan.start.line>_.sourceSpan.end.line)}function Q(_){switch(_.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(_.name)}return!1}function ee(_){return _.lastChild?ee(_.lastChild):_}function te(_){return _.children&&_.children.some(J=>J.type!=="text")}function oe(_){let{type:J,lang:ne}=_.attrMap;if(J==="module"||J==="text/javascript"||J==="text/babel"||J==="application/javascript"||ne==="jsx")return"babel";if(J==="application/x-typescript"||ne==="ts"||ne==="tsx")return"typescript";if(J==="text/markdown")return"markdown";if(J==="text/html")return"html";if(J&&(J.endsWith("json")||J.endsWith("importmap"))||J==="speculationrules")return"json";if(J==="text/x-handlebars-template")return"glimmer"}function W(_,J){let{lang:ne}=_.attrMap;if(!ne||ne==="postcss"||ne==="css")return"css";if(ne==="scss")return"scss";if(ne==="less")return"less";if(ne==="stylus")return t("stylus",J)}function X(_,J){if(_.name==="script"&&!_.attrMap.src)return!_.attrMap.lang&&!_.attrMap.type?"babel":oe(_);if(_.name==="style")return W(_,J);if(J&&ye(_,J))return oe(_)||!("src"in _.attrMap)&&t(_.attrMap.lang,J)}function ue(_){return _==="block"||_==="list-item"||_.startsWith("table")}function De(_){return!ue(_)&&_!=="inline-block"}function ie(_){return!ue(_)&&_!=="inline-block"}function G(_){return!ue(_)}function z(_){return!ue(_)}function U(_){return!ue(_)&&_!=="inline-block"}function le(_){return ke(_).startsWith("pre")}function ge(_,J){let ne=0;for(let Ee=_.stack.length-1;Ee>=0;Ee--){let We=_.stack[Ee];We&&typeof We=="object"&&!Array.isArray(We)&&J(We)&&ne++}return ne}function Ae(_,J){let ne=_;for(;ne;){if(J(ne))return!0;ne=ne.parent}return!1}function Ne(_,J){if(_.prev&&_.prev.type==="comment"){let Ee=_.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(Ee)return Ee[1]}let ne=!1;if(_.type==="element"&&_.namespace==="svg")if(Ae(_,Ee=>Ee.fullName==="svg:foreignObject"))ne=!0;else return _.name==="svg"?"inline-block":"block";switch(J.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return J.parser==="vue"&&_.parent&&_.parent.type==="root"?"block":_.type==="element"&&(!_.namespace||ne||p(_))&&c[_.name]||y}}function ke(_){return _.type==="element"&&(!_.namespace||p(_))&&m[_.name]||d}function ce(_){let J=Number.POSITIVE_INFINITY;for(let ne of _.split(`
101
- `)){if(ne.length===0)continue;if(!f.has(ne[0]))return 0;let Ee=I(ne).length;ne.length!==Ee&&Ee<J&&(J=Ee)}return J===Number.POSITIVE_INFINITY?0:J}function pe(_){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ce(_);return J===0?_:_.split(`
102
- `).map(ne=>ne.slice(J)).join(`
103
- `)}function de(_,J){let ne=0;for(let Ee=0;Ee<_.length;Ee++)_[Ee]===J&&ne++;return ne}function ae(_){return _.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var ve=new Set(["template","style","script"]);function K(_,J){return he(_,J)&&!ve.has(_.fullName)}function he(_,J){return J.parser==="vue"&&_.type==="element"&&_.parent.type==="root"&&_.fullName.toLowerCase()!=="html"}function ye(_,J){return he(_,J)&&(K(_,J)||_.attrMap.lang&&_.attrMap.lang!=="html")}function Ce(_){let J=_.fullName;return J.charAt(0)==="#"||J==="slot-scope"||J==="v-slot"||J.startsWith("v-slot:")}function Ie(_,J){let ne=_.parent;if(!he(ne,J))return!1;let Ee=ne.fullName,We=_.fullName;return Ee==="script"&&We==="setup"||Ee==="style"&&We==="vars"}function Fe(_){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_.value;return _.parent.isWhitespaceSensitive?_.parent.isIndentationSensitive?o(J):o(pe(S(J)),r):i(u(a,B(J)))}function me(_,J){return he(_,J)&&_.name==="script"}n.exports={htmlTrim:T,htmlTrimPreserveIndentation:S,hasHtmlWhitespace:P,getLeadingAndTrailingHtmlWhitespace:k,canHaveInterpolation:E,countChars:de,countParents:ge,dedentString:pe,forceBreakChildren:$,forceBreakContent:j,forceNextEmptyLine:M,getLastDescendant:ee,getNodeCssStyleDisplay:Ne,getNodeCssStyleWhiteSpace:ke,hasPrettierIgnore:D,inferScriptParser:X,isVueCustomBlock:K,isVueNonHtmlBlock:ye,isVueScriptTag:me,isVueSlotAttribute:Ce,isVueSfcBindingsAttribute:Ie,isVueSfcBlock:he,isDanglingSpaceSensitiveNode:L,isIndentationSensitiveNode:N,isLeadingSpaceSensitiveNode:x,isPreLikeNode:le,isScriptLikeTag:l,isTextLikeNode:F,isTrailingSpaceSensitiveNode:b,isWhitespaceSensitiveNode:v,isUnknownNamespace:p,preferHardlineAsLeadingSpaces:V,preferHardlineAsTrailingSpaces:q,shouldPreserveContent:C,unescapeQuoteEntities:ae,getTextValueParts:Fe}}}),$d=Z({"node_modules/angular-html-parser/lib/compiler/src/chars.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0}),e.$EOF=0,e.$BSPACE=8,e.$TAB=9,e.$LF=10,e.$VTAB=11,e.$FF=12,e.$CR=13,e.$SPACE=32,e.$BANG=33,e.$DQ=34,e.$HASH=35,e.$$=36,e.$PERCENT=37,e.$AMPERSAND=38,e.$SQ=39,e.$LPAREN=40,e.$RPAREN=41,e.$STAR=42,e.$PLUS=43,e.$COMMA=44,e.$MINUS=45,e.$PERIOD=46,e.$SLASH=47,e.$COLON=58,e.$SEMICOLON=59,e.$LT=60,e.$EQ=61,e.$GT=62,e.$QUESTION=63,e.$0=48,e.$7=55,e.$9=57,e.$A=65,e.$E=69,e.$F=70,e.$X=88,e.$Z=90,e.$LBRACKET=91,e.$BACKSLASH=92,e.$RBRACKET=93,e.$CARET=94,e.$_=95,e.$a=97,e.$b=98,e.$e=101,e.$f=102,e.$n=110,e.$r=114,e.$t=116,e.$u=117,e.$v=118,e.$x=120,e.$z=122,e.$LBRACE=123,e.$BAR=124,e.$RBRACE=125,e.$NBSP=160,e.$PIPE=124,e.$TILDA=126,e.$AT=64,e.$BT=96;function n(i){return i>=e.$TAB&&i<=e.$SPACE||i==e.$NBSP}e.isWhitespace=n;function t(i){return e.$0<=i&&i<=e.$9}e.isDigit=t;function s(i){return i>=e.$a&&i<=e.$z||i>=e.$A&&i<=e.$Z}e.isAsciiLetter=s;function a(i){return i>=e.$a&&i<=e.$f||i>=e.$A&&i<=e.$F||t(i)}e.isAsciiHexDigit=a;function r(i){return i===e.$LF||i===e.$CR}e.isNewLine=r;function u(i){return e.$0<=i&&i<=e.$7}e.isOctalDigit=u}}),Hd=Z({"node_modules/angular-html-parser/lib/compiler/src/aot/static_symbol.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=class{constructor(s,a,r){this.filePath=s,this.name=a,this.members=r}assertNoMembers(){if(this.members.length)throw new Error("Illegal state: symbol without members expected, but got ".concat(JSON.stringify(this),"."))}};e.StaticSymbol=n;var t=class{constructor(){this.cache=new Map}get(s,a,r){r=r||[];let u=r.length?".".concat(r.join(".")):"",i='"'.concat(s,'".').concat(a).concat(u),o=this.cache.get(i);return o||(o=new n(s,a,r),this.cache.set(i,o)),o}};e.StaticSymbolCache=t}}),Gd=Z({"node_modules/angular-html-parser/lib/compiler/src/util.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=/-+([a-z0-9])/g;function t(l){return l.replace(n,function(){for(var E=arguments.length,v=new Array(E),N=0;N<E;N++)v[N]=arguments[N];return v[1].toUpperCase()})}e.dashCaseToCamelCase=t;function s(l,E){return r(l,":",E)}e.splitAtColon=s;function a(l,E){return r(l,".",E)}e.splitAtPeriod=a;function r(l,E,v){let N=l.indexOf(E);return N==-1?v:[l.slice(0,N).trim(),l.slice(N+1).trim()]}function u(l,E,v){return Array.isArray(l)?E.visitArray(l,v):A(l)?E.visitStringMap(l,v):l==null||typeof l=="string"||typeof l=="number"||typeof l=="boolean"?E.visitPrimitive(l,v):E.visitOther(l,v)}e.visitValue=u;function i(l){return l!=null}e.isDefined=i;function o(l){return l===void 0?null:l}e.noUndefined=o;var c=class{visitArray(l,E){return l.map(v=>u(v,this,E))}visitStringMap(l,E){let v={};return Object.keys(l).forEach(N=>{v[N]=u(l[N],this,E)}),v}visitPrimitive(l,E){return l}visitOther(l,E){return l}};e.ValueTransformer=c,e.SyncAsync={assertSync:l=>{if(k(l))throw new Error("Illegal state: value cannot be a promise");return l},then:(l,E)=>k(l)?l.then(E):E(l),all:l=>l.some(k)?Promise.all(l):l};function y(l){throw new Error("Internal Error: ".concat(l))}e.error=y;function m(l,E){let v=Error(l);return v[d]=!0,E&&(v[p]=E),v}e.syntaxError=m;var d="ngSyntaxError",p="ngParseErrors";function f(l){return l[d]}e.isSyntaxError=f;function h(l){return l[p]||[]}e.getParseErrors=h;function w(l){return l.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}e.escapeRegExp=w;var T=Object.getPrototypeOf({});function A(l){return typeof l=="object"&&l!==null&&Object.getPrototypeOf(l)===T}function S(l){let E="";for(let v=0;v<l.length;v++){let N=l.charCodeAt(v);if(N>=55296&&N<=56319&&l.length>v+1){let x=l.charCodeAt(v+1);x>=56320&&x<=57343&&(v++,N=(N-55296<<10)+x-56320+65536)}N<=127?E+=String.fromCharCode(N):N<=2047?E+=String.fromCharCode(N>>6&31|192,N&63|128):N<=65535?E+=String.fromCharCode(N>>12|224,N>>6&63|128,N&63|128):N<=2097151&&(E+=String.fromCharCode(N>>18&7|240,N>>12&63|128,N>>6&63|128,N&63|128))}return E}e.utf8Encode=S;function B(l){if(typeof l=="string")return l;if(l instanceof Array)return"["+l.map(B).join(", ")+"]";if(l==null)return""+l;if(l.overriddenName)return"".concat(l.overriddenName);if(l.name)return"".concat(l.name);if(!l.toString)return"object";let E=l.toString();if(E==null)return""+E;let v=E.indexOf(`
104
- `);return v===-1?E:E.substring(0,v)}e.stringify=B;function I(l){return typeof l=="function"&&l.hasOwnProperty("__forward_ref__")?l():l}e.resolveForwardRef=I;function k(l){return!!l&&typeof l.then=="function"}e.isPromise=k;var P=class{constructor(l){this.full=l;let E=l.split(".");this.major=E[0],this.minor=E[1],this.patch=E.slice(2).join(".")}};e.Version=P;var C=typeof window<"u"&&window,D=typeof self<"u"&&typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&self,g=typeof globalThis<"u"&&globalThis,F=g||C||D;e.global=F}}),Jd=Z({"node_modules/angular-html-parser/lib/compiler/src/compile_metadata.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=Hd(),t=Gd(),s=/^(?:(?:\[([^\]]+)\])|(?:\(([^\)]+)\)))|(\@[-\w]+)$/;function a(v){return v.replace(/\W/g,"_")}e.sanitizeIdentifier=a;var r=0;function u(v){if(!v||!v.reference)return null;let N=v.reference;if(N instanceof n.StaticSymbol)return N.name;if(N.__anonymousType)return N.__anonymousType;let x=t.stringify(N);return x.indexOf("(")>=0?(x="anonymous_".concat(r++),N.__anonymousType=x):x=a(x),x}e.identifierName=u;function i(v){let N=v.reference;return N instanceof n.StaticSymbol?N.filePath:"./".concat(t.stringify(N))}e.identifierModuleUrl=i;function o(v,N){return"View_".concat(u({reference:v}),"_").concat(N)}e.viewClassName=o;function c(v){return"RenderType_".concat(u({reference:v}))}e.rendererTypeName=c;function y(v){return"HostView_".concat(u({reference:v}))}e.hostViewClassName=y;function m(v){return"".concat(u({reference:v}),"NgFactory")}e.componentFactoryName=m;var d;(function(v){v[v.Pipe=0]="Pipe",v[v.Directive=1]="Directive",v[v.NgModule=2]="NgModule",v[v.Injectable=3]="Injectable"})(d=e.CompileSummaryKind||(e.CompileSummaryKind={}));function p(v){return v.value!=null?a(v.value):u(v.identifier)}e.tokenName=p;function f(v){return v.identifier!=null?v.identifier.reference:v.value}e.tokenReference=f;var h=class{constructor(){let{moduleUrl:v,styles:N,styleUrls:x}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.moduleUrl=v||null,this.styles=k(N),this.styleUrls=k(x)}};e.CompileStylesheetMetadata=h;var w=class{constructor(v){let{encapsulation:N,template:x,templateUrl:b,htmlAst:L,styles:M,styleUrls:j,externalStylesheets:$,animations:V,ngContentSelectors:q,interpolation:Y,isInline:H,preserveWhitespaces:R}=v;if(this.encapsulation=N,this.template=x,this.templateUrl=b,this.htmlAst=L,this.styles=k(M),this.styleUrls=k(j),this.externalStylesheets=k($),this.animations=V?C(V):[],this.ngContentSelectors=q||[],Y&&Y.length!=2)throw new Error("'interpolation' should have a start and an end symbol.");this.interpolation=Y,this.isInline=H,this.preserveWhitespaces=R}toSummary(){return{ngContentSelectors:this.ngContentSelectors,encapsulation:this.encapsulation,styles:this.styles,animations:this.animations}}};e.CompileTemplateMetadata=w;var T=class{static create(v){let{isHost:N,type:x,isComponent:b,selector:L,exportAs:M,changeDetection:j,inputs:$,outputs:V,host:q,providers:Y,viewProviders:H,queries:R,guards:Q,viewQueries:ee,entryComponents:te,template:oe,componentViewType:W,rendererType:X,componentFactory:ue}=v,De={},ie={},G={};q!=null&&Object.keys(q).forEach(le=>{let ge=q[le],Ae=le.match(s);Ae===null?G[le]=ge:Ae[1]!=null?ie[Ae[1]]=ge:Ae[2]!=null&&(De[Ae[2]]=ge)});let z={};$!=null&&$.forEach(le=>{let ge=t.splitAtColon(le,[le,le]);z[ge[0]]=ge[1]});let U={};return V!=null&&V.forEach(le=>{let ge=t.splitAtColon(le,[le,le]);U[ge[0]]=ge[1]}),new T({isHost:N,type:x,isComponent:!!b,selector:L,exportAs:M,changeDetection:j,inputs:z,outputs:U,hostListeners:De,hostProperties:ie,hostAttributes:G,providers:Y,viewProviders:H,queries:R,guards:Q,viewQueries:ee,entryComponents:te,template:oe,componentViewType:W,rendererType:X,componentFactory:ue})}constructor(v){let{isHost:N,type:x,isComponent:b,selector:L,exportAs:M,changeDetection:j,inputs:$,outputs:V,hostListeners:q,hostProperties:Y,hostAttributes:H,providers:R,viewProviders:Q,queries:ee,guards:te,viewQueries:oe,entryComponents:W,template:X,componentViewType:ue,rendererType:De,componentFactory:ie}=v;this.isHost=!!N,this.type=x,this.isComponent=b,this.selector=L,this.exportAs=M,this.changeDetection=j,this.inputs=$,this.outputs=V,this.hostListeners=q,this.hostProperties=Y,this.hostAttributes=H,this.providers=k(R),this.viewProviders=k(Q),this.queries=k(ee),this.guards=te,this.viewQueries=k(oe),this.entryComponents=k(W),this.template=X,this.componentViewType=ue,this.rendererType=De,this.componentFactory=ie}toSummary(){return{summaryKind:d.Directive,type:this.type,isComponent:this.isComponent,selector:this.selector,exportAs:this.exportAs,inputs:this.inputs,outputs:this.outputs,hostListeners:this.hostListeners,hostProperties:this.hostProperties,hostAttributes:this.hostAttributes,providers:this.providers,viewProviders:this.viewProviders,queries:this.queries,guards:this.guards,viewQueries:this.viewQueries,entryComponents:this.entryComponents,changeDetection:this.changeDetection,template:this.template&&this.template.toSummary(),componentViewType:this.componentViewType,rendererType:this.rendererType,componentFactory:this.componentFactory}}};e.CompileDirectiveMetadata=T;var A=class{constructor(v){let{type:N,name:x,pure:b}=v;this.type=N,this.name=x,this.pure=!!b}toSummary(){return{summaryKind:d.Pipe,type:this.type,name:this.name,pure:this.pure}}};e.CompilePipeMetadata=A;var S=class{};e.CompileShallowModuleMetadata=S;var B=class{constructor(v){let{type:N,providers:x,declaredDirectives:b,exportedDirectives:L,declaredPipes:M,exportedPipes:j,entryComponents:$,bootstrapComponents:V,importedModules:q,exportedModules:Y,schemas:H,transitiveModule:R,id:Q}=v;this.type=N||null,this.declaredDirectives=k(b),this.exportedDirectives=k(L),this.declaredPipes=k(M),this.exportedPipes=k(j),this.providers=k(x),this.entryComponents=k($),this.bootstrapComponents=k(V),this.importedModules=k(q),this.exportedModules=k(Y),this.schemas=k(H),this.id=Q||null,this.transitiveModule=R||null}toSummary(){let v=this.transitiveModule;return{summaryKind:d.NgModule,type:this.type,entryComponents:v.entryComponents,providers:v.providers,modules:v.modules,exportedDirectives:v.exportedDirectives,exportedPipes:v.exportedPipes}}};e.CompileNgModuleMetadata=B;var I=class{constructor(){this.directivesSet=new Set,this.directives=[],this.exportedDirectivesSet=new Set,this.exportedDirectives=[],this.pipesSet=new Set,this.pipes=[],this.exportedPipesSet=new Set,this.exportedPipes=[],this.modulesSet=new Set,this.modules=[],this.entryComponentsSet=new Set,this.entryComponents=[],this.providers=[]}addProvider(v,N){this.providers.push({provider:v,module:N})}addDirective(v){this.directivesSet.has(v.reference)||(this.directivesSet.add(v.reference),this.directives.push(v))}addExportedDirective(v){this.exportedDirectivesSet.has(v.reference)||(this.exportedDirectivesSet.add(v.reference),this.exportedDirectives.push(v))}addPipe(v){this.pipesSet.has(v.reference)||(this.pipesSet.add(v.reference),this.pipes.push(v))}addExportedPipe(v){this.exportedPipesSet.has(v.reference)||(this.exportedPipesSet.add(v.reference),this.exportedPipes.push(v))}addModule(v){this.modulesSet.has(v.reference)||(this.modulesSet.add(v.reference),this.modules.push(v))}addEntryComponent(v){this.entryComponentsSet.has(v.componentType)||(this.entryComponentsSet.add(v.componentType),this.entryComponents.push(v))}};e.TransitiveCompileNgModuleMetadata=I;function k(v){return v||[]}var P=class{constructor(v,N){let{useClass:x,useValue:b,useExisting:L,useFactory:M,deps:j,multi:$}=N;this.token=v,this.useClass=x||null,this.useValue=b,this.useExisting=L,this.useFactory=M||null,this.dependencies=j||null,this.multi=!!$}};e.ProviderMeta=P;function C(v){return v.reduce((N,x)=>{let b=Array.isArray(x)?C(x):x;return N.concat(b)},[])}e.flatten=C;function D(v){return v.replace(/(\w+:\/\/[\w:-]+)?(\/+)?/,"ng:///")}function g(v,N,x){let b;return x.isInline?N.type.reference instanceof n.StaticSymbol?b="".concat(N.type.reference.filePath,".").concat(N.type.reference.name,".html"):b="".concat(u(v),"/").concat(u(N.type),".html"):b=x.templateUrl,N.type.reference instanceof n.StaticSymbol?b:D(b)}e.templateSourceUrl=g;function F(v,N){let x=v.moduleUrl.split(/\/\\/g),b=x[x.length-1];return D("css/".concat(N).concat(b,".ngstyle.js"))}e.sharedStylesheetJitUrl=F;function l(v){return D("".concat(u(v.type),"/module.ngfactory.js"))}e.ngModuleJitUrl=l;function E(v,N){return D("".concat(u(v),"/").concat(u(N.type),".ngfactory.js"))}e.templateJitUrl=E}}),Ud=Z({"node_modules/angular-html-parser/lib/compiler/src/parse_util.js"(e){"use strict";re(),Object.defineProperty(e,"__esModule",{value:!0});var n=$d(),t=Jd(),s=class{constructor(y,m,d,p){this.file=y,this.offset=m,this.line=d,this.col=p}toString(){return this.offset!=null?"".concat(this.file.url,"@").concat(this.line,":").concat(this.col):this.file.url}moveBy(y){let m=this.file.content,d=m.length,p=this.offset,f=this.line,h=this.col;for(;p>0&&y<0;)if(p--,y++,m.charCodeAt(p)==n.$LF){f--;let T=m.substr(0,p-1).lastIndexOf(String.fromCharCode(n.$LF));h=T>0?p-T:p}else h--;for(;p<d&&y>0;){let w=m.charCodeAt(p);p++,y--,w==n.$LF?(f++,h=0):h++}return new s(this.file,p,f,h)}getContext(y,m){let d=this.file.content,p=this.offset;if(p!=null){p>d.length-1&&(p=d.length-1);let f=p,h=0,w=0;for(;h<y&&p>0&&(p--,h++,!(d[p]==`
105
- `&&++w==m)););for(h=0,w=0;h<y&&f<d.length-1&&(f++,h++,!(d[f]==`
106
- `&&++w==m)););return{before:d.substring(p,this.offset),after:d.substring(this.offset,f+1)}}return null}};e.ParseLocation=s;var a=class{constructor(y,m){this.content=y,this.url=m}};e.ParseSourceFile=a;var r=class{constructor(y,m){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.start=y,this.end=m,this.details=d}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}};e.ParseSourceSpan=r,e.EMPTY_PARSE_LOCATION=new s(new a("",""),0,0,0),e.EMPTY_SOURCE_SPAN=new r(e.EMPTY_PARSE_LOCATION,e.EMPTY_PARSE_LOCATION);var u;(function(y){y[y.WARNING=0]="WARNING",y[y.ERROR=1]="ERROR"})(u=e.ParseErrorLevel||(e.ParseErrorLevel={}));var i=class{constructor(y,m){let d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:u.ERROR;this.span=y,this.msg=m,this.level=d}contextualMessage(){let y=this.span.start.getContext(100,3);return y?"".concat(this.msg,' ("').concat(y.before,"[").concat(u[this.level]," ->]").concat(y.after,'")'):this.msg}toString(){let y=this.span.details?", ".concat(this.span.details):"";return"".concat(this.contextualMessage(),": ").concat(this.span.start).concat(y)}};e.ParseError=i;function o(y,m){let d=t.identifierModuleUrl(m),p=d!=null?"in ".concat(y," ").concat(t.identifierName(m)," in ").concat(d):"in ".concat(y," ").concat(t.identifierName(m)),f=new a("",p);return new r(new s(f,-1,-1,-1),new s(f,-1,-1,-1))}e.typeSourceSpan=o;function c(y,m,d){let p="in ".concat(y," ").concat(m," in ").concat(d),f=new a("",p);return new r(new s(f,-1,-1,-1),new s(f,-1,-1,-1))}e.r3JitTypeSourceSpan=c}}),zd=Z({"src/language-html/print-preprocess.js"(e,n){"use strict";re();var{ParseSourceSpan:t}=Ud(),{htmlTrim:s,getLeadingAndTrailingHtmlWhitespace:a,hasHtmlWhitespace:r,canHaveInterpolation:u,getNodeCssStyleDisplay:i,isDanglingSpaceSensitiveNode:o,isIndentationSensitiveNode:c,isLeadingSpaceSensitiveNode:y,isTrailingSpaceSensitiveNode:m,isWhitespaceSensitiveNode:d,isVueScriptTag:p}=jt(),f=[w,T,S,I,k,D,P,C,g,B,F];function h(l,E){for(let v of f)v(l,E);return l}function w(l){l.walk(E=>{if(E.type==="element"&&E.tagDefinition.ignoreFirstLf&&E.children.length>0&&E.children[0].type==="text"&&E.children[0].value[0]===`
107
- `){let v=E.children[0];v.value.length===1?E.removeChild(v):v.value=v.value.slice(1)}})}function T(l){let E=v=>v.type==="element"&&v.prev&&v.prev.type==="ieConditionalStartComment"&&v.prev.sourceSpan.end.offset===v.startSourceSpan.start.offset&&v.firstChild&&v.firstChild.type==="ieConditionalEndComment"&&v.firstChild.sourceSpan.start.offset===v.startSourceSpan.end.offset;l.walk(v=>{if(v.children)for(let N=0;N<v.children.length;N++){let x=v.children[N];if(!E(x))continue;let b=x.prev,L=x.firstChild;v.removeChild(b),N--;let M=new t(b.sourceSpan.start,L.sourceSpan.end),j=new t(M.start,x.sourceSpan.end);x.condition=b.condition,x.sourceSpan=j,x.startSourceSpan=M,x.removeChild(L)}})}function A(l,E,v){l.walk(N=>{if(N.children)for(let x=0;x<N.children.length;x++){let b=N.children[x];if(b.type!=="text"&&!E(b))continue;b.type!=="text"&&(b.type="text",b.value=v(b));let L=b.prev;!L||L.type!=="text"||(L.value+=b.value,L.sourceSpan=new t(L.sourceSpan.start,b.sourceSpan.end),N.removeChild(b),x--)}})}function S(l){return A(l,E=>E.type==="cdata",E=>"<![CDATA[".concat(E.value,"]]>"))}function B(l){let E=v=>v.type==="element"&&v.attrs.length===0&&v.children.length===1&&v.firstChild.type==="text"&&!r(v.children[0].value)&&!v.firstChild.hasLeadingSpaces&&!v.firstChild.hasTrailingSpaces&&v.isLeadingSpaceSensitive&&!v.hasLeadingSpaces&&v.isTrailingSpaceSensitive&&!v.hasTrailingSpaces&&v.prev&&v.prev.type==="text"&&v.next&&v.next.type==="text";l.walk(v=>{if(v.children)for(let N=0;N<v.children.length;N++){let x=v.children[N];if(!E(x))continue;let b=x.prev,L=x.next;b.value+="<".concat(x.rawName,">")+x.firstChild.value+"</".concat(x.rawName,">")+L.value,b.sourceSpan=new t(b.sourceSpan.start,L.sourceSpan.end),b.isTrailingSpaceSensitive=L.isTrailingSpaceSensitive,b.hasTrailingSpaces=L.hasTrailingSpaces,v.removeChild(x),N--,v.removeChild(L)}})}function I(l,E){if(E.parser==="html")return;let v=/{{(.+?)}}/s;l.walk(N=>{if(!!u(N))for(let x of N.children){if(x.type!=="text")continue;let b=x.sourceSpan.start,L=null,M=x.value.split(v);for(let j=0;j<M.length;j++,b=L){let $=M[j];if(j%2===0){L=b.moveBy($.length),$.length>0&&N.insertChildBefore(x,{type:"text",value:$,sourceSpan:new t(b,L)});continue}L=b.moveBy($.length+4),N.insertChildBefore(x,{type:"interpolation",sourceSpan:new t(b,L),children:$.length===0?[]:[{type:"text",value:$,sourceSpan:new t(b.moveBy(2),L.moveBy(-2))}]})}N.removeChild(x)}})}function k(l){l.walk(E=>{if(!E.children)return;if(E.children.length===0||E.children.length===1&&E.children[0].type==="text"&&s(E.children[0].value).length===0){E.hasDanglingSpaces=E.children.length>0,E.children=[];return}let v=d(E),N=c(E);if(!v)for(let x=0;x<E.children.length;x++){let b=E.children[x];if(b.type!=="text")continue;let{leadingWhitespace:L,text:M,trailingWhitespace:j}=a(b.value),$=b.prev,V=b.next;M?(b.value=M,b.sourceSpan=new t(b.sourceSpan.start.moveBy(L.length),b.sourceSpan.end.moveBy(-j.length)),L&&($&&($.hasTrailingSpaces=!0),b.hasLeadingSpaces=!0),j&&(b.hasTrailingSpaces=!0,V&&(V.hasLeadingSpaces=!0))):(E.removeChild(b),x--,(L||j)&&($&&($.hasTrailingSpaces=!0),V&&(V.hasLeadingSpaces=!0)))}E.isWhitespaceSensitive=v,E.isIndentationSensitive=N})}function P(l){l.walk(E=>{E.isSelfClosing=!E.children||E.type==="element"&&(E.tagDefinition.isVoid||E.startSourceSpan===E.endSourceSpan)})}function C(l,E){l.walk(v=>{v.type==="element"&&(v.hasHtmComponentClosingTag=v.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(E.originalText.slice(v.endSourceSpan.start.offset,v.endSourceSpan.end.offset)))})}function D(l,E){l.walk(v=>{v.cssDisplay=i(v,E)})}function g(l,E){l.walk(v=>{let{children:N}=v;if(!!N){if(N.length===0){v.isDanglingSpaceSensitive=o(v);return}for(let x of N)x.isLeadingSpaceSensitive=y(x,E),x.isTrailingSpaceSensitive=m(x,E);for(let x=0;x<N.length;x++){let b=N[x];b.isLeadingSpaceSensitive=(x===0||b.prev.isTrailingSpaceSensitive)&&b.isLeadingSpaceSensitive,b.isTrailingSpaceSensitive=(x===N.length-1||b.next.isLeadingSpaceSensitive)&&b.isTrailingSpaceSensitive}}})}function F(l,E){if(E.parser==="vue"){let v=l.children.find(x=>p(x,E));if(!v)return;let{lang:N}=v.attrMap;(N==="ts"||N==="typescript")&&(E.__should_parse_vue_template_with_ts=!0)}}n.exports=h}}),Xd=Z({"src/language-html/pragma.js"(e,n){"use strict";re();function t(a){return/^\s*<!--\s*@(?:format|prettier)\s*-->/.test(a)}function s(a){return`<!-- @format -->
110
+ `+r.value,position:{start:t.position.start,end:r.position.end}}))}function Ny(e,t,r){return Pr(e,n=>{if(!n.children)return n;let u=n.children.reduce((i,s)=>{let a=I(i);return a&&t(a,s)?i.splice(-1,1,r(a,s)):i.push(s),i},[]);return{...n,children:u}})}function nT(e){return Ny(e,(t,r)=>t.type==="text"&&r.type==="text",(t,r)=>({type:"text",value:t.value+r.value,position:{start:t.position.start,end:r.position.end}}))}function uT(e,t){return Pr(e,(r,n,[u])=>{if(r.type!=="text")return r;let{value:i}=r;return u.type==="paragraph"&&(n===0&&(i=i.trimStart()),n===u.children.length-1&&(i=i.trimEnd())),{type:"sentence",position:r.position,children:ia(i,t)}})}function iT(e,t){return Pr(e,(r,n,u)=>{if(r.type==="code"){let i=/^\n?(?: {4,}|\t)/.test(t.originalText.slice(r.position.start.offset,r.position.end.offset));if(r.isIndented=i,i)for(let s=0;s<u.length;s++){let a=u[s];if(a.hasIndentedCodeblock)break;a.type==="list"&&(a.hasIndentedCodeblock=!0)}}return r})}function sT(e,t){return Pr(e,(u,i,s)=>{if(u.type==="list"&&u.children.length>0){for(let a=0;a<s.length;a++){let o=s[a];if(o.type==="list"&&!o.isAligned)return u.isAligned=!1,u}u.isAligned=n(u)}return u});function r(u){return u.children.length===0?-1:u.children[0].position.start.column-1}function n(u){if(!u.ordered)return!0;let[i,s]=u.children;if(Mn(i,t.originalText).leadingSpaces.length>1)return!0;let o=r(i);if(o===-1)return!1;if(u.children.length===1)return o%t.tabWidth===0;let c=r(s);return o!==c?!1:o%t.tabWidth===0?!0:Mn(s,t.originalText).leadingSpaces.length>1}}var _y=QS;p();var aT=new Set(["position","raw"]);function Oy(e,t,r){if((e.type==="front-matter"||e.type==="code"||e.type==="yaml"||e.type==="import"||e.type==="export"||e.type==="jsx")&&delete t.value,e.type==="list"&&delete t.isAligned,(e.type==="list"||e.type==="listItem")&&(delete t.spread,delete t.loose),e.type==="text"||(e.type==="inlineCode"&&(t.value=e.value.replace(/[\t\n ]+/g," ")),e.type==="wikiLink"&&(t.value=e.value.trim().replace(/[\t\n]+/g," ")),(e.type==="definition"||e.type==="linkReference")&&(t.label=e.label.trim().replace(/[\t\n ]+/g," ").toLowerCase()),(e.type==="definition"||e.type==="link"||e.type==="image")&&e.title&&(t.title=e.title.replace(/\\(["')])/g,"$1")),r&&r.type==="root"&&r.children.length>0&&(r.children[0]===e||Ue(r.children[0])&&r.children[1]===e)&&e.type==="html"&&ky(e.value)))return null}Oy.ignoredProperties=aT;var Ry=Oy;p();var oT={"front-matter":[],root:["children"],paragraph:["children"],sentence:["children"],word:[],whitespace:[],emphasis:["children"],strong:["children"],delete:["children"],inlineCode:[],wikiLink:[],link:["children"],image:[],blockquote:["children"],heading:["children"],code:[],html:[],list:["children"],thematicBreak:[],linkReference:["children"],imageReference:[],definition:[],footnote:["children"],footnoteReference:[],footnoteDefinition:["children"],table:["children"],tableCell:["children"],break:[],liquidNode:[],import:[],export:[],importExport:[],esComment:[],jsx:[],math:[],inlineMath:[],tableRow:["children"],listItem:["children"],text:[]},My=oT;var qy=new Set(["importExport"]),cT=["heading","tableCell","link","wikiLink"],lT=new Set(["listItem","definition","footnoteDefinition"]);function pT(e,t,r){let n=e.getValue();if(ET(e))return ia(t.originalText.slice(n.position.start.offset,n.position.end.offset),t).map(u=>u.type==="word"?u.value:u.value===""?"":Vy(e,u.value,t));switch(n.type){case"front-matter":return t.originalText.slice(n.position.start.offset,n.position.end.offset);case"root":return n.children.length===0?"":[Xa(dT(e,t,r)),qy.has(yT(n).type)?"":d];case"paragraph":return ke(e,t,r,{postprocessor:se});case"sentence":return ke(e,t,r);case"word":{let u=n.value.replace(/\*/g,"\\$&").replace(new RegExp([`(^|${qu})(_+)`,`(_+)(${qu}|$)`].join("|"),"g"),(a,o,c,l,f)=>(c?`${o}${c}`:`${l}${f}`).replace(/_/g,"\\_")),i=(a,o,c)=>a.type==="sentence"&&c===0,s=(a,o,c)=>Fl(a.children[c-1]);return u!==n.value&&(e.match(void 0,i,s)||e.match(void 0,i,(a,o,c)=>a.type==="emphasis"&&c===0,s))&&(u=u.replace(/^(\\?[*_])+/,a=>a.replace(/\\/g,""))),u}case"whitespace":{let u=e.getParentNode(),i=u.children.indexOf(n),s=u.children[i+1],a=s&&/^>|^(?:[*+-]|#{1,6}|\d+[).])$/.test(s.value)?"never":t.proseWrap;return Vy(e,n.value,{proseWrap:a})}case"emphasis":{let u;if(Fl(n.children[0]))u=t.originalText[n.position.start.offset];else{let i=e.getParentNode(),s=i.children.indexOf(n),a=i.children[s-1],o=i.children[s+1];u=a&&a.type==="sentence"&&a.children.length>0&&I(a.children).type==="word"&&!I(a.children).hasTrailingPunctuation||o&&o.type==="sentence"&&o.children.length>0&&o.children[0].type==="word"&&!o.children[0].hasLeadingPunctuation||Tl(e,"emphasis")?"*":"_"}return[u,ke(e,t,r),u]}case"strong":return["**",ke(e,t,r),"**"];case"delete":return["~~",ke(e,t,r),"~~"];case"inlineCode":{let u=tf(n.value,"`"),i="`".repeat(u||1),s=u&&!/^\s/.test(n.value)?" ":"";return[i,s,n.value,s,i]}case"wikiLink":{let u="";return t.proseWrap==="preserve"?u=n.value:u=n.value.replace(/[\t\n]+/g," "),["[[",u,"]]"]}case"link":switch(t.originalText[n.position.start.offset]){case"<":{let u="mailto:",i=n.url.startsWith(u)&&t.originalText.slice(n.position.start.offset+1,n.position.start.offset+1+u.length)!==u?n.url.slice(u.length):n.url;return["<",i,">"]}case"[":return["[",ke(e,t,r),"](",Sl(n.url,")"),aa(n.title,t),")"];default:return t.originalText.slice(n.position.start.offset,n.position.end.offset)}case"image":return["![",n.alt||"","](",Sl(n.url,")"),aa(n.title,t),")"];case"blockquote":return["> ",ne("> ",ke(e,t,r))];case"heading":return["#".repeat(n.depth)+" ",ke(e,t,r)];case"code":{if(n.isIndented){let s=" ".repeat(4);return ne(s,[s,...z(n.value,d)])}let u=t.__inJsTemplate?"~":"`",i=u.repeat(Math.max(3,gn(n.value,u)+1));return[i,n.lang||"",n.meta?" "+n.meta:"",d,...z(sa(n,t.originalText),d),d,i]}case"html":{let u=e.getParentNode(),i=u.type==="root"&&I(u.children)===n?n.value.trimEnd():n.value,s=/^<!--.*-->$/s.test(i);return z(i,s?d:_t(_e))}case"list":{let u=$y(n,e.getParentNode()),i=wy(n,t);return ke(e,t,r,{processor:(s,a)=>{let o=l(),c=s.getValue();if(c.children.length===2&&c.children[1].type==="html"&&c.children[0].position.start.column!==c.children[1].position.start.column)return[o,jy(s,t,r,o)];return[o,ne(" ".repeat(o.length),jy(s,t,r,o))];function l(){let f=n.ordered?(a===0?n.start:i?1:n.start+a)+(u%2===0?". ":") "):u%2===0?"- ":"* ";return n.isAligned||n.hasIndentedCodeblock?fT(f,t):f}}})}case"thematicBreak":{let u=Uy(e,"list");return u===-1?"---":$y(e.getParentNode(u),e.getParentNode(u+1))%2===0?"***":"---"}case"linkReference":return["[",ke(e,t,r),"]",n.referenceType==="full"?["[",n.identifier,"]"]:n.referenceType==="collapsed"?"[]":""];case"imageReference":switch(n.referenceType){case"full":return["![",n.alt||"","][",n.identifier,"]"];default:return["![",n.alt,"]",n.referenceType==="collapsed"?"[]":""]}case"definition":{let u=t.proseWrap==="always"?x:" ";return h(["[",n.identifier,"]:",F([u,Sl(n.url),n.title===null?"":[u,aa(n.title,t,!1)]])])}case"footnote":return["[^",ke(e,t,r),"]"];case"footnoteReference":return["[^",n.identifier,"]"];case"footnoteDefinition":{let u=e.getParentNode().children[e.getName()+1],i=n.children.length===1&&n.children[0].type==="paragraph"&&(t.proseWrap==="never"||t.proseWrap==="preserve"&&n.children[0].position.start.line===n.children[0].position.end.line);return["[^",n.identifier,"]: ",i?ke(e,t,r):h([ne(" ".repeat(4),ke(e,t,r,{processor:(s,a)=>a===0?h([A,r()]):r()})),u&&u.type==="footnoteDefinition"?A:""])]}case"table":return DT(e,t,r);case"tableCell":return ke(e,t,r);case"break":return/\s/.test(t.originalText[n.position.start.offset])?[" ",_t(_e)]:["\\",d];case"liquidNode":return z(n.value,d);case"importExport":return[n.value,d];case"esComment":return["{/* ",n.value," */}"];case"jsx":return n.value;case"math":return["$$",d,n.value?[...z(n.value,d),d]:"","$$"];case"inlineMath":return t.originalText.slice($u(n),Vu(n));case"tableRow":case"listItem":case"text":case"import":case"export":default:throw new Error(`Unknown markdown type ${JSON.stringify(n.type)}`)}}function jy(e,t,r,n){let u=e.getValue(),i=u.checked===null?"":u.checked?"[x] ":"[ ] ";return[i,ke(e,t,r,{processor:(s,a)=>{if(a===0&&s.getValue().type!=="list")return ne(" ".repeat(i.length),r());let o=" ".repeat(CT(t.tabWidth-n.length,0,3));return[o,ne(o,r())]}})]}function fT(e,t){let r=n();return e+" ".repeat(r>=4?0:r);function n(){let u=e.length%t.tabWidth;return u===0?0:t.tabWidth-u}}function $y(e,t){return mT(e,t,r=>r.ordered===e.ordered)}function mT(e,t,r){let n=-1;for(let u of t.children)if(u.type===e.type&&r(u)?n++:n=-1,u===e)return n}function Uy(e,t){let r=Array.isArray(t)?t:[t],n=-1,u;for(;u=e.getParentNode(++n);)if(r.includes(u.type))return n;return-1}function Tl(e,t){let r=Uy(e,t);return r===-1?null:e.getParentNode(r)}function Vy(e,t,r){if(r.proseWrap==="preserve"&&t===`
111
+ `)return d;let n=r.proseWrap==="always"&&!Tl(e,cT);return t!==""?n?x:" ":n?A:""}function DT(e,t,r){let n=e.getValue(),u=[],i=e.map(f=>f.map((m,D)=>{let y=jt(r(),t).formatted,E=Ne(y);return u[D]=Math.max(u[D]||3,E),{text:y,width:E}},"children"),"children"),s=o(!1);if(t.proseWrap!=="never")return[te,s];let a=o(!0);return[te,h(N(a,s))];function o(f){let m=[l(i[0],f),c(f)];return i.length>1&&m.push(B(Lr,i.slice(1).map(D=>l(D,f)))),B(Lr,m)}function c(f){return`| ${u.map((D,y)=>{let E=n.align[y],C=E==="center"||E==="left"?":":"-",T=E==="center"||E==="right"?":":"-",b=f?"-":"-".repeat(D-2);return`${C}${b}${T}`}).join(" | ")} |`}function l(f,m){return`| ${f.map(({text:y,width:E},C)=>{if(m)return y;let T=u[C]-E,b=n.align[C],S=0;b==="right"?S=T:b==="center"&&(S=Math.floor(T/2));let v=T-S;return`${" ".repeat(S)}${y}${" ".repeat(v)}`}).join(" | ")} |`}}function dT(e,t,r){let n=[],u=null,{children:i}=e.getValue();for(let[s,a]of i.entries())switch(bl(a)){case"start":u===null&&(u={index:s,offset:a.position.end.offset});break;case"end":u!==null&&(n.push({start:u,end:{index:s,offset:a.position.start.offset}}),u=null);break;default:break}return ke(e,t,r,{processor:(s,a)=>{if(n.length>0){let o=n[0];if(a===o.start.index)return[i[o.start.index].value,t.originalText.slice(o.start.offset,o.end.offset),i[o.end.index].value];if(o.start.index<a&&a<o.end.index)return!1;if(a===o.end.index)return n.shift(),!1}return r()}})}function ke(e,t,r,n={}){let{postprocessor:u}=n,i=n.processor||(()=>r()),s=e.getValue(),a=[],o;return e.each((c,l)=>{let f=c.getValue(),m=i(c,l);if(m!==!1){let D={parts:a,prevNode:o,parentNode:s,options:t};gT(f,D)&&(a.push(d),o&&qy.has(o.type)?xl(f,D)&&a.push(d):((hT(f,D)||xl(f,D))&&a.push(d),xl(f,D)&&a.push(d))),a.push(m),o=f}},"children"),u?u(a):a}function yT(e){let t=e;for(;O(t.children);)t=I(t.children);return t}function bl(e){let t;if(e.type==="html")t=e.value.match(/^<!--\s*prettier-ignore(?:-(start|end))?\s*-->$/);else{let r;e.type==="esComment"?r=e:e.type==="paragraph"&&e.children.length===1&&e.children[0].type==="esComment"&&(r=e.children[0]),r&&(t=r.value.match(/^prettier-ignore(?:-(start|end))?$/))}return t?t[1]||"next":!1}function gT(e,t){let r=t.parts.length===0,n=Al.includes(e.type),u=e.type==="html"&&vy.includes(t.parentNode.type);return!r&&!n&&!u}function hT(e,t){var c,l,f;let n=(t.prevNode&&t.prevNode.type)===e.type&&lT.has(e.type),u=t.parentNode.type==="listItem"&&!t.parentNode.loose,i=((c=t.prevNode)==null?void 0:c.type)==="listItem"&&t.prevNode.loose,s=bl(t.prevNode)==="next",a=e.type==="html"&&((l=t.prevNode)==null?void 0:l.type)==="html"&&t.prevNode.position.end.line+1===e.position.start.line,o=e.type==="html"&&t.parentNode.type==="listItem"&&((f=t.prevNode)==null?void 0:f.type)==="paragraph"&&t.prevNode.position.end.line+1===e.position.start.line;return i||!(n||u||s||a||o)}function xl(e,t){let r=t.prevNode&&t.prevNode.type==="list",n=e.type==="code"&&e.isIndented;return r&&n}function ET(e){let t=Tl(e,["linkReference","imageReference"]);return t&&(t.type!=="linkReference"||t.referenceType!=="full")}function Sl(e,t=[]){let r=[" ",...Array.isArray(t)?t:[t]];return new RegExp(r.map(n=>`\\${n}`).join("|")).test(e)?`<${e}>`:e}function aa(e,t,r=!0){if(!e)return"";if(r)return" "+aa(e,t,!1);if(e=e.replace(/\\(["')])/g,"$1"),e.includes('"')&&e.includes("'")&&!e.includes(")"))return`(${e})`;let n=e.split("'").length-1,u=e.split('"').length-1,i=n>u?'"':u>n||t.singleQuote?"'":'"';return e=e.replace(/\\/,"\\\\"),e=e.replace(new RegExp(`(${i})`,"g"),"\\$1"),`${i}${e}${i}`}function CT(e,t,r){return e<t?t:e>r?r:e}function AT(e){let t=Number(e.getName());if(t===0)return!1;let r=e.getParentNode().children[t-1];return bl(r)==="next"}var FT={preprocess:_y,print:pT,embed:Py,massageAstNode:Ry,hasPrettierIgnore:AT,insertPragma:Ly,getVisitorKeys:Ie(My)},Wy=FT;var Gy=[{linguistLanguageId:222,name:"Markdown",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".md",".livemd",".markdown",".mdown",".mdwn",".mkd",".mkdn",".mkdown",".ronn",".scd",".workbook"],filenames:["contents.lr","README"],tmScope:"source.gfm",since:"1.8.0",parsers:["markdown"],vscodeLanguageIds:["markdown"]},{linguistLanguageId:222,name:"MDX",type:"prose",color:"#083fa1",aliases:["pandoc"],aceMode:"markdown",codemirrorMode:"gfm",codemirrorMimeType:"text/x-gfm",wrap:!0,extensions:[".mdx"],filenames:[],tmScope:"source.gfm",since:"1.15.0",parsers:["mdx"],vscodeLanguageIds:["mdx"]}];p();var ST={proseWrap:Ee.proseWrap,singleQuote:Ee.singleQuote},Jy=ST;p();var Hy=void 0;var TT={mdast:Wy};var Ia={};Ce(Ia,{languages:()=>Jg,options:()=>Yg,parsers:()=>Kg,printers:()=>ub});p();p();p();var bT=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan"]);function Yy(e,t){if(e.type==="text"||e.type==="comment"||Ue(e)||e.type==="yaml"||e.type==="toml")return null;e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value}Yy.ignoredProperties=bT;var Ky=Yy;p();var Xy="inline",zy={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",source:"block",style:"none",template:"inline",track:"block",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",fieldset:"block",button:"inline-block",details:"block",summary:"block",dialog:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},Qy="normal",Zy={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};p();function BT(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}var la=BT;var vT=new Set([" ",`
112
+ `,"\f","\r"," "]),wT=e=>e.replace(/^[\t\n\f\r ]+/,""),tg=e=>e.replace(/[\t\n\f\r ]+$/,""),rg=e=>wT(tg(e)),PT=e=>e.replace(/^[\t\f\r ]*\n/g,""),Bl=e=>PT(tg(e)),IT=e=>e.split(/[\t\n\f\r ]+/),kT=e=>e.match(/^[\t\n\f\r ]*/)[0],ng=e=>{let[,t,r,n]=e.match(/^([\t\n\f\r ]*)(.*?)([\t\n\f\r ]*)$/s);return{leadingWhitespace:t,trailingWhitespace:n,text:r}},ug=e=>/[\t\n\f\r ]/.test(e);function pa(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||tn(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||da(e,t)&&!Pt(e)&&e.type!=="interpolation")}function Uu(e){return e.type==="attribute"||!e.parent||!e.prev?!1:LT(e.prev)}function LT(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function Ke(e){return e.type==="text"||e.type==="comment"}function Pt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||la(e)&&(e.name==="script"||e.name==="style"))}function ig(e){return e.children&&!Pt(e)}function sg(e){return Pt(e)||e.type==="interpolation"||vl(e)}function vl(e){return gg(e).startsWith("pre")}function ag(e,t){let r=n();if(r&&!e.prev&&e.parent&&e.parent.tagDefinition&&e.parent.tagDefinition.ignoreFirstLf)return e.type==="interpolation";return r;function n(){return Ue(e)?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:tn(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||tn(e)&&e.parent||Pt(e.parent)||Ju(e.parent,t)||!RT(e.parent.cssDisplay))||e.prev&&!$T(e.prev.cssDisplay))}}function og(e,t){return Ue(e)?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:tn(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||tn(e)&&e.parent||Pt(e.parent)||Ju(e.parent,t)||!MT(e.parent.cssDisplay))||e.next&&!jT(e.next.cssDisplay))}function cg(e){return VT(e.cssDisplay)&&!Pt(e)}function Wu(e){return Ue(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+1<e.next.sourceSpan.start.line}function lg(e){return wl(e)||e.type==="element"&&e.children.length>0&&(["body","script","style"].includes(e.name)||e.children.some(t=>_T(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&fg(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||mg(e.lastChild))}function wl(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function fa(e){return Dg(e)||e.prev&&NT(e.prev)||pg(e)}function NT(e){return Dg(e)||e.type==="element"&&e.fullName==="br"||pg(e)}function pg(e){return fg(e)&&mg(e)}function fg(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.line<e.sourceSpan.start.line:e.parent.type==="root"||e.parent.startSourceSpan.end.line<e.sourceSpan.start.line)}function mg(e){return e.hasTrailingSpaces&&(e.next?e.next.sourceSpan.start.line>e.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Dg(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function ma(e){return e.lastChild?ma(e.lastChild):e}function _T(e){return e.children&&e.children.some(t=>t.type!=="text")}function eg(e){let{type:t,lang:r}=e.attrMap;if(t==="module"||t==="text/javascript"||t==="text/babel"||t==="application/javascript"||r==="jsx")return"babel";if(t==="application/x-typescript"||r==="ts"||r==="tsx")return"typescript";if(t==="text/markdown")return"markdown";if(t==="text/html")return"html";if(t&&(t.endsWith("json")||t.endsWith("importmap"))||t==="speculationrules")return"json";if(t==="text/x-handlebars-template")return"glimmer"}function OT(e,t){let{lang:r}=e.attrMap;if(!r||r==="postcss"||r==="css")return"css";if(r==="scss")return"scss";if(r==="less")return"less";if(r==="stylus")return uu("stylus",t)}function Pl(e,t){if(e.name==="script"&&!e.attrMap.src)return!e.attrMap.lang&&!e.attrMap.type?"babel":eg(e);if(e.name==="style")return OT(e,t);if(t&&da(e,t))return eg(e)||!("src"in e.attrMap)&&uu(e.attrMap.lang,t)}function Gu(e){return e==="block"||e==="list-item"||e.startsWith("table")}function RT(e){return!Gu(e)&&e!=="inline-block"}function MT(e){return!Gu(e)&&e!=="inline-block"}function jT(e){return!Gu(e)}function $T(e){return!Gu(e)}function VT(e){return!Gu(e)&&e!=="inline-block"}function tn(e){return gg(e).startsWith("pre")}function dg(e,t){let r=0;for(let n=e.stack.length-1;n>=0;n--){let u=e.stack[n];u&&typeof u=="object"&&!Array.isArray(u)&&t(u)&&r++}return r}function qT(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function yg(e,t){if(e.prev&&e.prev.type==="comment"){let n=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(n)return n[1]}let r=!1;if(e.type==="element"&&e.namespace==="svg")if(qT(e,n=>n.fullName==="svg:foreignObject"))r=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return t.parser==="vue"&&e.parent&&e.parent.type==="root"?"block":e.type==="element"&&(!e.namespace||r||la(e))&&zy[e.name]||Xy}}function gg(e){return e.type==="element"&&(!e.namespace||la(e))&&Zy[e.name]||Qy}function UT(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(`
113
+ `)){if(r.length===0)continue;if(!vT.has(r[0]))return 0;let n=kT(r).length;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}function Il(e,t=UT(e)){return t===0?e:e.split(`
114
+ `).map(r=>r.slice(t)).join(`
115
+ `)}function kl(e,t){let r=0;for(let n=0;n<e.length;n++)e[n]===t&&r++;return r}function Da(e){return e.replace(/&apos;/g,"'").replace(/&quot;/g,'"')}var WT=new Set(["template","style","script"]);function Ju(e,t){return jn(e,t)&&!WT.has(e.fullName)}function jn(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function da(e,t){return jn(e,t)&&(Ju(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function hg(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function Eg(e,t){let r=e.parent;if(!jn(r,t))return!1;let n=r.fullName,u=e.fullName;return n==="script"&&u==="setup"||n==="style"&&u==="vars"}function ya(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?z(t):z(Il(Bl(t)),d):B(x,IT(t))}function Cg(e,t){return jn(e,t)&&e.name==="script"}p();var dr=Ct(Pg(),1);var P2=[k2,L2,_2,R2,M2,V2,j2,$2,q2,O2,U2];function I2(e,t){for(let r of P2)r(e,t);return e}function k2(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===`
116
+ `){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function L2(e){let t=r=>r.type==="element"&&r.prev&&r.prev.type==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&r.firstChild&&r.firstChild.type==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset;e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let u=r.children[n];if(!t(u))continue;let i=u.prev,s=u.firstChild;r.removeChild(i),n--;let a=new dr.ParseSourceSpan(i.sourceSpan.start,s.sourceSpan.end),o=new dr.ParseSourceSpan(a.start,u.sourceSpan.end);u.condition=i.condition,u.sourceSpan=o,u.startSourceSpan=a,u.removeChild(s)}})}function N2(e,t,r){e.walk(n=>{if(n.children)for(let u=0;u<n.children.length;u++){let i=n.children[u];if(i.type!=="text"&&!t(i))continue;i.type!=="text"&&(i.type="text",i.value=r(i));let s=i.prev;!s||s.type!=="text"||(s.value+=i.value,s.sourceSpan=new dr.ParseSourceSpan(s.sourceSpan.start,i.sourceSpan.end),n.removeChild(i),u--)}})}function _2(e){return N2(e,t=>t.type==="cdata",t=>`<![CDATA[${t.value}]]>`)}function O2(e){let t=r=>r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!ug(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&r.prev&&r.prev.type==="text"&&r.next&&r.next.type==="text";e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let u=r.children[n];if(!t(u))continue;let i=u.prev,s=u.next;i.value+=`<${u.rawName}>`+u.firstChild.value+`</${u.rawName}>`+s.value,i.sourceSpan=new dr.ParseSourceSpan(i.sourceSpan.start,s.sourceSpan.end),i.isTrailingSpaceSensitive=s.isTrailingSpaceSensitive,i.hasTrailingSpaces=s.hasTrailingSpaces,r.removeChild(u),n--,r.removeChild(s)}})}function R2(e,t){if(t.parser==="html")return;let r=/{{(.+?)}}/s;e.walk(n=>{if(!!ig(n))for(let u of n.children){if(u.type!=="text")continue;let i=u.sourceSpan.start,s=null,a=u.value.split(r);for(let o=0;o<a.length;o++,i=s){let c=a[o];if(o%2===0){s=i.moveBy(c.length),c.length>0&&n.insertChildBefore(u,{type:"text",value:c,sourceSpan:new dr.ParseSourceSpan(i,s)});continue}s=i.moveBy(c.length+4),n.insertChildBefore(u,{type:"interpolation",sourceSpan:new dr.ParseSourceSpan(i,s),children:c.length===0?[]:[{type:"text",value:c,sourceSpan:new dr.ParseSourceSpan(i.moveBy(2),s.moveBy(-2))}]})}n.removeChild(u)}})}function M2(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&rg(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=sg(t),n=vl(t);if(!r)for(let u=0;u<t.children.length;u++){let i=t.children[u];if(i.type!=="text")continue;let{leadingWhitespace:s,text:a,trailingWhitespace:o}=ng(i.value),c=i.prev,l=i.next;a?(i.value=a,i.sourceSpan=new dr.ParseSourceSpan(i.sourceSpan.start.moveBy(s.length),i.sourceSpan.end.moveBy(-o.length)),s&&(c&&(c.hasTrailingSpaces=!0),i.hasLeadingSpaces=!0),o&&(i.hasTrailingSpaces=!0,l&&(l.hasLeadingSpaces=!0))):(t.removeChild(i),u--,(s||o)&&(c&&(c.hasTrailingSpaces=!0),l&&(l.hasLeadingSpaces=!0)))}t.isWhitespaceSensitive=r,t.isIndentationSensitive=n})}function j2(e){e.walk(t=>{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.startSourceSpan===t.endSourceSpan)})}function $2(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function V2(e,t){e.walk(r=>{r.cssDisplay=yg(r,t)})}function q2(e,t){e.walk(r=>{let{children:n}=r;if(!!n){if(n.length===0){r.isDanglingSpaceSensitive=cg(r);return}for(let u of n)u.isLeadingSpaceSensitive=ag(u,t),u.isTrailingSpaceSensitive=og(u,t);for(let u=0;u<n.length;u++){let i=n[u];i.isLeadingSpaceSensitive=(u===0||i.prev.isTrailingSpaceSensitive)&&i.isLeadingSpaceSensitive,i.isTrailingSpaceSensitive=(u===n.length-1||i.next.isLeadingSpaceSensitive)&&i.isTrailingSpaceSensitive}}})}function U2(e,t){if(t.parser==="vue"){let r=e.children.find(u=>Cg(u,t));if(!r)return;let{lang:n}=r.attrMap;(n==="ts"||n==="typescript")&&(t.__should_parse_vue_template_with_ts=!0)}}var Ig=I2;p();function kg(e){return`<!-- @format -->
108
117
 
109
- `+a.replace(/^\s*\n/,"")}n.exports={hasPragma:t,insertPragma:s}}}),zn=Z({"src/language-html/loc.js"(e,n){"use strict";re();function t(a){return a.sourceSpan.start.offset}function s(a){return a.sourceSpan.end.offset}n.exports={locStart:t,locEnd:s}}}),Qt=Z({"src/language-html/print/tag.js"(e,n){"use strict";re();var t=Ut(),{isNonEmptyArray:s}=Ue(),{builders:{indent:a,join:r,line:u,softline:i,hardline:o},utils:{replaceTextEndOfLine:c}}=Oe(),{locStart:y,locEnd:m}=zn(),{isTextLikeNode:d,getLastDescendant:p,isPreLikeNode:f,hasPrettierIgnore:h,shouldPreserveContent:w,isVueSfcBlock:T}=jt();function A(q,Y){return[q.isSelfClosing?"":S(q,Y),B(q,Y)]}function S(q,Y){return q.lastChild&&l(q.lastChild)?"":[I(q,Y),P(q,Y)]}function B(q,Y){return(q.next?g(q.next):F(q.parent))?"":[C(q,Y),k(q,Y)]}function I(q,Y){return F(q)?C(q.lastChild,Y):""}function k(q,Y){return l(q)?P(q.parent,Y):E(q)?$(q.next):""}function P(q,Y){if(t(!q.isSelfClosing),D(q,Y))return"";switch(q.type){case"ieConditionalComment":return"<!";case"element":if(q.hasHtmComponentClosingTag)return"<//";default:return"</".concat(q.rawName)}}function C(q,Y){if(D(q,Y))return"";switch(q.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(q.isSelfClosing)return"/>";default:return">"}}function D(q,Y){return!q.isSelfClosing&&!q.endSourceSpan&&(h(q)||w(q.parent,Y))}function g(q){return q.prev&&q.prev.type!=="docType"&&!d(q.prev)&&q.isLeadingSpaceSensitive&&!q.hasLeadingSpaces}function F(q){return q.lastChild&&q.lastChild.isTrailingSpaceSensitive&&!q.lastChild.hasTrailingSpaces&&!d(p(q.lastChild))&&!f(q)}function l(q){return!q.next&&!q.hasTrailingSpaces&&q.isTrailingSpaceSensitive&&d(p(q))}function E(q){return q.next&&!d(q.next)&&d(q)&&q.isTrailingSpaceSensitive&&!q.hasTrailingSpaces}function v(q){let Y=q.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return Y?Y[1]?Y[1].split(/\s+/):!0:!1}function N(q){return!q.prev&&q.isLeadingSpaceSensitive&&!q.hasLeadingSpaces}function x(q,Y,H){let R=q.getValue();if(!s(R.attrs))return R.isSelfClosing?" ":"";let Q=R.prev&&R.prev.type==="comment"&&v(R.prev.value),ee=typeof Q=="boolean"?()=>Q:Array.isArray(Q)?De=>Q.includes(De.rawName):()=>!1,te=q.map(De=>{let ie=De.getValue();return ee(ie)?c(Y.originalText.slice(y(ie),m(ie))):H()},"attrs"),oe=R.type==="element"&&R.fullName==="script"&&R.attrs.length===1&&R.attrs[0].fullName==="src"&&R.children.length===0,X=Y.singleAttributePerLine&&R.attrs.length>1&&!T(R,Y)?o:u,ue=[a([oe?" ":u,r(X,te)])];return R.firstChild&&N(R.firstChild)||R.isSelfClosing&&F(R.parent)||oe?ue.push(R.isSelfClosing?" ":""):ue.push(Y.bracketSameLine?R.isSelfClosing?" ":"":R.isSelfClosing?u:i),ue}function b(q){return q.firstChild&&N(q.firstChild)?"":V(q)}function L(q,Y,H){let R=q.getValue();return[M(R,Y),x(q,Y,H),R.isSelfClosing?"":b(R)]}function M(q,Y){return q.prev&&E(q.prev)?"":[j(q,Y),$(q)]}function j(q,Y){return N(q)?V(q.parent):g(q)?C(q.prev,Y):""}function $(q){switch(q.type){case"ieConditionalComment":case"ieConditionalStartComment":return"<!--[if ".concat(q.condition);case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return"<!DOCTYPE";case"element":if(q.condition)return"<!--[if ".concat(q.condition,"]><!--><").concat(q.rawName);default:return"<".concat(q.rawName)}}function V(q){switch(t(!q.isSelfClosing),q.type){case"ieConditionalComment":return"]>";case"element":if(q.condition)return"><!--<![endif]-->";default:return">"}}n.exports={printClosingTag:A,printClosingTagStart:S,printClosingTagStartMarker:P,printClosingTagEndMarker:C,printClosingTagSuffix:k,printClosingTagEnd:B,needsToBorrowLastChildClosingTagEndMarker:F,needsToBorrowParentClosingTagStartMarker:l,needsToBorrowPrevClosingTagEndMarker:g,printOpeningTag:L,printOpeningTagStart:M,printOpeningTagPrefix:j,printOpeningTagStartMarker:$,printOpeningTagEndMarker:V,needsToBorrowNextOpeningTagStartMarker:E,needsToBorrowParentOpeningTagEndMarker:N}}}),Kd=Z({"node_modules/parse-srcset/src/parse-srcset.js"(e,n){re(),function(t,s){typeof define=="function"&&define.amd?define([],s):typeof n=="object"&&n.exports?n.exports=s():t.parseSrcset=s()}(e,function(){return function(t,s){var a=s&&s.logger||console;function r(P){return P===" "||P===" "||P===`
110
- `||P==="\f"||P==="\r"}function u(P){var C,D=P.exec(t.substring(S));if(D)return C=D[0],S+=C.length,C}for(var i=t.length,o=/^[ \t\n\r\u000c]+/,c=/^[, \t\n\r\u000c]+/,y=/^[^ \t\n\r\u000c]+/,m=/[,]+$/,d=/^\d+$/,p=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,f,h,w,T,A,S=0,B=[];;){if(u(c),S>=i)return B;f=u(y),h=[],f.slice(-1)===","?(f=f.replace(m,""),k()):I()}function I(){for(u(o),w="",T="in descriptor";;){if(A=t.charAt(S),T==="in descriptor")if(r(A))w&&(h.push(w),w="",T="after descriptor");else if(A===","){S+=1,w&&h.push(w),k();return}else if(A==="(")w=w+A,T="in parens";else if(A===""){w&&h.push(w),k();return}else w=w+A;else if(T==="in parens")if(A===")")w=w+A,T="in descriptor";else if(A===""){h.push(w),k();return}else w=w+A;else if(T==="after descriptor"&&!r(A))if(A===""){k();return}else T="in descriptor",S-=1;S+=1}}function k(){var P=!1,C,D,g,F,l={},E,v,N,x,b;for(F=0;F<h.length;F++)E=h[F],v=E[E.length-1],N=E.substring(0,E.length-1),x=parseInt(N,10),b=parseFloat(N),d.test(N)&&v==="w"?((C||D)&&(P=!0),x===0?P=!0:C=x):p.test(N)&&v==="x"?((C||D||g)&&(P=!0),b<0?P=!0:D=b):d.test(N)&&v==="h"?((g||D)&&(P=!0),x===0?P=!0:g=x):P=!0;P?a&&a.error&&a.error("Invalid srcset descriptor found in '"+t+"' at '"+E+"'."):(l.url=f,C&&(l.w=C),D&&(l.d=D),g&&(l.h=g),B.push(l))}}})}}),Yd=Z({"src/language-html/syntax-attribute.js"(e,n){"use strict";re();var t=Kd(),{builders:{ifBreak:s,join:a,line:r}}=Oe();function u(o){let c=t(o,{logger:{error(I){throw new Error(I)}}}),y=c.some(I=>{let{w:k}=I;return k}),m=c.some(I=>{let{h:k}=I;return k}),d=c.some(I=>{let{d:k}=I;return k});if(y+m+d>1)throw new Error("Mixed descriptor in srcset is not supported");let p=y?"w":m?"h":"d",f=y?"w":m?"h":"x",h=I=>Math.max(...I),w=c.map(I=>I.url),T=h(w.map(I=>I.length)),A=c.map(I=>I[p]).map(I=>I?I.toString():""),S=A.map(I=>{let k=I.indexOf(".");return k===-1?I.length:k}),B=h(S);return a([",",r],w.map((I,k)=>{let P=[I],C=A[k];if(C){let D=T-I.length+1,g=B-S[k],F=" ".repeat(D+g);P.push(s(F," "),C+f)}return P}))}function i(o){return o.trim().split(/\s+/).join(" ")}n.exports={printImgSrcset:u,printClassNames:i}}}),Qd=Z({"src/language-html/syntax-vue.js"(e,n){"use strict";re();var{builders:{group:t}}=Oe();function s(i,o){let{left:c,operator:y,right:m}=a(i);return[t(o("function _(".concat(c,") {}"),{parser:"babel",__isVueForBindingLeft:!0}))," ",y," ",o(m,{parser:"__js_expression"},{stripTrailingHardline:!0})]}function a(i){let o=/(.*?)\s+(in|of)\s+(.*)/s,c=/,([^,\]}]*)(?:,([^,\]}]*))?$/,y=/^\(|\)$/g,m=i.match(o);if(!m)return;let d={};if(d.for=m[3].trim(),!d.for)return;let p=m[1].trim().replace(y,""),f=p.match(c);f?(d.alias=p.replace(c,""),d.iterator1=f[1].trim(),f[2]&&(d.iterator2=f[2].trim())):d.alias=p;let h=[d.alias,d.iterator1,d.iterator2];if(!h.some((w,T)=>!w&&(T===0||h.slice(T+1).some(Boolean))))return{left:h.filter(Boolean).join(","),operator:m[2],right:d.for}}function r(i,o){return o("function _(".concat(i,") {}"),{parser:"babel",__isVueBindings:!0})}function u(i){let o=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,c=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,y=i.trim();return o.test(y)||c.test(y)}n.exports={isVueEventBindingExpression:u,printVueFor:s,printVueBindings:r}}}),co=Z({"src/language-html/get-node-content.js"(e,n){"use strict";re();var{needsToBorrowParentClosingTagStartMarker:t,printClosingTagStartMarker:s,needsToBorrowLastChildClosingTagEndMarker:a,printClosingTagEndMarker:r,needsToBorrowParentOpeningTagEndMarker:u,printOpeningTagEndMarker:i}=Qt();function o(c,y){let m=c.startSourceSpan.end.offset;c.firstChild&&u(c.firstChild)&&(m-=i(c).length);let d=c.endSourceSpan.start.offset;return c.lastChild&&t(c.lastChild)?d+=s(c,y).length:a(c)&&(d-=r(c.lastChild,y).length),y.originalText.slice(m,d)}n.exports=o}}),Zd=Z({"src/language-html/embed.js"(e,n){"use strict";re();var{builders:{breakParent:t,group:s,hardline:a,indent:r,line:u,fill:i,softline:o},utils:{mapDoc:c,replaceTextEndOfLine:y}}=Oe(),m=Jn(),{printClosingTag:d,printClosingTagSuffix:p,needsToBorrowPrevClosingTagEndMarker:f,printOpeningTagPrefix:h,printOpeningTag:w}=Qt(),{printImgSrcset:T,printClassNames:A}=Yd(),{printVueFor:S,printVueBindings:B,isVueEventBindingExpression:I}=Qd(),{isScriptLikeTag:k,isVueNonHtmlBlock:P,inferScriptParser:C,htmlTrimPreserveIndentation:D,dedentString:g,unescapeQuoteEntities:F,isVueSlotAttribute:l,isVueSfcBindingsAttribute:E,getTextValueParts:v}=jt(),N=co();function x(L,M,j){let $=te=>new RegExp(te.join("|")).test(L.fullName),V=()=>F(L.value),q=!1,Y=(te,oe)=>{let W=te.type==="NGRoot"?te.node.type==="NGMicrosyntax"&&te.node.body.length===1&&te.node.body[0].type==="NGMicrosyntaxExpression"?te.node.body[0].expression:te.node:te.type==="JsExpressionRoot"?te.node:te;W&&(W.type==="ObjectExpression"||W.type==="ArrayExpression"||oe.parser==="__vue_expression"&&(W.type==="TemplateLiteral"||W.type==="StringLiteral"))&&(q=!0)},H=te=>s(te),R=function(te){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return s([r([o,te]),oe?o:""])},Q=te=>q?H(te):R(te),ee=(te,oe)=>M(te,Object.assign({__onHtmlBindingRoot:Y,__embeddedInHtml:!0},oe));if(L.fullName==="srcset"&&(L.parent.fullName==="img"||L.parent.fullName==="source"))return R(T(V()));if(L.fullName==="class"&&!j.parentParser){let te=V();if(!te.includes("{{"))return A(te)}if(L.fullName==="style"&&!j.parentParser){let te=V();if(!te.includes("{{"))return R(ee(te,{parser:"css",__isHTMLStyleAttribute:!0}))}if(j.parser==="vue"){if(L.fullName==="v-for")return S(V(),ee);if(l(L)||E(L,j))return B(V(),ee);let te=["^@","^v-on:"],oe=["^:","^v-bind:"],W=["^v-"];if($(te)){let X=V(),ue=I(X)?"__js_expression":j.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return Q(ee(X,{parser:ue}))}if($(oe))return Q(ee(V(),{parser:"__vue_expression"}));if($(W))return Q(ee(V(),{parser:"__js_expression"}))}if(j.parser==="angular"){let te=(G,z)=>ee(G,Object.assign(Object.assign({},z),{},{trailingComma:"none"})),oe=["^\\*"],W=["^\\(.+\\)$","^on-"],X=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],ue=["^i18n(-.+)?$"];if($(W))return Q(te(V(),{parser:"__ng_action"}));if($(X))return Q(te(V(),{parser:"__ng_binding"}));if($(ue)){let G=V().trim();return R(i(v(L,G)),!G.includes("@@"))}if($(oe))return Q(te(V(),{parser:"__ng_directive"}));let De=/{{(.+?)}}/s,ie=V();if(De.test(ie)){let G=[];for(let[z,U]of ie.split(De).entries())if(z%2===0)G.push(y(U));else try{G.push(s(["{{",r([u,te(U,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),u,"}}"]))}catch{G.push("{{",y(U),"}}")}return s(G)}}return null}function b(L,M,j,$){let V=L.getValue();switch(V.type){case"element":{if(k(V)||V.type==="interpolation")return;if(!V.isSelfClosing&&P(V,$)){let q=C(V,$);if(!q)return;let Y=N(V,$),H=/^\s*$/.test(Y),R="";return H||(R=j(D(Y),{parser:q,__embeddedInHtml:!0},{stripTrailingHardline:!0}),H=R===""),[h(V,$),s(w(L,$,M)),H?"":a,R,H?"":a,d(V,$),p(V,$)]}break}case"text":{if(k(V.parent)){let q=C(V.parent,$);if(q){let Y=q==="markdown"?g(V.value.replace(/^[^\S\n]*\n/,"")):V.value,H={parser:q,__embeddedInHtml:!0};if($.parser==="html"&&q==="babel"){let R="script",{attrMap:Q}=V.parent;Q&&(Q.type==="module"||Q.type==="text/babel"&&Q["data-type"]==="module")&&(R="module"),H.__babelSourceType=R}return[t,h(V,$),j(Y,H,{stripTrailingHardline:!0}),p(V,$)]}}else if(V.parent.type==="interpolation"){let q={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return $.parser==="angular"?(q.parser="__ng_interpolation",q.trailingComma="none"):$.parser==="vue"?q.parser=$.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":q.parser="__js_expression",[r([u,j(V.value,q,{stripTrailingHardline:!0})]),V.parent.next&&f(V.parent.next)?" ":u]}break}case"attribute":{if(!V.value)break;if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test($.originalText.slice(V.valueSpan.start.offset,V.valueSpan.end.offset)))return[V.rawName,"=",V.value];if($.parser==="lwc"&&/^{.*}$/s.test($.originalText.slice(V.valueSpan.start.offset,V.valueSpan.end.offset)))return[V.rawName,"=",V.value];let q=x(V,(Y,H)=>j(Y,Object.assign({__isInHtmlAttribute:!0,__embeddedInHtml:!0},H),{stripTrailingHardline:!0}),$);if(q)return[V.rawName,'="',s(c(q,Y=>typeof Y=="string"?Y.replace(/"/g,"&quot;"):Y)),'"'];break}case"front-matter":return m(V,j)}}n.exports=b}}),po=Z({"src/language-html/print/children.js"(e,n){"use strict";re();var{builders:{breakParent:t,group:s,ifBreak:a,line:r,softline:u,hardline:i},utils:{replaceTextEndOfLine:o}}=Oe(),{locStart:c,locEnd:y}=zn(),{forceBreakChildren:m,forceNextEmptyLine:d,isTextLikeNode:p,hasPrettierIgnore:f,preferHardlineAsLeadingSpaces:h}=jt(),{printOpeningTagPrefix:w,needsToBorrowNextOpeningTagStartMarker:T,printOpeningTagStartMarker:A,needsToBorrowPrevClosingTagEndMarker:S,printClosingTagEndMarker:B,printClosingTagSuffix:I,needsToBorrowParentClosingTagStartMarker:k}=Qt();function P(g,F,l){let E=g.getValue();return f(E)?[w(E,F),...o(F.originalText.slice(c(E)+(E.prev&&T(E.prev)?A(E).length:0),y(E)-(E.next&&S(E.next)?B(E,F).length:0))),I(E,F)]:l()}function C(g,F){return p(g)&&p(F)?g.isTrailingSpaceSensitive?g.hasTrailingSpaces?h(F)?i:r:"":h(F)?i:u:T(g)&&(f(F)||F.firstChild||F.isSelfClosing||F.type==="element"&&F.attrs.length>0)||g.type==="element"&&g.isSelfClosing&&S(F)?"":!F.isLeadingSpaceSensitive||h(F)||S(F)&&g.lastChild&&k(g.lastChild)&&g.lastChild.lastChild&&k(g.lastChild.lastChild)?i:F.hasLeadingSpaces?r:u}function D(g,F,l){let E=g.getValue();if(m(E))return[t,...g.map(N=>{let x=N.getValue(),b=x.prev?C(x.prev,x):"";return[b?[b,d(x.prev)?i:""]:"",P(N,F,l)]},"children")];let v=E.children.map(()=>Symbol(""));return g.map((N,x)=>{let b=N.getValue();if(p(b)){if(b.prev&&p(b.prev)){let Y=C(b.prev,b);if(Y)return d(b.prev)?[i,i,P(N,F,l)]:[Y,P(N,F,l)]}return P(N,F,l)}let L=[],M=[],j=[],$=[],V=b.prev?C(b.prev,b):"",q=b.next?C(b,b.next):"";return V&&(d(b.prev)?L.push(i,i):V===i?L.push(i):p(b.prev)?M.push(V):M.push(a("",u,{groupId:v[x-1]}))),q&&(d(b)?p(b.next)&&$.push(i,i):q===i?p(b.next)&&$.push(i):j.push(q)),[...L,s([...M,s([P(N,F,l),...j],{id:v[x]})]),...$]},"children")}n.exports={printChildren:D}}}),eg=Z({"src/language-html/print/element.js"(e,n){"use strict";re();var{builders:{breakParent:t,dedentToRoot:s,group:a,ifBreak:r,indentIfBreak:u,indent:i,line:o,softline:c},utils:{replaceTextEndOfLine:y}}=Oe(),m=co(),{shouldPreserveContent:d,isScriptLikeTag:p,isVueCustomBlock:f,countParents:h,forceBreakContent:w}=jt(),{printOpeningTagPrefix:T,printOpeningTag:A,printClosingTagSuffix:S,printClosingTag:B,needsToBorrowPrevClosingTagEndMarker:I,needsToBorrowLastChildClosingTagEndMarker:k}=Qt(),{printChildren:P}=po();function C(D,g,F){let l=D.getValue();if(d(l,g))return[T(l,g),a(A(D,g,F)),...y(m(l,g)),...B(l,g),S(l,g)];let E=l.children.length===1&&l.firstChild.type==="interpolation"&&l.firstChild.isLeadingSpaceSensitive&&!l.firstChild.hasLeadingSpaces&&l.lastChild.isTrailingSpaceSensitive&&!l.lastChild.hasTrailingSpaces,v=Symbol("element-attr-group-id"),N=M=>a([a(A(D,g,F),{id:v}),M,B(l,g)]),x=M=>E?u(M,{groupId:v}):(p(l)||f(l,g))&&l.parent.type==="root"&&g.parser==="vue"&&!g.vueIndentScriptAndStyle?M:i(M),b=()=>E?r(c,"",{groupId:v}):l.firstChild.hasLeadingSpaces&&l.firstChild.isLeadingSpaceSensitive?o:l.firstChild.type==="text"&&l.isWhitespaceSensitive&&l.isIndentationSensitive?s(c):c,L=()=>(l.next?I(l.next):k(l.parent))?l.lastChild.hasTrailingSpaces&&l.lastChild.isTrailingSpaceSensitive?" ":"":E?r(c,"",{groupId:v}):l.lastChild.hasTrailingSpaces&&l.lastChild.isTrailingSpaceSensitive?o:(l.lastChild.type==="comment"||l.lastChild.type==="text"&&l.isWhitespaceSensitive&&l.isIndentationSensitive)&&new RegExp("\\n[\\t ]{".concat(g.tabWidth*h(D,j=>j.parent&&j.parent.type!=="root"),"}$")).test(l.lastChild.value)?"":c;return l.children.length===0?N(l.hasDanglingSpaces&&l.isDanglingSpaceSensitive?o:""):N([w(l)?t:"",x([b(),P(D,g,F)]),L()])}n.exports={printElement:C}}}),tg=Z({"src/language-html/printer-html.js"(e,n){"use strict";re();var{builders:{fill:t,group:s,hardline:a,literalline:r},utils:{cleanDoc:u,getDocParts:i,isConcat:o,replaceTextEndOfLine:c}}=Oe(),y=Rd(),{countChars:m,unescapeQuoteEntities:d,getTextValueParts:p}=jt(),f=zd(),{insertPragma:h}=Xd(),{locStart:w,locEnd:T}=zn(),A=Zd(),{printClosingTagSuffix:S,printClosingTagEnd:B,printOpeningTagPrefix:I,printOpeningTagStart:k}=Qt(),{printElement:P}=eg(),{printChildren:C}=po();function D(g,F,l){let E=g.getValue();switch(E.type){case"front-matter":return c(E.raw);case"root":return F.__onHtmlRoot&&F.__onHtmlRoot(E),[s(C(g,F,l)),a];case"element":case"ieConditionalComment":return P(g,F,l);case"ieConditionalStartComment":case"ieConditionalEndComment":return[k(E),B(E)];case"interpolation":return[k(E,F),...g.map(l,"children"),B(E,F)];case"text":{if(E.parent.type==="interpolation"){let N=/\n[^\S\n]*$/,x=N.test(E.value),b=x?E.value.replace(N,""):E.value;return[...c(b),x?a:""]}let v=u([I(E,F),...p(E),S(E,F)]);return o(v)||v.type==="fill"?t(i(v)):v}case"docType":return[s([k(E,F)," ",E.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),B(E,F)];case"comment":return[I(E,F),...c(F.originalText.slice(w(E),T(E)),r),S(E,F)];case"attribute":{if(E.value===null)return E.rawName;let v=d(E.value),N=m(v,"'"),x=m(v,'"'),b=N<x?"'":'"';return[E.rawName,"=",b,...c(b==='"'?v.replace(/"/g,"&quot;"):v.replace(/'/g,"&apos;")),b]}default:throw new Error("Unexpected node type ".concat(E.type))}}n.exports={preprocess:f,print:D,insertPragma:h,massageAstNode:y,embed:A}}}),rg=Z({"src/language-html/options.js"(e,n){"use strict";re();var t=Lt(),s="HTML";n.exports={bracketSameLine:t.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:s,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:t.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:s,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}}}}),ng=Z({"src/language-html/parsers.js"(){re()}}),An=Z({"node_modules/linguist-languages/data/HTML.json"(e,n){n.exports={name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml"],languageId:146}}}),ug=Z({"node_modules/linguist-languages/data/Vue.json"(e,n){n.exports={name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",languageId:391}}}),sg=Z({"src/language-html/index.js"(e,n){"use strict";re();var t=Tt(),s=tg(),a=rg(),r=ng(),u=[t(An(),()=>({name:"Angular",since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],extensions:[".component.html"],filenames:[]})),t(An(),o=>({since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"],extensions:[...o.extensions,".mjml"]})),t(An(),()=>({name:"Lightning Web Components",since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],extensions:[],filenames:[]})),t(ug(),()=>({since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}))],i={html:s};n.exports={languages:u,printers:i,options:a,parsers:r}}}),ig=Z({"src/language-yaml/pragma.js"(e,n){"use strict";re();function t(r){return/^\s*@(?:prettier|format)\s*$/.test(r)}function s(r){return/^\s*#[^\S\n]*@(?:prettier|format)\s*?(?:\n|$)/.test(r)}function a(r){return`# @format
118
+ `+e.replace(/^\s*\n/,"")}p();function qn(e){return e.sourceSpan.start.offset}function Un(e){return e.sourceSpan.end.offset}p();p();function Yu(e,t){return[e.isSelfClosing?"":W2(e,t),Ku(e,t)]}function W2(e,t){return e.lastChild&&un(e.lastChild)?"":[G2(e,t),Sa(e,t)]}function Ku(e,t){return(e.next?Yt(e.next):nn(e.parent))?"":[rn(e,t),kt(e,t)]}function G2(e,t){return nn(e)?rn(e.lastChild,t):""}function kt(e,t){return un(e)?Sa(e.parent,t):Xu(e)?Ta(e.next):""}function Sa(e,t){if(He(!e.isSelfClosing),Lg(e,t))return"";switch(e.type){case"ieConditionalComment":return"<!";case"element":if(e.hasHtmComponentClosingTag)return"<//";default:return`</${e.rawName}`}}function rn(e,t){if(Lg(e,t))return"";switch(e.type){case"ieConditionalComment":case"ieConditionalEndComment":return"[endif]-->";case"ieConditionalStartComment":return"]><!-->";case"interpolation":return"}}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function Lg(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(Uu(e)||pa(e.parent,t))}function Yt(e){return e.prev&&e.prev.type!=="docType"&&!Ke(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function nn(e){return e.lastChild&&e.lastChild.isTrailingSpaceSensitive&&!e.lastChild.hasTrailingSpaces&&!Ke(ma(e.lastChild))&&!tn(e)}function un(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&Ke(ma(e))}function Xu(e){return e.next&&!Ke(e.next)&&Ke(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function J2(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return t?t[1]?t[1].split(/\s+/):!0:!1}function zu(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function H2(e,t,r){let n=e.getValue();if(!O(n.attrs))return n.isSelfClosing?" ":"";let u=n.prev&&n.prev.type==="comment"&&J2(n.prev.value),i=typeof u=="boolean"?()=>u:Array.isArray(u)?f=>u.includes(f.rawName):()=>!1,s=e.map(f=>{let m=f.getValue();return i(m)?z(t.originalText.slice(qn(m),Un(m))):r()},"attrs"),a=n.type==="element"&&n.fullName==="script"&&n.attrs.length===1&&n.attrs[0].fullName==="src"&&n.children.length===0,c=t.singleAttributePerLine&&n.attrs.length>1&&!jn(n,t)?d:x,l=[F([a?" ":x,B(c,s)])];return n.firstChild&&zu(n.firstChild)||n.isSelfClosing&&nn(n.parent)||a?l.push(n.isSelfClosing?" ":""):l.push(t.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?x:A),l}function Y2(e){return e.firstChild&&zu(e.firstChild)?"":ba(e)}function Qu(e,t,r){let n=e.getValue();return[Zu(n,t),H2(e,t,r),n.isSelfClosing?"":Y2(n)]}function Zu(e,t){return e.prev&&Xu(e.prev)?"":[Lt(e,t),Ta(e)]}function Lt(e,t){return zu(e)?ba(e.parent):Yt(e)?rn(e.prev,t):""}function Ta(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<!--[if ${e.condition}`;case"ieConditionalEndComment":return"<!--<!";case"interpolation":return"{{";case"docType":return e.value==="html"?"<!doctype":"<!DOCTYPE";case"element":if(e.condition)return`<!--[if ${e.condition}]><!--><${e.rawName}`;default:return`<${e.rawName}`}}function ba(e){switch(He(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return"><!--<![endif]-->";default:return">"}}p();var Og=Ct(_g(),1);function Rg(e){let t=(0,Og.default)(e,{logger:{error(D){throw new Error(D)}}}),r=t.some(({w:D})=>D),n=t.some(({h:D})=>D),u=t.some(({d:D})=>D);if(r+n+u>1)throw new Error("Mixed descriptor in srcset is not supported");let i=r?"w":n?"h":"d",s=r?"w":n?"h":"x",a=D=>Math.max(...D),o=t.map(D=>D.url),c=a(o.map(D=>D.length)),l=t.map(D=>D[i]).map(D=>D?D.toString():""),f=l.map(D=>{let y=D.indexOf(".");return y===-1?D.length:y}),m=a(f);return B([",",x],o.map((D,y)=>{let E=[D],C=l[y];if(C){let T=c-D.length+1,b=m-f[y],S=" ".repeat(T+b);E.push(N(S," "),C+s)}return E}))}function Mg(e){return e.trim().split(/\s+/).join(" ")}p();async function jg(e,t){let{left:r,operator:n,right:u}=K2(e);return[h(await t(`function _(${r}) {}`,{parser:"babel",__isVueForBindingLeft:!0}))," ",n," ",await t(u,{parser:"__js_expression"})]}function K2(e){let t=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,u=e.match(t);if(!u)return;let i={};if(i.for=u[3].trim(),!i.for)return;let s=u[1].trim().replace(n,""),a=s.match(r);a?(i.alias=s.replace(r,""),i.iterator1=a[1].trim(),a[2]&&(i.iterator2=a[2].trim())):i.alias=s;let o=[i.alias,i.iterator1,i.iterator2];if(!o.some((c,l)=>!c&&(l===0||o.slice(l+1).some(Boolean))))return{left:o.filter(Boolean).join(","),operator:u[2],right:i.for}}function $g(e,t){return t(`function _(${e}) {}`,{parser:"babel",__isVueBindings:!0})}function Vg(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/,r=/^[$A-Z_a-z][\w$]*(?:\.[$A-Z_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$A-Z_a-z][\w$]*])*$/,n=e.trim();return t.test(n)||r.test(n)}p();function X2(e,t){let r=e.startSourceSpan.end.offset;e.firstChild&&zu(e.firstChild)&&(r-=ba(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&un(e.lastChild)?n+=Sa(e,t).length:nn(e)&&(n-=rn(e.lastChild,t).length),t.originalText.slice(r,n)}var va=X2;async function z2(e,t,r){let n=f=>new RegExp(f.join("|")).test(e.fullName),u=()=>Da(e.value),i=!1,s=(f,m)=>{let D=f.type==="NGRoot"?f.node.type==="NGMicrosyntax"&&f.node.body.length===1&&f.node.body[0].type==="NGMicrosyntaxExpression"?f.node.body[0].expression:f.node:f.type==="JsExpressionRoot"?f.node:f;D&&(D.type==="ObjectExpression"||D.type==="ArrayExpression"||m.parser==="__vue_expression"&&(D.type==="TemplateLiteral"||D.type==="StringLiteral"))&&(i=!0)},a=f=>h(f),o=(f,m=!0)=>h([F([A,f]),m?A:""]),c=f=>i?a(f):o(f),l=(f,m)=>t(f,{__onHtmlBindingRoot:s,__embeddedInHtml:!0,...m});if(e.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return o(Rg(u()));if(e.fullName==="class"&&!r.parentParser){let f=u();if(!f.includes("{{"))return Mg(f)}if(e.fullName==="style"&&!r.parentParser){let f=u();if(!f.includes("{{"))return o(await l(f,{parser:"css",__isHTMLStyleAttribute:!0}))}if(r.parser==="vue"){if(e.fullName==="v-for")return jg(u(),l);if(hg(e)||Eg(e,r))return $g(u(),l);let f=["^@","^v-on:"],m=["^:","^v-bind:"],D=["^v-"];if(n(f)){let y=u(),E=Vg(y)?"__js_expression":r.__should_parse_vue_template_with_ts?"__vue_ts_event_binding":"__vue_event_binding";return c(await l(y,{parser:E}))}if(n(m))return c(await l(u(),{parser:"__vue_expression"}));if(n(D))return c(await l(u(),{parser:"__js_expression"}))}if(r.parser==="angular"){let f=(b,S)=>l(b,{...S,trailingComma:"none"}),m=["^\\*"],D=["^\\(.+\\)$","^on-"],y=["^\\[.+\\]$","^bind(on)?-","^ng-(if|show|hide|class|style)$"],E=["^i18n(-.+)?$"];if(n(D))return c(await f(u(),{parser:"__ng_action"}));if(n(y))return c(await f(u(),{parser:"__ng_binding"}));if(n(E)){let b=u().trim();return o(se(ya(e,b)),!b.includes("@@"))}if(n(m))return c(await f(u(),{parser:"__ng_directive"}));let C=/{{(.+?)}}/s,T=u();if(C.test(T)){let b=[];for(let[S,v]of T.split(C).entries())if(S%2===0)b.push(z(v));else try{b.push(h(["{{",F([x,await f(v,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),x,"}}"]))}catch{b.push("{{",z(v),"}}")}return h(b)}}return null}function Q2(e,t){let r=e.getValue();switch(r.type){case"element":{if(Pt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&da(r,t)){let n=Pl(r,t);return n?async(u,i)=>{let s=va(r,t),a=/^\s*$/.test(s),o="";return a||(o=await u(Bl(s),{parser:n,__embeddedInHtml:!0}),a=o===""),[Lt(r,t),h(Qu(e,t,i)),a?"":d,o,a?"":d,Yu(r,t),kt(r,t)]}:void 0}break}case"text":{if(Pt(r.parent)){let n=Pl(r.parent,t);if(n)return async u=>{let i=n==="markdown"?Il(r.value.replace(/^[^\S\n]*\n/,"")):r.value,s={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let a="script",{attrMap:o}=r.parent;o&&(o.type==="module"||o.type==="text/babel"&&o["data-type"]==="module")&&(a="module"),s.__babelSourceType=a}return[te,Lt(r,t),await u(i,s,{stripTrailingHardline:!0}),kt(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let u={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?(u.parser="__ng_interpolation",u.trailingComma="none"):t.parser==="vue"?u.parser=t.__should_parse_vue_template_with_ts?"__vue_ts_expression":"__vue_expression":u.parser="__js_expression",[F([x,await n(r.value,u)]),r.parent.next&&Yt(r.parent.next)?" ":x]};break}case"attribute":{if(!r.value)break;return/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))?[r.rawName,"=",r.value]:t.parser==="lwc"&&/^{.*}$/s.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))?[r.rawName,"=",r.value]:async n=>{let u=await z2(r,(i,s)=>n(i,{__isInHtmlAttribute:!0,__embeddedInHtml:!0,...s}),t);if(u)return[r.rawName,'="',h(et(u,i=>typeof i=="string"?i.replace(/"/g,"&quot;"):i)),'"']}}case"front-matter":return n=>Ln(r,n)}}var qg=Q2;p();p();function ei(e,t,r){let n=e.getValue();return Uu(n)?[Lt(n,t),...z(t.originalText.slice(qn(n)+(n.prev&&Xu(n.prev)?Ta(n).length:0),Un(n)-(n.next&&Yt(n.next)?rn(n,t).length:0))),kt(n,t)]:r()}function wa(e,t){return Ke(e)&&Ke(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?fa(t)?d:x:"":fa(t)?d:A:Xu(e)&&(Uu(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&Yt(t)?"":!t.isLeadingSpaceSensitive||fa(t)||Yt(t)&&e.lastChild&&un(e.lastChild)&&e.lastChild.lastChild&&un(e.lastChild.lastChild)?d:t.hasLeadingSpaces?x:A}function Pa(e,t,r){let n=e.getValue();if(wl(n))return[te,...e.map(i=>{let s=i.getValue(),a=s.prev?wa(s.prev,s):"";return[a?[a,Wu(s.prev)?d:""]:"",ei(i,t,r)]},"children")];let u=n.children.map(()=>Symbol(""));return e.map((i,s)=>{let a=i.getValue();if(Ke(a)){if(a.prev&&Ke(a.prev)){let y=wa(a.prev,a);if(y)return Wu(a.prev)?[d,d,ei(i,t,r)]:[y,ei(i,t,r)]}return ei(i,t,r)}let o=[],c=[],l=[],f=[],m=a.prev?wa(a.prev,a):"",D=a.next?wa(a,a.next):"";return m&&(Wu(a.prev)?o.push(d,d):m===d?o.push(d):Ke(a.prev)?c.push(m):c.push(N("",A,{groupId:u[s-1]}))),D&&(Wu(a)?Ke(a.next)&&f.push(d,d):D===d?Ke(a.next)&&f.push(d):l.push(D)),[...o,h([...c,h([ei(i,t,r),...l],{id:u[s]})]),...f]},"children")}function Ug(e,t,r){let n=e.getValue();if(pa(n,t))return[Lt(n,t),h(Qu(e,t,r)),...z(va(n,t)),...Yu(n,t),kt(n,t)];let u=n.children.length===1&&n.firstChild.type==="interpolation"&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),s=l=>h([h(Qu(e,t,r),{id:i}),l,Yu(n,t)]),a=l=>u?Qt(l,{groupId:i}):(Pt(n)||Ju(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?l:F(l),o=()=>u?N(A,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?x:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?gr(A):A,c=()=>(n.next?Yt(n.next):nn(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":u?N(A,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?x:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*dg(e,f=>f.parent&&f.parent.type!=="root")}}$`).test(n.lastChild.value)?"":A;return n.children.length===0?s(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?x:""):s([lg(n)?te:"",a([o(),Pa(e,t,r)]),c()])}p();var Z2={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[]},Wg=Z2;function eb(e,t,r){let n=e.getValue();switch(n.type){case"front-matter":return z(n.raw);case"root":return t.__onHtmlRoot&&t.__onHtmlRoot(n),[h(Pa(e,t,r)),d];case"element":case"ieConditionalComment":return Ug(e,t,r);case"ieConditionalStartComment":case"ieConditionalEndComment":return[Zu(n),Ku(n)];case"interpolation":return[Zu(n,t),...e.map(r,"children"),Ku(n,t)];case"text":{if(n.parent.type==="interpolation"){let i=/\n[^\S\n]*$/,s=i.test(n.value),a=s?n.value.replace(i,""):n.value;return[...z(a),s?d:""]}let u=Rt([Lt(n,t),...ya(n),kt(n,t)]);return Array.isArray(u)?se(u):u}case"docType":return[h([Zu(n,t)," ",n.value.replace(/^html\b/i,"html").replace(/\s+/g," ")]),Ku(n,t)];case"comment":return[Lt(n,t),...z(t.originalText.slice(qn(n),Un(n)),_e),kt(n,t)];case"attribute":{if(n.value===null)return n.rawName;let u=Da(n.value),i=kl(u,"'"),s=kl(u,'"'),a=i<s?"'":'"';return[n.rawName,"=",a,...z(a==='"'?u.replace(/"/g,"&quot;"):u.replace(/'/g,"&apos;")),a]}case"cdata":default:throw new Error(`Unexpected node type ${n.type}`)}}var tb={preprocess:Ig,print:eb,insertPragma:kg,massageAstNode:Ky,embed:qg,getVisitorKeys:Ie(Wg)},Gg=tb;var Jg=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],since:"1.15.0",parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],since:"1.15.0",parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],since:"1.17.0",parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",since:"1.10.0",parsers:["vue"],vscodeLanguageIds:["vue"]}];p();var Hg="HTML",nb={bracketSameLine:Ee.bracketSameLine,htmlWhitespaceSensitivity:{since:"1.15.0",category:Hg,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Ee.singleAttributePerLine,vueIndentScriptAndStyle:{since:"1.19.0",category:Hg,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Yg=nb;p();var Kg=void 0;var ub={html:Gg};var Ra={};Ce(Ra,{languages:()=>fh,options:()=>mh,parsers:()=>Dh,printers:()=>xb});p();p();p();function Xg(e){return/^\s*@(?:prettier|format)\s*$/.test(e)}function zg(e){return`# @format
111
119
 
112
- `.concat(r)}n.exports={isPragma:t,hasPragma:s,insertPragma:a}}}),ag=Z({"src/language-yaml/loc.js"(e,n){"use strict";re();function t(a){return a.position.start.offset}function s(a){return a.position.end.offset}n.exports={locStart:t,locEnd:s}}}),og=Z({"src/language-yaml/embed.js"(e,n){"use strict";re();function t(s,a,r,u){if(s.getValue().type==="root"&&u.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint)rc$/.test(u.filepath))return r(u.originalText,Object.assign(Object.assign({},u),{},{parser:"json"}))}n.exports=t}}),Ot=Z({"src/language-yaml/utils.js"(e,n){"use strict";re();var{getLast:t,isNonEmptyArray:s}=Ue();function a(C,D){let g=0,F=C.stack.length-1;for(let l=0;l<F;l++){let E=C.stack[l];r(E)&&D(E)&&g++}return g}function r(C,D){return C&&typeof C.type=="string"&&(!D||D.includes(C.type))}function u(C,D,g){return D("children"in C?Object.assign(Object.assign({},C),{},{children:C.children.map(F=>u(F,D,C))}):C,g)}function i(C,D,g){Object.defineProperty(C,D,{get:g,enumerable:!1})}function o(C,D){let g=0,F=D.length;for(let l=C.position.end.offset-1;l<F;l++){let E=D[l];if(E===`
113
- `&&g++,g===1&&/\S/.test(E))return!1;if(g===2)return!0}return!1}function c(C){switch(C.getValue().type){case"tag":case"anchor":case"comment":return!1}let g=C.stack.length;for(let F=1;F<g;F++){let l=C.stack[F],E=C.stack[F-1];if(Array.isArray(E)&&typeof l=="number"&&l!==E.length-1)return!1}return!0}function y(C){return s(C.children)?y(t(C.children)):C}function m(C){return C.value.trim()==="prettier-ignore"}function d(C){let D=C.getValue();if(D.type==="documentBody"){let g=C.getParentNode();return S(g.head)&&m(t(g.head.endComments))}return h(D)&&m(t(D.leadingComments))}function p(C){return!s(C.children)&&!f(C)}function f(C){return h(C)||w(C)||T(C)||A(C)||S(C)}function h(C){return s(C==null?void 0:C.leadingComments)}function w(C){return s(C==null?void 0:C.middleComments)}function T(C){return C==null?void 0:C.indicatorComment}function A(C){return C==null?void 0:C.trailingComment}function S(C){return s(C==null?void 0:C.endComments)}function B(C){let D=[],g;for(let F of C.split(/( +)/))F!==" "?g===" "?D.push(F):D.push((D.pop()||"")+F):g===void 0&&D.unshift(""),g=F;return g===" "&&D.push((D.pop()||"")+" "),D[0]===""&&(D.shift(),D.unshift(" "+(D.shift()||""))),D}function I(C,D,g){let F=D.split(`
114
- `).map((l,E,v)=>E===0&&E===v.length-1?l:E!==0&&E!==v.length-1?l.trim():E===0?l.trimEnd():l.trimStart());return g.proseWrap==="preserve"?F.map(l=>l.length===0?[]:[l]):F.map(l=>l.length===0?[]:B(l)).reduce((l,E,v)=>v!==0&&F[v-1].length>0&&E.length>0&&!(C==="quoteDouble"&&t(t(l)).endsWith("\\"))?[...l.slice(0,-1),[...t(l),...E]]:[...l,E],[]).map(l=>g.proseWrap==="never"?[l.join(" ")]:l)}function k(C,D){let{parentIndent:g,isLastDescendant:F,options:l}=D,E=C.position.start.line===C.position.end.line?"":l.originalText.slice(C.position.start.offset,C.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],v;if(C.indent===null){let b=E.match(/^(?<leadingSpace> *)[^\n\r ]/m);v=b?b.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else v=C.indent-1+g;let N=E.split(`
115
- `).map(b=>b.slice(v));if(l.proseWrap==="preserve"||C.type==="blockLiteral")return x(N.map(b=>b.length===0?[]:[b]));return x(N.map(b=>b.length===0?[]:B(b)).reduce((b,L,M)=>M!==0&&N[M-1].length>0&&L.length>0&&!/^\s/.test(L[0])&&!/^\s|\s$/.test(t(b))?[...b.slice(0,-1),[...t(b),...L]]:[...b,L],[]).map(b=>b.reduce((L,M)=>L.length>0&&/\s$/.test(t(L))?[...L.slice(0,-1),t(L)+" "+M]:[...L,M],[])).map(b=>l.proseWrap==="never"?[b.join(" ")]:b));function x(b){if(C.chomping==="keep")return t(b).length===0?b.slice(0,-1):b;let L=0;for(let M=b.length-1;M>=0&&b[M].length===0;M--)L++;return L===0?b:L>=2&&!F?b.slice(0,-(L-1)):b.slice(0,-L)}}function P(C){if(!C)return!0;switch(C.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}n.exports={getLast:t,getAncestorCount:a,isNode:r,isEmptyNode:p,isInlineNode:P,mapNode:u,defineShortcut:i,isNextLineEmpty:o,isLastDescendantNode:c,getBlockValueLineContents:k,getFlowScalarLineContents:I,getLastDescendantNode:y,hasPrettierIgnore:d,hasLeadingComments:h,hasMiddleComments:w,hasIndicatorComment:T,hasTrailingComment:A,hasEndComments:S}}}),lg=Z({"src/language-yaml/print-preprocess.js"(e,n){"use strict";re();var{defineShortcut:t,mapNode:s}=Ot();function a(u){return s(u,r)}function r(u){switch(u.type){case"document":t(u,"head",()=>u.children[0]),t(u,"body",()=>u.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":t(u,"content",()=>u.children[0]);break;case"mappingItem":case"flowMappingItem":t(u,"key",()=>u.children[0]),t(u,"value",()=>u.children[1]);break}return u}n.exports=a}}),Ir=Z({"src/language-yaml/print/misc.js"(e,n){"use strict";re();var{builders:{softline:t,align:s}}=Oe(),{hasEndComments:a,isNextLineEmpty:r,isNode:u}=Ot(),i=new WeakMap;function o(m,d){let p=m.getValue(),f=m.stack[0],h;return i.has(f)?h=i.get(f):(h=new Set,i.set(f,h)),!h.has(p.position.end.line)&&(h.add(p.position.end.line),r(p,d)&&!c(m.getParentNode()))?t:""}function c(m){return a(m)&&!u(m,["documentHead","documentBody","flowMapping","flowSequence"])}function y(m,d){return s(" ".repeat(m),d)}n.exports={alignWithSpaces:y,shouldPrintEndComments:c,printNextEmptyLine:o}}}),cg=Z({"src/language-yaml/print/flow-mapping-sequence.js"(e,n){"use strict";re();var{builders:{ifBreak:t,line:s,softline:a,hardline:r,join:u}}=Oe(),{isEmptyNode:i,getLast:o,hasEndComments:c}=Ot(),{printNextEmptyLine:y,alignWithSpaces:m}=Ir();function d(f,h,w){let T=f.getValue(),A=T.type==="flowMapping",S=A?"{":"[",B=A?"}":"]",I=a;A&&T.children.length>0&&w.bracketSpacing&&(I=s);let k=o(T.children),P=k&&k.type==="flowMappingItem"&&i(k.key)&&i(k.value);return[S,m(w.tabWidth,[I,p(f,h,w),w.trailingComma==="none"?"":t(","),c(T)?[r,u(r,f.map(h,"endComments"))]:""]),P?"":I,B]}function p(f,h,w){let T=f.getValue();return f.map((S,B)=>[h(),B===T.children.length-1?"":[",",s,T.children[B].position.start.line!==T.children[B+1].position.start.line?y(S,w.originalText):""]],"children")}n.exports={printFlowMapping:d,printFlowSequence:d}}}),pg=Z({"src/language-yaml/print/mapping-item.js"(e,n){"use strict";re();var{builders:{conditionalGroup:t,group:s,hardline:a,ifBreak:r,join:u,line:i}}=Oe(),{hasLeadingComments:o,hasMiddleComments:c,hasTrailingComment:y,hasEndComments:m,isNode:d,isEmptyNode:p,isInlineNode:f}=Ot(),{alignWithSpaces:h}=Ir();function w(B,I,k,P,C){let{key:D,value:g}=B,F=p(D),l=p(g);if(F&&l)return": ";let E=P("key"),v=A(B)?" ":"";if(l)return B.type==="flowMappingItem"&&I.type==="flowMapping"?E:B.type==="mappingItem"&&T(D.content,C)&&!y(D.content)&&(!I.tag||I.tag.value!=="tag:yaml.org,2002:set")?[E,v,":"]:["? ",h(2,E)];let N=P("value");if(F)return[": ",h(2,N)];if(o(g)||!f(D.content))return["? ",h(2,E),a,u("",k.map(P,"value","leadingComments").map($=>[$,a])),": ",h(2,N)];if(S(D.content)&&!o(D.content)&&!c(D.content)&&!y(D.content)&&!m(D)&&!o(g.content)&&!c(g.content)&&!m(g)&&T(g.content,C))return[E,v,": ",N];let x=Symbol("mappingKey"),b=s([r("? "),s(h(2,E),{id:x})]),L=[a,": ",h(2,N)],M=[v,":"];o(g.content)||m(g)&&g.content&&!d(g.content,["mapping","sequence"])||I.type==="mapping"&&y(D.content)&&f(g.content)||d(g.content,["mapping","sequence"])&&g.content.tag===null&&g.content.anchor===null?M.push(a):g.content&&M.push(i),M.push(N);let j=h(C.tabWidth,M);return T(D.content,C)&&!o(D.content)&&!c(D.content)&&!m(D)?t([[E,j]]):t([[b,r(L,j,{groupId:x})]])}function T(B,I){if(!B)return!0;switch(B.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(I.proseWrap==="preserve")return B.position.start.line===B.position.end.line;if(/\\$/m.test(I.originalText.slice(B.position.start.offset,B.position.end.offset)))return!1;switch(I.proseWrap){case"never":return!B.value.includes(`
116
- `);case"always":return!/[\n ]/.test(B.value);default:return!1}}function A(B){return B.key.content&&B.key.content.type==="alias"}function S(B){if(!B)return!0;switch(B.type){case"plain":case"quoteDouble":case"quoteSingle":return B.position.start.line===B.position.end.line;case"alias":return!0;default:return!1}}n.exports=w}}),fg=Z({"src/language-yaml/print/block.js"(e,n){"use strict";re();var{builders:{dedent:t,dedentToRoot:s,fill:a,hardline:r,join:u,line:i,literalline:o,markAsRoot:c},utils:{getDocParts:y}}=Oe(),{getAncestorCount:m,getBlockValueLineContents:d,hasIndicatorComment:p,isLastDescendantNode:f,isNode:h}=Ot(),{alignWithSpaces:w}=Ir();function T(A,S,B){let I=A.getValue(),k=m(A,F=>h(F,["sequence","mapping"])),P=f(A),C=[I.type==="blockFolded"?">":"|"];I.indent!==null&&C.push(I.indent.toString()),I.chomping!=="clip"&&C.push(I.chomping==="keep"?"+":"-"),p(I)&&C.push(" ",S("indicatorComment"));let D=d(I,{parentIndent:k,isLastDescendant:P,options:B}),g=[];for(let[F,l]of D.entries())F===0&&g.push(r),g.push(a(y(u(i,l)))),F!==D.length-1?g.push(l.length===0?r:c(o)):I.chomping==="keep"&&P&&g.push(s(l.length===0?r:o));return I.indent===null?C.push(t(w(B.tabWidth,g))):C.push(s(w(I.indent-1+k,g))),C}n.exports=T}}),Dg=Z({"src/language-yaml/printer-yaml.js"(e,n){"use strict";re();var{builders:{breakParent:t,fill:s,group:a,hardline:r,join:u,line:i,lineSuffix:o,literalline:c},utils:{getDocParts:y,replaceTextEndOfLine:m}}=Oe(),{isPreviousLineEmpty:d}=Ue(),{insertPragma:p,isPragma:f}=ig(),{locStart:h}=ag(),w=og(),{getFlowScalarLineContents:T,getLastDescendantNode:A,hasLeadingComments:S,hasMiddleComments:B,hasTrailingComment:I,hasEndComments:k,hasPrettierIgnore:P,isLastDescendantNode:C,isNode:D,isInlineNode:g}=Ot(),F=lg(),{alignWithSpaces:l,printNextEmptyLine:E,shouldPrintEndComments:v}=Ir(),{printFlowMapping:N,printFlowSequence:x}=cg(),b=pg(),L=fg();function M(R,Q,ee){let te=R.getValue(),oe=[];te.type!=="mappingValue"&&S(te)&&oe.push([u(r,R.map(ee,"leadingComments")),r]);let{tag:W,anchor:X}=te;W&&oe.push(ee("tag")),W&&X&&oe.push(" "),X&&oe.push(ee("anchor"));let ue="";D(te,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!C(R)&&(ue=E(R,Q.originalText)),(W||X)&&(D(te,["sequence","mapping"])&&!B(te)?oe.push(r):oe.push(" ")),B(te)&&oe.push([te.middleComments.length===1?"":r,u(r,R.map(ee,"middleComments")),r]);let De=R.getParentNode();return P(R)?oe.push(m(Q.originalText.slice(te.position.start.offset,te.position.end.offset).trimEnd(),c)):oe.push(a(j(te,De,R,Q,ee))),I(te)&&!D(te,["document","documentHead"])&&oe.push(o([te.type==="mappingValue"&&!te.content?"":" ",De.type==="mappingKey"&&R.getParentNode(2).type==="mapping"&&g(te)?"":t,ee("trailingComment")])),v(te)&&oe.push(l(te.type==="sequenceItem"?2:0,[r,u(r,R.map(ie=>[d(Q.originalText,ie.getValue(),h)?r:"",ee()],"endComments"))])),oe.push(ue),oe}function j(R,Q,ee,te,oe){switch(R.type){case"root":{let{children:W}=R,X=[];ee.each((De,ie)=>{let G=W[ie],z=W[ie+1];ie!==0&&X.push(r),X.push(oe()),V(G,z)?(X.push(r,"..."),I(G)&&X.push(" ",oe("trailingComment"))):z&&!I(z.head)&&X.push(r,"---")},"children");let ue=A(R);return(!D(ue,["blockLiteral","blockFolded"])||ue.chomping!=="keep")&&X.push(r),X}case"document":{let W=Q.children[ee.getName()+1],X=[];return q(R,W,Q,te)==="head"&&((R.head.children.length>0||R.head.endComments.length>0)&&X.push(oe("head")),I(R.head)?X.push(["---"," ",oe(["head","trailingComment"])]):X.push("---")),$(R)&&X.push(oe("body")),u(r,X)}case"documentHead":return u(r,[...ee.map(oe,"children"),...ee.map(oe,"endComments")]);case"documentBody":{let{children:W,endComments:X}=R,ue="";if(W.length>0&&X.length>0){let De=A(R);D(De,["blockFolded","blockLiteral"])?De.chomping!=="keep"&&(ue=[r,r]):ue=r}return[u(r,ee.map(oe,"children")),ue,u(r,ee.map(oe,"endComments"))]}case"directive":return["%",u(" ",[R.name,...R.parameters])];case"comment":return["#",R.value];case"alias":return["*",R.value];case"tag":return te.originalText.slice(R.position.start.offset,R.position.end.offset);case"anchor":return["&",R.value];case"plain":return Y(R.type,te.originalText.slice(R.position.start.offset,R.position.end.offset),te);case"quoteDouble":case"quoteSingle":{let W="'",X='"',ue=te.originalText.slice(R.position.start.offset+1,R.position.end.offset-1);if(R.type==="quoteSingle"&&ue.includes("\\")||R.type==="quoteDouble"&&/\\[^"]/.test(ue)){let ie=R.type==="quoteDouble"?X:W;return[ie,Y(R.type,ue,te),ie]}if(ue.includes(X))return[W,Y(R.type,R.type==="quoteDouble"?ue.replace(/\\"/g,X).replace(/'/g,W.repeat(2)):ue,te),W];if(ue.includes(W))return[X,Y(R.type,R.type==="quoteSingle"?ue.replace(/''/g,W):ue,te),X];let De=te.singleQuote?W:X;return[De,Y(R.type,ue,te),De]}case"blockFolded":case"blockLiteral":return L(ee,oe,te);case"mapping":case"sequence":return u(r,ee.map(oe,"children"));case"sequenceItem":return["- ",l(2,R.content?oe("content"):"")];case"mappingKey":case"mappingValue":return R.content?oe("content"):"";case"mappingItem":case"flowMappingItem":return b(R,Q,ee,oe,te);case"flowMapping":return N(ee,oe,te);case"flowSequence":return x(ee,oe,te);case"flowSequenceItem":return oe("content");default:throw new Error("Unexpected node type ".concat(R.type))}}function $(R){return R.body.children.length>0||k(R.body)}function V(R,Q){return I(R)||Q&&(Q.head.children.length>0||k(Q.head))}function q(R,Q,ee,te){return ee.children[0]===R&&/---(?:\s|$)/.test(te.originalText.slice(h(R),h(R)+4))||R.head.children.length>0||k(R.head)||I(R.head)?"head":V(R,Q)?!1:Q?"root":!1}function Y(R,Q,ee){let te=T(R,Q,ee);return u(r,te.map(oe=>s(y(u(i,oe)))))}function H(R,Q){if(D(Q))switch(delete Q.position,Q.type){case"comment":if(f(Q.value))return null;break;case"quoteDouble":case"quoteSingle":Q.type="quote";break}}n.exports={preprocess:F,embed:w,print:M,massageAstNode:H,insertPragma:p}}}),mg=Z({"src/language-yaml/options.js"(e,n){"use strict";re();var t=Lt();n.exports={bracketSpacing:t.bracketSpacing,singleQuote:t.singleQuote,proseWrap:t.proseWrap}}}),dg=Z({"src/language-yaml/parsers.js"(){re()}}),gg=Z({"node_modules/linguist-languages/data/YAML.json"(e,n){n.exports={name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock","yarn.lock"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",languageId:407}}}),yg=Z({"src/language-yaml/index.js"(e,n){"use strict";re();var t=Tt(),s=Dg(),a=mg(),r=dg(),u=[t(gg(),i=>({since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"],filenames:[...i.filenames.filter(o=>o!=="yarn.lock"),".prettierrc",".stylelintrc"]}))];n.exports={languages:u,printers:{yaml:s},options:a,parsers:r}}}),hg=Z({"src/languages.js"(e,n){"use strict";re(),n.exports=[Qm(),gd(),Sd(),_d(),Md(),sg(),yg()]}}),vg=Z({"src/standalone.js"(e,n){re();var{version:t}=ca(),s=gm(),{getSupportInfo:a}=jn(),r=ym(),u=hg(),i=Oe();function o(y){let m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return function(){for(var d=arguments.length,p=new Array(d),f=0;f<d;f++)p[f]=arguments[f];let h=p[m]||{},w=h.plugins||[];return p[m]=Object.assign(Object.assign({},h),{},{plugins:[...u,...Array.isArray(w)?w:Object.values(w)]}),y(...p)}}var c=o(s.formatWithCursor);n.exports={formatWithCursor:c,format(y,m){return c(y,m).formatted},check(y,m){let{formatted:d}=c(y,m);return d===y},doc:i,getSupportInfo:o(a,0),version:t,util:r,__debug:{parse:o(s.parse),formatAST:o(s.formatAST),formatDoc:o(s.formatDoc),printToDoc:o(s.printToDoc),printDocToString:o(s.printDocToString)}}}}),Y0=vg();export{Y0 as default};
120
+ ${e}`}p();function ka(e){return e.position.start.offset}p();function ib(e,t){if(e.getValue().type==="root"&&t.filepath&&/(?:[/\\]|^)\.(?:prettier|stylelint|lintstaged)rc$/.test(t.filepath))return async n=>{let u=await n(t.originalText,{parser:"json"});return u?[u,d]:void 0}}var Qg=ib;p();function eh(e,t){let r=0,n=e.stack.length-1;for(let u=0;u<n;u++){let i=e.stack[u];je(i)&&t(i)&&r++}return r}function je(e,t){return e&&typeof e.type=="string"&&(!t||t.includes(e.type))}function Xl(e,t,r){return t("children"in e?{...e,children:e.children.map(n=>Xl(n,t,e))}:e,r)}function Wn(e,t,r){Object.defineProperty(e,t,{get:r,enumerable:!1})}function th(e,t){let r=0,n=t.length;for(let u=e.position.end.offset-1;u<n;u++){let i=t[u];if(i===`
121
+ `&&r++,r===1&&/\S/.test(i))return!1;if(r===2)return!0}return!1}function La(e){switch(e.getValue().type){case"tag":case"anchor":case"comment":return!1}let r=e.stack.length;for(let n=1;n<r;n++){let u=e.stack[n],i=e.stack[n-1];if(Array.isArray(i)&&typeof u=="number"&&u!==i.length-1)return!1}return!0}function Na(e){return O(e.children)?Na(I(e.children)):e}function Zg(e){return e.value.trim()==="prettier-ignore"}function rh(e){let t=e.getValue();if(t.type==="documentBody"){let r=e.getParentNode();return $e(r.head)&&Zg(I(r.head.endComments))}return Kt(t)&&Zg(I(t.leadingComments))}function Gn(e){return!O(e.children)&&!sb(e)}function sb(e){return Kt(e)||Ir(e)||zl(e)||Et(e)||$e(e)}function Kt(e){return O(e==null?void 0:e.leadingComments)}function Ir(e){return O(e==null?void 0:e.middleComments)}function zl(e){return e==null?void 0:e.indicatorComment}function Et(e){return e==null?void 0:e.trailingComment}function $e(e){return O(e==null?void 0:e.endComments)}function nh(e){let t=[],r;for(let n of e.split(/( +)/))n!==" "?r===" "?t.push(n):t.push((t.pop()||"")+n):r===void 0&&t.unshift(""),r=n;return r===" "&&t.push((t.pop()||"")+" "),t[0]===""&&(t.shift(),t.unshift(" "+(t.shift()||""))),t}function uh(e,t,r){let n=t.split(`
122
+ `).map((u,i,s)=>i===0&&i===s.length-1?u:i!==0&&i!==s.length-1?u.trim():i===0?u.trimEnd():u.trimStart());return r.proseWrap==="preserve"?n.map(u=>u.length===0?[]:[u]):n.map(u=>u.length===0?[]:nh(u)).reduce((u,i,s)=>s!==0&&n[s-1].length>0&&i.length>0&&!(e==="quoteDouble"&&I(I(u)).endsWith("\\"))?[...u.slice(0,-1),[...I(u),...i]]:[...u,i],[]).map(u=>r.proseWrap==="never"?[u.join(" ")]:u)}function ih(e,{parentIndent:t,isLastDescendant:r,options:n}){let u=e.position.start.line===e.position.end.line?"":n.originalText.slice(e.position.start.offset,e.position.end.offset).match(/^[^\n]*\n(.*)$/s)[1],i;if(e.indent===null){let o=u.match(/^(?<leadingSpace> *)[^\n\r ]/m);i=o?o.groups.leadingSpace.length:Number.POSITIVE_INFINITY}else i=e.indent-1+t;let s=u.split(`
123
+ `).map(o=>o.slice(i));if(n.proseWrap==="preserve"||e.type==="blockLiteral")return a(s.map(o=>o.length===0?[]:[o]));return a(s.map(o=>o.length===0?[]:nh(o)).reduce((o,c,l)=>l!==0&&s[l-1].length>0&&c.length>0&&!/^\s/.test(c[0])&&!/^\s|\s$/.test(I(o))?[...o.slice(0,-1),[...I(o),...c]]:[...o,c],[]).map(o=>o.reduce((c,l)=>c.length>0&&/\s$/.test(I(c))?[...c.slice(0,-1),I(c)+" "+l]:[...c,l],[])).map(o=>n.proseWrap==="never"?[o.join(" ")]:o));function a(o){if(e.chomping==="keep")return I(o).length===0?o.slice(0,-1):o;let c=0;for(let l=o.length-1;l>=0&&o[l].length===0;l--)c++;return c===0?o:c>=2&&!r?o.slice(0,-(c-1)):o.slice(0,-c)}}function ti(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":case"alias":case"flowMapping":case"flowSequence":return!0;default:return!1}}p();var ab=Object.fromEntries(Object.entries({root:["children"],document:["head","body","children"],documentHead:["children"],documentBody:["children"],directive:[],alias:[],blockLiteral:[],blockFolded:["children"],plain:["children"],quoteSingle:[],quoteDouble:[],mapping:["children"],mappingItem:["key","value","children"],mappingKey:["content","children"],mappingValue:["content","children"],sequence:["children"],sequenceItem:["content","children"],flowMapping:["children"],flowMappingItem:["key","value","children"],flowSequence:["children"],flowSequenceItem:["children"],comment:[],tag:[],anchor:[]}).map(([e,t])=>[e,[...t,"anchor","tag","indicatorComment","leadingComments","middleComments","trailingComment","endComments"]])),sh=ab;p();function ob(e){return Xl(e,cb)}function cb(e){switch(e.type){case"document":Wn(e,"head",()=>e.children[0]),Wn(e,"body",()=>e.children[1]);break;case"documentBody":case"sequenceItem":case"flowSequenceItem":case"mappingKey":case"mappingValue":Wn(e,"content",()=>e.children[0]);break;case"mappingItem":case"flowMappingItem":Wn(e,"key",()=>e.children[0]),Wn(e,"value",()=>e.children[1]);break}return e}var ah=ob;p();var Ql=new WeakMap;function _a(e,t){let r=e.getValue(),n=e.stack[0],u;return Ql.has(n)?u=Ql.get(n):(u=new Set,Ql.set(n,u)),!u.has(r.position.end.line)&&(u.add(r.position.end.line),th(r,t)&&!Zl(e.getParentNode()))?A:""}function Zl(e){return $e(e)&&!je(e,["documentHead","documentBody","flowMapping","flowSequence"])}function Le(e,t){return ne(" ".repeat(e),t)}p();function Oa(e,t,r){let n=e.getValue(),u=n.type==="flowMapping",i=u?"{":"[",s=u?"}":"]",a=A;u&&n.children.length>0&&r.bracketSpacing&&(a=x);let o=I(n.children),c=o&&o.type==="flowMappingItem"&&Gn(o.key)&&Gn(o.value);return[i,Le(r.tabWidth,[a,lb(e,t,r),r.trailingComma==="none"?"":N(","),$e(n)?[d,B(d,e.map(t,"endComments"))]:""]),c?"":a,s]}function lb(e,t,r){let n=e.getValue();return e.map((i,s)=>[t(),s===n.children.length-1?"":[",",x,n.children[s].position.start.line!==n.children[s+1].position.start.line?_a(i,r.originalText):""]],"children")}p();function pb(e,t,r,n,u){let{key:i,value:s}=e,a=Gn(i),o=Gn(s);if(a&&o)return": ";let c=n("key"),l=fb(e)?" ":"";if(o)return e.type==="flowMappingItem"&&t.type==="flowMapping"?c:e.type==="mappingItem"&&ep(i.content,u)&&!Et(i.content)&&(!t.tag||t.tag.value!=="tag:yaml.org,2002:set")?[c,l,":"]:["? ",Le(2,c)];let f=n("value");if(a)return[": ",Le(2,f)];if(Kt(s)||!ti(i.content))return["? ",Le(2,c),d,B("",r.map(n,"value","leadingComments").map(T=>[T,d])),": ",Le(2,f)];if(mb(i.content)&&!Kt(i.content)&&!Ir(i.content)&&!Et(i.content)&&!$e(i)&&!Kt(s.content)&&!Ir(s.content)&&!$e(s)&&ep(s.content,u))return[c,l,": ",f];let m=Symbol("mappingKey"),D=h([N("? "),h(Le(2,c),{id:m})]),y=[d,": ",Le(2,f)],E=[l,":"];Kt(s.content)||$e(s)&&s.content&&!je(s.content,["mapping","sequence"])||t.type==="mapping"&&Et(i.content)&&ti(s.content)||je(s.content,["mapping","sequence"])&&s.content.tag===null&&s.content.anchor===null?E.push(d):s.content&&E.push(x),E.push(f);let C=Le(u.tabWidth,E);return ep(i.content,u)&&!Kt(i.content)&&!Ir(i.content)&&!$e(i)?ft([[c,C]]):ft([[D,N(y,C,{groupId:m})]])}function ep(e,t){if(!e)return!0;switch(e.type){case"plain":case"quoteSingle":case"quoteDouble":break;case"alias":return!0;default:return!1}if(t.proseWrap==="preserve")return e.position.start.line===e.position.end.line;if(/\\$/m.test(t.originalText.slice(e.position.start.offset,e.position.end.offset)))return!1;switch(t.proseWrap){case"never":return!e.value.includes(`
124
+ `);case"always":return!/[\n ]/.test(e.value);default:return!1}}function fb(e){return e.key.content&&e.key.content.type==="alias"}function mb(e){if(!e)return!0;switch(e.type){case"plain":case"quoteDouble":case"quoteSingle":return e.position.start.line===e.position.end.line;case"alias":return!0;default:return!1}}var oh=pb;p();function Db(e,t,r){let n=e.getValue(),u=eh(e,c=>je(c,["sequence","mapping"])),i=La(e),s=[n.type==="blockFolded"?">":"|"];n.indent!==null&&s.push(n.indent.toString()),n.chomping!=="clip"&&s.push(n.chomping==="keep"?"+":"-"),zl(n)&&s.push(" ",t("indicatorComment"));let a=ih(n,{parentIndent:u,isLastDescendant:i,options:r}),o=[];for(let[c,l]of a.entries())c===0&&o.push(d),o.push(se(B(x,l))),c!==a.length-1?o.push(l.length===0?d:_t(_e)):n.chomping==="keep"&&i&&o.push(gr(l.length===0?d:_e));return n.indent===null?s.push(Ze(Le(r.tabWidth,o))):s.push(gr(Le(n.indent-1+u,o))),s}var ch=Db;function db(e,t,r){let n=e.getValue(),u=[];n.type!=="mappingValue"&&Kt(n)&&u.push([B(d,e.map(r,"leadingComments")),d]);let{tag:i,anchor:s}=n;i&&u.push(r("tag")),i&&s&&u.push(" "),s&&u.push(r("anchor"));let a="";je(n,["mapping","sequence","comment","directive","mappingItem","sequenceItem"])&&!La(e)&&(a=_a(e,t.originalText)),(i||s)&&(je(n,["sequence","mapping"])&&!Ir(n)?u.push(d):u.push(" ")),Ir(n)&&u.push([n.middleComments.length===1?"":d,B(d,e.map(r,"middleComments")),d]);let o=e.getParentNode();return rh(e)?u.push(z(t.originalText.slice(n.position.start.offset,n.position.end.offset).trimEnd(),_e)):u.push(h(yb(n,o,e,t,r))),Et(n)&&!je(n,["document","documentHead"])&&u.push(on([n.type==="mappingValue"&&!n.content?"":" ",o.type==="mappingKey"&&e.getParentNode(2).type==="mapping"&&ti(n)?"":te,r("trailingComment")])),Zl(n)&&u.push(Le(n.type==="sequenceItem"?2:0,[d,B(d,e.map(c=>[yn(t.originalText,c.getValue(),ka)?d:"",r()],"endComments"))])),u.push(a),u}function yb(e,t,r,n,u){switch(e.type){case"root":{let{children:i}=e,s=[];r.each((o,c)=>{let l=i[c],f=i[c+1];c!==0&&s.push(d),s.push(u()),lh(l,f)?(s.push(d,"..."),Et(l)&&s.push(" ",u("trailingComment"))):f&&!Et(f.head)&&s.push(d,"---")},"children");let a=Na(e);return(!je(a,["blockLiteral","blockFolded"])||a.chomping!=="keep")&&s.push(d),s}case"document":{let i=t.children[r.getName()+1],s=[];return hb(e,i,t,n)==="head"&&((e.head.children.length>0||e.head.endComments.length>0)&&s.push(u("head")),Et(e.head)?s.push(["---"," ",u(["head","trailingComment"])]):s.push("---")),gb(e)&&s.push(u("body")),B(d,s)}case"documentHead":return B(d,[...r.map(u,"children"),...r.map(u,"endComments")]);case"documentBody":{let{children:i,endComments:s}=e,a="";if(i.length>0&&s.length>0){let o=Na(e);je(o,["blockFolded","blockLiteral"])?o.chomping!=="keep"&&(a=[d,d]):a=d}return[B(d,r.map(u,"children")),a,B(d,r.map(u,"endComments"))]}case"directive":return["%",B(" ",[e.name,...e.parameters])];case"comment":return["#",e.value];case"alias":return["*",e.value];case"tag":return n.originalText.slice(e.position.start.offset,e.position.end.offset);case"anchor":return["&",e.value];case"plain":return ri(e.type,n.originalText.slice(e.position.start.offset,e.position.end.offset),n);case"quoteDouble":case"quoteSingle":{let i="'",s='"',a=n.originalText.slice(e.position.start.offset+1,e.position.end.offset-1);if(e.type==="quoteSingle"&&a.includes("\\")||e.type==="quoteDouble"&&/\\[^"]/.test(a)){let c=e.type==="quoteDouble"?s:i;return[c,ri(e.type,a,n),c]}if(a.includes(s))return[i,ri(e.type,e.type==="quoteDouble"?a.replace(/\\"/g,s).replace(/'/g,i.repeat(2)):a,n),i];if(a.includes(i))return[s,ri(e.type,e.type==="quoteSingle"?a.replace(/''/g,i):a,n),s];let o=n.singleQuote?i:s;return[o,ri(e.type,a,n),o]}case"blockFolded":case"blockLiteral":return ch(r,u,n);case"mapping":case"sequence":return B(d,r.map(u,"children"));case"sequenceItem":return["- ",Le(2,e.content?u("content"):"")];case"mappingKey":case"mappingValue":return e.content?u("content"):"";case"mappingItem":case"flowMappingItem":return oh(e,t,r,u,n);case"flowMapping":return Oa(r,u,n);case"flowSequence":return Oa(r,u,n);case"flowSequenceItem":return u("content");default:throw new Error(`Unexpected node type ${e.type}`)}}function gb(e){return e.body.children.length>0||$e(e.body)}function lh(e,t){return Et(e)||t&&(t.head.children.length>0||$e(t.head))}function hb(e,t,r,n){return r.children[0]===e&&/---(?:\s|$)/.test(n.originalText.slice(ka(e),ka(e)+4))||e.head.children.length>0||$e(e.head)||Et(e.head)?"head":lh(e,t)?!1:t?"root":!1}function ri(e,t,r){let n=uh(e,t,r);return B(d,n.map(u=>se(B(x,u))))}function Eb(e,t){if(je(t))switch(delete t.position,t.type){case"comment":if(Xg(t.value))return null;break;case"quoteDouble":case"quoteSingle":t.type="quote";break}}var Cb={preprocess:ah,embed:Qg,print:db,massageAstNode:Eb,insertPragma:zg,getVisitorKeys:Ie(sh)},ph=Cb;var fh=[{linguistLanguageId:407,name:"YAML",type:"data",color:"#cb171e",tmScope:"source.yaml",aliases:["yml"],extensions:[".yml",".mir",".reek",".rviz",".sublime-syntax",".syntax",".yaml",".yaml-tmlanguage",".yaml.sed",".yml.mysql"],filenames:[".clang-format",".clang-tidy",".gemrc","CITATION.cff","glide.lock",".prettierrc",".stylelintrc",".lintstagedrc"],aceMode:"yaml",codemirrorMode:"yaml",codemirrorMimeType:"text/x-yaml",since:"1.14.0",parsers:["yaml"],vscodeLanguageIds:["yaml","ansible","home-assistant"]}];p();var Fb={bracketSpacing:Ee.bracketSpacing,singleQuote:Ee.singleQuote,proseWrap:Ee.proseWrap},mh=Fb;p();var Dh=void 0;var xb={yaml:ph};var rp={};Ce(rp,{addDanglingComment:()=>fe,addLeadingComment:()=>ue,addTrailingComment:()=>re,getAlignmentSize:()=>nu,getIndentSize:()=>gi,getMaxContinuousCount:()=>gn,getNextNonSpaceNonCommentCharacterIndex:()=>tr,getStringWidth:()=>Ne,hasNewline:()=>ee,hasNewlineInRange:()=>$t,hasSpaces:()=>ef,isNextLineEmpty:()=>Fr,isNextLineEmptyAfterIndex:()=>_r,isPreviousLineEmpty:()=>yn,makeString:()=>lo,skip:()=>Zp,skipEverythingButNewLine:()=>fn,skipInlineComment:()=>mn,skipNewline:()=>xt,skipSpaces:()=>mt,skipToLineEnd:()=>yi,skipTrailingComment:()=>Dn,skipWhitespace:()=>ru});p();var np={};Ce(np,{builders:()=>ui,debug:()=>ci,printer:()=>oi,utils:()=>ii});p();var Sb=Object.values(tp);function sn(e,t=1){return async(...r)=>{let n=r[t]||{},u=n.plugins||[];return r[t]={...n,plugins:[...Sb,...Array.isArray(u)?u:Object.values(u)]},e(...r)}}var Tb=sn(qr.formatWithCursor);async function bb(e,t){let{formatted:r}=await Tb(e,{...t,cursorOffset:-1});return r}async function T9(e,t){return await bb(e,t)===e}var b9=sn(Nr,0),B9={parse:sn(qr.parse),formatAST:sn(qr.formatAST),formatDoc:sn(qr.formatDoc),printToDoc:sn(qr.printToDoc),printDocToString:sn(qr.printDocToString)};export{B9 as __debug,T9 as check,np as doc,bb as format,Tb as formatWithCursor,b9 as getSupportInfo,rp as util,co as version};