):fe()}let ce=n_(Ui.join(""));ga.length&&ce.length&&ga.push(M(y.createJSDocText(ce),mi??ie,hi)),ga.length&&Rt&&N.assertIsDefined(hi,"having parsed tags implies that the end of the comment span should be set");let Me=Rt&&Ft(Rt,Gr,di);return M(y.createJSDocComment(ga.length?Ft(ga,ie,hi):ce.length?ce:void 0,Me),ie,Ue)}function bf(F){for(;F.length&&(F[0]===`
`||F[0]==="\r");)F.shift()}function qh(F){for(;F.length;){let re=n_(F[F.length-1]);if(re==="")F.pop();else if(re.length<F[F.length-1].length){F[F.length-1]=re;break}else break}}function Oe(){for(;;){if(fe(),f()===1)return!0;if(!(f()===5||f()===4))return!1}}function Xe(){if(!((f()===5||f()===4)&&Te(Oe)))for(;f()===5||f()===4;)fe()}function Cr(){if((f()===5||f()===4)&&Te(Oe))return"";let F=t.hasPrecedingLineBreak(),re=!1,Z="";for(;F&&f()===42||f()===5||f()===4;)Z+=t.getTokenText(),f()===4?(F=!0,re=!0,Z=""):f()===42&&(F=!1),fe();return re?Z:""}function To(F){N.assert(f()===60);let re=t.getTokenStart();fe();let Z=Ga(void 0),se=Cr(),ce;switch(Z.escapedText){case"author":ce=i5(re,Z,F,se);break;case"implements":ce=o5(re,Z,F,se);break;case"augments":case"extends":ce=s5(re,Z,F,se);break;case"class":case"constructor":ce=So(re,y.createJSDocClassTag,Z,F,se);break;case"public":ce=So(re,y.createJSDocPublicTag,Z,F,se);break;case"private":ce=So(re,y.createJSDocPrivateTag,Z,F,se);break;case"protected":ce=So(re,y.createJSDocProtectedTag,Z,F,se);break;case"readonly":ce=So(re,y.createJSDocReadonlyTag,Z,F,se);break;case"override":ce=So(re,y.createJSDocOverrideTag,Z,F,se);break;case"deprecated":qn=!0,ce=So(re,y.createJSDocDeprecatedTag,Z,F,se);break;case"this":ce=l5(re,Z,F,se);break;case"enum":ce=u5(re,Z,F,se);break;case"arg":case"argument":case"param":return de(re,Z,2,F);case"return":case"returns":ce=Er(re,Z,F,se);break;case"template":ce=Nb(re,Z,F,se);break;case"type":ce=$n(re,Z,F,se);break;case"typedef":ce=p5(re,Z,F,se);break;case"callback":ce=d5(re,Z,F,se);break;case"overload":ce=m5(re,Z,F,se);break;case"satisfies":ce=_5(re,Z,F,se);break;case"see":ce=yi(re,Z,F,se);break;case"exception":case"throws":ce=Vs(re,Z,F,se);break;default:ce=s(re,Z,F,se);break}return ce}function lr(F,re,Z,se){return se||(Z+=re-F),on(Z,se.slice(Z))}function on(F,re){let Z=T(),se=[],ce=[],Me,ze=0,At;function Pn(Qn){At||(At=F),se.push(Qn),F+=Qn.length}re!==void 0&&(re!==""&&Pn(re),ze=1);let sn=f();e:for(;;){switch(sn){case 4:ze=0,se.push(t.getTokenText()),F=0;break;case 60:t.resetTokenState(t.getTokenEnd()-1);break e;case 1:break e;case 5:N.assert(ze!==2&&ze!==3,"whitespace shouldn't come from the scanner while saving comment text");let Qn=t.getTokenText();At!==void 0&&F+Qn.length>At&&(se.push(Qn.slice(At-F)),ze=2),F+=Qn.length;break;case 19:ze=2;let Tf=t.getTokenFullStart(),Hs=t.getTokenEnd()-1,Sf=vf(Hs);Sf?(ce.push(M(y.createJSDocText(se.join("")),Me??Z,Tf)),ce.push(Sf),se=[],Me=t.getTokenEnd()):Pn(t.getTokenText());break;case 62:ze===3?ze=2:ze=3,Pn(t.getTokenText());break;case 82:ze!==3&&(ze=2),Pn(t.getTokenValue());break;case 42:if(ze===0){ze=1,F+=1;break}default:ze!==3&&(ze=2),Pn(t.getTokenText());break}ze===2||ze===3?sn=be(ze===3):sn=fe()}bf(se);let Ar=n_(se.join(""));if(ce.length)return Ar.length&&ce.push(M(y.createJSDocText(Ar),Me??Z)),Ft(ce,Z,t.getTokenEnd());if(Ar.length)return Ar}function vf(F){let re=ft(n);if(!re)return;fe(),Xe();let Z=T(),se=kt(f())?la(!0):void 0;if(se)for(;f()===81;)Ye(),fe(),se=M(y.createJSDocMemberName(se,Lt()),Z);let ce=[];for(;f()!==20&&f()!==4&&f()!==1;)ce.push(t.getTokenText()),fe();let Me=re==="link"?y.createJSDocLink:re==="linkcode"?y.createJSDocLinkCode:y.createJSDocLinkPlain;return M(Me(se,ce.join("")),F,t.getTokenEnd())}function n(){if(Cr(),f()===19&&fe()===60&&kt(fe())){let F=t.getTokenValue();if(o(F))return F}}function o(F){return F==="link"||F==="linkcode"||F==="linkplain"}function s(F,re,Z,se){return M(y.createJSDocUnknownTag(re,lr(F,T(),Z,se)),F)}function u(F){F&&(Rt?Rt.push(F):(Rt=[F],Gr=F.pos),di=F.end)}function g(){return Cr(),f()===19?b():void 0}function I(){let F=xo(23);F&&Xe();let re=xo(62),Z=T5();return re&&e1(62),F&&(Xe(),dt(64)&&Jt(),H(24)),{name:Z,isBracketed:F}}function W(F){switch(F.kind){case 151:return!0;case 188:return W(F.elementType);default:return R_(F)&&Ee(F.typeName)&&F.typeName.escapedText==="Object"&&!F.typeArguments}}function de(F,re,Z,se){let ce=g(),Me=!ce;Cr();let{name:ze,isBracketed:At}=I(),Pn=Cr();Me&&!Te(n)&&(ce=g());let sn=lr(F,T(),se,Pn),Ar=We(ce,ze,Z,se);Ar&&(ce=Ar,Me=!0);let Qn=Z===1?y.createJSDocPropertyTag(re,ze,At,ce,Me,sn):y.createJSDocParameterTag(re,ze,At,ce,Me,sn);return M(Qn,F)}function We(F,re,Z,se){if(F&&W(F.type)){let ce=T(),Me,ze;for(;Me=ft(()=>Wh(Z,se,re));)Me.kind===348||Me.kind===355?ze=xt(ze,Me):Me.kind===352&&Lr(Me.tagName,U.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(ze){let At=M(y.createJSDocTypeLiteral(ze,F.type.kind===188),ce);return M(y.createJSDocTypeExpression(At),ce)}}}function Er(F,re,Z,se){mt(Rt,R6)&&Mt(re.pos,t.getTokenStart(),U._0_tag_already_specified,Vo(re.escapedText));let ce=g();return M(y.createJSDocReturnTag(re,ce,lr(F,T(),Z,se)),F)}function $n(F,re,Z,se){mt(Rt,lu)&&Mt(re.pos,t.getTokenStart(),U._0_tag_already_specified,Vo(re.escapedText));let ce=b(!0),Me=Z!==void 0&&se!==void 0?lr(F,T(),Z,se):void 0;return M(y.createJSDocTypeTag(re,ce,Me),F)}function yi(F,re,Z,se){let Me=f()===23||Te(()=>fe()===60&&kt(fe())&&o(t.getTokenValue()))?void 0:w(),ze=Z!==void 0&&se!==void 0?lr(F,T(),Z,se):void 0;return M(y.createJSDocSeeTag(re,Me,ze),F)}function Vs(F,re,Z,se){let ce=g(),Me=lr(F,T(),Z,se);return M(y.createJSDocThrowsTag(re,ce,Me),F)}function i5(F,re,Z,se){let ce=T(),Me=a5(),ze=t.getTokenFullStart(),At=lr(F,ze,Z,se);At||(ze=t.getTokenFullStart());let Pn=typeof At!="string"?Ft(y_([M(Me,ce,ze)],At),ce):Me.text+At;return M(y.createJSDocAuthorTag(re,Pn),F)}function a5(){let F=[],re=!1,Z=t.getToken();for(;Z!==1&&Z!==4;){if(Z===30)re=!0;else{if(Z===60&&!re)break;if(Z===32&&re){F.push(t.getTokenText()),t.resetTokenState(t.getTokenEnd());break}}F.push(t.getTokenText()),Z=fe()}return y.createJSDocText(F.join(""))}function o5(F,re,Z,se){let ce=Pb();return M(y.createJSDocImplementsTag(re,ce,lr(F,T(),Z,se)),F)}function s5(F,re,Z,se){let ce=Pb();return M(y.createJSDocAugmentsTag(re,ce,lr(F,T(),Z,se)),F)}function _5(F,re,Z,se){let ce=b(!1),Me=Z!==void 0&&se!==void 0?lr(F,T(),Z,se):void 0;return M(y.createJSDocSatisfiesTag(re,ce,Me),F)}function Pb(){let F=je(19),re=T(),Z=c5();t.setInJSDocType(!0);let se=qs();t.setInJSDocType(!1);let ce=y.createExpressionWithTypeArguments(Z,se),Me=M(ce,re);return F&&H(20),Me}function c5(){let F=T(),re=Ga();for(;je(25);){let Z=Ga();re=M(ae(re,Z),F)}return re}function So(F,re,Z,se,ce){return M(re(Z,lr(F,T(),se,ce)),F)}function l5(F,re,Z,se){let ce=b(!0);return Xe(),M(y.createJSDocThisTag(re,ce,lr(F,T(),Z,se)),F)}function u5(F,re,Z,se){let ce=b(!0);return Xe(),M(y.createJSDocEnumTag(re,ce,lr(F,T(),Z,se)),F)}function p5(F,re,Z,se){let ce=g();Cr();let Me=zh();Xe();let ze=on(Z),At;if(!ce||W(ce.type)){let sn,Ar,Qn,Tf=!1;for(;(sn=ft(()=>y5(Z)))&&sn.kind!==352;)if(Tf=!0,sn.kind===351)if(Ar){let Hs=Je(U.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);Hs&&nl(Hs,Ao(sr,0,0,U.The_tag_was_first_specified_here));break}else Ar=sn;else Qn=xt(Qn,sn);if(Tf){let Hs=ce&&ce.type.kind===188,Sf=y.createJSDocTypeLiteral(Qn,Hs);ce=Ar&&Ar.typeExpression&&!W(Ar.typeExpression.type)?Ar.typeExpression:M(Sf,F),At=ce.end}}At=At||ze!==void 0?T():(Me??ce??re).end,ze||(ze=lr(F,At,Z,se));let Pn=y.createJSDocTypedefTag(re,ce,Me,ze);return M(Pn,F,At)}function zh(F){let re=t.getTokenStart();if(!kt(f()))return;let Z=Ga();if(je(25)){let se=zh(!0),ce=y.createModuleDeclaration(void 0,Z,se,F?8:void 0);return M(ce,re)}return F&&(Z.flags|=4096),Z}function f5(F){let re=T(),Z,se;for(;Z=ft(()=>Wh(4,F));){if(Z.kind===352){Lr(Z.tagName,U.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}se=xt(se,Z)}return Ft(se||[],re)}function Ib(F,re){let Z=f5(re),se=ft(()=>{if(xo(60)){let ce=To(re);if(ce&&ce.kind===349)return ce}});return M(y.createJSDocSignature(void 0,Z,se),F)}function d5(F,re,Z,se){let ce=zh();Xe();let Me=on(Z),ze=Ib(F,Z);Me||(Me=lr(F,T(),Z,se));let At=Me!==void 0?T():ze.end;return M(y.createJSDocCallbackTag(re,ze,ce,Me),F,At)}function m5(F,re,Z,se){Xe();let ce=on(Z),Me=Ib(F,Z);ce||(ce=lr(F,T(),Z,se));let ze=ce!==void 0?T():Me.end;return M(y.createJSDocOverloadTag(re,Me,ce),F,ze)}function h5(F,re){for(;!Ee(F)||!Ee(re);)if(!Ee(F)&&!Ee(re)&&F.right.escapedText===re.right.escapedText)F=F.left,re=re.left;else return!1;return F.escapedText===re.escapedText}function y5(F){return Wh(1,F)}function Wh(F,re,Z){let se=!0,ce=!1;for(;;)switch(fe()){case 60:if(se){let Me=g5(F,re);return Me&&(Me.kind===348||Me.kind===355)&&Z&&(Ee(Me.name)||!h5(Z,Me.name.left))?!1:Me}ce=!1;break;case 4:se=!0,ce=!1;break;case 42:ce&&(se=!1),ce=!0;break;case 80:se=!1;break;case 1:return!1}}function g5(F,re){N.assert(f()===60);let Z=t.getTokenFullStart();fe();let se=Ga(),ce=Cr(),Me;switch(se.escapedText){case"type":return F===1&&$n(Z,se);case"prop":case"property":Me=1;break;case"arg":case"argument":case"param":Me=6;break;case"template":return Nb(Z,se,re,ce);default:return!1}return F&Me?de(Z,se,F,re):!1}function b5(){let F=T(),re=xo(23);re&&Xe();let Z=Ga(U.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces),se;if(re&&(Xe(),H(64),se=ke(16777216,xs),H(24)),!zi(Z))return M(y.createTypeParameterDeclaration(void 0,Z,void 0,se),F)}function v5(){let F=T(),re=[];do{Xe();let Z=b5();Z!==void 0&&re.push(Z),Cr()}while(xo(28));return Ft(re,F)}function Nb(F,re,Z,se){let ce=f()===19?b():void 0,Me=v5();return M(y.createJSDocTemplateTag(re,ce,Me,lr(F,T(),Z,se)),F)}function xo(F){return f()===F?(fe(),!0):!1}function T5(){let F=Ga();for(je(23)&&H(24);je(25);){let re=Ga();je(23)&&H(24),F=o1(F,re)}return F}function Ga(F){if(!kt(f()))return Jr(80,!F,F||U.Identifier_expected);Or++;let re=t.getTokenStart(),Z=t.getTokenEnd(),se=f(),ce=sa(t.getTokenValue()),Me=M(G(ce,se),re,Z);return fe(),Me}}})(gf=e.JSDocParser||(e.JSDocParser={}))})(Zn||(Zn={})),(e=>{function t(k,L,G,K){if(K=K||N.shouldAssert(2),y(k,L,G,K),C4(G))return k;if(k.statements.length===0)return Zn.parseSourceFile(k.fileName,L,k.languageVersion,void 0,!0,k.scriptKind,k.setExternalModuleIndicator);let ue=k;N.assert(!ue.hasBeenIncrementallyParsed),ue.hasBeenIncrementallyParsed=!0,Zn.fixupParentReferences(ue);let Y=k.text,B=C(k),ae=l(k,G);y(k,L,ae,K),N.assert(ae.span.start<=G.span.start),N.assert(Kt(ae.span)===Kt(G.span)),N.assert(Kt(Qs(ae))===Kt(Qs(G)));let Ce=Qs(ae).length-ae.span.length;h(ue,ae.span.start,Kt(ae.span),Kt(Qs(ae)),Ce,Y,L,K);let Ze=Zn.parseSourceFile(k.fileName,L,k.languageVersion,B,!0,k.scriptKind,k.setExternalModuleIndicator);return Ze.commentDirectives=r(k.commentDirectives,Ze.commentDirectives,ae.span.start,Kt(ae.span),Ce,Y,L,K),Ze.impliedNodeFormat=k.impliedNodeFormat,Ze}e.updateSourceFile=t;function r(k,L,G,K,ue,Y,B,ae){if(!k)return L;let Ce,Ze=!1;for(let rt of k){let{range:it,type:Ir}=rt;if(it.end<G)Ce=xt(Ce,rt);else if(it.pos>K){qe();let ar={range:{pos:it.pos+ue,end:it.end+ue},type:Ir};Ce=xt(Ce,ar),ae&&N.assert(Y.substring(it.pos,it.end)===B.substring(ar.range.pos,ar.range.end))}}return qe(),Ce;function qe(){Ze||(Ze=!0,Ce?L&&Ce.push(...L):Ce=L)}}function a(k,L,G,K,ue,Y){L?ae(k):B(k);return;function B(Ce){let Ze="";if(Y&&_(Ce)&&(Ze=K.substring(Ce.pos,Ce.end)),Ce._children&&(Ce._children=void 0),Ya(Ce,Ce.pos+G,Ce.end+G),Y&&_(Ce)&&N.assert(Ze===ue.substring(Ce.pos,Ce.end)),Bt(Ce,B,ae),Wi(Ce))for(let qe of Ce.jsDoc)B(qe);d(Ce,Y)}function ae(Ce){Ce._children=void 0,Ya(Ce,Ce.pos+G,Ce.end+G);for(let Ze of Ce)B(Ze)}}function _(k){switch(k.kind){case 11:case 9:case 80:return!0}return!1}function p(k,L,G,K,ue){N.assert(k.end>=L,"Adjusting an element that was entirely before the change range"),N.assert(k.pos<=G,"Adjusting an element that was entirely after the change range"),N.assert(k.pos<=k.end);let Y=Math.min(k.pos,K),B=k.end>=G?k.end+ue:Math.min(k.end,K);N.assert(Y<=B),k.parent&&(N.assertGreaterThanOrEqual(Y,k.parent.pos),N.assertLessThanOrEqual(B,k.parent.end)),Ya(k,Y,B)}function d(k,L){if(L){let G=k.pos,K=ue=>{N.assert(ue.pos>=G),G=ue.end};if(Wi(k))for(let ue of k.jsDoc)K(ue);Bt(k,K),N.assert(G<=k.end)}}function h(k,L,G,K,ue,Y,B,ae){Ce(k);return;function Ce(qe){if(N.assert(qe.pos<=qe.end),qe.pos>G){a(qe,!1,ue,Y,B,ae);return}let rt=qe.end;if(rt>=L){if(qe.intersectsChange=!0,qe._children=void 0,p(qe,L,G,K,ue),Bt(qe,Ce,Ze),Wi(qe))for(let it of qe.jsDoc)Ce(it);d(qe,ae);return}N.assert(rt<L)}function Ze(qe){if(N.assert(qe.pos<=qe.end),qe.pos>G){a(qe,!0,ue,Y,B,ae);return}let rt=qe.end;if(rt>=L){qe.intersectsChange=!0,qe._children=void 0,p(qe,L,G,K,ue);for(let it of qe)Ce(it);return}N.assert(rt<L)}}function l(k,L){let K=L.span.start;for(let B=0;K>0&&B<=1;B++){let ae=v(k,K);N.assert(ae.pos<=K);let Ce=ae.pos;K=Math.max(0,Ce-1)}let ue=Hi(K,Kt(L.span)),Y=L.newLength+(L.span.start-K);return Xd(ue,Y)}function v(k,L){let G=k,K;if(Bt(k,Y),K){let B=ue(K);B.pos>G.pos&&(G=B)}return G;function ue(B){for(;;){let ae=DS(B);if(ae)B=ae;else return B}}function Y(B){if(!zi(B))if(B.pos<=L){if(B.pos>=G.pos&&(G=B),L<B.end)return Bt(B,Y),!0;N.assert(B.end<=L),K=B}else return N.assert(B.pos>L),!0}}function y(k,L,G,K){let ue=k.text;if(G&&(N.assert(ue.length-G.span.length+G.newLength===L.length),K||N.shouldAssert(3))){let Y=ue.substr(0,G.span.start),B=L.substr(0,G.span.start);N.assert(Y===B);let ae=ue.substring(Kt(G.span),ue.length),Ce=L.substring(Kt(Qs(G)),L.length);N.assert(ae===Ce)}}function C(k){let L=k.statements,G=0;N.assert(G<L.length);let K=L[G],ue=-1;return{currentNode(B){return B!==ue&&(K&&K.end===B&&G<L.length-1&&(G++,K=L[G]),(!K||K.pos!==B)&&Y(B)),ue=B,N.assert(!K||K.pos===B),K}};function Y(B){L=void 0,G=-1,K=void 0,Bt(k,ae,Ce);return;function ae(Ze){return B>=Ze.pos&&B<Ze.end?(Bt(Ze,ae,Ce),!0):!1}function Ce(Ze){if(B>=Ze.pos&&B<Ze.end)for(let qe=0;qe<Ze.length;qe++){let rt=Ze[qe];if(rt){if(rt.pos===B)return L=Ze,G=qe,K=rt,!0;if(rt.pos<B&&B<rt.end)return Bt(rt,ae,Ce),!0}}return!1}}}e.createSyntaxCursor=C;let S;(k=>{k[k.Value=-1]="Value"})(S||(S={}))})(Wf||(Wf={})),Vf=new Map,Y8=/^\/\/\/\s*<(\S+)\s.*?\/>/im,K8=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}}),Vj=()=>{},$V=Vt({"src/compiler/pnp.ts"(){"use strict";r4()}}),Hj=()=>{},Gj=()=>{},Xj=()=>{},$j=()=>{},Qj=()=>{},Yj=()=>{},Kj=()=>{},Zj=()=>{},eF=()=>{},tF=()=>{},rF=()=>{},nF=()=>{},iF=()=>{},aF=()=>{},oF=()=>{},sF=()=>{},_F=()=>{},cF=()=>{},lF=()=>{},uF=()=>{},pF=()=>{},fF=()=>{},dF=()=>{},mF=()=>{},hF=()=>{},yF=()=>{},gF=()=>{},bF=()=>{},vF=()=>{},TF=()=>{},SF=()=>{},xF=()=>{},wF=()=>{},CF=()=>{},EF=()=>{},AF=()=>{},kF=()=>{},DF=()=>{},PF=()=>{},IF=()=>{},NF=()=>{},OF=()=>{},MF=()=>{},LF=()=>{},JF=()=>{},RF=()=>{},jF=()=>{},Dr=Vt({"src/compiler/_namespaces/ts.ts"(){"use strict";O5(),fE(),Hv(),dE(),mE(),yE(),vE(),$v(),SE(),r4(),jE(),GE(),Rk(),xL(),wL(),CL(),EL(),FL(),BL(),UL(),hR(),Dj(),Pj(),Wj(),Vj(),Hj(),Gj(),Xj(),Qj(),Yj(),Kj(),Zj(),eF(),tF(),rF(),nF(),iF(),aF(),oF(),sF(),_F(),cF(),lF(),uF(),pF(),fF(),dF(),mF(),hF(),yF(),gF(),bF(),vF(),TF(),SF(),xF(),wF(),CF(),EF(),AF(),kF(),DF(),PF(),IF(),NF(),OF(),MF(),LF(),JF(),RF(),jF(),$j(),Xv()}}),Z8=()=>{},FF=()=>{},e7=()=>{},Fo,e7=()=>{Hv(),Fo=ns(99,!0)},BF=()=>{},t7=()=>{},UF=()=>{},qF=()=>{},zF=()=>{},WF=()=>{},VF=()=>{},HF=()=>{},GF=()=>{},XF=()=>{},r7=()=>{},n7=()=>{},i7=()=>{},$F=()=>{};function a7(e,t,r,a){let _=ql(e)?new Nd(e,t,r):e===80?new Od(80,t,r):e===81?new Md(81,t,r):new W6(e,t,r);return _.parent=a,_.flags=a.flags&101441536,_}function QF(e,t){if(!ql(e.kind))return $e;let r=[];if(C3(e))return e.forEachChild(d=>{r.push(d)}),r;Fo.setText((t||e.getSourceFile()).text);let a=e.pos,_=d=>{hl(r,a,d.pos,e),r.push(d),a=d.end},p=d=>{hl(r,a,d.pos,e),r.push(YF(d,e)),a=d.end};return yr(e.jsDoc,_),a=e.pos,e.forEachChild(_,p),hl(r,a,e.end,e),Fo.setText(void 0),r}function hl(e,t,r,a){for(Fo.resetTokenState(t);t<r;){let _=Fo.scan(),p=Fo.getTokenEnd();if(p<=r){if(_===80){if(cx(a))continue;N.fail(`Did not expect ${N.formatSyntaxKind(a.kind)} to have an Identifier in its trivia`)}e.push(a7(_,t,p,a))}if(t=p,_===1)break}}function YF(e,t){let r=a7(358,e.pos,e.end,t);r._children=[];let a=e.pos;for(let _ of e)hl(r._children,a,_.pos,t),r._children.push(_),a=_.end;return hl(r._children,a,e.end,t),r}function o7(e){return Ul(e).some(t=>t.tagName.text==="inheritDoc"||t.tagName.text==="inheritdoc")}function kf(e,t){if(!e)return $e;let r=ts_JsDoc_exports.getJsDocTagsFromDeclarations(e,t);if(t&&(r.length===0||e.some(o7))){let a=new Set;for(let _ of e){let p=s7(t,_,d=>{var h;if(!a.has(d))return a.add(d),_.kind===177||_.kind===178?d.getContextualJsDocTags(_,t):((h=d.declarations)==null?void 0:h.length)===1?d.getJsDocTags():void 0});p&&(r=[...p,...r])}}return r}function Kc(e,t){if(!e)return $e;let r=ts_JsDoc_exports.getJsDocCommentsFromDeclarations(e,t);if(t&&(r.length===0||e.some(o7))){let a=new Set;for(let _ of e){let p=s7(t,_,d=>{if(!a.has(d))return a.add(d),_.kind===177||_.kind===178?d.getContextualDocumentationComment(_,t):d.getDocumentationComment(t)});p&&(r=r.length===0?p.slice():p.concat(lineBreakPart(),r))}}return r}function s7(e,t,r){var a;let _=((a=t.parent)==null?void 0:a.kind)===176?t.parent.parent:t.parent;if(!_)return;let p=gm(t);return ng(IT(_),d=>{let h=e.getTypeAtLocation(d),l=p&&h.symbol?e.getTypeOfSymbol(h.symbol):h,v=e.getPropertyOfType(l,t.symbol.name);return v?r(v):void 0})}function KF(){return{getNodeConstructor:()=>Nd,getTokenConstructor:()=>W6,getIdentifierConstructor:()=>Od,getPrivateIdentifierConstructor:()=>Md,getSourceFileConstructor:()=>g7,getSymbolConstructor:()=>m7,getTypeConstructor:()=>h7,getSignatureConstructor:()=>y7,getSourceMapSourceConstructor:()=>b7}}function sl(e){let t=!0;for(let a in e)if(Qr(e,a)&&!mv(a)){t=!1;break}if(t)return e;let r={};for(let a in e)if(Qr(e,a)){let _=mv(a)?a:a.charAt(0).toLowerCase()+a.substr(1);r[_]=e[a]}return r}function mv(e){return!e.length||e.charAt(0)===e.charAt(0).toLowerCase()}function ZF(e){return e?Aa(e,t=>t.text).join(""):""}function _7(){return{target:1,jsx:1}}function c7(){return ts_codefix_exports.getSupportedErrorCodes()}function l7(e,t,r){e.version=r,e.scriptSnapshot=t}function z6(e,t,r,a,_,p){let d=H8(e,getSnapshotText(t),r,_,p);return l7(d,t,a),d}function u7(e,t,r,a,_){if(a&&r!==e.version){let d,h=a.span.start!==0?e.text.substr(0,a.span.start):"",l=Kt(a.span)!==e.text.length?e.text.substr(Kt(a.span)):"";if(a.newLength===0)d=h&&l?h+l:h||l;else{let y=t.getText(a.span.start,a.span.start+a.newLength);d=h&&l?h+y+l:h?h+y:y+l}let v=q6(e,d,a,_);return l7(v,t,r),v.nameTable=void 0,e!==v&&e.scriptSnapshot&&(e.scriptSnapshot.dispose&&e.scriptSnapshot.dispose(),e.scriptSnapshot=void 0),v}let p={languageVersion:e.languageVersion,impliedNodeFormat:e.impliedNodeFormat,setExternalModuleIndicator:e.setExternalModuleIndicator};return z6(e.fileName,t,p,r,!0,e.scriptKind)}function eB(e,t=createDocumentRegistry(e.useCaseSensitiveFileNames&&e.useCaseSensitiveFileNames(),e.getCurrentDirectory()),r){var a;let _;r===void 0?_=0:typeof r=="boolean"?_=r?2:0:_=r;let p=new v7(e),d,h,l=0,v=e.getCancellationToken?new S7(e.getCancellationToken()):T7,y=e.getCurrentDirectory();OS((a=e.getLocalizedDiagnosticMessages)==null?void 0:a.bind(e));function C(j){e.log&&e.log(j)}let S=C2(e),k=Bd(S),L=getSourceMapper({useCaseSensitiveFileNames:()=>S,getCurrentDirectory:()=>y,getProgram:ue,fileExists:rr(e,e.fileExists),readFile:rr(e,e.readFile),getDocumentPositionMapper:rr(e,e.getDocumentPositionMapper),getSourceFileLike:rr(e,e.getSourceFileLike),log:C});function G(j){let T=d.getSourceFile(j);if(!T){let x=new Error(`Could not find source file: '${j}'.`);throw x.ProgramFiles=d.getSourceFiles().map(f=>f.fileName),x}return T}function K(){var j,T,x;if(N.assert(_!==2),e.getProjectVersion){let Ie=e.getProjectVersion();if(Ie){if(h===Ie&&!((j=e.hasChangedAutomaticTypeDirectiveNames)!=null&&j.call(e)))return;h=Ie}}let f=e.getTypeRootsVersion?e.getTypeRootsVersion():0;l!==f&&(C("TypeRoots version has changed; provide new program"),d=void 0,l=f);let $=e.getScriptFileNames().slice(),Q=e.getCompilationSettings()||_7(),O=e.hasInvalidatedResolutions||Xf,fe=rr(e,e.hasInvalidatedLibResolutions)||Xf,be=rr(e,e.hasChangedAutomaticTypeDirectiveNames),he=(T=e.getProjectReferences)==null?void 0:T.call(e),Re,we={getSourceFile:H,getSourceFileByPath:Fa,getCancellationToken:()=>v,getCanonicalFileName:k,useCaseSensitiveFileNames:()=>S,getNewLine:()=>TS(Q),getDefaultLibFileName:Ie=>e.getDefaultLibFileName(Ie),writeFile:Rn,getCurrentDirectory:()=>y,fileExists:Ie=>e.fileExists(Ie),readFile:Ie=>e.readFile&&e.readFile(Ie),getSymlinkCache:rr(e,e.getSymlinkCache),realpath:rr(e,e.realpath),directoryExists:Ie=>vS(Ie,e),getDirectories:Ie=>e.getDirectories?e.getDirectories(Ie):[],readDirectory:(Ie,ot,cr,an,Ba)=>(N.checkDefined(e.readDirectory,"'LanguageServiceHost.readDirectory' must be implemented to correctly process 'projectReferences'"),e.readDirectory(Ie,ot,cr,an,Ba)),onReleaseOldSourceFile:Et,onReleaseParsedCommandLine:An,hasInvalidatedResolutions:O,hasInvalidatedLibResolutions:fe,hasChangedAutomaticTypeDirectiveNames:be,trace:rr(e,e.trace),resolveModuleNames:rr(e,e.resolveModuleNames),getModuleResolutionCache:rr(e,e.getModuleResolutionCache),createHash:rr(e,e.createHash),resolveTypeReferenceDirectives:rr(e,e.resolveTypeReferenceDirectives),resolveModuleNameLiterals:rr(e,e.resolveModuleNameLiterals),resolveTypeReferenceDirectiveReferences:rr(e,e.resolveTypeReferenceDirectiveReferences),resolveLibrary:rr(e,e.resolveLibrary),useSourceOfProjectReferenceRedirect:rr(e,e.useSourceOfProjectReferenceRedirect),getParsedCommandLine:Te},et=we.getSourceFile,{getSourceFileWithCache:Ye}=changeCompilerHostLikeToUseCache(we,Ie=>xi(Ie,y,k),(...Ie)=>et.call(we,...Ie));we.getSourceFile=Ye,(x=e.setCompilerHost)==null||x.call(e,we);let Ke={useCaseSensitiveFileNames:S,fileExists:Ie=>we.fileExists(Ie),readFile:Ie=>we.readFile(Ie),directoryExists:Ie=>we.directoryExists(Ie),getDirectories:Ie=>we.getDirectories(Ie),realpath:we.realpath,readDirectory:(...Ie)=>we.readDirectory(...Ie),trace:we.trace,getCurrentDirectory:we.getCurrentDirectory,onUnRecoverableConfigFileDiagnostic:Rn},It=t.getKeyForCompilationSettings(Q),qt=new Set;if(isProgramUptoDate(d,$,Q,(Ie,ot)=>e.getScriptVersion(ot),Ie=>we.fileExists(Ie),O,fe,be,Te,he)){we=void 0,Re=void 0,qt=void 0;return}let _r={rootNames:$,options:Q,host:we,oldProgram:d,projectReferences:he};d=createProgram(_r),we=void 0,Re=void 0,qt=void 0,L.clearCache(),d.getTypeChecker();return;function Te(Ie){let ot=xi(Ie,y,k),cr=Re==null?void 0:Re.get(ot);if(cr!==void 0)return cr||void 0;let an=e.getParsedCommandLine?e.getParsedCommandLine(Ie):ft(Ie);return(Re||(Re=new Map)).set(ot,an||!1),an}function ft(Ie){let ot=H(Ie,100);if(ot)return ot.path=xi(Ie,y,k),ot.resolvedPath=ot.path,ot.originalFileName=ot.fileName,parseJsonSourceFileConfigFileContent(ot,Ke,Pa($i(Ie),y),void 0,Pa(Ie,y))}function An(Ie,ot,cr){var an;e.getParsedCommandLine?(an=e.onReleaseParsedCommandLine)==null||an.call(e,Ie,ot,cr):ot&&Et(ot.sourceFile,cr)}function Et(Ie,ot){let cr=t.getKeyForCompilationSettings(ot);t.releaseDocumentWithKey(Ie.resolvedPath,cr,Ie.scriptKind,Ie.impliedNodeFormat)}function H(Ie,ot,cr,an){return Fa(Ie,xi(Ie,y,k),ot,cr,an)}function Fa(Ie,ot,cr,an,Ba){N.assert(we,"getOrCreateSourceFileByPath called after typical CompilerHost lifetime, check the callstack something with a reference to an old host.");let kn=e.getScriptSnapshot(Ie);if(!kn)return;let je=getScriptKind(Ie,e),dt=e.getScriptVersion(Ie);if(!Ba){let li=d&&d.getSourceFileByPath(ot);if(li){if(je===li.scriptKind||qt.has(li.resolvedPath))return t.updateDocumentWithKey(Ie,ot,e,It,kn,dt,je,cr);t.releaseDocumentWithKey(li.resolvedPath,t.getKeyForCompilationSettings(d.getCompilerOptions()),li.scriptKind,li.impliedNodeFormat),qt.add(li.resolvedPath)}}return t.acquireDocumentWithKey(Ie,ot,e,It,kn,dt,je,cr)}}function ue(){if(_===2){N.assert(d===void 0);return}return K(),d}function Y(){var j;return(j=e.getPackageJsonAutoImportProvider)==null?void 0:j.call(e)}function B(j,T){let x=d.getTypeChecker(),f=$();if(!f)return!1;for(let O of j)for(let fe of O.references){let be=Q(fe);if(N.assertIsDefined(be),T.has(fe)||ts_FindAllReferences_exports.isDeclarationOfSymbol(be,f)){T.add(fe),fe.isDefinition=!0;let he=getMappedDocumentSpan(fe,L,rr(e,e.fileExists));he&&T.add(he)}else fe.isDefinition=!1}return!0;function $(){for(let O of j)for(let fe of O.references){if(T.has(fe)){let he=Q(fe);return N.assertIsDefined(he),x.getSymbolAtLocation(he)}let be=getMappedDocumentSpan(fe,L,rr(e,e.fileExists));if(be&&T.has(be)){let he=Q(be);if(he)return x.getSymbolAtLocation(he)}}}function Q(O){let fe=d.getSourceFile(O.fileName);if(!fe)return;let be=getTouchingPropertyName(fe,O.textSpan.start);return ts_FindAllReferences_exports.Core.getAdjustedNode(be,{use:ts_FindAllReferences_exports.FindReferencesUse.References})}}function ae(){if(d){let j=t.getKeyForCompilationSettings(d.getCompilerOptions());yr(d.getSourceFiles(),T=>t.releaseDocumentWithKey(T.resolvedPath,j,T.scriptKind,T.impliedNodeFormat)),d=void 0}}function Ce(){ae(),e=void 0}function Ze(j){return K(),d.getSyntacticDiagnostics(G(j),v).slice()}function qe(j){K();let T=G(j),x=d.getSemanticDiagnostics(T,v);if(!z2(d.getCompilerOptions()))return x.slice();let f=d.getDeclarationDiagnostics(T,v);return[...x,...f]}function rt(j){return K(),computeSuggestionDiagnostics(G(j),d,v)}function it(){return K(),[...d.getOptionsDiagnostics(v),...d.getGlobalDiagnostics(v)]}function Ir(j,T,x=emptyOptions,f){let $={...x,includeCompletionsForModuleExports:x.includeCompletionsForModuleExports||x.includeExternalModuleExports,includeCompletionsWithInsertText:x.includeCompletionsWithInsertText||x.includeInsertTextCompletions};return K(),ts_Completions_exports.getCompletionsAtPosition(e,d,C,G(j),T,$,x.triggerCharacter,x.triggerKind,v,f&&ts_formatting_exports.getFormatContext(f,e),x.includeSymbol)}function ar(j,T,x,f,$,Q=emptyOptions,O){return K(),ts_Completions_exports.getCompletionEntryDetails(d,C,G(j),T,{name:x,source:$,data:O},e,f&&ts_formatting_exports.getFormatContext(f,e),Q,v)}function ci(j,T,x,f,$=emptyOptions){return K(),ts_Completions_exports.getCompletionEntrySymbol(d,C,G(j),T,{name:x,source:f},e,$)}function or(j,T){K();let x=G(j),f=getTouchingPropertyName(x,T);if(f===x)return;let $=d.getTypeChecker(),Q=Nr(f),O=aB(Q,$);if(!O||$.isUnknownSymbol(O)){let we=Ge(x,Q,T)?$.getTypeAtLocation(Q):void 0;return we&&{kind:"",kindModifiers:"",textSpan:createTextSpanFromNode(Q,x),displayParts:$.runWithCancellationToken(v,et=>typeToDisplayParts(et,we,getContainerNode(Q))),documentation:we.symbol?we.symbol.getDocumentationComment($):void 0,tags:we.symbol?we.symbol.getJsDocTags($):void 0}}let{symbolKind:fe,displayParts:be,documentation:he,tags:Re}=$.runWithCancellationToken(v,we=>ts_SymbolDisplay_exports.getSymbolDisplayPartsDocumentationAndSymbolKind(we,O,x,getContainerNode(Q),Q));return{kind:fe,kindModifiers:ts_SymbolDisplay_exports.getSymbolModifiers($,O),textSpan:createTextSpanFromNode(Q,x),displayParts:be,documentation:he,tags:Re}}function Nr(j){return o8(j.parent)&&j.pos===j.parent.pos?j.parent.expression:p6(j.parent)&&j.pos===j.parent.pos||x0(j.parent)&&j.parent.name===j||U_(j.parent)?j.parent:j}function Ge(j,T,x){switch(T.kind){case 80:return!isLabelName(T)&&!isTagName(T)&&!Z4(T.parent);case 211:case 166:return!isInComment(j,x);case 110:case 197:case 108:case 202:return!0;case 236:return x0(T);default:return!1}}function Gt(j,T,x,f){return K(),ts_GoToDefinition_exports.getDefinitionAtPosition(d,G(j),T,x,f)}function Ur(j,T){return K(),ts_GoToDefinition_exports.getDefinitionAndBoundSpan(d,G(j),T)}function Xt(j,T){return K(),ts_GoToDefinition_exports.getTypeDefinitionAtPosition(d.getTypeChecker(),G(j),T)}function Tn(j,T){return K(),ts_FindAllReferences_exports.getImplementationsAtPosition(d,v,d.getSourceFiles(),G(j),T)}function Sn(j,T,x){let f=pn(j);N.assert(x.some(O=>pn(O)===f)),K();let $=Za(x,O=>d.getSourceFile(O)),Q=G(j);return DocumentHighlights.getDocumentHighlights(d,v,Q,T,$)}function sr(j,T,x,f,$){K();let Q=G(j),O=getAdjustedRenameLocation(getTouchingPropertyName(Q,T));if(ts_Rename_exports.nodeIsEligibleForRename(O))if(Ee(O)&&(Oo(O.parent)||qf(O.parent))&&WT(O.escapedText)){let{openingElement:fe,closingElement:be}=O.parent.parent;return[fe,be].map(he=>{let Re=createTextSpanFromNode(he.tagName,Q);return{fileName:Q.fileName,textSpan:Re,...ts_FindAllReferences_exports.toContextSpan(Re,Q,he.parent)}})}else{let fe=getQuotePreference(Q,$??emptyOptions),be=typeof $=="boolean"?$:$==null?void 0:$.providePrefixAndSuffixTextForRename;return St(O,T,{findInStrings:x,findInComments:f,providePrefixAndSuffixTextForRename:be,use:ts_FindAllReferences_exports.FindReferencesUse.Rename},(he,Re,we)=>ts_FindAllReferences_exports.toRenameLocation(he,Re,we,be||!1,fe))}}function $t(j,T){return K(),St(getTouchingPropertyName(G(j),T),T,{use:ts_FindAllReferences_exports.FindReferencesUse.References},ts_FindAllReferences_exports.toReferenceEntry)}function St(j,T,x,f){K();let $=x&&x.use===ts_FindAllReferences_exports.FindReferencesUse.Rename?d.getSourceFiles().filter(Q=>!d.isSourceFileDefaultLibrary(Q)):d.getSourceFiles();return ts_FindAllReferences_exports.findReferenceOrRenameEntries(d,v,$,j,T,x,f)}function xn(j,T){return K(),ts_FindAllReferences_exports.findReferencedSymbols(d,v,d.getSourceFiles(),G(j),T)}function Tr(j){return K(),ts_FindAllReferences_exports.Core.getReferencesForFileName(j,d,d.getSourceFiles()).map(ts_FindAllReferences_exports.toReferenceEntry)}function vt(j,T,x,f=!1){K();let $=x?[G(x)]:d.getSourceFiles();return getNavigateToItems($,d.getTypeChecker(),v,j,T,f)}function ct(j,T,x){K();let f=G(j),$=e.getCustomTransformers&&e.getCustomTransformers();return getFileEmitOutput(d,f,!!T,v,$,x)}function Ut(j,T,{triggerReason:x}=emptyOptions){K();let f=G(j);return ts_SignatureHelp_exports.getSignatureHelpItems(d,f,T,x,v)}function fr(j){return p.getCurrentSourceFile(j)}function ht(j,T,x){let f=p.getCurrentSourceFile(j),$=getTouchingPropertyName(f,T);if($===f)return;switch($.kind){case 211:case 166:case 11:case 97:case 112:case 106:case 108:case 110:case 197:case 80:break;default:return}let Q=$;for(;;)if(isRightSideOfPropertyAccess(Q)||isRightSideOfQualifiedName(Q))Q=Q.parent;else if(isNameOfModuleDeclaration(Q))if(Q.parent.parent.kind===267&&Q.parent.parent.body===Q.parent)Q=Q.parent.parent.name;else break;else break;return Hi(Q.getStart(),$.getEnd())}function wn(j,T){let x=p.getCurrentSourceFile(j);return ts_BreakpointResolver_exports.spanInSourceFileAtLocation(x,T)}function Tt(j){return getNavigationBarItems(p.getCurrentSourceFile(j),v)}function Or(j){return getNavigationTree(p.getCurrentSourceFile(j),v)}function pt(j,T,x){return K(),(x||"original")==="2020"?getSemanticClassifications2(d,v,G(j),T):getSemanticClassifications(d.getTypeChecker(),v,G(j),d.getClassifiableNames(),T)}function Mr(j,T,x){return K(),(x||"original")==="original"?getEncodedSemanticClassifications(d.getTypeChecker(),v,G(j),d.getClassifiableNames(),T):getEncodedSemanticClassifications2(d,v,G(j),T)}function at(j,T){return getSyntacticClassifications(v,p.getCurrentSourceFile(j),T)}function er(j,T){return getEncodedSyntacticClassifications(v,p.getCurrentSourceFile(j),T)}function Qt(j){let T=p.getCurrentSourceFile(j);return ts_OutliningElementsCollector_exports.collectElements(T,v)}let tn=new Map(Object.entries({19:20,21:22,23:24,32:30}));tn.forEach((j,T)=>tn.set(j.toString(),Number(T)));function Bn(j,T){let x=p.getCurrentSourceFile(j),f=getTouchingToken(x,T),$=f.getStart(x)===T?tn.get(f.kind.toString()):void 0,Q=$&&findChildOfKind(f.parent,$,x);return Q?[createTextSpanFromNode(f,x),createTextSpanFromNode(Q,x)].sort((O,fe)=>O.start-fe.start):$e}function Un(j,T,x){let f=Sa(),$=sl(x),Q=p.getCurrentSourceFile(j);C("getIndentationAtPosition: getCurrentSourceFile: "+(Sa()-f)),f=Sa();let O=ts_formatting_exports.SmartIndenter.getIndentation(T,Q,$);return C("getIndentationAtPosition: computeIndentation  : "+(Sa()-f)),O}function rn(j,T,x,f){let $=p.getCurrentSourceFile(j);return ts_formatting_exports.formatSelection(T,x,$,ts_formatting_exports.getFormatContext(sl(f),e))}function nn(j,T){return ts_formatting_exports.formatDocument(p.getCurrentSourceFile(j),ts_formatting_exports.getFormatContext(sl(T),e))}function Di(j,T,x,f){let $=p.getCurrentSourceFile(j),Q=ts_formatting_exports.getFormatContext(sl(f),e);if(!isInComment($,T))switch(x){case"{":return ts_formatting_exports.formatOnOpeningCurly(T,$,Q);case"}":return ts_formatting_exports.formatOnClosingCurly(T,$,Q);case";":return ts_formatting_exports.formatOnSemicolon(T,$,Q);case`
`:return ts_formatting_exports.formatOnEnter(T,$,Q)}return[]}function qn(j,T,x,f,$,Q=emptyOptions){K();let O=G(j),fe=Hi(T,x),be=ts_formatting_exports.getFormatContext($,e);return Bo(xv(f,_o,kr),he=>(v.throwIfCancellationRequested(),ts_codefix_exports.getFixes({errorCode:he,sourceFile:O,span:fe,program:d,host:e,cancellationToken:v,formatContext:be,preferences:Q})))}function Ae(j,T,x,f=emptyOptions){K(),N.assert(j.type==="file");let $=G(j.fileName),Q=ts_formatting_exports.getFormatContext(x,e);return ts_codefix_exports.getAllFixes({fixId:T,sourceFile:$,program:d,host:e,cancellationToken:v,formatContext:Q,preferences:f})}function q(j,T,x=emptyOptions){K(),N.assert(j.type==="file");let f=G(j.fileName),$=ts_formatting_exports.getFormatContext(T,e),Q=j.mode??(j.skipDestructiveCodeActions?"SortAndCombine":"All");return ts_OrganizeImports_exports.organizeImports(f,$,e,d,x,Q)}function oe(j,T,x,f=emptyOptions){return getEditsForFileRename(ue(),j,T,e,ts_formatting_exports.getFormatContext(x,e),f,L)}function ge(j,T){let x=typeof j=="string"?T:j;return zt(x)?Promise.all(x.map(f=>Se(f))):Se(x)}function Se(j){let T=x=>xi(x,y,k);return N.assertEqual(j.type,"install package"),e.installPackage?e.installPackage({fileName:T(j.file),packageName:j.packageName}):Promise.reject("Host does not implement `installPackage`")}function nt(j,T,x,f){let $=f?ts_formatting_exports.getFormatContext(f,e).options:void 0;return ts_JsDoc_exports.getDocCommentTemplateAtPosition(getNewLineOrDefaultFromHost(e,$),p.getCurrentSourceFile(j),T,x)}function z(j,T,x){if(x===60)return!1;let f=p.getCurrentSourceFile(j);if(isInString(f,T))return!1;if(isInsideJsxElementOrAttribute(f,T))return x===123;if(isInTemplateString(f,T))return!1;switch(x){case 39:case 34:case 96:return!isInComment(f,T)}return!0}function X(j,T){let x=p.getCurrentSourceFile(j),f=findPrecedingToken(T,x);if(!f)return;let $=f.kind===32&&Oo(f.parent)?f.parent.parent:kd(f)&&Q0(f.parent)?f.parent:void 0;if($&&jt($))return{newText:`</${$.openingElement.tagName.getText(x)}>`};let Q=f.kind===32&&k6(f.parent)?f.parent.parent:kd(f)&&dl(f.parent)?f.parent:void 0;if(Q&&qr(Q))return{newText:"</>"}}function ee(j,T){let x=p.getCurrentSourceFile(j),f=findPrecedingToken(T,x);if(!f||f.parent.kind===312)return;let $="[a-zA-Z0-9:\\-\\._$]*";if(dl(f.parent.parent)){let Q=f.parent.parent.openingFragment,O=f.parent.parent.closingFragment;if(xl(Q)||xl(O))return;let fe=Q.getStart(x)+1,be=O.getStart(x)+2;return T!==fe&&T!==be?void 0:{ranges:[{start:fe,length:0},{start:be,length:0}],wordPattern:$}}else{let Q=Kr(f.parent,Ye=>!!(Oo(Ye)||qf(Ye)));if(!Q)return;N.assert(Oo(Q)||qf(Q),"tag should be opening or closing element");let O=Q.parent.openingElement,fe=Q.parent.closingElement,be=O.tagName.getStart(x),he=O.tagName.end,Re=fe.tagName.getStart(x),we=fe.tagName.end;return!(be<=T&&T<=he||Re<=T&&T<=we)||O.tagName.getText(x)!==fe.tagName.getText(x)?void 0:{ranges:[{start:be,length:he-be},{start:Re,length:we-Re}],wordPattern:$}}}function xe(j,T){return{lineStarts:j.getLineStarts(),firstLine:j.getLineAndCharacterOfPosition(T.pos).line,lastLine:j.getLineAndCharacterOfPosition(T.end).line}}function ke(j,T,x){let f=p.getCurrentSourceFile(j),$=[],{lineStarts:Q,firstLine:O,lastLine:fe}=xe(f,T),be=x||!1,he=Number.MAX_VALUE,Re=new Map,we=new RegExp(/\S/),et=isInsideJsxElement(f,Q[O]),Ye=et?"{/*":"//";for(let Ke=O;Ke<=fe;Ke++){let It=f.text.substring(Q[Ke],f.getLineEndOfPosition(Q[Ke])),qt=we.exec(It);qt&&(he=Math.min(he,qt.index),Re.set(Ke.toString(),qt.index),It.substr(qt.index,Ye.length)!==Ye&&(be=x===void 0||x))}for(let Ke=O;Ke<=fe;Ke++){if(O!==fe&&Q[Ke]===T.end)continue;let It=Re.get(Ke.toString());It!==void 0&&(et?$.push.apply($,Le(j,{pos:Q[Ke]+he,end:f.getLineEndOfPosition(Q[Ke])},be,et)):be?$.push({newText:Ye,span:{length:0,start:Q[Ke]+he}}):f.text.substr(Q[Ke]+It,Ye.length)===Ye&&$.push({newText:"",span:{length:Ye.length,start:Q[Ke]+It}}))}return $}function Le(j,T,x,f){var $;let Q=p.getCurrentSourceFile(j),O=[],{text:fe}=Q,be=!1,he=x||!1,Re=[],{pos:we}=T,et=f!==void 0?f:isInsideJsxElement(Q,we),Ye=et?"{/*":"/*",Ke=et?"*/}":"*/",It=et?"\\{\\/\\*":"\\/\\*",qt=et?"\\*\\/\\}":"\\*\\/";for(;we<=T.end;){let _r=fe.substr(we,Ye.length)===Ye?Ye.length:0,Te=isInComment(Q,we+_r);if(Te)et&&(Te.pos--,Te.end++),Re.push(Te.pos),Te.kind===3&&Re.push(Te.end),be=!0,we=Te.end+1;else{let ft=fe.substring(we,T.end).search(`(${It})|(${qt})`);he=x!==void 0?x:he||!isTextWhiteSpaceLike(fe,we,ft===-1?T.end:we+ft),we=ft===-1?T.end+1:we+ft+Ke.length}}if(he||!be){(($=isInComment(Q,T.pos))==null?void 0:$.kind)!==2&&yl(Re,T.pos,kr),yl(Re,T.end,kr);let _r=Re[0];fe.substr(_r,Ye.length)!==Ye&&O.push({newText:Ye,span:{length:0,start:_r}});for(let Te=1;Te<Re.length-1;Te++)fe.substr(Re[Te]-Ke.length,Ke.length)!==Ke&&O.push({newText:Ke,span:{length:0,start:Re[Te]}}),fe.substr(Re[Te],Ye.length)!==Ye&&O.push({newText:Ye,span:{length:0,start:Re[Te]}});O.length%2!==0&&O.push({newText:Ke,span:{length:0,start:Re[Re.length-1]}})}else for(let _r of Re){let Te=_r-Ke.length>0?_r-Ke.length:0,ft=fe.substr(Te,Ke.length)===Ke?Ke.length:0;O.push({newText:"",span:{length:Ye.length,start:_r-ft}})}return O}function lt(j,T){let x=p.getCurrentSourceFile(j),{firstLine:f,lastLine:$}=xe(x,T);return f===$&&T.pos!==T.end?Le(j,T,!0):ke(j,T,!0)}function yt(j,T){let x=p.getCurrentSourceFile(j),f=[],{pos:$}=T,{end:Q}=T;$===Q&&(Q+=isInsideJsxElement(x,$)?2:1);for(let O=$;O<=Q;O++){let fe=isInComment(x,O);if(fe){switch(fe.kind){case 2:f.push.apply(f,ke(j,{end:fe.end,pos:fe.pos+1},!1));break;case 3:f.push.apply(f,Le(j,{end:fe.end,pos:fe.pos+1},!1))}O=fe.end+1}}return f}function jt({openingElement:j,closingElement:T,parent:x}){return!Ti(j.tagName,T.tagName)||Q0(x)&&Ti(j.tagName,x.openingElement.tagName)&&jt(x)}function qr({closingFragment:j,parent:T}){return!!(j.flags&262144)||dl(T)&&qr(T)}function na(j,T,x){let f=p.getCurrentSourceFile(j),$=ts_formatting_exports.getRangeOfEnclosingComment(f,T);return $&&(!x||$.kind===3)?createTextSpanFromRange($):void 0}function Cn(j,T){K();let x=G(j);v.throwIfCancellationRequested();let f=x.text,$=[];if(T.length>0&&!be(x.fileName)){let he=O(),Re;for(;Re=he.exec(f);){v.throwIfCancellationRequested();let we=3;N.assert(Re.length===T.length+we);let et=Re[1],Ye=Re.index+et.length;if(!isInComment(x,Ye))continue;let Ke;for(let qt=0;qt<T.length;qt++)Re[qt+we]&&(Ke=T[qt]);if(Ke===void 0)return N.fail();if(fe(f.charCodeAt(Ye+Ke.text.length)))continue;let It=Re[2];$.push({descriptor:Ke,message:It,position:Ye})}}return $;function Q(he){return he.replace(/[-[\]/{}()*+?.\\^$|]/g,"\\$&")}function O(){let he=/(?:\/\/+\s*)/.source,Re=/(?:\/\*+\s*)/.source,et="("+/(?:^(?:\s|\*)*)/.source+"|"+he+"|"+Re+")",Ye="(?:"+Aa(T,Te=>"("+Q(Te.text)+")").join("|")+")",Ke=/(?:$|\*\/)/.source,It=/(?:.*?)/.source,qt="("+Ye+It+")",_r=et+qt+Ke;return new RegExp(_r,"gim")}function fe(he){return he>=97&&he<=122||he>=65&&he<=90||he>=48&&he<=57}function be(he){return eo(he,"/node_modules/")}}function zn(j,T,x){return K(),ts_Rename_exports.getRenameInfo(d,G(j),T,x||{})}function Pi(j,T,x,f,$,Q){let[O,fe]=typeof T=="number"?[T,void 0]:[T.pos,T.end];return{file:j,startPosition:O,endPosition:fe,program:ue(),host:e,formatContext:ts_formatting_exports.getFormatContext(f,e),cancellationToken:v,preferences:x,triggerReason:$,kind:Q}}function ia(j,T,x){return{file:j,program:ue(),host:e,span:T,preferences:x,cancellationToken:v}}function Wn(j,T){return ts_SmartSelectionRange_exports.getSmartSelectionRange(T,p.getCurrentSourceFile(j))}function En(j,T,x=emptyOptions,f,$,Q){K();let O=G(j);return ts_refactor_exports.getApplicableRefactors(Pi(O,T,x,emptyOptions,f,$),Q)}function Ii(j,T,x=emptyOptions){K();let f=G(j),$=N.checkDefined(d.getSourceFiles()),Q=rl(j),O=Za($,be=>!(d!=null&&d.isSourceFileFromExternalLibrary(f))&&!(f===G(be.fileName)||Q===".ts"&&rl(be.fileName)===".d.ts"||Q===".d.ts"&&Fr(T_(be.fileName),"lib.")&&rl(be.fileName)===".d.ts")&&Q===rl(be.fileName)?be.fileName:void 0);return{newFileName:createNewFileName(f,d,Pi(f,T,x,emptyOptions),e),files:O}}function aa(j,T,x,f,$,Q=emptyOptions,O){K();let fe=G(j);return ts_refactor_exports.getEditsForRefactor(Pi(fe,x,Q,T),f,$,O)}function Vn(j,T){return T===0?{line:0,character:0}:L.toLineColumnOffset(j,T)}function Sr(j,T){K();let x=ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,getTouchingPropertyName(G(j),T));return x&&mapOneOrMany(x,f=>ts_CallHierarchy_exports.createCallHierarchyItem(d,f))}function Je(j,T){K();let x=G(j),f=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,T===0?x:getTouchingPropertyName(x,T)));return f?ts_CallHierarchy_exports.getIncomingCalls(d,f,v):[]}function oa(j,T){K();let x=G(j),f=firstOrOnly(ts_CallHierarchy_exports.resolveCallHierarchyDeclaration(d,T===0?x:getTouchingPropertyName(x,T)));return f?ts_CallHierarchy_exports.getOutgoingCalls(d,f):[]}function Mt(j,T,x=emptyOptions){K();let f=G(j);return ts_InlayHints_exports.provideInlayHints(ia(f,T,x))}let Lr={dispose:Ce,cleanupSemanticCache:ae,getSyntacticDiagnostics:Ze,getSemanticDiagnostics:qe,getSuggestionDiagnostics:rt,getCompilerOptionsDiagnostics:it,getSyntacticClassifications:at,getSemanticClassifications:pt,getEncodedSyntacticClassifications:er,getEncodedSemanticClassifications:Mr,getCompletionsAtPosition:Ir,getCompletionEntryDetails:ar,getCompletionEntrySymbol:ci,getSignatureHelpItems:Ut,getQuickInfoAtPosition:or,getDefinitionAtPosition:Gt,getDefinitionAndBoundSpan:Ur,getImplementationAtPosition:Tn,getTypeDefinitionAtPosition:Xt,getReferencesAtPosition:$t,findReferences:xn,getFileReferences:Tr,getDocumentHighlights:Sn,getNameOrDottedNameSpan:ht,getBreakpointStatementAtPosition:wn,getNavigateToItems:vt,getRenameInfo:zn,getSmartSelectionRange:Wn,findRenameLocations:sr,getNavigationBarItems:Tt,getNavigationTree:Or,getOutliningSpans:Qt,getTodoComments:Cn,getBraceMatchingAtPosition:Bn,getIndentationAtPosition:Un,getFormattingEditsForRange:rn,getFormattingEditsForDocument:nn,getFormattingEditsAfterKeystroke:Di,getDocCommentTemplateAtPosition:nt,isValidBraceCompletionAtPosition:z,getJsxClosingTagAtPosition:X,getLinkedEditingRangeAtPosition:ee,getSpanOfEnclosingComment:na,getCodeFixesAtPosition:qn,getCombinedCodeFix:Ae,applyCodeActionCommand:ge,organizeImports:q,getEditsForFileRename:oe,getEmitOutput:ct,getNonBoundSourceFile:fr,getProgram:ue,getCurrentProgram:()=>d,getAutoImportProvider:Y,updateIsDefinitionOfReferencedSymbols:B,getApplicableRefactors:En,getEditsForRefactor:aa,getMoveToRefactoringFileSuggestions:Ii,toLineColumnOffset:Vn,getSourceMapper:()=>L,clearSourceMapperCache:()=>L.clearCache(),prepareCallHierarchy:Sr,provideCallHierarchyIncomingCalls:Je,provideCallHierarchyOutgoingCalls:oa,toggleLineComment:ke,toggleMultilineComment:Le,commentSelection:lt,uncommentSelection:yt,provideInlayHints:Mt,getSupportedCodeFixes:c7};switch(_){case 0:break;case 1:rg.forEach(j=>Lr[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.PartialSemantic`)});break;case 2:w7.forEach(j=>Lr[j]=()=>{throw new Error(`LanguageService Operation: ${j} not allowed in LanguageServiceMode.Syntactic`)});break;default:N.assertNever(_)}return Lr}function tB(e){return e.nameTable||rB(e),e.nameTable}function rB(e){let t=e.nameTable=new Map;e.forEachChild(function r(a){if(Ee(a)&&!isTagName(a)&&a.escapedText||Qi(a)&&nB(a)){let _=JT(a);t.set(_,t.get(_)===void 0?a.pos:-1)}else if(jr(a)){let _=a.escapedText;t.set(_,t.get(_)===void 0?a.pos:-1)}if(Bt(a,r),Wi(a))for(let _ of a.jsDoc)Bt(_,r)})}function nB(e){return wT(e)||e.parent.kind===283||oB(e)||CT(e)}function p7(e){let t=iB(e);return t&&(uo(t.parent)||D6(t.parent))?t:void 0}function iB(e){switch(e.kind){case 11:case 15:case 9:if(e.parent.kind===167)return b0(e.parent.parent)?e.parent.parent:void 0;case 80:return b0(e.parent)&&(e.parent.parent.kind===210||e.parent.parent.kind===292)&&e.parent.name===e?e.parent:void 0}}function aB(e,t){let r=p7(e);if(r){let a=t.getContextualType(r.parent),_=a&&f7(r,t,a,!1);if(_&&_.length===1)return og(_)}return t.getSymbolAtLocation(e)}function f7(e,t,r,a){let _=getNameFromPropertyName(e.name);if(!_)return $e;if(!r.isUnion()){let d=r.getProperty(_);return d?[d]:$e}let p=Za(r.types,d=>(uo(e.parent)||D6(e.parent))&&t.isTypeInvalidDueToUnionDiscriminant(d,e.parent)?void 0:d.getProperty(_));if(a&&(p.length===0||p.length===r.types.length)){let d=r.getProperty(_);if(d)return[d]}return p.length===0?Za(r.types,d=>d.getProperty(_)):p}function oB(e){return e&&e.parent&&e.parent.kind===212&&e.parent.argumentExpression===e}function sB(e){if(f0)return hr($i(pn(f0.getExecutingFilePath())),T4(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var d7,Nd,Df,m7,W6,Od,Md,h7,y7,g7,b7,v7,T7,S7,x7,rg,w7,_B=Vt({"src/services/services.ts"(){"use strict";C7(),r7(),n7(),i7(),t7(),$F(),d7="0.8",Nd=class{constructor(e,t,r){this.pos=t,this.end=r,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}assertHasRealPosition(e){N.assert(!Oa(this.pos)&&!Oa(this.end),e||"Node must have a real position for this operation")}getSourceFile(){return ri(this)}getStart(e,t){return this.assertHasRealPosition(),Go(this,e,t)}getFullStart(){return this.assertHasRealPosition(),this.pos}getEnd(){return this.assertHasRealPosition(),this.end}getWidth(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)}getFullWidth(){return this.assertHasRealPosition(),this.end-this.pos}getLeadingTriviaWidth(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos}getFullText(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return this.assertHasRealPosition(),e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(e){return this.getChildren(e).length}getChildAt(e,t){return this.getChildren(t)[e]}getChildren(e){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=QF(this,e))}getFirstToken(e){this.assertHasRealPosition();let t=this.getChildren(e);if(!t.length)return;let r=Yr(t,a=>a.kind<316||a.kind>357);return r.kind<166?r:r.getFirstToken(e)}getLastToken(e){this.assertHasRealPosition();let t=this.getChildren(e),r=wi(t);if(r)return r.kind<166?r:r.getLastToken(e)}forEachChild(e,t){return Bt(this,e,t)}},Df=class{constructor(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}getSourceFile(){return ri(this)}getStart(e,t){return Go(this,e,t)}getFullStart(){return this.pos}getEnd(){return this.end}getWidth(e){return this.getEnd()-this.getStart(e)}getFullWidth(){return this.end-this.pos}getLeadingTriviaWidth(e){return this.getStart(e)-this.pos}getFullText(e){return(e||this.getSourceFile()).text.substring(this.pos,this.end)}getText(e){return e||(e=this.getSourceFile()),e.text.substring(this.getStart(e),this.getEnd())}getChildCount(){return this.getChildren().length}getChildAt(e){return this.getChildren()[e]}getChildren(){return this.kind===1&&this.jsDoc||$e}getFirstToken(){}getLastToken(){}forEachChild(){}},m7=class{constructor(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}getFlags(){return this.flags}get name(){return md(this)}getEscapedName(){return this.escapedName}getName(){return this.name}getDeclarations(){return this.declarations}getDocumentationComment(e){if(!this.documentationComment)if(this.documentationComment=$e,!this.declarations&&T0(this)&&this.links.target&&T0(this.links.target)&&this.links.target.links.tupleLabelDeclaration){let t=this.links.target.links.tupleLabelDeclaration;this.documentationComment=Kc([t],e)}else this.documentationComment=Kc(this.declarations,e);return this.documentationComment}getContextualDocumentationComment(e,t){if(e){if(el(e)&&(this.contextualGetAccessorDocumentationComment||(this.contextualGetAccessorDocumentationComment=Kc($r(this.declarations,el),t)),Ka(this.contextualGetAccessorDocumentationComment)))return this.contextualGetAccessorDocumentationComment;if(Zc(e)&&(this.contextualSetAccessorDocumentationComment||(this.contextualSetAccessorDocumentationComment=Kc($r(this.declarations,Zc),t)),Ka(this.contextualSetAccessorDocumentationComment)))return this.contextualSetAccessorDocumentationComment}return this.getDocumentationComment(t)}getJsDocTags(e){return this.tags===void 0&&(this.tags=kf(this.declarations,e)),this.tags}getContextualJsDocTags(e,t){if(e){if(el(e)&&(this.contextualGetAccessorTags||(this.contextualGetAccessorTags=kf($r(this.declarations,el),t)),Ka(this.contextualGetAccessorTags)))return this.contextualGetAccessorTags;if(Zc(e)&&(this.contextualSetAccessorTags||(this.contextualSetAccessorTags=kf($r(this.declarations,Zc),t)),Ka(this.contextualSetAccessorTags)))return this.contextualSetAccessorTags}return this.getJsDocTags(t)}},W6=class extends Df{constructor(e,t,r){super(t,r),this.kind=e}},Od=class extends Df{constructor(e,t,r){super(t,r),this.kind=80}get text(){return Ot(this)}},Od.prototype.kind=80,Md=class extends Df{constructor(e,t,r){super(t,r),this.kind=81}get text(){return Ot(this)}},Md.prototype.kind=81,h7=class{constructor(e,t){this.checker=e,this.flags=t}getFlags(){return this.flags}getSymbol(){return this.symbol}getProperties(){return this.checker.getPropertiesOfType(this)}getProperty(e){return this.checker.getPropertyOfType(this,e)}getApparentProperties(){return this.checker.getAugmentedPropertiesOfType(this)}getCallSignatures(){return this.checker.getSignaturesOfType(this,0)}getConstructSignatures(){return this.checker.getSignaturesOfType(this,1)}getStringIndexType(){return this.checker.getIndexTypeOfType(this,0)}getNumberIndexType(){return this.checker.getIndexTypeOfType(this,1)}getBaseTypes(){return this.isClassOrInterface()?this.checker.getBaseTypes(this):void 0}isNullableType(){return this.checker.isNullableType(this)}getNonNullableType(){return this.checker.getNonNullableType(this)}getNonOptionalType(){return this.checker.getNonOptionalType(this)}getConstraint(){return this.checker.getBaseConstraintOfType(this)}getDefault(){return this.checker.getDefaultFromTypeParameter(this)}isUnion(){return!!(this.flags&1048576)}isIntersection(){return!!(this.flags&2097152)}isUnionOrIntersection(){return!!(this.flags&3145728)}isLiteral(){return!!(this.flags&2432)}isStringLiteral(){return!!(this.flags&128)}isNumberLiteral(){return!!(this.flags&256)}isTypeParameter(){return!!(this.flags&262144)}isClassOrInterface(){return!!(Rf(this)&3)}isClass(){return!!(Rf(this)&1)}isIndexType(){return!!(this.flags&4194304)}get typeArguments(){if(Rf(this)&4)return this.checker.getTypeArguments(this)}},y7=class{constructor(e,t){this.checker=e,this.flags=t}getDeclaration(){return this.declaration}getTypeParameters(){return this.typeParameters}getParameters(){return this.parameters}getReturnType(){return this.checker.getReturnTypeOfSignature(this)}getTypeParameterAtPosition(e){let t=this.checker.getParameterType(this,e);if(t.isIndexType()&&ox(t.type)){let r=t.type.getConstraint();if(r)return this.checker.getIndexType(r)}return t}getDocumentationComment(){return this.documentationComment||(this.documentationComment=Kc($f(this.declaration),this.checker))}getJsDocTags(){return this.jsDocTags||(this.jsDocTags=kf($f(this.declaration),this.checker))}},g7=class extends Nd{constructor(e,t,r){super(e,t,r),this.kind=312}update(e,t){return q6(this,e,t)}getLineAndCharacterOfPosition(e){return to(this,e)}getLineStarts(){return Ia(this)}getPositionOfLineAndCharacter(e,t,r){return Tg(Ia(this),e,t,this.text,r)}getLineEndOfPosition(e){let{line:t}=this.getLineAndCharacterOfPosition(e),r=this.getLineStarts(),a;t+1>=r.length&&(a=this.getEnd()),a||(a=r[t+1]-1);let _=this.getFullText();return _[a]===`
`&&_[a-1]==="\r"?a-1:a}getNamedDeclarations(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations}computeNamedDeclarations(){let e=jd();return this.forEachChild(_),e;function t(p){let d=a(p);d&&e.add(d,p)}function r(p){let d=e.get(p);return d||e.set(p,d=[]),d}function a(p){let d=Yd(p);return d&&(ao(d)&&Br(d.expression)?d.expression.name.text:zl(d)?getNameFromPropertyName(d):void 0)}function _(p){switch(p.kind){case 262:case 218:case 174:case 173:let d=p,h=a(d);if(h){let y=r(h),C=wi(y);C&&d.parent===C.parent&&d.symbol===C.symbol?d.body&&!C.body&&(y[y.length-1]=d):y.push(d)}Bt(p,_);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:t(p),Bt(p,_);break;case 169:if(!gr(p,16476))break;case 260:case 208:{let y=p;if(im(y.name)){Bt(y.name,_);break}y.initializer&&_(y.initializer)}case 306:case 172:case 171:t(p);break;case 278:let l=p;l.exportClause&&(d8(l.exportClause)?yr(l.exportClause.elements,_):_(l.exportClause.name));break;case 272:let v=p.importClause;v&&(v.name&&t(v.name),v.namedBindings&&(v.namedBindings.kind===274?t(v.namedBindings):yr(v.namedBindings.elements,_)));break;case 226:Ja(p)!==0&&t(p);default:Bt(p,_)}}}},b7=class{constructor(e,t,r){this.fileName=e,this.text=t,this.skipTrivia=r}getLineAndCharacterOfPosition(e){return to(this,e)}},v7=class{constructor(e){this.host=e}getCurrentSourceFile(e){var t,r,a,_,p,d,h,l;let v=this.host.getScriptSnapshot(e);if(!v)throw new Error("Could not find file: '"+e+"'.");let y=getScriptKind(e,this.host),C=this.host.getScriptVersion(e),S;if(this.currentFileName!==e){let k={languageVersion:99,impliedNodeFormat:getImpliedNodeFormatForFile(xi(e,this.host.getCurrentDirectory(),((a=(r=(t=this.host).getCompilerHost)==null?void 0:r.call(t))==null?void 0:a.getCanonicalFileName)||VT(this.host)),(l=(h=(d=(p=(_=this.host).getCompilerHost)==null?void 0:p.call(_))==null?void 0:d.getModuleResolutionCache)==null?void 0:h.call(d))==null?void 0:l.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:RS(this.host.getCompilationSettings())};S=z6(e,v,k,C,!0,y)}else if(this.currentFileVersion!==C){let k=v.getChangeRange(this.currentFileScriptSnapshot);S=u7(this.currentSourceFile,v,C,k)}return S&&(this.currentFileVersion=C,this.currentFileName=e,this.currentFileScriptSnapshot=v,this.currentSourceFile=S),this.currentSourceFile}},T7={isCancellationRequested:Xf,throwIfCancellationRequested:Rn},S7=class{constructor(e){this.cancellationToken=e}isCancellationRequested(){return this.cancellationToken.isCancellationRequested()}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=xa)==null||e.instant(xa.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new id}},x7=class{constructor(e,t=20){this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}isCancellationRequested(){let e=Sa();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds?(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested()):!1}throwIfCancellationRequested(){var e;if(this.isCancellationRequested())throw(e=xa)==null||e.instant(xa.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new id}},rg=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"],w7=[...rg,"getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],IS(KF())}}),cB=()=>{},lB=()=>{},uB=()=>{},pB=()=>{},fB=()=>{},dB=()=>{},mB=()=>{},hB=()=>{},yB=()=>{},gB=()=>{},bB=()=>{},vB=()=>{},TB=()=>{},SB=()=>{},xB=()=>{},wB=()=>{},CB=()=>{},EB=()=>{},AB=()=>{},C7=Vt({"src/services/_namespaces/ts.ts"(){"use strict";Dr(),Z8(),FF(),e7(),BF(),t7(),UF(),qF(),zF(),WF(),VF(),HF(),GF(),XF(),_B(),cB(),lB(),uB(),pB(),fB(),dB(),mB(),hB(),yB(),gB(),bB(),r7(),n7(),vB(),TB(),i7(),SB(),xB(),wB(),CB(),EB(),AB()}}),kB=()=>{},E7={};N5(E7,{ANONYMOUS:()=>ANONYMOUS,AccessFlags:()=>Ly,AssertionLevel:()=>ay,AssignmentDeclarationKind:()=>Wy,AssignmentKind:()=>B0,Associativity:()=>q0,BreakpointResolver:()=>ts_BreakpointResolver_exports,BuilderFileEmit:()=>BuilderFileEmit,BuilderProgramKind:()=>BuilderProgramKind,BuilderState:()=>BuilderState,BundleFileSectionKind:()=>l0,CallHierarchy:()=>ts_CallHierarchy_exports,CharacterCodes:()=>n0,CheckFlags:()=>Py,CheckMode:()=>CheckMode,ClassificationType:()=>ClassificationType,ClassificationTypeNames:()=>ClassificationTypeNames,CommentDirectiveType:()=>fy,Comparison:()=>Zh,CompletionInfoFlags:()=>CompletionInfoFlags,CompletionTriggerKind:()=>CompletionTriggerKind,Completions:()=>ts_Completions_exports,ConfigFileProgramReloadLevel:()=>ConfigFileProgramReloadLevel,ContainerFlags:()=>ContainerFlags,ContextFlags:()=>Ty,CoreServicesShimHostAdapter:()=>CoreServicesShimHostAdapter,Debug:()=>N,DiagnosticCategory:()=>cd,Diagnostics:()=>U,DocumentHighlights:()=>DocumentHighlights,ElementFlags:()=>My,EmitFlags:()=>fd,EmitHint:()=>s0,EmitOnly:()=>hy,EndOfLineState:()=>EndOfLineState,EnumKind:()=>Dy,ExitStatus:()=>gy,ExportKind:()=>ExportKind,Extension:()=>i0,ExternalEmitHelpers:()=>o0,FileIncludeKind:()=>dy,FilePreprocessingDiagnosticsKind:()=>my,FileSystemEntryKind:()=>FileSystemEntryKind,FileWatcherEventKind:()=>FileWatcherEventKind,FindAllReferences:()=>ts_FindAllReferences_exports,FlattenLevel:()=>FlattenLevel,FlowFlags:()=>bl,ForegroundColorEscapeSequences:()=>ForegroundColorEscapeSequences,FunctionFlags:()=>U0,GeneratedIdentifierFlags:()=>uy,GetLiteralTextFlags:()=>F0,GoToDefinition:()=>ts_GoToDefinition_exports,HighlightSpanKind:()=>HighlightSpanKind,IdentifierNameMap:()=>IdentifierNameMap,IdentifierNameMultiMap:()=>IdentifierNameMultiMap,ImportKind:()=>ImportKind,ImportsNotUsedAsValues:()=>Ky,IndentStyle:()=>IndentStyle,IndexFlags:()=>Jy,IndexKind:()=>Fy,InferenceFlags:()=>qy,InferencePriority:()=>Uy,InlayHintKind:()=>InlayHintKind,InlayHints:()=>ts_InlayHints_exports,InternalEmitFlags:()=>a0,InternalSymbolName:()=>Iy,InvalidatedProjectKind:()=>InvalidatedProjectKind,JsDoc:()=>ts_JsDoc_exports,JsTyping:()=>ts_JsTyping_exports,JsxEmit:()=>Yy,JsxFlags:()=>ly,JsxReferenceKind:()=>Ry,LanguageServiceMode:()=>LanguageServiceMode,LanguageServiceShimHostAdapter:()=>LanguageServiceShimHostAdapter,LanguageVariant:()=>t0,LexicalEnvironmentFlags:()=>c0,ListFormat:()=>u0,LogLevel:()=>sy,MemberOverrideStatus:()=>by,ModifierFlags:()=>rd,ModuleDetectionKind:()=>Hy,ModuleInstanceState:()=>ModuleInstanceState,ModuleKind:()=>Qy,ModuleResolutionKind:()=>Vy,ModuleSpecifierEnding:()=>G0,NavigateTo:()=>ts_NavigateTo_exports,NavigationBar:()=>ts_NavigationBar_exports,NewLineKind:()=>Zy,NodeBuilderFlags:()=>Sy,NodeCheckFlags:()=>Ny,NodeFactoryFlags:()=>X0,NodeFlags:()=>td,NodeResolutionFeatures:()=>NodeResolutionFeatures,ObjectFlags:()=>sd,OperationCanceledException:()=>id,OperatorPrecedence:()=>z0,OrganizeImports:()=>ts_OrganizeImports_exports,OrganizeImportsMode:()=>OrganizeImportsMode,OuterExpressionKinds:()=>_0,OutliningElementsCollector:()=>ts_OutliningElementsCollector_exports,OutliningSpanKind:()=>OutliningSpanKind,OutputFileType:()=>OutputFileType,PackageJsonAutoImportPreference:()=>PackageJsonAutoImportPreference,PackageJsonDependencyGroup:()=>PackageJsonDependencyGroup,PatternMatchKind:()=>PatternMatchKind,PollingInterval:()=>PollingInterval,PollingWatchKind:()=>$y,PragmaKindFlags:()=>p0,PrivateIdentifierKind:()=>PrivateIdentifierKind,ProcessLevel:()=>ProcessLevel,QuotePreference:()=>QuotePreference,RelationComparisonResult:()=>nd,Rename:()=>ts_Rename_exports,ScriptElementKind:()=>ScriptElementKind,ScriptElementKindModifier:()=>ScriptElementKindModifier,ScriptKind:()=>ld,ScriptSnapshot:()=>ScriptSnapshot,ScriptTarget:()=>e0,SemanticClassificationFormat:()=>SemanticClassificationFormat,SemanticMeaning:()=>SemanticMeaning,SemicolonPreference:()=>SemicolonPreference,SignatureCheckMode:()=>SignatureCheckMode,SignatureFlags:()=>_d,SignatureHelp:()=>ts_SignatureHelp_exports,SignatureKind:()=>jy,SmartSelectionRange:()=>ts_SmartSelectionRange_exports,SnippetKind:()=>pd,SortKind:()=>ny,StructureIsReused:()=>yy,SymbolAccessibility:()=>Cy,SymbolDisplay:()=>ts_SymbolDisplay_exports,SymbolDisplayPartKind:()=>SymbolDisplayPartKind,SymbolFlags:()=>ad,SymbolFormatFlags:()=>wy,SyntaxKind:()=>ed,SyntheticSymbolKind:()=>Ey,Ternary:()=>zy,ThrottledCancellationToken:()=>x7,TokenClass:()=>TokenClass,TokenFlags:()=>py,TransformFlags:()=>ud,TypeFacts:()=>TypeFacts,TypeFlags:()=>od,TypeFormatFlags:()=>xy,TypeMapKind:()=>By,TypePredicateKind:()=>Ay,TypeReferenceSerializationKind:()=>ky,TypeScriptServicesFactory:()=>TypeScriptServicesFactory,UnionReduction:()=>vy,UpToDateStatusType:()=>UpToDateStatusType,VarianceFlags:()=>Oy,Version:()=>Version,VersionRange:()=>VersionRange,WatchDirectoryFlags:()=>r0,WatchDirectoryKind:()=>Xy,WatchFileKind:()=>Gy,WatchLogLevel:()=>WatchLogLevel,WatchType:()=>WatchType,accessPrivateIdentifier:()=>accessPrivateIdentifier,addDisposableResourceHelper:()=>addDisposableResourceHelper,addEmitFlags:()=>addEmitFlags,addEmitHelper:()=>addEmitHelper,addEmitHelpers:()=>addEmitHelpers,addInternalEmitFlags:()=>addInternalEmitFlags,addNodeFactoryPatcher:()=>AL,addObjectAllocatorPatcher:()=>WO,addRange:()=>Rr,addRelatedInfo:()=>nl,addSyntheticLeadingComment:()=>addSyntheticLeadingComment,addSyntheticTrailingComment:()=>addSyntheticTrailingComment,addToSeen:()=>IO,advancedAsyncSuperHelper:()=>advancedAsyncSuperHelper,affectsDeclarationPathOptionDeclarations:()=>affectsDeclarationPathOptionDeclarations,affectsEmitOptionDeclarations:()=>affectsEmitOptionDeclarations,allKeysStartWithDot:()=>allKeysStartWithDot,altDirectorySeparator:()=>vg,and:()=>nE,append:()=>xt,appendIfUnique:()=>Cv,arrayFrom:()=>Rd,arrayIsEqualTo:()=>_C,arrayIsHomogeneous:()=>YM,arrayIsSorted:()=>oC,arrayOf:()=>SC,arrayReverseIterator:()=>pC,arrayToMap:()=>wC,arrayToMultiMap:()=>Pv,arrayToNumericMap:()=>CC,arraysEqual:()=>bv,assertType:()=>aE,assign:()=>xC,assignHelper:()=>assignHelper,asyncDelegator:()=>asyncDelegator,asyncGeneratorHelper:()=>asyncGeneratorHelper,asyncSuperHelper:()=>asyncSuperHelper,asyncValues:()=>asyncValues,attachFileToDiagnostics:()=>$a,awaitHelper:()=>awaitHelper,awaiterHelper:()=>awaiterHelper,base64decode:()=>ZN,base64encode:()=>KN,binarySearch:()=>Ml,binarySearchKey:()=>kv,bindSourceFile:()=>bindSourceFile,breakIntoCharacterSpans:()=>breakIntoCharacterSpans,breakIntoWordSpans:()=>breakIntoWordSpans,buildLinkParts:()=>buildLinkParts,buildOpts:()=>buildOpts,buildOverload:()=>buildOverload,bundlerModuleNameResolver:()=>bundlerModuleNameResolver,canBeConvertedToAsync:()=>canBeConvertedToAsync,canHaveDecorators:()=>q8,canHaveExportModifier:()=>uL,canHaveFlowNode:()=>vI,canHaveIllegalDecorators:()=>WR,canHaveIllegalModifiers:()=>VR,canHaveIllegalType:()=>zR,canHaveIllegalTypeParameters:()=>F8,canHaveJSDoc:()=>dm,canHaveLocals:()=>Sk,canHaveModifiers:()=>q_,canHaveSymbol:()=>Tk,canJsonReportNoInputFiles:()=>canJsonReportNoInputFiles,canProduceDiagnostics:()=>canProduceDiagnostics,canUsePropertyAccess:()=>pL,canWatchAffectingLocation:()=>canWatchAffectingLocation,canWatchAtTypes:()=>canWatchAtTypes,canWatchDirectoryOrFile:()=>canWatchDirectoryOrFile,cartesianProduct:()=>sE,cast:()=>gi,chainBundle:()=>chainBundle,chainDiagnosticMessages:()=>tl,changeAnyExtension:()=>Yv,changeCompilerHostLikeToUseCache:()=>changeCompilerHostLikeToUseCache,changeExtension:()=>MM,changesAffectModuleResolution:()=>qk,changesAffectingProgramStructure:()=>zk,childIsDecorated:()=>s2,classElementOrClassElementParameterIsDecorated:()=>zP,classHasClassThisAssignment:()=>classHasClassThisAssignment,classHasDeclaredOrExplicitlyAssignedName:()=>classHasDeclaredOrExplicitlyAssignedName,classHasExplicitlyAssignedName:()=>classHasExplicitlyAssignedName,classOrConstructorParameterIsDecorated:()=>qP,classPrivateFieldGetHelper:()=>classPrivateFieldGetHelper,classPrivateFieldInHelper:()=>classPrivateFieldInHelper,classPrivateFieldSetHelper:()=>classPrivateFieldSetHelper,classicNameResolver:()=>classicNameResolver,classifier:()=>ts_classifier_exports,cleanExtendedConfigCache:()=>cleanExtendedConfigCache,clear:()=>q5,clearMap:()=>CO,clearSharedExtendedConfigFileWatcher:()=>clearSharedExtendedConfigFileWatcher,climbPastPropertyAccess:()=>climbPastPropertyAccess,climbPastPropertyOrElementAccess:()=>climbPastPropertyOrElementAccess,clone:()=>kC,cloneCompilerOptions:()=>cloneCompilerOptions,closeFileWatcher:()=>gO,closeFileWatcherOf:()=>closeFileWatcherOf,codefix:()=>ts_codefix_exports,collapseTextChangeRangesAcrossMultipleVersions:()=>nA,collectExternalModuleInfo:()=>collectExternalModuleInfo,combine:()=>uC,combinePaths:()=>hr,commentPragmas:()=>qd,commonOptionsWithBuild:()=>commonOptionsWithBuild,commonPackageFolders:()=>V0,compact:()=>cC,compareBooleans:()=>GC,compareDataObjects:()=>ES,compareDiagnostics:()=>F2,compareDiagnosticsSkipRelatedInformation:()=>xd,compareEmitHelpers:()=>compareEmitHelpers,compareNumberOfDirectorySeparators:()=>OM,comparePaths:()=>OE,comparePathsCaseInsensitive:()=>NE,comparePathsCaseSensitive:()=>IE,comparePatternKeys:()=>comparePatternKeys,compareProperties:()=>HC,compareStringsCaseInsensitive:()=>Fd,compareStringsCaseInsensitiveEslintCompatible:()=>zC,compareStringsCaseSensitive:()=>Ci,compareStringsCaseSensitiveUI:()=>VC,compareTextSpans:()=>UC,compareValues:()=>kr,compileOnSaveCommandLineOption:()=>compileOnSaveCommandLineOption,compilerOptionsAffectDeclarationPath:()=>dM,compilerOptionsAffectEmit:()=>fM,compilerOptionsAffectSemanticDiagnostics:()=>pM,compilerOptionsDidYouMeanDiagnostics:()=>compilerOptionsDidYouMeanDiagnostics,compilerOptionsIndicateEsModules:()=>compilerOptionsIndicateEsModules,compose:()=>BC,computeCommonSourceDirectoryOfFilenames:()=>computeCommonSourceDirectoryOfFilenames,computeLineAndCharacterOfPosition:()=>Sg,computeLineOfPosition:()=>__,computeLineStarts:()=>Vd,computePositionOfLineAndCharacter:()=>Tg,computeSignature:()=>computeSignature,computeSignatureWithDiagnostics:()=>computeSignatureWithDiagnostics,computeSuggestionDiagnostics:()=>computeSuggestionDiagnostics,concatenate:()=>y_,concatenateDiagnosticMessageChains:()=>XO,consumesNodeCoreModules:()=>consumesNodeCoreModules,contains:()=>es,containsIgnoredPath:()=>nx,containsObjectRestOrSpread:()=>U6,containsParseError:()=>xl,containsPath:()=>Kv,convertCompilerOptionsForTelemetry:()=>convertCompilerOptionsForTelemetry,convertCompilerOptionsFromJson:()=>convertCompilerOptionsFromJson,convertJsonOption:()=>convertJsonOption,convertToBase64:()=>gS,convertToJson:()=>convertToJson,convertToObject:()=>convertToObject,convertToOptionsWithAbsolutePaths:()=>convertToOptionsWithAbsolutePaths,convertToRelativePath:()=>LE,convertToTSConfig:()=>convertToTSConfig,convertTypeAcquisitionFromJson:()=>convertTypeAcquisitionFromJson,copyComments:()=>copyComments,copyEntries:()=>Gk,copyLeadingComments:()=>copyLeadingComments,copyProperties:()=>PC,copyTrailingAsLeadingComments:()=>copyTrailingAsLeadingComments,copyTrailingComments:()=>copyTrailingComments,couldStartTrivia:()=>zE,countWhere:()=>B5,createAbstractBuilder:()=>createAbstractBuilder,createAccessorPropertyBackingField:()=>xj,createAccessorPropertyGetRedirector:()=>wj,createAccessorPropertySetRedirector:()=>Cj,createBaseNodeFactory:()=>Lx,createBinaryExpressionTrampoline:()=>hj,createBindingHelper:()=>createBindingHelper,createBuildInfo:()=>createBuildInfo,createBuilderProgram:()=>createBuilderProgram,createBuilderProgramUsingProgramBuildInfo:()=>createBuilderProgramUsingProgramBuildInfo,createBuilderStatusReporter:()=>createBuilderStatusReporter,createCacheWithRedirects:()=>createCacheWithRedirects,createCacheableExportInfoMap:()=>createCacheableExportInfoMap,createCachedDirectoryStructureHost:()=>createCachedDirectoryStructureHost,createClassNamedEvaluationHelperBlock:()=>createClassNamedEvaluationHelperBlock,createClassThisAssignmentBlock:()=>createClassThisAssignmentBlock,createClassifier:()=>createClassifier,createCommentDirectivesMap:()=>gD,createCompilerDiagnostic:()=>fl,createCompilerDiagnosticForInvalidCustomType:()=>createCompilerDiagnosticForInvalidCustomType,createCompilerDiagnosticFromMessageChain:()=>GO,createCompilerHost:()=>createCompilerHost,createCompilerHostFromProgramHost:()=>createCompilerHostFromProgramHost,createCompilerHostWorker:()=>createCompilerHostWorker,createDetachedDiagnostic:()=>Ao,createDiagnosticCollection:()=>iN,createDiagnosticForFileFromMessageChain:()=>QD,createDiagnosticForNode:()=>HD,createDiagnosticForNodeArray:()=>GD,createDiagnosticForNodeArrayFromMessageChain:()=>$D,createDiagnosticForNodeFromMessageChain:()=>XD,createDiagnosticForNodeInSourceFile:()=>W3,createDiagnosticForRange:()=>KD,createDiagnosticMessageChainFromDiagnostic:()=>YD,createDiagnosticReporter:()=>createDiagnosticReporter,createDocumentPositionMapper:()=>createDocumentPositionMapper,createDocumentRegistry:()=>createDocumentRegistry,createDocumentRegistryInternal:()=>createDocumentRegistryInternal,createEmitAndSemanticDiagnosticsBuilderProgram:()=>createEmitAndSemanticDiagnosticsBuilderProgram,createEmitHelperFactory:()=>createEmitHelperFactory,createEmptyExports:()=>yR,createExpressionForJsxElement:()=>bR,createExpressionForJsxFragment:()=>vR,createExpressionForObjectLiteralElementLike:()=>AR,createExpressionForPropertyName:()=>k8,createExpressionFromEntityName:()=>A8,createExternalHelpersImportDeclarationIfNeeded:()=>JR,createFileDiagnostic:()=>j2,createFileDiagnosticFromMessageChain:()=>Kg,createForOfBindingStatement:()=>TR,createGetCanonicalFileName:()=>Bd,createGetSourceFile:()=>createGetSourceFile,createGetSymbolAccessibilityDiagnosticForNode:()=>createGetSymbolAccessibilityDiagnosticForNode,createGetSymbolAccessibilityDiagnosticForNodeName:()=>createGetSymbolAccessibilityDiagnosticForNodeName,createGetSymbolWalker:()=>createGetSymbolWalker,createIncrementalCompilerHost:()=>createIncrementalCompilerHost,createIncrementalProgram:()=>createIncrementalProgram,createInputFiles:()=>LL,createInputFilesWithFilePaths:()=>jx,createInputFilesWithFileTexts:()=>Fx,createJsxFactoryExpression:()=>E8,createLanguageService:()=>eB,createLanguageServiceSourceFile:()=>z6,createMemberAccessForPropertyName:()=>Lm,createModeAwareCache:()=>createModeAwareCache,createModeAwareCacheKey:()=>createModeAwareCacheKey,createModuleNotFoundChain:()=>tD,createModuleResolutionCache:()=>createModuleResolutionCache,createModuleResolutionLoader:()=>createModuleResolutionLoader,createModuleSpecifierResolutionHost:()=>createModuleSpecifierResolutionHost,createMultiMap:()=>jd,createNodeConverters:()=>Jx,createNodeFactory:()=>Ad,createOptionNameMap:()=>createOptionNameMap,createOverload:()=>createOverload,createPackageJsonImportFilter:()=>createPackageJsonImportFilter,createPackageJsonInfo:()=>createPackageJsonInfo,createParenthesizerRules:()=>createParenthesizerRules,createPatternMatcher:()=>createPatternMatcher,createPrependNodes:()=>createPrependNodes,createPrinter:()=>createPrinter,createPrinterWithDefaults:()=>createPrinterWithDefaults,createPrinterWithRemoveComments:()=>createPrinterWithRemoveComments,createPrinterWithRemoveCommentsNeverAsciiEscape:()=>createPrinterWithRemoveCommentsNeverAsciiEscape,createPrinterWithRemoveCommentsOmitTrailingSemicolon:()=>createPrinterWithRemoveCommentsOmitTrailingSemicolon,createProgram:()=>createProgram,createProgramHost:()=>createProgramHost,createPropertyNameNodeForIdentifierOrLiteral:()=>_L,createQueue:()=>OC,createRange:()=>Tm,createRedirectedBuilderProgram:()=>createRedirectedBuilderProgram,createResolutionCache:()=>createResolutionCache,createRuntimeTypeSerializer:()=>createRuntimeTypeSerializer,createScanner:()=>ns,createSemanticDiagnosticsBuilderProgram:()=>createSemanticDiagnosticsBuilderProgram,createSet:()=>MC,createSolutionBuilder:()=>createSolutionBuilder,createSolutionBuilderHost:()=>createSolutionBuilderHost,createSolutionBuilderWithWatch:()=>createSolutionBuilderWithWatch,createSolutionBuilderWithWatchHost:()=>createSolutionBuilderWithWatchHost,createSortedArray:()=>aC,createSourceFile:()=>H8,createSourceMapGenerator:()=>createSourceMapGenerator,createSourceMapSource:()=>JL,createSuperAccessVariableStatement:()=>createSuperAccessVariableStatement,createSymbolTable:()=>Bk,createSymlinkCache:()=>bM,createSystemWatchFunctions:()=>createSystemWatchFunctions,createTextChange:()=>createTextChange,createTextChangeFromStartLength:()=>createTextChangeFromStartLength,createTextChangeRange:()=>Xd,createTextRangeFromNode:()=>createTextRangeFromNode,createTextRangeFromSpan:()=>createTextRangeFromSpan,createTextSpan:()=>w_,createTextSpanFromBounds:()=>Hi,createTextSpanFromNode:()=>createTextSpanFromNode,createTextSpanFromRange:()=>createTextSpanFromRange,createTextSpanFromStringLiteralLikeContent:()=>createTextSpanFromStringLiteralLikeContent,createTextWriter:()=>pN,createTokenRange:()=>iO,createTypeChecker:()=>createTypeChecker,createTypeReferenceDirectiveResolutionCache:()=>createTypeReferenceDirectiveResolutionCache,createTypeReferenceResolutionLoader:()=>createTypeReferenceResolutionLoader,createUnparsedSourceFile:()=>NL,createWatchCompilerHost:()=>createWatchCompilerHost2,createWatchCompilerHostOfConfigFile:()=>createWatchCompilerHostOfConfigFile,createWatchCompilerHostOfFilesAndCompilerOptions:()=>createWatchCompilerHostOfFilesAndCompilerOptions,createWatchFactory:()=>createWatchFactory,createWatchHost:()=>createWatchHost,createWatchProgram:()=>createWatchProgram,createWatchStatusReporter:()=>createWatchStatusReporter,createWriteFileMeasuringIO:()=>createWriteFileMeasuringIO,declarationNameToString:()=>z3,decodeMappings:()=>decodeMappings,decodedTextSpanIntersectsWith:()=>Eg,decorateHelper:()=>decorateHelper,deduplicate:()=>xv,defaultIncludeSpec:()=>defaultIncludeSpec,defaultInitCompilerOptions:()=>defaultInitCompilerOptions,defaultMaximumTruncationLength:()=>fx,detectSortCaseSensitivity:()=>sC,diagnosticCategoryName:()=>TE,diagnosticToString:()=>diagnosticToString,directoryProbablyExists:()=>vS,directorySeparator:()=>fn,displayPart:()=>displayPart,displayPartsToString:()=>ZF,disposeEmitNodes:()=>disposeEmitNodes,disposeResourcesHelper:()=>disposeResourcesHelper,documentSpansEqual:()=>documentSpansEqual,dumpTracingLegend:()=>dumpTracingLegend,elementAt:()=>Wv,elideNodes:()=>bj,emitComments:()=>nS,emitDetachedComments:()=>IN,emitFiles:()=>emitFiles,emitFilesAndReportErrors:()=>emitFilesAndReportErrors,emitFilesAndReportErrorsAndGetExitStatus:()=>emitFilesAndReportErrorsAndGetExitStatus,emitModuleKindIsNonNodeESM:()=>KO,emitNewLineBeforeLeadingCommentOfPosition:()=>PN,emitNewLineBeforeLeadingComments:()=>tS,emitNewLineBeforeLeadingCommentsOfPosition:()=>rS,emitSkippedWithNoDiagnostics:()=>emitSkippedWithNoDiagnostics,emitUsingBuildInfo:()=>emitUsingBuildInfo,emptyArray:()=>$e,emptyFileSystemEntries:()=>Mx,emptyMap:()=>pg,emptyOptions:()=>emptyOptions,emptySet:()=>zv,endsWith:()=>ts,ensurePathIsNonModuleName:()=>hg,ensureScriptKind:()=>WS,ensureTrailingDirectorySeparator:()=>zo,entityNameToString:()=>vi,enumerateInsertsAndDeletes:()=>oE,equalOwnProperties:()=>Dv,equateStringsCaseInsensitive:()=>s_,equateStringsCaseSensitive:()=>Ll,equateValues:()=>_o,esDecorateHelper:()=>esDecorateHelper,escapeJsxAttributeString:()=>zT,escapeLeadingUnderscores:()=>Mn,escapeNonAsciiString:()=>Td,escapeSnippetText:()=>sL,escapeString:()=>vd,every:()=>so,expandPreOrPostfixIncrementOrDecrementExpression:()=>kR,explainFiles:()=>explainFiles,explainIfFileIsRedirectAndImpliedFormat:()=>explainIfFileIsRedirectAndImpliedFormat,exportAssignmentIsAlias:()=>D0,exportStarHelper:()=>exportStarHelper,expressionResultIsUnused:()=>tL,extend:()=>DC,extendsHelper:()=>extendsHelper,extensionFromPath:()=>rl,extensionIsTS:()=>KS,extensionsNotSupportingExtensionlessResolution:()=>wm,externalHelpersModuleNameText:()=>xm,factory:()=>Ln,fileExtensionIs:()=>La,fileExtensionIsOneOf:()=>ei,fileIncludeReasonToDiagnostics:()=>fileIncludeReasonToDiagnostics,fileShouldUseJavaScriptRequire:()=>fileShouldUseJavaScriptRequire,filter:()=>$r,filterMutate:()=>U5,filterSemanticDiagnostics:()=>filterSemanticDiagnostics,find:()=>Yr,findAncestor:()=>Kr,findBestPatternMatch:()=>Fv,findChildOfKind:()=>findChildOfKind,findComputedPropertyNameCacheAssignment:()=>Ej,findConfigFile:()=>findConfigFile,findContainingList:()=>findContainingList,findDiagnosticForNode:()=>findDiagnosticForNode,findFirstNonJsxWhitespaceToken:()=>findFirstNonJsxWhitespaceToken,findIndex:()=>_l,findLast:()=>ig,findLastIndex:()=>j5,findListItemInfo:()=>findListItemInfo,findMap:()=>F5,findModifier:()=>findModifier,findNextToken:()=>findNextToken,findPackageJson:()=>findPackageJson,findPackageJsons:()=>findPackageJsons,findPrecedingMatchingToken:()=>findPrecedingMatchingToken,findPrecedingToken:()=>findPrecedingToken,findSuperStatementIndexPath:()=>findSuperStatementIndexPath,findTokenOnLeftOfPosition:()=>findTokenOnLeftOfPosition,findUseStrictPrologue:()=>P8,first:()=>og,firstDefined:()=>ng,firstDefinedIterator:()=>L5,firstIterator:()=>mC,firstOrOnly:()=>firstOrOnly,firstOrUndefined:()=>g_,firstOrUndefinedIterator:()=>dC,fixupCompilerOptions:()=>fixupCompilerOptions,flatMap:()=>Bo,flatMapIterator:()=>V5,flatMapToMutable:()=>Tv,flatten:()=>o_,flattenCommaList:()=>kj,flattenDestructuringAssignment:()=>flattenDestructuringAssignment,flattenDestructuringBinding:()=>flattenDestructuringBinding,flattenDiagnosticMessageText:()=>flattenDiagnosticMessageText,forEach:()=>yr,forEachAncestor:()=>Wk,forEachAncestorDirectory:()=>e4,forEachChild:()=>Bt,forEachChildRecursively:()=>eg,forEachEmittedFile:()=>forEachEmittedFile,forEachEnclosingBlockScopeContainer:()=>qD,forEachEntry:()=>Vk,forEachExternalModuleToImportFrom:()=>forEachExternalModuleToImportFrom,forEachImportClauseDeclaration:()=>mI,forEachKey:()=>Hk,forEachLeadingCommentRange:()=>WE,forEachNameInAccessChainWalkingLeft:()=>JO,forEachPropertyAssignment:()=>a2,forEachResolvedProjectReference:()=>forEachResolvedProjectReference,forEachReturnStatement:()=>uP,forEachRight:()=>M5,forEachTrailingCommentRange:()=>VE,forEachTsConfigPropArray:()=>Y3,forEachUnique:()=>forEachUnique,forEachYieldExpression:()=>pP,forSomeAncestorDirectory:()=>kO,formatColorAndReset:()=>formatColorAndReset,formatDiagnostic:()=>formatDiagnostic,formatDiagnostics:()=>formatDiagnostics,formatDiagnosticsWithColorAndContext:()=>formatDiagnosticsWithColorAndContext,formatGeneratedName:()=>Pd,formatGeneratedNamePart:()=>Z0,formatLocation:()=>formatLocation,formatMessage:()=>HO,formatStringFromArgs:()=>I_,formatting:()=>ts_formatting_exports,fullTripleSlashAMDReferencePathRegEx:()=>K2,fullTripleSlashReferencePathRegEx:()=>Y2,generateDjb2Hash:()=>generateDjb2Hash,generateTSConfig:()=>generateTSConfig,generatorHelper:()=>generatorHelper,getAdjustedReferenceLocation:()=>getAdjustedReferenceLocation,getAdjustedRenameLocation:()=>getAdjustedRenameLocation,getAliasDeclarationFromName:()=>ET,getAllAccessorDeclarations:()=>P2,getAllDecoratorsOfClass:()=>getAllDecoratorsOfClass,getAllDecoratorsOfClassElement:()=>getAllDecoratorsOfClassElement,getAllJSDocTags:()=>Q4,getAllJSDocTagsOfKind:()=>vA,getAllKeys:()=>vC,getAllProjectOutputs:()=>getAllProjectOutputs,getAllSuperTypeNodes:()=>IT,getAllUnscopedEmitHelpers:()=>getAllUnscopedEmitHelpers,getAllowJSCompilerOption:()=>BS,getAllowSyntheticDefaultImports:()=>iM,getAncestor:()=>RI,getAnyExtensionFromPath:()=>dd,getAreDeclarationMapsEnabled:()=>nM,getAssignedExpandoInitializer:()=>nI,getAssignedName:()=>M4,getAssignedNameOfIdentifier:()=>getAssignedNameOfIdentifier,getAssignmentDeclarationKind:()=>Ja,getAssignmentDeclarationPropertyAccessKind:()=>uT,getAssignmentTargetKind:()=>TT,getAutomaticTypeDirectiveNames:()=>getAutomaticTypeDirectiveNames,getBaseFileName:()=>T_,getBinaryOperatorPrecedence:()=>pl,getBuildInfo:()=>getBuildInfo,getBuildInfoFileVersionMap:()=>getBuildInfoFileVersionMap,getBuildInfoText:()=>getBuildInfoText,getBuildOrderFromAnyBuildOrder:()=>getBuildOrderFromAnyBuildOrder,getBuilderCreationParameters:()=>getBuilderCreationParameters,getBuilderFileEmit:()=>getBuilderFileEmit,getCheckFlags:()=>CS,getClassExtendsHeritageElement:()=>DT,getClassLikeDeclarationOfSymbol:()=>kS,getCombinedLocalAndExportSymbolFlags:()=>TO,getCombinedModifierFlags:()=>$d,getCombinedNodeFlags:()=>C_,getCombinedNodeFlagsAlwaysIncludeJSDoc:()=>aA,getCommentRange:()=>getCommentRange,getCommonSourceDirectory:()=>getCommonSourceDirectory,getCommonSourceDirectoryOfConfig:()=>getCommonSourceDirectoryOfConfig,getCompilerOptionValue:()=>j0,getCompilerOptionsDiffValue:()=>getCompilerOptionsDiffValue,getConditions:()=>getConditions,getConfigFileParsingDiagnostics:()=>getConfigFileParsingDiagnostics,getConstantValue:()=>getConstantValue,getContainerFlags:()=>getContainerFlags,getContainerNode:()=>getContainerNode,getContainingClass:()=>E0,getContainingClassExcludingClassDecorators:()=>PP,getContainingClassStaticBlock:()=>kP,getContainingFunction:()=>EP,getContainingFunctionDeclaration:()=>AP,getContainingFunctionOrClassStaticBlock:()=>DP,getContainingNodeArray:()=>rL,getContainingObjectLiteralElement:()=>p7,getContextualTypeFromParent:()=>getContextualTypeFromParent,getContextualTypeFromParentOrAncestorTypeNode:()=>getContextualTypeFromParentOrAncestorTypeNode,getCurrentTime:()=>getCurrentTime,getDeclarationDiagnostics:()=>getDeclarationDiagnostics,getDeclarationEmitExtensionForPath:()=>XT,getDeclarationEmitOutputFilePath:()=>hN,getDeclarationEmitOutputFilePathWorker:()=>GT,getDeclarationFromName:()=>OI,getDeclarationModifierFlagsFromSymbol:()=>bO,getDeclarationOfKind:()=>jk,getDeclarationsOfKind:()=>Fk,getDeclaredExpandoInitializer:()=>tI,getDecorators:()=>_A,getDefaultCompilerOptions:()=>_7,getDefaultExportInfoWorker:()=>getDefaultExportInfoWorker,getDefaultFormatCodeSettings:()=>getDefaultFormatCodeSettings,getDefaultLibFileName:()=>T4,getDefaultLibFilePath:()=>sB,getDefaultLikeExportInfo:()=>getDefaultLikeExportInfo,getDiagnosticText:()=>getDiagnosticText,getDiagnosticsWithinSpan:()=>getDiagnosticsWithinSpan,getDirectoryPath:()=>$i,getDirectoryToWatchFailedLookupLocation:()=>getDirectoryToWatchFailedLookupLocation,getDirectoryToWatchFailedLookupLocationFromTypeRoot:()=>getDirectoryToWatchFailedLookupLocationFromTypeRoot,getDocumentPositionMapper:()=>getDocumentPositionMapper,getESModuleInterop:()=>U2,getEditsForFileRename:()=>getEditsForFileRename,getEffectiveBaseTypeNode:()=>kT,getEffectiveConstraintOfTypeParameter:()=>wA,getEffectiveContainerForJSDocTemplateTag:()=>SI,getEffectiveImplementsTypeNodes:()=>PT,getEffectiveInitializer:()=>sT,getEffectiveJSDocHost:()=>y2,getEffectiveModifierFlags:()=>bm,getEffectiveModifierFlagsAlwaysIncludeJSDoc:()=>cS,getEffectiveModifierFlagsNoCache:()=>uS,getEffectiveReturnTypeNode:()=>AN,getEffectiveSetAccessorTypeAnnotationNode:()=>DN,getEffectiveTypeAnnotationNode:()=>I2,getEffectiveTypeParameterDeclarations:()=>xA,getEffectiveTypeRoots:()=>getEffectiveTypeRoots,getElementOrPropertyAccessArgumentExpressionOrName:()=>fm,getElementOrPropertyAccessName:()=>io,getElementsOfBindingOrAssignmentPattern:()=>j8,getEmitDeclarations:()=>z2,getEmitFlags:()=>ti,getEmitHelpers:()=>getEmitHelpers,getEmitModuleDetectionKind:()=>jS,getEmitModuleKind:()=>ni,getEmitModuleResolutionKind:()=>O_,getEmitScriptTarget:()=>Ql,getEmitStandardClassFields:()=>uM,getEnclosingBlockScopeContainer:()=>S0,getEnclosingContainer:()=>UD,getEncodedSemanticClassifications:()=>getEncodedSemanticClassifications,getEncodedSyntacticClassifications:()=>getEncodedSyntacticClassifications,getEndLinePosition:()=>P3,getEntityNameFromTypeNode:()=>BP,getEntrypointsFromPackageJsonInfo:()=>getEntrypointsFromPackageJsonInfo,getErrorCountForSummary:()=>getErrorCountForSummary,getErrorSpanForNode:()=>Zg,getErrorSummaryText:()=>getErrorSummaryText,getEscapedTextOfIdentifierOrLiteral:()=>JT,getEscapedTextOfJsxAttributeName:()=>yL,getEscapedTextOfJsxNamespacedName:()=>Yl,getExpandoInitializer:()=>A_,getExportAssignmentExpression:()=>AT,getExportInfoMap:()=>getExportInfoMap,getExportNeedsImportStarHelper:()=>getExportNeedsImportStarHelper,getExpressionAssociativity:()=>tN,getExpressionPrecedence:()=>rN,getExternalHelpersModuleName:()=>O8,getExternalModuleImportEqualsDeclarationExpression:()=>VP,getExternalModuleName:()=>d2,getExternalModuleNameFromDeclaration:()=>dN,getExternalModuleNameFromPath:()=>E2,getExternalModuleNameLiteral:()=>jR,getExternalModuleRequireArgument:()=>HP,getFallbackOptions:()=>getFallbackOptions,getFileEmitOutput:()=>getFileEmitOutput,getFileMatcherPatterns:()=>zS,getFileNamesFromConfigSpecs:()=>getFileNamesFromConfigSpecs,getFileWatcherEventKind:()=>getFileWatcherEventKind,getFilesInErrorForSummary:()=>getFilesInErrorForSummary,getFirstConstructorWithBody:()=>YT,getFirstIdentifier:()=>qN,getFirstNonSpaceCharacterPosition:()=>getFirstNonSpaceCharacterPosition,getFirstProjectOutput:()=>getFirstProjectOutput,getFixableErrorSpanExpression:()=>getFixableErrorSpanExpression,getFormatCodeSettingsForWriting:()=>getFormatCodeSettingsForWriting,getFullWidth:()=>om,getFunctionFlags:()=>zI,getHeritageClause:()=>mm,getHostSignatureFromJSDoc:()=>h2,getIdentifierAutoGenerate:()=>getIdentifierAutoGenerate,getIdentifierGeneratedImportReference:()=>getIdentifierGeneratedImportReference,getIdentifierTypeArguments:()=>getIdentifierTypeArguments,getImmediatelyInvokedFunctionExpression:()=>LP,getImpliedNodeFormatForFile:()=>getImpliedNodeFormatForFile,getImpliedNodeFormatForFileWorker:()=>getImpliedNodeFormatForFileWorker,getImportNeedsImportDefaultHelper:()=>getImportNeedsImportDefaultHelper,getImportNeedsImportStarHelper:()=>getImportNeedsImportStarHelper,getIndentSize:()=>Jo,getIndentString:()=>w2,getInferredLibraryNameResolveFrom:()=>getInferredLibraryNameResolveFrom,getInitializedVariables:()=>hO,getInitializerOfBinaryExpression:()=>pT,getInitializerOfBindingOrAssignmentElement:()=>J8,getInterfaceBaseTypeNodes:()=>NT,getInternalEmitFlags:()=>xD,getInvokedExpression:()=>UP,getIsolatedModules:()=>B2,getJSDocAugmentsTag:()=>B4,getJSDocClassTag:()=>lA,getJSDocCommentRanges:()=>G3,getJSDocCommentsAndTags:()=>gT,getJSDocDeprecatedTag:()=>mA,getJSDocDeprecatedTagNoCache:()=>G4,getJSDocEnumTag:()=>hA,getJSDocHost:()=>vT,getJSDocImplementsTags:()=>U4,getJSDocOverrideTagNoCache:()=>H4,getJSDocParameterTags:()=>Kd,getJSDocParameterTagsNoCache:()=>J4,getJSDocPrivateTag:()=>pA,getJSDocPrivateTagNoCache:()=>z4,getJSDocProtectedTag:()=>fA,getJSDocProtectedTagNoCache:()=>W4,getJSDocPublicTag:()=>uA,getJSDocPublicTagNoCache:()=>q4,getJSDocReadonlyTag:()=>dA,getJSDocReadonlyTagNoCache:()=>V4,getJSDocReturnTag:()=>X4,getJSDocReturnType:()=>$4,getJSDocRoot:()=>g2,getJSDocSatisfiesExpressionType:()=>hL,getJSDocSatisfiesTag:()=>kg,getJSDocTags:()=>Ul,getJSDocTagsNoCache:()=>bA,getJSDocTemplateTag:()=>gA,getJSDocThisTag:()=>yA,getJSDocType:()=>em,getJSDocTypeAliasName:()=>K0,getJSDocTypeAssertionType:()=>NR,getJSDocTypeParameterDeclarations:()=>eS,getJSDocTypeParameterTags:()=>j4,getJSDocTypeParameterTagsNoCache:()=>F4,getJSDocTypeTag:()=>Zd,getJSXImplicitImportBase:()=>hM,getJSXRuntimeImport:()=>yM,getJSXTransformEnabled:()=>mM,getKeyForCompilerOptions:()=>getKeyForCompilerOptions,getLanguageVariant:()=>R0,getLastChild:()=>DS,getLeadingCommentRanges:()=>Wo,getLeadingCommentRangesOfNode:()=>cP,getLeftmostAccessExpression:()=>R2,getLeftmostExpression:()=>RO,getLineAndCharacterOfPosition:()=>to,getLineInfo:()=>getLineInfo,getLineOfLocalPosition:()=>SN,getLineOfLocalPositionFromLineMap:()=>Ca,getLineStartPositionForPosition:()=>getLineStartPositionForPosition,getLineStarts:()=>Ia,getLinesBetweenPositionAndNextNonWhitespaceCharacter:()=>fO,getLinesBetweenPositionAndPrecedingNonWhitespaceCharacter:()=>pO,getLinesBetweenPositions:()=>x_,getLinesBetweenRangeEndAndRangeStart:()=>cO,getLinesBetweenRangeEndPositions:()=>lO,getLiteralText:()=>wD,getLocalNameForExternalImport:()=>RR,getLocalSymbolForExportDefault:()=>GN,getLocaleSpecificMessage:()=>N_,getLocaleTimeString:()=>getLocaleTimeString,getMappedContextSpan:()=>getMappedContextSpan,getMappedDocumentSpan:()=>getMappedDocumentSpan,getMappedLocation:()=>getMappedLocation,getMatchedFileSpec:()=>getMatchedFileSpec,getMatchedIncludeSpec:()=>getMatchedIncludeSpec,getMeaningFromDeclaration:()=>getMeaningFromDeclaration,getMeaningFromLocation:()=>getMeaningFromLocation,getMembersOfDeclaration:()=>dP,getModeForFileReference:()=>getModeForFileReference,getModeForResolutionAtIndex:()=>getModeForResolutionAtIndex,getModeForUsageLocation:()=>getModeForUsageLocation,getModifiedTime:()=>getModifiedTime,getModifiers:()=>hd,getModuleInstanceState:()=>getModuleInstanceState,getModuleNameStringLiteralAt:()=>getModuleNameStringLiteralAt,getModuleSpecifierEndingPreference:()=>PM,getModuleSpecifierResolverHost:()=>getModuleSpecifierResolverHost,getNameForExportedSymbol:()=>getNameForExportedSymbol,getNameFromIndexInfo:()=>zD,getNameFromPropertyName:()=>getNameFromPropertyName,getNameOfAccessExpression:()=>OO,getNameOfCompilerOptionValue:()=>getNameOfCompilerOptionValue,getNameOfDeclaration:()=>Bl,getNameOfExpando:()=>oI,getNameOfJSDocTypedef:()=>O4,getNameOrArgument:()=>lT,getNameTable:()=>tB,getNamesForExportedSymbol:()=>getNamesForExportedSymbol,getNamespaceDeclarationNode:()=>dT,getNewLineCharacter:()=>TS,getNewLineKind:()=>getNewLineKind,getNewLineOrDefaultFromHost:()=>getNewLineOrDefaultFromHost,getNewTargetContainer:()=>OP,getNextJSDocCommentLocation:()=>bT,getNodeForGeneratedName:()=>vj,getNodeId:()=>getNodeId,getNodeKind:()=>getNodeKind,getNodeModifiers:()=>getNodeModifiers,getNodeModulePathParts:()=>cL,getNonAssignedNameOfDeclaration:()=>Yd,getNonAssignmentOperatorForCompoundAssignment:()=>getNonAssignmentOperatorForCompoundAssignment,getNonAugmentationDeclaration:()=>B3,getNonDecoratorTokenPosOfNode:()=>bD,getNormalizedAbsolutePath:()=>Pa,getNormalizedAbsolutePathWithoutRoot:()=>PE,getNormalizedPathComponents:()=>Wd,getObjectFlags:()=>Rf,getOperator:()=>x2,getOperatorAssociativity:()=>FT,getOperatorPrecedence:()=>BT,getOptionFromName:()=>getOptionFromName,getOptionsForLibraryResolution:()=>getOptionsForLibraryResolution,getOptionsNameMap:()=>getOptionsNameMap,getOrCreateEmitNode:()=>getOrCreateEmitNode,getOrCreateExternalHelpersModuleNameIfNeeded:()=>M8,getOrUpdate:()=>$5,getOriginalNode:()=>jl,getOriginalNodeId:()=>getOriginalNodeId,getOriginalSourceFile:()=>eN,getOutputDeclarationFileName:()=>getOutputDeclarationFileName,getOutputExtension:()=>getOutputExtension,getOutputFileNames:()=>getOutputFileNames,getOutputPathsFor:()=>getOutputPathsFor,getOutputPathsForBundle:()=>getOutputPathsForBundle,getOwnEmitOutputFilePath:()=>mN,getOwnKeys:()=>sg,getOwnValues:()=>TC,getPackageJsonInfo:()=>getPackageJsonInfo,getPackageJsonTypesVersionsPaths:()=>getPackageJsonTypesVersionsPaths,getPackageJsonsVisibleToFile:()=>getPackageJsonsVisibleToFile,getPackageNameFromTypesPackageName:()=>getPackageNameFromTypesPackageName,getPackageScopeForPath:()=>getPackageScopeForPath,getParameterSymbolFromJSDoc:()=>TI,getParameterTypeNode:()=>lL,getParentNodeInSpan:()=>getParentNodeInSpan,getParseTreeNode:()=>Fl,getParsedCommandLineOfConfigFile:()=>getParsedCommandLineOfConfigFile,getPathComponents:()=>Ai,getPathComponentsRelativeTo:()=>gg,getPathFromPathComponents:()=>Uo,getPathUpdater:()=>getPathUpdater,getPathsBasePath:()=>gN,getPatternFromSpec:()=>CM,getPendingEmitKind:()=>getPendingEmitKind,getPositionOfLineAndCharacter:()=>UE,getPossibleGenericSignatures:()=>getPossibleGenericSignatures,getPossibleOriginalInputExtensionForExtension:()=>yN,getPossibleTypeArgumentsInfo:()=>getPossibleTypeArgumentsInfo,getPreEmitDiagnostics:()=>getPreEmitDiagnostics,getPrecedingNonSpaceCharacterPosition:()=>getPrecedingNonSpaceCharacterPosition,getPrivateIdentifier:()=>getPrivateIdentifier,getProperties:()=>getProperties,getProperty:()=>bC,getPropertyArrayElementValue:()=>wP,getPropertyAssignmentAliasLikeExpression:()=>JI,getPropertyNameForPropertyNameNode:()=>gd,getPropertyNameForUniqueESSymbol:()=>VI,getPropertyNameFromType:()=>SL,getPropertyNameOfBindingOrAssignmentElement:()=>qR,getPropertySymbolFromBindingElement:()=>getPropertySymbolFromBindingElement,getPropertySymbolsFromContextualType:()=>f7,getQuoteFromPreference:()=>getQuoteFromPreference,getQuotePreference:()=>getQuotePreference,getRangesWhere:()=>eC,getRefactorContextSpan:()=>getRefactorContextSpan,getReferencedFileLocation:()=>getReferencedFileLocation,getRegexFromPattern:()=>Ff,getRegularExpressionForWildcard:()=>jf,getRegularExpressionsForWildcards:()=>V2,getRelativePathFromDirectory:()=>Zv,getRelativePathFromFile:()=>JE,getRelativePathToDirectoryOrUrl:()=>bg,getRenameLocation:()=>getRenameLocation,getReplacementSpanForContextToken:()=>getReplacementSpanForContextToken,getResolutionDiagnostic:()=>getResolutionDiagnostic,getResolutionModeOverrideForClause:()=>getResolutionModeOverrideForClause,getResolveJsonModule:()=>FS,getResolvePackageJsonExports:()=>oM,getResolvePackageJsonImports:()=>sM,getResolvedExternalModuleName:()=>HT,getResolvedModule:()=>$k,getResolvedTypeReferenceDirective:()=>Kk,getRestIndicatorOfBindingOrAssignmentElement:()=>UR,getRestParameterElementType:()=>fP,getRightMostAssignedExpression:()=>l2,getRootDeclaration:()=>hm,getRootDirectoryOfResolutionCache:()=>getRootDirectoryOfResolutionCache,getRootLength:()=>Ei,getRootPathSplitLength:()=>getRootPathSplitLength,getScriptKind:()=>getScriptKind,getScriptKindFromFileName:()=>VS,getScriptTargetFeatures:()=>getScriptTargetFeatures,getSelectedEffectiveModifierFlags:()=>sS,getSelectedSyntacticModifierFlags:()=>_S,getSemanticClassifications:()=>getSemanticClassifications,getSemanticJsxChildren:()=>nN,getSetAccessorTypeAnnotationNode:()=>xN,getSetAccessorValueParameter:()=>D2,getSetExternalModuleIndicator:()=>RS,getShebang:()=>c4,getSingleInitializerOfVariableStatementOrPropertyDeclaration:()=>m2,getSingleVariableOfVariableStatement:()=>Cl,getSnapshotText:()=>getSnapshotText,getSnippetElement:()=>getSnippetElement,getSourceFileOfModule:()=>sD,getSourceFileOfNode:()=>ri,getSourceFilePathInNewDir:()=>$T,getSourceFilePathInNewDirWorker:()=>k2,getSourceFileVersionAsHashFromText:()=>getSourceFileVersionAsHashFromText,getSourceFilesToEmit:()=>bN,getSourceMapRange:()=>getSourceMapRange,getSourceMapper:()=>getSourceMapper,getSourceTextOfNodeFromSourceFile:()=>Xo,getSpanOfTokenAtPosition:()=>Ys,getSpellingSuggestion:()=>Jv,getStartPositionOfLine:()=>lD,getStartPositionOfRange:()=>f_,getStartsOnNewLine:()=>getStartsOnNewLine,getStaticPropertiesAndClassStaticBlock:()=>getStaticPropertiesAndClassStaticBlock,getStrictOptionValue:()=>W2,getStringComparer:()=>_g,getSuperCallFromStatement:()=>getSuperCallFromStatement,getSuperContainer:()=>MP,getSupportedCodeFixes:()=>c7,getSupportedExtensions:()=>HS,getSupportedExtensionsWithJsonIfResolveJsonModule:()=>GS,getSwitchedType:()=>getSwitchedType,getSymbolId:()=>getSymbolId,getSymbolNameForPrivateIdentifier:()=>HI,getSymbolTarget:()=>getSymbolTarget,getSyntacticClassifications:()=>getSyntacticClassifications,getSyntacticModifierFlags:()=>M2,getSyntacticModifierFlagsNoCache:()=>L2,getSynthesizedDeepClone:()=>getSynthesizedDeepClone,getSynthesizedDeepCloneWithReplacements:()=>getSynthesizedDeepCloneWithReplacements,getSynthesizedDeepClones:()=>getSynthesizedDeepClones,getSynthesizedDeepClonesWithReplacements:()=>getSynthesizedDeepClonesWithReplacements,getSyntheticLeadingComments:()=>getSyntheticLeadingComments,getSyntheticTrailingComments:()=>getSyntheticTrailingComments,getTargetLabel:()=>getTargetLabel,getTargetOfBindingOrAssignmentElement:()=>Mo,getTemporaryModuleResolutionState:()=>getTemporaryModuleResolutionState,getTextOfConstantValue:()=>ED,getTextOfIdentifierOrLiteral:()=>bd,getTextOfJSDocComment:()=>TA,getTextOfJsxAttributeName:()=>gL,getTextOfJsxNamespacedName:()=>Kl,getTextOfNode:()=>sm,getTextOfNodeFromSourceText:()=>t_,getTextOfPropertyName:()=>VD,getThisContainer:()=>o2,getThisParameter:()=>KT,getTokenAtPosition:()=>getTokenAtPosition,getTokenPosOfNode:()=>Go,getTokenSourceMapRange:()=>getTokenSourceMapRange,getTouchingPropertyName:()=>getTouchingPropertyName,getTouchingToken:()=>getTouchingToken,getTrailingCommentRanges:()=>_4,getTrailingSemicolonDeferringWriter:()=>fN,getTransformFlagsSubtreeExclusions:()=>Rx,getTransformers:()=>getTransformers,getTsBuildInfoEmitOutputFilePath:()=>getTsBuildInfoEmitOutputFilePath,getTsConfigObjectLiteralExpression:()=>Q3,getTsConfigPropArrayElementValue:()=>CP,getTypeAnnotationNode:()=>EN,getTypeArgumentOrTypeParameterList:()=>getTypeArgumentOrTypeParameterList,getTypeKeywordOfTypeOnlyImport:()=>getTypeKeywordOfTypeOnlyImport,getTypeNode:()=>getTypeNode,getTypeNodeIfAccessible:()=>getTypeNodeIfAccessible,getTypeParameterFromJsDoc:()=>xI,getTypeParameterOwner:()=>iA,getTypesPackageName:()=>getTypesPackageName,getUILocale:()=>WC,getUniqueName:()=>getUniqueName,getUniqueSymbolId:()=>getUniqueSymbolId,getUseDefineForClassFields:()=>lM,getWatchErrorSummaryDiagnosticMessage:()=>getWatchErrorSummaryDiagnosticMessage,getWatchFactory:()=>getWatchFactory,group:()=>EC,groupBy:()=>AC,guessIndentation:()=>Lk,handleNoEmitOptions:()=>handleNoEmitOptions,hasAbstractModifier:()=>iS,hasAccessorModifier:()=>oS,hasAmbientModifier:()=>aS,hasChangesInResolutions:()=>aD,hasChildOfKind:()=>hasChildOfKind,hasContextSensitiveParameters:()=>nL,hasDecorators:()=>El,hasDocComment:()=>hasDocComment,hasDynamicName:()=>LT,hasEffectiveModifier:()=>N2,hasEffectiveModifiers:()=>MN,hasEffectiveReadonlyModifier:()=>O0,hasExtension:()=>Qv,hasIndexSignature:()=>hasIndexSignature,hasInitializer:()=>E3,hasInvalidEscape:()=>UT,hasJSDocNodes:()=>Wi,hasJSDocParameterTags:()=>cA,hasJSFileExtension:()=>H2,hasJsonModuleEmitEnabled:()=>ZO,hasOnlyExpressionInitializer:()=>Ok,hasOverrideModifier:()=>JN,hasPossibleExternalModuleReference:()=>BD,hasProperty:()=>Qr,hasPropertyAccessExpressionWithName:()=>hasPropertyAccessExpressionWithName,hasQuestionToken:()=>hI,hasRecordedExternalHelpers:()=>LR,hasRestParameter:()=>Jk,hasScopeMarker:()=>ck,hasStaticModifier:()=>gm,hasSyntacticModifier:()=>gr,hasSyntacticModifiers:()=>LN,hasTSFileExtension:()=>G2,hasTabstop:()=>cx,hasTrailingDirectorySeparator:()=>zd,hasType:()=>Nk,hasTypeArguments:()=>wI,hasZeroOrOneAsteriskCharacter:()=>gM,helperString:()=>helperString,hostGetCanonicalFileName:()=>VT,hostUsesCaseSensitiveFileNames:()=>C2,idText:()=>Ot,identifierIsThisKeyword:()=>ZT,identifierToKeywordKind:()=>P4,identity:()=>bt,identitySourceMapConsumer:()=>identitySourceMapConsumer,ignoreSourceNewlines:()=>ignoreSourceNewlines,ignoredPaths:()=>ignoredPaths,importDefaultHelper:()=>importDefaultHelper,importFromModuleSpecifier:()=>dI,importNameElisionDisabled:()=>eM,importStarHelper:()=>importStarHelper,indexOfAnyCharCode:()=>vv,indexOfNode:()=>SD,indicesOf:()=>ag,inferredTypesContainingFile:()=>inferredTypesContainingFile,injectClassNamedEvaluationHelperBlockIfMissing:()=>injectClassNamedEvaluationHelperBlockIfMissing,injectClassThisAssignmentIfMissing:()=>injectClassThisAssignmentIfMissing,insertImports:()=>insertImports,insertLeadingStatement:()=>SR,insertSorted:()=>yl,insertStatementAfterCustomPrologue:()=>hD,insertStatementAfterStandardPrologue:()=>mD,insertStatementsAfterCustomPrologue:()=>dD,insertStatementsAfterStandardPrologue:()=>fD,intersperse:()=>R5,intrinsicTagNameToString:()=>vL,introducesArgumentsExoticObject:()=>gP,inverseJsxOptionMap:()=>inverseJsxOptionMap,isAbstractConstructorSymbol:()=>AO,isAbstractModifier:()=>tJ,isAccessExpression:()=>$o,isAccessibilityModifier:()=>isAccessibilityModifier,isAccessor:()=>nm,isAccessorModifier:()=>nJ,isAliasSymbolDeclaration:()=>LI,isAliasableExpression:()=>b2,isAmbientModule:()=>_m,isAmbientPropertyDeclaration:()=>JD,isAnonymousFunctionDefinition:()=>Ks,isAnyDirectorySeparator:()=>dg,isAnyImportOrBareOrAccessedRequire:()=>jD,isAnyImportOrReExport:()=>lm,isAnyImportSyntax:()=>$g,isAnySupportedFileExtension:()=>RM,isApplicableVersionedTypesKey:()=>isApplicableVersionedTypesKey,isArgumentExpressionOfElementAccess:()=>isArgumentExpressionOfElementAccess,isArray:()=>zt,isArrayBindingElement:()=>QA,isArrayBindingOrAssignmentElement:()=>m3,isArrayBindingOrAssignmentPattern:()=>d3,isArrayBindingPattern:()=>_J,isArrayLiteralExpression:()=>iu,isArrayLiteralOrObjectLiteralDestructuringPattern:()=>isArrayLiteralOrObjectLiteralDestructuringPattern,isArrayTypeNode:()=>$x,isArrowFunction:()=>km,isAsExpression:()=>hJ,isAssertClause:()=>jJ,isAssertEntry:()=>FJ,isAssertionExpression:()=>sk,isAssertionKey:()=>FA,isAssertsKeyword:()=>KL,isAssignmentDeclaration:()=>k0,isAssignmentExpression:()=>Na,isAssignmentOperator:()=>D_,isAssignmentPattern:()=>u3,isAssignmentTarget:()=>CI,isAsteriskToken:()=>GL,isAsyncFunction:()=>WI,isAsyncModifier:()=>al,isAutoAccessorPropertyDeclaration:()=>l3,isAwaitExpression:()=>pJ,isAwaitKeyword:()=>ZL,isBigIntLiteral:()=>o6,isBinaryExpression:()=>Ct,isBinaryOperatorToken:()=>mj,isBindableObjectDefinePropertyCall:()=>p2,isBindableStaticAccessExpression:()=>k_,isBindableStaticElementAccessExpression:()=>f2,isBindableStaticNameExpression:()=>p_,isBindingElement:()=>nu,isBindingElementOfBareOrAccessedRequire:()=>KP,isBindingName:()=>WA,isBindingOrAssignmentElement:()=>YA,isBindingOrAssignmentPattern:()=>KA,isBindingPattern:()=>im,isBlock:()=>au,isBlockOrCatchScoped:()=>kD,isBlockScope:()=>U3,isBlockScopedContainerTopLevel:()=>OD,isBooleanLiteral:()=>VA,isBreakOrContinueStatement:()=>DA,isBreakStatement:()=>kJ,isBuildInfoFile:()=>isBuildInfoFile,isBuilderProgram:()=>isBuilderProgram2,isBundle:()=>YJ,isBundleFileTextLike:()=>MO,isCallChain:()=>y0,isCallExpression:()=>j_,isCallExpressionTarget:()=>isCallExpressionTarget,isCallLikeExpression:()=>tk,isCallOrNewExpression:()=>rk,isCallOrNewExpressionTarget:()=>isCallOrNewExpressionTarget,isCallSignatureDeclaration:()=>c6,isCallToHelper:()=>isCallToHelper,isCaseBlock:()=>LJ,isCaseClause:()=>XJ,isCaseKeyword:()=>iJ,isCaseOrDefaultClause:()=>Ik,isCatchClause:()=>$J,isCatchClauseVariableDeclaration:()=>ix,isCatchClauseVariableDeclarationOrBindingElement:()=>R3,isCheckJsEnabledForFile:()=>jM,isChildOfNodeWithKind:()=>lP,isCircularBuildOrder:()=>isCircularBuildOrder,isClassDeclaration:()=>Yo,isClassElement:()=>no,isClassExpression:()=>Il,isClassLike:()=>dn,isClassMemberModifier:()=>s3,isClassNamedEvaluationHelperBlock:()=>isClassNamedEvaluationHelperBlock,isClassOrTypeElement:()=>XA,isClassStaticBlockDeclaration:()=>eu,isClassThisAssignmentBlock:()=>isClassThisAssignmentBlock,isCollapsedRange:()=>nO,isColonToken:()=>XL,isCommaExpression:()=>Jm,isCommaListExpression:()=>F_,isCommaSequence:()=>IR,isCommaToken:()=>Ux,isComment:()=>isComment,isCommonJsExportPropertyAssignment:()=>i2,isCommonJsExportedExpression:()=>hP,isCompoundAssignment:()=>isCompoundAssignment,isComputedNonLiteralName:()=>WD,isComputedPropertyName:()=>ao,isConciseBody:()=>fk,isConditionalExpression:()=>fJ,isConditionalTypeNode:()=>t8,isConstTypeReference:()=>Z4,isConstructSignatureDeclaration:()=>Hx,isConstructorDeclaration:()=>J_,isConstructorTypeNode:()=>u6,isContextualKeyword:()=>v2,isContinueStatement:()=>AJ,isCustomPrologue:()=>um,isDebuggerStatement:()=>MJ,isDeclaration:()=>Ho,isDeclarationBindingElement:()=>Bg,isDeclarationFileName:()=>G8,isDeclarationName:()=>wT,isDeclarationNameOfEnumOrNamespace:()=>mO,isDeclarationReadonly:()=>nP,isDeclarationStatement:()=>wk,isDeclarationWithTypeParameterChildren:()=>q3,isDeclarationWithTypeParameters:()=>RD,isDecorator:()=>L_,isDecoratorTarget:()=>isDecoratorTarget,isDefaultClause:()=>h8,isDefaultImport:()=>mT,isDefaultModifier:()=>YL,isDefaultedExpandoInitializer:()=>aI,isDeleteExpression:()=>lJ,isDeleteTarget:()=>II,isDeprecatedDeclaration:()=>isDeprecatedDeclaration,isDestructuringAssignment:()=>UN,isDiagnosticWithLocation:()=>isDiagnosticWithLocation,isDiskPathRoot:()=>wE,isDoStatement:()=>xJ,isDocumentRegistryEntry:()=>isDocumentRegistryEntry,isDotDotDotToken:()=>HL,isDottedName:()=>L0,isDynamicName:()=>S2,isESSymbolIdentifier:()=>$I,isEffectiveExternalModule:()=>Xg,isEffectiveModuleDeclaration:()=>j3,isEffectiveStrictModeSourceFile:()=>LD,isElementAccessChain:()=>K4,isElementAccessExpression:()=>Ra,isEmittedFileOfProgram:()=>isEmittedFileOfProgram,isEmptyArrayLiteral:()=>HN,isEmptyBindingElement:()=>k4,isEmptyBindingPattern:()=>A4,isEmptyObjectLiteral:()=>VN,isEmptyStatement:()=>TJ,isEmptyStringLiteral:()=>Z3,isEntityName:()=>zA,isEntityNameExpression:()=>co,isEnumConst:()=>rP,isEnumDeclaration:()=>S6,isEnumMember:()=>g8,isEqualityOperatorKind:()=>isEqualityOperatorKind,isEqualsGreaterThanToken:()=>QL,isExclamationToken:()=>Dd,isExcludedFile:()=>isExcludedFile,isExclusivelyTypeOnlyImportOrExport:()=>isExclusivelyTypeOnlyImportOrExport,isExportAssignment:()=>ss,isExportDeclaration:()=>B_,isExportModifier:()=>qx,isExportName:()=>PR,isExportNamespaceAsDefaultDeclaration:()=>J3,isExportOrDefaultModifier:()=>yj,isExportSpecifier:()=>m8,isExportsIdentifier:()=>_T,isExportsOrModuleExportsOrAlias:()=>isExportsOrModuleExportsOrAlias,isExpression:()=>am,isExpressionNode:()=>_2,isExpressionOfExternalModuleImportEqualsDeclaration:()=>isExpressionOfExternalModuleImportEqualsDeclaration,isExpressionOfOptionalChainRoot:()=>EA,isExpressionStatement:()=>ou,isExpressionWithTypeArguments:()=>g6,isExpressionWithTypeArgumentsInClassExtendsClause:()=>M0,isExternalModule:()=>Zo,isExternalModuleAugmentation:()=>Gg,isExternalModuleImportEqualsDeclaration:()=>rT,isExternalModuleIndicator:()=>uk,isExternalModuleNameRelative:()=>XE,isExternalModuleReference:()=>Nm,isExternalModuleSymbol:()=>isExternalModuleSymbol,isExternalOrCommonJsModule:()=>tP,isFileLevelReservedGeneratedIdentifier:()=>UA,isFileLevelUniqueName:()=>I3,isFileProbablyExternalModule:()=>ml,isFirstDeclarationOfSymbolParameter:()=>isFirstDeclarationOfSymbolParameter,isFixablePromiseHandler:()=>isFixablePromiseHandler,isForInOrOfStatement:()=>pk,isForInStatement:()=>CJ,isForInitializer:()=>mk,isForOfStatement:()=>EJ,isForStatement:()=>l8,isFunctionBlock:()=>$3,isFunctionBody:()=>dk,isFunctionDeclaration:()=>os,isFunctionExpression:()=>Am,isFunctionExpressionOrArrowFunction:()=>oL,isFunctionLike:()=>Gi,isFunctionLikeDeclaration:()=>_3,isFunctionLikeKind:()=>Jg,isFunctionLikeOrClassStaticBlockDeclaration:()=>rm,isFunctionOrConstructorTypeNode:()=>$A,isFunctionOrModuleBlock:()=>HA,isFunctionSymbol:()=>pI,isFunctionTypeNode:()=>tu,isFutureReservedKeyword:()=>jI,isGeneratedIdentifier:()=>wa,isGeneratedPrivateIdentifier:()=>Mg,isGetAccessor:()=>el,isGetAccessorDeclaration:()=>m_,isGetOrSetAccessorDeclaration:()=>CA,isGlobalDeclaration:()=>isGlobalDeclaration,isGlobalScopeAugmentation:()=>cm,isGrammarError:()=>pD,isHeritageClause:()=>Nl,isHoistedFunction:()=>w0,isHoistedVariableStatement:()=>C0,isIdentifier:()=>Ee,isIdentifierANonContextualKeyword:()=>UI,isIdentifierName:()=>MI,isIdentifierOrThisTypeNode:()=>GR,isIdentifierPart:()=>Qa,isIdentifierStart:()=>un,isIdentifierText:()=>Cg,isIdentifierTypePredicate:()=>SP,isIdentifierTypeReference:()=>QM,isIfStatement:()=>SJ,isIgnoredFileFromWildCardWatching:()=>isIgnoredFileFromWildCardWatching,isImplicitGlob:()=>US,isImportCall:()=>t2,isImportClause:()=>JJ,isImportDeclaration:()=>C6,isImportEqualsDeclaration:()=>w6,isImportKeyword:()=>Wx,isImportMeta:()=>x0,isImportOrExportSpecifier:()=>RA,isImportOrExportSpecifierName:()=>isImportOrExportSpecifierName,isImportSpecifier:()=>f8,isImportTypeAssertionContainer:()=>RJ,isImportTypeNode:()=>ru,isImportableFile:()=>isImportableFile,isInComment:()=>isInComment,isInExpressionContext:()=>eT,isInJSDoc:()=>nT,isInJSFile:()=>Wt,isInJSXText:()=>isInJSXText,isInJsonFile:()=>$P,isInNonReferenceComment:()=>isInNonReferenceComment,isInReferenceComment:()=>isInReferenceComment,isInRightSideOfInternalImportEqualsDeclaration:()=>isInRightSideOfInternalImportEqualsDeclaration,isInString:()=>isInString,isInTemplateString:()=>isInTemplateString,isInTopLevelContext:()=>NP,isInTypeQuery:()=>wN,isIncrementalCompilation:()=>cM,isIndexSignatureDeclaration:()=>l6,isIndexedAccessTypeNode:()=>i8,isInferTypeNode:()=>r8,isInfinityOrNaNString:()=>iL,isInitializedProperty:()=>isInitializedProperty,isInitializedVariable:()=>wS,isInsideJsxElement:()=>isInsideJsxElement,isInsideJsxElementOrAttribute:()=>isInsideJsxElementOrAttribute,isInsideNodeModules:()=>isInsideNodeModules,isInsideTemplateLiteral:()=>isInsideTemplateLiteral,isInstantiatedModule:()=>isInstantiatedModule,isInterfaceDeclaration:()=>su,isInternalDeclaration:()=>isInternalDeclaration,isInternalModuleImportEqualsDeclaration:()=>GP,isInternalName:()=>DR,isIntersectionTypeNode:()=>e8,isIntrinsicJsxName:()=>WT,isIterationStatement:()=>b3,isJSDoc:()=>cs,isJSDocAllType:()=>rR,isJSDocAugmentsTag:()=>Mm,isJSDocAuthorTag:()=>_R,isJSDocCallbackTag:()=>cR,isJSDocClassTag:()=>T8,isJSDocCommentContainingNode:()=>C3,isJSDocConstructSignature:()=>yI,isJSDocDeprecatedTag:()=>J6,isJSDocEnumTag:()=>x8,isJSDocFunctionType:()=>Om,isJSDocImplementsTag:()=>C8,isJSDocIndexSignature:()=>YP,isJSDocLikeText:()=>z8,isJSDocLink:()=>ZJ,isJSDocLinkCode:()=>eR,isJSDocLinkLike:()=>ul,isJSDocLinkPlain:()=>tR,isJSDocMemberName:()=>r_,isJSDocNameReference:()=>zf,isJSDocNamepathType:()=>sR,isJSDocNamespaceBody:()=>gk,isJSDocNode:()=>zg,isJSDocNonNullableType:()=>iR,isJSDocNullableType:()=>v8,isJSDocOptionalParameter:()=>lx,isJSDocOptionalType:()=>aR,isJSDocOverloadTag:()=>L6,isJSDocOverrideTag:()=>S8,isJSDocParameterTag:()=>h_,isJSDocPrivateTag:()=>N6,isJSDocPropertyLikeTag:()=>Ig,isJSDocPropertyTag:()=>fR,isJSDocProtectedTag:()=>O6,isJSDocPublicTag:()=>I6,isJSDocReadonlyTag:()=>M6,isJSDocReturnTag:()=>R6,isJSDocSatisfiesExpression:()=>mL,isJSDocSatisfiesTag:()=>j6,isJSDocSeeTag:()=>lR,isJSDocSignature:()=>cu,isJSDocTag:()=>Wg,isJSDocTemplateTag:()=>Ko,isJSDocThisTag:()=>w8,isJSDocThrowsTag:()=>dR,isJSDocTypeAlias:()=>Hl,isJSDocTypeAssertion:()=>N8,isJSDocTypeExpression:()=>b8,isJSDocTypeLiteral:()=>P6,isJSDocTypeTag:()=>lu,isJSDocTypedefTag:()=>uR,isJSDocUnknownTag:()=>pR,isJSDocUnknownType:()=>nR,isJSDocVariadicType:()=>oR,isJSXTagName:()=>Mf,isJsonEqual:()=>$2,isJsonSourceFile:()=>e2,isJsxAttribute:()=>VJ,isJsxAttributeLike:()=>Dk,isJsxAttributeName:()=>bL,isJsxAttributes:()=>D6,isJsxChild:()=>x3,isJsxClosingElement:()=>qf,isJsxClosingFragment:()=>WJ,isJsxElement:()=>Q0,isJsxExpression:()=>GJ,isJsxFragment:()=>dl,isJsxNamespacedName:()=>U_,isJsxOpeningElement:()=>Oo,isJsxOpeningFragment:()=>k6,isJsxOpeningLikeElement:()=>w3,isJsxOpeningLikeElementTagName:()=>isJsxOpeningLikeElementTagName,isJsxSelfClosingElement:()=>zJ,isJsxSpreadAttribute:()=>HJ,isJsxTagNameExpression:()=>kk,isJsxText:()=>kd,isJumpStatementTarget:()=>isJumpStatementTarget,isKeyword:()=>Si,isKeywordOrPunctuation:()=>Jf,isKnownSymbol:()=>GI,isLabelName:()=>isLabelName,isLabelOfLabeledStatement:()=>isLabelOfLabeledStatement,isLabeledStatement:()=>u8,isLateVisibilityPaintedStatement:()=>FD,isLeftHandSideExpression:()=>Lo,isLeftHandSideOfAssignment:()=>BN,isLet:()=>oP,isLineBreak:()=>mr,isLiteralComputedPropertyDeclarationName:()=>CT,isLiteralExpression:()=>Og,isLiteralExpressionOfObject:()=>MA,isLiteralImportTypeNode:()=>H3,isLiteralKind:()=>Ng,isLiteralLikeAccess:()=>Lf,isLiteralLikeElementAccess:()=>Vl,isLiteralNameOfPropertyDeclarationOrIndexAccess:()=>isLiteralNameOfPropertyDeclarationOrIndexAccess,isLiteralTypeLikeExpression:()=>YR,isLiteralTypeLiteral:()=>ak,isLiteralTypeNode:()=>m6,isLocalName:()=>Y0,isLogicalOperator:()=>RN,isLogicalOrCoalescingAssignmentExpression:()=>jN,isLogicalOrCoalescingAssignmentOperator:()=>vm,isLogicalOrCoalescingBinaryExpression:()=>FN,isLogicalOrCoalescingBinaryOperator:()=>fS,isMappedTypeNode:()=>a8,isMemberName:()=>ro,isMetaProperty:()=>b6,isMethodDeclaration:()=>d_,isMethodOrAccessor:()=>Rg,isMethodSignature:()=>Vx,isMinusToken:()=>_6,isMissingDeclaration:()=>UJ,isModifier:()=>Lg,isModifierKind:()=>bi,isModifierLike:()=>Of,isModuleAugmentationExternal:()=>F3,isModuleBlock:()=>p8,isModuleBody:()=>hk,isModuleDeclaration:()=>Yi,isModuleExportsAccessExpression:()=>u2,isModuleIdentifier:()=>cT,isModuleName:()=>QR,isModuleOrEnumDeclaration:()=>vk,isModuleReference:()=>Ak,isModuleSpecifierLike:()=>isModuleSpecifierLike,isModuleWithStringLiteralName:()=>DD,isNameOfFunctionDeclaration:()=>isNameOfFunctionDeclaration,isNameOfModuleDeclaration:()=>isNameOfModuleDeclaration,isNamedClassElement:()=>GA,isNamedDeclaration:()=>Qd,isNamedEvaluation:()=>QI,isNamedEvaluationSource:()=>jT,isNamedExportBindings:()=>PA,isNamedExports:()=>d8,isNamedImportBindings:()=>bk,isNamedImports:()=>BJ,isNamedImportsOrExports:()=>LO,isNamedTupleMember:()=>p6,isNamespaceBody:()=>yk,isNamespaceExport:()=>Im,isNamespaceExportDeclaration:()=>x6,isNamespaceImport:()=>E6,isNamespaceReexportDeclaration:()=>WP,isNewExpression:()=>o8,isNewExpressionTarget:()=>isNewExpressionTarget,isNightly:()=>uN,isNoSubstitutionTemplateLiteral:()=>Bx,isNode:()=>NA,isNodeArray:()=>va,isNodeArrayMultiLine:()=>uO,isNodeDescendantOf:()=>NI,isNodeKind:()=>ql,isNodeLikeSystem:()=>pE,isNodeModulesDirectory:()=>RE,isNodeWithPossibleHoistedDeclaration:()=>EI,isNonContextualKeyword:()=>MT,isNonExportDefaultModifier:()=>gj,isNonGlobalAmbientModule:()=>PD,isNonGlobalDeclaration:()=>isNonGlobalDeclaration,isNonNullAccess:()=>dL,isNonNullChain:()=>e3,isNonNullExpression:()=>jo,isNonStaticMethodOrAccessorWithPrivateName:()=>isNonStaticMethodOrAccessorWithPrivateName,isNotEmittedOrPartiallyEmittedNode:()=>_k,isNotEmittedStatement:()=>A6,isNullishCoalesce:()=>kA,isNumber:()=>LC,isNumericLiteral:()=>lo,isNumericLiteralName:()=>ax,isObjectBindingElementWithoutPropertyName:()=>isObjectBindingElementWithoutPropertyName,isObjectBindingOrAssignmentElement:()=>f3,isObjectBindingOrAssignmentPattern:()=>p3,isObjectBindingPattern:()=>sJ,isObjectLiteralElement:()=>b0,isObjectLiteralElementLike:()=>Fg,isObjectLiteralExpression:()=>uo,isObjectLiteralMethod:()=>vP,isObjectLiteralOrClassExpressionMethodOrAccessor:()=>TP,isObjectTypeDeclaration:()=>NO,isOctalDigit:()=>If,isOmittedExpression:()=>Pm,isOptionalChain:()=>Dg,isOptionalChainRoot:()=>Pg,isOptionalDeclaration:()=>fL,isOptionalJSDocPropertyLikeTag:()=>_x,isOptionalTypeNode:()=>Yx,isOuterExpression:()=>Rm,isOutermostOptionalChain:()=>AA,isOverrideModifier:()=>rJ,isPackedArrayLiteral:()=>eL,isParameter:()=>Ma,isParameterDeclaration:()=>KI,isParameterOrCatchClauseVariable:()=>aL,isParameterPropertyDeclaration:()=>E4,isParameterPropertyModifier:()=>o3,isParenthesizedExpression:()=>is,isParenthesizedTypeNode:()=>f6,isParseTreeNode:()=>Tl,isPartOfTypeNode:()=>r2,isPartOfTypeQuery:()=>tT,isPartiallyEmittedExpression:()=>c8,isPatternMatch:()=>lg,isPinnedComment:()=>L3,isPlainJsFile:()=>_D,isPlusToken:()=>s6,isPossiblyTypeArgumentPosition:()=>isPossiblyTypeArgumentPosition,isPostfixUnaryExpression:()=>_8,isPrefixUnaryExpression:()=>Dm,isPrivateIdentifier:()=>jr,isPrivateIdentifierClassElementDeclaration:()=>a3,isPrivateIdentifierPropertyAccessExpression:()=>qA,isPrivateIdentifierSymbol:()=>XI,isProgramBundleEmitBuildInfo:()=>isProgramBundleEmitBuildInfo,isProgramUptoDate:()=>isProgramUptoDate,isPrologueDirective:()=>Ea,isPropertyAccessChain:()=>Y4,isPropertyAccessEntityNameExpression:()=>hS,isPropertyAccessExpression:()=>Br,isPropertyAccessOrQualifiedName:()=>ek,isPropertyAccessOrQualifiedNameOrImportTypeNode:()=>ZA,isPropertyAssignment:()=>_s,isPropertyDeclaration:()=>oo,isPropertyName:()=>zl,isPropertyNameLiteral:()=>P0,isPropertySignature:()=>Zl,isProtoSetter:()=>RT,isPrototypeAccess:()=>$l,isPrototypePropertyAssignment:()=>cI,isPunctuation:()=>OT,isPushOrUnshiftIdentifier:()=>YI,isQualifiedName:()=>M_,isQuestionDotToken:()=>$L,isQuestionOrExclamationToken:()=>HR,isQuestionOrPlusOrMinusToken:()=>$R,isQuestionToken:()=>Pl,isRawSourceMap:()=>isRawSourceMap,isReadonlyKeyword:()=>zx,isReadonlyKeywordOrPlusOrMinusToken:()=>XR,isRecognizedTripleSlashComment:()=>yD,isReferenceFileLocation:()=>isReferenceFileLocation,isReferencedFile:()=>isReferencedFile,isRegularExpressionLiteral:()=>qL,isRequireCall:()=>Wl,isRequireVariableStatement:()=>oT,isRestParameter:()=>A3,isRestTypeNode:()=>Kx,isReturnStatement:()=>DJ,isReturnStatementWithFixablePromiseHandler:()=>isReturnStatementWithFixablePromiseHandler,isRightSideOfAccessExpression:()=>yS,isRightSideOfPropertyAccess:()=>isRightSideOfPropertyAccess,isRightSideOfQualifiedName:()=>isRightSideOfQualifiedName,isRightSideOfQualifiedNameOrPropertyAccess:()=>zN,isRightSideOfQualifiedNameOrPropertyAccessOrJSDocMemberName:()=>WN,isRootedDiskPath:()=>v_,isSameEntityName:()=>u_,isSatisfiesExpression:()=>yJ,isScopeMarker:()=>v3,isSemicolonClassElement:()=>vJ,isSetAccessor:()=>Zc,isSetAccessorDeclaration:()=>Qo,isShebangTrivia:()=>xg,isShorthandAmbientModuleSymbol:()=>ID,isShorthandPropertyAssignment:()=>_u,isSignedNumericLiteral:()=>T2,isSimpleCopiableExpression:()=>isSimpleCopiableExpression,isSimpleInlineableExpression:()=>isSimpleInlineableExpression,isSingleOrDoubleQuote:()=>ZP,isSourceFile:()=>ii,isSourceFileFromLibrary:()=>isSourceFileFromLibrary,isSourceFileJS:()=>c2,isSourceFileNotJS:()=>XP,isSourceFileNotJson:()=>QP,isSourceMapping:()=>isSourceMapping,isSpecialPropertyDeclaration:()=>lI,isSpreadAssignment:()=>y8,isSpreadElement:()=>y6,isStatement:()=>T3,isStatementButNotDeclaration:()=>Ck,isStatementOrBlock:()=>S3,isStatementWithLocals:()=>cD,isStatic:()=>N0,isStaticModifier:()=>eJ,isString:()=>b_,isStringAKeyword:()=>BI,isStringANonContextualKeyword:()=>FI,isStringAndEmptyAnonymousObjectIntersection:()=>isStringAndEmptyAnonymousObjectIntersection,isStringDoubleQuoted:()=>eI,isStringLiteral:()=>mn,isStringLiteralLike:()=>Kn,isStringLiteralOrJsxExpression:()=>Pk,isStringLiteralOrTemplate:()=>isStringLiteralOrTemplate,isStringOrNumericLiteralLike:()=>Qi,isStringOrRegularExpressionOrTemplateLiteral:()=>isStringOrRegularExpressionOrTemplateLiteral,isStringTextContainingNode:()=>BA,isSuperCall:()=>sP,isSuperKeyword:()=>Uf,isSuperOrSuperProperty:()=>JP,isSuperProperty:()=>yd,isSupportedSourceFileName:()=>NM,isSwitchStatement:()=>IJ,isSyntaxList:()=>mR,isSyntheticExpression:()=>gJ,isSyntheticReference:()=>qJ,isTagName:()=>isTagName,isTaggedTemplateExpression:()=>s8,isTaggedTemplateTag:()=>isTaggedTemplateTag,isTemplateExpression:()=>dJ,isTemplateHead:()=>zL,isTemplateLiteral:()=>nk,isTemplateLiteralKind:()=>Sl,isTemplateLiteralToken:()=>LA,isTemplateLiteralTypeNode:()=>oJ,isTemplateLiteralTypeSpan:()=>aJ,isTemplateMiddle:()=>WL,isTemplateMiddleOrTemplateTail:()=>JA,isTemplateSpan:()=>bJ,isTemplateTail:()=>VL,isTextWhiteSpaceLike:()=>isTextWhiteSpaceLike,isThis:()=>isThis,isThisContainerOrFunctionBlock:()=>IP,isThisIdentifier:()=>ym,isThisInTypeQuery:()=>CN,isThisInitializedDeclaration:()=>jP,isThisInitializedObjectBindingExpression:()=>FP,isThisProperty:()=>RP,isThisTypeNode:()=>d6,isThisTypeParameter:()=>ox,isThisTypePredicate:()=>xP,isThrowStatement:()=>NJ,isToken:()=>OA,isTokenKind:()=>r3,isTraceEnabled:()=>isTraceEnabled,isTransientSymbol:()=>T0,isTrivia:()=>qI,isTryStatement:()=>OJ,isTupleTypeNode:()=>Qx,isTypeAlias:()=>gI,isTypeAliasDeclaration:()=>T6,isTypeAssertionExpression:()=>cJ,isTypeDeclaration:()=>sx,isTypeElement:()=>jg,isTypeKeyword:()=>isTypeKeyword,isTypeKeywordToken:()=>isTypeKeywordToken,isTypeKeywordTokenOrIdentifier:()=>isTypeKeywordTokenOrIdentifier,isTypeLiteralNode:()=>Em,isTypeNode:()=>g0,isTypeNodeKind:()=>PS,isTypeOfExpression:()=>uJ,isTypeOnlyExportDeclaration:()=>i3,isTypeOnlyImportDeclaration:()=>n3,isTypeOnlyImportOrExportDeclaration:()=>jA,isTypeOperatorNode:()=>n8,isTypeParameterDeclaration:()=>No,isTypePredicateNode:()=>Gx,isTypeQueryNode:()=>Xx,isTypeReferenceNode:()=>R_,isTypeReferenceType:()=>Mk,isTypeUsableAsPropertyName:()=>TL,isUMDExportSymbol:()=>DO,isUnaryExpression:()=>y3,isUnaryExpressionWithWrite:()=>ik,isUnicodeIdentifierStart:()=>i4,isUnionTypeNode:()=>Zx,isUnparsedNode:()=>IA,isUnparsedPrepend:()=>QJ,isUnparsedSource:()=>KJ,isUnparsedTextLike:()=>t3,isUrl:()=>xE,isValidBigIntString:()=>ex,isValidESSymbolDeclaration:()=>yP,isValidTypeOnlyAliasUseSite:()=>HM,isValueSignatureDeclaration:()=>AI,isVarAwaitUsing:()=>iP,isVarConst:()=>V3,isVarUsing:()=>aP,isVariableDeclaration:()=>ki,isVariableDeclarationInVariableStatement:()=>X3,isVariableDeclarationInitializedToBareOrAccessedRequire:()=>pm,isVariableDeclarationInitializedToRequire:()=>iT,isVariableDeclarationList:()=>v6,isVariableLike:()=>n2,isVariableLikeOrAccessor:()=>mP,isVariableStatement:()=>as,isVoidExpression:()=>h6,isWatchSet:()=>yO,isWhileStatement:()=>wJ,isWhiteSpaceLike:()=>Vi,isWhiteSpaceSingleLine:()=>Io,isWithStatement:()=>PJ,isWriteAccess:()=>xO,isWriteOnlyAccess:()=>SO,isYieldExpression:()=>mJ,jsxModeNeedsExplicitImport:()=>jsxModeNeedsExplicitImport,keywordPart:()=>keywordPart,last:()=>ka,lastOrUndefined:()=>wi,length:()=>Ka,libMap:()=>libMap,libs:()=>libs,lineBreakPart:()=>lineBreakPart,linkNamePart:()=>linkNamePart,linkPart:()=>linkPart,linkTextPart:()=>linkTextPart,listFiles:()=>listFiles,loadModuleFromGlobalCache:()=>loadModuleFromGlobalCache,loadWithModeAwareCache:()=>loadWithModeAwareCache,makeIdentifierFromModuleName:()=>AD,makeImport:()=>makeImport,makeImportIfNecessary:()=>makeImportIfNecessary,makeStringLiteral:()=>makeStringLiteral,mangleScopedPackageName:()=>mangleScopedPackageName,map:()=>Aa,mapAllOrFail:()=>H5,mapDefined:()=>Za,mapDefinedEntries:()=>X5,mapDefinedIterator:()=>G5,mapEntries:()=>Z5,mapIterator:()=>z5,mapOneOrMany:()=>mapOneOrMany,mapToDisplayParts:()=>mapToDisplayParts,matchFiles:()=>EM,matchPatternOrExact:()=>FM,matchedText:()=>tE,matchesExclude:()=>matchesExclude,maybeBind:()=>rr,maybeSetLocalizedDiagnosticMessages:()=>OS,memoize:()=>ry,memoizeCached:()=>FC,memoizeOne:()=>Nn,memoizeWeak:()=>jC,metadataHelper:()=>metadataHelper,min:()=>qC,minAndMax:()=>UM,missingFileModifiedTime:()=>missingFileModifiedTime,modifierToFlag:()=>J2,modifiersToFlags:()=>ln,moduleOptionDeclaration:()=>moduleOptionDeclaration,moduleResolutionIsEqualTo:()=>eD,moduleResolutionNameAndModeGetter:()=>moduleResolutionNameAndModeGetter,moduleResolutionOptionDeclarations:()=>moduleResolutionOptionDeclarations,moduleResolutionSupportsPackageJsonExportsAndImports:()=>q2,moduleResolutionUsesNodeModules:()=>moduleResolutionUsesNodeModules,moduleSpecifiers:()=>ts_moduleSpecifiers_exports,moveEmitHelpers:()=>moveEmitHelpers,moveRangeEnd:()=>tO,moveRangePastDecorators:()=>SS,moveRangePastModifiers:()=>rO,moveRangePos:()=>Sd,moveSyntheticComments:()=>moveSyntheticComments,mutateMap:()=>EO,mutateMapSkippingNewValues:()=>AS,needsParentheses:()=>needsParentheses,needsScopeMarker:()=>lk,newCaseClauseTracker:()=>newCaseClauseTracker,newPrivateEnvironment:()=>newPrivateEnvironment,noEmitNotification:()=>noEmitNotification,noEmitSubstitution:()=>noEmitSubstitution,noTransformers:()=>noTransformers,noTruncationMaximumTruncationLength:()=>dx,nodeCanBeDecorated:()=>K3,nodeHasName:()=>N4,nodeIsDecorated:()=>l_,nodeIsMissing:()=>zi,nodeIsPresent:()=>wl,nodeIsSynthesized:()=>Ta,nodeModuleNameResolver:()=>nodeModuleNameResolver,nodeModulesPathPart:()=>nodeModulesPathPart,nodeNextJsonConfigResolver:()=>nodeNextJsonConfigResolver,nodeOrChildIsDecorated:()=>A0,nodeOverlapsWithStartEnd:()=>nodeOverlapsWithStartEnd,nodePosToString:()=>uD,nodeSeenTracker:()=>nodeSeenTracker,nodeStartsNewLexicalEnvironment:()=>ZI,nodeToDisplayParts:()=>nodeToDisplayParts,noop:()=>Rn,noopFileWatcher:()=>noopFileWatcher,normalizePath:()=>pn,normalizeSlashes:()=>qo,not:()=>iE,notImplemented:()=>RC,notImplementedResolver:()=>notImplementedResolver,nullNodeConverters:()=>nullNodeConverters,nullParenthesizerRules:()=>i6,nullTransformationContext:()=>nullTransformationContext,objectAllocator:()=>wt,operatorPart:()=>operatorPart,optionDeclarations:()=>optionDeclarations,optionMapToObject:()=>optionMapToObject,optionsAffectingProgramStructure:()=>optionsAffectingProgramStructure,optionsForBuild:()=>optionsForBuild,optionsForWatch:()=>optionsForWatch,optionsHaveChanges:()=>E_,optionsHaveModuleResolutionChanges:()=>k3,or:()=>ug,orderedRemoveItem:()=>KC,orderedRemoveItemAt:()=>Rv,outFile:()=>A2,packageIdToPackageName:()=>D3,packageIdToString:()=>nD,padLeft:()=>qv,padRight:()=>_E,paramHelper:()=>paramHelper,parameterIsThisKeyword:()=>Xl,parameterNamePart:()=>parameterNamePart,parseBaseNodeFactory:()=>tg,parseBigInt:()=>VM,parseBuildCommand:()=>parseBuildCommand,parseCommandLine:()=>parseCommandLine,parseCommandLineWorker:()=>parseCommandLineWorker,parseConfigFileTextToJson:()=>parseConfigFileTextToJson,parseConfigFileWithSystem:()=>parseConfigFileWithSystem,parseConfigHostFromCompilerHostLike:()=>parseConfigHostFromCompilerHostLike,parseCustomTypeOption:()=>parseCustomTypeOption,parseIsolatedEntityName:()=>Jj,parseIsolatedJSDocComment:()=>jj,parseJSDocTypeExpressionForTests:()=>Fj,parseJsonConfigFileContent:()=>parseJsonConfigFileContent,parseJsonSourceFileConfigFileContent:()=>parseJsonSourceFileConfigFileContent,parseJsonText:()=>Rj,parseListTypeOption:()=>parseListTypeOption,parseNodeFactory:()=>z_,parseNodeModuleFromPath:()=>parseNodeModuleFromPath,parsePackageName:()=>parsePackageName,parsePseudoBigInt:()=>Sm,parseValidBigInt:()=>ZS,patchWriteFileEnsuringDirectory:()=>patchWriteFileEnsuringDirectory,pathContainsNodeModules:()=>pathContainsNodeModules,pathIsAbsolute:()=>mg,pathIsBareSpecifier:()=>CE,pathIsRelative:()=>rs,patternText:()=>eE,perfLogger:()=>Yf,performIncrementalCompilation:()=>performIncrementalCompilation,performance:()=>ts_performance_exports,plainJSErrors:()=>plainJSErrors,positionBelongsToNode:()=>positionBelongsToNode,positionIsASICandidate:()=>positionIsASICandidate,positionIsSynthesized:()=>Oa,positionsAreOnSameLine:()=>P_,preProcessFile:()=>preProcessFile,probablyUsesSemicolons:()=>probablyUsesSemicolons,processCommentPragmas:()=>X8,processPragmasIntoFields:()=>$8,processTaggedTemplateExpression:()=>processTaggedTemplateExpression,programContainsEsModules:()=>programContainsEsModules,programContainsModules:()=>programContainsModules,projectReferenceIsEqualTo:()=>Zk,propKeyHelper:()=>propKeyHelper,propertyNamePart:()=>propertyNamePart,pseudoBigIntToString:()=>Q2,punctuationPart:()=>punctuationPart,pushIfUnique:()=>Ol,quote:()=>quote,quotePreferenceFromString:()=>quotePreferenceFromString,rangeContainsPosition:()=>rangeContainsPosition,rangeContainsPositionExclusive:()=>rangeContainsPositionExclusive,rangeContainsRange:()=>rangeContainsRange,rangeContainsRangeExclusive:()=>rangeContainsRangeExclusive,rangeContainsStartEnd:()=>rangeContainsStartEnd,rangeEndIsOnSameLineAsRangeStart:()=>_O,rangeEndPositionsAreOnSameLine:()=>sO,rangeEquals:()=>fC,rangeIsOnSingleLine:()=>aO,rangeOfNode:()=>qM,rangeOfTypeParameters:()=>zM,rangeOverlapsWithStartEnd:()=>rangeOverlapsWithStartEnd,rangeStartIsOnSameLineAsRangeEnd:()=>xS,rangeStartPositionsAreOnSameLine:()=>oO,readBuilderProgram:()=>readBuilderProgram,readConfigFile:()=>readConfigFile,readHelper:()=>readHelper,readJson:()=>eO,readJsonConfigFile:()=>readJsonConfigFile,readJsonOrUndefined:()=>bS,realizeDiagnostics:()=>realizeDiagnostics,reduceEachLeadingCommentRange:()=>a4,reduceEachTrailingCommentRange:()=>o4,reduceLeft:()=>Jd,reduceLeftIterator:()=>J5,reducePathComponents:()=>Da,refactor:()=>ts_refactor_exports,regExpEscape:()=>xM,relativeComplement:()=>lC,removeAllComments:()=>removeAllComments,removeEmitHelper:()=>removeEmitHelper,removeExtension:()=>QS,removeFileExtension:()=>Al,removeIgnoredPath:()=>removeIgnoredPath,removeMinAndVersionNumbers:()=>YC,removeOptionality:()=>removeOptionality,removePrefix:()=>rE,removeSuffix:()=>$C,removeTrailingDirectorySeparator:()=>S_,repeatString:()=>repeatString,replaceElement:()=>gC,resolutionExtensionIsTSOrJson:()=>JM,resolveConfigFileProjectName:()=>resolveConfigFileProjectName,resolveJSModule:()=>resolveJSModule,resolveLibrary:()=>resolveLibrary,resolveModuleName:()=>resolveModuleName,resolveModuleNameFromCache:()=>resolveModuleNameFromCache,resolvePackageNameToPackageJson:()=>resolvePackageNameToPackageJson,resolvePath:()=>d0,resolveProjectReferencePath:()=>resolveProjectReferencePath,resolveTripleslashReference:()=>resolveTripleslashReference,resolveTypeReferenceDirective:()=>resolveTypeReferenceDirective,resolvingEmptyArray:()=>px,restHelper:()=>restHelper,returnFalse:()=>Xf,returnNoopFileWatcher:()=>returnNoopFileWatcher,returnTrue:()=>Iv,returnUndefined:()=>JC,returnsPromise:()=>returnsPromise,runInitializersHelper:()=>runInitializersHelper,sameFlatMap:()=>Sv,sameMap:()=>W5,sameMapping:()=>sameMapping,scanShebangTrivia:()=>wg,scanTokenAtPosition:()=>ZD,scanner:()=>Fo,screenStartingMessageCodes:()=>screenStartingMessageCodes,semanticDiagnosticsOptionDeclarations:()=>semanticDiagnosticsOptionDeclarations,serializeCompilerOptions:()=>serializeCompilerOptions,server:()=>ts_server_exports,servicesVersion:()=>d7,setCommentRange:()=>setCommentRange,setConfigFileInOptions:()=>setConfigFileInOptions,setConstantValue:()=>setConstantValue,setEachParent:()=>a_,setEmitFlags:()=>setEmitFlags,setFunctionNameHelper:()=>setFunctionNameHelper,setGetSourceFileAsHashVersioned:()=>setGetSourceFileAsHashVersioned,setIdentifierAutoGenerate:()=>setIdentifierAutoGenerate,setIdentifierGeneratedImportReference:()=>setIdentifierGeneratedImportReference,setIdentifierTypeArguments:()=>setIdentifierTypeArguments,setInternalEmitFlags:()=>setInternalEmitFlags,setLocalizedDiagnosticMessages:()=>NS,setModuleDefaultHelper:()=>setModuleDefaultHelper,setNodeFlags:()=>KM,setObjectAllocator:()=>IS,setOriginalNode:()=>Xr,setParent:()=>Xi,setParentRecursive:()=>rx,setPrivateIdentifier:()=>setPrivateIdentifier,setResolvedModule:()=>Qk,setResolvedTypeReferenceDirective:()=>Yk,setSnippetElement:()=>setSnippetElement,setSourceMapRange:()=>setSourceMapRange,setStackTraceLimit:()=>setStackTraceLimit,setStartsOnNewLine:()=>setStartsOnNewLine,setSyntheticLeadingComments:()=>setSyntheticLeadingComments,setSyntheticTrailingComments:()=>setSyntheticTrailingComments,setSys:()=>setSys,setSysLog:()=>setSysLog,setTextRange:()=>Ve,setTextRangeEnd:()=>tx,setTextRangePos:()=>wd,setTextRangePosEnd:()=>Ya,setTextRangePosWidth:()=>Cd,setTokenSourceMapRange:()=>setTokenSourceMapRange,setTypeNode:()=>setTypeNode,setUILocale:()=>Lv,setValueDeclaration:()=>uI,shouldAllowImportingTsExtension:()=>shouldAllowImportingTsExtension,shouldPreserveConstEnums:()=>_M,shouldResolveJsRequire:()=>aM,shouldUseUriStyleNodeCoreModules:()=>shouldUseUriStyleNodeCoreModules,showModuleSpecifier:()=>PO,signatureHasLiteralTypes:()=>signatureHasLiteralTypes,signatureHasRestParameter:()=>signatureHasRestParameter,signatureToDisplayParts:()=>signatureToDisplayParts,single:()=>hC,singleElementArray:()=>$f,singleIterator:()=>Y5,singleOrMany:()=>yC,singleOrUndefined:()=>Ld,skipAlias:()=>vO,skipAssertions:()=>MR,skipConstraint:()=>skipConstraint,skipOuterExpressions:()=>ls,skipParentheses:()=>Gl,skipPartiallyEmittedExpressions:()=>tm,skipTrivia:()=>Nt,skipTypeChecking:()=>WM,skipTypeParentheses:()=>PI,skipWhile:()=>lE,sliceAfter:()=>BM,some:()=>mt,sort:()=>Gf,sortAndDeduplicate:()=>wv,sortAndDeduplicateDiagnostics:()=>$E,sourceFileAffectingCompilerOptions:()=>sourceFileAffectingCompilerOptions,sourceFileMayBeEmitted:()=>I0,sourceMapCommentRegExp:()=>sourceMapCommentRegExp,sourceMapCommentRegExpDontCareLineStart:()=>sourceMapCommentRegExpDontCareLineStart,spacePart:()=>spacePart,spanMap:()=>K5,spreadArrayHelper:()=>spreadArrayHelper,stableSort:()=>Av,startEndContainsRange:()=>startEndContainsRange,startEndOverlapsWithStartEnd:()=>startEndOverlapsWithStartEnd,startOnNewLine:()=>jm,startTracing:()=>startTracing,startsWith:()=>Fr,startsWithDirectory:()=>ME,startsWithUnderscore:()=>startsWithUnderscore,startsWithUseStrict:()=>I8,stringContains:()=>eo,stringContainsAt:()=>stringContainsAt,stringToToken:()=>Rl,stripQuotes:()=>cN,supportedDeclarationExtensions:()=>n6,supportedJSExtensions:()=>H0,supportedJSExtensionsFlat:()=>r6,supportedLocaleDirectories:()=>Hg,supportedTSExtensions:()=>Ro,supportedTSExtensionsFlat:()=>t6,supportedTSImplementationExtensions:()=>Ox,suppressLeadingAndTrailingTrivia:()=>suppressLeadingAndTrailingTrivia,suppressLeadingTrivia:()=>suppressLeadingTrivia,suppressTrailingTrivia:()=>suppressTrailingTrivia,symbolEscapedNameNoDefault:()=>symbolEscapedNameNoDefault,symbolName:()=>md,symbolNameNoDefault:()=>symbolNameNoDefault,symbolPart:()=>symbolPart,symbolToDisplayParts:()=>symbolToDisplayParts,syntaxMayBeASICandidate:()=>syntaxMayBeASICandidate,syntaxRequiresTrailingSemicolonOrASI:()=>syntaxRequiresTrailingSemicolonOrASI,sys:()=>f0,sysLog:()=>sysLog,tagNamesAreEquivalent:()=>Ti,takeWhile:()=>cE,targetOptionDeclaration:()=>targetOptionDeclaration,templateObjectHelper:()=>templateObjectHelper,testFormatSettings:()=>testFormatSettings,textChangeRangeIsUnchanged:()=>C4,textChangeRangeNewSpan:()=>Qs,textChanges:()=>ts_textChanges_exports,textOrKeywordPart:()=>textOrKeywordPart,textPart:()=>textPart,textRangeContainsPositionInclusive:()=>YE,textSpanContainsPosition:()=>QE,textSpanContainsTextSpan:()=>KE,textSpanEnd:()=>Kt,textSpanIntersection:()=>w4,textSpanIntersectsWith:()=>tA,textSpanIntersectsWithPosition:()=>rA,textSpanIntersectsWithTextSpan:()=>eA,textSpanIsEmpty:()=>S4,textSpanOverlap:()=>x4,textSpanOverlapsWith:()=>ZE,textSpansEqual:()=>textSpansEqual,textToKeywordObj:()=>cl,timestamp:()=>Sa,toArray:()=>Pf,toBuilderFileEmit:()=>toBuilderFileEmit,toBuilderStateFileInfoForMultiEmit:()=>toBuilderStateFileInfoForMultiEmit,toEditorSettings:()=>sl,toFileNameLowerCase:()=>Ov,toLowerCase:()=>Nv,toPath:()=>xi,toProgramEmitPending:()=>toProgramEmitPending,tokenIsIdentifierOrKeyword:()=>kt,tokenIsIdentifierOrKeywordOrGreaterThan:()=>n4,tokenToString:()=>nr,trace:()=>trace,tracing:()=>xa,tracingEnabled:()=>tracingEnabled,transform:()=>transform,transformClassFields:()=>transformClassFields,transformDeclarations:()=>transformDeclarations,transformECMAScriptModule:()=>transformECMAScriptModule,transformES2015:()=>transformES2015,transformES2016:()=>transformES2016,transformES2017:()=>transformES2017,transformES2018:()=>transformES2018,transformES2019:()=>transformES2019,transformES2020:()=>transformES2020,transformES2021:()=>transformES2021,transformES5:()=>transformES5,transformESDecorators:()=>transformESDecorators,transformESNext:()=>transformESNext,transformGenerators:()=>transformGenerators,transformJsx:()=>transformJsx,transformLegacyDecorators:()=>transformLegacyDecorators,transformModule:()=>transformModule,transformNamedEvaluation:()=>transformNamedEvaluation,transformNodeModule:()=>transformNodeModule,transformNodes:()=>transformNodes,transformSystemModule:()=>transformSystemModule,transformTypeScript:()=>transformTypeScript,transpile:()=>transpile,transpileModule:()=>transpileModule,transpileOptionValueCompilerOptions:()=>transpileOptionValueCompilerOptions,trimString:()=>Ud,trimStringEnd:()=>n_,trimStringStart:()=>gl,tryAddToSet:()=>Q5,tryAndIgnoreErrors:()=>tryAndIgnoreErrors,tryCast:()=>On,tryDirectoryExists:()=>tryDirectoryExists,tryExtractTSExtension:()=>$N,tryFileExists:()=>tryFileExists,tryGetClassExtendingExpressionWithTypeArguments:()=>dS,tryGetClassImplementingOrExtendingExpressionWithTypeArguments:()=>mS,tryGetDirectories:()=>tryGetDirectories,tryGetExtensionFromPath:()=>X2,tryGetImportFromModuleSpecifier:()=>fT,tryGetJSDocSatisfiesTypeNode:()=>ux,tryGetModuleNameFromFile:()=>L8,tryGetModuleSpecifierFromDeclaration:()=>fI,tryGetNativePerformanceHooks:()=>hE,tryGetPropertyAccessOrIdentifierToString:()=>J0,tryGetPropertyNameOfBindingOrAssignmentElement:()=>R8,tryGetSourceMappingURL:()=>tryGetSourceMappingURL,tryGetTextOfPropertyName:()=>Qg,tryIOAndConsumeErrors:()=>tryIOAndConsumeErrors,tryParsePattern:()=>YS,tryParsePatterns:()=>LM,tryParseRawSourceMap:()=>tryParseRawSourceMap,tryReadDirectory:()=>tryReadDirectory,tryReadFile:()=>tryReadFile,tryRemoveDirectoryPrefix:()=>SM,tryRemoveExtension:()=>$S,tryRemovePrefix:()=>Bv,tryRemoveSuffix:()=>QC,typeAcquisitionDeclarations:()=>typeAcquisitionDeclarations,typeAliasNamePart:()=>typeAliasNamePart,typeDirectiveIsEqualTo:()=>iD,typeKeywords:()=>typeKeywords,typeParameterNamePart:()=>typeParameterNamePart,typeReferenceResolutionNameAndModeGetter:()=>typeReferenceResolutionNameAndModeGetter,typeToDisplayParts:()=>typeToDisplayParts,unchangedPollThresholds:()=>unchangedPollThresholds,unchangedTextChangeRange:()=>Vg,unescapeLeadingUnderscores:()=>Vo,unmangleScopedPackageName:()=>unmangleScopedPackageName,unorderedRemoveItem:()=>jv,unorderedRemoveItemAt:()=>cg,unreachableCodeIsError:()=>tM,unusedLabelIsError:()=>rM,unwrapInnermostStatementOfLabel:()=>bP,updateErrorForNoInputFiles:()=>updateErrorForNoInputFiles,updateLanguageServiceSourceFile:()=>u7,updateMissingFilePathsWatch:()=>updateMissingFilePathsWatch,updatePackageJsonWatch:()=>updatePackageJsonWatch,updateResolutionField:()=>updateResolutionField,updateSharedExtendedConfigFileWatcher:()=>updateSharedExtendedConfigFileWatcher,updateSourceFile:()=>q6,updateWatchingWildcardDirectories:()=>updateWatchingWildcardDirectories,usesExtensionsOnImports:()=>XS,usingSingleLineStringWriter:()=>Xk,utf16EncodeAsString:()=>Nf,validateLocaleAndSetLanguage:()=>sA,valuesHelper:()=>valuesHelper,version:()=>Hf,versionMajorMinor:()=>gv,visitArray:()=>visitArray,visitCommaListElements:()=>visitCommaListElements,visitEachChild:()=>visitEachChild,visitFunctionBody:()=>visitFunctionBody,visitIterationBody:()=>visitIterationBody,visitLexicalEnvironment:()=>visitLexicalEnvironment,visitNode:()=>visitNode,visitNodes:()=>visitNodes2,visitParameterList:()=>visitParameterList,walkUpBindingElementsAndPatterns:()=>D4,walkUpLexicalEnvironments:()=>walkUpLexicalEnvironments,walkUpOuterExpressions:()=>OR,walkUpParenthesizedExpressions:()=>xT,walkUpParenthesizedTypes:()=>kI,walkUpParenthesizedTypesAndGetParentAndChild:()=>DI,whitespaceOrMapCommentRegExp:()=>whitespaceOrMapCommentRegExp,writeCommentRange:()=>NN,writeFile:()=>vN,writeFileEnsuringDirectories:()=>TN,zipToModeAwareCache:()=>zipToModeAwareCache,zipWith:()=>ey});var hv=Vt({"src/typescript/_namespaces/ts.ts"(){"use strict";Dr(),Z8(),C7(),kB()}}),DB=I5({"src/typescript/typescript.ts"(e,t){hv(),hv(),typeof console<"u"&&(N.loggingHost={log(r,a){switch(r){case 1:return console.error(a);case 2:return console.warn(a);case 3:return console.log(a);case 4:return console.log(a)}}}),t.exports=E7}});A7.exports=DB()});var V6=ut(k7=>{k7.typescriptVersionIsAtLeast=new Proxy({},{get:()=>!0})});var H6=ut(ai=>{"use strict";var PB=ai&&ai.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),IB=ai&&ai.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),NB=ai&&ai.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&PB(t,e,r);return IB(t,e),t};Object.defineProperty(ai,"__esModule",{value:!0});ai.getDecorators=ai.getModifiers=void 0;var W_=NB(Dt()),OB=V6(),D7=OB.typescriptVersionIsAtLeast["4.8"];function MB(e,t=!1){var r;if(e!=null){if(D7){if(t||W_.canHaveModifiers(e)){let a=W_.getModifiers(e);return a?Array.from(a):void 0}return}return(r=e.modifiers)==null?void 0:r.filter(a=>!W_.isDecorator(a))}}ai.getModifiers=MB;function LB(e,t=!1){var r;if(e!=null){if(D7){if(t||W_.canHaveDecorators(e)){let a=W_.getDecorators(e);return a?Array.from(a):void 0}return}return(r=e.decorators)==null?void 0:r.filter(W_.isDecorator)}}ai.getDecorators=LB});var P7=ut(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});Fm.xhtmlEntities=void 0;Fm.xhtmlEntities={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var G6=ut(V_=>{"use strict";Object.defineProperty(V_,"__esModule",{value:!0});V_.AST_TOKEN_TYPES=V_.AST_NODE_TYPES=void 0;var I7;(function(e){e.AccessorProperty="AccessorProperty",e.ArrayExpression="ArrayExpression",e.ArrayPattern="ArrayPattern",e.ArrowFunctionExpression="ArrowFunctionExpression",e.AssignmentExpression="AssignmentExpression",e.AssignmentPattern="AssignmentPattern",e.AwaitExpression="AwaitExpression",e.BinaryExpression="BinaryExpression",e.BlockStatement="BlockStatement",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.CatchClause="CatchClause",e.ChainExpression="ChainExpression",e.ClassBody="ClassBody",e.ClassDeclaration="ClassDeclaration",e.ClassExpression="ClassExpression",e.ConditionalExpression="ConditionalExpression",e.ContinueStatement="ContinueStatement",e.DebuggerStatement="DebuggerStatement",e.Decorator="Decorator",e.DoWhileStatement="DoWhileStatement",e.EmptyStatement="EmptyStatement",e.ExportAllDeclaration="ExportAllDeclaration",e.ExportDefaultDeclaration="ExportDefaultDeclaration",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExportSpecifier="ExportSpecifier",e.ExpressionStatement="ExpressionStatement",e.ForInStatement="ForInStatement",e.ForOfStatement="ForOfStatement",e.ForStatement="ForStatement",e.FunctionDeclaration="FunctionDeclaration",e.FunctionExpression="FunctionExpression",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportAttribute="ImportAttribute",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.ImportExpression="ImportExpression",e.ImportNamespaceSpecifier="ImportNamespaceSpecifier",e.ImportSpecifier="ImportSpecifier",e.JSXAttribute="JSXAttribute",e.JSXClosingElement="JSXClosingElement",e.JSXClosingFragment="JSXClosingFragment",e.JSXElement="JSXElement",e.JSXEmptyExpression="JSXEmptyExpression",e.JSXExpressionContainer="JSXExpressionContainer",e.JSXFragment="JSXFragment",e.JSXIdentifier="JSXIdentifier",e.JSXMemberExpression="JSXMemberExpression",e.JSXNamespacedName="JSXNamespacedName",e.JSXOpeningElement="JSXOpeningElement",e.JSXOpeningFragment="JSXOpeningFragment",e.JSXSpreadAttribute="JSXSpreadAttribute",e.JSXSpreadChild="JSXSpreadChild",e.JSXText="JSXText",e.LabeledStatement="LabeledStatement",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.MetaProperty="MetaProperty",e.MethodDefinition="MethodDefinition",e.NewExpression="NewExpression",e.ObjectExpression="ObjectExpression",e.ObjectPattern="ObjectPattern",e.PrivateIdentifier="PrivateIdentifier",e.Program="Program",e.Property="Property",e.PropertyDefinition="PropertyDefinition",e.RestElement="RestElement",e.ReturnStatement="ReturnStatement",e.SequenceExpression="SequenceExpression",e.SpreadElement="SpreadElement",e.StaticBlock="StaticBlock",e.Super="Super",e.SwitchCase="SwitchCase",e.SwitchStatement="SwitchStatement",e.TaggedTemplateExpression="TaggedTemplateExpression",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.ThisExpression="ThisExpression",e.ThrowStatement="ThrowStatement",e.TryStatement="TryStatement",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e.WithStatement="WithStatement",e.YieldExpression="YieldExpression",e.TSAbstractAccessorProperty="TSAbstractAccessorProperty",e.TSAbstractKeyword="TSAbstractKeyword",e.TSAbstractMethodDefinition="TSAbstractMethodDefinition",e.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",e.TSAnyKeyword="TSAnyKeyword",e.TSArrayType="TSArrayType",e.TSAsExpression="TSAsExpression",e.TSAsyncKeyword="TSAsyncKeyword",e.TSBigIntKeyword="TSBigIntKeyword",e.TSBooleanKeyword="TSBooleanKeyword",e.TSCallSignatureDeclaration="TSCallSignatureDeclaration",e.TSClassImplements="TSClassImplements",e.TSConditionalType="TSConditionalType",e.TSConstructorType="TSConstructorType",e.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",e.TSDeclareFunction="TSDeclareFunction",e.TSDeclareKeyword="TSDeclareKeyword",e.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",e.TSEnumDeclaration="TSEnumDeclaration",e.TSEnumMember="TSEnumMember",e.TSExportAssignment="TSExportAssignment",e.TSExportKeyword="TSExportKeyword",e.TSExternalModuleReference="TSExternalModuleReference",e.TSFunctionType="TSFunctionType",e.TSInstantiationExpression="TSInstantiationExpression",e.TSImportEqualsDeclaration="TSImportEqualsDeclaration",e.TSImportType="TSImportType",e.TSIndexedAccessType="TSIndexedAccessType",e.TSIndexSignature="TSIndexSignature",e.TSInferType="TSInferType",e.TSInterfaceBody="TSInterfaceBody",e.TSInterfaceDeclaration="TSInterfaceDeclaration",e.TSInterfaceHeritage="TSInterfaceHeritage",e.TSIntersectionType="TSIntersectionType",e.TSIntrinsicKeyword="TSIntrinsicKeyword",e.TSLiteralType="TSLiteralType",e.TSMappedType="TSMappedType",e.TSMethodSignature="TSMethodSignature",e.TSModuleBlock="TSModuleBlock",e.TSModuleDeclaration="TSModuleDeclaration",e.TSNamedTupleMember="TSNamedTupleMember",e.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",e.TSNeverKeyword="TSNeverKeyword",e.TSNonNullExpression="TSNonNullExpression",e.TSNullKeyword="TSNullKeyword",e.TSNumberKeyword="TSNumberKeyword",e.TSObjectKeyword="TSObjectKeyword",e.TSOptionalType="TSOptionalType",e.TSParameterProperty="TSParameterProperty",e.TSPrivateKeyword="TSPrivateKeyword",e.TSPropertySignature="TSPropertySignature",e.TSProtectedKeyword="TSProtectedKeyword",e.TSPublicKeyword="TSPublicKeyword",e.TSQualifiedName="TSQualifiedName",e.TSReadonlyKeyword="TSReadonlyKeyword",e.TSRestType="TSRestType",e.TSSatisfiesExpression="TSSatisfiesExpression",e.TSStaticKeyword="TSStaticKeyword",e.TSStringKeyword="TSStringKeyword",e.TSSymbolKeyword="TSSymbolKeyword",e.TSTemplateLiteralType="TSTemplateLiteralType",e.TSThisType="TSThisType",e.TSTupleType="TSTupleType",e.TSTypeAliasDeclaration="TSTypeAliasDeclaration",e.TSTypeAnnotation="TSTypeAnnotation",e.TSTypeAssertion="TSTypeAssertion",e.TSTypeLiteral="TSTypeLiteral",e.TSTypeOperator="TSTypeOperator",e.TSTypeParameter="TSTypeParameter",e.TSTypeParameterDeclaration="TSTypeParameterDeclaration",e.TSTypeParameterInstantiation="TSTypeParameterInstantiation",e.TSTypePredicate="TSTypePredicate",e.TSTypeQuery="TSTypeQuery",e.TSTypeReference="TSTypeReference",e.TSUndefinedKeyword="TSUndefinedKeyword",e.TSUnionType="TSUnionType",e.TSUnknownKeyword="TSUnknownKeyword",e.TSVoidKeyword="TSVoidKeyword"})(I7||(V_.AST_NODE_TYPES=I7={}));var N7;(function(e){e.Boolean="Boolean",e.Identifier="Identifier",e.JSXIdentifier="JSXIdentifier",e.JSXText="JSXText",e.Keyword="Keyword",e.Null="Null",e.Numeric="Numeric",e.Punctuator="Punctuator",e.RegularExpression="RegularExpression",e.String="String",e.Template="Template",e.Block="Block",e.Line="Line"})(N7||(V_.AST_TOKEN_TYPES=N7={}))});var M7=ut(O7=>{"use strict";Object.defineProperty(O7,"__esModule",{value:!0})});var J7=ut(L7=>{"use strict";Object.defineProperty(L7,"__esModule",{value:!0})});var R7=ut(Ki=>{"use strict";var JB=Ki&&Ki.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),RB=Ki&&Ki.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),jB=Ki&&Ki.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&JB(t,e,r);return RB(t,e),t};Object.defineProperty(Ki,"__esModule",{value:!0});Ki.TSESTree=void 0;Ki.TSESTree=jB(G6())});var F7=ut(jn=>{"use strict";var FB=jn&&jn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),X6=jn&&jn.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&FB(t,e,r)};Object.defineProperty(jn,"__esModule",{value:!0});jn.AST_TOKEN_TYPES=jn.AST_NODE_TYPES=void 0;var j7=G6();Object.defineProperty(jn,"AST_NODE_TYPES",{enumerable:!0,get:function(){return j7.AST_NODE_TYPES}});Object.defineProperty(jn,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return j7.AST_TOKEN_TYPES}});X6(M7(),jn);X6(J7(),jn);X6(R7(),jn)});var U7=ut(B7=>{"use strict";Object.defineProperty(B7,"__esModule",{value:!0})});var z7=ut(q7=>{"use strict";Object.defineProperty(q7,"__esModule",{value:!0})});var Bm=ut(hn=>{"use strict";var BB=hn&&hn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),W7=hn&&hn.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&BB(t,e,r)};Object.defineProperty(hn,"__esModule",{value:!0});hn.TSESTree=hn.AST_TOKEN_TYPES=hn.AST_NODE_TYPES=void 0;var $6=F7();Object.defineProperty(hn,"AST_NODE_TYPES",{enumerable:!0,get:function(){return $6.AST_NODE_TYPES}});Object.defineProperty(hn,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return $6.AST_TOKEN_TYPES}});Object.defineProperty(hn,"TSESTree",{enumerable:!0,get:function(){return $6.TSESTree}});W7(U7(),hn);W7(z7(),hn)});var zm=ut(me=>{"use strict";var UB=me&&me.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),qB=me&&me.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),zB=me&&me.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&UB(t,e,r);return qB(t,e),t};Object.defineProperty(me,"__esModule",{value:!0});me.getNamespaceModifiers=me.nodeCanBeDecorated=me.getContainingFunction=me.nodeIsPresent=me.isThisInTypeQuery=me.isThisIdentifier=me.identifierIsThisKeyword=me.firstDefined=me.nodeHasTokens=me.nodeHasIllegalDecorators=me.createError=me.TSError=me.convertTokens=me.convertToken=me.getTokenType=me.isChildUnwrappableOptionalChain=me.isChainExpression=me.isOptional=me.isComputedProperty=me.unescapeStringLiteralText=me.hasJSXAncestor=me.findFirstMatchingAncestor=me.findNextToken=me.getTSNodeAccessibility=me.getDeclarationKind=me.isJSXToken=me.getRange=me.canContainDirective=me.getLocFor=me.getLineAndCharacterFor=me.getBinaryExpressionType=me.isComment=me.isComma=me.getLastModifier=me.hasModifier=me.isESTreeClassMember=me.getTextForTokenKind=me.isESTreeBinaryOperator=me.isLogicalOperator=void 0;var Qe=zB(Dt()),uu=H6(),WB=P7(),ir=Bm(),VB=V6(),V7=VB.typescriptVersionIsAtLeast["5.0"],ye=Qe.SyntaxKind,HB=new Set([ye.BarBarToken,ye.AmpersandAmpersandToken,ye.QuestionQuestionToken]),GB=new Set([Qe.SyntaxKind.EqualsToken,Qe.SyntaxKind.PlusEqualsToken,Qe.SyntaxKind.MinusEqualsToken,Qe.SyntaxKind.AsteriskEqualsToken,Qe.SyntaxKind.AsteriskAsteriskEqualsToken,Qe.SyntaxKind.SlashEqualsToken,Qe.SyntaxKind.PercentEqualsToken,Qe.SyntaxKind.LessThanLessThanEqualsToken,Qe.SyntaxKind.GreaterThanGreaterThanEqualsToken,Qe.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken,Qe.SyntaxKind.AmpersandEqualsToken,Qe.SyntaxKind.BarEqualsToken,Qe.SyntaxKind.BarBarEqualsToken,Qe.SyntaxKind.AmpersandAmpersandEqualsToken,Qe.SyntaxKind.QuestionQuestionEqualsToken,Qe.SyntaxKind.CaretEqualsToken]),XB=new Set([ye.InstanceOfKeyword,ye.InKeyword,ye.AsteriskAsteriskToken,ye.AsteriskToken,ye.SlashToken,ye.PercentToken,ye.PlusToken,ye.MinusToken,ye.AmpersandToken,ye.BarToken,ye.CaretToken,ye.LessThanLessThanToken,ye.GreaterThanGreaterThanToken,ye.GreaterThanGreaterThanGreaterThanToken,ye.AmpersandAmpersandToken,ye.BarBarToken,ye.LessThanToken,ye.LessThanEqualsToken,ye.GreaterThanToken,ye.GreaterThanEqualsToken,ye.EqualsEqualsToken,ye.EqualsEqualsEqualsToken,ye.ExclamationEqualsEqualsToken,ye.ExclamationEqualsToken]);function $B(e){return GB.has(e.kind)}function H7(e){return HB.has(e.kind)}me.isLogicalOperator=H7;function G7(e){return XB.has(e.kind)}me.isESTreeBinaryOperator=G7;function Um(e){return Qe.tokenToString(e)}me.getTextForTokenKind=Um;function QB(e){return e.kind!==ye.SemicolonClassElement}me.isESTreeClassMember=QB;function X7(e,t){let r=(0,uu.getModifiers)(t);return(r==null?void 0:r.some(a=>a.kind===e))===!0}me.hasModifier=X7;function YB(e){let t=(0,uu.getModifiers)(e);return t==null?null:t[t.length-1]??null}me.getLastModifier=YB;function KB(e){return e.kind===ye.CommaToken}me.isComma=KB;function $7(e){return e.kind===ye.SingleLineCommentTrivia||e.kind===ye.MultiLineCommentTrivia}me.isComment=$7;function ZB(e){return e.kind===ye.JSDocComment}function eU(e){if($B(e))return{type:ir.AST_NODE_TYPES.AssignmentExpression,operator:Um(e.kind)};if(H7(e))return{type:ir.AST_NODE_TYPES.LogicalExpression,operator:Um(e.kind)};if(G7(e))return{type:ir.AST_NODE_TYPES.BinaryExpression,operator:Um(e.kind)};throw new Error(`Unexpected binary operator ${Qe.tokenToString(e.kind)}`)}me.getBinaryExpressionType=eU;function Q7(e,t){let r=t.getLineAndCharacterOfPosition(e);return{line:r.line+1,column:r.character}}me.getLineAndCharacterFor=Q7;function Y7(e,t){let[r,a]=e.map(_=>Q7(_,t));return{start:r,end:a}}me.getLocFor=Y7;function tU(e){if(e.kind===Qe.SyntaxKind.Block)switch(e.parent.kind){case Qe.SyntaxKind.Constructor:case Qe.SyntaxKind.GetAccessor:case Qe.SyntaxKind.SetAccessor:case Qe.SyntaxKind.ArrowFunction:case Qe.SyntaxKind.FunctionExpression:case Qe.SyntaxKind.FunctionDeclaration:case Qe.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}me.canContainDirective=tU;function rU(e,t){return[e.getStart(t),e.getEnd()]}me.getRange=rU;function nU(e){return e.kind>=ye.FirstToken&&e.kind<=ye.LastToken}function Q6(e){return e.kind>=ye.JsxElement&&e.kind<=ye.JsxAttribute}me.isJSXToken=Q6;function iU(e){return e.flags&Qe.NodeFlags.Let?"let":(e.flags&Qe.NodeFlags.AwaitUsing)===Qe.NodeFlags.AwaitUsing?"await using":e.flags&Qe.NodeFlags.Const?"const":e.flags&Qe.NodeFlags.Using?"using":"var"}me.getDeclarationKind=iU;function aU(e){let t=(0,uu.getModifiers)(e);if(t!=null)for(let r of t)switch(r.kind){case ye.PublicKeyword:return"public";case ye.ProtectedKeyword:return"protected";case ye.PrivateKeyword:return"private";default:break}}me.getTSNodeAccessibility=aU;function oU(e,t,r){return a(t);function a(_){return Qe.isToken(_)&&_.pos===e.end?_:iw(_.getChildren(r),p=>(p.pos<=e.pos&&p.end>e.end||p.pos===e.end)&&nw(p,r)?a(p):void 0)}}me.findNextToken=oU;function K7(e,t){for(;e;){if(t(e))return e;e=e.parent}}me.findFirstMatchingAncestor=K7;function Z7(e){return!!K7(e,Q6)}me.hasJSXAncestor=Z7;function sU(e){return e.replace(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let r=t.slice(1,-1);if(r[0]==="#"){let a=r[1]==="x"?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return a>1114111?t:String.fromCodePoint(a)}return WB.xhtmlEntities[r]||t})}me.unescapeStringLiteralText=sU;function _U(e){return e.kind===ye.ComputedPropertyName}me.isComputedProperty=_U;function cU(e){return e.questionToken?e.questionToken.kind===ye.QuestionToken:!1}me.isOptional=cU;function ew(e){return e.type===ir.AST_NODE_TYPES.ChainExpression}me.isChainExpression=ew;function lU(e,t){return ew(t)&&e.expression.kind!==Qe.SyntaxKind.ParenthesizedExpression}me.isChildUnwrappableOptionalChain=lU;function tw(e){let t;if(V7&&e.kind===ye.Identifier?t=Qe.identifierToKeywordKind(e):"originalKeywordKind"in e&&(t=e.originalKeywordKind),t)return t===ye.NullKeyword?ir.AST_TOKEN_TYPES.Null:t>=ye.FirstFutureReservedWord&&t<=ye.LastKeyword?ir.AST_TOKEN_TYPES.Identifier:ir.AST_TOKEN_TYPES.Keyword;if(e.kind>=ye.FirstKeyword&&e.kind<=ye.LastFutureReservedWord)return e.kind===ye.FalseKeyword||e.kind===ye.TrueKeyword?ir.AST_TOKEN_TYPES.Boolean:ir.AST_TOKEN_TYPES.Keyword;if(e.kind>=ye.FirstPunctuation&&e.kind<=ye.LastPunctuation)return ir.AST_TOKEN_TYPES.Punctuator;if(e.kind>=ye.NoSubstitutionTemplateLiteral&&e.kind<=ye.TemplateTail)return ir.AST_TOKEN_TYPES.Template;switch(e.kind){case ye.NumericLiteral:return ir.AST_TOKEN_TYPES.Numeric;case ye.JsxText:return ir.AST_TOKEN_TYPES.JSXText;case ye.StringLiteral:return e.parent.kind===ye.JsxAttribute||e.parent.kind===ye.JsxElement?ir.AST_TOKEN_TYPES.JSXText:ir.AST_TOKEN_TYPES.String;case ye.RegularExpressionLiteral:return ir.AST_TOKEN_TYPES.RegularExpression;case ye.Identifier:case ye.ConstructorKeyword:case ye.GetKeyword:case ye.SetKeyword:default:}return e.kind===ye.Identifier&&(Q6(e.parent)||e.parent.kind===ye.PropertyAccessExpression&&Z7(e))?ir.AST_TOKEN_TYPES.JSXIdentifier:ir.AST_TOKEN_TYPES.Identifier}me.getTokenType=tw;function rw(e,t){let r=e.kind===ye.JsxText?e.getFullStart():e.getStart(t),a=e.getEnd(),_=t.text.slice(r,a),p=tw(e),d=[r,a],h=Y7(d,t);return p===ir.AST_TOKEN_TYPES.RegularExpression?{type:p,value:_,range:d,loc:h,regex:{pattern:_.slice(1,_.lastIndexOf("/")),flags:_.slice(_.lastIndexOf("/")+1)}}:{type:p,value:_,range:d,loc:h}}me.convertToken=rw;function uU(e){let t=[];function r(a){if(!($7(a)||ZB(a)))if(nU(a)&&a.kind!==ye.EndOfFileToken){let _=rw(a,e);_&&t.push(_)}else a.getChildren(e).forEach(r)}return r(e),t}me.convertTokens=uU;var qm=class extends Error{constructor(t,r,a){super(t),this.fileName=r,this.location=a,Object.defineProperty(this,"name",{value:new.target.name,enumerable:!1,configurable:!0})}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};me.TSError=qm;function pU(e,t,r,a=r){let[_,p]=[r,a].map(d=>{let{line:h,character:l}=t.getLineAndCharacterOfPosition(d);return{line:h+1,column:l,offset:d}});return new qm(e,t.fileName,{start:_,end:p})}me.createError=pU;function fU(e){var t;return!!("illegalDecorators"in e&&((t=e.illegalDecorators)!=null&&t.length))}me.nodeHasIllegalDecorators=fU;function nw(e,t){return e.kind===ye.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}me.nodeHasTokens=nw;function iw(e,t){if(e!==void 0)for(let r=0;r<e.length;r++){let a=t(e[r],r);if(a!==void 0)return a}}me.firstDefined=iw;function aw(e){return(V7?Qe.identifierToKeywordKind(e):e.originalKeywordKind)===ye.ThisKeyword}me.identifierIsThisKeyword=aw;function Y6(e){return!!e&&e.kind===ye.Identifier&&aw(e)}me.isThisIdentifier=Y6;function dU(e){if(!Y6(e))return!1;for(;Qe.isQualifiedName(e.parent)&&e.parent.left===e;)e=e.parent;return e.parent.kind===ye.TypeQuery}me.isThisInTypeQuery=dU;function mU(e){return e===void 0?!0:e.pos===e.end&&e.pos>=0&&e.kind!==ye.EndOfFileToken}function hU(e){return!mU(e)}me.nodeIsPresent=hU;function yU(e){return Qe.findAncestor(e.parent,Qe.isFunctionLike)}me.getContainingFunction=yU;function gU(e){return X7(ye.AbstractKeyword,e)}function bU(e){if(e.parameters.length&&!Qe.isJSDocSignature(e)){let t=e.parameters[0];if(vU(t))return t}return null}function vU(e){return Y6(e.name)}function TU(e){switch(e.kind){case ye.ClassDeclaration:return!0;case ye.ClassExpression:return!0;case ye.PropertyDeclaration:{let{parent:t}=e;return!!(Qe.isClassDeclaration(t)||Qe.isClassLike(t)&&!gU(e))}case ye.GetAccessor:case ye.SetAccessor:case ye.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Qe.isClassDeclaration(t)||Qe.isClassLike(t))}case ye.Parameter:{let{parent:t}=e,r=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===ye.Constructor||t.kind===ye.MethodDeclaration||t.kind===ye.SetAccessor)&&bU(t)!==e&&!!r&&r.kind===ye.ClassDeclaration}}return!1}me.nodeCanBeDecorated=TU;function SU(e){let t=(0,uu.getModifiers)(e),r=e;for(;(!t||t.length===0)&&Qe.isModuleDeclaration(r.parent)&&r.parent.name;){let a=(0,uu.getModifiers)(r.parent);a&&(a==null?void 0:a.length)>0&&(t=a),r=r.parent}return t}me.getNamespaceModifiers=SU});var Z6=ut(yn=>{"use strict";var xU=yn&&yn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),wU=yn&&yn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),CU=yn&&yn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&xU(t,e,r);return wU(t,e),t},Ne=yn&&yn.__classPrivateFieldGet||function(e,t,r,a){if(r==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!a:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?a:r==="a"?a.call(e):a?a.value:t.get(e)},Pe,ow,br,oi,st;Object.defineProperty(yn,"__esModule",{value:!0});yn.Converter=yn.convertError=void 0;var _t=CU(Dt()),Zi=H6(),pe=zm(),J=Bm(),E=_t.SyntaxKind;function EU(e){return(0,pe.createError)("message"in e&&e.message||e.messageText,e.file,e.start)}yn.convertError=EU;var K6=class{constructor(t,r){Pe.add(this),this.esTreeNodeToTSNodeMap=new WeakMap,this.tsNodeToESTreeNodeMap=new WeakMap,this.allowPattern=!1,this.ast=t,this.options={...r}}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}convertProgram(){return this.converter(this.ast)}converter(t,r,a){if(!t)return null;Ne(this,Pe,"m",ow).call(this,t);let _=this.allowPattern;a!==void 0&&(this.allowPattern=a);let p=this.convertNode(t,r??t.parent);return this.registerTSNodeInNodeMap(t,p),this.allowPattern=_,p}fixExports(t,r){let _=_t.isModuleDeclaration(t)&&!!(t.flags&_t.NodeFlags.Namespace)?(0,pe.getNamespaceModifiers)(t):(0,Zi.getModifiers)(t);if((_==null?void 0:_[0].kind)===E.ExportKeyword){this.registerTSNodeInNodeMap(t,r);let p=_[0],d=_[1],h=(d==null?void 0:d.kind)===E.DefaultKeyword,l=h?(0,pe.findNextToken)(d,this.ast,this.ast):(0,pe.findNextToken)(p,this.ast,this.ast);if(r.range[0]=l.getStart(this.ast),r.loc=(0,pe.getLocFor)(r.range,this.ast),h)return this.createNode(t,{type:J.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:r,range:[p.getStart(this.ast),r.range[1]],exportKind:"value"});let v=r.type===J.AST_NODE_TYPES.TSInterfaceDeclaration||r.type===J.AST_NODE_TYPES.TSTypeAliasDeclaration,y="declare"in r&&r.declare===!0;return this.createNode(t,{type:J.AST_NODE_TYPES.ExportNamedDeclaration,declaration:r,specifiers:[],source:null,exportKind:v||y?"type":"value",range:[p.getStart(this.ast),r.range[1]],assertions:[]})}return r}registerTSNodeInNodeMap(t,r){r&&this.options.shouldPreserveNodeMaps&&(this.tsNodeToESTreeNodeMap.has(t)||this.tsNodeToESTreeNodeMap.set(t,r))}convertPattern(t,r){return this.converter(t,r,!0)}convertChild(t,r){return this.converter(t,r,!1)}createNode(t,r){let a=r;return a.range??(a.range=(0,pe.getRange)(t,this.ast)),a.loc??(a.loc=(0,pe.getLocFor)(a.range,this.ast)),a&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(a,t),a}convertBindingNameWithTypeAnnotation(t,r,a){let _=this.convertPattern(t);return r&&(_.typeAnnotation=this.convertTypeAnnotation(r,a),this.fixParentLocation(_,_.typeAnnotation.range)),_}convertTypeAnnotation(t,r){let a=(r==null?void 0:r.kind)===E.FunctionType||(r==null?void 0:r.kind)===E.ConstructorType?2:1,p=[t.getFullStart()-a,t.end],d=(0,pe.getLocFor)(p,this.ast);return{type:J.AST_NODE_TYPES.TSTypeAnnotation,loc:d,range:p,typeAnnotation:this.convertChild(t)}}convertBodyExpressions(t,r){let a=(0,pe.canContainDirective)(r);return t.map(_=>{let p=this.convertChild(_);if(a){if(p!=null&&p.expression&&_t.isExpressionStatement(_)&&_t.isStringLiteral(_.expression)){let d=p.expression.raw;return p.directive=d.slice(1,-1),p}a=!1}return p}).filter(_=>_)}convertTypeArgumentsToTypeParameterInstantiation(t,r){let a=(0,pe.findNextToken)(t,this.ast,this.ast);return this.createNode(r,{type:J.AST_NODE_TYPES.TSTypeParameterInstantiation,range:[t.pos-1,a.end],params:t.map(_=>this.convertChild(_))})}convertTSTypeParametersToTypeParametersDeclaration(t){let r=(0,pe.findNextToken)(t,this.ast,this.ast),a=[t.pos-1,r.end];return{type:J.AST_NODE_TYPES.TSTypeParameterDeclaration,range:a,loc:(0,pe.getLocFor)(a,this.ast),params:t.map(_=>this.convertChild(_))}}convertParameters(t){return t!=null&&t.length?t.map(r=>{var _;let a=this.convertChild(r);return a.decorators=((_=(0,Zi.getDecorators)(r))==null?void 0:_.map(p=>this.convertChild(p)))??[],a}):[]}convertChainExpression(t,r){let{child:a,isOptional:_}=(()=>t.type===J.AST_NODE_TYPES.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===J.AST_NODE_TYPES.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1})(),p=(0,pe.isChildUnwrappableOptionalChain)(r,a);if(!p&&!_)return t;if(p&&(0,pe.isChainExpression)(a)){let d=a.expression;t.type===J.AST_NODE_TYPES.MemberExpression?t.object=d:t.type===J.AST_NODE_TYPES.CallExpression?t.callee=d:t.expression=d}return this.createNode(r,{type:J.AST_NODE_TYPES.ChainExpression,expression:t})}deeplyCopy(t){t.kind===_t.SyntaxKind.JSDocFunctionType&&Ne(this,Pe,"m",st).call(this,t,"JSDoc types can only be used inside documentation comments.");let r=`TS${E[t.kind]}`;if(this.options.errorOnUnknownASTType&&!J.AST_NODE_TYPES[r])throw new Error(`Unknown AST_NODE_TYPE: "${r}"`);let a=this.createNode(t,{type:r});"type"in t&&(a.typeAnnotation=t.type&&"kind"in t.type&&_t.isTypeNode(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(a.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null,Ne(this,Pe,"m",oi).call(this,a,"typeParameters","typeArguments")),"typeParameters"in t&&(a.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let _=(0,Zi.getDecorators)(t);_!=null&&_.length&&(a.decorators=_.map(d=>this.convertChild(d)));let p=new Set(["_children","decorators","end","flags","illegalDecorators","heritageClauses","locals","localSymbol","jsDoc","kind","modifierFlagsCache","modifiers","nextContainer","parent","pos","symbol","transformFlags","type","typeArguments","typeParameters"]);return Object.entries(t).filter(([d])=>!p.has(d)).forEach(([d,h])=>{Array.isArray(h)?a[d]=h.map(l=>this.convertChild(l)):h&&typeof h=="object"&&h.kind?a[d]=this.convertChild(h):a[d]=h}),a}convertJSXIdentifier(t){let r=this.createNode(t,{type:J.AST_NODE_TYPES.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,r),r}convertJSXNamespaceOrIdentifier(t){if(t.kind===_t.SyntaxKind.JsxNamespacedName){let _=this.createNode(t,{type:J.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(t.namespace,{type:J.AST_NODE_TYPES.JSXIdentifier,name:t.namespace.text}),name:this.createNode(t.name,{type:J.AST_NODE_TYPES.JSXIdentifier,name:t.name.text})});return this.registerTSNodeInNodeMap(t,_),_}let r=t.getText(),a=r.indexOf(":");if(a>0){let _=(0,pe.getRange)(t,this.ast),p=this.createNode(t,{type:J.AST_NODE_TYPES.JSXNamespacedName,namespace:this.createNode(t,{type:J.AST_NODE_TYPES.JSXIdentifier,name:r.slice(0,a),range:[_[0],_[0]+a]}),name:this.createNode(t,{type:J.AST_NODE_TYPES.JSXIdentifier,name:r.slice(a+1),range:[_[0]+a+1,_[1]]}),range:_});return this.registerTSNodeInNodeMap(t,p),p}return this.convertJSXIdentifier(t)}convertJSXTagName(t,r){let a;switch(t.kind){case E.PropertyAccessExpression:t.name.kind===E.PrivateIdentifier&&Ne(this,Pe,"m",st).call(this,t.name,"Non-private identifier expected."),a=this.createNode(t,{type:J.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(t.expression,r),property:this.convertJSXIdentifier(t.name)});break;case E.ThisKeyword:case E.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,a),a}convertMethodSignature(t){return this.createNode(t,{type:J.AST_NODE_TYPES.TSMethodSignature,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:(0,pe.isComputedProperty)(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case E.GetAccessor:return"get";case E.SetAccessor:return"set";case E.MethodSignature:return"method"}})(),optional:(0,pe.isOptional)(t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}convertAssertClasue(t){return t===void 0?[]:t.elements.map(r=>this.convertChild(r))}fixParentLocation(t,r){r[0]<t.range[0]&&(t.range[0]=r[0],t.loc.start=(0,pe.getLineAndCharacterFor)(t.range[0],this.ast)),r[1]>t.range[1]&&(t.range[1]=r[1],t.loc.end=(0,pe.getLineAndCharacterFor)(t.range[1],this.ast))}assertModuleSpecifier(t,r){var a;!r&&t.moduleSpecifier==null&&Ne(this,Pe,"m",br).call(this,t,"Module specifier must be a string literal."),t.moduleSpecifier&&((a=t.moduleSpecifier)==null?void 0:a.kind)!==E.StringLiteral&&Ne(this,Pe,"m",br).call(this,t.moduleSpecifier,"Module specifier must be a string literal.")}convertNode(t,r){var a,_,p,d,h;switch(t.kind){case E.SourceFile:return this.createNode(t,{type:J.AST_NODE_TYPES.Program,body:this.convertBodyExpressions(t.statements,t),comments:void 0,range:[t.getStart(this.ast),t.endOfFileToken.end],sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case E.Block:return this.createNode(t,{type:J.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case E.Identifier:return(0,pe.isThisInTypeQuery)(t)?this.createNode(t,{type:J.AST_NODE_TYPES.ThisExpression}):this.createNode(t,{type:J.AST_NODE_TYPES.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case E.PrivateIdentifier:return this.createNode(t,{type:J.AST_NODE_TYPES.PrivateIdentifier,name:t.text.slice(1)});case E.WithStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.WithStatement,object:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.ReturnStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(t.expression)});case E.LabeledStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.LabeledStatement,label:this.convertChild(t.label),body:this.convertChild(t.statement)});case E.ContinueStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(t.label)});case E.BreakStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.BreakStatement,label:this.convertChild(t.label)});case E.IfStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.IfStatement,test:this.convertChild(t.expression),consequent:this.convertChild(t.thenStatement),alternate:this.convertChild(t.elseStatement)});case E.SwitchStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.SwitchStatement,discriminant:this.convertChild(t.expression),cases:t.caseBlock.clauses.map(l=>this.convertChild(l))});case E.CaseClause:case E.DefaultClause:return this.createNode(t,{type:J.AST_NODE_TYPES.SwitchCase,test:t.kind===E.CaseClause?this.convertChild(t.expression):null,consequent:t.statements.map(l=>this.convertChild(l))});case E.ThrowStatement:return t.expression.end===t.expression.pos&&Ne(this,Pe,"m",br).call(this,t,"A throw statement must throw an expression."),this.createNode(t,{type:J.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(t.expression)});case E.TryStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.TryStatement,block:this.convertChild(t.tryBlock),handler:this.convertChild(t.catchClause),finalizer:this.convertChild(t.finallyBlock)});case E.CatchClause:return this.createNode(t,{type:J.AST_NODE_TYPES.CatchClause,param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null,body:this.convertChild(t.block)});case E.WhileStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.WhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.DoStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.DoWhileStatement,test:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.ForStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ForStatement,init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor),body:this.convertChild(t.statement)});case E.ForInStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ForInStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement)});case E.ForOfStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ForOfStatement,left:this.convertPattern(t.initializer),right:this.convertChild(t.expression),body:this.convertChild(t.statement),await:!!(t.awaitModifier&&t.awaitModifier.kind===E.AwaitKeyword)});case E.FunctionDeclaration:{let l=(0,pe.hasModifier)(E.DeclareKeyword,t),v=this.createNode(t,{type:l||!t.body?J.AST_NODE_TYPES.TSDeclareFunction:J.AST_NODE_TYPES.FunctionDeclaration,async:(0,pe.hasModifier)(E.AsyncKeyword,t),body:this.convertChild(t.body)||void 0,declare:l,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,v)}case E.VariableDeclaration:return this.createNode(t,{type:J.AST_NODE_TYPES.VariableDeclarator,definite:!!t.exclamationToken,id:this.convertBindingNameWithTypeAnnotation(t.name,t.type,t),init:this.convertChild(t.initializer)});case E.VariableStatement:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarationList.declarations.map(v=>this.convertChild(v)),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),kind:(0,pe.getDeclarationKind)(t.declarationList)});return l.declarations.length||Ne(this,Pe,"m",br).call(this,t,"A variable declaration list must have at least one variable declarator."),(l.kind==="using"||l.kind==="await using")&&t.declarationList.declarations.forEach((v,y)=>{l.declarations[y].init==null&&Ne(this,Pe,"m",st).call(this,v,`'${l.kind}' declarations must be initialized.`),l.declarations[y].id.type!==J.AST_NODE_TYPES.Identifier&&Ne(this,Pe,"m",st).call(this,v.name,`'${l.kind}' declarations may not have binding patterns.`)}),this.fixExports(t,l)}case E.VariableDeclarationList:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.VariableDeclaration,declarations:t.declarations.map(v=>this.convertChild(v)),declare:!1,kind:(0,pe.getDeclarationKind)(t)});return(l.kind==="using"||l.kind==="await using")&&t.declarations.forEach((v,y)=>{l.declarations[y].init!=null&&Ne(this,Pe,"m",st).call(this,v,`'${l.kind}' declarations may not be initialized in for statement.`),l.declarations[y].id.type!==J.AST_NODE_TYPES.Identifier&&Ne(this,Pe,"m",st).call(this,v.name,`'${l.kind}' declarations may not have binding patterns.`)}),l}case E.ExpressionStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case E.ThisKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.ThisExpression});case E.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:J.AST_NODE_TYPES.ArrayPattern,decorators:[],elements:t.elements.map(l=>this.convertPattern(l)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:J.AST_NODE_TYPES.ArrayExpression,elements:t.elements.map(l=>this.convertChild(l))});case E.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:J.AST_NODE_TYPES.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(v=>this.convertPattern(v)),typeAnnotation:void 0});let l=[];for(let v of t.properties)(v.kind===E.GetAccessor||v.kind===E.SetAccessor||v.kind===E.MethodDeclaration)&&!v.body&&Ne(this,Pe,"m",br).call(this,v.end-1,"'{' expected."),l.push(this.convertChild(v));return this.createNode(t,{type:J.AST_NODE_TYPES.ObjectExpression,properties:l})}case E.PropertyAssignment:{let{questionToken:l,exclamationToken:v}=t;return l&&Ne(this,Pe,"m",st).call(this,l,"A property assignment cannot have a question token."),v&&Ne(this,Pe,"m",st).call(this,v,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.converter(t.initializer,t,this.allowPattern),computed:(0,pe.isComputedProperty)(t.name),method:!1,optional:!1,shorthand:!1,kind:"init"})}case E.ShorthandPropertyAssignment:{let{modifiers:l,questionToken:v,exclamationToken:y}=t;return l&&Ne(this,Pe,"m",st).call(this,l[0],"A shorthand property assignment cannot have modifiers."),v&&Ne(this,Pe,"m",st).call(this,v,"A shorthand property assignment cannot have a question token."),y&&Ne(this,Pe,"m",st).call(this,y,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0}),computed:!1,method:!1,optional:!1,shorthand:!0,kind:"init"}):this.createNode(t,{type:J.AST_NODE_TYPES.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case E.ComputedPropertyName:return this.convertChild(t.expression);case E.PropertyDeclaration:{let l=(0,pe.hasModifier)(E.AbstractKeyword,t);l&&t.initializer&&Ne(this,Pe,"m",st).call(this,t.initializer,"Abstract property cannot have an initializer.");let v=(0,pe.hasModifier)(E.AccessorKeyword,t),y=(()=>v?l?J.AST_NODE_TYPES.TSAbstractAccessorProperty:J.AST_NODE_TYPES.AccessorProperty:l?J.AST_NODE_TYPES.TSAbstractPropertyDefinition:J.AST_NODE_TYPES.PropertyDefinition)(),C=this.convertChild(t.name);return this.createNode(t,{type:y,key:C,accessibility:(0,pe.getTSNodeAccessibility)(t),value:l?null:this.convertChild(t.initializer),computed:(0,pe.isComputedProperty)(t.name),static:(0,pe.hasModifier)(E.StaticKeyword,t),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),decorators:((a=(0,Zi.getDecorators)(t))==null?void 0:a.map(S=>this.convertChild(S)))??[],declare:(0,pe.hasModifier)(E.DeclareKeyword,t),override:(0,pe.hasModifier)(E.OverrideKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),optional:(C.type===J.AST_NODE_TYPES.Literal||t.name.kind===E.Identifier||t.name.kind===E.ComputedPropertyName||t.name.kind===E.PrivateIdentifier)&&!!t.questionToken,definite:!!t.exclamationToken})}case E.GetAccessor:case E.SetAccessor:if(t.parent.kind===E.InterfaceDeclaration||t.parent.kind===E.TypeLiteral)return this.convertMethodSignature(t);case E.MethodDeclaration:{let l=this.createNode(t,{type:t.body?J.AST_NODE_TYPES.FunctionExpression:J.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,id:null,generator:!!t.asteriskToken,expression:!1,async:(0,pe.hasModifier)(E.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,range:[t.parameters.pos-1,t.end],params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});l.typeParameters&&this.fixParentLocation(l,l.typeParameters.range);let v;if(r.kind===E.ObjectLiteralExpression)l.params=t.parameters.map(y=>this.convertChild(y)),v=this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.name),value:l,computed:(0,pe.isComputedProperty)(t.name),optional:!!t.questionToken,method:t.kind===E.MethodDeclaration,shorthand:!1,kind:"init"});else{l.params=this.convertParameters(t.parameters);let y=(0,pe.hasModifier)(E.AbstractKeyword,t)?J.AST_NODE_TYPES.TSAbstractMethodDefinition:J.AST_NODE_TYPES.MethodDefinition;v=this.createNode(t,{type:y,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:(0,pe.isComputedProperty)(t.name),decorators:((_=(0,Zi.getDecorators)(t))==null?void 0:_.map(C=>this.convertChild(C)))??[],key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:(0,pe.hasModifier)(E.OverrideKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),value:l})}return t.kind===E.GetAccessor?v.kind="get":t.kind===E.SetAccessor?v.kind="set":!v.static&&t.name.kind===E.StringLiteral&&t.name.text==="constructor"&&v.type!==J.AST_NODE_TYPES.Property&&(v.kind="constructor"),v}case E.Constructor:{let l=(0,pe.getLastModifier)(t),v=(l&&(0,pe.findNextToken)(l,t,this.ast))??t.getFirstToken(),y=this.createNode(t,{type:t.body?J.AST_NODE_TYPES.FunctionExpression:J.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),range:[t.parameters.pos-1,t.end],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});y.typeParameters&&this.fixParentLocation(y,y.typeParameters.range);let C=this.createNode(t,{type:J.AST_NODE_TYPES.Identifier,decorators:[],name:"constructor",optional:!1,range:[v.getStart(this.ast),v.end],typeAnnotation:void 0}),S=(0,pe.hasModifier)(E.StaticKeyword,t);return this.createNode(t,{type:(0,pe.hasModifier)(E.AbstractKeyword,t)?J.AST_NODE_TYPES.TSAbstractMethodDefinition:J.AST_NODE_TYPES.MethodDefinition,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:!1,decorators:[],optional:!1,key:C,kind:S?"method":"constructor",override:!1,static:S,value:y})}case E.FunctionExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.FunctionExpression,async:(0,pe.hasModifier)(E.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case E.SuperKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Super});case E.ArrayBindingPattern:return this.createNode(t,{type:J.AST_NODE_TYPES.ArrayPattern,decorators:[],elements:t.elements.map(l=>this.convertPattern(l)),optional:!1,typeAnnotation:void 0});case E.OmittedExpression:return null;case E.ObjectBindingPattern:return this.createNode(t,{type:J.AST_NODE_TYPES.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(l=>this.convertPattern(l)),typeAnnotation:void 0});case E.BindingElement:{if(r.kind===E.ArrayBindingPattern){let v=this.convertChild(t.name,r);return t.initializer?this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:v,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:v,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):v}let l;return t.dotDotDotToken?l=this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):l=this.createNode(t,{type:J.AST_NODE_TYPES.Property,key:this.convertChild(t.propertyName??t.name),value:this.convertChild(t.name),computed:!!(t.propertyName&&t.propertyName.kind===E.ComputedPropertyName),method:!1,optional:!1,shorthand:!t.propertyName,kind:"init"}),t.initializer&&(l.value=this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertChild(t.name),optional:!1,range:[t.name.getStart(this.ast),t.initializer.end],right:this.convertChild(t.initializer),typeAnnotation:void 0})),l}case E.ArrowFunction:return this.createNode(t,{type:J.AST_NODE_TYPES.ArrowFunctionExpression,generator:!1,id:null,params:this.convertParameters(t.parameters),body:this.convertChild(t.body),async:(0,pe.hasModifier)(E.AsyncKeyword,t),expression:t.body.kind!==E.Block,returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case E.YieldExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.YieldExpression,delegate:!!t.asteriskToken,argument:this.convertChild(t.expression)});case E.AwaitExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(t.expression)});case E.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.TemplateLiteral,quasis:[this.createNode(t,{type:J.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1),cooked:t.text},tail:!0})],expressions:[]});case E.TemplateExpression:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TemplateLiteral,quasis:[this.convertChild(t.head)],expressions:[]});return t.templateSpans.forEach(v=>{l.expressions.push(this.convertChild(v.expression)),l.quasis.push(this.convertChild(v.literal))}),l}case E.TaggedTemplateExpression:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TaggedTemplateExpression,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),tag:this.convertChild(t.tag),quasi:this.convertChild(t.template)},"typeParameters","typeArguments"));case E.TemplateHead:case E.TemplateMiddle:case E.TemplateTail:{let l=t.kind===E.TemplateTail;return this.createNode(t,{type:J.AST_NODE_TYPES.TemplateElement,value:{raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(l?1:2)),cooked:t.text},tail:l})}case E.SpreadAssignment:case E.SpreadElement:return this.allowPattern?this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:J.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(t.expression)});case E.Parameter:{let l,v;return t.dotDotDotToken?l=v=this.createNode(t,{type:J.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(l=this.convertChild(t.name),v=this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:l,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),(0,Zi.getModifiers)(t)&&(v.range[0]=l.range[0],v.loc=(0,pe.getLocFor)(v.range,this.ast))):l=v=this.convertChild(t.name,r),t.type&&(l.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(l,l.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>l.range[1]&&(l.range[1]=t.questionToken.end,l.loc.end=(0,pe.getLineAndCharacterFor)(l.range[1],this.ast)),l.optional=!0),(0,Zi.getModifiers)(t)?this.createNode(t,{type:J.AST_NODE_TYPES.TSParameterProperty,accessibility:(0,pe.getTSNodeAccessibility)(t),decorators:[],override:(0,pe.hasModifier)(E.OverrideKeyword,t),parameter:v,readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t)}):v}case E.ClassDeclaration:!t.name&&(!(0,pe.hasModifier)(_t.SyntaxKind.ExportKeyword,t)||!(0,pe.hasModifier)(_t.SyntaxKind.DefaultKeyword,t))&&Ne(this,Pe,"m",br).call(this,t,"A class declaration without the 'default' modifier must have a name.");case E.ClassExpression:{let l=t.heritageClauses??[],v=t.kind===E.ClassDeclaration?J.AST_NODE_TYPES.ClassDeclaration:J.AST_NODE_TYPES.ClassExpression,y,C;for(let k of l){let{token:L,types:G}=k;G.length===0&&Ne(this,Pe,"m",br).call(this,k,`'${_t.tokenToString(L)}' list cannot be empty.`),L===E.ExtendsKeyword?(y&&Ne(this,Pe,"m",br).call(this,k,"'extends' clause already seen."),C&&Ne(this,Pe,"m",br).call(this,k,"'extends' clause must precede 'implements' clause."),G.length>1&&Ne(this,Pe,"m",br).call(this,G[1],"Classes can only extend a single class."),y??(y=k)):L===E.ImplementsKeyword&&(C&&Ne(this,Pe,"m",br).call(this,k,"'implements' clause already seen."),C??(C=k))}let S=this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:v,abstract:(0,pe.hasModifier)(E.AbstractKeyword,t),body:this.createNode(t,{type:J.AST_NODE_TYPES.ClassBody,body:t.members.filter(pe.isESTreeClassMember).map(k=>this.convertChild(k)),range:[t.members.pos-1,t.end]}),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),decorators:((p=(0,Zi.getDecorators)(t))==null?void 0:p.map(k=>this.convertChild(k)))??[],id:this.convertChild(t.name),implements:(C==null?void 0:C.types.map(k=>this.convertChild(k)))??[],superClass:y!=null&&y.types[0]?this.convertChild(y.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)},"superTypeParameters","superTypeArguments"));return(d=y==null?void 0:y.types[0])!=null&&d.typeArguments&&(S.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(y.types[0].typeArguments,y.types[0])),this.fixExports(t,S)}case E.ModuleBlock:return this.createNode(t,{type:J.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case E.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let l=this.createNode(t,{type:J.AST_NODE_TYPES.ImportDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:[],importKind:"value",assertions:this.convertAssertClasue(t.assertClause)});if(t.importClause&&(t.importClause.isTypeOnly&&(l.importKind="type"),t.importClause.name&&l.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case E.NamespaceImport:l.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case E.NamedImports:l.specifiers=l.specifiers.concat(t.importClause.namedBindings.elements.map(v=>this.convertChild(v)));break}return l}case E.NamespaceImport:return this.createNode(t,{type:J.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case E.ImportSpecifier:return this.createNode(t,{type:J.AST_NODE_TYPES.ImportSpecifier,local:this.convertChild(t.name),imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value"});case E.ImportClause:{let l=this.convertChild(t.name);return this.createNode(t,{type:J.AST_NODE_TYPES.ImportDefaultSpecifier,local:l,range:l.range})}case E.ExportDeclaration:return((h=t.exportClause)==null?void 0:h.kind)===E.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,{type:J.AST_NODE_TYPES.ExportNamedDeclaration,source:this.convertChild(t.moduleSpecifier),specifiers:t.exportClause.elements.map(l=>this.convertChild(l)),exportKind:t.isTypeOnly?"type":"value",declaration:null,assertions:this.convertAssertClasue(t.assertClause)})):(this.assertModuleSpecifier(t,!1),this.createNode(t,{type:J.AST_NODE_TYPES.ExportAllDeclaration,source:this.convertChild(t.moduleSpecifier),exportKind:t.isTypeOnly?"type":"value",exported:t.exportClause&&t.exportClause.kind===E.NamespaceExport?this.convertChild(t.exportClause.name):null,assertions:this.convertAssertClasue(t.assertClause)}));case E.ExportSpecifier:return this.createNode(t,{type:J.AST_NODE_TYPES.ExportSpecifier,local:this.convertChild(t.propertyName??t.name),exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value"});case E.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:J.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:J.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case E.PrefixUnaryExpression:case E.PostfixUnaryExpression:{let l=(0,pe.getTextForTokenKind)(t.operator);return l==="++"||l==="--"?this.createNode(t,{type:J.AST_NODE_TYPES.UpdateExpression,operator:l,prefix:t.kind===E.PrefixUnaryExpression,argument:this.convertChild(t.operand)}):this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:l,prefix:t.kind===E.PrefixUnaryExpression,argument:this.convertChild(t.operand)})}case E.DeleteExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:"delete",prefix:!0,argument:this.convertChild(t.expression)});case E.VoidExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:"void",prefix:!0,argument:this.convertChild(t.expression)});case E.TypeOfExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.UnaryExpression,operator:"typeof",prefix:!0,argument:this.convertChild(t.expression)});case E.TypeOperator:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeOperator,operator:(0,pe.getTextForTokenKind)(t.operator),typeAnnotation:this.convertChild(t.type)});case E.BinaryExpression:{if((0,pe.isComma)(t.operatorToken)){let v=this.createNode(t,{type:J.AST_NODE_TYPES.SequenceExpression,expressions:[]}),y=this.convertChild(t.left);return y.type===J.AST_NODE_TYPES.SequenceExpression&&t.left.kind!==E.ParenthesizedExpression?v.expressions=v.expressions.concat(y.expressions):v.expressions.push(y),v.expressions.push(this.convertChild(t.right)),v}let l=(0,pe.getBinaryExpressionType)(t.operatorToken);return this.allowPattern&&l.type===J.AST_NODE_TYPES.AssignmentExpression?this.createNode(t,{type:J.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{...l,left:this.converter(t.left,t,l.type===J.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(t.right)})}case E.PropertyAccessExpression:{let l=this.convertChild(t.expression),v=this.convertChild(t.name),y=!1,C=this.createNode(t,{type:J.AST_NODE_TYPES.MemberExpression,object:l,property:v,computed:y,optional:t.questionDotToken!==void 0});return this.convertChainExpression(C,t)}case E.ElementAccessExpression:{let l=this.convertChild(t.expression),v=this.convertChild(t.argumentExpression),y=!0,C=this.createNode(t,{type:J.AST_NODE_TYPES.MemberExpression,object:l,property:v,computed:y,optional:t.questionDotToken!==void 0});return this.convertChainExpression(C,t)}case E.CallExpression:{if(t.expression.kind===E.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&Ne(this,Pe,"m",br).call(this,t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,{type:J.AST_NODE_TYPES.ImportExpression,source:this.convertChild(t.arguments[0]),attributes:t.arguments[1]?this.convertChild(t.arguments[1]):null});let l=this.convertChild(t.expression),v=t.arguments.map(S=>this.convertChild(S)),y=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),C=this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.CallExpression,callee:l,arguments:v,optional:t.questionDotToken!==void 0,typeArguments:y},"typeParameters","typeArguments"));return this.convertChainExpression(C,t)}case E.NewExpression:{let l=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.NewExpression,arguments:t.arguments?t.arguments.map(v=>this.convertChild(v)):[],callee:this.convertChild(t.expression),typeArguments:l},"typeParameters","typeArguments"))}case E.ConditionalExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.ConditionalExpression,test:this.convertChild(t.condition),consequent:this.convertChild(t.whenTrue),alternate:this.convertChild(t.whenFalse)});case E.MetaProperty:return this.createNode(t,{type:J.AST_NODE_TYPES.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:J.AST_NODE_TYPES.Identifier,decorators:[],name:(0,pe.getTextForTokenKind)(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case E.Decorator:return this.createNode(t,{type:J.AST_NODE_TYPES.Decorator,expression:this.convertChild(t.expression)});case E.StringLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:r.kind===E.JsxAttribute?(0,pe.unescapeStringLiteralText)(t.text):t.text,raw:t.getText()});case E.NumericLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:Number(t.text),raw:t.getText()});case E.BigIntLiteral:{let l=(0,pe.getRange)(t,this.ast),v=this.ast.text.slice(l[0],l[1]),y=v.slice(0,-1).replace(/_/g,""),C=typeof BigInt<"u"?BigInt(y):null;return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,raw:v,value:C,bigint:C==null?y:String(C),range:l})}case E.RegularExpressionLiteral:{let l=t.text.slice(1,t.text.lastIndexOf("/")),v=t.text.slice(t.text.lastIndexOf("/")+1),y=null;try{y=new RegExp(l,v)}catch{}return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:y,raw:t.text,regex:{pattern:l,flags:v}})}case E.TrueKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:!0,raw:"true"});case E.FalseKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:!1,raw:"false"});case E.NullKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.Literal,value:null,raw:"null"});case E.EmptyStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.EmptyStatement});case E.DebuggerStatement:return this.createNode(t,{type:J.AST_NODE_TYPES.DebuggerStatement});case E.JsxElement:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXElement,openingElement:this.convertChild(t.openingElement),closingElement:this.convertChild(t.closingElement),children:t.children.map(l=>this.convertChild(l))});case E.JsxFragment:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXFragment,openingFragment:this.convertChild(t.openingFragment),closingFragment:this.convertChild(t.closingFragment),children:t.children.map(l=>this.convertChild(l))});case E.JsxSelfClosingElement:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXElement,openingElement:this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.JSXOpeningElement,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0,selfClosing:!0,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(l=>this.convertChild(l)),range:(0,pe.getRange)(t,this.ast)},"typeParameters","typeArguments")),closingElement:null,children:[]});case E.JsxOpeningElement:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.JSXOpeningElement,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),selfClosing:!1,name:this.convertJSXTagName(t.tagName,t),attributes:t.attributes.properties.map(l=>this.convertChild(l))},"typeParameters","typeArguments"));case E.JsxClosingElement:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case E.JsxOpeningFragment:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXOpeningFragment});case E.JsxClosingFragment:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXClosingFragment});case E.JsxExpression:{let l=t.expression?this.convertChild(t.expression):this.createNode(t,{type:J.AST_NODE_TYPES.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:J.AST_NODE_TYPES.JSXSpreadChild,expression:l}):this.createNode(t,{type:J.AST_NODE_TYPES.JSXExpressionContainer,expression:l})}case E.JsxAttribute:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case E.JsxText:{let l=t.getFullStart(),v=t.getEnd(),y=this.ast.text.slice(l,v);return this.createNode(t,{type:J.AST_NODE_TYPES.JSXText,value:(0,pe.unescapeStringLiteralText)(y),raw:y,range:[l,v]})}case E.JsxSpreadAttribute:return this.createNode(t,{type:J.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case E.QualifiedName:return this.createNode(t,{type:J.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case E.TypeReference:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TSTypeReference,typeName:this.convertChild(t.typeName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)},"typeParameters","typeArguments"));case E.TypeParameter:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeParameter,name:this.convertChild(t.name),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:(0,pe.hasModifier)(E.InKeyword,t),out:(0,pe.hasModifier)(E.OutKeyword,t),const:(0,pe.hasModifier)(E.ConstKeyword,t)});case E.ThisType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSThisType});case E.AnyKeyword:case E.BigIntKeyword:case E.BooleanKeyword:case E.NeverKeyword:case E.NumberKeyword:case E.ObjectKeyword:case E.StringKeyword:case E.SymbolKeyword:case E.UnknownKeyword:case E.VoidKeyword:case E.UndefinedKeyword:case E.IntrinsicKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES[`TS${E[t.kind]}`]});case E.NonNullExpression:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(l,t)}case E.TypeLiteral:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeLiteral,members:t.members.map(l=>this.convertChild(l))});case E.ArrayType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSArrayType,elementType:this.convertChild(t.elementType)});case E.IndexedAccessType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSIndexedAccessType,objectType:this.convertChild(t.objectType),indexType:this.convertChild(t.indexType)});case E.ConditionalType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),trueType:this.convertChild(t.trueType),falseType:this.convertChild(t.falseType)});case E.TypeQuery:return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)},"typeParameters","typeArguments"));case E.MappedType:return t.members&&t.members.length>0&&Ne(this,Pe,"m",br).call(this,t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,{type:J.AST_NODE_TYPES.TSMappedType,nameType:this.convertChild(t.nameType)??null,optional:t.questionToken&&(t.questionToken.kind===E.QuestionToken||(0,pe.getTextForTokenKind)(t.questionToken.kind)),readonly:t.readonlyToken&&(t.readonlyToken.kind===E.ReadonlyKeyword||(0,pe.getTextForTokenKind)(t.readonlyToken.kind)),typeAnnotation:t.type&&this.convertChild(t.type),typeParameter:this.convertChild(t.typeParameter)});case E.ParenthesizedExpression:return this.convertChild(t.expression,r);case E.TypeAliasDeclaration:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeAliasDeclaration,declare:(0,pe.hasModifier)(E.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,l)}case E.MethodSignature:return this.convertMethodSignature(t);case E.PropertySignature:{let{initializer:l}=t;return l&&Ne(this,Pe,"m",st).call(this,l,"A property signature cannot have an initializer."),this.createNode(t,{type:J.AST_NODE_TYPES.TSPropertySignature,accessibility:(0,pe.getTSNodeAccessibility)(t),computed:(0,pe.isComputedProperty)(t.name),key:this.convertChild(t.name),optional:(0,pe.isOptional)(t),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case E.IndexSignature:return this.createNode(t,{type:J.AST_NODE_TYPES.TSIndexSignature,accessibility:(0,pe.getTSNodeAccessibility)(t),parameters:t.parameters.map(l=>this.convertChild(l)),readonly:(0,pe.hasModifier)(E.ReadonlyKeyword,t),static:(0,pe.hasModifier)(E.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case E.ConstructorType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSConstructorType,abstract:(0,pe.hasModifier)(E.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case E.FunctionType:{let{modifiers:l}=t;l&&Ne(this,Pe,"m",st).call(this,l[0],"A function type cannot have modifiers.")}case E.ConstructSignature:case E.CallSignature:{let l=t.kind===E.ConstructSignature?J.AST_NODE_TYPES.TSConstructSignatureDeclaration:t.kind===E.CallSignature?J.AST_NODE_TYPES.TSCallSignatureDeclaration:J.AST_NODE_TYPES.TSFunctionType;return this.createNode(t,{type:l,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case E.ExpressionWithTypeArguments:{let l=r.kind,v=l===E.InterfaceDeclaration?J.AST_NODE_TYPES.TSInterfaceHeritage:l===E.HeritageClause?J.AST_NODE_TYPES.TSClassImplements:J.AST_NODE_TYPES.TSInstantiationExpression;return this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:v,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)},"typeParameters","typeArguments"))}case E.InterfaceDeclaration:{let l=t.heritageClauses??[],v=[];for(let C of l){C.token!==E.ExtendsKeyword&&Ne(this,Pe,"m",st).call(this,C,C.token===E.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token.");for(let S of C.types)v.push(this.convertChild(S,t))}let y=this.createNode(t,{type:J.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(t,{type:J.AST_NODE_TYPES.TSInterfaceBody,body:t.members.map(C=>this.convertChild(C)),range:[t.members.pos-1,t.end]}),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),extends:v,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,y)}case E.TypePredicate:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSTypePredicate,asserts:t.assertsModifier!==void 0,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(l.typeAnnotation=this.convertTypeAnnotation(t.type,t),l.typeAnnotation.loc=l.typeAnnotation.typeAnnotation.loc,l.typeAnnotation.range=l.typeAnnotation.typeAnnotation.range),l}case E.ImportType:{let l=(0,pe.getRange)(t,this.ast);if(t.isTypeOf){let y=(0,pe.findNextToken)(t.getFirstToken(),t,this.ast);l[0]=y.getStart(this.ast)}let v=this.createNode(t,Ne(this,Pe,"m",oi).call(this,{type:J.AST_NODE_TYPES.TSImportType,argument:this.convertChild(t.argument),qualifier:this.convertChild(t.qualifier),typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null,range:l},"typeParameters","typeArguments"));return t.isTypeOf?this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeQuery,exprName:v,typeArguments:void 0,typeParameters:void 0}):v}case E.EnumDeclaration:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSEnumDeclaration,const:(0,pe.hasModifier)(E.ConstKeyword,t),declare:(0,pe.hasModifier)(E.DeclareKeyword,t),id:this.convertChild(t.name),members:t.members.map(v=>this.convertChild(v))});return this.fixExports(t,l)}case E.EnumMember:return this.createNode(t,{type:J.AST_NODE_TYPES.TSEnumMember,computed:t.name.kind===_t.SyntaxKind.ComputedPropertyName,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)});case E.ModuleDeclaration:{let l=(0,pe.hasModifier)(E.DeclareKeyword,t),v=this.createNode(t,{type:J.AST_NODE_TYPES.TSModuleDeclaration,...(()=>{if(t.flags&_t.NodeFlags.GlobalAugmentation){let C=this.convertChild(t.name),S=this.convertChild(t.body);return(S==null||S.type===J.AST_NODE_TYPES.TSModuleDeclaration)&&Ne(this,Pe,"m",br).call(this,t.body??t,"Expected a valid module body"),C.type!==J.AST_NODE_TYPES.Identifier&&Ne(this,Pe,"m",br).call(this,t.name,"global module augmentation must have an Identifier id"),{kind:"global",body:S,declare:!1,global:!1,id:C}}if(!(t.flags&_t.NodeFlags.Namespace)){let C=this.convertChild(t.body);return{kind:"module",...C!=null?{body:C}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&Ne(this,Pe,"m",br).call(this,t,"Expected a module body"),t.name.kind!==_t.SyntaxKind.Identifier&&Ne(this,Pe,"m",br).call(this,t.name,"`namespace`s must have an Identifier id");let y=this.createNode(t.name,{decorators:[],name:t.name.text,optional:!1,range:[t.name.getStart(this.ast),t.name.getEnd()],type:J.AST_NODE_TYPES.Identifier,typeAnnotation:void 0});for(;t.body&&_t.isModuleDeclaration(t.body)&&t.body.name;){t=t.body,l||(l=(0,pe.hasModifier)(E.DeclareKeyword,t));let C=t.name,S=this.createNode(C,{decorators:[],name:C.text,optional:!1,range:[C.getStart(this.ast),C.getEnd()],type:J.AST_NODE_TYPES.Identifier,typeAnnotation:void 0});y=this.createNode(C,{left:y,right:S,range:[y.range[0],S.range[1]],type:J.AST_NODE_TYPES.TSQualifiedName})}return{kind:"namespace",body:this.convertChild(t.body),declare:!1,global:!1,id:y}})()});return v.declare=l,t.flags&_t.NodeFlags.GlobalAugmentation&&(v.global=!0),this.fixExports(t,v)}case E.ParenthesizedType:return this.convertChild(t.type);case E.UnionType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSUnionType,types:t.types.map(l=>this.convertChild(l))});case E.IntersectionType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSIntersectionType,types:t.types.map(l=>this.convertChild(l))});case E.AsExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case E.InferType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case E.LiteralType:return t.literal.kind===E.NullKeyword?this.createNode(t.literal,{type:J.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:J.AST_NODE_TYPES.TSLiteralType,literal:this.convertChild(t.literal)});case E.TypeAssertionExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.TSTypeAssertion,typeAnnotation:this.convertChild(t.type),expression:this.convertChild(t.expression)});case E.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:J.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case E.ExternalModuleReference:return this.createNode(t,{type:J.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(t.expression)});case E.NamespaceExportDeclaration:return this.createNode(t,{type:J.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case E.AbstractKeyword:return this.createNode(t,{type:J.AST_NODE_TYPES.TSAbstractKeyword});case E.TupleType:{let l="elementTypes"in t?t.elementTypes.map(v=>this.convertChild(v)):t.elements.map(v=>this.convertChild(v));return this.createNode(t,{type:J.AST_NODE_TYPES.TSTupleType,elementTypes:l})}case E.NamedTupleMember:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(l.range[0]=l.label.range[0],l.loc.start=l.label.loc.start,this.createNode(t,{type:J.AST_NODE_TYPES.TSRestType,typeAnnotation:l})):l}case E.OptionalType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case E.RestType:return this.createNode(t,{type:J.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertChild(t.type)});case E.TemplateLiteralType:{let l=this.createNode(t,{type:J.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(v=>{l.types.push(this.convertChild(v.type)),l.quasis.push(this.convertChild(v.literal))}),l}case E.ClassStaticBlockDeclaration:return this.createNode(t,{type:J.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case E.AssertEntry:return this.createNode(t,{type:J.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case E.SatisfiesExpression:return this.createNode(t,{type:J.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}};yn.Converter=K6;Pe=new WeakSet,ow=function(t){if(!this.options.allowInvalidAST){(0,pe.nodeHasIllegalDecorators)(t)&&Ne(this,Pe,"m",st).call(this,t.illegalDecorators[0],"Decorators are not valid here.");for(let r of(0,Zi.getDecorators)(t,!0)??[])(0,pe.nodeCanBeDecorated)(t)||(_t.isMethodDeclaration(t)&&!(0,pe.nodeIsPresent)(t.body)?Ne(this,Pe,"m",st).call(this,r,"A decorator can only decorate a method implementation, not an overload."):Ne(this,Pe,"m",st).call(this,r,"Decorators are not valid here."));for(let r of(0,Zi.getModifiers)(t,!0)??[]){if(r.kind!==E.ReadonlyKeyword&&((t.kind===E.PropertySignature||t.kind===E.MethodSignature)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a type member`),t.kind===E.IndexSignature&&(r.kind!==E.StaticKeyword||!_t.isClassLike(t.parent))&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on an index signature`)),r.kind!==E.InKeyword&&r.kind!==E.OutKeyword&&r.kind!==E.ConstKeyword&&t.kind===E.TypeParameter&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a type parameter`),(r.kind===E.InKeyword||r.kind===E.OutKeyword)&&(t.kind!==E.TypeParameter||!(_t.isInterfaceDeclaration(t.parent)||_t.isClassLike(t.parent)||_t.isTypeAliasDeclaration(t.parent)))&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`),r.kind===E.ReadonlyKeyword&&t.kind!==E.PropertyDeclaration&&t.kind!==E.PropertySignature&&t.kind!==E.IndexSignature&&t.kind!==E.Parameter&&Ne(this,Pe,"m",st).call(this,r,"'readonly' modifier can only appear on a property declaration or index signature."),r.kind===E.DeclareKeyword&&_t.isClassLike(t.parent)&&!_t.isPropertyDeclaration(t)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on class elements of this kind.`),r.kind===E.DeclareKeyword&&_t.isVariableStatement(t)){let a=(0,pe.getDeclarationKind)(t.declarationList);(a==="using"||a==="await using")&&Ne(this,Pe,"m",st).call(this,r,`'declare' modifier cannot appear on a '${a}' declaration.`)}if(r.kind===E.AbstractKeyword&&t.kind!==E.ClassDeclaration&&t.kind!==E.ConstructorType&&t.kind!==E.MethodDeclaration&&t.kind!==E.PropertyDeclaration&&t.kind!==E.GetAccessor&&t.kind!==E.SetAccessor&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier can only appear on a class, method, or property declaration.`),(r.kind===E.StaticKeyword||r.kind===E.PublicKeyword||r.kind===E.ProtectedKeyword||r.kind===E.PrivateKeyword)&&(t.parent.kind===E.ModuleBlock||t.parent.kind===E.SourceFile)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a module or namespace element.`),r.kind===E.AccessorKeyword&&t.kind!==E.PropertyDeclaration&&Ne(this,Pe,"m",st).call(this,r,"'accessor' modifier can only appear on a property declaration."),r.kind===E.AsyncKeyword&&t.kind!==E.MethodDeclaration&&t.kind!==E.FunctionDeclaration&&t.kind!==E.FunctionExpression&&t.kind!==E.ArrowFunction&&Ne(this,Pe,"m",st).call(this,r,"'async' modifier cannot be used here."),t.kind===E.Parameter&&(r.kind===E.StaticKeyword||r.kind===E.ExportKeyword||r.kind===E.DeclareKeyword||r.kind===E.AsyncKeyword)&&Ne(this,Pe,"m",st).call(this,r,`'${_t.tokenToString(r.kind)}' modifier cannot appear on a parameter.`),t.kind===E.Parameter&&(r.kind===E.PublicKeyword||r.kind===E.PrivateKeyword||r.kind===E.ProtectedKeyword||r.kind===E.ReadonlyKeyword||r.kind===E.OverrideKeyword)){let a=(0,pe.getContainingFunction)(t);a.kind===E.Constructor&&(0,pe.nodeIsPresent)(a.body)||Ne(this,Pe,"m",st).call(this,r,"A parameter property is only allowed in a constructor implementation.")}}}},br=function(t,r){this.options.allowInvalidAST||Ne(this,Pe,"m",st).call(this,t,r)},oi=function(t,r,a){let _=!1;return Object.defineProperty(t,r,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>t[a]:()=>(_||((void 0)(`The '${r}' property is deprecated on ${t.type} nodes. Use '${a}' instead. See https://typescript-eslint.io/linting/troubleshooting#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),_=!0),t[a]),set(p){Object.defineProperty(t,r,{enumerable:!0,writable:!0,value:p})}}),t},st=function(t,r){let a,_;throw typeof t=="number"?a=_=t:(a=t.getStart(this.ast),_=t.getEnd()),(0,pe.createError)(r,this.ast,a,_)}});var e9=ut((CH,Zw)=>{"use strict";var AU=Object.create,Wm=Object.defineProperty,kU=Object.getOwnPropertyDescriptor,DU=Object.getOwnPropertyNames,PU=Object.getPrototypeOf,IU=Object.prototype.hasOwnProperty,NU=(e,t)=>{for(var r in t)Wm(e,r,{get:t[r],enumerable:!0})},lw=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let _ of DU(t))!IU.call(e,_)&&_!==r&&Wm(e,_,{get:()=>t[_],enumerable:!(a=kU(t,_))||a.enumerable});return e},Pr=(e,t,r)=>(r=e!=null?AU(PU(e)):{},lw(t||!e||!e.__esModule?Wm(r,"default",{value:e,enumerable:!0}):r,e)),OU=e=>lw(Wm({},"__esModule",{value:!0}),e),uw={};NU(uw,{forEachComment:()=>LU,forEachToken:()=>pw,getCallSignaturesOfType:()=>tb,getPropertyOfType:()=>gb,getWellKnownSymbolPropertyOfType:()=>Zz,hasDecorators:()=>Bq,hasExpressionInitializer:()=>Ow,hasInitializer:()=>Uq,hasJSDoc:()=>qq,hasModifiers:()=>zq,hasType:()=>Wq,hasTypeArguments:()=>Vq,includesModifier:()=>jU,intersectionTypeParts:()=>iW,isAbstractKeyword:()=>FU,isAccessExpression:()=>kq,isAccessibilityModifier:()=>sb,isAccessorDeclaration:()=>_b,isAccessorKeyword:()=>hw,isAnyKeyword:()=>BU,isArrayBindingElement:()=>Dq,isArrayBindingOrAssignmentPattern:()=>kw,isAssertKeyword:()=>UU,isAssertsKeyword:()=>qU,isAssignmentKind:()=>yz,isAssignmentPattern:()=>Pq,isAsyncKeyword:()=>zU,isAwaitKeyword:()=>WU,isBigIntKeyword:()=>VU,isBigIntLiteralType:()=>Hz,isBindingOrAssignmentElementRestIndicator:()=>Iq,isBindingOrAssignmentElementTarget:()=>Nq,isBindingOrAssignmentPattern:()=>Dw,isBindingPattern:()=>cb,isBlockLike:()=>Oq,isBooleanKeyword:()=>HU,isBooleanLiteral:()=>Pw,isBooleanLiteralType:()=>hb,isClassLikeDeclaration:()=>Vm,isClassMemberModifier:()=>Mq,isColonToken:()=>GU,isCompilerOptionEnabled:()=>ja,isConditionalType:()=>Mz,isConstAssertionExpression:()=>Jw,isConstKeyword:()=>XU,isDeclarationName:()=>Iw,isDeclarationWithTypeParameterChildren:()=>Nw,isDeclarationWithTypeParameters:()=>Lq,isDeclareKeyword:()=>$U,isDefaultKeyword:()=>QU,isDestructuringPattern:()=>Jq,isDotToken:()=>YU,isEndOfFileToken:()=>yw,isEntityNameExpression:()=>hu,isEntityNameOrEntityNameExpression:()=>Rq,isEnumType:()=>Lz,isEqualsGreaterThanToken:()=>KU,isEqualsToken:()=>ZU,isEvolvingArrayType:()=>Wz,isExclamationToken:()=>eq,isExportKeyword:()=>tq,isFalseKeyword:()=>rq,isFalseLiteral:()=>gw,isFalseLiteralType:()=>yb,isFalsyType:()=>nW,isForInOrOfStatement:()=>jq,isFreshableIntrinsicType:()=>Vz,isFreshableType:()=>Hw,isFunctionLikeDeclaration:()=>Fq,isFunctionScopeBoundary:()=>hz,isImportExpression:()=>nq,isImportKeyword:()=>iq,isInKeyword:()=>aq,isIndexType:()=>Jz,isIndexedAccessType:()=>Rz,isInputFiles:()=>oq,isInstantiableType:()=>jz,isIntersectionType:()=>Hm,isIntrinsicAnyType:()=>vz,isIntrinsicBigIntType:()=>Sz,isIntrinsicBooleanType:()=>Tz,isIntrinsicESSymbolType:()=>wz,isIntrinsicErrorType:()=>xz,isIntrinsicNeverType:()=>Ez,isIntrinsicNonPrimitiveType:()=>Az,isIntrinsicNullType:()=>kz,isIntrinsicNumberType:()=>Dz,isIntrinsicStringType:()=>Pz,isIntrinsicType:()=>fb,isIntrinsicUndefinedType:()=>Iz,isIntrinsicUnknownType:()=>Nz,isIntrinsicVoidType:()=>Oz,isIterationStatement:()=>mz,isJSDocComment:()=>Hq,isJSDocNamespaceBody:()=>lb,isJSDocNamespaceDeclaration:()=>Rw,isJSDocText:()=>bw,isJSDocTypeReferencingNode:()=>Gq,isJsonMinusNumericLiteral:()=>vw,isJsonObjectExpression:()=>Xq,isJsxAttributeLike:()=>$q,isJsxAttributeValue:()=>Qq,isJsxChild:()=>Yq,isJsxTagNameExpression:()=>Mw,isJsxTagNamePropertyAccess:()=>jw,isLiteralToken:()=>Kq,isLiteralType:()=>Gz,isModifierFlagSet:()=>fw,isModuleBody:()=>Zq,isModuleName:()=>ez,isModuleReference:()=>tz,isNamedDeclarationWithName:()=>Fw,isNamedImportBindings:()=>rz,isNamedImportsOrExports:()=>nz,isNamespaceBody:()=>ub,isNamespaceDeclaration:()=>Bw,isNeverKeyword:()=>sq,isNodeFlagSet:()=>dw,isNullKeyword:()=>_q,isNullLiteral:()=>Tw,isNumberKeyword:()=>cq,isNumberLiteralType:()=>Xz,isNumericOrStringLikeLiteral:()=>Uw,isNumericPropertyName:()=>Vw,isObjectBindingOrAssignmentElement:()=>iz,isObjectBindingOrAssignmentPattern:()=>Lw,isObjectFlagSet:()=>mu,isObjectKeyword:()=>lq,isObjectType:()=>yu,isObjectTypeDeclaration:()=>az,isOutKeyword:()=>uq,isOverrideKeyword:()=>pq,isParameterPropertyModifier:()=>oz,isPrivateKeyword:()=>Sw,isPropertyAccessEntityNameExpression:()=>qw,isPropertyNameLiteral:()=>sz,isPropertyReadonlyInType:()=>Yw,isProtectedKeyword:()=>xw,isPseudoLiteralToken:()=>_z,isPublicKeyword:()=>ww,isQuestionDotToken:()=>fq,isQuestionToken:()=>dq,isReadonlyKeyword:()=>ab,isSignatureDeclaration:()=>pb,isStaticKeyword:()=>Cw,isStrictCompilerOptionEnabled:()=>rb,isStringKeyword:()=>mq,isStringLiteralType:()=>$z,isStringMappingType:()=>Fz,isSubstitutionType:()=>Bz,isSuperElementAccessExpression:()=>zw,isSuperExpression:()=>ob,isSuperKeyword:()=>hq,isSuperProperty:()=>cz,isSuperPropertyAccessExpression:()=>Ww,isSymbolFlagSet:()=>mw,isSymbolKeyword:()=>yq,isSyntaxList:()=>gq,isTemplateLiteralType:()=>Qz,isThenableType:()=>cW,isThisExpression:()=>Ew,isThisKeyword:()=>bq,isTrueKeyword:()=>vq,isTrueLiteral:()=>Aw,isTrueLiteralType:()=>Yz,isTupleType:()=>Xw,isTupleTypeReference:()=>Qw,isTypeFlagSet:()=>tt,isTypeOnlyCompatibleAliasDeclaration:()=>lz,isTypeParameter:()=>Uz,isTypeReference:()=>$w,isTypeReferenceType:()=>uz,isTypeVariable:()=>qz,isUndefinedKeyword:()=>Tq,isUnionOrIntersectionType:()=>zz,isUnionOrIntersectionTypeNode:()=>pz,isUnionType:()=>mb,isUniqueESSymbolType:()=>Gw,isUnknownKeyword:()=>Sq,isUnknownLiteralType:()=>Kz,isUnparsedPrologue:()=>xq,isUnparsedSourceText:()=>fz,isUnparsedSyntheticReference:()=>wq,isValidPropertyAccess:()=>gz,isVariableLikeDeclaration:()=>dz,isVoidKeyword:()=>Cq,symbolHasReadonlyDeclaration:()=>Kw,unionTypeParts:()=>du});Zw.exports=OU(uw);var Zr=Pr(Dt(),1),sw=Pr(Dt(),1);function pw(e,t,r=e.getSourceFile()){let a=[];for(;;){if(sw.default.isTokenKind(e.kind))t(e);else if(e.kind!==sw.default.SyntaxKind.JSDocComment){let _=e.getChildren(r);if(_.length===1){e=_[0];continue}for(let p=_.length-1;p>=0;--p)a.push(_[p])}if(a.length===0)break;e=a.pop()}}function MU(e){switch(e.kind){case Zr.default.SyntaxKind.CloseBraceToken:return e.parent.kind!==Zr.default.SyntaxKind.JsxExpression||!eb(e.parent.parent);case Zr.default.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case Zr.default.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case Zr.default.SyntaxKind.JsxOpeningFragment:return!1;case Zr.default.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!eb(e.parent.parent);case Zr.default.SyntaxKind.JsxClosingElement:case Zr.default.SyntaxKind.JsxClosingFragment:return!eb(e.parent.parent.parent)}}return!0}function eb(e){return e.kind===Zr.default.SyntaxKind.JsxElement||e.kind===Zr.default.SyntaxKind.JsxFragment}function LU(e,t,r=e.getSourceFile()){let a=r.text,_=r.languageVariant!==Zr.default.LanguageVariant.JSX;return pw(e,d=>{if(d.pos!==d.end&&(d.kind!==Zr.default.SyntaxKind.JsxText&&Zr.default.forEachLeadingCommentRange(a,d.pos===0?(Zr.default.getShebang(a)??"").length:d.pos,p),_||MU(d)))return Zr.default.forEachTrailingCommentRange(a,d.end,p)},r);function p(d,h,l){t(a,{pos:d,end:h,kind:l})}}var JU=Pr(Dt(),1);function ja(e,t){switch(t){case"stripInternal":case"declarationMap":case"emitDeclarationOnly":return e[t]===!0&&ja(e,"declaration");case"declaration":return e.declaration||ja(e,"composite");case"incremental":return e.incremental===void 0?ja(e,"composite"):e.incremental;case"skipDefaultLibCheck":return e.skipDefaultLibCheck||ja(e,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return e.suppressImplicitAnyIndexErrors===!0&&ja(e,"noImplicitAny");case"allowSyntheticDefaultImports":return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:ja(e,"esModuleInterop")||e.module===JU.default.ModuleKind.System;case"noUncheckedIndexedAccess":return e.noUncheckedIndexedAccess===!0&&ja(e,"strictNullChecks");case"allowJs":return e.allowJs===void 0?ja(e,"checkJs"):e.allowJs;case"noImplicitAny":case"noImplicitThis":case"strictNullChecks":case"strictFunctionTypes":case"strictPropertyInitialization":case"alwaysStrict":case"strictBindCallApply":return rb(e,t)}return e[t]===!0}function rb(e,t){return(e.strict?e[t]!==!1:e[t]===!0)&&(t!=="strictPropertyInitialization"||rb(e,"strictNullChecks"))}var RU=Pr(Dt(),1);function nb(e,t){return(e&t)!==0}function ib(e,t){return nb(e.flags,t)}function fw(e,t){return nb(RU.default.getCombinedModifierFlags(e),t)}var dw=ib;function mu(e,t){return nb(e.objectFlags,t)}var mw=ib,tt=ib;function jU(e,...t){if(e===void 0)return!1;for(let r of e)if(t.includes(r.kind))return!0;return!1}var pr=Pr(Dt(),1),Fe=Pr(Dt(),1);function FU(e){return e.kind===Fe.default.SyntaxKind.AbstractKeyword}function hw(e){return e.kind===Fe.default.SyntaxKind.AccessorKeyword}function BU(e){return e.kind===Fe.default.SyntaxKind.AnyKeyword}function UU(e){return e.kind===Fe.default.SyntaxKind.AssertKeyword}function qU(e){return e.kind===Fe.default.SyntaxKind.AssertsKeyword}function zU(e){return e.kind===Fe.default.SyntaxKind.AsyncKeyword}function WU(e){return e.kind===Fe.default.SyntaxKind.AwaitKeyword}function VU(e){return e.kind===Fe.default.SyntaxKind.BigIntKeyword}function HU(e){return e.kind===Fe.default.SyntaxKind.BooleanKeyword}function GU(e){return e.kind===Fe.default.SyntaxKind.ColonToken}function XU(e){return e.kind===Fe.default.SyntaxKind.ConstKeyword}function $U(e){return e.kind===Fe.default.SyntaxKind.DeclareKeyword}function QU(e){return e.kind===Fe.default.SyntaxKind.DefaultKeyword}function YU(e){return e.kind===Fe.default.SyntaxKind.DotToken}function yw(e){return e.kind===Fe.default.SyntaxKind.EndOfFileToken}function KU(e){return e.kind===Fe.default.SyntaxKind.EqualsGreaterThanToken}function ZU(e){return e.kind===Fe.default.SyntaxKind.EqualsToken}function eq(e){return e.kind===Fe.default.SyntaxKind.ExclamationToken}function tq(e){return e.kind===Fe.default.SyntaxKind.ExportKeyword}function rq(e){return e.kind===Fe.default.SyntaxKind.FalseKeyword}function gw(e){return e.kind===Fe.default.SyntaxKind.FalseKeyword}function nq(e){return e.kind===Fe.default.SyntaxKind.ImportKeyword}function iq(e){return e.kind===Fe.default.SyntaxKind.ImportKeyword}function aq(e){return e.kind===Fe.default.SyntaxKind.InKeyword}function oq(e){return e.kind===Fe.default.SyntaxKind.InputFiles}function bw(e){return e.kind===Fe.default.SyntaxKind.JSDocText}function vw(e){return e.kind===Fe.default.SyntaxKind.PrefixUnaryExpression}function sq(e){return e.kind===Fe.default.SyntaxKind.NeverKeyword}function _q(e){return e.kind===Fe.default.SyntaxKind.NullKeyword}function Tw(e){return e.kind===Fe.default.SyntaxKind.NullKeyword}function cq(e){return e.kind===Fe.default.SyntaxKind.NumberKeyword}function lq(e){return e.kind===Fe.default.SyntaxKind.ObjectKeyword}function uq(e){return e.kind===Fe.default.SyntaxKind.OutKeyword}function pq(e){return e.kind===Fe.default.SyntaxKind.OverrideKeyword}function Sw(e){return e.kind===Fe.default.SyntaxKind.PrivateKeyword}function xw(e){return e.kind===Fe.default.SyntaxKind.ProtectedKeyword}function ww(e){return e.kind===Fe.default.SyntaxKind.PublicKeyword}function fq(e){return e.kind===Fe.default.SyntaxKind.QuestionDotToken}function dq(e){return e.kind===Fe.default.SyntaxKind.QuestionToken}function ab(e){return e.kind===Fe.default.SyntaxKind.ReadonlyKeyword}function Cw(e){return e.kind===Fe.default.SyntaxKind.StaticKeyword}function mq(e){return e.kind===Fe.default.SyntaxKind.StringKeyword}function ob(e){return e.kind===Fe.default.SyntaxKind.SuperKeyword}function hq(e){return e.kind===Fe.default.SyntaxKind.SuperKeyword}function yq(e){return e.kind===Fe.default.SyntaxKind.SymbolKeyword}function gq(e){return e.kind===Fe.default.SyntaxKind.SyntaxList}function Ew(e){return e.kind===Fe.default.SyntaxKind.ThisKeyword}function bq(e){return e.kind===Fe.default.SyntaxKind.ThisKeyword}function vq(e){return e.kind===Fe.default.SyntaxKind.TrueKeyword}function Aw(e){return e.kind===Fe.default.SyntaxKind.TrueKeyword}function Tq(e){return e.kind===Fe.default.SyntaxKind.UndefinedKeyword}function Sq(e){return e.kind===Fe.default.SyntaxKind.UnknownKeyword}function xq(e){return e.kind===Fe.default.SyntaxKind.UnparsedPrologue}function wq(e){return e.kind===Fe.default.SyntaxKind.UnparsedSyntheticReference}function Cq(e){return e.kind===Fe.default.SyntaxKind.VoidKeyword}var D=Pr(Dt(),1),Eq=Pr(Dt(),1),[_w,Aq]=Eq.default.versionMajorMinor.split(".").map(e=>Number.parseInt(e,10));function fu(e,t=0){return _w>e||_w===e&&Aq>=t}function kq(e){return D.default.isPropertyAccessExpression(e)||D.default.isElementAccessExpression(e)}function sb(e){return ww(e)||Sw(e)||xw(e)}function _b(e){return D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)}function Dq(e){return D.default.isBindingElement(e)||D.default.isOmittedExpression(e)}function kw(e){return D.default.isArrayBindingPattern(e)||D.default.isArrayLiteralExpression(e)}function Pq(e){return D.default.isObjectLiteralExpression(e)||D.default.isArrayLiteralExpression(e)}function Iq(e){return D.default.isSpreadElement(e)||D.default.isSpreadAssignment(e)?!0:fu(4,4)?D.default.isDotDotDotToken(e):!1}function Nq(e){return Dw(e)||D.default.isIdentifier(e)||D.default.isPropertyAccessExpression(e)||D.default.isElementAccessExpression(e)||D.default.isOmittedExpression(e)}function Dw(e){return Lw(e)||kw(e)}function cb(e){return D.default.isObjectBindingPattern(e)||D.default.isArrayBindingPattern(e)}function Oq(e){return D.default.isSourceFile(e)||D.default.isBlock(e)||D.default.isModuleBlock(e)||D.default.isCaseOrDefaultClause(e)}function Pw(e){return Aw(e)||gw(e)}function Vm(e){return D.default.isClassDeclaration(e)||D.default.isClassExpression(e)}function Mq(e){return sb(e)||ab(e)||Cw(e)||hw(e)}function Iw(e){return D.default.isIdentifier(e)||D.default.isPrivateIdentifier(e)||D.default.isStringLiteralLike(e)||D.default.isNumericLiteral(e)||D.default.isComputedPropertyName(e)||D.default.isElementAccessExpression(e)||cb(e)||hu(e)}function Nw(e){return pb(e)||Vm(e)||D.default.isInterfaceDeclaration(e)||D.default.isTypeAliasDeclaration(e)||D.default.isJSDocTemplateTag(e)}function Lq(e){return Nw(e)||D.default.isJSDocTypedefTag(e)||D.default.isJSDocCallbackTag(e)||D.default.isJSDocSignature(e)}function Jq(e){return cb(e)||D.default.isObjectLiteralExpression(e)||D.default.isArrayLiteralExpression(e)}function hu(e){return D.default.isIdentifier(e)||qw(e)}function Rq(e){return D.default.isEntityName(e)||hu(e)}function jq(e){return D.default.isForInStatement(e)||D.default.isForOfStatement(e)}function Fq(e){return D.default.isFunctionDeclaration(e)||D.default.isMethodDeclaration(e)||D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)||D.default.isConstructorDeclaration(e)||D.default.isFunctionExpression(e)||D.default.isArrowFunction(e)}function Bq(e){return D.default.isParameter(e)||D.default.isPropertyDeclaration(e)||D.default.isMethodDeclaration(e)||D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)||D.default.isClassExpression(e)||D.default.isClassDeclaration(e)}function Ow(e){return D.default.isVariableDeclaration(e)||D.default.isParameter(e)||D.default.isBindingElement(e)||D.default.isPropertyDeclaration(e)||D.default.isPropertyAssignment(e)||D.default.isEnumMember(e)}function Uq(e){return Ow(e)||D.default.isForStatement(e)||D.default.isForInStatement(e)||D.default.isForOfStatement(e)||D.default.isJsxAttribute(e)}function qq(e){return!!(_b(e)||D.default.isArrowFunction(e)||D.default.isBlock(e)||D.default.isBreakStatement(e)||D.default.isCallSignatureDeclaration(e)||D.default.isCaseClause(e)||Vm(e)||D.default.isConstructorDeclaration(e)||D.default.isConstructorTypeNode(e)||D.default.isConstructSignatureDeclaration(e)||D.default.isContinueStatement(e)||D.default.isDebuggerStatement(e)||D.default.isDoStatement(e)||D.default.isEmptyStatement(e)||yw(e)||D.default.isEnumDeclaration(e)||D.default.isEnumMember(e)||D.default.isExportAssignment(e)||D.default.isExportDeclaration(e)||D.default.isExportSpecifier(e)||D.default.isExpressionStatement(e)||D.default.isForInStatement(e)||D.default.isForOfStatement(e)||D.default.isForStatement(e)||D.default.isFunctionDeclaration(e)||D.default.isFunctionExpression(e)||D.default.isFunctionTypeNode(e)||D.default.isIfStatement(e)||D.default.isImportDeclaration(e)||D.default.isImportEqualsDeclaration(e)||D.default.isIndexSignatureDeclaration(e)||D.default.isInterfaceDeclaration(e)||D.default.isJSDocFunctionType(e)||D.default.isLabeledStatement(e)||D.default.isMethodDeclaration(e)||D.default.isMethodSignature(e)||D.default.isModuleDeclaration(e)||D.default.isNamedTupleMember(e)||D.default.isNamespaceExportDeclaration(e)||D.default.isParameter(e)||D.default.isParenthesizedExpression(e)||D.default.isPropertyAssignment(e)||D.default.isPropertyDeclaration(e)||D.default.isPropertySignature(e)||D.default.isReturnStatement(e)||D.default.isShorthandPropertyAssignment(e)||D.default.isSpreadAssignment(e)||D.default.isSwitchStatement(e)||D.default.isThrowStatement(e)||D.default.isTryStatement(e)||D.default.isTypeAliasDeclaration(e)||D.default.isVariableDeclaration(e)||D.default.isVariableStatement(e)||D.default.isWhileStatement(e)||D.default.isWithStatement(e)||fu(4,4)&&D.default.isClassStaticBlockDeclaration(e)||fu(5,0)&&(D.default.isBinaryExpression(e)||D.default.isElementAccessExpression(e)||D.default.isIdentifier(e)||D.default.isJSDocSignature(e)||D.default.isObjectLiteralExpression(e)||D.default.isPropertyAccessExpression(e)||D.default.isTypeParameterDeclaration(e)))}function zq(e){return D.default.isTypeParameterDeclaration(e)||D.default.isParameter(e)||D.default.isConstructorTypeNode(e)||D.default.isPropertySignature(e)||D.default.isPropertyDeclaration(e)||D.default.isMethodSignature(e)||D.default.isMethodDeclaration(e)||D.default.isConstructorDeclaration(e)||D.default.isGetAccessorDeclaration(e)||D.default.isSetAccessorDeclaration(e)||D.default.isIndexSignatureDeclaration(e)||D.default.isFunctionExpression(e)||D.default.isArrowFunction(e)||D.default.isClassExpression(e)||D.default.isVariableStatement(e)||D.default.isFunctionDeclaration(e)||D.default.isClassDeclaration(e)||D.default.isInterfaceDeclaration(e)||D.default.isTypeAliasDeclaration(e)||D.default.isEnumDeclaration(e)||D.default.isModuleDeclaration(e)||D.default.isImportEqualsDeclaration(e)||D.default.isImportDeclaration(e)||D.default.isExportAssignment(e)||D.default.isExportDeclaration(e)}function Wq(e){return pb(e)||D.default.isVariableDeclaration(e)||D.default.isParameter(e)||D.default.isPropertySignature(e)||D.default.isPropertyDeclaration(e)||D.default.isTypePredicateNode(e)||D.default.isParenthesizedTypeNode(e)||D.default.isTypeOperatorNode(e)||D.default.isMappedTypeNode(e)||D.default.isAssertionExpression(e)||D.default.isTypeAliasDeclaration(e)||D.default.isJSDocTypeExpression(e)||D.default.isJSDocNonNullableType(e)||D.default.isJSDocNullableType(e)||D.default.isJSDocOptionalType(e)||D.default.isJSDocVariadicType(e)}function Vq(e){return D.default.isCallExpression(e)||D.default.isNewExpression(e)||D.default.isTaggedTemplateExpression(e)||D.default.isJsxOpeningElement(e)||D.default.isJsxSelfClosingElement(e)}function Hq(e){return bw(e)?!0:fu(4,4)?D.default.isJSDocLink(e)||D.default.isJSDocLinkCode(e)||D.default.isJSDocLinkPlain(e):!1}function lb(e){return D.default.isIdentifier(e)||Rw(e)}function Gq(e){return D.default.isJSDocVariadicType(e)||D.default.isJSDocOptionalType(e)||D.default.isJSDocNullableType(e)||D.default.isJSDocNonNullableType(e)}function Xq(e){return D.default.isObjectLiteralExpression(e)||D.default.isArrayLiteralExpression(e)||vw(e)||D.default.isNumericLiteral(e)||D.default.isStringLiteral(e)||Pw(e)||Tw(e)}function $q(e){return D.default.isJsxAttribute(e)||D.default.isJsxSpreadAttribute(e)}function Qq(e){return D.default.isStringLiteral(e)||D.default.isJsxExpression(e)||D.default.isJsxElement(e)||D.default.isJsxSelfClosingElement(e)||D.default.isJsxFragment(e)}function Yq(e){return D.default.isJsxText(e)||D.default.isJsxExpression(e)||D.default.isJsxElement(e)||D.default.isJsxSelfClosingElement(e)||D.default.isJsxFragment(e)}function Mw(e){return D.default.isIdentifier(e)||Ew(e)||jw(e)}function Kq(e){return D.default.isNumericLiteral(e)||D.default.isBigIntLiteral(e)||D.default.isStringLiteral(e)||D.default.isJsxText(e)||D.default.isRegularExpressionLiteral(e)||D.default.isNoSubstitutionTemplateLiteral(e)}function Zq(e){return ub(e)||lb(e)}function ez(e){return D.default.isIdentifier(e)||D.default.isStringLiteral(e)}function tz(e){return D.default.isEntityName(e)||D.default.isExternalModuleReference(e)}function rz(e){return D.default.isNamespaceImport(e)||D.default.isNamedImports(e)}function nz(e){return D.default.isNamedImports(e)||D.default.isNamedExports(e)}function ub(e){return D.default.isModuleBlock(e)||Bw(e)}function iz(e){return D.default.isBindingElement(e)||D.default.isPropertyAssignment(e)||D.default.isShorthandPropertyAssignment(e)||D.default.isSpreadAssignment(e)}function Lw(e){return D.default.isObjectBindingPattern(e)||D.default.isObjectLiteralExpression(e)}function az(e){return Vm(e)||D.default.isInterfaceDeclaration(e)||D.default.isTypeLiteralNode(e)}function oz(e){return sb(e)||ab(e)}function sz(e){return D.default.isIdentifier(e)||D.default.isStringLiteralLike(e)||D.default.isNumericLiteral(e)}function _z(e){return D.default.isTemplateHead(e)||D.default.isTemplateMiddle(e)||D.default.isTemplateTail(e)}function pb(e){return D.default.isCallSignatureDeclaration(e)||D.default.isConstructSignatureDeclaration(e)||D.default.isMethodSignature(e)||D.default.isIndexSignatureDeclaration(e)||D.default.isFunctionTypeNode(e)||D.default.isConstructorTypeNode(e)||D.default.isJSDocFunctionType(e)||D.default.isFunctionDeclaration(e)||D.default.isMethodDeclaration(e)||D.default.isConstructorDeclaration(e)||_b(e)||D.default.isFunctionExpression(e)||D.default.isArrowFunction(e)}function cz(e){return Ww(e)||zw(e)}function lz(e){return!!(D.default.isImportClause(e)||D.default.isImportEqualsDeclaration(e)||D.default.isNamespaceImport(e)||D.default.isImportOrExportSpecifier(e)||fu(5,0)&&(D.default.isExportDeclaration(e)||D.default.isNamespaceExport(e)))}function uz(e){return D.default.isTypeReferenceNode(e)||D.default.isExpressionWithTypeArguments(e)}function pz(e){return D.default.isUnionTypeNode(e)||D.default.isIntersectionTypeNode(e)}function fz(e){return D.default.isUnparsedPrepend(e)||D.default.isUnparsedTextLike(e)}function dz(e){return D.default.isVariableDeclaration(e)||D.default.isParameter(e)||D.default.isBindingElement(e)||D.default.isPropertyDeclaration(e)||D.default.isPropertyAssignment(e)||D.default.isPropertySignature(e)||D.default.isJsxAttribute(e)||D.default.isShorthandPropertyAssignment(e)||D.default.isEnumMember(e)||D.default.isJSDocPropertyTag(e)||D.default.isJSDocParameterTag(e)}function Jw(e){return pr.default.isTypeReferenceNode(e.type)&&pr.default.isIdentifier(e.type.typeName)&&e.type.typeName.escapedText==="const"}function mz(e){switch(e.kind){case pr.default.SyntaxKind.DoStatement:case pr.default.SyntaxKind.ForInStatement:case pr.default.SyntaxKind.ForOfStatement:case pr.default.SyntaxKind.ForStatement:case pr.default.SyntaxKind.WhileStatement:return!0;default:return!1}}function Rw(e){return pr.default.isModuleDeclaration(e)&&pr.default.isIdentifier(e.name)&&(e.body===void 0||lb(e.body))}function jw(e){return pr.default.isPropertyAccessExpression(e)&&Mw(e.expression)}function Fw(e){return"name"in e&&e.name!==void 0&&e.name!==null&&Iw(e.name)}function Bw(e){return pr.default.isModuleDeclaration(e)&&pr.default.isIdentifier(e.name)&&e.body!==void 0&&ub(e.body)}function Uw(e){switch(e.kind){case pr.default.SyntaxKind.StringLiteral:case pr.default.SyntaxKind.NumericLiteral:case pr.default.SyntaxKind.NoSubstitutionTemplateLiteral:return!0;default:return!1}}function qw(e){return pr.default.isPropertyAccessExpression(e)&&pr.default.isIdentifier(e.name)&&hu(e.expression)}function zw(e){return pr.default.isElementAccessExpression(e)&&ob(e.expression)}function Ww(e){return pr.default.isPropertyAccessExpression(e)&&ob(e.expression)}var vr=Pr(Dt(),1);function hz(e){switch(e.kind){case vr.default.SyntaxKind.FunctionExpression:case vr.default.SyntaxKind.ArrowFunction:case vr.default.SyntaxKind.Constructor:case vr.default.SyntaxKind.ModuleDeclaration:case vr.default.SyntaxKind.ClassDeclaration:case vr.default.SyntaxKind.ClassExpression:case vr.default.SyntaxKind.EnumDeclaration:case vr.default.SyntaxKind.MethodDeclaration:case vr.default.SyntaxKind.FunctionDeclaration:case vr.default.SyntaxKind.GetAccessor:case vr.default.SyntaxKind.SetAccessor:case vr.default.SyntaxKind.MethodSignature:case vr.default.SyntaxKind.CallSignature:case vr.default.SyntaxKind.ConstructSignature:case vr.default.SyntaxKind.ConstructorType:case vr.default.SyntaxKind.FunctionType:return!0;case vr.default.SyntaxKind.SourceFile:return vr.default.isExternalModule(e);default:return!1}}var pu=Pr(Dt(),1);function yz(e){return e>=pu.default.SyntaxKind.FirstAssignment&&e<=pu.default.SyntaxKind.LastAssignment}function Vw(e){return String(+e)===e}function cw(e){return e>=65536?2:1}function gz(e,t=pu.default.ScriptTarget.Latest){if(e.length===0)return!1;let r=e.codePointAt(0);if(!pu.default.isIdentifierStart(r,t))return!1;for(let a=cw(r);a<e.length;a+=cw(r))if(r=e.codePointAt(a),!pu.default.isIdentifierPart(r,t))return!1;return!0}var bz=Pr(Dt(),1),Pt=Pr(Dt(),1);function vz(e){return tt(e,Pt.default.TypeFlags.Any)}function Tz(e){return tt(e,Pt.default.TypeFlags.Boolean)}function Sz(e){return tt(e,Pt.default.TypeFlags.BigInt)}function xz(e){return fb(e)&&e.intrinsicName==="error"}function wz(e){return tt(e,Pt.default.TypeFlags.ESSymbol)}var Cz=Pt.default.TypeFlags.Intrinsic??Pt.default.TypeFlags.Any|Pt.default.TypeFlags.Unknown|Pt.default.TypeFlags.String|Pt.default.TypeFlags.Number|Pt.default.TypeFlags.BigInt|Pt.default.TypeFlags.Boolean|Pt.default.TypeFlags.BooleanLiteral|Pt.default.TypeFlags.ESSymbol|Pt.default.TypeFlags.Void|Pt.default.TypeFlags.Undefined|Pt.default.TypeFlags.Null|Pt.default.TypeFlags.Never|Pt.default.TypeFlags.NonPrimitive;function fb(e){return tt(e,Cz)}function Ez(e){return tt(e,Pt.default.TypeFlags.Never)}function Az(e){return tt(e,Pt.default.TypeFlags.NonPrimitive)}function kz(e){return tt(e,Pt.default.TypeFlags.Null)}function Dz(e){return tt(e,Pt.default.TypeFlags.Number)}function Pz(e){return tt(e,Pt.default.TypeFlags.String)}function Iz(e){return tt(e,Pt.default.TypeFlags.Undefined)}function Nz(e){return tt(e,Pt.default.TypeFlags.Unknown)}function Oz(e){return tt(e,Pt.default.TypeFlags.Void)}var db=Pr(Dt(),1),en=Pr(Dt(),1);function Mz(e){return tt(e,en.default.TypeFlags.Conditional)}function Lz(e){return tt(e,en.default.TypeFlags.Enum)}function Hw(e){return tt(e,en.default.TypeFlags.Freshable)}function Jz(e){return tt(e,en.default.TypeFlags.Index)}function Rz(e){return tt(e,en.default.TypeFlags.IndexedAccess)}function jz(e){return tt(e,en.default.TypeFlags.Instantiable)}function Hm(e){return tt(e,en.default.TypeFlags.Intersection)}function yu(e){return tt(e,en.default.TypeFlags.Object)}function Fz(e){return tt(e,en.default.TypeFlags.StringMapping)}function Bz(e){return tt(e,en.default.TypeFlags.Substitution)}function Uz(e){return tt(e,en.default.TypeFlags.TypeParameter)}function qz(e){return tt(e,en.default.TypeFlags.TypeVariable)}function mb(e){return tt(e,en.default.TypeFlags.Union)}function zz(e){return tt(e,en.default.TypeFlags.UnionOrIntersection)}function Gw(e){return tt(e,en.default.TypeFlags.UniqueESSymbol)}function Wz(e){return yu(e)&&mu(e,db.default.ObjectFlags.EvolvingArray)}function Xw(e){return yu(e)&&mu(e,db.default.ObjectFlags.Tuple)}function $w(e){return yu(e)&&mu(e,db.default.ObjectFlags.Reference)}function Vz(e){return fb(e)&&Hw(e)}function Qw(e){return $w(e)&&Xw(e.target)}var us=Pr(Dt(),1);function hb(e){return tt(e,us.default.TypeFlags.BooleanLiteral)}function Hz(e){return tt(e,us.default.TypeFlags.BigIntLiteral)}function yb(e){return hb(e)&&e.intrinsicName==="false"}function Gz(e){return tt(e,us.default.TypeFlags.Literal)}function Xz(e){return tt(e,us.default.TypeFlags.NumberLiteral)}function $z(e){return tt(e,us.default.TypeFlags.StringLiteral)}function Qz(e){return tt(e,us.default.TypeFlags.TemplateLiteral)}function Yz(e){return hb(e)&&e.intrinsicName==="true"}function Kz(e){return tt(e,us.default.TypeFlags.Literal)}function tb(e){if(mb(e)){let t=[];for(let r of e.types)t.push(...tb(r));return t}if(Hm(e)){let t;for(let r of e.types){let a=tb(r);if(a.length!==0){if(t!==void 0)return[];t=a}}return t===void 0?[]:t}return e.getCallSignatures()}function gb(e,t){return t.startsWith("__")?e.getProperties().find(r=>r.escapedName===t):e.getProperty(t)}function Zz(e,t,r){let a="__@"+t;for(let _ of e.getProperties()){if(!_.name.startsWith(a))continue;let p=_.valueDeclaration??_.getDeclarations()[0];if(!Fw(p)||p.name===void 0||!bz.default.isComputedPropertyName(p.name))continue;let d=r.getApparentType(r.getTypeAtLocation(p.name.expression)).symbol;if(_.escapedName===eW(r,d,t))return _}}function eW(e,t,r){let a=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(r),_=a&&e.getTypeOfSymbolAtLocation(a,a.valueDeclaration);return _&&Gw(_)?_.escapedName:"__@"+r}var ur=Pr(Dt(),1),gn=Pr(Dt(),1);function tW(e){return e.arguments.length===3&&hu(e.arguments[0])&&Uw(e.arguments[1])&&gn.default.isPropertyAccessExpression(e.expression)&&e.expression.name.escapedText==="defineProperty"&&gn.default.isIdentifier(e.expression.expression)&&e.expression.expression.escapedText==="Object"}function rW(e){let t=e;for(;;){let r=t.parent;e:switch(r.kind){case gn.default.SyntaxKind.TypeAssertionExpression:case gn.default.SyntaxKind.AsExpression:return Jw(r);case gn.default.SyntaxKind.PrefixUnaryExpression:if(t.kind!==gn.default.SyntaxKind.NumericLiteral)return!1;switch(r.operator){case gn.default.SyntaxKind.PlusToken:case gn.default.SyntaxKind.MinusToken:t=r;break e;default:return!1}case gn.default.SyntaxKind.PropertyAssignment:if(r.initializer!==t)return!1;t=r.parent;break;case gn.default.SyntaxKind.ShorthandPropertyAssignment:t=r.parent;break;case gn.default.SyntaxKind.ParenthesizedExpression:case gn.default.SyntaxKind.ArrayLiteralExpression:case gn.default.SyntaxKind.ObjectLiteralExpression:case gn.default.SyntaxKind.TemplateExpression:t=r;break;default:return!1}}}function nW(e){return tt(e,ur.default.TypeFlags.Undefined|ur.default.TypeFlags.Null|ur.default.TypeFlags.Void)?!0:e.isLiteral()?!e.value:yb(e)}function iW(e){return Hm(e)?e.types:[e]}function aW(e,t,r){return(Hm(e)?e.types:[e]).some(_=>{let p=gb(_,t);if(p===void 0)return!1;if(p.flags&ur.default.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(t)&&Qw(_))return _.target.readonly;switch(oW(_,t,r)){case!0:return!0;case!1:return!1;default:}}return!!(mw(p,ur.default.SymbolFlags.ValueModule)||Kw(p,r))})}function oW(e,t,r){if(!yu(e)||!mu(e,ur.default.ObjectFlags.Mapped))return;let a=e.symbol.declarations[0];if(a.readonlyToken!==void 0&&!/^__@[^@]+$/.test(t))return a.readonlyToken.kind!==ur.default.SyntaxKind.MinusToken;let{modifiersType:_}=e;return _&&Yw(_,t,r)}function sW(e,t,r){let a=e.getApparentType(e.getTypeOfSymbolAtLocation(t,r));if(t.valueDeclaration.dotDotDotToken&&(a=a.getNumberIndexType(),a===void 0))return!1;for(let _ of du(a))if(_.getCallSignatures().length!==0)return!0;return!1}function Yw(e,t,r){let a=!1,_=!1;for(let p of du(e))if(gb(p,t)===void 0){let d=(Vw(t)?r.getIndexInfoOfType(p,ur.default.IndexKind.Number):void 0)??r.getIndexInfoOfType(p,ur.default.IndexKind.String);if(d!=null&&d.isReadonly){if(a)return!0;_=!0}}else{if(_||aW(p,t,r))return!0;a=!0}return!1}function _W(e,t){if(!tW(e))return!1;let r=t.getTypeAtLocation(e.arguments[2]);if(r.getProperty("value")===void 0)return r.getProperty("set")===void 0;let a=r.getProperty("writable");if(a===void 0)return!1;let _=a.valueDeclaration!==void 0&&ur.default.isPropertyAssignment(a.valueDeclaration)?t.getTypeAtLocation(a.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(a,e.arguments[2]);return yb(_)}function cW(e,t,r=e.getTypeAtLocation(t)){for(let a of du(e.getApparentType(r))){let _=a.getProperty("then");if(_===void 0)continue;let p=e.getTypeOfSymbolAtLocation(_,t);for(let d of du(p))for(let h of d.getCallSignatures())if(h.parameters.length!==0&&sW(e,h.parameters[0],t))return!0}return!1}function Kw(e,t){var r;return!!((e.flags&ur.default.SymbolFlags.Accessor)===ur.default.SymbolFlags.GetAccessor||(r=e.declarations)!=null&&r.some(a=>fw(a,ur.default.ModifierFlags.Readonly)||ur.default.isVariableDeclaration(a)&&dw(a.parent,ur.default.NodeFlags.Const)||ur.default.isCallExpression(a)&&_W(a,t)||ur.default.isEnumMember(a)||(ur.default.isPropertyAssignment(a)||ur.default.isShorthandPropertyAssignment(a))&&rW(a.parent)))}function du(e){return mb(e)?e.types:[e]}});var i9=ut(ea=>{"use strict";var lW=ea&&ea.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),uW=ea&&ea.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n9=ea&&ea.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&lW(t,e,r);return uW(t,e),t};Object.defineProperty(ea,"__esModule",{value:!0});ea.convertComments=void 0;var pW=n9(e9()),t9=n9(Dt()),fW=zm(),r9=Bm();function dW(e,t){let r=[];return pW.forEachComment(e,(a,_)=>{let p=_.kind===t9.SyntaxKind.SingleLineCommentTrivia?r9.AST_TOKEN_TYPES.Line:r9.AST_TOKEN_TYPES.Block,d=[_.pos,_.end],h=(0,fW.getLocFor)(d,e),l=d[0]+2,v=_.kind===t9.SyntaxKind.SingleLineCommentTrivia?d[1]-l:d[1]-l-2;r.push({type:p,value:t.slice(l,l+v),range:d,loc:h})},e),r}ea.convertComments=dW});var o9=ut(Gm=>{"use strict";Object.defineProperty(Gm,"__esModule",{value:!0});Gm.astConverter=void 0;var a9=Z6(),mW=i9(),hW=zm(),yW={};function gW(e,t,r){let{parseDiagnostics:a}=e;if(a.length)throw(0,a9.convertError)(a[0]);let _=new a9.Converter(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:r,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),p=_.convertProgram();(!t.range||!t.loc)&&(0,yW.simpleTraverse)(p,{enter:h=>{t.range||delete h.range,t.loc||delete h.loc}}),t.tokens&&(p.tokens=(0,hW.convertTokens)(e)),t.comment&&(p.comments=(0,mW.convertComments)(e,t.codeFullText));let d=_.getASTMaps();return{estree:p,astMaps:d}}Gm.astConverter=gW});var bb=ut(si=>{"use strict";var bW=si&&si.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),vW=si&&si.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),TW=si&&si.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&bW(t,e,r);return vW(t,e),t};Object.defineProperty(si,"__esModule",{value:!0});si.getCodeText=si.isSourceFile=void 0;var SW=TW(Dt());function s9(e){if(typeof e!="object"||e==null)return!1;let t=e;return t.kind===SW.SyntaxKind.SourceFile&&typeof t.getFullText=="function"}si.isSourceFile=s9;function xW(e){return s9(e)?e.getFullText(e):e}si.getCodeText=xW});var _9=ut(bn=>{"use strict";var wW=bn&&bn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),CW=bn&&bn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),EW=bn&&bn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&wW(t,e,r);return CW(t,e),t},AW=bn&&bn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bn,"__esModule",{value:!0});bn.getLanguageVariant=bn.getScriptKind=void 0;var kW=AW({extname:e=>"."+e.split(".").pop()}),Ht=EW(Dt());function DW(e,t){switch(kW.default.extname(e).toLowerCase()){case Ht.Extension.Js:case Ht.Extension.Cjs:case Ht.Extension.Mjs:return Ht.ScriptKind.JS;case Ht.Extension.Jsx:return Ht.ScriptKind.JSX;case Ht.Extension.Ts:case Ht.Extension.Cts:case Ht.Extension.Mts:return Ht.ScriptKind.TS;case Ht.Extension.Tsx:return Ht.ScriptKind.TSX;case Ht.Extension.Json:return Ht.ScriptKind.JSON;default:return t?Ht.ScriptKind.TSX:Ht.ScriptKind.TS}}bn.getScriptKind=DW;function PW(e){switch(e){case Ht.ScriptKind.TSX:case Ht.ScriptKind.JSX:case Ht.ScriptKind.JS:case Ht.ScriptKind.JSON:return Ht.LanguageVariant.JSX;default:return Ht.LanguageVariant.Standard}}bn.getLanguageVariant=PW});var u9=ut(vn=>{"use strict";var IW=vn&&vn.__createBinding||(Object.create?function(e,t,r,a){a===void 0&&(a=r);var _=Object.getOwnPropertyDescriptor(t,r);(!_||("get"in _?!t.__esModule:_.writable||_.configurable))&&(_={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,a,_)}:function(e,t,r,a){a===void 0&&(a=r),e[a]=t[r]}),NW=vn&&vn.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),OW=vn&&vn.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&IW(t,e,r);return NW(t,e),t},MW=vn&&vn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(vn,"__esModule",{value:!0});vn.createNoProgram=vn.createSourceFile=void 0;var LW=MW((Cf(),Hh(wf))),c9=OW(Dt()),JW=bb(),RW=_9(),jW=(0,LW.default)("typescript-eslint:typescript-estree:createSourceFile");function l9(e){return jW("Getting AST without type information in %s mode for: %s",e.jsx?"TSX":"TS",e.filePath),(0,JW.isSourceFile)(e.code)?e.code:c9.createSourceFile(e.filePath,e.codeFullText,c9.ScriptTarget.Latest,!0,(0,RW.getScriptKind)(e.filePath,e.jsx))}vn.createSourceFile=l9;function FW(e){return{ast:l9(e),program:null}}vn.createNoProgram=FW});var p9=ut(()=>{});var f9=ut(Xm=>{"use strict";Object.defineProperty(Xm,"__esModule",{value:!0});Xm.createParserServices=void 0;function BW(e,t){if(!t)return{program:t,...e};let r=t.getTypeChecker();return{program:t,...e,getSymbolAtLocation:a=>r.getSymbolAtLocation(e.esTreeNodeToTSNodeMap.get(a)),getTypeAtLocation:a=>r.getTypeAtLocation(e.esTreeNodeToTSNodeMap.get(a))}}Xm.createParserServices=BW});var d9=ut(()=>{});var h9=ut(m9=>{m9.ExpiringCache=class{}});var g9=ut(y9=>{y9.resolveProjectList=()=>[]});var v9=ut(b9=>{b9.inferSingleRun=()=>!1});var S9=ut(T9=>{T9.warnAboutTSVersion=()=>{}});var C9=ut(ta=>{"use strict";var UW=ta&&ta.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ta,"__esModule",{value:!0});ta.clearTSServerProjectService=ta.clearTSConfigMatchCache=ta.createParseSettings=void 0;var vb=UW((Cf(),Hh(wf))),qW=d9(),zW={ensureAbsolutePath:e=>e},WW=bb(),x9=h9(),UH=g9(),VW=v9(),HW=S9(),GW=(0,vb.default)("typescript-eslint:typescript-estree:parser:parseSettings:createParseSettings"),$m,w9=null;function XW(e,t={}){var d;let r=YW(e),a=(0,VW.inferSingleRun)(t),_=typeof t.tsconfigRootDir=="string"?t.tsconfigRootDir:"/prettier-security-dirname-placeholder",p={allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:r,comment:t.comment===!0,comments:[],DEPRECATED__createDefaultProgram:t.DEPRECATED__createDefaultProgram===!0,debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,EXPERIMENTAL_projectService:t.EXPERIMENTAL_useProjectService===!0?w9??(w9=(0,qW.createProjectService)()):void 0,EXPERIMENTAL_useSourceOfProjectReferenceRedirect:t.EXPERIMENTAL_useSourceOfProjectReferenceRedirect===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(h=>typeof h=="string")?t.extraFileExtensions:[],filePath:(0,zW.ensureAbsolutePath)(typeof t.filePath=="string"&&t.filePath!=="<input>"?t.filePath:KW(t.jsx),_),jsx:t.jsx===!0,loc:t.loc===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:[],range:t.range===!0,singleRun:a,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??!0,tokens:t.tokens===!0?[]:null,tsconfigMatchCache:$m??($m=new x9.ExpiringCache(a?"Infinity":((d=t.cacheLifetime)==null?void 0:d.glob)??x9.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS)),tsconfigRootDir:_};if(p.debugLevel.size>0){let h=[];p.debugLevel.has("typescript-eslint")&&h.push("typescript-eslint:*"),(p.debugLevel.has("eslint")||vb.default.enabled("eslint:*,-eslint:code-path"))&&h.push("eslint:*,-eslint:code-path"),vb.default.enable(h.join(","))}if(Array.isArray(t.programs)){if(!t.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");GW("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!p.programs&&!p.EXPERIMENTAL_projectService&&(p.projects=[]),(0,HW.warnAboutTSVersion)(p),p}ta.createParseSettings=XW;function $W(){$m==null||$m.clear()}ta.clearTSConfigMatchCache=$W;function QW(){w9=null}ta.clearTSServerProjectService=QW;function YW(e){return(0,WW.isSourceFile)(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function KW(e){return e?"estree.tsx":"estree.ts"}});var D9=ut(Qm=>{"use strict";Object.defineProperty(Qm,"__esModule",{value:!0});Qm.getFirstSemanticOrSyntacticError=void 0;var E9=Dt();function ZW(e,t){try{let r=A9(e.getSyntacticDiagnostics(t));if(r.length>0)return k9(r[0]);let a=A9(e.getSemanticDiagnostics(t));return a.length>0?k9(a[0]):void 0}catch(r){console.warn(`Warning From TSC: "${r.message}`);return}}Qm.getFirstSemanticOrSyntacticError=ZW;function A9(e){return e.filter(t=>{switch(t.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1})}function k9(e){return{...e,message:(0,E9.flattenDiagnosticMessageText)(e.messageText,E9.sys.newLine)}}});var P9=ut(()=>{});var J9=ut(_i=>{"use strict";var eV=_i&&_i.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_i,"__esModule",{value:!0});_i.clearParseAndGenerateServicesCalls=_i.clearProgramCache=_i.parseAndGenerateServices=_i.parse=void 0;var tV=eV((Cf(),Hh(wf))),I9=o9(),rV=Z6(),nV={},N9={},iV={},O9=u9(),aV=p9(),M9={},oV=f9(),L9=C9(),sV=D9(),_V=P9(),cV=(0,tV.default)("typescript-eslint:typescript-estree:parser"),Tb=new Map;function lV(){Tb.clear()}_i.clearProgramCache=lV;function uV(e,t){if(e.EXPERIMENTAL_projectService){let a=(0,_V.useProgramFromProjectService)(e.EXPERIMENTAL_projectService,e);if(a)return a}if(e.programs){let a=(0,M9.useProvidedPrograms)(e.programs,e);if(a)return a}if(!t)return(0,O9.createNoProgram)(e);let r=(0,iV.createProjectProgram)(e,(0,aV.getWatchProgramsForProjects)(e));if(r)return r;if(e.DEPRECATED__createDefaultProgram){let a=(0,nV.createDefaultProgram)(e);if(a)return a}return(0,N9.createIsolatedProgram)(e)}function pV(e,t){let{ast:r}=fV(e,t,!1);return r}_i.parse=pV;function fV(e,t,r){let a=(0,L9.createParseSettings)(e,t);if(t!=null&&t.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let _=(0,O9.createSourceFile)(a),{estree:p,astMaps:d}=(0,I9.astConverter)(_,a,r);return{ast:p,esTreeNodeToTSNodeMap:d.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:d.tsNodeToESTreeNodeMap}}var Ym={};function dV(){Ym={}}_i.clearParseAndGenerateServicesCalls=dV;function mV(e,t){var v,y;let r=(0,L9.createParseSettings)(e,t);r.singleRun&&!r.programs&&((v=r.projects)==null?void 0:v.length)>0&&(r.programs={*[Symbol.iterator](){for(let C of r.projects){let S=Tb.get(C);if(S)yield S;else{cV("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",C);let k=(0,M9.createProgramFromConfigFile)(C);Tb.set(C,k),yield k}}}});let a=r.programs!=null||((y=r.projects)==null?void 0:y.length)>0;if(t!==void 0&&(typeof t.errorOnTypeScriptSyntacticAndSemanticIssues=="boolean"&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(r.errorOnTypeScriptSyntacticAndSemanticIssues=!0),r.errorOnTypeScriptSyntacticAndSemanticIssues&&!a))throw new Error("Cannot calculate TypeScript semantic issues without a valid project.");r.singleRun&&t.filePath&&(Ym[t.filePath]=(Ym[t.filePath]||0)+1);let{ast:_,program:p}=r.singleRun&&t.filePath&&Ym[t.filePath]>1?(0,N9.createIsolatedProgram)(r):uV(r,a),d=typeof r.preserveNodeMaps=="boolean"?r.preserveNodeMaps:!0,{estree:h,astMaps:l}=(0,I9.astConverter)(_,r,d);if(p&&r.errorOnTypeScriptSyntacticAndSemanticIssues){let C=(0,sV.getFirstSemanticOrSyntacticError)(p,_);if(C)throw(0,rV.convertError)(C)}return{ast:h,services:(0,oV.createParserServices)(l,p)}}_i.parseAndGenerateServices=mV});var V9=ut(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});ps.extract=xV;ps.parse=CV;ps.parseWithComments=W9;ps.print=EV;ps.strip=wV;var gV=/\*\/$/,bV=/^\/\*\*?/,q9=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,vV=/(^|\s+)\/\/([^\r\n]*)/g,F9=/^(\r?\n)+/,TV=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,B9=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,SV=/(\r?\n|^) *\* ?/g,z9=[];function xV(e){let t=e.match(q9);return t?t[0].trimLeft():""}function wV(e){let t=e.match(q9);return t&&t[0]?e.substring(t[0].length):e}function CV(e){return W9(e).pragmas}function W9(e){let t=`
`;e=e.replace(bV,"").replace(gV,"").replace(SV,"$1");let r="";for(;r!==e;)r=e,e=e.replace(TV,`${t}$1 $2${t}`);e=e.replace(F9,"").trimRight();let a=Object.create(null),_=e.replace(B9,"").replace(F9,"").trimRight(),p;for(;p=B9.exec(e);){let d=p[2].replace(vV,"");typeof a[p[1]]=="string"||Array.isArray(a[p[1]])?a[p[1]]=z9.concat(a[p[1]],d):a[p[1]]=d}return{comments:_,pragmas:a}}function EV({comments:e="",pragmas:t={}}){let r=`
`,a="/**",_=" *",p=" */",d=Object.keys(t),h=d.map(v=>U9(v,t[v])).reduce((v,y)=>v.concat(y),[]).map(v=>`${_} ${v}${r}`).join("");if(!e){if(d.length===0)return"";if(d.length===1&&!Array.isArray(t[d[0]])){let v=t[d[0]];return`${a} ${U9(d[0],v)[0]}${p}`}}let l=e.split(r).map(v=>`${_} ${v}`).join(r)+r;return a+r+(e?l:"")+(e&&d.length?_+r:"")+h+p}function U9(e,t){return z9.concat(t).map(r=>`@${e} ${r}`.trim())}});var Db={};Vh(Db,{parsers:()=>kb});var kb={};Vh(kb,{typescript:()=>HV});var n5=Mb(J9(),1);function hV(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}var R9=hV;function yV(e){let t=[];for(let r of e)try{return r()}catch(a){t.push(a)}throw Object.assign(new Error("All combinations failed"),{errors:t})}var j9=yV;var H_=Mb(V9(),1);function AV(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
`);return t===-1?e:e.slice(0,t)}var H9=AV;function kV(e){let t=H9(e);t&&(e=e.slice(t.length+1));let r=(0,H_.extract)(e),{pragmas:a,comments:_}=(0,H_.parseWithComments)(r);return{shebang:t,text:e,pragmas:a,comments:_}}function G9(e){let{pragmas:t}=kV(e);return Object.prototype.hasOwnProperty.call(t,"prettier")||Object.prototype.hasOwnProperty.call(t,"format")}function DV(e){return Array.isArray(e)&&e.length>0}var Km=DV;function Fn(e){var a;let t=e.range?e.range[0]:e.start,r=((a=e.declaration)==null?void 0:a.decorators)??e.decorators;return Km(r)?Math.min(Fn(r[0]),t):t}function ra(e){return e.range?e.range[1]:e.end}function PV(e){return e=typeof e=="function"?{parse:e}:e,{astFormat:"estree",hasPragma:G9,locStart:Fn,locEnd:ra,...e}}var X9=PV;function IV(e){return e.charAt(0)==="#"&&e.charAt(1)==="!"?"//"+e.slice(2):e}var $9=IV;var NV=(e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},Sb=NV;function OV(e){return e=new Set(e),t=>e.has(t==null?void 0:t.type)}var Q9=OV;var MV=Q9(["Block","CommentBlock","MultiLine"]),gu=MV;function LV(e){return gu(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/.test(e.value)}var Y9=LV;function JV(e){let t=`*${e.value}*`.split(`
`);return t.length>1&&t.every(r=>r.trimStart()[0]==="*")}var xb=JV;var bu=null;function vu(e){if(bu!==null&&typeof bu.property){let t=bu;return bu=vu.prototype=null,t}return bu=vu.prototype=e??Object.create(null),new vu}var RV=10;for(let e=0;e<=RV;e++)vu();function wb(e){return vu(e)}function jV(e,t="type"){wb(e);function r(a){let _=a[t],p=e[_];if(!Array.isArray(p))throw Object.assign(new Error(`Missing visitor keys for '${_}'.`),{node:a});return p}return r}var K9=jV;var Z9={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"],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","superTypeArguments"],ClassDeclaration:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators","superTypeArguments"],ExportAllDeclaration:["source","attributes","assertions","exported"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes","assertions"],ExportSpecifier:["local","exported"],ForOfStatement:["left","right","body"],ImportDeclaration:["specifiers","source","attributes","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","typeArguments"],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","variance"],ClassAccessorProperty:["key","value","typeAnnotation","decorators"],ClassPrivateProperty:["key","value","decorators","typeAnnotation","variance"],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","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","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","elementTypes"],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","init"],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","typeArguments","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"],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","typeArguments"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeParameters","typeArguments"],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","typeArguments"],TSAsExpression:["expression","typeAnnotation"],TSSatisfiesExpression:["expression","typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSEnumDeclaration:["id","members"],TSEnumMember:["id","initializer"],TSModuleDeclaration:["id","body"],TSModuleBlock:["body"],TSImportType:["argument","qualifier","typeParameters","typeArguments"],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"],PrivateIdentifier:[],Property:["key","value"],PropertyDefinition:["decorators","key","typeAnnotation","value","variance"],AccessorProperty:["decorators","key","typeAnnotation","value"],TSAbstractAccessorProperty:["decorators","key","typeAnnotation"],TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:["decorators","key","typeAnnotation"],TSAsyncKeyword:[],TSClassImplements:["expression","typeArguments","typeParameters"],TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSExportKeyword:[],TSInterfaceHeritage:["expression","typeArguments","typeParameters"],TSPrivateKeyword:[],TSProtectedKeyword:[],TSPublicKeyword:[],TSReadonlyKeyword:[],TSStaticKeyword:[],TSTemplateLiteralType:["quasis","types"],BigIntLiteralTypeAnnotation:[],BigIntTypeAnnotation:[],ConditionalTypeAnnotation:["checkType","extendsType","trueType","falseType"],DeclareEnum:["id","body"],InferTypeAnnotation:["typeParameter"],KeyofTypeAnnotation:["argument"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],QualifiedTypeofIdentifier:["qualification","id"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypePredicate:["parameterName","typeAnnotation","asserts"],NGRoot:["node"],NGPipeExpression:["left","right","arguments"],NGChainedExpression:["expressions"],NGEmptyExpression:[],NGMicrosyntax:["body"],NGMicrosyntaxKey:[],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:["key","value"],NGMicrosyntaxAs:["key","alias"],JsExpressionRoot:["node"],JsonRoot:["node"],TSJSDocAllType:[],TSJSDocUnknownType:[],TSJSDocNullableType:["typeAnnotation"],TSJSDocNonNullableType:["typeAnnotation"],NeverTypeAnnotation:[],UndefinedTypeAnnotation:[],UnknownTypeAnnotation:[]};var FV=K9(Z9),e5=FV;function Cb(e,t){if(!(e!==null&&typeof e=="object"))return e;if(Array.isArray(e)){for(let a=0;a<e.length;a++)e[a]=Cb(e[a],t);return e}let r=e5(e);for(let a=0;a<r.length;a++)e[r[a]]=Cb(e[r[a]],t);return t(e)||e}var Zm=Cb;function BV(e,t){let{parser:r,text:a}=t;if(e.type==="File"&&e.program.interpreter){let{program:{interpreter:p},comments:d}=e;delete e.program.interpreter,d.unshift(p)}if(r==="babel"){let p=new Set;e=Zm(e,d=>{var h;(h=d.leadingComments)!=null&&h.some(Y9)&&p.add(Fn(d))}),e=Zm(e,d=>{if(d.type==="ParenthesizedExpression"){let{expression:h}=d;if(h.type==="TypeCastExpression")return h.range=d.range,h;let l=Fn(d);if(!p.has(l))return h.extra={...h.extra,parenthesized:!0},h}})}if(e=Zm(e,p=>{switch(p.type){case"LogicalExpression":if(t5(p))return Eb(p);break;case"VariableDeclaration":{let d=Sb(!1,p.declarations,-1);d!=null&&d.init&&_(p,d);break}case"TSParenthesizedType":return p.typeAnnotation;case"TSTypeParameter":if(typeof p.name=="string"){let d=Fn(p);p.name={type:"Identifier",name:p.name,range:[d,d+p.name.length]}}break;case"TopicReference":e.extra={...e.extra,__isUsingHackPipeline:!0};break;case"ExportAllDeclaration":{let{exported:d}=p;if(r==="meriyah"&&(d==null?void 0:d.type)==="Identifier"){let h=a.slice(Fn(d),ra(d));(h.startsWith('"')||h.startsWith("'"))&&(p.exported={...p.exported,type:"Literal",value:p.exported.name,raw:h})}break}case"TSUnionType":case"TSIntersectionType":if(p.types.length===1)return p.types[0];break}}),Km(e.comments)){let p=Sb(!1,e.comments,-1);for(let d=e.comments.length-2;d>=0;d--){let h=e.comments[d];ra(h)===Fn(p)&&gu(h)&&gu(p)&&xb(h)&&xb(p)&&(e.comments.splice(d+1,1),h.value+="*//*"+p.value,h.range=[Fn(h),ra(p)]),p=h}}return e.type==="Program"&&(e.range=[0,a.length]),e;function _(p,d){a[ra(d)]!==";"&&(p.range=[Fn(p),ra(d)])}}function t5(e){return e.type==="LogicalExpression"&&e.right.type==="LogicalExpression"&&e.operator===e.right.operator}function Eb(e){return t5(e)?Eb({type:"LogicalExpression",operator:e.operator,left:Eb({type:"LogicalExpression",operator:e.operator,left:e.left,right:e.right.left,range:[Fn(e.left),ra(e.right.left)]}),right:e.right.right,range:[Fn(e),ra(e)]}):e}var r5=BV;var Ab={loc:!0,range:!0,comment:!0,tokens:!0,loggerFn:!1,project:[],suppressDeprecatedPropertyWarnings:!0};function UV(e){let{message:t,location:r}=e;if(!r)return e;let{start:a,end:_}=r;return R9(t,{loc:{start:{line:a.line,column:a.column+1},end:{line:_.line,column:_.column+1}},cause:e})}var qV=e=>/\.(?:js|mjs|cjs|jsx|ts|mts|cts|tsx)$/i.test(e);function zV(e,t){let r=t==null?void 0:t.filepath;if(r&&qV(r))return[{...Ab,filePath:r}];let a=VV(e);return[{...Ab,jsx:a},{...Ab,jsx:!a}]}function WV(e,t){let r=$9(e),a=zV(e,t),_;try{_=j9(a.map(p=>()=>(0,n5.parse)(r,p)))}catch({errors:[p]}){throw UV(p)}return r5(_,{text:e})}function VV(e){return new RegExp(["(?:^[^\"'`]*</)","|","(?:^[^/]{2}.*/>)"].join(""),"m").test(e)}var HV=X9(WV);var UG=Db;export{UG as default,kb as parsers};
